{"product_id":"curling-silver-stick-mascara","title":"Meet the Curling Silver Stick Mascara: Your Shortcut to Lifted, Defined Lashes","description":"\u003cscript\u003e\n(() =\u003e {\n  let attempts = 0;\n  let finished = false;\n\n  const clean = value =\u003e\n    (value || '').replace(\/\\s+\/g, ' ').trim();\n\n  function getRadioGroups(container) {\n    const groups = new Map();\n\n    container\n      .querySelectorAll('input[type=\"radio\"]')\n      .forEach(radio =\u003e {\n        const name = radio.name || '__unnamed__';\n\n        if (!groups.has(name)) groups.set(name, []);\n        groups.get(name).push(radio);\n      });\n\n    return [...groups.values()].filter(group =\u003e group.length \u003e= 2);\n  }\n\n  function findBundleGroup() {\n    const headings = [...document.querySelectorAll(\n      'legend, h2, h3, h4, h5, p, span, div'\n    )]\n      .filter(element =\u003e\n        \/^bundle\\s*\u0026\\s*save$\/i.test(clean(element.textContent))\n      )\n      .sort((a, b) =\u003e a.children.length - b.children.length);\n\n    for (const heading of headings) {\n      let container = heading.parentElement;\n\n      for (let level = 0; container \u0026\u0026 level \u003c 7; level++) {\n        const groups = getRadioGroups(container);\n\n        if (groups.length) return groups[0];\n        container = container.parentElement;\n      }\n    }\n\n    return null;\n  }\n\n  function selectSecondOption() {\n    if (finished) return;\n\n    const group = findBundleGroup();\n    if (!group || !group[1]) return;\n\n    const secondOption = group[1];\n\n    if (!secondOption.checked) {\n      secondOption.click();\n    }\n\n    if (!secondOption.checked) {\n      secondOption.checked = true;\n      secondOption.dispatchEvent(\n        new Event('input', { bubbles: true })\n      );\n      secondOption.dispatchEvent(\n        new Event('change', { bubbles: true })\n      );\n    }\n\n    finished = secondOption.checked;\n  }\n\n  function start() {\n    selectSecondOption();\n\n    const timer = setInterval(() =\u003e {\n      attempts++;\n      selectSecondOption();\n\n      if (finished || attempts \u003e= 20) {\n        clearInterval(timer);\n      }\n    }, 250);\n  }\n\n  document.readyState === 'loading'\n    ? document.addEventListener('DOMContentLoaded', start, { once: true })\n    : start();\n})();\n\u003c\/script\u003e","brand":"Hrsultshop","offers":[{"title":"1-Pack — Just One","offer_id":53881508987199,"sku":"CZ-stick-mascara*1PC","price":14.99,"currency_code":"USD","in_stock":true},{"title":"3-Pack — Buy 2 Get 1 Free","offer_id":53881509019967,"sku":"CZ-stick-mascara*3PC","price":29.98,"currency_code":"USD","in_stock":true},{"title":"5-Pack — Buy 3 Get 2 Free","offer_id":53881509052735,"sku":"CZ-stick-mascara*5PC","price":44.97,"currency_code":"USD","in_stock":true},{"title":"10-Pack — Buy 5 Get 5 Free","offer_id":53881509085503,"sku":"CZ-stick-mascara*10PC","price":74.95,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0799\/8301\/8303\/files\/imgi_3_216d691ef7073ea1f99fa3393af1ccbd9fed4c7a.jpg?v=1782711390","url":"https:\/\/hrsultshop.com\/products\/curling-silver-stick-mascara","provider":"Hrsultshop","version":"1.0","type":"link"}