PageSourceSearch

https://www.tataplay.com/build/3921.4f4cf5a74adfa2fb78b7.js

js tataplay.com collected 2026-10-01 10:28:06 UTC 4,976 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunktataplay_getconnection=self.webpackChunktataplay_getconnection||[]).push([[3921],{56276(e,s,a){var t=a(96540),n=a(82300),r=a(97965),i=a(74848);const c=(0,r.Ng)(e=>({isSticky:e.commonReducer.isSticky}),null)(e=>{const{destination:s,isSticky:a}=e;return(0,i.jsx)(t.Fragment,{children:s&&(0,i.jsx)("div",{className:a?"common-back back-button fix":"common-back back-button",children:(0,i.jsxs)(n.A,{to:s,className:"item-anchor",children:[(0,i.jsx)("i",{className:"icon-left-arrow",title:"Back"}),(0,i.jsx)("span",{children:"Back"})]})})})});a.d(s,["A",0,c])},82300(e,s,a){var t=a(96540),n=a(5556),r=a.n(n),i=a(91249),c=a(71519),d=a(74848);const l=e=>{const{to:s,children:a}=e;let n=null;return n=(0,i.A)("urlHTTP").test(String(s).toLowerCase())?(0,d.jsx)("a",{href:s,children:a}):(0,d.jsx)(c.N_,{to:s,children:a}),(0,d.jsx)(t.Fragment,{children:n})};l.propTypes={to:r().string.isRequired};const o=l;a.d(s,["A",0,o])},33921(e,s,a){a.r(s);var t=a(96540),n=a(79168),r=(a(56276),a(21439)),i=a(44979),c=a(97965),d=a(14644),l=a(52852),o=(a(62193),a(49862)),m=a(88827),u=a(74191),h=a(3304),x=a(70581),j=a(74848);const S=(0,c.Ng)(e=>({manifest:e.commonReducer.manifest,errorCode:e.commonReducer.errorCode}),e=>({setApiError:(0,d.zH)(i.x8,e)}))(e=>{const[s,a]=(0,t.useState)(!1),[i,c]=(0,t.useState)(null),[d,S]=(0,t.useState)(null),[N,f]=(0,t.useState)(!0),[g]=(0,t.useState)(window.sessionStorage.getItem("userSubId")||null),[v,_]=(0,t.useState)(null);(0,t.useEffect)(()=>{const{match:{params:{data:s}},location:{search:a,pathname:t}}=e,n=t.split("/"),i=n.length-1;window.sessionStorage.getItem("RefundUserSubId")!==n[i]&&(0,r.Lk)(!0),A()},[]);const A=async()=>{const{manifest:s,setApiError:t}=e,n=(0,r.th)("refund_details",s);a(!1);const i={apiPath:n};try{const s=(await l.n.fetchData(i)).data;s.status===o.A.MESSAGES_TYPES.S3_SUCCESS?s.data&&(c(s.data),(async()=>{const{manifest:s,setApiError:t}=e;a(!1);const n=window.sessionStorage.getItem("RefundUserSubId")||"";try{const e=(await l.n.postData(`${o.A.NODE_API_ROOT}/inception-write/refund/check-consent`,{urlToken:n})).data;if(e.status===o.A.MESSAGES_TYPES.S3_SUCCESS){const{subId:s}=!o.A.isServer()&&(JSON.parse(localStorage.getItem(o.A.localStorageNames.userAuth))||"");S(s),f(!0),e.data&&e.data.srNumber&&_(e.data.srNumber),(0,r.Nq)("refFlag",e.data.srNumber),a(!0)}else window.sessionStorage.removeItem("refFlag"),"CONSENT_ALREADY_EXISTS"===e.message?(S(null),f(!1),a(!0)):"INVALID_COMB
1INATION"===e.message?(0,r.Lk)(!0,()=>history.push(window.location.pathname)):t(o.A.serverError,!0),a(!0)}catch(e){t(o.A.serverError,!0),a(!0)}})()):(t(o.A.serverError,!0),a(!0))}catch(e){t(o.A.serverError,!0),a(!0)}};return e.errorCode?(0,j.jsx)(h.A,{}):s?(0,j.jsxs)("div",{className:"inner-page refund-detail inner-page-logo",children:[!s&&(0,j.jsx)(u.A,{}),(0,j.jsx)(n.A,{headerType:"rewards",isShadow:!1,isLogo:!0,stickyHeader:!1}),(0,j.jsx)("section",{className:"pT0",children:(0,j.jsx)("div",{className:"content-container",children:(0,j.jsx)("div",{className:"container",children:(0,j.jsxs)("div",{className:"",children:[(0,j.jsx)("div",{className:"heading-sm text-center",children:i&&i.title&&(0,j.jsx)("h1",{className:"heading1 gradient mT0",children:N?i.title:i.field_json_data&&i.field_json_data.error_message})}),N&&(0,j.jsxs)(t.Fragment,{children:[(0,j.jsx)("div",{className:"body-container pB0",children:(0,j.jsx)("div",{className:"innercontainer-sm",children:(0,j.jsxs)("div",{className:"order-confirm-details-card",children:[(0,j.jsx)("div",{className:"card-body",children:(0,j.jsxs)("ul",{children:[d&&d.id&&(0,j.jsxs)("li",{children:[(0,j.jsx)("div",{className:"label-text",children:"Subscriber ID:"}),(0,j.jsx)("div",{className:"data-text",children:d.id})]}),d&&d.name&&(0,j.jsxs)("li",{children:[(0,j.jsx)("div",{className:"label-text",children:"Name:"}),(0,j.jsx)("div",{className:"data-text",children:d.name})]}),i&&i.field_json_data&&i.field_json_data.cancel_request&&(0,j.jsxs)("li",{children:[(0,j.jsx)("div",{className:"label-text",children:"Reason for refund:"}),(0,j.jsx)("div",{className:"data-text",children:i.field_json_data.cancel_request})]}),v&&(0,j.jsxs)("li",{children:[(0,j.jsx)("div",{className:"label-text",children:"Service request number:"}),(0,j.jsx)("div",{className:"data-text",children:v})]}),i&&i.field_json_data&&i.field_json_data.refund_amount&&(0,j.jsxs)("li",{children:[(0,j.jsx)("div",{className:"label-text",children:"Refund amount:"}),(0,j.jsx)("div",{className:"data-text",children:i.field_json_data.refund_amount})]})]})}),i&&i.body&&(0,j.jsx)(x.A,{htmlContent:i&&i.body})]})})}),(0,j.jsxs)("div",{className:"footer-contr text-center block mT32",children:[" ",(0,j.jsx)(m.A,{config:{type:"submit",class:"wAutoLgBlue"},content:"Continue",onClick:s=>{return a="/my-account/refund/account-form",(0,r.Sw)({event:"Refund Details - Continue","Sub ID":d&&d.id||null}),void e.history.push(a);var a}})]})]})]})})})})]}):(0,j.jsx)(u.A,{})});a.d(s,["default",0,S])}}]);

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.