/**handles:grw-public-main-js,ultimate-vc-addons-params,ultimate-vc-addons-custom**/
var rpi=rpi||{};function rplg_badge_init(e,n,t){var r=e.querySelector(".wp-"+n+"-badge"),i=e.querySelector(".wp-"+n+"-form");r&&i&&((e=document.createElement("div")).className=t+" wpac",-1<r.className.indexOf("-fixed")&&e.appendChild(r),e.appendChild(i),document.body.appendChild(e),r.onclick=function(){i.style.display="block"})}function rplg_next_reviews(e,n){var t=this.parentNode,r="."+e+"-review."+e+"-hide";reviews=t.querySelectorAll(r);for(var i=0;i<n&&i<reviews.length;i++)reviews[i]&&(reviews[i].className=reviews[i].className.replace(e+"-hide"," "));return reviews=t.querySelectorAll(r),reviews.length<1&&t.removeChild(this),!1}function rplg_leave_review_window(){return rpi.Utils.popup(this.getAttribute("href"),620,500),!1}function grw_init(e,n){var t,r,t;"true"!=(e=rpi.Utils.getParent(e,"wp-gr")).getAttribute("data-exec")&&(e.setAttribute("data-exec","true"),t=JSON.parse(e.getAttribute("data-options")),r=rpi.Common(e,t,{time:"wp-google-time",text:"wp-google-text",readmore:"wp-more-toggle"}),t=rpi.Column(e,t,{cnt:"grw-row",col:"grw-row",card:"grw-review"}),r.init(),"slider"!=n&&"grid"!=n||(n=e.getElementsByClassName("grw-row")[0],n=JSON.parse(n.getAttribute("data-options")),rpi.Slider(e,n,{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:t}).init()))}rpi.Time={getTime:function(e,n,t){return"chat"==t?this.getChatTime(e,n||"en"):t?this.getFormatTime(e,t,n||"en"):this.getDefaultTime(e,n||"en")},getChatTime:function(e,n){var t=((new Date).getTime()-e)/1e3/60/60,r=t/24;return t<24?this.getFormatTime(e,"HH:mm",n):r<365?this.getFormatTime(e,"dd.MM HH:mm",n):this.getFormatTime(e,"yyyy.MM.dd HH:mm",n)},getDefaultTime:function(e,n){return this.getTimeAgo(e,n)},getTimeAgo:function(e,n){var t=(e=((new Date).getTime()-e)/1e3)/60,r=t/60,i=r/24,o=i/365;return n=rpi.Time.Messages[n]?n:"en",e<45?rpi.Time.Messages[n].second:e<90?rpi.Time.Messages[n].minute:t<45?rpi.Time.Messages[n].minutes(t):t<90?rpi.Time.Messages[n].hour:r<24?rpi.Time.Messages[n].hours(r):r<48?rpi.Time.Messages[n].day:i<30?rpi.Time.Messages[n].days(i):i<60?rpi.Time.Messages[n].month:i<365?rpi.Time.Messages[n].months(i):o<2?rpi.Time.Messages[n].year:rpi.Time.Messages[n].years(o)},getTime12:function(e,n){return((e=new Date(e)).getHours()%12?e.getHours()%12:12)+":"+e.getMinutes()+(12<=e.getHours()?" PM":" AM")},getFormatTime:function(e,n,t){var r=new Date(e),i={SS:r.getMilliseconds(),ss:r.getSeconds(),mm:r.getMinutes(),HH:r.getHours(),hh:(r.getHours()%12?r.getHours()%12:12)+(12<=r.getHours()?"PM":"AM"),dd:r.getDate(),MM:r.getMonth()+1,yyyy:r.getFullYear(),yy:String(r.getFullYear()).toString().substr(2,2),ago:this.getTimeAgo(e,t),12:this.getTime12(e,t)};return n.replace(/(SS|ss|mm|HH|hh|DD|dd|MM|yyyy|yy|ago|12)/g,function(e,n){return(e=i[n])<10?"0"+e:e})},declineNum:function(e,n,t,r){return e+" "+this.declineMsg(e,n,t,r)},declineMsg:function(e,n,t,r,i){var o=e%10;return 1==o&&(1==e||20<e)?n:1<o&&o<5&&(20<e||e<10)?t:e?r:i}},rpi.Time.Messages={ru:{second:"только что",minute:"минуту назад",minutes:function(e){return rpi.Time.declineNum(Math.round(e),"минута назад","минуты назад","минут назад")},hour:"час назад",hours:function(e){return rpi.Time.declineNum(Math.round(e),"час назад","часа назад","часов назад")},day:"день назад",days:function(e){return rpi.Time.declineNum(Math.round(e),"день назад","дня назад","дней назад")},month:"месяц назад",months:function(e){return rpi.Time.declineNum(Math.floor(e/30),"месяц назад","месяца назад","месяцев назад")},year:"год назад",years:function(e){return rpi.Time.declineNum(Math.round(e),"год назад","года назад","лет назад")}},en:{second:"just now",minute:"1m ago",minutes:function(e){return Math.round(e)+"m ago"},hour:"1h ago",hours:function(e){return Math.round(e)+"h ago"},day:"a day ago",days:function(e){return Math.round(e)+" days ago"},month:"a month ago",months:function(e){return Math.floor(e/30)+" months ago"},year:"a year ago",years:function(e){return Math.round(e)+" years ago"}},uk:{second:"тільки що",minute:"хвилину тому",minutes:function(e){return rpi.Time.declineNum(Math.round(e),"хвилину тому","хвилини тому","хвилин тому")},hour:"годину тому",hours:function(e){return rpi.Time.declineNum(Math.round(e),"годину тому","години тому","годин тому")},day:"день тому",days:function(e){return rpi.Time.declineNum(Math.round(e),"день тому","дні тому","днів тому")},month:"місяць тому",months:function(e){return rpi.Time.declineNum(Math.floor(e/30),"місяць тому","місяці тому","місяців тому")},year:"рік тому",years:function(e){return rpi.Time.declineNum(Math.round(e),"рік тому","роки тому","років тому")}},ro:{second:"chiar acum",minute:"în urmă minut",minutes:function(e){return rpi.Time.declineNum(Math.round(e),"o minuta in urma","minute in urma","de minute in urma")},hour:"acum o ora",hours:function(e){return rpi.Time.declineNum(Math.round(e),"acum o ora","ore in urma","de ore in urma")},day:"o zi in urma",days:function(e){return rpi.Time.declineNum(Math.round(e),"o zi in urma","zile in urma","de zile in urma")},month:"o luna in urma",months:function(e){return rpi.Time.declineNum(Math.floor(e/30),"o luna in urma","luni in urma","de luni in urma")},year:"un an in urma",years:function(e){return rpi.Time.declineNum(Math.round(e),"un an in urma","ani in urma","de ani in urma")}},lv:{second:"Mazāk par minūti",minute:"Pirms minūtes",minutes:function(e){return rpi.Time.declineNum(Math.round(e),"pirms minūtes","pirms minūtēm","pirms minūtēm")},hour:"pirms stundas",hours:function(e){return rpi.Time.declineNum(Math.round(e),"pirms stundas","pirms stundām","pirms stundām")},day:"pirms dienas",days:function(e){return rpi.Time.declineNum(Math.round(e),"pirms dienas","pirms dienām","pirms dienām")},month:"pirms mēneša",months:function(e){return rpi.Time.declineNum(Math.floor(e/30),"pirms mēneša","pirms mēnešiem","pirms mēnešiem")},year:"pirms gada",years:function(e){return rpi.Time.declineNum(Math.round(e),"pirms gada","pirms gadiem","pirms gadiem")}},lt:{second:"ką tik",minute:"prieš minutę",minutes:function(e){return rpi.Time.declineNum(Math.round(e),"minutė prieš","minutės prieš","minučių prieš")},hour:"prieš valandą",hours:function(e){return rpi.Time.declineNum(Math.round(e),"valanda prieš","valandos prieš","valandų prieš")},day:"prieš dieną",days:function(e){return rpi.Time.declineNum(Math.round(e),"diena prieš","dienos prieš","dienų prieš")},month:"prieš mėnesį",months:function(e){return rpi.Time.declineNum(Math.floor(e/30),"mėnesį prieš","mėnesiai prieš","mėnesių prieš")},year:"prieš metus",years:function(e){return rpi.Time.declineNum(Math.round(e),"metai prieš","metai prieš","metų prieš")}},kk:{second:"бір минуттан аз уақыт бұрын",minute:"бір минут бұрын",minutes:function(e){return rpi.Time.declineNum(Math.round(e),"минут бұрын","минут бұрын","минут бұрын")},hour:"бір сағат бұрын",hours:function(e){return rpi.Time.declineNum(Math.round(e),"сағат бұрын","сағат бұрын","сағат бұрын")},day:"бір күн бұрын",days:function(e){return rpi.Time.declineNum(Math.round(e),"күн бұрын","күн бұрын","күн бұрын")},month:"бір ай бұрын",months:function(e){return rpi.Time.declineNum(Math.floor(e/30),"ай бұрын","ай бұрын","ай бұрын")},year:"бір жыл бұрын",years:function(e){return rpi.Time.declineNum(Math.round(e),"жыл бұрын","жыл бұрын","жыл бұрын")}},ka:{second:"წამის წინ",minute:"წუთის წინ",minutes:function(e){return rpi.Time.declineNum(Math.round(e),"წუთის წინ","წუთის წინ","წუთის წინ")},hour:"საათის წინ",hours:function(e){return rpi.Time.declineNum(Math.round(e),"საათის წინ","საათის წინ","საათის წინ")},day:"დღის წინ",days:function(e){return rpi.Time.declineNum(Math.round(e),"დღის წინ","დღის წინ","დღის წინ")},month:"თვის წინ",months:function(e){return rpi.Time.declineNum(Math.floor(e/30),"თვის წინ","თვის წინ","თვის წინ")},year:"წლის წინ",years:function(e){return rpi.Time.declineNum(Math.round(e),"წლის წინ","წლის წინ","წლის წინ")}},hy:{second:"մի քնի վայրկյան առաջ",minute:"մեկ րոպե առաջ",minutes:function(e){return rpi.Time.declineNum(Math.round(e),"րոպե առաջ","րոպե առաջ","րոպե առաջ")},hour:"մեկ ժամ առաջ",hours:function(e){return rpi.Time.declineNum(Math.round(e),"ժամ առաջ","ժամ առաջ","ժամ առաջ")},day:"մեկ օր առաջ",days:function(e){return rpi.Time.declineNum(Math.round(e),"օր առաջ","օր առաջ","օր առաջ")},month:"մեկ ամիս առաջ",months:function(e){return rpi.Time.declineNum(Math.floor(e/30),"ամիս առաջ","ամիս առաջ","ամիս առաջ")},year:"մեկ տարի առաջ",years:function(e){return rpi.Time.declineNum(Math.round(e),"տարի առաջ","տարի առաջ","տարի առաջ")}},fr:{second:"tout à l'heure",minute:"environ une minute",minutes:function(e){return Math.round(e)+" minutes"},hour:"environ une heure",hours:function(e){return"environ "+Math.round(e)+" heures"},day:"un jour",days:function(e){return Math.round(e)+" jours"},month:"environ un mois",months:function(e){return Math.floor(e/30)+" mois"},year:"environ un an",years:function(e){return Math.round(e)+" ans"}},es:{second:"ahora",minute:"hace un minuto",minutes:function(e){return"hace "+Math.round(e)+" minuts"},hour:"hace una hora",hours:function(e){return"hace "+Math.round(e)+" horas"},day:"hace un dia",days:function(e){return"hace "+Math.round(e)+" días"},month:"hace un mes",months:function(e){return"hace "+Math.floor(e/30)+" meses"},year:"hace años",years:function(e){return"hace "+Math.round(e)+" años"}},el:{second:"λιγότερο από ένα λεπτό",minute:"γύρω στο ένα λεπτό",minutes:function(e){return Math.round(e)+" minutes"},hour:"γύρω στην μια ώρα",hours:function(e){return"about "+Math.round(e)+" hours"},day:"μια μέρα",days:function(e){return Math.round(e)+" days"},month:"γύρω στον ένα μήνα",months:function(e){return Math.floor(e/30)+" months"},year:"γύρω στον ένα χρόνο",years:function(e){return Math.round(e)+" years"}},de:{second:"soeben",minute:"vor einer Minute",minutes:function(e){return"vor "+Math.round(e)+" Minuten"},hour:"vor einer Stunde",hours:function(e){return"vor "+Math.round(e)+" Stunden"},day:"vor einem Tag",days:function(e){return"vor "+Math.round(e)+" Tagen"},month:"vor einem Monat",months:function(e){return"vor "+Math.floor(e/30)+" Monaten"},year:"vor einem Jahr",years:function(e){return"vor "+Math.round(e)+" Jahren"}},be:{second:"менш за хвіліну таму",minute:"хвіліну таму",minutes:function(e){return rpi.Time.declineNum(Math.round(e),"хвіліна таму","хвіліны таму","хвілін таму")},hour:"гадзіну таму",hours:function(e){return rpi.Time.declineNum(Math.round(e),"гадзіну таму","гадзіны таму","гадзін таму")},day:"дзень таму",days:function(e){return rpi.Time.declineNum(Math.round(e),"дзень таму","дні таму","дзён таму")},month:"месяц таму",months:function(e){return rpi.Time.declineNum(Math.floor(e/30),"месяц таму","месяца таму","месяцаў таму")},year:"год таму",years:function(e){return rpi.Time.declineNum(Math.round(e),"год таму","гады таму","год таму")}},it:{second:"proprio ora",minute:"un minuto fa",minutes:function(e){return rpi.Time.declineNum(Math.round(e),"un minuto fa","minuti fa","minuti fa")},hour:"un'ora fa",hours:function(e){return rpi.Time.declineNum(Math.round(e),"un'ora fa","ore fa","ore fa")},day:"un giorno fa",days:function(e){return rpi.Time.declineNum(Math.round(e),"un giorno fa","giorni fa","giorni fa")},month:"un mese fa",months:function(e){return rpi.Time.declineNum(Math.floor(e/30),"un mese fa","mesi fa","mesi fa")},year:"un anno fa",years:function(e){return rpi.Time.declineNum(Math.round(e),"un anno fa","anni fa","anni fa")}},tr:{second:"az önce",minute:"dakika önce",minutes:function(e){return Math.round(e)+" dakika önce"},hour:"saat önce",hours:function(e){return Math.round(e)+" saat önce"},day:"gün önce",days:function(e){return Math.round(e)+" gün önce"},month:"ay önce",months:function(e){return Math.floor(e/30)+" ay önce"},year:"yıl önce",years:function(e){return Math.round(e)+" yıl önce"}},nb:{second:"nå nettopp",minute:"ett minutt siden",minutes:function(e){return Math.round(e)+" minutter siden"},hour:"en time siden",hours:function(e){return Math.round(e)+" timer siden"},day:"en dag siden",days:function(e){return Math.round(e)+" dager siden"},month:"en måned siden",months:function(e){return Math.floor(e/30)+" måneder siden"},year:"ett år siden",years:function(e){return Math.round(e)+" år siden"}},da:{second:"lige nu",minute:"et minut siden",minutes:function(e){return Math.round(e)+" minutter siden"},hour:"en time siden",hours:function(e){return Math.round(e)+" timer siden"},day:"en dag siden",days:function(e){return Math.round(e)+" dage siden"},month:"en måned siden",months:function(e){return Math.floor(e/30)+" måneder siden"},year:"et år siden",years:function(e){return Math.round(e)+" år siden"}},nl:{second:"zojuist",minute:"minuten geleden",minutes:function(e){return Math.round(e)+" minuten geleden"},hour:"uur geleden",hours:function(e){return Math.round(e)+" uur geleden"},day:"1 dag geleden",days:function(e){return Math.round(e)+" dagen geleden"},month:"maand geleden",months:function(e){return Math.floor(e/30)+" maanden geleden"},year:"jaar geleden",years:function(e){return Math.round(e)+" jaar geleden"}},ca:{second:"ara mateix",minute:"fa un minut",minutes:function(e){return"fa "+Math.round(e)+" minuts"},hour:"fa una hora",hours:function(e){return"fa "+Math.round(e)+" hores"},day:"fa un dia",days:function(e){return"fa "+Math.round(e)+" dies"},month:"fa un mes",months:function(e){return"fa "+Math.floor(e/30)+" mesos"},year:"fa un any",years:function(e){return"fa "+Math.round(e)+" anys"}},sv:{second:"just nu",minute:"en minut sedan",minutes:function(e){return Math.round(e)+" minuter sedan"},hour:"en timme sedan",hours:function(e){return Math.round(e)+" timmar sedan"},day:"en dag sedan",days:function(e){return Math.round(e)+" dagar sedan"},month:"en månad sedan",months:function(e){return Math.floor(e/30)+" månader sedan"},year:"ett år sedan",years:function(e){return Math.round(e)+" år sedan"}},pl:{second:"właśnie teraz",minute:"minutę temu",minutes:function(e){return Math.round(e)+" minut temu"},hour:"godzinę temu",hours:function(e){return Math.round(e)+" godzin temu"},day:"wczoraj",days:function(e){return Math.round(e)+" dni temu"},month:"miesiąc temu",months:function(e){return Math.floor(e/30)+" miesięcy temu"},year:"rok temu",years:function(e){return Math.round(e)+" lat temu"}},pt:{second:"agora",minute:"1 minuto atrás",minutes:function(e){return Math.round(e)+" minutos atrás"},hour:"1 hora atrás",hours:function(e){return Math.round(e)+" horas atrás"},day:"1 dia atrás",days:function(e){return Math.round(e)+" dias atrás"},month:"1 mês atrás",months:function(e){return Math.floor(e/30)+" meses atrás"},year:"1 ano atrás",years:function(e){return Math.round(e)+" anos atrás"}},hu:{second:"épp az imént",minute:"1 perccel ezelőtt",minutes:function(e){return Math.round(e)+" perccel ezelőtt"},hour:"órával ezelőtt",hours:function(e){return Math.round(e)+" órával ezelőtt"},day:"nappal ezelőtt",days:function(e){return Math.round(e)+" nappal ezelőtt"},month:"hónappal ezelőtt",months:function(e){return Math.floor(e/30)+" hónappal ezelőtt"},year:"évvel ezelőtt",years:function(e){return Math.round(e)+" évvel ezelőtt"}},fi:{second:"juuri nyt",minute:"minuutti sitten",minutes:function(e){return Math.round(e)+" minuuttia sitten"},hour:"tunti sitten",hours:function(e){return Math.round(e)+" tuntia sitten"},day:"päivä sitten",days:function(e){return Math.round(e)+" päivää sitten"},month:"kuukausi sitten",months:function(e){return Math.floor(e/30)+" kuukautta sitten"},year:"vuosi sitten",years:function(e){return Math.round(e)+" vuotta sitten"}},he:{second:"הרגע",minute:"לפני דקה",minutes:function(e){return"לפני "+Math.round(e)+" דקות"},hour:"לפני שעה",hours:function(e){return"לפני "+Math.round(e)+" שעות"},day:"לפני יום",days:function(e){return"לפני "+Math.round(e)+" ימים"},month:"לפני חודש",months:function(e){return 2==Math.floor(e/30)?"לפני חודשיים":"לפני "+Math.floor(e/30)+" חודשים"},year:"לפני שנה",years:function(e){return"לפני "+Math.round(e)+" שנים"}},bg:{second:"в момента",minute:"преди 1 минута",minutes:function(e){return"преди "+Math.round(e)+" минути"},hour:"преди 1 час",hours:function(e){return"преди "+Math.round(e)+" часа"},day:"преди 1 ден",days:function(e){return"преди "+Math.round(e)+" дни"},month:"преди 1 месец",months:function(e){return"преди "+Math.floor(e/30)+" месеца"},year:"преди 1 година",years:function(e){return"преди "+Math.round(e)+" години"}},sk:{second:"práve teraz",minute:"pred minútov",minutes:function(e){return"pred "+Math.round(e)+" minútami"},hour:"pred hodinou",hours:function(e){return"pred "+Math.round(e)+" hodinami"},day:"včera",days:function(e){return"pred "+Math.round(e)+" dňami"},month:"pred mesiacom",months:function(e){return"pred "+Math.floor(e/30)+" mesiacmi"},year:"pred rokom",years:function(e){return"pred "+Math.round(e)+" rokmi"}},lo:{second:"ວັ່ງກີ້ນີ້",minute:"ໜຶ່ງນາທີກ່ອນ",minutes:function(e){return Math.round(e)+" ນາທີກ່ອນ"},hour:"ໜຶ່ງຊົ່ວໂມງກ່ອນ",hours:function(e){return Math.round(e)+" ົ່ວໂມງກ່ອນ"},day:"ໜຶ່ງມື້ກ່ອນ",days:function(e){return Math.round(e)+" ມື້ກ່ອນ"},month:"ໜຶ່ງເດືອນກ່ອນ",months:function(e){return Math.floor(e/30)+" ເດືອນກ່ອນ"},year:"ໜຶ່ງປີກ່ອນ",years:function(e){return Math.round(e)+" ປີກ່ອນ"}},sl:{second:"pravkar",minute:"pred eno minuto",minutes:function(e){return"pred "+Math.round(e)+" minutami"},hour:"pred eno uro",hours:function(e){return"pred "+Math.round(e)+" urami"},day:"pred enim dnem",days:function(e){return"pred "+Math.round(e)+" dnevi"},month:"pred enim mesecem",months:function(e){return"pred "+Math.floor(e/30)+" meseci"},year:"pred enim letom",years:function(e){return"pred "+Math.round(e)+" leti"}},et:{second:"just nüüd",minute:"minut tagasi",minutes:function(e){return Math.round(e)+" minutit tagasi"},hour:"tund tagasi",hours:function(e){return Math.round(e)+" tundi tagasi"},day:"päev tagasi",days:function(e){return Math.round(e)+" päeva tagasi"},month:"kuu aega tagasi",months:function(e){return Math.floor(e/30)+" kuud tagasi"},year:"aasta tagasi",years:function(e){return Math.round(e)+" aastat tagasi"}},ja:{second:"たった今",minute:"1分前",minutes:function(e){return Math.round(e)+"分前"},hour:"1時間前",hours:function(e){return Math.round(e)+"時間前"},day:"1日前",days:function(e){return Math.round(e)+"日前"},month:"1ヶ月前",months:function(e){return Math.floor(e/30)+"ヶ月前"},year:"1年前",years:function(e){return Math.round(e)+"年前"}}},(rpi=rpi||{}).Utils={__:function(e,n){return n&&n[e]||e},isVisible:function(e){return!!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)&&"hidden"!==window.getComputedStyle(e).visibility},isRTL:function(){return"rtl"==(window.getComputedStyle?window.getComputedStyle(document.body,null).getPropertyValue("direction"):document.body.currentStyle.direction)},getParent:function(e,n){if(n=n||"rplg",e.className.split(" ").indexOf(n)<0)for(;(e=e.parentElement)&&e.className.split(" ").indexOf(n)<0;);return e},lang:function(){var e=navigator;return(e.language||e.systemLanguage||e.userLanguage||"en").substr(0,2).toLowerCase()},popup:function(e,n,t){var r=document.documentElement;return e=window.open(e,"","scrollbars=yes, width="+n+", height="+t+", top="+((window.innerHeight||r.clientHeight||screen.height)/2-t/2+(null!=window.screenTop?window.screenTop:window.screenY))+", left="+((window.innerWidth||r.clientWidth||screen.width)/2-n/2+(null!=window.screenLeft?window.screenLeft:window.screenX))),window.focus&&e.focus(),e},ajax:function(e,n,t){const r=new XMLHttpRequest;r.open(n,e,!0),r.setRequestHeader("Content-Type","application/json"),r.onreadystatechange=function(){r.readyState!==XMLHttpRequest.DONE&&r.readyState!==r.DONE||200!==r.status||t(JSON.parse(r.responseText))},r.send()},anchor:function(e,n,t){let r=[];return t.open_link&&r.push("noopener"),t.nofollow_link&&r.push("nofollow"),r=r.length?'rel="'+r.join(" ")+'"':"",'<a href="'+e+'" '+(t.open_link?'target="_blank"':"")+" "+r+">"+n+"</a>"},rm:function(e){e&&e.parentNode&&e.parentNode.removeChild(e)},capit:function(e){return e.charAt(0).toUpperCase()+e.slice(1)}},(rpi=rpi||{}).Column=function(e,i,t){const n=new RegExp(t.col+"-[xsml]+"),r=new RegExp("$|(."+t.card+"\\s*{\\s*--col:\\s*\\d+\\s*!important\\s*;?(\\s*--gap:\\s*\\d+\\s*!important;?)?})"),o=e.getElementsByClassName(t.cnt)[0];return This={init:function(e,n){rpi.Utils.isVisible(o)?(e&&e(),This.resize(),window.addEventListener("resize",This.resize),n&&n(),rpi.Instances=rpi.Instances||[],rpi.Instances.push(This)):setTimeout(This.init,300)},resize:function(){var e=This.getSize();if(o.className=o.className.replace(n,t.col+"-"+e),i.breakpoints){let n=o.offsetWidth,t=i.breakpoints.split(",");t.sort(This.brsort);for(let e=0;e<t.length;e++){var r=t[e].split(":");if(n<parseInt(r[0])){This.setCol(r[1]);break}}}return e},getSize:function(){var e=o.offsetWidth;return e<510?"xs":e<750?"x":e<1100?"s":e<1450?"m":e<1800?"l":"xl"},setCol:function(e){let n=this.getStyle();n.innerHTML=n.innerHTML.replace(r,"."+t.card+"{--col:"+e+"!important;--gap:"+(e-1)+"!important}")},getCol:function(){var e=this.getStyle().innerHTML.match(/--col:\s*(\d+)/);return!!(e&&1<e.length)&&e[1]},getStyle:function(){let e=document.getElementById("rpi-style");return e||(e=document.createElement("style"),e.id="rpi-style",document.head.appendChild(e)),e},brsort:function(e,n){return parseInt(e.split(":")[0])>parseInt(n.split(":")[0])?1:-1},clear:function(){window.removeEventListener("resize",This.resize)}}},(rpi=rpi||{}).Common=function(r,i,o){var u=null;return u={init:function(){for(var e=r.getElementsByClassName(o.time),n=r.getElementsByClassName(o.text),t=0;t<e.length;t++)e[t].innerHTML=u.time(e[t].getAttribute("data-time"),i.time_format);for(e=0;e<n.length;e++)(t=n[e])&&t.innerHTML&&(t.innerHTML=u.trimtext(t.innerHTML,i.text_size,i.trans),t=t.getElementsByClassName(o.readmore)[0])&&(t.onclick=u.opentext)},initOnce:function(e){var n=e.getElementsByClassName(o.time)[0];e=e.getElementsByClassName(o.text)[0],n&&(n.innerHTML=u.time(n.getAttribute("data-time"),i.time_format)),e&&e.innerHTML&&(e.innerHTML=u.trimtext(e.innerHTML,i.text_size,i.trans),n=e.getElementsByClassName(o.readmore)[0])&&(n.onclick=u.opentext)},time:function(e,n){return n?e:rpi.Time.getTimeAgo(1e3*parseInt(e),rpi.Utils.lang())},trimtext:function(e,n,t){if(e&&n&&e.length>n){var r=e.substring(0,n).indexOf(" ")+1;(r<1||n/2<n-r)&&(r=n);var i=n="";return 0<r&&(n=e.substring(0,r-1),i=e.substring(r-1,e.length)),n+(i?'<span class="rpi-s">... </span><input type="hidden" value="'+i+'"></input><span class="'+o.readmore+'">'+rpi.Utils.__("read more",t)+"</span>":"")}return e},opentext:function(){let e=this.parentNode,n=this.previousSibling,t=this.previousSibling.previousSibling,r=n.value;rpi.Utils.rm(n),rpi.Utils.rm(t),rpi.Utils.rm(this),e.innerHTML+=r}}},(rpi=rpi||{}).Slider=function(e,o,r,i){e.getAttribute("data-id");const u=e.getElementsByClassName(r.cnt)[0],n=e.getElementsByClassName(r.content)[0],a=n.getElementsByClassName(r.cards)[0],t=n.getElementsByClassName(r.dotsWrap)[0],s=n.getElementsByClassName(r.dots)[0],d=parseInt(u.getAttribute("data-count"));var m=null,c=n.getElementsByClassName(r.card),l="",h="",f=null,p=null,g=null,M=null,y=!1,v=!1,w=0,T=0;return m={init:function(e,n){rpi.Utils.isVisible(u)?(e&&e(),m.resize(),m.actions(),c.length&&m.swipeAutoStart(),n&&n(),rpi.Instances=rpi.Instances||[],rpi.Instances.push(m)):setTimeout(m.init,300)},resize:function(e){var n=i.column.resize(),t=i.column.getCol();e&&a.scrollLeft!=e*m.reviewWidth()&&a.scrollTo(c[e].offsetLeft,0),!c.length||l==n&&h==t||(m.hasDots()&&(m.dotsInit(),m.dotSwipe(e,!0)),l=n,h=t)},actions:function(){o.mousestop&&m.addMouseEvents(),window.addEventListener("resize",m.resizeListener),a&&(a.addEventListener("scroll",m.scrollListener,!1),o.wheelscroll&&n.addEventListener("wheel",m.wheelListener,!1));var e=u.getElementsByClassName(r.btnPrev)[0];e&&(e.onclick=function(e){m.btnClick(-1)}),(e=u.getElementsByClassName(r.btnNext)[0])&&(e.onclick=function(e){m.btnClick(1)})},resizeListener:function(){var e=T;clearTimeout(f),f=setTimeout(m.resize,150,e)},scrollListener:function(){clearTimeout(p),clearTimeout(g),g=setTimeout(m.scrollEnd,150)},wheelListener:function(e){var n=e.target;if((n=-1<n.className.indexOf(r.text)?n:-1<n.parentNode.className.indexOf(r.text)?n.parentNode:null)&&n.scrollHeight>n.clientHeight)return!0;e.preventDefault(),w++,clearTimeout(M),M=setTimeout(m.wheelEnd,150,e)},addMouseEvents:function(){u.addEventListener("mouseover",m.mouseOver,!1),u.addEventListener("mouseleave",m.mouseLeave,!1)},delMouseEvents:function(){u.removeEventListener("mouseover",m.mouseOver),u.removeEventListener("mouseleave",m.mouseLeave)},mouseOver:function(){y=1,m.swipeAutoStop()},mouseLeave:function(){y=0,m.swipeAutoStart()},btnClick:function(e){m.swipeManual(e*m.swipePerBtn())},wheelEnd:function(e){m.swipeManual(Math.sign(e.wheelDelta)*w*m.swipeStep()),w=0},scrollEnd:function(){T=m.reviewsIdx(),v?v=!1:m.loadNextReviews(),(!o.mousestop||y)&&o.mousestop||(!o.clickstop||v)&&o.clickstop||m.swipeAutoStart(),m.hasDots()&&m.dotSwipe(void 0,!0)},loadNextReviews:function(e){e=e?m.reviewsIdx()+parseInt(e):m.hasDots()&&(e=s.getElementsByClassName("active")[0])?parseInt(e.getAttribute("data-index"))*m.swipePerDot():m.reviewsIdx(),0<(e=m.getAjaxSize(e))&&i.view.loadNextReviews(e)},getAjaxSize:function(e){let n=0;var t=parseInt(u.getAttribute("data-offset")),r=parseInt(o.pagination),i;return d>t&&(i=e-t,Math.abs(i)<3*m.swipePerDot()?n=r:i&&(n=Math.ceil(e/r)*r-t)),0<(e=t+n-d)?n-e:n},dotsInit:function(){if(s){var e=Math.round(d/m.swipePerDot());s.innerHTML="";for(let n=0;n<e;n++){let e=document.createElement("div");e.className=r.dot,e.setAttribute("data-index",n),e.setAttribute("title",n),e.onclick=m.dotClick,s.appendChild(e)}m.dotsPadding()}},dotClick:function(){var e=parseInt(this.getAttribute("data-index")),n=s.getElementsByClassName("active")[0],n=parseInt(n.getAttribute("data-index"));m.swipeManual(Math.abs(e-n)*m.swipePerDot()*Math.sign(e-n))},dotsPadding:function(){var e=t.getBoundingClientRect().height;u.style.paddingBottom=e+"px"},dotSwipe:function(e,n){e=(e=Math.round((void 0!==e?e:m.reviewsIdx())/m.swipePerDot()))<0?0:e>=s.childNodes.length?s.childNodes.length-1:e,e=s.querySelector("."+r.dot+'[data-index="'+e+'"]');var t=s.getElementsByClassName("active")[0];m.dotActivate(t,e),m.dotScroll(e,n)},dotScroll:function(e,n){var t=Math.round(s.scrollWidth/s.childNodes.length),r=Math.floor(Math.round(s.offsetWidth/t)/2);n?s.scrollTo(e.offsetLeft-r*t,0):s.scrollTo({left:e.offsetLeft-r*t,behavior:"smooth"})},dotActivate:function(e,n){e&&(e.classList.remove("active"),e.classList.remove("s1"),e.previousSibling&&(e.previousSibling.classList.remove("s2"),e.previousSibling.previousSibling&&e.previousSibling.previousSibling.classList.remove("s3")),e.nextSibling&&(e.nextSibling.classList.remove("s2"),e.nextSibling.nextSibling&&e.nextSibling.nextSibling.classList.remove("s3"))),n&&(n.classList.add("active"),n.classList.add("s1"),n.previousSibling&&(n.previousSibling.classList.add("s2"),n.previousSibling.previousSibling&&n.previousSibling.previousSibling.classList.add("s3")),n.nextSibling&&(n.nextSibling.classList.add("s2"),n.nextSibling.nextSibling&&n.nextSibling.nextSibling.classList.add("s3")))},swipeManual:function(e){v=!0,m.loadNextReviews(e),m.scroll(e),o.clickstop&&(m.swipeAutoStop(),m.delMouseEvents())},swipeAuto:function(){var e;m.isScrollEnd()?m.scroll(-(d-m.reviewsPerView())):(e=m.swipeStep()<m.reviewsAhead()?m.swipeStep():m.reviewsAhead(),m.scroll(e)),m.swipeAutoStart()},scroll:function(e){e=m.reviewsIdx()+parseInt(e);let n=rpi.Utils.isRTL()?e+m.reviewsPerView()-1:e;n=n<0?0:n>=c.length?c.length-1:n,-1<n&&n<c.length&&(a.scrollTo({left:c[n].offsetLeft,behavior:"smooth"}),m.hasDots()&&m.dotSwipe(e))},swipeAutoStart:function(){o.autoplay&&(p=setTimeout(m.swipeAuto,1e3*parseInt(o.speed)))},swipeAutoStop:function(){clearTimeout(p),g&&setTimeout(function(){clearTimeout(g)},100)},isScrollEnd:function(){var e,n=(e=a.querySelector("."+r.card+":last-child")).getBoundingClientRect(),e=e.parentNode.getBoundingClientRect();return(Math.abs(e.left-n.left)<2||e.left<=n.left)&&n.left<e.right&&(Math.abs(e.right-n.right)<2||e.right>=n.right)&&n.right>e.left},swipeStep:function(){return o.swipe_step||m.reviewsPerView()},swipePerBtn:function(){return o.swipe_per_btn||m.reviewsPerView()},swipePerDot:function(){return o.swipe_per_dot||m.reviewsPerView()},reviewWidth:function(){return Math.round(a.scrollWidth/c.length)},reviewHeight:function(){return c[0].offsetHeight},reviewsPerView:function(){return Math.round(a.offsetWidth/m.reviewWidth())},reviewsIdx:function(){var e=rpi.Utils.isRTL()?-a.scrollLeft:a.scrollLeft;return Math.round(e/m.reviewWidth())},reviewsAhead:function(){return c.length-(m.reviewsIdx()+m.reviewsPerView())},hasDots:function(){return s&&!o.hide_dots&&0<m.swipePerDot()},clear:function(){clearTimeout(f),clearTimeout(p),clearTimeout(g),clearTimeout(M),window.removeEventListener("resize",m.resizeListener),a.removeEventListener("scroll",m.scrollListener),n.removeEventListener("wheel",m.wheelListener)}}},document.addEventListener("DOMContentLoaded",function(){var n=document.querySelectorAll('.wp-gr[data-exec="false"]');for(let e=0;e<n.length;e++){var t=n[e];grw_init(t,t.getAttribute("data-layout"))}});
jQuery(document).ready(function(p){let u="",m="",h="",b="",v="",x="";jQuery(".ult-responsive").each(function(e,a){let t=jQuery(this),i=t.attr("data-responsive-json-new"),s=t.data("ultimate-target"),l="",n="",r="",d="",c="",o="";void 0===i&&null==i||p.each(p.parseJSON(i),function(e,a){const i=e;void 0!==a&&null!=a&&(a=a.split(";"),jQuery.each(a,function(e,a){if(void 0!==a||null!=a){var t=a.split(":");switch(t[0]){case"large_screen":l+=i+":"+t[1]+";";break;case"desktop":n+=i+":"+t[1]+";";break;case"tablet":r+=i+":"+t[1]+";";break;case"tablet_portrait":d+=i+":"+t[1]+";";break;case"mobile_landscape":c+=i+":"+t[1]+";";break;case"mobile":o+=i+":"+t[1]+";"}}}))}),""!=o&&(x+=s+"{"+o+"}"),""!=c&&(v+=s+"{"+c+"}"),""!=d&&(b+=s+"{"+d+"}"),""!=r&&(h+=s+"{"+r+"}"),""!=n&&(m+=s+"{"+n+"}"),""!=l&&(u+=s+"{"+l+"}")});var e="<style>/** Ultimate: Media Responsive **/ ";e+=m,e+="@media (max-width: 1199px) { "+h+"}",e+="@media (max-width: 991px)  { "+b+"}",e+="@media (max-width: 767px)  { "+v+"}",e+="@media (max-width: 479px)  { "+x+"}",e+="/** Ultimate: Media Responsive - **/</style>",jQuery("head").append(e)});
!function(c){"use strict";function r(t,e){var i,s;i=parseInt(e.outerHeight()),t.css("padding-top",(s=i/2)+"px"),t.parent().css("margin-top",s+20+"px"),e.css("top",-i+"px")}function o(t){0<t.find(".timeline-icon-block").length&&c(".timeline-block").each(function(t,e){const i=c(this).find(".timeline-header-block"),s=c(this).find(".timeline-icon-block");s.css({position:"absolute"});var r=s.outerHeight(),o=s.outerWidth(),a=-o/2;parseInt(i.find(".timeline-header").css("padding-left").replace(/[^\d.]/g,""));c(this).hasClass("timeline-post-left")?(s.css({left:a,right:"auto"}),jQuery("body").hasClass("rtl")&&s.css({left:"auto",right:a})):c(this).hasClass("timeline-post-right")&&(s.css({left:"auto",right:a}),jQuery("body").hasClass("rtl")&&s.css({left:a,right:"auto"}));a=i.height();s.css({top:a/2-r/2});a=s.offset().left,r=c(window).width();(a<0||r<a+o)&&(s.css({position:"relative",top:"auto",left:"auto",right:"auto","text-align":"center"}),s.children().children().css({margin:"10px auto"}),i.css({padding:"0"}))})}function i(){jQuery(".ult-animation").each(function(){if(jQuery(this).attr("data-animate")){var e=jQuery(this).children("*");const o=jQuery(this).attr("data-animate"),t=jQuery(this).attr("data-animation-duration")+"s",s=jQuery(this).attr("data-animation-iteration"),r=jQuery(this).attr("data-animation-delay"),a=(jQuery(this).attr("data-opacity_start_effect"),"opacity:1;-webkit-animation-delay:"+r+"s;-webkit-animation-duration:"+t+";-webkit-animation-iteration-count:"+s+"; -moz-animation-delay:"+r+"s;-moz-animation-duration:"+t+";-moz-animation-iteration-count:"+s+"; animation-delay:"+r+"s;animation-duration:"+t+";animation-iteration-count:"+s+";");var i="opacity:1;-webkit-transition-delay: "+r+"s; -moz-transition-delay: "+r+"s; transition-delay: "+r+"s;";if(n(jQuery(this))){let t=jQuery(this).attr("style");void 0===t&&(t="test"),t=t.replace(/ /g,""),"opacity:0;"==t&&0!==t.indexOf(i)&&jQuery(this).attr("style",i),jQuery.each(e,function(t,e){const i=jQuery(e);let s=i.attr("style");void 0===s&&(s="test");let r="";r=0==s.indexOf(a)?s:a+s,i.attr("style",r),n(i)&&i.addClass("animated").addClass(o)})}}})}function n(t){var e,i=jQuery(window).scrollTop(),s=jQuery(window).height();e=void 0===(e=jQuery(t).hasClass("ult-animate-viewport")?jQuery(t).data("opacity_start_effect"):e)||""==e?2:100-e;jQuery(t).outerHeight();return jQuery(t).offset().top-i<=s-s*(e/100)}function a(){const t=jQuery(".ult-new-ib");t.each(function(t,e){const i=jQuery(this);var s,r;i.hasClass("ult-ib-resp")&&(s=jQuery(document).width(),r=i.data("min-width"),s<=i.data("max-width")&&r<=s?i.find(".ult-new-ib-content").hide():i.find(".ult-new-ib-content").show())})}c.fn.vc_translate_row=function(){const u=c(window).scrollTop(),l=c(window).height();c(this).each(function(t,e){let i=c(e).attr("data-row-effect-mobile-disable");if(i=void 0===i?"false":i.toString(),"false"==("true"==(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?"true":"false")&&"true"==i?"true":"false")){var s=c(e).outerHeight(),r=c(e).offset().top-u,o=r+s,a=c(e).attr("data-parallax-content-sense")/100,n=0;o<=l-0*l&&r<=0&&!((n=s>l?(l-o)*a:-r*a)<0)||(n=0);c(e).find(".vc-row-translate-wrapper").children().each(function(t,e){jQuery(e).is(".upb_row_bg,.upb_video-wrapper,.ult-vc-seperator,.ult-easy-separator-wrapper")||c(e).css({transform:"translate3d(0,"+n+"px,0)","-webkit-transform":"translate3d(0,"+n+"px,0)","-ms-transform":"translate3d(0,"+n+"px,0)"})})}})},c.fn.vc_fade_row=function(){const a=c(window).scrollTop(),n=c(window).height();c(this).each(function(t,e){let i=c(e).attr("data-row-effect-mobile-disable");if(i=void 0===i?"false":i.toString(),"false"==("true"==(/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?"true":"false")&&"true"==i?"true":"false")){var s=100-(s=c(e).data("fadeout-percentage")),r=c(e).outerHeight(),o=c(e).offset().top-a+r;let i=1;r=n-n*(s/100),s=(r-o)/r*1;0<s&&(i=1-s),o<=r?(i<0?i=0:1<i&&(i=1),c(e).children().each(function(t,e){c(e).is(".upb_row_bg,.upb_video-wrapper,.ult-vc-seperator")||c(e).css({opacity:i})})):c(e).children().each(function(t,e){c(e).css({opacity:i})})}})},jQuery(document).ready(function(){!function(){let n="";c(".ult-spacer").each(function(t,e){var i=c(e).data("id"),s=(c("body").width(),c(e).data("height-mobile")),r=c(e).data("height-mobile-landscape"),o=c(e).data("height-tab"),a=c(e).data("height-tab-portrait"),e=c(e).data("height");""!=e&&(n+=" .spacer-"+i+" { height:"+e+"px } "),""==o&&"0"!=o&&0!=o||(n+=" @media (max-width: 1199px) { .spacer-"+i+" { height:"+o+"px } } "),void 0===a||""==a&&"0"!=a&&0!=a||(n+=" @media (max-width: 991px) { .spacer-"+i+" { height:"+a+"px } } "),void 0===r||""==r&&"0"!=r&&0!=r||(n+=" @media (max-width: 767px) { .spacer-"+i+" { height:"+r+"px } } "),""==s&&"0"!=s&&0!=s||(n+=" @media (max-width: 479px) { .spacer-"+i+" { height:"+s+"px } } ")}),""!=n&&(n="<style>"+n+"</style>",c("head").append(n))}()}),jQuery(window).scroll(function(){var t=jQuery(".ult-no-mobile").length;/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&1<=t?jQuery(".ult-animation").css("opacity",1):i(),c(".vc-row-fade").vc_fade_row(),c(".vc-row-translate").vc_translate_row()}),jQuery(window).on("load",function(){jQuery(".ult-banner-block-custom-height").each(function(t,e){const i=jQuery(this).find("img");var s=jQuery(this).width(),r=jQuery(this).height();i.width();r<s&&i.css({width:"100%",height:"auto"})}),jQuery(".ult-new-ib").each(function(t,e){("ontouchstart"in window||0<navigator.MaxTouchPoints||0<navigator.msMaxTouchPoints)&&jQuery(this).find(".ult-new-ib-link").click(function(t){t.preventDefault();const e=jQuery(this).attr("href");let i=jQuery(this).data("touch-delay");null==i&&(i=200),setTimeout(function(){window.location=e},i)})});let t=0,e=0;const i=function(){jQuery(".ifb-jq-height").each(function(){jQuery(this).find(".ifb-back").css("height","auto"),jQuery(this).find(".ifb-front").css("height","auto");var t=parseInt(jQuery(this).find(".ifb-front > div").outerHeight(!0)),e=parseInt(jQuery(this).find(".ifb-back > div").outerHeight(!0)),e=e<t?t:e;jQuery(this).find(".ifb-front").css("height",e+"px"),jQuery(this).find(".ifb-back").css("height",e+"px"),(jQuery(this).hasClass("vertical_door_flip")||jQuery(this).hasClass("horizontal_door_flip")||jQuery(this).hasClass("style_9"))&&jQuery(this).find(".ifb-flip-box").css("height",e+"px")}),jQuery(".ifb-auto-height").each(function(){var t,e;(jQuery(this).hasClass("horizontal_door_flip")||jQuery(this).hasClass("vertical_door_flip"))&&(t=parseInt(jQuery(this).find(".ifb-front > div").outerHeight()),e=(e=parseInt(jQuery(this).find(".ifb-back > div").outerHeight()))<t?t:e,jQuery(this).find(".ifb-flip-box").css("height",e+"px"))})};-1!=navigator.userAgent.indexOf("Safari")&&-1==navigator.userAgent.indexOf("Chrome")?setTimeout(function(){i()},500):i(),jQuery(document).on("ultAdvancedTabClicked",function(t,e){i()}),jQuery(window).resize(function(){t++,setTimeout(function(){e++,t==e&&i()},500)});let s=0;jQuery(window).resize(function(){a(),jQuery(".csstime.smile-icon-timeline-wrap").each(function(){o(jQuery(this))}),c(".jstime .timeline-wrapper").each(function(){o(jQuery(this))}),"none"==jQuery(".smile-icon-timeline-wrap.jstime .timeline-line").css("display")?0===s&&(c(".jstime .timeline-wrapper").masonry("destroy"),s=1):1==s&&(jQuery(".jstime .timeline-wrapper").masonry({itemSelector:".timeline-block"}),setTimeout(function(){jQuery(".jstime .timeline-wrapper").masonry({itemSelector:".timeline-block",width:"401px"}),jQuery(this).find(".timeline-block").each(function(){jQuery(this).css("left","initial"),"0px"==jQuery(this).css("left")?jQuery(this).addClass("timeline-post-left"):jQuery(this).addClass("timeline-post-right")}),s=0},300))}),c(".smile-icon-timeline-wrap").each(function(){var t=jQuery(this).data("timeline-cutom-width");t&&jQuery(this).css("width",2*t+40+"px");parseInt(jQuery(this).width()),parseInt(jQuery(this).find(".timeline-block").width());c(".jstime .timeline-wrapper").each(function(){jQuery(this).masonry({itemSelector:".timeline-block"})}),setTimeout(function(){c(".jstime .timeline-wrapper").each(function(){jQuery(this).find(".timeline-block").each(function(){"0px"==jQuery(this).css("left")?jQuery(this).addClass("timeline-post-left"):jQuery(this).addClass("timeline-post-right"),o(jQuery(this))}),jQuery(".timeline-block").each(function(){var t=parseInt(jQuery(this).css("top"))-parseInt(jQuery(this).next().css("top"));t<14&&0<t||0==t?jQuery(this).next().addClass("time-clash-right"):-14<t&&jQuery(this).next().addClass("time-clash-left")})}),jQuery(".timeline-post-right").each(function(){var t=jQuery(this).find(".timeline-icon-block").clone();jQuery(this).find(".timeline-icon-block").remove(),jQuery(this).find(".timeline-header-block").after(t)}),jQuery(".smile-icon-timeline-wrap").each(function(){var t=jQuery(this).data("time_block_bg_color");jQuery(this).find(".timeline-block").css("background-color",t),jQuery(this).find(".timeline-post-left.timeline-block l").css("border-left-color",t),jQuery(this).find(".timeline-post-right.timeline-block l").css("border-right-color",t),jQuery(this).find(".feat-item").css("background-color",t),0<jQuery(this).find(".feat-item").find(".feat-top").length?jQuery(this).find(".feat-item l").css("border-top-color",t):jQuery(this).find(".feat-item l").css("border-bottom-color",t),jQuery(".jstime.timeline_preloader").remove(),jQuery(this).find("div").hasClass("timeline-wrapper")?jQuery(this).css("opacity","1"):jQuery(this).remove()})},1e3),jQuery(this).find(".timeline-line ").next().hasClass("timeline-separator-text")||jQuery(this).find(".timeline-line").prepend("<span></span>");var t=jQuery(this).data("time_sep_color"),e=jQuery(this).data("time_sep_bg_color"),i=jQuery(".smile-icon-timeline-wrap .timeline-line").css("border-right-color");jQuery(this).find(".timeline-dot").css("background-color",e),jQuery(this).find(".timeline-line span").css("background-color",e),jQuery(this).find(".timeline-line span").css("background-color",e),jQuery(this).find(".timeline-separator-text").css("color",t),jQuery(this).find(".timeline-separator-text .sep-text").css("background-color",e),jQuery(this).find(".ult-timeline-arrow s").css("border-color","rgba(255, 255, 255, 0) "+i),jQuery(this).find(".feat-item .ult-timeline-arrow s").css("border-color",i+" rgba(255, 255, 255, 0)"),jQuery(this).find(".timeline-block").css("border-color",i),jQuery(this).find(".feat-item").css("border-color",i)})}),jQuery(document).ready(function(t){var e=jQuery(".ult-no-mobile").length;/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)&&1<=e?jQuery(".ult-animation").css("opacity",1):i(),a(),jQuery(".ubtn").on("mouseenter",function(){const t=jQuery(this);t.find(".ubtn-text").css("color",t.data("hover")),t.find(".ubtn-hover").css("background",t.data("hover-bg")).addClass("ubtn-hover-active");const e=""!=t.data("hover-bg")&&t.data("hover-bg");setTimeout(function(){!1!==e&&t.hasClass(".ubtn-fade-bg")&&t.css("background",t.data("hover-bg"))},150);let i=t.attr("style");var s;""!=t.data("shadow-hover")&&(t.css("box-shadow"),i+="box-shadow:"+t.data("shadow-hover")),t.attr("style",i),""!=t.data("border-hover")&&t.css("border-color",t.data("border-hover")),"none"!=t.data("shadow-click")&&(s=t.data("shd-shadow")-3,""!=t.is(".shd-left")?t.css({right:s}):""!=t.is(".shd-right")?t.css({left:s}):""!=t.is(".shd-top")?t.css({bottom:s}):""!=t.is(".shd-bottom")&&t.css({top:s}))}).on("mouseleave",function(){const t=jQuery(this);t.find(".ubtn-text").removeAttr("style"),t.find(".ubtn-hover").removeClass("ubtn-hover-active"),t.css("background",t.data("bg"));var e=t.data("border-color");let i=t.attr("style");""!=t.data("shadow-hover")&&(i+="box-shadow:"+t.data("shadow")),t.attr("style",i),""!=t.data("border-hover")&&t.css("border-color",e),"none"!=t.data("shadow-click")&&(t.removeClass("no-ubtn-shadow"),""!=t.is(".shd-left")?t.css({right:"auto"}):""!=t.is(".shd-right")?t.css({left:"auto"}):""!=t.is(".shd-top")?t.css({bottom:"auto"}):""!=t.is(".shd-bottom")&&t.css({top:"auto"}))}),jQuery(".ubtn").on("focus blur mousedown mouseup",function(t){const e=jQuery(this);"none"!=e.data("shadow-click")&&setTimeout(function(){e.is(":focus")?(e.addClass("no-ubtn-shadow"),""!=e.is(".shd-left")?e.css({right:e.data("shd-shadow")+"px"}):""!=e.is(".shd-right")?e.css({left:e.data("shd-shadow")+"px"}):""!=e.is(".shd-top")?e.css({bottom:e.data("shd-shadow")+"px"}):""!=e.is(".shd-bottom")&&e.css({top:e.data("shd-shadow")+"px"})):(e.removeClass("no-ubtn-shadow"),""!=e.is(".shd-left")?e.css({right:"auto"}):""!=e.is(".shd-right")?e.css({left:"auto"}):""!=e.is(".shd-top")?e.css({bottom:"auto"}):""!=e.is(".shd-bottom")&&e.css({top:"auto"}))},0)}),jQuery(".ubtn").focusout(function(){const t=jQuery(this);t.removeClass("no-ubtn-shadow"),""!=t.is(".shd-left")?t.css({right:"auto"}):""!=t.is(".shd-right")?t.css({left:"auto"}):""!=t.is(".shd-top")?t.css({bottom:"auto"}):""!=t.is(".shd-bottom")&&t.css({top:"auto"})}),jQuery(".smile-icon-timeline-wrap.jstime").css("opacity","0"),jQuery(".jstime.timeline_preloader").css("opacity","1"),jQuery(".smile-icon-timeline-wrap.csstime .timeline-wrapper").each(function(){jQuery(".csstime .timeline-block:even").addClass("timeline-post-left"),jQuery(".csstime .timeline-block:odd").addClass("timeline-post-right")}),jQuery(".csstime .timeline-post-right").each(function(){jQuery(this).css("float","right"),jQuery("<div style='clear:both'></div>").insertAfter(jQuery(this))}),jQuery(".csstime.smile-icon-timeline-wrap").each(function(){var t=jQuery(this).data("time_block_bg_color");jQuery(this).find(".timeline-block").css("background-color",t),jQuery(this).find(".timeline-post-left.timeline-block l").css("border-left-color",t),jQuery(this).find(".timeline-post-right.timeline-block l").css("border-right-color",t),jQuery(this).find(".feat-item").css("background-color",t),0<jQuery(this).find(".feat-item").find(".feat-top").length?jQuery(this).find(".feat-item l").css("border-top-color",t):jQuery(this).find(".feat-item l").css("border-bottom-color",t),o(jQuery(this))}),jQuery(".aio-icon, .aio-icon-img, .flip-box, .ultb3-info, .icon_list_icon, .ult-banner-block, .uavc-list-icon, .ult_tabs, .icon_list_connector").each(function(){if(jQuery(this).attr("data-animation")){const e=jQuery(this).attr("data-animation"),i="delay-"+jQuery(this).attr("data-animation-delay");if(void 0===e||""===e)return!1;t(this).bsf_appear(function(){const t=jQuery(this);t.addClass("animated").addClass(e),t.addClass("animated").addClass(i)})}}),jQuery(".stats-block").each(function(){t(this).bsf_appear(function(){var t=parseFloat(jQuery(this).find(".stats-number").data("counter-value"));const e=jQuery(this).find(".stats-number").data("counter-value")+" ";var i=parseInt(jQuery(this).find(".stats-number").data("speed")),s=jQuery(this).find(".stats-number").data("id"),r=jQuery(this).find(".stats-number").data("separator");let o=jQuery(this).find(".stats-number").data("decimal"),a=e.split(".");a=a[1]?a[1].length-1:0;let n=!0;"none"==o&&(o=""),n="none"!=r;r={useEasing:!0,useGrouping:n,separator:r,decimal:o};const u=new countUp(s,0,t,a,i,r);setTimeout(function(){u.start()},500)})}),/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)?jQuery(".ifb-flip-box").on("click",function(t){const e=jQuery(this);e.hasClass("ifb-hover")?e.removeClass("ifb-hover"):e.addClass("ifb-hover")}):jQuery(document).on("mouseenter mouseleave",".ifb-flip-box",function(t){const e=jQuery(this);e.hasClass("ifb-hover")?e.removeClass("ifb-hover"):e.addClass("ifb-hover")}),jQuery(".ifb-flip-box").each(function(t,e){jQuery(this).parent().hasClass("style_9")&&(jQuery(this).on("mouseenter",function(){jQuery(this).addClass("ifb-door-hover")}).on("mouseleave",function(){jQuery(this).removeClass("ifb-door-hover")}),jQuery(this).on("click",function(){jQuery(this).toggleClass("ifb-door-right-open"),jQuery(this).removeClass("ifb-door-hover")}))}),jQuery(document).on("click",".ifb-flip-box",function(t){t.stopPropagation(),jQuery(document).trigger("ultFlipBoxClicked",jQuery(this))}),jQuery(".vertical_door_flip .ifb-front").each(function(){jQuery(this).wrap('<div class="v_door ifb-multiple-front ifb-front-1"></div>'),jQuery(this).parent().clone().removeClass("ifb-front-1").addClass("ifb-front-2").insertAfter(jQuery(this).parent())}),jQuery(".reverse_vertical_door_flip .ifb-back").each(function(){jQuery(this).wrap('<div class="rv_door ifb-multiple-back ifb-back-1"></div>'),jQuery(this).parent().clone().removeClass("ifb-back-1").addClass("ifb-back-2").insertAfter(jQuery(this).parent())}),jQuery(".horizontal_door_flip .ifb-front").each(function(){jQuery(this).wrap('<div class="h_door ifb-multiple-front ifb-front-1"></div>'),jQuery(this).parent().clone().removeClass("ifb-front-1").addClass("ifb-front-2").insertAfter(jQuery(this).parent())}),jQuery(".reverse_horizontal_door_flip .ifb-back").each(function(){jQuery(this).wrap('<div class="rh_door ifb-multiple-back ifb-back-1"></div>'),jQuery(this).parent().clone().removeClass("ifb-back-1").addClass("ifb-back-2").insertAfter(jQuery(this).parent())}),jQuery(".style_9 .ifb-front").each(function(){jQuery(this).wrap('<div class="new_style_9 ifb-multiple-front ifb-front-1"></div>'),jQuery(this).parent().clone().removeClass("ifb-front-1").addClass("ifb-front-2").insertAfter(jQuery(this).parent())}),jQuery(".style_9 .ifb-back").each(function(){jQuery(this).wrap('<div class="new_style_9 ifb-multiple-back ifb-back-1"></div>'),jQuery(this).parent().clone().removeClass("ifb-back-1").addClass("ifb-back-2").insertAfter(jQuery(this).parent())}),/^((?!chrome).)*safari/i.test(navigator.userAgent)&&(jQuery(".vertical_door_flip").each(function(t,e){var i=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-i/2+"px"),jQuery(this).find(".ifb-multiple-front").css("width","50.2%")}),jQuery(".horizontal_door_flip").each(function(t,e){var i=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-i/2+"px"),jQuery(this).find(".ifb-multiple-front").css("height","50.2%")}),jQuery(".reverse_vertical_door_flip").each(function(t,e){var i=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-i/2+"px")}),jQuery(".reverse_horizontal_door_flip").each(function(t,e){var i=jQuery(this).find(".flip_link").outerHeight();jQuery(this).find(".flip_link").css("top",-i/2+"px"),jQuery(this).find(".ifb-back").css("position","inherit")})),jQuery(".square_box-icon").each(function(t,e){const i=jQuery(this);var s;0<jQuery(this).find(".aio-icon-img").length?(s=jQuery(this).find(".aio-icon-img"),r(i,s),s.find(".img-icon").on("load",function(){r(i,s)})):(s=jQuery(this).find(".aio-icon"),r(i,s),jQuery(window).on("load",function(){r(i,s)}))})})}(jQuery),jQuery(document).ready(function(){function t(){jQuery(".ult-new-ib").each(function(t,e){var i,s=jQuery(this).data("min-height")||"";jQuery(this).find(".ult-new-ib-img").data("min-height"),jQuery(this).find(".ult-new-ib-img").data("max-width");""!=s&&(jQuery(this).addClass("ult-ib2-min-height"),jQuery(this).css("height",s),jQuery(this).find(".ult-new-ib-img").removeClass("ult-ib2-toggle-size"),jQuery(this).find(".ult-new-ib-img").width(),i=jQuery(this).find(".ult-new-ib-img").height(),(jQuery(this).width()<=s||i<s)&&jQuery(this).find(".ult-new-ib-img").addClass("ult-ib2-toggle-size")),jQuery(this).on("mouseenter",function(){jQuery(this).find(".ult-new-ib-img").css("opacity",jQuery(this).data("hover-opacity"))}).on("mouseleave",function(){jQuery(this).find(".ult-new-ib-img").css("opacity",jQuery(this).data("opacity"))})})}jQuery(".ult-new-ib").css("opacity","1"),t(),jQuery(window).on("load",function(){t()}),jQuery(window).resize(function(){t()})}),jQuery(document).ready(function(){function i(){jQuery(".ultimate-map-wrapper").each(function(t,e){var i=jQuery(e).attr("id");if(void 0===i||""===i)return!1;var s=jQuery(e).find(".ultimate_google_map").attr("id"),r=jQuery("#"+s).attr("data-map_override");let o="true";jQuery("#"+s).css({"margin-left":0}),jQuery("#"+s).css({right:0});let a=jQuery("#"+i).parent();a;if("full"==r&&(a=jQuery("body"),o="false"),"ex-full"==r&&(a=jQuery("html"),o="false"),!isNaN(r))for(t=0;t<r&&"HTML"!=a.prop("tagName");t++)a=a.parent();e=0==r||"0"==r?a.width():a.outerWidth();i=a.offset().left-jQuery("#"+s).offset().left;if(jQuery("#"+s).css({width:e}),0==r&&"0"==r||jQuery("#"+s).css({"margin-left":i}),"full"==r&&jQuery("body").hasClass("rtl")){const n=jQuery("#"+s);i=jQuery(window).width()-(n.offset().left+n.outerWidth());jQuery("#"+s).css({right:-i})}})}i(),jQuery(window).on("load",function(){i()}),jQuery(window).resize(function(){i()}),jQuery(".ui-tabs").bind("tabsactivate",function(t,e){0<jQuery(this).find(".ultimate-map-wrapper").length&&i()}),jQuery(".ui-accordion").bind("accordionactivate",function(t,e){0<jQuery(this).find(".ultimate-map-wrapper").length&&i()}),jQuery(document).on("onUVCModalPopupOpen",function(){i()}),jQuery(document).on("UVCMapResize",function(){i()})});