{
  "version": 3,
  "sources": ["/cdn/shop/t/36/assets/ark-page.js?b=20261118d"],
  "sourcesContent": ["/* ============================================================\n   TDHQ page sections behaviour \u2014 ark-page.js\n\n   Only two jobs: conditional contact-form fields, and moving focus to\n   the form's confirmation or error message after a submit.\n\n   Everything else in the page library is CSS and semantic HTML on\n   purpose \u2014 the FAQ accordion is <details>, the steps are an <ol>, the\n   cards are <a> elements. Nothing here is required to use a page.\n\n   The blog pager (pages change in place) is the second block of this file.\n\n   18 Nov 2026: the collection and search listing code (filter panel, facet\n   lists, the in-place listing swap, sold-out last, the pager, the\n   filtered-variant link) moved to assets/ark-listing.js, which the layout\n   loads on collection and search pages only. It was three quarters of this\n   file and did nothing on a basket, article, blog or content page. A note\n   elsewhere that names ark-page.js for filters, sorting, stockFirst or the\n   listing pager means ark-listing.js.\n   ============================================================ */\n(function () {\n  'use strict';\n\n  if (window.__arkPageLoaded) return;\n  window.__arkPageLoaded = true;\n\n  /* ---------------------------------------------------------\n     CONDITIONAL CONTACT FIELDS\n     --------------------------------------------------------- */\n  /* advice forms on this page: one click listener serves them all (W1-094, 18 Nov 2026) */\n  var adviceForms = [];\n  function wireConditionalFields(scope) {\n    // Scoped rather than document-wide: Product Advice and Apply for Trade can\n    // both appear as forms on one page, and a global lookup would let the first\n    // form's controller drive the second form's fields.\n    var select = scope.querySelector('[data-ark-enquiry-type], [data-ark-controller]');\n    var groups = scope.querySelectorAll('[data-ark-when]');\n    var conditionallyRequired = scope.querySelectorAll('[data-ark-required-when]');\n    if (!select || (!groups.length && !conditionallyRequired.length)) return;\n\n    function apply() {\n      var value = controlValue(select);\n      Array.prototype.forEach.call(groups, function (group) {\n        var matches = group.getAttribute('data-ark-when').split(',').map(function (s) {\n          return s.trim();\n        });\n        var show = matches.indexOf(value) !== -1;\n        group.hidden = !show;\n\n        // A hidden field must never be submitted or block validation. Clearing\n        // the answer also stops stale answers from a previously-selected enquiry\n        // type reaching the inbox and confusing whoever reads it.\n        // Cleared BY KIND: a tick box or radio is unticked, never emptied - its\n        // value is what it posts (\"Yes\", the option's label), so blanking it\n        // made the box post an empty answer once the group was shown again.\n        // A hidden input's value is fixed data, not an answer, and is kept.\n        Array.prototype.forEach.call(group.querySelectorAll('input, select, textarea'), function (field) {\n          field.disabled = !show;\n          if (!show) {\n            if (field.tagName === 'SELECT') { field.selectedIndex = 0; }\n            else if (field.type === 'checkbox' || field.type === 'radio') { field.checked = false; }\n            else if (field.type !== 'hidden') { field.value = ''; }\n          }\n        });\n      });\n    }\n\n    /* A field that is only NEEDED for some answers - the telephone number when\n       the customer asks to be phoned. It stays visible and optional otherwise,\n       so the form does not grow and shrink as they answer; only the asterisk\n       and the browser's own validation change.\n\n       The condition NAMES ITS OWN CONTROLLER, because the field it depends on\n       is usually not the one that shows and hides groups: on Product Advice the\n       groups follow \"Advice type\" while the telephone number follows \"Preferred\n       reply\". Written as \"Preferred reply: Telephone, WhatsApp\"; with no label\n       before the colon it falls back to the section's main controller. */\n    function parseCondition(raw) {\n      var i = raw.indexOf(':');\n      var field = i > -1 ? raw.slice(0, i).trim() : '';\n      var values = (i > -1 ? raw.slice(i + 1) : raw).split(',').map(function (v) { return v.trim(); });\n      return { field: field, values: values };\n    }\n\n    function controllerFor(name) {\n      if (!name) { return select; }\n      return scope.querySelector('[name=\"contact[' + name.replace(/\"/g, '') + ']\"]') || select;\n    }\n\n    /* A RADIO GROUP HAS NO SINGLE ELEMENT TO READ. controllerFor hands back the\n       FIRST member of the group, and its .value is its own option - \"Email\" -\n       whether or not it is the one chosen. Preferred reply method is a radio\n       group now (brief 36), so read the member that is actually checked. */\n    function controlValue(ctl) {\n      if (!ctl) { return ''; }\n      if (ctl.type === 'radio' && ctl.name) {\n        var chosen = scope.querySelector('[name=\"' + ctl.name.replace(/\"/g, '') + '\"]:checked');\n        return chosen ? chosen.value : '';\n      }\n      return ctl.value;\n    }\n\n    function applyRequired() {\n      Array.prototype.forEach.call(conditionallyRequired, function (group) {\n        var cond = parseCondition(group.getAttribute('data-ark-required-when') || '');\n        var ctl = controllerFor(cond.field);\n        var need = !!ctl && cond.values.indexOf(controlValue(ctl)) !== -1;\n        /* Never required while hidden: the browser refuses to submit and points\n           at a control that is not on screen. */\n        if (group.hidden) { need = false; }\n        Array.prototype.forEach.call(group.querySelectorAll('input, select, textarea'), function (field) {\n          field.required = need;\n          field.setAttribute('aria-required', need ? 'true' : 'false');\n        });\n      });\n    }\n\n    var applyAll = function () { apply(); applyRequired(); };\n    select.addEventListener('change', applyAll);\n\n    /* Listen to every field a condition names, once each. */\n    var watched = [];\n    Array.prototype.forEach.call(conditionallyRequired, function (group) {\n      var cond = parseCondition(group.getAttribute('data-ark-required-when') || '');\n      var ctl = controllerFor(cond.field);\n      if (ctl && ctl !== select && watched.indexOf(ctl) === -1) {\n        watched.push(ctl);\n        /* One radio only hears its OWN change, so the group is watched through\n           the form wrapper the events bubble to instead. Registering the same\n           function twice on the same element is a no-op, so two conditions on\n           two groups still bind once. */\n        if (ctl.type === 'radio') { scope.addEventListener('change', applyRequired); }\n        else { ctl.addEventListener('change', applyRequired); }\n      }\n    });\n    // Run once on load: the groups render visible so a no-JS visitor sees\n    // everything, and this collapses them to the relevant set.\n    applyAll();\n\n    /* ---- ROUTE LINKS PRESELECT THE ADVICE TYPE (brief 16-21, 49) ----\n\n       The six advice route cards and the fitting band's Upload My Fitting\n       Photos all lead to this one form, and they used to land on it with\n       nothing chosen: the customer answers \"what do you need help with?\"\n       once by choosing a card and again by finding the same words in a list.\n\n       The choice travels in ?advice=<option value>. On load it is applied only\n       while the list is still unanswered, so a half-filled form that is\n       reloaded is never rewritten. A click on a link on THIS page applies it\n       with no page load at all, which is also what stops anything already\n       typed from being thrown away. Neither ever submits the form. */\n    function focusAfterController() {\n      var all = scope.querySelectorAll('input, select, textarea');\n      var passed = false;\n      for (var i = 0; i < all.length; i++) {\n        if (all[i] === select) { passed = true; continue; }\n        if (!passed || all[i].disabled || all[i].type === 'hidden') { continue; }\n        var box = all[i].getBoundingClientRect();\n        if (!box.width && !box.height) { continue; }\n        /* preventScroll: the browser has just jumped to the form's anchor, or\n           is scrolling to it below. Focusing would otherwise move the page a\n           second time, under the reader. */\n        try { all[i].focus({ preventScroll: true }); } catch (err) { all[i].focus(); }\n        return;\n      }\n    }\n\n    function preselect(value, moveFocus) {\n      if (!value || !select.options) { return false; }\n      for (var i = 0; i < select.options.length; i++) {\n        if (select.options[i].value !== value) { continue; }\n        if (select.value !== value) {\n          select.value = value;\n          /* A real change event: the custom dropdown repaints from it and the\n             conditional fields re-run. */\n          select.dispatchEvent(new Event('change', { bubbles: true }));\n        }\n        if (moveFocus) { focusAfterController(); }\n        return true;\n      }\n      return false;\n    }\n\n    function adviceFrom(search) {\n      try { return new URLSearchParams(search).get('advice') || ''; }\n      catch (err) { return ''; }\n    }\n\n    if (!select.value) { preselect(adviceFrom(window.location.search), true); }\n\n    /* ONE listener for every advice form on the page (W1-094, 18 Nov 2026): it used to be added again for each form\n       on every re-run (theme editor), each copy holding its own form even after that form had been replaced. The\n       forms are looked at when the link is clicked; one that has left the page is dropped. */\n    adviceForms.push({ select: select, preselect: preselect, focus: focusAfterController });\n    if (!adviceForms.bound) {\n      adviceForms.bound = true;\n      document.addEventListener('click', function (e) {\n        if (e.defaultPrevented || e.metaKey || e.ctrlKey || e.shiftKey || e.button > 0) { return; }\n        var link = e.target && e.target.closest ? e.target.closest('a[href]') : null;\n        if (!link || link.target === '_blank') { return; }\n        var url;\n        try { url = new URL(link.href, window.location.href); } catch (err) { return; }\n        /* Only a link back to THIS page: from anywhere else it is an ordinary\n           navigation and the load-time branch above picks the choice up. */\n        if (url.pathname !== window.location.pathname) { return; }\n        var want = adviceFrom(url.search);\n        if (!want) { return; }\n        for (var k = adviceForms.length - 1; k >= 0; k--) { if (!adviceForms[k].select.isConnected) { adviceForms.splice(k, 1); } }\n        var hit = null;\n        for (var j = 0; j < adviceForms.length && !hit; j++) { if (adviceForms[j].preselect(want, false)) { hit = adviceForms[j]; } }\n        if (!hit) { return; }\n        e.preventDefault();\n        var target = url.hash ? document.getElementById(url.hash.slice(1)) : null;\n        if (target) {\n          target.scrollIntoView({ behavior: (window.ArkMotion && window.ArkMotion.behavior) ? window.ArkMotion.behavior()\n            : (window.matchMedia('(prefers-reduced-motion: reduce)').matches ? 'auto' : 'smooth'), block: 'start' });\n        }\n        hit.focus();\n        /* The address bar keeps the choice, so the page can be shared or\n           reloaded and land the same way. Nothing personal is in it. */\n        try { window.history.replaceState(null, '', url.pathname + url.search + url.hash); } catch (err) {}\n      });\n    }\n  }\n\n  function initForms(root) {\n    var forms = root.querySelectorAll('[data-ark-form]');\n    if (forms.length) {\n      Array.prototype.forEach.call(forms, wireConditionalFields);\n    } else if (root === document) {\n      // The original contact form predates the wrapper attribute.\n      wireConditionalFields(document);\n    }\n  }\n\n  initForms(document);\n\n  // Editing a form section in the theme editor re-renders it, which discards\n  // the listeners bound above.\n  document.addEventListener('shopify:section:load', function (event) {\n    initForms(event.target);\n  });\n\n  /* ---------------------------------------------------------\n     POST-SUBMIT FOCUS\n     Shopify reloads the page after a contact-form post, so without this\n     the outcome is announced nowhere and the visitor is left at the top\n     of the page unsure whether anything happened.\n     --------------------------------------------------------- */\n  (function formOutcome() {\n    var target = document.querySelector('[data-ark-form-err]') ||\n                 document.querySelector('[data-ark-form-ok]');\n    if (!target) return;\n\n    target.focus({ preventScroll: true });\n    target.scrollIntoView({ block: 'center', behavior: 'auto' });\n  })();\n})();\n\n/* ============================================================\n   BLOG PAGES CHANGE IN PLACE (owner 21 Oct: \"when you change pages in blogs its super bad now and not smooth at\n   all\"). The pager's links were full page loads that landed on the big banner again. A pager link now swaps only\n   the results region (sections/arkui-blog.liquid #blog-results) through the Section Rendering API, the documented\n   pattern also used for the collection grid: the banner and the filters stay, the next page is warmed on hover or\n   touch, the old results dim only if the answer takes over 120ms, the new page fades in, the view moves to the\n   results when they are off screen, and focus goes to the article count. The address changes with pushState and\n   Back/Forward restore both the page and where the reader was. The links stay real ?page=N addresses: a modified\n   click, no script, an error or an unexpected answer is an ordinary page load.\n   ============================================================ */\n(function () {\n  'use strict';\n  if (!('fetch' in window) || !window.history || !history.pushState || !('content' in document.createElement('template'))) { return; }\n  var SEL = '[data-ark-blog-results]';\n  function region() { return document.querySelector(SEL); }\n  if (!region()) { return; }\n  var warm = {};\n  var seq = 0;\n  var listed = location.pathname + location.search;\n\n  function state(extra) {\n    var s = {};\n    var cur = history.state;\n    if (cur && typeof cur === 'object') { for (var k in cur) { if (Object.prototype.hasOwnProperty.call(cur, k)) { s[k] = cur[k]; } } }\n    for (var j in extra) { if (Object.prototype.hasOwnProperty.call(extra, j)) { s[j] = extra[j]; } }\n    return s;\n  }\n  try { history.replaceState(state({ arkBlog: 1, y: window.scrollY }), ''); } catch (e) {}\n  /* the entry keeps where the reader scrolled to, so Forward comes back there, not to the top (Codex 21 Oct) */\n  var yTimer = 0;\n  window.addEventListener('scroll', function () {\n    window.clearTimeout(yTimer);\n    yTimer = window.setTimeout(function () {\n      if (!region()) { return; }\n      try { history.replaceState(state({ arkBlog: 1, y: window.scrollY }), ''); } catch (e) {}\n    }, 300);\n  }, { passive: true });\n\n  function sectionUrl(url) {\n    var r = region();\n    var wrap = r && r.closest('[id^=\"shopify-section-\"]');\n    if (!wrap) { return null; }\n    var u = new URL(url, location.origin);\n    u.searchParams.set('section_id', wrap.id.replace('shopify-section-', ''));\n    return u.toString();\n  }\n  function get(url) {\n    var su = sectionUrl(url);\n    if (!su) { return Promise.reject(new Error('no section')); }\n    if (!warm[su]) {\n      /* 12 s at most, then the page loads normally (Codex 21 Oct: a stalled request left the list dimmed) */\n      var ctl = ('AbortController' in window) ? new AbortController() : null;\n      var guard = ctl ? window.setTimeout(function () { ctl.abort(); }, 12000) : 0;\n      warm[su] = fetch(su, ctl ? { credentials: 'same-origin', signal: ctl.signal } : { credentials: 'same-origin' }).then(function (res) {\n        window.clearTimeout(guard);\n        if (!res.ok) { throw new Error('HTTP ' + res.status); }\n        return res.text();\n      });\n      warm[su].catch(function () { delete warm[su]; });\n    }\n    return warm[su];\n  }\n\n  function load(url, push, restoreY) {\n    var r = region();\n    if (!r) { location.href = url; return; }\n    var my = ++seq;\n    /* the page being loaded is the page listed from now on (as the collection pager): Back then Forward before\n       the first answer came used to show page 1 under a page 2 address (Codex 21 Oct) */\n    try { var lu = new URL(url, location.origin); listed = lu.pathname + lu.search; } catch (e) {}\n    var busy = window.setTimeout(function () { if (my === seq) { r.classList.add('is-updating'); r.setAttribute('aria-busy', 'true'); } }, 120);\n    get(url).then(function (html) {\n      if (my !== seq) { return; }\n      window.clearTimeout(busy);\n      var tpl = document.createElement('template');\n      tpl.innerHTML = html;\n      var fresh = tpl.content.querySelector(SEL);\n      if (!fresh) { location.href = url; return; }\n      var cur = region();\n      if (!cur) { location.href = url; return; }\n      fresh.classList.add('is-arriving');\n      cur.replaceWith(fresh);\n      fresh.addEventListener('animationend', function arrived(ev) {\n        if (ev.target !== fresh) { return; }   /* a card picture's own fade-in bubbles up first */\n        fresh.classList.remove('is-arriving');\n        fresh.removeEventListener('animationend', arrived);\n      });\n      listed = new URL(url, location.origin).pathname + new URL(url, location.origin).search;\n      if (push) { history.pushState({ arkBlog: 1, y: 0 }, '', url); }\n      /* the title follows the page, in the server's own \"| Page N |\" form */\n      var pg = Number(new URL(url, location.origin).searchParams.get('page')) || 1;\n      var tt = document.title.replace(/ \\| Page \\d+(?= \\|)/, '');\n      if (pg > 1) { tt = tt.indexOf(' | ') > -1 ? tt.replace(/ \\| (?!.* \\| )/, ' | Page ' + pg + ' | ') : tt + ' | Page ' + pg; }\n      document.title = tt;\n      var calm = window.matchMedia && window.matchMedia('(prefers-reduced-motion: reduce)').matches;\n      if (typeof restoreY === 'number') {\n        window.scrollTo(0, restoreY);\n      } else {\n        var top = fresh.getBoundingClientRect().top;\n        if (top < 0 || top > window.innerHeight * 0.6) { fresh.scrollIntoView({ block: 'start', behavior: calm ? 'auto' : 'smooth' }); }\n      }\n      var count = fresh.querySelector('.arkui-blog__count');\n      if (count && typeof restoreY !== 'number') {\n        count.setAttribute('tabindex', '-1');\n        count.focus({ preventScroll: true });\n      }\n    }).catch(function () {\n      window.clearTimeout(busy);\n      if (my === seq) { location.href = url; }\n    });\n  }\n\n  function pagerLink(e) {\n    var a = e.target && e.target.closest ? e.target.closest(SEL + ' .arkui-blog__pager a[href]') : null;\n    if (!a || a.origin !== location.origin) { return null; }\n    return a;\n  }\n  ['pointerenter', 'focusin', 'touchstart'].forEach(function (type) {\n    document.addEventListener(type, function (e) { var a = pagerLink(e); if (a) { get(a.href).catch(function () {}); } }, { capture: true, passive: true });\n  });\n  document.addEventListener('click', function (e) {\n    if (e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) { return; }\n    var a = pagerLink(e);\n    if (!a) { return; }\n    e.preventDefault();\n    try { history.replaceState(state({ arkBlog: 1, y: window.scrollY }), ''); } catch (err) {}\n    load(a.href, true);\n  });\n  window.addEventListener('popstate', function (e) {\n    if (!region()) { return; }\n    var now = location.pathname + location.search;\n    if (now === listed) { return; }\n    var st = e.state;\n    load(location.href, false, st && typeof st.y === 'number' ? st.y : undefined);\n  });\n})();\n"],
  "mappings": "CAoBC,UAAY,CACX,aAEA,GAAI,OAAO,gBAAiB,OAC5B,OAAO,gBAAkB,GAMzB,IAAI,YAAc,CAAC,EACnB,SAAS,sBAAsB,MAAO,CAIpC,IAAI,OAAS,MAAM,cAAc,gDAAgD,EAC7E,OAAS,MAAM,iBAAiB,iBAAiB,EACjD,sBAAwB,MAAM,iBAAiB,0BAA0B,EAC7E,GAAI,CAAC,QAAW,CAAC,OAAO,QAAU,CAAC,sBAAsB,OAAS,OAElE,SAAS,OAAQ,CACf,IAAI,MAAQ,aAAa,MAAM,EAC/B,MAAM,UAAU,QAAQ,KAAK,OAAQ,SAAU,MAAO,CACpD,IAAI,QAAU,MAAM,aAAa,eAAe,EAAE,MAAM,GAAG,EAAE,IAAI,SAAU,EAAG,CAC5E,OAAO,EAAE,KAA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