PageSourceSearch

https://member.fsct.com/_next/static/chunks/pages/utilComponent/Main/LoanCredit-a1992f750bc013847812.js

js fsct.com collected 2026-09-24 11:19:42 UTC 7,973 bytes, 1 lines download raw bytes

1_N_E=(window.webpackJsonp_N_E=window.webpackJsonp_N_E||[]).push([[86],{"9r+9":function(t,e,a){"use strict";a.r(e);var n=a("o0o1"),i=a.n(n),s=a("HaE+"),l=a("1OyB"),o=a("vuIU"),d=a("JX7q"),r=a("Ji7U"),c=a("md7G"),p=a("foSv"),u=a("rePB"),f=a("q1tI"),h=a.n(f),g=a("8Kt/"),m=a.n(g),y=a("BMrR"),x=a("kPKH"),v=a("wCAj"),b=a("kaz8"),O=a("nOHt"),C=a.n(O),w=a("WM+0"),N=a("VlGh"),T=a("xtEs"),L=a("yLiY"),E=a.n(L),S=a("Y0NT"),k=a("/MKj"),A=a("fmKo"),_=a("fH4n"),j=a("9kay"),M=h.a.createElement;function R(t,e){var a=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),a.push.apply(a,n)}return a}function D(t){for(var e=1;e<arguments.length;e++){var a=null!=arguments[e]?arguments[e]:{};e%2?R(Object(a),!0).forEach((function(e){Object(u.a)(t,e,a[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(a)):R(Object(a)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(a,e))}))}return t}function I(t){var e=function(){if("undefined"===typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var a,n=Object(p.a)(t);if(e){var i=Object(p.a)(this).constructor;a=Reflect.construct(n,arguments,i)}else a=n.apply(this,arguments);return Object(c.a)(this,a)}}var B=E()().publicRuntimeConfig,P=function(t){Object(r.a)(a,t);var e=I(a);function a(t){var n;return Object(l.a)(this,a),n=e.call(this,t),Object(u.a)(Object(d.a)(n),"fetchCreditLoanData",Object(s.a)(i.a.mark((function t(){var e;return i.a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:n.setState({loading:!0}),e={menu_component:Object(T.k)(C.a.pathname)},w.a.fetchCreditLoan(e).then((function(t){if(t.response){if(t.response.status>=300)throw t.response}else if("Network Error"==t.message)throw"networkError";t.RESULT?n.setState({loanCreditList:t.CREDIT}):n.setState(D({},n.props.checkResultFalseMessage(t))),n.setState({loading:!1,isInitialLoading:!1})})).catch((function(t){n.setState({loading:!1,isInitialLoading:!1}),n.setState(D({},n.props.checkCatchMessage(t)))}));case 3:case"end":return t.stop()}}),t)})))),n.state={statusCode:200,errData:null,loading:!1,notifyOn:0,pathName:"",selectedValue:0,isSelected:0,loanCreditBalance:12e5,loanCreditList:[],isInitialLoading:!0},n}return Object(o.a)(a,[{key:"componentDidMount",value:function(){this.setState({pathName:Object(T.k)(C.a.pathname)}),this.fetchCreditLoanData()}},{key:"renderLoanCreditRemark",value:function(){return M(y.a,null,M(x.a,{span:24,style:{paddingBottom:"20px"}},M("div",{style:{padding:"20px",background:"var(--gd-title-header)",color:"white",borderRadius:5}},M("div",{style:{flexDirection:"row",display:"flex",padding:"0 1em 0.5em 0",width:"100%"}},M("div",{style:{padding:"0 0.5em",fontWeight:"bold",fontSize:"1.5em"}},_.a.t("Annotation"))),M("div",{style:{paddingLeft:"20px"}},M("div",{style:{padding:"5px 0"}},_.a.t("AnnotationHeader")),M("div",{style:{padding:"5px 0"}},_.a.t("AnnotationCredit1")),M("div",{style:{padding:"5px 0"}},_.a.t("AnnotationCredit2")),M("div",{style:{padding:"5px 0"}},_.a.t("AnnotationCredit3"))))))}},{key:"render",value:function(){var t=this;return this.state.statusCode>=300&&this.state.statusCode<500?M(S.default,{statusCode:this.state.statusCode,err:this.state.errData,showModalLogout:function(){return t.props.showModalLogout()}}):M("div",{className:"main-layout",style:{position:"relative"}},M("div",{style:{width:"100%"}},M(N.a,{checked:!this.state.loading||!this.state.isInitialLoading}),M(m.a,null,M("link",{rel:"stylesheet",href:"".concat(B.cssFolder,"/loancredit.css")})),M("div",{className:"main-content",style:{width:"100%"}},M("div",{className:"sub-content"},this.renderLoanCreditRemark(),M(y.a,{gutter:{md:0,lg:20}},this.state.loanCreditList.map((function(e,a){return M(x.a,{key:a,className:"col-loan-credit",xs:24,sm:24,md:24,lg:24,xl:12},M("div",{className:"shadow-content",style:{backgroundColor:"white",borderRadius:"4px",overflow:"hidden",flexDirection:"row",display:"flex",alignItems:"center",marginBottom:20}},M(y.a,{style:{width:"100%"}},M(x.a,{className:"col-loan-credit",xs:24,sm:24,md:24,lg:24,xl:24},M("div",{style:{padding:"20px 0"}},M("div",{style:{flex:1,flexDirection:"column",display:"flex",justifyContent:"center",padding:"0 20px",borderBottom:"solid 5px #F9FAFB"}},M("div",{style:{flexDirection:"row",display:"flex",padding:"0 1em 1em 0",width:"100%"}},M("div",{style:{width:"5px",borderRadius:"4px",background:"var(--gd-title-header)",paddingLeft:"5px"}}),M("div",{style:{padding:"0 0.5em",fontSize:"1.5em"}},e.LOAN_DESC)),M("div",{style:{flexDirection:"column",display:"flex",paddingLeft:"20px"}},M("div",{style:{flexDirection:"column",display:"flex",paddingLeft:"10px"}},M(y.a,null,M(x.a,{xs:0,sm:24,md:24,lg:24,xl:24,xxl:24},M(v.a,{className:"description-table",useFixedHeader:!1,bordered:!1,size:"small",pagination:!1,showHeader:!1,dataSource:[{key:"DEPTACCOUNT_NO",label:"".concat(_.a.t("MaxCommonCredit")," :"),value:M("div",null,M("span",{className:"highlight-text",style:{paddingRight:"10px"}},e.MAXLOAN_AMT)," ",_.a.t("THB"))},A.default.IS_ESTIMATECREDIT?{key:"LAST_OPERATE_DATE_FORMAT",label:"".concat(_.a.t("MustAddShares")," :"),value:M("div",null,M("span",{className:"highlight-text",style:{paddingRight:"10px"}},"0.00")," ",_.a.t("THB"))}:{key:"LAST_OPERATE_DATE_FORMAT",label:"".concat(_.a.t("RemainingLoan")," :"),value:M("div",null,M("span",{className:"highlight-text",style:{paddingRight:"10px"}},e.LOAN_AMT)," ",_.a.t("THB"))}],columns:[{title:"label",dataIndex:"label",key:"label",className:"description-label"},{title:"value",dataIndex:"value",key:"value",render:function(t,e){e.key;return M("div",{style:{paddingBottom:0}},t)}}]})),M(x.a,{xs:24,sm:0,md:0,lg:0,xl:0,xxl:0},M(y.a,{className:"row-header"},M(x.a,{span:24},M("div",{className:"label-header"},"".concat(_.a.t("MaxCommonCredit")," : "))),M(x.a,{span:24},M("span",{className:"highlight-text"},e.MAXLOAN_AMT)," ",_.a.t("THB"))),A.default.IS_ESTIMATECREDIT&&M(y.a,{className:"row-header"},M(x.a,{span:24},M("div",{className:"label-header"},"".concat(_.a.t("MustAddShares")," : "))),M(x.a,{span:24},M("span",{className:"highlight-text"},"0.00")," ",_.a.t("THB"))))))),A.default.IS_ESTIMATECREDIT&&M("div",{key:a,className:"loan-sub",onClick:function(){1==t.state.loanCreditList[a].isSelected?(t.state.loanCreditList[a].isSelected=!1,t.forceUpdate()):(t.state.loanCreditList[a].isSelected=!0,t.forceUpdate())},style:{opacity:e.isSelected?1:.5,paddingLeft:20}},M("div",{style:{padding:"10px 0"}},_.a.t("SettleOldContract")),M("div",{style:{paddingLeft:"10px",flexDirection:"row",alignItems:"center",display:"flex"}},M("div",{style:{padding:"1em"}},M(b.a,{checked:e.isSelected,onChange:function(e){t.state.loanCreditList[a].isSelected=e.target.checked,t.forceUpdate()}})),M("div",null,M("div",{style:{padding:"5px 0"}},M("span",{className:"sub-text"},_.a.t("ContractNo"))," ",e.contract_no," ",M("span",{className:"sub-text"},e.contract_type)),M("div",{style:{padding:"5px 0"}},M("span",{className:"sub-text"},"".concat(_.a.t("LoanBalance")," :"))," ",M("span",{className:"highlight-text"},Object(T.p)(e.contract_balance))," ",_.a.t("THB")))))),A.default.IS_ESTIMATECREDIT&&M("div",{style:{flexDirection:"column",display:"flex",paddingLeft:"40px",paddingRight:"20px",paddingTop:"20px"}},M("div",null,M("span",{className:"sub-text"},_.a.t("LoanEstimate"))," ",M("span",{className:"highlight-text"},e.MAXLOAN_AMT)," ",_.a.t("THB"))))))))})))))))}}]),a}(f.PureComponent);e.default=Object(k.b)((function(t){return{}}),(function(t){return{}}))(Object(j.c)()(P))},xHaM:function(t,e,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/utilComponent/Main/LoanCredit",function(){return a("9r+9")}])}},[["xHaM",0,2,3,4,8,5,1,6,7,9,10,11]]]);

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.