PageSourceSearch

https://www.kreditbee.in/react/861.7fd0a7fe206d56180313.chunk.js

js kreditbee.in collected 2026-10-01 11:27:31 UTC 7,477 bytes, 1 lines download raw bytes

1(self.webpackChunkkbyp_web=self.webpackChunkkbyp_web||[]).push([[861],{"2531c148af25af4dc421":(e,t,n)=>{"use strict";n.d(t,{ZP:()=>w});var i,r=n("69084d01d3449fc1bc27"),o=n("e17b4e01ddcce911a1f0"),a=n("1703d8cbc679e36ed04e"),s=n("f69217d500e3a5910f09"),l=n("37287d0ec9812e674247"),d=n("db89bb6b372be4a82435"),c=n("2d8bd10f3c37c5ee40cb"),p=n("04c5d1d096013a546d13"),f=n("e7f9ffa94b12b7b76d1f"),u=(i="function"==typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,function(e,t,n,r){var o=e&&e.defaultProps,a=arguments.length-3;if(t||0===a||(t={}),t&&o)for(var s in o)void 0===t[s]&&(t[s]=o[s]);else t||(t=o||{});if(1===a)t.children=r;else if(a>1){for(var l=Array(a),d=0;d<a;d++)l[d]=arguments[d+3];t.children=l}return{$$typeof:i,type:e,key:void 0===n?null:""+n,ref:null,props:t,_owner:null}}),h=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}(),b=o.ZP.span.withConfig({displayName:"BOtpForm__ResendOption"})(["font-family:Montserrat;display:inline-block;position:absolute;top:",";padding:8px 0;margin-right:55px;color:#f2b100;font-size:16px;right:",";;margin:0;@media (max-width:768px){top:",";right:",";}"],function(e){return e.top||"35px"},function(e){return e.Mright||"0"},function(e){return e.mobileTop||e.top||"20px"},function(e){return e.right||"5%"}
1),g=o.ZP.a.withConfig({displayName:"BOtpForm__ResendBtn"})(["text-decoration:"," !important;font-size:0.875em;font-weight:600;"," ","  "," > p{",";}font-size:14px;@media (max-width:768px){font-size:12px;}"],function(e){return e.decoration||"none"},function(e){var t=e.margin;return t&&"margin: "+t+";"},function(e){return e.disabled?"":"pointer-events:none;"},function(e){return e.disabled?"color:#f2b100;":"color:#aaaaaa;"},function(e){return e.disabled?"":"color:#ccc;"}),v=o.ZP.div.withConfig({displayName:"BOtpForm__OtpCon"})(["position:relative;> div{@media (max-width:768px){width:auto;height:auto;}"]),y=o.ZP.p.withConfig({displayName:"BOtpForm__Timer"})(["font-size:",";font-weight:",";"," font-style:normal;font-stretch:normal;line-height:1.5;letter-spacing:normal;text-align:right;color:",";display:inline-block;"],function(e){return e.fs?e.fs:"15px"},function(e){return e.fw?e.fw:"500"},function(e){var t=e.mr;return t&&"margin-right: "+t+";"},function(e){return e.clr}),O=o.ZP.div.withConfig({displayName:"BOtpForm__OtpOnCallCon"})(["position:relative;"]),k=o.ZP.button.withConfig({displayName:"BOtpForm__OtpOnCallButton"})(["& a{display:flex;align-items:center;line-height:12px;position:",";right:-1.1875rem;top:0.9rem;font-family:Montserrat;font-size:13px;font-weight:600;color:",";pointer:",";width:120px;& > span{padding-bottom:2px;border-bottom:1px solid ",";}}"],function(e){return e.tert?"unset":"absolute"},function(e){return e.disabled?c.OX:c.Fv},function(e){return e.disabled?"none":"cursor"},function(e){return e.disabled?c.OX:c.Fv});const w=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e)),i=e.otpSending,r=e.errMsg,o=e.errVisibility,s=e.customOtpTimer;return n.state={dashVisibility:!0,otpTimer:s||a.v$,resendEnable:!1,resendingOtp:i,resendClicked:!1,errMsg:r,errVisibility:o,hh:"00",mm:"00",ss:"00",resendOtpCount:0},n.tick=n.tick.bind(n),n.resendClick=n.resendClick.bind(n),n.restoreTimerAndResend=n.restoreTimerAndResend.bind(n),n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),m(t,[{key:"componentDidMount",value:function(){this.tick(),this.timer=setInterval(this.tick,1e3)}},{key:"otpEnter",value:function(e){e.preventDefault(),e.target.validity.patternMismatch||this.props.onChange(e.target.value)}},{key:"tick",value:function(){var e=this.state.otpTimer,t=Math.floor(e/3600),n=Math.floor(e%3600/60),i=e%60;t=("0"+t).slice(-2),n=("0"+n).slice(-2),i=("0"+i).slice(-2),"00"==t&&"00"==n&&"00"==i&&(clearInterval(this.timer),this.setState(function(e){return{resendEnable:!0}})),this.setState({hh:t,mm:n,ss:i,otpTimer:e-1})}},{key:"resendClick",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.setState(function(e){return h({},e,{resendClicked:!0,resendOtpCount:e.resendOtpCount+1})}),this.props.resendClick(e)}},{key:"restoreTimerAndResend",value:function(){var e=this,t=this.props.customOtpTimer;this.setState({resendClicked:!1,otpTimer:t||a.v$,resendEnable:!1},function(){return e.tick()},this.timer=setInterval(this.tick,1e3))}},{key:"componentDidUpdate",value:function(){var e=this.props.otpSending,t=this.state,n=t.resendClicked,i=t.resendingOtp;n&&!e&&!i&&this.restoreTimerAndResend()}},{key:"componentWillUnmount",value:function(){clearInterval(this.timer)}},{key:"render",value:function(){var e=this,t=this.state,n=t.otpTimer,i=t.resendEnable,r=t.hh,o=t.mm,h=t.ss,m=this.props,w=m.eMsg,C=m.eVis,x=m.type,_=m.placeholder,M=m.value,T=m.otpSending,P=m.forceDisable,F=m.otpLength,E=m.bold,S=m.pattern,L=m.autoFocus,Z=m.Left,I=m.noLabel,R=m.top,B=m.mobileTop,N=m.noMargin,j=m.NoMarginOnResend,W=m.noIconLeft,D=m.width,z=m.Mmargin,A=m.hhmmss,V=m.isRefreshIcon,$=m.MinHeight,G=m.mWidth,H=m.border,U=m.timerFs,X=m.timerFw,q=m.right,J=m.resetOtpText,K=m.phFs,Q=m.labelmDp,Y=m.label,ee=m.margin,te=m.labelmPd,ne=m.errM,ie=m.labelWidth,re=m.Width,oe=m.marginLeft,ae=m.Mright,se=m.decoration,le=m.isVoiceEnabled,de=void 0===le?0:le,ce=m.enableOtpOnCallAfter,pe=void 0===ce?2:ce,fe=this.state.resendOtpCount,ue=A&&"("+r+":"+o+":"+h+")"||"("+o+":"+h+")",he=J||"Resend OTP",me=0!==parseInt(de)&&-1===n&&fe>=pe,be=-1!==n||fe<pe;return u(v,{},void 0,u(s.ZP,{eVis:C,eMsg:w,value:M,onChange:this.otpEnter.bind(this),maxLength:F||a.mE,placeholder:_,type:x,icon:"icic_otp",bold:E,autoFocus:L,pattern:S,noLabel:I,noMargin:N,noIconLeft:W,width:D,Mmargin:z,MinHeight:$,mWidth:G,bdr:H,phFs:K,labelmDp:Q,label:Y,margin:ee,labelmPd:te,errM:ne,labelWidth:ie,onWheel:function(e){return e.target.blur()},hideScroll:!0,Width:re,Left:Z,marginLeft:oe}),!T&&u("div",{},void 0,u(b,{Left:Z,top:R,mobileTop:B,right:q,Mright:ae,isGetOTPEnabled:me},void 0,-1===n?u("div",{},void 0,V&&u(d.Z,{clr:"#191919",fs:"14px",className:"icic_reset"}),u(g,{margin:j?"0px":"40px",decoration:se,onClick:this.resendClick.bind(this),disabled:i||P},void 0,he)):u(y,{fs:U,fw:X,mr:j?"0px":"40px",clr:-1===n?"#3d3d3d":"#333333"},void 0,ue),me&&u(O,{},void 0,u(k,{className:"dis-button",onClick:function(){return e.resendClick("voice")}},void 0,u("a",{style:{width:"9rem",textDecoration:"underline"}},void 0,u(f.default,{clr:be?c.$Z:c.Bn,width:"0.75rem",mr:"0.25rem",mt:"1px",src:(0,p.getImageIcon)("ic-call"),dataCy:"getOtpOnCall"}
1),"Get OTP on Call"))))),T&&u(b,{top:R,mobileTop:B,right:q,Mright:ae},void 0,u(l.Z,{noMarginTop:!0})))}}]),t}(r.Component)}}]);

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.