PageSourceSearch

https://portal.godesignguru.com/build/assets/FreeTrialForm-DawL23Di.js

js godesignguru.com collected 2026-10-04 05:49:04 UTC 18,601 bytes, 65 lines download raw bytes

1import { h as R, o as u, c as p, e as s, a, i as B, u as t, m as A, G as w, F, r as G, C as _, t as i, b as k, j as I, k as H, L as K, f as U, M as J, g as V, n as Q, B as q, d as $, U as X, x as Y } from "./app-yg_pP4S4.js";
2import { _ as T } from "./BaseButton-DP1PFEmO.js";
3import { _ as h } from "./BaseInput-DrEncIoW.js";
4import { _ as ee } from "./BaseListbox-BuI0rG6W.js";
5import { r as te } from "./EyeIcon-C30yl1ND.js";
6import { r as ae } from "./EyeSlashIcon-GipRgogg.js";
7import { _ as y } from "./InputError-c3Vl2Z79.js";
8import { _ as f } from "./Label-BPl0GR1A.js";
9import { L as le } from "./LoaderIcon-BfI_LFZK.js";
10import { _ as se } from "./_plugin-vue_export-helper-DlAUqK2U.js";
11import { _ as oe } from "./CentralGuestLayout-CWv7epGt.js";
12import { h as re } from "./hcaptcha-vue3.es-C0oCwLOw.js";
13import { b as ne, d as ie } from "./index-CDyB1Hog.js";
14import { u as ue } from "./index-BpmkRTCN.js";
15import "./functions-DLrKIvnr.js";
16import "./modelWrapper-D0DowOi8.js";
17import "./listbox-BVei8WBz.js";
18import "./form-BcDj1t5Y.js";
19import "./use-text-value-9Z6g_4jd.js";
20import "./ChevronDownIcon-DvXuQ_5B.js";
21import "./CheckIcon-Bb6ppPFl.js";
22const de = { class: "relative [&_div.pointer-events-none]:hidden" }, j = { __name: "PasswordInput", props: A({ id: { type: String, default: "" }, placeholder: { type: String, default: "" }, hasErrors: { type: [Boolean, String], default: false } }, { modelValue: { type: String, default: null }, modelModifiers: {} }), emits: ["update:modelValue"], setup(v) {
23  const n = R(v, "modelValue"), d = w(false);
24  return (x, m) => (u(), p("div", de, [s(h, { id: v.id, modelValue: n.value, "onUpdate:modelValue": m[0] || (m[0] = (c) => n.value = c), type: d.value ? "text" : "password", placeholder: v.placeholder, "has-errors": v.hasErrors, "input-class": "pr-10" }, null, 8, ["id", "modelValue", "type", "placeholder", "has-errors"]), a("button", { type: "button", tabindex: "-1", class: "absolute inset-y-0 right-0 flex items-center pr-3 text-gray-400 transition-colors hover:text-gray-600 [@media(hover:none)]:after:absolute [@media(hover:none)]:after:-inset-y-1 [@media(hover:none)]:after:-left-3 [@media(hover:none)]:after:right-0 [@media(hover:none)]:after:content-['']", onClick: m[1] || (m[1] = (c) => d.value = !d.value) }, [d.value ? (u(), B(t(ae), { key: 1, class: "h-5 w-5", "aria-hidden": "true" })) : (u(), B(t(te), { key: 0, class: "h-5 w-5", "aria-hidden": "true" }))])]));
25} }, me = { class: "grid grid-cols-2 gap-3" }, pe = ["onClick"], ce = { key: 0, class: "h-2 w-2 rounded-full bg-indigo-600" }, fe = { __name: "RadioCardGroup", props: A({ options: { type: Array, required: true } }, { modelValue: { type: [String, Number], default: null }, modelModifiers: {} }), emits: ["update:modelValue"], setup(v) {
26  const n = R(v, "modelValue");
27  return (d, x) => (u(), p("div", me, [(u(true), p(F, null, G(v.options, (m) => (u(), p("button", { key: m.value, type: "button", class: _(["flex items-center justify-between rounded-lg border px-4 py-3 text-left text-sm transition-colors", n.value === m.value ? "border-indigo-600 bg-indigo-50 ring-1 ring-indigo-600" : "border-gray-300 bg-white hover:border-gray-400"]), onClick: (c) => n.value = m.value }, [a("span", { class: _(n.value === m.value ? "font-medium text-gray-900" : "text-gray-700") }, i(m.label), 3), a("span", { class: _(["flex h-4 w-4 shrink-0 items-center justify-center rounded-full border", n.value === m.value ? "border-indigo-600" : "border-gray-300"]) }, [n.value === m.value ? (u(), p("span", ce)) : k("", true)], 2)], 10, pe))), 128))]));
28} }, ve = { class: "relative flex h-full flex-col items-center justify-center overflow-hidden bg-[#1e293b] px-12 py-16" }, ye = ["src"], ge = { class: "relative w-full max-w-md" }, he = ["src", "alt"], be = { class: "text-xl font-medium leading-relaxed text-white" }, we = { class: "font-semibold text-white" }, _e = { class: "text-sm text-gray-400" }, xe = { class: "mt-10 flex gap-2" }, $e = { __name: "OnboardingTrialSidebar", setup(v) {
29  const { t: n } = I(), d = new URL("/build/assets/testimonial-1-B-7P4UP7.png", import.meta.url).href, x = new URL("/build/assets/testimonial-2-DdcBxf8C.png", import.meta.url).href, m = new URL("/build/assets/trial-sidebar-relief-Dj5GoW0F.svg", import.meta.url).href, c = [{ avatar: d, quote: n("ManyRequests has been a game changer for our Webflow agency."), name: "Andy Dao", position: "CEO, Flowspark" }
29, { avatar: x, quote: n("Great product. Super easy to use. Awesome support."), name: "Matt Sims", position: "CEO, Flowguys" }], b = w(0), g = w(null), e = V(() => c[b.value]);
30  return H(() => {
31    g.value = setInterval(() => {
32      b.value = (b.value + 1) % c.length;
33    }, 5e3);
34  }), K(() => {
35    clearInterval(g.value);
36  }), (M, N) => (u(), p("div", ve, [a("img", { src: t(m), alt: "", class: "pointer-events-none absolute left-1/2 top-[83%] w-[190%] max-w-none -translate-x-1/2 -translate-y-1/2 select-none" }, null, 8, ye), a("div", ge, [s(J, { name: "fade", mode: "out-in" }, { default: U(() => [(u(), p("div", { key: b.value, class: "flex flex-col gap-8" }, [a("img", { src: e.value.avatar, alt: e.value.name, class: "h-12 w-12 rounded-full object-cover" }, null, 8, he), a("p", be, i(e.value.quote), 1), a("div", null, [a("div", we, i(e.value.name), 1), a("div", _e, i(e.value.position), 1)])]))]), _: 1 }), a("div", xe, [(u(), p(F, null, G(c, (P, C) => a("span", { key: C, class: _(["h-1.5 rounded-full transition-all duration-500", C === b.value ? "w-6 bg-white" : "w-1.5 bg-gray-500"]) }, null, 2)), 64))])])]));
37} }, ke = se($e, [["__scopeId", "data-v-ac21c4e2"]]), Ve = { class: "flex h-dvh flex-row overflow-hidden bg-white" }, Ce = { class: "flex w-full flex-col overflow-hidden max-lg:overflow-y-auto lg:w-7/12 max-lg:[&_input]:text-base" }, Se = { class: "shrink-0 px-6 pt-10" }, Le = ["src"], Ue = { class: "flex flex-1 flex-col overflow-y-auto px-6 py-8 max-lg:shrink-0 max-lg:basis-auto max-lg:overflow-visible" }, Be = { class: "mx-auto my-auto w-full max-w-sm" }, Ee = { class: "mb-8 text-center" }, Fe = { class: "text-2xl font-medium text-gray-900" }, Me = { class: "mt-2 text-sm text-gray-500" }, Ne = ["href"], Pe = { class: "relative" }, qe = { class: "relative flex justify-center text-xs" }, Te = { class: "bg-white px-4 uppercase text-gray-400" }, je = { class: "grid grid-cols-2 gap-4" }, Re = { class: "text-center text-sm text-gray-500" }, Ae = ["href"], Ge = { class: "mt-1 flex flex-row" }, Ie = { key: 1 }, ze = { class: "shrink-0 px-6 pb-8 text-center text-xs text-gray-400" }, De = { href: "https://manyrequests.com/terms-of-service/", target: "_blank", class: "underline" }, Oe = { href: "https://manyrequests.com/privacy-policy/", target: "_blank", class: "underline" }, ft = { __name: "FreeTrialForm", props: { step: { type: Number, default: 1 }, email: { type: String, default: null }, firstName: { type: String, default: null }, lastName: { type: String, default: null }, fromGoogle: { type: Boolean, default: false } }, setup(v) {
38  const { t: n } = I(), d = v, x = Y(), m = ne(ie).greaterOrEqual("lg"), c = w(null), b = "a72c1119-e6c5-4238-9d95-daacdaf72553", g = w(d.step), e = ue("post", route("free-trial.store"), { first_name: d.firstName, last_name: d.lastName, email: d.email, password: null, website: null, company_type: null, company_type_custom: null, company_size: null, h_captcha_response: null }).setValidationTimeout(200), M = V(() => [d.firstName, d.lastName].filter(Boolean).join(" ")), N = V(() => {
39    const l = route("auth.google.redirect"), o = route().params.clicked_plan;
40    return o ? `${l}?clicked_plan=${encodeURIComponent(o)}` : l;
41  }), P = new URL("/build/assets/manyrequests-D8KRz6hv.svg", import.meta.url).href, C = () => {
42    e.touch(["first_name", "last_name", "email", "password"]).val
42idate({ onSuccess: () => {
43      g.value = 2, X.post(route("free-trial.step-one"), { email: e.email, clicked_plan: route().params.clicked_plan }).catch(() => {
44      });
45    } });
46  }, E = w(false), S = V(() => E.value || e.processing), L = () => {
47    var _a;
48    E.value = false, (_a = c.value) == null ? void 0 : _a.reset();
49  }, z = () => {
50    S.value || (E.value = true, c.value.execute());
51  }, D = (l) => {
52    e.h_captcha_response = l, e.submit({ onError: () => {
53      L();
54    } });
55  }, O = () => {
56    e.website && (e.website = e.website.replace(/^https?:\/\//, "").trim());
57  }, W = V(() => [{ label: n("Graphic design agency"), value: "graphic_design" }, { label: n("Webflow agency"), value: "webflow" }, { label: n("Video editing & production agency"), value: "video_production" }, { label: n("3D renderings & interior design agency"), value: "three_d_interior" }, { label: n("Other (please specify)"), value: "other" }]), Z = [{ label: "1-5", value: "1-5" }, { label: "6-20", value: "6-20" }, { label: "21-50", value: "21-50" }, { label: "+50", value: "+50" }];
58  return (l, o) => (u(), B(oe, { "full-width": "", "show-logo": false }, { default: U(() => {
59    var _a;
60    return [s(t(Q), { title: l.$t("Free trial") }, null, 8, ["title"]), a("div", Ve, [a("div", Ce, [a("div", Se, [a("img", { src: t(P), alt: "ManyRequests", class: "mx-auto h-6" }, null, 8, Le)]), a("div", Ue, [a("div", Be, [a("div", Ee, [a("h2", Fe, i(g.value === 1 ? l.$t("Start your 14-day free trial") : l.$t("Almost there!")), 1), a("p", Me, i(g.value === 1 ? l.$t("No credit card required. Set up in under 3 minutes.") : l.$t("Just a few more details to get you started.")), 1)]), g.value === 1 ? (u(), p("form", { key: 0, class: "space-y-5", onSubmit: q(C, ["prevent"]) }, [a("a", { href: N.value, class: "flex w-full items-center justify-center gap-3 rounded-md bg-white px-3 py-3 text-sm font-medium text-gray-900 shadow-sm ring-1 ring-inset ring-gray-300 transition-colors hover:bg-gray-50" }, [o[14] || (o[14] = a("svg", { viewBox: "0 0 24 24", "aria-hidden": "true", class: "h-5 w-5" }, [a("path", { d: "M12.0003 4.75C13.7703 4.75 15.3553 5.36002 16.6053 6.54998L20.0303 3.125C17.9502 1.19 15.2353 0 12.0003 0C7.31028 0 3.25527 2.69 1.28027 6.60998L5.27028 9.70498C6.21525 6.86002 8.87028 4.75 12.0003 4.75Z", fill: "#EA4335" }), a("path", { d: "M23.49 12.275C23.49 11.49 23.415 10.73 23.3 10H12V14.51H18.47C18.18 15.99 17.34 17.25 16.08 18.1L19.945 21.1C22.2 19.01 23.49 15.92 23.49 12.275Z", fill: "#4285F4" }), a("path", { d: "M5.26498 14.2949C5.02498 13.5699 4.88501 12.7999 4.88501 11.9999C4.88501 11.1999 5.01998 10.4299 5.26498 9.7049L1.275 6.60986C0.46 8.22986 0 10.0599 0 11.9999C0 13.9399 0.46 15.7699 1.28 17.3899L5.26498 14.2949Z", fill: "#FBBC05" }), a("path", { d: "M12.0004 24.0001C15.2404 24.0001 17.9654 22.935 19.9454 21.095L16.0804 18.095C15.0054 18.82 13.6204 19.245 12.0004 19.245C8.8704 19.245 6.21537 17.135 5.2654 14.29L1.27539 17.385C3.25539 21.31 7.3104 24.0001 12.0004 24.0001Z", fill: "#34A853" })], -1)), a("span", null, i(l.$t("Continue with Google")), 1)], 8, Ne), a("div", Pe, [o[15] || (o[15] = a("div", { class: "absolute inset-0 flex items-center" }, [a("div", { class: "w-full border-t border-gray-200" })], -1)), a("div", qe, [a("span", Te, i(l.$t("Or")), 1)])]), a("div", je, [a("div", null, [s(f, { class: "!text-gray-500", for: "first_name", value: l.$t("First name") }, null, 8, ["value"]), s(h, { id: "first_name", modelValue: t(e).first_name, "onUpdate:modelValue": o[0] || (o[0] = (r) => t(e).first_name = r), type: "text", class: "mt-1", "input-class": "form-input block w-full py-3 px-4", autofocus: t(m), placeholder: l.$t("First name"), "has-errors": t(e).invalid("first_name"), onChange: o[1] || (o[1] = (r) => t(e).validate("first_name")) }, null, 8, ["modelValue", "autofocus", "placeholder", "has-errors"]), s(y, { message: t(e).errors.first_name }, null, 8, ["message"])]), a("div", null, [s(f, { class: "!text-gray-500", for: "last_name", value: l.$t("Last name") }, null, 8, ["value"]), s(h, { id: "last_name", modelValue: t(e).last_name, "onUpdate:modelValue": o[2] || (o[2] = (r) => t(e).last_name = r), type: "text", class: "mt-1", "input-class": "form-input block w-full py-3 px-4", placeholder: l.$t("Last name"), "has-errors": t(e).invalid("last_name"), onChange: o[3] || (o[3] = (r) => t(e).validate("last_name")) }, null, 8, ["modelValue", "placeholder", "has-errors"]), s(y, { message: t(e).errors.last_name }, null, 8, ["message"])])]), a("div", null, [s(f, { class: "!text-gray-500", for: "email", value: l.$t("Email") }, null, 8, ["value"]), s(h, { id: "email", modelValue: t(e).email, "onUpdate:modelValue": o[4] || (o[4] = (r) => t(e).email = r), type: "email", class: "mt-1", "input-class": "form-input block w-full py-3 px-4", autocomplete: "email", placeholder: l.$t("Enter your email"), "has-errors": t(e).invalid("email"), onChange: o[5] || (o[5] = (r) => t(e).validate("email")) }, null, 8, ["modelValue", "placeholder", "has-errors"]), s(y, { message: t(e).errors.email || ((_a = t(x).props.errors) == null ? void 0 : _a.email) }, null, 8, ["message"])]), a("div", null, [s(f, { class: "!text-gray-500", for: "password", value: l.$t("Password") }, null, 8, ["value"]), s(j, { id: "password", modelValue: t(e).password, "onUpdate:modelValue": o[6] || (o[6] = (r) => t(e).password = r), class: "mt-1", placeholder: l.$t("Enter your password"), "has-errors": t(e).invalid("password") }, null, 8, ["modelValue", "placeholder", "has-errors"]), s(y, { message: t(e).errors.password }, null, 8, ["message"])]), s(T, { type: "submit", disabled: t(e).validating, class: _(["w-full justify-center border-indigo-600 bg-indigo-600 px-6 py-3 hover:bg-indigo-700", { "opacity-25": t(e).validating }]) }, { default: U(() => [$(i(l.$t("Start your free trial")), 1)]), _: 1 }, 8, ["disabled", "class"]), a("p", Re, [$(i(l.$t("Already have an account?")) + " ", 1), a("a", { href: l.route("lauch"), class: "font-medium text-indigo-600 hover:text-indigo-700 [@media(hover:none)]:relative [@media(hover:none)]:after:absolute [@media(hover:none)]:after:-inset-3.5 [@media(hover:none)]:after:content-['']" }, i(l.$t("Log in")), 9, Ae)])], 32)) : (u(), p("form", { key: 1, class: "space-y-5", onSubmit: q(z, ["prevent"]) }, [d.fromGoogle ? (u(), p(F, { key: 0 }, [a("div", null, [s(f, { class: "!text-gray-500", for: "full_name", value: l.$t("Full name") }, null, 8, ["value"]), s(h, { id: "full_name", "model-value": M.value, type: "text", class: "mt-1", "input-class": "form-input block w-full py-3 px-4", disabled: "" }, null, 8, ["model-value"])]), a("div", null, [s(f, { class: "!text-gray-500", for: "email-google", value: l.$t("Email") }, null, 8, ["value"]), s(h, { id: "email-google", "model-value": t(e).email, type: "email", class: "mt-1", "input-class": "form-input block w-full py-3 px-4", disabled: "" }, null, 8, ["model-value"])]), a("div", null, [s(f, { class: "!text-gray-500", for: "password-google", value: l.$t("Password") }, null, 8, ["value"]), s(j, { id: "password-google", modelValue: t(e).password, "onUpdate:modelValue": o[7] || (o[7] = (r) => t(e).password = r), class: "mt-1", placeholder: l.$t("Enter your password"), "has-errors": t(e).invalid("password") }, null, 8, ["modelValue", "placeholder", "has-errors"]), s(y, { message: t(e).errors.password }, null, 8, ["message"])])], 64)) : k("", true), a("div", null, [s(f, { class: "!text-gray-500", for: "website", value: l.$t("Agency website") }, null, 8, ["value"]), a("div", Ge, [o[16] || (o[16] = a("div", { class: "select-none rounded-l-md border border-r-0 border-gray-300 bg-gray-100 px-4 py-3 text-gray-500" }, " https:// ", -1)), s(h, { id: "website", modelValue: t(e).website, "onUpdate:modelValue": o[8] || (o[8] = (r) => t(e).website = r), type: "text", class: "w-full", "input-class": "form-input block w-full py-3 px-4 roun
60ded-l-none", placeholder: "manyrequests.com", "has-errors": t(e).invalid("website"), onChange: o[9] || (o[9] = (r) => t(e).validate("website")), onInput: O }, null, 8, ["modelValue", "has-errors"])]), s(y, { message: t(e).errors.website }, null, 8, ["message"])]), a("div", null, [s(f, { class: "!text-gray-500", for: "company_type", value: l.$t("What type of services do you offer?") }, null, 8, ["value"]), s(ee, { id: "company_type", modelValue: t(e).company_type, "onUpdate:modelValue": o[10] || (o[10] = (r) => t(e).company_type = r), class: "mt-1", options: W.value, placeholder: l.$t("Select"), "has-errors": t(e).invalid("company_type"), "button-classes": "py-3", "same-width-dropdown": "" }, null, 8, ["modelValue", "options", "placeholder", "has-errors"]), s(y, { message: t(e).errors.company_type }, null, 8, ["message"])]), t(e).company_type === "other" ? (u(), p("div", Ie, [s(f, { class: "!text-gray-500", for: "company_type_custom", value: l.$t("Specify the type of services you offer") }, null, 8, ["value"]), s(h, { id: "company_type_custom", modelValue: t(e).company_type_custom, "onUpdate:modelValue": o[11] || (o[11] = (r) => t(e).company_type_custom = r), type: "text", class: "mt-1", "input-class": "form-input block w-full py-3 px-4", placeholder: l.$t("Please specify"), "has-errors": t(e).invalid("company_type_custom") }, null, 8, ["modelValue", "placeholder", "has-errors"]), s(y, { message: t(e).errors.company_type_custom }, null, 8, ["message"])])) : k("", true), a("div", null, [s(f, { class: "!text-gray-500", value: l.$t("How many team members work in your agency?") }
60, null, 8, ["value"]), s(fe, { modelValue: t(e).company_size, "onUpdate:modelValue": o[12] || (o[12] = (r) => t(e).company_size = r), class: "mt-2", options: Z }, null, 8, ["modelValue"]), s(y, { message: t(e).errors.company_size }, null, 8, ["message"])]), s(t(re), { ref_key: "hcaptcha", ref: c, size: "invisible", sitekey: t(b), onVerify: D, onError: L, onExpired: L, onClosed: L }, null, 8, ["sitekey"]), s(T, { type: "submit", disabled: S.value, class: _(["flex w-full items-center justify-center border-indigo-600 bg-indigo-600 px-6 py-3 hover:bg-indigo-700", { "opacity-50": S.value }]) }, { default: U(() => [S.value ? (u(), B(le, { key: 0, class: "mr-2 h-5 w-5 animate-spin text-white" })) : k("", true), $(" " + i(l.$t("Continue")), 1)]), _: 1 }, 8, ["disabled", "class"]), d.fromGoogle ? k("", true) : (u(), p("button", { key: 2, type: "button", class: "mx-auto !mt-2 block min-h-11 px-3 text-sm font-medium text-gray-500 hover:text-gray-700", onClick: o[13] || (o[13] = (r) => g.value = 1) }, i(l.$t("Back")), 1))], 32))])]), a("div", ze, [$(i(l.$t("By signing up you agree to our")) + " ", 1), a("a", De, i(l.$t("Terms & Conditions")), 1), $(" " + i(l.$t("and")) + " ", 1), a("a", Oe, i(l.$t("Privacy Policy")), 1)])]), s(ke, { class: "hidden lg:flex lg:w-5/12" })])];
61  }), _: 1 }));
62} };
63export {
64  ft as default
65};

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.