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
package/dist/fp-util-4N0NK_eU.js
DELETED
|
@@ -1,117 +0,0 @@
|
|
|
1
|
-
import { jsx as o, jsxs as u, Fragment as c } from "react/jsx-runtime";
|
|
2
|
-
import { useState as f } from "react";
|
|
3
|
-
import p from "./components/atoms/column/column.js";
|
|
4
|
-
import "./components/atoms/row/row.js";
|
|
5
|
-
import "./react-spring_web.modern-nSq5Xzxb.js";
|
|
6
|
-
import "./components/atoms/group/group.js";
|
|
7
|
-
import "./components/molecules/wrapper/wrapper.js";
|
|
8
|
-
import "./components/molecules/wallpaper/wallpaper.js";
|
|
9
|
-
import "./index-BsYJgl86.js";
|
|
10
|
-
import n from "./components/molecules/card/card.js";
|
|
11
|
-
import "./models/ActorModel.js";
|
|
12
|
-
import "./models/BookModel.js";
|
|
13
|
-
import "./models/ChapterModel.js";
|
|
14
|
-
import "./models/PlayerModel.js";
|
|
15
|
-
import "./models/EnemyModel.js";
|
|
16
|
-
import "./models/ItemModel.js";
|
|
17
|
-
import "./models/LeafModel.js";
|
|
18
|
-
import "./models/LevelModel.js";
|
|
19
|
-
import "./models/NeutralModel.js";
|
|
20
|
-
import "./models/NPCModel.js";
|
|
21
|
-
import "./models/PortholeBranchModel.js";
|
|
22
|
-
import "./models/SettingsModel.js";
|
|
23
|
-
import "./models/ShieldModel.js";
|
|
24
|
-
import "./models/TileModel.js";
|
|
25
|
-
import "./models/UserModel.js";
|
|
26
|
-
import "./models/WeaponModel.js";
|
|
27
|
-
import "./models/WorldModel.js";
|
|
28
|
-
import "./components/organisms/registration/registration-machine.js";
|
|
29
|
-
import "./transform-DGclBZTD.js";
|
|
30
|
-
import "./components/organisms/survey/question/edit/edit-option-list/edit-option-list-machine.js";
|
|
31
|
-
import "./index.esm-DI2C2CaF.js";
|
|
32
|
-
import "./react-masonry-css.module-CJ43viV7.js";
|
|
33
|
-
import { GoldLeafEmailView as d } from "./components/molecules/gold-leaf/gold-leaf-view/email/gold-leaf-email-view.js";
|
|
34
|
-
import { s as m } from "./gold-leaf-view.module-BTNjKEeW.js";
|
|
35
|
-
import h from "./components/atoms/text/subheadline/subheadline.js";
|
|
36
|
-
import G from "./components/molecules/gold-leaf/gold-leaf-view/title-image/gold-leaf-image.js";
|
|
37
|
-
import w from "./components/atoms/link/link.js";
|
|
38
|
-
const C = () => /* @__PURE__ */ o(p, { children: "No Golf Leaf!" }), g = ({
|
|
39
|
-
goldLeafModel: t,
|
|
40
|
-
mode: r = "unknown",
|
|
41
|
-
onNoImageFoundCallback: i
|
|
42
|
-
}) => (console.log("GoldTitleImageCard: ", t), r === "view" && t ? /* @__PURE__ */ o(S, { goldLeafModel: t }) : r !== "view" && t ? /* @__PURE__ */ u(c, { children: [
|
|
43
|
-
/* @__PURE__ */ o(p, { customStyle: { padding: 4 }, children: /* @__PURE__ */ o(
|
|
44
|
-
w,
|
|
45
|
-
{
|
|
46
|
-
url: t.link,
|
|
47
|
-
customClass: m.GoldLeaf__titleLink,
|
|
48
|
-
customStyle: { borderBottom: "none", boxShadow: "none" },
|
|
49
|
-
children: /* @__PURE__ */ o(
|
|
50
|
-
h,
|
|
51
|
-
{
|
|
52
|
-
text: t.title,
|
|
53
|
-
customClass: m.GoldLeaf__title,
|
|
54
|
-
customStyle: {
|
|
55
|
-
fontWeight: 700,
|
|
56
|
-
padding: 8,
|
|
57
|
-
marginBottom: 0
|
|
58
|
-
}
|
|
59
|
-
}
|
|
60
|
-
)
|
|
61
|
-
}
|
|
62
|
-
) }),
|
|
63
|
-
/* @__PURE__ */ o(
|
|
64
|
-
G,
|
|
65
|
-
{
|
|
66
|
-
goldLeafModel: t,
|
|
67
|
-
onNoImageFoundCallback: i
|
|
68
|
-
}
|
|
69
|
-
)
|
|
70
|
-
] }) : /* @__PURE__ */ o(C, {})), k = {
|
|
71
|
-
height: "auto",
|
|
72
|
-
width: 370,
|
|
73
|
-
background: "whitesmoke"
|
|
74
|
-
}, S = ({
|
|
75
|
-
goldLeafModel: t,
|
|
76
|
-
dataTestId: r = "golf-leaf-view",
|
|
77
|
-
customStyle: i = k,
|
|
78
|
-
variant: e = "article"
|
|
79
|
-
}) => {
|
|
80
|
-
const [s, l] = f(!0);
|
|
81
|
-
console.log("GoldLeafView: ", { goldLeafModel: t, variant: e });
|
|
82
|
-
const a = () => {
|
|
83
|
-
l(!1);
|
|
84
|
-
};
|
|
85
|
-
return e === "email" ? /* @__PURE__ */ o(
|
|
86
|
-
n,
|
|
87
|
-
{
|
|
88
|
-
customClass: m.GoldLeafView,
|
|
89
|
-
dataTestId: r,
|
|
90
|
-
customStyle: i,
|
|
91
|
-
children: /* @__PURE__ */ o(
|
|
92
|
-
d,
|
|
93
|
-
{
|
|
94
|
-
goldLeafEmailModel: t
|
|
95
|
-
}
|
|
96
|
-
)
|
|
97
|
-
}
|
|
98
|
-
) : s ? /* @__PURE__ */ o(
|
|
99
|
-
n,
|
|
100
|
-
{
|
|
101
|
-
customClass: m.GoldLeafView,
|
|
102
|
-
dataTestId: r,
|
|
103
|
-
customStyle: i,
|
|
104
|
-
children: /* @__PURE__ */ o(
|
|
105
|
-
g,
|
|
106
|
-
{
|
|
107
|
-
goldLeafModel: t,
|
|
108
|
-
onNoImageFoundCallback: a
|
|
109
|
-
}
|
|
110
|
-
)
|
|
111
|
-
}
|
|
112
|
-
) : null;
|
|
113
|
-
};
|
|
114
|
-
export {
|
|
115
|
-
S as G,
|
|
116
|
-
g as a
|
|
117
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
const _ = "_GoldLeaf_29svi_1", e = "_GoldLeafView_29svi_7", o = "_GoldLeaf__controls_29svi_13", l = "_GoldLeaf__item_29svi_22", t = "_GoldLeaf__images_29svi_32", a = "_GoldLeaf__total_29svi_38", d = "_GoldLeaf__total__text_29svi_47", i = "_GoldLeaf__GoldTitleImageCard_29svi_56", G = "_GoldLeaf__image_29svi_32", L = "_GoldLeaf__title_29svi_78", s = "_GoldLeaf__titleLink_29svi_84", f = "_code_29svi_90", c = {
|
|
2
|
-
GoldLeaf: _,
|
|
3
|
-
GoldLeafView: e,
|
|
4
|
-
GoldLeaf__controls: o,
|
|
5
|
-
GoldLeaf__item: l,
|
|
6
|
-
GoldLeaf__images: t,
|
|
7
|
-
GoldLeaf__total: a,
|
|
8
|
-
GoldLeaf__total__text: d,
|
|
9
|
-
GoldLeaf__GoldTitleImageCard: i,
|
|
10
|
-
GoldLeaf__image: G,
|
|
11
|
-
GoldLeaf__title: L,
|
|
12
|
-
GoldLeaf__titleLink: s,
|
|
13
|
-
code: f
|
|
14
|
-
};
|
|
15
|
-
export {
|
|
16
|
-
c as s
|
|
17
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { jsx as i } from "react/jsx-runtime";
|
|
2
|
-
import "react";
|
|
3
|
-
import { c as r } from "./clsx.m-BMVuQnLY.js";
|
|
4
|
-
const l = "_headline_1jy9u_1", c = "_warIsOver_1jy9u_13", _ = "_ifYouWant_1jy9u_22", d = {
|
|
5
|
-
headline: l,
|
|
6
|
-
warIsOver: c,
|
|
7
|
-
ifYouWant: _
|
|
8
|
-
}, h = ({ color: e = "", text: s, children: a, customStyle: n = {}, customClass: o = "", ...t }) => /* @__PURE__ */ i("h1", { ...t, className: r(d.headline, o), style: { color: e, ...n }, children: s || a }), y = h;
|
|
9
|
-
export {
|
|
10
|
-
y as H
|
|
11
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
const u = "img/loaders/defaultbackground.png";
|
|
2
|
-
function p(e) {
|
|
3
|
-
return e.about.replace(/<img[^>]*>/g, "");
|
|
4
|
-
}
|
|
5
|
-
const m = (e) => e && e.description ? e.description : e && e.summary ? e.summary : e && e.about ? e.about : e && e.text ? branch.text : "", f = (e, s, r = !1) => ({
|
|
6
|
-
imageUrl: e.indexOf("https") === -1 ? u : e,
|
|
7
|
-
defaultImageUrl: u,
|
|
8
|
-
useText: r,
|
|
9
|
-
// this hides the default image showing only the title
|
|
10
|
-
text: s,
|
|
11
|
-
large: !0
|
|
12
|
-
// assume it is large enough until loaded
|
|
13
|
-
});
|
|
14
|
-
function x(e) {
|
|
15
|
-
const s = [], r = m(e);
|
|
16
|
-
let a = document.createElement("div"), l = document.createDocumentFragment();
|
|
17
|
-
a.innerHTML = r, l.appendChild(a);
|
|
18
|
-
let i = a.getElementsByTagName("img");
|
|
19
|
-
if (i && i.length > 0 && Array.from(i).forEach((t, o) => {
|
|
20
|
-
if (typeof t < "u") {
|
|
21
|
-
let n;
|
|
22
|
-
if (typeof t.dataset < "u" ? typeof t.dataset.src < "u" ? n = t.dataset.src : t.dataset.imgSrc !== void 0 ? n = t.dataset.imgSrc : n = t.src : n = t.src, typeof n < "u") {
|
|
23
|
-
let d = !0;
|
|
24
|
-
typeof t.height < "u" && t.height === 1 && (d = !1);
|
|
25
|
-
let g = n.indexOf("feedsportal") === -1;
|
|
26
|
-
if (d && g) {
|
|
27
|
-
const c = f(n, r);
|
|
28
|
-
s.push(c);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}), s.length === 0) {
|
|
33
|
-
const o = f(u, !0);
|
|
34
|
-
o.useText = !0, s.push(o);
|
|
35
|
-
}
|
|
36
|
-
return s;
|
|
37
|
-
}
|
|
38
|
-
export {
|
|
39
|
-
x as g,
|
|
40
|
-
p as r
|
|
41
|
-
};
|