{
  "version": 3,
  "sources": ["/cdn/shop/t/95/assets/bundle-cart.js?cb=20261119"],
  "sourcesContent": ["/*\n * Bundle cart drawer enhancer (styles: assets/bundle-cart.css).\n *\n * The cart drawer (compiled assets/cart-drawer.min.js, can't be edited) groups\n * bundle lines \u2014 lines sharing a `_bundle` property \u2014 into one card per\n * `_bundle_main` line. We patch that card in place from /cart.js data (the\n * /cart page is handled in main-cart.liquid):\n *\n *   1. Title and image: the host (parent) product's, from `_bundle_title` and\n *      `_bundle_image`, instead of the main flavor's.\n *   2. Chips, drawn from cart data in place of the drawer's own chips:\n *        \"7 X MARGHERITA PIZZA\"  one per paid flavor, main flavor first;\n *        \"7% OFF\"                7-/8-pack savings vs. the 6-pack rate, worked\n *                                out like the PDP's \"Save 7%\" (see below);\n *        the gift: the `_bundle_free` line (the pizza the shopper picked first\n *        in the builder). It is free only when the store discount makes it $0;\n *        that discount applies once per order, so another pack's gift line is\n *        charged.\n *      One-time packs: a single row; the gift shows as\n *        \"1 X MARGHERITA PIZZA (FREE)\", or, when charged, as one more pizza of\n *        its flavor.\n *      Subscription packs (paid lines on a selling plan): the gift is always a\n *        one-time line that ships with the first order only, so the chips come\n *        in two labeled groups \u2014 \"SUBSCRIPTION\" (paid flavors + \"% OFF\") and\n *        \"FREE GIFT \u00B7 FIRST ORDER ONLY\" (or \"FIRST ORDER ONLY\" when charged).\n *   3. Price: the whole pack's total (bold) with a struck-through price above:\n *      - pack with the free pizza: its one-time price plus the amount for its\n *        size in assets/bundle-cart-compare-additions.js (one more pizza),\n *        for subscriptions too;\n *      - otherwise, 7-/8-packs: the same pizzas at the 6-pack rate. Paid\n *        7-/8-pack lines carry `_bundle_ref` = per-pizza cents at the 6-pack\n *        one-time rate (also the basis of the \"% OFF\" chip).\n *\n * Split lines: when a discount covers only part of a line's quantity, Shopify\n * splits that line in two with the same properties \u2014 \"Buy 6+ Get 1 Free\" takes\n * 6 pizzas of a 7-pizza line, leaving 6 + 1. Chips merge them back per flavor.\n * When the split line is the `_bundle_main` one, the drawer draws the pack\n * twice: the first card shows the whole pack and the others (\"twins\") are\n * hidden, also from the drawer's item counts. Twins stay in the DOM because\n * other drawer modules map cart lines to <li>s by position. Removing the pack\n * still clears every line: the drawer deletes all lines sharing its `_bundle`.\n *\n * Card \u2194 pack matching: the drawer renders one card per `_bundle_main` line, in\n * cart order, so each card takes the next such line with its product handle\n * (two packs can share the same main flavor).\n *\n * Scope guard: a bundle card is the only drawer <li> holding the drawer's chips\n * container, so standalone product lines are never touched.\n */\n\n(() => {\n  const DRAWER_ID = 'cart-drawer';\n  const NATIVE_CHIPS_SELECTOR = '.flex.flex-wrap.gap-2.mt-2';\n  const TITLE_SELECTOR = 'a.block.leading-tight';\n  const PRICE_SELECTOR = '.text-lg.text-right.leading-tight';\n  const NATIVE_STRIKE_SELECTOR = ':scope > .line-through'; // subscription compare-at\n  const NATIVE_TOTAL_SELECTOR = ':scope > span:not([class])'; // the card's own total\n  // Same cart-line mapping as cart-cross-sell-core.js (the pizza card is ours).\n  const CART_LINE_SELECTOR = 'ul[role=\"list\"] > li:not([data-pb-pizza-upsell])';\n  const HEADER_COUNT_SELECTOR = '#slide-over-title'; // \"My Cart [N]\"\n  const SUBTOTAL_COUNT_SELECTOR = 'form[action=\"/cart\"] > .flex.justify-between .rounded'; // \"N items\"\n  const TWIN_ATTRIBUTE = 'data-pbb-twin';\n\n  const LABELS = {\n    flavor: (quantity, product) => `${quantity} x ${product}`,\n    percentOff: (percent) => `${percent}% off`,\n    freePizza: (quantity, product) => `${quantity} x ${product} (free)`,\n    subscription: 'Subscription',\n    freeGift: 'Free gift \u00B7 First order only',\n    firstOrderOnly: 'First order only',\n  };\n\n  // Same format as the drawer's own prices.\n  const formatMoney = (cents) =>\n    new Intl.NumberFormat('en-US', { style: 'currency', currency: 'USD', currencyDisplay: 'narrowSymbol' }).format(cents / 100);\n\n  let bundleCards = []; // one per `_bundle_main` line, in cart (= drawer card) order\n  let observer = null;\n\n  const handleFromHref = (href) => {\n    const match = (href || '').match(/\\/products\\/([^/?#]+)/);\n    return match ? match[1] : '';\n  };\n\n  /* ---------- Cart data \u2192 bundle groups ---------- */\n\n  const createGroup = (id) => ({\n    id,\n    title: '',\n    image: '',\n    paidLines: [], // { variantId, product, quantity }, main flavor first\n    giftLine: null, // { variantId, product, quantity, isFree }: the `_bundle_free` line\n    isSubscription: false, // paid lines are on a selling plan\n    packSize: 0, // paid pizzas\n    sixPackRateCents: 0, // paid pizzas at the 6-pack rate (7-/8-packs only)\n    oneTimePaidCents: 0, // paid pizzas at their one-time price (subscriptions too)\n    freeCents: 0, // what the free pizza is actually charged ($0 with the store discount)\n    paidCents: 0, // paid lines before discounts\n    finalCents: 0, // everything the drawer charges for this bundle\n    originalCents: 0, // same lines before store discounts\n  });\n\n  // One entry per flavor: a split line (see \"Split lines\") adds to its flavor.\n  const addPaidLine = (group, item, isMain) => {\n    const sameFlavor = group.paidLines.find((line) => line.variantId === item.variant_id);\n    if (sameFlavor) {\n      sameFlavor.quantity += item.quantity;\n      return;\n    }\n    const line = { variantId: item.variant_id, product: item.product_title, quantity: item.quantity };\n    if (isMain) group.paidLines.unshift(line);\n    else group.paidLines.push(line);\n  };\n\n  // A subscription line's one-time price is its selling plan's compare-at price.\n  const oneTimeUnitCents = (item) =>\n    (item.selling_plan_allocation && item.selling_plan_allocation.compare_at_price) || item.price || 0;\n\n  const addLine = (group, item) => {\n    const props = item.properties || {};\n    group.finalCents += item.final_line_price || 0;\n    group.originalCents += item.original_line_price || 0;\n\n    if (props._bundle_free) {\n      group.freeCents += item.final_line_price || 0;\n      group.giftLine = {\n        variantId: item.variant_id,\n        product: item.product_title,\n        quantity: item.quantity,\n        isFree: item.final_line_price === 0,\n      };\n      return;\n    }\n\n    addPaidLine(group, item, Boolean(props._bundle_main));\n    if (item.selling_plan_allocation) group.isSubscription = true;\n    group.packSize += item.quantity;\n    group.paidCents += item.line_price || 0;\n    group.oneTimePaidCents += oneTimeUnitCents(item) * item.quantity;\n    const refCents = parseInt(props._bundle_ref, 10);\n    if (refCents > 0) group.sixPackRateCents += refCents * item.quantity;\n  };\n\n  // \u2192 [{ group, handle, isTwin }], one per `_bundle_main` line in cart order.\n  const buildBundleCards = (items) => {\n    const groupsById = new Map();\n    const cards = [];\n\n    items.forEach((item) => {\n      const props = item.properties || {};\n      if (!props._bundle) return;\n      if (!groupsById.has(props._bundle)) groupsById.set(props._bundle, createGroup(props._bundle));\n      const group = groupsById.get(props._bundle);\n      addLine(group, item);\n      if (!props._bundle_main) return;\n\n      const isTwin = cards.some((card) => card.group === group);\n      if (!isTwin) {\n        group.title = props._bundle_title || '';\n        group.image = props._bundle_image || '';\n      }\n      cards.push({ group, handle: item.handle || '', isTwin });\n    });\n    return cards;\n  };\n\n  const groupsOf = (cards) => cards.filter((card) => !card.isTwin).map((card) => card.group);\n\n  const refreshBundleCards = async () => {\n    try {\n      const rootUrl = (window.Shopify && window.Shopify.routes && window.Shopify.routes.root) || '/';\n      // `cache: no-store` + a cache-bust param: right after /cart/add.js the\n      // browser may otherwise serve a stale /cart.js.\n      const response = await fetch(`${rootUrl}cart.js?t=${Date.now()}`, {\n        headers: { Accept: 'application/json' },\n        cache: 'no-store',\n      });\n      if (!response.ok) return;\n      const cart = await response.json();\n      bundleCards = buildBundleCards(cart.items || []);\n    } catch (error) {\n      // Network/parse failure \u2014 leave the drawer's default rendering untouched.\n    }\n  };\n\n  /* ---------- Group \u2192 what the card shows ---------- */\n\n  // What the free pizza adds to the struck price, from the map in\n  // assets/bundle-cart-compare-additions.js (dollars by pack size); 0 when the\n  // pack has no free pizza or the map has no amount for its size.\n  const freePizzaAdditionCents = (group) => {\n    if (!group.giftLine) return 0;\n    const additions = window.PocoBeroBundleCompareAdditions || {};\n    const dollars = Number(additions[group.packSize]);\n    return dollars > 0 ? Math.round(dollars * 100) * group.giftLine.quantity : 0;\n  };\n\n  // Struck \"was\" total (0 = none): the one-time pack price plus the free pizza's\n  // addition; otherwise the paid pizzas at the 6-pack rate plus whatever the\n  // free pizza really costs, so both totals cover the same pizzas.\n  const compareTotal = (group) => {\n    const additionCents = freePizzaAdditionCents(group);\n    if (additionCents) return group.oneTimePaidCents + additionCents;\n    return group.sixPackRateCents ? group.sixPackRateCents + group.freeCents : 0;\n  };\n\n  // Like the PDP's \"Save N%\": pack price vs. the same pizzas at the 6-pack rate.\n  const savingsPercent = (group) => {\n    if (!group.sixPackRateCents || group.paidCents >= group.sixPackRateCents) return 0;\n    return Math.round(((group.sixPackRateCents - group.paidCents) / group.sixPackRateCents) * 100);\n  };\n\n  const flavorChip = (line) => ({ text: LABELS.flavor(line.quantity, line.product) });\n\n  const percentChips = (group) => {\n    const percent = savingsPercent(group);\n    return percent > 0 ? [{ text: LABELS.percentOff(percent), modifier: 'percent' }] : [];\n  };\n\n  // `lines` plus `extra`, added to its flavor's entry when there is one.\n  const withLine = (lines, extra) => {\n    const index = lines.findIndex((line) => line.variantId === extra.variantId);\n    if (index === -1) return [...lines, extra];\n    return lines.map((line, i) => (i === index ? { ...line, quantity: line.quantity + extra.quantity } : line));\n  };\n\n  // One unlabeled row; a charged gift is one more pizza of its flavor.\n  const oneTimeSections = (group) => {\n    const { giftLine } = group;\n    const isChargedGift = Boolean(giftLine && !giftLine.isFree);\n    const paidLines = isChargedGift ? withLine(group.paidLines, giftLine) : group.paidLines;\n    const chips = [...paidLines.map(flavorChip), ...percentChips(group)];\n    if (giftLine && giftLine.isFree) chips.push({ text: LABELS.freePizza(giftLine.quantity, giftLine.product) });\n    return [{ chips }];\n  };\n\n  // What recurs, then the one-time gift that ships with the first order only.\n  const subscriptionSections = (group) => {\n    const sections = [{ label: LABELS.subscription, chips: [...group.paidLines.map(flavorChip), ...percentChips(group)] }];\n    const { giftLine } = group;\n    if (!giftLine) return sections;\n    return [\n      ...sections,\n      {\n        label: giftLine.isFree ? LABELS.freeGift : LABELS.firstOrderOnly,\n        modifier: giftLine.isFree ? 'gift' : '',\n        chips: [flavorChip(giftLine)],\n      },\n    ];\n  };\n\n  // \u2192 [{ label?, modifier?, chips: [{ text, modifier? }] }]\n  const sectionsFor = (group) => (group.isSubscription ? subscriptionSections(group) : oneTimeSections(group));\n\n  /* ---------- Patching a card ---------- */\n\n  const patchTitleAndImage = (card, group) => {\n    const titleEl = card.querySelector(TITLE_SELECTOR);\n    if (titleEl && group.title && titleEl.textContent.trim() !== group.title) titleEl.textContent = group.title;\n\n    // The first <img> in the card is the main line's thumbnail.\n    const imgEl = card.querySelector('img');\n    if (imgEl && group.image && imgEl.getAttribute('src') !== group.image) {\n      imgEl.setAttribute('src', group.image);\n      imgEl.removeAttribute('srcset');\n    }\n  };\n\n  const renderChip = ({ text, modifier }) => {\n    const chip = document.createElement('span');\n    chip.className = modifier ? `pbb-cart-chip pbb-cart-chip--${modifier}` : 'pbb-cart-chip';\n    chip.append(document.createTextNode(text));\n    return chip;\n  };\n\n  // An optional label above a row of chips.\n  const renderSection = ({ label, modifier, chips }) => {\n    const section = document.createElement('div');\n    section.className = modifier ? `pbb-cart-section pbb-cart-section--${modifier}` : 'pbb-cart-section';\n    if (label) {\n      const labelEl = document.createElement('p');\n      labelEl.className = 'pbb-cart-section__label';\n      labelEl.textContent = label;\n      section.append(labelEl);\n    }\n    const row = document.createElement('div');\n    row.className = 'pbb-cart-chips';\n    row.append(...chips.map(renderChip));\n    section.append(row);\n    return section;\n  };\n\n  // Our chips sit right after the drawer's (hidden by CSS on bundle cards).\n  const patchChips = (card, group) => {\n    const nativeChips = card.querySelector(NATIVE_CHIPS_SELECTOR);\n    if (!nativeChips) return;\n    const sections = sectionsFor(group);\n    const signature = JSON.stringify(sections);\n\n    let summary = card.querySelector('.pbb-cart-summary');\n    if (summary && summary.dataset.signature === signature && summary.previousElementSibling === nativeChips) return;\n    if (!summary) {\n      summary = document.createElement('div');\n      summary.className = 'pbb-cart-summary';\n    }\n    summary.dataset.signature = signature;\n    summary.replaceChildren(...sections.map(renderSection));\n    nativeChips.after(summary);\n  };\n\n  // Our own text node inside the drawer's price element (`placement`: prepend\n  // or append), created on demand and removed when there is no text.\n  const renderPriceText = (priceEl, { tagName, className, placement }, text) => {\n    let node = priceEl.querySelector(`.${className}`);\n    if (!text) {\n      if (node) node.remove();\n      return;\n    }\n    if (!node) {\n      node = document.createElement(tagName);\n      node.className = className;\n      priceEl[placement](node);\n    }\n    if (node.textContent !== text) node.textContent = text;\n  };\n\n  const WAS_PRICE = { tagName: 's', className: 'pbb-cart-price__was', placement: 'prepend' };\n  const NOW_PRICE = { tagName: 'span', className: 'pbb-cart-price__now', placement: 'append' };\n\n  // The pack's total replaces the drawer's, which only counts the card's own\n  // lines (short with a split main line). The struck 6-pack-rate total replaces\n  // the drawer's subscription strike, which only counts the main line.\n  const patchPrice = (card, group) => {\n    const priceEl = card.querySelector(PRICE_SELECTOR);\n    if (!priceEl) return;\n    priceEl.classList.add('pbb-cart-price');\n\n    const wasCents = compareTotal(group);\n    const showCompare = wasCents > group.finalCents;\n    const nativeStrike = priceEl.querySelector(NATIVE_STRIKE_SELECTOR);\n    if (nativeStrike) nativeStrike.hidden = showCompare;\n    const nativeTotal = priceEl.querySelector(NATIVE_TOTAL_SELECTOR);\n    if (nativeTotal) nativeTotal.hidden = true;\n\n    renderPriceText(priceEl, WAS_PRICE, showCompare ? formatMoney(wasCents) : '');\n    renderPriceText(priceEl, NOW_PRICE, formatMoney(group.finalCents));\n  };\n\n  const setTwin = (cardEl, isTwin) => {\n    cardEl.hidden = isTwin;\n    cardEl.toggleAttribute(TWIN_ATTRIBUTE, isTwin);\n  };\n\n  /* ---------- Item counts ---------- */\n\n  // Writes into the drawer's own text node: Svelte keeps a reference to it and\n  // still rewrites it whenever its card count changes.\n  const findTextNode = (el, test) =>\n    [...(el ? el.childNodes : [])].find((node) => node.nodeType === Node.TEXT_NODE && test(node.data.trim()));\n\n  const setTextNode = (node, text) => {\n    if (node && node.data.trim() !== text) node.data = text;\n  };\n\n  const isCount = (text) => /^\\d+$/.test(text);\n\n  // \"My Cart [N]\" and the subtotal's \"N items\" count the drawer's cards; show\n  // the visible ones (no twins).\n  const patchItemCounts = (drawer) => {\n    const count = [...drawer.querySelectorAll(CART_LINE_SELECTOR)].filter((line) => !line.hidden).length;\n    setTextNode(findTextNode(drawer.querySelector(HEADER_COUNT_SELECTOR), isCount), String(count));\n\n    const subtotalCount = drawer.querySelector(SUBTOTAL_COUNT_SELECTOR);\n    setTextNode(findTextNode(subtotalCount, isCount), String(count));\n    // \" item\" + plural suffix, same rule as the drawer.\n    setTextNode(findTextNode(subtotalCount, (text) => text === '' || text === 's'), count > 1 ? 's' : '');\n  };\n\n  /* ---------- Patching the drawer ---------- */\n\n  const patchDrawer = () => {\n    const drawer = document.getElementById(DRAWER_ID);\n    if (!drawer) return;\n\n    // Svelte reuses <li>s across renders: re-decide every twin on each pass.\n    drawer.querySelectorAll(`[${TWIN_ATTRIBUTE}]`).forEach((cardEl) => setTwin(cardEl, false));\n\n    const pendingCards = [...bundleCards];\n    const takeCardFor = (handle) => {\n      const index = pendingCards.findIndex((card) => card.handle === handle);\n      return index === -1 ? null : pendingCards.splice(index, 1)[0];\n    };\n\n    const cardEls = [...drawer.querySelectorAll('li')].filter((li) => li.querySelector(NATIVE_CHIPS_SELECTOR));\n    cardEls.forEach((cardEl) => {\n      const titleEl = cardEl.querySelector(TITLE_SELECTOR);\n      const card = takeCardFor(handleFromHref(titleEl && titleEl.getAttribute('href')));\n      // No match (e.g. an orphan line without parent metadata): leave the card\n      // as the drawer rendered it rather than paint another group's data on it.\n      if (!card) return;\n      if (card.isTwin) {\n        setTwin(cardEl, true);\n        return;\n      }\n\n      cardEl.dataset.pbbCard = '';\n      patchTitleAndImage(cardEl, card.group);\n      patchChips(cardEl, card.group);\n      patchPrice(cardEl, card.group);\n    });\n\n    patchItemCounts(drawer);\n  };\n\n  /* ---------- Lifecycle ---------- */\n\n  // Patch with the observer detached so our own DOM edits don't retrigger it.\n  const safePatch = () => {\n    if (observer) observer.disconnect();\n    patchDrawer();\n    const drawer = document.getElementById(DRAWER_ID);\n    if (observer && drawer) observer.observe(drawer, { childList: true, subtree: true });\n  };\n\n  const refreshThenPatch = async () => {\n    await refreshBundleCards();\n    safePatch();\n  };\n\n  // Coalesce overlapping refreshes: if a mutation arrives mid-fetch, run exactly\n  // one more pass afterwards rather than stacking fetches.\n  let refreshing = false;\n  let refreshQueued = false;\n  const refreshThenPatchOnce = () => {\n    if (refreshing) {\n      refreshQueued = true;\n      return;\n    }\n    refreshing = true;\n    refreshThenPatch().finally(() => {\n      refreshing = false;\n      if (refreshQueued) {\n        refreshQueued = false;\n        refreshThenPatchOnce();\n      }\n    });\n  };\n\n  const init = () => {\n    const drawer = document.getElementById(DRAWER_ID);\n    if (!drawer) return;\n\n    // The drawer's remove / quantity path posts to /cart/update.js WITHOUT firing\n    // `update-cart`, so any structural drawer mutation re-reads the cart.\n    let frame = 0;\n    observer = new MutationObserver(() => {\n      window.cancelAnimationFrame(frame);\n      frame = window.requestAnimationFrame(refreshThenPatchOnce);\n    });\n    observer.observe(drawer, { childList: true, subtree: true });\n\n    document.addEventListener('update-cart', refreshThenPatch);\n    document.addEventListener('toggle-cart', safePatch);\n\n    refreshThenPatch();\n  };\n\n  // Read-only hook for other drawer modules (cart-drawer-subtotal.js): what the\n  // bundle cards show as saved (struck \"was\" total minus what is charged).\n  window.PocoBeroBundleCart = Object.freeze({\n    savingsCents: (items) => groupsOf(buildBundleCards(items)).reduce((sum, group) => {\n      const wasCents = compareTotal(group) || group.originalCents;\n      return sum + Math.max(0, wasCents - group.finalCents);\n    }, 0),\n  });\n\n  if (document.readyState === 'loading') {\n    document.addEventListener('DOMContentLoaded', init);\n  } else {\n    init();\n  }\n})();\n"],
  "mappings": "CAkDC,IAAM,CACL,MAAM,UAAY,cACZ,sBAAwB,6BACxB,eAAiB,wBACjB,eAAiB,oCACjB,uBAAyB,yBACzB,sBAAwB,6BAExB,mBAAqB,mDACrB,sBAAwB,oBACxB,wBAA0B,wDAC1B,eAAiB,gBAEjB,OAAS,CACb,OAAQ,CAA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