PageSourceSearch

https://tutorsheba.com/_next/static/chunks/pages/shop/order_success-1b031d5a3b4dfd0c.js

js tutorsheba.com collected 2026-10-02 00:10:06 UTC 4,491 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6649],{3133:function(a,b,c){(window.__NEXT_P=window.__NEXT_P||[]).push(["/shop/order_success",function(){return c(6033)}])},6033:function(a,b,c){"use strict";c.r(b);var d=c(5893),e=c(1163),f=c(4345),g=function(){var a,b,c,f=(0,e.useRouter)().query.data,g=f?JSON.parse(f):null;return g?(0,d.jsx)("div",{className:"container my-5",children:(0,d.jsx)("div",{className:"card shadow-lg border-0",children:(0,d.jsxs)("div",{className:"card-body",children:[(0,d.jsx)("h3",{className:"fw-bold text-success text-center mb-3 fs-4 fs-md-3",children:"\uD83C\uDF89 Order Placed Successfully!"}),(0,d.jsxs)("p",{className:"text-center",children:["Thank you ",(0,d.jsx)("strong",{children:g.customer_name}),", your order has been received."]}),(0,d.jsxs)("p",{className:"text-center",children:[(0,d.jsx)("strong",{children:"Order ID:"})," #",g.id]}),(0,d.jsx)("h5",{className:"my-4 fw-bold",children:"Delivery Info:"}),(0,d.jsx)("table",{className:"table table-striped table-bordered shadow-sm",children:(0,d.jsxs)("tbody",{children:[(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{style:{width:"150px"},children:"Name:"}),(0,d.jsx)("td",{children:g.name})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{children:"Phone:"}),(0,d.jsx)("td",{children:g.phone})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{children:"Address:"}),(0,d.jsx)("td",{children:g.address})]}),(0,d.jsxs)("tr",{children:[(0,d.jsx)("th",{children:"Location:"}),(0,d.jsxs)("td",{children:[g.location," Dhaka"]})]})]})}),(0,d.jsx)("h5",{className:"mt-4 fw-bold",children:"Order Summary"}),null==g?void 0:null===(a=g.items)|| void 0===a?void 0:a.map(function(a){var b;return(0,d.jsxs)("div",{className:"d-flex justify-content-between border-bottom pb-2 mb-2",children:[(0,d.jsxs)("div",{children:[(0,d.jsx)("p",{className:"mb-0 fw-medium",children:a.product_name}),(0,d.jsxs)("small",{className:"text-muted",children:["Qty: ",a.quantity]})]}),(0,d.jsxs)("p",{className:"mb-0 fw-bold",children:["Tk ",null===(b=a.total)|| void 0===b?void 0:b.toLocaleString()]})]},a.product_id)}),(0,d.jsxs)("div",{className:"mt-3 pt-3",children:[(0,d.jsxs)("div",{className:"d-flex justify-content-between",children:[(0,d.jsx)("span",{children:"Subtotal"}),(0,d.jsxs)("span",{children:["Tk ",null===(b=g.subtotal)|| void 0===b?void 0:b.toLocaleString()]})]}),(0,d.jsxs)("div",{className:"d-flex justify-content-between",children:[(0,d.jsx)("span",{children:"COD Charge"}),(0,d.jsxs)("span",{children:["Tk ",g.cod_charge]})]}),(0,d.jsxs)("div",{className:"d-flex justify-content-between fw-bold fs-5",children:[(0,d.jsx)("span",{children:"Total"}),(0,d.jsxs)("span",{children:["Tk ",null===(c=g.total)|| void 0===c?void 0:c.toLocaleString()]})]})]})]})})}):(0,d.jsx)("p",{className:"text-center mt-5",children:"Loading order..."})};g.Layout=f.Z,b.default=g},943:function(a,b,c){"use strict";function d(a,b){(null==b||b>a.length)&&(b=a.length);for(var c=0,d=Array(b);c<b;c++)d[c]=a[c];return d}c.d(b,{Z:function(){return d}})},3375:function(a,b,c){"use strict";function d(a){if("undefined"!=typeof Symbol&&null!=a[Symbol.iterator]||null!=a["@@iterator"])return Array.from(a)}c.d(b,{Z:function(){return d}})},9396:function(a,b,c){"use strict";function d(a,b){return b=null!=b?b:{},Object.getOwnPropertyDescriptors?Object.defineProperties(a,Object.getOwnPropertyDescriptors(b)):(function(a,b){var c=Object.keys(a);if(Object.getOwnPropertySymbols){var d=Object.getOwnPropertySymbols(a);c.push.apply(c,d)}return c})(Object(b)).forEach(function(c){Object.defineProperty(a,c,Object.getOwnPropertyDescriptor(b,c))}),a}c.d(b,{Z:function(){return d}})},9815:function(a,b,c){"use strict";c.d(b,{Z:function(){return g}});var d=c(943),e=c(3375),f=c(1566);function g(a){return function(a){if(Array.isArray(a))return(0,d.Z)(a)}(a)||(0,e.Z)(a)||(0,f.Z)(a)||function(){throw TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},1566:function(a,b,c){"use strict";c.d(b,{Z:function(){return e}});var d=c(943);function e(a,b){if(a){if("string"==typeof a)return(0,d.Z)(a,b);var c=Object.prototype.toString.call(a).slice(8,-1);if("Object"===c&&a.constructor&&(c=a.constructor.name),"Map"===c||"Set"===c)return Array.from(c);if("Arguments"===c||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(c))return(0,d.Z)(a,b)}}}},function(a){a.O(0,[5445,3662,4949,386,4345,9774,2888,179],function(){var b;return a(a.s=3133)}),_N_E=a.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.