1jQuery(function(d){var c,e,s=d(".yith-wcmcs-currencies-dropdown"),t=d(".yith-wcmcs-sticky-currencies-container .yith-wcmcs-currency").last(),n=function(){return t.outerHeight(!0)},o=function(c,e,t){t=isNaN(t)||t<0?200:t,c.animate({scrollTop:e},t)},l=function(c,e,t,s,i,r,n){var o=parseFloat(c)/parseFloat(e)/(1+parseFloat(t)/100)*parseFloat(s)*(1+parseFloat(i)/100);switch(n){case"round-up":var a=Math.pow(10,r),o=-Math.round(-1*o*a-.5)/a;break;case"round-down":o-=.5/Math.pow(10,r);break;case"round-int-up":o=Math.ceil(o);break;case"round-int-down":o=Math.floor(o)}return(o=o.toFixed(r))<0?0:o},u=function(c){0===(c?d(c.target).closest(".yith-wcmcs-currency-list, .yith-wcmcs-currency-select"):[]).length&&(d.each(s,function(c,e){(e=d(e)).is(":visible")&&e.closest(".yith-wcmcs-currency-select").find(".yith-wcmcs-shortcode-style--active").removeClass("yith-wcmcs-shortcode-style--active")}),s.slideUp())},i=function(){var c,e=d(".yith-wcmcs-sticky-currencies-container .yith-wcmcs-sticky-currencies"),t="";d(window).outerWidth()<=790&&e.length?(c=e.find(".yith-wcmcs-currency:nth-child(1)"),t=e.find(".yith-wcmcs-currency--selected").offset().top-c.offset().top,e.css("height",n()+"px"),o(e,t,0)):(c=parseFloat(e.data("limit")),t=parseFloat(e.data("scroll")),0<c?(e.css("height",n()*c+"px"),o(e,n()*t,0)):e.css("height",""))};d(".yith-wcmcs-currency-alphabetic-list .yith-wcmcs-search-input").on("keyup",function(){var e=d(this).val().toLowerCase(),c=d(this).closest(".yith-wcmcs-currency-alphabetic-list"),t=c.find(".yith-wcmcs-currency"),c=c.find(".yith-wcmcs-alphabetic-group");t.each(function(){var c=d(this);c.data("currency-search").toLowerCase().includes(e)?c.show():c.hide()}),c.each(function(){d(this).show(),0===d(this).find(".yith-wcmcs-currency:visible").length&&d(this).hide()})}),d(".yith-wcmcs-shortcode-currency-rates .yith-wcmcs-currency-select-option").on("click",function(){var t,s,i,c=d(this),e=d(this).find(".yith-wcmcs-currency-flag"),r=d(this).find(".yith-wcmcs-currency-name"),n=c.closest(".yith-wcmcs-currency-select").find(".yith-wcmcs-selected-currency"),o=n.find(".yith-wcmcs-currency-flag"),a=n.find(".yith-wcmcs-base-currency-name"),y=c.data("currency-id"),n=n.closest(".yith-wcmcs-shortcode-currency-rates"),h=c.closest(".yith-wcmcs-currency-select-dropdown");t=y,s=(y=n).data("currencies-data"),i=y.data("base-price"),n=y.find(".yith-wcmcs-currency-rate-"+t),(y=y.find(".yith-wcmcs-currency-rate-container").not(n)).each(function(){var c=d(this),e=c.find(".yith-wcmcs-currency-rate"),c=c.data("currency-id");e.html(l(i,s[t].rate,s[t].commission,s[c].rate,s[c].commission,s[c].decimals,s[c].round))}),y.css("display","flex"),n.hide(),o.html(e.html()),a.html(r.html()),h.find(".yith-wcmcs-currency-select-option").removeClass("yith-wcmcs-currency-select-option--selected"),c.addClass("yith-wcmcs-currency-select-option--selected"),u()}),d(".yith-wcmcs-currency-converter .yith-wcmcs-currency-select-option").on("click",function(){var c=d(this),e=c.closest(".yith-wcmcs-currency-select-dropdown"),t=c.html(),s=c.closest(".yith-wcmcs-currency-field"),i=s.find(".yith-wcmcs-currency-price-input"),r=s.find(".yith-wcmcs-selected-currency"),s=s.closest(".yith-wcmcs-currency-converter"),s=i.hasClass("yith-wcmcs-currency-price-from")?s.find(".yith-wcmcs-currency-price-to"):s.find(".yith-wcmcs-currency-price-from");c.data("currency-id")===s.data("currency-id")&&(s=s.closest(".yith-wcmcs-currency-field").find(".yith-wcmcs-currency-select-option-"+i.data("currency-id")),i.data("currency-id",""),s.trigger("click")),e.find(".yith-wcmcs-currency-select-option").removeClass("yith-wcmcs-currency-select-option--selected"),c.closest(".yith-wcmcs-currency-select-dropdown").slideUp(),c.closest(".yith-wcmcs-currency-select").find(".yith-wcmcs-selected-currency").removeClass("yith-wcmcs-shortcode-style--active"),c.addClass("yith-wcmcs-currency-select-option--selected"),i.data("currency-id",c.data("currency-id")).trigger("keyup"),r.html(t)}),d(".yith-wcmcs-currency-list .yith-wcmcs-search-input").on("keyup",function(){var e=d(this).val().toLowerCase();d(this).closest(".yith-wcmcs-search-container").next().find(".yith-wcmcs-currency").each(function(){var c=d(this);c.data("currency-search").toLowerCase().includes(e)?c.show():c.hide()})}),d(".yith-wcmcs-currency-price-input").on("keyup change",function(){var c,e,t,s,i=d(this);isNaN(parseFloat(i.val()))||(e=i.closest(".yith-wcmcs-currency-converter"),c=i.hasClass("yith-wcmcs-currency-price-from")?e.find(".yith-wcmcs-currency-price-to"):e.find(".yith-wcmcs-currency-price-from"),e=e.data("currencies-data"),t=i.data("currency-id"),s=c.data("currency-id"),""!==t&&""!==s&&c.val(l(i.val(),e[t].rate,e[t].commission,e[s].rate,e[s].commission,e[s].decimals,e[s].roun
1d)))}),d(".yith-wcmcs-selected-currency").on("click",function(){u(null);var c,e,t=d(this).next();t.is(":visible")?(d(this).removeClass("yith-wcmcs-shortcode-style--active"),t.slideUp(300)):(s.slideUp(),(c=t).css("top","calc(100% + 10px)"),c.css("bottom",""),c.css("display","block"),e=c[0].getBoundingClientRect(),c.css("display","none"),window.innerHeight<e.y+e.height&&(c.css("top","auto"),c.css("bottom","calc(100% + 10px)")),t.slideDown(300,function(){t.find(".yith-wcmcs-search-input").trigger("focus")}),d(this).addClass("yith-wcmcs-shortcode-style--active"))}),d(document).on("click",".yith-wcmcs-sticky-currencies-arrow",function(){var c,e,t,s,i,r;790<d(window).outerWidth()?(e=(c=d(this)).closest(".yith-wcmcs-sticky-currencies-container").find(".yith-wcmcs-sticky-currencies"),t=parseFloat(e.data("limit")),s=parseFloat(e.data("max-scroll")),i=parseFloat(e.data("scroll")),r=0,r=c.hasClass("yith-wcmcs-sticky-currencies-arrow-down")?Math.min(i+t,s):Math.max(i-t,0),o(e,r*n()),e.data("scroll",r),d(".yith-wcmcs-sticky-currencies-arrow-up").removeClass("yith-wcmcs-hidden"),d(".yith-wcmcs-sticky-currencies-arrow-down").removeClass("yith-wcmcs-hidden"),s!==r&&0!==r||c.addClass("yith-wcmcs-hidden")):d(".yith-wcmcs-sticky-currencies-menu").addClass("yith-wcmcs-sticky-currencies-menu--opened")}),d(document).on("click",".yith-wcmcs-sticky-currencies-close",function(){d(".yith-wcmcs-sticky-currencies-menu").removeClass("yith-wcmcs-sticky-currencies-menu--opened")}),d(document).on("click",u),d(window).on("resize",i),c=d(".yith-wcmcs-sticky-currencies-container").find(".yith-wcmcs-sticky-currencies"),e=parseFloat(c.data("limit")),790<d(window).outerWidth()&&0<e&&c.css("height",e*n()+"px"),i()});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.