{"version":3,"file":"default/js/pdpSummary.js","mappings":";;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA,aAAa;AACb;AACA;AACA;AACA;AACA,KAAK;;;AAGL;AACA;AACA,KAAK;AACL,CAAC","sources":["webpack://sfra-startup-kit/./cartridges/int_bazaarvoice_sfra/cartridge/client/default/js/pdpSummary.js"],"sourcesContent":["$(document).ready(function () {\n window.bvCallback = function (BV) {\n if (typeof BV !== 'undefined') {\n BV.swat_reviews.on('show', function () {\n // This line assumes SFRA collapsible panels and is called when clicking on the review summary\n $('.row.reviews:not(.active)').toggleClass('active');\n });\n BV.swat_questions.on('show', function () {\n // This line assumes SFRA collapsible panels and is called when clicking on the Q&A summary\n $('.row.questions:not(.active)').toggleClass('active');\n });\n }\n };\n setTimeout(function () {\n document.getElementById('data-bv-show').classList.remove('bv-hidden');\n }, 1500);\n\n\n $('body').on('product:afterAttributeSelect', function (e, response) {\n $('div[data-bv-product-id]').attr('data-bv-product-id', response.data.product.id);\n });\n});\n"],"names":[],"sourceRoot":""}