PageSourceSearch

https://www.kettner-edelmetalle.ch/_nuxt/C4Rf3cdQ.js

js kettner-edelmetalle.ch collected 2026-10-05 07:06:15 UTC 2,847 bytes, 1 lines download raw bytes

1import{a9 as w,aI as P,c5 as I,c6 as N,c7 as S,bP as B,a5 as j,cL as L,b as R}from"./CS4BlMJP.js";import{b as o,k as m,f as T,g as a,d as r,F as n,j as d,t as s,u as c,i as f,e as x,c as i}from"./XJLLuoTO.js";import"./Cu_6dWh4.js";const V={class:"absolute left-3 top-[-9px] rounded-lg bg-white/30 text-xs text-gray-600 dark:bg-neutral-800/80 dark:text-neutral-400"},z={class:"flex items-center space-x-2.5"},A={class:"flex flex-col"},C={class:"max-w-xs truncate text-[15px] font-semibold"},Q={key:0,class:"text-base font-bold text-red-600"},U={key:1,class:"flex items-center justify-between"},q={class:"mb-1 flex items-center space-x-2 text-sm font-bold"},F={key:0,class:"pl-1 text-center text-xs font-semibold text-red-700"},D={class:"block text-[13px] font-bold text-red-600"},H={__name:"LastShownProduct",props:{product:{type:Object,required:!0},isTopProduct:{type:Boolean,default:!1}},setup(e){const l=e,k=i(()=>l.product.url?.replace("https://www.kettner-edelmetalle.de/","/").replace("https://ps.kettner-edelmetalle.de/","/")),u=i(()=>{const t=R().getProductQuantity(l.product.id);return t!==null?Number.parseInt(t):l.product.quantity}),h=i(()=>L(l.product)),g=i(()=>u.value>0&&!h.value);return(t,E)=>{const y=w,b=N,_=S,v=B,$=j;return o(),m($,{class:"relative mt-0.5 hidden max-w-md rounded-md border border-gray-150 bg-gradient-to-b from-white to-gold/10 p-2 px-3 pt-3 hover:bg-gold/30 hover:shadow-sm dark:border-neutral-700 dark:from-neutral-800 dark:to-neutral-800 dark:hover:bg-neutral-700 xl:block",to:c(k)},{default:T(()=>[a("div",V,[e.isTopProduct?(o(),r(n,{key:0},[d(s(t.$t("Aktuell angesagt")),1)],64)):(o(),r(n,{key:1},[d(s(t.$t("Zuletzt gezeigt")),1)],64))]),a("div",z,[e.product.new_images?.find(p=>parseInt(p.position)===1)?.url_cat?(o(),m(y,{key:0,src:("$buildProductImageUrl"in t?t.$buildProductImageUrl:c(P))(e.product.new_images.find(p=>parseInt(p.position)===1)?.url_cat),alt:e.product.name,width:100,class:"size-[56px] shrink-0 object-contain"},null,8,["src","alt"])):f("",!0),a("div",A,[a("div",C,s(e.product.name),1),c(g)?(o(),r("div",U,[a("div",null,[a("div",q,[("$priceReduction"in t?t.$priceReduction:c(I))(e.product)?(o(),r(n,{key:0},[x(b,{class:"text-red-600",product:e.product},null,8,["product"]),x(_,{class:"text-xs font-semibold text-gray-800 line-through lg:text-sm",product:e.product},null,8,["product"])],64)):(o(),m(b,{key:1,product:e.product,class:"text-green-700"},null,8,["product"]))]),x(v,{product:e.product,class:"text-[10px] leading-[10px] text-gray-500"},null,8,["product"])]),c(u)>0&&c(u)<=10?(o(),r("div",F,[d(s(t.$t("Nur noch"))+" ",1),a("span",D,s(c(u))+" "+s(t.$t("Stück")),1)])):f("",!0)])):(o(),r("div",Q,[c(h)?(o(),r(n,{key:0},[d(s(t.$t("In diesem Shop nicht erhältlich")),1)],64)):(o(),r(n,{key:1},[d(s(t.$t("Ausverkauft"))+"! ",1)],64))]))])])]),_:1},8,["to"])}}};export{H as default};

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.