1var rpi=rpi||{}; 2rpi.Time={getFormatTime:function(a,b,d){a=this._ms(a);if(!isFinite(a))return"";a=new Date(a);var k=d||"en";d=function(l){return 10>l?"0"+l:""+l};var g=a.getHours(),f=((new Intl.DateTimeFormat(k,{day:"numeric",month:"short"})).formatToParts(a).find(function(l){return"month"===l.type})||{}).value;k=(new Intl.DateTimeFormat(k,{day:"numeric",month:"long"})).formatToParts(a).find(function(l){return"month"===l.type}).value;var m=a.getFullYear(),n=String(m).slice(-2),p={yyyy:m,Y:m,yy:n,y:n,MMMM:k,MMM:f, 3M:f,MM:d(a.getMonth()+1),m:d(a.getMonth()+1),dd:d(a.getDate()),d:d(a.getDate()),HH:d(g),H:g,hh:d(g%12||12),h:g%12||12,mm:d(a.getMinutes()),i:d(a.getMinutes()),ss:d(a.getSeconds()),s:d(a.getSeconds()),a:12<=g?"pm":"am",A:12<=g?"PM":"AM"};return b.replace(/(MMMM|MMM|yyyy|HH|hh|MM|mm|dd|ss|yy|H|h|M|m|d|Y|y|i|s|a|A)/g,l=>null!=p[l]?p[l]:l)},getTimeAgo:function(a,b){a=this._ms(a);if(!isFinite(a))return"";a=(a-Date.now())/1E3;var d=Math.abs(a);b=new Intl.RelativeTimeFormat(b||"en",{numeric:"auto"});return 60> 4d?b.format(Math.round(a),"second"):3600>d?b.format(Math.round(a/60),"minute"):86400>d?b.format(Math.round(a/3600),"hour"):2592E3>d?b.format(Math.round(a/86400),"day"):31536E3>d?b.format(Math.round(a/2592E3),"month"):b.format(Math.round(a/31536E3),"year")},_ms:function(a){a=parseInt(a,10);return 1E10>a?1E3*a:a}};rpi=rpi||{}; 5rpi.Utils={__:function(a,b){return b&&b[a]||a},isVisible:function(a){let b=window.getComputedStyle(a);return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)&&"hidden"!==b.visibility&&"none"!==b.display},isInViewport:function(a,b=0){a=a.getBoundingClientRect();return a.top<window.innerHeight*(1+b)&&a.bottom>-window.innerHeight*b&&a.left<window.innerWidth*(1+b)&&a.right>-window.innerWidth*b},isRTL:function(){return"rtl"==(window.getComputedStyle?window.getComputedStyle(document.body,null).getPropertyValue("direction"): 6document.body.currentStyle.direction)},getParent:function(a,b="rplg"){b=Array.isArray(b)?b:[b];return a?a.closest("."+b.join(",.")):null},lang:function(){const a=navigator;return String((a.languages&&a.languages.length?a.languages[0]:null)||a.language||a.systemLanguage||a.userLanguage||"en").replace("_","-")},popup:function(a,b,d){var k=document.documentElement;a=window.open(a,"","scrollbars=yes, width="+b+", height="+d+", top="+((window.innerHeight?window.innerHeight:k.clientHeight?k.clientHeight: 7screen.height)/2-d/2+(void 0!=window.screenTop?window.screenTop:window.screenY))+", left="+((window.innerWidth?window.innerWidth:k.clientWidth?k.clientWidth:screen.width)/2-b/2+(void 0!=window.screenLeft?window.screenLeft:window.screenX)));window.focus&&a.focus();return a},ajax:function(a,b,d,k){const g=new XMLHttpRequest;g.open(b,a,!0);g.setRequestHeader("Content-Type","application/json");g.onreadystatechange=function(){if((g.readyState===XMLHttpRequest.DONE||g.readyState===g.DONE)&&200===g.status){const f= 8JSON.parse(g.responseText);"function"===typeof k?k(f):"function"===typeof d&&d(f)}};g.send(d&&"function"!==typeof d?JSON.stringify(d):null)},anchor:function(a,b,d,k,g){const f=[];d.open_link&&f.push("noopener");d.nofollow_link&&f.push("nofollow");return'<a href="'+a+'"'+(k?' class="'+k+'"':"")+(d.open_link?' target="_blank"':"")+(f.length?' rel="'+f.join(" ")+'"':"")+(g?' aria-label="'+g+'"':"")+">"+b+"</a>"},rm:function(a){a&&a.parentNode&&a.parentNode.removeChild(a)},capit:function(a){return a.charAt(0).toUpperCase()+ 9a.slice(1)},count:function(a){const b=Number(a);return isFinite(b)?b.toLocaleString():null==a?"":String(a)},compact:function(a){const b=Number(a);if(!isFinite(b))return null==a?"":String(a);if(1E3>Math.abs(b))return String(b);try{return b.toLocaleString(void 0,{notation:"compact",maximumFractionDigits:1})}catch(d){return this.count(Math.round(b))}},url:function(a){try{return(new URL(a,window.location.origin)).href}catch(b){return""}},clear:function(){this.rm(document.getElementById("rpi-style")); 10if(rpi.Instances)for(;rpi.Instances.length;)rpi.Instances.pop().clear()}};rpi=rpi||{}; 11rpi.Column=function(a,b,d){const k=a.getAttribute("data-id"),g=new RegExp(d.col+"-[xsml]+"),f=new RegExp((k?'\\[data-id="'+k+'"\\]\\s+':"")+"\\."+d.card+"\\{--col:\\d+!important;--gap:\\d+!important\\}
11"),m=a.getElementsByClassName(d.cnt)[0];var n=null,p=null;return n={init:function(l,r){rpi.Instances=rpi.Instances||[];-1===rpi.Instances.indexOf(n)&&rpi.Instances.push(n);rpi.Utils.isVisible(m)?(l&&l(),n.resize(),window.addEventListener("resize",n.resize),r&&r()):p=setTimeout(n.init,300)},resize:function(){let l= 12n.getSize();m.className=m.className.replace(g,d.col+"-"+l);if(b.breakpoints){let r=m.offsetWidth,t=b.breakpoints.split(",");t.sort(n.brsort);for(let v=0;v<t.length;v++){let e=t[v].split(":");if(r<parseInt(e[0])){n.setCol(e[1]);break}}}return l},getSize:function(){let l=m.offsetWidth;return 510>l?"xs":750>l?"x":1050>l?"s":1450>l?"m":1800>l?"l":"xl"},setCol:function(l){const r=this.getStyle();l=(k?'[data-id="'+k+'"] ':"")+"."+d.card+"{--col:"+l+"!important;--gap:"+(l-1)+"!important}";f.test(r.innerHTML)? 13r.innerHTML=r.innerHTML.replace(f,l):r.innerHTML+=l},getCol:function(){let l=this.getStyle().innerHTML.match(/--col:\s*(\d+)/);return l&&1<l.length?l[1]:!1},getStyle:function(){let l=document.getElementById("rpi-style");l||(l=document.createElement("style"),l.id="rpi-style",document.head.appendChild(l));return l},setBreakpoints:function(l){b.breakpoints=l},brsort:function(l,r){return parseInt(l.split(":")[0])>parseInt(r.split(":")[0])?1:-1},clear:function(){clearTimeout(p);window.removeEventListener("resize", 14n.resize)}}};rpi=rpi||{};rpi.AVA="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"; 15rpi.Common=function(a,b,d){let k=null;const g=rpi.Utils.lang();return k={init(){let f=a.getElementsByClassName(d.time),m=a.getElementsByClassName(d.text);for(const n of f)k.setTime(n);for(const n of m)k.setText(n)},initOnce(f){let m=f.getElementsByClassName(d.time)[0];f=f.getElementsByClassName(d.text)[0];k.setTime(m);k.setText(f)},setText(f){if(f&&f.textContent){var m=k.trimtext(f.textContent);f.textContent=m[0];m[1]&&(f.appendChild(rpi.el({tag:"span",cl:"rpi-s",text:"... "})),f.appendChild(rpi.el({tag:"span", 16cl:d.readmore,text:rpi.Utils.__("read more",b.trans),data:{hidden:m[1]}})),f.lastChild.onclick=k.opentext)}},trimtext(f){const m=parseInt(b.text_size,10);if(!f||!m||f.length<=m)return[f||"",""];f=Array.from(f);let n=f.slice(0,m).join("").lastIndexOf(" ");n=-1===n?m:n;return[f.slice(0,n).join("").trimEnd(),f.slice(n).join("")]},opentext(){let f=this.parentNode,m=this.dataset.hidden||"";rpi.Utils.rm(this.previousElementSibling);rpi.Utils.rm(this);f.appendChild(document.createTextNode(m))},setTime(f){f&& 17(f.textContent=k.time(f.dataset.time,f.dataset.lang))},time(f,m){return b.time_format?rpi.Time.getFormatTime(f,b.time_format,m||g):rpi.Time.getTimeAgo(f,m||g)}}}; 18rpi.el=function(a={},...b){const d=document.createElement("string"===typeof a?a:a.tag||"div");"string"!==typeof a&&(a.id&&(d.id=a.id),a.cl&&d.classList.add(...[].concat(a.cl).join(" ").split(/\s+/).filter(Boolean)),null!=a.text&&(d.textContent=a.text),a.data&&Object.assign(d.dataset,Object.fromEntries(Object.entries(a.data).filter(([,k])=>void 0!==k&&null!==k))),a.style&&(d.style.cssText=a.style),a.atts&&Object.keys(a.atts).forEach(k=>{const g=a.atts[k];null!==g&&void 0!==g&&!1!==g&&d.setAttribute(k, 19g)}),a.html&&(d.innerHTML=a.html),b=a.children?[].concat(a.children).concat(b):b);b.flat().forEach(k=>{k&&d.appendChild(k instanceof Node?k:document.createTextNode(String(k)))});return d};rpi=rpi||{}; 20rpi.Media=function(a,b={},{root:d="rpi",card:k="rpi-card"}={}){let g,f=null,m=null;return m={init:function(){f=a.getElementsByClassName("rpi-thumb");for(let n=0;n<f.length;n++)f[n].setAttribute("data-idx",n),function(p,l){p.onclick=function(){m.show(p,l);return!1}}(f[n],n)},thumbs:function(n){if(Array.isArray(n)){var p=[];for(const l of n)n=document.createElement("img"),n.className="rpi-thumb rpi-clickable",n.src=l.thumbnailUrl,n.alt=rpi.Utils.__("Photo from customer review",b.trans),n.loading="lazy", 21p.push(n);return p}},clicks:function(n){n=n.getElementsByClassName("rpi-thumb");for(let p=0;p<n.length;p++)(function(l,r){l.onclick=function(){let t=parseInt(l.getAttribute("data-idx"));m.show(f[t],t);return!1}})(n[p],p)},show:function(n,p){if(!(0>p||p>=f.length)&&rpi.Lightbox){var l=n.src.replace(/=s[0-9]{1,3}/g,"=s500");n=(n=rpi.Utils.getParent(n,[k,"rpi-review"]))?n.outerHTML:"";g||(g=document.createElement("div"),g.className="rpi-lightbox-content",g.innerHTML='<div class="rpi-lightbox-media"><div class="rpi-lightbox-btn rpi-lightbox-prev"></div><img src="'+ 22l+'" alt=""><div class="rpi-lightbox-btn rpi-lightbox-next"></div></div><div class="'+d+' rpi-lightbox-review">'+n+"</div>",m.clicks(g));var r=g.querySelector(".rpi-lightbox-media img"),t=g.querySelector(".rpi-lightbox-review"),v=g.querySelector(".rpi-lightbox-prev"),e=g.querySelector(".rpi-lightbox-next");r.src=l;t.innerHTML!==n&&(t.innerHTML=n,m.clicks(t));v.onclick=function(u){m.show(f[p-1],p-1)};e.onclick=function(u){m.show(f[p+1],p+1)};rpi.Lightbox(g).show()}}}};rpi=rpi||{}; 23rpi.Lightbox=function(a){let b=document.querySelector(".rpi-lightbox-wrap");b||(b=document.createElement("div"),b.className="rpi-lightbox-wrap",b.innerHTML='<div class="rpi-lightbox"><div class="rpi-lightbox-inner"><div class="rpi-lightbox-xxx"></div></div></div><div class="rpi-x"></div>',b.querySelector(".rpi-x").onclick=function(){b.style.display="none"},b.querySelector(".rpi-lightbox").onclick=function(g){if(g.target.isConnected){var f=b.querySelector(".rpi-lightbox-xxx").firstElementChild;f&& 24f.contains(g.target)||(b.style.display="none")}},b.style.display="none",document.body.appendChild(b));let d=b.querySelector(".rpi-lightbox"),k=b.querySelector(".rpi-lightbox-xxx");k.innerHTML="";k.appendChild(a);return _this={show:function(g){b.style.display="flex";d.style.backdropFilter=g?"blur(2px)":""},hide:function(){b.style.display="none"}}};rpi=rpi||{}; 25rpi.Slider=function(a,b,d,k){a.getAttribute("data-id");
25const g=a.getElementsByClassName(d.cnt)[0],f=a.getElementsByClassName(d.content)[0],m=f?f.getElementsByClassName(d.cards)[0]:null,n=f?f.getElementsByClassName(d.dotsWrap)[0]:null,p=f?f.getElementsByClassName(d.dots)[0]:null,l=m?parseInt(m.getAttribute("data-count")):0,{autoplay:r=!0,speed:t=5,mousestop:v=!0}=b;var e=null,u=f?f.getElementsByClassName(d.card):null,E="",F="",G=null,A=null,y=null,x=null,B=null,C=!1,z=!1,D=0,H=0;return e={init:function(c, 26h){rpi.Instances=rpi.Instances||[];-1===rpi.Instances.indexOf(e)&&rpi.Instances.push(e);rpi.Utils.isVisible(g)?(c&&c(),e.resize(),e.actions(),u.length&&e.swipeAutoStart(),h&&h()):G=setTimeout(e.init,300)},resize:function(c){let h=k.column.resize(),q=k.column.getCol();c&&m.scrollLeft!=c*e.reviewWidth()&&m.scrollTo(u[c].offsetLeft,0);!u.length||E==h&&F==q||(e.hasDots()&&(e.dotsInit(),e.dotSwipe(c,!0)),E=h,F=q)},actions:function(){v&&e.addMouseEvents();window.addEventListener("resize",e.resizeListener); 27m&&(m.addEventListener("scroll",e.scrollListener,!1),b.wheelscroll&&f.addEventListener("wheel",e.wheelListener,!1));var c=g.getElementsByClassName(d.btnPrev)[0];c&&(c.onclick=function(h){h.preventDefault();h.stopPropagation();e.btnClick(-1)});if(c=g.getElementsByClassName(d.btnNext)[0])c.onclick=function(h){h.preventDefault();h.stopPropagation();e.btnClick(1)}},resizeListener:function(){var c=H;clearTimeout(A);A=setTimeout(e.resize,150,c)},scrollListener:function(){clearTimeout(y);clearTimeout(x); 28x=setTimeout(e.scrollEnd,150)},wheelListener:function(c){var h=c.target;if((h=-1<h.className.indexOf(d.text)?h:-1<h.parentNode.className.indexOf(d.text)?h.parentNode:null)&&h.scrollHeight>h.clientHeight)return!0;c.preventDefault();D++;clearTimeout(B);B=setTimeout(e.wheelEnd,150,c)},addMouseEvents:function(){g.addEventListener("mouseover",e.mouseOver,!1);g.addEventListener("mouseleave",e.mouseLeave,!1)},delMouseEvents:function(){g.removeEventListener("mouseover",e.mouseOver);g.removeEventListener("mouseleave", 29e.mouseLeave)},mouseOver:function(){C=1;e.swipeAutoStop()},mouseLeave:function(){C=0;e.swipeAutoStart()},btnClick:function(c){e.swipeManual(c*e.swipePerBtn())},wheelEnd:function(c){e.swipeManual(Math.sign(c.wheelDelta)*D*e.swipeStep());D=0},scrollEnd:function(){H=e.reviewsIdx();z?z=!1:e.loadNextReviews();(!v||C)&&v||(!b.clickstop||z)&&b.clickstop||e.swipeAutoStart();e.hasDots()&&e.dotSwipe(void 0,!0)},loadNextReviews:function(c){c=c?e.reviewsIdx()+parseInt(c):e.hasDots()?(c=p.getElementsByClassName("active")[0])? 30parseInt(c.getAttribute("data-index"))*e.swipePerDot():e.reviewsIdx():e.reviewsIdx();c=e.getAjaxSize(c);0<c&&k.view.loadNextReviews(c)},getAjaxSize:function(c){let h=0;const q=parseInt(m.getAttribute("data-offset")),w=parseInt(b.pagination);if(l>q){let I=c-q;Math.abs(I)<3*e.swipePerDot()?h=w:I&&(h=Math.ceil(c/w)*w-q)}c=q+h-l;return 0<c?h-c:h},dotsInit:function(){if(p){var c=Math.ceil(l/e.swipePerDot());p.innerHTML="";for(let h=0;h<c;h++){let q=document.createElement("button");q.className=d.dot;q.setAttribute("data-index", 31h);q.setAttribute("title",h);q.setAttribute("aria-label","Go to page "+h);q.onclick=e.dotClick;p.appendChild(q)}e.dotsPadding()}},dotClick:function(c){c.preventDefault();c.stopPropagation();c=parseInt(this.getAttribute("data-index"));var h=p.getElementsByClassName("active")[0];h=parseInt(h.getAttribute("data-index"));e.swipeManual(Math.abs(c-h)*e.swipePerDot()*Math.sign(c-h))},dotsPadding:function(){let c=n.getBoundingClientRect().height;g.style.paddingBottom=c+"px"},dotSwipe:function(c,h){c=Math.round((void 0!== 32c?c:e.reviewsIdx())/e.swipePerDot());c=0>c?0:c>=p.childNodes.length?p.childNodes.length-1:c;c=p.querySelector("."+d.dot+'[data-index="'+c+'"]');let q=p.getElementsByClassName("active")[0];e.dotActivate(q,c);e.dotScroll(c,h)},dotScroll:function(c,h){let q=Math.round(p.scrollWidth/p.childNodes.length),w=Math.floor(Math.round(p.offsetWidth/q)/2);h?p.scrollTo(c.offsetLeft-w*q,0):p.scrollTo({left:c.offsetLeft-w*q,behavior:"smooth"})},dotActivate:function(c,h){c&&(c.classList.remove("active"),c.classList.remove("s1"), 33c.previousSibling&&(c.previousSibling.classList.remove("s2"),c.previousSibling.previousSibling&&c.previousSibling.previousSibling.classList.remove("s3")),c.nextSibling&&(c.nextSibling.classList.remove("s2"),c.nextSibling.nextSibling&&c.nextSibling.nextSibling.classList.remove("s3")));h&&(h.classList.add("active"),h.classList.add("s1"),h.previousSibling&&(h.previousSibling.classList.add("s2"),h.previousSibling.previousSibling&&h.previousSibling.previousSibling.classList.add("s3")),h.nextSibling&&(h.nextSibling.classList.add("s2"), 34h.nextSibling.nextSibling&&h.nextSibling.nextSibling.classList.add("s3")))},swipeManual:function(c){z=!0;e.loadNextReviews(c);e.scroll(c);b.clickstop&&(e.swipeAutoStop(),e.delMouseEvents())},swipeAuto:function(){if(rpi.Utils.isInViewport(g))if(e.isScrollEnd())e.scroll(-(l-e.reviewsPerView()));else{let c=e.swipeStep()<e.reviewsAhead()?e.swipeStep():e.reviewsAhead();e.scroll(c)}e.swipeAutoStart()},scroll:function(c){c=e.reviewsIdx()+parseInt(c);let h=rpi.Utils.isRTL()?c+e.reviewsPerView()-1:c;h=0>h? 350:h>=u.length?u.length-1:h;-1<h&&h<u.length&&(m.scrollTo({left:u[h].offsetLeft,behavior:"smooth"}),e.hasDots()&&e.dotSwipe(c))},swipeAutoStart:function(){r&&(y=setTimeout(e.swipeAuto,1E3*parseInt(t)))},swipeAutoStop:function(){clearTimeout(y);x&&setTimeout(function(){clearTimeout(x)},100)},isScrollEnd:function(){var c=m.querySelector("."+d.card+":last-child"),h=c.getBoundingClientRect();c=c.parentNode.getBoundingClientRect();return(2>Math.abs(c.left-h.left)||c.left<=h.left)&&h.left<c.right&&(2>Math.abs(c.right- 36h.right)||c.right>
36=h.right)&&h.right>c.left},swipeStep:function(){return b.swipe_step||e.reviewsPerView()},swipePerBtn:function(){return b.swipe_per_btn||e.reviewsPerView()},swipePerDot:function(){return b.swipe_per_dot||e.reviewsPerView()},reviewWidth:function(){return Math.round(m.scrollWidth/u.length)},reviewHeight:function(){return u[0].offsetHeight},reviewsPerView:function(){return Math.round(m.offsetWidth/e.reviewWidth())},reviewsIdx:function(){let c=rpi.Utils.isRTL()?-m.scrollLeft:m.scrollLeft; 37return Math.round(c/e.reviewWidth())},reviewsAhead:function(){return u.length-(e.reviewsIdx()+e.reviewsPerView())},hasDots:function(){return p&&!b.hide_dots&&0<e.swipePerDot()},setBreakpoints:function(c){k.column.setBreakpoints(c);e.resize()},clear:function(){clearTimeout(G);clearTimeout(A);clearTimeout(y);clearTimeout(x);clearTimeout(B);window.removeEventListener("resize",e.resizeListener);m.removeEventListener("scroll",e.scrollListener);f.removeEventListener("wheel",e.wheelListener)}}}; 38function rplg_badge_init(a,b,d){var k=a.querySelector(".wp-"+b+"-badge"),g=a.querySelector(".wp-"+b+"-form");k&&g&&(a=document.createElement("div"),a.className=d+" wpac",-1<k.className.indexOf("-fixed")&&a.appendChild(k),a.appendChild(g),document.body.appendChild(a),k.onclick=function(){g.style.display="block"})} 39function rplg_next_reviews(a,b){var d=this.parentNode,k="."+a+"-review."+a+"-hide";reviews=d.querySelectorAll(k);for(var g=0;g<b&&g<reviews.length;g++)reviews[g]&&(reviews[g].className=reviews[g].className.replace(a+"-hide"," "));reviews=d.querySelectorAll(k);1>reviews.length&&d.removeChild(this);return!1}function rplg_leave_review_window(){rpi.Utils.popup(this.getAttribute("href"),620,500);return!1} 40function grw_init(a,b){a=rpi.Utils.getParent(a,"wp-gr");if("true"!=a.getAttribute("data-exec")){a.setAttribute("data-exec","true");var d=JSON.parse(a.getAttribute("data-options"));rpi.Common(a,d,{time:"wp-google-time",text:"wp-google-text",readmore:"wp-more-toggle"}).init();rpi.Media(a,{},{root:"wp-gr",card:"grw-review"}).init();var k=a.querySelector(".grw-popup");if(k&&rpi.Lightbox){const g=function(){k.classList.add("grw-popup-on");rpi.Lightbox(k).show(!0);return!1};d=a.getElementsByClassName("grw-header-inner"); 41for(let f=0;f<d.length;f++)d[f].setAttribute("role","button"),d[f].setAttribute("tabindex","0"),d[f].onclick=function(m){m.target.closest("a")||g()},d[f].onkeydown=function(m){if("Enter"===m.key||" "===m.key)m.preventDefault(),g()}}!a.getElementsByClassName("grw-review")[0]||"slider"!=b&&"grid"!=b||(b=a.getElementsByClassName("grw-row")[0],b=JSON.parse(b.getAttribute("data-options")),d=rpi.Column(a,b,{cnt:"grw-row",col:"grw-row",card:"grw-review"}),rpi.Slider(a,b,{cnt:"grw-row",col:"grw-row",content:"grw-content", 42cards:"grw-reviews",card:"grw-review",text:"wp-google-text",btnPrev:"grw-prev",btnNext:"grw-next",dotsWrap:"rpi-dots-wrap",dots:"rpi-dots",dot:"rpi-dot"},{column:d}).init())}}function grw_boot(){const a=document.querySelectorAll('.wp-gr[data-exec="false"]');for(let d=0;d<a.length;d++){var b=a[d];grw_init(b,b.getAttribute("data-layout"))}}document.addEventListener("DOMContentLoaded",grw_boot);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.