@goodhood-web/nebenan-core 4.16.0-development.2 → 4.16.0-development.3
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/index.js +1 -1
- package/index.mjs +38 -38
- package/package.json +1 -1
package/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react/jsx-runtime"),p=require("react");require("@goodhood-web/api/core");const Oh=require("@goodhood-web/services/chargebee"),P=require("@goodhood-web/ui"),zr=require("@goodhood-web/nebenan-base"),Ja=require("@goodhood-web/api/strapi"),G2=require("@goodhood-web/services/event-bus"),Za=require("@goodhood-web/api/core_v2"),
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const w=require("react/jsx-runtime"),p=require("react");require("@goodhood-web/api/core");const Oh=require("@goodhood-web/services/chargebee"),y1=require("@goodhood-web/services/snowplow"),P=require("@goodhood-web/ui"),zr=require("@goodhood-web/nebenan-base"),Ja=require("@goodhood-web/api/strapi"),G2=require("@goodhood-web/services/event-bus"),Za=require("@goodhood-web/api/core_v2"),Ih=require("@goodhood-web/services/analytics"),Ph=require("@goodhood-web/services/consent");function Bh(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const a in e)if(a!=="default"){const o=Object.getOwnPropertyDescriptor(e,a);Object.defineProperty(t,a,o.get?o:{enumerable:!0,get:()=>e[a]})}}return t.default=e,Object.freeze(t)}const l=Bh(p);var ft=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function K2(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function Vh(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var X2=Vh,Nh=typeof ft=="object"&&ft&&ft.Object===Object&&ft,jh=Nh,Dh=jh,Zh=typeof self=="object"&&self&&self.Object===Object&&self,Wh=Dh||Zh||Function("return this")(),Hc=Wh,Hh=Hc,Uh=function(){return Hh.Date.now()},zh=Uh,Yh=/\s/;function qh(e){for(var t=e.length;t--&&Yh.test(e.charAt(t)););return t}var Gh=qh,Kh=Gh,Xh=/^\s+/;function Qh(e){return e&&e.slice(0,Kh(e)+1).replace(Xh,"")}var Jh=Qh,e7=Hc,t7=e7.Symbol,Uc=t7,N0=Uc,zc=Object.prototype,r7=zc.hasOwnProperty,n7=zc.toString,m1=N0?N0.toStringTag:void 0;function a7(e){var t=r7.call(e,m1),a=e[m1];try{e[m1]=void 0;var o=!0}catch{}var s=n7.call(e);return o&&(t?e[m1]=a:delete e[m1]),s}var i7=a7,o7=Object.prototype,s7=o7.toString;function c7(e){return s7.call(e)}var l7=c7,j0=Uc,u7=i7,d7=l7,f7="[object Null]",h7="[object Undefined]",D0=j0?j0.toStringTag:void 0;function m7(e){return e==null?e===void 0?h7:f7:D0&&D0 in Object(e)?u7(e):d7(e)}var p7=m7;function g7(e){return e!=null&&typeof e=="object"}var v7=g7,w7=p7,_7=v7,C7="[object Symbol]";function y7(e){return typeof e=="symbol"||_7(e)&&w7(e)==C7}var x7=y7,E7=Jh,Z0=X2,b7=x7,W0=NaN,M7=/^[-+]0x[0-9a-f]+$/i,k7=/^0b[01]+$/i,S7=/^0o[0-7]+$/i,R7=parseInt;function T7(e){if(typeof e=="number")return e;if(b7(e))return W0;if(Z0(e)){var t=typeof e.valueOf=="function"?e.valueOf():e;e=Z0(t)?t+"":t}if(typeof e!="string")return e===0?e:+e;e=E7(e);var a=k7.test(e);return a||S7.test(e)?R7(e.slice(2),a?2:8):M7.test(e)?W0:+e}var L7=T7,$7=X2,x2=zh,H0=L7,A7="Expected a function",F7=Math.max,O7=Math.min;function I7(e,t,a){var o,s,u,h,g,x,_=0,S=!1,$=!1,F=!0;if(typeof e!="function")throw new TypeError(A7);t=H0(t)||0,$7(a)&&(S=!!a.leading,$="maxWait"in a,u=$?F7(H0(a.maxWait)||0,t):u,F="trailing"in a?!!a.trailing:F);function H(O){var D=o,te=s;return o=s=void 0,_=O,h=e.apply(te,D),h}function q(O){return _=O,g=setTimeout(ue,t),S?H(O):h}function ce(O){var D=O-x,te=O-_,G=t-D;return $?O7(G,u-te):G}function oe(O){var D=O-x,te=O-_;return x===void 0||D>=t||D<0||$&&te>=u}function ue(){var O=x2();if(oe(O))return $e(O);g=setTimeout(ue,ce(O))}function $e(O){return g=void 0,F&&o?H(O):(o=s=void 0,h)}function we(){g!==void 0&&clearTimeout(g),_=0,o=x=s=g=void 0}function B(){return g===void 0?h:$e(x2())}function k(){var O=x2(),D=oe(O);if(o=arguments,s=this,x=O,D){if(g===void 0)return q(x);if($)return clearTimeout(g),g=setTimeout(ue,t),H(x)}return g===void 0&&(g=setTimeout(ue,t)),h}return k.cancel=we,k.flush=B,k}var P7=I7,B7=P7,V7=X2,N7="Expected a function";function j7(e,t,a){var o=!0,s=!0;if(typeof e!="function")throw new TypeError(N7);return V7(a)&&(o="leading"in a?!!a.leading:o,s="trailing"in a?!!a.trailing:s),B7(e,t,{leading:o,maxWait:t,trailing:s})}var D7=j7;const Z7=K2(D7),W7=690,H7=(e=W7)=>{const[t,a]=p.useState(void 0),o=p.useCallback(Z7(()=>{typeof window<"u"&&a(window.matchMedia(`(min-width: ${e}px)`).matches)},300),[e]);return p.useEffect(()=>{if(typeof window<"u")return o(),window.addEventListener("resize",o),()=>{window.removeEventListener("resize",o)}},[e,o]),t};function U7(){}var z7=U7;const Y7=K2(z7);p.createContext({navigate:()=>Y7});var Wa={exports:{}};/**
|
|
2
2
|
* @license
|
|
3
3
|
* Lodash <https://lodash.com/>
|
|
4
4
|
* Copyright OpenJS Foundation and other contributors <https://openjsf.org/>
|
package/index.mjs
CHANGED
|
@@ -3,12 +3,12 @@ import * as l from "react";
|
|
|
3
3
|
import cn, { useState as Et, useCallback as Pe, useEffect as st, createContext as t5, createElement as n5, useRef as Ln, useMemo as Xa, useLayoutEffect as G7, forwardRef as _, useContext as q7 } from "react";
|
|
4
4
|
import "@goodhood-web/api/core";
|
|
5
5
|
import { useOpenCheckout as K7 } from "@goodhood-web/services/chargebee";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
6
|
+
import { useSnowplowTrack as r5, Click as G0, useSnowplowConsent as X7 } from "@goodhood-web/services/snowplow";
|
|
7
|
+
import { Typography as Ce, Accordion as Q7, AccordionItem as J7, Sticker as eh, Fieldset as An, ButtonPrimary as ci, Icon as th, TextButton as Rn, InputFieldSpecial as nh, Sheet as rh, ButtonTertiary as ah, IconButton as ih, Modal as oh, Card as a5, CardBody as i5, Divider as Xt, CheckboxInput as sh, SelectablePillGroup as ch, SwitcherToggle as lh, Form as uh, ToggleInput as q0, CardHeader as dh, PoiAvatar as fh, Snackbar as hh, LogoTextHorizontal as mh } from "@goodhood-web/ui";
|
|
8
|
+
import { MarkdownRichText as q1, Quote as ph, HtmlContent as gh, LayoutLoadingSpinner as vh } from "@goodhood-web/nebenan-base";
|
|
8
9
|
import { API as li } from "@goodhood-web/api/strapi";
|
|
9
10
|
import { useEventBus as io } from "@goodhood-web/services/event-bus";
|
|
10
|
-
import { postChargebeeCreate as
|
|
11
|
-
import { useSnowplowTrack as i5, Click as q0, useSnowplowConsent as yh } from "@goodhood-web/services/snowplow";
|
|
11
|
+
import { postChargebeeCreate as _h, getProfile as wh, updateProfile as Ch, exportArchivedData as yh } from "@goodhood-web/api/core_v2";
|
|
12
12
|
import { useTrack as xh } from "@goodhood-web/services/analytics";
|
|
13
13
|
import { useConsent as Eh } from "@goodhood-web/services/consent";
|
|
14
14
|
var pt = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
@@ -3836,8 +3836,8 @@ const O9 = "_root_xdchs_146", I9 = "_title_xdchs_150", nc = {
|
|
|
3836
3836
|
const [a, o] = Et(null), s = (u) => o((h) => h === u ? null : u);
|
|
3837
3837
|
return /* @__PURE__ */ ae("div", { className: nc.root, children: [
|
|
3838
3838
|
/* @__PURE__ */ y(Ce, { type: "h3", className: nc.title, children: t }),
|
|
3839
|
-
/* @__PURE__ */ y(
|
|
3840
|
-
|
|
3839
|
+
/* @__PURE__ */ y(Q7, { children: e.map((u) => /* @__PURE__ */ y(
|
|
3840
|
+
J7,
|
|
3841
3841
|
{
|
|
3842
3842
|
id: u == null ? void 0 : u.id,
|
|
3843
3843
|
title: u.title,
|
|
@@ -3920,7 +3920,7 @@ const V9 = "_persuasionContent_wmg7v_146", N9 = "_persuasionContentInner_wmg7v_1
|
|
|
3920
3920
|
[Ha["persuasionListItem--hasIcon"]]: a
|
|
3921
3921
|
});
|
|
3922
3922
|
return /* @__PURE__ */ ae("li", { className: o, children: [
|
|
3923
|
-
a ? /* @__PURE__ */ y(
|
|
3923
|
+
a ? /* @__PURE__ */ y(eh, { color: "green", icon: a, size: "small" }) : /* @__PURE__ */ y("div", { className: Ha.persuasionListItem__ellipse }),
|
|
3924
3924
|
/* @__PURE__ */ ae("div", { className: Ha.persuasionListItem__text, children: [
|
|
3925
3925
|
t && /* @__PURE__ */ y(Ce, { type: "h5", children: t }),
|
|
3926
3926
|
e && /* @__PURE__ */ y(Ce, { type: "body-regular", children: e })
|
|
@@ -3979,7 +3979,7 @@ const V9 = "_persuasionContent_wmg7v_146", N9 = "_persuasionContentInner_wmg7v_1
|
|
|
3979
3979
|
}
|
|
3980
3980
|
),
|
|
3981
3981
|
/* @__PURE__ */ ae(Ce, { type: "detail-medium", as: "p", className: Je(ja.root__security), children: [
|
|
3982
|
-
/* @__PURE__ */ y(
|
|
3982
|
+
/* @__PURE__ */ y(th, { name: "privacy_lock_closed", size: "24" }),
|
|
3983
3983
|
t
|
|
3984
3984
|
] })
|
|
3985
3985
|
]
|
|
@@ -4114,7 +4114,7 @@ const V9 = "_persuasionContent_wmg7v_146", N9 = "_persuasionContentInner_wmg7v_1
|
|
|
4114
4114
|
);
|
|
4115
4115
|
}, y8 = (e = "") => `${li.getBaseUrl()}${e}`, x8 = "_root_138xu_146", E8 = {
|
|
4116
4116
|
root: x8
|
|
4117
|
-
}, M8 = ({ author: e, image: t, quote: a }) => /* @__PURE__ */ y("div", { className: E8.root, children: /* @__PURE__ */ y(
|
|
4117
|
+
}, M8 = ({ author: e, image: t, quote: a }) => /* @__PURE__ */ y("div", { className: E8.root, children: /* @__PURE__ */ y(ph, { author: e, image: t, quote: a }) }), b8 = ({ block: e }) => {
|
|
4118
4118
|
const t = () => {
|
|
4119
4119
|
var a, o;
|
|
4120
4120
|
return {
|
|
@@ -8852,7 +8852,7 @@ const sw = "_root_b6qm2_146", cw = {
|
|
|
8852
8852
|
onChange: a,
|
|
8853
8853
|
value: o
|
|
8854
8854
|
}) => /* @__PURE__ */ y(An, { className: cw.root, name: t, children: /* @__PURE__ */ y(
|
|
8855
|
-
|
|
8855
|
+
nh,
|
|
8856
8856
|
{
|
|
8857
8857
|
id: t,
|
|
8858
8858
|
onChange: a,
|
|
@@ -8870,10 +8870,10 @@ const sw = "_root_b6qm2_146", cw = {
|
|
|
8870
8870
|
sheet__actions: vw,
|
|
8871
8871
|
sheet__footer: _w
|
|
8872
8872
|
}, ww = (e, t) => /* @__PURE__ */ l.createElement("svg", { width: 166, height: 102, viewBox: "0 0 166 102", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: t, ...e }, /* @__PURE__ */ l.createElement("g", { clipPath: "url(#clip0_6646_71153)" }, /* @__PURE__ */ l.createElement("path", { d: "M21.7829 55.0586C21.7829 55.0586 21.7694 55.0586 21.764 55.0586C21.5183 55.0479 21.3265 54.8421 21.3373 54.5988L21.6047 48.4066C21.6155 48.1633 21.8126 47.9734 22.0691 47.9841C22.3148 47.9948 22.5065 48.2007 22.4957 48.444L22.2284 54.6362C22.2176 54.8741 22.0205 55.0586 21.7829 55.0586Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M21.7831 49.861C21.7831 49.861 33.8097 40.6984 26.2978 28.3862C26.2978 28.3862 14.2928 36.8296 21.7831 49.861Z", fill: "#CADD62" }), /* @__PURE__ */ l.createElement("path", { d: "M21.9584 50.0348C21.9584 50.0348 21.9449 50.0348 21.9368 50.0348C21.6911 50.0241 21.4994 49.8156 21.5102 49.5723C21.6857 45.6982 23.3463 39.5006 23.4165 39.2386C23.4786 39.0033 23.7244 38.8616 23.9647 38.9258C24.2023 38.99 24.3454 39.2306 24.2806 39.4685C24.2644 39.5327 22.5741 45.8372 22.4013 49.6151C22.3905 49.853 22.1933 50.0375 21.9557 50.0375L21.9584 50.0348Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M2.60059 60.2803C2.60059 60.2803 8.26557 54.834 16.7414 54.0025C25.2173 53.171 36.5716 54.8019 40.422 60.2803H2.60059Z", fill: "#FDE8D2" }), /* @__PURE__ */ l.createElement("path", { d: "M33.3233 101.995H8.86231C7.2206 101.995 5.8516 100.754 5.70579 99.1365L2.60059 64.7506H39.5823L36.4771 99.1338C36.3313 100.751 34.9623 101.992 33.3206 101.992L33.3233 101.995Z", fill: "#E8E2F0" }), /* @__PURE__ */ l.createElement("path", { d: "M40.9865 59.3418H1.19665C0.811899 59.3418 0.5 59.6506 0.5 60.0316V64.0608C0.5 64.4418 0.811899 64.7506 1.19665 64.7506H40.9865C41.3713 64.7506 41.6832 64.4418 41.6832 64.0608V60.0316C41.6832 59.6506 41.3713 59.3418 40.9865 59.3418Z", fill: "#C1B7EA" }), /* @__PURE__ */ l.createElement("path", { d: "M133.119 49.7166L133.065 49.0696C135.366 48.8825 138.695 46.0724 138.728 46.043L139.154 46.535C139.011 46.6553 135.631 49.5108 133.119 49.7166Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M143.874 54.0961C143.847 54.1576 143.842 54.2271 143.861 54.2993C143.907 54.465 144.08 54.564 144.247 54.5212C144.39 54.4838 147.565 53.5186 150.471 50.2487C150.587 50.1204 150.771 49.9599 150.638 49.845C150.506 49.73 150.309 49.7434 150.193 49.8717C147.412 53.0026 144.115 53.9063 144.082 53.9143C143.985 53.941 143.909 54.0105 143.874 54.0961Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M148.332 51.8636C148.332 51.8636 149.064 47.444 153.808 46.9387C153.808 46.9387 153.603 52.794 148.332 51.8636Z", fill: "#CADD62" }), /* @__PURE__ */ l.createElement("path", { d: "M143.869 55.6735C143.826 55.2217 142.786 44.5511 143.124 38.9471C143.178 38.0461 143.224 37.0916 143.272 36.105C143.534 30.7764 144.371 24.9211 145.992 20.293L146.691 20.5337C145.133 24.988 144.841 30.9262 144.582 36.1692C144.533 37.1611 144.485 38.121 144.431 39.0273C144.101 44.5297 145.163 55.4409 145.173 55.5505L143.869 55.6762V55.6735Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M145.524 22.7341C145.524 22.7341 144.166 3.36079 162.635 0C162.635 0 164.677 18.737 145.524 22.7341Z", fill: "#CADD62" }), /* @__PURE__ */ l.createElement("path", { d: "M156.371 6.84721C155.993 7.24825 155.464 7.83378 154.848 8.553C154.548 8.91929 154.211 9.3043 153.876 9.72941C153.533 10.1492 153.179 10.5983 152.817 11.0662C152.453 11.5315 152.088 12.0234 151.713 12.518C151.346 13.018 150.968 13.5233 150.603 14.0393C149.129 16.0874 147.736 18.1942 146.729 19.7984C146.224 20.5978 145.811 21.2823 145.532 21.7528C145.522 21.7716 145.511 21.7876 145.5 21.8063C145.5 22.3945 145.522 22.7341 145.522 22.7341C145.735 22.6886 145.773 22.9052 145.981 22.8571C146.037 22.7474 146.275 22.3571 146.356 22.2047C146.615 21.7154 146.98 21.0363 147.444 20.2155C148.365 18.5765 149.645 16.4189 151.011 14.3121C151.349 13.7827 151.7 13.2613 152.04 12.7453C152.388 12.2346 152.726 11.7266 153.066 11.248C153.403 10.7641 153.733 10.3016 154.054 9.86576C154.367 9.42728 154.683 9.02356 154.967 8.64658C155.545 7.90063 156.044 7.29371 156.401 6.87394C156.765 6.45952 156.973 6.22424 156.973 6.22424C156.973 6.22424 156.754 6.4515 156.368 6.84453L156.371 6.84721Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M143.777 39.4739C143.558 39.4739 143.358 39.3268 143.301 39.1076C142.386 35.557 137.064 29.183 137.01 29.1188C136.837 28.9129 136.864 28.6054 137.075 28.4317C137.283 28.2605 137.593 28.2873 137.769 28.4958C137.993 28.7632 143.285 35.1078 144.255 38.8669C144.322 39.1263 144.163 39.3937 143.901 39.4605C143.86 39.4712 143.82 39.4765 143.779 39.4765L143.777 39.4739Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M143.902 47.8397C143.796 47.8397 143.691 47.8077 143.599 47.7382C143.386 47.5724 143.345 47.2676 143.513 47.0537C143.653 46.8746 146.977 43.1528 153.479 40.9925C153.736 40.907 154.07 40.5273 154.157 40.7813C154.243 41.0353 154.105 41.3134 153.846 41.3989C147.625 43.4656 144.323 47.6098 144.29 47.6499C144.193 47.7729 144.047 47.8371 143.902 47.8371V47.8397Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M151.837 41.8828C151.837 41.8828 153.678 33.9447 165.5 35.1372C165.5 35.1372 163.153 45.4014 151.837 41.8828Z", fill: "#CADD62" }), /* @__PURE__ */ l.createElement("path", { d: "M151.926 41.5593C151.843 41.7973 151.405 42.0112 151.405 42.0112C151.562 42.0593 151.789 42.086 151.94 42.1315L160.991 37.5943L151.926 41.5593Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M143.879 34.0303C143.804 34.0303 143.728 34.0063 143.663 33.9581C143.509 33.8405 143.482 33.6213 143.601 33.4715C143.701 33.3432 146.072 30.6909 150.708 29.1482C150.892 29.0867 151.129 28.8167 151.191 28.9985C151.254 29.1803 151.154 29.3782 150.97 29.4397C146.534 30.9128 144.179 33.8672 144.155 33.8993C144.085 33.9875 143.982 34.033 143.877 34.033L143.879 34.0303Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M149.539 29.7819C149.539 29.7819 150.851 24.1217 159.281 24.972C159.281 24.972 157.61 32.2924 149.539 29.7819Z", fill: "#CADD62" }), /* @__PURE__ */ l.createElement("path", { d: "M149.601 29.5519C149.542 29.7204 149.229 29.8728 149.229 29.8728C149.339 29.9075 149.501 29.9262 149.612 29.9583L156.065 26.7232L149.601 29.5519Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M139.171 30.5546C139.171 30.5546 140.127 14.0421 124.363 11.3684C124.363 11.3684 122.821 27.3462 139.171 30.5546Z", fill: "#CADD62" }), /* @__PURE__ */ l.createElement("path", { d: "M137.918 28.3301C137.17 27.1483 136.138 25.5923 135.031 24.0923C133.927 22.5897 132.749 21.1433 131.821 20.1006C131.359 19.5765 130.962 19.1514 130.681 18.8573C130.4 18.5632 130.238 18.3948 130.238 18.3948C130.238 18.3948 130.387 18.5739 130.649 18.8841C130.908 19.1969 131.275 19.646 131.699 20.1968C132.555 21.293 133.63 22.8063 134.623 24.365C135.62 25.9238 136.538 27.528 137.199 28.7445C137.531 29.3541 137.761 29.9209 137.947 30.2845C137.961 30.3113 139.554 31.5171 139.827 31.5732L139.565 30.7738C139.565 30.7738 139.017 30.1161 138.806 29.7685C138.598 29.4236 138.29 28.921 137.915 28.3301H137.918Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M143.955 50.6792C144.06 50.6792 144.166 50.6471 144.257 50.5776C144.471 50.4118 144.511 50.107 144.344 49.8931C144.203 49.714 140.879 45.9922 134.377 43.8319C134.121 43.7464 133.786 43.3667 133.7 43.6207C133.613 43.8747 133.751 44.1528 134.01 44.2383C140.231 46.3051 143.534 50.4492 143.566 50.4893C143.663 50.6123 143.809 50.6765 143.955 50.6765V50.6792Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M136.016 44.7222C136.016 44.7222 134.175 36.7842 122.354 37.9766C122.354 37.9766 124.7 48.2408 136.016 44.7222Z", fill: "#CADD62" }), /* @__PURE__ */ l.createElement("path", { d: "M135.928 44.4014C136.011 44.6394 136.449 44.8533 136.449 44.8533C136.292 44.9014 136.065 44.9281 135.914 44.9736L126.863 40.4364L135.928 44.4014Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M134.408 49.1926C134.408 49.1926 130.231 46.1847 124.512 48.3611C124.512 48.3611 128.913 54.0881 134.408 49.1926Z", fill: "#CADD62" }), /* @__PURE__ */ l.createElement("path", { d: "M126.112 60.3043C126.112 60.3043 131.364 54.8955 139.84 54.0614C148.316 53.2298 160.081 54.8233 163.934 60.3043", fill: "#FDE8D2" }), /* @__PURE__ */ l.createElement("path", { d: "M156.832 102H132.371C130.729 102 129.36 100.759 129.215 99.1419L126.109 64.7587H163.091L159.986 99.1419C159.84 100.759 158.471 102 156.829 102H156.832Z", fill: "#E8E2F0" }), /* @__PURE__ */ l.createElement("path", { d: "M165.195 59.3472H124.012V64.756H165.195V59.3472Z", fill: "#C1B7EA" }), /* @__PURE__ */ l.createElement("path", { d: "M64.0537 60.2642C64.0537 60.2642 69.3056 54.8554 77.7814 54.0213C86.2573 53.1897 98.022 54.7832 101.875 60.2642H64.0537Z", fill: "#FDE8D2" }), /* @__PURE__ */ l.createElement("path", { d: "M94.7764 101.995H70.3154C68.6737 101.995 67.3047 100.754 67.1589 99.1365L64.0537 64.7533H101.035L97.9302 99.1365C97.7844 100.754 96.4154 101.995 94.7737 101.995H94.7764Z", fill: "#E8E2F0" }), /* @__PURE__ */ l.createElement("path", { d: "M102.216 59.3418H62.8739C62.3654 59.3418 61.9531 59.75 61.9531 60.2535V63.8389C61.9531 64.3424 62.3654 64.7506 62.8739 64.7506H102.216C102.724 64.7506 103.136 64.3424 103.136 63.8389V60.2535C103.136 59.75 102.724 59.3418 102.216 59.3418Z", fill: "#C1B7EA" }), /* @__PURE__ */ l.createElement("path", { d: "M81.9509 53.8581C81.851 51.6898 81.851 49.7461 81.9509 48.083C81.9914 47.4066 82.0292 46.7008 82.067 45.9735C82.3154 41.2679 82.6233 35.4126 84.265 30.7283L85.3909 31.116C83.8032 35.6398 83.5008 41.4042 83.2551 46.035C83.2173 46.7649 83.1795 47.4761 83.139 48.1552C83.0418 49.7781 83.0418 51.6791 83.139 53.8073L81.9482 53.8608L81.9509 53.8581Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M81.9671 48.2622C81.1435 45.0698 76.3318 39.3027 76.2832 39.2466L77.2013 38.4926C77.4065 38.7359 82.2344 44.5244 83.1228 47.9707L81.9671 48.2622Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M83.136 43.8747L82.6797 43.1127L84.0109 42.3294C85.3421 41.546 86.8137 41.03 88.3447 40.808L83.136 43.8747Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M84.0974 33.1453C84.0974 33.1453 78.2839 15.8281 99.6397 12.4913C99.6397 12.4913 101.435 30.9208 84.0974 33.1453Z", fill: "#CADD62" }), /* @__PURE__ */ l.createElement("path", { d: "M84.0975 33.5865C84.0138 33.5865 83.9274 33.5624 83.8518 33.5143C83.6466 33.3806 83.5872 33.1052 83.7249 32.902L92.4411 19.7824C92.5761 19.5792 92.8542 19.523 93.0594 19.6567C93.2646 19.7904 93.324 20.0658 93.1863 20.269L84.4702 33.3886C84.3837 33.5169 84.2406 33.5891 84.0975 33.5891V33.5865Z", fill: "#3E8D42" }), /* @__PURE__ */ l.createElement("path", { d: "M78.2565 40.4364C78.2565 40.4364 79.3069 25.4478 65.0175 22.8464C65.0175 22.8464 63.4379 37.3429 78.2565 40.4364Z", fill: "#CADD62" }), /* @__PURE__ */ l.createElement("path", { d: "M77.838 40.8695C77.6976 40.8695 77.5572 40.8027 77.4708 40.6797L71.6924 32.4609C71.552 32.2604 71.6006 31.985 71.8031 31.8459C72.0057 31.7069 72.2838 31.755 72.4242 31.9556L78.2026 40.1744C78.343 40.3749 78.2944 40.6503 78.0919 40.7893C78.0136 40.8428 77.9245 40.8695 77.838 40.8695Z", fill: "#3E8D42" })), /* @__PURE__ */ l.createElement("defs", null, /* @__PURE__ */ l.createElement("clipPath", { id: "clip0_6646_71153" }, /* @__PURE__ */ l.createElement("rect", { width: 165, height: 102, fill: "white", transform: "translate(0.5)" })))), Cw = _(ww), yw = ({ data: { label: e, url: t }, oneTimeVariant: a }) => {
|
|
8873
|
-
const [o, s] = Et(!1), u =
|
|
8873
|
+
const [o, s] = Et(!1), u = r5(), { emit: h } = io(), p = () => {
|
|
8874
8874
|
u("click", {
|
|
8875
8875
|
main: [
|
|
8876
|
-
new
|
|
8876
|
+
new G0({
|
|
8877
8877
|
name: "test_modal_recurring",
|
|
8878
8878
|
value: "clicked"
|
|
8879
8879
|
})
|
|
@@ -8882,7 +8882,7 @@ const sw = "_root_b6qm2_146", cw = {
|
|
|
8882
8882
|
}, x = () => {
|
|
8883
8883
|
u("click", {
|
|
8884
8884
|
main: [
|
|
8885
|
-
new
|
|
8885
|
+
new G0({
|
|
8886
8886
|
name: "test_modal_onetime",
|
|
8887
8887
|
value: "clicked"
|
|
8888
8888
|
})
|
|
@@ -8891,13 +8891,13 @@ const sw = "_root_b6qm2_146", cw = {
|
|
|
8891
8891
|
};
|
|
8892
8892
|
return a === "popup" ? /* @__PURE__ */ ae(An, { className: qt.root, children: [
|
|
8893
8893
|
/* @__PURE__ */ y(
|
|
8894
|
-
|
|
8894
|
+
rh,
|
|
8895
8895
|
{
|
|
8896
8896
|
open: o,
|
|
8897
8897
|
sheetClassName: qt.sheet,
|
|
8898
8898
|
contentClassName: qt.sheet__content,
|
|
8899
8899
|
footerClassName: qt.sheet__footer,
|
|
8900
|
-
header: /* @__PURE__ */ y("div", { className: qt.sheet__header, children: /* @__PURE__ */ y(
|
|
8900
|
+
header: /* @__PURE__ */ y("div", { className: qt.sheet__header, children: /* @__PURE__ */ y(ih, { icon: "cross", size: "medium", onClick: () => s(!1) }) }),
|
|
8901
8901
|
content: /* @__PURE__ */ ae(Qr, { children: [
|
|
8902
8902
|
/* @__PURE__ */ y("div", { className: qt.sheet__image, children: /* @__PURE__ */ y(Cw, {}) }),
|
|
8903
8903
|
/* @__PURE__ */ ae("div", { className: qt.sheet__body, children: [
|
|
@@ -8911,7 +8911,7 @@ const sw = "_root_b6qm2_146", cw = {
|
|
|
8911
8911
|
/* @__PURE__ */ ae("div", { className: qt.sheet__actions, children: [
|
|
8912
8912
|
/* @__PURE__ */ y(ci, { text: "Regelmäßig fördern", onClick: p }),
|
|
8913
8913
|
/* @__PURE__ */ y(
|
|
8914
|
-
|
|
8914
|
+
ah,
|
|
8915
8915
|
{
|
|
8916
8916
|
text: "Einmalig fördern",
|
|
8917
8917
|
onClick: x,
|
|
@@ -8970,7 +8970,7 @@ const sw = "_root_b6qm2_146", cw = {
|
|
|
8970
8970
|
u && u(!h);
|
|
8971
8971
|
};
|
|
8972
8972
|
return /* @__PURE__ */ y(
|
|
8973
|
-
|
|
8973
|
+
oh,
|
|
8974
8974
|
{
|
|
8975
8975
|
headerTitle: o,
|
|
8976
8976
|
onClose: p,
|
|
@@ -8984,7 +8984,7 @@ const sw = "_root_b6qm2_146", cw = {
|
|
|
8984
8984
|
text: e
|
|
8985
8985
|
}
|
|
8986
8986
|
) }),
|
|
8987
|
-
modalBody: /* @__PURE__ */ y(
|
|
8987
|
+
modalBody: /* @__PURE__ */ y(a5, { children: /* @__PURE__ */ y(i5, { className: Ya.root, children: /* @__PURE__ */ ae(Qr, { children: [
|
|
8988
8988
|
/* @__PURE__ */ ae("div", { className: Ya.root__blockHeader, children: [
|
|
8989
8989
|
/* @__PURE__ */ y(Ce, { type: "body-regular", children: s }),
|
|
8990
8990
|
/* @__PURE__ */ y(Ce, { type: "body-regular", children: a })
|
|
@@ -9036,7 +9036,7 @@ const sw = "_root_b6qm2_146", cw = {
|
|
|
9036
9036
|
className: Je(Gn.root, { [Gn["root--stickyButton"]]: h }),
|
|
9037
9037
|
children: [
|
|
9038
9038
|
a ? /* @__PURE__ */ y(
|
|
9039
|
-
|
|
9039
|
+
sh,
|
|
9040
9040
|
{
|
|
9041
9041
|
onChange: s,
|
|
9042
9042
|
id: "legal_checkbox",
|
|
@@ -9097,7 +9097,7 @@ const sw = "_root_b6qm2_146", cw = {
|
|
|
9097
9097
|
selectablePills: t,
|
|
9098
9098
|
selectedPills: a
|
|
9099
9099
|
}) => /* @__PURE__ */ y(An, { children: /* @__PURE__ */ y(
|
|
9100
|
-
|
|
9100
|
+
ch,
|
|
9101
9101
|
{
|
|
9102
9102
|
className: Yw.root,
|
|
9103
9103
|
selectedItems: a,
|
|
@@ -9112,7 +9112,7 @@ const sw = "_root_b6qm2_146", cw = {
|
|
|
9112
9112
|
switcherToggle: t,
|
|
9113
9113
|
value: a
|
|
9114
9114
|
}) => /* @__PURE__ */ y(
|
|
9115
|
-
|
|
9115
|
+
lh,
|
|
9116
9116
|
{
|
|
9117
9117
|
className: Kw.root,
|
|
9118
9118
|
items: t,
|
|
@@ -9130,7 +9130,7 @@ const sw = "_root_b6qm2_146", cw = {
|
|
|
9130
9130
|
frequency: t,
|
|
9131
9131
|
items: a
|
|
9132
9132
|
}) => {
|
|
9133
|
-
const o = xh(), s =
|
|
9133
|
+
const o = xh(), s = r5(), u = (R) => R.map((F) => ({
|
|
9134
9134
|
item_name: F.id,
|
|
9135
9135
|
price: Number(F.value)
|
|
9136
9136
|
})), h = Xa(
|
|
@@ -9286,7 +9286,7 @@ const sw = "_root_b6qm2_146", cw = {
|
|
|
9286
9286
|
k("begin_checkout", j.amount);
|
|
9287
9287
|
const ke = ((Ne = j == null ? void 0 : j.selectedPills[0]) == null ? void 0 : Ne.id) || tC(`${j.amount}`, j.toggle);
|
|
9288
9288
|
ue({
|
|
9289
|
-
getHostedPage: async () => await
|
|
9289
|
+
getHostedPage: async () => await _h(ke),
|
|
9290
9290
|
layout: nl.IN_APP,
|
|
9291
9291
|
onError: p,
|
|
9292
9292
|
onLoaded: () => Z(j.amount),
|
|
@@ -9336,7 +9336,7 @@ const sw = "_root_b6qm2_146", cw = {
|
|
|
9336
9336
|
return eC(rt, hn), /* @__PURE__ */ ae("div", { className: Je({ [N2.root__stickyButton]: R }), children: [
|
|
9337
9337
|
/* @__PURE__ */ y(Aw, { data: u }),
|
|
9338
9338
|
/* @__PURE__ */ ae("div", { className: N2.root__body, children: [
|
|
9339
|
-
/* @__PURE__ */ y(
|
|
9339
|
+
/* @__PURE__ */ y(uh, { className: Je(N2.root__form), children: h.map((j) => {
|
|
9340
9340
|
const ke = e[j];
|
|
9341
9341
|
switch (j) {
|
|
9342
9342
|
case kn.headline:
|
|
@@ -10930,16 +10930,16 @@ const Sy = "_root_1r37k_146", Gc = {
|
|
|
10930
10930
|
}, Zy = "_root_od4c5_146", Dy = {
|
|
10931
10931
|
root: Zy
|
|
10932
10932
|
}, Wy = () => {
|
|
10933
|
-
const [e, t] = Et(null), [a, o] = Et(!1), { isOptedOut: s, optIn: u, optOut: h } =
|
|
10933
|
+
const [e, t] = Et(null), [a, o] = Et(!1), { isOptedOut: s, optIn: u, optOut: h } = X7();
|
|
10934
10934
|
st(() => {
|
|
10935
|
-
|
|
10935
|
+
wh().then((v) => {
|
|
10936
10936
|
t(v), o(v.allow_analytics);
|
|
10937
10937
|
}).catch((v) => {
|
|
10938
10938
|
console.error(v);
|
|
10939
10939
|
});
|
|
10940
10940
|
}, []);
|
|
10941
10941
|
const p = () => {
|
|
10942
|
-
|
|
10942
|
+
Ch({ allow_analytics: !(e != null && e.allow_analytics) }).then(() => {
|
|
10943
10943
|
o(!a);
|
|
10944
10944
|
}).catch((v) => {
|
|
10945
10945
|
console.error(v);
|
|
@@ -10952,7 +10952,7 @@ const Sy = "_root_1r37k_146", Gc = {
|
|
|
10952
10952
|
/* @__PURE__ */ ae("div", { children: [
|
|
10953
10953
|
/* @__PURE__ */ y(Ce, { type: "body-regular", children: "Möchtest du das Profil-Tracking deaktivieren?" }),
|
|
10954
10954
|
/* @__PURE__ */ y(
|
|
10955
|
-
|
|
10955
|
+
q0,
|
|
10956
10956
|
{
|
|
10957
10957
|
onChange: p,
|
|
10958
10958
|
label: "Profil-Tracking",
|
|
@@ -10963,7 +10963,7 @@ const Sy = "_root_1r37k_146", Gc = {
|
|
|
10963
10963
|
/* @__PURE__ */ ae("div", { children: [
|
|
10964
10964
|
/* @__PURE__ */ y(Ce, { type: "body-regular", children: "Sie können der Verarbeitung Ihrer personenbezogenen Daten durch Snowplow Analytics jederzeit mittels des nachfolgenden Toggles widersprechen:" }),
|
|
10965
10965
|
/* @__PURE__ */ y(
|
|
10966
|
-
|
|
10966
|
+
q0,
|
|
10967
10967
|
{
|
|
10968
10968
|
onChange: x,
|
|
10969
10969
|
label: "Profil-Tracking",
|
|
@@ -10980,7 +10980,7 @@ const Sy = "_root_1r37k_146", Gc = {
|
|
|
10980
10980
|
title: s
|
|
10981
10981
|
}) => {
|
|
10982
10982
|
const { showConsentManager: u } = Eh(), [h, p] = Et(!1), x = () => {
|
|
10983
|
-
|
|
10983
|
+
yh().then(() => {
|
|
10984
10984
|
p(!0);
|
|
10985
10985
|
}).catch((v) => {
|
|
10986
10986
|
console.error(v);
|
|
@@ -11017,7 +11017,7 @@ const Sy = "_root_1r37k_146", Gc = {
|
|
|
11017
11017
|
return st(() => {
|
|
11018
11018
|
u(e);
|
|
11019
11019
|
}, [e]), /* @__PURE__ */ ae("div", { className: qc.root, children: [
|
|
11020
|
-
/* @__PURE__ */ y(
|
|
11020
|
+
/* @__PURE__ */ y(gh, { className: qc.staticHtml, html: s }),
|
|
11021
11021
|
/* @__PURE__ */ y(Xt, {}),
|
|
11022
11022
|
/* @__PURE__ */ y(zy, { body: o.body, title: o.title }),
|
|
11023
11023
|
/* @__PURE__ */ y(Xt, {}),
|
|
@@ -11063,7 +11063,7 @@ const Sy = "_root_1r37k_146", Gc = {
|
|
|
11063
11063
|
}, qy = "_root_17jeq_146", Ky = {
|
|
11064
11064
|
root: qy
|
|
11065
11065
|
}, Xc = ({ title: e }) => e ? /* @__PURE__ */ ae(Qr, { children: [
|
|
11066
|
-
/* @__PURE__ */ y(
|
|
11066
|
+
/* @__PURE__ */ y(dh, { className: Ky.root, as: "h2", headline: e }),
|
|
11067
11067
|
/* @__PURE__ */ y(Xt, {})
|
|
11068
11068
|
] }) : null, Xy = "_root_15gmf_146", Qy = {
|
|
11069
11069
|
root: Xy
|
|
@@ -11076,7 +11076,7 @@ const Sy = "_root_1r37k_146", Gc = {
|
|
|
11076
11076
|
var u;
|
|
11077
11077
|
const s = $9(800);
|
|
11078
11078
|
return /* @__PURE__ */ ae(
|
|
11079
|
-
|
|
11079
|
+
a5,
|
|
11080
11080
|
{
|
|
11081
11081
|
borderRadius: s,
|
|
11082
11082
|
withoutPadding: !0,
|
|
@@ -11084,7 +11084,7 @@ const Sy = "_root_1r37k_146", Gc = {
|
|
|
11084
11084
|
className: Qy.root,
|
|
11085
11085
|
children: [
|
|
11086
11086
|
/* @__PURE__ */ y(Xc, { title: (u = e == null ? void 0 : e.cardHeader) == null ? void 0 : u.title }),
|
|
11087
|
-
/* @__PURE__ */ y(
|
|
11087
|
+
/* @__PURE__ */ y(i5, { withoutPadding: !0, children: e && e.blocks.map((h, p) => {
|
|
11088
11088
|
switch (h.__component) {
|
|
11089
11089
|
case "core-components.sponsor-card":
|
|
11090
11090
|
return /* @__PURE__ */ y(
|
|
@@ -11748,7 +11748,7 @@ const _$ = (e, t) => /* @__PURE__ */ l.createElement("svg", { width: 320, height
|
|
|
11748
11748
|
/* @__PURE__ */ ae("div", { className: Re.avatar, children: [
|
|
11749
11749
|
/* @__PURE__ */ y(y$, { "aria-hidden": "true", className: Re.avatar__decoration }),
|
|
11750
11750
|
/* @__PURE__ */ y("div", { className: Re.avatar__container, children: /* @__PURE__ */ y(
|
|
11751
|
-
|
|
11751
|
+
fh,
|
|
11752
11752
|
{
|
|
11753
11753
|
alt: `${v.profile.title} logo`,
|
|
11754
11754
|
type: "business",
|
|
@@ -11821,7 +11821,7 @@ const _$ = (e, t) => /* @__PURE__ */ l.createElement("svg", { width: 320, height
|
|
|
11821
11821
|
)
|
|
11822
11822
|
] }),
|
|
11823
11823
|
/* @__PURE__ */ y(
|
|
11824
|
-
|
|
11824
|
+
hh,
|
|
11825
11825
|
{
|
|
11826
11826
|
leftIconLarge: "checkmark_circle",
|
|
11827
11827
|
leftIconClassName: Re.snackbarIcon,
|
|
@@ -11853,13 +11853,13 @@ const _$ = (e, t) => /* @__PURE__ */ l.createElement("svg", { width: 320, height
|
|
|
11853
11853
|
translations: t,
|
|
11854
11854
|
onRedeemClick: h
|
|
11855
11855
|
}
|
|
11856
|
-
) : /* @__PURE__ */ y("div", { className: tx.loader, role: "status", "aria-label": "laden", "aria-busy": "true", children: /* @__PURE__ */ y(
|
|
11856
|
+
) : /* @__PURE__ */ y("div", { className: tx.loader, role: "status", "aria-label": "laden", "aria-busy": "true", children: /* @__PURE__ */ y(vh, {}) });
|
|
11857
11857
|
}, z$ = "_root_d8zmh_146", Y$ = "_container_d8zmh_153", G$ = "_logo_d8zmh_157", U2 = {
|
|
11858
11858
|
root: z$,
|
|
11859
11859
|
container: Y$,
|
|
11860
11860
|
logo: G$
|
|
11861
11861
|
}, cR = (e) => /* @__PURE__ */ y("div", { className: U2.root, children: /* @__PURE__ */ ae("div", { className: U2.container, children: [
|
|
11862
|
-
/* @__PURE__ */ y("div", { className: U2.logo, children: /* @__PURE__ */ y(
|
|
11862
|
+
/* @__PURE__ */ y("div", { className: U2.logo, children: /* @__PURE__ */ y(mh, { "aria-label": "nebenan.de logo" }) }),
|
|
11863
11863
|
/* @__PURE__ */ y(U$, { ...e })
|
|
11864
11864
|
] }) });
|
|
11865
11865
|
export {
|