PageSourceSearch

https://www.cantref.com/app/brands/default/8832.6522727d2e6334889a42.js

js cantref.com collected 2026-09-29 02:40:17 UTC 10,221 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkloop_web=globalThis.webpackChunkloop_web||[]).push([[204,8832],{391(e,t,s){s.d(t,{_:()=>i});const i={SM:576,MD:768,LG:992,XL:1200,XXL:1400}},8418(e,t,s){s.d(t,{Mc:()=>u,R9:()=>c,YB:()=>b,fs:()=>r,ss:()=>d});const i=window.matchMedia("(prefers-reduced-motion: reduce)");let n=!1,a=null,l=!1;try{var o=Object.defineProperty({},"passive",{get:function(){l=!0}});window.addEventListener("testPassive",null,o),window.removeEventListener("testPassive",null,o)}catch(e){}const r={supportsPassive:l,reducedMotionPref:i.matches,desktopSideHeaderLayout:null!=document.querySelector("body.site-layout.side-header-layout"),fx:[],fxAdd:(e,t,s=null)=>{let i=!1;if(r.fx.forEach(t=>{t.type==e&&(i=!0)}),!i){r.fx.push({type:e,enabled:t,callback:s,controller:document.createElement("div")});let i=r.fx.length-1,n=r.fx[i];n.controller.setAttribute("class","form-check form-switch");let a=document.createElement("input");a.setAttribute("id",`site-settings--fx--${i}`),a.setAttribute("class","form-check-input"),a.setAttribute("type","checkbox"),a.setAttribute("role","switch"),t&&a.setAttribute("checked",!0),a.addEventListener("click",()=>{r.fxToggle(n.type,a.checked)}),n.controller.appendChild(a);let l=document.createElement("label");l.setAttribute("for",`site-settings--fx--${i}`),l.setAttribute("class","form-check-label"),l.innerHTML=n.type,n.controller.appendChild(l)}s&&s(t),n||(()=>{if(null!=document.body.querySelector("#top-utility-bar")){let e=document.body.querySelector("#top-utility-bar--icon-links ul");if(null!=e){let t=document.createElement("li");t.classList.add("list-inline-item"),t.innerHTML='<button class="btn btn-link p-0" data-bs-toggle="modal" data-bs-target="#site-settings"><i class="fa-solid fa-cog" aria-hidden="true" title="Site settings"></i><span class="sr-only">Site settings</span></button>',e.appendChild(t)}else{let e=document.body.querySelector("#top-utility-bar--content"),t=document.createElement("div");t.setAttribute("id","top-utility-bar--icon-links"),t.innerHTML='<ul class="list-inline m-0"><li class="list-inline-item"><button class="btn btn-link p-0" data-bs-toggle="modal" data-bs-target="#site-settings"><i class="fa-solid fa-cog" aria-hidden="true" title="Site settings"></i><span class="sr-only">Site settings</span></button></li></ul>',e.appendChild(t)}}else{let e=document.body.querySelector("#main-header--content");if(null!=e){let t=document.createElement("button");t.setAttribute("id","main-header--content--site-settings-btn"),t.setAttribute("class","btn btn-link"),t.setAttribute("data-bs-toggle","modal"),t.setAttribute("data-bs-target","#site-settings"),t.innerHTML='<i class="fa-solid fa-cog" aria-hidden="true" title="Site settings"></i><span class="side-menu-layout--label">Site settings</span>',e.appendChild(t)}}let e=document.body.querySelector("#main-footer--mid-section--links ul");if(null!=e){let t=document.createElement("li");t.innerHTML='<a href="#site-settings" data-bs-toggle="modal" data-bs-target="#site-settings">Site settings</a>',e.appendChild(t)}n=!0})(),(()=>{if(!a){let e=document.createElement("div");e.setAttribute("id","site-settings"),e.setAttribute("class","modal fade"),e.setAttribute("data-bs-backdrop","static"),e.setAttribute("data-bs-keyboard","false"),e.setAttribute("tabindex","-1"),e.setAttribute("aria-hidden","true"),e.innerHTML='<div class="modal-dialog"><div class="modal-content theme--default"><div class="modal-header"><h1 class="modal-title h5 m-0">Site Settings</h1><button type="button" class="btn btn-link p-0" data-bs-dismiss="modal" aria-label="Close"><i class="fa-regular fa-times" aria-hidden="true" title="Close"></i></button></div><div class="modal-body"></div></div>',document.body.appendChild(e),a=document.body.querySelector("#site-settings .modal-body")}r.fx.length>0&&(a.innerHTML="<p>Manage the visual effects on this site:</p>",r.fx.forEach(e=>{a.appendChild(e.controller)}))})()},fxToggle:(e,t)=>{r.fx.forEach(s=>{s.type==e&&(s.enabled=t,s.callback&&s.callback(t))})}},c={vw:0,vh:0,setVw:e=>{c.vw=e},setVh:e=>{c.vh=e}},d={active:!1,setActive:e=>{d.active=e}},u={mobileActive:!1,setMobileActive:e=>{u.mobileActive=e},desktopActive:!1,setDesktopActive:e=>{u.desktopActive=e}},b={active:!1,setActive:e=>{b.active=e}}}
1,204(e,t,s){s.r(t),s.d(t,{keyboardControl:()=>i});const i={active:!1};let n=null;const a=e=>{clearTimeout(n),n=setTimeout(()=>{document.body.classList.toggle("keyboard-control",e),i.active=e},100)};document.body.addEventListener("keydown",function(e){switch(e.key){case"Escape":case"Up":case"ArrowUp":case"Down":case"ArrowDown":case"Left":case"ArrowLeft":case"Tab":case"Right":case"ArrowRight":case"PageUp":case"PageDown":case"Spacebar":case" ":case"Enter":case"Return":a(!0)}}),document.body.addEventListener("mousedown",function(){a(!1)}),document.body.addEventListener("touchstart",function(){a(!1)})},8832(e,t,s){s.r(t);var i=s(391),n=s(9336),a=s(204),l=s(8418);let o=!0,r=null;document.body.classList.contains("side-header-layout");l.ss.setActive(!1);class c{constructor(e){this.el=e,this.tabIndex=0,this.items=[...this.el.querySelectorAll("a")],this.itemsCount=this.items.length,this.updateTabIndexes(0);for(let e=0,t=this.items.length;e<t;e++)this.items[e].onfocus=()=>{this.tabIndex!=e&&(this.tabIndex=e,this.updateTabIndexes())}}updateTabIndexes(e=!1){for(let e=0,t=this.items.length;e<t;e++)this.items[e].setAttribute("tabIndex",e==this.tabIndex?"0":"-1");e&&this.items[this.tabIndex].focus()}nav(e){e?(this.tabIndex+=1,this.tabIndex>=this.itemsCount&&(this.tabIndex=0)):(this.tabIndex-=1,this.tabIndex<0&&(this.tabIndex=this.itemsCount-1)),this.updateTabIndexes(!0)}}class d{constructor(e,t){this.wrapper=e,this.toggleButton=t,this.expanded=!1,this.mobileTabElements=[...this.wrapper.querySelectorAll("#full-menu--feature-links li:first-child a, .menu-section > a, .menu-section > button, #full-menu--mobile-search input, #full-menu--mobile--utility-links li:first-child a, #full-menu--social-links li:first-child a, #full-menu--mobile-search button")],this.desktopTabElements=[...this.wrapper.querySelectorAll("#full-menu--feature-links li:first-child a, .menu-section:not(.d-lg-none) > a, .menu-section:not(.d-lg-none) .collapse ul li:first-child a, #full-menu--social-links li:first-child a")],this.tabElementIndex=-1,this.tabElementSubIndex=-1,this.sections=[],[...this.wrapper.querySelectorAll(".menu-section")].forEach(e=>{this.sections.push(new u(e))}),this.accessibleLists=[],[...this.wrapper.querySelectorAll(".menu-accessible-list")].forEach(e=>{this.accessibleLists.push(new c(e))})}show(){this.wrapper.removeAttribute("hidden"),this.expanded=!0,l.ss.setActive(!0),this.toggleButton.setAttribute("aria-expanded",!0),this.wrapper.removeAttribute("aria-hidden"),window.requestAnimationFrame(()=>{document.body.classList.add("menu-active"),this.tabElementIndex=0,this.wrapper.ontransitionend=e=>{e.target==this.wrapper&&this.showTransitionEnd()}})}showTransitionEnd(){a.keyboardControl.active&&(o?this.mobileTabElements[0].focus():this.desktopTabElements[0].focus()),this.wrapper.ontransitionend=null}hide(e=!1){this.expanded=!1,l.ss.setActive(!1),this.tabElementIndex=-1,this.toggleButton.setAttribute("aria-expanded",!1),document.body.classList.remove("menu-active"),this.wrapper.ontransitionend=t=>{t.target==this.wrapper&&this.hideTransitionEnd(e)}}hideTransitionEnd(e=!1){this.wrapper.setAttribute("aria-hidden",!0),a.keyboardControl.active&&e&&this.toggleButton.focus(),this.wrapper.ontransitionend=null}}class u{constructor(e){this.wrapper=e,this.collapseToggle=e.querySelector('button[data-bs-toggle="collapse"]'),this.collapseContent=e.querySelector(".collapse"),this.firstOption=e.querySelector("ul li a"),null!=this.collapseContent&&(this.collapseContent.addEventListener("show.bs.collapse",()=>{this.wrapper.classList.add("expanded")}),this.collapseContent.addEventListener("shown.bs.collapse",()=>{a.keyboardControl.active&&o&&this.firstOption.focus()}),this.collapseContent.addEventListener("hidden.bs.collapse",()=>{this.wrapper.classList.remove("expanded")}))}toMobile(){if(null!=this.collapseContent){n.SD.getOrCreateInstance(this.collapseContent).hide(),this.collapseToggle.removeAttribute("disabled")}}toDesktop(){if(null!=this.collapseContent){n.SD.getOrCreateInstance(this.collapseContent).show(),this.collapseToggle.setAttribute("disabled","disabled")}}}const b=document.querySelector("#full-menu");if(null!=b){r=new d(b,document.querySelector("#main-header--content--full-menu-toggle")),r.toggleButton.addEventListener("click",()=>{r.expanded?r.hide():r.show()});const e=e=>
1{let t=o?r.mobileTabElements:r.desktopTabElements,s=t.length-1;r.tabElementIndex=e?r.tabElementIndex==s?0:r.tabElementIndex+1:0==r.tabElementIndex?s:r.tabElementIndex-1,a.keyboardControl.active&&t[r.tabElementIndex].focus()};for(let t=0,s=r.mobileTabElements.length;t<s;t++)r.mobileTabElements[t].addEventListener("keydown",t=>{if(o)switch(t.key){case"Escape":l.ss.active&&r.hide(!0);break;case"Left":case"ArrowLeft":t.preventDefault(),e(!1);break;case"Tab":case"Right":case"ArrowRight":t.preventDefault(),e(!0)}});for(let t=0,s=r.desktopTabElements.length;t<s;t++)r.desktopTabElements[t].addEventListener("keydown",t=>{if(!o)switch(t.key){case"Escape":!o&&l.ss.active&&r.hide(!0);break;case"Left":case"ArrowLeft":t.preventDefault(),e(!1);break;case"Tab":case"Right":case"ArrowRight":t.preventDefault(),e(!0)}});for(let t=0,s=r.accessibleLists.length;t<s;t++)for(let s=0,i=r.accessibleLists[t].items.length;s<i;s++)r.accessibleLists[t].items[s].addEventListener("keydown",i=>{let n=0==s;switch(i.key){case"Escape":i.preventDefault(),o?r.mobileTabElements[r.tabElementIndex].focus():!n&&l.ss.active&&r.hide(!0);break;case"Up":case"ArrowUp":i.preventDefault(),r.accessibleLists[t].nav(!1);break;case"Down":case"ArrowDown":i.preventDefault(),r.accessibleLists[t].nav(!0);break;case"Left":case"ArrowLeft":i.preventDefault(),n||e(!1);break;case"Tab":case"Right":case"ArrowRight":i.preventDefault(),n||e(!0)}});var h=()=>{let e=o;o=window.innerWidth<i._.LG,o&&!e?(r.sections.forEach(e=>{e.toMobile()}),r.expanded&&r.hide(!0)):!o&&e&&(r.sections.forEach(e=>{e.toDesktop()}),r.expanded&&r.hide(!0))};h(),window.addEventListener("window-resize",()=>{h()})}}}]);

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.