PageSourceSearch

https://www.famous-supply.com/bundles/js/incontext/global.min.js?v…G0D-AgfGKdiODpU9Abd19E6btMbUDkm8vQOa-M8sQE1

js famous-supply.com collected 2026-09-24 10:27:21 UTC 19,237 bytes, 1 lines download raw bytes

1function elementsFromPoint(n,t){var r=[],i=void 0;do i!==document.elementFromPoint(n,t)?(i=document.elementFromPoint(n,t),r.push(i),i.style.pointerEvents="none"):i=!1;while(i);return r.forEach(function(n){return n.style.pointerEvents="all"}),r}var insite=insite||{},insite_admin;insite.contentCore=function(n,t){"use strict";var i={};return t.updateAdminShellAction="updateAdminShell",t.showLoadingAction="showLoading",t.hideLoadingAction="hideLoading",t.loadShellModalAction="loadShellModal",t.loadSlidePanelAction="loadSlidePanel",t.rearrangeItems="rearrangeItems",t.saveRearrange="saveRearrange",t.changeStorefrontUrl="changeStorefrontUrl",t.enableClickTrackingMode="enableClickTrackingMode",t.disableClickTrackingMode="disableClickTrackingMode",t.highlightClickableItemAt="highlightClickableItemAt",t.highlightSelectedItemAt="highlightSelectedItemAt",t.scrollStorefront="scrollStorefront",t.createHighlightAt="createHighlightAt",t.rearrangedItems="rearrangedItems",i.updateSortOrder=function(t){var f=t.next(".cms-contentItem"),e=t.prev(".cms-contentItem"),r=null,u=null,i;f.length>0&&(u=parseInt(f.attr("data-sortOrder")));e.length>0&&(r=parseInt(e.attr("data-sortOrder")));u===null&&r===null?t.attr("data-sortOrder",0):u===null?t.attr("data-sortOrder",r+512):r===null?t.attr("data-sortOrder",u-512):(i=(r+u)/2,t.attr("data-sortOrder",i),i%1!=0&&(i=0,t.parent().find(".cms-contentItem").each(function(t,r){n(r).attr("data-sortOrder",i);i+=512})))},t.getUserProfile=function(t){var i=insite.adminAccessToken.get();i!==""&&i!==null?n.ajax({url:"/admin/account/getuserdata",type:"GET",headers:{Authorization:"Bearer "+i},success:function(n){var i=n.userProfile,u,r;for(i||(insite.adminAccessToken.remove(),t(null)),u=0;u<i.roles.length;u++)r=i.roles[u],r==="ISC_ContentAdmin"||r==="ISC_FrontEndDev"||r==="ISC_Implementer"?(i.isUserContentAdmin=!0,i.isUserContentEditor=!0,i.isUserContentApprover=!0):r==="ISC_ContentEditor"?i.isUserContentEditor=!0:r==="ISC_ContentApprover"&&(i.isUserContentApprover=!0),(r==="ISC_ContentAdmin"||r==="ISC_Admin"||r==="ISC_Implementer"||r==="ISC_System")&&(i.canImportExport=!0);t(i)},error:function(n){n.readyState!==0&&n.status!==0&&insite.adminAccessToken.remove()}}):t(null)},i};insite=insite||{};insite.incontext=function(n){"use strict";var i={},t=insite.contentCore(n,i),r=new Porthole.WindowProxy("/SystemResources/Scripts/Libraries/porthole/proxy.html"),u="",f;t.getCmsFrameService=function(){var n=angular.element(document.getElementsByTagName("body")).injector();return n.get("cmsFrameService")};r.addEventListener(function(r){switch(r.data.action){case i.rearrangeItems:n(".cms-rearrangeable").addClass("cms-rearrangingItems").find(".cms-zone").sortable({handle:".cms-moveHandle",connectWith:".cms-zone",placeholder:"ui-sortable-placeholder",cursorAt:{right:10,top:10},update:function(n,i){t.updateSortOrder(i.item)}});break;case i.saveRearrange:t.showLoading();var u=[];t.childContentItems=0;n(".cms-zone").each(function(){var i=n(this);u.push({Zone:i.attr("data-zone"),ContentItemId:i.attr("data-contentItemId"),Children:n.map(i.find("> .cms-contentItem"),function(i){return t.childContentItems++,{ContentItemId:n(i).attr("data-contentItemId"),SortOrder:n(i).attr("data-sortOrder")}})})});n.ajax({url:r.data.url,type:"POST",headers:{Authorization:"Bearer "+insite.adminAccessToken.get()},data:JSON.stringify(u),contentType:"application/json; charset=utf-8",success:function(){t.hideLoading();t.childContentItems>0&&t.rearrangedItems();t.getCmsFrameService().reloadUrl()}});break;case i.changeStorefrontUrl:t.getCmsFrameService().loadUrl(r.data.value.url);t.hideLoading();break;case i.highlightClickableItemAt:clearTimeout(f);t.highlightClickableItemAt(r.data.value.x,r.data.value.y);break;case i.highlightSelectedItemAt:t.highlightSelectedItemAt(r.data.value.selector);break;case i.scrollStorefront:window.scrollBy(0,r.data.value);break;default:console.log("Nothing set up to handle action"+r.data.action+" value: "+r.data.value)}});t.highlightClickableItemAt=function(u,f){for(var o=document.elementsFromPoint(u,f),h=null,s,c,e=0;e<o.length;e++)if(o[e].tagName.toLowerCase()==="a"||o[e].tagName.toLowerCase()==="button"||o[e].tagName.toLowerCase()==="input"&&(o[e].getAttribute("type")==="button"||o[e].getAttribute("type")==="submit")||o[e].tagName.toLowerCase()==="img"&&o[e].parentElement.tagName.toLowerCase()==="a"){h=o[e];break}if(h===null||n(h).parents(".cms-currentPage").length===0){r.post({action:i.createHighlightAt,value:null});return}s=n(h);
1c={width:s.outerWidth(),height:s.outerHeight(),left:s.offset().left,top:s.offset().top-n(window).scrollTop(),clickTrackingSelector:t.buildSelector(s)};r.post({action:i.createHighlightAt,value:c})};t.highlightSelectedItemAt=function(u){var e=n("body "+u);if(e.length===0||u===""||u===null||typeof u=="undefined"){r.post({action:i.highlightSelectedItemAt,value:null});f=setTimeout(function(){t.highlightSelectedItemAt(u)},100);return}r.post({action:i.highlightSelectedItemAt,value:{width:e.outerWidth(),height:e.outerHeight(),left:e.offset().left,top:e.offset().top-n(window).scrollTop()}})};t.showLoading=function(){r.post({action:i.showLoadingAction})};t.hideLoading=function(){r.post({action:i.hideLoadingAction})};t.rearrangedItems=function(){r.post({action:i.rearrangedItems})};t.updateAdminShell=function(n){r.post({action:i.updateAdminShellAction,value:n})};t.loadShellModal=function(n){r.post({action:i.loadShellModalAction,value:{url:n}})};t.loadSlidePanel=function(n){r.post({action:i.loadSlidePanelAction,value:{url:n}})};t.checkPopupOverlap=function(t){var i=t.offset().top,r,u;if(i<0){t.addClass("pushDown");return}r=n("#header").offset();r&&(u=r.top,u>i&&u-i<t.height()&&t.addClass("pushDown"))};t.buildSelector=function(n){for(var e,t=n,o,i,f,s,r,h;t.length>0;){if(o=t[0],i=o.localName,!i)break;if(i=i.toLowerCase(),f=t.parent(),(u==="Header"||u==="Footer")&&i!=="header"&&(t.hasClass("cms-rearrangeable")||t.hasClass("container"))){t=f;continue}if(s=f.children(i),r=i,s.length>1&&(h=f.children().index(o)+1,r+=":nth-child("+h+")"),t.hasClass("cms-rearrangeable")&&(r=i+".cms-rearrangeable"),r==="body"&&(r=""),r==="html")break;e=r+(e?" > "+e:"");t=f}return e};var e="",o=n("body"),s=function(t,i){n.post("Experiments/UpdateClickTracking",{isHeader:t,isFooter:i})},h;return t.checkExperiment=function(){clearTimeout(h);e!==""&&o.off("click",e);const i=n.cookie("ExperimentParticipantClickTrackingSelector"),u=n.cookie("HeaderExperimentParticipantClickTrackingSelector"),f=n.cookie("FooterExperimentParticipantClickTrackingSelector");if(i||u||f){var r=function(t,i,u){n(window).load(function(){const r=n("body "+t);r.length>0&&(r[0].removeEventListener("click",function(){s(i,u)}),r[0].addEventListener("click",function(){s(i,u)}))});h=setTimeout(r,100)},t;if(i){const n=o.attr("data-contentKey"),u=i.split("|")[0];t=i.split("|")[1];n===u&&r(t)}u&&!window.insite.hideHeader&&(t=u.split("|")[1],r(t,!0));f&&!window.insite.hideFooter&&(t=f.split("|")[1],r(t,!1,!0))}},t.setup=function(r){var e,f;u=r.shellModel.CurrentContentItem.Title;t.checkExperiment();e=r.contentMode==="Editing"||r.contentMode==="Previewing";n.cookie("cms_CurrentContentMode")&&i.getUserProfile(function(t){typeof t!="undefined"&&t!==null&&(t.isUserContentEditor||t.isUserContentApprover)||n.removeCookie("cms_CurrentContentMode",{path:"/"})});f=!1;try{f=window.parent!=null&&window.parent.location.toString().toLowerCase().indexOf("/contentadmin")!==-1}catch(o){return}!f&&window.innerWidth<=1024||(window.parent===null||window.location===window.parent.location?(i.getUserProfile(function(t){if(t&&(t.isUserContentEditor||t.isUserContentApprover)){var i=n(".cms-shell-controls button");i.click(function(){localStorage.setItem("cmsOn",!0);window.location=r.cmsShellLoadUrl}).parent().show()}}),e&&(window.location=r.cmsShellLoadUrl)):window.parent.location.origin===window.location.origin&&window.parent.location.toString().toLowerCase().indexOf((insiteMicrositeUriPrefix+"/contentadmin").toLowerCase())===-1?window.parent.location=insiteMicrositeUriPrefix+r.cmsShellLoadUrlWithoutPersona:(insite.incontext.updateAdminShell(r.shellModel),insite.predefinedContentEditor.setup(r.contentMode),n(".cms-displayInfo").click(function(i){i.preventDefault();var r=n(this).parents(".cms-contentItemInfo").toggleClass("cms-showInfoPop").removeClass("cms-showMismatchPop");r.hasClass("cms-showInfoPop")&&t.checkPopupOverlap(r.find(".cms-infoPop"))}),n(".cms-closeInfo").click(function(t){t.preventDefault();var i=n(this).parents(".cms-contentItemInfo").removeClass("cms-showInfoPop");i.find(".cms-infoPop").removeClass("pushDown")}),n(".cms-mismatchIcon").click(function(i){i.preventDefault();var r=n(this).parents(".cms-contentItemInfo").toggleClass("cms-showMismatchPop").removeClass("cms-showInfoPop");r.hasClass("cms-showMismatchPop")&&t.checkPopupOverlap(r.find(".cms-mismatchPop"))}),n(".cms-closeMismatch").click(function(t){t.preventDefault();var i=n(this).parents(".cms-contentItemInfo").removeClass("cms-showMismatchPop");i.find(".cms-mismatchPop").removeClass("pushDown")}),n(".cms-loadShellModal").click(function(i){i.preventDefault();t.loadShellModal(n(this).attr("href"))}),n(".cms-loadSlidePanel").click(function(i){i.preventDefault();t.loadSlidePanel(n(this).attr("href"))})))},t}(jQuery);document.elementsFromPoint||(document.elementsFromPoint=elementsFromPoint);insite=insite||{};insite.predefinedContentEditor=function(n){"use strict";var i={},t=insite.contentCore(n,i),r=new Porthole.WindowProxy("/SystemResources/Scripts/Libraries/porthole/proxy.html");return t.setup=function(i){n("body").addClass("isc-editing");t.toggleEditingStyles(i==="Editing")},t.toggleEditingStyles=function(t){var u=n("body");if(u.removeClass("isc-edit-on"),u.off("click",".isc-content-block,.isc-unapprovedcontent-block"),t){u.addClass("isc-edit-on");u.on("click",".isc-content-block,.isc-unapprovedcontent-block",function(t){t.preventDefault();t.stopPropagation();var u=n(this);r.post({action:i.loadSlidePanelAction,value:{url:"/contentadmin/predefinedcontent/edit?contentmanagerid="+u.attr("data-contentmanagerid")+"&name="+u.attr("data-contentmanagername")}})})}},t}(jQuery),function(n){var t=function(){function n(){}return n.prototype.clearStateFor=function(){},n.prototype.setStateFor=function(){},n.prototype.getStateFor=function(){return null},n.prototype.clearAllStates=function(){},n}();n.FakeEntityListStateService=t;angular.module("insite-admin").service("entityListStateService",t)}(insite_admin||(insite_admin={})),function(n){"use strict";var t=function(){function n(n,t,i,r,u,f,e,o,s,h,c,l){this.$localStorage=n;this.accessToken=t;this.$http=i;this.$q=r;this.$location=u;this.$window=f;this.$document=e;this.$timeout=o;this.$interval=s;this.$rootScope=h;this.entityListStateService=c;this.ipCookie=l;this.accessTokenName="admin-accessToken";this.accessTokenExpiresOn="admin-accessToken-expires";this.refreshTokenName="admin-refreshToken";this.optiIdAccessTokenName="optiId-accessToken";this.optiIdRefreshTokenName="optiId-refreshToken";this.optiIdExpiresInName="optiId-expiresIn";this.xsrfTokenName="admin-xsrfToken";this.lastActiveTimeName="admin-lastActiveTime";this.activityEvents="keypress mousedown ontouchstart";this.isAuthenticated()&&(this.$window.location.pathname.toLowerCase().indexOf("/admin")===0||this.$window.location.pathname.toLowerCase().indexOf("/contentadmin")===0)&&(this.checkAccessToken(),this.resetInactivityTimer(),this.createActivityWatcher(),this.startInactivityTimer());this.roles=null}return n.prototype.isAuthenticated=function(){return this.getAccessToken()!==null},n.prototype.getAccessToken=function(){return this.$localStorage.get(this.accessTokenName,null)},n.prototype.generateAccessToken=function(n,t){return this.clearOptiId(),this.accessToken.generate(n,t)},n.prototype.checkAccessToken=function(){var i=this.$localStorage.get(this.accessTokenExpiresOn),n,t,r;if(typeof i!="undefined"){if(n=new Date(parseInt(i,10)),t=new Date,t>n){this.removeAccessToken();this.$window.location.reload(!0);return}r=new Date(t.getTime()+3e5);r>n&&(this.$localStorage.remove(this.accessTokenExpiresOn),this.refreshAccessToken())}},n.prototype.refreshAccessToken=function(){var t=this,n=this.$q.defer(),i=this.getRefreshToken();return i?this.accessToken.refresh(i).then(function(i){t.setRefreshToken(i.refreshToken);t.setAccessToken(i.accessToken,i.expiresIn);n.resolve(i)},function(t){n.reject(t)}):this.$window.location.reload(!0),n.promise},n.prototype.removeAccessToken=function(){this.$localStorage.get(this.accessTokenName)&&this.$localStorage.remove(this.accessTokenName);this.$localStorage.get(this.accessTokenExpiresOn)&&this.$localStorage.remove(this.accessTokenExpiresOn);this.clearOptiId();this.removeRefreshToken();this.roles=[]},n.prototype.setAccessToken=function(n,t){this.$localStorage.set(this.accessTokenName,n);var i=new Date((new Date).getTime()+t*1e3);this.$localStorage.set(this.accessTokenExpiresOn,i.getTime().toString());this.loadedRoles=!1},n.prototype.removeRefreshToken=function(){this.getRefreshToken()&&this.$localStorage.remove(this.refreshTokenName);this.$localStorage.get(this.optiIdRefreshTokenName)&&this.$localStorage.remove(this.optiIdRefreshTokenName)},n.prototype.setRefreshToken=function(n){this.$localStorage.set(this.refreshTokenName,n)},n.prototype.getRefreshToken=function(){return this.$localStorage.get(this.refreshTokenName,null)},n.prototype.clearOptiId=function(){this.$localStorage.get(this.optiIdAccessTokenName)&&this.$localStorage.remove(this.optiIdAccessTokenName);this.$localStorage.get(this.optiIdRefreshTokenName)&&this.$localStorage.remove(this.optiIdRefreshTokenName);this.$localStorage.get(this.optiIdExpiresInName)&&this.$localStorage.remove(this.optiIdExpiresInName)},n.prototype.hasRole=function(n){return this.loadedRoles?this.roles.some(function(t){return t.toLowerCase()===n.toLowerCase()}):(this.loadRoles(),!1)},n.prototype.signIn=function(n,t,i,r,u,f){var e=this,o=this.$q.defer();return this.$http.post("/admin/signin",{userName:i,password:r},{bypassErrorInterceptor:!0}).then(function(i){var r={};
1if(i.data){if(i.data.defaultAcUserLanguage.length>0&&e.setDefaultAcUserLanguage(i.data.defaultAcUserLanguage),i.data.passwordShouldChange||i.data.defaultAcUserLanguage.length==0){var h=i.data.passwordShouldChange?"Password must be changed":"",c=i.data.defaultAcUserLanguage.length==0?"Language Should be assigned":"",l=i.data.passwordShouldChange&&i.data.defaultAcUserLanguage.length==0?" ":"",s=h+l+c+".";if(r={data:s,passwordShouldChange:i.data.passwordShouldChange,defaultAcUserLanguage:i.data.defaultAcUserLanguage,languageListCount:i.data.languageListCount},i.data.passwordShouldChange){o.reject({data:s,passwordShouldChange:i.data.passwordShouldChange});return}}if(i.data.defaultAcUserLanguage.length==0&&i.data.languageListCount>0&&f){o.resolve(r);return}}e.resetInactivityTimer();e.setAccessToken(n,t);e.setRefreshToken(u);e.startInactivityTimer();e.createActivityWatcher();e.removeXsrfToken();e.$rootScope.$broadcast("signed-in");o.resolve(i.data)},function(n){o.reject({data:n.data,code:n.status})}),o.promise},n.prototype.signOut=function(n){var r=this,t,i;return n||(n="/admin/signout"),t=this.$q.defer(),i=this.getAccessToken(),i?this.$http.post(n,{},{headers:{Authorization:"Bearer "+i}}).then(function(n){r.clearSessionState();t.resolve(n)},function(n){t.reject(n)}):(this.clearSessionState(),t.reject()),typeof telemetry!="undefined"&&telemetry.reset(),t.promise},n.prototype.getCurrentUser=function(){var t=this,n,i;return this.currentUserPromise?this.currentUserPromise:(n=this.$q.defer(),i=this.$http.get("/admin/account/getuserdata"),i.then(function(i){i.data.userProfile||(n.reject(),t.currentUserPromise=null);n.resolve(i.data.userProfile);t.currentUserPromise=null},function(i){n.reject(i);t.currentUserPromise=null}),this.currentUserPromise=n.promise,this.currentUserPromise)},n.prototype.clearSessionState=function(){this.removeAccessToken();this.stopInactivityTimer();this.stopActivityWatcher();this.entityListStateService.clearAllStates();this.removeDefaultAcUserLanguage()},n.prototype.resetInactivityTimer=function(){this.$localStorage.set(this.lastActiveTimeName,(new Date).toISOString())},n.prototype.getInactiveTime=function(){var n=this.$localStorage.get(this.lastActiveTimeName);return n?(new Date).getTime()-new Date(n).getTime():null},n.prototype.startInactivityTimer=function(){var n=this,t=9e5,i=72e4;this.logOutTimer=setInterval(function(){var r=n.getInactiveTime();if(!r){n.resetInactivityTimer();return}if(r>=t){n.signOut().then(function(){n.$window.location.reload(!0)},function(){n.$window.location.reload(!0)});return}if(r>=i){n.$rootScope.$broadcast("userLogoutWarning");return}n.checkAccessToken()},3e4)},n.prototype.stopInactivityTimer=function(){clearInterval(this.logOutTimer)},n.prototype.loadRoles=function(){var t=this,n;return this.loadRolesPromise?this.loadRolesPromise:(n=this.$q.defer(),this.getAccessToken()==null)?(this.roles=[],n.resolve(),n.promise):(this.loadedRoles?n.resolve():this.getCurrentUser().then(function(i){t.roles=i.roles;t.loadedRoles=!0;n.resolve();t.loadRolesPromise=null},function(i){n.reject(i);t.loadRolesPromise=null}),this.loadRolesPromise=n.promise,this.loadRolesPromise)},n.prototype.createActivityWatcher=function(){var n=this;this.$document.bind(this.activityEvents,function(){n.activityTimer||(n.resetInactivityTimer(),n.activityTimer=n.$timeout(function(){n.activityTimer=null},1e4))})},n.prototype.stopActivityWatcher=function(){this.$document.unbind(this.activityEvents)},n.prototype.setXsrfToken=function(n){this.$localStorage.set(this.xsrfTokenName,n)},n.prototype.getXsrfToken=function(){return this.$localStorage.get(this.xsrfTokenName,null)},n.prototype.removeXsrfToken=function(){this.getXsrfToken()&&this.$localStorage.remove(this.xsrfTokenName)},n.prototype.setDefaultAcUserLanguage=function(n){var t=this.$location.protocol()==="https";this.ipCookie("DefaultAcUserLanguage",n,{path:"/",secure:t})},n.prototype.removeDefaultAcUserLanguage=function(){this.ipCookie.remove("DefaultAcUserLanguage",{path:"/"})},n.$inject=["$localStorage","accessToken","$http","$q","$location","$window","$document","$timeout","$interval","$rootScope","entityListStateService","ipCookie",],n}();n.AdminSessionService=t;angular.module("insite-admin").service("adminSessionService",t)}(insite_admin||(insite_admin={})),function(n){var t;(function(n){"use strict";var t=function(){function n(n,t,i,r){this.$rootScope=n;this.$location=t;this.$templateCache=i;this.$window=r;this.useQuickReloads=!1}return n.prototype.reloadUrl=function(){this.loadUrl(this.$location.url())},n.prototype.loadUrl=function(n){this.$templateCache.removeAll();this.$location.url()===n?this.useQuickReloads?this.$location.search("stateChange",(new Date).getTime()):this.$window.location.reload():this.useQuickReloads?(this.$location.url(n),this.$location.search("stateChange",(new Date).getTime())):this.$window.location.href=n;this.$rootScope.$apply()},n.prototype.enableQuickReloads=function(){this.useQuickReloads=!0},n.$inject=["$rootScope","$location","$templateCache","$window"],n}();n.CmsFrameService=t;angular.module("insite").service("cmsFrameService",t)})(t=n.core||(n.core={}))}(insite||(insite={}))

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.