1(()=>{if(window.__ikNextUi)return;window.__ikNextUi=!0;const T=(k,v)=>window.ikT?window.ikT(k,v):k,base=window.Shopify&&window.Shopify.routes&&window.Shopify.routes.root||"/",esc=s=>String(s||"").replace(/[&<>"']/g,c=>({"&":"&","<":"<",">":">",'"':""","'":"'"})[c]),t={empty:T("nextui.empty"),newIn:T("nextui.new_in"),favourites:T("nextui.favourites"),lighting:T("nextui.lighting"),chairs:T("nextui.chairs"),tables:T("nextui.tables"),storage:T("nextui.shelves")},getDrawer=()=>document.querySelector("[data-cart-drawer]");let observed=null,busy=!1,lastKey="",shown=!1,swapping=!1;const footerOf=el=>el.querySelector(":scope > .mt-auto")||el.lastElementChild,renderEmpty=()=>{const links=[[t.newIn,"collections/new-arrivals"],[t.favourites,"collections/current-favourites"],[t.lighting,"collections/table-lamps"],[t.chairs,"collections/chairs-armchairs"],[t.tables,"collections/dining-tables"],[t.storage,"collections/shelves"]];return'<div class="ikn-cartx" data-ikn-cartx="empty"><div class="ikn-cartx__head"><span class="ikh-label">'+esc(t.empty)+'</span></div><div class="ikn-cartx__chips">'+links.map(([label,path])=>'<a class="ikn-chip" href="'+esc(base+path)+'">'+esc(label)+"</a>").join("")+"</div></div>"},enhance=async()=>{const drawer=getDrawer();if(!(!drawer||busy)){watch(drawer),busy=!0;try{const cart=await fetch(base+"cart.js",{headers:{Accept:"application/json"}}).then(r=>r.json()),key=cart.item_count?"items:"+cart.items.map(i=>i.product_id).join(","):"empty";if(drawer.querySelector("[data-ikn-cartx]")&&key===lastKey)return;lastKey=key;const html=cart.item_count?"":renderEmpty();swapping=!0;const old=drawer.querySelector("[data-ikn-cartx]");old&&old.remove(),html&&footerOf(drawer).insertAdjacentHTML("beforebegin",html),shown=!!html}catch{}finally{busy=!1,window.setTimeout(()=>{swapping=!1},0)}}},watch=drawer=>{observed!==drawer&&(observed=drawer,new MutationObserver(()=>{swapping||busy||!shown||drawer.querySelector("[data-ikn-cartx]")||(shown=!1,lastKey="",window.clearTimeout(drawer.__iknTimer),drawer.__iknTimer=window.setTimeout(enhance,400))}).observe(drawer,{childList:!0,subtree:!0}))};if(["cart-is-open","baseline:cart:update","baseline:cart:afteradditem"].forEach(name=>{window.addEventListener(name,()=>window.setTimeout(enhance,350))}),document.addEventListener("click",e=>{e.target.closest("[data-cart-drawer-toggle]")&&window.setTimeout(enhance,500)},!0),document.querySelectorAll(".ikn-legal .shopify-policy__body .rte").forEach(rte=>{const HEAD=/^(\d{1,2})\)\s+\S/,TOC=/^(table of contents|contents|inhaltsübersicht|inhaltsverzeichnis|inhalt)\s*:?$/i,clean=t2=>t2.replace(/\u00a0/g," ").trim();[...rte.children].forEach(p=>{if(p.tagName!=="P")return;if(!clean(p.textContent)&&!p.querySelector("img")){p.remove();return}if(!p.querySelector(":scope > br"))return;const lines=[[]];[...p.childNodes].forEach(n=>n.nodeName==="BR"?lines.push([]):lines[lines.length-1].push(n));const out=document.createDocumentFragment();let toc=null;lines.forEach(nodes=>{const text=clean(nodes.map(n=>n.textContent).join(""));if(!text){toc&&toc.children.length&&(toc=null);return}if(TOC.test(text)){const head=document.createElement("p");head.className="ikn-legal-toc__head",nodes.forEach(n=>head.appendChild(n)),toc=document.createElement("ol"),toc.className="ikn-legal-toc",out.append(head,toc);return}const item=text.match(/^(\d{1,2})\.\s+\S/);if(toc&&item&&text.length<90){const li=document.createElement("li"),a=document.createElement("a");a.href="#ikn-s"+item[1],nodes.forEach(n=>a.appendChild(n)),li.appendChild(a),toc.appendChild(li);return}toc=null;const m=text.match(HEAD),el=document.createElement(m?"h2":"p");m&&(el.id="ikn-s"+m[1]),nodes.forEach(n=>el.appendChild(n));const first=el.firstChild,no=!m&&first&&first.nodeType===3&&first.textContent.match(/^\s*(\d{1,2}(\.\d{1,2})+)\s+/);if(no){first.textContent=first.textContent.slice(no[0].length);const span=document.createElement("span");span.className="ikn-legal__no",span.textContent=no[1],el.insertBefore(span,first)}out.appendChild(el)}),p.replaceWith(out)}),rte.querySelectorAll(".ikn-legal-toc a").forEach(a=>{document.getElementById(a.getAttribute("href").slice(1))||a.removeAttribute("href")})}),document.addEventListener("click",e=>{const b=e.target.closest('button[aria-controls^="country-list-"]');b&&window.setTimeout(()=>{const list=document.getElementById(b.getAttribute("aria-controls")),here=list&&list.querySelector("[aria-current]");here&&(list.scrollTop=here.closest("li").offsetTop-list.clientHeight/2+here.closest("li").offsetHeight/2)},30)}),window.matchMedia("(hover: hover) and (pointer: fine)").matches){const menus=[...document.querySelectorAll("header data-island")].filter(i=>i.querySelector(':scope > button[aria-controls^="menu"]')),state=i=>window.Alpine&&window.Alpine.$data(i),isOpen=i=>{const d=state(i);return!!(d&&d.expanded)}
1,set=(i,v)=>{const d=state(i);d&&d.expanded!==v&&(d.expanded=v)};let openT=0,closeT=0;menus.forEach(i=>{i.addEventListener("mouseenter",()=>{window.clearTimeout(closeT),window.clearTimeout(openT);const switching=menus.some(o=>o!==i&&isOpen(o));openT=window.setTimeout(()=>{menus.forEach(o=>o!==i&&set(o,!1)),set(i,!0)},switching?0:120)}),i.addEventListener("mouseleave",()=>{window.clearTimeout(openT),closeT=window.setTimeout(()=>set(i,!1),200)}),i.addEventListener("click",e=>{if(e.detail===0)return;const b=e.target.closest("button");b&&b.parentElement===i&&isOpen(i)&&(e.stopPropagation(),e.preventDefault())},!0)})}document.addEventListener("click",e=>{const btn=e.target.closest("[data-ik-search-toggle]");if(!btn)return;const row=document.getElementById(btn.getAttribute("aria-controls"));if(!row)return;const open=row.hidden;if(row.hidden=!open,btn.setAttribute("aria-expanded",String(open)),open){const input=row.querySelector('input[type="search"]');input&&input.focus()}})})(); 2//# sourceMappingURL=/cdn/shop/t/69/assets/ik-next-ui.js.map?v=99711927599507384361790287050
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.