PageSourceSearch

https://get.checkfront.com/lib/vite/staffside.js-legacy-2026.10.01-3d77ab87.js

js checkfront.com collected 2026-10-02 02:15:49 UTC 18,000 bytes, 1 lines download raw bytes

vendor: 4,154 bytes, line 1
1!function(){function e(){"use strict";/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */e=function(){return n};var n={},r=Object.prototype,o=r.hasOwnProperty,i=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},c=a.iterator||"@@iterator",s=a.asyncIterator||"@@asyncIterator",l=a.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(S){u=function(e,t,n){return e[t]=n}}function h(e,t,n,r){var o=t&&t.prototype instanceof p?t:p,a=Object.create(o.prototype),c=new L(r||[]);return i(a,"_invoke",{value:k(e,n,c)}),a}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(S){return{type:"throw",arg:S}}}n.wrap=h;var f={};function p(){}function m(){}function v(){}var g={};u(g,c,(function(){return this}));var b=Object.getPrototypeOf,y=b&&b(b(j([])));y&&y!==r&&o.call(y,c)&&(g=y);var w=v.prototype=p.prototype=Object.create(g);function $(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function _(e,n){function r(i,a,c,s){var l=d(e[i],e,a);if("throw"!==l.type){var u=l.arg,h=u.value;return h&&"object"==t(h)&&o.call(h,"__await")?n.resolve(h.__await).then((function(e){r("next",e,c,s)}),(function(e){r("throw",e,c,s)})):n.resolve(h).then((function(e){u.value=e,c(u)}),(function(e){return r("throw",e,c,s)}))}s(l.arg)}var a;i(this,"_invoke",{value:function(e,t){function o(){return new n((function(n,o){r(e,t,n,o)}))}return a=a?a.then(o,o):o()}})}function k(e,t,n){var r="suspendedStart";return function(o,i){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===o)throw i;return O()}for(n.method=o,n.arg=i;;){var a=n.delegate;if(a){var c=x(a,n);if(c){if(c===f)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var s=d(e,t,n);if("normal"===s.type){if(r=n.done?"completed":"suspendedYield",s.arg===f)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(r="completed",n.method="throw",n.arg=s.arg)}}}function x(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&(t.method="return",t.arg=void 0,x(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),f;var o=d(r,e.iterator,t.arg);if("throw"===o.type)return t.method="throw",t.arg=o.arg,t.delegate=null,f;var i=o.arg;return i?i.done?(t[e.resultName]=i.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,f):i:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,f)}function C(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function E(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(C,this),this.reset(!0)}function j(e){if(e){var t=e[c];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:O}}function O(){return{value:void 0,done:!0}}return m.prototype=v,i(w,"constructor",{value:v,configurable:!0}),i(v,"constructor",{value:m,configurable:!0}),m.displayName=u(v,l,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,u(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},n.awrap=function(e){return{__await:e}},$(_.prototype),u(_.prototype,s,(function(){return this})),n.AsyncIterator=_,n.async=function(e,t,r,o,i){void 0===i&&(i=Prom
1ise);var a=new _(h(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},$(w),u(w,l,"Generator"),u(w,c,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=j,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(E),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return a.type="throw",a.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=o.call(i,"catchLoc"),s=o.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=e,a.arg=t,i?(this.method="next",this.next=i.finallyLoc,f):this.complete(a)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),f},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),E(n),f}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;E(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:j(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),f}},n}function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(e)}function n(e,t,n,r,o,i,a){try{var c=e[i](a),s=c.value}catch(l){return void n(l)}c.done?t(s):Promise.resolve(s).then(r,o)}System.register(["./vendor-legacy-cd4e85ff.js"],(function(r,o){"use strict";var i;return{setters:[function(e){i=e._}],execute:function(){r({b:f,i:p,v:d});var a=r("a",(function(e){return{headers:{"X-CSRF-TOKEN":e,"X-USE-REACT-CONTROLLER":1}}})),c="/api/js/zendeskMessagingToken/";function s(){return"function"==typeof window.zE?window.zE:void 0}function l(){var t;return t=e().mark((function t(){var n,r,s,l;return e().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,i((function(){return o.import("./index-legacy-93dc16aa.js").then((function(e){return e.i}))}),void 0);case 2:return n=e.sent,r=n.default,e.next=6,r.post(c,{},a((t=void 0,u=void 0,u=document.getElementById("form_key"),null!==(t=null==u?void 0:u.value)&&void 0!==t?t:"")));case 6:return s=e.sent,l=s.data,e.abrupt("return",l.jwt);case 9:case"end":return e.stop()}var t,u}),t)})),l=function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(e){n(a,o,i,c,s,"next",e)}function s(e){n(a,o,i,c,s,"throw",e)}c(void 0)}))},l.apply(this,arguments)}function u(){var e=s();e&&e("messenger","loginUser",(function(e){(function(){return l.apply(this,arguments)})().then(e).catch((function(){}))}))}function h(){document.addEventListener("click",(function(e){var t=e.target;if(t instanceof Element){var n,r=t.closest("a[href]");if(r instanceof HTMLAnchorElement)(function(e){try{var t=new URL(e,window.location.origin);return"/login/"===t.pathname&&t.searchParams.has("close")}catch(n){return!1}})(r.getAttribute("href")||"")&&(n=s())&&n("messenger","logoutUser")}}),!0)}function d(){$(".modal-dialog").css({"margin-top":function(){var e,t=parseInt($(this).css("margin-bottom"),10),n=$(window).outerHeight()||800,r=$(this).parent();return"none"===r.css("display")?(r.show(),e=$(this).outerHeight(),r.hide()):e=$(this).outerHeight(),!e||e>=n-2*t?t:(n-e)/2}})}function f(e,n,r,o,i){var a;
1return"object"===t(e)?a=e:((a={}).type=e,a.url=n,r&&(a.data=r),o&&(a.success=o),i&&(a.error=i)),a.headers||(a.headers={}),a.headers["X-CSRF-TOKEN"]||(a.headers["X-CSRF-TOKEN"]=$("#form_key").val()),a.url="/api/4.0/internal/"+a.url,"GET"!==a.type&&(a.contentType="application/json",a.data=JSON.stringify(a.data),a.headers["X-CSRF-TOKEN"]||console.warn("ajax_api4 warning: "+a.type+" request to "+a.url+" is missing a CSRF token")),$.ajax(a)}function p(e){void 0===e&&(e=!0),$(".cat_checkbox").on("click",(function(){$(this).hasClass("indeterminate")&&$(this).parents(".cat_panel").find(".checkbox-span").removeClass("indeterminate").end().find(".btn-checkbox").addClass("active").children("input").prop("checked",!0)})).find("input").change((function(){var e=$(this).parents(".cat_panel").find(".checkbox-span").removeClass("indeterminate").end().find(".btn-checkbox");$(this).is(":checked")?e.addClass("active").children("input").prop("checked",!0):e.removeClass("active").children("input").prop("checked",!1)})),$(".cat_panel_group").on("change",".cat_item input",(function(){m($(this),e)})),$(".cat_collapse_body").map((function(t,n){!e&&$(n).parents(".cat_panel").find(".cat_heading input").prop("checked")&&$(n).find(".btn-checkbox").addClass("active").children("input").prop("checked",!0),m($(n).find("input").first(),e)})),$(".cat_collapse").on("show.bs.collapse hide.bs.collapse",(function(){$(this).siblings().find(".fa-chevron-down").toggleClass("fa-rotate-180")})),$("body").on("click","#cat_checkbox_expand_all",(function(){$(".cat_collapse").collapse("show")})).on("click","#cat_checkbox_collapse_all",(function(){$(".cat_collapse").collapse("hide")})).on("click","#cat_checkbox_select_all",(function(){v()})).on("click","#cat_checkbox_select_none",(function(){g()})).on("click","#param_checkbox_select_all",(function(){$("#apply_to_guest").find(".btn-checkbox").addClass("active").children("input").prop("checked",!0).closest("form").trigger("trigger_unsaved")})).on("click","#param_checkbox_select_none",(function(){$("#apply_to_guest").find(".btn-checkbox").removeClass("active").children("input").prop("checked",!1).closest("form").trigger("trigger_unsaved")}))}function m(e,t){var n=e.parents(".cat_collapse_body").find(".btn-checkbox"),r=n.length,o=n.filter(".active").length,i=n.filter(":not(.active)").length,a=n.parents(".cat_panel").find(".cat_heading").find(".checkbox-span").removeClass("indeterminate");o==r?a.find(".btn-checkbox").addClass("active").children("input").prop("checked",!0):i==r?a.find(".btn-checkbox").removeClass("active").children("input").prop("checked",!1):a.addClass("indeterminate").find(".btn-checkbox").removeClass("active").children("input").prop("checked",t)}function v(){$(".cat_panel_group").find(".btn-checkbox").addClass("active").children("input").prop("checked",!0).closest("form").trigger("trigger_unsaved")}function g(){$(".cat_panel_group").find(".btn-checkbox").removeClass("active").children("input").prop("checked",!1).end().end().find(".checkbox-span").removeClass("indeterminate").closest("form").trigger("trigger_unsaved")}jQuery.fn.extend({center:function(e){return this.each((function(){var t=jQuery(this),n=-t.outerHeight()/2;e.container&&(n=($(e.container).scrollTop()||0)+(t.outerHeight()||0)),t.css({position:"fixed",left:"50%",top:"50%",zIndex:"99",marginLeft:"-"+(t.outerWidth()||0)/2+"px",marginTop:n+"px"})}))}}),$((function(){$(window).on("resize",d),$(".modal").on("show.bs.modal",d).on("scroll",(function(){$(window).scroll()})),$(document).on("click",".checkbox",(function(){$(this).hasClass("on")?($(this).removeClass("on"),$(this).parents("tr").find("td").removeClass("sel")):($(this).parents("tr").find("td").addClass("sel"),$(this).addClass("on")),$(".booking_select, .bulk_select").prop("disabled",0==$(".checkbox.on").length),0==$(".checkbox.on").length?($(".bulk_select").hide(),$(".js-booking_select_menu").addClass("hidden")):($(".bulk_select").show(),$(".js-booking_select_menu").removeClass("hidden")),$("#clr_btn").show();var e=$(".bulk:checked").length;return e&&$("#bulk_count").text(e),$(this).blur(),!1})),$(".responsive-menu-icon-tablet").click((function(){$(".main-nav-mobile-menu-cover").show(),$(".menu-wrapper").show("slide",{direction:"left",easing:"easeOutQuad"},300),$("body").css("overflow-y","hidden"),$(".nav-link-angle-right").show()})),$(".responsive-menu-icon-mobile").click((function(){$(".menu-wrapper").show("slide",{direction:"left",easing:"easeOutQuad"},300),$("body").css("overflow-y","hidden"),$(".nav-link-angle-right").show(),$(".main-nav-menu-mobile-profile").addClass("showprofile")})),$(".main-nav-mobile-menu-cover").click((function(){$(".main-nav-mobile-menu-cover").hide(),$("body").css("overflow-y","hidden"),$(".menu-wrapper").hide("slide",{direction:"left",easing:"easeOutQuad"},300,(function(){$(".menu-bar-header-wrapper").css("left","0"),$(".menu-bar-header-child").hide(),$(".main-nav-mobile-menu-wrapper").css("left","0"),$(".main-nav-mobile-menu-bar-child").hide(),$(".nav-link-angle-right").hide(),$(".main-nav-menu-mobile-profile").removeClass("showprofile")}))})),$("#main-nav-menu-close-button").click((function(){$("body").css("overflow",""),$(".main-nav-mobile-menu-cover").hide(),$(".menu-wrapper").hide("slide",{direction:"left",easing:"easeOutQuad"},300,(function(){$(".menu-bar-header-wrapper").css("left","0"),$(".menu-bar-header-child").hide(),$(".main-nav-mobile-menu-wrapper").css("left","0"),$(".main-nav-mobile-menu-bar-child").hide(),$(".nav-link-angle-right").hide(),$(".main-nav-menu-mobile-profile").removeClass("showprofile")}))}
1)),$(".main-nav-mobile-menu-bar li a.nav-link-angle-right").click((function(){var e=$(this).attr("id")||"",t=e.substr(14,e.length);$(".menu-bar-header-child-"+t).show(),$(".menu-bar-header-wrapper").animate({left:"-=100%"},300),$(".main-nav-mobile-menu-bar-child-"+t).show(),$(".main-nav-mobile-menu-wrapper").animate({left:"-=100%"},300,(function(){$(".nav-link-angle-right").hide(),$(".main-nav-menu-mobile-profile").removeClass("showprofile")}))})),$(".tablet-menu-bar-header-name .menu-bar-header-name").click((function(){var e=$(this).attr("id")||"",t=e.substr(21,e.length);$(".nav-link-angle-right").show(),$(".main-nav-menu-mobile-profile").removeClass("showprofile"),$(".main-nav-mobile-menu-wrapper, .menu-bar-header-wrapper").animate({left:"+=100%"},300,(function(){$(".main-nav-mobile-menu-bar-child-"+t).hide(),$(".menu-bar-header-child-"+t).hide()}))})),$("#view_updates_button").click((function(){$.post("/api/js/viewed_updates/")})),$(".new-badge").each((function(){var e=$(this);e.parent().click((function(){$.post("/api/js/hide_new_badge/"+e.data("badge-id"))}))})),$(".sales-call").click((function(){return loadModalContent("/dashboard/getting_started/sales/"),!1})),$.ui&&($.ui.autocomplete.prototype._renderItem=function(e,t){return $("<li></li>").data("item.autocomplete",t).append($("<a class='cfs-autocomplete'></a>").html(t.label)).appendTo(e)}
1),$(".js-dismiss").click((function(){var e=$(this);$.post("/set/",{dismiss:e.data("dismiss_id")},(function(){e.closest(".alert-dismissible").slideUp()}))})),$(document).on("click",".delete-swal",(function(e){e.preventDefault();var t={title:$(this).data("title"),text:$(this).data("text"),confirm:$(this).data("confirm"),cancel:$(this).data("cancel")},n=$(this).data("url")?$(this).data("url"):$(this).attr("href"),r=$(this).data("form-id");!function(e,t){if(!t.title||!t.confirm||!t.cancel)return;swal({title:t.title,text:t.text?t.text:"",type:"info",showCancelButton:!0,confirmButtonClass:"btn-info",confirmButtonText:t.confirm,cancelButtonText:t.cancel,closeOnConfirm:!0,closeOnCancel:!0},e)}((function(e){e&&(r?$("#"+r).submit():n&&(window.location.href=n))}),t)}));var e=$(".checkbox-toggle");e.length&&e.bootstrapSwitch(),$("#reports-menu .dropdown-submenu > a").on("click",(function(e){e.stopPropagation(),$("#reports-menu .dropdown-submenu").addClass("active")})),$(document).on("click",(function(){$("#reports-menu .dropdown-submenu").removeClass("active")})),"$"in window&&$((function(){function e(e,t){var n=($(t).width()||0)/2,r=($(e).width()||0)/2-n,o=($(e).height()||0)/2-n,i=($(e).width()||0)/2-n,a=0,c=0,s=$(t);$(window).mousemove((function(e){var t=s.offset(),l=(null==t?void 0:t.left)||0,u=(null==t?void 0:t.top)||0,h=e.pageX-n-l-r,d=e.pageY-n-u-o,f=Math.sqrt(h*h+d*d);f<i?(a=e.pageX-l-n,c=e.pageY-u-n):(a=h/f*i+r,c=d/f*i+o)}));var l=0,u=0;setInterval((function(){l+=(a-l)/1,u+=(c-u)/1,s.css({left:l,top:u})}),1)}$(".googly-eye").each((function(){new e(this,$(this).find(".googly-eye-pupil"))}))})),window.__CF_ZENDESK_MESSAGING_AUTH__&&(u(),h())})),window.vertically_center_modal=d,window.resize_iframe_and_vertically_center_modal=function(){d()},window.ajax_api4=f,window.convert_to_local_currency=function(e,t){$.ajax({type:"POST",data:{amounts:e},url:"/api/js/convert_to_local_currency/",success:function(e){t(e)}})},window.initialize_category_checkboxes=p,window.check_all_categories=v,window.uncheck_all_categories=g}}}))}();

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.