PageSourceSearch

https://stockroom.raksul.com/_nuxt/DFfdg-Wh.js

js raksul.com collected 2026-10-02 02:29:46 UTC 5,610 bytes, 1 lines download raw bytes

1import{_ as D}from"./Dn0cEOqp.js";import{_ as F}from"./D-ct0FT8.js";import{a as j}from"./EK13Ayr8.js";import{_ as I,a as E}from"./ClwLnVIf.js";import{_ as T}from"./D183sN_u.js";import{d as x,i as h,a as s,o as a,n as w,w as S,g as v,H as U,c as f,j as c,b as o,e as p,u as t,t as y,h as L,F as M}from"./Dv0siHZ9.js";import{I as V}from"./DVSLUYSw.js";import{p as G}from"./G92qZOJo.js";import{u as z}from"./B-sKXNHE.js";import{u as _}from"./B8KZ_-mF.js";const q=["data-test","aria-disabled"],H=x({__name:"Button",props:{dataTest:{type:String,default:""},ariaDisabled:{type:Boolean,default:!1},href:{type:String,default:""},isSmall:{type:Boolean,default:!1},isFull:{type:Boolean,default:!1},isGray:{type:Boolean,default:!1},className:{type:String,default:""},theme:{type:String,default:"primary"}},emits:["handleClick"],setup(e,{emit:g}){const n=g;function l(){n("handleClick")}return(d,i)=>{const k=T;return e.href?(a(),h(k,{key:0,class:w(["inline-flex w-auto items-center justify-center border-2 px-20 py-10 text-white shadow-button transition duration-200 ease-linear hover:no-underline hover:opacity-70 aria-disabled:pointer-events-none aria-disabled:opacity-30",[e.isSmall?"min-w-auto":"min-w-[128px]",e.isFull?"w-full":"",e.isGray?"border-[#666] bg-[#666] hover:opacity-70":`border-${e.theme} bg-${e.theme} hover:opacity-70`,e.className]]),"data-test":e.dataTest,"aria-disabled":e.ariaDisabled,href:e.href},{default:S(()=>[v(d.$slots,"default")]),_:3},8,["class","data-test","aria-disabled","href"])):(a(),s("button",{key:1,class:w(["inline-flex w-auto items-center justify-center border-2 p-10 px-20 text-white shadow-button transition duration-200 ease-linear hover:opacity-70 aria-disabled:pointer-events-none aria-disabled:opacity-30",[e.isSmall?"min-w-auto":"min-w-[128px]",e.isFull?"w-full":"",e.isGray?"border-[#666] bg-[#666] hover:opacity-70":`border-${e.theme} bg-${e.theme} hover:opacity-70`,e.className]]),"data-test":e.dataTest,"aria-disabled":e.ariaDisabled,onClick:i[0]||(i[0]=U(u=>l(),["prevent"]))},[v(d.$slots,"default")],10,q))}}}),Q=Object.assign(H,{__name:"AppButton"}),J=["data-product-id"],K={key:0,class:"flex items-center"},W={class:"text-12 ml-8 font-semibold"},X={class:"relative group"},Y=["href"],Z=["href"],ee={key:0,class:"text-12 font-semibold text-[#6E6E6E] text-center my-4"},te={key:1,class:"flex justify-between items-center text-16 font-semibold text-accent-red my-4 h-[30px]"},ae={key:0,class:"font-semibold text-xs border-2 border-[#FF0000] p-4 rounded-sm"},ne={class:"items-baseline break-words"},oe=["href"],se=x({__name:"index",props:{product:{type:Object,required:!0},referer:{type:String,default:"merchandise"},showSpinner:{type:Boolean,default:!1},showRanking:{type:Boolean,default:!1},rankingMessage:{type:String,default:"カテゴリ人気%rank%位"},showReviewable:{type:Boolean,default:!1},showReviewStats:{type:Boolean,default:!1},imageLoading:{type:String,default:"lazy"},showBottomBorder:{type:Boolean,default:!1}},emits:["skuClick","seePreview"],setup(e,{emit:g}){const n=e,l=g,d=f(()=>G(n.product.minCampaignUnitPrice??n.product.minUnitPrice??0,!1,!0)),i=f(()=>`/products/${n.product.productId}?sku=${n.product.id}`),k=f(()=>n.rankingMessage.replace("%rank%",n.product.rank?.toString()??""));function u(){l("skuClick",n.product)}const{getRankingIcon:C}=z(),{getDisabledOverlayContent:B,getDisabledOverlayOpacity:$}=_(),m=f(()=>B(n.product.stockStatus));return(ie,r)=>{const b=D,P=F,R=j,A=I,N=Q,O=E;return a(),s("div",{"data-product-id":n.product.id,class:w(["app_ProductCard flex flex-col px-8 pb-12",{"border-b border-gray-a-light":e.showBottomBorder}])},[e.showRanking&&e.product.rank?(a(),s("div",K,[p(b,{src:t(C)(e.product.rank)||"",width:"20","aspect-ratio":"square"},null,8,["src"]),o("span",W,y(t(k)),1)])):c("",!0),o("div",X,[p(P,{content:t(m),opacity:t($)(e.product.stockStatus)},null,8,["content","opacity"]),o("a",{class:"cursor-pointer",role:"button",href:t(i),onClick:u},[p(b,{class:"w-full mx-auto rounded",src:e.product.image?`${e.product.image}/${t(V).PRODUCT}`:"",alt:e.product.displayName?`${e.product.displayName}
1画像`:"","should-use-srcset":!0,"show-spinner":e.showSpinner,loading:e.imageLoading},null,8,["src","alt","show-spinner","loading"])],8,Y),t(m)?c("",!0):(a(),h(R,{key:0,onSeePreview:r[0]||(r[0]=re=>l("seePreview"))}))]),e.product.stockStatus?(a(),h(A,{key:1,"stock-status":e.product.stockStatus,class:"mt-8 mb-4"},null,8,["stock-status"])):c("",!0),o("a",{class:"text-primary text-sm font-semibold p-0 text-left leading-[18px] my-8 mx-0 md:my-4 hover:underline cursor-pointer text-ellipsis line-clamp-4",href:t(i),onClick:u},y(e.product.displayName),9,Z),e.showReviewable&&e.product.id?(a(),h(N,{key:2,href:`/reviews/skus/${e.product.id}/new`,theme:"accent",class:"border-none w-full mt-4"},{default:S(()=>r[1]||(r[1]=[L(" レビュー投稿 ")])),_:1,__:[1]},8,["href"])):(a(),s(M,{key:3},[t(m)?(a(),s("div",ee,y(t(m)),1)):e.product.minUnitPrice||e.product.minCampaignUnitPrice?(a(),s("div",te,[o("div",null,[e.product.minCampaignUnitPrice?(a(),s("p",ae," SALE ")):c("",!0)]),o("p",ne,[o("span",null,y(t(d))+"~",1),r[2]||(r[2]=o("span",{class:"text-sm"},"[税込]",-1))])])):c("",!0)],64)),e.showReviewStats&&e.product.reviewAvgRate&&e.product.reviewCount?(a(),s("a",{key:4,href:`${t(i)}&toReviews=true`,class:"w-fit self-end hover:opacity-70 cursor-pointer",onClick:u},[p(O,{"stats-font-size":12,"review-avg-rate":e.product.reviewAvgRate,"review-count":e.product.reviewCount},null,8,["review-avg-rate","review-count"])],8,oe)):c("",!0)],10,J)}}}),ke=Object.assign(se,{__name:"AppProductCard"});export{Q as _,ke as a};

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.