PageSourceSearch

https://hunter.io/assets/New-DNAwep60.js

js hunter.io collected 2026-09-24 07:52:23 UTC 3,732 bytes, 100 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] = "c585cae7-5044-4c46-b179-ece56c9164df", e._sentryDebugIdIdentifier = "sentry-dbid-c585cae7-5044-4c46-b179-ece56c9164df");
7	} catch (e) {}
8})();
9import { n as __esmMin } from "./rolldown-runtime-sLwMD6dS.js";
10import { i as require_compiler_runtime, t as require_jsx_runtime } from "./jsx-runtime-CHSMGLHp.js";
11import { t as require_react } from "./react-CrLPhuc5.js";
12import { a as init_dist, s as usePage, t as Head_default } from "./dist-ZlUHm0R7.js";
13import { r as init_AppLayout, t as AppLayout } from "./AppLayout-KSwds5qH.js";
14import { n as useFlashMessages, t as init_useFlashMessages } from "./useFlashMessages-CaMVzoCv.js";
15import { n as useLegacyBodyClass, t as init_useLegacyBodyClass } from "./useLegacyBodyClass-D667Iu64.js";
16import { n as t, t as init_i18n } from "./i18n-Dzd-QM5H.js";
17import { n as init_CancellationForm, t as CancellationForm } from "./CancellationForm-kUDJMM0o.js";
18//#region app/frontend/pages/CancellationReasons/New.tsx
19function New() {
20	const $ = (0, import_compiler_runtime.c)(14);
21	const { props } = usePage();
22	useLegacyBodyClass("cancellation_reasons new");
23	useFlashMessages(props.flash);
24	let t0;
25	if ($[0] === Symbol.for("react.memo_cache_sentinel")) {
26		t0 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(Head_default, { title: t("cancellation_reasons.new.title") });
27		$[0] = t0;
28	} else t0 = $[0];
29	const t1 = props.paths.close;
30	let t2;
31	let t3;
32	if ($[1] === Symbol.for("react.memo_cache_sentinel")) {
33		t2 = t("close");
34		t3 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", {
35			className: "far fa-times",
36			"aria-hidden": "true"
37		});
38		$[1] = t2;
39		$[2] = t3;
40	} else {
41		t2 = $[1];
42		t3 = $[2];
43	}
44	let t4;
45	if ($[3] !== props.paths.close) {
46		t4 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)("a", {
47			className: "close-box float-end",
48			href: t1,
49			"aria-label": t2,
50			children: t3
51		});
52		$[3] = props.paths.close;
53		$[4] = t4;
54	} else t4 = $[4];
55	let t5;
56	if ($[5] !== props.contactPath || $[6] !== props.explanation || $[7] !== props.reasons || $[8] !== props.submitMethod || $[9] !== props.submitPath) {
57		t5 = /* @__PURE__ */ (0, import_jsx_runtime.jsx)(CancellationForm, {
58			reasons: props.reasons,
59			explanation: props.explanation,
60			contactPath: props.contactPath,
61			submitPath: props.submitPath,
62			submitMethod: props.submitMethod
63		});
64		$[5] = props.contactPath;
65		$[6] = props.explanation;
66		$[7] = props.reasons;
67		$[8] = props.submitMethod;
68		$[9] = props.submitPath;
69		$[10] = t5;
70	} else t5 = $[10];
71	let t6;
72	if ($[11] !== t4 || $[12] !== t5) {
73		t6 = /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [t0, /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", {
74			className: "board-box board-box--unboxed",
75			children: [t4, t5]
76		})] });
77		$[11] = t4;
78		$[12] = t5;
79		$[13] = t6;
80	} else t6 = $[13];
81	return t6;
82}
83var import_compiler_runtime, import_react, import_jsx_runtime;
84function init_New() {
85	return (init_New = __esmMin((() => {
86		import_compiler_runtime = require_compiler_runtime();
87		init_dist();
88		import_react = require_react();
89		init_AppLayout();
90		init_useLegacyBodyClass();
91		init_useFlashMessages();
92		init_CancellationForm();
93		init_i18n();
94		import_jsx_runtime = require_jsx_runtime();
95		New.layout = (page) => (0, import_react.createElement)(AppLayout, { rowLayout: true }, page);
96	})))();
97}
98//#endregion
99init_New();
100export { New 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.