1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[134],{11443:function(e,i,t){"use strict";var n,o=t(67294);function d(){return(d=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var t=arguments[i];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e}).apply(null,arguments)}var a=function(e){return o.createElement("svg",d({width:18,height:13,fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),n||(n=o.createElement("path",{d:"M17 1 6 12 1 7",stroke:"#B0E020",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})))};i.Z=a},69226:function(e,i,t){"use strict";var n=t(26042),o=t(99534),d=t(85893),a=t(67294),r=t(73935),l=t(47865),s=t(78550);i.Z=function(e){var i=e.backdropColor,t=e.width,c=void 0===t?"100%":t,u=e.height,p=e.border,v=e.borderRadius,h=e.boxShadow,g=e.backgroundColor,m=(e.margin,e.padding),b=void 0===m?42:m,f=e.maxWidth,x=e.id,y=e.style,k=e.clickHandler,j=void 0===k?function(){}:k,w=(0,o.Z)(e,["backdropColor","width","height","border","borderRadius","boxShadow","backgroundColor","margin","padding","maxWidth","id","style","clickHandler"]),R=(0,a.useState)(!1),C=R[0],N=R[1],_=(0,l.Z)({breakpoint:576});(0,a.useEffect)(function(){return document.getElementById("overlay")&&(document.getElementById("overlay").style.visibility="visible"),function(){return document.getElementById("overlay").style.visibility="hidden"}},[]),(0,a.useEffect)(function(){return N(!0),function(){N(!1)}});var E=function(e){e.target===e.currentTarget&&(j(),e.stopPropagation())};return C?(0,r.createPortal)((0,d.jsx)(s.Z,{children:(0,d.jsx)("div",{className:"overlay_ooredoo",id:x?x+"_overlay":void 0,style:{display:"flex",alignItems:"center",boxSizing:"border-box",position:"fixed",top:0,zIndex:1045,width:"100%",height:"100%",backgroundColor:void 0===i?"rgb(126, 127, 127,0.5)":i,padding:_?"54px 0":54,overflow:"auto"},onClick:E,children:(0,d.jsx)("div",{className:"modalBody",style:(0,n.Z)({height:void 0===u?"fit-content":u,border:void 0===p?"1px solid var(--stroke-gray-color)":p,backgroundColor:void 0===g?"var(--primary-white-color)":g,borderRadius:void 0===v?8:v,boxShadow:void 0===h?"0px 4px 8px -4px rgba(22, 34, 51, 0.08),0px 16px 24px rgba(22, 34, 51, 0.08)":h,padding:_?"".concat(b/2,"px"):b,width:_?"calc(".concat(c," - ").concat(2*b/2,"px)"):"calc(".concat(c," - ").concat(2*b,"px)"),maxWidth:"calc(".concat(void 0===f?845:f,"px - ").concat(2*b,"px)"),margin:"auto"},void 0===y?{}:y),children:w.children})})}),document.getElementById("overlay")):null}},78550:function(e,i,t){"use strict";var n=t(85893),o=t(67294),d=function(e){var i=e.children;return e.id,(0,o.useEffect)(function(){var e=document.getElementsByTagName("body");return e&&e.length>0&&e[0].setAttribute("class","stop-scrolling"),function(){var e=document.getElementsByTagName("body");e&&e.length>0&&e[0].removeAttribute("class","stop-scrolling")}},[]),(0,n.jsx)(n.Fragment,{children:i})};i.Z=d},97563:function(e,i,t){"use strict";var n=t(26042),o=t(99534),d=t(85893),a=t(11443),r=t(67294),l=t(40450),s=function(e){e.ref;var i=e.textLabel,t=e.optionalLabel,s=e.placeholder,c=e.type,u=e.id,p=void 0===u?"":u,v=e.required,h=e.caption,g=e.isCaptionRequired,m=void 0!==g&&g,b=e.isLabelRequired,f=e.isValidationRequired,x=void 0!==f&&f,y=e.handleValidation,k=e.disabled,j=void 0!==k&&k,w=e.isFocusRequired,R=void 0===w||w,C=e.autoFocus,N=void 0!==C&&C,_=e.icon,E=e.righticon,L=e.iconWidth,Z=void 0===L?22:L,I=e.iconHeight,q=e.paddingLeft,T=void 0===q?16:q,B=e.paddingRight,O=void 0===B?16:B,S=e.paddingTop,P=void 0===S?13:S,F=e.paddingBottom,H=e.borderRadius,M=void 0===H?3:H,V=e.errorMessage,W=e.background,A=e.className,J=e.focusOutCallback,z=e.focusInCallback,D=e.height,K=e.value,U=void 0===K?"":K,Y=e.name,G=e.changeHandler,X=void 0===G?function(){}:G,Q=e.style,$=e.margin,ee=e.width,ei=e.OtherComponent,et=e.OtherComponentStyle,en=e.requiredCheckMark,eo=void 0===en||en,ed=e.keyChangeHandler,ea=void 0===ed?function(){}:ed,er=e.maxLength,el=e.iconRightPosition,es=e.iconLeftPosition,ec=e.iconTopPosition,eu=(0,o.Z)(e,["ref","textLabel","optionalLabel","placeholder","type","id","required","caption","isCaptionRequired","isLabelRequired","isValidationRequired","handleValidation","disabled","isFocusRequired","autoFocus","icon","righticon","iconWidth","iconHeight","paddingLeft","paddingRight","paddingTop","paddingBottom","borderRadius","errorMessage","background","className","focusOutCallback","focusInCallback","height","value","name","changeHandler","style","margin","width","OtherComponent","OtherComponentStyle","requiredCheckMark","keyChangeHandler","maxLength","iconRightPosition","iconLeftPosition","iconTopPosition"]),ep=(0,r.useState)(!1),ev=ep[0],eh=ep[1],eg=(0,r.useState)(""),em=eg[0],eb=eg[1];if(x&&!y)throw Error("Validate function required if isValidationRequired = true");var ef=function(e){X&&X(e)},ex=function(e){ea&&ea(e)};return(0,r.useEffect)(function(){var e=function(){z&&z(),eh(!0),eb()},i=function(e){if(x&&y){var i=y(e);eb(i)}
1J&&J(),eh(!1)};return N&&e(),document.getElementById(p)&&(document.getElementById(p).addEventListener("focusin",e),document.getElementById(p).addEventListener("focusout",i)),function(){document.getElementById(p)&&(document.getElementById(p).removeEventListener("focusout",i),document.getElementById(p).removeEventListener("focusin",e))}},[]),(0,d.jsxs)("div",{style:(0,n.Z)({borderRadius:M,display:"flex",flexDirection:"column",margin:$||"0px 8px",width:ee||"calc(100% - ".concat(T+O,"px)")},void 0===Q?{}:Q),id:p+"_div",children:[void 0!==b&&b&&(0,d.jsxs)("label",{htmlFor:p,style:{marginBottom:12,width:"100%"},className:j?"label disabled":"label",children:[void 0===i?"Text Label":i," ",(0,d.jsx)("span",{className:"optional",children:t})]}),(0,d.jsxs)("div",{style:{position:"relative",width:"calc(100% - ".concat(x&&!0===em&&eo&&""!==U?32:0,"px)"),borderRadius:"50px"},className:ev&&R?"shadow_glow_red ":"",children:[(0,d.jsx)("input",(0,n.Z)({type:void 0===c?"text":c,id:p,autoFocus:N,required:void 0!==v&&v,placeholder:void 0===s?"Placeholder text":s,name:Y,value:U,onChange:ef,disabled:j,maxLength:void 0===er?void 0:er,style:{border:ev&&R||x&&!1===em?"1px solid var(--primary-red-lightest-color)":void 0,height:void 0===D?"":D,borderRadius:M,paddingRight:x&&!0===em&&eo&&""!==U?O+32:O,paddingTop:P,paddingBottom:void 0===F?13:F,width:_?"calc(100% - ".concat(Z+T+O+2,"px)"):"calc(100% - ".concat(T+O+2,"px)"),paddingLeft:_?Z+T:T,background:j?"var(--bg-lightest-color)":x&&!1===em?"rgba(237, 28, 36, 0.04)":W},className:void 0===A?"":A,onKeyPress:ex},eu)),x&&!0===em&&eo&&""!==U&&(0,d.jsx)("div",{style:{position:"absolute",right:-12,top:P+6},children:(0,d.jsx)(l.Z,{children:(0,d.jsx)(a.Z,{})})}),_&&(0,d.jsx)("div",{style:{position:"absolute",left:void 0===es?8:es,top:null!=ec?ec:P+2},children:(0,d.jsx)(l.Z,{style:{width:Z,height:void 0===I?18:I},children:_})}),E&&(0,d.jsx)("div",{style:{position:"absolute",right:void 0===el?16:el,top:null!=ec?ec:P+2},children:(0,d.jsx)(l.Z,{children:E})}),ei&&(0,d.jsx)("div",{style:(0,n.Z)({position:"absolute",right:4,top:6,width:"fit-content"},et),children:ei})]}),(m||x&&!1===em)&&(0,d.jsx)("div",{className:"".concat(m?"".concat(j?"disabled":""," caption"):"body3"),style:{marginTop:12,color:x&&!1===em?"var(--secondary-red-light)":void 0},children:x&&!1===em&&V?V:void 0===h?"Caption":h})]})};i.Z=s},20134:function(e,i,t){"use strict";t.r(i);var n=t(47568),o=t(14924),d=t(26042),a=t(70655),r=t(85893),l=t(69226),s=t(29200),c=t.n(s),u=t(97563),p=t(40450),v=t(1576),h=t(74595),g=t(1736),m=t(9473),b=t(49093),f=t(8094),x=t(49778),y=t(11163);t(66058);var k=function(e){var i,t=e.data,s=(0,m.I0)();(0,y.useRouter)();var k=(0,m.v9)(function(e){return e}),j=k.kyc.msisdn,w=k.purchaseJourney,R=(0,v._k)({msisdn:j}),C=(null==t?void 0:null===(_=t.sections)||void 0===_?void 0:_.find(function(e){return"kyc-mobile-modal-section"===e.sectionType}))!==null,N={heading:"",sendLinkJSON:[],buttonText:""};if(C){var _,E,L,Z,I,q,T=null==t?void 0:null===(L=t.sections)||void 0===L?void 0:L.find(function(e){return"kyc-mobile-modal-section"===e.sectionType});N.heading=null==T?void 0:T.heading,N.sendLinkJSON=(null==T?void 0:null===(Z=T.widgets)||void 0===Z?void 0:Z.filter(function(e){return(null==e?void 0:e.type)==="textWithImage"}))||[],N.buttonText=(null===(q=null==T?void 0:null===(I=T.widgets)||void 0===I?void 0:I.find(function(e){return(null==e?void 0:e.type)==="button-text-type"}))||void 0===q?void 0:q.buttonText1)||""}var B,O=function(e){s((0,b.kv)({msisdn:e.target.value}))},S=function(e){s((0,b.AR)({error:(0,d.Z)({},e)}))},P=(B=(0,n.Z)(function(){var e;return(0,a.__generator)(this,function(i){switch(i.label){case 0:return[4,(0,f.yc)(null==w?void 0:w.sessionId,j)];case 1:return(null==(e=i.sent())?void 0:e.error)===!1?s((0,b.sh)({journey:x.jA.CONFIRM_LINK})):S(e),[2]}})}),function(){return B.apply(this,arguments)}),F=function(){s((0,b.sh)({journey:x.jA.KYC_VERIFY}))};return(0,r.jsx)(l.Z,{style:(i={display:"flex",flexDirection:"column",gap:"32px",justifyContent:"center",padding:"42px 32px"},(0,o.Z)(i,"gap","32px"),(0,o.Z)(i,"boxShadow"," var(--shadow-base)"),(0,o.Z)(i,"maxWidth","261px"),i),children:C&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("div",{className:"headlines_subtitle1",children:null==N?void 0:N.heading}),(0,r.jsx)("div",{className:c().steps,children:null==N?void 0:null===(E=N.sendLinkJSON)||void 0===E?void 0:E.map(function(e,i){return(0,r.jsxs)("div",{className:c().step,children:[(0,r.jsx)(p.Z,{className:c().icon,mediaUrl:null==e?void 0:e.mediaUrl}),(0,r.jsx)("div",{className:"body3_light",children:null==e?void 0:e.displayTitle})]},i)})}),(0,r.jsx)(u.Z,{id:"contactNumber",handleValidation:v.NG,isValidationRequired:!0,value:j,margin:"0px",changeHandler:O,name:"contactNumber",textLabel:"Mobile Number:",errorMessage:"Please enter correct number.",placeholder:"Enter Mobile number here",isLabelRequired:!0,isCaptionRequired:!1,isFocusRequired:!1,disabled:!1,type:"text",width:"100%"}),(0,r.jsxs)("div",{className:c().buttons,children:[(0,r.jsx)(g.Z,{type:h.Z.TEXT,label:"Cancel",paddingLeft:20,paddingRight:20,clickHandler:F,isShadowRequired:!1,size:"small",color:"var(--primary-black-color)"}),(0,r.jsx)(g.Z,{type:h.Z.CONTAINED,label:null==N?void 0:N.buttonText,paddingLeft:20,disabled:!R,clickHandler:P,paddingRight:20,isShadowRequired:!1,size:"small"})]})]})})};i.default=k},29200:function(e){e.exports={container:"send-link-popup_container__eKsyN",steps:"send-link-popup_steps__DTgpM",step:"send-link-popup_step__OhJgI",icon:"send-link-popup_icon__Nmnkw",buttons:"send-link-popup_buttons__Cy0i8"}}}]);
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.