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/.svelte-kit/output/server/entries/pages/_layout.server.ts.js
import{c as u}from"../../chunks/index3.js";import{b as s}from"../../chunks/shared-server.js";const h={full:"English",short:"Eng"},f={full:"Русский",short:"Rus"},w={full:"Español",short:"Spa"},g={full:"Português",short:"Por"},v={full:"ภาษาไทย",short:"Tha"},b={full:"Tiếng Việt",short:"Vie"},d={full:"한국어",short:"Kor"},E={en:h,ru:f,es:w,pt:g,th:v,vi:b,ko:d},T=async({url:e,locals:p,setHeaders:r})=>{const{pathname:i}=e,{lang:o}=p,n=i.replace(new RegExp(`^/${o}`),"");await u(o,n);const t=await fetch(`${s.PRIVATE_WP_URL}/wp-json/api/v2/popup/webinar?lang=${o}`,{method:"GET",headers:{"content-type":"Application/json"}}),c=t.ok?await t.json():void 0,a=await fetch(`${s.PRIVATE_WP_URL}/wp-json/api/v2/webinar-banner`,{method:"GET",headers:{"content-type":"Application/json"}}),l=a.ok?await a.json():void 0;return r({"x-app-version":"1.1.62"}),{i18n:{route:n,lang:o},languages:E,popup:c,banner:l}};export{T as load};