1"use strict";(self.webpackChunkweb_help_centre=self.webpackChunkweb_help_centre||[]).push([[5241,3856,9164,5203,1928],{21928:function(e,l,s){s.r(l),s.d(l,{default:function(){return K},meta:function(){return Z}});var t=s(45811),_=s(54084),r=s(22592),a=s(90829),x=s(5292),E=s(895),F=s(88898),p=s(52854),C=s(83410),j=s(31e3),L=s(31367),y=s(56275),T=s(95745),D=s.n(T),R=({transaction:n,tags:d})=>{const v=!(0,L.Z)(n?.status,["success","successful"]);return(0,t.jsx)(t.Fragment,{children:n&&(0,t.jsx)("div",{className:D()("relative bg-gray-50 md:rounded-lg p-5 md:pt-10 w-full",v?"md:h-[364px] h-[350px]":"md:h-[332px] h-[309px]"),children:(0,t.jsx)("div",{className:"px-5 w-full md:mx-0 md:w-fit absolute left-1/2 -translate-x-1/2",children:(0,t.jsx)(y.Y,{transaction:n,tags:d})})})})},N=s(55979),f=s(37834),P=s(14083),B=s(30680),M=s(89966),O=s(42284),I=s(78744),S=s(4568),U=s(13900);const Z=()=>(0,M.k)({title:`${N.l3.label} - Transaction Details`,description:"Here are your transaction details!",url:"https://help.setel.com/",image:"/images/meta-image.png"});function K(){const n=(0,x.bU)(),d=(0,_.UO)(),{loginState:v}=(0,P.a)(),{t:W}=(0,O.$)(),g=v==="authorized",Y=d.type,h=d.id,c=Y==="payment",b=!c,{data:o,isLoading:H}=(0,S.Pd)({id:h,enabled:g&&c}),A=(0,a.useMemo)(()=>o?.referenceType,[o]),$=(0,a.useMemo)(()=>A?.toLocaleString().replace("_"," ")||"",[A]),{data:m,isLoading:z}=(0,U.Hg)({query:$,locale:n,page:1,per_page:20}),{data:u,isLoading:G}=(0,I.Ox)({id:h,enabled:g&&b}),i=(0,a.useMemo)(()=>c?o:u,[c,o,u]),Q=H||G,V=(0,a.useMemo)(()=>o?(0,f.Fx)(i):u?(0,f.cS)(i):[],[o,u,i]);return B.runTimeConfig.HELP_CENTRE.TRANSACTION_ENABLED?(0,t.jsx)(a.Fragment,{children:(0,t.jsx)("div",{className:"mx-auto w-full 2xl:px-[128px] md:px-[50px] xl:px-[100px] max-w-screen-md md:max-w-8xl md:p-5",children:(0,t.jsxs)(E.Z,{isVisibleBreadCrumb:!1,children:[Q&&(0,t.jsx)(C.j,{count:1}),i&&(0,t.jsx)(R,{transaction:i,tags:V}),!!m?.results&&(0,t.jsx)("div",{className:"pt-[50px]",children:(0,t.jsx)(F.Z,{})}),(0,t.jsx)(j.g,{isLoading:z,relatedArticles:m?.results,isNumbering:!1,listStyle:"borderBottom",rightIcon:(0,t.jsx)(r.XCv,{className:"text-gray-light w-6 h-6"}),className:"px-5 pb-5 md:border md:rounded-xl md:px-10 md:py-8",title:W("hereSomeArticlesToHelp")})]})})}):(0,t.jsx)(p.Z,{})}function J(n){return REFERENCE_TYPE_GENERAL_ARTICLES.includes(n)||!REFERENCE_TYPE.includes(n)?LABEL_NAME_GENERAL_ARTICLES:REFERENCE_TYPE_FUEL_ARTICLE.includes(n)?FUEL_REFERENCE_TYPE:n}},59676:function(e,l,s){var t=s(45811);const _=({children:r,className:a})=>(0,t.jsx)("div",{className:`mx-auto w-full 2xl:px-[128px] ${a} max-w-screen-md md:max-w-8xl`,children:r});l.Z=_},52854:function(e,l,s){var t=s(45811),_=s(59676),r=s(895),a=s(42284);const x=()=>{const{t:E}=(0,a.$)();return(0,t.jsx)(_.Z,{children:(0,t.jsx)(r.Z,{children:(0,t.jsx)("div",{className:"flex items-center justify-center h-full","aria-label":"404-page-not-found",children:E("pageNotFound")})})})};l.Z=x}},function(e){(function(){(function(){try{e.d(e.g,{__webpack_share_scopes__:()=>e.S})}catch{}})()})();var l=function(t){return e(e.s=t)};e.O(0,[4652,3560,9382,7744,219,1461,4198,2592,829,272,9509,1491,6541,541,4737,7597,1599,2604],function(){return l(21928)});var s=e.O()}]); 2 3//# sourceMappingURL=$type.$id-en-US-0.03ac1265955aad6084db.js.map
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.