PageSourceSearch

https://statcounter.com/js/packed/stylized-html-select-options.jquery-229e41076e.js

js statcounter.com collected 2026-10-01 06:04:22 UTC 6,461 bytes, 8 lines download raw bytes

1/***
2
3        (c) 1999-2026 StatCounter.  All rights Reserved.
4
5        THIS FILE IS AUTOMATICALLY GENERATED.
6***/
7function checkTrafficVolumeWarning(e){var t=jQuery(e).closest(".stylized_select_wrapper");if(t.hasClass("log")){var s=t.closest(".panel_dropdown").next(".quota-shifted-up").find(".traffic-volume-warning");if(s.length!==0){var r=parseInt(s.data("monthly-sessions"));if(!(!r||r<=0)){var i=t.find(".stylized_options li.selected"),a=i.attr("class")||"",o=a.match(/plan_log_(\d+)/),n=o?parseInt(o[1]):0;if(n>0&&r>n){var d=Math.round(n/r*100);s.text("Only "+d+"% of your sessions will be tracked."),s.show()}else s.hide()}}}}function autoSelectTrafficVolume(e){var t=jQuery(e).closest(".stylized_select_wrapper");if(t.hasClass("log")){var s=t.closest(".panel_dropdown").next(".quota-shifted-up").find(".traffic-volume-warning");if(!(s.length===0||!s.data("auto-select"))){var r=parseInt(s.data("monthly-sessions"));if(!(!r||r<=0)){var i=null,a=1/0;if(t.find(".stylized_options li:not(.hidden)").each(function(){var y=jQuery(this).attr("class")||"",u=y.match(/plan_log_(\d+)/);if(u){var h=parseInt(u[1]);h>=r&&h<a&&(a=h,i=jQuery(this))}}),!!i){var o=t.attr("id"),n=i.data("value"),d=i.html();t.find(".stylized_options li.selected").removeClass("selected"),i.addClass("selected"),jQuery("#"+o+" select option:selected").prop({selected:!1}),jQuery("#"+o+" select").find('option[value="'+n+'"]').prop({selected:!0}),jQuery("#"+o+" .stylized_select").html(d),jQuery("#"+o+" select").trigger("stylizedSelectChange")}}}}}function clickStylizedSelectOption(e){var t=jQuery(e);if(t.hasClass("option_disabled"))return!1;var s=jQuery(e).data("value");if(typeof s>"u")return!1;var r=jQuery(e).data("price"),i=jQuery(e).html(),a=jQuery(e).closest(".stylized_select_wrapper").attr("id");return jQuery("#"+a+" .stylized_select").html(i).toggleClass("opened"),jQuery("#"+a+" .stylized_options li.selected").removeClass("selected"),t.addClass("selected"),jQuery("#"+a+" .stylized_options").toggleClass("hidden"),jQuery("#"+a+" select option:selected").prop({selected:!1}),jQuery("#"+a+" select").find('option[value="'+s+'"]').prop({selected:!0}),jQuery("#"+a+" select").trigger("stylizedSelectChange"),checkTrafficVolumeWarning(jQuery("#"+a+" select")),!0}jQuery(function(e){var t="#stats-wrapper .plans-container",s=0,r=0,i=0,a=e("#ppp-plans-page-new-cost-container").height(),o=0,n=0,d=!1;(typeof nonInteractivePlansPage>"u"||typeof nonInteractivePlansPage<"u"&&nonInteractivePlansPage!=1)&&e(window).click(function(l){var c=e(l.target).closest(".stylized_select").length>0,p=e(l.target).closest(".below-stylized-select").length>0,v=e(l.target).closest(".stylized_select_wrapper"),f=v.attr("id");(v.length<=0||c||p)&&(typeof f>"u"?(e(".stylized_select_wrapper").find(".stylized_select.opened").removeClass("opened"),e(".stylized_select_wrapper").find(".stylized_options:not(.hidden)").addClass("hidden")):(e(".stylized_select_wrapper").not("#"+f+":not(.below-stylized-select)").find(".stylized_select.opened").removeClass("opened"),e(".stylized_select_wrapper").not("#"+f+":not(.below-stylized-select)").find(".stylized_options:not(.hidden)").addClass("hidden"),y(f),u(t)))}),jQuery(".stylized_select_wrapper select").each(function(){var l=jQuery(this).val(),c=jQuery(this).parent().attr("id"),p=jQuery("#"+c+' .stylized_options li[data-value="'+l+'"]').html();jQuery("#"+c+" .stylized_select").html(p).removeClass("hidden"),jQuery("#"+c+" select").addClass("hidden"),jQuery("#"+c+" select").trigger("stylizedSelectChange"),autoSelectTrafficVolume(this),checkTrafficVolumeWarning(jQuery("#"+c+" select"))}),e(".stylized_select_wrapper select").addClass("hidden"),jQuery(".stylized_select_wrapper select").on("stylizedSelectChange",function(){checkTrafficVolumeWarning(this)}),(typeof nonInteractivePlansPage>"u"||typeof nonInteractivePlansPage<"u"&&nonInteractivePlansPage!=1)&&e(".stylized_select_wrapper .stylized_select").on("click",function(){e(this).toggleClass("opened");var l=e(this).closest(".stylized_select_wrapper").attr("id");e("#"+l+" .stylized_options").toggleClass("hidden"),e(this).hasClass("opened")&&(y(l),d=u(t),d||h())}),e(".stylized_select_wrapper").on("stylizedSelectHeightChange",function(l){y(l.target.id),d=u(t),d||h()});function y(l){e("body").hasClass("app")!==!1&&(r=parseInt(e(t).css("margin-bottom").replace("px","")),i=parseInt(e("#"+l+" .stylized_options").css("max-height").replace("px","")),e("#"+l+" .stylized_options .simplebar-content").length>0?s=e("#"+l+" .simplebar-content").height():e("#"+l+" .stylized_options").length>0&&(s=e("#"+l+" .stylized_options").height()),s>i&&(s=i),o=e("#main-col").height(),n=e("#"+l+" .stylized_options").offset().top)}function u(l){var c=n+s,p=r+n+s-o;return p>0&&p>
7r?(e(l).css({"margin-bottom":p+"px"}),jQuery("html, body").animate({scrollTop:c},1e3),!0):!1}function h(){var l=30,c=n+s+a+l-e(window).innerHeight(),p=n+s+a-e(window).scrollTop()-e(window).innerHeight();p>0&&jQuery("html, body").animate({scrollTop:c},1e3)}e(".stylized_select_wrapper .stylized_options li").on("click",function(){clickStylizedSelectOption(e(this))}),e("#yearly-billing-checkbox").on("click",function(){var l="monthly";e(this).prop("checked")&&(l="yearly"),changePlanTerm(l,".stylized_options")})});function changePlanTerm(e,t){if(e=="monthly")var s="mo",r="yearly",i="yr",a="month";else var s="yr",r="monthly",i="mo",a="year";jQuery(t+" ."+e).removeClass("hidden"),jQuery(t+" ."+r+":not(.plan_0)").addClass("hidden"),jQuery(t+' li[data-value="0"]').each(function(){var o=jQuery(this).html(),n=o.replace("/"+i,"/"+s);jQuery(this).html(n),jQuery(this).closest(".stylized_select_wrapper").find(".stylized_select").html(n)}),jQuery(".price .billing-period").html(a),jQuery(t+" .selected").each(function(){if(jQuery(this).data("value")>0){var o=jQuery(this).removeClass("selected").attr("class"),n=jQuery(this).data("value"),d=jQuery(this).closest(".stylized_select_wrapper").attr("id"),y="."+o.trim().replace(r,e).replace(" hidden","").replace(/ /g,".");jQuery("#"+d+" "+t+" "+y).addClass("selected");var u=jQuery("#"+d+" "+t+" "+y).data("value"),h=jQuery("#"+d+" "+t+" "+y).html();jQuery("#"+d+' select option[value="'+u+'"]').prop({selected:!0}),jQuery("#"+d+" .stylized_select").html(h)}}),jQuery(".fixed-bottom-container .period-"+e).removeClass("hidden"),jQuery(".fixed-bottom-container .period-"+r+":not(.hidden)").addClass("hidden"),jQuery(".stylized_select_wrapper select").trigger("stylizedSelectChange")}
8

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.