1(this["webpackJsonpfetnet-react"]=this["webpackJsonpfetnet-react"]||[]).push([[72],{1244:function(e,t,a){"use strict";a.r(t);var n=a(13),o=a(14),i=a(40),r=a(33),s=a(19),c=a(36),l=a(1914),u=a(20),m=a(114),p=a(238),d=a(129),h=a(1384),f=a(0),g=a.n(f),y=a(1383),b=a(1387),v=a(1385),E=a(1412),S=a(1406),k=a(398),w=a(1402),N=a(1399),I=a(166),C=a.n(I),x=a(400),A=a.n(x),M=a(1410),L=a(1391),_=a(1456),D=a(1389),P=a(1390),O=a(1436),T=a(136),j=a(237),B=a(1404);var R=function(e){function t(e){var a,o,c,l;return Object(n.a)(this,t),o=this,c=t,l=[e],c=Object(s.a)(c),(a=Object(i.a)(o,Object(r.a)()?Reflect.construct(c,l||[],Object(s.a)(o).constructor):c.apply(o,l))).queryMultiplePaymentInfo=function(){T.a("/eservice/api/paymentController/queryMultiplePaymentInfo",{},a.state.transId).then((function(e){if(j.r(e)&&"s"===e.processResult.status){var t="",n="",o=e.multipleAccountStatus;if("NEW"===o?(t="\u89aa\u611b\u7684\u7528\u6236\uff0c\u60a8\u7684\u9580\u865f\u76ee\u524d\u5c1a\u672a\u6709\u5e33\u55ae\u7522\u751f\uff0c\u7121\u5e33\u6b3e\u9700\u7e73\u7d0d\u3002",n="ES_MoreMSISDNPayment_NoBill_\u5e6b\u5176\u4ed6\u9580\u865f\u7e73\u8cbb"):"ZERO"===o?(t="\u76ee\u524d\u7121\u5176\u9918\u9580\u865f\u9700\u8981\u7e73\u8cbb",n="ES_MoreMSISDNPayment_OtherMSISDNNoPay_\u5e6b\u5176\u4ed6\u9580\u865f\u7e73\u8cbb"):"TOOMUCH"===o?(t="\u56e0\u540d\u4e0b\u9580\u865f\u8f03\u591a\uff0c\u5efa\u8b70\u60a8\u4f7f\u7528\u539f\u65b9\u5f0f\u9032\u884c\u7e73\u8cbb",n="ES_MoreMSISDNPayment_OverMSISDN_\u5e6b\u5176\u4ed6\u9580\u865f\u7e73\u8cbb"):"NOMULTIPLE"===o?(t="\u540d\u4e0b\u67e5\u7121\u591a\u9580\u865f",n="ES_MoreMSISDNPayment_NoMoreMSISDN_\u5e6b\u5176\u4ed6\u9580\u865f\u7e73\u8cbb"):"NOIDENTITY"===o&&(t="\u8a72\u8eab\u5206\u66ab\u7121\u958b\u653e\u6b64\u529f\u80fd",n="ES_MoreMSISDNPayment_NotQualified_\u5e6b\u5176\u4ed6\u9580\u865f\u7e73\u8cbb"),null!=e.multipleHappyGoInfoView.hgOptionViewList&&e.multipleHappyGoInfoView.hgOptionViewList.length>0){var i=a.state.hgOptionList;e.multipleHappyGoInfoView.hgOptionViewList.forEach((function(e){return i.push({text:e.points+" \u9ede",value:e.trxFeeTo,id:e.id})})),a.setState({pointsEnough:!0,hgOptionList:i})}a.setState({multipleHappyGoInfoView:e.multipleHappyGoInfoView,multiplePaymentInfoViewList:e.multiplePaymentInfoViewList,multipleAccountStatus:o,loginMsisdn:e.loginMsisdn,telecomCouponInfoList:e.telecomCouponInfoList,loginAccountId:e.loginAccountId,lowestBoundedAmount:e.lowestBoundedAmount,noAuthMsg:t,noAuthFetkeyAndAA:n,isStep1Loading:!1})}else a.props.history.push({pathname:"/resultController/ResultPage",search:"?channelId="+window.channelId},{type:"fail",pageName:"\u7e73\u5176\u4ed6\u9580\u865f",title:"\u7cfb\u7d71\u7e41\u5fd9\u4e2d\uff0c\u8acb\u7a0d\u5f8c\u518d\u8a66\uff0c\u8b1d\u8b1d!",description:e.processResult.message})}))},a.queryBankList=function(){O.d(a.state.transId).then((function(e){if("s"==e.processResult.status){var t=[];e.bankInfoList.forEach((function(e){return t.push({text:e.code+e.name,value:e.code,subCode:e.subCode,name:e.name,autoPay:e.autoPay})})),a.setState({bankList:t})}}))},a.getNoticeAndSweetRemind=function(){P.a("/payController/multiplePayDepositPage",!1,a.state.transId).then((function(e){if(j.r(e)&&"s"===e.processResult.status){var t=e.noteMap.NOTICE_BANK,n=e.sweetRemindMap.CFG_MSG_CODE_REMIND_BANK,o=e.sweetRemindMap.CFG_MSG_CODE_REMIND_CREDIT;a.setState({sweetheartTitle:"\u8cbc\u5fc3\u5c0f\u53ee\u5680",sweetheartContent:n,bankNotice:t,bankSweetHeart:n,creditSweetheart:o})}}))},a.submit=function(e){a.setState({isSubmited:!0}),"bankOption"===a.state.form.actionType.value?a.execBankPay():"credOption"===a.state.form.actionType.value&&a.getCC3DUrl()},a.execBankPay=function(){var e=a.state.bankList.find((function(e){return e.value===a.state.form.bank_code.value})),t={hgOptionId:a.state.hgOptionList.find((function(e){return e.value===a.state.form.happygo.value})).id,bankCode:e.value,bankAccount:a.state.form.bank_account.value,accountIdList:a.state.form.payAccountList,couponSnList:a.state.couponSnList.length>0?a.state.couponSnList:null};T.a("/eservice/api/paymentController/execMultiplePaymentBankPay",t,a.state.transId).then((function(e){var t="?functionName=multiplePayDepositPageBank";if(j.r(e)&&"s"===e.processResult.status)a.goToResultPage("success","\u7e73\u8cbb\u6210\u529f","\u60a8\u5df2\u65bc".concat(A()(new Date).format("MM/DD HH:mm"),"\uff0c\u5b8c\u6210\u7e73\u8cbb ").concat(Object(S.a)(a.state.billAmount),"\u5143\u3002<br>").concat(null!=e.forSuspendMessage?e.forSuspendMessage:""),"ES_MoreMSISDNPaymentBankSuccess_\u8fd4\u56de\u591a\u9580\u865f","ES_MoreMSISDNPaymentBankSuccess_\u524d\u5f80\u500b\u4eba\u5c08\u5340",t);else{var n=e.processResult.message;t+="&errorId="+e.processResult.errorId,a.goToResultPage("fail","\u7e73\u8cbb\u5931\u6557",j.r(n)?n:"\u76ee\u524d\u7cfb\u7d71\u7e41\u5fd9\uff0c\u8acb\u7a0d\u5f8c\u518d\u8a66\uff0c\u6216\u8acb\u6d3d\u5ba2\u670d\u3002","ES_MoreMSISDNPaymentBankFail_\u8fd4\u56de\u7e73\u5176\u4ed6\u9580\u865f","ES_MoreMSISDNPaymentBankFail_\u524d\u5f80\u500b\u4eba\u5c08\u5340",t)}}))},a.execZeroPaymentMultiPay=function(){a.setState({isSubmited:!0});var e={hgOptionId:a.state.hgOptionList.find((function(e){return e.value===a.state.form.happygo.value})).id,accountIdList:a.state.form.payAccountList,couponSnList:a.state.couponSnList.length>0?a.state.couponSnList:null};T.a("/eservice/api/paymentController/execZeroPaymentMultiPay",e,a.state.transId).then((function(e){if(j.r(e)&&"s"===e.processResult.status)a.goToResultPage("success","\u7e73\u8cbb\u6210\u529f","\u60a8\u5df2\u65bc".concat(A()(new Date).format("MM/DD HH:mm"),"\uff0c\u5b8c\u6210\u7e73\u8cbb ").concat(Object(S.a)(a.state.billAmount),"\u5143\u3002<br>").concat(null!=e.forSuspendMessage?e.forSuspendMessage:""),"ES_MoreMSISDNPaymentBankSuccess_\u8fd4\u56de\u591a\u9580\u865f","ES_MoreMSISDNPaymentBankSuccess_\u524d\u5f80\u500b\u4eba\u5c08\u5340");else{var t=e.processResult.message;a.goToResultPage("fail","\u7e73\u8cbb\u5931\u6557",j.r(t)?t:"\u76ee\u524d\u7cfb\u7d71\u7e41\u5fd9\uff0c\u8acb\u7a0d\u5f8c\u518d\u8a66\uff0c\u6216\u8acb\u6d3d\u5ba2\u670d\u3002","ES_MoreMSISDNPaymentBankFail_\u8fd4\u56de\u7e73\u5176\u4ed6\u9580\u865f","ES_MoreMSISDNPaymentBankFail_\u524d\u5f80\u500b\u4eba\u5c08\u5340")}}))},a.getCC3DUrl=function(){var e=a.state.form.credit_number.value.split(/\s+/).join(""),t={hgOptionId:a.state.hgOptionList.find((function(e){return e.value===a.state.form.happygo.value})).id,creditcardNumber:e,checkNumber:a.state.form.credit_code.value,creditcardDueDateMonth:a.state.form.credit_month.value,creditcardDueDateYear:a.state.form.credit_year.value,accountIdList:a.state.form.payAccountList,couponSnList:a.state.couponSnList.length>0?a.state.couponSnList:null};T.a("/eservice/api/paymentController/getPostpaidMultiplePaymentCreditCard3DUrl",t,a.state.transId).then((function(e){var t="?functionName=multiplePayDepositPageCredit";if(j.r(e)&&"s"===e.processResult.status)e.run3DFlow?window.location.href=e.url:a.goToResultPage("success","\u7e73\u8cbb\u6210\u529f","\u60a8\u5df2\u65bc".concat(A()(new Date).format("MM/DD HH:mm"),"\uff0c\u5b8c\u6210\u7e73\u8cbb ").concat(Object(S.a)(a.state.billAmount),"\u5143\u3002<br>").concat(null!=e.forSuspendMessage?e.forSuspendMessage:""),"ES_MoreMSISDNPaymentCreditSuccess_\u8fd4\u56de\u591a\u9580\u865f","ES_MoreMSISDNPaymentCreditSuccess_\u524d\u5f80\u500b\u4eba\u5c08\u5340",t);else{if("T_004_013"===e.processResult.code)return void window.location.reload();t+="&errorId="+e.processResult.errorId;var n=e.processResult.message;a.goToResultPage("fail","\u7e73\u8cbb\u5931\u6557",j.r(n)?n:"\u76ee\u524d\u7cfb\u7d71\u7e41\u5fd9\uff0c\u8acb\u7a0d\u5f8c\u518d\u8a66\uff0c\u6216\u8acb\u6d3d\u5ba2\u670d\u3002","ES_MoreMSISDNPaymentCreditFail_\u8fd4\u56de\u7e73\u5176\u4ed6\u9580\u865f","ES_MoreMSISDNPaymentCreditFail_\u524d\u5f80\u500b\u4eba\u5c08\u5340",t)}}))},a.nextStep=function(){1==a.state.step&&a.checkAvailableTelecomCoupon(),a.setState({step:a.state.step+1})},a.previousStep=function(){2==a.state.step&&a.resetTelecomCouponAmountRelated(),a.setState({step:a.state.step-1})},a.formatSubMsisdnList=function(e,t){var a="";return t.forEach((function(e){a+=e+"\u3001"})),a=a.slice(0,a.length-1),a+="\u70ba\u5408\u4f75\u5e33\u55ae\u9580\u865f\uff0c\u4e26\u4ee5"+e+"\u70ba\u4e3b\u5e33\u55ae\u9580\u865f\u3002"}
1,a.onChangeHappyGo=function(e,t){a.calculateAmount(t,"happyGoOnChange"),a.onChangeForm(e,t)},a.onChangePayType=function(e,t){"credOption"===t?(a.setState({sweetheartTitle:"\u8cbc\u5fc3\u5c0f\u53ee\u5680",sweetheartContent:a.state.creditSweetheart}),a.disableButtonByCredit()):"bankOption"===t&&(a.setState({sweetheartTitle:"\u8cbc\u5fc3\u5c0f\u53ee\u5680",sweetheartContent:a.state.bankSweetHeart}),a.enableButtonByCredit()),a.onChangeForm(e,t)},a.checkAvailableTelecomCoupon=function(){var e=a.state,t=e.telecomCouponInfoList,n=e.loginBillAmount;if(null!=t&&0!=t.length){var o=null,i=!0,r=!1,s=!0;a.state.form.payAccountList.includes(a.state.loginAccountId)?(o=[],t.map((function(e){e.createDate=B.c(e.createDate),e.startDate=B.c(e.startDate),e.endDate=B.c(e.endDate);var t=e;n<e.value+a.state.lowestBoundedAmount?(t.canUse=!1,s=!1):(i=!1,t.canUse=!0),(new Date).getTime()-new Date(t.createDate).getTime()>a.state.noticeCouponTimeDiff&&(r=!0),t.isClick=!1,o.push(t)}))):(o=[],s=!1,t.map((function(e){e.createDate=B.c(e.createDate),e.startDate=B.c(e.startDate),e.endDate=B.c(e.endDate);var t=e;t.canUse=!1,(new Date).getTime()-new Date(t.createDate).getTime()>a.state.noticeCouponTimeDiff&&(r=!0),t.isClick=!1,o.push(t)}))),a.setState({telecomCouponInfoViewList:o,telecomCouponErrorMessage:i,telecomCouponNoticeMessage:r,telecomCouponButton:s,overpayment:a.calculateOverPayment(a.state.couponDiscountAmount,a.state.totalAmount),isLowestAmount:a.checkIsLowestAmount(a.state.discountAmount,a.state.happyGoDiscountAmount)})}else a.setState({overpayment:a.calculateOverPayment(a.state.couponDiscountAmount,a.state.totalAmount),isLowestAmount:a.checkIsLowestAmount(a.state.discountAmount,a.state.happyGoDiscountAmount)})},a.couponOnChange=function(e){var t=[],n=a.state.telecomCouponInfoViewList,o=0,i=!1;n.map((function(a){a.sn==e.currentTarget.value&&(a.isClick=!a.isClick),a.isClick?(t.push(a.sn),o+=a.value):i=!0})),a.setState({telecomCouponInfoViewList:n,couponSnList:t,canAllCheck:i}),a.calculateAmount(o,"couponOnChange")},a.calculateAmount=function(e,t){var n=a.state,o=n.billAmount,i=n.totalAmount,r=n.discountAmount,s=n.couponDiscountAmount,c=n.happyGoDiscountAmount,l=n.overpayment;switch(t){case"couponOnChange":s=e,r=Number(c)+Number(e);break;case"happyGoOnChange":c=e,r=Number(s)+Number(e)}i=Number(o)-Number(r),l=a.calculateOverPayment(s,i),a.setState({totalAmount:i,happyGoDiscountAmount:c,couponDiscountAmount:s,discountAmount:r,overpayment:l,isLowestAmount:a.checkIsLowestAmount(r,c)})},a.calculateOverPayment=function(e,t){var n=!1,o=a.state,i=o.loginBillAmount,r=o.lowestBoundedAmount,s=Number(i)-Number(e)<r;return(t<r||0==i&&e>0||i>0&&e>0&&s)&&(n=!0),n},a.couponCheck=function(e){var t=a.state,n=t.telecomCouponInfoViewList,o=t.billAmount,i=t.totalAmount,r=t.discountAmount,s=t.couponDiscountAmount,c=t.happyGoDiscountAmount,l=t.overpayment,u=[];s=0,n.map((function(t){e&&t.canUse?(t.isClick=!0,u.push(t.sn),s+=t.value):!e&&t.canUse&&(t.isClick=!1)})),r=Number(c)+Number(s),i=Number(o)-Number(r),l=a.calculateOverPayment(s,i),a.setState({telecomCouponInfoViewList:n,canAllCheck:!e,couponSnList:u,couponDiscountAmount:s,discountAmount:r,totalAmount:i,overpayment:l,isLowestAmount:a.checkIsLowestAmount(r,c)})},a.resetTelecomCouponAmountRelated=function(){var e=a.state,t=e.billAmount,n=e.totalAmount,o=e.couponDiscountAmount,i=e.discountAmount,r=e.happyGoDiscountAmount;o>0&&(n=Number(t)-Number(r),o=0,i=r),a.setState({totalAmount:n,couponDiscountAmount:o,discountAmount:i,canAllCheck:!0,isLowestAmount:!1})},a.checkIsLowestAmount=function(e,t){var n=!1,o=a.state.form.payAccountList,i=a.state,r=i.billAmount,s=i.amountZero,c=i.loginAccountId,l=i.loginBillAmount,u=Array.isArray(o)?o.length:0;if(1==u&&null!=c&&c==o[0])n=Number(r)-Number(e)==s;else if(1==u&&null!=c&&c!=o[0])n=Number(r)-Number(t)==s;else if(u>1&&null!=c){if(o.includes(c))n=Number(e)-Number(t)<=l&&Number(r)-Number(e)==0;else n=Number(r)-Number(t)==0}return n},a.goToResultPage=function(e,t,n,o,i,r){a.props.history.push({pathname:"/resultController/ResultPage",search:r+"&channelId="+window.channelId},{type:e,pageName:"bankOption"===a.state.form.actionType.value?"\u9280\u884c\u7dda\u4e0a\u7e73\u8cbb":"\u4fe1\u7528\u5361\u7dda\u4e0a\u7e73\u8cbb",title:t,description:n,actions:[{text:"success"===e?"\u8fd4\u56de\u591a\u9580\u865f\u7e73\u8cbb":"\u8fd4\u56de\u7e73\u5176\u4ed6\u9580\u865f",link:"success"===e?"/payController/multiplePayDepositPage?channelId="+window.channelId:"/payController/payPage?channelId="+window.channelId,btnStyle:"primary",fetkey:o,dataTrackingId:o},{text:"\u524d\u5f80\u500b\u4eba\u5c08\u5340",link:"/?channelId="+window.channelId,btnStyle:"secondary",fetkey:i,dataTrackingId:i}]})},a.onChangeForm=function(e,t){var n=Object.assign(a.state.form);n[e].value=t,a.setState({form:n})},a.enableButtonByBank=function(){a.setState({canSubmitByBank:!0})},a.disableButtonByBank=function(){a.setState({canSubmitByBank:!1})},a.enableButtonByCredit=function(){a.setState({canSubmitByCredit:!0})},a.disableButtonByCredit=function(){a.setState({canSubmitByCredit:!1})},a.setInputFilter=function(e,t){["input","keydown","keyup","mousedown","mouseup","select","contextmenu","drop"].forEach((function(a){e.addEventListener(a,(function(){t(this.value)?(this.oldValue=this.value,this.oldSelectionStart=this.selectionStart,this.oldSelectionEnd=this.selectionEnd):this.hasOwnProperty("oldValue")?(this.value=this.oldValue,this.setSelectionRange(this.oldSelectionStart,this.oldSelectionEnd)):this.value=""}))}))},a.form=g.a.createRef(),a.bankAccountInput=g.a.createRef(),a.state={isMobile:"undefined"!==typeof window&&window.innerWidth<480,step:1,transId:null,isStep1Loading:!0,isSubmited:!1,canSubmitByBank:!0,canSubmitByCredit:!0,form:{payAccountList:[],actionType:{value:"bankOption",required:!0}
1,happygo:{value:"0",required:!0},credit_number:{value:"",required:!0},credit_year:{value:null,required:!0},credit_month:{value:null,required:!0},credit_code:{value:"",required:!0},bank_code:{value:"",required:!0},bank_account:{value:"",required:!0},agree:{value:!1,required:!0}},multipleHappyGoInfoView:{points:"",endDate:"",duePoints:"",dueDate:""},pointsEnough:!1,hgOptionList:[{text:"\u8acb\u9078\u64c7",value:"0",id:"-1"}],multiplePaymentInfoViewList:[],multipleAccountStatus:"",loginMsisdn:"",bankList:[],noAuthMsg:"",noAuthFetkeyAndAA:"",billAmount:0,totalAmount:0,loginBillAmount:0,sweetheartTitle:"",sweetheartContent:"",bankNotice:"",bankSweetHeart:"",creditSweetheart:"",telecomCouponInfoList:null,telecomCouponInfoViewList:null,telecomCouponErrorMessage:!1,telecomCouponNoticeMessage:!1,telecomCouponButton:!1,canAllCheck:!0,discountAmount:0,couponDiscountAmount:0,happyGoDiscountAmount:0,lowestBoundedAmount:0,couponSnList:[],noticeCouponTimeDiff:"7776000000",overpayment:!1,loginAccountId:"",isLowestAmount:!1,amountZero:"0"},a.calculateTotal=a.calculateTotal.bind(a),a.recordPayAccount=a.recordPayAccount.bind(a),a.props.trackPageViewStart(),a}return Object(c.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){var e=this;T.d(this.props).then((function(t){1==t.pass&&(e.setState({transId:t.transId}),e.queryMultiplePaymentInfo(),e.queryBankList(),e.getNoticeAndSweetRemind(),"undefined"!==typeof window&&window.addEventListener("resize",(function(t){e.setState({isMobile:window.innerWidth<480})})),e.props.onPageReady&&e.props.onPageReady())})),this.props.trackPageViewEnd({referrerURL:window.referrerURL})}},{key:"componentDidUpdate",value:function(){3===this.state.step&&"bankOption"===this.state.form.actionType.value&&null!=this.bankAccountInput.current&&this.setInputFilter(this.bankAccountInput.current.getElementsByTagName("input")[0],(function(e){return/^\d*$/.test(e)}))}},{key:"calculateTotal",value:function(e,t,a){var n=this.state,o=n.billAmount,i=n.totalAmount,r=n.loginBillAmount;t?(o+=e,i+=e):(o-=e,i-=e),t&&a==this.state.loginAccountId?r+=e:t||a!=this.state.loginAccountId||(r-=e),this.setState({billAmount:o,totalAmount:i,loginBillAmount:r})}},{key:"recordPayAccount",value:function(e){var t=this.state.form.payAccountList;if("-1"==t.indexOf(e))t.push(e);else{var a=t.indexOf(e);t.splice(a,0==a?a+1:a)}this.onChangeForm("payAccountList",t)}},{key:"render",value:function(){var e=this;return g.a.createElement("main",null,g.a.createElement(v.a,{pageTitle:"\u5e33\u55ae/\u7e73\u8cbb",button:{text:"\u56de\u500b\u4eba\u5c08\u5340",link:"/?channelId="+window.channelId}}),g.a.createElement(k.Helmet,null,g.a.createElement("title",null,"\u7e73\u5176\u4ed6\u9580\u865f-\u9060\u50b3\u96fb\u4fe1FETnet")),g.a.createElement(b.a,{title:"\u7e73\u5176\u4ed6\u9580\u865f",image:{md:"/resources/cbu/e-service/images/cbu-form-banner-1440-x-156.png",sm:"/resources/cbu/e-service/images/cbu-form-banner-375-x-147.png"}}),this.state.isStep1Loading?g.a.createElement("div",{className:"is-api-loading"}):g.a.createElement("div",{className:1===this.state.step?"d-block":"d-none"},"NORMAL"===this.state.multipleAccountStatus?g.a.createElement("section",{className:"pt-2 pt-md-5"},g.a.createElement("div",{className:"fui-container"},g.a.createElement("div",{className:"paper"},g.a.createElement("h4",{className:"mt-2"},"\u8acb\u9078\u64c7\u9580\u865f"),g.a.createElement("div",{className:"form-group mb-0"},g.a.createElement("div",{className:"checkbox-group"},null!=this.state.multiplePaymentInfoViewList&&this.state.multiplePaymentInfoViewList.length>0?this.state.multiplePaymentInfoViewList.map((function(t,a){return g.a.createElement("label",{className:"checkbox is-icon-box",style:{width:"100%",margin:"0 12px 12px 0"}},g.a.createElement("input",{type:"checkbox",value:-1!=e.state.form.payAccountList.indexOf(t.accountId),onClick:function(){var a=-1!=e.state.form.payAccountList.indexOf(t.accountId);e.calculateTotal(parseInt(t.amount),!a,t.accountId),e.recordPayAccount(t.accountId)}}),g.a.createElement("div",{className:"content",style:{padding:e.state.isMobile?"10px 20px 0px 52px":"30px 30px 30px 72px",fontSize:"1rem",color:"#202020",flexDirection:"row",justifyContent:"space-between"}},g.a.createElement(l.a,{container:!0,spacing:2},g.a.createElement(l.a,{item:!0,xs:12,sm:9,className:"align-left"},g.a.createElement("div",{style:{borderRight:e.state.isMobile?"":"2px s
1olid #ebebeb"}},g.a.createElement("h3",{className:"title mb-0"},t.msisdn,null!=t.subMsisdnList&&t.subMsisdnList.length>0?g.a.createElement(E.a,{content:g.a.createElement("i",{className:"icon-information is-text-darkgray50",style:{top:"-6px"}}),trigger:"click",tooltip:e.formatSubMsisdnList(t.msisdn,t.subMsisdnList)}):null),g.a.createElement("div",{className:t.expired?"is-text-red30":"is-text-darkgray50"},"\u7e73\u8cbb\u671f\u9650\uff1a",t.dueDate))),g.a.createElement(l.a,{item:!0,xs:12,sm:3,className:"align-right"},g.a.createElement("div",{className:"is-text-darkgray50",style:{fontSize:e.state.isMobile?"0.9rem":"1rem",float:e.state.isMobile?"left":""}},"\u61c9\u7e73\u91d1\u984d"),g.a.createElement("h2",{className:"price mb-0"},Object(S.a)(t.amount),"\u5143")))))})):null)),this.state.billAmount>0&&g.a.createElement("div",{className:"align-right",style:{padding:this.state.isMobile?"20px 20px 20px 20px":"20px 30px 20px 30px",display:"block",width:"100%",margin:"0 12px 6px 0",border:"2px solid #E8ECF0"}},g.a.createElement("h6",{className:"mb-0 mt-1",style:{float:"left"}},"\u7e73\u8cbb\u7e3d\u984d"),g.a.createElement("h2",{className:"is-text-red30 mb-0"},Object(S.a)(this.state.billAmount),"\u5143"))),g.a.createElement("div",{className:"page-action"},this.state.billAmount>0&&g.a.createElement(y.a,{btnStyle:"primary",size:"large",onClick:function(t){return e.nextStep(t)}},"\u4e0b\u4e00\u6b65"),g.a.createElement(y.a,{btnStyle:"secondary",size:"large",link:"/payController/payPage?channelId="+window.channelId,dataTrackingId:"ES_MoreMSISDNPayment_\u5e6b\u5176\u4ed6\u9580\u865f\u7e73\u8cbb",fetkey:"ES_MoreMSISDNPayment_\u5e6b\u5176\u4ed6\u9580\u865f\u7e73\u8cbb"},"\u5e6b\u5176\u4ed6\u9580\u865f\u7e73\u8cbb")))):g.a.createElement("section",{className:"pt-2 pt-md-5"},g.a.createElement("div",{className:"fui-container"},g.a.createElement("div",{className:"paper"},g.a.createElement("h4",{className:"mt-2"},this.state.loginMsisdn),g.a.createElement("p",{className:"mt-2 is-text-darkgray50"},this.state.noAuthMsg)),g.a.createElement("div",{className:"page-action"},g.a.createElement(y.a,{btnStyle:"secondary",size:"large",link:"/payController/payPage?channelId="+window.channelId,dataTrackingId:this.state.noAuthFetkeyAndAA,fetkey:this.state.noAuthFetkeyAndAA},"\u5e6b\u5176\u4ed6\u9580\u865f\u7e73\u8cbb"))))),g.a.createElement("div",{className:2===this.state.step?"d-block":"d-none"},g.a.createElement("section",{className:"pt-2 pt-md-5"},g.a.createElement(C.a,null,g.a.createElement("div",{className:"fui-container"},g.a.createElement("div",{className:"paper"},g.a.createElement("h4",null,"\u7e73\u8cbb\u8aaa\u660e"),g.a.createElement("table",{className:"text-wrap"},g.a.createElement("tbody",null,g.a.createElement("tr",null,g.a.createElement("th",{width:"50%"},"\u61c9\u7e73\u91d1\u984d"),g.a.createElement("td",{className:"align-left"},Object(S.a)(this.state.billAmount),"\u5143")))),g.a.createElement("h4",{className:"mt-5"},"\u61c9\u7e73\u91d1\u984d"),g.a.createElement("table",{className:"payment-table"},g.a.createElement("tbody",null,g.a.createElement("tr",null,g.a.createElement("th",{className:"align-left p-2"},g.a.createElement(l.a,{container:!0},g.a.createElement(l.a,{item:!0,xs:6},g.a.createElement("span",{className:"is-text-black50"},"\u5e33\u55ae\u8cbb\u7528")),g.a.createElement(l.a,{item:!0,xs:6},g.a.createElement("span",{className:"float-right is-text-black50"},Object(S.a)(this.state.billAmount),"\u5143"))))),g.a.createElement("tr",null,g.a.createElement("th",{className:"align-left pl-2 pr-2 pt-0"},g.a.createElement(l.a,{container:!0,className:"happygo",style:{zIndex:"1"}},g.a.createElement(l.a,{item:!0,xs:6},g.a.createElement("span",{className:"is-text-black50"},"HAPPY GO \u9ede\u6578\u6298\u62b5")),this.state.pointsEnough?g.a.createElement(l.a,{item:!0,xs:6},g.a.createElement("div",{className:"float-right"},g.a.createElement("div",{className:"d-inline-block my-2"},g.a.createElement(w.a,{name:"happygo",options:this.state.hgOptionList,value:this.state.form.happygo.value,onChange:this.onChangeHappyGo})))):g.a.createElement(l.a,{item:!0,xs:12,className:"note"},g.a.createElement("span",{className:"is-text-gray100"},"\u60a8\u76ee\u524d\u9ede\u6578\u4e0d\u8db3\uff0c\u6216\u5c1a\u672a\u7533\u8acb Happy GO \u7a4d\u9ede\u670d\u52d9\uff0c\u672a\u80fd\u4f7f\u7528\u7d05\u5229\u7a4d\u9ede\u56de\u994b")),j.r(this.state.multipleHappyGoInfoView.points)&&j.r(this.state.multipleHappyGoInfoView.dueDate)?g.a.createElement(l.a,{item:!0,xs:12,className:"note"},g.a.createElement("span",{className:"is-text-gray100"},"\u5c1a\u6709 ",this.state.multipleHappyGoInfoView.points," \u9ede (\u622a\u81f3"," ",this.state.multipleHappyGoInfoView.endDate," )",g.a.createElement("br",null),this.state.multipleHappyGoInfoView.dueDate," \u5230\u671f\u9ede\u6578\uff1a",this.state.multipleHappyGoInfoView.duePoints,"\u9ede")):null),null!=this.state.telecomCouponInfoViewList?g.a.createElement("div",{className:"pt-2 mt-2",style:{borderTop:"solid 2px #E8ECF0"}},g.a.createElement("div",{style:{position:"relative"}}
1,g.a.createElement("span",{className:"is-text-black50"},"\u96fb\u4fe1\u91d1\u6298\u62b5"),g.a.createElement(E.a,{dataTrackingId:"ES_MoreMSISDNPayment_\u96fb\u4fe1\u91d1\u6298\u62b5\u5c0fi",fetkey:"ES_MoreMSISDNPayment_\u96fb\u4fe1\u91d1\u6298\u62b5\u5c0fi",onClick:function(e){Object(h.a)(e)},content:g.a.createElement("i",{className:"icon-information"}),trigger:"click",tooltip:"\u6b64\u5340\u96fb\u4fe1\u91d1\u50c5\u986f\u793a\u767b\u5165\u9580\u865f\u4e2d\u7684\u96fb\u4fe1\u91d1"}),this.state.telecomCouponButton?g.a.createElement("div",{style:{position:"absolute",top:"0px",right:"0px"}},this.state.canAllCheck?g.a.createElement("button",{class:"fui-button is-secondary is-small",fetkey:"P_ES_MoreMSISDNPayment_\u5168\u9078\u53d6\u6d88\u5168\u9078","data-aa-tracking-id":"ES_MoreMSISDNPayment_\u5168\u9078\u53d6\u6d88\u5168\u9078",onClick:function(t){Object(h.a)(t),e.couponCheck(!0)}},g.a.createElement("span",{class:"text"},"\u5168\u9078")):g.a.createElement("button",{class:"fui-button is-secondary is-small",fetkey:"P_ES_MoreMSISDNPayment_\u5168\u9078\u53d6\u6d88\u5168\u9078","data-aa-tracking-id":"ES_MoreMSISDNPayment_\u5168\u9078\u53d6\u6d88\u5168\u9078",onClick:function(t){Object(h.a)(t),e.couponCheck(!1)}},g.a.createElement("span",{class:"text"},"\u53d6\u6d88\u5168\u9078"))):null),this.state.telecomCouponErrorMessage?this.state.loginBillAmount>0?g.a.createElement("p",{className:"is-text-red30"},"\u767b\u5165\u9580\u865f\u7121\u6298\u6263\u53ef\u4f7f\u7528\u6216\u5e33\u55ae\u91d1\u984d\u672a\u5927\u65bc\u6298\u6263\u91d1\u984d"):g.a.createElement("p",{className:"is-text-red30"},"\u7e73\u8cbb\u9580\u865f\u7121\u6298\u6263\u53ef\u4f7f\u7528\u6216\u5e33\u55ae\u91d1\u984d\u672a\u5927\u65bc\u6298\u6263\u91d1\u984d"):this.state.telecomCouponNoticeMessage?g.a.createElement("p",{className:"is-text-red30"},"\u60a8\u7684\u96fb\u4fe1\u91d1\u5c1a\u672a\u4f7f\u7528\uff0c\u8acb\u7559\u610f\u4f7f\u7528\u6548\u671f"):null,g.a.createElement("div",{className:"form-group mt-2 mb-0"},g.a.createElement("div",{className:"checkbox-group"},g.a.createElement(l.a,{container:!0},this.state.telecomCouponInfoViewList.map((function(t,a){return g.a.createElement("div",{className:"MuiGrid-root MuiGrid-item MuiGrid-grid-xs-12 MuiGrid-grid-sm-6"},g.a.createElement("label",{className:"checkbox is-icon-box",style:{width:"100%",margin:"0 12px 12px 0",cursor:"pointer"}},t.canUse?g.a.createElement("input",{type:"checkbox",checked:t.isClick,name:"coins",value:t.sn,onChange:function(t){return e.couponOnChange(t)}}):g.a.createElement("span",{style:{backgroundColor:"rgb(241,244,246,0.6)",position:"absolute",left:"0",top:"0",right:"0",bottom:"0",cursor:"default",border:"solid 2px #E8ECF0"}}),g.a.createElement("div",{className:"content"},g.a.createElement("div",{className:"text"},g.a.createElement("div",{style:{fontSize:"20px",fontWeight:"bold",color:"#202020"}},t.value,"\u5143\u96fb\u4fe1\u91d1"),g.a.createElement("div",{className:"is-text-gray100",style:{fontWeight:"400",fontSize:"15px"}},g.a.createElement("span",{style:{whiteSpace:"nowrap",display:"inline-block",paddingRight:"10px"}},"\u6709\u6548\u81f3",t.endDate),g.a.createElement("span",{style:{whiteSpace:"nowrap",display:"inline-block"}},"\u6b64\u5238\u7531"),g.a.createElement("span",{style:{whiteSpace:"nowrap",display:"inline-block"}},e.state.loginMsisdn,"\u514c\u63db"))))))})))))):g.a.createElement("div",{className:"pt-2 mt-2",style:{borderTop:"solid 2px #E8ECF0"}},g.a.createElement("div",{style:{position:"relative"}},g.a.createElement("span",{className:"is-text-black50"},"\u96fb\u4fe1\u91d1\u6298\u62b5"),g.a.createElement(E.a,{dataTrackingId:"ES_MoreMSISDNPayment_\u96fb\u4fe1\u91d1\u6298\u62b5\u5c0fi",fetkey:"ES_MoreMSISDNPayment_\u96fb\u4fe1\u91d1\u6298\u62b5\u5c0fi",content:g.a.createElement("i",{className:"icon-information"}),trigger:"click",tooltip:"\u6b64\u5340\u96fb\u4fe1\u91d1\u50c5\u986f\u793a\u767b\u5165\u9580\u865f\u4e2d\u7684\u96fb\u4fe1\u91d1"})),g.a.createElement("p",null,"\u767b\u5165\u9580\u865f\u7121\u6298\u6263\u53ef\u4f7f\u7528\u6216\u5e33\u55ae\u91d1\u984d\u672a\u5927\u65bc\u6298\u6263\u91d1\u984d")))),g.a.createElement("tr",null,g.a.createElement("th",{className:"align-left p-2"},g.a.createElement(l.a,{container:!0},g.a.createElement(l.a,{item:!0,xs:6},g.a.createElement("span",{className:"is-text-black50"},"\u6298\u6263\u91d1\u984d")),g.a.createElement(l.a,{item:!0,xs:6},g.a.createElement("h3",{className:"my-0 is-text-red30 float-right"},Object(S.a)(this.state.discountAmount),"\u5143"))))),g.a.createElement("tr",null,g.a.createElement("th",{className:"align-left p-2"},g.a.createElement(l.a,{container:!0},g.a.createElement(l.a,{item:!0,xs:6},g.a.createElement("span",{className:"is-text-black50"}
1,"\u672c\u6b21\u7e73\u8cbb\u91d1\u984d")),g.a.createElement(l.a,{item:!0,xs:6},g.a.createElement("h2",{className:"my-0 float-right"},Object(S.a)(this.state.totalAmount),"\u5143")),this.state.overpayment?g.a.createElement(l.a,{item:!0,xs:12},g.a.createElement("span",{className:"is-text-red30 float-right",style:{fontSize:"0.875rem"}},"\u6298\u6263\u91d1\u984d\u9700\u5c0f\u65bc\u767b\u5165\u9580\u865f\u7684\u5e33\u55ae\u7e3d\u984d")):null)))))),this.state.isLowestAmount?null:g.a.createElement("div",{className:"paper",style:{zIndex:"0"}},g.a.createElement("div",{className:"mt-5"},g.a.createElement(N.a,{label:"\u8acb\u9078\u64c7\u4ed8\u6b3e\u65b9\u5f0f",name:"actionType",options:[{label:"\u9280\u884c\u5e33\u865f",value:"bankOption",dataTrackingId:"ES_MoreMSISDNPayment_\u9280\u884c\u7e73\u8cbb",fetname:"ES_MoreMSISDNPayment_\u9280\u884c\u7e73\u8cbb"},{label:"\u4fe1\u7528\u5361",value:"credOption",dataTrackingId:"ES_MoreMSISDNPayment_\u4fe1\u7528\u5361\u7e73\u8cbb",fetname:"ES_MoreMSISDNPayment_\u4fe1\u7528\u5361\u7e73\u8cbb"}],default:this.state.form.actionType.value,onChange:this.onChangePayType}))),g.a.createElement("div",{className:"page-action"},this.state.isLowestAmount?g.a.createElement(y.a,{btnStyle:"primary",size:"large",className:this.state.isSubmited?"is-api-loading":"",disabled:this.state.isSubmited||this.state.overpayment,onClick:function(t){Object(h.a)(t),e.execZeroPaymentMultiPay()},dataTrackingId:"ES_MoreMSISDNPayment_\u78ba\u8a8d\u9001\u51fa",fetkey:"ES_MoreMSISDNPayment_\u78ba\u8a8d\u9001\u51fa"},"\u78ba\u8a8d\u9001\u51fa"):g.a.createElement(y.a,{btnStyle:"primary",size:"large",disabled:this.state.overpayment,onClick:this.nextStep,dataTrackingId:"ES_MoreMSISDNPayment_\u586b\u5beb\u4ed8\u6b3e\u8cc7\u6599",fetkey:"ES_MoreMSISDNPayment_\u586b\u5beb\u4ed8\u6b3e\u8cc7\u6599"},"\u586b\u5beb\u4ed8\u6b3e\u8cc7\u6599"),g.a.createElement(y.a,{btnStyle:"secondary",size:"large",onClick:this.previousStep,dataTrackingId:"ES_MoreMSISDNPayment_\u53d6\u6d88",fetkey:"ES_MoreMSISDNPayment_\u53d6\u6d88"},"\u53d6\u6d88")))))),g.a.createElement("div",{className:3!==this.state.step||this.state.isLowestAmount?"d-none":"d-block"},g.a.createElement("section",null,g.a.createElement("div",{className:"fui-container"},g.a.createElement("h4",{className:"is-text-darkgray70 my-0"},"\u8acb\u78ba\u8a8d\u61c9\u7e73\u6b3e\u9805\uff0c\u4e26\u586b\u5beb\u4ed8\u6b3e\u8cc7\u8a0a\u3002"),g.a.createElement("div",{className:"is-text-accent text-sm mb-2"},g.a.createElement("span",{className:"required-dot"}),"\u5fc5\u586b"),g.a.createElement(C.a,{onValid:this.enableButtonByBank,onInvalid:this.disableButtonByBank},g.a.createElement("div",{className:"form-group mt-5"},g.a.createElement("label",{className:"mt-2"},"\u61c9\u7e73\u91d1\u984d"),g.a.createElement("div",null,g.a.createElement("h2",{className:"is-text-error"},Object(S.a)(this.state.totalAmount)," \u5143"))),"bankOption"===this.state.form.actionType.value?g.a.createElement("div",{className:"mb-5 pb-5"},g.a.createElement(l.a,{container:!0},g.a.createElement(l.a,{item:!0,xs:12,sm:6,md:5},g.a.createElement("div",{className:"form-group"},g.a.createElement("label",{className:"is-required"},"\u9280\u884c\u4ee3\u78bc"),g.a.createElement(w.a,{required:this.state.form.bank_code.required,options:this.state.bankList,name:"bank_code",label:"\u8acb\u9078\u64c7",value:this.state.form.bank_code.value,onChange:this.onChangeForm})))),g.a.createElement(l.a,{container:!0,className:"input-with-checkbox with-note",spacing:2},g.a.createElement(l.a,{item:!0,xs:12,sm:6,md:5},g.a.createElement("div",{ref:this.bankAccountInput},g.a.createElement(L.a,{label:"\u9280\u884c\u5e33\u865f(\u9650\u672c\u4eba)",name:"bank_account",required:this.state.form.bank_account.required,value:this.state.form.bank_account.value,onChange:this.onChangeForm})))),g.a.createElement("small",{className:"is-text-gray100"},"\u672c\u4ed8\u6b3e\u6a5f\u5236\u63a1\u7528SSL 256 bites\u5b89\u5168\u52a0\u5bc6\u6a5f\u5236"),g.a.createElement(M.a,{name:"agree",label:"\u672c\u4eba\u5df2\u8a73\u95b1\u53ca\u4e86\u89e3\u6b64\u6ce8\u610f\u4e8b\u9805\u4e26\u540c\u610f\u9075\u5b88",validationError:"\u8acb\u8a73\u95b1\u53ca\u4e86\u89e3\u6b64\u6ce8\u610f\u4e8b\u9805",validations:{isChecked:function(e){return e.agree}},checked:this.state.form.agree.value,value:this.state.form.agree.value,getCheckbox:function(t){return e.onChangeForm("agree",t)},collapseContent:this.state.bankNotice}
1)):g.a.createElement(_.a,{name:"CreditCardForm",onChange_Function:this.onChangeForm,enableSubmit_Function:this.enableButtonByCredit,disableSubmit_Function:this.disableButtonByCredit}),g.a.createElement("div",{className:"page-action"},g.a.createElement(y.a,{btnStyle:"primary",size:"large",onClick:function(t){return e.submit(t)},className:this.state.isSubmited?"is-api-loading":"",disabled:this.state.isSubmited||!this.state.canSubmitByBank||!this.state.canSubmitByCredit},"\u7d50\u5e33"),g.a.createElement(y.a,{btnStyle:"secondary",size:"large",onClick:function(t){return e.previousStep(t)}},"\u4e0a\u4e00\u6b65"))))),g.a.createElement(D.a,{title:this.state.sweetheartTitle,content:this.state.sweetheartContent})))}}])}(g.a.Component);t.default=Object(d.g)(Object(p.b)((function(e){return{digitalData:e.analyticsInitialState}}),(function(e){return Object(m.a)({trackPageViewStart:u.d,trackPageViewEnd:u.c},e)}))(R))},1383:function(e,t,a){"use strict";var n=a(0),o=a.n(n),i=a(236),r=a(311);t.a=function(e){var t=function(t){e.onClick&&e.onClick(t)},a=function(){var t="fui-button ";return e.btnStyle&&(t+="is-".concat(e.btnStyle," ")),e.size&&(t+="is-".concat(e.size," ")),e.reverse&&(t+="is-reverse "),e.className&&(t+=e.className),t};return e.dataTrackingId?e.link?o.a.createElement(i.a,{"data-aa-tracking-id":"".concat(e.dataTrackingId),to:e.link,className:a(),disabled:e.disabled,target:e.target||"_self",fetkey:null!=e.fetkey?e.fetkey:void 0,style:e.style},o.a.createElement("span",{className:"text"},e.children),"text"===e.btnStyle?o.a.createElement("i",{className:"icon-chevron-right"}):""):o.a.createElement("button",{"data-aa-tracking-id":"".concat(e.dataTrackingId),className:a(),onClick:function(e){return t(e)},disabled:e.disabled,fetkey:null!=e.fetkey?r.a()+e.fetkey:void 0},o.a.createElement("span",{className:"text",fetkey:null!=e.fetkey&&r.a()+e.fetkey},e.children),"text"===e.btnStyle?o.a.createElement("i",{className:"icon-chevron-right"}):""):e.link?o.a.createElement(i.a,{to:e.link,className:a(),disabled:e.disabled,target:e.target||"_self",fetkey:null!=e.fetkey?e.fetkey:void 0},o.a.createElement("span",{className:"text"},e.children),"text"===e.btnStyle?o.a.createElement("i",{className:"icon-chevron-right"}):""):o.a.createElement("button",{className:a(),onClick:function(e){return t(e)},disabled:e.disabled,fetkey:null!=e.fetkey?r.a()+e.fetkey:void 0},o.a.createElement("span",{className:"text",fetkey:null!=e.fetkey&&r.a()+e.fetkey},e.children),"text"===e.btnStyle?o.a.createElement("i",{className:"icon-chevron-right"}):"")}},1384:function(e,t,a){"use strict";t.a=function(e,t){window&&"function"===typeof window.ctrf&&window.ctrf(e,t)}},1385:function(e,t,a){"use strict";var n=a(13),o=a(14),i=a(40),r=a(33),s=a(19),c=a(36),l=a(0),u=a.n(l),m=a(236),p=a(1383);var d=function(e){function t(e){var a,o,c,l;return Object(n.a)(this,t),o=this,c=t,l=[e],c=Object(s.a)(c),(a=Object(i.a)(o,Object(r.a)()?Reflect.construct(c,l||[],Object(s.a)(o).constructor):c.apply(o,l))).anchorActive=function(){var e=window.innerWidth<960;
1a.props.tabs.forEach((function(t,n){var o=document.getElementById(t.link.slice(1));if(o&&null!==a.anchor.current){var i=a.anchor.current.children[n],r=o.getBoundingClientRect();window.scrollY||document.documentElement.scrollTop;e?r.top>0&&r.top<150&&n:r.top>0&&r.top<150?i.classList.add("is-active"):i.classList.remove("is-active")}}))},a.navScroller=function(e){if(a.elem.current){var t=window.scrollY||document.documentElement.scrollTop,n=Array.from(document.getElementsByTagName("header"));if(n.length){var o=n[0].clientHeight;t>a.state.scrollPos&&t>0&&(n.map((function(e){e.style.transform="translateY(".concat(-t<-o?-o:-t,"px)")})),t>=o&&a.elem.current.classList.add("is-fixed")),t<a.state.scrollPos&&t<a.state.defaultTop+o&&(a.elem.current.classList.remove("is-fixed"),n.map((function(e){e.style.transform="translateY(".concat(-t>=0?0:-t,"px)")})))}a.setState({scrollPos:t});var i=window.innerWidth<960;a.props.tabs&&a.anchorActive(),i&&Array.from(a.anchor.current.children).forEach((function(e,t){0===t?e.classList.add("is-active"):e.classList.remove("is-active")}))}}
1,a.elem=u.a.createRef(),a.anchor=u.a.createRef(),a.state={defaultTop:0,scrollPos:0},a.doHashChange=a.doHashChange.bind(a),a}return Object(c.a)(t,e),Object(o.a)(t,[{key:"doHashChange",value:function(e,t){Array.from(this.anchor.current.children).forEach((function(e,a){t===a?e.classList.add("is-active"):e.classList.remove("is-active")}))}},{key:"componentDidMount",value:function(){var e=this;"undefined"!==typeof window&&(this.elem.current&&this.setState({defaultTop:window.innerWidth<960?50:this.elem.current.offsetTop||this.elem.current.parentElement.offsetTop}),window.addEventListener("resize",(function(t){e.elem.current&&e.setState({defaultTop:window.innerWidth<960?50:e.elem.current.offsetTop||e.elem.current.parentElement.offsetTop}),e.props.tabs&&e.anchorActive()})),window.addEventListener("mousewheel",this.navScroller),window.addEventListener("scroll",this.navScroller))}},{key:"render",value:function(){var e=this,t=new URLSearchParams(window.location.search);return"SUPERAPP"===window.channelId||"internalAgent"===window.channelId||t.get("channelId")&&"SUPERAPP"===t.get("channelId")||t.get("channelId")&&"internalAgent"===t.get("channelId")?u.a.createElement("div",{className:"fui-nav-anchor"}):u.a.createElement("div",{className:"fui-nav-anchor",ref:this.elem},u.a.createElement("div",null,u.a.createElement("div",{className:"fui-container"},u.a.createElement("div",{className:"content"},u.a.createElement("div",{className:"subtitle",dangerouslySetInnerHTML:{__html:this.props.pageTitle}}),u.a.createElement("div",{className:"page-anchor",ref:this.anchor},this.props.tabs?this.props.tabs.map((function(t,a){return u.a.createElement(m.a,{to:t.link,key:"page-anchor-".concat(a),className:"page-anchor-item ".concat("undefined"!==typeof window&&t.link===window.location.pathname?"is-active":""),onClick:function(n){return e.doHashChange(t,a)}},t.label)})):null)),u.a.createElement("div",{className:"extra d-flex"},this.props.button&&this.props.button.length>1&&"SUPERAPP"!=window.channelId?this.props.button.map((function(e,t){return u.a.createElement(p.a,Object.assign({},e,{key:e+t,size:"small",btnStyle:0==t?"primary":"secondary",className:0==t?"mr-2":""}),e.text)})):null,!1===!this.props.button&&this.props.button.text&&"SUPERAPP"!=window.channelId?u.a.createElement(p.a,Object.assign({},this.props.button,{size:"small",btnStyle:"secondary"}),this.props.button.text):""))))}}])}(u.a.Component);t.a=d},1387:function(e,t,a){"use strict";var n=a(13),o=a(14),i=a(40),r=a(33),s=a(19),c=a(36),l=a(0),u=a.n(l);var m=function(e){function t(e){var a,o,c,l;return Object(n.a)(this,t),o=this,c=t,l=[e],c=Object(s.a)(c),(a=Object(i.a)(o,Object(r.a)()?Reflect.construct(c,l||[],Object(s.a)(o).constructor):c.apply(o,l))).state={bg:""},a}return Object(c.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){var e=this;"undefined"!==typeof window&&(this.setState({bg:window.innerWidth<640?this.props.image.sm:this.props.image.md}),window.addEventListener("resize",(function(t){e.setState({bg:window.innerWidth<640?e.props.image.sm:e.props.image.md})})))}},{key:"render",value:function(){return u.a.createElement("section",{className:"fui-banner is-form ".concat(this.props.className),style:{backgroundImage:"url(".concat("/DigService"+this.state.bg,")")}},u.a.createElement("div",{className:"fui-container"},u.a.createElement("h1",null,this.props.title)))}}])}(u.a.Component);t.a=m},1390:function(e,t,a){"use strict";a.d(t,"a",(function(){return r}));var n=a(18),o=a(136);function i(){i=function(){return t};var e,t={},a=Object.prototype,n=a.hasOwnProperty,o=Object.defineProperty||function(e,t,a){e[t]=a.value},r="function"==typeof Symbol?Symbol:{},s=r.iterator||"@@iterator",c=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function u(e,t,a){return Object.defineProperty(e,t,{value:a,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,a){return e[t]=a}}function m(e,t,a,n){var i=t&&t.prototype instanceof y?t:y,r=Object.create(i.prototype),s=new L(n||[]);return o(r,"_invoke",{value:C(e,a,s)}),r}function p(e,t,a){try{return{type:"normal",arg:e.call(t,a)}}catch(e){return{type:"throw",arg:e}}}t.wrap=m;var d="suspendedStart",h="executing",f="completed",g={};function y(){}function b(){}function v(){}var E={};u(E,s,(function(){return this}));var S=Object.getPrototypeOf,k=S&&S(S(_([])));k&&k!==a&&n.call(k,s)&&(E=k);var w=v.prototype=y.prototype=Object.create(E);function N(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}
vendor: 5,025 bytes, line 1
1))}function I(e,t){function a(o,i,r,s){var c=p(e[o],e,i);if("throw"!==c.type){var l=c.arg,u=l.value;return u&&"object"==typeof u&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){a("next",e,r,s)}),(function(e){a("throw",e,r,s)})):t.resolve(u).then((function(e){l.value=e,r(l)}),(function(e){return a("throw",e,r,s)}))}s(c.arg)}var i;o(this,"_invoke",{value:function(e,n){function o(){return new t((function(t,o){a(e,n,t,o)}))}return i=i?i.then(o,o):o()}})}function C(t,a,n){var o=d;return function(i,r){if(o===h)throw Error("Generator is already running");if(o===f){if("throw"===i)throw r;return{value:e,done:!0}}for(n.method=i,n.arg=r;;){var s=n.delegate;if(s){var c=x(s,n);if(c){if(c===g)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(o===d)throw o=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);o=h;var l=p(t,a,n);if("normal"===l.type){if(o=n.done?f:"suspendedYield",l.arg===g)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(o=f,n.method="throw",n.arg=l.arg)}}}function x(t,a){var n=a.method,o=t.iterator[n];if(o===e)return a.delegate=null,"throw"===n&&t.iterator.return&&(a.method="return",a.arg=e,x(t,a),"throw"===a.method)||"return"!==n&&(a.method="throw",a.arg=new TypeError("The iterator does not provide a '"+n+"' method")),g;var i=p(o,t.iterator,a.arg);if("throw"===i.type)return a.method="throw",a.arg=i.arg,a.delegate=null,g;var r=i.arg;return r?r.done?(a[t.resultName]=r.value,a.next=t.nextLoc,"return"!==a.method&&(a.method="next",a.arg=e),a.delegate=null,g):r:(a.method="throw",a.arg=new TypeError("iterator result is not an object"),a.delegate=null,g)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function M(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function _(t){if(t||""===t){var a=t[s];if(a)return a.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var o=-1,i=function a(){for(;++o<t.length;)if(n.call(t,o))return a.value=t[o],a.done=!1,a;return a.value=e,a.done=!0,a};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return b.prototype=v,o(w,"constructor",{value:v,configurable:!0}),o(v,"constructor",{value:b,configurable:!0}),b.displayName=u(v,l,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===b||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,v):(e.__proto__=v,u(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},N(I.prototype),u(I.prototype,c,(function(){return this})),t.AsyncIterator=I,t.async=function(e,a,n,o,i){void 0===i&&(i=Promise);var r=new I(m(e,a,n,o),i);return t.isGeneratorFunction(a)?r:r.next().then((function(e){return e.done?e.value:r.next()}))},N(w),u(w,l,"Generator"),u(w,s,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),a=[];for(var n in t)a.push(n);return a.reverse(),function e(){for(;a.length;){var n=a.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=_,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(M),!t)for(var a in this)"t"===a.charAt(0)&&n.call(this,a)&&!isNaN(+a.slice(1))&&(this[a]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var a=this;function o(n,o){return s.type="throw",s.arg=t,a.next=n,o&&(a.method="next",a.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var r=this.tryEntries[i],s=r.completion;if("root"===r.tryLoc)return o("end");if(r.tryLoc<=this.prev){var c=n.call(r,"catchLoc"),l=n.call(r,"finallyLoc");if(c&&l){if(this.prev<r.catchLoc)return o(r.catchLoc,!0);if(this.prev<r.finallyLoc)return o(r.finallyLoc)}else if(c){if(this.prev<r.catchLoc)return o(r.catchLoc,!0)}else{if(!l)throw Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return o(r.finallyLoc)}}}},abrupt:function(e,t){for(var a=this.tryEntries.length-1;a>=0;--a){var o=this.tryEntries[a];if(o.tryLoc<=this.prev&&n.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var r=i?i.completion:{};return r.type=e,r.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(r)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];
1if(a.finallyLoc===e)return this.complete(a.completion,a.afterLoc),M(a),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var a=this.tryEntries[t];if(a.tryLoc===e){var n=a.completion;if("throw"===n.type){var o=n.arg;M(a)}return o}}throw Error("illegal catch attempt")},delegateYield:function(t,a,n){return this.delegate={iterator:_(t),resultName:a,nextLoc:n},"next"===this.method&&(this.arg=e),g}},t}var r=function(){var e=Object(n.a)(i().mark((function e(t,a,n){return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",o.a("/eservice/api/cfgMsgController/getCfgMsg",{path:t,queryByGeneration:a},n).then((function(e){return e})));case 1:case"end":return e.stop()}}),e)})));return function(t,a,n){return e.apply(this,arguments)}}()},1391:function(e,t,a){"use strict";var n=a(13),o=a(14),i=a(40),r=a(33),s=a(19),c=a(36),l=a(0),u=a.n(l),m=a(166);var p=function(e){function t(e){var a,o,c,l;return Object(n.a)(this,t),o=this,c=t,l=[e],c=Object(s.a)(c),(a=Object(i.a)(o,Object(r.a)()?Reflect.construct(c,l||[],Object(s.a)(o).constructor):c.apply(o,l))).input=u.a.createRef(),a.state={submitted:!1,isInvalid:!1,required:a.props.required||!1,placeholder:a.props.placeholder||"",maxLength:a.props.maxLength||200},a.resetInput=a.resetInput.bind(a),a.handleChange=a.handleChange.bind(a),a}return Object(c.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.input.current.value=this.props.getValue()}},{key:"componentDidUpdate",value:function(e){e.getValue()!==this.props.getValue()&&(this.input.current.value=this.props.getValue()),this.props.isFormSubmitted()!==this.state.submitted&&this.setState({submitted:this.props.isFormSubmitted(),isInvalid:this.props.showError()})}},{key:"resetInput",value:function(){this.input.current.value="",this.props.onChange(this.props.name,"")}},{key:"handleChange",value:function(e){this.props.setValue(this.input.current.value),this.setState({submitted:this.props.isFormSubmitted(),isInvalid:this.props.showRequired()||this.props.showError()}),this.props.onChange(this.props.name,this.input.current.value)}},{key:"render",value:function(){var e=this.props.getErrorMessage();return u.a.createElement("div",{className:"".concat(this.props.className?this.props.className:""," form-group ").concat(!this.props.isPristine()&&this.state.isInvalid?"is-invalid":"")},this.props.label?u.a.createElement("label",{htmlFor:"input-".concat(this.props.name),className:this.state.required?"is-required":""},this.props.label):"",this.props.content?u.a.createElement("div",{className:"mb-2"},this.props.content):null,u.a.createElement("div",{className:"text-input"},u.a.createElement("input",{onBlur:this.handleChange,id:"input-".concat(this.props.name),type:this.props.type||"text",ref:this.input,onChange:this.handleChange,onKeyUp:this.handleChange,placeholder:this.props.placeholder?this.props.placeholder:"",value:this.props.getValue()||"",maxLength:this.state.maxLength,disabled:this.props.disabled}),this.props.getValue()&&!this.props.disabled?u.a.createElement("div",{className:"reset",onClick:this.resetInput},u.a.createElement("i",{className:"icon-close"})):""),!this.props.isPristine()&&this.state.isInvalid?u.a.createElement("span",{className:"error-message"},e):"",this.props.failResultMsg?u.a.createElement("span",{className:"error-message"},this.props.failResultMsg):null)}}])}(u.a.Component);t.a=Object(m.withFormsy)(p)},1404:function(e,t,a){"use strict";a.d(t,"c",(function(){return o})),a.d(t,"b",(function(){return i})),a.d(t,"a",(function(){return r})),a.d(t,"d",(function(){return s})),a.d(t,"i",(function(){return c})),a.d(t,"h",(function(){return l})),a.d(t,"g",(function(){return u})),a.d(t,"f",(function(){return m})),a.d(t,"e",(function(){return p}));var n=a(1405),o=function(e){var t=new Date(e),a=t.getMonth()+1,o=t.getDate();return t.getFullYear()+"/"+n.a(a,2)+"/"+n.a(o,2)},i=function(e){var t=new Date(e),a=t.getMonth()+1,o=t.getDate();return t.getFullYear()+"\u5e74"+n.a(a,2)+"\u6708"+n.a(o,2)+"\u65e5"},r=function(e){var t=String(e.getMonth()+1).padStart(2,"0");return e.getFullYear()+"\u5e74"+t+"\u6708"},s=function(e){var t=new Date(e),a=t.getTimezoneOffset()/60,o=t.setHours(t.getHours()+(a+8)),i=new Date(o),r=i.getMonth()+1,s=i.getDate(),c=i.getHours(),l=i.getMinutes();return i.getFullYear()+"/"+n.a(r,2)+"/"+n.a(s,2)+" "+n.a(c,2)+":"+n.a(l,2)},c=function(e,t){var a=e.split("T")[0],o=a.split("-")[0],i=a.split("-")[1],r=a.split("-")[2];return o+"/"+n.a(i,2)+"/"+n.a(r,2)},l=function(e){var t=String(e.getDate()).padStart(2,"0");return e.getFullYear()+"/"+String(e.getMonth()+1).padStart(2,"0")+"/"+t},u=function(e){var t=String(e.getDate()).padStart(2,"0");return e.getFullYear()+String(e.getMonth()+1).padStart(2,"0")+t},m=function(e){return e.slice(0,4)+"/"+e.slice(4,6)+"/"+e.slice(6,8)},p=function(e){if(null!=e){var t=e.toString(),a="";return 2==t.length&&"1"==t.substring(0,1)?a=t:2==t.length&&"0"==t.substring(0,1)&&(a=t.substring(1)),a}}},1405:function(e,t,a){"use strict";a.d(t,"a",(function(){return n}));var n=function(e,t,a){return a=a||"0",(e+="").length>=t?e:new Array(t-e.length+1).join(a)+e}},1410:function(e,t,a){"use strict";var n=a(13),o=a(14),i=a(40),r=a(33),s=a(19),c=a(36),l=a(0),u=a.n(l),m=a(166);var p=function(e){function t(e){var a,o,c,l;return Object(n.a)(this,t),o=this,c=t,l=[e],c=Object(s.a)(c),(a=Object(i.a)(o,Object(r.a)()?Reflect.construct(c,l||[],Object(s.a)(o).constructor):c.apply(o,l))).openDetail=function(e){a.setState({contentHeight:a.content.current.children[0].clientHeight+20,open:!a.state.open})},a.handleChange=function(e){a.setState({checked:e.currentTarget.checked}),a.props.setValue(e.currentTarget.checked),a.props.getCheckbox(e.currentTarget.checked)},a.passCheckedVal=function(){a.props.getCheckbox(a.state.checked)},a.content=u.a.createRef(),a.state={isEn:!1,submitted:!1,isInvalid:!1,contentHeight:0,open:!1,checked:a.props.getValue()},a}
1return Object(c.a)(t,e),Object(o.a)(t,[{key:"componentDidMount",value:function(){this.setState({contentHeight:this.content.current.children[0].clientHeight+20})}},{key:"componentDidUpdate",value:function(){this.props.isFormSubmitted()!==this.state.submitted&&this.setState({submitted:this.props.isFormSubmitted(),isInvalid:!this.props.getValue()&&this.props.isValidValue(this.state.checked)}),this.props.getValue()!==this.state.checked&&this.setState({checked:this.props.getValue()}),("undefined"!==typeof window&&window.$isEn)!==this.state.isEn&&this.setState({isEn:"undefined"!==typeof window&&window.$isEn})}},{key:"render",value:function(){var e=this.props.getErrorMessage();return u.a.createElement("div",{className:"fui-collapse is-collapse-checkbox ".concat(this.state.open?"is-open":"")},u.a.createElement("div",{className:"checkbox is-agreement"},u.a.createElement("input",{type:"checkbox",onChange:this.handleChange,name:this.props.name,id:this.props.name,value:"1",checked:this.props.getValue(),disabled:this.props.disabled}),u.a.createElement("label",{htmlFor:this.props.name,className:"content"},u.a.createElement("span",null,this.props.label)),u.a.createElement("span",{className:"collapse-trigger",onClick:this.openDetail},u.a.createElement("span",{className:"text-sm"},this.state.isEn?"more infomation":"\u9ede\u9078\u770b\u5b8c\u6574\u5167\u5bb9"),u.a.createElement("i",{className:"icon-".concat(this.state.open?"minus":"plus")}))),u.a.createElement("div",{ref:this.content,className:"collapse-body mt-0",style:{height:this.state.open?this.state.contentHeight:0}},u.a.createElement("article",{dangerouslySetInnerHTML:{__html:this.props.collapseContent}})),this.state.isInvalid?u.a.createElement("span",{className:"error-message"},e):"")}}])}(u.a.Component);t.a=Object(m.withFormsy)(p)}}]);
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.