1import{E as e,Ht as t,U as n,b as r,f as i,gt as a,k as o,l as s,p as c,u as l,ut as u,v as d,vt as f,z as p,zt as m}from"./CgDnuvNn.js";import{n as h}from"./XDxTjG-L.js";import{t as g}from"./7z4HVtDv.js";var _=[`width`,`height`,`fill`,`transform`],v={key:0},y=[l(`path`,{d:`M128,20A108,108,0,1,0,236,128,108.12,108.12,0,0,0,128,20Zm84,108a83.6,83.6,0,0,1-16.75,50.28L77.72,60.75A84,84,0,0,1,212,128ZM44,128A83.6,83.6,0,0,1,60.75,77.72L178.28,195.25A84,84,0,0,1,44,128Z`},null,-1)],b={key:1},x=[l(`path`,{d:`M224,128a96,96,0,1,1-96-96A96,96,0,0,1,224,128Z`,opacity:`0.2`},null,-1),l(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm88,104a87.56,87.56,0,0,1-20.41,56.28L71.72,60.4A88,88,0,0,1,216,128ZM40,128A87.56,87.56,0,0,1,60.41,71.72L184.28,195.6A88,88,0,0,1,40,128Z`},null,-1)],S={key:2},C=[l(`path`,{d:`M200,128a71.69,71.69,0,0,1-15.78,44.91L83.09,71.78A71.95,71.95,0,0,1,200,128ZM56,128a71.95,71.95,0,0,0,116.91,56.22L71.78,83.09A71.69,71.69,0,0,0,56,128Zm180,0A108,108,0,1,1,128,20,108.12,108.12,0,0,1,236,128Zm-20,0a88,88,0,1,0-88,88A88.1,88.1,0,0,0,216,128Z`},null,-1)],w={key:3},T=[l(`path`,{d:`M128,26A102,102,0,1,0,230,128,102.12,102.12,0,0,0,128,26Zm90,102a89.6,89.6,0,0,1-22.29,59.22L68.78,60.29A89.95,89.95,0,0,1,218,128ZM38,128A89.6,89.6,0,0,1,60.29,68.78L187.22,195.71A89.95,89.95,0,0,1,38,128Z`},null,-1)],E={key:4},D=[l(`path`,{d:`M128,24A104,104,0,1,0,232,128,104.11,104.11,0,0,0,128,24Zm88,104a87.56,87.56,0,0,1-20.41,56.28L71.72,60.4A88,88,0,0,1,216,128ZM40,128A87.56,87.56,0,0,1,60.41,71.72L184.28,195.6A88,88,0,0,1,40,128Z`},null,-1)],O={key:5},k=[l(`path`,{d:`M128,28A100,100,0,1,0,228,128,100.11,100.11,0,0,0,128,28Zm92,100a91.67,91.67,0,0,1-24.21,62.13L65.87,60.21A92,92,0,0,1,220,128ZM36,128A91.67,91.67,0,0,1,60.21,65.87L190.13,195.79A92,92,0,0,1,36,128Z`},null,-1)],A=r({name:`PhProhibit`,props:{weight:{type:String},size:{type:[String,Number]},color:{type:String},mirrored:{type:Boolean}},setup(t){let r=t,a=e(`weight`,`regular`),l=e(`size`,`1em`),u=e(`color`,`currentColor`),d=e(`mirrored`,!1),f=s(()=>r.weight??a),m=s(()=>r.size??l),h=s(()=>r.color??u),g=s(()=>r.mirrored===void 0?d?`scale(-1, 1)`:void 0:r.mirrored?`scale(-1, 1)`:void 0);return(e,t)=>(p(),c(`svg`,o({xmlns:`http://www.w3.org/2000/svg`,viewBox:`0 0 256 256`,width:m.value,height:m.value,fill:h.value,transform:g.value},e.$attrs),[n(e.$slots,`default`),f.value===`bold`?(p(),c(`g`,v,y)):f.value===`duotone`?(p(),c(`g`,b,x)):f.value===`fill`?(p(),c(`g`,S,C)):f.value===`light`?(p(),c(`g`,w,T)):f.value===`regular`?(p(),c(`g`,E,D)):f.value===`thin`?(p(),c(`g`,O,k)):i(``,!0)],16,_))}}),j=Object.assign(r({__name:`out-of-stock-indicator`,props:{gapClass:{default:`gap-1`}},setup(e){let{gapClass:n}=a(e),{t:r}=h();return(e,i)=>(p(),c(`div`,{class:m([`flex items-center text-sm font-semibold text-red-600`,f(n)])},[d(f(A),{"aria-hidden":`true`,class:`h-4 w-4`}),l(`span`,null,t(f(r)(`catalog.outOfStock`)),1)],2))}}),{__name:`CatalogOutOfStockIndicator`}),M=function(e){return e.InStock=`IN_STOCK`,e.OutOfStock=`OUT_OF_STOCK`,e}({}),N=e=>e.trim().replace(/^\/+/,``)||`/`,P=e=>{let{localePath:t}=g(),n=u(e);return{productUrl:s(()=>{let e=n.value.canonical_path;return t(e?N(e):`/`)}),primaryCategory:s(()=>n.value.categories?.[0]??null),isInStock:s(()=>n.value.stock_status===M.InStock),isOutOfStock:s(()=>n.value.stock_status===M.OutOfStock)}};export{M as n,j as r,P 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.