@photoroom/ui 0.1.157 → 0.1.158
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/components/index.d.ts +1 -0
- package/components/index.d.ts.map +1 -1
- package/components/website/AchievementsBlock/AchievementsBlock.d.ts +10 -0
- package/components/website/AchievementsBlock/AchievementsBlock.d.ts.map +1 -0
- package/components/website/AchievementsBlock/index.d.ts +2 -0
- package/components/website/AchievementsBlock/index.d.ts.map +1 -0
- package/index.css +1 -1
- package/index.lib.d.ts +1 -0
- package/index.lib.d.ts.map +1 -1
- package/index.mjs +180 -161
- package/package.json +1 -1
package/index.mjs
CHANGED
|
@@ -54258,7 +54258,26 @@ var i9 = {
|
|
|
54258
54258
|
onDragLeave: m,
|
|
54259
54259
|
onDrop: d
|
|
54260
54260
|
})] });
|
|
54261
|
-
}, Cge = ({
|
|
54261
|
+
}, Cge = ({ className: e, items: t, ...n }) => /* @__PURE__ */ T("section", {
|
|
54262
|
+
className: H("py-e400 px-4 sm:px-6 md:px-8 xl:px-10", e),
|
|
54263
|
+
...n,
|
|
54264
|
+
children: /* @__PURE__ */ T("div", {
|
|
54265
|
+
className: "flex w-full flex-col items-center gap-8 lg:flex-row lg:justify-center lg:gap-3 xl:gap-12",
|
|
54266
|
+
children: t.map((e, t) => /* @__PURE__ */ E(i, { children: [t > 0 && /* @__PURE__ */ T("div", {
|
|
54267
|
+
"aria-hidden": "true",
|
|
54268
|
+
className: "bg-misc-divider h-px w-full max-w-[240px] shrink-0 lg:h-auto lg:w-px lg:max-w-none lg:self-stretch"
|
|
54269
|
+
}), /* @__PURE__ */ E("div", {
|
|
54270
|
+
className: "flex w-full max-w-[320px] flex-col items-center justify-center gap-2 text-center lg:min-w-0 lg:flex-1",
|
|
54271
|
+
children: [/* @__PURE__ */ T("strong", {
|
|
54272
|
+
className: "text-1300 font-400 text-content-primary leading-400 tracking-[-1.224px] text-balance",
|
|
54273
|
+
children: e.metric
|
|
54274
|
+
}), /* @__PURE__ */ T("p", {
|
|
54275
|
+
className: "component-light-600 text-content-secondary text-pretty",
|
|
54276
|
+
children: e.context
|
|
54277
|
+
})]
|
|
54278
|
+
})] }, `achievement-${e.metric}`))
|
|
54279
|
+
})
|
|
54280
|
+
}), wge = ({ titleBlock: e, image: t, ctaLink: n, ctaLabel: r, ...i }) => /* @__PURE__ */ E("div", {
|
|
54262
54281
|
className: V("px-4 py-8", "sm:px-6 sm:py-16", "md:px-8", "lg:py-20", "xl:px-10", "flex flex-col gap-12"),
|
|
54263
54282
|
...i,
|
|
54264
54283
|
children: [
|
|
@@ -54307,7 +54326,7 @@ var i9 = {
|
|
|
54307
54326
|
s9.displayName = "ArticleContent";
|
|
54308
54327
|
//#endregion
|
|
54309
54328
|
//#region src/components/website/ArticleHeroBlock/ArticleTitle.tsx
|
|
54310
|
-
var
|
|
54329
|
+
var Tge = ({ title: e, date: t, className: n }) => /* @__PURE__ */ E("div", {
|
|
54311
54330
|
"data-selector": "blogpost-header",
|
|
54312
54331
|
className: V("flex flex-col gap-6", n),
|
|
54313
54332
|
children: [/* @__PURE__ */ T("h1", {
|
|
@@ -54320,7 +54339,7 @@ var wge = ({ title: e, date: t, className: n }) => /* @__PURE__ */ E("div", {
|
|
|
54320
54339
|
dateTime: t,
|
|
54321
54340
|
children: t
|
|
54322
54341
|
})]
|
|
54323
|
-
}),
|
|
54342
|
+
}), Ege = ({ heroImage: e, title: t, date: n, author: r, content: i, socialButtons: a, sideContent: o, ...s }) => /* @__PURE__ */ T("div", {
|
|
54324
54343
|
"data-selector": "blogpost",
|
|
54325
54344
|
className: "pt-e600 pb-e500 sm:pt-e500 lg:pt-e400 px-4 sm:px-6 md:px-8",
|
|
54326
54345
|
...s,
|
|
@@ -54332,7 +54351,7 @@ var wge = ({ title: e, date: t, className: n }) => /* @__PURE__ */ E("div", {
|
|
|
54332
54351
|
/* @__PURE__ */ E("div", {
|
|
54333
54352
|
className: "lg:order-2 lg:max-w-[720px]",
|
|
54334
54353
|
children: [
|
|
54335
|
-
/* @__PURE__ */ T(
|
|
54354
|
+
/* @__PURE__ */ T(Tge, {
|
|
54336
54355
|
className: "order-1",
|
|
54337
54356
|
title: t,
|
|
54338
54357
|
date: n
|
|
@@ -54361,7 +54380,7 @@ var wge = ({ title: e, date: t, className: n }) => /* @__PURE__ */ E("div", {
|
|
|
54361
54380
|
children: e
|
|
54362
54381
|
})]
|
|
54363
54382
|
})
|
|
54364
|
-
}),
|
|
54383
|
+
}), Dge = ({ className: e, isLoading: t, children: n }) => /* @__PURE__ */ T(w, { children: /* @__PURE__ */ E("div", {
|
|
54365
54384
|
className: V(e, "rounded-area-500 bg-white-alpha-3 relative h-full w-full overflow-hidden", "pointer-events-none", "after:rounded-area-500 after:pointer-events-none after:absolute after:top-0 after:left-0 after:h-full after:w-full after:border after:border-solid after:content-['']", "after:transition-all after:duration-300", "after:border-neutral-alpha-300"),
|
|
54366
54385
|
children: [/* @__PURE__ */ T("div", {
|
|
54367
54386
|
className: V("flex h-full w-full justify-center", "transition-opacity duration-300", t && "opacity-25"),
|
|
@@ -54373,7 +54392,7 @@ var wge = ({ title: e, date: t, className: n }) => /* @__PURE__ */ E("div", {
|
|
|
54373
54392
|
className: "pointer-events-none absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2",
|
|
54374
54393
|
children: /* @__PURE__ */ T(D, { className: "icon-size-800 text-white" })
|
|
54375
54394
|
}) })]
|
|
54376
|
-
}) }),
|
|
54395
|
+
}) }), Oge = (e) => /* @__PURE__ */ E("svg", {
|
|
54377
54396
|
width: "40",
|
|
54378
54397
|
height: "32",
|
|
54379
54398
|
viewBox: "0 0 40 32",
|
|
@@ -54381,7 +54400,7 @@ var wge = ({ title: e, date: t, className: n }) => /* @__PURE__ */ E("div", {
|
|
|
54381
54400
|
xmlns: "http://www.w3.org/2000/svg",
|
|
54382
54401
|
...e,
|
|
54383
54402
|
children: [/* @__PURE__ */ T("path", { d: "M25.5435 7.57567C23.1435 7.57567 22.1292 8.72092 20.4578 8.72092C18.7441 8.72092 17.4369 7.58401 15.3572 7.58401C13.3215 7.58401 11.1506 8.82687 9.77204 10.9441C7.83632 13.9299 8.16489 19.5531 11.3 24.3436C12.4215 26.0585 13.9191 27.9817 15.8834 28.0025H15.9191C17.6262 28.0025 18.1334 26.8847 20.4828 26.8716H20.5185C22.8328 26.8716 23.2971 27.996 24.9971 27.996H25.0328C26.9971 27.9752 28.5751 25.8442 29.6965 24.1359C30.5037 22.9073 30.8037 22.2906 31.4227 20.9007C26.8876 19.1793 26.159 12.7501 30.6441 10.2852C29.2751 8.57091 27.3513 7.57805 25.5376 7.57805L25.5435 7.57567Z" }), /* @__PURE__ */ T("path", { d: "M25.0149 1.33398C23.5864 1.43101 21.9197 2.34054 20.9435 3.52804C20.0578 4.60423 19.3292 6.20067 19.6149 7.74889H19.7292C21.2506 7.74889 22.8078 6.83281 23.7173 5.659C24.5935 4.54173 25.2578 2.95839 25.0149 1.33398Z" })]
|
|
54384
|
-
}),
|
|
54403
|
+
}), kge = (e) => /* @__PURE__ */ T("svg", {
|
|
54385
54404
|
width: "40",
|
|
54386
54405
|
height: "32",
|
|
54387
54406
|
viewBox: "0 0 40 32",
|
|
@@ -54469,7 +54488,7 @@ var wge = ({ title: e, date: t, className: n }) => /* @__PURE__ */ E("div", {
|
|
|
54469
54488
|
className: "component-semi-strong-500 text-neutral-800 sm:hidden",
|
|
54470
54489
|
children: t
|
|
54471
54490
|
})]
|
|
54472
|
-
}),
|
|
54491
|
+
}), Age = ({ className: e, editorsChoice: t, downloadsCount: n, ...r }) => /* @__PURE__ */ T("section", {
|
|
54473
54492
|
className: V("py-e400", e),
|
|
54474
54493
|
...r,
|
|
54475
54494
|
children: /* @__PURE__ */ T("div", {
|
|
@@ -54481,14 +54500,14 @@ var wge = ({ title: e, date: t, className: n }) => /* @__PURE__ */ E("div", {
|
|
|
54481
54500
|
className: "order-1",
|
|
54482
54501
|
children: /* @__PURE__ */ T(l9, {
|
|
54483
54502
|
subline: t,
|
|
54484
|
-
children: /* @__PURE__ */ T(
|
|
54503
|
+
children: /* @__PURE__ */ T(Oge, { className: "h-8 w-10 fill-neutral-800" })
|
|
54485
54504
|
})
|
|
54486
54505
|
}),
|
|
54487
54506
|
/* @__PURE__ */ T("div", {
|
|
54488
54507
|
className: "order-2 lg:order-3",
|
|
54489
54508
|
children: /* @__PURE__ */ T(l9, {
|
|
54490
54509
|
subline: t,
|
|
54491
|
-
children: /* @__PURE__ */ T(
|
|
54510
|
+
children: /* @__PURE__ */ T(kge, { className: "h-8 w-10 fill-neutral-800" })
|
|
54492
54511
|
})
|
|
54493
54512
|
}),
|
|
54494
54513
|
/* @__PURE__ */ T("div", {
|
|
@@ -54501,7 +54520,7 @@ var wge = ({ title: e, date: t, className: n }) => /* @__PURE__ */ E("div", {
|
|
|
54501
54520
|
]
|
|
54502
54521
|
})
|
|
54503
54522
|
})
|
|
54504
|
-
}),
|
|
54523
|
+
}), jge = ({ title: e, children: t, cta: n, className: r }) => {
|
|
54505
54524
|
let i = b(() => n ? o(n, {
|
|
54506
54525
|
as: "a",
|
|
54507
54526
|
variant: "primary",
|
|
@@ -54525,7 +54544,7 @@ var wge = ({ title: e, date: t, className: n }) => /* @__PURE__ */ E("div", {
|
|
|
54525
54544
|
})
|
|
54526
54545
|
]
|
|
54527
54546
|
});
|
|
54528
|
-
},
|
|
54547
|
+
}, Mge = ({ variant: e = "default", author: t, children: n, className: r, ...i }) => /* @__PURE__ */ E("blockquote", {
|
|
54529
54548
|
className: V("not-prose flex flex-col gap-4", "content-to-edge-spacious-pl-700 my-10 sm:my-12 sm:pl-[30px]", "border-misc-border border-l-2", r),
|
|
54530
54549
|
...i,
|
|
54531
54550
|
children: [/* @__PURE__ */ T("div", {
|
|
@@ -54558,21 +54577,21 @@ var wge = ({ title: e, date: t, className: n }) => /* @__PURE__ */ E("div", {
|
|
|
54558
54577
|
u9.displayName = "BlogSubtleActionBlock";
|
|
54559
54578
|
//#endregion
|
|
54560
54579
|
//#region src/components/website/CardsBlock/CardsBlock.tsx
|
|
54561
|
-
var
|
|
54580
|
+
var Nge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
54562
54581
|
className: V("pt-e700 pb-e1000 gap-i600 flex flex-col", "px-4 sm:px-6 md:px-8 xl:px-10"),
|
|
54563
54582
|
...n,
|
|
54564
54583
|
children: [e, /* @__PURE__ */ T("div", {
|
|
54565
54584
|
className: V("mx-auto w-full xl:max-w-[1200px]", "grid grid-cols-1 gap-y-8", "sm:grid-cols-2 sm:gap-6 sm:gap-y-12", "lg:grid-cols-3"),
|
|
54566
54585
|
children: t
|
|
54567
54586
|
})]
|
|
54568
|
-
}),
|
|
54587
|
+
}), Pge = ({ items: e, titleBlock: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
54569
54588
|
className: V("gap-i600 flex flex-col", "px-4 sm:px-6 md:px-8 xl:px-10", "pt-e600 pb-e500 sm:pt-e500"),
|
|
54570
54589
|
...n,
|
|
54571
54590
|
children: [t, /* @__PURE__ */ T("div", {
|
|
54572
54591
|
className: V("mx-auto w-full xl:max-w-[1200px]", "grid grid-cols-1 gap-x-6 gap-y-6", "sm:grid-cols-2 sm:gap-y-8", "lg:grid-cols-3 lg:gap-y-12", "xl:gap-y-16"),
|
|
54573
54592
|
children: e
|
|
54574
54593
|
})]
|
|
54575
|
-
}),
|
|
54594
|
+
}), Fge = ({ title: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
54576
54595
|
...n,
|
|
54577
54596
|
className: V("flex flex-col", "px-4 sm:px-6 md:px-8 xl:px-10", "py-e500", "gap-i500"),
|
|
54578
54597
|
children: [e, !!t && /* @__PURE__ */ T("div", {
|
|
@@ -54582,7 +54601,7 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54582
54601
|
children: t
|
|
54583
54602
|
})
|
|
54584
54603
|
})]
|
|
54585
|
-
}),
|
|
54604
|
+
}), Ige = ({ title: e, description: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
54586
54605
|
...n,
|
|
54587
54606
|
className: "flex flex-row px-4 py-4 sm:gap-2 sm:px-6 sm:py-6",
|
|
54588
54607
|
children: [/* @__PURE__ */ T("span", {
|
|
@@ -54598,7 +54617,7 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54598
54617
|
children: t
|
|
54599
54618
|
})]
|
|
54600
54619
|
})]
|
|
54601
|
-
}),
|
|
54620
|
+
}), Lge = ({ titleBlock: e, children: t, className: n, ...r }) => /* @__PURE__ */ T("section", {
|
|
54602
54621
|
className: H("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", n),
|
|
54603
54622
|
...r,
|
|
54604
54623
|
children: /* @__PURE__ */ E("div", {
|
|
@@ -54617,7 +54636,7 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54617
54636
|
className: "text-content-secondary icon-size-500",
|
|
54618
54637
|
"aria-hidden": "true"
|
|
54619
54638
|
})
|
|
54620
|
-
}),
|
|
54639
|
+
}), Rge = ({ title: e, otherAppName: t, photoroomIcon: n, otherAppIcon: r, features: i, className: a, ...o }) => /* @__PURE__ */ E("div", {
|
|
54621
54640
|
...o,
|
|
54622
54641
|
className: H("rounded-500 bg-background-subdued w-full p-4 sm:p-6", a),
|
|
54623
54642
|
role: "table",
|
|
@@ -54675,7 +54694,7 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54675
54694
|
className: "rounded-400 border-content-primary pointer-events-none absolute -top-12 right-0 bottom-0 w-12 border-2"
|
|
54676
54695
|
})]
|
|
54677
54696
|
})]
|
|
54678
|
-
}),
|
|
54697
|
+
}), zge = ({ title: e, cards: t, cta: n, ...r }) => /* @__PURE__ */ T("div", {
|
|
54679
54698
|
className: V("pt-e700 pb-e1000", "px-4 sm:px-6 md:px-8 xl:px-10"),
|
|
54680
54699
|
...r,
|
|
54681
54700
|
children: /* @__PURE__ */ T("div", {
|
|
@@ -54694,7 +54713,7 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54694
54713
|
})]
|
|
54695
54714
|
})
|
|
54696
54715
|
})
|
|
54697
|
-
}),
|
|
54716
|
+
}), Bge = ({ title: e, items: t, background: n = "white", ...r }) => /* @__PURE__ */ E("div", {
|
|
54698
54717
|
className: V("pt-e700 pb-e1000 px-4 sm:px-6 md:px-8", "gap-i600 flex flex-col", {
|
|
54699
54718
|
"bg-surface-default": n === "white",
|
|
54700
54719
|
"bg-neutral-50": n === "lightgrey"
|
|
@@ -54730,7 +54749,7 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54730
54749
|
className: V("mx-auto max-w-[1200px]", t),
|
|
54731
54750
|
children: e
|
|
54732
54751
|
})
|
|
54733
|
-
}),
|
|
54752
|
+
}), Vge = ({ title: e, children: t, cta: n, type: r = "default", previousLabel: i, nextLabel: a, ...o }) => {
|
|
54734
54753
|
let { showLeftButton: s, showRightButton: c, handleClickLeftButton: l, handleClickRightButton: u, scrollerRef: d } = fV();
|
|
54735
54754
|
return /* @__PURE__ */ E("div", {
|
|
54736
54755
|
className: "pt-e700 pb-e1000 gap-i600 flex flex-col",
|
|
@@ -54776,7 +54795,7 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54776
54795
|
})]
|
|
54777
54796
|
})]
|
|
54778
54797
|
});
|
|
54779
|
-
},
|
|
54798
|
+
}, Hge = ({ title: e, content: t }) => /* @__PURE__ */ T("div", {
|
|
54780
54799
|
className: "pt-e700 pb-e1000 px-4 sm:px-6 md:px-8 xl:px-10",
|
|
54781
54800
|
children: /* @__PURE__ */ E("div", {
|
|
54782
54801
|
className: "gap-i600 mx-auto flex max-w-[1200px] flex-col",
|
|
@@ -54785,7 +54804,7 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54785
54804
|
children: t
|
|
54786
54805
|
})]
|
|
54787
54806
|
})
|
|
54788
|
-
}),
|
|
54807
|
+
}), Uge = ({ titleBlock: e, background: t = "lightgrey", className: n, children: r, ...i }) => /* @__PURE__ */ T("section", {
|
|
54789
54808
|
...i,
|
|
54790
54809
|
className: H("pt-e700 pb-e1000 px-4 sm:px-6 md:px-8 xl:px-10", {
|
|
54791
54810
|
"bg-surface-default": t === "white",
|
|
@@ -54801,7 +54820,7 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54801
54820
|
children: r
|
|
54802
54821
|
})]
|
|
54803
54822
|
})
|
|
54804
|
-
}),
|
|
54823
|
+
}), Wge = ({ question: e, answer: t, ...n }) => {
|
|
54805
54824
|
let r = g(), [i, a] = C(!1);
|
|
54806
54825
|
return /* @__PURE__ */ E("article", {
|
|
54807
54826
|
...n,
|
|
@@ -54838,32 +54857,32 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54838
54857
|
})
|
|
54839
54858
|
})]
|
|
54840
54859
|
});
|
|
54841
|
-
},
|
|
54860
|
+
}, Gge = ({ title: e, features: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
54842
54861
|
className: "pt-e700 pb-e1000 gap-i600 flex flex-col",
|
|
54843
54862
|
...n,
|
|
54844
54863
|
children: [e, t]
|
|
54845
|
-
}),
|
|
54864
|
+
}), Kge = U([
|
|
54846
54865
|
"grid grid-cols-1 items-center lg:grid-cols-2",
|
|
54847
54866
|
"mx-auto gap-4 sm:gap-6",
|
|
54848
54867
|
"max-w-sm sm:max-w-lg"
|
|
54849
54868
|
], { variants: { wide: {
|
|
54850
54869
|
true: "lg:max-w-[1200px]",
|
|
54851
54870
|
false: "lg:max-w-[67rem]"
|
|
54852
|
-
} } }),
|
|
54871
|
+
} } }), qge = U("mx-auto grid grid-cols-1 gap-4", { variants: { invertOrder: {
|
|
54853
54872
|
true: "lg:-order-1 lg:pr-16",
|
|
54854
54873
|
false: "lg:pl-16"
|
|
54855
|
-
} } }),
|
|
54874
|
+
} } }), Jge = ({ title: e, description: t, listItems: n, visualElement: r, invertOrder: i = !1, cta: a, withVisualBorder: o, wide: s = !1, ...c }) => {
|
|
54856
54875
|
let l = Array.isArray(n) ? n.length > 0 : !!n;
|
|
54857
54876
|
return /* @__PURE__ */ T("div", {
|
|
54858
54877
|
className: "px-4 sm:px-16 md:px-32 lg:px-8 xl:px-10",
|
|
54859
54878
|
...c,
|
|
54860
54879
|
children: /* @__PURE__ */ E("div", {
|
|
54861
|
-
className:
|
|
54880
|
+
className: Kge({ wide: s }),
|
|
54862
54881
|
children: [/* @__PURE__ */ T("div", {
|
|
54863
54882
|
className: V("relative", o && "after:rounded-500 after:border-misc-border after:pointer-events-none after:absolute after:top-0 after:left-0 after:h-full after:w-full after:border after:content-['']"),
|
|
54864
54883
|
children: r
|
|
54865
54884
|
}), /* @__PURE__ */ E("div", {
|
|
54866
|
-
className:
|
|
54885
|
+
className: qge({ invertOrder: i }),
|
|
54867
54886
|
children: [/* @__PURE__ */ T("div", {
|
|
54868
54887
|
className: "flex-1",
|
|
54869
54888
|
children: /* @__PURE__ */ T("h2", {
|
|
@@ -54884,7 +54903,7 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54884
54903
|
})]
|
|
54885
54904
|
})
|
|
54886
54905
|
});
|
|
54887
|
-
},
|
|
54906
|
+
}, Yge = ({ children: e, aspectRatio: t = "4/3", backgroundColor: n, ...r }) => /* @__PURE__ */ T("div", {
|
|
54888
54907
|
className: V("rounded-500 relative overflow-hidden", "translate-x-0 translate-y-0"),
|
|
54889
54908
|
style: {
|
|
54890
54909
|
backgroundColor: n,
|
|
@@ -54892,7 +54911,7 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54892
54911
|
},
|
|
54893
54912
|
...r,
|
|
54894
54913
|
children: e
|
|
54895
|
-
}),
|
|
54914
|
+
}), Xge = ({ selectedIndex: e, features: t }) => /* @__PURE__ */ E("div", {
|
|
54896
54915
|
className: "flex flex-col gap-6",
|
|
54897
54916
|
children: [t && /* @__PURE__ */ T("ul", {
|
|
54898
54917
|
className: V("relative", "grid gap-2 text-center", "grid-cols-2 sm:grid-cols-4"),
|
|
@@ -54904,7 +54923,7 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54904
54923
|
children: /* @__PURE__ */ T("div", { children: t.content })
|
|
54905
54924
|
}, n))
|
|
54906
54925
|
})]
|
|
54907
|
-
}),
|
|
54926
|
+
}), Zge = ({ children: e }) => {
|
|
54908
54927
|
let t = S(null);
|
|
54909
54928
|
return YH(t), /* @__PURE__ */ T("video", {
|
|
54910
54929
|
autoPlay: !0,
|
|
@@ -54916,7 +54935,7 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54916
54935
|
className: "h-full w-full object-cover",
|
|
54917
54936
|
children: e
|
|
54918
54937
|
});
|
|
54919
|
-
},
|
|
54938
|
+
}, Qge = ({ title: e, children: t, icon: n }) => /* @__PURE__ */ E("div", {
|
|
54920
54939
|
className: "flex items-start gap-3",
|
|
54921
54940
|
children: [/* @__PURE__ */ T("div", {
|
|
54922
54941
|
className: "relative flex h-6 w-6 shrink-0",
|
|
@@ -54931,14 +54950,14 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54931
54950
|
children: t
|
|
54932
54951
|
})]
|
|
54933
54952
|
})]
|
|
54934
|
-
}),
|
|
54953
|
+
}), $ge = ({ title: e, features: t, className: n, ...r }) => /* @__PURE__ */ E("div", {
|
|
54935
54954
|
...r,
|
|
54936
54955
|
className: V("pt-e700 pb-e1000 gap-i600 flex flex-col items-center px-4", n),
|
|
54937
54956
|
children: [e, /* @__PURE__ */ T("div", {
|
|
54938
54957
|
className: "mx-auto grid max-w-[1200px] gap-6 sm:gap-x-8 md:grid-cols-2 lg:grid-cols-3 lg:gap-x-12 lg:gap-y-10",
|
|
54939
54958
|
children: t
|
|
54940
54959
|
})]
|
|
54941
|
-
}),
|
|
54960
|
+
}), e_e = ({ title: e, icon: t, children: n, className: r, ...i }) => /* @__PURE__ */ E("div", {
|
|
54942
54961
|
...i,
|
|
54943
54962
|
className: V("border-misc-border-default flex flex-col gap-2 border-t pt-3 sm:pt-6", r),
|
|
54944
54963
|
children: [/* @__PURE__ */ E("div", {
|
|
@@ -54969,7 +54988,7 @@ var Mge = ({ titleBlock: e, children: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
|
54969
54988
|
p9.displayName = "BlockBackground";
|
|
54970
54989
|
//#endregion
|
|
54971
54990
|
//#region src/components/website/FocusBlock/FocusBlock.tsx
|
|
54972
|
-
var
|
|
54991
|
+
var t_e = ({ overline: e, title: t, description: n, visual: r, ctas: i, background: a = "sand-50", ...o }) => /* @__PURE__ */ T(p9, {
|
|
54973
54992
|
variant: a,
|
|
54974
54993
|
className: "py-e700 px-4 sm:px-6 md:px-8 xl:px-10",
|
|
54975
54994
|
...o,
|
|
@@ -55002,7 +55021,7 @@ var e_e = ({ overline: e, title: t, description: n, visual: r, ctas: i, backgrou
|
|
|
55002
55021
|
children: r
|
|
55003
55022
|
})]
|
|
55004
55023
|
})
|
|
55005
|
-
}),
|
|
55024
|
+
}), n_e = l(function({ as: e = "a", label: t, isNew: n, ...r }, i) {
|
|
55006
55025
|
return /* @__PURE__ */ E(e, {
|
|
55007
55026
|
ref: i,
|
|
55008
55027
|
className: V("inline-flex items-center gap-1.5", "rounded-200 cursor-pointer outline-hidden", "focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring", "component-light-500 text-content-subdued-primary", "hover:text-content-primary focus-visible:text-content-primary active:text-content-primary", "interaction-transition transition-colors"),
|
|
@@ -55020,7 +55039,7 @@ var e_e = ({ overline: e, title: t, description: n, visual: r, ctas: i, backgrou
|
|
|
55020
55039
|
});
|
|
55021
55040
|
//#endregion
|
|
55022
55041
|
//#region src/components/website/FooterBlockV2/FooterV2LinksSectionBlock.tsx
|
|
55023
|
-
function
|
|
55042
|
+
function r_e({ title: e, className: t, children: n, ...r }) {
|
|
55024
55043
|
let i = g(), [a, o] = C(!1), s = p((e) => {
|
|
55025
55044
|
let t = e.currentTarget;
|
|
55026
55045
|
o(t.checked), t.closest("[data-groupid='footer-links-sections']")?.querySelectorAll("input[name=\"footer-links-section-toggle\"]").forEach((e) => {
|
|
@@ -55114,7 +55133,7 @@ function m9({ appsSectionTitle: e, appButtons: t, linksSections: n, socialLinks:
|
|
|
55114
55133
|
})
|
|
55115
55134
|
});
|
|
55116
55135
|
}
|
|
55117
|
-
m9.LinksSection =
|
|
55136
|
+
m9.LinksSection = r_e, m9.Link = n_e;
|
|
55118
55137
|
//#endregion
|
|
55119
55138
|
//#region src/components/website/Glossary/GlossaryLetterLink.tsx
|
|
55120
55139
|
var h9 = l(({ letter: e, href: t, ...n }, r) => /* @__PURE__ */ T("a", {
|
|
@@ -55128,11 +55147,11 @@ h9.displayName = "GlossaryLetterLink";
|
|
|
55128
55147
|
//#endregion
|
|
55129
55148
|
//#region src/components/website/Glossary/GlossaryAlphabet.tsx
|
|
55130
55149
|
var g9 = { en: "ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("") };
|
|
55131
|
-
function
|
|
55150
|
+
function i_e(e) {
|
|
55132
55151
|
return g9[e] ?? g9.en;
|
|
55133
55152
|
}
|
|
55134
55153
|
var _9 = l(({ locale: e = "en", getLetterProps: t, className: n, ...r }, i) => {
|
|
55135
|
-
let a =
|
|
55154
|
+
let a = i_e(e);
|
|
55136
55155
|
return /* @__PURE__ */ T("nav", {
|
|
55137
55156
|
ref: i,
|
|
55138
55157
|
...r,
|
|
@@ -55151,7 +55170,7 @@ var _9 = l(({ locale: e = "en", getLetterProps: t, className: n, ...r }, i) => {
|
|
|
55151
55170
|
_9.displayName = "GlossaryAlphabet";
|
|
55152
55171
|
//#endregion
|
|
55153
55172
|
//#region src/components/website/Glossary/GlossarySection.tsx
|
|
55154
|
-
var
|
|
55173
|
+
var a_e = ({ id: e, letter: t, headingLevel: n = "h2", children: r, className: i }) => /* @__PURE__ */ E("section", {
|
|
55155
55174
|
id: e,
|
|
55156
55175
|
className: H("gap-i400 flex flex-col items-center", i),
|
|
55157
55176
|
children: [/* @__PURE__ */ T(n, {
|
|
@@ -55211,7 +55230,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55211
55230
|
onClick: u
|
|
55212
55231
|
})]
|
|
55213
55232
|
});
|
|
55214
|
-
},
|
|
55233
|
+
}, o_e = ({ title: e, backgroundColor: t, bgImageDesktop: n, bgImageMobile: r, className: i, ...a }) => /* @__PURE__ */ E("div", {
|
|
55215
55234
|
...a,
|
|
55216
55235
|
className: V("relative overflow-hidden", "flex flex-col items-center justify-center", "sm:min-h-[482px] lg:min-h-[640px]", "3xl:rounded-area-500 mx-auto max-w-[1800px]", "px-4 sm:px-6 md:px-8 xl:px-10", "pt-e600 pb-e500 sm:pt-e500", i),
|
|
55217
55236
|
style: { backgroundColor: t },
|
|
@@ -55229,7 +55248,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55229
55248
|
children: e
|
|
55230
55249
|
})
|
|
55231
55250
|
]
|
|
55232
|
-
}),
|
|
55251
|
+
}), s_e = ({ titleBlock: e, logoWallBlock: t, children: n, className: r, ...i }) => /* @__PURE__ */ T("section", {
|
|
55233
55252
|
className: H("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", r),
|
|
55234
55253
|
...i,
|
|
55235
55254
|
children: /* @__PURE__ */ E("div", {
|
|
@@ -55246,7 +55265,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55246
55265
|
})
|
|
55247
55266
|
]
|
|
55248
55267
|
})
|
|
55249
|
-
}),
|
|
55268
|
+
}), c_e = ({ metricTitle: e, metricDescription: t, className: n, ...r }) => /* @__PURE__ */ E("div", {
|
|
55250
55269
|
className: H("rounded-500 bg-secondary-moon-grape relative flex flex-col items-center overflow-hidden text-center text-white", "gap-4 px-6 py-8 sm:py-10", "lg:min-h-[344px] xl:min-h-[400px]", n),
|
|
55251
55270
|
...r,
|
|
55252
55271
|
children: [
|
|
@@ -55260,11 +55279,11 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55260
55279
|
children: t
|
|
55261
55280
|
})
|
|
55262
55281
|
]
|
|
55263
|
-
}),
|
|
55282
|
+
}), l_e = ({ children: e, className: t, ...n }) => /* @__PURE__ */ T("div", {
|
|
55264
55283
|
...n,
|
|
55265
55284
|
className: H("flex flex-col gap-6", t),
|
|
55266
55285
|
children: e
|
|
55267
|
-
}),
|
|
55286
|
+
}), u_e = ({ label: e, children: t, className: n, ...r }) => t ? /* @__PURE__ */ E("div", {
|
|
55268
55287
|
...r,
|
|
55269
55288
|
className: H("flex flex-col gap-1 pt-4", "border-misc-border border-t", n),
|
|
55270
55289
|
children: [/* @__PURE__ */ T("span", {
|
|
@@ -55274,7 +55293,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55274
55293
|
className: "component-600 text-content-primary",
|
|
55275
55294
|
children: t
|
|
55276
55295
|
})]
|
|
55277
|
-
}) : null,
|
|
55296
|
+
}) : null, d_e = ({ titleBlock: e, assets: t, className: n, ...r }) => /* @__PURE__ */ E("section", {
|
|
55278
55297
|
className: V("pt-e700 flex flex-col gap-12 sm:gap-16 lg:gap-20", n),
|
|
55279
55298
|
...r,
|
|
55280
55299
|
children: [!!e && /* @__PURE__ */ T("div", {
|
|
@@ -55290,7 +55309,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55290
55309
|
}, t.toString()))
|
|
55291
55310
|
})
|
|
55292
55311
|
})]
|
|
55293
|
-
}),
|
|
55312
|
+
}), f_e = ({ titleBlock: e, images: t, cta: n, className: r, ...i }) => /* @__PURE__ */ T("section", {
|
|
55294
55313
|
className: H("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", r),
|
|
55295
55314
|
...i,
|
|
55296
55315
|
children: /* @__PURE__ */ E("div", {
|
|
@@ -55309,7 +55328,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55309
55328
|
})]
|
|
55310
55329
|
})]
|
|
55311
55330
|
})
|
|
55312
|
-
}),
|
|
55331
|
+
}), p_e = ({ variant: e = "default", trustLabel: t, logos: n, ...r }) => {
|
|
55313
55332
|
let i = n?.slice(0, 8);
|
|
55314
55333
|
return /* @__PURE__ */ T("div", {
|
|
55315
55334
|
className: V("px-4 sm:px-6 md:px-8 xl:px-10", {
|
|
@@ -55340,7 +55359,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55340
55359
|
})]
|
|
55341
55360
|
})
|
|
55342
55361
|
});
|
|
55343
|
-
},
|
|
55362
|
+
}, m_e = ({ description: e, cta: t, logos: n, className: r, ...i }) => /* @__PURE__ */ T("section", {
|
|
55344
55363
|
className: H("py-e400 px-4 sm:px-6 md:px-8 xl:px-10", r),
|
|
55345
55364
|
...i,
|
|
55346
55365
|
children: /* @__PURE__ */ E("div", {
|
|
@@ -55362,7 +55381,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55362
55381
|
}, t))
|
|
55363
55382
|
})]
|
|
55364
55383
|
})
|
|
55365
|
-
}),
|
|
55384
|
+
}), h_e = ({ title: e, assets: t, className: n, ...r }) => /* @__PURE__ */ E("div", {
|
|
55366
55385
|
className: H("gap-i400 flex flex-col", n),
|
|
55367
55386
|
...r,
|
|
55368
55387
|
children: [/* @__PURE__ */ E("div", {
|
|
@@ -55388,7 +55407,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55388
55407
|
children: e
|
|
55389
55408
|
}, t.toString()))
|
|
55390
55409
|
})]
|
|
55391
|
-
}),
|
|
55410
|
+
}), g_e = ({ title: e, children: t, ...n }) => /* @__PURE__ */ T("section", {
|
|
55392
55411
|
className: "bg-surface-default pt-e700 pb-e1000 px-4 sm:px-6 md:px-8",
|
|
55393
55412
|
...n,
|
|
55394
55413
|
children: /* @__PURE__ */ E("div", {
|
|
@@ -55401,7 +55420,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55401
55420
|
children: t
|
|
55402
55421
|
})]
|
|
55403
55422
|
})
|
|
55404
|
-
}),
|
|
55423
|
+
}), __e = function({ icon: e, overline: t, title: n, subtitle: r, cta: i, footnote: a, className: s, ...c }) {
|
|
55405
55424
|
let l = b(() => i?.map((e) => o(e, {
|
|
55406
55425
|
density: "spacious",
|
|
55407
55426
|
size: "large"
|
|
@@ -55440,7 +55459,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55440
55459
|
})
|
|
55441
55460
|
]
|
|
55442
55461
|
});
|
|
55443
|
-
},
|
|
55462
|
+
}, v_e = ({ containerId: e, title: t, helpText: n, url: r, visibleOnMobile: i, ...a }) => /* @__PURE__ */ E("div", {
|
|
55444
55463
|
id: e,
|
|
55445
55464
|
className: V("pt-e700 pb-e1000 w-full bg-neutral-50 px-4 xl:px-10", !i && "hidden lg:block"),
|
|
55446
55465
|
...a,
|
|
@@ -55458,7 +55477,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55458
55477
|
className: "body-500 text-content-secondary mx-auto max-w-[512px] pt-6 text-center lg:max-w-[720px]",
|
|
55459
55478
|
children: n
|
|
55460
55479
|
})]
|
|
55461
|
-
}),
|
|
55480
|
+
}), y_e = ({ title: e, helpText: t, url: n, screenTooSmallTitle: r, screenTooSmallDescription: i, ...a }) => /* @__PURE__ */ E("div", {
|
|
55462
55481
|
className: "bg-surface-alternate pt-e600 pb-e500 sm:py-e500 w-full px-4 xl:px-10",
|
|
55463
55482
|
...a,
|
|
55464
55483
|
children: [/* @__PURE__ */ E("div", {
|
|
@@ -55488,7 +55507,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55488
55507
|
className: "body-500 text-content-secondary mx-auto max-w-[512px] pt-6 text-center lg:max-w-[720px]",
|
|
55489
55508
|
children: t
|
|
55490
55509
|
})]
|
|
55491
|
-
}),
|
|
55510
|
+
}), b_e = ({ titleBlock: e, background: t = "lightgrey", cta: n, children: r, className: i, ...a }) => /* @__PURE__ */ T("section", {
|
|
55492
55511
|
className: V("pt-e700 pb-e1000 px-4 sm:px-6 md:px-8 xl:px-10", {
|
|
55493
55512
|
"bg-surface-default": t === "white",
|
|
55494
55513
|
"bg-neutral-50": t === "lightgrey"
|
|
@@ -55507,7 +55526,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55507
55526
|
})]
|
|
55508
55527
|
})]
|
|
55509
55528
|
})
|
|
55510
|
-
}),
|
|
55529
|
+
}), x_e = ({ title: e, cards: t, features: n, ...r }) => /* @__PURE__ */ T("div", {
|
|
55511
55530
|
className: V("px-4 sm:px-6 md:px-8 xl:px-10", "py-e400"),
|
|
55512
55531
|
...r,
|
|
55513
55532
|
children: /* @__PURE__ */ E("div", {
|
|
@@ -55550,7 +55569,7 @@ var y9 = {}, b9 = ({ variant: e, className: t, cssBackgroundColor: n, children:
|
|
|
55550
55569
|
S9.displayName = "PricingPullDownButton";
|
|
55551
55570
|
//#endregion
|
|
55552
55571
|
//#region src/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/ApiPricingImageCountPicker.tsx
|
|
55553
|
-
var
|
|
55572
|
+
var S_e = [
|
|
55554
55573
|
1e3,
|
|
55555
55574
|
2e3,
|
|
55556
55575
|
5e3,
|
|
@@ -55561,7 +55580,7 @@ var x_e = [
|
|
|
55561
55580
|
2e5,
|
|
55562
55581
|
5e5,
|
|
55563
55582
|
1e6
|
|
55564
|
-
],
|
|
55583
|
+
], C_e = ({ lang: e, monthlyProcessedImages: t, pricingImageCountLabel: n, onMonthlyProcessedImagesChange: r }) => {
|
|
55565
55584
|
let [i, a] = C(!1);
|
|
55566
55585
|
return h(() => {
|
|
55567
55586
|
a(!0);
|
|
@@ -55578,7 +55597,7 @@ var x_e = [
|
|
|
55578
55597
|
children: /* @__PURE__ */ T(gW.RadioGroup, {
|
|
55579
55598
|
value: t.toString(),
|
|
55580
55599
|
onValueChange: (e) => r?.(Number(e)),
|
|
55581
|
-
children:
|
|
55600
|
+
children: S_e.map((t) => /* @__PURE__ */ T(gW.RadioGroup.Item, {
|
|
55582
55601
|
value: t.toString(),
|
|
55583
55602
|
children: i && `${new Intl.NumberFormat(e).format(t)} images`
|
|
55584
55603
|
}, t))
|
|
@@ -55594,7 +55613,7 @@ var x_e = [
|
|
|
55594
55613
|
].filter((e) => e !== "enterprise");
|
|
55595
55614
|
//#endregion
|
|
55596
55615
|
//#region ../shared/utils/pricing/api-pricing/plans.ts
|
|
55597
|
-
var
|
|
55616
|
+
var w_e = {
|
|
55598
55617
|
priceId: "price_1OZVcMEl9AVRLibqyVsualpH",
|
|
55599
55618
|
currencyToPrice: {
|
|
55600
55619
|
eur: 2,
|
|
@@ -55602,7 +55621,7 @@ var C_e = {
|
|
|
55602
55621
|
usd: 2
|
|
55603
55622
|
},
|
|
55604
55623
|
interval: "month"
|
|
55605
|
-
},
|
|
55624
|
+
}, T_e = {
|
|
55606
55625
|
priceId: "price_1OZVV0El9AVRLibqlcX986A9",
|
|
55607
55626
|
currencyToPrice: {
|
|
55608
55627
|
eur: 10,
|
|
@@ -55610,7 +55629,7 @@ var C_e = {
|
|
|
55610
55629
|
usd: 10
|
|
55611
55630
|
},
|
|
55612
55631
|
interval: "month"
|
|
55613
|
-
},
|
|
55632
|
+
}, E_e = {
|
|
55614
55633
|
priceId: "price_1OduZCEl9AVRLibq9TbpF1v9",
|
|
55615
55634
|
currencyToPrice: {
|
|
55616
55635
|
eur: 1,
|
|
@@ -55623,9 +55642,9 @@ var C_e = {
|
|
|
55623
55642
|
//#region src/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/utils.ts
|
|
55624
55643
|
function C9(e) {
|
|
55625
55644
|
switch (e) {
|
|
55626
|
-
case "basic": return
|
|
55627
|
-
case "plus": return
|
|
55628
|
-
case "partner": return
|
|
55645
|
+
case "basic": return w_e;
|
|
55646
|
+
case "plus": return T_e;
|
|
55647
|
+
case "partner": return E_e;
|
|
55629
55648
|
case "enterprise":
|
|
55630
55649
|
case void 0: return;
|
|
55631
55650
|
}
|
|
@@ -55640,7 +55659,7 @@ function w9(e, t) {
|
|
|
55640
55659
|
}
|
|
55641
55660
|
//#endregion
|
|
55642
55661
|
//#region src/components/website/PricingHeroBlock/ApiPricing/ApiPricingCardsContainer/ApiPricingCardsContainer.tsx
|
|
55643
|
-
var
|
|
55662
|
+
var D_e = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r, userCountryCode: i, footnote: a, pricingImageCountLabel: o, footnoteCurrencyLabel: s, onMonthlyProcessedImagesChange: c, ...l }) => {
|
|
55644
55663
|
let u = i?.toUpperCase(), { countryDisplayName: d, currencyDisplayName: f } = x9({
|
|
55645
55664
|
lang: e,
|
|
55646
55665
|
localizedInfo: w9("basic", u)
|
|
@@ -55648,7 +55667,7 @@ var E_e = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
55648
55667
|
return /* @__PURE__ */ E("div", {
|
|
55649
55668
|
className: "pb-i600",
|
|
55650
55669
|
...l,
|
|
55651
|
-
children: [/* @__PURE__ */ T(
|
|
55670
|
+
children: [/* @__PURE__ */ T(C_e, {
|
|
55652
55671
|
lang: e,
|
|
55653
55672
|
pricingImageCountLabel: o,
|
|
55654
55673
|
monthlyProcessedImages: t,
|
|
@@ -55688,7 +55707,7 @@ var E_e = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
55688
55707
|
a
|
|
55689
55708
|
])
|
|
55690
55709
|
};
|
|
55691
|
-
},
|
|
55710
|
+
}, O_e = 1e5, k_e = ({ lang: e, planType: t, planPriceLabelOverride: n, cta: r, bulletPoints: i, monthlyProcessedImages: a, userCountryCode: o, clientLogos: s, detailsTitle: c, footnote: l, perMonthLabel: u, pricePerImageLabel: d, ...f }) => {
|
|
55692
55711
|
let p = o?.toUpperCase(), { localizedCurrency: m, localizedPrice: h, pricePerImage: g } = O9({
|
|
55693
55712
|
lang: e,
|
|
55694
55713
|
planType: t,
|
|
@@ -55701,7 +55720,7 @@ var E_e = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
55701
55720
|
case "partner":
|
|
55702
55721
|
case void 0: return;
|
|
55703
55722
|
}
|
|
55704
|
-
}, [t]), v = b(() => !m || !h ? null : t === "partner" && a <
|
|
55723
|
+
}, [t]), v = b(() => !m || !h ? null : t === "partner" && a < O_e ? "-" : Qs({
|
|
55705
55724
|
locale: e,
|
|
55706
55725
|
currency: m,
|
|
55707
55726
|
value: h * a / 100,
|
|
@@ -55778,10 +55797,10 @@ var E_e = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
55778
55797
|
})]
|
|
55779
55798
|
})]
|
|
55780
55799
|
});
|
|
55781
|
-
},
|
|
55800
|
+
}, A_e = ({ pricePerImage: e }) => /* @__PURE__ */ E("span", {
|
|
55782
55801
|
className: "inline-next-element",
|
|
55783
55802
|
children: [e, " "]
|
|
55784
|
-
}),
|
|
55803
|
+
}), j_e = ({ description: e, clientLogos: t, cta: n, ...r }) => /* @__PURE__ */ E("div", {
|
|
55785
55804
|
className: V("flex flex-col items-center gap-6 p-4 sm:flex-row", "rounded-500 bg-background-subdued"),
|
|
55786
55805
|
...r,
|
|
55787
55806
|
children: [
|
|
@@ -55798,7 +55817,7 @@ var E_e = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
55798
55817
|
children: n
|
|
55799
55818
|
})
|
|
55800
55819
|
]
|
|
55801
|
-
}),
|
|
55820
|
+
}), M_e = ({ title: e, legend: t, sections: n, fairLimitsLabel: r, ...i }) => /* @__PURE__ */ T("div", {
|
|
55802
55821
|
id: "features",
|
|
55803
55822
|
className: "pt-i600 scroll-mt-16",
|
|
55804
55823
|
...i,
|
|
@@ -55834,14 +55853,14 @@ var E_e = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
55834
55853
|
children: e
|
|
55835
55854
|
})] }) : e })
|
|
55836
55855
|
})
|
|
55837
|
-
}),
|
|
55856
|
+
}), N_e = ({ title: e, items: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
55838
55857
|
className: "flex flex-col",
|
|
55839
55858
|
...n,
|
|
55840
55859
|
children: [e && /* @__PURE__ */ T("div", {
|
|
55841
55860
|
className: "component-semi-strong-700 border-b border-neutral-900 py-2",
|
|
55842
55861
|
children: e
|
|
55843
55862
|
}), t]
|
|
55844
|
-
}),
|
|
55863
|
+
}), P_e = ({ featureName: e, featureDescription: t, featureBadges: n, ...r }) => /* @__PURE__ */ E("div", {
|
|
55845
55864
|
className: V("flex flex-col items-start gap-3 py-6 lg:gap-4 xl:flex-row xl:items-center", "border-misc-border border-b"),
|
|
55846
55865
|
...r,
|
|
55847
55866
|
children: [/* @__PURE__ */ E("div", {
|
|
@@ -55868,10 +55887,10 @@ var E_e = ({ lang: e, monthlyProcessedImages: t = 1e3, items: n, partnerCard: r,
|
|
|
55868
55887
|
className: "flex h-6 w-6 items-center justify-center",
|
|
55869
55888
|
children: e ? /* @__PURE__ */ T(N, { className: "icon-size-400" }) : "—"
|
|
55870
55889
|
})]
|
|
55871
|
-
}) }),
|
|
55890
|
+
}) }), F_e = ({ planName: e, planShortName: t }) => /* @__PURE__ */ T(A9, {
|
|
55872
55891
|
planName: e,
|
|
55873
55892
|
planShortName: t
|
|
55874
|
-
}),
|
|
55893
|
+
}), I_e = ({ isChecked: e, planName: t }) => /* @__PURE__ */ T(j9, {
|
|
55875
55894
|
isChecked: e,
|
|
55876
55895
|
planName: t
|
|
55877
55896
|
});
|
|
@@ -55935,7 +55954,7 @@ function I9(e, t) {
|
|
|
55935
55954
|
}
|
|
55936
55955
|
//#endregion
|
|
55937
55956
|
//#region src/components/website/PricingHeroBlock/AppPricing/AppPricingCardsContainer/AppPricingCardsContainer.tsx
|
|
55938
|
-
var
|
|
55957
|
+
var L_e = ({ lang: e, billingPeriod: t = "yearly", items: n, userCountryCode: r, billingPeriodLabels: i, billingPeriodSubtitles: a, footnoteLabels: o, footnoteCurrencyLabel: s, onBillingPeriodChange: c, ...l }) => {
|
|
55939
55958
|
let u = r?.toUpperCase(), { countryDisplayName: d, currencyDisplayName: f } = x9({
|
|
55940
55959
|
lang: e,
|
|
55941
55960
|
localizedInfo: I9("pro", u)
|
|
@@ -56005,7 +56024,7 @@ var I_e = ({ lang: e, billingPeriod: t = "yearly", items: n, userCountryCode: r,
|
|
|
56005
56024
|
]
|
|
56006
56025
|
})]
|
|
56007
56026
|
}), !s && c]
|
|
56008
|
-
}),
|
|
56027
|
+
}), R_e = ({ options: e = [], value: t, onValueChange: n }) => {
|
|
56009
56028
|
let r = e.find((e) => e.value === t)?.description;
|
|
56010
56029
|
return e?.length ? /* @__PURE__ */ E("div", {
|
|
56011
56030
|
className: "flex flex-col gap-2",
|
|
@@ -56022,7 +56041,7 @@ var I_e = ({ lang: e, billingPeriod: t = "yearly", items: n, userCountryCode: r,
|
|
|
56022
56041
|
children: r
|
|
56023
56042
|
})]
|
|
56024
56043
|
}) : null;
|
|
56025
|
-
},
|
|
56044
|
+
}, z_e = 12, B_e = ({ lang: e, planType: t, description: n, cta: r, propLists: i, billingPeriod: a, userCountryCode: s, specialOfferLabel: c, clientLogos: l, planPriceLabelOverride: u, planNameOverride: d, isHighlighted: f, showYearlyPriceAsMonthly: p, freePlanLabel: m, perMonthLabel: h, perWeekLabel: g, perYearLabel: _, billedAnnuallyLabel: v, moreInfoLabel: y, getStartedLabel: x, subscriptionOptions: S, isUnavailable: w, unavailableLabel: D, ...O }) => {
|
|
56026
56045
|
let [k, A] = C(!1), [j, M] = C(S?.[0]?.value), N = s?.toUpperCase(), P = b(() => {
|
|
56027
56046
|
if (d) return d;
|
|
56028
56047
|
switch (t) {
|
|
@@ -56042,7 +56061,7 @@ var I_e = ({ lang: e, billingPeriod: t = "yearly", items: n, userCountryCode: r,
|
|
|
56042
56061
|
case "monthly": return F.monthly?.currencyToPrice[I];
|
|
56043
56062
|
case "yearly": {
|
|
56044
56063
|
let e = F.yearly?.currencyToPrice[I];
|
|
56045
|
-
return e && L ? e /
|
|
56064
|
+
return e && L ? e / z_e : e;
|
|
56046
56065
|
}
|
|
56047
56066
|
case void 0: return;
|
|
56048
56067
|
}
|
|
@@ -56117,7 +56136,7 @@ var I_e = ({ lang: e, billingPeriod: t = "yearly", items: n, userCountryCode: r,
|
|
|
56117
56136
|
perYearLabel: _,
|
|
56118
56137
|
showYearlyPriceAsMonthly: L,
|
|
56119
56138
|
billedAnnuallyLabel: v,
|
|
56120
|
-
children: /* @__PURE__ */ T(
|
|
56139
|
+
children: /* @__PURE__ */ T(R_e, {
|
|
56121
56140
|
options: S,
|
|
56122
56141
|
value: j,
|
|
56123
56142
|
onValueChange: M
|
|
@@ -56159,18 +56178,18 @@ var I_e = ({ lang: e, billingPeriod: t = "yearly", items: n, userCountryCode: r,
|
|
|
56159
56178
|
})]
|
|
56160
56179
|
})]
|
|
56161
56180
|
});
|
|
56162
|
-
},
|
|
56181
|
+
}, V_e = ({ planName: e, planShortName: t }) => /* @__PURE__ */ T(A9, {
|
|
56163
56182
|
planName: e,
|
|
56164
56183
|
planShortName: t
|
|
56165
|
-
}),
|
|
56184
|
+
}), H_e = ({ isChecked: e, description: t, planName: n }) => /* @__PURE__ */ T(j9, {
|
|
56166
56185
|
isChecked: e,
|
|
56167
56186
|
description: t,
|
|
56168
56187
|
planName: n
|
|
56169
|
-
}),
|
|
56188
|
+
}), U_e = ({ children: e, ...t }) => /* @__PURE__ */ T("div", {
|
|
56170
56189
|
className: "rounded-400 bg-background-subdued inline-flex gap-0.5 p-0.5",
|
|
56171
56190
|
...t,
|
|
56172
56191
|
children: e
|
|
56173
|
-
}),
|
|
56192
|
+
}), W_e = U([
|
|
56174
56193
|
"component-semi-strong-600 size-h-750 rounded-400 flex flex-1 items-center gap-3 px-4 whitespace-nowrap",
|
|
56175
56194
|
"focus-visible:ring-misc-focus-indicator focus-visible:misc-border-size-focus-ring outline-hidden",
|
|
56176
56195
|
"transition-all"
|
|
@@ -56180,7 +56199,7 @@ var I_e = ({ lang: e, billingPeriod: t = "yearly", items: n, userCountryCode: r,
|
|
|
56180
56199
|
false: "text-content-secondary"
|
|
56181
56200
|
} },
|
|
56182
56201
|
defaultVariants: { selected: !1 }
|
|
56183
|
-
}),
|
|
56202
|
+
}), G_e = U("rounded-300 size-400 shrink-0", {
|
|
56184
56203
|
variants: { selected: {
|
|
56185
56204
|
true: "text-[#7883FF]",
|
|
56186
56205
|
false: "text-neutral-400"
|
|
@@ -56188,15 +56207,15 @@ var I_e = ({ lang: e, billingPeriod: t = "yearly", items: n, userCountryCode: r,
|
|
|
56188
56207
|
defaultVariants: { selected: !1 }
|
|
56189
56208
|
}), R9 = l(({ as: e = "a", selected: t, icon: n, children: r, ...i }, a) => /* @__PURE__ */ E(e, {
|
|
56190
56209
|
ref: a,
|
|
56191
|
-
className:
|
|
56210
|
+
className: W_e({ selected: t }),
|
|
56192
56211
|
...i,
|
|
56193
56212
|
children: [n && /* @__PURE__ */ T("span", {
|
|
56194
|
-
className:
|
|
56213
|
+
className: G_e({ selected: t }),
|
|
56195
56214
|
children: n
|
|
56196
56215
|
}), r]
|
|
56197
56216
|
}));
|
|
56198
56217
|
R9.displayName = "PricingPickerButton";
|
|
56199
|
-
var
|
|
56218
|
+
var K_e = Object.assign(R9, {
|
|
56200
56219
|
ShortLabel: ({ children: e }) => /* @__PURE__ */ T("span", {
|
|
56201
56220
|
className: "block sm:hidden",
|
|
56202
56221
|
children: e
|
|
@@ -56205,7 +56224,7 @@ var G_e = Object.assign(R9, {
|
|
|
56205
56224
|
className: "hidden sm:block",
|
|
56206
56225
|
children: e
|
|
56207
56226
|
})
|
|
56208
|
-
}), z9 = "is-promo-banner-hidden",
|
|
56227
|
+
}), z9 = "is-promo-banner-hidden", q_e = ({ contextLabel: e, closeAriaLabel: t, cssBackgroundColor: n, thumbnail: r, cta: i, linkAs: a = "a", description: o, forceShow: s, ...c }) => /* @__PURE__ */ T(b9, {
|
|
56209
56228
|
variant: "accent",
|
|
56210
56229
|
cssBackgroundColor: n,
|
|
56211
56230
|
isHiddenSessionKey: z9,
|
|
@@ -56242,7 +56261,7 @@ var G_e = Object.assign(R9, {
|
|
|
56242
56261
|
})]
|
|
56243
56262
|
})]
|
|
56244
56263
|
})
|
|
56245
|
-
}),
|
|
56264
|
+
}), J_e = ({ title: e, visualElement: t, largeVisualAsset: n, background: r = "neutral-50", bgColor: i, ...a }) => /* @__PURE__ */ T(p9, {
|
|
56246
56265
|
as: "div",
|
|
56247
56266
|
variant: i ? "surface-default" : r,
|
|
56248
56267
|
className: V("relative flex overflow-hidden", "pt-e600 pb-e500 sm:py-e500 lg:py-e800", "px-4 sm:px-6 md:px-8 xl:px-10", "xl:min-h-[720px]"),
|
|
@@ -56264,7 +56283,7 @@ var G_e = Object.assign(R9, {
|
|
|
56264
56283
|
})]
|
|
56265
56284
|
})]
|
|
56266
56285
|
})
|
|
56267
|
-
}),
|
|
56286
|
+
}), Y_e = ({ content: e, avatar: t, name: n, occupation: r }) => /* @__PURE__ */ T("div", {
|
|
56268
56287
|
className: "py-e700 px-4 sm:px-6 md:px-8 xl:px-10",
|
|
56269
56288
|
children: /* @__PURE__ */ E("div", {
|
|
56270
56289
|
className: "mx-auto flex max-w-[1200px] flex-col justify-center gap-8",
|
|
@@ -56288,7 +56307,7 @@ var G_e = Object.assign(R9, {
|
|
|
56288
56307
|
})]
|
|
56289
56308
|
})]
|
|
56290
56309
|
})
|
|
56291
|
-
}),
|
|
56310
|
+
}), X_e = ({ titleBlock: e, reviews: t, cta: n, className: r, ...i }) => /* @__PURE__ */ T("section", {
|
|
56292
56311
|
className: H("pt-e700 pb-e1000 px-4 sm:px-6 md:px-8 xl:px-10", r),
|
|
56293
56312
|
...i,
|
|
56294
56313
|
children: /* @__PURE__ */ E("div", {
|
|
@@ -56305,7 +56324,7 @@ var G_e = Object.assign(R9, {
|
|
|
56305
56324
|
})
|
|
56306
56325
|
]
|
|
56307
56326
|
})
|
|
56308
|
-
}),
|
|
56327
|
+
}), Z_e = ({ title: e, content: t, image: n, name: r, occupation: i, className: a, ...o }) => /* @__PURE__ */ T("li", {
|
|
56309
56328
|
className: H("flex", a),
|
|
56310
56329
|
...o,
|
|
56311
56330
|
children: /* @__PURE__ */ E("article", {
|
|
@@ -56347,7 +56366,7 @@ var G_e = Object.assign(R9, {
|
|
|
56347
56366
|
})
|
|
56348
56367
|
]
|
|
56349
56368
|
})
|
|
56350
|
-
}),
|
|
56369
|
+
}), Q_e = function({ variant: e = "default", title: t, subtitle: n, overline: r, cta: i, className: a, ...o }) {
|
|
56351
56370
|
let s = e === "side" || !!i, c = u(n) ? !!n.props?.children : !!n;
|
|
56352
56371
|
return /* @__PURE__ */ E("div", {
|
|
56353
56372
|
className: H("mx-auto w-full max-w-[1200px]", "flex flex-col gap-4", {
|
|
@@ -56381,7 +56400,7 @@ var G_e = Object.assign(R9, {
|
|
|
56381
56400
|
children: n
|
|
56382
56401
|
})]
|
|
56383
56402
|
});
|
|
56384
|
-
},
|
|
56403
|
+
}, $_e = function({ title: e, overline: t, subtitle: n, cta: r, footnote: i, className: a }) {
|
|
56385
56404
|
let s = b(() => r?.map((e) => o(e, {
|
|
56386
56405
|
density: "spacious",
|
|
56387
56406
|
size: "large"
|
|
@@ -56411,7 +56430,7 @@ var G_e = Object.assign(R9, {
|
|
|
56411
56430
|
})
|
|
56412
56431
|
]
|
|
56413
56432
|
});
|
|
56414
|
-
},
|
|
56433
|
+
}, eve = ({ title: e, overline: t, variant: n = "default" }) => /* @__PURE__ */ E("div", {
|
|
56415
56434
|
className: V("mx-auto flex w-full max-w-[1200px] flex-col gap-1", {
|
|
56416
56435
|
"items-center text-center": n === "default",
|
|
56417
56436
|
"items-start text-left": n === "side"
|
|
@@ -56423,7 +56442,7 @@ var G_e = Object.assign(R9, {
|
|
|
56423
56442
|
className: "heading-thin-700 max-w-[600px] text-balance",
|
|
56424
56443
|
children: e
|
|
56425
56444
|
})]
|
|
56426
|
-
}),
|
|
56445
|
+
}), tve = ({ titleBlock: e, children: t, cta: r, ...i }) => {
|
|
56427
56446
|
let a = n.count(t);
|
|
56428
56447
|
return /* @__PURE__ */ E("div", {
|
|
56429
56448
|
className: V("px-4 sm:px-6 md:px-8 xl:px-10", "pt-e700 pb-e1000", "gap-i600 flex flex-col items-stretch"),
|
|
@@ -56453,7 +56472,7 @@ var G_e = Object.assign(R9, {
|
|
|
56453
56472
|
B9.Tag = M5.Tag;
|
|
56454
56473
|
//#endregion
|
|
56455
56474
|
//#region src/components/website/TakeActionBlock/TakeActionBlock.tsx
|
|
56456
|
-
var
|
|
56475
|
+
var nve = ({ titleBlock: e, content: t, ctaLabel: n, ctaLink: r, ...i }) => /* @__PURE__ */ T("div", {
|
|
56457
56476
|
className: "py-e500 px-4 sm:px-6 md:px-8 xl:px-10",
|
|
56458
56477
|
...i,
|
|
56459
56478
|
children: /* @__PURE__ */ E("div", {
|
|
@@ -56479,7 +56498,7 @@ var tve = ({ titleBlock: e, content: t, ctaLabel: n, ctaLink: r, ...i }) => /* @
|
|
|
56479
56498
|
})
|
|
56480
56499
|
]
|
|
56481
56500
|
})
|
|
56482
|
-
}),
|
|
56501
|
+
}), rve = ({ title: e, variant: t = "default", content: n, cta: r, bgImageDesktop: i, bgImageMobile: a, className: o, ...s }) => /* @__PURE__ */ E("div", {
|
|
56483
56502
|
...s,
|
|
56484
56503
|
className: V("relative overflow-hidden", "flex flex-col items-center justify-center", "mx-auto max-w-[1512px]", "min-[1513px]:rounded-500", "px-4 sm:px-6 md:px-8 lg:px-10", {
|
|
56485
56504
|
"py-e700": t === "default",
|
|
@@ -56519,7 +56538,7 @@ var tve = ({ titleBlock: e, content: t, ctaLabel: n, ctaLink: r, ...i }) => /* @
|
|
|
56519
56538
|
]
|
|
56520
56539
|
})
|
|
56521
56540
|
]
|
|
56522
|
-
}),
|
|
56541
|
+
}), ive = ({ titleBlock: e, testimonials: t, className: n, ...r }) => {
|
|
56523
56542
|
let [i, a] = C(0), o = () => {
|
|
56524
56543
|
a((e) => e === 0 ? (t || []).length - 1 : e - 1);
|
|
56525
56544
|
}, s = () => {
|
|
@@ -56576,7 +56595,7 @@ var tve = ({ titleBlock: e, content: t, ctaLabel: n, ctaLink: r, ...i }) => /* @
|
|
|
56576
56595
|
})]
|
|
56577
56596
|
})
|
|
56578
56597
|
});
|
|
56579
|
-
},
|
|
56598
|
+
}, ave = ({ content: e, avatar: t, logo: n, name: r, occupation: i, className: a }) => /* @__PURE__ */ E("div", {
|
|
56580
56599
|
className: H("rounded-500 flex w-full flex-col items-center justify-center overflow-clip bg-neutral-50", "gap-6 p-5", "sm:gap-8 sm:px-12 sm:py-10", a),
|
|
56581
56600
|
children: [/* @__PURE__ */ T("div", {
|
|
56582
56601
|
className: "body-light-600 sm:body-light-800 text-content-primary w-full",
|
|
@@ -56603,7 +56622,7 @@ var tve = ({ titleBlock: e, content: t, ctaLabel: n, ctaLink: r, ...i }) => /* @
|
|
|
56603
56622
|
})]
|
|
56604
56623
|
})]
|
|
56605
56624
|
})]
|
|
56606
|
-
}),
|
|
56625
|
+
}), ove = ({ titleBlock: e, cards: t, className: n, ...r }) => /* @__PURE__ */ E("section", {
|
|
56607
56626
|
...r,
|
|
56608
56627
|
className: V("pt-e700 pb-e1000 px-4 sm:px-8", n),
|
|
56609
56628
|
children: [!!e && /* @__PURE__ */ T("div", {
|
|
@@ -56613,14 +56632,14 @@ var tve = ({ titleBlock: e, content: t, ctaLabel: n, ctaLink: r, ...i }) => /* @
|
|
|
56613
56632
|
className: "mx-auto flex max-w-[1200px] flex-col gap-6 lg:flex-row lg:justify-center",
|
|
56614
56633
|
children: t
|
|
56615
56634
|
})]
|
|
56616
|
-
}),
|
|
56635
|
+
}), sve = "cursor-pointer rounded-200 outline-hidden focus-visible:misc-border-size-focus-ring focus-visible:ring-misc-focus-indicator text-content-accent hover:text-content-accent-hover active:text-content-accent-down focus-visible:text-content-accent-hover".split(" ").map((e) => `[&_a]:${e}`).join(" "), cve = ({ content: e, footer: t, className: n, ...r }) => /* @__PURE__ */ E("div", {
|
|
56617
56636
|
...r,
|
|
56618
56637
|
className: H("rounded-500 bg-background-subdued text-content-secondary [&_strong]:body-semi-strong-700 [&_strong]:text-content-primary w-full lg:max-w-[512px]", "px-6 pt-5 pb-6", "sm:px-8 sm:pt-6 sm:pb-8", n),
|
|
56619
56638
|
children: [/* @__PURE__ */ T("div", {
|
|
56620
56639
|
className: "body-light-600 sm:body-light-700 w-full max-w-[560px]",
|
|
56621
56640
|
children: e
|
|
56622
56641
|
}), !!t && /* @__PURE__ */ T("div", {
|
|
56623
|
-
className: H("body-light-500 mt-6 w-full max-w-[560px]",
|
|
56642
|
+
className: H("body-light-500 mt-6 w-full max-w-[560px]", sve),
|
|
56624
56643
|
children: t
|
|
56625
56644
|
})]
|
|
56626
56645
|
}), V9 = l(({ as: e = "a", icon: t, title: n, description: r, image: i, ...a }, o) => a.href ? /* @__PURE__ */ E(e, {
|
|
@@ -56647,7 +56666,7 @@ var tve = ({ titleBlock: e, content: t, ctaLabel: n, ctaLink: r, ...i }) => /* @
|
|
|
56647
56666
|
V9.displayName = "ToolCard";
|
|
56648
56667
|
//#endregion
|
|
56649
56668
|
//#region src/components/website/ToolCategoryBannerBlock/ToolCategoryBannerBlock.tsx
|
|
56650
|
-
var
|
|
56669
|
+
var lve = ({ title: e, children: t, cta: n, image: r, ...i }) => {
|
|
56651
56670
|
let a = b(() => n ? o(n, {
|
|
56652
56671
|
variant: "secondary",
|
|
56653
56672
|
size: "medium",
|
|
@@ -56692,7 +56711,7 @@ var cve = ({ title: e, children: t, cta: n, image: r, ...i }) => {
|
|
|
56692
56711
|
H9.displayName = "ToolSmallCard";
|
|
56693
56712
|
//#endregion
|
|
56694
56713
|
//#region src/components/website/UseCasesBlock/UseCasesBlock.tsx
|
|
56695
|
-
var
|
|
56714
|
+
var uve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom", useCases: r, ...a }) => /* @__PURE__ */ E(p9, {
|
|
56696
56715
|
variant: n,
|
|
56697
56716
|
className: V("flex flex-col items-center", "px-4 sm:px-6 md:px-8 xl:px-10", "pt-e700 pb-e1000", "gap-i400"),
|
|
56698
56717
|
...a,
|
|
@@ -56713,7 +56732,7 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
56713
56732
|
}, n))
|
|
56714
56733
|
})
|
|
56715
56734
|
]
|
|
56716
|
-
}),
|
|
56735
|
+
}), dve = ({ before: e, after: t, ...n }) => /* @__PURE__ */ E("div", {
|
|
56717
56736
|
className: V("relative flex h-full w-full", "gap-8 sm:gap-18 md:gap-20 lg:gap-28"),
|
|
56718
56737
|
...n,
|
|
56719
56738
|
children: [
|
|
@@ -56734,11 +56753,11 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
56734
56753
|
})
|
|
56735
56754
|
})
|
|
56736
56755
|
]
|
|
56737
|
-
}),
|
|
56756
|
+
}), fve = ({ image: e, withBorder: t, ...n }) => e ? /* @__PURE__ */ T("div", {
|
|
56738
56757
|
className: V("rounded-500 relative overflow-hidden", t && "after:rounded-500 after:border-misc-border after:pointer-events-none after:absolute after:top-0 after:left-0 after:h-full after:w-full after:border after:content-['']"),
|
|
56739
56758
|
...n,
|
|
56740
56759
|
children: e
|
|
56741
|
-
}) : null,
|
|
56760
|
+
}) : null, pve = ({ titleBlock: e, background: t, children: r, className: i, ...a }) => {
|
|
56742
56761
|
let o = n.count(r);
|
|
56743
56762
|
return /* @__PURE__ */ T("section", {
|
|
56744
56763
|
className: H("pt-e700 pb-e1000 w-full px-4 sm:px-6 md:px-8 xl:px-10", {
|
|
@@ -56757,7 +56776,7 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
56757
56776
|
})]
|
|
56758
56777
|
})
|
|
56759
56778
|
});
|
|
56760
|
-
},
|
|
56779
|
+
}, mve = ({ icon: e, title: t, description: n, className: r, ...i }) => /* @__PURE__ */ E("div", {
|
|
56761
56780
|
className: H("flex flex-col gap-4 sm:flex-row sm:gap-6 lg:flex-col lg:gap-4", "border-t border-neutral-400", "pt-6 sm:pt-8", r),
|
|
56762
56781
|
...i,
|
|
56763
56782
|
children: [/* @__PURE__ */ T("div", {
|
|
@@ -56773,7 +56792,7 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
56773
56792
|
children: n
|
|
56774
56793
|
})]
|
|
56775
56794
|
})]
|
|
56776
|
-
}),
|
|
56795
|
+
}), hve = /* @__PURE__ */ Ft(((e) => {
|
|
56777
56796
|
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
56778
56797
|
function b(e) {
|
|
56779
56798
|
if (typeof e == "object" && e) {
|
|
@@ -56829,7 +56848,7 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
56829
56848
|
}, e.isValidElementType = function(e) {
|
|
56830
56849
|
return typeof e == "string" || typeof e == "function" || e === i || e === u || e === o || e === a || e === f || e === p || typeof e == "object" && !!e && (e.$$typeof === h || e.$$typeof === m || e.$$typeof === s || e.$$typeof === c || e.$$typeof === d || e.$$typeof === _ || e.$$typeof === v || e.$$typeof === y || e.$$typeof === g);
|
|
56831
56850
|
}, e.typeOf = b;
|
|
56832
|
-
})),
|
|
56851
|
+
})), gve = /* @__PURE__ */ Ft(((e) => {
|
|
56833
56852
|
process.env.NODE_ENV !== "production" && (function() {
|
|
56834
56853
|
var t = typeof Symbol == "function" && Symbol.for, n = t ? Symbol.for("react.element") : 60103, r = t ? Symbol.for("react.portal") : 60106, i = t ? Symbol.for("react.fragment") : 60107, a = t ? Symbol.for("react.strict_mode") : 60108, o = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, d = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, h = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, _ = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, y = t ? Symbol.for("react.scope") : 60119;
|
|
56835
56854
|
function b(e) {
|
|
@@ -56906,8 +56925,8 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
56906
56925
|
e.AsyncMode = S, e.ConcurrentMode = C, e.ContextConsumer = w, e.ContextProvider = T, e.Element = E, e.ForwardRef = D, e.Fragment = O, e.Lazy = k, e.Memo = A, e.Portal = j, e.Profiler = M, e.StrictMode = N, e.Suspense = P, e.isAsyncMode = I, e.isConcurrentMode = L, e.isContextConsumer = R, e.isContextProvider = ee, e.isElement = te, e.isForwardRef = ne, e.isFragment = re, e.isLazy = ie, e.isMemo = ae, e.isPortal = z, e.isProfiler = oe, e.isStrictMode = se, e.isSuspense = ce, e.isValidElementType = b, e.typeOf = x;
|
|
56907
56926
|
})();
|
|
56908
56927
|
})), U9 = /* @__PURE__ */ Ft(((e, t) => {
|
|
56909
|
-
process.env.NODE_ENV === "production" ? t.exports =
|
|
56910
|
-
})),
|
|
56928
|
+
process.env.NODE_ENV === "production" ? t.exports = hve() : t.exports = gve();
|
|
56929
|
+
})), _ve = /* @__PURE__ */ Ft(((e, t) => {
|
|
56911
56930
|
var n = Object.getOwnPropertySymbols, r = Object.prototype.hasOwnProperty, i = Object.prototype.propertyIsEnumerable;
|
|
56912
56931
|
function a(e) {
|
|
56913
56932
|
if (e == null) throw TypeError("Object.assign cannot be called with null or undefined");
|
|
@@ -56944,7 +56963,7 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
56944
56963
|
t.exports = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
|
|
56945
56964
|
})), G9 = /* @__PURE__ */ Ft(((e, t) => {
|
|
56946
56965
|
t.exports = Function.call.bind(Object.prototype.hasOwnProperty);
|
|
56947
|
-
})),
|
|
56966
|
+
})), vve = /* @__PURE__ */ Ft(((e, t) => {
|
|
56948
56967
|
var n = function() {};
|
|
56949
56968
|
if (process.env.NODE_ENV !== "production") {
|
|
56950
56969
|
var r = W9(), i = {}, a = G9();
|
|
@@ -56980,8 +56999,8 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
56980
56999
|
o.resetWarningCache = function() {
|
|
56981
57000
|
process.env.NODE_ENV !== "production" && (i = {});
|
|
56982
57001
|
}, t.exports = o;
|
|
56983
|
-
})),
|
|
56984
|
-
var n = U9(), r =
|
|
57002
|
+
})), yve = /* @__PURE__ */ Ft(((e, t) => {
|
|
57003
|
+
var n = U9(), r = _ve(), i = W9(), a = G9(), o = vve(), s = function() {};
|
|
56985
57004
|
process.env.NODE_ENV !== "production" && (s = function(e) {
|
|
56986
57005
|
var t = "Warning: " + e;
|
|
56987
57006
|
typeof console < "u" && console.error(t);
|
|
@@ -57239,7 +57258,7 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
57239
57258
|
}
|
|
57240
57259
|
return p.checkPropTypes = o, p.resetWarningCache = o.resetWarningCache, p.PropTypes = p, p;
|
|
57241
57260
|
};
|
|
57242
|
-
})),
|
|
57261
|
+
})), bve = /* @__PURE__ */ Ft(((e, t) => {
|
|
57243
57262
|
var n = W9();
|
|
57244
57263
|
function r() {}
|
|
57245
57264
|
function i() {}
|
|
@@ -57279,12 +57298,12 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
57279
57298
|
};
|
|
57280
57299
|
return a.PropTypes = a, a;
|
|
57281
57300
|
};
|
|
57282
|
-
})),
|
|
57301
|
+
})), xve = /* @__PURE__ */ Ft(((e, t) => {
|
|
57283
57302
|
if (process.env.NODE_ENV !== "production") {
|
|
57284
57303
|
var n = U9();
|
|
57285
|
-
t.exports =
|
|
57286
|
-
} else t.exports =
|
|
57287
|
-
})),
|
|
57304
|
+
t.exports = yve()(n.isElement, !0);
|
|
57305
|
+
} else t.exports = bve()();
|
|
57306
|
+
})), Sve = /* @__PURE__ */ Ft(((e, t) => {
|
|
57288
57307
|
t.exports = function e(t, n) {
|
|
57289
57308
|
if (t === n) return !0;
|
|
57290
57309
|
if (t && n && typeof t == "object" && typeof n == "object") {
|
|
@@ -57308,7 +57327,7 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
57308
57327
|
}
|
|
57309
57328
|
return t !== t && n !== n;
|
|
57310
57329
|
};
|
|
57311
|
-
})),
|
|
57330
|
+
})), Cve = /* @__PURE__ */ Ft(((e, t) => {
|
|
57312
57331
|
t.exports = function() {
|
|
57313
57332
|
var e = {}, t = {};
|
|
57314
57333
|
return e.on = function(e, n) {
|
|
@@ -57325,7 +57344,7 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
57325
57344
|
if (r) for (i = r.length; i--;) r[i].handler(n);
|
|
57326
57345
|
}, e;
|
|
57327
57346
|
};
|
|
57328
|
-
})),
|
|
57347
|
+
})), wve = /* @__PURE__ */ Ft(((e, t) => {
|
|
57329
57348
|
t.exports = function(e, t, a) {
|
|
57330
57349
|
var o = document.head || document.getElementsByTagName("head")[0], s = document.createElement("script");
|
|
57331
57350
|
typeof t == "function" && (a = t, t = {}), t ||= {}, a ||= function() {}, s.type = t.type || "text/javascript", s.charset = t.charset || "utf8", s.async = "async" in t ? !!t.async : !0, s.src = e, t.attrs && n(s, t.attrs), t.text && (s.text = "" + t.text), ("onload" in s ? r : i)(s, a), s.onload || r(s, a), o.appendChild(s);
|
|
@@ -57345,9 +57364,9 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
57345
57364
|
this.readyState != "complete" && this.readyState != "loaded" || (this.onreadystatechange = null, t(null, e));
|
|
57346
57365
|
};
|
|
57347
57366
|
}
|
|
57348
|
-
})),
|
|
57367
|
+
})), Tve = /* @__PURE__ */ Ft(((e, t) => {
|
|
57349
57368
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
57350
|
-
var n = r(
|
|
57369
|
+
var n = r(wve());
|
|
57351
57370
|
function r(e) {
|
|
57352
57371
|
return e && e.__esModule ? e : { default: e };
|
|
57353
57372
|
}
|
|
@@ -57368,7 +57387,7 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
57368
57387
|
};
|
|
57369
57388
|
});
|
|
57370
57389
|
}, t.exports = e.default;
|
|
57371
|
-
})),
|
|
57390
|
+
})), Eve = /* @__PURE__ */ Ft(((e, t) => {
|
|
57372
57391
|
var n = 1e3, r = n * 60, i = r * 60, a = i * 24, o = a * 365.25;
|
|
57373
57392
|
t.exports = function(e, t) {
|
|
57374
57393
|
t ||= {};
|
|
@@ -57425,8 +57444,8 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
57425
57444
|
function u(e, t, n) {
|
|
57426
57445
|
if (!(e < t)) return e < t * 1.5 ? Math.floor(e / t) + " " + n : Math.ceil(e / t) + " " + n + "s";
|
|
57427
57446
|
}
|
|
57428
|
-
})),
|
|
57429
|
-
e = t.exports = i.debug = i.default = i, e.coerce = c, e.disable = o, e.enable = a, e.enabled = s, e.humanize =
|
|
57447
|
+
})), Dve = /* @__PURE__ */ Ft(((e, t) => {
|
|
57448
|
+
e = t.exports = i.debug = i.default = i, e.coerce = c, e.disable = o, e.enable = a, e.enabled = s, e.humanize = Eve(), e.names = [], e.skips = [], e.formatters = {};
|
|
57430
57449
|
var n;
|
|
57431
57450
|
function r(t) {
|
|
57432
57451
|
var n = 0, r;
|
|
@@ -57471,8 +57490,8 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
57471
57490
|
function c(e) {
|
|
57472
57491
|
return e instanceof Error ? e.stack || e.message : e;
|
|
57473
57492
|
}
|
|
57474
|
-
})),
|
|
57475
|
-
e = t.exports =
|
|
57493
|
+
})), Ove = /* @__PURE__ */ Ft(((e, t) => {
|
|
57494
|
+
e = t.exports = Dve(), e.log = i, e.formatArgs = r, e.save = a, e.load = o, e.useColors = n, e.storage = typeof chrome < "u" && chrome.storage !== void 0 ? chrome.storage.local : s(), e.colors = [
|
|
57476
57495
|
"lightseagreen",
|
|
57477
57496
|
"forestgreen",
|
|
57478
57497
|
"goldenrod",
|
|
@@ -57522,9 +57541,9 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
57522
57541
|
return window.localStorage;
|
|
57523
57542
|
} catch {}
|
|
57524
57543
|
}
|
|
57525
|
-
})), Ove = /* @__PURE__ */ Ft(((e, t) => {
|
|
57526
|
-
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = /* @__PURE__ */ "cueVideoById.loadVideoById.cueVideoByUrl.loadVideoByUrl.playVideo.pauseVideo.stopVideo.getVideoLoadedFraction.cuePlaylist.loadPlaylist.nextVideo.previousVideo.playVideoAt.setShuffle.setLoop.getPlaylist.getPlaylistIndex.setOption.mute.unMute.isMuted.setVolume.getVolume.seekTo.getPlayerState.getPlaybackRate.setPlaybackRate.getAvailablePlaybackRates.getPlaybackQuality.setPlaybackQuality.getAvailableQualityLevels.getCurrentTime.getDuration.removeEventListener.getVideoUrl.getVideoEmbedCode.getOptions.getOption.addEventListener.destroy.setSize.getIframe".split("."), t.exports = e.default;
|
|
57527
57544
|
})), kve = /* @__PURE__ */ Ft(((e, t) => {
|
|
57545
|
+
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = /* @__PURE__ */ "cueVideoById.loadVideoById.cueVideoByUrl.loadVideoByUrl.playVideo.pauseVideo.stopVideo.getVideoLoadedFraction.cuePlaylist.loadPlaylist.nextVideo.previousVideo.playVideoAt.setShuffle.setLoop.getPlaylist.getPlaylistIndex.setOption.mute.unMute.isMuted.setVolume.getVolume.seekTo.getPlayerState.getPlaybackRate.setPlaybackRate.getAvailablePlaybackRates.getPlaybackQuality.setPlaybackQuality.getAvailableQualityLevels.getCurrentTime.getDuration.removeEventListener.getVideoUrl.getVideoEmbedCode.getOptions.getOption.addEventListener.destroy.setSize.getIframe".split("."), t.exports = e.default;
|
|
57546
|
+
})), Ave = /* @__PURE__ */ Ft(((e, t) => {
|
|
57528
57547
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = [
|
|
57529
57548
|
"ready",
|
|
57530
57549
|
"stateChange",
|
|
@@ -57534,7 +57553,7 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
57534
57553
|
"apiChange",
|
|
57535
57554
|
"volumeChange"
|
|
57536
57555
|
], t.exports = e.default;
|
|
57537
|
-
})),
|
|
57556
|
+
})), jve = /* @__PURE__ */ Ft(((e, t) => {
|
|
57538
57557
|
Object.defineProperty(e, "__esModule", { value: !0 }), e.default = {
|
|
57539
57558
|
BUFFERING: 3,
|
|
57540
57559
|
ENDED: 0,
|
|
@@ -57543,9 +57562,9 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
57543
57562
|
UNSTARTED: -1,
|
|
57544
57563
|
VIDEO_CUED: 5
|
|
57545
57564
|
}, t.exports = e.default;
|
|
57546
|
-
})),
|
|
57565
|
+
})), Mve = /* @__PURE__ */ Ft(((e, t) => {
|
|
57547
57566
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
57548
|
-
var n = r(
|
|
57567
|
+
var n = r(jve());
|
|
57549
57568
|
function r(e) {
|
|
57550
57569
|
return e && e.__esModule ? e : { default: e };
|
|
57551
57570
|
}
|
|
@@ -57568,9 +57587,9 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
57568
57587
|
timeout: 3e3
|
|
57569
57588
|
}
|
|
57570
57589
|
}, t.exports = e.default;
|
|
57571
|
-
})),
|
|
57590
|
+
})), Nve = /* @__PURE__ */ Ft(((e, t) => {
|
|
57572
57591
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
57573
|
-
var n = o(
|
|
57592
|
+
var n = o(Ove()), r = o(kve()), i = o(Ave()), a = o(Mve());
|
|
57574
57593
|
function o(e) {
|
|
57575
57594
|
return e && e.__esModule ? e : { default: e };
|
|
57576
57595
|
}
|
|
@@ -57637,13 +57656,13 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
57637
57656
|
}
|
|
57638
57657
|
return n;
|
|
57639
57658
|
}, e.default = c, t.exports = e.default;
|
|
57640
|
-
})),
|
|
57659
|
+
})), Pve = /* @__PURE__ */ Ft(((e, t) => {
|
|
57641
57660
|
Object.defineProperty(e, "__esModule", { value: !0 });
|
|
57642
57661
|
var n = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
|
|
57643
57662
|
return typeof e;
|
|
57644
57663
|
} : function(e) {
|
|
57645
57664
|
return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
|
|
57646
|
-
}, r = o(
|
|
57665
|
+
}, r = o(Cve()), i = o(Tve()), a = o(Nve());
|
|
57647
57666
|
function o(e) {
|
|
57648
57667
|
return e && e.__esModule ? e : { default: e };
|
|
57649
57668
|
}
|
|
@@ -57663,16 +57682,16 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
57663
57682
|
}), u = a.default.promisifyPlayer(l, o);
|
|
57664
57683
|
return u.on = c.on, u.off = c.off, u;
|
|
57665
57684
|
}, t.exports = e.default;
|
|
57666
|
-
})), K9 = /* @__PURE__ */ Lt(
|
|
57685
|
+
})), K9 = /* @__PURE__ */ Lt(xve()), Fve = /* @__PURE__ */ Lt(Sve()), Ive = /* @__PURE__ */ Lt(Pve()), Lve = Object.defineProperty, Rve = Object.defineProperties, zve = Object.getOwnPropertyDescriptors, q9 = Object.getOwnPropertySymbols, Bve = Object.prototype.hasOwnProperty, Vve = Object.prototype.propertyIsEnumerable, J9 = (e, t, n) => t in e ? Lve(e, t, {
|
|
57667
57686
|
enumerable: !0,
|
|
57668
57687
|
configurable: !0,
|
|
57669
57688
|
writable: !0,
|
|
57670
57689
|
value: n
|
|
57671
57690
|
}) : e[t] = n, Y9 = (e, t) => {
|
|
57672
|
-
for (var n in t ||= {})
|
|
57673
|
-
if (q9) for (var n of q9(t))
|
|
57691
|
+
for (var n in t ||= {}) Bve.call(t, n) && J9(e, n, t[n]);
|
|
57692
|
+
if (q9) for (var n of q9(t)) Vve.call(t, n) && J9(e, n, t[n]);
|
|
57674
57693
|
return e;
|
|
57675
|
-
}, X9 = (e, t) =>
|
|
57694
|
+
}, X9 = (e, t) => Rve(e, zve(t)), Hve = (e, t, n) => new Promise((r, i) => {
|
|
57676
57695
|
var a = (e) => {
|
|
57677
57696
|
try {
|
|
57678
57697
|
s(n.next(e));
|
|
@@ -57688,7 +57707,7 @@ var lve = ({ titleBlock: e, selectedIndex: t, background: n = "neutral-50-bottom
|
|
|
57688
57707
|
}, s = (e) => e.done ? r(e.value) : Promise.resolve(e.value).then(a, o);
|
|
57689
57708
|
s((n = n.apply(e, t)).next());
|
|
57690
57709
|
});
|
|
57691
|
-
function
|
|
57710
|
+
function Uve(e, t) {
|
|
57692
57711
|
if (e.videoId !== t.videoId) return !0;
|
|
57693
57712
|
let n = e.opts?.playerVars || {}, r = t.opts?.playerVars || {};
|
|
57694
57713
|
return n.start !== r.start || n.end !== r.end;
|
|
@@ -57704,13 +57723,13 @@ function Z9(e = {}) {
|
|
|
57704
57723
|
})
|
|
57705
57724
|
});
|
|
57706
57725
|
}
|
|
57707
|
-
function Uve(e, t) {
|
|
57708
|
-
return e.videoId !== t.videoId || !(0, Pve.default)(Z9(e.opts), Z9(t.opts));
|
|
57709
|
-
}
|
|
57710
57726
|
function Wve(e, t) {
|
|
57727
|
+
return e.videoId !== t.videoId || !(0, Fve.default)(Z9(e.opts), Z9(t.opts));
|
|
57728
|
+
}
|
|
57729
|
+
function Gve(e, t) {
|
|
57711
57730
|
return e.id !== t.id || e.className !== t.className || e.opts?.width !== t.opts?.width || e.opts?.height !== t.opts?.height || e.iframeClassName !== t.iframeClassName || e.title !== t.title;
|
|
57712
57731
|
}
|
|
57713
|
-
var
|
|
57732
|
+
var Kve = {
|
|
57714
57733
|
videoId: "",
|
|
57715
57734
|
id: "",
|
|
57716
57735
|
className: "",
|
|
@@ -57727,7 +57746,7 @@ var Gve = {
|
|
|
57727
57746
|
onStateChange: () => {},
|
|
57728
57747
|
onPlaybackRateChange: () => {},
|
|
57729
57748
|
onPlaybackQualityChange: () => {}
|
|
57730
|
-
},
|
|
57749
|
+
}, qve = {
|
|
57731
57750
|
videoId: K9.default.string,
|
|
57732
57751
|
id: K9.default.string,
|
|
57733
57752
|
className: K9.default.string,
|
|
@@ -57779,7 +57798,7 @@ var Gve = {
|
|
|
57779
57798
|
return;
|
|
57780
57799
|
}
|
|
57781
57800
|
let e = X9(Y9({}, this.props.opts), { videoId: this.props.videoId });
|
|
57782
|
-
this.internalPlayer = (0,
|
|
57801
|
+
this.internalPlayer = (0, Ive.default)(this.container, e), this.internalPlayer.on("ready", this.onPlayerReady), this.internalPlayer.on("error", this.onPlayerError), this.internalPlayer.on("stateChange", this.onPlayerStateChange), this.internalPlayer.on("playbackRateChange", this.onPlayerPlaybackRateChange), this.internalPlayer.on("playbackQualityChange", this.onPlayerPlaybackQualityChange), (this.props.title || this.props.loading) && this.internalPlayer.getIframe().then((e) => {
|
|
57783
57802
|
this.props.title && e.setAttribute("title", this.props.title), this.props.loading && e.setAttribute("loading", this.props.loading);
|
|
57784
57803
|
});
|
|
57785
57804
|
}, this.resetPlayer = () => this.destroyPlayer().then(this.createPlayer), this.updatePlayer = () => {
|
|
@@ -57807,8 +57826,8 @@ var Gve = {
|
|
|
57807
57826
|
this.createPlayer();
|
|
57808
57827
|
}
|
|
57809
57828
|
componentDidUpdate(e) {
|
|
57810
|
-
return
|
|
57811
|
-
|
|
57829
|
+
return Hve(this, null, function* () {
|
|
57830
|
+
Gve(e, this.props) && this.updatePlayer(), Wve(e, this.props) && (yield this.resetPlayer()), Uve(e, this.props) && this.updateVideo();
|
|
57812
57831
|
});
|
|
57813
57832
|
}
|
|
57814
57833
|
componentWillUnmount() {
|
|
@@ -57825,7 +57844,7 @@ var Gve = {
|
|
|
57825
57844
|
}));
|
|
57826
57845
|
}
|
|
57827
57846
|
}, $9 = Q9;
|
|
57828
|
-
$9.propTypes =
|
|
57847
|
+
$9.propTypes = qve, $9.defaultProps = Kve, $9.PlayerState = {
|
|
57829
57848
|
UNSTARTED: -1,
|
|
57830
57849
|
ENDED: 0,
|
|
57831
57850
|
PLAYING: 1,
|
|
@@ -57833,11 +57852,11 @@ $9.propTypes = Kve, $9.defaultProps = Gve, $9.PlayerState = {
|
|
|
57833
57852
|
BUFFERING: 3,
|
|
57834
57853
|
CUED: 5
|
|
57835
57854
|
};
|
|
57836
|
-
var
|
|
57855
|
+
var Jve = $9, Yve = ({ videoId: e, className: t }) => {
|
|
57837
57856
|
let [n, r] = C("");
|
|
57838
57857
|
return h(() => {
|
|
57839
57858
|
typeof window < "u" && r(window.location.origin);
|
|
57840
|
-
}, []), n ? /* @__PURE__ */ T(
|
|
57859
|
+
}, []), n ? /* @__PURE__ */ T(Jve, {
|
|
57841
57860
|
videoId: e,
|
|
57842
57861
|
id: e,
|
|
57843
57862
|
className: V("yt-embed relative aspect-video w-full overflow-hidden", "[&_iframe]:absolute [&_iframe]:inset-0 [&_iframe]:size-full", t),
|
|
@@ -57845,6 +57864,6 @@ var qve = $9, Jve = ({ videoId: e, className: t }) => {
|
|
|
57845
57864
|
}) : null;
|
|
57846
57865
|
};
|
|
57847
57866
|
//#endregion
|
|
57848
|
-
export { T9 as API_BASIC_PLAN_SHORTNAME, D9 as API_ENTERPRISE_PLAN_SHORTNAME, E9 as API_PLUS_PLAN_SHORTNAME, Sge as AccentDropZone, bW as ActionButton, $pe as ActionHeader, BG as ActivityIndicator, Eme as ActivityRow,
|
|
57867
|
+
export { T9 as API_BASIC_PLAN_SHORTNAME, D9 as API_ENTERPRISE_PLAN_SHORTNAME, E9 as API_PLUS_PLAN_SHORTNAME, Sge as AccentDropZone, Cge as AchievementsBlock, bW as ActionButton, $pe as ActionHeader, BG as ActivityIndicator, Eme as ActivityRow, wge as ApiHeroBlock, D_e as ApiPricingCardsContainer, k_e as ApiPricingCardsItem, F_e as ApiPricingFeaturesLegend, I_e as ApiPricingFeaturesSectionItemBadge, A_e as ApiPricingMonthlyPricePerImage, j_e as ApiPricingPartnerCard, Bt as AppButton, L_e as AppPricingCardsContainer, B_e as AppPricingCardsItemV2, V_e as AppPricingFeaturesLegend, H_e as AppPricingFeaturesSectionItemBadge, o9 as ArticleAuthor, s9 as ArticleContent, Ege as ArticleHeroBlock, Dge as AssetPreview, js as Avatar, Ame as AvatarSkeleton, Ime as AvatarStack, Age as AwardsBlock, zs as Badge, jge as BlogActionBlock, QW as BlogActionCard, $W as BlogEditorialCard, Mge as BlogQuoteBlock, Vt as BlogSocialButton, u9 as BlogSubtleActionBlock, Bq as Bone, Lme as Breadcrumbs, Dr as Button, kr as ButtonCluster, Aee as CDN, Zde as CODE_LENGTH, a3 as CanvasInput, Yme as CardBadge, Nge as CardsBlock, Pge as CardsHeroBlock, Fge as CareersBlock, Ige as CareersBlockItem, gV as CheckGroup, mV as CheckGroupContext, _3 as Checkbox, Yde as CheckboxField, Xde as Chip, Q4 as ChoiceFeedTile, $4 as ChoiceFeedTileGroup, G5 as ChoiceMultipleGroup, K5 as ChoiceSingleGroup, q5 as ChoiceSingleTile, Ar as CircularButton, jr as ClearButton, y3 as CodeInput, jde as CollectionTile, Vq as ColorPalette, xY as ColorPicker, CY as ColorRow, TG as ColorSwatch, Uq as ColorWheel, Dme as CommentRow, Lge as ComparisonBlock, aG as ComparisonSlider, Rge as ComparisonTable, dU as ContextMenu, zge as CustomerStoriesBlock, sG as CustomerStoryCard, Bge as DataBlock, kq as Dialog, aU as Divider, b3 as DomainField, O3 as DropZone, S3 as DropZoneAreaWrapper, w3 as DropZoneFullscreen, C3 as DropZoneOverlay, Nq as DropdownListBox, gW as DropdownMenu, W3 as DropdownMenuMultipleSelectionItem, Pq as DropdownMenuSingleSelectionItem, Fq as DropdownMenuSpaceActionItem, Iq as DropdownMenuSpaceItem, oW as DropdownSearchField, vG as EditorialCard, Vge as EditorialLineupBlock, Xme as EmptySpace, Ome as EventRow, ihe as ExportLimitCard, Hge as ExtraTextBlock, Uge as FaqBlock, Wge as FaqItem, Jge as FeatureBlock, Qge as FeatureBlockListItem, Yge as FeatureClassicVisual, Xge as FeatureSwitcher, Zge as FeatureVideoElement, Gge as FeaturesBlock, Hhe as FeaturesList, $ge as FeaturesListBlock, e_e as FeaturesListBlockItem, vW as FeedHeader, vc as FeedTile, Mr as FieldClearButton, Rq as FieldLabel, t_e as FocusBlock, yG as Folder, j3 as FolderList, U8 as FontFamilyRow, N3 as FontWeightSelectorItem, m9 as FooterV2Block, ohe as FullScreenLoader, she as Gauge, _9 as GlossaryAlphabet, a_e as GlossarySection, v9 as GlossaryTermCard, b9 as HeaderBanner, Whe as Heading, Ps as HelpButton, ZJ as HelperText, Fs as HeroButton, o_e as HeroTitleBlock, T3 as HiddenFileInput, w7 as HighLightedText, Nde as Hint, wY as HoverObjectBox, P3 as ImageField, F3 as ImagePicker, z3 as ImageWidget, s_e as ImpactBlock, c_e as ImpactCard, B3 as ImportWidget, Ghe as InfoBanner, Ide as InfoBar, Ls as InfoButton, l_e as InfoSnapshot, u_e as InfoSnapshotItem, bG as InfoTable, xG as InfoTableRow, bY as InlineColorPicker, V3 as InlineRadioGroup, H3 as InlineSelector, Cc as InputButton, d_e as InspirationWallBlock, f_e as JoinTeamBlock, QJ as Label, TY as LayerIndicator, gc as LazyImage, SG as LightPromoBanner, kc as LimitButton, jq as LimitGauge, Oc as LimitIndicatorGauge, CG as LinkCard, J5 as ListChoiceSingleTile, EY as ListItem, Nc as LoginButton, p_e as LogosBlock, m_e as LogosHighlightBlock, h_e as LogosWallBlock, _ge as MobileDrawer, Pc as MobileNavigationButton, nG as MoreTile, yW as MultiActionWidget, zc as NavigationButton, Rc as NavigationToggleButton, OG as NewPaletteTile, s7 as Notification, uhe as NotificationImage, Phe as NotificationStack, Fhe as NotificationsStore, gY as NumberField, xge as NumberSelectField, DY as ObjectItem, EG as ObjectPreview, kG as OfferCard, g_e as OffersBlock, K3 as OptionGroup, Vc as OverlayButton, Bc as OverlayButtonBase, Hc as OverlaySelectButton, z9 as PROMO_BANNER_SESSION_KEY, __e as PageTitle, C7 as PanelHeader, x7 as PanelHeaderSwitcherButton, q3 as PanelStandardInput, eme as PeopleListItem, ufe as PhotoDropZone, AY as Pill, kY as PillDivider, r3 as PlaceholderTile, Rme as PlanPicker, v_e as PlaygroundBlock, y_e as PlaygroundHeroBlock, ZW as Popover, NY as PresenceObjectBox, Y3 as PresetGroup, Uc as PresetPullDownButton, b_e as PressBlock, kK as PreviewBox, M_e as PricingFeatures, A9 as PricingFeaturesLegend, N_e as PricingFeaturesSection, P_e as PricingFeaturesSectionItem, j9 as PricingFeaturesSectionItemBadge, x_e as PricingHeroBlock, U_e as PricingPicker, K_e as PricingPickerButton, ac as ProBadge, HG as ProductTile, o7 as Progress, h7 as ProgressStep, q_e as PromoBannerBlock, e3 as Prompt, t3 as PromptSuggestion, UG as PromptTile, XG as PropList, Yc as PullDownButton, Xc as QuickActionCard, pfe as QuickActionPhotoCard, J_e as QuickToolHeroBlock, Y_e as QuoteBlock, X3 as RadioGroup, gfe as ReactionBar, _fe as ReactionButton, Zc as RetryButton, Z_e as Review, X_e as ReviewsBlock, nl as RoundButton, rl as RoundedButton, $3 as SamplePicker, d8 as SearchInput, u8 as SearchableSelect, Q_e as SectionTitle, w5 as SegmentedControl, Wme as SegmentedPicker, eY as SelectField, U3 as SelectTrigger, A3 as SelectionBadge, Y4 as SelectionObjectBox, CK as SelectionTile, LG as SellScore, Rhe as Shortcut, T5 as SideNavigationHeader, E5 as SideNavigationItem, Kme as SideNavigationItemSkeleton, $_e as SidePageTitle, W8 as SizeListItem, N8 as Slider, Hpe as SliderField, eve as SmallSectionTitle, il as SocialButton, Lq as SpacePullDownButton, Mq as SpaceUsageDialog, ol as StandaloneLink, Kpe as StandardInput, P8 as StandardInputImagePrompt, I8 as StandardInputTextPrompt, wK as StarterTile, _7 as StatusBadge, TK as StepCard, tve as StepsBlock, Pse as StoreButton, oc as StudioBadge, Mde as Suggestion, L8 as SwitchField, R8 as SwitchGroup, A5 as Tabs, B9 as TagCloudBlock, B8 as TagField, z8 as TagFieldComponent, M5 as TagGroup, F5 as TagNavigation, nve as TakeActionBlock, rve as TakeActionBlockV2, ave as TestimonialItem, ive as TestimonialsBlock, F8 as TextArea, ove as TextContentBlock, cve as TextContentCard, V8 as TextEditionBox, H8 as TextField, Zpe as TextFieldLabel, rY as TextInput, n3 as TextSuggestion, X4 as TextureSwatch, zhe as ToastProgress, cE as ToggleButton, BE as ToggleStack, V9 as ToolCard, lve as ToolCategoryBannerBlock, I5 as ToolMenuButton, H9 as ToolSmallCard, qo as Tooltip, Yo as TooltipSection, Ms as TooltipUserRow, Bhe as TransformationEmptySpace, dve as UseCaseItemContentTransform, fve as UseCaseItemContentTransformItem, uve as UseCasesBlock, VE as ValidationBanner, mve as ValueCard, pve as ValuesBlock, Cme as VariantsList, S5 as VariantsListItem, DK as VideoPlayer, jK as VisualToolTile, Yve as YoutubeEmbed, zq as boneVariants, H as cn, Oq as contentVariants, Ns as convertMarkdownLinksToHTML, N9 as getMonthlyPriceDetails, M9 as getWeeklyPriceDetails, P9 as getYearlyPriceDetails, vr as isValidComponent, _r as noop, Dq as overlayVariants, O9 as useApiMonthlyPlanPrice, F9 as useBillingPeriodPrices, fV as useCarousel, hV as useCheckGroup, Qde as useCodeInput, pV as useControlledState, ahe as useExportLimitCard, D3 as useFileUploader, _V as useFocusKeyNav, KH as useFuse, JH as useImageLoadStatus, YH as useLazyLoadVideo, I9 as useLocalizedAppPriceInfo, XH as usePasteFilesHandler, x9 as usePriceCountryCurrencyDisplayName, ZH as useWindowDragEvents, Jo as withTooltip };
|
|
57849
57868
|
|
|
57850
57869
|
//# sourceMappingURL=index.mjs.map
|