PageSourceSearch

https://aiedu.jp/_next/static/chunks/d704b0d0d3ff784b.js

js aiedu.jp collected 2026-10-06 10:21:31 UTC 36,453 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,856,e=>{"use strict";var t=e.i(43476),l=e.i(932),r=e.i(96388),s=e.i(1918);e.s(["PageHero",0,e=>{let a,n,i,o,c,d,m,x,u,h,p=(0,l.c)(29),{label:b,title:f,lead:g,afterLead:j,className:v,backgroundImage:N}=e,w=null!=N,y=null!=j,_=y?"pt-14 pb-0 sm:pt-20":"py-14 sm:py-20",S=w?"bg-center bg-cover bg-white bg-no-repeat":"bg-white";return p[0]!==v||p[1]!==_||p[2]!==S?(a=(0,r.mergeClasses)("relative min-h-[200px] w-full overflow-hidden sm:min-h-[220px]",_,s.LAYOUT_PX,S,v),p[0]=v,p[1]=_,p[2]=S,p[3]=a):a=p[3],p[4]!==N||p[5]!==w?(n=w?{backgroundImage:`url(${N})`}:void 0,p[4]=N,p[5]=w,p[6]=n):n=p[6],p[7]!==w?(i=w&&(0,t.jsx)("div",{className:"absolute inset-0 bg-white/90","aria-hidden":!0}),p[7]=w,p[8]=i):i=p[8],p[9]===Symbol.for("react.memo_cache_sentinel")?(o=(0,r.mergeClasses)("relative mx-auto flex min-h-[160px] w-full flex-col justify-center",s.LAYOUT_MAX_WIDTH_NARROW),p[9]=o):o=p[9],p[10]!==b?(c=null!=b&&(0,t.jsx)("p",{className:"text-xs font-bold lowercase tracking-wide text-brand sm:text-sm",children:b}),p[10]=b,p[11]=c):c=p[11],p[12]!==f?(d=(0,t.jsx)("h1",{className:"mt-1 text-xl font-bold text-text sm:text-2xl",children:f}),p[12]=f,p[13]=d):d=p[13],p[14]!==g?(m=null!=g&&(0,t.jsx)("p",{className:"mt-3 text-sm text-text-muted sm:text-base",children:g}),p[14]=g,p[15]=m):m=p[15],p[16]!==j||p[17]!==y?(x=y&&(0,t.jsx)("div",{className:"mt-8 border-border-subtle border-t pt-6 pb-10 sm:pb-12",children:j}),p[16]=j,p[17]=y,p[18]=x):x=p[18],p[19]!==x||p[20]!==c||p[21]!==d||p[22]!==m?(u=(0,t.jsxs)("div",{className:o,children:[c,d,m,x]}),p[19]=x,p[20]=c,p[21]=d,p[22]=m,p[23]=u):u=p[23],p[24]!==u||p[25]!==a||p[26]!==n||p[27]!==i?(h=(0,t.jsxs)("header",{className:a,style:n,children:[i,u]}),p[24]=u,p[25]=a,p[26]=n,p[27]=i,p[28]=h):h=p[28],h}])},54126,e=>{"use strict";var t=e.i(43476),l=e.i(932),r=e.i(96388);e.s(["SectionTitle",0,e=>{let s,a,n,i,o,c=(0,l.c)(14),{title:d,label:m,lead:x,className:u,as:h}=e,p=void 0===h?"h2":h;return c[0]!==u?(s=(0,r.mergeClasses)("",u),c[0]=u,c[1]=s):s=c[1],c[2]!==m?(a=null!=m&&(0,t.jsx)("p",{className:"text-xs font-bold uppercase tracking-wide text-text-muted sm:text-sm",children:m}),c[2]=m,c[3]=a):a=c[3],c[4]!==p||c[5]!==d?(n=(0,t.jsx)(p,{className:"mt-1 text-lg font-bold text-text sm:mt-2 sm:text-xl",children:d}),c[4]=p,c[5]=d,c[6]=n):n=c[6],c[7]!==x?(i=null!=x&&(0,t.jsx)("p",{className:"mt-3 text-sm text-text-muted leading-relaxed sm:text-base",children:x}),c[7]=x,c[8]=i):i=c[8],c[9]!==s||c[10]!==a||c[11]!==n||c[12]!==i?(o=(0,t.jsxs)("header",{className:s,children:[a,n,i]}),c[9]=s,c[10]=a,c[11]=n,c[12]=i,c[13]=o):o=c[13],o}])},82696,38499,e=>{"use strict";let t;e.i(47167),e.s(["NEWS_PER_PAGE",0,10],38499);let l="https://aiedu.jp";function r(e){return"aiedu.jp"===e||e.endsWith(".aiedu.jp")}async function s(e,t,s){for(let a of function(){let e=new Set,t=r(window.location.hostname),s=l=>{if(!l)return;let r=l.replace(/\/$/,"");!r||t&&function(e){try{let t=new URL(e).hostname;return"localhost"===t||"127.0.0.1"===t}catch{return/localhost|127\.0\.0\.1/i.test(e)}}(r)||e.add(r)};s(l),s(`${l}/wp`);{let{protocol:e,hostname:t}=window.location;r(t)&&s(`${e}//${t}`)}return s("https://aiedu.jp"),[...e]}()){let l=new URL(e.startsWith("/")?e:`/${e}`,`${a}/`);if(t)for(let[e,r]of Object.entries(t))l.searchParams.set(e,r);for(let e=0;e<4;e++){try{console.log(`[fetchWpRestJson] attempt ${e+1}/4 — ${l}`);let t=await fetch(l.toString(),{redirect:"follow",signal:AbortSignal.timeout(2e4),headers:{Accept:"application/json",...s?.headers},...s});if(t.status,console.log(`[fetchWpRestJson] status ${t.status} content-type: ${t.headers.get("content-type")}`),!t.ok){console.warn(`[fetchWpRestJson] not ok (${t.status}) — skipping`);continue}if(!(t.headers.get("content-type")??"").includes("json"))continue;let r=await t.text();if(r.trimStart().startsWith("<"))continue;let n=JSON.parse(r),i=t.headers.get("X-WP-Total"),o=t.headers.get("X-WP-TotalPages"),c=null!=i&&""!==i?Number.parseInt(i,10):void 0,d=null!=o&&""!==o?Number.parseInt(o,10):void 0;return{data:n,baseUrl:a,total:Number.isFinite(c)?c:void 0,totalPages:Number.isFinite(d)?d:void 0}}catch{}e<3&&await function(e){return new Promise(t=>{setTimeout(t,e)})}(400*2**e)}}return{data:null,baseUrl:null}}let a=null;async function n(){if(a)return a;let{data:e}=await s("/wp-json/wp/v2/categories",{per_page:"100"},{cache:"no-store"});return a=new Map((e??[]).map(e=>[e.id,e.slug.toLowerCase()]))}async function i(){if(void 0!==t)return t;let{data:e}=await s("/wp-json/wp/v2/categories",{slug:"event",per_page:"1"},{cache:"no-store"});return t=e?.[0]?.id??null}function o(e){let t=new Date(e),l=t.getFullYear(),r=String(t.getMonth()+1).padStart(2,"0"),s=String(t.getDate()).padStart(2,"0");return`${l}.${r}.${s}`}function c(e){return e.replace(/<[^>]*>/g,"").trim()}function d(e){if(!e)return;let t=e.match(/<img\s[^>]*\bsrc\s*=\s*["']([^"']+)["']/i);return t?.[1]?.trim()||void 0}function m(e,t){let l=e.categories?.[0];if(null!=l&&t?.has(l))return t.get(l)??"news";let r=e._embedded?.["wp:term"]?.[0]?.[0];return(r?.slug??r?.name??"news").toLowerCase()}function x(e,t){return e.map(e=>{let l=e.aiedu_thumbnail_url??e._embedded?.["wp:featuredmedia"]?.[0]?.source_url??e.aiedu_fallback_thumbnail??d(e.content?.rendered);return{id:String(e.id),date:o(e.date),label:m(e,t),title:e.title?c(e.title.rendered):"",excerpt:e.excerpt&&c(e.excerpt.rendered)||void 0,thumbnail:l,link:e.link}})}async function u(e){let t=e?.page??1,l=e?.perPage??10,r={page:String(t),per_page:String(l),_fields:"id,date,title,excerpt,link,categories,aiedu_thumbnail_url,aiedu_fallback_thumbnail",orderby:"date",order:"desc"},a=e?.categoryFilter??"all";if("all"!==a){let e=await i();null!=e&&("event"===a?r.categories=String(e):r.categories_exclude=String(e))}let[o,{data:c,total:d,totalPages:m}]=await Promise.all([n(),s("/wp-json/wp/v2/posts",r,{cache:"no-store"})]);if(!c||!Array.isArray(c))return{items:[],failed:!0,page:t,perPage:l,total:0,totalPages:0};
1let u=x(c,o);return"exclude-event"===a?u=u.filter(e=>!b(e.label)):"event"===a&&(u=u.filter(e=>b(e.label))),{items:u,failed:!1,page:t,perPage:l,total:d??u.length,totalPages:m??1}}async function h(e,t){let l=/^\d+$/.test(t);console.log("[getNewsPostById] called — id:",t,"isNumericId:",l);let r=null;if(l){let{data:e,baseUrl:l}=await s(`/wp-json/wp/v2/posts/${t}`,{_embed:"1"},{cache:"no-store"});console.log("[getNewsPostById] ID fetch — baseUrl:",l,"data:",e?`id=${e.id}`:null),r=e}else{let{data:e,baseUrl:l}=await s("/wp-json/wp/v2/posts",{slug:t,_embed:"1",per_page:"1"},{cache:"no-store"});console.log("[getNewsPostById] slug fetch — baseUrl:",l,"results:",Array.isArray(e)?e.length:e),r=Array.isArray(e)?e[0]??null:null}if(console.log("[getNewsPostById] returning —",r?`post id=${r.id}`:"null"),!r)return null;let a=r.aiedu_thumbnail_url??r._embedded?.["wp:featuredmedia"]?.[0]?.source_url??r.aiedu_fallback_thumbnail??d(r.content?.rendered);return{id:String(r.id),date:o(r.date),dateIso:r.date,label:m(r),title:c(r.title.rendered),excerpt:c(r.excerpt.rendered)||void 0,thumbnail:a,link:r.link,content:r.content.rendered??""}}async function p(e,t){let l={_fields:"id,date,title,aiedu_thumbnail_url",per_page:"1",orderby:"date"};"prev"===e?(l.order="desc",l.before=t):(l.order="asc",l.after=t);let{data:r}=await s("/wp-json/wp/v2/posts",l,{cache:"no-store"}),a=Array.isArray(r)?r[0]:null;return a?x([a])[0]??null:null}function b(e){return"event"===e.toLowerCase()}e.s(["fetchAdjacentNewsPost",()=>p,"fetchNewsPostsPage",()=>u,"getNewsPostById",()=>h],82696)},39194,e=>{"use strict";var t=e.i(43476),l=e.i(932),r=e.i(22016),s=e.i(71645),a=e.i(18566),n=e.i(82696);function i(e){let s,a,n,i,c,d,m,x,u,h=(0,l.c)(21),{id:p,date:b,label:f,title:g,thumbnail:j}=e;h[0]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)("div",{className:"flex h-full w-full items-center justify-center text-sm font-medium text-vegetable-green","aria-hidden":!0,children:"NEWS"}),h[0]=s):s=h[0],h[1]!==j?(a=j?(0,t.jsx)("img",{src:j,alt:"",className:"absolute inset-0 h-full w-full object-cover",onError:o}):null,h[1]=j,h[2]=a):a=h[2],h[3]!==a?(n=(0,t.jsxs)("div",{className:"relative h-24 w-36 shrink-0 overflow-hidden rounded-xl bg-vegetable-green-pale sm:h-28 sm:w-44",children:[s,a]}),h[3]=a,h[4]=n):n=h[4],h[5]!==f?(i=(0,t.jsx)("span",{className:"ml-2 rounded-full bg-terracotta-pale px-2 py-0.5 text-xs text-terracotta",children:f}),h[5]=f,h[6]=i):i=h[6],h[7]!==b||h[8]!==i?(c=(0,t.jsxs)("span",{className:"text-sm text-text-muted",children:[b,i]}),h[7]=b,h[8]=i,h[9]=c):c=h[9],h[10]!==g?(d=(0,t.jsx)("h2",{className:"mt-2 text-base font-medium text-text sm:text-lg",children:g}),h[10]=g,h[11]=d):d=h[11];let v=`/news/${p}`;return h[12]!==v?(m=(0,t.jsx)("p",{className:"mt-1 text-sm text-text-muted",children:(0,t.jsx)(r.default,{href:v,className:"text-brand text-sm underline hover:opacity-90",children:"続きを読む"})}),h[12]=v,h[13]=m):m=h[13],h[14]!==c||h[15]!==d||h[16]!==m?(x=(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[c,d,m]}),h[14]=c,h[15]=d,h[16]=m,h[17]=x):x=h[17],h[18]!==n||h[19]!==x?(u=(0,t.jsxs)("li",{className:"flex gap-4 border-border border-b py-6",children:[n,x]}),h[18]=n,h[19]=x,h[20]=u):u=h[20],u}function o(e){e.currentTarget.style.display="none"}var c=e.i(38499);function d(e){let r,a,n,i,o,d,u=(0,l.c)(25),{items:h,perPage:p,server:b}=e,f=void 0===p?c.NEWS_PER_PAGE:p,[g,j]=(0,s.useState)(1),v=null!=b,N=v?b.page:g,w=v?Math.max(1,b.totalPages):Math.max(1,Math.ceil(h.length/f)),y=Math.min(N,w),_=(y-1)*f;u[0]!==v||u[1]!==h||u[2]!==f||u[3]!==_?(r=v?h:h.slice(_,_+f),u[0]=v,u[1]=h,u[2]=f,u[3]=_,u[4]=r):r=u[4];let S=r,P=v?b.total:h.length;u[5]!==v||u[6]!==b||u[7]!==w?(a=e=>{let t=Math.min(Math.max(1,e),w);v?b.onPageChange(t):j(t)},u[5]=v,u[6]=b,u[7]=w,u[8]=a):a=u[8];let k=a;u[9]!==S||u[10]!==b?.loading?(n=b?.loading?(0,t.jsx)("p",{className:"py-12 text-center text-sm text-text-muted",children:"読み込み中…"}):(0,t.jsx)("ul",{className:"list-none border-border border-t",children:S.map(x)}),u[9]=S,u[10]=b?.loading,u[11]=n):n=u[11],u[12]!==y||u[13]!==k||u[14]!==b?.loading||u[15]!==w?(i=w>1&&(0,t.jsxs)("nav",{className:"mt-12 flex flex-wrap items-center justify-center gap-2","aria-label":"ページネーション",children:[(0,t.jsx)("button",{type:"button",onClick:()=>k(y-1),disabled:y<=1||b?.loading,className:"rounded-xl border border-border bg-white px-4 py-2 text-sm font-medium text-text-muted transition hover:border-vegetable-green hover:bg-soft-green-pale disabled:pointer-events-none disabled:opacity-50",children:"前へ"}),(0,t.jsx)("div",{className:"flex flex-wrap items-center justify-center gap-1",children:Array.from({length:w},m).map(e=>(0,t.jsx)("button",{type:"button",onClick:()=>k(e),disabled:b?.loading,className:`min-w-10 rounded-xl border px-3 py-2 text-sm font-medium transition ${e===y?"border-soft-green bg-soft-green-pale text-soft-green":"border-border bg-white text-text-muted hover:border-vegetable-green hover:bg-soft-green-pale"}`,children:e},e))}),(0,t.jsx)("button",{type:"button",onClick:()=>k(y+1),disabled:y>=w||b?.loading,className:"rounded-xl border border-border bg-white px-4 py-2 text-sm font-medium text-text-muted transition hover:border-vegetable-green hover:bg-soft-green-pale disabled:pointer-events-none disabled:opacity-50",children:"次へ"})]}),u[12]=y,u[13]=k,u[14]=b?.loading,u[15]=w,u[16]=i):i=u[16];let A=0===P?0:_+1,E=Math.min(_+S.length,P);return u[17]!==A||u[18]!==E||u[19]!==P?(o=(0,t.jsxs)("p",{className:"mt-4 text-center text-sm text-text-muted",children:[P,"件中 ",A,"–",E,"件を表示"]}),u[17]=A,u[18]=E,u[19]=P,u[20]=o):o=u[20],u[21]!==n||u[22]!==i||u[23]!==o?(d=(0,t.jsxs)(t.Fragment,{children:[n,i,o]}),u[21]=n,u[22]=i,u[23]=o,u[24]=d):d=u[24],d}function m(e,t){return t+1}function x(e){return(0,t.jsx)(i,{id:e.id,date:e.date,label:e.label,title:e.title,thumbnail:e.thumbnail},e.id)}
1let u=(0,e.i(75254).default)("arrow-up-right",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]),h="https://note.com/real_aiedu_japan";function p(e){let r,s=(0,l.c)(2),{className:a}=e,n=a??"h-4 w-[18px] object-contain";return s[0]!==n?(r=(0,t.jsx)("img",{src:"/images/sns/note-logo.svg",alt:"",width:20,height:18,className:n,"aria-hidden":!0}),s[0]=n,s[1]=r):r=s[1],r}function b(e){let r,s,a,n,i,o,c=(0,l.c)(15),{article:d,large:m}=e;c[0]!==d.eyecatch?(r=(0,t.jsx)("div",{className:"relative overflow-hidden bg-[#eceae6] aspect-[16/10]",children:d.eyecatch?(0,t.jsx)("img",{src:d.eyecatch,alt:"",className:"h-full w-full object-cover transition duration-500 group-hover:scale-[1.03]"}):(0,t.jsx)("div",{className:"flex h-full items-center justify-center",children:(0,t.jsx)(p,{className:"h-8 w-9 opacity-40"})})}),c[0]=d.eyecatch,c[1]=r):r=c[1],c[2]!==d.dateLabel?(s=d.dateLabel?(0,t.jsx)("p",{className:"text-xs text-text-muted",children:d.dateLabel}):null,c[2]=d.dateLabel,c[3]=s):s=c[3];let x=`mt-1 font-bold leading-snug text-text group-hover:text-brand ${m?"text-base sm:text-lg":"line-clamp-3 text-sm sm:text-base"}`;return c[4]!==d.title||c[5]!==x?(a=(0,t.jsx)("p",{className:x,children:d.title}),c[4]=d.title,c[5]=x,c[6]=a):a=c[6],c[7]===Symbol.for("react.memo_cache_sentinel")?(n=(0,t.jsxs)("p",{className:"mt-auto flex items-center gap-1 pt-3 text-xs font-bold text-text-muted transition group-hover:text-brand",children:["noteで読む",(0,t.jsx)(u,{className:"h-3.5 w-3.5","aria-hidden":!0})]}),c[7]=n):n=c[7],c[8]!==s||c[9]!==a?(i=(0,t.jsxs)("div",{className:"flex flex-1 flex-col p-4 sm:p-5",children:[s,a,n]}),c[8]=s,c[9]=a,c[10]=i):i=c[10],c[11]!==d.noteUrl||c[12]!==r||c[13]!==i?(o=(0,t.jsxs)("a",{href:d.noteUrl,target:"_blank",rel:"noopener noreferrer",className:"group flex h-full flex-col overflow-hidden rounded-2xl border border-border-subtle bg-white no-underline transition hover:-translate-y-0.5 hover:border-brand/35",children:[r,i]}),c[11]=d.noteUrl,c[12]=r,c[13]=i,c[14]=o):o=c[14],o}function f(e){let r,s,a,n,i,o=(0,l.c)(13),{articles:c,variant:d}=e;if("home"===(void 0===d?"news":d)){let e,l,r,s,a;return o[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("div",{className:"pointer-events-none absolute inset-0 opacity-[0.45]",style:{backgroundImage:"radial-gradient(circle at 18% 22%, rgba(255,255,255,0.9) 0.9px, transparent 1.2px), radial-gradient(circle at 78% 68%, rgba(255,255,255,0.75) 0.9px, transparent 1.2px)",backgroundSize:"26px 26px"},"aria-hidden":!0}),o[0]=e):e=o[0],o[1]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsxs)("div",{className:"max-w-xl",children:[(0,t.jsxs)("p",{className:"inline-flex items-center gap-2 rounded-full border border-border-subtle bg-white px-3 py-1 text-xs font-bold tracking-wide text-text-muted",children:[(0,t.jsx)(p,{className:"h-3.5 w-4"}),"note"]}),(0,t.jsx)("h2",{className:"mt-4 font-[family-name:var(--font-figtree)] text-3xl font-bold tracking-tight text-text sm:text-4xl",children:"授業の裏側を、お届け!"}),(0,t.jsx)("p",{className:"mt-3 text-sm leading-relaxed text-text-muted sm:text-base",children:"教材の使い方や学校での実践例は、note で公開しています。 お知らせとは別に、じっくり読める記事をまとめています。"})]}),o[1]=l):l=o[1],o[2]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsx)(p,{className:"h-3.5 w-4 brightness-0 invert"}),o[2]=r):r=o[2],o[3]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsxs)("div",{className:"flex flex-col gap-6 lg:flex-row lg:items-end lg:justify-between",children:[l,(0,t.jsxs)("a",{href:h,target:"_blank",rel:"noopener noreferrer",className:"inline-flex items-center justify-center gap-2 self-start rounded-full bg-[#1c1c1c] px-5 py-2.5 text-sm font-bold text-white no-underline transition hover:bg-[#333] lg:self-auto",children:[r,"aiEDU JAPANのnoteへ",(0,t.jsx)(u,{className:"h-4 w-4","aria-hidden":!0})]})]}),o[3]=s):s=o[3],o[4]!==c?(a=(0,t.jsxs)("section",{className:"relative overflow-hidden bg-[#f3f1ec]",children:[e,(0,t.jsxs)("div",{className:"relative mx-auto w-full max-w-[1120px] px-5 py-14 sm:px-8 sm:py-20 md:px-10 lg:px-12",children:[s,c.length>0?(0,t.jsx)("ul",{className:"mt-10 grid list-none gap-4 sm:grid-cols-2 lg:grid-cols-3",children:c.map(j)}):(0,t.jsx)("p",{className:"mt-10 text-sm text-text-muted",children:"記事の読み込みに失敗しました。note で直接ご覧ください。"})]})]}),o[4]=c,o[5]=a):a=o[5],a}return o[6]===Symbol.for("react.memo_cache_sentinel")?(r=(0,t.jsxs)("div",{children:[(0,t.jsxs)("p",{className:"inline-flex items-center gap-1.5 text-xs font-bold tracking-wide text-text-muted",children:[(0,t.jsx)(p,{className:"h-3.5 w-4"}),"note"]}),(0,t.jsx)("h2",{className:"mt-1 text-lg font-bold text-text sm:text-xl",children:"実践・教材の深掘りは note で"}),(0,t.jsx)("p",{className:"mt-1 text-sm text-text-muted",children:"お知らせとは別に、授業の様子や教材紹介を公開しています。"})]}),o[6]=r):r=o[6],o[7]===Symbol.for("react.memo_cache_sentinel")?(s=(0,t.jsx)(p,{className:"h-3.5 w-4 brightness-0 invert"}),o[7]=s):s=o[7],o[8]===Symbol.for("react.memo_cache_sentinel")?(a=(0,t.jsxs)("div",{className:"flex flex-col gap-4 border-b border-border-subtle bg-white px-5 py-5 sm:flex-row sm:items-center sm:justify-between sm:px-6",children:[r,(0,t.jsxs)("a",{href:h,target:"_blank",rel:"noopener noreferrer",className:"inline-flex shrink-0 items-center gap-2 rounded-xl bg-[#1c1c1c] px-4 py-2.5 text-sm font-bold text-white no-underline transition hover:bg-[#333]",children:[s,"noteはこちら",(0,t.jsx)(u,{className:"h-4 w-4","aria-hidden":!0})]})]}),o[8]=a):a=o[8],o[9]!==c?(n=c.length>0?(0,t.jsx)("ul",{className:"grid list-none gap-3 p-4 sm:grid-cols-3 sm:gap-4 sm:p-5",children:c.map(g)}):null,o[9]=c,o[10]=n):n=o[10],o[11]!==n?(i=(0,t.jsx)("section",{className:"border-t border-border-subtle pt-12 sm:pt-14",children:(0,t.jsxs)("div",{className:"overflow-hidden rounded-2xl border border-border-subtle bg-[#f7f5f1]",children:[a,n]})}),o[11]=n,o[12]=i):i=o[12],i}function g(e){return(0,t.jsx)("li",{children:(0,t.jsx)(b,{article:e})},e.key)}function j(e){return(0,t.jsx)("li",{className:"min-h-0",children:(0,t.jsx)(b,{article:e})},e.key)}var v=e.i(54126);function N(e){let r,a,i,o,m,x,u,h,p,b,g,j,N=(0,l.c)(31),{noteArticles:w}=e;N[0]!==w?(r=void 0===w?[]:w,N[0]=w,N[1]=r):r=N[1];let y=r;N[2]===Symbol.for("react.memo_cache_sentinel")?(a=[],N[2]=a):a=N[2];
1let[_,S]=(0,s.useState)(a),[P,k]=(0,s.useState)(1),[A,E]=(0,s.useState)(0),[$,C]=(0,s.useState)(1),[I,R]=(0,s.useState)(!0);N[3]===Symbol.for("react.memo_cache_sentinel")?(i=[],N[3]=i):i=N[3];let[T,L]=(0,s.useState)(i),[O,W]=(0,s.useState)(1),[U,M]=(0,s.useState)(0),[B,Y]=(0,s.useState)(1),[F,D]=(0,s.useState)(!0),[G,J]=(0,s.useState)(!1);N[4]===Symbol.for("react.memo_cache_sentinel")?(o=async e=>{R(!0);let t=await (0,n.fetchNewsPostsPage)({page:e,perPage:c.NEWS_PER_PAGE,categoryFilter:"event"});(R(!1),t.failed)?J(!0):(S(t.items),E(t.total),C(t.totalPages),k(t.page))},N[4]=o):o=N[4];let z=o;N[5]===Symbol.for("react.memo_cache_sentinel")?(m=async e=>{D(!0);let t=await (0,n.fetchNewsPostsPage)({page:e,perPage:c.NEWS_PER_PAGE,categoryFilter:"exclude-event"});(D(!1),t.failed)?J(!0):(L(t.items),M(t.total),Y(t.totalPages),W(t.page))},N[5]=m):m=N[5];let H=m;if(N[6]===Symbol.for("react.memo_cache_sentinel")?(x=()=>{let e=!1;return Promise.all([z(1),H(1)]).then(()=>{if(e)return}),()=>{e=!0}},u=[z,H],N[6]=x,N[7]=u):(x=N[6],u=N[7]),(0,s.useEffect)(x,u),I&&F&&0===_.length&&0===T.length){let e;return N[8]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("div",{className:"rounded-2xl border border-border-subtle bg-gold-pale py-12 text-center text-sm text-text-muted",children:"お知らせを読み込み中…"}),N[8]=e):e=N[8],e}if(G&&0===_.length&&0===T.length){let e,l;return N[9]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsxs)("div",{className:"rounded-2xl border border-border-subtle bg-gold-pale py-12 text-center text-sm text-text-muted",children:[(0,t.jsx)("p",{children:"お知らせを取得できませんでした。"}),(0,t.jsx)("p",{className:"mt-2 text-xs",children:"しばらくしてから再読み込みしてください。問題が続く場合は WordPress の公開状態をご確認ください。"})]}),N[9]=e):e=N[9],N[10]!==y?(l=(0,t.jsxs)("div",{className:"space-y-14",children:[e,(0,t.jsx)(f,{articles:y,variant:"news"})]}),N[10]=y,N[11]=l):l=N[11],l}return N[12]!==_||N[13]!==I||N[14]!==P||N[15]!==A||N[16]!==$?(h=A>0&&(0,t.jsxs)("section",{children:[(0,t.jsx)(v.SectionTitle,{title:"イベント",label:"Event"}),(0,t.jsx)("div",{className:"mt-6",children:(0,t.jsx)(d,{items:_,perPage:c.NEWS_PER_PAGE,server:{page:P,total:A,totalPages:$,loading:I,onPageChange:z}})})]}),N[12]=_,N[13]=I,N[14]=P,N[15]=A,N[16]=$,N[17]=h):h=N[17],N[18]===Symbol.for("react.memo_cache_sentinel")?(p=(0,t.jsx)(v.SectionTitle,{title:"お知らせ",label:"News"}),N[18]=p):p=N[18],N[19]!==T||N[20]!==F||N[21]!==O||N[22]!==U||N[23]!==B?(b=(0,t.jsxs)("section",{children:[p,(0,t.jsx)("div",{className:"mt-6",children:0!==U||F?(0,t.jsx)(d,{items:T,perPage:c.NEWS_PER_PAGE,server:{page:O,total:U,totalPages:B,loading:F,onPageChange:H}}):(0,t.jsx)("p",{className:"rounded-2xl border border-border-subtle bg-gold-pale py-12 text-center text-text-muted",children:"お知らせはまだありません"})})]}),N[19]=T,N[20]=F,N[21]=O,N[22]=U,N[23]=B,N[24]=b):b=N[24],N[25]!==y?(g=(0,t.jsx)(f,{articles:y,variant:"news"}),N[25]=y,N[26]=g):g=N[26],N[27]!==b||N[28]!==g||N[29]!==h?(j=(0,t.jsxs)("div",{className:"space-y-14",children:[h,b,g]}),N[27]=b,N[28]=g,N[29]=h,N[30]=j):j=N[30],j}e.i(47167);let w="news-article-body__table-wrapper";function y(e){let r,a,n,i,o=(0,l.c)(7),{html:c}=e,d=(0,s.useRef)(null);if(o[0]!==c){let e;e="https://aiedu.jp",r="string"==typeof c?c.replace(/https?:\/\/localhost(:\d+)?/g,e).replace(/https?:\/\/127\.0\.0\.1(:\d+)?/g,e):c,o[0]=c,o[1]=r}else r=o[1];let m=r;return(o[2]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{let e=d.current;e&&e.querySelectorAll("table").forEach(_)},o[2]=a):a=o[2],o[3]!==m?(n=[m],o[3]=m,o[4]=n):n=o[4],(0,s.useEffect)(a,n),m)?(o[5]!==m?(i=(0,t.jsx)("div",{ref:d,className:"news-article-body",dangerouslySetInnerHTML:{__html:m}}),o[5]=m,o[6]=i):i=o[6],i):null}function _(e){if(e.closest(`.${w}`)||e.closest(".wp-block-table"))return;let t=document.createElement("div");t.className=w,e.parentNode?.insertBefore(t,e),t.appendChild(e)}var S=e.i(74080);function P(e){let r,s,a=(0,l.c)(9),{headings:n,activeId:i,onSelect:o}=e;if(a[0]!==i||a[1]!==n||a[2]!==o){let e;a[4]!==i||a[5]!==o?(e=e=>{let l=i===e.id;return(0,t.jsx)("li",{children:(0,t.jsx)("a",{href:`#${e.id}`,onClick:t=>{t.preventDefault(),function(e){let t=document.getElementById(e);if(!t)return;let l=window.scrollY+t.getBoundingClientRect().top-96;window.scrollTo({top:Math.max(0,l),behavior:"smooth"})}(e.id),o(e.id)},className:`block border-l-2 py-1.5 pr-2 text-[13px] leading-snug transition ${l?"border-brand font-medium text-brand":"border-transparent text-text-muted hover:border-border hover:text-text"} ${e.level<=1?"pl-3":2===e.level?"pl-4":"pl-6"}`,children:(0,t.jsx)("span",{className:"line-clamp-2",children:e.text})})},e.id)},a[4]=i,a[5]=o,a[6]=e):e=a[6],r=n.map(e),a[0]=i,a[1]=n,a[2]=o,a[3]=r}else r=a[3];return a[7]!==r?(s=(0,t.jsx)("ul",{className:"list-none space-y-0.5",children:r}),a[7]=r,a[8]=s):s=a[8],s}
1function k(e,t){return e.boundingClientRect.top-t.boundingClientRect.top}function A(e){return e.isIntersecting}function E(e){let r,a,n,i,o,c,d,m,x,u,h,p,b,f,g,j,v,N,w,y=(0,l.c)(42),{headings:_,contentRef:E,variant:$}=e,C=(0,s.useId)(),[I,R]=function(e,t){let r,a,n,i=(0,l.c)(6),[o,c]=(0,s.useState)(null);return i[0]!==t||i[1]!==e?(r=()=>{if(!t?.current||0===e.length)return;let l=new IntersectionObserver(e=>{let t=e.filter(A).sort(k);t[0]?.target.id&&c(t[0].target.id)},{rootMargin:"-96px 0px -55% 0px",threshold:[0,1]});return e.forEach(e=>{let{id:t}=e,r=document.getElementById(t);r&&l.observe(r)}),()=>l.disconnect()},a=[e,t],i[0]=t,i[1]=e,i[2]=r,i[3]=a):(r=i[2],a=i[3]),(0,s.useEffect)(r,a),i[4]!==o?(n=[o,c],i[4]=o,i[5]=n):n=i[5],n}(_,E),[T,L]=(0,s.useState)(!1),[O,W]=(0,s.useState)(!1);if(y[0]===Symbol.for("react.memo_cache_sentinel")?(r=()=>{W(!0)},a=[],y[0]=r,y[1]=a):(r=y[0],a=y[1]),(0,s.useEffect)(r,a),y[2]!==T?(n=()=>{if(!T)return;let e=e=>{"Escape"===e.key&&L(!1)},t=document.body.style.overflow;return document.body.style.overflow="hidden",window.addEventListener("keydown",e),()=>{document.body.style.overflow=t,window.removeEventListener("keydown",e)}},i=[T],y[2]=T,y[3]=n,y[4]=i):(n=y[3],i=y[4]),(0,s.useEffect)(n,i),0===_.length)return null;y[5]!==I||y[6]!==_?(o=_.find(e=>e.id===I)?.text??"この記事の見出し",y[5]=I,y[6]=_,y[7]=o):o=y[7];let U=o;if("desktop"===$){let e,l;return y[8]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("p",{className:"mb-3 text-[11px] font-bold tracking-[0.14em] text-text-muted uppercase",children:"目次"}),y[8]=e):e=y[8],y[9]!==I||y[10]!==_||y[11]!==R?(l=(0,t.jsx)("aside",{className:"relative hidden min-h-0 min-w-0 lg:block","aria-label":"目次",children:(0,t.jsxs)("nav",{className:"sticky top-24 max-h-[calc(100vh-7.5rem)] overflow-y-auto overscroll-contain border-l border-border-subtle pl-5",children:[e,(0,t.jsx)(P,{headings:_,activeId:I,onSelect:R})]})}),y[9]=I,y[10]=_,y[11]=R,y[12]=l):l=y[12],l}y[13]===Symbol.for("react.memo_cache_sentinel")?(c=()=>L(!0),y[13]=c):c=y[13],y[14]===Symbol.for("react.memo_cache_sentinel")?(d=(0,t.jsx)("span",{className:"flex h-8 w-8 shrink-0 items-center justify-center rounded-full bg-brand-pale text-brand",children:(0,t.jsx)("svg",{viewBox:"0 0 16 16",className:"h-4 w-4",fill:"none",stroke:"currentColor",strokeWidth:"1.75","aria-hidden":!0,children:(0,t.jsx)("path",{d:"M2.5 4h11M2.5 8h11M2.5 12h7",strokeLinecap:"round"})})}),y[14]=d):d=y[14],y[15]===Symbol.for("react.memo_cache_sentinel")?(m=(0,t.jsx)("span",{className:"block text-[11px] font-medium tracking-wide text-text-muted",children:"目次"}),y[15]=m):m=y[15],y[16]!==U?(x=(0,t.jsxs)("span",{className:"min-w-0 flex-1 text-left",children:[m,(0,t.jsx)("span",{className:"block truncate text-sm font-medium text-text",children:U})]}),y[16]=U,y[17]=x):x=y[17],y[18]===Symbol.for("react.memo_cache_sentinel")?(u=(0,t.jsx)("span",{className:"shrink-0 text-xs text-text-muted","aria-hidden":!0,children:"開く"}),y[18]=u):u=y[18],y[19]!==C||y[20]!==T||y[21]!==x?(h=(0,t.jsx)("div",{className:"pointer-events-none fixed inset-x-0 bottom-0 z-30 px-4 pb-[max(0.75rem,env(safe-area-inset-bottom))] lg:hidden",children:(0,t.jsxs)("button",{type:"button",onClick:c,className:"pointer-events-auto mx-auto flex w-full max-w-md items-center gap-3 rounded-full border border-border bg-white/95 px-4 py-3 shadow-[0_-4px_24px_rgba(0,0,0,0.08)] backdrop-blur-sm","aria-expanded":T,"aria-controls":C,children:[d,x,u]})}),y[19]=C,y[20]=T,y[21]=x,y[22]=h):h=y[22],y[23]!==T?(p=T&&(0,t.jsx)("button",{type:"button","aria-label":"目次を閉じる",className:"fixed inset-0 z-40 bg-black/40 lg:hidden",onClick:()=>L(!1)}),y[23]=T,y[24]=p):p=y[24];let M=!T,B=`fixed inset-x-0 bottom-0 z-50 max-h-[min(75vh,32rem)] overflow-hidden rounded-t-2xl border border-border bg-white shadow-[0_-8px_32px_rgba(0,0,0,0.12)] transition-transform duration-200 ease-out lg:hidden ${T?"translate-y-0":"translate-y-[110%]"}`;y[25]===Symbol.for("react.memo_cache_sentinel")?(b=(0,t.jsx)("p",{className:"text-sm font-bold text-text",children:"目次"}),y[25]=b):b=y[25],y[26]===Symbol.for("react.memo_cache_sentinel")?(f=(0,t.jsxs)("div",{className:"flex items-center justify-between border-b border-border-subtle px-4 py-3",children:[b,(0,t.jsx)("button",{type:"button",onClick:()=>L(!1),className:"rounded-full px-3 py-1.5 text-sm text-text-muted hover:bg-cream hover:text-text",children:"閉じる"})]}),y[26]=f):f=y[26],y[27]===Symbol.for("react.memo_cache_sentinel")?(g=()=>L(!1),y[27]=g):g=y[27],y[28]!==I||y[29]!==_?(j=(0,t.jsx)("div",{className:"overflow-y-auto overscroll-contain px-3 py-3 pb-[max(1.25rem,env(safe-area-inset-bottom))]",children:(0,t.jsx)(P,{headings:_,activeId:I,onSelect:g})}),y[28]=I,y[29]=_,y[30]=j):j=y[30],y[31]!==C||y[32]!==M||y[33]!==B||y[34]!==j?(v=(0,t.jsxs)("div",{id:C,role:"dialog","aria-modal":"true","aria-label":"目次","aria-hidden":M,className:B,children:[f,j]}),y[31]=C,y[32]=M,y[33]=B,y[34]=j,y[35]=v):v=y[35],y[36]!==h||y[37]!==p||y[38]!==v?
1(N=(0,t.jsxs)(t.Fragment,{children:[h,p,v]}),y[36]=h,y[37]=p,y[38]=v,y[39]=N):N=y[39];let Y=N;return O?(y[40]!==Y?(w=(0,S.createPortal)(Y,document.body),y[40]=Y,y[41]=w):w=y[41],w):null}function $(e){let r,a,n,i,o,c,d,m,x,u=(0,l.c)(22),{html:h}=e,p=(0,s.useRef)(null);u[0]===Symbol.for("react.memo_cache_sentinel")?(r=[],u[0]=r):r=u[0];let[b,f]=(0,s.useState)(r);u[1]===Symbol.for("react.memo_cache_sentinel")?(a=()=>{let e=p.current;e&&f(function(e){let t=e.querySelector(".news-article-body");if(!t)return[];let l=t.querySelectorAll("h1, h2, h3"),r=new Set,s=[];return l.forEach(e=>{let t=e.textContent?.trim()??"",l=parseInt(e.tagName.charAt(1),10),a=t.trim().replace(/\s+/g,"-").replace(/[^\p{L}\p{N}-]/gu,"").replace(/-+/g,"-").replace(/^-|-$/g,"")||"heading";if(r.has(a)){let e=1;for(;r.has(`${a}-${e}`);)e++;a=`${a}-${e}`}r.add(a),e.id=a,s.push({id:a,text:t,level:l})}),s}(e))},u[1]=a):a=u[1],u[2]!==h?(n=[h],u[2]=h,u[3]=n):n=u[3],(0,s.useEffect)(a,n);let g=b.length>0,j=`mt-8 ${g?"lg:grid lg:grid-cols-[minmax(0,1fr)_13.5rem] lg:gap-10 xl:grid-cols-[minmax(0,1fr)_15rem] xl:gap-12":""}`,v=g?"min-w-0 pb-20 lg:pb-0":void 0;return u[4]!==h?(i=(0,t.jsx)(y,{html:h}),u[4]=h,u[5]=i):i=u[5],u[6]!==v||u[7]!==i?(o=(0,t.jsx)("div",{ref:p,className:v,children:i}
1),u[6]=v,u[7]=i,u[8]=o):o=u[8],u[9]!==g||u[10]!==b?(c=g?(0,t.jsx)(E,{variant:"desktop",headings:b,contentRef:p}):null,u[9]=g,u[10]=b,u[11]=c):c=u[11],u[12]!==j||u[13]!==o||u[14]!==c?(d=(0,t.jsxs)("div",{className:j,children:[o,c]}),u[12]=j,u[13]=o,u[14]=c,u[15]=d):d=u[15],u[16]!==g||u[17]!==b?(m=g?(0,t.jsx)(E,{variant:"mobile",headings:b,contentRef:p}):null,u[16]=g,u[17]=b,u[18]=m):m=u[18],u[19]!==m||u[20]!==d?(x=(0,t.jsxs)(t.Fragment,{children:[d,m]}),u[19]=m,u[20]=d,u[21]=x):x=u[21],x}let C="/images/aiedu-japan-logo.png";function I(e){let r,s,a,n,i,o,c=(0,l.c)(17),{label:d,item:m,className:x}=e,u=`/news/${m.id}`,h=m.thumbnail||C,p=`group flex min-w-0 flex-1 items-center gap-3 overflow-hidden rounded-lg border border-[var(--color-border)] bg-white px-2 py-2 transition hover:border-[var(--color-brand)] sm:gap-2.5 sm:px-2.5 sm:py-2 ${x??""}`;return c[0]!==h?(r=(0,t.jsx)("div",{className:"relative h-14 w-14 shrink-0 overflow-hidden rounded-md bg-[var(--color-aiedu-gray)] sm:h-16 sm:w-16",children:(0,t.jsx)("img",{src:h,alt:"",className:"h-full w-full object-cover object-center transition group-hover:scale-[1.05]",onError:R})}),c[0]=h,c[1]=r):r=c[1],c[2]!==d?(s=(0,t.jsx)("span",{className:"block text-[10px] font-medium uppercase tracking-wider text-[var(--color-text-muted)] sm:text-xs",children:d}),c[2]=d,c[3]=s):s=c[3],c[4]!==m.date?(a=(0,t.jsx)("span",{className:"mt-0.5 block text-[10px] text-[var(--color-text-muted)] sm:text-xs",children:m.date}),c[4]=m.date,c[5]=a):a=c[5],c[6]!==m.title?(n=(0,t.jsx)("p",{className:"mt-0.5 line-clamp-2 text-xs font-medium text-[var(--color-text)] group-hover:text-[var(--color-brand)] sm:text-sm",children:m.title}),c[6]=m.title,c[7]=n):n=c[7],c[8]!==s||c[9]!==a||c[10]!==n?(i=(0,t.jsxs)("div",{className:"min-w-0 flex-1",children:[s,a,n]}),c[8]=s,c[9]=a,c[10]=n,c[11]=i):i=c[11],c[12]!==u||c[13]!==p||c[14]!==r||c[15]!==i?(o=(0,t.jsxs)("a",{href:u,className:p,children:[r,i]}),c[12]=u,c[13]=p,c[14]=r,c[15]=i,c[16]=o):o=c[16],o}function R(e){e.currentTarget.src=C}function T(e){let r,s,a,n=(0,l.c)(7),{prev:i,next:o}=e;return i||o?(n[0]!==i?(r=i?(0,t.jsx)(I,{label:"前の記事",item:i,className:"sm:order-1"}):(0,t.jsx)("div",{className:"sm:order-1"}),n[0]=i,n[1]=r):r=n[1],n[2]!==o?(s=o?(0,t.jsx)(I,{label:"次の記事",item:o,className:"sm:order-2"}):(0,t.jsx)("div",{className:"sm:order-2"}),n[2]=o,n[3]=s):s=n[3],n[4]!==r||n[5]!==s?(a=(0,t.jsxs)("nav",{className:"mt-8 grid grid-cols-1 gap-3 border-t border-border-subtle pt-6 sm:grid-cols-2","aria-label":"前後の記事",children:[r,s]}),n[4]=r,n[5]=s,n[6]=a):a=n[6],a):null}var L=e.i(856),O=e.i(1918);function W(e){let i,o,c,d,m,x,u,h,p,b,f,g,j,v,w,y,_=(0,l.c)(41),{noteArticles:S}=e;_[0]!==S?(i=void 0===S?[]:S,_[0]=S,_[1]=i):i=_[1];let P=i,k=(0,a.usePathname)();_[2]!==k?(o=k?.replace(/^\/news\/?/,"").split("/")[0]||null,_[2]=k,_[3]=o):o=_[3];let A=o,E=""===A||null===A,[C,I]=(0,s.useState)(null);_[4]===Symbol.for("react.memo_cache_sentinel")?(c={prev:null,next:null},_[4]=c):c=_[4];let[R,W]=(0,s.useState)(c);if(_[5]!==A||_[6]!==E?(d=()=>{E||(W({prev:null,next:null}),(0,n.getNewsPostById)("",A).then(e=>{if(I(e??!1),e)return document.title=`${e.title} | NEWS - aiEDU JAPAN`,Promise.all([(0,n.fetchAdjacentNewsPost)("prev",e.dateIso),(0,n.fetchAdjacentNewsPost)("next",e.dateIso)]).then(e=>{let[t,l]=e;W({prev:t,next:l})})}).catch(e=>{console.error("[NewsPage] getNewsPostById threw — id:",A,e),I(!1)}))},m=[A,E],_[5]=A,_[6]=E,_[7]=d,_[8]=m):(d=_[7],m=_[8]),(0,s.useEffect)(d,m),E){let e,l;return _[9]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)(L.PageHero,{label:"News",title:"お知らせ",lead:"活動・イベント・メディア掲載などの公式お知らせです。授業実践や教材の深掘りは、ページ下部の note もご覧ください。"}),_[9]=e):e=_[9],_[10]!==P?(l=(0,t.jsxs)(t.Fragment,{children:[e,(0,t.jsx)("section",{className:`${O.LAYOUT_SECTION_CLASS} bg-white`,children:(0,t.jsx)("div",{className:O.LAYOUT_CONTAINER_NARROW_CLASS,children:(0,t.jsx)(N,{noteArticles:P})})})]}),_[10]=P,_[11]=l):l=_[11],l}if(null===C){let e;return _[12]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("section",{className:`${O.LAYOUT_SECTION_CLASS} bg-white`,children:(0,t.jsx)("div",{className:O.LAYOUT_CONTAINER_NARROW_CLASS,children:(0,t.jsx)("p",{className:"py-12 text-center text-sm text-text-muted",children:"読み込み中…"})})}),_[12]=e):e=_[12],e}if(!1===C){let e,l;return _[13]===Symbol.for("react.memo_cache_sentinel")?(e=(0,t.jsx)("p",{className:"py-12 text-center text-text-muted",children:"記事が見つかりませんでした。"}),_[13]=e):e=_[13],_[14]===Symbol.for("react.memo_cache_sentinel")?(l=(0,t.jsx)("section",{className:`${O.LAYOUT_SECTION_CLASS} bg-white`,children:(0,t.jsxs)("div",{className:O.LAYOUT_CONTAINER_NARROW_CLASS,children:[e,(0,t.jsx)("p",{className:"text-center",children:(0,t.jsx)(r.default,{href:"/news/",className:"text-sm font-medium text-brand underline hover:opacity-90",children:"一覧へ戻る"})})]})}),_[14]=l):l=_[14],l}return _[15]!==C.label?(x=(0,t.jsx)("span",{className:"ml-2 roun
1ded-full bg-terracotta-pale px-2 py-0.5 text-xs text-terracotta",children:C.label}),_[15]=C.label,_[16]=x):x=_[16],_[17]!==C.date||_[18]!==x?(u=(0,t.jsxs)("span",{className:"text-sm text-text-muted",children:[C.date,x]}),_[17]=C.date,_[18]=x,_[19]=u):u=_[19],_[20]!==C.title?(h=(0,t.jsx)("h1",{className:"mt-3 text-xl font-bold text-text sm:text-2xl",children:C.title}),_[20]=C.title,_[21]=h):h=_[21],_[22]!==u||_[23]!==h?(p=(0,t.jsxs)("header",{className:"max-w-[720px] border-b border-border-subtle pb-8",children:[u,h]}),_[22]=u,_[23]=h,_[24]=p):p=_[24],_[25]!==C.content?(b=(0,t.jsx)($,{html:C.content}),_[25]=C.content,_[26]=b):b=_[26],_[27]!==R.prev?(f=R.prev?{id:R.prev.id,title:R.prev.title,thumbnail:R.prev.thumbnail,date:R.prev.date}:null,_[27]=R.prev,_[28]=f):f=_[28],_[29]!==R.next?(g=R.next?{id:R.next.id,title:R.next.title,thumbnail:R.next.thumbnail,date:R.next.date}:null,_[29]=R.next,_[30]=g):g=_[30],_[31]!==f||_[32]!==g?(j=(0,t.jsx)(T,{prev:f,next:g}),_[31]=f,_[32]=g,_[33]=j):j=_[33],_[34]===Symbol.for("react.memo_cache_sentinel")?(v=(0,t.jsx)("p",{className:"mt-8",children:(0,t.jsx)(r.default,{href:"/news/",className:"text-sm font-medium text-brand underline hover:opacity-90",children:"一覧へ戻る"})}),_[34]=v):v=_[34],_[35]!==j?(w=(0,t.jsxs)("div",{className:"max-w-[720px]",children:[j,v]}),_[35]=j,_[36]=w):w=_[36],_[37]!==p||_[38]!==b||_[39]!==w?(y=(0,t.jsx)("article",{className:`${O.LAYOUT_SECTION_CLASS} bg-white`,children:(0,t.jsxs)("div",{className:"mx-auto w-full max-w-[720px] lg:max-w-[1000px]",children:[p,b,w]})}),_[37]=p,_[38]=b,_[39]=w,_[40]=y):y=_[40],y}e.s(["NewsPageClient",()=>W],39194)}]);

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.