{
  "version": 3,
  "sources": ["/cdn/shop/t/126/assets/noise-commerce.js?x=1796159136951"],
  "sourcesContent": ["(() => {\r\n  'use strict';\r\n  const source = document.getElementById('NoiseCommerceConfig');\r\n  if (!source) return;\r\n  let config;\r\n  try { config = JSON.parse(source.textContent); } catch { return; }\r\n  const root = `${config.root || '/'}`.replace(/\\/?$/, '/');\r\n  const labels = config.labels;\r\n  const isComposition = (name) => /^(composizione|composition|zusammensetzung|composici\u00F3n|composicion|compozi\u021Bie|compozitie)$/i.test(String(name).trim());\r\n  const displayName = (value) => {\r\n    const text = String(value || '');\r\n    return text === text.toLocaleUpperCase() ? text.charAt(0).toLocaleUpperCase() + text.slice(1).toLocaleLowerCase() : text;\r\n  };\r\n  function variantLabel(product, variant) {\r\n    const names = (product.options || []).map(option => typeof option === 'string' ? option : option.name);\r\n    const values = variant.options || variant.title.split(' / ');\r\n    return values.filter((value, index) => !isComposition(names[index] || '') && !/%/.test(value))\r\n      .map((value, index) => /^(taglia|size)$/i.test(names[index] || '') || /^(XX?S|S|M|L|X{1,4}L)(\\/\\d+)?$/i.test(value) ? value : displayName(value))\r\n      .join(' \u00B7 ');\r\n  }\r\n  // Run before Palo Alto reads option IDs; hidden composition follows the visible choices.\r\n  document.addEventListener('change', (event) => {\r\n    const selectors = event.target.closest('variant-selects');\r\n    if (!selectors || !selectors.querySelector('[data-noise-composition]')) return;\r\n    const matrix = selectors.querySelector('[data-noise-variant-matrix]');\r\n    if (!matrix) return;\r\n    let variants;\r\n    try { variants = JSON.parse(matrix.textContent); } catch { return; }\r\n    const wrappers = [...selectors.querySelectorAll('[data-option-position]')];\r\n    const matches = variants.filter(variant => wrappers.every(wrapper => {\r\n      if (wrapper.hasAttribute('data-noise-composition')) return true;\r\n      const input = wrapper.querySelector('input:checked, [data-popout-input]');\r\n      return !input || variant.options[Number(wrapper.dataset.optionPosition) - 1] === input.value;\r\n    }));\r\n    const variant = matches.find(item => item.available) || matches[0];\r\n    if (!variant) return;\r\n    wrappers.filter(wrapper => wrapper.hasAttribute('data-noise-composition')).forEach(wrapper => {\r\n      const value = variant.options[Number(wrapper.dataset.optionPosition) - 1];\r\n      wrapper.querySelectorAll('input[type=\"radio\"]').forEach(input => { input.checked = input.value === value; });\r\n      const input = wrapper.querySelector('[data-popout-input]');\r\n      const option = [...wrapper.querySelectorAll('[data-popout-option]')].find(option => option.dataset.value === value);\r\n      if (input && option) {\r\n        input.value = value;\r\n        const entry = option.closest('[data-option-value-id]');\r\n        if (entry) {\r\n          input.dataset.optionValueId = entry.dataset.optionValueId;\r\n          if (entry.dataset.productUrl) input.dataset.productUrl = entry.dataset.productUrl;\r\n        }\r\n      }\r\n    });\r\n  }, true);\r\n  let cart = config.cart;\r\n  let cartRequest;\r\n  let refreshTimer;\r\n  let adding = false;\r\n  let history = [];\r\n  const cache = new Map();\r\n  const historyKey = 'noise-look-interest-v3';\r\n  const historyTTL = 30 * 24 * 60 * 60 * 1000;\r\n  const money = (amount) => new Intl.NumberFormat(({PLN:'pl-PL',RON:'ro-RO',HUF:'hu-HU',CZK:'cs-CZ'})[cart.currency || config.currency] || 'it-IT', {\r\n    style: 'currency', currency: cart.currency || config.currency || 'EUR'\r\n  }).format(Number(amount) / 100);\r\n  const node = (tag, className, text) => {\r\n    const element = document.createElement(tag);\r\n    if (className) element.className = className;\r\n    if (text !== undefined) element.textContent = text;\r\n    return element;\r\n  };\r\n  const preferencesAllowed = () => Boolean(config.historyEnabled &&\r\n    window.Shopify?.customerPrivacy?.preferencesProcessingAllowed?.() === true &&\r\n    window.Shopify?.customerPrivacy?.analyticsProcessingAllowed?.() === true);\r\n  function loadHistory() {\r\n    if (!preferencesAllowed()) {\r\n      history = [];\r\n      try { localStorage.removeItem(historyKey); sessionStorage.removeItem('noise-product-interest-v1'); } catch {}\r\n      return;\r\n    }\r\n    try {\r\n      const data = JSON.parse(localStorage.getItem(historyKey) || '[]');\r\n      history = Array.isArray(data) ? data.filter((entry) =>\r\n        entry && typeof entry.handle === 'string' && /^[a-zA-Z0-9_-]+$/.test(entry.handle) &&\n        Number.isFinite(entry.time) && entry.time <= Date.now() && Date.now() - entry.time < historyTTL\r\n      ).slice(0, 12) : [];\r\n    } catch { history = []; }\r\n  }\r\n  function remember(handle, id, details = {}) {\r\n    if (!preferencesAllowed() || !handle) return;\r\n    loadHistory();\r\n    history = [{handle, id: Number(id) || null, type: String(details.type || ''), title: String(details.title || ''), color: String(details.color || ''), price: Number(details.price) || 0, time: Date.now()},\r\n      ...history.filter((entry) => entry.handle !== handle)].slice(0, 12);\r\n    try { localStorage.setItem(historyKey, JSON.stringify(history)); } catch {}\r\n  }\r\n  function currentProduct() {\r\n    const element = document.querySelector('noise-recommendations[data-context=\"product\"]');\r\n    const match = window.location.pathname.match(/\\/products\\/([^/]+)/);\r\n    if (element && match) remember(decodeURIComponent(match[1]), element.dataset.productId, lookContext(element));\r\n  }\r\n  function lookContext(element) {\r\n    const info = element.closest('product-info') || document.querySelector('product-info');\r\n    const wrapper = [...(info?.querySelectorAll('[data-option-position]') || [])].find(item => /colore|color|colour/i.test(item.querySelector('legend, .select__label, .label-typography')?.textContent || ''));\r\n    const color = wrapper?.querySelector('input:checked, [data-popout-input]')?.value || '';\r\n    let tags = [];\n    try { tags = JSON.parse(element.dataset.productTags || '[]'); } catch {}\n    let price = Number(element.dataset.productPrice) || 0;\n    try {\n      const variants = JSON.parse(info?.querySelector('[data-noise-variant-matrix]')?.textContent || '[]');\n      const wrappers = [...(info?.querySelectorAll('variant-selects [data-option-position]') || [])];\n      const selected = variants.find(variant => wrappers.length && wrappers.every(item => {\n        const input = item.querySelector('input:checked, [data-popout-input]');\n        return !input || variant.options[Number(item.dataset.optionPosition) - 1] === input.value;\n      }));\n      if (selected) price = Number(selected.price) || price;\n    } catch {}\n    return {id: Number(element.dataset.productId), type: element.dataset.productType || '', title: element.dataset.productTitle || '', price, tags: Array.isArray(tags) ? tags : [], color};\n  }\r\n  const normalize = value => String(value || '').toLowerCase().normalize('NFD').replace(/[\\u0300-\\u036f]/g, '').trim();\r\n  function productColors(product) {\r\n    if (Array.isArray(product.colors)) return product.colors.map(normalize);\r\n    const names = (product.options || []).map(option => typeof option === 'string' ? option : option.name);\r\n    const index = names.findIndex(name => /^(colore|color|colour)$/i.test(name));\r\n    return index < 0 ? [] : [...new Set((product.variants || []).filter(variant => variant.available).map(variant => normalize(variant.options?.[index])))];\r\n  }\r\n  function interestScore(product, context, interests) {\r\n    let score = 0;\r\n    const text = normalize(`${product.title || ''} ${(product.tags || []).join(' ')}`);\r\n    const terms = normalize(`${context.title || ''} ${(context.tags || []).join(' ')}`).split(/[^a-z0-9]+/).filter(term => term.length > 3 && !/giubb|piumin|magli|pantal|scar|basic|noise/.test(term));\r\n    score += [...new Set(terms)].filter(term => text.includes(term)).length * 12;\r\n    const colors = productColors(product);\r\n    if (context.color && colors.includes(normalize(context.color))) score += 24;\r\n    else if (context.color && colors.some(color => /^(nero|black|bianco|white|grigio|grey|gray|avorio|beige)$/.test(color))) score += 6;\r\n    const price = Number(product.price) || Number(product.variants?.find(variant => variant.available)?.price) || 0;\r\n    if (context.price && price) score += Math.max(0, 6 - Math.abs(Math.log(price / context.price)) * 4);\r\n    interests.forEach((entry, index) => {\r\n      const weight = Math.max(1, 12 - index);\r\n      if (entry.handle === product.handle || Number(entry.id) === Number(product.id)) score += 60 + weight * 2;\r\n      const words = normalize(`${entry.title || ''} ${entry.type || ''}`).split(/[^a-z0-9]+/).filter(word => word.length > 3 && !/giubb|piumin|magli|pantal|scar|basic|noise/.test(word));\r\n      score += [...new Set(words)].filter(word => text.includes(word)).length * weight;\r\n      if (entry.color && colors.includes(normalize(entry.color))) score += weight;\r\n    });\r\n    let tie = 0;\r\n    for (const character of `${context.id || ''}:${context.color || ''}:${product.id || ''}`) tie = (tie * 31 + character.charCodeAt(0)) >>> 0;\r\n    return score + (tie % 997) / 997;\r\n  }\r\n  function shippingThreshold() { if (!config.convert) return config.threshold; const rate = parseFloat(window.Shopify && window.Shopify.currency && window.Shopify.currency.rate); return rate > 0 ? Math.ceil(config.threshold * rate / 100) * 100 : 0; } /* NOISE 30-11-2026: soglia in euro convertita nella valuta del cliente (Romania, Polonia, Ungheria, Repubblica Ceca), arrotondata per eccesso */\n  function updateShipping() {\r\n    document.querySelectorAll('noise-shipping-progress').forEach((element) => {\r\n      const visible = config.country === 'IT' && (cart.currency === 'EUR' || config.convert) &&\r\n        shippingThreshold() > 0 && cart.items.some((i) => !i.gift_card); /* NOISE 01-12-2026: la Gift Card non conta per la spedizione gratuita */\r\n      element.hidden = !visible;\r\n      if (!visible) return;\r\n      const threshold = shippingThreshold(), base = cart.total_price - cart.items.reduce((s, i) => s + (i.gift_card ? i.final_line_price : 0), 0), remaining = Math.max(0, threshold - base);\r\n      element.querySelector('.noise-shipping__message').textContent = remaining ?\r\n        labels.shipping.replace('__NOISE_AMOUNT__', money(remaining)) : labels.qualified;\r\n      if (labels.progress) element.querySelector('progress').setAttribute('aria-label', labels.progress); element.querySelector('progress').value = Math.min(100,\r\n        Math.max(0, base / threshold * 100));\r\n    });\r\n  }\r\n  async function readCart() {\r\n    if (cartRequest) return cartRequest;\r\n    cartRequest = fetch(`${root}cart.js`, {headers: {Accept: 'application/json'}, cache: 'no-store'})\r\n      .then((response) => {\r\n        if (!response.ok) throw new Error('Cart unavailable');\r\n        return response.json();\r\n      }).then((data) => {\r\n        cart = data;\r\n        updateShipping();\r\n        return cart;\r\n      }).finally(() => { cartRequest = null; });\r\n    return cartRequest;\r\n  }\r\n  function scheduleRefresh() {\r\n    document.querySelectorAll('noise-recommendations').forEach((element) => element.syncControls());\r\n    clearTimeout(refreshTimer);\r\n    refreshTimer = setTimeout(async () => {\r\n      try {\r\n        await readCart();\r\n        document.querySelectorAll('noise-recommendations').forEach((element) => element.refresh());\r\n      } catch {}\r\n    }, 80);\r\n  }\r\n  function cachedJSON(url) {\r\n    if (!cache.has(url)) {\r\n      const request = fetch(url, {headers: {Accept: 'application/json'}, signal: typeof AbortSignal.timeout === 'function' ? AbortSignal.timeout(8000) : undefined}).then((response) => {\n        if (!response.ok) throw new Error('Recommendations unavailable');\r\n        return response.json();\r\n      }).catch((error) => { cache.delete(url); throw error; });\r\n      cache.set(url, request);\r\n    }\r\n    return cache.get(url);\r\n  }\r\n  const recommendations = async (id, intent) => {\r\n    if (!id) return [];\r\n    const url = `${root}recommendations/products.json?product_id=${encodeURIComponent(id)}&limit=10&intent=${intent}`;\r\n    try { return (await cachedJSON(url)).products || []; } catch { return []; }\r\n  };\r\n  function safeProductURL(value) {\r\n    try {\r\n      const url = new URL(value, window.location.origin);\r\n      if (url.origin !== window.location.origin || !url.pathname.includes('/products/')) return null;\r\n      return url.pathname + url.search;\r\n    } catch { return null; }\r\n  }\r\n  function eligible(product, excluded) {\r\n    return product?.available && !excluded.has(Number(product.id)) &&\r\n      !product.requires_selling_plan && !product.gift_card &&\r\n      !product.tags?.includes('_preorder') && safeProductURL(product.url) &&\r\n      product.variants?.some((variant) => variant.available && variant.price > 0);\r\n  }\r\n  function rank(products, gap) {\r\n    if (!(gap > 0)) return products;\r\n    return products.map((product, index) => {\r\n      const price = Math.min(...product.variants.filter((variant) => variant.available).map((variant) => variant.price));\r\n      const score = price >= gap && price <= gap * 1.5 ? 0 : 1;\r\n      return {product, index, score};\r\n    }).sort((a, b) => a.score - b.score || a.index - b.index).map((entry) => entry.product);\r\n  }\r\n  function family(type) {\r\n    const text = String(type || '').toLowerCase().normalize('NFD').replace(/[\\u0300-\\u036f]/g, '');\r\n    if (/strickjacke|cardigan/.test(text)) return 'top'; /* NOISE 01-12-2026: tipi tradotti nelle 6 lingue (T Lab) */\n    if (/jeans|jean|pantalon|pantal|bermuda|short|trouser|japan|japon|hose|jogger|chino|pants|blugi|vaquero/.test(text)) return 'bottom';\r\n    if (/scarp|stival|sneaker|mocassin|mocasin|shoe|boot|schuh|stiefel|loafer|chaussure|botte|zapat|bota|pantof|incal|\u00EEncal/.test(text)) return 'shoes';\r\n    if (/giacc|cappott|giubb|piumin|bomber|biker|blazer|jacket|coat|jacke|mantel|veste|manteau|blouson|chaqueta|abrigo|cazadora|geac|jachet|palton/.test(text)) return 'outer';\r\n    if (/abit[oi]|complet[oi]|suit|anzug|kleid|costum|traje|dress|robe|rochie|vestido/.test(text)) return 'suit';\r\n    if (/magli|maglion|camici|t-shirt|felp|polo|cardigan|shirt|knit|hoodie|pullover|pull|strick|trikot|hemd|sweat|chemise|sudadera|jersey|camis|tricou|pulover|hanorac|c\u0103ma\u0219|camas|canott|sweater|sueter|maillot/.test(text)) return 'top';\r\n    return '';\r\n  }\r\n  function pairsWith(type, product) {\r\n    const pairings = {bottom: ['top', 'outer', 'shoes'], top: ['bottom', 'outer', 'shoes'],\r\n      outer: ['bottom', 'shoes', 'top'], suit: ['top', 'shoes'], shoes: ['top', 'bottom']};\r\n    return Boolean(pairings[family(type)]?.includes(family(`${product.type || \"\"} ${product.title || \"\"}`)));\r\n  }\r\n  function diverse(products) {\r\n    const categories = new Set();\r\n    const first = [];\r\n    const rest = [];\r\n    products.forEach((product) => {\r\n      const category = family(`${product.type || \"\"} ${product.title || \"\"}`);\r\n      if (category && !categories.has(category)) { first.push(product); categories.add(category); }\r\n      else rest.push(product);\r\n    });\r\n    return [...first, ...rest];\r\n  }\r\n  class NoiseRecommendations extends HTMLElement {\r\n    connectedCallback() {\r\n      this.generation = 0;\r\n      this.signature = '';\r\n      this.active = false;\r\n      this.list = this.querySelector('.noise-recommendations__list');\r\n      this.heading = this.querySelector('.noise-recommendations__heading');\r\n      this.status = this.querySelector('.noise-recommendations__status');\r\n      this.abort = new AbortController();\r\n      this.addEventListener('submit', (event) => this.add(event), {signal: this.abort.signal});\r\n      this.addEventListener('click', (event) => {\r\n        if (event.target.closest('button[data-noise-add]')) this.add(event);\r\n      }, {signal: this.abort.signal});\r\n      if (!config.enabled) return;\r\n      if (this.dataset.context === 'cart') {\r\n        if (this.closest('[data-cart-page]')) this.activate();\r\n        document.addEventListener('theme:cart:open', () => this.activate(), {signal: this.abort.signal});\r\n      } else {\r\n        this.activate();\r\n      }\r\n    }\r\n    disconnectedCallback() {\r\n      this.generation++;\r\n      this.abort?.abort();\r\n    }\r\n    activate() {\r\n      this.active = true;\r\n      this.refresh();\r\n    }\r\n    syncControls() {\r\n      this.querySelectorAll('.noise-recommendations__form').forEach((form) => {\r\n        const select = form.querySelector('select');\r\n        const button = form.querySelector('button');\r\n        if (button) button.disabled = adding || Boolean(select && !select.value);\r\n        if (select) select.disabled = adding;\r\n      });\r\n    }\r\n    async refresh() {\r\n      if (!this.active || !this.isConnected || !config.enabled) return;\r\n      this.syncControls();\r\n      const generation = ++this.generation;\r\n      const inCart = this.dataset.context === 'cart';\r\n      if (inCart && !cart.items.length) {\r\n        this.hidden = true;\r\n        this.signature = '';\r\n        this.list.replaceChildren();\r\n        return;\r\n      }\r\n      const seed = inCart ? cart.items[0]?.product_id : Number(this.dataset.productId);\r\n      const context = inCart ? {id: seed, title: cart.items[0]?.product_title || cart.items[0]?.title || '', type: cart.items[0]?.product_type || '', price: cart.items[0]?.price || 0, color: cart.items[0]?.options_with_values?.find(option => /^(colore|color|colour)$/i.test(option.name))?.value || ''} : lookContext(this);\n      loadHistory();\r\n      const interests = preferencesAllowed() ? history.filter(entry => Number(entry.id) !== Number(seed)) : [];\r\n      const seedType = inCart ? `${cart.items[0]?.product_type || ''} ${cart.items[0]?.product_title || cart.items[0]?.title || ''}` : `${this.dataset.productType || ''} ${this.dataset.productTitle || ''}`;\r\n      const excluded = new Set(cart.items.map((item) => Number(item.product_id)));\r\n      excluded.add(Number(seed));\r\n      if (!inCart) excluded.add(Number(this.dataset.productId));\r\n      const [complementaryResults, relatedResults] = await Promise.all([recommendations(seed, 'complementary'), recommendations(seed, 'related')]);\n      const complementary = complementaryResults.filter(product => eligible(product, excluded));\n      const related = relatedResults.filter(product => eligible(product, excluded));\n      if (preferencesAllowed() && interests[0]?.id) related.push(...(await recommendations(interests[0].id, 'related')).filter(product => eligible(product, excluded)));\r\n      let candidates = [...complementary, ...related].filter(product => pairsWith(seedType, product));\r\n      // Fill missing outfit categories from the store's own collections, never a fixed product.\r\n      const order = {outer: ['bottom', 'shoes', 'top'], top: ['bottom', 'shoes', 'outer'],\r\n        bottom: ['top', 'shoes', 'outer'], shoes: ['bottom', 'top'], suit: ['shoes', 'top']}[family(seedType)] || [];\r\n      let catalog = [];\r\n      try { catalog = JSON.parse(document.getElementById('NoiseLookCatalog')?.textContent || '[]'); } catch {}\r\n      if (!Array.isArray(catalog)) catalog = [];\r\n      catalog = [...new Map(catalog.filter(product => product && typeof product.handle === 'string').map(product => [product.handle, product])).values()];\r\n      for (const category of order.slice(0, 2)) {\r\n        const pool = [...catalog, ...candidates].filter(product => family(`${product.type || ''} ${product.title || ''}`) === category && !excluded.has(Number(product.id)));\n        const entries = [...new Map(pool.map(product => [product.handle, product])).values()].sort((a, b) => interestScore(b, context, interests) - interestScore(a, context, interests));\r\n        // Bounded requests; products and available variants are checked again at request time.\r\n        const hydrated = await Promise.all(entries.slice(0, 3).map(async entry => {\n          if (!/^[a-zA-Z0-9_-]+$/.test(entry.handle)) return null;\n          try {\n            const product = entry.variants ? entry : await cachedJSON(`${root}products/${encodeURIComponent(entry.handle)}.js`);\n            product.url ||= `${root}products/${entry.handle}`;\n            return eligible(product, excluded) && pairsWith(seedType, product) ? product : null;\n          } catch { return null; }\n        }));\n        for (const product of hydrated) {\n          if (product && !candidates.some(candidate => candidate.id === product.id)) candidates.push(product);\n        }\n      }\r\n      let isLook = candidates.length > 0;\r\n      // For unclassified items, retain explicitly configured Shopify complementary products.\r\n      if (!order.length) { candidates = complementary; isLook = candidates.length > 0; }\r\n      if (order.length) candidates.sort((a, b) => order.indexOf(family(`${a.type || ''} ${a.title || ''}`)) - order.indexOf(family(`${b.type || ''} ${b.title || ''}`)));\r\n      if (generation !== this.generation || !this.isConnected) return;\r\n      const seen = new Set();\r\n      candidates = candidates.filter((product) => {\r\n        if (seen.has(product.id)) return false;\r\n        seen.add(product.id);\r\n        return true;\r\n      });\r\n      const currentInterests = preferencesAllowed() ? interests : [];\r\n      candidates.sort((a, b) => interestScore(b, context, currentInterests) - interestScore(a, context, currentInterests));\r\n      if (order.length) candidates.sort((a, b) => order.indexOf(family(`${a.type || ''} ${a.title || ''}`)) - order.indexOf(family(`${b.type || ''} ${b.title || ''}`)));\r\n      if (isLook) candidates = diverse(candidates);\r\n      candidates = candidates.slice(0, 2);\r\n      const signature = JSON.stringify([isLook, context.color, candidates.map((product) => product.id)]);\r\n      if (signature !== this.signature) {\r\n        this.signature = signature;\r\n        this.heading.textContent = isLook ? labels.look : labels.related;\r\n        this.list.replaceChildren(...candidates.map((product) => this.card(product)));\r\n      }\r\n      this.hidden = !candidates.length;\r\n      this.syncControls();\r\n    }\r\n    card(product) {\r\n      const card = node('article', 'noise-recommendations__card');\r\n      card.dataset.productId = product.id;\r\n      const url = safeProductURL(product.url);\r\n      const imageLink = node('a', 'noise-recommendations__image');\r\n      imageLink.href = url;\r\n      imageLink.tabIndex = -1;\r\n      imageLink.setAttribute('aria-hidden', 'true');\r\n      const imageSource = typeof product.featured_image === 'string' ? product.featured_image : product.featured_image?.url;\r\n      if (imageSource) {\r\n        const imageURL = new URL(imageSource, window.location.origin);\r\n        if (['https:', 'http:'].includes(imageURL.protocol)) {\r\n          imageURL.searchParams.set('width', '160');\r\n          const image = node('img');\r\n          image.src = imageURL.href;\r\n          image.alt = '';\r\n          image.width = 68;\r\n          image.height = 90;\r\n          image.loading = 'lazy';\r\n          imageLink.append(image);\r\n        }\r\n      }\r\n      const body = node('div', 'noise-recommendations__body');\r\n      const title = node('a', 'noise-recommendations__title', displayName(product.title));\r\n      title.href = url;\r\n      const available = product.variants.filter((variant) => variant.available && variant.price > 0);\r\n      const single = product.has_only_default_variant || product.variants.length === 1;\r\n      const prices = available.map((variant) => variant.price);\r\n      const price = node('span', 'noise-recommendations__price',\r\n        `${Math.min(...prices) !== Math.max(...prices) ? labels.from + ' ' : ''}${money(Math.min(...prices))}`);\r\n      const inForm = Boolean(this.closest('form'));\r\n      const form = node(inForm ? 'div' : 'form', 'noise-recommendations__form');\r\n      if (!inForm) {\r\n        form.action = `${root}cart/add`;\r\n        form.method = 'post';\r\n      }\r\n      form.dataset.productId = product.id;\r\n      const select = node('select', 'noise-recommendations__select');\r\n      if (!inForm) select.name = 'id';\r\n      select.required = true;\r\n      select.setAttribute('aria-label', `${labels.options} \u00B7 ${product.title}`);\r\n      if (!single) {\r\n        select.append(new Option(labels.choose, '', true, true));\r\n        select.options[0].disabled = true;\r\n      }\r\n      const shownLabels = new Set();\r\n      available.forEach((variant) => {\r\n        const label = variantLabel(product, variant);\r\n        if (shownLabels.has(label)) return;\r\n        shownLabels.add(label);\r\n        const option = new Option(label, variant.id);\r\n        option.dataset.price = variant.price;\r\n        option.dataset.minimum = variant.quantity_rule?.min || 1;\r\n        select.append(option);\r\n      });\r\n      const button = node('button', 'noise-recommendations__add', labels.add);\r\n      button.type = inForm ? 'button' : 'submit';\r\n      if (inForm) button.dataset.noiseAdd = '';\r\n      button.disabled = !single;\r\n      button.setAttribute('aria-label', `${labels.add} \u00B7 ${product.title}`);\r\n      select.addEventListener('change', () => {\r\n        button.disabled = !select.value;\r\n        price.textContent = money(select.selectedOptions[0].dataset.price);\r\n      });\r\n      const input = node('input');\r\n      input.type = 'hidden';\r\n      if (!inForm) input.name = 'quantity';\r\n      input.value = '1';\r\n      if (single) {\r\n        select.value = available[0].id;\r\n        const id = node('input');\r\n        id.type = 'hidden';\r\n        if (!inForm) id.name = 'id';\r\n        id.dataset.noiseVariant = '';\r\n        id.value = available[0].id;\r\n        form.append(id);\r\n        form.dataset.minimum = available[0].quantity_rule?.min || 1;\r\n      } else {\r\n        form.append(select);\r\n      }\r\n      form.append(input, button);\r\n      body.append(title, price, form);\r\n      card.append(imageLink, body);\r\n      return card;\r\n    }\r\n    async add(event) {\r\n      const form = event.target.closest('.noise-recommendations__form');\r\n      if (!form) return;\r\n      event.preventDefault();\r\n      if (adding || (form.reportValidity && !form.reportValidity())) return;\r\n      const button = form.querySelector('button');\r\n      const select = form.querySelector('select');\r\n      if (select && !select.reportValidity()) return;\r\n      const data = form.tagName === 'FORM' ? new FormData(form) : new FormData();\r\n      if (form.tagName !== 'FORM') data.set('id', select?.value || form.querySelector('[data-noise-variant]').value);\r\n      data.set('quantity', select?.selectedOptions[0]?.dataset.minimum || form.dataset.minimum || '1');\r\n      adding = true;\r\n      button.disabled = true;\r\n      if (select) select.disabled = true;\r\n      button.textContent = labels.adding;\r\n      this.status.textContent = '';\r\n      const cartElement = document.querySelector('cart-items');\r\n      cartElement?.disableCartButtons?.();\r\n      let success = false;\r\n      try {\r\n        const response = await fetch(`${root}cart/add.js`, {\r\n          method: 'POST', body: data, headers: {Accept: 'application/json', 'X-Requested-With': 'XMLHttpRequest'}\r\n        });\r\n        const result = await response.json();\r\n        if (!response.ok || result.status) throw new Error(result.description || labels.error);\r\n        success = true;\r\n        const addedId = Number(result.product_id || form.dataset.productId);\r\n        if (!cart.items.some((item) => Number(item.product_id) === addedId)) {\r\n          cart.items.unshift({product_id: addedId, product_type: result.product_type});\r\n        }\r\n        this.status.textContent = labels.added;\r\n        button.textContent = labels.added;\r\n        if (typeof cartElement?.getCart === 'function') cartElement.getCart();\r\n        else window.location.assign(`${root}cart`);\r\n        try { await readCart(); } catch {}\r\n        document.querySelectorAll('noise-recommendations').forEach((element) => element.refresh());\r\n      } catch (error) {\r\n        this.status.textContent = success ? labels.added : error.message || labels.error;\r\n      } finally {\r\n        adding = false;\r\n        button.disabled = false;\r\n        if (select) select.disabled = false;\r\n        button.textContent = labels.add;\r\n        cartElement?.enableCartButtons?.();\r\n        document.querySelectorAll('noise-recommendations').forEach((element) => element.syncControls());\r\n      }\r\n    }\r\n  }\r\n  class NoiseShippingProgress extends HTMLElement {\r\n    connectedCallback() { updateShipping(); }\r\n  }\r\n  if (!customElements.get('noise-recommendations')) customElements.define('noise-recommendations', NoiseRecommendations);\r\n  if (!customElements.get('noise-shipping-progress')) customElements.define('noise-shipping-progress', NoiseShippingProgress);\r\n  ['theme:cart:loaded', 'theme:cart:added', 'theme:cart:open'].forEach((event) =>\r\n    document.addEventListener(event, scheduleRefresh));\r\n  document.addEventListener('visitorConsentCollected', () => {\r\n    loadHistory();\r\n    currentProduct();\r\n    document.querySelectorAll('noise-recommendations').forEach((element) => element.refresh());\r\n  });\r\n  document.addEventListener('click', (event) => {\r\n    if (!preferencesAllowed()) return;\r\n    const link = event.target.closest('a[href*=\"/products/\"]');\r\n    if (!link) return;\r\n    const url = new URL(link.href, window.location.origin);\r\n    if (url.origin !== window.location.origin) return;\r\n    const match = url.pathname.match(/\\/products\\/([^/]+)/);\r\n    if (!match) return;\r\n    const container = link.closest('[data-product-id]');\r\n    let catalog = [];\r\n    try { catalog = JSON.parse(document.getElementById('NoiseLookCatalog')?.textContent || '[]'); } catch {}\r\n    const details = Array.isArray(catalog) ? catalog.find(product => product.handle === decodeURIComponent(match[1])) : null;\r\n    remember(decodeURIComponent(match[1]), details?.id || container?.dataset.productId, details || {});\r\n  });\r\n  let variantRefresh;\r\n  const refreshContext = () => {\r\n    clearTimeout(variantRefresh);\r\n    variantRefresh = setTimeout(() => {\r\n      currentProduct();\r\n      document.querySelectorAll('noise-recommendations[data-context=\"product\"]').forEach(element => element.refresh());\r\n    }, 100);\r\n  };\r\n  document.addEventListener('change', event => { if (event.target.closest('variant-selects')) refreshContext(); });\r\n  document.addEventListener('theme:variant:prices-updated', refreshContext);\r\n  document.addEventListener('variant:change', refreshContext);\r\n  loadHistory();\r\n  currentProduct();\r\n  if (config.historyEnabled && !window.Shopify?.customerPrivacy && window.Shopify?.loadFeatures) {\r\n    window.Shopify.loadFeatures([{name: 'consent-tracking-api', version: '0.1'}], (error) => {\r\n      if (!error) { loadHistory(); currentProduct(); document.querySelectorAll('noise-recommendations').forEach(element => element.refresh()); }\r\n    });\r\n  }\r\n})();\r\n"],
  "mappings": "CAAC,IAAM,CACL,aACA,MAAM,OAAS,SAAS,eAAe,qBAAqB,EAC5D,GAA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