PageSourceSearch

https://hyint.typl.gov.tw/component---src-pages-news-detail-js-fa2cf089951e9f7423d0.js

js typl.gov.tw collected 2026-10-01 12:22:59 UTC 3,178 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkjumperrwd=self.webpackChunkjumperrwd||[]).push([[9895],{96110:function(e,t,n){n.r(t);var a,r,l,s=n(7867),c=n.n(s),o=n(46877),i=n.n(o),m=n(19452),p=n.n(m),u=n(67294),h=n(3343),d=n(45238),E=n(73028),g=n(37587),f=n(99593),b=n(59470),C=n(89639),w=n(20515),y=n(89493),N=(0,g.ZP)(a||(a=p()(["\n  query getNewsDetail($form: NewsForm) {\n    result: getNewsDetail(Input: $form) {\n      sn\n      subject\n      content\n      url\n      cretime\n      updtime\n      attachs {\n        attachName\n        showName\n        attachPath\n      }\n    }\n  }\n"]))),v=(0,d.a)(["common"])(r=(0,C.M)((l=function(e){function t(t){var n;return(n=e.call(this,t)||this).state={resourceType:"databases",pageContent:""},n}c()(t,e);var n=t.prototype;return n.componentDidMount=function(){this.getDetail(this.props)},n.getDetail=function(e){var t=this;f.Z.jumperrwdClient.query({query:N,variables:{form:{sn:e.search.sn}}}).then((function(e){var n=e.data.result;console.log(n),t.setState({pageContent:n})}))},n.render=function(){return u.createElement(h.Z,this.props,u.createElement("div",{className:"main sp",id:"center"},u.createElement(E.Z,null),u.createElement("section",{className:"main_content"},u.createElement("div",{className:"container"},u.createElement("a",{className:"accesskey",href:"javascript:;",id:"aC",accessKey:"C",title:this.props.t("jumperrwd.common.mainContenctArea")},":::"),u.createElement("h2",null,this.props.t("jumper.common.news.titlebar")),u.createElement("a",{href:"javascript:history.back();",className:"back"},this.props.t("hyint.common.table.back")),u.createElement("div",{className:"detail_block"},u.createElement("h3",null,(0,y.ZP)(this.state.pageContent.subject)),u.createElement("div",{className:"date_panel"},u.createElement("div",{className:"publish_time"},u.createElement("span",null,this.props.t("hyint.common.table.credate")),u.createElement("time",null,this.state.pageContent.cretime)),u.createElement("div",{className:"publish_time"},u.createElement("span",null,this.props.t("hyint.common.table.upddate")),u.createElement("time",null,this.state.pageContent.updtime))),u.createElement("div",{className:"article_content"},u.createElement("p",{dangerouslySetInnerHTML:{__html:this.state.pageContent.content}}),this.state.pageContent.url&&u.createElement("p",null,this.props.t("hyint.common.table.relurl"),":",this.state.pageContent.url.split("\n").map((function(e,t){var n=e.split(";");return"1"===n[0]?u.createElement("p",null,u.createElement(w.Z,{href:n[2],target:"_blank"},n[1])):u.createElement("p",null,u.createElement(w.Z,{href:n[2]},n[1]))}))),this.state.pageContent.attachs&&this.state.pageContent.attachs.length>0&&u.createElement("p",null,this.props.t("jumperrwd.download.relatedDownload"),":",this.state.pageContent.attachs.map((function(e,t){return u.createElement("p",null,u.createElement(w.Z,{target:"_blank",href:"/file/downloadFile/"+e.attachPath},e.showName))})))))))))},t}(u.Component),i()(l.prototype,"getDetail",[b.Nj],Object.getOwnPropertyDescriptor(l.prototype,"getDetail"),l.prototype),r=l))||r)||r;t.default=v}}]);
2//# sourceMappingURL=component---src-pages-news-detail-js-fa2cf089951e9f7423d0.js.map

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.