PageSourceSearch

https://www.sommpicks.com/_next/static/chunks/app/not-found-2fe7fcf4e4be94e3.js

js sommpicks.com collected 2026-10-04 13:23:23 UTC 3,683 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4345],{3321:(e,t,r)=>{"use strict";var a=r(4645);r.o(a,"usePathname")&&r.d(t,{usePathname:function(){return a.usePathname}}),r.o(a,"useRouter")&&r.d(t,{useRouter:function(){return a.useRouter}}),r.o(a,"useSearchParams")&&r.d(t,{useSearchParams:function(){return a.useSearchParams}})},4604:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var a=r(5155),n=r(3321);function s({fallbackPathname:e=""}){let t=((0,n.usePathname)()||e).startsWith("/products/");return(0,a.jsx)("p",{children:t?"This product either sold out or is unavailable, please accept our apologies for the inconvenience.":"Something about this page isn't quite right, please accept our apologies for the inconvenience."})}},5471:(e,t,r)=>{"use strict";r.d(t,{Cm:()=>u,DS:()=>l,DW:()=>d,OU:()=>m,Tr:()=>h,Uf:()=>i,Yp:()=>n,sJ:()=>c});let a="sommpicks_market",n="published_at:DESC",s=["market-us","market-eu"],o=e=>"string"==typeof e?e.trim().toLowerCase()||null:Array.isArray(e)&&e.length>0?o(e[e.length-1]):null,u=e=>{let t=o(e);return"eu"===t?"eu":"us"===t?"us":null},i=()=>{let e=u(new URLSearchParams(window.location.search).get("market"));if(e)return e;let t=u(window.sessionStorage.getItem(a));if(t)return t;if("u">typeof document){let e=(e=>{let t=RegExp(`(?:^|; )${a}=([^;]+)`),r=e.match(t);if(!r)return null;try{return u(decodeURIComponent(r[1]))}catch{return u(r[1])}})(document.cookie);if(e)return e;let t=u(document.body?.dataset.market);if(t)return t;let r=u(document.documentElement?.dataset.market);if(r)return r;if(document.body?.classList.contains("market-eu"))return"eu";document.body?.classList.contains("market-us")}return"us"},m=e=>{"u">typeof document&&(window.sessionStorage.setItem(a,e),document.cookie=`${a}=${e}; Path=/; Max-Age=31536000; SameSite=Lax`,document.body&&(document.body.dataset.market=e,document.body.classList.remove(...s),document.body.classList.add(`market-${e}`)),document.documentElement&&(document.documentElement.dataset.market=e,document.documentElement.classList.remove(...s),document.documentElement.classList.add(`market-${e}`)),window.dispatchEvent(new CustomEvent("sommpicks:market-updated",{detail:{market:e}})))},c=(e,t,r)=>{let a=new URLSearchParams(t.toString());"eu"===r?a.set("market","eu"):a.delete("market");let n=a.toString();return n?`${e}?${n}`:e},l=(e,t)=>{if(!e||e.startsWith("#")||e.startsWith("mailto:")||e.startsWith("tel:"))return e;let r=window.location.origin,a=/^[a-z]+:/i.test(e);try{let n=new URL(e,r);if(a&&n.origin!==r)return e;return"eu"===t?n.searchParams.set("market","eu"):n.searchParams.delete("market"),a?n.toString():`${n.pathname}${n.search}${n.hash}`}catch{return e}},d=(e,t)=>{if(!e||e.startsWith("#")||e.startsWith("mailto:")||e.startsWith("tel:"))return e;let r=window.location.origin,a=/^[a-z]+:/i.test(e);try{let n=new URL(e,r);if(a&&n.origin!==r)return e;return n.searchParams.set("market",t),a?n.toString():`${n.pathname}${n.search}${n.hash}`}catch{return e}},h=e=>`/collections/all?market=${e}`},7167:(e,t,r)=>{"use strict";r.d(t,{default:()=>s});var a=r(2115),n=r(5471);function s({classes:e}){let t=e.map(e=>e.trim()).filter(Boolean).join(" ");return(0,a.useLayoutEffect)(()=>{let e=t.split(" ").filter(Boolean);if(0===e.length)return;let r=e.find(e=>"market-us"===e||"market-eu"===e),a="market-eu"===r?"eu":"market-us"===r?"us":null;return e.forEach(e=>document.body.classList.add(e)),a&&(0,n.OU)(a),()=>{e.forEach(e=>document.body.classList.remove(e))}},[t]),null}},8703:(e,t,r)=>{Promise.resolve().then(r.t.bind(r,8500,23)),Promise.resolve().then(r.bind(r,7167)),Promise.resolve().then(r.bind(r,4604))}},e=>{e.O(0,[8500,8441,3794,7358],()=>e(e.s=8703)),_N_E=e.O()}]);

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.