// source --> https://radsport-reyhle.de/wp-content/plugins/business-reviews-bundle/assets/1.9.140/js/public-main.js 
var rpi=rpi||{};
rpi.Time={getTime:function(a,e,g){return"chat"==g?this.getChatTime(a,e||"en"):g?this.getFormatTime(a,g,e||"en"):this.getDefaultTime(a,e||"en")},getChatTime:function(a,e){var g=((new Date).getTime()-a)/1E3/60/60,n=g/24;return 24>g?this.getFormatTime(a,"HH:mm",e):365>n?this.getFormatTime(a,"dd.MM HH:mm",e):this.getFormatTime(a,"yyyy.MM.dd HH:mm",e)},getDefaultTime:function(a,e){return this.getTimeAgo(a,e)},getTimeAgo:function(a,e){a=parseInt(a)*(1E10>a?1E3:1);a=((new Date).getTime()-a)/1E3;var g=a/
60,n=g/60,h=n/24,q=h/365;e=rpi.Time.Messages[e]?e:"en";return 45>a?rpi.Time.Messages[e].second:90>a?rpi.Time.Messages[e].minute:45>g?rpi.Time.Messages[e].minutes(g):90>g?rpi.Time.Messages[e].hour:24>n?rpi.Time.Messages[e].hours(n):48>n?rpi.Time.Messages[e].day:30>h?rpi.Time.Messages[e].days(h):60>h?rpi.Time.Messages[e].month:365>h?rpi.Time.Messages[e].months(h):2>q?rpi.Time.Messages[e].year:rpi.Time.Messages[e].years(q)},getTime12:function(a,e){a=new Date(a);return(a.getHours()%12?a.getHours()%12:
12)+":"+a.getMinutes()+(12<=a.getHours()?" PM":" AM")},getFormatTime:function(a,e,g){var n=new Date(a),h={SS:n.getMilliseconds(),ss:n.getSeconds(),mm:n.getMinutes(),HH:n.getHours(),hh:(n.getHours()%12?n.getHours()%12:12)+(12<=n.getHours()?"PM":"AM"),dd:n.getDate(),MM:n.getMonth()+1,yyyy:n.getFullYear(),yy:String(n.getFullYear()).toString().substr(2,2),ago:this.getTimeAgo(a,g),12:this.getTime12(a,g)};return e.replace(/(SS|ss|mm|HH|hh|DD|dd|MM|yyyy|yy|ago|12)/g,function(q,r){q=h[r];return 10>q?"0"+
q:q})},declineNum:function(a,e,g,n){return a+" "+this.declineMsg(a,e,g,n)},declineMsg:function(a,e,g,n,h){var q=a%10;return 1==q&&(1==a||20<a)?e:1<q&&5>q&&(20<a||10>a)?g:a?n:h}};
rpi.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),
"\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",
months: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",
"\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",
minutes: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",
"\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",
"\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),
"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),
"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",
"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")},
hour:"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\u0117nes\u012f prie\u0161","m\u0117nesiai prie\u0161","m\u0117nesi\u0173 prie\u0161")},
year:"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",
"\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",
days: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",
years: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",
"\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",
"\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",
"\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")},
hour:"\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")},
month:"\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",
"\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",
minutes: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",
minute:"\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",
months: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 "+
Math.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",
"\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),
"\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",
years: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),
"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)+
" 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/
30)+" 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)+
" \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)+" jaar geleden"}},ca:{second:"ara mateix",minute:"fa un minut",minutes:function(a){return"fa "+
Math.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",
days: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",
months: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"},
year:"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"},
year:"\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)+
" 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",
months: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 "+
Math.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/
30)+" \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"},
month:"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",
hours: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",
years: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"}},
et:{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)+
"\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)+"\u30f6\u6708\u524d"},year:"1\u5e74\u524d",years:function(a){return Math.round(a)+"\u5e74\u524d"}}};rpi=rpi||{};
rpi.Utils={__:function(a,e){return e&&e[a]||a},isVisible:function(a){let e=window.getComputedStyle(a);return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)&&"hidden"!==e.visibility&&"none"!==e.display},isInViewport:function(a,e=0){a=a.getBoundingClientRect();return a.top<window.innerHeight*(1+e)&&a.bottom>-window.innerHeight*e&&a.left<window.innerWidth*(1+e)&&a.right>-window.innerWidth*e},isRTL:function(){return"rtl"==(window.getComputedStyle?window.getComputedStyle(document.body,null).getPropertyValue("direction"):
document.body.currentStyle.direction)},getParent:function(a,e){e=e||"rplg";if(0>a.className.split(" ").indexOf(e))for(;(a=a.parentElement)&&0>a.className.split(" ").indexOf(e););return a},lang:function(){var a=navigator;return(a.language||a.systemLanguage||a.userLanguage||"en").substr(0,2).toLowerCase()},popup:function(a,e,g){var n=document.documentElement;a=window.open(a,"","scrollbars=yes, width="+e+", height="+g+", top="+((window.innerHeight?window.innerHeight:n.clientHeight?n.clientHeight:screen.height)/
2-g/2+(void 0!=window.screenTop?window.screenTop:window.screenY))+", left="+((window.innerWidth?window.innerWidth:n.clientWidth?n.clientWidth:screen.width)/2-e/2+(void 0!=window.screenLeft?window.screenLeft:window.screenX)));window.focus&&a.focus();return a},ajax:function(a,e,g,n){const h=new XMLHttpRequest;h.open(e,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);
"function"===typeof n?n(q):"function"===typeof g&&g(q)}};h.send(g&&"function"!==typeof g?JSON.stringify(g):null)},anchor:function(a,e,g,n,h){const q=[];g.open_link&&q.push("noopener");g.nofollow_link&&q.push("nofollow");return'<a href="'+a+'"'+(n?' class="'+n+'"':"")+(g.open_link?' target="_blank"':"")+(q.length?' rel="'+q.join(" ")+'"':"")+(h?' aria-label="'+h+'"':"")+">"+e+"</a>"},rm:function(a){a&&a.parentNode&&a.parentNode.removeChild(a)},capit:function(a){return a.charAt(0).toUpperCase()+a.slice(1)},
url:function(a){try{return(new URL(a,window.location.origin)).href}catch(e){return""}},clear:function(){this.rm(document.getElementById("rpi-style"));if(rpi.Instances)for(;rpi.Instances.length;)rpi.Instances.pop().clear()}};rpi=rpi||{};
rpi.Column=function(a,e,g){const n=a.getAttribute("data-id"),h=new RegExp(g.col+"-[xsml]+"),q=new RegExp('$|(\\[data-id="'+n+'"\\]\\s+.'+g.card+"\\s*{\\s*--col:\\s*\\d+\\s*!important\\s*;?(\\s*--gap:\\s*\\d+\\s*!important;?)?})"),r=a.getElementsByClassName(g.cnt)[0];var u=null;return u={init:function(k,t){rpi.Utils.isVisible(r)?(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=
u.getSize();r.className=r.className.replace(h,g.col+"-"+k);if(e.breakpoints){let t=r.offsetWidth,b=e.breakpoints.split(",");b.sort(u.brsort);for(let d=0;d<b.length;d++){let f=b[d].split(":");if(t<parseInt(f[0])){u.setCol(f[1]);break}}}return k},getSize:function(){let k=r.offsetWidth;return 510>k?"xs":750>k?"x":1050>k?"s":1450>k?"m":1800>k?"l":"xl"},setCol:function(k){const t=this.getStyle();t.innerHTML=t.innerHTML.replace(q,(n?'[data-id="'+n+'"] ':"")+"."+g.card+"{--col:"+k+"!important;--gap:"+(k-
1)+"!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){e.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||{};rpi.AVA="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";
rpi.Common=function(a,e,g){var n=null;return n={init:function(){var h=a.getElementsByClassName(g.time);let q=a.getElementsByClassName(g.text);if(!e.time_format)for(var r=0;r<h.length;r++)h[r].innerHTML=rpi.Time.getTimeAgo(h[r].dataset.time,rpi.Utils.lang());for(h=0;h<q.length;h++)(r=q[h])&&r.innerHTML&&(r.innerHTML=n.trimtext(r.innerHTML),r=r.getElementsByClassName(g.readmore)[0])&&(r.onclick=n.opentext)},initOnce:function(h){var q=h.getElementsByClassName(g.time)[0];h=h.getElementsByClassName(g.text)[0];
q&&!e.time_format&&(q.innerHTML=rpi.Time.getTimeAgo(q.dataset.time,rpi.Utils.lang()));h&&h.innerHTML&&(h.innerHTML=n.trimtext(h.innerHTML),q=h.getElementsByClassName(g.readmore)[0])&&(q.onclick=n.opentext)},time:function(h){return e.time_format?h:rpi.Time.getTimeAgo(h,rpi.Utils.lang())},trimtext:function(h,q){var r=parseInt(e.text_size);if(h&&r&&h.length>r){h=Array.from(h);let u=h.slice(0,r).join("").indexOf(" ")+1;if(1>u||r-u>r/2)u=h.length>r?r:h.length;let k=r="";0<u&&(r=h.slice(0,u-1).join(""),
k=h.slice(u-1).join(""));return r+(!q&&k?'<span class="rpi-s">... </span><input type="hidden" value="'+encodeURIComponent(k)+'"></input><span class="'+g.readmore+'">'+rpi.Utils.__("read more",e.trans)+"</span>":"")}return h},opentext:function(){let h=this.parentNode,q=this.previousSibling,r=this.previousSibling.previousSibling,u=decodeURIComponent(q.value);rpi.Utils.rm(q);rpi.Utils.rm(r);rpi.Utils.rm(this);h.innerHTML+=u}}};rpi=rpi||{};
rpi.View=function(a,e,g){const n=a.getAttribute("data-id");a.getElementsByClassName("rpi-cnt");const h=a.getElementsByClassName("rpi-header")[0],q=a.getElementsByClassName(g&&g.names&&g.names.content||"rpi-content")[0],r=q?q.getElementsByClassName(g&&g.names&&g.names.cards||"rpi-cards")[0]:null,u=a.getElementsByClassName("rpi-url")[0],k=rpi.Media(a);var t=null;return t={boot:function(){g.cb&&g.cb.pre&&g.cb.pre();rpi.Utils.ajax(t.getAjaxUrl(e.v2?"rpi_reviews":"brb_widget"),"POST",function(b){r.setAttribute("data-offset",
b.offset);r.setAttribute("data-count",b.count);b.bizs&&t.addBusiness(b.bizs[0],b.options);t.addReviews(b,[],function(d){t.initStyle();g.cb&&g.cb.post&&g.cb.post()})});t.initPagin()},init:function(){k.init();t.initStyle();t.initPagin()},initPagin:function(){u&&(u.onclick=function(){u.disabled=!0;t.loadNextReviews(e.pagination,function(b){t.delPaginBtn();g.cbp&&g.cbp(b);u.disabled=!1});return!1})},loadNextReviews:function(b,d){if(0<b){const f=[];b=parseInt(b);t.preloadReviews(f,b);t.loadAjaxReviews(f,
b,d)}},preloadReviews:function(b,d){var f=parseInt(r.getAttribute("data-offset")),p=parseInt(r.getAttribute("data-count"));d=p-f>d?d:p-f;f=r.getElementsByClassName(g&&g.names&&g.names.card||"rpi-card");if(f.length){p=f.length-1;for(let m=0;m<d;m++){let v=f[Math.round(Math.random()*p)].cloneNode(!0);v.style="filter: blur(4px);";r.appendChild(v);b.push(v)}}},loadAjaxReviews:function(b,d,f){rpi.Utils.ajax(t.getAjaxUrl(e.v2?"rpi_reviews":"brb_get_reviews",d),"POST",function(p){r.setAttribute("data-offset",
p.offset);r.setAttribute("data-count",p.count);t.addReviews(p,b,f)})},getAjaxUrl:function(b,d){const f=parseInt(r.getAttribute("data-offset"));b=brb_vars.ajaxurl+"?action="+b+"&id="+n+"&offset="+f+"&size="+(d||e.pagination);g.filter&&(d=g.filter,d.bid&&(b+="&bid="+d.bid),d.provider&&(b+="&provider="+d.provider));return b},addBusiness:function(b,d){const f=h.getElementsByClassName("rpi-cards")[0];b=t.createRating(b,d);f.appendChild(b)},createRating:function(b,d){const f=document.createElement("div");
f.className="rpi-card";f.setAttribute("data-provider",b.provider);f.appendChild(t.ratingInner(b,d));return f},ratingInner:function(b,d){const f=document.createElement("div");f.className="rpi-card-inner rpi-flexwrap rpi-logo rpi-logo-"+b.provider;const p=document.createElement("div");p.className="rpi-flex";const m=document.createElement("div");m.className="rpi-img-wrap";m.appendChild(t.bizPhoto(b));const v=document.createElement("div");v.className="rpi-info";const x=document.createElement("a");x.className=
"rpi-name";x.href=b.url;x.textContent=b.name;v.appendChild(x);v.appendChild(rpi.View.stars(b.rating,b.provider,!0));p.appendChild(m);p.appendChild(v);f.appendChild(p);d.header_hide_seeall&&d.header_hide_write||f.appendChild(t.ratingBtns(b,d));return f},scale:function(b){return 4.2<b.rating?rpi.Utils.__("Excellent",e.trans):3.7<b.rating?rpi.Utils.__("Great",e.trans):2.7<b.rating?rpi.Utils.__("Good",e.trans):1.7<b.rating?rpi.Utils.__("Fair",e.trans):rpi.Utils.__("Poor",e.trans)},bizPhoto:function(b,
d=""){const f=document.createElement("img");f.className="rpi-img";f.loading="lazy";f.alt=d;b.photo&&(f.src=b.photo);return f},ratingBtns:function(b,d){const f=document.createElement("div");f.className="rpi-slider-btn";if(!d.header_hide_seeall){var p=document.createElement("div");p.className="rpi-review_us rpi-clickable";const m=document.createElement("a");m.target="_blank";m.rel="noopener";m.href=t.allReviewsUrl(b);m.textContent=rpi.Utils.__("See all reviews",e.trans);p.appendChild(m);f.appendChild(p)}if(!d.header_hide_write){d=
document.createElement("div");d.className="rpi-review_us rpi-clickable";const m=t.writeReviewUrl(b);p=document.createElement("a");p.target="_blank";p.rel="noopener";p.classList.add("rpi-logo_after","rpi-logo-"+b.provider);p.href=m;p.textContent=rpi.Utils.__("review us on",e.trans);p.addEventListener("click",function(v){v.preventDefault();rpi.Utils.popup(m,800,600)});d.appendChild(p);f.appendChild(d)}return f},allReviewsUrl:function(b){if(b.wr){let d=b.wr.split(":");b.id=d[1];b.provider=d[0]}switch(b.provider){case "google":return rpi.Utils.url("https://search.google.com/local/reviews?placeid="+
b.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 d=b.wr.split(":");b.id=d[1];b.provider=d[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,
d,f){let p=b.reviews.length;a.getAttribute("data-opts")&&(e=JSON.parse(a.getAttribute("data-opts")));for(let m=0;m<p;m++){let v;g&&g.cb&&g.cb.createCard?v=g.cb.createCard(d.shift(),b.reviews[m]):(v=t.createCard(d.shift(),b.reviews[m]),g.common.initOnce(v),t.initReviewStyle(v,e),t.initLogoStyle(v,e.style_logo));d.length||r.appendChild(v)}for(;d.length;)rpi.Utils.rm(d.shift());k.init();t.delPaginBtn();f&&f(b)},createCard:function(b,d){b||(b=document.createElement("div"),b.className="rpi-card");b.setAttribute("data-rat",
d.rating);b.setAttribute("data-provider",d.provider);b.textContent="";b.appendChild(t.reviewInner(d));b.style="";return b},reviewInner:function(b){const d=b.reply?b.reply.text||b.reply:null,f=document.createElement("div");f.className="rpi-card-inner";var p=document.createElement("i");f.appendChild(p);p=document.createElement("div");p.className="rpi-flex";e.hide_avatar||p.appendChild(t.reviewAvatar(b));var m=document.createElement("div");m.className="rpi-info";e.hide_name||m.appendChild(t.reviewName(b));
e.disable_review_time||m.appendChild(t.reviewTime(b));m.appendChild(rpi.View.stars(b.rating,b.provider));p.appendChild(m);f.appendChild(p);p=document.createElement("div");p.className="rpi-body";m=document.createElement("div");m.className="rpi-text rpi-scroll";m.tabIndex=0;m.textContent=(b.text??"")+" ";p.appendChild(m);if(b.media&&b.media.length){const v=document.createElement("div");v.className="rpi-media";t.reviewMedia(b).forEach(function(x){v.appendChild(x)});p.appendChild(v)}d&&(b=document.createElement("div"),
b.className="rpi-reply rpi-scroll",m=document.createElement("b"),m.textContent=rpi.Utils.__("Response from the owner",e.trans)+":",b.appendChild(m),b.appendChild(document.createTextNode(" "+d)),p.appendChild(b));f.appendChild(p);return f},reviewTime:function(b){const d=document.createElement("div");d.className="rpi-time";b.time&&(d.dataset.time=String(b.time));return d},reviewName:function(b){const d=rpi.Utils.capit(b.provider)+" user",f=b.author_name?b.author_name:d;if(b.author_url&&!e.disable_user_link){const p=
document.createElement("a");p.className="rpi-name";p.target="_blank";p.rel="noopener";p.href=rpi.Utils.url(b.author_url);p.textContent=f;p.setAttribute("aria-label",d+" profile");return p}b=document.createElement("div");b.className="rpi-name";b.textContent=f;return b},reviewAvatar:function(b){let d=b.author_avatar;var f=a.style.getPropertyValue("--img-size");f=f?f.replace("px",""):e.reviewer_avatar_size||56;const p=e.hide_name&&b.author_name?b.author_name:"";switch(b.provider){case "google":(b=d&&
d.match(/googleusercontent\.com\/([^\/]+)\/([^\/]+)\/([^\/]+)\/([^\/]+)\/photo\.jpg/))&&4<b.length&&"AAAAAAAAAAA"===b[3][0]&&(d=d.replace("/photo.jpg","/s128-c0x00000000-cc-rp-mo/photo.jpg"));d&&=/=.*s\d{2,3}/.test(d)?d.replace(/(=.*)s\d{2,3}/,"$1s"+f):-1<d.indexOf("-mo")?d.replace("-mo","-mo-s"+f):d.replace("-rp","-rp-s"+f);break;case "yelp":d&&=d.replace(/(ms)|(o)\.jpg/,128>=f?"ms":"o")}b=document.createElement("div");b.className="rpi-img-wrap";const m=document.createElement("img");m.className=
"rpi-img";m.width=f;m.height=f;m.alt=p;e.lazy_load_img&&(m.loading="lazy");d&&(m.src=d);m.addEventListener("error",function(){this.src!==brb_vars.gavatar&&(this.src=brb_vars.gavatar)});b.appendChild(m);return b},reviewMedia:function(b){const d=[];var f=a.style.getPropertyValue("--media-lines");f=22*(f?f:2);if(!b.media||!b.media.length)return d;for(let p=0;p<b.media.length;p++){let m=b.media[p].thumbnailUrl||"";m&&=m.replace(/(=.*)s\d{2,3}/,"$1s"+f);const v=document.createElement("img");v.className=
"rpi-thumb rpi-clickable";v.loading="lazy";v.alt="";m&&(v.src=m);d.push(v)}return d},reviewReply:function(b,d){let f=b.getElementsByClassName("rpi-reply")[0];f||(f=document.createElement("div"),f.className="rpi-reply rpi-scroll",b.getElementsByClassName("rpi-body")[0].appendChild(f));f.innerHTML="<b>"+rpi.Utils.__("Response from the owner",e.trans)+":</b> "+d},initStyle:function(){var b=a.getAttribute("data-opts");b&&(e=JSON.parse(b));if(h){b=h.getElementsByClassName("rpi-card");for(var d=0;d<b.length;d++)this.initLogoStyle(b[d],
e.head_logo),this.initYelpBasedLogo(b[d],e.head_logo)}if(q){b=r.getElementsByClassName("rpi-card");for(d=0;d<b.length;d++)this.initReviewStyle(b[d],e);this.initCtrlStyle(e);b=q.getElementsByClassName("rpi-card");for(d=0;d<b.length;d++)this.initLogoStyle(b[d],e.style_logo)}},initYelpBasedLogo:function(b,d){5==d&&(b=b.getElementsByClassName("rpi-logo-yelp")[0])&&!b.textContent&&(b.classList.remove("rpi-logo"),b.classList.add("rpi-logo_after"))},initReviewStyle:function(b,d){let f=b.getElementsByClassName("rpi-card-inner")[0],
p=b.getElementsByClassName("rpi-triangle")[0],m=b.getElementsByClassName("rpi-flex")[0],v=b.getElementsByClassName("rpi-img-wrap")[0],x=b.getElementsByClassName("rpi-info")[0],C=b.getElementsByClassName("rpi-time")[0],D=b.getElementsByClassName("rpi-name")[0],A=b.querySelector('[class^="rpi-star"]'),z=b.getElementsByClassName("rpi-body")[0],w=b.getElementsByClassName("rpi-text")[0],c=b.getElementsByClassName("rpi-reply")[0];D&&x.appendChild(D);C&&x.appendChild(C);A&&x.appendChild(A);b.className="rpi-card";
f.className="rpi-card-inner";m.className="rpi-flex";z.className="rpi-body";p&&(p.className="rpi-triangle");switch(d.style_style){case "1":case "7":f.appendChild(m);z&&f.appendChild(z);z.className+=" rpi-normal-up__body";break;case "2":case "8":z&&f.appendChild(z);f.appendChild(m);z.className+=" rpi-normal-down__body";break;case "3":p||(p=document.createElement("i"),f.appendChild(p));b.appendChild(m);b.appendChild(f);z&&f.appendChild(z);p.className="rpi-triangle rpi-triangle_up";m.className+=" rpi-bubble__flex rpi-bubble__flex_up";
"none"!=this.getCssVar("--card-br")&&(p.className+=" rpi-triangle__br_up",f.className+=" rpi-bubble__inner rpi-bubble__inner_up");break;case "4":p||(p=document.createElement("i"),f.appendChild(p));b.appendChild(f);b.appendChild(m);z&&f.appendChild(z);p.className="rpi-triangle rpi-triangle_down";m.className+=" rpi-bubble__flex rpi-bubble__flex_down";"none"!=this.getCssVar("--card-br")&&(p.className+=" rpi-triangle__br_down",f.className+=" rpi-bubble__inner rpi-bubble__inner_down");break;case "5":f.appendChild(m);
m.appendChild(x);z&&x.appendChild(z);m.className+=" rpi-shift-up__flex";break;case "6":f.appendChild(m),m.appendChild(x),z&&x.prepend(z),m.className+=" rpi-shift-down__flex"}switch(d.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(d.style_stars){case "1":C?(x.insertBefore(A,C),x.insertBefore(C,A)):D?(x.insertBefore(A,D),x.insertBefore(D,A)):x.appendChild(A);break;case "2":C?x.insertBefore(A,C):x.appendChild(A);
break;case "3":D?x.insertBefore(A,D):C?x.insertBefore(A,C):x.prepend(A);break;case "4":z?z.prepend(A):f.appendChild(A);break;case "5":w?w.prepend(A):z.appendChild(A);break;case "6":z?z.appendChild(A):f.appendChild(A)}if(v)switch(d.style_ava){case "1":m.appendChild(v);m.appendChild(x);break;case "2":m.appendChild(x),m.appendChild(v)}},initCtrlStyle:function(b){let d=q.getElementsByClassName("rpi-controls")[0];if(d)switch(d.className="rpi-controls",b.style_style){case "3":d.className+=" rpi-bubble-up__ctrl";
break;case "4":d.className+=" rpi-bubble-down__ctrl"}},initLogoStyle:function(b,d){let f=b.getElementsByClassName("rpi-card-inner")[0],p=b.getAttribute("data-provider"),m=p.split(",");1<m.length?this.initLogoMultiple(b,f,m,d):this.initLogoSingle(b,f,p,d)},initLogoSingle:function(b,d,f,p){let m=b.getElementsByClassName("rpi-logo")[0];var v=["rpi-logo","rpi-logo-"+f];m&&m.classList.remove(...v);switch(p){case "1":case "6":f=b.getElementsByClassName("rpi-body")[0];"6"==p&&v.push("rpi-logo-left");d.classList.contains("rpi-bubble__inner")&&
f?f.classList.add(...v):d.classList.add(...v);break;case "2":(d=b.getElementsByClassName("rpi-name")[0])&&d.classList.add(...v);break;case "3":(v=b.getElementsByClassName("rpi-img-wrap")[0])&&v.classList.add(...["rpi-logo_after","rpi-logo-"+f]);break;case "4":d=b.querySelector('[class^="rpi-star"]');m||=document.createElement("span");m.classList.add(...v);d.replaceWith(m);m.appendChild(d);break;case "5":if(d=b.getElementsByClassName("rpi-based")[0])f=d.textContent.trim().match(/\d+/)[0],d.textContent=
d.textContent.replace(f,f+" "),f=document.createElement("span"),f.className=v.join(" "),d.appendChild(f)}},initLogoMultiple:function(b,d,f,p){let m=b.getElementsByClassName("rpi-logos")[0];m||=this.createLogos(f);switch(p){case "0":rpi.Utils.rm(m);break;case "1":d.prepend(m);break;case "2":(b=b.getElementsByClassName("rpi-name")[0])&&b.prepend(m);break;case "4":d=b.getElementsByClassName("rpi-info")[0];f=b.getElementsByClassName("rpi-based")[0];b=b.querySelector('[class^="rpi-star"]');m.appendChild(b);
f?d.insertBefore(m,f):d.appendChild(m);break;case "5":if(b=b.getElementsByClassName("rpi-based")[0])d=b.textContent.trim().match(/\d+/)[0],b.textContent=b.textContent.replace(d,d+" "),b.appendChild(m)}},createLogos:function(b){let d=document.createElement("span");d.className="rpi-logos";for(let f=0;f<b.length;f++)d.appendChild(t.logo(b[f]));return d},logo:function(b){const d=document.createElement("span");d.className="rpi-logo rpi-logo-"+b;return d},getCssVar:function(b){return a.style.getPropertyValue(b)},
delPaginBtn:function(){if(u){const b=parseInt(r.getAttribute("data-offset")),d=parseInt(r.getAttribute("data-count"));b>=d&&rpi.Utils.rm(u)}}}};
rpi.View.stars=function(a,e,g=!1){const n=document.createElement("span");switch(e){case "facebook":g?(n.className="rpi-stars",n.style.setProperty("--rating",a),n.textContent=a):(n.className="rpi-star-fb",n.dataset.rating=a,n.textContent=(2>a?"doesn't ":"")+"recommends");break;case "yelp":case "tripadvisor":n.className="rpi-stars-"+e;n.dataset.stars=Math.floor(2*a)/2;g&&n.append(a);for(a=0;5>a;a++)n.append(document.createElement("i"));break;default:n.className="rpi-stars",n.style.setProperty("--rating",
a),g&&(n.textContent=a)}return n};rpi.View.starRating=function(a){const e=document.createElement("span");e.className="rpi-star";e.dataset.rating=String(a);return e};rpi.View.widthAnim=function(a,e,g){const n=a.style,h=e+"px";"none"==n.display?(n.display="block",setTimeout(function(){n.opacity=0<n.opacity?0:1;n.width=n.width!=h?h:0},10)):(n.opacity=0<n.opacity?0:1,n.width=n.width!=h?h:0,setTimeout(function(){n.display="none"},g))};rpi=rpi||{};
rpi.Media=function(a,e,{root:g="rpi",card:n="rpi-card"}={}){let h,q=null,r=null;return r={init:function(){q=a.getElementsByClassName("rpi-thumb");for(let u=0;u<q.length;u++)q[u].setAttribute("data-idx",u),function(k,t){k.onclick=function(){r.show(k,t);return!1}}(q[u],u)},clicks:function(u){u=u.getElementsByClassName("rpi-thumb");for(let k=0;k<u.length;k++)(function(t,b){t.onclick=function(){let d=parseInt(t.getAttribute("data-idx"));r.show(q[d],d);return!1}})(u[k],k)},show:function(u,k){if(!(0>k||
k>=q.length)){var t=u.src.replace(/=s[0-9]{1,3}/g,"=s500");u=rpi.Utils.getParent(u,n).outerHTML;if(h){let b=h.querySelector(".rpi-lightbox-media img"),d=h.querySelector(".rpi-lightbox-review"),f=h.querySelector(".rpi-lightbox-prev");next=h.querySelector(".rpi-lightbox-next");b.src=t;d.innerHTML!==u&&(d.innerHTML=u,r.clicks(d));f.onclick=function(p){r.show(q[k-1],k-1)};next.onclick=function(p){r.show(q[k+1],k+1)}}else h=document.createElement("div"),h.className="rpi-lightbox",h.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="'+g+' rpi-lightbox-review">'+u+"</div></div></div></div>",t=h.querySelector(".rpi-x"),u=h.querySelector(".rpi-lightbox-prev"),next=h.querySelector(".rpi-lightbox-next"),t.onclick=function(){h.style.display="none"},h.onclick=function(b){h==b.target&&(h.style.display="none")},u.onclick=function(b){r.show(q[k-1],k-1)},next.onclick=function(b){r.show(q[k+1],k+1)},r.clicks(h),document.body.appendChild(h);h.style.display=
"flex"}}}};rpi=rpi||{};
rpi.Flash=function(a,e){var g=a.getAttribute("data-id");if(!sessionStorage.getItem("rpi_flash_"+g)){var n='<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",e.trans)+
'</a></div></div></div><div class="rpi-x"></div></div></div></div>';e.ajax_load?rpi.Utils.ajax(brb_vars.ajaxurl+"?action=brb_widget&id="+g,"POST",function(h){a.innerHTML=n.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,e,h.options).init(h)}):(g=a.getElementsByClassName("rpi-flash")[0],g=JSON.parse(g.getAttribute("data-opts")),
rpi.Flash.core(a,e,g).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>';
rpi.Flash.core=function(a,e,g){const n="rpi_flash_"+a.getAttribute("data-id"),h=a.getElementsByClassName("rpi-flash")[0],q=a.getElementsByClassName("rpi-flash-content")[0],r=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=[],d=function(c){for(let l=0;l<c.reviews.length;l++)b.push(c.reviews[l])},f=rpi.Common(a,e,{time:"rpi-time",text:"rpi-text",readmore:"rpi-readmore"}),
p=rpi.View(a,e,{common:f,cbp:d});let m=0,v=!1,x=!1,C=1E3*(g.flash_start||3),D=1E3*(g.flash_visible||5),A=1E3*(g.flash_invisible||5),z=null;var w=null;return w={init:function(c){c?p.addReviews(c,[],function(l){p.init();w.init2()}):(f.init(),p.init(),w.init2())},init2:function(){w.fillReviews();r.onclick=w.hide;k.onclick=w.showReview;document.body.appendChild(a);setTimeout(w.showStory,C)},fillReviews:function(){let c=a.getElementsByClassName("rpi-card");for(let y=0;y<c.length;y++){let B=c[y].getAttribute("data-rat");
var l="";g.disable_review_time||(l=c[y].getElementsByClassName("rpi-time")[0],l=e.time_format?l.textContent:l.dataset.time);let E=c[y].getElementsByClassName("rpi-name"),F=c[y].getElementsByClassName("rpi-text");b.push({rating:B,text:F.length&&F[0].firstChild?F[0].firstChild.nodeValue:"",time:l,author_avatar:g.hide_avatar?"":c[y].querySelector("img.rpi-img").getAttribute("src"),author_name:g.hide_name?"":E.length?E[0].textContent:"",author_url:g.hide_name?"":E.length?E[0].href:"",provider:c[y].getAttribute("data-provider")})}},
showStory:function(){if(!x&&!v)if(w.nextStory(a,k,m,b),q.className="rpi-flash-content rpi-flash-visible",m+1<b.length)m+=1;else{const c=parseInt(t.getAttribute("data-count")),l=parseInt(t.getAttribute("data-offset"));c>l?(p.loadNextReviews(e.pagination,d),m+=1):m=0}v=!1;z=setTimeout(function(){var c;if(c=!x)c=q.parentElement.querySelector(":hover")!==q;c&&!v&&(q.className="rpi-flash-content");z=setTimeout(w.showStory,A)},D)},showReview:function(){x=!0;let c=parseInt(k.getAttribute("data-idx")),l=
u.querySelector(".rpi-flash-form .rpi-card:nth-child("+c+")");l.className="rpi-card rpi-highlight";setTimeout(function(){l.scrollIntoView({behavior:"smooth",block:"center"})},300);u.className="rpi-flash-card rpi-flash-expanded";q.className="rpi-flash-content rpi-flash-visible";r.className="rpi-x rpi-xa";r.onclick=function(){l.className="rpi-card";u.className="rpi-flash-card";r.className="rpi-x";x=!1;v=!0;r.onclick=w.hide}},hide:function(){let c=JSON.parse(sessionStorage.getItem(n)||"{}");c.hide=!0;
sessionStorage.setItem(n,JSON.stringify(c));clearTimeout(z);q.className="rpi-flash-content"},nextStory:function(c,l,y,B){c=B[y];u.style.height="auto";h.style.setProperty("--flash-height","auto");if(l.firstChild){B=l.getElementsByClassName("rpi-flash-img");const E=l.getElementsByClassName("rpi-flash-head"),F=l.getElementsByClassName("rpi-flash-body"),G=l.getElementsByClassName("rpi-flash-footer");g.flash_user_photo&&B.length&&(B[0].innerHTML=w.img(c));E.length&&(E[0].innerHTML=w.head(c));F.length&&
(F[0].innerHTML=w.body(c));G.length&&(G[0].innerHTML=w.footer(c));l.setAttribute("data-idx",y+1)}else l.innerHTML=w.createStory(y,B);l.dataset.provider=c.provider;setTimeout(function(){h.style.setProperty("--flash-height",l.offsetHeight+"px");u.style.height=""},1)},createStory:function(c,l){c=l[c];return(g.flash_hide_logo&&!g.flash_user_photo?"":'<div class="rpi-flash-img">'+w.img(c)+"</div>")+'<div class="rpi-info"><div class="rpi-flash-head">'+w.head(c)+'</div><div class="rpi-flash-body">'+w.body(c)+
'</div><div class="rpi-flash-footer">'+w.footer(c)+"</div></div>"},img:function(c){return g.flash_user_photo?w.photoImg(c,44,44):rpi.Flash.LOGO},head:function(c){return g.flash_head?w.temp(c,g.flash_head):w.photo(c,16,16)+(g.hide_name?"":w.name(c))+"<span> "+g.text.m1.replace("%s",w.star(c))+"</span>"},body:function(c){return g.flash_body?w.temp(c,g.flash_body):rpi.View.stars(c.rating,c.provider).outerHTML+g.text.m2+w.provider(c)},footer:function(c){return g.flash_footer?w.temp(c,g.flash_footer):
g.disable_review_time?"":f.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" data-rating="'+c.rating+'"></span>'},provider:function(c){return'<span class="rpi-logo rpi-logo-'+c.provider+'"></span>'},photo:function(c,l,y){return g.flash_user_photo||g.hide_avatar?"":w.photoImg(c,l,y)},photoImg:function(c,l,y){let B=c.author_avatar;return'<span class="rpi-flash-photo rpi-img-wrap"><img src="'+
B+'" class="rpi-img" alt="'+c.author_name+'" width="'+l+'" height="'+y+'" onerror="if(this.src!=\''+B+"')this.src='"+rpi.AVA+"'\"></span>"},temp:function(c,l){return decodeURIComponent(l).replace("{{review_rating}}",w.star(c)).replace("{{review_stars}}",rpi.View.stars(c.rating,c.provider).outerHTML).replace("{{review_text}}",f.trimtext(c.text,!0)).replace("{{review_time}}",f.time(c.time)).replace("{{review_provider}}",w.provider(c)).replace("{{review_name}}",w.name(c)).replace("{{review_name_url}}",
c.author_url).replace("{{review_photo}}",w.photo(c,16,16))}}};rpi=rpi||{};rpi.Badge=function(a,e){if(!e.ajax_load){var g=a.getElementsByClassName("rpi-badge-cnt")[0];g=JSON.parse(g.getAttribute("data-opts"));rpi.Badge.core(a,e,g).init()}};
rpi.Badge.core=function(a,e,g){const n=a.getAttribute("data-id");a.getElementsByClassName("rpi-badge-cnt");const h=a.getElementsByClassName("rpi-badge");var q=null;return q={init:function(r){if(!r)for(r=0;r<h.length;r++)(function(u){let k="rpi_badge_"+[n,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=
"none"};"sidebar"==g.badge_click&&(u.getElementsByClassName("rpi-badge-body")[0].onclick=q.badgeClick)}})(h[r])},badgeClick:function(r){var u=r.currentTarget.parentNode;r=u.getAttribute("data-id");u=u.getAttribute("data-provider");var k=["rpi_sb",r,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",n);t.setAttribute("data-opts",a.getAttribute("data-opts"));
t.setAttribute("style",a.getAttribute("style"));t.innerHTML='<div class="rpi-sb rpi-sb-'+g.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",e.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>';
document.body.appendChild(t);e.style_style="5";k=rpi.Common(t,e,{time:"rpi-time",text:"rpi-text",readmore:"rpi-readmore"});const b={};r&&(b.bid=r);u&&(b.provider=u);const d=t.getElementsByClassName("rpi-sb")[0],f=t.getElementsByClassName("rpi-header")[0];rpi.View(t,e,{common:k,filter:b,cb:{pre:function(){rpi.View.widthAnim(d,368,300)},post:function(){d.style.setProperty("--sbh-height",f.offsetHeight+"px")}}}).boot();t.getElementsByClassName("rpi-x")[0].onclick=function(p){rpi.View.widthAnim(d,368,
300)}}}}};rpi=rpi||{};
rpi.Slider=function(a,e,g,n){a.getAttribute("data-id");const h=a.getElementsByClassName(g.cnt)[0],q=a.getElementsByClassName(g.content)[0],r=q?q.getElementsByClassName(g.cards)[0]:null,u=q?q.getElementsByClassName(g.dotsWrap)[0]:null,k=q?q.getElementsByClassName(g.dots)[0]:null,t=r?parseInt(r.getAttribute("data-count")):0;var b=null,d=q?q.getElementsByClassName(g.card):null,f="",p="",m=null,v=null,x=null,C=null,D=!1,A=!1,z=0,w=0;return b={init:function(c,l){rpi.Utils.isVisible(h)?(c&&c(),b.resize(),
b.actions(),d.length&&b.swipeAutoStart(),l&&l(),rpi.Instances=rpi.Instances||[],rpi.Instances.push(b)):setTimeout(b.init,300)},resize:function(c){let l=n.column.resize(),y=n.column.getCol();c&&r.scrollLeft!=c*b.reviewWidth()&&r.scrollTo(d[c].offsetLeft,0);!d.length||f==l&&p==y||(b.hasDots()&&(b.dotsInit(),b.dotSwipe(c,!0)),f=l,p=y)},actions:function(){e.mousestop&&b.addMouseEvents();window.addEventListener("resize",b.resizeListener);r&&(r.addEventListener("scroll",b.scrollListener,!1),e.wheelscroll&&
q.addEventListener("wheel",b.wheelListener,!1));var c=h.getElementsByClassName(g.btnPrev)[0];c&&(c.onclick=function(l){l.preventDefault();l.stopPropagation();b.btnClick(-1)});if(c=h.getElementsByClassName(g.btnNext)[0])c.onclick=function(l){l.preventDefault();l.stopPropagation();b.btnClick(1)}},resizeListener:function(){var c=w;clearTimeout(m);m=setTimeout(b.resize,150,c)},scrollListener:function(){clearTimeout(v);clearTimeout(x);x=setTimeout(b.scrollEnd,150)},wheelListener:function(c){var l=c.target;
if((l=-1<l.className.indexOf(g.text)?l:-1<l.parentNode.className.indexOf(g.text)?l.parentNode:null)&&l.scrollHeight>l.clientHeight)return!0;c.preventDefault();z++;clearTimeout(C);C=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*b.swipePerBtn())},wheelEnd:function(c){b.swipeManual(Math.sign(c.wheelDelta)*z*b.swipeStep());z=0},scrollEnd:function(){w=b.reviewsIdx();A?A=!1:b.loadNextReviews();(!e.mousestop||D)&&e.mousestop||(!e.clickstop||A)&&e.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<c&&n.view.loadNextReviews(c)},getAjaxSize:function(c){let l=0;const y=parseInt(r.getAttribute("data-offset")),B=parseInt(e.pagination);if(t>y){let E=c-y;Math.abs(E)<3*b.swipePerDot()?l=B:E&&(l=Math.ceil(c/B)*B-y)}c=y+l-t;return 0<c?l-c:l},dotsInit:function(){if(k){var c=Math.round(t/b.swipePerDot());k.innerHTML="";for(let l=0;l<c;l++){let y=document.createElement("button");y.className=g.dot;y.setAttribute("data-index",l);y.setAttribute("title",
l);y.setAttribute("aria-label","Go to page "+l);y.onclick=b.dotClick;k.appendChild(y)}b.dotsPadding()}},dotClick:function(c){c.preventDefault();c.stopPropagation();c=parseInt(this.getAttribute("data-index"));var l=k.getElementsByClassName("active")[0];l=parseInt(l.getAttribute("data-index"));b.swipeManual(Math.abs(c-l)*b.swipePerDot()*Math.sign(c-l))},dotsPadding:function(){let c=u.getBoundingClientRect().height;h.style.paddingBottom=c+"px"},dotSwipe:function(c,l){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("."+g.dot+'[data-index="'+c+'"]');let y=k.getElementsByClassName("active")[0];b.dotActivate(y,c);b.dotScroll(c,l)},dotScroll:function(c,l){let y=Math.round(k.scrollWidth/k.childNodes.length),B=Math.floor(Math.round(k.offsetWidth/y)/2);l?k.scrollTo(c.offsetLeft-B*y,0):k.scrollTo({left:c.offsetLeft-B*y,behavior:"smooth"})},dotActivate:function(c,l){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")),c.nextSibling&&(c.nextSibling.classList.remove("s2"),c.nextSibling.nextSibling&&c.nextSibling.nextSibling.classList.remove("s3")));l&&(l.classList.add("active"),l.classList.add("s1"),l.previousSibling&&(l.previousSibling.classList.add("s2"),l.previousSibling.previousSibling&&l.previousSibling.previousSibling.classList.add("s3")),l.nextSibling&&(l.nextSibling.classList.add("s2"),
l.nextSibling.nextSibling&&l.nextSibling.nextSibling.classList.add("s3")))},swipeManual:function(c){A=!0;b.loadNextReviews(c);b.scroll(c);e.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 l=rpi.Utils.isRTL()?c+b.reviewsPerView()-1:c;l=0>l?
0:l>=d.length?d.length-1:l;-1<l&&l<d.length&&(r.scrollTo({left:d[l].offsetLeft,behavior:"smooth"}),b.hasDots()&&b.dotSwipe(c))},swipeAutoStart:function(){e.autoplay&&(v=setTimeout(b.swipeAuto,1E3*parseInt(e.speed)))},swipeAutoStop:function(){clearTimeout(v);x&&setTimeout(function(){clearTimeout(x)},100)},isScrollEnd:function(){var c=r.querySelector("."+g.card+":last-child"),l=c.getBoundingClientRect();c=c.parentNode.getBoundingClientRect();return(2>Math.abs(c.left-l.left)||c.left<=l.left)&&l.left<
c.right&&(2>Math.abs(c.right-l.right)||c.right>=l.right)&&l.right>c.left},swipeStep:function(){return e.swipe_step||b.reviewsPerView()},swipePerBtn:function(){return e.swipe_per_btn||b.reviewsPerView()},swipePerDot:function(){return e.swipe_per_dot||b.reviewsPerView()},reviewWidth:function(){return Math.round(r.scrollWidth/d.length)},reviewHeight:function(){return d[0].offsetHeight},reviewsPerView:function(){return Math.round(r.offsetWidth/b.reviewWidth())},reviewsIdx:function(){let c=rpi.Utils.isRTL()?
-r.scrollLeft:r.scrollLeft;return Math.round(c/b.reviewWidth())},reviewsAhead:function(){return d.length-(b.reviewsIdx()+b.reviewsPerView())},hasDots:function(){return k&&!e.hide_dots&&0<b.swipePerDot()},setBreakpoints:function(c){n.column.setBreakpoints(c);b.resize()},clear:function(){clearTimeout(m);clearTimeout(v);clearTimeout(x);clearTimeout(C);window.removeEventListener("resize",b.resizeListener);r.removeEventListener("scroll",b.scrollListener);q.removeEventListener("wheel",b.wheelListener)}}};
rpi=rpi||{};
rpi.Temp=function(a,e){const g=a.getAttribute("data-id"),n='<a href="#" class="rpi-url">'+rpi.Utils.__("More reviews",e.trans)+"</a>";e.ajax_load?rpi.Utils.ajax(brb_vars.ajaxurl+"?action=brb_widget&id="+g,"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&&
(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),e.pagination&&
(q+=n));a.innerHTML=q;rpi.Temp.core(a,e).init(h)}):rpi.Temp.core(a,e)};
rpi.Temp.core=function(a,e){var g=null;const n=a.getAttribute("data-id"),h=a.querySelector(".rpi-header"),q=a.querySelector(".rpi-content"),r=rpi.Common(a,e,{time:"rpi-time",text:"rpi-text",readmore:"rpi-readmore"}),u=rpi.View(a,e,{common:r});r.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="+n+"&offset="+t+"&size="+e.pagination,"POST",function(b){b.reviews&&g.initReviews(b.reviews);
q.setAttribute("data-count",b.count);q.setAttribute("data-offset",b.offset);b.offset>=b.count&&rpi.Utils.rm(k)});return!1});return g={init:function(t){h&&t.bizs&&g.initBizs(t.bizs);q&&t.reviews&&g.initReviews(t.reviews)},initBizs:function(t){const b=decodeURIComponent(h.getAttribute("data-temp"));for(let d=0;d<t.length;d++){const f=t[d],p=document.createElement("span");for(p.innerHTML=b.replace("{{scale}}",u.scale(f)).replace("{{name}}",f.name).replace("{{photo}}",u.bizPhoto(f)?.outerHTML??"").replace("{{stars}}",
rpi.View.stars(f.rating,f.provider,!1).outerHTML).replace("{{rating}}",f.rating).replace("{{count}}",f.review_count).replace("{{reviews_url}}",u.allReviewsUrl(f)).replace("{{writereview_url}}",u.writeReviewUrl(f));p.firstChild;)h.appendChild(p.firstChild)}},initReviews:function(t){const b=decodeURIComponent(q.getAttribute("data-temp"));for(let d=0;d<t.length;d++){const f=t[d],p=document.createElement("span");for(p.innerHTML=b.replace("{{review_photo}}",u.reviewAvatar(f).outerHTML).replace("{{review_provider}}",
f.provider).replace("{{review_logo}}",u.logo(f.provider).outerHTML).replace("{{review_url}}",f.author_url).replace("{{review_name}}",f.author_name).replace("{{review_name_url}}",f.author_url).replace("{{review_time}}",u.reviewTime(f).outerHTML).replace("{{review_rating}}",f.rating).replace("{{review_stars}}",rpi.View.stars(f.rating,f.provider).outerHTML).replace("{{review_text}}",f.text||"").replace("{{review_reply}}",f.reply||"").replace("{{review_media}}",f.media||"");p.firstChild;)1===p.firstChild.nodeType&&
r.initOnce(p.firstChild),q.appendChild(p.firstChild)}}}};
var RichPlugins=RichPlugins||{Tag:function(a,e){const g=a.getAttribute("data-id"),n=a.getElementsByClassName("rpi-tag")[0],h=a.getElementsByClassName("rpi-tag-cnt")[0],q=JSON.parse(h.getAttribute("data-opts"));var r=null;return r={init:function(){let u=a.querySelector(".rpi-stars[data-reviewus]");u&&(r.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="+
k,800,600)});0<q.tag_popup&&setTimeout(function(){n.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,
368,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="+g+"&brb_view_mode="+q.tag_sidebar,"POST",function(d){b.innerHTML=d.data;RichPlugins.init(b.querySelector('.rpi[data-exec=""]'))})}}console.log("RichPlugins Tag initialized")},starsInit:function(u){}}},Flash:function(a,e){return This={init:function(){rpi.Flash(a,e)}}},Badge:function(a,e){return This={init:function(){rpi.Badge(a,
e)}}},Temp:function(a,e){return This={init:function(){rpi.Temp(a,e)}}},List:function(a,e){const g=rpi.Common(a,e,{time:"rpi-time",text:"rpi-text",readmore:"rpi-readmore"}),n=rpi.Column(a,e,{cnt:"rpi-cnt",col:"rpi-col",card:"rpi-card"}),h=rpi.View(a,e,{common:g});a.querySelector(".rpi-content .rpi-cards");return{init:function(){g.init();n.init();h.init();console.log("RichPlugins List initialized")}}},Slider:function(a,e){const g=rpi.Common(a,e,{time:"rpi-time",text:"rpi-text",readmore:"rpi-readmore"}),
n=rpi.Column(a,e,{cnt:"rpi-cnt",col:"rpi-col",card:"rpi-card"}),h=rpi.View(a,e,{common:g});e=a.getElementsByClassName("rpi-cnt")[0];e=JSON.parse(e.getAttribute("data-opts"));const q=rpi.Slider(a,e,{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"},{view:h,column:n});return{init:function(){q.init(function(){g.init()},function(){h.init();console.log("RichPlugins slider initialized")})}}},
init:function(a){a.setAttribute("data-exec","1");let e=JSON.parse(a.getAttribute("data-opts")),g=rpi.Utils.capit(e.layout);"List"==g||"Grid"==g?RichPlugins.List(a,e).init():RichPlugins[g]&&RichPlugins[g](a,e).init()}};function rpi_boot(){const a=document.querySelectorAll('.rpi[data-exec=""]');if(a.length){rpi.Utils.clear();for(var e=0;e<a.length;e++)RichPlugins.init(a[e])}}document.addEventListener("DOMContentLoaded",rpi_boot);
// source --> https://radsport-reyhle.de/wp-content/plugins/widget-google-reviews/assets/js/public-main.js?ver=6.9.4.4 
var rpi=rpi||{};
rpi.Time={getTime:function(a,c,f){return"chat"==f?this.getChatTime(a,c||"en"):f?this.getFormatTime(a,f,c||"en"):this.getDefaultTime(a,c||"en")},getChatTime:function(a,c){var f=((new Date).getTime()-a)/1E3/60/60,l=f/24;return 24>f?this.getFormatTime(a,"HH:mm",c):365>l?this.getFormatTime(a,"dd.MM HH:mm",c):this.getFormatTime(a,"yyyy.MM.dd HH:mm",c)},getDefaultTime:function(a,c){return this.getTimeAgo(a,c)},getTimeAgo:function(a,c){a=parseInt(a)*(1E10>a?1E3:1);a=((new Date).getTime()-a)/1E3;var f=a/
60,l=f/60,e=l/24,m=e/365;c=rpi.Time.Messages[c]?c:"en";return 45>a?rpi.Time.Messages[c].second:90>a?rpi.Time.Messages[c].minute:45>f?rpi.Time.Messages[c].minutes(f):90>f?rpi.Time.Messages[c].hour:24>l?rpi.Time.Messages[c].hours(l):48>l?rpi.Time.Messages[c].day:30>e?rpi.Time.Messages[c].days(e):60>e?rpi.Time.Messages[c].month:365>e?rpi.Time.Messages[c].months(e):2>m?rpi.Time.Messages[c].year:rpi.Time.Messages[c].years(m)},getTime12:function(a,c){a=new Date(a);return(a.getHours()%12?a.getHours()%12:
12)+":"+a.getMinutes()+(12<=a.getHours()?" PM":" AM")},getFormatTime:function(a,c,f){var l=new Date(a),e={SS:l.getMilliseconds(),ss:l.getSeconds(),mm:l.getMinutes(),HH:l.getHours(),hh:(l.getHours()%12?l.getHours()%12:12)+(12<=l.getHours()?"PM":"AM"),dd:l.getDate(),MM:l.getMonth()+1,yyyy:l.getFullYear(),yy:String(l.getFullYear()).toString().substr(2,2),ago:this.getTimeAgo(a,f),12:this.getTime12(a,f)};return c.replace(/(SS|ss|mm|HH|hh|DD|dd|MM|yyyy|yy|ago|12)/g,function(m,h){m=e[h];return 10>m?"0"+
m:m})},declineNum:function(a,c,f,l){return a+" "+this.declineMsg(a,c,f,l)},declineMsg:function(a,c,f,l,e){var m=a%10;return 1==m&&(1==a||20<a)?c:1<m&&5>m&&(20<a||10>a)?f:a?l:e}};
rpi.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),
"\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",
months: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",
"\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",
minutes: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",
"\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",
"\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),
"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),
"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",
"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")},
hour:"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\u0117nes\u012f prie\u0161","m\u0117nesiai prie\u0161","m\u0117nesi\u0173 prie\u0161")},
year:"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",
"\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",
days: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",
years: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",
"\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",
"\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",
"\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")},
hour:"\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")},
month:"\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",
"\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",
minutes: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",
minute:"\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",
months: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 "+
Math.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",
"\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),
"\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",
years: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),
"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)+
" 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/
30)+" 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)+
" \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)+" jaar geleden"}},ca:{second:"ara mateix",minute:"fa un minut",minutes:function(a){return"fa "+
Math.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",
days: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",
months: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"},
year:"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"},
year:"\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)+
" 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",
months: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 "+
Math.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/
30)+" \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"},
month:"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",
hours: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",
years: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"}},
et:{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)+
"\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)+"\u30f6\u6708\u524d"},year:"1\u5e74\u524d",years:function(a){return Math.round(a)+"\u5e74\u524d"}}};rpi=rpi||{};
rpi.Utils={__:function(a,c){return c&&c[a]||a},isVisible:function(a){let c=window.getComputedStyle(a);return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)&&"hidden"!==c.visibility&&"none"!==c.display},isInViewport:function(a,c=0){a=a.getBoundingClientRect();return a.top<window.innerHeight*(1+c)&&a.bottom>-window.innerHeight*c&&a.left<window.innerWidth*(1+c)&&a.right>-window.innerWidth*c},isRTL:function(){return"rtl"==(window.getComputedStyle?window.getComputedStyle(document.body,null).getPropertyValue("direction"):
document.body.currentStyle.direction)},getParent:function(a,c){c=c||"rplg";if(0>a.className.split(" ").indexOf(c))for(;(a=a.parentElement)&&0>a.className.split(" ").indexOf(c););return a},lang:function(){var a=navigator;return(a.language||a.systemLanguage||a.userLanguage||"en").substr(0,2).toLowerCase()},popup:function(a,c,f){var l=document.documentElement;a=window.open(a,"","scrollbars=yes, width="+c+", height="+f+", top="+((window.innerHeight?window.innerHeight:l.clientHeight?l.clientHeight:screen.height)/
2-f/2+(void 0!=window.screenTop?window.screenTop:window.screenY))+", left="+((window.innerWidth?window.innerWidth:l.clientWidth?l.clientWidth:screen.width)/2-c/2+(void 0!=window.screenLeft?window.screenLeft:window.screenX)));window.focus&&a.focus();return a},ajax:function(a,c,f,l){const e=new XMLHttpRequest;e.open(c,a,!0);e.setRequestHeader("Content-Type","application/json");e.onreadystatechange=function(){if((e.readyState===XMLHttpRequest.DONE||e.readyState===e.DONE)&&200===e.status){const m=JSON.parse(e.responseText);
"function"===typeof l?l(m):"function"===typeof f&&f(m)}};e.send(f&&"function"!==typeof f?JSON.stringify(f):null)},anchor:function(a,c,f,l,e){const m=[];f.open_link&&m.push("noopener");f.nofollow_link&&m.push("nofollow");return'<a href="'+a+'"'+(l?' class="'+l+'"':"")+(f.open_link?' target="_blank"':"")+(m.length?' rel="'+m.join(" ")+'"':"")+(e?' aria-label="'+e+'"':"")+">"+c+"</a>"},rm:function(a){a&&a.parentNode&&a.parentNode.removeChild(a)},capit:function(a){return a.charAt(0).toUpperCase()+a.slice(1)},
url:function(a){try{return(new URL(a,window.location.origin)).href}catch(c){return""}},clear:function(){this.rm(document.getElementById("rpi-style"));if(rpi.Instances)for(;rpi.Instances.length;)rpi.Instances.pop().clear()}};rpi=rpi||{};
rpi.Column=function(a,c,f){const l=a.getAttribute("data-id"),e=new RegExp(f.col+"-[xsml]+"),m=new RegExp('$|(\\[data-id="'+l+'"\\]\\s+.'+f.card+"\\s*{\\s*--col:\\s*\\d+\\s*!important\\s*;?(\\s*--gap:\\s*\\d+\\s*!important;?)?})"),h=a.getElementsByClassName(f.cnt)[0];var n=null;return n={init:function(g,p){rpi.Utils.isVisible(h)?(g&&g(),n.resize(),window.addEventListener("resize",n.resize),p&&p(),rpi.Instances=rpi.Instances||[],rpi.Instances.push(n)):setTimeout(n.init,300)},resize:function(){let g=
n.getSize();h.className=h.className.replace(e,f.col+"-"+g);if(c.breakpoints){let p=h.offsetWidth,d=c.breakpoints.split(",");d.sort(n.brsort);for(let r=0;r<d.length;r++){let t=d[r].split(":");if(p<parseInt(t[0])){n.setCol(t[1]);break}}}return g},getSize:function(){let g=h.offsetWidth;return 510>g?"xs":750>g?"x":1050>g?"s":1450>g?"m":1800>g?"l":"xl"},setCol:function(g){const p=this.getStyle();p.innerHTML=p.innerHTML.replace(m,(l?'[data-id="'+l+'"] ':"")+"."+f.card+"{--col:"+g+"!important;--gap:"+(g-
1)+"!important}")},getCol:function(){let g=this.getStyle().innerHTML.match(/--col:\s*(\d+)/);return g&&1<g.length?g[1]:!1},getStyle:function(){let g=document.getElementById("rpi-style");g||(g=document.createElement("style"),g.id="rpi-style",document.head.appendChild(g));return g},setBreakpoints:function(g){c.breakpoints=g},brsort:function(g,p){return parseInt(g.split(":")[0])>parseInt(p.split(":")[0])?1:-1},clear:function(){window.removeEventListener("resize",n.resize)}}};rpi=rpi||{};rpi.AVA="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7";
rpi.Common=function(a,c,f){var l=null;return l={init:function(){var e=a.getElementsByClassName(f.time);let m=a.getElementsByClassName(f.text);if(!c.time_format)for(var h=0;h<e.length;h++)e[h].innerHTML=rpi.Time.getTimeAgo(e[h].dataset.time,rpi.Utils.lang());for(e=0;e<m.length;e++)(h=m[e])&&h.innerHTML&&(h.innerHTML=l.trimtext(h.innerHTML),h=h.getElementsByClassName(f.readmore)[0])&&(h.onclick=l.opentext)},initOnce:function(e){var m=e.getElementsByClassName(f.time)[0];e=e.getElementsByClassName(f.text)[0];
m&&!c.time_format&&(m.innerHTML=rpi.Time.getTimeAgo(m.dataset.time,rpi.Utils.lang()));e&&e.innerHTML&&(e.innerHTML=l.trimtext(e.innerHTML),m=e.getElementsByClassName(f.readmore)[0])&&(m.onclick=l.opentext)},time:function(e){return c.time_format?e:rpi.Time.getTimeAgo(e,rpi.Utils.lang())},trimtext:function(e,m){var h=parseInt(c.text_size);if(e&&h&&e.length>h){e=Array.from(e);let n=e.slice(0,h).join("").indexOf(" ")+1;if(1>n||h-n>h/2)n=e.length>h?h:e.length;let g=h="";0<n&&(h=e.slice(0,n-1).join(""),
g=e.slice(n-1).join(""));return h+(!m&&g?'<span class="rpi-s">... </span><input type="hidden" value="'+encodeURIComponent(g)+'"></input><span class="'+f.readmore+'">'+rpi.Utils.__("read more",c.trans)+"</span>":"")}return e},opentext:function(){let e=this.parentNode,m=this.previousSibling,h=this.previousSibling.previousSibling,n=decodeURIComponent(m.value);rpi.Utils.rm(m);rpi.Utils.rm(h);rpi.Utils.rm(this);e.innerHTML+=n}}};rpi=rpi||{};
rpi.Media=function(a,c,{root:f="rpi",card:l="rpi-card"}={}){var e=null,m=null;return m={init:function(){e=a.getElementsByClassName("rpi-thumb");for(let h=0;h<e.length;h++)e[h].setAttribute("data-idx",h),function(n,g){n.onclick=function(){m.show(n,g);return!1}}(e[h],h)},clicks:function(h){h=h.getElementsByClassName("rpi-thumb");for(let n=0;n<h.length;n++)(function(g,p){g.onclick=function(){let d=parseInt(g.getAttribute("data-idx"));m.show(e[d],d);return!1}})(h[n],n)},show:function(h,n){if(!(0>n||n>=
e.length)){var g=document.querySelector(".rpi-lightbox"),p=h.src.replace(/=s[0-9]{1,3}/g,"=s500");h=rpi.Utils.getParent(h,l).outerHTML;if(g){let d=g.querySelector(".rpi-lightbox-media img"),r=g.querySelector(".rpi-lightbox-review"),t=g.querySelector(".rpi-lightbox-prev");next=g.querySelector(".rpi-lightbox-next");d.src=p;r.innerHTML!==h&&(r.innerHTML=h,m.clicks(r));t.onclick=function(w){m.show(e[n-1],n-1)};next.onclick=function(w){m.show(e[n+1],n+1)}}else g=document.createElement("div"),g.className=
"rpi-lightbox",g.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="'+p+'" alt=""><div class="rpi-lightbox-btn rpi-lightbox-next"></div></div><div class="'+f+' rpi-lightbox-review">'+h+"</div></div></div></div>",p=g.querySelector(".rpi-x"),h=g.querySelector(".rpi-lightbox-prev"),next=g.querySelector(".rpi-lightbox-next"),p.onclick=
function(){g.style.display="none"},g.onclick=function(d){g==d.target&&(g.style.display="none")},h.onclick=function(d){m.show(e[n-1],n-1)},next.onclick=function(d){m.show(e[n+1],n+1)},m.clicks(g),document.body.appendChild(g);g.style.display="flex"}}}};rpi=rpi||{};
rpi.Slider=function(a,c,f,l){a.getAttribute("data-id");const e=a.getElementsByClassName(f.cnt)[0],m=a.getElementsByClassName(f.content)[0],h=m?m.getElementsByClassName(f.cards)[0]:null,n=m?m.getElementsByClassName(f.dotsWrap)[0]:null,g=m?m.getElementsByClassName(f.dots)[0]:null,p=h?parseInt(h.getAttribute("data-count")):0;var d=null,r=m?m.getElementsByClassName(f.card):null,t="",w="",z=null,x=null,v=null,A=null,B=!1,y=!1,C=0,D=0;return d={init:function(b,k){rpi.Utils.isVisible(e)?(b&&b(),d.resize(),
d.actions(),r.length&&d.swipeAutoStart(),k&&k(),rpi.Instances=rpi.Instances||[],rpi.Instances.push(d)):setTimeout(d.init,300)},resize:function(b){let k=l.column.resize(),q=l.column.getCol();b&&h.scrollLeft!=b*d.reviewWidth()&&h.scrollTo(r[b].offsetLeft,0);!r.length||t==k&&w==q||(d.hasDots()&&(d.dotsInit(),d.dotSwipe(b,!0)),t=k,w=q)},actions:function(){c.mousestop&&d.addMouseEvents();window.addEventListener("resize",d.resizeListener);h&&(h.addEventListener("scroll",d.scrollListener,!1),c.wheelscroll&&
m.addEventListener("wheel",d.wheelListener,!1));var b=e.getElementsByClassName(f.btnPrev)[0];b&&(b.onclick=function(k){k.preventDefault();k.stopPropagation();d.btnClick(-1)});if(b=e.getElementsByClassName(f.btnNext)[0])b.onclick=function(k){k.preventDefault();k.stopPropagation();d.btnClick(1)}},resizeListener:function(){var b=D;clearTimeout(z);z=setTimeout(d.resize,150,b)},scrollListener:function(){clearTimeout(x);clearTimeout(v);v=setTimeout(d.scrollEnd,150)},wheelListener:function(b){var k=b.target;
if((k=-1<k.className.indexOf(f.text)?k:-1<k.parentNode.className.indexOf(f.text)?k.parentNode:null)&&k.scrollHeight>k.clientHeight)return!0;b.preventDefault();C++;clearTimeout(A);A=setTimeout(d.wheelEnd,150,b)},addMouseEvents:function(){e.addEventListener("mouseover",d.mouseOver,!1);e.addEventListener("mouseleave",d.mouseLeave,!1)},delMouseEvents:function(){e.removeEventListener("mouseover",d.mouseOver);e.removeEventListener("mouseleave",d.mouseLeave)},mouseOver:function(){B=1;d.swipeAutoStop()},
mouseLeave:function(){B=0;d.swipeAutoStart()},btnClick:function(b){d.swipeManual(b*d.swipePerBtn())},wheelEnd:function(b){d.swipeManual(Math.sign(b.wheelDelta)*C*d.swipeStep());C=0},scrollEnd:function(){D=d.reviewsIdx();y?y=!1:d.loadNextReviews();(!c.mousestop||B)&&c.mousestop||(!c.clickstop||y)&&c.clickstop||d.swipeAutoStart();d.hasDots()&&d.dotSwipe(void 0,!0)},loadNextReviews:function(b){b=b?d.reviewsIdx()+parseInt(b):d.hasDots()?(b=g.getElementsByClassName("active")[0])?parseInt(b.getAttribute("data-index"))*
d.swipePerDot():d.reviewsIdx():d.reviewsIdx();b=d.getAjaxSize(b);0<b&&l.view.loadNextReviews(b)},getAjaxSize:function(b){let k=0;const q=parseInt(h.getAttribute("data-offset")),u=parseInt(c.pagination);if(p>q){let E=b-q;Math.abs(E)<3*d.swipePerDot()?k=u:E&&(k=Math.ceil(b/u)*u-q)}b=q+k-p;return 0<b?k-b:k},dotsInit:function(){if(g){var b=Math.round(p/d.swipePerDot());g.innerHTML="";for(let k=0;k<b;k++){let q=document.createElement("button");q.className=f.dot;q.setAttribute("data-index",k);q.setAttribute("title",
k);q.setAttribute("aria-label","Go to page "+k);q.onclick=d.dotClick;g.appendChild(q)}d.dotsPadding()}},dotClick:function(b){b.preventDefault();b.stopPropagation();b=parseInt(this.getAttribute("data-index"));var k=g.getElementsByClassName("active")[0];k=parseInt(k.getAttribute("data-index"));d.swipeManual(Math.abs(b-k)*d.swipePerDot()*Math.sign(b-k))},dotsPadding:function(){let b=n.getBoundingClientRect().height;e.style.paddingBottom=b+"px"},dotSwipe:function(b,k){b=Math.round((void 0!==b?b:d.reviewsIdx())/
d.swipePerDot());b=0>b?0:b>=g.childNodes.length?g.childNodes.length-1:b;b=g.querySelector("."+f.dot+'[data-index="'+b+'"]');let q=g.getElementsByClassName("active")[0];d.dotActivate(q,b);d.dotScroll(b,k)},dotScroll:function(b,k){let q=Math.round(g.scrollWidth/g.childNodes.length),u=Math.floor(Math.round(g.offsetWidth/q)/2);k?g.scrollTo(b.offsetLeft-u*q,0):g.scrollTo({left:b.offsetLeft-u*q,behavior:"smooth"})},dotActivate:function(b,k){b&&(b.classList.remove("active"),b.classList.remove("s1"),b.previousSibling&&
(b.previousSibling.classList.remove("s2"),b.previousSibling.previousSibling&&b.previousSibling.previousSibling.classList.remove("s3")),b.nextSibling&&(b.nextSibling.classList.remove("s2"),b.nextSibling.nextSibling&&b.nextSibling.nextSibling.classList.remove("s3")));k&&(k.classList.add("active"),k.classList.add("s1"),k.previousSibling&&(k.previousSibling.classList.add("s2"),k.previousSibling.previousSibling&&k.previousSibling.previousSibling.classList.add("s3")),k.nextSibling&&(k.nextSibling.classList.add("s2"),
k.nextSibling.nextSibling&&k.nextSibling.nextSibling.classList.add("s3")))},swipeManual:function(b){y=!0;d.loadNextReviews(b);d.scroll(b);c.clickstop&&(d.swipeAutoStop(),d.delMouseEvents())},swipeAuto:function(){if(rpi.Utils.isInViewport(e))if(d.isScrollEnd())d.scroll(-(p-d.reviewsPerView()));else{let b=d.swipeStep()<d.reviewsAhead()?d.swipeStep():d.reviewsAhead();d.scroll(b)}d.swipeAutoStart()},scroll:function(b){b=d.reviewsIdx()+parseInt(b);let k=rpi.Utils.isRTL()?b+d.reviewsPerView()-1:b;k=0>k?
0:k>=r.length?r.length-1:k;-1<k&&k<r.length&&(h.scrollTo({left:r[k].offsetLeft,behavior:"smooth"}),d.hasDots()&&d.dotSwipe(b))},swipeAutoStart:function(){c.autoplay&&(x=setTimeout(d.swipeAuto,1E3*parseInt(c.speed)))},swipeAutoStop:function(){clearTimeout(x);v&&setTimeout(function(){clearTimeout(v)},100)},isScrollEnd:function(){var b=h.querySelector("."+f.card+":last-child"),k=b.getBoundingClientRect();b=b.parentNode.getBoundingClientRect();return(2>Math.abs(b.left-k.left)||b.left<=k.left)&&k.left<
b.right&&(2>Math.abs(b.right-k.right)||b.right>=k.right)&&k.right>b.left},swipeStep:function(){return c.swipe_step||d.reviewsPerView()},swipePerBtn:function(){return c.swipe_per_btn||d.reviewsPerView()},swipePerDot:function(){return c.swipe_per_dot||d.reviewsPerView()},reviewWidth:function(){return Math.round(h.scrollWidth/r.length)},reviewHeight:function(){return r[0].offsetHeight},reviewsPerView:function(){return Math.round(h.offsetWidth/d.reviewWidth())},reviewsIdx:function(){let b=rpi.Utils.isRTL()?
-h.scrollLeft:h.scrollLeft;return Math.round(b/d.reviewWidth())},reviewsAhead:function(){return r.length-(d.reviewsIdx()+d.reviewsPerView())},hasDots:function(){return g&&!c.hide_dots&&0<d.swipePerDot()},setBreakpoints:function(b){l.column.setBreakpoints(b);d.resize()},clear:function(){clearTimeout(z);clearTimeout(x);clearTimeout(v);clearTimeout(A);window.removeEventListener("resize",d.resizeListener);h.removeEventListener("scroll",d.scrollListener);m.removeEventListener("wheel",d.wheelListener)}}};
function rplg_badge_init(a,c,f){var l=a.querySelector(".wp-"+c+"-badge"),e=a.querySelector(".wp-"+c+"-form");l&&e&&(a=document.createElement("div"),a.className=f+" wpac",-1<l.className.indexOf("-fixed")&&a.appendChild(l),a.appendChild(e),document.body.appendChild(a),l.onclick=function(){e.style.display="block"})}
function rplg_next_reviews(a,c){var f=this.parentNode,l="."+a+"-review."+a+"-hide";reviews=f.querySelectorAll(l);for(var e=0;e<c&&e<reviews.length;e++)reviews[e]&&(reviews[e].className=reviews[e].className.replace(a+"-hide"," "));reviews=f.querySelectorAll(l);1>reviews.length&&f.removeChild(this);return!1}function rplg_leave_review_window(){rpi.Utils.popup(this.getAttribute("href"),620,500);return!1}
function grw_init(a,c){a=rpi.Utils.getParent(a,"wp-gr");if("true"!=a.getAttribute("data-exec")){a.setAttribute("data-exec","true");var f=JSON.parse(a.getAttribute("data-options"));rpi.Common(a,f,{time:"wp-google-time",text:"wp-google-text",readmore:"wp-more-toggle"}).init();rpi.Media(a,{},{root:"wp-gr",card:"grw-review"}).init();!a.getElementsByClassName("grw-review")[0]||"slider"!=c&&"grid"!=c||(c=a.getElementsByClassName("grw-row")[0],c=JSON.parse(c.getAttribute("data-options")),f=rpi.Column(a,
c,{cnt:"grw-row",col:"grw-row",card:"grw-review"}),rpi.Slider(a,c,{cnt:"grw-row",col:"grw-row",content:"grw-content",cards:"grw-reviews",card:"grw-review",text:"wp-google-text",btnPrev:"grw-prev",btnNext:"grw-next",dotsWrap:"rpi-dots-wrap",dots:"rpi-dots",dot:"rpi-dot"},{column:f}).init())}}function grw_boot(){const a=document.querySelectorAll('.wp-gr[data-exec="false"]');for(let f=0;f<a.length;f++){var c=a[f];grw_init(c,c.getAttribute("data-layout"))}}
document.addEventListener("DOMContentLoaded",grw_boot);