PageSourceSearch

https://www.internationalstudentinsurance.com/assets/424006b/js/ui-by-slim2.min.js

js internationalstudentinsurance.com collected 2026-10-02 05:33:15 UTC 4,708 bytes, 1 lines download raw bytes

1var form,schoolInput,user=1,loadingHtml='<div class="processing-overlay d-flex justify-content-center position-fixed z-3 start-50"><div class="spinner-border text-primary" role="status" style="width: 10rem; height: 10rem;"><span class="visually-hidden">Loading...</span></div></div>';const STUDENT=2,USA=4,NON_USA=8;function checkUserStatus(t){checkIfUSA(),checkIfStudent()}function checkIfUSA(){var t=parseInt($("#virtualagentformby-destination").val());$.inArray(t,[254,255])>-1?(4&user)<1&&((8&user)>0&&(user-=8),user+=4):t>0?(8&user)<1&&((4&user)>0&&(user-=4),user+=8):((4&user)>0&&(user-=4),(8&user)>0&&(user-=8))}function checkIfStudent(){var t=parseInt($("#virtualagentformby-travelertype").val());1===parseInt($("#virtualagentformby-isstudent").val())||t>=0&&t<5?(2&user)<1&&(user+=2):(2&user)>0&&(user-=2)}function checkWhichSectionsShouldBeVisible(t){t?$.trim(t.val()).length?(form.find("section").each(function(){(user&$(this).data("viewable"))<1&&$(this).hide()}),t.parents("section").nextAll().each(function(){if((user&$(this).data("viewable"))>0)return $(this).fadeIn().find("input:enabled, select:enabled").first().focus(),!1})):t.parents("section").nextAll().hide():form.find("section").each(function(){var t=$(this);
1t.find("input, select").each(function(){var e=$(this);e.val().length>0&&((user&e.parents("section").data("viewable"))>0?t.fadeIn():t.hide())})})}function comparisonUpdateCount(t){t?$(document).find("[name=compareCount]").text(t).closest("div").show():$(document).find("[name=compareCount]").closest("div").hide()}function comparisonHideOption(t){0===$(document).find("input[name=compareInput]:checked").length&&$(document).find("input[data-optionid]").prop("checked",!0),$(document).find('input[data-optionid="'+t+'"]').prop("checked",!1).change()}function comparisonShowOption(t){$("#modal-results-compare").find('[data-optionid="'+t+'"]').show()}function initializePopOvers(){$('[data-bs-toggle="popover"]').popover({container:"#virtual-agent-form",trigger:"focus hover",placement:"top",html:!0})}function initializeToolTips(){$('[data-bs-toggle="tooltip"]').tooltip({placement:"top",trigger:"click hover"})}function searchPlans(){$.ajax({url:form.attr("action"),type:"GET",data:form.serialize(),dataType:"html",beforeSend:function(){$(".plan-results").prepend(loadingHtml)},complete:function(){$(".plan-results .processing-overlay").fadeOut()},success:function(t){$(".modal").modal("hide"),$(".plan-results .processing-overlay").fadeOut(400,function(){$(".plan-results").html(t),initializePopOvers(),initializeToolTips()})}})}function updateSummary(){$.ajax({url:form.attr("action").replace("search","summary"),type:"GET",data:form.serialize(),dataType:"html",success:function(t){$(".summary-user-details").html(t),$("#collapse-virtual-agent-form").collapse("hide")}})}$(document).ready(function(){form=$("#virtual-agent-form"),schoolInput=$("#virtualagentform-school"),initializePopOvers(),initializeToolTips(),checkUserStatus(),form&&form.hasClass("ajax")&&form.submit(function(t){return t.preventDefault(),t.stopImmediatePropagation(),searchPlans(),updateSummary(),!1}).find("input:enabled, select:enabled").change(function(){$(this).hasClass("no-change")||(searchPlans(),updateSummary())}),form.find("input:enabled, select:enabled").change(function(){if("virtualagentformby-travelertype"===$(this).attr("id")){var t=parseInt($(this).val());t>=0&&t<5?($("#virtualagentformby-isstudent").val(1),$("#va-school").find("h1, input").removeClass("text-disabled").attr("disabled",!1)):t>=5&&($("#virtualagentformby-isstudent").val(0),$("#va-school").find("h1, input").addClass("text-disabled").attr("disabled",!0))}else if("virtualagentformby-isstudent"===$(this).attr("id")){var e=parseInt($(this).val());1===e?($("#virtualagentformby-travelertype").val(0),$("#va-school").find("h1, input").removeClass("text-disabled").attr("disabled",!1)):0===e&&($("#virtualagentformby-travelertype").val(6),$("#va-school").find("h1, input").addClass("text-disabled").attr("disabled",!0))}checkUserStatus($(this))}),schoolInput.on("blur",function(t){$.ajax({url:form.attr("action").replace("search/","school-exists/"),type:"GET",data:{school:$(this).val()},dataType:"json"})})}).on("change","#va-price-sort-handler",function(t){$("#virtualagentformby-price_sort").val($(this).val()),searchPlans()}).on("change","input[name=compareInput]",function(){var t=[],e=$("#modal-results-compare");e.find("[data-optionid]").hide(),$(document).find("input[name=compareInput]:checked").each(function(){var e=$
1(this).data("optionid");t.push(e),comparisonShowOption(e)}),0===t.length&&($("#modal-results-compare").modal("hide"),e.find("[data-optionid]").show("slow")),comparisonUpdateCount(t.length)});

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.