PageSourceSearch

https://hunter.io/assets/Confirmation-ZKvvSg0k.js

js hunter.io collected 2026-09-24 07:52:10 UTC 24,252 bytes, 600 lines download raw bytes

1(function() {
2	try {
3		var e = "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof globalThis ? globalThis : "undefined" != typeof self ? self : {};
4		e.SENTRY_RELEASE = { id: "b96dc26" };
5		var n = new e.Error().stack;
6		n && (e._sentryDebugIds = e._sentryDebugIds || {}, e._sentryDebugIds[n] = "c1e2aa99-4d25-4dd1-8987-02b779e5394e", e._sentryDebugIdIdentifier = "sentry-dbid-c1e2aa99-4d25-4dd1-8987-02b779e5394e");
7	} catch (e) {}
8})();
9import { n as __esmMin } from "./rolldown-runtime-sLwMD6dS.js";
10import { Mi as init_routes, Vn as bulk_searches_path, zn as bulk_path } from "./controllers-jdPQjaCB.js";
11import { i as require_compiler_runtime, t as require_jsx_runtime } from "./jsx-runtime-CHSMGLHp.js";
12import { t as require_react } from "./react-CrLPhuc5.js";
13import { n as init_icon, t as Icon } from "./icon-BNzYbsdJ.js";
14import { r as init_button, t as Button } from "./button-DOiPZHfy.js";
15import { dn as PageHeaderBreadcrumbLink, fn as PageHeaderHeading, hn as init_page_header, ln as PageHeaderBreadcrumb, mn as PageHeaderTitle, sn as PageHeader, un as PageHeaderBreadcrumbItem } from "./turbo-mount-DM0tFk1M.js";
16import { n as init_bulk, t as bulk_default } from "./bulk-DV-ik4k2.js";
17import { c as EmptyStateImage, d as init_empty_state, i as EmptyStateContent, l as EmptyStateTitle, n as EmptyStateActions, t as EmptyState } from "./empty-state-Crv2GUlN.js";
18import { a as init_dist, l as router, s as usePage, t as Head_default } from "./dist-ZlUHm0R7.js";
19import { n as init_ConfirmDeletionDialog, t as ConfirmDeletionDialog } from "./ConfirmDeletionDialog-SRcPoDPF.js";
20import { n as useFlashMessages, t as init_useFlashMessages } from "./useFlashMessages-CaMVzoCv.js";
21import { n as useLegacyBodyClass, t as init_useLegacyBodyClass } from "./useLegacyBodyClass-D667Iu64.js";
22import { n as init_InfoPopover, t as InfoPopover } from "./InfoPopover-C1hCu3eW.js";
23import { i as init_DetailsAccordion, r as DetailsAccordion } from "./LegacyCostEstimation-CbbcKndD.js";
24import { a as BulkSearchPreview, c as init_BulkSearchCostEstimation, i as init_ConfigurationDetails, n as init_PremiumPopover, o as init_BulkSearchPreview, r as ConfigurationDetails, s as BulkSearchCostEstimation, t as PremiumPopover } from "./PremiumPopover-3Wy9DO3D.js";
25//#region app/frontend/pages/BulkSearches/Confirmation.tsx
26function Confirmation() {
27	const $ = (0, import_compiler_runtime.c)(15);
28	const { props } = usePage();
29	useFlashMessages(props.flash);
30	useLegacyBodyClass("bulk_searches confirmation show");
31	const [deleteOpen, setDeleteOpen] = (0, import_react.useState)(false);
32	let t0;
33	if ($[0] !== props.bulkSearch.name) {
34		t0 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Head_default, { title: props.bulkSearch.name });
35		$[0] = props.bulkSearch.name;
36		$[1] = t0;
37	} else t0 = $[1];
38	let t1;
39	if ($[2] !== props) {
40		t1 = props.creditsUx ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CreditsUxConfirmation, {
41			props,
42			onDelete: () => setDeleteOpen(true)
43		}) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LegacyConfirmation, {
44			props,
45			onDelete: () => setDeleteOpen(true)
46		});
47		$[2] = props;
48		$[3] = t1;
49	} else t1 = $[3];
50	let t2;
51	if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
52		t2 = () => setDeleteOpen(false);
53		$[4] = t2;
54	} else t2 = $[4];
55	let t3;
56	if ($[5] !== deleteOpen || $[6] !== props.deleteModal.buttonLabel || $[7] !== props.deleteModal.contentHtml || $[8] !== props.deleteModal.title || $[9] !== props.deletePath) {
57		t3 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ConfirmDeletionDialog, {
58			isOpen: deleteOpen,
59			onClose: t2,
60			title: props.deleteModal.title,
61			contentHtml: props.deleteModal.contentHtml,
62			buttonLabel: props.deleteModal.buttonLabel,
63			deletePath: props.deletePath
64		});
65		$[5] = deleteOpen;
66		$[6] = props.deleteModal.buttonLabel;
67		$[7] = props.deleteModal.contentHtml;
68		$[8] = props.deleteModal.title;
69		$[9] = props.deletePath;
70		$[10] = t3;
71	} else t3 = $[10];
72	let t4;
73	if ($[11] !== t0 || $[12] !== t1 || $[13] !== t3) {
74		t4 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
75			t0,
76			t1,
77			t3
78		] });
79		$[11] = t0;
80		$[12] = t1;
81		$[13] = t3;
82		$[14] = t4;
83	} else t4 = $[14];
84	return t4;
85}
86function LaunchForm(t0) {
87	const $ = (0, import_compiler_runtime.c)(12);
88	const { confirmationPath, hint } = t0;
89	const [processing, setProcessing] = (0, import_react.useState)(false);
90	let t1;
91	if ($[0] !== confirmationPath || $[1] !== processing) {
92		t1 = function onSubmit(event) {
93			event.preventDefault();
94			if (processing) return;
95			router.patch(confirmationPath, {}, {
96				onStart: () => setProcessing(true),
97				onFinish: () => setProcessing(false)
98			});
99		};
100		$[0] = confirmationPath;
101		$[1] = processing;
102		$[2] = t1;
103	} else t1 = $[2];
104	const onSubmit = t1;
105	const t2 = processing ? "Launching…" : "Launch";
106	let t3;
107	if ($[3] !== processing || $[4] !== t2) {
108		t3 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
109			variant: "primary",
110			type: "submit",
111			disabled: processing,
112			children: t2
113		});
114		$[3] = processing;
115		$[4] = t2;
116		$[5] = t3;
117	} else t3 = $[5];
118	let t4;
119	if ($[6] !== hint) {
120		t4 = hint && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
121			className: "text-size-sm text-hint ml-2",
122			children: hint
123		});
124		$[6] = hint;
125		$[7] = t4;
126	} else t4 = $[7];
127	let t5;
128	if ($[8] !== onSubmit || $[9] !== t3 || $[10] !== t4) {
129		t5 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("form", {
130			onSubmit,
131			children: [t3, t4]
132		});
133		$[8] = onSubmit;
134		$[9] = t3;
135		$[10] = t4;
136		$[11] = t5;
137	} else t5 = $[11];
138	return t5;
139}
140function EstimationInfoPopover(t0) {
141	const $ = (0, import_compiler_runtime.c)(2);
142	const { singleBucket } = t0;
143	let t1;
144	if ($[0] !== singleBucket) {
145		t1 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(InfoPopover, {
146			side: "top",
147			children: singleBucket ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
148				"Click “",
149				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("strong", { children: "Launch" }),
150				"” to start the Bulk Domain Search."
151			] }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: "Credits are deducted when the bulk is launched (for verification) and when results are downloaded or imported (for email finding)." })] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: "Click 'Launch' to start the Bulk Domain Search:" }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("ul", { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", { children: "Verification credits are deducted at launch." }), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("li", { children: "Search credits are only deducted when you download the results." })] })] })
152		});
153		$[0] = singleBucket;
154		$[1] = t1;
155	} else t1 = $[1];
156	return t1;
157}
158function ConfirmationCostEstimation(t0) {
159	const $ = (0, import_compiler_runtime.c)(6);
160	const { props, className } = t0;
161	if (!props.costEstimation) return null;
162	let t1;
163	if ($[0] !== props.estimationSingleBucketPopover) {
164		t1 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(EstimationInfoPopover, { singleBucket: props.estimationSingleBucketPopover });
165		$[0] = props.estimationSingleBucketPopover;
166		$[1] = t1;
167	} else t1 = $[1];
168	let t2;
169	if ($[2] !== className || $[3] !== props.costEstimation || $[4] !== t1) {
170		t2 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BulkSearchCostEstimation, {
171			estimation: props.costEstimation,
172			className,
173			titleExtra: t1
174		});
175		$[2] = className;
176		$[3] = props.costEstimation;
177		$[4] = t1;
178		$[5] = t2;
179	} else t2 = $[5];
180	return t2;
181}
182function LaunchControls(t0) {
183	const $ = (0, import_compiler_runtime.c)(12);
184	const { props } = t0;
185	const { launch } = props;
186	if (launch.allowDownload) {
187		if (props.bulkSearch.verifyEmails && !launch.enoughVerifyCredits) {
188			let t1;
189			if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
190				t1 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
191					variant: "primary",
192					type: "button",
193					children: "Launch"
194				});
195				$[0] = t1;
196			} else t1 = $[0];
197			let t2;
198			if ($[1] !== launch.upgradePath) {
199				t2 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PremiumPopover, {
200					copy: NOT_ENOUGH_CREDIT,
201					upgradePath: launch.upgradePath,
202					children: t1
203				});
204				$[1] = launch.upgradePath;
205				$[2] = t2;
206			} else t2 = $[2];
207			return t2;
208		}
209		let t1;
210		if ($[3] !== props.confirmationPath) {
211			t1 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LaunchForm, { confirmationPath: props.confirmationPath });
212			$[3] = props.confirmationPath;
213			$[4] = t1;
214		} else t1 = $[4];
215		return t1;
216	}
217	if (props.creditsUx) {
218		if (launch.canSampleLaunch) {
219			let t1;
220			if ($[5] !== props.confirmationPath) {
221				t1 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LaunchForm, {
222					confirmationPath: props.confirmationPath,
223					hint: LIMIT_HINT
224				});
225				$[5] = props.confirmationPath;
226				$[6] = t1;
227			} else t1 = $[6];
228			return t1;
229		}
230		let t1;
231		if ($[7] !== launch.upgradePath) {
232			t1 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
233				variant: "primary",
234				asChild: true,
235				children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", {
236					href: launch.upgradePath,
237					children: "Upgrade your plan"
238				})
239			});
240			$[7] = launch.upgradePath;
241			$[8] = t1;
242		} else t1 = $[8];
243		return t1;
244	}
245	let t1;
246	if ($[9] === Symbol.for("react.memo_cache_sentinel")) {
247		t1 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
248			variant: "primary",
249			type: "button",
250			children: "Launch"
251		});
252		$[9] = t1;
253	} else t1 = $[9];
254	let t2;
255	if ($[10] !== launch.upgradePath) {
256		t2 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PremiumPopover, {
257			copy: NOT_INCLUDE_IN_PLAN,
258			upgradePath: launch.upgradePath,
259			children: t1
260		});
261		$[10] = launch.upgradePath;
262		$[11] = t2;
263	} else t2 = $[11];
264	return t2;
265}
266function CreditsUxConfirmation(t0) {
267	const $ = (0, import_compiler_runtime.c)(13);
268	const { props, onDelete } = t0;
269	const bulk = props.bulkSearch;
270	let t1;
271	if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
272		t1 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PageHeaderBreadcrumbItem, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PageHeaderBreadcrumbLink, {
273			href: bulk_path(),
274			children: "Bulks"
275		}) });
276		$[0] = t1;
277	} else t1 = $[0];
278	let t2;
279	if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
280		t2 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(PageHeaderBreadcrumb, { children: [t1, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PageHeaderBreadcrumbItem, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PageHeaderBreadcrumbLink, {
281			href: bulk_searches_path(),
282			children: "Domain Search"
283		}) })] });
284		$[1] = t2;
285	} else t2 = $[1];
286	let t3;
287	if ($[2] !== bulk.name) {
288		t3 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PageHeader, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(PageHeaderHeading, { children: [t2, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PageHeaderTitle, { children: bulk.name })] }) });
289		$[2] = bulk.name;
290		$[3] = t3;
291	} else t3 = $[3];
292	let t4;
293	if ($[4] !== bulk.configuration || $[5] !== bulk.countsLabel || $[6] !== bulk.verifyEmails || $[7] !== onDelete || $[8] !== props) {
294		t4 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
295			className: "leads-import-details",
296			children: props.hasEstimates ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
297				/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ConfirmationCostEstimation, {
298					props,
299					className: "mb-4"
300				}),
301				/* @__PURE__ */ (0, import_jsx_runtime.jsx)(LaunchControls, { props }),
302				/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DetailsAccordion, {
303					className: "mt-10",
304					defaultOpen: true,
305					title: "Preview",
306					bodyClassName: "pt-3 px-3",
307					children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
308						className: "text-size-sm text-hint",
309						children: [
310							bulk.countsLabel,
311							" · ",
312							props.emailsLabel,
313							/* @__PURE__ */ (0, import_jsx_runtime.jsx)(BulkSearchPreview, {
314								previewPath: props.previewPath,
315								creditsUx: true
316							})
317						]
318					})
319				}),
320				/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DetailsAccordion, {
321					className: "mt-4",
322					title: "Configuration details",
323					children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ConfigurationDetails, {
324						configuration: bulk.configuration,
325						includeSourcesLabel: "Include sources:"
326					})
327				}),
328				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("hr", { className: "mb-6" }),
329				props.canDestroy && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button, {
330					size: "sm",
331					variant: "dangerLight",
332					type: "button",
333					onClick: onDelete,
334					children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { icon: "trash" }), "Delete the bulk"]
335				})
336			] }) : props.isSamplePrecise ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(EmptyState, {
337				className: "p-0",
338				children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(EmptyStateImage, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("img", {
339					src: bulk_default,
340					alt: ""
341				}) }), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(EmptyStateContent, { children: [
342					/* @__PURE__ */ (0, import_jsx_runtime.jsx)(EmptyStateTitle, { children: "No email addresses found" }),
343					/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: "We couldn’t find public email addresses for any of the companies. No credits have been charged." }),
344					/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: "Try uploading a new file or use Discover to find companies with available emails." }),
345					/* @__PURE__ */ (0, import_jsx_runtime.jsxs)(EmptyStateActions, { children: [
346						/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
347							variant: "primary",
348							size: "sm",
349							asChild: true,
350							children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", {
351								href: props.newBulkSearchPath,
352								children: "Import a new file"
353							})
354						}),
355						props.discoverAccess && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
356							size: "sm",
357							asChild: true,
358							children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", {
359								href: props.discoversPath,
360								children: "Discover companies"
361							})
362						}),
363						props.canDestroy && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button, {
364							size: "sm",
365							variant: "ghost",
366							type: "button",
367							onClick: onDelete,
368							children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { icon: "trash-alt" }), "Delete the bulk"]
369						})
370					] })
371				] })]
372			}) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
373				/* @__PURE__ */ (0, import_jsx_runtime.jsx)(EmptyState, {
374					className: "p-0",
375					children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(EmptyStateContent, {
376						className: "text-start",
377						children: [
378							bulk.verifyEmails ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
379								/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", {
380									className: "empty_state__title",
381									children: "No preview and cost estimation available"
382								}),
383								/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: NO_DATA }),
384								/* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: LAUNCH_ANYWAY })
385							] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", {
386								className: "empty_state__title",
387								children: "No preview available"
388							}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: NO_DATA })] }),
389							/* @__PURE__ */ (0, import_jsx_runtime.jsx)(EmptyStateActions, {
390								className: "justify-content-start",
391								children: props.launch.allowDownload ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LaunchForm, { confirmationPath: props.confirmationPath }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
392									variant: "primary",
393									asChild: true,
394									children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", {
395										href: props.launch.upgradePath,
396										children: "Upgrade"
397									})
398								})
399							}),
400							!props.launch.allowDownload && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
401								className: "h-hint mt-2",
402								children: NOT_INCLUDE_IN_PLAN_HINT
403							})
404						]
405					})
406				}),
407				/* @__PURE__ */ (0, import_jsx_runtime.jsx)(DetailsAccordion, {
408					className: "mt-10",
409					defaultOpen: true,
410					title: "Configuration details",
411					children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(ConfigurationDetails, {
412						configuration: bulk.configuration,
413						includeSourcesLabel: "Include sources:"
414					})
415				}),
416				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("hr", { className: "mb-6" }),
417				props.canDestroy && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button, {
418					size: "sm",
419					variant: "dangerLight",
420					type: "button",
421					onClick: onDelete,
422					children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { icon: "trash" }), "Delete the bulk"]
423				})
424			] })
425		});
426		$[4] = bulk.configuration;
427		$[5] = bulk.countsLabel;
428		$[6] = bulk.verifyEmails;
429		$[7] = onDelete;
430		$[8] = props;
431		$[9] = t4;
432	} else t4 = $[9];
433	let t5;
434	if ($[10] !== t3 || $[11] !== t4) {
435		t5 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("main", {
436			className: "dashboard-main",
437			children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
438				className: "dashboard-main__content",
439				children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
440					className: "board-box",
441					children: [t3, t4]
442				})
443			})
444		});
445		$[10] = t3;
446		$[11] = t4;
447		$[12] = t5;
448	} else t5 = $[12];
449	return t5;
450}
451function LegacyConfirmation(t0) {
452	const $ = (0, import_compiler_runtime.c)(12);
453	const { props, onDelete } = t0;
454	const bulk = props.bulkSearch;
455	let t1;
456	if ($[0] !== bulk.countsLabel) {
457		t1 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
458			className: "subtitle",
459			children: ["Bulk Domain Search • ", bulk.countsLabel]
460		});
461		$[0] = bulk.countsLabel;
462		$[1] = t1;
463	} else t1 = $[1];
464	let t2;
465	if ($[2] !== bulk.name || $[3] !== t1) {
466		t2 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("h2", { children: [bulk.name, t1] });
467		$[2] = bulk.name;
468		$[3] = t1;
469		$[4] = t2;
470	} else t2 = $[4];
471	let t3;
472	if ($[5] !== bulk.verifyEmails || $[6] !== onDelete || $[7] !== props) {
473		t3 = props.hasEstimates ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
474			className: "bulk-preview",
475			children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", {
476				className: "header",
477				children: "Preview"
478			}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)(BulkSearchPreview, {
479				previewPath: props.previewPath,
480				creditsUx: false
481			})]
482		}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
483			className: "button-container",
484			children: [
485				/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ConfirmationCostEstimation, {
486					props,
487					className: "mb-4"
488				}),
489				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
490					className: "light-grey float-end",
491					children: props.canDestroy && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
492						variant: "dangerLight",
493						type: "button",
494						onClick: onDelete,
495						children: "Delete the bulk"
496					})
497				}),
498				/* @__PURE__ */ (0, import_jsx_runtime.jsx)(LaunchControls, { props })
499			]
500		})] }) : props.isSamplePrecise ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
501			className: "bulk-preview",
502			children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", {
503				className: "header",
504				children: "No results found"
505			})
506		}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
507			className: "button-container",
508			children: props.canDestroy && /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(Button, {
509				variant: "dangerLight",
510				type: "button",
511				onClick: onDelete,
512				children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(Icon, { icon: "trash-alt" }), "Delete the bulk"]
513			})
514		})] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
515			className: "bulk-preview",
516			children: bulk.verifyEmails ? /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", {
517				className: "header",
518				children: "No preview and cost estimation available"
519			}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("p", { children: [
520				NO_DATA,
521				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("br", {}),
522				LAUNCH_ANYWAY
523			] })] }) : /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("h3", {
524				className: "header",
525				children: "No preview available"
526			}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { children: NO_DATA })] })
527		}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
528			className: "button-container",
529			children: [
530				/* @__PURE__ */ (0, import_jsx_runtime.jsx)(ConfirmationCostEstimation, { props }),
531				/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", {
532					className: "light-grey float-end",
533					children: props.canDestroy && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
534						variant: "dangerLight",
535						type: "button",
536						onClick: onDelete,
537						children: "Delete the bulk"
538					})
539				}),
540				props.launch.allowDownload ? /* @__PURE__ */ (0, import_jsx_runtime.jsx)(LaunchForm, { confirmationPath: props.confirmationPath }) : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(PremiumPopover, {
541					copy: NOT_INCLUDE_IN_PLAN,
542					upgradePath: props.launch.upgradePath,
543					children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Button, {
544						variant: "primary",
545						type: "button",
546						children: "Launch"
547					})
548				})
549			]
550		})] });
551		$[5] = bulk.verifyEmails;
552		$[6] = onDelete;
553		$[7] = props;
554		$[8] = t3;
555	} else t3 = $[8];
556	let t4;
557	if ($[9] !== t2 || $[10] !== t3) {
558		t4 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
559			className: "board-box board-box--unboxed",
560			children: [t2, t3]
561		});
562		$[9] = t2;
563		$[10] = t3;
564		$[11] = t4;
565	} else t4 = $[11];
566	return t4;
567}
568var import_compiler_runtime, import_react, import_jsx_runtime, NO_DATA, LAUNCH_ANYWAY, NOT_ENOUGH_CREDIT, NOT_INCLUDE_IN_PLAN, LIMIT_HINT, NOT_INCLUDE_IN_PLAN_HINT;
569function init_Confirmation() {
570	return (init_Confirmation = __esmMin((() => {
571		import_compiler_runtime = require_compiler_runtime();
572		init_dist();
573		import_react = require_react();
574		init_button();
575		init_empty_state();
576		init_icon();
577		init_page_header();
578		init_routes();
579		init_bulk();
580		init_DetailsAccordion();
581		init_InfoPopover();
582		init_ConfirmDeletionDialog();
583		init_useFlashMessages();
584		init_BulkSearchCostEstimation();
585		init_BulkSearchPreview();
586		init_ConfigurationDetails();
587		init_PremiumPopover();
588		init_useLegacyBodyClass();
589		import_jsx_runtime = require_jsx_runtime();
590		NO_DATA = "We aren't able to find any email address by analyzing a sample of the file.";
591		LAUNCH_ANYWAY = "You still can launch the task, but we are not able to give a cost estimation of the email verifications.";
592		NOT_ENOUGH_CREDIT = "You don't have enough verifications to launch the task. Please upgrade to an higher plan to get more verifications.";
593		NOT_INCLUDE_IN_PLAN = "The Bulk Domain Search isn't available for you plan. Upgrade to a Starter plan or higher to launch the generation.";
594		LIMIT_HINT = "You’ll get partial results now. The full list will be prepared for when more credits become available.";
595		NOT_INCLUDE_IN_PLAN_HINT = "The Bulk Domain Search isn't available for you plan. Upgrade to a Starter plan or higher to launch the generation.";
596	})))();
597}
598//#endregion
599init_Confirmation();
600export { Confirmation as default };

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.