PageSourceSearch

https://ylan.ai/assets/use-public-config-Dz2K5Ygr.js

js ylan.ai collected 2026-10-05 13:23:29 UTC 3,020 bytes, 1 lines download raw bytes

1import{t as e}from"./useQuery-CZkTbNYX.js";import{r as t}from"./api-client-Ddrl4vgA.js";var n={BASE_URL:`/`,DEV:!1,MODE:`production`,PROD:!0,SSR:!1,TSS_DEV_SERVER:`false`,TSS_DEV_SSR_STYLES_BASEPATH:`/`,TSS_DEV_SSR_STYLES_ENABLED:`true`,TSS_DISABLE_CSRF_MIDDLEWARE_WARNING:`false`,TSS_INLINE_CSS_ENABLED:`false`,TSS_ROUTER_BASEPATH:``,TSS_SERVER_FN_BASE:`/_serverFn/`,VITE_APP_DESCRIPTION:`Structured AI analysis for clearer decisions and next steps`,VITE_APP_LOGO:`/logo.png`,VITE_APP_NAME:`YlanAI`,VITE_APP_URL:`https://ylan.ai`,VITE_DEFAULT_LOCALE:`en`},r={},i=e=>n[e]??r[e],a={app_url:i(`VITE_APP_URL`)??`http://localhost:3000`,app_name:i(`VITE_APP_NAME`)??`YlanAI`,app_description:i(`VITE_APP_DESCRIPTION`)??`Structured AI analysis for clearer decisions and next steps`,app_logo:i(`VITE_APP_LOGO`)??`/logo.png`,database_url:r.DATABASE_URL??``,database_auth_token:r.DATABASE_AUTH_TOKEN??``,database_provider:r.DATABASE_PROVIDER??`sqlite`,db_schema:r.DB_SCHEMA??`public`,db_singleton_enabled:r.DB_SINGLETON_ENABLED??`false`,db_max_connections:r.DB_MAX_CONNECTIONS??`1`,auth_url:r.AUTH_URL??i(`VITE_APP_URL`)??``,auth_secret:r.AUTH_SECRET??``,wechat_gateway_url:r.WECHAT_GATEWAY_URL??``,wechat_gateway_hmac_secret:r.WECHAT_GATEWAY_HMAC_SECRET??``,stripe_secret_key:r.STRIPE_SECRET_KEY??``,stripe_publishable_key:r.STRIPE_PUBLISHABLE_KEY??``,stripe_signing_secret:r.STRIPE_SIGNING_SECRET??``,paypal_client_id:r.PAYPAL_CLIENT_ID??``,paypal_client_secret:r.PAYPAL_CLIENT_SECRET??``,paypal_webhook_id:r.PAYPAL_WEBHOOK_ID??``,paypal_environment:r.PAYPAL_ENVIRONMENT??`production`,alipay_app_id:r.ALIPAY_APP_ID??``,alipay_private_key:r.ALIPAY_PRIVATE_KEY??``,alipay_public_key:r.ALIPAY_PUBLIC_KEY??``,alipay_notify_url:r.ALIPAY_NOTIFY_URL??``,wechat_app_id:r.WECHAT_APP_ID??``,wechat_mch_id:r.WECHAT_MCH_ID??``,wechat_api_v3_key:r.WECHAT_API_V3_KEY??``,wechat_private_key:r.WECHAT_PRIVATE_KEY??``,wechat_serial_no:r.WECHAT_SERIAL_NO??``,wechat_notify_url:r.WECHAT_NOTIFY_URL??``,wechat_platform_cert:r.WECHAT_PLATFORM_CERT??``,resend_api_key:r.RESEND_API_KEY??``,resend_sender_email:r.RESEND_SENDER_EMAIL??r.RESEND_EMAIL_FROM??``,storage_endpoint:r.STORAGE_ENDPOINT??``,storage_region:r.STORAGE_REGION??`auto`,storage_access_key:r.STORAGE_ACCESS_KEY??``,storage_secret_key:r.STORAGE_SECRET_KEY??``,storage_bucket:r.STORAGE_BUCKET??``,storage_public_domain:r.STORAGE_PUBLIC_DOMAIN??``,inline_image_max_kb:r.INLINE_IMAGE_MAX_KB??`2048`,replicate_api_token:r.REPLICATE_API_TOKEN??``,locale:i(`VITE_DEFAULT_LOCALE`)??`en`},o=`${a.app_logo}?v=ylanai-logo-20260811-2`;function s(){return e({queryKey:[`public-config`],queryFn:()=>t(`/api/config/public`,{cache:`no-store`}),staleTime:0})}function c(e){return!e||e===a.app_logo?o:`${e}${e.includes(`?`)?`&`:`?`}v=ylanai-runtime-logo`}function l(){let e=s(),t=e.data,n=t?.app_logo?.trim()||a.app_logo;return{appName:t?.app_name?.trim()||a.app_name,appDescription:t?.app_description?.trim()||a.app_description,appLogo:c(n),isFetching:e.isFetching}}export{a as i,l as n,o as r,s as t};

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.