1import{a as b,l as y,O as I,o as n,b as s,t as m,ac as N,e as t,f as i,P as $,ab as w,E as o,h as c,D as d,A as M}from"./DIF2Xu7Y.js";import{_ as S}from"./Co5GtS9-.js";import{_ as z}from"./CT0AxXdJ.js";import{b as B,i as k,e as D}from"./By_22x2N.js";import O from"./pJJsGqVI.js";import{C as P}from"./EKw5UX80.js";import{u as V}from"./CI-UkJfx.js";import{a as u}from"./C8zweEym.js";import"./TFtn8dyd.js";import"./Bvw7zbkV.js";import"./CUDTzYrF.js";const _={class:"skin-image"},E={class:"skin-info"},F={key:0,class:"skin-collection"},W=["alt","src"],j={class:"collection-name"},A={key:1,class:"f fw fjsb gap10"},L={class:"skin-rarity"},T={class:"f"},K={key:0,class:"skin-name"},q={key:0,class:"skin-offers f fc gap8"},G={key:1,class:"skin-offers"},H=b({__name:"ColorItemCard",props:{item:{},link:{}},setup(e){const{t:r}=y(),{compressed:f}=V();function h(a){return a<1e3?a.toString():a<1e6?`${Intl.NumberFormat("en",{notation:"compact"}).format(a/1e3)}K`:`${Intl.NumberFormat("en",{notation:"compact"}).format(a/1e6)}M`}return(a,l)=>{const g=N,C=S,v=z,x=I("tooltip");return n(),s("div",{class:d([{compressed:t(f)},"skin-card"])},[m(g,{"aria-label":`Link to skin${e.item.localed_name}`,to:e.link,class:"skin-link"},null,8,["aria-label","to"]),m(P,{cases:e.item.crates||[],compressed:t(f)},null,8,["cases","compressed"]),i("div",_,[m(O,{alt:`${e.item.localed_name||e.item.market_hash_name} skin`,"font-size":16,height:15,item:e.item,size:16,src:t(u)(e.item.exterior&&!e.item.market_hash_name.includes(e.item.exterior)?`${e.item.market_hash_name} ${e.item.exterior}`:e.item.market_hash_name)},null,8,["alt","item","src"])]),i("div",E,[e.item.collection?(n(),s("div",F,[i("img",{alt:e.item.collection,src:t(u)(e.item.collection,"50:50"),class:"collection-img",loading:"lazy"},null,8,W),$((n(),s("span",j,[w(o(e.item.collection),1)])),[[x,e.item.collection>=27?e.item.collection:""]])])):c("",!0),e.item.localed_name||e.item.exterior?(n(),s("div",A,[i("span",{class:d([{"is-stattrak":e.item.is_stattrak,"is-souvenir":e.item.is_souvenir},"skin-brand"])},o(t(B)(e.item.localed_name)),3),i("span",L,[m(C,{name:e.item.market_hash_name},null,8,["name"])])])):c("",!0),i("div",T,[e.item.localed_skin||t(k)(e.item.localed_name)?(n(),s("h2",K,o(e.item.localed_skin||t(k)(e.item.localed_name)),1)):c("",!0),e.item.phase?(n(),s("span",{key:1,class:d([("getModifiedString"in a?a.getModifiedString:t(D))(e.item.phase),"card card-light p6"])},o(e.item.phase),3)):c("",!0)])]),l[0]||(l[0]=i("div",{class:"separator"},null,-1)),m(v,{item:{price_range:{lowest_price:e.item.min_price,highest_price:e.item.max_price,lowest_link:e.item.lowest_link??e.item.link,highest_link:e.item.highest_link??e.item.link}}},null,8,["item"]),l[1]||(l[1]=i("div",{class:"separator last"},null,-1)),e.item.offers?(n(),s("div",q,[i("span",null,[i("b",null,o(t(r)("offers_count",{count:h(e.item.offers)})),1)]),i("span",null,o(t(r)("offers_on_markets",{count:e.item.markets})),1)])):(n(),s("div",G,o(t(r)("No offers")),1))],2)}}}),ae=Object.assign(M(H,[["__scopeId","data-v-f270e005"]]),{__name:"PagesColorsComponentsColorItemCard"});export{ae 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.