PageSourceSearch

https://the-crystal-maze.com/app/brands/default/6609.454f0ec673253ad7f668.js

js the-crystal-maze.com collected 2026-09-26 04:05:33 UTC 5,925 bytes, 1 lines download raw bytes

1"use strict";(globalThis.webpackChunkloop_web=globalThis.webpackChunkloop_web||[]).push([[6609],{391(t,e,i){i.d(e,{_:()=>s});const s={SM:576,MD:768,LG:992,XL:1200,XXL:1400}},8418(t,e,i){i.d(e,{Mc:()=>u,R9:()=>d,YB:()=>h,fs:()=>o,ss:()=>c});const s=window.matchMedia("(prefers-reduced-motion: reduce)");let n=!1,a=null,l=!1;try{var r=Object.defineProperty({},"passive",{get:function(){l=!0}});window.addEventListener("testPassive",null,r),window.removeEventListener("testPassive",null,r)}catch(t){}const o={supportsPassive:l,reducedMotionPref:s.matches,desktopSideHeaderLayout:null!=document.querySelector("body.site-layout.side-header-layout"),fx:[],fxAdd:(t,e,i=null)=>{let s=!1;if(o.fx.forEach(e=>{e.type==t&&(s=!0)}),!s){o.fx.push({type:t,enabled:e,callback:i,controller:document.createElement("div")});let s=o.fx.length-1,n=o.fx[s];n.controller.setAttribute("class","form-check form-switch");let a=document.createElement("input");a.setAttribute("id",`site-settings--fx--${s}`),a.setAttribute("class","form-check-input"),a.setAttribute("type","checkbox"),a.setAttribute("role","switch"),e&&a.setAttribute("checked",!0),a.addEventListener("click",()=>{o.fxToggle(n.type,a.checked)}),n.controller.appendChild(a);let l=document.createElement("label");l.setAttribute("for",`site-settings--fx--${s}`),l.setAttribute("class","form-check-label"),l.innerHTML=n.type,n.controller.appendChild(l)}i&&i(e),n||(()=>{if(null!=document.body.querySelector("#top-utility-bar")){let t=document.body.querySelector("#top-utility-bar--icon-links ul");if(null!=t){let e=document.createElement("li");e.classList.add("list-inline-item"),e.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>',t.appendChild(e)}else{let t=document.body.querySelector("#top-utility-bar--content"),e=document.createElement("div");e.setAttribute("id","top-utility-bar--icon-links"),e.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>',t.appendChild(e)}}else{let t=document.body.querySelector("#main-header--content");if(null!=t){let e=document.createElement("button");e.setAttribute("id","main-header--content--site-settings-btn"),e.setAttribute("class","btn btn-link"),e.setAttribute("data-bs-toggle","modal"),e.setAttribute("data-bs-target","#site-settings"),e.innerHTML='<i class="fa-solid fa-cog" aria-hidden="true" title="Site settings"></i><span class="side-menu-layout--label">Site settings</span>',t.appendChild(e)}}let t=document.body.querySelector("#main-footer--mid-section--links ul");if(null!=t){let e=document.createElement("li");e.innerHTML='<a href="#site-settings" data-bs-toggle="modal" data-bs-target="#site-settings">Site settings</a>',t.appendChild(e)}n=!0})(),(()=>{if(!a){let t=document.createElement("div");t.setAttribute("id","site-settings"),t.setAttribute("class","modal fade"),t.setAttribute("data-bs-backdrop","static"),t.setAttribute("data-bs-keyboard","false"),t.setAttribute("tabindex","-1"),t.setAttribute("aria-hidden","true"),t.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(t),a=document.body.querySelector("#site-settings .modal-body")}o.fx.length>0&&(a.innerHTML="<p>Manage the visual effects on this site:</p>",o.fx.forEach(t=>{a.appendChild(t.controller)}))})()},fxToggle:(t,e)=>{o.fx.forEach(i=>{i.type==t&&(i.enabled=e,i.callback&&i.callback(e))})}},d={vw:0,vh:0,setVw:t=>{d.vw=t},setVh:t=>{d.vh=t}},c={active:!1,setActive:t=>{c.active=t}},u={mobileActive:!1,setMobileActive:t=>{u.mobileActive=t},desktopActive:!1,setDesktopActive:t=>
1{u.desktopActive=t}},h={active:!1,setActive:t=>{h.active=t}}},6609(t,e,i){i.r(e);var s=i(391),n=i(8418);let a=null,l=!0;n.YB.setActive(!1);class r{constructor(t,e,i,s){this.showBtn=t,this.wrapper=e,this.closeBtn=i,this.searchField=s,this.active=!1,this.wrapper.removeAttribute("hidden"),this.showBtn.onclick=()=>{this.active?n.fs.desktopSideHeaderLayout&&this.hide():this.show()},this.closeBtn.onclick=()=>{this.active&&this.hide()},this.wrapper.addEventListener("keydown",t=>{if("Escape"===t.key)this.active&&(t.preventDefault(),this.hide(!0))}),this.closeBtn.addEventListener("keydown",t=>{if("Tab"===t.key)this.active&&(t.preventDefault(),this.searchField.focus())})}show(){this.wrapper.ontransitionend=null,this.wrapper.removeAttribute("aria-hidden"),this.showBtn.setAttribute("aria-expanded",!0),this.active=!0,n.YB.setActive(!0),window.requestAnimationFrame(()=>{this.wrapper.classList.add("search-form--active"),this.searchField.focus()})}hide(t=!1){this.showBtn.setAttribute("aria-expanded",!1),this.active=!1,n.YB.setActive(!1),this.wrapper.classList.remove("search-form--active"),this.wrapper.ontransitionend=e=>{e.target==this.wrapper&&this.transitionEnd(t)}}transitionEnd(t=!1){this.wrapper.setAttribute("aria-hidden",!0),this.wrapper.ontransitionend=null,t&&this.showBtn.focus()}}const o=document.querySelector("#main-header--content--search-open-btn"),d=document.querySelector("#main-header--content--search-wrapper"),c=document.querySelector("#main-header--content--search-close-btn"),u=null!==d?d.querySelector('input[type="search"]'):null;null!=o&&null!=d&&null!=c&&null!=u&&(a=new r(o,d,c,u));const h=()=>{l=window.innerWidth<s._.LG,l&&a&&a.active&&a.hide(!1)};h(),window.addEventListener("window-resize",t=>{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.