PageSourceSearch

https://ecare.fetnet.net/DigService/static/js/11.3c34d652.chunk.js

js fetnet.net collected 2026-09-24 08:39:07 UTC 48,288 bytes, 1 lines download raw bytes

1(this["webpackJsonpfetnet-react"]=this["webpackJsonpfetnet-react"]||[]).push([[11],{1388:function(e,t,n){"use strict";var a=n(13),r=n(14),i=n(40),s=n(33),o=n(19),l=n(36),c=n(0),u=n.n(c),p=n(1384),m=n(311);var d=function(e){function t(e){var n,r,l,c;return Object(a.a)(this,t),r=this,l=t,c=[e],l=Object(o.a)(l),(n=Object(i.a)(r,Object(s.a)()?Reflect.construct(l,c||[],Object(o.a)(r).constructor):l.apply(r,c))).body=u.a.createRef(),n.state={contentHeight:0,open:n.props.open||!1},n.collapseOpen=n.collapseOpen.bind(n),n.setContentHeight=n.setContentHeight.bind(n),n}return Object(l.a)(t,e),Object(r.a)(t,[{key:"setContentHeight",value:function(){this.setState({contentHeight:this.body.current.clientHeight})}},{key:"componentDidMount",value:function(){var e=this;this.state.open&&setTimeout((function(){e.setContentHeight()}),200)}},{key:"componentDidUpdate",value:function(e){!this.props.onChange||e.open===this.state.open&&this.props.open===this.state.open||this.setState({open:this.props.open})}},{key:"collapseOpen",value:function(e){this.setContentHeight(),this.props.onChange?this.props.onChange(!this.state.open):this.setState({open:!this.state.open}),Object(p.a)(e),this.forceUpdate()}},{key:"render",value:function(){var e=this;return u.a.createElement("div",{className:"fui-collapse ".concat(this.state.open?"is-open":"")},this.props.date?u.a.createElement("div",{dangerouslySetInnerHTML:{__html:this.props.date}}):null,u.a.createElement("div",{role:"button",onClick:function(t){return e.collapseOpen(t)},className:"collapse-header",fetkey:null!=this.props.fetkey?m.a()+this.props.fetkey:void 0,"data-aa-tracking-id":this.props.dataTrackingId,dangerouslySetInnerHTML:{__html:this.props.title}}),u.a.createElement("div",{className:"collapse-body",style:{height:this.state.open?this.state.contentHeight:0}},this.props.content?u.a.createElement("article",{ref:this.body,dangerouslySetInnerHTML:{__html:this.props.content}}):null,this.props.children?u.a.createElement("article",{ref:this.body},this.props.children):null))}}])}(u.a.Component);t.a=d},1393:function(e,t,n){"use strict";var a=n(13),r=n(14),i=n(40),s=n(33),o=n(19),l=n(36),c=n(0),u=n.n(c),p=n(1395),m=n(1394);var d=function(e){function t(e){var n,r,l,c;return Object(a.a)(this,t),r=this,l=t,c=[e],l=Object(o.a)(l),(n=Object(i.a)(r,Object(s.a)()?Reflect.construct(l,c||[],Object(o.a)(r).constructor):l.apply(r,c))).closeMenu=function(e){n.props.close&&n.props.close(),setTimeout((function(){n.setState({anchorEl:null,isClose:!1}),n.trigger&&n.trigger.current&&n.trigger.current.blur()}),120)},n.handleClick=function(e){e.preventDefault(),!0!==n.state.isClose&&(n.setState({isHandleClick:!0}),Boolean(n.state.anchorEl)?n.setState({anchorEl:null,isHandleClick:!1}):(n.setState({anchorEl:e.currentTarget,isHandleClick:!1}),n.props.onActive&&n.props.onActive()))},n.selectItem=function(e,t){"undefined"!==typeof window&&(window.event.preventDefault?window.event.preventDefault():window.event.returnValue=!1),n.setState({selectedItem:e.text}),n.props.onChange&&n.props.onChange(e,t),n.closeMenu()},n.getSelected=function(e){return n.state.selected===e.label?"active":""},n.readyToClose=function(e){!0!==n.state.isHandleClick&&(n.setState({isClose:!0}),n.forceUpdate(),setTimeout((function(){n.closeMenu()}),50))},n.state={anchorEl:null,isClose:!1,selectedItem:n.props.label,isHandleClick:!1,isNewSelect:!!n.props.isNewSelect&&n.props.isNewSelect},n.getSelected=n.getSelected.bind(n),n}return Object(l.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){this.setState({selectedItem:this.props.label})}},{key:"componentDidUpdate",value:function(e){(e.label!==this.state.selectedItem||e.list.length!==this.props.list.length||e.list.length&&e.list[0].text!==this.props.list[0].text&&e.list[0].value!==this.props.list[0].value)&&this.setState({selectedItem:this.props.label})}},{key:"render",value:function(){var e=this;return u.a.createElement("div",{className:"\n                fui-dropdown \n                ".concat(this.props.arrow?"with-arrow":""," \n                ").concat(this.props.className?this.props.className:"","\n                ").concat(Boolean(this.state.anchorEl)?"is-show":""," \n                "),style:{opacity:this.props.disabled?.65:1,pointerEvents:this.props.disabled?"none":"default"},onClick:this.props.onActive},u.a.createElement("button",{"aria-haspopup":"true","aria-expanded":Boolean(this.state.anchorEl),"aria-label":this.props.label,onClick:this.handleClick,className:"fui-dropdown-item"},u.a.createElement("span",{dangerouslySetInnerHTML:{__html:this.props.selected?this.props.label:this.state.selectedItem}}),this.props.arrow?u.a.createElement("i",{className:"icon-chevron-down"}
1):""),u.a.createElement(p.a,{anchorEl:this.state.anchorEl,keepMounted:!0,open:Boolean(this.state.anchorEl),onClose:this.readyToClose},u.a.createElement("div",{className:"menu-wrapper"},this.props.list.map((function(t,n){return u.a.createElement(m.a,Object.assign({},t,{className:"".concat((e.props.isNewSelect?e.props.value&&e.props.value===t.value:e.props.selected&&e.props.selected===t.text||!e.props.selected&&(e.state.selectedItem===t.text||e.props.value&&e.props.value===t.value))?"active":""," ").concat(e.props.hasCheck?"check-icon":""),key:"menu-item"+e.props.id+n,onClick:function(a){return e.selectItem(t,n)}}),t.text)})))))}}])}(u.a.Component);d.defaultProps={hasCheck:!1,onActive:null},t.a=d},1394:function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(236);t.a=function(e){return e.link?r.a.createElement(i.a,{role:"button",to:e.link,target:e.target,title:e.children,className:"fui-item ".concat(e.className?e.className:""),id:e.id},e.img?r.a.createElement("img",{src:"/DigService"+e.img,alt:e.children}):"",e.prefixIcon?r.a.createElement("span",{className:"prefix"},r.a.createElement("i",{className:"icon-".concat(e.prefixIcon)})):"",r.a.createElement("span",{className:"content"},e.children),e.icon?r.a.createElement("span",{className:"extra"},r.a.createElement("i",{className:"icon-".concat(e.icon)})):""):r.a.createElement("div",{role:"button",onClick:function(t){t.preventDefault(),e.onClick&&e.onClick(e.value)},className:"fui-item ".concat(e.className?e.className:""),id:e.id},e.img?r.a.createElement("img",{src:"/DigService"+e.img,alt:e.children}):"",e.prefixIcon?r.a.createElement("span",{className:"prefix"},r.a.createElement("i",{className:"icon-".concat(e.prefixIcon)})):"",r.a.createElement("span",{className:"content"},e.children),e.icon?r.a.createElement("span",{className:"extra"},r.a.createElement("i",{className:"icon-".concat(e.icon)})):"")}},1395:function(e,t,n){"use strict";var a=n(0),r=n.n(a);t.a=function(e){var t=r.a.useRef();return r.a.useEffect((function(){Boolean(e.anchorEl)&&t&&t.current&&setTimeout((function(){t&&t.current&&t.current.focus()}),200)}),[e,t]),r.a.createElement("div",{ref:t,role:"menu",onBlur:e.onClose,"aria-labelledby":e.id,tabIndex:"-1",className:"\n            fui-menu \n            ".concat(e.className?e.className:""," \n            ").concat(Boolean(e.anchorEl)?"d-block":"","\n        ")},e.children)}},1396:function(e,t,n){"use strict";var a=n(6),r=n(13),i=n(14),s=n(40),o=n(33),l=n(19),c=n(36),u=n(0),p=n.n(u),m=n(236),d=n(311);var h=function(e){function t(e){var n,a,i,c;return Object(r.a)(this,t),a=this,i=t,c=[e],i=Object(l.a)(i),(n=Object(s.a)(a,Object(o.a)()?Reflect.construct(i,c||[],Object(l.a)(a).constructor):i.apply(a,c))).isHidden=function(e){return null===e.offsetParent},n.updateScrollButtonState=function(){if(n.tabElem.current){var e=n.tabElem.current,t=e.scrollLeft,a=e.scrollWidth,r=e.clientWidth,i=t>0,s=t<Math.max(a-r,0)-1;i===n.state.canScrollLeft&&s===n.state.canScrollRight||n.setState({canScrollLeft:i,canScrollRight:s})}},n.tabElem=p.a.createRef(),n.rand=Math.round(100*Math.random()),n.state={visible:!1,tabItemWidth:0,hasLink:null!==n.props.list[0].link,currentPath:"undefined"!==typeof window?window.location.pathname:"",currentTab:"number"===typeof n.props.current?n.props.current:n.props.default||0,canScrollLeft:!1,canScrollRight:!1,styles:{width:0,left:0}},n.setBarWidth=n.setBarWidth.bind(n),n}return Object(c.a)(t,e),Object(i.a)(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props.scroll||this.props.scoll;"undefined"!==typeof window&&(this.state.hasLink&&this.props.list&&this.props.list.length&&this.setCurrentLink(window.location.pathname),"undefined"!==typeof window&&window.addEventListener("resize",(function(){return e.setBarWidth(),e.updateScrollButtonState(),!1})),t&&this.tabElem.current&&(this.tabElem.current.addEventListener("scroll",this.updateScrollButtonState),this.updateScrollButtonState()))}},{key:"componentWillUnmount",value:function(){this.tabElem.current&&this.tabElem.current.removeEventListener("scroll",this.updateScrollButtonState)}},{key:"componentDidUpdate",value:function(e){var t=this;if("undefined"!==typeof window){var n=this.props.scroll||this.props.scoll;"number"===typeof this.props.current&&e.current!==this.props.current&&this.state.currentTab!==this.props.current&&this.setState({currentTab:this.props.current},(function(){t.setBarWidth(),n&&window.innerWidth<960&&t.setScroller()})),window.location.pathname!==this.state.currentPath&&(this.setState({currentPath:window.location.pathname}),this.setCurrentLink(window.location.pathname)),!this.isHidden(this.tabElem.current)===this.state.visible||this.state.visible||(this.setState({visible:!0}),this.setBarWidth()),n&&this.updateScrollButtonState()}}},{key:"setCurrentLink",value:function(e){var t=this;this.props.list.forEach((function(n,a){e===n.link&&t.setState({currentTab:a})})),this.forceUpdate(),setTimeout((function(){t.setBarWidth()}),100)}},{key:"setBarWidth",value:function(){if(this.tabElem.current){var e=this.tabElem.current.getElementsByClassName("is-active")[0];this.setState({styles:Object(a.a)(Object(a.a)({},this.state.styles),{},{left:e.offsetLeft,width:Math.ceil(e.clientWidth)})})}}},{key:"setScroller",value:function(){var e=this.tabElem.current,t=e.getElementsByClassName("is-active")[0];e.scrollLeft>t.offsetLeft?"undefined"!==typeof window&&window.isIE?e.scrollLeft=t.offsetLeft-30:e.scrollTo({left:t.offsetLeft-30,top:0,behavior:"smooth"}):t.offsetLeft-(e.scrollLeft+e.clientWidth)<t.clientWidth&&("undefined"!==typeof window&&window.isIE?e.scrollLeft=t.offsetLeft+t.clientWidth-e.clientWidth+30:e.scrollTo({left:t.offsetLeft+t.clientWidth-e.clientWidth+30,top:0,behavior:"smooth"}))}},{key:"getScrollStep",value:function(){return this.props.scrollStep||240}},{key:"scrollByDirection",value:function(e){var t=this;if(this.tabElem.current){var n=this.getScrollStep()*e;"undefined"!==typeof window&&window.isIE?this.tabElem.current.scrollLeft=this.tabElem.current.scrollLeft+n:(this.tabElem.current.scrollBy({left:n,top:0,behavior:"smooth"}),setTimeout((function(){t.updateScrollButtonState()}),200))}}},{key:"handleChange",value:function(e,t,n){var r=this;e.preventDefault();var i=this.props.scroll||this.props.scoll;this.setState({currentTab:n,styles:Object(a.a)(Object(a.a)({},this.state.styles),{},{width:this.tabElem.current.children[n+1].clientWidth,left:this.tabElem.current.children[n+1].offsetLeft})}),this.props.onChange&&this.props.onChange(n),this.forceUpdate(),"undefined"!==typeof window&&i&&window.innerWidth<960&&setTimeout((function(){r.setScroller()}),50)}},{key:"render",value:function(){var e=this,t=this.props.scroll||this.props.scoll,n=t&&this.props.showScrollButtons,a=p.a.createElement("div",{id:this.props.name,role:"tablist",ref:this.tabElem,className:"fui-tab ".concat(this.props.icon?"with-icon":""," ").concat(this.props.title?"with-title":""," ").concat(this.props.className?this.props.className:""," ").concat(t?"with-scroller":"")},p.a.createElement("div",{className:"active-bar",style:this.state.styles}),this.props.list.map((function(t,n){return t.link?p.a.createElement(m.a,{to:t.link,role:"tab","aria-selected":e.state.currentTab===n,className:"fui-tab-item ".concat(e.state.currentTab===n?"is-active":""),key:"tab-".concat(n),id:"tab-".concat(e.rand,"-").concat(n),target:t.target,"data-aa-tracking-id":t.dataTrackingId,fetkey:t.fetkey},t.icon?p.a.createElement("div",null,p.a.createElement("div",{className:"icon"}
1,p.a.createElement("img",{src:"/DigService"+t.icon,className:"default",alt:t.icon}),p.a.createElement("img",{src:"/DigService"+t.focusIcon,className:"focus",alt:t.icon})),p.a.createElement("div",{className:"text",fetkey:null!=t.fetkey?d.a()+t.fetkey:void 0,"data-aa-tracking-id":t.dataTrackingId},t.label)):p.a.createElement("div",null,t.title?p.a.createElement("div",{className:"title"},t.title):null,p.a.createElement("div",{className:"text",fetkey:null!=t.fetkey?d.a()+t.fetkey:void 0,"data-aa-tracking-id":t.dataTrackingId},t.label))):p.a.createElement("div",{role:"tab","aria-selected":e.state.currentTab===n,onClick:function(a){return e.handleChange(a,t,n)},className:"fui-tab-item ".concat(e.state.currentTab===n?"is-active":""),key:"tab-".concat(n),id:"tab-".concat(e.rand,"-").concat(n),fetkey:null!=t.fetkey?d.a()+t.fetkey:void 0,"data-aa-tracking-id":t.dataTrackingId},t.icon?p.a.createElement("div",null,p.a.createElement("div",{className:"icon"},p.a.createElement("img",{src:"/DigService"+t.icon,className:"default",alt:t.icon}),p.a.createElement("img",{src:"/DigService"+t.focusIcon,className:"focus",alt:t.icon})),p.a.createElement("div",{className:"text",fetkey:null!=t.fetkey?d.a()+t.fetkey:void 0},t.label)):p.a.createElement("div",null,t.meta?p.a.createElement("small",null,t.meta):null,p.a.createElement("div",{className:"text",fetkey:null!=t.fetkey?d.a()+t.fetkey:void 0},t.label)))})));return n?p.a.createElement("div",{className:"fui-tab-with-buttons d-flex flex-align-center"},p.a.createElement("button",{type:"button",className:"fui-tab-scroll-btn left","aria-label":"\u5411\u5de6\u6372\u52d5\u9801\u7c64",disabled:!this.state.canScrollLeft,onClick:function(){return e.scrollByDirection(-1)}},p.a.createElement("i",{className:"icon-chevron-left"})),a,p.a.createElement("button",{type:"button",className:"fui-tab-scroll-btn right","aria-label":"\u5411\u53f3\u6372\u52d5\u9801\u7c64",disabled:!this.state.canScrollRight,onClick:function(){return e.scrollByDirection(1)}},p.a.createElement("i",{className:"icon-chevron-right"}))):a}}])}(p.a.Component);t.a=h},1400:function(e,t,n){"use strict";var a=n(13),r=n(14),i=n(40),s=n(33),o=n(19),l=n(36),c=n(1914),u=n(166),p=n.n(u),m=n(0),d=n.n(m),h=n(1401),f=n(1383),g=n(1391),b=n(237),v=n(136),y=n(1384);var E=function(e){function t(e){var n,r,l,c;return Object(a.a)(this,t),r=this,l=t,c=[e],l=Object(o.a)(l),(n=Object(i.a)(r,Object(s.a)()?Reflect.construct(l,c||[],Object(o.a)(r).constructor):l.apply(r,c))).enableButton1=function(e){n.setState({formOfStep1CanSubmit:!0})},n.disableButton1=function(e){n.setState({formOfStep1CanSubmit:!1})},n.enableButton2=function(e){n.setState({formOfStep2CanSubmit:!0})},n.disableButton2=function(e){n.setState({formOfStep2CanSubmit:!1})},n.formOfStep1Change=function(e,t){var a=Object.assign(n.state.form_Of_Step1);a[e].value=t,n.setState({form_Of_Step1:a})},n.formOfStep2Change=function(e,t){var a=Object.assign(n.state.form_Of_Step2);a[e].value=t,n.setState({form_Of_Step2:a})},n.resendOTPTimer=function(){1===n.state.resentOTPTime?(n.setState({resentOTPTime:100,canResentOTP:!0}),window.clearInterval(n.state.timer)):n.setState({resentOTPTime:n.state.resentOTPTime-=1})},n.sendOTP=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];Object(y.a)(e),n.setState({canResentOTP:!1,timer:window.setInterval(n.resendOTPTimer,1e3),isApiLoading:!0}),v.a("/eservice/api/safetyAuthorizeController/validateAndSendOTP",{otpMsisdn:n.state.form_Of_Step1.phone_number.value,useLoginInfo:n.props.useLoginInfo,urlParam:n.props.urlParam},n.props.transId,null,n.props.useSubmitLoading).then((function(e){if(null!=e&&e.processResult&&"s"==e.processResult.status)n.setState({step:2});else{var a=b.r(e.processResult.message)?e.processResult.message:"\u7cfb\u7d71\u7e41\u5fd9\u4e2d\uff0c\u8acb\u7a0d\u5f8c\u518d\u8a66\u3002";n.props.error_Page(a)}t&&n.setState({isInit:!1}),n.setState({isApiLoading:!1})}))},n.submit=function(e){Object(y.a)(e),n.validateOTP()},n.validateOTP=function(){n.setState({failResultMsg:"",isApiLoading:!0}),n.forceUpdate(),v.a("/eservice/api/safetyAuthorizeController/checkOTP",{otpPassword:n.state.form_Of_Step2.auth_code.value},n.props.transId,null,n.props.useSubmitLoading).then((function(e){if(null!=e&&e.processResult&&"s"==e.processResult.status)null!=n.props.getMsisdn&&n.props.getMsisdn(n.state.form_Of_Step1.phone_number.value),n.props.success_Function();else{var t=b.r(e.processResult.message)?e.processResult.message:"\u7cfb\u7d71\u7e41\u5fd9\u4e2d\uff0c\u8acb\u7a0d\u5f8c\u518d\u8a66\u3002";n.setState({failResultMsg:t})}n.setState({isApiLoading:!1})}
1))},n.formOfStep1=d.a.createRef(),n.formOfStep2=d.a.createRef(),n.state={isInit:!0,isApiLoading:!1,formOfStep1CanSubmit:!1,formOfStep2CanSubmit:!1,step:1,form_Of_Step1:{phone_number:{value:"",required:!0}},form_Of_Step2:{auth_code:{value:"",required:!0}},canResentOTP:!0,timer:null,resentOTPTime:100,failResultMsg:""},n}return Object(l.a)(t,e),Object(r.a)(t,[{key:"componentDidMount",value:function(){b.r(this.props.msisdn)||this.props.useLoginInfo?(this.formOfStep1Change("phone_number",b.r(this.props.msisdn)?this.props.msisdn:""),this.sendOTP(window.Event,!0)):this.setState({isInit:!1})}},{key:"render",value:function(){var e=this,t=this.state,n=t.isInit,a=t.form_Of_Step1,r=t.form_Of_Step2,i=this.props.step1Description||"\u70ba\u4fdd\u969c\u5e33\u6236\u4f7f\u7528\u5b89\u5168\uff0c\u6b64\u670d\u52d9\u5c07\u767c\u9001\u9a57\u8b49\u78bc\u81f3\u60a8\u8f38\u5165\u7684\u9580\u865f\u3002",s=this.props.step1PhoneLabel||"\u8f38\u5165\u624b\u6a5f\u865f\u78bc";return d.a.createElement("span",{className:n?"is-api-loading":""},1===this.state.step?d.a.createElement("div",{className:"fui-container"},d.a.createElement(p.a,{onValid:this.enableButton1,onInvalid:this.disableButton1,ref:this.formOfStep1},d.a.createElement("div",{className:"form-group"},d.a.createElement("h4",{className:"form-description is-text-darkgray50"},i),d.a.createElement("div",{className:"is-text-accent text-sm"},d.a.createElement("span",{className:"required-dot"})," \u5fc5\u586b")),d.a.createElement("div",{className:"form-group"},d.a.createElement(c.a,{container:!0},d.a.createElement(c.a,{item:!0,xs:12,sm:12,md:6},d.a.createElement(g.a,{disabled:!1,type:"tel",name:"phone_number",validations:{matchRegexp:/^09\d{8}$/},validationErrors:{matchRegexp:"\u8acb\u8f38\u5165\u624b\u6a5f\u865f\u78bc\u4f86\u63a5\u6536\u7c21\u8a0a\u9a57\u8b49\u78bc"}
1,required:a.phone_number.required,label:s,value:a.phone_number.value,onChange:this.formOfStep1Change,maxLength:10})))),d.a.createElement("div",{className:"form-group two-buttons"},d.a.createElement(f.a,Object.assign({},this.props.dataTrackingIdOfOTPPhone&&{dataTrackingId:this.props.dataTrackingIdOfOTPPhone},this.props.fetkeyOfOTPPhone&&{fetkey:this.props.fetkeyOfOTPPhone},{btnStyle:"primary",className:this.state.isApiLoading?"is-api-loading":"",size:"large",onClick:function(t){return e.props.beforeSendOTP?e.props.beforeSendOTP(t,e.sendOTP,a.phone_number.value):e.sendOTP(t)},disabled:!this.state.formOfStep1CanSubmit||this.state.isApiLoading}),"\u9001\u51fa")))):null,2===this.state.step?d.a.createElement("div",{className:"fui-container"},d.a.createElement(p.a,{onValid:this.enableButton2,onInvalid:this.disableButton2,ref:this.formOfStep2},d.a.createElement("div",{className:"form-group"},d.a.createElement("h4",{className:"form-description is-text-darkgray50"},"\u9a57\u8b49\u78bc\u5df2\u767c\u9001\u81f3",b.r(this.props.msisdn)?h.a(a.phone_number.value):"\u60a8\u7684\u9580\u865f","\uff0c\u8acb\u572810\u5206\u9418\u5167\u8f38\u5165\uff0c\u82e5\u672a\u6536\u5230\uff0c\u8acb\u9ede\u9078\u300c\u91cd\u65b0\u767c\u9001\u300d\u3002\u70ba\u4fdd\u969c\u5e33\u6236\u4f7f\u7528\u5b89\u5168\uff0c\u8acb\u52ff\u5c07\u9a57\u8b49\u78bc\u63d0\u4f9b\u7d66\u4ed6\u4eba\u3002"),d.a.createElement("div",{className:"is-text-accent text-sm"},d.a.createElement("span",{className:"required-dot"})," \u5fc5\u586b")),d.a.createElement("div",{className:"form-group"},d.a.createElement(c.a,{container:!0},d.a.createElement(c.a,{item:!0,xs:12,sm:12,md:6},d.a.createElement(g.a,{disabled:!1,name:"auth_code",type:"tel",maxLength:5,required:r.auth_code.required,label:"\u8f38\u5165\u9a57\u8b49\u78bc",value:r.auth_code.value,onChange:this.formOfStep2Change,failResultMsg:this.state.failResultMsg})))),d.a.createElement("div",{className:"form-group two-buttons"},d.a.createElement(f.a,Object.assign({},this.props.dataTrackingIdOfValidateOTP&&{dataTrackingId:this.props.dataTrackingIdOfValidateOTP},this.props.fetkeyOfValidateOTP&&{fetkey:this.props.fetkeyOfValidateOTP},{btnStyle:"primary",size:"large",onClick:function(t){return e.submit(t)},disabled:!this.state.formOfStep2CanSubmit||this.state.isApiLoading,className:this.state.isApiLoading?"is-api-loading":""}),"\u9001\u51fa"),d.a.createElement(f.a,Object.assign({},this.props.dataTrackingIdOfResend&&{dataTrackingId:this.props.dataTrackingIdOfResend},this.props.fetkeyOfResend&&{fetkey:this.props.fetkeyOfResend},{onClick:function(t){return e.sendOTP(t)},disabled:!this.state.canResentOTP||this.state.isApiLoading,btnStyle:"secondary",size:"large"}),"\u91cd\u65b0\u767c\u9001(".concat(this.state.resentOTPTime,")"))))):null)}}])}(d.a.Component);t.a=E},1401:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a=function(e){return e.substring(0,4)+"-"+e.substring(4,7)+"-"+e.substring(7,10)}},1404:function(e,t,n){"use strict";n.d(t,"c",(function(){return r})),n.d(t,"b",(function(){return i})),n.d(t,"a",(function(){return s})),n.d(t,"d",(function(){return o})),n.d(t,"i",(function(){return l})),n.d(t,"h",(function(){return c})),n.d(t,"g",(function(){return u})),n.d(t,"f",(function(){return p})),n.d(t,"e",(function(){return m}));var a=n(1405),r=function(e){var t=new Date(e),n=t.getMonth()+1,r=t.getDate();return t.getFullYear()+"/"+a.a(n,2)+"/"+a.a(r,2)},i=function(e){var t=new Date(e),n=t.getMonth()+1,r=t.getDate();return t.getFullYear()+"\u5e74"+a.a(n,2)+"\u6708"+a.a(r,2)+"\u65e5"},s=function(e){var t=String(e.getMonth()+1).padStart(2,"0");return e.getFullYear()+"\u5e74"+t+"\u6708"},o=function(e){var t=new Date(e),n=t.getTimezoneOffset()/60,r=t.setHours(t.getHours()+(n+8)),i=new Date(r),s=i.getMonth()+1,o=i.getDate(),l=i.getHours(),c=i.getMinutes();return i.getFullYear()+"/"+a.a(s,2)+"/"+a.a(o,2)+" "+a.a(l,2)+":"+a.a(c,2)},l=function(e,t){var n=e.split("T")[0],r=n.split("-")[0],i=n.split("-")[1],s=n.split("-")[2];return r+"/"+a.a(i,2)+"/"+a.a(s,2)},c=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},p=function(e){return e.slice(0,4)+"/"+e.slice(4,6)+"/"+e.slice(6,8)},m=function(e){if(null!=e){var t=e.toString(),n="";return 2==t.length&&"1"==t.substring(0,1)?n=t:2==t.length&&"0"==t.substring(0,1)&&(n=t.substring(1)),n}}},1405:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a=function(e,t,n){return n=n||"0",(e+="").length>=t?e:new Array(t-e.length+1).join(n)+e}},1412:function(e,t,n){"use strict";var a=n(13),r=n(14),i=n(40),s=n(33),o=n(19),l=n(36),c=n(0),u=n.n(c),p=n(311);var m=function(e){function t(e){var n,r,l,c;return Object(a.a)(this,t),r=this,l=t,c=[e],l=Object(o.a)(l),(n=Object(i.a)(r,Object(s.a)()?Reflect.construct(l,c||[],Object(o.a)(r).constructor):l.apply(r,c))).componentDidMount=function(){window.addEventListener("scroll",(function(e){return n.detectScroll()}))},n.componentWillUnmount=function(){window.removeEventListener("scroll",(function(e){return n.detectScroll()}))},n.detectScroll=function(e){var t=n.state.tooltip,a=window.scrollY||document.documentElement.scrollTop,r
1=n.props.parentNode?n.props.parentNode.current:n.trigger.current;if(t&&r){var i=r.getBoundingClientRect();t.style.top=i.top-r.clientHeight+a+"px"}},n.handleClick=function(e){if(e.preventDefault(),!0!==n.state.isClose&&"undefined"!==typeof window){if(n.setState({isHandleClick:!0}),n.forceUpdate(),document.getElementsByClassName("fui-tooltip").length&&document.getElementsByClassName("fui-tooltip")[0].removeElement(),Boolean(n.state.anchorEl))n.setState({anchorEl:null,isHandleClick:!1});else{n.trigger.current.focus(),n.setState({anchorEl:e.currentTarget,isHandleClick:!1,tooltip:null});var t=window.innerWidth<600,a=document.createElement("div"),r=document.createElement("div"),i=window.scrollY||document.documentElement.scrollTop;a.className="fui-tooltip "+(n.props.parentNode?"":"is-nest"),r.className="fui-tooltip-body";document.getElementsByClassName("fui-nav-anchor").length>0||document.getElementsByClassName("fui-nav-tab").length,document.getElementsByClassName("fui-nav-anchor")[0]&&document.getElementsByClassName("fui-nav-anchor")[0].classList.contains("is-fixed")||document.getElementsByClassName("fui-nav-tab").length&&document.getElementsByClassName("fui-nav-tab")[0].classList.contains("is-fixed");var s=n.props.parentNode?n.props.parentNode.current:n.trigger.current,o=s.getBoundingClientRect();a.style.top=o.top-s.clientHeight+i+"px",a.style.display="block",a.style.left=(o.left<window.innerWidth/2?15:window.innerWidth-255)+"px",o.left<window.innerWidth/2?a.style.left="30px":(a.style.right="30px",a.style.left="auto"),t||(a.style.left=o.left+"px",n.props.parentNode&&(a.style.width=s.clientWidth+"px")),r.innerHTML="\n          ".concat(n.props.tooltip,"\n      "),a.appendChild(r);var l=null;Array.from(document.getElementById("root").childNodes).map((function(e){if("MAIN"===e.tagName)return l=e,!1})),n.setState({tooltip:a}),l.appendChild(a),n.props.onOpen&&n.props.onOpen(),n.props.onClick&&n.props.onClick(e)}return!1}},n.closeMenu=function(e){n.props.close&&n.props.close(),setTimeout((function(){n.setState({anchorEl:null,isClose:!1})}),120)},n.readyToClose=function(e){!0!==n.state.isHandleClick&&(document.getElementsByClassName("fui-tooltip").length&&document.getElementsByClassName("fui-tooltip")[0].removeElement(),n.setState({isClose:!0}),n.forceUpdate(),setTimeout((function(){n.closeMenu()}),50))},n.trigger=u.a.createRef(),n.state={anchorEl:null,isClose:!1,selectedItem:n.props.label,isHandleClick:!1},n}return Object(l.a)(t,e),Object(r.a)(t,[{key:"render",value:function(){return u.a.createElement("div",{className:"fui-tooltip-container ".concat(Boolean(this.state.anchorEl)?"is-show":"")},u.a.createElement("button",{"data-aa-tracking-id":"".concat(this.props.dataTrackingId),fetkey:null!=this.props.fetkey?p.a()+this.props.fetkey:void 0,ref:this.trigger,className:"fui-button is-text",onClick:this.handleClick,onBlur:this.readyToClose,"aria-expanded":Boolean(this.state.anchorEl)},this.props.content))}}])}(u.a.Component);t.a=m},1423:function(e,t,n){"use strict";var a=n(13),r=n(14),i=n(40),s=n(33),o=n(19),l=n(36),c=n(0),u=n.n(c),p=n(311),m=n(1384);var d=function(e){function t(e){var n,r,l,c;return Object(a.a)(this,t),r=this,l=t,c=[e],l=Object(o.a)(l),(n=Object(i.a)(r,Object(s.a)()?Reflect.construct(l,c||[],Object(o.a)(r).constructor):l.apply(r,c))).body=u.a.createRef(),n.state={contentHeight:0,open:n.props.open||!1},n.collapseOpen=n.collapseOpen.bind(n),n.setContentHeight=n.setContentHeight.bind(n),n}return Object(l.a)(t,e),Object(r.a)(t,[{key:"setContentHeight",value:function(){this.setState({contentHeight:this.body.current.clientHeight})}},{key:"componentDidMount",value:function(){var e=this;window.addEventListener("resize",(function(t){e.setContentHeight()})),setTimeout((function(){e.setContentHeight()}),1500)}},{key:"componentDidUpdate",value:function(e){!this.props.onChange||e.open===this.state.open&&this.props.open===this.state.open||this.setState({open:this.props.open})}},{key:"collapseOpen",value:function(e){Object(m.a)(e),this.setContentHeight(),this.props.onChange?this.props.onChange(!this.state.open):this.setState({open:!this.state.open}),this.props.openCollapse&&this.props.openCollapse(this.props.keyVal),this.forceUpdate()}},{key:"render",value:function(){return u.a.createElement("div",{className:"fui-collapse paper ".concat(this.state.open?"is-open":""," ").concat(this.props.className)},u.a.createElement("div",{role:"button",onClick:this.collapseOpen,className:"collapse-header",dangerouslySetInnerHTML:{__html:this.props.title}
vendor: 4,733 bytes, line 1
1,fetkey:null!=this.props.fetkey?null!=this.props.fetkeyTitle?p.a()+this.props.fetkeyTitle+this.props.fetkey:p.a()+this.props.fetkey:void 0,"data-aa-tracking-id":this.props.dataTrackingId}),u.a.createElement("div",{className:"collapse-body",style:{height:this.state.open?this.state.contentHeight:0}},u.a.createElement("div",{className:"p-0",ref:this.body},this.props.children)))}}])}(u.a.Component);t.a=d},1430:function(e,t,n){"use strict";n.d(t,"c",(function(){return s})),n.d(t,"d",(function(){return o})),n.d(t,"j",(function(){return l})),n.d(t,"i",(function(){return c})),n.d(t,"h",(function(){return u})),n.d(t,"a",(function(){return p})),n.d(t,"f",(function(){return m})),n.d(t,"g",(function(){return d})),n.d(t,"e",(function(){return h})),n.d(t,"b",(function(){return g}));var a=n(18),r=n(237);function i(){i=function(){return t};var e,t={},n=Object.prototype,a=n.hasOwnProperty,r=Object.defineProperty||function(e,t,n){e[t]=n.value},s="function"==typeof Symbol?Symbol:{},o=s.iterator||"@@iterator",l=s.asyncIterator||"@@asyncIterator",c=s.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(e){u=function(e,t,n){return e[t]=n}}function p(e,t,n,a){var i=t&&t.prototype instanceof b?t:b,s=Object.create(i.prototype),o=new T(a||[]);return r(s,"_invoke",{value:C(e,n,o)}),s}function m(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}t.wrap=p;var d="suspendedStart",h="executing",f="completed",g={};function b(){}function v(){}function y(){}var E={};u(E,o,(function(){return this}));var S=Object.getPrototypeOf,N=S&&S(S(D([])));N&&N!==n&&a.call(N,o)&&(E=N);var w=y.prototype=b.prototype=Object.create(E);function k(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function O(e,t){function n(r,i,s,o){var l=m(e[r],e,i);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==typeof u&&a.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,s,o)}),(function(e){n("throw",e,s,o)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,o)}))}o(l.arg)}var i;r(this,"_invoke",{value:function(e,a){function r(){return new t((function(t,r){n(e,a,t,r)}))}return i=i?i.then(r,r):r()}})}function C(t,n,a){var r=d;return function(i,s){if(r===h)throw Error("Generator is already running");if(r===f){if("throw"===i)throw s;return{value:e,done:!0}}for(a.method=i,a.arg=s;;){var o=a.delegate;if(o){var l=L(o,a);if(l){if(l===g)continue;return l}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if(r===d)throw r=f,a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);r=h;var c=m(t,n,a);if("normal"===c.type){if(r=a.done?f:"suspendedYield",c.arg===g)continue;return{value:c.arg,done:a.done}}"throw"===c.type&&(r=f,a.method="throw",a.arg=c.arg)}}}function L(t,n){var a=n.method,r=t.iterator[a];if(r===e)return n.delegate=null,"throw"===a&&t.iterator.return&&(n.method="return",n.arg=e,L(t,n),"throw"===n.method)||"return"!==a&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+a+"' method")),g;var i=m(r,t.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,g;var s=i.arg;return s?s.done?(n[t.resultName]=s.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,g):s:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function x(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 I(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function T(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(x,this),this.reset(!0)}function D(t){if(t||""===t){var n=t[o];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function n(){for(;++r<t.length;)if(a.call(t,r))return n.value=t[r],n.done=!1,n;return n.value=e,n.done=!0,n};return i.next=i}}throw new TypeError(typeof t+" is not iterable")}return v.prototype=y,r(w,"constructor",{value:y,configurable:!0}),r(y,"constructor",{value:v,configurable:!0}),v.displayName=u(y,c,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,y):(e.__proto__=y,u(e,c,"GeneratorFunction")),e.prototype=Object.create(w),e},t.awrap=function(e){return{__await:e}},k(O.prototype),u(O.prototype,l,(function(){return this})),t.AsyncIterator=O,t.async=function(e,n,a,r,i){void 0===i&&(i=Prom
1ise);var s=new O(p(e,n,a,r),i);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},k(w),u(w,c,"Generator"),u(w,o,(function(){return this})),u(w,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var a in t)n.push(a);return n.reverse(),function e(){for(;n.length;){var a=n.pop();if(a in t)return e.value=a,e.done=!1,e}return e.done=!0,e}},t.values=D,T.prototype={constructor:T,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(I),!t)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=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 n=this;function r(a,r){return o.type="throw",o.arg=t,n.next=a,r&&(n.method="next",n.arg=e),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var s=this.tryEntries[i],o=s.completion;if("root"===s.tryLoc)return r("end");if(s.tryLoc<=this.prev){var l=a.call(s,"catchLoc"),c=a.call(s,"finallyLoc");if(l&&c){if(this.prev<s.catchLoc)return r(s.catchLoc,!0);if(this.prev<s.finallyLoc)return r(s.finallyLoc)}else if(l){if(this.prev<s.catchLoc)return r(s.catchLoc,!0)}else{if(!c)throw Error("try statement without catch or finally");if(this.prev<s.finallyLoc)return r(s.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(s)},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 n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),I(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var a=n.completion;if("throw"===a.type){var r=a.arg;I(n)}return r}}throw Error("illegal catch attempt")},delegateYield:function(t,n,a){return this.delegate={iterator:D(t),resultName:n,nextLoc:a},"next"===this.method&&(this.arg=e),g}},t}var s=function(){var e=Object(a.a)(i().mark((function e(){var t,n,a,r,s,o;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:for(t=new Date,n=t.getFullYear(),a=[],r=0;r<=12;r++)s=n.toString().slice(-2),o={text:s,value:s},a.push(o),n+=1;return e.abrupt("return",a);case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),o=function(){for(var e=(new Date).getFullYear(),t=[],n=0;n<=12;n++){var a=e.toString().slice(-2),r={text:a,value:a};t.push(r),e+=1}return t},l=function(e,t){var n=new Date,a=n.getFullYear(),i=n.getMonth(),s="";return r.r(e)&&r.r(t)&&r.w("20"+e,t)?parseInt(e,10)>parseInt(a,10)+12?s="\u9700\u586b\u5beb\u6b63\u78ba\u4fe1\u7528\u5361\u6709\u6548\u65e5\u671f\u3002":parseInt(a,10)>parseInt("20"+e,10)||parseInt(a,10)==parseInt("20"+e,10)&&parseInt(i,10)>=parseInt(t,10)?s="\u6709\u6548\u65e5\u671f\u904e\u77ed\u3002":s:s="\u9700\u586b\u5beb\u6b63\u78ba\u4fe1\u7528\u5361\u6709\u6548\u65e5\u671f\u3002"},c=function(e){var t="";return r.o(e,16)?t:t="\u8acb\u8f38\u5165\u6b63\u78ba\u7684\u4fe1\u7528\u5361\u5361\u865f"},u=function(e){var t="";return r.o(e,3)?t:t="\u8acb\u8f38\u5165\u6b63\u78ba\u7684\u6aa2\u67e5\u78bc"},p=function(e,t){if(r.r(e)&&r.r(t)){var n=t.getTime()-e.getTime(),a=parseInt(n/864e5);return a<0?0:a}return null},m=function(e){if(r.r(e)){var t="";(e=e.toString())<0&&(t="-",e=e.substring(1));var n=e.toString().split(".")[0],a="";e.toString().includes(".")&&(a="."+e.toString().split(".")[1]);for(var i=[],s=0,o=(n=n.toString()).length-1;o>=0;o--)s++,i.unshift(n[o]),s%3||0==o||i.unshift(",");return t+i.join("")+a}return null},d=function(e){if(!isNaN(e)){var t=e%60;e%60<10&&(t="0"+t);var n=(e=Math.floor(e/60))%60;e%60<10&&(n="0"+n);var a=(e=Math.floor(e/60))%60;return e%60<10&&(a="0"+a),a+":"+n+":"+t}},h=function(e,t,n){try{if("undefined"!=typeof e&&""!=e.trim()&&(e+=" "),!t||"undefined"==typeof t)return e+"0";
1if(""==(t="String"==typeof num?t.trim():t))return e+"0";if(n){o=parseInt(t);var a=parseFloat(t),r=(l=(a=a.toFixed(n)).toString()).indexOf("."),i=l.substring(r),s=l.substring(0,r);return o>0&&s.length>3?e+f(s)+i:o<0&&s.length>4?e+"-"+f(s.substring(1))+i:e+s+i}var o,l=(o=parseInt(t)).toString();return o>0&&l.length>3?e+f(l):o<0&&l.length>4?e+"-"+f(l.substring(1)):e+o}catch(c){return e+t}},f=function(e){var t="",n=0;for(e.length%3==0?(n=0,t=""):e.length%3==1?(n=1,t=e.substring(0,n)+","):e.length%3==2&&(n=2,t=e.substring(0,n)+",");n+3<=e.length;)t+=e.substring(n,n+3),(n+=3)<e.length&&(t+=",");return t},g=function(e){var t=e.length,n="";if((null==e||15!=e.length&&16!=e.length)&&(n="E"),"E"!=n){var a=e.substring(0,1),r=e.substring(0,3),i=e.substring(0,4);15==t?3==a&&r>=340&&r<=379?n="A":(1800==i||2131==i)&&(n="J"):16==t&&(3==a&&r>=300&&r<=399?n="J":4==a?n="V":5!=a&&2!=a||(n="M"))}return n}},1604:function(e,t,n){"use strict";var a=n(13),r=n(14),i=n(40),s=n(33),o=n(19),l=n(36),c=n(0),u=n.n(c),p=n(1914),m=(n(236),n(1412)),d=(n(1393),n(1423)),h=n(136),f=n(1430),g=n(237);var b=function(e){function t(e){var n,r,l,c;return Object(a.a)(this,t),r=this,l=t,c=[e],l=Object(o.a)(l),(n=Object(i.a)(r,Object(s.a)()?Reflect.construct(l,c||[],Object(o.a)(r).constructor):l.apply(r,c))).componentDidMount=function(){n.queryFeeDetail(n.state.msisdn,n.state.subscriberId,n.state.invoiceId,n.state.billDate)},n.componentDidUpdate=function(e,t){(""!==n.props.invoiceId&&e.invoiceId!=n.props.invoiceId&&""!==n.props.billDate&&e.billDate!=n.props.billDate||""!==n.props.msisdn&&e.msisdn!=n.props.msisdn||""!==n.props.subscriberId&&e.subscriberId!=n.props.subscriberId)&&n.queryFeeDetail(n.props.msisdn,n.props.subscriberId,n.props.invoiceId,n.props.billDate)},n.queryFeeDetail=function(e,t,a,r){var i=t+a+r+n.state.transId;void 0!=n.state.dataMap.get(i)&&null!=n.state.dataMap.get(i)?n.transformData(n.state.dataMap.get(i),i):(n.setState({isLoading:!0}),n.state.updating(),h.a("/eservice/api/billSearchController/queryFeeDetail",{subscriberId:t,invoiceId:a,billDate:r},n.state.transId).then((function(e){null!=e.processResult&&null!=e.processResult.status&&"s"==e.processResult.status?n.transformData(e,i):n.state.errorFunction(e.processResult)})))},n.transformData=function(e,t){var a,r=null!=e.paymentDetailList&&e.paymentDetailList.length>0,i=null!=e.microDetail&&null!=e.microDetail.microDetailInfoList&&e.microDetail.microDetailInfoList.length>0,s=[],o=0,l=0,c=[e.paymentDetailList.length],u=[];i&&(a={microDetailInfoList:e.microDetail.microDetailInfoList,totalAmount:e.microDetail.totalAmount},l=e.microDetail.totalAmount),r&&(s=e.paymentDetailList).forEach((function(e,t){o=Number(e.totalAmount).toFixed(),c[t]=!0;var n={tcAmount:"",subscriber:""};n.tcAmount=o,n.subscriber=e.subscriber,u.push(n)}));var p={tcAmountDataList:u,mpAmount:Number(l)};n.state.successFunction(t,e,p,e.mainBillDetail),n.setState({hasPaymentDetailList:r,hasMicroDetail:i,paymentDetailList:s,mircoDetail:a,collapseSwitchs:c,mainBillDetail:e.mainBillDetail,isLoading:!1})},n.setcollapseSwitch=function(e,t){var a=n.state.collapseSwitchs;a[e]=t,n.setState({collapseSwitchs:a})},n.state={msisdn:n.props.msisdn,subscriberId:n.props.subscriberId,invoiceId:n.props.invoiceId,billDate:n.props.billDate,transId:n.props.transId,errorFunction:n.props.errorFunction,successFunction:n.props.successFunction,dataMap:n.props.dataMap,updateAmount:n.props.updateAmount,updating:n.props.updating,display:n.props.display,mainBillDetail:null,isLoading:!0,collapseSwitchs:[],hasPaymentDetailList:!1,hasMicroDetail:!1,paymentDetailList:[],mircoDetail:{microDetailInfoList:[],totalAmount:null},contentHeight:0},n.body=u.a.createRef(),n.setContentHeight=n.setContentHeight.bind(n),n}return Object(l.a)(t,e),Object(r.a)(t,[{key:"setContentHeight",value:function(){this.setState({contentHeight:this.body.current.clientHeight})}},{key:"render",value:function(){var e=this;return u.a.createElement(c.Fragment,null,this.state.isLoading?u.a.createElement("div",{className:"is-api-loading"}):this.state.display?u.a.createElement(c.Fragment,null,this.state.hasPaymentDetailList&&this.state.paymentDetailList.map((function(t,n){return u.a.createElement("section",{className:"no-bg pb-0 mb-2 pt-2",style:{zIndex:"0"}},u.a.createElement("div",{className:"fui-container"},u.a.createElement("div",{className:"fui-segments"},u.a.createElement("div",{className:"paper mb-0"},u.a.createElement("h4",{className:"mb-3 mt-md-4 mt-0"},"\u96fb\u4fe1\u8cbb\u7528\u660e\u7d30"),u.a.createElement(p.a,{container:!0,spacing:2},u.a.createElement(p.a,{item:!0,xs:12,sm:12},g.r(t.name)?u.a.createElement("div",{className:"program-name is-bg-lightgray70 px-3 py-3 mb-5 pb-2"},u.a.createElement("h5",{className:"is-text-darkgray50 is-text-regular mb-1 mt-0"},"\u5c08\u6848\u540d\u7a31"),u.a.createElement("h2",{className:"mb-0"},t.name)):null,u.a.createElement("table",{className:"text-wrap bill-table table-fixed mb-4 table-gray-head"},null!=t.paymentDetailInfoList&&t.paymentDetailInfoList.length>0&&t.paymentDetailInfoList.map((function(e,t){return u.a.createElement("tbody",null,u.a.createElement("tr",null,u.a.createElement("th",{className:"align-left pl-md-5 pl-1"},e.category),u.a.createElement("th",{className:"align-right  pr-md-5 pr-1"},f.f(e.totalAmount),"\u5143")),null!=e.detailInfoList&&e.detailInfoList.length>0&&e.detailInfoList.map((function(e,t){return u.a.createElement("tr",null,u.a.createElement("td",{className:"align-left pl-md-5 pl-1"},e.itemName,null!=e.explain?u.a.createElement(m.a,{parentNode:null,content:u.a.createElement("i",{className:"icon-information is-text-darkgray100 ml-1 d-flex"}),trigger:"click",tooltip:e.explain}):null),u.a.createElement("td",{className:"align-right  pr-md-5 pr-1"},f.f(e.itemValue),"\u5143"))})))})),u.a.createElement("tbody",null,u.a.createElement("tr",null,u.a.createElement("td",{colSpan:"2",className:"px-md-5 px-2 py-4 w-100 is-bg-white"},u.a.createElement("div",{className:"d-flex justify-between flex-align-center"},u.a.createElement("h6",{className:"m-0 is-text-black100"},"\u96fb\u4fe1\u8cbb\u7528\u5c0f\u8a08"),u.a.createElement("h2",{className:"is-text-error m-0"},f.f(t.totalAmount),"\u5143"))))))))),u.a.createElement(d.a,{title:"",className:"collapse-table",open:e.state.collapseSwitchs[n],onChange:function(t){e.setcollapseSwitch(n,t)}},u.a.createElement("div",{className:"mt-2 pb-2"},u.a.createElement("table",{className:"text-wrap table-fixed bill-table mt-0 mb-4 table-gray-head"},null!=t.dataRateList&&t.dataRateList.length>0?u.a.createElement("tbody",null,u.a.createElement("tr",null,u.a.createElement("th",{className:"align-center-md align-left pl-md-5 pl-1 "},"\u4e0a\u7db2\u512a\u60e0\u53ca\u7528\u91cf\u8cc7\u8a0a"),u.a.createElement("th",{className:" pr-md-5 pr-0"},"\u53ef\u4f7f\u7528\u91cf")),t.dataRateList.map((function(e){return u.a.createElement("tr",{key:e.title},u.a.createElement("td",{className:"align-center-md align-left pl-md-5 pl-1"},e.dataRateName),u.a.createElement("td",{className:"pr-md-5 pr-0"}
1,e.dataRateUseBytes))})),u.a.createElement("tr",null,u.a.createElement("td",{className:"align-center-md align-left pl-md-5 pl-1"},"\u672c\u671f\u4f7f\u7528\u91cf"),u.a.createElement("td",{className:"pr-md-5 pr-0"},t.totalBytes))):null),null!=t.preferentialNotes&&t.preferentialNotes.length>0?u.a.createElement("small",null,"\u5c08\u6848\u512a\u60e0\u660e\u7d30\uff1a",u.a.createElement("br",null),t.preferentialNotes.map((function(e,t){return u.a.createElement("span",null,e,u.a.createElement("br",null))}))):null,u.a.createElement("table",{className:"text-wrap bill-table mt-0 mb-2 table-fixed table-gray-head"},null!=t.voiceRateList&&t.voiceRateList.length>0?u.a.createElement("tbody",null,u.a.createElement("tr",null,u.a.createElement("th",{className:"pl-md-5 pl-1 "},"\u901a\u8a71\u9805\u76ee"),u.a.createElement("th",{className:" pr-md-5 pr-0"},"\u672c\u671f\u4f7f\u7528")),t.voiceRateList.map((function(e){return u.a.createElement("tr",{key:e.title},u.a.createElement("td",{className:"pl-md-5 pl-1"},e.voiceRateName),u.a.createElement("td",{className:"pr-md-5 pr-0"},e.voiceRateUseBytes))}))):null),"\u55ae\u50f9\u8aaa\u660e\uff1a",u.a.createElement("br",null),u.a.createElement("small",null,null!=t.priceNotes&&t.priceNotes.length>0&&t.priceNotes.map((function(e,t){return u.a.createElement(c.Fragment,null,u.a.createElement("span",null,e),u.a.createElement("br",null))}))))))))})),this.state.hasMicroDetail?u.a.createElement("section",{className:"no-bg pb-5 mb-md-5 mb-2 pt-0"},u.a.createElement("div",{className:"fui-container"},u.a.createElement("div",{className:"fui-segments"},u.a.createElement("div",{className:"paper mb-0"},u.a.createElement("h4",{className:"mb-3 mt-md-3 mt-0"},"\u4ee3\u6536\u670d\u52d9\u8cbb\u7528"),u.a.createElement("table",{className:"text-wrap bill-table table-fixed mb-4 table-gray-head"},u.a.createElement("tbody",null,u.a.createElement("tr",null,u.a.createElement("th",{className:"align-left pl-md-5 pl-1"},"\u9805\u76ee"),u.a.createElement("th",{className:"align-right  pr-md-5 pr-1"},"\u91d1\u984d")),this.state.mircoDetail.microDetailInfoList.map((function(e,t){return u.a.createElement("tr",null,u.a.createElement("td",{className:"align-left pl-md-5 pl-1"},"\u4ee3\u6536\u670d\u52d9\u8cbb\u7528",""!=e.explain?u.a.createElement(m.a,{parentNode:null,content:u.a.createElement("i",{className:"icon-information is-text-darkgray100 ml-1 d-flex"}),trigger:"click",tooltip:e.explain}):null),u.a.createElement("td",{className:"align-right  pr-md-5 pr-1"},f.f(e.itemValue),"\u5143"))}))),u.a.createElement("tbody",null,u.a.createElement("tr",null,u.a.createElement("td",{colSpan:"2",className:"px-md-5 px-2 py-4 w-100 is-bg-white"},u.a.createElement("div",{className:"d-flex justify-between flex-align-center"},u.a.createElement("h6",{className:"m-0 is-text-black100"},"\u4ee3\u6536\u670d\u52d9\u8cbb\u7528\u5c0f\u8a08"),u.a.createElement("h2",{className:"is-text-error m-0"},f.f(this.state.mircoDetail.totalAmount),"\u5143")))))))))):null,this.state.hasPaymentDetailList||this.state.hasMicroDetail?null:u.a.createElement("section",{className:"usage-rate no-bg pb-4"},u.a.createElement("div",{className:"fui-container"},u.a.createElement("div",{className:"paper"},u.a.createElement("div",{className:""},u.a.createElement("p",{className:"is-text-darkgray50 mb-0 mt-4 body"},"\u672c\u6708\u7121\u4f7f\u7528\u7d00\u9304\uff0c\u8b1d\u8b1d\u3002")))))):null)}}])}(u.a.Component);b.getDerivedStateFromProps=function(e,t){return e.msisdn!=t.msisdn||e.invoiceId!=t.invoiceId||e.billDate!=t.billDate||e.dataMap!=t.dataMap||e.display!=t.display?{invoiceId:e.invoiceId,msisdn:e.msisdn,billDate:e.billDate,dataMap:e.dataMap,display:e.display}:null},t.a=b}}]);

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.