function renderFaqsSnippetNew(e){var t=new XMLHttpRequest;t.onreadystatechange=function(){if(4==t.readyState&&200==t.status&&t.responseText.length>0){var e;e=document.createElement("script"),e.setAttribute("id","reviewsWidgetFaqsSnippets"),e.setAttribute("type","application/ld+json"),e.appendChild(document.createTextNode(t.responseText)),document.getElementsByTagName("head")[0].appendChild(e)}};var n="https://api.reviews.io/json-ld/faqs/snippet?store="+encodeURIComponent(e.store)+"&url="+encodeURIComponent(document.location.href)+"&grouping_hash="+encodeURIComponent(e.group);t.open("GET",n),t.send()}function fetchWidgetContentsNew(e,t,n,o,a,i){a=void 0===a?[]:a,i=void 0===i?"":i;var r=new XMLHttpRequest;r.onreadystatechange=function(){4==r.readyState&&200==r.status&&r.responseText.length>0&&(e.innerHTML=r.responseText,setupWidgetNew(e,t,n,a)),window.setTimeout(stopLoadingNew,1e3)};var s="https://widget.reviews.io/questions-answers/new/widget?store="+encodeURIComponent(t)+"&grouping_hash="+encodeURIComponent(n)+"&page="+encodeURIComponent(o)+"&search="+encodeURIComponent(i);s+=buildQueryStringNew(a),r.open("GET",s),r.send()}function buildQueryStringNew(e){for(var t="",n=0;n-1&&o.push({key:a,value:t[a]});var i=void 0===t.group||null===t.group?window.location.href:t.group,r=document.getElementById("qa_search"),s=r?r.value:"";fetchWidgetContentsNew(n,t.store,i,1,o,s);var d=null;onSearch=function(){clearTimeout(d),d=setTimeout(function(){var e=document.getElementById("qa_search"),a=e?e.value:"";fetchWidgetContentsNew(n,t.store,i,1,o,a)},500)}},productQuestionsWidget=function(e,t){t.group=t.sku,delete t.sku,questionsWidgetNew(e,t)};var ruk_qa_loading=!0;