(()=>{"use strict";var i,e,n=function(i,e,n,t,o){"hover"===n?e.mouseenter(function(){i(this).toggleClass("flip-back-selected",t)}).mouseleave(function(){i(this).toggleClass("flip-back-selected",o)}):"click"===n&&e.click(function(){i(this).toggleClass("flip-back-selected",t)}).mouseleave(function(){i(this).toggleClass("flip-back-selected",o)})};i=jQuery,window.RTSB&&window.RTSB._initialized&&(null===(e=window.RTSB.modules.registerAfterElementor("flipBox",function(){var e=(window.RTSB||{}).helpers;return{name:"flipBox",version:"1.0.0",init:function(){return this.run(),this},refresh:function(){this.run()},run:function(){e.rAF(function(){return function(i){var e=i(".rtsb-fliper");e.length&&e.each(function(){var e=i(this),t=e.data("flip-behavior"),o=e.data("flip-view");e.find("a").click(function(i){i.stopPropagation()}),"front"===o?n(i,e,t,!0,!1):"back"===o&&n(i,e,t,!1,!0)})}(i)})}}}))||void 0===e||e.init())})();