HEX
Server: nginx/1.18.0
System: Linux test-ipsremont 5.4.0-214-generic #234-Ubuntu SMP Fri Mar 14 23:50:27 UTC 2025 x86_64
User: ips (1000)
PHP: 8.0.30
Disabled: pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare,
Upload Files
File: /var/www/quadcode.com/build/server/chunks/_page.svelte-58b5257c.js
import { c } from './index2-db879dd9.js';
import { A, T, w as w$1, C, R } from './ssr-c4e448c1.js';
import { V } from './Header-bd17fd1d.js';
import { R as R$1 } from './SeoHead-cf9ae2ac.js';
import { e } from './seo-image-91f6758f.js';
import { z, j } from './Button-11980f46.js';
import { L as La } from './index3-8414fc92.js';
import { w as w$2 } from './Related-8945e6f8.js';
import './Lang-e045d324.js';
import './HeaderBanner-c7eedf49.js';
import 'moment/moment.js';
import './public-dbee323b.js';
import './Card-51fe900a.js';
import './read-more-84e69d41.js';

const N=(a,o)=>{if(o&&a)return o.initPopupWidget({url:a}),!1};const B={code:'.card-events.svelte-799q4h.svelte-799q4h{user-select:none;display:flex;align-items:stretch;gap:40px}@media(max-width: 1799px){.card-events.svelte-799q4h.svelte-799q4h{gap:32px}}@media(max-width: 1365px){.card-events.svelte-799q4h.svelte-799q4h{gap:20px;padding:24px;background:rgb(255, 255, 255);border-radius:8px}}@media(max-width: 767px){.card-events.svelte-799q4h.svelte-799q4h{flex-direction:column;padding:40px 16px}}.card-events__header.svelte-799q4h.svelte-799q4h{width:100%;max-width:440px;height:320px}@media(max-width: 1799px){.card-events__header.svelte-799q4h.svelte-799q4h{max-width:352px}}@media(max-width: 1365px){.card-events__header.svelte-799q4h.svelte-799q4h{max-width:180px;min-width:180px;height:129px}}@media(max-width: 767px){.card-events__header.svelte-799q4h.svelte-799q4h{display:none}}.card-events__image.svelte-799q4h.svelte-799q4h{overflow:hidden;border-radius:16px;object-fit:cover;object-position:center;height:100%;background:rgb(180, 179, 198)}@media(max-width: 1365px){.card-events__image.svelte-799q4h.svelte-799q4h{border-radius:8px}}.card-events__body.svelte-799q4h.svelte-799q4h{background:rgb(255, 255, 255);border-radius:16px;width:100%;display:flex}@media(max-width: 1365px){.card-events__body.svelte-799q4h.svelte-799q4h{gap:20px;background:transparent}}@media(max-width: 767px){.card-events__body.svelte-799q4h.svelte-799q4h{flex-direction:column}}.card-events__body-info.svelte-799q4h.svelte-799q4h{position:relative;width:100%;max-width:320px;min-width:320px;padding:40px}@media(max-width: 1799px){.card-events__body-info.svelte-799q4h.svelte-799q4h{max-width:255px;min-width:255px}}@media(max-width: 1365px){.card-events__body-info.svelte-799q4h.svelte-799q4h{max-width:147px;min-width:147px;padding:0}}.card-events__body-status.svelte-799q4h.svelte-799q4h{font-size:14px;font-weight:400;line-height:20px;position:absolute;top:40px;right:40px;color:rgb(255, 255, 255);background:#141414;padding:4px 17px;border-radius:40px}@media(max-width: 1799px){.card-events__body-status.svelte-799q4h.svelte-799q4h{font-size:13px;line-height:18px}}@media(max-width: 1365px){.card-events__body-status.svelte-799q4h.svelte-799q4h{font-size:11px;line-height:15px}}@media(max-width: 1365px){.card-events__body-status.svelte-799q4h.svelte-799q4h{display:none}}.card-events__body-period.svelte-799q4h.svelte-799q4h{font-size:28px;font-weight:500;line-height:31px;font-family:"Inter", sans-serif;color:rgb(230, 35, 52)}@media(max-width: 1799px){.card-events__body-period.svelte-799q4h.svelte-799q4h{font-size:25px;line-height:28px}}@media(max-width: 1365px){.card-events__body-period.svelte-799q4h.svelte-799q4h{font-size:22px;line-height:24px}}@media(max-width: 1799px){.card-events__body-period.svelte-799q4h.svelte-799q4h{font-size:24px;line-height:33px}}.card-events__body-month.svelte-799q4h.svelte-799q4h{font-size:28px;font-weight:500;line-height:31px;margin-bottom:32px}@media(max-width: 1799px){.card-events__body-month.svelte-799q4h.svelte-799q4h{font-size:25px;line-height:28px}}@media(max-width: 1365px){.card-events__body-month.svelte-799q4h.svelte-799q4h{font-size:22px;line-height:24px}}@media(max-width: 1799px){.card-events__body-month.svelte-799q4h.svelte-799q4h{margin-bottom:24px}}@media(max-width: 1365px){.card-events__body-month.svelte-799q4h.svelte-799q4h{margin-bottom:16px}}.card-events__body-country.svelte-799q4h.svelte-799q4h{font-size:20px;font-weight:500;line-height:22px;margin-bottom:8px}@media(max-width: 1799px){.card-events__body-country.svelte-799q4h.svelte-799q4h{font-size:18px;line-height:20px}}@media(max-width: 1365px){.card-events__body-country.svelte-799q4h.svelte-799q4h{font-size:16px;line-height:18px}}.card-events__body-location.svelte-799q4h.svelte-799q4h{font-size:15px;font-weight:400;line-height:21px;margin-bottom:32px}@media(max-width: 1799px){.card-events__body-location.svelte-799q4h.svelte-799q4h{font-size:14px;line-height:20px}}@media(max-width: 1365px){.card-events__body-location.svelte-799q4h.svelte-799q4h{font-size:12px;line-height:17px}}@media(max-width: 1799px){.card-events__body-location.svelte-799q4h.svelte-799q4h{margin-bottom:24px}}@media(max-width: 1365px){.card-events__body-location.svelte-799q4h.svelte-799q4h{margin-bottom:16px}}.card-events__body-tags.svelte-799q4h.svelte-799q4h{display:flex;align-items:center}.card-events__body-tag.svelte-799q4h.svelte-799q4h{font-size:15px;font-weight:400;line-height:21px;font-weight:700;padding:4px 16px;color:rgb(68, 86, 103);background:rgb(242, 246, 249);border-radius:4px}@media(max-width: 1799px){.card-events__body-tag.svelte-799q4h.svelte-799q4h{font-size:14px;line-height:20px}}@media(max-width: 1365px){.card-events__body-tag.svelte-799q4h.svelte-799q4h{font-size:12px;line-height:17px}}@media(max-width: 1799px){.card-events__body-tag.svelte-799q4h.svelte-799q4h{font-size:15px;line-height:21px}}@media(max-width: 1365px){.card-events__body-tag.svelte-799q4h.svelte-799q4h{font-size:12px;line-height:13px}}.card-events__body-content.svelte-799q4h.svelte-799q4h{width:100%;padding:40px}@media(max-width: 1365px){.card-events__body-content.svelte-799q4h.svelte-799q4h{padding:0}}.card-events__body-title.svelte-799q4h.svelte-799q4h{font-size:28px;font-weight:500;line-height:31px;margin-bottom:16px}@media(max-width: 1799px){.card-events__body-title.svelte-799q4h.svelte-799q4h{font-size:25px;line-height:28px}}@media(max-width: 1365px){.card-events__body-title.svelte-799q4h.svelte-799q4h{font-size:22px;line-height:24px}}@media(max-width: 1365px){.card-events__body-title.svelte-799q4h.svelte-799q4h{margin-bottom:8px}}.card-events__body-text.svelte-799q4h.svelte-799q4h{font-size:15px;font-weight:400;line-height:21px}@media(max-width: 1799px){.card-events__body-text.svelte-799q4h.svelte-799q4h{font-size:14px;line-height:20px}}@media(max-width: 1365px){.card-events__body-text.svelte-799q4h.svelte-799q4h{font-size:12px;line-height:17px}}.card-events__body-image.svelte-799q4h.svelte-799q4h{display:none}@media(max-width: 767px){.card-events__body-image.svelte-799q4h.svelte-799q4h{display:flex}}.card-events__body-image.svelte-799q4h img.svelte-799q4h{width:100%;max-height:128px;min-height:128px;border-radius:4px;height:100%;object-fit:cover;object-position:center;background:rgb(180, 179, 198)}.card-events.svelte-799q4h .card-events__body-button{font-size:15px;font-weight:500;line-height:21px;margin-top:40px}@media(max-width: 1799px){.card-events.svelte-799q4h .card-events__body-button{font-size:14px;line-height:20px}}@media(max-width: 1365px){.card-events.svelte-799q4h .card-events__body-button{font-size:12px;line-height:13px}}@media(max-width: 1365px){.card-events.svelte-799q4h .card-events__body-button{margin-top:24px}}',map:null},H=A((a,o,l,$)=>{let n,p;p=c(La,m=>n=m);let{data:s}=o,{isPast:v}=o,d=!1;const e={...s};j.subscribe(m=>{d=m;});const x=new Date(e.startDate),i=new Date(e.endDate),h=x.toLocaleString("en",{month:"long"}),g=i.toLocaleString("en",{month:"long"});return o.data===void 0&&l.data&&s!==void 0&&l.data(s),o.isPast===void 0&&l.isPast&&v!==void 0&&l.isPast(v),a.css.add(B),p(),`<div class="card-events svelte-799q4h">${d?"":`<div class="card-events__header svelte-799q4h"><img${C("src",e.image?.mediumLarge,0)}${C("alt",e.title,0)} class="card-events__image svelte-799q4h"></div>`} <div class="card-events__body svelte-799q4h"><div class="card-events__body-info svelte-799q4h">${v?`<div class="card-events__body-status svelte-799q4h">${w$1(n("events.Past"))}</div>`:""} <p class="card-events__body-period svelte-799q4h">${w$1(x.getDate())}-${w$1(i.getDate())}</p> ${h===g?`<p class="card-events__body-month svelte-799q4h">${w$1(h)}</p>`:`<p class="card-events__body-month svelte-799q4h">${w$1(h)} - ${w$1(g)}</p>`} <p class="card-events__body-country svelte-799q4h">${w$1(e.city)}</p> <p class="card-events__body-location svelte-799q4h">${w$1(e.location)}</p> ${e.tag?`<div class="card-events__body-tags svelte-799q4h"><p class="card-events__body-tag svelte-799q4h">${w$1(e.tag)}</p></div>`:""}</div> ${d?`<div class="card-events__body-image svelte-799q4h"><img${C("src",e.image?.medium,0)} alt="" class="svelte-799q4h"></div>`:""} <div class="card-events__body-content svelte-799q4h"><p class="card-events__body-title svelte-799q4h">${w$1(e.title)}</p> <p class="card-events__body-text svelte-799q4h">${w$1(e.description)}</p> ${e.linkData&&!v?`${T(z,"Button").$$render(a,{ghost:!0,className:"card-events__body-button",text:e.linkData.buttonText??n("events.Book a meeting"),onClick:()=>N(e.linkData.link,window?.Calendly)},{},{})}`:""}</div></div> </div>`});const L={code:".layout.svelte-151lrzp{background:rgb(248, 251, 253);padding-top:105px;padding-bottom:141px}@media(max-width: 1365px){.layout.svelte-151lrzp{padding-top:44px;padding-bottom:80px}}@media(max-width: 767px){.layout.svelte-151lrzp{padding-top:95px}}.events__title.svelte-151lrzp{font-size:55px;font-weight:500;line-height:61px;text-align:center;margin-bottom:16px}@media(max-width: 1799px){.events__title.svelte-151lrzp{font-size:49px;line-height:54px}}@media(max-width: 1365px){.events__title.svelte-151lrzp{font-size:36px;line-height:40px}}@media(max-width: 1365px){.events__title.svelte-151lrzp{margin-bottom:8px}}.events__text.svelte-151lrzp{text-align:center;margin-bottom:24px}@media(max-width: 1365px){.events__text.svelte-151lrzp{margin-bottom:16px}}@media(max-width: 767px){.events__text.svelte-151lrzp{margin-bottom:24px}}.events__tabs.svelte-151lrzp{margin-bottom:104px;display:flex;align-items:center;gap:20px;width:max-content;margin-inline:auto}@media(max-width: 1799px){.events__tabs.svelte-151lrzp{margin-bottom:64px}}@media(max-width: 1365px){.events__tabs.svelte-151lrzp{margin-bottom:36px}}@media(max-width: 767px){.events__tabs.svelte-151lrzp{margin-bottom:40px}}.events__tab.svelte-151lrzp{font-size:18px;font-weight:500;line-height:25px;padding:8px 8px 6px 8px;min-width:100px;text-align:center;color:rgb(136, 154, 168);border-bottom:2px solid transparent;cursor:pointer}@media(max-width: 1799px){.events__tab.svelte-151lrzp{font-size:16px;line-height:22px;padding:8px 12.5px 6px 12.5px}}.events__tab.active.svelte-151lrzp{color:#141414;border-bottom:2px solid rgb(230, 35, 52);pointer-events:none}.events__list.svelte-151lrzp{display:flex;flex-direction:column;gap:56px;margin-bottom:64px}@media(max-width: 1799px){.events__list.svelte-151lrzp{gap:40px;margin-bottom:80px}}@media(max-width: 1365px){.events__list.svelte-151lrzp{gap:24px;margin-bottom:40px}}@media(max-width: 767px){.events__list.svelte-151lrzp{margin-bottom:64px}}.events__list-not-found.svelte-151lrzp{font-size:28px;font-weight:500;line-height:31px;text-align:center;color:rgb(68, 86, 103);height:50vh;display:flex;align-items:center;justify-content:center}@media(max-width: 1799px){.events__list-not-found.svelte-151lrzp{font-size:25px;line-height:28px}}@media(max-width: 1365px){.events__list-not-found.svelte-151lrzp{font-size:22px;line-height:24px}}.events__list-item.svelte-151lrzp{width:100%}@media(max-width: 767px){.events__list-item.svelte-151lrzp{max-width:335px;margin-inline:auto}}.events.svelte-151lrzp .events__show-more{font-size:20px;font-weight:500;line-height:22px;padding:11px 49px;margin-inline:auto;margin-bottom:126px}@media(max-width: 1799px){.events.svelte-151lrzp .events__show-more{font-size:18px;font-weight:600;line-height:25px}}@media(max-width: 1365px){.events.svelte-151lrzp .events__show-more{font-size:16px;line-height:22px}}@media(max-width: 1799px){.events.svelte-151lrzp .events__show-more{margin-bottom:80px}}@media(max-width: 1365px){.events.svelte-151lrzp .events__show-more{margin-bottom:100px}}",map:null},w=3,Q=A((a,o,l,$)=>{let n,p,s,v;v=c(La,c=>s=c);let{data:d}=o,e$1="upcoming",x=!1;const i={upcoming:d.events.upcoming.events||[],past:d.events.past.events||[]};let h={past:d.events.past.totalCount,upcoming:d.events.upcoming.totalCount};const g=async(c,k)=>{x=!0;const q=await fetch("/api/events/getEvents",{method:"POST",headers:{"content-type":"Application/json"},body:JSON.stringify({isPast:n,language:k,...c[e$1]})}).finally(()=>x=!1);if(q.ok){const b=await q.json();n?(i.past=[...i.past,...b.events],h.past=b.totalCount):(i.upcoming=[...i.upcoming,...b.events],h.upcoming=b.totalCount),p[e$1].offset=i[e$1].length;}},m=async()=>{await g(p,d.lang);};return o.data===void 0&&l.data&&d!==void 0&&l.data(d),a.css.add(L),n=e$1==="past",p={isPast:n,past:{offset:i.past.length,limit:w},upcoming:{offset:i.upcoming.length,limit:w}},v(),`${T(R$1,"SeoHead").$$render(a,{image:e,type:"website",title:s("events.Events - Quadcode"),description:s("events.Explore upcoming events where we'll be showcasing innovations and connecting with industry leaders."),calendly:!0},{},{})} ${T(V,"Header").$$render(a,{},{},{})} <section class="layout events svelte-151lrzp"><div class="container"><h1 class="events__title svelte-151lrzp">${w$1(s("events.Events"))}</h1> <p class="events__text svelte-151lrzp">${w$1(s("events.Explore upcoming events where we'll be present and meet us in person."))}</p> <div class="events__tabs svelte-151lrzp"><div class="${"events__tab "+w$1(n?"":"active",!0)+" svelte-151lrzp"}"${C("aria-selected",!n,0)} tabindex="0" role="tab">${w$1(s("events.Upcoming"))}</div> <div class="${"events__tab "+w$1(n?"active":"",!0)+" svelte-151lrzp"}"${C("aria-selected",!n,0)} tabindex="0" role="tab">${w$1(s("events.Past"))}</div></div> <div class="events__list svelte-151lrzp">${i[e$1].length?`${R(i[e$1],c=>`<div class="events__list-item svelte-151lrzp">${T(H,"CardEvents").$$render(a,{data:c,isPast:p.isPast},{},{})} </div>`)}`:`<div class="events__list-not-found svelte-151lrzp">${w$1(s("events.Not Found"))}</div>`}</div> ${i[e$1].length<h[e$1]?`${T(z,"Button").$$render(a,{className:"events__show-more",text:s("events.Show more"),ghost:!0,loading:x,onClick:m},{},{})}`:""} ${T(w$2,"Related").$$render(a,{posts:d.readMore},{},{})}</div> </section>`});

export { Q as default };
//# sourceMappingURL=_page.svelte-58b5257c.js.map