PageSourceSearch

https://shbarcelona.com/_next/static/chunks/pages/paycomet/ok-0356421e217f49aa.js

js shbarcelona.com collected 2026-10-02 06:24:18 UTC 4,075 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9863],{1950:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__N_SSP:()=>d,default:()=>u});var a=r(7876),i=r(9368),s=r(9099);let l=(0,r(8900).A)("CheckCircle2",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);var n=r(8315),c=r(4232),o=r(8931),d=!0;function u(){let e=(0,i.useTranslations)("index.forms.paycometResult"),t=(0,s.useRouter)(),r=t.query.reservationId||"—",d=t.query.address||t.query.reference||"—",u=t.query.rentType||t.query.type||t.query.service||"",m=null==u?void 0:u.toString().toLowerCase(),x=Number(t.query.amount),h=Number.isFinite(x)&&x>0?x:"yearly"===m?500:250,y=new Intl.NumberFormat(t.locale,{style:"currency",currency:"EUR",minimumFractionDigits:0,maximumFractionDigits:0}).format(h);return t.query.date&&t.query.date,(0,c.useEffect)(()=>{t.isReady&&(0,o.U)({event:"purchase",ecommerce:{transaction_id:"—"!==r?r:void 0,currency:"EUR",value:h,city:t.query.city,stay_type:m||void 0,items:[{item_id:"—"!==r?r:void 0,item_name:"—"!==d?d:void 0,stay_type:m||void 0,price:h,quantity:1}]}})},[t.isReady]),(0,a.jsx)("div",{className:"bg-gray-light min-h-screen px-4 pb-16 pt-40 md:pt-48",children:(0,a.jsxs)("div",{className:"mx-auto max-w-4xl rounded-3xl border border-gray-main bg-white p-8 md:p-12 shadow-xl",children:[(0,a.jsxs)("div",{className:"flex items-start gap-4",children:[(0,a.jsx)("div",{className:"flex h-12 w-12 items-center justify-center rounded-full bg-[#C5E4C4] text-black",children:(0,a.jsx)(l,{className:"h-8 w-8",strokeWidth:1.4})}),(0,a.jsxs)("div",{className:"flex-1 space-y-3",children:[(0,a.jsx)("span",{className:"text-a1 font-gillSansNova uppercase tracking-[0.3em] text-black",children:"Paycomet"}),(0,a.jsx)("h1",{className:"text-3xl leading-tight md:text-4xl font-tobias",children:e("okTitle")}),(0,a.jsx)("p",{className:"text-lg text-gray-extra-dark md:text-xl",children:e("okSubtitle",{amount:y})}),(0,a.jsx)("div",{className:"space-y-1 text-gray-extra-dark",children:(0,a.jsx)("p",{children:e("okDetailOne")})})]})]}),(0,a.jsx)("div",{className:"mt-8 flex flex-wrap gap-3",children:(0,a.jsx)(n.A,{color:"transparent",type:"button",className:"border-gray-dark text-black hover:border-black",onClick:()=>t.push("/"),children:e("okActionTertiary")})})]})})}},2072:(e,t,r)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/paycomet/ok",function(){return r(1950)}])},8315:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(7876);r(4232);var i=r(9241);function s(e){let{children:t,onClick:r,color:s="light",className:l,type:n="submit",icon:c,disabled:o}=e;return(0,a.jsxs)("button",{disabled:o,type:n,onClick:r,className:(0,i.A)("px-5 md:px-6 flex items-center justify-center gap-2 rounded-3xl bg-none text-a1 font-gillSansNova uppercase border transition-colors disabled:text-gray-dark disabled:hover:bg-white",c?"py-2.5":"py-3.5","dark"===s?"border-white bg-black text-white hover:bg-white hover:text-black":"light"===s?"border-black bg-white text-black hover:bg-black hover:text-white ":"transparent"===s?"border-black bg-transparent text-black hover:bg-black hover:text-white":"green"===s&&"border-none bg-[#C5E4C4] text-black hover:bg-gray-light",l),children:[c&&(0,a.jsx)("span",{children:c}),t]})}},8900:(e,t,r)=>{"use strict";r.d(t,{A:()=>s});var a=r(4232),i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(e,t)=>{let r=(0,a.forwardRef)((r,s)=>{let{color:l="currentColor",size:n=24,strokeWidth:c=2,absoluteStrokeWidth:o,className:d="",children:u,...m}=r;return(0,a.createElement)("svg",{ref:s,...i,width:n,height:n,stroke:l,strokeWidth:o?24*Number(c)/Number(n):c,className:["lucide","lucide-".concat(e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim()),d].join(" "),...m},[...t.map(e=>{let[t,r]=e;return(0,a.createElement)(t,r)}),...Array.isArray(u)?u:[u]])});return r.displayName="".concat(e),r}},9099:(e,t,r)=>{e.exports=r(6296)}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=2072)),_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.