PageSourceSearch

https://www.controlledproducts.com/Scripts/v-639264845380000000/wa-scripts-callbacks-top.bundle.min.js

js controlledproducts.com collected 2026-10-07 21:21:18 UTC 26,377 bytes, 2 lines download raw bytes

1var DateHelpers;!function(l){var a=new Date("0001-01-01T00:00:00"),o=/^\/?Date\((-?\d+)/i,n=/^\s*((?:[+-]\d{6}|\d{4})-(?:\d\d-\d\d|W\d\d-\d|W\d\d|\d\d\d|\d\d))(?:(T| )(\d\d(?::\d\d(?::\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,r=/^\s*((?:[+-]\d{6}|\d{4})(?:\d\d\d\d|W\d\d\d|W\d\d|\d\d\d|\d\d|))(?:(T| )(\d\d(?:\d\d(?:\d\d(?:[.,]\d+)?)?)?)([+-]\d\d(?::?\d\d)?|\s*Z)?)?$/,t=["January","February","March","April","May","June","July","August","September","October","November","December"];function s(e){return"undefined"!=typeof tzOffset&&tzOffset&&tzOffset.TzDbId&&(e.timeZone=tzOffset.TzDbId),e}function i(e){if("string"!=typeof e)return e;var t=(t=e,null!==(t=o.exec(t))?new Date(+t[1]):null);return t||new Date(e)}function d(e,t){return m(e,t)}function c(e,t){return m(e,t)}function u(e,t){return m(e,t)}function m(t,e){if(!1===l.IsValidDate(t))return"N/A";try{return t.toLocaleString("en-us",e)}catch(e){return t.getMonth()+1+"/"+t.getDate()+"/"+t.getFullYear()+" "+t.getHours()+":"+t.getMinutes()}}function f(e){return e?i(e):null}function h(e,t){if(!e)return null;if("string"!=typeof e)return i(e);var a=e.split(t);if(3!==a.length)return null;e=a[0];if(e.length<1||2<e.length)return null;t=Number(e),e=a[1];if(e.length<1||2<e.length)return null;e=Number(a[1]),a=a[2];if(4===a.length)o=Number(a);else{if(2!==a.length)return null;var o=50<=Number(a)?Number("19"+a):Number("20"+a)}return 12<t||t<1||9999<o||o<0||31<e||e<1?null:new Date(o,t-1,e,0,0,0,0)}function b(e){return d(e,s({hour:"numeric",minute:"numeric",timeZoneName:"short",year:"numeric",month:"numeric",day:"numeric"}))}function p(e){return 1<e.toString().length?e.toString():"0"+e}function g(e,t){e=new Date(e.valueOf());return e.setDate(e.getDate()+t),e}function y(e){e=e.getDay();return 0!==e&&6!==e}l.DateOrNull=f,l.DateOrNullUSSpecific=function(e){return h(e,"/")},l.DateOrNullUSSeperator=h,l.FormatDateTimeFromStr=function(e){return(e=f(e))?b(e):""},l.FormatDateTime=b,l.FormatDateTimeSeconds=function(e){return d(e,s({hour:"numeric",minute:"numeric",timeZoneName:"short",year:"numeric",month:"numeric",day:"numeric",second:"numeric"}))},l.FormatDateTimeSecondsWeekday=function(e){return d(e,s({hour:"numeric",minute:"numeric",timeZoneName:"short",year:"numeric",month:"numeric",day:"numeric",second:"numeric",weekday:"short"}))},l.FormatDateTimeMonth=function(e){return d(e,s({hour:"numeric",minute:"numeric",timeZoneName:"short",year:"numeric",month:"short",day:"numeric"}))},l.FormatDateTimeWeekday=function(e){return d(e,s({hour:"numeric",minute:"numeric",timeZoneName:"short",year:"numeric",month:"numeric",day:"numeric",weekday:"short"}))},l.FormatDateTimeLong=function(e){return d(e,s({hour:"numeric",minute:"numeric",timeZoneName:"short",year:"numeric",month:"long",day:"numeric",weekday:"long"}))},l.TString=function(e){if(e){e=i(e);return e.getFullYear()+"-"+p(e.getMonth()+1)+"-"+p(e.getDate())+"T"+p(e.getHours())+":"+p(e.getMinutes())+":"+p(e.getSeconds())}return null},l.UTCString=function(e){return e?i(e).toJSON():null},l.LocalString=function(e){if(e){var t=i(e),a=t.getMonth()+1,o=t.getFullYear(),n=t.getDate(),r=t.getHours(),e=!0;return 12<r?(r-=12,e=!1):12==r?e=!1:0===r&&(r=12),a+"/"+n+"/"+o+" "+r+":"+p(t.getMinutes())+(e?" AM":" PM")}return null},l.FormatDate=function(e){return c(e,{year:"numeric",month:"numeric",day:"numeric",weekday:"short"})},l.FormatDateShortWeekly=function(e){return c(e,{year:"numeric",month:"short",day:"numeric",weekday:"short"})},l.FormatDateLong=function(e){return c(e,{year:"numeric",month:"long",day:"numeric",weekday:"long"})},l.FormatDateShort=function(e){return c(e,{year:"numeric",month:"numeric",day:"numeric"})},l.FormatTime=function(e){return u(e,s({hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"short"}))},l.FormatTimeShort=function(e){return u(e,s({hour:"numeric",minute:"numeric",timeZoneName:"short"}))},l.PrintTimezone=function(){return"("+tzOffset.AbbreviatedName+")"},l.PrintLocalTimezone=function(){try{return"("+(new Date).toLocaleString("en-us",{timeZoneName:"short"})+")"}catch(e){return"(Local)"}},l.IsAfter=function(e,t){return!(!e||!t)&&(e=i(e),t=i(t),e.getTime()>t.getTime())},l.IsBefore=function(e,t){return!(!e||!t)&&(e=i(e),t=i(t),e.getTime()<t.getTime())},l.IsDifferentDay=function(e,t){return!e&&!t||(!e||!t||(e.getMonth()!==t.getMonth()||e.getFullYear()!==t.getFullYear()||e.getDate()!==t.getDate()))},l.IsSameDay=function(e,t){return 0==l.IsDifferentDay(e,t)},l.MSBetween=function(e,t){return Math.abs(e-t)},l.DaysBetween=function(e,t){return t=l.MSBetween(e,t),Math.round(t/864e5)},l.AddDays=g,l.AddMonths=function(e,t){var a=new Date(e.valueOf()),e=a.getDate();return a.setMonth(a.getMonth()+ +t),a.getDate()!=e&&a.setDate(0),a},l.AddYears=function(e,t){var a=new Date(e.valueOf()),e=a.getDate();return a.setFullYear(a.getFullYear()+ +t),a.getDate()!=e&&a.setDate(0),a},l.AddSeconds=function(e,t){return(e=new Date(e.valueOf())).setSeconds(e.getSeconds()+t),e},l.GetMonthNames=function(e,t){for(var a=e||new Date,o=[],n=0;n<Math.max(t,12);n++){var r=l.AddMonths(a,-1*n),s=r.getFullYear(),i=r.getMonth()+1;o.push({month:i,year:s,value:s+" - "+l.GetMonthName(r)})}return o},l.EndOfMonth=function(e){return new Date(e.getFullYear(),e.getMonth()+1,0)},l.BeginningOfMonth=function(e){return new Date(e.getFullYear(),e.getMonth(),1)},l.IsValidDate=function(e){return!!e&&!1===isNaN(i(e).getTime())},l.LocalToUtc=function(e){var t=l.DateOrNull(e);if(l.IsValidDate(t)&&1<l.DaysBetween(t,a)){e=6e4*t.getTimezoneOffset();return new Date(t.getTime()+e)}return null},l.UtcToLocal=function(e){if("string"==typeof e&&(n.exec(e)||r.exec(e))&&(-1!==e.indexOf("Z")||-1!==e.indexOf("GMT")))return new Date(e);var t=l.DateOrNull(e);if(l.IsValidDate(t)&&1<l.DaysBetween(t,a)){e=6e4*t.getTimezoneOffset();return new Date(t.getTime()-e)}return null},l.ClearTime=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),0,0,0,0)},l.EndOfDay=function(e){return new Date(e.getFullYear(),e.getMonth(),e.getDate(),23,59,59,59)},l.GetMonthName=function(e){return t[e.getMonth()]},l.IsBusinessDay=y,l.GetNextBusinessDay=function(e){for(var t=new Date(e.valueOf());!1===y(t=g(t,1)););return t}}(DateHelpers=DateHelpers||{}),$(function(){function m(){p(":focus").blur()}function e(){return{classes:null,afterCloseMethod:null,onLoad:null,
1size:null,onShow:null,zIndex:null,modalIcon:null,disableBodyScroll:!1,isCentered:!0,styles:{modal:null,dialog:null,content:null,header:null,body:null,footer:null}}}function s(){return p.extend(e(),{body:null,disableBackgroundClick:!0,keepFooter:!0,buttonText:"Close",buttonClass:"btn-default",buttonIcon:"bi bi-x-lg",type:null,header:null})}function d(){return p.extend(e(),{body:null,keepHeader:!0,keepFooter:!0,header:"Confirm Action",confirmDismissModal:!0,confirmText:"Confirm",confirmIcon:"bi-check2",confirmButtonClass:"btn-info",confirmMethod:function(){},cancelText:"Cancel",cancelIcon:"bi bi-x-lg",cancelButtonClass:"btn-default",cancelMethod:function(){},showIcons:!0,mustClickButtonsToLeave:!1,type:null})}function f(){return p.extend(e(),{header:"",keepHeader:!0,keepFooter:!0,url:"",data:null,queryType:"GET",isIFrame:!1,disableCloseUntilLoaded:!1,disableBackgroundClick:!1,loadingDoneMethod:null,closeButtonMethod:null,closeButtonText:null,buttons:null,overrideButtons:!1,removeCloseButton:!1,disableEscapeKey:!1,iframeHeight:600})}function c(){return p.extend(e(),{header:"",keepHeader:!0,keepFooter:!0,body:"",footerButtons:null,keepFooterCloseButton:!0,footerCloseButtonClass:"btn-default",footerCloseButtonText:"Close",centerFooterButtons:!1,disableBackgroundClick:!1})}function h(e,t){t&&(t.modal&&e.css(t.modal),t.dialog&&e.find(".modal-dialog").css(t.dialog),t.content&&e.find(".modal-content").css(t.content),t.header&&e.find(".modal-header").css(t.header),t.body&&e.find(".modal-body").css(t.body),t.footer&&e.find(".modal-footer").css(t.footer))}function b(e,t){var a=e.find(".modal-body");if(t.modalIcon)switch(t.modalIcon.toLowerCase()){case"exclamation":a.prepend('<i class="bi bi-exclamation-triangle-fill modal-icon"></i>');break;case"exclamationacircle":a.prepend('<i class="bi bi-exclamation-circle-fill modal-icon"></i>');break;case"info":a.prepend('<i class="bi bi-info-circle-fill modal-icon"></i>');break;case"check":a.prepend('<i class="bi bi-check2 modal-icon"></i>');break;case"checksquare":a.prepend('<i class="bi bi-check2-square modal-icon"></i>');break;case"exclamationadmin":a.prepend('<i class="bi bi-exclamation-triangle-fill modal-icon"></i>');break;case"exclamationaircleadmin":a.prepend('<i class="bi bi-exclamation-circle-fill modal-icon"></i>');break;case"infoadmin":a.prepend('<i class="bi bi-info-circle-fill modal-icon"></i>');break;case"checkadmin":a.prepend('<i class="bi bi-check2 modal-icon"></i>');break;case"checkaquareadmin":a.prepend('<i class="bi bi-check2-square modal-icon"></i>');break;default:a.prepend(t.modalIcon)}}var p;$("body").append('<div class="modal fade everywhere-modal" id="everywhere-modal" tabindex="-1" role="dialog"><div class="modal-dialog modal-dialog-centered modal-dialog-scrollable modal-fullscreen-md-down" role="document"><div class="modal-content"><div class="modal-header"><h4 class="modal-title"></h4><button type="button" class="btn-close" data-bs-dismiss="modal" aria-label="Close"></button></div><div class="modal-body"></div><div class="modal-footer"><button type="button" class="btn btn-default" data-bs-dismiss="modal" data-test-modal-close>Close</button></div></div> </div></div>'),$("body").off("click.everywhere-modal-links").on("click.everywhere-modal-links",".everywhere-modal-link",function(e){e.preventDefault();var t=$(this),a=t.data("iframe-height")||600,o=t.attr("href"),n=t.attr("title"),r=void 0===t.data("footer")||t.data("footer"),s=t.data("size"),i=t.data("modalIcon"),l=t.data("modal-class"),d=t.data("modal-dialog-centered"),c=!0===t.data("is-iframe")||0===t.attr("href").indexOf("http"),u="true"===t.attr("data-disable-background-click"),e=!0===t.data("disable-body-scroll");t.addClass("active-modal"),$.everywhere.ajax({url:o,header:n,keepFooter:r,size:s,modalIcon:i,classes:l,isCentered:d,isIFrame:c,disableBodyScroll:e,disableBackgroundClick:u,iframeHeight:a})}),$("body").on("shown.bs.modal",".everywhere-modal",function(e){var t;t=$(document).scrollTop().valueOf(),$("body").addClass("modal-shown"),$("body").css({top:"-"+t+"px"})}),$("body").on("hidden.bs.modal",".everywhere-modal",function(e){var t;$(this).remove(),t=$("body").css("top"),$("body").removeClass("modal-shown"),$("body").css({top:""}),window.scrollTo({top:-1*parseInt(t||"0"),left:0,behavior:"instant"}),$(".active-modal").removeClass("active-modal")}),(p=jQuery).fn.initModal=function(l){return p(this).each(function(){if(p(this).is("#everywhere-modal")){m();var e=p.extend(c(),l),t=p(this).clone().modal("hide");
1if(e.size){var a=t.find(".modal-dialog");switch(e.size.toLowerCase()){case"extra-large":a.addClass("modal-xl");break;case"large":a.addClass("modal-lg");break;case"small":a.addClass("modal-sm");break;case"full-screen":a.addClass("modal-fullscreen")}}t.on("hidden.bs.modal",function(){!0===e.disableBodyScroll&&p("body").removeClass("modal-open"),e.afterCloseMethod&&e.afterCloseMethod(t)}),e.keepHeader?t.find(".modal-title").html(e.header):t.find(".modal-header").remove(),e.keepHeader||t.addClass("modal-no-head"),t.find(".modal-body").html(e.body),b(t,e);var o=t.find(".modal-dialog");!e.isCentered&&o&&o.removeClass("modal-dialog-centered"),e.classes&&t.addClass(e.classes),e.disableBackgroundClick&&(t.data("bs.modal")?t.data("bs.modal").options.backdrop="static":t.modal({backdrop:"static"}));var n=t.find(".modal-footer");if(e.keepFooter){if(e.centerFooterButtons&&n.addClass("text-center"),e.keepFooterCloseButton?n.find("button").html(e.footerCloseButtonText).attr("class","btn "+e.footerCloseButtonClass):n.html(""),e.footerButtons)for(var r,s=n.find("button"),i=0;i<e.footerButtons.length;i++)r=e.footerButtons[i],s.length?s.before(r):n.append(r)}else n.remove();return h(t,e.styles),t.on("shown.bs.modal",function(){m(),e.onLoad&&e.onLoad(t)}).on("show.bs.modal",function(){e.onShow&&window.setTimeout(function(){e.onShow(t)})}).appendTo("body").modal("show"),!0===e.disableBodyScroll&&p("body").addClass("modal-open"),e.zIndex&&(t.css("z-index",e.zIndex),(o=bootstrap.Modal.getInstance(t[0]))&&p(o._backdrop._element).css("z-index",e.zIndex-1)),t}}),this},p.fn.initAjaxModal=function(u){return p(this).each(function(){if(p(this).is("#everywhere-modal")){m();var a=p.extend(f(),u),o=p(this).clone().modal("hide"),t=o.find(".modal-body");if(a.size){var e=o.find(".modal-dialog");switch(a.size.toLowerCase()){case"extra-large":e.addClass("modal-xl");break;case"large":e.addClass("modal-lg");break;case"small":e.addClass("modal-sm");break;case"full-screen":e.addClass("modal-fullscreen")}}b(o,a),a.classes&&o.addClass(a.classes),a.keepHeader?o.find(".modal-title").html(a.header):(o.find(".modal-header").remove(),o.addClass("modal-no-head")),a.removeCloseButton&&o.find(".modal-header .close").remove(),o.on("hidden.bs.modal",function(){!0===a.disableBodyScroll&&p("body").removeClass("modal-open"),a.afterCloseMethod&&a.afterCloseMethod(o)});var n,r=!a.keepFooter||a.isIFrame;r?o.find(".modal-footer").remove():(a.overrideButtons?o.find(".modal-footer button").remove():(n=o.find(".modal-footer button"),a.closeButtonText&&n.text(a.closeButtonText),a.disableCloseUntilLoaded&&n.prop("disabled",!0),a.closeButtonMethod&&n.on("click",function(){a.closeButtonMethod(o,p(this))})),a.buttons&&p.each(a.buttons,function(e,t){o.find(".modal-footer").append(p(t))})),a.disableBackgroundClick&&(o.data("bs.modal")?o.data("bs.modal").options.backdrop="static":o.modal({backdrop:"static"})),!0===a.disableEscapeKey&&(o.data("bs.modal")?o.data("bs.modal").options.keyboard=!1:o.modal({keyboard:!1}),o.find(".modal-header .close").remove());function s(e,t){e&&t&&a.loadingDoneMethod&&(c=d=!1,a.loadingDoneMethod(o))}var i,l,d=!1,c=!1;return a.isIFrame?(o.addClass("everywhere-iframe"),l="600",a.iframeHeight&&(l=a.iframeHeight),i=p('<iframe src="'+a.url+'" target="_parent" class="everywhere-modal-iframe collapse" width="100%" height="'+l+'" frameborder="0"></iframe>'),t.html('<div class="text-center d-flex justify-content-center align-items-center py-5 my-5" id="everywhere-iframe-loader"><i class="wa-spinner wa-spinner-xl me-2"></i> <span class="fs-1">Loading...</span></div>'),t.append(i),i.on("load",function(){p("#everywhere-iframe-loader").remove(),i.fadeIn("slow"),s(d,c=!0)})):(t.html('<div class="h1 text-center"><i class="wa-spinner wa-spinner-xl me-2"></i> Loading...</div>'),p.ajax({type:a.queryType,url:a.url,data:a.data}).done(function(e){e?(t.html(e),o.find('[data-bs-toggle="popover"]').popover(),p.prototype.stepper&&o.find(".qtyBox").stepper()):t.html('<div class="alert alert-info">Something went wrong, please try again.</div>')}).fail(function(){}
1).always(function(){a.disableCloseUntilLoaded&&!r&&o.find(".modal-footer button").prop("disabled",!1),s(d,c=!0)})),h(o,a.styles),o.on("shown.bs.modal",function(){a.onLoad&&a.onLoad(o),s(d=!0,c)}).on("show.bs.modal",function(){a.onShow&&window.setTimeout(function(){a.onShow(o)})}).appendTo("body").modal("show"),!0===a.disableBodyScroll&&p("body").addClass("modal-open"),a.zIndex&&(o.css("z-index",a.zIndex),(l=bootstrap.Modal.getInstance(o[0]))&&p(l._backdrop._element).css("z-index",a.zIndex-1)),o}}),this},p.fn.alert=function(r){return p(this).each(function(){if(p(this).is("#everywhere-modal")){m(),"string"==typeof r&&(r={body:r});var e=p.extend(s(),r),t=p(this).clone().modal("hide");if(t.addClass("everywhere-alert"),e.classes&&t.addClass(e.classes),e.type){var a=e.type.toLowerCase();switch(e.type.toLowerCase()){case"danger":case"warning":case"info":case"success":case"default":t.addClass("modal-type-"+a),r.buttonClass||(e.buttonClass="btn-default")}}var o=t.find(".modal-footer");e.keepFooter||(o.remove(),t.addClass("modal-no-foot")),e.header?t.find(".modal-title").html(e.header):t.find(".modal-header").remove(),t.find(".modal-body").html(e.body);var n=t.find(".modal-dialog");if(t.find(".modal-footer button").html('<i class="'+e.buttonIcon+' me-1"></i> '+e.buttonText).removeClass("btn-default").addClass(e.buttonClass),t.on("hidden.bs.modal",function(){!0===e.disableBodyScroll&&p("body").removeClass("modal-open"),e.afterCloseMethod&&e.afterCloseMethod(t)}),b(t,e),e.disableBackgroundClick&&(t.data("bs.modal")?t.data("bs.modal").options.backdrop="static":t.modal({backdrop:"static"})),e.size)switch(e.size.toLowerCase()){case"extra-large":n.addClass("modal-xl");break;case"large":n.addClass("modal-lg");break;case"full-screen":n.addClass("modal-fullscreen");break;case"medium":break;default:n.addClass("modal-sm")}else n.addClass("modal-sm");return h(t,e.styles),t.on("shown.bs.modal",function(){e.onLoad&&e.onLoad(t)}).on("show.bs.modal",function(){e.onShow&&window.setTimeout(function(){e.onShow(t)})}).appendTo("body").modal("show"),!0===e.disableBodyScroll&&p("body").addClass("modal-open"),e.zIndex&&(t.css("z-index",e.zIndex),(o=bootstrap.Modal.getInstance(t[0]))&&p(o._backdrop._element).css("z-index",e.zIndex-1)),t}}),this},p.fn.confirm=function(l){return p(this).each(function(){if(p(this).is("#everywhere-modal")){m();var e=p.extend(d(),l),t=p(this).clone().modal("hide");if(t.addClass("everywhere-confirm"),e.keepHeader?t.find(".modal-title").html(e.header):(t.find(".modal-header").remove(),t.addClass("modal-no-head")),t.find(".modal-body").html(e.body),b(t,e),e.classes&&t.addClass(e.classes),e.type){var a=e.type.toLowerCase();switch(e.type.toLowerCase()){case"danger":case"warning":case"info":case"success":case"secondary":t.addClass("modal-confirm modal-type-"+a),l.confirmButtonClass||(e.confirmButtonClass="btn-"+a)}}if(t.disable=function(){t.find("input, select, button").prop("disabled",!0)},t.enable=function(){t.find("input, select, button").prop("disabled",!1)},e.size){var o=t.find(".modal-dialog");switch(e.size.toLowerCase()){case"extra-large":o.addClass("modal-xl");break;case"large":o.addClass("modal-lg");break;case"small":o.addClass("modal-sm");break;case"full-screen":o.addClass("modal-fullscreen")}}var n,r=t.find(".modal-footer"),s=p('<button data-test-modal-confirm class="modal-confirm-button btn '+e.confirmButtonClass+' "'+(e.confirmDismissModal?'data-bs-dismiss="modal"':"")+">"+(e.showIcons&&e.confirmIcon?'<i class="bi '+e.confirmIcon+'"></i> ':"")+e.confirmText+"</button>"),i=p('<button data-test-modal-cancel class="modal-cancel-button btn '+e.cancelButtonClass+'" data-bs-dismiss="modal">'+(e.showIcons&&e.cancelIcon?'<i class="bi '+e.cancelIcon+'"></i> ':"")+e.cancelText+"</button>");return s.on("click",function(){e.confirmMethod(t,p(this))}),i.on("click",function(){e.cancelMethod(t,p(this))}),r.html("").append(i).append(s),e.keepFooter||r.remove(),t.on("hidden.bs.modal",function(){!0===e.disableBodyScroll&&p("body").removeClass("modal-open"),e.afterCloseMethod&&e.afterCloseMethod(t)}),!0===e.mustClickButtonsToLeave&&(n=bootstrap.Modal.getInstance(t[0]),c
1onsole.log("bs-modal",n),n?n._config&&(n._config.backdrop="static",n._config.keyboard=!1):t.modal({backdrop:"static",keyboard:!1}),t.find(".modal-header .close").remove()),h(t,e.styles),t.on("shown.bs.modal",function(){e.onLoad&&e.onLoad(t)}).on("show.bs.modal",function(){e.onShow&&window.setTimeout(function(){e.onShow(t)})}).appendTo("body").modal("show"),!0===e.disableBodyScroll&&p("body").addClass("modal-open"),e.zIndex&&(t.css("z-index",e.zIndex),(n=bootstrap.Modal.getInstance(t[0]))&&p(n._backdrop._element).css("z-index",e.zIndex-1)),t}}),this},p.fn.sitePopup=function(o){return p(this).each(function(){if(p(this).is("#everywhere-modal")){var t=p.extend({header:"",body:"",size:null,position:null,launchTime:0,id:null,classes:null},o),a=p(this).clone().modal("hide");if(a.data("site-popup-id",t.id),t.classes&&a.addClass(t.classes),a.find(".modal-body").html(t.body),a.find(".modal-title").html(t.header),t.size){var e=a.find(".modal-dialog");switch(t.size.toLowerCase()){case"extralarge":e.addClass("modal-xl");break;case"large":e.addClass("modal-lg");break;case"small":e.addClass("modal-sm");break;case"full-screen":e.addClass("modal-fullscreen")}}if(t.position)switch(t.position.toLowerCase()){case"top":a.addClass("position-top");break;case"right":a.addClass("position-right");break;case"left":a.addClass("position-left");break;case"bottom":a.addClass("position-bottom")}return a.find(".modal-footer").empty().addClass("text-center").html('<a href="#" data-bs-dismiss="modal" class="popup-modal-close-link">Close</a><span class="separator">&nbsp;|&nbsp;</span><a href="#" class="popup-modal-hide-link">Do Not Show Again</a>'),a.data("bs.modal")?(a.data("bs.modal").options.keyboard=!1,a.data("bs.modal").options.backdrop="static"):a.modal({backdrop:"static",keyboard:!1}),h(a,t.styles),window.setTimeout(function(){var e;a.appendTo("body").modal("show"),!0===t.disableBodyScroll&&p("body").addClass("modal-open"),t.zIndex&&(a.css("z-index",t.zIndex),(e=bootstrap.Modal.getInstance(a[0]))&&p(e._backdrop._element).css("z-index",t.zIndex-1))},t.launchTime),a}}),this},p.everywhere={alertOptions:s(),alert:function(e){return"string"==typeof e&&(e={body:e}),p("#everywhere-modal").alert(e)},confirmOptions:d(),confirm:function(e,t){return"string"==typeof e&&(e={body:e,confirmMethod:t}),p("#everywhere-modal").confirm(e)},ajaxOptions:f(),ajax:function(e){return p("#everywhere-modal").initAjaxModal(e)},modalOptions:c(),modal:function(e){return p("#everywhere-modal").initModal(e)}}}),window.skipWaScriptsDocumentReady||initializeJQPlugin();var getUrlParameter=function(e){for(var t,a=window.location.search.substring(1).split("&"),o=0;o<a.length;o++)if(t=a[o].split("="),decodeURIComponent(t[0].toLowerCase())===e.toLowerCase())return void 0===t[1]||decodeURIComponent(t[1])},setUrlParameterV2=function(e,t,a,o,n){a=a||window.location.origin,o=o||window.location.pathname,n=null!=n?n:window.location.search;try{var r=new URLSearchParams(n);r.set(e,t);var s=r.toString();return{origin:a,pathname:o,search:s?"?"+s:""}}catch(e){return console.log("URLSearchParams may not be supported",e),{origin:a,pathname:o,search:n}}},setUrlParameter=function(e,t){t=setUrlParameterV2(e,t);return t.origin+t.pathname+t.search},removeUrlParameterV2=function(e,t,a,o){t=t||window.location.origin,a=a||window.location.pathname,o=null!=o?o:window.location.search;try{var n=new URLSearchParams(o);n.delete(e);var r=n.toString();return{origin:t,pathname:a,search:r?"?"+r:""}}catch(e){return console.log("URLSearchParams may not be supported",e),{origin:t,pathname:a,search:o}}},removeUrlParameter=function(e){e=removeUrlParameterV2(e);return e.origin+e.pathname+e.search},stringToBoolOrDefault=function(e,t){return null==e||""==e?t:"true"==e},stringToNumberOrDefault=function(e,t){if(null==e||""==e)return t;e=Number(e);return e||t},getRandomInitialSlideIndex=function(e,t){return e=e?(t=$(t+" .slideshow-gallery-slide img").length,Math.floor(Math.random()*t)):0};function initializeJQPlugin(){$.fn.randomize=function(e){return(e?$(this).find(e):$(this).children()).parent().each(function(){$(this).children(e).sort(function(){return Math.round(Math.random())-.5}).detach().appendTo(this)}),this},$.fn.getCaretPosition=function(){var e=this.get(0);if(e){var t,a=0;
1return document.selection?(e.focus(),(t=document.selection.createRange()).moveStart("character",-e.value.length),a=t.text.length):!e.selectionStart&&"0"!==e.selectionStart&&0!==e.selectionStart||(a=e.selectionStart),a}},$.fn.setCaretPosition=function(e){var t,a=this.get(0);if(a)return a.createTextRange?((t=a.createTextRange()).move("character",e),t.select()):a.selectionStart?(a.focus(),a.setSelectionRange(e,e)):a.focus(),this};function s(e,t,a,o,n,r){$(".toast-container").length||$("body").append('<div class="toast-container"></div>'),null==o&&(o=8e3),null==n&&(n=500),null==t&&(t="No Text"),null==e&&(e="");var s="";switch(a=null==a?"secondary":a){case"success":s="bi-check2-square";break;case"danger":case"warning":s="bi-exclamation-triangle";break;case"info":s="bi bi-info-circle"}return{toastTitle:e,toastText:t,type:a,length:o,fadeTime:n,onclose:r,toastTypeIcon:s}}function i(e,t,a,o){var n=$(e);$(".toast-container").append(n),n.animate({right:"0px",opacity:"1"},250),0!==t&&n.find(".toast-progress").animate({width:"100%"},t),n.addClass("toast-fade-in"),n.on("hide.bs.toast",function(e){e.preventDefault(),n.removeClass("toast-fade-in").addClass("toast-fade-out"),n.animate({right:"-120%"},250),n.delay(100).animate({height:"0px",margin:"0px"},150)}),0!==t&&setTimeout(function(){setTimeout(function(){n.removeClass("toast-fade-in").addClass("toast-fade-out"),n.animate({right:"-120%"},250),n.delay(100).animate({height:"0px",margin:"0px"},150),o&&o(),o=void 0},a)},t)}$.showToast=function(e,t,a,o,n){o=s(null,e,t,a,o,n),n="pb-1";0===o.length&&(n="");n='<div class="toast bg-'+o.type+" align-items-center border-0 show "+n+'" role="alert" aria-live="assertive" aria-atomic="true"><div class="d-flex align-items-center"><div class="toast-body d-flex align-items-center"><i class="'+o.toastTypeIcon+' me-3 fs-4"></i><span>'+o.toastText+'</span></div><button type="button" class="btn-close btn-close-white me-2 m-auto" data-bs-dismiss="toast" aria-label="Close"></button></div><div class="toast-progress '+o.type+'"></div></div>';i(n,o.length,o.fadeTime,o.onClose)},$.showToastLarge=function(e,t,a,o,n,r){n=s(e,t,a,o,n,r),r='<div class="toast toast-lg toast-'+n.type+' show" role="alert" aria-live="assertive" aria-atomic="true"><div class="toast-header"><i class="'+n.toastTypeIcon+" me-2 text-"+n.type+'"></i><strong class="me-auto text-'+n.type+'">'+n.toastTitle+'</strong><button type="button" class="btn-close" data-bs-dismiss="toast" aria-label="Close"></button></div><div class="toast-body">'+n.toastText+'</div><div class="toast-progress bg-secondary bg-opacity-10 '+n.type+'"></div></div>';i(r,n.length,n.fadeTime,n.onClose)},$.fn.enterListener=function(t){return $(this).on("keyup.enter-listener",function(e){13===e.keyCode&&t&&t()})}}var EMAIL_REGEXP=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;function IsValidEmailGlobal(e){if(e&&e.trim){e=e.trim();return EMAIL_REGEXP.test(e)}return!1}
2//# sourceMappingURL=wa-scripts-callbacks-top.bundle.min.js.map

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.