1(this["webpackJsonpnew-era"]=this["webpackJsonpnew-era"]||[]).push([[91],{2441:function(e,t,a){"use strict";var r=a(0),i=a.n(r),n=a(330),o=a(173),l=Object(o.catchableParse)('{"id":"pagetitlebar_standard","version":"0.0.9","metaData":{"label":"\u9875\u9762\u6a21\u5757\u6807\u9898\u680f","description":"\u7528\u4e8e\u9875\u9762\u6216\u529f\u80fd\u6a21\u5757\u7684\u6807\u9898\u5c55\u793a","propsSchema":{"type":"object","properties":{"general":{"title":"\u901a\u7528","type":"object","properties":{"moduleHeight":{"title":"\u6a21\u5757\u9ad8\u5ea6","type":"number","widget":"slider","min":0,"max":80}}},"background":{"title":"\u80cc\u666f\u8272\u914d\u7f6e","type":"object","properties":{"bgColor":{"title":"\u80cc\u666f\u8272","type":"string","format":"color"},"radius":{"title":"\u80cc\u666f\u5706\u89d2","type":"number","widget":"slider","min":0,"max":40,"default":0,"hidden":"{{!rootValue.bgColor}}"},"height":{"title":"\u80cc\u666f\u8272\u9ad8\u5ea6","type":"number","widget":"slider","min":1,"max":80,"default":2,"hidden":"{{!rootValue.bgColor}}"},"position":{"title":"\u80cc\u666f\u8272\u4f4d\u7f6e","type":"string","default":"bottom","enum":["top","center","bottom"],"enumNames":["\u4e0a\u65b9","\u5c45\u4e2d","\u4e0b\u65b9"],"hidden":"{{!rootValue.bgColor}}"}}},"font":{"title":"\u6587\u5b57\u914d\u7f6e","type":"object","properties":{"fontSize":{"title":"\u5b57\u53f7","type":"number","widget":"slider","min":12,"max":28},"color":{"title":"\u6587\u5b57\u989c\u8272","type":"string","format":"color"}},"required":["color"]},"icon":{"title":"\u56fe\u6807\u914d\u7f6e","type":"object","properties":{"size":{"title":"\u56fe\u6807\u9ad8\u5ea6","type":"number","widget":"slider","min":0,"max":28,"default":18},"width":{"title":"\u56fe\u6807\u5bbd\u5ea6","type":"number","widget":"slider","min":0,"max":10,"default":4,"hidden":"{{!rootValue.size}}"},"topLeftRadius":{"title":"\u5de6\u4e0a\u5706\u89d2","type":"number","widget":"slider","min":0,"max":10,"default":0,"hidden":"{{!rootValue.size}}"},"bottomLeftRadius":{"title":"\u5de6\u4e0b\u5706\u89d2","type":"number","widget":"slider","min":0,"max":10,"default":0,"hidden":"{{!rootValue.size}}"},"topRightRadius":{"title":"\u53f3\u4e0a\u5706\u89d2","type":"number","widget":"slider","min":0,"max":10,"default":0,"hidden":"{{!rootValue.size}}"},"bottomRightRadius":{"title":"\u53f3\u4e0b\u5706\u89d2","type":"number","widget":"slider","min":0,"max":10,"default":0,"hidden":"{{!rootValue.size}}"},"marginRight":{"title":"\u53f3\u8fb9\u95f4\u8ddd","type":"number","widget":"slider","min":0,"max":20,"default":8,"hidden":"{{!rootValue.size}}"}}}}},"i18n":{},"defaultFormData":{"general":{"moduleHeight":32},"background":{"bgColor":"","radius":0,"height":2,"position":"bottom"},"font":{"fontSize":18,"color":"#222222"},"icon":{"size":18,"width":4,"topLeftRadius":0,"bottomLeftRadius":0,"topRightRadius":0,"bottomRightRadius":0,"marginRight":8}},"apiHost":{"cmsHost":false,"tRtApiHost":false},"category":"general","type":"pagetitlebar"},"formData":{"general":{"moduleHeight":32},"background":{"bgColor":"","radius":0,"height":2,"position":"bottom"},"font":{"fontSize":18,"color":"#222222"},"icon":{"size":20,"width":4,"topLeftRadius":0,"bottomLeftRadius":0,"topRightRadius":0,"bottomRightRadius":0,"marginRight":8}},"identity":"QgNxX7ZCNX"}'),c=Object(n.RequireComponent)(l.id),m=Object(o.transformData)(l);t.a=function(e){return i.a.createElement(c,Object.assign({},e,m))}},2448:function(e){e.exports=JSON.parse('{"REGISTRE":{"remark":"\u6ce8\u518c\u4f1a\u5458\u9875\u9762","value":"617c18a4-54c9-4796-9d88-6b247f9c34f2"},"JINPENG_REGISTER":{"remark":"\u91d1\u9e4f\u4f1a\u5458\u9875\u9762","value":"dc487517-81d8-43f7-8a67-eba1280bcd2e"},"PASSENGER":{"remark":"\u65c5\u5ba2\u4fe1\u606f\u9875\u9762","value":"b597a5f3-bfb4-4374-976d-5ac892879bac"},"INTERNATIONALPASSENGER":{"remark":"\u56fd\u9645\u65c5\u5ba2\u4fe1\u606f\u9875\u9762","value":"ea3feeca-d086-41bf-9d88-5a592a567893"},"REFUND":{"remark":"\u9000\u6b3e\u9875\u9762","value":"7d71534f-b4a3-405d-8ea9-00b7df8094a7"},"ANCILLARY":{"remark":"\u9644\u52a0\u670d\u52a1\u9875\u9762","value":"1e0fe91d-985f-4caa-81b3-c76cc1e6632c"},"CERTIFICATION":{"remark":"\u5b9e\u540d\u8ba4\u8bc1\u9875\u9762","value":"dced0c57-6790-4656-97f0-b609e050b6b0"}
1,"FLIGHTDELAY":{"remark":"\u4e0d\u6b63\u5e38\u822a\u73ed\u8bc1\u660e\u5ef6\u8bef\u8bc1\u660e","value":"40151bfd-8737-4b27-a748-70118932f435"},"FLIGHTDROP":{"remark":"\u4e0d\u6b63\u5e38\u822a\u73ed\u8bc1\u660e\u5907\u964d\u8bc1\u660e","value":"83e8c92c-459d-479c-884d-2d0b7900c4ff"},"PECHECKIN":{"remark":"\u503c\u673a\u9875\u9762","value":"45855eea-2acd-4b88-9691-e6f8aeb15aab"}}')},2521:function(e,t,a){"use strict";a.d(t,"c",(function(){return i})),a.d(t,"b",(function(){return n})),a.d(t,"a",(function(){return o}));var r=a(48),i=function(e,t){var a="".concat("/tRtApi","/flight/delay/resultSetsCust");return r.a.post(a,e,t)},n=function(e,t){var a="".concat("/tRtApi","/flight/delay/").concat(e.resultSetId,"/sendEmailCust").concat(e.id);return r.a.post(a,e.DelayProofEmail,t)},o=function(e){var t="".concat("/tRtApi","/flight/delay/").concat(e.resultSetId,"/imageCust").concat(e.id);return r.a.get(t,{params:e})}},2764:function(e,t,a){},2765:function(e,t,a){},2825:function(e,t,a){"use strict";a.r(t);var r=a(3),i=(a(313),a(108)),n=a(0),o=a.n(n),l=(a(62),a(24)),c=(a(414),a(136)),m=(a(257),a(112)),u=(a(174),a(28)),s=(a(111),a(36)),d=a(125),b=a(166),f=a(2521),g=a(67),p=a(41),h=a(20),y=a.n(h),E=a(312),v=(a(2764),function(e){var t=e.cmsUrl,a=e.setLoading,i=e.type,h=Object(n.useState)(!1),v=Object(r.a)(h,2),R=v[0],N=v[1],I={checkVoucherNumber:function(e,t){return t&&""!==t&&/^[0-9a-zA-Z]{4,20}$/.test(t)?Promise.resolve():Promise.reject(o.a.createElement(d.a,{message:"\u51ed\u8bc1\u53f7\u7801\u683c\u5f0f\u4e0d\u5bf9\uff0c\u8bf7\u91cd\u65b0\u8f93\u5165\uff01"}))},checkAgreement:function(e,t){return t?Promise.resolve():Promise.reject(o.a.createElement(d.a,{message:"\u8bf7\u540c\u610f\u534f\u8bae"}))},isEmpty:function(e,t){return e?Promise.resolve():Promise.reject(o.a.createElement(d.a,{message:t}))}};return o.a.createElement("div",{className:"certity-form-cmp"},o.a.createElement(u.a,{onFinish:function(e){var t,r={flightDate:y()(e.flightDate).format("YYYY-MM-DD")};t=e.voucherNumber,/^826[0-9]{10}/.test(t)?r.ticketNumber=e.voucherNumber:r.documentId=e.voucherNumber,a(!0),N(!1),Object(f.c)(r,{headers:{mfaMeta:JSON.stringify(e.mfaMeta)}}).then((function(e){a(!1),E.a.push({pathname:"/abnormality/result",state:{type:i,data:e,flightDate:r.flightDate,voucherNumber:r.ticketNumber||r.documentId}})})).catch((function(e){a(!1);var t=Object(g.c)(e),r=Object(g.b)(e);"SECURITY-01-0003"===t?(N(!0),p.a.error({title:"\u63d0\u793a",content:r,okText:"\u786e\u5b9a"})):"OJC-01-1008"===t&&p.a.error({title:"\u63d0\u793a",content:"\u672a\u627e\u5230\u53ef\u5f00\u5177\u5ef6\u8bef\u8bc1\u660e/\u5907\u964d\u8bc1\u660e\u7684\u4e0d\u6b63\u5e38\u822a\u73ed",okText:"\u786e\u5b9a"})}))}},o.a.createElement(u.a.Item,{label:"\u51ed\u8bc1\u53f7\u7801",name:"voucherNumber",colon:!1,validateTrigger:"onBlur",rules:[{required:!0,validator:I.checkVoucherNumber}]},o.a.createElement(s.a,{placeholder:"\u8bf7\u8f93\u516513\u4f4d\u7968\u53f7\uff08\u63a8\u8350\uff09\u6216\u8ba2\u7968\u65f6\u7684\u8bc1\u4ef6\u53f7\u7801"})),o.a.createElement(u.a.Item,{label:"\u822a\u73ed\u65e5\u671f",name:"flightDate",colon:!1,rules:[{required:!0,validator:function(e,t){return I.isEmpty(t,"\u8bf7\u9009\u62e9\u822a\u73ed\u65e5\u671f")}}]},o.a.createElement(m.a,{showToday:!1})),o.a.createElement(u.a.Item,{label:"\u9a8c\u8bc1\u7801",name:"mfaMeta",colon:!1,labelAlign:"right",rules:[{required:!0,validator:function(e,t){return I.isEmpty(t,"\u8bf7\u9009\u62e9\u9a8c\u8bc1\u7801")}}]},o.a.createElement(b.c,{isFresh:R,requestType:b.b.API})),o.a.createElement(u.a.Item,{name:"agreement",valuePropName:"checked",rules:[{validator:I.checkAgreement}]},o.a.createElement(c.a,null,"\u6211\u5df2\u9605\u8bfb\u5e76\u540c\u610f",t&&t.disclameritem&&t.disclameritem.length&&t.disclameritem.map((function(e){var t=e.url;return o.a.createElement("a",{href:t,key:e.identifier,target:"_blank"},"\u300a",e.title,"\u300b")})))),o.a.createElement(u.a.Item,null,o.a.createElement(l.a,{type:"primary",htmlType:"submit"},"\u67e5\u8be2"))))}),R=a(2448),N=a(32),I=a(211),k=a(2441),D=(a(2765),i.a.TabPane),L=function(e){return e.flightDelay="FLIGHT_DELAY",e.flightDrop="FLIGHT_DROP",e}(L||{});t.default=function(e){var t=N.a.useContainer(),a=t.policy,l=t.abnormality,c=o.a.useMemo((function(){return a.getPolicy(R.FLIGHTDELAY.value)}),[a]),m=o.a.useMemo((function(){return a.getPolicy(R.FLIGHTDROP.value)}),[a]),u=Object(n.useState)(!1),s=Object(r.a)(u,2),d=s[0],b=s[1];return o.a.createElement(I.a,{spinning:d},o.a.createElement("div",{className:"abnormality-page"}
1,o.a.createElement(k.a,{title:"\u4e0d\u6b63\u5e38\u822a\u73ed\u8bc1\u660e"}),o.a.createElement("div",{className:"abnormality-content"},o.a.createElement("div",{className:"abnormality-content-tab"},o.a.createElement(i.a,{defaultActiveKey:l.tabIndex,onChange:function(e){l.settabIndex(e)}},o.a.createElement(D,{tab:"\u5ef6\u8bef\u8bc1\u660e",key:"1"},o.a.createElement(v,{type:L.flightDelay,cmsUrl:c,setLoading:b})),o.a.createElement(D,{tab:"\u5907\u964d\u8bc1\u660e",key:"2"},o.a.createElement(v,{type:L.flightDrop,cmsUrl:m,setLoading: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.