PageSourceSearch

https://www.spring-js.com/_next/static/chunks/pages/preview/japan/feature-141932b998af9ecf.js

js spring-js.com collected 2026-10-04 17:38:53 UTC 8,817 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3542],{4904:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/preview/japan/feature",function(){return n(6989)}])},9944:function(e,t,n){"use strict";n.d(t,{Rx:function(){return j},xJ:function(){return g}});var s=n(5893),i=n(3100),o=n(2962),l=(n(8429),n(5024),n(5126),n(8570)),r=n(3539),a=n(8766),c=n(9318),d=n(9388),u=n(9555),h=n(8078),p=n(2655),x=n(3835),v=n(913),_=(n(4012),n(1243)),m=(n(5353),n(4359));const g=e=>{const{topics_id:t,topics_group_id:n,title:_,body:g,categories:j,description:y,image:f,pageTitle:w,pageInfo:b,pagePath:N}=e,Z=w?{base:"25px",tablet:"45px"}:void 0,k=encodeURI("".concat(h.L).concat(x.O[n].slug).concat(String(t),"/")),P=(0,v.Z)();return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(o.PB,{title:"".concat(_,"\uff5c").concat(w||""),description:y||(I=g,I.replace(/(<([^>]+)>)/gi,"").substr(0,50)),openGraph:{url:k,images:[{url:f||p.J,width:640,height:400,alt:""}]}}),(0,s.jsx)(r.Z,{children:(0,s.jsxs)(l.Z,{children:[w&&(0,s.jsx)(u.Z,{children:w}),(0,s.jsx)(i.xu,{mt:Z,children:(0,s.jsxs)(c.Z,{children:[(0,s.jsx)(a.Z,{tag:j[0],shareUrl:"".concat(P),topicsGroupId:n}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(u.Z,{children:_}),(0,s.jsxs)(i.xu,{mt:{base:"24px",tablet:"82px"},children:[(0,s.jsx)(d.Z,{body:g}),(0,s.jsx)(i.xu,{mt:"40px",children:(0,s.jsx)(m.Z,{pageInfo:b,routing:"/",slug:N,detail:!0})})]})]})]})})]})})]});var I},j=async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=await(0,_.TL)(e,t);return n.list[0]}},1177:function(e,t,n){"use strict";n.d(t,{rS:function(){return B},Rx:function(){return D},AM:function(){return G}});var s=n(5893),i=(n(6831),n(3100)),o=n(9564),l=n(2962),r=n(8429),a=n(5024),c=n(5126),d=n(8570),u=n(3539),h=n(8766),p=n(9318),x=n(9388),v=n(1664),_=n.n(v),m=n(6192),g=n(1308),j=n.n(g);var y=e=>{const{thumbnail:t,access:n,access_url:i,tel:o,mail:l,href:r,image:a}=e;return(0,s.jsxs)("div",{className:j().information,children:[(0,s.jsx)("figure",{className:j().logo,children:(0,s.jsx)(m.Z,{src:a||((null===t||void 0===t?void 0:t.src)||""),alt:null===t||void 0===t?void 0:t.alt})}),(0,s.jsxs)("div",{className:j().rows,children:[(0,s.jsxs)("div",{className:j().row,children:[(0,s.jsx)("p",{className:j().title,children:"\u4f4f\u6240"}),(0,s.jsx)("p",{className:j().content,children:i?(0,s.jsx)(_(),{href:i,target:"_blank",children:n}):(0,s.jsx)("span",{children:n})})]}),(0,s.jsxs)("div",{className:j().row,children:[(0,s.jsx)("p",{className:j().title,children:"\u96fb\u8a71\u756a\u53f7"}),(0,s.jsx)("p",{className:j().content,children:o})]}),(0,s.jsxs)("div",{className:j().row,children:[(0,s.jsx)("p",{className:j().title,children:"E\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9"}),(0,s.jsx)("p",{className:j().content,children:(0,s.jsx)("a",{href:"mailto:".concat(l),children:l})})]}),(0,s.jsxs)("div",{className:j().row,children:[(0,s.jsx)("p",{className:j().title,children:"WEB\u30b5\u30a4\u30c8"}),(0,s.jsx)("p",{className:j().content,children:(0,s.jsx)("a",{href:r,target:"_blank",rel:"noreferrer",children:r})})]})]})]})},f=n(9555),w=n(8078),b=n(2655),N=n(7227),Z=n(3835),k=n(913),P=n(5359),I=n(4012),E=n(1243),S=n(3599),T=n(3631),O=n(5353),R=n(4359);const B=e=>{const{postData:{topics_id:t,topics_group_id:n,title:r,body:a,school:c,keywords:v,categories:_,date:m,description:g,image:j,pageInfo:I,pagePath:E},pageTitle:S}=e,T=P.B.tz(m,N.E),O=(0,k.Z)(),B=S?{base:"25px",tablet:"45px"}:void 0;const A=encodeURI("".concat(w.L).concat(Z.O[n].slug).concat(String(t),"/"));return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(l.PB,{title:"".concat(r,"\uff5c").concat(S||""),description:g||(D=a,D.replace(/(<([^>]+)>)/gi,"").substr(0,50)),openGraph:{url:A,images:[{url:j||b.J,width:640,height:400,alt:""}]}}),(0,s.jsx)(u.Z,{children:(0,s.jsxs)(d.Z,{children:[S&&(0,s.jsx)(f.Z,{children:S}),(0,s.jsx)(i.xu,{mt:B,children:(0,s.jsxs)(p.Z,{children:[(0,s.jsxs)(h.Z,{categories:_,keywords:v,shareUrl:O,topicsGroupId:n,children:[(0,s.jsx)(o.x,{fontSize:{base:"16px",tablet:"18px"},mt:"20px",children:r}),(0,s.jsxs)(i.xu,{mt:"25px",fontSize:{base:"18px",tablet:"16px"},children:[(0,s.jsx)(o.x,{children:(0,s.jsx)("b",{children:"\u65e5\u4ed8"})}),(0,s.jsx)(o.x,{children:T.format("YYYY.MM.DD")}
1)]})]}),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsx)(y,{...c,image:j}),(0,s.jsxs)(i.xu,{mt:"40px",children:[(0,s.jsx)(x.Z,{body:a}),(0,s.jsx)(i.xu,{mt:"40px",children:(0,s.jsx)(R.Z,{pageInfo:I,routing:"/",slug:E,detail:!0})})]})]})]})})]})})]});var D},A=e=>{switch(e){case"\u30b7\u30f3\u30ac\u30dd\u30fc\u30eb":return"singapore/school";case"\u4e2d\u56fd":return"china/school";case"\u9999\u6e2f":return"hongkong/school";case"\u30a4\u30f3\u30c9\u30cd\u30b7\u30a2":return"indonesia/school";case"\u97d3\u56fd":return"korea/school";case"\u30de\u30ec\u30fc\u30b7\u30a2":return"malaysia/school";case"\u30df\u30e3\u30f3\u30de\u30fc":return"myanmar/school";case"\u30bf\u30a4\u30e9\u30f3\u30c9":return"thailand/school";case"\u53f0\u6e7e":return"taiwan/school";case"\u30d9\u30c8\u30ca\u30e0":return"vietnam/school";default:throw Error("The country '".concat(e,"' is not supported."))}},D=async function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=await(0,E.TL)(e,t);return n.list[0]},G=async(e,t,n,s,i)=>{var o,l,d,u,h,p,x;let v=null;n?(v=await(0,T.A)("".concat(e,"?preview_token=").concat(n)),v=v.details):v=await(0,E.ZJ)(s);const{details:_,pageInfo:m}=(0,O.ZP)(v,""===i||void 0===i?0:Number(i)-1),g=[];(null===_||void 0===_?void 0:_.contents_type_nm)&&g.push({key:String(_.contents_type),value:_.contents_type_nm}),(null===_||void 0===_?void 0:_.contents_type_2)&&(null===_||void 0===_?void 0:_.contents_type_nm_2)&&g.push({key:_.contents_type_2,value:_.contents_type_nm_2}),(null===_||void 0===_?void 0:_.contents_type_3)&&(null===_||void 0===_?void 0:_.contents_type_nm_3)&&g.push({key:_.contents_type_3,value:_.contents_type_nm_3});const j=!n&&await D(e),[y,f,w,b,N]=await Promise.all([j&&await(0,I._R)(j)||Promise.resolve(null),j&&await(0,I.i1)(j)||Promise.resolve(null),j&&await(0,r.y)(null===(o=j["ad-slider"])||void 0===o?void 0:o.module_id)||Promise.resolve(null),j&&await(0,a.L)(null===j||void 0===j||null===(l=j["editor-choice"])||void 0===l?void 0:l.module_id,!0)||Promise.resolve([]),await(0,c.U)()]),Z=[];for(let r=0;r<N.length;r++)Z.push(parseInt(N[r].ext_4));const k=_&&Array.isArray(_.country)&&_.country.length>0,P=n&&k?_.country[0].label:null,R=n?null===_||void 0===_?void 0:_.topics_id:null,B={topics_id:_.topics_id,topics_group_id:_.topics_group_id,title:_.subject,body:_.contents,categories:g,date:_.ymd,school:{thumbnail:{...(0,S.G)(_,void 0,360)}},pageInfo:m,pagePath:P&&R?"".concat(A(P),"/").concat(R):"/".concat(t,"/").concat(s)};(null===_||void 0===_||null===(d=_.address)||void 0===d?void 0:d.title)&&(B.school.access=_.address.title),(null===_||void 0===_||null===(u=_.address)||void 0===u?void 0:u.url)&&(B.school.access_url=_.address.url),(null===_||void 0===_?void 0:_.phone)&&(B.school.tel=_.phone),(null===_||void 0===_?void 0:_.email)&&(B.school.mail=_.email),(null===_||void 0===_||null===(h=_.website)||void 0===h?void 0:h.url)&&(B.school.href=_.website.url),(null===_||void 0===_?void 0:_.description)&&(B.description=_.description),(null===_||void 0===_||null===(p=_.image)||void 0===p?void 0:p.url)?B.image=_.image.url:(null===_||void 0===_||null===(x=_.url)||void 0===x?void 0:x.url)?B.image=_.url.url:(null===_||void 0===_?void 0:_.url)&&(B.image=_.url);const G={country:null};return k&&(G.country=null===_||void 0===_?void 0:_.country[0].label),{props:{adBanner1:y,adBanner2:f,adSlider:w,editorChoices:b,postData:B,ads:N,delays:Z,...G}}}},6989:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return u}});var s=n(5893),i=n(1163),o=n(7294),l=n(8863),r=n(4099),a=n(9944),c=n(1177),d=n(3835);function u(){const e=(0,i.useRouter)(),[t,n]=(0,o.useState)(!1),[u,h]=(0,o.useState)(null),[p,x]=(0,o.useState)(null);if((0,o.useEffect)((()=>{if(!e.isReady)return;const t=e.query.preview_token;(async()=>{n(!0),x(null),await(async e=>{try{const{props:t}=await(0,c.AM)("/rcms-api/4/preview/content","",e);h(t)}catch(t){x(t)}})(t),n(!1)})()}),[e.isReady,e.query]),t)return(0,s.jsx)("h1",{children:"Please Wait..."});if(p instanceof Error)return(0,s.jsx)("h1",{children:p.message});if(u){const{postData:e,ads:t,page:n,...i}=u;return(0,s.jsx)(l.Z,{ads:t,children:(0,s.jsx)(r.Z,{...i,children:(0,s.jsx)(a.xJ,{...e,pageTitle:d.O[d.Yc].pageTitle})})})}return(0,s.jsx)("div",{children:"No data"})}},1308:function(e){e.exports={information:"style_information__TKIAb",logo:"style_logo__V0j1O",rows:"style_rows__eiiu_",row:"style_row__gOP3x",title:"style_title__3SVh2",content:"style_content__cB1Oa"}}},function(e){e.O(0,[6154,3961,3125,7171,9774,2888,179],(function(){return t=4904,e(e.s=t);var t}));var t=e.O();_N_E=t}]);

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.