/* growform client2 bundle.url: https://assets.growform.co/6da80be-mkl9dpd0/form.bundle.js resolve.source: kv resolve.at: 2026-01-30T02:27:29.613Z form.source: api cache.age_ms: 0 kv.value_present: true fallback_used: false */ ;(function () { var EMBED_TYPE = "iFrame"; var FORM_ID = "697bc08ecc5b98a698afd289"; var FORM_BUNDLE_URL = "https://assets.growform.co/6da80be-mkl9dpd0/form.bundle.js"; // injected by worker (KV/memory/fallback) var FORM_DATA = {"data":{"form":{"_id":"697bc08ecc5b98a698afd289","options":{"numberOfSteps":7,"dateFormat":"DD/MM/YYYY","progressBar":{"enable":true,"hideOnFirstStep":false},"continueButton":{"continueText":"Next","submitText":"Next","backText":"Go to previous step"},"customStyles":{"width":{"unit":"px","value":500},"parentContainerMinHeight":{"value":0,"unit":"px"},"parentBackgroundImage":{"imageInitialHeight":900,"imageInitialWidth":1800,"imageHeight":900,"imageWidth":1800,"imageUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1597394891/uploads/sbsnhuvt2wc0uyvwvgab.jpg"},"headerMarginTop":40,"parentBackgroundColor":"#ffffff","innerFormBackgroundColor":"#ffffff","innerFormBackgroundTransparency":"","primaryColor":"#000000","bodyTextColor":"#000000","parentContainerBackgroundType":"none","innerFormBackgroundType":"none","buttonBorderColor":"#ff914d","buttonColorSelected":"#f0faff","buttonBorderColorSelected":"#ff914d","footerMarginBottom":70,"errorColor":"#ff4e4e","buttonColor":"#F8F8F8","buttonTextColor":"#000000","inputLabelColor":" #a3a3a3","inputTextColor":"#000000","inputBackgroundColor":"#F8F8F8","continueButtonColor":"#000000","continueButtonTextColor":"#ffffff","showShadows":"No","continueSubmitButtonFont":"Poppins","continueSubmitButtonFontSize":14,"rt_buttonFont":"Poppins","sq_buttonFont":"Poppins","defaultFont":"Poppins"},"localization":{"dateFormat":"MM/DD/YYYY"},"exportTransparentBackground":false,"customScript":"","actionOnSubmit":"redirect","customRedirectUrl":"https://www.dealerhop.com/app-done","sendCustomRedirectQueryParams":false,"customRedirectUrls":[{"url":"https://www.shifter.ca/application?utm_source=Organic","conditionalLogic":{"ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"buttons_986137671516711","operator":"selected_option","criteria":"91b511bce6485ced063a37f3"}]}]}},{"url":"https://www.shifter.ca/powersports?utm_source=Organic","conditionalLogic":{"ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"buttons_986137671516711","operator":"selected_option","criteria":"fa5c5779bdd653906ac5b420"}]}]}},{"url":"https://www.shifter.ca/application?utm_source=Organic","conditionalLogic":{"ruleBlocks":[{"sortOrder":0,"rules":[{"observedField":"buttons_986137671516711","operator":"selected_option","criteria":"f2491ddefd69d98035f5f0e2"}]}]}},{"url":"https://www.shifter.ca/refinance?utm_source=Organic","conditionalLogic":null}]},"fields":{"decorative paragraph_799257360840766":{"type":"Decorative Paragraph","value":"","width":12,"step":"complete","sortOrder":1,"stepId":"complete"},"buttons_986137671516711":{"type":"Buttons","validationRules":{"required":true},"label":"What are you looking for?","width":12,"multiple":false,"buttonStyle":{"buttonsPerRow":"2","height":123,"buttonsType":"Rectangle","sq_buttonsPerRow":"2","sq_buttonsPerRowMobile":"1","spacing":10,"rt_buttonsPerRow":"1"},"options":[{"text":"Finance a Car","id":"91b511bce6485ced063a37f3","image":null},{"text":"Trade My Car","image":null,"id":"f2491ddefd69d98035f5f0e2"},{"text":"Powersports","image":null,"id":"fa5c5779bdd653906ac5b420"},{"text":"Car Refinancing","image":null,"id":"20be62f9e68dd8c2f00c56e9"}],"stepId":"c70d610288df03d719dc57e3","sortOrder":1,"hideLabel":false,"imageStyles":{"width":108,"size":"75%","rt_width":67}}},"ownedByUser":"61c05065a8e73b0021b84962","formName":"Shifter - Organic (Logic)","personalisation":{"form_related_to":"(None - Start with a blank slate)"},"lastEdited":"2026-01-29T20:26:39.397Z","created":"2026-01-29T20:18:22.569Z","steps":[{"id":"c70d610288df03d719dc57e3","name":"Direction","sortOrder":1}],"screenshotUrl":"https://res.cloudinary.com/dqnjggegp/image/upload/v1769717982/growform-production/form-screenshots/697bc08ecc5b98a698afd289.png","leadsCount":30,"isActive":true,"reportedSpam":null,"spamOcr":"What are you looking for?\nFinance a Car\n○ Trade My Car\n○ Powersports\n○ Car Refinancing What are you looking for ? Finance a Car ○ Trade My Car ○ Powersports ○ Car Refinancing","__v":0},"accountIsActive":true,"accountIsFreeTrial":false}}; // ---- Utils ---- function safeJSONStringify(obj) { return JSON.stringify(obj) .replace(/<\/(script|style)/gi, '<\\/$1') .replace(//g, '--\\>') .replace(/\u2028/g, '\\u2028') .replace(/\u2029/g, '\\u2029'); } function preloadScript(href) { try { if (!href) return; if (document.querySelector('link[rel="preload"][href="' + href + '"]')) return; var l = document.createElement("link"); l.rel = "preload"; l.as = "script"; l.href = href; l.crossOrigin = ""; // allow cache reuse in iframe document.head.appendChild(l); } catch (_) {} } function parseQuery() { var out = {}; try { if (!window.location.search) return out; var usp = new URLSearchParams(window.location.search); usp.forEach(function (v, k) { out[k] = v; }); } catch (_) {} return out; } function buildIframeHTML(opts) { var html = '\n' + '\n' + '\n' + ' \n' + ' \n' + ' \n' + '\n' + '\n' + ' \n' + '
\n' + '