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]=`3125a521-496d-45b8-8585-46834b8e80c4`,e._sentryDebugIdIdentifier=`sentry-dbid-3125a521-496d-45b8-8585-46834b8e80c4`)}catch{}})();import{L as e,R as t}from"./WCVDKeko.js";import{St as n}from"./BSu4Q5qC.js";import{X as r}from"./DgBOw7Id.js";import{L as i,O as a,g as o,v as s}from"./C3X79py4.js";var c=(e,t=0,n=!1)=>{let i=r?.[e?.config?.material]?.format;return i&&(e.config.format=i),{type:`sign`,content:{...e,elements:n?[]:e.elements,modelName:e.name,modelId:e.id},index:t,name:e.name,slug:`sign-${e.name}`}},l=async(n,r=!1)=>{let i=`sign-model-${n}`,{data:a}=t(i),{data:s}=await e(i,async()=>{if(!r&&a.value)return a.value;let{data:e}=await o(n);return c(e)},`$DuXeOOXXmh`);return s.value},u=async e=>{let t=null,{id:n,...r}=e?.preset||{};Object.keys(r).length&&(t=r);let i={name:e.name.trim().toLowerCase(),config:{material:e.config?.material,cutout:e.config?.cutout||!1,width:e.config?.width,height:e.config?.height,color:e.config?.color,fixing:e.config?.fixing,finishes:e.config?.finishes,bgColor:e.config?.bgColor||``,textColor:e.config?.textColor||``,mask:e.config?.mask||``,fixedRatio:e.config?.fixedRatio||!1},preset:t,inkColor:e.inkColor||``,type:e.type,elements:e.elements,background:e.background||``,backgroundColor:e.backgroundColor||``};try{return a(i,e.documentId)}catch(e){throw e.data&&(console.error(`ð Detailed API Error Response:`,e.data),e.data.error&&(console.error(`ð API Error Details:`,e.data.error),e.data.error.details&&console.error(`ð Validation Details:`,e.data.error.details))),e}},d=async(n,i,a=!1)=>{let o=`sign-similar-${n}-${!!a}`,{data:l}=t(o),{data:u,pending:d,error:f,refresh:p}=await e(o,async()=>{if(l.value)return l.value;if(!n||!i)return{data:[]};let{data:e}=await s(n,i);return e.filter(e=>{let{outOfStock:t}=r[e.config.material].colors[e.config.color];return!t}).map((e,t)=>c(e,t,a))},`$hGuqJrkFcs`);return{data:u,pending:d,error:f,refresh:p}},f=async(a,o=!1)=>{let s=a.map(e=>typeof e==`string`?e:e.model),c=`sign-models-${i(s.join(``))}-${!!o}`,{data:l}=t(c),{data:u,pending:d,error:f,refresh:p}=await e(c,async()=>l.value?l.value:s.length?(await n(s.map(e=>`sign-${e}`),o)).filter(e=>{let{outOfStock:t}=r[e.content.config.material].colors[e.content.config.color];return!t}):{data:[]},`$2WWS1Iylbh`);return{data:u,pending:d,error:f,refresh:p}};export{d as i,u as n,f as r,l as t};
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.