{
  "version": 3,
  "sources": ["/cdn/shop/t/24/assets/ougist-warranty-backend-activation.js?codex_v=20260701_after_sales_card_style"],
  "sourcesContent": ["(function () {\n  \"use strict\";\n\n  if (window.__ougistWarrantyBackendActivationLoaded) return;\n  window.__ougistWarrantyBackendActivationLoaded = true;\n\n  var registerEndpoint = window.ougistWarrantyRegistrationEndpoint || \"/apps/ougist-warranty/register\";\n  var memberEndpoint = window.ougistWarrantyMemberEndpoint || \"/apps/ougist-warranty/member\";\n  var afterSalesSettingsEndpoint = window.ougistAfterSalesSettingsEndpoint || \"/apps/ougist-warranty/api/v1/public/after-sales/settings\";\n  var afterSalesSettingsPromise = null;\n  var logoUrl = \"https://cdn.shopify.com/s/files/1/0799/4494/1807/files/ougist-registration-logo.png?v=1782729614&width=320\";\n  var logoSrcset = [\n    \"https://cdn.shopify.com/s/files/1/0799/4494/1807/files/ougist-registration-logo.png?v=1782729614&width=160 160w\",\n    \"https://cdn.shopify.com/s/files/1/0799/4494/1807/files/ougist-registration-logo.png?v=1782729614&width=240 240w\",\n    \"https://cdn.shopify.com/s/files/1/0799/4494/1807/files/ougist-registration-logo.png?v=1782729614&width=320 320w\"\n  ].join(\", \");\n  var warrantyVideoPoster = \"https://cdn.shopify.com/s/files/1/0799/4494/1807/files/preview_images/92743630a96745418a5b1b9badb960d4.thumbnail.0000000000.jpg?v=1782726544\";\n  var warrantyVideoSources = [\n    '<source src=\"https://cdn.shopify.com/videos/c/vp/92743630a96745418a5b1b9badb960d4/92743630a96745418a5b1b9badb960d4.HD-1080p-7.2Mbps-87658187.mp4\" type=\"video/mp4\" media=\"(min-width: 900px)\">',\n    '<source src=\"https://cdn.shopify.com/videos/c/vp/92743630a96745418a5b1b9badb960d4/92743630a96745418a5b1b9badb960d4.HD-720p-4.5Mbps-87658187.mp4\" type=\"video/mp4\" media=\"(min-width: 520px)\">',\n    '<source src=\"https://cdn.shopify.com/videos/c/vp/92743630a96745418a5b1b9badb960d4/92743630a96745418a5b1b9badb960d4.SD-480p-1.5Mbps-87658187.mp4\" type=\"video/mp4\">',\n    '<source src=\"https://cdn.shopify.com/videos/c/vp/92743630a96745418a5b1b9badb960d4/92743630a96745418a5b1b9badb960d4.m3u8\" type=\"application/x-mpegURL\">'\n  ].join(\"\");\n\n  function clean(value) {\n    return String(value || \"\").replace(/\\s+/g, \" \").trim();\n  }\n\n  function value(root, selector) {\n    var el = root && root.querySelector(selector);\n    return clean(el && el.value);\n  }\n\n  function isChecked(value) {\n    var text = clean(value).toLowerCase();\n    return value === true || text === \"true\" || text === \"yes\" || text === \"1\" || text === \"on\";\n  }\n\n  function dateLabel(value) {\n    var date = value ? new Date(value) : new Date();\n    if (Number.isNaN(date.getTime())) date = new Date();\n    try {\n      return new Intl.DateTimeFormat(\"en\", { month: \"short\", day: \"2-digit\", year: \"numeric\" }).format(date);\n    } catch (error) {\n      return date.toISOString().slice(0, 10);\n    }\n  }\n\n  function setStatus(target, state, message) {\n    if (!target) return;\n    target.setAttribute(\"data-state\", state || \"\");\n    target.textContent = message || \"\";\n  }\n\n  function errorMessage(error) {\n    var code = error && error.code;\n    if (code === \"SERIAL_NOT_FOUND\") return \"This serial number was not found. Please check the label and try again.\";\n    if (code === \"SERIAL_ALREADY_ACTIVATED\") return \"This serial number already has a warranty profile. Use the same email and click Verify & Continue to open the card.\";\n    if (code === \"SERIAL_FORMAT_INVALID\") return \"Serial number format is invalid. Please check the label and try again.\";\n    if (code === \"EMAIL_REQUIRED\") return \"A valid email is required so we can save your warranty profile.\";\n    return error && error.message ? error.message : \"Warranty activation failed. Please try again.\";\n  }\n\n  function requiredMissing(form) {\n    var required = Array.prototype.slice.call(form.querySelectorAll(\"[required]\"));\n    for (var i = 0; i < required.length; i += 1) {\n      var field = required[i];\n      if (field.disabled || field.closest(\"[hidden]\")) continue;\n      if (field.type === \"checkbox\" && !field.checked) return field;\n      if (field.type !== \"checkbox\" && !clean(field.value)) return field;\n    }\n    return null;\n  }\n\n  function selectedMultipleProductValue(root) {\n    var checked = root.querySelector(\"input[name='multiple-products']:checked\");\n    return checked ? clean(checked.value) : \"\";\n  }\n\n  function collectRegistration(root) {\n    var marketingOptIn = root.querySelector(\"[data-ou-marketing-opt-in]\");\n    var consent = root.querySelector(\"input[name='_extraTAndC']\");\n    return {\n      order: value(root, \"input[placeholder='Input the order number'], input[name='orderId']\"),\n      serial: value(root, \"[data-ou-step-serial], input[name='serialNumbers'], input[placeholder='Input the serial number']\"),\n      multipleProducts: selectedMultipleProductValue(root),\n      additionalSerials: value(root, \"textarea[name='more-number']\"),\n      firstName: value(root, \"input[name='firstName']\"),\n      lastName: value(root, \"input[name='last-name']\"),\n      email: value(root, \"input[name='email'], input[type='email']\"),\n      phone: value(root, \"input[name='phone']\"),\n      city: value(root, \"input[name='city']\"),\n      state: value(root, \"input[name='state']\"),\n      country: value(root, \"input[name='country']\") || \"US\",\n      marketingOptIn: marketingOptIn ? marketingOptIn.checked : isChecked(consent && consent.checked),\n      consentAccepted: consent ? consent.checked : false,\n      registrationSource: \"shopify_warranty_registration_page\"\n    };\n  }\n\n  function setCardText(memberCenter, name, value) {\n    var el = memberCenter && memberCenter.querySelector(\"[data-ou-card='\" + name + \"']\");\n    if (el) el.textContent = value;\n  }\n\n  function updateBackupStatus(memberCenter, status, detail) {\n    var box = memberCenter && memberCenter.querySelector(\"[data-ou-backup-status]\");\n    if (!box) return;\n    var title = box.querySelector(\"[data-ou-backup-title]\");\n    var body = box.querySelector(\"[data-ou-backup-detail]\");\n    var titles = {\n      idle: \"Preparing warranty backup\",\n      sending: \"Sending warranty backup\",\n      synced: \"Warranty backup saved\",\n      partial: \"Warranty backup partially saved\",\n      skipped: \"Shopify sync pending\",\n      error: \"Warranty backup needs attention\"\n    };\n    box.setAttribute(\"data-ou-backup-status\", status || \"idle\");\n    if (title) title.textContent = titles[status] || titles.idle;\n    if (body) body.textContent = detail || \"Warranty profile loaded. You can download your card as a JPG.\";\n  }\n\n  function syncDetail(sync) {\n    if (!sync) return \"Warranty profile saved.\";\n    if (sync.status === \"synced\") return \"Warranty profile saved and Shopify order sync completed.\";\n    if (sync.status === \"skipped\") return \"Warranty profile saved. Shopify order sync is waiting for Admin API configuration.\";\n    if (sync.status === \"partial\") return \"Warranty profile saved. Some Shopify sync steps need attention.\";\n    return \"Warranty profile saved. Shopify sync needs attention.\";\n  }\n\n  function safeList(value) {\n    return Array.isArray(value) ? value.filter(function (item) {\n      return item !== null && item !== undefined && clean(item);\n    }) : [];\n  }\n\n  function safeSupportUrl(value) {\n    var text = clean(value);\n    if (!text) return \"\";\n    try {\n      var url = new URL(text, window.location.origin);\n      var allowedHosts = {\n        \"ougist.com\": true,\n        \"www.ougist.com\": true,\n        \"supply.ougist.vip\": true\n      };\n      return url.protocol === \"https:\" && allowedHosts[url.hostname.toLowerCase()] ? url.href : \"\";\n    } catch (error) {\n      return \"\";\n    }\n  }\n\n  function ensureAfterSalesStyles() {\n    if (document.getElementById(\"ougist-after-sales-manual-style\")) return;\n    var style = document.createElement(\"style\");\n    style.id = \"ougist-after-sales-manual-style\";\n    style.textContent = [\n      \".ou-after-sales-manual{--ou-after-sales-accent:#ef5d31;margin:18px 0 0;border:1px solid rgba(33,51,91,.14);border-radius:18px;background:radial-gradient(circle at 88% 10%,rgba(239,93,49,.14),transparent 30%),linear-gradient(135deg,#fff 0%,#f8fafc 100%);box-shadow:0 18px 42px rgba(33,51,91,.08);padding:24px;color:#21335b}\",\n      \".ou-after-sales-manual[data-theme='brand']{color:#fff;border-color:rgba(255,255,255,.18);background:radial-gradient(circle at 82% 12%,rgba(239,93,49,.24),transparent 30%),linear-gradient(135deg,#21335b 0%,#111622 100%)}\",\n      \".ou-after-sales-manual[data-theme='dark']{color:#fff;border-color:#111622;background:linear-gradient(135deg,rgba(239,93,49,.16),transparent 44%),#111622}\",\n      \".ou-after-sales-manual[data-accent='blue']{--ou-after-sales-accent:#2f6fed}\",\n      \".ou-after-sales-manual[data-accent='green']{--ou-after-sales-accent:#008060}\",\n      \".ou-after-sales-manual[data-layout='compact']{padding:18px}\",\n      \".ou-after-sales-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;margin-bottom:16px}\",\n      \".ou-after-sales-head h3{margin:0;font-size:clamp(22px,2.4vw,30px);line-height:1.15;color:inherit}\",\n      \".ou-after-sales-head p{margin:8px 0 0;color:inherit;opacity:.76;line-height:1.65}\",\n      \".ou-after-sales-badge{flex:0 0 auto;border-radius:999px;background:var(--ou-after-sales-accent);color:#fff;font-weight:800;font-size:12px;letter-spacing:0;text-transform:uppercase;padding:8px 12px}\",\n      \".ou-after-sales-version{display:inline-flex;margin-top:8px;color:inherit;opacity:.76;font-size:12px;font-weight:800}\",\n      \".ou-after-sales-grid{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:14px}\",\n      \".ou-after-sales-manual[data-layout='stacked'] .ou-after-sales-grid,.ou-after-sales-manual[data-layout='compact'] .ou-after-sales-grid{grid-template-columns:1fr}\",\n      \".ou-after-sales-box{border:1px solid rgba(33,51,91,.12);border-radius:14px;background:rgba(255,255,255,.82);padding:18px;color:#21335b}\",\n      \".ou-after-sales-manual[data-theme='brand'] .ou-after-sales-box,.ou-after-sales-manual[data-theme='dark'] .ou-after-sales-box{border-color:rgba(255,255,255,.18);background:rgba(255,255,255,.1);color:#fff}\",\n      \".ou-after-sales-box h4{margin:0 0 12px;font-size:15px;color:inherit}\",\n      \".ou-after-sales-list{margin:0;padding:0;list-style:none;display:grid;gap:9px}\",\n      \".ou-after-sales-list>li,.ou-after-sales-rule{position:relative;padding-left:28px;color:inherit;line-height:1.55}\",\n      \".ou-after-sales-list>li::before,.ou-after-sales-rule::before{content:attr(data-index);position:absolute;left:0;top:0;display:grid;place-items:center;width:20px;height:20px;border-radius:50%;background:var(--ou-after-sales-accent);color:#fff;font-size:11px;font-weight:800}\",\n      \".ou-after-sales-rule{display:grid;gap:4px}\",\n      \".ou-after-sales-rule strong{color:inherit}\",\n      \".ou-after-sales-support{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}\",\n      \".ou-after-sales-support a,.ou-after-sales-support span{border:1px solid rgba(33,51,91,.14);border-radius:999px;padding:9px 12px;color:inherit;text-decoration:none;background:rgba(255,255,255,.82);font-weight:700}\",\n      \"@media(max-width:820px){.ou-after-sales-manual{padding:18px;border-radius:14px}.ou-after-sales-head{display:block}.ou-after-sales-badge{display:inline-flex;margin-top:12px}.ou-after-sales-grid{grid-template-columns:1fr}}\"\n    ].join(\"\");\n    document.head.appendChild(style);\n  }\n\n  function loadAfterSalesSettings() {\n    if (!afterSalesSettingsPromise) {\n      afterSalesSettingsPromise = fetch(afterSalesSettingsEndpoint, {\n        method: \"GET\",\n        credentials: \"same-origin\",\n        headers: { Accept: \"application/json\" }\n      }).then(function (response) {\n        if (!response.ok) return null;\n        return response.json().catch(function () {\n          return null;\n        });\n      }).then(function (body) {\n        if (!body || body.success === false || !body.settings || body.settings.enabled === false) return null;\n        return body.settings;\n      }).catch(function () {\n        return null;\n      });\n    }\n    return afterSalesSettingsPromise;\n  }\n\n  function appendText(parent, tagName, text) {\n    var valueText = clean(text);\n    if (!valueText) return null;\n    var node = document.createElement(tagName);\n    node.textContent = valueText;\n    parent.appendChild(node);\n    return node;\n  }\n\n  function renderAfterSalesManual(memberCenter, settings) {\n    if (!memberCenter) return;\n    var existing = memberCenter.querySelector(\"[data-ou-after-sales-manual]\");\n    if (existing) existing.remove();\n    if (!settings || settings.enabled === false) {\n      if (existing) existing.remove();\n      return;\n    }\n\n    ensureAfterSalesStyles();\n    var displayStyle = clean(settings.displayStyle) || \"steps\";\n    var cardTheme = clean(settings.cardTheme) || \"light\";\n    var cardLayout = clean(settings.cardLayout) || \"split\";\n    var cardAccent = clean(settings.cardAccent) || \"orange\";\n    if ([\"light\", \"brand\", \"dark\"].indexOf(cardTheme) === -1) cardTheme = \"light\";\n    if ([\"split\", \"stacked\", \"compact\"].indexOf(cardLayout) === -1) cardLayout = \"split\";\n    if ([\"orange\", \"blue\", \"green\"].indexOf(cardAccent) === -1) cardAccent = \"orange\";\n    var isCompact = displayStyle === \"compact\";\n    var steps = safeList(settings.serviceSteps).slice(0, isCompact ? 2 : 6);\n    var rules = (Array.isArray(settings.rules) ? settings.rules.filter(function (rule) {\n      return rule && (clean(rule.title) || clean(rule.detail));\n    }) : []).slice(0, isCompact ? 2 : 6);\n    var supportEmail = clean(settings.supportEmail);\n    var supportUrl = safeSupportUrl(settings.supportUrl);\n\n    var panel = document.createElement(\"section\");\n    panel.className = \"ou-after-sales-manual\";\n    panel.setAttribute(\"data-ou-after-sales-manual\", \"\");\n    panel.setAttribute(\"data-style\", displayStyle);\n    panel.setAttribute(\"data-theme\", cardTheme);\n    panel.setAttribute(\"data-layout\", cardLayout);\n    panel.setAttribute(\"data-accent\", cardAccent);\n\n    var head = document.createElement(\"div\");\n    head.className = \"ou-after-sales-head\";\n    var titleWrap = document.createElement(\"div\");\n    appendText(titleWrap, \"h3\", settings.manualTitle || \"OUGIST After-Sales Guide\");\n    var version = appendText(titleWrap, \"span\", settings.ruleVersion);\n    if (version) version.className = \"ou-after-sales-version\";\n    appendText(titleWrap, \"p\", settings.manualIntro);\n    head.appendChild(titleWrap);\n    appendText(head, \"span\", settings.badgeText || \"After-sales support\");\n    var badge = head.querySelector(\"span\");\n    if (badge) badge.className = \"ou-after-sales-badge\";\n    panel.appendChild(head);\n\n    if (steps.length || rules.length) {\n      var grid = document.createElement(\"div\");\n      grid.className = \"ou-after-sales-grid\";\n\n      if (steps.length && displayStyle !== \"cards\") {\n        var stepBox = document.createElement(\"div\");\n        stepBox.className = \"ou-after-sales-box\";\n        appendText(stepBox, \"h4\", \"Service Steps\");\n        var stepList = document.createElement(\"ol\");\n        stepList.className = \"ou-after-sales-list\";\n        steps.forEach(function (step, index) {\n          var item = document.createElement(\"li\");\n          item.setAttribute(\"data-index\", String(index + 1));\n          item.textContent = clean(step);\n          stepList.appendChild(item);\n        });\n        stepBox.appendChild(stepList);\n        grid.appendChild(stepBox);\n      }\n\n      if (rules.length) {\n        var ruleBox = document.createElement(\"div\");\n        ruleBox.className = \"ou-after-sales-box\";\n        appendText(ruleBox, \"h4\", \"Service Rules\");\n        var ruleList = document.createElement(\"div\");\n        ruleList.className = \"ou-after-sales-list\";\n        rules.forEach(function (rule, index) {\n          var item = document.createElement(\"div\");\n          item.className = \"ou-after-sales-rule\";\n          item.setAttribute(\"data-index\", String(index + 1));\n          appendText(item, \"strong\", rule.title);\n          appendText(item, \"span\", rule.detail);\n          ruleList.appendChild(item);\n        });\n        ruleBox.appendChild(ruleList);\n        grid.appendChild(ruleBox);\n      }\n\n      if (steps.length && displayStyle === \"cards\") {\n        var cardStepBox = document.createElement(\"div\");\n        cardStepBox.className = \"ou-after-sales-box\";\n        appendText(cardStepBox, \"h4\", \"Service Steps\");\n        var cardStepList = document.createElement(\"ol\");\n        cardStepList.className = \"ou-after-sales-list\";\n        steps.forEach(function (step, index) {\n          var item = document.createElement(\"li\");\n          item.setAttribute(\"data-index\", String(index + 1));\n          item.textContent = clean(step);\n          cardStepList.appendChild(item);\n        });\n        cardStepBox.appendChild(cardStepList);\n        grid.appendChild(cardStepBox);\n      }\n\n      panel.appendChild(grid);\n    }\n\n    if (supportEmail || supportUrl) {\n      var support = document.createElement(\"div\");\n      support.className = \"ou-after-sales-support\";\n      if (supportEmail) {\n        var email = document.createElement(\"a\");\n        email.href = \"mailto:\" + supportEmail;\n        email.textContent = supportEmail;\n        support.appendChild(email);\n      }\n      if (supportUrl) {\n        var link = document.createElement(\"a\");\n        link.href = supportUrl;\n        link.textContent = \"Contact support\";\n        support.appendChild(link);\n      }\n      panel.appendChild(support);\n    }\n\n    var backupStatus = memberCenter.querySelector(\"[data-ou-backup-status]\");\n    if (backupStatus && backupStatus.parentNode) {\n      backupStatus.parentNode.insertBefore(panel, backupStatus.nextSibling);\n    } else {\n      memberCenter.appendChild(panel);\n    }\n  }\n\n  function memberDataFromRegistration(registration) {\n    registration = registration || {};\n    return {\n      email: registration.email || \"\",\n      firstName: registration.firstName || \"\",\n      lastName: registration.lastName || \"\",\n      serial: registration.serial || \"\",\n      order: registration.order || \"\",\n      memberId: registration.memberId || \"\",\n      coverage: registration.coverage || \"Extended warranty active\",\n      activatedLabel: dateLabel(registration.createdAt || registration.coverageStartAt)\n    };\n  }\n\n  function revealMemberCenter(memberCenter, data, status, detail) {\n    if (!memberCenter) return;\n    var name = clean([data.firstName, data.lastName].filter(Boolean).join(\" \")) || \"OUGIST Member\";\n    setCardText(memberCenter, \"memberName\", name);\n    setCardText(memberCenter, \"memberId\", clean(data.memberId) || \"OUG-MEMBER\");\n    setCardText(memberCenter, \"serial\", clean(data.serial) || \"Registered product\");\n    setCardText(memberCenter, \"order\", clean(data.order) || \"OUGIST order\");\n    setCardText(memberCenter, \"coverage\", clean(data.coverage) || \"Extended warranty active\");\n    setCardText(memberCenter, \"activated\", clean(data.activatedLabel) || dateLabel());\n    setCardText(memberCenter, \"email\", clean(data.email) || \"Email saved with registration\");\n    updateBackupStatus(memberCenter, status || \"synced\", detail);\n    memberCenter.hidden = false;\n    memberCenter.classList.add(\"is-visible\");\n    loadAfterSalesSettings().then(function (settings) {\n      renderAfterSalesManual(memberCenter, settings);\n    });\n    window.setTimeout(function () {\n      memberCenter.scrollIntoView({ behavior: \"smooth\", block: \"start\" });\n    }, 120);\n  }\n\n  function postJson(url, payload) {\n    return fetch(url, {\n      method: \"POST\",\n      credentials: \"same-origin\",\n      headers: { \"Content-Type\": \"application/json\" },\n      body: JSON.stringify(payload)\n    }).then(function (response) {\n      return response.json().catch(function () {\n        return {};\n      }).then(function (body) {\n        if (!response.ok) {\n          var error = new Error(body.error || \"Warranty activation failed.\");\n          error.code = body.code || \"\";\n          error.status = response.status;\n          throw error;\n        }\n        return body;\n      });\n    });\n  }\n\n  function isLookupMiss(error) {\n    var code = error && error.code;\n    return error && (error.status === 404 || code === \"MEMBER_NOT_FOUND\" || code === \"REGISTRATION_NOT_FOUND\");\n  }\n\n  function closestFlowField(node) {\n    return node && node.closest && node.closest(\".ou-field, .ou-radio-group, .ou-consent-row\");\n  }\n\n  function removeFlowNode(node) {\n    if (node && node.parentNode) node.parentNode.removeChild(node);\n  }\n\n  function makeRegistrationOptionalFields(root) {\n    var optionalSelectors = [\n      \"#ou-reg-first-name\",\n      \"input[name='firstName']\",\n      \"#ou-reg-last-name\",\n      \"input[name='last-name']\",\n      \"#ou-reg-phone\",\n      \"input[name='phone']\",\n      \"#ou-reg-city\",\n      \"input[name='city']\",\n      \"#ou-reg-state\",\n      \"input[name='state']\",\n      \"#ou-reg-country\",\n      \"input[name='country']\",\n      \"input[name='_extraTAndC']\"\n    ];\n\n    optionalSelectors.forEach(function (selector) {\n      Array.prototype.slice.call(root.querySelectorAll(selector)).forEach(function (field) {\n        field.required = false;\n        field.removeAttribute(\"required\");\n        field.setAttribute(\"aria-required\", \"false\");\n      });\n    });\n  }\n\n  function setStepHead(step, title, detail) {\n    var heading = step && step.querySelector(\".ou-form-step-head h4\");\n    var copy = step && step.querySelector(\".ou-form-step-head p\");\n    if (heading) heading.textContent = title;\n    if (copy) copy.textContent = detail;\n  }\n\n  function ensureActionButton(form, submit) {\n    var actions = form.querySelector(\".ou-form-actions\");\n    if (!actions) {\n      actions = document.createElement(\"div\");\n      actions.className = \"ou-form-actions\";\n      form.appendChild(actions);\n    }\n\n    Array.prototype.slice.call(actions.querySelectorAll(\"a[href='#find-card']\")).forEach(removeFlowNode);\n\n    var verifyButton = actions.querySelector(\"[data-ou-step-verify]\");\n    if (!verifyButton) {\n      verifyButton = document.createElement(\"button\");\n      verifyButton.className = \"ou-btn ou-btn-primary\";\n      verifyButton.type = \"button\";\n      verifyButton.setAttribute(\"data-ou-step-verify\", \"\");\n      verifyButton.textContent = \"Verify & Continue\";\n      actions.insertBefore(verifyButton, submit || actions.firstChild);\n    }\n\n    if (submit) {\n      submit.type = \"submit\";\n      submit.textContent = \"Submit Registration\";\n      submit.hidden = true;\n    }\n\n    return verifyButton;\n  }\n\n  function normalizeRegistrationFlow(root, form) {\n    var steps = Array.prototype.slice.call(root.querySelectorAll(\".ou-form-step\"));\n    var step1 = root.querySelector(\"[data-ou-registration-step='1']\") || steps[0];\n    var step2 = root.querySelector(\"[data-ou-registration-step='2']\") || steps[1];\n    if (!step1 || !step2) return null;\n\n    step1.setAttribute(\"data-ou-registration-step\", \"1\");\n    step2.setAttribute(\"data-ou-registration-step\", \"2\");\n    setStepHead(step1, \"Product details\", \"Start with the two fields that matter most. The same entry can retrieve an existing card or begin a new registration.\");\n    setStepHead(step2, \"Contact and address\", \"Tell us who owns the product and where warranty support should be tied.\");\n\n    var step1Grid = step1.querySelector(\".ou-form-step-grid\");\n    var step2Grid = step2.querySelector(\".ou-form-step-grid\");\n    var emailInput = root.querySelector(\"#ou-reg-email, input[name='email']\");\n    var serialInput = root.querySelector(\"#ou-reg-serial, input[name='serialNumbers']\");\n    var emailField = closestFlowField(emailInput);\n    var serialField = closestFlowField(serialInput);\n\n    if (emailInput) {\n      emailInput.required = true;\n      emailInput.setAttribute(\"data-ou-step-email\", \"\");\n    }\n    if (serialInput) {\n      serialInput.required = true;\n      serialInput.setAttribute(\"data-ou-step-serial\", \"\");\n      serialInput.placeholder = \"OUG-XXXX or serial code\";\n      if (serialInput.id) {\n        var serialLabel = root.querySelector(\"label[for='\" + serialInput.id + \"']\");\n        if (serialLabel) serialLabel.textContent = \"S/N, Order Number, or Member ID\";\n      }\n    }\n    makeRegistrationOptionalFields(root);\n\n    if (step1Grid && emailField && emailField.parentNode !== step1Grid) {\n      step1Grid.insertBefore(emailField, step1Grid.firstElementChild || null);\n    }\n    if (step1Grid && serialField && serialField.parentNode !== step1Grid) {\n      step1Grid.appendChild(serialField);\n    }\n\n    removeFlowNode(closestFlowField(root.querySelector(\"#ou-reg-order, input[name='orderId']\")));\n    removeFlowNode(root.querySelector(\".ou-radio-group\"));\n    removeFlowNode(closestFlowField(root.querySelector(\"#ou-reg-more-number, textarea[name='more-number']\")));\n\n    var submit = form.querySelector(\"[data-ou-native-submit]\");\n    var verifyButton = ensureActionButton(form, submit);\n\n    return {\n      step1: step1,\n      step2: step2,\n      step1Grid: step1Grid,\n      step2Grid: step2Grid,\n      emailInput: emailInput,\n      serialInput: serialInput,\n      verifyButton: verifyButton,\n      submit: submit\n    };\n  }\n\n  function prepareTwoStepRegistration(root, form, memberCenter, status) {\n    var flow = normalizeRegistrationFlow(root, form);\n    if (!flow) return null;\n    var step2Open = false;\n\n    function setStep2Open(open, focusFirstField) {\n      step2Open = Boolean(open);\n      flow.step2.hidden = !step2Open;\n      flow.step2.setAttribute(\"aria-hidden\", step2Open ? \"false\" : \"true\");\n      Array.prototype.slice.call(flow.step2.querySelectorAll(\"input, select, textarea\")).forEach(function (field) {\n        field.disabled = !step2Open;\n      });\n      if (flow.submit) {\n        flow.submit.hidden = !step2Open;\n        flow.submit.disabled = !step2Open;\n      }\n      if (flow.verifyButton) {\n        flow.verifyButton.textContent = step2Open ? \"Verified\" : \"Verify & Continue\";\n        flow.verifyButton.setAttribute(\"aria-expanded\", step2Open ? \"true\" : \"false\");\n      }\n      if (step2Open && focusFirstField) {\n        var first = flow.step2.querySelector(\"input:not([disabled]), select:not([disabled]), textarea:not([disabled])\");\n        if (first && first.focus) first.focus();\n      }\n    }\n\n    function firstStepData() {\n      return {\n        email: clean(flow.emailInput && flow.emailInput.value),\n        serial: clean(flow.serialInput && flow.serialInput.value)\n      };\n    }\n\n    function verifyExistingOrContinue() {\n      var stepData = firstStepData();\n      if (!stepData.email) {\n        setStatus(status, \"error\", \"Enter your email before continuing.\");\n        if (flow.emailInput && flow.emailInput.focus) flow.emailInput.focus();\n        return;\n      }\n      if (!stepData.serial) {\n        setStatus(status, \"error\", \"Enter your S/N, order number, or member ID before continuing.\");\n        if (flow.serialInput && flow.serialInput.focus) flow.serialInput.focus();\n        return;\n      }\n\n      setStep2Open(false, false);\n      if (flow.verifyButton) {\n        flow.verifyButton.disabled = true;\n        flow.verifyButton.textContent = \"Verifying...\";\n      }\n      setStatus(status, \"\", \"Checking for an existing warranty card...\");\n\n      postJson(memberEndpoint, { email: stepData.email, code: stepData.serial })\n        .then(function (result) {\n          revealMemberCenter(memberCenter, memberDataFromRegistration(result.registration), \"synced\", \"Warranty profile found. Your JPG card is ready to download.\");\n          setStatus(status, \"success\", \"Warranty profile found. Your card is ready below.\");\n        })\n        .catch(function (error) {\n          if (isLookupMiss(error)) {\n            setStep2Open(true, true);\n            setStatus(status, \"success\", \"No existing card was found for this email and code. If this is a new registration, continue with Step 2 using the product serial number.\");\n            return;\n          }\n          setStep2Open(true, true);\n          setStatus(status, \"\", \"Existing card lookup could not be completed. Continue with Step 2 to submit the registration.\");\n        })\n        .finally(function () {\n          if (flow.verifyButton) {\n            flow.verifyButton.disabled = false;\n            if (!step2Open) flow.verifyButton.textContent = \"Verify & Continue\";\n          }\n        });\n    }\n\n    setStep2Open(false, false);\n    if (flow.verifyButton) {\n      flow.verifyButton.addEventListener(\"click\", function (event) {\n        event.preventDefault();\n        verifyExistingOrContinue();\n      });\n    }\n\n    return {\n      isStep2Open: function () {\n        return step2Open;\n      },\n      verify: verifyExistingOrContinue\n    };\n  }\n\n  function wireRegistrationForm(root, memberCenter) {\n    var form = root.querySelector(\"[data-ou-native-registration-form]\");\n    var status = root.querySelector(\"[data-ou-native-status]\");\n    if (!form) return;\n    var flow = prepareTwoStepRegistration(root, form, memberCenter, status);\n\n    form.addEventListener(\"submit\", function (event) {\n      event.preventDefault();\n      event.stopPropagation();\n      if (event.stopImmediatePropagation) event.stopImmediatePropagation();\n\n      if (flow && !flow.isStep2Open()) {\n        flow.verify();\n        return;\n      }\n\n      var missing = requiredMissing(form);\n      if (missing) {\n        setStatus(status, \"error\", missing.type === \"checkbox\" ? \"Please accept the registration consent before continuing.\" : \"Please complete all required fields before activating warranty.\");\n        if (missing.focus) missing.focus();\n        return;\n      }\n\n      var data = collectRegistration(root);\n      if (!data.serial) {\n        setStatus(status, \"error\", \"Serial number is required to activate warranty.\");\n        return;\n      }\n      if (!data.email) {\n        setStatus(status, \"error\", \"Email is required so we can save your warranty profile.\");\n        return;\n      }\n\n      var submit = form.querySelector(\"[data-ou-native-submit]\");\n      if (submit) {\n        submit.disabled = true;\n        submit.textContent = \"Activating...\";\n      }\n      updateBackupStatus(memberCenter, \"sending\", \"Verifying serial number with OUGIST warranty service.\");\n      setStatus(status, \"\", \"Verifying serial number and creating your OUGIST warranty profile...\");\n\n      postJson(registerEndpoint, {\n        customer: data,\n        warranty: {\n          sourceUrl: window.location.href,\n          activatedAt: new Date().toISOString()\n        }\n      }).then(function (result) {\n        var registrationData = memberDataFromRegistration(result.registration);\n        revealMemberCenter(memberCenter, registrationData, result.shopifySync && result.shopifySync.status || \"synced\", syncDetail(result.shopifySync));\n        setStatus(status, \"success\", \"Warranty activated. Your JPG card is ready below.\");\n      }).catch(function (error) {\n        if (error && error.code === \"SERIAL_ALREADY_ACTIVATED\") {\n          setStatus(status, \"\", \"This serial number already has a warranty profile. Checking for your card...\");\n          return postJson(memberEndpoint, { email: data.email, code: data.serial })\n            .then(function (result) {\n              revealMemberCenter(memberCenter, memberDataFromRegistration(result.registration), \"synced\", \"Warranty profile found. Your JPG card is ready to download.\");\n              setStatus(status, \"success\", \"Warranty profile found. Your card is ready below.\");\n            })\n            .catch(function () {\n              var activatedMessage = errorMessage(error);\n              updateBackupStatus(memberCenter, \"error\", activatedMessage);\n              setStatus(status, \"error\", activatedMessage);\n            });\n        }\n        var message = errorMessage(error);\n        updateBackupStatus(memberCenter, \"error\", message);\n        setStatus(status, \"error\", message);\n      }).finally(function () {\n        if (submit) {\n          submit.disabled = false;\n          submit.textContent = \"Submit Registration\";\n        }\n      });\n    }, true);\n  }\n\n  function injectLayoutPatchStyles() {\n    if (document.getElementById(\"ougist-warranty-merged-step-patch\")) return;\n    var style = document.createElement(\"style\");\n    style.id = \"ougist-warranty-merged-step-patch\";\n    style.textContent = [\n      \"#register .ou-shell{width:min(1920px,calc(100% - 96px))!important}\",\n      \"#register .ou-register-grid{grid-template-columns:minmax(0,1fr)!important;gap:24px!important;max-width:none!important;margin:0 auto!important}\",\n      \"#register .ou-register-card{padding:0!important;overflow:hidden!important;border-radius:30px!important;background:radial-gradient(circle at 16% 18%,rgba(46,126,255,.08),transparent 28%),linear-gradient(135deg,#fff 0%,#f8fbff 100%)!important}\",\n      \"#register #mpr-root.ou-native-registration-card{display:grid!important;grid-template-columns:minmax(360px,.82fr) minmax(0,1.34fr)!important;gap:24px!important;align-items:stretch!important;padding:28px!important}\",\n      \"#register .ou-register-intro{display:grid!important;align-content:start!important;gap:24px!important;margin:0!important;padding:34px!important;border:1px solid #d5e6ff!important;border-radius:24px!important;background:linear-gradient(160deg,#eef6ff 0%,#f8fbff 68%,#fff3ee 100%)!important}\",\n      \"#register .ou-register-intro .ou-section-label,#register .ou-register-intro h2,#register .ou-register-intro p,#register .ou-register-intro .ou-checklist{margin:0!important}\",\n      \"#register .ou-register-intro h2{max-width:500px!important;font-size:clamp(42px,3.8vw,58px)!important;line-height:1.08!important}\",\n      \"#register .ou-register-intro p{max-width:520px!important;color:#50627a!important;font-size:20px!important;line-height:1.48!important}\",\n      \"#register .ou-checklist{display:grid!important;gap:22px!important;padding:0!important;list-style:none!important}\",\n      \"#register .ou-checklist li{display:grid!important;grid-template-columns:24px minmax(0,1fr)!important;gap:14px!important;padding:0!important;color:#172033!important;font-size:16px!important;line-height:1.4!important}\",\n      \"#register .ou-checklist svg{width:20px!important;height:20px!important;box-sizing:content-box!important;margin-top:2px!important;padding:0!important;color:#18a957!important}\",\n      \"#register .ou-checklist li>span{display:grid!important;gap:3px!important}\",\n      \"#register .ou-checklist strong{color:#172033!important;font-size:17px!important;font-weight:900!important}\",\n      \"#register .ou-checklist span span{color:#62738b!important;font-size:14px!important;line-height:1.45!important}\",\n      \"#register .ou-register-metrics{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;gap:14px!important;margin:auto 0 0!important;padding:0!important;list-style:none!important}\",\n      \"#register .ou-register-metrics li{display:grid!important;place-items:center!important;min-width:0!important;min-height:46px!important;padding:0 12px!important;border:1px solid #d5e6ff!important;border-radius:16px!important;color:#17345f!important;background:rgba(255,255,255,.68)!important;font-size:14px!important;font-weight:900!important;text-align:center!important}\",\n      \"#register .ou-register-metrics strong{color:#0f172a!important;font-size:15px!important;line-height:1!important;font-weight:950!important}\",\n      \"#register .ou-register-metrics span{color:#64748b!important;font-size:11px!important;line-height:1.25!important}\",\n      \"#register .ou-registration-main{display:grid!important;align-content:start!important;gap:18px!important;min-width:0!important;padding:4px 4px 0!important}\",\n      \"#register .ou-form-head{align-items:flex-start!important;margin:0!important;padding:0 4px!important}\",\n      \"#register .ou-form-head h3{max-width:760px!important;font-size:clamp(38px,3.4vw,54px)!important;line-height:1.08!important}\",\n      \"#register .ou-form-head p{max-width:830px!important;color:#5d6e86!important;font-size:20px!important;line-height:1.5!important}\",\n      \"#register .ou-form-badge{width:64px!important;height:64px!important;border-radius:22px!important;background:linear-gradient(180deg,#e9fbf1 0%,#d6f7e5 100%)!important}\",\n      \"#register .ou-form-grid{grid-template-columns:1fr!important;gap:16px!important}\",\n      \"#register .ou-form-step{grid-column:1/-1!important;padding:28px!important;border:1px solid #dbe5f0!important;border-radius:22px!important;background:#fbfdff!important;box-shadow:0 16px 34px rgba(15,23,42,.05)!important}\",\n      \".ou-form-step[hidden]{display:none!important}\",\n      \".ou-form-step-head{margin-bottom:16px}\",\n      \".ou-form-step-label{display:inline-flex;align-items:center;min-height:28px;padding:0 10px;border-radius:999px;color:#21335b;background:rgba(35,51,88,.08);font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}\",\n      \".ou-form-step h4{margin:9px 0 6px;color:#0f172a;font-size:18px;line-height:1.2;font-weight:900}\",\n      \".ou-form-step p{margin:0;color:#64748b;font-size:14px;line-height:1.55}\",\n      \".ou-form-step-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}\",\n      \"#register .ou-step-progress{display:flex!important;flex-wrap:wrap!important;gap:20px!important;margin:0 0 28px!important}\",\n      \"#register .ou-step-progress span{display:inline-flex!important;align-items:center!important;gap:8px!important;min-height:48px!important;min-width:150px!important;padding:0 18px!important;border-radius:999px!important;color:#50627a!important;background:#eef3f9!important;font-size:14px!important;font-weight:850!important;line-height:1!important}\",\n      \"#register .ou-step-progress b,#register .ou-flow-strip b{display:grid!important;place-items:center!important;width:28px!important;height:28px!important;border-radius:999px!important;color:#fff!important;background:#1d4ed8!important;font-size:13px!important;line-height:1!important}\",\n      \"#register .ou-step-progress .is-active{color:#15335f!important;background:#dbeafe!important}\",\n      \"#register .ou-consent-row{background:#fff!important}\",\n      \"#register .ou-form-actions{padding-top:0!important}\",\n      \"#register .ou-form-actions .ou-btn{min-width:190px!important}\",\n      \"#register .ou-form-actions [data-ou-native-submit]{border:1px solid #ffd8ca!important;color:#ff5a2c!important;background:#fff4ef!important;box-shadow:none!important}\",\n      \"#register .ou-flow-strip{grid-column:1/-1!important;display:grid!important;grid-template-columns:auto repeat(3,minmax(0,1fr))!important;gap:14px!important;align-items:center!important;padding:24px 28px!important;border-radius:20px!important;color:#cbd5e1!important;background:#101a2c!important}\",\n      \"#register .ou-flow-strip strong{color:#fff!important;font-size:18px!important;line-height:1!important;font-weight:900!important;letter-spacing:.08em!important;text-transform:none!important}\",\n      \"#register .ou-flow-strip span{display:flex!important;align-items:center!important;gap:10px!important;min-width:0!important;font-size:18px!important;line-height:1.35!important}\",\n      \"@media(max-width:990px){#register #mpr-root.ou-native-registration-card{grid-template-columns:1fr!important;padding:22px!important}#register .ou-register-intro h2,#register .ou-register-intro p{max-width:680px!important}#register .ou-registration-main{padding:0!important}#register .ou-flow-strip{grid-template-columns:1fr!important;align-items:start!important}}\",\n      \"@media(max-width:640px){#register .ou-shell{width:calc(100% - 24px)!important}#register .ou-register-card{border-radius:22px!important}#register #mpr-root.ou-native-registration-card{gap:18px!important;padding:16px!important}#register .ou-register-intro{gap:16px!important;padding:20px!important;border-radius:20px!important}#register .ou-register-intro h2{font-size:34px!important}#register .ou-step-progress,#register .ou-flow-strip{display:none!important}#register .ou-form-head{flex-direction:row!important;gap:12px!important;padding:0!important}#register .ou-form-head h3{font-size:28px!important}#register .ou-form-badge{width:48px!important;height:48px!important;border-radius:16px!important}#register .ou-form-step{padding:16px!important;border-radius:18px!important}#register .ou-form-step-grid{grid-template-columns:1fr!important}#register .ou-form-actions .ou-btn{width:100%!important;min-width:0!important}}\"\n    ].join(\"\");\n    document.head.appendChild(style);\n  }\n\n  function checkIconMarkup() {\n    return '<svg viewbox=\"0 0 24 24\" fill=\"none\" aria-hidden=\"true\"><path d=\"M20 6L9 17l-5-5\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\"></path></svg>';\n  }\n\n  function applyRegistrationRedesign(root) {\n    var intro = root.querySelector(\".ou-register-intro\");\n    if (intro) {\n      var checklist = intro.querySelector(\".ou-checklist\");\n      var checklistItems = [\n        [\"Genuine product verification\", \"Match the product serial label before registration continues.\"],\n        [\"Warranty profile lookup\", \"Email plus S/N, order number, or member ID can reopen an existing profile.\"],\n        [\"Support record saved\", \"Keep service history and warranty card access connected to one email.\"]\n      ];\n      if (!checklist) {\n        checklist = document.createElement(\"ul\");\n        checklist.className = \"ou-checklist\";\n        var reference = intro.querySelector(\"p:not(.ou-section-label)\");\n        if (reference && reference.nextSibling) {\n          intro.insertBefore(checklist, reference.nextSibling);\n        } else {\n          intro.appendChild(checklist);\n        }\n      }\n      if (!checklist.getAttribute(\"data-ou-redesigned\")) {\n        checklist.innerHTML = checklistItems.map(function (item) {\n          return \"<li>\" + checkIconMarkup() + \"<span><strong>\" + item[0] + \"</strong><span>\" + item[1] + \"</span></span></li>\";\n        }).join(\"\");\n        checklist.setAttribute(\"data-ou-redesigned\", \"true\");\n      }\n      var metrics = intro.querySelector(\".ou-register-metrics\");\n      if (!metrics) {\n        metrics = document.createElement(\"ul\");\n        metrics.className = \"ou-register-metrics\";\n        metrics.setAttribute(\"aria-label\", \"Registration benefits\");\n        metrics.innerHTML = [\n          \"<li>2 min setup</li>\",\n          \"<li>Secure record</li>\",\n          \"<li>Card-ready</li>\"\n        ].join(\"\");\n        intro.appendChild(metrics);\n      }\n    }\n\n    var formHead = root.querySelector(\".ou-form-head\");\n    var form = root.querySelector(\"[data-ou-native-registration-form]\");\n    if (formHead && form && !root.querySelector(\".ou-registration-main\")) {\n      var main = document.createElement(\"div\");\n      main.className = \"ou-registration-main\";\n      root.insertBefore(main, formHead);\n      main.appendChild(formHead);\n      main.appendChild(form);\n    }\n\n    var step1 = root.querySelector(\"[data-ou-registration-step='1']\");\n    if (step1 && !step1.querySelector(\".ou-step-progress\")) {\n      var progress = document.createElement(\"div\");\n      progress.className = \"ou-step-progress\";\n      progress.setAttribute(\"aria-label\", \"Registration progress\");\n      progress.innerHTML = [\n        '<span class=\"is-active\"><b>1</b> Product details</span>',\n        \"<span><b>2</b> Contact info</span>\",\n        \"<span><b>3</b> Card backup</span>\"\n      ].join(\"\");\n      step1.insertBefore(progress, step1.firstElementChild);\n    }\n\n    if (!root.querySelector(\".ou-flow-strip\")) {\n      var flow = document.createElement(\"div\");\n      flow.className = \"ou-flow-strip\";\n      flow.setAttribute(\"aria-label\", \"Warranty registration flow\");\n      flow.innerHTML = [\n        \"<strong>What happens next</strong>\",\n        \"<span><b>1</b> Check existing profile</span>\",\n        \"<span><b>2</b> Continue registration</span>\",\n        \"<span><b>3</b> Download warranty card</span>\"\n      ].join(\"\");\n      root.appendChild(flow);\n    }\n  }\n\n  function injectVideoPatchStyles() {\n    if (document.getElementById(\"ougist-warranty-video-patch-style\")) return;\n    var style = document.createElement(\"style\");\n    style.id = \"ougist-warranty-video-patch-style\";\n    style.textContent = [\n      \".ou-video-frame.has-real-video{min-height:0!important;padding:0!important;background:#111827!important;place-items:stretch!important;text-align:left!important}\",\n      \".ou-video-frame.has-real-video .ou-product-video{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover;border:0;border-radius:inherit;background:#111827}\",\n      \"@media(max-width:640px){.ou-video-frame.has-real-video{aspect-ratio:16/9!important;min-height:220px!important;padding:0!important}}\"\n    ].join(\"\");\n    document.head.appendChild(style);\n  }\n\n  function injectHowToUseUiStyles() {\n    if (document.getElementById(\"ougist-how-to-use-ui-refresh-style\")) return;\n    var style = document.createElement(\"style\");\n    style.id = \"ougist-how-to-use-ui-refresh-style\";\n    style.textContent = [\n      \"#how-to-use{--how-primary:#21335b;--how-primary-dark:#17233d;--how-accent:#ef5d31;--how-muted:#667085;--how-border:rgba(33,51,91,.13);position:relative!important;padding-top:0!important;overflow:hidden!important;background:#f5f7fb!important}\",\n      \"#how-to-use:before{content:''!important;display:block!important;height:6px!important;background:linear-gradient(90deg,var(--how-accent),#ff8a63 42%,var(--how-primary))!important}\",\n      \"#how-to-use .ou-shell{max-width:1200px!important}\",\n      \"#how-to-use .ou-section-head{position:relative!important;max-width:none!important;margin:0 0 26px!important;padding:clamp(28px,4vw,46px)!important;overflow:hidden!important;border-radius:0 0 28px 28px!important;color:#fff!important;text-align:left!important;background:radial-gradient(circle at 88% 18%,rgba(239,93,49,.28),transparent 27%),linear-gradient(135deg,var(--how-primary) 0%,var(--how-primary-dark) 100%)!important;box-shadow:0 26px 58px rgba(33,51,91,.18)!important}\",\n      \"#how-to-use .ou-section-label{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:32px!important;padding:0 14px!important;border:1px solid rgba(255,255,255,.18)!important;border-radius:999px!important;color:#fff!important;background:rgba(255,255,255,.1)!important;box-shadow:none!important}\",\n      \"#how-to-use .ou-section-head h2{max-width:760px!important;margin:14px 0 0!important;color:#fff!important;font-size:clamp(36px,5.4vw,66px)!important;line-height:.96!important}\",\n      \"#how-to-use .ou-section-head p:not(.ou-section-label){max-width:720px!important;margin:16px 0 0!important;color:rgba(255,255,255,.76)!important;font-size:17px!important}\",\n      \"#how-to-use .ou-how-tagbar{display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:10px!important;margin:22px 0 0!important}\",\n      \"#how-to-use .ou-how-tagbar span{display:inline-flex!important;align-items:center!important;min-height:34px!important;padding:0 13px!important;border-radius:999px!important;color:#fff!important;background:rgba(255,255,255,.1)!important;border:1px solid rgba(255,255,255,.16)!important;font-size:12px!important;font-weight:900!important;letter-spacing:.04em!important;text-transform:uppercase!important}\",\n      \"#how-to-use .ou-how-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;align-items:stretch!important}\",\n      \"#how-to-use .ou-video-card,#how-to-use .ou-instruction-frame,#how-to-use .ou-resource-card,#how-to-use .ou-safety-note{border:1px solid var(--how-border)!important;border-radius:26px!important;box-shadow:0 24px 64px rgba(33,51,91,.11)!important}\",\n      \"#how-to-use .ou-video-card{display:grid!important;grid-template-rows:auto auto auto 1fr!important;margin:0!important;padding:0!important;min-width:0!important;height:100%!important;overflow:hidden!important;background:#fff!important}\",\n      \"#how-to-use .ou-video-card-top{position:relative!important;display:grid!important;align-content:space-between!important;gap:20px!important;min-height:132px!important;padding:24px!important;color:#fff!important;background:radial-gradient(circle at 86% 24%,rgba(239,93,49,.24),transparent 24%),linear-gradient(135deg,var(--how-primary) 0%,var(--how-primary-dark) 100%)!important}\",\n      \"#how-to-use .ou-video-card-top:after{content:'OUGIST'!important;position:absolute!important;right:20px!important;bottom:10px!important;color:rgba(255,255,255,.08)!important;font-size:clamp(44px,7vw,84px)!important;line-height:1!important;font-weight:950!important;letter-spacing:0!important;pointer-events:none!important}\",\n      \"#how-to-use .ou-video-meta-row,#how-to-use .ou-video-caption-row,#how-to-use .ou-video-actions{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:10px!important}\",\n      \"#how-to-use .ou-video-spec,#how-to-use .ou-video-chip{display:inline-flex!important;align-items:center!important;min-height:30px!important;padding:0 11px!important;border-radius:999px!important;font-size:12px!important;line-height:1!important;font-weight:850!important}\",\n      \"#how-to-use .ou-video-spec{color:rgba(255,255,255,.82)!important;background:rgba(255,255,255,.1)!important}\",\n      \"#how-to-use .ou-video-brand{position:relative!important;z-index:1!important;color:#fff!important;font-size:28px!important;line-height:1!important;font-weight:950!important}\",\n      \"#how-to-use .ou-video-card-band{height:4px!important;background:var(--how-accent)!important}\",\n      \"#how-to-use .ou-card-eyebrow{display:inline-flex!important;width:max-content!important;align-items:center!important;min-height:28px!important;padding:0 11px!important;border:1px solid rgba(239,93,49,.22)!important;border-radius:999px!important;color:var(--how-accent)!important;background:rgba(239,93,49,.1)!important;font-size:11px!important;font-weight:950!important;letter-spacing:.08em!important;text-transform:uppercase!important}\",\n      \"#how-to-use .ou-video-card-top .ou-card-eyebrow{color:#fff!important;background:var(--how-accent)!important;border-color:transparent!important}\",\n      \"#how-to-use .ou-video-frame,#how-to-use .ou-video-frame.has-real-video{min-height:0!important;padding:0!important;border-radius:0!important;background:#0b1220!important;box-shadow:none!important;place-items:stretch!important;text-align:left!important}\",\n      \"#how-to-use .ou-product-video{object-fit:contain!important;background:#0b1220!important}\",\n      \"#how-to-use .ou-video-card figcaption{display:grid!important;align-content:start!important;gap:16px!important;margin:0!important;padding:22px 24px 24px!important;color:inherit!important}\",\n      \"#how-to-use .ou-video-caption-copy{padding-left:14px!important;border-left:4px solid var(--how-accent)!important}\",\n      \"#how-to-use .ou-video-card figcaption strong{color:var(--how-primary)!important;font-size:20px!important;line-height:1.2!important;font-weight:950!important}\",\n      \"#how-to-use .ou-video-card figcaption span{color:var(--how-muted)!important}\",\n      \"#how-to-use .ou-video-chip{color:var(--how-primary)!important;background:#f1f5fb!important;border:1px solid var(--how-border)!important}\",\n      \"#how-to-use .ou-video-cta{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:44px!important;padding:0 16px!important;border:1px solid transparent!important;border-radius:999px!important;font-size:13px!important;font-weight:900!important;cursor:pointer!important}\",\n      \"#how-to-use .ou-video-cta-primary{color:#fff!important;background:var(--how-primary)!important}\",\n      \"#how-to-use .ou-video-cta-secondary{color:var(--how-primary)!important;background:#fff!important;border-color:var(--how-border)!important}\",\n      \"#how-to-use .ou-instruction-frame{position:relative!important;display:grid!important;align-content:start!important;padding:24px!important;height:100%!important;overflow:hidden!important;background:#fff!important}\",\n      \"#how-to-use .ou-instruction-head{display:grid!important;gap:10px!important;margin-bottom:18px!important}\",\n      \"#how-to-use .ou-instruction-head h3{margin:0!important;color:var(--how-primary)!important;font-size:clamp(28px,3vw,38px)!important;line-height:1.08!important;font-weight:950!important}\",\n      \"#how-to-use .ou-instruction-head p{margin:0!important;color:var(--how-muted)!important;font-size:15px!important;line-height:1.55!important}\",\n      \"#how-to-use .ou-pass-steps{display:grid!important;grid-template-columns:1fr!important;gap:12px!important;margin:0!important}\",\n      \"#how-to-use .ou-pass-step{--step-color:var(--how-primary);position:relative!important;display:grid!important;grid-template-columns:52px minmax(0,1fr) auto!important;gap:14px!important;align-items:center!important;min-width:0!important;padding:16px!important;overflow:hidden!important;border:1px solid var(--how-border)!important;border-radius:18px!important;color:var(--how-primary)!important;text-align:left!important;background:#f8fafc!important}\",\n      \"#how-to-use .ou-pass-step:nth-child(even){--step-color:var(--how-accent);background:#fff7f3!important}\",\n      \"#how-to-use .ou-pass-step:before{content:''!important;position:absolute!important;inset:14px auto 14px 0!important;width:4px!important;border-radius:999px!important;background:var(--step-color)!important}\",\n      \"#how-to-use .ou-pass-letter{display:grid!important;place-items:center!important;width:38px!important;height:38px!important;border-radius:50%!important;color:#fff!important;background:var(--step-color)!important;font-size:16px!important;line-height:1!important}\",\n      \"#how-to-use .ou-pass-copy{display:grid!important;gap:4px!important;min-width:0!important}\",\n      \"#how-to-use .ou-pass-copy strong{color:var(--how-primary)!important;font-size:16px!important;line-height:1.2!important;font-weight:950!important}\",\n      \"#how-to-use .ou-pass-copy span{color:var(--how-muted)!important;font-size:14px!important;line-height:1.45!important;font-weight:600!important}\",\n      \"#how-to-use .ou-pass-icon{display:grid!important;place-items:center!important;width:42px!important;height:42px!important;border-radius:14px!important;color:var(--step-color)!important;background:#fff!important;border:1px solid rgba(33,51,91,.1)!important;font-size:20px!important;font-weight:950!important}\",\n      \"#how-to-use .ou-pass-visual{display:grid!important;gap:12px!important;margin-top:16px!important;padding:14px!important;overflow:visible!important;border-radius:20px!important;background:#f8fafc!important;border:1px solid var(--how-border)!important}\",\n      \"#how-to-use .ou-pass-visual img{display:block!important;width:100%!important;height:auto!important;max-height:none!important;object-fit:contain!important;object-position:center center!important;box-sizing:border-box!important;padding:10px!important;border-radius:0!important;background:#fff!important;border:0!important}\",\n      \"#how-to-use .ou-pass-legend{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:8px!important}\",\n      \"#how-to-use .ou-pass-legend span{display:grid!important;place-items:center!important;min-height:32px!important;border-radius:12px!important;color:var(--how-primary)!important;background:#fff!important;border:1px solid var(--how-border)!important;font-size:13px!important;font-weight:950!important}\",\n      \"#how-to-use .ou-how-bottom{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important;margin-top:24px!important}\",\n      \"#how-to-use .ou-resource-card{display:grid!important;grid-template-columns:58px minmax(0,1fr)!important;gap:16px!important;align-items:start!important;padding:24px!important;color:#fff!important;background:radial-gradient(circle at 86% 16%,rgba(239,93,49,.22),transparent 28%),linear-gradient(135deg,var(--how-primary) 0%,var(--how-primary-dark) 100%)!important}\",\n      \"#how-to-use .ou-resource-icon{display:grid!important;place-items:center!important;width:58px!important;height:58px!important;border-radius:18px!important;color:#fff!important;background:var(--how-accent)!important;font-size:13px!important;font-weight:950!important;letter-spacing:.06em!important}\",\n      \"#how-to-use .ou-resource-card h3{margin:0!important;color:#fff!important;font-size:22px!important;line-height:1.2!important;font-weight:900!important}\",\n      \"#how-to-use .ou-resource-card p{margin:8px 0 0!important;color:rgba(255,255,255,.72)!important;font-size:14px!important;line-height:1.5!important}\",\n      \"#how-to-use .ou-resource-links{grid-column:1/-1!important;display:flex!important;flex-wrap:wrap!important;justify-content:flex-start!important;gap:10px!important}\",\n      \"#how-to-use .ou-resource-link{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;border-radius:14px!important;padding:0 15px!important;color:#fff!important;background:rgba(255,255,255,.09)!important;border:1px solid rgba(255,255,255,.16)!important;font-size:13px!important;font-weight:850!important;white-space:nowrap!important}\",\n      \"#how-to-use .ou-safety-note{display:grid!important;grid-template-columns:44px 1fr!important;gap:14px!important;align-items:start!important;padding:24px!important;color:#7a2b12!important;background:#fff7f3!important;border-color:rgba(239,93,49,.25)!important;font-size:15px!important;line-height:1.55!important}\",\n      \"#how-to-use .ou-safety-icon{display:grid!important;place-items:center!important;width:44px!important;height:44px!important;border-radius:16px!important;color:#fff!important;background:var(--how-accent)!important;font-size:20px!important;font-weight:950!important;line-height:1!important}\",\n      \"@media (min-width:991px){#how-to-use .ou-video-card{position:sticky!important;top:96px!important}}\",\n      \"@media (max-width:990px){#how-to-use .ou-how-grid,#how-to-use .ou-how-bottom{grid-template-columns:1fr!important}#how-to-use .ou-video-card{position:static!important}}\",\n      \"@media (max-width:640px){#how-to-use{padding-bottom:64px!important}#how-to-use .ou-section-head{padding:26px 20px!important;border-radius:0 0 22px 22px!important}#how-to-use .ou-video-card,#how-to-use .ou-instruction-frame,#how-to-use .ou-resource-card,#how-to-use .ou-safety-note{border-radius:20px!important}#how-to-use .ou-video-card-top,#how-to-use .ou-video-card figcaption,#how-to-use .ou-instruction-frame,#how-to-use .ou-resource-card,#how-to-use .ou-safety-note{padding:18px!important}#how-to-use .ou-pass-step{grid-template-columns:42px minmax(0,1fr)!important;padding:14px!important}#how-to-use .ou-pass-icon{display:none!important}#how-to-use .ou-video-actions,#how-to-use .ou-resource-links{display:grid!important;grid-template-columns:1fr!important}}\"\n    ].join(\"\");\n    document.head.appendChild(style);\n  }\n\n  function makeHowPill(text) {\n    var pill = document.createElement(\"span\");\n    pill.textContent = text;\n    return pill;\n  }\n\n  function enhanceHowToUseSection() {\n    injectHowToUseUiStyles();\n    var section = document.getElementById(\"how-to-use\");\n    if (!section) return false;\n\n    var head = section.querySelector(\".ou-section-head\");\n    if (head) {\n      var heading = head.querySelector(\"h2\");\n      var intro = Array.prototype.slice.call(head.children).filter(function (node) {\n        return node.tagName === \"P\" && !node.classList.contains(\"ou-section-label\");\n      })[0];\n      if (heading) heading.textContent = \"OUGIST Safety Use Center\";\n      if (intro) intro.textContent = \"Watch the demo, learn the PASS steps, download product guides, and keep the safety notice close before first use.\";\n    }\n    if (head && !head.querySelector(\".ou-how-tagbar\")) {\n      var tagbar = document.createElement(\"div\");\n      tagbar.className = \"ou-how-tagbar\";\n      tagbar.setAttribute(\"aria-label\", \"How to use resources\");\n      tagbar.appendChild(makeHowPill(\"Official video\"));\n      tagbar.appendChild(makeHowPill(\"PASS guide\"));\n      tagbar.appendChild(makeHowPill(\"PDF downloads\"));\n      head.appendChild(tagbar);\n    }\n\n    var videoCard = section.querySelector(\".ou-video-card\");\n    if (videoCard && !videoCard.querySelector(\".ou-card-eyebrow\")) {\n      var demo = document.createElement(\"span\");\n      demo.className = \"ou-card-eyebrow\";\n      demo.textContent = \"Product demo\";\n      videoCard.insertBefore(demo, videoCard.firstElementChild);\n    }\n    var caption = videoCard && videoCard.querySelector(\"figcaption\");\n    if (caption && !caption.querySelector(\"strong\")) {\n      caption.innerHTML = \"<strong>Watch before first use</strong><span>Follow the official OUGIST extinguisher demo and setup walkthrough before storing the product.</span>\";\n    }\n\n    var instruction = section.querySelector(\".ou-instruction-frame\");\n    var instructionImage = instruction && instruction.querySelector(\"img\");\n    if (instruction && instructionImage && !instruction.querySelector(\".ou-instruction-head\")) {\n      var instructionHead = document.createElement(\"div\");\n      instructionHead.className = \"ou-instruction-head\";\n      instructionHead.innerHTML = '<span class=\"ou-card-eyebrow\">PASS method</span><h3>Four moves to remember</h3><p>Use the visual guide below as a quick customer reference for small, contained fires.</p>';\n      instruction.insertBefore(instructionHead, instructionImage);\n    }\n    if (instruction && instructionImage && !instruction.querySelector(\".ou-pass-steps\")) {\n      var passSteps = document.createElement(\"div\");\n      passSteps.className = \"ou-pass-steps\";\n      passSteps.setAttribute(\"aria-label\", \"PASS method steps\");\n      passSteps.innerHTML = '<span class=\"ou-pass-step\"><span class=\"ou-pass-letter\">P</span>Pull</span><span class=\"ou-pass-step\"><span class=\"ou-pass-letter\">A</span>Aim</span><span class=\"ou-pass-step\"><span class=\"ou-pass-letter\">S</span>Squeeze</span><span class=\"ou-pass-step\"><span class=\"ou-pass-letter\">S</span>Sweep</span>';\n      instruction.insertBefore(passSteps, instructionImage);\n    }\n\n    var resource = section.querySelector(\".ou-resource-card\");\n    if (resource && !resource.querySelector(\".ou-resource-icon\")) {\n      var resourceIcon = document.createElement(\"span\");\n      resourceIcon.className = \"ou-resource-icon\";\n      resourceIcon.setAttribute(\"aria-hidden\", \"true\");\n      resourceIcon.textContent = \"PDF\";\n      resource.insertBefore(resourceIcon, resource.firstElementChild);\n    }\n\n    var safety = section.querySelector(\".ou-safety-note\");\n    if (safety && !safety.querySelector(\".ou-safety-icon\")) {\n      var safetyContent = document.createElement(\"div\");\n      safetyContent.innerHTML = safety.innerHTML;\n      safety.textContent = \"\";\n      var safetyIcon = document.createElement(\"span\");\n      safetyIcon.className = \"ou-safety-icon\";\n      safetyIcon.setAttribute(\"aria-hidden\", \"true\");\n      safetyIcon.textContent = \"!\";\n      safety.appendChild(safetyIcon);\n      safety.appendChild(safetyContent);\n    }\n    return true;\n  }\n\n  function wireHowToUseVideoPlay() {\n    var section = document.getElementById(\"how-to-use\");\n    if (!section || section.getAttribute(\"data-ou-video-play-wired\") === \"true\") return;\n    section.setAttribute(\"data-ou-video-play-wired\", \"true\");\n    section.addEventListener(\"click\", function (event) {\n      var trigger = event.target && event.target.closest && event.target.closest(\"[data-ou-play-video]\");\n      if (!trigger) return;\n      var video = section.querySelector(\"video.ou-product-video\");\n      if (!video) return;\n      event.preventDefault();\n      if (video.scrollIntoView) {\n        video.scrollIntoView({ block: \"center\", behavior: \"smooth\" });\n      }\n      var playPromise = video.play();\n      if (playPromise && playPromise.catch) {\n        playPromise.catch(function () {\n          if (video.focus) video.focus();\n        });\n      }\n    });\n  }\n\n  function injectLogoPatchStyles() {\n    if (document.getElementById(\"ougist-warranty-logo-patch-style\")) return;\n    var style = document.createElement(\"style\");\n    style.id = \"ougist-warranty-logo-patch-style\";\n    style.textContent = [\n      \".ou-nav .ou-logo{width:156px!important;max-width:34vw!important;height:auto!important;aspect-ratio:628/209!important;object-fit:contain!important}\",\n      \"@media(max-width:640px){.ou-nav .ou-logo{width:118px!important;max-width:42vw!important}}\"\n    ].join(\"\");\n    document.head.appendChild(style);\n  }\n\n  function patchWarrantyLogo() {\n    var logo = document.querySelector(\".ou-nav .ou-logo\");\n    if (!logo) return;\n    injectLogoPatchStyles();\n    logo.src = logoUrl;\n    logo.srcset = logoSrcset;\n    logo.sizes = \"(max-width: 640px) 118px, 156px\";\n    logo.alt = \"OUGIST\";\n    logo.width = 628;\n    logo.height = 209;\n    logo.decoding = \"async\";\n    logo.setAttribute(\"fetchpriority\", \"high\");\n  }\n\n  function patchWarrantyVideo() {\n    var frames = Array.prototype.slice.call(document.querySelectorAll(\".ou-video-frame[data-ou-youtube-slot], .ou-video-frame\"));\n    var changed = false;\n    frames.forEach(function (frame) {\n      if (!frame) return;\n      var hasPlaceholder = /YouTube use guide area|OUGIST Product Video/i.test(frame.textContent || \"\");\n      var isVideoSlot = frame.hasAttribute(\"data-ou-youtube-slot\") || frame.hasAttribute(\"data-ou-video-slot\") || hasPlaceholder;\n      if (!isVideoSlot) return;\n      var existingVideo = frame.querySelector(\"video.ou-product-video\");\n      if (existingVideo && existingVideo.querySelector(\"source[src*='92743630a96745418a5b1b9badb960d4']\")) {\n        injectVideoPatchStyles();\n        frame.classList.add(\"has-real-video\");\n        frame.removeAttribute(\"data-ou-youtube-slot\");\n        frame.setAttribute(\"data-ou-video-slot\", \"\");\n        changed = true;\n        return;\n      }\n      injectVideoPatchStyles();\n      frame.classList.add(\"has-real-video\");\n      frame.removeAttribute(\"data-ou-youtube-slot\");\n      frame.setAttribute(\"data-ou-video-slot\", \"\");\n      frame.innerHTML = [\n        '<video class=\"ou-product-video\" controls playsinline preload=\"metadata\" poster=\"' + warrantyVideoPoster + '\" aria-label=\"OUGIST fire extinguisher product use guide video\">',\n        warrantyVideoSources,\n        \"Your browser does not support the video tag.\",\n        \"</video>\"\n      ].join(\"\");\n      var card = frame.closest(\".ou-video-card\");\n      var caption = card && card.querySelector(\"figcaption\");\n      if (caption && !caption.querySelector(\"strong\")) caption.textContent = \"Watch the official OUGIST extinguisher demo and setup walkthrough.\";\n      changed = true;\n    });\n    return changed;\n  }\n\n  function watchWarrantyVideoSlot() {\n    var attempts = 0;\n    var interval = window.setInterval(function () {\n      attempts += 1;\n      patchWarrantyVideo();\n      if (attempts >= 40) window.clearInterval(interval);\n    }, 500);\n    if (!window.MutationObserver || !document.body) return;\n    var observer = new MutationObserver(function () {\n      patchWarrantyVideo();\n    });\n    observer.observe(document.body, { childList: true, subtree: true });\n    window.setTimeout(function () {\n      observer.disconnect();\n    }, 30000);\n  }\n\n  function patchWarrantyVideoLegacyFallback() {\n    if (!document.querySelector(\".ou-video-frame\")) return;\n    injectVideoPatchStyles();\n    patchWarrantyVideo();\n  }\n\n  function removeHeroFloatCards() {\n    document.querySelectorAll(\".ou-card-certified, .ou-card-serial\").forEach(function (card) {\n      card.remove();\n    });\n  }\n\n  function fieldNode(root, selector) {\n    var field = root.querySelector(selector);\n    return field && field.closest(\".ou-field, .ou-radio-group, .ou-consent-row\");\n  }\n\n  function addUnique(list, node) {\n    if (node && list.indexOf(node) === -1) list.push(node);\n  }\n\n  function makeStep(label, title, detail) {\n    var step = document.createElement(\"div\");\n    var grid = document.createElement(\"div\");\n    step.className = \"ou-form-step\";\n    grid.className = \"ou-form-step-grid\";\n    step.innerHTML = [\n      '<div class=\"ou-form-step-head\">',\n      '<span class=\"ou-form-step-label\">' + label + \"</span>\",\n      \"<h4>\" + title + \"</h4>\",\n      \"<p>\" + detail + \"</p>\",\n      \"</div>\"\n    ].join(\"\");\n    step.appendChild(grid);\n    return { step: step, grid: grid };\n  }\n\n  function wrapRegistrationSteps(root) {\n    var formGrid = root.querySelector(\".ou-form-grid\");\n    if (!formGrid || formGrid.querySelector(\".ou-form-step\")) return;\n\n    var productNodes = [];\n    addUnique(productNodes, fieldNode(formGrid, \"#ou-reg-order\"));\n    addUnique(productNodes, fieldNode(formGrid, \"#ou-reg-serial\"));\n    addUnique(productNodes, formGrid.querySelector(\".ou-radio-group\"));\n    addUnique(productNodes, fieldNode(formGrid, \"#ou-reg-more-number\"));\n\n    var contactNodes = [];\n    addUnique(contactNodes, fieldNode(formGrid, \"#ou-reg-first-name\"));\n    addUnique(contactNodes, fieldNode(formGrid, \"#ou-reg-last-name\"));\n    addUnique(contactNodes, fieldNode(formGrid, \"#ou-reg-email\"));\n    addUnique(contactNodes, fieldNode(formGrid, \"#ou-reg-phone\"));\n    addUnique(contactNodes, fieldNode(formGrid, \"#ou-reg-city\"));\n    addUnique(contactNodes, fieldNode(formGrid, \"#ou-reg-state\"));\n    addUnique(contactNodes, fieldNode(formGrid, \"#ou-reg-country\"));\n\n    if (!productNodes.length || !contactNodes.length) return;\n\n    var consent = formGrid.querySelector(\".ou-consent-row\");\n    var productStep = makeStep(\"Step 1\", \"Product details\", \"Start with the two fields that matter most. The same entry can retrieve an existing card or begin a new registration.\");\n    var contactStep = makeStep(\"Step 2\", \"Contact and address\", \"Tell us who owns the product and where warranty support should be tied.\");\n    productNodes.forEach(function (node) {\n      productStep.grid.appendChild(node);\n    });\n    contactNodes.forEach(function (node) {\n      contactStep.grid.appendChild(node);\n    });\n    formGrid.insertBefore(productStep.step, consent || null);\n    formGrid.insertBefore(contactStep.step, consent || null);\n  }\n\n  function mergeRegistrationIntro(root) {\n    var registerCard = root.closest(\".ou-register-card\");\n    var registerGrid = root.closest(\".ou-register-grid\");\n    if (!registerCard || !registerGrid || root.querySelector(\".ou-register-intro\")) return;\n\n    var columns = Array.prototype.slice.call(registerGrid.children);\n    var introColumn = columns.filter(function (node) {\n      return node !== registerCard && node.querySelector && node.querySelector(\"h2\");\n    })[0];\n    if (!introColumn) return;\n\n    var intro = document.createElement(\"div\");\n    intro.className = \"ou-register-intro\";\n    [\"p.ou-section-label\", \"h2\"].forEach(function (selector) {\n      var node = introColumn.querySelector(selector);\n      if (node) intro.appendChild(node);\n    });\n    var introText = Array.prototype.slice.call(introColumn.children).filter(function (node) {\n      return node.tagName === \"P\" && !node.classList.contains(\"ou-section-label\");\n    })[0];\n    if (introText) {\n      introText.removeAttribute(\"style\");\n      intro.appendChild(introText);\n    }\n    var checklist = introColumn.querySelector(\".ou-checklist\");\n    if (checklist) intro.appendChild(checklist);\n    root.insertBefore(intro, root.firstElementChild);\n\n    if (!clean(introColumn.textContent) && !introColumn.querySelector(\"input, button, textarea, select\")) {\n      introColumn.remove();\n    }\n  }\n\n  function patchRegistrationLayout(root) {\n    injectLayoutPatchStyles();\n    mergeRegistrationIntro(root);\n    wrapRegistrationSteps(root);\n    applyRegistrationRedesign(root);\n  }\n\n  function boot() {\n    removeHeroFloatCards();\n    window.setTimeout(removeHeroFloatCards, 800);\n    patchWarrantyLogo();\n    window.setTimeout(patchWarrantyLogo, 800);\n    patchWarrantyVideo();\n    enhanceHowToUseSection();\n    wireHowToUseVideoPlay();\n    window.setTimeout(patchWarrantyVideoLegacyFallback, 800);\n    window.setTimeout(enhanceHowToUseSection, 900);\n    window.setTimeout(wireHowToUseVideoPlay, 900);\n    watchWarrantyVideoSlot();\n    var root = document.getElementById(\"mpr-root\");\n    var memberCenter = document.getElementById(\"member-center\");\n    if (!root || !memberCenter) return;\n    patchRegistrationLayout(root);\n    wireRegistrationForm(root, memberCenter);\n  }\n\n  if (document.readyState === \"loading\") {\n    document.addEventListener(\"DOMContentLoaded\", boot, { once: true });\n  } else {\n    boot();\n  }\n})();\n"],
  "mappings": "CAAC,UAAY,CACX,aAEA,GAAI,OAAO,wCAAyC,OACpD,OAAO,wCAA0C,GAEjD,IAAI,iBAAmB,OAAO,oCAAsC,iCAChE,eAAiB,OAAO,8BAAgC,+BACxD,2BAA6B,OAAO,kCAAoC,2DACxE,0BAA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