(self.webpackChunksp_seller_dashboard_client=self.webpackChunksp_seller_dashboard_client||[]).push([[2143],{10966:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>A});var i=n(61240),r=n.n(i),o=n(11393),a=n.n(o),s=n(82492),c=n.n(s),l=n(86226),u=n.n(l),d=n(41609),p=n.n(d),h=n(43578),m=n(84486),f=n.n(m),g=[204,205];function v(e,t){return function(e){var t=!1;return u()(g).call(g,n=>{n===e.status&&(t=!0)}),t}(e)||t.skip?function(e,t){var n={status:e.status,ok:e.ok};return t&&(n.response=e),n}(e,t.skip):e[t.type||"json"]().then(t=>({status:e.status,ok:e.ok,response:t}))}function _(e){var t=h.default.getConfig("sellerConfig")||{},{sellerId:n}=t;return!!t.sellerIdQuery&&(p()(e)?e={sellerId:n}:e.sellerId=n),p()(e)?"":function(e){var t=[],n=[];return f()(e,(e,n)=>{var i;t.push(a()(i="".concat(encodeURIComponent(n),"=")).call(i,encodeURIComponent(e)))}),t.length&&n.push("?",t.join("&")),n.join("")}(e)}var y=n(85569),C=n.n(y),w=n(71280);const A={get:function(e,t,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{},o=_(t),s=c()({},{credentials:"same-origin"},n);return new(r())((t,n)=>{var r;fetch(a()(r="".concat(e)).call(r,o),s).then(e=>v(e,i)).then(e=>e.ok?t(e.response):n(e.response)).catch(e=>{n(new Error(e.message))})})},postJson:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=_(arguments.length>2?arguments[2]:void 0),s=c()({},{credentials:"same-origin",method:"POST",headers:{"Content-Type":"application/json","FK-CSRF-TOKEN":(0,w.readCSRFToken)()},body:C()(t)},n);return new(r())((t,n)=>{var r;fetch(a()(r="".concat(e)).call(r,o),s).then(e=>v(e,i)).then(e=>{e.ok&&e.response?t(e.response):e.ok?t():n(e.response)}).catch(e=>{n(new Error(e.message))})})},postFormData:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=_(arguments.length>2?arguments[2]:void 0),s=c()({},{credentials:"same-origin",method:"POST",headers:{Accept:"application/json","FK-CSRF-TOKEN":(0,w.readCSRFToken)()},body:t},n);return new(r())((t,n)=>{var r;fetch(a()(r="".concat(e)).call(r,o),s).then(e=>v(e,i)).then(e=>{e.ok&&e.response?t(e.response):e.ok?t():n(e.response)}).catch(e=>{n(new Error(e.message))})})},deleteJson:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=_(arguments.length>2?arguments[2]:void 0),s=c()({},{credentials:"same-origin",method:"DELETE",headers:{"Content-Type":"application/json","FK-CSRF-TOKEN":(0,w.readCSRFToken)()},body:C()(t)},n);return new(r())((t,n)=>{var r;fetch(a()(r="".concat(e)).call(r,o),s).then(e=>v(e,i)).then(e=>e.ok?t(e.response):n(e.response)).catch(e=>{n(new Error(e.message))})})},put:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>3?arguments[3]:void 0,i=arguments.length>4&&void 0!==arguments[4]?arguments[4]:{},o=_(arguments.length>2?arguments[2]:void 0),s=c()({},{credentials:"same-origin",method:"PUT",headers:{"Content-Type":"application/json","FK-CSRF-TOKEN":(0,w.readCSRFToken)()},body:C()(t)},n);return new(r())((t,n)=>{var r;fetch(a()(r="".concat(e)).call(r,o),s).then(e=>v(e,i)).then(e=>{e.ok&&e.response?t(e.response):e.ok?t():n(e.response)}).catch(e=>{n(new Error(e.message))})})}}},12151:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});n(72443),n(56255);var i=n(61240),r=n.n(i);const o={getPromise:function(e){return new(r())(e)},all:function(){return r().all.apply(r(),arguments)},race:function(){return r().race.apply(r(),arguments)},reject:function(){return r().reject.apply(r(),arguments)},resolve:function(){return r().resolve.apply(r(),arguments)},allSettled:function(){return r().allSettled.apply(r(),arguments)}}},12408:(e,t,n)=>{"use strict";n.d(t,{A:()=>Ie});var i=n(97857),r=n(18979),o=n.n(r),a=n(36586),s=n.n(a),c=n(11393),l=n.n(c),u=n(71426),d=n.n(u),p=n(96319),h=n.n(p),m=n(14069),f=n.n(m),g=n(48079),v=n.n(g),_=n(73363),y=n.n(_),C=n(26327),w=n.n(C),A=n(64007),b=n.n(A),S=n(86247),I=n.n(S),D=n(6707),N=n.n(D),P=n(86226),k=n.n(P),T=n(14166),O=n.n(T),B=n(31721),E=n.n(B),R=n(15413),M=n.n(R),x=n(44927),L=n.n(x),U=n(27124),j=n.n(U),F=n(11265),H=n.n(F),V=n(66615),W=n.n(V),G=n(43981),J=n.n(G),q=n(49763),K=n.n(q),Q=n(85569),z=n.n(Q),Y=n(50697),$=n.n(Y),X=n(26100),Z=n.n(X),ee=n(78928),te=n.n(ee),ne=n(36751),ie=n.n(ne),re=n(25110),oe=n.n(re),ae=n(53930),se=n.n(ae),ce=n(96486),le=n.n(ce),ue=n(12151),de=n(30381),pe=n.n(de),he=n(90371),me=n.n(he),fe=n(73535),ge=n(19755),ve=n.n(ge),_e=n(19755);function ye(e,t){var n=$()(e);if(Z()){var i=Z()(e);t&&(i=h()(i).call(i,function(t){return te()(e,t).enumerable})),n.push.apply(n,i)}return n}function Ce(e){for(var t=1;tj()(String.prototype)?j()(t).call(t,e):new RegExp("".concat(e,"$")).test(t),stripHtmlTags(e){var t;return e?(t=document.createElement("div").innerHTML=e).textContent||t.innerText||e.replace(/(<([^>]+)>)/gi,""):null},clearSlashes:e=>H()(le()).call(le(),e,"/"),isObject:e=>"object"==typeof e,isArray:e=>le().isArray(e),isNumeric:e=>!W()(e)&&e-J()(e)+1>=0,isNumber(){throw new Error("notImplementedException")},isString:e=>"string"==typeof e||e instanceof String,isFunction:e=>"function"==typeof e,isValidUrl:e=>/^(?:(?:(?:https?|ftp):)?\/\/)?(?:\S+)?(?::\d{1,5})?(?:[/?#]\S*)?$/i.test(e),validateUrl:e=>e.match(/^(https?|ftp):\/\/(-\.)?([^\s\/?\.#-]+\.?)+(\/[^\s]*)?$/i),loadScript(e,t){var n,i;return ue.A.getPromise((r,o)=>{(n=document.createElement("script")).type="text/javascript",n.async=t||!1,n.src=e,n.onload=n.onreadystatechange=function(){this.readyState&&"complete"!==this.readyState&&"loaded"!==this.readyState||r()},n.onerror=function(){o()},(i=document.getElementsByTagName("script")[0]).parentNode.insertBefore(n,i)})},scrollTo(e,t){var n=_e(e).offset();me().getDomNode("#content-container").animate({scrollTop:n.top-t.paddingTop},t.duration,t.onComplete)},intersection:le().intersection,includesState(e,t){var n=!1;return t&&e?(L()(utils).call(utils,e,t)&&("."!==t[e.length]&&void 0!==t[e.length]||(n=!0)),n):n},isVisibleInContainer(e,t,n){var i=!1;t=t||me().getDomNode("body");var r=e.getBoundingClientRect(),o=t.getBoundingClientRect();return(n=n||{top:!0,bottom:!0}).top&&(i=r.top>=o.top),n.bottom&&(i=r.bottom<=o.bottom),i},capitalize(e){if(e){for(var t=e.toLowerCase(),n=t.split("_"),i="",r=b()(t).call(t,"_")>-1,o=0;o191&&i<224?(r=e.charCodeAt(n+1),t+=String.fromCharCode((31&i)<<6|63&r),n+=2):(r=e.charCodeAt(n+1),o=e.charCodeAt(n+2),t+=String.fromCharCode((15&i)<<12|(63&r)<<6|63&o),n+=3);return t},parseShortIndianNumeric:be,parseIndianNumeric:Se,formatMetricUnit:(e,t)=>"number"!=typeof e?"Parse Error":t?be(Math.round(e)):Se(Math.round(e)),formatMetricCurrency:(e,t)=>"number"!=typeof e?"Parse Error":t?be(Math.round(e)):Se(Math.round(e)),formatMetricRating:e=>"number"!=typeof e?"Parse Error":e.toFixed(1),formatMetricValues:e=>"number"!=typeof e?"Parse Error":e.toFixed(2),parseCustomIndianNumeric:e=>"number"!=typeof e?"Parse Error":((e+="").length<6?Se(s()(e,10)):be(s()(e,10)),e.length<6?Se(s()(e)):be(s()(e))),getUserNameAndType(e){var t=new RegExp(/^\d{10}$/);if(b()(e).call(e,"/")>=0){var n=e.split("/");return e=n[0],{name:n[1],displayName:n[0],isOnBehalf:!0,type:"email"}}return b()(e).call(e,"@")>=0?{name:e,type:"email"}:t.test(e)?{name:e,type:"mobileNumber"}:{name:e,type:"displayName"}},swapArrayItems:(e,t,n)=>{var i=[...e],r=i[t];return i[t]=i[n],i[n]=r,i},swapMapItems:(e,t,n)=>{var i=Ce({},e);return Ce(Ce({},i),{},{[t]:e[n],[n]:e[t]})},isDomain2gud(){var e;return b()(e=window.location.href).call(e,"2gud.com")>-1},setMetaTagsSEO(e,t,n,i,r,o){var a,s,c,u,p=document.getElementsByTagName("meta"),h=d()(a=K()(p)).call(a,e=>"og_title"===e.name),m=d()(s=K()(p)).call(s,e=>"Description"===e.name),f=d()(c=K()(p)).call(c,e=>"Keywords"===e.name);if(t)document.title=t;else if(""!==e){var g;document.title=l()(g="".concat(e," | ")).call(g,t)}else document.title=t;if(h)h.content=e;else{var _=document.createElement("meta");_.setAttribute("name","og_title"),_.setAttribute("property","og:title"),_.content=e,document.getElementsByTagName("head")[0].appendChild(_)}m.content=n,f.content=i;var y=document.getElementsByTagName("link");if(!d()(u=K()(y)).call(u,e=>"canonical"===e.rel)){var C=document.createElement("link");C.setAttribute("rel","canonical"),C.setAttribute("href",r),document.getElementsByTagName("head")[0].appendChild(C)}o&&(null==o||v()(o).call(o,e=>{var t=document.createElement("script");t.type="application/ld+json",t.textContent=z()(e),document.head.appendChild(t)}))},isSellerLoggedin:()=>!!fe.A.getCookie("is_login"),removeCountryPrefixFromNumber(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";return"+91"===e.substr(0,3)?e.substr(3):e},faqScriptTagSEO(e){var t,n=document.getElementsByTagName("script");if(!d()(t=K()(n)).call(t,e=>"application/ld+json"===e.type)){var i={"@context":"https://schema.org","@type":"FAQPage"};i.mainEntity=v()(e).call(e,e=>({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer}}));var r=document.createElement("script");r.setAttribute("type","application/ld+json"),r.text=z()(i),document.getElementsByTagName("head")[0].appendChild(r)}}}},24355:(e,t,n)=>{"use strict";n.d(t,{A:()=>g});var i=n(86247),r=n.n(i),o=n(36586),a=n.n(o),s=n(67943);n(38338);var c=new ClientJS;function l(){this.deviceId=d(),this.deviceInfo=c.getBrowserData()}function u(){return c.isMobile()}function d(){var e,t,n,i=s.A.getItem("__deviceId"),r=[];return i||(t=(e={})&&e.device&&e.device.ID,n=c.getFingerprint(),t&&r.push(t),n&&r.push(n),function(e){s.A.setItem("__deviceId",e)}(i=r.join("_-_"))),i}function p(){return navigator.userAgent.match(/(SD_WEBVIEW)/i)}function h(){return a()(c.getCurrentResolution().split("x")[0])}var m=()=>{var e=h();return e>=768&&e<=1279&&!p()},f=()=>h()<=767&&!p();const g={getDeviceInfo:function(){return{augurInfo:{},clientJsInfo:new l}},getDeviceId:function(){return d()},isMobileDevice:function(){return u()},isWebview:p,isMsite:f,isTablet:m,isDesktop:()=>!p()&&!m()&&!f(),isAndroid:function(){var e;return r()(e=navigator.userAgent.toLocaleLowerCase()).call(e,"android")},getScreenWidth:h,getEnv:function(){var e="WEB";return u()&&(e="MSITE"),m()&&(e="TABLET"),p()&&(e="WEBVIEW"),e}}},29046:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>f});var i=n(96319),r=n.n(i),o=n(71426),a=n.n(o),s=n(18979),c=n.n(s),l=(n(96486),n(19755)),u=n.n(l);function d(e){this._node=u()(e),this.elem=this._node[0]}function p(e){this._nodeCollection=e;for(var t=0;t1?this:e},this.remove=function(){return this._nodeCollection.remove(),this},this.serializeArray=function(){return this._nodeCollection.serializeArray()},this.off=function(){return this._nodeCollection.off.apply(this._nodeCollection,arguments),this},this.animate=function(){return this._nodeCollection.animate.apply(this._nodeCollection,arguments),this},this.window=function(){var e=this.getDomNode(0);return e?e.window():null},this.getDomNode=function(e){return this[e]},this.trigger=function(e,t){this._nodeCollection.trigger(e,t)},this.prev=function(){return new p(this._nodeCollection.prev.apply(this._nodeCollection,arguments))},this.next=function(){return new p(this._nodeCollection.next.apply(this._nodeCollection,arguments))},this.toggle=function(){this._nodeCollection.toggle.apply(this._nodeCollection,arguments)},this.not=function(){return this._nodeCollection.not.apply(this._nodeCollection,arguments)},this.toggleClass=function(){return this._nodeCollection.toggleClass.apply(this._nodeCollection,arguments),this},this.scrollTop=function(){return this._nodeCollection.scrollTop.apply(this._nodeCollection,arguments)},this.scroll=function(){return this._nodeCollection.scroll.apply(this._nodeCollection,arguments)},this.wrapInner=function(){return new d(this._nodeCollection.wrapInner.apply(this._nodeCollection,arguments))},this.getDomElement=function(){return this._nodeCollection[0]},this.slideUp=function(){return this._nodeCollection.slideUp.apply(this._nodeCollection,arguments),this},this.slideDown=function(){return this._nodeCollection.slideDown.apply(this._nodeCollection,arguments),this},this.empty=function(){return this._nodeCollection.empty.apply(this._nodeCollection,arguments),this},this.index=function(){return this._nodeCollection.index.apply(this._nodeCollection,arguments)},this.hover=function(){return this._nodeCollection.hover.apply(this._nodeCollection,arguments),this},this.onLoad=function(){return this._nodeCollection.load.apply(this._nodeCollection,arguments),this},this.getBoundingClientRect=function(){var e;return this._nodeCollection.get(0).getBoundingClientRect&&(e=this._nodeCollection.get(0).getBoundingClientRect()),e},this.each=function(){return this._nodeCollection.each.apply(this._nodeCollection,arguments),this},this.fadeOut=function(){return this._nodeCollection.fadeOut.apply(this._nodeCollection,arguments),this},this.delay=function(){return this._nodeCollection.delay.apply(this._nodeCollection,arguments),this}}d.prototype={prependDOM:function(e){return this._node.prepend(e._nodeCollection||e._node),this},appendDOM:function(e){return this._node.append(e._nodeCollection||e._node),this},unbind:function(e){return this._node.unbind(e),this},setHtml:function(e){return this._node.html(e),this},getHtml:function(){return this._node.html()},setText:function(e){return this._node.text(e),this},getText:function(){return this._node.text()},getData:function(e){return this._node.data(e)},setData:function(e,t){return this._node.data(e,t),this},addClass:function(e){return this._node.addClass(e),this},removeClass:function(e){return this._node.removeClass(e),this},hasClass:function(e){return this._node.hasClass(e)},onLoad:function(){return this._node.load.apply(this._node,arguments),this},on:function(){return this._node.on.apply(this._node,arguments),this},one:function(){return node.one.apply(node,arguments),this},filter:function(e){var t;return new p(r()(t=this._node).call(t,e))},children:function(e){var t=this._node.children(e);return new p(t)},find:function(e,t,n){var i,r=a()(i=this._node).call(i,e);return null!=t&&null==n?r=new d(r[t]):(t=t||r.length-1,n=n||0,r=new p(c()(r).call(r,n,t+1))),r},val:function(e){return void 0!==e?(this._node.val(e),this):this._node.val()},is:function(e){return this._node.is(e)},text:function(){return this._node.text.apply(this._node,arguments)},getParent:function(e){return new p(this._node.parent(e))},siblings:function(e){return new p(this._node.siblings(e))},getParents:function(e){return new p(this._node.parents(e))},closest:function(e){return new p(this._node.closest(e))},attr:function(e,t){return void 0!==t?(this._node.attr(e,t),this):this._node.attr(e)},prop:function(e,t){return void 0===t?(this._node.prop(e,t),this):this._node.prop(e)},focus:function(){return this._node.focus(),this},blur:function(){return this._node.blur(),this},offset:function(){return this._node.offset()},removeAttr:function(e){return this._node.removeAttr(e),this},show:function(){return this._node.show.apply(this._node,arguments),this},hide:function(){return this._node.hide.apply(this._node,arguments),this},height:function(){return this._node.height.apply(this._node,arguments)},width:function(){return this._node.width.apply(this._node,arguments)},outerHeight:function(){return this._node.outerHeight.apply(this._node,arguments)},outerWidth:function(){return this._node.outerWidth.apply(this._node,arguments)},scrollHeight:function(){return this._node.prop("scrollHeight")},css:function(){var e=this._node.css.apply(this._node,arguments);return arguments.length>1?this:e},remove:function(){return this._node.remove(),this},serializeArray:function(){return this._node.serializeArray()},off:function(){return this._node.off.apply(this._node,arguments),this},window:function(){return this._node.get(0).contentWindow},length:function(){return this._node.length},animate:function(){return this._node.animate.apply(this._node,arguments),this},trigger:function(e,t){this._node.trigger(e,t)},clone:function(){return this._node.clone()},prev:function(){return new p(this._node.prev.apply(this._node,arguments))},next:function(){return new p(this._node.apply(this._node,arguments))},toggle:function(){return this._node.toggle.apply(this._node,arguments),this},toggleClass:function(){return this._node.toggleClass.apply(this._node,arguments),this},scrollTop:function(){return this._node.scrollTop.apply(this._node,arguments)},scroll:function(){return this._node.scroll.apply(this._node,arguments)},getDomElement:function(){return this.elem},wrapInner:function(){return this._node.wrapInner.apply(this._node,arguments),this},slideUp:function(){return this._node.slideUp.apply(this._node,arguments),this},slideDown:function(){return this._node.slideDown.apply(this._node,arguments),this},empty:function(){return this._node.empty.apply(this._node,arguments),this},index:function(){return this._node.index.apply(this._node,arguments)},hover:function(){this._node.hover.apply(this._node,arguments)},getBoundingClientRect:function(){var e;return this._node.get(0).getBoundingClientRect&&(e=this._node.get(0).getBoundingClientRect()),e},each:function(){this._node.each.apply(this._node,arguments)},fadeOut:function(){return this._node.fadeOut.apply(this._node,arguments),this},delay:function(){return this._node.delay.apply(this._node,arguments),this}},h.prototype=new Array,p.prototype=new h,p.constructor=p;var m=function(e){return new p(u()(e))};const f={getDomNode:function(e){return m(e)}}},43578:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>o});var i=n(67943),r=n(71401);const o={setConfig:function(e,t,n){return n?r.A.setItem(e,t):i.A.setItem(e,t)},getConfig:function(e,t){return t?r.A.getItem(e):i.A.getItem(e)},clearConfig:function(e,t){return t?r.A.clearItem(e):i.A.clearItem(e)}}},43899:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>l});var i=n(61240),r=n.n(i),o=n(44965),a=n.n(o),s=(n(78985),n(71280));function c(e){this.fetchApi=e.fetchApi,this.updateApi=e.updateApi,this.updateWithPutApi=e.updateWithPutApi,this.deleteApi=e.deleteApi,this.value=null}c.prototype={fetch:function(e,t){var n=this;return a().getJSON(this.fetchApi,e,t).then(function(e){return n.value=e,e})},update:function(e,t,n){var i;return i=n?this.updateApi+"?"+a().getQueryStringForObject(n):this.updateApi,a().postJSON(i,e,t)},updateWithPut:function(e,t,n){var i;return i=n?this.updateWithPutApi+"?"+a().getQueryStringForObject(n):this.updateWithPutApi,a().putJSON(i,e,t)},del:function(e,t,n){var i;return i=n?this.deleteApi+"?"+a().getQueryStringForObject(n):this.deleteApi,a().deleteJSON(i,e,t)},getCanceller:function(){var e={},t=new(r())(function(t,n){e.reject=n,e.resolve=t});return e.promise=t,e},postMultipart:function(e,t){var n,i=new XMLHttpRequest;return n=t?this.updateApi+"?"+a().getQueryStringForObject(t):this.updateApi,new(r())(function(t,r){i.open("POST",n),i.setRequestHeader("fk-csrf-token",(0,s.readCSRFToken)()),i.onload=t,i.onerror=r,i.send(e)})}};const l=c},47188:(e,t,n)=>{"use strict";n.r(t),n.d(t,{readCSRFToken:()=>a});var i=n(43578),r=n(24355),{isWebview:o}=r.A,a=()=>{var e=document.querySelector("#seller_session_unique_token");if(o()&&e&&e.value)return e.value;var t=i.default.getConfig("sellerConfig");return t&&t.csrfToken?t.csrfToken:void 0}},51473:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(86226),r=n.n(i),o=n(67943),a=n(80257);const s={init:()=>{var e,t,n,i=a.A.getParams(),s=(t=location.href&&location.href.split("?")[1]||"",n={},r()(e=t.split("&")).call(e,function(e){var t=e.split(/[=#]/);n[t[0]]=decodeURIComponent(t[1])}),n),c=s.utm_source?s.utm_source:i.utm_source||"Direct",l=s.utm_medium?s.utm_medium:i.utm_medium||"",u=s.utm_campaign?s.utm_campaign:i.utm_campaign||"",d=s.utm_term?s.utm_term:i.utm_term||"";o.A.setItem("source",c),o.A.setItem("medium",l),o.A.setItem("campaign",u),o.A.setItem("term",d)}}},67943:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(85569),r=n.n(i),o=n(80257);function a(){return!!o.A.getParam("sellerId")&&o.A.getParam("sellerId")}const s={setItem:function(e,t){var n=localStorage.getItem("__appData")||"{}";try{if(null==n||""===n)throw new Error("invalidJSONString",n);n=JSON.parse(n)}catch(e){console.debug(e),n={}}return a()?(n[a()]=n[a()]||{},n[a()][e]=t,localStorage.setItem("__appData",r()(n))):(n[e]=t,localStorage.setItem("__appData",r()(n)))},getItem:function(e){var t=localStorage.getItem("__appData")||"{}";try{if(null==t||""===t)throw new Error("invalidJSONString",t);t=JSON.parse(t)}catch(e){console.debug(e),t={}}return a()&&t[a()]?t[a()][e]:t[e]},clearItem:function(e){var t=localStorage.getItem("__appData")||"{}";return e?t?(t=JSON.parse(t),a()&&t[a()]?(delete t[a()][e],localStorage.setItem("__appData",r()(t))):(delete t[e],localStorage.setItem("__appData",r()(t)))):void 0:(t={},localStorage.setItem("__appData",r()(t)))},setValue:function(e,t){return localStorage.setItem(e,r()(t))},getValue:function(e){return localStorage.getItem(e)},deleteValue:function(e){localStorage.removeItem(e)}}},69484:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>pe});var i=n(86226),r=n.n(i),o=n(64007),a=n.n(o),s=n(96319),c=n.n(s),l=n(86247),u=n.n(l),d=n(85569),p=n.n(d),h=n(43981),m=n.n(h),f=n(12151),g=n(12408),v=n(78985),_=n.n(v),y=n(90371),C=n.n(y),w=n(74813),A=n.n(w),b=n(96486),S=n.n(b),I=n(33012),D=!1,N="//www.google-analytics.com/analytics.js",P="ga",k=window.GoogleAnalyticsObject=P;const T={init:function(e,t){var n=this;if(!D)return window[k]=window[k]||function(){(window[k].q=window[k].q||[]).push(arguments)},window[k].l=1*new Date,window[k](function(){n.createTracker(e.trackingId),D=!0,I.PubSubHelper.publish("GOOGLE_ANALYTICS","GOOGLE_ANALYTICS_READY")}),g.A.loadScript(N,!0);console.warn("Google Analytics can be initialised only once!")},setPage:function(e){window[k]("set","page",e)},identity:function(e){window[k].push(["identify",e])},createTracker:function(e){window[k]("create",e,"auto")},trackPageView:function(e){e?window[k]("send","pageview",[e]):window[k]("send","pageview")},trackException:function(e,t){window[k]("send","exception",{exDescription:p()({m:e.message,f:e.filename,l:e.lineno}),exFatal:t})},track:function(e){e=g.A.isArray(e)?e:[e];r()(S()).call(S(),e,function(e){e.category&&"ads"===e.category.toLowerCase()&&e.label&&(e.label=""),window[k]("send","event",e.category,null!=e.action?e.action:e.name,e.label,e.value)})},destroy:function(){return D=!1,delete window[k]}};var O=n(86863),B=n(50697),E=n.n(B),R=n(26100),M=n.n(R),x=n(78928),L=n.n(x),U=n(36751),j=n.n(U),F=n(25110),H=n.n(F),V=n(53930),W=n.n(V),G=n(97857),J=n(27484),q=n.n(J),K=n(27361),Q=n.n(K),z=n(24355),Y=n(8891),$=n.n(Y),X=n(51473);function Z(e,t){var n=E()(e);if(M()){var i=M()(e);t&&(i=c()(i).call(i,function(t){return L()(e,t).enumerable})),n.push.apply(n,i)}return n}function ee(e){for(var t=1;t1&&void 0!==arguments[1]?arguments[1]:{};if(oe){var n;e=e.shift();var i={Channel:ie,Category:e.category,Page:e.page,Seller_ID:Q()(re,"sellerId","NA"),MP_account_ID:Q()(re,"userId","NA")},r=g.A.isArray(t)?t[0]:t;null!==(n=e)&&void 0!==n&&n.promotion&&(i.Promotion=e.promotion),function(e){X.A.init();var t=_().getConfig("source"),n=_().getConfig("medium"),i=_().getConfig("campaign"),r=_().getConfig("term");"Direct"!==t&&(t&&(e.UTM_source=t),n&&(e.UTM_medium=n),i&&(e.UTM_campaign=i),r&&(e.UTM_term=r))}(i),i=ee(ee({},i),r),$().track(e.name,i)}}};var le=g.A,ue=z.A.getDeviceInfo();function de(e,t){var n=[];return r()(le).call(le,t,function(t,i){(!t.length||a()(t).call(t,e)>-1)&&n.push(i)}),n}const pe={_curry:function(e,t,n){var i=this,o=!1;!t||g.A.isString(t)||t.eventTrackers||(t.eventTrackers=de(t.category,i.whiteListedCategoriesByTracker));var s,l,d=i.oTrackers;return le.has(i,"allowedEventTrackers")&&i.allowedEventTrackers.length>0&&(s=i.oTrackers,l=i.allowedEventTrackers,d=c()(s).call(s,e=>u()(l).call(l,e.identifier))),r()(le).call(le,d,function(i){var r;o=!0,t&&t.eventTrackers&&a()(r=t.eventTrackers).call(r,i.identifier)<0&&(o=!1),o?i[e]&&i[e](t,n):console.info("Blacklisted event suppressed: "+p()(t))}),o},init:function(e){var t=this,n=[];return t.hasInitialised=!1,t.oTrackers=[],t.whiteListedCategoriesByTracker={},r()(le).call(le,e.trackers,function(e){var i,r,o,a,s;switch(e.trackerName){case"Google Analytics":o=e.config.trackingId,e.config.trackingId&&g.A.isFunction(e.config.trackingId)&&(o=e.config.trackingId.call(t,_())),i=T.init({trackingId:o}),(r=T).identifier="GA";break;case"Seller Analytics":o=e.config.trackingId,a=e.config.sellerId,e.config.trackingId&&g.A.isFunction(e.config.trackingId)&&(o=e.config.trackingId.call(t,_())),e.config.sellerId&&g.A.isFunction(e.config.sellerId)&&(a=e.config.sellerId.call(t,_())),i=O.A.init({trackingId:o,identity:a}),(r=O.A).identifier="SA";break;case"Mixpanel":o=e.config.trackingId,a=e.config.sellerId,s=e.config.userId,o&&g.A.isFunction(o)&&(o=o.call(t,_())),a&&g.A.isFunction(a)&&(a=a.call(t,_())),s&&g.A.isFunction(s)&&(s=s.call(t,_())),i=ce.init({trackingId:o,identity:a,userId:s}),(r=ce).identifier="MP"}t.whiteListedCategoriesByTracker[r.identifier]=e.whiteListedCategories||[],t.oTrackers.push(r),n.push(i)}),I.PubSubHelper.subscribe({eventName:"ROUTE_CHANGE_SUCCESSFUL",callback:t.onPageChange,type:"KEEP_ON",context:t}),f.A.getPromise(function(e,i){try{f.A.all(n).then(function(){t.hasInitialised=!0,e()})}catch(e){i(e)}})},setPage:function(e){return this._curry("setPage",e)},identify:function(e){return this._curry("identity",e)},track:function(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:["GA","SA"],i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return function(e){t.allowedEventTrackers=n;var r=t,o=(e=g.A.isArray(e)?e:[e],g.A.isArray(i)?i:[i]),a=r._curry("track",e,o);return console.debug("Analytics captured:",e),a}(e)},trackPageView:function(e,t){var n=this._curry("trackPageView",e,t);return console.debug("Analytics captured pageview:",e,t),n},trackPageEvents:function(){var e=this,t=C().getDomNode("*[analytics-on][analytics-state!='tracked']"),n=[];return r()(le).call(le,t,function(t){var i=(t.attr("analytics-on")||"load").split(",");r()(le).call(le,i,function(i){var r=t.attr(i+"-category")||t.attr("analytics-category"),o=t.attr(i+"-action")||t.attr("analytics-action"),a=t.attr(i+"-label")||t.attr("analytics-label"),s=t.attr(i+"-value")||t.attr("analytics-value"),c={name:i,category:r,action:o,eventTrackers:de(r,e.whiteListedCategoriesByTracker)};a&&g.A.isString(a)&&(c.label=a),s&&g.A.isNumeric(s)&&(s=m()(s),c.value=s),"load"===i?n.push(e.trackPageView(c,{deviceInfo:ue})):(t.on(i,function(){n.push(e.track(c))}),console.debug("Analytics attached for",t,"on",i))})}),t.attr("analytics-state","tracked"),n},onPageChange:function(e){var t,n="/"+((t=A().getCurrentRoute())&&t.path);this.setPage(n),this.trackPageView(n,{deviceInfo:ue,state:e.state,params:e.params,fromState:e.fromState})},destroy:function(){return this.hasInitialised=!1,this._curry("destroy")}}},71401:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var i=n(85569),r=n.n(i);const o={setItem:function(e,t){var n=sessionStorage.getItem("__appData");return(n=null==n?{}:JSON.parse(n))[e]=t,sessionStorage.setItem("__appData",r()(n))},getItem:function(e){var t=sessionStorage.getItem("__appData");return(t=null==t?{}:JSON.parse(t))[e]},clearItem:function(e){var t=sessionStorage.getItem("__appData");return e?t?(delete(t=JSON.parse(t))[e],sessionStorage.setItem("__appData",r()(t))):void 0:(t={},sessionStorage.setItem("__appData",r()(t)))}}},73535:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var i=n(41368);const r={cookie:function(){var e=[...arguments];if(1===e.length)return i.A.get(e[0]);i.A.set(e[0],e[1],e[2])},getCookie:function(e){return i.A.get(e)},setCookie:function(e,t,n){i.A.set(e,t,n)},removeCookie:function(e){i.A.remove(e)}}},80257:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var i=n(86226),r=n.n(i),o=n(12408),a=o.A;const s={parseUrl:function(e){var t,n,i,r=document.createElement("a");return r.href=e,t=r.protocol||location.protocol,n=r.hostname||location.hostname,i=r.port||location.port,{source:e,protocol:t.replace(":",""),host:n,port:i,query:r.search,hash:r.hash.replace("#",""),path:r.pathname.replace(/^([^/])/,"/$1"),segments:r.pathname.replace(/^\//,"").split("/"),params:function(){var e,t,n,i,o={};for(n=(t=r.search.replace(/^.*\?/,"").split("&")).length,i=0;i{Promise.all([n.e(9242),n.e(2341),n.e(995),n.e(7036)]).then(n.bind(n,36470))},86863:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var i=n(85569),r=n.n(i),o=n(27361),a=n.n(o),s=n(12151),c=n(78985),l=n.n(c),u=n(12408),d=n(24355),p=n(80257);const h={"dashboard.home-page":{identifier:"homepageDB",application:"SellerHomepage",pageName:"Seller Home Page"},"dashboard.metrics.overview":{identifier:"metricDB",application:"Performance",pageName:"Overview"},"dashboard.metrics.overview.serviceQuality.dispatchBreaches":{identifier:"metricDB",application:"Performance",pageName:"Overview - Service Quality - Dispatch Breaches"},"dashboard.metrics.overview.serviceQuality.sellerCancellation":{identifier:"metricDB",application:"Performance",pageName:"Overview - Service Quality - Seller Cancellations"},"dashboard.metrics.overview.serviceQuality.procurementTime":{identifier:"metricDB",application:"Performance",pageName:"Overview - Service Quality - Procurement Time"},"dashboard.metrics.overview.productQuality.customerReturns":{identifier:"metricDB",application:"Performance",pageName:"Overview - Product Quality - Customer Returns"},"dashboard.metrics.overview.productQuality.productRatings":{identifier:"metricDB",application:"Performance",pageName:"Overview - Product Quality - Product Ratings"},"dashboard.metrics.overview.sales.revenue":{identifier:"metricDB",application:"Performance",pageName:"Overview - Sales - Revenue (In Rupees)"},"dashboard.metrics.returns":{identifier:"metricDB",application:"Performance",pageName:"Returns Insights"},"dashboard.metrics.overview.sales.unitsSold":{identifier:"metricDB",application:"Performance",pageName:"Overview - Sales - Units Sold (In Units)"},"dashboard.metrics.overview.sales.conversion":{identifier:"metricDB",application:"Performance",pageName:"Overview - Sales - Conversions"},"dashboard.metrics.insights":{identifier:"metricDB",application:"Performance",pageName:"Growth Opportunities"},"dashboard.metrics.product.trendingInsight":{identifier:"metricDB",application:"Performance",pageName:"Growth Opportunities - New Product Opportunities - Product Types"},"dashboard.metrics.product.hotSellingInsight":{identifier:"metricDB",application:"Performance",pageName:"Growth Opportunities - New Product Opportunities - Specific Products"},"dashboard.metrics.productsToStockInsight":{identifier:"metricDB",application:"Performance",pageName:"Growth Opportunities - Products to Stock"},"dashboard.metrics.priceAndCatalogInsight":{identifier:"metricDB",application:"Performance",pageName:"Growth Opportunities - Price Suggestions"},"dashboard.metrics.businessReports":{identifier:"metricDB",application:"Performance",pageName:"Reports"},"dashboard.metrics.generateBusinessReports":{identifier:"metricDB",application:"Performance",pageName:"Reports - Generate Reports"},"dashboard.metrics.viewGeneratedBusinessReports":{identifier:"metricDB",application:"Performance",pageName:"Reports - View Generated Reports"},"dashboard.metrics.productRatings":{identifier:"metricDB",application:"Performance",pageName:"Overview - Product Ratings Detail"},"dashboard.metrics.customerReturns":{identifier:"metricDB",application:"Performance",pageName:"Overview - Customer Returns Detail"},"dashboard.metrics.grossRevenue":{identifier:"metricDB",application:"Performance",pageName:"Overview - Gross Revenue Detail"},"dashboard.metrics.unitsSold":{identifier:"metricDB",application:"Performance",pageName:"Overview - Units Sold Detail"},"dashboard.metrics.dispatchBreaches":{identifier:"metricDB",application:"Performance",pageName:"Overview - Dispatch Breaches Detail"},"dashboard.metrics.sellerCancellation":{identifier:"metricDB",application:"Performance",pageName:"Overview - Seller Cancellation Detail"},"dashboard.metrics.otherMetrics.sellerRating":{identifier:"metricDB",application:"Performance",pageName:"Overview - Seller Rating Detail"},"dashboard.metrics.otherMetrics.pickupReattempt":{identifier:"metricDB",application:"Performance",pageName:"Overview - Pickup Reattempt Detail"},"dashboard.metrics.otherMetrics.listingOverview":{identifier:"metricDB",application:"Performance",pageName:"Overview - Listing Overview Detail"},"dashboard.addListings":{checkStateParam:!0,paramName:"type",ignoreParams:!0,paramDataMap:{single:{identifier:"listingsDB",application:"Listings",pageName:"Add Listings - Single"},bulk:{identifier:"listingsDB",application:"Listings",pageName:"Add Listings - Bulk"}}},"dashboard.listingsInProgress":{ignoreParams:!0,identifier:"listingsDB",application:"Listings",pageName:"Listings In Progress"},"dashboard.unifiedInventoryNew":{ignoreParams:!0,identifier:"listingsDB",application:"Inventory",pageName:"Inventory Health"},"dashboard.listingsManagement":{checkStateParam:!0,paramName:"listingState",paramDataMap:{ACTIVE:{identifier:"listingsDB",application:"Listings",pageName:"Listings Management - ACTIVE"},READY_FOR_ACTIVATION:{identifier:"listingsDB",application:"Listings",pageName:"Listings Management - READY_FOR_ACTIVATION"},INACTIVATED_BY_FLIPKART:{identifier:"listingsDB",application:"Listings",pageName:"Listings Management - INACTIVATED_BY_FLIPKART"},INACTIVE:{identifier:"listingsDB",application:"Listings",pageName:"Listings Management - INACTIVE"},ARCHIVED:{identifier:"listingsDB",application:"Listings",pageName:"Listings Management - ARCHIVED"}}},"dashboard.myOrders":{identifier:"ordersDB",application:"Orders",pageName:"My Orders"},"dashboard.lending":{checkStateParam:!0,paramName:"page",paramDataMap:{LANDING:{identifier:"metricDB",application:"lending",pageName:"Seller Finance - Offer List"},APPLICATIONS_DETAILS:{identifier:"metricDB",application:"lending",pageName:"Seller Finance - Application Form"}}},"selfSignup.onboardingAccountCreation":{identifier:"metricDB",application:"Seller Onboarding",pageName:"Sign Up"},sellerSignUp:{identifier:"metricDB",application:"Seller Onboarding",pageName:"Sign Up"},"dashboard.sellerOnboarding":{checkStateParam:!0,paramName:"onboardingState",paramDataMap:{CHECK_SERVICEABILITY:{identifier:"metricDB",application:"Seller Onboarding",pageName:"Seller Onboarding - Check Serviceability"},BUSINESS_DETAILS:{identifier:"metricDB",application:"Seller Onboarding",pageName:"Seller Onboarding - Business Details"},BANK_DETAILS:{identifier:"metricDB",application:"Seller Onboarding",pageName:"Seller Onboarding - Bank Details"},REGISTRATION:{identifier:"metricDB",application:"Seller Onboarding",pageName:"Seller Onboarding - Registration"}}},"dashboard.metrics.reports":{checkStateParam:!0,paramName:"invoices",paramDataMap:{true:{identifier:"metricDB",application:"Payments",pageName:"Invoices"}}},"dashboard.fa":{identifier:"metricDB",application:"Payments",pageName:"Flipkart fulfilment Reports"},"dashboard.payments-previous-payments.filter.type":{checkStateParam:!0,paramName:"type",ignoreParams:!0,paramDataMap:{default:{identifier:"metricDB",application:"Payments",pageName:"Previous Payments"}}},"dashboard.transactions-details":{identifier:"metricDB",application:"Payments",pageName:"Transactions"},"dashboard.payments-statements":{identifier:"metricDB",application:"Payments",pageName:"Statements"},"dashboard.payments-account-summaryV2":{identifier:"metricDB",application:"Payments",pageName:"Account Summary V2"},"dashboard.sellerSupport.issueManagementComposite.tickets":{identifier:"SPF Claims",application:"Seller Support",pageName:"Your Tickets Dashboard / General Tickets"}};var m=n(10966),f=n(67943),g=n(51473),{isMobileDevice:v,isWebview:_}=d.A,y="web";v()&&(y=_()?"mobile_webview":"mobile");var C={trackModelUpdateApi:{url:"/snoopyIngestion",params:{event:{channel:y,org:"SP"}}}};function w(e,t){e.child?w(e.child,t):e.child={name:t}}const A={init(){var e=this;return"supportDashboard"!==(l().getConfig("sellerConfig")||{}).requestType&&g.A.init(),s.A.getPromise((t,n)=>{try{e.payloadParams=C.trackModelUpdateApi,e.eventCounter=0,e.flowCounter=0,e.previousPage="",t()}catch(e){n(e)}})},track(e){var t=this,n=u.A.merge({},t.payloadParams.params);e=e.shift(),t.previousPage!==p.A.getHash()&&(t.flowCounter+=1,t.previousPage=p.A.getHash());try{null!=e.identifier&&null!=e.entity&&(n.type=e.identifier,n.event.action=e.action,n.event.entity=u.A.merge({},e.entity),n.event.data_category=e.category,n.event.value=r()(e.value||{}),n.event.page_load_id=p.A.getHash(),n.event.event_no=String(t.flowCounter),n.event.flow_id=String(t.flowCounter),n.event.source=f.A.getItem("source")||"Direct",n.event.medium=f.A.getItem("medium")||null,n.event.term=f.A.getItem("term")||null,n.event.campaign=f.A.getItem("campaign")||null,e.actionOn&&w(n.event.entity,e.actionOn),m.default.postJson(C.trackModelUpdateApi.url,n))}catch(e){console.error(e)}},trackPageView(e,t){var n=h[t.state],i=t.fromState||"",r=a()(n,"paramName"),o=a()(t,"params.".concat(r)),s=a()(n,"paramDataMap.".concat(o));if(a()(n,"ignoreParams")&&t.state===i)return!0;a()(n,"checkStateParam")&&s?this.track([{identifier:s.identifier,entity:{name:s.application,child:{name:s.pageName}},action:"LOAD",value:t}]):n&&this.track([{identifier:n.identifier,entity:{name:n.application,child:{name:n.pageName}},action:"LOAD",value:t}])}}},89986:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>h});var i,r=n(64007),o=n.n(r),a=n(85569),s=n.n(a),c=n(19755),l=n.n(c),u=n(12151),d=n(12408);function p(e){return u.A.getPromise(function(t,n){var r;function a(e){m=!0,t(e)}function c(e){m=!0,n(e)}var u,p={url:e.url,method:e.method||"GET",dataType:e.dataType||"json",data:e.params||{},headers:e.headers||{},processData:e.processData,contentType:e.contentType||!1},h={success:function(e,n,r){i&&i.success&&i.success({statusCode:r.status,response:e,resolve:a,reject:c}),t(e)},error:function(e){i&&i.error&&i.error({statusCode:e.status,response:e.responseJSON||e.responseText,resolve:a,reject:c}),n(e.responseJSON||e.responseText)},complete:function(t){i&&i.complete&&i.complete({statusCode:t.status,response:t.responseJSON||t.responseText,resolve:a,reject:c}),e.canceller&&e.canceller.resolve()}},m=!1;if(i&&i.start&&i.start({params:p,resolve:a,reject:c}),p.contentType&&o()(r=p.contentType).call(r,"application/json")>-1)try{p.data=s()(p.data)}catch(e){console.error("contentType for ajax call set to application/json but the content is not json")}m?e.canceller&&e.canceller.resolve():(u=l().ajax(d.A.extend(p,h)),e.canceller&&e.canceller.promise.then(function(){},function(){u.abort()}))})}const h={getJSON:function(e,t,n){return n=n||{},p(n=d.A.extend(n,{url:e,method:"GET",params:t}))},postJSON:function(e,t,n){return n=n||{},p(n=d.A.extend(n,{url:e,method:"POST",contentType:"application/json",params:t}))},ajax:function(e){return p(e)},putJSON:function(e,t,n){return n=n||{},p(n=d.A.extend(n,{url:e,method:"PUT",params:t}))},deleteJSON:function(e,t,n){return n=n||{},p(n=d.A.extend(n,{url:e,method:"DELETE",params:t}))},postMultipart:function(e,t,n){return n=n||{},p(n=d.A.extend(n,{url:e,method:"POST",contentType:!1,params:t}))},getQueryStringForObject:function(e){return e?l().param(e):""},configure:function(e){i=e}}}},e=>{e.O(0,[903,5639],()=>{return t=83475,e(e.s=t);var t});e.O()}]);