1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4514],{4514:function(e,t,n){let a;n(40257);var o,i,c,s,r,_,l=n(2265),u=n(57437),m=(r=Object.create(null),l&&Object.keys(l).forEach(function(e){if("default"!==e){var t=Object.getOwnPropertyDescriptor(l,e);Object.defineProperty(r,e,t.get?t:{enumerable:!0,get:function(){return l[e]}})}}),r.default=l,Object.freeze(r)),d={exports:{}},p={},g=(i||(i=1,d.exports=function(){if(o)return p;o=1;var e="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},t=l.useSyncExternalStore,n=l.useRef,a=l.useEffect,i=l.useMemo,c=l.useDebugValue;return p.useSyncExternalStoreWithSelector=function(o,s,r,_,l){var u=n(null);if(null===u.current){var m={hasValue:!1,value:null};u.current=m}else m=u.current;var d=t(o,(u=i(function(){function t(t){if(!o){if(o=!0,n=t,t=_(t),void 0!==l&&m.hasValue){var i=m.value;if(l(i,t))return a=i}return a=t}if(i=a,e(n,t))return i;var c=_(t);return void 0!==l&&l(i,c)?(n=t,i):(n=t,a=c)}var n,a,o=!1,i=void 0===r?null:r;return[function(){return t(s())},null===i?void 0:function(){return t(i())}]},[s,r,_,l]))[0],u[1]);return a(function(){m.hasValue=!0,m.value=d},[d]),c(d),d},p}
1()),d.exports),v={notify(){},get:()=>[]},y=!!(void 0!==window.document&&void 0!==window.document.createElement),f="undefined"!=typeof navigator&&"ReactNative"===navigator.product,h=y||f?m.useLayoutEffect:m.useEffect,w=Symbol.for("react-redux-context"),b="undefined"!=typeof globalThis?globalThis:{},S=function(){var e;if(!m.createContext)return{};let t=null!==(e=b[w])&&void 0!==e?e:b[w]=new Map,n=t.get(m.createContext);return n||(n=m.createContext(null),t.set(m.createContext,n)),n}(),k=function(e){let{children:t,context:n,serverState:a,store:o}=e,i=m.useMemo(()=>{let e=function(e,t){let n;let a=v,o=0,i=!1;function c(){_.onStateChange&&_.onStateChange()}function s(){if(o++,!n){let t,o;n=e.subscribe(c),t=null,o=null,a={clear(){t=null,o=null},notify(){(()=>{let e=t;for(;e;)e.callback(),e=e.next})()},get(){let e=[],n=t;for(;n;)e.push(n),n=n.next;return e},subscribe(e){let n=!0,a=o={callback:e,next:null,prev:o};return a.prev?a.prev.next=a:t=a,function(){n&&null!==t&&(n=!1,a.next?a.next.prev=a.prev:o=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}}function r(){o--,n&&0===o&&(n(),n=void 0,a.clear(),a=v)}let _={addNestedSub:function(e){s();let t=a.subscribe(e),n=!1;return()=>{n||(n=!0,t(),r())}},notifyNestedSubs:function(){a.notify()},handleChangeWrapper:c,isSubscribed:function(){return i},trySubscribe:function(){i||(i=!0,s())},tryUnsubscribe:function(){i&&(i=!1,r())},getListeners:()=>a};return _}(o);return{store:o,subscription:e,getServerState:a?()=>a:void 0}},[o,a]),c=m.useMemo(()=>o.getState(),[o]);h(()=>{let{subscription:e}=i;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),c!==o.getState()&&e.notifyNestedSubs(),()=>{e.tryUnsubscribe(),e.onStateChange=void 0}},[i,c]);let s=n||S;return m.createElement(s.Provider,{value:i},t)};function C(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S;return function(){return m.useContext(e)}}var A=C();function E(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S,t=e===S?A:C(e),n=()=>{let{store:e}=t();return e};return Object.assign(n,{withTypes:()=>n}),n}var I=E(),T=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S,t=e===S?I:E(e),n=()=>t().dispatch;return Object.assign(n,{withTypes:()=>n}),n}(),L=(e,t)=>e===t,D=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:S,t=e===S?A:C(e),n=function(e){let n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{equalityFn:a=L}="function"==typeof n?{equalityFn:n}:n,{store:o,subscription:i,getServerState:c}=t();m.useRef(!0);let s=m.useCallback({[e.name]:t=>e(t)}[e.name],[e]),r=g.useSyncExternalStoreWithSelector(i.addNestedSub,o.getState,c||o.getState,s,a);return m.useDebugValue(r),r};return Object.assign(n,{withTypes:()=>n}),n}();function P(e){return"Minified Redux error #".concat(e,"; visit https://redux.js.org/Errors?code=").concat(e," for the full message or use the non-minified dev environment for full errors. ")}var N="function"==typeof Symbol&&Symbol.observable||"@@observable",O=()=>Math.random().toString(36).substring(7).split("").join("."),M={INIT:"@@redux/INIT".concat(O()),REPLACE:"@@redux/REPLACE".concat(O()),PROBE_UNKNOWN_ACTION:()=>"@@redux/PROBE_UNKNOWN_ACTION".concat(O())};function R(e){if("object"!=typeof e||null===e)return!1;let t=e;for(;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t||null===Object.getPrototypeOf(e)}function B(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?e=>e:1===t.length?t[0]:t.reduce((e,t)=>function(){for(var n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];return e(t(...a))})}var U=Symbol.for("immer-nothing"),j=Symbol.for("immer-draftable"),x=Symbol.for("immer-state");function F(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];throw Error("[Immer] minified error nr: ".concat(e,". Full error at: https://bit.ly/3cXEKWf"))}var H=Object,K=H.getPrototypeOf,G="constructor",Y="prototype",V="configurable",J="enumerable",q="writable",W="value",z=e=>!!e&&!!e[x];function X(e){var t;return!!e&&($(e)||ei(e)||!!e[j]||!!(null===(t=e[G])||void 0===t?void 0:t[j])||ec(e)||es(e))}var Q=H[Y][G].toString(),Z=new WeakMap;function $(e){if(!e||!er(e))return!1;let t=K(e);if(null===t||t===H[Y])return!0;let n=H.hasOwnProperty.call(t,G)&&t[G];if(n===Object)return!0;
1if(!e_(n))return!1;let a=Z.get(n);return void 0===a&&(a=Function.toString.call(n),Z.set(n,a)),a===Q}function ee(e,t){let n=!(arguments.length>2)||void 0===arguments[2]||arguments[2];0===et(e)?(n?Reflect.ownKeys(e):H.keys(e)).forEach(n=>{t(n,e[n],e)}):e.forEach((n,a)=>t(a,n,e))}function et(e){let t=e[x];return t?t.type_:ei(e)?1:ec(e)?2:es(e)?3:0}var en=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:et(e);return 2===n?e.has(t):H[Y].hasOwnProperty.call(e,t)},ea=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:et(e);return 2===n?e.get(t):e[t]},eo=function(e,t,n){let a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:et(e);2===a?e.set(t,n):3===a?e.add(n):e[t]=n},ei=Array.isArray,ec=e=>e instanceof Map,es=e=>e instanceof Set,er=e=>"object"==typeof e,e_=e=>"function"==typeof e,el=e=>"boolean"==typeof e,eu=e=>e.copy_||e.base_,em=e=>e.modified_?e.copy_:e.base_;function ed(e,t){if(ec(e))return new Map(e);if(es(e))return new Set(e);if(ei(e))return Array[Y].slice.call(e);let n=$(e);if(!0!==t&&("class_only"!==t||n)){let t=K(e);if(null!==t&&n)return{...e};let a=H.create(t);return H.assign(a,e)}{let t=H.getOwnPropertyDescriptors(e);delete t[x];let n=Reflect.ownKeys(t);for(let a=0;a<n.length;a++){let o=n[a],i=t[o];!1===i[q]&&(i[q]=!0,i[V]=!0),(i.get||i.set)&&(t[o]={[V]:!0,[q]:!0,[J]:i[J],[W]:e[o]})}return H.create(K(e),t)}}function ep(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];return ev(e)||z(e)||!X(e)||(et(e)>1&&H.defineProperties(e,{set:eg,add:eg,clear:eg,delete:eg}),H.freeze(e),t&&ee(e,(e,t)=>{ep(t,!0)},!1)),e}var eg={[W]:function(){F(2)}};function ev(e){return!(null!==e&&er(e))||H.isFrozen(e)}var ey="MapSet",ef="Patches",eh="ArrayMethods",ew={};function eb(e){let t=ew[e];return t||F(0,e),t}var eS=e=>!!ew[e],ek=()=>c,eC=(e,t)=>({drafts_:[],parent_:e,immer_:t,canAutoFreeze_:!0,unfinalizedDrafts_:0,handledSet_:new Set,processedForPatches_:new Set,mapSetPlugin_:eS(ey)?eb(ey):void 0,arrayMethodsPlugin_:eS(eh)?eb(eh):void 0});function eA(e,t){t&&(e.patchPlugin_=eb(ef),e.patches_=[],e.inversePatches_=[],e.patchListener_=t)}function eE(e){eI(e),e.drafts_.forEach(eL),e.drafts_=null}function eI(e){e===c&&(c=e.parent_)}var eT=e=>c=eC(c,e);function eL(e){let t=e[x];0===t.type_||1===t.type_?t.revoke_():t.revoked_=!0}function eD(e,t){t.unfinalizedDrafts_=t.drafts_.length;let n=t.drafts_[0];if(void 0!==e&&e!==n){n[x].modified_&&(eE(t),F(4)),X(e)&&(e=eP(t,e));let{patchPlugin_:a}=t;a&&a.generateReplacementPatches_(n[x].base_,e,t)}else e=eP(t,n);return function(e,t){let n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];!e.parent_&&e.immer_.autoFreeze_&&e.canAutoFreeze_&&ep(t,n)}(t,e,!0),eE(t),t.patches_&&t.patchListener_(t.patches_,t.inversePatches_),e!==U?e:void 0}function eP(e,t){if(ev(t))return t;let n=t[x];if(!n)return eU(t,e.handledSet_,e);if(!eO(n,e))return t;if(!n.modified_)return n.base_;if(!n.finalized_){let{callbacks_:t}=n;if(t)for(;t.length>0;)t.pop()(e);eB(n,e)}return n.copy_}function eN(e){e.finalized_=!0,e.scope_.unfinalizedDrafts_--}var eO=(e,t)=>e.scope_===t,eM=[];function eR(e,t,n,a){var o;let i=eu(e),c=e.type_;if(void 0!==a&&ea(i,a,c)===t){eo(i,a,n,c);return}if(!e.draftLocations_){let t=e.draftLocations_=new Map;ee(i,(e,n)=>{if(z(n)){let a=t.get(n)||[];a.push(e),t.set(n,a)}})}for(let a of null!==(o=e.draftLocations_.get(t))&&void 0!==o?o:eM)eo(i,a,n,c)}function eB(e,t){var n,a;if(e.modified_&&!e.finalized_&&(3===e.type_||1===e.type_&&e.allIndicesReassigned_||(null!==(a=null===(n=e.assigned_)||void 0===n?void 0:n.size)&&void 0!==a?a:0)>0)){let{patchPlugin_:n}=t;if(n){let a=n.getPath(e);a&&n.generatePatches_(e,a,t)}eN(e)}}function eU(e,t,n){return!n.immer_.autoFreeze_&&n.unfinalizedDrafts_<1||z(e)||t.has(e)||!X(e)||ev(e)||(t.add(e),ee(e,(a,o)=>{if(z(o)){let t=o[x];eO(t,n)&&(eo(e,a,em(t),e.type_),eN(t))}else X(o)&&eU(o,t,n)})),e}var ej={get(e,t){var n;if(t===x)return e;let a=e.scope_.arrayMethodsPlugin_,o=1===e.type_&&"string"==typeof t;if(o&&(null==a?void 0:a.isArrayOperationMethod(t)))return a.createMethodInterceptor(e,t);let i=eu(e);if(!en(i,t,e.type_))return function(e,t,n){var a;let o=eH(t,n);return o?W in o?o[W]:null===(a=o.get)||void 0===a?void 0:a.call(e.draft_):void 0}(e,i,t);let c=i[t];if(e.finalized_||!X(c)||o&&e.operationMethod&&(null==a?void 0:a.isMutatingArrayMethod(e.operationMethod))&&function(e){let t=+e;return Number.isInteger(t)&&String(t)===e}(t))return c;if(c===eF(e.base_,t)||!(1!==e.type_||!e.allIndicesReassigned_||(null===(n=e.assigned_)||void 0===n?void 0:n.get(t)))&&X(c)&&!c[x]&&e.baseRefs_.has(c)){eG(e);let n=1===e.type_?+t:t,a=eV(e.scope_,c,e,n);return e.copy_[n]=a}return c},has:(e,t)=>t in eu(e),ownKeys:e=>Reflect.ownKeys(eu(e)),set(e,t,n){let a=eH(eu(e),t);if(null==a?void 0:a.set)return a.set.call(e.draft_,n),!0;if(!e.modified_){let a=eF(eu(e),t),o=null==a?void 0:a[x];if(o&&o.base_===n)return e.copy_[t]=n,e.assigned_.set(t,!1),!0;if((n===a?0!==n||1/n==1/a:n!=n&&a!=a)&&(void 0!==n||en(e.base_,t,e.type_)))return!0;eG(e),eK(e)}return!!(e.copy_[t]===n&&(void 0!==n||en(e.copy_,t,e.type_))||Number.isNaN(n)&&Number.isNaN(e.copy_[t]))||
1(e.copy_[t]=n,e.assigned_.set(t,!0),!function(e,t,n){let{scope_:a}=e;if(z(n)){let o=n[x];eO(o,a)&&o.callbacks_.push(function(){eG(e),eR(e,n,em(o),t)})}else X(n)&&e.callbacks_.push(function(){let o=eu(e);if(3===e.type_)o.has(n)&&eU(n,a.handledSet_,a);else if(ea(o,t,e.type_)===n){var i;a.drafts_.length>1&&!0===(null!==(i=e.assigned_.get(t))&&void 0!==i&&i)&&e.copy_&&eU(ea(e.copy_,t,e.type_),a.handledSet_,a)}})}(e,t,n),!0)},deleteProperty:(e,t)=>(eG(e),void 0!==eF(e.base_,t)||t in e.base_?(e.assigned_.set(t,!1),eK(e)):e.assigned_.delete(t),e.copy_&&delete e.copy_[t],!0),getOwnPropertyDescriptor(e,t){let n=eu(e),a=Reflect.getOwnPropertyDescriptor(n,t);return a?{[q]:!0,[V]:1!==e.type_||"length"!==t,[J]:a[J],[W]:n[t]}:a},defineProperty(){F(11)},getPrototypeOf:e=>K(e.base_),setPrototypeOf(){F(12)}},ex={};for(let e in ej){let t=ej[e];ex[e]=function(){let e=arguments;return e[0]=e[0][0],t.apply(this,e)}}function eF(e,t){let n=e[x];return(n?eu(n):e)[t]}function eH(e,t){if(!(t in e))return;let n=K(e);for(;n;){let e=Object.getOwnPropertyDescriptor(n,t);if(e)return e;n=K(n)}}function eK(e){!e.modified_&&(e.modified_=!0,e.parent_&&eK(e.parent_))}function eG(e){e.copy_||(e.assigned_=new Map,e.copy_=ed(e.base_,e.scope_.immer_.useStrictShallowCopy_))}ex.deleteProperty=function(e,t){return ex.set.call(this,e,t,void 0)},ex.set=function(e,t,n){return ej.set.call(this,e[0],t,n,e[0])};var eY=class{createDraft(e){var t;X(e)||F(8),z(e)&&(z(t=e)||F(10,t),e=function e(t){let n;if(!X(t)||ev(t))return t;let a=t[x],o=!0;if(a){if(!a.modified_)return a.base_;a.finalized_=!0,n=ed(t,a.scope_.immer_.useStrictShallowCopy_),o=a.scope_.immer_.shouldUseStrictIteration()}else n=ed(t,!0);return ee(n,(t,a)=>{eo(n,t,e(a))},o),a&&(a.finalized_=!1),n}(t));let n=eT(this),a=eV(n,e,void 0);return a[x].isManual_=!0,eI(n),a}finishDraft(e,t){let n=e&&e[x];n&&n.isManual_||F(9);let{scope_:a}=n;return eA(a,t),eD(void 0,a)}setAutoFreeze(e){this.autoFreeze_=e}setUseStrictShallowCopy(e){this.useStrictShallowCopy_=e}setUseStrictIteration(e){this.useStrictIteration_=e}shouldUseStrictIteration(){return this.useStrictIteration_}applyPatches(e,t){let n;for(n=t.length-1;n>=0;n--){let a=t[n];if(0===a.path.length&&"replace"===a.op){e=a.value;break}}n>-1&&(t=t.slice(n+1));let a=eb(ef).applyPatches_;return z(e)?a(e,t):this.produce(e,e=>a(e,t))}constructor(e){this.autoFreeze_=!0,this.useStrictShallowCopy_=!1,this.useStrictIteration_=!1,this.produce=(e,t,n)=>{let a;if(e_(e)&&!e_(t)){let n=t;t=e;let a=this;return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n;for(var o=arguments.length,i=Array(o>1?o-1:0),c=1;c<o;c++)i[c-1]=arguments[c];return a.produce(e,e=>t.call(this,e,...i))}}if(e_(t)||F(6),void 0===n||e_(n)||F(7),X(e)){let o=eT(this),i=eV(o,e,void 0),c=!0;try{a=t(i),c=!1}finally{c?eE(o):eI(o)}return eA(o,n),eD(a,o)}if(e&&er(e))F(1,e);else{if(void 0===(a=t(e))&&(a=e),a===U&&(a=void 0),this.autoFreeze_&&ep(a,!0),n){let t=[],o=[];eb(ef).generateReplacementPatches_(e,a,{patches_:t,inversePatches_:o}),n(t,o)}return a}},this.produceWithPatches=(e,t)=>{let n,a;if(e_(e)){var o=this;return function(t){for(var n=arguments.length,a=Array(n>1?n-1:0),i=1;i<n;i++)a[i-1]=arguments[i];return o.produceWithPatches(t,t=>e(t,...a))}}return[this.produce(e,t,(e,t)=>{n=e,a=t}),n,a]},el(null==e?void 0:e.autoFreeze)&&this.setAutoFreeze(e.autoFreeze),el(null==e?void 0:e.useStrictShallowCopy)&&this.setUseStrictShallowCopy(e.useStrictShallowCopy),el(null==e?void 0:e.useStrictIteration)&&this.setUseStrictIteration(e.useStrictIteration)}};function eV(e,t,n,a){var o,i;let[c,s]=ec(t)?eb(ey).proxyMap_(t,n):es(t)?eb(ey).proxySet_(t,n):function(e,t){let n=ei(e),a={type_:n?1:0,scope_:t?t.scope_:ek(),modified_:!1,finalized_:!1,assigned_:void 0,parent_:t,base_:e,draft_:null,copy_:null,revoke_:null,isManual_:!1,callbacks_:void 0},o=a,i=ej;n&&(o=[a],i=ex);let{revoke:c,proxy:s}=Proxy.revocable(o,i);return a.draft_=s,a.revoke_=c,[s,a]}(t,n);return(null!==(o=null==n?void 0:n.scope_)&&void 0!==o?o:ek()).drafts_.push(c),s.callbacks_=null!==(i=null==n?void 0:n.callbacks_)&&void 0!==i?i:[],s.key_=a,n&&void 0!==a?function(e,t,n){e.callbacks_.push(function(a){var o,i;if(!t||!eO(t,a))return;null===(o=a.mapSetPlugin_)||void 0===o||o.fixSetContents(t);let c=em(t);eR(e,null!==(i=t.draft_)&&void 0!==i?i:t,c,n),eB(t,a)})}(n,s,a):s.callbacks_.push(function(e){var t;null===(t=e.mapSetPlugin_)||void 0===t||t.fixSetContents(s);let{patchPlugin_:n}=e;s.modified_&&n&&n.generatePatches_(s,[],e)}),c}var eJ=globalThis.Iterator;null==eJ||eJ.from;var eq=new eY().produce;function eW(e){return t=>{let{dispatch:n,getState:a}=t;return t=>o=>"function"==typeof o?o(n,a,e):t(o)}}var ez=eW(),eX=window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__?window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__:function(){if(0!=arguments.length)return"object"==typeof arguments[0]?B:B.apply(null,arguments)};function eQ(e,t){function n(){for(var n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];if(t){let n=t(...a);if(!n)throw Error(te(0));return{type:e,payload:n.payload,..."meta"in n&&{meta:n.meta},..."error"in n&&{error:n.error}}}return{type:e,payload:a[0]}}return n.toString=()=>"".concat(e),n.type=e,n.match=t=>R(t)&&"type"in t&&"string"==typeof t.type&&t.type===e,n}var eZ=class e extends Array{static get[Symbol.species](){return e}concat(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return super.concat.apply(this,t)}prepend(){for(var t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];
1return 1===n.length&&Array.isArray(n[0])?new e(...n[0].concat(this)):new e(...n.concat(this))}constructor(...t){super(...t),Object.setPrototypeOf(this,e.prototype)}};function e$(e){return X(e)?eq(e,()=>{}):e}function e0(e,t,n){return e.has(t)?e.get(t):e.set(t,n(t)).get(t)}var e1=()=>function(e){let{thunk:t=!0,immutableCheck:n=!0,serializableCheck:a=!0,actionCreatorCheck:o=!0}=null!=e?e:{},i=new eZ;return t&&("boolean"==typeof t?i.push(ez):i.push(eW(t.extraArgument))),i},e2=e=>t=>{setTimeout(t,e)},e3=(e,t)=>n=>{let a=!1,o=()=>{a||(a=!0,cancelAnimationFrame(i),clearTimeout(c),n())},i=e(o),c=setTimeout(o,t)},e4=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{type:"raf"};return t=>function(){for(var n=arguments.length,a=Array(n),o=0;o<n;o++)a[o]=arguments[o];let i=t(...a),c=!0,s=!1,r=!1,_=new Set,l="tick"===e.type?queueMicrotask:"raf"===e.type?window.requestAnimationFrame?e3(window.requestAnimationFrame,100):e2(10):"callback"===e.type?e.queueNotification:e2(e.timeout),u=()=>{r=!1,s&&(s=!1,_.forEach(e=>e()))};return Object.assign({},i,{subscribe(e){let t=i.subscribe(()=>c&&e());return _.add(e),()=>{t(),_.delete(e)}},dispatch(e){try{var t;return(s=!(c=!(null==e?void 0:null===(t=e.meta)||void 0===t?void 0:t.RTK_autoBatch)))&&!r&&(r=!0,l(u)),i.dispatch(e)}finally{c=!0}}})}},e5=e=>function(t){let{autoBatch:n=!0}=null!=t?t:{},a=new eZ(e);return n&&a.push(e4("object"==typeof n?n:void 0)),a};function e6(e){let t;let n={},a=[],o={addCase(e,t){let a="string"==typeof e?e:e.type;if(!a)throw Error(te(28));if(a in n)throw Error(te(29));return n[a]=t,o},addAsyncThunk:(e,t)=>(t.pending&&(n[e.pending.type]=t.pending),t.rejected&&(n[e.rejected.type]=t.rejected),t.fulfilled&&(n[e.fulfilled.type]=t.fulfilled),t.settled&&a.push({matcher:e.settled,reducer:t.settled}),o),addMatcher:(e,t)=>(a.push({matcher:e,reducer:t}),o),addDefaultCase:e=>(t=e,o)};return e(o),[n,a,t]}var e8=Symbol.for("rtk-slice-createasyncthunk"),e7=function(){var e;let{creators:t}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=null==t?void 0:null===(e=t.asyncThunk)||void 0===e?void 0:e[e8];return function(e){let t;let{name:a,reducerPath:o=a}=e;if(!a)throw Error(te(11));let i=("function"==typeof e.reducers?e.reducers(function(){function e(e,t){return{_reducerDefinitionType:"asyncThunk",payloadCreator:e,...t}}return e.withTypes=()=>e,{reducer:e=>Object.assign({[e.name](){for(var t=arguments.length,n=Array(t),a=0;a<t;a++)n[a]=arguments[a];return e(...n)}}[e.name],{_reducerDefinitionType:"reducer"}),preparedReducer:(e,t)=>({_reducerDefinitionType:"reducerWithPrepare",prepare:e,reducer:t}),asyncThunk:e}}()):e.reducers)||{},c=Object.keys(i),s={},r={},_={},l=[],u={addCase(e,t){let n="string"==typeof e?e:e.type;if(!n)throw Error(te(12));if(n in r)throw Error(te(13));return r[n]=t,u},addMatcher:(e,t)=>(l.push({matcher:e,reducer:t}),u),exposeAction:(e,t)=>(_[e]=t,u),exposeCaseReducer:(e,t)=>(s[e]=t,u)};function m(){let[t={},n=[],a]="function"==typeof e.extraReducers?e6(e.extraReducers):[e.extraReducers],o={...t,...r};return function(e,t){let n;let[a,o,i]=e6(t);if("function"==typeof e)n=()=>e$(e());else{let t=e$(e);n=()=>t}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:n(),t=arguments.length>1?arguments[1]:void 0,c=[a[t.type],...o.filter(e=>{let{matcher:n}=e;return n(t)}).map(e=>{let{reducer:t}=e;return t})];return 0===c.filter(e=>!!e).length&&(c=[i]),c.reduce((e,n)=>{if(n){if(z(e)){let a=n(e,t);return void 0===a?e:a}if(X(e))return eq(e,e=>n(e,t));{let a=n(e,t);if(void 0===a){if(null===e)return e;throw Error("A case reducer on a non-draftable value must not return undefined")}return a}}return e},e)}return c.getInitialState=n,c}(e.initialState,e=>{for(let t in o)e.addCase(t,o[t]);for(let t of l)e.addMatcher(t.matcher,t.reducer);for(let t of n)e.addMatcher(t.matcher,t.reducer);a&&e.addDefaultCase(a)})}c.forEach(t=>{let o=i[t],c={reducerName:t,type:"".concat(a,"/").concat(t),createNotation:"function"==typeof e.reducers};"asyncThunk"===o._reducerDefinitionType?function(e,t,n,a){let{type:o,reducerName:i}=e;if(!a)throw Error(te(18));let{payloadCreator:c,fulfilled:s,pending:r,rejected:_,settled:l,options:u}=t,m=a(o,c,u);n.exposeAction(i,m),s&&n.addCase(m.fulfilled,s),r&&n.addCase(m.pending,r),_&&n.addCase(m.rejected,_),l&&n.addMatcher(m.settled,l),n.exposeCaseReducer(i,{fulfilled:s||e9,pending:r||e9,rejected:_||e9,settled:l||e9})}(c,o,u,n):function(e,t,n){let a,o,{type:i,reducerName:c,createNotation:s}=e;if("reducer"in t){if(s&&"reducerWithPrepare"!==t._reducerDefinitionType)throw Error(te(17));a=t.reducer,o=t.prepare}else a=t;n.addCase(i,a).exposeCaseReducer(c,a).exposeAction(c,o?eQ(i,o):eQ(i))}(c,o,u)});let d=e=>e,p=new Map,g=new WeakMap;function v(e,n){return t||(t=m()),t(e,n)}function y(){return t||(t=m()),t.getInitialState()}function f(t){let n=arguments.length>1&&void 0!==arguments[1]&&arguments[1];function a(e){let o=e[t];return void 0===o&&n&&(o=e0(g,a,y)),o}function o(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:d,a=e0(p,n,()=>new WeakMap);return e0(a,t,()=>{var a;let o={};for(let[i,c]of Object.entries(null!==(a=e.selectors)&&void 0!==a?a:{}))o[i]=function(e,t,n,a){function o(o){for(var i=arguments.length,c=Array(i>1?i-1:0),s=1;s<i;s++)c[s-1]=arguments[s];let r=t(o);return void 0===r&&a&&(r=n()),e(r,...c)}return o.unwrapped=e,o}(c,t,()=>e0(g,t,y),n);return o}
1)}return{reducerPath:t,getSelectors:o,get selectors(){return o(a)},selectSlice:a}}let h={name:a,reducer:v,actions:_,caseReducers:s,getInitialState:y,...f(o),injectInto(e){let{reducerPath:t,...n}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=null!=t?t:o;return e.inject({reducerPath:a,reducer:v},n),{...h,...f(a,!0)}}};return h}}();function e9(){}function te(e){return"Minified Redux Toolkit error #".concat(e,"; visit https://redux-toolkit.js.org/Errors?code=").concat(e," for the full message or use the non-minified dev environment for full errors. ")}let tt=e7({name:"common",initialState:{counter:0,CURRENT_THEME:"light"},reducers:{setGlobalStore:(e,t)=>{t.payload.key&&(e[t.payload.key]=t.payload.value)}}}),tn=tt.reducer,{setGlobalStore:ta}=tt.actions;(_=s||(s={})).enIN="en-IN",_.taIN="ta-IN";let to={"en-IN":{homelanguages:{GREET:"Hello"}},"ta-IN":{homelanguages:{GREET:"Bolo"}}},ti=[{id:s.enIN,name:"English (India)",nativename:"English (India)"},{id:s.taIN,name:"Tamil",nativename:"தமிழà¯"}],tc=e7({name:"language",initialState:{data:to[a=ti[0].id],code:a},reducers:{setGlobalLanguage:(e,t)=>{to[t.payload]&&(e.data=to[t.payload],e.code=t.payload)}}}),ts=tc.reducer,{setGlobalLanguage:tr}=tc.actions,t_=function(e){let t,n;let a=e1(),{reducer:o,middleware:i,devTools:c=!0,duplicateMiddlewareCheck:s=!0,preloadedState:r,enhancers:_}=e||{};if("function"==typeof o)t=o;else if(R(o))t=function(e){let t;let n=Object.keys(e),a={};for(let t=0;t<n.length;t++){let o=n[t];"function"==typeof e[o]&&(a[o]=e[o])}let o=Object.keys(a);try{!function(e){Object.keys(e).forEach(t=>{let n=e[t];if(void 0===n(void 0,{type:M.INIT}))throw Error(P(12));if(void 0===n(void 0,{type:M.PROBE_UNKNOWN_ACTION()}))throw Error(P(13))})}(a)}catch(e){t=e}return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;if(t)throw t;let i=!1,c={};for(let t=0;t<o.length;t++){let s=o[t],r=a[s],_=e[s],l=r(_,n);if(void 0===l)throw n&&n.type,Error(P(14));c[s]=l,i=i||l!==_}return(i=i||o.length!==Object.keys(e).length)?c:e}}(o);else throw Error(te(1));n="function"==typeof i?i(a):a();let l=B;c&&(l=eX({trace:!1,..."object"==typeof c&&c}));let u=e5(function(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return e=>(n,a)=>{let o=e(n,a),i=()=>{throw Error(P(15))},c={getState:o.getState,dispatch:function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];return i(e,...n)}};return i=B(...t.map(e=>e(c)))(o.dispatch),{...o,dispatch:i}}}(...n));return function e(t,n,a){if("function"!=typeof t)throw Error(P(2));if("function"==typeof n&&"function"==typeof a||"function"==typeof a&&"function"==typeof arguments[3])throw Error(P(0));if("function"==typeof n&&void 0===a&&(a=n,n=void 0),void 0!==a){if("function"!=typeof a)throw Error(P(1));return a(e)(t,n)}let o=t,i=n,c=new Map,s=c,r=0,_=!1;function l(){s===c&&(s=new Map,c.forEach((e,t)=>{s.set(t,e)}))}function u(){if(_)throw Error(P(3));return i}function m(e){if("function"!=typeof e)throw Error(P(4));if(_)throw Error(P(5));let t=!0;l();let n=r++;return s.set(n,e),function(){if(t){if(_)throw Error(P(6));t=!1,l(),s.delete(n),c=null}}}function d(e){if(!R(e))throw Error(P(7));if(void 0===e.type)throw Error(P(8));if("string"!=typeof e.type)throw Error(P(17));if(_)throw Error(P(9));try{_=!0,i=o(i,e)}finally{_=!1}return(c=s).forEach(e=>{e()}),e}return d({type:M.INIT}),{dispatch:d,subscribe:m,getState:u,replaceReducer:function(e){if("function"!=typeof e)throw Error(P(10));o=e,d({type:M.REPLACE})},[N]:function(){return{subscribe(e){if("object"!=typeof e||null===e)throw Error(P(11));function t(){e.next&&e.next(u())}return t(),{unsubscribe:m(t)}},[N](){return this}}}}}(t,r,l(..."function"==typeof _?_(u):u()))}({reducer:{common:tn,language:ts}});class tl{async recheckDB(){try{await new Promise((e,t)=>{let n;let a=window.indexedDB.open(this._db_details.dbName,this._db_details.dbVersion);a.onupgradeneeded=e=>{n=e.target.result,Object.values(this._db_details.collections).forEach(e=>{n.objectStoreNames.contains(e)||n.createObjectStore(e)})},a.onsuccess=t=>{(n=t.target.result).close(),e()},a.onerror=e=>{n&&n.close(),t(e.target.error)}})}catch(e){console.error("[IndexedDB] Database recheckDB failed for ".concat(this._db_details.dbName,":"),e)}}constructor(e){this._db_details=e,this.recheckDB()}}class tu{constructor(e,t){this._collection_name=e,this._db_details=t}}class tm{async get(){try{return await this.getFieldValue()}catch(e){console.error("[IndexedDB] Field.get failed for ".concat(this._field_name," in ").concat(this._collection_name,":"),e);return}}async set(e){try{return await this.setFieldValue(e)}catch(e){console.error("[IndexedDB] Field.set failed for ".concat(this._field_name," in ").concat(this._collection_name,":"),e)}}getFieldValue(){return new Promise(async(e,t)=>{try{let n=await this.openDB(this._db_details.dbName,this._db_details.dbVersion,this._collection_name);if(!n.objectStoreNames.contains(this._collection_name)){this.closeDB(n),e(void 0);return}let a=n.transaction([this._collection_name],"readonly").objectStore(this._collection_name).get(this._field_name);a.onsuccess=t=>{let a=t.target.result;this.closeDB(n),e(a)},a.onerror=e=>{this.closeDB(n),t(e.target.error)}}catch(e){t(e)}})}setFieldValue(e){return new Promise(async(t,n)=>{try{let a=await this.openDB(this._db_details.dbName,this._db_details.dbVersion,this._collection_name);if(!a.objectStoreNames.contains(this._collection_name)){this.closeDB(a),t();return}let o=a.transaction([this._collection_name],"readwrite").objectStore(this._collection_name).put(e,this._field_name);o.onsuccess=()=>{this.closeDB(a),t()},o.onerror=e=>{this.closeDB(a),n(e.target.error)}}catch(e){n(e)}})}openDB(e,t,n){return new Promise((a,o)=>{let i;let c=window.indexedDB.open(e,t);c.onupgradeneeded=e=>{(i=e.target.result).objectStoreNames.contains(n)||i.createObjectStore(n)},c.onsuccess=e=>{a(i=e.target.result)},c.onerror=e=>{o(e.target.error)}})}closeDB(e){e&&e.close()}constructor(e,t,n){this._field_name=e,this._collection_name=t,this._db_details=n}}class td extends tu{constructor(...e){super(...e),this.folioname=new tm("folioname",this._collection_name,this._db_details),this.returns=new tm("returns",this._collection_name,this._db_details)}}class tp extends tu{constructor(...e){super(...e),this.name=new tm("name",this._collection_name,this._db_details),this.age=new tm("age",this._collection_name,this._db_details)}}class tg extends tl{get fundsCollection(){return this._fundscollection}get folioCollection(){return this._foliocollection}constructor(){super({dbName:"schemas",dbVersion:2,collections:{Funds:"funds",Folios:"folios"}}
1),this._fundscollection=new tp(this._db_details.collections.Funds,this._db_details),this._foliocollection=new td(this._db_details.collections.Folios,this._db_details)}}class tv extends tu{constructor(...e){super(...e),this.userName=new tm("user_name",this._collection_name,this._db_details),this.fullName=new tm("full_name",this._collection_name,this._db_details)}}class ty extends tu{constructor(...e){super(...e),this.permissions=new tm("permissions",this._collection_name,this._db_details),this.accessList=new tm("access_list",this._collection_name,this._db_details)}}class tf extends tl{get profilesCollection(){return this._profilescollection}get rolesCollection(){return this._rolescollection}constructor(){let e={dbName:"users",dbVersion:4,collections:{Profiles:"profiles",Roles:"roles"}};super(e),this._profilescollection=new tv(e.collections.Profiles,this._db_details),this._rolescollection=new ty(e.collections.Roles,this._db_details)}}let th=["encrypt","decrypt"],tw="a9b8c7d6e5f4a3b2c1d0e9f8a7b6c5d4e3f2a1b0c9d8e7f6a5b4c3d2e1f0a9b8",tb=tS("k3f1Q9z8Lw2h5X7a");function tS(e){try{return new Uint8Array(atob(e).split("").map(e=>e.charCodeAt(0)))}catch(e){return console.error("Invalid base64 string:",e),new Uint8Array}}async function tk(e){let t=function(e){let t=new Uint8Array(e.length/2);for(let n=0;n<t.length;n++)t[n]=parseInt(e.substr(2*n,2),16);return t}(e);return crypto.subtle.importKey("raw",t,{name:"AES-GCM"},!1,th)}async function tC(e){if(!e)return e;let t=await tk(tw),n=new TextEncoder().encode(e);return btoa(String.fromCharCode(...new Uint8Array(await crypto.subtle.encrypt({name:"AES-GCM",iv:tb},t,n))))}async function tA(e){if(!e)return e;try{let t=await tk(tw),n=tS(e);if(0===n.length)return"";let a=await crypto.subtle.decrypt({name:"AES-GCM",iv:tb},t,n);return new TextDecoder().decode(a)}catch(e){return console.error("Decryption failed:",e),""}}class tE{get(){return this.getFieldValue()}set(e){return this.setFieldValue(e)}async getFieldValue(){return new Promise(async e=>{var t;let n=null!==(t=localStorage.getItem(this._field_name))&&void 0!==t?t:"";e("pixels"===this._field_name||"appId"===this._field_name||"userType"===this._field_name||"utm-params"===this._field_name?n:await tA(n))})}async setFieldValue(e){return new Promise(async t=>{if("pixels"===this._field_name||"appId"===this._field_name||"userType"===this._field_name)localStorage.setItem(this._field_name,e);else{let t=await tC(e);localStorage.setItem(this._field_name,t)}t()})}constructor(e){this._field_name=e}}class tI{get(){return this.getFieldValue()}set(e){return this.setFieldValue(e)}getFieldValue(){return new Promise(async e=>{var t;e(null!==(t=sessionStorage.getItem(this._field_name))&&void 0!==t?t:"")})}setFieldValue(e){return new Promise(async t=>{sessionStorage.setItem(this._field_name,e),t()})}constructor(e){this._field_name=e}}let tT={IMMUTABLE:{APPID:"appId",ENCRYPTION_KEY:"pixels",PRELOGIN_TOKEN:"prelogintoken",GLOBAL_MESSAGE:"globalmessage",NAV_CLOSED_DATE:"navClosedDate",CMS_TOKEN:"cmsToken",ETFCART:"etfCart",USER_TYPE:"userType",PAN_ID:"panId",VISIT_KEY:"visitkey",BROWSER_ID:"browserId"},MUTABLE:{SCHEME_PACK_TITLE:"schemepacktitle",SCHEME_PACK_DATA:"schemepackdata",LOGIN_DATA:"loginData",STORED_SEARCH_DATA:"storedSearchData",LAST_CALL_DATE:"lastcalldate",NEW_FOLIO_DETAILS:"newFolioDetails",FOLIO_COUNT:"folioCount",TEMP_KYC_PAN:"tempKycPan",KYC_NAME:"kycName",KYC_ONHOLD:"kycOnhold",USER_DETAILS:"userDetails",SESSION_EXPIRE_MESSAGE:"session-expire-message",X_JWT_TOKEN:"x-jwt-token",ORIGINAL_FOLIO_DETAILS:"originalFolioDetails",VALIDATE_PAN_DATA:"validate-pan-data",NTI_USER_LOGIN_DATA:"ntiUserLoginData",CART_SELECTEDFOLIO_INVESTMENTMODE:"cartSelectedFolioAndInvestmentMode",UPIMANDATEBANKSELECT:"UPIAutopayMandateselectedBank",USEPAYPARAMS:"usePayParams",TRANSACTIONSTATUSREQ:"transactionStatusReq",TRANSACTIONPARAMS:"transactionParams",USER_ID:"user_id",USER__TYPE:"user_type",LOGIN_TYPE:"login-type",LOGIN_TRIGGERED_FROM:"login-triggered-from",WB_TOKEN:"x-wb-token",ONBOARDING_THANKYOU_SESSION:"onboardingThankyouSession"}};class tL{constructor(){this.appId=new tE(tT.IMMUTABLE.APPID),this.encKey=new tE(tT.IMMUTABLE.ENCRYPTION_KEY),this.preLoginToken=new tE(tT.IMMUTABLE.PRELOGIN_TOKEN),this.globalMessage=new tE(tT.IMMUTABLE.GLOBAL_MESSAGE),this.schemePackTitle=new tE(tT.MUTABLE.SCHEME_PACK_TITLE),this.schemePackData=new tE(tT.MUTABLE.SCHEME_PACK_DATA),this.loginData=new tE(tT.MUTABLE.LOGIN_DATA),this.storedSearchData=new tE(tT.MUTABLE.STORED_SEARCH_DATA),this.lastCallDate=new tE(tT.MUTABLE.LAST_CALL_DATE),this.newFolioDetails=new tE(tT.MUTABLE.NEW_FOLIO_DETAILS),this.folioCount=new tE(tT.MUTABLE.FOLIO_COUNT),this.navClosedDate=new tE(tT.IMMUTABLE.NAV_CLOSED_DATE),this.tempKycPan=new tE(tT.MUTABLE.TEMP_KYC_PAN),this.kycName=new tE(tT.MUTABLE.KYC_NAME),this.getCMSToken=new tE(tT.IMMUTABLE.CMS_TOKEN),this.onHoldKyc=new tE(tT.MUTABLE.KYC_ONHOLD),this.etfCart=new tE(tT.IMMUTABLE.ETFCART),this.userDetails={mobile:new tE("".concat(tT.MUTABLE.USER_DETAILS,"_mobile")),email:new tE("".concat(tT.MUTABLE.USER_DETAILS,"_email")),pan:new tE("".concat(tT.MUTABLE.USER_DETAILS,"_pan"))},this.userType=new tE(tT.IMMUTABLE.USER_TYPE),this.panId=new tE(tT.IMMUTABLE.PAN_ID),this.visitkey=new tE(tT.IMMUTABLE.VISIT_KEY),this.sessionExpireMessage=new tE(tT.MUTABLE.SESSION_EXPIRE_MESSAGE),this.x_jwt_token=new tE(tT.MUTABLE.X_JWT_TOKEN),this.originalFolioDetails=new tE(tT.MUTABLE.ORIGINAL_FOLIO_DETAILS),this.validatePanData=new tE(tT.MUTABLE.VALIDATE_PAN_DATA),this.ntiUserLoginData=new tE(tT.MUTABLE.NTI_USER_LOGIN_DATA),this.cartSelectedFolioAndInvestmentMode=new tE(tT.MUTABLE.CART_SELECTEDFOLIO_INVESTMENTMODE),this.UPIAutopayMandateselectedBank=new tE(tT.MUTABLE.UPIMANDATEBANKSELECT),this.usePayParams=new tE(tT.MUTABLE.USEPAYPARAMS),this.transactionStatusReq=new tE(tT.MUTABLE.TRANSACTIONSTATUSREQ),this.transactionParams=new tE(tT.MUTABLE.TRANSACTIONPARAMS),this.user_type=new tE(tT.MUTABLE.USER__TYPE
1),this.user_id=new tE(tT.MUTABLE.USER_ID),this.browserId=new tE(tT.IMMUTABLE.BROWSER_ID),this.disclosurePopupKey=new tE("disclosurePopupKey"),this.login_triggered_from=new tE(tT.MUTABLE.LOGIN_TRIGGERED_FROM),this.onboardingThankyouSession=new tE(tT.MUTABLE.ONBOARDING_THANKYOU_SESSION),this.wb_token=new tE(tT.MUTABLE.WB_TOKEN)}}class tD{static get instance(){return this._instance||(this._instance=new tL),this._instance}}let tP={IMMUTABLE:{APPID:"appId",ENCRYPTION_KEY:"pixels",PRELOGIN_TOKEN:"prelogintoken",GLOBAL_MESSAGE:"globalmessage",NAV_CLOSED_DATE:"navClosedDate",CMS_TOKEN:"cmsToken",ETFCART:"etfCart",USER_TYPE:"userType",PAN_ID:"panId",VISIT_KEY:"visitkey"},MUTABLE:{SCHEME_PACK_TITLE:"schemepacktitle",SCHEME_PACK_DATA:"schemepackdata",LOGIN_DATA:"loginData",STORED_SEARCH_DATA:"storedSearchData",LAST_CALL_DATE:"lastcalldate",NEW_FOLIO_DETAILS:"newFolioDetails",FOLIO_COUNT:"folioCount",TEMP_KYC_PAN:"tempKycPan",KYC_NAME:"kycName",KYC_ONHOLD:"kycOnhold",USER_DETAILS:"userDetails",SESSION_EXPIRE_MESSAGE:"session-expire-message",X_JWT_TOKEN:"x-jwt-token",ORIGINAL_FOLIO_DETAILS:"originalFolioDetails",VALIDATE_PAN_DATA:"validate-pan-data",NTI_USER_LOGIN_DATA:"ntiUserLoginData",CART_SELECTEDFOLIO_INVESTMENTMODE:"cartSelectedFolioAndInvestmentMode",UPIMANDATEBANKSELECT:"UPIAutopayMandateselectedBank",USEPAYPARAMS:"usePayParams",TRANSACTIONSTATUSREQ:"transactionStatusReq",TRANSACTIONPARAMS:"transactionParams",USER_ID:"user_id",USER__TYPE:"user_type"}};class tN{constructor(){this.appId=new tE(tP.IMMUTABLE.APPID),this.encKey=new tE(tP.IMMUTABLE.ENCRYPTION_KEY),this.preLoginToken=new tE(tP.IMMUTABLE.PRELOGIN_TOKEN),this.globalMessage=new tE(tP.IMMUTABLE.GLOBAL_MESSAGE),this.schemePackTitle=new tE(tP.MUTABLE.SCHEME_PACK_TITLE),this.schemePackData=new tE(tP.MUTABLE.SCHEME_PACK_DATA),this.loginData=new tE(tP.MUTABLE.LOGIN_DATA),this.storedSearchData=new tE(tP.MUTABLE.STORED_SEARCH_DATA),this.lastCallDate=new tE(tP.MUTABLE.LAST_CALL_DATE),this.newFolioDetails=new tE(tP.MUTABLE.NEW_FOLIO_DETAILS),this.folioCount=new tE(tP.MUTABLE.FOLIO_COUNT),this.navClosedDate=new tE(tP.IMMUTABLE.NAV_CLOSED_DATE),this.tempKycPan=new tE(tP.MUTABLE.TEMP_KYC_PAN),this.kycName=new tE(tP.MUTABLE.KYC_NAME),this.getCMSToken=new tE(tP.IMMUTABLE.CMS_TOKEN),this.onHoldKyc=new tE(tP.MUTABLE.KYC_ONHOLD),this.etfCart=new tE(tP.IMMUTABLE.ETFCART),this.userDetails={mobile:new tE("".concat(tP.MUTABLE.USER_DETAILS,"_mobile")),email:new tE("".concat(tP.MUTABLE.USER_DETAILS,"_email")),pan:new tE("".concat(tP.MUTABLE.USER_DETAILS,"_pan"))},this.userType=new tE(tP.IMMUTABLE.USER_TYPE),this.panId=new tE(tP.IMMUTABLE.PAN_ID),this.visitkey=new tE(tP.IMMUTABLE.VISIT_KEY),this.sessionExpireMessage=new tE(tP.MUTABLE.SESSION_EXPIRE_MESSAGE),this.x_jwt_token=new tE(tP.MUTABLE.X_JWT_TOKEN),this.originalFolioDetails=new tE(tP.MUTABLE.ORIGINAL_FOLIO_DETAILS),this.validatePanData=new tE(tP.MUTABLE.VALIDATE_PAN_DATA),this.ntiUserLoginData=new tE(tP.MUTABLE.NTI_USER_LOGIN_DATA),this.cartSelectedFolioAndInvestmentMode=new tE(tP.MUTABLE.CART_SELECTEDFOLIO_INVESTMENTMODE),this.UPIAutopayMandateselectedBank=new tE(tP.MUTABLE.UPIMANDATEBANKSELECT),this.usePayParams=new tE(tP.MUTABLE.USEPAYPARAMS),this.transactionStatusReq=new tE(tP.MUTABLE.TRANSACTIONSTATUSREQ),this.transactionParams=new tE(tP.MUTABLE.TRANSACTIONPARAMS),this.user_type=new tE(tP.MUTABLE.USER__TYPE),this.user_id=new tE(tP.MUTABLE.USER_ID)}}class tO{static get instance(){return this._instance||(this._instance=new tN),this._instance}}class tM{constructor(){this.userId=new tI("userId"),this.userJourneyDropLinkId=new tI("userJourneyDropLinkId"),this.currentUserJourney=new tI("currentUserJourney"),this.etfCart=new tI("etfCart"),this.nfoSchemeDetails=new tI("nfoSchemeDetails"),this.calculatorDetails=new tI("calculatorDetails"),this.getAllCalculator=new tI("getAllCalculator"),this.contactUsMapDetails=new tI("contactUsMapDetails"),this.systematicPlanCalculatorDetails=new tI("systematicPlanCalculatorDetails"),this.systematicPlanSipSelectedItem=new tI("systematicPlanSipSelectedItem"),this.systematicPlanSipSelectedService=new tI("systematicPlanSipSelectedService"),this.faqSelectedMainIndex=new tI("faqSelectedMainIndex"),this.faqSelectedSubIndex=new tI("faqSelectedSubIndex"),this.faqData=new tI("faqData"),this.investIQTargetScreenInput=new tI("investIQTargetScreenInput"),this.portfolioFolioDetails=new tI("portfolioFolioDetails"),this.portfolioFolioSchemeDetails=new tI("portfolioFolioSchemeDetails"),this.portfolioGoalRedirection=new tI("portfolioGoalRedirection"),this.profileFolioNumber=new tI("profileFolioNumber"),this.otpMaxAttempt=new tI("MaxOtpAttempt"),this.portfolioSchemeTransactionDetail=new tI("portfolioSchemeTransactionDetail"),this.portfolioSchemeTransactionFolioList=new tI("portfolioSchemeTransactionFolioList"),this.thankyouPageOrderDetails=new tI("thankyouPageOrderDetails"),this.profileMenuSelection=new tI("profileMenuSelection"),this.cartD
1pId=new tI("cartDpId"),this.userKycInfo=new tI("userKycInfo"),this.browserEndUrl=new tI("browserEndUrl"),this.portfolioFolioSelectedPlanName=new tI("portfolioFolioSelectedPlanName"),this.faqSelectedSubItemName=new tI("faqSelectedSubItemName"),this.schemePackTitle=new tI("schemePackTitle"),this.allSchemesFilterOptions=new tI("allSchemesFilterOptions"),this.schemePackData=new tI("schemePackData"),this.loginUUID=new tI("loginUUID"),this.routingHistory=new tI("routingHistory"),this.newFolioDetailsList=new tI("newFolioDetailsList"),this.systematicExtendDetails=new tI("systematicExtendDetails"),this.systematicModifyDetails=new tI("systematicModifyDetails"),this.isFromPortfolio=new tI("isFromPortfolio"),this.dashboardActionCard=new tI("dashboardActionCard"),this.selectedCalculatorData=new tI("selectedCalculator"),this.redeemReferenceId=new tI("redeemReferenceId"),this.ocpjourney=new tI("ocpjourney"),this.selectedPaymentMode=new tI("selectedPaymentMode"),this.toInstantPayPage=new tI("toInstantPayPage"),this.thankyouPageBankName=new tI("thankyouPageBankName"),this.minMandateInfoData=new tI("minMandateInfoData"),this.enableCreateMandateBtn=new tI("enableCreateMandateBtn"),this.thankyouPageSIPFirstDebit=new tI("thankyouPageSIPFirstDebit"),this.thankyouPageSIPFirstDebitData=new tI("thankyouPageSIPFirstDebitData"),this.thankyouPageOrderDetailData=new tI("thankyouPageOrderDetailData"),this.welcomeShown=new tI("welcomeShown"),this.reminderNote=new tI("reminderNote"),this.thankyoupageReferenceNo=new tI("thankyoupageReferenceNo"),this.thankyoupageBankCardShow=new tI("tthankyoupageBankCardShow"),this.kcCommonTabData=new tI("kcCommonTabData"),this.kcStoredPath=new tI("kcStoredPath"),this.kcChipletCloseBtnCliked=new tI("kcChipletCloseBtnCliked"),this.kcRealatedTags=new tI("kcRealatedTags"),this.kcSearchKey=new tI("kcSearchKey"),this.thankyoupageBankInfo=new tI("thankyoupageBankInfo"),this.thankyoupageCartSIPTopup=new tI("thankyoupageCartSIPTopup"),this.thankyoupageCartSIPTopupNotes=new tI("thankyoupageCartSIPTopupNotes"),this.thankyoupageShagunSIPDroplinkData=new tI("thankyoupageShagunSIPDroplinkData"),this.shagunPortfolioSchemeData=new tI("shagunPortfolioSchemeData"),this.updateUserJourneyDropLinkId=new tI("updateUserJourneyDropLinkId"),this.updateDroplinkStage=new tI("updateDroplinkStage"),this.newuserpopupShow=new tI("newuserpopupShow"),this.newfolioLeadData=new tI("newfolioLeadData"),this.journeyOrderType=new tI("journeyOrderType")}}class tR{static get instance(){return this._instance||(this._instance=new tM),this._instance}}class tB{getLocalStorageItem(e){var t;null===(t=this._deviceHandler.getLocalStorageItem)||void 0===t||t.postMessage(JSON.stringify(e))}setLocalStorageItem(e){var t;null===(t=this._deviceHandler.setLocalStorageItem)||void 0===t||t.postMessage(JSON.stringify(e))}getSessionStorageItem(e){var t;null===(t=this._deviceHandler.getSessionStorageItem)||void 0===t||t.postMessage(JSON.stringify(e))}setSessionStorageItem(e){var t;null===(t=this._deviceHandler.setSessionStorageItem)||void 0===t||t.postMessage(JSON.stringify(e))}sendHttpGet(e){var t;null===(t=this._deviceHandler.sendHttpGet)||void 0===t||t.postMessage(JSON.stringify(e))}sendHttpPost(e){var t;null===(t=this._deviceHandler.sendHttpPost)||void 0===t||t.postMessage(JSON.stringify(e))}googleAnalyticsRecordEvent(e){var t;null===(t=this._deviceHandler.googleAnalyticsRecordEvent)||void 0===t||t.postMessage(JSON.stringify(e))}googleAnalyticsRecordPageView(e){var t;null===(t=this._deviceHandler.googleAnalyticsRecordPageView)||void 0===t||t.postMessage(JSON.stringify(e))}notifyVisitorsTrackEvent(e){var t;null===(t=this._deviceHandler.notifyVisitorsTrackEvent)||void 0===t||t.postMessage(JSON.stringify(e))}navigateInApp(e){var t;null===(t=this._deviceHandler.navigateInApp)||void 0===t||t.postMessage(JSON.stringify(e))}setPageManifest(e){return new Promise(t=>{var n;null===(n=this._deviceHandler.setPageManifest)||void 0===n||n.postMessage(JSON.stringify(e)),t(!0)})}sendDateCallBack(e){var t;null===(t=this._deviceHandler.showCalendar)||void 0===t||t.postMessage(JSON.stringify(e))}backClick(e){var t;null===(t=this._deviceHandler.backClick)||void 0===t||t.postMessage(JSON.stringify(e))}sendPopupCallBack(e){var t;null===(t=this._deviceHandler.sendPopupCallBack)||void 0===t||t.postMessage(JSON.stringify(e))}closeModule(e){var t;null===(t=this._deviceHandler.closeModule)||void 0===t||t.postMessage(JSON.stringify(e))}digioInit(e){var t;null===(t=this._deviceHandler.digioInit)||void 0===t||t.postMessage(JSON.stringify(e))}initRazorPay(e){var t;null===(t=this._deviceHandler.initRazorPay)||void 0===t||t.postMessage(JSON.stringify(e))}handleLogout(e){var t;null===(t=this._deviceHandler.handleLogout)||void 0===t||t.postMessage(JSON.stringify(e))}downloadPDF(e){var t;null===(t=this._deviceHandler.downloadPDF)||void 0===t||t.postMessage(JSON.stringify(e))}notifyVisitorsTrackUser(e){var t;null===(t=this._deviceHandler.notifyVisitorsTrackUser)||void 0===t||t.postMessage(JSON.stringify(e))}getShareLink(e){var t;null===(t=this._deviceHandler.getShareLink)||void 0===t||t.postMessage(JSON.stringify(e))}showHeader(e){var t;null===(t=this._deviceHandler.showHeader)||void 0===t||t.postMessage(JSON.stringify(e))}constructor(){var e;this._deviceHandler=(null===(e=window)||void 0===e?void 0:e.webkit)?window.webkit.messageHandlers:{}}}class tU{getLocalStorageItem(e){this._deviceHandler.getLocalStorageItem(JSON.stringify(e))}setLocalStorageItem(e){this._deviceHandler.setLocalStorageItem(JSON.stringify(e))}getSessionStorageItem(e){this._deviceHandler.getSessionStorageItem(JSON.stringify(e))}setSessionStorageItem(e){this._deviceHandler.setSessionStorageItem(JSON.stringify(e))}sendHttpGet(e){this._deviceHandler.sendHttpGet(JSON.stringify(e))}sendHttpPost(e){this._deviceHandler.sendHttpPost(JSON.stringify(e))}googleAnalyticsRecordEvent(e){this._deviceHandler.googleAnalyticsRecordEvent(JSON.stringify(e))}googleAnalyticsRecordPageView(e){this._deviceHandler.googleAnalyticsRecordPageView(JSON.stringify(e))}notifyVisitorsTrackEvent(e){this._deviceHandler.notifyVisitorsTrackEvent(JSON.stringify(e))}navigateInApp(e){this._deviceHandler.navigateInApp(JSON.stringify(e))}setPageManifest(e){return new Promise(t=>{this._deviceHandler.setPageManifest(JSON.stringify(e)),t(!0)})}
1sendDateCallBack(e){this._deviceHandler.showCalendar(JSON.stringify(e))}backClick(e){this._deviceHandler.backClick(JSON.stringify(e))}sendPopupCallBack(e){this._deviceHandler.sendPopupCallBack(JSON.stringify(e))}closeModule(e){this._deviceHandler.closeModule(JSON.stringify(e))}digioInit(e){this._deviceHandler.digioInit(JSON.stringify(e))}initRazorPay(e){this._deviceHandler.initRazorPay(JSON.stringify(e))}handleLogout(e){this._deviceHandler.handleLogout(JSON.stringify(e))}downloadPDF(e){var t,n;null===(t=(n=this._deviceHandler).downloadPDF)||void 0===t||t.call(n,JSON.stringify(e))}notifyVisitorsTrackUser(e){var t,n;null===(t=(n=this._deviceHandler).notifyVisitorsTrackUser)||void 0===t||t.call(n,JSON.stringify(e))}getShareLink(e){var t,n;null===(t=(n=this._deviceHandler).getShareLink)||void 0===t||t.call(n,JSON.stringify(e))}showHeader(e){var t,n;null===(t=(n=this._deviceHandler).showHeader)||void 0===t||t.call(n,JSON.stringify(e))}constructor(){this._deviceHandler=window.Android?window.Android:{}}}class tj{getLocalStorageItem(e){}setLocalStorageItem(e){}getSessionStorageItem(e){}setSessionStorageItem(e){}sendHttpGet(e){setTimeout(()=>{},5e3)}sendHttpPost(e){setTimeout(()=>{},5e3)}googleAnalyticsRecordEvent(e){}googleAnalyticsRecordPageView(e){}notifyVisitorsTrackEvent(e){}navigateInApp(e){}setPageManifest(e){return new Promise(e=>{e(!0)})}sendDateCallBack(e){}backClick(e){}sendPopupCallBack(e){}closeModule(e){}digioInit(e){}initRazorPay(e){}handleLogout(e){}downloadPDF(e){}notifyVisitorsTrackUser(e){}getShareLink(e){}showHeader(e){}}class tx{static get instance(){return this._instance}static initialize(){var e,t;window.Android?this._instance=new tU:(null===(t=window)||void 0===t?void 0:null===(e=t.webkit)||void 0===e?void 0:e.messageHandlers)?this._instance=new tB:this._instance=new tj}}class tF{get userType(){return this.usertype}set userType(e){this.usertype=e}constructor(){this.usertype=""}}let tH=new tF,tK={INIT_ENCRYPTION_KEY:"a4oHi0R/LZqMTOt0+rHRhIsK9GThCdrIZLkMH2X82xE=",ROUTE_PATHS:{quickpay:"/quickpay",kyc:"/kyc",homepage:"/",SWITCH:"/switch",STP:"/stp",SWP:"/swp",REDEEM:"/instaredeem",REDEMPTION:"/redemption",SIP:"/sys-plan",TOTAL_EXPENSE_RATIO:"/total-expense-ratio",ABOUT_US:"/about-us",CONTACT_US:"/connect-us",FAQ:"/faq",MUTUAL_FUNDS:"/mutual-funds",SCHEME_PACK:"/scheme-packs",KNOWLEDGE_CENTER:"/mutual-fund-knowledge-centre",KNOWLEDGE_CENTER_ARTICLES:"/mutual-fund-knowledge-centre/articles",KNOWLEDGE_CENTER_LEARN_LIB:"/mutual-fund-knowledge-centre/learninglibrary",KNOWLEDGE_CENTER_LEARN_INFOGRAPHIC:"/mutual-fund-knowledge-centre/infographics",KNOWLEDGE_CENTER_LEARN_WEBINARS:"/mutual-fund-knowledge-centre/webinars",KNOWLEDGE_CENTER_MUTUAL_FUND_GLOSSARY:"/mutual-fund-knowledge-centre/mutual-fund-glossary/viewall",CALCULATORS:"/calculators",CANCEL_REDEM:"/cancel-redeem",CAREERS:"/careers",CSR:"/corporate-social-responsibility",DASHBOARD:"/dashboard",OUR_SERVICES:"/servicecenter/ourservices",WHATSAPP_SERVICES:"/servicecenter/ourservices/whatsappservice",DISCLAIMERS:"/disclaimer/Index",REDEMPTION_TAT:"/redemption-tat",PROFILE:"/profile",STATUTORY_DISCLOSURES:"/statutory-disclosures",SUPPORT:"/support",BANK_SHEET:"/bank-sheet",GOAL_PLANNING:"/goal-planning",NFO:"/nfo",INSIGHTS:"/insights",DOWNLOADS:"/downloads",INSIGHT_UPDATES:"/latest-updates",INSIGHT_INVESTING:"/investing-insights",INSIGHT_PERSP_MARK:"/perspectives-on-the-market",INSIGHT_SEBI:"/sebi-investor-education",INSIGHT_MARKET:"/market-updates",INSIGHT_EVENT:"/event-policy-updates",COMPARE_FUNDS:"/compare-funds",SITEMAP:"/sitemap",REGISTERATION:"/registration",CALCULATOR_ROUTE_MAP:{"Retirement Calculator":"retirement-calculator","SWP Calculator(I wish to start my SWP immediately)":"swp-calculator","Tax Saving Calculator":"elss-calculator","Wealth Calculator":"wealth-calculator","SIP Calculator (Target Amount Known)":"sip-calculator","SIP Calculator (Monthly SIP Amount Known)":"sip-monthly-calculator","Lumpsum Calculator (Target Amount Known)":"lumpsum-target-calculator","Lumpsum Calculator (Lumpsum Amount Known)":"lumpsum-calculator","SIP Top-Up Calculator (% SIP Top-Up)":"sip-topup-calculator","Alpha Calculator":"alpha-calculator","Sharpe Ratio Calculator":"sharpe-ratio-calculator","Sortino Ratio Calculator":"sortino-ratio-calculator","Asset Allocation Calculator":"asset-allocation-calculator","EMI Calculator(Home loan/Car loan)":"emi-calculator","CAGR Calculator":"cagr-calculator","Inflation Calculator":"inflation-calculator","HRA Calculator":"hra-calculator","STP Calculator(I wish to invest a lumpsum amount)":"stp-lumpsum-calculator","Equity Fund Calculator":"equity-fund-calculator","Debt Fund Calculator":"debt-fund-calculator","Hybrid Fund Calculator":"hybrid-fund-calculator","Balanced Fund Calculator":"balanced-fund-calculator","Large Cap Fund Calculator":"large-cap-fund-calculator","Thematic Fund Calculator":"thematic-fund-calculator","Mid Cap Fund Calculator":"mid-cap-fund-calculator","Small Cap Fund Calculator":"small-cap-fund-calculator","Multi Cap Fund Calculator":"multi-cap-fund-calculator","STP Calculator(I already have an investment)":"stp-investment-calculator","Index Fund Calculator":"index-fund-calculator","SIP Top-Up Calculator, sequential approach, fixed sip top up":"sip-topup-sequential-calculator","SWP Calculator(I wish to calculate the SWP after a few years)":"swp-later-calculator","Treynor Ratio Calculator":"treynor-ratio-calculator"},FOLIO_CREATE:"/folio/create"},DOWNLOAD_MARKETS:{downloadTabTypesList:{"latest-updates":"Latest Updates",products:"Products",forms:"Forms",corporate:"Corporate Profile",publicstatement:"Public Statement","perspectives-on-the-market":"Perspectives","market-updates":"Market Outlook",daily:"Daily Market Updates","event-policy-updates":"Event/Policy Updates","investing-insights":"Handbook/Investing Insights","sebi-investor-education":"SEBI Investor Education","offline-non-commercial-transaction":"Offline Non-commercial Transaction"}}},tG={sipDetails:"sipDetails",broserwId:"broserwId",SIP_ACTION_API:"SIP_ACTION_API"},tY={DASHBOARD_DETAILS:"dashboard_details",DASHBOARD_TRX_DETAILS:"dashboard_trx_details",CANCEL_REDEEM_DISCLAIMER:"cancel_reedem_disclaimer",SIP_DASHBOARD:"sip_dashboard"},tV=null,tJ=e=>{null==tV||tV.pushPath(e)},tq="AppCacheDB",tW="apiCache";function tz(){return new Promise((e,t)=>
1{let n=indexedDB.open(tq,1);n.onerror=()=>{t("Failed to open IndexedDB")},n.onupgradeneeded=()=>{let e=n.result;e.objectStoreNames.contains(tW)||e.createObjectStore(tW)},n.onsuccess=()=>{let a=n.result;if(a.objectStoreNames.contains(tW))e(a);else{a.close();let n=a.version,o=indexedDB.open(tq,n+1);o.onupgradeneeded=()=>{let e=o.result;e.objectStoreNames.contains(tW)||e.createObjectStore(tW)},o.onsuccess=()=>e(o.result),o.onerror=()=>t("Failed to recreate IndexedDB store")}}})}async function tX(e,t){try{let n=await tz(),a={data:t,timestamp:Date.now()};return new Promise(t=>{let o=n.transaction(tW,"readwrite"),i=o.objectStore(tW).put(a,e);i.onsuccess=()=>t(),i.onerror=()=>{console.error("[IndexedDB] setCache failed for key:",e),t()},o.onerror=()=>{console.error("[IndexedDB] setCache transaction failed for key:",e),t()}})}catch(e){console.error("[IndexedDB] setCache error:",e)}}async function tQ(e){try{let t=await tz();return new Promise(n=>{let a=t.transaction(tW,"readonly").objectStore(tW).get(e);a.onsuccess=()=>{let e=a.result;e?n(e):n(null)},a.onerror=()=>{console.error("[IndexedDB] getCache failed for key:",e),n(null)}})}catch(e){return console.error("[IndexedDB] getCache error:",e),null}}async function tZ(e){try{let t=await tz();return new Promise(n=>{let a=t.transaction(tW,"readwrite"),o=a.objectStore(tW).delete(e);o.onsuccess=()=>n(),o.onerror=()=>{console.error("[IndexedDB] deleteCache failed for key:",e),n()},a.onerror=()=>{console.error("[IndexedDB] deleteCache transaction failed for key:",e),n()}})}catch(e){console.error("[IndexedDB] deleteCache error:",e)}}async function t$(){try{for(let e of[tG.SIP_ACTION_API])await tZ(e)}catch(e){console.error("[IndexedDB] deleteArrayCacheLogout error:",e)}}let t0=async()=>{var e,t;return null!==(t=await (null===(e=tD.instance)||void 0===e?void 0:e.appId.get()))&&void 0!==t?t:""},t1=async()=>{var e,t;return null!==(t=await (null===(e=tD.instance)||void 0===e?void 0:e.encKey.get()))&&void 0!==t?t:""},t2=async()=>{var e,t;return null!==(t=await (null===(e=tD.instance)||void 0===e?void 0:e.preLoginToken.get()))&&void 0!==t?t:""},t3=async()=>{let e=await tD.instance.loginData.get();if(e){var t;return null!==(t=JSON.parse(e).token)&&void 0!==t?t:""}return""},t4=async()=>await tD.instance.getCMSToken.get(),t5=async()=>{let e=await tD.instance.loginData.get();if(e){var t;return null!==(t=JSON.parse(e).refreshToken)&&void 0!==t?t:""}return""},t6=async()=>{try{await Promise.all([tZ(tY.DASHBOARD_DETAILS),tZ(tY.DASHBOARD_TRX_DETAILS),tZ(tY.CANCEL_REDEEM_DISCLAIMER),tZ(tY.SIP_DASHBOARD)])}catch(e){console.error("[IndexedDB] deleteAllDashboardCaches error:",e)}};async function t8(e){try{for(let t of(await indexedDB.databases()))t.name&&(await new Promise(n=>{let a=indexedDB.open(t.name);a.onsuccess=()=>{let t=a.result,o=!1;if(0===t.objectStoreNames.length){t.close(),n(!1);return}let i=t.transaction(t.objectStoreNames,"readonly");for(let n of t.objectStoreNames){let t=i.objectStore(n);e.forEach(e=>{let n=t.get(e);n.onsuccess=()=>{void 0!==n.result&&(o=!0)}})}i.oncomplete=()=>{t.close(),n(o)},i.onerror=()=>{t.close(),n(!1)}},a.onerror=()=>n(!1)})||await new Promise(e=>{let n=indexedDB.deleteDatabase(t.name);n.onsuccess=()=>e(!0),n.onerror=()=>e(!1),n.onblocked=()=>{e(!1)}}))}catch(e){console.error("[IndexedDB] clearIndexedDBExcept error:",e)}}let t7=async()=>{let e=localStorage.getItem(tT.IMMUTABLE.BROWSER_ID);Object.keys(localStorage).filter(e=>!e.startsWith("WZRK")).forEach(e=>localStorage.removeItem(e)),sessionStorage.clear(),e&&localStorage.setItem(tT.IMMUTABLE.BROWSER_ID,e),document.cookie.split(";").forEach(e=>{let t=e.split("=")[0].trim();document.cookie="".concat(t,"=; path=/; max-age=0")}),t8([""])},t9=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"enable",t=arguments.length>1?arguments[1]:void 0,n=await t3(),a={"Content-Type":"application/json"};n&&(a.Authorization="Bearer "+n);let o=await t1();if(e&&"none"!==e&&o||t){let i=await t0(),c=await t2();a["x-app-id"]=i,t?a["x-encryption-enabled"]="enable"===e&&tK.INIT_ENCRYPTION_KEY?"Y":"N":a["x-encryption-enabled"]="enable"===e&&o?"Y":"N",n?a["x-jwt-token"]=n:c&&(a["x-jwt-token"]=c)}return a},ne=async function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"enable",t={"Content-Type":"application/json",Authorization:await tD.instance.getCMSToken.get()};return e&&"none"!==e&&(t["x-encryption-enabled"]="enable"===e?"Y":"N"),t},nt=async()=>{var e;return null!==(e=await tR.instance.selectedCalculatorData.get())&&void 0!==e?e:""},nn=async(e,t)=>{var n;await tR.instance.selectedCalculatorData.set(e);let a=tK.ROUTE_PATHS.CALCULATOR_ROUTE_MAP[t],o=null!==(n=t.replace(/[\/\s%(),]/g,"-").replace(/-+/g,"-").replace(/^-|-$/g,""))&&void 0!==n?n:"";tJ("".concat(tK.ROUTE_PATHS.CALCULATORS,"/").concat(a)||"".concat(tK.ROUTE_PATHS.CALCULATORS,"/").concat(o))},na=async()=>{var e,t;return null!==(t=await (null===(e=tD.instance)||void 0===e?void 0:e.userType.get()))&&void 0!==t?t:""},no=async()=>{var e,t;return null!==(t=await (null===(e=tD.instance)||void 0===e?void 0:e.panId.get()))&&void 0!==t?t:""};async function ni(e){let t=["/kyc-sdk-services/v1/initiateKyc","/kyc-sdk-services/v1/getKycCustomerDetails","/kyc-sdk-services/v1/initiateCustomerKyc","/kyc-sdk-services/v1/submitkycdata","/kyc-sdk-services/v1/submitKycCustomerDetails","/kyc-sdk-services/v1/getFatcaDetails","/cart-services/api/v1/get-tin-country","/cart-services/api/v1/get-tin-identification-type","/cart-services/api/v1/new-user-validate-tin","/kyc-sdk-services/v1/updateKraStatus","/login-services/api/v1/login/token-exchange"].some(t=>t===e);return{isToken:await ns(),isUrlMatched:t}}async function nc(e){return!!(e.startsWith("/droplink-services/v2/droplink/")&&/\/digital-kyc|\/kyc/.test(window.location.pathname))&&await nr()}async function ns(){var e,t;let n=await (null==tD?void 0:null===(t=tD.instance)||void 0===t?void 0:null===(e=t.loginData)||void 0===e?void 0:e.get()),a=n&&JSON.parse(n);return!!(null==a?void 0:a.token)}async function nr(){return!!await tD.instance.x_jwt_token.get()}let n_=e=>{let t={};for(let n in e){let a=e[n];"string"==typeof a&&"user_type"!==n?t[n]=a.toLowerCase():Array.isArray(a)?t[n]=a.map(e=>
1"object"==typeof e&&null!==e?n_(e):"string"==typeof e&&"user_type"!==n?e.toLowerCase():e):"object"==typeof a&&null!==a?t[n]=n_(a):t[n]=a}return t};class nl{setHeight(e){this.height=e}getHeight(){return this.height}constructor(){this.height=null}}let nu={getAppIdFromStorage:t0,getEncKeyFromStorage:t1,getBearerTokenFromStorage:t3,getPreLoginTokenFromStorage:t2,clearStorageDataOnLogout:t7,getAggregatorServiceHeadersFromStorage:t9,getCMSServiceHeadersFromStorage:ne,getRefreshTokenFromStorage:t5,getCMSBearerTokenFromStroage:t4,getFormatedDateFromStringDate:function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"DDMMYYYY",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"/";if(e){let a=e.split(n);if(a.length>1){let e,n,o;switch(t){case"DDMMYYYY":o=parseInt(a[0],10),n=parseInt(a[1],10)-1,e=parseInt(a[2],10);break;case"MMDDYYYY":n=parseInt(a[0],10)-1,o=parseInt(a[1],10),e=parseInt(a[2],10);break;case"YYYYMMDD":e=parseInt(a[0],10),n=parseInt(a[1],10)-1,o=parseInt(a[2],10)}return new Date(e,n,o)}}return new Date},getSelecCalculatorFromStorage:nt,goToSelectedCalculator:nn,getUserTypeFromStorage:na,getPanIdFromStorage:no,getToken:ns,endpointSepratedfromURL:function(e){return null==e?void 0:e.split("com")[1]},IsUserLoggedIn_urlMatch_forAuthentication:ni,deleteAllDashboardCaches:t6,IsUserFromDigitalKyc:nc,toLowerCaseStrings:n_,headerHeightInstance:new nl},nm="AES-GCM",nd=["encrypt","decrypt"];
1async function np(e,t,n){let a=await nv(e),o=crypto.getRandomValues(new Uint8Array(12)),i=new TextEncoder().encode(t),c=await crypto.subtle.encrypt({name:nm,iv:o,tagLength:128},a,i),s=new Uint8Array(o.length+c.byteLength);return(s.set(o),s.set(new Uint8Array(c),o.length),n.includes("/service-centre/update-details/add-bank-validate-otp")||n.includes("service-centre/api/v1/save-my-profile")||n.includes("/whistleblower-services/api/v1/reporting/submit")||n.includes("/whistleblower-services/api/v1/reporting/reply")||n.includes("/whistleblower-services/api/v1/committee/recommendation"))?function(e){let t="";for(let n=0;n<e.length;n+=32768)t+=String.fromCharCode.apply(null,Array.from(e.subarray(n,n+32768)));return btoa(t)}(s):btoa(String.fromCharCode(...s))}async function ng(e,t){let n=await nv(e),a=Uint8Array.from(atob(t),e=>e.charCodeAt(0)),o=a.slice(0,12),i=a.slice(12),c=await crypto.subtle.decrypt({name:nm,iv:o,tagLength:128},n,i);return new TextDecoder().decode(c)}async function nv(e){let t=Uint8Array.from(atob(e),e=>e.charCodeAt(0));return crypto.subtle.importKey("raw",t,{name:nm},!1,nd)}async function ny(e,t,n){return await np(t,e,n)}async function nf(e,t){return await ng(t,e)}if(!window.__localStoragePatched){let e=localStorage.setItem;localStorage.setItem=function(t,n){e.apply(this,[t,n]),window.dispatchEvent(new CustomEvent("localStorageSetItem",{detail:{key:t,value:n}}))},window.__localStoragePatched=!0}t.ClientStoreService=tO,t.ClientStoreService_KEYS=tP,t.DeviceCommunicator=tx,t.GLOBAL_CONSTANT=tK,t.GlobalStorageKeys={counter:"counter",CURRENT_THEME:"CURRENT_THEME"},t.GoogleAnalyticEvents={CreateNewFolio:{InitiateJourney:e=>({event:"new_folio_journey_initiated",flow_name:e.flow_name,user_type:e.user_type,page_section:e.page_section,page_sub_section:e.page_sub_section,journey_name:e.journey_name}),ApplicantDetailStepSuccess:e=>({event:"applicant_detail_step_success",flow_name:e.flow_name,user_type:e.user_type,page_section:e.page_section,page_sub_section:e.page_sub_section,cta_name:e.cta_name,journey_name:e.journey_name}),CTAClick:e=>({event:"cta_click",flow_name:e.flow_name,user_type:e.user_type,page_section:e.page_section,page_sub_section:e.page_sub_section,cta_name:e.cta_name,category:e.category,journey_name:e.journey_name}),NomineeDetailSubmitted:e=>({event:"nominee_detail_submitted",flow_name:e.flow_name,user_type:e.user_type,page_section:e.page_section,page_sub_section:e.page_sub_section,cta_name:e.cta_name,nominee_type:e.nominee_type}),AcceptCheckBox:e=>({event:"new_folio_accept_checkbox",flow_name:"create_new_folio",user_type:e}),FolioBackClick:e=>({event:"new_folio_back",flow_name:"create_new_folio",user_type:e}),AddAnApplicant:(e,t)=>({event:"new_folio_add_applicant",flow_name:"create_new_folio",user_type:t,applicant_count:e}),ApplicantNextClick:(e,t)=>({event:"new_folio_applicant_added",flow_name:"create_new_folio",user_type:t,applicant_count:e}),AddNomineeClick:e=>({event:"new_folio_add_nominee",flow_name:"create_new_folio",user_type:e}),AddNewNomineeClick:e=>({event:"new_folio_add_nominee_new",flow_name:"create_new_folio",user_type:e}),DontWishNomineeClick:e=>({event:"new_folio_reject_nominee",flow_name:"create_new_folio",user_type:e}),ProceedRejectNomineeClick:e=>({event:"new_folio_reject_nominee_proceed",flow_name:"create_new_folio",user_type:e}),ContinueAddNomineeClick:e=>({event:"new_folio_add_nominee_continue",flow_name:"create_new_folio",user_type:e}),AddNomineeNextClick:e=>({event:"new_folio_add_nominee_success",flow_name:"create_new_folio",user_type:e,new_nominee_count:8,total_nominees:7}),AddNomineeBackClick:e=>({event:"new_folio_add_nominee_back",flow_name:"create_new_folio",user_type:e}),TwoFAOtpSubmitSuccess:e=>({event:"new_folio_otp_submit_success",flow_name:"create_new_folio",user_type:e}),TwoFAOtpSubmitFailure:(e,t)=>({event:"new_folio_otp_submit_fail",flow_name:"create_new_folio",user_type:t,error_message:e}),SearchIFSCClick:e=>({event:"new_folio_search_ifsc",flow_name:"create_new_folio",user_type:e}),AddBankClick:(e,t,n,a)=>({event:"new_folio_add_bank",flow_name:"create_new_folio",user_type:a,bank_name:e,account_type:t,region:n}),AddDematClick:e=>({event:"new_folio_add_demat",flow_name:"create_new_folio",user_type:e}),AddDematSuccess:e=>({event:"new_folio_add_demat_success",flow_name:"create_new_folio",user_type:e}),AddDematFailure:e=>({event:"new_folio_add_demat_failed",flow_name:"create_new_folio",user_type:e,error_message:""}),AddBankAcceptTnc:e=>({event:"new_folio_add_bank_accept_tnc",flow_name:"create_new_folio",user_type:e}),NewFolioSuccess:e=>({event:"new_folio_success",flow_name:e.flow_name,user_type:e.user_type,page_section:e.page_section,page_sub_section:e.page_sub_section,cta_name:e.cta_name,nominee_type:e.nominee_type,journey_name:e.journey_name}),NewFolioFailure:e=>({event:"new_folio_failed",flow_name:"create_new_folio",user_type:e,error_message:""})},QuickPay:{QuickPayBackClick:e=>({event:"instant_pay_exit",flow_name:"quick_pay",user_type:e,method:"back"}),QuickPayHomeClick:e=>({event:"instant_pay_exit",flow_name:"quick_pay",user_type:e,method:"homepage"}),QuickPayPurchaseSuccessful:(e,t)=>
1{let n={event:e.event,flow_name:e.flow_name,user_type:e.user_type,scheme_name:e.scheme_name,investment_type:e.investment_type,frequency:e.frequency,first_installment:e.first_installment,investment_mode:e.investment_mode,plan_option:e.plan_option,expiry_date:e.expiry_date,payment_method:e.payment_method,payment_postion:e.payment_postion,folio_position:e.folio_position,scheme_count:e.scheme_count,folio_share:e.folio_share,ecommerce:t,page_section:e.page_section};switch(n.payment_method){case"netbanking":n={...n,netbanking_position:e.netbanking_position};break;case"mandatory":n={...n,mandate_position:e.mandate_position,new_mandate_bankname:e.new_mandate_bankname,new_mandate_limit:e.new_mandate_limit,new_mandate_expiry:e.new_mandate_expiry};break;default:n={...n,autopay_position:e.autopay_position,new_autopay_bankname:e.new_autopay_bankname,new_autopay_limit:e.new_autopay_limit,new_autopay_expiry:e.new_autopay_expiry}}return n},QuickPayJourney:(e,t,n,a,o,i)=>({event:"quick pay journey intitated",journey_name:"instant pay",flow_name:i,user_type:t,scheme_name:n,scheme_category:a,plan_option:o,ecommerce:e}),OcpJourneyInitiated:e=>({event:"ocp_journey_initiated",journey_name:"ocp journey",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"instant pay",scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category}),AddPaymentInfo:e=>{var t,n,a,o,i,c,s,r,_,l,u,m,d,p,g,v,y,f,h,w,b,S,k,C,A,E,I,T,L,D,P,N,O,M,R,B,U,j,x,F,H,K,G,Y,V,J;return{event:"add_payment_info",flow_name:e.flow_name,journey_name:"ocp journey",page_section:e.page_section,page_sub_section:"instant pay",ecommerce:{currency:"inr",value:null===(t=e.ecommerce)||void 0===t?void 0:t.value,coupon:null===(n=e.ecommerce)||void 0===n?void 0:n.coupon,payment_type:null===(a=e.ecommerce)||void 0===a?void 0:a.payment_type,items:[{item_id:null!==(G=null===(c=e.ecommerce)||void 0===c?void 0:null===(i=c.items)||void 0===i?void 0:null===(o=i[0])||void 0===o?void 0:o.item_id)&&void 0!==G?G:"",item_name:null!==(Y=null===(_=e.ecommerce)||void 0===_?void 0:null===(r=_.items)||void 0===r?void 0:null===(s=r[0])||void 0===s?void 0:s.item_name)&&void 0!==Y?Y:"",affiliation:"axis mutual fund",coupon:null!==(V=null===(m=e.ecommerce)||void 0===m?void 0:null===(u=m.items)||void 0===u?void 0:null===(l=u[0])||void 0===l?void 0:l.coupon)&&void 0!==V?V:"",discount:null!==(J=null===(g=e.ecommerce)||void 0===g?void 0:null===(p=g.items)||void 0===p?void 0:null===(d=p[0])||void 0===d?void 0:d.discount)&&void 0!==J?J:0,index:0,item_brand:"axismf",item_category:null===(f=e.ecommerce)||void 0===f?void 0:null===(y=f.items)||void 0===y?void 0:null===(v=y[0])||void 0===v?void 0:v.item_category,item_category2:null===(b=e.ecommerce)||void 0===b?void 0:null===(w=b.items)||void 0===w?void 0:null===(h=w[0])||void 0===h?void 0:h.item_category2,item_category3:null===(C=e.ecommerce)||void 0===C?void 0:null===(k=C.items)||void 0===k?void 0:null===(S=k[0])||void 0===S?void 0:S.item_category3,item_category4:null===(I=e.ecommerce)||void 0===I?void 0:null===(E=I.items)||void 0===E?void 0:null===(A=E[0])||void 0===A?void 0:A.item_category4,item_category5:null===(D=e.ecommerce)||void 0===D?void 0:null===(L=D.items)||void 0===L?void 0:null===(T=L[0])||void 0===T?void 0:T.item_category5,item_category6:null===(O=e.ecommerce)||void 0===O?void 0:null===(N=O.items)||void 0===N?void 0:null===(P=N[0])||void 0===P?void 0:P.item_category6,item_list_id:null===(B=e.ecommerce)||void 0===B?void 0:null===(R=B.items)||void 0===R?void 0:null===(M=R[0])||void 0===M?void 0:M.item_list_id,item_list_name:"na",item_variant:"na",location_id:null===(x=e.ecommerce)||void 0===x?void 0:null===(j=x.items)||void 0===j?void 0:null===(U=j[0])||void 0===U?void 0:U.location_id,price:null===(K=e.ecommerce)||void 0===K?void 0:null===(H=K.items)||void 0===H?void 0:null===(F=H[0])||void 0===F?void 0:F.price,quantity:1}]}}},OtpSubmitSuccess:e=>({event:"otp_submit_success",journey_name:"ocp journey",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"instant pay",scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category}),OtpSubmitFailed:e=>({event:"otp_submit_failed",journey_name:"ocp journey",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"instant pay",scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category}),purchase:e=>({event:"purchase",journey_name:"ocp journey",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"instant pay",ecommerce:e.ecommerce}),CtaClick:e=>({event:"cta_click",journey_name:"ocp journey",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"instant pay",cta_name:"complete sip payment with mandate"}),RegisterSipClick:e=>({event:"register_sip_click",journey_name:"ocp journey",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"instant pay",cta_name:"register sip"}),OtpSubmit:e=>({event:"otp_submit",journey_name:"ocp journey",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"instant pay",cta_name:"verify otp"}),RegisteredSuccessfully:e=>({event:"registered_successfully",journey_name:"ocp journey",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"instant pay",ecommerce:e.ecommerce,payment_method:e.payment_method})},Switch:{SwitchBegin:e=>({event:"transact_exit",flow_name:"switch",user_type:e}),SwitchProceedClick:(e,t,n,a)=>({event:"transact_proceed",flow_name:"switch",user_type:a,from:t,to:n,amount:e}),SwitchProceedSuccess:(e,t,n,a)=>({event:"transact_success",flow_name:"switch",user_type:a,from:t,to:n,amount:e}),ProceedToSwitchClick:e=>({event:"proceed_to_switch_click",flow_name:"switch",cta_name:"proceed to switch",user_type:e.user_type,category_1:e.category_1,c
1ategory_2:e.category_2,category_3:e.category_3,value:e.value,day_parting:e.day_parting,from_scheme:e.from_scheme,to_scheme:e.to_scheme,current_value:e.current_value,page_section:e.page_section,page_sub_section:"select scheme to switch",initial_click_source:e.initial_click_source,invested_amount:e.invested_amount,investment_since:e.investment_since}),CtaClick:e=>({event:"cta_click",flow_name:"switch",cta_name:e.cta_name,page_section:e.page_section,page_sub_section:"conform switch order",initial_click_source:e.initial_click_source}),ConfirmSwitchClick:e=>({event:"confirm_switch_click",flow_name:"switch",cta_name:"yes confirm switch",user_type:e.user_type,category:"confirm switch order",category_1:e.category_1,category_2:e.category_2,category_3:e.category_3,value:e.value,day_parting:e.day_parting,from_scheme:e.from_scheme,to_scheme:e.to_scheme,current_value:e.current_value,page_section:e.page_section,page_sub_section:"select scheme to switch",initial_click_source:e.initial_click_source,invested_amount:e.invested_amount,investment_since:e.investment_since}),OtpSubmitSuccess:e=>({event:"otp_submit_success",flow_name:"switch",cta_name:"verify otp",page_section:e.page_section,initial_click_source:e.initial_click_source}),OtpSubmitFailed:e=>({event:"otp_submit_failed",flow_name:"switch",cta_name:"verify otp",page_section:e.page_section,initial_click_source:e.initial_click_source}),SwitchSuccessfully:e=>({event:"switch_successfully",flow_name:"switch",cta_name:"proceed to switch",user_type:e.user_type,category:"confirm switch order",category_1:e.category_1,c
1ategory_2:e.category_2,category_3:e.category_3,value:e.value,day_parting:e.day_parting,from_scheme:e.from_scheme,to_scheme:e.to_scheme,current_value:e.current_value,page_section:e.page_section,page_sub_section:"select scheme to switch",initial_click_source:e.initial_click_source,invested_amount:e.invested_amount,investment_since:e.investment_since})},Stp:{StpBegin:e=>({event:"transact_exit",flow_name:"switch",user_type:e}),StpBackClick:(e,t,n,a)=>({event:"transact_exit",flow_name:"Stp",user_type:a,from:t,to:n,amount:e}),StpProceedClick:(e,t,n,a)=>({event:"transact_proceed",flow_name:"Stp",user_type:a,from:t,to:n,amount:e}),StpProceedSuccess:(e,t,n)=>({event:"transact_success",flow_name:"Stp",user_type:"",from:t,to:n,amount:e}),ProceedToStpClick:e=>({event:"proceed_to_stp_click",flow_name:"stp",cta_name:"proceed to stp",page_sub_section:"select scheme to stp",page_section:e.page_section,initial_click_source:e.initial_click_source,from_scheme:e.from_scheme,to_scheme:e.to_scheme,value:e.value,day_parting:e.day_parting}),CtaClick:e=>({event:"cta_click",flow_name:"stp",cta_name:e.cta_name,page_section:e.page_section,page_sub_section:"confirm stp order",initial_click_source:e.initial_click_source}),ConfirmStpClick:e=>({event:"confirm_stp_click",flow_name:"stp",cta_name:"yes confirm stp",category:"confirm stp order",page_section:e.page_section,page_sub_section:"select scheme to stp",initial_click_source:e.initial_click_source,from_scheme:e.from_scheme,to_scheme:e.to_scheme,value:e.value,day_parting:e.day_parting}),OtpSubmitSuccess:e=>({event:"otp_submit_success",flow_name:"stp",cta_name:e.cta_name,page_section:e.page_section,page_sub_section:"confirm stp order",initial_click_source:e.initial_click_source}),OtpSubmitFailed:e=>({event:"otp_submit_failed",flow_name:"stp",cta_name:e.cta_name,page_section:e.page_section,page_sub_section:"confirm stp order",initial_click_source:e.initial_click_source}),StpSuccessfully:e=>({event:"stp_successfully",flow_name:"stp",cta_name:"verify otp",category:"confirm stp order",page_section:e.page_section,page_sub_section:"select scheme to stp",initial_click_source:e.initial_click_source,from_scheme:e.from_scheme,to_scheme:e.to_scheme,value:e.value,day_parting:e.day_parting})},Swp:{SwpBegin:e=>({event:"transact_exit",flow_name:"switch",user_type:e.user_type}),SwpBackClick:(e,t,n,a)=>({event:"transact_exit",flow_name:"Swp",user_type:a,from:t,to:n,amount:e}),SwpProceedClick:(e,t,n,a)=>({event:"transact_proceed",flow_name:"Swp",user_type:a,from:t,to:n,amount:e}),SwpProceedSuccess:(e,t,n,a)=>({event:"transact_success",flow_name:"Swp",user_type:a,from:t,to:n,amount:e}),ProceedToSwpClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"proceed_to_swp_click",flow_name:"swp",cta_name:"proceed to withdraw",page_sub_section:"select scheme to swp",page_section:t.page_section,initial_click_source:t.initial_click_source,from_scheme:t.from_scheme,value:parseInt(t.value),installment:parseInt(t.installment),day_parting:t.day_parting}},Ctaclick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"cta_click",flow_name:"swp",page_sub_section:"confirm swp order",cta_name:t.cta_name,page_section:t.page_section,initial_click_source:t.initial_click_source}},ConfirmSwpClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"confirm_swp_click",flow_name:"swp",cta_name:"yes confirm swp",page_sub_section:"select scheme to swp",page_section:t.page_section,initial_click_source:t.initial_click_source,from_scheme:t.from_scheme,value:parseInt(t.value),installment:parseInt(t.installment),day_parting:t.day_parting,category:"confirm swp order"}},OtpSubmitSuccess:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"otp_submit_success",flow_name:"swp",cta_name:"verify otp",page_section:t.page_section,initial_click_source:t.initial_click_source}},OtpSubmitFailed:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"otp_submit_failed",flow_name:"swp",cta_name:"verify otp",page_section:t.page_section,initial_click_source:t.initial_click_source}},SwpSuccessfully:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"swp_successfully",flow_name:"swp",page_sub_section:"select scheme to swp",page_section:t.page_section,initial_click_source:t.initial_click_source,from_scheme:t.from_scheme,value:parseInt(t.value),installment:parseInt(t.installment),day_parting:t.day_parting,category:"confirm swp order"}}},Redemption:{RedemptionNextClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"cta_click",flow_name:"redeem",user_type:t.user_type,cta_name:t.cta_name,page_section:t.page_section,page_sub_section:"select scheme to redeem",initial_click_source:"proceed to redeem",tab_name:t.tab_name}},RedemptionConfirmPopup:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"cta_click",flow_name:"redeem",user_type:t.user_type,cta_name:t.cta_name,page_section:t.page_section,page_sub_section:"select scheme to redeem",category:"why do you want to redeem",label:t.label,initial_click_source:"select scheme to redeem"}},RedemptionOtpSuccess:e=>{var t;let n=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"otp_submit_success",flow_name:"redeem",user_type:null!==(t=null==n?void 0:n.user_type)&&void 0!==t?t:"",cta_name:"verify otp",page_section:n.page_section,initial_click_source:"verify otp"}},RedemptionOtpFailure:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"otp_submit_failed",flow_name:"redeem",user_type:t.user_type,cta_name:"verify otp",page_section:t.page_section,initial_click_source:"continue"}},RedemptionDone:e=>({event:"cta_click",flow_name:"redeem",user_type:(null==nu?void 0:nu.toLowerCaseStrings(e)).user_t
1ype,cta_name:"done",page_section:"/redemption",initial_click_source:"done",category:"redeem success"}),RedemptionConfirmRedeemClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"confirm_redeem_click",flow_name:"redeem",user_type:t.user_type,cta_name:"yes confirm redeem",page_section:t.page_section,page_sub_section:"select scheme to redeem",initial_click_source:"yes confirm redeem",scheme_name:t.scheme_name,scheme_category:t.scheme_category,investment_type:"sip",scheme_sub_category:t.scheme_sub_category,plan_option:t.plan_option,current_value:t.current_value,invested_amount:t.invested_amount,investment_since:t.investment_since,category_1:t.category_1,category_2:t.category_2,value:t.value,category_3:t.category_3,date_difference:t.date_difference,day_parting:t.day_parting,category:"confirm redeem order"}},RedemptionSuccess:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"redeem_successfully",flow_name:"redeem",user_type:t.user_type,page_section:null==t?void 0:t.page_section,initial_click_source:t.initial_click_source,scheme_name:t.scheme_name,scheme_category:t.scheme_category,investment_type:t.investment_type,scheme_sub_category:t.scheme_sub_category,plan_option:t.plan_option,current_value:t.current_value,invested_amount:t.invested_amount,investment_since:t.investment_since,category_1:t.category_1,c
1ategory_2:t.category_2,value:t.value,category_3:t.category_3,date_difference:t.date_difference,day_parting:t.day_parting,transaction_id:null==t?void 0:t.transaction_id,item_id:null==t?void 0:t.item_id}},RedemptionProceedToRedeem:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"proceed_button_click",flow_name:"redeem",user_type:t.user_type,cta_name:"proceed to redeem",page_section:"/redemption",page_sub_section:"select scheme to redeem",initial_click_source:"proceed to redeem",scheme_name:t.scheme_name,scheme_category:t.scheme_category,investment_type:"sip",scheme_sub_category:t.scheme_sub_category,plan_option:t.plan_option,current_value:t.current_value,invested_amount:t.invested_amount,investment_since:t.investment_since,category_1:t.category_1,category_2:t.category_2,value:t.value,category_3:t.category_3,date_difference:t.date_difference,day_parting:t.day_parting}},RedemptionCancelRedeem:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"cancel_redemption_click",flow_name:"redeem",user_type:t.user_type,cta_name:t.cta_name,page_section:t.page_section,page_sub_section:t.page_sub_section,tab_name:t.tab_name,initial_click_source:t.initial_click_source,scheme_name:t.scheme_name,scheme_category:t.scheme_category,investment_type:t.investment_type,scheme_sub_category:t.scheme_sub_category,plan_option:t.plan_option,current_value:t.current_value,invested_amount:t.invested_amount,investment_since:t.investment_since,category_1:t.category_1,c
1ategory_2:t.category_2,value:t.value,category_3:t.category_3,date_difference:t.date_difference,day_parting:t.day_parting}},RedemptionDecideProceed:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"cta_click",flow_name:"redeem",user_type:t.user_type,cta_name:t.cta_name,page_section:t.page_section,page_sub_section:t.page_sub_section,initial_click_source:t.initial_click_source,scheme_name:t.scheme_name,scheme_category:t.scheme_category,investment_type:t.investment_type,scheme_sub_category:t.scheme_sub_category,plan_option:t.plan_option,current_value:t.current_value,invested_amount:t.invested_amount,investment_since:t.investment_since,category_1:t.category_1,category_2:t.category_2,value:t.value,category_3:t.category_3,date_difference:t.date_difference,day_parting:t.day_parting,tab_name:t.tab_name}}},InstaRedeem:{TransactOptionSelected:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"transact_option_selected",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section,journey_name:t.flow_name,page_sub_section:t.page_sub_section}},InstaRedeemOtpSuccess:e=>({event:"otp_submit_success",flow_name:"redeem",user_type:(null==nu?void 0:nu.toLowerCaseStrings(e)).user_type,cta_name:"verify otp",page_section:"/instaredeem",initial_click_source:"verify otp"}),InstaRedeemOtpFailure:e=>({event:"otp_submit_failed",flow_name:"redeem",user_type:(null==nu?void 0:nu.toLowerCaseStrings(e)).user_type,cta_name:"continue",page_section:"/instaredeem",initial_click_source:"continue"}),InstaRedeemDone:e=>({event:"cta_click",flow_name:"redeem",user_type:(null==nu?void 0:nu.toLowerCaseStrings(e)).user_type,cta_name:"done",page_section:"/instaredeem",initial_click_source:"done",category:"redeem success"}),InstaRedeemConfirmRedeemClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"confirm_redeem_click",flow_name:"redeem",user_type:t.user_type,cta_name:"yes confirm redeem",page_section:"/instaredeem",page_sub_section:"select scheme to redeem",initial_click_source:"yes confirm redeem",scheme_name:t.scheme_name,scheme_category:t.scheme_category,investment_type:"sip",scheme_sub_category:t.scheme_sub_category,plan_option:t.plan_option,current_value:t.current_value,invested_amount:t.invested_amount,investment_since:t.investment_since,category_1:t.category_1,c
1ategory_2:t.category_2,value:parseInt(t.value),category_3:t.category_3,date_difference:t.date_difference,day_parting:t.day_parting,category:"confirm redeem order"}},InstaRedeemSuccess:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"insta_redeem_successfully",flow_name:"redeem",user_type:t.user_type,page_section:"/instaredeem",initial_click_source:t.initial_click_source,scheme_name:t.scheme_name,scheme_category:t.scheme_category,investment_type:t.investment_type,scheme_sub_category:t.scheme_sub_category,plan_option:t.plan_option,current_value:t.current_value,invested_amount:t.invested_amount,investment_since:t.investment_since,category_1:t.category_1,category_2:t.category_2,value:parseInt(t.value),category_3:t.category_3,date_difference:t.date_difference,day_parting:t.day_parting}},InstaRedeemProceedToRedeem:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"proceed_button_click",flow_name:"insta redeem",user_type:t.user_type,cta_name:"proceed to redeem",page_section:"/instaredeem",page_sub_section:"select scheme to redeem",initial_click_source:"proceed to redeem",scheme_name:t.scheme_name,scheme_category:t.scheme_category,investment_type:"sip",scheme_sub_category:t.scheme_sub_category,plan_option:t.plan_option,current_value:t.current_value,invested_amount:t.invested_amount,investment_since:t.investment_since,category_1:t.category_1,c
1ategory_2:t.category_2,value:parseInt(t.value),category_3:t.category_3,date_difference:t.date_difference,day_parting:t.day_parting}}},CompareFunds:{AddFundClick:e=>{var t;return{event:"cta_click",flow_name:e.flow_name,user_type:e.user_type,cta_name:"add funds",page_section:null!==(t=e.page_section)&&void 0!==t?t:"",page_sub_section:"compare mutual funds"}},CompareFundClick:e=>{var t,n,a,o;return{event:"compare_click",flow_name:e.flow_name,user_type:e.user_type,cta_name:"compare",category_1:null!==(t=e.category_1)&&void 0!==t?t:"NA",category_2:null!==(n=e.category_2)&&void 0!==n?n:"NA",page_section:null!==(a=e.page_section)&&void 0!==a?a:"NA",page_sub_section:null!==(o=e.page_sub_section)&&void 0!==o?o:"NA"}},ContinueClick:e=>{var t,n,a,o,i;return{event:"continue_click",cta_name:"continue",flow_name:e.flow_name,user_type:e.user_type,category:"compare funds",scheme_name:null!==(t=e.scheme_name)&&void 0!==t?t:"",scheme_category:null!==(n=e.scheme_category)&&void 0!==n?n:"",scheme_sub_category:null!==(a=e.scheme_sub_category)&&void 0!==a?a:"",plan_option:null!==(o=e.plan_option)&&void 0!==o?o:"",page_section:null!==(i=e.page_section)&&void 0!==i?i:"",page_sub_section:"select schemes"}},SchemeClick:e=>({event:"scheme_cta_click",cta_name:e.cta_name,flow_name:e.flow_name,user_type:e.user_type,scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,page_section:e.page_section,page_sub_section:"similar funds",returns:e.returns,plan_option:e.plan_option})},InvestmentPack:{InvestmentPackCardClick:e=>({event:"investment_pack_card_click",cta_name:e.cta_name,flow_name:e.flow_name,pack_name:"investment",position:e.position,page_section:e.page_section,page_sub_section:"investment packs",user_type:e.user_type}),AddToCart:e=>{var t,n,a,o,i,c,s,r,_,l,u,m,d,p,g,v,y,f,h,w,b,S,k,C,A,E,I,T,L,D,P,N,O,M,R,B,U,j,x,F;return{event:"add_to_cart",flow_name:e.flow_name,journey_name:e.journey_name,ecommerce:{currency:null===(t=e.ecommerce)||void 0===t?void 0:t.currency,value:0,items:[{item_id:null!==(j=null===(o=e.ecommerce)||void 0===o?void 0:null===(a=o.items)||void 0===a?void 0:null===(n=a[0])||void 0===n?void 0:n.item_id)&&void 0!==j?j:"",item_name:null!==(x=null===(s=e.ecommerce)||void 0===s?void 0:null===(c=s.items)||void 0===c?void 0:null===(i=c[0])||void 0===i?void 0:i.item_name)&&void 0!==x?x:"",affiliation:"Axis Mutual Fund",coupon:null!==(F=null===(l=e.ecommerce)||void 0===l?void 0:null===(_=l.items)||void 0===_?void 0:null===(r=_[0])||void 0===r?void 0:r.coupon)&&void 0!==F?F:"NA",discount:null,index:0,item_brand:"AxisMF",item_category:null===(d=e.ecommerce)||void 0===d?void 0:null===(m=d.items)||void 0===m?void 0:null===(u=m[0])||void 0===u?void 0:u.item_category,item_category2:null===(v=e.ecommerce)||void 0===v?void 0:null===(g=v.items)||void 0===g?void 0:null===(p=g[0])||void 0===p?void 0:p.item_category2,item_category3:null===(h=e.ecommerce)||void 0===h?void 0:null===(f=h.items)||void 0===f?void 0:null===(y=f[0])||void 0===y?void 0:y.item_category3,item_category4:null===(S=e.ecommerce)||void 0===S?void 0:null===(b=S.items)||void 0===b?void 0:null===(w=b[0])||void 0===w?void 0:w.item_category4,item_category5:null===(A=e.ecommerce)||void 0===A?void 0:null===(C=A.items)||void 0===C?void 0:null===(k=C[0])||void 0===k?void 0:k.item_category5,item_category6:null===(T=e.ecommerce)||void 0===T?void 0:null===(I=T.items)||void 0===I?void 0:null===(E=I[0])||void 0===E?void 0:E.item_category6,item_list_id:null===(P=e.ecommerce)||void 0===P?void 0:null===(D=P.items)||void 0===D?void 0:null===(L=D[0])||void 0===L?void 0:L.item_list_id,item_list_name:"investment packs",item_variant:null===(M=e.ecommerce)||void 0===M?void 0:null===(O=M.items)||void 0===O?void 0:null===(N=O[0])||void 0===N?void 0:N.item_variant,location_id:null===(U=e.ecommerce)||void 0===U?void 0:null===(B=U.items)||void 0===B?void 0:null===(R=B[0])||void 0===R?void 0:R.location_id,price:0,quantity:1}]}}},InvestmentNow:e=>({event:"investment_pack_cta_click",cta_name:"invest now",flow_name:e.flow_name,pack_name:e.pack_name,page_section:e.page_section,user_type:e.user_type})},NfoSmartSwitch:{NfoCardClick:e=>({event:"nfo_card_click",cta_name:e.cta_name,flow_name:"nfo_smartswitch",scheme_name:e.scheme_name,scheme_category:e.scheme_category,position:e.position,page_section:e.pathName,page_sub_section:e.page_sub_section,label:e.label,user_type:""}),NfoCtaClick:e=>({event:"nfo_cta_click",cta_name:e.cta_name,flow_name:"nfo_smartswitch",scheme_name:e.scheme_name,scheme_category:e.scheme_category,position:e.position,page_section:e.pathName,page_sub_section:e.page_sub_section,label:e.label,user_type:e.user_type})},SchemeList:{SchemeCtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"scheme_cta_click",cta_name:t.cta_name,flow_name:t.flow_name,scheme_name:t.scheme_name,scheme_category:t.scheme_category,scheme_sub_category:t.scheme_sub_category,plan_option:t.plan_option,label:t.label,page_section:t.page_section,page_sub_section:t.page_sub_section,returns:t.percent_returns}},SearchClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"search_click",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section}},CtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"cta_click",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section}},ArticleClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"article_click",article_name:t.article_name,flow_name:t.flow_name,page_section:t.page_section,page_sub_section:t.page_sub_section}}},SchemeDetails:{BannerClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"banner_click",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section,page_sub_section:t.page_sub_section}},LeadFormSubmit:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"lead_form_submit",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section}},CalculatorInteraction:e=>{var t;let n=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"calculator_interaction",cta_name:n.cta_name,flow_name:n.flow_name,page_section:n.page_section,action:n.action,page_sub_section:null!==(t=null==n?void 0:n.page_sub_section)&&void 0!==t?t:""}},CtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"cta_click",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section,page_sub_section:t.page_sub_section,action:t.action,category:t.category}},ChooseGoalClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"choose_goal_click",flow_name:t.flow_name,category:"goal_planning",page_section:t.page_section,action:t.action}},SchemeCtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"scheme_cta_click",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section,page_sub_section:t.page_sub_section,action:t.action,category:t.category,returns:t.returns,scheme_name:t.scheme_name,scheme_category:t.scheme_category,scheme_sub_category:t.scheme_sub_category,plan_option:t.plan_option}},ArticleClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"article_click",flow_name:t.flow_name,page_section:t.page_section,page_sub_section:t.page_sub_section,article_name:t.article_name}},MediaInteraction:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"media_interaction",flow_name:t.flow_name,page_section:t.page_section,page_sub_section:t.page_sub_section,cta_name:t.cta_name,action:t.action}},FaqInteraction:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"faq_interaction",flow_name:t.flow_name,page_section:t.page_section,page_sub_section:t.page_sub_section,cta_name:t.cta_name}},SipCalculatorInteraction:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"_sip_calculator_interaction",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section,page_sub_section:t.page_sub_section,action:t.action}},StartSipCtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"start_sip_cta_click",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section,page_sub_section:t.page_sub_section,returns:t.returns,date_difference:t.date_difference}},AddtoCartInvestNowCtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section,page_sub_section:t.page_sub_section,scheme_name:t.scheme_name,scheme_category:t.scheme_category,investment_type:t.investment_type,scheme_sub_category:t.scheme_sub_category,returns:t.returns,invested_amount:t.invested_amount,pathName:t.pathName,frequency:t.frequency}}},FundManagers:{ProfileClick:e=>({event:"profile_click",cta_name:e.cta_name,flow_name:e.flow_name,label:e.label,page_section:e.page_section,page_sub_section:e.page_sub_section,returns:e.returns,user_type:e.user_type}),CtaClick:e=>({event:"cta_click",cta_name:e.cta_name,flow_name:e.flow_name,label:e.label,page_section:e.page_section,page_sub_section:e.page_sub_section,returns:e.returns,user_type:e.user_type}),SchemeCtaClick:e=>({event:"scheme_cta_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,user_t
1ype:e.user_type})},CancelRedemption:{TransactOptionSelected:e=>({event:"transact_option_selected",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"invest"}),ProceedButtonClick:e=>({event:"proceed_button_click",flow_name:"cancel_redemption",cta_name:"procced_to_cancel",page_section:e.page_section,page_sub_section:"cancel_redemption",initial_click_source:"invest",scheme_name:e.scheme_name,scheme_category:e.scheme_category,investment_type:e.investment_type,scheme_sub_category:e.scheme_sub_category,plan_option:e.plan_option,current_value:e.current_value,invested_amount:e.invested_amount,date_difference:e.date_difference,day_parting:e.day_parting}),CancelRedeemClick:e=>({event:"cancel_redeem_click",flow_name:"cancel_redemption",cta_name:"procced_to_cancel",page_section:e.page_section,page_sub_section:"cancel_redemption",initial_click_source:"invest",scheme_name:e.scheme_name,scheme_category:e.scheme_category,investment_type:e.investment_type,scheme_sub_category:e.scheme_sub_category,plan_option:e.plan_option,current_value:e.current_value,invested_amount:e.invested_amount,date_difference:e.date_difference,day_parting:e.day_parting}),CancelRedeemSuccessfully:e=>({event:"cancel_redeem_successfully",flow_name:"cancel_redemption",cta_name:"procced_to_cancel",page_section:e.page_section,page_sub_section:"cancel_redemption",initial_click_source:"invest",scheme_name:e.scheme_name,scheme_category:e.scheme_category,investment_type:e.investment_type,scheme_sub_category:e.scheme_sub_category,plan_option:e.plan_option,current_value:e.current_value,invested_amount:e.invested_amount,investment_since:e.investment_since,category_1:e.category_1,c
1ategory_2:e.category_2,value:e.value,category_3:e.category_3,date_difference:e.date_difference,day_parting:e.day_parting})},KnowledgeCentre:{ArticleClick:e=>{var t;let n=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"article_click",flow_name:n.flow_name,page_section:n.page_section,page_sub_section:null!==(t=n.page_sub_section)&&void 0!==t?t:"money_iq",article_name:n.article_name,category:n.category,user_type:n.user_type}},CtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"cta_click",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section,page_sub_section:t.page_sub_section,category:t.category,user_type:t.user_type}},SchemeCtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"scheme_cta_click",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section,page_sub_section:t.page_sub_section,scheme_name:t.scheme_name,scheme_category:t.scheme_category,scheme_sub_category:t.scheme_sub_category,plan_option:t.plan_option,returns:t.returns,user_type:t.user_type}},CalculatorSelected:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"calculator_selected",flow_name:t.flow_name,page_section:t.page_section,page_sub_section:"calculators",user_type:t.user_type}}},Profile:{CtaClick:e=>({event:"cta_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),ProfileOptionClicked:e=>({event:"profile_option_clicked",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,user_type:e.user_type})},ContactUs:{CtaClick:e=>{var t;return{event:null!==(t=null==e?void 0:e.event)&&void 0!==t?t:"cta_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}},SocialIconClick:e=>{var t;return{event:"social_icon_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:null!==(t=null==e?void 0:e.page_sub_section)&&void 0!==t?t:"social media",user_type:e.user_type}}},AboutUs:{CtaClick:e=>({event:"cta_click",cta_name:"explore funds",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),FileClick:e=>({event:"file_click",cta_name:e.cta_name,action:e.action,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"financials",category:e.category,label:e.label,user_type:e.user_type})},SystematicPlan:{CtaClick:e=>({event:"cta_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type,category:e.category}),CalculatorCtaClick:e=>({event:"calculator_cta_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"calculator",user_type:e.user_type,category:e.category,category_1:e.category_1,c
1ategory_2:e.category_2,category_3:e.category_3}),CompareClick:e=>({event:"compare_click",cta_name:"compare",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"compare_mutual_funds",user_type:e.user_type,category:e.category,category_1:e.category_1,category_2:e.category_2}),SchemeCtaClick:e=>({event:"scheme_cta_click",cta_name:"invest_now",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"compare_mutual_funds",scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,category:e.category,user_type:e.user_type}),SystematicPalnCtaClick:e=>({event:"cta_click",cta_name:"view_fund_details",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"sip_for_you",user_type:e.user_type,category:e.category,category1:e.category1,label:e.label})},Faq:{FaqClick:e=>({event:"faq_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type})},CustomerTicketing:{CtaClick:e=>({event:"cta_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),QuerySubmitted:e=>({event:"query_submitted",cta_name:"submit",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"my_queries",category1:e.category1,category2:e.category2,user_type:e.user_type})},AddtoCart:{SchemeCtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"scheme_cta_click",cta_name:t.cta_name,flow_name:t.flow_name,scheme_name:t.scheme_name,scheme_category:t.scheme_category,scheme_sub_category:t.scheme_sub_category,label:t.label,investment_type:t.investment_type,page_section:t.page_section,page_sub_section:t.page_sub_section,returns:t.returns}},AddtoCartSchemeCtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:t.event,cta_name:t.cta_name,flow_name:t.flow_name,scheme_name:t.scheme_name,scheme_category:t.scheme_category,scheme_sub_category:t.scheme_sub_category,investment_type:t.investment_type,page_section:t.page_section,page_sub_section:t.page_sub_section}},AddtoCart:e=>{var t,n,a,o,i,c,s,r,_,l,u,m,d,p,g,v,y,f,h,w,b,S,k,C,A,E,I,T,L,D,P,N,O,M,R,B,U,j,x,F,H,K,G,Y,V,J,q,W,z,X,Q,Z;let $=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"add_to_cart",flow_name:$.flow_name,journey_name:"investment cart flow",page_section:$.page_section,page_sub_section:"investment cart",ecommerce:{currency:"inr",value:parseInt(null===(t=$.ecommerce)||void 0===t?void 0:t.value)||0,items:[{item_id:null!==(H=null===(o=$.ecommerce)||void 0===o?void 0:null===(a=o.items)||void 0===a?void 0:null===(n=a[0])||void 0===n?void 0:n.item_id)&&void 0!==H?H:"na",item_name:null!==(K=null===(s=$.ecommerce)||void 0===s?void 0:null===(c=s.items)||void 0===c?void 0:null===(i=c[0])||void 0===i?void 0:i.item_name)&&void 0!==K?K:"na",affiliation:"axis mutual fund",coupon:null!==(G=null===(l=$.ecommerce)||void 0===l?void 0:null===(_=l.items)||void 0===_?void 0:null===(r=_[0])||void 0===r?void 0:r.coupon)&&void 0!==G?G:"na",discount:null!==(Y=null===(d=$.ecommerce)||void 0===d?void 0:null===(m=d.items)||void 0===m?void 0:null===(u=m[0])||void 0===u?void 0:u.discount)&&void 0!==Y?Y:"na",index:0,item_brand:"axismf",item_category:null!==(V=null===(v=$.ecommerce)||void 0===v?void 0:null===(g=v.items)||void 0===g?void 0:null===(p=g[0])||void 0===p?void 0:p.item_category)&&void 0!==V?V:"na",item_category2:null!==(J=null===(h=$.ecommerce)||void 0===h?void 0:null===(f=h.items)||void 0===f?void 0:null===(y=f[0])||void 0===y?void 0:y.item_category2)&&void 0!==J?J:"na",item_category3:null!==(q=null===(S=$.ecommerce)||void 0===S?void 0:null===(b=S.items)||void 0===b?void 0:null===(w=b[0])||void 0===w?void 0:w.item_category3)&&void 0!==q?q:"na",item_category4:null!==(W=null===(A=$.ecommerce)||void 0===A?void 0:null===(C=A.items)||void 0===C?void 0:null===(k=C[0])||void 0===k?void 0:k.item_category4)&&void 0!==W?W:"na",item_category5:null!==(z=null===(T=$.ecommerce)||void 0===T?void 0:null===(I=T.items)||void 0===I?void 0:null===(E=I[0])||void 0===E?void 0:E.item_category5)&&void 0!==z?z:"na",item_category6:null!==(X=null===(P=$.ecommerce)||void 0===P?void 0:null===(D=P.items)||void 0===D?void 0:null===(L=D[0])||void 0===L?void 0:L.item_category6)&&void 0!==X?X:"na",item_list_id:null!==(Q=null===(M=$.ecommerce)||void 0===M?void 0:null===(O=M.items)||void 0===O?void 0:null===(N=O[0])||void 0===N?void 0:N.item_list_id)&&void 0!==Q?Q:"na",item_list_name:"na",item_variant:"na",location_id:null!==(Z=null===(U=$.ecommerce)||void 0===U?void 0:null===(B=U.items)||void 0===B?void 0:null===(R=B[0])||void 0===R?void 0:R.location_id)&&void 0!==Z?Z:"na",price:parseInt(null===(F=$.ecommerce)||void 0===F?void 0:null===(x=F.items)||void 0===x?void 0:null===(j=x[0])||void 0===j?void 0:j.price)||0,quantity:1}]}}},CtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"cta_click",cta_name:t.cta_name,flow_name:t.flow_name,journey_name:"investment cart flow",page_section:t.page_section,page_sub_section:"investment cart"}},RemoveFromCart:e=>{var t,n,a,o,i,c,s,r,_,l,u,m,d,p,g,v,y,f,h,w,b,S,k,C,A,E,I,T,L,D,P,N,O,M,R,B,U,j,x,F,H,K,G,Y,V,J,q,W,z,X,Q,Z,$;let ee=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"remove_from_cart",flow_name:ee.flow_name,journey_name:"investment cart flow",page_section:ee.page_section,page_sub_section:"investment cart",ecommerce:{currency:null===(t=ee.ecommerce)||void 0===t?void 0:t.currency,value:parseInt(null===(n=ee.ecommerce)||void 0===n?void 0:n.value)||0,items:[{item_id:null!==(K=null===(i=ee.ecommerce)||void 0===i?void 0:null===(o=i.items)||void 0===o?void 0:null===(a=o[0])||void 0===a?void 0:a.item_id)&&void 0!==K?K:"na",item_name:null!==(G=null===(r=ee.ecommerce)||void 0===r?void 0:null===(s=r.items)||void 0===s?void 0:null===(c=s[0])||void 0===c?void 0:c.item_name)&&void 0!==G?G:"na",affiliation:"axis mutual fund",coupon:null!==(Y=null===(u=ee.ecommerce)||void 0===u?void 0:null===(l=u.items)||void 0===l?void 0:null===(_=l[0])||void 0===_?void 0:_.coupon)&&void 0!==Y?Y:"na",discount:null!==(V=null===(p=ee.ecommerce)||void 0===p?void 0:null===(d=p.items)||void 0===d?void 0:null===(m=d[0])||void 0===m?void 0:m.discount)&&void 0!==V?V:"na",index:0,item_brand:"axismf",item_category:null!==(J=null===(y=ee.ecommerce)||void 0===y?void 0:null===(v=y.items)||void 0===v?void 0:null===(g=v[0])||void 0===g?void 0:g.item_category)&&void 0!==J?J:"na",item_category2:null!==(q=null===(w=ee.ecommerce)||void 0===w?void 0:null===(h=w.items)||void 0===h?void 0:null===(f=h[0])||void 0===f?void 0:f.item_category2)&&void 0!==q?q:"na",item_category3:null!==(W=null===(k=ee.ecommerce)||void 0===k?void 0:null===(S=k.items)||void 0===S?void 0:null===(b=S[0])||void 0===b?void 0:b.item_category3)&&void 0!==W?W:"na",item_category4:null!==(z=null===(E=ee.ecommerce)||void 0===E?void 0:null===(A=E.items)||void 0===A?void 0:null===(C=A[0])||void 0===C?void 0:C.item_category4)&&void 0!==z?z:"na",item_category5:null!==(X=null===(L=ee.ecommerce)||void 0===L?void 0:null===(T=L.items)||void 0===T?void 0:null===(I=T[0])||void 0===I?void 0:I.item_category5)&&void 0!==X?X:"na",item_category6:null!==(Q=null===(N=ee.ecommerce)||void 0===N?void 0:null===(P=N.items)||void 0===P?void 0:null===(D=P[0])||void 0===D?void 0:D.item_category6)&&void 0!==Q?Q:"na",item_list_id:null!==(Z=null===(R=ee.ecommerce)||void 0===R?void 0:null===(M=R.items)||void 0===M?void 0:null===(O=M[0])||void 0===O?void 0:O.item_list_id)&&void 0!==Z?Z:"na",item_list_name:"na",item_variant:"na",location_id:null!==($=null===(j=ee.ecommerce)||void 0===j?void 0:null===(U=j.items)||void 0===U?void 0:null===(B=U[0])||void 0===B?void 0:B.location_id)&&void 0!==$?$:"na",price:parseInt(null===(H=ee.ecommerce)||void 0===H?void 0:null===(F=H.items)||void 0===F?void 0:null===(x=F[0])||void 0===x?void 0:x.price)||0,quantity:1}]}}},AddPaymentInfo:e=>{var t,n,a,o,i,c,s;let r=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"add_payment_info",flow_name:r.flow_name,journey_name:"investment cart flow",page_section:r.page_section,page_sub_section:"investment_cart",ecommerce:{currency:"inr",value:parseInt(null===(t=r.ecommerce)||void 0===t?void 0:t.value)||0,coupon:null==r?void 0:null===(n=r.ecommerce)||void 0===n?void 0:n.coupon,payment_type:null!==(c=null==r?void 0:null===(a=r.ecommerce)||void 0===a?void 0:a.payment_type)&&void 0!==c?c:"na",items:null!==(s=null===(i=r.ecommerce)||void 0===i?void 0:null===(o=i.items)||void 0===o?void 0:o.map((e,t)=>{var n,a,o,i,c,s,r,_,l,u,m,d;return{item_id:null!==(n=null==e?void 0:e.item_id)&&void 0!==n?n:"na",item_name:null!==(a=null==e?void 0:e.item_name)&&void 0!==a?a:"na",affiliation:"axis mutual fund",coupon:null!==(o=null==e?void 0:e.coupon)&&void 0!==o?o:"na",discount:null!==(i=null==e?void 0:e.discount)&&void 0!==i?i:"na",index:t,item_brand:"axismf",item_category:null!==(c=null==e?void 0:e.item_category)&&void 0!==c?c:"na",item_category2:null!==(s=null==e?void 0:e.item_category2)&&void 0!==s?s:"na",item_category3:null!==(r=null==e?void 0:e.item_category3)&&void 0!==r?r:"na",item_category4:null!==(_=null==e?void 0:e.item_category4)&&void 0!==_?_:"na",item_category5:null!==(l=null==e?void 0:e.item_category5)&&void 0!==l?l:"na",item_category6:null!==(u=null==e?void 0:e.item_category6)&&void 0!==u?u:"na",item_list_id:null!==(m=null==e?void 0:e.item_list_id)&&void 0!==m?m:"na",item_list_name:"na",item_variant:"na",location_id:null!==(d=null==e?void 0:e.location_id)&&void 0!==d?d:"na",price:parseInt(null==e?void 0:e.price)||0,quantity:1}}))&&void 0!==s?s:[]}}},VerifyOtpCtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"cta_click",cta_name:"verify otp",flow_name:t.flow_name,journey_name:"investment cart flow",page_section:t.page_section,page_sub_section:"investment cart"}},OtpSubmitFailed:e=>({event:"otp_submit_failed",journey_name:"investment cart flow",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"'complete sip payment with mandate",sc
1heme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category}),OtpSubmitCtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"otp_submit_success",cta_name:"verify otp",flow_name:t.flow_name,journey_name:"investment cart flow",page_section:t.page_section,page_sub_section:t.page_sub_section}},CompleteSipCtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"otp_submit",cta_name:"complete sip payment with mandate",flow_name:t.flow_name,journey_name:"investment_cart_flow",page_section:t.page_section,page_sub_section:"investment_cart"}},RegisterSipClick:e=>({event:"register_sip_click",cta_name:"register sip",flow_name:"pre login journey",journey_name:"investment_cart_flow",page_section:(null==nu?void 0:nu.toLowerCaseStrings(e)).page_section,page_sub_section:"investment_cart"}),RegisteredSuccessfully:e=>{var t,n,a,o,i,c,s,r,_,l;let u=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"purchase",flow_name:u.flow_name,journey_name:"investment cart flow",payment_method:u.payment_method,page_section:u.page_section,page_sub_section:"register sip",ecommerce:{transaction_id:null===(t=u.ecommerce)||void 0===t?void 0:t.transaction_id,value:null===(n=u.ecommerce)||void 0===n?void 0:n.value,tax:null===(a=u.ecommerce)||void 0===a?void 0:a.tax,shipping:null===(o=u.ecommerce)||void 0===o?void 0:o.shipping,currency:null===(i=u.ecommerce)||void 0===i?void 0:i.currency,coupon:null===(c=u.ecommerce)||void 0===c?void 0:c.coupon,payment_type:null===(s=u.ecommerce)||void 0===s?void 0:s.payment_type,items:null!==(l=null===(_=u.ecommerce)||void 0===_?void 0:null===(r=_.items)||void 0===r?void 0:r.map((e,t)=>{var n,a,o,i,c,s,r,_,l,u,m,d;return{item_id:null!==(n=null==e?void 0:e.item_id)&&void 0!==n?n:"na",item_name:null!==(a=null==e?void 0:e.item_name)&&void 0!==a?a:"na",affiliation:"axis mutual fund",coupon:null!==(o=null==e?void 0:e.coupon)&&void 0!==o?o:"na",discount:null!==(i=null==e?void 0:e.discount)&&void 0!==i?i:"na",index:t,item_brand:"axismf",item_category:null!==(c=null==e?void 0:e.item_category)&&void 0!==c?c:"na",item_category2:null!==(s=null==e?void 0:e.item_category2)&&void 0!==s?s:"na",item_category3:null!==(r=null==e?void 0:e.item_category3)&&void 0!==r?r:"na",item_category4:null!==(_=null==e?void 0:e.item_category4)&&void 0!==_?_:"na",item_category5:null!==(l=null==e?void 0:e.item_category5)&&void 0!==l?l:"na",item_category6:null!==(u=null==e?void 0:e.item_category6)&&void 0!==u?u:"na",item_list_id:null!==(m=null==e?void 0:e.item_list_id)&&void 0!==m?m:"na",item_list_name:"na",item_variant:"na",location_id:null!==(d=null==e?void 0:e.location_id)&&void 0!==d?d:"na",price:parseInt(null==e?void 0:e.price)||0,quantity:1}}))&&void 0!==l?l:[]}}}},ThankYouTag:{CtaClick:e=>({event:"cta_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type})},FooterLinks:{FooterClick:e=>({event:"footer_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type})},Portfolio:{CtaClick:e=>({event:"cta_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),LinkGoalClick:e=>({event:"link_goal_click",cta_name:"link_to_goal",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"folios",category:e.category,current_value:e.current_value,invested_amount:e.invested_amount,user_type:e.user_type}),SchemeCtaClick:e=>({event:"scheme_cta_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,user_type:e.user_type}),GoalSelected:e=>({event:"goal_selected",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,journey:"link_to_goal",user_type:e.user_type}),ProceedButtonClick:e=>({event:"proceed_button_click",cta_name:"proceed",flow_name:e.flow_name,journey:"link_to_goal",category:e.category,label:e.label,action:e.action}),LinkGoalSuccess:e=>({event:"link_goal_success",flow_name:e.flow_name,journey:"link_to_goal",category:e.category,label:e.label,action:e.action})},Search:{CtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"cta_click",flow_name:t.flow_name,cta_name:t.cta_name,page_section:t.page_section,page_sub_section:t.page_sub_section,user_type:t.user_type}},ArticleClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"article_click",flow_name:t.flow_name,article_name:t.article_name,page_section:t.page_section,page_sub_section:"related article",category:"search page",label:t.label,user_type:t.user_type}},SchemeCtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"scheme_cta_click",cta_name:t.cta_name,flow_name:t.flow_name,scheme_name:t.scheme_name,scheme_category:t.scheme_category,scheme_sub_category:t.scheme_sub_category,page_section:t.page_section,page_sub_section:"trending schemes",user_type:t.user_type}}},Downloads:{FileClick:e=>({event:"file_click",cta_name:e.cta_name,action:e.action,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,category:e.category,user_t
1ype:e.user_type}),GetLinkCtaClick:e=>({event:"cta_click",cta_name:"get_link",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),CtaClick:e=>({event:"cta_click",cta_name:"get_link",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type})},Login:{LoginSuccess:e=>({event:"login_success",cta_name:(null==e?void 0:e.cta_name)||"login",flow_name:e.flow_name,initial_click_source:e.initial_click_source,page_section:e.page_section,page_sub_section:e.page_sub_section,login_method:e.login_method,login_type:null==e?void 0:e.login_type,user_id:e.user_id,user_type:e.user_type}),LoginFailure:e=>({event:"login_failure",cta_name:"login",flow_name:e.flow_name,initial_click_source:e.initial_click_source,page_sub_section:e.page_sub_section,login_method:e.login_method,login_type:null==e?void 0:e.login_type,user_type:e.user_type})},HomePageDashBoard:{HeaderClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"header_click",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section}},CtaClick:e=>{var t;let n=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"cta_click",cta_name:n.cta_name,flow_name:n.flow_name,page_section:n.page_section,page_sub_section:null!==(t=n.page_sub_section)&&void 0!==t?t:"header",category:n.category}},MenuListClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"menu_list_click",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section,page_sub_section:t.page_sub_section,category:t.category}},LoginClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"login_click",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section,page_sub_section:t.page_sub_section}},BannerClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"banner_click",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section,action:t.action}},SchemeCtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"scheme_cta_click",cta_name:t.cta_name,flow_name:t.flow_name,scheme_name:t.scheme_name,scheme_category:t.scheme_sub_category,scheme_sub_category:t.scheme_sub_category,plan_option:t.plan_option,label:t.label,page_section:t.page_section,page_sub_section:"explore our trending",category:t.category,returns:t.returns}},ArticleClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"article_click",flow_name:t.flow_name,article_name:t.article_name,page_section:t.page_section,page_sub_section:t.page_sub_section,category:t.category,label:t.label,user_type:t.user_type}},ChooseGoalClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"choose_goal_click",flow_name:t.flow_name,page_section:t.page_section,page_sub_section:"choose your goal",category:"goal plannig",action:t.action}},GooglePlayCtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"cta_click",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section,page_sub_section:t.page_sub_section}},FormSubmit:e=>{var t;let n=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"form_submit",cta_name:null!==(t=n.cta_name)&&void 0!==t?t:"email",flow_name:n.flow_name,page_section:n.page_section,page_sub_section:n.page_sub_section}}},Kyc:{KycFormSubmit:e=>({event:"kyc_form_submit",flow_name:e.flow_name,cta_name:"submit",page_section:e.page_section,page_sub_section:"kyc",day_parting:e.day_parting,user_type:e.user_type}),OtpSubmitSuccess:e=>{var t,n,a;return{event:"otp_submit_success",page_section:null!==(t=null==e?void 0:e.page_section)&&void 0!==t?t:"na",page_sub_section:null!==(n=null==e?void 0:e.page_sub_section)&&void 0!==n?n:"na",cta_name:null!==(a=null==e?void 0:e.cta_name)&&void 0!==a?a:"na"}},OtpSubmitFailed:e=>{var t,n,a,o;return{event:"otp_submit_failed",page_section:null!==(t=null==e?void 0:e.page_section)&&void 0!==t?t:"na",page_sub_section:null!==(n=null==e?void 0:e.page_sub_section)&&void 0!==n?n:"na",cta_name:null!==(a=null==e?void 0:e.cta_name)&&void 0!==a?a:"na",error_message:null!==(o=null==e?void 0:e.error_message)&&void 0!==o?o:"na"}}},DigitalKyc:{PersonalDetailSuccess:e=>({event:"personal_detail_success",cta_name:e.cta_name||"na",flow_name:e.flow_name||"na",page_section:e.page_section||"na",page_sub_section:e.page_sub_section||"na"}),AadhaarVerificationSuccess:e=>({event:"aadhaar_verification_success",flow_name:e.flow_name||"na",page_section:e.page_section||"na",page_sub_section:e.page_sub_section||"na"}),KycInitiationCompleted:e=>({event:"kyc_initiation_completed",flow_name:e.flow_name||"na",page_section:e.page_section||"na",page_sub_section:e.page_sub_section||"na"}),KycInitiationContinueClick:e=>({event:"kyc_initiation_continue_click",cta_name:e.cta_name||"na",flow_name:e.flow_name||"na",page_section:e.page_section||"na",page_sub_section:e.page_sub_section||"na"})},Etf:{CtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"cta click",cta_name:"invest now",flow_name:t.flow_name,page_section:t.page_section,page_sub_section:"right side sticky card",scheme_name:t.scheme_name,scheme_category:t.scheme_category,scheme_sub_category:t.scheme_sub_category,investment_type:t.investment_type,day_parting:t.day_parting,user_type:t.user_type}},AddtoCartInvestNowCtaClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"cta click",cta_name:t.cta_name,flow_name:t.flow_name,page_section:t.page_section,page_sub_section:"similar funds",category:"cross selling",sc
1heme_name:t.scheme_name,scheme_category:t.scheme_category,scheme_sub_category:t.scheme_sub_category,investment_type:t.investment_type,plan_option:t.plan_option,day_parting:t.day_parting,user_type:t.user_type}},ContinueClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"continue click",cta_name:"continue",flow_name:"exchange trade fund",page_section:t.page_section,page_sub_section:"etf order",scheme_name:t.scheme_name,scheme_category:t.scheme_category,scheme_sub_category:t.scheme_sub_category,investment_type:t.investment_type,plan_option:t.plan_option,day_parting:t.day_parting,current_value:t.current_value,category1:t.category1,category2:t.category2,category3:t.category3,user_type:t.user_type}},EtfAdded:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"etf added",flow_name:"exchange trade fund",page_section:t.page_section,page_sub_section:"etf cart",scheme_name:t.scheme_name,scheme_category:t.scheme_category,scheme_sub_category:t.scheme_sub_category,investment_type:t.investment_type,plan_option:t.plan_option,day_parting:t.day_parting,current_value:t.current_value,category1:t.category1,category2:t.category2,category3:t.category3,user_type:t.user_type}},AddNewEtfClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"add new etf click",cta_name:t.cta_name,flow_name:"exchange trade fund",page_section:t.page_section,page_sub_section:t.page_sub_section,day_parting:t.day_parting,user_type:t.user_type}},BrokerSelected:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"broker selected",cta_name:t.cta_name,flow_name:"exchange trade fund",page_section:t.page_section,page_sub_section:"etf cart",day_parting:t.day_parting,user_type:t.user_type}},OpenAccountClick:e=>{let t=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"open account click",cta_name:"open an account online",flow_name:"exchange trade fund",page_section:t.page_section,page_sub_section:"etf cart",day_parting:t.day_parting,user_type:t.user_type}},ProceedClick:e=>{var t,n,a,o;let i=null==nu?void 0:nu.toLowerCaseStrings(e);return{event:"begin_check_out",flow_name:"exchange trade fund",page_section:i.page_section,page_sub_section:"etf cart",user_type:i.user_type,ecommerce:{currency:null===(t=i.ecommerce)||void 0===t?void 0:t.currency,value:null===(n=i.ecommerce)||void 0===n?void 0:n.value,items:null===(o=i.ecommerce)||void 0===o?void 0:null===(a=o.items)||void 0===a?void 0:a.map((e,t)=>{var n,a,o,i,c,s,r,_,l,u,m,d,p,g,v;return{item_id:null!==(n=null==e?void 0:e.item_id)&&void 0!==n?n:0,item_name:null!==(a=null==e?void 0:e.item_name)&&void 0!==a?a:0,affiliation:"Axis Mutual Fund",coupon:null!==(o=null==e?void 0:e.coupon)&&void 0!==o?o:"NA",discount:null!==(i=null==e?void 0:e.discount)&&void 0!==i?i:0,index:t,item_brand:"AxisMF",item_category:null!==(c=null==e?void 0:e.item_category)&&void 0!==c?c:"",item_category2:null!==(s=null==e?void 0:e.item_category2)&&void 0!==s?s:"",item_category3:null!==(r=null==e?void 0:e.item_category3)&&void 0!==r?r:"",item_category4:null!==(_=null==e?void 0:e.item_category4)&&void 0!==_?_:"",item_category5:null!==(l=null==e?void 0:e.item_category5)&&void 0!==l?l:"",item_category6:null!==(u=null==e?void 0:e.item_category6)&&void 0!==u?u:"",item_category7:null!==(m=null==e?void 0:e.item_category7)&&void 0!==m?m:"",item_list_id:null!==(d=null==e?void 0:e.item_list_id)&&void 0!==d?d:"",item_list_name:null!==(p=null==e?void 0:e.item_list_name)&&void 0!==p?p:"",item_variant:"NA",location_id:null!==(g=null==e?void 0:e.location_id)&&void 0!==g?g:"",price:null!==(v=null==e?void 0:e.price)&&void 0!==v?v:"",quantity:1}})}}}},Calculators:{CalculatorSelected:e=>({event:"calculator_selected",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),CalculatorCtaClick:e=>({event:"calculator_cta_click",cta_name:"invest now",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"sip calculator",category1:e.category1,category2:e.category2,category3:e.category3,user_type:e.user_type}),InvestCalculatorCtaClick:e=>({event:"calculator_cta_click",cta_name:"invest now",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"sip calculator",category2:e.category2,scheme_name:e.scheme_name,scheme_category:e.scheme_category,label:e.label,user_type:e.user_type}),ShareClick:e=>({event:"share_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"sip calculator",user_type:e.user_type}),ShareIconClick:e=>({event:"share_icon_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"sip calculator",user_type:e.user_type})},ServiceCentre:{CtaClick:e=>({event:"cta_click",cta_name:null==e?void 0:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),ButtonClick:e=>({event:"button_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,category:e.category,user_t
1ype:e.user_type})},GoalPlanning:{ChooseGoalClick:e=>({event:"choose_goal_click",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"choose_your_goal",category:"goal_planning",action:e.action}),CtaClick:e=>({event:"cta_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section}),ArticleClick:e=>({event:"article_click",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"articles",article_name:e.article_name}),TargetContinueClick:e=>({event:"target_continue_click",flow_name:e.flow_name,cta_name:e.cta_name,category:"goal_planning",sub_category:e.sub_category,action:e.action,label:e.label,returns:e.returns,page_section:e.page_section,page_sub_section:"target"}),BackClick:e=>({event:"back_click",cta_name:"back",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"target"}),ViewFinancialPlannerCtaClick:e=>({event:"cta_click",cta_name:"view_financial_planner",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"target"}),SipTopupResetCtaClick:e=>({event:"cta_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"schemes"}),SelectTopUp:e=>({event:"select_top_up",cta_name:"select",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"sip_top_up"}),FundAdded:e=>({event:"select_top_up",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"add_fund",scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category}),SchemeCtaClick:e=>({event:"scheme_cta_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,plan_option:e.plan_option,label:e.label,returns:e.returns}),SchemeContinueClick:e=>({event:"scheme_continue_click",cta_name:"continue",flow_name:e.flow_name,category:"goal_planning",sub_category:e.sub_category,action:e.action,label:e.label,returns:e.returns,page_section:e.page_section,page_sub_section:"scheme"}),FolioContinueClick:e=>({event:"folio_continue_click",cta_name:"continue",flow_name:e.flow_name,category:"goal_planning",sub_category:e.sub_category,action:e.action,label:e.label,returns:e.returns,page_section:e.page_section,page_sub_section:"folio"}),BeginCheckOut:e=>{var t,n,a,o,i,c,s,r,_,l,u,m,d,p,g,v,y,f,h,w,b,S,k,C,A,E,I,T,L,D,P,N,O,M,R,B,U,j,x,F,H,K,G,Y,V,J,q,W,z,X,Q,Z,$,ee,et,en,ea,eo,ei,ec,es,er,e_;return{event:"begin_check_out",flow_name:e.flow_name,journey_name:"goal_planning",category:"goal_planning",sub_category:e.sub_category,page_section:e.page_section,page_sub_section:"payment",ecommerce:{currency:null===(t=e.ecommerce)||void 0===t?void 0:t.currency,value:null===(n=e.ecommerce)||void 0===n?void 0:n.value,coupon:null===(a=e.ecommerce)||void 0===a?void 0:a.coupon,items:[{item_id:null!==(z=null===(c=e.ecommerce)||void 0===c?void 0:null===(i=c.items)||void 0===i?void 0:null===(o=i[0])||void 0===o?void 0:o.item_id)&&void 0!==z?z:0,item_name:null!==(X=null===(_=e.ecommerce)||void 0===_?void 0:null===(r=_.items)||void 0===r?void 0:null===(s=r[0])||void 0===s?void 0:s.item_name)&&void 0!==X?X:0,affiliation:"Axis Mutual Fund",coupon:null!==(Q=null===(m=e.ecommerce)||void 0===m?void 0:null===(u=m.items)||void 0===u?void 0:null===(l=u[0])||void 0===l?void 0:l.coupon)&&void 0!==Q?Q:"NA",discount:null!==(Z=null===(g=e.ecommerce)||void 0===g?void 0:null===(p=g.items)||void 0===p?void 0:null===(d=p[0])||void 0===d?void 0:d.discount)&&void 0!==Z?Z:0,index:0,item_brand:"AxisMF",item_category:null!==($=null===(f=e.ecommerce)||void 0===f?void 0:null===(y=f.items)||void 0===y?void 0:null===(v=y[0])||void 0===v?void 0:v.item_category)&&void 0!==$?$:"",item_category2:null!==(ee=null===(b=e.ecommerce)||void 0===b?void 0:null===(w=b.items)||void 0===w?void 0:null===(h=w[0])||void 0===h?void 0:h.item_category2)&&void 0!==ee?ee:"",item_category3:null!==(et=null===(C=e.ecommerce)||void 0===C?void 0:null===(k=C.items)||void 0===k?void 0:null===(S=k[0])||void 0===S?void 0:S.item_category3)&&void 0!==et?et:"",item_category4:null!==(en=null===(I=e.ecommerce)||void 0===I?void 0:null===(E=I.items)||void 0===E?void 0:null===(A=E[0])||void 0===A?void 0:A.item_category4)&&void 0!==en?en:"",item_category5:null!==(ea=null===(D=e.ecommerce)||void 0===D?void 0:null===(L=D.items)||void 0===L?void 0:null===(T=L[0])||void 0===T?void 0:T.item_category5)&&void 0!==ea?ea:"",item_category6:null!==(eo=null===(O=e.ecommerce)||void 0===O?void 0:null===(N=O.items)||void 0===N?void 0:null===(P=N[0])||void 0===P?void 0:P.item_category6)&&void 0!==eo?eo:"",item_list_id:null!==(ei=null===(B=e.ecommerce)||void 0===B?void 0:null===(R=B.items)||void 0===R?void 0:null===(M=R[0])||void 0===M?void 0:M.item_list_id)&&void 0!==ei?ei:"",item_list_name:"goal planning",item_variant:null!==(ec=null===(x=e.ecommerce)||void 0===x?void 0:null===(j=x.items)||void 0===j?void 0:null===(U=j[0])||void 0===U?void 0:U.item_variant)&&void 0!==ec?ec:"",location_id:null!==(es=null===(K=e.ecommerce)||void 0===K?void 0:null===(H=K.items)||void 0===H?void 0:null===(F=H[0])||void 0===F?void 0:F.location_id)&&void 0!==es?es:"",price:null!==(er=null===(V=e.ecommerce)||void 0===V?void 0:null===(Y=V.items)||void 0===Y?void 0:null===(G=Y[0])||void 0===G?void 0:G.price)&&void 0!==er?er:"",quantity:null!==(e_=null===(W=e.e
1commerce)||void 0===W?void 0:null===(q=W.items)||void 0===q?void 0:null===(J=q[0])||void 0===J?void 0:J.quantity)&&void 0!==e_?e_:0}]}}},AddPaymentInfo:e=>{var t,n,a,o,i,c,s,r,_,l,u,m,d,p,g,v,y,f,h,w,b,S,k,C,A,E,I,T,L,D,P,N,O,M,R,B,U,j,x,F,H,K,G,Y,V,J,q,W,z,X,Q,Z,$,ee,et,en,ea,eo,ei,ec,es,er,e_,el;return{event:"add_payment_info",flow_name:e.flow_name,journey_name:"goal_planning",category:"goal_planning",sub_category:e.sub_category,page_section:e.page_section,page_sub_section:"payment",ecommerce:{currency:null===(t=e.ecommerce)||void 0===t?void 0:t.currency,value:null===(n=e.ecommerce)||void 0===n?void 0:n.value,coupon:null===(a=e.ecommerce)||void 0===a?void 0:a.coupon,payment_type:null===(o=e.ecommerce)||void 0===o?void 0:o.payment_type,items:[{item_id:null!==(X=null===(s=e.ecommerce)||void 0===s?void 0:null===(c=s.items)||void 0===c?void 0:null===(i=c[0])||void 0===i?void 0:i.item_id)&&void 0!==X?X:0,item_name:null!==(Q=null===(l=e.ecommerce)||void 0===l?void 0:null===(_=l.items)||void 0===_?void 0:null===(r=_[0])||void 0===r?void 0:r.item_name)&&void 0!==Q?Q:0,affiliation:"Axis Mutual Fund",coupon:null!==(Z=null===(d=e.ecommerce)||void 0===d?void 0:null===(m=d.items)||void 0===m?void 0:null===(u=m[0])||void 0===u?void 0:u.coupon)&&void 0!==Z?Z:"NA",discount:null!==($=null===(v=e.ecommerce)||void 0===v?void 0:null===(g=v.items)||void 0===g?void 0:null===(p=g[0])||void 0===p?void 0:p.discount)&&void 0!==$?$:0,index:0,item_brand:"AxisMF",item_category:null!==(ee=null===(h=e.ecommerce)||void 0===h?void 0:null===(f=h.items)||void 0===f?void 0:null===(y=f[0])||void 0===y?void 0:y.item_category)&&void 0!==ee?ee:"",item_category2:null!==(et=null===(S=e.ecommerce)||void 0===S?void 0:null===(b=S.items)||void 0===b?void 0:null===(w=b[0])||void 0===w?void 0:w.item_category2)&&void 0!==et?et:"",item_category3:null!==(en=null===(A=e.ecommerce)||void 0===A?void 0:null===(C=A.items)||void 0===C?void 0:null===(k=C[0])||void 0===k?void 0:k.item_category3)&&void 0!==en?en:"",item_category4:null!==(ea=null===(T=e.ecommerce)||void 0===T?void 0:null===(I=T.items)||void 0===I?void 0:null===(E=I[0])||void 0===E?void 0:E.item_category4)&&void 0!==ea?ea:"",item_category5:null!==(eo=null===(P=e.ecommerce)||void 0===P?void 0:null===(D=P.items)||void 0===D?void 0:null===(L=D[0])||void 0===L?void 0:L.item_category5)&&void 0!==eo?eo:"",item_category6:null!==(ei=null===(M=e.ecommerce)||void 0===M?void 0:null===(O=M.items)||void 0===O?void 0:null===(N=O[0])||void 0===N?void 0:N.item_category6)&&void 0!==ei?ei:"",item_list_id:null!==(ec=null===(U=e.ecommerce)||void 0===U?void 0:null===(B=U.items)||void 0===B?void 0:null===(R=B[0])||void 0===R?void 0:R.item_list_id)&&void 0!==ec?ec:"",item_list_name:"goal planning",item_variant:null!==(es=null===(F=e.ecommerce)||void 0===F?void 0:null===(x=F.items)||void 0===x?void 0:null===(j=x[0])||void 0===j?void 0:j.item_variant)&&void 0!==es?es:"",location_id:null!==(er=null===(G=e.ecommerce)||void 0===G?void 0:null===(K=G.items)||void 0===K?void 0:null===(H=K[0])||void 0===H?void 0:H.location_id)&&void 0!==er?er:"",price:null!==(e_=null===(J=e.ecommerce)||void 0===J?void 0:null===(V=J.items)||void 0===V?void 0:null===(Y=V[0])||void 0===Y?void 0:Y.price)&&void 0!==e_?e_:"",quantity:null!==(el=null===(z=e.ecommerce)||void 0===z?void 0:null===(W=z.items)||void 0===W?void 0:null===(q=W[0])||void 0===q?void 0:q.quantity)&&void 0!==el?el:0}]}}},GiveRiskProfileClick:e=>({event:"give_risk_profile_click",cta_name:"give_risk_profile",flow_name:e.flow_name,page_section:e.page_section,page_sub_section:"understanding_my_risk_profile"})},ContactYourRM:{CtaClick:e=>({event:"cta_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),AssignRequestSent:e=>({event:"assign_request_sent",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),RMCtaClick:e=>({event:"rm_cta_click",cta_name:e.cta_name,flow_name:e.flow_name,page_section:e.page_section,page_sub_section:e.page_sub_section,label:e.label,user_type:e.user_type})},ShagunSip:{StartYourSipNow:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"start your sip now",page_section:e.page_section,day_parting:e.day_parting,user_type:e.user_type}),ExplorePlans:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"explore plans",page_section:e.page_section,day_parting:e.day_parting,user_type:e.user_type}),BuyGoldNow:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"buy gold now",page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),BackClickShagunGold:e=>({event:"back_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"shagun gold",page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),BackClickHome:e=>({event:"back_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"home icon",page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),StartDailySip:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"start your sip daily",page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),ChangeFund:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"change fund",page_section:e.page_section,page_sub_section:e.page_sub_section,scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,investment_type:e.investment_type,plan_option:e.plan_option,user_type:e.user_type}),PlusFiveHundred:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"+500",page_section:e.page_section,page_sub_section:e.page_sub_section,scheme_name:e.scheme_name,scheme_category:e.scheme_category,investment_type:e.investment_type,plan_option:e.plan_option,user_type:e.user_type}),MoreLess:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name,scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,current_value:e.current_value,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,value:e.value,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),Folio:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"folio",scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,current_value:e.current_value,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),InvestmentMode:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"investment mode",scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,current_value:e.current_value,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),SipTenure:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"sip tenure",scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,current_value:e.current_value,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,sip_tenure:e.sip_tenure,plan_option:e.plan_option,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),PlanOption:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"plan option",scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,current_value:e.current_value,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,sip_tenure:e.sip_tenure,plan_option:e.plan_option,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),ChangePaymentMode:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"change",scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,current_value:e.current_value,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,sip_tenure:e.sip_tenure,plan_option:e.plan_option,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),OcpJourneyInitiated:e=>({event:"ocp_journey_initiated",flow_name:e.flow_name||"shagun sip journey",journey_name:e.journey_name||"ocp journey",page_section:e.page_section,page_sub_section:e.page_sub_section,scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category}),AddPaymentInfo:e=>({event:"add_payment_info",flow_name:e.flow_name||"shagun sip journey",journey_name:e.journey_name||"ocp journey",page_section:e.page_section,page_sub_section:e.page_sub_section,ecommerce:e.ecommerce}),Purchase:e=>({event:"purchase",flow_name:e.flow_name||"shagun sip journey",page_section:e.page_section,page_sub_section:e.page_sub_section||"quickpay shagun",payment_method:e.payment_method,ecommerce:e.ecommerce}),ProceedToPay:e=>({event:"success_page",flow_name:e.flow_name||"shagun sip journey",journey_name:e.journey_name,scheme_name:e.scheme_name,cta_name:e.cta_name||"continue",scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,investment_type:e.investment_type,invested_amount:e.invested_amount,investment_since:e.investment_since,currency:e.currency||"inr",value:e.value,coupon:e.coupon,payment_type:e.payment_type,sip_tenure:e.sip_tenure,plan_option:e.plan_option,page_section:e.page_section,page_sub_section:e.page_sub_section,label:e.label,frequency:e.frequency,date_difference:e.date_difference,initial_click_source:e.initial_click_source}),ViewSchemeDetails:e=>({event:"scheme_cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"view scheme details",scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,current_value:e.current_value,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,value:e.value,plan_option:e.plan_option,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),GoldSilverSelect:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name,scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,current_value:e.current_value,investment_type:e.investment_type,invested_amount:e.invested_amount,currency:e.currency||"inr",value:e.value,plan_option:e.plan_option,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),YearSelect:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name,scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,current_value:e.current_value,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,value:e.value,plan_option:e.plan_option,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),SipLumpsumSelect:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name,scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,current_value:e.current_value,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,value:e.value,plan_option:e.plan_option,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),GramSelect:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name,scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,current_value:e.current_value,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,value:e.value,plan_option:e.plan_option,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),MaxSipAmount:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"max sip amount",scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,current_value:e.current_value,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,value:e.value,plan_option:e.plan_option,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}
1),AmountGraphInteraction:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"graph interaction",scheme_name:e.scheme_name,scheme_category:e.scheme_category,scheme_sub_category:e.scheme_sub_category,current_value:e.current_value,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,value:e.value,plan_option:e.plan_option,page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),InvestNow:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"invest now",page_section:e.page_section,page_sub_section:e.page_sub_section,scheme_name:e.scheme_name,scheme_category:e.scheme_category,investment_type:e.investment_type,plan_option:e.plan_option,user_type:e.user_type}),BannerClick:e=>({event:"banner_click",flow_name:e.flow_name||"shagun sip journey",page_section:e.page_section,cta_name:e.cta_name,action:e.action}),NewFolioJourneyInitiated:e=>({event:"new_folio_journey_initiated",flow_name:e.flow_name||"shagun sip journey",page_section:e.page_section,page_sub_section:e.page_sub_section,user_type:e.user_type}),InvestingIn:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name,scheme_name:e.scheme_name,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,investment_since:e.investment_since,value:e.value,plan_option:e.plan_option,page_section:e.page_section,user_type:e.user_type}),Grams:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"Grams",scheme_name:e.scheme_name,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,investment_since:e.investment_since,value:e.value,plan_option:e.plan_option,page_section:e.page_section,user_type:e.user_type}),MaxSipAmountField:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"max sip amount",scheme_name:e.scheme_name,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,investment_since:e.investment_since,value:e.value,plan_option:e.plan_option,page_section:e.page_section,user_type:e.user_type}),AmountField:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"amount",scheme_name:e.scheme_name,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,investment_since:e.investment_since,value:e.value,plan_option:e.plan_option,page_section:e.page_section,user_type:e.user_type}),SipDebitDay:e=>({event:"cta_click",flow_name:e.flow_name||"shagun sip journey",cta_name:e.cta_name||"sip debit day",scheme_name:e.scheme_name,investment_type:e.investment_type,currency:e.currency||"inr",invested_amount:e.invested_amount,investment_since:e.investment_since,value:e.value,page_section:e.page_section,user_type:e.user_type})},Onboarding:{PhoneScreen:e=>{var t;return{event:null!==(t=e.event)&&void 0!==t?t:"phone_otp_success",cta_name:e.cta_name||"na",flow_name:e.flow_name||"na",page_section:e.page_section||"na",user_type:e.user_type||"na"}},PANScreen:e=>{var t;return{event:null!==(t=e.event)&&void 0!==t?t:"existing_pan_selected",cta_name:e.cta_name||"na",flow_name:e.flow_name||"na",journey_name:e.journey_name||"na",page_section:e.page_section||"na",user_type:e.user_type||"na"}},InvestmentDetails:e=>{var t;return{event:null!==(t=e.event)&&void 0!==t?t:"scheme_details_entered",flow_name:e.flow_name||"na",journey_name:e.journey_name||"na",scheme_name:e.scheme_name||"na",cta_name:e.cta_name||"na",scheme_category:e.scheme_category||"na",scheme_sub_category:e.scheme_sub_category||"na",investment_type:e.investment_type||"na",invested_amount:e.invested_amount||"na",investment_since:e.investment_since||"na",sip_tenure:e.sip_tenure||"na",plan_option:e.plan_option||"na",page_section:e.page_section||"na",page_sub_section:e.page_sub_section||"na",label:e.label||"na",frequency:e.frequency||"na",date_difference:e.date_difference||"na",initial_click_source:e.initial_click_source||"na"}},BankVerification:e=>({event:"verify_bank_inprogress",flow_name:e.flow_name||"na",journey_name:e.journey_name||"na",cta_name:e.cta_name||"na",page_section:e.page_section||"na",initial_click_source:e.initial_click_source||"na"}),InvestmentSummary:e=>({event:"summary_page_loaded",flow_name:e.flow_name||"na",journey_name:e.journey_name||"na",cta_name:e.cta_name||"na",page_section:e.page_section||"na",initial_click_source:e.initial_click_source||"na"}),NomineeDetails:e=>{var t;return{event:null!==(t=e.event)&&void 0!==t?t:"nominee_optin",flow_name:e.flow_name||"na",journey_name:e.journey_name||"na",page_section:e.page_section||"na",cta_name:e.cta_name||"na",nominee_type:e.nominee_type||"na",user_type:e.user_type||"na"}},PaymentModeChange:e=>({event:"payment_mode_change",flow_name:e.flow_name||"na",journey_name:e.journey_name||"na",page_section:e.page_section||"na",cta_name:e.cta_name||"na",payment_type:e.payment_type||"na",user_type:e.user_type||"na"}),SuccessPage:e=>({event:"success_page",flow_name:e.flow_name||"na",journey_name:e.journey_name||"na",scheme_name:e.scheme_name||"na",cta_name:e.cta_name||"na",scheme_category:e.scheme_category||"na",scheme_sub_category:e.scheme_sub_category||"na",investment_type:e.investment_type||"na",invested_amount:e.invested_amount||"na",investment_since:e.investment_since||"na",currency:e.currency||"na",value:e.value||"na",coupon:e.coupon||"na",payment_type:e.payment_type||"na",sip_tenure:e.sip_tenure||"na",plan_option:e.plan_option||"na",page_section:e.page_section||"na",page_sub_section:e.page_sub_section||"na",label:e.label||"na",frequency:e.frequency||"na",date_difference:e.date_difference||"na",initial_click_source:e.initial_click_source||"na"})}},t.GoogleAnalytics={dynamicData:tH,recordPageView:(e,t)=>{window.dataLayer&&window.dataLayer.push({event:"page_view",url:e,title:t})},recordEvent:e=>{window.dataLayer&&window.dataLayer.push(e)}},t.INDEX_DB_CACHE_KEYS=tG,t.INDEX_DB_DASHBOARD_CACHE_KEYS=tY,t.InitializeAnalytics=e=>u.jsx("script",{dangerouslySetInnerHTML:{__html:"\n (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':\n new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],\n j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=\n 'https://www.googletagmanager.com/gtm.js?id='
1+i+dl;f.parentNode.insertBefore(j,f);\n })(window,document,'script','dataLayer','".concat(e.gaID,"');\n ")}}),t.LOCAL_STORAGE_KEYS=tT,t.LocalStorage=tD,t.NotifyVisitors={trackEvent:e=>{}},t.NotifyVisitorsEvents={Cart:{AddToCart:()=>({eventName:"add_to_cart",attr:{Product_ID:137,Price:89.7,Quantity:1,Product:"Givenchy Pour Homme Cologne",Category:"Fragrance",Currency:"USD",Discounted:!0},userScore:"6",scope:"1"}),RemoveFromCart:()=>({eventName:"remove_from_cart",attr:{Product_ID:137},userScore:"6",scope:"2"})}},t.SchemesDB=tg,t.SessionStorage=tR,t.StoreProvider=function(e){let{children:t}=e;return u.jsx(k,{store:t_,children:t})},t.UsersDB=tf,t.deleteArrayCacheLogout=t$,t.deleteCache=tZ,t.encryptionHelpers={encryptData:ny,decryptData:nf},t.getCache=tQ,t.getRouter=()=>tV,t.globalHelpers=nu,t.i18nList=ti,t.isMobileAppEnvironment=!1,t.isWhistleBlowerService=e=>!!e&&e.includes("whistleblower-services"),t.navigateBack=()=>{null==tV||tV.navigateBack()},t.navigateForward=()=>{null==tV||tV.navigateForward()},t.pathChanger=e=>{if(!e)throw Error("Icon path is required");let t=e.startsWith("/")?e.slice(1):e;return"/assets/".concat(t)},t.pushPath=tJ,t.refreshPage=()=>{null==tV||tV.refreshPage()},t.registerRouter=e=>{tV=e},t.replacePath=e=>{null==tV||tV.replacePath(e)},t.setCache=tX,t.setGlobalLanguage=tr,t.setGlobalStore=ta,t.useAppDispatch=T,t.useAppSelector=D,t.useStorageResolvedValue=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],[n,a]=l.useState(void 0);return l.useEffect(()=>{if(t){let t=window.sessionStorage.getItem(e);if(!t){a(void 0);return}a(t);return}let n=async()=>{let t=window.localStorage.getItem(e);if(!t){a(void 0);return}a(await tA(t))};n();let o=t=>{t.key===e&&n()},i=t=>{var a;(null===(a=t.detail)||void 0===a?void 0:a.key)===e&&n()};return window.addEventListener("storage",o),window.addEventListener("localStorageSetItem",i),()=>{window.removeEventListener("storage",o),window.removeEventListener("localStorageSetItem",i)}},[e]),n}}}]);
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.