@calcom/atoms 1.0.97-beta-1 → 1.0.97-beta-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/dist/{AddressInput-MxFRI9cW.js → AddressInput-LPJtHhnk.js} +9 -8
- package/dist/{AlbyPriceComponent-B7reGN3c.js → AlbyPriceComponent-VO8iEUWb.js} +53 -52
- package/dist/AppCard-cTyZ7qdO.js +162 -0
- package/dist/AppListCardPlatformWrapper-ErlT9yQV.js +9 -0
- package/dist/{AppListCardWebWrapper-3ZmWWW_L.js → AppListCardWebWrapper-nLRKr-Qu.js} +10 -9
- package/dist/AppSettingsInterface-1iuEhZRw.js +23 -0
- package/dist/AppSettingsInterface-9nYzo3Ef.js +29 -0
- package/dist/AppSettingsInterface-Y7iloRRd.js +75 -0
- package/dist/{DateRangePicker-GTmIREkF.js → DateRangePicker-zh9gM3ld.js} +784 -783
- package/dist/EventTypeAppCardInterface-0tcE4MHz.js +32 -0
- package/dist/EventTypeAppCardInterface-2xzo_8rb.js +453 -0
- package/dist/EventTypeAppCardInterface-3xv7ZK_G.js +41 -0
- package/dist/{EventTypeAppCardInterface-h1_dvQG9.js → EventTypeAppCardInterface-4dkcilsD.js} +17 -16
- package/dist/EventTypeAppCardInterface-A7WN14Mn.js +34 -0
- package/dist/EventTypeAppCardInterface-BbJv67UJ.js +49 -0
- package/dist/EventTypeAppCardInterface-D42_2WwA.js +42 -0
- package/dist/EventTypeAppCardInterface-F9zy0_KX.js +24 -0
- package/dist/EventTypeAppCardInterface-LB9yguQb.js +39 -0
- package/dist/EventTypeAppCardInterface-PGX33FFN.js +42 -0
- package/dist/EventTypeAppCardInterface-PaCD78C8.js +33 -0
- package/dist/EventTypeAppCardInterface-QiaQ-GmU.js +51 -0
- package/dist/EventTypeAppCardInterface-S5bK4a_4.js +24 -0
- package/dist/EventTypeAppCardInterface-SXV5NhVT.js +24 -0
- package/dist/EventTypeAppCardInterface-SdCRwS0b.js +34 -0
- package/dist/EventTypeAppCardInterface-TV1GspR-.js +41 -0
- package/dist/EventTypeAppCardInterface-WrBEdjss.js +86 -0
- package/dist/EventTypeAppCardInterface-Xl60vAW7.js +34 -0
- package/dist/EventTypeAppCardInterface-bY6zHj23.js +34 -0
- package/dist/EventTypeAppCardInterface-bpyx9DoB.js +34 -0
- package/dist/EventTypeAppCardInterface-dSD0TA4p.js +34 -0
- package/dist/EventTypeAppCardInterface-hulmgxtc.js +24 -0
- package/dist/EventTypeAppCardInterface-n8fugRqn.js +32 -0
- package/dist/EventTypeAppCardInterface-qqnnC5vq.js +24 -0
- package/dist/EventTypeAppCardInterface-rVMclz_u.js +34 -0
- package/dist/EventTypeAppCardInterface-zXewU-bg.js +31 -0
- package/dist/EventTypeAppSettingsInterface-2oHFXxC0.js +221 -0
- package/dist/{EventTypeAppSettingsInterface-cXn8l171.js → EventTypeAppSettingsInterface-5hQr6WTa.js} +7 -6
- package/dist/{EventTypeAppSettingsInterface-9raltJka.js → EventTypeAppSettingsInterface-CwuQI4XA.js} +39 -38
- package/dist/EventTypeAppSettingsInterface-HGPywPcZ.js +43 -0
- package/dist/EventTypeAppSettingsInterface-MLox-zIr.js +78 -0
- package/dist/EventTypeAppSettingsInterface-azMpYm3v.js +48 -0
- package/dist/{EventTypeAppSettingsInterface-Hre_gkKY.js → EventTypeAppSettingsInterface-ccBCyO4S.js} +6 -5
- package/dist/EventTypeAppSettingsInterface-jCOnJXVq.js +42 -0
- package/dist/EventTypeAppSettingsInterface-rUp-tPsO.js +72 -0
- package/dist/{EventTypeAppSettingsInterface-2wY9yPcf.js → EventTypeAppSettingsInterface-sOLaF1pR.js} +6 -5
- package/dist/{EventTypeAppSettingsInterface-eKcoM9Xa.js → EventTypeAppSettingsInterface-v8a7XnIr.js} +6 -5
- package/dist/{EventTypeAppSettingsInterface-Fn4VS9pl.js → EventTypeAppSettingsInterface-xlYsU6Vi.js} +72 -71
- package/dist/InstallAppButton-34JAPxwK.js +14 -0
- package/dist/{InstallAppButton-Ho1cJkMm.js → InstallAppButton-JXhBVaYJ.js} +8 -8
- package/dist/InstallAppButton-ihX89_K4.js +58 -0
- package/dist/InstallAppButton-zjD9dbE7.js +14 -0
- package/dist/{PhoneInput-DNq9V1s5.js → PhoneInput-saKL4loW.js} +97 -96
- package/dist/{StripePaymentForm-lGjXjqLX.js → StripePaymentForm-dfxxUj2E.js} +100 -99
- package/dist/cal-atoms.js +6 -6
- package/dist/{framer-features--8Hvyv45.js → framer-features-K_TB52kd.js} +11 -11
- package/dist/{index-fsA0kHyy.js → index-81plgMPe.js} +1 -1
- package/dist/{index-cfay3a2W.js → index-IPz9Apiv.js} +1 -1
- package/dist/{index-Bj_kD41n.js → index-engsJK56.js} +108 -107
- package/dist/{index-OYPUcfnB.js → index-ite7gJ1a.js} +2 -2
- package/dist/{index-M6WUZF2M.js → index-ykl8OQ78.js} +66312 -66946
- package/dist/{isSupportedCountry-aizVo7Oo.js → isSupportedCountry-RPoEk3Bi.js} +1 -1
- package/dist/{useIsAppEnabled-OmKRsE8Z.js → useIsAppEnabled-jQTpW-EN.js} +1 -1
- package/globals.min.css +22 -2
- package/package.json +1 -1
- package/dist/AppCard-ImfOuDL_.js +0 -161
- package/dist/AppListCardPlatformWrapper-Kgk0fNGU.js +0 -8
- package/dist/AppSettingsInterface-4JMt22o1.js +0 -22
- package/dist/AppSettingsInterface-8TqZVnNL.js +0 -74
- package/dist/AppSettingsInterface-MQ_fkHJx.js +0 -28
- package/dist/EventTypeAppCardInterface-0O_KGHxp.js +0 -40
- package/dist/EventTypeAppCardInterface-0Z1NiGs_.js +0 -23
- package/dist/EventTypeAppCardInterface-0bkDiimc.js +0 -33
- package/dist/EventTypeAppCardInterface-4bmGNjTO.js +0 -452
- package/dist/EventTypeAppCardInterface-6Hs2WiRN.js +0 -23
- package/dist/EventTypeAppCardInterface-6QhUsfck.js +0 -38
- package/dist/EventTypeAppCardInterface-CSZJxMAi.js +0 -48
- package/dist/EventTypeAppCardInterface-D5NE1JH-.js +0 -33
- package/dist/EventTypeAppCardInterface-GpzdxrTy.js +0 -41
- package/dist/EventTypeAppCardInterface-HDqpiB_E.js +0 -33
- package/dist/EventTypeAppCardInterface-IsJt3HGB.js +0 -30
- package/dist/EventTypeAppCardInterface-K_hBnKz2.js +0 -23
- package/dist/EventTypeAppCardInterface-QuKynjTF.js +0 -23
- package/dist/EventTypeAppCardInterface-Uk-367hU.js +0 -33
- package/dist/EventTypeAppCardInterface-UrOLCYHp.js +0 -31
- package/dist/EventTypeAppCardInterface-WhX3MQGL.js +0 -33
- package/dist/EventTypeAppCardInterface-_a5TsCGC.js +0 -41
- package/dist/EventTypeAppCardInterface-_e0oMnpF.js +0 -33
- package/dist/EventTypeAppCardInterface-bfOpI-Cg.js +0 -23
- package/dist/EventTypeAppCardInterface-dQBcQRe5.js +0 -85
- package/dist/EventTypeAppCardInterface-jDIOSF5p.js +0 -31
- package/dist/EventTypeAppCardInterface-pgZqPYuy.js +0 -40
- package/dist/EventTypeAppCardInterface-rJaUyBaK.js +0 -32
- package/dist/EventTypeAppCardInterface-sAMfJ4Zp.js +0 -50
- package/dist/EventTypeAppCardInterface-xkCoWuR1.js +0 -33
- package/dist/EventTypeAppSettingsInterface-0MtsVqm9.js +0 -71
- package/dist/EventTypeAppSettingsInterface-4AylQiBj.js +0 -47
- package/dist/EventTypeAppSettingsInterface-Br_BvYU4.js +0 -77
- package/dist/EventTypeAppSettingsInterface-CkbhDi5X.js +0 -42
- package/dist/EventTypeAppSettingsInterface-nwSw369C.js +0 -220
- package/dist/EventTypeAppSettingsInterface-x-GvtrwY.js +0 -41
- package/dist/InstallAppButton-7AfVFA1y.js +0 -13
- package/dist/InstallAppButton-PfrQUF7k.js +0 -13
- package/dist/InstallAppButton-R3hBMMGj.js +0 -57
|
@@ -1,43 +1,44 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
import { jsxs as c, jsx as i, Fragment as f } from "react/jsx-runtime";
|
|
2
|
+
import { av as S, aw as j, ax as T, as as U, ay as A, az as R, Z as u, z as I, aA as _, y as w, aB as x, aC as $, aD as V, R as z } from "./index-ykl8OQ78.js";
|
|
3
|
+
import { memo as Q, useState as q } from "react";
|
|
4
|
+
var M = Math.floor, Z = Math.random;
|
|
5
|
+
function E(t, s) {
|
|
6
|
+
return t + M(Z() * (s - t + 1));
|
|
6
7
|
}
|
|
7
|
-
var
|
|
8
|
-
function G(
|
|
9
|
-
var o = -1, n =
|
|
10
|
-
for (
|
|
11
|
-
var e =
|
|
12
|
-
|
|
8
|
+
var D = E, F = D;
|
|
9
|
+
function G(t, s) {
|
|
10
|
+
var o = -1, n = t.length, a = n - 1;
|
|
11
|
+
for (s = s === void 0 ? n : s; ++o < s; ) {
|
|
12
|
+
var e = F(o, a), r = t[e];
|
|
13
|
+
t[e] = t[o], t[o] = r;
|
|
13
14
|
}
|
|
14
|
-
return
|
|
15
|
+
return t.length = s, t;
|
|
15
16
|
}
|
|
16
|
-
var
|
|
17
|
-
function
|
|
18
|
-
return
|
|
17
|
+
var C = G, W = S(), O = C;
|
|
18
|
+
function H(t) {
|
|
19
|
+
return O(W(t));
|
|
19
20
|
}
|
|
20
|
-
var
|
|
21
|
-
function
|
|
22
|
-
return
|
|
23
|
-
return
|
|
21
|
+
var P = H, K = j;
|
|
22
|
+
function Y(t, s) {
|
|
23
|
+
return K(s, function(o) {
|
|
24
|
+
return t[o];
|
|
24
25
|
});
|
|
25
26
|
}
|
|
26
|
-
var
|
|
27
|
-
function
|
|
28
|
-
return
|
|
27
|
+
var J = Y, X = J, B = T();
|
|
28
|
+
function ee(t) {
|
|
29
|
+
return t == null ? [] : X(t, B(t));
|
|
29
30
|
}
|
|
30
|
-
var
|
|
31
|
-
function
|
|
32
|
-
return
|
|
31
|
+
var te = ee, ie = C, se = te;
|
|
32
|
+
function re(t) {
|
|
33
|
+
return ie(se(t));
|
|
33
34
|
}
|
|
34
|
-
var
|
|
35
|
-
function
|
|
36
|
-
var
|
|
37
|
-
return
|
|
35
|
+
var ae = re, le = P, oe = ae, de = A;
|
|
36
|
+
function ne(t) {
|
|
37
|
+
var s = de(t) ? le : oe;
|
|
38
|
+
return s(t);
|
|
38
39
|
}
|
|
39
|
-
var
|
|
40
|
-
const
|
|
40
|
+
var ce = ne;
|
|
41
|
+
const me = /* @__PURE__ */ U(ce), g = _("", {
|
|
41
42
|
// Variants won't have any style by default. Style will only be applied if the variants are combined.
|
|
42
43
|
// So, style is defined in compoundVariants.
|
|
43
44
|
variants: {
|
|
@@ -119,9 +120,9 @@ const ne = /* @__PURE__ */ S(de), p = R("", {
|
|
|
119
120
|
}
|
|
120
121
|
]
|
|
121
122
|
});
|
|
122
|
-
function
|
|
123
|
-
image:
|
|
124
|
-
title:
|
|
123
|
+
function he({
|
|
124
|
+
image: t,
|
|
125
|
+
title: s,
|
|
125
126
|
icon: o,
|
|
126
127
|
description: n,
|
|
127
128
|
variant: a,
|
|
@@ -129,56 +130,56 @@ function ce({
|
|
|
129
130
|
containerProps: r,
|
|
130
131
|
imageProps: l,
|
|
131
132
|
mediaLink: d,
|
|
132
|
-
thumbnailUrl:
|
|
133
|
-
learnMore:
|
|
133
|
+
thumbnailUrl: h,
|
|
134
|
+
learnMore: m
|
|
134
135
|
}) {
|
|
135
|
-
const
|
|
136
|
-
return /* @__PURE__ */
|
|
136
|
+
const v = m && m.href.startsWith("https") ? "a" : R;
|
|
137
|
+
return /* @__PURE__ */ c(
|
|
137
138
|
"div",
|
|
138
139
|
{
|
|
139
|
-
className:
|
|
140
|
+
className: u(
|
|
140
141
|
r == null ? void 0 : r.className,
|
|
141
|
-
|
|
142
|
+
g({ variant: a, structure: "card" }),
|
|
142
143
|
"bg-default border-subtle text-default flex flex-col justify-between rounded-md border"
|
|
143
144
|
),
|
|
144
145
|
"data-testid": "card-container",
|
|
145
146
|
...r,
|
|
146
147
|
children: [
|
|
147
|
-
/* @__PURE__ */
|
|
148
|
+
/* @__PURE__ */ c("div", { children: [
|
|
148
149
|
o && o,
|
|
149
|
-
|
|
150
|
+
t && /* @__PURE__ */ i(
|
|
150
151
|
"img",
|
|
151
152
|
{
|
|
152
|
-
src:
|
|
153
|
+
src: t,
|
|
153
154
|
alt: l == null ? void 0 : l.alt,
|
|
154
|
-
className:
|
|
155
|
+
className: u(
|
|
155
156
|
l == null ? void 0 : l.className,
|
|
156
|
-
|
|
157
|
+
g({ variant: a, structure: "image" })
|
|
157
158
|
),
|
|
158
159
|
...l
|
|
159
160
|
}
|
|
160
161
|
),
|
|
161
|
-
/* @__PURE__ */
|
|
162
|
+
/* @__PURE__ */ i(
|
|
162
163
|
"h5",
|
|
163
164
|
{
|
|
164
|
-
title:
|
|
165
|
-
className:
|
|
166
|
-
|
|
165
|
+
title: s,
|
|
166
|
+
className: u(
|
|
167
|
+
g({ variant: a, structure: "title" }),
|
|
167
168
|
"text-emphasis line-clamp-1 font-bold leading-5"
|
|
168
169
|
),
|
|
169
|
-
children:
|
|
170
|
+
children: s
|
|
170
171
|
}
|
|
171
172
|
),
|
|
172
|
-
n && /* @__PURE__ */
|
|
173
|
+
n && /* @__PURE__ */ i(
|
|
173
174
|
"p",
|
|
174
175
|
{
|
|
175
176
|
title: n.toString(),
|
|
176
|
-
className:
|
|
177
|
+
className: u(g({ variant: a, structure: "description" }), "pt-1"),
|
|
177
178
|
children: n
|
|
178
179
|
}
|
|
179
180
|
)
|
|
180
181
|
] }),
|
|
181
|
-
a === "SidebarCard" && /* @__PURE__ */
|
|
182
|
+
a === "SidebarCard" && /* @__PURE__ */ c(
|
|
182
183
|
"a",
|
|
183
184
|
{
|
|
184
185
|
onClick: e == null ? void 0 : e.onClick,
|
|
@@ -188,8 +189,8 @@ function ce({
|
|
|
188
189
|
"data-testid": e == null ? void 0 : e["data-testid"],
|
|
189
190
|
className: "group relative my-3 flex aspect-video items-center overflow-hidden rounded",
|
|
190
191
|
children: [
|
|
191
|
-
/* @__PURE__ */
|
|
192
|
-
/* @__PURE__ */
|
|
192
|
+
/* @__PURE__ */ i("div", { className: "absolute inset-0 bg-black bg-opacity-50 transition group-hover:bg-opacity-40" }),
|
|
193
|
+
/* @__PURE__ */ c(
|
|
193
194
|
"svg",
|
|
194
195
|
{
|
|
195
196
|
className: "text-inverted absolute left-1/2 top-1/2 h-8 w-8 -translate-x-1/2 -translate-y-1/2 transform rounded-full shadow-lg transition-all hover:-mt-px",
|
|
@@ -197,14 +198,14 @@ function ce({
|
|
|
197
198
|
fill: "none",
|
|
198
199
|
xmlns: "http://www.w3.org/2000/svg",
|
|
199
200
|
children: [
|
|
200
|
-
/* @__PURE__ */
|
|
201
|
+
/* @__PURE__ */ i(
|
|
201
202
|
"path",
|
|
202
203
|
{
|
|
203
204
|
d: "M16 32C24.8366 32 32 24.8366 32 16C32 7.16344 24.8366 0 16 0C7.16344 0 0 7.16344 0 16C0 24.8366 7.16344 32 16 32Z",
|
|
204
205
|
fill: "white"
|
|
205
206
|
}
|
|
206
207
|
),
|
|
207
|
-
/* @__PURE__ */
|
|
208
|
+
/* @__PURE__ */ i(
|
|
208
209
|
"path",
|
|
209
210
|
{
|
|
210
211
|
d: "M12.1667 8.5L23.8334 16L12.1667 23.5V8.5Z",
|
|
@@ -218,12 +219,12 @@ function ce({
|
|
|
218
219
|
]
|
|
219
220
|
}
|
|
220
221
|
),
|
|
221
|
-
/* @__PURE__ */
|
|
222
|
+
/* @__PURE__ */ i("img", { alt: "play feature video", src: h })
|
|
222
223
|
]
|
|
223
224
|
}
|
|
224
225
|
),
|
|
225
|
-
a === "basic" && e && /* @__PURE__ */
|
|
226
|
-
|
|
226
|
+
a === "basic" && e && /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(
|
|
227
|
+
I,
|
|
227
228
|
{
|
|
228
229
|
color: "secondary",
|
|
229
230
|
href: e == null ? void 0 : e.href,
|
|
@@ -233,19 +234,19 @@ function ce({
|
|
|
233
234
|
children: e == null ? void 0 : e.child
|
|
234
235
|
}
|
|
235
236
|
) }),
|
|
236
|
-
a === "SidebarCard" && /* @__PURE__ */
|
|
237
|
-
|
|
238
|
-
|
|
237
|
+
a === "SidebarCard" && /* @__PURE__ */ c("div", { className: "mt-2 flex items-center justify-between", children: [
|
|
238
|
+
m && /* @__PURE__ */ i(
|
|
239
|
+
v,
|
|
239
240
|
{
|
|
240
|
-
href:
|
|
241
|
+
href: m.href,
|
|
241
242
|
onClick: e == null ? void 0 : e.onClick,
|
|
242
243
|
target: "_blank",
|
|
243
244
|
rel: "noreferrer",
|
|
244
245
|
className: "text-default text-xs font-medium",
|
|
245
|
-
children:
|
|
246
|
+
children: m.text
|
|
246
247
|
}
|
|
247
248
|
),
|
|
248
|
-
(e == null ? void 0 : e.child) && /* @__PURE__ */
|
|
249
|
+
(e == null ? void 0 : e.child) && /* @__PURE__ */ i(
|
|
249
250
|
"button",
|
|
250
251
|
{
|
|
251
252
|
className: "text-default hover:text-emphasis p-0 text-xs font-normal",
|
|
@@ -260,7 +261,7 @@ function ce({
|
|
|
260
261
|
}
|
|
261
262
|
);
|
|
262
263
|
}
|
|
263
|
-
const
|
|
264
|
+
const ue = [
|
|
264
265
|
{
|
|
265
266
|
id: 17,
|
|
266
267
|
thumbnailUrl: "https://img.youtube.com/vi/fMHW6jYPIb8/0.jpg",
|
|
@@ -397,38 +398,38 @@ const me = [
|
|
|
397
398
|
description: "Booking link that allows people to quickly schedule meetings.",
|
|
398
399
|
href: "https://youtu.be/VZ5PfQzzxBw?si=oB0LPSxG8dWIwg5a"
|
|
399
400
|
}
|
|
400
|
-
],
|
|
401
|
-
function
|
|
402
|
-
const { t
|
|
401
|
+
], b = me(ue).slice(0).reverse();
|
|
402
|
+
function pe() {
|
|
403
|
+
const { t } = w(), [s, o] = q(() => {
|
|
403
404
|
if (typeof window > "u")
|
|
404
|
-
return
|
|
405
|
+
return b;
|
|
405
406
|
try {
|
|
406
|
-
const e =
|
|
407
|
+
const e = x.getItem("removedTipsIds");
|
|
407
408
|
if (e !== null) {
|
|
408
409
|
const r = e.split(",").map((d) => parseInt(d, 10));
|
|
409
|
-
return
|
|
410
|
+
return b.filter((d) => r.indexOf(d.id) === -1);
|
|
410
411
|
} else
|
|
411
|
-
return
|
|
412
|
+
return b;
|
|
412
413
|
} catch {
|
|
413
|
-
return
|
|
414
|
+
return b;
|
|
414
415
|
}
|
|
415
416
|
}), n = (e) => {
|
|
416
417
|
o((r) => {
|
|
417
|
-
const l =
|
|
418
|
-
return d === -1 ? [...r] : (
|
|
418
|
+
const l = x.getItem("removedTipsIds") || "", d = r.findIndex((h) => h.id === e);
|
|
419
|
+
return d === -1 ? [...r] : (x.setItem(
|
|
419
420
|
"removedTipsIds",
|
|
420
421
|
`${r[d].id.toString()}${l.length > 0 ? `,${l}` : ""}`
|
|
421
422
|
), r.splice(d, 1), [...r]);
|
|
422
423
|
});
|
|
423
|
-
}, a =
|
|
424
|
-
return /* @__PURE__ */
|
|
424
|
+
}, a = s.slice(0).reverse();
|
|
425
|
+
return /* @__PURE__ */ i(
|
|
425
426
|
"div",
|
|
426
427
|
{
|
|
427
428
|
className: "hidden pb-4 pt-8 lg:grid",
|
|
428
429
|
style: {
|
|
429
430
|
gridTemplateColumns: "1fr"
|
|
430
431
|
},
|
|
431
|
-
children:
|
|
432
|
+
children: s.map((e) => /* @__PURE__ */ i(
|
|
432
433
|
"div",
|
|
433
434
|
{
|
|
434
435
|
className: "relative",
|
|
@@ -436,7 +437,7 @@ function he() {
|
|
|
436
437
|
gridRowStart: 1,
|
|
437
438
|
gridColumnStart: 1
|
|
438
439
|
},
|
|
439
|
-
children: /* @__PURE__ */
|
|
440
|
+
children: /* @__PURE__ */ i(
|
|
440
441
|
"div",
|
|
441
442
|
{
|
|
442
443
|
className: "relative",
|
|
@@ -445,16 +446,16 @@ function he() {
|
|
|
445
446
|
top: -a.indexOf(e) * 10,
|
|
446
447
|
opacity: `${1 - a.indexOf(e) / 7}`
|
|
447
448
|
},
|
|
448
|
-
children: /* @__PURE__ */
|
|
449
|
-
|
|
449
|
+
children: /* @__PURE__ */ i(
|
|
450
|
+
he,
|
|
450
451
|
{
|
|
451
452
|
variant: "SidebarCard",
|
|
452
453
|
thumbnailUrl: e.thumbnailUrl,
|
|
453
454
|
mediaLink: e.mediaLink,
|
|
454
455
|
title: e.title,
|
|
455
456
|
description: e.description,
|
|
456
|
-
learnMore: { href: e.href, text:
|
|
457
|
-
actionButton: { onClick: () => n(e.id), child:
|
|
457
|
+
learnMore: { href: e.href, text: t("learn_more") },
|
|
458
|
+
actionButton: { onClick: () => n(e.id), child: t("dismiss") }
|
|
458
459
|
}
|
|
459
460
|
)
|
|
460
461
|
}
|
|
@@ -465,10 +466,10 @@ function he() {
|
|
|
465
466
|
}
|
|
466
467
|
);
|
|
467
468
|
}
|
|
468
|
-
const
|
|
469
|
-
function
|
|
470
|
-
title:
|
|
471
|
-
description:
|
|
469
|
+
const ve = Q(pe);
|
|
470
|
+
function ke({
|
|
471
|
+
title: t,
|
|
472
|
+
description: s,
|
|
472
473
|
background: o,
|
|
473
474
|
features: n,
|
|
474
475
|
buttons: a,
|
|
@@ -476,35 +477,35 @@ function ge({
|
|
|
476
477
|
children: r,
|
|
477
478
|
plan: l
|
|
478
479
|
}) {
|
|
479
|
-
const { resolvedTheme: d } =
|
|
480
|
-
return l === "team" && (
|
|
481
|
-
/* @__PURE__ */
|
|
482
|
-
/* @__PURE__ */
|
|
483
|
-
/* @__PURE__ */
|
|
484
|
-
/* @__PURE__ */
|
|
480
|
+
const { resolvedTheme: d } = $(), { t: h } = w(), { isPending: m, hasTeamPlan: v } = V(), { data: k } = z.viewer.teams.getUpgradeable.useQuery(), y = `${o}${d === "dark" ? "-dark" : ""}.jpg`, N = !1, L = !!(k != null && k[0]);
|
|
481
|
+
return l === "team" && (v || L) ? /* @__PURE__ */ i(f, { children: r }) : l === "enterprise" && N ? /* @__PURE__ */ i(f, { children: r }) : m ? /* @__PURE__ */ i(f, { children: e }) : /* @__PURE__ */ c(f, { children: [
|
|
482
|
+
/* @__PURE__ */ c("div", { className: "relative flex min-h-[295px] w-full items-center justify-between overflow-hidden rounded-lg pb-10", children: [
|
|
483
|
+
/* @__PURE__ */ c("picture", { className: "absolute min-h-[295px] w-full rounded-lg object-cover", children: [
|
|
484
|
+
/* @__PURE__ */ i("source", { srcSet: y, media: "(prefers-color-scheme: dark)" }),
|
|
485
|
+
/* @__PURE__ */ i(
|
|
485
486
|
"img",
|
|
486
487
|
{
|
|
487
488
|
className: "absolute min-h-[295px] w-full select-none rounded-lg object-cover object-left md:object-center",
|
|
488
|
-
src:
|
|
489
|
+
src: y,
|
|
489
490
|
loading: "lazy",
|
|
490
|
-
alt:
|
|
491
|
+
alt: t
|
|
491
492
|
}
|
|
492
493
|
)
|
|
493
494
|
] }),
|
|
494
|
-
/* @__PURE__ */
|
|
495
|
-
/* @__PURE__ */
|
|
496
|
-
/* @__PURE__ */
|
|
495
|
+
/* @__PURE__ */ c("div", { className: "relative my-4 px-8 sm:px-14", children: [
|
|
496
|
+
/* @__PURE__ */ i("h1", { className: u("font-cal mt-4 text-3xl"), children: h(t) }),
|
|
497
|
+
/* @__PURE__ */ i("p", { className: u("mb-8 mt-4 max-w-sm"), children: h(s) }),
|
|
497
498
|
a
|
|
498
499
|
] })
|
|
499
500
|
] }),
|
|
500
|
-
/* @__PURE__ */
|
|
501
|
-
|
|
502
|
-
/* @__PURE__ */
|
|
503
|
-
/* @__PURE__ */
|
|
504
|
-
] },
|
|
501
|
+
/* @__PURE__ */ i("div", { className: "mt-4 grid-cols-3 md:grid md:gap-4", children: n.map((p) => /* @__PURE__ */ c("div", { className: "bg-muted mb-4 min-h-[180px] w-full rounded-md p-8 md:mb-0", children: [
|
|
502
|
+
p.icon,
|
|
503
|
+
/* @__PURE__ */ i("h2", { className: "font-cal text-emphasis mt-4 text-lg", children: p.title }),
|
|
504
|
+
/* @__PURE__ */ i("p", { className: "text-default", children: p.description })
|
|
505
|
+
] }, p.title)) })
|
|
505
506
|
] });
|
|
506
507
|
}
|
|
507
508
|
export {
|
|
508
|
-
|
|
509
|
-
|
|
509
|
+
ve as Tips,
|
|
510
|
+
ke as UpgradeTip
|
|
510
511
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { D as a, P as o, f as s, g as t, g as m, i as C, p as n, a as p } from "./index-
|
|
2
|
-
import { i } from "./isSupportedCountry-
|
|
1
|
+
import { D as a, P as o, f as s, g as t, g as m, i as C, p as n, a as p } from "./index-ykl8OQ78.js";
|
|
2
|
+
import { i } from "./isSupportedCountry-RPoEk3Bi.js";
|
|
3
3
|
export {
|
|
4
4
|
a as DIGITS,
|
|
5
5
|
o as ParseError,
|