PageSourceSearch

https://nikoyaka-sanchokuarcade.com/_next/static/chunks/pages/prod…?dpl=dpl_4bes9Hei8MyJB5VuQgDikkELNbFU

js nikoyaka-sanchokuarcade.com collected 2026-09-25 10:35:43 UTC 31,079 bytes, 73 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3713],{5309:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>I});var o=r(37876),a=r(14232),s=r(31075),n=r(59036),l=r(72699);let i=(0,r(14214).A)("list",[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]]);var d=r(27403),c=r(77544),u=r(28525),m=r(49389),p=r(48230),x=r.n(p),g=r(89099),h=r(75784),b=r(36751),f=r(20596);let w=`
2  query getProductsVendors($first: Int!, $after: String) {
3    products(first: $first, after: $after, sortKey: BEST_SELLING) {
4      pageInfo {
5        hasNextPage
6        endCursor
7      }
8      edges {
9        node {
10          vendor
11        }
12      }
13    }
14  }
15`,k=`
16  query getCollections($first: Int!, $after: String) {
17    collections(first: $first, after: $after) {
18      pageInfo {
19        hasNextPage
20        endCursor
21      }
22      edges {
23        node {
24          id
25          title
26          handle
27          description
28          image {
29            url
30            altText
31          }
32          products(first: 50) {
33            edges {
34              node {
35                id
36                title
37                handle
38                vendor
39                tags
40                productType
41                totalInventory
42                prefecture: metafield(namespace: "custom", key: "_production_area") {
43                  value
44                }
45                priceRange {
46                  minVariantPrice {
47                    amount
48                    currencyCode
49                  }
50                }
51                images(first: 5) {
52                  edges {
53                    node {
54                      url
55                      altText
56                    }
57                  }
58                }
59              }
60            }
61          }
62        }
63      }
64    }
65  }
66`;async function j(){let e=[],t=[],r=!0,o=null;for(;r;){let t=await (0,f.$K)(w,{first:250,after:o});if(t.errors)throw Error(t.errors[0].message);let a=t.data.products;e.push(...a.edges),r=a.pageInfo.hasNextPage,o=a.pageInfo.endCursor}let a=!0,s=null;for(;a;){let e=await (0,f.$K)(k,{first:250,after:s});if(e.errors)throw Error(e.errors[0].message);let r=e.data.collections;t.push(...r.edges),a=r.pageInfo.hasNextPage,s=r.pageInfo.endCursor}return{products:{edges:e},collections:{edges:t}}}var y=r(67467),v=r(18847),N=r.n(v),C=r(55305),_=r(42408);let A=N()(()=>Promise.all([r.e(5334),r.e(7391),r.e(7544),r.e(8860),r.e(6165),r.e(5670)]).then(r.bind(r,89693)),{loadableGenerated:{webpack:()=>[89693]},ssr:!1}),$={北海道:[43.2203,142.8634],青森県:[40.8222,140.7474],岩手県:[39.702,141.1525],宮城県:[38.2682,140.8694],秋田県:[39.7165,140.1026],山形県:[38.2554,140.3396],福島県:[37.7608,140.4733],茨城県:[36.3414,140.4468],栃木県:[36.5657,139.8836],群馬県:[36.3911,139.0608],埼玉県:[35.8569,139.6489],千葉県:[35.6047,140.1233],東京都:[35.6895,139.6917],神奈川県:[35.4478,139.6425],新潟県:[37.9162,139.0364],富山県:[36.6953,137.2113],石川県:[36.5947,136.6256],福井県:[36.0641,136.2195],山梨県:[35.6639,138.5683],長野県:[36.6513,138.1812],岐阜県:[35.4233,136.7606],静岡県:[34.9771,138.3831],愛知県:[35.1815,136.9064],三重県:[34.7303,136.5086],滋賀県:[35.0045,135.8686],京都府:[35.0116,135.768],大阪府:[34.6937,135.5022],兵庫県:[34.6913,135.183],奈良県:[34.6851,135.8048],和歌山県:[34.226,135.1675],鳥取県:[35.5011,134.2351],島根県:[35.4723,133.0505],岡山県:[34.6618,133.9344],広島県:[34.3853,132.4553],山口県:[34.1859,131.4714],徳島県:[34.0704,134.5548],香川県:[34.3401,134.0434],愛媛県:[33.8416,132.7661],高知県:[33.5597,133.5311],福岡県:[33.6064,130.4181],佐賀県:[33.2635,130.3009],長崎県:[32.7503,129.8777],熊本県:[32.8031,130.7079],大分県:[33.2396,131.6092],宮崎県:[31.9111,131.4239],鹿児島県:[31.5966,130.5571],沖縄県:[26.2124,127.6809]},z=()=>(Math.random()-.5)*.8;function M({producers:e,onCloseMap:t}){let r=(0,a.useRef)(),[s,n]=(0,a.useState)(!1),[l,i]=(0,a.useState)(null),[d,c]=(0,a.useState)(!1);(0,a.useEffect)(()=>{n(!0),r.current&&(r.current.controls().autoRotate=!1,setTimeout(()=>
66{r.current.pointOfView({lat:36.5,lng:138.5,altitude:.8},2e3),c(!0)},600))},[s]);let u=(0,a.useMemo)(()=>e.map(e=>{let t=36.5,r=138.5;if(e.location){for(let[o,a]of Object.entries($))if(e.location.includes(o)||e.location.includes(o.replace(/(都|道|府|県)$/,""))){t=a[0],r=a[1];break}}return{...e,lat:t+z(),lng:r+z(),size:.5*Math.random()+.5,color:"営業中"===e.status?"#fbbf24":"#ef4444"}}),[e]);return s?(0,o.jsxs)("div",{className:"relative aspect-[16/9] md:aspect-[21/9] bg-emerald-950 border-4 border-emerald-900 rounded-2xl overflow-hidden shadow-[0_30px_60px_-15px_rgba(0,0,0,0.5)]",children:[(0,o.jsx)("div",{className:"absolute inset-0 z-0",children:(0,o.jsx)(A,{ref:r,globeImageUrl:"//unpkg.com/three-globe/example/img/earth-dark.jpg",bumpImageUrl:"//unpkg.com/three-globe/example/img/earth-topology.png",backgroundImageUrl:"//unpkg.com/three-globe/example/img/night-sky.png",showAtmosphere:!0,atmosphereColor:"#0f766e",atmosphereAltitude:.15,backgroundColor:"#022c22",htmlElementsData:u,htmlElement:e=>{let t=document.createElement("div"),o=l?.id===e.id;return t.innerHTML=`
67                            <div class="relative group cursor-pointer" style="transform: translate(-50%, -50%);">
68                                <!-- Pulsing Ring -->
69                                <div class="absolute inset-0 rounded-full animate-ping" style="background-color: ${e.color}; opacity: 0.4; transform: scale(1.5);"></div>
70                                <!-- Core Node -->
71                                <div class="w-4 h-4 rounded-full border-2 border-white shadow-[0_0_15px_${e.color}] transition-transform duration-300 ${o?"scale-150":"group-hover:scale-125"}" style="background-color: ${e.color};"></div>
72                            </div>
73                        `,t.onclick=()=>{i(e),r.current&&r.current.pointOfView({lat:e.lat,lng:e.lng,altitude:.3},1e3)},t},arcsData:u.length>1?u.slice(1,5).map(e=>({startLat:u[0].lat,startLng:u[0].lng,endLat:e.lat,endLng:e.lng,color:["#fbbf24","rgba(251,191,36,0)"]})):[],arcColor:e=>e.color,arcDashLength:.4,arcDashGap:.2,arcDashAnimateTime:2e3,arcsTransitionDuration:0,arcStroke:.5})}),(0,o.jsxs)("div",{className:"absolute top-6 left-6 z-10 pointer-events-none",children:[(0,o.jsxs)("h3",{className:"font-serif text-3xl md:text-5xl font-black text-amber-50 drop-shadow-[0_2px_4px_rgba(0,0,0,1)] border-b-2 border-emerald-500/50 pb-2 mb-2 inline-block",children:["王国地図 ",(0,o.jsx)("span",{className:"text-xl text-emerald-400 align-super",children:"KINGDOM MAP"})]}),(0,o.jsx)("p",{className:"text-emerald-100 font-bold tracking-widest text-sm drop-shadow-md bg-black/40 px-3 py-1 rounded inline-block",children:"世界に輝く、生産者たちの黄金拠点を巡る"})]}),(0,o.jsxs)("div",{className:"absolute top-6 right-6 z-10 flex gap-4",children:[d&&(0,o.jsx)("button",{onClick:()=>{i(null),r.current?.pointOfView({lat:36.5,lng:138.5,altitude:.8},1e3)},className:"px-4 py-2 bg-emerald-800/80 hover:bg-emerald-700 text-emerald-100 backdrop-blur-md rounded-full font-bold text-xs tracking-widest border border-emerald-500/50 transition-colors shadow-lg",children:"日本列島を見渡す"}),(0,o.jsxs)("button",{onClick:t,className:"px-6 py-2 bg-amber-500 hover:bg-amber-400 text-amber-950 rounded-full font-black text-sm tracking-widest shadow-[0_5px_15px_rgba(245,158,11,0.4)] transition-all flex items-center gap-2",children:[(0,o.jsx)(C.A,{size:16})," マップを閉じる"]})]}),l&&(0,o.jsxs)("div",{className:"absolute bottom-6 left-1/2 -translate-x-1/2 w-11/12 max-w-2xl bg-black/80 backdrop-blur-xl border border-amber-500/50 rounded-2xl p-6 flex flex-col md:flex-row gap-6 shadow-[0_20px_50px_rgba(0,0,0,0.8)] animate-in fade-in slide-in-from-bottom-8",children:[(0,o.jsx)("button",{onClick:()=>i(null),className:"absolute top-3 right-3 text-white/50 hover:text-white bg-white/10 p-1 rounded-full transition-colors",children:(0,o.jsx)(C.A,{size:16})}),(0,o.jsxs)("div",{className:"w-full md:w-48 h-32 md:h-full shrink-0 overflow-hidden rounded-lg border-2 border-white/10 relative",children:[(0,o.jsx)("img",{src:l.image,className:"w-full h-full object-cover"}),(0,o.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"}),(0,o.jsx)("div",{className:"absolute bottom-2 left-2 px-2 py-0.5 bg-emerald-500 text-white text-[10px] font-black tracking-widest rounded",children:l.location})]}),(0,o.jsxs)("div",{className:"flex flex-col justify-center flex-1",children:[(0,o.jsx)("p",{className:"text-amber-400 text-sm md:text-base font-bold tracking-widest mb-1",children:l.specialty?l.specialty:l.tags?.length>0?l.tags.join(" / "):"新鮮な農産物"}),(0,o.jsx)("h4",{className:"font-serif text-2xl font-black text-white mb-3 line-clamp-1",children:l.name}),(0,o.jsx)("p",{className:"text-white/70 text-xs leading-relaxed line-clamp-2 mb-4",children:l.story}),(0,o.jsx)("div",{className:"flex gap-3",children:(0,o.jsxs)(x(),{href:`/producers/${l.id}`,className:"flex-1 text-center bg-amber-500 hover:bg-amber-400 text-amber-950 font-black py-2 rounded-lg text-sm tracking-widest transition-colors shadow-lg flex items-center justify-center gap-2",children:[(0,o.jsx)(_.A,{size:16})," 店舗を訪れる"]})})]})]})]}):(0,o.jsx)("div",{className:"aspect-[21/9] bg-emerald-950 rounded-2xl animate-pulse"})}var S=r(56687),E=r(93883);function I(){let[e,t]=(0,a.useState)([]),[r,p]=(0,a.useState)(!0),[f,w]=(0,a.useState)(null),[k,v]=(0,a.useState)("すべて"),N=["すべて","フルーツ","野菜","米・餅","加工品","その他"],[C,_]=(0,a.useState)("list"),[A,$]=(0,a.useState)(""),z=(0,g.useRouter)();a.useEffect(()=>{window.scrollTo({top:0,behavior:"smooth"})},[z.asPath]);let I={フルーツ加工品:"加工品","米・穀物":"米・餅","芋・干し芋":"野菜","卵・その他":"その他"};a.useEffect(()=>{if(z.isReady){if(z.query.category){let e=z.query.category,t=I[e]||e;N.includes(t)&&v(t)}z.query.search&&$(z.query.search)}},[z.isReady,z.query.category,z.query.search]),a.useEffect(()=>{!async function(){try{p(!0);let e=await j(),r=Array.from(new Set(e.products.edges.map(e=>e.node.vendor))),o=e.collections.edges.map(e=>e.node),a=r.map(e=>
73{let t=o.filter(t=>t.products?.edges.some(t=>t.node.vendor===e)),r=t.find(e=>["県","府","道","都"].some(t=>e.title.endsWith(t))),a=t.filter(e=>e.handle!==r?.handle&&!["フルーツ","野菜","米","餅","その他","加工品","果物"].some(t=>e.title.includes(t))).find(t=>t.title===e),s=t.flatMap(e=>e.products.edges.map(e=>e.node)).filter(t=>t.vendor===e),n=new Map;s.forEach(e=>n.set(e.id,e));let l=Array.from(n.values());if(0===l.length)return{id:encodeURIComponent(e),name:e,location:"生産地",specialty:"産直品",image:"https://images.unsplash.com/photo-1542838132-92c53300491e?q=80&w=600&h=400&auto=format&fit=crop",tags:["その他"],story:"",status:"準備中",intentions:[],products:[]};let i=l.flatMap(e=>e.tags||[]),d=Array.from(new Set(i)),c=d.includes("米・餅"),u=d.some(e=>e.includes("フルーツ")||e.includes("果物")||e.includes("桃")||e.includes("ぶどう")||e.includes("りんご")||e.includes("いちご")||e.includes("さくらんぼ")||e.includes("梨")||e.includes("柿")||e.includes("すいか")||e.includes("メロン")||e.includes("みかん")||e.includes("柑橘"))||l.some(e=>e.title?.includes("フルーツ")||e.title?.includes("さくらんぼ")||e.title?.includes("りんご")),m=d.some(e=>e.includes("野菜")||e.includes("トマト")||e.includes("サンチュ")||e.includes("芋")||e.includes("キノコ")||e.includes("きのこ")||e.includes("アスパラ"))||l.some(e=>e.title?.includes("野菜")||e.title?.includes("トマト")),p=d.some(e=>e.includes("加工品")||e.includes("ドライフルーツ")||e.includes("コンポート")||e.includes("ソース")||e.includes("干し柿")),x="その他";c?x="米・餅":p?x="加工品":u?x="フルーツ":m&&(x="野菜");let g="生産地",h=l.find(e=>e.prefecture&&e.prefecture.value);h&&((g=h.prefecture.value).endsWith("県")||g.endsWith("府")||g.endsWith("都")||g.endsWith("道")||"北海道"===g||("東京"!==g&&"京都"!==g&&"大阪"!==g&&"北海道"!==g?g+="県":"東京"===g?g+="都":("京都"===g||"大阪"===g)&&(g+="府")));let b="",f=a?.description||"",w=f.match(/所在地[::]\s*([^\s生]+)/);if(w)"生産地"===g&&(g=w[1]),f=f.replace(w[0],"").trim();else if("生産地"===g&&r)g=r.title;else{let e=f.split(/[\s ]+/);e.length>0&&e[0].includes("県")&&("生産地"===g&&(g=e[0]),f=f.replace(e[0],"").trim(),e.length>1&&e[1].includes("・")&&(b=e[1],f=f.replace(e[1],"").trim()))}let k=f.match(/(?:生産物|取扱品目|取り扱い品目)[::]\s*([^\s]+(?:・[^\s]+)*)/);if(k&&(b=k[1],f=f.replace(k[0],"").trim()),"生産地"===g){let t=`${e} ${a?.description||""} ${d.join(" ")}`;for(let e of S.T)if(t.includes(e.name)){g=e.name;break}}let j=E[e]?.farmImage||a?.image?.url;if(!j&&l.length>0){let e=["人","人物","顔","生産者","農家","代表","自身","portrait","person","畑","農園","木"],t=null;e:for(let r of l)if(r.images&&r.images.edges)for(let o of r.images.edges){let r=o.node.altText||"";if(e.some(e=>r.includes(e))){t=o.node.url;break e}}j=t||l[0]?.images?.edges?.[1]?.node?.url||l[0]?.images?.edges?.[0]?.node?.url}j||(j=(d.some(e=>e.includes("いちご")||e.includes("苺"))?"/images/crops/crop_strawberry.png":d.some(e=>e.includes("りんご")||e.includes("林檎"))?"/images/crops/crop_apple.png":d.some(e=>e.includes("桃")||e.includes("もも")||e.includes("ピーチ"))||d.some(e=>e.includes("いちじく")||e.includes("無花果"))?"/images/crops/crop_peach.png":d.some(e=>e.includes("ぶどう")||e.includes("葡萄")||e.includes("シャインマスカット"))?"/images/crops/crop_grape.png":d.some(e=>e.includes("みかん")||e.includes("柑橘")||e.includes("オレンジ"))?"/images/crops/crop_mandarin.png":d.some(e=>e.includes("メロン"))?"/images/crops/crop_melon.png":d.some(e=>e.includes("梨"))?"/images/crops/crop_pear.png":d.some(e=>e.includes("さくらんぼ")||e.includes("サクランボ"))?"/images/crops/crop_cherry.png":d.some(e=>e.includes("柿")||e.includes("かき"))?"/images/crops/crop_persimmon.png":d.some(e=>e.includes("野菜")||e.includes("トマト"))?"/images/crops/crop_vegetables.png":null)||"https://images.unsplash.com/photo-1542838132-92c53300491e?q=80&w=600&h=400&auto=format&fit=crop");let y=RegExp(`^【${e}】\\s*`);
73if(!(f=f.replace(y,""))||""===f.trim()){let t=E[e]?.philosophyPara1;f=t?t.substring(0,60)+(t.length>60?"...":""):""}return{id:a?.handle||encodeURIComponent(e),name:e,location:g,specialty:x,productsText:b,image:j,tags:[x,...d].slice(0,5),story:f,intentions:[],status:l.reduce((e,t)=>e+(t.totalInventory||0),0)>0?"営業中":"準備中",products:l.map(e=>({id:e.id,title:e.title,handle:e.handle,image:e.images?.edges[0]?.node?.url||"",price:e.priceRange?.minVariantPrice?.amount||"0"}))}});t(a)}catch(e){console.error("Failed to fetch producers:",e),w("生産者データの取得に失敗しました。時間をおいて再度お試しください。")}finally{p(!1)}}()},[]);let T=e.filter(e=>{if("にこやか産直アーケード"===e.name)return!1;let t="すべて"===k||e.tags.includes(k),r=e.name.includes(A)||e.story&&e.story.includes(A)||e.tags.some(e=>e.includes(A))||e.location&&e.location.includes(A);return t&&r}).sort((e,t)=>"営業中"===e.status&&"営業中"!==t.status?-1:+("営業中"!==e.status&&"営業中"===t.status)),P=!!A&&S.T.some(e=>A===e.name||A===`${e.name}県`||A===`${e.name}都`||A===`${e.name}道`||A===`${e.name}府`);return r?(0,o.jsxs)("div",{className:"min-h-screen bg-ng-cream flex flex-col pt-32 items-center",children:[(0,o.jsx)(s.A,{}),(0,o.jsx)(y.A,{className:"animate-spin text-ng-brown w-12 h-12 mb-4"}),(0,o.jsx)("p",{className:"text-ng-brown/60 font-serif",children:"生産者の物語を読み込んでいます..."}),(0,o.jsx)(n.A,{})]}):f?(0,o.jsxs)("div",{className:"min-h-screen bg-ng-cream flex flex-col pt-32 items-center",children:[(0,o.jsx)(s.A,{}),(0,o.jsxs)("div",{className:"bg-white p-8 border border-red-100 shadow-sm max-w-md text-center",children:[(0,o.jsx)("p",{className:"text-red-500 mb-4",children:f}),(0,o.jsx)("button",{onClick:()=>window.location.reload(),className:"text-sm font-bold text-ng-brown border-b border-ng-brown",children:"再読み込み"})]}),(0,o.jsx)(n.A,{})]}):(0,o.jsxs)("div",{className:"min-h-screen bg-ng-cream flex flex-col",children:[(0,o.jsx)(s.A,{}),(0,o.jsxs)("main",{className:"flex-1",children:[(0,o.jsxs)("section",{className:"relative h-[65vh] flex flex-col items-center justify-center overflow-hidden bg-black text-white",children:[(0,o.jsx)("img",{src:"https://images.unsplash.com/photo-1542838132-92c53300491e?q=80&w=1920&auto=format&fit=crop",alt:"生産者たち",className:"absolute inset-0 w-full h-full object-cover opacity-60",style:{objectPosition:"center 40%"}}),(0,o.jsx)("div",{className:"absolute inset-0 bg-gradient-to-b from-black/60 via-trans
73parent to-ng-cream"}),(0,o.jsx)("div",{className:"relative z-10 text-center px-4 mt-16 animate-in fade-in slide-in-from-bottom-8 duration-1000",children:(0,o.jsx)("h1",{className:"font-serif text-5xl md:text-7xl font-bold mb-6 drop-shadow-[0_4px_4px_rgba(0,0,0,0.8)] tracking-tight",children:P?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)("span",{className:"text-ng-accent",children:[A,"の"]}),(0,o.jsx)("span",{className:"text-ng-accent italic drop-shadow-[0_2px_2px_rgba(0,0,0,0.5)]",children:"生産者"})]}):(0,o.jsxs)(o.Fragment,{children:["生産者の物語を、",(0,o.jsx)("br",{}),(0,o.jsx)("span",{className:"text-ng-accent italic drop-shadow-[0_2px_2px_rgba(0,0,0,0.5)]",children:"味わう"}),"。"]})})})]}),(0,o.jsx)("section",{className:"relative z-20 -mt-24 mb-16 px-4",children:(0,o.jsx)("div",{className:"Container max-w-5xl",children:(0,o.jsxs)("div",{className:"bg-white/80 backdrop-blur-2xl rounded-3xl shadow-[0_20px_60px_-15px_rgba(0,0,0,0.1)] border border-white p-8 md:p-12 relative overflow-hidden",children:[(0,o.jsx)("div",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-full h-full bg-gradient-to-tr from-orange-50 to-green-50 opacity-50 pointer-events-none"}),(0,o.jsxs)("div",{className:"relative z-10",children:[(0,o.jsxs)("div",{className:"text-center md:mb-8 mb-6",children:[(0,o.jsx)("h2",{className:"text-2xl md:text-3xl font-serif font-bold text-ng-brown-dark mb-2",children:"生産者を探す"}),(0,o.jsx)("p",{className:"text-sm font-bold text-ng-brown/60 tracking-widest",children:"お求めの食材や産地から、こだわりの生産者に出会えます"})]}),(0,o.jsx)("div",{className:"flex flex-wrap justify-center gap-2 md:gap-3 mb-8",children:N.map(e=>(0,o.jsx)("button",{onClick:()=>v(e),className:`px-4 md:px-6 py-2 md:py-3 rounded-full font-bold text-xs md:text-sm tracking-widest transition-all duration-300 shadow-sm ${k===e?"bg-ng-brown text-white scale-105":"bg-white text-ng-brown hover:bg-ng-cream border border-ng-brown/10"}`,children:e},e))}),(0,o.jsxs)("div",{className:"max-w-xl mx-auto flex items-center bg-white rounded-full border border-ng-brown/10 shadow-sm p-1",children:[(0,o.jsx)("div",{className:"pl-4 text-ng-brown/40",children:(0,o.jsx)(l.A,{size:20})}),(0,o.jsx)("input",{type:"text",placeholder:"生産者名、ストーリーから検索...",value:A,onChange:e=>$(e.target.value),className:"flex-1 px-4 py-3 bg-transparent border-none focus:outline-none focus:ring-0 text-ng-brown font-bold placeholder:text-ng-brown/30"}),A&&(0,o.jsx)("button",{onClick:()=>$(""),className:"pr-4 text-xs font-bold text-ng-brown/40 hover:text-ng-brown",children:"クリア"})]})]})]})})}),(0,o.jsx)("section",{className:"pb-24",children:(0,o.jsxs)("div",{className:"Container",children:[(0,o.jsxs)("div",{className:"flex flex-col md:flex-row justify-between items-center mb-12 gap-6",children:[(0,o.jsxs)("div",{children:[!P&&(0,o.jsx)("h2",{className:"font-serif text-2xl md:text-3xl font-bold text-ng-brown-dark mb-2",children:"すべて"===k?"すべての生産者":`${k}の生産者`}),(0,o.jsxs)("p",{className:"text-sm text-ng-brown/60 font-bold tracking-widest",children:[(0,o.jsxs)("span",{className:"text-emerald-700",children:["営業中 ",T.filter(e=>"営業中"===e.status).length,"名"]}),(0,o.jsx)("span",{className:"mx-2 opacity-30",children:"|"}),(0,o.jsxs)("span",{children:["準備中 ",T.filter(e=>"準備中"===e.status).length,"名"]})]})]}),(0,o.jsxs)("div",{className:"flex bg-white border border-ng-brown/10 rounded-full p-1 shadow-sm",children:[(0,o.jsxs)("button",{onClick:()=>_("list"),className:`p-3 rounded-full transition-all flex items-center gap-2 text-sm font-bold ${"list"===C?"bg-ng-brown text-white shadow-md":"text-ng-brown/40 hover:text-ng-brown"}`,children:[(0,o.jsx)(i,{size:18})," ",(0,o.jsx)("span",{className:"hidden md:inline",children:"ポスター表示"})]}),(0,o.jsxs)("button",{onClick:()=>_("map"),className:`p-3 rounded-full transition-all flex items-center gap-2 text-sm font-bold ${"map"===C?"bg-emerald-800 text-white shadow-md":"text-ng-brown/40 hover:text-ng-brown"}`,children:[(0,o.jsx)(d.A,{size:18})," ",(0,o.jsx)("span",{className:"hidden md:inline",children:"地図で探す"})]})]})]}),"list"===C?(0,o.jsxs)("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8",children:[(0,o.jsx)(h.N,{mode:"popLayout",children:T.map((e,t)=>{let r,a;return(0,o.jsx)(b.P.div,{layout:!0,initial:{opacity:0,y:30}
73,animate:{opacity:1,y:0},exit:{opacity:0,scale:.95},transition:{duration:.5,delay:.05*t},children:(0,o.jsxs)(x(),{href:`/producers/${e.id}`,className:"group relative block h-[480px] rounded-2xl overflow-hidden shadow-lg hover:shadow-[0_20px_40px_-10px_rgba(0,0,0,0.3)] transition-all duration-500 bg-ng-brown",children:[(0,o.jsx)("img",{src:e.image,className:"absolute inset-0 w-full h-full object-cover transition-transform duration-1000 group-hover:scale-110 opacity-90 group-hover:opacity-100",alt:e.name}),(0,o.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/95 via-black/40 to-transparent transition-opacity duration-500"}),(0,o.jsx)("div",{className:"absolute inset-0 bg-black/20 group-hover:bg-transparent transition-colors duration-500 z-0"}),(0,o.jsxs)("div",{className:"absolute top-4 right-4 z-10 flex gap-2",children:[(0,o.jsx)("div",{className:"bg-white/20 backdrop-blur-md px-3 py-1 rounded-full border border-white/20",children:(0,o.jsx)("span",{className:"text-[10px] font-black text-white tracking-widest",children:e.location})}),(0,o.jsx)("div",{className:`backdrop-blur-md px-3 py-1 rounded-full border ${"営業中"===e.status?"bg-emerald-500/80 border-emerald-300/50":"bg-red-500/80 border-red-300/50"}`,children:(0,o.jsxs)("span",{className:"text-[10px] font-black tracking-widest text-white",children:["● ",e.status]})})]}),(0,o.jsxs)("div",{className:"absolute inset-x-0 bottom-0 p-8 z-10 flex flex-col justify-end h-full",children:[(0,o.jsxs)("p",{className:"text-xs font-bold text-ng-accent tracking-tighter flex items-center gap-1 mb-2",style:{textShadow:"0px 0px 3px #000, 0px 0px 6px #000, 0px 0px 12px #000, 1px 2px 4px rgba(0,0,0,1)"},children:[(0,o.jsx)(c.A,{size:14})," ",e.specialty]}),(0,o.jsx)("h3",{className:"font-serif text-3xl font-bold mb-3 leading-tight tracking-wider !text-white group-hover:!text-white transition-colors",style:{textShadow:"0px 0px 4px #000, 0px 0px 8px #000, 0px 0px 12px #000, 0px 0px 20px #000, 2px 4px 10px rgba(0,0,0,1)"},children:e.name}),(0,o.jsxs)("div",{className:"mb-4 space-y-1",children:["生産地"!==e.location&&(0,o.jsxs)("p",{className:"text-sm font-bold text-white/95 flex items-center gap-1.5",style:{textShadow:"0px 0px 3px #000, 0px 0px 6px #000, 0px 0px 12px #000, 1px 2px 4px rgba(0,0,0,1)"},children:[(0,o.jsx)(u.A,{size:14,className:"text-ng-accent"})," ",e.location]}),(r=!!e.productsText?.trim(),a=e.tags?.filter(t=>t!==e.specialty&&!["B2C","B2B","業務用","一般","にこやか産直アーケード"].includes(t)).join(" / "),r||a?(0,o.jsxs)("p",{className:"text-sm font-bold text-white/95 flex items-center gap-1.5",style:{textShadow:"0px 0px 3px #000, 0px 0px 6px #000, 0px 0px 12px #000, 1px 2px 4px rgba(0,0,0,1)"},children:[(0,o.jsx)(c.A,{size:14,className:"text-ng-accent"})," 取扱品目:",r?e.productsText.trim():a]}):null)]}),e.story&&e.story.length>5&&(0,o.jsx)("p",{className:"text-sm font-bold text-white/90 leading-relaxed mb-6 line-clamp-2",style:{textShadow:"0px 0px 3px #000, 0px 0px 6px #000, 0px 0px 12px #000, 1px 2px 4px rgba(0,0,0,1)"},children:e.story}),e.products&&e.products.length>0&&(0,o.jsxs)("div",{className:"pt-6 border-t border-white/20 flex gap-3 overflow-hidden mt-auto",children:[e.products.slice(0,3).map(e=>(0,o.jsx)("div",{className:"w-14 h-14 rounded-lg overflow-hidden relative border border-white/20 shrink-0 bg-white/10 backdrop-blur-sm group/prod",children:(0,o.jsx)("img",{src:e.image,className:"w-full h-full object-cover transition-transform duration-500 group-hover/prod:scale-110",alt:e.title})},e.id)),(0,o.jsx)("div",{className:"flex-1 flex items-center justify-end",children:(0,o.jsxs)("span",{className:"text-xs font-bold text-white flex items-center gap-1 group-hover:text-ng-accent transition-colors drop-shadow-md bg-black/40 px-3 py-2 rounded-full backdrop-blur-md border border-white/10",children:["物語と品を見る ",(0,o.jsx)(m.A,{size:14})]})})]})]})]})},e.id)})}),0===T.length&&(0,o.jsxs)("div",{className:"col-span-full py-20 text-center",children:[(0,o.jsx)("p",{className:"text-ng-brown/40 font-bold mb-2",children:"該当する生産者が見つかりません"}),(0,o.jsx)("button",{onClick:()=>{v(""),$("")},className:"text-sm text-ng-brown border-b border-ng-brown pb-1 font-bold",children:"条件をクリアする"})]})]}):(0,o.jsx)("div",{className:"animate-in fade-in zoom-in duration-700",children:(0,o.jsx)(M,{producers:T,onCloseMap:()=>_("list")})})]})})]}),(0,o.jsx)(n.A,{})]})}},27403:(e,t,r)=>{"use strict";r.d(t,{A:()=>
73o});let o=(0,r(14214).A)("map",[["path",{d:"M14.106 5.553a2 2 0 0 0 1.788 0l3.659-1.83A1 1 0 0 1 21 4.619v12.764a1 1 0 0 1-.553.894l-4.553 2.277a2 2 0 0 1-1.788 0l-4.212-2.106a2 2 0 0 0-1.788 0l-3.659 1.83A1 1 0 0 1 3 19.381V6.618a1 1 0 0 1 .553-.894l4.553-2.277a2 2 0 0 1 1.788 0z",key:"169xi5"}],["path",{d:"M15 5.764v15",key:"1pn4in"}],["path",{d:"M9 3.236v15",key:"1uimfh"}]])},49389:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(14214).A)("chevron-right",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},55305:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(14214).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},56687:(e,t,r)=>{"use strict";r.d(t,{E:()=>o,T:()=>a});let o=[{id:"hokkaido",name:"北海道・東北",color:"bg-emerald-600"},{id:"kanto",name:"関東",color:"bg-green-500"},{id:"chubu",name:"中部",color:"bg-teal-500"},{id:"kansai",name:"近畿",color:"bg-emerald-500"},{id:"chugoku",name:"中国",color:"bg-lime-600"},{id:"shikoku",name:"四国",color:"bg-lime-500"},{id:"kyushu",name:"九州・沖縄",color:"bg-green-600"}],a=[{id:"hokkaido",name:"北海道",region:"hokkaido",col:12,row:1,producerCount:1},{id:"aomori",name:"青森",region:"hokkaido",col:12,row:3,producerCount:0},{id:"iwate",name:"岩手",region:"hokkaido",col:12,row:4,producerCount:0},{id:"akita",name:"秋田",region:"hokkaido",col:11,row:4,producerCount:0},{id:"miyagi",name:"宮城",region:"hokkaido",col:12,row:5,producerCount:0},{id:"yamagata",name:"山形",region:"hokkaido",col:11,row:5,producerCount:6},{id:"fukushima",name:"福島",region:"hokkaido",col:12,row:6,producerCount:21},{id:"ibaraki",name:"茨城",region:"kanto",col:12,row:8,producerCount:5},{id:"tochigi",name:"栃木",region:"kanto",col:11,row:7,producerCount:3},{id:"gunma",name:"群馬",region:"kanto",col:10,row:7,producerCount:0},{id:"saitama",name:"埼玉",region:"kanto",col:11,row:8,producerCount:0},{id:"chiba",name:"千葉",region:"kanto",col:12,row:9,producerCount:0},{id:"tokyo",name:"東京",region:"kanto",col:11,row:9,producerCount:0},{id:"kanagawa",name:"神奈川",region:"kanto",col:11,row:10,producerCount:0},{id:"niigata",name:"新潟",region:"chubu",col:10,row:6,producerCount:0},{id:"toyama",name:"富山",region:"chubu",col:8,row:6,producerCount:0},{id:"ishikawa",name:"石川",region:"chubu",col:7,row:6,producerCount:0},{id:"fukui",name:"福井",region:"chubu",col:6,row:6,producerCount:0},{id:"yamanashi",name:"山梨",region:"chubu",col:10,row:8,producerCount:1},{id:"nagano",name:"長野",region:"chubu",col:9,row:7,producerCount:5},{id:"gifu",name:"岐阜",region:"chubu",col:8,row:7,producerCount:0},{id:"shizuoka",name:"静岡",region:"chubu",col:10,row:9,producerCount:0},{id:"aichi",name:"愛知",region:"chubu",col:9,row:8,producerCount:0},{id:"mie",name:"三重",region:"kansai",col:8,row:9,producerCount:0},{id:"shiga",name:"滋賀",region:"kansai",col:7,row:8,producerCount:0},{id:"kyoto",name:"京都",region:"kansai",col:6,row:7,producerCount:0},{id:"osaka",name:"大阪",region:"kansai",col:6,row:8,producerCount:0},{id:"hyogo",name:"兵庫",region:"kansai",col:5,row:7,producerCount:0},{id:"nara",name:"奈良",region:"kansai",col:7,row:9,producerCount:0},{id:"wakayama",name:"和歌山",region:"kansai",col:6,row:10,producerCount:0},{id:"tottori",name:"鳥取",region:"chugoku",col:4,row:7,producerCount:0},{id:"shimane",name:"島根",region:"chugoku",col:3,row:7,producerCount:0},{id:"okayama",name:"岡山",region:"chugoku",col:4,row:8,producerCount:0},{id:"hiroshima",name:"広島",region:"chugoku",col:3,row:8,producerCount:0},{id:"yamaguchi",name:"山口",region:"chugoku",col:2,row:8,producerCount:0},{id:"tokushima",name:"徳島",region:"shikoku",col:5,row:10,producerCount:0},{id:"kagawa",name:"香川",region:"shikoku",col:5,row:9,producerCount:0},{id:"ehime",name:"愛媛",region:"shikoku",col:4,row:9,producerCount:0},{id:"kochi",name:"高知",region:"shikoku",col:4,row:10,producerCount:0},{id:"fukuoka",name:"福岡",region:"kyushu",col:1,row:8,producerCount:0},{id:"saga",name:"佐賀",region:"kyushu",col:0,row:8,producerCount:0},{id:"nagasaki",name:"長崎",region:"kyushu",col:-1,row:8,producerCount:0}
73,{id:"kumamoto",name:"熊本",region:"kyushu",col:0,row:9,producerCount:0},{id:"oita",name:"大分",region:"kyushu",col:1,row:9,producerCount:0},{id:"miyazaki",name:"宮崎",region:"kyushu",col:1,row:10,producerCount:0},{id:"kagoshima",name:"鹿児島",region:"kyushu",col:0,row:10,producerCount:0},{id:"okinawa",name:"沖縄",region:"kyushu",col:-2,row:12,producerCount:0}]},67132:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/producers",function(){return r(5309)}])},67467:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});let o=(0,r(14214).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])}},e=>{e.O(0,[3521,6680,396,9726,636,6593,8792],()=>e(e.s=67132)),_N_E=e.O()}]);

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.