PageSourceSearch

https://2022-forum.vercel.app/_next/static/chunks/pages/tickets/failure-019255590f66dd8e.js

js 2022-forum.vercel.app collected 2026-10-03 06:02:55 UTC 4,996 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[118],{1709:function(t,e,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/tickets/failure",function(){return r(8106)}])},3362:function(t,e,r){"use strict";r.d(e,{Z:function(){return c}});var n=r(5893),c=(r(7294),function(t){var e=t.id,r=t.children,c=t.as,a=t.className,s=t.centered;return"h1"===c?(0,n.jsx)("h1",{id:e,className:"\n          text-4xl lg:text-5xl tracking-wide text-woc-primary \n          ".concat(a||""," \n          ").concat(s?"text-center":""," \n        "),children:r}):"h2"===c?(0,n.jsx)("h2",{id:e,className:"\n          text-3xl lg:text-4xl tracking-tight text-woc-primary \n          ".concat(a||""," \n          ").concat(s?"text-center":""," \n        "),children:r}):"h3"===c?(0,n.jsx)("h3",{id:e,className:"\n          text-2xl lg:text-3xl tracking-tight text-woc-primary \n          ".concat(a||""," \n          ").concat(s?"text-center":""," \n        "),children:r}):"h4"===c?(0,n.jsx)("h4",{id:e,className:"text-xl tracking-tight text-woc-primary lg:text-5xl text-center lg:mb-4 py-8",children:r}):"h5"===c?(0,n.jsx)("h5",{id:e,className:"text-lg tracking-tight text-woc-primary lg:text-5xl text-center lg:mb-4 py-8",children:r}):"h6"===c?(0,n.jsx)("h6",{id:e,className:"text-sm tracking-tight text-woc-primary lg:text-5xl text-center lg:mb-4 py-8",children:r}):"accent"===c?(0,n.jsx)("h6",{id:e,className:"text-xl lg:text-2xl font-semibold uppercase text-woc-secondary tracking-[10px]",children:r}):(0,n.jsx)("h1",{id:e,className:"\n          text-4xl font-bold tracking-[2%] text-woc-primary lg:text-5xl \n          ".concat(a||""," \n          ").concat(s?"text-center":""," \n        "),children:r})})},8106:function(t,e,r){"use strict";r.r(e);var n=r(5893),c=r(8191),a=r(4601),s=r(5635),i=r(3362),l=r(806);function o(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function x(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,c,a=[],s=!0,i=!1;try{for(r=r.call(t);!(s=(n=r.next()).done)&&(a.push(n.value),!e||a.length!==e);s=!0);}catch(l){i=!0,c=l}finally{try{s||null==r.return||r.return()}finally{if(i)throw c}}return a}}(t,e)||function(t,e){if(!t)return;if("string"===typeof t)return o(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);"Object"===r&&t.constructor&&(r=t.constructor.name);if("Map"===r||"Set"===r)return Array.from(r);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return o(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}e.default=function(){var t=(0,c.g)();t.cartDetails,t.totalPrice,t.cartCount;return(0,n.jsx)("main",{children:(0,n.jsxs)("div",{className:"grid md:grid-cols-2",children:[(0,n.jsxs)("div",{className:"p-4 md:p-16",children:[(0,n.jsx)(l.Z,{}),(0,n.jsx)(i.Z,{className:"mb-8",children:"Something went wrong"}),(0,n.jsx)("p",{children:"Please, try again"}),(0,n.jsxs)("p",{className:"mb-8",children:["If the problem persists, contact us directly"," ",(0,n.jsx)(s.Z,{href:"mailto:[email protected]",variant:"ghost",children:"[email protected]"})]}),(0,n.jsx)(s.Z,{variant:"accent",href:"/buy/cart",children:"Buy tickets"})]}),(0,n.jsx)("div",{className:"bg-woc-primary text-white min-h-screen rounded-tl-md rounded-bl-md p-16",children:(0,n.jsx)(d,{})})]})})};var d=function(){var t=(0,c.g)(),e=t.cartDetails,r=t.totalPrice,s=t.cartCount;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("h2",{className:"text-4xl font-semibold pb-4 border-b mb-4",children:"Order summary"}),s>0?(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("p",{className:"mt-1",children:[s," items"]})}):(0,n.jsx)(n.Fragment,{children:(0,n.jsx)("p",{className:"italic font-semibold",children:"Your cart is empty."})}),s>0?(0,n.jsxs)("div",{className:"mt-12 grid gap-4",children:[Object.entries(e).map((function(t){var e=x(t,2),r=e[0],c=e[1];return(0,n.jsxs)("div",{className:"flex justify-between hover:bg-gray-700 bg-gray-800 rounded-md p-4 group",children:[(0,n.jsx)("div",{className:"flex items-center space-x-4 group",children:(0,n.jsx)("p",{className:"",children:c.name})}),(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsxs)("p",{className:"whitespace-nowrap",children:[(0,a.xG)(c.price)," /unit"]}),(0,n.jsx)("div",{className:"flex items-center space-x-3 ml-8",children:(0,n.jsx)("p",{className:"border py-1 px-2 rounded border-gray-500",children:c.quantity})})]})]},r)})),(0,n.jsx)("div",{className:"flex flex-col items-end border-t py-4 mt-8",children:(0,n.jsxs)("p",{className:"text-lg",children:["Total (tax incl.)",(0,n.jsx)("span",{className:"font-semibold ml-2",children:(0,a.xG)(r)})]})})]}):null]})}}},function(t){t.O(0,[678,675,806,774,888,179],(function(){return e=1709,t(t.s=e);var e}));var e=t.O();_N_E=e}]);

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.