cross-country 1.2.21 → 1.2.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Color-F6OSRLHC-BbLcUd-T.js +575 -0
- package/dist/{bolt-Bw4E_fgS.js → bolt-BLbYxvOV.js} +6 -5
- package/dist/bundle.css +36 -31
- package/dist/colour-util-Bzfca_cM.js +775 -0
- package/dist/components/atoms/circle/__tests__/circle.test.js +2 -2
- package/dist/components/atoms/column/__tests__/column.test.js +2 -2
- package/dist/components/atoms/index.js +1 -1
- package/dist/components/atoms/list/index.js +4 -0
- package/dist/components/atoms/list/list-item/index.js +4 -0
- package/dist/components/atoms/list/list-item/list-item.js +20 -0
- package/dist/components/atoms/list/list.js +33 -0
- package/dist/components/atoms/radio/index.js +2 -2
- package/dist/components/atoms/radio/radio.js +42 -3
- package/dist/components/atoms/text/animate-number/animate-number.js +1 -1
- package/dist/components/atoms/text/index.js +1 -1
- package/dist/components/atoms/text/input/__stories__/state-machine-fetch-dragons.js +3 -3
- package/dist/components/atoms/text/input/input-text-machine.js +3 -3
- package/dist/components/atoms/text/input/state-machine-text-input.js +1 -1
- package/dist/components/atoms/text/span/__stories__/span-story.js +6 -5
- package/dist/components/index.js +116 -116
- package/dist/components/molecules/autocomplete/autocomplete-machine.js +3 -3
- package/dist/components/molecules/autocomplete/autocomplete.js +1 -1
- package/dist/components/molecules/card/amazon/amazon-card.js +7 -6
- package/dist/components/molecules/card/builder/card-builder-machine/card-builder-machine.js +1 -1
- package/dist/components/molecules/card/builder/card-builder-machine/card-service-events.js +2 -2
- package/dist/components/molecules/card/builder/card-builder-machine/platform-states-amazon.js +1 -1
- package/dist/components/molecules/card/builder/card-builder-machine/platform-states-common.js +1 -1
- package/dist/components/molecules/card/builder/card-builder.js +1 -1
- package/dist/components/molecules/card/builder/card-editor.js +7 -6
- package/dist/components/molecules/card/card.js +6 -5
- package/dist/components/molecules/carousel/carousel.js +6 -5
- package/dist/components/molecules/day-number/day-number.js +6 -5
- package/dist/components/molecules/field/field.js +6 -5
- package/dist/components/molecules/gold-leaf/gold-leaf-view/__tests__/gold-leaf-view.test.js +3 -3
- package/dist/components/molecules/gold-leaf/gold-leaf-view/controls/gold-leaf-view-controls.js +8 -7
- package/dist/components/molecules/gold-leaf/gold-leaf-view/email/gold-leaf-email-view.js +7 -6
- package/dist/components/molecules/gold-leaf/gold-leaf-view/gold-leaf-view.js +7 -6
- package/dist/components/molecules/gold-leaf/gold-leaf-view/index.js +1 -1
- package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-leaf-image.js +7 -6
- package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-title-card.js +40 -0
- package/dist/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-title-image-card.js +8 -7
- package/dist/components/molecules/gold-leaf/gold-leaf.js +1 -1
- package/dist/components/molecules/header/Header.js +10 -9
- package/dist/components/molecules/hero/hero.js +7 -6
- package/dist/components/molecules/icons/index.js +4 -3
- package/dist/components/molecules/icons/x/x.js +6 -5
- package/dist/components/molecules/index.js +8 -7
- package/dist/components/molecules/key-value-pairs/__tests__/key-value-pairs.js +1 -1
- package/dist/components/molecules/key-value-pairs/key-value-pairs.js +10 -9
- package/dist/components/molecules/keywords/keywords.js +6 -5
- package/dist/components/molecules/loading/__tests__/loading.test.js +1 -1
- package/dist/components/molecules/log-error-boundary/__stories__/log-error-boundary-story.js +1 -1
- package/dist/components/molecules/log-error-boundary/__tests__/log-error-boundary.test.js +2 -2
- package/dist/components/molecules/log-error-boundary/log-error-boundary.js +6 -5
- package/dist/components/molecules/modal/modal.js +6 -5
- package/dist/components/molecules/policies/index.js +4 -3
- package/dist/components/molecules/policies/privacy-policy.js +8 -7
- package/dist/components/molecules/policies/terms-of-use.js +8 -7
- package/dist/components/molecules/quote/quote.js +6 -5
- package/dist/components/molecules/radiogroup/__stories__/radio-group-form-story.js +12 -11
- package/dist/components/molecules/radiogroup/__stories__/radio-group-react-hook-form-story.js +15 -14
- package/dist/components/molecules/radiogroup/radiogroup.js +9 -9
- package/dist/components/molecules/related-articles/related-articles.js +15 -14
- package/dist/components/molecules/search/search.js +6 -5
- package/dist/components/molecules/stagger/stagger.js +6 -5
- package/dist/components/molecules/tile/corners.js +1 -1
- package/dist/components/molecules/tile/index.js +1 -1
- package/dist/components/molecules/tile/tile-interactive.js +5 -4
- package/dist/components/molecules/tile/tile.js +1 -1
- package/dist/components/molecules/time-progress/__tests__/progress.test.js +1 -1
- package/dist/components/molecules/time-progress/pilot/index.js +2 -3
- package/dist/components/molecules/time-progress/progress-over-year.js +6 -5
- package/dist/components/molecules/time-progress/progress.js +6 -5
- package/dist/components/molecules/user/anon-user.js +6 -5
- package/dist/components/molecules/user/user.js +7 -6
- package/dist/components/molecules/venn-diagram/__tests__/venn-diagram.tests.js +2 -2
- package/dist/components/molecules/venn-diagram/venn-diagram-circle.js +6 -5
- package/dist/components/molecules/venn-diagram/venn-diagram.js +6 -5
- package/dist/components/molecules/wallpaper/__tests__/wallpaper.tests.js +2 -2
- package/dist/components/molecules/wallpaper/wallpaper.js +1 -1
- package/dist/components/molecules/wrapper/__stories__/wrapper-children-story.js +6 -5
- package/dist/components/organisms/actors/actor/actor-builder-machine.js +2 -2
- package/dist/components/organisms/actors/actor/actor-builder.js +6 -5
- package/dist/components/organisms/actors/actor/actor.js +5 -4
- package/dist/components/organisms/actors/actor/index.js +1 -1
- package/dist/components/organisms/actors/animal/animal.js +1 -1
- package/dist/components/organisms/actors/monsters/troll/troll-machine.js +2 -2
- package/dist/components/organisms/actors/monsters/troll/troll.js +6 -5
- package/dist/components/organisms/actors/party/cleric/cleric.js +1 -1
- package/dist/components/organisms/actors/party/hunter/hunter.js +1 -1
- package/dist/components/organisms/actors/party/warrior/warrior.js +1 -1
- package/dist/components/organisms/actors/party/wizard/wizard.js +1 -1
- package/dist/components/organisms/actors/wisp/wisp.js +1 -1
- package/dist/components/organisms/ads/ad-card.js +6 -5
- package/dist/components/organisms/animation/animate-actor/animate-actor.js +6 -5
- package/dist/components/organisms/animation/one-day/one-day.js +15 -14
- package/dist/components/organisms/animation/reverse-text-animation/reverse-text-animation.js +6 -5
- package/dist/components/organisms/bento/layouts/five-by-four/bento-five-by-four.js +9 -8
- package/dist/components/organisms/bento/layouts/four-by-four/bento-four-by-four.js +6 -5
- package/dist/components/organisms/bento/layouts/three-by-three/bento-three-by-three.js +6 -5
- package/dist/components/organisms/bento/layouts/two-by-two/bento-two-by-two.js +6 -5
- package/dist/components/organisms/blog/__stories__/blog-story.js +9 -8
- package/dist/components/organisms/blog/blog-post/__stories__/blog-post-story.js +6 -5
- package/dist/components/organisms/blog/blog-post/blog-post-machine/build-listicle-machine.js +1 -1
- package/dist/components/organisms/blog/blog-post/blog-post-machine/delete-listicle-item.js +2 -2
- package/dist/components/organisms/blog/blog-post/blog-post-machine/load-listicle.js +2 -2
- package/dist/components/organisms/blog/blog-post/blog-post-machine/manage-listicle-items.js +1 -1
- package/dist/components/organisms/blog/blog-post/blog-post-machine/save-listicle-item.js +2 -2
- package/dist/components/organisms/blog/blog-post/blog-post-machine/save-listicle.js +2 -2
- package/dist/components/organisms/blog/blog-post/blog-post-machine/update-listice-item.js +2 -2
- package/dist/components/organisms/blog/blog-post/blog-post.js +6 -5
- package/dist/components/organisms/blog/blog-post-list.js +12 -11
- package/dist/components/organisms/blog/blog.js +6 -5
- package/dist/components/organisms/branch/branch.js +6 -5
- package/dist/components/organisms/branches/__tests__/branch-list.test.js +6 -4
- package/dist/components/organisms/branches/branch-list.js +61 -39
- package/dist/components/organisms/branches/branches.js +7 -6
- package/dist/components/organisms/calendar/calendar.js +6 -5
- package/dist/components/organisms/charts/chart/__stories__/data-set.js +1 -1
- package/dist/components/organisms/charts/chart/chart-gold-leaf/chart-gold-leaf.js +4 -3
- package/dist/components/organisms/clusters/cluster.js +6 -5
- package/dist/components/organisms/json-map-tile-grid/index.js +1 -1
- package/dist/components/organisms/json-map-tile-grid/json-map-tile-grid.js +6 -4
- package/dist/components/organisms/listicle/__stories__/andor-right-click-story.js +6 -5
- package/dist/components/organisms/listicle/__stories__/listicle-fb-v-canada-story.js +6 -5
- package/dist/components/organisms/listicle/__stories__/listicle-story.js +6 -5
- package/dist/components/organisms/listicle/build-listicle-machine/build-listicle-machine.js +1 -1
- package/dist/components/organisms/listicle/build-listicle-machine/delete-listicle-item.js +2 -2
- package/dist/components/organisms/listicle/build-listicle-machine/load-listicle.js +2 -2
- package/dist/components/organisms/listicle/build-listicle-machine/manage-listicle-items.js +1 -1
- package/dist/components/organisms/listicle/build-listicle-machine/save-listicle-item.js +2 -2
- package/dist/components/organisms/listicle/build-listicle-machine/save-listicle.js +2 -2
- package/dist/components/organisms/listicle/build-listicle-machine/update-listice-item.js +2 -2
- package/dist/components/organisms/listicle/edit-listicle/edit-listicle.js +13 -12
- package/dist/components/organisms/listicle/edit-listicle-item-list/edit-listicle-item-list.js +6 -5
- package/dist/components/organisms/listicle/edit-listicle-item-list/listicle-item-input.js +12 -11
- package/dist/components/organisms/listicle/edit-listicle-item-list/listicle-item.js +6 -5
- package/dist/components/organisms/listicle/listicle-builder.js +14 -13
- package/dist/components/organisms/listicle/listicle-item-list.js +12 -11
- package/dist/components/organisms/listicle/listicle.js +6 -5
- package/dist/components/organisms/listicle/post-link.js +7 -6
- package/dist/components/organisms/login/__stories__/login-story.js +6 -5
- package/dist/components/organisms/login/login-fetching-transition.js +6 -5
- package/dist/components/organisms/login/login-fields-transition.js +21 -20
- package/dist/components/organisms/login/login-response-transition.js +66 -11
- package/dist/components/organisms/login/login-submit-transition.js +6 -5
- package/dist/components/organisms/login/login-view.js +7 -6
- package/dist/components/organisms/metrics/metrics.js +6 -5
- package/dist/components/organisms/palettes/palettes.js +14 -12
- package/dist/components/organisms/player/player.js +6 -5
- package/dist/components/organisms/registration/password-strength-helper.js +11 -10
- package/dist/components/organisms/registration/post-registration.js +2 -2
- package/dist/components/organisms/registration/registration-form.js +6 -5
- package/dist/components/organisms/registration/registration-machine.js +2 -2
- package/dist/components/organisms/registration/registration-response.js +6 -5
- package/dist/components/organisms/registration/registration.js +7 -6
- package/dist/components/organisms/stage/stage.js +9 -8
- package/dist/components/organisms/survey/__stories__/build-form-story.js +6 -5
- package/dist/components/organisms/survey/build-form-machine.js +2 -2
- package/dist/components/organisms/survey/build-form.js +8 -7
- package/dist/components/organisms/survey/final-form.js +8 -7
- package/dist/components/organisms/survey/question/edit/__stories__/edit-question-story.js +6 -5
- package/dist/components/organisms/survey/question/edit/add-media.js +6 -5
- package/dist/components/organisms/survey/question/edit/add-question/__stories__/add-question-story.js +6 -5
- package/dist/components/organisms/survey/question/edit/add-question/add-question.js +30 -29
- package/dist/components/organisms/survey/question/edit/answer/answer-input.js +6 -5
- package/dist/components/organisms/survey/question/edit/answer-input.js +6 -5
- package/dist/components/organisms/survey/question/edit/edit-multiple-choice.js +6 -5
- package/dist/components/organisms/survey/question/edit/edit-option-list/edit-option-list-machine.js +2 -2
- package/dist/components/organisms/survey/question/edit/edit-option-list/edit-option-list.js +7 -6
- package/dist/components/organisms/survey/question/edit/edit-option-list/option-input.js +6 -5
- package/dist/components/organisms/survey/question/edit/edit-option-list/option.js +7 -6
- package/dist/components/organisms/survey/question/edit/question-answer-input.js +6 -5
- package/dist/components/organisms/survey/question/take/__stories__/multiple-choice-story.js +6 -5
- package/dist/components/organisms/survey/question/take/__stories__/take-answer-date-time-input-story.js +6 -5
- package/dist/components/organisms/survey/question/take/__stories__/take-answer-input-story.js +6 -5
- package/dist/components/organisms/survey/question/take/inputs/input-manager.js +6 -5
- package/dist/components/organisms/survey/question/take/multiple-choice.js +6 -5
- package/dist/components/organisms/survey/question/take/take-answer-input.js +12 -11
- package/dist/components/organisms/tile-grid/__tests__/tile-grid.tests.js +3 -3
- package/dist/components/organisms/tile-grid/grid-row.js +6 -5
- package/dist/components/organisms/tile-grid/index.js +1 -1
- package/dist/components/organisms/tile-grid/island-tile-grid.js +12 -11
- package/dist/components/organisms/tile-grid/tile-grid.js +6 -4
- package/dist/components/organisms/worlds/area-of-effect/__stories__/area-of-affect-story.js +6 -5
- package/dist/components/organisms/worlds/area-of-effect/area-of-affect.js +31 -29
- package/dist/components/organisms/worlds/island/__stories__/island-story.js +18 -16
- package/dist/components/organisms/worlds/island/__stories__/island-util.js +25 -23
- package/dist/components/pages/home/headwinds/header/headwinds-header.js +6 -5
- package/dist/components/pages/home/headwinds/headwinds-footer.js +6 -5
- package/dist/components/pages/home/headwinds/headwinds-hero.js +6 -5
- package/dist/components/pages/home/headwinds/headwinds-sidequest.js +35 -34
- package/dist/components/pages/home/headwinds/home.js +9 -8
- package/dist/components/pages/index.js +6 -5
- package/dist/components/pages/profile/headwinds/headwinds-profile.js +21 -20
- package/dist/components/pages/profile/index.js +4 -3
- package/dist/components/templates/articles/article/article.js +6 -5
- package/dist/components/templates/home/headwinds/headwinds-home-hero.js +6 -5
- package/dist/components/templates/home/headwinds/headwinds-home.js +6 -5
- package/dist/components/templates/home/home.js +10 -9
- package/dist/fp-util-DZLSTUg5.js +8 -0
- package/dist/gold-leaf-view-CgRraK2i.js +183 -0
- package/dist/gold-leaf-view.module-p3mWnO60.js +17 -0
- package/dist/headline-DzDFQZ3e.js +11 -0
- package/dist/image-find-util-DMX6BcO-.js +1036 -0
- package/dist/index-BTF1caLu.js +2529 -0
- package/dist/{index-COQaJqs5.js → index-OdyFkztm.js} +3670 -2660
- package/dist/{index-DsigmIMS.js → index-_cvPLH70.js} +1 -1
- package/dist/index.esm-DGm91C_6.js +944 -0
- package/dist/index.js +143 -140
- package/dist/lib/components/atoms/list/index.d.ts +2 -0
- package/dist/lib/components/atoms/list/list-item/index.d.ts +2 -0
- package/dist/lib/components/atoms/list/list-item/list-item.d.ts +10 -0
- package/dist/lib/components/atoms/list/list.d.ts +12 -0
- package/dist/lib/components/molecules/gold-leaf/gold-leaf-view/title-image/gold-title-card.d.ts +4 -0
- package/dist/lib/components/organisms/branch/branch.d.ts +3 -1
- package/dist/lib/components/organisms/branches/__stories__/branches.stories.d.ts +7 -0
- package/dist/lib/components/organisms/branches/branch-list.d.ts +4 -1
- package/dist/lib/models/TreeModel.d.ts +12 -0
- package/dist/lib/models/index.d.ts +1 -0
- package/dist/lib/utils/golds/feed-util.d.ts +17 -0
- package/dist/lib/utils/index.d.ts +5 -0
- package/dist/list.module-pjS_KHqp.js +10 -0
- package/dist/{log-2a4cc478.esm-HFv7vQ7j.js → log-2a4cc478.esm-BdzQp5f-.js} +15 -15
- package/dist/{log-error-boundary-story-BF8rmHhr.js → log-error-boundary-story-CcyM__Yt.js} +6541 -7185
- package/dist/{magic-string.es-VsGWiGpd.js → magic-string.es-QkQE39Zh.js} +11 -6
- package/dist/{radio-BTUtRmLM.js → mobile-detect-CWVWWCSg.js} +12 -51
- package/dist/models/TreeModel.js +12 -0
- package/dist/models/index.js +3 -2
- package/dist/{react-spring_web.modern-nSq5Xzxb.js → react-spring_web.modern-ClBJWBW2.js} +281 -273
- package/dist/{react.esm-BEaxtOYu.js → react.esm-BpVcViTQ.js} +2197 -2181
- package/dist/string-util-D7tmqJRS.js +35 -0
- package/dist/table-data-BnRZ5F7y.js +16 -0
- package/dist/utils/golds/feed-util.js +240 -0
- package/dist/utils/index.js +12 -0
- package/dist/{vi.YFlodzP_-CjWVzrI3.js → vi.YFlodzP_-C3qjkUdf.js} +2 -2
- package/dist/{xstate-actors.esm-Ba6reXm_.js → xstate-actors.esm-CcLF5JHw.js} +1 -1
- package/dist/{xstate-react.esm-Ct8KIFgA.js → xstate-react.esm-DWdE0_Ay.js} +1 -1
- package/dist/{xstate.esm-Bo02HSs2.js → xstate.esm-COAqQ2fq.js} +11 -11
- package/package.json +4 -2
- package/dist/Color-ERTF36HU-DRLqcX19.js +0 -358
- package/dist/_getTag-CqbPZ7Cl.js +0 -449
- package/dist/components/organisms/branches/__stories__/branches-story.js +0 -6
- package/dist/components/organisms/branches/branch-list.types.js +0 -1
- package/dist/feed-util-CZfVh6cR.js +0 -244
- package/dist/fp-util-4N0NK_eU.js +0 -8
- package/dist/gold-leaf-view-BAGw5McJ.js +0 -117
- package/dist/gold-leaf-view.module-BTNjKEeW.js +0 -17
- package/dist/headline-DuHL8hAt.js +0 -11
- package/dist/image-find-util-Cl2ZJHfC.js +0 -41
- package/dist/index-BsYJgl86.js +0 -3853
- package/dist/index-Cdg9lY68.js +0 -542
- package/dist/index.esm-BrPDxyfz.js +0 -933
- package/dist/lib/components/organisms/branches/__stories__/branches-story.d.ts +0 -2
- package/dist/lib/components/organisms/branches/branch-list.types.d.ts +0 -5
- package/dist/list-BkQjCFcb.js +0 -14
- package/dist/list-item-DyDjznkQ.js +0 -8
- package/dist/login-response-transition-Dws0eBbH.js +0 -123
- package/dist/table-data-PGM-_ef9.js +0 -16
|
@@ -0,0 +1,2529 @@
|
|
|
1
|
+
import { jsxs as zn, jsx as L } from "react/jsx-runtime";
|
|
2
|
+
import de from "./components/atoms/column/column.js";
|
|
3
|
+
import Sr from "./components/atoms/row/row.js";
|
|
4
|
+
import Bn, { forwardRef as Wn, useState as Ct, useRef as br } from "react";
|
|
5
|
+
import { u as Cr, a as Rr } from "./react-spring_web.modern-ClBJWBW2.js";
|
|
6
|
+
import "./components/atoms/group/group.js";
|
|
7
|
+
import "./components/molecules/wrapper/wrapper.js";
|
|
8
|
+
import "./components/molecules/wallpaper/wallpaper.js";
|
|
9
|
+
import "./models/PortholeBranchModel.js";
|
|
10
|
+
import "./components/organisms/registration/registration-machine.js";
|
|
11
|
+
import "./transform-DGclBZTD.js";
|
|
12
|
+
import "./components/organisms/survey/question/edit/edit-option-list/edit-option-list-machine.js";
|
|
13
|
+
import "./index.esm-DI2C2CaF.js";
|
|
14
|
+
import "./react-masonry-css.module-CJ43viV7.js";
|
|
15
|
+
import Or from "./models/ActorModel.js";
|
|
16
|
+
import "./models/BookModel.js";
|
|
17
|
+
import "./models/ChapterModel.js";
|
|
18
|
+
import "./models/PlayerModel.js";
|
|
19
|
+
import "./models/EnemyModel.js";
|
|
20
|
+
import "./models/ItemModel.js";
|
|
21
|
+
import "./models/LeafModel.js";
|
|
22
|
+
import "./models/LevelModel.js";
|
|
23
|
+
import "./models/NeutralModel.js";
|
|
24
|
+
import "./models/NPCModel.js";
|
|
25
|
+
import "./models/SettingsModel.js";
|
|
26
|
+
import "./models/ShieldModel.js";
|
|
27
|
+
import "./models/TileModel.js";
|
|
28
|
+
import "./models/UserModel.js";
|
|
29
|
+
import "./models/WeaponModel.js";
|
|
30
|
+
import "./models/WorldModel.js";
|
|
31
|
+
import "./models/TreeModel.js";
|
|
32
|
+
import { c as $e } from "./clsx.m-BMVuQnLY.js";
|
|
33
|
+
import { a as wr, c as z, g as xr } from "./index-DukGzmpD.js";
|
|
34
|
+
import { c as Rt } from "./colour-util-Bzfca_cM.js";
|
|
35
|
+
import kr from "./components/molecules/tile/corners.js";
|
|
36
|
+
import { s as De } from "./tile.module-DWYaYExr.js";
|
|
37
|
+
var _;
|
|
38
|
+
(function(e) {
|
|
39
|
+
e.Root = "root", e.Text = "text", e.Directive = "directive", e.Comment = "comment", e.Script = "script", e.Style = "style", e.Tag = "tag", e.CDATA = "cdata", e.Doctype = "doctype";
|
|
40
|
+
})(_ || (_ = {}));
|
|
41
|
+
function Ir(e) {
|
|
42
|
+
return e.type === _.Tag || e.type === _.Script || e.type === _.Style;
|
|
43
|
+
}
|
|
44
|
+
_.Root;
|
|
45
|
+
_.Text;
|
|
46
|
+
_.Directive;
|
|
47
|
+
_.Comment;
|
|
48
|
+
_.Script;
|
|
49
|
+
_.Style;
|
|
50
|
+
_.Tag;
|
|
51
|
+
_.CDATA;
|
|
52
|
+
_.Doctype;
|
|
53
|
+
class Ot {
|
|
54
|
+
constructor() {
|
|
55
|
+
this.parent = null, this.prev = null, this.next = null, this.startIndex = null, this.endIndex = null;
|
|
56
|
+
}
|
|
57
|
+
// Read-write aliases for properties
|
|
58
|
+
/**
|
|
59
|
+
* Same as {@link parent}.
|
|
60
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
61
|
+
*/
|
|
62
|
+
get parentNode() {
|
|
63
|
+
return this.parent;
|
|
64
|
+
}
|
|
65
|
+
set parentNode(t) {
|
|
66
|
+
this.parent = t;
|
|
67
|
+
}
|
|
68
|
+
/**
|
|
69
|
+
* Same as {@link prev}.
|
|
70
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
71
|
+
*/
|
|
72
|
+
get previousSibling() {
|
|
73
|
+
return this.prev;
|
|
74
|
+
}
|
|
75
|
+
set previousSibling(t) {
|
|
76
|
+
this.prev = t;
|
|
77
|
+
}
|
|
78
|
+
/**
|
|
79
|
+
* Same as {@link next}.
|
|
80
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
81
|
+
*/
|
|
82
|
+
get nextSibling() {
|
|
83
|
+
return this.next;
|
|
84
|
+
}
|
|
85
|
+
set nextSibling(t) {
|
|
86
|
+
this.next = t;
|
|
87
|
+
}
|
|
88
|
+
/**
|
|
89
|
+
* Clone this node, and optionally its children.
|
|
90
|
+
*
|
|
91
|
+
* @param recursive Clone child nodes as well.
|
|
92
|
+
* @returns A clone of the node.
|
|
93
|
+
*/
|
|
94
|
+
cloneNode(t = !1) {
|
|
95
|
+
return Nt(this, t);
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
class Ye extends Ot {
|
|
99
|
+
/**
|
|
100
|
+
* @param data The content of the data node
|
|
101
|
+
*/
|
|
102
|
+
constructor(t) {
|
|
103
|
+
super(), this.data = t;
|
|
104
|
+
}
|
|
105
|
+
/**
|
|
106
|
+
* Same as {@link data}.
|
|
107
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
108
|
+
*/
|
|
109
|
+
get nodeValue() {
|
|
110
|
+
return this.data;
|
|
111
|
+
}
|
|
112
|
+
set nodeValue(t) {
|
|
113
|
+
this.data = t;
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
class je extends Ye {
|
|
117
|
+
constructor() {
|
|
118
|
+
super(...arguments), this.type = _.Text;
|
|
119
|
+
}
|
|
120
|
+
get nodeType() {
|
|
121
|
+
return 3;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
class wt extends Ye {
|
|
125
|
+
constructor() {
|
|
126
|
+
super(...arguments), this.type = _.Comment;
|
|
127
|
+
}
|
|
128
|
+
get nodeType() {
|
|
129
|
+
return 8;
|
|
130
|
+
}
|
|
131
|
+
}
|
|
132
|
+
class xt extends Ye {
|
|
133
|
+
constructor(t, r) {
|
|
134
|
+
super(r), this.name = t, this.type = _.Directive;
|
|
135
|
+
}
|
|
136
|
+
get nodeType() {
|
|
137
|
+
return 1;
|
|
138
|
+
}
|
|
139
|
+
}
|
|
140
|
+
class qe extends Ot {
|
|
141
|
+
/**
|
|
142
|
+
* @param children Children of the node. Only certain node types can have children.
|
|
143
|
+
*/
|
|
144
|
+
constructor(t) {
|
|
145
|
+
super(), this.children = t;
|
|
146
|
+
}
|
|
147
|
+
// Aliases
|
|
148
|
+
/** First child of the node. */
|
|
149
|
+
get firstChild() {
|
|
150
|
+
var t;
|
|
151
|
+
return (t = this.children[0]) !== null && t !== void 0 ? t : null;
|
|
152
|
+
}
|
|
153
|
+
/** Last child of the node. */
|
|
154
|
+
get lastChild() {
|
|
155
|
+
return this.children.length > 0 ? this.children[this.children.length - 1] : null;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* Same as {@link children}.
|
|
159
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
160
|
+
*/
|
|
161
|
+
get childNodes() {
|
|
162
|
+
return this.children;
|
|
163
|
+
}
|
|
164
|
+
set childNodes(t) {
|
|
165
|
+
this.children = t;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
class kt extends qe {
|
|
169
|
+
constructor() {
|
|
170
|
+
super(...arguments), this.type = _.CDATA;
|
|
171
|
+
}
|
|
172
|
+
get nodeType() {
|
|
173
|
+
return 4;
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
class Ve extends qe {
|
|
177
|
+
constructor() {
|
|
178
|
+
super(...arguments), this.type = _.Root;
|
|
179
|
+
}
|
|
180
|
+
get nodeType() {
|
|
181
|
+
return 9;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
class It extends qe {
|
|
185
|
+
/**
|
|
186
|
+
* @param name Name of the tag, eg. `div`, `span`.
|
|
187
|
+
* @param attribs Object mapping attribute names to attribute values.
|
|
188
|
+
* @param children Children of the node.
|
|
189
|
+
*/
|
|
190
|
+
constructor(t, r, i = [], o = t === "script" ? _.Script : t === "style" ? _.Style : _.Tag) {
|
|
191
|
+
super(i), this.name = t, this.attribs = r, this.type = o;
|
|
192
|
+
}
|
|
193
|
+
get nodeType() {
|
|
194
|
+
return 1;
|
|
195
|
+
}
|
|
196
|
+
// DOM Level 1 aliases
|
|
197
|
+
/**
|
|
198
|
+
* Same as {@link name}.
|
|
199
|
+
* [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
|
|
200
|
+
*/
|
|
201
|
+
get tagName() {
|
|
202
|
+
return this.name;
|
|
203
|
+
}
|
|
204
|
+
set tagName(t) {
|
|
205
|
+
this.name = t;
|
|
206
|
+
}
|
|
207
|
+
get attributes() {
|
|
208
|
+
return Object.keys(this.attribs).map((t) => {
|
|
209
|
+
var r, i;
|
|
210
|
+
return {
|
|
211
|
+
name: t,
|
|
212
|
+
value: this.attribs[t],
|
|
213
|
+
namespace: (r = this["x-attribsNamespace"]) === null || r === void 0 ? void 0 : r[t],
|
|
214
|
+
prefix: (i = this["x-attribsPrefix"]) === null || i === void 0 ? void 0 : i[t]
|
|
215
|
+
};
|
|
216
|
+
});
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
function jn(e) {
|
|
220
|
+
return Ir(e);
|
|
221
|
+
}
|
|
222
|
+
function Vn(e) {
|
|
223
|
+
return e.type === _.CDATA;
|
|
224
|
+
}
|
|
225
|
+
function Xn(e) {
|
|
226
|
+
return e.type === _.Text;
|
|
227
|
+
}
|
|
228
|
+
function $n(e) {
|
|
229
|
+
return e.type === _.Comment;
|
|
230
|
+
}
|
|
231
|
+
function Yn(e) {
|
|
232
|
+
return e.type === _.Directive;
|
|
233
|
+
}
|
|
234
|
+
function qn(e) {
|
|
235
|
+
return e.type === _.Root;
|
|
236
|
+
}
|
|
237
|
+
function Nr(e) {
|
|
238
|
+
return Object.prototype.hasOwnProperty.call(e, "children");
|
|
239
|
+
}
|
|
240
|
+
function Nt(e, t = !1) {
|
|
241
|
+
let r;
|
|
242
|
+
if (Xn(e))
|
|
243
|
+
r = new je(e.data);
|
|
244
|
+
else if ($n(e))
|
|
245
|
+
r = new wt(e.data);
|
|
246
|
+
else if (jn(e)) {
|
|
247
|
+
const i = t ? dt(e.children) : [], o = new It(e.name, { ...e.attribs }, i);
|
|
248
|
+
i.forEach((s) => s.parent = o), e.namespace != null && (o.namespace = e.namespace), e["x-attribsNamespace"] && (o["x-attribsNamespace"] = { ...e["x-attribsNamespace"] }), e["x-attribsPrefix"] && (o["x-attribsPrefix"] = { ...e["x-attribsPrefix"] }), r = o;
|
|
249
|
+
} else if (Vn(e)) {
|
|
250
|
+
const i = t ? dt(e.children) : [], o = new kt(i);
|
|
251
|
+
i.forEach((s) => s.parent = o), r = o;
|
|
252
|
+
} else if (qn(e)) {
|
|
253
|
+
const i = t ? dt(e.children) : [], o = new Ve(i);
|
|
254
|
+
i.forEach((s) => s.parent = o), e["x-mode"] && (o["x-mode"] = e["x-mode"]), r = o;
|
|
255
|
+
} else if (Yn(e)) {
|
|
256
|
+
const i = new xt(e.name, e.data);
|
|
257
|
+
e["x-name"] != null && (i["x-name"] = e["x-name"], i["x-publicId"] = e["x-publicId"], i["x-systemId"] = e["x-systemId"]), r = i;
|
|
258
|
+
} else
|
|
259
|
+
throw new Error(`Not implemented yet: ${e.type}`);
|
|
260
|
+
return r.startIndex = e.startIndex, r.endIndex = e.endIndex, e.sourceCodeLocation != null && (r.sourceCodeLocation = e.sourceCodeLocation), r;
|
|
261
|
+
}
|
|
262
|
+
function dt(e) {
|
|
263
|
+
const t = e.map((r) => Nt(r, !0));
|
|
264
|
+
for (let r = 1; r < t.length; r++)
|
|
265
|
+
t[r].prev = t[r - 1], t[r - 1].next = t[r];
|
|
266
|
+
return t;
|
|
267
|
+
}
|
|
268
|
+
const mn = {
|
|
269
|
+
withStartIndices: !1,
|
|
270
|
+
withEndIndices: !1,
|
|
271
|
+
xmlMode: !1
|
|
272
|
+
};
|
|
273
|
+
class hn {
|
|
274
|
+
/**
|
|
275
|
+
* @param callback Called once parsing has completed.
|
|
276
|
+
* @param options Settings for the handler.
|
|
277
|
+
* @param elementCB Callback whenever a tag is closed.
|
|
278
|
+
*/
|
|
279
|
+
constructor(t, r, i) {
|
|
280
|
+
this.dom = [], this.root = new Ve(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof r == "function" && (i = r, r = mn), typeof t == "object" && (r = t, t = void 0), this.callback = t ?? null, this.options = r ?? mn, this.elementCB = i ?? null;
|
|
281
|
+
}
|
|
282
|
+
onparserinit(t) {
|
|
283
|
+
this.parser = t;
|
|
284
|
+
}
|
|
285
|
+
// Resets the handler back to starting state
|
|
286
|
+
onreset() {
|
|
287
|
+
this.dom = [], this.root = new Ve(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null;
|
|
288
|
+
}
|
|
289
|
+
// Signals the handler that parsing is done
|
|
290
|
+
onend() {
|
|
291
|
+
this.done || (this.done = !0, this.parser = null, this.handleCallback(null));
|
|
292
|
+
}
|
|
293
|
+
onerror(t) {
|
|
294
|
+
this.handleCallback(t);
|
|
295
|
+
}
|
|
296
|
+
onclosetag() {
|
|
297
|
+
this.lastNode = null;
|
|
298
|
+
const t = this.tagStack.pop();
|
|
299
|
+
this.options.withEndIndices && (t.endIndex = this.parser.endIndex), this.elementCB && this.elementCB(t);
|
|
300
|
+
}
|
|
301
|
+
onopentag(t, r) {
|
|
302
|
+
const i = this.options.xmlMode ? _.Tag : void 0, o = new It(t, r, void 0, i);
|
|
303
|
+
this.addNode(o), this.tagStack.push(o);
|
|
304
|
+
}
|
|
305
|
+
ontext(t) {
|
|
306
|
+
const { lastNode: r } = this;
|
|
307
|
+
if (r && r.type === _.Text)
|
|
308
|
+
r.data += t, this.options.withEndIndices && (r.endIndex = this.parser.endIndex);
|
|
309
|
+
else {
|
|
310
|
+
const i = new je(t);
|
|
311
|
+
this.addNode(i), this.lastNode = i;
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
oncomment(t) {
|
|
315
|
+
if (this.lastNode && this.lastNode.type === _.Comment) {
|
|
316
|
+
this.lastNode.data += t;
|
|
317
|
+
return;
|
|
318
|
+
}
|
|
319
|
+
const r = new wt(t);
|
|
320
|
+
this.addNode(r), this.lastNode = r;
|
|
321
|
+
}
|
|
322
|
+
oncommentend() {
|
|
323
|
+
this.lastNode = null;
|
|
324
|
+
}
|
|
325
|
+
oncdatastart() {
|
|
326
|
+
const t = new je(""), r = new kt([t]);
|
|
327
|
+
this.addNode(r), t.parent = r, this.lastNode = t;
|
|
328
|
+
}
|
|
329
|
+
oncdataend() {
|
|
330
|
+
this.lastNode = null;
|
|
331
|
+
}
|
|
332
|
+
onprocessinginstruction(t, r) {
|
|
333
|
+
const i = new xt(t, r);
|
|
334
|
+
this.addNode(i);
|
|
335
|
+
}
|
|
336
|
+
handleCallback(t) {
|
|
337
|
+
if (typeof this.callback == "function")
|
|
338
|
+
this.callback(t, this.dom);
|
|
339
|
+
else if (t)
|
|
340
|
+
throw t;
|
|
341
|
+
}
|
|
342
|
+
addNode(t) {
|
|
343
|
+
const r = this.tagStack[this.tagStack.length - 1], i = r.children[r.children.length - 1];
|
|
344
|
+
this.options.withStartIndices && (t.startIndex = this.parser.startIndex), this.options.withEndIndices && (t.endIndex = this.parser.endIndex), r.children.push(t), i && (t.prev = i, i.next = t), t.parent = r, this.lastNode = null;
|
|
345
|
+
}
|
|
346
|
+
}
|
|
347
|
+
const Mr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
348
|
+
__proto__: null,
|
|
349
|
+
CDATA: kt,
|
|
350
|
+
Comment: wt,
|
|
351
|
+
DataNode: Ye,
|
|
352
|
+
Document: Ve,
|
|
353
|
+
DomHandler: hn,
|
|
354
|
+
Element: It,
|
|
355
|
+
Node: Ot,
|
|
356
|
+
NodeWithChildren: qe,
|
|
357
|
+
ProcessingInstruction: xt,
|
|
358
|
+
Text: je,
|
|
359
|
+
cloneNode: Nt,
|
|
360
|
+
default: hn,
|
|
361
|
+
hasChildren: Nr,
|
|
362
|
+
isCDATA: Vn,
|
|
363
|
+
isComment: $n,
|
|
364
|
+
isDirective: Yn,
|
|
365
|
+
isDocument: qn,
|
|
366
|
+
isTag: jn,
|
|
367
|
+
isText: Xn
|
|
368
|
+
}, Symbol.toStringTag, { value: "Module" })), Lr = { fill: "#eee", value: 0, id: 0 }, Pe = 5, Dr = Wn(
|
|
369
|
+
({
|
|
370
|
+
isSelected: e = !1,
|
|
371
|
+
setSelected: t,
|
|
372
|
+
isInteractive: r = !0,
|
|
373
|
+
customClass: i,
|
|
374
|
+
size: o = 100,
|
|
375
|
+
cornerColor: s = "#ddd",
|
|
376
|
+
customStyle: u = {},
|
|
377
|
+
type: m,
|
|
378
|
+
model: g = Lr,
|
|
379
|
+
springModel: T = null,
|
|
380
|
+
borderRadius: f = 10,
|
|
381
|
+
children: h,
|
|
382
|
+
//sample = 'light-grey', // shallow-water
|
|
383
|
+
...x
|
|
384
|
+
}, F) => {
|
|
385
|
+
const [p, d] = Ct(!1), { fill: A, id: ie } = g, Q = {
|
|
386
|
+
...u,
|
|
387
|
+
width: o,
|
|
388
|
+
height: o,
|
|
389
|
+
backgroundColor: A,
|
|
390
|
+
padding: 0
|
|
391
|
+
}, G = () => t ? t(e ? null : g) : null, v = Cr(T), $ = () => {
|
|
392
|
+
console.log("Tile onMouseEnter"), d(!0);
|
|
393
|
+
}, ee = () => {
|
|
394
|
+
console.log("Tile onMouseLeave"), d(!1);
|
|
395
|
+
};
|
|
396
|
+
return console.log("InteractiveTile", { model: g, customStyle: u }), /* @__PURE__ */ zn(
|
|
397
|
+
de,
|
|
398
|
+
{
|
|
399
|
+
customClass: $e(
|
|
400
|
+
De.tile,
|
|
401
|
+
De.interactive,
|
|
402
|
+
{ [De.in]: !e, [De.out]: e },
|
|
403
|
+
i
|
|
404
|
+
),
|
|
405
|
+
hasChildrenCentered: !0,
|
|
406
|
+
customStyle: {
|
|
407
|
+
...Q,
|
|
408
|
+
backgroundColor: A,
|
|
409
|
+
borderRadius: 8,
|
|
410
|
+
margin: 2,
|
|
411
|
+
borderColor: A
|
|
412
|
+
},
|
|
413
|
+
onClick: G,
|
|
414
|
+
onMouseEnter: $,
|
|
415
|
+
onMouseLeave: ee,
|
|
416
|
+
ref: F,
|
|
417
|
+
...x,
|
|
418
|
+
children: [
|
|
419
|
+
T ? /* @__PURE__ */ L(
|
|
420
|
+
Rr.div,
|
|
421
|
+
{
|
|
422
|
+
style: {
|
|
423
|
+
...Q,
|
|
424
|
+
backgroundColor: v.backgroundColor.to((Y) => Y),
|
|
425
|
+
width: o - Pe,
|
|
426
|
+
height: o - Pe
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
) : /* @__PURE__ */ L(
|
|
430
|
+
de,
|
|
431
|
+
{
|
|
432
|
+
hasChildrenCentered: !0,
|
|
433
|
+
customStyle: {
|
|
434
|
+
...Q,
|
|
435
|
+
width: o - Pe,
|
|
436
|
+
height: o - Pe,
|
|
437
|
+
borderRadius: f,
|
|
438
|
+
backgroundColor: A
|
|
439
|
+
},
|
|
440
|
+
children: h
|
|
441
|
+
}
|
|
442
|
+
),
|
|
443
|
+
/* @__PURE__ */ L(kr, { size: 100, isHovered: p, cornerColor: g.fill })
|
|
444
|
+
]
|
|
445
|
+
}
|
|
446
|
+
);
|
|
447
|
+
}
|
|
448
|
+
), Pr = Wn((e, t) => {
|
|
449
|
+
const { type: r } = e;
|
|
450
|
+
switch (r) {
|
|
451
|
+
case "interactive":
|
|
452
|
+
default:
|
|
453
|
+
return /* @__PURE__ */ L(Dr, { ...e, ref: t });
|
|
454
|
+
}
|
|
455
|
+
});
|
|
456
|
+
var Zn = {}, Mt = {}, Lt = {};
|
|
457
|
+
Object.defineProperty(Lt, "__esModule", { value: !0 });
|
|
458
|
+
Lt.default = Gr;
|
|
459
|
+
var gn = "html", En = "head", Fe = "body", Fr = /<([a-zA-Z]+[0-9]?)/, Tn = /<head[^]*>/i, _n = /<body[^]*>/i, Xe = function(e, t) {
|
|
460
|
+
throw new Error("This browser does not support `document.implementation.createHTMLDocument`");
|
|
461
|
+
}, vt = function(e, t) {
|
|
462
|
+
throw new Error("This browser does not support `DOMParser.prototype.parseFromString`");
|
|
463
|
+
}, vn = typeof window == "object" && window.DOMParser;
|
|
464
|
+
if (typeof vn == "function") {
|
|
465
|
+
var Ur = new vn(), Hr = "text/html";
|
|
466
|
+
vt = function(e, t) {
|
|
467
|
+
return t && (e = "<".concat(t, ">").concat(e, "</").concat(t, ">")), Ur.parseFromString(e, Hr);
|
|
468
|
+
}, Xe = vt;
|
|
469
|
+
}
|
|
470
|
+
if (typeof document == "object" && document.implementation) {
|
|
471
|
+
var Ue = document.implementation.createHTMLDocument();
|
|
472
|
+
Xe = function(e, t) {
|
|
473
|
+
if (t) {
|
|
474
|
+
var r = Ue.documentElement.querySelector(t);
|
|
475
|
+
return r && (r.innerHTML = e), Ue;
|
|
476
|
+
}
|
|
477
|
+
return Ue.documentElement.innerHTML = e, Ue;
|
|
478
|
+
};
|
|
479
|
+
}
|
|
480
|
+
var He = typeof document == "object" && document.createElement("template"), yt;
|
|
481
|
+
He && He.content && (yt = function(e) {
|
|
482
|
+
return He.innerHTML = e, He.content.childNodes;
|
|
483
|
+
});
|
|
484
|
+
function Gr(e) {
|
|
485
|
+
var t, r, i = e.match(Fr), o = i && i[1] ? i[1].toLowerCase() : "";
|
|
486
|
+
switch (o) {
|
|
487
|
+
case gn: {
|
|
488
|
+
var s = vt(e);
|
|
489
|
+
if (!Tn.test(e)) {
|
|
490
|
+
var u = s.querySelector(En);
|
|
491
|
+
(t = u == null ? void 0 : u.parentNode) === null || t === void 0 || t.removeChild(u);
|
|
492
|
+
}
|
|
493
|
+
if (!_n.test(e)) {
|
|
494
|
+
var u = s.querySelector(Fe);
|
|
495
|
+
(r = u == null ? void 0 : u.parentNode) === null || r === void 0 || r.removeChild(u);
|
|
496
|
+
}
|
|
497
|
+
return s.querySelectorAll(gn);
|
|
498
|
+
}
|
|
499
|
+
case En:
|
|
500
|
+
case Fe: {
|
|
501
|
+
var m = Xe(e).querySelectorAll(o);
|
|
502
|
+
return _n.test(e) && Tn.test(e) ? m[0].parentNode.childNodes : m;
|
|
503
|
+
}
|
|
504
|
+
default: {
|
|
505
|
+
if (yt)
|
|
506
|
+
return yt(e);
|
|
507
|
+
var u = Xe(e, Fe).querySelector(Fe);
|
|
508
|
+
return u.childNodes;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
var Ze = {};
|
|
513
|
+
const Kn = /* @__PURE__ */ wr(Mr);
|
|
514
|
+
var Jn = {};
|
|
515
|
+
(function(e) {
|
|
516
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES = void 0, e.CASE_SENSITIVE_TAG_NAMES = [
|
|
517
|
+
"animateMotion",
|
|
518
|
+
"animateTransform",
|
|
519
|
+
"clipPath",
|
|
520
|
+
"feBlend",
|
|
521
|
+
"feColorMatrix",
|
|
522
|
+
"feComponentTransfer",
|
|
523
|
+
"feComposite",
|
|
524
|
+
"feConvolveMatrix",
|
|
525
|
+
"feDiffuseLighting",
|
|
526
|
+
"feDisplacementMap",
|
|
527
|
+
"feDropShadow",
|
|
528
|
+
"feFlood",
|
|
529
|
+
"feFuncA",
|
|
530
|
+
"feFuncB",
|
|
531
|
+
"feFuncG",
|
|
532
|
+
"feFuncR",
|
|
533
|
+
"feGaussianBlur",
|
|
534
|
+
"feImage",
|
|
535
|
+
"feMerge",
|
|
536
|
+
"feMergeNode",
|
|
537
|
+
"feMorphology",
|
|
538
|
+
"feOffset",
|
|
539
|
+
"fePointLight",
|
|
540
|
+
"feSpecularLighting",
|
|
541
|
+
"feSpotLight",
|
|
542
|
+
"feTile",
|
|
543
|
+
"feTurbulence",
|
|
544
|
+
"foreignObject",
|
|
545
|
+
"linearGradient",
|
|
546
|
+
"radialGradient",
|
|
547
|
+
"textPath"
|
|
548
|
+
], e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES.reduce(function(t, r) {
|
|
549
|
+
return t[r.toLowerCase()] = r, t;
|
|
550
|
+
}, {});
|
|
551
|
+
})(Jn);
|
|
552
|
+
Object.defineProperty(Ze, "__esModule", { value: !0 });
|
|
553
|
+
Ze.formatAttributes = Qn;
|
|
554
|
+
Ze.formatDOM = er;
|
|
555
|
+
var Ge = Kn, zr = Jn;
|
|
556
|
+
function Br(e) {
|
|
557
|
+
return zr.CASE_SENSITIVE_TAG_NAMES_MAP[e];
|
|
558
|
+
}
|
|
559
|
+
function Qn(e) {
|
|
560
|
+
for (var t = {}, r = 0, i = e.length; r < i; r++) {
|
|
561
|
+
var o = e[r];
|
|
562
|
+
t[o.name] = o.value;
|
|
563
|
+
}
|
|
564
|
+
return t;
|
|
565
|
+
}
|
|
566
|
+
function Wr(e) {
|
|
567
|
+
e = e.toLowerCase();
|
|
568
|
+
var t = Br(e);
|
|
569
|
+
return t || e;
|
|
570
|
+
}
|
|
571
|
+
function er(e, t, r) {
|
|
572
|
+
t === void 0 && (t = null);
|
|
573
|
+
for (var i = [], o, s = 0, u = e.length; s < u; s++) {
|
|
574
|
+
var m = e[s];
|
|
575
|
+
switch (m.nodeType) {
|
|
576
|
+
case 1: {
|
|
577
|
+
var g = Wr(m.nodeName);
|
|
578
|
+
o = new Ge.Element(g, Qn(m.attributes)), o.children = er(
|
|
579
|
+
// template children are on content
|
|
580
|
+
g === "template" ? m.content.childNodes : m.childNodes,
|
|
581
|
+
o
|
|
582
|
+
);
|
|
583
|
+
break;
|
|
584
|
+
}
|
|
585
|
+
case 3:
|
|
586
|
+
o = new Ge.Text(m.nodeValue);
|
|
587
|
+
break;
|
|
588
|
+
case 8:
|
|
589
|
+
o = new Ge.Comment(m.nodeValue);
|
|
590
|
+
break;
|
|
591
|
+
default:
|
|
592
|
+
continue;
|
|
593
|
+
}
|
|
594
|
+
var T = i[s - 1] || null;
|
|
595
|
+
T && (T.next = o), o.parent = t, o.prev = T, o.next = null, i.push(o);
|
|
596
|
+
}
|
|
597
|
+
return r && (o = new Ge.ProcessingInstruction(r.substring(0, r.indexOf(" ")).toLowerCase(), r), o.next = i[0] || null, o.parent = t, i.unshift(o), i[1] && (i[1].prev = i[0])), i;
|
|
598
|
+
}
|
|
599
|
+
var jr = z && z.__importDefault || function(e) {
|
|
600
|
+
return e && e.__esModule ? e : { default: e };
|
|
601
|
+
};
|
|
602
|
+
Object.defineProperty(Mt, "__esModule", { value: !0 });
|
|
603
|
+
Mt.default = Yr;
|
|
604
|
+
var Vr = jr(Lt), Xr = Ze, $r = /<(![a-zA-Z\s]+)>/;
|
|
605
|
+
function Yr(e) {
|
|
606
|
+
if (typeof e != "string")
|
|
607
|
+
throw new TypeError("First argument must be a string");
|
|
608
|
+
if (!e)
|
|
609
|
+
return [];
|
|
610
|
+
var t = e.match($r), r = t ? t[1] : void 0;
|
|
611
|
+
return (0, Xr.formatDOM)((0, Vr.default)(e), null, r);
|
|
612
|
+
}
|
|
613
|
+
var Ke = {}, j = {}, Je = {}, qr = 0;
|
|
614
|
+
Je.SAME = qr;
|
|
615
|
+
var Zr = 1;
|
|
616
|
+
Je.CAMELCASE = Zr;
|
|
617
|
+
Je.possibleStandardNames = {
|
|
618
|
+
accept: 0,
|
|
619
|
+
acceptCharset: 1,
|
|
620
|
+
"accept-charset": "acceptCharset",
|
|
621
|
+
accessKey: 1,
|
|
622
|
+
action: 0,
|
|
623
|
+
allowFullScreen: 1,
|
|
624
|
+
alt: 0,
|
|
625
|
+
as: 0,
|
|
626
|
+
async: 0,
|
|
627
|
+
autoCapitalize: 1,
|
|
628
|
+
autoComplete: 1,
|
|
629
|
+
autoCorrect: 1,
|
|
630
|
+
autoFocus: 1,
|
|
631
|
+
autoPlay: 1,
|
|
632
|
+
autoSave: 1,
|
|
633
|
+
capture: 0,
|
|
634
|
+
cellPadding: 1,
|
|
635
|
+
cellSpacing: 1,
|
|
636
|
+
challenge: 0,
|
|
637
|
+
charSet: 1,
|
|
638
|
+
checked: 0,
|
|
639
|
+
children: 0,
|
|
640
|
+
cite: 0,
|
|
641
|
+
class: "className",
|
|
642
|
+
classID: 1,
|
|
643
|
+
className: 1,
|
|
644
|
+
cols: 0,
|
|
645
|
+
colSpan: 1,
|
|
646
|
+
content: 0,
|
|
647
|
+
contentEditable: 1,
|
|
648
|
+
contextMenu: 1,
|
|
649
|
+
controls: 0,
|
|
650
|
+
controlsList: 1,
|
|
651
|
+
coords: 0,
|
|
652
|
+
crossOrigin: 1,
|
|
653
|
+
dangerouslySetInnerHTML: 1,
|
|
654
|
+
data: 0,
|
|
655
|
+
dateTime: 1,
|
|
656
|
+
default: 0,
|
|
657
|
+
defaultChecked: 1,
|
|
658
|
+
defaultValue: 1,
|
|
659
|
+
defer: 0,
|
|
660
|
+
dir: 0,
|
|
661
|
+
disabled: 0,
|
|
662
|
+
disablePictureInPicture: 1,
|
|
663
|
+
disableRemotePlayback: 1,
|
|
664
|
+
download: 0,
|
|
665
|
+
draggable: 0,
|
|
666
|
+
encType: 1,
|
|
667
|
+
enterKeyHint: 1,
|
|
668
|
+
for: "htmlFor",
|
|
669
|
+
form: 0,
|
|
670
|
+
formMethod: 1,
|
|
671
|
+
formAction: 1,
|
|
672
|
+
formEncType: 1,
|
|
673
|
+
formNoValidate: 1,
|
|
674
|
+
formTarget: 1,
|
|
675
|
+
frameBorder: 1,
|
|
676
|
+
headers: 0,
|
|
677
|
+
height: 0,
|
|
678
|
+
hidden: 0,
|
|
679
|
+
high: 0,
|
|
680
|
+
href: 0,
|
|
681
|
+
hrefLang: 1,
|
|
682
|
+
htmlFor: 1,
|
|
683
|
+
httpEquiv: 1,
|
|
684
|
+
"http-equiv": "httpEquiv",
|
|
685
|
+
icon: 0,
|
|
686
|
+
id: 0,
|
|
687
|
+
innerHTML: 1,
|
|
688
|
+
inputMode: 1,
|
|
689
|
+
integrity: 0,
|
|
690
|
+
is: 0,
|
|
691
|
+
itemID: 1,
|
|
692
|
+
itemProp: 1,
|
|
693
|
+
itemRef: 1,
|
|
694
|
+
itemScope: 1,
|
|
695
|
+
itemType: 1,
|
|
696
|
+
keyParams: 1,
|
|
697
|
+
keyType: 1,
|
|
698
|
+
kind: 0,
|
|
699
|
+
label: 0,
|
|
700
|
+
lang: 0,
|
|
701
|
+
list: 0,
|
|
702
|
+
loop: 0,
|
|
703
|
+
low: 0,
|
|
704
|
+
manifest: 0,
|
|
705
|
+
marginWidth: 1,
|
|
706
|
+
marginHeight: 1,
|
|
707
|
+
max: 0,
|
|
708
|
+
maxLength: 1,
|
|
709
|
+
media: 0,
|
|
710
|
+
mediaGroup: 1,
|
|
711
|
+
method: 0,
|
|
712
|
+
min: 0,
|
|
713
|
+
minLength: 1,
|
|
714
|
+
multiple: 0,
|
|
715
|
+
muted: 0,
|
|
716
|
+
name: 0,
|
|
717
|
+
noModule: 1,
|
|
718
|
+
nonce: 0,
|
|
719
|
+
noValidate: 1,
|
|
720
|
+
open: 0,
|
|
721
|
+
optimum: 0,
|
|
722
|
+
pattern: 0,
|
|
723
|
+
placeholder: 0,
|
|
724
|
+
playsInline: 1,
|
|
725
|
+
poster: 0,
|
|
726
|
+
preload: 0,
|
|
727
|
+
profile: 0,
|
|
728
|
+
radioGroup: 1,
|
|
729
|
+
readOnly: 1,
|
|
730
|
+
referrerPolicy: 1,
|
|
731
|
+
rel: 0,
|
|
732
|
+
required: 0,
|
|
733
|
+
reversed: 0,
|
|
734
|
+
role: 0,
|
|
735
|
+
rows: 0,
|
|
736
|
+
rowSpan: 1,
|
|
737
|
+
sandbox: 0,
|
|
738
|
+
scope: 0,
|
|
739
|
+
scoped: 0,
|
|
740
|
+
scrolling: 0,
|
|
741
|
+
seamless: 0,
|
|
742
|
+
selected: 0,
|
|
743
|
+
shape: 0,
|
|
744
|
+
size: 0,
|
|
745
|
+
sizes: 0,
|
|
746
|
+
span: 0,
|
|
747
|
+
spellCheck: 1,
|
|
748
|
+
src: 0,
|
|
749
|
+
srcDoc: 1,
|
|
750
|
+
srcLang: 1,
|
|
751
|
+
srcSet: 1,
|
|
752
|
+
start: 0,
|
|
753
|
+
step: 0,
|
|
754
|
+
style: 0,
|
|
755
|
+
summary: 0,
|
|
756
|
+
tabIndex: 1,
|
|
757
|
+
target: 0,
|
|
758
|
+
title: 0,
|
|
759
|
+
type: 0,
|
|
760
|
+
useMap: 1,
|
|
761
|
+
value: 0,
|
|
762
|
+
width: 0,
|
|
763
|
+
wmode: 0,
|
|
764
|
+
wrap: 0,
|
|
765
|
+
about: 0,
|
|
766
|
+
accentHeight: 1,
|
|
767
|
+
"accent-height": "accentHeight",
|
|
768
|
+
accumulate: 0,
|
|
769
|
+
additive: 0,
|
|
770
|
+
alignmentBaseline: 1,
|
|
771
|
+
"alignment-baseline": "alignmentBaseline",
|
|
772
|
+
allowReorder: 1,
|
|
773
|
+
alphabetic: 0,
|
|
774
|
+
amplitude: 0,
|
|
775
|
+
arabicForm: 1,
|
|
776
|
+
"arabic-form": "arabicForm",
|
|
777
|
+
ascent: 0,
|
|
778
|
+
attributeName: 1,
|
|
779
|
+
attributeType: 1,
|
|
780
|
+
autoReverse: 1,
|
|
781
|
+
azimuth: 0,
|
|
782
|
+
baseFrequency: 1,
|
|
783
|
+
baselineShift: 1,
|
|
784
|
+
"baseline-shift": "baselineShift",
|
|
785
|
+
baseProfile: 1,
|
|
786
|
+
bbox: 0,
|
|
787
|
+
begin: 0,
|
|
788
|
+
bias: 0,
|
|
789
|
+
by: 0,
|
|
790
|
+
calcMode: 1,
|
|
791
|
+
capHeight: 1,
|
|
792
|
+
"cap-height": "capHeight",
|
|
793
|
+
clip: 0,
|
|
794
|
+
clipPath: 1,
|
|
795
|
+
"clip-path": "clipPath",
|
|
796
|
+
clipPathUnits: 1,
|
|
797
|
+
clipRule: 1,
|
|
798
|
+
"clip-rule": "clipRule",
|
|
799
|
+
color: 0,
|
|
800
|
+
colorInterpolation: 1,
|
|
801
|
+
"color-interpolation": "colorInterpolation",
|
|
802
|
+
colorInterpolationFilters: 1,
|
|
803
|
+
"color-interpolation-filters": "colorInterpolationFilters",
|
|
804
|
+
colorProfile: 1,
|
|
805
|
+
"color-profile": "colorProfile",
|
|
806
|
+
colorRendering: 1,
|
|
807
|
+
"color-rendering": "colorRendering",
|
|
808
|
+
contentScriptType: 1,
|
|
809
|
+
contentStyleType: 1,
|
|
810
|
+
cursor: 0,
|
|
811
|
+
cx: 0,
|
|
812
|
+
cy: 0,
|
|
813
|
+
d: 0,
|
|
814
|
+
datatype: 0,
|
|
815
|
+
decelerate: 0,
|
|
816
|
+
descent: 0,
|
|
817
|
+
diffuseConstant: 1,
|
|
818
|
+
direction: 0,
|
|
819
|
+
display: 0,
|
|
820
|
+
divisor: 0,
|
|
821
|
+
dominantBaseline: 1,
|
|
822
|
+
"dominant-baseline": "dominantBaseline",
|
|
823
|
+
dur: 0,
|
|
824
|
+
dx: 0,
|
|
825
|
+
dy: 0,
|
|
826
|
+
edgeMode: 1,
|
|
827
|
+
elevation: 0,
|
|
828
|
+
enableBackground: 1,
|
|
829
|
+
"enable-background": "enableBackground",
|
|
830
|
+
end: 0,
|
|
831
|
+
exponent: 0,
|
|
832
|
+
externalResourcesRequired: 1,
|
|
833
|
+
fill: 0,
|
|
834
|
+
fillOpacity: 1,
|
|
835
|
+
"fill-opacity": "fillOpacity",
|
|
836
|
+
fillRule: 1,
|
|
837
|
+
"fill-rule": "fillRule",
|
|
838
|
+
filter: 0,
|
|
839
|
+
filterRes: 1,
|
|
840
|
+
filterUnits: 1,
|
|
841
|
+
floodOpacity: 1,
|
|
842
|
+
"flood-opacity": "floodOpacity",
|
|
843
|
+
floodColor: 1,
|
|
844
|
+
"flood-color": "floodColor",
|
|
845
|
+
focusable: 0,
|
|
846
|
+
fontFamily: 1,
|
|
847
|
+
"font-family": "fontFamily",
|
|
848
|
+
fontSize: 1,
|
|
849
|
+
"font-size": "fontSize",
|
|
850
|
+
fontSizeAdjust: 1,
|
|
851
|
+
"font-size-adjust": "fontSizeAdjust",
|
|
852
|
+
fontStretch: 1,
|
|
853
|
+
"font-stretch": "fontStretch",
|
|
854
|
+
fontStyle: 1,
|
|
855
|
+
"font-style": "fontStyle",
|
|
856
|
+
fontVariant: 1,
|
|
857
|
+
"font-variant": "fontVariant",
|
|
858
|
+
fontWeight: 1,
|
|
859
|
+
"font-weight": "fontWeight",
|
|
860
|
+
format: 0,
|
|
861
|
+
from: 0,
|
|
862
|
+
fx: 0,
|
|
863
|
+
fy: 0,
|
|
864
|
+
g1: 0,
|
|
865
|
+
g2: 0,
|
|
866
|
+
glyphName: 1,
|
|
867
|
+
"glyph-name": "glyphName",
|
|
868
|
+
glyphOrientationHorizontal: 1,
|
|
869
|
+
"glyph-orientation-horizontal": "glyphOrientationHorizontal",
|
|
870
|
+
glyphOrientationVertical: 1,
|
|
871
|
+
"glyph-orientation-vertical": "glyphOrientationVertical",
|
|
872
|
+
glyphRef: 1,
|
|
873
|
+
gradientTransform: 1,
|
|
874
|
+
gradientUnits: 1,
|
|
875
|
+
hanging: 0,
|
|
876
|
+
horizAdvX: 1,
|
|
877
|
+
"horiz-adv-x": "horizAdvX",
|
|
878
|
+
horizOriginX: 1,
|
|
879
|
+
"horiz-origin-x": "horizOriginX",
|
|
880
|
+
ideographic: 0,
|
|
881
|
+
imageRendering: 1,
|
|
882
|
+
"image-rendering": "imageRendering",
|
|
883
|
+
in2: 0,
|
|
884
|
+
in: 0,
|
|
885
|
+
inlist: 0,
|
|
886
|
+
intercept: 0,
|
|
887
|
+
k1: 0,
|
|
888
|
+
k2: 0,
|
|
889
|
+
k3: 0,
|
|
890
|
+
k4: 0,
|
|
891
|
+
k: 0,
|
|
892
|
+
kernelMatrix: 1,
|
|
893
|
+
kernelUnitLength: 1,
|
|
894
|
+
kerning: 0,
|
|
895
|
+
keyPoints: 1,
|
|
896
|
+
keySplines: 1,
|
|
897
|
+
keyTimes: 1,
|
|
898
|
+
lengthAdjust: 1,
|
|
899
|
+
letterSpacing: 1,
|
|
900
|
+
"letter-spacing": "letterSpacing",
|
|
901
|
+
lightingColor: 1,
|
|
902
|
+
"lighting-color": "lightingColor",
|
|
903
|
+
limitingConeAngle: 1,
|
|
904
|
+
local: 0,
|
|
905
|
+
markerEnd: 1,
|
|
906
|
+
"marker-end": "markerEnd",
|
|
907
|
+
markerHeight: 1,
|
|
908
|
+
markerMid: 1,
|
|
909
|
+
"marker-mid": "markerMid",
|
|
910
|
+
markerStart: 1,
|
|
911
|
+
"marker-start": "markerStart",
|
|
912
|
+
markerUnits: 1,
|
|
913
|
+
markerWidth: 1,
|
|
914
|
+
mask: 0,
|
|
915
|
+
maskContentUnits: 1,
|
|
916
|
+
maskUnits: 1,
|
|
917
|
+
mathematical: 0,
|
|
918
|
+
mode: 0,
|
|
919
|
+
numOctaves: 1,
|
|
920
|
+
offset: 0,
|
|
921
|
+
opacity: 0,
|
|
922
|
+
operator: 0,
|
|
923
|
+
order: 0,
|
|
924
|
+
orient: 0,
|
|
925
|
+
orientation: 0,
|
|
926
|
+
origin: 0,
|
|
927
|
+
overflow: 0,
|
|
928
|
+
overlinePosition: 1,
|
|
929
|
+
"overline-position": "overlinePosition",
|
|
930
|
+
overlineThickness: 1,
|
|
931
|
+
"overline-thickness": "overlineThickness",
|
|
932
|
+
paintOrder: 1,
|
|
933
|
+
"paint-order": "paintOrder",
|
|
934
|
+
panose1: 0,
|
|
935
|
+
"panose-1": "panose1",
|
|
936
|
+
pathLength: 1,
|
|
937
|
+
patternContentUnits: 1,
|
|
938
|
+
patternTransform: 1,
|
|
939
|
+
patternUnits: 1,
|
|
940
|
+
pointerEvents: 1,
|
|
941
|
+
"pointer-events": "pointerEvents",
|
|
942
|
+
points: 0,
|
|
943
|
+
pointsAtX: 1,
|
|
944
|
+
pointsAtY: 1,
|
|
945
|
+
pointsAtZ: 1,
|
|
946
|
+
prefix: 0,
|
|
947
|
+
preserveAlpha: 1,
|
|
948
|
+
preserveAspectRatio: 1,
|
|
949
|
+
primitiveUnits: 1,
|
|
950
|
+
property: 0,
|
|
951
|
+
r: 0,
|
|
952
|
+
radius: 0,
|
|
953
|
+
refX: 1,
|
|
954
|
+
refY: 1,
|
|
955
|
+
renderingIntent: 1,
|
|
956
|
+
"rendering-intent": "renderingIntent",
|
|
957
|
+
repeatCount: 1,
|
|
958
|
+
repeatDur: 1,
|
|
959
|
+
requiredExtensions: 1,
|
|
960
|
+
requiredFeatures: 1,
|
|
961
|
+
resource: 0,
|
|
962
|
+
restart: 0,
|
|
963
|
+
result: 0,
|
|
964
|
+
results: 0,
|
|
965
|
+
rotate: 0,
|
|
966
|
+
rx: 0,
|
|
967
|
+
ry: 0,
|
|
968
|
+
scale: 0,
|
|
969
|
+
security: 0,
|
|
970
|
+
seed: 0,
|
|
971
|
+
shapeRendering: 1,
|
|
972
|
+
"shape-rendering": "shapeRendering",
|
|
973
|
+
slope: 0,
|
|
974
|
+
spacing: 0,
|
|
975
|
+
specularConstant: 1,
|
|
976
|
+
specularExponent: 1,
|
|
977
|
+
speed: 0,
|
|
978
|
+
spreadMethod: 1,
|
|
979
|
+
startOffset: 1,
|
|
980
|
+
stdDeviation: 1,
|
|
981
|
+
stemh: 0,
|
|
982
|
+
stemv: 0,
|
|
983
|
+
stitchTiles: 1,
|
|
984
|
+
stopColor: 1,
|
|
985
|
+
"stop-color": "stopColor",
|
|
986
|
+
stopOpacity: 1,
|
|
987
|
+
"stop-opacity": "stopOpacity",
|
|
988
|
+
strikethroughPosition: 1,
|
|
989
|
+
"strikethrough-position": "strikethroughPosition",
|
|
990
|
+
strikethroughThickness: 1,
|
|
991
|
+
"strikethrough-thickness": "strikethroughThickness",
|
|
992
|
+
string: 0,
|
|
993
|
+
stroke: 0,
|
|
994
|
+
strokeDasharray: 1,
|
|
995
|
+
"stroke-dasharray": "strokeDasharray",
|
|
996
|
+
strokeDashoffset: 1,
|
|
997
|
+
"stroke-dashoffset": "strokeDashoffset",
|
|
998
|
+
strokeLinecap: 1,
|
|
999
|
+
"stroke-linecap": "strokeLinecap",
|
|
1000
|
+
strokeLinejoin: 1,
|
|
1001
|
+
"stroke-linejoin": "strokeLinejoin",
|
|
1002
|
+
strokeMiterlimit: 1,
|
|
1003
|
+
"stroke-miterlimit": "strokeMiterlimit",
|
|
1004
|
+
strokeWidth: 1,
|
|
1005
|
+
"stroke-width": "strokeWidth",
|
|
1006
|
+
strokeOpacity: 1,
|
|
1007
|
+
"stroke-opacity": "strokeOpacity",
|
|
1008
|
+
suppressContentEditableWarning: 1,
|
|
1009
|
+
suppressHydrationWarning: 1,
|
|
1010
|
+
surfaceScale: 1,
|
|
1011
|
+
systemLanguage: 1,
|
|
1012
|
+
tableValues: 1,
|
|
1013
|
+
targetX: 1,
|
|
1014
|
+
targetY: 1,
|
|
1015
|
+
textAnchor: 1,
|
|
1016
|
+
"text-anchor": "textAnchor",
|
|
1017
|
+
textDecoration: 1,
|
|
1018
|
+
"text-decoration": "textDecoration",
|
|
1019
|
+
textLength: 1,
|
|
1020
|
+
textRendering: 1,
|
|
1021
|
+
"text-rendering": "textRendering",
|
|
1022
|
+
to: 0,
|
|
1023
|
+
transform: 0,
|
|
1024
|
+
typeof: 0,
|
|
1025
|
+
u1: 0,
|
|
1026
|
+
u2: 0,
|
|
1027
|
+
underlinePosition: 1,
|
|
1028
|
+
"underline-position": "underlinePosition",
|
|
1029
|
+
underlineThickness: 1,
|
|
1030
|
+
"underline-thickness": "underlineThickness",
|
|
1031
|
+
unicode: 0,
|
|
1032
|
+
unicodeBidi: 1,
|
|
1033
|
+
"unicode-bidi": "unicodeBidi",
|
|
1034
|
+
unicodeRange: 1,
|
|
1035
|
+
"unicode-range": "unicodeRange",
|
|
1036
|
+
unitsPerEm: 1,
|
|
1037
|
+
"units-per-em": "unitsPerEm",
|
|
1038
|
+
unselectable: 0,
|
|
1039
|
+
vAlphabetic: 1,
|
|
1040
|
+
"v-alphabetic": "vAlphabetic",
|
|
1041
|
+
values: 0,
|
|
1042
|
+
vectorEffect: 1,
|
|
1043
|
+
"vector-effect": "vectorEffect",
|
|
1044
|
+
version: 0,
|
|
1045
|
+
vertAdvY: 1,
|
|
1046
|
+
"vert-adv-y": "vertAdvY",
|
|
1047
|
+
vertOriginX: 1,
|
|
1048
|
+
"vert-origin-x": "vertOriginX",
|
|
1049
|
+
vertOriginY: 1,
|
|
1050
|
+
"vert-origin-y": "vertOriginY",
|
|
1051
|
+
vHanging: 1,
|
|
1052
|
+
"v-hanging": "vHanging",
|
|
1053
|
+
vIdeographic: 1,
|
|
1054
|
+
"v-ideographic": "vIdeographic",
|
|
1055
|
+
viewBox: 1,
|
|
1056
|
+
viewTarget: 1,
|
|
1057
|
+
visibility: 0,
|
|
1058
|
+
vMathematical: 1,
|
|
1059
|
+
"v-mathematical": "vMathematical",
|
|
1060
|
+
vocab: 0,
|
|
1061
|
+
widths: 0,
|
|
1062
|
+
wordSpacing: 1,
|
|
1063
|
+
"word-spacing": "wordSpacing",
|
|
1064
|
+
writingMode: 1,
|
|
1065
|
+
"writing-mode": "writingMode",
|
|
1066
|
+
x1: 0,
|
|
1067
|
+
x2: 0,
|
|
1068
|
+
x: 0,
|
|
1069
|
+
xChannelSelector: 1,
|
|
1070
|
+
xHeight: 1,
|
|
1071
|
+
"x-height": "xHeight",
|
|
1072
|
+
xlinkActuate: 1,
|
|
1073
|
+
"xlink:actuate": "xlinkActuate",
|
|
1074
|
+
xlinkArcrole: 1,
|
|
1075
|
+
"xlink:arcrole": "xlinkArcrole",
|
|
1076
|
+
xlinkHref: 1,
|
|
1077
|
+
"xlink:href": "xlinkHref",
|
|
1078
|
+
xlinkRole: 1,
|
|
1079
|
+
"xlink:role": "xlinkRole",
|
|
1080
|
+
xlinkShow: 1,
|
|
1081
|
+
"xlink:show": "xlinkShow",
|
|
1082
|
+
xlinkTitle: 1,
|
|
1083
|
+
"xlink:title": "xlinkTitle",
|
|
1084
|
+
xlinkType: 1,
|
|
1085
|
+
"xlink:type": "xlinkType",
|
|
1086
|
+
xmlBase: 1,
|
|
1087
|
+
"xml:base": "xmlBase",
|
|
1088
|
+
xmlLang: 1,
|
|
1089
|
+
"xml:lang": "xmlLang",
|
|
1090
|
+
xmlns: 0,
|
|
1091
|
+
"xml:space": "xmlSpace",
|
|
1092
|
+
xmlnsXlink: 1,
|
|
1093
|
+
"xmlns:xlink": "xmlnsXlink",
|
|
1094
|
+
xmlSpace: 1,
|
|
1095
|
+
y1: 0,
|
|
1096
|
+
y2: 0,
|
|
1097
|
+
y: 0,
|
|
1098
|
+
yChannelSelector: 1,
|
|
1099
|
+
z: 0,
|
|
1100
|
+
zoomAndPan: 1
|
|
1101
|
+
};
|
|
1102
|
+
const tr = 0, J = 1, Qe = 2, et = 3, Dt = 4, nr = 5, rr = 6;
|
|
1103
|
+
function Kr(e) {
|
|
1104
|
+
return w.hasOwnProperty(e) ? w[e] : null;
|
|
1105
|
+
}
|
|
1106
|
+
function P(e, t, r, i, o, s, u) {
|
|
1107
|
+
this.acceptsBooleans = t === Qe || t === et || t === Dt, this.attributeName = i, this.attributeNamespace = o, this.mustUseProperty = r, this.propertyName = e, this.type = t, this.sanitizeURL = s, this.removeEmptyString = u;
|
|
1108
|
+
}
|
|
1109
|
+
const w = {}, Jr = [
|
|
1110
|
+
"children",
|
|
1111
|
+
"dangerouslySetInnerHTML",
|
|
1112
|
+
// TODO: This prevents the assignment of defaultValue to regular
|
|
1113
|
+
// elements (not just inputs). Now that ReactDOMInput assigns to the
|
|
1114
|
+
// defaultValue property -- do we need this?
|
|
1115
|
+
"defaultValue",
|
|
1116
|
+
"defaultChecked",
|
|
1117
|
+
"innerHTML",
|
|
1118
|
+
"suppressContentEditableWarning",
|
|
1119
|
+
"suppressHydrationWarning",
|
|
1120
|
+
"style"
|
|
1121
|
+
];
|
|
1122
|
+
Jr.forEach((e) => {
|
|
1123
|
+
w[e] = new P(
|
|
1124
|
+
e,
|
|
1125
|
+
tr,
|
|
1126
|
+
!1,
|
|
1127
|
+
// mustUseProperty
|
|
1128
|
+
e,
|
|
1129
|
+
// attributeName
|
|
1130
|
+
null,
|
|
1131
|
+
// attributeNamespace
|
|
1132
|
+
!1,
|
|
1133
|
+
// sanitizeURL
|
|
1134
|
+
!1
|
|
1135
|
+
// removeEmptyString
|
|
1136
|
+
);
|
|
1137
|
+
});
|
|
1138
|
+
[
|
|
1139
|
+
["acceptCharset", "accept-charset"],
|
|
1140
|
+
["className", "class"],
|
|
1141
|
+
["htmlFor", "for"],
|
|
1142
|
+
["httpEquiv", "http-equiv"]
|
|
1143
|
+
].forEach(([e, t]) => {
|
|
1144
|
+
w[e] = new P(
|
|
1145
|
+
e,
|
|
1146
|
+
J,
|
|
1147
|
+
!1,
|
|
1148
|
+
// mustUseProperty
|
|
1149
|
+
t,
|
|
1150
|
+
// attributeName
|
|
1151
|
+
null,
|
|
1152
|
+
// attributeNamespace
|
|
1153
|
+
!1,
|
|
1154
|
+
// sanitizeURL
|
|
1155
|
+
!1
|
|
1156
|
+
// removeEmptyString
|
|
1157
|
+
);
|
|
1158
|
+
});
|
|
1159
|
+
["contentEditable", "draggable", "spellCheck", "value"].forEach((e) => {
|
|
1160
|
+
w[e] = new P(
|
|
1161
|
+
e,
|
|
1162
|
+
Qe,
|
|
1163
|
+
!1,
|
|
1164
|
+
// mustUseProperty
|
|
1165
|
+
e.toLowerCase(),
|
|
1166
|
+
// attributeName
|
|
1167
|
+
null,
|
|
1168
|
+
// attributeNamespace
|
|
1169
|
+
!1,
|
|
1170
|
+
// sanitizeURL
|
|
1171
|
+
!1
|
|
1172
|
+
// removeEmptyString
|
|
1173
|
+
);
|
|
1174
|
+
});
|
|
1175
|
+
[
|
|
1176
|
+
"autoReverse",
|
|
1177
|
+
"externalResourcesRequired",
|
|
1178
|
+
"focusable",
|
|
1179
|
+
"preserveAlpha"
|
|
1180
|
+
].forEach((e) => {
|
|
1181
|
+
w[e] = new P(
|
|
1182
|
+
e,
|
|
1183
|
+
Qe,
|
|
1184
|
+
!1,
|
|
1185
|
+
// mustUseProperty
|
|
1186
|
+
e,
|
|
1187
|
+
// attributeName
|
|
1188
|
+
null,
|
|
1189
|
+
// attributeNamespace
|
|
1190
|
+
!1,
|
|
1191
|
+
// sanitizeURL
|
|
1192
|
+
!1
|
|
1193
|
+
// removeEmptyString
|
|
1194
|
+
);
|
|
1195
|
+
});
|
|
1196
|
+
[
|
|
1197
|
+
"allowFullScreen",
|
|
1198
|
+
"async",
|
|
1199
|
+
// Note: there is a special case that prevents it from being written to the DOM
|
|
1200
|
+
// on the client side because the browsers are inconsistent. Instead we call focus().
|
|
1201
|
+
"autoFocus",
|
|
1202
|
+
"autoPlay",
|
|
1203
|
+
"controls",
|
|
1204
|
+
"default",
|
|
1205
|
+
"defer",
|
|
1206
|
+
"disabled",
|
|
1207
|
+
"disablePictureInPicture",
|
|
1208
|
+
"disableRemotePlayback",
|
|
1209
|
+
"formNoValidate",
|
|
1210
|
+
"hidden",
|
|
1211
|
+
"loop",
|
|
1212
|
+
"noModule",
|
|
1213
|
+
"noValidate",
|
|
1214
|
+
"open",
|
|
1215
|
+
"playsInline",
|
|
1216
|
+
"readOnly",
|
|
1217
|
+
"required",
|
|
1218
|
+
"reversed",
|
|
1219
|
+
"scoped",
|
|
1220
|
+
"seamless",
|
|
1221
|
+
// Microdata
|
|
1222
|
+
"itemScope"
|
|
1223
|
+
].forEach((e) => {
|
|
1224
|
+
w[e] = new P(
|
|
1225
|
+
e,
|
|
1226
|
+
et,
|
|
1227
|
+
!1,
|
|
1228
|
+
// mustUseProperty
|
|
1229
|
+
e.toLowerCase(),
|
|
1230
|
+
// attributeName
|
|
1231
|
+
null,
|
|
1232
|
+
// attributeNamespace
|
|
1233
|
+
!1,
|
|
1234
|
+
// sanitizeURL
|
|
1235
|
+
!1
|
|
1236
|
+
// removeEmptyString
|
|
1237
|
+
);
|
|
1238
|
+
});
|
|
1239
|
+
[
|
|
1240
|
+
"checked",
|
|
1241
|
+
// Note: `option.selected` is not updated if `select.multiple` is
|
|
1242
|
+
// disabled with `removeAttribute`. We have special logic for handling this.
|
|
1243
|
+
"multiple",
|
|
1244
|
+
"muted",
|
|
1245
|
+
"selected"
|
|
1246
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1247
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1248
|
+
// instead in the assignment below.
|
|
1249
|
+
].forEach((e) => {
|
|
1250
|
+
w[e] = new P(
|
|
1251
|
+
e,
|
|
1252
|
+
et,
|
|
1253
|
+
!0,
|
|
1254
|
+
// mustUseProperty
|
|
1255
|
+
e,
|
|
1256
|
+
// attributeName
|
|
1257
|
+
null,
|
|
1258
|
+
// attributeNamespace
|
|
1259
|
+
!1,
|
|
1260
|
+
// sanitizeURL
|
|
1261
|
+
!1
|
|
1262
|
+
// removeEmptyString
|
|
1263
|
+
);
|
|
1264
|
+
});
|
|
1265
|
+
[
|
|
1266
|
+
"capture",
|
|
1267
|
+
"download"
|
|
1268
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1269
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1270
|
+
// instead in the assignment below.
|
|
1271
|
+
].forEach((e) => {
|
|
1272
|
+
w[e] = new P(
|
|
1273
|
+
e,
|
|
1274
|
+
Dt,
|
|
1275
|
+
!1,
|
|
1276
|
+
// mustUseProperty
|
|
1277
|
+
e,
|
|
1278
|
+
// attributeName
|
|
1279
|
+
null,
|
|
1280
|
+
// attributeNamespace
|
|
1281
|
+
!1,
|
|
1282
|
+
// sanitizeURL
|
|
1283
|
+
!1
|
|
1284
|
+
// removeEmptyString
|
|
1285
|
+
);
|
|
1286
|
+
});
|
|
1287
|
+
[
|
|
1288
|
+
"cols",
|
|
1289
|
+
"rows",
|
|
1290
|
+
"size",
|
|
1291
|
+
"span"
|
|
1292
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1293
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1294
|
+
// instead in the assignment below.
|
|
1295
|
+
].forEach((e) => {
|
|
1296
|
+
w[e] = new P(
|
|
1297
|
+
e,
|
|
1298
|
+
rr,
|
|
1299
|
+
!1,
|
|
1300
|
+
// mustUseProperty
|
|
1301
|
+
e,
|
|
1302
|
+
// attributeName
|
|
1303
|
+
null,
|
|
1304
|
+
// attributeNamespace
|
|
1305
|
+
!1,
|
|
1306
|
+
// sanitizeURL
|
|
1307
|
+
!1
|
|
1308
|
+
// removeEmptyString
|
|
1309
|
+
);
|
|
1310
|
+
});
|
|
1311
|
+
["rowSpan", "start"].forEach((e) => {
|
|
1312
|
+
w[e] = new P(
|
|
1313
|
+
e,
|
|
1314
|
+
nr,
|
|
1315
|
+
!1,
|
|
1316
|
+
// mustUseProperty
|
|
1317
|
+
e.toLowerCase(),
|
|
1318
|
+
// attributeName
|
|
1319
|
+
null,
|
|
1320
|
+
// attributeNamespace
|
|
1321
|
+
!1,
|
|
1322
|
+
// sanitizeURL
|
|
1323
|
+
!1
|
|
1324
|
+
// removeEmptyString
|
|
1325
|
+
);
|
|
1326
|
+
});
|
|
1327
|
+
const Pt = /[\-\:]([a-z])/g, Ft = (e) => e[1].toUpperCase();
|
|
1328
|
+
[
|
|
1329
|
+
"accent-height",
|
|
1330
|
+
"alignment-baseline",
|
|
1331
|
+
"arabic-form",
|
|
1332
|
+
"baseline-shift",
|
|
1333
|
+
"cap-height",
|
|
1334
|
+
"clip-path",
|
|
1335
|
+
"clip-rule",
|
|
1336
|
+
"color-interpolation",
|
|
1337
|
+
"color-interpolation-filters",
|
|
1338
|
+
"color-profile",
|
|
1339
|
+
"color-rendering",
|
|
1340
|
+
"dominant-baseline",
|
|
1341
|
+
"enable-background",
|
|
1342
|
+
"fill-opacity",
|
|
1343
|
+
"fill-rule",
|
|
1344
|
+
"flood-color",
|
|
1345
|
+
"flood-opacity",
|
|
1346
|
+
"font-family",
|
|
1347
|
+
"font-size",
|
|
1348
|
+
"font-size-adjust",
|
|
1349
|
+
"font-stretch",
|
|
1350
|
+
"font-style",
|
|
1351
|
+
"font-variant",
|
|
1352
|
+
"font-weight",
|
|
1353
|
+
"glyph-name",
|
|
1354
|
+
"glyph-orientation-horizontal",
|
|
1355
|
+
"glyph-orientation-vertical",
|
|
1356
|
+
"horiz-adv-x",
|
|
1357
|
+
"horiz-origin-x",
|
|
1358
|
+
"image-rendering",
|
|
1359
|
+
"letter-spacing",
|
|
1360
|
+
"lighting-color",
|
|
1361
|
+
"marker-end",
|
|
1362
|
+
"marker-mid",
|
|
1363
|
+
"marker-start",
|
|
1364
|
+
"overline-position",
|
|
1365
|
+
"overline-thickness",
|
|
1366
|
+
"paint-order",
|
|
1367
|
+
"panose-1",
|
|
1368
|
+
"pointer-events",
|
|
1369
|
+
"rendering-intent",
|
|
1370
|
+
"shape-rendering",
|
|
1371
|
+
"stop-color",
|
|
1372
|
+
"stop-opacity",
|
|
1373
|
+
"strikethrough-position",
|
|
1374
|
+
"strikethrough-thickness",
|
|
1375
|
+
"stroke-dasharray",
|
|
1376
|
+
"stroke-dashoffset",
|
|
1377
|
+
"stroke-linecap",
|
|
1378
|
+
"stroke-linejoin",
|
|
1379
|
+
"stroke-miterlimit",
|
|
1380
|
+
"stroke-opacity",
|
|
1381
|
+
"stroke-width",
|
|
1382
|
+
"text-anchor",
|
|
1383
|
+
"text-decoration",
|
|
1384
|
+
"text-rendering",
|
|
1385
|
+
"underline-position",
|
|
1386
|
+
"underline-thickness",
|
|
1387
|
+
"unicode-bidi",
|
|
1388
|
+
"unicode-range",
|
|
1389
|
+
"units-per-em",
|
|
1390
|
+
"v-alphabetic",
|
|
1391
|
+
"v-hanging",
|
|
1392
|
+
"v-ideographic",
|
|
1393
|
+
"v-mathematical",
|
|
1394
|
+
"vector-effect",
|
|
1395
|
+
"vert-adv-y",
|
|
1396
|
+
"vert-origin-x",
|
|
1397
|
+
"vert-origin-y",
|
|
1398
|
+
"word-spacing",
|
|
1399
|
+
"writing-mode",
|
|
1400
|
+
"xmlns:xlink",
|
|
1401
|
+
"x-height"
|
|
1402
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1403
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1404
|
+
// instead in the assignment below.
|
|
1405
|
+
].forEach((e) => {
|
|
1406
|
+
const t = e.replace(Pt, Ft);
|
|
1407
|
+
w[t] = new P(
|
|
1408
|
+
t,
|
|
1409
|
+
J,
|
|
1410
|
+
!1,
|
|
1411
|
+
// mustUseProperty
|
|
1412
|
+
e,
|
|
1413
|
+
null,
|
|
1414
|
+
// attributeNamespace
|
|
1415
|
+
!1,
|
|
1416
|
+
// sanitizeURL
|
|
1417
|
+
!1
|
|
1418
|
+
// removeEmptyString
|
|
1419
|
+
);
|
|
1420
|
+
});
|
|
1421
|
+
[
|
|
1422
|
+
"xlink:actuate",
|
|
1423
|
+
"xlink:arcrole",
|
|
1424
|
+
"xlink:role",
|
|
1425
|
+
"xlink:show",
|
|
1426
|
+
"xlink:title",
|
|
1427
|
+
"xlink:type"
|
|
1428
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1429
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1430
|
+
// instead in the assignment below.
|
|
1431
|
+
].forEach((e) => {
|
|
1432
|
+
const t = e.replace(Pt, Ft);
|
|
1433
|
+
w[t] = new P(
|
|
1434
|
+
t,
|
|
1435
|
+
J,
|
|
1436
|
+
!1,
|
|
1437
|
+
// mustUseProperty
|
|
1438
|
+
e,
|
|
1439
|
+
"http://www.w3.org/1999/xlink",
|
|
1440
|
+
!1,
|
|
1441
|
+
// sanitizeURL
|
|
1442
|
+
!1
|
|
1443
|
+
// removeEmptyString
|
|
1444
|
+
);
|
|
1445
|
+
});
|
|
1446
|
+
[
|
|
1447
|
+
"xml:base",
|
|
1448
|
+
"xml:lang",
|
|
1449
|
+
"xml:space"
|
|
1450
|
+
// NOTE: if you add a camelCased prop to this list,
|
|
1451
|
+
// you'll need to set attributeName to name.toLowerCase()
|
|
1452
|
+
// instead in the assignment below.
|
|
1453
|
+
].forEach((e) => {
|
|
1454
|
+
const t = e.replace(Pt, Ft);
|
|
1455
|
+
w[t] = new P(
|
|
1456
|
+
t,
|
|
1457
|
+
J,
|
|
1458
|
+
!1,
|
|
1459
|
+
// mustUseProperty
|
|
1460
|
+
e,
|
|
1461
|
+
"http://www.w3.org/XML/1998/namespace",
|
|
1462
|
+
!1,
|
|
1463
|
+
// sanitizeURL
|
|
1464
|
+
!1
|
|
1465
|
+
// removeEmptyString
|
|
1466
|
+
);
|
|
1467
|
+
});
|
|
1468
|
+
["tabIndex", "crossOrigin"].forEach((e) => {
|
|
1469
|
+
w[e] = new P(
|
|
1470
|
+
e,
|
|
1471
|
+
J,
|
|
1472
|
+
!1,
|
|
1473
|
+
// mustUseProperty
|
|
1474
|
+
e.toLowerCase(),
|
|
1475
|
+
// attributeName
|
|
1476
|
+
null,
|
|
1477
|
+
// attributeNamespace
|
|
1478
|
+
!1,
|
|
1479
|
+
// sanitizeURL
|
|
1480
|
+
!1
|
|
1481
|
+
// removeEmptyString
|
|
1482
|
+
);
|
|
1483
|
+
});
|
|
1484
|
+
const Qr = "xlinkHref";
|
|
1485
|
+
w[Qr] = new P(
|
|
1486
|
+
"xlinkHref",
|
|
1487
|
+
J,
|
|
1488
|
+
!1,
|
|
1489
|
+
// mustUseProperty
|
|
1490
|
+
"xlink:href",
|
|
1491
|
+
"http://www.w3.org/1999/xlink",
|
|
1492
|
+
!0,
|
|
1493
|
+
// sanitizeURL
|
|
1494
|
+
!1
|
|
1495
|
+
// removeEmptyString
|
|
1496
|
+
);
|
|
1497
|
+
["src", "href", "action", "formAction"].forEach((e) => {
|
|
1498
|
+
w[e] = new P(
|
|
1499
|
+
e,
|
|
1500
|
+
J,
|
|
1501
|
+
!1,
|
|
1502
|
+
// mustUseProperty
|
|
1503
|
+
e.toLowerCase(),
|
|
1504
|
+
// attributeName
|
|
1505
|
+
null,
|
|
1506
|
+
// attributeNamespace
|
|
1507
|
+
!0,
|
|
1508
|
+
// sanitizeURL
|
|
1509
|
+
!0
|
|
1510
|
+
// removeEmptyString
|
|
1511
|
+
);
|
|
1512
|
+
});
|
|
1513
|
+
const {
|
|
1514
|
+
CAMELCASE: ei,
|
|
1515
|
+
SAME: ti,
|
|
1516
|
+
possibleStandardNames: yn
|
|
1517
|
+
} = Je, ni = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD", ri = ni + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", ii = RegExp.prototype.test.bind(
|
|
1518
|
+
// eslint-disable-next-line no-misleading-character-class
|
|
1519
|
+
new RegExp("^(data|aria)-[" + ri + "]*$")
|
|
1520
|
+
), oi = Object.keys(
|
|
1521
|
+
yn
|
|
1522
|
+
).reduce((e, t) => {
|
|
1523
|
+
const r = yn[t];
|
|
1524
|
+
return r === ti ? e[t] = t : r === ei ? e[t.toLowerCase()] = t : e[t] = r, e;
|
|
1525
|
+
}, {});
|
|
1526
|
+
j.BOOLEAN = et;
|
|
1527
|
+
j.BOOLEANISH_STRING = Qe;
|
|
1528
|
+
j.NUMERIC = nr;
|
|
1529
|
+
j.OVERLOADED_BOOLEAN = Dt;
|
|
1530
|
+
j.POSITIVE_NUMERIC = rr;
|
|
1531
|
+
j.RESERVED = tr;
|
|
1532
|
+
j.STRING = J;
|
|
1533
|
+
j.getPropertyInfo = Kr;
|
|
1534
|
+
j.isCustomAttribute = ii;
|
|
1535
|
+
j.possibleStandardNames = oi;
|
|
1536
|
+
var Ut = {}, Ht = {}, An = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, ai = /\n/g, si = /^\s*/, li = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, ci = /^:\s*/, ui = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, fi = /^[;\s]*/, di = /^\s+|\s+$/g, pi = `
|
|
1537
|
+
`, Sn = "/", bn = "*", re = "", mi = "comment", hi = "declaration", gi = function(e, t) {
|
|
1538
|
+
if (typeof e != "string")
|
|
1539
|
+
throw new TypeError("First argument must be a string");
|
|
1540
|
+
if (!e) return [];
|
|
1541
|
+
t = t || {};
|
|
1542
|
+
var r = 1, i = 1;
|
|
1543
|
+
function o(p) {
|
|
1544
|
+
var d = p.match(ai);
|
|
1545
|
+
d && (r += d.length);
|
|
1546
|
+
var A = p.lastIndexOf(pi);
|
|
1547
|
+
i = ~A ? p.length - A : i + p.length;
|
|
1548
|
+
}
|
|
1549
|
+
function s() {
|
|
1550
|
+
var p = { line: r, column: i };
|
|
1551
|
+
return function(d) {
|
|
1552
|
+
return d.position = new u(p), T(), d;
|
|
1553
|
+
};
|
|
1554
|
+
}
|
|
1555
|
+
function u(p) {
|
|
1556
|
+
this.start = p, this.end = { line: r, column: i }, this.source = t.source;
|
|
1557
|
+
}
|
|
1558
|
+
u.prototype.content = e;
|
|
1559
|
+
function m(p) {
|
|
1560
|
+
var d = new Error(
|
|
1561
|
+
t.source + ":" + r + ":" + i + ": " + p
|
|
1562
|
+
);
|
|
1563
|
+
if (d.reason = p, d.filename = t.source, d.line = r, d.column = i, d.source = e, !t.silent) throw d;
|
|
1564
|
+
}
|
|
1565
|
+
function g(p) {
|
|
1566
|
+
var d = p.exec(e);
|
|
1567
|
+
if (d) {
|
|
1568
|
+
var A = d[0];
|
|
1569
|
+
return o(A), e = e.slice(A.length), d;
|
|
1570
|
+
}
|
|
1571
|
+
}
|
|
1572
|
+
function T() {
|
|
1573
|
+
g(si);
|
|
1574
|
+
}
|
|
1575
|
+
function f(p) {
|
|
1576
|
+
var d;
|
|
1577
|
+
for (p = p || []; d = h(); )
|
|
1578
|
+
d !== !1 && p.push(d);
|
|
1579
|
+
return p;
|
|
1580
|
+
}
|
|
1581
|
+
function h() {
|
|
1582
|
+
var p = s();
|
|
1583
|
+
if (!(Sn != e.charAt(0) || bn != e.charAt(1))) {
|
|
1584
|
+
for (var d = 2; re != e.charAt(d) && (bn != e.charAt(d) || Sn != e.charAt(d + 1)); )
|
|
1585
|
+
++d;
|
|
1586
|
+
if (d += 2, re === e.charAt(d - 1))
|
|
1587
|
+
return m("End of comment missing");
|
|
1588
|
+
var A = e.slice(2, d - 2);
|
|
1589
|
+
return i += 2, o(A), e = e.slice(d), i += 2, p({
|
|
1590
|
+
type: mi,
|
|
1591
|
+
comment: A
|
|
1592
|
+
});
|
|
1593
|
+
}
|
|
1594
|
+
}
|
|
1595
|
+
function x() {
|
|
1596
|
+
var p = s(), d = g(li);
|
|
1597
|
+
if (d) {
|
|
1598
|
+
if (h(), !g(ci)) return m("property missing ':'");
|
|
1599
|
+
var A = g(ui), ie = p({
|
|
1600
|
+
type: hi,
|
|
1601
|
+
property: Cn(d[0].replace(An, re)),
|
|
1602
|
+
value: A ? Cn(A[0].replace(An, re)) : re
|
|
1603
|
+
});
|
|
1604
|
+
return g(fi), ie;
|
|
1605
|
+
}
|
|
1606
|
+
}
|
|
1607
|
+
function F() {
|
|
1608
|
+
var p = [];
|
|
1609
|
+
f(p);
|
|
1610
|
+
for (var d; d = x(); )
|
|
1611
|
+
d !== !1 && (p.push(d), f(p));
|
|
1612
|
+
return p;
|
|
1613
|
+
}
|
|
1614
|
+
return T(), F();
|
|
1615
|
+
};
|
|
1616
|
+
function Cn(e) {
|
|
1617
|
+
return e ? e.replace(di, re) : re;
|
|
1618
|
+
}
|
|
1619
|
+
var Ei = z && z.__importDefault || function(e) {
|
|
1620
|
+
return e && e.__esModule ? e : { default: e };
|
|
1621
|
+
};
|
|
1622
|
+
Object.defineProperty(Ht, "__esModule", { value: !0 });
|
|
1623
|
+
Ht.default = _i;
|
|
1624
|
+
var Ti = Ei(gi);
|
|
1625
|
+
function _i(e, t) {
|
|
1626
|
+
var r = null;
|
|
1627
|
+
if (!e || typeof e != "string")
|
|
1628
|
+
return r;
|
|
1629
|
+
var i = (0, Ti.default)(e), o = typeof t == "function";
|
|
1630
|
+
return i.forEach(function(s) {
|
|
1631
|
+
if (s.type === "declaration") {
|
|
1632
|
+
var u = s.property, m = s.value;
|
|
1633
|
+
o ? t(u, m, s) : m && (r = r || {}, r[u] = m);
|
|
1634
|
+
}
|
|
1635
|
+
}), r;
|
|
1636
|
+
}
|
|
1637
|
+
var tt = {};
|
|
1638
|
+
Object.defineProperty(tt, "__esModule", { value: !0 });
|
|
1639
|
+
tt.camelCase = void 0;
|
|
1640
|
+
var vi = /^--[a-zA-Z0-9_-]+$/, yi = /-([a-z])/g, Ai = /^[^-]+$/, Si = /^-(webkit|moz|ms|o|khtml)-/, bi = /^-(ms)-/, Ci = function(e) {
|
|
1641
|
+
return !e || Ai.test(e) || vi.test(e);
|
|
1642
|
+
}, Ri = function(e, t) {
|
|
1643
|
+
return t.toUpperCase();
|
|
1644
|
+
}, Rn = function(e, t) {
|
|
1645
|
+
return "".concat(t, "-");
|
|
1646
|
+
}, Oi = function(e, t) {
|
|
1647
|
+
return t === void 0 && (t = {}), Ci(e) ? e : (e = e.toLowerCase(), t.reactCompat ? e = e.replace(bi, Rn) : e = e.replace(Si, Rn), e.replace(yi, Ri));
|
|
1648
|
+
};
|
|
1649
|
+
tt.camelCase = Oi;
|
|
1650
|
+
var wi = z && z.__importDefault || function(e) {
|
|
1651
|
+
return e && e.__esModule ? e : { default: e };
|
|
1652
|
+
}, xi = wi(Ht), ki = tt;
|
|
1653
|
+
function At(e, t) {
|
|
1654
|
+
var r = {};
|
|
1655
|
+
return !e || typeof e != "string" || (0, xi.default)(e, function(i, o) {
|
|
1656
|
+
i && o && (r[(0, ki.camelCase)(i, t)] = o);
|
|
1657
|
+
}), r;
|
|
1658
|
+
}
|
|
1659
|
+
At.default = At;
|
|
1660
|
+
var Ii = At;
|
|
1661
|
+
(function(e) {
|
|
1662
|
+
var t = z && z.__importDefault || function(f) {
|
|
1663
|
+
return f && f.__esModule ? f : { default: f };
|
|
1664
|
+
};
|
|
1665
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.returnFirstArg = e.canTextBeChildOfNode = e.ELEMENTS_WITH_NO_TEXT_CHILDREN = e.PRESERVE_CUSTOM_ATTRIBUTES = void 0, e.isCustomComponent = s, e.setStyleProp = m;
|
|
1666
|
+
var r = Bn, i = t(Ii), o = /* @__PURE__ */ new Set([
|
|
1667
|
+
"annotation-xml",
|
|
1668
|
+
"color-profile",
|
|
1669
|
+
"font-face",
|
|
1670
|
+
"font-face-src",
|
|
1671
|
+
"font-face-uri",
|
|
1672
|
+
"font-face-format",
|
|
1673
|
+
"font-face-name",
|
|
1674
|
+
"missing-glyph"
|
|
1675
|
+
]);
|
|
1676
|
+
function s(f, h) {
|
|
1677
|
+
return f.includes("-") ? !o.has(f) : !!(h && typeof h.is == "string");
|
|
1678
|
+
}
|
|
1679
|
+
var u = {
|
|
1680
|
+
reactCompat: !0
|
|
1681
|
+
};
|
|
1682
|
+
function m(f, h) {
|
|
1683
|
+
if (typeof f == "string") {
|
|
1684
|
+
if (!f.trim()) {
|
|
1685
|
+
h.style = {};
|
|
1686
|
+
return;
|
|
1687
|
+
}
|
|
1688
|
+
try {
|
|
1689
|
+
h.style = (0, i.default)(f, u);
|
|
1690
|
+
} catch {
|
|
1691
|
+
h.style = {};
|
|
1692
|
+
}
|
|
1693
|
+
}
|
|
1694
|
+
}
|
|
1695
|
+
e.PRESERVE_CUSTOM_ATTRIBUTES = Number(r.version.split(".")[0]) >= 16, e.ELEMENTS_WITH_NO_TEXT_CHILDREN = /* @__PURE__ */ new Set([
|
|
1696
|
+
"tr",
|
|
1697
|
+
"tbody",
|
|
1698
|
+
"thead",
|
|
1699
|
+
"tfoot",
|
|
1700
|
+
"colgroup",
|
|
1701
|
+
"table",
|
|
1702
|
+
"head",
|
|
1703
|
+
"html",
|
|
1704
|
+
"frameset"
|
|
1705
|
+
]);
|
|
1706
|
+
var g = function(f) {
|
|
1707
|
+
return !e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(f.name);
|
|
1708
|
+
};
|
|
1709
|
+
e.canTextBeChildOfNode = g;
|
|
1710
|
+
var T = function(f) {
|
|
1711
|
+
return f;
|
|
1712
|
+
};
|
|
1713
|
+
e.returnFirstArg = T;
|
|
1714
|
+
})(Ut);
|
|
1715
|
+
Object.defineProperty(Ke, "__esModule", { value: !0 });
|
|
1716
|
+
Ke.default = Di;
|
|
1717
|
+
var be = j, On = Ut, Ni = ["checked", "value"], Mi = ["input", "select", "textarea"], Li = {
|
|
1718
|
+
reset: !0,
|
|
1719
|
+
submit: !0
|
|
1720
|
+
};
|
|
1721
|
+
function Di(e, t) {
|
|
1722
|
+
e === void 0 && (e = {});
|
|
1723
|
+
var r = {}, i = !!(e.type && Li[e.type]);
|
|
1724
|
+
for (var o in e) {
|
|
1725
|
+
var s = e[o];
|
|
1726
|
+
if ((0, be.isCustomAttribute)(o)) {
|
|
1727
|
+
r[o] = s;
|
|
1728
|
+
continue;
|
|
1729
|
+
}
|
|
1730
|
+
var u = o.toLowerCase(), m = wn(u);
|
|
1731
|
+
if (m) {
|
|
1732
|
+
var g = (0, be.getPropertyInfo)(m);
|
|
1733
|
+
switch (Ni.includes(m) && Mi.includes(t) && !i && (m = wn("default" + u)), r[m] = s, g && g.type) {
|
|
1734
|
+
case be.BOOLEAN:
|
|
1735
|
+
r[m] = !0;
|
|
1736
|
+
break;
|
|
1737
|
+
case be.OVERLOADED_BOOLEAN:
|
|
1738
|
+
s === "" && (r[m] = !0);
|
|
1739
|
+
break;
|
|
1740
|
+
}
|
|
1741
|
+
continue;
|
|
1742
|
+
}
|
|
1743
|
+
On.PRESERVE_CUSTOM_ATTRIBUTES && (r[o] = s);
|
|
1744
|
+
}
|
|
1745
|
+
return (0, On.setStyleProp)(e.style, r), r;
|
|
1746
|
+
}
|
|
1747
|
+
function wn(e) {
|
|
1748
|
+
return be.possibleStandardNames[e];
|
|
1749
|
+
}
|
|
1750
|
+
var Gt = {}, Pi = z && z.__importDefault || function(e) {
|
|
1751
|
+
return e && e.__esModule ? e : { default: e };
|
|
1752
|
+
};
|
|
1753
|
+
Object.defineProperty(Gt, "__esModule", { value: !0 });
|
|
1754
|
+
Gt.default = ir;
|
|
1755
|
+
var pt = Bn, Fi = Pi(Ke), Ce = Ut, Ui = {
|
|
1756
|
+
cloneElement: pt.cloneElement,
|
|
1757
|
+
createElement: pt.createElement,
|
|
1758
|
+
isValidElement: pt.isValidElement
|
|
1759
|
+
};
|
|
1760
|
+
function ir(e, t) {
|
|
1761
|
+
t === void 0 && (t = {});
|
|
1762
|
+
for (var r = [], i = typeof t.replace == "function", o = t.transform || Ce.returnFirstArg, s = t.library || Ui, u = s.cloneElement, m = s.createElement, g = s.isValidElement, T = e.length, f = 0; f < T; f++) {
|
|
1763
|
+
var h = e[f];
|
|
1764
|
+
if (i) {
|
|
1765
|
+
var x = t.replace(h, f);
|
|
1766
|
+
if (g(x)) {
|
|
1767
|
+
T > 1 && (x = u(x, {
|
|
1768
|
+
key: x.key || f
|
|
1769
|
+
})), r.push(o(x, h, f));
|
|
1770
|
+
continue;
|
|
1771
|
+
}
|
|
1772
|
+
}
|
|
1773
|
+
if (h.type === "text") {
|
|
1774
|
+
var F = !h.data.trim().length;
|
|
1775
|
+
if (F && h.parent && !(0, Ce.canTextBeChildOfNode)(h.parent) || t.trim && F)
|
|
1776
|
+
continue;
|
|
1777
|
+
r.push(o(h.data, h, f));
|
|
1778
|
+
continue;
|
|
1779
|
+
}
|
|
1780
|
+
var p = h, d = {};
|
|
1781
|
+
Hi(p) ? ((0, Ce.setStyleProp)(p.attribs.style, p.attribs), d = p.attribs) : p.attribs && (d = (0, Fi.default)(p.attribs, p.name));
|
|
1782
|
+
var A = void 0;
|
|
1783
|
+
switch (h.type) {
|
|
1784
|
+
case "script":
|
|
1785
|
+
case "style":
|
|
1786
|
+
h.children[0] && (d.dangerouslySetInnerHTML = {
|
|
1787
|
+
__html: h.children[0].data
|
|
1788
|
+
});
|
|
1789
|
+
break;
|
|
1790
|
+
case "tag":
|
|
1791
|
+
h.name === "textarea" && h.children[0] ? d.defaultValue = h.children[0].data : h.children && h.children.length && (A = ir(h.children, t));
|
|
1792
|
+
break;
|
|
1793
|
+
default:
|
|
1794
|
+
continue;
|
|
1795
|
+
}
|
|
1796
|
+
T > 1 && (d.key = f), r.push(o(m(h.name, d, A), h, f));
|
|
1797
|
+
}
|
|
1798
|
+
return r.length === 1 ? r[0] : r;
|
|
1799
|
+
}
|
|
1800
|
+
function Hi(e) {
|
|
1801
|
+
return Ce.PRESERVE_CUSTOM_ATTRIBUTES && e.type === "tag" && (0, Ce.isCustomComponent)(e.name, e.attribs);
|
|
1802
|
+
}
|
|
1803
|
+
(function(e) {
|
|
1804
|
+
var t = z && z.__importDefault || function(g) {
|
|
1805
|
+
return g && g.__esModule ? g : { default: g };
|
|
1806
|
+
};
|
|
1807
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.htmlToDOM = e.domToReact = e.attributesToProps = e.Text = e.ProcessingInstruction = e.Element = e.Comment = void 0, e.default = m;
|
|
1808
|
+
var r = t(Mt);
|
|
1809
|
+
e.htmlToDOM = r.default;
|
|
1810
|
+
var i = t(Ke);
|
|
1811
|
+
e.attributesToProps = i.default;
|
|
1812
|
+
var o = t(Gt);
|
|
1813
|
+
e.domToReact = o.default;
|
|
1814
|
+
var s = Kn;
|
|
1815
|
+
Object.defineProperty(e, "Comment", { enumerable: !0, get: function() {
|
|
1816
|
+
return s.Comment;
|
|
1817
|
+
} }), Object.defineProperty(e, "Element", { enumerable: !0, get: function() {
|
|
1818
|
+
return s.Element;
|
|
1819
|
+
} }), Object.defineProperty(e, "ProcessingInstruction", { enumerable: !0, get: function() {
|
|
1820
|
+
return s.ProcessingInstruction;
|
|
1821
|
+
} }), Object.defineProperty(e, "Text", { enumerable: !0, get: function() {
|
|
1822
|
+
return s.Text;
|
|
1823
|
+
} });
|
|
1824
|
+
var u = { lowerCaseAttributeNames: !1 };
|
|
1825
|
+
function m(g, T) {
|
|
1826
|
+
if (typeof g != "string")
|
|
1827
|
+
throw new TypeError("First argument must be a string");
|
|
1828
|
+
return g ? (0, o.default)((0, r.default)(g, (T == null ? void 0 : T.htmlparser2) || u), T) : [];
|
|
1829
|
+
}
|
|
1830
|
+
})(Zn);
|
|
1831
|
+
const xn = /* @__PURE__ */ xr(Zn), ia = xn.default || xn;
|
|
1832
|
+
/*! @license DOMPurify 3.2.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.2.1/LICENSE */
|
|
1833
|
+
const {
|
|
1834
|
+
entries: or,
|
|
1835
|
+
setPrototypeOf: kn,
|
|
1836
|
+
isFrozen: Gi,
|
|
1837
|
+
getPrototypeOf: zi,
|
|
1838
|
+
getOwnPropertyDescriptor: Bi
|
|
1839
|
+
} = Object;
|
|
1840
|
+
let {
|
|
1841
|
+
freeze: D,
|
|
1842
|
+
seal: B,
|
|
1843
|
+
create: ar
|
|
1844
|
+
} = Object, {
|
|
1845
|
+
apply: St,
|
|
1846
|
+
construct: bt
|
|
1847
|
+
} = typeof Reflect < "u" && Reflect;
|
|
1848
|
+
D || (D = function(t) {
|
|
1849
|
+
return t;
|
|
1850
|
+
});
|
|
1851
|
+
B || (B = function(t) {
|
|
1852
|
+
return t;
|
|
1853
|
+
});
|
|
1854
|
+
St || (St = function(t, r, i) {
|
|
1855
|
+
return t.apply(r, i);
|
|
1856
|
+
});
|
|
1857
|
+
bt || (bt = function(t, r) {
|
|
1858
|
+
return new t(...r);
|
|
1859
|
+
});
|
|
1860
|
+
const ze = H(Array.prototype.forEach), In = H(Array.prototype.pop), _e = H(Array.prototype.push), We = H(String.prototype.toLowerCase), mt = H(String.prototype.toString), Nn = H(String.prototype.match), ve = H(String.prototype.replace), Wi = H(String.prototype.indexOf), ji = H(String.prototype.trim), W = H(Object.prototype.hasOwnProperty), M = H(RegExp.prototype.test), ye = Vi(TypeError);
|
|
1861
|
+
function H(e) {
|
|
1862
|
+
return function(t) {
|
|
1863
|
+
for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
|
|
1864
|
+
i[o - 1] = arguments[o];
|
|
1865
|
+
return St(e, t, i);
|
|
1866
|
+
};
|
|
1867
|
+
}
|
|
1868
|
+
function Vi(e) {
|
|
1869
|
+
return function() {
|
|
1870
|
+
for (var t = arguments.length, r = new Array(t), i = 0; i < t; i++)
|
|
1871
|
+
r[i] = arguments[i];
|
|
1872
|
+
return bt(e, r);
|
|
1873
|
+
};
|
|
1874
|
+
}
|
|
1875
|
+
function E(e, t) {
|
|
1876
|
+
let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : We;
|
|
1877
|
+
kn && kn(e, null);
|
|
1878
|
+
let i = t.length;
|
|
1879
|
+
for (; i--; ) {
|
|
1880
|
+
let o = t[i];
|
|
1881
|
+
if (typeof o == "string") {
|
|
1882
|
+
const s = r(o);
|
|
1883
|
+
s !== o && (Gi(t) || (t[i] = s), o = s);
|
|
1884
|
+
}
|
|
1885
|
+
e[o] = !0;
|
|
1886
|
+
}
|
|
1887
|
+
return e;
|
|
1888
|
+
}
|
|
1889
|
+
function Xi(e) {
|
|
1890
|
+
for (let t = 0; t < e.length; t++)
|
|
1891
|
+
W(e, t) || (e[t] = null);
|
|
1892
|
+
return e;
|
|
1893
|
+
}
|
|
1894
|
+
function ne(e) {
|
|
1895
|
+
const t = ar(null);
|
|
1896
|
+
for (const [r, i] of or(e))
|
|
1897
|
+
W(e, r) && (Array.isArray(i) ? t[r] = Xi(i) : i && typeof i == "object" && i.constructor === Object ? t[r] = ne(i) : t[r] = i);
|
|
1898
|
+
return t;
|
|
1899
|
+
}
|
|
1900
|
+
function Ae(e, t) {
|
|
1901
|
+
for (; e !== null; ) {
|
|
1902
|
+
const i = Bi(e, t);
|
|
1903
|
+
if (i) {
|
|
1904
|
+
if (i.get)
|
|
1905
|
+
return H(i.get);
|
|
1906
|
+
if (typeof i.value == "function")
|
|
1907
|
+
return H(i.value);
|
|
1908
|
+
}
|
|
1909
|
+
e = zi(e);
|
|
1910
|
+
}
|
|
1911
|
+
function r() {
|
|
1912
|
+
return null;
|
|
1913
|
+
}
|
|
1914
|
+
return r;
|
|
1915
|
+
}
|
|
1916
|
+
const Mn = D(["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"]), ht = D(["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"]), gt = D(["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"]), $i = D(["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"]), Et = D(["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"]), Yi = D(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Ln = D(["#text"]), Dn = D(["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"]), Tt = D(["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"]), Pn = D(["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"]), Be = D(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), qi = B(/\{\{[\w\W]*|[\w\W]*\}\}/gm), Zi = B(/<%[\w\W]*|[\w\W]*%>/gm), Ki = B(/\${[\w\W]*}/gm), Ji = B(/^data-[\-\w.\u00B7-\uFFFF]/), Qi = B(/^aria-[\-\w]+$/), sr = B(
|
|
1917
|
+
/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
|
|
1918
|
+
// eslint-disable-line no-useless-escape
|
|
1919
|
+
), eo = B(/^(?:\w+script|data):/i), to = B(
|
|
1920
|
+
/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
|
|
1921
|
+
// eslint-disable-line no-control-regex
|
|
1922
|
+
), lr = B(/^html$/i), no = B(/^[a-z][.\w]*(-[.\w]+)+$/i);
|
|
1923
|
+
var Fn = /* @__PURE__ */ Object.freeze({
|
|
1924
|
+
__proto__: null,
|
|
1925
|
+
ARIA_ATTR: Qi,
|
|
1926
|
+
ATTR_WHITESPACE: to,
|
|
1927
|
+
CUSTOM_ELEMENT: no,
|
|
1928
|
+
DATA_ATTR: Ji,
|
|
1929
|
+
DOCTYPE_NAME: lr,
|
|
1930
|
+
ERB_EXPR: Zi,
|
|
1931
|
+
IS_ALLOWED_URI: sr,
|
|
1932
|
+
IS_SCRIPT_OR_DATA: eo,
|
|
1933
|
+
MUSTACHE_EXPR: qi,
|
|
1934
|
+
TMPLIT_EXPR: Ki
|
|
1935
|
+
});
|
|
1936
|
+
const Se = {
|
|
1937
|
+
element: 1,
|
|
1938
|
+
attribute: 2,
|
|
1939
|
+
text: 3,
|
|
1940
|
+
cdataSection: 4,
|
|
1941
|
+
entityReference: 5,
|
|
1942
|
+
// Deprecated
|
|
1943
|
+
entityNode: 6,
|
|
1944
|
+
// Deprecated
|
|
1945
|
+
progressingInstruction: 7,
|
|
1946
|
+
comment: 8,
|
|
1947
|
+
document: 9,
|
|
1948
|
+
documentType: 10,
|
|
1949
|
+
documentFragment: 11,
|
|
1950
|
+
notation: 12
|
|
1951
|
+
// Deprecated
|
|
1952
|
+
}, ro = function() {
|
|
1953
|
+
return typeof window > "u" ? null : window;
|
|
1954
|
+
}, io = function(t, r) {
|
|
1955
|
+
if (typeof t != "object" || typeof t.createPolicy != "function")
|
|
1956
|
+
return null;
|
|
1957
|
+
let i = null;
|
|
1958
|
+
const o = "data-tt-policy-suffix";
|
|
1959
|
+
r && r.hasAttribute(o) && (i = r.getAttribute(o));
|
|
1960
|
+
const s = "dompurify" + (i ? "#" + i : "");
|
|
1961
|
+
try {
|
|
1962
|
+
return t.createPolicy(s, {
|
|
1963
|
+
createHTML(u) {
|
|
1964
|
+
return u;
|
|
1965
|
+
},
|
|
1966
|
+
createScriptURL(u) {
|
|
1967
|
+
return u;
|
|
1968
|
+
}
|
|
1969
|
+
});
|
|
1970
|
+
} catch {
|
|
1971
|
+
return console.warn("TrustedTypes policy " + s + " could not be created."), null;
|
|
1972
|
+
}
|
|
1973
|
+
};
|
|
1974
|
+
function cr() {
|
|
1975
|
+
let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ro();
|
|
1976
|
+
const t = (c) => cr(c);
|
|
1977
|
+
if (t.version = "3.2.1", t.removed = [], !e || !e.document || e.document.nodeType !== Se.document)
|
|
1978
|
+
return t.isSupported = !1, t;
|
|
1979
|
+
let {
|
|
1980
|
+
document: r
|
|
1981
|
+
} = e;
|
|
1982
|
+
const i = r, o = i.currentScript, {
|
|
1983
|
+
DocumentFragment: s,
|
|
1984
|
+
HTMLTemplateElement: u,
|
|
1985
|
+
Node: m,
|
|
1986
|
+
Element: g,
|
|
1987
|
+
NodeFilter: T,
|
|
1988
|
+
NamedNodeMap: f = e.NamedNodeMap || e.MozNamedAttrMap,
|
|
1989
|
+
HTMLFormElement: h,
|
|
1990
|
+
DOMParser: x,
|
|
1991
|
+
trustedTypes: F
|
|
1992
|
+
} = e, p = g.prototype, d = Ae(p, "cloneNode"), A = Ae(p, "remove"), ie = Ae(p, "nextSibling"), Q = Ae(p, "childNodes"), G = Ae(p, "parentNode");
|
|
1993
|
+
if (typeof u == "function") {
|
|
1994
|
+
const c = r.createElement("template");
|
|
1995
|
+
c.content && c.content.ownerDocument && (r = c.content.ownerDocument);
|
|
1996
|
+
}
|
|
1997
|
+
let v, $ = "";
|
|
1998
|
+
const {
|
|
1999
|
+
implementation: ee,
|
|
2000
|
+
createNodeIterator: Y,
|
|
2001
|
+
createDocumentFragment: q,
|
|
2002
|
+
getElementsByTagName: Re
|
|
2003
|
+
} = r, {
|
|
2004
|
+
importNode: Oe
|
|
2005
|
+
} = i;
|
|
2006
|
+
let k = {};
|
|
2007
|
+
t.isSupported = typeof or == "function" && typeof G == "function" && ee && ee.createHTMLDocument !== void 0;
|
|
2008
|
+
const {
|
|
2009
|
+
MUSTACHE_EXPR: pe,
|
|
2010
|
+
ERB_EXPR: me,
|
|
2011
|
+
TMPLIT_EXPR: oe,
|
|
2012
|
+
DATA_ATTR: fr,
|
|
2013
|
+
ARIA_ATTR: dr,
|
|
2014
|
+
IS_SCRIPT_OR_DATA: pr,
|
|
2015
|
+
ATTR_WHITESPACE: zt,
|
|
2016
|
+
CUSTOM_ELEMENT: mr
|
|
2017
|
+
} = Fn;
|
|
2018
|
+
let {
|
|
2019
|
+
IS_ALLOWED_URI: Bt
|
|
2020
|
+
} = Fn, b = null;
|
|
2021
|
+
const Wt = E({}, [...Mn, ...ht, ...gt, ...Et, ...Ln]);
|
|
2022
|
+
let C = null;
|
|
2023
|
+
const jt = E({}, [...Dn, ...Tt, ...Pn, ...Be]);
|
|
2024
|
+
let S = Object.seal(ar(null, {
|
|
2025
|
+
tagNameCheck: {
|
|
2026
|
+
writable: !0,
|
|
2027
|
+
configurable: !1,
|
|
2028
|
+
enumerable: !0,
|
|
2029
|
+
value: null
|
|
2030
|
+
},
|
|
2031
|
+
attributeNameCheck: {
|
|
2032
|
+
writable: !0,
|
|
2033
|
+
configurable: !1,
|
|
2034
|
+
enumerable: !0,
|
|
2035
|
+
value: null
|
|
2036
|
+
},
|
|
2037
|
+
allowCustomizedBuiltInElements: {
|
|
2038
|
+
writable: !0,
|
|
2039
|
+
configurable: !1,
|
|
2040
|
+
enumerable: !0,
|
|
2041
|
+
value: !1
|
|
2042
|
+
}
|
|
2043
|
+
})), he = null, nt = null, Vt = !0, rt = !0, Xt = !1, $t = !0, ae = !1, it = !0, te = !1, ot = !1, at = !1, se = !1, we = !1, xe = !1, Yt = !0, qt = !1;
|
|
2044
|
+
const hr = "user-content-";
|
|
2045
|
+
let st = !0, ge = !1, le = {}, ce = null;
|
|
2046
|
+
const Zt = E({}, ["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"]);
|
|
2047
|
+
let Kt = null;
|
|
2048
|
+
const Jt = E({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
2049
|
+
let lt = null;
|
|
2050
|
+
const Qt = E({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), ke = "http://www.w3.org/1998/Math/MathML", Ie = "http://www.w3.org/2000/svg", Z = "http://www.w3.org/1999/xhtml";
|
|
2051
|
+
let ue = Z, ct = !1, ut = null;
|
|
2052
|
+
const gr = E({}, [ke, Ie, Z], mt);
|
|
2053
|
+
let Ne = E({}, ["mi", "mo", "mn", "ms", "mtext"]), Me = E({}, ["annotation-xml"]);
|
|
2054
|
+
const Er = E({}, ["title", "style", "font", "a", "script"]);
|
|
2055
|
+
let Ee = null;
|
|
2056
|
+
const Tr = ["application/xhtml+xml", "text/html"], _r = "text/html";
|
|
2057
|
+
let R = null, fe = null;
|
|
2058
|
+
const vr = r.createElement("form"), en = function(n) {
|
|
2059
|
+
return n instanceof RegExp || n instanceof Function;
|
|
2060
|
+
}, ft = function() {
|
|
2061
|
+
let n = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2062
|
+
if (!(fe && fe === n)) {
|
|
2063
|
+
if ((!n || typeof n != "object") && (n = {}), n = ne(n), Ee = // eslint-disable-next-line unicorn/prefer-includes
|
|
2064
|
+
Tr.indexOf(n.PARSER_MEDIA_TYPE) === -1 ? _r : n.PARSER_MEDIA_TYPE, R = Ee === "application/xhtml+xml" ? mt : We, b = W(n, "ALLOWED_TAGS") ? E({}, n.ALLOWED_TAGS, R) : Wt, C = W(n, "ALLOWED_ATTR") ? E({}, n.ALLOWED_ATTR, R) : jt, ut = W(n, "ALLOWED_NAMESPACES") ? E({}, n.ALLOWED_NAMESPACES, mt) : gr, lt = W(n, "ADD_URI_SAFE_ATTR") ? E(ne(Qt), n.ADD_URI_SAFE_ATTR, R) : Qt, Kt = W(n, "ADD_DATA_URI_TAGS") ? E(ne(Jt), n.ADD_DATA_URI_TAGS, R) : Jt, ce = W(n, "FORBID_CONTENTS") ? E({}, n.FORBID_CONTENTS, R) : Zt, he = W(n, "FORBID_TAGS") ? E({}, n.FORBID_TAGS, R) : {}, nt = W(n, "FORBID_ATTR") ? E({}, n.FORBID_ATTR, R) : {}, le = W(n, "USE_PROFILES") ? n.USE_PROFILES : !1, Vt = n.ALLOW_ARIA_ATTR !== !1, rt = n.ALLOW_DATA_ATTR !== !1, Xt = n.ALLOW_UNKNOWN_PROTOCOLS || !1, $t = n.ALLOW_SELF_CLOSE_IN_ATTR !== !1, ae = n.SAFE_FOR_TEMPLATES || !1, it = n.SAFE_FOR_XML !== !1, te = n.WHOLE_DOCUMENT || !1, se = n.RETURN_DOM || !1, we = n.RETURN_DOM_FRAGMENT || !1, xe = n.RETURN_TRUSTED_TYPE || !1, at = n.FORCE_BODY || !1, Yt = n.SANITIZE_DOM !== !1, qt = n.SANITIZE_NAMED_PROPS || !1, st = n.KEEP_CONTENT !== !1, ge = n.IN_PLACE || !1, Bt = n.ALLOWED_URI_REGEXP || sr, ue = n.NAMESPACE || Z, Ne = n.MATHML_TEXT_INTEGRATION_POINTS || Ne, Me = n.HTML_INTEGRATION_POINTS || Me, S = n.CUSTOM_ELEMENT_HANDLING || {}, n.CUSTOM_ELEMENT_HANDLING && en(n.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (S.tagNameCheck = n.CUSTOM_ELEMENT_HANDLING.tagNameCheck), n.CUSTOM_ELEMENT_HANDLING && en(n.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (S.attributeNameCheck = n.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), n.CUSTOM_ELEMENT_HANDLING && typeof n.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (S.allowCustomizedBuiltInElements = n.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), ae && (rt = !1), we && (se = !0), le && (b = E({}, Ln), C = [], le.html === !0 && (E(b, Mn), E(C, Dn)), le.svg === !0 && (E(b, ht), E(C, Tt), E(C, Be)), le.svgFilters === !0 && (E(b, gt), E(C, Tt), E(C, Be)), le.mathMl === !0 && (E(b, Et), E(C, Pn), E(C, Be))), n.ADD_TAGS && (b === Wt && (b = ne(b)), E(b, n.ADD_TAGS, R)), n.ADD_ATTR && (C === jt && (C = ne(C)), E(C, n.ADD_ATTR, R)), n.ADD_URI_SAFE_ATTR && E(lt, n.ADD_URI_SAFE_ATTR, R), n.FORBID_CONTENTS && (ce === Zt && (ce = ne(ce)), E(ce, n.FORBID_CONTENTS, R)), st && (b["#text"] = !0), te && E(b, ["html", "head", "body"]), b.table && (E(b, ["tbody"]), delete he.tbody), n.TRUSTED_TYPES_POLICY) {
|
|
2065
|
+
if (typeof n.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
2066
|
+
throw ye('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
2067
|
+
if (typeof n.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
2068
|
+
throw ye('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
|
|
2069
|
+
v = n.TRUSTED_TYPES_POLICY, $ = v.createHTML("");
|
|
2070
|
+
} else
|
|
2071
|
+
v === void 0 && (v = io(F, o)), v !== null && typeof $ == "string" && ($ = v.createHTML(""));
|
|
2072
|
+
D && D(n), fe = n;
|
|
2073
|
+
}
|
|
2074
|
+
}, tn = E({}, [...ht, ...gt, ...$i]), nn = E({}, [...Et, ...Yi]), yr = function(n) {
|
|
2075
|
+
let a = G(n);
|
|
2076
|
+
(!a || !a.tagName) && (a = {
|
|
2077
|
+
namespaceURI: ue,
|
|
2078
|
+
tagName: "template"
|
|
2079
|
+
});
|
|
2080
|
+
const l = We(n.tagName), y = We(a.tagName);
|
|
2081
|
+
return ut[n.namespaceURI] ? n.namespaceURI === Ie ? a.namespaceURI === Z ? l === "svg" : a.namespaceURI === ke ? l === "svg" && (y === "annotation-xml" || Ne[y]) : !!tn[l] : n.namespaceURI === ke ? a.namespaceURI === Z ? l === "math" : a.namespaceURI === Ie ? l === "math" && Me[y] : !!nn[l] : n.namespaceURI === Z ? a.namespaceURI === Ie && !Me[y] || a.namespaceURI === ke && !Ne[y] ? !1 : !nn[l] && (Er[l] || !tn[l]) : !!(Ee === "application/xhtml+xml" && ut[n.namespaceURI]) : !1;
|
|
2082
|
+
}, V = function(n) {
|
|
2083
|
+
_e(t.removed, {
|
|
2084
|
+
element: n
|
|
2085
|
+
});
|
|
2086
|
+
try {
|
|
2087
|
+
G(n).removeChild(n);
|
|
2088
|
+
} catch {
|
|
2089
|
+
A(n);
|
|
2090
|
+
}
|
|
2091
|
+
}, Le = function(n, a) {
|
|
2092
|
+
try {
|
|
2093
|
+
_e(t.removed, {
|
|
2094
|
+
attribute: a.getAttributeNode(n),
|
|
2095
|
+
from: a
|
|
2096
|
+
});
|
|
2097
|
+
} catch {
|
|
2098
|
+
_e(t.removed, {
|
|
2099
|
+
attribute: null,
|
|
2100
|
+
from: a
|
|
2101
|
+
});
|
|
2102
|
+
}
|
|
2103
|
+
if (a.removeAttribute(n), n === "is" && !C[n])
|
|
2104
|
+
if (se || we)
|
|
2105
|
+
try {
|
|
2106
|
+
V(a);
|
|
2107
|
+
} catch {
|
|
2108
|
+
}
|
|
2109
|
+
else
|
|
2110
|
+
try {
|
|
2111
|
+
a.setAttribute(n, "");
|
|
2112
|
+
} catch {
|
|
2113
|
+
}
|
|
2114
|
+
}, rn = function(n) {
|
|
2115
|
+
let a = null, l = null;
|
|
2116
|
+
if (at)
|
|
2117
|
+
n = "<remove></remove>" + n;
|
|
2118
|
+
else {
|
|
2119
|
+
const O = Nn(n, /^[\r\n\t ]+/);
|
|
2120
|
+
l = O && O[0];
|
|
2121
|
+
}
|
|
2122
|
+
Ee === "application/xhtml+xml" && ue === Z && (n = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + n + "</body></html>");
|
|
2123
|
+
const y = v ? v.createHTML(n) : n;
|
|
2124
|
+
if (ue === Z)
|
|
2125
|
+
try {
|
|
2126
|
+
a = new x().parseFromString(y, Ee);
|
|
2127
|
+
} catch {
|
|
2128
|
+
}
|
|
2129
|
+
if (!a || !a.documentElement) {
|
|
2130
|
+
a = ee.createDocument(ue, "template", null);
|
|
2131
|
+
try {
|
|
2132
|
+
a.documentElement.innerHTML = ct ? $ : y;
|
|
2133
|
+
} catch {
|
|
2134
|
+
}
|
|
2135
|
+
}
|
|
2136
|
+
const I = a.body || a.documentElement;
|
|
2137
|
+
return n && l && I.insertBefore(r.createTextNode(l), I.childNodes[0] || null), ue === Z ? Re.call(a, te ? "html" : "body")[0] : te ? a.documentElement : I;
|
|
2138
|
+
}, on = function(n) {
|
|
2139
|
+
return Y.call(
|
|
2140
|
+
n.ownerDocument || n,
|
|
2141
|
+
n,
|
|
2142
|
+
// eslint-disable-next-line no-bitwise
|
|
2143
|
+
T.SHOW_ELEMENT | T.SHOW_COMMENT | T.SHOW_TEXT | T.SHOW_PROCESSING_INSTRUCTION | T.SHOW_CDATA_SECTION,
|
|
2144
|
+
null
|
|
2145
|
+
);
|
|
2146
|
+
}, an = function(n) {
|
|
2147
|
+
return n instanceof h && (typeof n.nodeName != "string" || typeof n.textContent != "string" || typeof n.removeChild != "function" || !(n.attributes instanceof f) || typeof n.removeAttribute != "function" || typeof n.setAttribute != "function" || typeof n.namespaceURI != "string" || typeof n.insertBefore != "function" || typeof n.hasChildNodes != "function");
|
|
2148
|
+
}, sn = function(n) {
|
|
2149
|
+
return typeof m == "function" && n instanceof m;
|
|
2150
|
+
};
|
|
2151
|
+
function K(c, n, a) {
|
|
2152
|
+
k[c] && ze(k[c], (l) => {
|
|
2153
|
+
l.call(t, n, a, fe);
|
|
2154
|
+
});
|
|
2155
|
+
}
|
|
2156
|
+
const ln = function(n) {
|
|
2157
|
+
let a = null;
|
|
2158
|
+
if (K("beforeSanitizeElements", n, null), an(n))
|
|
2159
|
+
return V(n), !0;
|
|
2160
|
+
const l = R(n.nodeName);
|
|
2161
|
+
if (K("uponSanitizeElement", n, {
|
|
2162
|
+
tagName: l,
|
|
2163
|
+
allowedTags: b
|
|
2164
|
+
}), n.hasChildNodes() && !sn(n.firstElementChild) && M(/<[/\w]/g, n.innerHTML) && M(/<[/\w]/g, n.textContent) || n.nodeType === Se.progressingInstruction || it && n.nodeType === Se.comment && M(/<[/\w]/g, n.data))
|
|
2165
|
+
return V(n), !0;
|
|
2166
|
+
if (!b[l] || he[l]) {
|
|
2167
|
+
if (!he[l] && un(l) && (S.tagNameCheck instanceof RegExp && M(S.tagNameCheck, l) || S.tagNameCheck instanceof Function && S.tagNameCheck(l)))
|
|
2168
|
+
return !1;
|
|
2169
|
+
if (st && !ce[l]) {
|
|
2170
|
+
const y = G(n) || n.parentNode, I = Q(n) || n.childNodes;
|
|
2171
|
+
if (I && y) {
|
|
2172
|
+
const O = I.length;
|
|
2173
|
+
for (let U = O - 1; U >= 0; --U) {
|
|
2174
|
+
const X = d(I[U], !0);
|
|
2175
|
+
X.__removalCount = (n.__removalCount || 0) + 1, y.insertBefore(X, ie(n));
|
|
2176
|
+
}
|
|
2177
|
+
}
|
|
2178
|
+
}
|
|
2179
|
+
return V(n), !0;
|
|
2180
|
+
}
|
|
2181
|
+
return n instanceof g && !yr(n) || (l === "noscript" || l === "noembed" || l === "noframes") && M(/<\/no(script|embed|frames)/i, n.innerHTML) ? (V(n), !0) : (ae && n.nodeType === Se.text && (a = n.textContent, ze([pe, me, oe], (y) => {
|
|
2182
|
+
a = ve(a, y, " ");
|
|
2183
|
+
}), n.textContent !== a && (_e(t.removed, {
|
|
2184
|
+
element: n.cloneNode()
|
|
2185
|
+
}), n.textContent = a)), K("afterSanitizeElements", n, null), !1);
|
|
2186
|
+
}, cn = function(n, a, l) {
|
|
2187
|
+
if (Yt && (a === "id" || a === "name") && (l in r || l in vr))
|
|
2188
|
+
return !1;
|
|
2189
|
+
if (!(rt && !nt[a] && M(fr, a))) {
|
|
2190
|
+
if (!(Vt && M(dr, a))) {
|
|
2191
|
+
if (!C[a] || nt[a]) {
|
|
2192
|
+
if (
|
|
2193
|
+
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
2194
|
+
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
2195
|
+
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
2196
|
+
!(un(n) && (S.tagNameCheck instanceof RegExp && M(S.tagNameCheck, n) || S.tagNameCheck instanceof Function && S.tagNameCheck(n)) && (S.attributeNameCheck instanceof RegExp && M(S.attributeNameCheck, a) || S.attributeNameCheck instanceof Function && S.attributeNameCheck(a)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
2197
|
+
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
2198
|
+
a === "is" && S.allowCustomizedBuiltInElements && (S.tagNameCheck instanceof RegExp && M(S.tagNameCheck, l) || S.tagNameCheck instanceof Function && S.tagNameCheck(l)))
|
|
2199
|
+
) return !1;
|
|
2200
|
+
} else if (!lt[a]) {
|
|
2201
|
+
if (!M(Bt, ve(l, zt, ""))) {
|
|
2202
|
+
if (!((a === "src" || a === "xlink:href" || a === "href") && n !== "script" && Wi(l, "data:") === 0 && Kt[n])) {
|
|
2203
|
+
if (!(Xt && !M(pr, ve(l, zt, "")))) {
|
|
2204
|
+
if (l)
|
|
2205
|
+
return !1;
|
|
2206
|
+
}
|
|
2207
|
+
}
|
|
2208
|
+
}
|
|
2209
|
+
}
|
|
2210
|
+
}
|
|
2211
|
+
}
|
|
2212
|
+
return !0;
|
|
2213
|
+
}, un = function(n) {
|
|
2214
|
+
return n !== "annotation-xml" && Nn(n, mr);
|
|
2215
|
+
}, fn = function(n) {
|
|
2216
|
+
K("beforeSanitizeAttributes", n, null);
|
|
2217
|
+
const {
|
|
2218
|
+
attributes: a
|
|
2219
|
+
} = n;
|
|
2220
|
+
if (!a)
|
|
2221
|
+
return;
|
|
2222
|
+
const l = {
|
|
2223
|
+
attrName: "",
|
|
2224
|
+
attrValue: "",
|
|
2225
|
+
keepAttr: !0,
|
|
2226
|
+
allowedAttributes: C,
|
|
2227
|
+
forceKeepAttr: void 0
|
|
2228
|
+
};
|
|
2229
|
+
let y = a.length;
|
|
2230
|
+
for (; y--; ) {
|
|
2231
|
+
const I = a[y], {
|
|
2232
|
+
name: O,
|
|
2233
|
+
namespaceURI: U,
|
|
2234
|
+
value: X
|
|
2235
|
+
} = I, Te = R(O);
|
|
2236
|
+
let N = O === "value" ? X : ji(X);
|
|
2237
|
+
if (l.attrName = Te, l.attrValue = N, l.keepAttr = !0, l.forceKeepAttr = void 0, K("uponSanitizeAttribute", n, l), N = l.attrValue, qt && (Te === "id" || Te === "name") && (Le(O, n), N = hr + N), it && M(/((--!?|])>)|<\/(style|title)/i, N)) {
|
|
2238
|
+
Le(O, n);
|
|
2239
|
+
continue;
|
|
2240
|
+
}
|
|
2241
|
+
if (l.forceKeepAttr || (Le(O, n), !l.keepAttr))
|
|
2242
|
+
continue;
|
|
2243
|
+
if (!$t && M(/\/>/i, N)) {
|
|
2244
|
+
Le(O, n);
|
|
2245
|
+
continue;
|
|
2246
|
+
}
|
|
2247
|
+
ae && ze([pe, me, oe], (pn) => {
|
|
2248
|
+
N = ve(N, pn, " ");
|
|
2249
|
+
});
|
|
2250
|
+
const dn = R(n.nodeName);
|
|
2251
|
+
if (cn(dn, Te, N)) {
|
|
2252
|
+
if (v && typeof F == "object" && typeof F.getAttributeType == "function" && !U)
|
|
2253
|
+
switch (F.getAttributeType(dn, Te)) {
|
|
2254
|
+
case "TrustedHTML": {
|
|
2255
|
+
N = v.createHTML(N);
|
|
2256
|
+
break;
|
|
2257
|
+
}
|
|
2258
|
+
case "TrustedScriptURL": {
|
|
2259
|
+
N = v.createScriptURL(N);
|
|
2260
|
+
break;
|
|
2261
|
+
}
|
|
2262
|
+
}
|
|
2263
|
+
try {
|
|
2264
|
+
U ? n.setAttributeNS(U, O, N) : n.setAttribute(O, N), an(n) ? V(n) : In(t.removed);
|
|
2265
|
+
} catch {
|
|
2266
|
+
}
|
|
2267
|
+
}
|
|
2268
|
+
}
|
|
2269
|
+
K("afterSanitizeAttributes", n, null);
|
|
2270
|
+
}, Ar = function c(n) {
|
|
2271
|
+
let a = null;
|
|
2272
|
+
const l = on(n);
|
|
2273
|
+
for (K("beforeSanitizeShadowDOM", n, null); a = l.nextNode(); )
|
|
2274
|
+
K("uponSanitizeShadowNode", a, null), !ln(a) && (a.content instanceof s && c(a.content), fn(a));
|
|
2275
|
+
K("afterSanitizeShadowDOM", n, null);
|
|
2276
|
+
};
|
|
2277
|
+
return t.sanitize = function(c) {
|
|
2278
|
+
let n = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, a = null, l = null, y = null, I = null;
|
|
2279
|
+
if (ct = !c, ct && (c = "<!-->"), typeof c != "string" && !sn(c))
|
|
2280
|
+
if (typeof c.toString == "function") {
|
|
2281
|
+
if (c = c.toString(), typeof c != "string")
|
|
2282
|
+
throw ye("dirty is not a string, aborting");
|
|
2283
|
+
} else
|
|
2284
|
+
throw ye("toString is not a function");
|
|
2285
|
+
if (!t.isSupported)
|
|
2286
|
+
return c;
|
|
2287
|
+
if (ot || ft(n), t.removed = [], typeof c == "string" && (ge = !1), ge) {
|
|
2288
|
+
if (c.nodeName) {
|
|
2289
|
+
const X = R(c.nodeName);
|
|
2290
|
+
if (!b[X] || he[X])
|
|
2291
|
+
throw ye("root node is forbidden and cannot be sanitized in-place");
|
|
2292
|
+
}
|
|
2293
|
+
} else if (c instanceof m)
|
|
2294
|
+
a = rn("<!---->"), l = a.ownerDocument.importNode(c, !0), l.nodeType === Se.element && l.nodeName === "BODY" || l.nodeName === "HTML" ? a = l : a.appendChild(l);
|
|
2295
|
+
else {
|
|
2296
|
+
if (!se && !ae && !te && // eslint-disable-next-line unicorn/prefer-includes
|
|
2297
|
+
c.indexOf("<") === -1)
|
|
2298
|
+
return v && xe ? v.createHTML(c) : c;
|
|
2299
|
+
if (a = rn(c), !a)
|
|
2300
|
+
return se ? null : xe ? $ : "";
|
|
2301
|
+
}
|
|
2302
|
+
a && at && V(a.firstChild);
|
|
2303
|
+
const O = on(ge ? c : a);
|
|
2304
|
+
for (; y = O.nextNode(); )
|
|
2305
|
+
ln(y) || (y.content instanceof s && Ar(y.content), fn(y));
|
|
2306
|
+
if (ge)
|
|
2307
|
+
return c;
|
|
2308
|
+
if (se) {
|
|
2309
|
+
if (we)
|
|
2310
|
+
for (I = q.call(a.ownerDocument); a.firstChild; )
|
|
2311
|
+
I.appendChild(a.firstChild);
|
|
2312
|
+
else
|
|
2313
|
+
I = a;
|
|
2314
|
+
return (C.shadowroot || C.shadowrootmode) && (I = Oe.call(i, I, !0)), I;
|
|
2315
|
+
}
|
|
2316
|
+
let U = te ? a.outerHTML : a.innerHTML;
|
|
2317
|
+
return te && b["!doctype"] && a.ownerDocument && a.ownerDocument.doctype && a.ownerDocument.doctype.name && M(lr, a.ownerDocument.doctype.name) && (U = "<!DOCTYPE " + a.ownerDocument.doctype.name + `>
|
|
2318
|
+
` + U), ae && ze([pe, me, oe], (X) => {
|
|
2319
|
+
U = ve(U, X, " ");
|
|
2320
|
+
}), v && xe ? v.createHTML(U) : U;
|
|
2321
|
+
}, t.setConfig = function() {
|
|
2322
|
+
let c = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
2323
|
+
ft(c), ot = !0;
|
|
2324
|
+
}, t.clearConfig = function() {
|
|
2325
|
+
fe = null, ot = !1;
|
|
2326
|
+
}, t.isValidAttribute = function(c, n, a) {
|
|
2327
|
+
fe || ft({});
|
|
2328
|
+
const l = R(c), y = R(n);
|
|
2329
|
+
return cn(l, y, a);
|
|
2330
|
+
}, t.addHook = function(c, n) {
|
|
2331
|
+
typeof n == "function" && (k[c] = k[c] || [], _e(k[c], n));
|
|
2332
|
+
}, t.removeHook = function(c) {
|
|
2333
|
+
if (k[c])
|
|
2334
|
+
return In(k[c]);
|
|
2335
|
+
}, t.removeHooks = function(c) {
|
|
2336
|
+
k[c] && (k[c] = []);
|
|
2337
|
+
}, t.removeAllHooks = function() {
|
|
2338
|
+
k = {};
|
|
2339
|
+
}, t;
|
|
2340
|
+
}
|
|
2341
|
+
var oa = cr();
|
|
2342
|
+
const oo = "_actor_2k764_1", Un = {
|
|
2343
|
+
actor: oo
|
|
2344
|
+
}, ur = 50, ao = { color: "purple" }, so = { color: "green" }, lo = { color: "cornflowerblue" }, co = { head: ao, body: so, legs: lo, type: "humanoid" };
|
|
2345
|
+
new Or({ name: "Actor" }).toObject();
|
|
2346
|
+
const uo = (e, t) => {
|
|
2347
|
+
const { head: r, body: i, legs: o } = e, s = Math.floor(t / 3) - 4, u = String(s) === "NaN" ? 0 : s;
|
|
2348
|
+
return /* @__PURE__ */ zn("div", { children: [
|
|
2349
|
+
/* @__PURE__ */ L(
|
|
2350
|
+
"div",
|
|
2351
|
+
{
|
|
2352
|
+
style: { backgroundColor: r.color, width: 40, height: u }
|
|
2353
|
+
}
|
|
2354
|
+
),
|
|
2355
|
+
/* @__PURE__ */ L(
|
|
2356
|
+
"div",
|
|
2357
|
+
{
|
|
2358
|
+
style: { backgroundColor: i.color, width: 40, height: u }
|
|
2359
|
+
}
|
|
2360
|
+
),
|
|
2361
|
+
/* @__PURE__ */ L(
|
|
2362
|
+
"div",
|
|
2363
|
+
{
|
|
2364
|
+
style: {
|
|
2365
|
+
backgroundColor: o.color,
|
|
2366
|
+
width: 40,
|
|
2367
|
+
height: u - 10
|
|
2368
|
+
}
|
|
2369
|
+
}
|
|
2370
|
+
)
|
|
2371
|
+
] });
|
|
2372
|
+
}, fo = { x: 0, y: 0, z: 0 }, po = {
|
|
2373
|
+
opacity: 1,
|
|
2374
|
+
width: ur,
|
|
2375
|
+
height: 80,
|
|
2376
|
+
alignItems: "center"
|
|
2377
|
+
}, Hn = {
|
|
2378
|
+
backgroundColor: "red"
|
|
2379
|
+
}, aa = ({
|
|
2380
|
+
position: e = fo,
|
|
2381
|
+
customClass: t = "",
|
|
2382
|
+
// for the tile container
|
|
2383
|
+
customTileStyle: r = po,
|
|
2384
|
+
customSkinStyle: i = Hn,
|
|
2385
|
+
config: o = co,
|
|
2386
|
+
tileSize: s = ur,
|
|
2387
|
+
children: u = null,
|
|
2388
|
+
...m
|
|
2389
|
+
}) => {
|
|
2390
|
+
const g = $e(Un.actor, t), T = (o == null ? void 0 : o.type) || null, f = () => {
|
|
2391
|
+
switch (T) {
|
|
2392
|
+
case "humanoid":
|
|
2393
|
+
case "one":
|
|
2394
|
+
return null;
|
|
2395
|
+
case "three":
|
|
2396
|
+
default:
|
|
2397
|
+
return o ? uo(o, s) : null;
|
|
2398
|
+
}
|
|
2399
|
+
}, { x: h, y: x, z: F } = e;
|
|
2400
|
+
return /* @__PURE__ */ L(
|
|
2401
|
+
de,
|
|
2402
|
+
{
|
|
2403
|
+
customClass: Un.actor,
|
|
2404
|
+
customStyle: {
|
|
2405
|
+
...r,
|
|
2406
|
+
transform: `translate3d(${h}px, ${x}px, ${F}px)`
|
|
2407
|
+
},
|
|
2408
|
+
name: "actor tile",
|
|
2409
|
+
...m,
|
|
2410
|
+
children: /* @__PURE__ */ L(
|
|
2411
|
+
de,
|
|
2412
|
+
{
|
|
2413
|
+
customClass: g,
|
|
2414
|
+
customStyle: { ...Hn, ...i },
|
|
2415
|
+
name: "actor skin",
|
|
2416
|
+
children: T ? f() : u
|
|
2417
|
+
}
|
|
2418
|
+
)
|
|
2419
|
+
}
|
|
2420
|
+
);
|
|
2421
|
+
}, mo = "_tileGrid_tpkps_2", ho = "_tileGridIso_tpkps_6", _t = {
|
|
2422
|
+
tileGrid: mo,
|
|
2423
|
+
tileGridIso: ho
|
|
2424
|
+
}, go = {
|
|
2425
|
+
id: "0",
|
|
2426
|
+
name: "snowbank",
|
|
2427
|
+
label: "",
|
|
2428
|
+
description: "",
|
|
2429
|
+
material: "snow",
|
|
2430
|
+
movement_cost: 0,
|
|
2431
|
+
color: "#67bd67",
|
|
2432
|
+
type: "tile",
|
|
2433
|
+
skin: "",
|
|
2434
|
+
damage: 0,
|
|
2435
|
+
is_obstacle: !0,
|
|
2436
|
+
obstacle_remover: "shovel",
|
|
2437
|
+
fill: "#67bd67",
|
|
2438
|
+
elevation: 0,
|
|
2439
|
+
age: -1
|
|
2440
|
+
// doesn't age
|
|
2441
|
+
}, Eo = Rt.hexToRgb("#67bd67"), To = -0.1, _o = Rt.getShadedColor(Eo, To), sa = ({
|
|
2442
|
+
totalInRow: e = 4,
|
|
2443
|
+
gapSize: t = 0,
|
|
2444
|
+
models: r = [go],
|
|
2445
|
+
isDemo: i = !1,
|
|
2446
|
+
width: o = 400,
|
|
2447
|
+
tileConfig: s = { size: 100, fill: "#67bd67", cornerColor: _o },
|
|
2448
|
+
isIsometric: u = !1,
|
|
2449
|
+
customClass: m = null,
|
|
2450
|
+
tileRefs: g
|
|
2451
|
+
}) => {
|
|
2452
|
+
const [T, f] = Ct(null), h = Math.floor(o / e - t), x = r.length, p = (() => {
|
|
2453
|
+
const G = [], v = [...r];
|
|
2454
|
+
for (; v.length; ) G.push(v.splice(0, e));
|
|
2455
|
+
return G;
|
|
2456
|
+
})(), A = ((G) => {
|
|
2457
|
+
let v = -1;
|
|
2458
|
+
const $ = (Y, q) => Y.map((Re, Oe) => {
|
|
2459
|
+
const k = G[q][Oe];
|
|
2460
|
+
v < x - 1 && v++;
|
|
2461
|
+
const pe = `${q}${Oe}`, me = T ? k.id === T.id : !1;
|
|
2462
|
+
return /* @__PURE__ */ L(
|
|
2463
|
+
Pr,
|
|
2464
|
+
{
|
|
2465
|
+
model: k,
|
|
2466
|
+
...s,
|
|
2467
|
+
customStyle: {
|
|
2468
|
+
margin: t,
|
|
2469
|
+
backgroundColor: (k == null ? void 0 : k.fill) ?? "pink",
|
|
2470
|
+
//tileModel.color,
|
|
2471
|
+
width: h,
|
|
2472
|
+
height: h
|
|
2473
|
+
},
|
|
2474
|
+
setSelected: f,
|
|
2475
|
+
isSelected: me,
|
|
2476
|
+
ref: (oe) => {
|
|
2477
|
+
g && oe && (g.current[v] = oe);
|
|
2478
|
+
}
|
|
2479
|
+
},
|
|
2480
|
+
pe
|
|
2481
|
+
);
|
|
2482
|
+
}), ee = (Y, q) => {
|
|
2483
|
+
const Re = $(Y, q);
|
|
2484
|
+
return /* @__PURE__ */ L(Sr, { className: _t.tileRow, children: Re }, q);
|
|
2485
|
+
};
|
|
2486
|
+
return G.map((Y, q) => ee(Y, q));
|
|
2487
|
+
})(p), ie = u ? _t.tileGridIso : _t.tileGrid, Q = $e(ie, m);
|
|
2488
|
+
return /* @__PURE__ */ L(de, { customClass: Q, children: A });
|
|
2489
|
+
}, vo = "_tileGrid_tpkps_2", yo = "_tileGridIso_tpkps_6", Gn = {
|
|
2490
|
+
tileGrid: vo,
|
|
2491
|
+
tileGridIso: yo
|
|
2492
|
+
};
|
|
2493
|
+
Rt.hexToRgb("#67bd67");
|
|
2494
|
+
const la = ({
|
|
2495
|
+
models: e,
|
|
2496
|
+
isIsometric: t = !1,
|
|
2497
|
+
customClass: r = ""
|
|
2498
|
+
}) => {
|
|
2499
|
+
const [i, o] = Ct(null);
|
|
2500
|
+
br([]), e.length;
|
|
2501
|
+
const s = e.map((f) => ({
|
|
2502
|
+
...f,
|
|
2503
|
+
id: `tile_${f.x}_${f.y}`,
|
|
2504
|
+
fill: f.color ?? "#67bd67"
|
|
2505
|
+
})), m = s.map((f, h) => (i && (f.id, i.id), /* @__PURE__ */ L(
|
|
2506
|
+
"div",
|
|
2507
|
+
{
|
|
2508
|
+
style: {
|
|
2509
|
+
position: "absolute",
|
|
2510
|
+
left: `${f.x}px`,
|
|
2511
|
+
top: `${f.y}px`,
|
|
2512
|
+
width: `${f.width}px`,
|
|
2513
|
+
height: `${f.height}px`,
|
|
2514
|
+
backgroundColor: f.fill
|
|
2515
|
+
}
|
|
2516
|
+
},
|
|
2517
|
+
f.id
|
|
2518
|
+
))), g = t ? Gn.tileGridIso : Gn.tileGrid, T = $e(g, r);
|
|
2519
|
+
return /* @__PURE__ */ L(de, { customClass: T, children: /* @__PURE__ */ L("div", { style: { position: "relative", width: "100%", height: "100%" }, children: m }) });
|
|
2520
|
+
};
|
|
2521
|
+
export {
|
|
2522
|
+
aa as A,
|
|
2523
|
+
Dr as I,
|
|
2524
|
+
la as J,
|
|
2525
|
+
Pr as T,
|
|
2526
|
+
sa as a,
|
|
2527
|
+
ia as b,
|
|
2528
|
+
oa as p
|
|
2529
|
+
};
|