1(function(){try{var e=typeof window<`u`?window:typeof global<`u`?global:typeof globalThis<`u`?globalThis:typeof self<`u`?self:{};e.SENTRY_RELEASE={id:`a6fafdec27`};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]=`73557ad2-932e-415b-a474-6ffd6796b7b8`,e._sentryDebugIdIdentifier=`sentry-dbid-73557ad2-932e-415b-a474-6ffd6796b7b8`)}catch{}})();import{$t as e,At as t,C as n,Gt as r,Kt as i,L as a,gr as o,ht as s,rr as c}from"./WCVDKeko.js";import{nt as l}from"./DgBOw7Id.js";e();var u=e=>{let t=JSON.stringify(e),n=0;for(let e=0;e<t.length;e++){let r=t.charCodeAt(e);n=(n<<5)-n+r,n|=0}return Math.abs(n).toString(16)},d=(e,t)=>{let[n,r]=t.split(`x`).map(Number),i=null,a=1/0;return e.forEach(e=>{let[t,o]=e.split(`x`).map(Number),s=Math.abs(n-t)+Math.abs(r-o);s<a&&(i={size:e,width:t,height:o},a=s)}),i},f=(e,n)=>{let r=i().public,a=t();!r.devenv||a.currentRoute.value.path.startsWith(`/tools`)||(window.console.info(`%c`+e+` - `+new Date().toLocaleTimeString(),`color: white; background-color: #008080; padding: 2px 5px;`),window.console.table(n))},p=e=>{let{locales:t}=r().$i18n,n=e.startsWith(`/`)?e:`/`+e,i=t.value.map(({code:e})=>e).join(`|`),a=RegExp(`^/(${i})(/|$)`);return n.replace(a,`/`)},m=(e,t)=>{let{t:n}=r().$i18n,i=v(p(e)),a=v(n(t));return i.startsWith(a)},h=e=>m(e,`COMMON_URL_STAMP`),ee=e=>m(e,`COMMON_URL_SIGN`),te=e=>e?.replace(`--temporary--`,``),g=e=>!!e?.endsWith(`@temp.local`),_=(e,t)=>e.replace(/\{{1,2}\s*(\w+)\s*\}{1,2}/g,(e,n)=>t[n]||e),v=e=>e?.endsWith(`/`)?e?.slice(0,-1):e,y=e=>m(e,`PRODUCT_URL_SIGN`),b=e=>m(e,`PRODUCT_URL_STAMP`),x=e=>e.replace(/\{\s*locale\s*\}/g,r().$i18n.locale.value),S=()=>{try{let{locales:e}=n(),t=navigator.language,r=e.value?.find(e=>l(e.language).toLowerCase()===t);return{browserLang:t,supportedCountry:r?l(r.language):null}}catch{return{browserLang:null,supportedCountry:null}}},C=()=>`${u(`${Date.now()}-${Math.random().toString(36).substring(2)}`)}${u([Math.random().toString(36).substring(2)])}`,w=(e=``)=>{let t=typeof crypto<`u`&&crypto.randomUUID?crypto.randomUUID().replace(/-/g,``).substring(0,16):Math.random().toString(36).substring(2)+Math.random().toString(36).substring(2);return e?`${e}-${t}`:t},T=(e,t=`item`)=>typeof e==`string`&&e.includes(`-`)?e:w(t),E=()=>window.localStorage.getItem(`gclid`),D=()=>window.localStorage.getItem(`idcamp`),O=()=>window.localStorage.getItem(`utm_campaign`),k=(e,t)=>{let n=null;try{n=JSON.parse(window.localStorage.getItem(e))}catch(t){return console.error(`useLocalStorage: JSON parse error for key "${e}"`,t),null}let r=o(n===null?t:n),i=null;return c(r,t=>{clearTimeout(i),i=setTimeout(()=>{try{window.localStorage.setItem(e,JSON.stringify(t))}catch(t){console.error(`useLocalStorage: Failed to write to localStorage for key "${e}"`,t)}},500)},{deep:!0,flush:`post`}),r},A=e=>Object.entries(e).filter(([e,t])=>!t).map(([e])=>e),j=()=>({log:(...e)=>{},warn:(...e)=>{},error:(...e)=>{}}),M=({url:e,options:t={},jwtToken:n,localized:a})=>{let o=i(),c=`${r().$i18n.locale.value}-${i().public.COUNTRY}`,l={baseURL:o.public.STRAPI_ENDPOINT,key:a?`${e}${e.includes(`?`)?`&`:`?`}locale=${c}`:e,headers:{Authorization:`Bearer ${n||o.public.STRAPI_TOKEN}`},"content-type":`application/json`,retry:{}.NUXT_GENERATE?8:1,retryDelay:{}.NUXT_GENERATE?300:0,onResponse(e){},onRequestError({_request:e,_options:t,_error:n}){},onResponseError({_request:e,_options:t,_error:n}){}};
1return s(l.key,{...l,...t})},N=async e=>{let t=`strapi-query-${u(e)}`,{data:n}=await a(t,async()=>await M({url:`/api/${e}`,options:{method:`GET`}}),`$vancHrfemo`);return n.value},P=async(e,t,n)=>await M({url:`/api/products/${e}/${t}/${n}`,options:{method:`GET`},localized:!0}),F=async(e=!1)=>await M({url:`/api/products/list${e?`?populate[custom][on][product.stamp][populate]=primary_models&populate[custom][on][product.stamp-wood][populate]=primary_models`:``}`,options:{method:`GET`},localized:!0}),ne=async e=>(e=e.toLowerCase(),await M({url:`/api/sign-models/name/${e}`,options:{method:`GET`}})),I=async(e,t)=>await M({url:`/api/sign-models/similar-product/${e}?url=${t}`,options:{method:`GET`},localized:!0}),L=async e=>await M({url:`/api/products/similar-product/${e}?pagination[limit]=10`,options:{method:`GET`},localized:!0}),R=async e=>await M({url:`/api/products/similar-product-config/${e}?pagination[limit]=10`,options:{method:`GET`},localized:!0}),z=(e=12)=>M({url:`/api/stamp-models/random?pagination[limit]=${e}`,options:{method:`GET`},localized:!0}),B=async e=>(e=e.toLowerCase(),await M({url:`/api/stamp-models/name/${e}`,options:{method:`GET`},localized:!0})),V=async e=>await M({url:`/api/trustpilot-reviews/recent/${e}`,options:{method:`GET`},localized:!0}),H=async e=>{e.endsWith(`/`)||(e+=`/`);let t=r().$i18n.locales,n=e;if(t.value.length>1){let r=RegExp(`^/(${t.value.map(({code:e})=>e).join(`|`)})(?=/|$)`);n=e.replace(r,``)||`/`}return await M({url:`/api/pages/url/?url=${n}`,options:{method:`GET`},localized:!0})},U=async e=>{e.endsWith(`/`)||(e+=`/`);let t=[`page.listing`,`page.category-listing`,`page.listing-pro`,`page.sign-category-v2`,`page.stamp-category`].map(e=>`populate[custom][on][${e}][fields][0]=carousel`).join(`&`);return await M({url:`/api/pages/?filters[url]=${e}&fields[0]=shoppingId&fields[1]=page_type&${t}`,options:{method:`GET`},localized:!0})},W=async(e,t,n)=>{let r=window.localStorage.getItem(`jwtTokenStrapi`),{data:i}=await H(n),{id:a,...o}=i?.custom?.[0]||{};Object.values(o).forEach(e=>{e?.id&&delete e.id,Array.isArray(e)&&e.forEach(e=>{e?.id&&delete e.id})});let s=[{...o,cards:e}];return await M({url:`/api/pages/${t}?locale=${i.locale}`,options:{method:`PUT`,body:{data:{custom:s}}},jwtToken:r})},G=async(e,t)=>{let n=window.localStorage.getItem(`jwtTokenStrapi`);return await M({url:`/api/sign-models/${t}`,options:{method:`PUT`,body:{data:e}},jwtToken:n})},K=async(e,t)=>{let n=window.localStorage.getItem(`jwtTokenStrapi`);return await M({url:`/api/stamp-models/${t}`,options:{method:`PUT`,body:{data:e}},jwtToken:n})},q=async e=>{let t=window.localStorage.getItem(`jwtTokenStrapi`);return await M({url:`/api/material-pricings`,options:{method:`POST`,body:{data:e}},jwtToken:t})},J=async e=>{let t=window.localStorage.getItem(`jwtTokenStrapi`);return await M({url:`/api/material-pricings/${e}`,options:{method:`DELETE`},jwtToken:t})},Y=async(e,t)=>{let n=window.localStorage.getItem(`jwtTokenStrapi`);return await M({url:`/api/material-pricings/material/${e}/${t}`,options:{method:`GET`},jwtToken:n})},X=async e=>{let t=window.localStorage.getItem(`jwtTokenStrapi`);return await M({url:`/api/material-pricings/last-pricings/${e}`,options:{method:`GET`},jwtToken:t})},Z=async()=>await M({url:`/api/main-menu`,options:{method:`GET`},localized:!0}),re=async()=>await M({url:`/api/footer`,options:{method:`GET`},localized:!0}),ie=async e=>await M({url:`/api/component/name/${e}`,options:{method:`GET`},localized:!0}),ae=async e=>await M({url:`/api/card/slug/${e.toLowerCase()}`,options:{method:`GET`},localized:!0}),oe=async e=>(e=e.map(e=>e.toLowerCase()),await M({url:`/api/card/slugs/${`products-slugs-`+u(e.join(``))}`,options:{method:`POST`,body:{slugs:e}},localized:!0})),se=async(e=1,t=50,n=``)=>await M({url:`/api/cards/?test=0&pagination[page]=${e}&pagination[pageSize]=${t}${n?`&`+n:``}`,options:{method:`GET`}}),Q=100,ce=async e=>{let t=[];for(let n=0;n<e.length;n+=Q)t.push(e.slice(n,n+Q));return{data:(await Promise.all(t.map(e=>M({url:`/api/cards/?${e.map(e=>`filters[id][$in]=${e}`).join(`&`)}`,options:{method:`GET`},localized:!0})))).flatMap(e=>e?.data||[])}},le=async e=>await M({url:`/api/categories/ids/${e.join(`,`)}`,options:{method:`GET`},localized:!0}),$=async e=>await M({url:`/api/cross-sells/name/${e}`,options:{method:`GET`},localized:!0}),ue=async(e,t=12)=>await M({url:`/api/products/primary-models/${e}?pagination[limit]=${t}`,options:{method:`GET`},localized:!0});export{C as A,ee as B,V as C,W as D,Y as E,T as F,A as G,h as H,E as I,_ as J,x as K,u as L,d as M,f as N,G as O,te as P,D as R,K as S,X as T,b as U,y as V,k as W,O as X,w as Y,R as _,se as a,B as b,ie as c,Z as d,H as f,ne as g,F as h,oe as i,S as j,N as k,$ as l,P as m,ae as n,U as o,ue as p,j as q,ce as r,le as s,J as t,re as u,I as v,q as w,z as x,L as y,g as z};
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.