1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[687],{43733:function(e,t,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/odeme-sonuc/[masaId]",function(){return s(96085)}])},76654:function(e,t,s){"use strict";s.d(t,{Z:function(){return i}});var n=s(85893),a=s(41664),c=s.n(a),r=s(11163);function i(e){let{href:t,active:s,children:a,...i}=e,o=(0,r.useRouter)();return(0,n.jsx)(c(),{...i,href:void 0!==t?t:"/",className:"".concat(null==i?void 0:i.className," ").concat(o.pathname===t?"active":""),children:a})}},82387:function(e,t,s){"use strict";s.d(t,{Z:function(){return a}});var n=s(85893);function a(e){let{children:t}=e;return(0,n.jsx)("div",{className:"ms-page-wrapper",children:(0,n.jsx)("div",{className:"container",children:(0,n.jsx)("div",{className:"ms-page-wrapper-inline",children:t})})})}},96085:function(e,t,s){"use strict";s.r(t),s.d(t,{__N_SSP:function(){return p},default:function(){return u}});var n=s(85893),a=s(67294),c=s(50196),r=s(89068),i=s(43474),o=s(82387),l=s(76654),d=s(88077),m=s(28276),p=!0;function u(e){let{masaId:t}=e,[s,p]=(0,a.useState)({loaded:!1,success:!1,title:"",message:""}),{t:u}=(0,m.$G)("common"),x=e=>{c.ZP.get("/api/v1/Payment/".concat(e),{headers:{authorization:"Bearer ".concat(r.Z.getAccessToken())}}).then(()=>{p({loaded:!0,success:!0,title:u("pages.paymentResult.process.success.title"),message:u("pages.paymentResult.process.success.message")})}).catch(e=>{p({loaded:!0,success:!1,title:e.response.data.title,message:e.response.data.detail})})};return(0,a.useEffect)(()=>{x(t)},[]),(0,n.jsx)(i.Z,{children:(0,n.jsx)(o.Z,{children:(0,n.jsx)("div",{className:"flex flex-col items-center gap-[20px] w-full p-[20px] rounded-[16px] lg:p-[60px] lg:gap-[32px]",children:(0,n.jsxs)("div",{className:"flex flex-col justify-center items-center gap-[15px] w-[350px] text-center",children:[s.loaded?(0,n.jsx)(n.Fragment,{children:s.success?(0,n.jsx)("figure",{className:"flex justify-center items-center w-[140px] h-[140px]",children:(0,n.jsx)("img",{src:"/images/modal-icon-success.svg",width:140,height:73,alt:""})}):(0,n.jsx)("figure",{className:"flex justify-center items-center w-[140px] h-[140px]",children:(0,n.jsx)(d.Z,{src:"/images/modal-icon-warning.svg",width:140,height:140,alt:""})})}):(0,n.jsx)("figure",{className:"flex justify-center items-center w-[140px] h-[140px] ms-loaded-content rounded-full"}),s.loaded?(0,n.jsx)("span",{className:"ms-text-22 font-extrabold",children:s.title}):(0,n.jsx)("span",{className:"w-[40%] h-[26px] ms-loaded-content rounded-[28px]"}),s.loaded?(0,n.jsx)("p",{className:"ms-text-14",children:s.message}):(0,n.jsx)("p",{className:"w-[80%] h-[18px] ms-loaded-content rounded-[28px]"}),s.loaded?(0,n.jsxs)("div",{className:"flex flex-col gap-[12px] mt-[25px]",children:[!s.success&&(0,n.jsx)(l.Z,{href:"/odeme/".concat(t),className:"ms-button",children:u("pages.paymentResult.button.tryAgain")}),(0,n.jsx)(l.Z,{href:"/masa-detayi/".concat(t),className:"ms-button ".concat(s.success?"green":"grey"),children:u("pages.paymentResult.button.goToTableDetail")})]}):(0,n.jsx)("a",{className:"w-[302px] h-[52px] ms-loaded-content rounded-[28px] mt-[25px]"})]})})})})}},43474:function(e,t,s){"use strict";s.d(t,{Z:function(){return p}});var n=s(85893),a=s(9008),c=s.n(a),r=s(11163),i=s(5152),o=s.n(i),l=s(28276);let d=o()(()=>Promise.all([s.e(1664),s.e(7536),s.e(5878),s.e(6654),s.e(520),s.e(9150)]).then(s.bind(s,99033)),{loadableGenerated:{webpack:()=>[99033]}}),m=o()(()=>Promise.all([s.e(1664),s.e(7315)]).then(s.bind(s,7315)),{loadableGenerated:{webpack:()=>[7315]}});function p(e){let{title:t,description:s,children:a,isHome:i,hasNotification:o,metaOg:p,metaX:u}=e,x=(0,r.useRouter)(),{t:h}=(0,l.$G)("common"),g=t||h("shared.layout.seo.title"),j=s||h("shared.layout.seo.description");return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(c(),{children:[(0,n.jsx)("title",{children:g}),(0,n.jsx)("meta",{name:"description",content:j}),!1,p&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{property:"og:url",content:p.url}),(0,n.jsx)("meta",{property:"og:type",content:p.type}),(0,n.jsx)("meta",{property:"og:title",content:p.title}),(0,n.jsx)("meta",{property:"og:description",content:p.description}),(0,n.jsx)("meta",{property:"og:image",content:p.image})]}),u&&(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("meta",{name:"twitter:card",content:u.card}),(0,n.jsx)("meta",{property:"twitter:domain",content:u.domain}),(0,n.jsx)("meta",{property:"twitter:url",content:u.url}),(0,n.jsx)("meta",{name:"twitter:title",content:u.title}),(0,n.jsx)("meta",{name:"twitter:description",content:u.description}),(0,n.jsx)("meta",{name:"twitter:image",content:u.image})]})]}),(0,n.jsxs)("div",{className:"pb-[120px] lg:pb-0",children:[(0,n.jsx)(d,{isHome:i,hasNotification:o}),(0,n.jsx)("div",{className:"".concat("/"!==x.pathname?"pb-[30px]":""),children:a}),(0,n.jsx)(m,{})]})]})}}},function(e){e.O(0,[1664,9774,2888,179],function(){return e(e.s=43733)}),_N_E=e.O()}]);
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.