{
  "version": 3,
  "sources": ["/cdn/shop/t/31/assets/a11y-link-fix.js?a11y=google-frame-title-20260710"],
  "sourcesContent": ["\uFEFF(function(){\n  function labelLogoLink(link){\n    var label = link.getAttribute('aria-label') || link.getAttribute('title') || link.textContent.trim();\n    var image = link.querySelector('img');\n    if (!label && image) label = image.getAttribute('alt') || '';\n    if (!label && link.getAttribute('href')) {\n      label = link.getAttribute('href').split('/').filter(Boolean).pop() || 'Brand';\n      label = label.replace(/-/g, ' ').replace(/all4kids/i, 'All 4 Kids');\n      label = label.charAt(0).toUpperCase() + label.slice(1);\n    }\n    label = label || 'Brand';\n    link.setAttribute('aria-label', label);\n    link.setAttribute('title', label);\n    if (image) image.setAttribute('alt', label);\n    if (!link.querySelector('.visually-hidden')) {\n      var span = document.createElement('span');\n      span.className = 'visually-hidden';\n      span.textContent = label;\n      link.insertBefore(span, link.firstChild);\n    }\n  }\n\n  function labelBannerLink(link){\n    var label = link.getAttribute('aria-label') || link.getAttribute('title') || '';\n    if (!label) {\n      var slide = link.closest('.slideshow__slide');\n      var source = slide && slide.querySelector('.text-overlay__heading, .subheading, .text-overlay__block, .btn');\n      label = source && source.textContent ? source.textContent.trim() : 'Shop slide';\n    }\n    link.setAttribute('aria-label', label);\n    link.setAttribute('title', label);\n    var image = link.querySelector('img');\n    if (image) image.setAttribute('alt', label);\n  }\n\n  function applyFixes(){\n    document.querySelectorAll('.logo-list a.block').forEach(labelLogoLink);\n    document.querySelectorAll('a.image-banner__image').forEach(labelBannerLink);\n  }\n\n  if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', applyFixes);\n  else applyFixes();\n  window.addEventListener('load', applyFixes);\n  setTimeout(applyFixes, 1000);\n})();\n(function(){\n  function fixPoweredBy(){\n    document.querySelectorAll('a[href^=\"https://www.shopify.com?utm_campaign=poweredby\"]').forEach(function(link){\n      link.setAttribute('aria-label', 'Powered by Shopify');\n      link.setAttribute('title', 'Powered by Shopify');\n      if (!link.textContent.trim()) link.textContent = 'Powered by Shopify';\n      if (!/noopener/.test(link.getAttribute('rel') || '')) link.setAttribute('rel', ((link.getAttribute('rel') || '') + ' noopener').trim());\n    });\n  }\n  if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', fixPoweredBy);\n  else fixPoweredBy();\n  window.addEventListener('load', fixPoweredBy);\n  setTimeout(fixPoweredBy, 1000);\n})();\r\n\n(function(){\n  function applyKlaviyoContrastFix(){\n    if (document.getElementById('a11y-klaviyo-contrast-fix')) return;\n    var style = document.createElement('style');\n    style.id = 'a11y-klaviyo-contrast-fix';\n    style.textContent = [\n      'form[class*=\"klaviyo-form\"] span,',\n      'form[class*=\"klaviyo-form\"] p,',\n      'form[class*=\"klaviyo-form\"] label,',\n      'form[class*=\"klaviyo-form\"] div[style*=\"color: rgb(134, 134, 134)\"],',\n      'form[class*=\"klaviyo-form\"] span[style*=\"color: rgb(134, 134, 134)\"] {',\n      '  color: #333333 !important;',\n      '}',\n      'form[class*=\"klaviyo-form\"] [style*=\"font-size: 10px\"],',\n      'form[class*=\"klaviyo-form\"] span[style*=\"font-size: 10px\"] {',\n      '  color: #333333 !important;',\n      '}',\n      'form[class*=\"klaviyo-form\"] input::placeholder {',\n      '  color: #555555 !important;',\n      '  opacity: 1 !important;',\n      '}'\n    ].join('\\n');\n    document.head.appendChild(style);\n  }\n\n  if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', applyKlaviyoContrastFix);\n  else applyKlaviyoContrastFix();\n  window.addEventListener('load', applyKlaviyoContrastFix);\n  setTimeout(applyKlaviyoContrastFix, 1000);\n  setTimeout(applyKlaviyoContrastFix, 3000);\n})();\n(function(){\n  function fixGoogleMerchantFrame(){\n    document.querySelectorAll('iframe#merchantwidgetiframe, iframe[src*=\"/shopping/merchantverse\"]').forEach(function(frame){\n      if (!frame.getAttribute('title')) frame.setAttribute('title', 'Google customer reviews widget');\n    });\n  }\n\n  if (document.readyState === 'loading') document.addEventListener('DOMContentLoaded', fixGoogleMerchantFrame);\n  else fixGoogleMerchantFrame();\n  window.addEventListener('load', fixGoogleMerchantFrame);\n  setTimeout(fixGoogleMerchantFrame, 1000);\n  setTimeout(fixGoogleMerchantFrame, 3000);\n  setTimeout(fixGoogleMerchantFrame, 6000);\n\n  if (window.MutationObserver) {\n    new MutationObserver(fixGoogleMerchantFrame).observe(document.documentElement, {\n      childList: true,\n      subtree: true\n    });\n  }\n})();\r\n"],
  "mappings": "CAAE,UAAU,CACV,SAAS,cAAc,KAAK,CAC1B,IAAI,MAAQ,KAAK,aAAa,YAAY,GAAK,KAAK,aAAa,OAAO,GAAK,KAAK,YAAY,KAAK,EAC/F,MAAQ,KAAK,cAAc,KAAK,EAWpC,GAVI,CAAC,OAAS,QAAO,MAAQ,MAAM,aAAa,KAAK,GAAK,IACtD,CAAC,OAAS,KAAK,aAAa,MAAM,IACpC,MAAQ,KAAK,aAAa,MAAM,EAAE,MAAM,GAAG,EAAE,OAAO,OAAO,EAAE,IAAI,GAAK,QACtE,MAAQ,MAAM,QAAQ,KAAM,GAAG,EAAE,QAAQ,YAAa,YAAY,EAClE,MAAQ,MAAM,OAAO,CAAC,EAAE,YAAY,EAAI,MAAM,MAAM,CAAC,GAEvD,MAAQ,OAAS,QACjB,KAAK,aAAa,aAAc,KAAK,EACrC,KAAK,aAAa,QAAS,KAAK,EAC5B,OAAO,MAAM,aAAa,MAAO,KAAK,EACtC,CAAC,KAAK,cAAc,kBAAkB,EAAG,CAC3C,IAAI,KAAO,SAAS,cAAc,MAAM,EACxC,KAAK,UAAY,kBACjB,KAAK,YAAc,MACnB,KAAK,aAAa,KAAM,KAAK,UAAU,CACzC,CACF,CAEA,SAAS,gBAAgB,KAAK,CAC5B,IAAI,MAAQ,KAAK,aAAa,YAAY,GAAK,KAAK,aAAa,OAAO,GAAK,GAC7E,GAAI,CAAC,MAAO,CACV,IAAI,MAAQ,KAAK,QAAQ,mBAAmB,EACxC,OAAS,OAAS,MAAM,cAAc,iEAAiE,EAC3G,MAAQ,QAAU,OAAO,YAAc,O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