1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5120],{10447:(e,t,a)=>{a.d(t,{JW:()=>l,XC:()=>s,_q:()=>n});function s(){{let e=new URLSearchParams(window.location.search).get("stage");if("pre"===e||"morning"===e||"open"===e||"show"===e||"closed"===e)return e}let e=Date.now();return e>=new Date("2026-05-05T18:30:00+09:00").getTime()?"closed":e>=new Date("2026-05-05T14:30:00+09:00").getTime()?"show":e>=new Date("2026-05-05T13:45:00+09:00").getTime()?"open":e>=new Date("2026-05-05T09:00:00+09:00").getTime()?"morning":"pre"}let r={pre:["merch","music","sns"],morning:["merch","music","sns","schedule","backstage"],open:["merch","music","sns","schedule","pamphlet","vote","backstage"],show:["merch","music","sns","schedule","pamphlet","vote","backstage","video"],closed:["merch","music","sns","schedule","pamphlet","vote","backstage","video"]};function l(e,t){return r[t].includes(e)}function n(e){return"open"===e||"show"===e?"during":"closed"===e?"closed":"pre"}},66070:(e,t,a)=>{a.d(t,{Qj:()=>o,R2:()=>s,dI:()=>i,pe:()=>r,r9:()=>l});let s={M3:"æ°´ 18:30",M4:"æ¥ 12:15",M5:"å 15:30",M6:"å 11:00 (éé±)",M7:"BOOM å¤é¨ã¬ãã¹ã³",M8:"BOOM å¤é¨ã¬ãã¹ã³",M9:"æ¥ 11:00",M10:"",M14:"æ¥ 14:00 (éé±)",M15:"æ¥ 15:00",M16:"æ 18:30",M17:"BOOM å¤é¨ã¬ãã¹ã³",M19:"æ¥ 12:45",M20:"æ°´ 20:00",M22:"é 18:30",M24:"æ¥ 14:00 (éé±)",M27:"å 16:30",M28:"é 19:30",M29:"æ¥ 13:30",M30:"æ¥ 14:00 (éé±)",M31:"",M33:"å 10:00",M35:"å 11:30",M37:"æ 20:15"};function r(e){let t=e.split(":").map(Number);return new Date(Date.UTC(2026,4,5,t[0]-9,t[1],t[2]??0))}function l(e){return new Date(r(e.startTime).getTime()+1e3*e.durationSec)}function n(e,t=0){return 60*e+t}let i=[{part:1,label:"1é¨",startTime:"14:30"},{part:2,label:"2é¨",startTime:"15:45"},{part:3,label:"3é¨",startTime:"17:05"}],o=[{id:"M3",startTime:"14:45:35",durationSec:n(5,12),part:1,type:"performance",title:"Sunshine",subtitle:"TARO / HIPHOP åç´"},{id:"M4",startTime:"14:51:17",durationSec:n(2,54),part:1,type:"performance",title:"Best Pals",subtitle:"Ryuki / ã¯ããã¦ã® HIPHOP"},{id:"M5",startTime:"14:54:41",durationSec:n(3,6),part:1,type:"performance",title:"Waack The Soul",subtitle:"YURI / é·çº WAACK å
¥é"},{id:"M6",startTime:"14:58:17",durationSec:n(4,7),part:1,type:"performance",title:"Funkastic Beats",subtitle:"K@TTSU & AOI / å¤è³å HOUSE"},{id:"M7",startTime:"15:02:54",durationSec:n(2,52),part:1,type:"performance",title:"è«è¨ªGALS!!",subtitle:"HARUKA / ãã㺠ã¬ã¼ã«ãº"},{id:"M8",startTime:"15:06:16",durationSec:n(4,13),part:1,type:"performance",title:"Little Wave",subtitle:"TARO / é·çº ãã㺠HIPHOP"},{id:"M9",startTime:"15:10:59",durationSec:n(4,38),part:1,type:"performance",title:"Beat Theory",subtitle:"AOI / å¤è³å HIPHOP åç´"},{id:"M10",startTime:"15:16:07",durationSec:n(2,41),part:1,type:"performance",title:"Katrs",subtitle:"BOOM ãã³ã¹é¨"},{id:"M11",startTime:"15:19:18",durationSec:n(5),part:1,type:"guest",title:"ZIEL",subtitle:"GUEST"},{id:"BR1",startTime:"15:27:18",durationSec:n(17,42),part:1,type:"break",title:"伿©"},{id:"M14",startTime:"15:50:30",durationSec:n(4,22),part:2,type:"performance",title:"Teddy's Fam",subtitle:"ãã£ã¡ãã / NEW JACK SWING"},{id:"M15",startTime:"15:55:22",durationSec:n(3,58),part:2,type:"performance",title:"Grown ups",subtitle:"Ryuki & TARO / ãã¼ã·ãã¯ãã³ã¹ã¯ã©ã¹"},{id:"M16",startTime:"15:59:50",durationSec:n(3,56),part:2,type:"performance",title:"Focus",subtitle:"KEIKO / å¤è³å JAZZ"},{id:"M17",startTime:"16:04:16",durationSec:n(3,55),part:2,type:"performance",title:"Mini Wave",subtitle:"KOKEKO & TARO / é·çº ã¡ã³ã£ã HIPHOP"},{id:"M19",startTime:"16:13:41",durationSec:n(4,32),part:2,type:"performance",title:"Keep Grinding",subtitle:"AOI / å¤è³å HIPHOP åºç¤"},{id:"M20",startTime:"16:18:43",durationSec:n(4,40),part:2,type:"performance",title:"Change",subtitle:"K@TTSU / K@TTSU HOUSE"},{id:"M21",startTime:"16:23:53",durationSec:n(5),part:2,type:"guest",title:"TARO & TAKE",subtitle:"GUEST"},{id:"M22",startTime:"16:29:23",durationSec:n(4,55),part:2,type:"performance",title:"7BOOM BAP C.R.E.W",subtitle:"AOI / ä¸ã¶æµ HIPHOP å
¥é"},{id:"M23",startTime:"16:34:48",durationSec:n(5),part:2,type:"guest",title:"ã¯ã¬ã¢ã©ã·ã«",subt
1itle:"GUEST"},{id:"M24",startTime:"16:40:18",durationSec:n(4,22),part:2,type:"performance",title:"Dreamin' Smoke",subtitle:"ã¡ãããªã¤ / HIPHOP"},{id:"BR2",startTime:"16:47:40",durationSec:n(17,20),part:2,type:"break",title:"伿©"},{id:"M27",startTime:"17:10:30",durationSec:n(4,55),part:3,type:"performance",title:"Turn It Up",subtitle:"KEIKO / é·çº ã¬ã¼ã«ãº åå"},{id:"M28",startTime:"17:15:55",durationSec:n(4,56),part:3,type:"performance",title:"SEVEN BEATS",subtitle:"TARO / ä¸ã¶æµ HIPHOP åç´"},{id:"M29",startTime:"17:21:21",durationSec:n(3,24),part:3,type:"performance",title:"Slay Force",subtitle:"Ryuki / ãã㺠HIPHOP"},{id:"M30",startTime:"17:25:15",durationSec:n(3,34),part:3,type:"performance",title:"ãã®ã¾ã¾",subtitle:"SAYUKI / FREE STYLE"},{id:"M31",startTime:"17:29:19",durationSec:n(4,50),part:3,type:"special",title:"GRAFFITI",subtitle:"TARO & Ryuki / SPECIAL ãã³ãã¼"},{id:"M33",startTime:"17:39:39",durationSec:n(4,34),part:3,type:"performance",title:"Drum Line",subtitle:"TARO / ãã㺠強å"},{id:"M34",startTime:"17:44:43",durationSec:n(5),part:3,type:"guest",title:"NEW STYLERS",subtitle:"GUEST"},{id:"M35",startTime:"17:50:13",durationSec:n(3,57),part:3,type:"performance",title:"full blast",subtitle:"K@TTSU / HOUSE ã¨ãã¹ãã¼ã"},{id:"M36",startTime:"17:54:40",durationSec:n(5),part:3,type:"guest",title:"FOODIES",subtitle:"GUEST"},{id:"M37",startTime:"18:00:10",durationSec:n(5,36),part:3,type:"performance",title:"Vibrant",subtitle:"TARO / TARO HIP HOP ä¸ç´"}]},92483:(e,t,a)=>{a.d(t,{Ay:()=>k,D7:()=>E,nA:()=>P,nU:()=>w});var s=a(95155),r=a(12115),l=a(61792),n=a(93318),i=a(80642),o=a(14577),c=a(93089),d=a(16720),x=a(9005),m=a(57983),p=a(92571),u=a(5772),b=a(91683),h=a(10447);let g={ãã§ã¼ãã°ã¬ã¼:"#8c8c86",ãã§ã¼ãã¬ãã:"#c96a5a",ãã§ã¼ããã«ã¼:"#6a8bb3",ãã¯ã¤ã:"#f5f5f5",ãã©ãã¯:"#1b1b1b",ãã«ã¼:"#2f5fb0",ã©ã¤ãã°ã¬ã¼:"#cfcfc8",ã°ãªã¼ã³:"#6b8f6b"};function f(e,t){if(4===e)return({ãã§ã¼ãã°ã¬ã¼:{front:"/merch/official_grey.png",model:"/merch/official_grey_model.png"},ãã§ã¼ãã¬ãã:{front:"/merch/official_red.png",model:"/merch/official_red_model.png"},ãã§ã¼ããã«ã¼:{front:"/merch/official_blue.png",model:"/merch/official_blue_model.png"}})[t]??null;if(5===e)return({ãã¯ã¤ã:{front:"/merch/embroidery_white_front.webp",back:"/merch/embroidery_white_back.webp",closeup:"/merch/embroidery_white_closeup.webp"},ãã©ãã¯:{front:"/merch/embroidery_black_front.webp",back:"/merch/embroidery_black_back.webp",closeup:"/merch/embroidery_black_closeup.webp"},ãã«ã¼:{front:"/merch/embroidery_blue_front.webp",back:"/merch/embroidery_blue_back.webp",closeup:"/merch/embroidery_blue_closeup.webp"}})[t]??null;if(7===e){let e={ã©ã¤ãã°ã¬ã¼:"/merch/tote_lightgrey.png",ã°ãªã¼ã³:"/merch/tote_green.png"};return e[t]?{front:e[t]}:null}if(8===e){let e={KEIKO:"/merch/kirakira_keiko.png",TARO:"/merch/kirakira_taro.png","K@TTSU":"/merch/kirakira_kattsu.png",SAYUKI:"/merch/kirakira_sayuki.png",ã¡ãããªã¤:"/merch/kirakira_channatsu.png",ãã£ã¡ãã:"/merch/kirakira_occhan.png",BOOMãã:"/merch/kirakira_boomkun.png"};return e[t]?{front:e[t]}:null}return null}let y={front:"FRONT",back:"BACK",closeup:"CLOSEUP",model:"MODEL"};function j(){return(0,h._q)((0,h.XC)())}let N={pre:{cardButton:"äºåäºç´ãã",modalButton:"äºåäºç´ã確å®",modalSubmitting:"äºåäºç´ä¸...",bannerHTML:'<strong class="text-white">äºåäºç´åä»ä¸</strong> â çºè¡¨ä¼å½æ¥ï¼5/5ï¼ä¼å ´ã®ç©è²©ãã¼ã¹ã§ãåãåãã§ãã<br />äºåã®ã渡ãã»çºéã¯ãããã¾ããã',modalInfoTitle:"åãåãï¼éå ´å¾ããï¼13:45ã14:30ï¼",modalInfoBody:"ç©è²©ãã¼ã¹ã§ãååãä¼ãã¦ãåãåããã ããã<br /><strong>â»14:30 ãéããã¨èªåãã£ã³ã»ã«</strong>ã¨ãªãååã¯å販ããã¾ãã<br />ãæ¯æãã¯ç¾éã»ã¯ã¬ã¸ããã«ã¼ãã»PayPay çã«å¯¾å¿ã",successMessage:"äºåäºç´ãæ¿ãã¾ããã彿¥ 13:45ã14:30 ã®éã«ç©è²©ãã¼ã¹ã§ãåãåããã ããã"},during:{cardButton:"åãç½®ããã",modalButton:"åãç½®ãã確å®",modalSubmitting:"確å®ä¸...",bannerHTML:'<strong class="text-white">ã©ã¤ãåãç½®ãåä»ä¸</strong> â ãå¸ãããã®ã¾ã¾æ³¨æOKããæ©ãã«ç©è²©ãã¼ã¹ã§ãåãåããã ããã',modalInfoTitle:"åãåãï¼ç©è²©ãã¼ã¹ã§éæ",modalInfoBody:"ãªãã¹ããæ©ãã«ç©è²©ãã¼ã¹ã§ãåãåããã ããã<br /><strong>
1â»å
¬æ¼çµäºï¼18:30ï¼ã¾ã§ã«åãåãããªãå ´åã¯èªåãã£ã³ã»ã«</strong>ã¨ãªãã¾ãã<br />ãæ¯æãã¯ç¾éã»ã¯ã¬ã¸ããã«ã¼ãã»PayPay çã«å¯¾å¿ã",successMessage:"åãç½®ããæ¿ãã¾ãããç©è²©ãã¼ã¹ã§ããååãããä¼ããã ããã"},closed:{cardButton:"ç©è²©ãã¼ã¹ã¸",modalButton:"ç©è²©ãã¼ã¹ã§ç´æ¥è³¼å
¥",modalSubmitting:"â",bannerHTML:'<strong class="text-white">åãç½®ãã¯çµäºãã¾ãã</strong> â å¨åº«ããããã®ã¯<strong class="text-white">ç©è²©ãã¼ã¹ã§ç´æ¥ãè²·ãæ±ããã ãã</strong>ã<br />売ãåãåã¯ãè¿½å æ³¨æ(徿¥çºé)ããå¼ãç¶ããå©ç¨ããã ãã¾ãã',modalInfoTitle:"ç©è²©ãã¼ã¹ã§ç´æ¥ãè²·ãæ±ããã ãã",modalInfoBody:"åãç½®ãåä»ã¯çµäºãã¾ããã<br />å¨åº«ãããååã¯<strong>ä¼å ´ã®ç©è²©ãã¼ã¹ã§ç´æ¥</strong>ãè²·ãæ±ãããã ãã¾ãã<br />ãæ¯æãã¯ç¾éã»ã¯ã¬ã¸ããã«ã¼ãã»PayPay çã«å¯¾å¿ã",successMessage:""}};function k(){let e=(0,r.useRef)(null),t=(0,l.W)(e,{once:!0,margin:"-80px"}),[a,i]=(0,r.useState)("pre");return((0,r.useEffect)(()=>{let e=()=>i(j());e();let t=setInterval(e,3e4);return()=>clearInterval(t)},[]),"closed"===a)?(0,s.jsx)(S,{}):(0,s.jsx)("section",{id:"merch",className:"py-16 px-4 sm:px-6",children:(0,s.jsxs)("div",{className:"max-w-lg mx-auto",ref:e,children:[(0,s.jsxs)(n.P.div,{className:"text-center mb-8",initial:{opacity:0,y:20},animate:t?{opacity:1,y:0}:{},transition:{duration:.6},children:[(0,s.jsx)("h2",{className:"text-3xl sm:text-4xl font-black tracking-tight gradient-text mb-3",children:"GOODS"}),(0,s.jsx)("p",{className:"text-xs text-white/60",children:"äºåäºç´ / 彿¥åãç½®ã OKã»ä¼å ´ã®ç©è²©ãã¼ã¹ã§åãåã"})]}),(0,s.jsx)(S,{})]})})}let v=new Date("2026-05-19T23:59:59+09:00");function w(){try{let e=new URLSearchParams(window.location.search);if("1"===e.get("expired"))return!0;if((e.get("late")??"").length>0)return!1}catch{}return Date.now()>v.getTime()}function S(){let[e,t]=(0,r.useState)([]),[a,l]=(0,r.useState)(null),[x,m]=(0,r.useState)(null),[p,b]=(0,r.useState)(null),[h,f]=(0,r.useState)("pre");(0,r.useEffect)(()=>{let e=()=>f(j());e();let t=setInterval(e,3e4);return()=>clearInterval(t)},[]);let y=async()=>{try{let e=await fetch("/api/merch").then(e=>e.json());t(e)}catch{}};(0,r.useEffect)(()=>{y()},[]),(0,r.useEffect)(()=>{let t=()=>{let t=e.find(e=>9===e.id);t&&b(t)};return window.addEventListener("open-video-preorder",t),()=>window.removeEventListener("open-video-preorder",t)},[e]);let k=N[h];return"closed"===h?(0,s.jsx)(s.Fragment,{children:p&&(0,s.jsx)(M,{item:p,onClose:()=>b(null)})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(P,{}),(0,s.jsxs)("div",{className:"mb-4 rounded-xl px-3 py-2.5 flex gap-2 items-start",style:{background:"during"===h?"rgba(220,76,4,0.18)":"rgba(242,122,26,0.12)",border:`1px solid ${"during"===h?"rgba(220,76,4,0.5)":"rgba(242,122,26,0.35)"}`},children:[(0,s.jsx)(o.A,{size:16,className:"flex-shrink-0 mt-0.5",style:{color:"#ffb37a"}}),(0,s.jsx)("p",{className:"text-[11px] leading-snug text-white/85",dangerouslySetInnerHTML:{__html:k.bannerHTML}})]}),(0,s.jsx)("div",{className:"grid grid-cols-2 gap-2.5",children:e.map((e,t)=>{let a,r=9===e.id,i=r&&w(),o=(e.variants??[]).reduce((e,t)=>e+(t.stock??0),0),d=(e.variants??[]).length>0?o:e.stock??0,x=!r&&!e.purchase_at_booth&&d<=0,p=x&&8!==e.id&&!e.purchase_at_booth;return(0,s.jsxs)(n.P.div,{className:"rounded-2xl overflow-hidden",style:{background:"rgba(255,255,255,0.1)",border:"1px solid rgba(255,255,255,0.12)"},initial:{opacity:0,y:20},animate:{opacity:1,y:0},transition:{duration:.4,delay:.08*t},children:[(0,s.jsxs)("button",{type:"button",onClick:()=>{r&&!i?b(e):r||x?p&&m(e):l(e)},disabled:x&&!p&&!r||i,"aria-label":r?`${e.name} ãäºç´`:e.purchase_at_booth?`${e.name} ã®ãã¶ã¤ã³ãè¦ã`:`${e.name} ã®äºç´ç»é¢ãéã`,className:"aspect-square relative overflow-hidden w-full block transition-transform active:scale-[0.97]",style:{background:"rgba(255,255,255,0.05)",cursor:!x||p||r?"pointer":"not-allowed"},children:[e.image_url?(0,s.jsx)(u.default,{src:e.image_url,alt:e.name,fill:!0,className:8===e.id||r?"object-contain p-2":"object-cover",sizes:"(max-width: 768px) 50vw, 200px"}):(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center",children:(0,s.jsx)(c.A,{size:36,className:"text-white/20"})}),x&&(0,s.jsx)("div",{className:"absolute inset-0 bg-black/55 flex items-center justify-center",children:(0,s.jsx)("span",{className:"text-white text-sm font-black tracking-widest",children:"SOLD OUT"})}),i&&(0,s.jsxs)("div",{className:"absolute inset-0 bg-black/70 flex flex-col items-center justify-center px-2 text-center",children:[(0,s.jsx)("span",{className:"text-white text-base font-black tracking-wider",children:"äºç´åä»çµäº"}),(0,s.jsx)("span",{className:"text-white/80 text-[10px] mt-1",children:"5/19(ç«) 23:59 ã§ç· åã¾ãã"})]}),e.purchase_at_booth&&8!==e.id&&(0,s.jsx)("div",{className:"absolute top-1.5 left-1.5 px-2 py-0.5 rounded-md text-[9px] font-black",style:{background:"rgba(0,0,0,0.7)",color:"#ffd166"},children:"\uD83C\uDFEA 彿¥ä¼å ´è²©å£²"}),r&&!i&&(0,s.jsxs)("div",{className:"absolute bottom-1.5 left-1.5 right-1.5 px-2 py-1 rounded-md text-[9px] font-black leading-tight text-center",style:{background:"linear-gradient(135deg, rgba(99,102,241,0.95), rgba(139,92,246,0.95))",color:"#fff",boxShadow:"0 2px 8px rgba(99,102,241,0.5)"},children:["ä»å¹´ã¯DVDã§ã¯ãªãæ åãã¼ã¿è²©å£²ã§ã",(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"text-[8px] opacity-90",children:"äºç´æé: 5/19(ç«) 23:59 ã¾ã§"})]})]}),(0,s.jsxs)("div",{className:"p-3",children:[(0,s.jsx)("h3",{className:"font-bold text-xs text-white leading-tight line-clamp-2 min-h-[2rem]",children:e.name}),(0,s.jsxs)("p",{className:"text-sm font-black text-white mt-1",children:["\xa5",e.price.toLocaleStr
1ing()]}),0===(a=Array.from(new Set((e.variants??[]).map(e=>e.color).filter(Boolean)))).length?null:(0,s.jsx)("div",{className:"flex gap-1 mt-2",children:a.map(e=>(0,s.jsx)("span",{title:e,className:"w-4 h-4 rounded-full border border-white/40",style:{background:g[e]??"#888"}},e))}),(0,s.jsx)("button",{onClick:()=>{r&&!i?b(e):r||x?p&&m(e):l(e)},disabled:x&&!p&&!r||i,className:"w-full mt-2 text-xs font-bold py-2 rounded-full transition-all",style:{background:i?"rgba(255,255,255,0.1)":x?p?"rgba(255,255,255,0.95)":"rgba(255,255,255,0.1)":"rgba(255,255,255,0.95)",color:i?"rgba(255,255,255,0.3)":x?p?"#dc4c04":"rgba(255,255,255,0.3)":"#f27a1a",cursor:(r||x)&&(!r||i)&&!p?"not-allowed":"pointer"},children:r?i?"åä»çµäº":"äºç´ãã":x?p?"è¿½å æ³¨æ(徿¥çºé)":"SOLD OUT":e.purchase_at_booth?"ãã¶ã¤ã³ãè¦ã":k.cardButton})]})]},e.id)})}),0===e.length&&(0,s.jsxs)("div",{className:"text-center py-12 text-white/40",children:[(0,s.jsx)(d.A,{className:"mx-auto mb-3 opacity-50",size:32}),(0,s.jsx)("p",{className:"text-sm",children:"ã°ããºæ
å ±æºåä¸..."})]}),(0,s.jsxs)(i.N,{children:[a&&(0,s.jsx)(_,{item:a,mode:h,onClose:()=>{l(null),y()}}),x&&(0,s.jsx)(O,{item:x,onClose:()=>m(null)}),p&&(0,s.jsx)(M,{item:p,onClose:()=>b(null)})]})]})}function T({displayImage:e,alt:t,isStickerItem:a,availableViews:r,currentView:l,onChangeView:n,colorList:i,currentColor:o,onChangeColor:c}){let d=!!(i&&i.length>1&&o&&c),x=e=>{if(d){let t=i.indexOf(o);if(t<0)return;let a=(t+e+i.length)%i.length;c(i[a]);return}if(r.length<2)return;let t=r.indexOf(l);if(t<0)return;let a=(t+e+r.length)%r.length;n(r[a])},m=(0,b.uh)({onSwipedLeft:()=>x(1),onSwipedRight:()=>x(-1),trackMouse:!0,preventScrollOnSwipe:!0,delta:30});return(0,s.jsxs)("div",{...m,className:"relative w-full aspect-square rounded-xl overflow-hidden mb-3 bg-gray-100 select-none",style:{touchAction:"pan-y"},children:[(0,s.jsx)(u.default,{src:e,alt:t,fill:!0,className:a?"object-contain p-3":"object-cover",sizes:"(max-width: 768px) 80vw, 320px",draggable:!1}),(r.length>1||d)&&(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)("div",{className:"absolute bottom-2 left-1/2 -translate-x-1/2 flex gap-1.5 px-2 py-1 rounded-full bg-black/35 backdrop-blur",children:(d?i:r).map(e=>{let t=d?e===o:e===l;return(0,s.jsx)("span",{className:"w-1.5 h-1.5 rounded-full transition-all",style:{background:t?"#fff":"rgba(255,255,255,0.4)"}},e)})}),(0,s.jsx)("div",{className:"absolute top-2 right-2 px-2 py-0.5 rounded-full text-[9px] font-bold bg-white/85 text-gray-700 pointer-events-none",children:"â ã¹ã¯ã¤ã â"})]})]})}function _({item:e,mode:t,onClose:a}){let l=N[t],i=e.variants??[],c=i.length>0&&i.some(e=>e.color||e.size),d=(0,r.useMemo)(()=>Array.from(new Set(i.map(e=>e.color).filter(Boolean))),[i]),u=(0,r.useMemo)(()=>Array.from(new Set(i.map(e=>e.size).filter(Boolean))),[i]),[b,h]=(0,r.useState)(d[0]??""),[k,v]=(0,r.useState)(u[0]??""),[w,S]=(0,r.useState)(5===e.id?"back":"front"),[O,M]=(0,r.useState)(""),[C,A]=(0,r.useState)(""),[I,P]=(0,r.useState)("cash_onsite"),[B,E]=(0,r.useState)(!1),[L,R]=(0,r.useState)(null),H=(0,r.useMemo)(()=>c?i.find(e=>(0===d.length||e.color===b)&&(0===u.length||e.size===k))??null:i[0]??null,[i,c,d,u,b,k]),D=f(e.id,b),z=(0,r.useMemo)(()=>{if(!D)return[];let e=["front"];return D.back&&e.push("back"),D.closeup&&e.push("closeup"),D.model&&e.push("model"),e},[D]),U="model"===w&&D?.model||"closeup"===w&&D?.closeup||"back"===w&&D?.back||D?.front||e.image_url,K=!!H&&H.stock<=0,F=O.trim().length>0&&("online_square"!==I||C.trim().length>0)&&!K&&!B,$=async()=>{if(F){E(!0);try{let t={merch_id:e.id,variant_id:H?.id??null,buyer_name:O.trim(),email:C.trim(),payment_method:I},a=await fetch("/api/merch/order",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),s=await a.json();if(!a.ok)return void R({ok:!1,message:s.error??"äºç´ã«å¤±æãã¾ãã"});
1if("online_square"===I){if(s.redirect){window.location.href=s.redirect;return}R({ok:!1,message:s.checkout_error??"ãªã³ã©ã¤ã³æ±ºæ¸ã¯ç¾å¨æºåä¸ã§ãã彿¥ç¾éãé¸ãã§ãã ããã"})}else{let e=N[j()];R({ok:!0,message:e.successMessage})}}catch{R({ok:!1,message:"éä¿¡ã¨ã©ã¼ãçºçãã¾ãã"})}finally{E(!1)}}};return(0,s.jsxs)(n.P.div,{className:"fixed inset-0 z-[60] flex items-end sm:items-center justify-center p-4",initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:a}),(0,s.jsxs)(n.P.div,{className:"relative w-full max-w-sm rounded-2xl p-6 max-h-[90vh] overflow-y-auto",style:{background:"rgba(255,255,255,0.97)",border:"1px solid rgba(255,255,255,0.8)"},initial:{y:100,opacity:0},animate:{y:0,opacity:1},exit:{y:100,opacity:0},children:[(0,s.jsx)("button",{onClick:a,"aria-label":"éãã",className:"absolute top-3 right-3 z-20 w-10 h-10 rounded-full flex items-center justify-center shadow-lg transition-colors",style:{background:"rgba(255,255,255,0.95)",color:"#333",border:"1px solid rgba(0,0,0,0.08)"},children:(0,s.jsx)(x.A,{size:20})}),L?.ok?(0,s.jsxs)("div",{className:"text-center py-6 px-2",children:[(0,s.jsx)(n.P.div,{initial:{scale:0},animate:{scale:1},children:(0,s.jsx)(m.A,{size:48,className:"mx-auto mb-3 text-green-500"})}),(0,s.jsx)("p",{className:"font-bold text-gray-800",children:"during"===t?"åãç½®ãå®äº!":"äºç´å®äº!"}),(0,s.jsx)("p",{className:"text-sm text-gray-600 mt-2 leading-relaxed",children:L.message}),(0,s.jsx)("button",{onClick:a,className:"mt-5 px-8 py-2.5 rounded-full text-sm font-bold text-white",style:{background:"#f27a1a"},children:"éãã"})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(T,{displayImage:U,alt:e.name,isStickerItem:8===e.id,availableViews:z,currentView:w,onChangeView:S,...8===e.id?{colorList:d,currentColor:b,onChangeColor:h}:{}}),z.length>1&&(0,s.jsx)("div",{className:"flex justify-center gap-2 -mt-2 mb-3",children:z.map(e=>(0,s.jsx)("button",{onClick:()=>S(e),className:"px-3 py-1.5 rounded-full text-[10px] font-bold transition-all whitespace-nowrap",style:{background:w===e?"#f27a1a":"rgba(242,122,26,0.1)",color:w===e?"#fff":"#666",border:`1px solid ${w===e?"#f27a1a":"rgba(242,122,26,0.2)"}`},children:y[e]},e))}),(0,s.jsxs)("div",{className:"pr-6",children:[(0,s.jsx)("h3",{className:"font-bold text-base text-gray-800 leading-tight",children:e.name}),(0,s.jsxs)("p",{className:"text-lg font-black mt-1",style:{color:"#f27a1a"},children:["\xa5",e.price.toLocaleString()]})]}),e.description&&(0,s.jsx)("p",{className:"text-xs text-gray-500 mb-4 mt-2 leading-relaxed",children:e.description}),!e.purchase_at_booth&&(0,s.jsxs)("div",{className:"rounded-lg px-3 py-2 mb-4 text-[11px] leading-snug",style:{background:"rgba(242,122,26,0.1)",color:"#a24e00",border:"1px solid rgba(242,122,26,0.25)"},children:["ãåãåã㯠",(0,s.jsx)("strong",{children:"çºè¡¨ä¼å½æ¥ãä¼å ´ã®ç©è²©ãã¼ã¹"})," ã®ã¿ã§ãï¼äºåçºéãªãï¼ã"]}),(0,s.jsxs)("div",{className:"space-y-4",children:[d.length>0&&(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-xs text-gray-500 mb-2 block font-semibold",children:8===e.id?"ãã¶ã¤ã³":"ã«ã©ã¼"}),(0,s.jsxs)("div",{className:"flex flex-wrap gap-2",children:[d.map(e=>{let t=e===b,a=i.filter(t=>t.color===e).every(e=>e.stock<=0),r=g[e]??"#888";return(0,s.jsxs)("button",{onClick:()=>{a||(h(e),S("front"))},disabled:a,className:"flex items-center gap-2 pl-1.5 pr-3 py-1.5 rounded-xl text-xs font-bold transition-all",style:{background:t?"#f27a1a":a?"#eee":"#f5f5f5",color:t?"#fff":a?"#bbb":"#555",textDecoration:a?"line-through":"none",cursor:a?"not-allowed":"pointer"},children:[(0,s.jsx)("span",{className:"w-4 h-4 rounded-full border",style:{background:r,borderColor:t?"#fff":"rgba(0,0,0,0.15)"}}),e]},e)}),8===e.id&&(0,s.jsxs)("button",{onClick:()=>{h("BOOMãã"),S("front")},className:"flex items-center gap-1.5 pl-1.5 pr-3 py-1.5 rounded-xl text-xs font-bold transition-all relative",style:{background:"BOOMãã"===b?"linear-gradient(135deg, #f59e0b, #dc4c04)":"linear-gradient(135deg, #fff7ed, #ffedd5)",color:"BOOMãã"===b?"#fff":"#dc4c04",border:"1.5px solid rgba(220,76,4,0.45)"},children:[(0,s.jsx)("span",{className:"text-sm leading-none",children:"\uD83C\uDF81"}),"BOOMãã",(0,s.jsx)("span",{className:"absolute -top-2 -right-1 text-[8px] font-black px-1.5 py-0.5 rounded-full",style:{background:"#dc4c04",color:"#fff"},children:"ç¹å
¸"})]})]})]}),u.length>0&&(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-xs text-gray-500 mb-2 block font-semibold",children:"ãµã¤ãº"}),(0,s.jsx)("div",{className:"flex flex-wrap gap-2",children:u.map(e=>{let t,a=e===k,r=(t=d.length>0?i.filter(t=>t.color===b&&t.size===e):i.filter(t=>t.size===e)).length>0&&t.every(e=>e.stock<=0);return(0,s.jsx)("button",{onClick:()=>!r&&v(e),disabled:r,className:"px-3 py-2 rounded-xl text-xs font-bold transition-all min-w-[48px]",style:{background:a?"#f27a1a":r?"#eee":"#f5f5f5",color:a?"#fff":r?"#bbb":"#555",textDecoration:r?"line-through":"none",cursor:r?"not-allowed":"pointer"},children:e},e)})})]}),K&&(0,s.jsx)("p",{className:"text-xs font-bold text-red-500 text-center py-2",children:"鏿ä¸ã®çµã¿åããã¯å£²ãåãã§ã"}),e.purchase_at_booth?8===e.id&&"BOOMãã"===b?(0,s.jsxs)("div",{className:"rounded-2xl px-4 py-4 border-2",style:{background:"linear-gradient(135deg, #fff7ed 0%, #ffe4c4 100%)",borderColor:"#f27a1a"},children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,s.jsx)("span",{className:"text-xl",children:"\uD83C\uDF81"}),(0,s.jsx)("h4",{className:"text-sm font-black text-orange-600",children:"ãã¡ãã¯è²©å£²ãªãã»ã³ã³ãç¹å
¸ã§ã"})]}),(0,s.jsxs)("p",{className:"text-xs text-gray-700 leading-relaxed",children:["ä»6種ï¼TARO / KEIKO / K@TTSU / SAYUKI / ã¡ãããªã¤ / ãã£ã¡ããï¼ã",(0,s.jsx)("strong",{className:"text-orange-600 mx-1",children:"å
¨ç¨®ã³ã³ããªã¼ã"}),"ããæ¹éå®ã§ãBOOMãã ããããã·ã¼ã«ã",(0,s.jsx)("strong",{className:"text-orange-600 mx-1",children:"ç¡æãã¬ã¼ã³ã"}),"\uD83C\uDF89",(0,s.jsx)("br",{}),"ç©è²©ãã¼ã¹ã§6種ãè¦ãã¦ããã ããæ¹ã«1æã渡ããã¾ãã"]})]}):8===e.id?(0,s.jsxs)("div",{className:"rounded-2xl px-4 py-4 border-2 border-dashed",style:{background:"#fff7ed",borderColor:"#f27a1a"},children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,s.jsx)("span",{className:"text-xl",children:"\uD83C\uDFEA"}),(0,s.jsx)("h4",{className:"text-sm font-black text-orange-600",children:"ç©è²©ãã¼ã¹ã§ç´æ¥ãè²·ãæ±ããã ãã"})]}),(0,s.jsxs)("p",{className:"text-xs text-gray-700 leading-relaxed",children:["ç©è²©ãã¼ã¹ã®è²¯éç®±ã«",(0,s.jsxs)("span",{className:"font-black text-orange-600 mx-1",children:["\xa5",e.price.toLocaleStr
1ing()]}),"ãå
¥ãã¦ãã好ã¿ã®ãã¶ã¤ã³ã1æãæã¡ãã ããã",(0,s.jsx)("br",{}),"ã¯ã¬ã¸ããã«ã¼ãã»PayPay çãã叿ã®å ´åã¯ã¹ã¿ããã«ã声ããã\uD83C\uDFAB"]})]}):(0,s.jsxs)("div",{className:"rounded-2xl px-4 py-4 border-2 border-dashed",style:{background:"#fff7ed",borderColor:"#f27a1a"},children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-2",children:[(0,s.jsx)("span",{className:"text-xl",children:"\uD83C\uDFEA"}),(0,s.jsx)("h4",{className:"text-sm font-black text-orange-600",children:"彿¥ ä¼å ´ã§è²©å£²ãã¾ã"})]}),(0,s.jsxs)("p",{className:"text-xs text-gray-700 leading-relaxed",children:["ãã®ååã¯",(0,s.jsx)("strong",{className:"text-orange-600",children:"äºåäºç´ã¯ããã¾ãã"}),"ã",(0,s.jsx)("span",{className:"block mt-1",children:"çºè¡¨ä¼å½æ¥ï¼5/5ï¼ä¼å ´ã®ç©è²©ãã¼ã¹ã§ç´æ¥ãè²·ãæ±ããã ããã"}),(0,s.jsx)("span",{className:"block mt-1 text-[11px] text-gray-500",children:"ç¾éã»ã¯ã¬ã¸ããã«ã¼ãã»PayPay çã«å¯¾å¿ãã¾ã"})]})]}):"closed"===t?(0,s.jsxs)("div",{className:"rounded-xl px-4 py-5 text-center",style:{background:"#fff7ed",border:"1px solid rgba(242,122,26,0.3)"},children:[(0,s.jsx)(o.A,{size:20,className:"mx-auto mb-2",style:{color:"#dc4c04"}}),(0,s.jsx)("p",{className:"text-sm font-black mb-2",style:{color:"#dc4c04"},children:l.modalInfoTitle}),(0,s.jsx)("div",{className:"text-[12px] leading-relaxed",style:{color:"#555"},dangerouslySetInnerHTML:{__html:l.modalInfoBody}})]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-xs text-gray-500 mb-1 block font-semibold",children:"ãåå"}),(0,s.jsx)("input",{type:"text",value:O,onChange:e=>M(e.target.value),className:"w-full px-3 py-2.5 rounded-xl text-sm border border-gray-200 focus:border-orange-400 focus:outline-none text-gray-800",placeholder:"ãååãå
¥å"})]}),(0,s.jsxs)("div",{className:"rounded-xl px-3 py-3",style:{background:"#fff7ed",border:"1px solid rgba(242,122,26,0.3)"},children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,s.jsx)(o.A,{size:16,style:{color:"#dc4c04"}}),(0,s.jsx)("span",{className:"text-xs font-black",style:{color:"#dc4c04"},children:l.modalInfoTitle})]}),(0,s.jsx)("div",{className:"text-[11px] leading-relaxed",style:{color:"#555"},dangerouslySetInnerHTML:{__html:l.modalInfoBody}})]}),L&&!L.ok&&(0,s.jsx)("div",{className:"rounded-xl bg-red-50 border border-red-200 p-3 text-xs text-red-700",children:L.message}),(0,s.jsx)("button",{onClick:$,disabled:!F,className:"w-full py-3 rounded-full text-sm font-bold text-white disabled:opacity-40 transition-all flex items-center justify-center gap-2",style:{background:"#f27a1a"},children:B?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p.A,{size:16,className:"animate-spin"}),l.modalSubmitting]}):l.modalButton})]})]})]})]})]})}function O({item:e,onClose:t}){let a,l,i=e.variants??[],o=(0,r.useMemo)(()=>Array.from(new Set(i.map(e=>e.color).filter(Boolean))),[i]),d=(0,r.useMemo)(()=>Array.from(new Set(i.map(e=>e.size).filter(Boolean))),[i]),[b,h]=(0,r.useState)(o[0]??""),[g,y]=(0,r.useState)(d[0]??""),[j,N]=(0,r.useState)(1),[k,v]=(0,r.useState)(""),[w,S]=(0,r.useState)(""),[T,_]=(0,r.useState)(""),[M,C]=(0,r.useState)(""),[A,I]=(0,r.useState)(""),[P,B]=(0,r.useState)(!1),[E,L]=(0,r.useState)(!1),[R,H]=(0,r.useState)(null),D=e.price*j,z=D+800,U=!E&&P&&k.trim().length>0&&/^\S+@\S+\.\S+$/.test(w.trim())&&T.trim().length>0&&M.trim().length>0&&A.trim().length>0&&(0===o.length||b)&&(0===d.length||g)&&j>=1,K=async()=>{if(U){L(!0),H(null);try{let t=i.find(e=>e.color===b&&e.size===g),a=await fetch("/api/restock",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({merch_id:e.id,variant_id:t?.id??null,color:b,size:g,quantity:j,buyer_name:k.trim(),email:w.trim(),phone:T.trim(),postal_code:M.trim(),address:A.trim()})}),s=await a.json();if(!a.ok)return void H({ok:!1,message:s.error??"éä¿¡ã«å¤±æãã¾ãã"});H({ok:!0,message:s.email_sent?`ãæ³¨æãæ¿ãã¾ããããå
¥åã®ã¡ã¼ã«ã¢ãã¬ã¹ï¼${w.trim()}ï¼ã«ããæ¯è¾¼å
ã»ãæ¯ææéã®ãæ¡å
ããéããã¾ãããå±ããªãå ´åã¯è¿·æã¡ã¼ã«ãã©ã«ããã確èªãã ããã`:"ãæ³¨æãæ¿ãã¾ããããæ¯è¾¼å
ã»ãæ¯ææéã¯ã徿¥æ¹ã㦠éå¶ããã¡ã¼ã« ([email protected]) ã§ãæ¡å
ãããã¾ãã®ã§ããã°ãããå¾
ã¡ãã ããã"})}catch{H({ok:!1,message:"éä¿¡ã¨ã©ã¼ãçºçãã¾ãã"})}finally{L(!1)}}};return(0,s.jsxs)(n.P.div,{initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-end sm:items-center justify-center",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:t}),(0,s.jsxs)(n.P.div,{initial:{y:40,opacity:0},animate:{y:0,opacity:1},exit:{y:40,opacity:0},className:"relative bg-white rounded-t-3xl sm:rounded-3xl w-full sm:max-w-md max-h-[90vh] overflow-y-auto",children:[(0,s.jsx)("button",{onClick:t,className:"absolute top-3 right-3 z-10 w-9 h-9 rounded-full bg-gray-100 hover:bg-gray-200 flex items-center justify-center",children:(0,s.jsx)(x.A,{size:18})}),(0,s.jsxs)("div",{className:"p-5 pb-3",style:{background:"linear-gradient(135deg,#f27a1a,#dc4c04)"},children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,s.jsx)(c.A,{size:16,className:"text-white"}),(0,s.jsx)("span",{className:"text-[11px] font-black tracking-widest text-white/90",children:"SOLD OUT â è¿½å æ³¨æåä»"})]}),(0,s.jsx)("h3",{className:"text-lg font-black text-white leading-tight",children:e.name}),(0,s.jsx)("p",{className:"text-xs text-white/85 mt-1",children:"徿¥ èªå®
ã¸çºé / éè¡æ¯è¾¼ã§ãæ¯æã"})]}),(a=f(e.id,b),(l=a?.model||a?.front||e.image_url)?(0,s.jsx)("div",{className:"relative w-full bg-gray-50",style:{aspectRatio:"1 / 1"},children:(0,s.jsx)(u.default,{src:l,alt:e.name,fill:!0,className:8===e.id?"object-contain p-3":"object-cover",sizes:"(max-width: 768px) 100vw, 480px"})}):null),R?.ok?(0,s.jsxs)("div",{className:"p-6 text-center",children:[(0,s.jsx)(m.A,{size:48,className:"mx-auto text-green-500 mb-3"}),(0,s.jsx)("p",{className:"font-bold text-gray-800",children:"ãæ³¨æãæ¿ãã¾ãã!"}),(0,s.jsx)("p",{className:"text-xs text-gray-600 mt-2 leading-relaxed",children:R.message}),(0,s.jsx)("button",{onClick:t,className:"mt-5 px-6 py-2.5 rounded-full text-sm font-bold text-white",style:{background:"#f27a1a"},children:"éãã"})]}):(0,s.jsxs)("div",{className:"p-5 space-y-3",children:[(0,s.jsxs)("div",{className:"rounded-xl p-3 text-[11px] leading-relaxed",style:{background:"#fff7ed",border:"1px solid rgba(242,122,26,0.3)",color:"#555"},children:[(0,s.jsx)("p",{className:"font-black text-orange-700 mb-1.5",children:"\uD83D\uDCE6 徿¥çºéã®æµã"}),(0,s.jsxs)("ol",{className:"list-decimal pl-4 space-y-0.5",children:[(0,s.jsx)("li",{children:"ä¸è¨ãã©ã¼ã ã§ã注æ"}),(0,s.jsx)("li",{children:"ãå
¥åã®ã¡ã¼ã«ã¢ãã¬ã¹ã«ãæ¯è¾¼å
ã®ãæ¡å
ããéããã¾ã"}),(0,s.jsxs)("li",{children:[(0,s.jsx)("strong",{children:"2026å¹´5æ12æ¥(ç«) 15:00 ã¾ã§"}),"ã«ãæ¯ãè¾¼ã¿"]}),(0,s.jsx)("li",{children:"çºè¡¨ä¼ããç´2é±éå¾ (5/19 é ) ãç®å®ã«ãæå®ã®ä½æã¸çºé"})]}),(0,s.jsxs)("p",{className:"mt-2",children:["éæï¼",(0,s.jsxs)("strong",{children:["\xa5",800..toLocaleString()]}),"ï¼å¥éå ç®ï¼"]}),(0,s.jsx)("p",{className:"mt-1.5 text-[10px] text-orange-700",children:"â»è¤æ°ååããæ³¨æã®å ´åãéæã1ååã®ã¿ã«èª¿æ´ã§ããå ´åãããã¾ãããã®éã¯å¥éã¡ã¼ã«ã§åå¥ã«ãæ¡å
ãã¾ãã"})]}),o.length>0&&(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-xs text-gray-500 mb-1 block font-semibold",children:"ã«ã©ã¼"}),(0,s.jsx)("select",{value:b,onChange:e=>h(e.target.value),className:"w-full px-3 py-2.5 rounded-xl text-sm border border-gray-200 focus:border-orange-400 focus:outline-none text-gray-800 bg-white",children:o.map(e=>(0,s.jsx)("option",{value:e,children:e},e))})]}),d.length>0&&(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-xs text-gray-500 mb-1 block font-semibold",children:"ãµã¤ãº"}),(0,s.jsx)("select",{value:g,onChange:e=>y(e.target.value),className:"w-full px-3 py-2.5 rounded-xl text-sm border border-gray-200 focus:border-orange-400 focus:outline-none text-gray-800 bg-white",children:d.map(e=>(0,s.jsx)("option",{value:e,children:e},e))})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-xs text-gray-500 mb-1 block font-semibold",children:"æ°é"}),(0,s.jsx)("input",{type:"number",min:1,max:10,inputMode:"numeric",value:j,onChange:e=>N(Math.max(1,Math.min(10,Number(e.target.value)||1))),className:"w-full px-3 py-2.5 rounded-xl text-sm border border-gray-200 focus:border-orange-400 focus:outline-none text-gray-800"})]}),(0,s.jsxs)("div",{className:"border-t pt-3 mt-1",children:[(0,s.jsx)("p",{className:"text-xs font-black text-gray-700 mb-2",children:"ãå±ãå
/ ãé£çµ¡å
"}),(0,s.jsxs)("div",{className:"space-y-2.5",children:[(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-xs text-gray-500 mb-1 block",children:"ãåå"}),(0,s.jsx)("input",{type:"text",value:k,onChange:e=>
1v(e.target.value),placeholder:"å±±ç° å¤ªé",className:"w-full px-3 py-2.5 rounded-xl text-sm border border-gray-200 focus:border-orange-400 focus:outline-none text-gray-800"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-xs text-gray-500 mb-1 block",children:"ã¡ã¼ã«ã¢ãã¬ã¹"}),(0,s.jsx)("input",{type:"email",value:w,onChange:e=>S(e.target.value),placeholder:"[email protected]",className:"w-full px-3 py-2.5 rounded-xl text-sm border border-gray-200 focus:border-orange-400 focus:outline-none text-gray-800"}),(0,s.jsx)("p",{className:"text-[10px] text-gray-500 mt-0.5",children:"â»ãæ¯è¾¼å
ã®ãæ¡å
ããã¡ãã«ãéããã¾ã"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-xs text-gray-500 mb-1 block",children:"é»è©±çªå·"}),(0,s.jsx)("input",{type:"tel",value:T,onChange:e=>_(e.target.value),placeholder:"090-1234-5678",className:"w-full px-3 py-2.5 rounded-xl text-sm border border-gray-200 focus:border-orange-400 focus:outline-none text-gray-800"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-xs text-gray-500 mb-1 block",children:"éµä¾¿çªå·"}),(0,s.jsx)("input",{type:"text",inputMode:"numeric",pattern:"[0-9-]*",value:M,onChange:e=>C(e.target.value),placeholder:"980-0000",className:"w-full px-3 py-2.5 rounded-xl text-sm border border-gray-200 focus:border-orange-400 focus:outline-none text-gray-800"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-xs text-gray-500 mb-1 block",children:"使"}),(0,s.jsx)("input",{type:"text",value:A,onChange:e=>I(e.target.value),placeholder:"å®®åçä»å°å¸ããåº...",className:"w-full px-3 py-2.5 rounded-xl text-sm border border-gray-200 focus:border-orange-400 focus:outline-none text-gray-800"})]})]})]}),(0,s.jsxs)("div",{className:"rounded-xl bg-gray-50 p-3 text-sm",children:[(0,s.jsxs)("div",{className:"flex justify-between text-gray-600 text-xs",children:[(0,s.jsx)("span",{children:"åå代é"}),(0,s.jsxs)("span",{children:["\xa5",D.toLocaleString()]})]}),(0,s.jsxs)("div",{className:"flex justify-between text-gray-600 text-xs mt-1",children:[(0,s.jsx)("span",{children:"éæ"}),(0,s.jsxs)("span",{children:["\xa5",800..toLocaleString()]})]}),(0,s.jsxs)("div",{className:"flex justify-between font-black mt-2 pt-2 border-t border-gray-200 text-base",style:{color:"#dc4c04"},children:[(0,s.jsx)("span",{children:"åè¨"}),(0,s.jsxs)("span",{children:["\xa5",z.toLocaleString()]})]})]}),(0,s.jsxs)("label",{className:"flex items-start gap-2 text-xs text-gray-700 cursor-pointer select-none",children:[(0,s.jsx)("input",{type:"checkbox",checked:P,onChange:e=>B(e.target.checked),className:"mt-0.5 w-4 h-4 accent-orange-500"}),(0,s.jsxs)("span",{children:["éæ \xa5",800..toLocaleString()," ã®å ç®ã5/12(ç«)15:00 ã¾ã§ã®éè¡æ¯è¾¼ãçºè¡¨ä¼ããç´2é±éå¾(5/19é )ãç®å®ã®çºéã«åæãã¾ãã"]})]}),R&&!R.ok&&(0,s.jsx)("div",{className:"rounded-xl bg-red-50 border border-red-200 p-3 text-xs text-red-700",children:R.message}),(0,s.jsx)("button",{onClick:K,disabled:!U,className:"w-full py-3 rounded-full text-sm font-bold text-white disabled:opacity-40 transition-all flex items-center justify-center gap-2",style:{background:"#dc4c04"},children:E?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p.A,{size:16,className:"animate-spin"}),"éä¿¡ä¸..."]}):"注æã確å®ãã"})]})]})]})}function M({item:e,onClose:t}){let[a,l]=(0,r.useState)(""),[i,o]=(0,r.useState)(""),[d,u]=(0,r.useState)(""),[b,h]=(0,r.useState)(!1),[g,f]=(0,r.useState)(!1),[y,j]=(0,r.useState)(null),N=!g&&b&&a.trim().length>0&&/^\S+@\S+\.\S+$/.test(i.trim())&&d.trim().length>0,k=async()=>{if(N){f(!0),j(null);try{let t="";try{t=new URLSearchParams(window.location.search).get("late")??""}catch{}let s=await fetch("/api/video-preorder",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({merch_id:e.id,buyer_name:a.trim(),email:i.trim(),phone:d.trim(),...t?{bypass:t}:{}})}),r=await s.json();if(!s.ok)return void j({ok:!1,message:r.error??"éä¿¡ã«å¤±æãã¾ãã"});j({ok:!0,message:r.email_sent?`ãç³è¾¼ãããã¨ããããã¾ãï¼ç·¨é宿å¾ï¼5æä¸æ¬äºå®ï¼ã«ãå
¥åã®ã¡ã¼ã«ã¢ãã¬ã¹ï¼${i.trim()}ï¼ã¸è²©å£²ãµã¤ãã®ãæ¡å
ããéããã¾ãããæ¯æãã¯ãã®æã§å¤§ä¸å¤«ã§ã
1ã`:"ãç³è¾¼ãããã¨ããããã¾ãï¼ç·¨é宿å¾ï¼5æä¸æ¬äºå®ï¼ã«ãæ¡å
ã¡ã¼ã«ããéããã¾ãããæ¯æãã¯ãã®æã§å¤§ä¸å¤«ã§ãã"})}catch{j({ok:!1,message:"éä¿¡ã¨ã©ã¼ãçºçãã¾ãã"})}finally{f(!1)}}};return(0,s.jsxs)(n.P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-end sm:items-center justify-center",children:[(0,s.jsx)("div",{className:"absolute inset-0 bg-black/60 backdrop-blur-sm",onClick:t}),(0,s.jsxs)(n.P.div,{initial:{y:40,opacity:0},animate:{y:0,opacity:1},exit:{y:40,opacity:0},className:"relative bg-white rounded-t-3xl sm:rounded-3xl w-full sm:max-w-md max-h-[90vh] overflow-y-auto",children:[(0,s.jsx)("button",{onClick:t,className:"absolute top-3 right-3 z-10 w-9 h-9 rounded-full bg-gray-100 hover:bg-gray-200 flex items-center justify-center",children:(0,s.jsx)(x.A,{size:18})}),(0,s.jsxs)("div",{className:"p-5 pb-3",style:{background:"linear-gradient(135deg,#6366f1,#8b5cf6)"},children:[(0,s.jsxs)("div",{className:"flex items-center gap-2 mb-1",children:[(0,s.jsx)(c.A,{size:16,className:"text-white"}),(0,s.jsx)("span",{className:"text-[11px] font-black tracking-widest text-white/90",children:"VIDEO äºåäºç´"})]}),(0,s.jsx)("h3",{className:"text-lg font-black text-white leading-tight",children:e.name}),(0,s.jsx)("div",{className:"mt-2 inline-flex items-center gap-2 rounded-full px-3 py-1 text-xs font-black",style:{background:"rgba(255,255,255,0.95)",color:"#6366f1"},children:(0,s.jsxs)("span",{children:["\xa5",e.price.toLocaleString()," (ãæ¯æãã¯å¾æ¥)"]})})]}),y?.ok?(0,s.jsxs)("div",{className:"p-6 text-center",children:[(0,s.jsx)(m.A,{size:48,className:"mx-auto text-green-500 mb-3"}),(0,s.jsx)("p",{className:"font-bold text-gray-800",children:"äºåäºç´ãæ¿ãã¾ãã!"}),(0,s.jsx)("p",{className:"text-xs text-gray-600 mt-2 leading-relaxed",children:y.message}),(0,s.jsx)("button",{onClick:t,className:"mt-5 px-6 py-2.5 rounded-full text-sm font-bold text-white",style:{background:"#6366f1"},children:"éãã"})]}):(0,s.jsxs)("div",{className:"p-5 space-y-3",children:[(0,s.jsxs)("div",{className:"rounded-xl p-3 text-[12px] leading-relaxed",style:{background:"#f5f3ff",border:"1px solid rgba(99,102,241,0.3)",color:"#555"},children:[(0,s.jsx)("p",{className:"font-black text-purple-700 mb-1.5",children:"\uD83D\uDCF9 æµã"}),(0,s.jsxs)("ol",{className:"list-decimal pl-4 space-y-0.5",children:[(0,s.jsx)("li",{children:"ãã®ãã©ã¼ã ã§ãäºç´ï¼ç¡æï¼"}),(0,s.jsx)("li",{children:"5æä¸æ¬é ã«è²©å£²ãµã¤ãã®ãæ¡å
ã¡ã¼ã«"}),(0,s.jsx)("li",{children:"ãã®æã« \xa53,000 ã§ãè³¼å
¥ â è¦è´/ãã¦ã³ãã¼ã"})]}),(0,s.jsx)("p",{className:"mt-1.5 text-[11px]",children:"å仿é: 5/19(ç«) 23:59"})]}),(0,s.jsxs)("div",{className:"rounded-xl p-3 text-[11px] leading-relaxed",style:{background:"#eff6ff",border:"1px solid rgba(59,130,246,0.3)",color:"#1e3a8a"},children:[(0,s.jsx)("p",{className:"font-bold mb-1",children:"\uD83D\uDCF1 è¦è´æ¹æ³ã«ã¤ãã¦"}),(0,s.jsxs)("ul",{className:"list-disc pl-4 space-y-0.5",children:[(0,s.jsxs)("li",{children:["ãææã¡ã®",(0,s.jsx)("strong",{children:"ã¹ãã¼ããã©ã³ã»ã¿ãã¬ããã»PC"}),"ã«ãã¦ã³ãã¼ããã¦ãè¦è´ããã ãã¾ã"]}),(0,s.jsxs)("li",{children:["ãã¬ãã«ç¹ãã§ï¼HDMI/AirPlay/Chromecastçï¼",(0,s.jsx)("strong",{children:"大ç»é¢ã§ã"}),"ãæ¥½ãã¿ããã ãã¾ã"]}),(0,s.jsx)("li",{children:"è³¼å
¥å¾ã¯ä½åº¦ã§ãè¦è´å¯è½ã§ã"})]})]}),(0,s.jsxs)("div",{className:"rounded-xl p-3 text-[11px] leading-relaxed",style:{background:"#fef2f2",border:"1px solid rgba(220,76,4,0.3)",color:"#7f1d1d"},children:[(0,s.jsx)("p",{className:"font-bold mb-1",children:"\uD83D\uDC68â\uD83D\uDC69â\uD83D\uDC67 ãå®¶æéã§ã®å
±æã«ã¤ãã¦"}),(0,s.jsxs)("p",{children:[(0,s.jsx)("strong",{children:"åå±
ã®ãå®¶æéã§ã®å
±æã¯OK"}),"ã§ãããå®¶æã¿ããªã§æãåºãæ¯ãè¿ã£ã¦ãã ããã",(0,s.jsx)("br",{}),"ãã ããSNSæç¨¿ãåç»ãµã¤ãã¸ã®ã¢ãããã¼ããªã©",(0,s.jsx)("strong",{children:"å¤é¨ã¸ã®æµåºã¯ãé æ
®ãã ãã"}),"ã",(0,s.jsx)("br",{}),(0,s.jsxs)("span",{className:"block mt-1.5",children:["ã親æã®æ¹ã»é æ¹ã®ãç¥ç¶æ¯æ§ãªã© ",(0,s.jsx)("strong",{children:"å¥ä¸å¸¯ã®æ¹"})," ã«ãã覧ããã ãããå ´åã¯ã ãææ°ã§ãã ",(0,s.jsx)("strong",{children:"å¥éãã¼ã¿ããè³¼å
¥"})," ããã ããã¨å¤§å¤å©ããã¾ã \uD83D\uDE4F"]}),(0,s.jsx)("span",{className:"block mt-1.5 text-[10px] opacity-80",children:"â»æ åã«ã¯ã¦ã©ã¼ã¿ã¼ãã¼ã¯ï¼é»åéããï¼ã¨è³¼å
¥è
è奿
å ±ãåãè¾¼ã¾ãã¦ãããå¤é¨æµåºæã«è¿½è·¡å¯è½ãªä»çµã
1¿ã§ããåºæ¼è
ã»é¢ä¿è
ã®ãã©ã¤ãã·ã¼ä¿è·ã«ãååããé¡ããããã¾ãã"})]})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-xs text-gray-500 mb-1 block font-semibold",children:"ãåå"}),(0,s.jsx)("input",{type:"text",value:a,onChange:e=>l(e.target.value),placeholder:"å±±ç° å¤ªé",className:"w-full px-3 py-2.5 rounded-xl text-sm border border-gray-200 focus:border-purple-400 focus:outline-none text-gray-800"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-xs text-gray-500 mb-1 block font-semibold",children:"ã¡ã¼ã«ã¢ãã¬ã¹"}),(0,s.jsx)("input",{type:"email",value:i,onChange:e=>o(e.target.value),placeholder:"[email protected]",className:"w-full px-3 py-2.5 rounded-xl text-sm border border-gray-200 focus:border-purple-400 focus:outline-none text-gray-800"}),(0,s.jsx)("p",{className:"text-[10px] text-gray-500 mt-0.5",children:"â»è²©å£²ãµã¤ãã®ãæ¡å
ããã¡ãã«ãéããã¾ã"})]}),(0,s.jsxs)("div",{children:[(0,s.jsx)("label",{className:"text-xs text-gray-500 mb-1 block font-semibold",children:"é»è©±çªå·"}),(0,s.jsx)("input",{type:"tel",value:d,onChange:e=>u(e.target.value),placeholder:"090-1234-5678",className:"w-full px-3 py-2.5 rounded-xl text-sm border border-gray-200 focus:border-purple-400 focus:outline-none text-gray-800"})]}),(0,s.jsxs)("label",{className:"flex items-start gap-2 text-xs text-gray-700 cursor-pointer select-none pt-1",children:[(0,s.jsx)("input",{type:"checkbox",checked:b,onChange:e=>h(e.target.checked),className:"mt-0.5 w-4 h-4 accent-purple-500"}),(0,s.jsx)("span",{children:"åå±
å®¶æä»¥å¤ã¸ã®å
±æã»SNSçã¸ã®è»¢è¼ãããªããã¨ãã¦ã©ã¼ã¿ã¼ãã¼ã¯ï¼é»åéããï¼å¦çã«åæãã¾ãã"})]}),y&&!y.ok&&(0,s.jsx)("div",{className:"rounded-xl bg-red-50 border border-red-200 p-3 text-xs text-red-700",children:y.message}),(0,s.jsx)("button",{onClick:k,disabled:!N,className:"w-full py-3 rounded-full text-sm font-bold text-white disabled:opacity-40 transition-all flex items-center justify-center gap-2",style:{background:"#6366f1"},children:g?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(p.A,{size:16,className:"animate-spin"}),"éä¿¡ä¸..."]}):"äºç´ãã (5/19ã¾ã§)"})]})]})]})}let C=[/^BW5/i,/BW5/i,/^BOOM\s*ã·ã°ããã£ã¼/i,/^(BM|<BM>)\s*ãã§ã«ã/i,/ã·ã°ããã£ã¼Tã·ã£ã/i,/ãã§ã«ããã´ãã£ãã/i,/ãããã¼ã/i,/ããããã·ã¼ã«/i,/ãã©ãã©ã·ã¼ã«/i,/BOOM\s*WOP/i];function A(e){return C.some(t=>t.test(e))}let I=new Set([0x8959a5d]);function P(){let[e,t]=(0,r.useState)([]),[a,l]=(0,r.useState)(!1);if((0,r.useEffect)(()=>{fetch("/api/base-products").then(e=>e.ok?e.json():null).then(e=>{if(e?.products){let a=e.products.filter(e=>!I.has(e.item_id));a.sort((e,t)=>{let a=A(e.title),s=A(t.title);return a&&!s?-1:!a&&s?1:0}),t(a)}}).catch(()=>{}).finally(()=>l(!0))},[]),!a)return(0,s.jsx)("div",{className:"mb-5 rounded-2xl overflow-hidden animate-pulse",style:{background:"linear-gradient(135deg, rgba(220,76,4,0.10), rgba(242,122,26,0.05))",border:"1px solid rgba(242,122,26,0.30)",minHeight:"260px"}});let n="https://nitroash.thebase.in/categories/7331140?openExternalBrowser=1",i=e=>e?e.includes("?")?`${e}&openExternalBrowser=1`:`${e}?openExternalBrowser=1`:e;return 0===e.length?(0,s.jsx)("a",{href:n,target:"_blank",rel:"noopener noreferrer",className:"block mb-4 rounded-2xl overflow-hidden",style:{background:"linear-gradient(135deg, rgba(220,76,4,0.25), rgba(242,122,26,0.15))",border:"1px solid rgba(242,122,26,0.5)"},children:(0,s.jsxs)("div",{className:"px-4 py-3 flex items-center gap-3",children:[(0,s.jsx)("div",{className:"w-12 h-12 rounded-xl flex items-center justify-center text-2xl",style:{background:"rgba(255,255,255,0.1)"},children:"\uD83D\uDECD"}),(0,s.jsxs)("div",{className:"flex-1",children:[(0,s.jsx)("div",{className:"text-[10px] tracking-widest text-white/70 uppercase font-bold",children:"ONLINE STORE"}),(0,s.jsx)("div",{className:"text-sm font-black text-white",children:"BW5 ç¹éãã¼ã¸ã§ç¶ç¶è²©å£²ä¸"}),(0,s.jsx)("div",{className:"text-[10px] text-white/60 mt-0.5",children:"å販ã»è¿½å 販売ã¯ãã¡ããã"})]}),(0,s.jsx)("div",{className:"text-white/70",children:"â"})]})}):(0,s.jsx)("div",{className:"mb-5",children:(0,s.jsxs)("div",{className:"rounded-2xl overflow-hidden",style:{background:"linear-gradient(135deg, rgba(220,76,4,0.20), rgba(242,122,26,0.10))",border:"1px solid rgba(242,122,26,0.5)"},children:[(0,s.jsx)("div",{className:"px-4 pt-3 pb-2 flex items-center gap-2",children:(0,s.jsx)("div",{className:"text-[10px] tracking-widest text-orange-200/90 font-bold",children:"\uD83D\uDECD NITROASH STORE â BW5 + ã¢ã¼ã«ã¤ã"})}),(0,s.jsx)("a",{href:n,target:"_blank",rel:"noopener noreferrer external",onClick:e=>{e.preventDefault(),window.open(n,"_blank","noopener,noreferrer")},className:"block mx-3 mb-3 rounded-xl overflow-hidden",style:{background:"linear-gradient(135deg, rgba(255,255,255,0.22), rgba(255,255,255,0.10))",border:"1px solid rgba(255,255,255,0.30)"},children:(0,s.jsxs)("div",{className:"px-3 py-2.5 flex items-center gap-2",children:[(0,s.jsx)("span",{className:"text-lg",children:"\uD83D\uDCE6"}),(0,s.jsxs)("div",{className:"flex-1 min-w-0",children:[(0,s.jsx)("div",{className:"text-[12px] font-black text-white",children:"ã¾ã¨ãã¦è²·ããªã BW5 ç¹éãã¼ã¸"}),(0,s.jsx)("div",{className:"text-[10px] text-white/70 mt-0.5",children:"è¤æ°ååãä¸åº¦ã«ã«ã¼ãã¸ã»éæç¯ç´"})]}),(0,s.jsx)("div",{className:"text-white text-base",children:"â"})]})}),(0,s.jsx)("div",{className:"grid grid-cols-2 gap-2 px-3 pb-3",children:e.map(e=>(0,s.jsxs)("a",{href:i(e.url),target:"_blank",rel:"noopener noreferrer external",onClick:t=>{t.preventDefault(),window.open(i(e.url),"_blank","noopener,noreferrer")},className:"block rounded-xl overflow-hidden bg-white/5 border border-white/10 hover:bg-white/10 transition-colors",children:[(0,s.jsxs)("div",{className:"relative w-full",style:{aspectRatio:"1 / 1",background:"rgba(0,0,0,0.3)"},children:[e.image_url?(0,s.jsx)("img",{src:e.image_url,alt:e.title,className:"w-full h-full object-cover"}):(0,s.jsx)("div",{className:"w-full h-full flex items-center justify-center text-3xl",children:"\uD83D\uDECD"}),e.sold_out&&(0,s.jsx)("div",{className:"absolute inset-0 flex items-center justify-center bg-black/55",children:(0,s.jsx)("span",{className:"text-xs font-black text-white tracking-widest",children:"SOLD OUT"})}),e.on_sale&&!e.sold_out&&(0,s.jsx)("span",{className:"absolute top-1.5 left-1.5 text-[9px] font-black tracking-wider px-1.5 py-0.5 rounded",style:{background:"linear-gradient(135deg, #ef4444 0%, #f97316 100%)",color:"white",boxShadow:"0 2px 6px rgba(239,68,68,0.5)"},children:"SALE"})]}),(0,s.jsxs)("div",{className:"px-2.5 py-2",children:[(0,s.jsx)("div",{className:"text-[11px] font-bold text-white truncate",children:e.title}),(0,s.jsxs)("div",{className:"flex items-center justify-between mt-1",children:[(0,s.jsx)("span",{className:"text-[12px] font-black text-orange-300 flex items-baseline gap-1",children:e.on_sale&&e.proper_price?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("span",{className:"text-[10px] text-white/40 line-through font-normal",children:["\xa5",e.proper_price.toLocaleStr
1ing()]}),(0,s.jsxs)("span",{children:["\xa5",e.price.toLocaleString()]})]}):(0,s.jsxs)("span",{children:["\xa5",e.price.toLocaleString()]})}),!e.sold_out&&(0,s.jsx)("span",{className:"text-[9px] px-1.5 py-0.5 rounded-full font-bold",style:{background:"rgba(255,255,255,0.15)",color:"white"},children:"è³¼å
¥ãã â"})]})]})]},e.item_id))})]})})}let B=new Date("2026-05-19T23:59:00+09:00").getTime();function E(){let[e,t]=(0,r.useState)(null),[a,l]=(0,r.useState)(!1),[n,i]=(0,r.useState)(Date.now());if((0,r.useEffect)(()=>{fetch("/api/base-products").then(e=>e.ok?e.json():null).then(e=>{if(!e?.products)return;let a=e.products.find(e=>0x8959a5d===e.item_id);a&&t(a)}).catch(()=>{}).finally(()=>l(!0))},[]),(0,r.useEffect)(()=>{let e=setInterval(()=>i(Date.now()),6e4);return()=>clearInterval(e)},[]),!a)return(0,s.jsx)("div",{className:"rounded-2xl overflow-hidden relative animate-pulse",style:{background:"linear-gradient(135deg, rgba(31,41,55,0.6) 0%, rgba(75,85,99,0.4) 100%)",minHeight:"165px",border:"1px solid rgba(255,255,255,0.10)"}});if(!e)return null;let o=!1;try{o="1"===new URLSearchParams(window.location.search).get("expired")}catch{}let c=o||B<=n,d=`${e.url}${e.url.includes("?")?"&":"?"}openExternalBrowser=1`;return(0,s.jsxs)("a",{href:d,target:"_blank",rel:"noopener noreferrer external",onClick:e=>{e.preventDefault(),window.open(d,"_blank","noopener,noreferrer")},className:"block rounded-2xl overflow-hidden relative",style:{background:"linear-gradient(135deg, #1f2937 0%, #374151 50%, #4b5563 100%)",boxShadow:"0 8px 24px rgba(31,41,55,0.45), 0 4px 8px rgba(0,0,0,0.30)",border:"1px solid rgba(255,255,255,0.10)"},children:[(0,s.jsx)("div",{className:"absolute top-0 left-0 right-0",style:{height:"3px",background:"linear-gradient(90deg, #f59e0b 0%, #ef4444 50%, #f59e0b 100%)"}}),(0,s.jsxs)("div",{className:"relative flex items-stretch",children:[(0,s.jsxs)("div",{className:"flex-1 px-4 pt-4 pb-4 min-w-0",children:[(0,s.jsx)("div",{className:"text-[9px] tracking-[0.25em] text-orange-300 font-bold mb-1",children:"MADE TO ORDER \xb7 åæ³¨è²©å£²"}),(0,s.jsxs)("div",{className:"text-[18px] font-black text-white leading-tight mb-0.5",children:["ãªãã£ã·ã£ã«T",(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"text-white",children:"[ãã§ã¼ãã°ã¬ã¼]"})]}),(0,s.jsx)("div",{className:"inline-block text-[9px] font-black px-2 py-0.5 rounded mb-1.5",style:{background:"linear-gradient(90deg, #f59e0b, #ef4444)",color:"#fff",letterSpacing:"0.05em"},children:"\uD83D\uDD25 ã¤ã³ãã©çç¨ã«ã©ã¼"}),(0,s.jsxs)("div",{className:"text-[10px] text-white/85 mb-2 leading-snug",children:["\xa53,500 ï¼ Sã»Mã»Lã»XLã»XXL",(0,s.jsx)("br",{}),(0,s.jsx)("span",{className:"text-orange-300",children:"5ææ«ã6æé ãæ¸¡ã"})]}),(0,s.jsxs)("div",{className:"inline-flex items-center gap-1.5 px-3 py-1 rounded-full text-[11px] font-black",style:{background:c?"#6b7280":"#fff",color:c?"#fff":"#dc2626",boxShadow:"0 2px 8px rgba(0,0,0,0.20)"},children:[(0,s.jsx)("span",{children:"â°"}),(0,s.jsx)("span",{children:c?"åä»çµäº":`5/19ç· å \xb7 ${function(e){let t=B-e;if(t<=0)return"åä»çµäº";let a=Math.floor(t/864e5),s=Math.floor(t%864e5/36e5);return a>0?`ã㨠${a}æ¥${s>0?` ${s}æé`:""}`:`ã㨠${s}æé`}(n)}`})]})]}),(0,s.jsx)("div",{className:"relative shrink-0 self-stretch",style:{width:"115px"},children:(0,s.jsx)("img",{src:"/merch/official_grey.png",alt:"BW5 ãªãã£ã·ã£ã«Tã·ã£ã ãã§ã¼ãã°ã¬ã¼",className:"absolute",style:{right:"-8px",top:"50%",transform:"translateY(-50%) rotate(3deg)",width:"130px",height:"auto",filter:"drop-shadow(0 8px 14px rgba(0,0,0,0.5)) drop-shadow(0 3px 5px rgba(245,158,11,0.25))"}})})]})]})}}}]);
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.