PageSourceSearch

https://app.fisdom.com/static/js/2687.d1d5f80d.chunk.js

js fisdom.com collected 2026-10-02 15:21:55 UTC 27,484 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkmobile_web=self.webpackChunkmobile_web||[]).push([[2687],{2687:function(e,t,n){n.r(t),n.d(t,{default:function(){return ve}});var r=n(86070),a=n(88564),o=n(66534),i=n(67681),l=n(23553),c=n(1305),s=n(51605),d=n(93087),u=n(38584),v=n(95258);const f={text:"Confirm order with OTP",dataAid:"title"},p={text:(e="",t="")=>`An OTP has been sent to ${e} and ${t}`,dataAid:"subtitleWithContactDetails"},m={text:"Enter the OTP sent to your registered mobile number/email",dataAid:"subtitle"},A={text:"Continue",dataAid:"confirm"},_={text:"Resend OTP in"},E={text:"Resend OTP"},y={text:"Please enter OTP"},S={text:"Please enter valid OTP"},g={text:"OTP sent successfully"};var b=n(85637),h=n(55869),T=n(96793),P=n(70324),I=n(456),C=n(52772),O=n(13095),N=n(6185),U=n(64261),x=n(34595),R=n(50226),w=n(54718),k=n(66308),L=n(30758),M=n(51147),D=n(17090),B=n(69147),Y=n(62388),q=n(34320),j=n(14487),F=n.n(j);!function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);var V=function(e){var t=e.onClick,n=e.Icon,r=e.size,a=void 0===r?"medium":r,o=e.disabled,i=void 0!==o&&o,l=e.iconColor,c=void 0===l?"contentPrimary":l,s=e.dataTestId;return L.createElement("button",{onClick:t,className:"iconButton ".concat("small"===a?"iconBtnSmall":"iconBtnMedium"," ").concat(i?"contentDisabled":"".concat(c," backgroundTransparentHover")),disabled:i,"data-test-id":s,tabIndex:i?-1:0,"aria-disabled":i},L.createElement(n,{size:20}))},H=n(53438);!function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);var K=L.memo(function(e){const t=(0,H.h)(e);return L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},L.createElement("g",{clipPath:"url(#clip0_1_116)"},L.createElement("path",{fill:"currentColor",d:"m12 13.4 2.9 2.9a.95.95 0 0 0 .7.275.95.95 0 0 0 .7-.275.95.95 0 0 0 .275-.7.95.95 0 0 0-.275-.7L13.4 12l2.9-2.9a.95.95 0 0 0 .275-.7.95.95 0 0 0-.275-.7.95.95 0 0 0-.7-.275.95.95 0 0 0-.7.275L12 10.6 9.1 7.7a.95.95 0 0 0-.7-.275.95.95 0 0 0-.7.275.95.95 0 0 0-.275.7q0 .425.275.7l2.9 2.9-2.9 2.9a.95.95 0 0 0-.275.7q0 .425.275.7a.95.95 0 0 0 .7.275.95.95 0 0 0 .7-.275zm0 8.6a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22"})),L.createElement("defs",null,L.createElement("clipPath",{id:"clip0_1_116"},L.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))});var Q=L.memo(function(e){const t=(0,H.h)(e);return L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},L.createElement("g",{clipPath:"url(#clip0_1_551)"},L.createElement("path",{fill:"currentColor",d:"M12 17q.424 0 .713-.288A.97.97 0 0 0 13 16a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 15a.97.97 0 0 0-.713.287A.97.97 0 0 0 11 16q0 .424.287.712.288.288.713.288m0-4q.424 0 .713-.287A.97.97 0 0 0 13 12V8a.97.97 0 0 0-.287-.713A.97.97 0 0 0 12 7a.97.97 0 0 0-.713.287A.97.97 0 0 0 11 8v4q0 .424.287.713.288.287.713.287m0 9a9.7 9.7 0 0 1-3.9-.788 10.1 10.1 0 0 1-3.175-2.137q-1.35-1.35-2.137-3.175A9.7 9.7 0 0 1 2 12q0-2.075.788-3.9a10.1 10.1 0 0 1 2.137-3.175q1.35-1.35 3.175-2.137A9.7 9.7 0 0 1 12 2q2.075 0 3.9.788a10.1 10.1 0 0 1 3.175 2.137q1.35 1.35 2.137 3.175A9.7 9.7 0 0 1 22 12a9.7 9.7 0 0 1-.788 3.9 10.1 10.1 0 0 1-2.137 3.175q-1.35 1.35-3.175 2.137A9.7 9.7 0 0 1 12 22"})),L.createElement("defs",null,L.createElement("clipPath",{id:"clip0_1_551"},L.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))});!function(e){function t(){var t=this||self;t.globalThis=t,delete e.prototype._T_}"object"!=typeof globalThis&&(this?t():(e.defineProperty(e.prototype,"_T_",{configurable:!0,get:t}),_T_))}(Object);var z=L.memo(function(e){const t=(0,H.h)(e);return L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},L.createElement("g",{clipPath:"url(#clip0_1_171)"},L.createElement("path",{fill:"currentColor",d:"M20.498 21.902a.993.993 0 0 1-1.4.004L15.6 18.45A12 12 0 0 1 12 19q-3.35 0-6.125-1.8a12.7 12.7 0 0 1-4.35-4.75 1.907 1.907 0 0 1-.187-1.437q.062-.238.187-.463.55-.975 1.175-1.9T4.15 7L2.09 4.903a.994.994 0 0 1 1.413-1.4l16.995 16.995a.993.993 0 0 1 0 1.404M12 16q.274 0 .525-.025.25-.
1025.5-.1l-5.4-5.4a2.7 2.7 0 0 0-.1.5 5 5 0 0 0-.025.525q0 1.875 1.312 3.188Q10.125 16 12 16m7.3.45-3.175-3.15a5.3 5.3 0 0 0 .275-.875q.1-.45.1-.925 0-1.875-1.313-3.187Q13.875 7 12 7a4.178 4.178 0 0 0-1.8.4L7.65 4.85q1.05-.425 2.137-.637A11.5 11.5 0 0 1 12 4q3.35 0 6.137 1.813a12.75 12.75 0 0 1 4.363 4.762q.125.2.187.438.063.237.063.487t-.05.488a1.3 1.3 0 0 1-.175.437 14 14 0 0 1-1.388 2.2A9.8 9.8 0 0 1 19.3 16.45m-4.625-4.6-3-3q.65-.125 1.262.1.614.225 1.038.7.425.45.612 1.025.188.575.088 1.175"})),L.createElement("defs",null,L.createElement("clipPath",{id:"clip0_1_171"},L.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))});var G=L.memo(function(e){const t=(0,H.h)(e);return L.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24",...t},L.createElement("g",{clipPath:"url(#clip0_1_165)"},L.createElement("path",{fill:"currentColor",d:"M12 16q1.875 0 3.187-1.312Q16.5 13.375 16.5 11.5t-1.313-3.187T12 7 8.812 8.313 7.5 11.5t1.312 3.188T12 16m0-1.8q-1.125 0-1.913-.787A2.6 2.6 0 0 1 9.3 11.5q0-1.125.787-1.912A2.6 2.6 0 0 1 12 8.8q1.125 0 1.912.787.788.788.788 1.913t-.788 1.912A2.6 2.6 0 0 1 12 14.2m0 4.8q-3.349 0-6.113-1.8-2.761-1.8-4.362-4.75a1.907 1.907 0 0 1-.187-1.437q.062-.238.187-.463 1.6-2.95 4.362-4.75T12 4t6.112 1.8 4.363 4.75a1.906 1.906 0 0 1 .188 1.438 2 2 0 0 1-.188.462q-1.6 2.95-4.363 4.75Q15.35 19 12 19"})),L.createElement("defs",null,L.createElement("clipPath",{id:"clip0_1_165"},L.createElement("path",{fill:"#fff",d:"M0 0h24v24H0z"}))))}),J=function(e){var t=e.placeholder,n=e.value,r=e.label,a=e.labelColor,o=void 0===a?"contentSecondary":a,i=e.onChange,l=e.disabled,c=e.dataTestId,s=e.width,d=void 0===s?"128px":s,u=e.maxLength,v=e.PrefixIcon,f=e.suffixIconButton,p=e.SuffixIcon,m=e.prefixLabel,A=e.error,_=void 0!==A&&A,E=e.errorMessage,y=void 0===E?"":E,S=e.clearable,g=void 0!==S&&S,b=e.ref,h=e.helperText,T=e.helperTextColor,P=void 0===T?"contentSecondary":T,I=e.variant,C=void 0===I?"text":I,O=e.onKeyDown,N=e.autoComplete,U=e.onKeyUp,x=e.perfixTextColor,R=void 0===x?"contentSecondary":x,w=e.prefixTextStyle,k=void 0===w?"bodyBase":w,M=e.onEnterPress,D=e.disableCopyPaste,B=void 0!==D&&D,Y=e.disableDecimal,q=void 0!==Y&&Y,j=e.prefixIconColor,H=void 0===j?"contentSecondary":j,J=e.suffixIconColor,W=void 0===J?"contentSecondary":J,Z=e.suffixIconButtonColor,X=void 0===Z?"contentSecondary":Z,$=e.clearIconColor,ee=void 0===$?"contentSecondary":$,te=e.passwordToggleIconColor,ne=void 0===te?"contentSecondary":te,re=(0,L.useState)(!1),ae=re[0],oe=re[1],ie=(0,L.useState)(!1),le=ie[0],ce=ie[1],se=(0,L.useState)(!1),de=se[0],ue=se[1];(0,L.useEffect)(function(){oe(!!g&&n.length>0)},[g,n]);var ve=F()("freeform-input"),fe=F()("freeform-inputWrapper flex width100"),pe=F()("freeform-inputContent contentPrimary borderPrimary",{backgroundPrimary:!l,"freeform-inputBorderNegative":_,"freeform-inputClearable":g,"freeform-inputPrefix":v||m,"freeform-inputSuffix":p||g&&ae||"password"===C,"freeform-inputFocused":le&&!l&&!_,"backgroundSecondary contentSecondary":l}),me=function(e){B&&e.preventDefault()};return L.createElement("div",{className:fe,style:{width:d},"data-test-id":"".concat(c,"-container")},r&&L.createElement("div",{className:"bodySmallHeavy ".concat(o),"data-test-id":"".concat(c,"-label")},r),L.createElement("div",{className:"".concat(pe),"data-test-id":"".concat(c,"-input-content")},(v||m)&&L.createElement("div",{className:"freeform-prefixContainer","data-test-id":"".concat(c,"-prefix-container")},v&&L.createElement("div",{className:"freeform-inputPrefixIcon ".concat(H),"data-test-id":"".concat(c,"-prefix-icon")},L.createElement(v,{size:20})),m&&L.createElement("div",{className:"freeform-inputPrefixLabel ".concat(R," ").concat(k),"data-test-id":"".concat(c,"-prefix-label")},m)),L.createElement("input",{className:"".concat(ve," bodyBase contentPrimary"),type:"password"===C?de?"text":"password":C,placeholder:t,value:n,onChange:i,onFocus:function(){return ce(!0)},onBlur:function(){return ce(!1)},disabled:l,"data-test-id":c,maxLength:u,ref:b,onWheel:function(e){"number"===C&&e.currentTarget.blur()},onKeyDown:function(e){O&&O(e),"Enter"===e.key&&M&&M(e),q&&"."===e.key&&e.preventDefault()},autoComplete:N,onKeyUp:U,onCopy:me,onCut:me,onPaste:me}),g&&ae||"password"===C||p||f?L.createElement("div",{className:"freeform-suffixContainer","data-test-id":"".concat(c,"-suffix-container")},g&&ae&&L.createElement("div",{className:"freeform-inputClearIcon","data-test-id":"".concat(c,"-clear-icon")},L.createElement(V,{onClick:function(){i&&i({target:{value:""},currentTarget:{value:""},preventDefault:function(){},stopPropagation:function(){}})},Icon:K,size:"medium","data-test-id":"".concat(c,"-clear-button"),iconColor:ee})),"password"===C&&L.createElement("div",{className:"freeform-inputSuffixIcon","data-test-id":"".concat(c,"-password-toggle")},L.createElement(V,{onClick:function(){ue(!de)},Icon:de?z:G,size:"medium","data-test-id":"".concat(c,"-password-toggle-button"),iconColor:ne})),p&&L.createElement("div",{className:"freeform-inputSuffixIcon ".concat(W),"data-test-id":"".concat(c,"-suffix-icon")},L.createElement(p,{size:20})),f&&L.createElement("div",{className:"freeform-inputSuffixIcon","data-test-id":"".concat(c,"-suffix-button")}
1,L.createElement(V,{onClick:f.onClick,Icon:f.icon,disabled:l,size:"medium",iconColor:X}))):null),h&&L.createElement("div",{className:"bodySmall ".concat(P," freeform-helperText"),"data-test-id":"".concat(c,"-helper-text")},h),_&&y&&L.createElement("div",{className:"contentNegative freeform-inputErrorText bodySmall","data-test-id":"".concat(c,"-error-message")},L.createElement(Q,{size:16}),y))};function W(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,a=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Z(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Z(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var X=function(e){var t=e.value,n=void 0===t?"":t,a=e.onChange,o=e.onResendOtp,i=e.errorMessage,l=void 0===i?"":i,c=e.isResendLoading,s=void 0!==c&&c,d=e.isDisabled,u=void 0!==d&&d,v=W((0,L.useState)(30),2),f=v[0],p=v[1],m=W((0,L.useState)(!1),2),A=m[0],y=m[1],S=(0,L.useRef)(null);(0,L.useEffect)(function(){var e,t=null===(e=S.current)||void 0===e?void 0:e.querySelector("input");t&&(t.inputMode="numeric"),null==t||t.focus()},[]);var g=(0,L.useCallback)(function(){var e=30;y(!1),p(e);var t=setInterval(function(){p(e-=1),0===e&&(clearInterval(t),y(!0))},1e3);return t},[]);(0,L.useEffect)(function(){var e=g();return function(){e&&clearInterval(e)}},[g]);var b=(0,L.useCallback)(function(){o&&o(),g()},[o,g]),h=(0,L.useCallback)(function(e){var t=e.replace(/[^\d]/g,"").slice(0,4);a&&a(t)},[a]),T=(0,L.useMemo)(function(){var e=Math.floor(f/60),t=f%60;return"".concat(e.toString().padStart(2,"0"),":").concat(t.toString().padStart(2,"0"))},[f]);return(0,r.jsxs)("div",{className:"ivow-otp-section",children:[(0,r.jsx)("div",{className:"ivow-otp-input-field",ref:S,children:(0,r.jsx)(J,{value:n,onChange:function(e){return h(e.target.value)},placeholder:"Enter 4 digit OTP",type:"text",inputMode:"numeric",maxLength:4,disabled:u,error:!!l,errorMessage:l})}),(0,r.jsx)("div",{className:"ivow-otp-resend-section",children:A&&!s?(0,r.jsx)("div",{className:"ivow-otp-pill-active ".concat(u?"ivow-otp-pill-disabled":""),onClick:u?void 0:b,role:"button",tabIndex:u?-1:0,onKeyDown:function(e){u||"Enter"!==e.key&&" "!==e.key||(e.preventDefault(),b())},children:(0,r.jsx)("span",{className:"bodySmallHeavy contentAccent",children:E.text})}):(0,r.jsx)("div",{className:"ivow-otp-pill-disabled",children:(0,r.jsxs)("span",{className:"bodySmallHeavy contentDisabled",children:[_.text," ",T]})},"pill-".concat(f))})]})};var $=function(e){var t=e.isLoading,n=void 0!==t&&t,a=e.isResendLoading,o=void 0!==a&&a,i=e.onResendOtp,l=void 0===i?Y.A:i,c=e.onOtpChange,s=void 0===c?Y.A:c,d=e.otpValue,v=void 0===d?"":d,f=e.errorMessage,p=void 0===f?"":f,m=e.onSubmitOtp,A=void 0===m?Y.A:m,_=e.onBackClick,E=void 0===_?Y.A:_,y=e.title,S=void 0===y?"":y,g=e.subtitle,b=void 0===g?"":g,h=e.ctaTitle,T=void 0===h?"":h,P=e.hideBackButton,I=void 0!==P&&P,C=e.note,O=void 0===C?"":C;return(0,r.jsxs)(q.A,{disablePointerEvents:n,children:[(0,r.jsx)(q.A.Header,{onBackClick:E,hideBackButton:I,useMintHeader:!0}),(0,r.jsx)(q.A.Body,{children:(0,r.jsxs)("div",{className:"investment-verify-otp-wrapper",children:[(0,r.jsx)("span",{className:"contentPrimary headingLarge",children:S}),(0,r.jsxs)("div",{className:"ivow-verify-otp-content",children:[(0,r.jsx)("span",{className:"contentSecondary bodyBase",children:b}
1),(0,r.jsx)(X,{value:v,onChange:s,onResendOtp:l,errorMessage:p,isResendLoading:o,isDisabled:n}),!u.A.isEmptyOrUndefined(O)&&(0,r.jsx)("div",{className:"ivow-verify-otp-note",children:(0,r.jsx)(D.M,{content:O,isIconPresent:!1})})]})]})}),(0,r.jsx)(q.A.Footer,{children:(0,r.jsx)(B.B,{buttonText:T,variant:B.V.PRIMARY,size:B.a.LARGE,isFullWidth:!0,onClick:A,disabled:n,isLoading:n})})]})},ee=n(41486),te=n(46184),ne=n(24617),re=n(42957),ae=n(50326),oe=n(54432),ie=n(37981),le=n(38378);function ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,a,o,i,l=[],c=!0,s=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=o.call(n)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(e){s=!0,a=e}finally{try{if(!c&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(s)throw a}}return l}}(e,t)||function(e,t){if(e){if("string"==typeof e)return se(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?se(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function se(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var de,ue=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 a=0;for(r=Object.getOwnPropertySymbols(e);a<r.length;a++)t.indexOf(r[a])<0&&Object.prototype.propertyIsEnumerable.call(e,r[a])&&(n[r[a]]=e[r[a]])}return n},ve=(de=$,function(){var e=(0,C.A)().location,t=ce((0,L.useState)(""),2),n=t[0],_=t[1],E=ce((0,L.useState)(""),2),D=E[0],B=E[1],Y=null==e?void 0:e.state,q=(0,M.d4)(l.gF,M.bN),j=(0,M.d4)(l.Yr,M.bN),F=(0,M.d4)(T.en,M.bN),V=F.isSdk,H=F.isIOS,K=F.isAndroid,Q=(0,M.d4)(h.N,M.bN).code,z=(0,N.A)(),G=(0,M.d4)(T.ov,M.bN),J=(0,I.A)(c.iK),W=(0,I.A)(c.Co),Z=(0,I.A)(c.tF),X=(0,M.wA)(),$=(0,C.A)(),se=$.goBack,ve=$.navigate,fe=(0,U.t)().sendMfInvestVerifyOtpEvent,pe=(0,M.d4)(l.NW,M.bN),me=(0,M.d4)(l.VC,M.bN),Ae=(null==me?void 0:me.order_type)===o.n2.SIP,_e=(0,L.useCallback)(function(e){var t,n=e.userAction,r=void 0===n?"":n,a=e.visited,o=void 0===a?"":a,i=null===(t=null==me?void 0:me.allocations)||void 0===t?void 0:t.map(function(e){return null==e?void 0:e.mfname});oe.A.sendMfSipPaymentOtpEvent({userAction:r,fundName:i||[],visited:o,note:j})},[me]),Ee=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";if(Ae)_e({userAction:t});else{var n=null==Y?void 0:Y.type,r=null==Y?void 0:Y.name,a=n===v.sk.VPA,o=a?v.sk.VPA:(null===(e=le.yz[r])||void 0===e?void 0:e.eventValue)||"";fe(t,{upiName:o,vpaId:a?r:"",note:j})}},ye=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=null==e?void 0:e.payment_type,n=null==e?void 0:e.is_intent;switch(t){case i.Ih.RAZORPAY_UPI_CREATE_AND_PRESENT:return Pe(e);case i.Ih.UPI:return n?Te(e):he();case i.Ih.NETBANKING:return Ie(e);case i.Ih.BANK_OTP:return Ue(e);case i.Ih.BANK_PAGE:return xe(e);case i.Ih.BSE_ENACH_MANDATE:return Ae?Oe(e):Ce(e);case i.Ih.RAZORPAY_UPI_MANDATE:return Ae?Ne(e):Ce(e);default:return}},Se=function(e){var t=e.error,n=void 0===t?{}:t;pe===i.Ih.BSE_ENACH_MANDATE&&401===(null==n?void 0:n.statusCode)?(0,x.WW)(ve,{state:{isBseMandate:!0}}):_(null==n?void 0:n.message)},ge=function(e){var t=e.error,n=void 0===t?{}:t;_(null==n?void 0:n.message)},be=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(null==e?void 0:e.message)||g.text;(0,P.A)(t)},he=function(){(0,k.rv)(ve)},Te=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={url:null==e?void 0:e.redirect_url,target:"_blank"};ie.A.openBrowser(t),(0,k.rv)(ve)},Pe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={url:(null==e?void 0:e.redirect_url)||"",target:"_blank"};ie.A.openBrowser(t),(0,k.rv)(ve)},Ie=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};V&&(0,le.rH)({isIOS:H,code:Q});var t=(0,w.A)(e,"redirect_url","");ee.A.openExternalLink(t)},Ce=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t={state:{note:null==e?void 0:e.note,isBseMandate:!0}};(0,x.uC)(ve,t)},Oe=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};te.A.shouldRedirectToSipSummary({paymentMode:i.Ih.BSE_ENACH_MANDATE,paymentStatusData:e})?(X((0,l.w5)(e)),(0,k.Df)(ve)):(0,P.A)("Something went wrong.")},Ne=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};te.A.shouldRedirectToSipSummary({paymentMode:i.Ih.RAZORPAY_UPI_MANDATE,paymentStatusData:e})?(X((0,l.w5)(e)),(0,k.Df)(ve)):(0,P.A)("Something went wrong.")},Ue=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=te.A.getBackRedirectionData(),n=t.redirectUrl,r=t.redirectData;re.A.thirdPartyRedirect(r);var a=null==e?void 0:e.redirect_url;a=(0,b.Cv)(a,{plutus_redirect_url:encodeURIComponent(n),is_secure:V,sdk_capabilities:G}),ee.A.openExternalLink(a)},xe=function(){var e,t,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=ae.A.getFeRedirectUrl(R.w.SDK_ROOT),a=(0,b.Cv)(r,{is_secure:V}),o=K?encodeURIComponent(null==n?void 0:n.confirm_pay_url):null==n?void 0:n.confirm_pay_url,i={redirect_url:encodeURIComponent(a),invest_id:null===(e=null==n?void 0:n.post_args)||void 0===e?void 0:e.ppt_id,remark:null==n?void 0:n.remark_investment,account_number:null===(t=null==n?void 0:n.post_args)||void 0===t?void 0:t.account_no,amount:null==n?void 0:n.post_args.amount,data:{type:"bank",link:o}},l=ue(i,["data"]);oe.A.sendBankPageEvent({actionData:l}),ne.A.makeBankPayment(i)};(0,O.A)(function(){Ae&&_e({visited:s.A.YES})},[Ae]);var Re=(0,L.useMemo)(function(){var e=null==Y?void 0:Y.contactDetails;return u.A.isEmptyOrUndefined(e)?m.text:p.text(null==e?void 0:e.mobile_number,null==e?void 0:e.email)},[Ae,Y]);return(0,r.jsx)(de,{isLoading:Ae?W:J,isResendLoading:Z,onResendOtp:function(){Ee(d.A.RESEND);var e={request_id:q};X((0,c.tF)({Api:a.A,body:e,sagaCallback:be,errorSagaCallback:ge}))},onOtpChange:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";u.A.isEmptyOrUndefined(n)||_(""),B(e)},otpValue:D,errorMessage:n,onSubmitOtp:function(){if(u.A.isEmptyOrUndefined(D))_(y.text);else if(D.length<4)_(S.text);else{var e={request_id:q,otp:D};Ae?_e({userAction:s.A.CONFIRM_SIP}):Ee(d.A.NEXT),z({type:null==Y?void 0:Y.type,name:null==Y?void 0:Y.name,verifyOtpRequestId:e.request_id,otpEntered:e.otp,sagaCallback:ye,errorSagaCallback:Se})}},onBackClick:function(){Ee(d.A.BACK),se()},title:f.text,subtitle:Re,ctaTitle:A.text,hideBackButton:!1,note:j})})},24617:function(e,t,n){var r=n(52211),a=n(46934),o={makeBankPayment:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};a.A.nativeCallback({action:r.AZ.MAKE_BANK_PAYMENT,actionData:e})}};t.A=o},54432:function(e,t,n){var r=n(21022),a=n(36456),o=n(96215),i=n(74504),l=n(14990),c=n(51605),s=n(38584),d=n(68323),u=n(35865),v=n(17638);function f(e){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},f(e)}function p(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=f(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=f(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==f(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=p(p(p(p({},d.rQ.CREATE,"normal"),d.rQ.EDIT,"edit sip"),d.rQ.PAUSE,"pause sip"),d.rQ.CANCEL,"cancel sip"),A=p(p(p({},a.XM.SUCCESS,i.A.SIPS_AUTOPAY_SUCCESSFULLY),a.XM.FAILURE,i.A.SIPS_AUTOPAY_SETUP_FAILED),a.XM.CANCELLED,i.A.SIP_REGISTRATION_CANCELLED),_={sendVerifyOtpEvent:function(e){var t=e.action,n=void 0===t?"":t,r=e.userAction,a=void 0===r?"":r,c=u.A.getState(),s=(0,o.q_)(c),d=m[n],f={screen_name:i.A.VERIFY_OTP_SIP,flow:d,user_action:a,fund_name:s},p={event_name:l.A.SIP_JOURNEY,properties:f};v.A.triggerEvent(p)},sendSipRegisteredSuccessfullyEvent:function(e){var t=e.userAction,n=void 0===t?"":t,r=e.visited,a=void 0===r?"":r,c=e.availableFundName,d=void 0===c?[]:c,f=u.A.getState(),p=d.length>0?d:(0,o.q_)(f),m={screen_name:i.A.SIPS_AUTOPAY_SUCCESSFULLY,user_action:n,fund_name:p};s.A.isEmptyOrUndefined(a)||(m.page_visited=a);var A={event_name:l.A.SIP_JOURNEY,properties:m};v.A.triggerEvent(A)},sendMandateStatusEvent:function(e){var t=e.status,n=void 0===t?"":t,r=e.userAction,a=void 0===r?"":r,i=e.visited,c=void 0===i?"":i,d=e.autopayBy,f=void 0===d?"":d,p=e.note,m=void 0===p?"":p,_=u.A.getState(),E=(0,o.q_)(_),y={screen_name:A[
1n],user_action:a,fund_name:E,autopay_by:f,note:m};s.A.isEmptyOrUndefined(c)||(y.page_visited=c);var S={event_name:l.A.SIP_JOURNEY,properties:y};v.A.triggerEvent(S)},sendMandateAlertSheetEvent:function(e){var t=e.userAction,n=void 0===t?"":t,r=e.mandateStatus,o={screen_name:(void 0===r?"":r)===a.f2.MANDATE_UNAVAILABLE?i.A.CONTINUE_SETUP:i.A.AUTOPAY_LIMIT_EXCEEDED,user_action:n},c={event_name:l.A.SIP_JOURNEY,properties:o};v.A.triggerEvent(c)},sendMandateRegisterErrorSheetEvent:function(e){var t=e.errorTitle,n=void 0===t?"":t,r=e.userAction,a=void 0===r?"":r,o={screen_name:s.A.isEmptyOrUndefined(n)?i.A.SOMETHING_WENT_WRONG:i.A.TIMEOUT_SHEET,user_action:a},c={event_name:l.A.SIP_JOURNEY,properties:o};v.A.triggerEvent(c)},sendTimeOutScreenEvent:function(e){var t=e.userAction,n=void 0===t?"":t,r={screen_name:i.A.TIMEOUT_SCREEN,user_action:n},a={event_name:l.A.SIP_JOURNEY,properties:r};v.A.triggerEvent(a)},sendSipRequestRecievedEvent:function(e){var t=e.flow,n=void 0===t?"normal":t,r=e.userAction,a=void 0===r?"":r,c=(e.mandateStatus,u.A.getState()),s=(0,o.q_)(c),d={screen_name:"edit"===n?i.A.EDIT_SIP_REQUEST_RECEIVED:i.A.SIP_REQUEST_RECIEVED,user_action:a,fund_name:s},f={event_name:l.A.SIP_JOURNEY,properties:d};v.A.triggerEvent(f)},sendMfSipPaymentOtpEvent:function(e){var t=e.userAction,n=void 0===t?"":t,r=e.visited,a=void 0===r?"yes":r,o=e.fundName,c=void 0===o?[]:o,s=e.note,d=void 0===s?"":s,u={screen_name:i.A.VERIFY_OTP_SIP,user_action:n,flow:"normal",fund_name:c,note:d};a&&(u.page_visited=a);var f={event_name:l.A.SIP_JOURNEY,properties:u};v.A.triggerEvent(f)},sendContinueSetupSheetEvent:function(e){var t=e.userAction,n=void 0===t?"":t,r=e.landedFrom,a=void 0===r?"":r,o=e.pageVisited,c=void 0===o?"":o,d={screen_name:i.A.CONTINUE_SETUP,user_action:n,landed_from:a};s.A.isEmptyOrUndefined(c)||(d.page_visited=c);var u={event_name:l.A.SIP_JOURNEY,properties:d};v.A.triggerEvent(u)},sendSetupAutopayEvent:function(e){var t=e.userAction,n=void 0===t?"":t,r=e.autopayBy,a=void 0===r?"":r,o=e.pageVisited,c=void 0===o?"":o,d=e.landedFrom,u=void 0===d?"":d,f={screen_name:i.A.SETUP_AUTOPAY,user_action:n,landed_from:u};s.A.isEmptyOrUndefined(a)||(f.autopay_by=a),s.A.isEmptyOrUndefined(c)||(f.page_visited=c);var p={event_name:l.A.SIP_JOURNEY,properties:f};v.A.triggerEvent(p)},sendUpiMandatePollingEvent:function(e){var t=e.visited,n=void 0===t?"":t,r=e.userAction,a=void 0===r?c.A.BACK:r,o={screen_name:i.A.AUTOPAY_SETUP_APPROVAL_SCREEN,user_action:a,autopay_by:c.A.UPI};s.A.isEmptyOrUndefined(n)||(o.page_visited=n);var d={event_name:l.A.SIP_JOURNEY,properties:o};v.A.triggerEvent(d)},sendBankPageEvent:function(e){var t=e.actionData,n=void 0===t?{}:t,r={event_name:"dev_pay_via_bank",properties:Object.assign(Object.assign({},n),{user_action:c.A.NEXT})};v.A.triggerEvent(r)},getSetupAutopayLandedFromEventValue:function(e){var t=e.paymentStatus;switch(void 0===t?"":t){case r.QZ.SUCCESS:case r.QZ.CAPTURED:return"sip_payment_successful";case r.QZ.FAILED:return"sip_payment_failed";case r.QZ.CANCELLED:return"sip_payment_cancelled";default:return""}}};t.A=_},14990:function(e,t){t.A={SIP_JOURNEY:"sip_journey"}},74504:function(e,t){t.A={OTP_VERIFY:"otp_verify",VERIFY_OTP_SIP:"verify otp to confirm sip",SIP_REGISTERED_SUCCESSFULLY:"sips registered successfully!",SIP_REQUEST_RECIEVED:"sips request received!",SKIP_AUTOPAY:"skip autopay",SETUP_AUTOPAY_LATER:"set up autopay later?",AUTOPAY_LIMIT_EXCEEDED:"autopay limit exceeded",EDIT_SIP_REQUEST_RECEIVED:"edit sip request received",ARE_YOU_SURE_BACK:"are you sure you want to go back?",SETUP_AUTOPAY:"set up autopay",CONTINUE_SETUP:"continue setup",AUTOPAY_AUTHENTICATION_FAILED:"autopay authentication failed",AUTOPAY_AUTHENTICATION_CANCELLED:"autopay authentication cancelled",AUTOPAY_SETUP_SUCCESSFULLY:"autopay setup successfully!",STEPS_FOR_PHYSICAL_MANDATE:"steps for physical mandate",ARE_YOU_SURE:"are you sure you want to go back?",SIP_REGISTRATION_FAILED:"sip registration failed",SIP_REGISTRATION_CANCELLED:"sip registration cancelled",TIMEOUT_SCREEN:"time out screen",TIMEOUT_SHEET:"time out bottomsheet",SOMETHING_WENT_WRONG:"something went wrong",SETUP_AUTOPAY_BANK_CHANGE:"setup_auto
1pay_bank_change",AUTOPAY_SETUP_APPROVAL_SCREEN:"autopay_setup_approval_screen",SIPS_AUTOPAY_SUCCESSFULLY:"sips_autopay_successfully!",SIPS_AUTOPAY_SETUP_FAILED:"sip_autopay_setup_failed"}}}]);

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.