PageSourceSearch

https://www.squeakycleanli.com/wp-content/plugins/business-reviews-bundle/assets/js/public-main.js?ver=1.9.131

js squeakycleanli.com collected 2026-10-04 13:50:44 UTC 70,301 bytes, 143 lines download raw bytes

1var rpi=rpi||{};
2rpi.Time={getTime:function(a,d,f){return"chat"==f?this.getChatTime(a,d||"en"):f?this.getFormatTime(a,f,d||"en"):this.getDefaultTime(a,d||"en")},getChatTime:function(a,d){var f=((new Date).getTime()-a)/1E3/60/60,p=f/24;return 24>f?this.getFormatTime(a,"HH:mm",d):365>p?this.getFormatTime(a,"dd.MM HH:mm",d):this.getFormatTime(a,"yyyy.MM.dd HH:mm",d)},getDefaultTime:function(a,d){return this.getTimeAgo(a,d)},getTimeAgo:function(a,d){a=((new Date).getTime()-a)/1E3;var f=a/60,p=f/60,h=p/24,q=h/365;d=rpi.Time.Messages[d]?
3d:"en";return 45>a?rpi.Time.Messages[d].second:90>a?rpi.Time.Messages[d].minute:45>f?rpi.Time.Messages[d].minutes(f):90>f?rpi.Time.Messages[d].hour:24>p?rpi.Time.Messages[d].hours(p):48>p?rpi.Time.Messages[d].day:30>h?rpi.Time.Messages[d].days(h):60>h?rpi.Time.Messages[d].month:365>h?rpi.Time.Messages[d].months(h):2>q?rpi.Time.Messages[d].year:rpi.Time.Messages[d].years(q)},getTime12:function(a,d){a=new Date(a);return(a.getHours()%12?a.getHours()%12:12)+":"+a.getMinutes()+(12<=a.getHours()?" PM":
4" AM")},getFormatTime:function(a,d,f){var p=new Date(a),h={SS:p.getMilliseconds(),ss:p.getSeconds(),mm:p.getMinutes(),HH:p.getHours(),hh:(p.getHours()%12?p.getHours()%12:12)+(12<=p.getHours()?"PM":"AM"),dd:p.getDate(),MM:p.getMonth()+1,yyyy:p.getFullYear(),yy:String(p.getFullYear()).toString().substr(2,2),ago:this.getTimeAgo(a,f),12:this.getTime12(a,f)};return d.replace(/(SS|ss|mm|HH|hh|DD|dd|MM|yyyy|yy|ago|12)/g,function(q,l){q=h[l];return 10>q?"0"+q:q})},declineNum:function(a,d,f,p){return a+" "+
5this.declineMsg(a,d,f,p)},declineMsg:function(a,d,f,p,h){var q=a%10;return 1==q&&(1==a||20<a)?d:1<q&&5>q&&(20<a||10>a)?f:a?p:h}};
6rpi.Time.Messages={ru:{second:"\u0442\u043e\u043b\u044c\u043a\u043e \u0447\u0442\u043e",minute:"\u043c\u0438\u043d\u0443\u0442\u0443 \u043d\u0430\u0437\u0430\u0434",minutes:function(a){return rpi.Time.declineNum(Math.round(a),"\u043c\u0438\u043d\u0443\u0442\u0430 \u043d\u0430\u0437\u0430\u0434","\u043c\u0438\u043d\u0443\u0442\u044b \u043d\u0430\u0437\u0430\u0434","\u043c\u0438\u043d\u0443\u0442 \u043d\u0430\u0437\u0430\u0434")},hour:"\u0447\u0430\u0441 \u043d\u0430\u0437\u0430\u0434",hours:function(a){return rpi.Time.declineNum(Math.round(a),
7"\u0447\u0430\u0441 \u043d\u0430\u0437\u0430\u0434","\u0447\u0430\u0441\u0430 \u043d\u0430\u0437\u0430\u0434","\u0447\u0430\u0441\u043e\u0432 \u043d\u0430\u0437\u0430\u0434")},day:"\u0434\u0435\u043d\u044c \u043d\u0430\u0437\u0430\u0434",days:function(a){return rpi.Time.declineNum(Math.round(a),"\u0434\u0435\u043d\u044c \u043d\u0430\u0437\u0430\u0434","\u0434\u043d\u044f \u043d\u0430\u0437\u0430\u0434","\u0434\u043d\u0435\u0439 \u043d\u0430\u0437\u0430\u0434")},month:"\u043c\u0435\u0441\u044f\u0446 \u043d\u0430\u0437\u0430\u0434",
8months:function(a){return rpi.Time.declineNum(Math.floor(a/30),"\u043c\u0435\u0441\u044f\u0446 \u043d\u0430\u0437\u0430\u0434","\u043c\u0435\u0441\u044f\u0446\u0430 \u043d\u0430\u0437\u0430\u0434","\u043c\u0435\u0441\u044f\u0446\u0435\u0432 \u043d\u0430\u0437\u0430\u0434")},year:"\u0433\u043e\u0434 \u043d\u0430\u0437\u0430\u0434",years:function(a){return rpi.Time.declineNum(Math.round(a),"\u0433\u043e\u0434 \u043d\u0430\u0437\u0430\u0434","\u0433\u043e\u0434\u0430 \u043d\u0430\u0437\u0430\u0434",
9"\u043b\u0435\u0442 \u043d\u0430\u0437\u0430\u0434")}},en:{second:"just now",minute:"1m ago",minutes:function(a){return Math.round(a)+"m ago"},hour:"1h ago",hours:function(a){return Math.round(a)+"h ago"},day:"a day ago",days:function(a){return Math.round(a)+" days ago"},month:"a month ago",months:function(a){return Math.floor(a/30)+" months ago"},year:"a year ago",years:function(a){return Math.round(a)+" years ago"}},uk:{second:"\u0442\u0456\u043b\u044c\u043a\u0438 \u0449\u043e",minute:"\u0445\u0432\u0438\u043b\u0438\u043d\u0443 \u0442\u043e\u043c\u0443",
10minutes:function(a){return rpi.Time.declineNum(Math.round(a),"\u0445\u0432\u0438\u043b\u0438\u043d\u0443 \u0442\u043e\u043c\u0443","\u0445\u0432\u0438\u043b\u0438\u043d\u0438 \u0442\u043e\u043c\u0443","\u0445\u0432\u0438\u043b\u0438\u043d \u0442\u043e\u043c\u0443")},hour:"\u0433\u043e\u0434\u0438\u043d\u0443 \u0442\u043e\u043c\u0443",hours:function(a){return rpi.Time.declineNum(Math.round(a),"\u0433\u043e\u0434\u0438\u043d\u0443 \u0442\u043e\u043c\u0443","\u0433\u043e\u0434\u0438\u043d\u0438 \u0442\u043e\u043c\u0443",
11"\u0433\u043e\u0434\u0438\u043d \u0442\u043e\u043c\u0443")},day:"\u0434\u0435\u043d\u044c \u0442\u043e\u043c\u0443",days:function(a){return rpi.Time.declineNum(Math.round(a),"\u0434\u0435\u043d\u044c \u0442\u043e\u043c\u0443","\u0434\u043d\u0456 \u0442\u043e\u043c\u0443","\u0434\u043d\u0456\u0432 \u0442\u043e\u043c\u0443")},month:"\u043c\u0456\u0441\u044f\u0446\u044c \u0442\u043e\u043c\u0443",months:function(a){return rpi.Time.declineNum(Math.floor(a/30),"\u043c\u0456\u0441\u044f\u0446\u044c \u0442\u043e\u043c\u0443",
12"\u043c\u0456\u0441\u044f\u0446\u0456 \u0442\u043e\u043c\u0443","\u043c\u0456\u0441\u044f\u0446\u0456\u0432 \u0442\u043e\u043c\u0443")},year:"\u0440\u0456\u043a \u0442\u043e\u043c\u0443",years:function(a){return rpi.Time.declineNum(Math.round(a),"\u0440\u0456\u043a \u0442\u043e\u043c\u0443","\u0440\u043e\u043a\u0438 \u0442\u043e\u043c\u0443","\u0440\u043e\u043a\u0456\u0432 \u0442\u043e\u043c\u0443")}},ro:{second:"chiar acum",minute:"\u00een urm\u0103 minut",minutes:function(a){return rpi.Time.declineNum(Math.round(a),
13"o minuta in urma","minute in urma","de minute in urma")},hour:"acum o ora",hours:function(a){return rpi.Time.declineNum(Math.round(a),"acum o ora","ore in urma","de ore in urma")},day:"o zi in urma",days:function(a){return rpi.Time.declineNum(Math.round(a),"o zi in urma","zile in urma","de zile in urma")},month:"o luna in urma",months:function(a){return rpi.Time.declineNum(Math.floor(a/30),"o luna in urma","luni in urma","de luni in urma")},year:"un an in urma",years:function(a){return rpi.Time.declineNum(Math.round(a),
14"un an in urma","ani in urma","de ani in urma")}},lv:{second:"Maz\u0101k par min\u016bti",minute:"Pirms min\u016btes",minutes:function(a){return rpi.Time.declineNum(Math.round(a),"pirms min\u016btes","pirms min\u016bt\u0113m","pirms min\u016bt\u0113m")},hour:"pirms stundas",hours:function(a){return rpi.Time.declineNum(Math.round(a),"pirms stundas","pirms stund\u0101m","pirms stund\u0101m")},day:"pirms dienas",days:function(a){return rpi.Time.declineNum(Math.round(a),"pirms dienas","pirms dien\u0101m",
15"pirms dien\u0101m")},month:"pirms m\u0113ne\u0161a",months:function(a){return rpi.Time.declineNum(Math.floor(a/30),"pirms m\u0113ne\u0161a","pirms m\u0113ne\u0161iem","pirms m\u0113ne\u0161iem")},year:"pirms gada",years:function(a){return rpi.Time.declineNum(Math.round(a),"pirms gada","pirms gadiem","pirms gadiem")}},lt:{second:"k\u0105 tik",minute:"prie\u0161 minut\u0119",minutes:function(a){return rpi.Time.declineNum(Math.round(a),"minut\u0117 prie\u0161","minut\u0117s prie\u0161","minu\u010di\u0173 prie\u0161")},
16hour:"prie\u0161 valand\u0105",hours:function(a){return rpi.Time.declineNum(Math.round(a),"valanda prie\u0161","valandos prie\u0161","valand\u0173 prie\u0161")},day:"prie\u0161 dien\u0105",days:function(a){return rpi.Time.declineNum(Math.round(a),"diena prie\u0161","dienos prie\u0161","dien\u0173 prie\u0161")},month:"prie\u0161 m\u0117nes\u012f",months:function(a){return rpi.Time.declineNum(Math.floor(a/30),"m\u
160117nes\u012f prie\u0161","m\u0117nesiai prie\u0161","m\u0117nesi\u0173 prie\u0161")},
17year:"prie\u0161 metus",years:function(a){return rpi.Time.declineNum(Math.round(a),"metai prie\u0161","metai prie\u0161","met\u0173 prie\u0161")}},kk:{second:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442\u0442\u0430\u043d \u0430\u0437 \u0443\u0430\u049b\u044b\u0442 \u0431\u04b1\u0440\u044b\u043d",minute:"\u0431\u0456\u0440 \u043c\u0438\u043d\u0443\u0442 \u0431\u04b1\u0440\u044b\u043d",minutes:function(a){return rpi.Time.declineNum(Math.round(a),"\u043c\u0438\u043d\u0443\u0442 \u0431\u04b1\u0440\u044b\u043d",
18"\u043c\u0438\u043d\u0443\u0442 \u0431\u04b1\u0440\u044b\u043d","\u043c\u0438\u043d\u0443\u0442 \u0431\u04b1\u0440\u044b\u043d")},hour:"\u0431\u0456\u0440 \u0441\u0430\u0493\u0430\u0442 \u0431\u04b1\u0440\u044b\u043d",hours:function(a){return rpi.Time.declineNum(Math.round(a),"\u0441\u0430\u0493\u0430\u0442 \u0431\u04b1\u0440\u044b\u043d","\u0441\u0430\u0493\u0430\u0442 \u0431\u04b1\u0440\u044b\u043d","\u0441\u0430\u0493\u0430\u0442 \u0431\u04b1\u0440\u044b\u043d")},day:"\u0431\u0456\u0440 \u043a\u04af\u043d \u0431\u04b1\u0440\u044b\u043d",
19days:function(a){return rpi.Time.declineNum(Math.round(a),"\u043a\u04af\u043d \u0431\u04b1\u0440\u044b\u043d","\u043a\u04af\u043d \u0431\u04b1\u0440\u044b\u043d","\u043a\u04af\u043d \u0431\u04b1\u0440\u044b\u043d")},month:"\u0431\u0456\u0440 \u0430\u0439 \u0431\u04b1\u0440\u044b\u043d",months:function(a){return rpi.Time.declineNum(Math.floor(a/30),"\u0430\u0439 \u0431\u04b1\u0440\u044b\u043d","\u0430\u0439 \u0431\u04b1\u0440\u044b\u043d","\u0430\u0439 \u0431\u04b1\u0440\u044b\u043d")},year:"\u0431\u0456\u0440 \u0436\u044b\u043b \u0431\u04b1\u0440\u044b\u043d",
20years:function(a){return rpi.Time.declineNum(Math.round(a),"\u0436\u044b\u043b \u0431\u04b1\u0440\u044b\u043d","\u0436\u044b\u043b \u0431\u04b1\u0440\u044b\u043d","\u0436\u044b\u043b \u0431\u04b1\u0440\u044b\u043d")}},ka:{second:"\u10ec\u10d0\u10db\u10d8\u10e1 \u10ec\u10d8\u10dc",minute:"\u10ec\u10e3\u10d7\u10d8\u10e1 \u10ec\u10d8\u10dc",minutes:function(a){return rpi.Time.declineNum(Math.round(a),"\u10ec\u10e3\u10d7\u10d8\u10e1 \u10ec\u10d8\u10dc","\u10ec\u10e3\u10d7\u10d8\u10e1 \u10ec\u10d8\u10dc",
21"\u10ec\u10e3\u10d7\u10d8\u10e1 \u10ec\u10d8\u10dc")},hour:"\u10e1\u10d0\u10d0\u10d7\u10d8\u10e1 \u10ec\u10d8\u10dc",hours:function(a){return rpi.Time.declineNum(Math.round(a),"\u10e1\u10d0\u10d0\u10d7\u10d8\u10e1 \u10ec\u10d8\u10dc","\u10e1\u10d0\u10d0\u10d7\u10d8\u10e1 \u10ec\u10d8\u10dc","\u10e1\u10d0\u10d0\u10d7\u10d8\u10e1 \u10ec\u10d8\u10dc")},day:"\u10d3\u10e6\u10d8\u10e1 \u10ec\u10d8\u10dc",days:function(a){return rpi.Time.declineNum(Math.round(a),"\u10d3\u10e6\u10d8\u10e1 \u10ec\u10d8\u10dc",
22"\u10d3\u10e6\u10d8\u10e1 \u10ec\u10d8\u10dc","\u10d3\u10e6\u10d8\u10e1 \u10ec\u10d8\u10dc")},month:"\u10d7\u10d5\u10d8\u10e1 \u10ec\u10d8\u10dc",months:function(a){return rpi.Time.declineNum(Math.floor(a/30),"\u10d7\u10d5\u10d8\u10e1 \u10ec\u10d8\u10dc","\u10d7\u10d5\u10d8\u10e1 \u10ec\u10d8\u10dc","\u10d7\u10d5\u10d8\u10e1 \u10ec\u10d8\u10dc")},year:"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc",years:function(a){return rpi.Time.declineNum(Math.round(a),"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc",
23"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc","\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc")}},hy:{second:"\u0574\u056b \u0584\u0576\u056b \u057e\u0561\u0575\u0580\u056f\u0575\u0561\u0576 \u0561\u057c\u0561\u057b",minute:"\u0574\u0565\u056f \u0580\u0578\u057a\u0565 \u0561\u057c\u0561\u057b",minutes:function(a){return rpi.Time.declineNum(Math.round(a),"\u0580\u0578\u057a\u0565 \u0561\u057c\u0561\u057b","\u0580\u0578\u057a\u0565 \u0561\u057c\u0561\u057b","\u0580\u0578\u057a\u0565 \u0561\u057c\u0561\u057b")},
24hour:"\u0574\u0565\u056f \u056a\u0561\u0574 \u0561\u057c\u0561\u057b",hours:function(a){return rpi.Time.declineNum(Math.round(a),"\u056a\u0561\u0574 \u0561\u057c\u0561\u057b","\u056a\u0561\u0574 \u0561\u057c\u0561\u057b","\u056a\u0561\u0574 \u0561\u057c\u0561\u057b")},day:"\u0574\u0565\u056f \u0585\u0580 \u0561\u057c\u0561\u057b",days:function(a){return rpi.Time.declineNum(Math.round(a),"\u0585\u0580 \u0561\u057c\u0561\u057b","\u0585\u0580 \u0561\u057c\u0561\u057b","\u0585\u0580 \u0561\u057c\u0561\u057b")},
25month:"\u0574\u0565\u056f \u0561\u0574\u056b\u057d \u0561\u057c\u0561\u057b",months:function(a){return rpi.Time.declineNum(Math.floor(a/30),"\u0561\u0574\u056b\u057d \u0561\u057c\u0561\u057b","\u0561\u0574\u056b\u057d \u0561\u057c\u0561\u057b","\u0561\u0574\u056b\u057d \u0561\u057c\u0561\u057b")},year:"\u0574\u0565\u056f \u057f\u0561\u0580\u056b \u0561\u057c\u0561\u057b",years:function(a){return rpi.Time.declineNum(Math.round(a),"\u057f\u0561\u0580\u056b \u0561\u057c\u0561\u057b","\u057f\u0561\u0580\u056b \u0561\u057c\u0561\u057b",
26"\u057f\u0561\u0580\u056b \u0561\u057c\u0561\u057b")}},fr:{second:"tout \u00e0 l'heure",minute:"environ une minute",minutes:function(a){return Math.round(a)+" minutes"},hour:"environ une heure",hours:function(a){return"environ "+Math.round(a)+" heures"},day:"un jour",days:function(a){return Math.round(a)+" jours"},month:"environ un mois",months:function(a){return Math.floor(a/30)+" mois"},year:"environ un an",years:function(a){return Math.round(a)+" ans"}},es:{second:"ahora",minute:"hace un minuto",
27minutes:function(a){return"hace "+Math.round(a)+" minuts"},hour:"hace una hora",hours:function(a){return"hace "+Math.round(a)+" horas"},day:"hace un dia",days:function(a){return"hace "+Math.round(a)+" d\u00edas"},month:"hace un mes",months:function(a){return"hace "+Math.floor(a/30)+" meses"},year:"hace a\u00f1os",years:function(a){return"hace "+Math.round(a)+" a\u00f1os"}},el:{second:"\u03bb\u03b9\u03b3\u03cc\u03c4\u03b5\u03c1\u03bf \u03b1\u03c0\u03cc \u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",
28minute:"\u03b3\u03cd\u03c1\u03c9 \u03c3\u03c4\u03bf \u03ad\u03bd\u03b1 \u03bb\u03b5\u03c0\u03c4\u03cc",minutes:function(a){return Math.round(a)+" minutes"},hour:"\u03b3\u03cd\u03c1\u03c9 \u03c3\u03c4\u03b7\u03bd \u03bc\u03b9\u03b1 \u03ce\u03c1\u03b1",hours:function(a){return"about "+Math.round(a)+" hours"},day:"\u03bc\u03b9\u03b1 \u03bc\u03ad\u03c1\u03b1",days:function(a){return Math.round(a)+" days"},month:"\u03b3\u03cd\u03c1\u03c9 \u03c3\u03c4\u03bf\u03bd \u03ad\u03bd\u03b1 \u03bc\u03ae\u03bd\u03b1",
29months:function(a){return Math.floor(a/30)+" months"},year:"\u03b3\u03cd\u03c1\u03c9 \u03c3\u03c4\u03bf\u03bd \u03ad\u03bd\u03b1 \u03c7\u03c1\u03cc\u03bd\u03bf",years:function(a){return Math.round(a)+" years"}},de:{second:"soeben",minute:"vor einer Minute",minutes:function(a){return"vor "+Math.round(a)+" Minuten"},hour:"vor einer Stunde",hours:function(a){return"vor "+Math.round(a)+" Stunden"},day:"vor einem Tag",days:function(a){return"vor "+Math.round(a)+" Tagen"},month:"vor einem Monat",months:function(a){return"vor "+
30Math.floor(a/30)+" Monaten"},year:"vor einem Jahr",years:function(a){return"vor "+Math.round(a)+" Jahren"}},be:{second:"\u043c\u0435\u043d\u0448 \u0437\u0430 \u0445\u0432\u0456\u043b\u0456\u043d\u0443 \u0442\u0430\u043c\u0443",minute:"\u0445\u0432\u0456\u043b\u0456\u043d\u0443 \u0442\u0430\u043c\u0443",minutes:function(a){return rpi.Time.declineNum(Math.round(a),"\u0445\u0432\u0456\u043b\u0456\u043d\u0430 \u0442\u0430\u043c\u0443","\u0445\u0432\u0456\u043b\u0456\u043d\u044b \u0442\u0430\u043c\u0443",
31"\u0445\u0432\u0456\u043b\u0456\u043d \u0442\u0430\u043c\u0443")},hour:"\u0433\u0430\u0434\u0437\u0456\u043d\u0443 \u0442\u0430\u043c\u0443",hours:function(a){return rpi.Time.declineNum(Math.round(a),"\u0433\u0430\u0434\u0437\u0456\u043d\u0443 \u0442\u0430\u043c\u0443","\u0433\u0430\u0434\u0437\u0456\u043d\u044b \u0442\u0430\u043c\u0443","\u0433\u0430\u0434\u0437\u0456\u043d \u0442\u0430\u043c\u0443")},day:"\u0434\u0437\u0435\u043d\u044c \u0442\u0430\u043c\u0443",days:function(a){return rpi.Time.declineNum(Math.round(a),
32"\u0434\u0437\u0435\u043d\u044c \u0442\u0430\u043c\u0443","\u0434\u043d\u0456 \u0442\u0430\u043c\u0443","\u0434\u0437\u0451\u043d \u0442\u0430\u043c\u0443")},month:"\u043c\u0435\u0441\u044f\u0446 \u0442\u0430\u043c\u0443",months:function(a){return rpi.Time.declineNum(Math.floor(a/30),"\u043c\u0435\u0441\u044f\u0446 \u0442\u0430\u043c\u0443","\u043c\u0435\u0441\u044f\u0446\u0430 \u0442\u0430\u043c\u0443","\u043c\u0435\u0441\u044f\u0446\u0430\u045e \u0442\u0430\u043c\u0443")},year:"\u0433\u043e\u0434 \u0442\u0430\u043c\u0443",
33years:function(a){return rpi.Time.declineNum(Math.round(a),"\u0433\u043e\u0434 \u0442\u0430\u043c\u0443","\u0433\u0430\u0434\u044b \u0442\u0430\u043c\u0443","\u0433\u043e\u0434 \u0442\u0430\u043c\u0443")}},it:{second:"proprio ora",minute:"un minuto fa",minutes:function(a){return rpi.Time.declineNum(Math.round(a),"un minuto fa","minuti fa","minuti fa")},hour:"un'ora fa",hours:function(a){return rpi.Time.declineNum(Math.round(a),"un'ora fa","ore fa","ore fa")},day:"un giorno fa",days:function(a){return rpi.Time.declineNum(Math.round(a),
34"un giorno fa","giorni fa","giorni fa")},month:"un mese fa",months:function(a){return rpi.Time.declineNum(Math.floor(a/30),"un mese fa","mesi fa","mesi fa")},year:"un anno fa",years:function(a){return rpi.Time.declineNum(Math.round(a),"un anno fa","anni fa","anni fa")}},tr:{second:"az \u00f6nce",minute:"dakika \u00f6nce",minutes:function(a){return Math.round(a)+" dakika \u00f6nce"},hour:"saat \u00f6nce",hours:function(a){return Math.round(a)+" saat \u00f6nce"},day:"g\u00fcn \u00f6nce",days:function(a){return Math.round(a)+
35" g\u00fcn \u00f6nce"},month:"ay \u00f6nce",months:function(a){return Math.floor(a/30)+" ay \u00f6nce"},year:"y\u0131l \u00f6nce",years:function(a){return Math.round(a)+" y\u0131l \u00f6nce"}},nb:{second:"n\u00e5 nettopp",minute:"ett minutt siden",minutes:function(a){return Math.round(a)+" minutter siden"},hour:"en time siden",hours:function(a){return Math.round(a)+" timer siden"},day:"en dag siden",days:function(a){return Math.round(a)+" dager siden"},month:"en m\u00e5ned siden",months:function(a){return Math.floor(a/
3630)+" m\u00e5neder siden"},year:"ett \u00e5r siden",years:function(a){return Math.round(a)+" \u00e5r siden"}},da:{second:"lige nu",minute:"et minut siden",minutes:function(a){return Math.round(a)+" minutter siden"},hour:"en time siden",hours:function(a){return Math.round(a)+" timer siden"},day:"en dag siden",days:function(a){return Math.round(a)+" dage siden"},month:"en m\u00e5ned siden",months:function(a){return Math.floor(a/30)+" m\u00e5neder siden"},year:"et \u00e5r siden",years:function(a){return Math.round(a)+
37" \u00e5r siden"}},nl:{second:"zojuist",minute:"minuten geleden",minutes:function(a){return Math.round(a)+" minuten geleden"},hour:"uur geleden",hours:function(a){return Math.round(a)+" uur geleden"},day:"1 dag geleden",days:function(a){return Math.round(a)+" dagen geleden"},month:"maand geleden",months:function(a){return Math.floor(a/30)+" maanden geleden"},year:"jaar geleden",years:function(a){return Math.round(a)+" ja
37ar geleden"}},ca:{second:"ara mateix",minute:"fa un minut",minutes:function(a){return"fa "+
38Math.round(a)+" minuts"},hour:"fa una hora",hours:function(a){return"fa "+Math.round(a)+" hores"},day:"fa un dia",days:function(a){return"fa "+Math.round(a)+" dies"},month:"fa un mes",months:function(a){return"fa "+Math.floor(a/30)+" mesos"},year:"fa un any",years:function(a){return"fa "+Math.round(a)+" anys"}},sv:{second:"just nu",minute:"en minut sedan",minutes:function(a){return Math.round(a)+" minuter sedan"},hour:"en timme sedan",hours:function(a){return Math.round(a)+" timmar sedan"},day:"en dag sedan",
39days:function(a){return Math.round(a)+" dagar sedan"},month:"en m\u00e5nad sedan",months:function(a){return Math.floor(a/30)+" m\u00e5nader sedan"},year:"ett \u00e5r sedan",years:function(a){return Math.round(a)+" \u00e5r sedan"}},pl:{second:"w\u0142a\u015bnie teraz",minute:"minut\u0119 temu",minutes:function(a){return Math.round(a)+" minut temu"},hour:"godzin\u0119 temu",hours:function(a){return Math.round(a)+" godzin temu"},day:"wczoraj",days:function(a){return Math.round(a)+" dni temu"},month:"miesi\u0105c temu",
40months:function(a){return Math.floor(a/30)+" miesi\u0119cy temu"},year:"rok temu",years:function(a){return Math.round(a)+" lat temu"}},pt:{second:"agora",minute:"1 minuto atr\u00e1s",minutes:function(a){return Math.round(a)+" minutos atr\u00e1s"},hour:"1 hora atr\u00e1s",hours:function(a){return Math.round(a)+" horas atr\u00e1s"},day:"1 dia atr\u00e1s",days:function(a){return Math.round(a)+" dias atr\u00e1s"},month:"1 m\u00eas atr\u00e1s",months:function(a){return Math.floor(a/30)+" meses atr\u00e1s"},
41year:"1 ano atr\u00e1s",years:function(a){return Math.round(a)+" anos atr\u00e1s"}},hu:{second:"\u00e9pp az im\u00e9nt",minute:"1 perccel ezel\u0151tt",minutes:function(a){return Math.round(a)+" perccel ezel\u0151tt"},hour:"\u00f3r\u00e1val ezel\u0151tt",hours:function(a){return Math.round(a)+" \u00f3r\u00e1val ezel\u0151tt"},day:"nappal ezel\u0151tt",days:function(a){return Math.round(a)+" nappal ezel\u0151tt"},month:"h\u00f3nappal ezel\u0151tt",months:function(a){return Math.floor(a/30)+" h\u00f3nappal ezel\u0151tt"},
42year:"\u00e9vvel ezel\u0151tt",years:function(a){return Math.round(a)+" \u00e9vvel ezel\u0151tt"}},fi:{second:"juuri nyt",minute:"minuutti sitten",minutes:function(a){return Math.round(a)+" minuuttia sitten"},hour:"tunti sitten",hours:function(a){return Math.round(a)+" tuntia sitten"},day:"p\u00e4iv\u00e4 sitten",days:function(a){return Math.round(a)+" p\u00e4iv\u00e4\u00e4 sitten"},month:"kuukausi sitten",months:function(a){return Math.floor(a/30)+" kuukautta sitten"},year:"vuosi sitten",years:function(a){return Math.round(a)+
43" vuotta sitten"}},he:{second:"\u05d4\u05e8\u05d2\u05e2",minute:"\u05dc\u05e4\u05e0\u05d9 \u05d3\u05e7\u05d4",minutes:function(a){return"\u05dc\u05e4\u05e0\u05d9 "+Math.round(a)+" \u05d3\u05e7\u05d5\u05ea"},hour:"\u05dc\u05e4\u05e0\u05d9 \u05e9\u05e2\u05d4",hours:function(a){return"\u05dc\u05e4\u05e0\u05d9 "+Math.round(a)+" \u05e9\u05e2\u05d5\u05ea"},day:"\u05dc\u05e4\u05e0\u05d9 \u05d9\u05d5\u05dd",days:function(a){return"\u05dc\u05e4\u05e0\u05d9 "+Math.round(a)+" \u05d9\u05de\u05d9\u05dd"},month:"\u05dc\u05e4\u05e0\u05d9 \u05d7\u05d5\u05d3\u05e9",
44months:function(a){return 2==Math.floor(a/30)?"\u05dc\u05e4\u05e0\u05d9 \u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":"\u05dc\u05e4\u05e0\u05d9 "+Math.floor(a/30)+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},year:"\u05dc\u05e4\u05e0\u05d9 \u05e9\u05e0\u05d4",years:function(a){return"\u05dc\u05e4\u05e0\u05d9 "+Math.round(a)+" \u05e9\u05e0\u05d9\u05dd"}},bg:{second:"\u0432 \u043c\u043e\u043c\u0435\u043d\u0442\u0430",minute:"\u043f\u0440\u0435\u0434\u0438 1 \u043c\u0438\u043d\u0443\u0442\u0430",minutes:function(a){return"\u043f\u0440\u0435\u0434\u0438 "+
45Math.round(a)+" \u043c\u0438\u043d\u0443\u0442\u0438"},hour:"\u043f\u0440\u0435\u0434\u0438 1 \u0447\u0430\u0441",hours:function(a){return"\u043f\u0440\u0435\u0434\u0438 "+Math.round(a)+" \u0447\u0430\u0441\u0430"},day:"\u043f\u0440\u0435\u0434\u0438 1 \u0434\u0435\u043d",days:function(a){return"\u043f\u0440\u0435\u0434\u0438 "+Math.round(a)+" \u0434\u043d\u0438"},month:"\u043f\u0440\u0435\u0434\u0438 1 \u043c\u0435\u0441\u0435\u0446",months:function(a){return"\u043f\u0440\u0435\u0434\u0438 "+Math.floor(a/
4630)+" \u043c\u0435\u0441\u0435\u0446\u0430"},year:"\u043f\u0440\u0435\u0434\u0438 1 \u0433\u043e\u0434\u0438\u043d\u0430",years:function(a){return"\u043f\u0440\u0435\u0434\u0438 "+Math.round(a)+" \u0433\u043e\u0434\u0438\u043d\u0438"}},sk:{second:"pr\u00e1ve teraz",minute:"pred min\u00fatov",minutes:function(a){return"pred "+Math.round(a)+" min\u00fatami"},hour:"pred hodinou",hours:function(a){return"pred "+Math.round(a)+" hodinami"},day:"v\u010dera",days:function(a){return"pred "+Math.round(a)+" d\u0148ami"},
47month:"pred mesiacom",months:function(a){return"pred "+Math.floor(a/30)+" mesiacmi"},year:"pred rokom",years:function(a){return"pred "+Math.round(a)+" rokmi"}},lo:{second:"\u0ea7\u0eb1\u0ec8\u0e87\u0e81\u0eb5\u0ec9\u0e99\u0eb5\u0ec9",minute:"\u0edc\u0eb6\u0ec8\u0e87\u0e99\u0eb2\u0e97\u0eb5\u0e81\u0ec8\u0ead\u0e99",minutes:function(a){return Math.round(a)+" \u0e99\u0eb2\u0e97\u0eb5\u0e81\u0ec8\u0ead\u0e99"},hour:"\u0edc\u0eb6\u0ec8\u0e87\u0e8a\u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87\u0e81\u0ec8\u0ead\u0e99",
48hours:function(a){return Math.round(a)+" \u0ebb\u0ec8\u0ea7\u0ec2\u0ea1\u0e87\u0e81\u0ec8\u0ead\u0e99"},day:"\u0edc\u0eb6\u0ec8\u0e87\u0ea1\u0eb7\u0ec9\u0e81\u0ec8\u0ead\u0e99",days:function(a){return Math.round(a)+" \u0ea1\u0eb7\u0ec9\u0e81\u0ec8\u0ead\u0e99"},month:"\u0edc\u0eb6\u0ec8\u0e87\u0ec0\u0e94\u0eb7\u0ead\u0e99\u0e81\u0ec8\u0ead\u0e99",months:function(a){return Math.floor(a/30)+" \u0ec0\u0e94\u0eb7\u0ead\u0e99\u0e81\u0ec8\u0ead\u0e99"},year:"\u0edc\u0eb6\u0ec8\u0e87\u0e9b\u0eb5\u0e81\u0ec8\u0ead\u0e99",
49years:function(a){return Math.round(a)+" \u0e9b\u0eb5\u0e81\u0ec8\u0ead\u0e99"}},sl:{second:"pravkar",minute:"pred eno minuto",minutes:function(a){return"pred "+Math.round(a)+" minutami"},hour:"pred eno uro",hours:function(a){return"pred "+Math.round(a)+" urami"},day:"pred enim dnem",days:function(a){return"pred "+Math.round(a)+" dnevi"},month:"pred enim mesecem",months:function(a){return"pred "+Math.floor(a/30)+" meseci"},year:"pred enim letom",years:function(a){return"pred "+Math.round(a)+" leti"}},
50et:{second:"just n\u00fc\u00fcd",minute:"minut tagasi",minutes:function(a){return Math.round(a)+" minutit tagasi"},hour:"tund tagasi",hours:function(a){return Math.round(a)+" tundi tagasi"},day:"p\u00e4ev tagasi",days:function(a){return Math.round(a)+" p\u00e4eva tagasi"},month:"kuu aega tagasi",months:function(a){return Math.floor(a/30)+" kuud tagasi"},year:"aasta tagasi",years:function(a){return Math.round(a)+" aastat tagasi"}},ja:{second:"\u305f\u3063\u305f\u4eca",minute:"1\u5206\u524d",minutes:function(a){return Math.round(a)+
51"\u5206\u524d"},hour:"1\u6642\u9593\u524d",hours:function(a){return Math.round(a)+"\u6642\u9593\u524d"},day:"1\u65e5\u524d",days:function(a){return Math.round(a)+"\u65e5\u524d"},month:"1\u30f6\u6708\u524d",months:function(a){return Math.floor(a/30)+"\u30f
516\u6708\u524d"},year:"1\u5e74\u524d",years:function(a){return Math.round(a)+"\u5e74\u524d"}}};rpi=rpi||{};
52rpi.Utils={__:function(a,d){return d&&d[a]||a},isVisible:function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)&&"hidden"!==window.getComputedStyle(a).visibility},isInViewport:function(a,d=0){a=a.getBoundingClientRect();return a.top<window.innerHeight*(1+d)&&a.bottom>-window.innerHeight*d&&a.left<window.innerWidth*(1+d)&&a.right>-window.innerWidth*d},isRTL:function(){return"rtl"==(window.getComputedStyle?window.getComputedStyle(document.body,null).getPropertyValue("direction"):
53document.body.currentStyle.direction)},getParent:function(a,d){d=d||"rplg";if(0>a.className.split(" ").indexOf(d))for(;(a=a.parentElement)&&0>a.className.split(" ").indexOf(d););return a},lang:function(){var a=navigator;return(a.language||a.systemLanguage||a.userLanguage||"en").substr(0,2).toLowerCase()},popup:function(a,d,f){var p=document.documentElement;a=window.open(a,"","scrollbars=yes, width="+d+", height="+f+", top="+((window.innerHeight?window.innerHeight:p.clientHeight?p.clientHeight:screen.height)/
542-f/2+(void 0!=window.screenTop?window.screenTop:window.screenY))+", left="+((window.innerWidth?window.innerWidth:p.clientWidth?p.clientWidth:screen.width)/2-d/2+(void 0!=window.screenLeft?window.screenLeft:window.screenX)));window.focus&&a.focus();return a},ajax:function(a,d,f,p){const h=new XMLHttpRequest;h.open(d,a,!0);h.setRequestHeader("Content-Type","application/json");h.onreadystatechange=function(){if((h.readyState===XMLHttpRequest.DONE||h.readyState===h.DONE)&&200===h.status){const q=JSON.parse(h.responseText);
55"function"===typeof p?p(q):"function"===typeof f&&f(q)}};h.send(f&&"function"!==typeof f?JSON.stringify(f):null)},anchor:function(a,d,f,p,h){const q=[];f.open_link&&q.push("noopener");f.nofollow_link&&q.push("nofollow");return'<a href="'+a+'"'+(p?' class="'+p+'"':"")+(f.open_link?' target="_blank"':"")+(q.length?' rel="'+q.join(" ")+'"':"")+(h?' aria-label="'+h+'"':"")+">"+d+"</a>"},rm:function(a){a&&a.parentNode&&a.parentNode.removeChild(a)},capit:function(a){return a.charAt(0).toUpperCase()+a.slice(1)},
56url:function(a){try{return(new URL(a,window.location.origin)).href}catch(d){return""}},clear:function(){this.rm(document.getElementById("rpi-style"));if(rpi.Instances)for(;rpi.Instances.length;)rpi.Instances.pop().clear()}};rpi=rpi||{};
57rpi.Column=function(a,d,f){const p=a.getAttribute("data-id"),h=new RegExp(f.col+"-[xsml]+"),q=new RegExp('$|(\\[data-id="'+p+'"\\]\\s+.'+f.card+"\\s*{\\s*--col:\\s*\\d+\\s*!important\\s*;?(\\s*--gap:\\s*\\d+\\s*!important;?)?})"),l=a.getElementsByClassName(f.cnt)[0];var u=null;return u={init:function(k,t){rpi.Utils.isVisible(l)?(k&&k(),u.resize(),window.addEventListener("resize",u.resize),t&&t(),rpi.Instances=rpi.Instances||[],rpi.Instances.push(u)):setTimeout(u.init,300)},resize:function(){let k=
58u.getSize();l.className=l.className.replace(h,f.col+"-"+k);if(d.breakpoints){let t=l.offsetWidth,b=d.breakpoints.split(",");b.sort(u.brsort);for(let e=0;e<b.length;e++){let g=b[e].split(":");if(t<parseInt(g[0])){u.setCol(g[1]);break}}}return k},getSize:function(){let k=l.offsetWidth;return 510>k?"xs":750>k?"x":1100>k?"s":1450>k?"m":1800>k?"l":"xl"},setCol:function(k){const t=this.getStyle();t.innerHTML=t.innerHTML.replace(q,(p?'[data-id="'+p+'"] ':"")+"."+f.card+"{--col:"+k+"!important;--gap:"+(k-
591)+"!important}")},getCol:function(){let k=this.getStyle().innerHTML.match(/--col:\s*(\d+)/);return k&&1<k.length?k[1]:!1},getStyle:function(){let k=document.getElementById("rpi-style");k||(k=document.createElement("style"),k.id="rpi-style",document.head.appendChild(k));return k},setBreakpoints:function(k){d.breakpoints=k},brsort:function(k,t){return parseInt(k.split(":")[0])>parseInt(t.split(":")[0])?1:-1},clear:function(){window.removeEventListener("resize",u.resize)}}};rpi=rpi||{};
60rpi.Common=function(a,d,f){var p=null;return p={init:function(){var h=a.getElementsByClassName(f.time);let q=a.getElementsByClassName(f.text);if(!d.time_format)for(var l=0;l<h.length;l++)h[l].innerHTML=p.time(h[l].getAttribute("data-time"));for(h=0;h<q.length;h++)(l=q[h])&&l.innerHTML&&(l.innerHTML=p.trimtext(l.innerHTML),l=l.getElementsByClassName(f.readmore)[0])&&(l.onclick=p.opentext)},initOnce:function(h){var q=h.getElementsByClassName(f.time)[0];h=h.getElementsByClassName(f.text)[0];q&&!d.time_format&&
61(q.innerHTML=p.time(q.getAttribute("data-time")));h&&h.innerHTML&&(h.innerHTML=p.trimtext(h.innerHTML),q=h.getElementsByClassName(f.readmore)[0])&&(q.onclick=p.opentext)},time:function(h){return rpi.Time.getTimeAgo(parseInt(h)*(1E10>h?1E3:1),rpi.Utils.lang())},trimtext:function(h,q){var l=parseInt(d.text_size);if(h&&l&&h.length>l){h=Array.from(h);let u=h.slice(0,l).join("").indexOf(" ")+1;if(1>u||l-u>l/2)u=h.length>l?l:h.length;let k=l="";0<u&&(l=h.slice(0,u-1).join(""),k=h.slice(u-1).join(""));return l+
62(!q&&k?'<span class="rpi-s">... </span><input type="hidden" value="'+encodeURIComponent(k)+'"></input><span class="'+f.readmore+'">'+rpi.Utils.__("read more",d.trans)+"</span>":"")}return h},opentext:function(){let h=this.parentNode,q=this.previousSibling,l=this.previousSibling.previousSibling,u=decodeURIComponent(q.value);rpi.Utils.rm(q);rpi.Utils.rm(l);rpi.Utils.rm(this);h.innerHTML+=u}}};rpi=rpi||{};
63rpi.View=function(a,d,f){const p=a.getAttribute("data-id");a.getElementsByClassName("rpi-cnt");const h=a.getElementsByClassName("rpi-header")[0],q=a.getElementsByClassName(f&&f.names&&f.names.content||"rpi-content")[0],l=q?q.getElementsByClassName(f&&f.names&&f.names.cards||"rpi-cards")[0]:null,u=a.getElementsByClassName("rpi-url")[0],k=rpi.Media(a);var t=null;return t={boot:function(){f.cb&&f.cb.pre&&f.cb.pre();rpi.Utils.ajax(t.getAjaxUrl(d.v2?"rpi_reviews":"brb_widget"),"POST",function(b){l.setAttribute("data-offset",
64b.offset);l.setAttribute("data-count",b.count);b.bizs&&t.addBusiness(b.bizs[0],b.options);t.addReviews(b,[],function(e){t.initStyle();f.cb&&f.cb.post&&f.cb.post()})});t.initPagin()},init:function(){k.init();t.initStyle();t.initPagin()},initPagin:function(){u&&(u.onclick=function(){u.disabled=!0;t.loadNextReviews(d.pagination,function(b){t.delPaginBtn();f.cbp&&f.cbp(b);u.disabled=!1});return!1})},loadNextReviews:function(b,e){if(0<b){const g=[];b=parseInt(b);t.preloadReviews(g,b);t.loadAjaxReviews(g,
65b,e)}},preloadReviews:function(b,e){var g=parseInt(l.getAttribute("data-offset")),n=parseInt(l.getAttribute("data-count"));e=n-g>e?e:n-g;g=l.getElementsByClassName(f&&f.names&&f.names.card||"rpi-card");if(g.length){n=g.length-1;for(let r=0;r<e;r++){let v=g[Math.round(Math.random()*n)].cloneNode(!0);v.style="filter: blur(4px);";l.appendChild(v);b.push(v)}}},loadAjaxReviews:function(b,e,g){rpi.Utils.ajax(t.getAjaxUrl(d.v2?"rpi_reviews":"brb_get_reviews",e),"POST",function(n){l.setAttribute("data-offset",
66n.offset);l.setAttribute("data-count",n.count);t.addReviews(n,b,g)})},getAjaxUrl:function(b,e){const g=parseInt(l.getAttribute("data-offset"));b=brb_vars.ajaxurl+"?action="+b+"&id="+p+"&offset="+g+"&size="+(e||d.pagination);f.filter&&(e=f.filter,e.bid&&(b+="&bid="+e.bid),e.provider&&(b+="&provider="+e.provider));return b},addBusiness:function(b,e){const g=h.getElementsByClassName("rpi-cards")[0];b=t.createRating(b,e);g.appendChild(b)},createRating:function(b,e){const g=document.createElement("div");
67g.className="rpi-card";g.setAttribute("data-provider",b.provider);g.appendChild(t.ratingInner(b,e));return g},ratingInner:function(b,e){const g=document.createElement("div");g.className="rpi-card-inner rpi-flexwrap rpi-logo rpi-logo-"+b.provider;const n=document.createElement("div");n.className="rpi-flex";const r=document.createElement("div");r.className="rpi-img";r.appendChild(t.bizPhoto(b));const v=document.createElement("div");v.className="rpi-info";const w=document.createElement("a");
67w.className=
68"rpi-name";w.href=b.url;w.textContent=b.name;v.appendChild(w);v.appendChild(rpi.View.stars(b.rating,b.provider,!0));n.appendChild(r);n.appendChild(v);g.appendChild(n);e.header_hide_seeall&&e.header_hide_write||g.appendChild(t.ratingBtns(b,e));return g},scale:function(b){return 4.2<b.rating?rpi.Utils.__("Excellent",d.trans):3.7<b.rating?rpi.Utils.__("Great",d.trans):2.7<b.rating?rpi.Utils.__("Good",d.trans):1.7<b.rating?rpi.Utils.__("Fair",d.trans):rpi.Utils.__("Poor",d.trans)},bizPhoto:function(b,
69e=""){const g=document.createElement("img");g.className="rpi-img";g.loading="lazy";g.alt=e;b.photo&&(g.src=b.photo);return g},ratingBtns:function(b,e){const g=document.createElement("div");g.className="rpi-slider-btn";if(!e.header_hide_seeall){var n=document.createElement("div");n.className="rpi-review_us rpi-clickable";const r=document.createElement("a");r.target="_blank";r.rel="noopener";r.href=t.allReviewsUrl(b);r.textContent=rpi.Utils.__("See all reviews",d.trans);n.appendChild(r);g.appendChild(n)}if(!e.header_hide_write){e=
70document.createElement("div");e.className="rpi-review_us rpi-clickable";const r=t.writeReviewUrl(b);n=document.createElement("a");n.target="_blank";n.rel="noopener";n.classList.add("rpi-logo_after","rpi-logo-"+b.provider);n.href=r;n.textContent=rpi.Utils.__("review us on",d.trans);n.addEventListener("click",function(v){v.preventDefault();rpi.Utils.popup(r,800,600)});e.appendChild(n);g.appendChild(e)}return g},allReviewsUrl:function(b){if(b.wr){let e=b.wr.split(":");b.id=e[1];b.provider=e[0]}switch(b.provider){case "google":return rpi.Utils.url("https://search.google.com/local/reviews?placeid="+
71b.id);case "facebook":return rpi.Utils.url("https://facebook.com/"+b.id+"/reviews");case "yelp":return rpi.Utils.url(b.url)}},writeReviewUrl:function(b){if(b.wr){let e=b.wr.split(":");b.id=e[1];b.provider=e[0]}switch(b.provider){case "google":return rpi.Utils.url("https://search.google.com/local/writereview?placeid="+b.id);case "facebook":return rpi.Utils.url("https://facebook.com/"+b.id+"/reviews");case "yelp":return rpi.Utils.url("https://www.yelp.com/writeareview/biz/"+b.id)}},addReviews:function(b,
72e,g){let n=b.reviews.length;a.getAttribute("data-opts")&&(d=JSON.parse(a.getAttribute("data-opts")));for(let r=0;r<n;r++){let v;f&&f.cb&&f.cb.createCard?v=f.cb.createCard(e.shift(),b.reviews[r]):(v=t.createCard(e.shift(),b.reviews[r]),f.common.initOnce(v),t.initReviewStyle(v,d),t.initLogoStyle(v,d.style_logo));e.length||l.appendChild(v)}for(;e.length;)rpi.Utils.rm(e.shift());k.init();t.delPaginBtn();g&&g(b)},createCard:function(b,e){b||(b=document.createElement("div"),b.className="rpi-card");b.setAttribute("data-rat",
73e.rating);b.setAttribute("data-provider",e.provider);b.textContent="";b.appendChild(t.reviewInner(e));b.style="";return b},reviewInner:function(b){const e=b.reply?b.reply.text||b.reply:null,g=document.createElement("div");g.className="rpi-card-inner";var n=document.createElement("i");g.appendChild(n);n=document.createElement("div");n.className="rpi-flex";d.hide_avatar||n.appendChild(t.reviewAvatar(b));var r=document.createElement("div");r.className="rpi-info";d.hide_name||r.appendChild(t.reviewName(b));
74d.disable_review_time||r.appendChild(t.reviewTime(b));r.appendChild(rpi.View.stars(b.rating,b.provider));n.appendChild(r);g.appendChild(n);n=document.createElement("div");n.className="rpi-body";r=document.createElement("div");r.className="rpi-text rpi-scroll";r.tabIndex=0;r.textContent=(b.text??"")+" ";n.appendChild(r);if(b.media&&b.media.length){const v=document.createElement("div");v.className="rpi-media";t.reviewMedia(b).forEach(function(w){v.appendChild(w)});n.appendChild(v)}e&&(b=document.createElement("div"),
75b.className="rpi-reply rpi-scroll",r=document.createElement("b"),r.textContent=rpi.Utils.__("Response from the owner",d.trans)+":",b.appendChild(r),b.appendChild(document.createTextNode(" "+e)),n.appendChild(b));g.appendChild(n);return g},reviewTime:function(b){const e=document.createElement("div");e.className="rpi-time";b.time&&(e.dataset.time=String(b.time));return e},reviewName:function(b){const e=rpi.Utils.capit(b.provider)+" user",g=b.author_name?b.author_name:e;if(b.author_url&&!d.disable_user_link){const n=
76document.createElement("a");n.className="rpi-name";n.target="_blank";n.rel="noopener";n.href=rpi.Utils.url(b.author_url);n.textContent=g;n.setAttribute("aria-label",e+" profile");return n}b=document.createElement("div");b.className="rpi-name";b.textContent=g;return b},reviewAvatar:function(b){let e=b.author_avatar;var g=a.style.getPropertyValue("--img-size");g=g?g.replace("px",""):d.reviewer_avatar_size||56;const n=d.hide_name&&b.author_name?b.author_name:"";switch(b.provider){case "google":(b=e&&
77e.match(/googleusercontent\.com\/([^\/]+)\/([^\/]+)\/([^\/]+)\/([^\/]+)\/photo\.jpg/))&&4<b.length&&"AAAAAAAAAAA"===b[3][0]&&(e=e.replace("/photo.jpg","/s128-c0x00000000-cc-rp-mo/photo.jpg"));e&&=/=.*s\d{2,3}/.test(e)?e.replace(/(=.*)s\d{2,3}/,"$1s"+g):-1<e.indexOf("-mo")?e.replace("-mo","-mo-s"+g):e.replace("-rp","-rp-s"
77+g);break;case "yelp":e&&=e.replace(/(ms)|(o)\.jpg/,128>=g?"ms":"o")}b=document.createElement("div");b.className="rpi-img";const r=document.createElement("img");r.className="rpi-img";
78r.width=g;r.height=g;r.alt=n;d.lazy_load_img&&(r.loading="lazy");e&&(r.src=e);r.addEventListener("error",function(){this.src!==brb_vars.gavatar&&(this.src=brb_vars.gavatar)});b.appendChild(r);return b},reviewMedia:function(b){const e=[];var g=a.style.getPropertyValue("--media-lines");g=22*(g?g:2);if(!b.media||!b.media.length)return e;for(let n=0;n<b.media.length;n++){let r=b.media[n].thumbnailUrl||"";r&&=r.replace(/(=.*)s\d{2,3}/,"$1s"+g);const v=document.createElement("img");v.className="rpi-thumb rpi-clickable";
79v.loading="lazy";v.alt="";r&&(v.src=r);e.push(v)}return e},reviewReply:function(b,e){let g=b.getElementsByClassName("rpi-reply")[0];g||(g=document.createElement("div"),g.className="rpi-reply rpi-scroll",b.getElementsByClassName("rpi-body")[0].appendChild(g));g.innerHTML="<b>"+rpi.Utils.__("Response from the owner",d.trans)+":</b> "+e},initStyle:function(){var b=a.getAttribute("data-opts");b&&(d=JSON.parse(b));if(h){b=h.getElementsByClassName("rpi-card");for(var e=0;e<b.length;e++)this.initLogoStyle(b[e],
80d.head_logo),this.initYelpBasedLogo(b[e],d.head_logo)}if(q){b=l.getElementsByClassName("rpi-card");for(e=0;e<b.length;e++)this.initReviewStyle(b[e],d);this.initCtrlStyle(d);b=q.getElementsByClassName("rpi-card");for(e=0;e<b.length;e++)this.initLogoStyle(b[e],d.style_logo)}},initYelpBasedLogo:function(b,e){5==e&&(b=b.getElementsByClassName("rpi-logo-yelp")[0])&&!b.innerText&&(b.classList.remove("rpi-logo"),b.classList.add("rpi-logo_after"))},initReviewStyle:function(b,e){let g=b.getElementsByClassName("rpi-card-inner")[0],
81n=b.getElementsByTagName("i")[0],r=b.getElementsByClassName("rpi-flex")[0],v=b.getElementsByClassName("rpi-img")[0],w=b.getElementsByClassName("rpi-info")[0],B=b.getElementsByClassName("rpi-time")[0],D=b.getElementsByClassName("rpi-name")[0],A=b.getElementsByClassName("rpi-stars")[0],z=b.getElementsByClassName("rpi-body")[0],y=b.getElementsByClassName("rpi-text")[0],c=b.getElementsByClassName("rpi-reply")[0];D&&w.appendChild(D);B&&w.appendChild(B);A&&w.appendChild(A);b.className="rpi-card";g.className=
82"rpi-card-inner";r.className="rpi-flex";z.className="rpi-body";n.className="";switch(e.style_style){case "1":case "7":g.appendChild(r);z&&g.appendChild(z);z.className+=" rpi-normal-up__body";break;case "2":case "8":z&&g.appendChild(z);g.appendChild(r);z.className+=" rpi-normal-down__body";break;case "3":b.appendChild(r);b.appendChild(g);z&&g.appendChild(z);n.className="rpi-triangle rpi-triangle_up";r.className+=" rpi-bubble__flex rpi-bubble__flex_up";"none"!=this.getCssVar("--card-br")&&(n.className+=
83" rpi-triangle__br_up",g.className+=" rpi-bubble__inner rpi-bubble__inner_up");break;case "4":b.appendChild(g);b.appendChild(r);z&&g.appendChild(z);n.className="rpi-triangle rpi-triangle_down";r.className+=" rpi-bubble__flex rpi-bubble__flex_down";"none"!=this.getCssVar("--card-br")&&(n.className+=" rpi-triangle__br_down",g.className+=" rpi-bubble__inner rpi-bubble__inner_down");break;case "5":g.appendChild(r);r.appendChild(w);z&&w.appendChild(z);r.className+=" rpi-shift-up__flex";break;case "6":g.appendChild(r),
84r.appendChild(w),z&&w.prepend(z),r.className+=" rpi-shift-down__flex"}switch(e.style_style){case "7":b.className+=" rpi-avaborder-up";break;case "8":b.className+=" rpi-avaborder-down"}z&&c&&z.appendChild(c);if(A)switch(e.style_stars){case "1":B?(w.insertBefore(A,B),w.insertBefore(B,A)):D?(w.insertBefore(A,D),w.insertBefore(D,A)):w.appendChild(A);break;case "2":B?w.insertBefore(A,B):w.appendChild(A);break;case "3":D?w.insertBefore(A,D):B?w.insertBefore(A,B):w.prepend(A);break;case "4":z?z.prepend(A):
85g.appendChild(A);break;case "5":y?y.prepend(A):z.appendChild(A);break;case "6":z?(z.appendChild(A),c&&z.insertBefore(A,c)):g.appendChild(A)}if(v)switch(e.style_ava){case "1":r.appendChild(v);r.appendChild(w);break;case "2":r.appendChild(w),r.appendChild(v)}},initCtrlStyle:function(b){let e=q.getElementsByClassName("rpi-controls")[0];if(e)switch(e.className="rpi-controls",b.style_style){case "3":e.className+=" rpi-bubble-up__ctrl";break;case "4":e.className+=" rpi-bubble-down__ctrl"}},initLogoStyle:function(b,
86e){let g=b.getElementsByClassName("rpi-card-inner")[0],n=b.getAttribute("data-provider"),r=n.split(",");1<r.length?this.initLogoMultiple(b,g,r,e):this.initLogoSingle(b,g,n,e)}
86,initLogoSingle:function(b,e,g,n){let r=b.getElementsByClassName("rpi-logo")[0];g=["rpi-logo","rpi-logo-"+g];r&&r.classList.remove(...g);switch(n){case "1":case "6":b=b.getElementsByClassName("rpi-body")[0];"6"==n&&g.push("rpi-logo-left");e.classList.contains("rpi-bubble__inner")&&b?b.classList.add(...g):e.classList.add(...g);
87break;case "2":(e=b.getElementsByClassName("rpi-name")[0])&&e.classList.add(...g);break;case "3":(e=b.getElementsByClassName("rpi-img")[0])&&e.classList.add(...g);break;case "4":b.getElementsByClassName("rpi-stars")[0].classList.add(...g);break;case "5":if(e=b.getElementsByClassName("rpi-based")[0])n=e.innerText.match(/\d+/)[0],e.textContent=e.innerText.replace(n,n+" "),n=document.createElement("span"),n.className=g.join(" "),e.appendChild(n)}},initLogoMultiple:function(b,e,g,n){let r=b.getElementsByClassName("rpi-logos")[0];
88r||=this.createLogos(g);switch(n){case "0":rpi.Utils.rm(r);break;case "1":e.prepend(r);break;case "2":(b=b.getElementsByClassName("rpi-name")[0])&&b.prepend(r);break;case "4":e=b.getElementsByClassName("rpi-score")[0];b=b.getElementsByClassName("rpi-stars")[0];e.appendChild(r);e.insertBefore(r,b);break;case "5":if(b=b.getElementsByClassName("rpi-based")[0])e=b.innerText.match(/\d+/)[0],b.textContent=b.innerText.replace(e,e+" "),b.appendChild(r)}},createLogos:function(b){let e=document.createElement("span");
89e.className="rpi-logos";for(let g=0;g<b.length;g++)e.appendChild(t.logo(b[g]));return e},logo:function(b){const e=document.createElement("span");e.className="rpi-logo rpi-logo-"+b;return e},getCssVar:function(b){return a.style.getPropertyValue(b)},delPaginBtn:function(){if(u){const b=parseInt(l.getAttribute("data-offset")),e=parseInt(l.getAttribute("data-count"));b>=e&&rpi.Utils.rm(u)}}}};rpi.View.STAR='<span class="rpi-star"></span>';rpi.View.STAR_H='<span class="rpi-star rpi-star-h"></span>';
90rpi.View.STAR_O='<span class="rpi-star rpi-star-o"></span>';rpi.View.stars=function(a,d,f=!1){const p=document.createElement("div");p.className="rpi-stars";"yelp"===d&&(p.classList.add("rpi-stars-yelp","rpi-yelp"+Math.round(2*a)/2*10),f&&(p.dataset.rating=String(a),f=!1));p.innerHTML=rpi.View.star(a,f);return p};
91rpi.View.star=function(a,d=!1){let f="";if(0<a){let p=1;d&&(p++,f=rpi.View.starRating(a).outerHTML);for(;6>p;p++)d=a-p,f=0<=d?f+rpi.View.STAR:-1<d&&0>d?-.75>d?f+rpi.View.STAR_O:-.25<d?f+rpi.View.STAR:f+rpi.View.STAR_H:f+rpi.View.STAR_O}else f=[rpi.View.STAR_O,rpi.View.STAR_O,rpi.View.STAR_O,rpi.View.STAR_O,rpi.View.STAR_O].join("");return f};rpi.View.starRating=function(a){const d=document.createElement("span");d.className="rpi-star";d.dataset.rating=String(a);return d};
92rpi.View.widthAnim=function(a,d,f){const p=a.style,h=d+"px";"none"==p.display?(p.display="block",setTimeout(function(){p.opacity=0<p.opacity?0:1;p.width=p.width!=h?h:0},10)):(p.opacity=0<p.opacity?0:1,p.width=p.width!=h?h:0,setTimeout(function(){p.display="none"},f))};rpi=rpi||{};
93rpi.Media=function(a,d,{root:f="rpi",card:p="rpi-card"}={}){var h=null,q=null;return q={init:function(){h=a.getElementsByClassName("rpi-thumb");for(let l=0;l<h.length;l++)h[l].setAttribute("data-idx",l),function(u,k){u.onclick=function(){q.show(u,k);return!1}}(h[l],l)},clicks:function(l){l=l.getElementsByClassName("rpi-thumb");for(let u=0;u<l.length;u++)(function(k,t){k.onclick=function(){let b=parseInt(k.getAttribute("data-idx"));q.show(h[b],b);return!1}})(l[u],u)},show:function(l,u){if(!(0>u||u>=
94h.length)){var k=document.querySelector(".rpi-lightbox"),t=l.src.replace(/=s[0-9]{1,3}/g,"=s500");l=rpi.Utils.getParent(l,p).outerHTML;if(k){let b=k.querySelector(".rpi-lightbox-media img"),e=k.querySelector(".rpi-lightbox-review"),g=k.querySelector(".rpi-lightbox-prev");next=k.querySelector(".rpi-lightbox-next");b.src=t;e.innerHTML!==l&&(e.innerHTML=l,q.clicks(e));g.onclick=function(n){q.show(h[u-1],u-1)};next.onclick=function(n){q.show(h[u+1],u+1)}}else k=document.createElement("div"),k.className=
95"rpi-lightbox",k.innerHTML='<div class="rpi-x"></div><div class="rpi-lightbox-inner"><div class="rpi-lightbox-xxx"><div class="rpi-lightbox-content"><div class="rpi-lightbox-media"><div class="rpi-lightbox-btn rpi-lightbox-prev"></div><img src="'+t+'" alt=""><div class="rpi-lightbox-btn rpi-lightbox-next"></div></div><div class="'+f+' rpi-lightbox-review">'+l+"</div></div></div></div>",t=k.querySelector(".rpi-x"),l=k.querySelector(".rpi-lightbox-prev"),next=k.querySelector(".rpi-lightbox-next"),t.onclick=
96function(){k.style.display="none"},k.onclick=function(b){k==b.target&&(k.style.display="none")},l.onclick=function(b){q.show(h[u-1],u-1)},next.onclick=function(b){q.show(h[u+1],u+1)},q.clicks(k),document.body.appendChild(k);k.style.display="flex"}}}};rpi=rpi||{};
97rpi.Flash=function(a,d){var f=a.getAttribute("data-id");if(!sessionStorage.getItem("rpi_flash_"+f)){var p='<div class="rpi-flash{{hide}}"><div class="rpi-flash-wrap{{right}}"><div class="rpi-flash-content"><div class="rpi-flash-card"><div class="rpi-flash-story rpi-flex" data-idx="1"></div><div class="rpi-flash-form rpi-content"><div class="rpi-cards" data-count="{{count}}" data-offset="{{offset}}"></div><div style="text-align:center"><a href="#" class="rpi-url">'+rpi.Utils.__("More reviews",d.trans)+
98'</a></div></div></div><div class="rpi-x"></div></div></div></div>';d.ajax_load?rpi.Utils.ajax(brb_vars.ajaxurl+"?action=brb_widget&id="+f,"POST",function(h){a.innerHTML=p.replace("{{hide}}",h.options.flash_hide_mobile?" rpi-flash-hide":"").replace("{{r
98ight}}","right"==h.options.flash_pos?" rpi-flash-right":"").replace("{{count}}",h.count).replace("{{offset}}",h.reviews.length);rpi.Flash.core(a,d,h.options).init(h)}):(f=a.getElementsByClassName("rpi-flash")[0],f=JSON.parse(f.getAttribute("data-opts")),
99rpi.Flash.core(a,d,f).init())}};rpi.Flash.LOGO='<span style="position:relative;display:inline-block"><svg viewBox="0 0 1792 1792" width="44" height="44"><path d="M1728 647q0 22-26 48l-363 354 86 500q1 7 1 20 0 21-10.5 35.5t-30.5 14.5q-19 0-40-12l-449-236-449 236q-22 12-40 12-21 0-31.5-14.5t-10.5-35.5q0-6 2-20l86-500-364-354q-25-27-25-48 0-37 56-46l502-73 225-455q19-41 49-41t49 41l225 455 502 73q56 9 56 46z" fill="#FFAF02"></path></svg><svg width="25" height="25" viewBox="0 0 1792 1792" style="position:absolute;bottom:0;right:0;border:1px solid #fff;border-radius:50%;background:#fff"><path d="M1299 813l-422 422q-19 19-45 19t-45-19l-294-294q-19-19-19-45t19-45l102-102q19-19 45-19t45 19l147 147 275-275q19-19 45-19t45 19l102 102q19 19 19 45t-19 45zm141 83q0-148-73-273t-198-198-273-73-273 73-198 198-73 273 73 273 198 198 273 73 273-73 198-198 73-273zm224 0q0 209-103 385.5t-279.5 279.5-385.5 103-385.5-103-279.5-279.5-103-385.5 103-385.5 279.5-279.5 385.5-103 385.5 103 279.5 279.5 103 385.5z" fill="#8cc976"></path></svg></span>';
100rpi.Flash.core=function(a,d,f){const p="rpi_flash_"+a.getAttribute("data-id"),h=a.getElementsByClassName("rpi-flash")[0],q=a.getElementsByClassName("rpi-flash-content")[0],l=q.getElementsByClassName("rpi-x")[0],u=q.getElementsByClassName("rpi-flash-card")[0],k=q.getElementsByClassName("rpi-flash-story")[0],t=q.getElementsByClassName("rpi-cards")[0],b=[],e=function(c){for(let m=0;m<c.reviews.length;m++)b.push(c.reviews[m])},g=rpi.Common(a,d,{time:"rpi-time",text:"rpi-text",readmore:"rpi-readmore"}),
101n=rpi.View(a,d,{common:g,cbp:e});let r=0,v=!1,w=!1,B=1E3*(f.flash_start||3),D=1E3*(f.flash_visible||5),A=1E3*(f.flash_invisible||5),z=null;var y=null;return y={init:function(c){c?n.addReviews(c,[],function(m){n.init();y.init2()}):(g.init(),n.init(),y.init2())},init2:function(){y.fillReviews();l.onclick=y.hide;k.onclick=y.showReview;document.body.appendChild(a);setTimeout(y.showStory,B)},fillReviews:function(){let c=a.getElementsByClassName("rpi-card");for(let x=0;x<c.length;x++){let C=c[x].getAttribute("data-rat");
102var m="";f.disable_review_time||(m=c[x].getElementsByClassName("rpi-time")[0],m=f.time_format?m.innerText:m.getAttribute("data-time"));let E=c[x].getElementsByClassName("rpi-name"),F=c[x].getElementsByClassName("rpi-text");b.push({rating:C,text:F.length&&F[0].firstChild?F[0].firstChild.nodeValue:"",time:m,author_avatar:f.hide_avatar?"":c[x].querySelector("img.rpi-img").getAttribute("src"),author_name:f.hide_name?"":E.length?E[0].innerText:"",author_url:f.hide_name?"":E.length?E[0].href:"",provider:c[x].getAttribute("data-provider")})}},
103showStory:function(){if(!w&&!v)if(y.nextStory(a,k,r,b),q.className="rpi-flash-content rpi-flash-visible",r+1<b.length)r+=1;else{const c=parseInt(t.getAttribute("data-count")),m=parseInt(t.getAttribute("data-offset"));c>m?(n.loadNextReviews(d.pagination,e),r+=1):r=0}v=!1;z=setTimeout(function(){var c;if(c=!w)c=q.parentElement.querySelector(":hover")!==q;c&&!v&&(q.className="rpi-flash-content");z=setTimeout(y.showStory,A)},D)},showReview:function(){w=!0;let c=parseInt(k.getAttribute("data-idx")),m=
104u.querySelector(".rpi-flash-form .rpi-card:nth-child("+c+")");m.className="rpi-card rpi-highlight";setTimeout(function(){m.scrollIntoView({behavior:"smooth",block:"center"})},300);u.className="rpi-flash-card rpi-flash-expanded";q.className="rpi-flash-content rpi-flash-visible";l.className="rpi-x rpi-xa";l.onclick=function(){m.className="rpi-card";u.className="rpi-flash-card";l.className="rpi-x";w=!1;v=!0;l.onclick=y.hide}},hide:function(){let c=JSON.parse(sessionStorage.getItem(p)||"{}");c.hide=!0;
105sessionStorage.setItem(p,JSON.stringify(c));clearTimeout(z);q.className="rpi-flash-content"},nextStory:function(c,m,x,C){u.style.height="auto";h.style.setProperty("--flash-height","auto");if(m.firstChild){c=C[x];C=m.getElementsByClassName("rpi-flash-img");const E=m.getElementsByClassName("rpi-flash-head"),F=m.getElementsByClassName("rpi-flash-body"),G=m.getElementsByClassName("rpi-flash-footer");f.flash_user_photo&&C.length&&(C[0].innerHTML=y.img(c));E.length&&(E[0].innerHTML=y.head(c));F.length&&
106(F[0].innerHTML=y.body(c));G.length&&(G[0].innerHTML=y.footer(c));m.setAttribute("data-idx",x+1)}
106else m.innerHTML=y.createStory(x,C);setTimeout(function(){h.style.setProperty("--flash-height",m.offsetHeight+"px");u.style.height=""},1)},createStory:function(c,m){c=m[c];return(f.flash_hide_logo&&!f.flash_user_photo?"":'<div class="rpi-flash-img">'+y.img(c)+"</div>")+'<div class="rpi-info"><div class="rpi-flash-head">'+y.head(c)+'</div><div class="rpi-flash-body">'+y.body(c)+'</div><div class="rpi-flash-footer">'+
107y.footer(c)+"</div></div>"},img:function(c){return f.flash_user_photo?'<img src="'+c.author_avatar+'" class="rpi-img" alt="'+c.author_name+'" width="44" height="44">':rpi.Flash.LOGO},head:function(c){return f.flash_head?y.temp(c,f.flash_head):y.photo(c,16,16)+(f.hide_name?"":y.name(c))+"<span> "+f.text.m1.replace("%s",'<span class="rpi-flash-rating rpi-star">'+c.rating+"</span>")+"</span>"},body:function(c){return f.flash_body?y.temp(c,f.flash_body):rpi.View.stars(c.rating,c.provider).outerHTML+f.text.m2+
108y.provider(c)},footer:function(c){return f.flash_footer?y.temp(c,f.flash_footer):f.disable_review_time?"":g.time(c.time)},name:function(c){return'<span class="rpi-flash-name">'+c.author_name+"</span> "},star:function(c){return'<span class="rpi-flash-rating rpi-star">'+c.rating+"</span>"},provider:function(c){return'<span class="rpi-logo rpi-logo-'+c.provider+'"></span>'},photo:function(c,m,x){return f.flash_user_photo||f.hide_avatar?"":'<span class="rpi-flash-photo">'+y.photoImg(c,m,x)+"</span>"},
109photoImg:function(c,m,x){return'<img src="'+c.author_avatar+'" class="rpi-img" alt="'+c.author_name+'" width="'+m+'" height="'+x+'">'},temp:function(c,m){return decodeURIComponent(m).replace("{{review_rating}}",y.star(c)).replace("{{review_stars}}",rpi.View.stars(c.rating,c.provider).outerHTML).replace("{{review_text}}",g.trimtext(c.text,!0)).replace("{{review_time}}",g.time(c.time)).replace("{{review_provider}}",y.provider(c)).replace("{{review_name}}",y.name(c)).replace("{{review_name_url}}",c.author_url).replace("{{review_photo}}",
110y.photo(c,16,16))}}};rpi=rpi||{};rpi.Badge=function(a,d){if(!d.ajax_load){var f=a.getElementsByClassName("rpi-badge-cnt")[0];f=JSON.parse(f.getAttribute("data-opts"));rpi.Badge.core(a,d,f).init()}};
111rpi.Badge.core=function(a,d,f){const p=a.getAttribute("data-id");a.getElementsByClassName("rpi-badge-cnt");const h=a.getElementsByClassName("rpi-badge");var q=null;return q={init:function(l){if(!l)for(l=0;l<h.length;l++)(function(u){let k="rpi_badge_"+[p,u.getAttribute("data-provider"),u.getAttribute("data-id")].join("_");var t=sessionStorage.getItem(k);u.style.display=t?"none":"inline-block";if(!t){if(t=u.getElementsByClassName("rpi-x")[0])t.onclick=function(){sessionStorage.setItem(k,1);u.style.display=
112"none"};"sidebar"==f.badge_click&&(u.getElementsByClassName("rpi-badge-body")[0].onclick=q.badgeClick)}})(h[l])},badgeClick:function(l){var u=l.currentTarget.parentNode;l=u.getAttribute("data-id");u=u.getAttribute("data-provider");var k=["rpi_sb",l,u].join("_");let t=document.getElementById(k);if(t)rpi.View.widthAnim(t.getElementsByClassName("rpi-sb")[0],368,300);else{t=document.createElement("div");t.id=k;t.className="rpi";t.setAttribute("data-id",p);t.setAttribute("data-opts",a.getAttribute("data-opts"));
113t.setAttribute("style",a.getAttribute("style"));t.innerHTML='<div class="rpi-sb rpi-sb-'+f.badge_pos+'" style="display:none;width:0"><div class="rpi-sbb"></div><div class="rpi-sbh"><div class="rpi-sbhi rpi-header"><div class="rpi-cards"></div></div></div><div class="rpi-sbc"><div class="rpi-sbci rpi-content"><div class="rpi-cards" data-count="0" data-offset="0"></div><div style="text-align:center"><a href="#" class="rpi-url">'+rpi.Utils.__("More reviews",d.trans)+'</a></div></div></div><div class="rpi-sbf"></div><div class="rpi-x"></div><style>.rplg img.rpi-img{max-width:var(--img-size)!important;height:var(--img-size)!important}</style></div>';
114document.body.appendChild(t);d.style_style="5";k=rpi.Common(t,d,{time:"rpi-time",text:"rpi-text",readmore:"rpi-readmore"});const b={};l&&(b.bid=l);u&&(b.provider=u);const e=t.getElementsByClassName("rpi-sb")[0],g=t.getElementsByClassName("rpi-header")[0];rpi.View(t,d,{common:k,filter:b,cb:{pre:function(){rpi.View.widthAnim(e,368,3
11400)},post:function(){e.style.setProperty("--sbh-height",g.offsetHeight+"px")}}}).boot();t.getElementsByClassName("rpi-x")[0].onclick=function(n){rpi.View.widthAnim(e,368,
115300)}}}}};rpi=rpi||{};
116rpi.Slider=function(a,d,f,p){a.getAttribute("data-id");const h=a.getElementsByClassName(f.cnt)[0],q=a.getElementsByClassName(f.content)[0],l=q?q.getElementsByClassName(f.cards)[0]:null,u=q?q.getElementsByClassName(f.dotsWrap)[0]:null,k=q?q.getElementsByClassName(f.dots)[0]:null,t=l?parseInt(l.getAttribute("data-count")):0;var b=null,e=q?q.getElementsByClassName(f.card):null,g="",n="",r=null,v=null,w=null,B=null,D=!1,A=!1,z=0,y=0;return b={init:function(c,m){rpi.Utils.isVisible(h)?(c&&c(),b.resize(),
117b.actions(),e.length&&b.swipeAutoStart(),m&&m(),rpi.Instances=rpi.Instances||[],rpi.Instances.push(b)):setTimeout(b.init,300)},resize:function(c){let m=p.column.resize(),x=p.column.getCol();c&&l.scrollLeft!=c*b.reviewWidth()&&l.scrollTo(e[c].offsetLeft,0);!e.length||g==m&&n==x||(b.hasDots()&&(b.dotsInit(),b.dotSwipe(c,!0)),g=m,n=x)},actions:function(){d.mousestop&&b.addMouseEvents();window.addEventListener("resize",b.resizeListener);l&&(l.addEventListener("scroll",b.scrollListener,!1),d.wheelscroll&&
118q.addEventListener("wheel",b.wheelListener,!1));var c=h.getElementsByClassName(f.btnPrev)[0];c&&(c.onclick=function(m){m.preventDefault();m.stopPropagation();b.btnClick(-1)});if(c=h.getElementsByClassName(f.btnNext)[0])c.onclick=function(m){m.preventDefault();m.stopPropagation();b.btnClick(1)}},resizeListener:function(){var c=y;clearTimeout(r);r=setTimeout(b.resize,150,c)},scrollListener:function(){clearTimeout(v);clearTimeout(w);w=setTimeout(b.scrollEnd,150)},wheelListener:function(c){var m=c.target;
119if((m=-1<m.className.indexOf(f.text)?m:-1<m.parentNode.className.indexOf(f.text)?m.parentNode:null)&&m.scrollHeight>m.clientHeight)return!0;c.preventDefault();z++;clearTimeout(B);B=setTimeout(b.wheelEnd,150,c)},addMouseEvents:function(){h.addEventListener("mouseover",b.mouseOver,!1);h.addEventListener("mouseleave",b.mouseLeave,!1)},delMouseEvents:function(){h.removeEventListener("mouseover",b.mouseOver);h.removeEventListener("mouseleave",b.mouseLeave)},mouseOver:function(){D=1;b.swipeAutoStop()},
120mouseLeave:function(){D=0;b.swipeAutoStart()},btnClick:function(c){b.swipeManual(c*b.swipePerBtn())},wheelEnd:function(c){b.swipeManual(Math.sign(c.wheelDelta)*z*b.swipeStep());z=0},scrollEnd:function(){y=b.reviewsIdx();A?A=!1:b.loadNextReviews();(!d.mousestop||D)&&d.mousestop||(!d.clickstop||A)&&d.clickstop||b.swipeAutoStart();b.hasDots()&&b.dotSwipe(void 0,!0)},loadNextReviews:function(c){c=c?b.reviewsIdx()+parseInt(c):b.hasDots()?(c=k.getElementsByClassName("active")[0])?parseInt(c.getAttribute("data-index"))*
121b.swipePerDot():b.reviewsIdx():b.reviewsIdx();c=b.getAjaxSize(c);0<c&&p.view.loadNextReviews(c)},getAjaxSize:function(c){let m=0;const x=parseInt(l.getAttribute("data-offset")),C=parseInt(d.pagination);if(t>x){let E=c-x;Math.abs(E)<3*b.swipePerDot()?m=C:E&&(m=Math.ceil(c/C)*C-x)}c=x+m-t;return 0<c?m-c:m},dotsInit:function(){if(k){var c=Math.round(t/b.swipePerDot());k.innerHTML="";for(let m=0;m<c;m++){let x=document.createElement("button");x.className=f.dot;x.setAttribute("data-index",m);x.setAttribute("title",
122m);x.setAttribute("aria-label","Go to page "+m);x.onclick=b.dotClick;k.appendChild(x)}b.dotsPadding()}},dotClick:function(c){c.preventDefault();c.stopPropagation();c=parseInt(this.getAttribute("data-index"));var m=k.getElementsByClassName("active")[0];m=parseInt(m.getAttribute("data-index"));b.swipeManual(Math.abs(c-m)*b.swipePerDot()*Math.sign(c-m))},dotsPadding:function(){let c=u.getBoundingClientRect().height;h.style.paddingBottom=c+"px"},dotSwipe:function(c,m){c=Math.round((void 0!==c?c:b.reviewsIdx())/
123b.swipePerDot());c=0>c?0:c>=k.childNodes.length?k.childNodes.length-1:c;c=k.querySelector("."+f.dot+'[data-index="'+c+'"]');let x=k.getElementsByClassName("active")[0];b.dotActivate(x,c);b.dotScroll(c,m)},dotScroll:function(c,m){let x=Math.round(k.scrollWidth/k.childNodes.length),C=Math.floor(Math.round(k.offsetWidth/x)/2);m?k.scrollTo(c.offsetLeft-C*x,0):k.scrollTo({left:c.offsetLeft-C*x,behavior:"smooth"})},dotActivate:function(c,m){c&&(c.classList.remove("active"),c.classList.remove("s1"),c.previousSibling&&
124(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")));m&&(m.classList.add("active"),m.classList.add("s1"),m.previousSibling&&(m.previousSibling.classList.add("s2"),m.previousSibling.previousSibling&&m.previousSibling.previousSibling.classList.add("s3")),m.nextSibling&&(m.nextSibling.classList.add("s2"),
125m.nextSibling.nextSibling&&m.nextSibling.nextSibling.classList.add("s3")))},swipeManual:function(c){A=!0;b.loadNextReviews(c);b.scroll(c);d.clickstop&&(b.swipeAutoStop(),b.delMouseEvents())},swipeAuto:function(){if(rpi.Utils.isInViewport(h))if(b.isScrollEnd())b.scroll(-(t-b.reviewsPerView()));else{let c=b.swipeStep()<b.reviewsAhead()?b.swipeStep():b.reviewsAhead();b.scroll(c)}b.swipeAutoStart()},scroll:function(c){c=b.reviewsIdx()+parseInt(c);let m=rpi.Utils.isRTL()?c+b.reviewsPerView()-1:c;m=0>m?
1260:m>=e.length?e.length-1:m;-1<m&&m<e.length&&(l.scrollTo({left:e[m].offsetLeft,behavior:"smooth"}),b.hasDots()&&b.dotSwipe(c))},swipeAutoStart:function(){d.autoplay&&(v=setTimeout(b.swipeAuto,1E3*parseInt(d.speed)))},swipeAutoStop:function(){clearTimeout(v);w&&setTimeout(function(){clearTimeout(w)},100)},isScrollEnd:function(){var c=l.querySelector("."+f.card+":last-child"),m=c.getBoundingClientRect();c=c.parentNode.getBoundingClientRect();return(2>Math.abs(c.left-m.left)||c.left<=m.left)&&m.left<
127c.right&&(2>Math.abs(c.right-m.right)||c.right>=m.right)&&m.right>c.left},swipeStep:function(){return d.swipe_step||b.reviewsPerView()},swipePerBtn:function(){return d.swipe_per_btn||b.reviewsPerView()},swipePerDot:function(){return d.swipe_per_dot||b.reviewsPerView()},reviewWidth:function(){return Math.round(l.scrollWidth/e.length)},reviewHeight:function(){return e[0].offsetHeight},reviewsPerView:function(){return Math.round(l.offsetWidth/b.reviewWidth())},reviewsIdx:function(){let c=rpi.Utils.isRTL()?
128-l.scrollLeft:l.scrollLeft;return Math.round(c/b.reviewWidth())},reviewsAhead:function(){return e.length-(b.reviewsIdx()+b.reviewsPerView())},hasDots:function(){return k&&!d.hide_dots&&0<b.swipePerDot()},setBreakpoints:function(c){p.column.setBreakpoints(c);b.resize()},clear:function(){clearTimeout(r);clearTimeout(v);clearTimeout(w);clearTimeout(B);window.removeEventListener("resize",b.resizeListener);l.removeEventListener("scroll",b.scrollListener);q.removeEventListener("wheel",b.wheelListener)}}};
129rpi=rpi||{};
130rpi.Temp=function(a,d){const f=a.getAttribute("data-id"),p='<a href="#" class="rpi-url">'+rpi.Utils.__("More reviews",d.trans)+"</a>";
130d.ajax_load?rpi.Utils.ajax(brb_vars.ajaxurl+"?action=brb_widget&id="+f,"POST",function(h){let q="";h.options.rating_temp_on&&(q+="<div class=\"rpi-header\" data-temp='{{temp_rating}}'></div>".replace("{{temp_rating}}",h.options.rating_temp||encodeURIComponent('<div class="rpi-rating">{{photo}} <a href="{{writereview_url}}" onclick="rpi.Utils.popup(this.href,620,580);return !1;">{{name}}</a>{{rating}} {{stars}} Based on <a href="{{reviews_url}}" target="_blank" rel="noopener">{{count}} reviews</a></div>')));h.options.review_temp_on&&
131(q+='<div class="rpi-content" data-temp=\'{{temp_review}}\' data-count="{{count}}" data-offset="{{offset}}"></div>'.replace("{{temp_review}}",h.options.review_temp||encodeURIComponent('<div class="rpi-review"><div>{{review_photo}} {{review_name_url}} {{review_time}} {{review_logo}}</div><div>{{review_stars}}</div><div class="rpi-text">{{review_text}}</div><div>{{review_media}}</div><div>{{review_reply}}</div></div>')).replace("{{count}}",h.count).replace("{{offset}}",h.reviews.length),d.pagination&&
132(q+=p));a.innerHTML=q;rpi.Temp.core(a,d).init(h)}):rpi.Temp.core(a,d)};
133rpi.Temp.core=function(a,d){var f=null;const p=a.getAttribute("data-id"),h=a.querySelector(".rpi-header"),q=a.querySelector(".rpi-content"),l=rpi.Common(a,d,{time:"rpi-time",text:"rpi-text",readmore:"rpi-readmore"}),u=rpi.View(a,d,{common:l});l.init();var k=a.getElementsByClassName("rpi-url")[0];k&&(k.onclick=function(){const t=parseInt(q.getAttribute("data-offset"));rpi.Utils.ajax(brb_vars.ajaxurl+"?action=brb_get_reviews&id="+p+"&offset="+t+"&size="+d.pagination,"POST",function(b){b.reviews&&f.initReviews(b.reviews);
134q.setAttribute("data-count",b.count);q.setAttribute("data-offset",b.offset);b.offset>=b.count&&rpi.Utils.rm(k)});return!1});return f={init:function(t){h&&t.bizs&&f.initBizs(t.bizs);q&&t.reviews&&f.initReviews(t.reviews)},initBizs:function(t){const b=decodeURIComponent(h.getAttribute("data-temp"));for(let e=0;e<t.length;e++){const g=t[e],n=document.createElement("span");for(n.innerHTML=b.replace("{{scale}}",u.scale(g)).replace("{{name}}",g.name).replace("{{photo}}",u.bizPhoto(g)?.outerHTML??"").replace("{{stars}}",
135rpi.View.stars(g.rating,g.provider,!1).outerHTML).replace("{{rating}}",g.rating).replace("{{count}}",g.review_count).replace("{{reviews_url}}",u.allReviewsUrl(g)).replace("{{writereview_url}}",u.writeReviewUrl(g));n.firstChild;)h.appendChild(n.firstChild)}},initReviews:function(t){const b=decodeURIComponent(q.getAttribute("data-temp"));for(let e=0;e<t.length;e++){const g=t[e],n=document.createElement("span");for(n.innerHTML=b.replace("{{review_photo}}",u.reviewAvatar(g).outerHTML).replace("{{review_provider}}",
136g.provider).replace("{{review_logo}}",u.logo(g.provider).outerHTML).replace("{{review_url}}",g.author_url).replace("{{review_name}}",g.author_name).replace("{{review_name_url}}",g.author_url).replace("{{review_time}}",u.reviewTime(g).outerHTML).replace("{{review_rating}}",g.rating).replace("{{review_stars}}",rpi.View.stars(g.rating,g.provider).outerHTML).replace("{{review_text}}",g.text||"").replace("{{review_reply}}",g.reply||"").replace("{{review_media}}",g.media||"");n.firstChild;)1===n.firstChild.nodeType&&
137l.initOnce(n.firstChild),q.appendChild(n.firstChild)}}}};
138var RichPlugins=RichPlugins||{Tag:function(a,d){const f=a.getAttribute("data-id"),p=a.getElementsByClassName("rpi-tag")[0],h=a.getElementsByClassName("rpi-tag-cnt")[0],q=JSON.parse(h.getAttribute("data-opts"));var l=null;return l={init:function(){let u=a.querySelector(".rpi-stars[data-reviewus]");u&&(l.starsInit(u),u.onclick=function(k){k="svg"==k.target.tagName?k.target:k.target.parentNode;k=[...k.parentNode.children].indexOf(k);rpi.Utils.popup(2<k?this.getAttribute("data-reviewus"):"https://app.richplugins.com/feedback?s="+
139k,800,600)});0<q.tag_popup&&setTimeout(function(){p.className+=" rpi-pop-up"},1E3*q.tag_popup);if("sidebar"==q.tag_click){let k=a.getElementsByClassName("rpi-sb")[0];k||(k=document.createElement("div"),k.className="rpi-sb",k.setAttribute("data-layout",q.tag_sidebar),k.setAttribute("style","display:none;width:0"),k.innerHTML='<div class="rpi-sbb"></div><div class="rpi-sbc"><div class="rpi-sbci"></div></div><div class="rpi-x"></div>',a.appendChild(k));k.getElementsByClassName("rpi-x")[0].onclick=function(t){rpi.View.widthAnim(k,
140368,300)};h.onclick=function(t){rpi.View.widthAnim(k,368,300);let b=k.getElementsByClassName("rpi-sbci")[0];""==b.innerHTML&&rpi.Utils.ajax(brb_vars.ajaxurl+"?action=brb_embed&brb_collection_id="+f+"&brb_view_mode="+q.tag_sidebar,"POST",function(e){b.innerHTML=e.data;RichPlugins.init(b.querySelector('.rpi[data-exec=""]'))})}}console.log("RichPlugins Tag initialized")},starsInit:function(u){}}},Flash:function(a,d){return This={init:function(){rpi.Flash(a,d)}}},Badge:function(a,d){return This={init:function(){rpi.Badge(a,
141d)}}},Temp:function(a,d){return This={init:function(){rpi.Temp(a,d)}}},List:function(a,d){const f=rpi.Common(a,d,{time:"rpi-time",text:"rpi-text",readmore:"rpi-readmore"}),p=rpi.Column(a,d,{cnt:"rpi-cnt",col:"rpi-col",card:"rpi-card"}),h=rpi.View(a,d,{common:f});a.querySelector(".rpi-content .rpi-cards");return{init:function(){f.init();p.init();h.init();console.log("RichPlugins List initialized")}}},Slider:function(a,d){const f=rpi.Common(a,d,{time:"rpi-time",text:"rpi-text",readmore:"rpi-readmore"}),
142p=rpi.Column(a,d,{cnt:"rpi-cnt",col:"rpi-col",card:"rpi-card"}),h=rpi.View(a,d,{common:f});d=a.getElementsByClassName("rpi-cnt")[0];d=JSON.parse(d.getAttribute("data-opts"));const q=rpi.Slider(a,d,{cnt:"rpi-cnt",col:"rpi-col",content:"rpi-content",cards:"rpi-cards",card:"rpi-card",text:"rpi-text",btnPrev:"rpi-slider-prev",btnNext:"rpi-slider-next",dotsWrap:"rpi-dots-wrap",dots:"rpi-dots",dot:"rpi-dot"}
142,{view:h,column:p});return{init:function(){q.init(function(){f.init()},function(){h.init();console.log("RichPlugins slider initialized")})}}},
143init:function(a){a.setAttribute("data-exec","1");let d=JSON.parse(a.getAttribute("data-opts")),f=rpi.Utils.capit(d.layout);"List"==f||"Grid"==f?RichPlugins.List(a,d).init():RichPlugins[f]&&RichPlugins[f](a,d).init()}};document.addEventListener("DOMContentLoaded",function(){const a=document.querySelectorAll('.rpi[data-exec=""]');if(a.length){rpi.Utils.clear();for(var d=0;d<a.length;d++)RichPlugins.init(a[d])}});

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.