{"version":3,"file":"GetMyRateFunnel.bP4DVSy7.mjs","names":["p","useState","useRef","_Fragment","Fragment","__esmMin","x","init_ssg_sandbox_shims","navigator","init_npm_react_18_3_1","_e","de","init_jsx_runtime","c","ce","window","addPropertyControls","init_framer_D6uXRwWs","ControlType","RenderTarget","readSHLAttribution","recordSHLMetaLead","isSHLMetaAllowed","init_SHLMetaTracking_Z74tl2","useSHLMetaTracking","init_UTMPersist_zOPwto","resolveWebhook","u","url","RETIRED_WEBHOOKS","LEAD_WEBHOOK","cleanContactText","v","CONTACT_FIELD_MAX","cleanContactPhone","clearContactMemory","CONTACT_MEMORY_KEY","loadContactMemory","raw","m","age","CONTACT_MEMORY_DAYS","email","phone","out","EMAIL_RX","saveContactMemory","newSubmissionId","readStore","key","fallback","writeStore","value","alreadyFired","list","LEAD_FIRED_KEY","sid","markFired","fireLeadConversion","g","GADS_LEAD_VALUE","deliverLead","i","LEAD_POST_TRIES","timer","ctl","LEAD_POST_TIMEOUT","res","payload","r","queueLead","q","LEAD_QUEUE_KEY","removeQueuedLead","wasDelivered","ids","LEAD_DELIVERED_KEY","leadDeliveredThisPage","markDelivered","sendQueuedLead","item","leadInFlight","send","ok","work","task","flushLeadQueue","queueFlush","loApplyUrl","id","name","LO_APPLY","LO_APPLY_BASE","getAttribution","fmtPct","n","fmtPts","p","fmtMoney","parseMoney","s","MONEY_INPUT_MAX","monthlyPI","annualRate","years","loanAmount","ensureBB","finish","resolve","init","d","appKey","tries","poll","st","BB_POLL_TRIES","loadFresh","start","bbPriceFresh","once","timeoutMs","live","a","first","req","bump","k","again","bbLadderTerm","scenario","term","LADDER_MAX_PTS","bbBenchmark","ready","BB_APP_KEY","zip","BB_MAX_PTS","b","withinPricingDeadline","fetchBBLadders","results","TERMS","t","escHtml","money0","loanSummaryHtml","tile","label","row","strong","ptsAbs","ptsCost","escrowPrepaids","cash","totalMo","ptsLine","SHL_LOGO","SHL_CO","SHL_CONTACT","mergeLadder","opts","bbList","py","o","prev","bestPerTerm","best","shownNum","shownRateFields","SHOWN_KEYS","status","priced","rows","optionCount","Ic","C","d2","Confetti","bits","CONFETTI_COLORS","PhaseBar","cur","steps","step","PHASES","done","pct","pi","p$1","active","complete","FONT","RatePeek","bench","county","monthly","ChoiceCard","picked","setPicked","cls","full","iconTop","chevron","compact","handle","onClick","icon","Question","NextButton","disabled","busy","ConsentRow","onChange","text","MoneyStep","num","min","setRaw","question","reassure","max","setValue","note","minLabel","maxLabel","onNext","LoPicker","setQ","matches","LO_NAMES","fieldStyle","onPick","LO_UNSURE","TextStep","GetMyRateFunnel","props","isCanvas","stepIdx","setStepIdx","A","setA","heardOther","setHeardOther","referredBy","setReferredBy","firstName","setFirstName","lastName","setLastName","setEmail","setPhone","consent","setConsent","consentMkt","setConsentMkt","consentCalls","setConsentCalls","remembered","setRemembered","forgetMe","unlocked","setUnlocked","setBusy","gateError","setGateError","setRows","ladders","setLadders","setOptionCount","priceStatus","setPriceStatus","searchIdx","setSearchIdx","dir","setDir","setBench","benchToken","isPurchase","nonPrimary","surveyTail","HEARD_REFERRAL","quiz","priceScenario","SEARCH_STEPS","invalidatePricing","set","next","back","choose","ni","ans","proxyBase","endpoint","checkZip","json","token","p30","z","submitLead","att","rtFields","RT_PARAMS","f","CONSENT_VERSION","CONSENT_SMS_SERVICE","CONSENT_SMS_MARKETING","CONSENT_CALLS","leadTarget","webhookUrl","metaEligible","ficoInt","purchase","residencyValue","propertyValue","pylonAssumptionsHold","pylonProducts","bbLadders","lad","count","TERM_LABELS","openLoanSummary","sc","html","w","unlock","customize","target","termsHref","termsLink","emailOk","pastAmount","peekMonthly","detailRows","content","ICONS","PROPERTY_OPTIONS","TIMING_OPTIONS","RESIDENCY_OPTIONS","FINANCED_OPTIONS","contactLink","creditOk","HEARD_OPTIONS","gatePanel","privacyLink","revealReady","searching","revealHeadline","l","searchPanel","blurRows","h","termGroups","applyLink","style","FUNNEL_CSS","init_GetMyRateFunnel"],"sources":["https:/framerusercontent.com/modules/WMD359w9azsaAHan0UYD/nboMhfZA66HhytwrMP78/GetMyRateFunnel.js"],"sourcesContent":["// @ts-nocheck\nimport{jsx as _jsx,jsxs as _jsxs,Fragment as _Fragment}from\"react/jsx-runtime\";import{useState,useEffect,useRef,Fragment}from\"react\";import{useSHLMetaTracking,isSHLMetaAllowed,recordSHLMetaLead}from\"https://framer.com/m/SHLMetaTracking-Z74tl2.js\";import{addPropertyControls,ControlType,RenderTarget}from\"framer\";import{readSHLAttribution}from\"https://framer.com/m/UTMPersist-zOPwto.js\";/**\n * GetMyRateFunnel v1.22.4 — SHL-owned \"get my rate\" lead funnel.\n * v1.22.4 (Oct 9, 2026): money steps keep an empty field or a lone \"$\" as\n *   typed (clearing the box used to snap it to the slider minimum, so the next\n *   digit was appended to that), and \"600k\" / \"1.2m\" read as $600,000 /\n *   $1,200,000.\n * v1.22.3 (Oct 9, 2026): money inputs read only the first number typed.\n *       A home value typed as a range (\"450,000-480,000\") used to merge\n *       into 450000480000 and price at 0% LTV. See parseMoney.\n * v1.22.2 (Oct 9, 2026): bbPriceFresh. BankingBridge can keep serving a\n *       cached all-\"Expired\" quote for an exact scenario (hit the zip-step\n *       benchmark hardest: same $400K / 740 scenario for every visitor in a\n *       zip). Re-price with a nudged loan amount before giving up.\n * v1.22.5 (Oct 30): consent-gated Meta success event and Meta ad-set attribution.\n * v1.22.1 (Sep 22): shared cross-session attribution and durable, acknowledged retries.\n * v1.22.0 (Grant, Sep 22): the lead now says which rate the funnel showed\n *       the visitor — the BEST option on the results screen — in new\n *       shown_* fields. Until now only rate-table (MRC) arrivals carried\n *       a rate, in rt_*; Google Ads, organic and direct leads arrived with\n *       no record of what they were quoted. See RATE THEY WERE SHOWN.\n * v1.21.0 (Grant, Sep 22): returning visitors are recognised. First name,\n *       last name, email and phone are remembered in the visitor's own\n *       browser when they submit, and prefilled next time, with a\n *       \"Not you?\" link that forgets them. Consent is never remembered.\n *       gbraid and wbraid are now captured and carried in the lead\n *       payload beside gclid; before this they were dropped the moment a\n *       visitor left the page they landed on. See CONTACT MEMORY below.\n * v1.20.0 (Grant, Sep 16): the lead POST is now confirmed rather than fired\n *       and forgotten, and a Google Ads conversion fires only once that\n *       confirmation lands. Last name and a valid email are required at the\n *       gate. See the LEAD DELIVERY + CONVERSION block below.\n * v1.19.0 (Grant, Sep 16): lead destination moved to the new GHL location\n *       (hg6SrVcyptZUicYoYEhe). Resolved here rather than per-instance —\n *       see the LEAD_WEBHOOK note below for why.\n * v1.18.5 (Grant, Sep 11): the Pylon option is admitted to a ladder only on\n *       primary-residence, non-multi-unit scenarios, because that is all the\n *       proxy can actually price. See the note in priceScenario. Ported from\n *       PylonRateCalculator v4.2, where the same gap was found first.\n * v1.18.4 (Grant, Sep 10): picker order set by hand — Taylor, Nathan, Mike,\n *       Mark, Grant, Carolyn, then the rest. Display order only.\n * v1.18.2 (Grant, Sep 10): the \"I'm not sure\" option carries three trailing\n *       dots in GHL's pending draft. Matched here so the value survives the\n *       picklist comparison once that draft is published. See LO_UNSURE.\n * v1.18.1 (Grant, Sep 10): the picker now carries 19 officers, not 16.\n *       Cross-checking the survey picklist against the Arive user list\n *       (28 users, 19 on ORIGINATOR seats) turned up three originators the\n *       survey never got: Goutham Marikanti, Dave Wexler and Juana\n *       Hernandez, all onboarded in 2026. Their 1003 links are derived from\n *       the rule that holds for all sixteen existing ones — the my1003app\n *       id IS the officer's NMLS number.\n * v1.18 (Grant, Sep 10): PARITY WITH THE GHL APPLY SURVEY. The funnel now\n *       asks the same two question groups the \"Apply Now Multistep Website\n *       Form\" survey asks (GHL survey 65Xcbz7FZWznWpwU3zy0), with the same\n *       conditional logic, immediately before the gate so every answer\n *       rides the single lead webhook:\n *         withlo    -> Yes/No, already working with an SHL loan officer\n *         whichlo   -> shown on Yes only; type-ahead over the 17 names\n *         heard     -> how did you hear about us, 11 options\n *         heardother-> shown on \"Other\" only\n *         referrer  -> shown on the three \"Referred by...\" options only\n *       Every option string below is copied verbatim out of the live GHL\n *       picklists. They must stay verbatim: a dropdown value GHL does not\n *       recognise is silently discarded, exactly as we learned in v1.10.1.\n *       The survey also carries 17 redirectToUrl rules mapping each officer\n *       to their personal 1003 link, so LO_APPLY mirrors them and the\n *       results-screen Apply CTA deep-links to the chosen officer instead\n *       of the generic applyLink. Note the funnel says \"loan officer\" while\n *       the published GHL label still says \"mortgage broker\" — Grant's call\n *       on Sep 10; the GHL field KEY is frozen as ..._mortgage_broker_...\n *       either way. Also note GHL's own \"I'm not sure\" redirect rule is\n *       dead there (option text \"I'm not sure\" vs rule text \"I'm not\n *       sure...\"); the funnel implements the intent, routing it to 236734.\n * v1.17.3 (Grant, Aug 26): BB LOADER RESILIENCE — this is why the Missouri\n *       peek \"wasn't working\", and it turned out to be masking something\n *       worse. ensureBB cached whatever the first attempt produced on\n *       window.__shlBBReady, including a failure. Measured on the live site:\n *       BB.init called at component mount left window.BB present but\n *       window.BB.api undefined, the 12s poll expired, and the promise\n *       resolved false for the rest of the page. Re-injecting the same\n *       script moments later initialised in 1.5s — so it is a hydration\n *       timing problem, not a broken integration, and BB does price\n *       Missouri (64111 returns 13 products, 8 near par, best 6.5% /\n *       6.548% APR).\n *       The serious part: in Missouri the Worker skips Pylon for licensing\n *       reasons, so BB is the ONLY pricing source. A failed init therefore\n *       meant a Missouri visitor completed the whole funnel and got NO\n *       options at all — priceStatus \"none\" and the manual-pricing fallback\n *       — rather than a BB-only quote. Reproduced end to end with 64111.\n *       That predates the rate peek entirely.\n *       Fix: a failed attempt clears the cached promise so the next caller\n *       genuinely retries; init waits for document readyState \"complete\"\n *       instead of racing hydration; the poll window goes 12s -> 20s; and\n *       both fetchBBLadders and bbBenchmark retry once. Same change landed\n *       in PylonRates v3.7, which is usually the first caller on a page and\n *       so the one that used to poison the shared promise.\n * v1.17.2 (Grant, Aug 26): substantiation pass on the search-panel copy.\n *       Two claims were absolute and made DURING a specific search, about\n *       that search, which is the hardest kind to defend:\n *         \"Searching 100+ lenders for your scenario…\"\n *         \"We price your exact scenario against every lender we work with.\"\n *       Neither is reliably true. A run queries the BB investor set plus one\n *       Pylon call — not \"every lender we work with\" (anything placed by\n *       hand is in neither), and the live count for a given scenario is not\n *       known to be 100+. Replaced with claims that describe what is\n *       actually happening: \"Searching our lender marketplace for your\n *       scenario…\" and \"We're pricing your scenario against live wholesale\n *       pricing from our lender marketplace.\" Also softened \"this takes a\n *       few seconds\" to \"this takes a moment\", since a slow BB round trip\n *       can run well past a few seconds.\n * v1.17.1 (Grant, Aug 26): the rate peek now works in Missouri. v1.17 read\n *       its benchmark off the Worker's /quote response, but Pylon holds no\n *       Missouri license, so the Worker deliberately returns an empty\n *       products array for MO (PYLON_STATES) rather than show a rate Pylon\n *       could not fund. Verified live: 66206 Johnson County KS returns a 30\n *       year quote, while 64111 Jackson County MO, 63105 St. Louis County MO\n *       and 65201 Boone County MO all return zero products. When /quote has\n *       no 30 year product we now pull the benchmark from the BankingBridge\n *       marketplace instead, at the same assumptions the copy states ($400K\n *       loan, 20% down, 740 score, near par). Fired without awaiting so it\n *       never slows the zip step; a token guards against a slow response\n *       overwriting a newer zip's benchmark; a failure leaves the strip\n *       hidden. OPEN QUESTION for the BB rep: whether rateflow filters\n *       results to investors approved in the subject property's state. Note\n *       that BB happily prices 10001 (New York), where SHL is not licensed,\n *       so BB imposes no state guardrail of its own — the gate comes from\n *       the Worker's LICENSED_STATES. Whether the INVESTORS behind a\n *       Missouri quote can fund Missouri is still unconfirmed, and it is\n *       already load-bearing: MO scenarios get zero Pylon products, so the\n *       whole results table a Missouri borrower sees is BB-sourced.\n * v1.17 (Grant, Aug 26): engagement pass. The problem was never too little\n *       motion — the funnel already slides, lifts, sweeps and throws\n *       confetti. It was that a visitor answered twelve questions and got\n *       nothing back until the gate: twelve withdrawals, no deposit. Four\n *       changes, all feedback rather than decoration:\n *       1. RATE PEEK. The zip step's licensing check already returned live\n *          pricing for their county and we discarded everything but the\n *          county name. The 30 year benchmark now shows in a strip under\n *          the progress bar from that step on, and once they pass the\n *          amount step it adds an estimated payment computed from their own\n *          loan amount. Rate is always paired with its APR and labelled as\n *          benchmark pricing at a 740 score and 20% down, not their quote —\n *          display only, never used for the real pricing run.\n *       2. PHASED PROGRESS. One anonymous bar became three named segments\n *          (Your loan / The numbers / About you) so twelve questions read as\n *          three short stretches and finished work stays visibly finished.\n *          Still no percentage, and the first segment keeps v1.10.3's\n *          endowed head start.\n *       3. ANSWER CONFIRMATION. A tapped choice card fills teal and swaps\n *          its chevron for a check for ~170ms before the step advances.\n *          The picked flag also swallows double taps.\n *       4. REASSURANCE where people actually quit: income says what the\n *          number is used for and that no documents are needed; credit says\n *          an estimate is fine and that we don't pull credit, so it can't\n *          affect their score. Both statements are true of this funnel.\n *       Deliberately NOT added: glow, particles, animated gradients, or\n *       confetti anywhere but the reveal. On a wholesale mortgage site that\n *       vocabulary reads as a lead mill and undercuts the positioning.\n * v1.16.2 (Grant, Aug 26): dropped the explanatory helper line under the\n *       first-time buyer question. The step is now a clean Yes/No, the same\n *       shape as the VA question next to it.\n * v1.16.1 (Grant, Aug 26): fixed the contact step overflowing its card. On\n *       the contact step the card now sits in normal flow so the container\n *       grows to fit it, the blurred table becomes a pure background layer\n *       behind it, and the column widens 452px -> 520px so the consent\n *       paragraphs wrap into fewer lines. Legal copy untouched.\n * v1.16 (Grant, Aug 26): first-time buyer question, asked right before\n *       income on the PURCHASE path only (it is a meaningless question on a\n *       refinance). Routing: the answer replaces the hardcoded false in the\n *       BankingBridge rateflow scenario (first_time_homebuyer), and it goes\n *       to GHL as first_time_buyer \"Yes\"/\"No\" — the same string shape as\n *       va_eligible, since GHL single-line fields cannot take a boolean.\n *       The key is always present in the payload (null on refinance) so\n *       GHL's mapping picker sees it on request one. The Pylon proxy takes\n *       zip/loanAmount/ltv/fico only and has no first-time input.\n * v1.15 (Grant, Aug 26): the search now happens BEFORE we ask for anything.\n *       While pricing is in flight the gate card shows a live search panel —\n *       no email field at all. The moment the options land, confetti fires,\n *       the count headline appears, and THEN the email field slides in. If\n *       pricing fails the field appears anyway, so a failed search never\n *       costs a lead.\n * v1.14 (Grant, Aug 26): reveal gate + full option ladder. Pricing runs the\n *       moment the quiz ends, while the visitor sits at the contact gate.\n *       The headline states their REAL option count, their actual priced\n *       rows sit blurred behind the form under a lock badge, and a confetti\n *       burst fires when the count lands. Nothing is fabricated: no count\n *       and no blurred rows appear until real pricing returns. No lead is\n *       submitted until unlock. The results table lists EVERY priced option\n *       grouped by term, winner chipped BEST.\n * v1.13.1: Loan Summary is corporate-branded — company contact card instead\n *          of an individual LO card.\n * v1.13: SHL-generated Loan Summary on EVERY results row, built client-side\n *        from the exact row clicked plus the visitor's scenario. Visitors\n *        save it via the browser's print-to-PDF.\n * v1.12: BB loan-summary-pdf relay via Worker /pdf (superseded by v1.13's\n *        universal summary; quote_id/hash still captured per BB row).\n * v1.11: mobile results pass. On screens <= 620px the live-options table\n *        becomes stacked rate cards. Desktop table unchanged.\n * v1.10.3: progress bar CRO pass — percentage label removed; bar keeps a\n *          small head start so it never reads as zero (endowed progress).\n * v1.10.2: va_eligible sent as \"Yes\"/\"No\" string (GHL single-line field)\n *          instead of a raw boolean. BB pricing scenario still boolean.\n *\n * Replaces the BankingBridge hosted lead workflow with an on-site version\n * that prices from BOTH sources (Pylon via the SHL rates proxy + the\n * BankingBridge lender marketplace client-side) and submits the lead to\n * GoHighLevel via an inbound webhook URL.\n *\n * Flow: step quiz (loan purpose, property type, timing, residency,\n * financed-property count [non-primary only], zip with the 10-state\n * licensing gate, value or price, down payment or balance, first-time buyer\n * [purchase only], income, credit score, VA question) -> contact gate\n * (email, then name + phone + SMS consent, NMLS #2140357) -> confirmation +\n * merged rate table.\n *\n * v1.1: credit score typable (300-850) with synced slider.\n * v1.2 (Grant, Aug 6): \"Customize this rate\" on the results screen jumps\n * back to the price step with answers preserved; once unlocked, the contact\n * gate is skipped on repeat passes and the table re-prices on arrival (lead\n * posts to GHL only once). New conditional financed-properties question for\n * second/rental homes; sent in the webhook payload as financed_properties,\n * NOT passed to pricing (no verified BB param).\n * v1.3 (Grant, Aug 18): captures ad-click attribution (utm_source, medium,\n * campaign, term, content, gclid, fbclid, landing page, referrer) from the\n * URL on mount, persists it for the visit, and sends it flat in the webhook\n * payload. Also fixes the consent Terms link: the old default\n * /legal/terms-of-service is a 404; the real page is\n * /legal/terms-and-conditions, and a guard reroutes instances that baked\n * the old value into their props.\n * v1.4 (Grant, Aug 18): motion + polish pass. Directional slide/fade\n * transitions, hover lift + press states, focus rings, fixed vertical\n * choice-card proportions. Honors prefers-reduced-motion.\n * v1.5 (Grant, Aug 18): captures the MRC rate-table click params from the\n * URL alongside the UTMs. All keys always present (null when absent) so\n * GHL's mapping picker sees them on the first request. Param matching is\n * case-insensitive.\n * v1.6 (Grant, Aug 18): loading feedback + Title Case pass.\n * v1.7 (Grant, Aug 18): three-lane TCPA consent matching SHL's approved\n * form copy. Required: service SMS about the loan inquiry (gates submit).\n * Optional, default unchecked: marketing/promotional SMS, and phone calls\n * including autodialer / AI-assisted / prerecorded voice. E-signature line\n * under the checkboxes covers implied service email. Payload consent object\n * v getmyrate-2026-08b.\n * v1.8 (Grant, Aug 18): choice cards in grid rows no longer wrap their\n * labels, and the first timing option reads \"Considering Mortgage Providers\n * Now\" instead of the legacy BB copy.\n * v1.9 (Grant, Aug 18): icon pass modeled on the BB hosted funnel.\n * v1.9.1 (Grant, Aug 18): results headline celebrates the unlocked rates\n * instead of promising a call.\n * v1.9.2 (Grant, Aug 18): replaced the hand-drawn icons with the official\n * Phosphor Icons duotone set (phosphoricons.com, MIT License, free for\n * commercial use, path data embedded verbatim from @phosphor-icons/core).\n * v1.10 (Grant, Aug 18): rate-table params generalized to the rt_ prefix.\n * Partner identity comes from utm_source and rt_affiliate_name.\n * v1.10.1 (Grant, Aug 18): consent lane flags sent as \"Yes\"/\"No\" strings\n * instead of booleans so they match the option labels on GHL's\n * CONSENT_form_*_optin checkbox fields.\n *\n * Investor names never shown.\n *\n * @framerDisableUnlink\n * @framerIntrinsicWidth 980\n * @framerIntrinsicHeight 720\n * @framerSupportedLayoutWidth any\n * @framerSupportedLayoutHeight any\n */const C={panorama:\"#2d7580\",glacier:\"#70b2ba\",ice:\"#e2f4f5\",fog:\"#f7f7f7\",nearBlack:\"#181818\",deepTeal:\"#1a2e30\",textSecondary:\"rgba(24, 24, 24, 0.6)\",border:\"#ececec\",inputBorder:\"#a8d5db\"};const FONT=\"'InterDisplay', 'Inter', -apple-system, sans-serif\";const BB_APP_KEY=\"1540072269\";const BB_MAX_PTS=.35;const LADDER_MAX_PTS=3;const BB_POLL_TRIES=40// v1.17.3: 20s of polling, was 24 tries / 12s\n;const TERMS=[30,20,15];const TERM_LABELS={30:\"30 Year Fixed\",20:\"20 Year Fixed\",15:\"15 Year Fixed\"};// v1.19.0: where leads go. Smart Home Lending's GHL moved from the\n// konnectd location (zrb4zjSGpojV3wwgBs6V) to a new location\n// (hg6SrVcyptZUicYoYEhe) on 2026-09-16. Nine Framer instances of this\n// component carry the old URL baked into their webhookUrl prop, and the\n// Framer MCP can only write to the page currently focused in the editor,\n// so those props cannot all be corrected in one pass. Resolving the\n// destination here means every instance posts to the live CRM no matter\n// what its own prop still says.\n//   empty prop      -> LEAD_WEBHOOK\n//   a retired URL   -> LEAD_WEBHOOK\n//   any other URL   -> used verbatim, so a deliberate staging or test\n//                      endpoint set on one instance still wins\n// Do NOT remove an entry from RETIRED_WEBHOOKS until every instance prop\n// has been repointed; the moment it stops being rewritten, any instance\n// still carrying it goes back to posting into the dead CRM, silently: the\n// retired location's hook can still answer 2xx, so confirmed delivery\n// (v1.20.0) would report success on a lead nobody will ever see.\n// As of 2026-09-22 SEVEN instances still carry the retired URL: /purchase,\n// /todays-rates, /refinance, /rate-quote, /calculators, /contact and\n// /real-estate-agents. Check the Tablet and Phone breakpoints too — each\n// holds its own copy of the instance props. Only / and /apply are fixed.\nconst LEAD_WEBHOOK=\"https://services.leadconnectorhq.com/hooks/hg6SrVcyptZUicYoYEhe/webhook-trigger/YBrYVrAMe893Mqy1pUHM\";const RETIRED_WEBHOOKS=[// konnectd location, retired 2026-09-16\n\"https://services.leadconnectorhq.com/hooks/zrb4zjSGpojV3wwgBs6V/webhook-trigger/8fef9ae6-8bdc-44c1-9cd8-a2d883cdcbf6\"];function resolveWebhook(url){const u=typeof url===\"string\"?url.trim():\"\";if(!u)return LEAD_WEBHOOK;if(RETIRED_WEBHOOKS.indexOf(u)!==-1)return LEAD_WEBHOOK;return u;}// ---------------------------------------------------------------------------\n// LEAD DELIVERY + CONVERSION  (v1.20.0)\n//\n// Before this version the funnel did `fetch(webhookUrl, ...).catch(() => {})`:\n// nothing awaited, no status checked. If GHL was unreachable the visitor\n// completed the whole funnel, saw their rates, and the lead evaporated with\n// no trace anywhere. That is also why the old Google Ads trigger could not be\n// trusted — there was no moment in the code that meant \"this lead exists\".\n//\n// Now: deliverLead() retries with backoff and reports whether GHL actually\n// accepted the POST. The conversion fires only on that acceptance. A lead that\n// still fails is queued in localStorage and retried the next time any instance\n// of this component mounts, and its conversion fires then instead.\n//\n// TRANSACTION ID. Each submission gets one opaque random id, carried as\n// submission_id in the payload AND as transaction_id on the conversion. It is\n// tied to the submission, never to the person — no email, phone or contact id\n// goes near it, per the tracking review. Google uses it to collapse duplicate\n// reports of the same conversion, so a retry of the SAME submission must keep\n// the SAME id (it does — the id is minted once in unlock() and travels with\n// the payload, including through the offline queue). A genuinely new inquiry\n// mints a new one. Keep it under Google's 64-character limit.\n//\n// CONVERSION ACTION. GADS_LEAD_LABEL below decides which conversion action in\n// the Google Ads account this funnel reports to. CONFIRM THIS MAPPING BEFORE\n// PUBLISHING — the three existing labels were wired to the old, broken\n// triggers, and pointing this at the wrong one silently pollutes the action\n// Smart Bidding optimises toward. GADS_LEAD_VALUE is deliberately lower than\n// the application-inquiry action: a Get My Rate lead is a real lead, it is\n// just worth less than someone who reached the Arive application.\n// ---------------------------------------------------------------------------\nconst GADS_ACCOUNT=\"AW-18440778143\";const GADS_LEAD_LABEL=\"CmVXCKakhfocEJ_jn9lE\";const GADS_LEAD_VALUE=150;const LEAD_QUEUE_KEY=\"shl_lead_queue_v1\";const LEAD_FIRED_KEY=\"shl_lead_fired_v1\";const LEAD_POST_TRIES=3;const LEAD_POST_TIMEOUT=8e3;const EMAIL_RX=/.+@.+\\..+/;// ---------------------------------------------------------------------------\n// CONTACT MEMORY  (v1.21.0)\n//\n// A returning visitor should not have to retype who they are. When someone\n// submits, their first name, last name, email and phone are saved in THEIR\n// OWN browser (localStorage on smarthomelending.com) and prefilled the next\n// time they reach the funnel. Nothing is sent anywhere by this, and nothing\n// is looked up: the data only ever comes from what this visitor typed on this\n// device.\n//\n// Deliberately NOT remembered:\n//   - Consent. SMS and call consent must be given fresh every time (TCPA), so\n//     the three consent boxes always start unchecked, whatever is remembered.\n//   - Anything financial: loan amount, credit, property, income. Contact\n//     fields only.\n//\n// Why this does not reuse GoHighLevel's own \"sticky contact\" prefill: GHL's\n// form_embed.js keeps only an opaque token on this site (userDataKey /\n// cookiePayload, exchanged via fetch-sticky-contacts / set-sticky-contacts\n// messages) and turns it into a person through GHL's own undocumented\n// servers. There is no name or email here to read, and leaning on that\n// protocol would break silently whenever GHL changes it.\n//\n// Shared computers: the \"Not you?\" link on the email step clears the memory\n// and the fields at once. Memory also expires after CONTACT_MEMORY_DAYS.\n// Every read is re-validated, so a hand-edited or corrupted entry is ignored\n// rather than trusted.\n// ---------------------------------------------------------------------------\nconst CONTACT_MEMORY_KEY=\"shl_contact_v1\";const CONTACT_MEMORY_DAYS=90;const CONTACT_FIELD_MAX=100;function cleanContactText(v){return typeof v===\"string\"?v.trim().slice(0,CONTACT_FIELD_MAX):\"\";}function cleanContactPhone(v){return cleanContactText(v).replace(/[^\\d() -]/g,\"\").slice(0,16);}function clearContactMemory(){try{if(typeof window!==\"undefined\")window.localStorage.removeItem(CONTACT_MEMORY_KEY);}catch(e){}}function loadContactMemory(){try{if(typeof window===\"undefined\")return null;const raw=window.localStorage.getItem(CONTACT_MEMORY_KEY);if(!raw)return null;const m=JSON.parse(raw);if(!m||typeof m!==\"object\"||m.v!==1)return null;const age=Date.now()-Number(m.savedAt);if(!(age>=0)||age>CONTACT_MEMORY_DAYS*864e5){clearContactMemory();return null;}const email=cleanContactText(m.email);const phone=cleanContactPhone(m.phone);const out={firstName:cleanContactText(m.firstName),lastName:cleanContactText(m.lastName),email:EMAIL_RX.test(email)?email:\"\",phone:phone.replace(/\\D/g,\"\").length>=10?phone:\"\"};if(!out.firstName&&!out.lastName&&!out.email&&!out.phone)return null;return out;}catch(e){return null;}}function saveContactMemory(c){try{if(typeof window===\"undefined\"||!c)return;const email=cleanContactText(c.email);// Only a real submission is worth remembering.\nif(!EMAIL_RX.test(email))return;window.localStorage.setItem(CONTACT_MEMORY_KEY,JSON.stringify({v:1,firstName:cleanContactText(c.firstName),lastName:cleanContactText(c.lastName),email:email,phone:cleanContactPhone(c.phone),savedAt:Date.now()}));}catch(e){}}function newSubmissionId(){try{if(typeof crypto!==\"undefined\"&&crypto.randomUUID)return\"shl-\"+crypto.randomUUID();}catch(e){}return\"shl-\"+Date.now().toString(36)+\"-\"+Math.random().toString(36).slice(2,12);}function readStore(key,fallback){try{const raw=window.localStorage.getItem(key);if(!raw)return fallback;const v=JSON.parse(raw);return v==null?fallback:v;}catch(e){return fallback;}}function writeStore(key,value){try{window.localStorage.setItem(key,JSON.stringify(value));}catch(e){}}// Survives a reload, so a queued lead that delivers on the next visit cannot\n// report its conversion twice. Capped so it can never grow without bound.\nfunction alreadyFired(sid){const list=readStore(LEAD_FIRED_KEY,[]);return Array.isArray(list)&&list.indexOf(sid)!==-1;}function markFired(sid){const list=readStore(LEAD_FIRED_KEY,[]);writeStore(LEAD_FIRED_KEY,(Array.isArray(list)?list:[]).concat([sid]).slice(-50));}function fireLeadConversion(sid){if(typeof window===\"undefined\"||!sid||!GADS_LEAD_LABEL)return false;if(alreadyFired(sid))return false;const g=window.gtag;// No tag on the page (or blocked): the lead is still delivered, we just\n// cannot report it. Never throw from here.\nif(typeof g!==\"function\")return false;try{g(\"event\",\"conversion\",{send_to:GADS_ACCOUNT+\"/\"+GADS_LEAD_LABEL,transaction_id:sid,value:GADS_LEAD_VALUE,currency:\"USD\"});markFired(sid);return true;}catch(e){return false;}}async function deliverLead(url,payload){for(let i=0;i<LEAD_POST_TRIES;i++){let timer=null;try{const ctl=typeof AbortController!==\"undefined\"?new AbortController:null;timer=ctl?setTimeout(()=>ctl.abort(),LEAD_POST_TIMEOUT):null;const res=await fetch(url,{method:\"POST\",headers:{\"Content-Type\":\"application/json\"},body:JSON.stringify(payload),signal:ctl?ctl.signal:undefined});if(timer)clearTimeout(timer);// Only a real 2xx counts. A 4xx/5xx is not a delivered lead.\nif(res&&res.ok)return true;}catch(e){}finally{if(timer)clearTimeout(timer);}if(i<LEAD_POST_TRIES-1)await new Promise(r=>setTimeout(r,600*Math.pow(2,i)));}return false;}// Persist before sending; remove only the acknowledged submission. A failed\n// or interrupted request remains queued. No unacknowledged beacon duplicates.\nfunction queueLead(url,payload,metaEligible=false){const q=readStore(LEAD_QUEUE_KEY,[]);const list=Array.isArray(q)?q:[];const sid=payload&&payload.submission_id;if(!sid||list.some(x=>x&&x.payload&&x.payload.submission_id===sid))return;writeStore(LEAD_QUEUE_KEY,list.concat([{url,payload,metaEligible}]).slice(-10));}function removeQueuedLead(sid){const q=readStore(LEAD_QUEUE_KEY,[]);if(Array.isArray(q))writeStore(LEAD_QUEUE_KEY,q.filter(x=>!x||!x.payload||x.payload.submission_id!==sid));}const leadInFlight=new Map;const leadDeliveredThisPage=new Set;const LEAD_DELIVERED_KEY=\"shl_lead_delivered_v1\";function wasDelivered(sid){const ids=readStore(LEAD_DELIVERED_KEY,[]);return leadDeliveredThisPage.has(sid)||Array.isArray(ids)&&ids.includes(sid);}function markDelivered(sid){leadDeliveredThisPage.add(sid);const ids=readStore(LEAD_DELIVERED_KEY,[]);writeStore(LEAD_DELIVERED_KEY,(Array.isArray(ids)?ids:[]).concat(sid).slice(-50));}function sendQueuedLead(item){const sid=item&&item.payload&&item.payload.submission_id;if(!sid||!item.url)return Promise.resolve(false);if(leadInFlight.has(sid))return leadInFlight.get(sid);const send=async()=>{// Another tab may already have acknowledged this submission.\nif(alreadyFired(sid)||wasDelivered(sid)){fireLeadConversion(sid);// Meta eligibility was captured at submission; old/pre-consent leads do not replay.\ntry{if(item.metaEligible===true)recordSHLMetaLead(\"borrower\",sid);}catch(_){}removeQueuedLead(sid);return true;}const ok=await deliverLead(resolveWebhook(item.url),item.payload);if(ok){markDelivered(sid);fireLeadConversion(sid);// Meta eligibility was captured at submission; old/pre-consent leads do not replay.\ntry{if(item.metaEligible===true)recordSHLMetaLead(\"borrower\",sid);}catch(_){}removeQueuedLead(sid);}return ok;};// Web Locks serialize replay across same-origin tabs where supported.\nconst work=typeof navigator!==\"undefined\"&&navigator.locks?navigator.locks.request(\"shl-lead-\"+sid,send):send();const task=Promise.resolve(work).finally(()=>leadInFlight.delete(sid));leadInFlight.set(sid,task);return task;}let queueFlush=null;function flushLeadQueue(){if(queueFlush)return queueFlush;queueFlush=(async()=>{const q=readStore(LEAD_QUEUE_KEY,[]);if(!Array.isArray(q))return;for(const item of q){if(!item||!item.url||!item.payload)continue;await sendQueuedLead(item);}})().finally(()=>{queueFlush=null;});return queueFlush;}const CONSENT_VERSION=\"getmyrate-2026-08b\";const CONSENT_SMS_SERVICE=\"I agree to receive text messages from Smart Home Lending LLC at the mobile number provided, including messages sent using an automated system, about my loan inquiry and application status. Message and data rates may apply. Message frequency may vary. Reply STOP to opt out or HELP for help.\";const CONSENT_SMS_MARKETING=\"I agree to receive marketing and promotional text messages from Smart Home Lending LLC at the mobile number provided, including rate updates, special offers, and messages sent using an automated system. Consent is not a condition of any purchase or loan application. Message and data rates may apply. Message frequency may vary. Reply STOP to opt out or HELP for help.\";const CONSENT_CALLS=\"I agree to receive phone calls from Smart Home Lending LLC at the number provided, including calls to a wireless number, calls placed using an automated dialer, and calls using an AI-assisted or prerecorded voice, about my loan inquiry and application as well as rate updates and other offers. I understand these calls may be recorded and monitored. Consent is not a condition of any purchase or loan application. I may request a live representative at any time. I may withdraw my consent at any time by telling the caller, by contacting Smart Home Lending LLC at (913) 599-9222 or hello@smarthomelending.com, by replying STOP to any text message from Smart Home Lending LLC, or by any other reasonable method.\";// v1.4: presentation-only stylesheet injected by the component. Classes are\n// prefixed shl- to stay out of the site's way.\nconst FUNNEL_CSS=`\n.shl-funnel * { box-sizing: border-box; }\n.shl-step { width: 100%; animation: shlStepIn 0.4s cubic-bezier(0.22, 1, 0.36, 1) both; }\n.shl-step.shl-back { animation-name: shlStepBack; }\n@keyframes shlStepIn { from { opacity: 0; transform: translateX(32px); } to { opacity: 1; transform: none; } }\n@keyframes shlStepBack { from { opacity: 0; transform: translateX(-32px); } to { opacity: 1; transform: none; } }\n.shl-choice {\n    font-family: 'InterDisplay', 'Inter', -apple-system, sans-serif;\n    font-size: 15.5px; font-weight: 600; color: #181818;\n    background: #ffffff; border: 1.5px solid #a8d5db; border-radius: 14px;\n    padding: 20px 26px; cursor: pointer; text-align: center;\n    display: flex; align-items: center; justify-content: center; gap: 10px;\n    transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;\n}\n.shl-choice:hover {\n    border-color: #2d7580; background: #f2fafb; transform: translateY(-2px);\n    box-shadow: 0 6px 18px rgba(45, 117, 128, 0.16);\n}\n.shl-choice:active { transform: translateY(0) scale(0.98); box-shadow: 0 2px 8px rgba(45, 117, 128, 0.12); }\n/* v1.17: the tapped card confirms itself for ~170ms before the step leaves. */\n.shl-choice-picked, .shl-choice-picked:hover {\n    background: #e2f4f5; border-color: #2d7580; color: #1a2e30;\n    transform: translateY(-1px); box-shadow: 0 4px 14px rgba(45, 117, 128, 0.2);\n}\n/* v1.17: live benchmark pricing for their county, from the zip step onward. */\n.shl-peek {\n    width: 100%; background: #f2fafb; border: 1px solid #d8eef1;\n    border-radius: 12px; padding: 10px 14px;\n    display: flex; flex-direction: column; gap: 3px;\n    font-family: 'InterDisplay', 'Inter', -apple-system, sans-serif;\n    animation: shlPeekIn 0.4s ease both;\n}\n@keyframes shlPeekIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: none; } }\n.shl-peek-line { display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: #181818; }\n.shl-peek-dot {\n    width: 7px; height: 7px; border-radius: 50%; background: #2d7580;\n    flex-shrink: 0; animation: shlPulse 1.6s ease-in-out infinite;\n}\n.shl-peek-apr { color: rgba(24, 24, 24, 0.6); font-weight: 500; }\n.shl-peek-sub { font-size: 11.5px; line-height: 1.45; color: rgba(24, 24, 24, 0.6); padding-left: 15px; }\n/* v1.17: quiet trust lines on the two questions people bail on. */\n.shl-reassure {\n    font-family: 'InterDisplay', 'Inter', -apple-system, sans-serif;\n    font-size: 12.5px; line-height: 1.5; color: rgba(24, 24, 24, 0.6);\n    text-align: center; max-width: 430px; margin-top: -10px;\n}\n.shl-choice-grid { flex: 1 1 auto; min-width: 170px; max-width: 300px; white-space: nowrap; }\n.shl-choice-full { width: 100%; }\n.shl-choice-col {\n    flex-direction: column; gap: 9px; padding: 16px 18px;\n    white-space: normal; flex: 1 1 150px; min-width: 150px; max-width: 200px;\n    font-size: 14.5px; line-height: 1.3;\n}\n.shl-choice-row { justify-content: space-between; }\n.shl-choice-row .shl-choice-label { flex: 1; text-align: left; }\n/* v1.18: eleven full-width options need a tighter row than the two- and\n   three-option steps, or the \"how did you hear\" card runs off the screen. */\n.shl-choice-sm { padding: 13px 18px; font-size: 14.5px; border-radius: 12px; }\n.shl-lo-list {\n    display: flex; flex-direction: column; gap: 8px;\n    max-height: 248px; overflow-y: auto; padding-right: 2px;\n}\n.shl-lo-row {\n    display: flex; align-items: center; justify-content: space-between; gap: 10px;\n    width: 100%; box-sizing: border-box; cursor: pointer;\n    font-family: 'InterDisplay', 'Inter', -apple-system, sans-serif;\n    font-size: 15px; font-weight: 600; color: #181818; text-align: left;\n    background: #ffffff; border: 1.5px solid rgba(24, 24, 24, 0.14);\n    border-radius: 12px; padding: 13px 16px;\n    transition: transform 0.16s ease, border-color 0.16s ease, background 0.16s ease;\n}\n.shl-lo-row:hover { border-color: #2d7580; background: #f2fafb; transform: translateY(-1px); }\n.shl-lo-row:active { transform: translateY(0) scale(0.99); }\n.shl-lo-unsure { font-weight: 500; color: rgba(24, 24, 24, 0.62); }\n.shl-lo-empty {\n    font-family: 'InterDisplay', 'Inter', -apple-system, sans-serif;\n    font-size: 13px; color: rgba(24, 24, 24, 0.6); text-align: center; padding: 12px 0;\n}\n.shl-chev { color: #2d7580; flex-shrink: 0; }\n.shl-choice-ic { display: inline-flex; flex-shrink: 0; }\n.shl-next { transition: transform 0.18s ease, background 0.2s ease, box-shadow 0.18s ease; }\n.shl-next:not(:disabled):hover { background: #1a2e30 !important; transform: translateY(-1px); box-shadow: 0 6px 16px rgba(26, 46, 48, 0.25); }\n.shl-next:not(:disabled):active { transform: translateY(0) scale(0.98); }\n.shl-funnel input:not([type=\"range\"]):not([type=\"checkbox\"]) { transition: border-color 0.15s ease, box-shadow 0.15s ease; }\n.shl-funnel input:not([type=\"range\"]):not([type=\"checkbox\"]):focus { border-color: #2d7580 !important; box-shadow: 0 0 0 3px rgba(45, 117, 128, 0.14); }\n.shl-money { transition: border-color 0.15s ease, box-shadow 0.15s ease; }\n.shl-money:focus-within { border-color: #2d7580 !important; box-shadow: 0 0 0 3px rgba(45, 117, 128, 0.14); }\n.shl-cta { transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.2s ease, border-color 0.18s ease; }\n.shl-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(24, 24, 24, 0.12); }\n.shl-cta:active { transform: translateY(0) scale(0.98); }\n.shl-spin {\n    width: 15px; height: 15px; flex-shrink: 0; display: inline-block;\n    border: 2px solid rgba(255, 255, 255, 0.35); border-top-color: #ffffff;\n    border-radius: 50%; animation: shlSpin 0.7s linear infinite;\n    vertical-align: -2px; margin-right: 9px;\n}\n.shl-spin-teal { border-color: rgba(45, 117, 128, 0.22); border-top-color: #2d7580; margin-right: 0; }\n@keyframes shlSpin { to { transform: rotate(360deg); } }\n.shl-skel {\n    height: 15px; border-radius: 8px;\n    background: linear-gradient(90deg, #e9edee 25%, #f6f8f9 40%, #e9edee 60%);\n    background-size: 300% 100%;\n    animation: shlShimmer 1.3s ease-in-out infinite;\n}\n@keyframes shlShimmer { 0% { background-position: 100% 0; } 100% { background-position: -100% 0; } }\n.shl-rates-cards { display: none; }\n/* v1.14 reveal gate: the priced options sit behind the form, blurred. */\n.shl-reveal { position: relative; width: 100%; }\n.shl-reveal-bg {\n    filter: blur(5px); opacity: 0.5; pointer-events: none; user-select: none;\n    padding-top: 6px;\n}\n.shl-reveal-card {\n    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);\n    width: 100%; max-width: 452px; z-index: 2;\n}\n/* v1.16.1: the contact step carries three full TCPA consent blocks and is far\n   taller than the gate. Centering it absolutely inside a fixed-height box cut\n   the submit button off the bottom, so on that step the card returns to normal\n   flow (the container then grows to fit it) and the blurred rows become a\n   pure background layer behind it. Wider column too: fewer wrapped lines. */\n.shl-reveal-card-flow {\n    position: static; transform: none; margin: 0 auto; max-width: 520px;\n}\n.shl-reveal-bg-abs {\n    position: absolute; inset: 0; overflow: hidden;\n}\n.shl-lockbadge {\n    position: absolute; top: -19px; left: 50%; transform: translateX(-50%);\n    width: 38px; height: 38px; border-radius: 50%; background: #ffffff;\n    border: 1px solid #ececec; box-shadow: 0 4px 14px rgba(24,24,24,0.12);\n    display: flex; align-items: center; justify-content: center; z-index: 3;\n}\n.shl-livepill {\n    display: inline-flex; align-items: center; gap: 6px; background: #d9482b;\n    color: #ffffff; font-size: 10.5px; font-weight: 700; letter-spacing: 0.07em;\n    border-radius: 999px; padding: 4px 11px;\n    font-family: 'InterDisplay', 'Inter', -apple-system, sans-serif;\n}\n.shl-livedot { width: 6px; height: 6px; border-radius: 50%; background: #ffffff; animation: shlPulse 1.4s ease-in-out infinite; }\n@keyframes shlPulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.2; } }\n.shl-confetti { position: absolute; inset: 0 0 auto 0; height: 180px; overflow: hidden; pointer-events: none; z-index: 1; }\n.shl-confetti i {\n    position: absolute; top: -14px; width: 7px; height: 11px; border-radius: 2px;\n    opacity: 0; animation: shlFall 2.8s cubic-bezier(0.3, 0.6, 0.5, 1) forwards;\n}\n@keyframes shlFall {\n    0% { opacity: 0; transform: translateY(-14px) rotate(0deg); }\n    12% { opacity: 1; }\n    100% { opacity: 0; transform: translateY(190px) rotate(560deg); }\n}\n/* v1.15: the search runs BEFORE we ask for anything, so it has to earn\n   the wait. Sweeping bar + a live status line while pricing is in flight. */\n.shl-searchbar {\n    position: relative; width: 100%; height: 8px; border-radius: 999px;\n    background: #e8e8e8; overflow: hidden;\n}\n.shl-searchbar i {\n    position: absolute; top: 0; bottom: 0; width: 42%; border-radius: 999px;\n    background: linear-gradient(90deg, #70b2ba, #2d7580);\n    animation: shlSweep 1.5s cubic-bezier(0.45, 0, 0.55, 1) infinite;\n}\n@keyframes shlSweep {\n    0% { left: -45%; }\n    100% { left: 103%; }\n}\n.shl-searchring {\n    width: 46px; height: 46px; border-radius: 50%; display: flex;\n    align-items: center; justify-content: center; background: #e2f4f5;\n    animation: shlBreathe 1.8s ease-in-out infinite;\n}\n@keyframes shlBreathe {\n    0%, 100% { box-shadow: 0 0 0 0 rgba(45, 117, 128, 0.32); }\n    70% { box-shadow: 0 0 0 12px rgba(45, 117, 128, 0); }\n}\n.shl-searchmsg { animation: shlMsgIn 0.45s ease both; }\n@keyframes shlMsgIn { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: none; } }\n.shl-ladder-term td { background: #f7f7f7; }\n.shl-bestchip {\n    display: inline-block; background: #e2f4f5; color: #2d7580; font-size: 10px;\n    font-weight: 700; letter-spacing: 0.05em; border-radius: 999px;\n    padding: 2px 7px; margin-left: 8px; vertical-align: 1px;\n}\n@media (max-width: 700px) {\n    .shl-reveal-bg { display: none; }\n    .shl-reveal-card { position: static; transform: none; max-width: 452px; margin: 0 auto; }\n    .shl-reveal { min-height: 0 !important; }\n}\n@media (max-width: 620px) {\n    .shl-rates-table { display: none; }\n    .shl-rates-cards { display: flex; flex-direction: column; gap: 10px; }\n}\n@media (prefers-reduced-motion: reduce) {\n    .shl-step { animation: none; }\n    .shl-choice, .shl-next, .shl-cta, .shl-money { transition: none; }\n    .shl-choice:hover, .shl-next:not(:disabled):hover, .shl-cta:hover { transform: none; }\n    .shl-skel { animation: none; background: #e9edee; }\n    .shl-confetti { display: none; }\n    .shl-livedot { animation: none; }\n    .shl-searchbar i { animation: none; left: 0; width: 100%; opacity: 0.5; }\n    .shl-searchring { animation: none; }\n    .shl-searchmsg { animation: none; }\n    .shl-peek { animation: none; }\n    .shl-peek-dot { animation: none; }\n    .shl-choice-picked { transform: none; }\n}\n`;// v1.15: what we tell them while the search runs. Each line is something\n// that is actually happening, in the order it happens.\nconst SEARCH_STEPS=[\"Checking today's pricing for your area…\",\"Shopping our wholesale lender marketplace…\",\"Comparing rate and discount point combinations…\",\"Sorting your best options…\"];// v1.3: flat attribution snapshot for the lead payload.\nconst ATT_KEYS=[\"utm_source\",\"utm_medium\",\"utm_campaign\",\"utm_term\",\"utm_content\",\"gclid\",// v1.21.0: Google sends gbraid / wbraid INSTEAD of gclid on iOS and\n// app-campaign traffic. Until now they were read by nothing that\n// persists, so they vanished as soon as the visitor changed page.\n\"gbraid\",\"wbraid\",\"fbclid\"];// v1.5/v1.10: rate-table click params. URL param name -> payload field.\nconst RT_PARAMS={site_id:\"rt_site_id\",affiliate_name:\"rt_affiliate_name\",trackingID:\"rt_tracking_id\",state:\"rt_state\",period:\"rt_period\",loan:\"rt_loan\",ltv:\"rt_ltv\",transaction:\"rt_transaction\",property_type:\"rt_property_type\",program_type:\"rt_program_type\",fico:\"rt_fico\",occupancy:\"rt_occupancy\",cashout:\"rt_cashout\",rate:\"rt_rate\",apr:\"rt_apr\",fees:\"rt_fees\",points:\"rt_points\"};// v1.18: mirrored from the live GHL survey \"Apply Now Multistep Website\n// Form\" (65Xcbz7FZWznWpwU3zy0), read from its published definition on\n// 2026-09-10. Do not tidy these strings. GHL matches SINGLE_OPTIONS and\n// RADIO values by exact comparison and drops anything it does not\n// recognise, so a stray period or a curly apostrophe means the field\n// arrives empty with no error anywhere.\nconst LO_NAMES=[// v1.18.4: display order set by Grant — Taylor, Nathan, Mike, Mark,\n// Grant, Carolyn lead, the rest follow in the survey's own order.\n// Order here is display only: GHL matches on the value string, not on\n// picklist position, so this list can be resequenced freely without\n// touching the survey. The STRINGS are what must stay verbatim.\n\"Taylor Hartley\",\"Nathan Coker\",\"Mike Leech\",\"Mark Elston\",\"Grant Elston\",\"Carolyn Gerlach\",\"Jason Lentsch\",\"Chad Somerville\",\"T.J. Rasmussen\",\"Brian Jones\",\"Joe Beshoner\",\"Adam Bailey\",\"Michelle Ekstam\",\"Megan Crosthwait\",\"Jamey Santo\",\"Matthew Slenker\",// v1.18.1: three originators who joined in 2026, after the survey was\n// built, and are missing from GHL's picklist as of Sep 10. Grant is\n// adding them there; until he does, GHL will discard these three values\n// on arrival (loan_officer_apply_url still carries the NMLS, so the\n// officer is recoverable either way). Arive spells Slenker \"Matt\" — the\n// survey spells him \"Matthew\", and the survey wins because the string\n// has to match its picklist exactly.\n\"Goutham Marikanti\",\"Dave Wexler\",\"Juana Hernandez\",\"Paul Oehm\"];// The last picklist option. Kept apart because it always sits at the bottom\n// of the picker rather than in the searchable list.\n// v1.18.2: three trailing dots, deliberately. The PUBLISHED survey serves\n// this option as \"I'm not sure\" while its redirect rule looks for \"I'm not\n// sure...\" — which is why that rule has never fired. Grant's unpublished\n// draft adds the dots to the option, so the moment he publishes, \"I'm not\n// sure...\" is the picklist value and the rule starts working. We match the\n// draft, because that is what will be live. If the dots ever come off the\n// option instead, this string has to come off with them.\nconst LO_UNSURE=\"I'm not sure...\";// Each officer's personal 1003 link, mirroring the survey's redirectToUrl\n// rules one for one. \"I'm not sure\" points at 236734 to match the intent of\n// the survey's (currently dead) rule for that option.\nconst LO_APPLY_BASE=\"https://shl.my1003app.com/\";const LO_APPLY={\"Nathan Coker\":\"1964545\",\"Grant Elston\":\"2166743\",\"Mark Elston\":\"329795\",\"Carolyn Gerlach\":\"16402\",\"Mike Leech\":\"319916\",\"Jason Lentsch\":\"420805\",\"Chad Somerville\":\"274217\",\"T.J. Rasmussen\":\"1198524\",\"Brian Jones\":\"884560\",\"Joe Beshoner\":\"502037\",\"Adam Bailey\":\"2399484\",\"Michelle Ekstam\":\"408282\",\"Megan Crosthwait\":\"2061649\",\"Jamey Santo\":\"648034\",\"Taylor Hartley\":\"236734\",\"Matthew Slenker\":\"1382872\",// v1.18.1: every one of the sixteen links above is the officer's NMLS\n// number, verified against the Arive user list on Sep 10. These three\n// follow the same rule and Grant confirmed all three URLs directly.\n\"Goutham Marikanti\":\"2813861\",\"Dave Wexler\":\"1473447\",\"Juana Hernandez\":\"1074431\",\"Paul Oehm\":\"195061\",\"I'm not sure...\":\"236734\"};function loApplyUrl(name){const id=name?LO_APPLY[name]:null;return id?LO_APPLY_BASE+id+\"/register\":\"\";}const HEARD_OPTIONS=[\"Google or another search engine\",\"Social media (Facebook, Instagram, LinkedIn, etc.)\",\"AI (Chat GPT, Gemini, Claude, etc.)\",\"Referred by a real estate agent\",\"Referred by a friend or family member\",\"Referred by someone else\",\"Returning Smart Home Lending client\",\"Radio, podcast, or event\",\"Direct mail or flyer\",\"Advertisement\",\"Other\"];// The three options that reveal \"Who referred you or sent you our way?\".\nconst HEARD_REFERRAL=[\"Referred by a real estate agent\",\"Referred by a friend or family member\",\"Referred by someone else\"];function getAttribution(){return readSHLAttribution();}const PROPERTY_OPTIONS=[{label:\"Single Family Home\",value:\"single_family_home\"},{label:\"Townhome\",value:\"townhome\"},{label:\"Condo\",value:\"condo\"},{label:\"Multi Unit Home\",value:\"multi_unit_home\"}];const TIMING_OPTIONS=[\"Considering Mortgage Providers Now\",\"30 Days Out\",\"2-4 Months Out\",\"Researching Options\"];const RESIDENCY_OPTIONS=[{label:\"Primary Home\",value:\"primary_home\"},{label:\"Second Home\",value:\"second_home\"},{label:\"Rental Home\",value:\"rental_home\"}];const FINANCED_OPTIONS=[\"1\",\"2-4\",\"5-6\",\"7 or More\"];function fmtPct(n){if(typeof n!==\"number\")return\"–\";return n.toFixed(3).replace(/0+$/,\"\").replace(/\\.$/,\"\")+\"%\";}function fmtPts(p){if(typeof p!==\"number\"||Math.abs(p)<.005)return\"0\";return p.toFixed(2).replace(/0$/,\"\").replace(/\\.$/,\"\");}function fmtMoney(n){const v=Number(n);return isNaN(v)?\"\":v.toLocaleString(\"en-US\");}// Reads the FIRST number in what the visitor typed. It used to strip every\n// non-digit, so a range like \"450,000-480,000\" became 450000480000 and\n// \"450,000.50\" became 45000050. Measured on a real refinance lead (Sep 2026):\n// the home value arrived as $450,000,480,000, the loan-to-value as 0%, and\n// the quote priced against that. Commas inside the number are fine; anything\n// after it (a dash, \"to\", a decimal, a second figure) is ignored, and the\n// result is capped so runaway typing can't build an absurd figure either.\nconst MONEY_INPUT_MAX=99999999;function parseMoney(s){// v1.22.4 / v4.8: \"600k\", \"1.2m\" and \"1.5 mil\" read as thousands/millions.\nconst m=String(s==null?\"\":s).match(/(\\d[\\d,]*)(\\.\\d+)?\\s*([kK]|[mM](?:il(?:lion)?)?)?(?![a-zA-Z])/);if(!m)return 0;let n=Number(m[1].replace(/,/g,\"\"));if(m[3]&&n<1e4)n=Number(m[1].replace(/,/g,\"\")+(m[2]||\"\"))*(/^[kK]$/.test(m[3])?1e3:1e6);n=Math.floor(n);return isFinite(n)?Math.min(n,MONEY_INPUT_MAX):0;}function monthlyPI(loanAmount,annualRate,years){const r=annualRate/100/12;const n=years*12;if(!r)return loanAmount/n;return loanAmount*r/(1-Math.pow(1+r,-n));}// ---------- BankingBridge client-side pricing (shared loader) ----------\n// v1.17.3: the loader promise is still shared across SHL components on the\n// page, but a FAILED attempt no longer sticks. See the header note.\nfunction ensureBB(appKey){if(window.__shlBBReady)return window.__shlBBReady;const p=new Promise(resolve=>{const finish=ok=>{// v1.17.3: never cache a failure — see the header note. A stuck\n// false used to disable BB for the whole page, which in Missouri\n// left the funnel with no pricing source at all.\nif(!ok&&window.__shlBBReady===p)window.__shlBBReady=undefined;resolve(ok);};const init=()=>{try{const d=document.createElement(\"div\");d.style.display=\"none\";document.body.appendChild(d);window.BB.init(appKey,d,{type:\"api\"});}catch(e){return finish(false);}let tries=0;const poll=setInterval(()=>{tries++;try{const st=window.BB.api.getState();if(st&&st.apiReady&&st.config&&st.config[appKey]){clearInterval(poll);finish(true);}}catch(e){}if(tries>BB_POLL_TRIES){clearInterval(poll);finish(false);}},500);};const loadFresh=()=>{window.BB=undefined;const s=document.createElement(\"script\");s.src=\"https://cdn.bankingbridge.com/assets/external/index.js?bbapi=\"+appKey;s.async=true;s.onload=init;s.onerror=()=>finish(false);document.head.appendChild(s);};const start=()=>{try{if(window.BB&&window.BB.api&&window.BB.api.getState().bbConfig.app_key===appKey){init();}else{loadFresh();}}catch(e){loadFresh();}};// v1.17.3: don't race page hydration; that is when init fails.\nif(typeof document!==\"undefined\"&&document.readyState===\"complete\"){start();}else{try{window.addEventListener(\"load\",start,{once:true});}catch(e){start();}}});window.__shlBBReady=p;return p;}// BankingBridge caches each exact pricing scenario and can keep serving a\n// cached quote for hours after it has gone stale: every row then comes back\n// priceStatus \"Expired\" and none survive the \"Available\" filter. Measured\n// live Oct 9, 2026: the rate cards' fixed $500K / 760 / 66210 benchmark\n// returned 13 Expired rows, last priced 5 hours earlier, on every page load,\n// while the same scenario $1 different priced fresh in about a second.\n// Pylon used to hide this; with Pylon switched off the cards showed \"Live\n// rates are updating\" instead. So: if nothing comes back Available,\n// re-price with the loan amount nudged by a few dollars (a cache miss for\n// BB; pricing-neutral at these sizes). The nudge changes hourly so a fresh\n// quote is shared within the hour but never pinned for good.\nasync function bbPriceFresh(req,timeoutMs){const once=r=>Promise.race([window.BB.api.rateflow.price(r),new Promise(res=>setTimeout(()=>res(null),timeoutMs))]);const live=a=>Array.isArray(a)&&a.some(x=>x&&(!x.priceStatus||x.priceStatus===\"Available\"));const first=await once(req);if(live(first)||!Array.isArray(first)||!first.length||typeof req.loan_amount!==\"number\")return first;const bump=1+new Date().getUTCHours();for(const k of[bump,bump+25]){try{const again=await once({...req,loan_amount:req.loan_amount+k});if(live(again))return again;}catch(e){}}return first;}async function bbLadderTerm(scenario,term){try{const res=await bbPriceFresh({...scenario,loan_term:term},15e3);if(!Array.isArray(res)||!res.length)return null;const ok=res.filter(x=>typeof x.rate===\"number\"&&typeof x.apr===\"number\"&&typeof x.pts===\"number\"&&x.pts<=LADDER_MAX_PTS&&(!x.priceStatus||x.priceStatus===\"Available\"));if(!ok.length)return null;// v1.12: quote_id + hash identify this offer for the BB\n// loan-summary PDF. Pylon rows never have them.\nreturn ok.map(x=>({rate:x.rate,apr:x.apr,pts:x.pts,quote_id:x.quote_id||null,hash:x.hash||null}));}catch(e){return null;}}// v1.17.1: a 30 year benchmark straight from the BB marketplace, used for the\n// rate peek in states the Pylon proxy can't price. Pylon holds no Missouri\n// license, so the Worker deliberately returns an empty products array there\n// (PYLON_STATES). Same assumptions the copy states: $400K loan, 20% down,\n// 740 score, near par.\nasync function bbBenchmark(zip){try{// v1.17.3: one retry — a failed attempt is no longer cached, so\n// asking again gets a genuinely fresh load rather than the same false.\nlet ready=await ensureBB(BB_APP_KEY);if(!ready)ready=await ensureBB(BB_APP_KEY);if(!ready)return null;const res=await bbPriceFresh({list_price:5e5,loan_amount:4e5,down_payment:1e5,down_percentage:20,credit_score:740,loan_type:\"conventional\",loan_purpose:\"purchase\",residency_type:\"primary_home\",property_type:\"single_family_home\",zipcode:zip,first_time_homebuyer:false,va_eligible:false,cash_out:0,loan_term:30},12e3);if(!Array.isArray(res)||!res.length)return null;const ok=res.filter(x=>typeof x.rate===\"number\"&&typeof x.apr===\"number\"&&typeof x.pts===\"number\"&&x.pts<=BB_MAX_PTS&&(!x.priceStatus||x.priceStatus===\"Available\"));if(!ok.length)return null;ok.sort((a,b)=>a.rate-b.rate||a.apr-b.apr);return{rate:ok[0].rate,apr:ok[0].apr};}catch(e){return null;}}// Bound external pricing waits so an unavailable vendor cannot indefinitely\n// prevent a visitor from reaching the existing manual-pricing inquiry path.\nasync function withinPricingDeadline(work,timeoutMs){let timer;try{return await Promise.race([work,new Promise(resolve=>{timer=setTimeout(()=>resolve(null),timeoutMs);})]);}catch{return null;}finally{if(timer!==undefined)clearTimeout(timer);}}async function fetchBBLadders(scenario){// v1.17.3: one retry, same reasoning as bbBenchmark. This is the call\n// that decides whether a Missouri visitor gets a quote at all.\nlet ready=await ensureBB(BB_APP_KEY);if(!ready)ready=await ensureBB(BB_APP_KEY);if(!ready)return null;const results=await Promise.all(TERMS.map(t=>bbLadderTerm(scenario,t)));const out={};TERMS.forEach((t,i)=>{if(results[i])out[t]=results[i];});return Object.keys(out).length?out:null;}// ---------- v1.13: SHL-branded printable Loan Summary ----------\nconst SHL_LOGO=\"https://framerusercontent.com/images/5b3XYCLuepBxGpZJdbZ78ob8u0.png\";const SHL_CO={name:\"Smart Home Lending LLC\",address:\"5440 W 110th St Suite 300, Overland Park, KS 66211\",nmls:\"2140357\"};// v1.13.1: corporate contact card (no individual LO) so the summary is\n// accurate regardless of which broker the lead is assigned to later.\nconst SHL_CONTACT={heading:\"Talk to a Mortgage Broker\",phone:\"(913) 599-9222\",email:\"hello@smarthomelending.com\",site:\"smarthomelending.com\"};function escHtml(s){return String(s||\"\").replace(/[<>&\"]/g,c=>{return({\"<\":\"&lt;\",\">\":\"&gt;\",\"&\":\"&amp;\",'\"':\"&quot;\"})[c];});}function money0(n){return\"$\"+Math.round(n).toLocaleString(\"en-US\");}function loanSummaryHtml(d){const tile=(label,value)=>`<div class=\"tile\"><div class=\"tl\">${label}</div><div class=\"tv\">${value}</div></div>`;const row=(label,value,strong)=>`<div class=\"row${strong?\" strong\":\"\"}\"><span>${label}</span><span>${value}</span></div>`;const ptsAbs=Math.abs(d.pts);const ptsCost=d.pts*d.loan/100;const escrowPrepaids=d.insMo*15+d.taxesMo*3+d.loan*d.rate/100/365*10;const cash=d.down+Math.max(ptsCost,0)+Math.min(ptsCost,0)+escrowPrepaids;const totalMo=d.monthly+d.taxesMo+d.insMo;const ptsLine=ptsAbs<.005?row(\"Discount points\",\"$0\"):d.pts>0?row(`Discount points (${fmtPts(d.pts)})`,money0(ptsCost)):row(`Lender credit (${fmtPts(ptsAbs)})`,\"−\"+money0(-ptsCost));return`<!DOCTYPE html><html><head><meta charset=\"utf-8\"><title>Loan Summary — ${escHtml(d.termLabel)} — Smart Home Lending</title>\n<style>\n  * { box-sizing: border-box; margin: 0; }\n  body { font-family: 'InterDisplay','Inter',-apple-system,'Segoe UI',sans-serif; color: #181818; background: #f7f7f7; padding: 28px 16px; }\n  .page { max-width: 800px; margin: 0 auto; background: #fff; border: 1px solid #ececec; border-radius: 16px; padding: 34px 38px; }\n  .hdr { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; border-bottom: 1px solid #ececec; padding-bottom: 18px; }\n  .hdr img { height: 40px; }\n  .co { font-size: 11.5px; color: rgba(24,24,24,0.6); margin-top: 8px; line-height: 1.5; }\n  .lo { text-align: right; font-size: 12px; line-height: 1.55; }\n  .lo .n { font-size: 15px; font-weight: 600; }\n  .lo .t { color: rgba(24,24,24,0.6); font-size: 10.5px; text-transform: uppercase; letter-spacing: 0.04em; }\n  h1 { font-size: 26px; letter-spacing: -0.02em; color: #1a2e30; margin: 22px 0 2px; }\n  .sub { font-size: 12.5px; color: rgba(24,24,24,0.6); }\n  .note { background: #e2f4f5; border-radius: 10px; padding: 11px 14px; font-size: 11.5px; line-height: 1.55; margin: 16px 0 20px; }\n  .scen { display: flex; flex-wrap: wrap; gap: 4px 26px; background: #f7f7f7; border-radius: 12px; padding: 14px 18px; margin-bottom: 20px; }\n  .scen div { font-size: 12px; padding: 3px 0; }\n  .scen b { display: block; font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(24,24,24,0.6); }\n  .tiles { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 22px; }\n  .tile { flex: 1 1 120px; border: 1px solid #ececec; border-radius: 12px; padding: 12px 14px; }\n  .tile:first-child { background: #1a2e30; color: #fff; border-color: #1a2e30; }\n  .tile:first-child .tl { color: rgba(255,255,255,0.65); }\n  .tl { font-size: 10px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(24,24,24,0.6); }\n  .tv { font-size: 19px; font-weight: 600; margin-top: 4px; }\n  .cols { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }\n  .card { flex: 1 1 280px; border: 1px solid #ececec; border-radius: 12px; padding: 16px 18px; }\n  .card h3 { font-size: 13.5px; color: #1a2e30; margin-bottom: 10px; }\n  .row { display: flex; justify-content: space-between; font-size: 12.5px; padding: 6px 0; border-bottom: 1px solid #f1f1f1; }\n  .row.strong { font-weight: 600; font-size: 13.5px; border-bottom: none; border-top: 2px solid #1a2e30; margin-top: 4px; padding-top: 9px; }\n  .fine { font-size: 10px; color: rgba(24,24,24,0.55); line-height: 1.6; margin-top: 8px; }\n  .disc { font-size: 9.5px; color: rgba(24,24,24,0.55); line-height: 1.65; border-top: 1px solid #ececec; padding-top: 14px; }\n  .eho { margin-top: 8px; font-size: 9.5px; color: rgba(24,24,24,0.55); }\n  .printbtn { position: fixed; top: 14px; right: 14px; background: #2d7580; color: #fff; border: none; border-radius: 999px; padding: 11px 22px; font-family: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; box-shadow: 0 4px 14px rgba(24,24,24,0.18); }\n  @media print { body { background: #fff; padding: 0; } .page { border: none; padding: 10px 6px; } .printbtn { display: none; } }\n</style></head><body>\n<button class=\"printbtn\" onclick=\"window.print()\">Save as PDF</button>\n<div class=\"page\">\n  <div class=\"hdr\">\n    <div><img src=\"${SHL_LOGO}\" alt=\"Smart Home Lending\"><div class=\"co\">${SHL_CO.address}<br>Company NMLS #${SHL_CO.nmls}</div></div>\n    <div class=\"lo\"><div class=\"n\">${SHL_CONTACT.heading}</div><div class=\"t\">${SHL_CO.name}</div><div>${SHL_CONTACT.phone}</div><div>${SHL_CONTACT.email}</div><div>${SHL_CONTACT.site}</div></div>\n  </div>\n  <h1>Rate Quote</h1>\n  <div class=\"sub\">${d.prepared?\"Prepared for \"+escHtml(d.prepared)+\" \\xb7 \":\"\"}${d.dateStr}</div>\n  <div class=\"note\"><b>Disclaimer:</b> This is not a preapproval. Your actual rate, payment, and costs could be higher. Get an official Loan Estimate before choosing a loan.</div>\n  <div class=\"scen\">\n    <div><b>${d.isPurchase?\"Purchase of\":\"Refinance of\"}</b>${escHtml(d.propertyLabel)}</div>\n    <div><b>Residency</b>${escHtml(d.residencyLabel)}</div>\n    <div><b>Location</b>${escHtml(d.county)} ${escHtml(d.zip)}</div>\n    <div><b>${d.isPurchase?\"Purchase price\":\"Est. value\"}</b>${money0(d.price)}</div>\n    ${d.isPurchase?`<div><b>Down payment</b>${money0(d.down)}</div>`:\"\"}\n    <div><b>Loan amount</b>${money0(d.loan)}</div>\n    <div><b>Credit score</b>${escHtml(String(d.credit))}</div>\n    <div><b>Loan type</b>Conventional</div>\n  </div>\n  <div class=\"tiles\">\n    ${tile(\"Loan term\",escHtml(d.termLabel))}\n    ${tile(\"Interest rate\",fmtPct(d.rate))}\n    ${tile(\"APR\",fmtPct(d.apr))}\n    ${tile(\"Points\",fmtPts(d.pts))}\n    ${tile(\"Est. monthly total\",money0(totalMo))}\n  </div>\n  <div class=\"cols\">\n    <div class=\"card\">\n      <h3>Estimated Monthly Payment</h3>\n      ${row(\"Principal &amp; interest\",money0(d.monthly))}\n      ${row(\"Property taxes (est.)\",money0(d.taxesMo))}\n      ${row(\"Home insurance (est.)\",money0(d.insMo))}\n      ${row(\"Mortgage insurance\",\"$0\")}\n      ${row(\"Total estimated payment\",money0(totalMo),true)}\n    </div>\n    ${d.isPurchase?`<div class=\"card\">\n      <h3>Estimated Cash Needed at Closing</h3>\n      ${row(\"Down payment\",money0(d.down))}\n      ${ptsLine}\n      ${row(\"Escrow deposits &amp; prepaids (est.)\",money0(escrowPrepaids))}\n      ${row(\"Estimated total\",money0(cash),true)}\n      <div class=\"fine\">Excludes lender and third-party fees (title/attorney, appraisal, recording, and similar). Your official Loan Estimate after applying will itemize all closing costs.</div>\n    </div>`:`<div class=\"card\">\n      <h3>About This Refinance Quote</h3>\n      ${row(\"Remaining balance financed\",money0(d.loan))}\n      ${ptsLine}\n      <div class=\"fine\">Closing costs and any escrow deposits are not shown here. Your official Loan Estimate after applying will itemize all costs, and many refinances can roll costs into the new loan.</div>\n    </div>`}\n  </div>\n  <div class=\"disc\">The figures above are based on the information you provided and calculate your loan to value ratio accordingly. The interest rate, APR, and payment amount may vary based on the specific terms of the loan selected, verification of information, your credit history, the location and type of property, and other factors. Rates are subject to change without notice. Property taxes and home insurance are estimates and will vary by property. This is not a credit decision or a commitment to lend. ${SHL_CO.name}, NMLS #${SHL_CO.nmls}.</div>\n  <div class=\"eho\">We do business in accordance with the Federal Fair Housing Law and the Equal Credit Opportunity Act. Equal Housing Opportunity.</div>\n</div>\n</body></html>`;}// v1.14: the FULL option ladder for a term — every priced option, Pylon's\n// 0-pt quote included, sorted best rate first and deduped so two sources\n// quoting the same rate collapse to the cheaper points.\nfunction mergeLadder(py,bbList){const opts=[];if(bbList)opts.push(...bbList);if(py)opts.push({rate:py.rate,apr:py.apr,pts:py.points||0,quote_id:null,hash:null});if(!opts.length)return null;opts.sort((a,b)=>a.rate-b.rate||a.apr-b.apr||a.pts-b.pts);const out=[];for(const o of opts){const prev=out[out.length-1];if(prev&&Math.abs(prev.rate-o.rate)<5e-4){if(o.pts<prev.pts)out[out.length-1]=o;}else{out.push(o);}}return out;}// Winner per term: lowest rate among near-par options (pts <= 0.35),\n// tiebreak lowest APR. Pylon's 0-pt quote competes as one more option.\nfunction bestPerTerm(py,bbList){const opts=[];if(bbList)opts.push(...bbList);if(py)opts.push({rate:py.rate,apr:py.apr,pts:py.points||0});if(!opts.length)return null;opts.sort((a,b)=>a.rate-b.rate||a.apr-b.apr||a.pts-b.pts);for(const o of opts)if(o.pts<=BB_MAX_PTS)return o;let best=opts[0];for(const o of opts)if(o.pts<best.pts)best=o;return best;}// ---------------------------------------------------------------------------\n// RATE THEY WERE SHOWN  (v1.22.0)\n//\n// Visitors who arrive from a rate table (MRC) carry the rate they clicked in\n// the URL, and it travels in the rt_* fields. Everyone else — Google Ads,\n// organic, direct — sees a rate for the first time HERE, and until v1.22.0\n// the lead said nothing about it. The shown_* fields carry what this funnel\n// actually put in front of them.\n//\n// Kept separate from rt_* on purpose. rt_* means \"what a third-party rate\n// table advertised\"; shown_* means \"what we priced\". An MRC lead carries\n// both — which is exactly the comparison a loan officer wants on the first\n// call — and rt_* stays trustworthy as a signal of where the lead came from.\n//\n// The headline is the BEST-chipped option for the first term on the results\n// screen (30-year fixed whenever it prices): the row the screen describes as\n// \"the option we'd quote you first\". The other terms' winners travel in\n// shown_all_terms, formatted exactly as the screen formats them.\n//\n// Timing: the lead is sent when the visitor clicks Unlock, BEFORE the results\n// appear. Pricing has already finished by then — the gate shows the search\n// screen until it does — so these are precisely the numbers revealed next.\n// If pricing failed or had not landed, shown_status says so and the rest are\n// null. Every key is always present (null when empty) so GHL's webhook\n// mapping picker sees them on the first request, same as rt_*.\n//\n// These are live benchmark quotes on the visitor's own answers, not a locked\n// or approved rate. Program is always conventional: that is the only loan\n// type this funnel prices.\n// ---------------------------------------------------------------------------\nconst SHOWN_KEYS=[\"shown_status\",\"shown_rate\",\"shown_apr\",\"shown_points\",\"shown_term\",\"shown_term_years\",\"shown_monthly_pi\",\"shown_program\",\"shown_option_count\",\"shown_quote_id\",\"shown_all_terms\"];function shownNum(n,d){return typeof n===\"number\"&&isFinite(n)?Number(n.toFixed(d)):null;}function shownRateFields(rows,status,optionCount){const out={};SHOWN_KEYS.forEach(k=>{out[k]=null;});out.shown_status=status===\"ready\"?\"shown\":status===\"none\"?\"no_pricing\":\"not_ready\";if(status!==\"ready\")return out;const priced=(Array.isArray(rows)?rows:[]).filter(r=>r&&typeof r.rate===\"number\"&&isFinite(r.rate));if(!priced.length){out.shown_status=\"no_pricing\";return out;}const best=priced[0];out.shown_rate=shownNum(best.rate,3);out.shown_apr=shownNum(best.apr,3);out.shown_points=shownNum(best.pts,3);out.shown_term=best.label||(best.term?best.term+\" Year Fixed\":null);out.shown_term_years=typeof best.term===\"number\"?best.term:null;out.shown_monthly_pi=typeof best.monthly===\"number\"&&isFinite(best.monthly)?best.monthly:null;out.shown_program=\"Conventional\";out.shown_option_count=typeof optionCount===\"number\"&&optionCount>0?optionCount:null;out.shown_quote_id=best.quote_id||null;out.shown_all_terms=priced.map(r=>`${r.label||r.term+\" yr\"} ${fmtPct(r.rate)} `+`(${fmtPct(r.apr)} APR, ${fmtPts(r.pts)} pts)`).join(\" \\xb7 \");return out;}// ---------- UI pieces ----------\n// v1.9.2: official Phosphor Icons, duotone weight. phosphoricons.com\n// MIT License, Copyright (c) Phosphor Icons. Free for commercial use.\n// Path data embedded verbatim from @phosphor-icons/core (viewBox 256).\nfunction Ic({d2,d}){return /*#__PURE__*/_jsxs(\"svg\",{width:\"34\",height:\"34\",viewBox:\"0 0 256 256\",fill:C.panorama,\"aria-hidden\":\"true\",children:[d2?/*#__PURE__*/_jsx(\"path\",{d:d2,opacity:\"0.2\"}):null,/*#__PURE__*/_jsx(\"path\",{d:d})]});}const ICONS={// Phosphor \"key\"\npurchase:/*#__PURE__*/_jsx(Ic,{d2:\"M232,98.36C230.73,136.92,198.67,168,160.09,168a71.68,71.68,0,0,1-26.92-5.17h0L120,176H96v24H72v24H40a8,8,0,0,1-8-8V187.31a8,8,0,0,1,2.34-5.65l58.83-58.83h0A71.68,71.68,0,0,1,88,95.91c0-38.58,31.08-70.64,69.64-71.87A72,72,0,0,1,232,98.36Z\",d:\"M216.57,39.43A80,80,0,0,0,83.91,120.78L28.69,176A15.86,15.86,0,0,0,24,187.31V216a16,16,0,0,0,16,16H72a8,8,0,0,0,8-8V208H96a8,8,0,0,0,8-8V184h16a8,8,0,0,0,5.66-2.34l9.56-9.57A79.73,79.73,0,0,0,160,176h.1A80,80,0,0,0,216.57,39.43ZM224,98.1c-1.09,34.09-29.75,61.86-63.89,61.9H160a63.7,63.7,0,0,1-23.65-4.51,8,8,0,0,0-8.84,1.68L116.69,168H96a8,8,0,0,0-8,8v16H72a8,8,0,0,0-8,8v16H40V187.31l58.83-58.82a8,8,0,0,0,1.68-8.84A63.72,63.72,0,0,1,96,95.92c0-34.14,27.81-62.8,61.9-63.89A64,64,0,0,1,224,98.1ZM192,76a12,12,0,1,1-12-12A12,12,0,0,1,192,76Z\"}),// Phosphor \"arrows-clockwise\"\nrefinance:/*#__PURE__*/_jsx(Ic,{d2:\"M216,128a88,88,0,1,1-88-88A88,88,0,0,1,216,128Z\",d:\"M224,48V96a8,8,0,0,1-8,8H168a8,8,0,0,1,0-16h28.69L182.06,73.37a79.56,79.56,0,0,0-56.13-23.43h-.45A79.52,79.52,0,0,0,69.59,72.71,8,8,0,0,1,58.41,61.27a96,96,0,0,1,135,.79L208,76.69V48a8,8,0,0,1,16,0ZM186.41,183.29a80,80,0,0,1-112.47-.66L59.31,168H88a8,8,0,0,0,0-16H40a8,8,0,0,0-8,8v48a8,8,0,0,0,16,0V179.31l14.63,14.63A95.43,95.43,0,0,0,130,222.06h.53a95.36,95.36,0,0,0,67.07-27.33,8,8,0,0,0-11.18-11.44Z\"}),// Phosphor \"house\"\nsingle_family_home:/*#__PURE__*/_jsx(Ic,{d2:\"M216,120v96H152V152H104v64H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z\",d:\"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V160h32v56a8,8,0,0,0,8,8h64a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48V120l80-80,80,80Z\"}),// Phosphor \"house-line\"\ntownhome:/*#__PURE__*/_jsx(Ic,{d2:\"M216,116.69V216H152V152H104v64H40V116.69l82.34-82.35a8,8,0,0,1,11.32,0Z\",d:\"M240,208H224V136l2.34,2.34A8,8,0,0,0,237.66,127L139.31,28.68a16,16,0,0,0-22.62,0L18.34,127a8,8,0,0,0,11.32,11.31L32,136v72H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM48,120l80-80,80,80v88H160V152a8,8,0,0,0-8-8H104a8,8,0,0,0-8,8v56H48Zm96,88H112V160h32Z\"}),// Phosphor \"building-apartment\"\ncondo:/*#__PURE__*/_jsx(Ic,{d2:\"M224,72V216H144V168H112v48H32V104H80V40h96V72Z\",d:\"M240,208h-8V72a8,8,0,0,0-8-8H184V40a8,8,0,0,0-8-8H80a8,8,0,0,0-8,8V96H32a8,8,0,0,0-8,8V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM40,112H80a8,8,0,0,0,8-8V48h80V72a8,8,0,0,0,8,8h40V208H152V168a8,8,0,0,0-8-8H112a8,8,0,0,0-8,8v40H40Zm96,96H120V176h16ZM112,72a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H120A8,8,0,0,1,112,72Zm0,32a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H120A8,8,0,0,1,112,104Zm56,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,104ZM88,136a8,8,0,0,1-8,8H64a8,8,0,0,1,0-16H80A8,8,0,0,1,88,136Zm0,32a8,8,0,0,1-8,8H64a8,8,0,0,1,0-16H80A8,8,0,0,1,88,168Zm24-32a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H120A8,8,0,0,1,112,136Zm56,0a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,136Zm0,32a8,8,0,0,1,8-8h16a8,8,0,0,1,0,16H176A8,8,0,0,1,168,168Z\"}),// Phosphor \"buildings\"\nmulti_unit_home:/*#__PURE__*/_jsx(Ic,{d2:\"M136,32V216H40V85.35a8,8,0,0,1,3.56-6.66l80-53.33A8,8,0,0,1,136,32Z\",d:\"M240,208H224V96a16,16,0,0,0-16-16H144V32a16,16,0,0,0-24.88-13.32L39.12,72A16,16,0,0,0,32,85.34V208H16a8,8,0,0,0,0,16H240a8,8,0,0,0,0-16ZM208,96V208H144V96ZM48,85.34,128,32V208H48ZM112,112v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm-32,0v16a8,8,0,0,1-16,0V112a8,8,0,1,1,16,0Zm0,56v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Zm32,0v16a8,8,0,0,1-16,0V168a8,8,0,0,1,16,0Z\"}),// Phosphor \"house-simple\"\nprimary_home:/*#__PURE__*/_jsx(Ic,{d2:\"M216,120v96H40V120a8,8,0,0,1,2.34-5.66l80-80a8,8,0,0,1,11.32,0l80,80A8,8,0,0,1,216,120Z\",d:\"M219.31,108.68l-80-80a16,16,0,0,0-22.62,0l-80,80A15.87,15.87,0,0,0,32,120v96a8,8,0,0,0,8,8H216a8,8,0,0,0,8-8V120A15.87,15.87,0,0,0,219.31,108.68ZM208,208H48V120l80-80,80,80Z\"}),// Phosphor \"island\"\nsecond_home:/*#__PURE__*/_jsx(Ic,{d2:\"M32,140a20,20,0,1,1,20,20A20,20,0,0,1,32,140Zm96,52c-64,0-104,32-104,32H232S192,192,128,192Z\",d:\"M238.25,229A8,8,0,0,1,227,230.25c-.37-.3-38.82-30.25-99-30.25S29.36,230,29,230.26a8,8,0,0,1-10-12.51c1.63-1.3,38.52-30.26,98.29-33.45A119.94,119.94,0,0,1,114,146.37c1.74-21.71,10.92-50.63,43-72.48a66.19,66.19,0,0,0-15-1.87l-1.67,0c-19,.62-30.94,11.71-36.5,33.92A8,8,0,0,1,96,112a7.64,7.64,0,0,1-1.94-.24,8,8,0,0,1-5.82-9.7c9.25-36.95,33.11-45.42,51.5-46a81.48,81.48,0,0,1,21.68,2.45c-3.83-6.33-9.43-12.93-17.21-16.25-10-4.24-22.17-2.39-36.31,5.51a8,8,0,0,1-7.8-14c18.74-10.45,35.72-12.54,50.48-6.2,12.49,5.36,20.73,15.78,25.87,25,6.18-9.64,13.88-16.17,22.39-18.94,11.86-3.87,24.64-.72,38,9.37a8,8,0,0,1-9.64,12.76c-8.91-6.73-16.77-9.06-23.35-6.93-7.29,2.35-12.87,10-16.37,16.61A70.46,70.46,0,0,1,208,73.07c14.61,8.35,32,26.05,32,62.94a8,8,0,0,1-16,0c0-23.46-8.07-40-24-49a50.49,50.49,0,0,0-5.75-2.8,55.64,55.64,0,0,1,5.06,33.06,59.41,59.41,0,0,1-8.86,23.41,8,8,0,0,1-13.09-9.2c.74-1.09,16.33-24.38-3.26-49.37-27,15.21-41.89,37.25-44.16,65.59a104.27,104.27,0,0,0,3.83,36.44c62.65,1.81,101.52,32.33,103.2,33.66A8,8,0,0,1,238.25,229ZM24,140a28,28,0,1,1,28,28A28,28,0,0,1,24,140Zm16,0a12,12,0,1,0,12-12A12,12,0,0,0,40,140Z\"}),// Phosphor \"signpost\"\nrental_home:/*#__PURE__*/_jsx(Ic,{d2:\"M240,112l-33.62,37.35a8,8,0,0,1-5.94,2.65H40a8,8,0,0,1-8-8V80a8,8,0,0,1,8-8H200.44a8,8,0,0,1,5.94,2.65Z\",d:\"M246,106.65,212.33,69.3A16,16,0,0,0,200.44,64H136V32a8,8,0,0,0-16,0V64H40A16,16,0,0,0,24,80v64a16,16,0,0,0,16,16h80v64a8,8,0,0,0,16,0V160h64.44a16,16,0,0,0,11.89-5.3L246,117.35A8,8,0,0,0,246,106.65ZM200.44,144H40V80H200.44l28.8,32Z\"})};// v1.14: celebration burst over the reveal gate. Positions and timings are\n// derived from the index rather than Math.random so the server and client\n// render the same markup (no hydration mismatch).\nconst CONFETTI_COLORS=[\"#2d7580\",\"#70b2ba\",\"#a8d5db\",\"#f2b544\",\"#e8795a\",\"#e2f4f5\"];function Confetti(){const bits=[];for(let i=0;i<26;i++){bits.push(/*#__PURE__*/_jsx(\"i\",{style:{left:i*37%100+\"%\",background:CONFETTI_COLORS[i%CONFETTI_COLORS.length],animationDelay:i*13%90/100+\"s\",animationDuration:2.2+i*7%11/10+\"s\"}},i));}return /*#__PURE__*/_jsx(\"div\",{className:\"shl-confetti\",\"aria-hidden\":\"true\",children:bits});}// v1.17: three named phases instead of one anonymous bar.\nconst PHASES=[{key:\"loan\",label:\"Your loan\",steps:[\"purpose\",\"property\",\"timing\",\"residency\",\"financed\",\"zip\"]},{key:\"numbers\",label:\"The numbers\",steps:[\"price\",\"value\",\"down\",\"balance\"]},{key:\"you\",label:\"About you\",// v1.18: the five survey-parity steps live here. PhaseBar filters\n// this list against the live steps array, so the conditional ones\n// simply do not count toward the segment until they exist.\nsteps:[\"fthb\",\"income\",\"credit\",\"va\",\"withlo\",\"whichlo\",\"heard\",\"heardother\",\"referrer\",\"gate\",\"contact\"]}];function PhaseBar({steps,step}){const cur=steps.indexOf(step);return /*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",display:\"flex\",flexDirection:\"column\",gap:7},children:[/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:6,width:\"100%\"},children:PHASES.map((p,pi)=>{const list=p.steps.filter(s=>steps.indexOf(s)!==-1);const done=list.filter(s=>steps.indexOf(s)<cur).length;let pct=list.length?done/list.length*100:0;if(pi===0)pct=Math.max(pct,8);return /*#__PURE__*/_jsx(\"div\",{style:{flex:1,height:8,borderRadius:999,background:\"#e8e8e8\",overflow:\"hidden\"},children:/*#__PURE__*/_jsx(\"div\",{style:{width:`${pct}%`,height:\"100%\",borderRadius:999,background:C.deepTeal,transition:\"width 0.3s ease\"}})},p.key);})}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:6,width:\"100%\"},children:PHASES.map(p=>{const list=p.steps.filter(s=>steps.indexOf(s)!==-1);const active=list.indexOf(step)!==-1;const complete=list.length>0&&list.every(s=>steps.indexOf(s)<cur);return /*#__PURE__*/_jsxs(\"div\",{style:{flex:1,fontFamily:FONT,fontSize:11,fontWeight:active?700:600,letterSpacing:\"0.03em\",color:active?C.deepTeal:complete?C.panorama:C.textSecondary},children:[complete?\"✓ \":\"\",p.label]},p.key);})})]});}// v1.17: benchmark pricing for their county, shown from the zip step onward.\n// Rate is always paired with its APR, and the copy states the benchmark\n// assumptions and that this is not their quote yet.\nfunction RatePeek({bench,county,monthly}){if(!bench)return null;return /*#__PURE__*/_jsxs(\"div\",{className:\"shl-peek\",children:[/*#__PURE__*/_jsxs(\"div\",{className:\"shl-peek-line\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"shl-peek-dot\"}),/*#__PURE__*/_jsxs(\"span\",{children:[\"Today in \",county||\"your area\",\":\",\" \",/*#__PURE__*/_jsx(\"strong\",{children:fmtPct(bench.rate)}),typeof bench.apr===\"number\"?/*#__PURE__*/_jsxs(\"span\",{className:\"shl-peek-apr\",children:[\" \",\"\\xb7 \",fmtPct(bench.apr),\" APR\"]}):null,/*#__PURE__*/_jsx(\"span\",{className:\"shl-peek-apr\",children:\" \\xb7 30 year fixed\"})]})]}),/*#__PURE__*/_jsxs(\"div\",{className:\"shl-peek-sub\",children:[monthly?`About $${monthly.toLocaleString(\"en-US\")}/mo principal and interest at that rate. `:\"\",\"Benchmark pricing at a 740 score and 20% down, not your quote yet.\"]})]});}// v1.17: confirm the tap before the step leaves.\nfunction ChoiceCard({label,onClick,full,icon,iconTop,chevron,compact}){const[picked,setPicked]=useState(false);const cls=\"shl-choice \"+(full?\"shl-choice-full\":\"shl-choice-grid\")+(iconTop?\" shl-choice-col\":\"\")+(chevron?\" shl-choice-row\":\"\")+(compact?\" shl-choice-sm\":\"\")+(picked?\" shl-choice-picked\":\"\");function handle(){if(picked)return;setPicked(true);setTimeout(()=>{if(onClick)onClick();},170);}const showCheck=picked&&!iconTop;return /*#__PURE__*/_jsxs(\"button\",{onClick:handle,className:cls,children:[icon?/*#__PURE__*/_jsx(\"span\",{className:\"shl-choice-ic\",children:icon}):null,/*#__PURE__*/_jsx(\"span\",{className:\"shl-choice-label\",children:label}),showCheck?/*#__PURE__*/_jsx(\"svg\",{className:\"shl-chev\",width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2.5\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M3.5 8.5 L6.5 11.5 L12.5 4.5\"})}):chevron?/*#__PURE__*/_jsx(\"svg\",{className:\"shl-chev\",width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 3.5 L11 8 L6 12.5\"})}):null]});}function Question({children}){return /*#__PURE__*/_jsx(\"h3\",{style:{margin:0,fontFamily:FONT,fontSize:27,fontWeight:500,letterSpacing:\"-0.02em\",color:C.deepTeal,textAlign:\"center\"},children:children});}function NextButton({onClick,disabled,label=\"Next\",busy}){return /*#__PURE__*/_jsxs(\"button\",{onClick:onClick,disabled:disabled,className:\"shl-next\",style:{fontFamily:FONT,fontSize:15,fontWeight:600,background:disabled?\"#d9dee0\":C.panorama,color:\"#ffffff\",border:\"none\",borderRadius:999,padding:\"14px 44px\",cursor:disabled?\"default\":\"pointer\",alignSelf:\"center\",transition:\"background 0.2s ease\"},children:[busy?/*#__PURE__*/_jsx(\"span\",{className:\"shl-spin\"}):null,label]});}function ConsentRow({checked,onChange,text}){return /*#__PURE__*/_jsxs(\"label\",{style:{display:\"flex\",gap:10,alignItems:\"flex-start\",fontFamily:FONT,fontSize:11.5,lineHeight:1.55,color:C.textSecondary,cursor:\"pointer\"},children:[/*#__PURE__*/_jsx(\"input\",{type:\"checkbox\",checked:checked,onChange:e=>onChange(e.target.checked),style:{marginTop:2,accentColor:C.panorama,width:15,height:15,flexShrink:0}}),/*#__PURE__*/_jsx(\"span\",{children:text})]});}function MoneyStep({question,value,setValue,min,max,minLabel,maxLabel,note,reassure,onNext}){const num=parseMoney(value)||min;// v1.22.3: when the visitor types something that isn't one plain number\n// (a range like \"450,000-480,000\", a decimal), keep their text on screen\n// and use the first number. Reformatting used to delete the dash, so the\n// next digits merged into one giant figure.\nconst[raw,setRaw]=useState(null);useEffect(()=>{setRaw(null);},[question]);return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:26,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(Question,{children:question}),reassure?/*#__PURE__*/_jsx(\"div\",{className:\"shl-reassure\",children:reassure}):null,/*#__PURE__*/_jsxs(\"div\",{className:\"shl-money\",style:{display:\"inline-flex\",alignItems:\"center\",background:\"#ffffff\",border:`1.5px solid ${C.inputBorder}`,borderRadius:12,padding:\"12px 18px\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:FONT,fontSize:24,color:C.textSecondary,marginRight:4},children:\"$\"}),/*#__PURE__*/_jsx(\"input\",{value:raw!=null?raw:fmtMoney(num),onChange:e=>{// v1.22.3: a keystroke that would take the figure past\n// 5x this step's slider max is ignored. The field\n// reformats as you type, so a range typed digit by\n// digit (\"450,000\" then \"-480,000\") would otherwise\n// keep appending digits into one giant number.\nconst t=e.target.value;const n=parseMoney(t);if(max&&n>max*5)return;// v1.22.4: one plain number (\"600000\", \"$600,000\") is reformatted\n// with commas; anything else, including an empty field or a lone\n// \"$\", stays exactly as typed so the next keystroke lands on it.\nsetRaw(/^\\$?[\\d,]+$/.test(t)?null:t.slice(0,40));setValue(String(n));},inputMode:\"numeric\",style:{fontFamily:FONT,fontSize:24,fontWeight:600,color:C.nearBlack,border:\"none\",outline:\"none\",width:150,textAlign:\"center\",background:\"transparent\"}})]}),raw!=null&&parseMoney(raw)>0?/*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:FONT,fontSize:13.5,color:C.textSecondary,marginTop:-14},children:[\"Using $\",fmtMoney(num)]}):null,note?/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONT,fontSize:14.5,fontWeight:600,color:C.nearBlack,marginTop:-10},children:note}):null,/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",maxWidth:560,display:\"flex\",flexDirection:\"column\",gap:6},children:[/*#__PURE__*/_jsx(\"input\",{type:\"range\",min:min,max:max,step:min>=1e5?5e3:1e3,value:Math.min(Math.max(num,min),max),onChange:e=>{setRaw(null);setValue(e.target.value);},style:{width:\"100%\",accentColor:C.panorama,cursor:\"pointer\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",fontFamily:FONT,fontSize:13,fontWeight:600,color:C.nearBlack},children:[/*#__PURE__*/_jsx(\"span\",{children:minLabel}),/*#__PURE__*/_jsx(\"span\",{children:maxLabel})]})]}),/*#__PURE__*/_jsx(NextButton,{onClick:onNext,disabled:!num||num<min})]});}const fieldStyle={fontFamily:FONT,fontSize:15.5,color:C.nearBlack,background:\"#ffffff\",border:`1.5px solid ${C.inputBorder}`,borderRadius:10,padding:\"13px 15px\",outline:\"none\",width:\"100%\",boxSizing:\"border-box\"};// v1.18: seventeen names is too many for a native select on a phone, and a\n// tap grid would run two screens deep. Type-ahead over the exact GHL\n// picklist instead — the visitor filters, but the value we send always\n// comes from the list, never from what they typed.\nfunction LoPicker({onPick}){const[q,setQ]=useState(\"\");const term=q.trim().toLowerCase();const matches=term?LO_NAMES.filter(n=>n.toLowerCase().indexOf(term)!==-1):LO_NAMES;return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:12,width:\"100%\",maxWidth:460},children:[/*#__PURE__*/_jsx(\"input\",{value:q,onChange:e=>setQ(e.target.value),placeholder:\"Start typing their name\",\"aria-label\":\"Search loan officers\",autoComplete:\"off\",style:fieldStyle}),/*#__PURE__*/_jsxs(\"div\",{className:\"shl-lo-list\",children:[matches.map(n=>/*#__PURE__*/_jsxs(\"button\",{className:\"shl-lo-row\",onClick:()=>onPick(n),children:[/*#__PURE__*/_jsx(\"span\",{children:n}),/*#__PURE__*/_jsx(\"svg\",{className:\"shl-chev\",width:\"16\",height:\"16\",viewBox:\"0 0 16 16\",fill:\"none\",stroke:\"currentColor\",strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M6 3.5 L11 8 L6 12.5\"})})]},n)),matches.length===0?/*#__PURE__*/_jsxs(\"div\",{className:\"shl-lo-empty\",children:['No match. Try a last name, or choose \"',LO_UNSURE,'\" below.']}):null]}),/*#__PURE__*/_jsx(\"button\",{className:\"shl-lo-row shl-lo-unsure\",onClick:()=>onPick(LO_UNSURE),children:/*#__PURE__*/_jsx(\"span\",{children:LO_UNSURE})})]});}// v1.18: shared shape for the two conditional free-text steps. Required, to\n// match the GHL survey, so Next stays disabled until something is entered.\nfunction TextStep({question,value,setValue,placeholder,onNext,note}){const ok=value.trim().length>0;return /*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:24,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(Question,{children:question}),note?/*#__PURE__*/_jsx(\"div\",{className:\"shl-reassure\",children:note}):null,/*#__PURE__*/_jsx(\"input\",{value:value,onChange:e=>setValue(e.target.value.slice(0,120)),onKeyDown:e=>{if(e.key===\"Enter\"&&ok)onNext();},placeholder:placeholder,style:{...fieldStyle,maxWidth:460}}),/*#__PURE__*/_jsx(NextButton,{onClick:onNext,disabled:!ok})]});}export default function GetMyRateFunnel(props){useSHLMetaTracking();const{endpoint,webhookUrl,applyLink,contactLink,privacyLink,termsLink,style}=props;const isCanvas=RenderTarget.current()===RenderTarget.canvas;const[stepIdx,setStepIdx]=useState(0);const[A,setA]=useState({purpose:\"\",property:null,timing:\"\",residency:null,financed:\"\",zip:\"\",county:\"\",state:\"\",price:\"450000\",down:\"50000\",value:\"450000\",balance:\"300000\",income:\"120000\",credit:700,va:null,fthb:null,// v1.18: survey parity. These three drive the conditional steps, so\n// they live in A alongside the rest of the quiz answers. The two\n// free-text answers are held separately (below) — they change on\n// every keystroke and must not churn the pricing state.\nwithlo:\"\",lo:\"\",heard:\"\"});// v1.18: free-text survey answers. Deliberately outside A so typing in\n// them never runs invalidatePricing().\nconst[heardOther,setHeardOther]=useState(\"\");const[referredBy,setReferredBy]=useState(\"\");const[firstName,setFirstName]=useState(\"\");const[lastName,setLastName]=useState(\"\");const[email,setEmail]=useState(\"\");const[phone,setPhone]=useState(\"\");const[consent,setConsent]=useState(false);const[consentMkt,setConsentMkt]=useState(false);const[consentCalls,setConsentCalls]=useState(false);// v1.21.0: contact memory (see CONTACT MEMORY). Prefill runs once and\n// client-side only: localStorage does not exist during server\n// rendering, so reading it during render would hand React a hydration\n// mismatch. It never overwrites anything already typed, and it never\n// touches the three consent boxes.\nconst[remembered,setRemembered]=useState(false);useEffect(()=>{if(isCanvas)return;const m=loadContactMemory();if(!m)return;setFirstName(v=>v||m.firstName);setLastName(v=>v||m.lastName);setEmail(v=>v||m.email);setPhone(v=>v||m.phone);setRemembered(true);},[]);function forgetMe(){clearContactMemory();setFirstName(\"\");setLastName(\"\");setEmail(\"\");setPhone(\"\");setRemembered(false);}const[unlocked,setUnlocked]=useState(false);const[busy,setBusy]=useState(false);const[gateError,setGateError]=useState(\"\");const[rows,setRows]=useState(null);const[ladders,setLadders]=useState(null);const[optionCount,setOptionCount]=useState(0);const[priceStatus,setPriceStatus]=useState(\"idle\");const[searchIdx,setSearchIdx]=useState(0);const[dir,setDir]=useState(\"fwd\");// v1.17: benchmark 30 year pricing for their county, captured from the\n// licensing check at the zip step. Display only.\nconst[bench,setBench]=useState(null);// v1.17.1: guards the async BB fallback — a benchmark that resolves after\n// the visitor changed their zip must not overwrite the newer one.\nconst benchToken=useRef(0);// v1.3: capture ad-click attribution as soon as the funnel mounts.\nuseEffect(()=>{if(!isCanvas)getAttribution();},[isCanvas]);// v1.20.0: retry any lead a previous visit could not deliver. Its\n// conversion fires only if the retry actually lands.\nuseEffect(()=>{if(isCanvas)return;flushLeadQueue();},[isCanvas]);const isPurchase=A.purpose!==\"refinance\";const nonPrimary=A.residency&&A.residency.value!==\"primary_home\";// v1.18: the survey-parity tail, identical on both paths and always the\n// last thing asked before the gate. Conditional steps are spliced in the\n// same way \"financed\" is — they appear AFTER the current index, so\n// choose() advancing by one still lands on the right step.\nconst surveyTail=[\"withlo\",...A.withlo===\"Yes\"?[\"whichlo\"]:[],\"heard\",...A.heard===\"Other\"?[\"heardother\"]:[],...HEARD_REFERRAL.indexOf(A.heard)!==-1?[\"referrer\"]:[]];const quiz=isPurchase?[\"purpose\",\"property\",\"timing\",\"residency\",...nonPrimary?[\"financed\"]:[],\"zip\",\"price\",\"down\",// v1.16: first-time status sits directly before income because\n// the two together drive HomeReady / Home Possible / HFA and\n// DPA eligibility. Purchase path only.\n\"fthb\",\"income\",\"credit\",\"va\",...surveyTail]:[\"purpose\",\"property\",\"residency\",...nonPrimary?[\"financed\"]:[],\"zip\",\"value\",\"balance\",\"income\",\"credit\",\"va\",...surveyTail];const steps=unlocked?[...quiz,\"results\"]:[...quiz,\"gate\",\"contact\",\"results\"];const step=steps[Math.min(stepIdx,steps.length-1)];// v1.14: price the moment the quiz finishes, while the visitor is at the\n// gate. No lead is submitted until they unlock.\nuseEffect(()=>{if(isCanvas)return;if(step===\"gate\"&&priceStatus===\"idle\")priceScenario();},[step,priceStatus,isCanvas]);// v1.15: walk the status line while the search is in flight.\nuseEffect(()=>{if(priceStatus!==\"loading\"){setSearchIdx(0);return;}const id=setInterval(()=>{setSearchIdx(i=>Math.min(i+1,SEARCH_STEPS.length-1));},2200);return()=>clearInterval(id);},[priceStatus]);// v1.14: pricing runs at the gate, so any answer changed after that makes\n// it stale. Throw it away and let the gate re-price on arrival.\nfunction invalidatePricing(){if(unlocked)return;setRows(null);setLadders(null);setOptionCount(0);setPriceStatus(\"idle\");}function set(k,v){invalidatePricing();setA(prev=>({...prev,[k]:v}));}function next(){setDir(\"fwd\");setStepIdx(i=>Math.min(i+1,steps.length-1));}function back(){setGateError(\"\");setDir(\"back\");setStepIdx(i=>Math.max(i-1,0));}// Advance after a choice. If the next step is the results screen (repeat\n// pass after unlock), re-price with the freshly chosen value included.\nfunction choose(k,v){setDir(\"fwd\");invalidatePricing();setA(prev=>({...prev,[k]:v}));const ni=Math.min(stepIdx+1,steps.length-1);setStepIdx(ni);if(steps[ni]===\"results\"){priceScenario({...A,[k]:v});}}function scenario(ans=A){if(ans.purpose!==\"refinance\"){const p=parseMoney(ans.price);const d=parseMoney(ans.down);const loanAmount=Math.max(0,p-d);return{listPrice:p,downPayment:d,downPercentage:p>0?Math.round(d/p*100):0,loanAmount,ltv:p>0?loanAmount/p:1};}const v=parseMoney(ans.value);const b=parseMoney(ans.balance);return{listPrice:v,downPayment:Math.max(0,v-b),downPercentage:v>0?Math.round((v-b)/v*100):0,loanAmount:b,ltv:v>0?b/v:1};}const proxyBase=()=>(endpoint||\"\").replace(/\\/rates\\/?$/,\"\").replace(/\\/$/,\"\");// Zip step: resolve county + run the licensing gate before moving on.\nasync function checkZip(){setGateError(\"\");if(!/^\\d{5}$/.test(A.zip)){setGateError(\"Enter a 5 digit zip code.\");return;}if(!endpoint||isCanvas){set(\"county\",\"your area\");next();return;}setBusy(true);try{const url=`${proxyBase()}/quote?zip=${A.zip}&loanAmount=400000&ltv=0.8&fico=740`;const res=await fetch(url).catch(()=>null);const json=res?await res.json().catch(()=>null):null;if(res&&res.status===422&&json&&json.error===\"not_licensed\"){setGateError(json.message);setBusy(false);return;}if(json&&json.location){set(\"county\",json.location.county||\"your area\");set(\"state\",json.location.state||\"\");}else{set(\"county\",\"your area\");}// v1.17: this response already carries real pricing for their\n// county. v1.17.1: ...except where the Worker can't price. Pylon\n// holds no Missouri license, so /quote returns an empty products\n// array for MO by design. Fall back to the BB marketplace, fired\n// without awaiting so it never delays the step.\nconst token=++benchToken.current;setBench(null);try{const p30=json&&Array.isArray(json.products)?json.products.find(p=>p.termYears===30):null;if(p30&&typeof p30.rate===\"number\"){setBench({rate:p30.rate,apr:p30.apr});}else if(!isCanvas){const z=A.zip;bbBenchmark(z).then(b=>{if(b&&benchToken.current===token)setBench(b);}).catch(()=>{});}}catch(e){}next();}catch(e){set(\"county\",\"your area\");next();}finally{setBusy(false);}}async function submitLead(sid){const s=scenario();const att=getAttribution();// Always include every rate-table field (null when absent) so\n// GHL's webhook mapping picker sees the keys on the first request.\nconst rtFields={};Object.keys(RT_PARAMS).forEach(k=>{const f=RT_PARAMS[k];rtFields[f]=att[f]||null;});const payload={source:\"shl-get-my-rate\",// v1.20.0: stable, opaque, one per submission. Also the Google Ads\n// transaction_id. Contains nothing about the person.\nsubmission_id:sid,submitted_at:new Date().toISOString(),page_url:typeof window!==\"undefined\"?window.location.href:\"\",first_name:firstName.trim(),last_name:lastName.trim(),email:email.trim(),phone:phone.replace(/\\D/g,\"\"),loan_purpose:isPurchase?\"purchase\":\"refinance\",property_type:A.property?A.property.value:\"\",property_type_label:A.property?A.property.label:\"\",residency_type:A.residency?A.residency.value:\"\",residency_type_label:A.residency?A.residency.label:\"\",timing:A.timing||\"\",financed_properties:A.financed||null,zip:A.zip,county:A.county,state:A.state,list_price:isPurchase?parseMoney(A.price):parseMoney(A.value),down_payment:isPurchase?parseMoney(A.down):null,mortgage_balance:isPurchase?null:parseMoney(A.balance),loan_amount:s.loanAmount,ltv_percent:Math.round(s.ltv*100),household_income:parseMoney(A.income),credit_score:A.credit,va_eligible:A.va===true?\"Yes\":\"No\",// v1.16: string, not boolean — GHL single-line fields can't hold\n// one. Always present so the mapping picker sees the key on the\n// first request; null on refinance, where we never ask.\nfirst_time_buyer:isPurchase?A.fthb===true?\"Yes\":\"No\":null,// v1.18: survey parity. Map these in the GHL inbound webhook to\n//   working_with_lo -> are_you_already_working_with_a_mortgage_\n//                      broker_at_smart_home_lending  (RADIO)\n//   loan_officer    -> which_loan_officer_are_you_working_with\n//                      (SINGLE_OPTIONS)\n//   heard_about_us  -> how_did_you_hear_about_smart_home_lending\n//                      (SINGLE_OPTIONS)\n//   heard_about_us_other -> please_tell_us_how_you_found_us\n//   referred_by     -> who_referred_you_or_sent_you_our_way\n// Values are the verbatim picklist strings; anything else is\n// dropped by GHL without an error. Every key is always present,\n// null when it does not apply, so the mapping picker sees the\n// whole set on the first request.\nworking_with_lo:A.withlo||null,loan_officer:A.withlo===\"Yes\"?A.lo||null:null,// Not a GHL field — the officer's personal 1003 link, carried so\n// an automation can send them the same URL the results screen\n// sends the visitor to.\nloan_officer_apply_url:A.withlo===\"Yes\"?loApplyUrl(A.lo)||null:null,heard_about_us:A.heard||null,heard_about_us_other:A.heard===\"Other\"?heardOther.trim()||null:null,referred_by:HEARD_REFERRAL.indexOf(A.heard)!==-1?referredBy.trim()||null:null,utm_source:att.utm_source||null,utm_medium:att.utm_medium||null,utm_campaign:att.utm_campaign||null,utm_term:att.utm_term||null,utm_content:att.utm_content||null,gclid:att.gclid||null,gbraid:att.gbraid||null,wbraid:att.wbraid||null,fbclid:att.fbclid||null,campaign_id:att.campaign_id||null,ad_group_id:att.ad_group_id||null,adset_id:att.adset_id||null,ad_id:att.ad_id||null,utm_keyword:att.utm_keyword||null,utm_matchtype:att.utm_matchtype||null,gad_campaignid:att.gad_campaignid||null,gad_source:att.gad_source||null,utm_id:att.utm_id||null,device:att.device||null,network:att.network||null,last_touch_at:att.last_touch_at||null,last_landing_page:att.last_landing_page||null,...rtFields,// v1.22.0: the rate this funnel showed them. See RATE THEY WERE\n// SHOWN. rows/priceStatus are this render's values, i.e. the\n// pricing the gate just finished for these exact answers.\n...shownRateFields(rows,priceStatus,optionCount),landing_page:att.landing_page||null,referrer:att.referrer||null,consent:{agreed:consent===true?\"Yes\":\"No\",sms_service:consent===true?\"Yes\":\"No\",sms_marketing:consentMkt===true?\"Yes\":\"No\",calls_ai_autodialed:consentCalls===true?\"Yes\":\"No\",email_service:\"Yes\",email_marketing:\"No\",text_version:CONSENT_VERSION,texts:{sms_service:CONSENT_SMS_SERVICE,sms_marketing:CONSENT_SMS_MARKETING,calls_ai_autodialed:CONSENT_CALLS}}};const leadTarget=resolveWebhook(webhookUrl);if(!leadTarget)return;// v1.20.0: the conversion is downstream of a confirmed delivery, never\n// of the click. If every retry fails the lead is queued rather than\n// dropped, and nothing is reported to Google.\nconst metaEligible=isSHLMetaAllowed();queueLead(leadTarget,payload,metaEligible);await sendQueuedLead({url:leadTarget,payload,metaEligible});}async function priceScenario(ans=A){setPriceStatus(\"loading\");setRows(null);setLadders(null);setOptionCount(0);try{const s=scenario(ans);const ficoInt=Math.min(Math.max(ans.credit,300),850);const purchase=ans.purpose!==\"refinance\";// v1.18.5: the Pylon proxy reads FOUR inputs — zip, loanAmount,\n// ltv, fico. Probed against the live Worker on 2026-09-11: adding\n// occupancy, propertyType, loanType, cashout, points, rateLockDays,\n// income or dti to the query returns byte-identical pricing, and\n// the Worker's own scenario echo confirms it ({ loanAmount,\n// ltvPercent, ficoScore, rateLockDays: 30, points: 0 }).\n//\n// So a Pylon row is ALWAYS conventional, primary residence, zero\n// points, 30 day lock. This funnel asks for occupancy and property\n// type and sends both to BankingBridge — but until now it also let\n// the unguarded Pylon row into the same ladder. On a rental or a\n// multi-unit that dropped primary-residence pricing into a\n// scenario that prices materially worse, and because it arrives at\n// zero points it is near par, so it frequently won the BEST chip\n// while being the one option nobody could actually have.\n//\n// It now competes only where its assumptions hold. BankingBridge\n// prices everything else and receives the full scenario.\nconst residencyValue=ans.residency?ans.residency.value:\"primary_home\";const propertyValue=ans.property?ans.property.value:\"single_family_home\";const pylonAssumptionsHold=residencyValue===\"primary_home\"&&propertyValue!==\"multi_unit_home\";let pylonProducts=null;if(endpoint&&pylonAssumptionsHold){const url=`${proxyBase()}/quote?zip=${ans.zip}&loanAmount=${s.loanAmount}&ltv=${Math.round(s.ltv*1e3)/1e3}&fico=${ficoInt}`;pylonProducts=await withinPricingDeadline((async()=>{const res=await fetch(url);const json=await res.json();return res.ok&&json&&Array.isArray(json.products)?json.products:null;})(),12e3);}const bbScenario={list_price:s.listPrice,loan_amount:s.loanAmount,down_payment:s.downPayment,down_percentage:s.downPercentage,credit_score:ficoInt,loan_type:\"conventional\",loan_purpose:purchase?\"purchase\":\"refinance\",residency_type:ans.residency?ans.residency.value:\"primary_home\",property_type:ans.property?ans.property.value:\"single_family_home\",zipcode:ans.zip,// v1.16: real answer instead of a hardcoded false.\nfirst_time_homebuyer:purchase&&ans.fthb===true,va_eligible:ans.va===true,cash_out:0};const bbLadders=await withinPricingDeadline(fetchBBLadders(bbScenario),6e4);const out=[];// v1.14: keep the whole ladder per term, not just the winner.\nconst lad={};let count=0;TERMS.forEach(t=>{const py=pylonProducts?pylonProducts.find(p=>p.termYears===t):null;const bbList=bbLadders?bbLadders[t]:null;const full=mergeLadder(py,bbList);const best=bestPerTerm(py,bbList);if(best)out.push({term:t,label:TERM_LABELS[t],rate:best.rate,apr:best.apr,pts:best.pts,monthly:Math.round(monthlyPI(s.loanAmount,best.rate,t)),quote_id:best.quote_id||null,hash:best.hash||null});if(full&&full.length){lad[t]=full.map(o=>({term:t,label:TERM_LABELS[t],rate:o.rate,apr:o.apr,pts:o.pts,monthly:Math.round(monthlyPI(s.loanAmount,o.rate,t)),quote_id:o.quote_id||null,hash:o.hash||null,best:!!best&&Math.abs(o.rate-best.rate)<5e-4&&Math.abs(o.pts-best.pts)<5e-4}));count+=full.length;}});if(out.length){setRows(out);setLadders(Object.keys(lad).length?lad:null);setOptionCount(count);setPriceStatus(\"ready\");}else{setLadders(null);setOptionCount(0);setPriceStatus(\"none\");}}catch(e){setPriceStatus(\"none\");}}// v1.13: open the SHL-branded printable Loan Summary for a row.\nfunction openLoanSummary(r){try{const sc=scenario();const name=(firstName.trim()+\" \"+lastName.trim()).trim();const html=loanSummaryHtml({prepared:name,dateStr:new Date().toLocaleDateString(\"en-US\",{year:\"numeric\",month:\"long\",day:\"numeric\"}),isPurchase,propertyLabel:A.property?A.property.label:\"Home\",residencyLabel:A.residency?A.residency.label:\"\",county:A.county||\"\",zip:A.zip||\"\",price:sc.listPrice,down:sc.downPayment,loan:sc.loanAmount,credit:A.credit,termLabel:r.label,rate:r.rate,apr:r.apr,pts:r.pts,monthly:r.monthly,taxesMo:sc.listPrice*.011/12,insMo:sc.listPrice*.0045/12});const w=window.open(\"\",\"_blank\");if(!w)return;w.document.write(html);w.document.close();}catch(e){}}function unlock(){// v1.22.6: contact fields remain required; service-SMS consent is optional,\n// consistent with the published privacy policy. Recheck email locally\n// even though the preceding step already validates it.\nif(!firstName.trim()||!lastName.trim()||!EMAIL_RX.test(email.trim())||phone.replace(/\\D/g,\"\").length<10)return;// v1.21.0: remember who they are, in their own browser, so a return\n// visit starts filled in. Contact fields only, never consent.\nsaveContactMemory({firstName,lastName,email,phone});setBusy(true);setUnlocked(true);// One id per submission, minted here so every retry of THIS lead —\n// including a replay out of the offline queue — reports the same\n// transaction_id to Google.\nsubmitLead(newSubmissionId());next();setBusy(false);// v1.14: pricing normally already ran at the gate, so the reveal is\n// instant. Only re-run if it never landed (failed or still idle).\nif(priceStatus!==\"ready\"&&priceStatus!==\"loading\")priceScenario();}function customize(){setDir(\"back\");setPriceStatus(\"idle\");setRows(null);setLadders(null);setOptionCount(0);const target=steps.indexOf(isPurchase?\"price\":\"value\");setStepIdx(target>=0?target:0);}// Instances placed before Aug 18 may carry the old dead terms path\n// baked into their props; route them to the real page.\nconst termsHref=!termsLink||termsLink===\"/legal/terms-of-service\"?\"/legal/terms-and-conditions\":termsLink;const emailOk=EMAIL_RX.test(email.trim());const s=scenario();// v1.17: only show a payment once they have actually passed the amount\n// step — before that the funnel is still on its defaults.\nconst pastAmount=steps.indexOf(step)>steps.indexOf(isPurchase?\"down\":\"balance\");const peekMonthly=bench&&pastAmount&&s.loanAmount>0?Math.round(monthlyPI(s.loanAmount,bench.rate,30)):null;const detailRows=[[\"Loan purpose\",isPurchase?\"Purchase\":\"Refinance\"],[\"Property type\",A.property?A.property.label:\"\"],[\"Residency type\",A.residency?A.residency.label:\"\"],...nonPrimary&&A.financed?[[\"Financed properties\",A.financed]]:[],[\"Zip code\",A.zip],[isPurchase?\"Purchase price\":\"Est. home value\",`$${fmtMoney(isPurchase?parseMoney(A.price):parseMoney(A.value))}`],isPurchase?[\"Down payment\",`$${fmtMoney(parseMoney(A.down))}`]:[\"Mortgage balance\",`$${fmtMoney(parseMoney(A.balance))}`],// v1.16: mirror the quiz order, purchase only.\n...isPurchase&&A.fthb!==null?[[\"First-time buyer\",A.fthb?\"Yes\":\"No\"]]:[],[\"Household income\",`$${fmtMoney(parseMoney(A.income))}`],[\"Credit score\",String(A.credit)]];// ---------- step content ----------\nlet content=null;if(step===\"purpose\"){content=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:28,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONT,fontSize:30,fontWeight:600,letterSpacing:\"-0.02em\",color:C.deepTeal,textAlign:\"center\"},children:\"Get your custom quote in 60 seconds.\"}),/*#__PURE__*/_jsx(Question,{children:\"What type of loan are you looking for?\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:16,flexWrap:\"wrap\",justifyContent:\"center\"},children:[/*#__PURE__*/_jsx(ChoiceCard,{label:\"Home Purchase\",icon:ICONS.purchase,onClick:()=>choose(\"purpose\",\"purchase\")}),/*#__PURE__*/_jsx(ChoiceCard,{label:\"Home Refinance\",icon:ICONS.refinance,onClick:()=>choose(\"purpose\",\"refinance\")})]}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:26,flexWrap:\"wrap\",justifyContent:\"center\",fontFamily:FONT,fontSize:13.5,color:C.textSecondary,borderTop:`1px solid ${C.border}`,paddingTop:18,width:\"100%\"},children:[\"No social or date of birth\",\"Live rates from our sources\",\"Compare multiple loan options\"].map(t=>/*#__PURE__*/_jsxs(\"span\",{style:{display:\"inline-flex\",alignItems:\"center\",gap:6},children:[/*#__PURE__*/_jsx(\"svg\",{width:\"14\",height:\"14\",viewBox:\"0 0 14 14\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M2.5 7.5 L5.5 10.5 L11.5 3.5\",fill:\"none\",stroke:C.panorama,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})}),t]},t))})]});}else if(step===\"property\"){content=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:28,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(Question,{children:\"Great! What is the property type?\"}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:14,flexWrap:\"wrap\",justifyContent:\"center\"},children:PROPERTY_OPTIONS.map(o=>/*#__PURE__*/_jsx(ChoiceCard,{label:o.label,icon:ICONS[o.value],iconTop:true,onClick:()=>choose(\"property\",o)},o.value))})]});}else if(step===\"timing\"){content=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:28,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(Question,{children:\"Where are you in the decision process?\"}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:12,width:\"100%\",maxWidth:460},children:TIMING_OPTIONS.map(t=>/*#__PURE__*/_jsx(ChoiceCard,{full:true,chevron:true,label:t,onClick:()=>choose(\"timing\",t)},t))})]});}else if(step===\"residency\"){content=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:28,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(Question,{children:\"What is the residency type?\"}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:14,flexWrap:\"wrap\",justifyContent:\"center\"},children:RESIDENCY_OPTIONS.map(o=>/*#__PURE__*/_jsx(ChoiceCard,{label:o.label,icon:ICONS[o.value],iconTop:true,onClick:()=>choose(\"residency\",o)},o.value))})]});}else if(step===\"financed\"){content=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:28,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(Question,{children:\"How many financed properties do you own, including this one?\"}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",gap:14,flexWrap:\"wrap\",justifyContent:\"center\"},children:FINANCED_OPTIONS.map(o=>/*#__PURE__*/_jsx(ChoiceCard,{label:o,onClick:()=>choose(\"financed\",o)},o))})]});}else if(step===\"zip\"){content=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:26,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(Question,{children:\"What is the zip code of the property?\"}),/*#__PURE__*/_jsx(\"input\",{value:A.zip,onChange:e=>set(\"zip\",e.target.value.replace(/\\D/g,\"\").slice(0,5)),placeholder:\"Enter zip code\",inputMode:\"numeric\",style:{...fieldStyle,maxWidth:320,fontSize:18,textAlign:\"center\"}}),gateError?/*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:FONT,fontSize:14,color:\"#8a4b2d\",background:\"#fdf1e7\",border:\"1px solid #f3ddc9\",borderRadius:10,padding:\"12px 16px\",maxWidth:460,lineHeight:1.5},children:[gateError,\" \",/*#__PURE__*/_jsx(\"a\",{href:contactLink||\"/contact\",style:{color:C.panorama,fontWeight:600},children:\"Contact Us\"}),\" \",\"and we'll point you in the right direction.\"]}):null,/*#__PURE__*/_jsx(NextButton,{onClick:checkZip,disabled:busy||A.zip.length!==5,label:busy?\"Checking Your Area…\":\"Next\",busy:busy})]});}else if(step===\"price\"){content=/*#__PURE__*/_jsx(MoneyStep,{question:\"Estimated purchase price\",value:A.price,setValue:v=>set(\"price\",v),min:1e5,max:2e6,minLabel:\"$100K\",maxLabel:\"$2M+\",onNext:next});}else if(step===\"value\"){content=/*#__PURE__*/_jsx(MoneyStep,{question:\"The estimated property value\",value:A.value,setValue:v=>set(\"value\",v),min:1e5,max:2e6,minLabel:\"$100K\",maxLabel:\"$2M+\",onNext:next});}else if(step===\"down\"){const p=parseMoney(A.price);const d=parseMoney(A.down);content=/*#__PURE__*/_jsx(MoneyStep,{question:\"Estimated down payment\",value:A.down,setValue:v=>set(\"down\",v),min:1e4,max:4e5,minLabel:\"$10K\",maxLabel:\"$400K+\",note:p>0?`Down payment: ${Math.round(d/p*100)}%`:\"\",onNext:next});}else if(step===\"balance\"){content=/*#__PURE__*/_jsx(MoneyStep,{question:\"Remaining mortgage balance\",value:A.balance,setValue:v=>set(\"balance\",v),min:5e4,max:2e6,minLabel:\"$50K\",maxLabel:\"$2M+\",onNext:next});}else if(step===\"fthb\"){// v1.16: purchase path only. v1.16.2 dropped the explanatory helper\n// line — same clean Yes/No shape as the VA question.\ncontent=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:28,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(Question,{children:\"Are you a first-time home buyer?\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:12,width:\"100%\",maxWidth:420},children:[/*#__PURE__*/_jsx(ChoiceCard,{full:true,chevron:true,label:\"Yes\",onClick:()=>choose(\"fthb\",true)}),/*#__PURE__*/_jsx(ChoiceCard,{full:true,chevron:true,label:\"No\",onClick:()=>choose(\"fthb\",false)})]})]});}else if(step===\"income\"){// v1.17: income and credit are the two steps people abandon.\ncontent=/*#__PURE__*/_jsx(MoneyStep,{question:\"Annual household income\",value:A.income,setValue:v=>set(\"income\",v),min:3e4,max:4e5,minLabel:\"$30K\",maxLabel:\"$400K+\",reassure:\"Used to match you with programs you qualify for. No pay stubs or documents needed here.\",onNext:next});}else if(step===\"credit\"){const creditOk=A.credit>=300&&A.credit<=850;content=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:26,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(Question,{children:\"Estimated credit score\"}),/*#__PURE__*/_jsx(\"div\",{className:\"shl-reassure\",children:\"Your best estimate is fine. We don't pull your credit here, so this won't affect your score.\"}),/*#__PURE__*/_jsx(\"input\",{value:A.credit?String(A.credit):\"\",onChange:e=>set(\"credit\",Number(e.target.value.replace(/\\D/g,\"\").slice(0,3))),inputMode:\"numeric\",\"aria-label\":\"Estimated credit score\",placeholder:\"700\",style:{fontFamily:FONT,fontSize:26,fontWeight:600,color:C.nearBlack,background:\"#ffffff\",border:`1.5px solid ${C.inputBorder}`,borderRadius:12,padding:\"12px 18px\",outline:\"none\",width:120,textAlign:\"center\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",maxWidth:560,display:\"flex\",flexDirection:\"column\",gap:6},children:[/*#__PURE__*/_jsx(\"input\",{type:\"range\",min:500,max:800,step:10,value:Math.min(Math.max(A.credit||500,500),800),onChange:e=>set(\"credit\",Number(e.target.value)),style:{width:\"100%\",accentColor:C.panorama,cursor:\"pointer\"}}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",fontFamily:FONT,fontSize:13,fontWeight:600,color:C.nearBlack},children:[/*#__PURE__*/_jsx(\"span\",{children:\"500\"}),/*#__PURE__*/_jsx(\"span\",{children:\"800+\"})]})]}),!creditOk&&A.credit?/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONT,fontSize:13,color:C.textSecondary},children:\"Enter a score between 300 and 850.\"}):null,/*#__PURE__*/_jsx(NextButton,{onClick:next,disabled:!creditOk})]});}else if(step===\"va\"){content=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:28,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(Question,{children:\"Have you or your spouse served in the military?\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:12,width:\"100%\",maxWidth:420},children:[/*#__PURE__*/_jsx(ChoiceCard,{full:true,chevron:true,label:\"Yes\",onClick:()=>choose(\"va\",true)}),/*#__PURE__*/_jsx(ChoiceCard,{full:true,chevron:true,label:\"No\",onClick:()=>choose(\"va\",false)})]})]});}else if(step===\"withlo\"){// v1.18: mirrors the GHL survey. Note the wording difference — the\n// published survey label still reads \"mortgage broker\"; Grant chose\n// \"loan officer\" here on Sep 10 and is updating GHL to match. The\n// underlying GHL field key is unchanged either way.\ncontent=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:28,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(Question,{children:\"Are you already working with a loan officer at Smart Home Lending?\"}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:12,width:\"100%\",maxWidth:420},children:[/*#__PURE__*/_jsx(ChoiceCard,{full:true,chevron:true,label:\"Yes\",onClick:()=>choose(\"withlo\",\"Yes\")}),/*#__PURE__*/_jsx(ChoiceCard,{full:true,chevron:true,label:\"No\",onClick:()=>choose(\"withlo\",\"No\")})]})]});}else if(step===\"whichlo\"){content=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:22,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(Question,{children:\"Which loan officer are you working with?\"}),/*#__PURE__*/_jsx(\"div\",{className:\"shl-reassure\",children:\"We'll keep your file with them — this won't hand you off to someone new.\"}),/*#__PURE__*/_jsx(LoPicker,{onPick:n=>choose(\"lo\",n)})]});}else if(step===\"heard\"){content=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:24,alignItems:\"center\"},children:[/*#__PURE__*/_jsx(Question,{children:\"How did you hear about Smart Home Lending?\"}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:9,width:\"100%\",maxWidth:470},children:HEARD_OPTIONS.map(o=>/*#__PURE__*/_jsx(ChoiceCard,{full:true,chevron:true,compact:true,label:o,onClick:()=>choose(\"heard\",o)},o))})]});}else if(step===\"heardother\"){content=/*#__PURE__*/_jsx(TextStep,{question:\"Please tell us how you found us\",value:heardOther,setValue:setHeardOther,placeholder:\"E.g. word of mouth, flyer, etc.\",onNext:next});}else if(step===\"referrer\"){content=/*#__PURE__*/_jsx(TextStep,{question:\"Who referred you or sent you our way?\",value:referredBy,setValue:setReferredBy,placeholder:\"First and last name\",note:\"So we can thank them.\",onNext:next});}else if(step===\"gate\"||step===\"contact\"){const gatePanel=step===\"gate\"?/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:16},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONT,fontSize:15,fontWeight:600,color:C.nearBlack,textAlign:\"center\"},children:\"Free and complete access in seconds\"}),/*#__PURE__*/_jsx(\"input\",{value:email,onChange:e=>setEmail(e.target.value),placeholder:\"Enter your email\",inputMode:\"email\",style:fieldStyle}),remembered?/*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:FONT,fontSize:12.5,color:C.textSecondary,textAlign:\"center\",marginTop:-6},children:[firstName.trim()?\"Welcome back, \"+firstName.trim()+\".\":\"Welcome back.\",\" \",/*#__PURE__*/_jsx(\"button\",{type:\"button\",onClick:forgetMe,style:{background:\"none\",border:\"none\",padding:0,font:\"inherit\",color:C.panorama,textDecoration:\"underline\",cursor:\"pointer\"},children:\"Not you?\"})]}):null,/*#__PURE__*/_jsx(NextButton,{onClick:next,disabled:!emailOk,label:\"Continue\"}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONT,fontSize:12.5,color:C.textSecondary,textAlign:\"center\"},children:\"No SSN required\"})]}):/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:14},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:12,flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsx(\"input\",{value:firstName,onChange:e=>setFirstName(e.target.value),placeholder:\"First Name\",style:{...fieldStyle,flex:\"1 1 140px\",width:\"auto\"}}),/*#__PURE__*/_jsx(\"input\",{value:lastName,onChange:e=>setLastName(e.target.value),placeholder:\"Last Name\",style:{...fieldStyle,flex:\"1 1 140px\",width:\"auto\"}})]}),/*#__PURE__*/_jsx(\"input\",{value:phone,onChange:e=>setPhone(e.target.value.replace(/[^\\d() -]/g,\"\").slice(0,16)),placeholder:\"Enter valid phone\",inputMode:\"tel\",style:fieldStyle}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:12},children:[/*#__PURE__*/_jsx(ConsentRow,{checked:consent,onChange:setConsent,text:CONSENT_SMS_SERVICE}),/*#__PURE__*/_jsx(ConsentRow,{checked:consentMkt,onChange:setConsentMkt,text:CONSENT_SMS_MARKETING}),/*#__PURE__*/_jsx(ConsentRow,{checked:consentCalls,onChange:setConsentCalls,text:CONSENT_CALLS})]}),/*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:FONT,fontSize:11.5,lineHeight:1.55,color:C.textSecondary},children:['Clicking \"Unlock & View My Options\" provides your electronic signature for any consents you selected above and confirms Smart Home Lending LLC may email you about your inquiry. NMLS #2140357.',\" \",/*#__PURE__*/_jsx(\"a\",{href:privacyLink||\"/legal/privacy-policy\",style:{color:C.panorama},children:\"Privacy Policy\"}),\" \",\"|\",\" \",/*#__PURE__*/_jsx(\"a\",{href:termsHref,style:{color:C.panorama},children:\"Terms and Conditions\"})]}),/*#__PURE__*/_jsx(NextButton,{onClick:unlock,disabled:busy||!firstName.trim()||!lastName.trim()||!EMAIL_RX.test(email.trim())||phone.replace(/\\D/g,\"\").length<10,label:\"Unlock & View My Options\"})]});// v1.14 reveal gate.\nconst revealReady=priceStatus===\"ready\"&&optionCount>0;// v1.15: while the search is running we ask for NOTHING.\nconst searching=step===\"gate\"&&!isCanvas&&(priceStatus===\"loading\"||priceStatus===\"idle\");const revealHeadline=revealReady?/*#__PURE__*/_jsxs(_Fragment,{children:[\"You have \",/*#__PURE__*/_jsxs(\"strong\",{children:[optionCount,\" mortgage options\"]}),\" that are ready for your review!\"]}):searching?/*#__PURE__*/_jsx(_Fragment,{children:\"Searching our lender marketplace for your scenario…\"}):/*#__PURE__*/_jsx(_Fragment,{children:\"We'll help you find the home loan options that fit your needs.\"});const searchPanel=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:18,padding:\"6px 0 2px\"},children:[/*#__PURE__*/_jsx(\"div\",{className:\"shl-searchring\",children:/*#__PURE__*/_jsxs(\"svg\",{width:\"22\",height:\"22\",viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"circle\",{cx:\"11\",cy:\"11\",r:\"6.5\",stroke:C.panorama,strokeWidth:\"2\"}),/*#__PURE__*/_jsx(\"path\",{d:\"M16 16l4.5 4.5\",stroke:C.panorama,strokeWidth:\"2\",strokeLinecap:\"round\"})]})}),/*#__PURE__*/_jsx(\"div\",{className:\"shl-searchbar\",children:/*#__PURE__*/_jsx(\"i\",{})}),/*#__PURE__*/_jsx(\"div\",{className:\"shl-searchmsg\",style:{fontFamily:FONT,fontSize:14.5,fontWeight:600,color:C.nearBlack,textAlign:\"center\",minHeight:20},children:SEARCH_STEPS[searchIdx]},searchIdx),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONT,fontSize:12.5,lineHeight:1.5,color:C.textSecondary,textAlign:\"center\",maxWidth:320},children:\"Hang tight, this takes a moment. We're pricing your scenario against live wholesale pricing from our lender marketplace.\"})]});const blurRows=revealReady?TERMS.filter(t=>ladders[t]).map(t=>ladders[t]).reduce((a,b)=>a.concat(b),[]).slice(0,8):null;content=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:22,flexWrap:\"wrap\",alignItems:\"flex-start\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{flex:\"1 1 250px\",maxWidth:340,background:C.deepTeal,borderRadius:18,padding:\"22px 22px 18px\",color:\"#ffffff\",fontFamily:FONT},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontSize:17,fontWeight:600,marginBottom:14},children:\"Your selected details\"}),detailRows.map(([k,v])=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",gap:10,fontSize:13.5,padding:\"9px 0\",borderBottom:\"1px solid rgba(247,247,247,0.15)\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:\"rgba(247,247,247,0.6)\"},children:k}),/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:600},children:v})]},k)),/*#__PURE__*/_jsx(\"button\",{onClick:()=>{setDir(\"back\");setStepIdx(0);},style:{marginTop:14,background:\"transparent\",border:\"none\",color:C.glacier,fontFamily:FONT,fontSize:14,fontWeight:600,cursor:\"pointer\",padding:0},children:\"Edit Details\"})]}),/*#__PURE__*/_jsxs(\"div\",{style:{flex:\"2 1 320px\",display:\"flex\",flexDirection:\"column\",gap:12},children:[revealReady?/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",justifyContent:\"center\"},children:/*#__PURE__*/_jsxs(\"span\",{className:\"shl-livepill\",children:[/*#__PURE__*/_jsx(\"span\",{className:\"shl-livedot\"}),\"LIVE RATES\"]})}):null,/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONT,fontSize:24,fontWeight:600,lineHeight:1.25,letterSpacing:\"-0.02em\",color:C.deepTeal,textAlign:\"center\"},children:revealHeadline}),/*#__PURE__*/_jsxs(\"div\",{className:\"shl-reveal\",style:{minHeight:step===\"gate\"?330:0},children:[revealReady?/*#__PURE__*/_jsx(Confetti,{}):null,/*#__PURE__*/_jsx(\"div\",{className:\"shl-reveal-bg\"+(step===\"contact\"?\" shl-reveal-bg-abs\":\"\"),\"aria-hidden\":\"true\",children:/*#__PURE__*/_jsxs(\"table\",{style:{width:\"100%\",borderCollapse:\"collapse\",fontFamily:FONT,fontSize:13.5},children:[/*#__PURE__*/_jsx(\"thead\",{children:/*#__PURE__*/_jsx(\"tr\",{children:[\"Mortgage term\",\"Interest rate\",\"Points\",\"Mo. payment\"].map(h=>/*#__PURE__*/_jsx(\"th\",{style:{textAlign:\"left\",fontSize:10.5,fontWeight:600,letterSpacing:\"0.05em\",textTransform:\"uppercase\",color:C.textSecondary,padding:\"6px 8px\",borderBottom:`1px solid ${C.border}`},children:h},h))})}),/*#__PURE__*/_jsx(\"tbody\",{children:(blurRows||[0,1,2,3,4,5,6,7]).map((r,i)=>/*#__PURE__*/_jsxs(\"tr\",{children:[/*#__PURE__*/_jsx(\"td\",{style:{padding:\"10px 8px\",fontWeight:600,color:C.nearBlack,borderBottom:`1px solid ${C.border}`},children:blurRows?r.label:/*#__PURE__*/_jsx(\"span\",{className:\"shl-skel\",style:{display:\"block\",width:92}})}),/*#__PURE__*/_jsx(\"td\",{style:{padding:\"10px 8px\",fontWeight:600,color:C.panorama,borderBottom:`1px solid ${C.border}`},children:blurRows?fmtPct(r.rate):/*#__PURE__*/_jsx(\"span\",{className:\"shl-skel\",style:{display:\"block\",width:60}})}),/*#__PURE__*/_jsx(\"td\",{style:{padding:\"10px 8px\",color:C.nearBlack,borderBottom:`1px solid ${C.border}`},children:blurRows?fmtPts(r.pts):/*#__PURE__*/_jsx(\"span\",{className:\"shl-skel\",style:{display:\"block\",width:48}})}),/*#__PURE__*/_jsx(\"td\",{style:{padding:\"10px 8px\",color:C.nearBlack,borderBottom:`1px solid ${C.border}`},children:blurRows?`$${r.monthly.toLocaleString(\"en-US\")}`:/*#__PURE__*/_jsx(\"span\",{className:\"shl-skel\",style:{display:\"block\",width:66}})})]},i))})]})}),/*#__PURE__*/_jsx(\"div\",{className:\"shl-reveal-card\"+(step===\"contact\"?\" shl-reveal-card-flow\":\"\"),children:/*#__PURE__*/_jsxs(\"div\",{style:{position:\"relative\",background:\"#ffffff\",border:`1px solid ${C.border}`,borderRadius:16,padding:\"26px 24px 22px\",boxShadow:\"0 10px 34px rgba(24,24,24,0.13)\",width:\"100%\",boxSizing:\"border-box\"},children:[searching?null:/*#__PURE__*/_jsx(\"span\",{className:\"shl-lockbadge\",children:/*#__PURE__*/_jsxs(\"svg\",{width:\"17\",height:\"17\",viewBox:\"0 0 24 24\",fill:\"none\",\"aria-hidden\":\"true\",children:[/*#__PURE__*/_jsx(\"rect\",{x:\"4.5\",y:\"10.5\",width:\"15\",height:\"10\",rx:\"2.5\",fill:C.panorama}),/*#__PURE__*/_jsx(\"path\",{d:\"M8 10.5V7.5a4 4 0 1 1 8 0v3\",stroke:C.panorama,strokeWidth:\"2\",strokeLinecap:\"round\"})]})}),searching?searchPanel:gatePanel]})})]})]})]});}else if(step===\"results\"){// v1.14: every priced option, grouped by term, best rate first.\nconst termGroups=ladders?TERMS.filter(t=>ladders[t]&&ladders[t].length).map(t=>({term:t,label:TERM_LABELS[t],opts:ladders[t]})):rows?rows.map(r=>({term:r.term,label:r.label,opts:[{...r,best:true}]})):[];content=/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:22},children:[/*#__PURE__*/_jsxs(\"div\",{style:{textAlign:\"center\",display:\"flex\",flexDirection:\"column\",gap:8},children:[/*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:FONT,fontSize:26,fontWeight:600,letterSpacing:\"-0.02em\",color:C.deepTeal},children:[\"Congrats\",firstName?` ${firstName.trim()}`:\"\",\"! Your personalized rates are ready.\"]}),/*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:FONT,fontSize:15.5,color:C.textSecondary,lineHeight:1.5},children:[optionCount>0?`All ${optionCount} options below were priced live for your exact scenario across our lending sources. `:\"Priced live for your exact scenario from our lending sources. \",\"Customize your details anytime, and when you're ready, apply online or give us a call. We're here whenever you need us.\"]})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",gap:12,justifyContent:\"center\",flexWrap:\"wrap\"},children:[/*#__PURE__*/_jsx(\"a\",{href:(A.withlo===\"Yes\"?loApplyUrl(A.lo):\"\")||applyLink||\"/apply\",className:\"shl-cta\",style:{fontFamily:FONT,fontSize:15,fontWeight:600,background:C.panorama,color:\"#ffffff\",borderRadius:999,padding:\"13px 34px\",textDecoration:\"none\"},children:\"Apply Now\"}),/*#__PURE__*/_jsx(\"button\",{onClick:customize,className:\"shl-cta\",style:{fontFamily:FONT,fontSize:15,fontWeight:600,background:\"#ffffff\",color:C.nearBlack,border:`1.5px solid ${C.inputBorder}`,borderRadius:999,padding:\"13px 34px\",cursor:\"pointer\"},children:\"Customize This Rate\"}),/*#__PURE__*/_jsx(\"a\",{href:contactLink||\"/contact\",className:\"shl-cta\",style:{fontFamily:FONT,fontSize:15,fontWeight:600,background:\"#ffffff\",color:C.nearBlack,border:`1.5px solid ${C.inputBorder}`,borderRadius:999,padding:\"13px 34px\",textDecoration:\"none\"},children:\"Contact Us\"})]}),priceStatus===\"loading\"?/*#__PURE__*/_jsxs(\"div\",{style:{background:C.fog,borderRadius:12,padding:\"22px 20px\",display:\"flex\",flexDirection:\"column\",alignItems:\"center\",gap:16},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",alignItems:\"center\",gap:10,fontFamily:FONT,fontSize:14.5,color:C.textSecondary},children:[/*#__PURE__*/_jsx(\"span\",{className:\"shl-spin shl-spin-teal\"}),\"Shopping our live pricing sources for your scenario…\"]}),/*#__PURE__*/_jsxs(\"div\",{style:{width:\"100%\",maxWidth:520,display:\"flex\",flexDirection:\"column\",gap:10},children:[/*#__PURE__*/_jsx(\"div\",{className:\"shl-skel\",style:{width:\"100%\"}}),/*#__PURE__*/_jsx(\"div\",{className:\"shl-skel\",style:{width:\"88%\"}}),/*#__PURE__*/_jsx(\"div\",{className:\"shl-skel\",style:{width:\"94%\"}})]})]}):null,priceStatus===\"ready\"&&rows?/*#__PURE__*/_jsxs(\"div\",{style:{background:\"#ffffff\",border:`1px solid ${C.border}`,borderRadius:16,padding:\"20px 22px\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONT,fontSize:16,fontWeight:600,color:C.nearBlack,marginBottom:4},children:optionCount>0?`All ${optionCount} of your live options \\xb7 ${A.county||\"your area\"}`:`Your live options \\xb7 ${A.county||\"your area\"}`}),/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONT,fontSize:13,color:C.textSecondary,marginBottom:14,lineHeight:1.5},children:\"A lower rate costs more in discount points up front; a lender credit lowers your closing costs for a higher rate. The option we'd quote you first is marked BEST.\"}),/*#__PURE__*/_jsx(\"div\",{className:\"shl-rates-table\",style:{overflowX:\"auto\"},children:/*#__PURE__*/_jsxs(\"table\",{style:{width:\"100%\",borderCollapse:\"collapse\",fontFamily:FONT,fontSize:14.5,minWidth:480},children:[/*#__PURE__*/_jsx(\"thead\",{children:/*#__PURE__*/_jsx(\"tr\",{children:[\"Mortgage term\",\"Interest rate\",\"APR\",\"Points\",\"Mo. payment\",\"\"].map(h=>/*#__PURE__*/_jsx(\"th\",{style:{textAlign:\"left\",fontSize:12,fontWeight:600,letterSpacing:\"0.04em\",textTransform:\"uppercase\",color:C.textSecondary,padding:\"8px 10px\",borderBottom:`1px solid ${C.border}`},children:h},h))})}),/*#__PURE__*/_jsx(\"tbody\",{children:termGroups.map(g=>/*#__PURE__*/_jsxs(Fragment,{children:[/*#__PURE__*/_jsx(\"tr\",{className:\"shl-ladder-term\",children:/*#__PURE__*/_jsxs(\"td\",{colSpan:6,style:{padding:\"9px 10px\",fontSize:12,fontWeight:700,letterSpacing:\"0.04em\",textTransform:\"uppercase\",color:C.deepTeal,borderBottom:`1px solid ${C.border}`},children:[g.label,\" \\xb7 \",g.opts.length,\" \",g.opts.length===1?\"option\":\"options\"]})}),g.opts.map((r,i)=>/*#__PURE__*/_jsxs(\"tr\",{style:r.best?{background:\"rgba(226,244,245,0.5)\"}:null,children:[/*#__PURE__*/_jsxs(\"td\",{style:{padding:\"12px 10px\",fontWeight:600,color:C.nearBlack,borderBottom:`1px solid ${C.border}`},children:[r.label,r.best?/*#__PURE__*/_jsx(\"span\",{className:\"shl-bestchip\",children:\"BEST\"}):null]}),/*#__PURE__*/_jsx(\"td\",{style:{padding:\"12px 10px\",fontWeight:600,color:C.panorama,borderBottom:`1px solid ${C.border}`},children:fmtPct(r.rate)}),/*#__PURE__*/_jsx(\"td\",{style:{padding:\"12px 10px\",color:C.nearBlack,borderBottom:`1px solid ${C.border}`},children:fmtPct(r.apr)}),/*#__PURE__*/_jsx(\"td\",{style:{padding:\"12px 10px\",color:C.nearBlack,borderBottom:`1px solid ${C.border}`},children:fmtPts(r.pts)}),/*#__PURE__*/_jsxs(\"td\",{style:{padding:\"12px 10px\",color:C.nearBlack,borderBottom:`1px solid ${C.border}`},children:[\"$\",r.monthly.toLocaleString(\"en-US\")]}),/*#__PURE__*/_jsx(\"td\",{style:{padding:\"12px 10px\",borderBottom:`1px solid ${C.border}`,textAlign:\"right\"},children:/*#__PURE__*/_jsx(\"button\",{onClick:()=>openLoanSummary(r),style:{fontFamily:FONT,fontSize:13,fontWeight:600,color:C.panorama,background:\"transparent\",border:\"none\",cursor:\"pointer\",padding:0,textDecoration:\"underline\",whiteSpace:\"nowrap\"},children:\"Quote PDF\"})})]},g.term+\"-\"+i))]},g.term))})]})}),/*#__PURE__*/_jsx(\"div\",{className:\"shl-rates-cards\",children:termGroups.map(g=>/*#__PURE__*/_jsxs(Fragment,{children:[/*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:FONT,fontSize:12,fontWeight:700,letterSpacing:\"0.04em\",textTransform:\"uppercase\",color:C.deepTeal,padding:\"6px 2px 2px\"},children:[g.label,\" \\xb7 \",g.opts.length,\" \",g.opts.length===1?\"option\":\"options\"]}),g.opts.map((r,i)=>/*#__PURE__*/_jsxs(\"div\",{style:{border:r.best?`1.5px solid ${C.inputBorder}`:`1px solid ${C.border}`,background:r.best?\"rgba(226,244,245,0.4)\":\"#ffffff\",borderRadius:12,padding:\"14px 16px\"},children:[/*#__PURE__*/_jsxs(\"div\",{style:{fontFamily:FONT,fontSize:15,fontWeight:600,color:C.nearBlack,marginBottom:10},children:[r.label,r.best?/*#__PURE__*/_jsx(\"span\",{className:\"shl-bestchip\",children:\"BEST\"}):null]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",gap:10},children:[/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:2},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:FONT,fontSize:10.5,fontWeight:600,letterSpacing:\"0.05em\",textTransform:\"uppercase\",color:C.textSecondary},children:\"Rate\"}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:FONT,fontSize:16.5,fontWeight:600,color:C.panorama},children:fmtPct(r.rate)}),Math.abs(r.pts)>=.005?/*#__PURE__*/_jsxs(\"span\",{style:{fontFamily:FONT,fontSize:11,color:C.textSecondary},children:[fmtPts(r.pts),\" pts\"]}):null]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:2},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:FONT,fontSize:10.5,fontWeight:600,letterSpacing:\"0.05em\",textTransform:\"uppercase\",color:C.textSecondary},children:\"APR\"}),/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:FONT,fontSize:16.5,fontWeight:600,color:C.nearBlack},children:fmtPct(r.apr)})]}),/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",flexDirection:\"column\",gap:2,textAlign:\"right\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{fontFamily:FONT,fontSize:10.5,fontWeight:600,letterSpacing:\"0.05em\",textTransform:\"uppercase\",color:C.textSecondary},children:\"Mo. Payment\"}),/*#__PURE__*/_jsxs(\"span\",{style:{fontFamily:FONT,fontSize:16.5,fontWeight:600,color:C.nearBlack},children:[\"$\",r.monthly.toLocaleString(\"en-US\")]})]})]}),/*#__PURE__*/_jsx(\"button\",{onClick:()=>openLoanSummary(r),style:{fontFamily:FONT,fontSize:13,fontWeight:600,color:C.panorama,background:\"transparent\",border:\"none\",cursor:\"pointer\",padding:0,marginTop:10,textDecoration:\"underline\"},children:\"Download Quote PDF\"})]},g.term+\"-\"+i))]},g.term))})]}):null,priceStatus===\"none\"?/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONT,fontSize:14.5,color:C.textSecondary,textAlign:\"center\",background:C.fog,borderRadius:12,padding:\"18px 20px\",lineHeight:1.55},children:\"We couldn't price that exact scenario automatically, so our team will price it by hand and reach out with your options.\"}):null,/*#__PURE__*/_jsxs(\"div\",{style:{background:\"#ffffff\",border:`1px solid ${C.border}`,borderRadius:16,padding:\"20px 22px\"},children:[/*#__PURE__*/_jsx(\"div\",{style:{fontFamily:FONT,fontSize:16,fontWeight:600,color:C.nearBlack,marginBottom:12},children:\"Your loan scenario\"}),/*#__PURE__*/_jsx(\"div\",{style:{display:\"flex\",flexWrap:\"wrap\",gap:\"0 34px\"},children:detailRows.concat([[\"VA eligible\",A.va?\"Yes\":\"No\"]]).map(([k,v])=>/*#__PURE__*/_jsxs(\"div\",{style:{display:\"flex\",justifyContent:\"space-between\",gap:12,fontFamily:FONT,fontSize:13.5,padding:\"8px 0\",borderBottom:`1px solid ${C.border}`,flex:\"1 1 260px\"},children:[/*#__PURE__*/_jsx(\"span\",{style:{color:C.textSecondary},children:k}),/*#__PURE__*/_jsx(\"span\",{style:{fontWeight:600,color:C.nearBlack},children:v})]},k))})]}),/*#__PURE__*/_jsx(\"p\",{style:{margin:0,fontFamily:FONT,fontSize:11.5,lineHeight:1.6,color:C.textSecondary},children:\"The figures above are based on the information you provided and calculate your loan to value ratio accordingly. The interest rate, APR, and payment amount may vary based on the specific terms of the loan selected, verification of information, your credit history, the location and type of property, and other factors. Rates are subject to change without notice. Rates shown are live options across our pricing sources at the discount points listed for each; a lower rate costs more in discount points up front, and a lender credit lowers closing costs in exchange for a higher rate. Payments shown are principal and interest only and do not include taxes and insurance, which will result in higher monthly payments. Borrowers making a down payment of less than 20% may require mortgage insurance, which could increase the monthly payment and APR. This is not a credit decision or a commitment to lend. Smart Home Lending LLC, NMLS #2140357. Equal Housing Opportunity.\"})]});}return /*#__PURE__*/_jsxs(\"div\",{className:\"shl-funnel\",style:{...style,width:\"100%\",fontFamily:FONT,background:\"#ffffff\",border:`1px solid ${C.border}`,borderRadius:24,padding:\"18px 26px 30px\",display:\"flex\",flexDirection:\"column\",gap:18,boxSizing:\"border-box\"},children:[/*#__PURE__*/_jsx(\"style\",{dangerouslySetInnerHTML:{__html:FUNNEL_CSS}}),step!==\"results\"?/*#__PURE__*/_jsx(PhaseBar,{steps:steps,step:step}):null,step!==\"results\"&&bench?/*#__PURE__*/_jsx(RatePeek,{bench:bench,county:A.county,monthly:peekMonthly}):null,stepIdx>0&&step!==\"results\"?/*#__PURE__*/_jsx(\"button\",{onClick:back,\"aria-label\":\"Back\",style:{alignSelf:\"flex-start\",background:\"transparent\",border:\"none\",cursor:\"pointer\",padding:4},children:/*#__PURE__*/_jsx(\"svg\",{width:\"22\",height:\"22\",viewBox:\"0 0 22 22\",children:/*#__PURE__*/_jsx(\"path\",{d:\"M14 4 L7 11 L14 18\",fill:\"none\",stroke:C.nearBlack,strokeWidth:\"2\",strokeLinecap:\"round\",strokeLinejoin:\"round\"})})}):null,/*#__PURE__*/_jsx(\"div\",{className:\"shl-step\"+(dir===\"back\"?\" shl-back\":\"\"),style:{padding:\"6px 4px 0\"},children:content},stepIdx)]});}GetMyRateFunnel.defaultProps={endpoint:\"\",webhookUrl:\"\",applyLink:\"/apply\",contactLink:\"/contact\",privacyLink:\"/legal/privacy-policy\",termsLink:\"/legal/terms-and-conditions\"};addPropertyControls(GetMyRateFunnel,{endpoint:{type:ControlType.String,title:\"Proxy Base URL\",placeholder:\"https://…workers.dev\",defaultValue:\"\"},webhookUrl:{type:ControlType.String,title:\"Lead Webhook\",// Leave blank to post to the current CRM (LEAD_WEBHOOK). Set a URL\n// here only to override that for one instance. A retired URL is\n// rewritten to the current one — see RETIRED_WEBHOOKS.\nplaceholder:\"blank = live CRM\",defaultValue:\"\"},applyLink:{type:ControlType.String,title:\"Apply Link\",defaultValue:\"/apply\"},contactLink:{type:ControlType.String,title:\"Contact Link\",defaultValue:\"/contact\"},privacyLink:{type:ControlType.String,title:\"Privacy Link\",defaultValue:\"/legal/privacy-policy\"},termsLink:{type:ControlType.String,title:\"Terms Link\",defaultValue:\"/legal/terms-and-conditions\"}});\nexport const __FramerMetadata__ = {\"exports\":{\"default\":{\"type\":\"reactComponent\",\"name\":\"GetMyRateFunnel\",\"slots\":[],\"annotations\":{\"framerContractVersion\":\"1\"}},\"__FramerMetadata__\":{\"type\":\"variable\"}}}\n//# sourceMappingURL=./GetMyRateFunnel.map"],"mappings":"A,6WAgSwH,SAAS0B,GAAe,EAAI,CAAC,IAAMC,EAAE,OAAOC,GAAM,SAASA,EAAI,KAAK,EAAE,GAAqF,MAA/E,CAACD,GAAyBE,GAAiB,QAAQF,CAAC,IAAI,GAAUG,GAAoBH,CAAE,CA2DzL,SAASI,EAAiB,EAAE,CAAC,OAAO,OAAOC,GAAI,SAASA,EAAE,KAAK,CAAC,CAAC,MAAM,EAAEC,CAAiB,EAAE,EAAG,CAAC,SAASC,GAAkB,EAAE,CAAC,OAAOH,EAAiBC,CAAC,CAAC,CAAC,QAAQ,aAAa,EAAE,CAAC,CAAC,MAAM,EAAE,EAAE,CAAE,CAAC,SAASG,IAAoB,CAAC,GAAG,CAAWpB,IAAS,QAAYA,EAAO,aAAa,WAAWqB,CAAkB,CAAE,MAAS,CAAC,CAAC,CAAC,SAASC,IAAmB,CAAC,GAAG,CAAC,GAAUtB,IAAS,OAAY,OAAO,KAAK,IAAMuB,EAAIvB,EAAO,aAAa,QAAQqB,CAAkB,EAAE,GAAG,CAACE,EAAI,OAAO,KAAK,IAAMC,EAAE,KAAK,MAAMD,CAAG,EAAE,GAAG,CAACC,GAAG,OAAOA,GAAI,UAAUA,EAAE,IAAI,EAAE,OAAO,KAAK,IAAMC,EAAI,KAAK,IAAI,EAAE,OAAOD,EAAE,OAAO,EAAE,GAAG,EAAEC,GAAK,IAAIA,EAAIC,EAAoB,MAA4B,OAArBN,GAAmB,EAAS,KAAM,IAAMO,EAAMX,EAAiBQ,EAAE,KAAK,EAAQI,EAAMT,GAAkBK,EAAE,KAAK,EAAQK,EAAI,CAAC,UAAUb,EAAiBQ,EAA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