1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1827],{82826:function(e,t,n){"use strict";n.d(t,{Z:function(){return l}});var r=n(1413),o=n(67294),c={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"path",attrs:{d:"M872 474H286.9l350.2-304c5.6-4.9 2.2-14-5.2-14h-88.5c-3.9 0-7.6 1.4-10.5 3.9L155 487.8a31.96 31.96 0 000 48.3L535.1 866c1.5 1.3 3.3 2 5.2 2h91.5c7.4 0 10.8-9.2 5.2-14L286.9 550H872c4.4 0 8-3.6 8-8v-60c0-4.4-3.6-8-8-8z"}}]},name:"arrow-left",theme:"outlined"},a=n(47833),i=function(e,t){return o.createElement(a.Z,(0,r.Z)((0,r.Z)({},e),{},{ref:t,icon:c}))};i.displayName="ArrowLeftOutlined";var l=o.forwardRef(i)},60353:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=o(n(56690)),a=o(n(89728)),i=o(n(61655)),l=o(n(26389)),u=r(n(67294)),s=o(n(4863)),f=function(e){(0,i.default)(n,e);var t=(0,l.default)(n);function n(){var e;return(0,c.default)(this,n),(e=t.apply(this,arguments)).state={error:void 0,info:{componentStack:""}},e}return(0,a.default)(n,[{key:"componentDidCatch",value:function(e,t){this.setState({error:e,info:t})}},{key:"render",value:function(){var e=this.props,t=e.message,n=e.description,r=e.children,o=this.state,c=o.error,a=o.info,i=a&&a.componentStack?a.componentStack:null,l="undefined"===typeof t?(c||"").toString():t,f="undefined"===typeof n?i:n;return c?u.createElement(s.default,{type:"error",message:l,description:u.createElement("pre",null,f)}):r}}]),n}(u.Component);t.default=f},4863:function(e,t,n){"use strict";var r=n(75263).default,o=n(64836).default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var c=o(n(10434)),a=o(n(27424)),i=o(n(38416)),l=o(n(37431)),u=o(n(67996)),s=o(n(42547)),f=o(n(74337)),d=o(n(40753)),p=o(n(42461)),E=o(n(67039)),y=o(n(94354)),g=o(n(93201)),C=o(n(94184)),M=o(n(62874)),m=r(n(67294)),I=n(31929),N=o(n(60366)),S=n(47419),T=o(n(60353)),A=function(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var o=0;for(r=Object.getOwnPropertySymbols(e);o<r.length;o++)t.indexOf(r[o])<0&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]])}return n},v={success:l.default,info:y.default,error:s.default,warning:p.default},O={success:u.default,info:g.default,error:f.default,warning:E.default},b=function(e){var t=e.description,n=e.icon,r=e.prefixCls,o=e.type,c=(t?O:v)[o]||null;return n?(0,S.replaceElement)(n,m.createElement("span",{className:"".concat(r,"-icon")},n),(function(){return{className:(0,C.default)("".concat(r,"-icon"),(0,i.default)({},n.props.className,n.props.className))}})):m.createElement(c,{className:"".concat(r,"-icon")})},h=function(e){var t=e.isClosable,n=e.closeText,r=e.prefixCls,o=e.closeIcon,c=e.handleClose;return t?m.createElement("button",{type:"button",onClick:c,className:"".concat(r,"-close-icon"),tabIndex:0},n?m.createElement("span",{className:"".concat(r,"-close-text")},n):o):null},D=function(e){var t,n=e.description,r=e.prefixCls,o=e.message,l=e.banner,u=e.className,s=void 0===u?"":u,f=e.style,p=e.onMouseEnter,E=e.onMouseLeave,y=e.onClick,g=e.afterClose,S=e.showIcon,T=e.closable,v=e.closeText,O=e.closeIcon,D=void 0===O?m.createElement(d.default,null):O,L=e.action,R=A(e,["description","prefixCls","message","banner","className","style","onMouseEnter","onMouseLeave","onClick","afterClose","showIcon","closable","closeText","closeIcon","action"]),G=m.useState(!1),P=(0,a.default)(G,2),w=P[0],B=P[1],F=m.useRef(),U=m.useContext(I.ConfigContext),H=U.getPrefixCls,_=U.direction,K=H("alert",r),j=function(e){var t;B(!0),null===(t=R.onClose)||void 0===t||t.call(R,e)},x=!!v||T,Y=function(){var e=R.type;return void 0!==e?e:l?"warning":"info"}(),V=!(!l||void 0!==S)||S,Z=(0,C.default)(K,"".concat(K,"-").concat(Y),(t={},(0,i.default)(t,"".concat(K,"-with-description"),!!n),(0,i.default)(t,"".concat(K,"-no-icon"),!V),(0,i.default)(t,"".concat(K,"-banner"),!!l),(0,i.default)(t,"".concat(K,"-rtl"),"rtl"===_),t),s),k=(0,N.default)(R);return m.createElement(M.default,{visible:!w,motionName:"".concat(K,"-motion"),motionAppear:!1,motionEnter:!1,onLeaveStart:function(e){return{maxHeight:e.offsetHeight}},onLeaveEnd:g}
1,(function(e){var t=e.className,r=e.style;return m.createElement("div",(0,c.default)({ref:F,"data-show":!w,className:(0,C.default)(Z,t),style:(0,c.default)((0,c.default)({},f),r),onMouseEnter:p,onMouseLeave:E,onClick:y,role:"alert"},k),V?m.createElement(b,{description:n,icon:R.icon,prefixCls:K,type:Y}):null,m.createElement("div",{className:"".concat(K,"-content")},o?m.createElement("div",{className:"".concat(K,"-message")},o):null,n?m.createElement("div",{className:"".concat(K,"-description")},n):null),L?m.createElement("div",{className:"".concat(K,"-action")},L):null,m.createElement(h,{isClosable:!!x,closeText:v,prefixCls:K,closeIcon:D,handleClose:j}))}))};D.ErrorBoundary=T.default;var L=D;t.default=L},92015:function(e,t,n){"use strict";n(17108),n(48998)},54975:function(e){var t=Object.prototype.hasOwnProperty,n=Object.prototype.toString;e.exports=function(e){if(null==e)return!0;if("boolean"==typeof e)return!1;if("number"==typeof e)return 0===e;if("string"==typeof e)return 0===e.length;if("function"==typeof e)return 0===e.length;if(Array.isArray(e))return 0===e.length;if(e instanceof Error)return""===e.message;if(e.toString==n)switch(e.toString()){case"[object File]":case"[object Map]":case"[object Set]":return 0===e.size;case"[object Object]":for(var r in e)if(t.call(e,r))return!1;return!0}return!1}},48998:function(){},11523:function(e,t,n){"use strict";var r=n(23707),o=n(88842);(function(){function e(e){this.nric=e,this.splitedNRIC=this.splitNRIC(e)}Object.defineProperty(e.prototype,"valid",{get:function(){var e=this.splitedNRIC,t=(e[0],e[1]),n=e[2],c=e[3],a=e[4],i=(e.slice(5),r.DATETIME.combineToDate(t,n,c));return!(!r.DATETIME.inBetween(n,1,12)||!r.DATETIME.inBetween(c,1,31))&&(i&&o.LOCATION.isStateValid(a))},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"birthDate",{get:function(){var e=this.splitedNRIC,t=(e[0],e[1]),n=e[2],o=e[3];e[4],e.slice(5);return""+r.DATETIME.combineToDate(t,n,o)},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"gender",{get:function(){var e=this.splitedNRIC,t=(e[0],e[1],e[2],e[3],e[4],e.slice(5));return this.getGender(t[1])},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"age",{get:function(){var e=this.splitedNRIC,t=(e[0],e[1]),n=e[2],r=e[3],o=(e[4],e.slice(5),new Date),c=new Date(t,n-1,r),a=o.getFullYear()-c.getFullYear();return a>=100?a-100:a},enumerable:!1,configurable:!0}),e.prototype.splitNRIC=function(e){var t=e.match(/^(\d{2})(\d{2})(\d{2})-?(\d{2})-?(\d{3})(\d{1})$/);if(!t)throw new Error("Invalid value number format");return t},e.prototype.getGender=function(e){return e%2===0?"F":"M"}})()},23707:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.DATETIME=void 0,function(e){e.combineToDate=function(e,t,n){var r,o,c=new Date,a=new Date(e,t,n),i=c.getFullYear()-a.getFullYear();return(i>100||100==i&&(r=a,o=c,new Date(0,r.getMonth(),r.getDate())<new Date(0,o.getMonth(),o.getDate())))&&a.setFullYear(a.getFullYear()+100),a},e.inBetween=function(e,t,n){return e>=t&&e<=n}}(t.DATETIME||(t.DATETIME={}))},88842:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.LOCATION=void 0,function(e){var t="SOUTHEAST_ASIA",n="EAST_ASIA",r="SOUTH_ASIA",o="MIDDLE_EAST",c={60:{country:"BN",region:t},61:{country:"ID",region:t},62:{country:"KH",region:t},63:{country:"LA",region:t},64:{country:"MM",region:t},65:{country:"PH",region:t},66:{country:"SG",region:t},67:{country:"TH",region:t},68:{country:"VN",region:t},71:{country:"FOREIGN_UNKNOWN",region:null},72:{country:"FOREIGN_UNKNOWN",region:null},74:{country:"CN",region:n},75:{country:"IN",region:r},76:{country:"PK",region:r},77:{country:"SA",region:o},78:{country:"LK",region:r},79:{country:"BD",region:r},83:{country:"AS|AU|CX|CC|CK|FJ|PF|GU|HM|MH|FM|NC|NZ|NU|NF|PG|TL|TK|UM|WF",region:"OCEANIA"},84:{country:"AI|AR|AW|BO|BR|CL|CO|EC|GF|GP|GY|PY|PE|GS|ST|UY|VE",region:"SOUTH_AMERICA"},85:{country:"DZ|AO|BW|BI|CM|CF|CG|CD|DG|EG|ER|ET|GA|GM|GN|KE|LR|MW|ML|MR|YT|MA|MZ|NA|NE|NG|RW|RE|SN|SL|SO|SD|SZ|TZ|TG|TO|TN|UG|ME|ZR|ZM|ZW",region:"AFRICA"},86:{country:"AM|AT|BE|CY|DK|FO|FR|FI|DE|DD|GR|VA|IT|LU|MK|MT|MC|NL|NO|PT|MD|SK|SI|ES|SE|CH|GG|JE|IM",region:"EUROPE"},87:{country:"GB|IE",region:"BRITISH_ISLES"},88:{country:"BH|IR|IQ|PS|JO|KW|OM|QA|YE|SY|TR|YE|YD|",region:o},89:{country:"JP|KP|KR|TW",region:n},90:{country:"BS|BB|BZ|CR|CU|DM|DO|SV|GD|GT|HT|HN|JM|MQ|MX|NI|PA|PR|KN|LC|VC|TT|TC|VI",regi
1on:"MIDDLE_AMERICA"},91:{country:"CA|GL|AN|PM|US",region:"NORTH_AMERICA"},92:{country:"AL|BY|BA|BG|HR|CZ|CS|EE|GE|HU|LV|LT|ME|PL|XK|RO|RU|RS|UA",region:"SOVIET_REPUBLIC"},93:{country:"AF|AD|AQ|AG|AZ|BJ|BM|BT|IO|BF|CV|KY|KM|DY|GQ|TF|GI|GW|HK|IS|CI|KZ|KI|KG|LS|LY|LI|MO|MG|MV|MU|MN|MS|NR|NP|MP|PW|PS|PN|SH|LC|VC|WS|SM|ST|SC|SB|SJ|TJ|TM|TV|HV|UZ|VU|VA|VG|YU",region:"MISCELLANEOUS"},98:{country:"STATELESS",region:null},99:{country:"UNSPECIFIED",region:null}},a=function(e,t,n){return(e-t)*(e-n)<=0};e.isStateValid=function(e){return function(e){return a(e,1,16)||a(e,21,59)||82==e}(e)||function(e){return!!Object.keys(c).find((function(t){return t==""+e}))}(e)}}(t.LOCATION||(t.LOCATION={}))}}]);
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.