PageSourceSearch

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

js redmannlaw.com collected 2026-09-29 09:40:06 UTC 68,016 bytes, 137 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,m=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>m?rpi.Time.Messages[d].year:rpi.Time.Messages[d].years(m)},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(m,l){m=h[l];return 10>m?"0"+m:m})},declineNum:function(a,d,f,p){return a+" "+
5this.declineMsg(a,d,f,p)},declineMsg:function(a,d,f,p,h){var m=a%10;return 1==m&&(1==a||20<a)?d:1<m&&5>m&&(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},isRTL:function(){return"rtl"==(window.getComputedStyle?window.getComputedStyle(document.body,null).getPropertyValue("direction"):document.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},
53lang: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)/2-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?
54window.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 m=JSON.parse(h.responseText);"function"===typeof p?p(m):"function"===typeof f&&f(m)}};h.send(f&&"function"!==typeof f?JSON.stringify(f):null)},anchor:function(a,d,f,p,h){const m=[];f.open_link&&
55m.push("noopener");f.nofollow_link&&m.push("nofollow");return'<a href="'+a+'"'+(p?' class="'+p+'"':"")+(f.open_link?' target="_blank"':"")+(m.length?' rel="'+m.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)},clear:function(){this.rm(document.getElementById("rpi-style"));if(rpi.Instances)for(;rpi.Instances.length;)rpi.Instances.pop().clear()}};rpi=rpi||{};
56rpi.Column=function(a,d,f){const p=a.getAttribute("data-id"),h=new RegExp(f.col+"-[xsml]+"),m=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 r=null;return r={init:function(k,q){rpi.Utils.isVisible(l)?(k&&k(),r.resize(),window.addEventListener("resize",r.resize),q&&q(),rpi.Instances=rpi.Instances||[],rpi.Instances.push(r)):setTimeout(r.init,300)},resize:function(){let k=
57r.getSize();l.className=l.className.replace(h,f.col+"-"+k);if(d.breakpoints){let q=l.offsetWidth,b=d.breakpoints.split(",");b.sort(r.brsort);for(let e=0;e<b.length;e++){let g=b[e].split(":");if(q<parseInt(g[0])){r.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 q=this.getStyle();q.innerHTML=q.innerHTML.replace(m,(p?'[data-id="'+p+'"] ':"")+"."+f.card+"{--col:"+k+"!important;--gap:"+(k-
581)+"!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,q){return parseInt(k.split(":")[0])>parseInt(q.split(":")[0])?1:-1},clear:function(){window.removeEventListener("resize",r.resize)}}};rpi=rpi||{};
59rpi.Common=function(a,d,f){var p=null;return p={init:function(){var h=a.getElementsByClassName(f.time);let m=a.getElementsByClassName(f.text);for(var l=0;l<h.length;l++)h[l].innerHTML=p.time(h[l].getAttribute("data-time"));for(h=0;h<m.length;h++)(l=m[h])&&l.innerHTML&&(l.innerHTML=p.trimtext(l.innerHTML),l=l.getElementsByClassName(f.readmore)[0])&&(l.onclick=p.opentext)},initOnce:function(h){var m=h.getElementsByClassName(f.time)[0];h=h.getElementsByClassName(f.text)[0];m&&(m.innerHTML=p.time(m.getAttribute("data-time")));
60h&&h.innerHTML&&(h.innerHTML=p.trimtext(h.innerHTML),m=h.getElementsByClassName(f.readmore)[0])&&(m.onclick=p.opentext)},time:function(h){return d.time_format?h:rpi.Time.getTimeAgo(1E3*parseInt(h),rpi.Utils.lang())},trimtext:function(h,m){var l=parseInt(d.text_size);if(h&&l&&h.length>l){h=Array.from(h);let r=h.slice(0,l).join("").indexOf(" ")+1;if(1>r||l-r>l/2)r=h.length>l?l:h.length;let k=l="";0<r&&(l=h.slice(0,r-1).join(""),k=h.slice(r-1).join(""));return l+(!m&&k?'<span class="rpi-s">... </span><input type="hidden" value="'+
61encodeURIComponent(k)+'"></input><span class="'+f.readmore+'">'+rpi.Utils.__("read more",d.trans)+"</span>":"")}return h},opentext:function(){let h=this.parentNode,m=this.previousSibling,l=this.previousSibling.previousSibling,r=decodeURIComponent(m.value);rpi.Utils.rm(m);rpi.Utils.rm(l);rpi.Utils.rm(this);h.innerHTML+=r}}};rpi=rpi||{};
62rpi.View=function(a,d,f){const p=a.getAttribute("data-id");a.getElementsByClassName("rpi-cnt");const h=a.getElementsByClassName("rpi-header")[0],m=a.getElementsByClassName("rpi-content")[0],l=m?m.getElementsByClassName("rpi-cards")[0]:null,r=a.getElementsByClassName("rpi-url")[0],k=rpi.Media(a);var q=null;return q={boot:function(){f.cb&&f.cb.pre&&f.cb.pre();rpi.Utils.ajax(q.getAjaxUrl("brb_widget"),"POST",function(b){l.setAttribute("data-count",b.count);l.setAttribute("data-offset",b.offset);b.bizs&&
63q.addBusiness(b.bizs[0],b.options);q.addReviews(b,[],function(e){q.initStyle();f.cb&&f.cb.post&&f.cb.post()})});q.initPagin()},init:function(){k.init();q.initStyle();q.initPagin()},initPagin:function(){r&&(r.onclick=function(){q.loadNextReviews(d.pagination,function(b){q.delPaginBtn();f.cbp&&f.cbp(b)});return!1})},loadNextReviews:function(b,e){if(0<b){const g=[];b=parseInt(b);q.preloadReviews(g,b);q.loadAjaxReviews(g,b,e)}},preloadReviews:function(b,e){var g=parseInt(l.getAttribute("data-count")),
64t=parseInt(l.getAttribute("data-offset"));e=g-t>e?e:g-t;g=l.getElementsByClassName("rpi-card");if(g.length){t=g.length-1;for(let u=0;u<e;u++){let A=g[Math.round(Math.random()*t)].cloneNode(!0);A.style="filter: blur(4px);";l.appendChild(A);b.push(A)}}},loadAjaxReviews:function(b,e,g){rpi.Utils.ajax(q.getAjaxUrl("brb_get_reviews",e),"POST",function(t){l.setAttribute("data-offset",t.offset);q.addReviews(t,b,g)})},getAjaxUrl:function(b,e){const g=parseInt(l.getAttribute("data-offset"));b=brb_vars.ajaxurl+
65"?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=q.createRating(b,e);g.appendChild(b)},createRating:function(b,e){const g=document.createElement("div");g.className="rpi-card";g.setAttribute("data-provider",b.provider);g.innerHTML=q.ratingInner(b,e);return g},ratingInner:function(b,e){return'<div class="rpi-card-inner rpi-flexwrap rpi-logo rpi-logo-'+
66b.provider+'"><div class="rpi-flex"><div class="rpi-img">'+q.bizPhoto(b)+'</div><div class="rpi-info"><a href="'+b.url+'" class="rpi-name">'+b.name+"</a>"+q.ratingScore(b)+"</div></div>"+(e.header_hide_seeall&&e.header_hide_write?"":q.ratingBtns(b,e))+"</div>"},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){return'<img src="'+
67b.photo+'" class="rpi-img" loading="lazy" alt="">'},ratingScore:function(b,e=!0){return rpi.View.stars(b.rating,b.provider,e)},ratingBtns:function(b,e){const g=q.allReviewsUrl(b),t=q.writeReviewUrl(b);return'<div class="rpi-slider-btn">'+(e.header_hide_seeall?"":'<div class="rpi-review_us rpi-clickable"><a href="'+g+'" target="_blank" rel="noopener">'+rpi.Utils.__("See all reviews",d.trans)+"</a></div>")+(e.header_hide_write?"":'<div class="rpi-review_us rpi-clickable"><a href="'+t+'" class="rpi-logo_after rpi-logo-'+
68b.provider+'" target="_blank" rel="noopener" onclick="rpi.Utils.popup(\''+t+"', 800, 600)\">"+rpi.Utils.__("review us on",d.trans)+"</a></div>")+"</div>"},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"https://search.google.com/local/reviews?placeid="+b.i
68d;case "facebook":return"https://facebook.com/"+b.id+"/reviews";case "yelp":return b.url}},writeReviewUrl:function(b){if(b.wr){let e=b.wr.split(":");b.id=e[1];b.provider=
69e[0]}switch(b.provider){case "google":return"https://search.google.com/local/writereview?placeid="+b.id;case "facebook":return"https://facebook.com/"+b.id+"/reviews";case "yelp":return"https://www.yelp.com/writeareview/biz/"+b.id}},addReviews:function(b,e,g){let t=b.reviews.length;a.getAttribute("data-opts")&&(d=JSON.parse(a.getAttribute("data-opts")));for(let u=0;u<t;u++){let A=q.createCard(e.shift(),b.reviews[u]);f.common.initOnce(A);q.initReviewStyle(A,d);q.initLogoStyle(A,d.style_logo);e.length||
70l.appendChild(A)}for(;e.length;)rpi.Utils.rm(e.shift());k.init();q.delPaginBtn();g&&g(b)},createCard:function(b,e){b?b.style="":(b=document.createElement("div"),b.className="rpi-card");b.setAttribute("data-rat",e.rating);b.setAttribute("data-provider",e.provider);b.innerHTML=q.reviewInner(e);return b},reviewInner:function(b){a.style.getPropertyValue("--img-size");let e=b.reply?b.reply.text||b.reply:null;return'<div class="rpi-card-inner"><i></i><div class="rpi-flex">'+(d.hide_avatar?"":q.reviewAvatar(b))+
71'<div class="rpi-info">'+(d.hide_name?"":q.reviewName(b))+(d.disable_review_time?"":q.reviewTime(b))+rpi.View.stars(b.rating,b.provider)+'</div></div><div class="rpi-body"><div class="rpi-text rpi-scroll" tabindex="0">'+b.text+" </div>"+(b.media?'<div class="rpi-media">'+q.reviewMedia(b)+"</div>":"")+(e?'<div class="rpi-reply rpi-scroll"><b>'+rpi.Utils.__("Response from the owner",d.trans)+":</b> "+e+"</div>":"")+"</div></div>"},reviewTime:function(b){return'<div class="rpi-time" data-time="'+b.time+
72'"></div>'},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},reviewName:function(b){const e=rpi.Utils.capit(b.provider)+" user",g=b.author_name?b.author_name:e;return b.author_url&&!d.disable_user_link?rpi.Utils.anchor(b.author_url,g,d,"rpi-name",e+" profile"):'<div class="rpi-name">'+
73g+"</div>"},reviewAvatar:function(b){let e=b.author_avatar;var g=a.style.getPropertyValue("--img-size");g=g?g.replace("px",""):56;let t=d.hide_name&&b.author_name?b.author_name:"";switch(b.provider){case "google":(b=e.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",
74"-mo-s"+g):e.replace("-rp","-rp-s"+g);break;case "yelp":e&&=e.replace(/(ms)|(o)\.jpg/,128>=g?"ms":"o")}return'<div class="rpi-img"><img src="'+e+'" class="rpi-img" '+(d.lazy_load_img?'loading="lazy"':"")+' width="'+g+'" height="'+g+'" alt="'+t+'" onerror="if(this.src!=\''+brb_vars.gavatar+"')this.src='"+brb_vars.gavatar+"';\"></div>"},reviewMedia:function(b){let e="";var g=a.style.getPropertyValue("--media-lines");g=22*(g?g:2);for(let t=0;t<b.media.length;t++)e+='<img class="rpi-thumb rpi-clickable" src="'+
75b.media[t].thumbnailUrl.replace(/(=.*)s\d{2,3}/,"$1s"+g)+'" onclick="rpi.Utils.popup(\''+b.media[t].googleUrl+'\', 800, 600)" alt="" loading="lazy">';return 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],d.head_logo),this.initYelpBasedLogo(b[e],d.head_logo)}if(m){b=l.getElementsByClassName("rpi-card");for(e=0;e<b.length;e++)this.initReviewStyle(b[e],d);this.initCtrlStyle(d);
76b=m.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],t=b.getElementsByTagName("i")[0],u=b.getElementsByClassName("rpi-flex")[0],A=b.getElementsByClassName("rpi-img")[0],y=b.getElementsByClassName("rpi-info")[0],
77B=b.getElementsByClassName("rpi-time")[0],D=b.getElementsByClassName("rpi-name")[0],z=b.getElementsByClassName("rpi-stars")[0],x=b.getElementsByClassName("rpi-body")[0],v=b.getElementsByClassName("rpi-text")[0],c=b.getElementsByClassName("rpi-reply")[0];D&&y.appendChild(D);B&&y.appendChild(B);z&&y.appendChild(z);b.className="rpi-card";g.className="rpi-card-inner";u.className="rpi-flex";x.className="rpi-body";t.className="";switch(e.style_style){case "1":case "7":g.appendChild(u);x&&g.appendChild(x);
78x.className+=" rpi-normal-up__body";break;case "2":case "8":x&&g.appendChild(x);g.appendChild(u);
78x.className+=" rpi-normal-down__body";break;case "3":b.appendChild(u);b.appendChild(g);x&&g.appendChild(x);t.className="rpi-triangle rpi-triangle_up";u.className+=" rpi-bubble__flex rpi-bubble__flex_up";"none"!=this.getCssVar("--card-br")&&(t.className+=" rpi-triangle__br_up",g.className+=" rpi-bubble__inner rpi-bubble__inner_up");break;case "4":b.appendChild(g);b.appendChild(u);x&&g.appendChild(x);t.className=
79"rpi-triangle rpi-triangle_down";u.className+=" rpi-bubble__flex rpi-bubble__flex_down";"none"!=this.getCssVar("--card-br")&&(t.className+=" rpi-triangle__br_down",g.className+=" rpi-bubble__inner rpi-bubble__inner_down");break;case "5":g.appendChild(u);u.appendChild(y);x&&y.appendChild(x);u.className+=" rpi-shift-up__flex";break;case "6":g.appendChild(u),u.appendChild(y),x&&y.prepend(x),u.className+=" rpi-shift-down__flex"}switch(e.style_style){case "7":b.className+=" rpi-avaborder-up";break;case "8":b.className+=
80" rpi-avaborder-down"}x&&c&&x.appendChild(c);if(z)switch(e.style_stars){case "1":B?(y.insertBefore(z,B),y.insertBefore(B,z)):D?(y.insertBefore(z,D),y.insertBefore(D,z)):y.appendChild(z);break;case "2":B?y.insertBefore(z,B):y.appendChild(z);break;case "3":D?y.insertBefore(z,D):B?y.insertBefore(z,B):y.prepend(z);break;case "4":x?x.prepend(z):g.appendChild(z);break;case "5":v?v.prepend(z):x.appendChild(z);break;case "6":x?(x.appendChild(z),c&&x.insertBefore(z,c)):g.appendChild(z)}if(A)switch(e.style_ava){case "1":u.appendChild(A);
81u.appendChild(y);break;case "2":u.appendChild(y),u.appendChild(A)}},initCtrlStyle:function(b){let e=m.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,e){let g=b.getElementsByClassName("rpi-card-inner")[0],t=b.getAttribute("data-provider"),u=t.split(",");1<u.length?this.initLogoMultiple(b,g,u,e):this.initLogoSingle(b,g,t,e)},initLogoSingle:function(b,
82e,g,t){let u=b.getElementsByClassName("rpi-logo")[0];g=["rpi-logo","rpi-logo-"+g];u&&u.classList.remove(...g);switch(t){case "1":case "6":b=b.getElementsByClassName("rpi-body")[0];"6"==t&&g.push("rpi-logo-left");e.classList.contains("rpi-bubble__inner")&&b?b.classList.add(...g):e.classList.add(...g);break;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);
83break;case "5":if(e=b.getElementsByClassName("rpi-based")[0])t=e.innerText.match(/(\d+)/)[1],e.innerHTML=e.innerText.replace(t,t+' <span class="'+g.join(" ")+'"></span>')}},initLogoMultiple:function(b,e,g,t){let u=b.getElementsByClassName("rpi-logos")[0];u||=this.createLogos(g);switch(t){case "0":rpi.Utils.rm(u);break;case "1":e.prepend(u);break;case "2":(b=b.getElementsByClassName("rpi-name")[0])&&b.prepend(u);break;case "4":e=b.getElementsByClassName("rpi-score")[0];b=b.getElementsByClassName("rpi-stars")[0];
84e.appendChild(u);e.insertBefore(u,b);break;case "5":if(b=b.getElementsByClassName("rpi-based")[0])e=b.innerText.match(/(\d+)/)[1],b.innerHTML=b.innerText.replace(e,e+" "+u.outerHTML),rpi.Utils.rm(u)}},createLogos:function(b){let e=document.createElement("span");e.className="rpi-logos";for(let g=0;g<b.length;g++)e.innerHTML+=q.logo(b[g]);return e},logo:function(b){return'<span class="rpi-logo rpi-logo-'+b+'">'},getCssVar:function(b){return a.style.getPropertyValue(b)},delPaginBtn:function(){if(r){const b=
85parseInt(l.getAttribute("data-count"));parseInt(l.getAttribute("data-offset"))>=b&&rpi.Utils.rm(r)}}}};rpi.View.STAR='<span class="rpi-star"></span>';rpi.View.STAR_H='<span class="rpi-star rpi-star-h"></span>';rpi.View.STAR_O='<span class="rpi-star rpi-star-o"></span>';rpi.View.stars=function(a,d,f=!1){let p="",h="";"yelp"==d&&(p=" rpi-stars-yelp rpi-yelp"+Math.round(2*a)/2*10,f&&(h=' data-rating="'+a+'"',f=!1));return'<div class="rpi-stars'+p+'"'+h+">"+rpi.View.star(a,f)+"</div>"};
86rpi.View.star=function(a,d=!1){let f="";if(0<a){let p=1;d&&(p++,f=rpi.View.starRating(a));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){return'<span class="rpi-star" data-rating="'+a+'"></span>'};
87rpi.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||{};
88rpi.Media=function(a,d,{root:f="rpi",card:p="rpi-card"}={}){var h=null,m=null;return m={init:function(){h=a.getElementsByClassName("rpi-thumb");for(let l=0;l<h.length;l++)h[l].setAttribute("data-idx",l),function(r,k){r.onclick=function(){m.show(r,k);return!1}}(h[l],l)},clicks:function(l){l=l.getElementsByClassName("rpi-thumb");for(let r=0;r<l.length;r++)(function(k,q){k.onclick=function(){let b=parseInt(k.getAttribute("data-idx"));m.show(h[b],b);return!1}})(l[r],r)},show:function(l,r){if(!(0>r||r>=
89h.length)){var k=document.querySelector(".rpi-lightbox"),q=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=q;e.innerHTML!==l&&(e.innerHTML=l,m.clicks(e));
89g.onclick=function(t){m.show(h[r-1],r-1)};next.onclick=function(t){m.show(h[r+1],r+1)}}else k=document.createElement("div"),k.className=
90"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="'+q+'" alt=""><div class="rpi-lightbox-btn rpi-lightbox-next"></div></div><div class="'+f+' rpi-lightbox-review">'+l+"</div></div></div></div>",q=k.querySelector(".rpi-x"),l=k.querySelector(".rpi-lightbox-prev"),next=k.querySelector(".rpi-lightbox-next"),q.onclick=
91function(){k.style.display="none"},k.onclick=function(b){k==b.target&&(k.style.display="none")},l.onclick=function(b){m.show(h[r-1],r-1)},next.onclick=function(b){m.show(h[r+1],r+1)},m.clicks(k),document.body.appendChild(k);k.style.display="flex"}}}};rpi=rpi||{};
92rpi.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)+
93'</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("{{right}}","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")),
94rpi.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>';
95rpi.Flash.core=function(a,d,f){const p="rpi_flash_"+a.getAttribute("data-id"),h=a.getElementsByClassName("rpi-flash")[0],m=a.getElementsByClassName("rpi-flash-content")[0],l=m.getElementsByClassName("rpi-x")[0],r=m.getElementsByClassName("rpi-flash-card")[0],k=m.getElementsByClassName("rpi-flash-story")[0],q=m.getElementsByClassName("rpi-cards")[0],b=[],e=function(c){for(let n=0;n<c.reviews.length;n++)b.push(c.reviews[n])},g=rpi.Common(a,d,{time:"rpi-time",text:"rpi-text",readmore:"rpi-readmore"}),
96t=rpi.View(a,d,{common:g,cbp:e});let u=0,A=!1,y=!1,B=1E3*(f.flash_start||3),D=1E3*(f.flash_visible||5),z=1E3*(f.flash_invisible||5),x=null;var v=null;return v={init:function(c){c?t.addReviews(c,[],function(n){t.init();v.init2()}):(g.init(),t.init(),v.init2())},init2:function(){v.fillReviews();l.onclick=v.hide;k.onclick=v.showReview;document.body.appendChild(a);setTimeout(v.showStory,B)},fillReviews:function(){let c=a.getElementsByClassName("rpi-card");for(let w=0;w<c.length;w++){let C=c[w].getAttribute("data-rat");
97var n="";f.disable_review_time||(n=c[w].getElementsByClassName("rpi-time")[0],n=f.time_format?n.innerText:n.getAttribute("data-time"));let E=c[w].getElementsByClassName("rpi-name"),F=c[w].getElementsByClassName("rpi-text");b.push({rating:C,text:F.length&&F[0].firstChild?F[0].firstChild.nodeValue:"",time:n,author_avatar:f.hide_avatar?"":c[w].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[w].getAttribute("data-provider")})}},
98showStory:function(){if(!y&&!A)if(v.nextStory(a,k,u,b),m.className="rpi-flash-content rpi-flash-visible",u+1<b.length)u+=1;else{const c=parseInt(q.getAttribute("data-count")),n=parseInt(q.getAttribute("data-offset"));c>n?(t.loadNextReviews(d.pagination,e),u+=1):u=0}A=!1;x=setTimeout(function(){var c;if(c=!y)c=m.parentElement.querySelector(":hover")!==m;c&&!A&&(m.className="rpi-flash-content");x=setTimeout(v.showStory,z)},D)},showReview:function(){y=!0;let c=parseInt(k.getAttribute("data-idx")),n=
99r.querySelector(".rpi-flash-form .rpi-card:nth-child("+c+")");n.className="rpi-card rpi-highlight";setTimeout(function(){n.scrollIntoView({behavior:"smooth",block:"center"})},300);r.className="rpi-flash-card rpi-flash-expanded";m.className="rpi-flash-content rpi-flash-visible";l.className="rpi-x rpi-xa";l.onclick=function(){n.className="rpi-card";r.className="rpi-flash-card";l.className="rpi-x";y=!1;A=!0;l.onclick=v.hide}},hide:function(){let c=JSON.parse(sessionStorage.getItem(p)||"{}");c.hide=!0;
100sessionStorage.setItem(p,JSON.stringify(c));clearTimeout(x);m.className="rpi-flash-content"},nextStory:function(c,n,w,C){r.style.height="auto";h.style.setProperty("--flash-height","auto");if(n.firstChild){c=C[w];C=n.getElementsByClassName("rpi-flash-img");const E=n.getElementsByClassName("rpi-flash-head"),F=n.getElementsByClassName("rpi-flash-body"),G=n.getElementsByClassName("rpi-flash-footer");f.flash_user_photo&&C.length&&(C[0].innerHTML=v.img(c));E.length&&(E[0].innerHTML=v.head(c));F.length&&
101(F[0].innerHTML=v.body(c));G.length&&(G[0].innerHTML=v.footer(c));n.setAttribute("data-idx",w+1)}else n.innerHTML=v.createStory(w,C);setTimeout(function(){h.style.setProperty("--flash-height",n.offsetHeight+"px");r.style.height=""},1)},createStory:function(c,n){c=n[c];return(f.flash_hide_logo&&!f.flash_user_photo?"":'<div class="rpi-flash-img">
101'+v.img(c)+"</div>")+'<div class="rpi-info"><div class="rpi-flash-head">'+v.head(c)+'</div><div class="rpi-flash-body">'+v.body(c)+'</div><div class="rpi-flash-footer">'+
102v.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?v.temp(c,f.flash_head):v.photo(c,16,16)+(f.hide_name?"":v.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?v.temp(c,f.flash_body):rpi.View.stars(c.rating,c.provider)+f.text.m2+v.provider(c)},
103footer:function(c){return f.flash_footer?v.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,n,w){return f.flash_user_photo||f.hide_avatar?"":'<span class="rpi-flash-photo">'+v.photoImg(c,n,w)+"</span>"},photoImg:function(c,
104n,w){return'<img src="'+c.author_avatar+'" class="rpi-img" alt="'+c.author_name+'" width="'+n+'" height="'+w+'">'},temp:function(c,n){return decodeURIComponent(n).replace("{{review_rating}}",v.star(c)).replace("{{review_stars}}",rpi.View.stars(c.rating,c.provider)).replace("{{review_text}}",g.trimtext(c.text,!0)).replace("{{review_time}}",g.time(c.time)).replace("{{review_provider}}",v.provider(c)).replace("{{review_name}}",v.name(c)).replace("{{review_name_url}}",c.author_url).replace("{{review_photo}}",
105v.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()}};
106rpi.Badge.core=function(a,d,f){const p=a.getAttribute("data-id");a.getElementsByClassName("rpi-badge-cnt");const h=a.getElementsByClassName("rpi-badge");var m=null;return m={init:function(l){if(!l)for(l=0;l<h.length;l++)(function(r){let k="rpi_badge_"+[p,r.getAttribute("data-provider"),r.getAttribute("data-id")].join("_");var q=sessionStorage.getItem(k);r.style.display=q?"none":"inline-block";if(!q){if(q=r.getElementsByClassName("rpi-x")[0])q.onclick=function(){sessionStorage.setItem(k,1);r.style.display=
107"none"};"sidebar"==f.badge_click&&(r.getElementsByClassName("rpi-badge-body")[0].onclick=m.badgeClick)}})(h[l])},badgeClick:function(l){var r=l.currentTarget.parentNode;l=r.getAttribute("data-id");r=r.getAttribute("data-provider");var k=["rpi_sb",l,r].join("_");let q=document.getElementById(k);if(q)rpi.View.widthAnim(q.getElementsByClassName("rpi-sb")[0],368,300);else{q=document.createElement("div");q.id=k;q.className="rpi";q.setAttribute("data-id",p);q.setAttribute("data-opts",a.getAttribute("data-opts"));
108q.setAttribute("style",a.getAttribute("style"));q.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>';
109document.body.appendChild(q);d.style_style="5";k=rpi.Common(q,d,{time:"rpi-time",text:"rpi-text",readmore:"rpi-readmore"});const b={};l&&(b.bid=l);r&&(b.provider=r);const e=q.getElementsByClassName("rpi-sb")[0],g=q.getElementsByClassName("rpi-header")[0];rpi.View(q,d,{common:k,filter:b,cb:{pre:function(){rpi.View.widthAnim(e,368,300)},post:function(){e.style.setProperty("--sbh-height",g.offsetHeight+"px")}}}).boot();q.getElementsByClassName("rpi-x")[0].onclick=function(t){rpi.View.widthAnim(e,368,
110300)}}}}};rpi=rpi||{};
111rpi.Slider=function(a,d,f,p){a.getAttribute("data-id");const h=a.getElementsByClassName(f.cnt)[0],m=a.getElementsByClassName(f.content)[0],l=m?m.getElementsByClassName(f.cards)[0]:null,r=m?m.getElementsByClassName(f.dotsWrap)[0]:null,k=m?m.getElementsByClassName(f.dots)[0]:null,q=l?parseInt(l.getAttribute("data-count")):0;
111var b=null,e=m?m.getElementsByClassName(f.card):null,g="",t="",u=null,A=null,y=null,B=null,D=!1,z=!1,x=0,v=0;return b={init:function(c,n){rpi.Utils.isVisible(h)?(c&&c(),b.resize(),
112b.actions(),e.length&&b.swipeAutoStart(),n&&n(),rpi.Instances=rpi.Instances||[],rpi.Instances.push(b)):setTimeout(b.init,300)},resize:function(c){let n=p.column.resize(),w=p.column.getCol();c&&l.scrollLeft!=c*b.reviewWidth()&&l.scrollTo(e[c].offsetLeft,0);!e.length||g==n&&t==w||(b.hasDots()&&(b.dotsInit(),b.dotSwipe(c,!0)),g=n,t=w)},actions:function(){d.mousestop&&b.addMouseEvents();window.addEventListener("resize",b.resizeListener);l&&(l.addEventListener("scroll",b.scrollListener,!1),d.wheelscroll&&
113m.addEventListener("wheel",b.wheelListener,!1));var c=h.getElementsByClassName(f.btnPrev)[0];c&&(c.onclick=function(n){b.btnClick(-1)});if(c=h.getElementsByClassName(f.btnNext)[0])c.onclick=function(n){b.btnClick(1)}},resizeListener:function(){var c=v;clearTimeout(u);u=setTimeout(b.resize,150,c)},scrollListener:function(){clearTimeout(A);clearTimeout(y);y=setTimeout(b.scrollEnd,150)},wheelListener:function(c){var n=c.target;if((n=-1<n.className.indexOf(f.text)?n:-1<n.parentNode.className.indexOf(f.text)?
114n.parentNode:null)&&n.scrollHeight>n.clientHeight)return!0;c.preventDefault();x++;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()},mouseLeave:function(){D=0;b.swipeAutoStart()},btnClick:function(c){b.swipeManual(c*
115b.swipePerBtn())},wheelEnd:function(c){b.swipeManual(Math.sign(c.wheelDelta)*x*b.swipeStep());x=0},scrollEnd:function(){v=b.reviewsIdx();z?z=!1:b.loadNextReviews();(!d.mousestop||D)&&d.mousestop||(!d.clickstop||z)&&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"))*b.swipePerDot():b.reviewsIdx():b.reviewsIdx();c=b.getAjaxSize(c);0<
116c&&p.view.loadNextReviews(c)},getAjaxSize:function(c){let n=0;const w=parseInt(l.getAttribute("data-offset")),C=parseInt(d.pagination);if(q>w){let E=c-w;Math.abs(E)<3*b.swipePerDot()?n=C:E&&(n=Math.ceil(c/C)*C-w)}c=w+n-q;return 0<c?n-c:n},dotsInit:function(){if(k){var c=Math.round(q/b.swipePerDot());k.innerHTML="";for(let n=0;n<c;n++){let w=document.createElement("div");w.className=f.dot;w.setAttribute("data-index",n);w.setAttribute("title",n);w.onclick=b.dotClick;k.appendChild(w)}b.dotsPadding()}},
117dotClick:function(){let c=parseInt(this.getAttribute("data-index"));var n=k.getElementsByClassName("active")[0];n=parseInt(n.getAttribute("data-index"));b.swipeManual(Math.abs(c-n)*b.swipePerDot()*Math.sign(c-n))},dotsPadding:function(){let c=r.getBoundingClientRect().height;h.style.paddingBottom=c+"px"},dotSwipe:function(c,n){c=Math.round((void 0!==c?c:b.reviewsIdx())/b.swipePerDot());c=0>c?0:c>=k.childNodes.length?k.childNodes.length-1:c;c=k.querySelector("."+f.dot+'[data-index="'+c+'"]');let w=
118k.getElementsByClassName("active")[0];b.dotActivate(w,c);b.dotScroll(c,n)},dotScroll:function(c,n){let w=Math.round(k.scrollWidth/k.childNodes.length),C=Math.floor(Math.round(k.offsetWidth/w)/2);n?k.scrollTo(c.offsetLeft-C*w,0):k.scrollTo({left:c.offsetLeft-C*w,behavior:"smooth"})},dotActivate:function(c,n){c&&(c.classList.remove("active"),c.classList.remove("s1"),c.previousSibling&&(c.previousSibling.classList.remove("s2"),c.previousSibling.previousSibling&&c.previousSibling.previousSibling.classList.remove("s3")),
119c.nextSibling&&(c.nextSibling.classList.remove("s2"),c.nextSibling.nextSibling&&c.nextSibling.nextSibling.classList.remove("s3")));n&&(n.classList.add("active"),n.classList.add("s1"),n.previousSibling&&(n.previousSibling.classList.add("s2"),n.previousSibling.previousSibling&&n.previousSibling.previousSibling.classList.add("s3")),n.nextSibling&&(n.nextSibling.classList.add("s2"),n.nextSibling.nextSibling&&n.nextSibling.nextSibling.classList.add("s3")))},swipeManual:function(c){z=!0;b.loadNextReviews(c);
120b.scroll(c);d.clickstop&&(b.swipeAutoStop(),b.delMouseEvents())},swipeAuto:function(){if(b.isScrollEnd())b.scroll(-(q-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 n=rpi.Utils.isRTL()?c+b.reviewsPerView()-1:c;n=0>n?0:n>=e.length?e.length-1:n;-1<n&&n<e.length&&(l.scrollTo({left:e[n].offsetLeft,behavior:"smooth"}),b.hasDots()&&b.dotSwipe(c))},swipeAutoStart:function(){d.autoplay&&
121(A=setTimeout(b.swipeAuto,1E3*parseInt(d.speed)))},swipeAutoStop:function(){clearTimeout(A);y&&setTimeout(function(){clearTimeout(y)},100)},isScrollEnd:function(){var c=l.querySelector("."+f.card+":last-child"),n=c.getBoundingClientRect();c=c.parentNode.getBoundingClientRect();return(2>Math.abs(c.left-n.left)||c.left<=n.left)&&n.left<c.right&&(2>Math.abs(c.right-n.right)||c.right>=n.right)&&n.right>c.left},swipeStep:function(){return d.swipe_step||b.reviewsPerView()},swipePerBtn:function(){return d.swipe_per_btn||
122b.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()?-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&&
1230<b.swipePerDot()},setBreakpoints:function(c){p.column.setBreakpoints(c);b.resize()},clear:function(){clearTimeout(u);clearTimeout(A);clearTimeout(y);clearTimeout(B);window.removeEventListener("resize",b.resizeListener);l.removeEventListener("scroll",b.scrollListener);m.removeEventListener("wheel",b.wheelListener)}}};rpi=rpi||{};
124rpi.Temp=function(a,d){const f=a.getAttribute("data-id"),p='<a href="#" class="rpi-url">'+rpi.Utils.__("More reviews",d.trans)+"</a>";
124d.ajax_load?rpi.Utils.ajax(brb_vars.ajaxurl+"?action=brb_widget&id="+f,"POST",function(h){let m="";h.options.rating_temp_on&&(m+="<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>')));
125h.options.review_temp_on&&(m+='<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),
126d.pagination&&(m+=p));a.innerHTML=m;rpi.Temp.core(a,d).init(h)}):rpi.Temp.core(a,d)};
127rpi.Temp.core=function(a,d){var f=null;const p=a.getAttribute("data-id"),h=a.querySelector(".rpi-header"),m=a.querySelector(".rpi-content"),l=rpi.Common(a,d,{time:"rpi-time",text:"rpi-text",readmore:"rpi-readmore"}),r=rpi.View(a,d,{common:l});l.init();var k=a.getElementsByClassName("rpi-url")[0];k&&(k.onclick=function(){const q=parseInt(m.getAttribute("data-offset"));rpi.Utils.ajax(brb_vars.ajaxurl+"?action=brb_get_reviews&id="+p+"&offset="+q+"&size="+d.pagination,"POST",function(b){b.reviews&&f.initReviews(b.reviews);
128m.setAttribute("data-count",b.count);m.setAttribute("data-offset",b.offset);b.offset>=b.count&&rpi.Utils.rm(k)});return!1});return f={init:function(q){h&&q.bizs&&f.initBizs(q.bizs);m&&q.reviews&&f.initReviews(q.reviews)},initBizs:function(q){const b=decodeURIComponent(h.getAttribute("data-temp"));for(let e=0;e<q.length;e++){const g=q[e],t=document.createElement("span");for(t.innerHTML=b.replace("{{scale}}",r.scale(g)).replace("{{name}}",g.name).replace("{{photo}}",r.bizPhoto(g)).replace("{{stars}}",
129r.ratingScore(g,!1)).replace("{{rating}}",g.rating).replace("{{count}}",g.review_count).replace("{{reviews_url}}",r.allReviewsUrl(g)).replace("{{writereview_url}}",r.writeReviewUrl(g));t.firstChild;)h.appendChild(t.firstChild)}},initReviews:function(q){const b=decodeURIComponent(m.getAttribute("data-temp"));for(let e=0;e<q.length;e++){const g=q[e],t=document.createElement("span");for(t.innerHTML=b.replace("{{review_photo}}",r.reviewAvatar(g)).replace("{{review_provider}}",g.provider).replace("{{review_logo}}",
130r.logo(g.provider)).replace("{{review_url}}",g.author_url).replace("{{review_name}}",g.author_name).replace("{{review_name_url}}",g.author_url).replace("{{review_time}}",r.reviewTime(g)).replace("{{review_rating}}",g.rating).replace("{{review_stars}}",rpi.View.stars(g.rating,g.provider)).replace("{{review_text}}",g.text||"").replace("{{review_reply}}",g.reply||"").replace("{{review_media}}",g.media||"");t.firstChild;)1===t.firstChild.nodeType&&l.initOnce(t.firstChild),m.appendChild(t.firstChild)}}}};
131var 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],m=JSON.parse(h.getAttribute("data-opts"));var l=null;return l={init:function(){let r=a.querySelector(".rpi-stars[data-reviewus]");r&&(l.starsInit(r),r.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="+
132k,800,600)});0<m.tag_popup&&setTimeout(function(){p.className+=" rpi-pop-up"},1E3*m.tag_popup);if("sidebar"==m.tag_click){let k=a.getElementsByClassName("rpi-sb")[0];k||(k=document.createElement("div"),k.className="rpi-sb",k.setAttribute("data-layout",m.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(q){rpi.View.widthAnim(k,
133368,300)};h.onclick=function(q){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="+m.tag_sidebar,"POST",function(e){b.innerHTML=e.data;RichPlugins.init(b.querySelector('.rpi[data-exec=""]'))})}}console.log("RichPlugins Tag initialized")},starsInit:function(r){}}},Flash:function(a,d){return This={init:function(){rpi.Flash(a,d)}}},Badge:function(a,d){return This={init:function(){rpi.Badge(a,
134d)}}},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}),m=a.querySelector(".rpi-content .rpi-cards");var l=null;return l={init:function(){f.init();p.init();h.init();l.actions();console.log("RichPlugins List initialized")},actions:function(){var r=a.getElementsByClassName("rpi-url")[0];r&&(r.onclick=
135function(){h.loadNextReviews(d.pagination,function(){let k=parseInt(m.getAttribute("data-count"));parseInt(m.getAttribute("data-offset"))>=k&&rpi.Utils.rm(r)});return!1})}}},Slider: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});d=a.getElementsByClassName("rpi-cnt")[0];d=JSON.parse(d.getAttribute("data-opts"));const m=rpi.Slider(a,d,{cnt:"rpi-cnt",col:"rpi-col",
136content:"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"}
136,{view:h,column:p});return{init:function(){m.init(function(){f.init()},function(){h.init();console.log("RichPlugins slider initialized")})}}},init: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]&&
137RichPlugins[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.