From be78dfe07d6875405d5d22a88a4486820baa670a Mon Sep 17 00:00:00 2001 From: Batyr Date: Tue, 25 Feb 2025 15:34:53 +0500 Subject: [PATCH] build --- dist/about-card-bg.svg | 5 + dist/about-place.jpg | Bin 0 -> 146002 bytes dist/assets/about-ChPZElci.js | 1 + dist/assets/b2b-D0zqzZLZ.js | 1 + ...CSoLxG1m.js => become-sponsor-CoL_-HBF.js} | 2 +- ...tacts-DPIp8sbr.js => contacts-pWCudgBG.js} | 2 +- .../{home-CBklrj1r.js => home-BXNozopp.js} | 2 +- .../{index-DDF6pI4x.js => index-B5AaMRxI.js} | 4 +- ...up-C5pxhYmY.js => radio-group-BvooVY0V.js} | 2 +- ...r-OnsDvTPE.js => react-vendor-DnK_KZAP.js} | 2 +- ...orm-B3U1pIim.js => stend-form-BjJwY_G3.js} | 2 +- dist/assets/ui-library-BUTil4a9.js | 134 ++++++++++++++++++ dist/assets/ui-library-SS_r3a4p.js | 134 ------------------ ...ByehxtTO.js => use-scroll-top-DE9Ps7OH.js} | 2 +- dist/index.html | 6 +- 15 files changed, 153 insertions(+), 146 deletions(-) create mode 100644 dist/about-card-bg.svg create mode 100644 dist/about-place.jpg create mode 100644 dist/assets/about-ChPZElci.js create mode 100644 dist/assets/b2b-D0zqzZLZ.js rename dist/assets/{become-sponsor-CSoLxG1m.js => become-sponsor-CoL_-HBF.js} (94%) rename dist/assets/{contacts-DPIp8sbr.js => contacts-pWCudgBG.js} (94%) rename dist/assets/{home-CBklrj1r.js => home-BXNozopp.js} (76%) rename dist/assets/{index-DDF6pI4x.js => index-B5AaMRxI.js} (64%) rename dist/assets/{radio-group-C5pxhYmY.js => radio-group-BvooVY0V.js} (98%) rename dist/assets/{react-vendor-OnsDvTPE.js => react-vendor-DnK_KZAP.js} (99%) rename dist/assets/{stend-form-B3U1pIim.js => stend-form-BjJwY_G3.js} (95%) create mode 100644 dist/assets/ui-library-BUTil4a9.js delete mode 100644 dist/assets/ui-library-SS_r3a4p.js rename dist/assets/{use-scroll-top-ByehxtTO.js => use-scroll-top-DE9Ps7OH.js} (54%) diff --git a/dist/about-card-bg.svg b/dist/about-card-bg.svg new file mode 100644 index 0000000..ceaaaea --- /dev/null +++ b/dist/about-card-bg.svg @@ -0,0 +1,5 @@ + + + + + diff --git a/dist/about-place.jpg b/dist/about-place.jpg new file mode 100644 index 0000000000000000000000000000000000000000..41c3445e5a2c60b7e9677d3c0ee4b7d94895313a GIT binary patch literal 146002 zcmb4qWmFtN*XBTQf@^RY2n2U`n}Of~f`{Pl?oMz93oy95y9EgD?j-2o1W&N+YNUxCL7i45) z6x7#fsPKY=iHZIi4+kF~4+jsAfS7`WfRKy`508|Vl#G&+nwpw`gbqkY1*D*&ruz31 z1o%``6jW?9G;AtDJVL7f@A9`FfQN>dgH-nlfewI(hwusy;qP|<1zb*Kgn#1xPeA}6 zzCwaai3T4f|JV6{Mga)_9sRooc>M}Kiu(!|KJk7gz2wr2jyD(yf`}#s#-c+2O5ziM z()hlW;4{eqX!2xnLHT(acp$4HBwz-p1Vd6CJteB22?3cq={-I=VIo~3FbX#jKWI!2 zP!I+oV=BR=XT}AUjRJ!Nagk|@Bu9~XHKaiypjdo)43HdcL5gfN5;_?u4ycAMBU{## z1dL`bfS3c(=>P?pG;k{99heSbn=y(eT5@L&osKhF0}OQfRCAFgnO~F$Or#3}egP)o zOO_-_Vt|lwk!ip*U|dZ5D*D$VMn1#RO-IhEIV2H=Z)CCNj;>B+4J`Pz;l|uQb^56r~7x zlO*K;%mAh!P>_>s5(xa35kWFqG6}s1ngx~&cIs!s2U!!M)4!pE;DI1u1j%49BJ=A! zDWIAL2ow&~K$0Q@m4re*6`it5kdd(jewgW*^;D=&x}q8 zhJzhYAXSv|4T!+ZsV*rSOQ`uzEo(vqd`=Bzx*lU8(9cZ z5-5$Kf&!7pqemv}XXcGb#+KriMpA!|FOSa*pN${%QyxMCuk^@xMG$LX*gs4B$Cx0& zPdcuXbZCjP_+Z{BBz5JYJY*VV+5!qJW<)tGU@*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^XXRhi}>$a4I(?K^9+M`>{tBv5G6l8u=xr`?Ptz`E)(Ry{UKb6fl}2r1m! zv?66s(UhXg1{>&)f?6C}W6TRuIKNxg0&b zE2w0+$s6V4N>zv`o)S?}LfSc}?6|lfes+)t4+}N*ATN86l7L#qFr}I_?uio&lwK-y z)lR6}g-}7SNaITz8kK}E7cShg(D?z)mYzx6l%MHdOKg@Mvk&l)6|->$D4K?wi)Fgw_C&*2)wzC zCiJRt22JIIpCd_Q8`VAN%M_k}w@^_?r$-!c4o8Mp_BMaf4j_(>yBskoe9Y;p?Ma?X zz-2$LuUxL>Be$QG$3UOvFcDv%#|?%qXqqK8uxYeynBkZRs)nk?hitR3P#r7`XA?K` zHyiSNU~wuGo!50S4AEv;IpZDdX(ocBxvFOUJ^?anv#ul$pHsC#K^oSIE#THmgxwaK zsx=FLaYTO7fOf`kL Lg?jk#&*J|Bu76aR literal 0 HcmV?d00001 diff --git a/dist/assets/about-ChPZElci.js b/dist/assets/about-ChPZElci.js new file mode 100644 index 0000000..4e1babd --- /dev/null +++ b/dist/assets/about-ChPZElci.js @@ -0,0 +1 @@ +import{u as t,j as s,g as e,C as u,L as n,A as r,h as i,k as x,l,m}from"./ui-library-BUTil4a9.js";import"./react-vendor-DnK_KZAP.js";import{u as j}from"./use-scroll-top-DE9Ps7OH.js";function g(){j();const o=t(a=>a.lang);return s.jsxs("div",{className:e(""),children:[s.jsx(u,{title:o===n.RU?"О выставке":"About exhibition"}),s.jsx(r,{}),s.jsx(i,{}),s.jsx(x,{}),s.jsx(l,{}),s.jsx(m,{})]})}export{g as default}; diff --git a/dist/assets/b2b-D0zqzZLZ.js b/dist/assets/b2b-D0zqzZLZ.js new file mode 100644 index 0000000..c59fd79 --- /dev/null +++ b/dist/assets/b2b-D0zqzZLZ.js @@ -0,0 +1 @@ +import{z as s,n as S,u as f,j as e,o as P,p as r,q as D,r as y,s as v,L as u,t as N,v as o,B as h,w as V,x as E,y as q,D as B,E as z,G as H,I as L,C as U,J as A}from"./ui-library-BUTil4a9.js";import{a as C}from"./react-vendor-DnK_KZAP.js";import{R as I,a as G}from"./radio-group-BvooVY0V.js";import{u as j}from"./use-scroll-top-DE9Ps7OH.js";const J=s.object({type:s.string(),company_name:s.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),representative_name:s.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:s.string().min(3,{message:"Должность должна быть не менее 3 символов"}),participants_number:s.string().min(1,{message:"Укажите количество участников"}),country:s.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email_address:s.string().email({message:"Укажите корректный email"}),phone_number:s.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:s.string().optional(),meeting_objective:s.string().min(3,{message:"Укажите цель встречи"}),proposal_description:s.string().optional(),government_agency:s.string().optional(),sector_industry:s.string().optional(),key_services:s.string().optional(),government_experience:s.string().optional(),preferred_meeting_datetime:s.string().optional(),meeting_mode:s.string().optional(),language_preference:s.string().optional(),technical_requirements:s.string().optional(),company_profile:s.custom(n=>n instanceof File,{message:"Выберите корректный файл"}).refine(n=>n&&["image/jpeg","image/png","application/pdf"].includes(n.type),{message:"Допускаются только файлы JPG, PNG и PDF"}).optional(),proposal_presentation:s.custom(n=>n instanceof File,{message:"Выберите корректный файл"}).refine(n=>n&&["image/jpeg","image/png","application/pdf"].includes(n.type),{message:"Допускаются только файлы JPG, PNG и PDF"}).optional(),relevant_certification:s.custom(n=>n instanceof File,{message:"Выберите корректный файл"}).refine(n=>n&&["image/jpeg","image/png","application/pdf"].includes(n.type),{message:"Допускаются только файлы JPG, PNG и PDF"}).optional()}),T={type:"B2B",company_name:"",representative_name:"",job_title:"",participants_number:"",country:"",email_address:"",phone_number:"",website:"",meeting_objective:"",proposal_description:"",government_agency:"",sector_industry:"",key_services:"",government_experience:"",preferred_meeting_datetime:"",meeting_mode:"",language_preference:"",technical_requirements:""},m=[{h2:"Информация об экспоненте:",data:[{label:"Название компании/организации"},{label:"Имя представителя"},{label:"Название должности/позиция"},{label:"Количество участников"},{label:"Страна"},{label:"Email адрес"},{label:"Номер телефона"},{label:"Веб-сайт"}]},{h2:"Applicant Information:",data:[{label:"Company/Organization Name"},{label:"Name of Representative"},{label:"Job title/Position"},{label:"Number of the participants"},{label:"Country"},{label:"Email"},{label:"Phone number"},{label:"Website"}]}],p=[{h2:"Цели встречи:",secondH2:"Информация о компании/организации:",data:[{label:"Основная цель встречи"},{label:"Краткое описание вашего предложения/проекта/запроса"},{label:"Соответствующее государственное учреждение/департамент"},{label:"Отраслевая промышленность"},{label:"Ключевые услуги/продукты"},{label:"Предыдущий опыт работы с правительствами (если применимо)"}]},{h2:"Meeting Purpose: ",secondH2:"Company/Organization Profile:",data:[{label:"Primary objective of the meeting"},{label:"Brief description of your proposal/project/request"},{label:"Relevant government agency/department"},{label:"Sector Industry "},{label:"Key Services/Products"},{label:"Previous Experience working with Governments (if applicable)"}]}],c=[{h2:"Логистика встречи:",secondH2:"Логистика встречи:",subtitle:"(Пожалуйста приложите следующие документы, если это необходимо)",data:[{label:"Предпочтительная дата и время"},{label:"Предпочтительный способ проведения встречи (лично, виртуально (через zoom/ teams/другое), гибридный)"},{label:"Предпочитаемый язык (английский, туркменский, русский, другой)"},{label:"Дополнительные технические или логистические требования (например, аудио-видео оборудование, переводчики и т.д.)"},{label:"Название компании/организации"},{label:"Предложение/презентация"},{label:"Соответствующие сертификаты/лицензии"}],button:"Отправить"},{h2:"Приложения:",secondH2:"Attachments",subtitle:"(Please attach the following documents as applicable)",data:[{label:"Preferred date and time for the meeting"},{label:"Preferred mode of meeting (in-person, virtual (via zoom/teams/other), hybrid)"},{label:"Language preference (English, turkmen, Russian, other)"},{label:"Additional technical or logistical requirements (e.g. AV equipment, interpreters, etc)"},{label:"Company/organization profile"},{label:"Proposal presentation"},{label:"Relevant certification/licenses"}],button:"Send"}],O=({handleNext:n})=>{j();const{control:l,formState:t}=S(),a=f(i=>i.lang);return e.jsxs(P.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,y:"100%",transition:{duration:.2}},className:"w-full",children:[e.jsx("h2",{className:"h2 mb-8",children:m[r(a)].h2}),e.jsxs("div",{className:"flex flex-col gap-8",children:[e.jsx(D,{defaultValue:1,control:l,name:"type",render:({field:i})=>e.jsxs(y,{className:"space-y-3",children:[e.jsx(v,{className:"text-xl",children:a===u.RU?"Тип:":"Type:"}),e.jsx(N,{children:e.jsxs(I,{onValueChange:i.onChange,defaultValue:i.value,className:"flex flex-col space-y-4",children:[e.jsxs(y,{className:"flex items-center space-x-3 space-y-0",children:[e.jsx(N,{children:e.jsx(G,{value:"B2B",checked:i.value==="B2B"})}),e.jsx(v,{className:"text-base",children:"B2B"})]}),e.jsxs(y,{className:"flex items-center space-x-3 space-y-0",children:[e.jsx(N,{children:e.jsx(G,{value:"B2G",checked:i.value==="B2G"})}),e.jsx(v,{className:"text-base",children:"B2G"})]})]})})]})}),e.jsx(o,{control:l,name:"company_name",error:t.errors.company_name,placeholder:"",label:m[r(a)].data[0].label}),e.jsx(o,{control:l,name:"representative_name",error:t.errors.representative_name,placeholder:"",label:m[r(a)].data[1].label}),e.jsx(o,{control:l,name:"job_title",error:t.errors.job_title,placeholder:"",label:m[r(a)].data[2].label}),e.jsx(o,{control:l,name:"participants_number",error:t.errors.participants_number,placeholder:"",label:m[r(a)].data[3].label}),e.jsx(o,{control:l,name:"country",error:t.errors.country,placeholder:"",label:m[r(a)].data[4].label}),e.jsx(o,{control:l,name:"email_address",error:t.errors.email_address,placeholder:"",label:m[r(a)].data[5].label}),e.jsx(o,{control:l,name:"phone_number",error:t.errors.phone_number,placeholder:"",label:m[r(a)].data[6].label}),e.jsx(o,{control:l,name:"website",placeholder:"",label:m[r(a)].data[7].label})]}),e.jsx(h,{variant:"secondary",type:"button",onClick:n,className:"w-full mt-10",children:a===u.RU?"Далее":"Next"})]})},$=({handleNext:n,handlePrev:l})=>{j();const t=f(x=>x.lang),{control:a,formState:i}=S();return e.jsxs(P.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{delay:.5,duration:.3}},exit:{opacity:0,y:100},children:[e.jsx("h2",{className:"h2 mb-8",children:p[r(t)].h2}),e.jsxs("div",{className:"flex flex-col gap-8",children:[e.jsx(o,{control:a,name:"meeting_objective",error:i.errors.meeting_objective,placeholder:"",label:p[r(t)].data[0].label}),e.jsx(o,{control:a,name:"proposal_description",error:i.errors.proposal_description,placeholder:"",label:p[r(t)].data[1].label}),e.jsx(o,{control:a,name:"government_agency",error:i.errors.government_agency,placeholder:"",label:p[r(t)].data[2].label}),e.jsx("h2",{className:"h2 mt-4",children:p[r(t)].secondH2}),e.jsx(o,{control:a,name:"sector_industry",error:i.errors.sector_industry,placeholder:"",label:p[r(t)].data[3].label}),e.jsx(o,{control:a,name:"key_services",error:i.errors.key_services,placeholder:"",label:p[r(t)].data[4].label}),e.jsx(o,{control:a,name:"government_experience",error:i.errors.government_experience,placeholder:"",label:p[r(t)].data[5].label})]}),e.jsxs("div",{className:"flex items-center gap-6 mt-10",children:[e.jsx(h,{type:"button",onClick:l,variant:"outline",className:"text-on_surface",children:t===u.RU?"Вернуться назад":"Back"}),e.jsx(h,{variant:"secondary",type:"button",onClick:n,className:"w-full",children:t===u.RU?"Далее":"Next"})]})]})},K=({handlePrev:n})=>{j();const{control:l,formState:t}=S(),a=f(i=>i.lang);return e.jsxs(P.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{delay:.5,duration:.3}},transition:{duration:1},children:[e.jsx("h2",{className:"h2 mb-8",children:c[r(a)].h2}),e.jsxs("div",{className:"flex flex-col gap-6",children:[e.jsx(o,{control:l,name:"preferred_meeting_datetime",error:t.errors.preferred_meeting_datetime,placeholder:"",label:c[r(a)].data[0].label}),e.jsx(o,{control:l,name:"preferred_mode",error:t.errors.preferred_mode,placeholder:"",label:c[r(a)].data[1].label}),e.jsx(o,{control:l,name:"language_preference",error:t.errors.language_preference,placeholder:"",label:c[r(a)].data[2].label}),e.jsx(o,{control:l,name:"additional_technical",error:t.errors.additional_technical,placeholder:"",label:c[r(a)].data[3].label})]}),e.jsxs("div",{className:"flex flex-col gap-8",children:[e.jsxs("div",{children:[e.jsx("h3",{className:"h2 mt-10",children:c[r(a)].secondH2}),e.jsx("h5",{className:"text-on_surface_v",children:c[r(a)].subtitle})]}),e.jsx(o,{control:l,name:"company_profile",label:c[r(a)].data[4].label,type:"file",textDark:!0}),e.jsx(o,{control:l,name:"proposal_presentation",label:c[r(a)].data[5].label,type:"file",textDark:!0}),e.jsx(o,{control:l,name:"relevant_certification",label:c[r(a)].data[6].label,type:"file",textDark:!0})]}),e.jsxs("div",{className:"flex items-center gap-6 mt-10",children:[e.jsx(h,{type:"button",onClick:n,variant:"outline",className:"text-on_surface",children:a===u.RU?"Вернуться назад":"Back"}),e.jsx(h,{disabled:t.isSubmitting,type:"submit",className:"w-full",children:t.isSubmitting?e.jsx(V,{className:"animate-spin"}):c[r(a)].button})]})]})},M=({stage:n,setStage:l,success:t,setSuccess:a})=>{const i=E({resolver:H(J),defaultValues:T,mode:"onChange"}),x=d=>{switch(d){case 1:return["type","company_name","representative_name","job_title","participants_number","country","email_address","phone_number","website"];case 2:return["meeting_objective","proposal_description","government_agency","sector_industry","key_services","government_experience"];case 3:return["preferred_meeting_datetime","meeting_mode","language_preference","technical_requirements","company_profile","proposal_presentation","relevant_certification"];default:return[]}},F=async()=>{const d=x(n);await i.trigger(d)&&l(w=>w+1)},k=()=>l(d=>d-1),R=async d=>{try{const b=new FormData;Object.entries(d).forEach(([_,g])=>{g instanceof File?(console.log(`Добавляем файл: ${_}`,g),b.append(_,g)):g!==void 0&&(console.log(`Добавляем поле: ${_}`,g),b.append(_,g))}),(await L.post("https://turkmentextile.turkmenexpo.com/app/api/v1/form",b,{headers:{"Content-Type":"multipart/form-data"}})).status===201&&a(!0)}catch(b){console.error("Ошибка при отправке B2B формы:",b)}};return e.jsx(q,{...i,children:e.jsx("form",{onSubmit:i.handleSubmit(R),children:e.jsxs("div",{className:"relative",children:[e.jsx(B,{children:n===1&&e.jsx(O,{handleNext:F})}),e.jsx(B,{children:n===2&&e.jsx($,{handleNext:F,handlePrev:k})}),e.jsx(B,{children:n===3&&t===!1&&e.jsx(K,{handlePrev:k})}),t&&e.jsx(z,{})]})})})};function Z(){j();const n=f(x=>x.lang),[l,t]=C.useState(1),[a,i]=C.useState(!1);return e.jsxs("div",{className:"pb-[120px]",children:[e.jsx(U,{title:n===u.RU?"B2B | B2G встречи":"B2B | B2G meetings"}),!a&&l!==0&&e.jsx(A,{stage:l}),e.jsx("div",{className:"max-w-[808px] md:mx-auto mx-5",children:e.jsx(M,{success:a,setSuccess:i,stage:l,setStage:t})})]})}export{Z as default}; diff --git a/dist/assets/become-sponsor-CSoLxG1m.js b/dist/assets/become-sponsor-CoL_-HBF.js similarity index 94% rename from dist/assets/become-sponsor-CSoLxG1m.js rename to dist/assets/become-sponsor-CoL_-HBF.js index 53206c3..83bf293 100644 --- a/dist/assets/become-sponsor-CSoLxG1m.js +++ b/dist/assets/become-sponsor-CoL_-HBF.js @@ -1 +1 @@ -import{z as t,u as h,x as _,j as e,C as g,L as y,D as f,y as S,o as v,v as l,p as o,q as F,r as c,s as i,t as p,B as N,w,E as C,K as L,G as R}from"./ui-library-SS_r3a4p.js";import{a as B}from"./react-vendor-OnsDvTPE.js";import{R as V,a as j}from"./radio-group-C5pxhYmY.js";import{u as D}from"./use-scroll-top-ByehxtTO.js";import{s as r}from"./stend.data-Dr6usuZY.js";const E=t.object({company_name:t.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:t.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:t.string().min(3,{message:"Должность должна быть не менее 3 символов"}),country:t.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:t.string().email({message:"Укажите корректный email"}),phone:t.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:t.string().optional(),visa_support:t.string().optional()}),G={company_name:"",rep_name:"",job_title:"",country:"",email:"",phone:"",website:"",visa_support:""};function z(){D();const a=h(n=>n.lang),[x,b]=B.useState(!1),s=_({resolver:R(E),defaultValues:G}),d=async n=>{try{await L(n)&&b(!0)}catch(u){console.error("POST sponsor error",u)}},{errors:m}=s.formState;return e.jsxs("div",{children:[e.jsx(g,{title:a===y.RU?"Стать спонсором":"Become a sponsor"}),e.jsx(f,{children:!x&&e.jsx(S,{...s,children:e.jsxs(v.form,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"max-w-[828px] mx-auto px-5 md:mt-20 mt-10 mb-20 md:mb-[120px] flex flex-col gap-8",onSubmit:s.handleSubmit(d),children:[e.jsx(l,{label:r[o(a)].label_1,name:"company_name",control:s.control,error:m.company_name}),e.jsx(l,{label:r[o(a)].label_2,name:"rep_name",control:s.control,error:m.rep_name}),e.jsx(l,{label:r[o(a)].label_3,name:"job_title",control:s.control,error:m.job_title}),e.jsx(l,{label:r[o(a)].label_4,name:"country",control:s.control,error:m.country}),e.jsx(l,{label:r[o(a)].label_5,name:"email",control:s.control,error:m.email}),e.jsx(l,{label:r[o(a)].label_6,name:"phone",control:s.control,error:m.phone}),e.jsx(l,{label:r[o(a)].label_7,name:"website",control:s.control}),e.jsx(F,{control:s.control,name:"visa_support",render:({field:n})=>e.jsxs(c,{className:"space-y-5",children:[e.jsx(i,{className:"text-xl",children:r[o(a)].visa}),e.jsx(p,{children:e.jsxs(V,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4 ml-3",children:[e.jsxs(c,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(p,{children:e.jsx(j,{value:"yes",checked:n.value==="yes"})}),e.jsx(i,{className:"text-base",children:r[o(a)].visa_radio})]}),e.jsxs(c,{className:"flex items-center space-x-5 space-y-0 ",children:[e.jsx(p,{children:e.jsx(j,{value:"no",checked:n.value==="no"})}),e.jsx(i,{className:"text-base",children:r[o(a)].visa_radio_2})]})]})})]})}),e.jsx(N,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?e.jsx(w,{className:"animate-spin"}):r[o(a)].button})]})})}),x&&e.jsx(C,{delay:.3})]})}export{z as default}; +import{z as t,u as h,x as _,j as e,C as g,L as y,D as f,y as S,o as v,v as l,p as o,q as F,r as c,s as i,t as p,B as N,w,E as C,K as L,G as R}from"./ui-library-BUTil4a9.js";import{a as B}from"./react-vendor-DnK_KZAP.js";import{R as V,a as j}from"./radio-group-BvooVY0V.js";import{u as D}from"./use-scroll-top-DE9Ps7OH.js";import{s as r}from"./stend.data-Dr6usuZY.js";const E=t.object({company_name:t.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:t.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:t.string().min(3,{message:"Должность должна быть не менее 3 символов"}),country:t.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:t.string().email({message:"Укажите корректный email"}),phone:t.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:t.string().optional(),visa_support:t.string().optional()}),G={company_name:"",rep_name:"",job_title:"",country:"",email:"",phone:"",website:"",visa_support:""};function z(){D();const a=h(n=>n.lang),[x,b]=B.useState(!1),s=_({resolver:R(E),defaultValues:G}),d=async n=>{try{await L(n)&&b(!0)}catch(u){console.error("POST sponsor error",u)}},{errors:m}=s.formState;return e.jsxs("div",{children:[e.jsx(g,{title:a===y.RU?"Стать спонсором":"Become a sponsor"}),e.jsx(f,{children:!x&&e.jsx(S,{...s,children:e.jsxs(v.form,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"max-w-[828px] mx-auto px-5 md:mt-20 mt-10 mb-20 md:mb-[120px] flex flex-col gap-8",onSubmit:s.handleSubmit(d),children:[e.jsx(l,{label:r[o(a)].label_1,name:"company_name",control:s.control,error:m.company_name}),e.jsx(l,{label:r[o(a)].label_2,name:"rep_name",control:s.control,error:m.rep_name}),e.jsx(l,{label:r[o(a)].label_3,name:"job_title",control:s.control,error:m.job_title}),e.jsx(l,{label:r[o(a)].label_4,name:"country",control:s.control,error:m.country}),e.jsx(l,{label:r[o(a)].label_5,name:"email",control:s.control,error:m.email}),e.jsx(l,{label:r[o(a)].label_6,name:"phone",control:s.control,error:m.phone}),e.jsx(l,{label:r[o(a)].label_7,name:"website",control:s.control}),e.jsx(F,{control:s.control,name:"visa_support",render:({field:n})=>e.jsxs(c,{className:"space-y-5",children:[e.jsx(i,{className:"text-xl",children:r[o(a)].visa}),e.jsx(p,{children:e.jsxs(V,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4 ml-3",children:[e.jsxs(c,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(p,{children:e.jsx(j,{value:"yes",checked:n.value==="yes"})}),e.jsx(i,{className:"text-base",children:r[o(a)].visa_radio})]}),e.jsxs(c,{className:"flex items-center space-x-5 space-y-0 ",children:[e.jsx(p,{children:e.jsx(j,{value:"no",checked:n.value==="no"})}),e.jsx(i,{className:"text-base",children:r[o(a)].visa_radio_2})]})]})})]})}),e.jsx(N,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?e.jsx(w,{className:"animate-spin"}):r[o(a)].button})]})})}),x&&e.jsx(C,{delay:.3})]})}export{z as default}; diff --git a/dist/assets/contacts-DPIp8sbr.js b/dist/assets/contacts-pWCudgBG.js similarity index 94% rename from dist/assets/contacts-DPIp8sbr.js rename to dist/assets/contacts-pWCudgBG.js index 914078a..a087a0a 100644 --- a/dist/assets/contacts-DPIp8sbr.js +++ b/dist/assets/contacts-pWCudgBG.js @@ -1 +1 @@ -import{z as t,Y as m,x as h,j as s,g as u,y as p,v as n,B as g,Z as j,G as f,_ as b,$ as N}from"./ui-library-SS_r3a4p.js";import{a as v}from"./react-vendor-OnsDvTPE.js";import{u as C}from"./use-scroll-top-ByehxtTO.js";const w=t.object({name:t.string().min(2,"error"),email:t.string().email(),phone:t.string().min(8,"error"),company:t.string().min(2,"error"),msg:t.string().min(5,"error")}),y={name:"",email:"",phone:"",company:"",msg:""},L=({className:r})=>{const{t:a}=m("contacts"),[c,i]=v.useState(!1),e=h({resolver:f(w),defaultValues:y});async function x(d){try{const o=await b(d);i(o)}catch(o){console.error("POST contact",o)}}const{errors:l}=e.formState;return s.jsx("div",{className:u("bg-primary rounded-[8px] py-8 px-6 ",r),children:s.jsx(p,{...e,children:s.jsxs("form",{onSubmit:e.handleSubmit(x),children:[s.jsx("h2",{className:"h2 !text-on_primary lg:mb-8 mb-6",children:a("title")}),s.jsxs("div",{className:"flex flex-col gap-8",children:[s.jsx(n,{onPrimary:!0,name:"name",control:e.control,label:a("name"),error:l.name}),s.jsxs("div",{className:"flex flex-col lg:flex-row gap-6",children:[s.jsx(n,{onPrimary:!0,name:"email",control:e.control,label:"Email",error:l.email}),s.jsx(n,{onPrimary:!0,name:"phone",control:e.control,label:a("phone"),error:l.phone})]}),s.jsx(n,{onPrimary:!0,name:"company",control:e.control,label:a("company"),error:l.name}),s.jsx(n,{onPrimary:!0,textArea:!0,name:"msg",label:a("message"),control:e.control,error:l.msg}),s.jsx(g,{disabled:e.formState.isSubmitting||c,className:"w-full h-12 overflow-hidden",variant:"secondary",children:c?a("submitted"):e.formState.isSubmitting?s.jsx(j,{className:"animate-spin text-white"}):a("button")})]})]})})})};function F(){C();const{t:r}=m("contacts");return s.jsxs("div",{className:"flex flex-col gap-20 pt-10 md:pt-20",children:[s.jsx(N,{children:s.jsxs("section",{className:"grid grid-cols-1 lg:grid-cols-2 gap-20 lg:gap-6",children:[s.jsx(L,{}),s.jsxs("div",{className:"p-6 bg-surface_container rounded-[8px]",children:[s.jsx("h2",{className:"h2 mb-10 xl:mb-8",children:r("title_2")}),s.jsxs("div",{className:"flex flex-col gap-20",children:[s.jsxs("div",{className:"flex items-center gap-6",children:[s.jsx("img",{src:"/contacts/map.svg",alt:"address"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl mb-2",children:r("address")}),s.jsx("address",{className:"text-base normal not-italic",children:r("venue")})]})]}),s.jsxs("div",{className:"flex items-center gap-6",children:[s.jsx("img",{src:"/contacts/phone.svg",alt:"phone"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl mb-2",children:r("phone")}),s.jsx("h4",{className:"text-base normal",children:"+99371871812; 99363719588"})]})]}),s.jsxs("div",{className:"flex items-center gap-6",children:[s.jsx("img",{src:"/contacts/email.svg",alt:"email"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl mb-2",children:"Email:"}),s.jsx("h4",{className:"text-base normal",children:"contact@turkmenexpo.com"})]})]})]})]})]})}),s.jsx("section",{className:"relative w-full h-[300px] sm:h-[350px] md:h-[400px] lg:h-[600px]",children:s.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1443.0869986358682!2d58.35620779177324!3d37.921200202365405!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3f7001fd7afd2a95%3A0x9ce9dca95ea4b87e!2z0JDQstC40LDQutCw0YHRgdCwINCw0LLQuNCw0LrQvtC80L_QsNC90LjQuCDCq9CR0LXQu9Cw0LLQuNCwwrsg0LIg0KLRg9GA0LrQvNC10L3QuNGB0YLQsNC90LU!5e0!3m2!1sru!2sru!4v1738063695919!5m2!1sru!2sru",className:"absolute inset-0 w-full h-full ",style:{border:0},allowFullScreen:!0,loading:"lazy"})})]})}export{F as default}; +import{z as t,Y as m,x as h,j as s,g as u,y as p,v as n,B as g,Z as j,G as f,_ as b,$ as N}from"./ui-library-BUTil4a9.js";import{a as v}from"./react-vendor-DnK_KZAP.js";import{u as C}from"./use-scroll-top-DE9Ps7OH.js";const w=t.object({name:t.string().min(2,"error"),email:t.string().email(),phone:t.string().min(8,"error"),company:t.string().min(2,"error"),msg:t.string().min(5,"error")}),y={name:"",email:"",phone:"",company:"",msg:""},L=({className:r})=>{const{t:a}=m("contacts"),[c,i]=v.useState(!1),e=h({resolver:f(w),defaultValues:y});async function x(d){try{const o=await b(d);i(o)}catch(o){console.error("POST contact",o)}}const{errors:l}=e.formState;return s.jsx("div",{className:u("bg-primary rounded-[8px] py-8 px-6 ",r),children:s.jsx(p,{...e,children:s.jsxs("form",{onSubmit:e.handleSubmit(x),children:[s.jsx("h2",{className:"h2 !text-on_primary lg:mb-8 mb-6",children:a("title")}),s.jsxs("div",{className:"flex flex-col gap-8",children:[s.jsx(n,{onPrimary:!0,name:"name",control:e.control,label:a("name"),error:l.name}),s.jsxs("div",{className:"flex flex-col lg:flex-row gap-6",children:[s.jsx(n,{onPrimary:!0,name:"email",control:e.control,label:"Email",error:l.email}),s.jsx(n,{onPrimary:!0,name:"phone",control:e.control,label:a("phone"),error:l.phone})]}),s.jsx(n,{onPrimary:!0,name:"company",control:e.control,label:a("company"),error:l.name}),s.jsx(n,{onPrimary:!0,textArea:!0,name:"msg",label:a("message"),control:e.control,error:l.msg}),s.jsx(g,{disabled:e.formState.isSubmitting||c,className:"w-full h-12 overflow-hidden",variant:"secondary",children:c?a("submitted"):e.formState.isSubmitting?s.jsx(j,{className:"animate-spin text-white"}):a("button")})]})]})})})};function F(){C();const{t:r}=m("contacts");return s.jsxs("div",{className:"flex flex-col gap-20 pt-10 md:pt-20",children:[s.jsx(N,{children:s.jsxs("section",{className:"grid grid-cols-1 lg:grid-cols-2 gap-20 lg:gap-6",children:[s.jsx(L,{}),s.jsxs("div",{className:"p-6 bg-surface_container rounded-[8px]",children:[s.jsx("h2",{className:"h2 mb-10 xl:mb-8",children:r("title_2")}),s.jsxs("div",{className:"flex flex-col gap-20",children:[s.jsxs("div",{className:"flex items-center gap-6",children:[s.jsx("img",{src:"/contacts/map.svg",alt:"address"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl mb-2",children:r("address")}),s.jsx("address",{className:"text-base normal not-italic",children:r("venue")})]})]}),s.jsxs("div",{className:"flex items-center gap-6",children:[s.jsx("img",{src:"/contacts/phone.svg",alt:"phone"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl mb-2",children:r("phone")}),s.jsx("h4",{className:"text-base normal",children:"+99371871812; 99363719588"})]})]}),s.jsxs("div",{className:"flex items-center gap-6",children:[s.jsx("img",{src:"/contacts/email.svg",alt:"email"}),s.jsxs("div",{children:[s.jsx("h3",{className:"text-xl mb-2",children:"Email:"}),s.jsx("h4",{className:"text-base normal",children:"contact@turkmenexpo.com"})]})]})]})]})]})}),s.jsx("section",{className:"relative w-full h-[300px] sm:h-[350px] md:h-[400px] lg:h-[600px]",children:s.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1443.0869986358682!2d58.35620779177324!3d37.921200202365405!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3f7001fd7afd2a95%3A0x9ce9dca95ea4b87e!2z0JDQstC40LDQutCw0YHRgdCwINCw0LLQuNCw0LrQvtC80L_QsNC90LjQuCDCq9CR0LXQu9Cw0LLQuNCwwrsg0LIg0KLRg9GA0LrQvNC10L3QuNGB0YLQsNC90LU!5e0!3m2!1sru!2sru!4v1738063695919!5m2!1sru!2sru",className:"absolute inset-0 w-full h-full ",style:{border:0},allowFullScreen:!0,loading:"lazy"})})]})}export{F as default}; diff --git a/dist/assets/home-CBklrj1r.js b/dist/assets/home-BXNozopp.js similarity index 76% rename from dist/assets/home-CBklrj1r.js rename to dist/assets/home-BXNozopp.js index 05ace78..ff9a80a 100644 --- a/dist/assets/home-CBklrj1r.js +++ b/dist/assets/home-BXNozopp.js @@ -1 +1 @@ -import{j as e,b as s,c as o,d as m,e as a,f as x}from"./ui-library-SS_r3a4p.js";import"./react-vendor-OnsDvTPE.js";function f(){return e.jsxs("div",{className:"flex flex-col gap-20",children:[e.jsx(s,{}),e.jsx(o,{}),e.jsx(m,{}),e.jsx(a,{}),e.jsx(x,{})]})}export{f as default}; +import{j as e,b as s,c as o,d as m,e as a,f as x}from"./ui-library-BUTil4a9.js";import"./react-vendor-DnK_KZAP.js";function f(){return e.jsxs("div",{className:"flex flex-col gap-20",children:[e.jsx(s,{}),e.jsx(o,{}),e.jsx(m,{}),e.jsx(a,{}),e.jsx(x,{})]})}export{f as default}; diff --git a/dist/assets/index-DDF6pI4x.js b/dist/assets/index-B5AaMRxI.js similarity index 64% rename from dist/assets/index-DDF6pI4x.js rename to dist/assets/index-B5AaMRxI.js index 6770864..084b16b 100644 --- a/dist/assets/index-DDF6pI4x.js +++ b/dist/assets/index-B5AaMRxI.js @@ -1,2 +1,2 @@ -const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/home-CBklrj1r.js","assets/ui-library-SS_r3a4p.js","assets/react-vendor-OnsDvTPE.js","assets/about-CHiIW0g9.js","assets/use-scroll-top-ByehxtTO.js","assets/b2b-D-H971YE.js","assets/radio-group-C5pxhYmY.js","assets/become-sponsor-CSoLxG1m.js","assets/stend.data-Dr6usuZY.js","assets/stend-form-B3U1pIim.js","assets/contacts-DPIp8sbr.js"])))=>i.map(i=>d[i]); -import{u as ve,i as Le,j as S,H as ke,F as Re,Q as $e,a as Pe}from"./ui-library-SS_r3a4p.js";import{f as Ce,a as N,O as Ee,g as Te,h as Ne}from"./react-vendor-OnsDvTPE.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function t(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(s){if(s.ep)return;s.ep=!0;const i=t(s);fetch(s.href,i)}})();const je="modulepreload",Fe=function(a){return"/"+a},ae={},V=function(e,t,n){let s=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const r=document.querySelector("meta[property=csp-nonce]"),l=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));s=Promise.allSettled(t.map(o=>{if(o=Fe(o),o in ae)return;ae[o]=!0;const u=o.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${o}"]${d}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":je,u||(h.as="script"),h.crossOrigin="",h.href=o,l&&h.setAttribute("nonce",l),document.head.appendChild(h),u)return new Promise((c,p)=>{h.addEventListener("load",c),h.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${o}`)))})}))}function i(r){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=r,window.dispatchEvent(l),!l.defaultPrevented)throw r}return s.then(r=>{for(const l of r||[])l.status==="rejected"&&i(l.reason);return e().catch(i)})};var W={},oe;function Ae(){if(oe)return W;oe=1;var a=Ce();return W.createRoot=a.createRoot,W.hydrateRoot=a.hydrateRoot,W}var Ie=Ae();const g=a=>typeof a=="string",H=()=>{let a,e;const t=new Promise((n,s)=>{a=n,e=s});return t.resolve=a,t.reject=e,t},le=a=>a==null?"":""+a,De=(a,e,t)=>{a.forEach(n=>{e[n]&&(t[n]=e[n])})},Ve=/###/g,ue=a=>a&&a.indexOf("###")>-1?a.replace(Ve,"."):a,ce=a=>!a||g(a),z=(a,e,t)=>{const n=g(e)?e.split("."):e;let s=0;for(;s{const{obj:n,k:s}=z(a,e,Object);if(n!==void 0||e.length===1){n[s]=t;return}let i=e[e.length-1],r=e.slice(0,e.length-1),l=z(a,r,Object);for(;l.obj===void 0&&r.length;)i=`${r[r.length-1]}.${i}`,r=r.slice(0,r.length-1),l=z(a,r,Object),l!=null&&l.obj&&typeof l.obj[`${l.k}.${i}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${i}`]=t},Be=(a,e,t,n)=>{const{obj:s,k:i}=z(a,e,Object);s[i]=s[i]||[],s[i].push(t)},Q=(a,e)=>{const{obj:t,k:n}=z(a,e);if(t&&Object.prototype.hasOwnProperty.call(t,n))return t[n]},Ke=(a,e,t)=>{const n=Q(a,t);return n!==void 0?n:Q(e,t)},Oe=(a,e,t)=>{for(const n in e)n!=="__proto__"&&n!=="constructor"&&(n in a?g(a[n])||a[n]instanceof String||g(e[n])||e[n]instanceof String?t&&(a[n]=e[n]):Oe(a[n],e[n],t):a[n]=e[n]);return a},I=a=>a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Ue={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Me=a=>g(a)?a.replace(/[&<>"'\/]/g,e=>Ue[e]):a;class He{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(t!==void 0)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}const ze=[" ",",","?","!",";"],Je=new He(20),Ge=(a,e,t)=>{e=e||"",t=t||"";const n=ze.filter(r=>e.indexOf(r)<0&&t.indexOf(r)<0);if(n.length===0)return!0;const s=Je.getRegExp(`(${n.map(r=>r==="?"?"\\?":r).join("|")})`);let i=!s.test(a);if(!i){const r=a.indexOf(t);r>0&&!s.test(a.substring(0,r))&&(i=!0)}return i},te=function(a,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!a)return;if(a[e])return Object.prototype.hasOwnProperty.call(a,e)?a[e]:void 0;const n=e.split(t);let s=a;for(let i=0;i-1&&oa==null?void 0:a.replace("_","-"),We={type:"logger",log(a){this.output("log",a)},warn(a){this.output("warn",a)},error(a){this.output("error",a)},output(a,e){var t,n;(n=(t=console==null?void 0:console[a])==null?void 0:t.apply)==null||n.call(t,console,e)}};class Z{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||We,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n{this.observers[n]||(this.observers[n]=new Map);const s=this.observers[n].get(t)||0;this.observers[n].set(t,s+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s{let[l,o]=r;for(let u=0;u{let[l,o]=r;for(let u=0;u1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){var u,d;let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,r=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;e.indexOf(".")>-1?l=e.split("."):(l=[e,t],n&&(Array.isArray(n)?l.push(...n):g(n)&&i?l.push(...n.split(i)):l.push(n)));const o=Q(this.data,l);return!o&&!t&&!n&&e.indexOf(".")>-1&&(e=l[0],t=l[1],n=l.slice(2).join(".")),o||!r||!g(n)?o:te((d=(u=this.data)==null?void 0:u[e])==null?void 0:d[t],n,i)}addResource(e,t,n,s){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const r=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let l=[e,t];n&&(l=l.concat(r?n.split(r):n)),e.indexOf(".")>-1&&(l=e.split("."),s=t,t=l[1]),this.addNamespaces(t),de(this.data,l,s),i.silent||this.emit("added",e,t,n,s)}addResources(e,t,n){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const i in n)(g(n[i])||Array.isArray(n[i]))&&this.addResource(e,t,i,n[i],{silent:!0});s.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,s,i){let r=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[e,t];e.indexOf(".")>-1&&(l=e.split("."),s=n,n=t,t=l[1]),this.addNamespaces(t);let o=Q(this.data,l)||{};r.skipCopy||(n=JSON.parse(JSON.stringify(n))),s?Oe(o,n,i):o={...o,...n},de(this.data,l,o),r.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(s=>t[s]&&Object.keys(t[s]).length>0)}toJSON(){return this.data}}var we={processors:{},addPostProcessor(a){this.processors[a.name]=a},handle(a,e,t,n,s){return a.forEach(i=>{var r;e=((r=this.processors[i])==null?void 0:r.process(e,t,n,s))??e}),e}};const fe={},ge=a=>!g(a)&&typeof a!="boolean"&&typeof a!="number";class X extends _{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),De(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=E.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const n=this.resolve(e,t);return(n==null?void 0:n.res)!==void 0}extractFromKey(e,t){let n=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const s=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const r=n&&e.indexOf(n)>-1,l=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Ge(e,n,s);if(r&&!l){const o=e.match(this.interpolator.nestingRegexp);if(o&&o.length>0)return{key:e,namespaces:g(i)?[i]:i};const u=e.split(n);(n!==s||n===s&&this.options.ns.indexOf(u[0])>-1)&&(i=u.shift()),e=u.join(s)}return{key:e,namespaces:g(i)?[i]:i}}translate(e,t,n){if(typeof t!="object"&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),typeof t=="object"&&(t={...t}),t||(t={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const s=t.returnDetails!==void 0?t.returnDetails:this.options.returnDetails,i=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,{key:r,namespaces:l}=this.extractFromKey(e[e.length-1],t),o=l[l.length-1],u=t.lng||this.language,d=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((u==null?void 0:u.toLowerCase())==="cimode"){if(d){const L=t.nsSeparator||this.options.nsSeparator;return s?{res:`${o}${L}${r}`,usedKey:r,exactUsedKey:r,usedLng:u,usedNS:o,usedParams:this.getUsedParamsDetails(t)}:`${o}${L}${r}`}return s?{res:r,usedKey:r,exactUsedKey:r,usedLng:u,usedNS:o,usedParams:this.getUsedParamsDetails(t)}:r}const h=this.resolve(e,t);let c=h==null?void 0:h.res;const p=(h==null?void 0:h.usedKey)||r,f=(h==null?void 0:h.exactUsedKey)||r,m=["[object Number]","[object Function]","[object RegExp]"],x=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,v=!this.i18nFormat||this.i18nFormat.handleAsObject,O=t.count!==void 0&&!g(t.count),P=X.hasDefaultValue(t),R=O?this.pluralResolver.getSuffix(u,t.count,t):"",B=t.ordinal&&O?this.pluralResolver.getSuffix(u,t.count,{ordinal:!1}):"",K=O&&!t.ordinal&&t.count===0,y=K&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${R}`]||t[`defaultValue${B}`]||t.defaultValue;let w=c;v&&!c&&P&&(w=y);const F=ge(w),A=Object.prototype.toString.apply(w);if(v&&w&&F&&m.indexOf(A)<0&&!(g(x)&&Array.isArray(w))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const L=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,w,{...t,ns:l}):`key '${r} (${this.language})' returned an object instead of string.`;return s?(h.res=L,h.usedParams=this.getUsedParamsDetails(t),h):L}if(i){const L=Array.isArray(w),$=L?[]:{},ne=L?f:p;for(const C in w)if(Object.prototype.hasOwnProperty.call(w,C)){const T=`${ne}${i}${C}`;P&&!c?$[C]=this.translate(T,{...t,defaultValue:ge(y)?y[C]:void 0,joinArrays:!1,ns:l}):$[C]=this.translate(T,{...t,joinArrays:!1,ns:l}),$[C]===T&&($[C]=w[C])}c=$}}else if(v&&g(x)&&Array.isArray(c))c=c.join(x),c&&(c=this.extendTranslation(c,e,t,n));else{let L=!1,$=!1;!this.isValidLookup(c)&&P&&(L=!0,c=y),this.isValidLookup(c)||($=!0,c=r);const C=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&$?void 0:c,T=P&&y!==c&&this.options.updateMissing;if($||L||T){if(this.logger.log(T?"updateKey":"missingKey",u,o,r,T?y:c),i){const k=this.resolve(r,{...t,keySeparator:!1});k&&k.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let U=[];const G=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&G&&G[0])for(let k=0;k{var re;const ie=P&&M!==c?M:C;this.options.missingKeyHandler?this.options.missingKeyHandler(k,o,j,ie,T,t):(re=this.backendConnector)!=null&&re.saveMissing&&this.backendConnector.saveMissing(k,o,j,ie,T,t),this.emit("missingKey",k,o,j,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&O?U.forEach(k=>{const j=this.pluralResolver.getSuffixes(k,t);K&&t[`defaultValue${this.options.pluralSeparator}zero`]&&j.indexOf(`${this.options.pluralSeparator}zero`)<0&&j.push(`${this.options.pluralSeparator}zero`),j.forEach(M=>{se([k],r+M,t[`defaultValue${M}`]||y)})}):se(U,r,y))}c=this.extendTranslation(c,e,t,h,n),$&&c===r&&this.options.appendNamespaceToMissingKey&&(c=`${o}:${r}`),($||L)&&this.options.parseMissingKeyHandler&&(c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${o}:${r}`:r,L?c:void 0))}return s?(h.res=c,h.usedParams=this.getUsedParamsDetails(t),h):c}extendTranslation(e,t,n,s,i){var u,d;var r=this;if((u=this.i18nFormat)!=null&&u.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const h=g(e)&&(((d=n==null?void 0:n.interpolation)==null?void 0:d.skipOnVariables)!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let c;if(h){const f=e.match(this.interpolator.nestingRegexp);c=f&&f.length}let p=n.replace&&!g(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),e=this.interpolator.interpolate(e,p,n.lng||this.language||s.usedLng,n),h){const f=e.match(this.interpolator.nestingRegexp),m=f&&f.length;c1&&arguments[1]!==void 0?arguments[1]:{},n,s,i,r,l;return g(e)&&(e=[e]),e.forEach(o=>{if(this.isValidLookup(n))return;const u=this.extractFromKey(o,t),d=u.key;s=d;let h=u.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));const c=t.count!==void 0&&!g(t.count),p=c&&!t.ordinal&&t.count===0,f=t.context!==void 0&&(g(t.context)||typeof t.context=="number")&&t.context!=="",m=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);h.forEach(x=>{var v,O;this.isValidLookup(n)||(l=x,!fe[`${m[0]}-${x}`]&&((v=this.utils)!=null&&v.hasLoadedNamespace)&&!((O=this.utils)!=null&&O.hasLoadedNamespace(l))&&(fe[`${m[0]}-${x}`]=!0,this.logger.warn(`key "${s}" for languages "${m.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach(P=>{var K;if(this.isValidLookup(n))return;r=P;const R=[d];if((K=this.i18nFormat)!=null&&K.addLookupKeys)this.i18nFormat.addLookupKeys(R,d,P,x,t);else{let y;c&&(y=this.pluralResolver.getSuffix(P,t.count,t));const w=`${this.options.pluralSeparator}zero`,F=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(R.push(d+y),t.ordinal&&y.indexOf(F)===0&&R.push(d+y.replace(F,this.options.pluralSeparator)),p&&R.push(d+w)),f){const A=`${d}${this.options.contextSeparator}${t.context}`;R.push(A),c&&(R.push(A+y),t.ordinal&&y.indexOf(F)===0&&R.push(A+y.replace(F,this.options.pluralSeparator)),p&&R.push(A+w))}}let B;for(;B=R.pop();)this.isValidLookup(n)||(i=B,n=this.getResource(P,x,B,t))}))})}),{res:n,usedKey:s,exactUsedKey:i,usedLng:r,usedNS:l}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,n){var i;let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(i=this.i18nFormat)!=null&&i.getResource?this.i18nFormat.getResource(e,t,n,s):this.resourceStore.getResource(e,t,n,s)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!g(e.replace);let s=n?e.replace:e;if(n&&typeof e.count<"u"&&(s.count=e.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!n){s={...s};for(const i of t)delete s[i]}return s}static hasDefaultValue(e){const t="defaultValue";for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&e[n]!==void 0)return!0;return!1}}class pe{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=E.create("languageUtils")}getScriptPartFromCode(e){if(e=Y(e),!e||e.indexOf("-")<0)return null;const t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=Y(e),!e||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(g(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(n=>{if(t)return;const s=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(s))&&(t=s)}),!t&&this.options.supportedLngs&&e.forEach(n=>{if(t)return;const s=this.getLanguagePartFromCode(n);if(this.isSupportedCode(s))return t=s;t=this.options.supportedLngs.find(i=>{if(i===s)return i;if(!(i.indexOf("-")<0&&s.indexOf("-")<0)&&(i.indexOf("-")>0&&s.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===s||i.indexOf(s)===0&&s.length>1))return i})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),g(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),s=[],i=r=>{r&&(this.isSupportedCode(r)?s.push(r):this.logger.warn(`rejecting language code not found in supportedLngs: ${r}`))};return g(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(e))):g(e)&&i(this.formatLanguageCode(e)),n.forEach(r=>{s.indexOf(r)<0&&i(this.formatLanguageCode(r))}),s}}const me={zero:0,one:1,two:2,few:3,many:4,other:5},xe={select:a=>a===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class qe{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=E.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Y(e==="dev"?"en":e),s=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:s});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let r;try{r=new Intl.PluralRules(n,{type:s})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),xe;if(!e.match(/-|_/))return xe;const o=this.languageUtils.getLanguagePartFromCode(e);r=this.getRule(o,t)}return this.pluralRulesCache[i]=r,r}needsPlural(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),(n==null?void 0:n.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,n).map(s=>`${t}${s}`)}getSuffixes(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?n.resolvedOptions().pluralCategories.sort((s,i)=>me[s]-me[i]).map(s=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${s}`):[]}getSuffix(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(e,n);return s?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${s.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}const be=function(a,e,t){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=Ke(a,e,t);return!i&&s&&g(t)&&(i=te(a,t,n),i===void 0&&(i=te(e,t,n))),i},ee=a=>a.replace(/\$/g,"$$$$");class Qe{constructor(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=E.create("interpolator"),this.options=e,this.format=((t=e==null?void 0:e.interpolation)==null?void 0:t.format)||(n=>n),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:s,prefix:i,prefixEscaped:r,suffix:l,suffixEscaped:o,formatSeparator:u,unescapeSuffix:d,unescapePrefix:h,nestingPrefix:c,nestingPrefixEscaped:p,nestingSuffix:f,nestingSuffixEscaped:m,nestingOptionsSeparator:x,maxReplaces:v,alwaysFormat:O}=e.interpolation;this.escape=t!==void 0?t:Me,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=s!==void 0?s:!1,this.prefix=i?I(i):r||"{{",this.suffix=l?I(l):o||"}}",this.formatSeparator=u||",",this.unescapePrefix=d?"":h||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=c?I(c):p||I("$t("),this.nestingSuffix=f?I(f):m||I(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=v||1e3,this.alwaysFormat=O!==void 0?O:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(t,n)=>(t==null?void 0:t.source)===n?(t.lastIndex=0,t):new RegExp(n,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,s){var p;let i,r,l;const o=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=f=>{if(f.indexOf(this.formatSeparator)<0){const O=be(t,o,f,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(O,void 0,n,{...s,...t,interpolationkey:f}):O}const m=f.split(this.formatSeparator),x=m.shift().trim(),v=m.join(this.formatSeparator).trim();return this.format(be(t,o,x,this.options.keySeparator,this.options.ignoreJSONStructure),v,n,{...s,...t,interpolationkey:x})};this.resetRegExp();const d=(s==null?void 0:s.missingInterpolationHandler)||this.options.missingInterpolationHandler,h=((p=s==null?void 0:s.interpolation)==null?void 0:p.skipOnVariables)!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:f=>ee(f)},{regex:this.regexp,safeValue:f=>this.escapeValue?ee(this.escape(f)):ee(f)}].forEach(f=>{for(l=0;i=f.regex.exec(e);){const m=i[1].trim();if(r=u(m),r===void 0)if(typeof d=="function"){const v=d(e,i,s);r=g(v)?v:""}else if(s&&Object.prototype.hasOwnProperty.call(s,m))r="";else if(h){r=i[0];continue}else this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`),r="";else!g(r)&&!this.useRawValueToEscape&&(r=le(r));const x=f.safeValue(r);if(e=e.replace(i[0],x),h?(f.regex.lastIndex+=r.length,f.regex.lastIndex-=i[0].length):f.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),e}nest(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,i,r;const l=(o,u)=>{const d=this.nestingOptionsSeparator;if(o.indexOf(d)<0)return o;const h=o.split(new RegExp(`${d}[ ]*{`));let c=`{${h[1]}`;o=h[0],c=this.interpolate(c,r);const p=c.match(/'/g),f=c.match(/"/g);(((p==null?void 0:p.length)??0)%2===0&&!f||f.length%2!==0)&&(c=c.replace(/'/g,'"'));try{r=JSON.parse(c),u&&(r={...u,...r})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${o}`,m),`${o}${d}${c}`}return r.defaultValue&&r.defaultValue.indexOf(this.prefix)>-1&&delete r.defaultValue,o};for(;s=this.nestingRegexp.exec(e);){let o=[];r={...n},r=r.replace&&!g(r.replace)?r.replace:r,r.applyPostProcessor=!1,delete r.defaultValue;let u=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const d=s[1].split(this.formatSeparator).map(h=>h.trim());s[1]=d.shift(),o=d,u=!0}if(i=t(l.call(this,s[1].trim(),r),r),i&&s[0]===e&&!g(i))return i;g(i)||(i=le(i)),i||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`),i=""),u&&(i=o.reduce((d,h)=>this.format(d,h,n.lng,{...n,interpolationkey:s[1].trim()}),i.trim())),e=e.replace(s[0],i),this.regexp.lastIndex=0}return e}}const Ye=a=>{let e=a.toLowerCase().trim();const t={};if(a.indexOf("(")>-1){const n=a.split("(");e=n[0].toLowerCase().trim();const s=n[1].substring(0,n[1].length-1);e==="currency"&&s.indexOf(":")<0?t.currency||(t.currency=s.trim()):e==="relativetime"&&s.indexOf(":")<0?t.range||(t.range=s.trim()):s.split(";").forEach(r=>{if(r){const[l,...o]=r.split(":"),u=o.join(":").trim().replace(/^'+|'+$/g,""),d=l.trim();t[d]||(t[d]=u),u==="false"&&(t[d]=!1),u==="true"&&(t[d]=!0),isNaN(u)||(t[d]=parseInt(u,10))}})}return{formatName:e,formatOptions:t}},D=a=>{const e={};return(t,n,s)=>{let i=s;s&&s.interpolationkey&&s.formatParams&&s.formatParams[s.interpolationkey]&&s[s.interpolationkey]&&(i={...i,[s.interpolationkey]:void 0});const r=n+JSON.stringify(i);let l=e[r];return l||(l=a(Y(n),s),e[r]=l),l(t)}};class Ze{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=E.create("formatter"),this.options=e,this.formats={number:D((t,n)=>{const s=new Intl.NumberFormat(t,{...n});return i=>s.format(i)}),currency:D((t,n)=>{const s=new Intl.NumberFormat(t,{...n,style:"currency"});return i=>s.format(i)}),datetime:D((t,n)=>{const s=new Intl.DateTimeFormat(t,{...n});return i=>s.format(i)}),relativetime:D((t,n)=>{const s=new Intl.RelativeTimeFormat(t,{...n});return i=>s.format(i,n.range||"day")}),list:D((t,n)=>{const s=new Intl.ListFormat(t,{...n});return i=>s.format(i)})},this.init(e)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=D(t)}format(e,t,n){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(l=>l.indexOf(")")>-1)){const l=i.findIndex(o=>o.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,l)].join(this.formatSeparator)}return i.reduce((l,o)=>{var h;const{formatName:u,formatOptions:d}=Ye(o);if(this.formats[u]){let c=l;try{const p=((h=s==null?void 0:s.formatParams)==null?void 0:h[s.interpolationkey])||{},f=p.locale||p.lng||s.locale||s.lng||n;c=this.formats[u](l,f,{...d,...s,...p})}catch(p){this.logger.warn(p)}return c}else this.logger.warn(`there was no format function for ${u}`);return l},e)}}const Xe=(a,e)=>{a.pending[e]!==void 0&&(delete a.pending[e],a.pendingCount--)};class _e extends _{constructor(e,t,n){var i,r;let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=s,this.logger=E.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],(r=(i=this.backend)==null?void 0:i.init)==null||r.call(i,n,s.backend,s)}queueLoad(e,t,n,s){const i={},r={},l={},o={};return e.forEach(u=>{let d=!0;t.forEach(h=>{const c=`${u}|${h}`;!n.reload&&this.store.hasResourceBundle(u,h)?this.state[c]=2:this.state[c]<0||(this.state[c]===1?r[c]===void 0&&(r[c]=!0):(this.state[c]=1,d=!1,r[c]===void 0&&(r[c]=!0),i[c]===void 0&&(i[c]=!0),o[h]===void 0&&(o[h]=!0)))}),d||(l[u]=!0)}),(Object.keys(i).length||Object.keys(r).length)&&this.queue.push({pending:r,pendingCount:Object.keys(r).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(i),pending:Object.keys(r),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(o)}}loaded(e,t,n){const s=e.split("|"),i=s[0],r=s[1];t&&this.emit("failedLoading",i,r,t),!t&&n&&this.store.addResourceBundle(i,r,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const l={};this.queue.forEach(o=>{Be(o.loaded,[i],r),Xe(o,e),t&&o.errors.push(t),o.pendingCount===0&&!o.done&&(Object.keys(o.loaded).forEach(u=>{l[u]||(l[u]={});const d=o.loaded[u];d.length&&d.forEach(h=>{l[u][h]===void 0&&(l[u][h]=!0)})}),o.done=!0,o.errors.length?o.callback(o.errors):o.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(o=>!o.done)}read(e,t,n){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,r=arguments.length>5?arguments[5]:void 0;if(!e.length)return r(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:s,wait:i,callback:r});return}this.readingCalls++;const l=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(u&&d&&s{this.read.call(this,e,t,n,s+1,i*2,r)},i);return}r(u,d)},o=this.backend[n].bind(this.backend);if(o.length===2){try{const u=o(e,t);u&&typeof u.then=="function"?u.then(d=>l(null,d)).catch(l):l(null,u)}catch(u){l(u)}return}return o(e,t,l)}prepareLoading(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();g(e)&&(e=this.languageUtils.toResolveHierarchy(e)),g(t)&&(t=[t]);const i=this.queueLoad(e,t,n,s);if(!i.toLoad.length)return i.pending.length||s(),null;i.toLoad.forEach(r=>{this.loadOne(r)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const n=e.split("|"),s=n[0],i=n[1];this.read(s,i,"read",void 0,void 0,(r,l)=>{r&&this.logger.warn(`${t}loading namespace ${i} for language ${s} failed`,r),!r&&l&&this.logger.log(`${t}loaded namespace ${i} for language ${s}`,l),this.loaded(e,r,l)})}saveMissing(e,t,n,s,i){var o,u,d,h,c;let r=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((u=(o=this.services)==null?void 0:o.utils)!=null&&u.hasLoadedNamespace&&!((h=(d=this.services)==null?void 0:d.utils)!=null&&h.hasLoadedNamespace(t))){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(n==null||n==="")){if((c=this.backend)!=null&&c.create){const p={...r,isUpdate:i},f=this.backend.create.bind(this.backend);if(f.length<6)try{let m;f.length===5?m=f(e,t,n,s,p):m=f(e,t,n,s),m&&typeof m.then=="function"?m.then(x=>l(null,x)).catch(l):l(null,m)}catch(m){l(m)}else f(e,t,n,s,l,p)}!e||!e[0]||this.store.addResource(e[0],t,n,s)}}}const ye=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:a=>{let e={};if(typeof a[1]=="object"&&(e=a[1]),g(a[1])&&(e.defaultValue=a[1]),g(a[2])&&(e.tDescription=a[2]),typeof a[2]=="object"||typeof a[3]=="object"){const t=a[3]||a[2];Object.keys(t).forEach(n=>{e[n]=t[n]})}return e},interpolation:{escapeValue:!0,format:a=>a,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),Se=a=>{var e,t;return g(a.ns)&&(a.ns=[a.ns]),g(a.fallbackLng)&&(a.fallbackLng=[a.fallbackLng]),g(a.fallbackNS)&&(a.fallbackNS=[a.fallbackNS]),((t=(e=a.supportedLngs)==null?void 0:e.indexOf)==null?void 0:t.call(e,"cimode"))<0&&(a.supportedLngs=a.supportedLngs.concat(["cimode"])),typeof a.initImmediate=="boolean"&&(a.initAsync=a.initImmediate),a},q=()=>{},et=a=>{Object.getOwnPropertyNames(Object.getPrototypeOf(a)).forEach(t=>{typeof a[t]=="function"&&(a[t]=a[t].bind(a))})};class J extends _{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=Se(e),this.services={},this.logger=E,this.modules={external:[]},et(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof t=="function"&&(n=t,t={}),t.defaultNS==null&&t.ns&&(g(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const s=ye();this.options={...s,...this.options,...Se(t)},this.options.interpolation={...s.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);const i=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?E.init(i(this.modules.logger),this.options):E.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:d=Ze;const h=new pe(this.options);this.store=new he(this.options.resources,this.options);const c=this.services;c.logger=E,c.resourceStore=this.store,c.languageUtils=h,c.pluralResolver=new qe(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(c.formatter=i(d),c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new Qe(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new _e(i(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",function(p){for(var f=arguments.length,m=new Array(f>1?f-1:0),x=1;x1?f-1:0),x=1;x{p.init&&p.init(this)})}if(this.format=this.options.interpolation.format,n||(n=q),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return e.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return e.store[d](...arguments),e}});const o=H(),u=()=>{const d=(h,c)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(c),n(h,c)};if(this.languages&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initAsync?u():setTimeout(u,0),o}loadResources(e){var i,r;let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:q;const s=g(e)?e:this.language;if(typeof e=="function"&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if((s==null?void 0:s.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const l=[],o=u=>{if(!u||u==="cimode")return;this.services.languageUtils.toResolveHierarchy(u).forEach(h=>{h!=="cimode"&&l.indexOf(h)<0&&l.push(h)})};s?o(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(d=>o(d)),(r=(i=this.options.preload)==null?void 0:i.forEach)==null||r.call(i,u=>o(u)),this.services.backendConnector.load(l,this.options.ns,u=>{!u&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(u)})}else n(null)}reloadResources(e,t,n){const s=H();return typeof e=="function"&&(n=e,e=void 0),typeof t=="function"&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=q),this.services.backendConnector.reload(e,t,i=>{s.resolve(),n(i)}),s}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&we.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const s=H();this.emit("languageChanging",e);const i=o=>{this.language=o,this.languages=this.services.languageUtils.toResolveHierarchy(o),this.resolvedLanguage=void 0,this.setResolvedLanguage(o)},r=(o,u)=>{u?(i(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,s.resolve(function(){return n.t(...arguments)}),t&&t(o,function(){return n.t(...arguments)})},l=o=>{var d,h;!e&&!o&&this.services.languageDetector&&(o=[]);const u=g(o)?o:this.services.languageUtils.getBestMatchFromCodes(o);u&&(this.language||i(u),this.translator.language||this.translator.changeLanguage(u),(h=(d=this.services.languageDetector)==null?void 0:d.cacheUserLanguage)==null||h.call(d,u)),this.loadResources(u,c=>{r(c,u)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e),s}getFixedT(e,t,n){var s=this;const i=function(r,l){let o;if(typeof l!="object"){for(var u=arguments.length,d=new Array(u>2?u-2:0),h=2;h`${o.keyPrefix}${c}${f}`):p=o.keyPrefix?`${o.keyPrefix}${c}${r}`:r,s.t(p,o)};return g(e)?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){var s;for(var e=arguments.length,t=new Array(e),n=0;n1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const r=(l,o)=>{const u=this.services.backendConnector.state[`${l}|${o}`];return u===-1||u===0||u===2};if(t.precheck){const l=t.precheck(this,r);if(l!==void 0)return l}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||r(n,e)&&(!s||r(i,e)))}loadNamespaces(e,t){const n=H();return this.options.ns?(g(e)&&(e=[e]),e.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{n.resolve(),t&&t(s)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=H();g(e)&&(e=[e]);const s=this.options.preload||[],i=e.filter(r=>s.indexOf(r)<0&&this.services.languageUtils.isSupportedCode(r));return i.length?(this.options.preload=s.concat(i),this.loadResources(r=>{n.resolve(),t&&t(r)}),n):(t&&t(),Promise.resolve())}dir(e){var s,i;if(e||(e=this.resolvedLanguage||(((s=this.languages)==null?void 0:s.length)>0?this.languages[0]:this.language)),!e)return"rtl";const t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],n=((i=this.services)==null?void 0:i.languageUtils)||new pe(ye());return t.indexOf(n.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new J(e,t)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:q;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const s={...this.options,...e,isClone:!0},i=new J(s);if((e.debug!==void 0||e.prefix!==void 0)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(l=>{i[l]=this[l]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n){const l=Object.keys(this.store.data).reduce((o,u)=>(o[u]={...this.store.data[u]},Object.keys(o[u]).reduce((d,h)=>(d[h]={...o[u][h]},d),{})),{});i.store=new he(l,s),i.services.resourceStore=i.store}return i.translator=new X(i.services,s),i.translator.on("*",function(l){for(var o=arguments.length,u=new Array(o>1?o-1:0),d=1;d{const a=ve(e=>e.lang);return N.useEffect(()=>{b.changeLanguage(a)},[a]),null};function tn(){return S.jsxs("main",{className:"flex flex-col min-h-screen",children:[S.jsx(en,{}),S.jsx(ke,{}),S.jsx("div",{className:"flex-auto",children:S.jsx(Ee,{})}),S.jsx(Re,{})]})}const nn=N.lazy(()=>V(()=>import("./home-CBklrj1r.js"),__vite__mapDeps([0,1,2]))),sn=N.lazy(()=>V(()=>import("./about-CHiIW0g9.js"),__vite__mapDeps([3,1,2,4]))),rn=N.lazy(()=>V(()=>import("./b2b-D-H971YE.js"),__vite__mapDeps([5,1,2,6,4]))),an=N.lazy(()=>V(()=>import("./become-sponsor-CSoLxG1m.js"),__vite__mapDeps([7,1,2,6,4,8]))),on=N.lazy(()=>V(()=>import("./stend-form-B3U1pIim.js"),__vite__mapDeps([9,1,2,6,8]))),ln=N.lazy(()=>V(()=>import("./contacts-DPIp8sbr.js"),__vite__mapDeps([10,1,2,4]))),un=Te([{element:S.jsx(tn,{}),path:"/",children:[{element:S.jsx(nn,{}),path:""},{element:S.jsx(sn,{}),path:"/about"},{element:S.jsx(rn,{}),path:"/B2B-B2G"},{element:S.jsx(an,{}),path:"/become-sponsor"},{element:S.jsx(on,{}),path:"/stend-form"},{element:S.jsx(ln,{}),path:"/contacts"}]}]),cn=new $e;Ie.createRoot(document.getElementById("root")).render(S.jsx(N.StrictMode,{children:S.jsx(Pe,{client:cn,children:S.jsx(Ne,{router:un})})})); +const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/home-BXNozopp.js","assets/ui-library-BUTil4a9.js","assets/react-vendor-DnK_KZAP.js","assets/about-ChPZElci.js","assets/use-scroll-top-DE9Ps7OH.js","assets/b2b-D0zqzZLZ.js","assets/radio-group-BvooVY0V.js","assets/become-sponsor-CoL_-HBF.js","assets/stend.data-Dr6usuZY.js","assets/stend-form-BjJwY_G3.js","assets/contacts-pWCudgBG.js"])))=>i.map(i=>d[i]); +import{u as ke,i as Oe,j as v,H as Le,F as Re,Q as Ce,a as $e}from"./ui-library-BUTil4a9.js";import{f as Pe,a as N,O as Ee,g as Te,h as Ne}from"./react-vendor-DnK_KZAP.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const s of document.querySelectorAll('link[rel="modulepreload"]'))n(s);new MutationObserver(s=>{for(const i of s)if(i.type==="childList")for(const r of i.addedNodes)r.tagName==="LINK"&&r.rel==="modulepreload"&&n(r)}).observe(document,{childList:!0,subtree:!0});function t(s){const i={};return s.integrity&&(i.integrity=s.integrity),s.referrerPolicy&&(i.referrerPolicy=s.referrerPolicy),s.crossOrigin==="use-credentials"?i.credentials="include":s.crossOrigin==="anonymous"?i.credentials="omit":i.credentials="same-origin",i}function n(s){if(s.ep)return;s.ep=!0;const i=t(s);fetch(s.href,i)}})();const je="modulepreload",Ae=function(a){return"/"+a},ae={},V=function(e,t,n){let s=Promise.resolve();if(t&&t.length>0){document.getElementsByTagName("link");const r=document.querySelector("meta[property=csp-nonce]"),l=(r==null?void 0:r.nonce)||(r==null?void 0:r.getAttribute("nonce"));s=Promise.allSettled(t.map(o=>{if(o=Ae(o),o in ae)return;ae[o]=!0;const u=o.endsWith(".css"),d=u?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${o}"]${d}`))return;const h=document.createElement("link");if(h.rel=u?"stylesheet":je,u||(h.as="script"),h.crossOrigin="",h.href=o,l&&h.setAttribute("nonce",l),document.head.appendChild(h),u)return new Promise((c,p)=>{h.addEventListener("load",c),h.addEventListener("error",()=>p(new Error(`Unable to preload CSS for ${o}`)))})}))}function i(r){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=r,window.dispatchEvent(l),!l.defaultPrevented)throw r}return s.then(r=>{for(const l of r||[])l.status==="rejected"&&i(l.reason);return e().catch(i)})};var W={},oe;function Fe(){if(oe)return W;oe=1;var a=Pe();return W.createRoot=a.createRoot,W.hydrateRoot=a.hydrateRoot,W}var De=Fe();const g=a=>typeof a=="string",H=()=>{let a,e;const t=new Promise((n,s)=>{a=n,e=s});return t.resolve=a,t.reject=e,t},le=a=>a==null?"":""+a,Ie=(a,e,t)=>{a.forEach(n=>{e[n]&&(t[n]=e[n])})},Ve=/###/g,ue=a=>a&&a.indexOf("###")>-1?a.replace(Ve,"."):a,ce=a=>!a||g(a),z=(a,e,t)=>{const n=g(e)?e.split("."):e;let s=0;for(;s{const{obj:n,k:s}=z(a,e,Object);if(n!==void 0||e.length===1){n[s]=t;return}let i=e[e.length-1],r=e.slice(0,e.length-1),l=z(a,r,Object);for(;l.obj===void 0&&r.length;)i=`${r[r.length-1]}.${i}`,r=r.slice(0,r.length-1),l=z(a,r,Object),l!=null&&l.obj&&typeof l.obj[`${l.k}.${i}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${i}`]=t},Be=(a,e,t,n)=>{const{obj:s,k:i}=z(a,e,Object);s[i]=s[i]||[],s[i].push(t)},q=(a,e)=>{const{obj:t,k:n}=z(a,e);if(t&&Object.prototype.hasOwnProperty.call(t,n))return t[n]},Ke=(a,e,t)=>{const n=q(a,t);return n!==void 0?n:q(e,t)},Se=(a,e,t)=>{for(const n in e)n!=="__proto__"&&n!=="constructor"&&(n in a?g(a[n])||a[n]instanceof String||g(e[n])||e[n]instanceof String?t&&(a[n]=e[n]):Se(a[n],e[n],t):a[n]=e[n]);return a},D=a=>a.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Ue={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Me=a=>g(a)?a.replace(/[&<>"'\/]/g,e=>Ue[e]):a;class He{constructor(e){this.capacity=e,this.regExpMap=new Map,this.regExpQueue=[]}getRegExp(e){const t=this.regExpMap.get(e);if(t!==void 0)return t;const n=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,n),this.regExpQueue.push(e),n}}const ze=[" ",",","?","!",";"],Je=new He(20),Ge=(a,e,t)=>{e=e||"",t=t||"";const n=ze.filter(r=>e.indexOf(r)<0&&t.indexOf(r)<0);if(n.length===0)return!0;const s=Je.getRegExp(`(${n.map(r=>r==="?"?"\\?":r).join("|")})`);let i=!s.test(a);if(!i){const r=a.indexOf(t);r>0&&!s.test(a.substring(0,r))&&(i=!0)}return i},te=function(a,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!a)return;if(a[e])return Object.prototype.hasOwnProperty.call(a,e)?a[e]:void 0;const n=e.split(t);let s=a;for(let i=0;i-1&&oa==null?void 0:a.replace("_","-"),We={type:"logger",log(a){this.output("log",a)},warn(a){this.output("warn",a)},error(a){this.output("error",a)},output(a,e){var t,n;(n=(t=console==null?void 0:console[a])==null?void 0:t.apply)==null||n.call(t,console,e)}};class Y{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.init(e,t)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.prefix=t.prefix||"i18next:",this.logger=e||We,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),n=0;n{this.observers[n]||(this.observers[n]=new Map);const s=this.observers[n].get(t)||0;this.observers[n].set(t,s+1)}),this}off(e,t){if(this.observers[e]){if(!t){delete this.observers[e];return}this.observers[e].delete(t)}}emit(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),s=1;s{let[l,o]=r;for(let u=0;u{let[l,o]=r;for(let u=0;u1&&arguments[1]!==void 0?arguments[1]:{ns:["translation"],defaultNS:"translation"};super(),this.data=e||{},this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.options.ignoreJSONStructure===void 0&&(this.options.ignoreJSONStructure=!0)}addNamespaces(e){this.options.ns.indexOf(e)<0&&this.options.ns.push(e)}removeNamespaces(e){const t=this.options.ns.indexOf(e);t>-1&&this.options.ns.splice(t,1)}getResource(e,t,n){var u,d;let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=s.keySeparator!==void 0?s.keySeparator:this.options.keySeparator,r=s.ignoreJSONStructure!==void 0?s.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;e.indexOf(".")>-1?l=e.split("."):(l=[e,t],n&&(Array.isArray(n)?l.push(...n):g(n)&&i?l.push(...n.split(i)):l.push(n)));const o=q(this.data,l);return!o&&!t&&!n&&e.indexOf(".")>-1&&(e=l[0],t=l[1],n=l.slice(2).join(".")),o||!r||!g(n)?o:te((d=(u=this.data)==null?void 0:u[e])==null?void 0:d[t],n,i)}addResource(e,t,n,s){let i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const r=i.keySeparator!==void 0?i.keySeparator:this.options.keySeparator;let l=[e,t];n&&(l=l.concat(r?n.split(r):n)),e.indexOf(".")>-1&&(l=e.split("."),s=t,t=l[1]),this.addNamespaces(t),de(this.data,l,s),i.silent||this.emit("added",e,t,n,s)}addResources(e,t,n){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const i in n)(g(n[i])||Array.isArray(n[i]))&&this.addResource(e,t,i,n[i],{silent:!0});s.silent||this.emit("added",e,t,n)}addResourceBundle(e,t,n,s,i){let r=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[e,t];e.indexOf(".")>-1&&(l=e.split("."),s=n,n=t,t=l[1]),this.addNamespaces(t);let o=q(this.data,l)||{};r.skipCopy||(n=JSON.parse(JSON.stringify(n))),s?Se(o,n,i):o={...o,...n},de(this.data,l,o),r.silent||this.emit("added",e,t,n)}removeResourceBundle(e,t){this.hasResourceBundle(e,t)&&delete this.data[e][t],this.removeNamespaces(t),this.emit("removed",e,t)}hasResourceBundle(e,t){return this.getResource(e,t)!==void 0}getResourceBundle(e,t){return t||(t=this.options.defaultNS),this.getResource(e,t)}getDataByLanguage(e){return this.data[e]}hasLanguageSomeTranslations(e){const t=this.getDataByLanguage(e);return!!(t&&Object.keys(t)||[]).find(s=>t[s]&&Object.keys(t[s]).length>0)}toJSON(){return this.data}}var we={processors:{},addPostProcessor(a){this.processors[a.name]=a},handle(a,e,t,n,s){return a.forEach(i=>{var r;e=((r=this.processors[i])==null?void 0:r.process(e,t,n,s))??e}),e}};const fe={},ge=a=>!g(a)&&typeof a!="boolean"&&typeof a!="number";class Z extends X{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Ie(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=E.create("translator")}changeLanguage(e){e&&(this.language=e)}exists(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};if(e==null)return!1;const n=this.resolve(e,t);return(n==null?void 0:n.res)!==void 0}extractFromKey(e,t){let n=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;n===void 0&&(n=":");const s=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator;let i=t.ns||this.options.defaultNS||[];const r=n&&e.indexOf(n)>-1,l=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Ge(e,n,s);if(r&&!l){const o=e.match(this.interpolator.nestingRegexp);if(o&&o.length>0)return{key:e,namespaces:g(i)?[i]:i};const u=e.split(n);(n!==s||n===s&&this.options.ns.indexOf(u[0])>-1)&&(i=u.shift()),e=u.join(s)}return{key:e,namespaces:g(i)?[i]:i}}translate(e,t,n){if(typeof t!="object"&&this.options.overloadTranslationOptionHandler&&(t=this.options.overloadTranslationOptionHandler(arguments)),typeof t=="object"&&(t={...t}),t||(t={}),e==null)return"";Array.isArray(e)||(e=[String(e)]);const s=t.returnDetails!==void 0?t.returnDetails:this.options.returnDetails,i=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,{key:r,namespaces:l}=this.extractFromKey(e[e.length-1],t),o=l[l.length-1],u=t.lng||this.language,d=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((u==null?void 0:u.toLowerCase())==="cimode"){if(d){const O=t.nsSeparator||this.options.nsSeparator;return s?{res:`${o}${O}${r}`,usedKey:r,exactUsedKey:r,usedLng:u,usedNS:o,usedParams:this.getUsedParamsDetails(t)}:`${o}${O}${r}`}return s?{res:r,usedKey:r,exactUsedKey:r,usedLng:u,usedNS:o,usedParams:this.getUsedParamsDetails(t)}:r}const h=this.resolve(e,t);let c=h==null?void 0:h.res;const p=(h==null?void 0:h.usedKey)||r,f=(h==null?void 0:h.exactUsedKey)||r,m=["[object Number]","[object Function]","[object RegExp]"],x=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,k=!this.i18nFormat||this.i18nFormat.handleAsObject,S=t.count!==void 0&&!g(t.count),$=Z.hasDefaultValue(t),R=S?this.pluralResolver.getSuffix(u,t.count,t):"",B=t.ordinal&&S?this.pluralResolver.getSuffix(u,t.count,{ordinal:!1}):"",K=S&&!t.ordinal&&t.count===0,y=K&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${R}`]||t[`defaultValue${B}`]||t.defaultValue;let w=c;k&&!c&&$&&(w=y);const A=ge(w),F=Object.prototype.toString.apply(w);if(k&&w&&A&&m.indexOf(F)<0&&!(g(x)&&Array.isArray(w))){if(!t.returnObjects&&!this.options.returnObjects){this.options.returnedObjectHandler||this.logger.warn("accessing an object - but returnObjects options is not enabled!");const O=this.options.returnedObjectHandler?this.options.returnedObjectHandler(p,w,{...t,ns:l}):`key '${r} (${this.language})' returned an object instead of string.`;return s?(h.res=O,h.usedParams=this.getUsedParamsDetails(t),h):O}if(i){const O=Array.isArray(w),C=O?[]:{},ne=O?f:p;for(const P in w)if(Object.prototype.hasOwnProperty.call(w,P)){const T=`${ne}${i}${P}`;$&&!c?C[P]=this.translate(T,{...t,defaultValue:ge(y)?y[P]:void 0,joinArrays:!1,ns:l}):C[P]=this.translate(T,{...t,joinArrays:!1,ns:l}),C[P]===T&&(C[P]=w[P])}c=C}}else if(k&&g(x)&&Array.isArray(c))c=c.join(x),c&&(c=this.extendTranslation(c,e,t,n));else{let O=!1,C=!1;!this.isValidLookup(c)&&$&&(O=!0,c=y),this.isValidLookup(c)||(C=!0,c=r);const P=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&C?void 0:c,T=$&&y!==c&&this.options.updateMissing;if(C||O||T){if(this.logger.log(T?"updateKey":"missingKey",u,o,r,T?y:c),i){const L=this.resolve(r,{...t,keySeparator:!1});L&&L.res&&this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.")}let U=[];const G=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&G&&G[0])for(let L=0;L{var re;const ie=$&&M!==c?M:P;this.options.missingKeyHandler?this.options.missingKeyHandler(L,o,j,ie,T,t):(re=this.backendConnector)!=null&&re.saveMissing&&this.backendConnector.saveMissing(L,o,j,ie,T,t),this.emit("missingKey",L,o,j,c)};this.options.saveMissing&&(this.options.saveMissingPlurals&&S?U.forEach(L=>{const j=this.pluralResolver.getSuffixes(L,t);K&&t[`defaultValue${this.options.pluralSeparator}zero`]&&j.indexOf(`${this.options.pluralSeparator}zero`)<0&&j.push(`${this.options.pluralSeparator}zero`),j.forEach(M=>{se([L],r+M,t[`defaultValue${M}`]||y)})}):se(U,r,y))}c=this.extendTranslation(c,e,t,h,n),C&&c===r&&this.options.appendNamespaceToMissingKey&&(c=`${o}:${r}`),(C||O)&&this.options.parseMissingKeyHandler&&(c=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${o}:${r}`:r,O?c:void 0))}return s?(h.res=c,h.usedParams=this.getUsedParamsDetails(t),h):c}extendTranslation(e,t,n,s,i){var u,d;var r=this;if((u=this.i18nFormat)!=null&&u.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...n},n.lng||this.language||s.usedLng,s.usedNS,s.usedKey,{resolved:s});else if(!n.skipInterpolation){n.interpolation&&this.interpolator.init({...n,interpolation:{...this.options.interpolation,...n.interpolation}});const h=g(e)&&(((d=n==null?void 0:n.interpolation)==null?void 0:d.skipOnVariables)!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let c;if(h){const f=e.match(this.interpolator.nestingRegexp);c=f&&f.length}let p=n.replace&&!g(n.replace)?n.replace:n;if(this.options.interpolation.defaultVariables&&(p={...this.options.interpolation.defaultVariables,...p}),e=this.interpolator.interpolate(e,p,n.lng||this.language||s.usedLng,n),h){const f=e.match(this.interpolator.nestingRegexp),m=f&&f.length;c1&&arguments[1]!==void 0?arguments[1]:{},n,s,i,r,l;return g(e)&&(e=[e]),e.forEach(o=>{if(this.isValidLookup(n))return;const u=this.extractFromKey(o,t),d=u.key;s=d;let h=u.namespaces;this.options.fallbackNS&&(h=h.concat(this.options.fallbackNS));const c=t.count!==void 0&&!g(t.count),p=c&&!t.ordinal&&t.count===0,f=t.context!==void 0&&(g(t.context)||typeof t.context=="number")&&t.context!=="",m=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);h.forEach(x=>{var k,S;this.isValidLookup(n)||(l=x,!fe[`${m[0]}-${x}`]&&((k=this.utils)!=null&&k.hasLoadedNamespace)&&!((S=this.utils)!=null&&S.hasLoadedNamespace(l))&&(fe[`${m[0]}-${x}`]=!0,this.logger.warn(`key "${s}" for languages "${m.join(", ")}" won't get resolved as namespace "${l}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")),m.forEach($=>{var K;if(this.isValidLookup(n))return;r=$;const R=[d];if((K=this.i18nFormat)!=null&&K.addLookupKeys)this.i18nFormat.addLookupKeys(R,d,$,x,t);else{let y;c&&(y=this.pluralResolver.getSuffix($,t.count,t));const w=`${this.options.pluralSeparator}zero`,A=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(c&&(R.push(d+y),t.ordinal&&y.indexOf(A)===0&&R.push(d+y.replace(A,this.options.pluralSeparator)),p&&R.push(d+w)),f){const F=`${d}${this.options.contextSeparator}${t.context}`;R.push(F),c&&(R.push(F+y),t.ordinal&&y.indexOf(A)===0&&R.push(F+y.replace(A,this.options.pluralSeparator)),p&&R.push(F+w))}}let B;for(;B=R.pop();)this.isValidLookup(n)||(i=B,n=this.getResource($,x,B,t))}))})}),{res:n,usedKey:s,exactUsedKey:i,usedLng:r,usedNS:l}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,n){var i;let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(i=this.i18nFormat)!=null&&i.getResource?this.i18nFormat.getResource(e,t,n,s):this.resourceStore.getResource(e,t,n,s)}getUsedParamsDetails(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};const t=["defaultValue","ordinal","context","replace","lng","lngs","fallbackLng","ns","keySeparator","nsSeparator","returnObjects","returnDetails","joinArrays","postProcess","interpolation"],n=e.replace&&!g(e.replace);let s=n?e.replace:e;if(n&&typeof e.count<"u"&&(s.count=e.count),this.options.interpolation.defaultVariables&&(s={...this.options.interpolation.defaultVariables,...s}),!n){s={...s};for(const i of t)delete s[i]}return s}static hasDefaultValue(e){const t="defaultValue";for(const n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&t===n.substring(0,t.length)&&e[n]!==void 0)return!0;return!1}}class pe{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=E.create("languageUtils")}getScriptPartFromCode(e){if(e=Q(e),!e||e.indexOf("-")<0)return null;const t=e.split("-");return t.length===2||(t.pop(),t[t.length-1].toLowerCase()==="x")?null:this.formatLanguageCode(t.join("-"))}getLanguagePartFromCode(e){if(e=Q(e),!e||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(g(e)&&e.indexOf("-")>-1){let t;try{t=Intl.getCanonicalLocales(e)[0]}catch{}return t&&this.options.lowerCaseLng&&(t=t.toLowerCase()),t||(this.options.lowerCaseLng?e.toLowerCase():e)}return this.options.cleanCode||this.options.lowerCaseLng?e.toLowerCase():e}isSupportedCode(e){return(this.options.load==="languageOnly"||this.options.nonExplicitSupportedLngs)&&(e=this.getLanguagePartFromCode(e)),!this.supportedLngs||!this.supportedLngs.length||this.supportedLngs.indexOf(e)>-1}getBestMatchFromCodes(e){if(!e)return null;let t;return e.forEach(n=>{if(t)return;const s=this.formatLanguageCode(n);(!this.options.supportedLngs||this.isSupportedCode(s))&&(t=s)}),!t&&this.options.supportedLngs&&e.forEach(n=>{if(t)return;const s=this.getLanguagePartFromCode(n);if(this.isSupportedCode(s))return t=s;t=this.options.supportedLngs.find(i=>{if(i===s)return i;if(!(i.indexOf("-")<0&&s.indexOf("-")<0)&&(i.indexOf("-")>0&&s.indexOf("-")<0&&i.substring(0,i.indexOf("-"))===s||i.indexOf(s)===0&&s.length>1))return i})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),g(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let n=e[t];return n||(n=e[this.getScriptPartFromCode(t)]),n||(n=e[this.formatLanguageCode(t)]),n||(n=e[this.getLanguagePartFromCode(t)]),n||(n=e.default),n||[]}toResolveHierarchy(e,t){const n=this.getFallbackCodes(t||this.options.fallbackLng||[],e),s=[],i=r=>{r&&(this.isSupportedCode(r)?s.push(r):this.logger.warn(`rejecting language code not found in supportedLngs: ${r}`))};return g(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&i(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&i(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&i(this.getLanguagePartFromCode(e))):g(e)&&i(this.formatLanguageCode(e)),n.forEach(r=>{s.indexOf(r)<0&&i(this.formatLanguageCode(r))}),s}}const me={zero:0,one:1,two:2,few:3,many:4,other:5},xe={select:a=>a===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class _e{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=E.create("pluralResolver"),this.pluralRulesCache={}}addRule(e,t){this.rules[e]=t}clearCache(){this.pluralRulesCache={}}getRule(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};const n=Q(e==="dev"?"en":e),s=t.ordinal?"ordinal":"cardinal",i=JSON.stringify({cleanedCode:n,type:s});if(i in this.pluralRulesCache)return this.pluralRulesCache[i];let r;try{r=new Intl.PluralRules(n,{type:s})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),xe;if(!e.match(/-|_/))return xe;const o=this.languageUtils.getLanguagePartFromCode(e);r=this.getRule(o,t)}return this.pluralRulesCache[i]=r,r}needsPlural(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),(n==null?void 0:n.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,n).map(s=>`${t}${s}`)}getSuffixes(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=this.getRule(e,t);return n||(n=this.getRule("dev",t)),n?n.resolvedOptions().pluralCategories.sort((s,i)=>me[s]-me[i]).map(s=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${s}`):[]}getSuffix(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const s=this.getRule(e,n);return s?`${this.options.prepend}${n.ordinal?`ordinal${this.options.prepend}`:""}${s.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,n))}}const be=function(a,e,t){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",s=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,i=Ke(a,e,t);return!i&&s&&g(t)&&(i=te(a,t,n),i===void 0&&(i=te(e,t,n))),i},ee=a=>a.replace(/\$/g,"$$$$");class qe{constructor(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=E.create("interpolator"),this.options=e,this.format=((t=e==null?void 0:e.interpolation)==null?void 0:t.format)||(n=>n),this.init(e)}init(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};e.interpolation||(e.interpolation={escapeValue:!0});const{escape:t,escapeValue:n,useRawValueToEscape:s,prefix:i,prefixEscaped:r,suffix:l,suffixEscaped:o,formatSeparator:u,unescapeSuffix:d,unescapePrefix:h,nestingPrefix:c,nestingPrefixEscaped:p,nestingSuffix:f,nestingSuffixEscaped:m,nestingOptionsSeparator:x,maxReplaces:k,alwaysFormat:S}=e.interpolation;this.escape=t!==void 0?t:Me,this.escapeValue=n!==void 0?n:!0,this.useRawValueToEscape=s!==void 0?s:!1,this.prefix=i?D(i):r||"{{",this.suffix=l?D(l):o||"}}",this.formatSeparator=u||",",this.unescapePrefix=d?"":h||"-",this.unescapeSuffix=this.unescapePrefix?"":d||"",this.nestingPrefix=c?D(c):p||D("$t("),this.nestingSuffix=f?D(f):m||D(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=k||1e3,this.alwaysFormat=S!==void 0?S:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(t,n)=>(t==null?void 0:t.source)===n?(t.lastIndex=0,t):new RegExp(n,"g");this.regexp=e(this.regexp,`${this.prefix}(.+?)${this.suffix}`),this.regexpUnescape=e(this.regexpUnescape,`${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`),this.nestingRegexp=e(this.nestingRegexp,`${this.nestingPrefix}(.+?)${this.nestingSuffix}`)}interpolate(e,t,n,s){var p;let i,r,l;const o=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=f=>{if(f.indexOf(this.formatSeparator)<0){const S=be(t,o,f,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(S,void 0,n,{...s,...t,interpolationkey:f}):S}const m=f.split(this.formatSeparator),x=m.shift().trim(),k=m.join(this.formatSeparator).trim();return this.format(be(t,o,x,this.options.keySeparator,this.options.ignoreJSONStructure),k,n,{...s,...t,interpolationkey:x})};this.resetRegExp();const d=(s==null?void 0:s.missingInterpolationHandler)||this.options.missingInterpolationHandler,h=((p=s==null?void 0:s.interpolation)==null?void 0:p.skipOnVariables)!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:f=>ee(f)},{regex:this.regexp,safeValue:f=>this.escapeValue?ee(this.escape(f)):ee(f)}].forEach(f=>{for(l=0;i=f.regex.exec(e);){const m=i[1].trim();if(r=u(m),r===void 0)if(typeof d=="function"){const k=d(e,i,s);r=g(k)?k:""}else if(s&&Object.prototype.hasOwnProperty.call(s,m))r="";else if(h){r=i[0];continue}else this.logger.warn(`missed to pass in variable ${m} for interpolating ${e}`),r="";else!g(r)&&!this.useRawValueToEscape&&(r=le(r));const x=f.safeValue(r);if(e=e.replace(i[0],x),h?(f.regex.lastIndex+=r.length,f.regex.lastIndex-=i[0].length):f.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),e}nest(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s,i,r;const l=(o,u)=>{const d=this.nestingOptionsSeparator;if(o.indexOf(d)<0)return o;const h=o.split(new RegExp(`${d}[ ]*{`));let c=`{${h[1]}`;o=h[0],c=this.interpolate(c,r);const p=c.match(/'/g),f=c.match(/"/g);(((p==null?void 0:p.length)??0)%2===0&&!f||f.length%2!==0)&&(c=c.replace(/'/g,'"'));try{r=JSON.parse(c),u&&(r={...u,...r})}catch(m){return this.logger.warn(`failed parsing options string in nesting for key ${o}`,m),`${o}${d}${c}`}return r.defaultValue&&r.defaultValue.indexOf(this.prefix)>-1&&delete r.defaultValue,o};for(;s=this.nestingRegexp.exec(e);){let o=[];r={...n},r=r.replace&&!g(r.replace)?r.replace:r,r.applyPostProcessor=!1,delete r.defaultValue;let u=!1;if(s[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(s[1])){const d=s[1].split(this.formatSeparator).map(h=>h.trim());s[1]=d.shift(),o=d,u=!0}if(i=t(l.call(this,s[1].trim(),r),r),i&&s[0]===e&&!g(i))return i;g(i)||(i=le(i)),i||(this.logger.warn(`missed to resolve ${s[1]} for nesting ${e}`),i=""),u&&(i=o.reduce((d,h)=>this.format(d,h,n.lng,{...n,interpolationkey:s[1].trim()}),i.trim())),e=e.replace(s[0],i),this.regexp.lastIndex=0}return e}}const Qe=a=>{let e=a.toLowerCase().trim();const t={};if(a.indexOf("(")>-1){const n=a.split("(");e=n[0].toLowerCase().trim();const s=n[1].substring(0,n[1].length-1);e==="currency"&&s.indexOf(":")<0?t.currency||(t.currency=s.trim()):e==="relativetime"&&s.indexOf(":")<0?t.range||(t.range=s.trim()):s.split(";").forEach(r=>{if(r){const[l,...o]=r.split(":"),u=o.join(":").trim().replace(/^'+|'+$/g,""),d=l.trim();t[d]||(t[d]=u),u==="false"&&(t[d]=!1),u==="true"&&(t[d]=!0),isNaN(u)||(t[d]=parseInt(u,10))}})}return{formatName:e,formatOptions:t}},I=a=>{const e={};return(t,n,s)=>{let i=s;s&&s.interpolationkey&&s.formatParams&&s.formatParams[s.interpolationkey]&&s[s.interpolationkey]&&(i={...i,[s.interpolationkey]:void 0});const r=n+JSON.stringify(i);let l=e[r];return l||(l=a(Q(n),s),e[r]=l),l(t)}};class Ye{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=E.create("formatter"),this.options=e,this.formats={number:I((t,n)=>{const s=new Intl.NumberFormat(t,{...n});return i=>s.format(i)}),currency:I((t,n)=>{const s=new Intl.NumberFormat(t,{...n,style:"currency"});return i=>s.format(i)}),datetime:I((t,n)=>{const s=new Intl.DateTimeFormat(t,{...n});return i=>s.format(i)}),relativetime:I((t,n)=>{const s=new Intl.RelativeTimeFormat(t,{...n});return i=>s.format(i,n.range||"day")}),list:I((t,n)=>{const s=new Intl.ListFormat(t,{...n});return i=>s.format(i)})},this.init(e)}init(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{interpolation:{}};this.formatSeparator=t.interpolation.formatSeparator||","}add(e,t){this.formats[e.toLowerCase().trim()]=t}addCached(e,t){this.formats[e.toLowerCase().trim()]=I(t)}format(e,t,n){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const i=t.split(this.formatSeparator);if(i.length>1&&i[0].indexOf("(")>1&&i[0].indexOf(")")<0&&i.find(l=>l.indexOf(")")>-1)){const l=i.findIndex(o=>o.indexOf(")")>-1);i[0]=[i[0],...i.splice(1,l)].join(this.formatSeparator)}return i.reduce((l,o)=>{var h;const{formatName:u,formatOptions:d}=Qe(o);if(this.formats[u]){let c=l;try{const p=((h=s==null?void 0:s.formatParams)==null?void 0:h[s.interpolationkey])||{},f=p.locale||p.lng||s.locale||s.lng||n;c=this.formats[u](l,f,{...d,...s,...p})}catch(p){this.logger.warn(p)}return c}else this.logger.warn(`there was no format function for ${u}`);return l},e)}}const Ze=(a,e)=>{a.pending[e]!==void 0&&(delete a.pending[e],a.pendingCount--)};class Xe extends X{constructor(e,t,n){var i,r;let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=n,this.languageUtils=n.languageUtils,this.options=s,this.logger=E.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=s.maxParallelReads||10,this.readingCalls=0,this.maxRetries=s.maxRetries>=0?s.maxRetries:5,this.retryTimeout=s.retryTimeout>=1?s.retryTimeout:350,this.state={},this.queue=[],(r=(i=this.backend)==null?void 0:i.init)==null||r.call(i,n,s.backend,s)}queueLoad(e,t,n,s){const i={},r={},l={},o={};return e.forEach(u=>{let d=!0;t.forEach(h=>{const c=`${u}|${h}`;!n.reload&&this.store.hasResourceBundle(u,h)?this.state[c]=2:this.state[c]<0||(this.state[c]===1?r[c]===void 0&&(r[c]=!0):(this.state[c]=1,d=!1,r[c]===void 0&&(r[c]=!0),i[c]===void 0&&(i[c]=!0),o[h]===void 0&&(o[h]=!0)))}),d||(l[u]=!0)}),(Object.keys(i).length||Object.keys(r).length)&&this.queue.push({pending:r,pendingCount:Object.keys(r).length,loaded:{},errors:[],callback:s}),{toLoad:Object.keys(i),pending:Object.keys(r),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(o)}}loaded(e,t,n){const s=e.split("|"),i=s[0],r=s[1];t&&this.emit("failedLoading",i,r,t),!t&&n&&this.store.addResourceBundle(i,r,n,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&n&&(this.state[e]=0);const l={};this.queue.forEach(o=>{Be(o.loaded,[i],r),Ze(o,e),t&&o.errors.push(t),o.pendingCount===0&&!o.done&&(Object.keys(o.loaded).forEach(u=>{l[u]||(l[u]={});const d=o.loaded[u];d.length&&d.forEach(h=>{l[u][h]===void 0&&(l[u][h]=!0)})}),o.done=!0,o.errors.length?o.callback(o.errors):o.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(o=>!o.done)}read(e,t,n){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,i=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,r=arguments.length>5?arguments[5]:void 0;if(!e.length)return r(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:n,tried:s,wait:i,callback:r});return}this.readingCalls++;const l=(u,d)=>{if(this.readingCalls--,this.waitingReads.length>0){const h=this.waitingReads.shift();this.read(h.lng,h.ns,h.fcName,h.tried,h.wait,h.callback)}if(u&&d&&s{this.read.call(this,e,t,n,s+1,i*2,r)},i);return}r(u,d)},o=this.backend[n].bind(this.backend);if(o.length===2){try{const u=o(e,t);u&&typeof u.then=="function"?u.then(d=>l(null,d)).catch(l):l(null,u)}catch(u){l(u)}return}return o(e,t,l)}prepareLoading(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},s=arguments.length>3?arguments[3]:void 0;if(!this.backend)return this.logger.warn("No backend was added via i18next.use. Will not load resources."),s&&s();g(e)&&(e=this.languageUtils.toResolveHierarchy(e)),g(t)&&(t=[t]);const i=this.queueLoad(e,t,n,s);if(!i.toLoad.length)return i.pending.length||s(),null;i.toLoad.forEach(r=>{this.loadOne(r)})}load(e,t,n){this.prepareLoading(e,t,{},n)}reload(e,t,n){this.prepareLoading(e,t,{reload:!0},n)}loadOne(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const n=e.split("|"),s=n[0],i=n[1];this.read(s,i,"read",void 0,void 0,(r,l)=>{r&&this.logger.warn(`${t}loading namespace ${i} for language ${s} failed`,r),!r&&l&&this.logger.log(`${t}loaded namespace ${i} for language ${s}`,l),this.loaded(e,r,l)})}saveMissing(e,t,n,s,i){var o,u,d,h,c;let r=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((u=(o=this.services)==null?void 0:o.utils)!=null&&u.hasLoadedNamespace&&!((h=(d=this.services)==null?void 0:d.utils)!=null&&h.hasLoadedNamespace(t))){this.logger.warn(`did not save key "${n}" as the namespace "${t}" was not yet loaded`,"This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");return}if(!(n==null||n==="")){if((c=this.backend)!=null&&c.create){const p={...r,isUpdate:i},f=this.backend.create.bind(this.backend);if(f.length<6)try{let m;f.length===5?m=f(e,t,n,s,p):m=f(e,t,n,s),m&&typeof m.then=="function"?m.then(x=>l(null,x)).catch(l):l(null,m)}catch(m){l(m)}else f(e,t,n,s,l,p)}!e||!e[0]||this.store.addResource(e[0],t,n,s)}}}const ye=()=>({debug:!1,initAsync:!0,ns:["translation"],defaultNS:["translation"],fallbackLng:["dev"],fallbackNS:!1,supportedLngs:!1,nonExplicitSupportedLngs:!1,load:"all",preload:!1,simplifyPluralSuffix:!0,keySeparator:".",nsSeparator:":",pluralSeparator:"_",contextSeparator:"_",partialBundledLanguages:!1,saveMissing:!1,updateMissing:!1,saveMissingTo:"fallback",saveMissingPlurals:!0,missingKeyHandler:!1,missingInterpolationHandler:!1,postProcess:!1,postProcessPassResolved:!1,returnNull:!1,returnEmptyString:!0,returnObjects:!1,joinArrays:!1,returnedObjectHandler:!1,parseMissingKeyHandler:!1,appendNamespaceToMissingKey:!1,appendNamespaceToCIMode:!1,overloadTranslationOptionHandler:a=>{let e={};if(typeof a[1]=="object"&&(e=a[1]),g(a[1])&&(e.defaultValue=a[1]),g(a[2])&&(e.tDescription=a[2]),typeof a[2]=="object"||typeof a[3]=="object"){const t=a[3]||a[2];Object.keys(t).forEach(n=>{e[n]=t[n]})}return e},interpolation:{escapeValue:!0,format:a=>a,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),ve=a=>{var e,t;return g(a.ns)&&(a.ns=[a.ns]),g(a.fallbackLng)&&(a.fallbackLng=[a.fallbackLng]),g(a.fallbackNS)&&(a.fallbackNS=[a.fallbackNS]),((t=(e=a.supportedLngs)==null?void 0:e.indexOf)==null?void 0:t.call(e,"cimode"))<0&&(a.supportedLngs=a.supportedLngs.concat(["cimode"])),typeof a.initImmediate=="boolean"&&(a.initAsync=a.initImmediate),a},_=()=>{},et=a=>{Object.getOwnPropertyNames(Object.getPrototypeOf(a)).forEach(t=>{typeof a[t]=="function"&&(a[t]=a[t].bind(a))})};class J extends X{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=ve(e),this.services={},this.logger=E,this.modules={external:[]},et(this),t&&!this.isInitialized&&!e.isClone){if(!this.options.initAsync)return this.init(e,t),this;setTimeout(()=>{this.init(e,t)},0)}}init(){var e=this;let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},n=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof t=="function"&&(n=t,t={}),t.defaultNS==null&&t.ns&&(g(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const s=ye();this.options={...s,...this.options,...ve(t)},this.options.interpolation={...s.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);const i=d=>d?typeof d=="function"?new d:d:null;if(!this.options.isClone){this.modules.logger?E.init(i(this.modules.logger),this.options):E.init(null,this.options);let d;this.modules.formatter?d=this.modules.formatter:d=Ye;const h=new pe(this.options);this.store=new he(this.options.resources,this.options);const c=this.services;c.logger=E,c.resourceStore=this.store,c.languageUtils=h,c.pluralResolver=new _e(h,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),d&&(!this.options.interpolation.format||this.options.interpolation.format===s.interpolation.format)&&(c.formatter=i(d),c.formatter.init(c,this.options),this.options.interpolation.format=c.formatter.format.bind(c.formatter)),c.interpolator=new qe(this.options),c.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},c.backendConnector=new Xe(i(this.modules.backend),c.resourceStore,c,this.options),c.backendConnector.on("*",function(p){for(var f=arguments.length,m=new Array(f>1?f-1:0),x=1;x1?f-1:0),x=1;x{p.init&&p.init(this)})}if(this.format=this.options.interpolation.format,n||(n=_),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const d=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);d.length>0&&d[0]!=="dev"&&(this.options.lng=d[0])}!this.services.languageDetector&&!this.options.lng&&this.logger.warn("init: no languageDetector is used and no lng is defined"),["getResource","hasResourceBundle","getResourceBundle","getDataByLanguage"].forEach(d=>{this[d]=function(){return e.store[d](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(d=>{this[d]=function(){return e.store[d](...arguments),e}});const o=H(),u=()=>{const d=(h,c)=>{this.isInitializing=!1,this.isInitialized&&!this.initializedStoreOnce&&this.logger.warn("init: i18next is already initialized. You should call init just once!"),this.isInitialized=!0,this.options.isClone||this.logger.log("initialized",this.options),this.emit("initialized",this.options),o.resolve(c),n(h,c)};if(this.languages&&!this.isInitialized)return d(null,this.t.bind(this));this.changeLanguage(this.options.lng,d)};return this.options.resources||!this.options.initAsync?u():setTimeout(u,0),o}loadResources(e){var i,r;let n=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_;const s=g(e)?e:this.language;if(typeof e=="function"&&(n=e),!this.options.resources||this.options.partialBundledLanguages){if((s==null?void 0:s.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return n();const l=[],o=u=>{if(!u||u==="cimode")return;this.services.languageUtils.toResolveHierarchy(u).forEach(h=>{h!=="cimode"&&l.indexOf(h)<0&&l.push(h)})};s?o(s):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(d=>o(d)),(r=(i=this.options.preload)==null?void 0:i.forEach)==null||r.call(i,u=>o(u)),this.services.backendConnector.load(l,this.options.ns,u=>{!u&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),n(u)})}else n(null)}reloadResources(e,t,n){const s=H();return typeof e=="function"&&(n=e,e=void 0),typeof t=="function"&&(n=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),n||(n=_),this.services.backendConnector.reload(e,t,i=>{s.resolve(),n(i)}),s}use(e){if(!e)throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");if(!e.type)throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");return e.type==="backend"&&(this.modules.backend=e),(e.type==="logger"||e.log&&e.warn&&e.error)&&(this.modules.logger=e),e.type==="languageDetector"&&(this.modules.languageDetector=e),e.type==="i18nFormat"&&(this.modules.i18nFormat=e),e.type==="postProcessor"&&we.addPostProcessor(e),e.type==="formatter"&&(this.modules.formatter=e),e.type==="3rdParty"&&this.modules.external.push(e),this}setResolvedLanguage(e){if(!(!e||!this.languages)&&!(["cimode","dev"].indexOf(e)>-1))for(let t=0;t-1)&&this.store.hasLanguageSomeTranslations(n)){this.resolvedLanguage=n;break}}}changeLanguage(e,t){var n=this;this.isLanguageChangingTo=e;const s=H();this.emit("languageChanging",e);const i=o=>{this.language=o,this.languages=this.services.languageUtils.toResolveHierarchy(o),this.resolvedLanguage=void 0,this.setResolvedLanguage(o)},r=(o,u)=>{u?(i(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,s.resolve(function(){return n.t(...arguments)}),t&&t(o,function(){return n.t(...arguments)})},l=o=>{var d,h;!e&&!o&&this.services.languageDetector&&(o=[]);const u=g(o)?o:this.services.languageUtils.getBestMatchFromCodes(o);u&&(this.language||i(u),this.translator.language||this.translator.changeLanguage(u),(h=(d=this.services.languageDetector)==null?void 0:d.cacheUserLanguage)==null||h.call(d,u)),this.loadResources(u,c=>{r(c,u)})};return!e&&this.services.languageDetector&&!this.services.languageDetector.async?l(this.services.languageDetector.detect()):!e&&this.services.languageDetector&&this.services.languageDetector.async?this.services.languageDetector.detect.length===0?this.services.languageDetector.detect().then(l):this.services.languageDetector.detect(l):l(e),s}getFixedT(e,t,n){var s=this;const i=function(r,l){let o;if(typeof l!="object"){for(var u=arguments.length,d=new Array(u>2?u-2:0),h=2;h`${o.keyPrefix}${c}${f}`):p=o.keyPrefix?`${o.keyPrefix}${c}${r}`:r,s.t(p,o)};return g(e)?i.lng=e:i.lngs=e,i.ns=t,i.keyPrefix=n,i}t(){var s;for(var e=arguments.length,t=new Array(e),n=0;n1&&arguments[1]!==void 0?arguments[1]:{};if(!this.isInitialized)return this.logger.warn("hasLoadedNamespace: i18next was not initialized",this.languages),!1;if(!this.languages||!this.languages.length)return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty",this.languages),!1;const n=t.lng||this.resolvedLanguage||this.languages[0],s=this.options?this.options.fallbackLng:!1,i=this.languages[this.languages.length-1];if(n.toLowerCase()==="cimode")return!0;const r=(l,o)=>{const u=this.services.backendConnector.state[`${l}|${o}`];return u===-1||u===0||u===2};if(t.precheck){const l=t.precheck(this,r);if(l!==void 0)return l}return!!(this.hasResourceBundle(n,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||r(n,e)&&(!s||r(i,e)))}loadNamespaces(e,t){const n=H();return this.options.ns?(g(e)&&(e=[e]),e.forEach(s=>{this.options.ns.indexOf(s)<0&&this.options.ns.push(s)}),this.loadResources(s=>{n.resolve(),t&&t(s)}),n):(t&&t(),Promise.resolve())}loadLanguages(e,t){const n=H();g(e)&&(e=[e]);const s=this.options.preload||[],i=e.filter(r=>s.indexOf(r)<0&&this.services.languageUtils.isSupportedCode(r));return i.length?(this.options.preload=s.concat(i),this.loadResources(r=>{n.resolve(),t&&t(r)}),n):(t&&t(),Promise.resolve())}dir(e){var s,i;if(e||(e=this.resolvedLanguage||(((s=this.languages)==null?void 0:s.length)>0?this.languages[0]:this.language)),!e)return"rtl";const t=["ar","shu","sqr","ssh","xaa","yhd","yud","aao","abh","abv","acm","acq","acw","acx","acy","adf","ads","aeb","aec","afb","ajp","apc","apd","arb","arq","ars","ary","arz","auz","avl","ayh","ayl","ayn","ayp","bbz","pga","he","iw","ps","pbt","pbu","pst","prp","prd","ug","ur","ydd","yds","yih","ji","yi","hbo","men","xmn","fa","jpr","peo","pes","prs","dv","sam","ckb"],n=((i=this.services)==null?void 0:i.languageUtils)||new pe(ye());return t.indexOf(n.getLanguagePartFromCode(e))>-1||e.toLowerCase().indexOf("-arab")>1?"rtl":"ltr"}static createInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;return new J(e,t)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:_;const n=e.forkResourceStore;n&&delete e.forkResourceStore;const s={...this.options,...e,isClone:!0},i=new J(s);if((e.debug!==void 0||e.prefix!==void 0)&&(i.logger=i.logger.clone(e)),["store","services","language"].forEach(l=>{i[l]=this[l]}),i.services={...this.services},i.services.utils={hasLoadedNamespace:i.hasLoadedNamespace.bind(i)},n){const l=Object.keys(this.store.data).reduce((o,u)=>(o[u]={...this.store.data[u]},Object.keys(o[u]).reduce((d,h)=>(d[h]={...o[u][h]},d),{})),{});i.store=new he(l,s),i.services.resourceStore=i.store}return i.translator=new Z(i.services,s),i.translator.on("*",function(l){for(var o=arguments.length,u=new Array(o>1?o-1:0),d=1;d{const a=ke(e=>e.lang);return N.useEffect(()=>{b.changeLanguage(a)},[a]),null};function an(){return v.jsxs("main",{className:"flex flex-col min-h-screen",children:[v.jsx(rn,{}),v.jsx(Le,{}),v.jsx("div",{className:"flex-auto",children:v.jsx(Ee,{})}),v.jsx(Re,{})]})}const on=N.lazy(()=>V(()=>import("./home-BXNozopp.js"),__vite__mapDeps([0,1,2]))),ln=N.lazy(()=>V(()=>import("./about-ChPZElci.js"),__vite__mapDeps([3,1,2,4]))),un=N.lazy(()=>V(()=>import("./b2b-D0zqzZLZ.js"),__vite__mapDeps([5,1,2,6,4]))),cn=N.lazy(()=>V(()=>import("./become-sponsor-CoL_-HBF.js"),__vite__mapDeps([7,1,2,6,4,8]))),dn=N.lazy(()=>V(()=>import("./stend-form-BjJwY_G3.js"),__vite__mapDeps([9,1,2,6,8]))),hn=N.lazy(()=>V(()=>import("./contacts-pWCudgBG.js"),__vite__mapDeps([10,1,2,4]))),fn=Te([{element:v.jsx(an,{}),path:"/",children:[{element:v.jsx(on,{}),path:""},{element:v.jsx(ln,{}),path:"/about"},{element:v.jsx(un,{}),path:"/B2B-B2G"},{element:v.jsx(cn,{}),path:"/become-sponsor"},{element:v.jsx(dn,{}),path:"/stend-form"},{element:v.jsx(hn,{}),path:"/contacts"}]}]),gn=new Ce;De.createRoot(document.getElementById("root")).render(v.jsx(N.StrictMode,{children:v.jsx($e,{client:gn,children:v.jsx(Ne,{router:fn})})})); diff --git a/dist/assets/radio-group-C5pxhYmY.js b/dist/assets/radio-group-BvooVY0V.js similarity index 98% rename from dist/assets/radio-group-C5pxhYmY.js rename to dist/assets/radio-group-BvooVY0V.js index f963a44..059cb8d 100644 --- a/dist/assets/radio-group-C5pxhYmY.js +++ b/dist/assets/radio-group-BvooVY0V.js @@ -1 +1 @@ -import{N,O as F,j as d,S as L,P as K,R as fe,T as A,U as y,V as pe,W as me,X as Re,g as U}from"./ui-library-SS_r3a4p.js";import{d as w,a as s}from"./react-vendor-OnsDvTPE.js";function ve(e){const o=e+"CollectionProvider",[t,n]=N(o),[a,i]=t(o,{collectionRef:{current:null},itemMap:new Map}),p=c=>{const{scope:r,children:l}=c,m=w.useRef(null),R=w.useRef(new Map).current;return d.jsx(a,{scope:r,itemMap:R,collectionRef:m,children:l})};p.displayName=o;const C=e+"CollectionSlot",f=w.forwardRef((c,r)=>{const{scope:l,children:m}=c,R=i(C,l),I=F(r,R.collectionRef);return d.jsx(L,{ref:I,children:m})});f.displayName=C;const u=e+"CollectionItemSlot",g="data-radix-collection-item",v=w.forwardRef((c,r)=>{const{scope:l,children:m,...R}=c,I=w.useRef(null),h=F(r,I),S=i(u,l);return w.useEffect(()=>(S.itemMap.set(I,{ref:I,...R}),()=>void S.itemMap.delete(I))),d.jsx(L,{[g]:"",ref:h,children:m})});v.displayName=u;function b(c){const r=i(e+"CollectionConsumer",c);return w.useCallback(()=>{const m=r.collectionRef.current;if(!m)return[];const R=Array.from(m.querySelectorAll(`[${g}]`));return Array.from(r.itemMap.values()).sort((S,_)=>R.indexOf(S.ref.current)-R.indexOf(_.ref.current))},[r.collectionRef,r.itemMap])}return[{Provider:p,Slot:f,ItemSlot:v},b,n]}var be=s.createContext(void 0);function V(e){const o=s.useContext(be);return e||o||"ltr"}var k="rovingFocusGroup.onEntryFocus",Ie={bubbles:!1,cancelable:!0},P="RovingFocusGroup",[G,B,Ce]=ve(P),[ge,q]=N(P,[Ce]),[xe,ye]=ge(P),z=s.forwardRef((e,o)=>d.jsx(G.Provider,{scope:e.__scopeRovingFocusGroup,children:d.jsx(G.Slot,{scope:e.__scopeRovingFocusGroup,children:d.jsx(Ee,{...e,ref:o})})}));z.displayName=P;var Ee=s.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:t,orientation:n,loop:a=!1,dir:i,currentTabStopId:p,defaultCurrentTabStopId:C,onCurrentTabStopIdChange:f,onEntryFocus:u,preventScrollOnEntryFocus:g=!1,...v}=e,b=s.useRef(null),c=F(o,b),r=V(i),[l=null,m]=K({prop:p,defaultProp:C,onChange:f}),[R,I]=s.useState(!1),h=fe(u),S=B(t),_=s.useRef(!1),[ae,j]=s.useState(0);return s.useEffect(()=>{const x=b.current;if(x)return x.addEventListener(k,h),()=>x.removeEventListener(k,h)},[h]),d.jsx(xe,{scope:t,orientation:n,dir:r,loop:a,currentTabStopId:l,onItemFocus:s.useCallback(x=>m(x),[m]),onItemShiftTab:s.useCallback(()=>I(!0),[]),onFocusableItemAdd:s.useCallback(()=>j(x=>x+1),[]),onFocusableItemRemove:s.useCallback(()=>j(x=>x-1),[]),children:d.jsx(A.div,{tabIndex:R||ae===0?-1:0,"data-orientation":n,...v,ref:c,style:{outline:"none",...e.style},onMouseDown:y(e.onMouseDown,()=>{_.current=!0}),onFocus:y(e.onFocus,x=>{const ie=!_.current;if(x.target===x.currentTarget&&ie&&!R){const O=new CustomEvent(k,Ie);if(x.currentTarget.dispatchEvent(O),!O.defaultPrevented){const T=S().filter(E=>E.focusable),ue=T.find(E=>E.active),de=T.find(E=>E.id===l),le=[ue,de,...T].filter(Boolean).map(E=>E.ref.current);H(le,g)}}_.current=!1}),onBlur:y(e.onBlur,()=>I(!1))})})}),Y="RovingFocusGroupItem",$=s.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:t,focusable:n=!0,active:a=!1,tabStopId:i,...p}=e,C=pe(),f=i||C,u=ye(Y,t),g=u.currentTabStopId===f,v=B(t),{onFocusableItemAdd:b,onFocusableItemRemove:c}=u;return s.useEffect(()=>{if(n)return b(),()=>c()},[n,b,c]),d.jsx(G.ItemSlot,{scope:t,id:f,focusable:n,active:a,children:d.jsx(A.span,{tabIndex:g?0:-1,"data-orientation":u.orientation,...p,ref:o,onMouseDown:y(e.onMouseDown,r=>{n?u.onItemFocus(f):r.preventDefault()}),onFocus:y(e.onFocus,()=>u.onItemFocus(f)),onKeyDown:y(e.onKeyDown,r=>{if(r.key==="Tab"&&r.shiftKey){u.onItemShiftTab();return}if(r.target!==r.currentTarget)return;const l=Se(r,u.orientation,u.dir);if(l!==void 0){if(r.metaKey||r.ctrlKey||r.altKey||r.shiftKey)return;r.preventDefault();let R=v().filter(I=>I.focusable).map(I=>I.ref.current);if(l==="last")R.reverse();else if(l==="prev"||l==="next"){l==="prev"&&R.reverse();const I=R.indexOf(r.currentTarget);R=u.loop?_e(R,I+1):R.slice(I+1)}setTimeout(()=>H(R))}})})})});$.displayName=Y;var we={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function he(e,o){return o!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Se(e,o,t){const n=he(e.key,t);if(!(o==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(o==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return we[n]}function H(e,o=!1){const t=document.activeElement;for(const n of e)if(n===t||(n.focus({preventScroll:o}),document.activeElement!==t))return}function _e(e,o){return e.map((t,n)=>e[(o+n)%e.length])}var Fe=z,Ae=$;function Ne(e){const o=s.useRef({value:e,previous:e});return s.useMemo(()=>(o.current.value!==e&&(o.current.previous=o.current.value,o.current.value=e),o.current.previous),[e])}var M="Radio",[Pe,W]=N(M),[Te,ke]=Pe(M),X=s.forwardRef((e,o)=>{const{__scopeRadio:t,name:n,checked:a=!1,required:i,disabled:p,value:C="on",onCheck:f,form:u,...g}=e,[v,b]=s.useState(null),c=F(o,m=>b(m)),r=s.useRef(!1),l=v?u||!!v.closest("form"):!0;return d.jsxs(Te,{scope:t,checked:a,disabled:p,children:[d.jsx(A.button,{type:"button",role:"radio","aria-checked":a,"data-state":Z(a),"data-disabled":p?"":void 0,disabled:p,value:C,...g,ref:c,onClick:y(e.onClick,m=>{a||f==null||f(),l&&(r.current=m.isPropagationStopped(),r.current||m.stopPropagation())})}),l&&d.jsx(Ge,{control:v,bubbles:!r.current,name:n,value:C,checked:a,required:i,disabled:p,form:u,style:{transform:"translateX(-100%)"}})]})});X.displayName=M;var J="RadioIndicator",Q=s.forwardRef((e,o)=>{const{__scopeRadio:t,forceMount:n,...a}=e,i=ke(J,t);return d.jsx(me,{present:n||i.checked,children:d.jsx(A.span,{"data-state":Z(i.checked),"data-disabled":i.disabled?"":void 0,...a,ref:o})})});Q.displayName=J;var Ge=e=>{const{control:o,checked:t,bubbles:n=!0,...a}=e,i=s.useRef(null),p=Ne(t),C=Re(o);return s.useEffect(()=>{const f=i.current,u=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(u,"checked").set;if(p!==t&&v){const b=new Event("click",{bubbles:n});v.call(f,t),f.dispatchEvent(b)}},[p,t,n]),d.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:t,...a,tabIndex:-1,ref:i,style:{...e.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function Z(e){return e?"checked":"unchecked"}var Me=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],D="RadioGroup",[De,Ye]=N(D,[q,W]),ee=q(),oe=W(),[je,Oe]=De(D),te=s.forwardRef((e,o)=>{const{__scopeRadioGroup:t,name:n,defaultValue:a,value:i,required:p=!1,disabled:C=!1,orientation:f,dir:u,loop:g=!0,onValueChange:v,...b}=e,c=ee(t),r=V(u),[l,m]=K({prop:i,defaultProp:a,onChange:v});return d.jsx(je,{scope:t,name:n,required:p,disabled:C,value:l,onValueChange:m,children:d.jsx(Fe,{asChild:!0,...c,orientation:f,dir:r,loop:g,children:d.jsx(A.div,{role:"radiogroup","aria-required":p,"aria-orientation":f,"data-disabled":C?"":void 0,dir:r,...b,ref:o})})})});te.displayName=D;var re="RadioGroupItem",ne=s.forwardRef((e,o)=>{const{__scopeRadioGroup:t,disabled:n,...a}=e,i=Oe(re,t),p=i.disabled||n,C=ee(t),f=oe(t),u=s.useRef(null),g=F(o,u),v=i.value===a.value,b=s.useRef(!1);return s.useEffect(()=>{const c=l=>{Me.includes(l.key)&&(b.current=!0)},r=()=>b.current=!1;return document.addEventListener("keydown",c),document.addEventListener("keyup",r),()=>{document.removeEventListener("keydown",c),document.removeEventListener("keyup",r)}},[]),d.jsx(Ae,{asChild:!0,...C,focusable:!p,active:v,children:d.jsx(X,{disabled:p,required:i.required,checked:v,...f,...a,name:i.name,ref:g,onCheck:()=>i.onValueChange(a.value),onKeyDown:y(c=>{c.key==="Enter"&&c.preventDefault()}),onFocus:y(a.onFocus,()=>{var c;b.current&&((c=u.current)==null||c.click())})})})});ne.displayName=re;var Le="RadioGroupIndicator",Ke=s.forwardRef((e,o)=>{const{__scopeRadioGroup:t,...n}=e,a=oe(t);return d.jsx(Q,{...a,...n,ref:o})});Ke.displayName=Le;var se=te,ce=ne;const Ue=s.forwardRef(({className:e,...o},t)=>d.jsx(se,{className:U("grid gap-2",e),...o,ref:t}));Ue.displayName=se.displayName;const Ve=s.forwardRef(({className:e,...o},t)=>d.jsx(ce,{ref:t,className:U(o.checked?"border-primary after:bg-opacity-1":"border-on_surface bg-transparent after:bg-opacity-0","size-5 rounded-full border-[2px] after:size-[9px] after:bg-primary before:scale-0 hover:before:scale-100 before:size-10 before:rounded-full before:transition-all before:absolute before:-top-3 before:-left-3 before:bg-on_surface/[8%] duration-300 after:rounded-full flex relative items-center justify-center text-primary focus:outline-none focus-visible:ring-1 focus-visible:ring-ring transition-all disabled:cursor-not-allowed disabled:opacity-50",e),...o}));Ve.displayName=ce.displayName;export{Ue as R,Ve as a}; +import{N,O as F,j as d,S as L,P as K,R as fe,T as A,U as y,V as pe,W as me,X as Re,g as U}from"./ui-library-BUTil4a9.js";import{e as w,a as s}from"./react-vendor-DnK_KZAP.js";function ve(e){const o=e+"CollectionProvider",[t,n]=N(o),[a,i]=t(o,{collectionRef:{current:null},itemMap:new Map}),p=c=>{const{scope:r,children:l}=c,m=w.useRef(null),R=w.useRef(new Map).current;return d.jsx(a,{scope:r,itemMap:R,collectionRef:m,children:l})};p.displayName=o;const C=e+"CollectionSlot",f=w.forwardRef((c,r)=>{const{scope:l,children:m}=c,R=i(C,l),I=F(r,R.collectionRef);return d.jsx(L,{ref:I,children:m})});f.displayName=C;const u=e+"CollectionItemSlot",g="data-radix-collection-item",v=w.forwardRef((c,r)=>{const{scope:l,children:m,...R}=c,I=w.useRef(null),h=F(r,I),S=i(u,l);return w.useEffect(()=>(S.itemMap.set(I,{ref:I,...R}),()=>void S.itemMap.delete(I))),d.jsx(L,{[g]:"",ref:h,children:m})});v.displayName=u;function b(c){const r=i(e+"CollectionConsumer",c);return w.useCallback(()=>{const m=r.collectionRef.current;if(!m)return[];const R=Array.from(m.querySelectorAll(`[${g}]`));return Array.from(r.itemMap.values()).sort((S,_)=>R.indexOf(S.ref.current)-R.indexOf(_.ref.current))},[r.collectionRef,r.itemMap])}return[{Provider:p,Slot:f,ItemSlot:v},b,n]}var be=s.createContext(void 0);function V(e){const o=s.useContext(be);return e||o||"ltr"}var k="rovingFocusGroup.onEntryFocus",Ie={bubbles:!1,cancelable:!0},P="RovingFocusGroup",[G,B,Ce]=ve(P),[ge,q]=N(P,[Ce]),[xe,ye]=ge(P),z=s.forwardRef((e,o)=>d.jsx(G.Provider,{scope:e.__scopeRovingFocusGroup,children:d.jsx(G.Slot,{scope:e.__scopeRovingFocusGroup,children:d.jsx(Ee,{...e,ref:o})})}));z.displayName=P;var Ee=s.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:t,orientation:n,loop:a=!1,dir:i,currentTabStopId:p,defaultCurrentTabStopId:C,onCurrentTabStopIdChange:f,onEntryFocus:u,preventScrollOnEntryFocus:g=!1,...v}=e,b=s.useRef(null),c=F(o,b),r=V(i),[l=null,m]=K({prop:p,defaultProp:C,onChange:f}),[R,I]=s.useState(!1),h=fe(u),S=B(t),_=s.useRef(!1),[ae,j]=s.useState(0);return s.useEffect(()=>{const x=b.current;if(x)return x.addEventListener(k,h),()=>x.removeEventListener(k,h)},[h]),d.jsx(xe,{scope:t,orientation:n,dir:r,loop:a,currentTabStopId:l,onItemFocus:s.useCallback(x=>m(x),[m]),onItemShiftTab:s.useCallback(()=>I(!0),[]),onFocusableItemAdd:s.useCallback(()=>j(x=>x+1),[]),onFocusableItemRemove:s.useCallback(()=>j(x=>x-1),[]),children:d.jsx(A.div,{tabIndex:R||ae===0?-1:0,"data-orientation":n,...v,ref:c,style:{outline:"none",...e.style},onMouseDown:y(e.onMouseDown,()=>{_.current=!0}),onFocus:y(e.onFocus,x=>{const ie=!_.current;if(x.target===x.currentTarget&&ie&&!R){const O=new CustomEvent(k,Ie);if(x.currentTarget.dispatchEvent(O),!O.defaultPrevented){const T=S().filter(E=>E.focusable),ue=T.find(E=>E.active),de=T.find(E=>E.id===l),le=[ue,de,...T].filter(Boolean).map(E=>E.ref.current);H(le,g)}}_.current=!1}),onBlur:y(e.onBlur,()=>I(!1))})})}),Y="RovingFocusGroupItem",$=s.forwardRef((e,o)=>{const{__scopeRovingFocusGroup:t,focusable:n=!0,active:a=!1,tabStopId:i,...p}=e,C=pe(),f=i||C,u=ye(Y,t),g=u.currentTabStopId===f,v=B(t),{onFocusableItemAdd:b,onFocusableItemRemove:c}=u;return s.useEffect(()=>{if(n)return b(),()=>c()},[n,b,c]),d.jsx(G.ItemSlot,{scope:t,id:f,focusable:n,active:a,children:d.jsx(A.span,{tabIndex:g?0:-1,"data-orientation":u.orientation,...p,ref:o,onMouseDown:y(e.onMouseDown,r=>{n?u.onItemFocus(f):r.preventDefault()}),onFocus:y(e.onFocus,()=>u.onItemFocus(f)),onKeyDown:y(e.onKeyDown,r=>{if(r.key==="Tab"&&r.shiftKey){u.onItemShiftTab();return}if(r.target!==r.currentTarget)return;const l=Se(r,u.orientation,u.dir);if(l!==void 0){if(r.metaKey||r.ctrlKey||r.altKey||r.shiftKey)return;r.preventDefault();let R=v().filter(I=>I.focusable).map(I=>I.ref.current);if(l==="last")R.reverse();else if(l==="prev"||l==="next"){l==="prev"&&R.reverse();const I=R.indexOf(r.currentTarget);R=u.loop?_e(R,I+1):R.slice(I+1)}setTimeout(()=>H(R))}})})})});$.displayName=Y;var we={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function he(e,o){return o!=="rtl"?e:e==="ArrowLeft"?"ArrowRight":e==="ArrowRight"?"ArrowLeft":e}function Se(e,o,t){const n=he(e.key,t);if(!(o==="vertical"&&["ArrowLeft","ArrowRight"].includes(n))&&!(o==="horizontal"&&["ArrowUp","ArrowDown"].includes(n)))return we[n]}function H(e,o=!1){const t=document.activeElement;for(const n of e)if(n===t||(n.focus({preventScroll:o}),document.activeElement!==t))return}function _e(e,o){return e.map((t,n)=>e[(o+n)%e.length])}var Fe=z,Ae=$;function Ne(e){const o=s.useRef({value:e,previous:e});return s.useMemo(()=>(o.current.value!==e&&(o.current.previous=o.current.value,o.current.value=e),o.current.previous),[e])}var M="Radio",[Pe,W]=N(M),[Te,ke]=Pe(M),X=s.forwardRef((e,o)=>{const{__scopeRadio:t,name:n,checked:a=!1,required:i,disabled:p,value:C="on",onCheck:f,form:u,...g}=e,[v,b]=s.useState(null),c=F(o,m=>b(m)),r=s.useRef(!1),l=v?u||!!v.closest("form"):!0;return d.jsxs(Te,{scope:t,checked:a,disabled:p,children:[d.jsx(A.button,{type:"button",role:"radio","aria-checked":a,"data-state":Z(a),"data-disabled":p?"":void 0,disabled:p,value:C,...g,ref:c,onClick:y(e.onClick,m=>{a||f==null||f(),l&&(r.current=m.isPropagationStopped(),r.current||m.stopPropagation())})}),l&&d.jsx(Ge,{control:v,bubbles:!r.current,name:n,value:C,checked:a,required:i,disabled:p,form:u,style:{transform:"translateX(-100%)"}})]})});X.displayName=M;var J="RadioIndicator",Q=s.forwardRef((e,o)=>{const{__scopeRadio:t,forceMount:n,...a}=e,i=ke(J,t);return d.jsx(me,{present:n||i.checked,children:d.jsx(A.span,{"data-state":Z(i.checked),"data-disabled":i.disabled?"":void 0,...a,ref:o})})});Q.displayName=J;var Ge=e=>{const{control:o,checked:t,bubbles:n=!0,...a}=e,i=s.useRef(null),p=Ne(t),C=Re(o);return s.useEffect(()=>{const f=i.current,u=window.HTMLInputElement.prototype,v=Object.getOwnPropertyDescriptor(u,"checked").set;if(p!==t&&v){const b=new Event("click",{bubbles:n});v.call(f,t),f.dispatchEvent(b)}},[p,t,n]),d.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:t,...a,tabIndex:-1,ref:i,style:{...e.style,...C,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function Z(e){return e?"checked":"unchecked"}var Me=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],D="RadioGroup",[De,Ye]=N(D,[q,W]),ee=q(),oe=W(),[je,Oe]=De(D),te=s.forwardRef((e,o)=>{const{__scopeRadioGroup:t,name:n,defaultValue:a,value:i,required:p=!1,disabled:C=!1,orientation:f,dir:u,loop:g=!0,onValueChange:v,...b}=e,c=ee(t),r=V(u),[l,m]=K({prop:i,defaultProp:a,onChange:v});return d.jsx(je,{scope:t,name:n,required:p,disabled:C,value:l,onValueChange:m,children:d.jsx(Fe,{asChild:!0,...c,orientation:f,dir:r,loop:g,children:d.jsx(A.div,{role:"radiogroup","aria-required":p,"aria-orientation":f,"data-disabled":C?"":void 0,dir:r,...b,ref:o})})})});te.displayName=D;var re="RadioGroupItem",ne=s.forwardRef((e,o)=>{const{__scopeRadioGroup:t,disabled:n,...a}=e,i=Oe(re,t),p=i.disabled||n,C=ee(t),f=oe(t),u=s.useRef(null),g=F(o,u),v=i.value===a.value,b=s.useRef(!1);return s.useEffect(()=>{const c=l=>{Me.includes(l.key)&&(b.current=!0)},r=()=>b.current=!1;return document.addEventListener("keydown",c),document.addEventListener("keyup",r),()=>{document.removeEventListener("keydown",c),document.removeEventListener("keyup",r)}},[]),d.jsx(Ae,{asChild:!0,...C,focusable:!p,active:v,children:d.jsx(X,{disabled:p,required:i.required,checked:v,...f,...a,name:i.name,ref:g,onCheck:()=>i.onValueChange(a.value),onKeyDown:y(c=>{c.key==="Enter"&&c.preventDefault()}),onFocus:y(a.onFocus,()=>{var c;b.current&&((c=u.current)==null||c.click())})})})});ne.displayName=re;var Le="RadioGroupIndicator",Ke=s.forwardRef((e,o)=>{const{__scopeRadioGroup:t,...n}=e,a=oe(t);return d.jsx(Q,{...a,...n,ref:o})});Ke.displayName=Le;var se=te,ce=ne;const Ue=s.forwardRef(({className:e,...o},t)=>d.jsx(se,{className:U("grid gap-2",e),...o,ref:t}));Ue.displayName=se.displayName;const Ve=s.forwardRef(({className:e,...o},t)=>d.jsx(ce,{ref:t,className:U(o.checked?"border-primary after:bg-opacity-1":"border-on_surface bg-transparent after:bg-opacity-0","size-5 rounded-full border-[2px] after:size-[9px] after:bg-primary before:scale-0 hover:before:scale-100 before:size-10 before:rounded-full before:transition-all before:absolute before:-top-3 before:-left-3 before:bg-on_surface/[8%] duration-300 after:rounded-full flex relative items-center justify-center text-primary focus:outline-none focus-visible:ring-1 focus-visible:ring-ring transition-all disabled:cursor-not-allowed disabled:opacity-50",e),...o}));Ve.displayName=ce.displayName;export{Ue as R,Ve as a}; diff --git a/dist/assets/react-vendor-OnsDvTPE.js b/dist/assets/react-vendor-DnK_KZAP.js similarity index 99% rename from dist/assets/react-vendor-OnsDvTPE.js rename to dist/assets/react-vendor-DnK_KZAP.js index db9c65d..8d414f3 100644 --- a/dist/assets/react-vendor-OnsDvTPE.js +++ b/dist/assets/react-vendor-DnK_KZAP.js @@ -50,4 +50,4 @@ Please change the parent to Number(a),l.number().min(1,"Укажите количество участников")),country:l.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:l.string().email({message:"Укажите корректный email"}),phone:l.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:l.string().optional(),visa_support:l.string().optional()}),R={space_package:"space",company_name:"",rep_name:"",job_title:"",participants_number:1,country:"",email:"",phone:"",website:"",visa_support:""};function T(){const a=g(n=>n.lang),[u,h]=j.useState(!1),r=y({resolver:V(E),defaultValues:R}),_=async n=>{await C(n)&&h(!0)};j.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[status]);const{errors:c}=r.formState;return e.jsxs("div",{children:[e.jsx(f,{title:t[s(a)].cover}),e.jsx(v,{children:!u&&e.jsx(N,{...r,children:e.jsxs(S.form,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"max-w-[828px] px-5 mx-auto mt-20 mb-[120px] flex flex-col gap-8",onSubmit:r.handleSubmit(_),children:[e.jsx(d,{control:r.control,name:"space_package",render:({field:n})=>e.jsxs(m,{className:"space-y-5",children:[e.jsx(i,{className:"text-xl",children:t[s(a)].h2}),e.jsx(p,{children:e.jsxs(b,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4 ml-3",children:[e.jsxs(m,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(p,{children:e.jsx(x,{value:"space",checked:n.value==="space"})}),e.jsx(i,{className:"text-base",children:t[s(a)].radio})]}),e.jsxs(m,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(p,{children:e.jsx(x,{value:"package",checked:n.value==="package"})}),e.jsx(i,{className:"text-base",children:t[s(a)].radio_2})]})]})})]})}),e.jsx(o,{label:t[s(a)].label_1,name:"company_name",control:r.control,error:c.company_name}),e.jsx(o,{label:t[s(a)].label_2,name:"rep_name",control:r.control,error:c.rep_name}),e.jsx(o,{label:t[s(a)].label_3,name:"job_title",control:r.control,error:c.job_title}),e.jsx(o,{label:t[s(a)].number_of_participants,type:"number",name:"participants_number",control:r.control,error:c.participants_number}),e.jsx(o,{label:t[s(a)].label_4,name:"country",control:r.control,error:c.country}),e.jsx(o,{label:t[s(a)].label_5,name:"email",control:r.control,error:c.email}),e.jsx(o,{label:t[s(a)].label_6,name:"phone",control:r.control,error:c.phone}),e.jsx(o,{label:t[s(a)].label_7,name:"website",control:r.control}),e.jsx(d,{control:r.control,name:"visa_support",render:({field:n})=>e.jsxs(m,{className:"space-y-5",children:[e.jsx(i,{className:"text-xl",children:t[s(a)].visa}),e.jsx(p,{children:e.jsxs(b,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4 ml-3",children:[e.jsxs(m,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(p,{children:e.jsx(x,{value:"yes",checked:n.value==="yes"})}),e.jsx(i,{className:"text-base",children:t[s(a)].visa_radio})]}),e.jsxs(m,{className:"flex items-center space-x-5 space-y-0 ",children:[e.jsx(p,{children:e.jsx(x,{value:"no",checked:n.value==="no"})}),e.jsx(i,{className:"text-base",children:t[s(a)].visa_radio_2})]})]})})]})}),e.jsx(F,{disabled:r.formState.isSubmitting,className:"mt-5",children:r.formState.isSubmitting?e.jsx(k,{className:"animate-spin"}):t[s(a)].button})]})})}),u&&e.jsx(w,{delay:.3})]})}export{T as default}; +import{z as l,u as g,x as y,j as e,C as f,p as s,D as v,y as N,o as S,q as d,r as m,s as i,t as p,v as o,B as F,w as k,E as w,M as C,G as V}from"./ui-library-BUTil4a9.js";import{a as j}from"./react-vendor-DnK_KZAP.js";import{R as b,a as x}from"./radio-group-BvooVY0V.js";import{s as t}from"./stend.data-Dr6usuZY.js";const E=l.object({space_package:l.string(),company_name:l.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:l.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:l.string().min(3,{message:"Должность должна быть не менее 3 символов"}),participants_number:l.preprocess(a=>Number(a),l.number().min(1,"Укажите количество участников")),country:l.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:l.string().email({message:"Укажите корректный email"}),phone:l.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:l.string().optional(),visa_support:l.string().optional()}),R={space_package:"space",company_name:"",rep_name:"",job_title:"",participants_number:1,country:"",email:"",phone:"",website:"",visa_support:""};function T(){const a=g(n=>n.lang),[u,h]=j.useState(!1),r=y({resolver:V(E),defaultValues:R}),_=async n=>{await C(n)&&h(!0)};j.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[status]);const{errors:c}=r.formState;return e.jsxs("div",{children:[e.jsx(f,{title:t[s(a)].cover}),e.jsx(v,{children:!u&&e.jsx(N,{...r,children:e.jsxs(S.form,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:"max-w-[828px] px-5 mx-auto mt-20 mb-[120px] flex flex-col gap-8",onSubmit:r.handleSubmit(_),children:[e.jsx(d,{control:r.control,name:"space_package",render:({field:n})=>e.jsxs(m,{className:"space-y-5",children:[e.jsx(i,{className:"text-xl",children:t[s(a)].h2}),e.jsx(p,{children:e.jsxs(b,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4 ml-3",children:[e.jsxs(m,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(p,{children:e.jsx(x,{value:"space",checked:n.value==="space"})}),e.jsx(i,{className:"text-base",children:t[s(a)].radio})]}),e.jsxs(m,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(p,{children:e.jsx(x,{value:"package",checked:n.value==="package"})}),e.jsx(i,{className:"text-base",children:t[s(a)].radio_2})]})]})})]})}),e.jsx(o,{label:t[s(a)].label_1,name:"company_name",control:r.control,error:c.company_name}),e.jsx(o,{label:t[s(a)].label_2,name:"rep_name",control:r.control,error:c.rep_name}),e.jsx(o,{label:t[s(a)].label_3,name:"job_title",control:r.control,error:c.job_title}),e.jsx(o,{label:t[s(a)].number_of_participants,type:"number",name:"participants_number",control:r.control,error:c.participants_number}),e.jsx(o,{label:t[s(a)].label_4,name:"country",control:r.control,error:c.country}),e.jsx(o,{label:t[s(a)].label_5,name:"email",control:r.control,error:c.email}),e.jsx(o,{label:t[s(a)].label_6,name:"phone",control:r.control,error:c.phone}),e.jsx(o,{label:t[s(a)].label_7,name:"website",control:r.control}),e.jsx(d,{control:r.control,name:"visa_support",render:({field:n})=>e.jsxs(m,{className:"space-y-5",children:[e.jsx(i,{className:"text-xl",children:t[s(a)].visa}),e.jsx(p,{children:e.jsxs(b,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4 ml-3",children:[e.jsxs(m,{className:"flex items-center space-x-5 space-y-0",children:[e.jsx(p,{children:e.jsx(x,{value:"yes",checked:n.value==="yes"})}),e.jsx(i,{className:"text-base",children:t[s(a)].visa_radio})]}),e.jsxs(m,{className:"flex items-center space-x-5 space-y-0 ",children:[e.jsx(p,{children:e.jsx(x,{value:"no",checked:n.value==="no"})}),e.jsx(i,{className:"text-base",children:t[s(a)].visa_radio_2})]})]})})]})}),e.jsx(F,{disabled:r.formState.isSubmitting,className:"mt-5",children:r.formState.isSubmitting?e.jsx(k,{className:"animate-spin"}):t[s(a)].button})]})})}),u&&e.jsx(w,{delay:.3})]})}export{T as default}; diff --git a/dist/assets/ui-library-BUTil4a9.js b/dist/assets/ui-library-BUTil4a9.js new file mode 100644 index 0000000..5c151c6 --- /dev/null +++ b/dist/assets/ui-library-BUTil4a9.js @@ -0,0 +1,134 @@ +var mu=e=>{throw TypeError(e)};var ta=(e,t,n)=>t.has(e)||mu("Cannot "+n);var C=(e,t,n)=>(ta(e,t,"read from private field"),n?n.call(e):t.get(e)),te=(e,t,n)=>t.has(e)?mu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),H=(e,t,n,s)=>(ta(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n),fe=(e,t,n)=>(ta(e,t,"access private method"),n);var Ri=(e,t,n,s)=>({set _(r){H(e,t,r,n)},get _(){return C(e,t,s)}});import{r as Xy,a as x,R as Yy,b as lh,c as Jy,L as Me,d as ki,e as ve}from"./react-vendor-DnK_KZAP.js";var na={exports:{}},gr={};/** + * @license React + * react-jsx-runtime.production.min.js + * + * Copyright (c) Facebook, Inc. and its affiliates. + * + * This source code is licensed under the MIT license found in the + * LICENSE file in the root directory of this source tree. + */var gu;function ev(){if(gu)return gr;gu=1;var e=Xy(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,r=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function o(a,c,l){var u,d={},f=null,p=null;l!==void 0&&(f=""+l),c.key!==void 0&&(f=""+c.key),c.ref!==void 0&&(p=c.ref);for(u in c)s.call(c,u)&&!i.hasOwnProperty(u)&&(d[u]=c[u]);if(a&&a.defaultProps)for(u in c=a.defaultProps,c)d[u]===void 0&&(d[u]=c[u]);return{$$typeof:t,type:a,key:f,ref:p,props:d,_owner:r.current}}return gr.Fragment=n,gr.jsx=o,gr.jsxs=o,gr}var yu;function tv(){return yu||(yu=1,na.exports=ev()),na.exports}var y=tv();function mt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(r){if(e==null||e(r),n===!1||!r.defaultPrevented)return t==null?void 0:t(r)}}function vu(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function uh(...e){return t=>{let n=!1;const s=e.map(r=>{const i=vu(r,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let r=0;r{const{children:o,...a}=i,c=x.useMemo(()=>a,Object.values(a));return y.jsx(n.Provider,{value:c,children:o})};s.displayName=e+"Provider";function r(i){const o=x.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[s,r]}function Bc(e,t=[]){let n=[];function s(i,o){const a=x.createContext(o),c=n.length;n=[...n,o];const l=d=>{var v;const{scope:f,children:p,...m}=d,h=((v=f==null?void 0:f[e])==null?void 0:v[c])||a,g=x.useMemo(()=>m,Object.values(m));return y.jsx(h.Provider,{value:g,children:p})};l.displayName=i+"Provider";function u(d,f){var h;const p=((h=f==null?void 0:f[e])==null?void 0:h[c])||a,m=x.useContext(p);if(m)return m;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[l,u]}const r=()=>{const i=n.map(o=>x.createContext(o));return function(a){const c=(a==null?void 0:a[e])||i;return x.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return r.scopeName=e,[s,sv(r,...t)]}function sv(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const s=e.map(r=>({useScope:r(),scopeName:r.scopeName}));return function(i){const o=s.reduce((a,{useScope:c,scopeName:l})=>{const d=c(i)[`__scope${l}`];return{...a,...d}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}var us=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},rv=Yy.useId||(()=>{}),iv=0;function zi(e){const[t,n]=x.useState(rv());return us(()=>{n(s=>s??String(iv++))},[e]),t?`radix-${t}`:""}function On(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var s;return(s=t.current)==null?void 0:s.call(t,...n)},[])}function dh({prop:e,defaultProp:t,onChange:n=()=>{}}){const[s,r]=ov({defaultProp:t,onChange:n}),i=e!==void 0,o=i?e:s,a=On(n),c=x.useCallback(l=>{if(i){const d=typeof l=="function"?l(e):l;d!==e&&a(d)}else r(l)},[i,e,r,a]);return[o,c]}function ov({defaultProp:e,onChange:t}){const n=x.useState(e),[s]=n,r=x.useRef(s),i=On(t);return x.useEffect(()=>{r.current!==s&&(i(s),r.current=s)},[s,r,i]),n}var sr=x.forwardRef((e,t)=>{const{children:n,...s}=e,r=x.Children.toArray(n),i=r.find(cv);if(i){const o=i.props.children,a=r.map(c=>c===i?x.Children.count(o)>1?x.Children.only(null):x.isValidElement(o)?o.props.children:null:c);return y.jsx(Fa,{...s,ref:t,children:x.isValidElement(o)?x.cloneElement(o,void 0,a):null})}return y.jsx(Fa,{...s,ref:t,children:n})});sr.displayName="Slot";var Fa=x.forwardRef((e,t)=>{const{children:n,...s}=e;if(x.isValidElement(n)){const r=uv(n);return x.cloneElement(n,{...lv(s,n.props),ref:t?uh(t,r):r})}return x.Children.count(n)>1?x.Children.only(null):null});Fa.displayName="SlotClone";var av=({children:e})=>y.jsx(y.Fragment,{children:e});function cv(e){return x.isValidElement(e)&&e.type===av}function lv(e,t){const n={...t};for(const s in t){const r=e[s],i=t[s];/^on[A-Z]/.test(s)?r&&i?n[s]=(...a)=>{i(...a),r(...a)}:r&&(n[s]=r):s==="style"?n[s]={...r,...i}:s==="className"&&(n[s]=[r,i].filter(Boolean).join(" "))}return{...e,...n}}function uv(e){var s,r;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var dv=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],rt=dv.reduce((e,t)=>{const n=x.forwardRef((s,r)=>{const{asChild:i,...o}=s,a=i?sr:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(a,{...o,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function fv(e,t){e&&lh.flushSync(()=>e.dispatchEvent(t))}function hv(e,t=globalThis==null?void 0:globalThis.document){const n=On(e);x.useEffect(()=>{const s=r=>{r.key==="Escape"&&n(r)};return t.addEventListener("keydown",s,{capture:!0}),()=>t.removeEventListener("keydown",s,{capture:!0})},[n,t])}var pv="DismissableLayer",La="dismissableLayer.update",mv="dismissableLayer.pointerDownOutside",gv="dismissableLayer.focusOutside",xu,fh=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Uc=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:s,onPointerDownOutside:r,onFocusOutside:i,onInteractOutside:o,onDismiss:a,...c}=e,l=x.useContext(fh),[u,d]=x.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=x.useState({}),m=It(t,R=>d(R)),h=Array.from(l.layers),[g]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),v=h.indexOf(g),b=u?h.indexOf(u):-1,w=l.layersWithOutsidePointerEventsDisabled.size>0,T=b>=v,S=xv(R=>{const A=R.target,N=[...l.branches].some(D=>D.contains(A));!T||N||(r==null||r(R),o==null||o(R),R.defaultPrevented||a==null||a())},f),E=bv(R=>{const A=R.target;[...l.branches].some(D=>D.contains(A))||(i==null||i(R),o==null||o(R),R.defaultPrevented||a==null||a())},f);return hv(R=>{b===l.layers.size-1&&(s==null||s(R),!R.defaultPrevented&&a&&(R.preventDefault(),a()))},f),x.useEffect(()=>{if(u)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(xu=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(u)),l.layers.add(u),bu(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=xu)}},[u,f,n,l]),x.useEffect(()=>()=>{u&&(l.layers.delete(u),l.layersWithOutsidePointerEventsDisabled.delete(u),bu())},[u,l]),x.useEffect(()=>{const R=()=>p({});return document.addEventListener(La,R),()=>document.removeEventListener(La,R)},[]),y.jsx(rt.div,{...c,ref:m,style:{pointerEvents:w?T?"auto":"none":void 0,...e.style},onFocusCapture:mt(e.onFocusCapture,E.onFocusCapture),onBlurCapture:mt(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:mt(e.onPointerDownCapture,S.onPointerDownCapture)})});Uc.displayName=pv;var yv="DismissableLayerBranch",vv=x.forwardRef((e,t)=>{const n=x.useContext(fh),s=x.useRef(null),r=It(t,s);return x.useEffect(()=>{const i=s.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),y.jsx(rt.div,{...e,ref:r})});vv.displayName=yv;function xv(e,t=globalThis==null?void 0:globalThis.document){const n=On(e),s=x.useRef(!1),r=x.useRef(()=>{});return x.useEffect(()=>{const i=a=>{if(a.target&&!s.current){let c=function(){hh(mv,n,l,{discrete:!0})};const l={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",r.current),r.current=c,t.addEventListener("click",r.current,{once:!0})):c()}else t.removeEventListener("click",r.current);s.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",i),t.removeEventListener("click",r.current)}},[t,n]),{onPointerDownCapture:()=>s.current=!0}}function bv(e,t=globalThis==null?void 0:globalThis.document){const n=On(e),s=x.useRef(!1);return x.useEffect(()=>{const r=i=>{i.target&&!s.current&&hh(gv,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",r),()=>t.removeEventListener("focusin",r)},[t,n]),{onFocusCapture:()=>s.current=!0,onBlurCapture:()=>s.current=!1}}function bu(){const e=new CustomEvent(La);document.dispatchEvent(e)}function hh(e,t,n,{discrete:s}){const r=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&r.addEventListener(e,t,{once:!0}),s?fv(r,i):r.dispatchEvent(i)}var sa="focusScope.autoFocusOnMount",ra="focusScope.autoFocusOnUnmount",wu={bubbles:!1,cancelable:!0},wv="FocusScope",$c=x.forwardRef((e,t)=>{const{loop:n=!1,trapped:s=!1,onMountAutoFocus:r,onUnmountAutoFocus:i,...o}=e,[a,c]=x.useState(null),l=On(r),u=On(i),d=x.useRef(null),f=It(t,h=>c(h)),p=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(s){let h=function(w){if(p.paused||!a)return;const T=w.target;a.contains(T)?d.current=T:bn(d.current,{select:!0})},g=function(w){if(p.paused||!a)return;const T=w.relatedTarget;T!==null&&(a.contains(T)||bn(d.current,{select:!0}))},v=function(w){if(document.activeElement===document.body)for(const S of w)S.removedNodes.length>0&&bn(a)};document.addEventListener("focusin",h),document.addEventListener("focusout",g);const b=new MutationObserver(v);return a&&b.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",g),b.disconnect()}}},[s,a,p.paused]),x.useEffect(()=>{if(a){_u.add(p);const h=document.activeElement;if(!a.contains(h)){const v=new CustomEvent(sa,wu);a.addEventListener(sa,l),a.dispatchEvent(v),v.defaultPrevented||(Sv(Ev(ph(a)),{select:!0}),document.activeElement===h&&bn(a))}return()=>{a.removeEventListener(sa,l),setTimeout(()=>{const v=new CustomEvent(ra,wu);a.addEventListener(ra,u),a.dispatchEvent(v),v.defaultPrevented||bn(h??document.body,{select:!0}),a.removeEventListener(ra,u),_u.remove(p)},0)}}},[a,l,u,p]);const m=x.useCallback(h=>{if(!n&&!s||p.paused)return;const g=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,v=document.activeElement;if(g&&v){const b=h.currentTarget,[w,T]=_v(b);w&&T?!h.shiftKey&&v===T?(h.preventDefault(),n&&bn(w,{select:!0})):h.shiftKey&&v===w&&(h.preventDefault(),n&&bn(T,{select:!0})):v===b&&h.preventDefault()}},[n,s,p.paused]);return y.jsx(rt.div,{tabIndex:-1,...o,ref:f,onKeyDown:m})});$c.displayName=wv;function Sv(e,{select:t=!1}={}){const n=document.activeElement;for(const s of e)if(bn(s,{select:t}),document.activeElement!==n)return}function _v(e){const t=ph(e),n=Su(t,e),s=Su(t.reverse(),e);return[n,s]}function ph(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:s=>{const r=s.tagName==="INPUT"&&s.type==="hidden";return s.disabled||s.hidden||r?NodeFilter.FILTER_SKIP:s.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function Su(e,t){for(const n of e)if(!Tv(n,{upTo:t}))return n}function Tv(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Cv(e){return e instanceof HTMLInputElement&&"select"in e}function bn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Cv(e)&&t&&e.select()}}var _u=Av();function Av(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Tu(e,t),e.unshift(t)},remove(t){var n;e=Tu(e,t),(n=e[0])==null||n.resume()}}}function Tu(e,t){const n=[...e],s=n.indexOf(t);return s!==-1&&n.splice(s,1),n}function Ev(e){return e.filter(t=>t.tagName!=="A")}var Pv="Portal",zc=x.forwardRef((e,t)=>{var a;const{container:n,...s}=e,[r,i]=x.useState(!1);us(()=>i(!0),[]);const o=n||r&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?Jy.createPortal(y.jsx(rt.div,{...s,ref:t}),o):null});zc.displayName=Pv;function Rv(e,t){return x.useReducer((n,s)=>t[n][s]??n,e)}var rr=e=>{const{present:t,children:n}=e,s=kv(t),r=typeof n=="function"?n({present:s.isPresent}):x.Children.only(n),i=It(s.ref,Ov(r));return typeof n=="function"||s.isPresent?x.cloneElement(r,{ref:i}):null};rr.displayName="Presence";function kv(e){const[t,n]=x.useState(),s=x.useRef({}),r=x.useRef(e),i=x.useRef("none"),o=e?"mounted":"unmounted",[a,c]=Rv(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const l=Oi(s.current);i.current=a==="mounted"?l:"none"},[a]),us(()=>{const l=s.current,u=r.current;if(u!==e){const f=i.current,p=Oi(l);e?c("MOUNT"):p==="none"||(l==null?void 0:l.display)==="none"?c("UNMOUNT"):c(u&&f!==p?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,c]),us(()=>{if(t){let l;const u=t.ownerDocument.defaultView??window,d=p=>{const h=Oi(s.current).includes(p.animationName);if(p.target===t&&h&&(c("ANIMATION_END"),!r.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",l=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},f=p=>{p.target===t&&(i.current=Oi(s.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{u.clearTimeout(l),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:x.useCallback(l=>{l&&(s.current=getComputedStyle(l)),n(l)},[])}}function Oi(e){return(e==null?void 0:e.animationName)||"none"}function Ov(e){var s,r;let t=(s=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(r=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var ia=0;function mh(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Cu()),document.body.insertAdjacentElement("beforeend",e[1]??Cu()),ia++,()=>{ia===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ia--}},[])}function Cu(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Gt=function(){return Gt=Object.assign||function(t){for(var n,s=1,r=arguments.length;s"u")return Gv;var t=Kv(e),n=document.documentElement.clientWidth,s=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,s-n+t[2]-t[0])}},Xv=xh(),Os="data-scroll-locked",Yv=function(e,t,n,s){var r=e.left,i=e.top,o=e.right,a=e.gap;return n===void 0&&(n="margin"),` + .`.concat(jv,` { + overflow: hidden `).concat(s,`; + padding-right: `).concat(a,"px ").concat(s,`; + } + body[`).concat(Os,`] { + overflow: hidden `).concat(s,`; + overscroll-behavior: contain; + `).concat([t&&"position: relative ".concat(s,";"),n==="margin"&&` + padding-left: `.concat(r,`px; + padding-top: `).concat(i,`px; + padding-right: `).concat(o,`px; + margin-left:0; + margin-top:0; + margin-right: `).concat(a,"px ").concat(s,`; + `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(s,";")].filter(Boolean).join(""),` + } + + .`).concat(Wi,` { + right: `).concat(a,"px ").concat(s,`; + } + + .`).concat(Hi,` { + margin-right: `).concat(a,"px ").concat(s,`; + } + + .`).concat(Wi," .").concat(Wi,` { + right: 0 `).concat(s,`; + } + + .`).concat(Hi," .").concat(Hi,` { + margin-right: 0 `).concat(s,`; + } + + body[`).concat(Os,`] { + `).concat(Dv,": ").concat(a,`px; + } +`)},Eu=function(){var e=parseInt(document.body.getAttribute(Os)||"0",10);return isFinite(e)?e:0},Jv=function(){x.useEffect(function(){return document.body.setAttribute(Os,(Eu()+1).toString()),function(){var e=Eu()-1;e<=0?document.body.removeAttribute(Os):document.body.setAttribute(Os,e.toString())}},[])},ex=function(e){var t=e.noRelative,n=e.noImportant,s=e.gapMode,r=s===void 0?"margin":s;Jv();var i=x.useMemo(function(){return Qv(r)},[r]);return x.createElement(Xv,{styles:Yv(i,!t,r,n?"":"!important")})},Ia=!1;if(typeof window<"u")try{var Ni=Object.defineProperty({},"passive",{get:function(){return Ia=!0,!0}});window.addEventListener("test",Ni,Ni),window.removeEventListener("test",Ni,Ni)}catch{Ia=!1}var bs=Ia?{passive:!1}:!1,tx=function(e){return e.tagName==="TEXTAREA"},bh=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!tx(e)&&n[t]==="visible")},nx=function(e){return bh(e,"overflowY")},sx=function(e){return bh(e,"overflowX")},Pu=function(e,t){var n=t.ownerDocument,s=t;do{typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&(s=s.host);var r=wh(e,s);if(r){var i=Sh(e,s),o=i[1],a=i[2];if(o>a)return!0}s=s.parentNode}while(s&&s!==n.body);return!1},rx=function(e){var t=e.scrollTop,n=e.scrollHeight,s=e.clientHeight;return[t,n,s]},ix=function(e){var t=e.scrollLeft,n=e.scrollWidth,s=e.clientWidth;return[t,n,s]},wh=function(e,t){return e==="v"?nx(t):sx(t)},Sh=function(e,t){return e==="v"?rx(t):ix(t)},ox=function(e,t){return e==="h"&&t==="rtl"?-1:1},ax=function(e,t,n,s,r){var i=ox(e,window.getComputedStyle(t).direction),o=i*s,a=n.target,c=t.contains(a),l=!1,u=o>0,d=0,f=0;do{var p=Sh(e,a),m=p[0],h=p[1],g=p[2],v=h-g-i*m;(m||v)&&wh(e,a)&&(d+=v,f+=m),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(u&&Math.abs(d)<1||!u&&Math.abs(f)<1)&&(l=!0),l},ji=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ru=function(e){return[e.deltaX,e.deltaY]},ku=function(e){return e&&"current"in e?e.current:e},cx=function(e,t){return e[0]===t[0]&&e[1]===t[1]},lx=function(e){return` + .block-interactivity-`.concat(e,` {pointer-events: none;} + .allow-interactivity-`).concat(e,` {pointer-events: all;} +`)},ux=0,ws=[];function dx(e){var t=x.useRef([]),n=x.useRef([0,0]),s=x.useRef(),r=x.useState(ux++)[0],i=x.useState(xh)[0],o=x.useRef(e);x.useEffect(function(){o.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(r));var h=Nv([e.lockRef.current],(e.shards||[]).map(ku),!0).filter(Boolean);return h.forEach(function(g){return g.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),h.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var a=x.useCallback(function(h,g){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!o.current.allowPinchZoom;var v=ji(h),b=n.current,w="deltaX"in h?h.deltaX:b[0]-v[0],T="deltaY"in h?h.deltaY:b[1]-v[1],S,E=h.target,R=Math.abs(w)>Math.abs(T)?"h":"v";if("touches"in h&&R==="h"&&E.type==="range")return!1;var A=Pu(R,E);if(!A)return!0;if(A?S=R:(S=R==="v"?"h":"v",A=Pu(R,E)),!A)return!1;if(!s.current&&"changedTouches"in h&&(w||T)&&(s.current=S),!S)return!0;var N=s.current||S;return ax(N,g,h,N==="h"?w:T)},[]),c=x.useCallback(function(h){var g=h;if(!(!ws.length||ws[ws.length-1]!==i)){var v="deltaY"in g?Ru(g):ji(g),b=t.current.filter(function(S){return S.name===g.type&&(S.target===g.target||g.target===S.shadowParent)&&cx(S.delta,v)})[0];if(b&&b.should){g.cancelable&&g.preventDefault();return}if(!b){var w=(o.current.shards||[]).map(ku).filter(Boolean).filter(function(S){return S.contains(g.target)}),T=w.length>0?a(g,w[0]):!o.current.noIsolation;T&&g.cancelable&&g.preventDefault()}}},[]),l=x.useCallback(function(h,g,v,b){var w={name:h,delta:g,target:v,should:b,shadowParent:fx(v)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(T){return T!==w})},1)},[]),u=x.useCallback(function(h){n.current=ji(h),s.current=void 0},[]),d=x.useCallback(function(h){l(h.type,Ru(h),h.target,a(h,e.lockRef.current))},[]),f=x.useCallback(function(h){l(h.type,ji(h),h.target,a(h,e.lockRef.current))},[]);x.useEffect(function(){return ws.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",c,bs),document.addEventListener("touchmove",c,bs),document.addEventListener("touchstart",u,bs),function(){ws=ws.filter(function(h){return h!==i}),document.removeEventListener("wheel",c,bs),document.removeEventListener("touchmove",c,bs),document.removeEventListener("touchstart",u,bs)}},[]);var p=e.removeScrollBar,m=e.inert;return x.createElement(x.Fragment,null,m?x.createElement(i,{styles:lx(r)}):null,p?x.createElement(ex,{gapMode:e.gapMode}):null)}function fx(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const hx=Uv(vh,dx);var Wc=x.forwardRef(function(e,t){return x.createElement(Po,Gt({},e,{ref:t,sideCar:hx}))});Wc.classNames=Po.classNames;var px=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Ss=new WeakMap,Di=new WeakMap,Mi={},la=0,_h=function(e){return e&&(e.host||_h(e.parentNode))},mx=function(e,t){return t.map(function(n){if(e.contains(n))return n;var s=_h(n);return s&&e.contains(s)?s:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},gx=function(e,t,n,s){var r=mx(t,Array.isArray(e)?e:[e]);Mi[n]||(Mi[n]=new WeakMap);var i=Mi[n],o=[],a=new Set,c=new Set(r),l=function(d){!d||a.has(d)||(a.add(d),l(d.parentNode))};r.forEach(l);var u=function(d){!d||c.has(d)||Array.prototype.forEach.call(d.children,function(f){if(a.has(f))u(f);else try{var p=f.getAttribute(s),m=p!==null&&p!=="false",h=(Ss.get(f)||0)+1,g=(i.get(f)||0)+1;Ss.set(f,h),i.set(f,g),o.push(f),h===1&&m&&Di.set(f,!0),g===1&&f.setAttribute(n,"true"),m||f.setAttribute(s,"true")}catch(v){console.error("aria-hidden: cannot operate on ",f,v)}})};return u(t),a.clear(),la++,function(){o.forEach(function(d){var f=Ss.get(d)-1,p=i.get(d)-1;Ss.set(d,f),i.set(d,p),f||(Di.has(d)||d.removeAttribute(s),Di.delete(d)),p||d.removeAttribute(n)}),la--,la||(Ss=new WeakMap,Ss=new WeakMap,Di=new WeakMap,Mi={})}},Th=function(e,t,n){n===void 0&&(n="data-aria-hidden");var s=Array.from(Array.isArray(e)?e:[e]),r=px(e);return r?(s.push.apply(s,Array.from(r.querySelectorAll("[aria-live]"))),gx(s,r,n,"aria-hidden")):function(){return null}},Hc="Dialog",[Ch,Vk]=Bc(Hc),[yx,Vt]=Ch(Hc),Ah=e=>{const{__scopeDialog:t,children:n,open:s,defaultOpen:r,onOpenChange:i,modal:o=!0}=e,a=x.useRef(null),c=x.useRef(null),[l=!1,u]=dh({prop:s,defaultProp:r,onChange:i});return y.jsx(yx,{scope:t,triggerRef:a,contentRef:c,contentId:zi(),titleId:zi(),descriptionId:zi(),open:l,onOpenChange:u,onOpenToggle:x.useCallback(()=>u(d=>!d),[u]),modal:o,children:n})};Ah.displayName=Hc;var Eh="DialogTrigger",Ph=x.forwardRef((e,t)=>{const{__scopeDialog:n,...s}=e,r=Vt(Eh,n),i=It(t,r.triggerRef);return y.jsx(rt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":Gc(r.open),...s,ref:i,onClick:mt(e.onClick,r.onOpenToggle)})});Ph.displayName=Eh;var qc="DialogPortal",[vx,Rh]=Ch(qc,{forceMount:void 0}),kh=e=>{const{__scopeDialog:t,forceMount:n,children:s,container:r}=e,i=Vt(qc,t);return y.jsx(vx,{scope:t,forceMount:n,children:x.Children.map(s,o=>y.jsx(rr,{present:n||i.open,children:y.jsx(zc,{asChild:!0,container:r,children:o})}))})};kh.displayName=qc;var to="DialogOverlay",Oh=x.forwardRef((e,t)=>{const n=Rh(to,e.__scopeDialog),{forceMount:s=n.forceMount,...r}=e,i=Vt(to,e.__scopeDialog);return i.modal?y.jsx(rr,{present:s||i.open,children:y.jsx(xx,{...r,ref:t})}):null});Oh.displayName=to;var xx=x.forwardRef((e,t)=>{const{__scopeDialog:n,...s}=e,r=Vt(to,n);return y.jsx(Wc,{as:sr,allowPinchZoom:!0,shards:[r.contentRef],children:y.jsx(rt.div,{"data-state":Gc(r.open),...s,ref:t,style:{pointerEvents:"auto",...s.style}})})}),ds="DialogContent",Nh=x.forwardRef((e,t)=>{const n=Rh(ds,e.__scopeDialog),{forceMount:s=n.forceMount,...r}=e,i=Vt(ds,e.__scopeDialog);return y.jsx(rr,{present:s||i.open,children:i.modal?y.jsx(bx,{...r,ref:t}):y.jsx(wx,{...r,ref:t})})});Nh.displayName=ds;var bx=x.forwardRef((e,t)=>{const n=Vt(ds,e.__scopeDialog),s=x.useRef(null),r=It(t,n.contentRef,s);return x.useEffect(()=>{const i=s.current;if(i)return Th(i)},[]),y.jsx(jh,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:mt(e.onCloseAutoFocus,i=>{var o;i.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:mt(e.onPointerDownOutside,i=>{const o=i.detail.originalEvent,a=o.button===0&&o.ctrlKey===!0;(o.button===2||a)&&i.preventDefault()}),onFocusOutside:mt(e.onFocusOutside,i=>i.preventDefault())})}),wx=x.forwardRef((e,t)=>{const n=Vt(ds,e.__scopeDialog),s=x.useRef(!1),r=x.useRef(!1);return y.jsx(jh,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o,a;(o=e.onCloseAutoFocus)==null||o.call(e,i),i.defaultPrevented||(s.current||(a=n.triggerRef.current)==null||a.focus(),i.preventDefault()),s.current=!1,r.current=!1},onInteractOutside:i=>{var c,l;(c=e.onInteractOutside)==null||c.call(e,i),i.defaultPrevented||(s.current=!0,i.detail.originalEvent.type==="pointerdown"&&(r.current=!0));const o=i.target;((l=n.triggerRef.current)==null?void 0:l.contains(o))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&r.current&&i.preventDefault()}})}),jh=x.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:s,onOpenAutoFocus:r,onCloseAutoFocus:i,...o}=e,a=Vt(ds,n),c=x.useRef(null),l=It(t,c);return mh(),y.jsxs(y.Fragment,{children:[y.jsx($c,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:r,onUnmountAutoFocus:i,children:y.jsx(Uc,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":Gc(a.open),...o,ref:l,onDismiss:()=>a.onOpenChange(!1)})}),y.jsxs(y.Fragment,{children:[y.jsx(Sx,{titleId:a.titleId}),y.jsx(Tx,{contentRef:c,descriptionId:a.descriptionId})]})]})}),Zc="DialogTitle",Dh=x.forwardRef((e,t)=>{const{__scopeDialog:n,...s}=e,r=Vt(Zc,n);return y.jsx(rt.h2,{id:r.titleId,...s,ref:t})});Dh.displayName=Zc;var Mh="DialogDescription",Fh=x.forwardRef((e,t)=>{const{__scopeDialog:n,...s}=e,r=Vt(Mh,n);return y.jsx(rt.p,{id:r.descriptionId,...s,ref:t})});Fh.displayName=Mh;var Lh="DialogClose",Ih=x.forwardRef((e,t)=>{const{__scopeDialog:n,...s}=e,r=Vt(Lh,n);return y.jsx(rt.button,{type:"button",...s,ref:t,onClick:mt(e.onClick,()=>r.onOpenChange(!1))})});Ih.displayName=Lh;function Gc(e){return e?"open":"closed"}var Vh="DialogTitleWarning",[Bk,Bh]=nv(Vh,{contentName:ds,titleName:Zc,docsSlug:"dialog"}),Sx=({titleId:e})=>{const t=Bh(Vh),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. + +If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. + +For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return x.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},_x="DialogDescriptionWarning",Tx=({contentRef:e,descriptionId:t})=>{const s=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Bh(_x).contentName}}.`;return x.useEffect(()=>{var i;const r=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(s))},[s,e,t]),null},Uh=Ah,$h=Ph,zh=kh,Ro=Oh,ko=Nh,Oo=Dh,No=Fh,Kc=Ih;function Wh(e){var t,n,s="";if(typeof e=="string"||typeof e=="number")s+=e;else if(typeof e=="object")if(Array.isArray(e)){var r=e.length;for(t=0;ttypeof e=="boolean"?`${e}`:e===0?"0":e,Nu=Hh,Qc=(e,t)=>n=>{var s;if((t==null?void 0:t.variants)==null)return Nu(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:r,defaultVariants:i}=t,o=Object.keys(r).map(l=>{const u=n==null?void 0:n[l],d=i==null?void 0:i[l];if(u===null)return null;const f=Ou(u)||Ou(d);return r[l][f]}),a=n&&Object.entries(n).reduce((l,u)=>{let[d,f]=u;return f===void 0||(l[d]=f),l},{}),c=t==null||(s=t.compoundVariants)===null||s===void 0?void 0:s.reduce((l,u)=>{let{class:d,className:f,...p}=u;return Object.entries(p).every(m=>{let[h,g]=m;return Array.isArray(g)?g.includes({...i,...a}[h]):{...i,...a}[h]===g})?[...l,d,f]:l},[]);return Nu(e,o,c,n==null?void 0:n.class,n==null?void 0:n.className)};/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Cx=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),qh=(...e)=>e.filter((t,n,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===n).join(" ").trim();/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */var Ax={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"};/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Ex=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:s,className:r="",children:i,iconNode:o,...a},c)=>x.createElement("svg",{ref:c,...Ax,width:t,height:t,stroke:e,strokeWidth:s?Number(n)*24/Number(t):n,className:qh("lucide",r),...a},[...o.map(([l,u])=>x.createElement(l,u)),...Array.isArray(i)?i:[i]]));/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Un=(e,t)=>{const n=x.forwardRef(({className:s,...r},i)=>x.createElement(Ex,{ref:i,iconNode:t,className:qh(`lucide-${Cx(e)}`,s),...r}));return n.displayName=`${e}`,n};/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Px=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],Rx=Un("ArrowUpRight",Px);/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const kx=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],Ox=Un("Facebook",kx);/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Nx=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Zh=Un("LoaderCircle",Nx);/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const jx=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],Uk=Un("Loader",jx);/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Dx=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],Mx=Un("MapPin",Dx);/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Fx=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],Lx=Un("Smartphone",Fx);/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Ix=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]],Vx=Un("Upload",Ix);/** + * @license lucide-react v0.473.0 - ISC + * + * This source code is licensed under the ISC license. + * See the LICENSE file in the root directory of this source tree. + */const Bx=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Gh=Un("X",Bx),Xc="-",Ux=e=>{const t=zx(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:o=>{const a=o.split(Xc);return a[0]===""&&a.length!==1&&a.shift(),Kh(a,t)||$x(o)},getConflictingClassGroupIds:(o,a)=>{const c=n[o]||[];return a&&s[o]?[...c,...s[o]]:c}}},Kh=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],s=t.nextPart.get(n),r=s?Kh(e.slice(1),s):void 0;if(r)return r;if(t.validators.length===0)return;const i=e.join(Xc);return(o=t.validators.find(({validator:a})=>a(i)))==null?void 0:o.classGroupId},ju=/^\[(.+)\]$/,$x=e=>{if(ju.test(e)){const t=ju.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},zx=e=>{const{theme:t,prefix:n}=e,s={nextPart:new Map,validators:[]};return Hx(Object.entries(e.classGroups),n).forEach(([i,o])=>{Va(o,s,i,t)}),s},Va=(e,t,n,s)=>{e.forEach(r=>{if(typeof r=="string"){const i=r===""?t:Du(t,r);i.classGroupId=n;return}if(typeof r=="function"){if(Wx(r)){Va(r(s),t,n,s);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(([i,o])=>{Va(o,Du(t,i),n,s)})})},Du=(e,t)=>{let n=e;return t.split(Xc).forEach(s=>{n.nextPart.has(s)||n.nextPart.set(s,{nextPart:new Map,validators:[]}),n=n.nextPart.get(s)}),n},Wx=e=>e.isThemeGetter,Hx=(e,t)=>t?e.map(([n,s])=>{const r=s.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,a])=>[t+o,a])):i);return[n,r]}):e,qx=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,s=new Map;const r=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,s=n,n=new Map)};return{get(i){let o=n.get(i);if(o!==void 0)return o;if((o=s.get(i))!==void 0)return r(i,o),o},set(i,o){n.has(i)?n.set(i,o):r(i,o)}}},Qh="!",Zx=e=>{const{separator:t,experimentalParseClassName:n}=e,s=t.length===1,r=t[0],i=t.length,o=a=>{const c=[];let l=0,u=0,d;for(let g=0;gu?d-u:void 0;return{modifiers:c,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:h}};return n?a=>n({className:a,parseClassName:o}):o},Gx=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(s=>{s[0]==="["?(t.push(...n.sort(),s),n=[]):n.push(s)}),t.push(...n.sort()),t},Kx=e=>({cache:qx(e.cacheSize),parseClassName:Zx(e),...Ux(e)}),Qx=/\s+/,Xx=(e,t)=>{const{parseClassName:n,getClassGroupId:s,getConflictingClassGroupIds:r}=t,i=[],o=e.trim().split(Qx);let a="";for(let c=o.length-1;c>=0;c-=1){const l=o[c],{modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(l);let m=!!p,h=s(m?f.substring(0,p):f);if(!h){if(!m){a=l+(a.length>0?" "+a:a);continue}if(h=s(f),!h){a=l+(a.length>0?" "+a:a);continue}m=!1}const g=Gx(u).join(":"),v=d?g+Qh:g,b=v+h;if(i.includes(b))continue;i.push(b);const w=r(h,m);for(let T=0;T0?" "+a:a)}return a};function Yx(){let e=0,t,n,s="";for(;e{if(typeof e=="string")return e;let t,n="";for(let s=0;sd(u),e());return n=Kx(l),s=n.cache.get,r=n.cache.set,i=a,a(c)}function a(c){const l=s(c);if(l)return l;const u=Xx(c,n);return r(c,u),u}return function(){return i(Yx.apply(null,arguments))}}const Te=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Yh=/^\[(?:([a-z-]+):)?(.+)\]$/i,eb=/^\d+\/\d+$/,tb=new Set(["px","full","screen"]),nb=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,sb=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,rb=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ib=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ob=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,on=e=>Ns(e)||tb.has(e)||eb.test(e),vn=e=>ir(e,"length",pb),Ns=e=>!!e&&!Number.isNaN(Number(e)),ua=e=>ir(e,"number",Ns),yr=e=>!!e&&Number.isInteger(Number(e)),ab=e=>e.endsWith("%")&&Ns(e.slice(0,-1)),ce=e=>Yh.test(e),xn=e=>nb.test(e),cb=new Set(["length","size","percentage"]),lb=e=>ir(e,cb,Jh),ub=e=>ir(e,"position",Jh),db=new Set(["image","url"]),fb=e=>ir(e,db,gb),hb=e=>ir(e,"",mb),vr=()=>!0,ir=(e,t,n)=>{const s=Yh.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):n(s[2]):!1},pb=e=>sb.test(e)&&!rb.test(e),Jh=()=>!1,mb=e=>ib.test(e),gb=e=>ob.test(e),yb=()=>{const e=Te("colors"),t=Te("spacing"),n=Te("blur"),s=Te("brightness"),r=Te("borderColor"),i=Te("borderRadius"),o=Te("borderSpacing"),a=Te("borderWidth"),c=Te("contrast"),l=Te("grayscale"),u=Te("hueRotate"),d=Te("invert"),f=Te("gap"),p=Te("gradientColorStops"),m=Te("gradientColorStopPositions"),h=Te("inset"),g=Te("margin"),v=Te("opacity"),b=Te("padding"),w=Te("saturate"),T=Te("scale"),S=Te("sepia"),E=Te("skew"),R=Te("space"),A=Te("translate"),N=()=>["auto","contain","none"],D=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",ce,t],j=()=>[ce,t],$=()=>["",on,vn],W=()=>["auto",Ns,ce],se=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",ce],me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ge=()=>[Ns,ce];return{cacheSize:500,separator:":",theme:{colors:[vr],spacing:[on,vn],blur:["none","",xn,ce],brightness:ge(),borderColor:[e],borderRadius:["none","","full",xn,ce],borderSpacing:j(),borderWidth:$(),contrast:ge(),grayscale:re(),hueRotate:ge(),invert:re(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[ab,vn],inset:L(),margin:L(),opacity:ge(),padding:j(),saturate:ge(),scale:ge(),sepia:re(),skew:ge(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",ce]}],container:["container"],columns:[{columns:[xn]}],"break-after":[{"break-after":me()}],"break-before":[{"break-before":me()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...se(),ce]}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",yr,ce]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ce]}],grow:[{grow:re()}],shrink:[{shrink:re()}],order:[{order:["first","last","none",yr,ce]}],"grid-cols":[{"grid-cols":[vr]}],"col-start-end":[{col:["auto",{span:["full",yr,ce]},ce]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[vr]}],"row-start-end":[{row:["auto",{span:[yr,ce]},ce]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ce]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ce]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[R]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[R]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ce,t]}],"min-w":[{"min-w":[ce,t,"min","max","fit"]}],"max-w":[{"max-w":[ce,t,"none","full","min","max","fit","prose",{screen:[xn]},xn]}],h:[{h:[ce,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ce,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ce,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ce,t,"auto","min","max","fit"]}],"font-size":[{text:["base",xn,vn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ua]}],"font-family":[{font:[vr]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ce]}],"line-clamp":[{"line-clamp":["none",Ns,ua]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",on,ce]}],"list-image":[{"list-image":["none",ce]}],"list-style-type":[{list:["none","disc","decimal",ce]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",on,vn]}],"underline-offset":[{"underline-offset":["auto",on,ce]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ce]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...se(),ub]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",lb]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},fb]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:Y()}],"border-color":[{border:[r]}],"border-color-x":[{"border-x":[r]}],"border-color-y":[{"border-y":[r]}],"border-color-s":[{"border-s":[r]}],"border-color-e":[{"border-e":[r]}],"border-color-t":[{"border-t":[r]}],"border-color-r":[{"border-r":[r]}],"border-color-b":[{"border-b":[r]}],"border-color-l":[{"border-l":[r]}],"divide-color":[{divide:[r]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[on,ce]}],"outline-w":[{outline:[on,vn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[on,vn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",xn,hb]}],"shadow-color":[{shadow:[vr]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[s]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",xn,ce]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[s]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ce]}],duration:[{duration:ge()}],ease:[{ease:["linear","in","out","in-out",ce]}],delay:[{delay:ge()}],animate:[{animate:["none","spin","ping","pulse","bounce",ce]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[yr,ce]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ce]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ce]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ce]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[on,vn,ua]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},vb=Jx(yb);function Q(...e){return vb(Hh(e))}const xb=Uh,bb=$h,wb=Kc,Sb=zh,ep=x.forwardRef(({className:e,...t},n)=>y.jsx(Ro,{className:Q("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));ep.displayName=Ro.displayName;const _b=Qc("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-full data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),tp=x.forwardRef(({side:e="right",className:t,children:n,...s},r)=>y.jsxs(Sb,{children:[y.jsx(ep,{}),y.jsxs(ko,{ref:r,className:Q(_b({side:e}),t),...s,children:[y.jsxs(Kc,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none data-[state=open]:bg-secondary",children:[y.jsx(Gh,{className:"size-8"}),y.jsx("span",{className:"sr-only",children:"Close"})]}),n]})]}));tp.displayName=ko.displayName;const np=({className:e,...t})=>y.jsx("div",{className:Q("flex flex-col space-y-2 text-center sm:text-left",e),...t});np.displayName="SheetHeader";const Tb=x.forwardRef(({className:e,...t},n)=>y.jsx(Oo,{ref:n,className:Q("text-lg font-semibold text-foreground",e),...t}));Tb.displayName=Oo.displayName;const Cb=x.forwardRef(({className:e,...t},n)=>y.jsx(No,{ref:n,className:Q("text-sm text-muted-foreground",e),...t}));Cb.displayName=No.displayName;const Ab=Qc("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-[18px] leading-[140%] font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-on_primary shadow hover:bg-primary/90",teritary:"bg-teritary hover:bg-teritary/90 text-on_surface",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-outline text-on_surface",secondary:"bg-secondary_container hover:bg-secondary_container/80 text-on_secondary_container",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-white h-8"},size:{default:"h-12 px-5 py-2 rounded-[2px]",sm:"h-10 text-base px-4 rounded-[2px]",lg:"lg:h-[88px] h-12 rounded-[2px] px-8 ",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),ut=x.forwardRef(({className:e,variant:t,size:n,loading:s,children:r,asChild:i=!1,...o},a)=>{const c=i?sr:"button";return y.jsx(c,{className:Q(Ab({variant:t,size:n,className:e})),ref:a,...o,children:s?y.jsx(Zh,{className:"w-5 h-5 animate-spin"}):r})});ut.displayName="Button";const Eb=(e,t,n,s)=>{var i,o,a,c;const r=[n,{code:t,...s||{}}];if((o=(i=e==null?void 0:e.services)==null?void 0:i.logger)!=null&&o.forward)return e.services.logger.forward(r,"warn","react-i18next::",!0);os(r[0])&&(r[0]=`react-i18next:: ${r[0]}`),(c=(a=e==null?void 0:e.services)==null?void 0:a.logger)!=null&&c.warn?e.services.logger.warn(...r):console!=null&&console.warn&&console.warn(...r)},Mu={},Ba=(e,t,n,s)=>{os(n)&&Mu[n]||(os(n)&&(Mu[n]=new Date),Eb(e,t,n,s))},sp=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Ua=(e,t,n)=>{e.loadNamespaces(t,sp(e,n))},Fu=(e,t,n,s)=>{if(os(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return Ua(e,n,s);n.forEach(r=>{e.options.ns.indexOf(r)<0&&e.options.ns.push(r)}),e.loadLanguages(t,sp(e,s))},Pb=(e,t,n={})=>!t.languages||!t.languages.length?(Ba(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(s,r)=>{var i;if(((i=n.bindI18n)==null?void 0:i.indexOf("languageChanging"))>-1&&s.services.backendConnector.backend&&s.isLanguageChangingTo&&!r(s.isLanguageChangingTo,e))return!1}}),os=e=>typeof e=="string",Rb=e=>typeof e=="object"&&e!==null,kb=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Ob={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},Nb=e=>Ob[e],jb=e=>e.replace(kb,Nb);let $a={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:jb};const Db=(e={})=>{$a={...$a,...e}},Mb=()=>$a;let rp;const Fb=e=>{rp=e},Lb=()=>rp,$k={type:"3rdParty",init(e){Db(e.options.react),Fb(e)}},Ib=x.createContext();class Vb{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const Bb=(e,t)=>{const n=x.useRef();return x.useEffect(()=>{n.current=e},[e,t]),n.current},ip=(e,t,n,s)=>e.getFixedT(t,n,s),Ub=(e,t,n,s)=>x.useCallback(ip(e,t,n,s),[e,t,n,s]),jo=(e,t={})=>{var T,S,E,R;const{i18n:n}=t,{i18n:s,defaultNS:r}=x.useContext(Ib)||{},i=n||s||Lb();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new Vb),!i){Ba(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const A=(D,L)=>os(L)?L:Rb(L)&&os(L.defaultValue)?L.defaultValue:Array.isArray(D)?D[D.length-1]:D,N=[A,{},!1];return N.t=A,N.i18n={},N.ready=!1,N}(T=i.options.react)!=null&&T.wait&&Ba(i,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...Mb(),...i.options.react,...t},{useSuspense:a,keyPrefix:c}=o;let l=e||r||((S=i.options)==null?void 0:S.defaultNS);l=os(l)?[l]:l||["translation"],(R=(E=i.reportNamespaces).addUsedNamespaces)==null||R.call(E,l);const u=(i.isInitialized||i.initializedStoreOnce)&&l.every(A=>Pb(A,i,o)),d=Ub(i,t.lng||null,o.nsMode==="fallback"?l:l[0],c),f=()=>d,p=()=>ip(i,t.lng||null,o.nsMode==="fallback"?l:l[0],c),[m,h]=x.useState(f);let g=l.join();t.lng&&(g=`${t.lng}${g}`);const v=Bb(g),b=x.useRef(!0);x.useEffect(()=>{const{bindI18n:A,bindI18nStore:N}=o;b.current=!0,!u&&!a&&(t.lng?Fu(i,t.lng,l,()=>{b.current&&h(p)}):Ua(i,l,()=>{b.current&&h(p)})),u&&v&&v!==g&&b.current&&h(p);const D=()=>{b.current&&h(p)};return A&&(i==null||i.on(A,D)),N&&(i==null||i.store.on(N,D)),()=>{b.current=!1,i&&(A==null||A.split(" ").forEach(L=>i.off(L,D))),N&&i&&N.split(" ").forEach(L=>i.store.off(L,D))}},[i,g]),x.useEffect(()=>{b.current&&u&&h(f)},[i,c,u]);const w=[m,i,u];if(w.t=m,w.i18n=i,w.ready=u,u||!u&&!a)return w;throw new Promise(A=>{t.lng?Fu(i,t.lng,l,()=>A()):Ua(i,l,()=>A())})},op=({className:e})=>y.jsx("div",{className:Q("",e),children:y.jsx("img",{src:"/logo.svg",alt:"logo",className:"md:size-auto h-10"})}),ap=({className:e,image:t,title:n,iconClassName:s})=>y.jsxs("article",{className:Q("bg-surface_container relative hover:bg-teritary_surface_container transition-all md:px-6 px-2 md:h-[224px] h-[124px]",e),children:[y.jsx("div",{className:"bg-primary size-full -z-[10] absolute top-2.5 left-2.5"}),y.jsx("div",{className:Q("md:size-[84px] size-12 bg-teritary p-3",s),children:y.jsx("img",{src:t.path,alt:"theme icon"})}),y.jsx("h3",{className:"md:mt-6 mt-2 md:text-xl text-sm",children:n})]}),$b=({className:e,title:t,text:n})=>y.jsxs("article",{className:Q("px-6 py-4 relative bg-surface_container h-[160px] w-full overflow-hidden",e),children:[y.jsx("img",{src:"/about-card-bg.svg",className:"absolute top-2 right-0"}),y.jsx("h2",{className:"text-primary text-[32px] semibold leading-[130%] mb-4",children:n}),y.jsx("h4",{className:"text-on_surface normal text-base",children:t})]}),zb=({className:e,title:t,text:n,img:s,link:r,btnText:i})=>y.jsxs("article",{className:Q("md:px-8 md:py-6 p-4 relative overflow-hidden h-[296px] md:w-full w-[300px] text-on_primary",e),children:[y.jsx("div",{className:"absolute size-full z-10 top-0 left-0 bg-gradient-to-r from-25% from-primary to-primary/20 "}),y.jsx("img",{src:s,className:"absolute size-full top-0 right-0 object-cover"}),y.jsxs("div",{className:"relative z-20 h-full",children:[y.jsxs("div",{className:"",children:[y.jsx("h4",{className:"md:text-2xl text-lg mb-4 max-w-[444px] z-20 h-16",children:t}),y.jsx("p",{className:"md:text-base text-sm normal max-w-[360px] z-20",children:n})]}),y.jsx(Me,{className:"absolute bottom-0 left-0",target:"_blank",to:r,children:y.jsxs(ut,{className:"text-sm px-0 h-fit py-0 z-20",variant:"link",children:[i," ",y.jsx(Rx,{})]})})]})]}),cp=({className:e,title:t,text:n,bottomClassName:s})=>y.jsxs("div",{className:Q("rounded-t-[4px] overflow-hidden",e),children:[y.jsx("div",{className:"bg-teritary text-white flex items-center h-11 px-4",children:t}),y.jsx("div",{className:Q("h-14 bg-surface_container semibold flex items-center text-lg px-4",s),children:n})]}),Wb=({className:e,text:t,title:n,image:s})=>y.jsxs("div",{className:Q("flex items-center gap-4",e),children:[y.jsx("div",{className:"bg-secondary_container size-16 rounded-[2px] p-3",children:y.jsx("img",{src:s.path,alt:"contact icon",className:"size-full"})}),y.jsxs("div",{className:"flex flex-col gap-2",children:[y.jsx("h5",{className:"text-sm text-[#454545]",children:n}),y.jsx("h4",{className:"text-[#171717] semibold",children:t})]})]}),Yc=x.createContext({});function Jc(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const Do=x.createContext(null),el=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class Hb extends x.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const s=n.offsetParent,r=s instanceof HTMLElement&&s.offsetWidth||0,i=this.props.sizeRef.current;i.height=n.offsetHeight||0,i.width=n.offsetWidth||0,i.top=n.offsetTop,i.left=n.offsetLeft,i.right=r-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}}function qb({children:e,isPresent:t,anchorX:n}){const s=x.useId(),r=x.useRef(null),i=x.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:o}=x.useContext(el);return x.useInsertionEffect(()=>{const{width:a,height:c,top:l,left:u,right:d}=i.current;if(t||!r.current||!a||!c)return;const f=n==="left"?`left: ${u}`:`right: ${d}`;r.current.dataset.motionPopId=s;const p=document.createElement("style");return o&&(p.nonce=o),document.head.appendChild(p),p.sheet&&p.sheet.insertRule(` + [data-motion-pop-id="${s}"] { + position: absolute !important; + width: ${a}px !important; + height: ${c}px !important; + ${f}px !important; + top: ${l}px !important; + } + `),()=>{document.head.removeChild(p)}},[t]),y.jsx(Hb,{isPresent:t,childRef:r,sizeRef:i,children:x.cloneElement(e,{ref:r})})}const Zb=({children:e,initial:t,isPresent:n,onExitComplete:s,custom:r,presenceAffectsLayout:i,mode:o,anchorX:a})=>{const c=Jc(Gb),l=x.useId(),u=x.useCallback(f=>{c.set(f,!0);for(const p of c.values())if(!p)return;s&&s()},[c,s]),d=x.useMemo(()=>({id:l,initial:t,isPresent:n,custom:r,onExitComplete:u,register:f=>(c.set(f,!1),()=>c.delete(f))}),i?[Math.random(),u]:[n,u]);return x.useMemo(()=>{c.forEach((f,p)=>c.set(p,!1))},[n]),x.useEffect(()=>{!n&&!c.size&&s&&s()},[n]),o==="popLayout"&&(e=y.jsx(qb,{isPresent:n,anchorX:a,children:e})),y.jsx(Do.Provider,{value:d,children:e})};function Gb(){return new Map}function lp(e=!0){const t=x.useContext(Do);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:s,register:r}=t,i=x.useId();x.useEffect(()=>{e&&r(i)},[e]);const o=x.useCallback(()=>e&&s&&s(i),[i,s,e]);return!n&&s?[!1,o]:[!0]}const Fi=e=>e.key||"";function Lu(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const tl=typeof window<"u",up=tl?x.useLayoutEffect:x.useEffect,zk=({children:e,custom:t,initial:n=!0,onExitComplete:s,presenceAffectsLayout:r=!0,mode:i="sync",propagate:o=!1,anchorX:a="left"})=>{const[c,l]=lp(o),u=x.useMemo(()=>Lu(e),[e]),d=o&&!c?[]:u.map(Fi),f=x.useRef(!0),p=x.useRef(u),m=Jc(()=>new Map),[h,g]=x.useState(u),[v,b]=x.useState(u);up(()=>{f.current=!1,p.current=u;for(let S=0;S{const E=Fi(S),R=o&&!c?!1:u===v||d.includes(E),A=()=>{if(m.has(E))m.set(E,!0);else return;let N=!0;m.forEach(D=>{D||(N=!1)}),N&&(T==null||T(),b(p.current),o&&(l==null||l()),s&&s())};return y.jsx(Zb,{isPresent:R,initial:!f.current||n?void 0:!1,custom:R?void 0:t,presenceAffectsLayout:r,mode:i,onExitComplete:R?void 0:A,anchorX:a,children:S},E)})})},gt=e=>e;let za=gt;const Kb={skipAnimations:!1,useManualTiming:!1};function Qb(e){let t=new Set,n=new Set,s=!1,r=!1;const i=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(l){i.has(l)&&(c.schedule(l),e()),l(o)}const c={schedule:(l,u=!1,d=!1)=>{const p=d&&s?t:n;return u&&i.add(l),p.has(l)||p.add(l),l},cancel:l=>{n.delete(l),i.delete(l)},process:l=>{if(o=l,s){r=!0;return}s=!0,[t,n]=[n,t],t.forEach(a),t.clear(),s=!1,r&&(r=!1,c.process(l))}};return c}const Li=["read","resolveKeyframes","update","preRender","render","postRender"],Xb=40;function dp(e,t){let n=!1,s=!0;const r={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=Li.reduce((v,b)=>(v[b]=Qb(i),v),{}),{read:a,resolveKeyframes:c,update:l,preRender:u,render:d,postRender:f}=o,p=()=>{const v=performance.now();n=!1,r.delta=s?1e3/60:Math.max(Math.min(v-r.timestamp,Xb),1),r.timestamp=v,r.isProcessing=!0,a.process(r),c.process(r),l.process(r),u.process(r),d.process(r),f.process(r),r.isProcessing=!1,n&&t&&(s=!1,e(p))},m=()=>{n=!0,s=!0,r.isProcessing||e(p)};return{schedule:Li.reduce((v,b)=>{const w=o[b];return v[b]=(T,S=!1,E=!1)=>(n||m(),w.schedule(T,S,E)),v},{}),cancel:v=>{for(let b=0;bIu[e].some(n=>!!t[n])};function Yb(e){for(const t in e)Ks[t]={...Ks[t],...e[t]}}const Jb=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function no(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Jb.has(e)}let hp=e=>!no(e);function ew(e){e&&(hp=t=>t.startsWith("on")?!no(t):e(t))}try{ew(require("@emotion/is-prop-valid").default)}catch{}function tw(e,t,n){const s={};for(const r in e)r==="values"&&typeof e.values=="object"||(hp(r)||n===!0&&no(r)||!t&&!no(r)||e.draggable&&r.startsWith("onDrag"))&&(s[r]=e[r]);return s}function nw(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...s)=>e(...s);return new Proxy(n,{get:(s,r)=>r==="create"?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}const Mo=x.createContext({});function Lr(e){return typeof e=="string"||Array.isArray(e)}function Fo(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const nl=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],sl=["initial",...nl];function Lo(e){return Fo(e.animate)||sl.some(t=>Lr(e[t]))}function pp(e){return!!(Lo(e)||e.variants)}function sw(e,t){if(Lo(e)){const{initial:n,animate:s}=e;return{initial:n===!1||Lr(n)?n:void 0,animate:Lr(s)?s:void 0}}return e.inherit!==!1?t:{}}function rw(e){const{initial:t,animate:n}=sw(e,x.useContext(Mo));return x.useMemo(()=>({initial:t,animate:n}),[Vu(t),Vu(n)])}function Vu(e){return Array.isArray(e)?e.join(" "):e}const iw=Symbol.for("motionComponentSymbol");function Cs(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function ow(e,t,n){return x.useCallback(s=>{s&&e.onMount&&e.onMount(s),t&&(s?t.mount(s):t.unmount()),n&&(typeof n=="function"?n(s):Cs(n)&&(n.current=s))},[t])}const rl=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),aw="framerAppearId",mp="data-"+rl(aw),{schedule:il,cancel:Wk}=dp(queueMicrotask,!1),gp=x.createContext({});function cw(e,t,n,s,r){var i,o;const{visualElement:a}=x.useContext(Mo),c=x.useContext(fp),l=x.useContext(Do),u=x.useContext(el).reducedMotion,d=x.useRef(null);s=s||c.renderer,!d.current&&s&&(d.current=s(e,{visualState:t,parent:a,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u}));const f=d.current,p=x.useContext(gp);f&&!f.projection&&r&&(f.type==="html"||f.type==="svg")&&lw(d.current,n,r,p);const m=x.useRef(!1);x.useInsertionEffect(()=>{f&&m.current&&f.update(n,l)});const h=n[mp],g=x.useRef(!!h&&!(!((i=window.MotionHandoffIsComplete)===null||i===void 0)&&i.call(window,h))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,h)));return up(()=>{f&&(m.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),il.render(f.render),g.current&&f.animationState&&f.animationState.animateChanges())}),x.useEffect(()=>{f&&(!g.current&&f.animationState&&f.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var v;(v=window.MotionHandoffMarkAsComplete)===null||v===void 0||v.call(window,h)}),g.current=!1))}),f}function lw(e,t,n,s){const{layoutId:r,layout:i,drag:o,dragConstraints:a,layoutScroll:c,layoutRoot:l}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:yp(e.parent)),e.projection.setOptions({layoutId:r,layout:i,alwaysMeasureLayout:!!o||a&&Cs(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:s,layoutScroll:c,layoutRoot:l})}function yp(e){if(e)return e.options.allowProjection!==!1?e.projection:yp(e.parent)}function uw({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:s,Component:r}){var i,o;e&&Yb(e);function a(l,u){let d;const f={...x.useContext(el),...l,layoutId:dw(l)},{isStatic:p}=f,m=rw(l),h=s(l,p);if(!p&&tl){fw();const g=hw(f);d=g.MeasureLayout,m.visualElement=cw(r,h,f,t,g.ProjectionNode)}return y.jsxs(Mo.Provider,{value:m,children:[d&&m.visualElement?y.jsx(d,{visualElement:m.visualElement,...f}):null,n(r,l,ow(h,m.visualElement,u),h,p,m.visualElement)]})}a.displayName=`motion.${typeof r=="string"?r:`create(${(o=(i=r.displayName)!==null&&i!==void 0?i:r.name)!==null&&o!==void 0?o:""})`}`;const c=x.forwardRef(a);return c[iw]=r,c}function dw({layoutId:e}){const t=x.useContext(Yc).id;return t&&e!==void 0?t+"-"+e:e}function fw(e,t){x.useContext(fp).strict}function hw(e){const{drag:t,layout:n}=Ks;if(!t&&!n)return{};const s={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const pw=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ol(e){return typeof e!="string"||e.includes("-")?!1:!!(pw.indexOf(e)>-1||/[A-Z]/u.test(e))}function Bu(e){const t=[{},{}];return e==null||e.values.forEach((n,s)=>{t[0][s]=n.get(),t[1][s]=n.getVelocity()}),t}function al(e,t,n,s){if(typeof t=="function"){const[r,i]=Bu(s);t=t(n!==void 0?n:e.custom,r,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[r,i]=Bu(s);t=t(n!==void 0?n:e.custom,r,i)}return t}const Wa=e=>Array.isArray(e),mw=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),gw=e=>Wa(e)?e[e.length-1]||0:e,Ke=e=>!!(e&&e.getVelocity);function qi(e){const t=Ke(e)?e.get():e;return mw(t)?t.toValue():t}function yw({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},s,r,i){const o={latestValues:vw(s,r,i,e),renderState:t()};return n&&(o.onMount=a=>n({props:s,current:a,...o}),o.onUpdate=a=>n(a)),o}const vp=e=>(t,n)=>{const s=x.useContext(Mo),r=x.useContext(Do),i=()=>yw(e,t,s,r);return n?i():Jc(i)};function vw(e,t,n,s){const r={},i=s(e,{});for(const f in i)r[f]=qi(i[f]);let{initial:o,animate:a}=e;const c=Lo(e),l=pp(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let u=n?n.initial===!1:!1;u=u||o===!1;const d=u?a:o;if(d&&typeof d!="boolean"&&!Fo(d)){const f=Array.isArray(d)?d:[d];for(let p=0;pt=>typeof t=="string"&&t.startsWith(e),cl=xp("--"),xw=xp("var(--"),ll=e=>xw(e)?bw.test(e.split("/*")[0].trim()):!1,bw=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,bp=(e,t)=>t&&typeof e=="number"?t.transform(e):e,pn=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},Ir={...ar,transform:e=>pn(0,1,e)},Ii={...ar,default:1},pi=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),wn=pi("deg"),Xt=pi("%"),J=pi("px"),ww=pi("vh"),Sw=pi("vw"),Uu={...Xt,parse:e=>Xt.parse(e)/100,transform:e=>Xt.transform(e*100)},_w={borderWidth:J,borderTopWidth:J,borderRightWidth:J,borderBottomWidth:J,borderLeftWidth:J,borderRadius:J,radius:J,borderTopLeftRadius:J,borderTopRightRadius:J,borderBottomRightRadius:J,borderBottomLeftRadius:J,width:J,maxWidth:J,height:J,maxHeight:J,top:J,right:J,bottom:J,left:J,padding:J,paddingTop:J,paddingRight:J,paddingBottom:J,paddingLeft:J,margin:J,marginTop:J,marginRight:J,marginBottom:J,marginLeft:J,backgroundPositionX:J,backgroundPositionY:J},Tw={rotate:wn,rotateX:wn,rotateY:wn,rotateZ:wn,scale:Ii,scaleX:Ii,scaleY:Ii,scaleZ:Ii,skew:wn,skewX:wn,skewY:wn,distance:J,translateX:J,translateY:J,translateZ:J,x:J,y:J,z:J,perspective:J,transformPerspective:J,opacity:Ir,originX:Uu,originY:Uu,originZ:J},$u={...ar,transform:Math.round},ul={..._w,...Tw,zIndex:$u,size:J,fillOpacity:Ir,strokeOpacity:Ir,numOctaves:$u},Cw={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Aw=or.length;function Ew(e,t,n){let s="",r=!0;for(let i=0;i({style:{},transform:{},transformOrigin:{},vars:{}}),wp=()=>({...hl(),attrs:{}}),pl=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Sp(e,{style:t,vars:n},s,r){Object.assign(e.style,t,r&&r.getProjectionStyles(s));for(const i in n)e.style.setProperty(i,n[i])}const _p=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function Tp(e,t,n,s){Sp(e,t,void 0,s);for(const r in t.attrs)e.setAttribute(_p.has(r)?r:rl(r),t.attrs[r])}const Vr={};function Nw(e){for(const t in e)Vr[t]=e[t],cl(t)&&(Vr[t].isCSSVariable=!0)}function Cp(e,{layout:t,layoutId:n}){return xs.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Vr[e]||e==="opacity")}function ml(e,t,n){var s;const{style:r}=e,i={};for(const o in r)(Ke(r[o])||t.style&&Ke(t.style[o])||Cp(o,e)||((s=n==null?void 0:n.getValue(o))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(i[o]=r[o]);return i}function Ap(e,t,n){const s=ml(e,t,n);for(const r in e)if(Ke(e[r])||Ke(t[r])){const i=or.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;s[i]=e[r]}return s}function jw(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const Wu=["x","y","width","height","cx","cy","r"],Dw={useVisualState:vp({scrapeMotionValuesFromProps:Ap,createRenderState:wp,onUpdate:({props:e,prevProps:t,current:n,renderState:s,latestValues:r})=>{if(!n)return;let i=!!e.drag;if(!i){for(const a in r)if(xs.has(a)){i=!0;break}}if(!i)return;let o=!t;if(t)for(let a=0;a{jw(n,s),Ce.render(()=>{fl(s,r,pl(n.tagName),e.transformTemplate),Tp(n,s)})})}})},Mw={useVisualState:vp({scrapeMotionValuesFromProps:ml,createRenderState:hl})};function Ep(e,t,n){for(const s in t)!Ke(t[s])&&!Cp(s,n)&&(e[s]=t[s])}function Fw({transformTemplate:e},t){return x.useMemo(()=>{const n=hl();return dl(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Lw(e,t){const n=e.style||{},s={};return Ep(s,n,e),Object.assign(s,Fw(e,t)),s}function Iw(e,t){const n={},s=Lw(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=s,n}function Vw(e,t,n,s){const r=x.useMemo(()=>{const i=wp();return fl(i,t,pl(s),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};Ep(i,e.style,e),r.style={...i,...r.style}}return r}function Bw(e=!1){return(n,s,r,{latestValues:i},o)=>{const c=(ol(n)?Vw:Iw)(s,i,o,n),l=tw(s,typeof n=="string",e),u=n!==x.Fragment?{...l,...c,ref:r}:{},{children:d}=s,f=x.useMemo(()=>Ke(d)?d.get():d,[d]);return x.createElement(n,{...u,children:f})}}function Uw(e,t){return function(s,{forwardMotionProps:r}={forwardMotionProps:!1}){const o={...ol(s)?Dw:Mw,preloadedFeatures:e,useRender:Bw(r),createVisualElement:t,Component:s};return uw(o)}}function Pp(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let s=0;s(Zi===void 0&&Yt.set($e.isProcessing||Kb.useManualTiming?$e.timestamp:performance.now()),Zi),set:e=>{Zi=e,queueMicrotask($w)}};function yl(e,t){e.indexOf(t)===-1&&e.push(t)}function vl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class xl{constructor(){this.subscriptions=[]}add(t){return yl(this.subscriptions,t),()=>vl(this.subscriptions,t)}notify(t,n,s){const r=this.subscriptions.length;if(r)if(r===1)this.subscriptions[0](t,n,s);else for(let i=0;i!isNaN(parseFloat(e));class Ww{constructor(t,n={}){this.version="12.0.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,r=!0)=>{const i=Yt.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),r&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Yt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=zw(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new xl);const s=this.events[t].add(n);return t==="change"?()=>{s(),Ce.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-s}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Yt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Hu)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Hu);return kp(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Br(e,t){return new Ww(e,t)}function Hw(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Br(n))}function qw(e,t){const n=Io(e,t);let{transitionEnd:s={},transition:r={},...i}=n||{};i={...i,...s};for(const o in i){const a=gw(i[o]);Hw(e,o,a)}}function Zw(e){return!!(Ke(e)&&e.add)}function Ha(e,t){const n=e.getValue("willChange");if(Zw(n))return n.add(t)}function Op(e){return e.props[mp]}function bl(e){let t;return()=>(t===void 0&&(t=e()),t)}const Gw=bl(()=>window.ScrollTimeline!==void 0);class Kw{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let s=0;s{if(Gw()&&r.attachTimeline)return r.attachTimeline(t);if(typeof n=="function")return n(r)});return()=>{s.forEach((r,i)=>{r&&r(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;nn[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class Qw extends Kw{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}const fn=e=>e*1e3,hn=e=>e/1e3;function wl(e){return typeof e=="function"}function qu(e,t){e.timeline=t,e.onfinish=null}const Sl=e=>Array.isArray(e)&&typeof e[0]=="number",Xw={linearEasing:void 0};function Yw(e,t){const n=bl(e);return()=>{var s;return(s=Xw[t])!==null&&s!==void 0?s:n()}}const so=Yw(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Qs=(e,t,n)=>{const s=t-e;return s===0?1:(n-e)/s},Np=(e,t,n=10)=>{let s="";const r=Math.max(Math.round(t/n),2);for(let i=0;i`cubic-bezier(${e}, ${t}, ${n}, ${s})`,qa={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:_r([0,.65,.55,1]),circOut:_r([.55,0,1,.45]),backIn:_r([.31,.01,.66,-.59]),backOut:_r([.33,1.53,.69,.99])};function Dp(e,t){if(e)return typeof e=="function"&&so()?Np(e,t):Sl(e)?_r(e):Array.isArray(e)?e.map(n=>Dp(n,t)||qa.easeOut):qa[e]}const Mp=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Jw=1e-7,e0=12;function t0(e,t,n,s,r){let i,o,a=0;do o=t+(n-t)/2,i=Mp(o,s,r)-e,i>0?n=o:t=o;while(Math.abs(i)>Jw&&++at0(i,0,1,e,n);return i=>i===0||i===1?i:Mp(r(i),t,s)}const Fp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Lp=e=>t=>1-e(1-t),Ip=mi(.33,1.53,.69,.99),_l=Lp(Ip),Vp=Fp(_l),Bp=e=>(e*=2)<1?.5*_l(e):.5*(2-Math.pow(2,-10*(e-1))),Tl=e=>1-Math.sin(Math.acos(e)),Up=Lp(Tl),$p=Fp(Tl),zp=e=>/^0[^.\s]+$/u.test(e);function n0(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||zp(e):!0}const kr=e=>Math.round(e*1e5)/1e5,Cl=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function s0(e){return e==null}const r0=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Al=(e,t)=>n=>!!(typeof n=="string"&&r0.test(n)&&n.startsWith(e)||t&&!s0(n)&&Object.prototype.hasOwnProperty.call(n,t)),Wp=(e,t,n)=>s=>{if(typeof s!="string")return s;const[r,i,o,a]=s.match(Cl);return{[e]:parseFloat(r),[t]:parseFloat(i),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},i0=e=>pn(0,255,e),fa={...ar,transform:e=>Math.round(i0(e))},Kn={test:Al("rgb","red"),parse:Wp("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+fa.transform(e)+", "+fa.transform(t)+", "+fa.transform(n)+", "+kr(Ir.transform(s))+")"};function o0(e){let t="",n="",s="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),s=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),s=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,s+=s,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:r?parseInt(r,16)/255:1}}const Za={test:Al("#"),parse:o0,transform:Kn.transform},As={test:Al("hsl","hue"),parse:Wp("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+Xt.transform(kr(t))+", "+Xt.transform(kr(n))+", "+kr(Ir.transform(s))+")"},Ze={test:e=>Kn.test(e)||Za.test(e)||As.test(e),parse:e=>Kn.test(e)?Kn.parse(e):As.test(e)?As.parse(e):Za.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Kn.transform(e):As.transform(e)},a0=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function c0(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Cl))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(a0))===null||n===void 0?void 0:n.length)||0)>0}const Hp="number",qp="color",l0="var",u0="var(",Zu="${}",d0=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Ur(e){const t=e.toString(),n=[],s={color:[],number:[],var:[]},r=[];let i=0;const a=t.replace(d0,c=>(Ze.test(c)?(s.color.push(i),r.push(qp),n.push(Ze.parse(c))):c.startsWith(u0)?(s.var.push(i),r.push(l0),n.push(c)):(s.number.push(i),r.push(Hp),n.push(parseFloat(c))),++i,Zu)).split(Zu);return{values:n,split:a,indexes:s,types:r}}function Zp(e){return Ur(e).values}function Gp(e){const{split:t,types:n}=Ur(e),s=t.length;return r=>{let i="";for(let o=0;otypeof e=="number"?0:e;function h0(e){const t=Zp(e);return Gp(e)(t.map(f0))}const jn={test:c0,parse:Zp,createTransformer:Gp,getAnimatableNone:h0},p0=new Set(["brightness","contrast","saturate","opacity"]);function m0(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=n.match(Cl)||[];if(!s)return e;const r=n.replace(s,"");let i=p0.has(t)?1:0;return s!==n&&(i*=100),t+"("+i+r+")"}const g0=/\b([a-z-]*)\(.*?\)/gu,Ga={...jn,getAnimatableNone:e=>{const t=e.match(g0);return t?t.map(m0).join(" "):e}},y0={...ul,color:Ze,backgroundColor:Ze,outlineColor:Ze,fill:Ze,stroke:Ze,borderColor:Ze,borderTopColor:Ze,borderRightColor:Ze,borderBottomColor:Ze,borderLeftColor:Ze,filter:Ga,WebkitFilter:Ga},El=e=>y0[e];function Kp(e,t){let n=El(e);return n!==Ga&&(n=jn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const v0=new Set(["auto","none","0"]);function x0(e,t,n){let s=0,r;for(;se===ar||e===J,Ku=(e,t)=>parseFloat(e.split(", ")[t]),Qu=(e,t)=>(n,{transform:s})=>{if(s==="none"||!s)return 0;const r=s.match(/^matrix3d\((.+)\)$/u);if(r)return Ku(r[1],t);{const i=s.match(/^matrix\((.+)\)$/u);return i?Ku(i[1],e):0}},b0=new Set(["x","y","z"]),w0=or.filter(e=>!b0.has(e));function S0(e){const t=[];return w0.forEach(n=>{const s=e.getValue(n);s!==void 0&&(t.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),t}const Xs={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Qu(4,13),y:Qu(5,14)};Xs.translateX=Xs.x;Xs.translateY=Xs.y;const as=new Set;let Ka=!1,Qa=!1;function Qp(){if(Qa){const e=Array.from(as).filter(s=>s.needsMeasurement),t=new Set(e.map(s=>s.element)),n=new Map;t.forEach(s=>{const r=S0(s);r.length&&(n.set(s,r),s.render())}),e.forEach(s=>s.measureInitialState()),t.forEach(s=>{s.render();const r=n.get(s);r&&r.forEach(([i,o])=>{var a;(a=s.getValue(i))===null||a===void 0||a.set(o)})}),e.forEach(s=>s.measureEndState()),e.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}Qa=!1,Ka=!1,as.forEach(e=>e.complete()),as.clear()}function Xp(){as.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Qa=!0)})}function _0(){Xp(),Qp()}class Pl{constructor(t,n,s,r,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=s,this.motionValue=r,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(as.add(this),Ka||(Ka=!0,Ce.read(Xp),Ce.resolveKeyframes(Qp))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:s,motionValue:r}=this;for(let i=0;i/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),T0=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function C0(e){const t=T0.exec(e);if(!t)return[,];const[,n,s,r]=t;return[`--${n??s}`,r]}function Jp(e,t,n=1){const[s,r]=C0(e);if(!s)return;const i=window.getComputedStyle(t).getPropertyValue(s);if(i){const o=i.trim();return Yp(o)?parseFloat(o):o}return ll(r)?Jp(r,t,n+1):r}const em=e=>t=>t.test(e),A0={test:e=>e==="auto",parse:e=>e},tm=[ar,J,Xt,wn,Sw,ww,A0],Xu=e=>tm.find(em(e));class nm extends Pl{constructor(t,n,s,r,i){super(t,n,s,r,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:s}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c{n.getValue(c).set(l)}),this.resolveNoneKeyframes()}}const Yu=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(jn.test(e)||e==="0")&&!e.startsWith("url("));function E0(e){const t=e[0];if(e.length===1)return!0;for(let n=0;ne!==null;function Vo(e,{repeat:t,repeatType:n="loop"},s){const r=e.filter(R0),i=t&&n!=="loop"&&t%2===1?0:r.length-1;return!i||s===void 0?r[i]:s}const k0=40;class sm{constructor({autoplay:t=!0,delay:n=0,type:s="keyframes",repeat:r=0,repeatDelay:i=0,repeatType:o="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Yt.now(),this.options={autoplay:t,delay:n,type:s,repeat:r,repeatDelay:i,repeatType:o,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>k0?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&_0(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Yt.now(),this.hasAttemptedResolve=!0;const{name:s,type:r,velocity:i,delay:o,onComplete:a,onUpdate:c,isGenerator:l}=this.options;if(!l&&!P0(t,s,r,i))if(o)this.options.duration=0;else{c&&c(Vo(t,this.options,n)),a&&a(),this.resolveFinishedPromise();return}const u=this.initPlayback(t,n);u!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...u},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const Xa=2e4;function rm(e){let t=0;const n=50;let s=e.next(t);for(;!s.done&&t=Xa?1/0:t}const Ee=(e,t,n)=>e+(t-e)*n;function ha(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function O0({hue:e,saturation:t,lightness:n,alpha:s}){e/=360,t/=100,n/=100;let r=0,i=0,o=0;if(!t)r=i=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,c=2*n-a;r=ha(c,a,e+1/3),i=ha(c,a,e),o=ha(c,a,e-1/3)}return{red:Math.round(r*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:s}}function ro(e,t){return n=>n>0?t:e}const pa=(e,t,n)=>{const s=e*e,r=n*(t*t-s)+s;return r<0?0:Math.sqrt(r)},N0=[Za,Kn,As],j0=e=>N0.find(t=>t.test(e));function Ju(e){const t=j0(e);if(!t)return!1;let n=t.parse(e);return t===As&&(n=O0(n)),n}const ed=(e,t)=>{const n=Ju(e),s=Ju(t);if(!n||!s)return ro(e,t);const r={...n};return i=>(r.red=pa(n.red,s.red,i),r.green=pa(n.green,s.green,i),r.blue=pa(n.blue,s.blue,i),r.alpha=Ee(n.alpha,s.alpha,i),Kn.transform(r))},D0=(e,t)=>n=>t(e(n)),gi=(...e)=>e.reduce(D0),Ya=new Set(["none","hidden"]);function M0(e,t){return Ya.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function F0(e,t){return n=>Ee(e,t,n)}function Rl(e){return typeof e=="number"?F0:typeof e=="string"?ll(e)?ro:Ze.test(e)?ed:V0:Array.isArray(e)?im:typeof e=="object"?Ze.test(e)?ed:L0:ro}function im(e,t){const n=[...e],s=n.length,r=e.map((i,o)=>Rl(i)(i,t[o]));return i=>{for(let o=0;o{for(const i in s)n[i]=s[i](r);return n}}function I0(e,t){var n;const s=[],r={color:0,var:0,number:0};for(let i=0;i{const n=jn.createTransformer(t),s=Ur(e),r=Ur(t);return s.indexes.var.length===r.indexes.var.length&&s.indexes.color.length===r.indexes.color.length&&s.indexes.number.length>=r.indexes.number.length?Ya.has(e)&&!r.values.length||Ya.has(t)&&!s.values.length?M0(e,t):gi(im(I0(s,r),r.values),n):ro(e,t)};function om(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Ee(e,t,n):Rl(e)(e,t)}const B0=5;function am(e,t,n){const s=Math.max(t-B0,0);return kp(n-e(s),t-s)}const ke={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},td=.001;function U0({duration:e=ke.duration,bounce:t=ke.bounce,velocity:n=ke.velocity,mass:s=ke.mass}){let r,i,o=1-t;o=pn(ke.minDamping,ke.maxDamping,o),e=pn(ke.minDuration,ke.maxDuration,hn(e)),o<1?(r=l=>{const u=l*o,d=u*e,f=u-n,p=Ja(l,o),m=Math.exp(-d);return td-f/p*m},i=l=>{const d=l*o*e,f=d*n+n,p=Math.pow(o,2)*Math.pow(l,2)*e,m=Math.exp(-d),h=Ja(Math.pow(l,2),o);return(-r(l)+td>0?-1:1)*((f-p)*m)/h}):(r=l=>{const u=Math.exp(-l*e),d=(l-n)*e+1;return-.001+u*d},i=l=>{const u=Math.exp(-l*e),d=(n-l)*(e*e);return u*d});const a=5/e,c=z0(r,i,a);if(e=fn(e),isNaN(c))return{stiffness:ke.stiffness,damping:ke.damping,duration:e};{const l=Math.pow(c,2)*s;return{stiffness:l,damping:o*2*Math.sqrt(s*l),duration:e}}}const $0=12;function z0(e,t,n){let s=n;for(let r=1;r<$0;r++)s=s-e(s)/t(s);return s}function Ja(e,t){return e*Math.sqrt(1-t*t)}const W0=["duration","bounce"],H0=["stiffness","damping","mass"];function nd(e,t){return t.some(n=>e[n]!==void 0)}function q0(e){let t={velocity:ke.velocity,stiffness:ke.stiffness,damping:ke.damping,mass:ke.mass,isResolvedFromDuration:!1,...e};if(!nd(e,H0)&&nd(e,W0))if(e.visualDuration){const n=e.visualDuration,s=2*Math.PI/(n*1.2),r=s*s,i=2*pn(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:ke.mass,stiffness:r,damping:i}}else{const n=U0(e);t={...t,...n,mass:ke.mass},t.isResolvedFromDuration=!0}return t}function cm(e=ke.visualDuration,t=ke.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:s,restDelta:r}=n;const i=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=q0({...n,velocity:-hn(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-i,v=hn(Math.sqrt(c/u)),b=Math.abs(g)<5;s||(s=b?ke.restSpeed.granular:ke.restSpeed.default),r||(r=b?ke.restDelta.granular:ke.restDelta.default);let w;if(h<1){const S=Ja(v,h);w=E=>{const R=Math.exp(-h*v*E);return o-R*((m+h*v*g)/S*Math.sin(S*E)+g*Math.cos(S*E))}}else if(h===1)w=S=>o-Math.exp(-v*S)*(g+(m+v*g)*S);else{const S=v*Math.sqrt(h*h-1);w=E=>{const R=Math.exp(-h*v*E),A=Math.min(S*E,300);return o-R*((m+h*v*g)*Math.sinh(A)+S*g*Math.cosh(A))/S}}const T={calculatedDuration:p&&d||null,next:S=>{const E=w(S);if(p)a.done=S>=d;else{let R=0;h<1&&(R=S===0?fn(m):am(w,S,E));const A=Math.abs(R)<=s,N=Math.abs(o-E)<=r;a.done=A&&N}return a.value=a.done?o:E,a},toString:()=>{const S=Math.min(rm(T),Xa),E=Np(R=>T.next(S*R).value,S,30);return S+"ms "+E}};return T}function sd({keyframes:e,velocity:t=0,power:n=.8,timeConstant:s=325,bounceDamping:r=10,bounceStiffness:i=500,modifyTarget:o,min:a,max:c,restDelta:l=.5,restSpeed:u}){const d=e[0],f={done:!1,value:d},p=A=>a!==void 0&&Ac,m=A=>a===void 0?c:c===void 0||Math.abs(a-A)-h*Math.exp(-A/s),w=A=>v+b(A),T=A=>{const N=b(A),D=w(A);f.done=Math.abs(N)<=l,f.value=f.done?v:D};let S,E;const R=A=>{p(f.value)&&(S=A,E=cm({keyframes:[f.value,m(f.value)],velocity:am(w,A,f.value),damping:r,stiffness:i,restDelta:l,restSpeed:u}))};return R(0),{calculatedDuration:null,next:A=>{let N=!1;return!E&&S===void 0&&(N=!0,T(A),R(A)),S!==void 0&&A>=S?E.next(A-S):(!N&&T(A),f)}}}const Z0=mi(.42,0,1,1),G0=mi(0,0,.58,1),lm=mi(.42,0,.58,1),K0=e=>Array.isArray(e)&&typeof e[0]!="number",rd={linear:gt,easeIn:Z0,easeInOut:lm,easeOut:G0,circIn:Tl,circInOut:$p,circOut:Up,backIn:_l,backInOut:Vp,backOut:Ip,anticipate:Bp},id=e=>{if(Sl(e)){za(e.length===4);const[t,n,s,r]=e;return mi(t,n,s,r)}else if(typeof e=="string")return za(rd[e]!==void 0),rd[e];return e};function Q0(e,t,n){const s=[],r=n||om,i=e.length-1;for(let o=0;ot[0];if(i===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=Q0(t,s,r),c=a.length,l=u=>{if(o&&u1)for(;dl(pn(e[0],e[i-1],u)):l}function Y0(e,t){const n=e[e.length-1];for(let s=1;s<=t;s++){const r=Qs(0,t,s);e.push(Ee(n,1,r))}}function J0(e){const t=[0];return Y0(t,e.length-1),t}function eS(e,t){return e.map(n=>n*t)}function tS(e,t){return e.map(()=>t||lm).splice(0,e.length-1)}function io({duration:e=300,keyframes:t,times:n,ease:s="easeInOut"}){const r=K0(s)?s.map(id):id(s),i={done:!1,value:t[0]},o=eS(n&&n.length===t.length?n:J0(t),e),a=X0(o,t,{ease:Array.isArray(r)?r:tS(t,r)});return{calculatedDuration:e,next:c=>(i.value=a(c),i.done=c>=e,i)}}const nS=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Ce.update(t,!0),stop:()=>Nn(t),now:()=>$e.isProcessing?$e.timestamp:Yt.now()}},sS={decay:sd,inertia:sd,tween:io,keyframes:io,spring:cm},rS=e=>e/100;class kl extends sm{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:c}=this.options;c&&c()};const{name:n,motionValue:s,element:r,keyframes:i}=this.options,o=(r==null?void 0:r.KeyframeResolver)||Pl,a=(c,l)=>this.onKeyframesResolved(c,l);this.resolver=new o(i,a,n,s,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:s=0,repeatDelay:r=0,repeatType:i,velocity:o=0}=this.options,a=wl(n)?n:sS[n]||io;let c,l;a!==io&&typeof t[0]!="number"&&(c=gi(rS,om(t[0],t[1])),t=[0,100]);const u=a({...this.options,keyframes:t});i==="mirror"&&(l=a({...this.options,keyframes:[...t].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=rm(u));const{calculatedDuration:d}=u,f=d+r,p=f*(s+1)-r;return{generator:u,mirroredGenerator:l,mapPercentToKeyframes:c,calculatedDuration:d,resolvedDuration:f,totalDuration:p}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:s}=this;if(!s){const{keyframes:A}=this.options;return{done:!0,value:A[A.length-1]}}const{finalKeyframe:r,generator:i,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:c,calculatedDuration:l,totalDuration:u,resolvedDuration:d}=s;if(this.startTime===null)return i.next(0);const{delay:f,repeat:p,repeatType:m,repeatDelay:h,onUpdate:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const v=this.currentTime-f*(this.speed>=0?1:-1),b=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let w=this.currentTime,T=i;if(p){const A=Math.min(this.currentTime,u)/d;let N=Math.floor(A),D=A%1;!D&&A>=1&&(D=1),D===1&&N--,N=Math.min(N,p+1),!!(N%2)&&(m==="reverse"?(D=1-D,h&&(D-=h/d)):m==="mirror"&&(T=o)),w=pn(0,1,D)*d}const S=b?{done:!1,value:c[0]}:T.next(w);a&&(S.value=a(S.value));let{done:E}=S;!b&&l!==null&&(E=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const R=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return R&&r!==void 0&&(S.value=Vo(c,this.options,r)),g&&g(S.value),R&&this.finish(),S}get duration(){const{resolved:t}=this;return t?hn(t.calculatedDuration):0}get time(){return hn(this.currentTime)}set time(t){t=fn(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=hn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=nS,onPlay:n,startTime:s}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const r=this.driver.now();this.holdTime!==null?this.startTime=r-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=r):this.startTime=s??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const iS=new Set(["opacity","clipPath","filter","transform"]);function oS(e,t,n,{delay:s=0,duration:r=300,repeat:i=0,repeatType:o="loop",ease:a="easeInOut",times:c}={}){const l={[t]:n};c&&(l.offset=c);const u=Dp(a,r);return Array.isArray(u)&&(l.easing=u),e.animate(l,{delay:s,duration:r,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:o==="reverse"?"alternate":"normal"})}const aS=bl(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),oo=10,cS=2e4;function lS(e){return wl(e.type)||e.type==="spring"||!jp(e.ease)}function uS(e,t){const n=new kl({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:e[0]};const r=[];let i=0;for(;!s.done&&ithis.onKeyframesResolved(o,a),n,s,r),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:s=300,times:r,ease:i,type:o,motionValue:a,name:c,startTime:l}=this.options;if(!a.owner||!a.owner.current)return!1;if(typeof i=="string"&&so()&&dS(i)&&(i=um[i]),lS(this.options)){const{onComplete:d,onUpdate:f,motionValue:p,element:m,...h}=this.options,g=uS(t,h);t=g.keyframes,t.length===1&&(t[1]=t[0]),s=g.duration,r=g.times,i=g.ease,o="keyframes"}const u=oS(a.owner.current,c,t,{...this.options,duration:s,times:r,ease:i});return u.startTime=l??this.calcStartTime(),this.pendingTimeline?(qu(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{const{onComplete:d}=this.options;a.set(Vo(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:s,times:r,type:o,ease:i,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return hn(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return hn(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.currentTime=fn(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return gt;const{animation:s}=n;qu(s,t)}return gt}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:s,duration:r,type:i,ease:o,times:a}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:l,onUpdate:u,onComplete:d,element:f,...p}=this.options,m=new kl({...p,keyframes:s,duration:r,type:i,ease:o,times:a,isGenerator:!0}),h=fn(this.time);l.setWithVelocity(m.sample(h-oo).value,m.sample(h).value,oo)}const{onStop:c}=this.options;c&&c(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:s,repeatDelay:r,repeatType:i,damping:o,type:a}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:l}=n.owner.getProps();return aS()&&s&&iS.has(s)&&!c&&!l&&!r&&i!=="mirror"&&o!==0&&a!=="inertia"}}const fS={type:"spring",stiffness:500,damping:25,restSpeed:10},hS=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),pS={type:"keyframes",duration:.8},mS={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},gS=(e,{keyframes:t})=>t.length>2?pS:xs.has(e)?e.startsWith("scale")?hS(t[1]):fS:mS;function yS({when:e,delay:t,delayChildren:n,staggerChildren:s,staggerDirection:r,repeat:i,repeatType:o,repeatDelay:a,from:c,elapsed:l,...u}){return!!Object.keys(u).length}const Ol=(e,t,n,s={},r,i)=>o=>{const a=gl(s,e)||{},c=a.delay||s.delay||0;let{elapsed:l=0}=s;l=l-fn(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-l,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:r};yS(a)||(u={...u,...gS(e,u)}),u.duration&&(u.duration=fn(u.duration)),u.repeatDelay&&(u.repeatDelay=fn(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(d=!0)),d&&!i&&t.get()!==void 0){const f=Vo(u.keyframes,a);if(f!==void 0)return Ce.update(()=>{u.onUpdate(f),u.onComplete()}),new Qw([])}return!i&&od.supports(u)?new od(u):new kl(u)};function vS({protectedKeys:e,needsAnimating:t},n){const s=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,s}function dm(e,t,{delay:n=0,transitionOverride:s,type:r}={}){var i;let{transition:o=e.getDefaultTransition(),transitionEnd:a,...c}=t;s&&(o=s);const l=[],u=r&&e.animationState&&e.animationState.getState()[r];for(const d in c){const f=e.getValue(d,(i=e.latestValues[d])!==null&&i!==void 0?i:null),p=c[d];if(p===void 0||u&&vS(u,d))continue;const m={delay:n,...gl(o||{},d)};let h=!1;if(window.MotionHandoffAnimation){const v=Op(e);if(v){const b=window.MotionHandoffAnimation(v,d,Ce);b!==null&&(m.startTime=b,h=!0)}}Ha(e,d),f.start(Ol(d,f,p,e.shouldReduceMotion&&Rp.has(d)?{type:!1}:m,e,h));const g=f.animation;g&&l.push(g)}return a&&Promise.all(l).then(()=>{Ce.update(()=>{a&&qw(e,a)})}),l}function ec(e,t,n={}){var s;const r=Io(e,t,n.type==="exit"?(s=e.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);const o=r?()=>Promise.all(dm(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:f}=i;return xS(e,t,u+l,d,f,n)}:()=>Promise.resolve(),{when:c}=i;if(c){const[l,u]=c==="beforeChildren"?[o,a]:[a,o];return l().then(()=>u())}else return Promise.all([o(),a(n.delay)])}function xS(e,t,n=0,s=0,r=1,i){const o=[],a=(e.variantChildren.size-1)*s,c=r===1?(l=0)=>l*s:(l=0)=>a-l*s;return Array.from(e.variantChildren).sort(bS).forEach((l,u)=>{l.notify("AnimationStart",t),o.push(ec(l,t,{...i,delay:n+c(u)}).then(()=>l.notify("AnimationComplete",t)))}),Promise.all(o)}function bS(e,t){return e.sortNodePosition(t)}function wS(e,t,n={}){e.notify("AnimationStart",t);let s;if(Array.isArray(t)){const r=t.map(i=>ec(e,i,n));s=Promise.all(r)}else if(typeof t=="string")s=ec(e,t,n);else{const r=typeof t=="function"?Io(e,t,n.custom):t;s=Promise.all(dm(e,r,n))}return s.then(()=>{e.notify("AnimationComplete",t)})}const SS=sl.length;function fm(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?fm(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;nPromise.all(t.map(({animation:n,options:s})=>wS(e,n,s)))}function AS(e){let t=CS(e),n=ad(),s=!0;const r=c=>(l,u)=>{var d;const f=Io(e,u,c==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:p,transitionEnd:m,...h}=f;l={...l,...h,...m}}return l};function i(c){t=c(e)}function o(c){const{props:l}=e,u=fm(e.parent)||{},d=[],f=new Set;let p={},m=1/0;for(let g=0;gm&&T,N=!1;const D=Array.isArray(w)?w:[w];let L=D.reduce(r(v),{});S===!1&&(L={});const{prevResolvedValues:j={}}=b,$={...j,...L},W=Z=>{A=!0,f.has(Z)&&(N=!0,f.delete(Z)),b.needsAnimating[Z]=!0;const q=e.getValue(Z);q&&(q.liveStyle=!1)};for(const Z in $){const q=L[Z],re=j[Z];if(p.hasOwnProperty(Z))continue;let me=!1;Wa(q)&&Wa(re)?me=!Pp(q,re):me=q!==re,me?q!=null?W(Z):f.add(Z):q!==void 0&&f.has(Z)?W(Z):b.protectedKeys[Z]=!0}b.prevProp=w,b.prevResolvedValues=L,b.isActive&&(p={...p,...L}),s&&e.blockInitialAnimation&&(A=!1),A&&(!(E&&R)||N)&&d.push(...D.map(Z=>({animation:Z,options:{type:v}})))}if(f.size){const g={};f.forEach(v=>{const b=e.getBaseTarget(v),w=e.getValue(v);w&&(w.liveStyle=!0),g[v]=b??null}),d.push({animation:g})}let h=!!d.length;return s&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(h=!1),s=!1,h?t(d):Promise.resolve()}function a(c,l){var u;if(n[c].isActive===l)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(f=>{var p;return(p=f.animationState)===null||p===void 0?void 0:p.setActive(c,l)}),n[c].isActive=l;const d=o(c);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:a,setAnimateFunction:i,getState:()=>n,reset:()=>{n=ad(),s=!0}}}function ES(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Pp(t,e):!1}function qn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ad(){return{animate:qn(!0),whileInView:qn(),whileHover:qn(),whileTap:qn(),whileDrag:qn(),whileFocus:qn(),exit:qn()}}class $n{constructor(t){this.isMounted=!1,this.node=t}update(){}}class PS extends $n{constructor(t){super(t),t.animationState||(t.animationState=AS(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Fo(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let RS=0;class kS extends $n{constructor(){super(...arguments),this.id=RS++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===s)return;const r=this.node.animationState.setActive("exit",!t);n&&!t&&r.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const OS={animation:{Feature:PS},exit:{Feature:kS}},Et={x:!1,y:!1};function hm(){return Et.x||Et.y}function NS(e){return e==="x"||e==="y"?Et[e]?null:(Et[e]=!0,()=>{Et[e]=!1}):Et.x||Et.y?null:(Et.x=Et.y=!0,()=>{Et.x=Et.y=!1})}const Nl=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function $r(e,t,n,s={passive:!0}){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n)}function yi(e){return{point:{x:e.pageX,y:e.pageY}}}const jS=e=>t=>Nl(t)&&e(t,yi(t));function Or(e,t,n,s){return $r(e,t,jS(n),s)}const cd=(e,t)=>Math.abs(e-t);function DS(e,t){const n=cd(e.x,t.x),s=cd(e.y,t.y);return Math.sqrt(n**2+s**2)}class pm{constructor(t,n,{transformPagePoint:s,contextWindow:r,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=ga(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=DS(d.offset,{x:0,y:0})>=3;if(!f&&!p)return;const{point:m}=d,{timestamp:h}=$e;this.history.push({...m,timestamp:h});const{onStart:g,onMove:v}=this.handlers;f||(g&&g(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=ma(f,this.transformPagePoint),Ce.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:p,onSessionEnd:m,resumeAnimation:h}=this.handlers;if(this.dragSnapToOrigin&&h&&h(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=ga(d.type==="pointercancel"?this.lastMoveEventInfo:ma(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(d,g),m&&m(d,g)},!Nl(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=s,this.contextWindow=r||window;const o=yi(t),a=ma(o,this.transformPagePoint),{point:c}=a,{timestamp:l}=$e;this.history=[{...c,timestamp:l}];const{onSessionStart:u}=n;u&&u(t,ga(a,this.history)),this.removeListeners=gi(Or(this.contextWindow,"pointermove",this.handlePointerMove),Or(this.contextWindow,"pointerup",this.handlePointerUp),Or(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Nn(this.updatePoint)}}function ma(e,t){return t?{point:t(e.point)}:e}function ld(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ga({point:e},t){return{point:e,delta:ld(e,mm(t)),offset:ld(e,MS(t)),velocity:FS(t,.1)}}function MS(e){return e[0]}function mm(e){return e[e.length-1]}function FS(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,s=null;const r=mm(e);for(;n>=0&&(s=e[n],!(r.timestamp-s.timestamp>fn(t)));)n--;if(!s)return{x:0,y:0};const i=hn(r.timestamp-s.timestamp);if(i===0)return{x:0,y:0};const o={x:(r.x-s.x)/i,y:(r.y-s.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}const gm=1e-4,LS=1-gm,IS=1+gm,ym=.01,VS=0-ym,BS=0+ym;function tt(e){return e.max-e.min}function US(e,t,n){return Math.abs(e-t)<=n}function ud(e,t,n,s=.5){e.origin=s,e.originPoint=Ee(t.min,t.max,e.origin),e.scale=tt(n)/tt(t),e.translate=Ee(n.min,n.max,e.origin)-e.originPoint,(e.scale>=LS&&e.scale<=IS||isNaN(e.scale))&&(e.scale=1),(e.translate>=VS&&e.translate<=BS||isNaN(e.translate))&&(e.translate=0)}function Nr(e,t,n,s){ud(e.x,t.x,n.x,s?s.originX:void 0),ud(e.y,t.y,n.y,s?s.originY:void 0)}function dd(e,t,n){e.min=n.min+t.min,e.max=e.min+tt(t)}function $S(e,t,n){dd(e.x,t.x,n.x),dd(e.y,t.y,n.y)}function fd(e,t,n){e.min=t.min-n.min,e.max=e.min+tt(t)}function jr(e,t,n){fd(e.x,t.x,n.x),fd(e.y,t.y,n.y)}function zS(e,{min:t,max:n},s){return t!==void 0&&en&&(e=s?Ee(n,e,s.max):Math.min(e,n)),e}function hd(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function WS(e,{top:t,left:n,bottom:s,right:r}){return{x:hd(e.x,n,r),y:hd(e.y,t,s)}}function pd(e,t){let n=t.min-e.min,s=t.max-e.max;return t.max-t.mins?n=Qs(t.min,t.max-s,e.min):s>r&&(n=Qs(e.min,e.max-r,t.min)),pn(0,1,n)}function ZS(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const tc=.35;function GS(e=tc){return e===!1?e=0:e===!0&&(e=tc),{x:md(e,"left","right"),y:md(e,"top","bottom")}}function md(e,t,n){return{min:gd(e,t),max:gd(e,n)}}function gd(e,t){return typeof e=="number"?e:e[t]||0}const yd=()=>({translate:0,scale:1,origin:0,originPoint:0}),Es=()=>({x:yd(),y:yd()}),vd=()=>({min:0,max:0}),je=()=>({x:vd(),y:vd()});function St(e){return[e("x"),e("y")]}function vm({top:e,left:t,right:n,bottom:s}){return{x:{min:t,max:n},y:{min:e,max:s}}}function KS({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function QS(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),s=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function ya(e){return e===void 0||e===1}function nc({scale:e,scaleX:t,scaleY:n}){return!ya(e)||!ya(t)||!ya(n)}function Zn(e){return nc(e)||xm(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function xm(e){return xd(e.x)||xd(e.y)}function xd(e){return e&&e!=="0%"}function ao(e,t,n){const s=e-n,r=t*s;return n+r}function bd(e,t,n,s,r){return r!==void 0&&(e=ao(e,r,s)),ao(e,n,s)+t}function sc(e,t=0,n=1,s,r){e.min=bd(e.min,t,n,s,r),e.max=bd(e.max,t,n,s,r)}function bm(e,{x:t,y:n}){sc(e.x,t.translate,t.scale,t.originPoint),sc(e.y,n.translate,n.scale,n.originPoint)}const wd=.999999999999,Sd=1.0000000000001;function XS(e,t,n,s=!1){const r=n.length;if(!r)return;t.x=t.y=1;let i,o;for(let a=0;awd&&(t.x=1),t.ywd&&(t.y=1)}function Ps(e,t){e.min=e.min+t,e.max=e.max+t}function _d(e,t,n,s,r=.5){const i=Ee(e.min,e.max,r);sc(e,t,n,i,s)}function Rs(e,t){_d(e.x,t.x,t.scaleX,t.scale,t.originX),_d(e.y,t.y,t.scaleY,t.scale,t.originY)}function wm(e,t){return vm(QS(e.getBoundingClientRect(),t))}function YS(e,t,n){const s=wm(e,n),{scroll:r}=t;return r&&(Ps(s.x,r.offset.x),Ps(s.y,r.offset.y)),s}const Sm=({current:e})=>e?e.ownerDocument.defaultView:null,JS=new WeakMap;class e_{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=je(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const r=u=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(yi(u).point)},i=(u,d)=>{const{drag:f,dragPropagation:p,onDragStart:m}=this.getProps();if(f&&!p&&(this.openDragLock&&this.openDragLock(),this.openDragLock=NS(f),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),St(g=>{let v=this.getAxisMotionValue(g).get()||0;if(Xt.test(v)){const{projection:b}=this.visualElement;if(b&&b.layout){const w=b.layout.layoutBox[g];w&&(v=tt(w)*(parseFloat(v)/100))}}this.originPoint[g]=v}),m&&Ce.postRender(()=>m(u,d)),Ha(this.visualElement,"transform");const{animationState:h}=this.visualElement;h&&h.setActive("whileDrag",!0)},o=(u,d)=>{const{dragPropagation:f,dragDirectionLock:p,onDirectionLock:m,onDrag:h}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:g}=d;if(p&&this.currentDirection===null){this.currentDirection=t_(g),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",d.point,g),this.updateAxis("y",d.point,g),this.visualElement.render(),h&&h(u,d)},a=(u,d)=>this.stop(u,d),c=()=>St(u=>{var d;return this.getAnimationState(u)==="paused"&&((d=this.getAxisMotionValue(u).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new pm(t,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:a,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:Sm(this.visualElement)})}stop(t,n){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:r}=n;this.startAnimation(r);const{onDragEnd:i}=this.getProps();i&&Ce.postRender(()=>i(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,s){const{drag:r}=this.getProps();if(!s||!Vi(t,r,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(o=zS(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:s}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,i=this.constraints;n&&Cs(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=WS(r.layoutBox,n):this.constraints=!1,this.elastic=GS(s),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&St(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=ZS(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Cs(t))return!1;const s=t.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const i=YS(s,r.root,this.visualElement.getTransformPagePoint());let o=HS(r.layout.layoutBox,i);if(n){const a=n(KS(o));this.hasMutatedConstraints=!!a,a&&(o=vm(a))}return o}startAnimation(t){const{drag:n,dragMomentum:s,dragElastic:r,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),c=this.constraints||{},l=St(u=>{if(!Vi(u,n,this.currentDirection))return;let d=c[u]||{};o&&(d={min:0,max:0});const f=r?200:1e6,p=r?40:1e7,m={type:"inertia",velocity:s?t[u]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(u,m)});return Promise.all(l).then(a)}startAxisValueAnimation(t,n){const s=this.getAxisMotionValue(t);return Ha(this.visualElement,t),s.start(Ol(t,s,0,n,this.visualElement,!1))}stopAnimation(){St(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){St(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,s=this.visualElement.getProps(),r=s[n];return r||this.visualElement.getValue(t,(s.initial?s.initial[t]:void 0)||0)}snapToCursor(t){St(n=>{const{drag:s}=this.getProps();if(!Vi(n,s,this.currentDirection))return;const{projection:r}=this.visualElement,i=this.getAxisMotionValue(n);if(r&&r.layout){const{min:o,max:a}=r.layout.layoutBox[n];i.set(t[n]-Ee(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!Cs(n)||!s||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};St(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const c=a.get();r[o]=qS({min:c,max:c},this.constraints[o])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),St(o=>{if(!Vi(o,t,null))return;const a=this.getAxisMotionValue(o),{min:c,max:l}=this.constraints[o];a.set(Ee(c,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;JS.set(this.visualElement,this);const t=this.visualElement.current,n=Or(t,"pointerdown",c=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(c)}),s=()=>{const{dragConstraints:c}=this.getProps();Cs(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",s);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),Ce.read(s);const o=$r(window,"resize",()=>this.scalePositionWithinConstraints()),a=r.addEventListener("didUpdate",({delta:c,hasLayoutChanged:l})=>{this.isDragging&&l&&(St(u=>{const d=this.getAxisMotionValue(u);d&&(this.originPoint[u]+=c[u].translate,d.set(d.get()+c[u].translate))}),this.visualElement.render())});return()=>{o(),n(),i(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:o=tc,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:s,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function Vi(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function t_(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class n_ extends $n{constructor(t){super(t),this.removeGroupControls=gt,this.removeListeners=gt,this.controls=new e_(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||gt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Td=e=>(t,n)=>{e&&Ce.postRender(()=>e(t,n))};class s_ extends $n{constructor(){super(...arguments),this.removePointerDownListener=gt}onPointerDown(t){this.session=new pm(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Sm(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:s,onPanEnd:r}=this.node.getProps();return{onSessionStart:Td(t),onStart:Td(n),onMove:s,onEnd:(i,o)=>{delete this.session,r&&Ce.postRender(()=>r(i,o))}}}mount(){this.removePointerDownListener=Or(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Gi={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Cd(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const xr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(J.test(e))e=parseFloat(e);else return e;const n=Cd(e,t.target.x),s=Cd(e,t.target.y);return`${n}% ${s}%`}},r_={correct:(e,{treeScale:t,projectionDelta:n})=>{const s=e,r=jn.parse(e);if(r.length>5)return s;const i=jn.createTransformer(e),o=typeof r[0]!="number"?1:0,a=n.x.scale*t.x,c=n.y.scale*t.y;r[0+o]/=a,r[1+o]/=c;const l=Ee(a,c,.5);return typeof r[2+o]=="number"&&(r[2+o]/=l),typeof r[3+o]=="number"&&(r[3+o]/=l),i(r)}};class i_ extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:s,layoutId:r}=this.props,{projection:i}=t;Nw(o_),i&&(n.group&&n.group.add(i),s&&s.register&&r&&s.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Gi.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:s,drag:r,isPresent:i}=this.props,o=s.projection;return o&&(o.isPresent=i,r||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||Ce.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),il.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:r}=t;r&&(r.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(r),s&&s.deregister&&s.deregister(r))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function _m(e){const[t,n]=lp(),s=x.useContext(Yc);return y.jsx(i_,{...e,layoutGroup:s,switchLayoutGroup:x.useContext(gp),isPresent:t,safeToRemove:n})}const o_={borderRadius:{...xr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:xr,borderTopRightRadius:xr,borderBottomLeftRadius:xr,borderBottomRightRadius:xr,boxShadow:r_};function a_(e,t,n){const s=Ke(e)?e:Br(e);return s.start(Ol("",s,t,n)),s.animation}function c_(e){return e instanceof SVGElement&&e.tagName!=="svg"}const l_=(e,t)=>e.depth-t.depth;class u_{constructor(){this.children=[],this.isDirty=!1}add(t){yl(this.children,t),this.isDirty=!0}remove(t){vl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(l_),this.isDirty=!1,this.children.forEach(t)}}function d_(e,t){const n=Yt.now(),s=({timestamp:r})=>{const i=r-n;i>=t&&(Nn(s),e(i-t))};return Ce.read(s,!0),()=>Nn(s)}const Tm=["TopLeft","TopRight","BottomLeft","BottomRight"],f_=Tm.length,Ad=e=>typeof e=="string"?parseFloat(e):e,Ed=e=>typeof e=="number"||J.test(e);function h_(e,t,n,s,r,i){r?(e.opacity=Ee(0,n.opacity!==void 0?n.opacity:1,p_(s)),e.opacityExit=Ee(t.opacity!==void 0?t.opacity:1,0,m_(s))):i&&(e.opacity=Ee(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,s));for(let o=0;ost?1:n(Qs(e,t,s))}function Rd(e,t){e.min=t.min,e.max=t.max}function wt(e,t){Rd(e.x,t.x),Rd(e.y,t.y)}function kd(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Od(e,t,n,s,r){return e-=t,e=ao(e,1/n,s),r!==void 0&&(e=ao(e,1/r,s)),e}function g_(e,t=0,n=1,s=.5,r,i=e,o=e){if(Xt.test(t)&&(t=parseFloat(t),t=Ee(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=Ee(i.min,i.max,s);e===i&&(a-=t),e.min=Od(e.min,t,n,a,r),e.max=Od(e.max,t,n,a,r)}function Nd(e,t,[n,s,r],i,o){g_(e,t[n],t[s],t[r],t.scale,i,o)}const y_=["x","scaleX","originX"],v_=["y","scaleY","originY"];function jd(e,t,n,s){Nd(e.x,t,y_,n?n.x:void 0,s?s.x:void 0),Nd(e.y,t,v_,n?n.y:void 0,s?s.y:void 0)}function Dd(e){return e.translate===0&&e.scale===1}function Am(e){return Dd(e.x)&&Dd(e.y)}function Md(e,t){return e.min===t.min&&e.max===t.max}function x_(e,t){return Md(e.x,t.x)&&Md(e.y,t.y)}function Fd(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Em(e,t){return Fd(e.x,t.x)&&Fd(e.y,t.y)}function Ld(e){return tt(e.x)/tt(e.y)}function Id(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class b_{constructor(){this.members=[]}add(t){yl(this.members,t),t.scheduleRender()}remove(t){if(vl(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(r=>t===r);if(n===0)return!1;let s;for(let r=n;r>=0;r--){const i=this.members[r];if(i.isPresent!==!1){s=i;break}}return s?(this.promote(s),!0):!1}promote(t,n){const s=this.lead;if(t!==s&&(this.prevLead=s,this.lead=t,t.show(),s)){s.instance&&s.scheduleRender(),t.scheduleRender(),t.resumeFrom=s,n&&(t.resumeFrom.preserveOpacity=!0),s.snapshot&&(t.snapshot=s.snapshot,t.snapshot.latestValues=s.animationValues||s.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:r}=t.options;r===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:s}=t;n.onExitComplete&&n.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function w_(e,t,n){let s="";const r=e.x.translate/t.x,i=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((r||i||o)&&(s=`translate3d(${r}px, ${i}px, ${o}px) `),(t.x!==1||t.y!==1)&&(s+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:l,rotate:u,rotateX:d,rotateY:f,skewX:p,skewY:m}=n;l&&(s=`perspective(${l}px) ${s}`),u&&(s+=`rotate(${u}deg) `),d&&(s+=`rotateX(${d}deg) `),f&&(s+=`rotateY(${f}deg) `),p&&(s+=`skewX(${p}deg) `),m&&(s+=`skewY(${m}deg) `)}const a=e.x.scale*t.x,c=e.y.scale*t.y;return(a!==1||c!==1)&&(s+=`scale(${a}, ${c})`),s||"none"}const Gn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Tr=typeof window<"u"&&window.MotionDebug!==void 0,va=["","X","Y","Z"],S_={visibility:"hidden"},Vd=1e3;let __=0;function xa(e,t,n,s){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),s&&(s[e]=0))}function Pm(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Op(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:r,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Ce,!(r||i))}const{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&Pm(s)}function Rm({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:s,resetTransform:r}){return class{constructor(o={},a=t==null?void 0:t()){this.id=__++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Tr&&(Gn.totalNodes=Gn.resolvedTargetDeltas=Gn.recalculatedProjection=0),this.nodes.forEach(A_),this.nodes.forEach(O_),this.nodes.forEach(N_),this.nodes.forEach(E_),Tr&&window.MotionDebug.record(Gn)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let c=0;cthis.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=d_(f,250),Gi.hasAnimatedSinceResize&&(Gi.hasAnimatedSinceResize=!1,this.nodes.forEach(Ud))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&u&&(c||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:p,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const h=this.options.transition||u.getDefaultTransition()||L_,{onLayoutAnimationStart:g,onLayoutAnimationComplete:v}=u.getProps(),b=!this.targetLayout||!Em(this.targetLayout,m),w=!f&&p;if(this.options.layoutRoot||this.resumeFrom||w||f&&(b||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,w);const T={...gl(h,"layout"),onPlay:g,onComplete:v};(u.shouldReduceMotion||this.options.layoutRoot)&&(T.delay=0,T.type=!1),this.startAnimation(T)}else f||Ud(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Nn(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(j_),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Pm(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!tt(this.snapshot.measuredBox.x)&&!tt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c{const S=T/1e3;$d(d.x,o.x,S),$d(d.y,o.y,S),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(jr(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),M_(this.relativeTarget,this.relativeTargetOrigin,f,S),w&&x_(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=je()),wt(w,this.relativeTarget)),h&&(this.animationValues=u,h_(u,l,this.latestValues,S,b,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Nn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ce.update(()=>{Gi.hasAnimatedSinceResize=!0,this.currentAnimation=a_(0,Vd,{...o,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Vd),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:c,layout:l,latestValues:u}=o;if(!(!a||!c||!l)){if(this!==o&&this.layout&&l&&km(this.options.animationType,this.layout.layoutBox,l.layoutBox)){c=this.target||je();const d=tt(this.layout.layoutBox.x);c.x.min=o.target.x.min,c.x.max=c.x.min+d;const f=tt(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+f}wt(a,c),Rs(a,u),Nr(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new b_),this.sharedNodes.get(o).add(a);const l=a.options.initialPromotionConfig;a.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:c}={}){const l=this.getStack();l&&l.promote(this,c),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:c}=o;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(a=!0),!a)return;const l={};c.z&&xa("z",o,l,this.animationValues);for(let u=0;u{var a;return(a=o.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Bd),this.root.sharedNodes.clear()}}}function T_(e){e.updateLayout()}function C_(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:r}=e.layout,{animationType:i}=e.options,o=n.source!==e.layout.source;i==="size"?St(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],p=tt(f);f.min=s[d].min,f.max=f.min+p}):km(i,n.layoutBox,s)&&St(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],p=tt(s[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const a=Es();Nr(a,s,n.layoutBox);const c=Es();o?Nr(c,e.applyTransform(r,!0),n.measuredBox):Nr(c,s,n.layoutBox);const l=!Am(a);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const m=je();jr(m,n.layoutBox,f.layoutBox);const h=je();jr(h,s,p.layoutBox),Em(m,h)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=h,e.relativeTargetOrigin=m,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:c,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:s}=e.options;s&&s()}e.options.transition=void 0}function A_(e){Tr&&Gn.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function E_(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function P_(e){e.clearSnapshot()}function Bd(e){e.clearMeasurements()}function R_(e){e.isLayoutDirty=!1}function k_(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Ud(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function O_(e){e.resolveTargetDelta()}function N_(e){e.calcProjection()}function j_(e){e.resetSkewAndRotation()}function D_(e){e.removeLeadSnapshot()}function $d(e,t,n){e.translate=Ee(t.translate,0,n),e.scale=Ee(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function zd(e,t,n,s){e.min=Ee(t.min,n.min,s),e.max=Ee(t.max,n.max,s)}function M_(e,t,n,s){zd(e.x,t.x,n.x,s),zd(e.y,t.y,n.y,s)}function F_(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const L_={duration:.45,ease:[.4,0,.1,1]},Wd=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Hd=Wd("applewebkit/")&&!Wd("chrome/")?Math.round:gt;function qd(e){e.min=Hd(e.min),e.max=Hd(e.max)}function I_(e){qd(e.x),qd(e.y)}function km(e,t,n){return e==="position"||e==="preserve-aspect"&&!US(Ld(t),Ld(n),.2)}function V_(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const B_=Rm({attachResizeListener:(e,t)=>$r(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),ba={current:void 0},Om=Rm({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!ba.current){const e=new B_({});e.mount(window),e.setOptions({layoutScroll:!0}),ba.current=e}return ba.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),U_={pan:{Feature:s_},drag:{Feature:n_,ProjectionNode:Om,MeasureLayout:_m}};function $_(e,t,n){var s;if(e instanceof Element)return[e];if(typeof e=="string"){let r=document;const i=(s=void 0)!==null&&s!==void 0?s:r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function Nm(e,t){const n=$_(e),s=new AbortController,r={passive:!0,...t,signal:s.signal};return[n,r,()=>s.abort()]}function Zd(e){return!(e.pointerType==="touch"||hm())}function z_(e,t,n={}){const[s,r,i]=Nm(e,n),o=a=>{if(!Zd(a))return;const{target:c}=a,l=t(c,a);if(typeof l!="function"||!c)return;const u=d=>{Zd(d)&&(l(d),c.removeEventListener("pointerleave",u))};c.addEventListener("pointerleave",u,r)};return s.forEach(a=>{a.addEventListener("pointerenter",o,r)}),i}function Gd(e,t,n){const{props:s}=e;e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",n==="Start");const r="onHover"+n,i=s[r];i&&Ce.postRender(()=>i(t,yi(t)))}class W_ extends $n{mount(){const{current:t}=this.node;t&&(this.unmount=z_(t,(n,s)=>(Gd(this.node,s,"Start"),r=>Gd(this.node,r,"End"))))}unmount(){}}class H_ extends $n{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=gi($r(this.node.current,"focus",()=>this.onFocus()),$r(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const jm=(e,t)=>t?e===t?!0:jm(e,t.parentElement):!1,q_=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function Z_(e){return q_.has(e.tagName)||e.tabIndex!==-1}const Cr=new WeakSet;function Kd(e){return t=>{t.key==="Enter"&&e(t)}}function wa(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const G_=(e,t)=>{const n=e.currentTarget;if(!n)return;const s=Kd(()=>{if(Cr.has(n))return;wa(n,"down");const r=Kd(()=>{wa(n,"up")}),i=()=>wa(n,"cancel");n.addEventListener("keyup",r,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",s,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),t)};function Qd(e){return Nl(e)&&!hm()}function K_(e,t,n={}){const[s,r,i]=Nm(e,n),o=a=>{const c=a.currentTarget;if(!Qd(a)||Cr.has(c))return;Cr.add(c);const l=t(c,a),u=(p,m)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),!(!Qd(p)||!Cr.has(c))&&(Cr.delete(c),typeof l=="function"&&l(p,{success:m}))},d=p=>{u(p,n.useGlobalTarget||jm(c,p.target))},f=p=>{u(p,!1)};window.addEventListener("pointerup",d,r),window.addEventListener("pointercancel",f,r)};return s.forEach(a=>{!Z_(a)&&a.getAttribute("tabindex")===null&&(a.tabIndex=0),(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,r),a.addEventListener("focus",l=>G_(l,r),r)}),i}function Xd(e,t,n){const{props:s}=e;e.animationState&&s.whileTap&&e.animationState.setActive("whileTap",n==="Start");const r="onTap"+(n==="End"?"":n),i=s[r];i&&Ce.postRender(()=>i(t,yi(t)))}class Q_ extends $n{mount(){const{current:t}=this.node;t&&(this.unmount=K_(t,(n,s)=>(Xd(this.node,s,"Start"),(r,{success:i})=>Xd(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const rc=new WeakMap,Sa=new WeakMap,X_=e=>{const t=rc.get(e.target);t&&t(e)},Y_=e=>{e.forEach(X_)};function J_({root:e,...t}){const n=e||document;Sa.has(n)||Sa.set(n,{});const s=Sa.get(n),r=JSON.stringify(t);return s[r]||(s[r]=new IntersectionObserver(Y_,{root:e,...t})),s[r]}function eT(e,t,n){const s=J_(t);return rc.set(e,n),s.observe(e),()=>{rc.delete(e),s.unobserve(e)}}const tT={some:0,all:1};class nT extends $n{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:s,amount:r="some",once:i}=t,o={root:n?n.current:void 0,rootMargin:s,threshold:typeof r=="number"?r:tT[r]},a=c=>{const{isIntersecting:l}=c;if(this.isInView===l||(this.isInView=l,i&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:u,onViewportLeave:d}=this.node.getProps(),f=l?u:d;f&&f(c)};return eT(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(sT(t,n))&&this.startObserver()}unmount(){}}function sT({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const rT={inView:{Feature:nT},tap:{Feature:Q_},focus:{Feature:H_},hover:{Feature:W_}},iT={layout:{ProjectionNode:Om,MeasureLayout:_m}},ic={current:null},Dm={current:!1};function oT(){if(Dm.current=!0,!!tl)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ic.current=e.matches;e.addListener(t),t()}else ic.current=!1}const aT=[...tm,Ze,jn],cT=e=>aT.find(em(e)),Yd=new WeakMap;function lT(e,t,n){for(const s in t){const r=t[s],i=n[s];if(Ke(r))e.addValue(s,r);else if(Ke(i))e.addValue(s,Br(r,{owner:e}));else if(i!==r)if(e.hasValue(s)){const o=e.getValue(s);o.liveStyle===!0?o.jump(r):o.hasAnimated||o.set(r)}else{const o=e.getStaticValue(s);e.addValue(s,Br(o!==void 0?o:r,{owner:e}))}}for(const s in n)t[s]===void 0&&e.removeValue(s);return t}const Jd=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class uT{scrapeMotionValuesFromProps(t,n,s){return{}}constructor({parent:t,props:n,presenceContext:s,reducedMotionConfig:r,blockInitialAnimation:i,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Pl,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=Yt.now();this.renderScheduledAtthis.bindToMotionValue(s,n)),Dm.current||oT(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:ic.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Yd.delete(this.current),this.projection&&this.projection.unmount(),Nn(this.notifyUpdate),Nn(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const s=xs.has(t),r=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&Ce.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{r(),i(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Ks){const n=Ks[t];if(!n)continue;const{isEnabled:s,Feature:r}=n;if(!this.features[t]&&r&&s(this.props)&&(this.features[t]=new r(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):je()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;sn.variantChildren.delete(t)}addValue(t,n){const s=this.values.get(t);n!==s&&(s&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let s=this.values.get(t);return s===void 0&&n!==void 0&&(s=Br(n===null?void 0:n,{owner:this}),this.addValue(t,s)),s}readValue(t,n){var s;let r=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(s=this.getBaseTargetFromProps(this.props,t))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,t,this.options);return r!=null&&(typeof r=="string"&&(Yp(r)||zp(r))?r=parseFloat(r):!cT(r)&&jn.test(n)&&(r=Kp(t,n)),this.setBaseTarget(t,Ke(r)?r.get():r)),Ke(r)?r.get():r}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:s}=this.props;let r;if(typeof s=="string"||typeof s=="object"){const o=al(this.props,s,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(r=o[t])}if(s&&r!==void 0)return r;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Ke(i)?i:this.initialValues[t]!==void 0&&r===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new xl),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Mm extends uT{constructor(){super(...arguments),this.KeyframeResolver=nm}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:s}){delete n[t],delete s[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Ke(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function dT(e){return window.getComputedStyle(e)}class fT extends Mm{constructor(){super(...arguments),this.type="html",this.renderInstance=Sp}readValueFromInstance(t,n){if(xs.has(n)){const s=El(n);return s&&s.default||0}else{const s=dT(t),r=(cl(n)?s.getPropertyValue(n):s[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:n}){return wm(t,n)}build(t,n,s){dl(t,n,s.transformTemplate)}scrapeMotionValuesFromProps(t,n,s){return ml(t,n,s)}}class hT extends Mm{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=je}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(xs.has(n)){const s=El(n);return s&&s.default||0}return n=_p.has(n)?n:rl(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,s){return Ap(t,n,s)}build(t,n,s){fl(t,n,this.isSVGTag,s.transformTemplate)}renderInstance(t,n,s,r){Tp(t,n,s,r)}mount(t){this.isSVGTag=pl(t.tagName),super.mount(t)}}const pT=(e,t)=>ol(e)?new hT(t):new fT(t,{allowProjection:e!==x.Fragment}),mT=Uw({...OS,...rT,...U_,...iT},pT),Ki=nw(mT);var _a,ef;function gT(){if(ef)return _a;ef=1;var e="Expected a function",t=NaN,n="[object Symbol]",s=/^\s+|\s+$/g,r=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt,c=typeof ki=="object"&&ki&&ki.Object===Object&&ki,l=typeof self=="object"&&self&&self.Object===Object&&self,u=c||l||Function("return this")(),d=Object.prototype,f=d.toString,p=Math.max,m=Math.min,h=function(){return u.Date.now()};function g(S,E,R){var A,N,D,L,j,$,W=0,se=!1,Y=!1,Z=!0;if(typeof S!="function")throw new TypeError(e);E=T(E)||0,v(R)&&(se=!!R.leading,Y="maxWait"in R,D=Y?p(T(R.maxWait)||0,E):D,Z="trailing"in R?!!R.trailing:Z);function q(ue){var ye=A,Oe=N;return A=N=void 0,W=ue,L=S.apply(Oe,ye),L}function re(ue){return W=ue,j=setTimeout(We,E),se?q(ue):L}function me(ue){var ye=ue-$,Oe=ue-W,Le=E-ye;return Y?m(Le,D-Oe):Le}function ge(ue){var ye=ue-$,Oe=ue-W;return $===void 0||ye>=E||ye<0||Y&&Oe>=D}function We(){var ue=h();if(ge(ue))return dt(ue);j=setTimeout(We,me(ue))}function dt(ue){return j=void 0,Z&&A?q(ue):(A=N=void 0,L)}function He(){j!==void 0&&clearTimeout(j),W=0,A=$=N=j=void 0}function At(){return j===void 0?L:dt(h())}function Xe(){var ue=h(),ye=ge(ue);if(A=arguments,N=this,$=ue,ye){if(j===void 0)return re($);if(Y)return j=setTimeout(We,E),q($)}return j===void 0&&(j=setTimeout(We,E)),L}return Xe.cancel=He,Xe.flush=At,Xe}function v(S){var E=typeof S;return!!S&&(E=="object"||E=="function")}function b(S){return!!S&&typeof S=="object"}function w(S){return typeof S=="symbol"||b(S)&&f.call(S)==n}function T(S){if(typeof S=="number")return S;if(w(S))return t;if(v(S)){var E=typeof S.valueOf=="function"?S.valueOf():S;S=v(E)?E+"":E}if(typeof S!="string")return S===0?S:+S;S=S.replace(s,"");var R=i.test(S);return R||o.test(S)?a(S.slice(2),R?2:8):r.test(S)?t:+S}return _a=g,_a}gT();var yT=typeof window<"u"?x.useLayoutEffect:x.useEffect,vT=typeof window>"u";function oc(e,{defaultValue:t=!1,initializeWithValue:n=!0}={}){const s=a=>vT?t:window.matchMedia(a).matches,[r,i]=x.useState(()=>n?s(e):t);function o(){i(s(e))}return yT(()=>{const a=window.matchMedia(e);return o(),a.addListener?a.addListener(o):a.addEventListener("change",o),()=>{a.removeListener?a.removeListener(o):a.removeEventListener("change",o)}},[e]),r}const qk=({className:e,stage:t})=>{const n=oc("(min-width: 768px");return y.jsx("div",{className:e,children:y.jsx("div",{className:"max-w-[808px] md:mx-auto my-20 mx-5",children:y.jsxs("div",{className:"relative h-14 w-full",children:[y.jsx("div",{className:Q("h-2 absolute bg-[#D0D3D8] rounded-[2px] w-full top-0 left-0")}),y.jsx(Ki.div,{initial:{width:0},animate:t===2?{width:"20%"}:t===3&&{width:"75%"},transition:{delay:.5,duration:.5},className:Q("h-2 absolute bg-primary rounded-[2px] top-0 left-0 z-[5]",{"w-0 bg-opacity-0":t===1,"w-[20%]":t===2,"w-[75%]":t===3})}),y.jsx(Ki.div,{initial:{width:n?"50%":"35%"},animate:t===2?{width:"75%"}:t===3&&{width:"100%"},className:Q("bg-reverse_primary w-1/2 absolute top-0 left-0 rounded-[2px] z-[3] h-2")}),y.jsx(Ki.div,{className:Q("progress-circle absolute transition-all duration-500 -top-6 flex items-center justify-center",{"bg-reverse_primary md:left-1/2 left-1/3":t===1,"bg-primary left-[20%] !text-on_primary":t===2||t===3}),children:"1"}),y.jsx("div",{className:Q("progress-circle absolute -top-6 right-[17%] transition-all -translate-x-1/2 flex items-center justify-center",{"bg-[#D0D3D8]":t===1,"bg-reverse_primary":t===2,"bg-primary !text-on_primary":t===3}),children:"2"}),y.jsx("div",{className:Q("progress-circle absolute -top-6 right-0 transition-all duration-500 flex items-center justify-center",{"bg-[#D0D3D8]":t===1||t===2,"bg-reverse_primary":t===3}),children:"3"})]})})})};var vi=e=>e.type==="checkbox",Qn=e=>e instanceof Date,et=e=>e==null;const Fm=e=>typeof e=="object";var Fe=e=>!et(e)&&!Array.isArray(e)&&Fm(e)&&!Qn(e),Lm=e=>Fe(e)&&e.target?vi(e.target)?e.target.checked:e.target.value:e,xT=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Im=(e,t)=>e.has(xT(t)),bT=e=>{const t=e.constructor&&e.constructor.prototype;return Fe(t)&&t.hasOwnProperty("isPrototypeOf")},jl=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function it(e){let t;const n=Array.isArray(e),s=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(jl&&(e instanceof Blob||s))&&(n||Fe(e)))if(t=n?[]:{},!n&&!bT(e))t=e;else for(const r in e)e.hasOwnProperty(r)&&(t[r]=it(e[r]));else return e;return t}var Bo=e=>Array.isArray(e)?e.filter(Boolean):[],De=e=>e===void 0,V=(e,t,n)=>{if(!t||!Fe(e))return n;const s=Bo(t.split(/[,[\].]+?/)).reduce((r,i)=>et(r)?r:r[i],e);return De(s)||s===e?De(e[t])?n:e[t]:s},Ct=e=>typeof e=="boolean",Dl=e=>/^\w*$/.test(e),Vm=e=>Bo(e.replace(/["|']|\]/g,"").split(/\.|\[/)),xe=(e,t,n)=>{let s=-1;const r=Dl(t)?[t]:Vm(t),i=r.length,o=i-1;for(;++sve.useContext(Bm),wT=e=>{const{children:t,...n}=e;return ve.createElement(Bm.Provider,{value:n},t)};var Um=(e,t,n,s=!0)=>{const r={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(r,i,{get:()=>{const o=i;return t._proxyFormState[o]!==Ot.all&&(t._proxyFormState[o]=!s||Ot.all),n&&(n[o]=!0),e[o]}});return r},at=e=>Fe(e)&&!Object.keys(e).length,$m=(e,t,n,s)=>{n(e);const{name:r,...i}=e;return at(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(o=>t[o]===(!s||Ot.all))},Dr=e=>Array.isArray(e)?e:[e],zm=(e,t,n)=>!e||!t||e===t||Dr(e).some(s=>s&&(n?s===t:s.startsWith(t)||t.startsWith(s)));function Ml(e){const t=ve.useRef(e);t.current=e,ve.useEffect(()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}function ST(e){const t=Uo(),{control:n=t.control,disabled:s,name:r,exact:i}=e,[o,a]=ve.useState(n._formState),c=ve.useRef(!0),l=ve.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),u=ve.useRef(r);return u.current=r,Ml({disabled:s,next:d=>c.current&&zm(u.current,d.name,i)&&$m(d,l.current,n._updateFormState)&&a({...n._formState,...d}),subject:n._subjects.state}),ve.useEffect(()=>(c.current=!0,l.current.isValid&&n._updateValid(!0),()=>{c.current=!1}),[n]),ve.useMemo(()=>Um(o,n,l.current,!1),[o,n])}var Qt=e=>typeof e=="string",Wm=(e,t,n,s,r)=>Qt(e)?(s&&t.watch.add(e),V(n,e,r)):Array.isArray(e)?e.map(i=>(s&&t.watch.add(i),V(n,i))):(s&&(t.watchAll=!0),n);function _T(e){const t=Uo(),{control:n=t.control,name:s,defaultValue:r,disabled:i,exact:o}=e,a=ve.useRef(s);a.current=s,Ml({disabled:i,subject:n._subjects.values,next:u=>{zm(a.current,u.name,o)&&l(it(Wm(a.current,n._names,u.values||n._formValues,!1,r)))}});const[c,l]=ve.useState(n._getWatch(s,r));return ve.useEffect(()=>n._removeUnmounted()),c}function TT(e){const t=Uo(),{name:n,disabled:s,control:r=t.control,shouldUnregister:i}=e,o=Im(r._names.array,n),a=_T({control:r,name:n,defaultValue:V(r._formValues,n,V(r._defaultValues,n,e.defaultValue)),exact:!0}),c=ST({control:r,name:n,exact:!0}),l=ve.useRef(r.register(n,{...e.rules,value:a,...Ct(e.disabled)?{disabled:e.disabled}:{}})),u=ve.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!V(c.errors,n)},isDirty:{enumerable:!0,get:()=>!!V(c.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!V(c.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!V(c.validatingFields,n)},error:{enumerable:!0,get:()=>V(c.errors,n)}}),[c,n]),d=ve.useMemo(()=>({name:n,value:a,...Ct(s)||c.disabled?{disabled:c.disabled||s}:{},onChange:f=>l.current.onChange({target:{value:Lm(f),name:n},type:co.CHANGE}),onBlur:()=>l.current.onBlur({target:{value:V(r._formValues,n),name:n},type:co.BLUR}),ref:f=>{const p=V(r._fields,n);p&&f&&(p._f.ref={focus:()=>f.focus(),select:()=>f.select(),setCustomValidity:m=>f.setCustomValidity(m),reportValidity:()=>f.reportValidity()})}}),[n,r._formValues,s,c.disabled,a,r._fields]);return ve.useEffect(()=>{const f=r._options.shouldUnregister||i,p=(m,h)=>{const g=V(r._fields,m);g&&g._f&&(g._f.mount=h)};if(p(n,!0),f){const m=it(V(r._options.defaultValues,n));xe(r._defaultValues,n,m),De(V(r._formValues,n))&&xe(r._formValues,n,m)}return!o&&r.register(n),()=>{(o?f&&!r._state.action:f)?r.unregister(n):p(n,!1)}},[n,r,o,i]),ve.useEffect(()=>{r._updateDisabledField({disabled:s,fields:r._fields,name:n})},[s,n,r]),ve.useMemo(()=>({field:d,formState:c,fieldState:u}),[d,c,u])}const CT=e=>e.render(TT(e));var Hm=(e,t,n,s,r)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[s]:r||!0}}:{},tf=e=>({isOnSubmit:!e||e===Ot.onSubmit,isOnBlur:e===Ot.onBlur,isOnChange:e===Ot.onChange,isOnAll:e===Ot.all,isOnTouch:e===Ot.onTouched}),nf=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(s=>e.startsWith(s)&&/^\.\w+/.test(e.slice(s.length))));const Mr=(e,t,n,s)=>{for(const r of n||Object.keys(e)){const i=V(e,r);if(i){const{_f:o,...a}=i;if(o){if(o.refs&&o.refs[0]&&t(o.refs[0],r)&&!s)return!0;if(o.ref&&t(o.ref,o.name)&&!s)return!0;if(Mr(a,t))break}else if(Fe(a)&&Mr(a,t))break}}};var AT=(e,t,n)=>{const s=Dr(V(e,n));return xe(s,"root",t[n]),xe(e,n,s),e},Fl=e=>e.type==="file",Kt=e=>typeof e=="function",lo=e=>{if(!jl)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Qi=e=>Qt(e),Ll=e=>e.type==="radio",uo=e=>e instanceof RegExp;const sf={value:!1,isValid:!1},rf={value:!0,isValid:!0};var qm=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!De(e[0].attributes.value)?De(e[0].value)||e[0].value===""?rf:{value:e[0].value,isValid:!0}:rf:sf}return sf};const of={isValid:!1,value:null};var Zm=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,of):of;function af(e,t,n="validate"){if(Qi(e)||Array.isArray(e)&&e.every(Qi)||Ct(e)&&!e)return{type:n,message:Qi(e)?e:"",ref:t}}var _s=e=>Fe(e)&&!uo(e)?e:{value:e,message:""},cf=async(e,t,n,s,r,i)=>{const{ref:o,refs:a,required:c,maxLength:l,minLength:u,min:d,max:f,pattern:p,validate:m,name:h,valueAsNumber:g,mount:v}=e._f,b=V(n,h);if(!v||t.has(h))return{};const w=a?a[0]:o,T=j=>{r&&w.reportValidity&&(w.setCustomValidity(Ct(j)?"":j||""),w.reportValidity())},S={},E=Ll(o),R=vi(o),A=E||R,N=(g||Fl(o))&&De(o.value)&&De(b)||lo(o)&&o.value===""||b===""||Array.isArray(b)&&!b.length,D=Hm.bind(null,h,s,S),L=(j,$,W,se=an.maxLength,Y=an.minLength)=>{const Z=j?$:W;S[h]={type:j?se:Y,message:Z,ref:o,...D(j?se:Y,Z)}};if(i?!Array.isArray(b)||!b.length:c&&(!A&&(N||et(b))||Ct(b)&&!b||R&&!qm(a).isValid||E&&!Zm(a).isValid)){const{value:j,message:$}=Qi(c)?{value:!!c,message:c}:_s(c);if(j&&(S[h]={type:an.required,message:$,ref:w,...D(an.required,$)},!s))return T($),S}if(!N&&(!et(d)||!et(f))){let j,$;const W=_s(f),se=_s(d);if(!et(b)&&!isNaN(b)){const Y=o.valueAsNumber||b&&+b;et(W.value)||(j=Y>W.value),et(se.value)||($=Ynew Date(new Date().toDateString()+" "+me),q=o.type=="time",re=o.type=="week";Qt(W.value)&&b&&(j=q?Z(b)>Z(W.value):re?b>W.value:Y>new Date(W.value)),Qt(se.value)&&b&&($=q?Z(b)+j.value,se=!et($.value)&&b.length<+$.value;if((W||se)&&(L(W,j.message,$.message),!s))return T(S[h].message),S}if(p&&!N&&Qt(b)){const{value:j,message:$}=_s(p);if(uo(j)&&!b.match(j)&&(S[h]={type:an.pattern,message:$,ref:o,...D(an.pattern,$)},!s))return T($),S}if(m){if(Kt(m)){const j=await m(b,n),$=af(j,w);if($&&(S[h]={...$,...D(an.validate,$.message)},!s))return T($.message),S}else if(Fe(m)){let j={};for(const $ in m){if(!at(j)&&!s)break;const W=af(await m[$](b,n),w,$);W&&(j={...W,...D($,W.message)},T(W.message),s&&(S[h]=j))}if(!at(j)&&(S[h]={ref:w,...j},!s))return S}}return T(!0),S};function ET(e,t){const n=t.slice(0,-1).length;let s=0;for(;s{let e=[];return{get observers(){return e},next:r=>{for(const i of e)i.next&&i.next(r)},subscribe:r=>(e.push(r),{unsubscribe:()=>{e=e.filter(i=>i!==r)}}),unsubscribe:()=>{e=[]}}},ac=e=>et(e)||!Fm(e);function _n(e,t){if(ac(e)||ac(t))return e===t;if(Qn(e)&&Qn(t))return e.getTime()===t.getTime();const n=Object.keys(e),s=Object.keys(t);if(n.length!==s.length)return!1;for(const r of n){const i=e[r];if(!s.includes(r))return!1;if(r!=="ref"){const o=t[r];if(Qn(i)&&Qn(o)||Fe(i)&&Fe(o)||Array.isArray(i)&&Array.isArray(o)?!_n(i,o):i!==o)return!1}}return!0}var Gm=e=>e.type==="select-multiple",RT=e=>Ll(e)||vi(e),Ca=e=>lo(e)&&e.isConnected,Km=e=>{for(const t in e)if(Kt(e[t]))return!0;return!1};function fo(e,t={}){const n=Array.isArray(e);if(Fe(e)||n)for(const s in e)Array.isArray(e[s])||Fe(e[s])&&!Km(e[s])?(t[s]=Array.isArray(e[s])?[]:{},fo(e[s],t[s])):et(e[s])||(t[s]=!0);return t}function Qm(e,t,n){const s=Array.isArray(e);if(Fe(e)||s)for(const r in e)Array.isArray(e[r])||Fe(e[r])&&!Km(e[r])?De(t)||ac(n[r])?n[r]=Array.isArray(e[r])?fo(e[r],[]):{...fo(e[r])}:Qm(e[r],et(t)?{}:t[r],n[r]):n[r]=!_n(e[r],t[r]);return n}var br=(e,t)=>Qm(e,t,fo(t)),Xm=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:s})=>De(e)?e:t?e===""?NaN:e&&+e:n&&Qt(e)?new Date(e):s?s(e):e;function Aa(e){const t=e.ref;return Fl(t)?t.files:Ll(t)?Zm(e.refs).value:Gm(t)?[...t.selectedOptions].map(({value:n})=>n):vi(t)?qm(e.refs).value:Xm(De(t.value)?e.ref.value:t.value,e)}var kT=(e,t,n,s)=>{const r={};for(const i of e){const o=V(t,i);o&&xe(r,i,o._f)}return{criteriaMode:n,names:[...e],fields:r,shouldUseNativeValidation:s}},wr=e=>De(e)?e:uo(e)?e.source:Fe(e)?uo(e.value)?e.value.source:e.value:e;const lf="AsyncFunction";var OT=e=>!!e&&!!e.validate&&!!(Kt(e.validate)&&e.validate.constructor.name===lf||Fe(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===lf)),NT=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function uf(e,t,n){const s=V(e,n);if(s||Dl(n))return{error:s,name:n};const r=n.split(".");for(;r.length;){const i=r.join("."),o=V(t,i),a=V(e,i);if(o&&!Array.isArray(o)&&n!==i)return{name:n};if(a&&a.type)return{name:i,error:a};r.pop()}return{name:n}}var jT=(e,t,n,s,r)=>r.isOnAll?!1:!n&&r.isOnTouch?!(t||e):(n?s.isOnBlur:r.isOnBlur)?!e:(n?s.isOnChange:r.isOnChange)?e:!0,DT=(e,t)=>!Bo(V(e,t)).length&&Be(e,t);const MT={mode:Ot.onSubmit,reValidateMode:Ot.onChange,shouldFocusError:!0};function FT(e={}){let t={...MT,...e},n={submitCount:0,isDirty:!1,isLoading:Kt(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},s={},r=Fe(t.defaultValues)||Fe(t.values)?it(t.defaultValues||t.values)||{}:{},i=t.shouldUnregister?{}:it(r),o={action:!1,mount:!1,watch:!1},a={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},c,l=0;const u={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={values:Ta(),array:Ta(),state:Ta()},f=tf(t.mode),p=tf(t.reValidateMode),m=t.criteriaMode===Ot.all,h=_=>P=>{clearTimeout(l),l=setTimeout(_,P)},g=async _=>{if(!t.disabled&&(u.isValid||_)){const P=t.resolver?at((await A()).errors):await D(s,!0);P!==n.isValid&&d.state.next({isValid:P})}},v=(_,P)=>{!t.disabled&&(u.isValidating||u.validatingFields)&&((_||Array.from(a.mount)).forEach(O=>{O&&(P?xe(n.validatingFields,O,P):Be(n.validatingFields,O))}),d.state.next({validatingFields:n.validatingFields,isValidating:!at(n.validatingFields)}))},b=(_,P=[],O,B,I=!0,F=!0)=>{if(B&&O&&!t.disabled){if(o.action=!0,F&&Array.isArray(V(s,_))){const X=O(V(s,_),B.argA,B.argB);I&&xe(s,_,X)}if(F&&Array.isArray(V(n.errors,_))){const X=O(V(n.errors,_),B.argA,B.argB);I&&xe(n.errors,_,X),DT(n.errors,_)}if(u.touchedFields&&F&&Array.isArray(V(n.touchedFields,_))){const X=O(V(n.touchedFields,_),B.argA,B.argB);I&&xe(n.touchedFields,_,X)}u.dirtyFields&&(n.dirtyFields=br(r,i)),d.state.next({name:_,isDirty:j(_,P),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else xe(i,_,P)},w=(_,P)=>{xe(n.errors,_,P),d.state.next({errors:n.errors})},T=_=>{n.errors=_,d.state.next({errors:n.errors,isValid:!1})},S=(_,P,O,B)=>{const I=V(s,_);if(I){const F=V(i,_,De(O)?V(r,_):O);De(F)||B&&B.defaultChecked||P?xe(i,_,P?F:Aa(I._f)):se(_,F),o.mount&&g()}},E=(_,P,O,B,I)=>{let F=!1,X=!1;const ae={name:_};if(!t.disabled){const Ie=!!(V(s,_)&&V(s,_)._f&&V(s,_)._f.disabled);if(!O||B){u.isDirty&&(X=n.isDirty,n.isDirty=ae.isDirty=j(),F=X!==ae.isDirty);const Ne=Ie||_n(V(r,_),P);X=!!(!Ie&&V(n.dirtyFields,_)),Ne||Ie?Be(n.dirtyFields,_):xe(n.dirtyFields,_,!0),ae.dirtyFields=n.dirtyFields,F=F||u.dirtyFields&&X!==!Ne}if(O){const Ne=V(n.touchedFields,_);Ne||(xe(n.touchedFields,_,O),ae.touchedFields=n.touchedFields,F=F||u.touchedFields&&Ne!==O)}F&&I&&d.state.next(ae)}return F?ae:{}},R=(_,P,O,B)=>{const I=V(n.errors,_),F=u.isValid&&Ct(P)&&n.isValid!==P;if(t.delayError&&O?(c=h(()=>w(_,O)),c(t.delayError)):(clearTimeout(l),c=null,O?xe(n.errors,_,O):Be(n.errors,_)),(O?!_n(I,O):I)||!at(B)||F){const X={...B,...F&&Ct(P)?{isValid:P}:{},errors:n.errors,name:_};n={...n,...X},d.state.next(X)}},A=async _=>{v(_,!0);const P=await t.resolver(i,t.context,kT(_||a.mount,s,t.criteriaMode,t.shouldUseNativeValidation));return v(_),P},N=async _=>{const{errors:P}=await A(_);if(_)for(const O of _){const B=V(P,O);B?xe(n.errors,O,B):Be(n.errors,O)}else n.errors=P;return P},D=async(_,P,O={valid:!0})=>{for(const B in _){const I=_[B];if(I){const{_f:F,...X}=I;if(F){const ae=a.array.has(F.name),Ie=I._f&&OT(I._f);Ie&&u.validatingFields&&v([B],!0);const Ne=await cf(I,a.disabled,i,m,t.shouldUseNativeValidation&&!P,ae);if(Ie&&u.validatingFields&&v([B]),Ne[F.name]&&(O.valid=!1,P))break;!P&&(V(Ne,F.name)?ae?AT(n.errors,Ne,F.name):xe(n.errors,F.name,Ne[F.name]):Be(n.errors,F.name))}!at(X)&&await D(X,P,O)}}return O.valid},L=()=>{for(const _ of a.unMount){const P=V(s,_);P&&(P._f.refs?P._f.refs.every(O=>!Ca(O)):!Ca(P._f.ref))&&Xe(_)}a.unMount=new Set},j=(_,P)=>!t.disabled&&(_&&P&&xe(i,_,P),!_n(ge(),r)),$=(_,P,O)=>Wm(_,a,{...o.mount?i:De(P)?r:Qt(_)?{[_]:P}:P},O,P),W=_=>Bo(V(o.mount?i:r,_,t.shouldUnregister?V(r,_,[]):[])),se=(_,P,O={})=>{const B=V(s,_);let I=P;if(B){const F=B._f;F&&(!F.disabled&&xe(i,_,Xm(P,F)),I=lo(F.ref)&&et(P)?"":P,Gm(F.ref)?[...F.ref.options].forEach(X=>X.selected=I.includes(X.value)):F.refs?vi(F.ref)?F.refs.length>1?F.refs.forEach(X=>(!X.defaultChecked||!X.disabled)&&(X.checked=Array.isArray(I)?!!I.find(ae=>ae===X.value):I===X.value)):F.refs[0]&&(F.refs[0].checked=!!I):F.refs.forEach(X=>X.checked=X.value===I):Fl(F.ref)?F.ref.value="":(F.ref.value=I,F.ref.type||d.values.next({name:_,values:{...i}})))}(O.shouldDirty||O.shouldTouch)&&E(_,I,O.shouldTouch,O.shouldDirty,!0),O.shouldValidate&&me(_)},Y=(_,P,O)=>{for(const B in P){const I=P[B],F=`${_}.${B}`,X=V(s,F);(a.array.has(_)||Fe(I)||X&&!X._f)&&!Qn(I)?Y(F,I,O):se(F,I,O)}},Z=(_,P,O={})=>{const B=V(s,_),I=a.array.has(_),F=it(P);xe(i,_,F),I?(d.array.next({name:_,values:{...i}}),(u.isDirty||u.dirtyFields)&&O.shouldDirty&&d.state.next({name:_,dirtyFields:br(r,i),isDirty:j(_,F)})):B&&!B._f&&!et(F)?Y(_,F,O):se(_,F,O),nf(_,a)&&d.state.next({...n}),d.values.next({name:o.mount?_:void 0,values:{...i}})},q=async _=>{o.mount=!0;const P=_.target;let O=P.name,B=!0;const I=V(s,O),F=()=>P.type?Aa(I._f):Lm(_),X=ae=>{B=Number.isNaN(ae)||Qn(ae)&&isNaN(ae.getTime())||_n(ae,V(i,O,ae))};if(I){let ae,Ie;const Ne=F(),Ut=_.type===co.BLUR||_.type===co.FOCUS_OUT,pr=!NT(I._f)&&!t.resolver&&!V(n.errors,O)&&!I._f.deps||jT(Ut,V(n.touchedFields,O),n.isSubmitted,p,f),$t=nf(O,a,Ut);xe(i,O,Ne),Ut?(I._f.onBlur&&I._f.onBlur(_),c&&c(0)):I._f.onChange&&I._f.onChange(_);const Wn=E(O,Ne,Ut,!1),mr=!at(Wn)||$t;if(!Ut&&d.values.next({name:O,type:_.type,values:{...i}}),pr)return u.isValid&&(t.mode==="onBlur"&&Ut?g():Ut||g()),mr&&d.state.next({name:O,...$t?{}:Wn});if(!Ut&&$t&&d.state.next({...n}),t.resolver){const{errors:Hn}=await A([O]);if(X(Ne),B){const ea=uf(n.errors,s,O),Pi=uf(Hn,s,ea.name||O);ae=Pi.error,O=Pi.name,Ie=at(Hn)}}else v([O],!0),ae=(await cf(I,a.disabled,i,m,t.shouldUseNativeValidation))[O],v([O]),X(Ne),B&&(ae?Ie=!1:u.isValid&&(Ie=await D(s,!0)));B&&(I._f.deps&&me(I._f.deps),R(O,Ie,ae,Wn))}},re=(_,P)=>{if(V(n.errors,P)&&_.focus)return _.focus(),1},me=async(_,P={})=>{let O,B;const I=Dr(_);if(t.resolver){const F=await N(De(_)?_:I);O=at(F),B=_?!I.some(X=>V(F,X)):O}else _?(B=(await Promise.all(I.map(async F=>{const X=V(s,F);return await D(X&&X._f?{[F]:X}:X)}))).every(Boolean),!(!B&&!n.isValid)&&g()):B=O=await D(s);return d.state.next({...!Qt(_)||u.isValid&&O!==n.isValid?{}:{name:_},...t.resolver||!_?{isValid:O}:{},errors:n.errors}),P.shouldFocus&&!B&&Mr(s,re,_?I:a.mount),B},ge=_=>{const P={...o.mount?i:r};return De(_)?P:Qt(_)?V(P,_):_.map(O=>V(P,O))},We=(_,P)=>({invalid:!!V((P||n).errors,_),isDirty:!!V((P||n).dirtyFields,_),error:V((P||n).errors,_),isValidating:!!V(n.validatingFields,_),isTouched:!!V((P||n).touchedFields,_)}),dt=_=>{_&&Dr(_).forEach(P=>Be(n.errors,P)),d.state.next({errors:_?n.errors:{}})},He=(_,P,O)=>{const B=(V(s,_,{_f:{}})._f||{}).ref,I=V(n.errors,_)||{},{ref:F,message:X,type:ae,...Ie}=I;xe(n.errors,_,{...Ie,...P,ref:B}),d.state.next({name:_,errors:n.errors,isValid:!1}),O&&O.shouldFocus&&B&&B.focus&&B.focus()},At=(_,P)=>Kt(_)?d.values.subscribe({next:O=>_($(void 0,P),O)}):$(_,P,!0),Xe=(_,P={})=>{for(const O of _?Dr(_):a.mount)a.mount.delete(O),a.array.delete(O),P.keepValue||(Be(s,O),Be(i,O)),!P.keepError&&Be(n.errors,O),!P.keepDirty&&Be(n.dirtyFields,O),!P.keepTouched&&Be(n.touchedFields,O),!P.keepIsValidating&&Be(n.validatingFields,O),!t.shouldUnregister&&!P.keepDefaultValue&&Be(r,O);d.values.next({values:{...i}}),d.state.next({...n,...P.keepDirty?{isDirty:j()}:{}}),!P.keepIsValid&&g()},ue=({disabled:_,name:P,field:O,fields:B})=>{(Ct(_)&&o.mount||_||a.disabled.has(P))&&(_?a.disabled.add(P):a.disabled.delete(P),E(P,Aa(O?O._f:V(B,P)._f),!1,!1,!0))},ye=(_,P={})=>{let O=V(s,_);const B=Ct(P.disabled)||Ct(t.disabled);return xe(s,_,{...O||{},_f:{...O&&O._f?O._f:{ref:{name:_}},name:_,mount:!0,...P}}),a.mount.add(_),O?ue({field:O,disabled:Ct(P.disabled)?P.disabled:t.disabled,name:_}):S(_,!0,P.value),{...B?{disabled:P.disabled||t.disabled}:{},...t.progressive?{required:!!P.required,min:wr(P.min),max:wr(P.max),minLength:wr(P.minLength),maxLength:wr(P.maxLength),pattern:wr(P.pattern)}:{},name:_,onChange:q,onBlur:q,ref:I=>{if(I){ye(_,P),O=V(s,_);const F=De(I.value)&&I.querySelectorAll&&I.querySelectorAll("input,select,textarea")[0]||I,X=RT(F),ae=O._f.refs||[];if(X?ae.find(Ie=>Ie===F):F===O._f.ref)return;xe(s,_,{_f:{...O._f,...X?{refs:[...ae.filter(Ca),F,...Array.isArray(V(r,_))?[{}]:[]],ref:{type:F.type,name:_}}:{ref:F}}}),S(_,!1,void 0,F)}else O=V(s,_,{}),O._f&&(O._f.mount=!1),(t.shouldUnregister||P.shouldUnregister)&&!(Im(a.array,_)&&o.action)&&a.unMount.add(_)}}},Oe=()=>t.shouldFocusError&&Mr(s,re,a.mount),Le=_=>{Ct(_)&&(d.state.next({disabled:_}),Mr(s,(P,O)=>{const B=V(s,O);B&&(P.disabled=B._f.disabled||_,Array.isArray(B._f.refs)&&B._f.refs.forEach(I=>{I.disabled=B._f.disabled||_}))},0,!1))},we=(_,P)=>async O=>{let B;O&&(O.preventDefault&&O.preventDefault(),O.persist&&O.persist());let I=it(i);if(a.disabled.size)for(const F of a.disabled)xe(I,F,void 0);if(d.state.next({isSubmitting:!0}),t.resolver){const{errors:F,values:X}=await A();n.errors=F,I=X}else await D(s);if(Be(n.errors,"root"),at(n.errors)){d.state.next({errors:{}});try{await _(I,O)}catch(F){B=F}}else P&&await P({...n.errors},O),Oe(),setTimeout(Oe);if(d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:at(n.errors)&&!B,submitCount:n.submitCount+1,errors:n.errors}),B)throw B},G=(_,P={})=>{V(s,_)&&(De(P.defaultValue)?Z(_,it(V(r,_))):(Z(_,P.defaultValue),xe(r,_,it(P.defaultValue))),P.keepTouched||Be(n.touchedFields,_),P.keepDirty||(Be(n.dirtyFields,_),n.isDirty=P.defaultValue?j(_,it(V(r,_))):j()),P.keepError||(Be(n.errors,_),u.isValid&&g()),d.state.next({...n}))},de=(_,P={})=>{const O=_?it(_):r,B=it(O),I=at(_),F=I?r:B;if(P.keepDefaultValues||(r=O),!P.keepValues){if(P.keepDirtyValues){const X=new Set([...a.mount,...Object.keys(br(r,i))]);for(const ae of Array.from(X))V(n.dirtyFields,ae)?xe(F,ae,V(i,ae)):Z(ae,V(F,ae))}else{if(jl&&De(_))for(const X of a.mount){const ae=V(s,X);if(ae&&ae._f){const Ie=Array.isArray(ae._f.refs)?ae._f.refs[0]:ae._f.ref;if(lo(Ie)){const Ne=Ie.closest("form");if(Ne){Ne.reset();break}}}}s={}}i=t.shouldUnregister?P.keepDefaultValues?it(r):{}:it(F),d.array.next({values:{...F}}),d.values.next({values:{...F}})}a={mount:P.keepDirtyValues?a.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!u.isValid||!!P.keepIsValid||!!P.keepDirtyValues,o.watch=!!t.shouldUnregister,d.state.next({submitCount:P.keepSubmitCount?n.submitCount:0,isDirty:I?!1:P.keepDirty?n.isDirty:!!(P.keepDefaultValues&&!_n(_,r)),isSubmitted:P.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:I?{}:P.keepDirtyValues?P.keepDefaultValues&&i?br(r,i):n.dirtyFields:P.keepDefaultValues&&_?br(r,_):P.keepDirty?n.dirtyFields:{},touchedFields:P.keepTouched?n.touchedFields:{},errors:P.keepErrors?n.errors:{},isSubmitSuccessful:P.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},Se=(_,P)=>de(Kt(_)?_(i):_,P);return{control:{register:ye,unregister:Xe,getFieldState:We,handleSubmit:we,setError:He,_executeSchema:A,_getWatch:$,_getDirty:j,_updateValid:g,_removeUnmounted:L,_updateFieldArray:b,_updateDisabledField:ue,_getFieldArray:W,_reset:de,_resetDefaultValues:()=>Kt(t.defaultValues)&&t.defaultValues().then(_=>{Se(_,t.resetOptions),d.state.next({isLoading:!1})}),_updateFormState:_=>{n={...n,..._}},_disableForm:Le,_subjects:d,_proxyFormState:u,_setErrors:T,get _fields(){return s},get _formValues(){return i},get _state(){return o},set _state(_){o=_},get _defaultValues(){return r},get _names(){return a},set _names(_){a=_},get _formState(){return n},set _formState(_){n=_},get _options(){return t},set _options(_){t={...t,..._}}},trigger:me,register:ye,handleSubmit:we,watch:At,setValue:Z,getValues:ge,reset:Se,resetField:G,clearErrors:dt,unregister:Xe,setError:He,setFocus:(_,P={})=>{const O=V(s,_),B=O&&O._f;if(B){const I=B.refs?B.refs[0]:B.ref;I.focus&&(I.focus(),P.shouldSelect&&Kt(I.select)&&I.select())}},getFieldState:We}}function LT(e={}){const t=ve.useRef(void 0),n=ve.useRef(void 0),[s,r]=ve.useState({isDirty:!1,isValidating:!1,isLoading:Kt(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Kt(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...FT(e),formState:s});const i=t.current.control;return i._options=e,Ml({subject:i._subjects.state,next:o=>{$m(o,i._proxyFormState,i._updateFormState,!0)&&r({...i._formState})}}),ve.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),ve.useEffect(()=>{if(i._proxyFormState.isDirty){const o=i._getDirty();o!==s.isDirty&&i._subjects.state.next({isDirty:o})}},[i,s.isDirty]),ve.useEffect(()=>{e.values&&!_n(e.values,n.current)?(i._reset(e.values,i._options.resetOptions),n.current=e.values,r(o=>({...o}))):i._resetDefaultValues()},[e.values,i]),ve.useEffect(()=>{e.errors&&i._setErrors(e.errors)},[e.errors,i]),ve.useEffect(()=>{i._state.mount||(i._updateValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),ve.useEffect(()=>{e.shouldUnregister&&i._subjects.values.next({values:i._getWatch()})},[e.shouldUnregister,i]),t.current.formState=Um(s,i),t.current}var IT="Label",Ym=x.forwardRef((e,t)=>y.jsx(rt.label,{...e,ref:t,onMouseDown:n=>{var r;n.target.closest("button, input, select, textarea")||((r=e.onMouseDown)==null||r.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Ym.displayName=IT;var Jm=Ym;const VT=Qc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),eg=x.forwardRef(({className:e,...t},n)=>y.jsx(Jm,{ref:n,className:Q(VT(),e),...t}));eg.displayName=Jm.displayName;const Zk=wT,tg=x.createContext({}),BT=({...e})=>y.jsx(tg.Provider,{value:{name:e.name},children:y.jsx(CT,{...e})}),$o=()=>{const e=x.useContext(tg),t=x.useContext(ng),{getFieldState:n,formState:s}=Uo(),r=n(e.name,s);if(!e)throw new Error("useFormField should be used within ");const{id:i}=t;return{id:i,name:e.name,formItemId:`${i}-form-item`,formDescriptionId:`${i}-form-item-description`,formMessageId:`${i}-form-item-message`,...r}},ng=x.createContext({}),sg=x.forwardRef(({className:e,...t},n)=>{const s=x.useId();return y.jsx(ng.Provider,{value:{id:s},children:y.jsx("div",{ref:n,className:Q("space-y-2",e),...t})})});sg.displayName="FormItem";const rg=x.forwardRef(({className:e,...t},n)=>{const{error:s,formItemId:r}=$o();return y.jsx(eg,{ref:n,className:Q(s&&"text-destructive",e),htmlFor:r,...t})});rg.displayName="FormLabel";const ig=x.forwardRef(({...e},t)=>{const{error:n,formItemId:s,formDescriptionId:r,formMessageId:i}=$o();return y.jsx(sr,{ref:t,id:s,"aria-describedby":n?`${r} ${i}`:`${r}`,"aria-invalid":!!n,...e})});ig.displayName="FormControl";const UT=x.forwardRef(({className:e,...t},n)=>{const{formDescriptionId:s}=$o();return y.jsx("p",{ref:n,id:s,className:Q("text-[0.8rem] text-muted-foreground",e),...t})});UT.displayName="FormDescription";const og=x.forwardRef(({className:e,children:t,...n},s)=>{const{error:r,formMessageId:i}=$o(),o=r?String(r==null?void 0:r.message):t;return o?y.jsx("p",{ref:s,id:i,className:Q("text-[0.8rem] font-medium text-destructive",e),...n,children:o}):null});og.displayName="FormMessage";const cc=x.forwardRef(({className:e,type:t,...n},s)=>t!=="file"?y.jsx("input",{type:t,className:Q("flex h-14 rounded-[2px] border p-4 focus:border-[3px] focus:outline-none focus:border-primary transition-all hover:border-on_surface border-outline bg-transparent text-base w-regular file:border-0 file:bg-secondary_container file:outline-none file:text-sm file:w-fit file:text-on_secondary_container file:font-medium placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",e),ref:s,...n}):y.jsxs("div",{className:"relative w-[160px] h-9 overflow-hidden !cursor-pointer",children:[y.jsx("input",{ref:s,accept:".pdf, .png, .jpeg, .jpg",type:t,className:Q("h-9 absolute top-0 left-0 !cursor-pointer opacity-0 z-20 size-full"),...n}),y.jsxs("div",{className:"absolute rounded-[2px] cursor-pointer size-full flex items-center gap-4 px-3 py-2.5 top-0 left-0 bg-secondary_container",children:[y.jsx(Vx,{className:"cursor-pointer",size:16})," Upload file"]})]}));cc.displayName="Input";const ag=x.forwardRef(({className:e,...t},n)=>y.jsx("textarea",{className:Q("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...t}));ag.displayName="Textarea";const Gk=({control:e,name:t,label:n,placeholder:s,error:r,type:i="text",className:o,disabled:a,textArea:c=!1,textDark:l,supporText:u,handleChange:d,onPrimary:f=!1})=>y.jsx(BT,{control:e,name:t,render:({field:p})=>y.jsxs(sg,{className:Q(o,"flex flex-col w-full relative"),children:[y.jsx(rg,{className:Q("text-xl",f&&"!text-on_primary",l?"text-on_surface":"text-on_surface_v"),children:n}),y.jsx(ig,{children:y.jsx(y.Fragment,{children:c?y.jsx(ag,{rows:3,...p,placeholder:s,className:Q(r&&"border-[#BA1A1A]",f&&"border-primary_outline_reverse focus:border-white hover:border-white focus:border-1 text-on_primary")}):i!=="file"?y.jsx(cc,{...p,type:i,placeholder:s,disabled:a,className:Q(r&&"border-[#BA1A1A]",f&&"border-primary_outline_reverse focus:border-white hover:border-white focus:border-1 text-on_primary")}):y.jsxs("div",{className:"relative",children:[y.jsx(cc,{type:"file",placeholder:s,onChange:m=>{var g;const h=((g=m.target.files)==null?void 0:g[0])||null;console.log("Выбранный файл:",h),p.onChange(h),d&&d(m)},disabled:a}),p.value&&y.jsxs("div",{className:"text-sm mt-2 text-gray-500 absolute top-8",children:["Выбранный файл: ",p.value.name]})]})})}),y.jsx(og,{className:Q("absolute -bottom-5 left-0 text-sm font-medium leading-[130%]",r&&f?"text-teritary_04":"text-[#BA1A1A]"),children:r?r.message:u})]})}),Kk=({className:e,delay:t=.15})=>y.jsxs(Ki.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0,transition:{delay:t}},className:Q("flex flex-col gap-8 my-16",e),children:[y.jsx("h3",{className:"text-3xl text-center",children:"Форма успешно отправлена!"}),y.jsx(Me,{className:"w-fit mx-auto",to:"/",children:y.jsx(ut,{variant:"outline",children:"Вернуться на главную"})})]}),$T=({className:e,slides:t,active:n,scrollTo:s})=>y.jsx("div",{className:Q("flex items-center justify-center gap-2",e),children:Array.from({length:t}).map((r,i)=>y.jsx("span",{onClick:()=>s==null?void 0:s(i),className:Q(n===i?"dot-active":"dot")},i))}),zT=["top","right","bottom","left"],Dn=Math.min,ht=Math.max,ho=Math.round,Bi=Math.floor,Jt=e=>({x:e,y:e}),WT={left:"right",right:"left",bottom:"top",top:"bottom"},HT={start:"end",end:"start"};function lc(e,t,n){return ht(e,Dn(t,n))}function mn(e,t){return typeof e=="function"?e(t):e}function gn(e){return e.split("-")[0]}function cr(e){return e.split("-")[1]}function Il(e){return e==="x"?"y":"x"}function Vl(e){return e==="y"?"height":"width"}function Mn(e){return["top","bottom"].includes(gn(e))?"y":"x"}function Bl(e){return Il(Mn(e))}function qT(e,t,n){n===void 0&&(n=!1);const s=cr(e),r=Bl(e),i=Vl(r);let o=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=po(o)),[o,po(o)]}function ZT(e){const t=po(e);return[uc(e),t,uc(t)]}function uc(e){return e.replace(/start|end/g,t=>HT[t])}function GT(e,t,n){const s=["left","right"],r=["right","left"],i=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:s:t?s:r;case"left":case"right":return t?i:o;default:return[]}}function KT(e,t,n,s){const r=cr(e);let i=GT(gn(e),n==="start",s);return r&&(i=i.map(o=>o+"-"+r),t&&(i=i.concat(i.map(uc)))),i}function po(e){return e.replace(/left|right|bottom|top/g,t=>WT[t])}function QT(e){return{top:0,right:0,bottom:0,left:0,...e}}function cg(e){return typeof e!="number"?QT(e):{top:e,right:e,bottom:e,left:e}}function mo(e){const{x:t,y:n,width:s,height:r}=e;return{width:s,height:r,top:n,left:t,right:t+s,bottom:n+r,x:t,y:n}}function df(e,t,n){let{reference:s,floating:r}=e;const i=Mn(t),o=Bl(t),a=Vl(o),c=gn(t),l=i==="y",u=s.x+s.width/2-r.width/2,d=s.y+s.height/2-r.height/2,f=s[a]/2-r[a]/2;let p;switch(c){case"top":p={x:u,y:s.y-r.height};break;case"bottom":p={x:u,y:s.y+s.height};break;case"right":p={x:s.x+s.width,y:d};break;case"left":p={x:s.x-r.width,y:d};break;default:p={x:s.x,y:s.y}}switch(cr(t)){case"start":p[o]-=f*(n&&l?-1:1);break;case"end":p[o]+=f*(n&&l?-1:1);break}return p}const XT=async(e,t,n)=>{const{placement:s="bottom",strategy:r="absolute",middleware:i=[],platform:o}=n,a=i.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t));let l=await o.getElementRects({reference:e,floating:t,strategy:r}),{x:u,y:d}=df(l,s,c),f=s,p={},m=0;for(let h=0;h({name:"arrow",options:e,async fn(t){const{x:n,y:s,placement:r,rects:i,platform:o,elements:a,middlewareData:c}=t,{element:l,padding:u=0}=mn(e,t)||{};if(l==null)return{};const d=cg(u),f={x:n,y:s},p=Bl(r),m=Vl(p),h=await o.getDimensions(l),g=p==="y",v=g?"top":"left",b=g?"bottom":"right",w=g?"clientHeight":"clientWidth",T=i.reference[m]+i.reference[p]-f[p]-i.floating[m],S=f[p]-i.reference[p],E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l));let R=E?E[w]:0;(!R||!await(o.isElement==null?void 0:o.isElement(E)))&&(R=a.floating[w]||i.floating[m]);const A=T/2-S/2,N=R/2-h[m]/2-1,D=Dn(d[v],N),L=Dn(d[b],N),j=D,$=R-h[m]-L,W=R/2-h[m]/2+A,se=lc(j,W,$),Y=!c.arrow&&cr(r)!=null&&W!==se&&i.reference[m]/2-(WW<=0)){var L,j;const W=(((L=i.flip)==null?void 0:L.index)||0)+1,se=R[W];if(se)return{data:{index:W,overflows:D},reset:{placement:se}};let Y=(j=D.filter(Z=>Z.overflows[0]<=0).sort((Z,q)=>Z.overflows[1]-q.overflows[1])[0])==null?void 0:j.placement;if(!Y)switch(p){case"bestFit":{var $;const Z=($=D.filter(q=>{if(E){const re=Mn(q.placement);return re===b||re==="y"}return!0}).map(q=>[q.placement,q.overflows.filter(re=>re>0).reduce((re,me)=>re+me,0)]).sort((q,re)=>q[1]-re[1])[0])==null?void 0:$[0];Z&&(Y=Z);break}case"initialPlacement":Y=a;break}if(r!==Y)return{reset:{placement:Y}}}return{}}}};function ff(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function hf(e){return zT.some(t=>e[t]>=0)}const eC=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:s="referenceHidden",...r}=mn(e,t);switch(s){case"referenceHidden":{const i=await zr(t,{...r,elementContext:"reference"}),o=ff(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:hf(o)}}}case"escaped":{const i=await zr(t,{...r,altBoundary:!0}),o=ff(i,n.floating);return{data:{escapedOffsets:o,escaped:hf(o)}}}default:return{}}}}};async function tC(e,t){const{placement:n,platform:s,elements:r}=e,i=await(s.isRTL==null?void 0:s.isRTL(r.floating)),o=gn(n),a=cr(n),c=Mn(n)==="y",l=["left","top"].includes(o)?-1:1,u=i&&c?-1:1,d=mn(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof m=="number"&&(p=a==="end"?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}const nC=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,s;const{x:r,y:i,placement:o,middlewareData:a}=t,c=await tC(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(s=a.arrow)!=null&&s.alignmentOffset?{}:{x:r+c.x,y:i+c.y,data:{...c,placement:o}}}}},sC=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:s,placement:r}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:a={fn:g=>{let{x:v,y:b}=g;return{x:v,y:b}}},...c}=mn(e,t),l={x:n,y:s},u=await zr(t,c),d=Mn(gn(r)),f=Il(d);let p=l[f],m=l[d];if(i){const g=f==="y"?"top":"left",v=f==="y"?"bottom":"right",b=p+u[g],w=p-u[v];p=lc(b,p,w)}if(o){const g=d==="y"?"top":"left",v=d==="y"?"bottom":"right",b=m+u[g],w=m-u[v];m=lc(b,m,w)}const h=a.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-s,enabled:{[f]:i,[d]:o}}}}}},rC=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:s,placement:r,rects:i,middlewareData:o}=t,{offset:a=0,mainAxis:c=!0,crossAxis:l=!0}=mn(e,t),u={x:n,y:s},d=Mn(r),f=Il(d);let p=u[f],m=u[d];const h=mn(a,t),g=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){const w=f==="y"?"height":"width",T=i.reference[f]-i.floating[w]+g.mainAxis,S=i.reference[f]+i.reference[w]-g.mainAxis;pS&&(p=S)}if(l){var v,b;const w=f==="y"?"width":"height",T=["top","left"].includes(gn(r)),S=i.reference[d]-i.floating[w]+(T&&((v=o.offset)==null?void 0:v[d])||0)+(T?0:g.crossAxis),E=i.reference[d]+i.reference[w]+(T?0:((b=o.offset)==null?void 0:b[d])||0)-(T?g.crossAxis:0);mE&&(m=E)}return{[f]:p,[d]:m}}}},iC=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,s;const{placement:r,rects:i,platform:o,elements:a}=t,{apply:c=()=>{},...l}=mn(e,t),u=await zr(t,l),d=gn(r),f=cr(r),p=Mn(r)==="y",{width:m,height:h}=i.floating;let g,v;d==="top"||d==="bottom"?(g=d,v=f===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(v=d,g=f==="end"?"top":"bottom");const b=h-u.top-u.bottom,w=m-u.left-u.right,T=Dn(h-u[g],b),S=Dn(m-u[v],w),E=!t.middlewareData.shift;let R=T,A=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=w),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(R=b),E&&!f){const D=ht(u.left,0),L=ht(u.right,0),j=ht(u.top,0),$=ht(u.bottom,0);p?A=m-2*(D!==0||L!==0?D+L:ht(u.left,u.right)):R=h-2*(j!==0||$!==0?j+$:ht(u.top,u.bottom))}await c({...t,availableWidth:A,availableHeight:R});const N=await o.getDimensions(a.floating);return m!==N.width||h!==N.height?{reset:{rects:!0}}:{}}}};function zo(){return typeof window<"u"}function lr(e){return lg(e)?(e.nodeName||"").toLowerCase():"#document"}function yt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function rn(e){var t;return(t=(lg(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function lg(e){return zo()?e instanceof Node||e instanceof yt(e).Node:!1}function Mt(e){return zo()?e instanceof Element||e instanceof yt(e).Element:!1}function tn(e){return zo()?e instanceof HTMLElement||e instanceof yt(e).HTMLElement:!1}function pf(e){return!zo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof yt(e).ShadowRoot}function xi(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=Ft(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function oC(e){return["table","td","th"].includes(lr(e))}function Wo(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Ul(e){const t=$l(),n=Mt(e)?Ft(e):e;return["transform","translate","scale","rotate","perspective"].some(s=>n[s]?n[s]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(s=>(n.willChange||"").includes(s))||["paint","layout","strict","content"].some(s=>(n.contain||"").includes(s))}function aC(e){let t=Fn(e);for(;tn(t)&&!Ys(t);){if(Ul(t))return t;if(Wo(t))return null;t=Fn(t)}return null}function $l(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Ys(e){return["html","body","#document"].includes(lr(e))}function Ft(e){return yt(e).getComputedStyle(e)}function Ho(e){return Mt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Fn(e){if(lr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||pf(e)&&e.host||rn(e);return pf(t)?t.host:t}function ug(e){const t=Fn(e);return Ys(t)?e.ownerDocument?e.ownerDocument.body:e.body:tn(t)&&xi(t)?t:ug(t)}function Wr(e,t,n){var s;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=ug(e),i=r===((s=e.ownerDocument)==null?void 0:s.body),o=yt(r);if(i){const a=dc(o);return t.concat(o,o.visualViewport||[],xi(r)?r:[],a&&n?Wr(a):[])}return t.concat(r,Wr(r,[],n))}function dc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function dg(e){const t=Ft(e);let n=parseFloat(t.width)||0,s=parseFloat(t.height)||0;const r=tn(e),i=r?e.offsetWidth:n,o=r?e.offsetHeight:s,a=ho(n)!==i||ho(s)!==o;return a&&(n=i,s=o),{width:n,height:s,$:a}}function zl(e){return Mt(e)?e:e.contextElement}function js(e){const t=zl(e);if(!tn(t))return Jt(1);const n=t.getBoundingClientRect(),{width:s,height:r,$:i}=dg(t);let o=(i?ho(n.width):n.width)/s,a=(i?ho(n.height):n.height)/r;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const cC=Jt(0);function fg(e){const t=yt(e);return!$l()||!t.visualViewport?cC:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function lC(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==yt(e)?!1:t}function fs(e,t,n,s){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=zl(e);let o=Jt(1);t&&(s?Mt(s)&&(o=js(s)):o=js(e));const a=lC(i,n,s)?fg(i):Jt(0);let c=(r.left+a.x)/o.x,l=(r.top+a.y)/o.y,u=r.width/o.x,d=r.height/o.y;if(i){const f=yt(i),p=s&&Mt(s)?yt(s):s;let m=f,h=dc(m);for(;h&&s&&p!==m;){const g=js(h),v=h.getBoundingClientRect(),b=Ft(h),w=v.left+(h.clientLeft+parseFloat(b.paddingLeft))*g.x,T=v.top+(h.clientTop+parseFloat(b.paddingTop))*g.y;c*=g.x,l*=g.y,u*=g.x,d*=g.y,c+=w,l+=T,m=yt(h),h=dc(m)}}return mo({width:u,height:d,x:c,y:l})}function Wl(e,t){const n=Ho(e).scrollLeft;return t?t.left+n:fs(rn(e)).left+n}function hg(e,t,n){n===void 0&&(n=!1);const s=e.getBoundingClientRect(),r=s.left+t.scrollLeft-(n?0:Wl(e,s)),i=s.top+t.scrollTop;return{x:r,y:i}}function uC(e){let{elements:t,rect:n,offsetParent:s,strategy:r}=e;const i=r==="fixed",o=rn(s),a=t?Wo(t.floating):!1;if(s===o||a&&i)return n;let c={scrollLeft:0,scrollTop:0},l=Jt(1);const u=Jt(0),d=tn(s);if((d||!d&&!i)&&((lr(s)!=="body"||xi(o))&&(c=Ho(s)),tn(s))){const p=fs(s);l=js(s),u.x=p.x+s.clientLeft,u.y=p.y+s.clientTop}const f=o&&!d&&!i?hg(o,c,!0):Jt(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function dC(e){return Array.from(e.getClientRects())}function fC(e){const t=rn(e),n=Ho(e),s=e.ownerDocument.body,r=ht(t.scrollWidth,t.clientWidth,s.scrollWidth,s.clientWidth),i=ht(t.scrollHeight,t.clientHeight,s.scrollHeight,s.clientHeight);let o=-n.scrollLeft+Wl(e);const a=-n.scrollTop;return Ft(s).direction==="rtl"&&(o+=ht(t.clientWidth,s.clientWidth)-r),{width:r,height:i,x:o,y:a}}function hC(e,t){const n=yt(e),s=rn(e),r=n.visualViewport;let i=s.clientWidth,o=s.clientHeight,a=0,c=0;if(r){i=r.width,o=r.height;const l=$l();(!l||l&&t==="fixed")&&(a=r.offsetLeft,c=r.offsetTop)}return{width:i,height:o,x:a,y:c}}function pC(e,t){const n=fs(e,!0,t==="fixed"),s=n.top+e.clientTop,r=n.left+e.clientLeft,i=tn(e)?js(e):Jt(1),o=e.clientWidth*i.x,a=e.clientHeight*i.y,c=r*i.x,l=s*i.y;return{width:o,height:a,x:c,y:l}}function mf(e,t,n){let s;if(t==="viewport")s=hC(e,n);else if(t==="document")s=fC(rn(e));else if(Mt(t))s=pC(t,n);else{const r=fg(e);s={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return mo(s)}function pg(e,t){const n=Fn(e);return n===t||!Mt(n)||Ys(n)?!1:Ft(n).position==="fixed"||pg(n,t)}function mC(e,t){const n=t.get(e);if(n)return n;let s=Wr(e,[],!1).filter(a=>Mt(a)&&lr(a)!=="body"),r=null;const i=Ft(e).position==="fixed";let o=i?Fn(e):e;for(;Mt(o)&&!Ys(o);){const a=Ft(o),c=Ul(o);!c&&a.position==="fixed"&&(r=null),(i?!c&&!r:!c&&a.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||xi(o)&&!c&&pg(e,o))?s=s.filter(u=>u!==o):r=a,o=Fn(o)}return t.set(e,s),s}function gC(e){let{element:t,boundary:n,rootBoundary:s,strategy:r}=e;const o=[...n==="clippingAncestors"?Wo(t)?[]:mC(t,this._c):[].concat(n),s],a=o[0],c=o.reduce((l,u)=>{const d=mf(t,u,r);return l.top=ht(d.top,l.top),l.right=Dn(d.right,l.right),l.bottom=Dn(d.bottom,l.bottom),l.left=ht(d.left,l.left),l},mf(t,a,r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function yC(e){const{width:t,height:n}=dg(e);return{width:t,height:n}}function vC(e,t,n){const s=tn(t),r=rn(t),i=n==="fixed",o=fs(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const c=Jt(0);if(s||!s&&!i)if((lr(t)!=="body"||xi(r))&&(a=Ho(t)),s){const f=fs(t,!0,i,t);c.x=f.x+t.clientLeft,c.y=f.y+t.clientTop}else r&&(c.x=Wl(r));const l=r&&!s&&!i?hg(r,a):Jt(0),u=o.left+a.scrollLeft-c.x-l.x,d=o.top+a.scrollTop-c.y-l.y;return{x:u,y:d,width:o.width,height:o.height}}function Ea(e){return Ft(e).position==="static"}function gf(e,t){if(!tn(e)||Ft(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return rn(e)===n&&(n=n.ownerDocument.body),n}function mg(e,t){const n=yt(e);if(Wo(e))return n;if(!tn(e)){let r=Fn(e);for(;r&&!Ys(r);){if(Mt(r)&&!Ea(r))return r;r=Fn(r)}return n}let s=gf(e,t);for(;s&&oC(s)&&Ea(s);)s=gf(s,t);return s&&Ys(s)&&Ea(s)&&!Ul(s)?n:s||aC(e)||n}const xC=async function(e){const t=this.getOffsetParent||mg,n=this.getDimensions,s=await n(e.floating);return{reference:vC(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function bC(e){return Ft(e).direction==="rtl"}const wC={convertOffsetParentRelativeRectToViewportRelativeRect:uC,getDocumentElement:rn,getClippingRect:gC,getOffsetParent:mg,getElementRects:xC,getClientRects:dC,getDimensions:yC,getScale:js,isElement:Mt,isRTL:bC};function gg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function SC(e,t){let n=null,s;const r=rn(e);function i(){var a;clearTimeout(s),(a=n)==null||a.disconnect(),n=null}function o(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),i();const l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(a||t(),!f||!p)return;const m=Bi(d),h=Bi(r.clientWidth-(u+f)),g=Bi(r.clientHeight-(d+p)),v=Bi(u),w={rootMargin:-m+"px "+-h+"px "+-g+"px "+-v+"px",threshold:ht(0,Dn(1,c))||1};let T=!0;function S(E){const R=E[0].intersectionRatio;if(R!==c){if(!T)return o();R?o(!1,R):s=setTimeout(()=>{o(!1,1e-7)},1e3)}R===1&&!gg(l,e.getBoundingClientRect())&&o(),T=!1}try{n=new IntersectionObserver(S,{...w,root:r.ownerDocument})}catch{n=new IntersectionObserver(S,w)}n.observe(e)}return o(!0),i}function _C(e,t,n,s){s===void 0&&(s={});const{ancestorScroll:r=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=s,l=zl(e),u=r||i?[...l?Wr(l):[],...Wr(t)]:[];u.forEach(v=>{r&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const d=l&&a?SC(l,n):null;let f=-1,p=null;o&&(p=new ResizeObserver(v=>{let[b]=v;b&&b.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=p)==null||w.observe(t)})),n()}),l&&!c&&p.observe(l),p.observe(t));let m,h=c?fs(e):null;c&&g();function g(){const v=fs(e);h&&!gg(h,v)&&n(),h=v,m=requestAnimationFrame(g)}return n(),()=>{var v;u.forEach(b=>{r&&b.removeEventListener("scroll",n),i&&b.removeEventListener("resize",n)}),d==null||d(),(v=p)==null||v.disconnect(),p=null,c&&cancelAnimationFrame(m)}}const TC=nC,CC=sC,AC=JT,EC=iC,PC=eC,yf=YT,RC=rC,kC=(e,t,n)=>{const s=new Map,r={platform:wC,...n},i={...r.platform,_c:s};return XT(e,t,{...r,platform:i})};var Xi=typeof document<"u"?x.useLayoutEffect:x.useEffect;function go(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,s,r;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(s=n;s--!==0;)if(!go(e[s],t[s]))return!1;return!0}if(r=Object.keys(e),n=r.length,n!==Object.keys(t).length)return!1;for(s=n;s--!==0;)if(!{}.hasOwnProperty.call(t,r[s]))return!1;for(s=n;s--!==0;){const i=r[s];if(!(i==="_owner"&&e.$$typeof)&&!go(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function yg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function vf(e,t){const n=yg(e);return Math.round(t*n)/n}function Pa(e){const t=x.useRef(e);return Xi(()=>{t.current=e}),t}function OC(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:s=[],platform:r,elements:{reference:i,floating:o}={},transform:a=!0,whileElementsMounted:c,open:l}=e,[u,d]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=x.useState(s);go(f,s)||p(s);const[m,h]=x.useState(null),[g,v]=x.useState(null),b=x.useCallback(q=>{q!==E.current&&(E.current=q,h(q))},[]),w=x.useCallback(q=>{q!==R.current&&(R.current=q,v(q))},[]),T=i||m,S=o||g,E=x.useRef(null),R=x.useRef(null),A=x.useRef(u),N=c!=null,D=Pa(c),L=Pa(r),j=Pa(l),$=x.useCallback(()=>{if(!E.current||!R.current)return;const q={placement:t,strategy:n,middleware:f};L.current&&(q.platform=L.current),kC(E.current,R.current,q).then(re=>{const me={...re,isPositioned:j.current!==!1};W.current&&!go(A.current,me)&&(A.current=me,lh.flushSync(()=>{d(me)}))})},[f,t,n,L,j]);Xi(()=>{l===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,d(q=>({...q,isPositioned:!1})))},[l]);const W=x.useRef(!1);Xi(()=>(W.current=!0,()=>{W.current=!1}),[]),Xi(()=>{if(T&&(E.current=T),S&&(R.current=S),T&&S){if(D.current)return D.current(T,S,$);$()}},[T,S,$,D,N]);const se=x.useMemo(()=>({reference:E,floating:R,setReference:b,setFloating:w}),[b,w]),Y=x.useMemo(()=>({reference:T,floating:S}),[T,S]),Z=x.useMemo(()=>{const q={position:n,left:0,top:0};if(!Y.floating)return q;const re=vf(Y.floating,u.x),me=vf(Y.floating,u.y);return a?{...q,transform:"translate("+re+"px, "+me+"px)",...yg(Y.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:re,top:me}},[n,a,Y.floating,u.x,u.y]);return x.useMemo(()=>({...u,update:$,refs:se,elements:Y,floatingStyles:Z}),[u,$,se,Y,Z])}const NC=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:s,padding:r}=typeof e=="function"?e(n):e;return s&&t(s)?s.current!=null?yf({element:s.current,padding:r}).fn(n):{}:s?yf({element:s,padding:r}).fn(n):{}}}},jC=(e,t)=>({...TC(e),options:[e,t]}),DC=(e,t)=>({...CC(e),options:[e,t]}),MC=(e,t)=>({...RC(e),options:[e,t]}),FC=(e,t)=>({...AC(e),options:[e,t]}),LC=(e,t)=>({...EC(e),options:[e,t]}),IC=(e,t)=>({...PC(e),options:[e,t]}),VC=(e,t)=>({...NC(e),options:[e,t]});var BC="Arrow",vg=x.forwardRef((e,t)=>{const{children:n,width:s=10,height:r=5,...i}=e;return y.jsx(rt.svg,{...i,ref:t,width:s,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:y.jsx("polygon",{points:"0,0 30,0 15,10"})})});vg.displayName=BC;var UC=vg;function $C(e){const[t,n]=x.useState(void 0);return us(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const s=new ResizeObserver(r=>{if(!Array.isArray(r)||!r.length)return;const i=r[0];let o,a;if("borderBoxSize"in i){const c=i.borderBoxSize,l=Array.isArray(c)?c[0]:c;o=l.inlineSize,a=l.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return s.observe(e,{box:"border-box"}),()=>s.unobserve(e)}else n(void 0)},[e]),t}var Hl="Popper",[xg,bg]=Bc(Hl),[zC,wg]=xg(Hl),Sg=e=>{const{__scopePopper:t,children:n}=e,[s,r]=x.useState(null);return y.jsx(zC,{scope:t,anchor:s,onAnchorChange:r,children:n})};Sg.displayName=Hl;var _g="PopperAnchor",Tg=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:s,...r}=e,i=wg(_g,n),o=x.useRef(null),a=It(t,o);return x.useEffect(()=>{i.onAnchorChange((s==null?void 0:s.current)||o.current)}),s?null:y.jsx(rt.div,{...r,ref:a})});Tg.displayName=_g;var ql="PopperContent",[WC,HC]=xg(ql),Cg=x.forwardRef((e,t)=>{var ue,ye,Oe,Le,we,G;const{__scopePopper:n,side:s="bottom",sideOffset:r=0,align:i="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:u=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:m,...h}=e,g=wg(ql,n),[v,b]=x.useState(null),w=It(t,de=>b(de)),[T,S]=x.useState(null),E=$C(T),R=(E==null?void 0:E.width)??0,A=(E==null?void 0:E.height)??0,N=s+(i!=="center"?"-"+i:""),D=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},L=Array.isArray(l)?l:[l],j=L.length>0,$={padding:D,boundary:L.filter(ZC),altBoundary:j},{refs:W,floatingStyles:se,placement:Y,isPositioned:Z,middlewareData:q}=OC({strategy:"fixed",placement:N,whileElementsMounted:(...de)=>_C(...de,{animationFrame:p==="always"}),elements:{reference:g.anchor},middleware:[jC({mainAxis:r+A,alignmentAxis:o}),c&&DC({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?MC():void 0,...$}),c&&FC({...$}),LC({...$,apply:({elements:de,rects:Se,availableWidth:Ue,availableHeight:ft})=>{const{width:bt,height:_}=Se.reference,P=de.floating.style;P.setProperty("--radix-popper-available-width",`${Ue}px`),P.setProperty("--radix-popper-available-height",`${ft}px`),P.setProperty("--radix-popper-anchor-width",`${bt}px`),P.setProperty("--radix-popper-anchor-height",`${_}px`)}}),T&&VC({element:T,padding:a}),GC({arrowWidth:R,arrowHeight:A}),f&&IC({strategy:"referenceHidden",...$})]}),[re,me]=Pg(Y),ge=On(m);us(()=>{Z&&(ge==null||ge())},[Z,ge]);const We=(ue=q.arrow)==null?void 0:ue.x,dt=(ye=q.arrow)==null?void 0:ye.y,He=((Oe=q.arrow)==null?void 0:Oe.centerOffset)!==0,[At,Xe]=x.useState();return us(()=>{v&&Xe(window.getComputedStyle(v).zIndex)},[v]),y.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...se,transform:Z?se.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:At,"--radix-popper-transform-origin":[(Le=q.transformOrigin)==null?void 0:Le.x,(we=q.transformOrigin)==null?void 0:we.y].join(" "),...((G=q.hide)==null?void 0:G.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:y.jsx(WC,{scope:n,placedSide:re,onArrowChange:S,arrowX:We,arrowY:dt,shouldHideArrow:He,children:y.jsx(rt.div,{"data-side":re,"data-align":me,...h,ref:w,style:{...h.style,animation:Z?void 0:"none"}})})})});Cg.displayName=ql;var Ag="PopperArrow",qC={top:"bottom",right:"left",bottom:"top",left:"right"},Eg=x.forwardRef(function(t,n){const{__scopePopper:s,...r}=t,i=HC(Ag,s),o=qC[i.placedSide];return y.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:y.jsx(UC,{...r,ref:n,style:{...r.style,display:"block"}})})});Eg.displayName=Ag;function ZC(e){return e!==null}var GC=e=>({name:"transformOrigin",options:e,fn(t){var g,v,b;const{placement:n,rects:s,middlewareData:r}=t,o=((g=r.arrow)==null?void 0:g.centerOffset)!==0,a=o?0:e.arrowWidth,c=o?0:e.arrowHeight,[l,u]=Pg(n),d={start:"0%",center:"50%",end:"100%"}[u],f=(((v=r.arrow)==null?void 0:v.x)??0)+a/2,p=(((b=r.arrow)==null?void 0:b.y)??0)+c/2;let m="",h="";return l==="bottom"?(m=o?d:`${f}px`,h=`${-c}px`):l==="top"?(m=o?d:`${f}px`,h=`${s.floating.height+c}px`):l==="right"?(m=`${-c}px`,h=o?d:`${p}px`):l==="left"&&(m=`${s.floating.width+c}px`,h=o?d:`${p}px`),{data:{x:m,y:h}}}});function Pg(e){const[t,n="center"]=e.split("-");return[t,n]}var KC=Sg,Rg=Tg,QC=Cg,XC=Eg,Zl="Popover",[kg,Qk]=Bc(Zl,[bg]),bi=bg(),[YC,zn]=kg(Zl),Og=e=>{const{__scopePopover:t,children:n,open:s,defaultOpen:r,onOpenChange:i,modal:o=!1}=e,a=bi(t),c=x.useRef(null),[l,u]=x.useState(!1),[d=!1,f]=dh({prop:s,defaultProp:r,onChange:i});return y.jsx(KC,{...a,children:y.jsx(YC,{scope:t,contentId:zi(),triggerRef:c,open:d,onOpenChange:f,onOpenToggle:x.useCallback(()=>f(p=>!p),[f]),hasCustomAnchor:l,onCustomAnchorAdd:x.useCallback(()=>u(!0),[]),onCustomAnchorRemove:x.useCallback(()=>u(!1),[]),modal:o,children:n})})};Og.displayName=Zl;var Ng="PopoverAnchor",JC=x.forwardRef((e,t)=>{const{__scopePopover:n,...s}=e,r=zn(Ng,n),i=bi(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:a}=r;return x.useEffect(()=>(o(),()=>a()),[o,a]),y.jsx(Rg,{...i,...s,ref:t})});JC.displayName=Ng;var jg="PopoverTrigger",Dg=x.forwardRef((e,t)=>{const{__scopePopover:n,...s}=e,r=zn(jg,n),i=bi(n),o=It(t,r.triggerRef),a=y.jsx(rt.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":Vg(r.open),...s,ref:o,onClick:mt(e.onClick,r.onOpenToggle)});return r.hasCustomAnchor?a:y.jsx(Rg,{asChild:!0,...i,children:a})});Dg.displayName=jg;var Gl="PopoverPortal",[eA,tA]=kg(Gl,{forceMount:void 0}),Mg=e=>{const{__scopePopover:t,forceMount:n,children:s,container:r}=e,i=zn(Gl,t);return y.jsx(eA,{scope:t,forceMount:n,children:y.jsx(rr,{present:n||i.open,children:y.jsx(zc,{asChild:!0,container:r,children:s})})})};Mg.displayName=Gl;var Js="PopoverContent",Fg=x.forwardRef((e,t)=>{const n=tA(Js,e.__scopePopover),{forceMount:s=n.forceMount,...r}=e,i=zn(Js,e.__scopePopover);return y.jsx(rr,{present:s||i.open,children:i.modal?y.jsx(nA,{...r,ref:t}):y.jsx(sA,{...r,ref:t})})});Fg.displayName=Js;var nA=x.forwardRef((e,t)=>{const n=zn(Js,e.__scopePopover),s=x.useRef(null),r=It(t,s),i=x.useRef(!1);return x.useEffect(()=>{const o=s.current;if(o)return Th(o)},[]),y.jsx(Wc,{as:sr,allowPinchZoom:!0,children:y.jsx(Lg,{...e,ref:r,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:mt(e.onCloseAutoFocus,o=>{var a;o.preventDefault(),i.current||(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:mt(e.onPointerDownOutside,o=>{const a=o.detail.originalEvent,c=a.button===0&&a.ctrlKey===!0,l=a.button===2||c;i.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:mt(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1})})})}),sA=x.forwardRef((e,t)=>{const n=zn(Js,e.__scopePopover),s=x.useRef(!1),r=x.useRef(!1);return y.jsx(Lg,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o,a;(o=e.onCloseAutoFocus)==null||o.call(e,i),i.defaultPrevented||(s.current||(a=n.triggerRef.current)==null||a.focus(),i.preventDefault()),s.current=!1,r.current=!1},onInteractOutside:i=>{var c,l;(c=e.onInteractOutside)==null||c.call(e,i),i.defaultPrevented||(s.current=!0,i.detail.originalEvent.type==="pointerdown"&&(r.current=!0));const o=i.target;((l=n.triggerRef.current)==null?void 0:l.contains(o))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&r.current&&i.preventDefault()}})}),Lg=x.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:s,onOpenAutoFocus:r,onCloseAutoFocus:i,disableOutsidePointerEvents:o,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:u,...d}=e,f=zn(Js,n),p=bi(n);return mh(),y.jsx($c,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:r,onUnmountAutoFocus:i,children:y.jsx(Uc,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>f.onOpenChange(!1),children:y.jsx(QC,{"data-state":Vg(f.open),role:"dialog",id:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),Ig="PopoverClose",rA=x.forwardRef((e,t)=>{const{__scopePopover:n,...s}=e,r=zn(Ig,n);return y.jsx(rt.button,{type:"button",...s,ref:t,onClick:mt(e.onClick,()=>r.onOpenChange(!1))})});rA.displayName=Ig;var iA="PopoverArrow",oA=x.forwardRef((e,t)=>{const{__scopePopover:n,...s}=e,r=bi(n);return y.jsx(XC,{...r,...s,ref:t})});oA.displayName=iA;function Vg(e){return e?"open":"closed"}var aA=Og,cA=Dg,lA=Mg,Bg=Fg;const Ug=aA,$g=cA,Kl=x.forwardRef(({className:e,align:t="center",sideOffset:n=4,...s},r)=>y.jsx(lA,{children:y.jsx(Bg,{ref:r,align:t,sideOffset:n,className:Q("z-50 w-32 rounded-[2px] s bg-white p-4 text-popover-foreground drop-shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...s})}));Kl.displayName=Bg.displayName;const xf=e=>{let t;const n=new Set,s=(l,u)=>{const d=typeof l=="function"?l(t):l;if(!Object.is(d,t)){const f=t;t=u??(typeof d!="object"||d===null)?d:Object.assign({},t,d),n.forEach(p=>p(t,f))}},r=()=>t,a={setState:s,getState:r,getInitialState:()=>c,subscribe:l=>(n.add(l),()=>n.delete(l))},c=t=e(s,r,a);return a},uA=e=>e?xf(e):xf,dA=e=>e;function fA(e,t=dA){const n=ve.useSyncExternalStore(e.subscribe,()=>t(e.getState()),()=>t(e.getInitialState()));return ve.useDebugValue(n),n}const hA=e=>{const t=uA(e),n=s=>fA(t,s);return Object.assign(n,t),n},pA=e=>hA;function mA(e,t){let n;try{n=e()}catch{return}return{getItem:r=>{var i;const o=c=>c===null?null:JSON.parse(c,void 0),a=(i=n.getItem(r))!=null?i:null;return a instanceof Promise?a.then(o):o(a)},setItem:(r,i)=>n.setItem(r,JSON.stringify(i,void 0)),removeItem:r=>n.removeItem(r)}}const fc=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(s){return fc(s)(n)},catch(s){return this}}}catch(n){return{then(s){return this},catch(s){return fc(s)(n)}}}},gA=(e,t)=>(n,s,r)=>{let i={storage:mA(()=>localStorage),partialize:h=>h,version:0,merge:(h,g)=>({...g,...h}),...t},o=!1;const a=new Set,c=new Set;let l=i.storage;if(!l)return e((...h)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...h)},s,r);const u=()=>{const h=i.partialize({...s()});return l.setItem(i.name,{state:h,version:i.version})},d=r.setState;r.setState=(h,g)=>{d(h,g),u()};const f=e((...h)=>{n(...h),u()},s,r);r.getInitialState=()=>f;let p;const m=()=>{var h,g;if(!l)return;o=!1,a.forEach(b=>{var w;return b((w=s())!=null?w:f)});const v=((g=i.onRehydrateStorage)==null?void 0:g.call(i,(h=s())!=null?h:f))||void 0;return fc(l.getItem.bind(l))(i.name).then(b=>{if(b)if(typeof b.version=="number"&&b.version!==i.version){if(i.migrate){const w=i.migrate(b.state,b.version);return w instanceof Promise?w.then(T=>[!0,T]):[!0,w]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,b.state];return[!1,void 0]}).then(b=>{var w;const[T,S]=b;if(p=i.merge(S,(w=s())!=null?w:f),n(p,!0),T)return u()}).then(()=>{v==null||v(p,void 0),p=s(),o=!0,c.forEach(b=>b(p))}).catch(b=>{v==null||v(void 0,b)})};return r.persist={setOptions:h=>{i={...i,...h},h.storage&&(l=h.storage)},clearStorage:()=>{l==null||l.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>m(),hasHydrated:()=>o,onHydrate:h=>(a.add(h),()=>{a.delete(h)}),onFinishHydration:h=>(c.add(h),()=>{c.delete(h)})},i.skipHydration||m(),p||f},yA=gA;var pt=(e=>(e.EN="en",e.RU="ru",e))(pt||{});const Ve=pA()(yA(e=>({lang:"en",setLang:t=>e({lang:t})}),{name:"lang-storage"})),vA=[{lang:pt.RU},{lang:pt.EN}],bf=({className:e,light:t=!1})=>{const n=Ve(o=>o.lang),s=Ve(o=>o.setLang),[r,i]=x.useState(!1);return y.jsxs(Ug,{open:r,onOpenChange:()=>i(!r),children:[y.jsxs($g,{className:Q("flex text-white items-center gap-2",t?"text-white":"text-black",e),children:[y.jsx("img",{src:n===pt.RU?"/ru.svg":"/english.svg",alt:""}),n===pt.RU?"Ру":"En",y.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.23021 8.01443C4.35919 7.70304 4.66305 7.5 5.00011 7.5H15.0001C15.3372 7.5 15.641 7.70304 15.77 8.01443C15.899 8.32583 15.8277 8.68426 15.5894 8.92259L10.5894 13.9226C10.2639 14.248 9.73629 14.248 9.41085 13.9226L4.41085 8.92259C4.17252 8.68426 4.10122 8.32583 4.23021 8.01443ZM7.01195 9.16667L10.0001 12.1548L12.9883 9.16667H7.01195Z",fill:t?"#fff":"#000"})})]}),y.jsx(Kl,{className:"flex flex-col gap-6",children:vA.filter(o=>o.lang!==n).map((o,a)=>y.jsxs("div",{onClick:()=>{s(o.lang),i(!1)},className:"flex gap-3 py-1 items-center cursor-pointer",children:[y.jsx("img",{src:o.lang===pt.RU?"/ru.svg":"/english.svg",alt:"flag"}),y.jsx("h5",{children:o.lang===pt.RU?"Русский":"English"})]},a))})]})},xA=Uh,bA=$h,wA=zh,zg=x.forwardRef(({className:e,...t},n)=>y.jsx(Ro,{ref:n,className:Q("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));zg.displayName=Ro.displayName;const Wg=x.forwardRef(({className:e,children:t,...n},s)=>y.jsxs(wA,{children:[y.jsx(zg,{}),y.jsxs(ko,{ref:s,className:Q("fixed left-[50%] top-[50%] z-50 grid 2xl:w-[40%] lg:w-1/2 w-[70%] translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background md:p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...n,children:[t,y.jsxs(Kc,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[y.jsx(Gh,{className:"size-6"}),y.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Wg.displayName=ko.displayName;const SA=x.forwardRef(({className:e,...t},n)=>y.jsx(Oo,{ref:n,className:Q("text-lg font-semibold leading-none tracking-tight",e),...t}));SA.displayName=Oo.displayName;const _A=x.forwardRef(({className:e,...t},n)=>y.jsx(No,{ref:n,className:Q("text-sm text-muted-foreground",e),...t}));_A.displayName=No.displayName;const wf=(e,t,n)=>{if(e&&"reportValidity"in e){const s=V(n,t);e.setCustomValidity(s&&s.message||""),e.reportValidity()}},Hg=(e,t)=>{for(const n in t.fields){const s=t.fields[n];s&&s.ref&&"reportValidity"in s.ref?wf(s.ref,n,e):s.refs&&s.refs.forEach(r=>wf(r,n,e))}},TA=(e,t)=>{t.shouldUseNativeValidation&&Hg(e,t);const n={};for(const s in e){const r=V(t.fields,s),i=Object.assign(e[s]||{},{ref:r&&r.ref});if(CA(t.names||Object.keys(e),s)){const o=Object.assign({},V(n,s));xe(o,"root",i),xe(n,s,o)}else xe(n,s,i)}return n},CA=(e,t)=>e.some(n=>n.startsWith(t+"."));var AA=function(e,t){for(var n={};e.length;){var s=e[0],r=s.code,i=s.message,o=s.path.join(".");if(!n[o])if("unionErrors"in s){var a=s.unionErrors[0].errors[0];n[o]={message:a.message,type:a.code}}else n[o]={message:i,type:r};if("unionErrors"in s&&s.unionErrors.forEach(function(u){return u.errors.forEach(function(d){return e.push(d)})}),t){var c=n[o].types,l=c&&c[s.code];n[o]=Hm(o,t,n,r,l?[].concat(l,s.message):s.message)}e.shift()}return n},EA=function(e,t,n){return n===void 0&&(n={}),function(s,r,i){try{return Promise.resolve(function(o,a){try{var c=Promise.resolve(e[n.mode==="sync"?"parse":"parseAsync"](s,t)).then(function(l){return i.shouldUseNativeValidation&&Hg({},i),{errors:{},values:n.raw?s:l}})}catch(l){return a(l)}return c&&c.then?c.then(void 0,a):c}(0,function(o){if(function(a){return Array.isArray(a==null?void 0:a.errors)}(o))return{values:{},errors:TA(AA(o.errors,!i.shouldUseNativeValidation&&i.criteriaMode==="all"),i)};throw o}))}catch(o){return Promise.reject(o)}}},pe;(function(e){e.assertEqual=r=>r;function t(r){}e.assertIs=t;function n(r){throw new Error}e.assertNever=n,e.arrayToEnum=r=>{const i={};for(const o of r)i[o]=o;return i},e.getValidEnumValues=r=>{const i=e.objectKeys(r).filter(a=>typeof r[r[a]]!="number"),o={};for(const a of i)o[a]=r[a];return e.objectValues(o)},e.objectValues=r=>e.objectKeys(r).map(function(i){return r[i]}),e.objectKeys=typeof Object.keys=="function"?r=>Object.keys(r):r=>{const i=[];for(const o in r)Object.prototype.hasOwnProperty.call(r,o)&&i.push(o);return i},e.find=(r,i)=>{for(const o of r)if(i(o))return o},e.isInteger=typeof Number.isInteger=="function"?r=>Number.isInteger(r):r=>typeof r=="number"&&isFinite(r)&&Math.floor(r)===r;function s(r,i=" | "){return r.map(o=>typeof o=="string"?`'${o}'`:o).join(i)}e.joinValues=s,e.jsonStringifyReplacer=(r,i)=>typeof i=="bigint"?i.toString():i})(pe||(pe={}));var hc;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(hc||(hc={}));const z=pe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),un=e=>{switch(typeof e){case"undefined":return z.undefined;case"string":return z.string;case"number":return isNaN(e)?z.nan:z.number;case"boolean":return z.boolean;case"function":return z.function;case"bigint":return z.bigint;case"symbol":return z.symbol;case"object":return Array.isArray(e)?z.array:e===null?z.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?z.promise:typeof Map<"u"&&e instanceof Map?z.map:typeof Set<"u"&&e instanceof Set?z.set:typeof Date<"u"&&e instanceof Date?z.date:z.object;default:return z.unknown}},M=pe.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),PA=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class vt extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=s=>{this.issues=[...this.issues,s]},this.addIssues=(s=[])=>{this.issues=[...this.issues,...s]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(i){return i.message},s={_errors:[]},r=i=>{for(const o of i.issues)if(o.code==="invalid_union")o.unionErrors.map(r);else if(o.code==="invalid_return_type")r(o.returnTypeError);else if(o.code==="invalid_arguments")r(o.argumentsError);else if(o.path.length===0)s._errors.push(n(o));else{let a=s,c=0;for(;cn.message){const n={},s=[];for(const r of this.issues)r.path.length>0?(n[r.path[0]]=n[r.path[0]]||[],n[r.path[0]].push(t(r))):s.push(t(r));return{formErrors:s,fieldErrors:n}}get formErrors(){return this.flatten()}}vt.create=e=>new vt(e);const er=(e,t)=>{let n;switch(e.code){case M.invalid_type:e.received===z.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case M.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,pe.jsonStringifyReplacer)}`;break;case M.unrecognized_keys:n=`Unrecognized key(s) in object: ${pe.joinValues(e.keys,", ")}`;break;case M.invalid_union:n="Invalid input";break;case M.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${pe.joinValues(e.options)}`;break;case M.invalid_enum_value:n=`Invalid enum value. Expected ${pe.joinValues(e.options)}, received '${e.received}'`;break;case M.invalid_arguments:n="Invalid function arguments";break;case M.invalid_return_type:n="Invalid function return type";break;case M.invalid_date:n="Invalid date";break;case M.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:pe.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case M.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case M.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case M.custom:n="Invalid input";break;case M.invalid_intersection_types:n="Intersection results could not be merged";break;case M.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case M.not_finite:n="Number must be finite";break;default:n=t.defaultError,pe.assertNever(e)}return{message:n}};let qg=er;function RA(e){qg=e}function yo(){return qg}const vo=e=>{const{data:t,path:n,errorMaps:s,issueData:r}=e,i=[...n,...r.path||[]],o={...r,path:i};if(r.message!==void 0)return{...r,path:i,message:r.message};let a="";const c=s.filter(l=>!!l).slice().reverse();for(const l of c)a=l(o,{data:t,defaultError:a}).message;return{...r,path:i,message:a}},kA=[];function U(e,t){const n=yo(),s=vo({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===er?void 0:er].filter(r=>!!r)});e.common.issues.push(s)}class Qe{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const s=[];for(const r of n){if(r.status==="aborted")return ne;r.status==="dirty"&&t.dirty(),s.push(r.value)}return{status:t.value,value:s}}static async mergeObjectAsync(t,n){const s=[];for(const r of n){const i=await r.key,o=await r.value;s.push({key:i,value:o})}return Qe.mergeObjectSync(t,s)}static mergeObjectSync(t,n){const s={};for(const r of n){const{key:i,value:o}=r;if(i.status==="aborted"||o.status==="aborted")return ne;i.status==="dirty"&&t.dirty(),o.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof o.value<"u"||r.alwaysSet)&&(s[i.value]=o.value)}return{status:t.value,value:s}}}const ne=Object.freeze({status:"aborted"}),ks=e=>({status:"dirty",value:e}),nt=e=>({status:"valid",value:e}),pc=e=>e.status==="aborted",mc=e=>e.status==="dirty",hs=e=>e.status==="valid",Hr=e=>typeof Promise<"u"&&e instanceof Promise;function xo(e,t,n,s){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function Zg(e,t,n,s,r){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,n),n}var K;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(K||(K={}));var Ar,Er;class nn{constructor(t,n,s,r){this._cachedPath=[],this.parent=t,this.data=n,this._path=s,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const Sf=(e,t)=>{if(hs(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new vt(e.common.issues);return this._error=n,this._error}}};function oe(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:s,description:r}=e;if(t&&(n||s))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:r}:{errorMap:(o,a)=>{var c,l;const{message:u}=e;return o.code==="invalid_enum_value"?{message:u??a.defaultError}:typeof a.data>"u"?{message:(c=u??s)!==null&&c!==void 0?c:a.defaultError}:o.code!=="invalid_type"?{message:a.defaultError}:{message:(l=u??n)!==null&&l!==void 0?l:a.defaultError}},description:r}}class le{get description(){return this._def.description}_getType(t){return un(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:un(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Qe,ctx:{common:t.parent.common,data:t.data,parsedType:un(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(Hr(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const s=this.safeParse(t,n);if(s.success)return s.data;throw s.error}safeParse(t,n){var s;const r={common:{issues:[],async:(s=n==null?void 0:n.async)!==null&&s!==void 0?s:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:un(t)},i=this._parseSync({data:t,path:r.path,parent:r});return Sf(r,i)}"~validate"(t){var n,s;const r={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:un(t)};if(!this["~standard"].async)try{const i=this._parseSync({data:t,path:[],parent:r});return hs(i)?{value:i.value}:{issues:r.common.issues}}catch(i){!((s=(n=i==null?void 0:i.message)===null||n===void 0?void 0:n.toLowerCase())===null||s===void 0)&&s.includes("encountered")&&(this["~standard"].async=!0),r.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:r}).then(i=>hs(i)?{value:i.value}:{issues:r.common.issues})}async parseAsync(t,n){const s=await this.safeParseAsync(t,n);if(s.success)return s.data;throw s.error}async safeParseAsync(t,n){const s={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:un(t)},r=this._parse({data:t,path:s.path,parent:s}),i=await(Hr(r)?r:Promise.resolve(r));return Sf(s,i)}refine(t,n){const s=r=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(r):n;return this._refinement((r,i)=>{const o=t(r),a=()=>i.addIssue({code:M.custom,...s(r)});return typeof Promise<"u"&&o instanceof Promise?o.then(c=>c?!0:(a(),!1)):o?!0:(a(),!1)})}refinement(t,n){return this._refinement((s,r)=>t(s)?!0:(r.addIssue(typeof n=="function"?n(s,r):n),!1))}_refinement(t){return new Lt({schema:this,typeName:ee.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return en.create(this,this._def)}nullable(){return Bn.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return jt.create(this)}promise(){return nr.create(this,this._def)}or(t){return Kr.create([this,t],this._def)}and(t){return Qr.create(this,t,this._def)}transform(t){return new Lt({...oe(this._def),schema:this,typeName:ee.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new ti({...oe(this._def),innerType:this,defaultValue:n,typeName:ee.ZodDefault})}brand(){return new Ql({typeName:ee.ZodBranded,type:this,...oe(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new ni({...oe(this._def),innerType:this,catchValue:n,typeName:ee.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return wi.create(this,t)}readonly(){return si.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const OA=/^c[^\s-]{8,}$/i,NA=/^[0-9a-z]+$/,jA=/^[0-9A-HJKMNP-TV-Z]{26}$/i,DA=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,MA=/^[a-z0-9_-]{21}$/i,FA=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,LA=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,IA=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,VA="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let Ra;const BA=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|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}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,WA=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,HA=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Gg="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",qA=new RegExp(`^${Gg}$`);function Kg(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function ZA(e){return new RegExp(`^${Kg(e)}$`)}function Qg(e){let t=`${Gg}T${Kg(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function GA(e,t){return!!((t==="v4"||!t)&&BA.test(e)||(t==="v6"||!t)&&$A.test(e))}function KA(e,t){if(!FA.test(e))return!1;try{const[n]=e.split("."),s=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),r=JSON.parse(atob(s));return!(typeof r!="object"||r===null||!r.typ||!r.alg||t&&r.alg!==t)}catch{return!1}}function QA(e,t){return!!((t==="v4"||!t)&&UA.test(e)||(t==="v6"||!t)&&zA.test(e))}class Nt extends le{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==z.string){const i=this._getOrReturnCtx(t);return U(i,{code:M.invalid_type,expected:z.string,received:i.parsedType}),ne}const s=new Qe;let r;for(const i of this._def.checks)if(i.kind==="min")t.data.lengthi.value&&(r=this._getOrReturnCtx(t,r),U(r,{code:M.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),s.dirty());else if(i.kind==="length"){const o=t.data.length>i.value,a=t.data.lengtht.test(r),{validation:n,code:M.invalid_string,...K.errToObj(s)})}_addCheck(t){return new Nt({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...K.errToObj(t)})}url(t){return this._addCheck({kind:"url",...K.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...K.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...K.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...K.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...K.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...K.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...K.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...K.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...K.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...K.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...K.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...K.errToObj(t)})}datetime(t){var n,s;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(n=t==null?void 0:t.offset)!==null&&n!==void 0?n:!1,local:(s=t==null?void 0:t.local)!==null&&s!==void 0?s:!1,...K.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...K.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...K.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...K.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...K.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...K.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...K.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...K.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...K.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...K.errToObj(n)})}nonempty(t){return this.min(1,K.errToObj(t))}trim(){return new Nt({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Nt({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Nt({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new Nt({checks:[],typeName:ee.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...oe(e)})};function XA(e,t){const n=(e.toString().split(".")[1]||"").length,s=(t.toString().split(".")[1]||"").length,r=n>s?n:s,i=parseInt(e.toFixed(r).replace(".","")),o=parseInt(t.toFixed(r).replace(".",""));return i%o/Math.pow(10,r)}class Ln extends le{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==z.number){const i=this._getOrReturnCtx(t);return U(i,{code:M.invalid_type,expected:z.number,received:i.parsedType}),ne}let s;const r=new Qe;for(const i of this._def.checks)i.kind==="int"?pe.isInteger(t.data)||(s=this._getOrReturnCtx(t,s),U(s,{code:M.invalid_type,expected:"integer",received:"float",message:i.message}),r.dirty()):i.kind==="min"?(i.inclusive?t.datai.value:t.data>=i.value)&&(s=this._getOrReturnCtx(t,s),U(s,{code:M.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="multipleOf"?XA(t.data,i.value)!==0&&(s=this._getOrReturnCtx(t,s),U(s,{code:M.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(s=this._getOrReturnCtx(t,s),U(s,{code:M.not_finite,message:i.message}),r.dirty()):pe.assertNever(i);return{status:r.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,K.toString(n))}gt(t,n){return this.setLimit("min",t,!1,K.toString(n))}lte(t,n){return this.setLimit("max",t,!0,K.toString(n))}lt(t,n){return this.setLimit("max",t,!1,K.toString(n))}setLimit(t,n,s,r){return new Ln({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:s,message:K.toString(r)}]})}_addCheck(t){return new Ln({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:K.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:K.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:K.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:K.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:K.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:K.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:K.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:K.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:K.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuet.kind==="int"||t.kind==="multipleOf"&&pe.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const s of this._def.checks){if(s.kind==="finite"||s.kind==="int"||s.kind==="multipleOf")return!0;s.kind==="min"?(n===null||s.value>n)&&(n=s.value):s.kind==="max"&&(t===null||s.valuenew Ln({checks:[],typeName:ee.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...oe(e)});class In extends le{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==z.bigint)return this._getInvalidInput(t);let s;const r=new Qe;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.datai.value:t.data>=i.value)&&(s=this._getOrReturnCtx(t,s),U(s,{code:M.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),r.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(s=this._getOrReturnCtx(t,s),U(s,{code:M.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):pe.assertNever(i);return{status:r.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return U(n,{code:M.invalid_type,expected:z.bigint,received:n.parsedType}),ne}gte(t,n){return this.setLimit("min",t,!0,K.toString(n))}gt(t,n){return this.setLimit("min",t,!1,K.toString(n))}lte(t,n){return this.setLimit("max",t,!0,K.toString(n))}lt(t,n){return this.setLimit("max",t,!1,K.toString(n))}setLimit(t,n,s,r){return new In({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:s,message:K.toString(r)}]})}_addCheck(t){return new In({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:K.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:K.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:K.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:K.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:K.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new In({checks:[],typeName:ee.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...oe(e)})};class qr extends le{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==z.boolean){const s=this._getOrReturnCtx(t);return U(s,{code:M.invalid_type,expected:z.boolean,received:s.parsedType}),ne}return nt(t.data)}}qr.create=e=>new qr({typeName:ee.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...oe(e)});class ps extends le{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==z.date){const i=this._getOrReturnCtx(t);return U(i,{code:M.invalid_type,expected:z.date,received:i.parsedType}),ne}if(isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return U(i,{code:M.invalid_date}),ne}const s=new Qe;let r;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()i.value&&(r=this._getOrReturnCtx(t,r),U(r,{code:M.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),s.dirty()):pe.assertNever(i);return{status:s.value,value:new Date(t.data.getTime())}}_addCheck(t){return new ps({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:K.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:K.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuenew ps({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:ee.ZodDate,...oe(e)});class bo extends le{_parse(t){if(this._getType(t)!==z.symbol){const s=this._getOrReturnCtx(t);return U(s,{code:M.invalid_type,expected:z.symbol,received:s.parsedType}),ne}return nt(t.data)}}bo.create=e=>new bo({typeName:ee.ZodSymbol,...oe(e)});class Zr extends le{_parse(t){if(this._getType(t)!==z.undefined){const s=this._getOrReturnCtx(t);return U(s,{code:M.invalid_type,expected:z.undefined,received:s.parsedType}),ne}return nt(t.data)}}Zr.create=e=>new Zr({typeName:ee.ZodUndefined,...oe(e)});class Gr extends le{_parse(t){if(this._getType(t)!==z.null){const s=this._getOrReturnCtx(t);return U(s,{code:M.invalid_type,expected:z.null,received:s.parsedType}),ne}return nt(t.data)}}Gr.create=e=>new Gr({typeName:ee.ZodNull,...oe(e)});class tr extends le{constructor(){super(...arguments),this._any=!0}_parse(t){return nt(t.data)}}tr.create=e=>new tr({typeName:ee.ZodAny,...oe(e)});class cs extends le{constructor(){super(...arguments),this._unknown=!0}_parse(t){return nt(t.data)}}cs.create=e=>new cs({typeName:ee.ZodUnknown,...oe(e)});class yn extends le{_parse(t){const n=this._getOrReturnCtx(t);return U(n,{code:M.invalid_type,expected:z.never,received:n.parsedType}),ne}}yn.create=e=>new yn({typeName:ee.ZodNever,...oe(e)});class wo extends le{_parse(t){if(this._getType(t)!==z.undefined){const s=this._getOrReturnCtx(t);return U(s,{code:M.invalid_type,expected:z.void,received:s.parsedType}),ne}return nt(t.data)}}wo.create=e=>new wo({typeName:ee.ZodVoid,...oe(e)});class jt extends le{_parse(t){const{ctx:n,status:s}=this._processInputParams(t),r=this._def;if(n.parsedType!==z.array)return U(n,{code:M.invalid_type,expected:z.array,received:n.parsedType}),ne;if(r.exactLength!==null){const o=n.data.length>r.exactLength.value,a=n.data.lengthr.maxLength.value&&(U(n,{code:M.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),s.dirty()),n.common.async)return Promise.all([...n.data].map((o,a)=>r.type._parseAsync(new nn(n,o,n.path,a)))).then(o=>Qe.mergeArray(s,o));const i=[...n.data].map((o,a)=>r.type._parseSync(new nn(n,o,n.path,a)));return Qe.mergeArray(s,i)}get element(){return this._def.type}min(t,n){return new jt({...this._def,minLength:{value:t,message:K.toString(n)}})}max(t,n){return new jt({...this._def,maxLength:{value:t,message:K.toString(n)}})}length(t,n){return new jt({...this._def,exactLength:{value:t,message:K.toString(n)}})}nonempty(t){return this.min(1,t)}}jt.create=(e,t)=>new jt({type:e,minLength:null,maxLength:null,exactLength:null,typeName:ee.ZodArray,...oe(t)});function Ts(e){if(e instanceof Ae){const t={};for(const n in e.shape){const s=e.shape[n];t[n]=en.create(Ts(s))}return new Ae({...e._def,shape:()=>t})}else return e instanceof jt?new jt({...e._def,type:Ts(e.element)}):e instanceof en?en.create(Ts(e.unwrap())):e instanceof Bn?Bn.create(Ts(e.unwrap())):e instanceof sn?sn.create(e.items.map(t=>Ts(t))):e}class Ae extends le{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=pe.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==z.object){const l=this._getOrReturnCtx(t);return U(l,{code:M.invalid_type,expected:z.object,received:l.parsedType}),ne}const{status:s,ctx:r}=this._processInputParams(t),{shape:i,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof yn&&this._def.unknownKeys==="strip"))for(const l in r.data)o.includes(l)||a.push(l);const c=[];for(const l of o){const u=i[l],d=r.data[l];c.push({key:{status:"valid",value:l},value:u._parse(new nn(r,d,r.path,l)),alwaysSet:l in r.data})}if(this._def.catchall instanceof yn){const l=this._def.unknownKeys;if(l==="passthrough")for(const u of a)c.push({key:{status:"valid",value:u},value:{status:"valid",value:r.data[u]}});else if(l==="strict")a.length>0&&(U(r,{code:M.unrecognized_keys,keys:a}),s.dirty());else if(l!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const l=this._def.catchall;for(const u of a){const d=r.data[u];c.push({key:{status:"valid",value:u},value:l._parse(new nn(r,d,r.path,u)),alwaysSet:u in r.data})}}return r.common.async?Promise.resolve().then(async()=>{const l=[];for(const u of c){const d=await u.key,f=await u.value;l.push({key:d,value:f,alwaysSet:u.alwaysSet})}return l}).then(l=>Qe.mergeObjectSync(s,l)):Qe.mergeObjectSync(s,c)}get shape(){return this._def.shape()}strict(t){return K.errToObj,new Ae({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,s)=>{var r,i,o,a;const c=(o=(i=(r=this._def).errorMap)===null||i===void 0?void 0:i.call(r,n,s).message)!==null&&o!==void 0?o:s.defaultError;return n.code==="unrecognized_keys"?{message:(a=K.errToObj(t).message)!==null&&a!==void 0?a:c}:{message:c}}}:{}})}strip(){return new Ae({...this._def,unknownKeys:"strip"})}passthrough(){return new Ae({...this._def,unknownKeys:"passthrough"})}extend(t){return new Ae({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Ae({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:ee.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Ae({...this._def,catchall:t})}pick(t){const n={};return pe.objectKeys(t).forEach(s=>{t[s]&&this.shape[s]&&(n[s]=this.shape[s])}),new Ae({...this._def,shape:()=>n})}omit(t){const n={};return pe.objectKeys(this.shape).forEach(s=>{t[s]||(n[s]=this.shape[s])}),new Ae({...this._def,shape:()=>n})}deepPartial(){return Ts(this)}partial(t){const n={};return pe.objectKeys(this.shape).forEach(s=>{const r=this.shape[s];t&&!t[s]?n[s]=r:n[s]=r.optional()}),new Ae({...this._def,shape:()=>n})}required(t){const n={};return pe.objectKeys(this.shape).forEach(s=>{if(t&&!t[s])n[s]=this.shape[s];else{let i=this.shape[s];for(;i instanceof en;)i=i._def.innerType;n[s]=i}}),new Ae({...this._def,shape:()=>n})}keyof(){return Xg(pe.objectKeys(this.shape))}}Ae.create=(e,t)=>new Ae({shape:()=>e,unknownKeys:"strip",catchall:yn.create(),typeName:ee.ZodObject,...oe(t)});Ae.strictCreate=(e,t)=>new Ae({shape:()=>e,unknownKeys:"strict",catchall:yn.create(),typeName:ee.ZodObject,...oe(t)});Ae.lazycreate=(e,t)=>new Ae({shape:e,unknownKeys:"strip",catchall:yn.create(),typeName:ee.ZodObject,...oe(t)});class Kr extends le{_parse(t){const{ctx:n}=this._processInputParams(t),s=this._def.options;function r(i){for(const a of i)if(a.result.status==="valid")return a.result;for(const a of i)if(a.result.status==="dirty")return n.common.issues.push(...a.ctx.common.issues),a.result;const o=i.map(a=>new vt(a.ctx.common.issues));return U(n,{code:M.invalid_union,unionErrors:o}),ne}if(n.common.async)return Promise.all(s.map(async i=>{const o={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:o}),ctx:o}})).then(r);{let i;const o=[];for(const c of s){const l={...n,common:{...n.common,issues:[]},parent:null},u=c._parseSync({data:n.data,path:n.path,parent:l});if(u.status==="valid")return u;u.status==="dirty"&&!i&&(i={result:u,ctx:l}),l.common.issues.length&&o.push(l.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const a=o.map(c=>new vt(c));return U(n,{code:M.invalid_union,unionErrors:a}),ne}}get options(){return this._def.options}}Kr.create=(e,t)=>new Kr({options:e,typeName:ee.ZodUnion,...oe(t)});const cn=e=>e instanceof Yr?cn(e.schema):e instanceof Lt?cn(e.innerType()):e instanceof Jr?[e.value]:e instanceof Vn?e.options:e instanceof ei?pe.objectValues(e.enum):e instanceof ti?cn(e._def.innerType):e instanceof Zr?[void 0]:e instanceof Gr?[null]:e instanceof en?[void 0,...cn(e.unwrap())]:e instanceof Bn?[null,...cn(e.unwrap())]:e instanceof Ql||e instanceof si?cn(e.unwrap()):e instanceof ni?cn(e._def.innerType):[];class qo extends le{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==z.object)return U(n,{code:M.invalid_type,expected:z.object,received:n.parsedType}),ne;const s=this.discriminator,r=n.data[s],i=this.optionsMap.get(r);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(U(n,{code:M.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[s]}),ne)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,s){const r=new Map;for(const i of n){const o=cn(i.shape[t]);if(!o.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const a of o){if(r.has(a))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(a)}`);r.set(a,i)}}return new qo({typeName:ee.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:r,...oe(s)})}}function gc(e,t){const n=un(e),s=un(t);if(e===t)return{valid:!0,data:e};if(n===z.object&&s===z.object){const r=pe.objectKeys(t),i=pe.objectKeys(e).filter(a=>r.indexOf(a)!==-1),o={...e,...t};for(const a of i){const c=gc(e[a],t[a]);if(!c.valid)return{valid:!1};o[a]=c.data}return{valid:!0,data:o}}else if(n===z.array&&s===z.array){if(e.length!==t.length)return{valid:!1};const r=[];for(let i=0;i{if(pc(i)||pc(o))return ne;const a=gc(i.value,o.value);return a.valid?((mc(i)||mc(o))&&n.dirty(),{status:n.value,value:a.data}):(U(s,{code:M.invalid_intersection_types}),ne)};return s.common.async?Promise.all([this._def.left._parseAsync({data:s.data,path:s.path,parent:s}),this._def.right._parseAsync({data:s.data,path:s.path,parent:s})]).then(([i,o])=>r(i,o)):r(this._def.left._parseSync({data:s.data,path:s.path,parent:s}),this._def.right._parseSync({data:s.data,path:s.path,parent:s}))}}Qr.create=(e,t,n)=>new Qr({left:e,right:t,typeName:ee.ZodIntersection,...oe(n)});class sn extends le{_parse(t){const{status:n,ctx:s}=this._processInputParams(t);if(s.parsedType!==z.array)return U(s,{code:M.invalid_type,expected:z.array,received:s.parsedType}),ne;if(s.data.lengththis._def.items.length&&(U(s,{code:M.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...s.data].map((o,a)=>{const c=this._def.items[a]||this._def.rest;return c?c._parse(new nn(s,o,s.path,a)):null}).filter(o=>!!o);return s.common.async?Promise.all(i).then(o=>Qe.mergeArray(n,o)):Qe.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new sn({...this._def,rest:t})}}sn.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new sn({items:e,typeName:ee.ZodTuple,rest:null,...oe(t)})};class Xr extends le{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:s}=this._processInputParams(t);if(s.parsedType!==z.object)return U(s,{code:M.invalid_type,expected:z.object,received:s.parsedType}),ne;const r=[],i=this._def.keyType,o=this._def.valueType;for(const a in s.data)r.push({key:i._parse(new nn(s,a,s.path,a)),value:o._parse(new nn(s,s.data[a],s.path,a)),alwaysSet:a in s.data});return s.common.async?Qe.mergeObjectAsync(n,r):Qe.mergeObjectSync(n,r)}get element(){return this._def.valueType}static create(t,n,s){return n instanceof le?new Xr({keyType:t,valueType:n,typeName:ee.ZodRecord,...oe(s)}):new Xr({keyType:Nt.create(),valueType:t,typeName:ee.ZodRecord,...oe(n)})}}class So extends le{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:s}=this._processInputParams(t);if(s.parsedType!==z.map)return U(s,{code:M.invalid_type,expected:z.map,received:s.parsedType}),ne;const r=this._def.keyType,i=this._def.valueType,o=[...s.data.entries()].map(([a,c],l)=>({key:r._parse(new nn(s,a,s.path,[l,"key"])),value:i._parse(new nn(s,c,s.path,[l,"value"]))}));if(s.common.async){const a=new Map;return Promise.resolve().then(async()=>{for(const c of o){const l=await c.key,u=await c.value;if(l.status==="aborted"||u.status==="aborted")return ne;(l.status==="dirty"||u.status==="dirty")&&n.dirty(),a.set(l.value,u.value)}return{status:n.value,value:a}})}else{const a=new Map;for(const c of o){const l=c.key,u=c.value;if(l.status==="aborted"||u.status==="aborted")return ne;(l.status==="dirty"||u.status==="dirty")&&n.dirty(),a.set(l.value,u.value)}return{status:n.value,value:a}}}}So.create=(e,t,n)=>new So({valueType:t,keyType:e,typeName:ee.ZodMap,...oe(n)});class ms extends le{_parse(t){const{status:n,ctx:s}=this._processInputParams(t);if(s.parsedType!==z.set)return U(s,{code:M.invalid_type,expected:z.set,received:s.parsedType}),ne;const r=this._def;r.minSize!==null&&s.data.sizer.maxSize.value&&(U(s,{code:M.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),n.dirty());const i=this._def.valueType;function o(c){const l=new Set;for(const u of c){if(u.status==="aborted")return ne;u.status==="dirty"&&n.dirty(),l.add(u.value)}return{status:n.value,value:l}}const a=[...s.data.values()].map((c,l)=>i._parse(new nn(s,c,s.path,l)));return s.common.async?Promise.all(a).then(c=>o(c)):o(a)}min(t,n){return new ms({...this._def,minSize:{value:t,message:K.toString(n)}})}max(t,n){return new ms({...this._def,maxSize:{value:t,message:K.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}ms.create=(e,t)=>new ms({valueType:e,minSize:null,maxSize:null,typeName:ee.ZodSet,...oe(t)});class Ds extends le{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==z.function)return U(n,{code:M.invalid_type,expected:z.function,received:n.parsedType}),ne;function s(a,c){return vo({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,yo(),er].filter(l=>!!l),issueData:{code:M.invalid_arguments,argumentsError:c}})}function r(a,c){return vo({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,yo(),er].filter(l=>!!l),issueData:{code:M.invalid_return_type,returnTypeError:c}})}const i={errorMap:n.common.contextualErrorMap},o=n.data;if(this._def.returns instanceof nr){const a=this;return nt(async function(...c){const l=new vt([]),u=await a._def.args.parseAsync(c,i).catch(p=>{throw l.addIssue(s(c,p)),l}),d=await Reflect.apply(o,this,u);return await a._def.returns._def.type.parseAsync(d,i).catch(p=>{throw l.addIssue(r(d,p)),l})})}else{const a=this;return nt(function(...c){const l=a._def.args.safeParse(c,i);if(!l.success)throw new vt([s(c,l.error)]);const u=Reflect.apply(o,this,l.data),d=a._def.returns.safeParse(u,i);if(!d.success)throw new vt([r(u,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new Ds({...this._def,args:sn.create(t).rest(cs.create())})}returns(t){return new Ds({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,s){return new Ds({args:t||sn.create([]).rest(cs.create()),returns:n||cs.create(),typeName:ee.ZodFunction,...oe(s)})}}class Yr extends le{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}Yr.create=(e,t)=>new Yr({getter:e,typeName:ee.ZodLazy,...oe(t)});class Jr extends le{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return U(n,{received:n.data,code:M.invalid_literal,expected:this._def.value}),ne}return{status:"valid",value:t.data}}get value(){return this._def.value}}Jr.create=(e,t)=>new Jr({value:e,typeName:ee.ZodLiteral,...oe(t)});function Xg(e,t){return new Vn({values:e,typeName:ee.ZodEnum,...oe(t)})}class Vn extends le{constructor(){super(...arguments),Ar.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),s=this._def.values;return U(n,{expected:pe.joinValues(s),received:n.parsedType,code:M.invalid_type}),ne}if(xo(this,Ar)||Zg(this,Ar,new Set(this._def.values)),!xo(this,Ar).has(t.data)){const n=this._getOrReturnCtx(t),s=this._def.values;return U(n,{received:n.data,code:M.invalid_enum_value,options:s}),ne}return nt(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return Vn.create(t,{...this._def,...n})}exclude(t,n=this._def){return Vn.create(this.options.filter(s=>!t.includes(s)),{...this._def,...n})}}Ar=new WeakMap;Vn.create=Xg;class ei extends le{constructor(){super(...arguments),Er.set(this,void 0)}_parse(t){const n=pe.getValidEnumValues(this._def.values),s=this._getOrReturnCtx(t);if(s.parsedType!==z.string&&s.parsedType!==z.number){const r=pe.objectValues(n);return U(s,{expected:pe.joinValues(r),received:s.parsedType,code:M.invalid_type}),ne}if(xo(this,Er)||Zg(this,Er,new Set(pe.getValidEnumValues(this._def.values))),!xo(this,Er).has(t.data)){const r=pe.objectValues(n);return U(s,{received:s.data,code:M.invalid_enum_value,options:r}),ne}return nt(t.data)}get enum(){return this._def.values}}Er=new WeakMap;ei.create=(e,t)=>new ei({values:e,typeName:ee.ZodNativeEnum,...oe(t)});class nr extends le{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==z.promise&&n.common.async===!1)return U(n,{code:M.invalid_type,expected:z.promise,received:n.parsedType}),ne;const s=n.parsedType===z.promise?n.data:Promise.resolve(n.data);return nt(s.then(r=>this._def.type.parseAsync(r,{path:n.path,errorMap:n.common.contextualErrorMap})))}}nr.create=(e,t)=>new nr({type:e,typeName:ee.ZodPromise,...oe(t)});class Lt extends le{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ee.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:s}=this._processInputParams(t),r=this._def.effect||null,i={addIssue:o=>{U(s,o),o.fatal?n.abort():n.dirty()},get path(){return s.path}};if(i.addIssue=i.addIssue.bind(i),r.type==="preprocess"){const o=r.transform(s.data,i);if(s.common.async)return Promise.resolve(o).then(async a=>{if(n.value==="aborted")return ne;const c=await this._def.schema._parseAsync({data:a,path:s.path,parent:s});return c.status==="aborted"?ne:c.status==="dirty"||n.value==="dirty"?ks(c.value):c});{if(n.value==="aborted")return ne;const a=this._def.schema._parseSync({data:o,path:s.path,parent:s});return a.status==="aborted"?ne:a.status==="dirty"||n.value==="dirty"?ks(a.value):a}}if(r.type==="refinement"){const o=a=>{const c=r.refinement(a,i);if(s.common.async)return Promise.resolve(c);if(c instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return a};if(s.common.async===!1){const a=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});return a.status==="aborted"?ne:(a.status==="dirty"&&n.dirty(),o(a.value),{status:n.value,value:a.value})}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(a=>a.status==="aborted"?ne:(a.status==="dirty"&&n.dirty(),o(a.value).then(()=>({status:n.value,value:a.value}))))}if(r.type==="transform")if(s.common.async===!1){const o=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});if(!hs(o))return o;const a=r.transform(o.value,i);if(a instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:a}}else return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then(o=>hs(o)?Promise.resolve(r.transform(o.value,i)).then(a=>({status:n.value,value:a})):o);pe.assertNever(r)}}Lt.create=(e,t,n)=>new Lt({schema:e,typeName:ee.ZodEffects,effect:t,...oe(n)});Lt.createWithPreprocess=(e,t,n)=>new Lt({schema:t,effect:{type:"preprocess",transform:e},typeName:ee.ZodEffects,...oe(n)});class en extends le{_parse(t){return this._getType(t)===z.undefined?nt(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}en.create=(e,t)=>new en({innerType:e,typeName:ee.ZodOptional,...oe(t)});class Bn extends le{_parse(t){return this._getType(t)===z.null?nt(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Bn.create=(e,t)=>new Bn({innerType:e,typeName:ee.ZodNullable,...oe(t)});class ti extends le{_parse(t){const{ctx:n}=this._processInputParams(t);let s=n.data;return n.parsedType===z.undefined&&(s=this._def.defaultValue()),this._def.innerType._parse({data:s,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}ti.create=(e,t)=>new ti({innerType:e,typeName:ee.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...oe(t)});class ni extends le{_parse(t){const{ctx:n}=this._processInputParams(t),s={...n,common:{...n.common,issues:[]}},r=this._def.innerType._parse({data:s.data,path:s.path,parent:{...s}});return Hr(r)?r.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new vt(s.common.issues)},input:s.data})})):{status:"valid",value:r.status==="valid"?r.value:this._def.catchValue({get error(){return new vt(s.common.issues)},input:s.data})}}removeCatch(){return this._def.innerType}}ni.create=(e,t)=>new ni({innerType:e,typeName:ee.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...oe(t)});class _o extends le{_parse(t){if(this._getType(t)!==z.nan){const s=this._getOrReturnCtx(t);return U(s,{code:M.invalid_type,expected:z.nan,received:s.parsedType}),ne}return{status:"valid",value:t.data}}}_o.create=e=>new _o({typeName:ee.ZodNaN,...oe(e)});const YA=Symbol("zod_brand");class Ql extends le{_parse(t){const{ctx:n}=this._processInputParams(t),s=n.data;return this._def.type._parse({data:s,path:n.path,parent:n})}unwrap(){return this._def.type}}class wi extends le{_parse(t){const{status:n,ctx:s}=this._processInputParams(t);if(s.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:s.data,path:s.path,parent:s});return i.status==="aborted"?ne:i.status==="dirty"?(n.dirty(),ks(i.value)):this._def.out._parseAsync({data:i.value,path:s.path,parent:s})})();{const r=this._def.in._parseSync({data:s.data,path:s.path,parent:s});return r.status==="aborted"?ne:r.status==="dirty"?(n.dirty(),{status:"dirty",value:r.value}):this._def.out._parseSync({data:r.value,path:s.path,parent:s})}}static create(t,n){return new wi({in:t,out:n,typeName:ee.ZodPipeline})}}class si extends le{_parse(t){const n=this._def.innerType._parse(t),s=r=>(hs(r)&&(r.value=Object.freeze(r.value)),r);return Hr(n)?n.then(r=>s(r)):s(n)}unwrap(){return this._def.innerType}}si.create=(e,t)=>new si({innerType:e,typeName:ee.ZodReadonly,...oe(t)});function Yg(e,t={},n){return e?tr.create().superRefine((s,r)=>{var i,o;if(!e(s)){const a=typeof t=="function"?t(s):typeof t=="string"?{message:t}:t,c=(o=(i=a.fatal)!==null&&i!==void 0?i:n)!==null&&o!==void 0?o:!0,l=typeof a=="string"?{message:a}:a;r.addIssue({code:"custom",...l,fatal:c})}}):tr.create()}const JA={object:Ae.lazycreate};var ee;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(ee||(ee={}));const eE=(e,t={message:`Input not instance of ${e.name}`})=>Yg(n=>n instanceof e,t),Jg=Nt.create,ey=Ln.create,tE=_o.create,nE=In.create,ty=qr.create,sE=ps.create,rE=bo.create,iE=Zr.create,oE=Gr.create,aE=tr.create,cE=cs.create,lE=yn.create,uE=wo.create,dE=jt.create,fE=Ae.create,hE=Ae.strictCreate,pE=Kr.create,mE=qo.create,gE=Qr.create,yE=sn.create,vE=Xr.create,xE=So.create,bE=ms.create,wE=Ds.create,SE=Yr.create,_E=Jr.create,TE=Vn.create,CE=ei.create,AE=nr.create,_f=Lt.create,EE=en.create,PE=Bn.create,RE=Lt.createWithPreprocess,kE=wi.create,OE=()=>Jg().optional(),NE=()=>ey().optional(),jE=()=>ty().optional(),DE={string:e=>Nt.create({...e,coerce:!0}),number:e=>Ln.create({...e,coerce:!0}),boolean:e=>qr.create({...e,coerce:!0}),bigint:e=>In.create({...e,coerce:!0}),date:e=>ps.create({...e,coerce:!0})},ME=ne;var Tf=Object.freeze({__proto__:null,defaultErrorMap:er,setErrorMap:RA,getErrorMap:yo,makeIssue:vo,EMPTY_PATH:kA,addIssueToContext:U,ParseStatus:Qe,INVALID:ne,DIRTY:ks,OK:nt,isAborted:pc,isDirty:mc,isValid:hs,isAsync:Hr,get util(){return pe},get objectUtil(){return hc},ZodParsedType:z,getParsedType:un,ZodType:le,datetimeRegex:Qg,ZodString:Nt,ZodNumber:Ln,ZodBigInt:In,ZodBoolean:qr,ZodDate:ps,ZodSymbol:bo,ZodUndefined:Zr,ZodNull:Gr,ZodAny:tr,ZodUnknown:cs,ZodNever:yn,ZodVoid:wo,ZodArray:jt,ZodObject:Ae,ZodUnion:Kr,ZodDiscriminatedUnion:qo,ZodIntersection:Qr,ZodTuple:sn,ZodRecord:Xr,ZodMap:So,ZodSet:ms,ZodFunction:Ds,ZodLazy:Yr,ZodLiteral:Jr,ZodEnum:Vn,ZodNativeEnum:ei,ZodPromise:nr,ZodEffects:Lt,ZodTransformer:Lt,ZodOptional:en,ZodNullable:Bn,ZodDefault:ti,ZodCatch:ni,ZodNaN:_o,BRAND:YA,ZodBranded:Ql,ZodPipeline:wi,ZodReadonly:si,custom:Yg,Schema:le,ZodSchema:le,late:JA,get ZodFirstPartyTypeKind(){return ee},coerce:DE,any:aE,array:dE,bigint:nE,boolean:ty,date:sE,discriminatedUnion:mE,effect:_f,enum:TE,function:wE,instanceof:eE,intersection:gE,lazy:SE,literal:_E,map:xE,nan:tE,nativeEnum:CE,never:lE,null:oE,nullable:PE,number:ey,object:fE,oboolean:jE,onumber:NE,optional:EE,ostring:OE,pipeline:kE,preprocess:RE,promise:AE,record:vE,set:bE,strictObject:hE,string:Jg,symbol:rE,transformer:_f,tuple:yE,undefined:iE,union:pE,unknown:cE,void:uE,NEVER:ME,ZodIssueCode:M,quotelessJson:PA,ZodError:vt});const ka=(e,t)=>Ve(s=>s.lang)==="ru"?e:t;function ny(e,t){return function(){return e.apply(t,arguments)}}const{toString:FE}=Object.prototype,{getPrototypeOf:Xl}=Object,Zo=(e=>t=>{const n=FE.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Bt=e=>(e=e.toLowerCase(),t=>Zo(t)===e),Go=e=>t=>typeof t===e,{isArray:ur}=Array,ri=Go("undefined");function LE(e){return e!==null&&!ri(e)&&e.constructor!==null&&!ri(e.constructor)&&xt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const sy=Bt("ArrayBuffer");function IE(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&sy(e.buffer),t}const VE=Go("string"),xt=Go("function"),ry=Go("number"),Ko=e=>e!==null&&typeof e=="object",BE=e=>e===!0||e===!1,Yi=e=>{if(Zo(e)!=="object")return!1;const t=Xl(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},UE=Bt("Date"),$E=Bt("File"),zE=Bt("Blob"),WE=Bt("FileList"),HE=e=>Ko(e)&&xt(e.pipe),qE=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xt(e.append)&&((t=Zo(e))==="formdata"||t==="object"&&xt(e.toString)&&e.toString()==="[object FormData]"))},ZE=Bt("URLSearchParams"),[GE,KE,QE,XE]=["ReadableStream","Request","Response","Headers"].map(Bt),YE=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Si(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),ur(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const Xn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,oy=e=>!ri(e)&&e!==Xn;function yc(){const{caseless:e}=oy(this)&&this||{},t={},n=(s,r)=>{const i=e&&iy(t,r)||r;Yi(t[i])&&Yi(s)?t[i]=yc(t[i],s):Yi(s)?t[i]=yc({},s):ur(s)?t[i]=s.slice():t[i]=s};for(let s=0,r=arguments.length;s(Si(t,(r,i)=>{n&&xt(r)?e[i]=ny(r,n):e[i]=r},{allOwnKeys:s}),e),eP=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),tP=(e,t,n,s)=>{e.prototype=Object.create(t.prototype,s),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},nP=(e,t,n,s)=>{let r,i,o;const a={};if(t=t||{},e==null)return t;do{for(r=Object.getOwnPropertyNames(e),i=r.length;i-- >0;)o=r[i],(!s||s(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&Xl(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},sP=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const s=e.indexOf(t,n);return s!==-1&&s===n},rP=e=>{if(!e)return null;if(ur(e))return e;let t=e.length;if(!ry(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},iP=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Xl(Uint8Array)),oP=(e,t)=>{const s=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=s.next())&&!r.done;){const i=r.value;t.call(e,i[0],i[1])}},aP=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},cP=Bt("HTMLFormElement"),lP=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Cf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),uP=Bt("RegExp"),ay=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Si(n,(r,i)=>{let o;(o=t(r,i,e))!==!1&&(s[i]=o||r)}),Object.defineProperties(e,s)},dP=e=>{ay(e,(t,n)=>{if(xt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const s=e[n];if(xt(s)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},fP=(e,t)=>{const n={},s=r=>{r.forEach(i=>{n[i]=!0})};return ur(e)?s(e):s(String(e).split(t)),n},hP=()=>{},pP=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Oa="abcdefghijklmnopqrstuvwxyz",Af="0123456789",cy={DIGIT:Af,ALPHA:Oa,ALPHA_DIGIT:Oa+Oa.toUpperCase()+Af},mP=(e=16,t=cy.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function gP(e){return!!(e&&xt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const yP=e=>{const t=new Array(10),n=(s,r)=>{if(Ko(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const i=ur(s)?[]:{};return Si(s,(o,a)=>{const c=n(o,r+1);!ri(c)&&(i[a]=c)}),t[r]=void 0,i}}return s};return n(e,0)},vP=Bt("AsyncFunction"),xP=e=>e&&(Ko(e)||xt(e))&&xt(e.then)&&xt(e.catch),ly=((e,t)=>e?setImmediate:t?((n,s)=>(Xn.addEventListener("message",({source:r,data:i})=>{r===Xn&&i===n&&s.length&&s.shift()()},!1),r=>{s.push(r),Xn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",xt(Xn.postMessage)),bP=typeof queueMicrotask<"u"?queueMicrotask.bind(Xn):typeof process<"u"&&process.nextTick||ly,k={isArray:ur,isArrayBuffer:sy,isBuffer:LE,isFormData:qE,isArrayBufferView:IE,isString:VE,isNumber:ry,isBoolean:BE,isObject:Ko,isPlainObject:Yi,isReadableStream:GE,isRequest:KE,isResponse:QE,isHeaders:XE,isUndefined:ri,isDate:UE,isFile:$E,isBlob:zE,isRegExp:uP,isFunction:xt,isStream:HE,isURLSearchParams:ZE,isTypedArray:iP,isFileList:WE,forEach:Si,merge:yc,extend:JE,trim:YE,stripBOM:eP,inherits:tP,toFlatObject:nP,kindOf:Zo,kindOfTest:Bt,endsWith:sP,toArray:rP,forEachEntry:oP,matchAll:aP,isHTMLForm:cP,hasOwnProperty:Cf,hasOwnProp:Cf,reduceDescriptors:ay,freezeMethods:dP,toObjectSet:fP,toCamelCase:lP,noop:hP,toFiniteNumber:pP,findKey:iy,global:Xn,isContextDefined:oy,ALPHABET:cy,generateString:mP,isSpecCompliantForm:gP,toJSONObject:yP,isAsyncFn:vP,isThenable:xP,setImmediate:ly,asap:bP};function ie(e,t,n,s,r){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),s&&(this.request=s),r&&(this.response=r,this.status=r.status?r.status:null)}k.inherits(ie,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:k.toJSONObject(this.config),code:this.code,status:this.status}}});const uy=ie.prototype,dy={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{dy[e]={value:e}});Object.defineProperties(ie,dy);Object.defineProperty(uy,"isAxiosError",{value:!0});ie.from=(e,t,n,s,r,i)=>{const o=Object.create(uy);return k.toFlatObject(e,o,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),ie.call(o,e.message,t,n,s,r),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const wP=null;function vc(e){return k.isPlainObject(e)||k.isArray(e)}function fy(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function Ef(e,t,n){return e?e.concat(t).map(function(r,i){return r=fy(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function SP(e){return k.isArray(e)&&!e.some(vc)}const _P=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function Qo(e,t,n){if(!k.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=k.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,g){return!k.isUndefined(g[h])});const s=n.metaTokens,r=n.visitor||u,i=n.dots,o=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(t);if(!k.isFunction(r))throw new TypeError("visitor must be a function");function l(m){if(m===null)return"";if(k.isDate(m))return m.toISOString();if(!c&&k.isBlob(m))throw new ie("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(m)||k.isTypedArray(m)?c&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,h,g){let v=m;if(m&&!g&&typeof m=="object"){if(k.endsWith(h,"{}"))h=s?h:h.slice(0,-2),m=JSON.stringify(m);else if(k.isArray(m)&&SP(m)||(k.isFileList(m)||k.endsWith(h,"[]"))&&(v=k.toArray(m)))return h=fy(h),v.forEach(function(w,T){!(k.isUndefined(w)||w===null)&&t.append(o===!0?Ef([h],T,i):o===null?h:h+"[]",l(w))}),!1}return vc(m)?!0:(t.append(Ef(g,h,i),l(m)),!1)}const d=[],f=Object.assign(_P,{defaultVisitor:u,convertValue:l,isVisitable:vc});function p(m,h){if(!k.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+h.join("."));d.push(m),k.forEach(m,function(v,b){(!(k.isUndefined(v)||v===null)&&r.call(t,v,k.isString(b)?b.trim():b,h,f))===!0&&p(v,h?h.concat(b):[b])}),d.pop()}}if(!k.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Pf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function Yl(e,t){this._pairs=[],e&&Qo(e,this,t)}const hy=Yl.prototype;hy.append=function(t,n){this._pairs.push([t,n])};hy.toString=function(t){const n=t?function(s){return t.call(this,s,Pf)}:Pf;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function TP(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function py(e,t,n){if(!t)return e;const s=n&&n.encode||TP;k.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let i;if(r?i=r(t,n):i=k.isURLSearchParams(t)?t.toString():new Yl(t,n).toString(s),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Rf{constructor(){this.handlers=[]}use(t,n,s){return this.handlers.push({fulfilled:t,rejected:n,synchronous:s?s.synchronous:!1,runWhen:s?s.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){k.forEach(this.handlers,function(s){s!==null&&t(s)})}}const my={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},CP=typeof URLSearchParams<"u"?URLSearchParams:Yl,AP=typeof FormData<"u"?FormData:null,EP=typeof Blob<"u"?Blob:null,PP={isBrowser:!0,classes:{URLSearchParams:CP,FormData:AP,Blob:EP},protocols:["http","https","file","blob","url","data"]},Jl=typeof window<"u"&&typeof document<"u",xc=typeof navigator=="object"&&navigator||void 0,RP=Jl&&(!xc||["ReactNative","NativeScript","NS"].indexOf(xc.product)<0),kP=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",OP=Jl&&window.location.href||"http://localhost",NP=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Jl,hasStandardBrowserEnv:RP,hasStandardBrowserWebWorkerEnv:kP,navigator:xc,origin:OP},Symbol.toStringTag,{value:"Module"})),Ge={...NP,...PP};function jP(e,t){return Qo(e,new Ge.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,i){return Ge.isNode&&k.isBuffer(n)?(this.append(s,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function DP(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function MP(e){const t={},n=Object.keys(e);let s;const r=n.length;let i;for(s=0;s=n.length;return o=!o&&k.isArray(r)?r.length:o,c?(k.hasOwnProp(r,o)?r[o]=[r[o],s]:r[o]=s,!a):((!r[o]||!k.isObject(r[o]))&&(r[o]=[]),t(n,s,r[o],i)&&k.isArray(r[o])&&(r[o]=MP(r[o])),!a)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(s,r)=>{t(DP(s),r,n,0)}),n}return null}function FP(e,t,n){if(k.isString(e))try{return(t||JSON.parse)(e),k.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(0,JSON.stringify)(e)}const _i={transitional:my,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,i=k.isObject(t);if(i&&k.isHTMLForm(t)&&(t=new FormData(t)),k.isFormData(t))return r?JSON.stringify(gy(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t)||k.isReadableStream(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(s.indexOf("application/x-www-form-urlencoded")>-1)return jP(t,this.formSerializer).toString();if((a=k.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Qo(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),FP(t)):t}],transformResponse:[function(t){const n=this.transitional||_i.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(k.isResponse(t)||k.isReadableStream(t))return t;if(t&&k.isString(t)&&(s&&!this.responseType||r)){const o=!(n&&n.silentJSONParsing)&&r;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?ie.from(a,ie.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ge.classes.FormData,Blob:Ge.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch"],e=>{_i.headers[e]={}});const LP=k.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),IP=e=>{const t={};let n,s,r;return e&&e.split(` +`).forEach(function(o){r=o.indexOf(":"),n=o.substring(0,r).trim().toLowerCase(),s=o.substring(r+1).trim(),!(!n||t[n]&&LP[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},kf=Symbol("internals");function Sr(e){return e&&String(e).trim().toLowerCase()}function Ji(e){return e===!1||e==null?e:k.isArray(e)?e.map(Ji):String(e)}function VP(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let s;for(;s=n.exec(e);)t[s[1]]=s[2];return t}const BP=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Na(e,t,n,s,r){if(k.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!k.isString(t)){if(k.isString(s))return t.indexOf(s)!==-1;if(k.isRegExp(s))return s.test(t)}}function UP(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function $P(e,t){const n=k.toCamelCase(" "+t);["get","set","has"].forEach(s=>{Object.defineProperty(e,s+n,{value:function(r,i,o){return this[s].call(this,t,r,i,o)},configurable:!0})})}class lt{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function i(a,c,l){const u=Sr(c);if(!u)throw new Error("header name must be a non-empty string");const d=k.findKey(r,u);(!d||r[d]===void 0||l===!0||l===void 0&&r[d]!==!1)&&(r[d||c]=Ji(a))}const o=(a,c)=>k.forEach(a,(l,u)=>i(l,u,c));if(k.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(k.isString(t)&&(t=t.trim())&&!BP(t))o(IP(t),n);else if(k.isHeaders(t))for(const[a,c]of t.entries())i(c,a,s);else t!=null&&i(n,t,s);return this}get(t,n){if(t=Sr(t),t){const s=k.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return VP(r);if(k.isFunction(n))return n.call(this,r,s);if(k.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Sr(t),t){const s=k.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||Na(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function i(o){if(o=Sr(o),o){const a=k.findKey(s,o);a&&(!n||Na(s,s[a],a,n))&&(delete s[a],r=!0)}}return k.isArray(t)?t.forEach(i):i(t),r}clear(t){const n=Object.keys(this);let s=n.length,r=!1;for(;s--;){const i=n[s];(!t||Na(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,s={};return k.forEach(this,(r,i)=>{const o=k.findKey(s,i);if(o){n[o]=Ji(r),delete n[i];return}const a=t?UP(i):String(i).trim();a!==i&&delete n[i],n[a]=Ji(r),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return k.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&k.isArray(s)?s.join(", "):s)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` +`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const s=new this(t);return n.forEach(r=>s.set(r)),s}static accessor(t){const s=(this[kf]=this[kf]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=Sr(o);s[a]||($P(r,o),s[a]=!0)}return k.isArray(t)?t.forEach(i):i(t),this}}lt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);k.reduceDescriptors(lt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});k.freezeMethods(lt);function ja(e,t){const n=this||_i,s=t||n,r=lt.from(s.headers);let i=s.data;return k.forEach(e,function(a){i=a.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function yy(e){return!!(e&&e.__CANCEL__)}function dr(e,t,n){ie.call(this,e??"canceled",ie.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(dr,ie,{__CANCEL__:!0});function vy(e,t,n){const s=n.config.validateStatus;!n.status||!s||s(n.status)?e(n):t(new ie("Request failed with status code "+n.status,[ie.ERR_BAD_REQUEST,ie.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function zP(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function WP(e,t){e=e||10;const n=new Array(e),s=new Array(e);let r=0,i=0,o;return t=t!==void 0?t:1e3,function(c){const l=Date.now(),u=s[i];o||(o=l),n[r]=c,s[r]=l;let d=i,f=0;for(;d!==r;)f+=n[d++],d=d%e;if(r=(r+1)%e,r===i&&(i=(i+1)%e),l-o{n=u,r=null,i&&(clearTimeout(i),i=null),e.apply(null,l)};return[(...l)=>{const u=Date.now(),d=u-n;d>=s?o(l,u):(r=l,i||(i=setTimeout(()=>{i=null,o(r)},s-d)))},()=>r&&o(r)]}const To=(e,t,n=3)=>{let s=0;const r=WP(50,250);return HP(i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,c=o-s,l=r(c),u=o<=a;s=o;const d={loaded:o,total:a,progress:a?o/a:void 0,bytes:c,rate:l||void 0,estimated:l&&a&&u?(a-o)/l:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},n)},Of=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Nf=e=>(...t)=>k.asap(()=>e(...t)),qP=Ge.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ge.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ge.origin),Ge.navigator&&/(msie|trident)/i.test(Ge.navigator.userAgent)):()=>!0,ZP=Ge.hasStandardBrowserEnv?{write(e,t,n,s,r,i){const o=[e+"="+encodeURIComponent(t)];k.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),k.isString(s)&&o.push("path="+s),k.isString(r)&&o.push("domain="+r),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function GP(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function KP(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function xy(e,t){return e&&!GP(t)?KP(e,t):t}const jf=e=>e instanceof lt?{...e}:e;function gs(e,t){t=t||{};const n={};function s(l,u,d,f){return k.isPlainObject(l)&&k.isPlainObject(u)?k.merge.call({caseless:f},l,u):k.isPlainObject(u)?k.merge({},u):k.isArray(u)?u.slice():u}function r(l,u,d,f){if(k.isUndefined(u)){if(!k.isUndefined(l))return s(void 0,l,d,f)}else return s(l,u,d,f)}function i(l,u){if(!k.isUndefined(u))return s(void 0,u)}function o(l,u){if(k.isUndefined(u)){if(!k.isUndefined(l))return s(void 0,l)}else return s(void 0,u)}function a(l,u,d){if(d in t)return s(l,u);if(d in e)return s(void 0,l)}const c={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(l,u,d)=>r(jf(l),jf(u),d,!0)};return k.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||r,f=d(e[u],t[u],u);k.isUndefined(f)&&d!==a||(n[u]=f)}),n}const by=e=>{const t=gs({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:i,headers:o,auth:a}=t;t.headers=o=lt.from(o),t.url=py(xy(t.baseURL,t.url),e.params,e.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let c;if(k.isFormData(n)){if(Ge.hasStandardBrowserEnv||Ge.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((c=o.getContentType())!==!1){const[l,...u]=c?c.split(";").map(d=>d.trim()).filter(Boolean):[];o.setContentType([l||"multipart/form-data",...u].join("; "))}}if(Ge.hasStandardBrowserEnv&&(s&&k.isFunction(s)&&(s=s(t)),s||s!==!1&&qP(t.url))){const l=r&&i&&ZP.read(i);l&&o.set(r,l)}return t},QP=typeof XMLHttpRequest<"u",XP=QP&&function(e){return new Promise(function(n,s){const r=by(e);let i=r.data;const o=lt.from(r.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:l}=r,u,d,f,p,m;function h(){p&&p(),m&&m(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let g=new XMLHttpRequest;g.open(r.method.toUpperCase(),r.url,!0),g.timeout=r.timeout;function v(){if(!g)return;const w=lt.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:w,config:e,request:g};vy(function(R){n(R),h()},function(R){s(R),h()},S),g=null}"onloadend"in g?g.onloadend=v:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(v)},g.onabort=function(){g&&(s(new ie("Request aborted",ie.ECONNABORTED,e,g)),g=null)},g.onerror=function(){s(new ie("Network Error",ie.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let T=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const S=r.transitional||my;r.timeoutErrorMessage&&(T=r.timeoutErrorMessage),s(new ie(T,S.clarifyTimeoutError?ie.ETIMEDOUT:ie.ECONNABORTED,e,g)),g=null},i===void 0&&o.setContentType(null),"setRequestHeader"in g&&k.forEach(o.toJSON(),function(T,S){g.setRequestHeader(S,T)}),k.isUndefined(r.withCredentials)||(g.withCredentials=!!r.withCredentials),a&&a!=="json"&&(g.responseType=r.responseType),l&&([f,m]=To(l,!0),g.addEventListener("progress",f)),c&&g.upload&&([d,p]=To(c),g.upload.addEventListener("progress",d),g.upload.addEventListener("loadend",p)),(r.cancelToken||r.signal)&&(u=w=>{g&&(s(!w||w.type?new dr(null,e,g):w),g.abort(),g=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const b=zP(r.url);if(b&&Ge.protocols.indexOf(b)===-1){s(new ie("Unsupported protocol "+b+":",ie.ERR_BAD_REQUEST,e));return}g.send(i||null)})},YP=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let s=new AbortController,r;const i=function(l){if(!r){r=!0,a();const u=l instanceof Error?l:this.reason;s.abort(u instanceof ie?u:new dr(u instanceof Error?u.message:u))}};let o=t&&setTimeout(()=>{o=null,i(new ie(`timeout ${t} of ms exceeded`,ie.ETIMEDOUT))},t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i));const{signal:c}=s;return c.unsubscribe=()=>k.asap(a),c}},JP=function*(e,t){let n=e.byteLength;if(n{const r=eR(e,t);let i=0,o,a=c=>{o||(o=!0,s&&s(c))};return new ReadableStream({async pull(c){try{const{done:l,value:u}=await r.next();if(l){a(),c.close();return}let d=u.byteLength;if(n){let f=i+=d;n(f)}c.enqueue(new Uint8Array(u))}catch(l){throw a(l),l}},cancel(c){return a(c),r.return()}},{highWaterMark:2})},Xo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",wy=Xo&&typeof ReadableStream=="function",nR=Xo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Sy=(e,...t)=>{try{return!!e(...t)}catch{return!1}},sR=wy&&Sy(()=>{let e=!1;const t=new Request(Ge.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Mf=64*1024,bc=wy&&Sy(()=>k.isReadableStream(new Response("").body)),Co={stream:bc&&(e=>e.body)};Xo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Co[t]&&(Co[t]=k.isFunction(e[t])?n=>n[t]():(n,s)=>{throw new ie(`Response type '${t}' is not supported`,ie.ERR_NOT_SUPPORT,s)})})})(new Response);const rR=async e=>{if(e==null)return 0;if(k.isBlob(e))return e.size;if(k.isSpecCompliantForm(e))return(await new Request(Ge.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(k.isArrayBufferView(e)||k.isArrayBuffer(e))return e.byteLength;if(k.isURLSearchParams(e)&&(e=e+""),k.isString(e))return(await nR(e)).byteLength},iR=async(e,t)=>{const n=k.toFiniteNumber(e.getContentLength());return n??rR(t)},oR=Xo&&(async e=>{let{url:t,method:n,data:s,signal:r,cancelToken:i,timeout:o,onDownloadProgress:a,onUploadProgress:c,responseType:l,headers:u,withCredentials:d="same-origin",fetchOptions:f}=by(e);l=l?(l+"").toLowerCase():"text";let p=YP([r,i&&i.toAbortSignal()],o),m;const h=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let g;try{if(c&&sR&&n!=="get"&&n!=="head"&&(g=await iR(u,s))!==0){let S=new Request(t,{method:"POST",body:s,duplex:"half"}),E;if(k.isFormData(s)&&(E=S.headers.get("content-type"))&&u.setContentType(E),S.body){const[R,A]=Of(g,To(Nf(c)));s=Df(S.body,Mf,R,A)}}k.isString(d)||(d=d?"include":"omit");const v="credentials"in Request.prototype;m=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:v?d:void 0});let b=await fetch(m);const w=bc&&(l==="stream"||l==="response");if(bc&&(a||w&&h)){const S={};["status","statusText","headers"].forEach(N=>{S[N]=b[N]});const E=k.toFiniteNumber(b.headers.get("content-length")),[R,A]=a&&Of(E,To(Nf(a),!0))||[];b=new Response(Df(b.body,Mf,R,()=>{A&&A(),h&&h()}),S)}l=l||"text";let T=await Co[k.findKey(Co,l)||"text"](b,e);return!w&&h&&h(),await new Promise((S,E)=>{vy(S,E,{data:T,headers:lt.from(b.headers),status:b.status,statusText:b.statusText,config:e,request:m})})}catch(v){throw h&&h(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new ie("Network Error",ie.ERR_NETWORK,e,m),{cause:v.cause||v}):ie.from(v,v&&v.code,e,m)}}),wc={http:wP,xhr:XP,fetch:oR};k.forEach(wc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Ff=e=>`- ${e}`,aR=e=>k.isFunction(e)||e===null||e===!1,_y={getAdapter:e=>{e=k.isArray(e)?e:[e];const{length:t}=e;let n,s;const r={};for(let i=0;i`adapter ${a} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=t?i.length>1?`since : +`+i.map(Ff).join(` +`):" "+Ff(i[0]):"as no adapter specified";throw new ie("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return s},adapters:wc};function Da(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new dr(null,e)}function Lf(e){return Da(e),e.headers=lt.from(e.headers),e.data=ja.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),_y.getAdapter(e.adapter||_i.adapter)(e).then(function(s){return Da(e),s.data=ja.call(e,e.transformResponse,s),s.headers=lt.from(s.headers),s},function(s){return yy(s)||(Da(e),s&&s.response&&(s.response.data=ja.call(e,e.transformResponse,s.response),s.response.headers=lt.from(s.response.headers))),Promise.reject(s)})}const Ty="1.7.9",Yo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Yo[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const If={};Yo.transitional=function(t,n,s){function r(i,o){return"[Axios v"+Ty+"] Transitional option '"+i+"'"+o+(s?". "+s:"")}return(i,o,a)=>{if(t===!1)throw new ie(r(o," has been removed"+(n?" in "+n:"")),ie.ERR_DEPRECATED);return n&&!If[o]&&(If[o]=!0,console.warn(r(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};Yo.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function cR(e,t,n){if(typeof e!="object")throw new ie("options must be an object",ie.ERR_BAD_OPTION_VALUE);const s=Object.keys(e);let r=s.length;for(;r-- >0;){const i=s[r],o=t[i];if(o){const a=e[i],c=a===void 0||o(a,i,e);if(c!==!0)throw new ie("option "+i+" must be "+c,ie.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ie("Unknown option "+i,ie.ERR_BAD_OPTION)}}const eo={assertOptions:cR,validators:Yo},zt=eo.validators;class ls{constructor(t){this.defaults=t,this.interceptors={request:new Rf,response:new Rf}}async request(t,n){try{return await this._request(t,n)}catch(s){if(s instanceof Error){let r={};Error.captureStackTrace?Error.captureStackTrace(r):r=new Error;const i=r.stack?r.stack.replace(/^.+\n/,""):"";try{s.stack?i&&!String(s.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(s.stack+=` +`+i):s.stack=i}catch{}}throw s}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=gs(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:i}=n;s!==void 0&&eo.assertOptions(s,{silentJSONParsing:zt.transitional(zt.boolean),forcedJSONParsing:zt.transitional(zt.boolean),clarifyTimeoutError:zt.transitional(zt.boolean)},!1),r!=null&&(k.isFunction(r)?n.paramsSerializer={serialize:r}:eo.assertOptions(r,{encode:zt.function,serialize:zt.function},!0)),eo.assertOptions(n,{baseUrl:zt.spelling("baseURL"),withXsrfToken:zt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&k.merge(i.common,i[n.method]);i&&k.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=lt.concat(o,i);const a=[];let c=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(c=c&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const l=[];this.interceptors.response.forEach(function(h){l.push(h.fulfilled,h.rejected)});let u,d=0,f;if(!c){const m=[Lf.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,l),f=m.length,u=Promise.resolve(n);d{if(!s._listeners)return;let i=s._listeners.length;for(;i-- >0;)s._listeners[i](r);s._listeners=null}),this.promise.then=r=>{let i;const o=new Promise(a=>{s.subscribe(a),i=a}).then(r);return o.cancel=function(){s.unsubscribe(i)},o},t(function(i,o,a){s.reason||(s.reason=new dr(i,o,a),n(s.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=s=>{t.abort(s)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new eu(function(r){t=r}),cancel:t}}}function lR(e){return function(n){return e.apply(null,n)}}function uR(e){return k.isObject(e)&&e.isAxiosError===!0}const Sc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(Sc).forEach(([e,t])=>{Sc[t]=e});function Cy(e){const t=new ls(e),n=ny(ls.prototype.request,t);return k.extend(n,ls.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Cy(gs(e,r))},n}const _e=Cy(_i);_e.Axios=ls;_e.CanceledError=dr;_e.CancelToken=eu;_e.isCancel=yy;_e.VERSION=Ty;_e.toFormData=Qo;_e.AxiosError=ie;_e.Cancel=_e.CanceledError;_e.all=function(t){return Promise.all(t)};_e.spread=lR;_e.isAxiosError=uR;_e.mergeConfig=gs;_e.AxiosHeaders=lt;_e.formToJSON=e=>gy(k.isHTMLForm(e)?new FormData(e):e);_e.getAdapter=_y.getAdapter;_e.HttpStatusCode=Sc;_e.default=_e;const fr="https://turkmentextile.turkmenexpo.com/app/api/v1",tu=_e.create({baseURL:"https://turkmentextile.turkmenexpo.com/app/api/v1/"}),Xk=async e=>(await _e.post(`${fr}/book_stand_form`,e)).status===201,Yk=async e=>(await _e.post(`${fr}/become_sponsor_form`,e)).status===201,Jk=async e=>(await _e.post(`${fr}/contact_form`,e)).status===201,dR=async e=>(await tu.post("subscribe_news_form",e)).status===201,fR=async(e,t)=>_e.get(`${fr}/pages/${t}`,{headers:{"Accept-Language":e}}),hR=async e=>tu.get("/stats",{headers:{"Accept-Language":e}}),pR=async e=>tu("contact_data",{headers:{"Accept-Language":e}}),mR=async e=>_e.get(`${fr}/industries`,{headers:{"Accept-Language":e}}),gR=async e=>_e.get(`${fr}/exhibition_time`,{headers:{"Accept-Language":e}}),yR=Tf.object({email:Tf.string().email()}),Ay=({modal:e=!1})=>{var i,o;const[t,n]=x.useState(!1),s=LT({resolver:EA(yR),defaultValues:{email:""}});async function r(a){try{const c=await dR(a);s.reset(),n(c)}catch(c){console.error("POST subscribe",c)}}return y.jsx("form",{onSubmit:s.handleSubmit(r),className:Q("py-8",e?"max-w-[392px] mx-auto":"bg-surface_container"),children:y.jsxs(st,{className:Q("flex gap-8 justify-between",e?"flex-col w-full":"lg:flex-row flex-col lg:items-center"),children:[y.jsx("h2",{className:"h2 !text-left",children:ka("Подпишитесь на новости:","Subscribe to the news:")}),y.jsxs("div",{className:"relative",children:[y.jsx("input",{...s.register("email"),placeholder:"Email",className:Q("input",{"w-full":e,"xl:w-[392px] lg:w-[320px] w-full":!e})}),y.jsx("span",{className:"text-error absolute text-red-600 -bottom-6 text-sm left-0",children:(o=(i=s.formState.errors)==null?void 0:i.email)==null?void 0:o.message})]}),y.jsx(ut,{loading:s.formState.isSubmitting,disabled:t,className:Q({"xl:w-[288px] lg:w-[220px] w-full":!e,"w-full":e}),children:t?ka("Отправлено","Submitted"):ka("Подписаться","Subscribe")})]})})},vR=({className:e,title:t})=>y.jsxs(xA,{children:[y.jsx(bA,{className:Q("h-14 px-3 flex gap-3 items-center hover:bg-slate-300/50 transition-all",e),children:t}),y.jsx(Wg,{children:y.jsx(Ay,{className:"",modal:!0})})]}),_c=({title:e,dropDownContent:t,color:n,triggerClassName:s})=>{const[r,i]=x.useState(!1);return y.jsxs(Ug,{open:r,onOpenChange:()=>i(!r),children:[y.jsxs($g,{className:Q("flex items-center gap-2",s),children:[e,y.jsx(xR,{color:n})]}),y.jsx(Kl,{className:"w-fit px-0 py-2 cursor-pointer bg-surface_container",children:t&&t.map(o=>o.link?y.jsxs(Me,{onClick:()=>i(!1),className:"h-14 px-3 flex gap-3 items-center hover:bg-slate-300/50 transition-all",target:o.blank??"",to:o.link,children:[o.text,o.blank&&y.jsx("img",{src:"/pdf.svg"})]},o.text):o.modal?y.jsx(vR,{title:o.text},o.text):y.jsx("div",{className:"h-14 px-3 flex items-center hover:bg-slate-300/50 transition-all",onClick:()=>{i(!1)},children:o.text},o.text))})]})},xR=({color:e="white"})=>y.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.23021 8.01443C4.35919 7.70304 4.66305 7.5 5.00011 7.5H15.0001C15.3372 7.5 15.641 7.70304 15.77 8.01443C15.899 8.32583 15.8277 8.68426 15.5894 8.92259L10.5894 13.9226C10.2639 14.248 9.73629 14.248 9.41085 13.9226L4.41085 8.92259C4.17252 8.68426 4.10122 8.32583 4.23021 8.01443ZM7.01195 9.16667L10.0001 12.1548L12.9883 9.16667H7.01195Z",fill:e})}),hr=({className:e})=>y.jsx(st,{className:Q("w-full py-20 h-full flex items-center justify-between",e),children:y.jsx(Zh,{className:"animate-spin mx-auto text-primary size-16"})}),ct=e=>e===pt.RU?0:1,Tc=[{title:"Тематические направления выставки",bottom_text:` + Участники смогут продемонстрировать свои инновационные решения, наладить взаимовыгодные партнерства и выйти на новые рынки.`,data:[{title:"Текстильные машины и оборудование",img:"/theme/1.svg"},{title:"Одежда, обувь, кожаные изделия",img:"/theme/2.svg"},{title:"Переработка натуральных волокон",img:"/theme/3.svg"},{title:"Домашний текстиль и эко-текстиль",img:"/theme/4.svg"},{title:"Запасные части и вспомогательные материалы",img:"/theme/5.svg"},{title:"Химические средства и красители",img:"/theme/6.svg"},{title:"Аксессуары и швейная фурнитура",img:"/theme/7.svg"},{title:"Мода и дизайн",img:"/theme/8.svg"}]},{title:"Thematic areas of the exhibition",bottom_text:` + Participants will be able to showcase innovative solutions, establish mutually beneficial partnerships, and enter new markets.`,data:[{title:"Textile machinery and equipment",img:"/theme/1.svg"},{title:"Clothing, footwear, leather goods",img:"/theme/2.svg"},{title:"Natural fibre processing",img:"/theme/3.svg"},{title:"Home textiles and eco-textiles",img:"/theme/4.svg"},{title:"Spare parts and auxiliary materials",img:"/theme/5.svg"},{title:"Chemicals and dyes",img:"/theme/6.svg"},{title:"Accessories and sewing supplies",img:"/theme/7.svg"},{title:"Fashion and design",img:"/theme/8.svg"}]}];var Ti=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},ys=typeof window>"u"||"Deno"in globalThis;function Tt(){}function bR(e,t){return typeof e=="function"?e(t):e}function Cc(e){return typeof e=="number"&&e>=0&&e!==1/0}function Ey(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Ms(e,t){return typeof e=="function"?e(t):e}function kt(e,t){return typeof e=="function"?e(t):e}function Vf(e,t){const{type:n="all",exact:s,fetchStatus:r,predicate:i,queryKey:o,stale:a}=e;if(o){if(s){if(t.queryHash!==nu(o,t.options))return!1}else if(!oi(t.queryKey,o))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||r&&r!==t.state.fetchStatus||i&&!i(t))}function Bf(e,t){const{exact:n,status:s,predicate:r,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(ii(t.options.mutationKey)!==ii(i))return!1}else if(!oi(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function nu(e,t){return((t==null?void 0:t.queryKeyHashFn)||ii)(e)}function ii(e){return JSON.stringify(e,(t,n)=>Ec(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function oi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!oi(e[n],t[n])):!1}function Py(e,t){if(e===t)return e;const n=Uf(e)&&Uf(t);if(n||Ec(e)&&Ec(t)){const s=n?e:Object.keys(e),r=s.length,i=n?t:Object.keys(t),o=i.length,a=n?[]:{};let c=0;for(let l=0;l{setTimeout(t,e)})}function Pc(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Py(e,t):t}function SR(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function _R(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var su=Symbol();function Ry(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===su?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Yn,Tn,Fs,eh,TR=(eh=class extends Ti{constructor(){super();te(this,Yn);te(this,Tn);te(this,Fs);H(this,Fs,t=>{if(!ys&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){C(this,Tn)||this.setEventListener(C(this,Fs))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,Tn))==null||t.call(this),H(this,Tn,void 0))}setEventListener(t){var n;H(this,Fs,t),(n=C(this,Tn))==null||n.call(this),H(this,Tn,t(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(t){C(this,Yn)!==t&&(H(this,Yn,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof C(this,Yn)=="boolean"?C(this,Yn):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Yn=new WeakMap,Tn=new WeakMap,Fs=new WeakMap,eh),ru=new TR,Ls,Cn,Is,th,CR=(th=class extends Ti{constructor(){super();te(this,Ls,!0);te(this,Cn);te(this,Is);H(this,Is,t=>{if(!ys&&window.addEventListener){const n=()=>t(!0),s=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",s,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",s)}}})}onSubscribe(){C(this,Cn)||this.setEventListener(C(this,Is))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,Cn))==null||t.call(this),H(this,Cn,void 0))}setEventListener(t){var n;H(this,Is,t),(n=C(this,Cn))==null||n.call(this),H(this,Cn,t(this.setOnline.bind(this)))}setOnline(t){C(this,Ls)!==t&&(H(this,Ls,t),this.listeners.forEach(s=>{s(t)}))}isOnline(){return C(this,Ls)}},Ls=new WeakMap,Cn=new WeakMap,Is=new WeakMap,th),Ao=new CR;function Rc(){let e,t;const n=new Promise((r,i)=>{e=r,t=i});n.status="pending",n.catch(()=>{});function s(r){Object.assign(n,r),delete n.resolve,delete n.reject}return n.resolve=r=>{s({status:"fulfilled",value:r}),e(r)},n.reject=r=>{s({status:"rejected",reason:r}),t(r)},n}function AR(e){return Math.min(1e3*2**e,3e4)}function ky(e){return(e??"online")==="online"?Ao.isOnline():!0}var Oy=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ma(e){return e instanceof Oy}function Ny(e){let t=!1,n=0,s=!1,r;const i=Rc(),o=h=>{var g;s||(f(new Oy(h)),(g=e.abort)==null||g.call(e))},a=()=>{t=!0},c=()=>{t=!1},l=()=>ru.isFocused()&&(e.networkMode==="always"||Ao.isOnline())&&e.canRun(),u=()=>ky(e.networkMode)&&e.canRun(),d=h=>{var g;s||(s=!0,(g=e.onSuccess)==null||g.call(e,h),r==null||r(),i.resolve(h))},f=h=>{var g;s||(s=!0,(g=e.onError)==null||g.call(e,h),r==null||r(),i.reject(h))},p=()=>new Promise(h=>{var g;r=v=>{(s||l())&&h(v)},(g=e.onPause)==null||g.call(e)}).then(()=>{var h;r=void 0,s||(h=e.onContinue)==null||h.call(e)}),m=()=>{if(s)return;let h;const g=n===0?e.initialPromise:void 0;try{h=g??e.fn()}catch(v){h=Promise.reject(v)}Promise.resolve(h).then(d).catch(v=>{var E;if(s)return;const b=e.retry??(ys?0:3),w=e.retryDelay??AR,T=typeof w=="function"?w(n,v):w,S=b===!0||typeof b=="number"&&nl()?void 0:p()).then(()=>{t?f(v):m()})})};return{promise:i,cancel:o,continue:()=>(r==null||r(),i),cancelRetry:a,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}function ER(){let e=[],t=0,n=a=>{a()},s=a=>{a()},r=a=>setTimeout(a,0);const i=a=>{t?e.push(a):r(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&r(()=>{s(()=>{a.forEach(c=>{n(c)})})})};return{batch:a=>{let c;t++;try{c=a()}finally{t--,t||o()}return c},batchCalls:a=>(...c)=>{i(()=>{a(...c)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{s=a},setScheduler:a=>{r=a}}}var ze=ER(),Jn,nh,jy=(nh=class{constructor(){te(this,Jn)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Cc(this.gcTime)&&H(this,Jn,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ys?1/0:5*60*1e3))}clearGcTimeout(){C(this,Jn)&&(clearTimeout(C(this,Jn)),H(this,Jn,void 0))}},Jn=new WeakMap,nh),Vs,Bs,_t,es,qe,ui,ts,Pt,ln,sh,PR=(sh=class extends jy{constructor(t){super();te(this,Pt);te(this,Vs);te(this,Bs);te(this,_t);te(this,es);te(this,qe);te(this,ui);te(this,ts);H(this,ts,!1),H(this,ui,t.defaultOptions),this.setOptions(t.options),this.observers=[],H(this,es,t.client),H(this,_t,C(this,es).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,Vs,RR(this.options)),this.state=t.state??C(this,Vs),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=C(this,qe))==null?void 0:t.promise}setOptions(t){this.options={...C(this,ui),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&C(this,_t).remove(this)}setData(t,n){const s=Pc(this.state.data,t,this.options);return fe(this,Pt,ln).call(this,{data:s,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),s}setState(t,n){fe(this,Pt,ln).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var s,r;const n=(s=C(this,qe))==null?void 0:s.promise;return(r=C(this,qe))==null||r.cancel(t),n?n.then(Tt).catch(Tt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(C(this,Vs))}isActive(){return this.observers.some(t=>kt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===su||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!Ey(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(s=>s.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,qe))==null||n.continue()}onOnline(){var n;const t=this.observers.find(s=>s.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,qe))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),C(this,_t).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(C(this,qe)&&(C(this,ts)?C(this,qe).cancel({revert:!0}):C(this,qe).cancelRetry()),this.scheduleGc()),C(this,_t).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||fe(this,Pt,ln).call(this,{type:"invalidate"})}fetch(t,n){var c,l,u;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(C(this,qe))return C(this,qe).continueRetry(),C(this,qe).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(f=>f.options.queryFn);d&&this.setOptions(d.options)}const s=new AbortController,r=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(H(this,ts,!0),s.signal)})},i=()=>{const d=Ry(this.options,n),f={client:C(this,es),queryKey:this.queryKey,meta:this.meta};return r(f),H(this,ts,!1),this.options.persister?this.options.persister(d,f,this):d(f)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:C(this,es),state:this.state,fetchFn:i};r(o),(c=this.options.behavior)==null||c.onFetch(o,this),H(this,Bs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((l=o.fetchOptions)==null?void 0:l.meta))&&fe(this,Pt,ln).call(this,{type:"fetch",meta:(u=o.fetchOptions)==null?void 0:u.meta});const a=d=>{var f,p,m,h;Ma(d)&&d.silent||fe(this,Pt,ln).call(this,{type:"error",error:d}),Ma(d)||((p=(f=C(this,_t).config).onError)==null||p.call(f,d,this),(h=(m=C(this,_t).config).onSettled)==null||h.call(m,this.state.data,d,this)),this.scheduleGc()};return H(this,qe,Ny({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:s.abort.bind(s),onSuccess:d=>{var f,p,m,h;if(d===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(g){a(g);return}(p=(f=C(this,_t).config).onSuccess)==null||p.call(f,d,this),(h=(m=C(this,_t).config).onSettled)==null||h.call(m,d,this.state.error,this),this.scheduleGc()},onError:a,onFail:(d,f)=>{fe(this,Pt,ln).call(this,{type:"failed",failureCount:d,error:f})},onPause:()=>{fe(this,Pt,ln).call(this,{type:"pause"})},onContinue:()=>{fe(this,Pt,ln).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),C(this,qe).start()}},Vs=new WeakMap,Bs=new WeakMap,_t=new WeakMap,es=new WeakMap,qe=new WeakMap,ui=new WeakMap,ts=new WeakMap,Pt=new WeakSet,ln=function(t){const n=s=>{switch(t.type){case"failed":return{...s,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...s,fetchStatus:"paused"};case"continue":return{...s,fetchStatus:"fetching"};case"fetch":return{...s,...Dy(s.data,this.options),fetchMeta:t.meta??null};case"success":return{...s,data:t.data,dataUpdateCount:s.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const r=t.error;return Ma(r)&&r.revert&&C(this,Bs)?{...C(this,Bs),fetchStatus:"idle"}:{...s,error:r,errorUpdateCount:s.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:s.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error"};case"invalidate":return{...s,isInvalidated:!0};case"setState":return{...s,...t.state}}};this.state=n(this.state),ze.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),C(this,_t).notify({query:this,type:"updated",action:t})})},sh);function Dy(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:ky(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function RR(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,s=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?s??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Wt,rh,kR=(rh=class extends Ti{constructor(t={}){super();te(this,Wt);this.config=t,H(this,Wt,new Map)}build(t,n,s){const r=n.queryKey,i=n.queryHash??nu(r,n);let o=this.get(i);return o||(o=new PR({client:t,queryKey:r,queryHash:i,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(o)),o}add(t){C(this,Wt).has(t.queryHash)||(C(this,Wt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=C(this,Wt).get(t.queryHash);n&&(t.destroy(),n===t&&C(this,Wt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ze.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return C(this,Wt).get(t)}getAll(){return[...C(this,Wt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>Vf(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>Vf(t,s)):n}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){ze.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ze.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Wt=new WeakMap,rh),Ht,Ye,ns,qt,Sn,ih,OR=(ih=class extends jy{constructor(t){super();te(this,qt);te(this,Ht);te(this,Ye);te(this,ns);this.mutationId=t.mutationId,H(this,Ye,t.mutationCache),H(this,Ht,[]),this.state=t.state||NR(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){C(this,Ht).includes(t)||(C(this,Ht).push(t),this.clearGcTimeout(),C(this,Ye).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,Ht,C(this,Ht).filter(n=>n!==t)),this.scheduleGc(),C(this,Ye).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){C(this,Ht).length||(this.state.status==="pending"?this.scheduleGc():C(this,Ye).remove(this))}continue(){var t;return((t=C(this,ns))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var r,i,o,a,c,l,u,d,f,p,m,h,g,v,b,w,T,S,E,R;H(this,ns,Ny({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(A,N)=>{fe(this,qt,Sn).call(this,{type:"failed",failureCount:A,error:N})},onPause:()=>{fe(this,qt,Sn).call(this,{type:"pause"})},onContinue:()=>{fe(this,qt,Sn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>C(this,Ye).canRun(this)}));const n=this.state.status==="pending",s=!C(this,ns).canStart();try{if(!n){fe(this,qt,Sn).call(this,{type:"pending",variables:t,isPaused:s}),await((i=(r=C(this,Ye).config).onMutate)==null?void 0:i.call(r,t,this));const N=await((a=(o=this.options).onMutate)==null?void 0:a.call(o,t));N!==this.state.context&&fe(this,qt,Sn).call(this,{type:"pending",context:N,variables:t,isPaused:s})}const A=await C(this,ns).start();return await((l=(c=C(this,Ye).config).onSuccess)==null?void 0:l.call(c,A,t,this.state.context,this)),await((d=(u=this.options).onSuccess)==null?void 0:d.call(u,A,t,this.state.context)),await((p=(f=C(this,Ye).config).onSettled)==null?void 0:p.call(f,A,null,this.state.variables,this.state.context,this)),await((h=(m=this.options).onSettled)==null?void 0:h.call(m,A,null,t,this.state.context)),fe(this,qt,Sn).call(this,{type:"success",data:A}),A}catch(A){try{throw await((v=(g=C(this,Ye).config).onError)==null?void 0:v.call(g,A,t,this.state.context,this)),await((w=(b=this.options).onError)==null?void 0:w.call(b,A,t,this.state.context)),await((S=(T=C(this,Ye).config).onSettled)==null?void 0:S.call(T,void 0,A,this.state.variables,this.state.context,this)),await((R=(E=this.options).onSettled)==null?void 0:R.call(E,void 0,A,t,this.state.context)),A}finally{fe(this,qt,Sn).call(this,{type:"error",error:A})}}finally{C(this,Ye).runNext(this)}}},Ht=new WeakMap,Ye=new WeakMap,ns=new WeakMap,qt=new WeakSet,Sn=function(t){const n=s=>{switch(t.type){case"failed":return{...s,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...s,isPaused:!0};case"continue":return{...s,isPaused:!1};case"pending":return{...s,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...s,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...s,data:void 0,error:t.error,failureCount:s.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),ze.batch(()=>{C(this,Ht).forEach(s=>{s.onMutationUpdate(t)}),C(this,Ye).notify({mutation:this,type:"updated",action:t})})},ih);function NR(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var dn,Rt,di,oh,jR=(oh=class extends Ti{constructor(t={}){super();te(this,dn);te(this,Rt);te(this,di);this.config=t,H(this,dn,new Set),H(this,Rt,new Map),H(this,di,0)}build(t,n,s){const r=new OR({mutationCache:this,mutationId:++Ri(this,di)._,options:t.defaultMutationOptions(n),state:s});return this.add(r),r}add(t){C(this,dn).add(t);const n=Ui(t);if(typeof n=="string"){const s=C(this,Rt).get(n);s?s.push(t):C(this,Rt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(C(this,dn).delete(t)){const n=Ui(t);if(typeof n=="string"){const s=C(this,Rt).get(n);if(s)if(s.length>1){const r=s.indexOf(t);r!==-1&&s.splice(r,1)}else s[0]===t&&C(this,Rt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Ui(t);if(typeof n=="string"){const s=C(this,Rt).get(n),r=s==null?void 0:s.find(i=>i.state.status==="pending");return!r||r===t}else return!0}runNext(t){var s;const n=Ui(t);if(typeof n=="string"){const r=(s=C(this,Rt).get(n))==null?void 0:s.find(i=>i!==t&&i.state.isPaused);return(r==null?void 0:r.continue())??Promise.resolve()}else return Promise.resolve()}clear(){ze.batch(()=>{C(this,dn).forEach(t=>{this.notify({type:"removed",mutation:t})}),C(this,dn).clear(),C(this,Rt).clear()})}getAll(){return Array.from(C(this,dn))}find(t){const n={exact:!0,...t};return this.getAll().find(s=>Bf(n,s))}findAll(t={}){return this.getAll().filter(n=>Bf(t,n))}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return ze.batch(()=>Promise.all(t.map(n=>n.continue().catch(Tt))))}},dn=new WeakMap,Rt=new WeakMap,di=new WeakMap,oh);function Ui(e){var t;return(t=e.options.scope)==null?void 0:t.id}function zf(e){return{onFetch:(t,n)=>{var u,d,f,p,m;const s=t.options,r=(f=(d=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,i=((p=t.state.data)==null?void 0:p.pages)||[],o=((m=t.state.data)==null?void 0:m.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const l=async()=>{let h=!1;const g=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?h=!0:t.signal.addEventListener("abort",()=>{h=!0}),t.signal)})},v=Ry(t.options,t.fetchOptions),b=async(w,T,S)=>{if(h)return Promise.reject();if(T==null&&w.pages.length)return Promise.resolve(w);const E={client:t.client,queryKey:t.queryKey,pageParam:T,direction:S?"backward":"forward",meta:t.options.meta};g(E);const R=await v(E),{maxPages:A}=t.options,N=S?_R:SR;return{pages:N(w.pages,R,A),pageParams:N(w.pageParams,T,A)}};if(r&&i.length){const w=r==="backward",T=w?DR:Wf,S={pages:i,pageParams:o},E=T(s,S);a=await b(S,E,w)}else{const w=e??i.length;do{const T=c===0?o[0]??s.initialPageParam:Wf(s,a);if(c>0&&T==null)break;a=await b(a,T),c++}while(c{var h,g;return(g=(h=t.options).persister)==null?void 0:g.call(h,l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=l}}}function Wf(e,{pages:t,pageParams:n}){const s=t.length-1;return t.length>0?e.getNextPageParam(t[s],t,n[s],n):void 0}function DR(e,{pages:t,pageParams:n}){var s;return t.length>0?(s=e.getPreviousPageParam)==null?void 0:s.call(e,t[0],t,n[0],n):void 0}var Re,An,En,Us,$s,Pn,zs,Ws,ah,e1=(ah=class{constructor(e={}){te(this,Re);te(this,An);te(this,En);te(this,Us);te(this,$s);te(this,Pn);te(this,zs);te(this,Ws);H(this,Re,e.queryCache||new kR),H(this,An,e.mutationCache||new jR),H(this,En,e.defaultOptions||{}),H(this,Us,new Map),H(this,$s,new Map),H(this,Pn,0)}mount(){Ri(this,Pn)._++,C(this,Pn)===1&&(H(this,zs,ru.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,Re).onFocus())})),H(this,Ws,Ao.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,Re).onOnline())})))}unmount(){var e,t;Ri(this,Pn)._--,C(this,Pn)===0&&((e=C(this,zs))==null||e.call(this),H(this,zs,void 0),(t=C(this,Ws))==null||t.call(this),H(this,Ws,void 0))}isFetching(e){return C(this,Re).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return C(this,An).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,Re).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=C(this,Re).build(this,t),s=n.state.data;return s===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Ms(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(s))}getQueriesData(e){return C(this,Re).findAll(e).map(({queryKey:t,state:n})=>{const s=n.data;return[t,s]})}setQueryData(e,t,n){const s=this.defaultQueryOptions({queryKey:e}),r=C(this,Re).get(s.queryHash),i=r==null?void 0:r.state.data,o=bR(t,i);if(o!==void 0)return C(this,Re).build(this,s).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return ze.batch(()=>C(this,Re).findAll(e).map(({queryKey:s})=>[s,this.setQueryData(s,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,Re).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=C(this,Re);ze.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=C(this,Re),s={type:"active",...e};return ze.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries(s,t)))}cancelQueries(e,t={}){const n={revert:!0,...t},s=ze.batch(()=>C(this,Re).findAll(e).map(r=>r.cancel(n)));return Promise.all(s).then(Tt).catch(Tt)}invalidateQueries(e,t={}){return ze.batch(()=>{if(C(this,Re).findAll(e).forEach(s=>{s.invalidate()}),(e==null?void 0:e.refetchType)==="none")return Promise.resolve();const n={...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"};return this.refetchQueries(n,t)})}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},s=ze.batch(()=>C(this,Re).findAll(e).filter(r=>!r.isDisabled()).map(r=>{let i=r.fetch(void 0,n);return n.throwOnError||(i=i.catch(Tt)),r.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(s).then(Tt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=C(this,Re).build(this,t);return n.isStaleByTime(Ms(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Tt).catch(Tt)}fetchInfiniteQuery(e){return e.behavior=zf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Tt).catch(Tt)}ensureInfiniteQueryData(e){return e.behavior=zf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ao.isOnline()?C(this,An).resumePausedMutations():Promise.resolve()}getQueryCache(){return C(this,Re)}getMutationCache(){return C(this,An)}getDefaultOptions(){return C(this,En)}setDefaultOptions(e){H(this,En,e)}setQueryDefaults(e,t){C(this,Us).set(ii(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...C(this,Us).values()],n={};return t.forEach(s=>{oi(e,s.queryKey)&&Object.assign(n,s.defaultOptions)}),n}setMutationDefaults(e,t){C(this,$s).set(ii(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...C(this,$s).values()];let n={};return t.forEach(s=>{oi(e,s.mutationKey)&&(n={...n,...s.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...C(this,En).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=nu(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===su&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...C(this,En).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){C(this,Re).clear(),C(this,An).clear()}},Re=new WeakMap,An=new WeakMap,En=new WeakMap,Us=new WeakMap,$s=new WeakMap,Pn=new WeakMap,zs=new WeakMap,Ws=new WeakMap,ah),ot,he,fi,Je,ss,Hs,Rn,Zt,hi,qs,Zs,rs,is,kn,Gs,be,Pr,kc,Oc,Nc,jc,Dc,Mc,Fc,My,ch,MR=(ch=class extends Ti{constructor(t,n){super();te(this,be);te(this,ot);te(this,he);te(this,fi);te(this,Je);te(this,ss);te(this,Hs);te(this,Rn);te(this,Zt);te(this,hi);te(this,qs);te(this,Zs);te(this,rs);te(this,is);te(this,kn);te(this,Gs,new Set);this.options=n,H(this,ot,t),H(this,Zt,null),H(this,Rn,Rc()),this.options.experimental_prefetchInRender||C(this,Rn).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(C(this,he).addObserver(this),Hf(C(this,he),this.options)?fe(this,be,Pr).call(this):this.updateResult(),fe(this,be,jc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Lc(C(this,he),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Lc(C(this,he),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,fe(this,be,Dc).call(this),fe(this,be,Mc).call(this),C(this,he).removeObserver(this)}setOptions(t,n){const s=this.options,r=C(this,he);if(this.options=C(this,ot).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof kt(this.options.enabled,C(this,he))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");fe(this,be,Fc).call(this),C(this,he).setOptions(this.options),s._defaulted&&!Ac(this.options,s)&&C(this,ot).getQueryCache().notify({type:"observerOptionsUpdated",query:C(this,he),observer:this});const i=this.hasListeners();i&&qf(C(this,he),r,this.options,s)&&fe(this,be,Pr).call(this),this.updateResult(n),i&&(C(this,he)!==r||kt(this.options.enabled,C(this,he))!==kt(s.enabled,C(this,he))||Ms(this.options.staleTime,C(this,he))!==Ms(s.staleTime,C(this,he)))&&fe(this,be,kc).call(this);const o=fe(this,be,Oc).call(this);i&&(C(this,he)!==r||kt(this.options.enabled,C(this,he))!==kt(s.enabled,C(this,he))||o!==C(this,kn))&&fe(this,be,Nc).call(this,o)}getOptimisticResult(t){const n=C(this,ot).getQueryCache().build(C(this,ot),t),s=this.createResult(n,t);return LR(this,s)&&(H(this,Je,s),H(this,Hs,this.options),H(this,ss,C(this,he).state)),s}getCurrentResult(){return C(this,Je)}trackResult(t,n){const s={};return Object.keys(t).forEach(r=>{Object.defineProperty(s,r,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(r),n==null||n(r),t[r])})}),s}trackProp(t){C(this,Gs).add(t)}getCurrentQuery(){return C(this,he)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=C(this,ot).defaultQueryOptions(t),s=C(this,ot).getQueryCache().build(C(this,ot),n);return s.fetch().then(()=>this.createResult(s,n))}fetch(t){return fe(this,be,Pr).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),C(this,Je)))}createResult(t,n){var A;const s=C(this,he),r=this.options,i=C(this,Je),o=C(this,ss),a=C(this,Hs),l=t!==s?t.state:C(this,fi),{state:u}=t;let d={...u},f=!1,p;if(n._optimisticResults){const N=this.hasListeners(),D=!N&&Hf(t,n),L=N&&qf(t,s,n,r);(D||L)&&(d={...d,...Dy(u.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:m,errorUpdatedAt:h,status:g}=d;if(n.select&&d.data!==void 0)if(i&&d.data===(o==null?void 0:o.data)&&n.select===C(this,hi))p=C(this,qs);else try{H(this,hi,n.select),p=n.select(d.data),p=Pc(i==null?void 0:i.data,p,n),H(this,qs,p),H(this,Zt,null)}catch(N){H(this,Zt,N)}else p=d.data;if(n.placeholderData!==void 0&&p===void 0&&g==="pending"){let N;if(i!=null&&i.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))N=i.data;else if(N=typeof n.placeholderData=="function"?n.placeholderData((A=C(this,Zs))==null?void 0:A.state.data,C(this,Zs)):n.placeholderData,n.select&&N!==void 0)try{N=n.select(N),H(this,Zt,null)}catch(D){H(this,Zt,D)}N!==void 0&&(g="success",p=Pc(i==null?void 0:i.data,N,n),f=!0)}C(this,Zt)&&(m=C(this,Zt),p=C(this,qs),h=Date.now(),g="error");const v=d.fetchStatus==="fetching",b=g==="pending",w=g==="error",T=b&&v,S=p!==void 0,R={status:g,fetchStatus:d.fetchStatus,isPending:b,isSuccess:g==="success",isError:w,isInitialLoading:T,isLoading:T,data:p,dataUpdatedAt:d.dataUpdatedAt,error:m,errorUpdatedAt:h,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:v,isRefetching:v&&!b,isLoadingError:w&&!S,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:w&&S,isStale:iu(t,n),refetch:this.refetch,promise:C(this,Rn)};if(this.options.experimental_prefetchInRender){const N=j=>{R.status==="error"?j.reject(R.error):R.data!==void 0&&j.resolve(R.data)},D=()=>{const j=H(this,Rn,R.promise=Rc());N(j)},L=C(this,Rn);switch(L.status){case"pending":t.queryHash===s.queryHash&&N(L);break;case"fulfilled":(R.status==="error"||R.data!==L.value)&&D();break;case"rejected":(R.status!=="error"||R.error!==L.reason)&&D();break}}return R}updateResult(t){const n=C(this,Je),s=this.createResult(C(this,he),this.options);if(H(this,ss,C(this,he).state),H(this,Hs,this.options),C(this,ss).data!==void 0&&H(this,Zs,C(this,he)),Ac(s,n))return;H(this,Je,s);const r={},i=()=>{if(!n)return!0;const{notifyOnChangeProps:o}=this.options,a=typeof o=="function"?o():o;if(a==="all"||!a&&!C(this,Gs).size)return!0;const c=new Set(a??C(this,Gs));return this.options.throwOnError&&c.add("error"),Object.keys(C(this,Je)).some(l=>{const u=l;return C(this,Je)[u]!==n[u]&&c.has(u)})};(t==null?void 0:t.listeners)!==!1&&i()&&(r.listeners=!0),fe(this,be,My).call(this,{...r,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&fe(this,be,jc).call(this)}},ot=new WeakMap,he=new WeakMap,fi=new WeakMap,Je=new WeakMap,ss=new WeakMap,Hs=new WeakMap,Rn=new WeakMap,Zt=new WeakMap,hi=new WeakMap,qs=new WeakMap,Zs=new WeakMap,rs=new WeakMap,is=new WeakMap,kn=new WeakMap,Gs=new WeakMap,be=new WeakSet,Pr=function(t){fe(this,be,Fc).call(this);let n=C(this,he).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Tt)),n},kc=function(){fe(this,be,Dc).call(this);const t=Ms(this.options.staleTime,C(this,he));if(ys||C(this,Je).isStale||!Cc(t))return;const s=Ey(C(this,Je).dataUpdatedAt,t)+1;H(this,rs,setTimeout(()=>{C(this,Je).isStale||this.updateResult()},s))},Oc=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(C(this,he)):this.options.refetchInterval)??!1},Nc=function(t){fe(this,be,Mc).call(this),H(this,kn,t),!(ys||kt(this.options.enabled,C(this,he))===!1||!Cc(C(this,kn))||C(this,kn)===0)&&H(this,is,setInterval(()=>{(this.options.refetchIntervalInBackground||ru.isFocused())&&fe(this,be,Pr).call(this)},C(this,kn)))},jc=function(){fe(this,be,kc).call(this),fe(this,be,Nc).call(this,fe(this,be,Oc).call(this))},Dc=function(){C(this,rs)&&(clearTimeout(C(this,rs)),H(this,rs,void 0))},Mc=function(){C(this,is)&&(clearInterval(C(this,is)),H(this,is,void 0))},Fc=function(){const t=C(this,ot).getQueryCache().build(C(this,ot),this.options);if(t===C(this,he))return;const n=C(this,he);H(this,he,t),H(this,fi,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},My=function(t){ze.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(C(this,Je))}),C(this,ot).getQueryCache().notify({query:C(this,he),type:"observerResultsUpdated"})})},ch);function FR(e,t){return kt(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Hf(e,t){return FR(e,t)||e.state.data!==void 0&&Lc(e,t,t.refetchOnMount)}function Lc(e,t,n){if(kt(t.enabled,e)!==!1){const s=typeof n=="function"?n(e):n;return s==="always"||s!==!1&&iu(e,t)}return!1}function qf(e,t,n,s){return(e!==t||kt(s.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&iu(e,n)}function iu(e,t){return kt(t.enabled,e)!==!1&&e.isStaleByTime(Ms(t.staleTime,e))}function LR(e,t){return!Ac(e.getCurrentResult(),t)}var Fy=x.createContext(void 0),IR=e=>{const t=x.useContext(Fy);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},t1=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),y.jsx(Fy.Provider,{value:e,children:t})),Ly=x.createContext(!1),VR=()=>x.useContext(Ly);Ly.Provider;function BR(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var UR=x.createContext(BR()),$R=()=>x.useContext(UR);function zR(e,t){return typeof e=="function"?e(...t):!!e}function Zf(){}var WR=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},HR=e=>{x.useEffect(()=>{e.clearReset()},[e])},qR=({result:e,errorResetBoundary:t,throwOnError:n,query:s,suspense:r})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(r&&e.data===void 0||zR(n,[e.error,s])),ZR=e=>{const t=e.staleTime;e.suspense&&(e.staleTime=typeof t=="function"?(...n)=>Math.max(t(...n),1e3):Math.max(t??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},GR=(e,t)=>e.isLoading&&e.isFetching&&!t,KR=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,Gf=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function QR(e,t,n){var d,f,p,m,h;const s=IR(),r=VR(),i=$R(),o=s.defaultQueryOptions(e);(f=(d=s.getDefaultOptions().queries)==null?void 0:d._experimental_beforeQuery)==null||f.call(d,o),o._optimisticResults=r?"isRestoring":"optimistic",ZR(o),WR(o,i),HR(i);const a=!s.getQueryCache().get(o.queryHash),[c]=x.useState(()=>new t(s,o)),l=c.getOptimisticResult(o),u=!r&&e.subscribed!==!1;if(x.useSyncExternalStore(x.useCallback(g=>{const v=u?c.subscribe(ze.batchCalls(g)):Zf;return c.updateResult(),v},[c,u]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),x.useEffect(()=>{c.setOptions(o,{listeners:!1})},[o,c]),KR(o,l))throw Gf(o,c,i);if(qR({result:l,errorResetBoundary:i,throwOnError:o.throwOnError,query:s.getQueryCache().get(o.queryHash),suspense:o.suspense}))throw l.error;if((m=(p=s.getDefaultOptions().queries)==null?void 0:p._experimental_afterQuery)==null||m.call(p,o,l),o.experimental_prefetchInRender&&!ys&&GR(l,r)){const g=a?Gf(o,c,i):(h=s.getQueryCache().get(o.queryHash))==null?void 0:h.promise;g==null||g.catch(Zf).finally(()=>{c.updateResult()})}return o.notifyOnChangeProps?l:c.trackResult(l)}function Ci(e,t){return QR(e,MR)}const Iy=()=>{const e=Ve(s=>s.lang),{data:t,isPending:n}=Ci({queryKey:["industries",e],queryFn:()=>mR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},n1=({className:e})=>{const t=Ve(r=>r.lang),{data:n,isPending:s}=Iy();return y.jsx("section",{className:Q("relative w-full bg-[#FDEDEE] -z-10 py-10",e),children:y.jsx(st,{children:s?y.jsx(hr,{}):y.jsxs(y.Fragment,{children:[y.jsx("h3",{className:"h2 mb-4",children:Tc[ct(t)].title}),y.jsx("div",{className:"grid md:grid-cols-4 grid-cols-2 gap-6",children:n==null?void 0:n.map((r,i)=>y.jsx(ap,{...r},i))}),y.jsxs("div",{className:"flex items-center gap-3 mt-8 text-on_surface_v text-lg",children:[y.jsx("div",{className:"md:w-1 w-4 md:h-[38px] h-40 bg-teritary_08"}),y.jsx("p",{className:"text-18",children:Tc[ct(t)].bottom_text})]})]})})})},Vy=[{title:"Время выставки",data:[{name:"Монтаж выставки",date:"12 Мая – 10 Июня 2025 года"},{name:"Работа",date:"11–13 Июня 2025 года"},{name:"Демонтаж",date:"13–14 Июня 2025 года"}]},{title:"Exhibition time",data:[{name:"Exhibition assembly",date:"12 May — 10 June 2025"},{name:"Exhibition days",date:"11–13 June 2025"},{name:"Exhibition dismantling",date:"13–14 June 2025"}]}],By=()=>{const e=Ve(s=>s.lang),{data:t,isPending:n}=Ci({queryKey:["exhibiton-time",e],queryFn:()=>gR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},s1=({className:e})=>{const t=Ve(r=>r.lang),{data:n,isPending:s}=By();return y.jsx("section",{className:Q("bg-surface_container py-10 md:py-20",e),children:y.jsx(st,{children:s?y.jsx(hr,{}):y.jsxs(y.Fragment,{children:[y.jsx("h2",{className:"h2 mb-6",children:Vy[ct(t)].title}),y.jsx("div",{className:"flex flex-col md:flex-row items-center gap-6",children:n==null?void 0:n.map((r,i)=>x.createElement(cp,{bottomClassName:"!bg-white rounded-b-[2px]",...r,key:i,className:"w-full"}))})]})})})},Kf=[{title:"Место проведения",data:["Выставочный центр Торгово-промышленной палаты Туркменистана – это современная площадка для проведения международных выставок, конференций, форумов и деловых встреч","Центр оснащен передовыми техническими решениями, включая мультимедийное оборудование, системы звукоусиления и освещения, конференц-залы с синхронным переводом, а также удобные зоны для переговоров. Просторные выставочные павильоны обеспечивают комфортные условия для демонстрации продукции и услуг. "]},{title:"Venue",data:["The Exhibition Centre of the Chamber of Commerce and Industry of Turkmenistan is a modern venue designed for international exhibitions, conferences, forums, and business meetings.","The centre is equipped with cutting-edge technical solutions, including multimedia equipment, sound and lighting systems, conference rooms with simultaneous translation, and comfortable areas for negotiations. Spacious exhibition pavilions provide ideal conditions for showcasing products and services."]}],r1=({className:e})=>{const t=Ve(n=>n.lang);return y.jsx("section",{className:Q("gap-6 relative overflow-hidden",e),children:y.jsxs(st,{className:"md:py-20 py-10 grid-cols-1 lg:grid-cols-2 lg:gap-12 gap-0 grid",children:[y.jsxs("div",{className:"flex-[0_0_50%]",children:[y.jsx("h3",{className:"h2 mb-6",children:Kf[ct(t)].title}),y.jsx("div",{className:"text-lg flex flex-col gap-6 text-on_surface_v normal mb-10",children:Kf[ct(t)].data.map(n=>y.jsx("p",{children:n},n))})]}),y.jsx("div",{className:"h-full max-size-[600px] flex-[0_0_50%]",children:y.jsx("img",{src:"/about-place.jpg",alt:"",className:"size-full object-contain"})})]})})},$i=[{title:"Приглашение к участию",p:"Министерство текстильной промышленности Туркменистана приглашает бизнес-сообщество со всего мира присоединиться к этому уникальному событию, которое станет важным шагом к укреплению позиций Туркменистана в международной экономической арене.",button1:"Забронировать стенд",button2:"B2B | B2G встречи"},{title:"Invitation to Participate",p:"Ministry of Textile Industry of Turkmenistan invites the global business community to join this unique event, which will be a significant step toward strengthening Turkmenistan’s position on the global economic stage",button1:"Book a stand",button2:"B2B | B2G meetings"}],i1=({className:e})=>{const t=Ve(n=>n.lang);return y.jsxs("section",{className:Q("md:py-20 py-10 relative overflow-hidden",e),children:[y.jsx("img",{src:"/CTA.png",className:"absolute top-0 left-0 size-full -z-10 object-cover"}),y.jsxs(st,{children:[y.jsx("h3",{className:"h2 text-center !text-on_primary mb-6",children:$i[ct(t)].title}),y.jsx("p",{className:"text-center md:text-lg text-sm text-primary_03 max-w-[828px] px-5 mx-auto mb-10",children:$i[ct(t)].p}),y.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-6",children:[y.jsx(Me,{to:"/stend-form",className:"w-full",children:y.jsx(ut,{className:"bg-reverse_primary w-full text-primary hover:bg-reverse_primary/90",children:$i[ct(t)].button1})}),y.jsx(Me,{to:"/B2B-B2GS",className:"w-full",children:y.jsx(ut,{className:"bg-reverse_primary w-full hover:bg-reverse_primary/90 text-primary",children:$i[ct(t)].button2})})]})]})]})},Uy=e=>{const t=Ve(r=>r.lang),{data:n,isPending:s}=Ci({queryKey:["static-words",t,e],queryFn:()=>fR(t,e),select:({data:r})=>r.data});return{data:n,isPending:s}},o1=()=>{var f,p,m,h,g,v,b,w;const e=Ve(T=>T.lang),{t}=jo("about"),{data:n,isPending:s}=Uy("2"),r=(f=n==null?void 0:n.find(T=>T.key==="about_1"))==null?void 0:f.text,i=(p=n==null?void 0:n.find(T=>T.key==="about_2"))==null?void 0:p.text,o=(m=n==null?void 0:n.find(T=>T.key==="about_3"))==null?void 0:m.text,a=(h=n==null?void 0:n.find(T=>T.key==="about_4"))==null?void 0:h.text,c=(g=n==null?void 0:n.find(T=>T.key==="about_5"))==null?void 0:g.list,l=(v=n==null?void 0:n.find(T=>T.key==="about_6"))==null?void 0:v.text,u=(b=n==null?void 0:n.find(T=>T.key==="about_7"))==null?void 0:b.text,d=(w=n==null?void 0:n.find(T=>T.key==="about_8"))==null?void 0:w.list;return s?y.jsx(hr,{}):y.jsxs(st,{className:"flex flex-col md:my-20 my-10 gap-16",children:[y.jsxs("div",{className:"flex flex-col gap-6",children:[y.jsx("h2",{className:"h2",children:r}),y.jsx("div",{className:"flex flex-col p gap-3",dangerouslySetInnerHTML:{__html:i??""}})]}),y.jsxs("div",{className:"flex flex-col gap-6",children:[y.jsx("h3",{className:"h2",children:o}),y.jsx("h4",{className:"p",children:a}),y.jsx("ol",{type:"1",className:"list-decimal pl-8 flex flex-col gap-3 ",children:c==null?void 0:c.map((T,S)=>y.jsx("li",{className:"p",children:e==="ru"?T.text_ru:T.text_en},S))})]}),y.jsxs("div",{className:"flex flex-col gap-6",children:[y.jsx("h2",{className:"h2",children:l}),y.jsx("h3",{className:"p",children:u}),y.jsx("ul",{className:"list-disc pl-8 flex flex-col gap-3 p",children:d==null?void 0:d.map((T,S)=>y.jsxs("li",{children:[" ",e==="ru"?T.text_ru:T.text_en]},S))})]}),y.jsx(Me,{className:"w-fit mx-auto",to:"/become-sponsor",children:y.jsx(ut,{children:t("main.button")})})]})};function XR(e){return Object.prototype.toString.call(e)==="[object Object]"}function Qf(e){return XR(e)||Array.isArray(e)}function YR(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function ou(e,t){const n=Object.keys(e),s=Object.keys(t);if(n.length!==s.length)return!1;const r=JSON.stringify(Object.keys(e.breakpoints||{})),i=JSON.stringify(Object.keys(t.breakpoints||{}));return r!==i?!1:n.every(o=>{const a=e[o],c=t[o];return typeof a=="function"?`${a}`==`${c}`:!Qf(a)||!Qf(c)?a===c:ou(a,c)})}function Xf(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function JR(e,t){if(e.length!==t.length)return!1;const n=Xf(e),s=Xf(t);return n.every((r,i)=>{const o=s[i];return ou(r,o)})}function au(e){return typeof e=="number"}function Ic(e){return typeof e=="string"}function Jo(e){return typeof e=="boolean"}function Yf(e){return Object.prototype.toString.call(e)==="[object Object]"}function Pe(e){return Math.abs(e)}function cu(e){return Math.sign(e)}function Fr(e,t){return Pe(e-t)}function ek(e,t){if(e===0||t===0||Pe(e)<=Pe(t))return 0;const n=Fr(Pe(e),Pe(t));return Pe(n/e)}function tk(e){return Math.round(e*100)/100}function ai(e){return ci(e).map(Number)}function Dt(e){return e[Ai(e)]}function Ai(e){return Math.max(0,e.length-1)}function lu(e,t){return t===Ai(e)}function Jf(e,t=0){return Array.from(Array(e),(n,s)=>t+s)}function ci(e){return Object.keys(e)}function $y(e,t){return[e,t].reduce((n,s)=>(ci(s).forEach(r=>{const i=n[r],o=s[r],a=Yf(i)&&Yf(o);n[r]=a?$y(i,o):o}),n),{})}function Vc(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function nk(e,t){const n={start:s,center:r,end:i};function s(){return 0}function r(c){return i(c)/2}function i(c){return t-c}function o(c,l){return Ic(e)?n[e](c):e(t,c,l)}return{measure:o}}function li(){let e=[];function t(r,i,o,a={passive:!0}){let c;if("addEventListener"in r)r.addEventListener(i,o,a),c=()=>r.removeEventListener(i,o,a);else{const l=r;l.addListener(o),c=()=>l.removeListener(o)}return e.push(c),s}function n(){e=e.filter(r=>r())}const s={add:t,clear:n};return s}function sk(e,t,n,s){const r=li(),i=1e3/60;let o=null,a=0,c=0;function l(){r.add(e,"visibilitychange",()=>{e.hidden&&m()})}function u(){p(),r.clear()}function d(g){if(!c)return;o||(o=g,n(),n());const v=g-o;for(o=g,a+=v;a>=i;)n(),a-=i;const b=a/i;s(b),c&&(c=t.requestAnimationFrame(d))}function f(){c||(c=t.requestAnimationFrame(d))}function p(){t.cancelAnimationFrame(c),o=null,a=0,c=0}function m(){o=null,a=0}return{init:l,destroy:u,start:f,stop:p,update:n,render:s}}function rk(e,t){const n=t==="rtl",s=e==="y",r=s?"y":"x",i=s?"x":"y",o=!s&&n?-1:1,a=u(),c=d();function l(m){const{height:h,width:g}=m;return s?h:g}function u(){return s?"top":n?"right":"left"}function d(){return s?"bottom":n?"left":"right"}function f(m){return m*o}return{scroll:r,cross:i,startEdge:a,endEdge:c,measureSize:l,direction:f}}function vs(e=0,t=0){const n=Pe(e-t);function s(l){return lt}function i(l){return s(l)||r(l)}function o(l){return i(l)?s(l)?e:t:l}function a(l){return n?l-n*Math.ceil((l-t)/n):l}return{length:n,max:t,min:e,constrain:o,reachedAny:i,reachedMax:r,reachedMin:s,removeOffset:a}}function zy(e,t,n){const{constrain:s}=vs(0,e),r=e+1;let i=o(t);function o(f){return n?Pe((r+f)%r):s(f)}function a(){return i}function c(f){return i=o(f),d}function l(f){return u().set(a()+f)}function u(){return zy(e,a(),n)}const d={get:a,set:c,add:l,clone:u};return d}function ik(e,t,n,s,r,i,o,a,c,l,u,d,f,p,m,h,g,v,b){const{cross:w,direction:T}=e,S=["INPUT","SELECT","TEXTAREA"],E={passive:!1},R=li(),A=li(),N=vs(50,225).constrain(p.measure(20)),D={mouse:300,touch:400},L={mouse:500,touch:600},j=m?43:25;let $=!1,W=0,se=0,Y=!1,Z=!1,q=!1,re=!1;function me(G){if(!b)return;function de(Ue){(Jo(b)||b(G,Ue))&&Xe(Ue)}const Se=t;R.add(Se,"dragstart",Ue=>Ue.preventDefault(),E).add(Se,"touchmove",()=>{},E).add(Se,"touchend",()=>{}).add(Se,"touchstart",de).add(Se,"mousedown",de).add(Se,"touchcancel",ye).add(Se,"contextmenu",ye).add(Se,"click",Oe,!0)}function ge(){R.clear(),A.clear()}function We(){const G=re?n:t;A.add(G,"touchmove",ue,E).add(G,"touchend",ye).add(G,"mousemove",ue,E).add(G,"mouseup",ye)}function dt(G){const de=G.nodeName||"";return S.includes(de)}function He(){return(m?L:D)[re?"mouse":"touch"]}function At(G,de){const Se=d.add(cu(G)*-1),Ue=u.byDistance(G,!m).distance;return m||Pe(G)=2,!(de&&G.button!==0)&&(dt(G.target)||(Y=!0,i.pointerDown(G),l.useFriction(0).useDuration(0),r.set(o),We(),W=i.readPoint(G),se=i.readPoint(G,w),f.emit("pointerDown")))}function ue(G){if(!Vc(G,s)&&G.touches.length>=2)return ye(G);const Se=i.readPoint(G),Ue=i.readPoint(G,w),ft=Fr(Se,W),bt=Fr(Ue,se);if(!Z&&!re&&(!G.cancelable||(Z=ft>bt,!Z)))return ye(G);const _=i.pointerMove(G);ft>h&&(q=!0),l.useFriction(.3).useDuration(.75),a.start(),r.add(T(_)),G.preventDefault()}function ye(G){const Se=u.byDistance(0,!1).index!==d.get(),Ue=i.pointerUp(G)*He(),ft=At(T(Ue),Se),bt=ek(Ue,ft),_=j-10*bt,P=v+bt/50;Z=!1,Y=!1,A.clear(),l.useDuration(_).useFriction(P),c.distance(ft,!m),re=!1,f.emit("pointerUp")}function Oe(G){q&&(G.stopPropagation(),G.preventDefault(),q=!1)}function Le(){return Y}return{init:me,destroy:ge,pointerDown:Le}}function ok(e,t){let s,r;function i(d){return d.timeStamp}function o(d,f){const m=`client${(f||e.scroll)==="x"?"X":"Y"}`;return(Vc(d,t)?d:d.touches[0])[m]}function a(d){return s=d,r=d,o(d)}function c(d){const f=o(d)-o(r),p=i(d)-i(s)>170;return r=d,p&&(s=d),f}function l(d){if(!s||!r)return 0;const f=o(r)-o(s),p=i(d)-i(s),m=i(d)-i(r)>170,h=f/p;return p&&!m&&Pe(h)>.1?h:0}return{pointerDown:a,pointerMove:c,pointerUp:l,readPoint:o}}function ak(){function e(n){const{offsetTop:s,offsetLeft:r,offsetWidth:i,offsetHeight:o}=n;return{top:s,right:r+i,bottom:s+o,left:r,width:i,height:o}}return{measure:e}}function ck(e){function t(s){return e*(s/100)}return{measure:t}}function lk(e,t,n,s,r,i,o){const a=[e].concat(s);let c,l,u=[],d=!1;function f(g){return r.measureSize(o.measure(g))}function p(g){if(!i)return;l=f(e),u=s.map(f);function v(b){for(const w of b){if(d)return;const T=w.target===e,S=s.indexOf(w.target),E=T?l:u[S],R=f(T?e:s[S]);if(Pe(R-E)>=.5){g.reInit(),t.emit("resize");break}}}c=new ResizeObserver(b=>{(Jo(i)||i(g,b))&&v(b)}),n.requestAnimationFrame(()=>{a.forEach(b=>c.observe(b))})}function m(){d=!0,c&&c.disconnect()}return{init:p,destroy:m}}function uk(e,t,n,s,r,i){let o=0,a=0,c=r,l=i,u=e.get(),d=0;function f(){const E=s.get()-e.get(),R=!c;let A=0;return R?(o=0,n.set(s),e.set(s),A=E):(n.set(e),o+=E/c,o*=l,u+=o,e.add(o),A=u-d),a=cu(A),d=u,S}function p(){const E=s.get()-t.get();return Pe(E)<.001}function m(){return c}function h(){return a}function g(){return o}function v(){return w(r)}function b(){return T(i)}function w(E){return c=E,S}function T(E){return l=E,S}const S={direction:h,duration:m,velocity:g,seek:f,settled:p,useBaseFriction:b,useBaseDuration:v,useFriction:T,useDuration:w};return S}function dk(e,t,n,s,r){const i=r.measure(10),o=r.measure(50),a=vs(.1,.99);let c=!1;function l(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function u(p){if(!l())return;const m=e.reachedMin(t.get())?"min":"max",h=Pe(e[m]-t.get()),g=n.get()-t.get(),v=a.constrain(h/o);n.subtract(g*v),!p&&Pe(g){const{min:g,max:v}=i,b=i.constrain(m),w=!h,T=lu(n,h);return w?v:T||l(g,b)?g:l(v,b)?v:b}).map(m=>parseFloat(m.toFixed(3)))}function f(){if(t<=e+r)return[i.max];if(s==="keepSnaps")return o;const{min:m,max:h}=a;return o.slice(m,h)}return{snapsContained:c,scrollContainLimit:a}}function hk(e,t,n){const s=t[0],r=n?s-e:Dt(t);return{limit:vs(r,s)}}function pk(e,t,n,s){const i=t.min+.1,o=t.max+.1,{reachedMin:a,reachedMax:c}=vs(i,o);function l(f){return f===1?c(n.get()):f===-1?a(n.get()):!1}function u(f){if(!l(f))return;const p=e*(f*-1);s.forEach(m=>m.add(p))}return{loop:u}}function mk(e){const{max:t,length:n}=e;function s(i){const o=i-t;return n?o/-n:0}return{get:s}}function gk(e,t,n,s,r){const{startEdge:i,endEdge:o}=e,{groupSlides:a}=r,c=d().map(t.measure),l=f(),u=p();function d(){return a(s).map(h=>Dt(h)[o]-h[0][i]).map(Pe)}function f(){return s.map(h=>n[i]-h[i]).map(h=>-Pe(h))}function p(){return a(l).map(h=>h[0]).map((h,g)=>h+c[g])}return{snaps:l,snapsAligned:u}}function yk(e,t,n,s,r,i){const{groupSlides:o}=r,{min:a,max:c}=s,l=u();function u(){const f=o(i),p=!e||t==="keepSnaps";return n.length===1?[i]:p?f:f.slice(a,c).map((m,h,g)=>{const v=!h,b=lu(g,h);if(v){const w=Dt(g[0])+1;return Jf(w)}if(b){const w=Ai(i)-Dt(g)[0]+1;return Jf(w,Dt(g)[0])}return m})}return{slideRegistry:l}}function vk(e,t,n,s,r){const{reachedAny:i,removeOffset:o,constrain:a}=s;function c(m){return m.concat().sort((h,g)=>Pe(h)-Pe(g))[0]}function l(m){const h=e?o(m):a(m),g=t.map((b,w)=>({diff:u(b-h,0),index:w})).sort((b,w)=>Pe(b.diff)-Pe(w.diff)),{index:v}=g[0];return{index:v,distance:h}}function u(m,h){const g=[m,m+n,m-n];if(!e)return m;if(!h)return c(g);const v=g.filter(b=>cu(b)===h);return v.length?c(v):Dt(g)-n}function d(m,h){const g=t[m]-r.get(),v=u(g,h);return{index:m,distance:v}}function f(m,h){const g=r.get()+m,{index:v,distance:b}=l(g),w=!e&&i(g);if(!h||w)return{index:v,distance:m};const T=t[v]-b,S=m+u(T,0);return{index:v,distance:S}}return{byDistance:f,byIndex:d,shortcut:u}}function xk(e,t,n,s,r,i,o){function a(d){const f=d.distance,p=d.index!==t.get();i.add(f),f&&(s.duration()?e.start():(e.update(),e.render(1),e.update())),p&&(n.set(t.get()),t.set(d.index),o.emit("select"))}function c(d,f){const p=r.byDistance(d,f);a(p)}function l(d,f){const p=t.clone().set(d),m=r.byIndex(p.get(),f);a(m)}return{distance:c,index:l}}function bk(e,t,n,s,r,i,o,a){const c={passive:!0,capture:!0};let l=0;function u(p){if(!a)return;function m(h){if(new Date().getTime()-l>10)return;o.emit("slideFocusStart"),e.scrollLeft=0;const b=n.findIndex(w=>w.includes(h));au(b)&&(r.useDuration(0),s.index(b,0),o.emit("slideFocus"))}i.add(document,"keydown",d,!1),t.forEach((h,g)=>{i.add(h,"focus",v=>{(Jo(a)||a(p,v))&&m(g)},c)})}function d(p){p.code==="Tab"&&(l=new Date().getTime())}return{init:u}}function Rr(e){let t=e;function n(){return t}function s(c){t=o(c)}function r(c){t+=o(c)}function i(c){t-=o(c)}function o(c){return au(c)?c:c.get()}return{get:n,set:s,add:r,subtract:i}}function Wy(e,t){const n=e.scroll==="x"?o:a,s=t.style;let r=null,i=!1;function o(f){return`translate3d(${f}px,0px,0px)`}function a(f){return`translate3d(0px,${f}px,0px)`}function c(f){if(i)return;const p=tk(e.direction(f));p!==r&&(s.transform=n(p),r=p)}function l(f){i=!f}function u(){i||(s.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:u,to:c,toggleActive:l}}function wk(e,t,n,s,r,i,o,a,c){const u=ai(r),d=ai(r).reverse(),f=v().concat(b());function p(R,A){return R.reduce((N,D)=>N-r[D],A)}function m(R,A){return R.reduce((N,D)=>p(N,A)>0?N.concat([D]):N,[])}function h(R){return i.map((A,N)=>({start:A-s[N]+.5+R,end:A+t-.5+R}))}function g(R,A,N){const D=h(A);return R.map(L=>{const j=N?0:-n,$=N?n:0,W=N?"end":"start",se=D[L][W];return{index:L,loopPoint:se,slideLocation:Rr(-1),translate:Wy(e,c[L]),target:()=>a.get()>se?j:$}})}function v(){const R=o[0],A=m(d,R);return g(A,n,!1)}function b(){const R=t-o[0]-1,A=m(u,R);return g(A,-n,!0)}function w(){return f.every(({index:R})=>{const A=u.filter(N=>N!==R);return p(A,t)<=.1})}function T(){f.forEach(R=>{const{target:A,translate:N,slideLocation:D}=R,L=A();L!==D.get()&&(N.to(L),D.set(L))})}function S(){f.forEach(R=>R.translate.clear())}return{canLoop:w,clear:S,loop:T,loopPoints:f}}function Sk(e,t,n){let s,r=!1;function i(c){if(!n)return;function l(u){for(const d of u)if(d.type==="childList"){c.reInit(),t.emit("slidesChanged");break}}s=new MutationObserver(u=>{r||(Jo(n)||n(c,u))&&l(u)}),s.observe(e,{childList:!0})}function o(){s&&s.disconnect(),r=!0}return{init:i,destroy:o}}function _k(e,t,n,s){const r={};let i=null,o=null,a,c=!1;function l(){a=new IntersectionObserver(m=>{c||(m.forEach(h=>{const g=t.indexOf(h.target);r[g]=h}),i=null,o=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:s}),t.forEach(m=>a.observe(m))}function u(){a&&a.disconnect(),c=!0}function d(m){return ci(r).reduce((h,g)=>{const v=parseInt(g),{isIntersecting:b}=r[v];return(m&&b||!m&&!b)&&h.push(v),h},[])}function f(m=!0){if(m&&i)return i;if(!m&&o)return o;const h=d(m);return m&&(i=h),m||(o=h),h}return{init:l,destroy:u,get:f}}function Tk(e,t,n,s,r,i){const{measureSize:o,startEdge:a,endEdge:c}=e,l=n[0]&&r,u=m(),d=h(),f=n.map(o),p=g();function m(){if(!l)return 0;const b=n[0];return Pe(t[a]-b[a])}function h(){if(!l)return 0;const b=i.getComputedStyle(Dt(s));return parseFloat(b.getPropertyValue(`margin-${c}`))}function g(){return n.map((b,w,T)=>{const S=!w,E=lu(T,w);return S?f[w]+u:E?f[w]+d:T[w+1][a]-b[a]}).map(Pe)}return{slideSizes:f,slideSizesWithGaps:p,startGap:u,endGap:d}}function Ck(e,t,n,s,r,i,o,a,c){const{startEdge:l,endEdge:u,direction:d}=e,f=au(n);function p(v,b){return ai(v).filter(w=>w%b===0).map(w=>v.slice(w,w+b))}function m(v){return v.length?ai(v).reduce((b,w,T)=>{const S=Dt(b)||0,E=S===0,R=w===Ai(v),A=r[l]-i[S][l],N=r[l]-i[w][u],D=!s&&E?d(o):0,L=!s&&R?d(a):0,j=Pe(N-L-(A+D));return T&&j>t+c&&b.push(w),R&&b.push(v.length),b},[]).map((b,w,T)=>{const S=Math.max(T[w-1]||0);return v.slice(S,b)}):[]}function h(v){return f?p(v,n):m(v)}return{groupSlides:h}}function Ak(e,t,n,s,r,i,o){const{align:a,axis:c,direction:l,startIndex:u,loop:d,duration:f,dragFree:p,dragThreshold:m,inViewThreshold:h,slidesToScroll:g,skipSnaps:v,containScroll:b,watchResize:w,watchSlides:T,watchDrag:S,watchFocus:E}=i,R=2,A=ak(),N=A.measure(t),D=n.map(A.measure),L=rk(c,l),j=L.measureSize(N),$=ck(j),W=nk(a,j),se=!d&&!!b,Y=d||!!b,{slideSizes:Z,slideSizesWithGaps:q,startGap:re,endGap:me}=Tk(L,N,D,n,Y,r),ge=Ck(L,j,g,d,N,D,re,me,R),{snaps:We,snapsAligned:dt}=gk(L,W,N,D,ge),He=-Dt(We)+Dt(q),{snapsContained:At,scrollContainLimit:Xe}=fk(j,He,dt,b,R),ue=se?At:dt,{limit:ye}=hk(He,ue,d),Oe=zy(Ai(ue),u,d),Le=Oe.clone(),we=ai(n),G=({dragHandler:$t,scrollBody:Wn,scrollBounds:mr,options:{loop:Hn}})=>{Hn||mr.constrain($t.pointerDown()),Wn.seek()},de=({scrollBody:$t,translate:Wn,location:mr,offsetLocation:Hn,previousLocation:ea,scrollLooper:Pi,slideLooper:Hy,dragHandler:qy,animation:Zy,eventHandler:uu,scrollBounds:Gy,options:{loop:du}},fu)=>{const hu=$t.settled(),Ky=!Gy.shouldConstrain(),pu=du?hu:hu&&Ky;pu&&!qy.pointerDown()&&(Zy.stop(),uu.emit("settle")),pu||uu.emit("scroll");const Qy=mr.get()*fu+ea.get()*(1-fu);Hn.set(Qy),du&&(Pi.loop($t.direction()),Hy.loop()),Wn.to(Hn.get())},Se=sk(s,r,()=>G(pr),$t=>de(pr,$t)),Ue=.68,ft=ue[Oe.get()],bt=Rr(ft),_=Rr(ft),P=Rr(ft),O=Rr(ft),B=uk(bt,P,_,O,f,Ue),I=vk(d,ue,He,ye,O),F=xk(Se,Oe,Le,B,I,O,o),X=mk(ye),ae=li(),Ie=_k(t,n,o,h),{slideRegistry:Ne}=yk(se,b,ue,Xe,ge,we),Ut=bk(e,n,Ne,F,B,ae,o,E),pr={ownerDocument:s,ownerWindow:r,eventHandler:o,containerRect:N,slideRects:D,animation:Se,axis:L,dragHandler:ik(L,e,s,r,O,ok(L,r),bt,Se,F,B,I,Oe,o,$,p,m,v,Ue,S),eventStore:ae,percentOfView:$,index:Oe,indexPrevious:Le,limit:ye,location:bt,offsetLocation:P,previousLocation:_,options:i,resizeHandler:lk(t,o,r,n,L,w,A),scrollBody:B,scrollBounds:dk(ye,P,O,B,$),scrollLooper:pk(He,ye,P,[bt,P,_,O]),scrollProgress:X,scrollSnapList:ue.map(X.get),scrollSnaps:ue,scrollTarget:I,scrollTo:F,slideLooper:wk(L,j,He,Z,q,We,ue,P,n),slideFocus:Ut,slidesHandler:Sk(t,o,T),slidesInView:Ie,slideIndexes:we,slideRegistry:Ne,slidesToScroll:ge,target:O,translate:Wy(L,t)};return pr}function Ek(){let e={},t;function n(l){t=l}function s(l){return e[l]||[]}function r(l){return s(l).forEach(u=>u(t,l)),c}function i(l,u){return e[l]=s(l).concat([u]),c}function o(l,u){return e[l]=s(l).filter(d=>d!==u),c}function a(){e={}}const c={init:n,emit:r,off:o,on:i,clear:a};return c}const Pk={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Rk(e){function t(i,o){return $y(i,o||{})}function n(i){const o=i.breakpoints||{},a=ci(o).filter(c=>e.matchMedia(c).matches).map(c=>o[c]).reduce((c,l)=>t(c,l),{});return t(i,a)}function s(i){return i.map(o=>ci(o.breakpoints||{})).reduce((o,a)=>o.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:s}}function kk(e){let t=[];function n(i,o){return t=o.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(i,e)),o.reduce((a,c)=>Object.assign(a,{[c.name]:c}),{})}function s(){t=t.filter(i=>i.destroy())}return{init:n,destroy:s}}function Eo(e,t,n){const s=e.ownerDocument,r=s.defaultView,i=Rk(r),o=kk(i),a=li(),c=Ek(),{mergeOptions:l,optionsAtMedia:u,optionsMediaQueries:d}=i,{on:f,off:p,emit:m}=c,h=L;let g=!1,v,b=l(Pk,Eo.globalOptions),w=l(b),T=[],S,E,R;function A(){const{container:we,slides:G}=w;E=(Ic(we)?e.querySelector(we):we)||e.children[0];const Se=Ic(G)?E.querySelectorAll(G):G;R=[].slice.call(Se||E.children)}function N(we){const G=Ak(e,E,R,s,r,we,c);if(we.loop&&!G.slideLooper.canLoop()){const de=Object.assign({},we,{loop:!1});return N(de)}return G}function D(we,G){g||(b=l(b,we),w=u(b),T=G||T,A(),v=N(w),d([b,...T.map(({options:de})=>de)]).forEach(de=>a.add(de,"change",L)),w.active&&(v.translate.to(v.location.get()),v.animation.init(),v.slidesInView.init(),v.slideFocus.init(Le),v.eventHandler.init(Le),v.resizeHandler.init(Le),v.slidesHandler.init(Le),v.options.loop&&v.slideLooper.loop(),E.offsetParent&&R.length&&v.dragHandler.init(Le),S=o.init(Le,T)))}function L(we,G){const de=ge();j(),D(l({startIndex:de},we),G),c.emit("reInit")}function j(){v.dragHandler.destroy(),v.eventStore.clear(),v.translate.clear(),v.slideLooper.clear(),v.resizeHandler.destroy(),v.slidesHandler.destroy(),v.slidesInView.destroy(),v.animation.destroy(),o.destroy(),a.clear()}function $(){g||(g=!0,a.clear(),j(),c.emit("destroy"),c.clear())}function W(we,G,de){!w.active||g||(v.scrollBody.useBaseFriction().useDuration(G===!0?0:w.duration),v.scrollTo.index(we,de||0))}function se(we){const G=v.index.add(1).get();W(G,we,-1)}function Y(we){const G=v.index.add(-1).get();W(G,we,1)}function Z(){return v.index.add(1).get()!==ge()}function q(){return v.index.add(-1).get()!==ge()}function re(){return v.scrollSnapList}function me(){return v.scrollProgress.get(v.location.get())}function ge(){return v.index.get()}function We(){return v.indexPrevious.get()}function dt(){return v.slidesInView.get()}function He(){return v.slidesInView.get(!1)}function At(){return S}function Xe(){return v}function ue(){return e}function ye(){return E}function Oe(){return R}const Le={canScrollNext:Z,canScrollPrev:q,containerNode:ye,internalEngine:Xe,destroy:$,off:p,on:f,emit:m,plugins:At,previousScrollSnap:We,reInit:h,rootNode:ue,scrollNext:se,scrollPrev:Y,scrollProgress:me,scrollSnapList:re,scrollTo:W,selectedScrollSnap:ge,slideNodes:Oe,slidesInView:dt,slidesNotInView:He};return D(t,n),setTimeout(()=>c.emit("init"),0),Le}Eo.globalOptions=void 0;function Ei(e={},t=[]){const n=x.useRef(e),s=x.useRef(t),[r,i]=x.useState(),[o,a]=x.useState(),c=x.useCallback(()=>{r&&r.reInit(n.current,s.current)},[r]);return x.useEffect(()=>{ou(n.current,e)||(n.current=e,c())},[e,c]),x.useEffect(()=>{JR(s.current,t)||(s.current=t,c())},[t,c]),x.useEffect(()=>{if(YR()&&o){Eo.globalOptions=Ei.globalOptions;const l=Eo(o,n.current,s.current);return i(l),()=>l.destroy()}else i(void 0)},[o,i]),[a,r]}Ei.globalOptions=void 0;const Ok=[{lang:pt.RU,data:[{title:"План выставки",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/Floor%20plan/floor%20plan.pdf",blank:!0},{title:"Забронировать стенд",link:"/stend-form"},{title:"Список участников",link:""},{title:"B2B | B2G встречи",link:"/B2B-B2G"}]},{lang:pt.EN,data:[{title:"Floor Plan",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/Floor%20plan/floor%20plan.pdf",blank:!0},{title:"Book a stand",link:"/stend-form"},{title:"List of participants",link:"/"},{title:"B2B | B2G meetings",link:"/B2B-B2G"}]}],a1=()=>{const[e]=Ei(),t=Ve(o=>o.lang),{t:n}=jo("home"),s=oc("(min-width: 1024px)"),r=oc("(min-width: 768px)");function i(){return n(s?"banners.lg":r?"banners.md":"banners.sm")}return y.jsxs("section",{className:"flex flex-col gap-5",children:[y.jsx("div",{ref:e,className:"embla",children:y.jsx("div",{className:"embla__container",children:y.jsx("div",{className:"embla__slide",children:y.jsx("img",{src:i(),alt:"",className:"size-full object-cover lg:max-h-[600px] lg:min-h-[320px]"})})})}),y.jsx(st,{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 items-center gap-6 text-2xl",children:Ok[ct(t)].data.map(({title:o,link:a,blank:c})=>y.jsx(Me,{target:c?"_blank":"",to:a,className:"w-full",children:y.jsx(ut,{size:"lg",variant:"teritary",className:"w-full drop-shadow-sm shadow-md text-xl bg-teritary text-on_teritary hover:bg-teritary/90",children:o})},o))})]})},Nk=()=>{const e=Ve(s=>s.lang),{data:t,isPending:n}=Ci({queryKey:["home-contacts",e],queryFn:()=>pR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},c1=({className:e})=>{const t=Ve(i=>i.lang),{data:n,isPending:s}=By(),{data:r}=Nk();return s?y.jsx(hr,{}):y.jsx("section",{className:Q("bg-surface_high pt-10 pb-20",e),children:y.jsxs(st,{children:[y.jsx("h2",{className:"h2 mb-6",children:Vy[ct(t)].title}),y.jsxs("div",{className:"flex flex-col gap-6",children:[y.jsx("div",{className:"flex flex-col md:flex-row items-center gap-6",children:n==null?void 0:n.map((i,o)=>x.createElement(cp,{...i,key:o,className:"w-full"}))}),y.jsx("div",{className:"md:p-10 pt-16 flex flex-col md:flex-row items-center gap-6",children:r==null?void 0:r.map((i,o)=>x.createElement(Wb,{...i,key:o,className:"w-full"}))}),y.jsx(Me,{to:"/stend-form",className:"md:w-fit w-full mx-auto",children:y.jsx(ut,{className:"w-full",children:t===pt.RU?"Забронируйте стенд":"Book a stand"})})]})]})})},jk=[{h2:"Выставка-ярмарка «TurkmenTextile Expo-2025» в Ашхабаде",p:`Международная выставка-ярмарка, которая объединит мировых лидеров отрасли, инновационных производителей и творческих дизайнеров. + Наша миссия – укрепить позиции Туркменистана как ключевого центра текстильной и модной индустрии. + + `,p_2:`Выставка станет платформой для изучения устойчивых практик, современных технологий и дизайнерских решений, вдохновляя на развитие индустрии. + «Turkmentextile Expo-2025» – это платформа, соединяющий традиции и инновации, производителей и потребителей, Туркменистан и весь мир!`,data:[{nums:"10,000 m²",text:"Выставочной площади"},{nums:"10000+",text:"Ожидаемых посетителей "},{nums:"100+",text:"Экспонентов из более чем 30 стран"},{nums:"80%",text:"Участников топ-менеджмента"}],button:"Подробнее о выставке"},{h2:"TurkmenTextile Expo-2025 in Ashgabat",p:`An international exhibition will unite global industry leaders, innovative manufacturers, and creative designers. + Our mission is to strengthen Turkmenistan's position as a key hub for the textile and fashion industry. + `,p_2:"The exhibition will serve as a platform to explore sustainable practices, modern technologies, and design solutions, inspiring the development of the industry.",data:[{nums:"10,000 m²",text:"Exhibition area"},{nums:"10000+",text:"Expected visitors "},{nums:"100+",text:"Exhibitors from over 30 countries"},{nums:"80%",text:"Participants are top-management"}],button:"More about the exhibition"}],Dk=()=>{const e=Ve(s=>s.lang),{data:t,isPending:n}=Ci({queryKey:["stats",e],queryFn:()=>hR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},l1=()=>{var a,c;const[e]=Ei(),t=Ve(l=>l.lang),{data:n,isPending:s}=Uy("1"),{data:r}=Dk(),i=(a=n==null?void 0:n.find(l=>l.key==="index_1"))==null?void 0:a.text,o=(c=n==null?void 0:n.find(l=>l.key==="index_2"))==null?void 0:c.text;return s?y.jsx(hr,{}):y.jsx("section",{children:y.jsxs(st,{className:"flex flex-col gap-6",children:[y.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 items-center",children:[y.jsxs("div",{className:"flex flex-col gap-6",children:[y.jsx("h2",{className:"h2 text-left",children:i}),y.jsx("div",{dangerouslySetInnerHTML:{__html:o||""},className:"md:text-base flex flex-col gap-6 text-sm normal text-left text-[#454545]"}),y.jsx(Me,{to:"/about",className:"w-fit",children:y.jsx(ut,{variant:"outline",children:jk[ct(t)].button})})]}),y.jsx("video",{src:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/video/Textile2025.mp4",muted:!0,controls:!0,autoPlay:!0,loop:!0,className:"w-full h-auto"})]}),y.jsx("div",{ref:e,className:"embla overflow-hidden",children:y.jsx("div",{className:"flex embla__container items-center gap-6",children:r==null?void 0:r.map(l=>y.jsx($b,{...l,className:"embla__slide flex-[0_0_288px]"},l.text))})})]})})},u1=()=>{const e=Ve(s=>s.lang),{data:t,isPending:n}=Iy();return n?y.jsx(hr,{}):y.jsx("section",{className:"",children:y.jsxs(st,{children:[y.jsx("h2",{className:"h2 mb-10 text-center",children:Tc[ct(e)].title}),y.jsx("div",{className:"grid md:grid-cols-4 grid-cols-2 gap-6",children:t==null?void 0:t.map((s,r)=>y.jsx(ap,{...s},r))})]})})},Mk=[{data:[{img:"/offer-1.png",title:"Гостиницы, трансфер, визы",btnText:"Скачать путеводитель",text:"По вопросам размещения в гостиницах, визовой поддержки, транспортного и экскурсионного обслуживания Вы можете ознакомиться с путеводителем",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/travel_guide/Travel_guide_ru.pdf"},{img:"/offer-2.png",title:"Ознакомьтесь с планом выставки TurkmenTextile Expo 2025",btnText:"Скачать план выставки",text:"Как выбрать лучшее место на выставке? Вы всегда должны помнить, что удачное расположение выставочной экспозиции повышает Ваши шансы привлечь внимание Ваших потенциальных клиентов",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/Floor%20plan/floor%20plan.pdf"}]},{data:[{img:"/offer-2.png",title:"Hotels, transfer, visas;",btnText:"Download Travel Guide",text:"For inquiries regarding hotel accommodations, visa support, transportation, and tour services, please refer to the travel guide;",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/travel_guide/Travel_guide_eng.pdf"},{img:"/offer-2.png",title:"Explore “TurkmenTextile Expo-2025” plan;",btnText:"Download exhibition plan.",text:"How to choose the best location at the exhibition? A prime spot increases your chances to attract potential clients;",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/Floor%20plan/floor%20plan.pdf"}]}],d1=()=>{const[e,t]=Ei({align:"start"}),[n,s]=x.useState(0),r=Ve(o=>o.lang),i=x.useCallback(o=>{t&&t.scrollTo(o)},[t]);return x.useEffect(()=>{if(!t)return;const o=()=>{s(t.selectedScrollSnap())};return t.on("select",o),()=>{t.off("select",o)}},[t]),y.jsx("section",{className:"bg-surface_high py-10 relative overflow-hidden",children:y.jsx(st,{children:y.jsxs("div",{ref:e,className:"embla ",children:[y.jsx("div",{className:"mb-2 flex gap-6 embla__container",children:Mk[ct(r)].data.map(o=>x.createElement(zb,{...o,key:o.title,className:"embla__slide flex-[0_0_300px] sm:flex-[0_0_600px]"}))}),y.jsx($T,{className:"xl:hidden",scrollTo:i,active:n,slides:2})]})})})},Fk=()=>{const[e,t]=x.useState(!1),{t:n}=jo("nav"),s=n("navigation",{returnObjects:!0});return y.jsxs(xb,{onOpenChange:()=>t(!e),open:e,children:[y.jsx(bb,{children:y.jsxs("div",{className:"flex flex-col gap-1 lg:hidden items-center justify-center size-10",children:[y.jsx("div",{className:"w-[18px] h-0.5 bg-white rounded-[2px]"}),y.jsx("div",{className:"w-[18px] h-0.5 bg-white rounded-[2px]"}),y.jsx("div",{className:"w-[18px] h-0.5 bg-white rounded-[2px]"})]})}),y.jsxs(tp,{className:"overflow-y-auto",children:[y.jsx(wb,{}),y.jsxs(np,{className:"mt-16 flex flex-col gap-2",children:[y.jsx(Me,{to:"",children:y.jsx(ut,{variant:"secondary",size:"sm",className:"bg-teritary w-full text-on_teritary hover:bg-teritary/90",children:"Официальная поддержка"})}),y.jsx(Me,{to:"/B2B-B2G",onClick:()=>t(!1),children:y.jsx(ut,{className:"text-base w-full",size:"sm",children:"B2B | B2G встречи"})})]}),y.jsx("hr",{className:"border-slate-500/20 my-8"}),y.jsx("div",{className:"flex flex-col gap-6",children:s.map(r=>r.drop?y.jsx(_c,{className:"w-full",triggerClassName:"justify-between",color:"black",dropDownContent:r.dropDownContent,title:r.title},r.title):y.jsx(Me,{target:r.blank??"",className:"py-2",to:r.link||"",children:r.title},r.title))})]})]})},f1=()=>{const e=Ve(s=>s.lang),{t}=jo("nav"),n=t("navigation",{returnObjects:!0});return y.jsxs("header",{children:[y.jsx("div",{className:"h-12 hidden lg:flex bg-sur text-surface-bg items-center overflow-hidden",children:y.jsxs(st,{className:"flex items-center justify-between",children:[y.jsxs("div",{className:"gap-8 flex items-center justify-between",children:[y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(Mx,{}),y.jsx("h4",{className:"text-sm",children:e==="ru"?"Ашхабад, Туркменистан":"Ashgabat, Turkmenistan"})]}),y.jsx("nav",{className:"flex items-center gap-6",children:n.slice(0,3).map(s=>s.drop?y.jsx(_c,{color:"black",dropDownContent:s.dropDownContent,title:s.title},s.title):y.jsx(Me,{target:s.blank?"_blank":"",className:"py-2",to:s.link||"",children:s.title},s.title))})]}),y.jsxs("div",{className:"flex items-center gap-6",children:[y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(Lx,{size:16,strokeWidth:"3px"}),y.jsx("h4",{className:"text-sm",children:"+99371871812"})]}),y.jsx(bf,{className:"!text-on_surface"})]})]})}),y.jsx("div",{className:"bg-primary py-2 flex items-center justify-between h-20 overflow-hidden",children:y.jsxs(st,{className:"flex items-center justify-between ",children:[y.jsxs("div",{className:"flex items-center gap-8",children:[y.jsx(Me,{to:"/",children:y.jsx(op,{})}),y.jsx("nav",{className:"lg:flex hidden items-center gap-6 text-white",children:n.slice(3,6).map(s=>s.drop?y.jsx(_c,{dropDownContent:s.dropDownContent,title:s.title,color:"white"},s.title):y.jsx(Me,{className:"py-2",to:s.link||"",children:s.title},s.title))})]}),y.jsxs("div",{className:"flex items-center gap-3",children:[y.jsx(bf,{className:"lg:hidden",light:!0}),y.jsx(Fk,{})]}),y.jsxs("div",{className:"lg:flex hidden items-center gap-2",children:[y.jsx(Me,{to:e===pt.RU?"https://turkmentextile.turkmenexpo.com/app/storage/app/media/official_support/official_support_ru.pdf":"https://turkmentextile.turkmenexpo.com/app/storage/app/media/official_support/official_support_eng.pdf",target:"_blank",children:y.jsx(ut,{variant:"secondary",size:"sm",className:"bg-white text-primary hover:bg-white/90",children:e==="ru"?"Официальная поддержка":"Official Support"})}),y.jsx(Me,{to:"/become-sponsor",children:y.jsx(ut,{variant:"secondary",size:"sm",className:"bg-teritary text-white hover:bg-teritary/90",children:e==="ru"?"Стать спонсором":"Become a sponsor"})})]})]})})]})},h1=()=>{const e=Ve(t=>t.lang);return y.jsxs("footer",{children:[y.jsx(Ay,{}),y.jsx("div",{className:"py-5 bg-primary",children:y.jsxs(st,{className:"flex flex-col gap-6",children:[y.jsxs("div",{className:"flex flex-col md:flex-row gap-6 md:items-end md:justify-between items-center",children:[y.jsx(op,{}),y.jsxs("div",{className:"flex items-center gap-6",children:[y.jsx(Me,{target:"_blank",to:"https://www.facebook.com/profile.php?id=61567254728028",children:y.jsx(Ox,{className:"text-white"})}),y.jsx(Me,{target:"_blank",to:"https://www.instagram.com/turkmenexpo_tm?igsh=bnhkOWpmNWcwcHBq",children:y.jsx("img",{src:"/inst.svg"})}),y.jsx(Me,{target:"_blank",to:"https://www.linkedin.com/company/turkmen-expo",children:y.jsx("img",{src:"/in.svg"})}),y.jsx(Me,{target:"_blank",to:"https://x.com/turkmenexpo?t=D-XSa8d0AC8GAv5peAzteA&s=09",children:y.jsx("img",{src:"/x.svg"})})]})]}),y.jsx("hr",{className:"border-white/50"}),y.jsx("h5",{className:"text-base text-center normal text-white",children:e===pt.RU?"©2025 Все права защищены":"All rights reserved"})]})})]})},st=({className:e,children:t})=>y.jsx("div",{className:Q("w-full mx-auto max-w-[1240px] px-4",e),children:t}),p1=({title:e})=>y.jsxs("div",{className:"relative flex items-center h-[216px] w-full justify-center",children:[y.jsx("img",{src:"/cover.png",className:"-z-10 absolute size-full object-cover top-0 left-0"}),y.jsx("h1",{className:"text-on_primary md:text-5xl text-3xl",children:e})]});export{st as $,o1 as A,ut as B,p1 as C,zk as D,Kk as E,h1 as F,EA as G,f1 as H,_e as I,qk as J,Yk as K,pt as L,Xk as M,Bc as N,It as O,dh as P,e1 as Q,On as R,sr as S,rt as T,mt as U,zi as V,rr as W,$C as X,jo as Y,Zh as Z,Jk as _,t1 as a,a1 as b,l1 as c,d1 as d,u1 as e,c1 as f,Q as g,n1 as h,$k as i,y as j,s1 as k,r1 as l,i1 as m,Uo as n,Ki as o,ct as p,BT as q,sg as r,rg as s,ig as t,Ve as u,Gk as v,Uk as w,LT as x,Zk as y,Tf as z}; diff --git a/dist/assets/ui-library-SS_r3a4p.js b/dist/assets/ui-library-SS_r3a4p.js deleted file mode 100644 index 7cf6efb..0000000 --- a/dist/assets/ui-library-SS_r3a4p.js +++ /dev/null @@ -1,134 +0,0 @@ -var pu=e=>{throw TypeError(e)};var ea=(e,t,n)=>t.has(e)||pu("Cannot "+n);var C=(e,t,n)=>(ea(e,t,"read from private field"),n?n.call(e):t.get(e)),te=(e,t,n)=>t.has(e)?pu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),H=(e,t,n,r)=>(ea(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),fe=(e,t,n)=>(ea(e,t,"access private method"),n);var Ri=(e,t,n,r)=>({set _(s){H(e,t,s,n)},get _(){return C(e,t,r)}});import{r as Yy,a as x,R as Jy,b as lh,c as ev,d as ve,L as Me,e as ki}from"./react-vendor-OnsDvTPE.js";var ta={exports:{}},gs={};/** - * @license React - * react-jsx-runtime.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var mu;function tv(){if(mu)return gs;mu=1;var e=Yy(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function o(a,c,l){var u,d={},f=null,p=null;l!==void 0&&(f=""+l),c.key!==void 0&&(f=""+c.key),c.ref!==void 0&&(p=c.ref);for(u in c)r.call(c,u)&&!i.hasOwnProperty(u)&&(d[u]=c[u]);if(a&&a.defaultProps)for(u in c=a.defaultProps,c)d[u]===void 0&&(d[u]=c[u]);return{$$typeof:t,type:a,key:f,ref:p,props:d,_owner:s.current}}return gs.Fragment=n,gs.jsx=o,gs.jsxs=o,gs}var gu;function nv(){return gu||(gu=1,ta.exports=tv()),ta.exports}var y=nv();function mt(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function yu(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function uh(...e){return t=>{let n=!1;const r=e.map(s=>{const i=yu(s,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let s=0;s{const{children:o,...a}=i,c=x.useMemo(()=>a,Object.values(a));return y.jsx(n.Provider,{value:c,children:o})};r.displayName=e+"Provider";function s(i){const o=x.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,s]}function Vc(e,t=[]){let n=[];function r(i,o){const a=x.createContext(o),c=n.length;n=[...n,o];const l=d=>{var v;const{scope:f,children:p,...m}=d,h=((v=f==null?void 0:f[e])==null?void 0:v[c])||a,g=x.useMemo(()=>m,Object.values(m));return y.jsx(h.Provider,{value:g,children:p})};l.displayName=i+"Provider";function u(d,f){var h;const p=((h=f==null?void 0:f[e])==null?void 0:h[c])||a,m=x.useContext(p);if(m)return m;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[l,u]}const s=()=>{const i=n.map(o=>x.createContext(o));return function(a){const c=(a==null?void 0:a[e])||i;return x.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return s.scopeName=e,[r,sv(s,...t)]}function sv(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const o=r.reduce((a,{useScope:c,scopeName:l})=>{const d=c(i)[`__scope${l}`];return{...a,...d}},{});return x.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}var ur=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},iv=Jy.useId||(()=>{}),ov=0;function zi(e){const[t,n]=x.useState(iv());return ur(()=>{n(r=>r??String(ov++))},[e]),t?`radix-${t}`:""}function On(e){const t=x.useRef(e);return x.useEffect(()=>{t.current=e}),x.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function dh({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,s]=av({defaultProp:t,onChange:n}),i=e!==void 0,o=i?e:r,a=On(n),c=x.useCallback(l=>{if(i){const d=typeof l=="function"?l(e):l;d!==e&&a(d)}else s(l)},[i,e,s,a]);return[o,c]}function av({defaultProp:e,onChange:t}){const n=x.useState(e),[r]=n,s=x.useRef(r),i=On(t);return x.useEffect(()=>{s.current!==r&&(i(r),s.current=r)},[r,s,i]),n}var rs=x.forwardRef((e,t)=>{const{children:n,...r}=e,s=x.Children.toArray(n),i=s.find(lv);if(i){const o=i.props.children,a=s.map(c=>c===i?x.Children.count(o)>1?x.Children.only(null):x.isValidElement(o)?o.props.children:null:c);return y.jsx(Ma,{...r,ref:t,children:x.isValidElement(o)?x.cloneElement(o,void 0,a):null})}return y.jsx(Ma,{...r,ref:t,children:n})});rs.displayName="Slot";var Ma=x.forwardRef((e,t)=>{const{children:n,...r}=e;if(x.isValidElement(n)){const s=dv(n);return x.cloneElement(n,{...uv(r,n.props),ref:t?uh(t,s):s})}return x.Children.count(n)>1?x.Children.only(null):null});Ma.displayName="SlotClone";var cv=({children:e})=>y.jsx(y.Fragment,{children:e});function lv(e){return x.isValidElement(e)&&e.type===cv}function uv(e,t){const n={...t};for(const r in t){const s=e[r],i=t[r];/^on[A-Z]/.test(r)?s&&i?n[r]=(...a)=>{i(...a),s(...a)}:s&&(n[r]=s):r==="style"?n[r]={...s,...i}:r==="className"&&(n[r]=[s,i].filter(Boolean).join(" "))}return{...e,...n}}function dv(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var fv=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],it=fv.reduce((e,t)=>{const n=x.forwardRef((r,s)=>{const{asChild:i,...o}=r,a=i?rs:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),y.jsx(a,{...o,ref:s})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function hv(e,t){e&&lh.flushSync(()=>e.dispatchEvent(t))}function pv(e,t=globalThis==null?void 0:globalThis.document){const n=On(e);x.useEffect(()=>{const r=s=>{s.key==="Escape"&&n(s)};return t.addEventListener("keydown",r,{capture:!0}),()=>t.removeEventListener("keydown",r,{capture:!0})},[n,t])}var mv="DismissableLayer",Fa="dismissableLayer.update",gv="dismissableLayer.pointerDownOutside",yv="dismissableLayer.focusOutside",vu,fh=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),Bc=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:r,onPointerDownOutside:s,onFocusOutside:i,onInteractOutside:o,onDismiss:a,...c}=e,l=x.useContext(fh),[u,d]=x.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,p]=x.useState({}),m=It(t,R=>d(R)),h=Array.from(l.layers),[g]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),v=h.indexOf(g),b=u?h.indexOf(u):-1,w=l.layersWithOutsidePointerEventsDisabled.size>0,T=b>=v,S=bv(R=>{const A=R.target,N=[...l.branches].some(D=>D.contains(A));!T||N||(s==null||s(R),o==null||o(R),R.defaultPrevented||a==null||a())},f),E=wv(R=>{const A=R.target;[...l.branches].some(D=>D.contains(A))||(i==null||i(R),o==null||o(R),R.defaultPrevented||a==null||a())},f);return pv(R=>{b===l.layers.size-1&&(r==null||r(R),!R.defaultPrevented&&a&&(R.preventDefault(),a()))},f),x.useEffect(()=>{if(u)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(vu=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(u)),l.layers.add(u),xu(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=vu)}},[u,f,n,l]),x.useEffect(()=>()=>{u&&(l.layers.delete(u),l.layersWithOutsidePointerEventsDisabled.delete(u),xu())},[u,l]),x.useEffect(()=>{const R=()=>p({});return document.addEventListener(Fa,R),()=>document.removeEventListener(Fa,R)},[]),y.jsx(it.div,{...c,ref:m,style:{pointerEvents:w?T?"auto":"none":void 0,...e.style},onFocusCapture:mt(e.onFocusCapture,E.onFocusCapture),onBlurCapture:mt(e.onBlurCapture,E.onBlurCapture),onPointerDownCapture:mt(e.onPointerDownCapture,S.onPointerDownCapture)})});Bc.displayName=mv;var vv="DismissableLayerBranch",xv=x.forwardRef((e,t)=>{const n=x.useContext(fh),r=x.useRef(null),s=It(t,r);return x.useEffect(()=>{const i=r.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),y.jsx(it.div,{...e,ref:s})});xv.displayName=vv;function bv(e,t=globalThis==null?void 0:globalThis.document){const n=On(e),r=x.useRef(!1),s=x.useRef(()=>{});return x.useEffect(()=>{const i=a=>{if(a.target&&!r.current){let c=function(){hh(gv,n,l,{discrete:!0})};const l={originalEvent:a};a.pointerType==="touch"?(t.removeEventListener("click",s.current),s.current=c,t.addEventListener("click",s.current,{once:!0})):c()}else t.removeEventListener("click",s.current);r.current=!1},o=window.setTimeout(()=>{t.addEventListener("pointerdown",i)},0);return()=>{window.clearTimeout(o),t.removeEventListener("pointerdown",i),t.removeEventListener("click",s.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}function wv(e,t=globalThis==null?void 0:globalThis.document){const n=On(e),r=x.useRef(!1);return x.useEffect(()=>{const s=i=>{i.target&&!r.current&&hh(yv,n,{originalEvent:i},{discrete:!1})};return t.addEventListener("focusin",s),()=>t.removeEventListener("focusin",s)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}function xu(){const e=new CustomEvent(Fa);document.dispatchEvent(e)}function hh(e,t,n,{discrete:r}){const s=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&s.addEventListener(e,t,{once:!0}),r?hv(s,i):s.dispatchEvent(i)}var na="focusScope.autoFocusOnMount",ra="focusScope.autoFocusOnUnmount",bu={bubbles:!1,cancelable:!0},Sv="FocusScope",Uc=x.forwardRef((e,t)=>{const{loop:n=!1,trapped:r=!1,onMountAutoFocus:s,onUnmountAutoFocus:i,...o}=e,[a,c]=x.useState(null),l=On(s),u=On(i),d=x.useRef(null),f=It(t,h=>c(h)),p=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(r){let h=function(w){if(p.paused||!a)return;const T=w.target;a.contains(T)?d.current=T:bn(d.current,{select:!0})},g=function(w){if(p.paused||!a)return;const T=w.relatedTarget;T!==null&&(a.contains(T)||bn(d.current,{select:!0}))},v=function(w){if(document.activeElement===document.body)for(const S of w)S.removedNodes.length>0&&bn(a)};document.addEventListener("focusin",h),document.addEventListener("focusout",g);const b=new MutationObserver(v);return a&&b.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",h),document.removeEventListener("focusout",g),b.disconnect()}}},[r,a,p.paused]),x.useEffect(()=>{if(a){Su.add(p);const h=document.activeElement;if(!a.contains(h)){const v=new CustomEvent(na,bu);a.addEventListener(na,l),a.dispatchEvent(v),v.defaultPrevented||(_v(Pv(ph(a)),{select:!0}),document.activeElement===h&&bn(a))}return()=>{a.removeEventListener(na,l),setTimeout(()=>{const v=new CustomEvent(ra,bu);a.addEventListener(ra,u),a.dispatchEvent(v),v.defaultPrevented||bn(h??document.body,{select:!0}),a.removeEventListener(ra,u),Su.remove(p)},0)}}},[a,l,u,p]);const m=x.useCallback(h=>{if(!n&&!r||p.paused)return;const g=h.key==="Tab"&&!h.altKey&&!h.ctrlKey&&!h.metaKey,v=document.activeElement;if(g&&v){const b=h.currentTarget,[w,T]=Tv(b);w&&T?!h.shiftKey&&v===T?(h.preventDefault(),n&&bn(w,{select:!0})):h.shiftKey&&v===w&&(h.preventDefault(),n&&bn(T,{select:!0})):v===b&&h.preventDefault()}},[n,r,p.paused]);return y.jsx(it.div,{tabIndex:-1,...o,ref:f,onKeyDown:m})});Uc.displayName=Sv;function _v(e,{select:t=!1}={}){const n=document.activeElement;for(const r of e)if(bn(r,{select:t}),document.activeElement!==n)return}function Tv(e){const t=ph(e),n=wu(t,e),r=wu(t.reverse(),e);return[n,r]}function ph(e){const t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:r=>{const s=r.tagName==="INPUT"&&r.type==="hidden";return r.disabled||r.hidden||s?NodeFilter.FILTER_SKIP:r.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function wu(e,t){for(const n of e)if(!Cv(n,{upTo:t}))return n}function Cv(e,{upTo:t}){if(getComputedStyle(e).visibility==="hidden")return!0;for(;e;){if(t!==void 0&&e===t)return!1;if(getComputedStyle(e).display==="none")return!0;e=e.parentElement}return!1}function Av(e){return e instanceof HTMLInputElement&&"select"in e}function bn(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Av(e)&&t&&e.select()}}var Su=Ev();function Ev(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=_u(e,t),e.unshift(t)},remove(t){var n;e=_u(e,t),(n=e[0])==null||n.resume()}}}function _u(e,t){const n=[...e],r=n.indexOf(t);return r!==-1&&n.splice(r,1),n}function Pv(e){return e.filter(t=>t.tagName!=="A")}var Rv="Portal",$c=x.forwardRef((e,t)=>{var a;const{container:n,...r}=e,[s,i]=x.useState(!1);ur(()=>i(!0),[]);const o=n||s&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?ev.createPortal(y.jsx(it.div,{...r,ref:t}),o):null});$c.displayName=Rv;function kv(e,t){return x.useReducer((n,r)=>t[n][r]??n,e)}var ss=e=>{const{present:t,children:n}=e,r=Ov(t),s=typeof n=="function"?n({present:r.isPresent}):x.Children.only(n),i=It(r.ref,Nv(s));return typeof n=="function"||r.isPresent?x.cloneElement(s,{ref:i}):null};ss.displayName="Presence";function Ov(e){const[t,n]=x.useState(),r=x.useRef({}),s=x.useRef(e),i=x.useRef("none"),o=e?"mounted":"unmounted",[a,c]=kv(o,{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return x.useEffect(()=>{const l=Oi(r.current);i.current=a==="mounted"?l:"none"},[a]),ur(()=>{const l=r.current,u=s.current;if(u!==e){const f=i.current,p=Oi(l);e?c("MOUNT"):p==="none"||(l==null?void 0:l.display)==="none"?c("UNMOUNT"):c(u&&f!==p?"ANIMATION_OUT":"UNMOUNT"),s.current=e}},[e,c]),ur(()=>{if(t){let l;const u=t.ownerDocument.defaultView??window,d=p=>{const h=Oi(r.current).includes(p.animationName);if(p.target===t&&h&&(c("ANIMATION_END"),!s.current)){const g=t.style.animationFillMode;t.style.animationFillMode="forwards",l=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=g)})}},f=p=>{p.target===t&&(i.current=Oi(r.current))};return t.addEventListener("animationstart",f),t.addEventListener("animationcancel",d),t.addEventListener("animationend",d),()=>{u.clearTimeout(l),t.removeEventListener("animationstart",f),t.removeEventListener("animationcancel",d),t.removeEventListener("animationend",d)}}else c("ANIMATION_END")},[t,c]),{isPresent:["mounted","unmountSuspended"].includes(a),ref:x.useCallback(l=>{l&&(r.current=getComputedStyle(l)),n(l)},[])}}function Oi(e){return(e==null?void 0:e.animationName)||"none"}function Nv(e){var r,s;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(s=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:s.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}var sa=0;function mh(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Tu()),document.body.insertAdjacentElement("beforeend",e[1]??Tu()),sa++,()=>{sa===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),sa--}},[])}function Tu(){const e=document.createElement("span");return e.setAttribute("data-radix-focus-guard",""),e.tabIndex=0,e.style.outline="none",e.style.opacity="0",e.style.position="fixed",e.style.pointerEvents="none",e}var Gt=function(){return Gt=Object.assign||function(t){for(var n,r=1,s=arguments.length;r"u")return Kv;var t=Qv(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Yv=xh(),Or="data-scroll-locked",Jv=function(e,t,n,r){var s=e.left,i=e.top,o=e.right,a=e.gap;return n===void 0&&(n="margin"),` - .`.concat(Dv,` { - overflow: hidden `).concat(r,`; - padding-right: `).concat(a,"px ").concat(r,`; - } - body[`).concat(Or,`] { - overflow: hidden `).concat(r,`; - overscroll-behavior: contain; - `).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&` - padding-left: `.concat(s,`px; - padding-top: `).concat(i,`px; - padding-right: `).concat(o,`px; - margin-left:0; - margin-top:0; - margin-right: `).concat(a,"px ").concat(r,`; - `),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),` - } - - .`).concat(Wi,` { - right: `).concat(a,"px ").concat(r,`; - } - - .`).concat(Hi,` { - margin-right: `).concat(a,"px ").concat(r,`; - } - - .`).concat(Wi," .").concat(Wi,` { - right: 0 `).concat(r,`; - } - - .`).concat(Hi," .").concat(Hi,` { - margin-right: 0 `).concat(r,`; - } - - body[`).concat(Or,`] { - `).concat(Mv,": ").concat(a,`px; - } -`)},Au=function(){var e=parseInt(document.body.getAttribute(Or)||"0",10);return isFinite(e)?e:0},ex=function(){x.useEffect(function(){return document.body.setAttribute(Or,(Au()+1).toString()),function(){var e=Au()-1;e<=0?document.body.removeAttribute(Or):document.body.setAttribute(Or,e.toString())}},[])},tx=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,s=r===void 0?"margin":r;ex();var i=x.useMemo(function(){return Xv(s)},[s]);return x.createElement(Yv,{styles:Jv(i,!t,s,n?"":"!important")})},La=!1;if(typeof window<"u")try{var Ni=Object.defineProperty({},"passive",{get:function(){return La=!0,!0}});window.addEventListener("test",Ni,Ni),window.removeEventListener("test",Ni,Ni)}catch{La=!1}var br=La?{passive:!1}:!1,nx=function(e){return e.tagName==="TEXTAREA"},bh=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!nx(e)&&n[t]==="visible")},rx=function(e){return bh(e,"overflowY")},sx=function(e){return bh(e,"overflowX")},Eu=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=wh(e,r);if(s){var i=Sh(e,r),o=i[1],a=i[2];if(o>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},ix=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},ox=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},wh=function(e,t){return e==="v"?rx(t):sx(t)},Sh=function(e,t){return e==="v"?ix(t):ox(t)},ax=function(e,t){return e==="h"&&t==="rtl"?-1:1},cx=function(e,t,n,r,s){var i=ax(e,window.getComputedStyle(t).direction),o=i*r,a=n.target,c=t.contains(a),l=!1,u=o>0,d=0,f=0;do{var p=Sh(e,a),m=p[0],h=p[1],g=p[2],v=h-g-i*m;(m||v)&&wh(e,a)&&(d+=v,f+=m),a instanceof ShadowRoot?a=a.host:a=a.parentNode}while(!c&&a!==document.body||c&&(t.contains(a)||t===a));return(u&&Math.abs(d)<1||!u&&Math.abs(f)<1)&&(l=!0),l},ji=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Pu=function(e){return[e.deltaX,e.deltaY]},Ru=function(e){return e&&"current"in e?e.current:e},lx=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ux=function(e){return` - .block-interactivity-`.concat(e,` {pointer-events: none;} - .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},dx=0,wr=[];function fx(e){var t=x.useRef([]),n=x.useRef([0,0]),r=x.useRef(),s=x.useState(dx++)[0],i=x.useState(xh)[0],o=x.useRef(e);x.useEffect(function(){o.current=e},[e]),x.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var h=jv([e.lockRef.current],(e.shards||[]).map(Ru),!0).filter(Boolean);return h.forEach(function(g){return g.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),h.forEach(function(g){return g.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var a=x.useCallback(function(h,g){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!o.current.allowPinchZoom;var v=ji(h),b=n.current,w="deltaX"in h?h.deltaX:b[0]-v[0],T="deltaY"in h?h.deltaY:b[1]-v[1],S,E=h.target,R=Math.abs(w)>Math.abs(T)?"h":"v";if("touches"in h&&R==="h"&&E.type==="range")return!1;var A=Eu(R,E);if(!A)return!0;if(A?S=R:(S=R==="v"?"h":"v",A=Eu(R,E)),!A)return!1;if(!r.current&&"changedTouches"in h&&(w||T)&&(r.current=S),!S)return!0;var N=r.current||S;return cx(N,g,h,N==="h"?w:T)},[]),c=x.useCallback(function(h){var g=h;if(!(!wr.length||wr[wr.length-1]!==i)){var v="deltaY"in g?Pu(g):ji(g),b=t.current.filter(function(S){return S.name===g.type&&(S.target===g.target||g.target===S.shadowParent)&&lx(S.delta,v)})[0];if(b&&b.should){g.cancelable&&g.preventDefault();return}if(!b){var w=(o.current.shards||[]).map(Ru).filter(Boolean).filter(function(S){return S.contains(g.target)}),T=w.length>0?a(g,w[0]):!o.current.noIsolation;T&&g.cancelable&&g.preventDefault()}}},[]),l=x.useCallback(function(h,g,v,b){var w={name:h,delta:g,target:v,should:b,shadowParent:hx(v)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(T){return T!==w})},1)},[]),u=x.useCallback(function(h){n.current=ji(h),r.current=void 0},[]),d=x.useCallback(function(h){l(h.type,Pu(h),h.target,a(h,e.lockRef.current))},[]),f=x.useCallback(function(h){l(h.type,ji(h),h.target,a(h,e.lockRef.current))},[]);x.useEffect(function(){return wr.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",c,br),document.addEventListener("touchmove",c,br),document.addEventListener("touchstart",u,br),function(){wr=wr.filter(function(h){return h!==i}),document.removeEventListener("wheel",c,br),document.removeEventListener("touchmove",c,br),document.removeEventListener("touchstart",u,br)}},[]);var p=e.removeScrollBar,m=e.inert;return x.createElement(x.Fragment,null,m?x.createElement(i,{styles:ux(s)}):null,p?x.createElement(tx,{gapMode:e.gapMode}):null)}function hx(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const px=$v(vh,fx);var zc=x.forwardRef(function(e,t){return x.createElement(Po,Gt({},e,{ref:t,sideCar:px}))});zc.classNames=Po.classNames;var mx=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Sr=new WeakMap,Di=new WeakMap,Mi={},ca=0,_h=function(e){return e&&(e.host||_h(e.parentNode))},gx=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=_h(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},yx=function(e,t,n,r){var s=gx(t,Array.isArray(e)?e:[e]);Mi[n]||(Mi[n]=new WeakMap);var i=Mi[n],o=[],a=new Set,c=new Set(s),l=function(d){!d||a.has(d)||(a.add(d),l(d.parentNode))};s.forEach(l);var u=function(d){!d||c.has(d)||Array.prototype.forEach.call(d.children,function(f){if(a.has(f))u(f);else try{var p=f.getAttribute(r),m=p!==null&&p!=="false",h=(Sr.get(f)||0)+1,g=(i.get(f)||0)+1;Sr.set(f,h),i.set(f,g),o.push(f),h===1&&m&&Di.set(f,!0),g===1&&f.setAttribute(n,"true"),m||f.setAttribute(r,"true")}catch(v){console.error("aria-hidden: cannot operate on ",f,v)}})};return u(t),a.clear(),ca++,function(){o.forEach(function(d){var f=Sr.get(d)-1,p=i.get(d)-1;Sr.set(d,f),i.set(d,p),f||(Di.has(d)||d.removeAttribute(r),Di.delete(d)),p||d.removeAttribute(n)}),ca--,ca||(Sr=new WeakMap,Sr=new WeakMap,Di=new WeakMap,Mi={})}},Th=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),s=mx(e);return s?(r.push.apply(r,Array.from(s.querySelectorAll("[aria-live]"))),yx(r,s,n,"aria-hidden")):function(){return null}},Wc="Dialog",[Ch,Bk]=Vc(Wc),[vx,Vt]=Ch(Wc),Ah=e=>{const{__scopeDialog:t,children:n,open:r,defaultOpen:s,onOpenChange:i,modal:o=!0}=e,a=x.useRef(null),c=x.useRef(null),[l=!1,u]=dh({prop:r,defaultProp:s,onChange:i});return y.jsx(vx,{scope:t,triggerRef:a,contentRef:c,contentId:zi(),titleId:zi(),descriptionId:zi(),open:l,onOpenChange:u,onOpenToggle:x.useCallback(()=>u(d=>!d),[u]),modal:o,children:n})};Ah.displayName=Wc;var Eh="DialogTrigger",Ph=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=Vt(Eh,n),i=It(t,s.triggerRef);return y.jsx(it.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":Zc(s.open),...r,ref:i,onClick:mt(e.onClick,s.onOpenToggle)})});Ph.displayName=Eh;var Hc="DialogPortal",[xx,Rh]=Ch(Hc,{forceMount:void 0}),kh=e=>{const{__scopeDialog:t,forceMount:n,children:r,container:s}=e,i=Vt(Hc,t);return y.jsx(xx,{scope:t,forceMount:n,children:x.Children.map(r,o=>y.jsx(ss,{present:n||i.open,children:y.jsx($c,{asChild:!0,container:s,children:o})}))})};kh.displayName=Hc;var to="DialogOverlay",Oh=x.forwardRef((e,t)=>{const n=Rh(to,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,i=Vt(to,e.__scopeDialog);return i.modal?y.jsx(ss,{present:r||i.open,children:y.jsx(bx,{...s,ref:t})}):null});Oh.displayName=to;var bx=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=Vt(to,n);return y.jsx(zc,{as:rs,allowPinchZoom:!0,shards:[s.contentRef],children:y.jsx(it.div,{"data-state":Zc(s.open),...r,ref:t,style:{pointerEvents:"auto",...r.style}})})}),dr="DialogContent",Nh=x.forwardRef((e,t)=>{const n=Rh(dr,e.__scopeDialog),{forceMount:r=n.forceMount,...s}=e,i=Vt(dr,e.__scopeDialog);return y.jsx(ss,{present:r||i.open,children:i.modal?y.jsx(wx,{...s,ref:t}):y.jsx(Sx,{...s,ref:t})})});Nh.displayName=dr;var wx=x.forwardRef((e,t)=>{const n=Vt(dr,e.__scopeDialog),r=x.useRef(null),s=It(t,n.contentRef,r);return x.useEffect(()=>{const i=r.current;if(i)return Th(i)},[]),y.jsx(jh,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:mt(e.onCloseAutoFocus,i=>{var o;i.preventDefault(),(o=n.triggerRef.current)==null||o.focus()}),onPointerDownOutside:mt(e.onPointerDownOutside,i=>{const o=i.detail.originalEvent,a=o.button===0&&o.ctrlKey===!0;(o.button===2||a)&&i.preventDefault()}),onFocusOutside:mt(e.onFocusOutside,i=>i.preventDefault())})}),Sx=x.forwardRef((e,t)=>{const n=Vt(dr,e.__scopeDialog),r=x.useRef(!1),s=x.useRef(!1);return y.jsx(jh,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o,a;(o=e.onCloseAutoFocus)==null||o.call(e,i),i.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),i.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:i=>{var c,l;(c=e.onInteractOutside)==null||c.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const o=i.target;((l=n.triggerRef.current)==null?void 0:l.contains(o))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&s.current&&i.preventDefault()}})}),jh=x.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:i,...o}=e,a=Vt(dr,n),c=x.useRef(null),l=It(t,c);return mh(),y.jsxs(y.Fragment,{children:[y.jsx(Uc,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:i,children:y.jsx(Bc,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":Zc(a.open),...o,ref:l,onDismiss:()=>a.onOpenChange(!1)})}),y.jsxs(y.Fragment,{children:[y.jsx(_x,{titleId:a.titleId}),y.jsx(Cx,{contentRef:c,descriptionId:a.descriptionId})]})]})}),qc="DialogTitle",Dh=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=Vt(qc,n);return y.jsx(it.h2,{id:s.titleId,...r,ref:t})});Dh.displayName=qc;var Mh="DialogDescription",Fh=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=Vt(Mh,n);return y.jsx(it.p,{id:s.descriptionId,...r,ref:t})});Fh.displayName=Mh;var Lh="DialogClose",Ih=x.forwardRef((e,t)=>{const{__scopeDialog:n,...r}=e,s=Vt(Lh,n);return y.jsx(it.button,{type:"button",...r,ref:t,onClick:mt(e.onClick,()=>s.onOpenChange(!1))})});Ih.displayName=Lh;function Zc(e){return e?"open":"closed"}var Vh="DialogTitleWarning",[Uk,Bh]=rv(Vh,{contentName:dr,titleName:qc,docsSlug:"dialog"}),_x=({titleId:e})=>{const t=Bh(Vh),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. - -If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component. - -For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return x.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},Tx="DialogDescriptionWarning",Cx=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Bh(Tx).contentName}}.`;return x.useEffect(()=>{var i;const s=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Uh=Ah,$h=Ph,zh=kh,Ro=Oh,ko=Nh,Oo=Dh,No=Fh,Gc=Ih;function Wh(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;ttypeof e=="boolean"?`${e}`:e===0?"0":e,Ou=Hh,Kc=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return Ou(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:i}=t,o=Object.keys(s).map(l=>{const u=n==null?void 0:n[l],d=i==null?void 0:i[l];if(u===null)return null;const f=ku(u)||ku(d);return s[l][f]}),a=n&&Object.entries(n).reduce((l,u)=>{let[d,f]=u;return f===void 0||(l[d]=f),l},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((l,u)=>{let{class:d,className:f,...p}=u;return Object.entries(p).every(m=>{let[h,g]=m;return Array.isArray(g)?g.includes({...i,...a}[h]):{...i,...a}[h]===g})?[...l,d,f]:l},[]);return Ou(e,o,c,n==null?void 0:n.class,n==null?void 0:n.className)};/** - * @license lucide-react v0.473.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Ax=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),qh=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/** - * @license lucide-react v0.473.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */var Ex={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"};/** - * @license lucide-react v0.473.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Px=x.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:i,iconNode:o,...a},c)=>x.createElement("svg",{ref:c,...Ex,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:qh("lucide",s),...a},[...o.map(([l,u])=>x.createElement(l,u)),...Array.isArray(i)?i:[i]]));/** - * @license lucide-react v0.473.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Un=(e,t)=>{const n=x.forwardRef(({className:r,...s},i)=>x.createElement(Px,{ref:i,iconNode:t,className:qh(`lucide-${Ax(e)}`,r),...s}));return n.displayName=`${e}`,n};/** - * @license lucide-react v0.473.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Rx=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],kx=Un("ArrowUpRight",Rx);/** - * @license lucide-react v0.473.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Ox=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],Nx=Un("Facebook",Ox);/** - * @license lucide-react v0.473.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const jx=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Zh=Un("LoaderCircle",jx);/** - * @license lucide-react v0.473.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Dx=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],$k=Un("Loader",Dx);/** - * @license lucide-react v0.473.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Mx=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],Fx=Un("MapPin",Mx);/** - * @license lucide-react v0.473.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Lx=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],Ix=Un("Smartphone",Lx);/** - * @license lucide-react v0.473.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Vx=[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]],Bx=Un("Upload",Vx);/** - * @license lucide-react v0.473.0 - ISC - * - * This source code is licensed under the ISC license. - * See the LICENSE file in the root directory of this source tree. - */const Ux=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Gh=Un("X",Ux),Qc="-",$x=e=>{const t=Wx(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(Qc);return a[0]===""&&a.length!==1&&a.shift(),Kh(a,t)||zx(o)},getConflictingClassGroupIds:(o,a)=>{const c=n[o]||[];return a&&r[o]?[...c,...r[o]]:c}}},Kh=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?Kh(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const i=e.join(Qc);return(o=t.validators.find(({validator:a})=>a(i)))==null?void 0:o.classGroupId},Nu=/^\[(.+)\]$/,zx=e=>{if(Nu.test(e)){const t=Nu.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},Wx=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return qx(Object.entries(e.classGroups),n).forEach(([i,o])=>{Ia(o,r,i,t)}),r},Ia=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const i=s===""?t:ju(t,s);i.classGroupId=n;return}if(typeof s=="function"){if(Hx(s)){Ia(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([i,o])=>{Ia(o,ju(t,i),n,r)})})},ju=(e,t)=>{let n=e;return t.split(Qc).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},Hx=e=>e.isThemeGetter,qx=(e,t)=>t?e.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,a])=>[t+o,a])):i);return[n,s]}):e,Zx=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let o=n.get(i);if(o!==void 0)return o;if((o=r.get(i))!==void 0)return s(i,o),o},set(i,o){n.has(i)?n.set(i,o):s(i,o)}}},Qh="!",Gx=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],i=t.length,o=a=>{const c=[];let l=0,u=0,d;for(let g=0;gu?d-u:void 0;return{modifiers:c,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:h}};return n?a=>n({className:a,parseClassName:o}):o},Kx=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},Qx=e=>({cache:Zx(e.cacheSize),parseClassName:Gx(e),...$x(e)}),Xx=/\s+/,Yx=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,i=[],o=e.trim().split(Xx);let a="";for(let c=o.length-1;c>=0;c-=1){const l=o[c],{modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(l);let m=!!p,h=r(m?f.substring(0,p):f);if(!h){if(!m){a=l+(a.length>0?" "+a:a);continue}if(h=r(f),!h){a=l+(a.length>0?" "+a:a);continue}m=!1}const g=Kx(u).join(":"),v=d?g+Qh:g,b=v+h;if(i.includes(b))continue;i.push(b);const w=s(h,m);for(let T=0;T0?" "+a:a)}return a};function Jx(){let e=0,t,n,r="";for(;e{if(typeof e=="string")return e;let t,n="";for(let r=0;rd(u),e());return n=Qx(l),r=n.cache.get,s=n.cache.set,i=a,a(c)}function a(c){const l=r(c);if(l)return l;const u=Yx(c,n);return s(c,u),u}return function(){return i(Jx.apply(null,arguments))}}const Te=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Yh=/^\[(?:([a-z-]+):)?(.+)\]$/i,tb=/^\d+\/\d+$/,nb=new Set(["px","full","screen"]),rb=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,sb=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ib=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,ob=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,ab=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,on=e=>Nr(e)||nb.has(e)||tb.test(e),vn=e=>is(e,"length",mb),Nr=e=>!!e&&!Number.isNaN(Number(e)),la=e=>is(e,"number",Nr),ys=e=>!!e&&Number.isInteger(Number(e)),cb=e=>e.endsWith("%")&&Nr(e.slice(0,-1)),ce=e=>Yh.test(e),xn=e=>rb.test(e),lb=new Set(["length","size","percentage"]),ub=e=>is(e,lb,Jh),db=e=>is(e,"position",Jh),fb=new Set(["image","url"]),hb=e=>is(e,fb,yb),pb=e=>is(e,"",gb),vs=()=>!0,is=(e,t,n)=>{const r=Yh.exec(e);return r?r[1]?typeof t=="string"?r[1]===t:t.has(r[1]):n(r[2]):!1},mb=e=>sb.test(e)&&!ib.test(e),Jh=()=>!1,gb=e=>ob.test(e),yb=e=>ab.test(e),vb=()=>{const e=Te("colors"),t=Te("spacing"),n=Te("blur"),r=Te("brightness"),s=Te("borderColor"),i=Te("borderRadius"),o=Te("borderSpacing"),a=Te("borderWidth"),c=Te("contrast"),l=Te("grayscale"),u=Te("hueRotate"),d=Te("invert"),f=Te("gap"),p=Te("gradientColorStops"),m=Te("gradientColorStopPositions"),h=Te("inset"),g=Te("margin"),v=Te("opacity"),b=Te("padding"),w=Te("saturate"),T=Te("scale"),S=Te("sepia"),E=Te("skew"),R=Te("space"),A=Te("translate"),N=()=>["auto","contain","none"],D=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",ce,t],j=()=>[ce,t],$=()=>["",on,vn],W=()=>["auto",Nr,ce],re=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],Y=()=>["solid","dashed","dotted","double","none"],Z=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],q=()=>["start","end","center","between","around","evenly","stretch"],se=()=>["","0",ce],me=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ge=()=>[Nr,ce];return{cacheSize:500,separator:":",theme:{colors:[vs],spacing:[on,vn],blur:["none","",xn,ce],brightness:ge(),borderColor:[e],borderRadius:["none","","full",xn,ce],borderSpacing:j(),borderWidth:$(),contrast:ge(),grayscale:se(),hueRotate:ge(),invert:se(),gap:j(),gradientColorStops:[e],gradientColorStopPositions:[cb,vn],inset:L(),margin:L(),opacity:ge(),padding:j(),saturate:ge(),scale:ge(),sepia:se(),skew:ge(),space:j(),translate:j()},classGroups:{aspect:[{aspect:["auto","square","video",ce]}],container:["container"],columns:[{columns:[xn]}],"break-after":[{"break-after":me()}],"break-before":[{"break-before":me()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...re(),ce]}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:N()}],"overscroll-x":[{"overscroll-x":N()}],"overscroll-y":[{"overscroll-y":N()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[h]}],"inset-x":[{"inset-x":[h]}],"inset-y":[{"inset-y":[h]}],start:[{start:[h]}],end:[{end:[h]}],top:[{top:[h]}],right:[{right:[h]}],bottom:[{bottom:[h]}],left:[{left:[h]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",ys,ce]}],basis:[{basis:L()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",ce]}],grow:[{grow:se()}],shrink:[{shrink:se()}],order:[{order:["first","last","none",ys,ce]}],"grid-cols":[{"grid-cols":[vs]}],"col-start-end":[{col:["auto",{span:["full",ys,ce]},ce]}],"col-start":[{"col-start":W()}],"col-end":[{"col-end":W()}],"grid-rows":[{"grid-rows":[vs]}],"row-start-end":[{row:["auto",{span:[ys,ce]},ce]}],"row-start":[{"row-start":W()}],"row-end":[{"row-end":W()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",ce]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",ce]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...q()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...q(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...q(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[b]}],px:[{px:[b]}],py:[{py:[b]}],ps:[{ps:[b]}],pe:[{pe:[b]}],pt:[{pt:[b]}],pr:[{pr:[b]}],pb:[{pb:[b]}],pl:[{pl:[b]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[R]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[R]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",ce,t]}],"min-w":[{"min-w":[ce,t,"min","max","fit"]}],"max-w":[{"max-w":[ce,t,"none","full","min","max","fit","prose",{screen:[xn]},xn]}],h:[{h:[ce,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[ce,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[ce,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[ce,t,"auto","min","max","fit"]}],"font-size":[{text:["base",xn,vn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",la]}],"font-family":[{font:[vs]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",ce]}],"line-clamp":[{"line-clamp":["none",Nr,la]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",on,ce]}],"list-image":[{"list-image":["none",ce]}],"list-style-type":[{list:["none","disc","decimal",ce]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[v]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[v]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...Y(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",on,vn]}],"underline-offset":[{"underline-offset":["auto",on,ce]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:j()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",ce]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",ce]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[v]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...re(),db]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",ub]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},hb]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[a]}],"border-w-x":[{"border-x":[a]}],"border-w-y":[{"border-y":[a]}],"border-w-s":[{"border-s":[a]}],"border-w-e":[{"border-e":[a]}],"border-w-t":[{"border-t":[a]}],"border-w-r":[{"border-r":[a]}],"border-w-b":[{"border-b":[a]}],"border-w-l":[{"border-l":[a]}],"border-opacity":[{"border-opacity":[v]}],"border-style":[{border:[...Y(),"hidden"]}],"divide-x":[{"divide-x":[a]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[a]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[v]}],"divide-style":[{divide:Y()}],"border-color":[{border:[s]}],"border-color-x":[{"border-x":[s]}],"border-color-y":[{"border-y":[s]}],"border-color-s":[{"border-s":[s]}],"border-color-e":[{"border-e":[s]}],"border-color-t":[{"border-t":[s]}],"border-color-r":[{"border-r":[s]}],"border-color-b":[{"border-b":[s]}],"border-color-l":[{"border-l":[s]}],"divide-color":[{divide:[s]}],"outline-style":[{outline:["",...Y()]}],"outline-offset":[{"outline-offset":[on,ce]}],"outline-w":[{outline:[on,vn]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[v]}],"ring-offset-w":[{"ring-offset":[on,vn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",xn,pb]}],"shadow-color":[{shadow:[vs]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...Z(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":Z()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",xn,ce]}],grayscale:[{grayscale:[l]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[w]}],sepia:[{sepia:[S]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[c]}],"backdrop-grayscale":[{"backdrop-grayscale":[l]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[v]}],"backdrop-saturate":[{"backdrop-saturate":[w]}],"backdrop-sepia":[{"backdrop-sepia":[S]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",ce]}],duration:[{duration:ge()}],ease:[{ease:["linear","in","out","in-out",ce]}],delay:[{delay:ge()}],animate:[{animate:["none","spin","ping","pulse","bounce",ce]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[T]}],"scale-x":[{"scale-x":[T]}],"scale-y":[{"scale-y":[T]}],rotate:[{rotate:[ys,ce]}],"translate-x":[{"translate-x":[A]}],"translate-y":[{"translate-y":[A]}],"skew-x":[{"skew-x":[E]}],"skew-y":[{"skew-y":[E]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",ce]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",ce]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":j()}],"scroll-mx":[{"scroll-mx":j()}],"scroll-my":[{"scroll-my":j()}],"scroll-ms":[{"scroll-ms":j()}],"scroll-me":[{"scroll-me":j()}],"scroll-mt":[{"scroll-mt":j()}],"scroll-mr":[{"scroll-mr":j()}],"scroll-mb":[{"scroll-mb":j()}],"scroll-ml":[{"scroll-ml":j()}],"scroll-p":[{"scroll-p":j()}],"scroll-px":[{"scroll-px":j()}],"scroll-py":[{"scroll-py":j()}],"scroll-ps":[{"scroll-ps":j()}],"scroll-pe":[{"scroll-pe":j()}],"scroll-pt":[{"scroll-pt":j()}],"scroll-pr":[{"scroll-pr":j()}],"scroll-pb":[{"scroll-pb":j()}],"scroll-pl":[{"scroll-pl":j()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",ce]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[on,vn,la]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},xb=eb(vb);function X(...e){return xb(Hh(e))}const bb=Uh,wb=$h,Sb=Gc,_b=zh,ep=x.forwardRef(({className:e,...t},n)=>y.jsx(Ro,{className:X("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t,ref:n}));ep.displayName=Ro.displayName;const Tb=Kc("fixed z-50 gap-4 bg-background p-6 shadow-lg transition ease-in-out data-[state=closed]:duration-300 data-[state=open]:duration-500 data-[state=open]:animate-in data-[state=closed]:animate-out",{variants:{side:{top:"inset-x-0 top-0 border-b data-[state=closed]:slide-out-to-top data-[state=open]:slide-in-from-top",bottom:"inset-x-0 bottom-0 border-t data-[state=closed]:slide-out-to-bottom data-[state=open]:slide-in-from-bottom",left:"inset-y-0 left-0 h-full w-3/4 border-r data-[state=closed]:slide-out-to-left data-[state=open]:slide-in-from-left sm:max-w-sm",right:"inset-y-0 right-0 h-full w-full data-[state=closed]:slide-out-to-right data-[state=open]:slide-in-from-right sm:max-w-sm"}},defaultVariants:{side:"right"}}),tp=x.forwardRef(({side:e="right",className:t,children:n,...r},s)=>y.jsxs(_b,{children:[y.jsx(ep,{}),y.jsxs(ko,{ref:s,className:X(Tb({side:e}),t),...r,children:[y.jsxs(Gc,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none disabled:pointer-events-none data-[state=open]:bg-secondary",children:[y.jsx(Gh,{className:"size-8"}),y.jsx("span",{className:"sr-only",children:"Close"})]}),n]})]}));tp.displayName=ko.displayName;const np=({className:e,...t})=>y.jsx("div",{className:X("flex flex-col space-y-2 text-center sm:text-left",e),...t});np.displayName="SheetHeader";const Cb=x.forwardRef(({className:e,...t},n)=>y.jsx(Oo,{ref:n,className:X("text-lg font-semibold text-foreground",e),...t}));Cb.displayName=Oo.displayName;const Ab=x.forwardRef(({className:e,...t},n)=>y.jsx(No,{ref:n,className:X("text-sm text-muted-foreground",e),...t}));Ab.displayName=No.displayName;const Eb=Kc("inline-flex items-center justify-center gap-2 whitespace-nowrap rounded-md text-[18px] leading-[140%] font-medium transition-colors focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0",{variants:{variant:{default:"bg-primary text-on_primary shadow hover:bg-primary/90",teritary:"bg-teritary hover:bg-teritary/90 text-on_surface",destructive:"bg-destructive text-destructive-foreground shadow-sm hover:bg-destructive/90",outline:"border border-outline text-on_surface",secondary:"bg-secondary_container hover:bg-secondary_container/80 text-on_secondary_container",ghost:"hover:bg-accent hover:text-accent-foreground",link:"text-white h-8"},size:{default:"h-12 px-5 py-2 rounded-[2px]",sm:"h-10 text-base px-4 rounded-[2px]",lg:"lg:h-[88px] h-12 rounded-[2px] px-8 ",icon:"h-9 w-9"}},defaultVariants:{variant:"default",size:"default"}}),ut=x.forwardRef(({className:e,variant:t,size:n,loading:r,children:s,asChild:i=!1,...o},a)=>{const c=i?rs:"button";return y.jsx(c,{className:X(Eb({variant:t,size:n,className:e})),ref:a,...o,children:r?y.jsx(Zh,{className:"w-5 h-5 animate-spin"}):s})});ut.displayName="Button";const Va=[{data:[{title:"Путеводитель",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/travel_guide/Travel_guide_ru.pdf",blank:!0},{title:"Новости",dropDown:!0,dropDownContent:[{text:"Новости",link:""},{text:"Подписаться на новости",modal:!0}]},{title:"Контакты",link:"/contacts"},{title:"О выставке",dropDown:!0,dropDownContent:[{text:"О выставке",link:"/about"},{text:"Медиа",link:""}]},{title:"Посетителям",dropDown:!0,dropDownContent:[{text:"Почему стоит посетить?",link:"",blank:!0},{text:"Список участников",link:"",blank:!0},{text:"Путеводитель",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/travel_guide/Travel_guide_ru.pdf",blank:!0}]},{title:"Участникам",dropDown:!0,dropDownContent:[{text:"Забронировать стенд",link:"/stend-form"},{text:"Почему стоить участвовать?",link:""},{text:"Тематические разделы ",link:""}]}]},{data:[{title:"Travel Guide",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/travel_guide/Travel_guide_eng.pdf",blank:!0},{title:"Contact us",link:"/contacts"},{title:"News",dropDown:!0,dropDownContent:[{text:"News",link:""},{text:"Subscribe to the news",modal:!0}]},{title:"About exhibition",dropDown:!0,dropDownContent:[{text:"About exhibition",link:"/about"},{text:"Media",link:""}]},{title:"Visitors",dropDown:!0,dropDownContent:[{text:"Why visit?",link:""},{text:"List of Participants",link:"",blank:!0},{text:"Programme",link:"",blank:!0},{text:"Travel Guide",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/travel_guide/Travel_guide_eng.pdf",blank:!0}]},{title:"Exhibitors",dropDown:!0,dropDownContent:[{text:"Book a stand",link:"/stend-form"},{text:"Why exhibit?",link:""},{text:"Thematic areas of the exhibition",link:""}]}]}],Du=e=>{let t;const n=new Set,r=(l,u)=>{const d=typeof l=="function"?l(t):l;if(!Object.is(d,t)){const f=t;t=u??(typeof d!="object"||d===null)?d:Object.assign({},t,d),n.forEach(p=>p(t,f))}},s=()=>t,a={setState:r,getState:s,getInitialState:()=>c,subscribe:l=>(n.add(l),()=>n.delete(l))},c=t=e(r,s,a);return a},Pb=e=>e?Du(e):Du,Rb=e=>e;function kb(e,t=Rb){const n=ve.useSyncExternalStore(e.subscribe,()=>t(e.getState()),()=>t(e.getInitialState()));return ve.useDebugValue(n),n}const Ob=e=>{const t=Pb(e),n=r=>kb(t,r);return Object.assign(n,t),n},Nb=e=>Ob;function jb(e,t){let n;try{n=e()}catch{return}return{getItem:s=>{var i;const o=c=>c===null?null:JSON.parse(c,void 0),a=(i=n.getItem(s))!=null?i:null;return a instanceof Promise?a.then(o):o(a)},setItem:(s,i)=>n.setItem(s,JSON.stringify(i,void 0)),removeItem:s=>n.removeItem(s)}}const Ba=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(r){return Ba(r)(n)},catch(r){return this}}}catch(n){return{then(r){return this},catch(r){return Ba(r)(n)}}}},Db=(e,t)=>(n,r,s)=>{let i={storage:jb(()=>localStorage),partialize:h=>h,version:0,merge:(h,g)=>({...g,...h}),...t},o=!1;const a=new Set,c=new Set;let l=i.storage;if(!l)return e((...h)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...h)},r,s);const u=()=>{const h=i.partialize({...r()});return l.setItem(i.name,{state:h,version:i.version})},d=s.setState;s.setState=(h,g)=>{d(h,g),u()};const f=e((...h)=>{n(...h),u()},r,s);s.getInitialState=()=>f;let p;const m=()=>{var h,g;if(!l)return;o=!1,a.forEach(b=>{var w;return b((w=r())!=null?w:f)});const v=((g=i.onRehydrateStorage)==null?void 0:g.call(i,(h=r())!=null?h:f))||void 0;return Ba(l.getItem.bind(l))(i.name).then(b=>{if(b)if(typeof b.version=="number"&&b.version!==i.version){if(i.migrate){const w=i.migrate(b.state,b.version);return w instanceof Promise?w.then(T=>[!0,T]):[!0,w]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,b.state];return[!1,void 0]}).then(b=>{var w;const[T,S]=b;if(p=i.merge(S,(w=r())!=null?w:f),n(p,!0),T)return u()}).then(()=>{v==null||v(p,void 0),p=r(),o=!0,c.forEach(b=>b(p))}).catch(b=>{v==null||v(void 0,b)})};return s.persist={setOptions:h=>{i={...i,...h},h.storage&&(l=h.storage)},clearStorage:()=>{l==null||l.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>m(),hasHydrated:()=>o,onHydrate:h=>(a.add(h),()=>{a.delete(h)}),onFinishHydration:h=>(c.add(h),()=>{c.delete(h)})},i.skipHydration||m(),p||f},Mb=Db;var pt=(e=>(e.EN="en",e.RU="ru",e))(pt||{});const Le=Nb()(Mb(e=>({lang:"en",setLang:t=>e({lang:t})}),{name:"lang-storage"})),We=e=>e===pt.RU?0:1,Fb=()=>{const[e,t]=x.useState(!1),n=Le(r=>r.lang);return y.jsxs(bb,{onOpenChange:()=>t(!e),open:e,children:[y.jsx(wb,{children:y.jsxs("div",{className:"flex flex-col gap-1 lg:hidden items-center justify-center size-10",children:[y.jsx("div",{className:"w-[18px] h-0.5 bg-white rounded-[2px]"}),y.jsx("div",{className:"w-[18px] h-0.5 bg-white rounded-[2px]"}),y.jsx("div",{className:"w-[18px] h-0.5 bg-white rounded-[2px]"})]})}),y.jsxs(tp,{className:"overflow-y-auto",children:[y.jsx(Sb,{}),y.jsxs(np,{className:"mt-16 flex flex-col gap-2",children:[y.jsx(Me,{to:"",children:y.jsx(ut,{variant:"secondary",size:"sm",className:"bg-teritary w-full text-on_teritary hover:bg-teritary/90",children:"Официальная поддержка"})}),y.jsx(Me,{to:"/B2B-B2G",onClick:()=>t(!1),children:y.jsx(ut,{className:"text-base w-full",size:"sm",children:"B2B | B2G встречи"})})]}),y.jsx("hr",{className:"border-slate-500/20 my-8"}),y.jsx("div",{className:"flex flex-col gap-6",children:Va[We(n)].data.map(r=>y.jsx(Me,{onClick:()=>t(!1),className:"h-10 text-on_surface",to:r.link||"",children:r.title},r.title))})]})]})},rp=({className:e})=>y.jsx("div",{className:X("",e),children:y.jsx("img",{src:"/logo.svg",alt:"logo",className:"md:size-auto h-10"})}),sp=({className:e,image:t,title:n,iconClassName:r})=>y.jsxs("article",{className:X("bg-surface_container relative hover:bg-teritary_surface_container transition-all md:px-6 px-2 md:h-[224px] h-[124px]",e),children:[y.jsx("div",{className:"bg-primary size-full -z-[10] absolute top-2.5 left-2.5"}),y.jsx("div",{className:X("md:size-[84px] size-12 bg-teritary p-3",r),children:y.jsx("img",{src:t.path,alt:"theme icon"})}),y.jsx("h3",{className:"md:mt-6 mt-2 md:text-xl text-sm",children:n})]}),Lb=({className:e,title:t,text:n})=>y.jsxs("article",{className:X("px-6 py-4 relative bg-surface_container h-[160px] w-full overflow-hidden",e),children:[y.jsx("img",{src:"/about-card-bg.svg",className:"absolute top-2 right-0"}),y.jsx("h2",{className:"text-primary text-[32px] semibold leading-[130%] mb-4",children:n}),y.jsx("h4",{className:"text-on_surface normal text-base",children:t})]}),Ib=({className:e,title:t,text:n,img:r,link:s,btnText:i})=>y.jsxs("article",{className:X("md:px-8 md:py-6 p-4 relative overflow-hidden h-[296px] md:w-full w-[300px] text-on_primary",e),children:[y.jsx("div",{className:"absolute size-full z-10 top-0 left-0 bg-gradient-to-r from-25% from-primary to-primary/20 "}),y.jsx("img",{src:r,className:"absolute size-full top-0 right-0 object-cover"}),y.jsxs("div",{className:"relative z-20 h-full",children:[y.jsxs("div",{className:"",children:[y.jsx("h4",{className:"md:text-2xl text-lg mb-4 max-w-[444px] z-20 h-16",children:t}),y.jsx("p",{className:"md:text-base text-sm normal max-w-[360px] z-20",children:n})]}),y.jsx(Me,{className:"absolute bottom-0 left-0",target:"_blank",to:s,children:y.jsxs(ut,{className:"text-sm px-0 h-fit py-0 z-20",variant:"link",children:[i," ",y.jsx(kx,{})]})})]})]}),ip=({className:e,title:t,text:n,bottomClassName:r})=>y.jsxs("div",{className:X("rounded-t-[4px] overflow-hidden",e),children:[y.jsx("div",{className:"bg-teritary text-white flex items-center h-11 px-4",children:t}),y.jsx("div",{className:X("h-14 bg-surface_container semibold flex items-center text-lg px-4",r),children:n})]}),Vb=({className:e,text:t,title:n,image:r})=>y.jsxs("div",{className:X("flex items-center gap-4",e),children:[y.jsx("div",{className:"bg-secondary_container size-16 rounded-[2px] p-3",children:y.jsx("img",{src:r.path,alt:"contact icon",className:"size-full"})}),y.jsxs("div",{className:"flex flex-col gap-2",children:[y.jsx("h5",{className:"text-sm text-[#454545]",children:n}),y.jsx("h4",{className:"text-[#171717] semibold",children:t})]})]}),Xc=x.createContext({});function Yc(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const jo=x.createContext(null),Jc=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class Bb extends x.Component{getSnapshotBeforeUpdate(t){const n=this.props.childRef.current;if(n&&t.isPresent&&!this.props.isPresent){const r=n.offsetParent,s=r instanceof HTMLElement&&r.offsetWidth||0,i=this.props.sizeRef.current;i.height=n.offsetHeight||0,i.width=n.offsetWidth||0,i.top=n.offsetTop,i.left=n.offsetLeft,i.right=s-i.width-i.left}return null}componentDidUpdate(){}render(){return this.props.children}}function Ub({children:e,isPresent:t,anchorX:n}){const r=x.useId(),s=x.useRef(null),i=x.useRef({width:0,height:0,top:0,left:0,right:0}),{nonce:o}=x.useContext(Jc);return x.useInsertionEffect(()=>{const{width:a,height:c,top:l,left:u,right:d}=i.current;if(t||!s.current||!a||!c)return;const f=n==="left"?`left: ${u}`:`right: ${d}`;s.current.dataset.motionPopId=r;const p=document.createElement("style");return o&&(p.nonce=o),document.head.appendChild(p),p.sheet&&p.sheet.insertRule(` - [data-motion-pop-id="${r}"] { - position: absolute !important; - width: ${a}px !important; - height: ${c}px !important; - ${f}px !important; - top: ${l}px !important; - } - `),()=>{document.head.removeChild(p)}},[t]),y.jsx(Bb,{isPresent:t,childRef:s,sizeRef:i,children:x.cloneElement(e,{ref:s})})}const $b=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:s,presenceAffectsLayout:i,mode:o,anchorX:a})=>{const c=Yc(zb),l=x.useId(),u=x.useCallback(f=>{c.set(f,!0);for(const p of c.values())if(!p)return;r&&r()},[c,r]),d=x.useMemo(()=>({id:l,initial:t,isPresent:n,custom:s,onExitComplete:u,register:f=>(c.set(f,!1),()=>c.delete(f))}),i?[Math.random(),u]:[n,u]);return x.useMemo(()=>{c.forEach((f,p)=>c.set(p,!1))},[n]),x.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),o==="popLayout"&&(e=y.jsx(Ub,{isPresent:n,anchorX:a,children:e})),y.jsx(jo.Provider,{value:d,children:e})};function zb(){return new Map}function op(e=!0){const t=x.useContext(jo);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,i=x.useId();x.useEffect(()=>{e&&s(i)},[e]);const o=x.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,o]:[!0]}const Fi=e=>e.key||"";function Mu(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const el=typeof window<"u",ap=el?x.useLayoutEffect:x.useEffect,zk=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:s=!0,mode:i="sync",propagate:o=!1,anchorX:a="left"})=>{const[c,l]=op(o),u=x.useMemo(()=>Mu(e),[e]),d=o&&!c?[]:u.map(Fi),f=x.useRef(!0),p=x.useRef(u),m=Yc(()=>new Map),[h,g]=x.useState(u),[v,b]=x.useState(u);ap(()=>{f.current=!1,p.current=u;for(let S=0;S{const E=Fi(S),R=o&&!c?!1:u===v||d.includes(E),A=()=>{if(m.has(E))m.set(E,!0);else return;let N=!0;m.forEach(D=>{D||(N=!1)}),N&&(T==null||T(),b(p.current),o&&(l==null||l()),r&&r())};return y.jsx($b,{isPresent:R,initial:!f.current||n?void 0:!1,custom:R?void 0:t,presenceAffectsLayout:s,mode:i,onExitComplete:R?void 0:A,anchorX:a,children:S},E)})})},gt=e=>e;let Ua=gt;const Wb={skipAnimations:!1,useManualTiming:!1};function Hb(e){let t=new Set,n=new Set,r=!1,s=!1;const i=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(l){i.has(l)&&(c.schedule(l),e()),l(o)}const c={schedule:(l,u=!1,d=!1)=>{const p=d&&r?t:n;return u&&i.add(l),p.has(l)||p.add(l),l},cancel:l=>{n.delete(l),i.delete(l)},process:l=>{if(o=l,r){s=!0;return}r=!0,[t,n]=[n,t],t.forEach(a),t.clear(),r=!1,s&&(s=!1,c.process(l))}};return c}const Li=["read","resolveKeyframes","update","preRender","render","postRender"],qb=40;function cp(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=Li.reduce((v,b)=>(v[b]=Hb(i),v),{}),{read:a,resolveKeyframes:c,update:l,preRender:u,render:d,postRender:f}=o,p=()=>{const v=performance.now();n=!1,s.delta=r?1e3/60:Math.max(Math.min(v-s.timestamp,qb),1),s.timestamp=v,s.isProcessing=!0,a.process(s),c.process(s),l.process(s),u.process(s),d.process(s),f.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(p))},m=()=>{n=!0,r=!0,s.isProcessing||e(p)};return{schedule:Li.reduce((v,b)=>{const w=o[b];return v[b]=(T,S=!1,E=!1)=>(n||m(),w.schedule(T,S,E)),v},{}),cancel:v=>{for(let b=0;bFu[e].some(n=>!!t[n])};function Zb(e){for(const t in e)Kr[t]={...Kr[t],...e[t]}}const Gb=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function no(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Gb.has(e)}let up=e=>!no(e);function Kb(e){e&&(up=t=>t.startsWith("on")?!no(t):e(t))}try{Kb(require("@emotion/is-prop-valid").default)}catch{}function Qb(e,t,n){const r={};for(const s in e)s==="values"&&typeof e.values=="object"||(up(s)||n===!0&&no(s)||!t&&!no(s)||e.draggable&&s.startsWith("onDrag"))&&(r[s]=e[s]);return r}function Xb(e){if(typeof Proxy>"u")return e;const t=new Map,n=(...r)=>e(...r);return new Proxy(n,{get:(r,s)=>s==="create"?e:(t.has(s)||t.set(s,e(s)),t.get(s))})}const Do=x.createContext({});function Ls(e){return typeof e=="string"||Array.isArray(e)}function Mo(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const tl=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],nl=["initial",...tl];function Fo(e){return Mo(e.animate)||nl.some(t=>Ls(e[t]))}function dp(e){return!!(Fo(e)||e.variants)}function Yb(e,t){if(Fo(e)){const{initial:n,animate:r}=e;return{initial:n===!1||Ls(n)?n:void 0,animate:Ls(r)?r:void 0}}return e.inherit!==!1?t:{}}function Jb(e){const{initial:t,animate:n}=Yb(e,x.useContext(Do));return x.useMemo(()=>({initial:t,animate:n}),[Lu(t),Lu(n)])}function Lu(e){return Array.isArray(e)?e.join(" "):e}const ew=Symbol.for("motionComponentSymbol");function Cr(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function tw(e,t,n){return x.useCallback(r=>{r&&e.onMount&&e.onMount(r),t&&(r?t.mount(r):t.unmount()),n&&(typeof n=="function"?n(r):Cr(n)&&(n.current=r))},[t])}const rl=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),nw="framerAppearId",fp="data-"+rl(nw),{schedule:sl,cancel:Wk}=cp(queueMicrotask,!1),hp=x.createContext({});function rw(e,t,n,r,s){var i,o;const{visualElement:a}=x.useContext(Do),c=x.useContext(lp),l=x.useContext(jo),u=x.useContext(Jc).reducedMotion,d=x.useRef(null);r=r||c.renderer,!d.current&&r&&(d.current=r(e,{visualState:t,parent:a,props:n,presenceContext:l,blockInitialAnimation:l?l.initial===!1:!1,reducedMotionConfig:u}));const f=d.current,p=x.useContext(hp);f&&!f.projection&&s&&(f.type==="html"||f.type==="svg")&&sw(d.current,n,s,p);const m=x.useRef(!1);x.useInsertionEffect(()=>{f&&m.current&&f.update(n,l)});const h=n[fp],g=x.useRef(!!h&&!(!((i=window.MotionHandoffIsComplete)===null||i===void 0)&&i.call(window,h))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,h)));return ap(()=>{f&&(m.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),sl.render(f.render),g.current&&f.animationState&&f.animationState.animateChanges())}),x.useEffect(()=>{f&&(!g.current&&f.animationState&&f.animationState.animateChanges(),g.current&&(queueMicrotask(()=>{var v;(v=window.MotionHandoffMarkAsComplete)===null||v===void 0||v.call(window,h)}),g.current=!1))}),f}function sw(e,t,n,r){const{layoutId:s,layout:i,drag:o,dragConstraints:a,layoutScroll:c,layoutRoot:l}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:pp(e.parent)),e.projection.setOptions({layoutId:s,layout:i,alwaysMeasureLayout:!!o||a&&Cr(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:r,layoutScroll:c,layoutRoot:l})}function pp(e){if(e)return e.options.allowProjection!==!1?e.projection:pp(e.parent)}function iw({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:r,Component:s}){var i,o;e&&Zb(e);function a(l,u){let d;const f={...x.useContext(Jc),...l,layoutId:ow(l)},{isStatic:p}=f,m=Jb(l),h=r(l,p);if(!p&&el){aw();const g=cw(f);d=g.MeasureLayout,m.visualElement=rw(s,h,f,t,g.ProjectionNode)}return y.jsxs(Do.Provider,{value:m,children:[d&&m.visualElement?y.jsx(d,{visualElement:m.visualElement,...f}):null,n(s,l,tw(h,m.visualElement,u),h,p,m.visualElement)]})}a.displayName=`motion.${typeof s=="string"?s:`create(${(o=(i=s.displayName)!==null&&i!==void 0?i:s.name)!==null&&o!==void 0?o:""})`}`;const c=x.forwardRef(a);return c[ew]=s,c}function ow({layoutId:e}){const t=x.useContext(Xc).id;return t&&e!==void 0?t+"-"+e:e}function aw(e,t){x.useContext(lp).strict}function cw(e){const{drag:t,layout:n}=Kr;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:t!=null&&t.isEnabled(e)||n!=null&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}const lw=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function il(e){return typeof e!="string"||e.includes("-")?!1:!!(lw.indexOf(e)>-1||/[A-Z]/u.test(e))}function Iu(e){const t=[{},{}];return e==null||e.values.forEach((n,r)=>{t[0][r]=n.get(),t[1][r]=n.getVelocity()}),t}function ol(e,t,n,r){if(typeof t=="function"){const[s,i]=Iu(r);t=t(n!==void 0?n:e.custom,s,i)}if(typeof t=="string"&&(t=e.variants&&e.variants[t]),typeof t=="function"){const[s,i]=Iu(r);t=t(n!==void 0?n:e.custom,s,i)}return t}const $a=e=>Array.isArray(e),uw=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),dw=e=>$a(e)?e[e.length-1]||0:e,Qe=e=>!!(e&&e.getVelocity);function qi(e){const t=Qe(e)?e.get():e;return uw(t)?t.toValue():t}function fw({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},r,s,i){const o={latestValues:hw(r,s,i,e),renderState:t()};return n&&(o.onMount=a=>n({props:r,current:a,...o}),o.onUpdate=a=>n(a)),o}const mp=e=>(t,n)=>{const r=x.useContext(Do),s=x.useContext(jo),i=()=>fw(e,t,r,s);return n?i():Yc(i)};function hw(e,t,n,r){const s={},i=r(e,{});for(const f in i)s[f]=qi(i[f]);let{initial:o,animate:a}=e;const c=Fo(e),l=dp(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),a===void 0&&(a=t.animate));let u=n?n.initial===!1:!1;u=u||o===!1;const d=u?a:o;if(d&&typeof d!="boolean"&&!Mo(d)){const f=Array.isArray(d)?d:[d];for(let p=0;pt=>typeof t=="string"&&t.startsWith(e),al=gp("--"),pw=gp("var(--"),cl=e=>pw(e)?mw.test(e.split("/*")[0].trim()):!1,mw=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,yp=(e,t)=>t&&typeof e=="number"?t.transform(e):e,pn=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},Is={...as,transform:e=>pn(0,1,e)},Ii={...as,default:1},pi=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),wn=pi("deg"),Xt=pi("%"),J=pi("px"),gw=pi("vh"),yw=pi("vw"),Vu={...Xt,parse:e=>Xt.parse(e)/100,transform:e=>Xt.transform(e*100)},vw={borderWidth:J,borderTopWidth:J,borderRightWidth:J,borderBottomWidth:J,borderLeftWidth:J,borderRadius:J,radius:J,borderTopLeftRadius:J,borderTopRightRadius:J,borderBottomRightRadius:J,borderBottomLeftRadius:J,width:J,maxWidth:J,height:J,maxHeight:J,top:J,right:J,bottom:J,left:J,padding:J,paddingTop:J,paddingRight:J,paddingBottom:J,paddingLeft:J,margin:J,marginTop:J,marginRight:J,marginBottom:J,marginLeft:J,backgroundPositionX:J,backgroundPositionY:J},xw={rotate:wn,rotateX:wn,rotateY:wn,rotateZ:wn,scale:Ii,scaleX:Ii,scaleY:Ii,scaleZ:Ii,skew:wn,skewX:wn,skewY:wn,distance:J,translateX:J,translateY:J,translateZ:J,x:J,y:J,z:J,perspective:J,transformPerspective:J,opacity:Is,originX:Vu,originY:Vu,originZ:J},Bu={...as,transform:Math.round},ll={...vw,...xw,zIndex:Bu,size:J,fillOpacity:Is,strokeOpacity:Is,numOctaves:Bu},bw={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ww=os.length;function Sw(e,t,n){let r="",s=!0;for(let i=0;i({style:{},transform:{},transformOrigin:{},vars:{}}),vp=()=>({...fl(),attrs:{}}),hl=e=>typeof e=="string"&&e.toLowerCase()==="svg";function xp(e,{style:t,vars:n},r,s){Object.assign(e.style,t,s&&s.getProjectionStyles(r));for(const i in n)e.style.setProperty(i,n[i])}const bp=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function wp(e,t,n,r){xp(e,t,void 0,r);for(const s in t.attrs)e.setAttribute(bp.has(s)?s:rl(s),t.attrs[s])}const Vs={};function Ew(e){for(const t in e)Vs[t]=e[t],al(t)&&(Vs[t].isCSSVariable=!0)}function Sp(e,{layout:t,layoutId:n}){return xr.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!Vs[e]||e==="opacity")}function pl(e,t,n){var r;const{style:s}=e,i={};for(const o in s)(Qe(s[o])||t.style&&Qe(t.style[o])||Sp(o,e)||((r=n==null?void 0:n.getValue(o))===null||r===void 0?void 0:r.liveStyle)!==void 0)&&(i[o]=s[o]);return i}function _p(e,t,n){const r=pl(e,t,n);for(const s in e)if(Qe(e[s])||Qe(t[s])){const i=os.indexOf(s)!==-1?"attr"+s.charAt(0).toUpperCase()+s.substring(1):s;r[i]=e[s]}return r}function Pw(e,t){try{t.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{t.dimensions={x:0,y:0,width:0,height:0}}}const $u=["x","y","width","height","cx","cy","r"],Rw={useVisualState:mp({scrapeMotionValuesFromProps:_p,createRenderState:vp,onUpdate:({props:e,prevProps:t,current:n,renderState:r,latestValues:s})=>{if(!n)return;let i=!!e.drag;if(!i){for(const a in s)if(xr.has(a)){i=!0;break}}if(!i)return;let o=!t;if(t)for(let a=0;a<$u.length;a++){const c=$u[a];e[c]!==t[c]&&(o=!0)}o&&Ce.read(()=>{Pw(n,r),Ce.render(()=>{dl(r,s,hl(n.tagName),e.transformTemplate),wp(n,r)})})}})},kw={useVisualState:mp({scrapeMotionValuesFromProps:pl,createRenderState:fl})};function Tp(e,t,n){for(const r in t)!Qe(t[r])&&!Sp(r,n)&&(e[r]=t[r])}function Ow({transformTemplate:e},t){return x.useMemo(()=>{const n=fl();return ul(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Nw(e,t){const n=e.style||{},r={};return Tp(r,n,e),Object.assign(r,Ow(e,t)),r}function jw(e,t){const n={},r=Nw(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=e.drag===!0?"none":`pan-${e.drag==="x"?"y":"x"}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}function Dw(e,t,n,r){const s=x.useMemo(()=>{const i=vp();return dl(i,t,hl(r),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};Tp(i,e.style,e),s.style={...i,...s.style}}return s}function Mw(e=!1){return(n,r,s,{latestValues:i},o)=>{const c=(il(n)?Dw:jw)(r,i,o,n),l=Qb(r,typeof n=="string",e),u=n!==x.Fragment?{...l,...c,ref:s}:{},{children:d}=r,f=x.useMemo(()=>Qe(d)?d.get():d,[d]);return x.createElement(n,{...u,children:f})}}function Fw(e,t){return function(r,{forwardMotionProps:s}={forwardMotionProps:!1}){const o={...il(r)?Rw:kw,preloadedFeatures:e,useRender:Mw(s),createVisualElement:t,Component:r};return iw(o)}}function Cp(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r(Zi===void 0&&Yt.set($e.isProcessing||Wb.useManualTiming?$e.timestamp:performance.now()),Zi),set:e=>{Zi=e,queueMicrotask(Lw)}};function gl(e,t){e.indexOf(t)===-1&&e.push(t)}function yl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class vl{constructor(){this.subscriptions=[]}add(t){return gl(this.subscriptions,t),()=>yl(this.subscriptions,t)}notify(t,n,r){const s=this.subscriptions.length;if(s)if(s===1)this.subscriptions[0](t,n,r);else for(let i=0;i!isNaN(parseFloat(e));class Vw{constructor(t,n={}){this.version="12.0.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(r,s=!0)=>{const i=Yt.now();this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(r),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),s&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(t),this.owner=n.owner}setCurrent(t){this.current=t,this.updatedAt=Yt.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=Iw(this.current))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,n){this.events[t]||(this.events[t]=new vl);const r=this.events[t].add(n);return t==="change"?()=>{r(),Ce.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(const t in this.events)this.events[t].clear()}attach(t,n){this.passiveEffect=t,this.stopPassiveEffect=n}set(t,n=!0){!n||!this.passiveEffect?this.updateAndNotify(t,n):this.passiveEffect(t,this.updateAndNotify)}setWithVelocity(t,n,r){this.set(n),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-r}jump(t,n=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const t=Yt.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>zu)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,zu);return Ep(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(t){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=t(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Bs(e,t){return new Vw(e,t)}function Bw(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Bs(n))}function Uw(e,t){const n=Lo(e,t);let{transitionEnd:r={},transition:s={},...i}=n||{};i={...i,...r};for(const o in i){const a=dw(i[o]);Bw(e,o,a)}}function $w(e){return!!(Qe(e)&&e.add)}function za(e,t){const n=e.getValue("willChange");if($w(n))return n.add(t)}function Pp(e){return e.props[fp]}function xl(e){let t;return()=>(t===void 0&&(t=e()),t)}const zw=xl(()=>window.ScrollTimeline!==void 0);class Ww{constructor(t){this.stop=()=>this.runAll("stop"),this.animations=t.filter(Boolean)}get finished(){return Promise.all(this.animations.map(t=>"finished"in t?t.finished:t))}getAll(t){return this.animations[0][t]}setAll(t,n){for(let r=0;r{if(zw()&&s.attachTimeline)return s.attachTimeline(t);if(typeof n=="function")return n(s)});return()=>{r.forEach((s,i)=>{s&&s(),this.animations[i].stop()})}}get time(){return this.getAll("time")}set time(t){this.setAll("time",t)}get speed(){return this.getAll("speed")}set speed(t){this.setAll("speed",t)}get startTime(){return this.getAll("startTime")}get duration(){let t=0;for(let n=0;nn[t]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class Hw extends Ww{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}const fn=e=>e*1e3,hn=e=>e/1e3;function bl(e){return typeof e=="function"}function Wu(e,t){e.timeline=t,e.onfinish=null}const wl=e=>Array.isArray(e)&&typeof e[0]=="number",qw={linearEasing:void 0};function Zw(e,t){const n=xl(e);return()=>{var r;return(r=qw[t])!==null&&r!==void 0?r:n()}}const ro=Zw(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Qr=(e,t,n)=>{const r=t-e;return r===0?1:(n-e)/r},Rp=(e,t,n=10)=>{let r="";const s=Math.max(Math.round(t/n),2);for(let i=0;i`cubic-bezier(${e}, ${t}, ${n}, ${r})`,Wa={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:_s([0,.65,.55,1]),circOut:_s([.55,0,1,.45]),backIn:_s([.31,.01,.66,-.59]),backOut:_s([.33,1.53,.69,.99])};function Op(e,t){if(e)return typeof e=="function"&&ro()?Rp(e,t):wl(e)?_s(e):Array.isArray(e)?e.map(n=>Op(n,t)||Wa.easeOut):Wa[e]}const Np=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,Gw=1e-7,Kw=12;function Qw(e,t,n,r,s){let i,o,a=0;do o=t+(n-t)/2,i=Np(o,r,s)-e,i>0?n=o:t=o;while(Math.abs(i)>Gw&&++aQw(i,0,1,e,n);return i=>i===0||i===1?i:Np(s(i),t,r)}const jp=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Dp=e=>t=>1-e(1-t),Mp=mi(.33,1.53,.69,.99),Sl=Dp(Mp),Fp=jp(Sl),Lp=e=>(e*=2)<1?.5*Sl(e):.5*(2-Math.pow(2,-10*(e-1))),_l=e=>1-Math.sin(Math.acos(e)),Ip=Dp(_l),Vp=jp(_l),Bp=e=>/^0[^.\s]+$/u.test(e);function Xw(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Bp(e):!0}const ks=e=>Math.round(e*1e5)/1e5,Tl=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Yw(e){return e==null}const Jw=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Cl=(e,t)=>n=>!!(typeof n=="string"&&Jw.test(n)&&n.startsWith(e)||t&&!Yw(n)&&Object.prototype.hasOwnProperty.call(n,t)),Up=(e,t,n)=>r=>{if(typeof r!="string")return r;const[s,i,o,a]=r.match(Tl);return{[e]:parseFloat(s),[t]:parseFloat(i),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},e0=e=>pn(0,255,e),da={...as,transform:e=>Math.round(e0(e))},Kn={test:Cl("rgb","red"),parse:Up("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+da.transform(e)+", "+da.transform(t)+", "+da.transform(n)+", "+ks(Is.transform(r))+")"};function t0(e){let t="",n="",r="",s="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),s=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),s=e.substring(4,5),t+=t,n+=n,r+=r,s+=s),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:s?parseInt(s,16)/255:1}}const Ha={test:Cl("#"),parse:t0,transform:Kn.transform},Ar={test:Cl("hsl","hue"),parse:Up("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Xt.transform(ks(t))+", "+Xt.transform(ks(n))+", "+ks(Is.transform(r))+")"},Ge={test:e=>Kn.test(e)||Ha.test(e)||Ar.test(e),parse:e=>Kn.test(e)?Kn.parse(e):Ar.test(e)?Ar.parse(e):Ha.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Kn.transform(e):Ar.transform(e)},n0=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function r0(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Tl))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(n0))===null||n===void 0?void 0:n.length)||0)>0}const $p="number",zp="color",s0="var",i0="var(",Hu="${}",o0=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function Us(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},s=[];let i=0;const a=t.replace(o0,c=>(Ge.test(c)?(r.color.push(i),s.push(zp),n.push(Ge.parse(c))):c.startsWith(i0)?(r.var.push(i),s.push(s0),n.push(c)):(r.number.push(i),s.push($p),n.push(parseFloat(c))),++i,Hu)).split(Hu);return{values:n,split:a,indexes:r,types:s}}function Wp(e){return Us(e).values}function Hp(e){const{split:t,types:n}=Us(e),r=t.length;return s=>{let i="";for(let o=0;otypeof e=="number"?0:e;function c0(e){const t=Wp(e);return Hp(e)(t.map(a0))}const jn={test:r0,parse:Wp,createTransformer:Hp,getAnimatableNone:c0},l0=new Set(["brightness","contrast","saturate","opacity"]);function u0(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[r]=n.match(Tl)||[];if(!r)return e;const s=n.replace(r,"");let i=l0.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+s+")"}const d0=/\b([a-z-]*)\(.*?\)/gu,qa={...jn,getAnimatableNone:e=>{const t=e.match(d0);return t?t.map(u0).join(" "):e}},f0={...ll,color:Ge,backgroundColor:Ge,outlineColor:Ge,fill:Ge,stroke:Ge,borderColor:Ge,borderTopColor:Ge,borderRightColor:Ge,borderBottomColor:Ge,borderLeftColor:Ge,filter:qa,WebkitFilter:qa},Al=e=>f0[e];function qp(e,t){let n=Al(e);return n!==qa&&(n=jn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const h0=new Set(["auto","none","0"]);function p0(e,t,n){let r=0,s;for(;re===as||e===J,Zu=(e,t)=>parseFloat(e.split(", ")[t]),Gu=(e,t)=>(n,{transform:r})=>{if(r==="none"||!r)return 0;const s=r.match(/^matrix3d\((.+)\)$/u);if(s)return Zu(s[1],t);{const i=r.match(/^matrix\((.+)\)$/u);return i?Zu(i[1],e):0}},m0=new Set(["x","y","z"]),g0=os.filter(e=>!m0.has(e));function y0(e){const t=[];return g0.forEach(n=>{const r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))}),t}const Xr={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Gu(4,13),y:Gu(5,14)};Xr.translateX=Xr.x;Xr.translateY=Xr.y;const or=new Set;let Za=!1,Ga=!1;function Zp(){if(Ga){const e=Array.from(or).filter(r=>r.needsMeasurement),t=new Set(e.map(r=>r.element)),n=new Map;t.forEach(r=>{const s=y0(r);s.length&&(n.set(r,s),r.render())}),e.forEach(r=>r.measureInitialState()),t.forEach(r=>{r.render();const s=n.get(r);s&&s.forEach(([i,o])=>{var a;(a=r.getValue(i))===null||a===void 0||a.set(o)})}),e.forEach(r=>r.measureEndState()),e.forEach(r=>{r.suspendedScrollY!==void 0&&window.scrollTo(0,r.suspendedScrollY)})}Ga=!1,Za=!1,or.forEach(e=>e.complete()),or.clear()}function Gp(){or.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ga=!0)})}function v0(){Gp(),Zp()}class El{constructor(t,n,r,s,i,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...t],this.onComplete=n,this.name=r,this.motionValue=s,this.element=i,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(or.add(this),Za||(Za=!0,Ce.read(Gp),Ce.resolveKeyframes(Zp))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:n,element:r,motionValue:s}=this;for(let i=0;i/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),x0=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function b0(e){const t=x0.exec(e);if(!t)return[,];const[,n,r,s]=t;return[`--${n??r}`,s]}function Qp(e,t,n=1){const[r,s]=b0(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const o=i.trim();return Kp(o)?parseFloat(o):o}return cl(s)?Qp(s,t,n+1):s}const Xp=e=>t=>t.test(e),w0={test:e=>e==="auto",parse:e=>e},Yp=[as,J,Xt,wn,yw,gw,w0],Ku=e=>Yp.find(Xp(e));class Jp extends El{constructor(t,n,r,s,i){super(t,n,r,s,i,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:n,name:r}=this;if(!n||!n.current)return;super.readKeyframes();for(let c=0;c{n.getValue(c).set(l)}),this.resolveNoneKeyframes()}}const Qu=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(jn.test(e)||e==="0")&&!e.startsWith("url("));function S0(e){const t=e[0];if(e.length===1)return!0;for(let n=0;ne!==null;function Io(e,{repeat:t,repeatType:n="loop"},r){const s=e.filter(T0),i=t&&n!=="loop"&&t%2===1?0:s.length-1;return!i||r===void 0?s[i]:r}const C0=40;class em{constructor({autoplay:t=!0,delay:n=0,type:r="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:o="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Yt.now(),this.options={autoplay:t,delay:n,type:r,repeat:s,repeatDelay:i,repeatType:o,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt?this.resolvedAt-this.createdAt>C0?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&v0(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=Yt.now(),this.hasAttemptedResolve=!0;const{name:r,type:s,velocity:i,delay:o,onComplete:a,onUpdate:c,isGenerator:l}=this.options;if(!l&&!_0(t,r,s,i))if(o)this.options.duration=0;else{c&&c(Io(t,this.options,n)),a&&a(),this.resolveFinishedPromise();return}const u=this.initPlayback(t,n);u!==!1&&(this._resolved={keyframes:t,finalKeyframe:n,...u},this.onPostResolved())}onPostResolved(){}then(t,n){return this.currentFinishedPromise.then(t,n)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(t=>{this.resolveFinishedPromise=t})}}const Ka=2e4;function tm(e){let t=0;const n=50;let r=e.next(t);for(;!r.done&&t=Ka?1/0:t}const Ee=(e,t,n)=>e+(t-e)*n;function fa(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function A0({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let s=0,i=0,o=0;if(!t)s=i=o=n;else{const a=n<.5?n*(1+t):n+t-n*t,c=2*n-a;s=fa(c,a,e+1/3),i=fa(c,a,e),o=fa(c,a,e-1/3)}return{red:Math.round(s*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:r}}function so(e,t){return n=>n>0?t:e}const ha=(e,t,n)=>{const r=e*e,s=n*(t*t-r)+r;return s<0?0:Math.sqrt(s)},E0=[Ha,Kn,Ar],P0=e=>E0.find(t=>t.test(e));function Xu(e){const t=P0(e);if(!t)return!1;let n=t.parse(e);return t===Ar&&(n=A0(n)),n}const Yu=(e,t)=>{const n=Xu(e),r=Xu(t);if(!n||!r)return so(e,t);const s={...n};return i=>(s.red=ha(n.red,r.red,i),s.green=ha(n.green,r.green,i),s.blue=ha(n.blue,r.blue,i),s.alpha=Ee(n.alpha,r.alpha,i),Kn.transform(s))},R0=(e,t)=>n=>t(e(n)),gi=(...e)=>e.reduce(R0),Qa=new Set(["none","hidden"]);function k0(e,t){return Qa.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function O0(e,t){return n=>Ee(e,t,n)}function Pl(e){return typeof e=="number"?O0:typeof e=="string"?cl(e)?so:Ge.test(e)?Yu:D0:Array.isArray(e)?nm:typeof e=="object"?Ge.test(e)?Yu:N0:so}function nm(e,t){const n=[...e],r=n.length,s=e.map((i,o)=>Pl(i)(i,t[o]));return i=>{for(let o=0;o{for(const i in r)n[i]=r[i](s);return n}}function j0(e,t){var n;const r=[],s={color:0,var:0,number:0};for(let i=0;i{const n=jn.createTransformer(t),r=Us(e),s=Us(t);return r.indexes.var.length===s.indexes.var.length&&r.indexes.color.length===s.indexes.color.length&&r.indexes.number.length>=s.indexes.number.length?Qa.has(e)&&!s.values.length||Qa.has(t)&&!r.values.length?k0(e,t):gi(nm(j0(r,s),s.values),n):so(e,t)};function rm(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Ee(e,t,n):Pl(e)(e,t)}const M0=5;function sm(e,t,n){const r=Math.max(t-M0,0);return Ep(n-e(r),t-r)}const ke={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},Ju=.001;function F0({duration:e=ke.duration,bounce:t=ke.bounce,velocity:n=ke.velocity,mass:r=ke.mass}){let s,i,o=1-t;o=pn(ke.minDamping,ke.maxDamping,o),e=pn(ke.minDuration,ke.maxDuration,hn(e)),o<1?(s=l=>{const u=l*o,d=u*e,f=u-n,p=Xa(l,o),m=Math.exp(-d);return Ju-f/p*m},i=l=>{const d=l*o*e,f=d*n+n,p=Math.pow(o,2)*Math.pow(l,2)*e,m=Math.exp(-d),h=Xa(Math.pow(l,2),o);return(-s(l)+Ju>0?-1:1)*((f-p)*m)/h}):(s=l=>{const u=Math.exp(-l*e),d=(l-n)*e+1;return-.001+u*d},i=l=>{const u=Math.exp(-l*e),d=(n-l)*(e*e);return u*d});const a=5/e,c=I0(s,i,a);if(e=fn(e),isNaN(c))return{stiffness:ke.stiffness,damping:ke.damping,duration:e};{const l=Math.pow(c,2)*r;return{stiffness:l,damping:o*2*Math.sqrt(r*l),duration:e}}}const L0=12;function I0(e,t,n){let r=n;for(let s=1;se[n]!==void 0)}function U0(e){let t={velocity:ke.velocity,stiffness:ke.stiffness,damping:ke.damping,mass:ke.mass,isResolvedFromDuration:!1,...e};if(!ed(e,B0)&&ed(e,V0))if(e.visualDuration){const n=e.visualDuration,r=2*Math.PI/(n*1.2),s=r*r,i=2*pn(.05,1,1-(e.bounce||0))*Math.sqrt(s);t={...t,mass:ke.mass,stiffness:s,damping:i}}else{const n=F0(e);t={...t,...n,mass:ke.mass},t.isResolvedFromDuration=!0}return t}function im(e=ke.visualDuration,t=ke.bounce){const n=typeof e!="object"?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:r,restDelta:s}=n;const i=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:i},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=U0({...n,velocity:-hn(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-i,v=hn(Math.sqrt(c/u)),b=Math.abs(g)<5;r||(r=b?ke.restSpeed.granular:ke.restSpeed.default),s||(s=b?ke.restDelta.granular:ke.restDelta.default);let w;if(h<1){const S=Xa(v,h);w=E=>{const R=Math.exp(-h*v*E);return o-R*((m+h*v*g)/S*Math.sin(S*E)+g*Math.cos(S*E))}}else if(h===1)w=S=>o-Math.exp(-v*S)*(g+(m+v*g)*S);else{const S=v*Math.sqrt(h*h-1);w=E=>{const R=Math.exp(-h*v*E),A=Math.min(S*E,300);return o-R*((m+h*v*g)*Math.sinh(A)+S*g*Math.cosh(A))/S}}const T={calculatedDuration:p&&d||null,next:S=>{const E=w(S);if(p)a.done=S>=d;else{let R=0;h<1&&(R=S===0?fn(m):sm(w,S,E));const A=Math.abs(R)<=r,N=Math.abs(o-E)<=s;a.done=A&&N}return a.value=a.done?o:E,a},toString:()=>{const S=Math.min(tm(T),Ka),E=Rp(R=>T.next(S*R).value,S,30);return S+"ms "+E}};return T}function td({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:s=10,bounceStiffness:i=500,modifyTarget:o,min:a,max:c,restDelta:l=.5,restSpeed:u}){const d=e[0],f={done:!1,value:d},p=A=>a!==void 0&&Ac,m=A=>a===void 0?c:c===void 0||Math.abs(a-A)-h*Math.exp(-A/r),w=A=>v+b(A),T=A=>{const N=b(A),D=w(A);f.done=Math.abs(N)<=l,f.value=f.done?v:D};let S,E;const R=A=>{p(f.value)&&(S=A,E=im({keyframes:[f.value,m(f.value)],velocity:sm(w,A,f.value),damping:s,stiffness:i,restDelta:l,restSpeed:u}))};return R(0),{calculatedDuration:null,next:A=>{let N=!1;return!E&&S===void 0&&(N=!0,T(A),R(A)),S!==void 0&&A>=S?E.next(A-S):(!N&&T(A),f)}}}const $0=mi(.42,0,1,1),z0=mi(0,0,.58,1),om=mi(.42,0,.58,1),W0=e=>Array.isArray(e)&&typeof e[0]!="number",nd={linear:gt,easeIn:$0,easeInOut:om,easeOut:z0,circIn:_l,circInOut:Vp,circOut:Ip,backIn:Sl,backInOut:Fp,backOut:Mp,anticipate:Lp},rd=e=>{if(wl(e)){Ua(e.length===4);const[t,n,r,s]=e;return mi(t,n,r,s)}else if(typeof e=="string")return Ua(nd[e]!==void 0),nd[e];return e};function H0(e,t,n){const r=[],s=n||rm,i=e.length-1;for(let o=0;ot[0];if(i===2&&t[0]===t[1])return()=>t[1];const o=e[0]===e[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=H0(t,r,s),c=a.length,l=u=>{if(o&&u1)for(;dl(pn(e[0],e[i-1],u)):l}function Z0(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const s=Qr(0,t,r);e.push(Ee(n,1,s))}}function G0(e){const t=[0];return Z0(t,e.length-1),t}function K0(e,t){return e.map(n=>n*t)}function Q0(e,t){return e.map(()=>t||om).splice(0,e.length-1)}function io({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const s=W0(r)?r.map(rd):rd(r),i={done:!1,value:t[0]},o=K0(n&&n.length===t.length?n:G0(t),e),a=q0(o,t,{ease:Array.isArray(s)?s:Q0(t,s)});return{calculatedDuration:e,next:c=>(i.value=a(c),i.done=c>=e,i)}}const X0=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Ce.update(t,!0),stop:()=>Nn(t),now:()=>$e.isProcessing?$e.timestamp:Yt.now()}},Y0={decay:td,inertia:td,tween:io,keyframes:io,spring:im},J0=e=>e/100;class Rl extends em{constructor(t){super(t),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.teardown();const{onStop:c}=this.options;c&&c()};const{name:n,motionValue:r,element:s,keyframes:i}=this.options,o=(s==null?void 0:s.KeyframeResolver)||El,a=(c,l)=>this.onKeyframesResolved(c,l);this.resolver=new o(i,a,n,r,s),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(t){const{type:n="keyframes",repeat:r=0,repeatDelay:s=0,repeatType:i,velocity:o=0}=this.options,a=bl(n)?n:Y0[n]||io;let c,l;a!==io&&typeof t[0]!="number"&&(c=gi(J0,rm(t[0],t[1])),t=[0,100]);const u=a({...this.options,keyframes:t});i==="mirror"&&(l=a({...this.options,keyframes:[...t].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=tm(u));const{calculatedDuration:d}=u,f=d+s,p=f*(r+1)-s;return{generator:u,mirroredGenerator:l,mapPercentToKeyframes:c,calculatedDuration:d,resolvedDuration:f,totalDuration:p}}onPostResolved(){const{autoplay:t=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!t?this.pause():this.state=this.pendingPlayState}tick(t,n=!1){const{resolved:r}=this;if(!r){const{keyframes:A}=this.options;return{done:!0,value:A[A.length-1]}}const{finalKeyframe:s,generator:i,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:c,calculatedDuration:l,totalDuration:u,resolvedDuration:d}=r;if(this.startTime===null)return i.next(0);const{delay:f,repeat:p,repeatType:m,repeatDelay:h,onUpdate:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-u/this.speed,this.startTime)),n?this.currentTime=t:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(t-this.startTime)*this.speed;const v=this.currentTime-f*(this.speed>=0?1:-1),b=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=u);let w=this.currentTime,T=i;if(p){const A=Math.min(this.currentTime,u)/d;let N=Math.floor(A),D=A%1;!D&&A>=1&&(D=1),D===1&&N--,N=Math.min(N,p+1),!!(N%2)&&(m==="reverse"?(D=1-D,h&&(D-=h/d)):m==="mirror"&&(T=o)),w=pn(0,1,D)*d}const S=b?{done:!1,value:c[0]}:T.next(w);a&&(S.value=a(S.value));let{done:E}=S;!b&&l!==null&&(E=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const R=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&E);return R&&s!==void 0&&(S.value=Io(c,this.options,s)),g&&g(S.value),R&&this.finish(),S}get duration(){const{resolved:t}=this;return t?hn(t.calculatedDuration):0}get time(){return hn(this.currentTime)}set time(t){t=fn(t),this.currentTime=t,this.holdTime!==null||this.speed===0?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.speed)}get speed(){return this.playbackSpeed}set speed(t){const n=this.playbackSpeed!==t;this.playbackSpeed=t,n&&(this.time=hn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=X0,onPlay:n,startTime:r}=this.options;this.driver||(this.driver=t(i=>this.tick(i))),n&&n();const s=this.driver.now();this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=s):this.startTime=r??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var t;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(t=this.currentTime)!==null&&t!==void 0?t:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:t}=this.options;t&&t()}cancel(){this.cancelTime!==null&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}}const eS=new Set(["opacity","clipPath","filter","transform"]);function tS(e,t,n,{delay:r=0,duration:s=300,repeat:i=0,repeatType:o="loop",ease:a="easeInOut",times:c}={}){const l={[t]:n};c&&(l.offset=c);const u=Op(a,s);return Array.isArray(u)&&(l.easing=u),e.animate(l,{delay:r,duration:s,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:o==="reverse"?"alternate":"normal"})}const nS=xl(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),oo=10,rS=2e4;function sS(e){return bl(e.type)||e.type==="spring"||!kp(e.ease)}function iS(e,t){const n=new Rl({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const s=[];let i=0;for(;!r.done&&ithis.onKeyframesResolved(o,a),n,r,s),this.resolver.scheduleResolve()}initPlayback(t,n){let{duration:r=300,times:s,ease:i,type:o,motionValue:a,name:c,startTime:l}=this.options;if(!a.owner||!a.owner.current)return!1;if(typeof i=="string"&&ro()&&oS(i)&&(i=am[i]),sS(this.options)){const{onComplete:d,onUpdate:f,motionValue:p,element:m,...h}=this.options,g=iS(t,h);t=g.keyframes,t.length===1&&(t[1]=t[0]),r=g.duration,s=g.times,i=g.ease,o="keyframes"}const u=tS(a.owner.current,c,t,{...this.options,duration:r,times:s,ease:i});return u.startTime=l??this.calcStartTime(),this.pendingTimeline?(Wu(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{const{onComplete:d}=this.options;a.set(Io(t,this.options,n)),d&&d(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:r,times:s,type:o,ease:i,keyframes:t}}get duration(){const{resolved:t}=this;if(!t)return 0;const{duration:n}=t;return hn(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return hn(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.currentTime=fn(t)}get speed(){const{resolved:t}=this;if(!t)return 1;const{animation:n}=t;return n.playbackRate}set speed(t){const{resolved:n}=this;if(!n)return;const{animation:r}=n;r.playbackRate=t}get state(){const{resolved:t}=this;if(!t)return"idle";const{animation:n}=t;return n.playState}get startTime(){const{resolved:t}=this;if(!t)return null;const{animation:n}=t;return n.startTime}attachTimeline(t){if(!this._resolved)this.pendingTimeline=t;else{const{resolved:n}=this;if(!n)return gt;const{animation:r}=n;Wu(r,t)}return gt}play(){if(this.isStopped)return;const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:t}=this;if(!t)return;const{animation:n,keyframes:r,duration:s,type:i,ease:o,times:a}=t;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:l,onUpdate:u,onComplete:d,element:f,...p}=this.options,m=new Rl({...p,keyframes:r,duration:s,type:i,ease:o,times:a,isGenerator:!0}),h=fn(this.time);l.setWithVelocity(m.sample(h-oo).value,m.sample(h).value,oo)}const{onStop:c}=this.options;c&&c(),this.cancel()}complete(){const{resolved:t}=this;t&&t.animation.finish()}cancel(){const{resolved:t}=this;t&&t.animation.cancel()}static supports(t){const{motionValue:n,name:r,repeatDelay:s,repeatType:i,damping:o,type:a}=t;if(!n||!n.owner||!(n.owner.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:l}=n.owner.getProps();return nS()&&r&&eS.has(r)&&!c&&!l&&!s&&i!=="mirror"&&o!==0&&a!=="inertia"}}const aS={type:"spring",stiffness:500,damping:25,restSpeed:10},cS=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),lS={type:"keyframes",duration:.8},uS={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},dS=(e,{keyframes:t})=>t.length>2?lS:xr.has(e)?e.startsWith("scale")?cS(t[1]):aS:uS;function fS({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:s,repeat:i,repeatType:o,repeatDelay:a,from:c,elapsed:l,...u}){return!!Object.keys(u).length}const kl=(e,t,n,r={},s,i)=>o=>{const a=ml(r,e)||{},c=a.delay||r.delay||0;let{elapsed:l=0}=r;l=l-fn(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-l,onUpdate:f=>{t.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:i?void 0:s};fS(a)||(u={...u,...dS(e,u)}),u.duration&&(u.duration=fn(u.duration)),u.repeatDelay&&(u.repeatDelay=fn(u.repeatDelay)),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(u.duration=0,u.delay===0&&(d=!0)),d&&!i&&t.get()!==void 0){const f=Io(u.keyframes,a);if(f!==void 0)return Ce.update(()=>{u.onUpdate(f),u.onComplete()}),new Hw([])}return!i&&sd.supports(u)?new sd(u):new Rl(u)};function hS({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function cm(e,t,{delay:n=0,transitionOverride:r,type:s}={}){var i;let{transition:o=e.getDefaultTransition(),transitionEnd:a,...c}=t;r&&(o=r);const l=[],u=s&&e.animationState&&e.animationState.getState()[s];for(const d in c){const f=e.getValue(d,(i=e.latestValues[d])!==null&&i!==void 0?i:null),p=c[d];if(p===void 0||u&&hS(u,d))continue;const m={delay:n,...ml(o||{},d)};let h=!1;if(window.MotionHandoffAnimation){const v=Pp(e);if(v){const b=window.MotionHandoffAnimation(v,d,Ce);b!==null&&(m.startTime=b,h=!0)}}za(e,d),f.start(kl(d,f,p,e.shouldReduceMotion&&Ap.has(d)?{type:!1}:m,e,h));const g=f.animation;g&&l.push(g)}return a&&Promise.all(l).then(()=>{Ce.update(()=>{a&&Uw(e,a)})}),l}function Ya(e,t,n={}){var r;const s=Lo(e,t,n.type==="exit"?(r=e.presenceContext)===null||r===void 0?void 0:r.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(i=n.transitionOverride);const o=s?()=>Promise.all(cm(e,s,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:f}=i;return pS(e,t,u+l,d,f,n)}:()=>Promise.resolve(),{when:c}=i;if(c){const[l,u]=c==="beforeChildren"?[o,a]:[a,o];return l().then(()=>u())}else return Promise.all([o(),a(n.delay)])}function pS(e,t,n=0,r=0,s=1,i){const o=[],a=(e.variantChildren.size-1)*r,c=s===1?(l=0)=>l*r:(l=0)=>a-l*r;return Array.from(e.variantChildren).sort(mS).forEach((l,u)=>{l.notify("AnimationStart",t),o.push(Ya(l,t,{...i,delay:n+c(u)}).then(()=>l.notify("AnimationComplete",t)))}),Promise.all(o)}function mS(e,t){return e.sortNodePosition(t)}function gS(e,t,n={}){e.notify("AnimationStart",t);let r;if(Array.isArray(t)){const s=t.map(i=>Ya(e,i,n));r=Promise.all(s)}else if(typeof t=="string")r=Ya(e,t,n);else{const s=typeof t=="function"?Lo(e,t,n.custom):t;r=Promise.all(cm(e,s,n))}return r.then(()=>{e.notify("AnimationComplete",t)})}const yS=nl.length;function lm(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?lm(e.parent)||{}:{};return e.props.initial!==void 0&&(n.initial=e.props.initial),n}const t={};for(let n=0;nPromise.all(t.map(({animation:n,options:r})=>gS(e,n,r)))}function wS(e){let t=bS(e),n=id(),r=!0;const s=c=>(l,u)=>{var d;const f=Lo(e,u,c==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:p,transitionEnd:m,...h}=f;l={...l,...h,...m}}return l};function i(c){t=c(e)}function o(c){const{props:l}=e,u=lm(e.parent)||{},d=[],f=new Set;let p={},m=1/0;for(let g=0;gm&&T,N=!1;const D=Array.isArray(w)?w:[w];let L=D.reduce(s(v),{});S===!1&&(L={});const{prevResolvedValues:j={}}=b,$={...j,...L},W=Z=>{A=!0,f.has(Z)&&(N=!0,f.delete(Z)),b.needsAnimating[Z]=!0;const q=e.getValue(Z);q&&(q.liveStyle=!1)};for(const Z in $){const q=L[Z],se=j[Z];if(p.hasOwnProperty(Z))continue;let me=!1;$a(q)&&$a(se)?me=!Cp(q,se):me=q!==se,me?q!=null?W(Z):f.add(Z):q!==void 0&&f.has(Z)?W(Z):b.protectedKeys[Z]=!0}b.prevProp=w,b.prevResolvedValues=L,b.isActive&&(p={...p,...L}),r&&e.blockInitialAnimation&&(A=!1),A&&(!(E&&R)||N)&&d.push(...D.map(Z=>({animation:Z,options:{type:v}})))}if(f.size){const g={};f.forEach(v=>{const b=e.getBaseTarget(v),w=e.getValue(v);w&&(w.liveStyle=!0),g[v]=b??null}),d.push({animation:g})}let h=!!d.length;return r&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(h=!1),r=!1,h?t(d):Promise.resolve()}function a(c,l){var u;if(n[c].isActive===l)return Promise.resolve();(u=e.variantChildren)===null||u===void 0||u.forEach(f=>{var p;return(p=f.animationState)===null||p===void 0?void 0:p.setActive(c,l)}),n[c].isActive=l;const d=o(c);for(const f in n)n[f].protectedKeys={};return d}return{animateChanges:o,setActive:a,setAnimateFunction:i,getState:()=>n,reset:()=>{n=id(),r=!0}}}function SS(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Cp(t,e):!1}function qn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function id(){return{animate:qn(!0),whileInView:qn(),whileHover:qn(),whileTap:qn(),whileDrag:qn(),whileFocus:qn(),exit:qn()}}class $n{constructor(t){this.isMounted=!1,this.node=t}update(){}}class _S extends $n{constructor(t){super(t),t.animationState||(t.animationState=wS(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Mo(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:n}=this.node.prevProps||{};t!==n&&this.updateAnimationControlsSubscription()}unmount(){var t;this.node.animationState.reset(),(t=this.unmountControls)===null||t===void 0||t.call(this)}}let TS=0;class CS extends $n{constructor(){super(...arguments),this.id=TS++}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:n}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===r)return;const s=this.node.animationState.setActive("exit",!t);n&&!t&&s.then(()=>n(this.id))}mount(){const{register:t}=this.node.presenceContext||{};t&&(this.unmount=t(this.id))}unmount(){}}const AS={animation:{Feature:_S},exit:{Feature:CS}},Et={x:!1,y:!1};function um(){return Et.x||Et.y}function ES(e){return e==="x"||e==="y"?Et[e]?null:(Et[e]=!0,()=>{Et[e]=!1}):Et.x||Et.y?null:(Et.x=Et.y=!0,()=>{Et.x=Et.y=!1})}const Ol=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function $s(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function yi(e){return{point:{x:e.pageX,y:e.pageY}}}const PS=e=>t=>Ol(t)&&e(t,yi(t));function Os(e,t,n,r){return $s(e,t,PS(n),r)}const od=(e,t)=>Math.abs(e-t);function RS(e,t){const n=od(e.x,t.x),r=od(e.y,t.y);return Math.sqrt(n**2+r**2)}class dm{constructor(t,n,{transformPagePoint:r,contextWindow:s,dragSnapToOrigin:i=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const d=ma(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=RS(d.offset,{x:0,y:0})>=3;if(!f&&!p)return;const{point:m}=d,{timestamp:h}=$e;this.history.push({...m,timestamp:h});const{onStart:g,onMove:v}=this.handlers;f||(g&&g(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=pa(f,this.transformPagePoint),Ce.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:p,onSessionEnd:m,resumeAnimation:h}=this.handlers;if(this.dragSnapToOrigin&&h&&h(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const g=ma(d.type==="pointercancel"?this.lastMoveEventInfo:pa(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(d,g),m&&m(d,g)},!Ol(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=r,this.contextWindow=s||window;const o=yi(t),a=pa(o,this.transformPagePoint),{point:c}=a,{timestamp:l}=$e;this.history=[{...c,timestamp:l}];const{onSessionStart:u}=n;u&&u(t,ma(a,this.history)),this.removeListeners=gi(Os(this.contextWindow,"pointermove",this.handlePointerMove),Os(this.contextWindow,"pointerup",this.handlePointerUp),Os(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Nn(this.updatePoint)}}function pa(e,t){return t?{point:t(e.point)}:e}function ad(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ma({point:e},t){return{point:e,delta:ad(e,fm(t)),offset:ad(e,kS(t)),velocity:OS(t,.1)}}function kS(e){return e[0]}function fm(e){return e[e.length-1]}function OS(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const s=fm(e);for(;n>=0&&(r=e[n],!(s.timestamp-r.timestamp>fn(t)));)n--;if(!r)return{x:0,y:0};const i=hn(s.timestamp-r.timestamp);if(i===0)return{x:0,y:0};const o={x:(s.x-r.x)/i,y:(s.y-r.y)/i};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}const hm=1e-4,NS=1-hm,jS=1+hm,pm=.01,DS=0-pm,MS=0+pm;function nt(e){return e.max-e.min}function FS(e,t,n){return Math.abs(e-t)<=n}function cd(e,t,n,r=.5){e.origin=r,e.originPoint=Ee(t.min,t.max,e.origin),e.scale=nt(n)/nt(t),e.translate=Ee(n.min,n.max,e.origin)-e.originPoint,(e.scale>=NS&&e.scale<=jS||isNaN(e.scale))&&(e.scale=1),(e.translate>=DS&&e.translate<=MS||isNaN(e.translate))&&(e.translate=0)}function Ns(e,t,n,r){cd(e.x,t.x,n.x,r?r.originX:void 0),cd(e.y,t.y,n.y,r?r.originY:void 0)}function ld(e,t,n){e.min=n.min+t.min,e.max=e.min+nt(t)}function LS(e,t,n){ld(e.x,t.x,n.x),ld(e.y,t.y,n.y)}function ud(e,t,n){e.min=t.min-n.min,e.max=e.min+nt(t)}function js(e,t,n){ud(e.x,t.x,n.x),ud(e.y,t.y,n.y)}function IS(e,{min:t,max:n},r){return t!==void 0&&en&&(e=r?Ee(n,e,r.max):Math.min(e,n)),e}function dd(e,t,n){return{min:t!==void 0?e.min+t:void 0,max:n!==void 0?e.max+n-(e.max-e.min):void 0}}function VS(e,{top:t,left:n,bottom:r,right:s}){return{x:dd(e.x,n,s),y:dd(e.y,t,r)}}function fd(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.minr?n=Qr(t.min,t.max-r,e.min):r>s&&(n=Qr(e.min,e.max-s,t.min)),pn(0,1,n)}function $S(e,t){const n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}const Ja=.35;function zS(e=Ja){return e===!1?e=0:e===!0&&(e=Ja),{x:hd(e,"left","right"),y:hd(e,"top","bottom")}}function hd(e,t,n){return{min:pd(e,t),max:pd(e,n)}}function pd(e,t){return typeof e=="number"?e:e[t]||0}const md=()=>({translate:0,scale:1,origin:0,originPoint:0}),Er=()=>({x:md(),y:md()}),gd=()=>({min:0,max:0}),je=()=>({x:gd(),y:gd()});function St(e){return[e("x"),e("y")]}function mm({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function WS({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function HS(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function ga(e){return e===void 0||e===1}function ec({scale:e,scaleX:t,scaleY:n}){return!ga(e)||!ga(t)||!ga(n)}function Zn(e){return ec(e)||gm(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function gm(e){return yd(e.x)||yd(e.y)}function yd(e){return e&&e!=="0%"}function ao(e,t,n){const r=e-n,s=t*r;return n+s}function vd(e,t,n,r,s){return s!==void 0&&(e=ao(e,s,r)),ao(e,n,r)+t}function tc(e,t=0,n=1,r,s){e.min=vd(e.min,t,n,r,s),e.max=vd(e.max,t,n,r,s)}function ym(e,{x:t,y:n}){tc(e.x,t.translate,t.scale,t.originPoint),tc(e.y,n.translate,n.scale,n.originPoint)}const xd=.999999999999,bd=1.0000000000001;function qS(e,t,n,r=!1){const s=n.length;if(!s)return;t.x=t.y=1;let i,o;for(let a=0;axd&&(t.x=1),t.yxd&&(t.y=1)}function Pr(e,t){e.min=e.min+t,e.max=e.max+t}function wd(e,t,n,r,s=.5){const i=Ee(e.min,e.max,s);tc(e,t,n,i,r)}function Rr(e,t){wd(e.x,t.x,t.scaleX,t.scale,t.originX),wd(e.y,t.y,t.scaleY,t.scale,t.originY)}function vm(e,t){return mm(HS(e.getBoundingClientRect(),t))}function ZS(e,t,n){const r=vm(e,n),{scroll:s}=t;return s&&(Pr(r.x,s.offset.x),Pr(r.y,s.offset.y)),r}const xm=({current:e})=>e?e.ownerDocument.defaultView:null,GS=new WeakMap;class KS{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=je(),this.visualElement=t}start(t,{snapToCursor:n=!1}={}){const{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;const s=u=>{const{dragSnapToOrigin:d}=this.getProps();d?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(yi(u).point)},i=(u,d)=>{const{drag:f,dragPropagation:p,onDragStart:m}=this.getProps();if(f&&!p&&(this.openDragLock&&this.openDragLock(),this.openDragLock=ES(f),!this.openDragLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),St(g=>{let v=this.getAxisMotionValue(g).get()||0;if(Xt.test(v)){const{projection:b}=this.visualElement;if(b&&b.layout){const w=b.layout.layoutBox[g];w&&(v=nt(w)*(parseFloat(v)/100))}}this.originPoint[g]=v}),m&&Ce.postRender(()=>m(u,d)),za(this.visualElement,"transform");const{animationState:h}=this.visualElement;h&&h.setActive("whileDrag",!0)},o=(u,d)=>{const{dragPropagation:f,dragDirectionLock:p,onDirectionLock:m,onDrag:h}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:g}=d;if(p&&this.currentDirection===null){this.currentDirection=QS(g),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",d.point,g),this.updateAxis("y",d.point,g),this.visualElement.render(),h&&h(u,d)},a=(u,d)=>this.stop(u,d),c=()=>St(u=>{var d;return this.getAnimationState(u)==="paused"&&((d=this.getAxisMotionValue(u).animation)===null||d===void 0?void 0:d.play())}),{dragSnapToOrigin:l}=this.getProps();this.panSession=new dm(t,{onSessionStart:s,onStart:i,onMove:o,onSessionEnd:a,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:xm(this.visualElement)})}stop(t,n){const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:s}=n;this.startAnimation(s);const{onDragEnd:i}=this.getProps();i&&Ce.postRender(()=>i(t,n))}cancel(){this.isDragging=!1;const{projection:t,animationState:n}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:r}=this.getProps();!r&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(t,n,r){const{drag:s}=this.getProps();if(!r||!Vi(t,s,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+r[t];this.constraints&&this.constraints[t]&&(o=IS(o,this.constraints[t],this.elastic[t])),i.set(o)}resolveConstraints(){var t;const{dragConstraints:n,dragElastic:r}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(t=this.visualElement.projection)===null||t===void 0?void 0:t.layout,i=this.constraints;n&&Cr(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&s?this.constraints=VS(s.layoutBox,n):this.constraints=!1,this.elastic=zS(r),i!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&St(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=$S(s.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Cr(t))return!1;const r=t.current,{projection:s}=this.visualElement;if(!s||!s.layout)return!1;const i=ZS(r,s.root,this.visualElement.getTransformPagePoint());let o=BS(s.layout.layoutBox,i);if(n){const a=n(WS(o));this.hasMutatedConstraints=!!a,a&&(o=mm(a))}return o}startAnimation(t){const{drag:n,dragMomentum:r,dragElastic:s,dragTransition:i,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),c=this.constraints||{},l=St(u=>{if(!Vi(u,n,this.currentDirection))return;let d=c[u]||{};o&&(d={min:0,max:0});const f=s?200:1e6,p=s?40:1e7,m={type:"inertia",velocity:r?t[u]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...i,...d};return this.startAxisValueAnimation(u,m)});return Promise.all(l).then(a)}startAxisValueAnimation(t,n){const r=this.getAxisMotionValue(t);return za(this.visualElement,t),r.start(kl(t,r,0,n,this.visualElement,!1))}stopAnimation(){St(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){St(t=>{var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(t){var n;return(n=this.getAxisMotionValue(t).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(t){const n=`_drag${t.toUpperCase()}`,r=this.visualElement.getProps(),s=r[n];return s||this.visualElement.getValue(t,(r.initial?r.initial[t]:void 0)||0)}snapToCursor(t){St(n=>{const{drag:r}=this.getProps();if(!Vi(n,r,this.currentDirection))return;const{projection:s}=this.visualElement,i=this.getAxisMotionValue(n);if(s&&s.layout){const{min:o,max:a}=s.layout.layoutBox[n];i.set(t[n]-Ee(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:r}=this.visualElement;if(!Cr(n)||!r||!this.constraints)return;this.stopAnimation();const s={x:0,y:0};St(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const c=a.get();s[o]=US({min:c,max:c},this.constraints[o])}});const{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),St(o=>{if(!Vi(o,t,null))return;const a=this.getAxisMotionValue(o),{min:c,max:l}=this.constraints[o];a.set(Ee(c,l,s[o]))})}addListeners(){if(!this.visualElement.current)return;GS.set(this.visualElement,this);const t=this.visualElement.current,n=Os(t,"pointerdown",c=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(c)}),r=()=>{const{dragConstraints:c}=this.getProps();Cr(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:s}=this.visualElement,i=s.addEventListener("measure",r);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),Ce.read(r);const o=$s(window,"resize",()=>this.scalePositionWithinConstraints()),a=s.addEventListener("didUpdate",({delta:c,hasLayoutChanged:l})=>{this.isDragging&&l&&(St(u=>{const d=this.getAxisMotionValue(u);d&&(this.originPoint[u]+=c[u].translate,d.set(d.get()+c[u].translate))}),this.visualElement.render())});return()=>{o(),n(),i(),a&&a()}}getProps(){const t=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:r=!1,dragPropagation:s=!1,dragConstraints:i=!1,dragElastic:o=Ja,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:r,dragPropagation:s,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function Vi(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function QS(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class XS extends $n{constructor(t){super(t),this.removeGroupControls=gt,this.removeListeners=gt,this.controls=new KS(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||gt}unmount(){this.removeGroupControls(),this.removeListeners()}}const Sd=e=>(t,n)=>{e&&Ce.postRender(()=>e(t,n))};class YS extends $n{constructor(){super(...arguments),this.removePointerDownListener=gt}onPointerDown(t){this.session=new dm(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:xm(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:r,onPanEnd:s}=this.node.getProps();return{onSessionStart:Sd(t),onStart:Sd(n),onMove:r,onEnd:(i,o)=>{delete this.session,s&&Ce.postRender(()=>s(i,o))}}}mount(){this.removePointerDownListener=Os(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const Gi={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function _d(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const xs={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(J.test(e))e=parseFloat(e);else return e;const n=_d(e,t.target.x),r=_d(e,t.target.y);return`${n}% ${r}%`}},JS={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,s=jn.parse(e);if(s.length>5)return r;const i=jn.createTransformer(e),o=typeof s[0]!="number"?1:0,a=n.x.scale*t.x,c=n.y.scale*t.y;s[0+o]/=a,s[1+o]/=c;const l=Ee(a,c,.5);return typeof s[2+o]=="number"&&(s[2+o]/=l),typeof s[3+o]=="number"&&(s[3+o]/=l),i(s)}};class e_ extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r,layoutId:s}=this.props,{projection:i}=t;Ew(t_),i&&(n.group&&n.group.add(i),r&&r.register&&s&&r.register(i),i.root.didUpdate(),i.addEventListener("animationComplete",()=>{this.safeToRemove()}),i.setOptions({...i.options,onExitComplete:()=>this.safeToRemove()})),Gi.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:n,visualElement:r,drag:s,isPresent:i}=this.props,o=r.projection;return o&&(o.isPresent=i,s||t.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),t.isPresent!==i&&(i?o.promote():o.relegate()||Ce.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),sl.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:r}=this.props,{projection:s}=t;s&&(s.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(s),r&&r.deregister&&r.deregister(s))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function bm(e){const[t,n]=op(),r=x.useContext(Xc);return y.jsx(e_,{...e,layoutGroup:r,switchLayoutGroup:x.useContext(hp),isPresent:t,safeToRemove:n})}const t_={borderRadius:{...xs,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:xs,borderTopRightRadius:xs,borderBottomLeftRadius:xs,borderBottomRightRadius:xs,boxShadow:JS};function n_(e,t,n){const r=Qe(e)?e:Bs(e);return r.start(kl("",r,t,n)),r.animation}function r_(e){return e instanceof SVGElement&&e.tagName!=="svg"}const s_=(e,t)=>e.depth-t.depth;class i_{constructor(){this.children=[],this.isDirty=!1}add(t){gl(this.children,t),this.isDirty=!0}remove(t){yl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(s_),this.isDirty=!1,this.children.forEach(t)}}function o_(e,t){const n=Yt.now(),r=({timestamp:s})=>{const i=s-n;i>=t&&(Nn(r),e(i-t))};return Ce.read(r,!0),()=>Nn(r)}const wm=["TopLeft","TopRight","BottomLeft","BottomRight"],a_=wm.length,Td=e=>typeof e=="string"?parseFloat(e):e,Cd=e=>typeof e=="number"||J.test(e);function c_(e,t,n,r,s,i){s?(e.opacity=Ee(0,n.opacity!==void 0?n.opacity:1,l_(r)),e.opacityExit=Ee(t.opacity!==void 0?t.opacity:1,0,u_(r))):i&&(e.opacity=Ee(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,r));for(let o=0;ort?1:n(Qr(e,t,r))}function Ed(e,t){e.min=t.min,e.max=t.max}function wt(e,t){Ed(e.x,t.x),Ed(e.y,t.y)}function Pd(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Rd(e,t,n,r,s){return e-=t,e=ao(e,1/n,r),s!==void 0&&(e=ao(e,1/s,r)),e}function d_(e,t=0,n=1,r=.5,s,i=e,o=e){if(Xt.test(t)&&(t=parseFloat(t),t=Ee(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=Ee(i.min,i.max,r);e===i&&(a-=t),e.min=Rd(e.min,t,n,a,s),e.max=Rd(e.max,t,n,a,s)}function kd(e,t,[n,r,s],i,o){d_(e,t[n],t[r],t[s],t.scale,i,o)}const f_=["x","scaleX","originX"],h_=["y","scaleY","originY"];function Od(e,t,n,r){kd(e.x,t,f_,n?n.x:void 0,r?r.x:void 0),kd(e.y,t,h_,n?n.y:void 0,r?r.y:void 0)}function Nd(e){return e.translate===0&&e.scale===1}function _m(e){return Nd(e.x)&&Nd(e.y)}function jd(e,t){return e.min===t.min&&e.max===t.max}function p_(e,t){return jd(e.x,t.x)&&jd(e.y,t.y)}function Dd(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Tm(e,t){return Dd(e.x,t.x)&&Dd(e.y,t.y)}function Md(e){return nt(e.x)/nt(e.y)}function Fd(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class m_{constructor(){this.members=[]}add(t){gl(this.members,t),t.scheduleRender()}remove(t){if(yl(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(t){const n=this.members.findIndex(s=>t===s);if(n===0)return!1;let r;for(let s=n;s>=0;s--){const i=this.members[s];if(i.isPresent!==!1){r=i;break}}return r?(this.promote(r),!0):!1}promote(t,n){const r=this.lead;if(t!==r&&(this.prevLead=r,this.lead=t,t.show(),r)){r.instance&&r.scheduleRender(),t.scheduleRender(),t.resumeFrom=r,n&&(t.resumeFrom.preserveOpacity=!0),r.snapshot&&(t.snapshot=r.snapshot,t.snapshot.latestValues=r.animationValues||r.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);const{crossfade:s}=t.options;s===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(t=>{const{options:n,resumingFrom:r}=t;n.onExitComplete&&n.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function g_(e,t,n){let r="";const s=e.x.translate/t.x,i=e.y.translate/t.y,o=(n==null?void 0:n.z)||0;if((s||i||o)&&(r=`translate3d(${s}px, ${i}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:l,rotate:u,rotateX:d,rotateY:f,skewX:p,skewY:m}=n;l&&(r=`perspective(${l}px) ${r}`),u&&(r+=`rotate(${u}deg) `),d&&(r+=`rotateX(${d}deg) `),f&&(r+=`rotateY(${f}deg) `),p&&(r+=`skewX(${p}deg) `),m&&(r+=`skewY(${m}deg) `)}const a=e.x.scale*t.x,c=e.y.scale*t.y;return(a!==1||c!==1)&&(r+=`scale(${a}, ${c})`),r||"none"}const Gn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Ts=typeof window<"u"&&window.MotionDebug!==void 0,ya=["","X","Y","Z"],y_={visibility:"hidden"},Ld=1e3;let v_=0;function va(e,t,n,r){const{latestValues:s}=t;s[e]&&(n[e]=s[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Cm(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Pp(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:s,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Ce,!(s||i))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&Cm(r)}function Am({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:s}){return class{constructor(o={},a=t==null?void 0:t()){this.id=v_++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Ts&&(Gn.totalNodes=Gn.resolvedTargetDeltas=Gn.recalculatedProjection=0),this.nodes.forEach(w_),this.nodes.forEach(A_),this.nodes.forEach(E_),this.nodes.forEach(S_),Ts&&window.MotionDebug.record(Gn)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let c=0;cthis.root.updateBlockedByResize=!1;e(o,()=>{this.root.updateBlockedByResize=!0,d&&d(),d=o_(f,250),Gi.hasAnimatedSinceResize&&(Gi.hasAnimatedSinceResize=!1,this.nodes.forEach(Vd))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&u&&(c||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:p,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const h=this.options.transition||u.getDefaultTransition()||N_,{onLayoutAnimationStart:g,onLayoutAnimationComplete:v}=u.getProps(),b=!this.targetLayout||!Tm(this.targetLayout,m),w=!f&&p;if(this.options.layoutRoot||this.resumeFrom||w||f&&(b||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(d,w);const T={...ml(h,"layout"),onPlay:g,onComplete:v};(u.shouldReduceMotion||this.options.layoutRoot)&&(T.delay=0,T.type=!1),this.startAnimation(T)}else f||Vd(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=m})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Nn(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(P_),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Cm(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!nt(this.snapshot.measuredBox.x)&&!nt(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c{const S=T/1e3;Bd(d.x,o.x,S),Bd(d.y,o.y,S),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(js(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),k_(this.relativeTarget,this.relativeTargetOrigin,f,S),w&&p_(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=je()),wt(w,this.relativeTarget)),h&&(this.animationValues=u,c_(u,l,this.latestValues,S,b,v)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=S},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Nn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Ce.update(()=>{Gi.hasAnimatedSinceResize=!0,this.currentAnimation=n_(0,Ld,{...o,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Ld),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:c,layout:l,latestValues:u}=o;if(!(!a||!c||!l)){if(this!==o&&this.layout&&l&&Em(this.options.animationType,this.layout.layoutBox,l.layoutBox)){c=this.target||je();const d=nt(this.layout.layoutBox.x);c.x.min=o.target.x.min,c.x.max=c.x.min+d;const f=nt(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+f}wt(a,c),Rr(a,u),Ns(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new m_),this.sharedNodes.get(o).add(a);const l=a.options.initialPromotionConfig;a.promote({transition:l?l.transition:void 0,preserveFollowOpacity:l&&l.shouldPreserveFollowOpacity?l.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:c}={}){const l=this.getStack();l&&l.promote(this,c),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:c}=o;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(a=!0),!a)return;const l={};c.z&&va("z",o,l,this.animationValues);for(let u=0;u{var a;return(a=o.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Id),this.root.sharedNodes.clear()}}}function x_(e){e.updateLayout()}function b_(e){var t;const n=((t=e.resumeFrom)===null||t===void 0?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:r,measuredBox:s}=e.layout,{animationType:i}=e.options,o=n.source!==e.layout.source;i==="size"?St(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],p=nt(f);f.min=r[d].min,f.max=f.min+p}):Em(i,n.layoutBox,r)&&St(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],p=nt(r[d]);f.max=f.min+p,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+p)});const a=Er();Ns(a,r,n.layoutBox);const c=Er();o?Ns(c,e.applyTransform(s,!0),n.measuredBox):Ns(c,r,n.layoutBox);const l=!_m(a);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:p}=d;if(f&&p){const m=je();js(m,n.layoutBox,f.layoutBox);const h=je();js(h,r,p.layoutBox),Tm(m,h)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=h,e.relativeTargetOrigin=m,e.relativeParent=d)}}}e.notifyListeners("didUpdate",{layout:r,snapshot:n,delta:c,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(e.isLead()){const{onExitComplete:r}=e.options;r&&r()}e.options.transition=void 0}function w_(e){Ts&&Gn.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function S_(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function __(e){e.clearSnapshot()}function Id(e){e.clearMeasurements()}function T_(e){e.isLayoutDirty=!1}function C_(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Vd(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function A_(e){e.resolveTargetDelta()}function E_(e){e.calcProjection()}function P_(e){e.resetSkewAndRotation()}function R_(e){e.removeLeadSnapshot()}function Bd(e,t,n){e.translate=Ee(t.translate,0,n),e.scale=Ee(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Ud(e,t,n,r){e.min=Ee(t.min,n.min,r),e.max=Ee(t.max,n.max,r)}function k_(e,t,n,r){Ud(e.x,t.x,n.x,r),Ud(e.y,t.y,n.y,r)}function O_(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const N_={duration:.45,ease:[.4,0,.1,1]},$d=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),zd=$d("applewebkit/")&&!$d("chrome/")?Math.round:gt;function Wd(e){e.min=zd(e.min),e.max=zd(e.max)}function j_(e){Wd(e.x),Wd(e.y)}function Em(e,t,n){return e==="position"||e==="preserve-aspect"&&!FS(Md(t),Md(n),.2)}function D_(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const M_=Am({attachResizeListener:(e,t)=>$s(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),xa={current:void 0},Pm=Am({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!xa.current){const e=new M_({});e.mount(window),e.setOptions({layoutScroll:!0}),xa.current=e}return xa.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),F_={pan:{Feature:YS},drag:{Feature:XS,ProjectionNode:Pm,MeasureLayout:bm}};function L_(e,t,n){var r;if(e instanceof Element)return[e];if(typeof e=="string"){let s=document;const i=(r=void 0)!==null&&r!==void 0?r:s.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e)}function Rm(e,t){const n=L_(e),r=new AbortController,s={passive:!0,...t,signal:r.signal};return[n,s,()=>r.abort()]}function Hd(e){return!(e.pointerType==="touch"||um())}function I_(e,t,n={}){const[r,s,i]=Rm(e,n),o=a=>{if(!Hd(a))return;const{target:c}=a,l=t(c,a);if(typeof l!="function"||!c)return;const u=d=>{Hd(d)&&(l(d),c.removeEventListener("pointerleave",u))};c.addEventListener("pointerleave",u,s)};return r.forEach(a=>{a.addEventListener("pointerenter",o,s)}),i}function qd(e,t,n){const{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive("whileHover",n==="Start");const s="onHover"+n,i=r[s];i&&Ce.postRender(()=>i(t,yi(t)))}class V_ extends $n{mount(){const{current:t}=this.node;t&&(this.unmount=I_(t,(n,r)=>(qd(this.node,r,"Start"),s=>qd(this.node,s,"End"))))}unmount(){}}class B_ extends $n{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch{t=!0}!t||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=gi($s(this.node.current,"focus",()=>this.onFocus()),$s(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const km=(e,t)=>t?e===t?!0:km(e,t.parentElement):!1,U_=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function $_(e){return U_.has(e.tagName)||e.tabIndex!==-1}const Cs=new WeakSet;function Zd(e){return t=>{t.key==="Enter"&&e(t)}}function ba(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const z_=(e,t)=>{const n=e.currentTarget;if(!n)return;const r=Zd(()=>{if(Cs.has(n))return;ba(n,"down");const s=Zd(()=>{ba(n,"up")}),i=()=>ba(n,"cancel");n.addEventListener("keyup",s,t),n.addEventListener("blur",i,t)});n.addEventListener("keydown",r,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",r),t)};function Gd(e){return Ol(e)&&!um()}function W_(e,t,n={}){const[r,s,i]=Rm(e,n),o=a=>{const c=a.currentTarget;if(!Gd(a)||Cs.has(c))return;Cs.add(c);const l=t(c,a),u=(p,m)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),!(!Gd(p)||!Cs.has(c))&&(Cs.delete(c),typeof l=="function"&&l(p,{success:m}))},d=p=>{u(p,n.useGlobalTarget||km(c,p.target))},f=p=>{u(p,!1)};window.addEventListener("pointerup",d,s),window.addEventListener("pointercancel",f,s)};return r.forEach(a=>{!$_(a)&&a.getAttribute("tabindex")===null&&(a.tabIndex=0),(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,s),a.addEventListener("focus",l=>z_(l,s),s)}),i}function Kd(e,t,n){const{props:r}=e;e.animationState&&r.whileTap&&e.animationState.setActive("whileTap",n==="Start");const s="onTap"+(n==="End"?"":n),i=r[s];i&&Ce.postRender(()=>i(t,yi(t)))}class H_ extends $n{mount(){const{current:t}=this.node;t&&(this.unmount=W_(t,(n,r)=>(Kd(this.node,r,"Start"),(s,{success:i})=>Kd(this.node,s,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const nc=new WeakMap,wa=new WeakMap,q_=e=>{const t=nc.get(e.target);t&&t(e)},Z_=e=>{e.forEach(q_)};function G_({root:e,...t}){const n=e||document;wa.has(n)||wa.set(n,{});const r=wa.get(n),s=JSON.stringify(t);return r[s]||(r[s]=new IntersectionObserver(Z_,{root:e,...t})),r[s]}function K_(e,t,n){const r=G_(t);return nc.set(e,n),r.observe(e),()=>{nc.delete(e),r.unobserve(e)}}const Q_={some:0,all:1};class X_ extends $n{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:n,margin:r,amount:s="some",once:i}=t,o={root:n?n.current:void 0,rootMargin:r,threshold:typeof s=="number"?s:Q_[s]},a=c=>{const{isIntersecting:l}=c;if(this.isInView===l||(this.isInView=l,i&&!l&&this.hasEnteredView))return;l&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",l);const{onViewportEnter:u,onViewportLeave:d}=this.node.getProps(),f=l?u:d;f&&f(c)};return K_(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:t,prevProps:n}=this.node;["amount","margin","root"].some(Y_(t,n))&&this.startObserver()}unmount(){}}function Y_({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const J_={inView:{Feature:X_},tap:{Feature:H_},focus:{Feature:B_},hover:{Feature:V_}},eT={layout:{ProjectionNode:Pm,MeasureLayout:bm}},rc={current:null},Om={current:!1};function tT(){if(Om.current=!0,!!el)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>rc.current=e.matches;e.addListener(t),t()}else rc.current=!1}const nT=[...Yp,Ge,jn],rT=e=>nT.find(Xp(e)),Qd=new WeakMap;function sT(e,t,n){for(const r in t){const s=t[r],i=n[r];if(Qe(s))e.addValue(r,s);else if(Qe(i))e.addValue(r,Bs(s,{owner:e}));else if(i!==s)if(e.hasValue(r)){const o=e.getValue(r);o.liveStyle===!0?o.jump(s):o.hasAnimated||o.set(s)}else{const o=e.getStaticValue(r);e.addValue(r,Bs(o!==void 0?o:s,{owner:e}))}}for(const r in n)t[r]===void 0&&e.removeValue(r);return t}const Xd=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class iT{scrapeMotionValuesFromProps(t,n,r){return{}}constructor({parent:t,props:n,presenceContext:r,reducedMotionConfig:s,blockInitialAnimation:i,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=El,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const p=Yt.now();this.renderScheduledAtthis.bindToMotionValue(r,n)),Om.current||tT(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:rc.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Qd.delete(this.current),this.projection&&this.projection.unmount(),Nn(this.notifyUpdate),Nn(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const n=this.features[t];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(t,n){this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();const r=xr.has(t),s=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&Ce.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),i=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,n)),this.valueSubscriptions.set(t,()=>{s(),i(),o&&o(),n.owner&&n.stop()})}sortNodePosition(t){return!this.current||!this.sortInstanceNodePosition||this.type!==t.type?0:this.sortInstanceNodePosition(this.current,t.current)}updateFeatures(){let t="animation";for(t in Kr){const n=Kr[t];if(!n)continue;const{isEnabled:r,Feature:s}=n;if(!this.features[t]&&s&&r(this.props)&&(this.features[t]=new s(this)),this.features[t]){const i=this.features[t];i.isMounted?i.update():(i.mount(),i.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):je()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,n){this.latestValues[t]=n}update(t,n){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let r=0;rn.variantChildren.delete(t)}addValue(t,n){const r=this.values.get(t);n!==r&&(r&&this.removeValue(t),this.bindToMotionValue(t,n),this.values.set(t,n),this.latestValues[t]=n.get())}removeValue(t){this.values.delete(t);const n=this.valueSubscriptions.get(t);n&&(n(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,n){if(this.props.values&&this.props.values[t])return this.props.values[t];let r=this.values.get(t);return r===void 0&&n!==void 0&&(r=Bs(n===null?void 0:n,{owner:this}),this.addValue(t,r)),r}readValue(t,n){var r;let s=this.latestValues[t]!==void 0||!this.current?this.latestValues[t]:(r=this.getBaseTargetFromProps(this.props,t))!==null&&r!==void 0?r:this.readValueFromInstance(this.current,t,this.options);return s!=null&&(typeof s=="string"&&(Kp(s)||Bp(s))?s=parseFloat(s):!rT(s)&&jn.test(n)&&(s=qp(t,n)),this.setBaseTarget(t,Qe(s)?s.get():s)),Qe(s)?s.get():s}setBaseTarget(t,n){this.baseTarget[t]=n}getBaseTarget(t){var n;const{initial:r}=this.props;let s;if(typeof r=="string"||typeof r=="object"){const o=ol(this.props,r,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(s=o[t])}if(r&&s!==void 0)return s;const i=this.getBaseTargetFromProps(this.props,t);return i!==void 0&&!Qe(i)?i:this.initialValues[t]!==void 0&&s===void 0?void 0:this.baseTarget[t]}on(t,n){return this.events[t]||(this.events[t]=new vl),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Nm extends iT{constructor(){super(...arguments),this.KeyframeResolver=Jp}sortInstanceNodePosition(t,n){return t.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(t,n){return t.style?t.style[n]:void 0}removeValueFromRenderState(t,{vars:n,style:r}){delete n[t],delete r[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;Qe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function oT(e){return window.getComputedStyle(e)}class aT extends Nm{constructor(){super(...arguments),this.type="html",this.renderInstance=xp}readValueFromInstance(t,n){if(xr.has(n)){const r=Al(n);return r&&r.default||0}else{const r=oT(t),s=(al(n)?r.getPropertyValue(n):r[n])||0;return typeof s=="string"?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:n}){return vm(t,n)}build(t,n,r){ul(t,n,r.transformTemplate)}scrapeMotionValuesFromProps(t,n,r){return pl(t,n,r)}}class cT extends Nm{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=je}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(xr.has(n)){const r=Al(n);return r&&r.default||0}return n=bp.has(n)?n:rl(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,r){return _p(t,n,r)}build(t,n,r){dl(t,n,this.isSVGTag,r.transformTemplate)}renderInstance(t,n,r,s){wp(t,n,r,s)}mount(t){this.isSVGTag=hl(t.tagName),super.mount(t)}}const lT=(e,t)=>il(e)?new cT(t):new aT(t,{allowProjection:e!==x.Fragment}),uT=Fw({...AS,...J_,...F_,...eT},lT),Ki=Xb(uT);var Sa,Yd;function dT(){if(Yd)return Sa;Yd=1;var e="Expected a function",t=NaN,n="[object Symbol]",r=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,i=/^0b[01]+$/i,o=/^0o[0-7]+$/i,a=parseInt,c=typeof ki=="object"&&ki&&ki.Object===Object&&ki,l=typeof self=="object"&&self&&self.Object===Object&&self,u=c||l||Function("return this")(),d=Object.prototype,f=d.toString,p=Math.max,m=Math.min,h=function(){return u.Date.now()};function g(S,E,R){var A,N,D,L,j,$,W=0,re=!1,Y=!1,Z=!0;if(typeof S!="function")throw new TypeError(e);E=T(E)||0,v(R)&&(re=!!R.leading,Y="maxWait"in R,D=Y?p(T(R.maxWait)||0,E):D,Z="trailing"in R?!!R.trailing:Z);function q(ue){var ye=A,Oe=N;return A=N=void 0,W=ue,L=S.apply(Oe,ye),L}function se(ue){return W=ue,j=setTimeout(He,E),re?q(ue):L}function me(ue){var ye=ue-$,Oe=ue-W,Ie=E-ye;return Y?m(Ie,D-Oe):Ie}function ge(ue){var ye=ue-$,Oe=ue-W;return $===void 0||ye>=E||ye<0||Y&&Oe>=D}function He(){var ue=h();if(ge(ue))return dt(ue);j=setTimeout(He,me(ue))}function dt(ue){return j=void 0,Z&&A?q(ue):(A=N=void 0,L)}function qe(){j!==void 0&&clearTimeout(j),W=0,A=$=N=j=void 0}function At(){return j===void 0?L:dt(h())}function Ye(){var ue=h(),ye=ge(ue);if(A=arguments,N=this,$=ue,ye){if(j===void 0)return se($);if(Y)return j=setTimeout(He,E),q($)}return j===void 0&&(j=setTimeout(He,E)),L}return Ye.cancel=qe,Ye.flush=At,Ye}function v(S){var E=typeof S;return!!S&&(E=="object"||E=="function")}function b(S){return!!S&&typeof S=="object"}function w(S){return typeof S=="symbol"||b(S)&&f.call(S)==n}function T(S){if(typeof S=="number")return S;if(w(S))return t;if(v(S)){var E=typeof S.valueOf=="function"?S.valueOf():S;S=v(E)?E+"":E}if(typeof S!="string")return S===0?S:+S;S=S.replace(r,"");var R=i.test(S);return R||o.test(S)?a(S.slice(2),R?2:8):s.test(S)?t:+S}return Sa=g,Sa}dT();var fT=typeof window<"u"?x.useLayoutEffect:x.useEffect,hT=typeof window>"u";function sc(e,{defaultValue:t=!1,initializeWithValue:n=!0}={}){const r=a=>hT?t:window.matchMedia(a).matches,[s,i]=x.useState(()=>n?r(e):t);function o(){i(r(e))}return fT(()=>{const a=window.matchMedia(e);return o(),a.addListener?a.addListener(o):a.addEventListener("change",o),()=>{a.removeListener?a.removeListener(o):a.removeEventListener("change",o)}},[e]),s}const qk=({className:e,stage:t})=>{const n=sc("(min-width: 768px");return y.jsx("div",{className:e,children:y.jsx("div",{className:"max-w-[808px] md:mx-auto my-20 mx-5",children:y.jsxs("div",{className:"relative h-14 w-full",children:[y.jsx("div",{className:X("h-2 absolute bg-[#D0D3D8] rounded-[2px] w-full top-0 left-0")}),y.jsx(Ki.div,{initial:{width:0},animate:t===2?{width:"20%"}:t===3&&{width:"75%"},transition:{delay:.5,duration:.5},className:X("h-2 absolute bg-primary rounded-[2px] top-0 left-0 z-[5]",{"w-0 bg-opacity-0":t===1,"w-[20%]":t===2,"w-[75%]":t===3})}),y.jsx(Ki.div,{initial:{width:n?"50%":"35%"},animate:t===2?{width:"75%"}:t===3&&{width:"100%"},className:X("bg-reverse_primary w-1/2 absolute top-0 left-0 rounded-[2px] z-[3] h-2")}),y.jsx(Ki.div,{className:X("progress-circle absolute transition-all duration-500 -top-6 flex items-center justify-center",{"bg-reverse_primary md:left-1/2 left-1/3":t===1,"bg-primary left-[20%] !text-on_primary":t===2||t===3}),children:"1"}),y.jsx("div",{className:X("progress-circle absolute -top-6 right-[17%] transition-all -translate-x-1/2 flex items-center justify-center",{"bg-[#D0D3D8]":t===1,"bg-reverse_primary":t===2,"bg-primary !text-on_primary":t===3}),children:"2"}),y.jsx("div",{className:X("progress-circle absolute -top-6 right-0 transition-all duration-500 flex items-center justify-center",{"bg-[#D0D3D8]":t===1||t===2,"bg-reverse_primary":t===3}),children:"3"})]})})})};var vi=e=>e.type==="checkbox",Qn=e=>e instanceof Date,tt=e=>e==null;const jm=e=>typeof e=="object";var Fe=e=>!tt(e)&&!Array.isArray(e)&&jm(e)&&!Qn(e),Dm=e=>Fe(e)&&e.target?vi(e.target)?e.target.checked:e.target.value:e,pT=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Mm=(e,t)=>e.has(pT(t)),mT=e=>{const t=e.constructor&&e.constructor.prototype;return Fe(t)&&t.hasOwnProperty("isPrototypeOf")},Nl=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function ot(e){let t;const n=Array.isArray(e),r=typeof FileList<"u"?e instanceof FileList:!1;if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(Nl&&(e instanceof Blob||r))&&(n||Fe(e)))if(t=n?[]:{},!n&&!mT(e))t=e;else for(const s in e)e.hasOwnProperty(s)&&(t[s]=ot(e[s]));else return e;return t}var Vo=e=>Array.isArray(e)?e.filter(Boolean):[],De=e=>e===void 0,V=(e,t,n)=>{if(!t||!Fe(e))return n;const r=Vo(t.split(/[,[\].]+?/)).reduce((s,i)=>tt(s)?s:s[i],e);return De(r)||r===e?De(e[t])?n:e[t]:r},Ct=e=>typeof e=="boolean",jl=e=>/^\w*$/.test(e),Fm=e=>Vo(e.replace(/["|']|\]/g,"").split(/\.|\[/)),xe=(e,t,n)=>{let r=-1;const s=jl(t)?[t]:Fm(t),i=s.length,o=i-1;for(;++rve.useContext(Lm),gT=e=>{const{children:t,...n}=e;return ve.createElement(Lm.Provider,{value:n},t)};var Im=(e,t,n,r=!0)=>{const s={defaultValues:t._defaultValues};for(const i in e)Object.defineProperty(s,i,{get:()=>{const o=i;return t._proxyFormState[o]!==Ot.all&&(t._proxyFormState[o]=!r||Ot.all),n&&(n[o]=!0),e[o]}});return s},ct=e=>Fe(e)&&!Object.keys(e).length,Vm=(e,t,n,r)=>{n(e);const{name:s,...i}=e;return ct(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(o=>t[o]===(!r||Ot.all))},Ds=e=>Array.isArray(e)?e:[e],Bm=(e,t,n)=>!e||!t||e===t||Ds(e).some(r=>r&&(n?r===t:r.startsWith(t)||t.startsWith(r)));function Dl(e){const t=ve.useRef(e);t.current=e,ve.useEffect(()=>{const n=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{n&&n.unsubscribe()}},[e.disabled])}function yT(e){const t=Bo(),{control:n=t.control,disabled:r,name:s,exact:i}=e,[o,a]=ve.useState(n._formState),c=ve.useRef(!0),l=ve.useRef({isDirty:!1,isLoading:!1,dirtyFields:!1,touchedFields:!1,validatingFields:!1,isValidating:!1,isValid:!1,errors:!1}),u=ve.useRef(s);return u.current=s,Dl({disabled:r,next:d=>c.current&&Bm(u.current,d.name,i)&&Vm(d,l.current,n._updateFormState)&&a({...n._formState,...d}),subject:n._subjects.state}),ve.useEffect(()=>(c.current=!0,l.current.isValid&&n._updateValid(!0),()=>{c.current=!1}),[n]),ve.useMemo(()=>Im(o,n,l.current,!1),[o,n])}var Qt=e=>typeof e=="string",Um=(e,t,n,r,s)=>Qt(e)?(r&&t.watch.add(e),V(n,e,s)):Array.isArray(e)?e.map(i=>(r&&t.watch.add(i),V(n,i))):(r&&(t.watchAll=!0),n);function vT(e){const t=Bo(),{control:n=t.control,name:r,defaultValue:s,disabled:i,exact:o}=e,a=ve.useRef(r);a.current=r,Dl({disabled:i,subject:n._subjects.values,next:u=>{Bm(a.current,u.name,o)&&l(ot(Um(a.current,n._names,u.values||n._formValues,!1,s)))}});const[c,l]=ve.useState(n._getWatch(r,s));return ve.useEffect(()=>n._removeUnmounted()),c}function xT(e){const t=Bo(),{name:n,disabled:r,control:s=t.control,shouldUnregister:i}=e,o=Mm(s._names.array,n),a=vT({control:s,name:n,defaultValue:V(s._formValues,n,V(s._defaultValues,n,e.defaultValue)),exact:!0}),c=yT({control:s,name:n,exact:!0}),l=ve.useRef(s.register(n,{...e.rules,value:a,...Ct(e.disabled)?{disabled:e.disabled}:{}})),u=ve.useMemo(()=>Object.defineProperties({},{invalid:{enumerable:!0,get:()=>!!V(c.errors,n)},isDirty:{enumerable:!0,get:()=>!!V(c.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!V(c.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!V(c.validatingFields,n)},error:{enumerable:!0,get:()=>V(c.errors,n)}}),[c,n]),d=ve.useMemo(()=>({name:n,value:a,...Ct(r)||c.disabled?{disabled:c.disabled||r}:{},onChange:f=>l.current.onChange({target:{value:Dm(f),name:n},type:co.CHANGE}),onBlur:()=>l.current.onBlur({target:{value:V(s._formValues,n),name:n},type:co.BLUR}),ref:f=>{const p=V(s._fields,n);p&&f&&(p._f.ref={focus:()=>f.focus(),select:()=>f.select(),setCustomValidity:m=>f.setCustomValidity(m),reportValidity:()=>f.reportValidity()})}}),[n,s._formValues,r,c.disabled,a,s._fields]);return ve.useEffect(()=>{const f=s._options.shouldUnregister||i,p=(m,h)=>{const g=V(s._fields,m);g&&g._f&&(g._f.mount=h)};if(p(n,!0),f){const m=ot(V(s._options.defaultValues,n));xe(s._defaultValues,n,m),De(V(s._formValues,n))&&xe(s._formValues,n,m)}return!o&&s.register(n),()=>{(o?f&&!s._state.action:f)?s.unregister(n):p(n,!1)}},[n,s,o,i]),ve.useEffect(()=>{s._updateDisabledField({disabled:r,fields:s._fields,name:n})},[r,n,s]),ve.useMemo(()=>({field:d,formState:c,fieldState:u}),[d,c,u])}const bT=e=>e.render(xT(e));var $m=(e,t,n,r,s)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[r]:s||!0}}:{},Jd=e=>({isOnSubmit:!e||e===Ot.onSubmit,isOnBlur:e===Ot.onBlur,isOnChange:e===Ot.onChange,isOnAll:e===Ot.all,isOnTouch:e===Ot.onTouched}),ef=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(r=>e.startsWith(r)&&/^\.\w+/.test(e.slice(r.length))));const Ms=(e,t,n,r)=>{for(const s of n||Object.keys(e)){const i=V(e,s);if(i){const{_f:o,...a}=i;if(o){if(o.refs&&o.refs[0]&&t(o.refs[0],s)&&!r)return!0;if(o.ref&&t(o.ref,o.name)&&!r)return!0;if(Ms(a,t))break}else if(Fe(a)&&Ms(a,t))break}}};var wT=(e,t,n)=>{const r=Ds(V(e,n));return xe(r,"root",t[n]),xe(e,n,r),e},Ml=e=>e.type==="file",Kt=e=>typeof e=="function",lo=e=>{if(!Nl)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Qi=e=>Qt(e),Fl=e=>e.type==="radio",uo=e=>e instanceof RegExp;const tf={value:!1,isValid:!1},nf={value:!0,isValid:!0};var zm=e=>{if(Array.isArray(e)){if(e.length>1){const t=e.filter(n=>n&&n.checked&&!n.disabled).map(n=>n.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!De(e[0].attributes.value)?De(e[0].value)||e[0].value===""?nf:{value:e[0].value,isValid:!0}:nf:tf}return tf};const rf={isValid:!1,value:null};var Wm=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,rf):rf;function sf(e,t,n="validate"){if(Qi(e)||Array.isArray(e)&&e.every(Qi)||Ct(e)&&!e)return{type:n,message:Qi(e)?e:"",ref:t}}var _r=e=>Fe(e)&&!uo(e)?e:{value:e,message:""},of=async(e,t,n,r,s,i)=>{const{ref:o,refs:a,required:c,maxLength:l,minLength:u,min:d,max:f,pattern:p,validate:m,name:h,valueAsNumber:g,mount:v}=e._f,b=V(n,h);if(!v||t.has(h))return{};const w=a?a[0]:o,T=j=>{s&&w.reportValidity&&(w.setCustomValidity(Ct(j)?"":j||""),w.reportValidity())},S={},E=Fl(o),R=vi(o),A=E||R,N=(g||Ml(o))&&De(o.value)&&De(b)||lo(o)&&o.value===""||b===""||Array.isArray(b)&&!b.length,D=$m.bind(null,h,r,S),L=(j,$,W,re=an.maxLength,Y=an.minLength)=>{const Z=j?$:W;S[h]={type:j?re:Y,message:Z,ref:o,...D(j?re:Y,Z)}};if(i?!Array.isArray(b)||!b.length:c&&(!A&&(N||tt(b))||Ct(b)&&!b||R&&!zm(a).isValid||E&&!Wm(a).isValid)){const{value:j,message:$}=Qi(c)?{value:!!c,message:c}:_r(c);if(j&&(S[h]={type:an.required,message:$,ref:w,...D(an.required,$)},!r))return T($),S}if(!N&&(!tt(d)||!tt(f))){let j,$;const W=_r(f),re=_r(d);if(!tt(b)&&!isNaN(b)){const Y=o.valueAsNumber||b&&+b;tt(W.value)||(j=Y>W.value),tt(re.value)||($=Ynew Date(new Date().toDateString()+" "+me),q=o.type=="time",se=o.type=="week";Qt(W.value)&&b&&(j=q?Z(b)>Z(W.value):se?b>W.value:Y>new Date(W.value)),Qt(re.value)&&b&&($=q?Z(b)+j.value,re=!tt($.value)&&b.length<+$.value;if((W||re)&&(L(W,j.message,$.message),!r))return T(S[h].message),S}if(p&&!N&&Qt(b)){const{value:j,message:$}=_r(p);if(uo(j)&&!b.match(j)&&(S[h]={type:an.pattern,message:$,ref:o,...D(an.pattern,$)},!r))return T($),S}if(m){if(Kt(m)){const j=await m(b,n),$=sf(j,w);if($&&(S[h]={...$,...D(an.validate,$.message)},!r))return T($.message),S}else if(Fe(m)){let j={};for(const $ in m){if(!ct(j)&&!r)break;const W=sf(await m[$](b,n),w,$);W&&(j={...W,...D($,W.message)},T(W.message),r&&(S[h]=j))}if(!ct(j)&&(S[h]={ref:w,...j},!r))return S}}return T(!0),S};function ST(e,t){const n=t.slice(0,-1).length;let r=0;for(;r{let e=[];return{get observers(){return e},next:s=>{for(const i of e)i.next&&i.next(s)},subscribe:s=>(e.push(s),{unsubscribe:()=>{e=e.filter(i=>i!==s)}}),unsubscribe:()=>{e=[]}}},ic=e=>tt(e)||!jm(e);function _n(e,t){if(ic(e)||ic(t))return e===t;if(Qn(e)&&Qn(t))return e.getTime()===t.getTime();const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(const s of n){const i=e[s];if(!r.includes(s))return!1;if(s!=="ref"){const o=t[s];if(Qn(i)&&Qn(o)||Fe(i)&&Fe(o)||Array.isArray(i)&&Array.isArray(o)?!_n(i,o):i!==o)return!1}}return!0}var Hm=e=>e.type==="select-multiple",TT=e=>Fl(e)||vi(e),Ta=e=>lo(e)&&e.isConnected,qm=e=>{for(const t in e)if(Kt(e[t]))return!0;return!1};function fo(e,t={}){const n=Array.isArray(e);if(Fe(e)||n)for(const r in e)Array.isArray(e[r])||Fe(e[r])&&!qm(e[r])?(t[r]=Array.isArray(e[r])?[]:{},fo(e[r],t[r])):tt(e[r])||(t[r]=!0);return t}function Zm(e,t,n){const r=Array.isArray(e);if(Fe(e)||r)for(const s in e)Array.isArray(e[s])||Fe(e[s])&&!qm(e[s])?De(t)||ic(n[s])?n[s]=Array.isArray(e[s])?fo(e[s],[]):{...fo(e[s])}:Zm(e[s],tt(t)?{}:t[s],n[s]):n[s]=!_n(e[s],t[s]);return n}var bs=(e,t)=>Zm(e,t,fo(t)),Gm=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:r})=>De(e)?e:t?e===""?NaN:e&&+e:n&&Qt(e)?new Date(e):r?r(e):e;function Ca(e){const t=e.ref;return Ml(t)?t.files:Fl(t)?Wm(e.refs).value:Hm(t)?[...t.selectedOptions].map(({value:n})=>n):vi(t)?zm(e.refs).value:Gm(De(t.value)?e.ref.value:t.value,e)}var CT=(e,t,n,r)=>{const s={};for(const i of e){const o=V(t,i);o&&xe(s,i,o._f)}return{criteriaMode:n,names:[...e],fields:s,shouldUseNativeValidation:r}},ws=e=>De(e)?e:uo(e)?e.source:Fe(e)?uo(e.value)?e.value.source:e.value:e;const af="AsyncFunction";var AT=e=>!!e&&!!e.validate&&!!(Kt(e.validate)&&e.validate.constructor.name===af||Fe(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===af)),ET=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function cf(e,t,n){const r=V(e,n);if(r||jl(n))return{error:r,name:n};const s=n.split(".");for(;s.length;){const i=s.join("."),o=V(t,i),a=V(e,i);if(o&&!Array.isArray(o)&&n!==i)return{name:n};if(a&&a.type)return{name:i,error:a};s.pop()}return{name:n}}var PT=(e,t,n,r,s)=>s.isOnAll?!1:!n&&s.isOnTouch?!(t||e):(n?r.isOnBlur:s.isOnBlur)?!e:(n?r.isOnChange:s.isOnChange)?e:!0,RT=(e,t)=>!Vo(V(e,t)).length&&Be(e,t);const kT={mode:Ot.onSubmit,reValidateMode:Ot.onChange,shouldFocusError:!0};function OT(e={}){let t={...kT,...e},n={submitCount:0,isDirty:!1,isLoading:Kt(t.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:t.errors||{},disabled:t.disabled||!1},r={},s=Fe(t.defaultValues)||Fe(t.values)?ot(t.defaultValues||t.values)||{}:{},i=t.shouldUnregister?{}:ot(s),o={action:!1,mount:!1,watch:!1},a={mount:new Set,disabled:new Set,unMount:new Set,array:new Set,watch:new Set},c,l=0;const u={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},d={values:_a(),array:_a(),state:_a()},f=Jd(t.mode),p=Jd(t.reValidateMode),m=t.criteriaMode===Ot.all,h=_=>P=>{clearTimeout(l),l=setTimeout(_,P)},g=async _=>{if(!t.disabled&&(u.isValid||_)){const P=t.resolver?ct((await A()).errors):await D(r,!0);P!==n.isValid&&d.state.next({isValid:P})}},v=(_,P)=>{!t.disabled&&(u.isValidating||u.validatingFields)&&((_||Array.from(a.mount)).forEach(O=>{O&&(P?xe(n.validatingFields,O,P):Be(n.validatingFields,O))}),d.state.next({validatingFields:n.validatingFields,isValidating:!ct(n.validatingFields)}))},b=(_,P=[],O,B,I=!0,F=!0)=>{if(B&&O&&!t.disabled){if(o.action=!0,F&&Array.isArray(V(r,_))){const Q=O(V(r,_),B.argA,B.argB);I&&xe(r,_,Q)}if(F&&Array.isArray(V(n.errors,_))){const Q=O(V(n.errors,_),B.argA,B.argB);I&&xe(n.errors,_,Q),RT(n.errors,_)}if(u.touchedFields&&F&&Array.isArray(V(n.touchedFields,_))){const Q=O(V(n.touchedFields,_),B.argA,B.argB);I&&xe(n.touchedFields,_,Q)}u.dirtyFields&&(n.dirtyFields=bs(s,i)),d.state.next({name:_,isDirty:j(_,P),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else xe(i,_,P)},w=(_,P)=>{xe(n.errors,_,P),d.state.next({errors:n.errors})},T=_=>{n.errors=_,d.state.next({errors:n.errors,isValid:!1})},S=(_,P,O,B)=>{const I=V(r,_);if(I){const F=V(i,_,De(O)?V(s,_):O);De(F)||B&&B.defaultChecked||P?xe(i,_,P?F:Ca(I._f)):re(_,F),o.mount&&g()}},E=(_,P,O,B,I)=>{let F=!1,Q=!1;const ae={name:_};if(!t.disabled){const Ve=!!(V(r,_)&&V(r,_)._f&&V(r,_)._f.disabled);if(!O||B){u.isDirty&&(Q=n.isDirty,n.isDirty=ae.isDirty=j(),F=Q!==ae.isDirty);const Ne=Ve||_n(V(s,_),P);Q=!!(!Ve&&V(n.dirtyFields,_)),Ne||Ve?Be(n.dirtyFields,_):xe(n.dirtyFields,_,!0),ae.dirtyFields=n.dirtyFields,F=F||u.dirtyFields&&Q!==!Ne}if(O){const Ne=V(n.touchedFields,_);Ne||(xe(n.touchedFields,_,O),ae.touchedFields=n.touchedFields,F=F||u.touchedFields&&Ne!==O)}F&&I&&d.state.next(ae)}return F?ae:{}},R=(_,P,O,B)=>{const I=V(n.errors,_),F=u.isValid&&Ct(P)&&n.isValid!==P;if(t.delayError&&O?(c=h(()=>w(_,O)),c(t.delayError)):(clearTimeout(l),c=null,O?xe(n.errors,_,O):Be(n.errors,_)),(O?!_n(I,O):I)||!ct(B)||F){const Q={...B,...F&&Ct(P)?{isValid:P}:{},errors:n.errors,name:_};n={...n,...Q},d.state.next(Q)}},A=async _=>{v(_,!0);const P=await t.resolver(i,t.context,CT(_||a.mount,r,t.criteriaMode,t.shouldUseNativeValidation));return v(_),P},N=async _=>{const{errors:P}=await A(_);if(_)for(const O of _){const B=V(P,O);B?xe(n.errors,O,B):Be(n.errors,O)}else n.errors=P;return P},D=async(_,P,O={valid:!0})=>{for(const B in _){const I=_[B];if(I){const{_f:F,...Q}=I;if(F){const ae=a.array.has(F.name),Ve=I._f&&AT(I._f);Ve&&u.validatingFields&&v([B],!0);const Ne=await of(I,a.disabled,i,m,t.shouldUseNativeValidation&&!P,ae);if(Ve&&u.validatingFields&&v([B]),Ne[F.name]&&(O.valid=!1,P))break;!P&&(V(Ne,F.name)?ae?wT(n.errors,Ne,F.name):xe(n.errors,F.name,Ne[F.name]):Be(n.errors,F.name))}!ct(Q)&&await D(Q,P,O)}}return O.valid},L=()=>{for(const _ of a.unMount){const P=V(r,_);P&&(P._f.refs?P._f.refs.every(O=>!Ta(O)):!Ta(P._f.ref))&&Ye(_)}a.unMount=new Set},j=(_,P)=>!t.disabled&&(_&&P&&xe(i,_,P),!_n(ge(),s)),$=(_,P,O)=>Um(_,a,{...o.mount?i:De(P)?s:Qt(_)?{[_]:P}:P},O,P),W=_=>Vo(V(o.mount?i:s,_,t.shouldUnregister?V(s,_,[]):[])),re=(_,P,O={})=>{const B=V(r,_);let I=P;if(B){const F=B._f;F&&(!F.disabled&&xe(i,_,Gm(P,F)),I=lo(F.ref)&&tt(P)?"":P,Hm(F.ref)?[...F.ref.options].forEach(Q=>Q.selected=I.includes(Q.value)):F.refs?vi(F.ref)?F.refs.length>1?F.refs.forEach(Q=>(!Q.defaultChecked||!Q.disabled)&&(Q.checked=Array.isArray(I)?!!I.find(ae=>ae===Q.value):I===Q.value)):F.refs[0]&&(F.refs[0].checked=!!I):F.refs.forEach(Q=>Q.checked=Q.value===I):Ml(F.ref)?F.ref.value="":(F.ref.value=I,F.ref.type||d.values.next({name:_,values:{...i}})))}(O.shouldDirty||O.shouldTouch)&&E(_,I,O.shouldTouch,O.shouldDirty,!0),O.shouldValidate&&me(_)},Y=(_,P,O)=>{for(const B in P){const I=P[B],F=`${_}.${B}`,Q=V(r,F);(a.array.has(_)||Fe(I)||Q&&!Q._f)&&!Qn(I)?Y(F,I,O):re(F,I,O)}},Z=(_,P,O={})=>{const B=V(r,_),I=a.array.has(_),F=ot(P);xe(i,_,F),I?(d.array.next({name:_,values:{...i}}),(u.isDirty||u.dirtyFields)&&O.shouldDirty&&d.state.next({name:_,dirtyFields:bs(s,i),isDirty:j(_,F)})):B&&!B._f&&!tt(F)?Y(_,F,O):re(_,F,O),ef(_,a)&&d.state.next({...n}),d.values.next({name:o.mount?_:void 0,values:{...i}})},q=async _=>{o.mount=!0;const P=_.target;let O=P.name,B=!0;const I=V(r,O),F=()=>P.type?Ca(I._f):Dm(_),Q=ae=>{B=Number.isNaN(ae)||Qn(ae)&&isNaN(ae.getTime())||_n(ae,V(i,O,ae))};if(I){let ae,Ve;const Ne=F(),Ut=_.type===co.BLUR||_.type===co.FOCUS_OUT,ps=!ET(I._f)&&!t.resolver&&!V(n.errors,O)&&!I._f.deps||PT(Ut,V(n.touchedFields,O),n.isSubmitted,p,f),$t=ef(O,a,Ut);xe(i,O,Ne),Ut?(I._f.onBlur&&I._f.onBlur(_),c&&c(0)):I._f.onChange&&I._f.onChange(_);const Wn=E(O,Ne,Ut,!1),ms=!ct(Wn)||$t;if(!Ut&&d.values.next({name:O,type:_.type,values:{...i}}),ps)return u.isValid&&(t.mode==="onBlur"&&Ut?g():Ut||g()),ms&&d.state.next({name:O,...$t?{}:Wn});if(!Ut&&$t&&d.state.next({...n}),t.resolver){const{errors:Hn}=await A([O]);if(Q(Ne),B){const Jo=cf(n.errors,r,O),Pi=cf(Hn,r,Jo.name||O);ae=Pi.error,O=Pi.name,Ve=ct(Hn)}}else v([O],!0),ae=(await of(I,a.disabled,i,m,t.shouldUseNativeValidation))[O],v([O]),Q(Ne),B&&(ae?Ve=!1:u.isValid&&(Ve=await D(r,!0)));B&&(I._f.deps&&me(I._f.deps),R(O,Ve,ae,Wn))}},se=(_,P)=>{if(V(n.errors,P)&&_.focus)return _.focus(),1},me=async(_,P={})=>{let O,B;const I=Ds(_);if(t.resolver){const F=await N(De(_)?_:I);O=ct(F),B=_?!I.some(Q=>V(F,Q)):O}else _?(B=(await Promise.all(I.map(async F=>{const Q=V(r,F);return await D(Q&&Q._f?{[F]:Q}:Q)}))).every(Boolean),!(!B&&!n.isValid)&&g()):B=O=await D(r);return d.state.next({...!Qt(_)||u.isValid&&O!==n.isValid?{}:{name:_},...t.resolver||!_?{isValid:O}:{},errors:n.errors}),P.shouldFocus&&!B&&Ms(r,se,_?I:a.mount),B},ge=_=>{const P={...o.mount?i:s};return De(_)?P:Qt(_)?V(P,_):_.map(O=>V(P,O))},He=(_,P)=>({invalid:!!V((P||n).errors,_),isDirty:!!V((P||n).dirtyFields,_),error:V((P||n).errors,_),isValidating:!!V(n.validatingFields,_),isTouched:!!V((P||n).touchedFields,_)}),dt=_=>{_&&Ds(_).forEach(P=>Be(n.errors,P)),d.state.next({errors:_?n.errors:{}})},qe=(_,P,O)=>{const B=(V(r,_,{_f:{}})._f||{}).ref,I=V(n.errors,_)||{},{ref:F,message:Q,type:ae,...Ve}=I;xe(n.errors,_,{...Ve,...P,ref:B}),d.state.next({name:_,errors:n.errors,isValid:!1}),O&&O.shouldFocus&&B&&B.focus&&B.focus()},At=(_,P)=>Kt(_)?d.values.subscribe({next:O=>_($(void 0,P),O)}):$(_,P,!0),Ye=(_,P={})=>{for(const O of _?Ds(_):a.mount)a.mount.delete(O),a.array.delete(O),P.keepValue||(Be(r,O),Be(i,O)),!P.keepError&&Be(n.errors,O),!P.keepDirty&&Be(n.dirtyFields,O),!P.keepTouched&&Be(n.touchedFields,O),!P.keepIsValidating&&Be(n.validatingFields,O),!t.shouldUnregister&&!P.keepDefaultValue&&Be(s,O);d.values.next({values:{...i}}),d.state.next({...n,...P.keepDirty?{isDirty:j()}:{}}),!P.keepIsValid&&g()},ue=({disabled:_,name:P,field:O,fields:B})=>{(Ct(_)&&o.mount||_||a.disabled.has(P))&&(_?a.disabled.add(P):a.disabled.delete(P),E(P,Ca(O?O._f:V(B,P)._f),!1,!1,!0))},ye=(_,P={})=>{let O=V(r,_);const B=Ct(P.disabled)||Ct(t.disabled);return xe(r,_,{...O||{},_f:{...O&&O._f?O._f:{ref:{name:_}},name:_,mount:!0,...P}}),a.mount.add(_),O?ue({field:O,disabled:Ct(P.disabled)?P.disabled:t.disabled,name:_}):S(_,!0,P.value),{...B?{disabled:P.disabled||t.disabled}:{},...t.progressive?{required:!!P.required,min:ws(P.min),max:ws(P.max),minLength:ws(P.minLength),maxLength:ws(P.maxLength),pattern:ws(P.pattern)}:{},name:_,onChange:q,onBlur:q,ref:I=>{if(I){ye(_,P),O=V(r,_);const F=De(I.value)&&I.querySelectorAll&&I.querySelectorAll("input,select,textarea")[0]||I,Q=TT(F),ae=O._f.refs||[];if(Q?ae.find(Ve=>Ve===F):F===O._f.ref)return;xe(r,_,{_f:{...O._f,...Q?{refs:[...ae.filter(Ta),F,...Array.isArray(V(s,_))?[{}]:[]],ref:{type:F.type,name:_}}:{ref:F}}}),S(_,!1,void 0,F)}else O=V(r,_,{}),O._f&&(O._f.mount=!1),(t.shouldUnregister||P.shouldUnregister)&&!(Mm(a.array,_)&&o.action)&&a.unMount.add(_)}}},Oe=()=>t.shouldFocusError&&Ms(r,se,a.mount),Ie=_=>{Ct(_)&&(d.state.next({disabled:_}),Ms(r,(P,O)=>{const B=V(r,O);B&&(P.disabled=B._f.disabled||_,Array.isArray(B._f.refs)&&B._f.refs.forEach(I=>{I.disabled=B._f.disabled||_}))},0,!1))},we=(_,P)=>async O=>{let B;O&&(O.preventDefault&&O.preventDefault(),O.persist&&O.persist());let I=ot(i);if(a.disabled.size)for(const F of a.disabled)xe(I,F,void 0);if(d.state.next({isSubmitting:!0}),t.resolver){const{errors:F,values:Q}=await A();n.errors=F,I=Q}else await D(r);if(Be(n.errors,"root"),ct(n.errors)){d.state.next({errors:{}});try{await _(I,O)}catch(F){B=F}}else P&&await P({...n.errors},O),Oe(),setTimeout(Oe);if(d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ct(n.errors)&&!B,submitCount:n.submitCount+1,errors:n.errors}),B)throw B},G=(_,P={})=>{V(r,_)&&(De(P.defaultValue)?Z(_,ot(V(s,_))):(Z(_,P.defaultValue),xe(s,_,ot(P.defaultValue))),P.keepTouched||Be(n.touchedFields,_),P.keepDirty||(Be(n.dirtyFields,_),n.isDirty=P.defaultValue?j(_,ot(V(s,_))):j()),P.keepError||(Be(n.errors,_),u.isValid&&g()),d.state.next({...n}))},de=(_,P={})=>{const O=_?ot(_):s,B=ot(O),I=ct(_),F=I?s:B;if(P.keepDefaultValues||(s=O),!P.keepValues){if(P.keepDirtyValues){const Q=new Set([...a.mount,...Object.keys(bs(s,i))]);for(const ae of Array.from(Q))V(n.dirtyFields,ae)?xe(F,ae,V(i,ae)):Z(ae,V(F,ae))}else{if(Nl&&De(_))for(const Q of a.mount){const ae=V(r,Q);if(ae&&ae._f){const Ve=Array.isArray(ae._f.refs)?ae._f.refs[0]:ae._f.ref;if(lo(Ve)){const Ne=Ve.closest("form");if(Ne){Ne.reset();break}}}}r={}}i=t.shouldUnregister?P.keepDefaultValues?ot(s):{}:ot(F),d.array.next({values:{...F}}),d.values.next({values:{...F}})}a={mount:P.keepDirtyValues?a.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!u.isValid||!!P.keepIsValid||!!P.keepDirtyValues,o.watch=!!t.shouldUnregister,d.state.next({submitCount:P.keepSubmitCount?n.submitCount:0,isDirty:I?!1:P.keepDirty?n.isDirty:!!(P.keepDefaultValues&&!_n(_,s)),isSubmitted:P.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:I?{}:P.keepDirtyValues?P.keepDefaultValues&&i?bs(s,i):n.dirtyFields:P.keepDefaultValues&&_?bs(s,_):P.keepDirty?n.dirtyFields:{},touchedFields:P.keepTouched?n.touchedFields:{},errors:P.keepErrors?n.errors:{},isSubmitSuccessful:P.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},Se=(_,P)=>de(Kt(_)?_(i):_,P);return{control:{register:ye,unregister:Ye,getFieldState:He,handleSubmit:we,setError:qe,_executeSchema:A,_getWatch:$,_getDirty:j,_updateValid:g,_removeUnmounted:L,_updateFieldArray:b,_updateDisabledField:ue,_getFieldArray:W,_reset:de,_resetDefaultValues:()=>Kt(t.defaultValues)&&t.defaultValues().then(_=>{Se(_,t.resetOptions),d.state.next({isLoading:!1})}),_updateFormState:_=>{n={...n,..._}},_disableForm:Ie,_subjects:d,_proxyFormState:u,_setErrors:T,get _fields(){return r},get _formValues(){return i},get _state(){return o},set _state(_){o=_},get _defaultValues(){return s},get _names(){return a},set _names(_){a=_},get _formState(){return n},set _formState(_){n=_},get _options(){return t},set _options(_){t={...t,..._}}},trigger:me,register:ye,handleSubmit:we,watch:At,setValue:Z,getValues:ge,reset:Se,resetField:G,clearErrors:dt,unregister:Ye,setError:qe,setFocus:(_,P={})=>{const O=V(r,_),B=O&&O._f;if(B){const I=B.refs?B.refs[0]:B.ref;I.focus&&(I.focus(),P.shouldSelect&&Kt(I.select)&&I.select())}},getFieldState:He}}function NT(e={}){const t=ve.useRef(void 0),n=ve.useRef(void 0),[r,s]=ve.useState({isDirty:!1,isValidating:!1,isLoading:Kt(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Kt(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...OT(e),formState:r});const i=t.current.control;return i._options=e,Dl({subject:i._subjects.state,next:o=>{Vm(o,i._proxyFormState,i._updateFormState,!0)&&s({...i._formState})}}),ve.useEffect(()=>i._disableForm(e.disabled),[i,e.disabled]),ve.useEffect(()=>{if(i._proxyFormState.isDirty){const o=i._getDirty();o!==r.isDirty&&i._subjects.state.next({isDirty:o})}},[i,r.isDirty]),ve.useEffect(()=>{e.values&&!_n(e.values,n.current)?(i._reset(e.values,i._options.resetOptions),n.current=e.values,s(o=>({...o}))):i._resetDefaultValues()},[e.values,i]),ve.useEffect(()=>{e.errors&&i._setErrors(e.errors)},[e.errors,i]),ve.useEffect(()=>{i._state.mount||(i._updateValid(),i._state.mount=!0),i._state.watch&&(i._state.watch=!1,i._subjects.state.next({...i._formState})),i._removeUnmounted()}),ve.useEffect(()=>{e.shouldUnregister&&i._subjects.values.next({values:i._getWatch()})},[e.shouldUnregister,i]),t.current.formState=Im(r,i),t.current}var jT="Label",Km=x.forwardRef((e,t)=>y.jsx(it.label,{...e,ref:t,onMouseDown:n=>{var s;n.target.closest("button, input, select, textarea")||((s=e.onMouseDown)==null||s.call(e,n),!n.defaultPrevented&&n.detail>1&&n.preventDefault())}}));Km.displayName=jT;var Qm=Km;const DT=Kc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),Xm=x.forwardRef(({className:e,...t},n)=>y.jsx(Qm,{ref:n,className:X(DT(),e),...t}));Xm.displayName=Qm.displayName;const Zk=gT,Ym=x.createContext({}),MT=({...e})=>y.jsx(Ym.Provider,{value:{name:e.name},children:y.jsx(bT,{...e})}),Uo=()=>{const e=x.useContext(Ym),t=x.useContext(Jm),{getFieldState:n,formState:r}=Bo(),s=n(e.name,r);if(!e)throw new Error("useFormField should be used within ");const{id:i}=t;return{id:i,name:e.name,formItemId:`${i}-form-item`,formDescriptionId:`${i}-form-item-description`,formMessageId:`${i}-form-item-message`,...s}},Jm=x.createContext({}),eg=x.forwardRef(({className:e,...t},n)=>{const r=x.useId();return y.jsx(Jm.Provider,{value:{id:r},children:y.jsx("div",{ref:n,className:X("space-y-2",e),...t})})});eg.displayName="FormItem";const tg=x.forwardRef(({className:e,...t},n)=>{const{error:r,formItemId:s}=Uo();return y.jsx(Xm,{ref:n,className:X(r&&"text-destructive",e),htmlFor:s,...t})});tg.displayName="FormLabel";const ng=x.forwardRef(({...e},t)=>{const{error:n,formItemId:r,formDescriptionId:s,formMessageId:i}=Uo();return y.jsx(rs,{ref:t,id:r,"aria-describedby":n?`${s} ${i}`:`${s}`,"aria-invalid":!!n,...e})});ng.displayName="FormControl";const FT=x.forwardRef(({className:e,...t},n)=>{const{formDescriptionId:r}=Uo();return y.jsx("p",{ref:n,id:r,className:X("text-[0.8rem] text-muted-foreground",e),...t})});FT.displayName="FormDescription";const rg=x.forwardRef(({className:e,children:t,...n},r)=>{const{error:s,formMessageId:i}=Uo(),o=s?String(s==null?void 0:s.message):t;return o?y.jsx("p",{ref:r,id:i,className:X("text-[0.8rem] font-medium text-destructive",e),...n,children:o}):null});rg.displayName="FormMessage";const oc=x.forwardRef(({className:e,type:t,...n},r)=>t!=="file"?y.jsx("input",{type:t,className:X("flex h-14 rounded-[2px] border p-4 focus:border-[3px] focus:outline-none focus:border-primary transition-all hover:border-on_surface border-outline bg-transparent text-base w-regular file:border-0 file:bg-secondary_container file:outline-none file:text-sm file:w-fit file:text-on_secondary_container file:font-medium placeholder:text-muted-foreground focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50",e),ref:r,...n}):y.jsxs("div",{className:"relative w-[160px] h-9 overflow-hidden !cursor-pointer",children:[y.jsx("input",{ref:r,accept:".pdf, .png, .jpeg, .jpg",type:t,className:X("h-9 absolute top-0 left-0 !cursor-pointer opacity-0 z-20 size-full"),...n}),y.jsxs("div",{className:"absolute rounded-[2px] cursor-pointer size-full flex items-center gap-4 px-3 py-2.5 top-0 left-0 bg-secondary_container",children:[y.jsx(Bx,{className:"cursor-pointer",size:16})," Upload file"]})]}));oc.displayName="Input";const sg=x.forwardRef(({className:e,...t},n)=>y.jsx("textarea",{className:X("flex min-h-[60px] w-full rounded-md border border-input bg-transparent px-3 py-2 text-base shadow-sm placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",e),ref:n,...t}));sg.displayName="Textarea";const Gk=({control:e,name:t,label:n,placeholder:r,error:s,type:i="text",className:o,disabled:a,textArea:c=!1,textDark:l,supporText:u,handleChange:d,onPrimary:f=!1})=>y.jsx(MT,{control:e,name:t,render:({field:p})=>y.jsxs(eg,{className:X(o,"flex flex-col w-full relative"),children:[y.jsx(tg,{className:X("text-xl",f&&"!text-on_primary",l?"text-on_surface":"text-on_surface_v"),children:n}),y.jsx(ng,{children:y.jsx(y.Fragment,{children:c?y.jsx(sg,{rows:3,...p,placeholder:r,className:X(s&&"border-[#BA1A1A]",f&&"border-primary_outline_reverse focus:border-white hover:border-white focus:border-1 text-on_primary")}):i!=="file"?y.jsx(oc,{...p,type:i,placeholder:r,disabled:a,className:X(s&&"border-[#BA1A1A]",f&&"border-primary_outline_reverse focus:border-white hover:border-white focus:border-1 text-on_primary")}):y.jsxs("div",{className:"relative",children:[y.jsx(oc,{type:"file",placeholder:r,onChange:m=>{var g;const h=((g=m.target.files)==null?void 0:g[0])||null;console.log("Выбранный файл:",h),p.onChange(h),d&&d(m)},disabled:a}),p.value&&y.jsxs("div",{className:"text-sm mt-2 text-gray-500 absolute top-8",children:["Выбранный файл: ",p.value.name]})]})})}),y.jsx(rg,{className:X("absolute -bottom-5 left-0 text-sm font-medium leading-[130%]",s&&f?"text-teritary_04":"text-[#BA1A1A]"),children:s?s.message:u})]})}),Kk=({className:e,delay:t=.15})=>y.jsxs(Ki.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0,transition:{delay:t}},className:X("flex flex-col gap-8 my-16",e),children:[y.jsx("h3",{className:"text-3xl text-center",children:"Форма успешно отправлена!"}),y.jsx(Me,{className:"w-fit mx-auto",to:"/",children:y.jsx(ut,{variant:"outline",children:"Вернуться на главную"})})]}),LT=({className:e,slides:t,active:n,scrollTo:r})=>y.jsx("div",{className:X("flex items-center justify-center gap-2",e),children:Array.from({length:t}).map((s,i)=>y.jsx("span",{onClick:()=>r==null?void 0:r(i),className:X(n===i?"dot-active":"dot")},i))}),IT=["top","right","bottom","left"],Dn=Math.min,ht=Math.max,ho=Math.round,Bi=Math.floor,Jt=e=>({x:e,y:e}),VT={left:"right",right:"left",bottom:"top",top:"bottom"},BT={start:"end",end:"start"};function ac(e,t,n){return ht(e,Dn(t,n))}function mn(e,t){return typeof e=="function"?e(t):e}function gn(e){return e.split("-")[0]}function cs(e){return e.split("-")[1]}function Ll(e){return e==="x"?"y":"x"}function Il(e){return e==="y"?"height":"width"}function Mn(e){return["top","bottom"].includes(gn(e))?"y":"x"}function Vl(e){return Ll(Mn(e))}function UT(e,t,n){n===void 0&&(n=!1);const r=cs(e),s=Vl(e),i=Il(s);let o=s==="x"?r===(n?"end":"start")?"right":"left":r==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=po(o)),[o,po(o)]}function $T(e){const t=po(e);return[cc(e),t,cc(t)]}function cc(e){return e.replace(/start|end/g,t=>BT[t])}function zT(e,t,n){const r=["left","right"],s=["right","left"],i=["top","bottom"],o=["bottom","top"];switch(e){case"top":case"bottom":return n?t?s:r:t?r:s;case"left":case"right":return t?i:o;default:return[]}}function WT(e,t,n,r){const s=cs(e);let i=zT(gn(e),n==="start",r);return s&&(i=i.map(o=>o+"-"+s),t&&(i=i.concat(i.map(cc)))),i}function po(e){return e.replace(/left|right|bottom|top/g,t=>VT[t])}function HT(e){return{top:0,right:0,bottom:0,left:0,...e}}function ig(e){return typeof e!="number"?HT(e):{top:e,right:e,bottom:e,left:e}}function mo(e){const{x:t,y:n,width:r,height:s}=e;return{width:r,height:s,top:n,left:t,right:t+r,bottom:n+s,x:t,y:n}}function lf(e,t,n){let{reference:r,floating:s}=e;const i=Mn(t),o=Vl(t),a=Il(o),c=gn(t),l=i==="y",u=r.x+r.width/2-s.width/2,d=r.y+r.height/2-s.height/2,f=r[a]/2-s[a]/2;let p;switch(c){case"top":p={x:u,y:r.y-s.height};break;case"bottom":p={x:u,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:d};break;case"left":p={x:r.x-s.width,y:d};break;default:p={x:r.x,y:r.y}}switch(cs(t)){case"start":p[o]-=f*(n&&l?-1:1);break;case"end":p[o]+=f*(n&&l?-1:1);break}return p}const qT=async(e,t,n)=>{const{placement:r="bottom",strategy:s="absolute",middleware:i=[],platform:o}=n,a=i.filter(Boolean),c=await(o.isRTL==null?void 0:o.isRTL(t));let l=await o.getElementRects({reference:e,floating:t,strategy:s}),{x:u,y:d}=lf(l,r,c),f=r,p={},m=0;for(let h=0;h({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:s,rects:i,platform:o,elements:a,middlewareData:c}=t,{element:l,padding:u=0}=mn(e,t)||{};if(l==null)return{};const d=ig(u),f={x:n,y:r},p=Vl(s),m=Il(p),h=await o.getDimensions(l),g=p==="y",v=g?"top":"left",b=g?"bottom":"right",w=g?"clientHeight":"clientWidth",T=i.reference[m]+i.reference[p]-f[p]-i.floating[m],S=f[p]-i.reference[p],E=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l));let R=E?E[w]:0;(!R||!await(o.isElement==null?void 0:o.isElement(E)))&&(R=a.floating[w]||i.floating[m]);const A=T/2-S/2,N=R/2-h[m]/2-1,D=Dn(d[v],N),L=Dn(d[b],N),j=D,$=R-h[m]-L,W=R/2-h[m]/2+A,re=ac(j,W,$),Y=!c.arrow&&cs(s)!=null&&W!==re&&i.reference[m]/2-(WW<=0)){var L,j;const W=(((L=i.flip)==null?void 0:L.index)||0)+1,re=R[W];if(re)return{data:{index:W,overflows:D},reset:{placement:re}};let Y=(j=D.filter(Z=>Z.overflows[0]<=0).sort((Z,q)=>Z.overflows[1]-q.overflows[1])[0])==null?void 0:j.placement;if(!Y)switch(p){case"bestFit":{var $;const Z=($=D.filter(q=>{if(E){const se=Mn(q.placement);return se===b||se==="y"}return!0}).map(q=>[q.placement,q.overflows.filter(se=>se>0).reduce((se,me)=>se+me,0)]).sort((q,se)=>q[1]-se[1])[0])==null?void 0:$[0];Z&&(Y=Z);break}case"initialPlacement":Y=a;break}if(s!==Y)return{reset:{placement:Y}}}return{}}}};function uf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function df(e){return IT.some(t=>e[t]>=0)}const KT=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:r="referenceHidden",...s}=mn(e,t);switch(r){case"referenceHidden":{const i=await zs(t,{...s,elementContext:"reference"}),o=uf(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:df(o)}}}case"escaped":{const i=await zs(t,{...s,altBoundary:!0}),o=uf(i,n.floating);return{data:{escapedOffsets:o,escaped:df(o)}}}default:return{}}}}};async function QT(e,t){const{placement:n,platform:r,elements:s}=e,i=await(r.isRTL==null?void 0:r.isRTL(s.floating)),o=gn(n),a=cs(n),c=Mn(n)==="y",l=["left","top"].includes(o)?-1:1,u=i&&c?-1:1,d=mn(t,e);let{mainAxis:f,crossAxis:p,alignmentAxis:m}=typeof d=="number"?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return a&&typeof m=="number"&&(p=a==="end"?m*-1:m),c?{x:p*u,y:f*l}:{x:f*l,y:p*u}}const XT=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:s,y:i,placement:o,middlewareData:a}=t,c=await QT(t,e);return o===((n=a.offset)==null?void 0:n.placement)&&(r=a.arrow)!=null&&r.alignmentOffset?{}:{x:s+c.x,y:i+c.y,data:{...c,placement:o}}}}},YT=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:s}=t,{mainAxis:i=!0,crossAxis:o=!1,limiter:a={fn:g=>{let{x:v,y:b}=g;return{x:v,y:b}}},...c}=mn(e,t),l={x:n,y:r},u=await zs(t,c),d=Mn(gn(s)),f=Ll(d);let p=l[f],m=l[d];if(i){const g=f==="y"?"top":"left",v=f==="y"?"bottom":"right",b=p+u[g],w=p-u[v];p=ac(b,p,w)}if(o){const g=d==="y"?"top":"left",v=d==="y"?"bottom":"right",b=m+u[g],w=m-u[v];m=ac(b,m,w)}const h=a.fn({...t,[f]:p,[d]:m});return{...h,data:{x:h.x-n,y:h.y-r,enabled:{[f]:i,[d]:o}}}}}},JT=function(e){return e===void 0&&(e={}),{options:e,fn(t){const{x:n,y:r,placement:s,rects:i,middlewareData:o}=t,{offset:a=0,mainAxis:c=!0,crossAxis:l=!0}=mn(e,t),u={x:n,y:r},d=Mn(s),f=Ll(d);let p=u[f],m=u[d];const h=mn(a,t),g=typeof h=="number"?{mainAxis:h,crossAxis:0}:{mainAxis:0,crossAxis:0,...h};if(c){const w=f==="y"?"height":"width",T=i.reference[f]-i.floating[w]+g.mainAxis,S=i.reference[f]+i.reference[w]-g.mainAxis;pS&&(p=S)}if(l){var v,b;const w=f==="y"?"width":"height",T=["top","left"].includes(gn(s)),S=i.reference[d]-i.floating[w]+(T&&((v=o.offset)==null?void 0:v[d])||0)+(T?0:g.crossAxis),E=i.reference[d]+i.reference[w]+(T?0:((b=o.offset)==null?void 0:b[d])||0)-(T?g.crossAxis:0);mE&&(m=E)}return{[f]:p,[d]:m}}}},eC=function(e){return e===void 0&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:s,rects:i,platform:o,elements:a}=t,{apply:c=()=>{},...l}=mn(e,t),u=await zs(t,l),d=gn(s),f=cs(s),p=Mn(s)==="y",{width:m,height:h}=i.floating;let g,v;d==="top"||d==="bottom"?(g=d,v=f===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(v=d,g=f==="end"?"top":"bottom");const b=h-u.top-u.bottom,w=m-u.left-u.right,T=Dn(h-u[g],b),S=Dn(m-u[v],w),E=!t.middlewareData.shift;let R=T,A=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(A=w),(r=t.middlewareData.shift)!=null&&r.enabled.y&&(R=b),E&&!f){const D=ht(u.left,0),L=ht(u.right,0),j=ht(u.top,0),$=ht(u.bottom,0);p?A=m-2*(D!==0||L!==0?D+L:ht(u.left,u.right)):R=h-2*(j!==0||$!==0?j+$:ht(u.top,u.bottom))}await c({...t,availableWidth:A,availableHeight:R});const N=await o.getDimensions(a.floating);return m!==N.width||h!==N.height?{reset:{rects:!0}}:{}}}};function $o(){return typeof window<"u"}function ls(e){return og(e)?(e.nodeName||"").toLowerCase():"#document"}function yt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function sn(e){var t;return(t=(og(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function og(e){return $o()?e instanceof Node||e instanceof yt(e).Node:!1}function Mt(e){return $o()?e instanceof Element||e instanceof yt(e).Element:!1}function tn(e){return $o()?e instanceof HTMLElement||e instanceof yt(e).HTMLElement:!1}function ff(e){return!$o()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof yt(e).ShadowRoot}function xi(e){const{overflow:t,overflowX:n,overflowY:r,display:s}=Ft(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(s)}function tC(e){return["table","td","th"].includes(ls(e))}function zo(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Bl(e){const t=Ul(),n=Mt(e)?Ft(e):e;return["transform","translate","scale","rotate","perspective"].some(r=>n[r]?n[r]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(r=>(n.willChange||"").includes(r))||["paint","layout","strict","content"].some(r=>(n.contain||"").includes(r))}function nC(e){let t=Fn(e);for(;tn(t)&&!Yr(t);){if(Bl(t))return t;if(zo(t))return null;t=Fn(t)}return null}function Ul(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function Yr(e){return["html","body","#document"].includes(ls(e))}function Ft(e){return yt(e).getComputedStyle(e)}function Wo(e){return Mt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Fn(e){if(ls(e)==="html")return e;const t=e.assignedSlot||e.parentNode||ff(e)&&e.host||sn(e);return ff(t)?t.host:t}function ag(e){const t=Fn(e);return Yr(t)?e.ownerDocument?e.ownerDocument.body:e.body:tn(t)&&xi(t)?t:ag(t)}function Ws(e,t,n){var r;t===void 0&&(t=[]),n===void 0&&(n=!0);const s=ag(e),i=s===((r=e.ownerDocument)==null?void 0:r.body),o=yt(s);if(i){const a=lc(o);return t.concat(o,o.visualViewport||[],xi(s)?s:[],a&&n?Ws(a):[])}return t.concat(s,Ws(s,[],n))}function lc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function cg(e){const t=Ft(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const s=tn(e),i=s?e.offsetWidth:n,o=s?e.offsetHeight:r,a=ho(n)!==i||ho(r)!==o;return a&&(n=i,r=o),{width:n,height:r,$:a}}function $l(e){return Mt(e)?e:e.contextElement}function jr(e){const t=$l(e);if(!tn(t))return Jt(1);const n=t.getBoundingClientRect(),{width:r,height:s,$:i}=cg(t);let o=(i?ho(n.width):n.width)/r,a=(i?ho(n.height):n.height)/s;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const rC=Jt(0);function lg(e){const t=yt(e);return!Ul()||!t.visualViewport?rC:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function sC(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==yt(e)?!1:t}function fr(e,t,n,r){t===void 0&&(t=!1),n===void 0&&(n=!1);const s=e.getBoundingClientRect(),i=$l(e);let o=Jt(1);t&&(r?Mt(r)&&(o=jr(r)):o=jr(e));const a=sC(i,n,r)?lg(i):Jt(0);let c=(s.left+a.x)/o.x,l=(s.top+a.y)/o.y,u=s.width/o.x,d=s.height/o.y;if(i){const f=yt(i),p=r&&Mt(r)?yt(r):r;let m=f,h=lc(m);for(;h&&r&&p!==m;){const g=jr(h),v=h.getBoundingClientRect(),b=Ft(h),w=v.left+(h.clientLeft+parseFloat(b.paddingLeft))*g.x,T=v.top+(h.clientTop+parseFloat(b.paddingTop))*g.y;c*=g.x,l*=g.y,u*=g.x,d*=g.y,c+=w,l+=T,m=yt(h),h=lc(m)}}return mo({width:u,height:d,x:c,y:l})}function zl(e,t){const n=Wo(e).scrollLeft;return t?t.left+n:fr(sn(e)).left+n}function ug(e,t,n){n===void 0&&(n=!1);const r=e.getBoundingClientRect(),s=r.left+t.scrollLeft-(n?0:zl(e,r)),i=r.top+t.scrollTop;return{x:s,y:i}}function iC(e){let{elements:t,rect:n,offsetParent:r,strategy:s}=e;const i=s==="fixed",o=sn(r),a=t?zo(t.floating):!1;if(r===o||a&&i)return n;let c={scrollLeft:0,scrollTop:0},l=Jt(1);const u=Jt(0),d=tn(r);if((d||!d&&!i)&&((ls(r)!=="body"||xi(o))&&(c=Wo(r)),tn(r))){const p=fr(r);l=jr(r),u.x=p.x+r.clientLeft,u.y=p.y+r.clientTop}const f=o&&!d&&!i?ug(o,c,!0):Jt(0);return{width:n.width*l.x,height:n.height*l.y,x:n.x*l.x-c.scrollLeft*l.x+u.x+f.x,y:n.y*l.y-c.scrollTop*l.y+u.y+f.y}}function oC(e){return Array.from(e.getClientRects())}function aC(e){const t=sn(e),n=Wo(e),r=e.ownerDocument.body,s=ht(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=ht(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let o=-n.scrollLeft+zl(e);const a=-n.scrollTop;return Ft(r).direction==="rtl"&&(o+=ht(t.clientWidth,r.clientWidth)-s),{width:s,height:i,x:o,y:a}}function cC(e,t){const n=yt(e),r=sn(e),s=n.visualViewport;let i=r.clientWidth,o=r.clientHeight,a=0,c=0;if(s){i=s.width,o=s.height;const l=Ul();(!l||l&&t==="fixed")&&(a=s.offsetLeft,c=s.offsetTop)}return{width:i,height:o,x:a,y:c}}function lC(e,t){const n=fr(e,!0,t==="fixed"),r=n.top+e.clientTop,s=n.left+e.clientLeft,i=tn(e)?jr(e):Jt(1),o=e.clientWidth*i.x,a=e.clientHeight*i.y,c=s*i.x,l=r*i.y;return{width:o,height:a,x:c,y:l}}function hf(e,t,n){let r;if(t==="viewport")r=cC(e,n);else if(t==="document")r=aC(sn(e));else if(Mt(t))r=lC(t,n);else{const s=lg(e);r={x:t.x-s.x,y:t.y-s.y,width:t.width,height:t.height}}return mo(r)}function dg(e,t){const n=Fn(e);return n===t||!Mt(n)||Yr(n)?!1:Ft(n).position==="fixed"||dg(n,t)}function uC(e,t){const n=t.get(e);if(n)return n;let r=Ws(e,[],!1).filter(a=>Mt(a)&&ls(a)!=="body"),s=null;const i=Ft(e).position==="fixed";let o=i?Fn(e):e;for(;Mt(o)&&!Yr(o);){const a=Ft(o),c=Bl(o);!c&&a.position==="fixed"&&(s=null),(i?!c&&!s:!c&&a.position==="static"&&!!s&&["absolute","fixed"].includes(s.position)||xi(o)&&!c&&dg(e,o))?r=r.filter(u=>u!==o):s=a,o=Fn(o)}return t.set(e,r),r}function dC(e){let{element:t,boundary:n,rootBoundary:r,strategy:s}=e;const o=[...n==="clippingAncestors"?zo(t)?[]:uC(t,this._c):[].concat(n),r],a=o[0],c=o.reduce((l,u)=>{const d=hf(t,u,s);return l.top=ht(d.top,l.top),l.right=Dn(d.right,l.right),l.bottom=Dn(d.bottom,l.bottom),l.left=ht(d.left,l.left),l},hf(t,a,s));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function fC(e){const{width:t,height:n}=cg(e);return{width:t,height:n}}function hC(e,t,n){const r=tn(t),s=sn(t),i=n==="fixed",o=fr(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const c=Jt(0);if(r||!r&&!i)if((ls(t)!=="body"||xi(s))&&(a=Wo(t)),r){const f=fr(t,!0,i,t);c.x=f.x+t.clientLeft,c.y=f.y+t.clientTop}else s&&(c.x=zl(s));const l=s&&!r&&!i?ug(s,a):Jt(0),u=o.left+a.scrollLeft-c.x-l.x,d=o.top+a.scrollTop-c.y-l.y;return{x:u,y:d,width:o.width,height:o.height}}function Aa(e){return Ft(e).position==="static"}function pf(e,t){if(!tn(e)||Ft(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return sn(e)===n&&(n=n.ownerDocument.body),n}function fg(e,t){const n=yt(e);if(zo(e))return n;if(!tn(e)){let s=Fn(e);for(;s&&!Yr(s);){if(Mt(s)&&!Aa(s))return s;s=Fn(s)}return n}let r=pf(e,t);for(;r&&tC(r)&&Aa(r);)r=pf(r,t);return r&&Yr(r)&&Aa(r)&&!Bl(r)?n:r||nC(e)||n}const pC=async function(e){const t=this.getOffsetParent||fg,n=this.getDimensions,r=await n(e.floating);return{reference:hC(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}};function mC(e){return Ft(e).direction==="rtl"}const gC={convertOffsetParentRelativeRectToViewportRelativeRect:iC,getDocumentElement:sn,getClippingRect:dC,getOffsetParent:fg,getElementRects:pC,getClientRects:oC,getDimensions:fC,getScale:jr,isElement:Mt,isRTL:mC};function hg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function yC(e,t){let n=null,r;const s=sn(e);function i(){var a;clearTimeout(r),(a=n)==null||a.disconnect(),n=null}function o(a,c){a===void 0&&(a=!1),c===void 0&&(c=1),i();const l=e.getBoundingClientRect(),{left:u,top:d,width:f,height:p}=l;if(a||t(),!f||!p)return;const m=Bi(d),h=Bi(s.clientWidth-(u+f)),g=Bi(s.clientHeight-(d+p)),v=Bi(u),w={rootMargin:-m+"px "+-h+"px "+-g+"px "+-v+"px",threshold:ht(0,Dn(1,c))||1};let T=!0;function S(E){const R=E[0].intersectionRatio;if(R!==c){if(!T)return o();R?o(!1,R):r=setTimeout(()=>{o(!1,1e-7)},1e3)}R===1&&!hg(l,e.getBoundingClientRect())&&o(),T=!1}try{n=new IntersectionObserver(S,{...w,root:s.ownerDocument})}catch{n=new IntersectionObserver(S,w)}n.observe(e)}return o(!0),i}function vC(e,t,n,r){r===void 0&&(r={});const{ancestorScroll:s=!0,ancestorResize:i=!0,elementResize:o=typeof ResizeObserver=="function",layoutShift:a=typeof IntersectionObserver=="function",animationFrame:c=!1}=r,l=$l(e),u=s||i?[...l?Ws(l):[],...Ws(t)]:[];u.forEach(v=>{s&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const d=l&&a?yC(l,n):null;let f=-1,p=null;o&&(p=new ResizeObserver(v=>{let[b]=v;b&&b.target===l&&p&&(p.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=p)==null||w.observe(t)})),n()}),l&&!c&&p.observe(l),p.observe(t));let m,h=c?fr(e):null;c&&g();function g(){const v=fr(e);h&&!hg(h,v)&&n(),h=v,m=requestAnimationFrame(g)}return n(),()=>{var v;u.forEach(b=>{s&&b.removeEventListener("scroll",n),i&&b.removeEventListener("resize",n)}),d==null||d(),(v=p)==null||v.disconnect(),p=null,c&&cancelAnimationFrame(m)}}const xC=XT,bC=YT,wC=GT,SC=eC,_C=KT,mf=ZT,TC=JT,CC=(e,t,n)=>{const r=new Map,s={platform:gC,...n},i={...s.platform,_c:r};return qT(e,t,{...s,platform:i})};var Xi=typeof document<"u"?x.useLayoutEffect:x.useEffect;function go(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString()===t.toString())return!0;let n,r,s;if(e&&t&&typeof e=="object"){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;r--!==0;)if(!go(e[r],t[r]))return!1;return!0}if(s=Object.keys(e),n=s.length,n!==Object.keys(t).length)return!1;for(r=n;r--!==0;)if(!{}.hasOwnProperty.call(t,s[r]))return!1;for(r=n;r--!==0;){const i=s[r];if(!(i==="_owner"&&e.$$typeof)&&!go(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function pg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function gf(e,t){const n=pg(e);return Math.round(t*n)/n}function Ea(e){const t=x.useRef(e);return Xi(()=>{t.current=e}),t}function AC(e){e===void 0&&(e={});const{placement:t="bottom",strategy:n="absolute",middleware:r=[],platform:s,elements:{reference:i,floating:o}={},transform:a=!0,whileElementsMounted:c,open:l}=e,[u,d]=x.useState({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[f,p]=x.useState(r);go(f,r)||p(r);const[m,h]=x.useState(null),[g,v]=x.useState(null),b=x.useCallback(q=>{q!==E.current&&(E.current=q,h(q))},[]),w=x.useCallback(q=>{q!==R.current&&(R.current=q,v(q))},[]),T=i||m,S=o||g,E=x.useRef(null),R=x.useRef(null),A=x.useRef(u),N=c!=null,D=Ea(c),L=Ea(s),j=Ea(l),$=x.useCallback(()=>{if(!E.current||!R.current)return;const q={placement:t,strategy:n,middleware:f};L.current&&(q.platform=L.current),CC(E.current,R.current,q).then(se=>{const me={...se,isPositioned:j.current!==!1};W.current&&!go(A.current,me)&&(A.current=me,lh.flushSync(()=>{d(me)}))})},[f,t,n,L,j]);Xi(()=>{l===!1&&A.current.isPositioned&&(A.current.isPositioned=!1,d(q=>({...q,isPositioned:!1})))},[l]);const W=x.useRef(!1);Xi(()=>(W.current=!0,()=>{W.current=!1}),[]),Xi(()=>{if(T&&(E.current=T),S&&(R.current=S),T&&S){if(D.current)return D.current(T,S,$);$()}},[T,S,$,D,N]);const re=x.useMemo(()=>({reference:E,floating:R,setReference:b,setFloating:w}),[b,w]),Y=x.useMemo(()=>({reference:T,floating:S}),[T,S]),Z=x.useMemo(()=>{const q={position:n,left:0,top:0};if(!Y.floating)return q;const se=gf(Y.floating,u.x),me=gf(Y.floating,u.y);return a?{...q,transform:"translate("+se+"px, "+me+"px)",...pg(Y.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:se,top:me}},[n,a,Y.floating,u.x,u.y]);return x.useMemo(()=>({...u,update:$,refs:re,elements:Y,floatingStyles:Z}),[u,$,re,Y,Z])}const EC=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:r,padding:s}=typeof e=="function"?e(n):e;return r&&t(r)?r.current!=null?mf({element:r.current,padding:s}).fn(n):{}:r?mf({element:r,padding:s}).fn(n):{}}}},PC=(e,t)=>({...xC(e),options:[e,t]}),RC=(e,t)=>({...bC(e),options:[e,t]}),kC=(e,t)=>({...TC(e),options:[e,t]}),OC=(e,t)=>({...wC(e),options:[e,t]}),NC=(e,t)=>({...SC(e),options:[e,t]}),jC=(e,t)=>({..._C(e),options:[e,t]}),DC=(e,t)=>({...EC(e),options:[e,t]});var MC="Arrow",mg=x.forwardRef((e,t)=>{const{children:n,width:r=10,height:s=5,...i}=e;return y.jsx(it.svg,{...i,ref:t,width:r,height:s,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:y.jsx("polygon",{points:"0,0 30,0 15,10"})})});mg.displayName=MC;var FC=mg;function LC(e){const[t,n]=x.useState(void 0);return ur(()=>{if(e){n({width:e.offsetWidth,height:e.offsetHeight});const r=new ResizeObserver(s=>{if(!Array.isArray(s)||!s.length)return;const i=s[0];let o,a;if("borderBoxSize"in i){const c=i.borderBoxSize,l=Array.isArray(c)?c[0]:c;o=l.inlineSize,a=l.blockSize}else o=e.offsetWidth,a=e.offsetHeight;n({width:o,height:a})});return r.observe(e,{box:"border-box"}),()=>r.unobserve(e)}else n(void 0)},[e]),t}var Wl="Popper",[gg,yg]=Vc(Wl),[IC,vg]=gg(Wl),xg=e=>{const{__scopePopper:t,children:n}=e,[r,s]=x.useState(null);return y.jsx(IC,{scope:t,anchor:r,onAnchorChange:s,children:n})};xg.displayName=Wl;var bg="PopperAnchor",wg=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:r,...s}=e,i=vg(bg,n),o=x.useRef(null),a=It(t,o);return x.useEffect(()=>{i.onAnchorChange((r==null?void 0:r.current)||o.current)}),r?null:y.jsx(it.div,{...s,ref:a})});wg.displayName=bg;var Hl="PopperContent",[VC,BC]=gg(Hl),Sg=x.forwardRef((e,t)=>{var ue,ye,Oe,Ie,we,G;const{__scopePopper:n,side:r="bottom",sideOffset:s=0,align:i="center",alignOffset:o=0,arrowPadding:a=0,avoidCollisions:c=!0,collisionBoundary:l=[],collisionPadding:u=0,sticky:d="partial",hideWhenDetached:f=!1,updatePositionStrategy:p="optimized",onPlaced:m,...h}=e,g=vg(Hl,n),[v,b]=x.useState(null),w=It(t,de=>b(de)),[T,S]=x.useState(null),E=LC(T),R=(E==null?void 0:E.width)??0,A=(E==null?void 0:E.height)??0,N=r+(i!=="center"?"-"+i:""),D=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},L=Array.isArray(l)?l:[l],j=L.length>0,$={padding:D,boundary:L.filter($C),altBoundary:j},{refs:W,floatingStyles:re,placement:Y,isPositioned:Z,middlewareData:q}=AC({strategy:"fixed",placement:N,whileElementsMounted:(...de)=>vC(...de,{animationFrame:p==="always"}),elements:{reference:g.anchor},middleware:[PC({mainAxis:s+A,alignmentAxis:o}),c&&RC({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?kC():void 0,...$}),c&&OC({...$}),NC({...$,apply:({elements:de,rects:Se,availableWidth:Ue,availableHeight:ft})=>{const{width:bt,height:_}=Se.reference,P=de.floating.style;P.setProperty("--radix-popper-available-width",`${Ue}px`),P.setProperty("--radix-popper-available-height",`${ft}px`),P.setProperty("--radix-popper-anchor-width",`${bt}px`),P.setProperty("--radix-popper-anchor-height",`${_}px`)}}),T&&DC({element:T,padding:a}),zC({arrowWidth:R,arrowHeight:A}),f&&jC({strategy:"referenceHidden",...$})]}),[se,me]=Cg(Y),ge=On(m);ur(()=>{Z&&(ge==null||ge())},[Z,ge]);const He=(ue=q.arrow)==null?void 0:ue.x,dt=(ye=q.arrow)==null?void 0:ye.y,qe=((Oe=q.arrow)==null?void 0:Oe.centerOffset)!==0,[At,Ye]=x.useState();return ur(()=>{v&&Ye(window.getComputedStyle(v).zIndex)},[v]),y.jsx("div",{ref:W.setFloating,"data-radix-popper-content-wrapper":"",style:{...re,transform:Z?re.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:At,"--radix-popper-transform-origin":[(Ie=q.transformOrigin)==null?void 0:Ie.x,(we=q.transformOrigin)==null?void 0:we.y].join(" "),...((G=q.hide)==null?void 0:G.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:y.jsx(VC,{scope:n,placedSide:se,onArrowChange:S,arrowX:He,arrowY:dt,shouldHideArrow:qe,children:y.jsx(it.div,{"data-side":se,"data-align":me,...h,ref:w,style:{...h.style,animation:Z?void 0:"none"}})})})});Sg.displayName=Hl;var _g="PopperArrow",UC={top:"bottom",right:"left",bottom:"top",left:"right"},Tg=x.forwardRef(function(t,n){const{__scopePopper:r,...s}=t,i=BC(_g,r),o=UC[i.placedSide];return y.jsx("span",{ref:i.onArrowChange,style:{position:"absolute",left:i.arrowX,top:i.arrowY,[o]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[i.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[i.placedSide],visibility:i.shouldHideArrow?"hidden":void 0},children:y.jsx(FC,{...s,ref:n,style:{...s.style,display:"block"}})})});Tg.displayName=_g;function $C(e){return e!==null}var zC=e=>({name:"transformOrigin",options:e,fn(t){var g,v,b;const{placement:n,rects:r,middlewareData:s}=t,o=((g=s.arrow)==null?void 0:g.centerOffset)!==0,a=o?0:e.arrowWidth,c=o?0:e.arrowHeight,[l,u]=Cg(n),d={start:"0%",center:"50%",end:"100%"}[u],f=(((v=s.arrow)==null?void 0:v.x)??0)+a/2,p=(((b=s.arrow)==null?void 0:b.y)??0)+c/2;let m="",h="";return l==="bottom"?(m=o?d:`${f}px`,h=`${-c}px`):l==="top"?(m=o?d:`${f}px`,h=`${r.floating.height+c}px`):l==="right"?(m=`${-c}px`,h=o?d:`${p}px`):l==="left"&&(m=`${r.floating.width+c}px`,h=o?d:`${p}px`),{data:{x:m,y:h}}}});function Cg(e){const[t,n="center"]=e.split("-");return[t,n]}var WC=xg,Ag=wg,HC=Sg,qC=Tg,ql="Popover",[Eg,Qk]=Vc(ql,[yg]),bi=yg(),[ZC,zn]=Eg(ql),Pg=e=>{const{__scopePopover:t,children:n,open:r,defaultOpen:s,onOpenChange:i,modal:o=!1}=e,a=bi(t),c=x.useRef(null),[l,u]=x.useState(!1),[d=!1,f]=dh({prop:r,defaultProp:s,onChange:i});return y.jsx(WC,{...a,children:y.jsx(ZC,{scope:t,contentId:zi(),triggerRef:c,open:d,onOpenChange:f,onOpenToggle:x.useCallback(()=>f(p=>!p),[f]),hasCustomAnchor:l,onCustomAnchorAdd:x.useCallback(()=>u(!0),[]),onCustomAnchorRemove:x.useCallback(()=>u(!1),[]),modal:o,children:n})})};Pg.displayName=ql;var Rg="PopoverAnchor",GC=x.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,s=zn(Rg,n),i=bi(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:a}=s;return x.useEffect(()=>(o(),()=>a()),[o,a]),y.jsx(Ag,{...i,...r,ref:t})});GC.displayName=Rg;var kg="PopoverTrigger",Og=x.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,s=zn(kg,n),i=bi(n),o=It(t,s.triggerRef),a=y.jsx(it.button,{type:"button","aria-haspopup":"dialog","aria-expanded":s.open,"aria-controls":s.contentId,"data-state":Fg(s.open),...r,ref:o,onClick:mt(e.onClick,s.onOpenToggle)});return s.hasCustomAnchor?a:y.jsx(Ag,{asChild:!0,...i,children:a})});Og.displayName=kg;var Zl="PopoverPortal",[KC,QC]=Eg(Zl,{forceMount:void 0}),Ng=e=>{const{__scopePopover:t,forceMount:n,children:r,container:s}=e,i=zn(Zl,t);return y.jsx(KC,{scope:t,forceMount:n,children:y.jsx(ss,{present:n||i.open,children:y.jsx($c,{asChild:!0,container:s,children:r})})})};Ng.displayName=Zl;var Jr="PopoverContent",jg=x.forwardRef((e,t)=>{const n=QC(Jr,e.__scopePopover),{forceMount:r=n.forceMount,...s}=e,i=zn(Jr,e.__scopePopover);return y.jsx(ss,{present:r||i.open,children:i.modal?y.jsx(XC,{...s,ref:t}):y.jsx(YC,{...s,ref:t})})});jg.displayName=Jr;var XC=x.forwardRef((e,t)=>{const n=zn(Jr,e.__scopePopover),r=x.useRef(null),s=It(t,r),i=x.useRef(!1);return x.useEffect(()=>{const o=r.current;if(o)return Th(o)},[]),y.jsx(zc,{as:rs,allowPinchZoom:!0,children:y.jsx(Dg,{...e,ref:s,trapFocus:n.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:mt(e.onCloseAutoFocus,o=>{var a;o.preventDefault(),i.current||(a=n.triggerRef.current)==null||a.focus()}),onPointerDownOutside:mt(e.onPointerDownOutside,o=>{const a=o.detail.originalEvent,c=a.button===0&&a.ctrlKey===!0,l=a.button===2||c;i.current=l},{checkForDefaultPrevented:!1}),onFocusOutside:mt(e.onFocusOutside,o=>o.preventDefault(),{checkForDefaultPrevented:!1})})})}),YC=x.forwardRef((e,t)=>{const n=zn(Jr,e.__scopePopover),r=x.useRef(!1),s=x.useRef(!1);return y.jsx(Dg,{...e,ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:i=>{var o,a;(o=e.onCloseAutoFocus)==null||o.call(e,i),i.defaultPrevented||(r.current||(a=n.triggerRef.current)==null||a.focus(),i.preventDefault()),r.current=!1,s.current=!1},onInteractOutside:i=>{var c,l;(c=e.onInteractOutside)==null||c.call(e,i),i.defaultPrevented||(r.current=!0,i.detail.originalEvent.type==="pointerdown"&&(s.current=!0));const o=i.target;((l=n.triggerRef.current)==null?void 0:l.contains(o))&&i.preventDefault(),i.detail.originalEvent.type==="focusin"&&s.current&&i.preventDefault()}})}),Dg=x.forwardRef((e,t)=>{const{__scopePopover:n,trapFocus:r,onOpenAutoFocus:s,onCloseAutoFocus:i,disableOutsidePointerEvents:o,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:l,onInteractOutside:u,...d}=e,f=zn(Jr,n),p=bi(n);return mh(),y.jsx(Uc,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:s,onUnmountAutoFocus:i,children:y.jsx(Bc,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>f.onOpenChange(!1),children:y.jsx(HC,{"data-state":Fg(f.open),role:"dialog",id:f.contentId,...p,...d,ref:t,style:{...d.style,"--radix-popover-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-popover-content-available-width":"var(--radix-popper-available-width)","--radix-popover-content-available-height":"var(--radix-popper-available-height)","--radix-popover-trigger-width":"var(--radix-popper-anchor-width)","--radix-popover-trigger-height":"var(--radix-popper-anchor-height)"}})})})}),Mg="PopoverClose",JC=x.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,s=zn(Mg,n);return y.jsx(it.button,{type:"button",...r,ref:t,onClick:mt(e.onClick,()=>s.onOpenChange(!1))})});JC.displayName=Mg;var eA="PopoverArrow",tA=x.forwardRef((e,t)=>{const{__scopePopover:n,...r}=e,s=bi(n);return y.jsx(qC,{...s,...r,ref:t})});tA.displayName=eA;function Fg(e){return e?"open":"closed"}var nA=Pg,rA=Og,sA=Ng,Lg=jg;const Ig=nA,Vg=rA,Gl=x.forwardRef(({className:e,align:t="center",sideOffset:n=4,...r},s)=>y.jsx(sA,{children:y.jsx(Lg,{ref:s,align:t,sideOffset:n,className:X("z-50 w-32 rounded-[2px] s bg-white p-4 text-popover-foreground drop-shadow-md outline-none data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",e),...r})}));Gl.displayName=Lg.displayName;const iA=[{lang:pt.RU},{lang:pt.EN}],yf=({className:e,light:t=!1})=>{const n=Le(o=>o.lang),r=Le(o=>o.setLang),[s,i]=x.useState(!1);return y.jsxs(Ig,{open:s,onOpenChange:()=>i(!s),children:[y.jsxs(Vg,{className:X("flex text-white items-center gap-2",t?"text-white":"text-black",e),children:[y.jsx("img",{src:n===pt.RU?"/ru.svg":"/english.svg",alt:""}),n===pt.RU?"Ру":"En",y.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.23021 8.01443C4.35919 7.70304 4.66305 7.5 5.00011 7.5H15.0001C15.3372 7.5 15.641 7.70304 15.77 8.01443C15.899 8.32583 15.8277 8.68426 15.5894 8.92259L10.5894 13.9226C10.2639 14.248 9.73629 14.248 9.41085 13.9226L4.41085 8.92259C4.17252 8.68426 4.10122 8.32583 4.23021 8.01443ZM7.01195 9.16667L10.0001 12.1548L12.9883 9.16667H7.01195Z",fill:t?"#fff":"#000"})})]}),y.jsx(Gl,{className:"flex flex-col gap-6",children:iA.filter(o=>o.lang!==n).map((o,a)=>y.jsxs("div",{onClick:()=>{r(o.lang),i(!1)},className:"flex gap-3 py-1 items-center cursor-pointer",children:[y.jsx("img",{src:o.lang===pt.RU?"/ru.svg":"/english.svg",alt:"flag"}),y.jsx("h5",{children:o.lang===pt.RU?"Русский":"English"})]},a))})]})},oA=Uh,aA=$h,cA=zh,Bg=x.forwardRef(({className:e,...t},n)=>y.jsx(Ro,{ref:n,className:X("fixed inset-0 z-50 bg-black/80 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0",e),...t}));Bg.displayName=Ro.displayName;const Ug=x.forwardRef(({className:e,children:t,...n},r)=>y.jsxs(cA,{children:[y.jsx(Bg,{}),y.jsxs(ko,{ref:r,className:X("fixed left-[50%] top-[50%] z-50 grid 2xl:w-[40%] lg:w-1/2 w-[70%] translate-x-[-50%] translate-y-[-50%] gap-4 border bg-background md:p-6 shadow-lg duration-200 data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%] data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%] sm:rounded-lg",e),...n,children:[t,y.jsxs(Gc,{className:"absolute right-4 top-4 rounded-sm opacity-70 ring-offset-background transition-opacity hover:opacity-100 disabled:pointer-events-none data-[state=open]:bg-accent data-[state=open]:text-muted-foreground",children:[y.jsx(Gh,{className:"size-6"}),y.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Ug.displayName=ko.displayName;const lA=x.forwardRef(({className:e,...t},n)=>y.jsx(Oo,{ref:n,className:X("text-lg font-semibold leading-none tracking-tight",e),...t}));lA.displayName=Oo.displayName;const uA=x.forwardRef(({className:e,...t},n)=>y.jsx(No,{ref:n,className:X("text-sm text-muted-foreground",e),...t}));uA.displayName=No.displayName;const vf=(e,t,n)=>{if(e&&"reportValidity"in e){const r=V(n,t);e.setCustomValidity(r&&r.message||""),e.reportValidity()}},$g=(e,t)=>{for(const n in t.fields){const r=t.fields[n];r&&r.ref&&"reportValidity"in r.ref?vf(r.ref,n,e):r.refs&&r.refs.forEach(s=>vf(s,n,e))}},dA=(e,t)=>{t.shouldUseNativeValidation&&$g(e,t);const n={};for(const r in e){const s=V(t.fields,r),i=Object.assign(e[r]||{},{ref:s&&s.ref});if(fA(t.names||Object.keys(e),r)){const o=Object.assign({},V(n,r));xe(o,"root",i),xe(n,r,o)}else xe(n,r,i)}return n},fA=(e,t)=>e.some(n=>n.startsWith(t+"."));var hA=function(e,t){for(var n={};e.length;){var r=e[0],s=r.code,i=r.message,o=r.path.join(".");if(!n[o])if("unionErrors"in r){var a=r.unionErrors[0].errors[0];n[o]={message:a.message,type:a.code}}else n[o]={message:i,type:s};if("unionErrors"in r&&r.unionErrors.forEach(function(u){return u.errors.forEach(function(d){return e.push(d)})}),t){var c=n[o].types,l=c&&c[r.code];n[o]=$m(o,t,n,s,l?[].concat(l,r.message):r.message)}e.shift()}return n},pA=function(e,t,n){return n===void 0&&(n={}),function(r,s,i){try{return Promise.resolve(function(o,a){try{var c=Promise.resolve(e[n.mode==="sync"?"parse":"parseAsync"](r,t)).then(function(l){return i.shouldUseNativeValidation&&$g({},i),{errors:{},values:n.raw?r:l}})}catch(l){return a(l)}return c&&c.then?c.then(void 0,a):c}(0,function(o){if(function(a){return Array.isArray(a==null?void 0:a.errors)}(o))return{values:{},errors:dA(hA(o.errors,!i.shouldUseNativeValidation&&i.criteriaMode==="all"),i)};throw o}))}catch(o){return Promise.reject(o)}}},pe;(function(e){e.assertEqual=s=>s;function t(s){}e.assertIs=t;function n(s){throw new Error}e.assertNever=n,e.arrayToEnum=s=>{const i={};for(const o of s)i[o]=o;return i},e.getValidEnumValues=s=>{const i=e.objectKeys(s).filter(a=>typeof s[s[a]]!="number"),o={};for(const a of i)o[a]=s[a];return e.objectValues(o)},e.objectValues=s=>e.objectKeys(s).map(function(i){return s[i]}),e.objectKeys=typeof Object.keys=="function"?s=>Object.keys(s):s=>{const i=[];for(const o in s)Object.prototype.hasOwnProperty.call(s,o)&&i.push(o);return i},e.find=(s,i)=>{for(const o of s)if(i(o))return o},e.isInteger=typeof Number.isInteger=="function"?s=>Number.isInteger(s):s=>typeof s=="number"&&isFinite(s)&&Math.floor(s)===s;function r(s,i=" | "){return s.map(o=>typeof o=="string"?`'${o}'`:o).join(i)}e.joinValues=r,e.jsonStringifyReplacer=(s,i)=>typeof i=="bigint"?i.toString():i})(pe||(pe={}));var uc;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(uc||(uc={}));const z=pe.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),un=e=>{switch(typeof e){case"undefined":return z.undefined;case"string":return z.string;case"number":return isNaN(e)?z.nan:z.number;case"boolean":return z.boolean;case"function":return z.function;case"bigint":return z.bigint;case"symbol":return z.symbol;case"object":return Array.isArray(e)?z.array:e===null?z.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?z.promise:typeof Map<"u"&&e instanceof Map?z.map:typeof Set<"u"&&e instanceof Set?z.set:typeof Date<"u"&&e instanceof Date?z.date:z.object;default:return z.unknown}},M=pe.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]),mA=e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:");class vt extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=r=>{this.issues=[...this.issues,r]},this.addIssues=(r=[])=>{this.issues=[...this.issues,...r]};const n=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,n):this.__proto__=n,this.name="ZodError",this.issues=t}format(t){const n=t||function(i){return i.message},r={_errors:[]},s=i=>{for(const o of i.issues)if(o.code==="invalid_union")o.unionErrors.map(s);else if(o.code==="invalid_return_type")s(o.returnTypeError);else if(o.code==="invalid_arguments")s(o.argumentsError);else if(o.path.length===0)r._errors.push(n(o));else{let a=r,c=0;for(;cn.message){const n={},r=[];for(const s of this.issues)s.path.length>0?(n[s.path[0]]=n[s.path[0]]||[],n[s.path[0]].push(t(s))):r.push(t(s));return{formErrors:r,fieldErrors:n}}get formErrors(){return this.flatten()}}vt.create=e=>new vt(e);const es=(e,t)=>{let n;switch(e.code){case M.invalid_type:e.received===z.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case M.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,pe.jsonStringifyReplacer)}`;break;case M.unrecognized_keys:n=`Unrecognized key(s) in object: ${pe.joinValues(e.keys,", ")}`;break;case M.invalid_union:n="Invalid input";break;case M.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${pe.joinValues(e.options)}`;break;case M.invalid_enum_value:n=`Invalid enum value. Expected ${pe.joinValues(e.options)}, received '${e.received}'`;break;case M.invalid_arguments:n="Invalid function arguments";break;case M.invalid_return_type:n="Invalid function return type";break;case M.invalid_date:n="Invalid date";break;case M.invalid_string:typeof e.validation=="object"?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,typeof e.validation.position=="number"&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:pe.assertNever(e.validation):e.validation!=="regex"?n=`Invalid ${e.validation}`:n="Invalid";break;case M.too_small:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:n="Invalid input";break;case M.too_big:e.type==="array"?n=`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:e.type==="string"?n=`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:e.type==="number"?n=`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="bigint"?n=`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:e.type==="date"?n=`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:n="Invalid input";break;case M.custom:n="Invalid input";break;case M.invalid_intersection_types:n="Intersection results could not be merged";break;case M.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case M.not_finite:n="Number must be finite";break;default:n=t.defaultError,pe.assertNever(e)}return{message:n}};let zg=es;function gA(e){zg=e}function yo(){return zg}const vo=e=>{const{data:t,path:n,errorMaps:r,issueData:s}=e,i=[...n,...s.path||[]],o={...s,path:i};if(s.message!==void 0)return{...s,path:i,message:s.message};let a="";const c=r.filter(l=>!!l).slice().reverse();for(const l of c)a=l(o,{data:t,defaultError:a}).message;return{...s,path:i,message:a}},yA=[];function U(e,t){const n=yo(),r=vo({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===es?void 0:es].filter(s=>!!s)});e.common.issues.push(r)}class Xe{constructor(){this.value="valid"}dirty(){this.value==="valid"&&(this.value="dirty")}abort(){this.value!=="aborted"&&(this.value="aborted")}static mergeArray(t,n){const r=[];for(const s of n){if(s.status==="aborted")return ne;s.status==="dirty"&&t.dirty(),r.push(s.value)}return{status:t.value,value:r}}static async mergeObjectAsync(t,n){const r=[];for(const s of n){const i=await s.key,o=await s.value;r.push({key:i,value:o})}return Xe.mergeObjectSync(t,r)}static mergeObjectSync(t,n){const r={};for(const s of n){const{key:i,value:o}=s;if(i.status==="aborted"||o.status==="aborted")return ne;i.status==="dirty"&&t.dirty(),o.status==="dirty"&&t.dirty(),i.value!=="__proto__"&&(typeof o.value<"u"||s.alwaysSet)&&(r[i.value]=o.value)}return{status:t.value,value:r}}}const ne=Object.freeze({status:"aborted"}),kr=e=>({status:"dirty",value:e}),rt=e=>({status:"valid",value:e}),dc=e=>e.status==="aborted",fc=e=>e.status==="dirty",hr=e=>e.status==="valid",Hs=e=>typeof Promise<"u"&&e instanceof Promise;function xo(e,t,n,r){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return t.get(e)}function Wg(e,t,n,r,s){if(typeof t=="function"?e!==t||!0:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return t.set(e,n),n}var K;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(K||(K={}));var As,Es;class nn{constructor(t,n,r,s){this._cachedPath=[],this.parent=t,this.data=n,this._path=r,this._key=s}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const xf=(e,t)=>{if(hr(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const n=new vt(e.common.issues);return this._error=n,this._error}}};function oe(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:s}=e;if(t&&(n||r))throw new Error(`Can't use "invalid_type_error" or "required_error" in conjunction with custom error map.`);return t?{errorMap:t,description:s}:{errorMap:(o,a)=>{var c,l;const{message:u}=e;return o.code==="invalid_enum_value"?{message:u??a.defaultError}:typeof a.data>"u"?{message:(c=u??r)!==null&&c!==void 0?c:a.defaultError}:o.code!=="invalid_type"?{message:a.defaultError}:{message:(l=u??n)!==null&&l!==void 0?l:a.defaultError}},description:s}}class le{get description(){return this._def.description}_getType(t){return un(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:un(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Xe,ctx:{common:t.parent.common,data:t.data,parsedType:un(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(Hs(n))throw new Error("Synchronous parse encountered promise.");return n}_parseAsync(t){const n=this._parse(t);return Promise.resolve(n)}parse(t,n){const r=this.safeParse(t,n);if(r.success)return r.data;throw r.error}safeParse(t,n){var r;const s={common:{issues:[],async:(r=n==null?void 0:n.async)!==null&&r!==void 0?r:!1,contextualErrorMap:n==null?void 0:n.errorMap},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:un(t)},i=this._parseSync({data:t,path:s.path,parent:s});return xf(s,i)}"~validate"(t){var n,r;const s={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:un(t)};if(!this["~standard"].async)try{const i=this._parseSync({data:t,path:[],parent:s});return hr(i)?{value:i.value}:{issues:s.common.issues}}catch(i){!((r=(n=i==null?void 0:i.message)===null||n===void 0?void 0:n.toLowerCase())===null||r===void 0)&&r.includes("encountered")&&(this["~standard"].async=!0),s.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:s}).then(i=>hr(i)?{value:i.value}:{issues:s.common.issues})}async parseAsync(t,n){const r=await this.safeParseAsync(t,n);if(r.success)return r.data;throw r.error}async safeParseAsync(t,n){const r={common:{issues:[],contextualErrorMap:n==null?void 0:n.errorMap,async:!0},path:(n==null?void 0:n.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:un(t)},s=this._parse({data:t,path:r.path,parent:r}),i=await(Hs(s)?s:Promise.resolve(s));return xf(r,i)}refine(t,n){const r=s=>typeof n=="string"||typeof n>"u"?{message:n}:typeof n=="function"?n(s):n;return this._refinement((s,i)=>{const o=t(s),a=()=>i.addIssue({code:M.custom,...r(s)});return typeof Promise<"u"&&o instanceof Promise?o.then(c=>c?!0:(a(),!1)):o?!0:(a(),!1)})}refinement(t,n){return this._refinement((r,s)=>t(r)?!0:(s.addIssue(typeof n=="function"?n(r,s):n),!1))}_refinement(t){return new Lt({schema:this,typeName:ee.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:n=>this["~validate"](n)}}optional(){return en.create(this,this._def)}nullable(){return Bn.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return jt.create(this)}promise(){return ns.create(this,this._def)}or(t){return Ks.create([this,t],this._def)}and(t){return Qs.create(this,t,this._def)}transform(t){return new Lt({...oe(this._def),schema:this,typeName:ee.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new ti({...oe(this._def),innerType:this,defaultValue:n,typeName:ee.ZodDefault})}brand(){return new Kl({typeName:ee.ZodBranded,type:this,...oe(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new ni({...oe(this._def),innerType:this,catchValue:n,typeName:ee.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return wi.create(this,t)}readonly(){return ri.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const vA=/^c[^\s-]{8,}$/i,xA=/^[0-9a-z]+$/,bA=/^[0-9A-HJKMNP-TV-Z]{26}$/i,wA=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,SA=/^[a-z0-9_-]{21}$/i,_A=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,TA=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-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\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",jA=new RegExp(`^${Hg}$`);function qg(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:e.precision==null&&(t=`${t}(\\.\\d+)?`),t}function DA(e){return new RegExp(`^${qg(e)}$`)}function Zg(e){let t=`${Hg}T${qg(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function MA(e,t){return!!((t==="v4"||!t)&&EA.test(e)||(t==="v6"||!t)&&RA.test(e))}function FA(e,t){if(!_A.test(e))return!1;try{const[n]=e.split("."),r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),s=JSON.parse(atob(r));return!(typeof s!="object"||s===null||!s.typ||!s.alg||t&&s.alg!==t)}catch{return!1}}function LA(e,t){return!!((t==="v4"||!t)&&PA.test(e)||(t==="v6"||!t)&&kA.test(e))}class Nt extends le{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==z.string){const i=this._getOrReturnCtx(t);return U(i,{code:M.invalid_type,expected:z.string,received:i.parsedType}),ne}const r=new Xe;let s;for(const i of this._def.checks)if(i.kind==="min")t.data.lengthi.value&&(s=this._getOrReturnCtx(t,s),U(s,{code:M.too_big,maximum:i.value,type:"string",inclusive:!0,exact:!1,message:i.message}),r.dirty());else if(i.kind==="length"){const o=t.data.length>i.value,a=t.data.lengtht.test(s),{validation:n,code:M.invalid_string,...K.errToObj(r)})}_addCheck(t){return new Nt({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...K.errToObj(t)})}url(t){return this._addCheck({kind:"url",...K.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...K.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...K.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...K.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...K.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...K.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...K.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...K.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...K.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...K.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...K.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...K.errToObj(t)})}datetime(t){var n,r;return typeof t=="string"?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,offset:(n=t==null?void 0:t.offset)!==null&&n!==void 0?n:!1,local:(r=t==null?void 0:t.local)!==null&&r!==void 0?r:!1,...K.errToObj(t==null?void 0:t.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return typeof t=="string"?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:typeof(t==null?void 0:t.precision)>"u"?null:t==null?void 0:t.precision,...K.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...K.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...K.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...K.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...K.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...K.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...K.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...K.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...K.errToObj(n)})}nonempty(t){return this.min(1,K.errToObj(t))}trim(){return new Nt({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Nt({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Nt({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>t.kind==="datetime")}get isDate(){return!!this._def.checks.find(t=>t.kind==="date")}get isTime(){return!!this._def.checks.find(t=>t.kind==="time")}get isDuration(){return!!this._def.checks.find(t=>t.kind==="duration")}get isEmail(){return!!this._def.checks.find(t=>t.kind==="email")}get isURL(){return!!this._def.checks.find(t=>t.kind==="url")}get isEmoji(){return!!this._def.checks.find(t=>t.kind==="emoji")}get isUUID(){return!!this._def.checks.find(t=>t.kind==="uuid")}get isNANOID(){return!!this._def.checks.find(t=>t.kind==="nanoid")}get isCUID(){return!!this._def.checks.find(t=>t.kind==="cuid")}get isCUID2(){return!!this._def.checks.find(t=>t.kind==="cuid2")}get isULID(){return!!this._def.checks.find(t=>t.kind==="ulid")}get isIP(){return!!this._def.checks.find(t=>t.kind==="ip")}get isCIDR(){return!!this._def.checks.find(t=>t.kind==="cidr")}get isBase64(){return!!this._def.checks.find(t=>t.kind==="base64")}get isBase64url(){return!!this._def.checks.find(t=>t.kind==="base64url")}get minLength(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxLength(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new Nt({checks:[],typeName:ee.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...oe(e)})};function IA(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,s=n>r?n:r,i=parseInt(e.toFixed(s).replace(".","")),o=parseInt(t.toFixed(s).replace(".",""));return i%o/Math.pow(10,s)}class Ln extends le{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==z.number){const i=this._getOrReturnCtx(t);return U(i,{code:M.invalid_type,expected:z.number,received:i.parsedType}),ne}let r;const s=new Xe;for(const i of this._def.checks)i.kind==="int"?pe.isInteger(t.data)||(r=this._getOrReturnCtx(t,r),U(r,{code:M.invalid_type,expected:"integer",received:"float",message:i.message}),s.dirty()):i.kind==="min"?(i.inclusive?t.datai.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),U(r,{code:M.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),s.dirty()):i.kind==="multipleOf"?IA(t.data,i.value)!==0&&(r=this._getOrReturnCtx(t,r),U(r,{code:M.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):i.kind==="finite"?Number.isFinite(t.data)||(r=this._getOrReturnCtx(t,r),U(r,{code:M.not_finite,message:i.message}),s.dirty()):pe.assertNever(i);return{status:s.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,K.toString(n))}gt(t,n){return this.setLimit("min",t,!1,K.toString(n))}lte(t,n){return this.setLimit("max",t,!0,K.toString(n))}lt(t,n){return this.setLimit("max",t,!1,K.toString(n))}setLimit(t,n,r,s){return new Ln({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:K.toString(s)}]})}_addCheck(t){return new Ln({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:K.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:K.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:K.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:K.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:K.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:K.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:K.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:K.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:K.toString(t)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuet.kind==="int"||t.kind==="multipleOf"&&pe.isInteger(t.value))}get isFinite(){let t=null,n=null;for(const r of this._def.checks){if(r.kind==="finite"||r.kind==="int"||r.kind==="multipleOf")return!0;r.kind==="min"?(n===null||r.value>n)&&(n=r.value):r.kind==="max"&&(t===null||r.valuenew Ln({checks:[],typeName:ee.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...oe(e)});class In extends le{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==z.bigint)return this._getInvalidInput(t);let r;const s=new Xe;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.datai.value:t.data>=i.value)&&(r=this._getOrReturnCtx(t,r),U(r,{code:M.too_big,type:"bigint",maximum:i.value,inclusive:i.inclusive,message:i.message}),s.dirty()):i.kind==="multipleOf"?t.data%i.value!==BigInt(0)&&(r=this._getOrReturnCtx(t,r),U(r,{code:M.not_multiple_of,multipleOf:i.value,message:i.message}),s.dirty()):pe.assertNever(i);return{status:s.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return U(n,{code:M.invalid_type,expected:z.bigint,received:n.parsedType}),ne}gte(t,n){return this.setLimit("min",t,!0,K.toString(n))}gt(t,n){return this.setLimit("min",t,!1,K.toString(n))}lte(t,n){return this.setLimit("max",t,!0,K.toString(n))}lt(t,n){return this.setLimit("max",t,!1,K.toString(n))}setLimit(t,n,r,s){return new In({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:r,message:K.toString(s)}]})}_addCheck(t){return new In({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:K.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:K.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:K.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:K.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:K.toString(n)})}get minValue(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t}get maxValue(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.value{var t;return new In({checks:[],typeName:ee.ZodBigInt,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...oe(e)})};class qs extends le{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==z.boolean){const r=this._getOrReturnCtx(t);return U(r,{code:M.invalid_type,expected:z.boolean,received:r.parsedType}),ne}return rt(t.data)}}qs.create=e=>new qs({typeName:ee.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...oe(e)});class pr extends le{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==z.date){const i=this._getOrReturnCtx(t);return U(i,{code:M.invalid_type,expected:z.date,received:i.parsedType}),ne}if(isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return U(i,{code:M.invalid_date}),ne}const r=new Xe;let s;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()i.value&&(s=this._getOrReturnCtx(t,s),U(s,{code:M.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),r.dirty()):pe.assertNever(i);return{status:r.value,value:new Date(t.data.getTime())}}_addCheck(t){return new pr({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:K.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:K.toString(n)})}get minDate(){let t=null;for(const n of this._def.checks)n.kind==="min"&&(t===null||n.value>t)&&(t=n.value);return t!=null?new Date(t):null}get maxDate(){let t=null;for(const n of this._def.checks)n.kind==="max"&&(t===null||n.valuenew pr({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:ee.ZodDate,...oe(e)});class bo extends le{_parse(t){if(this._getType(t)!==z.symbol){const r=this._getOrReturnCtx(t);return U(r,{code:M.invalid_type,expected:z.symbol,received:r.parsedType}),ne}return rt(t.data)}}bo.create=e=>new bo({typeName:ee.ZodSymbol,...oe(e)});class Zs extends le{_parse(t){if(this._getType(t)!==z.undefined){const r=this._getOrReturnCtx(t);return U(r,{code:M.invalid_type,expected:z.undefined,received:r.parsedType}),ne}return rt(t.data)}}Zs.create=e=>new Zs({typeName:ee.ZodUndefined,...oe(e)});class Gs extends le{_parse(t){if(this._getType(t)!==z.null){const r=this._getOrReturnCtx(t);return U(r,{code:M.invalid_type,expected:z.null,received:r.parsedType}),ne}return rt(t.data)}}Gs.create=e=>new Gs({typeName:ee.ZodNull,...oe(e)});class ts extends le{constructor(){super(...arguments),this._any=!0}_parse(t){return rt(t.data)}}ts.create=e=>new ts({typeName:ee.ZodAny,...oe(e)});class ar extends le{constructor(){super(...arguments),this._unknown=!0}_parse(t){return rt(t.data)}}ar.create=e=>new ar({typeName:ee.ZodUnknown,...oe(e)});class yn extends le{_parse(t){const n=this._getOrReturnCtx(t);return U(n,{code:M.invalid_type,expected:z.never,received:n.parsedType}),ne}}yn.create=e=>new yn({typeName:ee.ZodNever,...oe(e)});class wo extends le{_parse(t){if(this._getType(t)!==z.undefined){const r=this._getOrReturnCtx(t);return U(r,{code:M.invalid_type,expected:z.void,received:r.parsedType}),ne}return rt(t.data)}}wo.create=e=>new wo({typeName:ee.ZodVoid,...oe(e)});class jt extends le{_parse(t){const{ctx:n,status:r}=this._processInputParams(t),s=this._def;if(n.parsedType!==z.array)return U(n,{code:M.invalid_type,expected:z.array,received:n.parsedType}),ne;if(s.exactLength!==null){const o=n.data.length>s.exactLength.value,a=n.data.lengths.maxLength.value&&(U(n,{code:M.too_big,maximum:s.maxLength.value,type:"array",inclusive:!0,exact:!1,message:s.maxLength.message}),r.dirty()),n.common.async)return Promise.all([...n.data].map((o,a)=>s.type._parseAsync(new nn(n,o,n.path,a)))).then(o=>Xe.mergeArray(r,o));const i=[...n.data].map((o,a)=>s.type._parseSync(new nn(n,o,n.path,a)));return Xe.mergeArray(r,i)}get element(){return this._def.type}min(t,n){return new jt({...this._def,minLength:{value:t,message:K.toString(n)}})}max(t,n){return new jt({...this._def,maxLength:{value:t,message:K.toString(n)}})}length(t,n){return new jt({...this._def,exactLength:{value:t,message:K.toString(n)}})}nonempty(t){return this.min(1,t)}}jt.create=(e,t)=>new jt({type:e,minLength:null,maxLength:null,exactLength:null,typeName:ee.ZodArray,...oe(t)});function Tr(e){if(e instanceof Ae){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=en.create(Tr(r))}return new Ae({...e._def,shape:()=>t})}else return e instanceof jt?new jt({...e._def,type:Tr(e.element)}):e instanceof en?en.create(Tr(e.unwrap())):e instanceof Bn?Bn.create(Tr(e.unwrap())):e instanceof rn?rn.create(e.items.map(t=>Tr(t))):e}class Ae extends le{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const t=this._def.shape(),n=pe.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==z.object){const l=this._getOrReturnCtx(t);return U(l,{code:M.invalid_type,expected:z.object,received:l.parsedType}),ne}const{status:r,ctx:s}=this._processInputParams(t),{shape:i,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof yn&&this._def.unknownKeys==="strip"))for(const l in s.data)o.includes(l)||a.push(l);const c=[];for(const l of o){const u=i[l],d=s.data[l];c.push({key:{status:"valid",value:l},value:u._parse(new nn(s,d,s.path,l)),alwaysSet:l in s.data})}if(this._def.catchall instanceof yn){const l=this._def.unknownKeys;if(l==="passthrough")for(const u of a)c.push({key:{status:"valid",value:u},value:{status:"valid",value:s.data[u]}});else if(l==="strict")a.length>0&&(U(s,{code:M.unrecognized_keys,keys:a}),r.dirty());else if(l!=="strip")throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const l=this._def.catchall;for(const u of a){const d=s.data[u];c.push({key:{status:"valid",value:u},value:l._parse(new nn(s,d,s.path,u)),alwaysSet:u in s.data})}}return s.common.async?Promise.resolve().then(async()=>{const l=[];for(const u of c){const d=await u.key,f=await u.value;l.push({key:d,value:f,alwaysSet:u.alwaysSet})}return l}).then(l=>Xe.mergeObjectSync(r,l)):Xe.mergeObjectSync(r,c)}get shape(){return this._def.shape()}strict(t){return K.errToObj,new Ae({...this._def,unknownKeys:"strict",...t!==void 0?{errorMap:(n,r)=>{var s,i,o,a;const c=(o=(i=(s=this._def).errorMap)===null||i===void 0?void 0:i.call(s,n,r).message)!==null&&o!==void 0?o:r.defaultError;return n.code==="unrecognized_keys"?{message:(a=K.errToObj(t).message)!==null&&a!==void 0?a:c}:{message:c}}}:{}})}strip(){return new Ae({...this._def,unknownKeys:"strip"})}passthrough(){return new Ae({...this._def,unknownKeys:"passthrough"})}extend(t){return new Ae({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new Ae({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:ee.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Ae({...this._def,catchall:t})}pick(t){const n={};return pe.objectKeys(t).forEach(r=>{t[r]&&this.shape[r]&&(n[r]=this.shape[r])}),new Ae({...this._def,shape:()=>n})}omit(t){const n={};return pe.objectKeys(this.shape).forEach(r=>{t[r]||(n[r]=this.shape[r])}),new Ae({...this._def,shape:()=>n})}deepPartial(){return Tr(this)}partial(t){const n={};return pe.objectKeys(this.shape).forEach(r=>{const s=this.shape[r];t&&!t[r]?n[r]=s:n[r]=s.optional()}),new Ae({...this._def,shape:()=>n})}required(t){const n={};return pe.objectKeys(this.shape).forEach(r=>{if(t&&!t[r])n[r]=this.shape[r];else{let i=this.shape[r];for(;i instanceof en;)i=i._def.innerType;n[r]=i}}),new Ae({...this._def,shape:()=>n})}keyof(){return Gg(pe.objectKeys(this.shape))}}Ae.create=(e,t)=>new Ae({shape:()=>e,unknownKeys:"strip",catchall:yn.create(),typeName:ee.ZodObject,...oe(t)});Ae.strictCreate=(e,t)=>new Ae({shape:()=>e,unknownKeys:"strict",catchall:yn.create(),typeName:ee.ZodObject,...oe(t)});Ae.lazycreate=(e,t)=>new Ae({shape:e,unknownKeys:"strip",catchall:yn.create(),typeName:ee.ZodObject,...oe(t)});class Ks extends le{_parse(t){const{ctx:n}=this._processInputParams(t),r=this._def.options;function s(i){for(const a of i)if(a.result.status==="valid")return a.result;for(const a of i)if(a.result.status==="dirty")return n.common.issues.push(...a.ctx.common.issues),a.result;const o=i.map(a=>new vt(a.ctx.common.issues));return U(n,{code:M.invalid_union,unionErrors:o}),ne}if(n.common.async)return Promise.all(r.map(async i=>{const o={...n,common:{...n.common,issues:[]},parent:null};return{result:await i._parseAsync({data:n.data,path:n.path,parent:o}),ctx:o}})).then(s);{let i;const o=[];for(const c of r){const l={...n,common:{...n.common,issues:[]},parent:null},u=c._parseSync({data:n.data,path:n.path,parent:l});if(u.status==="valid")return u;u.status==="dirty"&&!i&&(i={result:u,ctx:l}),l.common.issues.length&&o.push(l.common.issues)}if(i)return n.common.issues.push(...i.ctx.common.issues),i.result;const a=o.map(c=>new vt(c));return U(n,{code:M.invalid_union,unionErrors:a}),ne}}get options(){return this._def.options}}Ks.create=(e,t)=>new Ks({options:e,typeName:ee.ZodUnion,...oe(t)});const cn=e=>e instanceof Ys?cn(e.schema):e instanceof Lt?cn(e.innerType()):e instanceof Js?[e.value]:e instanceof Vn?e.options:e instanceof ei?pe.objectValues(e.enum):e instanceof ti?cn(e._def.innerType):e instanceof Zs?[void 0]:e instanceof Gs?[null]:e instanceof en?[void 0,...cn(e.unwrap())]:e instanceof Bn?[null,...cn(e.unwrap())]:e instanceof Kl||e instanceof ri?cn(e.unwrap()):e instanceof ni?cn(e._def.innerType):[];class Ho extends le{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==z.object)return U(n,{code:M.invalid_type,expected:z.object,received:n.parsedType}),ne;const r=this.discriminator,s=n.data[r],i=this.optionsMap.get(s);return i?n.common.async?i._parseAsync({data:n.data,path:n.path,parent:n}):i._parseSync({data:n.data,path:n.path,parent:n}):(U(n,{code:M.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[r]}),ne)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,n,r){const s=new Map;for(const i of n){const o=cn(i.shape[t]);if(!o.length)throw new Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(const a of o){if(s.has(a))throw new Error(`Discriminator property ${String(t)} has duplicate value ${String(a)}`);s.set(a,i)}}return new Ho({typeName:ee.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:s,...oe(r)})}}function hc(e,t){const n=un(e),r=un(t);if(e===t)return{valid:!0,data:e};if(n===z.object&&r===z.object){const s=pe.objectKeys(t),i=pe.objectKeys(e).filter(a=>s.indexOf(a)!==-1),o={...e,...t};for(const a of i){const c=hc(e[a],t[a]);if(!c.valid)return{valid:!1};o[a]=c.data}return{valid:!0,data:o}}else if(n===z.array&&r===z.array){if(e.length!==t.length)return{valid:!1};const s=[];for(let i=0;i{if(dc(i)||dc(o))return ne;const a=hc(i.value,o.value);return a.valid?((fc(i)||fc(o))&&n.dirty(),{status:n.value,value:a.data}):(U(r,{code:M.invalid_intersection_types}),ne)};return r.common.async?Promise.all([this._def.left._parseAsync({data:r.data,path:r.path,parent:r}),this._def.right._parseAsync({data:r.data,path:r.path,parent:r})]).then(([i,o])=>s(i,o)):s(this._def.left._parseSync({data:r.data,path:r.path,parent:r}),this._def.right._parseSync({data:r.data,path:r.path,parent:r}))}}Qs.create=(e,t,n)=>new Qs({left:e,right:t,typeName:ee.ZodIntersection,...oe(n)});class rn extends le{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==z.array)return U(r,{code:M.invalid_type,expected:z.array,received:r.parsedType}),ne;if(r.data.lengththis._def.items.length&&(U(r,{code:M.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),n.dirty());const i=[...r.data].map((o,a)=>{const c=this._def.items[a]||this._def.rest;return c?c._parse(new nn(r,o,r.path,a)):null}).filter(o=>!!o);return r.common.async?Promise.all(i).then(o=>Xe.mergeArray(n,o)):Xe.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new rn({...this._def,rest:t})}}rn.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new rn({items:e,typeName:ee.ZodTuple,rest:null,...oe(t)})};class Xs extends le{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==z.object)return U(r,{code:M.invalid_type,expected:z.object,received:r.parsedType}),ne;const s=[],i=this._def.keyType,o=this._def.valueType;for(const a in r.data)s.push({key:i._parse(new nn(r,a,r.path,a)),value:o._parse(new nn(r,r.data[a],r.path,a)),alwaysSet:a in r.data});return r.common.async?Xe.mergeObjectAsync(n,s):Xe.mergeObjectSync(n,s)}get element(){return this._def.valueType}static create(t,n,r){return n instanceof le?new Xs({keyType:t,valueType:n,typeName:ee.ZodRecord,...oe(r)}):new Xs({keyType:Nt.create(),valueType:t,typeName:ee.ZodRecord,...oe(n)})}}class So extends le{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==z.map)return U(r,{code:M.invalid_type,expected:z.map,received:r.parsedType}),ne;const s=this._def.keyType,i=this._def.valueType,o=[...r.data.entries()].map(([a,c],l)=>({key:s._parse(new nn(r,a,r.path,[l,"key"])),value:i._parse(new nn(r,c,r.path,[l,"value"]))}));if(r.common.async){const a=new Map;return Promise.resolve().then(async()=>{for(const c of o){const l=await c.key,u=await c.value;if(l.status==="aborted"||u.status==="aborted")return ne;(l.status==="dirty"||u.status==="dirty")&&n.dirty(),a.set(l.value,u.value)}return{status:n.value,value:a}})}else{const a=new Map;for(const c of o){const l=c.key,u=c.value;if(l.status==="aborted"||u.status==="aborted")return ne;(l.status==="dirty"||u.status==="dirty")&&n.dirty(),a.set(l.value,u.value)}return{status:n.value,value:a}}}}So.create=(e,t,n)=>new So({valueType:t,keyType:e,typeName:ee.ZodMap,...oe(n)});class mr extends le{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.parsedType!==z.set)return U(r,{code:M.invalid_type,expected:z.set,received:r.parsedType}),ne;const s=this._def;s.minSize!==null&&r.data.sizes.maxSize.value&&(U(r,{code:M.too_big,maximum:s.maxSize.value,type:"set",inclusive:!0,exact:!1,message:s.maxSize.message}),n.dirty());const i=this._def.valueType;function o(c){const l=new Set;for(const u of c){if(u.status==="aborted")return ne;u.status==="dirty"&&n.dirty(),l.add(u.value)}return{status:n.value,value:l}}const a=[...r.data.values()].map((c,l)=>i._parse(new nn(r,c,r.path,l)));return r.common.async?Promise.all(a).then(c=>o(c)):o(a)}min(t,n){return new mr({...this._def,minSize:{value:t,message:K.toString(n)}})}max(t,n){return new mr({...this._def,maxSize:{value:t,message:K.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}mr.create=(e,t)=>new mr({valueType:e,minSize:null,maxSize:null,typeName:ee.ZodSet,...oe(t)});class Dr extends le{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==z.function)return U(n,{code:M.invalid_type,expected:z.function,received:n.parsedType}),ne;function r(a,c){return vo({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,yo(),es].filter(l=>!!l),issueData:{code:M.invalid_arguments,argumentsError:c}})}function s(a,c){return vo({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,yo(),es].filter(l=>!!l),issueData:{code:M.invalid_return_type,returnTypeError:c}})}const i={errorMap:n.common.contextualErrorMap},o=n.data;if(this._def.returns instanceof ns){const a=this;return rt(async function(...c){const l=new vt([]),u=await a._def.args.parseAsync(c,i).catch(p=>{throw l.addIssue(r(c,p)),l}),d=await Reflect.apply(o,this,u);return await a._def.returns._def.type.parseAsync(d,i).catch(p=>{throw l.addIssue(s(d,p)),l})})}else{const a=this;return rt(function(...c){const l=a._def.args.safeParse(c,i);if(!l.success)throw new vt([r(c,l.error)]);const u=Reflect.apply(o,this,l.data),d=a._def.returns.safeParse(u,i);if(!d.success)throw new vt([s(u,d.error)]);return d.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new Dr({...this._def,args:rn.create(t).rest(ar.create())})}returns(t){return new Dr({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,r){return new Dr({args:t||rn.create([]).rest(ar.create()),returns:n||ar.create(),typeName:ee.ZodFunction,...oe(r)})}}class Ys extends le{get schema(){return this._def.getter()}_parse(t){const{ctx:n}=this._processInputParams(t);return this._def.getter()._parse({data:n.data,path:n.path,parent:n})}}Ys.create=(e,t)=>new Ys({getter:e,typeName:ee.ZodLazy,...oe(t)});class Js extends le{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return U(n,{received:n.data,code:M.invalid_literal,expected:this._def.value}),ne}return{status:"valid",value:t.data}}get value(){return this._def.value}}Js.create=(e,t)=>new Js({value:e,typeName:ee.ZodLiteral,...oe(t)});function Gg(e,t){return new Vn({values:e,typeName:ee.ZodEnum,...oe(t)})}class Vn extends le{constructor(){super(...arguments),As.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),r=this._def.values;return U(n,{expected:pe.joinValues(r),received:n.parsedType,code:M.invalid_type}),ne}if(xo(this,As)||Wg(this,As,new Set(this._def.values)),!xo(this,As).has(t.data)){const n=this._getOrReturnCtx(t),r=this._def.values;return U(n,{received:n.data,code:M.invalid_enum_value,options:r}),ne}return rt(t.data)}get options(){return this._def.values}get enum(){const t={};for(const n of this._def.values)t[n]=n;return t}get Values(){const t={};for(const n of this._def.values)t[n]=n;return t}get Enum(){const t={};for(const n of this._def.values)t[n]=n;return t}extract(t,n=this._def){return Vn.create(t,{...this._def,...n})}exclude(t,n=this._def){return Vn.create(this.options.filter(r=>!t.includes(r)),{...this._def,...n})}}As=new WeakMap;Vn.create=Gg;class ei extends le{constructor(){super(...arguments),Es.set(this,void 0)}_parse(t){const n=pe.getValidEnumValues(this._def.values),r=this._getOrReturnCtx(t);if(r.parsedType!==z.string&&r.parsedType!==z.number){const s=pe.objectValues(n);return U(r,{expected:pe.joinValues(s),received:r.parsedType,code:M.invalid_type}),ne}if(xo(this,Es)||Wg(this,Es,new Set(pe.getValidEnumValues(this._def.values))),!xo(this,Es).has(t.data)){const s=pe.objectValues(n);return U(r,{received:r.data,code:M.invalid_enum_value,options:s}),ne}return rt(t.data)}get enum(){return this._def.values}}Es=new WeakMap;ei.create=(e,t)=>new ei({values:e,typeName:ee.ZodNativeEnum,...oe(t)});class ns extends le{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==z.promise&&n.common.async===!1)return U(n,{code:M.invalid_type,expected:z.promise,received:n.parsedType}),ne;const r=n.parsedType===z.promise?n.data:Promise.resolve(n.data);return rt(r.then(s=>this._def.type.parseAsync(s,{path:n.path,errorMap:n.common.contextualErrorMap})))}}ns.create=(e,t)=>new ns({type:e,typeName:ee.ZodPromise,...oe(t)});class Lt extends le{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===ee.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){const{status:n,ctx:r}=this._processInputParams(t),s=this._def.effect||null,i={addIssue:o=>{U(r,o),o.fatal?n.abort():n.dirty()},get path(){return r.path}};if(i.addIssue=i.addIssue.bind(i),s.type==="preprocess"){const o=s.transform(r.data,i);if(r.common.async)return Promise.resolve(o).then(async a=>{if(n.value==="aborted")return ne;const c=await this._def.schema._parseAsync({data:a,path:r.path,parent:r});return c.status==="aborted"?ne:c.status==="dirty"||n.value==="dirty"?kr(c.value):c});{if(n.value==="aborted")return ne;const a=this._def.schema._parseSync({data:o,path:r.path,parent:r});return a.status==="aborted"?ne:a.status==="dirty"||n.value==="dirty"?kr(a.value):a}}if(s.type==="refinement"){const o=a=>{const c=s.refinement(a,i);if(r.common.async)return Promise.resolve(c);if(c instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return a};if(r.common.async===!1){const a=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});return a.status==="aborted"?ne:(a.status==="dirty"&&n.dirty(),o(a.value),{status:n.value,value:a.value})}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(a=>a.status==="aborted"?ne:(a.status==="dirty"&&n.dirty(),o(a.value).then(()=>({status:n.value,value:a.value}))))}if(s.type==="transform")if(r.common.async===!1){const o=this._def.schema._parseSync({data:r.data,path:r.path,parent:r});if(!hr(o))return o;const a=s.transform(o.value,i);if(a instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:n.value,value:a}}else return this._def.schema._parseAsync({data:r.data,path:r.path,parent:r}).then(o=>hr(o)?Promise.resolve(s.transform(o.value,i)).then(a=>({status:n.value,value:a})):o);pe.assertNever(s)}}Lt.create=(e,t,n)=>new Lt({schema:e,typeName:ee.ZodEffects,effect:t,...oe(n)});Lt.createWithPreprocess=(e,t,n)=>new Lt({schema:t,effect:{type:"preprocess",transform:e},typeName:ee.ZodEffects,...oe(n)});class en extends le{_parse(t){return this._getType(t)===z.undefined?rt(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}en.create=(e,t)=>new en({innerType:e,typeName:ee.ZodOptional,...oe(t)});class Bn extends le{_parse(t){return this._getType(t)===z.null?rt(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}Bn.create=(e,t)=>new Bn({innerType:e,typeName:ee.ZodNullable,...oe(t)});class ti extends le{_parse(t){const{ctx:n}=this._processInputParams(t);let r=n.data;return n.parsedType===z.undefined&&(r=this._def.defaultValue()),this._def.innerType._parse({data:r,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}ti.create=(e,t)=>new ti({innerType:e,typeName:ee.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...oe(t)});class ni extends le{_parse(t){const{ctx:n}=this._processInputParams(t),r={...n,common:{...n.common,issues:[]}},s=this._def.innerType._parse({data:r.data,path:r.path,parent:{...r}});return Hs(s)?s.then(i=>({status:"valid",value:i.status==="valid"?i.value:this._def.catchValue({get error(){return new vt(r.common.issues)},input:r.data})})):{status:"valid",value:s.status==="valid"?s.value:this._def.catchValue({get error(){return new vt(r.common.issues)},input:r.data})}}removeCatch(){return this._def.innerType}}ni.create=(e,t)=>new ni({innerType:e,typeName:ee.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...oe(t)});class _o extends le{_parse(t){if(this._getType(t)!==z.nan){const r=this._getOrReturnCtx(t);return U(r,{code:M.invalid_type,expected:z.nan,received:r.parsedType}),ne}return{status:"valid",value:t.data}}}_o.create=e=>new _o({typeName:ee.ZodNaN,...oe(e)});const VA=Symbol("zod_brand");class Kl extends le{_parse(t){const{ctx:n}=this._processInputParams(t),r=n.data;return this._def.type._parse({data:r,path:n.path,parent:n})}unwrap(){return this._def.type}}class wi extends le{_parse(t){const{status:n,ctx:r}=this._processInputParams(t);if(r.common.async)return(async()=>{const i=await this._def.in._parseAsync({data:r.data,path:r.path,parent:r});return i.status==="aborted"?ne:i.status==="dirty"?(n.dirty(),kr(i.value)):this._def.out._parseAsync({data:i.value,path:r.path,parent:r})})();{const s=this._def.in._parseSync({data:r.data,path:r.path,parent:r});return s.status==="aborted"?ne:s.status==="dirty"?(n.dirty(),{status:"dirty",value:s.value}):this._def.out._parseSync({data:s.value,path:r.path,parent:r})}}static create(t,n){return new wi({in:t,out:n,typeName:ee.ZodPipeline})}}class ri extends le{_parse(t){const n=this._def.innerType._parse(t),r=s=>(hr(s)&&(s.value=Object.freeze(s.value)),s);return Hs(n)?n.then(s=>r(s)):r(n)}unwrap(){return this._def.innerType}}ri.create=(e,t)=>new ri({innerType:e,typeName:ee.ZodReadonly,...oe(t)});function Kg(e,t={},n){return e?ts.create().superRefine((r,s)=>{var i,o;if(!e(r)){const a=typeof t=="function"?t(r):typeof t=="string"?{message:t}:t,c=(o=(i=a.fatal)!==null&&i!==void 0?i:n)!==null&&o!==void 0?o:!0,l=typeof a=="string"?{message:a}:a;s.addIssue({code:"custom",...l,fatal:c})}}):ts.create()}const BA={object:Ae.lazycreate};var ee;(function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"})(ee||(ee={}));const UA=(e,t={message:`Input not instance of ${e.name}`})=>Kg(n=>n instanceof e,t),Qg=Nt.create,Xg=Ln.create,$A=_o.create,zA=In.create,Yg=qs.create,WA=pr.create,HA=bo.create,qA=Zs.create,ZA=Gs.create,GA=ts.create,KA=ar.create,QA=yn.create,XA=wo.create,YA=jt.create,JA=Ae.create,eE=Ae.strictCreate,tE=Ks.create,nE=Ho.create,rE=Qs.create,sE=rn.create,iE=Xs.create,oE=So.create,aE=mr.create,cE=Dr.create,lE=Ys.create,uE=Js.create,dE=Vn.create,fE=ei.create,hE=ns.create,bf=Lt.create,pE=en.create,mE=Bn.create,gE=Lt.createWithPreprocess,yE=wi.create,vE=()=>Qg().optional(),xE=()=>Xg().optional(),bE=()=>Yg().optional(),wE={string:e=>Nt.create({...e,coerce:!0}),number:e=>Ln.create({...e,coerce:!0}),boolean:e=>qs.create({...e,coerce:!0}),bigint:e=>In.create({...e,coerce:!0}),date:e=>pr.create({...e,coerce:!0})},SE=ne;var wf=Object.freeze({__proto__:null,defaultErrorMap:es,setErrorMap:gA,getErrorMap:yo,makeIssue:vo,EMPTY_PATH:yA,addIssueToContext:U,ParseStatus:Xe,INVALID:ne,DIRTY:kr,OK:rt,isAborted:dc,isDirty:fc,isValid:hr,isAsync:Hs,get util(){return pe},get objectUtil(){return uc},ZodParsedType:z,getParsedType:un,ZodType:le,datetimeRegex:Zg,ZodString:Nt,ZodNumber:Ln,ZodBigInt:In,ZodBoolean:qs,ZodDate:pr,ZodSymbol:bo,ZodUndefined:Zs,ZodNull:Gs,ZodAny:ts,ZodUnknown:ar,ZodNever:yn,ZodVoid:wo,ZodArray:jt,ZodObject:Ae,ZodUnion:Ks,ZodDiscriminatedUnion:Ho,ZodIntersection:Qs,ZodTuple:rn,ZodRecord:Xs,ZodMap:So,ZodSet:mr,ZodFunction:Dr,ZodLazy:Ys,ZodLiteral:Js,ZodEnum:Vn,ZodNativeEnum:ei,ZodPromise:ns,ZodEffects:Lt,ZodTransformer:Lt,ZodOptional:en,ZodNullable:Bn,ZodDefault:ti,ZodCatch:ni,ZodNaN:_o,BRAND:VA,ZodBranded:Kl,ZodPipeline:wi,ZodReadonly:ri,custom:Kg,Schema:le,ZodSchema:le,late:BA,get ZodFirstPartyTypeKind(){return ee},coerce:wE,any:GA,array:YA,bigint:zA,boolean:Yg,date:WA,discriminatedUnion:nE,effect:bf,enum:dE,function:cE,instanceof:UA,intersection:rE,lazy:lE,literal:uE,map:oE,nan:$A,nativeEnum:fE,never:QA,null:ZA,nullable:mE,number:Xg,object:JA,oboolean:bE,onumber:xE,optional:pE,ostring:vE,pipeline:yE,preprocess:gE,promise:hE,record:iE,set:aE,strictObject:eE,string:Qg,symbol:HA,transformer:bf,tuple:sE,undefined:qA,union:tE,unknown:KA,void:XA,NEVER:SE,ZodIssueCode:M,quotelessJson:mA,ZodError:vt});const Ra=(e,t)=>Le(r=>r.lang)==="ru"?e:t;function Jg(e,t){return function(){return e.apply(t,arguments)}}const{toString:_E}=Object.prototype,{getPrototypeOf:Ql}=Object,qo=(e=>t=>{const n=_E.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),Bt=e=>(e=e.toLowerCase(),t=>qo(t)===e),Zo=e=>t=>typeof t===e,{isArray:us}=Array,si=Zo("undefined");function TE(e){return e!==null&&!si(e)&&e.constructor!==null&&!si(e.constructor)&&xt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ey=Bt("ArrayBuffer");function CE(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ey(e.buffer),t}const AE=Zo("string"),xt=Zo("function"),ty=Zo("number"),Go=e=>e!==null&&typeof e=="object",EE=e=>e===!0||e===!1,Yi=e=>{if(qo(e)!=="object")return!1;const t=Ql(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},PE=Bt("Date"),RE=Bt("File"),kE=Bt("Blob"),OE=Bt("FileList"),NE=e=>Go(e)&&xt(e.pipe),jE=e=>{let t;return e&&(typeof FormData=="function"&&e instanceof FormData||xt(e.append)&&((t=qo(e))==="formdata"||t==="object"&&xt(e.toString)&&e.toString()==="[object FormData]"))},DE=Bt("URLSearchParams"),[ME,FE,LE,IE]=["ReadableStream","Request","Response","Headers"].map(Bt),VE=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Si(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let r,s;if(typeof e!="object"&&(e=[e]),us(e))for(r=0,s=e.length;r0;)if(s=n[r],t===s.toLowerCase())return s;return null}const Xn=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,ry=e=>!si(e)&&e!==Xn;function pc(){const{caseless:e}=ry(this)&&this||{},t={},n=(r,s)=>{const i=e&&ny(t,s)||s;Yi(t[i])&&Yi(r)?t[i]=pc(t[i],r):Yi(r)?t[i]=pc({},r):us(r)?t[i]=r.slice():t[i]=r};for(let r=0,s=arguments.length;r(Si(t,(s,i)=>{n&&xt(s)?e[i]=Jg(s,n):e[i]=s},{allOwnKeys:r}),e),UE=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),$E=(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},zE=(e,t,n,r)=>{let s,i,o;const a={};if(t=t||{},e==null)return t;do{for(s=Object.getOwnPropertyNames(e),i=s.length;i-- >0;)o=s[i],(!r||r(o,e,t))&&!a[o]&&(t[o]=e[o],a[o]=!0);e=n!==!1&&Ql(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},WE=(e,t,n)=>{e=String(e),(n===void 0||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return r!==-1&&r===n},HE=e=>{if(!e)return null;if(us(e))return e;let t=e.length;if(!ty(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},qE=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&Ql(Uint8Array)),ZE=(e,t)=>{const r=(e&&e[Symbol.iterator]).call(e);let s;for(;(s=r.next())&&!s.done;){const i=s.value;t.call(e,i[0],i[1])}},GE=(e,t)=>{let n;const r=[];for(;(n=e.exec(t))!==null;)r.push(n);return r},KE=Bt("HTMLFormElement"),QE=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,r,s){return r.toUpperCase()+s}),Sf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),XE=Bt("RegExp"),sy=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Si(n,(s,i)=>{let o;(o=t(s,i,e))!==!1&&(r[i]=o||s)}),Object.defineProperties(e,r)},YE=e=>{sy(e,(t,n)=>{if(xt(e)&&["arguments","caller","callee"].indexOf(n)!==-1)return!1;const r=e[n];if(xt(r)){if(t.enumerable=!1,"writable"in t){t.writable=!1;return}t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")})}})},JE=(e,t)=>{const n={},r=s=>{s.forEach(i=>{n[i]=!0})};return us(e)?r(e):r(String(e).split(t)),n},eP=()=>{},tP=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,ka="abcdefghijklmnopqrstuvwxyz",_f="0123456789",iy={DIGIT:_f,ALPHA:ka,ALPHA_DIGIT:ka+ka.toUpperCase()+_f},nP=(e=16,t=iy.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n};function rP(e){return!!(e&&xt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const sP=e=>{const t=new Array(10),n=(r,s)=>{if(Go(r)){if(t.indexOf(r)>=0)return;if(!("toJSON"in r)){t[s]=r;const i=us(r)?[]:{};return Si(r,(o,a)=>{const c=n(o,s+1);!si(c)&&(i[a]=c)}),t[s]=void 0,i}}return r};return n(e,0)},iP=Bt("AsyncFunction"),oP=e=>e&&(Go(e)||xt(e))&&xt(e.then)&&xt(e.catch),oy=((e,t)=>e?setImmediate:t?((n,r)=>(Xn.addEventListener("message",({source:s,data:i})=>{s===Xn&&i===n&&r.length&&r.shift()()},!1),s=>{r.push(s),Xn.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",xt(Xn.postMessage)),aP=typeof queueMicrotask<"u"?queueMicrotask.bind(Xn):typeof process<"u"&&process.nextTick||oy,k={isArray:us,isArrayBuffer:ey,isBuffer:TE,isFormData:jE,isArrayBufferView:CE,isString:AE,isNumber:ty,isBoolean:EE,isObject:Go,isPlainObject:Yi,isReadableStream:ME,isRequest:FE,isResponse:LE,isHeaders:IE,isUndefined:si,isDate:PE,isFile:RE,isBlob:kE,isRegExp:XE,isFunction:xt,isStream:NE,isURLSearchParams:DE,isTypedArray:qE,isFileList:OE,forEach:Si,merge:pc,extend:BE,trim:VE,stripBOM:UE,inherits:$E,toFlatObject:zE,kindOf:qo,kindOfTest:Bt,endsWith:WE,toArray:HE,forEachEntry:ZE,matchAll:GE,isHTMLForm:KE,hasOwnProperty:Sf,hasOwnProp:Sf,reduceDescriptors:sy,freezeMethods:YE,toObjectSet:JE,toCamelCase:QE,noop:eP,toFiniteNumber:tP,findKey:ny,global:Xn,isContextDefined:ry,ALPHABET:iy,generateString:nP,isSpecCompliantForm:rP,toJSONObject:sP,isAsyncFn:iP,isThenable:oP,setImmediate:oy,asap:aP};function ie(e,t,n,r,s){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=new Error().stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),s&&(this.response=s,this.status=s.status?s.status:null)}k.inherits(ie,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:k.toJSONObject(this.config),code:this.code,status:this.status}}});const ay=ie.prototype,cy={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach(e=>{cy[e]={value:e}});Object.defineProperties(ie,cy);Object.defineProperty(ay,"isAxiosError",{value:!0});ie.from=(e,t,n,r,s,i)=>{const o=Object.create(ay);return k.toFlatObject(e,o,function(c){return c!==Error.prototype},a=>a!=="isAxiosError"),ie.call(o,e.message,t,n,r,s),o.cause=e,o.name=e.name,i&&Object.assign(o,i),o};const cP=null;function mc(e){return k.isPlainObject(e)||k.isArray(e)}function ly(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function Tf(e,t,n){return e?e.concat(t).map(function(s,i){return s=ly(s),!n&&i?"["+s+"]":s}).join(n?".":""):t}function lP(e){return k.isArray(e)&&!e.some(mc)}const uP=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function Ko(e,t,n){if(!k.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=k.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(h,g){return!k.isUndefined(g[h])});const r=n.metaTokens,s=n.visitor||u,i=n.dots,o=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&k.isSpecCompliantForm(t);if(!k.isFunction(s))throw new TypeError("visitor must be a function");function l(m){if(m===null)return"";if(k.isDate(m))return m.toISOString();if(!c&&k.isBlob(m))throw new ie("Blob is not supported. Use a Buffer instead.");return k.isArrayBuffer(m)||k.isTypedArray(m)?c&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,h,g){let v=m;if(m&&!g&&typeof m=="object"){if(k.endsWith(h,"{}"))h=r?h:h.slice(0,-2),m=JSON.stringify(m);else if(k.isArray(m)&&lP(m)||(k.isFileList(m)||k.endsWith(h,"[]"))&&(v=k.toArray(m)))return h=ly(h),v.forEach(function(w,T){!(k.isUndefined(w)||w===null)&&t.append(o===!0?Tf([h],T,i):o===null?h:h+"[]",l(w))}),!1}return mc(m)?!0:(t.append(Tf(g,h,i),l(m)),!1)}const d=[],f=Object.assign(uP,{defaultVisitor:u,convertValue:l,isVisitable:mc});function p(m,h){if(!k.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+h.join("."));d.push(m),k.forEach(m,function(v,b){(!(k.isUndefined(v)||v===null)&&s.call(t,v,k.isString(b)?b.trim():b,h,f))===!0&&p(v,h?h.concat(b):[b])}),d.pop()}}if(!k.isObject(e))throw new TypeError("data must be an object");return p(e),t}function Cf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(r){return t[r]})}function Xl(e,t){this._pairs=[],e&&Ko(e,this,t)}const uy=Xl.prototype;uy.append=function(t,n){this._pairs.push([t,n])};uy.toString=function(t){const n=t?function(r){return t.call(this,r,Cf)}:Cf;return this._pairs.map(function(s){return n(s[0])+"="+n(s[1])},"").join("&")};function dP(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function dy(e,t,n){if(!t)return e;const r=n&&n.encode||dP;k.isFunction(n)&&(n={serialize:n});const s=n&&n.serialize;let i;if(s?i=s(t,n):i=k.isURLSearchParams(t)?t.toString():new Xl(t,n).toString(r),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Af{constructor(){this.handlers=[]}use(t,n,r){return this.handlers.push({fulfilled:t,rejected:n,synchronous:r?r.synchronous:!1,runWhen:r?r.runWhen:null}),this.handlers.length-1}eject(t){this.handlers[t]&&(this.handlers[t]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(t){k.forEach(this.handlers,function(r){r!==null&&t(r)})}}const fy={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},fP=typeof URLSearchParams<"u"?URLSearchParams:Xl,hP=typeof FormData<"u"?FormData:null,pP=typeof Blob<"u"?Blob:null,mP={isBrowser:!0,classes:{URLSearchParams:fP,FormData:hP,Blob:pP},protocols:["http","https","file","blob","url","data"]},Yl=typeof window<"u"&&typeof document<"u",gc=typeof navigator=="object"&&navigator||void 0,gP=Yl&&(!gc||["ReactNative","NativeScript","NS"].indexOf(gc.product)<0),yP=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",vP=Yl&&window.location.href||"http://localhost",xP=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:Yl,hasStandardBrowserEnv:gP,hasStandardBrowserWebWorkerEnv:yP,navigator:gc,origin:vP},Symbol.toStringTag,{value:"Module"})),Ke={...xP,...mP};function bP(e,t){return Ko(e,new Ke.classes.URLSearchParams,Object.assign({visitor:function(n,r,s,i){return Ke.isNode&&k.isBuffer(n)?(this.append(r,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function wP(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function SP(e){const t={},n=Object.keys(e);let r;const s=n.length;let i;for(r=0;r=n.length;return o=!o&&k.isArray(s)?s.length:o,c?(k.hasOwnProp(s,o)?s[o]=[s[o],r]:s[o]=r,!a):((!s[o]||!k.isObject(s[o]))&&(s[o]=[]),t(n,r,s[o],i)&&k.isArray(s[o])&&(s[o]=SP(s[o])),!a)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(r,s)=>{t(wP(r),s,n,0)}),n}return null}function _P(e,t,n){if(k.isString(e))try{return(t||JSON.parse)(e),k.trim(e)}catch(r){if(r.name!=="SyntaxError")throw r}return(0,JSON.stringify)(e)}const _i={transitional:fy,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const r=n.getContentType()||"",s=r.indexOf("application/json")>-1,i=k.isObject(t);if(i&&k.isHTMLForm(t)&&(t=new FormData(t)),k.isFormData(t))return s?JSON.stringify(hy(t)):t;if(k.isArrayBuffer(t)||k.isBuffer(t)||k.isStream(t)||k.isFile(t)||k.isBlob(t)||k.isReadableStream(t))return t;if(k.isArrayBufferView(t))return t.buffer;if(k.isURLSearchParams(t))return n.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),t.toString();let a;if(i){if(r.indexOf("application/x-www-form-urlencoded")>-1)return bP(t,this.formSerializer).toString();if((a=k.isFileList(t))||r.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Ko(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||s?(n.setContentType("application/json",!1),_P(t)):t}],transformResponse:[function(t){const n=this.transitional||_i.transitional,r=n&&n.forcedJSONParsing,s=this.responseType==="json";if(k.isResponse(t)||k.isReadableStream(t))return t;if(t&&k.isString(t)&&(r&&!this.responseType||s)){const o=!(n&&n.silentJSONParsing)&&s;try{return JSON.parse(t)}catch(a){if(o)throw a.name==="SyntaxError"?ie.from(a,ie.ERR_BAD_RESPONSE,this,null,this.response):a}}return t}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:Ke.classes.FormData,Blob:Ke.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};k.forEach(["delete","get","head","post","put","patch"],e=>{_i.headers[e]={}});const TP=k.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),CP=e=>{const t={};let n,r,s;return e&&e.split(` -`).forEach(function(o){s=o.indexOf(":"),n=o.substring(0,s).trim().toLowerCase(),r=o.substring(s+1).trim(),!(!n||t[n]&&TP[n])&&(n==="set-cookie"?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t},Ef=Symbol("internals");function Ss(e){return e&&String(e).trim().toLowerCase()}function Ji(e){return e===!1||e==null?e:k.isArray(e)?e.map(Ji):String(e)}function AP(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}const EP=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Oa(e,t,n,r,s){if(k.isFunction(r))return r.call(this,t,n);if(s&&(t=n),!!k.isString(t)){if(k.isString(r))return t.indexOf(r)!==-1;if(k.isRegExp(r))return r.test(t)}}function PP(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,r)=>n.toUpperCase()+r)}function RP(e,t){const n=k.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(s,i,o){return this[r].call(this,t,s,i,o)},configurable:!0})})}class lt{constructor(t){t&&this.set(t)}set(t,n,r){const s=this;function i(a,c,l){const u=Ss(c);if(!u)throw new Error("header name must be a non-empty string");const d=k.findKey(s,u);(!d||s[d]===void 0||l===!0||l===void 0&&s[d]!==!1)&&(s[d||c]=Ji(a))}const o=(a,c)=>k.forEach(a,(l,u)=>i(l,u,c));if(k.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(k.isString(t)&&(t=t.trim())&&!EP(t))o(CP(t),n);else if(k.isHeaders(t))for(const[a,c]of t.entries())i(c,a,r);else t!=null&&i(n,t,r);return this}get(t,n){if(t=Ss(t),t){const r=k.findKey(this,t);if(r){const s=this[r];if(!n)return s;if(n===!0)return AP(s);if(k.isFunction(n))return n.call(this,s,r);if(k.isRegExp(n))return n.exec(s);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Ss(t),t){const r=k.findKey(this,t);return!!(r&&this[r]!==void 0&&(!n||Oa(this,this[r],r,n)))}return!1}delete(t,n){const r=this;let s=!1;function i(o){if(o=Ss(o),o){const a=k.findKey(r,o);a&&(!n||Oa(r,r[a],a,n))&&(delete r[a],s=!0)}}return k.isArray(t)?t.forEach(i):i(t),s}clear(t){const n=Object.keys(this);let r=n.length,s=!1;for(;r--;){const i=n[r];(!t||Oa(this,this[i],i,t,!0))&&(delete this[i],s=!0)}return s}normalize(t){const n=this,r={};return k.forEach(this,(s,i)=>{const o=k.findKey(r,i);if(o){n[o]=Ji(s),delete n[i];return}const a=t?PP(i):String(i).trim();a!==i&&delete n[i],n[a]=Ji(s),r[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return k.forEach(this,(r,s)=>{r!=null&&r!==!1&&(n[s]=t&&k.isArray(r)?r.join(", "):r)}),n}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([t,n])=>t+": "+n).join(` -`)}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(t){return t instanceof this?t:new this(t)}static concat(t,...n){const r=new this(t);return n.forEach(s=>r.set(s)),r}static accessor(t){const r=(this[Ef]=this[Ef]={accessors:{}}).accessors,s=this.prototype;function i(o){const a=Ss(o);r[a]||(RP(s,o),r[a]=!0)}return k.isArray(t)?t.forEach(i):i(t),this}}lt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);k.reduceDescriptors(lt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(r){this[n]=r}}});k.freezeMethods(lt);function Na(e,t){const n=this||_i,r=t||n,s=lt.from(r.headers);let i=r.data;return k.forEach(e,function(a){i=a.call(n,i,s.normalize(),t?t.status:void 0)}),s.normalize(),i}function py(e){return!!(e&&e.__CANCEL__)}function ds(e,t,n){ie.call(this,e??"canceled",ie.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(ds,ie,{__CANCEL__:!0});function my(e,t,n){const r=n.config.validateStatus;!n.status||!r||r(n.status)?e(n):t(new ie("Request failed with status code "+n.status,[ie.ERR_BAD_REQUEST,ie.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n))}function kP(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function OP(e,t){e=e||10;const n=new Array(e),r=new Array(e);let s=0,i=0,o;return t=t!==void 0?t:1e3,function(c){const l=Date.now(),u=r[i];o||(o=l),n[s]=c,r[s]=l;let d=i,f=0;for(;d!==s;)f+=n[d++],d=d%e;if(s=(s+1)%e,s===i&&(i=(i+1)%e),l-o{n=u,s=null,i&&(clearTimeout(i),i=null),e.apply(null,l)};return[(...l)=>{const u=Date.now(),d=u-n;d>=r?o(l,u):(s=l,i||(i=setTimeout(()=>{i=null,o(s)},r-d)))},()=>s&&o(s)]}const To=(e,t,n=3)=>{let r=0;const s=OP(50,250);return NP(i=>{const o=i.loaded,a=i.lengthComputable?i.total:void 0,c=o-r,l=s(c),u=o<=a;r=o;const d={loaded:o,total:a,progress:a?o/a:void 0,bytes:c,rate:l||void 0,estimated:l&&a&&u?(a-o)/l:void 0,event:i,lengthComputable:a!=null,[t?"download":"upload"]:!0};e(d)},n)},Pf=(e,t)=>{const n=e!=null;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Rf=e=>(...t)=>k.asap(()=>e(...t)),jP=Ke.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Ke.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Ke.origin),Ke.navigator&&/(msie|trident)/i.test(Ke.navigator.userAgent)):()=>!0,DP=Ke.hasStandardBrowserEnv?{write(e,t,n,r,s,i){const o=[e+"="+encodeURIComponent(t)];k.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),k.isString(r)&&o.push("path="+r),k.isString(s)&&o.push("domain="+s),i===!0&&o.push("secure"),document.cookie=o.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read(){return null},remove(){}};function MP(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function FP(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function gy(e,t){return e&&!MP(t)?FP(e,t):t}const kf=e=>e instanceof lt?{...e}:e;function gr(e,t){t=t||{};const n={};function r(l,u,d,f){return k.isPlainObject(l)&&k.isPlainObject(u)?k.merge.call({caseless:f},l,u):k.isPlainObject(u)?k.merge({},u):k.isArray(u)?u.slice():u}function s(l,u,d,f){if(k.isUndefined(u)){if(!k.isUndefined(l))return r(void 0,l,d,f)}else return r(l,u,d,f)}function i(l,u){if(!k.isUndefined(u))return r(void 0,u)}function o(l,u){if(k.isUndefined(u)){if(!k.isUndefined(l))return r(void 0,l)}else return r(void 0,u)}function a(l,u,d){if(d in t)return r(l,u);if(d in e)return r(void 0,l)}const c={url:i,method:i,data:i,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:a,headers:(l,u,d)=>s(kf(l),kf(u),d,!0)};return k.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||s,f=d(e[u],t[u],u);k.isUndefined(f)&&d!==a||(n[u]=f)}),n}const yy=e=>{const t=gr({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:s,xsrfCookieName:i,headers:o,auth:a}=t;t.headers=o=lt.from(o),t.url=dy(gy(t.baseURL,t.url),e.params,e.paramsSerializer),a&&o.set("Authorization","Basic "+btoa((a.username||"")+":"+(a.password?unescape(encodeURIComponent(a.password)):"")));let c;if(k.isFormData(n)){if(Ke.hasStandardBrowserEnv||Ke.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if((c=o.getContentType())!==!1){const[l,...u]=c?c.split(";").map(d=>d.trim()).filter(Boolean):[];o.setContentType([l||"multipart/form-data",...u].join("; "))}}if(Ke.hasStandardBrowserEnv&&(r&&k.isFunction(r)&&(r=r(t)),r||r!==!1&&jP(t.url))){const l=s&&i&&DP.read(i);l&&o.set(s,l)}return t},LP=typeof XMLHttpRequest<"u",IP=LP&&function(e){return new Promise(function(n,r){const s=yy(e);let i=s.data;const o=lt.from(s.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:l}=s,u,d,f,p,m;function h(){p&&p(),m&&m(),s.cancelToken&&s.cancelToken.unsubscribe(u),s.signal&&s.signal.removeEventListener("abort",u)}let g=new XMLHttpRequest;g.open(s.method.toUpperCase(),s.url,!0),g.timeout=s.timeout;function v(){if(!g)return;const w=lt.from("getAllResponseHeaders"in g&&g.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?g.responseText:g.response,status:g.status,statusText:g.statusText,headers:w,config:e,request:g};my(function(R){n(R),h()},function(R){r(R),h()},S),g=null}"onloadend"in g?g.onloadend=v:g.onreadystatechange=function(){!g||g.readyState!==4||g.status===0&&!(g.responseURL&&g.responseURL.indexOf("file:")===0)||setTimeout(v)},g.onabort=function(){g&&(r(new ie("Request aborted",ie.ECONNABORTED,e,g)),g=null)},g.onerror=function(){r(new ie("Network Error",ie.ERR_NETWORK,e,g)),g=null},g.ontimeout=function(){let T=s.timeout?"timeout of "+s.timeout+"ms exceeded":"timeout exceeded";const S=s.transitional||fy;s.timeoutErrorMessage&&(T=s.timeoutErrorMessage),r(new ie(T,S.clarifyTimeoutError?ie.ETIMEDOUT:ie.ECONNABORTED,e,g)),g=null},i===void 0&&o.setContentType(null),"setRequestHeader"in g&&k.forEach(o.toJSON(),function(T,S){g.setRequestHeader(S,T)}),k.isUndefined(s.withCredentials)||(g.withCredentials=!!s.withCredentials),a&&a!=="json"&&(g.responseType=s.responseType),l&&([f,m]=To(l,!0),g.addEventListener("progress",f)),c&&g.upload&&([d,p]=To(c),g.upload.addEventListener("progress",d),g.upload.addEventListener("loadend",p)),(s.cancelToken||s.signal)&&(u=w=>{g&&(r(!w||w.type?new ds(null,e,g):w),g.abort(),g=null)},s.cancelToken&&s.cancelToken.subscribe(u),s.signal&&(s.signal.aborted?u():s.signal.addEventListener("abort",u)));const b=kP(s.url);if(b&&Ke.protocols.indexOf(b)===-1){r(new ie("Unsupported protocol "+b+":",ie.ERR_BAD_REQUEST,e));return}g.send(i||null)})},VP=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let r=new AbortController,s;const i=function(l){if(!s){s=!0,a();const u=l instanceof Error?l:this.reason;r.abort(u instanceof ie?u:new ds(u instanceof Error?u.message:u))}};let o=t&&setTimeout(()=>{o=null,i(new ie(`timeout ${t} of ms exceeded`,ie.ETIMEDOUT))},t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(l=>{l.unsubscribe?l.unsubscribe(i):l.removeEventListener("abort",i)}),e=null)};e.forEach(l=>l.addEventListener("abort",i));const{signal:c}=r;return c.unsubscribe=()=>k.asap(a),c}},BP=function*(e,t){let n=e.byteLength;if(n{const s=UP(e,t);let i=0,o,a=c=>{o||(o=!0,r&&r(c))};return new ReadableStream({async pull(c){try{const{done:l,value:u}=await s.next();if(l){a(),c.close();return}let d=u.byteLength;if(n){let f=i+=d;n(f)}c.enqueue(new Uint8Array(u))}catch(l){throw a(l),l}},cancel(c){return a(c),s.return()}},{highWaterMark:2})},Qo=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",vy=Qo&&typeof ReadableStream=="function",zP=Qo&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),xy=(e,...t)=>{try{return!!e(...t)}catch{return!1}},WP=vy&&xy(()=>{let e=!1;const t=new Request(Ke.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Nf=64*1024,yc=vy&&xy(()=>k.isReadableStream(new Response("").body)),Co={stream:yc&&(e=>e.body)};Qo&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Co[t]&&(Co[t]=k.isFunction(e[t])?n=>n[t]():(n,r)=>{throw new ie(`Response type '${t}' is not supported`,ie.ERR_NOT_SUPPORT,r)})})})(new Response);const HP=async e=>{if(e==null)return 0;if(k.isBlob(e))return e.size;if(k.isSpecCompliantForm(e))return(await new Request(Ke.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(k.isArrayBufferView(e)||k.isArrayBuffer(e))return e.byteLength;if(k.isURLSearchParams(e)&&(e=e+""),k.isString(e))return(await zP(e)).byteLength},qP=async(e,t)=>{const n=k.toFiniteNumber(e.getContentLength());return n??HP(t)},ZP=Qo&&(async e=>{let{url:t,method:n,data:r,signal:s,cancelToken:i,timeout:o,onDownloadProgress:a,onUploadProgress:c,responseType:l,headers:u,withCredentials:d="same-origin",fetchOptions:f}=yy(e);l=l?(l+"").toLowerCase():"text";let p=VP([s,i&&i.toAbortSignal()],o),m;const h=p&&p.unsubscribe&&(()=>{p.unsubscribe()});let g;try{if(c&&WP&&n!=="get"&&n!=="head"&&(g=await qP(u,r))!==0){let S=new Request(t,{method:"POST",body:r,duplex:"half"}),E;if(k.isFormData(r)&&(E=S.headers.get("content-type"))&&u.setContentType(E),S.body){const[R,A]=Pf(g,To(Rf(c)));r=Of(S.body,Nf,R,A)}}k.isString(d)||(d=d?"include":"omit");const v="credentials"in Request.prototype;m=new Request(t,{...f,signal:p,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:r,duplex:"half",credentials:v?d:void 0});let b=await fetch(m);const w=yc&&(l==="stream"||l==="response");if(yc&&(a||w&&h)){const S={};["status","statusText","headers"].forEach(N=>{S[N]=b[N]});const E=k.toFiniteNumber(b.headers.get("content-length")),[R,A]=a&&Pf(E,To(Rf(a),!0))||[];b=new Response(Of(b.body,Nf,R,()=>{A&&A(),h&&h()}),S)}l=l||"text";let T=await Co[k.findKey(Co,l)||"text"](b,e);return!w&&h&&h(),await new Promise((S,E)=>{my(S,E,{data:T,headers:lt.from(b.headers),status:b.status,statusText:b.statusText,config:e,request:m})})}catch(v){throw h&&h(),v&&v.name==="TypeError"&&/fetch/i.test(v.message)?Object.assign(new ie("Network Error",ie.ERR_NETWORK,e,m),{cause:v.cause||v}):ie.from(v,v&&v.code,e,m)}}),vc={http:cP,xhr:IP,fetch:ZP};k.forEach(vc,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const jf=e=>`- ${e}`,GP=e=>k.isFunction(e)||e===null||e===!1,by={getAdapter:e=>{e=k.isArray(e)?e:[e];const{length:t}=e;let n,r;const s={};for(let i=0;i`adapter ${a} `+(c===!1?"is not supported by the environment":"is not available in the build"));let o=t?i.length>1?`since : -`+i.map(jf).join(` -`):" "+jf(i[0]):"as no adapter specified";throw new ie("There is no suitable adapter to dispatch the request "+o,"ERR_NOT_SUPPORT")}return r},adapters:vc};function ja(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new ds(null,e)}function Df(e){return ja(e),e.headers=lt.from(e.headers),e.data=Na.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),by.getAdapter(e.adapter||_i.adapter)(e).then(function(r){return ja(e),r.data=Na.call(e,e.transformResponse,r),r.headers=lt.from(r.headers),r},function(r){return py(r)||(ja(e),r&&r.response&&(r.response.data=Na.call(e,e.transformResponse,r.response),r.response.headers=lt.from(r.response.headers))),Promise.reject(r)})}const wy="1.7.9",Xo={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{Xo[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}});const Mf={};Xo.transitional=function(t,n,r){function s(i,o){return"[Axios v"+wy+"] Transitional option '"+i+"'"+o+(r?". "+r:"")}return(i,o,a)=>{if(t===!1)throw new ie(s(o," has been removed"+(n?" in "+n:"")),ie.ERR_DEPRECATED);return n&&!Mf[o]&&(Mf[o]=!0,console.warn(s(o," has been deprecated since v"+n+" and will be removed in the near future"))),t?t(i,o,a):!0}};Xo.spelling=function(t){return(n,r)=>(console.warn(`${r} is likely a misspelling of ${t}`),!0)};function KP(e,t,n){if(typeof e!="object")throw new ie("options must be an object",ie.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let s=r.length;for(;s-- >0;){const i=r[s],o=t[i];if(o){const a=e[i],c=a===void 0||o(a,i,e);if(c!==!0)throw new ie("option "+i+" must be "+c,ie.ERR_BAD_OPTION_VALUE);continue}if(n!==!0)throw new ie("Unknown option "+i,ie.ERR_BAD_OPTION)}}const eo={assertOptions:KP,validators:Xo},zt=eo.validators;class cr{constructor(t){this.defaults=t,this.interceptors={request:new Af,response:new Af}}async request(t,n){try{return await this._request(t,n)}catch(r){if(r instanceof Error){let s={};Error.captureStackTrace?Error.captureStackTrace(s):s=new Error;const i=s.stack?s.stack.replace(/^.+\n/,""):"";try{r.stack?i&&!String(r.stack).endsWith(i.replace(/^.+\n.+\n/,""))&&(r.stack+=` -`+i):r.stack=i}catch{}}throw r}}_request(t,n){typeof t=="string"?(n=n||{},n.url=t):n=t||{},n=gr(this.defaults,n);const{transitional:r,paramsSerializer:s,headers:i}=n;r!==void 0&&eo.assertOptions(r,{silentJSONParsing:zt.transitional(zt.boolean),forcedJSONParsing:zt.transitional(zt.boolean),clarifyTimeoutError:zt.transitional(zt.boolean)},!1),s!=null&&(k.isFunction(s)?n.paramsSerializer={serialize:s}:eo.assertOptions(s,{encode:zt.function,serialize:zt.function},!0)),eo.assertOptions(n,{baseUrl:zt.spelling("baseURL"),withXsrfToken:zt.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&k.merge(i.common,i[n.method]);i&&k.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=lt.concat(o,i);const a=[];let c=!0;this.interceptors.request.forEach(function(h){typeof h.runWhen=="function"&&h.runWhen(n)===!1||(c=c&&h.synchronous,a.unshift(h.fulfilled,h.rejected))});const l=[];this.interceptors.response.forEach(function(h){l.push(h.fulfilled,h.rejected)});let u,d=0,f;if(!c){const m=[Df.bind(this),void 0];for(m.unshift.apply(m,a),m.push.apply(m,l),f=m.length,u=Promise.resolve(n);d{if(!r._listeners)return;let i=r._listeners.length;for(;i-- >0;)r._listeners[i](s);r._listeners=null}),this.promise.then=s=>{let i;const o=new Promise(a=>{r.subscribe(a),i=a}).then(s);return o.cancel=function(){r.unsubscribe(i)},o},t(function(i,o,a){r.reason||(r.reason=new ds(i,o,a),n(r.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(t){if(this.reason){t(this.reason);return}this._listeners?this._listeners.push(t):this._listeners=[t]}unsubscribe(t){if(!this._listeners)return;const n=this._listeners.indexOf(t);n!==-1&&this._listeners.splice(n,1)}toAbortSignal(){const t=new AbortController,n=r=>{t.abort(r)};return this.subscribe(n),t.signal.unsubscribe=()=>this.unsubscribe(n),t.signal}static source(){let t;return{token:new Jl(function(s){t=s}),cancel:t}}}function QP(e){return function(n){return e.apply(null,n)}}function XP(e){return k.isObject(e)&&e.isAxiosError===!0}const xc={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(xc).forEach(([e,t])=>{xc[t]=e});function Sy(e){const t=new cr(e),n=Jg(cr.prototype.request,t);return k.extend(n,cr.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(s){return Sy(gr(e,s))},n}const _e=Sy(_i);_e.Axios=cr;_e.CanceledError=ds;_e.CancelToken=Jl;_e.isCancel=py;_e.VERSION=wy;_e.toFormData=Ko;_e.AxiosError=ie;_e.Cancel=_e.CanceledError;_e.all=function(t){return Promise.all(t)};_e.spread=QP;_e.isAxiosError=XP;_e.mergeConfig=gr;_e.AxiosHeaders=lt;_e.formToJSON=e=>hy(k.isHTMLForm(e)?new FormData(e):e);_e.getAdapter=by.getAdapter;_e.HttpStatusCode=xc;_e.default=_e;const fs="https://turkmentextile.turkmenexpo.com/app/api/v1",eu=_e.create({baseURL:"https://turkmentextile.turkmenexpo.com/app/api/v1/"}),Xk=async e=>(await _e.post(`${fs}/book_stand_form`,e)).status===201,Yk=async e=>(await _e.post(`${fs}/become_sponsor_form`,e)).status===201,Jk=async e=>(await _e.post(`${fs}/contact_form`,e)).status===201,YP=async e=>(await eu.post("subscribe_news_form",e)).status===201,JP=async(e,t)=>_e.get(`${fs}/pages/${t}`,{headers:{"Accept-Language":e}}),eR=async e=>eu.get("/stats",{headers:{"Accept-Language":e}}),tR=async e=>eu("contact_data",{headers:{"Accept-Language":e}}),nR=async e=>_e.get(`${fs}/industries`,{headers:{"Accept-Language":e}}),rR=async e=>_e.get(`${fs}/exhibition_time`,{headers:{"Accept-Language":e}}),sR=wf.object({email:wf.string().email()}),_y=({modal:e=!1})=>{var i,o;const[t,n]=x.useState(!1),r=NT({resolver:pA(sR),defaultValues:{email:""}});async function s(a){try{const c=await YP(a);r.reset(),n(c)}catch(c){console.error("POST subscribe",c)}}return y.jsx("form",{onSubmit:r.handleSubmit(s),className:X("py-8",e?"max-w-[392px] mx-auto":"bg-surface_container"),children:y.jsxs(st,{className:X("flex gap-8 justify-between",e?"flex-col w-full":"lg:flex-row flex-col lg:items-center"),children:[y.jsx("h2",{className:"h2 !text-left",children:Ra("Подпишитесь на новости:","Subscribe to the news:")}),y.jsxs("div",{className:"relative",children:[y.jsx("input",{...r.register("email"),placeholder:"Email",className:X("input",{"w-full":e,"xl:w-[392px] lg:w-[320px] w-full":!e})}),y.jsx("span",{className:"text-error absolute text-red-600 -bottom-6 text-sm left-0",children:(o=(i=r.formState.errors)==null?void 0:i.email)==null?void 0:o.message})]}),y.jsx(ut,{loading:r.formState.isSubmitting,disabled:t,className:X({"xl:w-[288px] lg:w-[220px] w-full":!e,"w-full":e}),children:t?Ra("Отправлено","Submitted"):Ra("Подписаться","Subscribe")})]})})},iR=({className:e,title:t})=>y.jsxs(oA,{children:[y.jsx(aA,{className:X("h-14 px-3 flex gap-3 items-center hover:bg-slate-300/50 transition-all",e),children:t}),y.jsx(Ug,{children:y.jsx(_y,{className:"",modal:!0})})]}),Ff=({title:e,dropDownContent:t,color:n,onMenu:r})=>{const[s,i]=x.useState(!1);return y.jsxs(Ig,{open:s,onOpenChange:()=>i(!s),children:[y.jsxs(Vg,{className:"flex items-center gap-2",children:[e,y.jsx(oR,{color:n})]}),y.jsx(Gl,{className:"w-fit px-0 py-2 cursor-pointer bg-surface_container",children:t&&t.map(o=>o.link?y.jsxs(Me,{onClick:()=>i(!1),className:"h-14 px-3 flex gap-3 items-center hover:bg-slate-300/50 transition-all",target:o.blank?"_blank":"",to:o.link,children:[o.text,o.blank&&y.jsx("img",{src:"/pdf.svg"})]},o.text):o.modal?y.jsx(iR,{title:o.text},o.text):y.jsx("div",{className:"h-14 px-3 flex items-center hover:bg-slate-300/50 transition-all",onClick:()=>{i(!1),r==null||r()},children:o.text},o.text))})]})},oR=({color:e="white"})=>y.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:y.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M4.23021 8.01443C4.35919 7.70304 4.66305 7.5 5.00011 7.5H15.0001C15.3372 7.5 15.641 7.70304 15.77 8.01443C15.899 8.32583 15.8277 8.68426 15.5894 8.92259L10.5894 13.9226C10.2639 14.248 9.73629 14.248 9.41085 13.9226L4.41085 8.92259C4.17252 8.68426 4.10122 8.32583 4.23021 8.01443ZM7.01195 9.16667L10.0001 12.1548L12.9883 9.16667H7.01195Z",fill:e})}),hs=({className:e})=>y.jsx(st,{className:X("w-full py-20 h-full flex items-center justify-between",e),children:y.jsx(Zh,{className:"animate-spin mx-auto text-primary size-16"})}),bc=[{title:"Тематические направления выставки",bottom_text:` - Участники смогут продемонстрировать свои инновационные решения, наладить взаимовыгодные партнерства и выйти на новые рынки.`,data:[{title:"Текстильные машины и оборудование",img:"/theme/1.svg"},{title:"Одежда, обувь, кожаные изделия",img:"/theme/2.svg"},{title:"Переработка натуральных волокон",img:"/theme/3.svg"},{title:"Домашний текстиль и эко-текстиль",img:"/theme/4.svg"},{title:"Запасные части и вспомогательные материалы",img:"/theme/5.svg"},{title:"Химические средства и красители",img:"/theme/6.svg"},{title:"Аксессуары и швейная фурнитура",img:"/theme/7.svg"},{title:"Мода и дизайн",img:"/theme/8.svg"}]},{title:"Thematic areas of the exhibition",bottom_text:` - Participants will be able to showcase innovative solutions, establish mutually beneficial partnerships, and enter new markets.`,data:[{title:"Textile machinery and equipment",img:"/theme/1.svg"},{title:"Clothing, footwear, leather goods",img:"/theme/2.svg"},{title:"Natural fibre processing",img:"/theme/3.svg"},{title:"Home textiles and eco-textiles",img:"/theme/4.svg"},{title:"Spare parts and auxiliary materials",img:"/theme/5.svg"},{title:"Chemicals and dyes",img:"/theme/6.svg"},{title:"Accessories and sewing supplies",img:"/theme/7.svg"},{title:"Fashion and design",img:"/theme/8.svg"}]}];var Ti=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},yr=typeof window>"u"||"Deno"in globalThis;function Tt(){}function aR(e,t){return typeof e=="function"?e(t):e}function wc(e){return typeof e=="number"&&e>=0&&e!==1/0}function Ty(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Mr(e,t){return typeof e=="function"?e(t):e}function kt(e,t){return typeof e=="function"?e(t):e}function Lf(e,t){const{type:n="all",exact:r,fetchStatus:s,predicate:i,queryKey:o,stale:a}=e;if(o){if(r){if(t.queryHash!==tu(o,t.options))return!1}else if(!oi(t.queryKey,o))return!1}if(n!=="all"){const c=t.isActive();if(n==="active"&&!c||n==="inactive"&&c)return!1}return!(typeof a=="boolean"&&t.isStale()!==a||s&&s!==t.state.fetchStatus||i&&!i(t))}function If(e,t){const{exact:n,status:r,predicate:s,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(ii(t.options.mutationKey)!==ii(i))return!1}else if(!oi(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||s&&!s(t))}function tu(e,t){return((t==null?void 0:t.queryKeyHashFn)||ii)(e)}function ii(e){return JSON.stringify(e,(t,n)=>_c(n)?Object.keys(n).sort().reduce((r,s)=>(r[s]=n[s],r),{}):n)}function oi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!oi(e[n],t[n])):!1}function Cy(e,t){if(e===t)return e;const n=Vf(e)&&Vf(t);if(n||_c(e)&&_c(t)){const r=n?e:Object.keys(e),s=r.length,i=n?t:Object.keys(t),o=i.length,a=n?[]:{};let c=0;for(let l=0;l{setTimeout(t,e)})}function Tc(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Cy(e,t):t}function lR(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function uR(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var nu=Symbol();function Ay(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===nu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var Yn,Tn,Fr,eh,dR=(eh=class extends Ti{constructor(){super();te(this,Yn);te(this,Tn);te(this,Fr);H(this,Fr,t=>{if(!yr&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){C(this,Tn)||this.setEventListener(C(this,Fr))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,Tn))==null||t.call(this),H(this,Tn,void 0))}setEventListener(t){var n;H(this,Fr,t),(n=C(this,Tn))==null||n.call(this),H(this,Tn,t(r=>{typeof r=="boolean"?this.setFocused(r):this.onFocus()}))}setFocused(t){C(this,Yn)!==t&&(H(this,Yn,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof C(this,Yn)=="boolean"?C(this,Yn):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},Yn=new WeakMap,Tn=new WeakMap,Fr=new WeakMap,eh),ru=new dR,Lr,Cn,Ir,th,fR=(th=class extends Ti{constructor(){super();te(this,Lr,!0);te(this,Cn);te(this,Ir);H(this,Ir,t=>{if(!yr&&window.addEventListener){const n=()=>t(!0),r=()=>t(!1);return window.addEventListener("online",n,!1),window.addEventListener("offline",r,!1),()=>{window.removeEventListener("online",n),window.removeEventListener("offline",r)}}})}onSubscribe(){C(this,Cn)||this.setEventListener(C(this,Ir))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,Cn))==null||t.call(this),H(this,Cn,void 0))}setEventListener(t){var n;H(this,Ir,t),(n=C(this,Cn))==null||n.call(this),H(this,Cn,t(this.setOnline.bind(this)))}setOnline(t){C(this,Lr)!==t&&(H(this,Lr,t),this.listeners.forEach(r=>{r(t)}))}isOnline(){return C(this,Lr)}},Lr=new WeakMap,Cn=new WeakMap,Ir=new WeakMap,th),Ao=new fR;function Cc(){let e,t;const n=new Promise((s,i)=>{e=s,t=i});n.status="pending",n.catch(()=>{});function r(s){Object.assign(n,s),delete n.resolve,delete n.reject}return n.resolve=s=>{r({status:"fulfilled",value:s}),e(s)},n.reject=s=>{r({status:"rejected",reason:s}),t(s)},n}function hR(e){return Math.min(1e3*2**e,3e4)}function Ey(e){return(e??"online")==="online"?Ao.isOnline():!0}var Py=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Da(e){return e instanceof Py}function Ry(e){let t=!1,n=0,r=!1,s;const i=Cc(),o=h=>{var g;r||(f(new Py(h)),(g=e.abort)==null||g.call(e))},a=()=>{t=!0},c=()=>{t=!1},l=()=>ru.isFocused()&&(e.networkMode==="always"||Ao.isOnline())&&e.canRun(),u=()=>Ey(e.networkMode)&&e.canRun(),d=h=>{var g;r||(r=!0,(g=e.onSuccess)==null||g.call(e,h),s==null||s(),i.resolve(h))},f=h=>{var g;r||(r=!0,(g=e.onError)==null||g.call(e,h),s==null||s(),i.reject(h))},p=()=>new Promise(h=>{var g;s=v=>{(r||l())&&h(v)},(g=e.onPause)==null||g.call(e)}).then(()=>{var h;s=void 0,r||(h=e.onContinue)==null||h.call(e)}),m=()=>{if(r)return;let h;const g=n===0?e.initialPromise:void 0;try{h=g??e.fn()}catch(v){h=Promise.reject(v)}Promise.resolve(h).then(d).catch(v=>{var E;if(r)return;const b=e.retry??(yr?0:3),w=e.retryDelay??hR,T=typeof w=="function"?w(n,v):w,S=b===!0||typeof b=="number"&&nl()?void 0:p()).then(()=>{t?f(v):m()})})};return{promise:i,cancel:o,continue:()=>(s==null||s(),i),cancelRetry:a,continueRetry:c,canStart:u,start:()=>(u()?m():p().then(m),i)}}function pR(){let e=[],t=0,n=a=>{a()},r=a=>{a()},s=a=>setTimeout(a,0);const i=a=>{t?e.push(a):s(()=>{n(a)})},o=()=>{const a=e;e=[],a.length&&s(()=>{r(()=>{a.forEach(c=>{n(c)})})})};return{batch:a=>{let c;t++;try{c=a()}finally{t--,t||o()}return c},batchCalls:a=>(...c)=>{i(()=>{a(...c)})},schedule:i,setNotifyFunction:a=>{n=a},setBatchNotifyFunction:a=>{r=a},setScheduler:a=>{s=a}}}var ze=pR(),Jn,nh,ky=(nh=class{constructor(){te(this,Jn)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),wc(this.gcTime)&&H(this,Jn,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(yr?1/0:5*60*1e3))}clearGcTimeout(){C(this,Jn)&&(clearTimeout(C(this,Jn)),H(this,Jn,void 0))}},Jn=new WeakMap,nh),Vr,Br,_t,er,Ze,ui,tr,Pt,ln,rh,mR=(rh=class extends ky{constructor(t){super();te(this,Pt);te(this,Vr);te(this,Br);te(this,_t);te(this,er);te(this,Ze);te(this,ui);te(this,tr);H(this,tr,!1),H(this,ui,t.defaultOptions),this.setOptions(t.options),this.observers=[],H(this,er,t.client),H(this,_t,C(this,er).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,H(this,Vr,gR(this.options)),this.state=t.state??C(this,Vr),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=C(this,Ze))==null?void 0:t.promise}setOptions(t){this.options={...C(this,ui),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&C(this,_t).remove(this)}setData(t,n){const r=Tc(this.state.data,t,this.options);return fe(this,Pt,ln).call(this,{data:r,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),r}setState(t,n){fe(this,Pt,ln).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var r,s;const n=(r=C(this,Ze))==null?void 0:r.promise;return(s=C(this,Ze))==null||s.cancel(t),n?n.then(Tt).catch(Tt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(C(this,Vr))}isActive(){return this.observers.some(t=>kt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===nu||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return this.state.isInvalidated?!0:this.getObserversCount()>0?this.observers.some(t=>t.getCurrentResult().isStale):this.state.data===void 0}isStaleByTime(t=0){return this.state.isInvalidated||this.state.data===void 0||!Ty(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(r=>r.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Ze))==null||n.continue()}onOnline(){var n;const t=this.observers.find(r=>r.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Ze))==null||n.continue()}addObserver(t){this.observers.includes(t)||(this.observers.push(t),this.clearGcTimeout(),C(this,_t).notify({type:"observerAdded",query:this,observer:t}))}removeObserver(t){this.observers.includes(t)&&(this.observers=this.observers.filter(n=>n!==t),this.observers.length||(C(this,Ze)&&(C(this,tr)?C(this,Ze).cancel({revert:!0}):C(this,Ze).cancelRetry()),this.scheduleGc()),C(this,_t).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||fe(this,Pt,ln).call(this,{type:"invalidate"})}fetch(t,n){var c,l,u;if(this.state.fetchStatus!=="idle"){if(this.state.data!==void 0&&(n!=null&&n.cancelRefetch))this.cancel({silent:!0});else if(C(this,Ze))return C(this,Ze).continueRetry(),C(this,Ze).promise}if(t&&this.setOptions(t),!this.options.queryFn){const d=this.observers.find(f=>f.options.queryFn);d&&this.setOptions(d.options)}const r=new AbortController,s=d=>{Object.defineProperty(d,"signal",{enumerable:!0,get:()=>(H(this,tr,!0),r.signal)})},i=()=>{const d=Ay(this.options,n),f={client:C(this,er),queryKey:this.queryKey,meta:this.meta};return s(f),H(this,tr,!1),this.options.persister?this.options.persister(d,f,this):d(f)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:C(this,er),state:this.state,fetchFn:i};s(o),(c=this.options.behavior)==null||c.onFetch(o,this),H(this,Br,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((l=o.fetchOptions)==null?void 0:l.meta))&&fe(this,Pt,ln).call(this,{type:"fetch",meta:(u=o.fetchOptions)==null?void 0:u.meta});const a=d=>{var f,p,m,h;Da(d)&&d.silent||fe(this,Pt,ln).call(this,{type:"error",error:d}),Da(d)||((p=(f=C(this,_t).config).onError)==null||p.call(f,d,this),(h=(m=C(this,_t).config).onSettled)==null||h.call(m,this.state.data,d,this)),this.scheduleGc()};return H(this,Ze,Ry({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:r.abort.bind(r),onSuccess:d=>{var f,p,m,h;if(d===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(g){a(g);return}(p=(f=C(this,_t).config).onSuccess)==null||p.call(f,d,this),(h=(m=C(this,_t).config).onSettled)==null||h.call(m,d,this.state.error,this),this.scheduleGc()},onError:a,onFail:(d,f)=>{fe(this,Pt,ln).call(this,{type:"failed",failureCount:d,error:f})},onPause:()=>{fe(this,Pt,ln).call(this,{type:"pause"})},onContinue:()=>{fe(this,Pt,ln).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),C(this,Ze).start()}},Vr=new WeakMap,Br=new WeakMap,_t=new WeakMap,er=new WeakMap,Ze=new WeakMap,ui=new WeakMap,tr=new WeakMap,Pt=new WeakSet,ln=function(t){const n=r=>{switch(t.type){case"failed":return{...r,fetchFailureCount:t.failureCount,fetchFailureReason:t.error};case"pause":return{...r,fetchStatus:"paused"};case"continue":return{...r,fetchStatus:"fetching"};case"fetch":return{...r,...Oy(r.data,this.options),fetchMeta:t.meta??null};case"success":return{...r,data:t.data,dataUpdateCount:r.dataUpdateCount+1,dataUpdatedAt:t.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!t.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const s=t.error;return Da(s)&&s.revert&&C(this,Br)?{...C(this,Br),fetchStatus:"idle"}:{...r,error:s,errorUpdateCount:r.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:r.fetchFailureCount+1,fetchFailureReason:s,fetchStatus:"idle",status:"error"};case"invalidate":return{...r,isInvalidated:!0};case"setState":return{...r,...t.state}}};this.state=n(this.state),ze.batch(()=>{this.observers.forEach(r=>{r.onQueryUpdate()}),C(this,_t).notify({query:this,type:"updated",action:t})})},rh);function Oy(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Ey(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function gR(e){const t=typeof e.initialData=="function"?e.initialData():e.initialData,n=t!==void 0,r=n?typeof e.initialDataUpdatedAt=="function"?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Wt,sh,yR=(sh=class extends Ti{constructor(t={}){super();te(this,Wt);this.config=t,H(this,Wt,new Map)}build(t,n,r){const s=n.queryKey,i=n.queryHash??tu(s,n);let o=this.get(i);return o||(o=new mR({client:t,queryKey:s,queryHash:i,options:t.defaultQueryOptions(n),state:r,defaultOptions:t.getQueryDefaults(s)}),this.add(o)),o}add(t){C(this,Wt).has(t.queryHash)||(C(this,Wt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=C(this,Wt).get(t.queryHash);n&&(t.destroy(),n===t&&C(this,Wt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){ze.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return C(this,Wt).get(t)}getAll(){return[...C(this,Wt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(r=>Lf(n,r))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(r=>Lf(t,r)):n}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){ze.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){ze.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},Wt=new WeakMap,sh),Ht,Je,nr,qt,Sn,ih,vR=(ih=class extends ky{constructor(t){super();te(this,qt);te(this,Ht);te(this,Je);te(this,nr);this.mutationId=t.mutationId,H(this,Je,t.mutationCache),H(this,Ht,[]),this.state=t.state||xR(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){C(this,Ht).includes(t)||(C(this,Ht).push(t),this.clearGcTimeout(),C(this,Je).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){H(this,Ht,C(this,Ht).filter(n=>n!==t)),this.scheduleGc(),C(this,Je).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){C(this,Ht).length||(this.state.status==="pending"?this.scheduleGc():C(this,Je).remove(this))}continue(){var t;return((t=C(this,nr))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var s,i,o,a,c,l,u,d,f,p,m,h,g,v,b,w,T,S,E,R;H(this,nr,Ry({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(A,N)=>{fe(this,qt,Sn).call(this,{type:"failed",failureCount:A,error:N})},onPause:()=>{fe(this,qt,Sn).call(this,{type:"pause"})},onContinue:()=>{fe(this,qt,Sn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>C(this,Je).canRun(this)}));const n=this.state.status==="pending",r=!C(this,nr).canStart();try{if(!n){fe(this,qt,Sn).call(this,{type:"pending",variables:t,isPaused:r}),await((i=(s=C(this,Je).config).onMutate)==null?void 0:i.call(s,t,this));const N=await((a=(o=this.options).onMutate)==null?void 0:a.call(o,t));N!==this.state.context&&fe(this,qt,Sn).call(this,{type:"pending",context:N,variables:t,isPaused:r})}const A=await C(this,nr).start();return await((l=(c=C(this,Je).config).onSuccess)==null?void 0:l.call(c,A,t,this.state.context,this)),await((d=(u=this.options).onSuccess)==null?void 0:d.call(u,A,t,this.state.context)),await((p=(f=C(this,Je).config).onSettled)==null?void 0:p.call(f,A,null,this.state.variables,this.state.context,this)),await((h=(m=this.options).onSettled)==null?void 0:h.call(m,A,null,t,this.state.context)),fe(this,qt,Sn).call(this,{type:"success",data:A}),A}catch(A){try{throw await((v=(g=C(this,Je).config).onError)==null?void 0:v.call(g,A,t,this.state.context,this)),await((w=(b=this.options).onError)==null?void 0:w.call(b,A,t,this.state.context)),await((S=(T=C(this,Je).config).onSettled)==null?void 0:S.call(T,void 0,A,this.state.variables,this.state.context,this)),await((R=(E=this.options).onSettled)==null?void 0:R.call(E,void 0,A,t,this.state.context)),A}finally{fe(this,qt,Sn).call(this,{type:"error",error:A})}}finally{C(this,Je).runNext(this)}}},Ht=new WeakMap,Je=new WeakMap,nr=new WeakMap,qt=new WeakSet,Sn=function(t){const n=r=>{switch(t.type){case"failed":return{...r,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...r,isPaused:!0};case"continue":return{...r,isPaused:!1};case"pending":return{...r,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...r,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...r,data:void 0,error:t.error,failureCount:r.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}};this.state=n(this.state),ze.batch(()=>{C(this,Ht).forEach(r=>{r.onMutationUpdate(t)}),C(this,Je).notify({mutation:this,type:"updated",action:t})})},ih);function xR(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var dn,Rt,di,oh,bR=(oh=class extends Ti{constructor(t={}){super();te(this,dn);te(this,Rt);te(this,di);this.config=t,H(this,dn,new Set),H(this,Rt,new Map),H(this,di,0)}build(t,n,r){const s=new vR({mutationCache:this,mutationId:++Ri(this,di)._,options:t.defaultMutationOptions(n),state:r});return this.add(s),s}add(t){C(this,dn).add(t);const n=Ui(t);if(typeof n=="string"){const r=C(this,Rt).get(n);r?r.push(t):C(this,Rt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(C(this,dn).delete(t)){const n=Ui(t);if(typeof n=="string"){const r=C(this,Rt).get(n);if(r)if(r.length>1){const s=r.indexOf(t);s!==-1&&r.splice(s,1)}else r[0]===t&&C(this,Rt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=Ui(t);if(typeof n=="string"){const r=C(this,Rt).get(n),s=r==null?void 0:r.find(i=>i.state.status==="pending");return!s||s===t}else return!0}runNext(t){var r;const n=Ui(t);if(typeof n=="string"){const s=(r=C(this,Rt).get(n))==null?void 0:r.find(i=>i!==t&&i.state.isPaused);return(s==null?void 0:s.continue())??Promise.resolve()}else return Promise.resolve()}clear(){ze.batch(()=>{C(this,dn).forEach(t=>{this.notify({type:"removed",mutation:t})}),C(this,dn).clear(),C(this,Rt).clear()})}getAll(){return Array.from(C(this,dn))}find(t){const n={exact:!0,...t};return this.getAll().find(r=>If(n,r))}findAll(t={}){return this.getAll().filter(n=>If(t,n))}notify(t){ze.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return ze.batch(()=>Promise.all(t.map(n=>n.continue().catch(Tt))))}},dn=new WeakMap,Rt=new WeakMap,di=new WeakMap,oh);function Ui(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Uf(e){return{onFetch:(t,n)=>{var u,d,f,p,m;const r=t.options,s=(f=(d=(u=t.fetchOptions)==null?void 0:u.meta)==null?void 0:d.fetchMore)==null?void 0:f.direction,i=((p=t.state.data)==null?void 0:p.pages)||[],o=((m=t.state.data)==null?void 0:m.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const l=async()=>{let h=!1;const g=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?h=!0:t.signal.addEventListener("abort",()=>{h=!0}),t.signal)})},v=Ay(t.options,t.fetchOptions),b=async(w,T,S)=>{if(h)return Promise.reject();if(T==null&&w.pages.length)return Promise.resolve(w);const E={client:t.client,queryKey:t.queryKey,pageParam:T,direction:S?"backward":"forward",meta:t.options.meta};g(E);const R=await v(E),{maxPages:A}=t.options,N=S?uR:lR;return{pages:N(w.pages,R,A),pageParams:N(w.pageParams,T,A)}};if(s&&i.length){const w=s==="backward",T=w?wR:$f,S={pages:i,pageParams:o},E=T(r,S);a=await b(S,E,w)}else{const w=e??i.length;do{const T=c===0?o[0]??r.initialPageParam:$f(r,a);if(c>0&&T==null)break;a=await b(a,T),c++}while(c{var h,g;return(g=(h=t.options).persister)==null?void 0:g.call(h,l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=l}}}function $f(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function wR(e,{pages:t,pageParams:n}){var r;return t.length>0?(r=e.getPreviousPageParam)==null?void 0:r.call(e,t[0],t,n[0],n):void 0}var Re,An,En,Ur,$r,Pn,zr,Wr,ah,e1=(ah=class{constructor(e={}){te(this,Re);te(this,An);te(this,En);te(this,Ur);te(this,$r);te(this,Pn);te(this,zr);te(this,Wr);H(this,Re,e.queryCache||new yR),H(this,An,e.mutationCache||new bR),H(this,En,e.defaultOptions||{}),H(this,Ur,new Map),H(this,$r,new Map),H(this,Pn,0)}mount(){Ri(this,Pn)._++,C(this,Pn)===1&&(H(this,zr,ru.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,Re).onFocus())})),H(this,Wr,Ao.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,Re).onOnline())})))}unmount(){var e,t;Ri(this,Pn)._--,C(this,Pn)===0&&((e=C(this,zr))==null||e.call(this),H(this,zr,void 0),(t=C(this,Wr))==null||t.call(this),H(this,Wr,void 0))}isFetching(e){return C(this,Re).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return C(this,An).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,Re).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=C(this,Re).build(this,t),r=n.state.data;return r===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Mr(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return C(this,Re).findAll(e).map(({queryKey:t,state:n})=>{const r=n.data;return[t,r]})}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),s=C(this,Re).get(r.queryHash),i=s==null?void 0:s.state.data,o=aR(t,i);if(o!==void 0)return C(this,Re).build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return ze.batch(()=>C(this,Re).findAll(e).map(({queryKey:r})=>[r,this.setQueryData(r,t,n)]))}getQueryState(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,Re).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=C(this,Re);ze.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=C(this,Re),r={type:"active",...e};return ze.batch(()=>(n.findAll(e).forEach(s=>{s.reset()}),this.refetchQueries(r,t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=ze.batch(()=>C(this,Re).findAll(e).map(s=>s.cancel(n)));return Promise.all(r).then(Tt).catch(Tt)}invalidateQueries(e,t={}){return ze.batch(()=>{if(C(this,Re).findAll(e).forEach(r=>{r.invalidate()}),(e==null?void 0:e.refetchType)==="none")return Promise.resolve();const n={...e,type:(e==null?void 0:e.refetchType)??(e==null?void 0:e.type)??"active"};return this.refetchQueries(n,t)})}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=ze.batch(()=>C(this,Re).findAll(e).filter(s=>!s.isDisabled()).map(s=>{let i=s.fetch(void 0,n);return n.throwOnError||(i=i.catch(Tt)),s.state.fetchStatus==="paused"?Promise.resolve():i}));return Promise.all(r).then(Tt)}fetchQuery(e){const t=this.defaultQueryOptions(e);t.retry===void 0&&(t.retry=!1);const n=C(this,Re).build(this,t);return n.isStaleByTime(Mr(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(Tt).catch(Tt)}fetchInfiniteQuery(e){return e.behavior=Uf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Tt).catch(Tt)}ensureInfiniteQueryData(e){return e.behavior=Uf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Ao.isOnline()?C(this,An).resumePausedMutations():Promise.resolve()}getQueryCache(){return C(this,Re)}getMutationCache(){return C(this,An)}getDefaultOptions(){return C(this,En)}setDefaultOptions(e){H(this,En,e)}setQueryDefaults(e,t){C(this,Ur).set(ii(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...C(this,Ur).values()],n={};return t.forEach(r=>{oi(e,r.queryKey)&&Object.assign(n,r.defaultOptions)}),n}setMutationDefaults(e,t){C(this,$r).set(ii(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...C(this,$r).values()];let n={};return t.forEach(r=>{oi(e,r.mutationKey)&&(n={...n,...r.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...C(this,En).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=tu(t.queryKey,t)),t.refetchOnReconnect===void 0&&(t.refetchOnReconnect=t.networkMode!=="always"),t.throwOnError===void 0&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===nu&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...C(this,En).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){C(this,Re).clear(),C(this,An).clear()}},Re=new WeakMap,An=new WeakMap,En=new WeakMap,Ur=new WeakMap,$r=new WeakMap,Pn=new WeakMap,zr=new WeakMap,Wr=new WeakMap,ah),at,he,fi,et,rr,Hr,Rn,Zt,hi,qr,Zr,sr,ir,kn,Gr,be,Ps,Ac,Ec,Pc,Rc,kc,Oc,Nc,Ny,ch,SR=(ch=class extends Ti{constructor(t,n){super();te(this,be);te(this,at);te(this,he);te(this,fi);te(this,et);te(this,rr);te(this,Hr);te(this,Rn);te(this,Zt);te(this,hi);te(this,qr);te(this,Zr);te(this,sr);te(this,ir);te(this,kn);te(this,Gr,new Set);this.options=n,H(this,at,t),H(this,Zt,null),H(this,Rn,Cc()),this.options.experimental_prefetchInRender||C(this,Rn).reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(n)}bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){this.listeners.size===1&&(C(this,he).addObserver(this),zf(C(this,he),this.options)?fe(this,be,Ps).call(this):this.updateResult(),fe(this,be,Rc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return jc(C(this,he),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return jc(C(this,he),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,fe(this,be,kc).call(this),fe(this,be,Oc).call(this),C(this,he).removeObserver(this)}setOptions(t,n){const r=this.options,s=C(this,he);if(this.options=C(this,at).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof kt(this.options.enabled,C(this,he))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");fe(this,be,Nc).call(this),C(this,he).setOptions(this.options),r._defaulted&&!Sc(this.options,r)&&C(this,at).getQueryCache().notify({type:"observerOptionsUpdated",query:C(this,he),observer:this});const i=this.hasListeners();i&&Wf(C(this,he),s,this.options,r)&&fe(this,be,Ps).call(this),this.updateResult(n),i&&(C(this,he)!==s||kt(this.options.enabled,C(this,he))!==kt(r.enabled,C(this,he))||Mr(this.options.staleTime,C(this,he))!==Mr(r.staleTime,C(this,he)))&&fe(this,be,Ac).call(this);const o=fe(this,be,Ec).call(this);i&&(C(this,he)!==s||kt(this.options.enabled,C(this,he))!==kt(r.enabled,C(this,he))||o!==C(this,kn))&&fe(this,be,Pc).call(this,o)}getOptimisticResult(t){const n=C(this,at).getQueryCache().build(C(this,at),t),r=this.createResult(n,t);return TR(this,r)&&(H(this,et,r),H(this,Hr,this.options),H(this,rr,C(this,he).state)),r}getCurrentResult(){return C(this,et)}trackResult(t,n){const r={};return Object.keys(t).forEach(s=>{Object.defineProperty(r,s,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(s),n==null||n(s),t[s])})}),r}trackProp(t){C(this,Gr).add(t)}getCurrentQuery(){return C(this,he)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=C(this,at).defaultQueryOptions(t),r=C(this,at).getQueryCache().build(C(this,at),n);return r.fetch().then(()=>this.createResult(r,n))}fetch(t){return fe(this,be,Ps).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),C(this,et)))}createResult(t,n){var A;const r=C(this,he),s=this.options,i=C(this,et),o=C(this,rr),a=C(this,Hr),l=t!==r?t.state:C(this,fi),{state:u}=t;let d={...u},f=!1,p;if(n._optimisticResults){const N=this.hasListeners(),D=!N&&zf(t,n),L=N&&Wf(t,r,n,s);(D||L)&&(d={...d,...Oy(u.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:m,errorUpdatedAt:h,status:g}=d;if(n.select&&d.data!==void 0)if(i&&d.data===(o==null?void 0:o.data)&&n.select===C(this,hi))p=C(this,qr);else try{H(this,hi,n.select),p=n.select(d.data),p=Tc(i==null?void 0:i.data,p,n),H(this,qr,p),H(this,Zt,null)}catch(N){H(this,Zt,N)}else p=d.data;if(n.placeholderData!==void 0&&p===void 0&&g==="pending"){let N;if(i!=null&&i.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))N=i.data;else if(N=typeof n.placeholderData=="function"?n.placeholderData((A=C(this,Zr))==null?void 0:A.state.data,C(this,Zr)):n.placeholderData,n.select&&N!==void 0)try{N=n.select(N),H(this,Zt,null)}catch(D){H(this,Zt,D)}N!==void 0&&(g="success",p=Tc(i==null?void 0:i.data,N,n),f=!0)}C(this,Zt)&&(m=C(this,Zt),p=C(this,qr),h=Date.now(),g="error");const v=d.fetchStatus==="fetching",b=g==="pending",w=g==="error",T=b&&v,S=p!==void 0,R={status:g,fetchStatus:d.fetchStatus,isPending:b,isSuccess:g==="success",isError:w,isInitialLoading:T,isLoading:T,data:p,dataUpdatedAt:d.dataUpdatedAt,error:m,errorUpdatedAt:h,failureCount:d.fetchFailureCount,failureReason:d.fetchFailureReason,errorUpdateCount:d.errorUpdateCount,isFetched:d.dataUpdateCount>0||d.errorUpdateCount>0,isFetchedAfterMount:d.dataUpdateCount>l.dataUpdateCount||d.errorUpdateCount>l.errorUpdateCount,isFetching:v,isRefetching:v&&!b,isLoadingError:w&&!S,isPaused:d.fetchStatus==="paused",isPlaceholderData:f,isRefetchError:w&&S,isStale:su(t,n),refetch:this.refetch,promise:C(this,Rn)};if(this.options.experimental_prefetchInRender){const N=j=>{R.status==="error"?j.reject(R.error):R.data!==void 0&&j.resolve(R.data)},D=()=>{const j=H(this,Rn,R.promise=Cc());N(j)},L=C(this,Rn);switch(L.status){case"pending":t.queryHash===r.queryHash&&N(L);break;case"fulfilled":(R.status==="error"||R.data!==L.value)&&D();break;case"rejected":(R.status!=="error"||R.error!==L.reason)&&D();break}}return R}updateResult(t){const n=C(this,et),r=this.createResult(C(this,he),this.options);if(H(this,rr,C(this,he).state),H(this,Hr,this.options),C(this,rr).data!==void 0&&H(this,Zr,C(this,he)),Sc(r,n))return;H(this,et,r);const s={},i=()=>{if(!n)return!0;const{notifyOnChangeProps:o}=this.options,a=typeof o=="function"?o():o;if(a==="all"||!a&&!C(this,Gr).size)return!0;const c=new Set(a??C(this,Gr));return this.options.throwOnError&&c.add("error"),Object.keys(C(this,et)).some(l=>{const u=l;return C(this,et)[u]!==n[u]&&c.has(u)})};(t==null?void 0:t.listeners)!==!1&&i()&&(s.listeners=!0),fe(this,be,Ny).call(this,{...s,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&fe(this,be,Rc).call(this)}},at=new WeakMap,he=new WeakMap,fi=new WeakMap,et=new WeakMap,rr=new WeakMap,Hr=new WeakMap,Rn=new WeakMap,Zt=new WeakMap,hi=new WeakMap,qr=new WeakMap,Zr=new WeakMap,sr=new WeakMap,ir=new WeakMap,kn=new WeakMap,Gr=new WeakMap,be=new WeakSet,Ps=function(t){fe(this,be,Nc).call(this);let n=C(this,he).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Tt)),n},Ac=function(){fe(this,be,kc).call(this);const t=Mr(this.options.staleTime,C(this,he));if(yr||C(this,et).isStale||!wc(t))return;const r=Ty(C(this,et).dataUpdatedAt,t)+1;H(this,sr,setTimeout(()=>{C(this,et).isStale||this.updateResult()},r))},Ec=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(C(this,he)):this.options.refetchInterval)??!1},Pc=function(t){fe(this,be,Oc).call(this),H(this,kn,t),!(yr||kt(this.options.enabled,C(this,he))===!1||!wc(C(this,kn))||C(this,kn)===0)&&H(this,ir,setInterval(()=>{(this.options.refetchIntervalInBackground||ru.isFocused())&&fe(this,be,Ps).call(this)},C(this,kn)))},Rc=function(){fe(this,be,Ac).call(this),fe(this,be,Pc).call(this,fe(this,be,Ec).call(this))},kc=function(){C(this,sr)&&(clearTimeout(C(this,sr)),H(this,sr,void 0))},Oc=function(){C(this,ir)&&(clearInterval(C(this,ir)),H(this,ir,void 0))},Nc=function(){const t=C(this,at).getQueryCache().build(C(this,at),this.options);if(t===C(this,he))return;const n=C(this,he);H(this,he,t),H(this,fi,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},Ny=function(t){ze.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(C(this,et))}),C(this,at).getQueryCache().notify({query:C(this,he),type:"observerResultsUpdated"})})},ch);function _R(e,t){return kt(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function zf(e,t){return _R(e,t)||e.state.data!==void 0&&jc(e,t,t.refetchOnMount)}function jc(e,t,n){if(kt(t.enabled,e)!==!1){const r=typeof n=="function"?n(e):n;return r==="always"||r!==!1&&su(e,t)}return!1}function Wf(e,t,n,r){return(e!==t||kt(r.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&su(e,n)}function su(e,t){return kt(t.enabled,e)!==!1&&e.isStaleByTime(Mr(t.staleTime,e))}function TR(e,t){return!Sc(e.getCurrentResult(),t)}var jy=x.createContext(void 0),CR=e=>{const t=x.useContext(jy);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},t1=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),y.jsx(jy.Provider,{value:e,children:t})),Dy=x.createContext(!1),AR=()=>x.useContext(Dy);Dy.Provider;function ER(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var PR=x.createContext(ER()),RR=()=>x.useContext(PR);function kR(e,t){return typeof e=="function"?e(...t):!!e}function Hf(){}var OR=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},NR=e=>{x.useEffect(()=>{e.clearReset()},[e])},jR=({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:s})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(s&&e.data===void 0||kR(n,[e.error,r])),DR=e=>{const t=e.staleTime;e.suspense&&(e.staleTime=typeof t=="function"?(...n)=>Math.max(t(...n),1e3):Math.max(t??1e3,1e3),typeof e.gcTime=="number"&&(e.gcTime=Math.max(e.gcTime,1e3)))},MR=(e,t)=>e.isLoading&&e.isFetching&&!t,FR=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,qf=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function LR(e,t,n){var d,f,p,m,h;const r=CR(),s=AR(),i=RR(),o=r.defaultQueryOptions(e);(f=(d=r.getDefaultOptions().queries)==null?void 0:d._experimental_beforeQuery)==null||f.call(d,o),o._optimisticResults=s?"isRestoring":"optimistic",DR(o),OR(o,i),NR(i);const a=!r.getQueryCache().get(o.queryHash),[c]=x.useState(()=>new t(r,o)),l=c.getOptimisticResult(o),u=!s&&e.subscribed!==!1;if(x.useSyncExternalStore(x.useCallback(g=>{const v=u?c.subscribe(ze.batchCalls(g)):Hf;return c.updateResult(),v},[c,u]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),x.useEffect(()=>{c.setOptions(o,{listeners:!1})},[o,c]),FR(o,l))throw qf(o,c,i);if(jR({result:l,errorResetBoundary:i,throwOnError:o.throwOnError,query:r.getQueryCache().get(o.queryHash),suspense:o.suspense}))throw l.error;if((m=(p=r.getDefaultOptions().queries)==null?void 0:p._experimental_afterQuery)==null||m.call(p,o,l),o.experimental_prefetchInRender&&!yr&&MR(l,s)){const g=a?qf(o,c,i):(h=r.getQueryCache().get(o.queryHash))==null?void 0:h.promise;g==null||g.catch(Hf).finally(()=>{c.updateResult()})}return o.notifyOnChangeProps?l:c.trackResult(l)}function Ci(e,t){return LR(e,SR)}const My=()=>{const e=Le(r=>r.lang),{data:t,isPending:n}=Ci({queryKey:["industries",e],queryFn:()=>nR(e),select:({data:r})=>r.data});return{data:t,isPending:n}},n1=({className:e})=>{const t=Le(s=>s.lang),{data:n,isPending:r}=My();return y.jsx("section",{className:X("relative w-full bg-[#FDEDEE] -z-10 py-10",e),children:y.jsx(st,{children:r?y.jsx(hs,{}):y.jsxs(y.Fragment,{children:[y.jsx("h3",{className:"h2 mb-4",children:bc[We(t)].title}),y.jsx("div",{className:"grid md:grid-cols-4 grid-cols-2 gap-6",children:n==null?void 0:n.map((s,i)=>y.jsx(sp,{...s},i))}),y.jsxs("div",{className:"flex items-center gap-3 mt-8 text-on_surface_v text-lg",children:[y.jsx("div",{className:"md:w-1 w-4 md:h-[38px] h-40 bg-teritary_08"}),y.jsx("p",{className:"text-18",children:bc[We(t)].bottom_text})]})]})})})},Fy=[{title:"Время выставки",data:[{name:"Монтаж выставки",date:"12 Мая – 10 Июня 2025 года"},{name:"Работа",date:"11–13 Июня 2025 года"},{name:"Демонтаж",date:"13–14 Июня 2025 года"}]},{title:"Exhibition time",data:[{name:"Exhibition assembly",date:"12 May — 10 June 2025"},{name:"Exhibition days",date:"11–13 June 2025"},{name:"Exhibition dismantling",date:"13–14 June 2025"}]}],Ly=()=>{const e=Le(r=>r.lang),{data:t,isPending:n}=Ci({queryKey:["exhibiton-time",e],queryFn:()=>rR(e),select:({data:r})=>r.data});return{data:t,isPending:n}},r1=({className:e})=>{const t=Le(s=>s.lang),{data:n,isPending:r}=Ly();return y.jsx("section",{className:X("bg-surface_container py-10 md:py-20",e),children:y.jsx(st,{children:r?y.jsx(hs,{}):y.jsxs(y.Fragment,{children:[y.jsx("h2",{className:"h2 mb-6",children:Fy[We(t)].title}),y.jsx("div",{className:"flex flex-col md:flex-row items-center gap-6",children:n==null?void 0:n.map((s,i)=>x.createElement(ip,{bottomClassName:"!bg-white rounded-b-[2px]",...s,key:i,className:"w-full"}))})]})})})},Zf=[{title:"Место проведения",data:["Выставочный центр Торгово-промышленной палаты Туркменистана – это современная площадка для проведения международных выставок, конференций, форумов и деловых встреч","Центр оснащен передовыми техническими решениями, включая мультимедийное оборудование, системы звукоусиления и освещения, конференц-залы с синхронным переводом, а также удобные зоны для переговоров. Просторные выставочные павильоны обеспечивают комфортные условия для демонстрации продукции и услуг. "]},{title:"Venue",data:["The Exhibition Centre of the Chamber of Commerce and Industry of Turkmenistan is a modern venue designed for international exhibitions, conferences, forums, and business meetings.","The centre is equipped with cutting-edge technical solutions, including multimedia equipment, sound and lighting systems, conference rooms with simultaneous translation, and comfortable areas for negotiations. Spacious exhibition pavilions provide ideal conditions for showcasing products and services."]}],s1=({className:e})=>{const t=Le(n=>n.lang);return y.jsx("section",{className:X("gap-6 relative overflow-hidden",e),children:y.jsxs(st,{className:"md:py-20 py-10 grid-cols-1 lg:grid-cols-2 lg:gap-12 gap-0 grid",children:[y.jsxs("div",{className:"flex-[0_0_50%]",children:[y.jsx("h3",{className:"h2 mb-6",children:Zf[We(t)].title}),y.jsx("div",{className:"text-lg flex flex-col gap-6 text-on_surface_v normal mb-10",children:Zf[We(t)].data.map(n=>y.jsx("p",{children:n},n))})]}),y.jsx("div",{className:"h-full max-size-[600px] flex-[0_0_50%]",children:y.jsx("img",{src:"/about-place.jpg",alt:"",className:"size-full object-contain"})})]})})},$i=[{title:"Приглашение к участию",p:"Министерство текстильной промышленности Туркменистана приглашает бизнес-сообщество со всего мира присоединиться к этому уникальному событию, которое станет важным шагом к укреплению позиций Туркменистана в международной экономической арене.",button1:"Забронировать стенд",button2:"B2B | B2G встречи"},{title:"Invitation to Participate",p:"Ministry of Textile Industry of Turkmenistan invites the global business community to join this unique event, which will be a significant step toward strengthening Turkmenistan’s position on the global economic stage",button1:"Book a stand",button2:"B2B | B2G meetings"}],i1=({className:e})=>{const t=Le(n=>n.lang);return y.jsxs("section",{className:X("md:py-20 py-10 relative overflow-hidden",e),children:[y.jsx("img",{src:"/CTA.png",className:"absolute top-0 left-0 size-full -z-10 object-cover"}),y.jsxs(st,{children:[y.jsx("h3",{className:"h2 text-center !text-on_primary mb-6",children:$i[We(t)].title}),y.jsx("p",{className:"text-center md:text-lg text-sm text-primary_03 max-w-[828px] px-5 mx-auto mb-10",children:$i[We(t)].p}),y.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-6",children:[y.jsx(Me,{to:"/stend-form",className:"w-full",children:y.jsx(ut,{className:"bg-reverse_primary w-full text-primary hover:bg-reverse_primary/90",children:$i[We(t)].button1})}),y.jsx(Me,{to:"/B2B-B2GS",className:"w-full",children:y.jsx(ut,{className:"bg-reverse_primary w-full hover:bg-reverse_primary/90 text-primary",children:$i[We(t)].button2})})]})]})]})},Iy=e=>{const t=Le(s=>s.lang),{data:n,isPending:r}=Ci({queryKey:["static-words",t,e],queryFn:()=>JP(t,e),select:({data:s})=>s.data});return{data:n,isPending:r}},IR=(e,t,n,r)=>{var i,o,a,c;const s=[n,{code:t,...r||{}}];if((o=(i=e==null?void 0:e.services)==null?void 0:i.logger)!=null&&o.forward)return e.services.logger.forward(s,"warn","react-i18next::",!0);lr(s[0])&&(s[0]=`react-i18next:: ${s[0]}`),(c=(a=e==null?void 0:e.services)==null?void 0:a.logger)!=null&&c.warn?e.services.logger.warn(...s):console!=null&&console.warn&&console.warn(...s)},Gf={},Dc=(e,t,n,r)=>{lr(n)&&Gf[n]||(lr(n)&&(Gf[n]=new Date),IR(e,t,n,r))},Vy=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Mc=(e,t,n)=>{e.loadNamespaces(t,Vy(e,n))},Kf=(e,t,n,r)=>{if(lr(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return Mc(e,n,r);n.forEach(s=>{e.options.ns.indexOf(s)<0&&e.options.ns.push(s)}),e.loadLanguages(t,Vy(e,r))},VR=(e,t,n={})=>!t.languages||!t.languages.length?(Dc(t,"NO_LANGUAGES","i18n.languages were undefined or empty",{languages:t.languages}),!0):t.hasLoadedNamespace(e,{lng:n.lng,precheck:(r,s)=>{var i;if(((i=n.bindI18n)==null?void 0:i.indexOf("languageChanging"))>-1&&r.services.backendConnector.backend&&r.isLanguageChangingTo&&!s(r.isLanguageChangingTo,e))return!1}}),lr=e=>typeof e=="string",BR=e=>typeof e=="object"&&e!==null,UR=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,$R={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},zR=e=>$R[e],WR=e=>e.replace(UR,zR);let Fc={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:WR};const HR=(e={})=>{Fc={...Fc,...e}},qR=()=>Fc;let By;const ZR=e=>{By=e},GR=()=>By,o1={type:"3rdParty",init(e){HR(e.options.react),ZR(e)}},KR=x.createContext();class QR{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const XR=(e,t)=>{const n=x.useRef();return x.useEffect(()=>{n.current=e},[e,t]),n.current},Uy=(e,t,n,r)=>e.getFixedT(t,n,r),YR=(e,t,n,r)=>x.useCallback(Uy(e,t,n,r),[e,t,n,r]),$y=(e,t={})=>{var T,S,E,R;const{i18n:n}=t,{i18n:r,defaultNS:s}=x.useContext(KR)||{},i=n||r||GR();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new QR),!i){Dc(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const A=(D,L)=>lr(L)?L:BR(L)&&lr(L.defaultValue)?L.defaultValue:Array.isArray(D)?D[D.length-1]:D,N=[A,{},!1];return N.t=A,N.i18n={},N.ready=!1,N}(T=i.options.react)!=null&&T.wait&&Dc(i,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...qR(),...i.options.react,...t},{useSuspense:a,keyPrefix:c}=o;let l=e||s||((S=i.options)==null?void 0:S.defaultNS);l=lr(l)?[l]:l||["translation"],(R=(E=i.reportNamespaces).addUsedNamespaces)==null||R.call(E,l);const u=(i.isInitialized||i.initializedStoreOnce)&&l.every(A=>VR(A,i,o)),d=YR(i,t.lng||null,o.nsMode==="fallback"?l:l[0],c),f=()=>d,p=()=>Uy(i,t.lng||null,o.nsMode==="fallback"?l:l[0],c),[m,h]=x.useState(f);let g=l.join();t.lng&&(g=`${t.lng}${g}`);const v=XR(g),b=x.useRef(!0);x.useEffect(()=>{const{bindI18n:A,bindI18nStore:N}=o;b.current=!0,!u&&!a&&(t.lng?Kf(i,t.lng,l,()=>{b.current&&h(p)}):Mc(i,l,()=>{b.current&&h(p)})),u&&v&&v!==g&&b.current&&h(p);const D=()=>{b.current&&h(p)};return A&&(i==null||i.on(A,D)),N&&(i==null||i.store.on(N,D)),()=>{b.current=!1,i&&(A==null||A.split(" ").forEach(L=>i.off(L,D))),N&&i&&N.split(" ").forEach(L=>i.store.off(L,D))}},[i,g]),x.useEffect(()=>{b.current&&u&&h(f)},[i,c,u]);const w=[m,i,u];if(w.t=m,w.i18n=i,w.ready=u,u||!u&&!a)return w;throw new Promise(A=>{t.lng?Kf(i,t.lng,l,()=>A()):Mc(i,l,()=>A())})},a1=()=>{var f,p,m,h,g,v,b,w;const e=Le(T=>T.lang),{t}=$y("about"),{data:n,isPending:r}=Iy("2"),s=(f=n==null?void 0:n.find(T=>T.key==="about_1"))==null?void 0:f.text,i=(p=n==null?void 0:n.find(T=>T.key==="about_2"))==null?void 0:p.text,o=(m=n==null?void 0:n.find(T=>T.key==="about_3"))==null?void 0:m.text,a=(h=n==null?void 0:n.find(T=>T.key==="about_4"))==null?void 0:h.text,c=(g=n==null?void 0:n.find(T=>T.key==="about_5"))==null?void 0:g.list,l=(v=n==null?void 0:n.find(T=>T.key==="about_6"))==null?void 0:v.text,u=(b=n==null?void 0:n.find(T=>T.key==="about_7"))==null?void 0:b.text,d=(w=n==null?void 0:n.find(T=>T.key==="about_8"))==null?void 0:w.list;return r?y.jsx(hs,{}):y.jsxs(st,{className:"flex flex-col md:my-20 my-10 gap-16",children:[y.jsxs("div",{className:"flex flex-col gap-6",children:[y.jsx("h2",{className:"h2",children:s}),y.jsx("div",{className:"flex flex-col p gap-3",dangerouslySetInnerHTML:{__html:i??""}})]}),y.jsxs("div",{className:"flex flex-col gap-6",children:[y.jsx("h3",{className:"h2",children:o}),y.jsx("h4",{className:"p",children:a}),y.jsx("ol",{type:"1",className:"list-decimal pl-8 flex flex-col gap-3 ",children:c==null?void 0:c.map((T,S)=>y.jsx("li",{className:"p",children:e==="ru"?T.text_ru:T.text_en},S))})]}),y.jsxs("div",{className:"flex flex-col gap-6",children:[y.jsx("h2",{className:"h2",children:l}),y.jsx("h3",{className:"p",children:u}),y.jsx("ul",{className:"list-disc pl-8 flex flex-col gap-3 p",children:d==null?void 0:d.map((T,S)=>y.jsxs("li",{children:[" ",e==="ru"?T.text_ru:T.text_en]},S))})]}),y.jsx(Me,{className:"w-fit mx-auto",to:"/become-sponsor",children:y.jsx(ut,{children:t("main.button")})})]})};function JR(e){return Object.prototype.toString.call(e)==="[object Object]"}function Qf(e){return JR(e)||Array.isArray(e)}function ek(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function iu(e,t){const n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;const s=JSON.stringify(Object.keys(e.breakpoints||{})),i=JSON.stringify(Object.keys(t.breakpoints||{}));return s!==i?!1:n.every(o=>{const a=e[o],c=t[o];return typeof a=="function"?`${a}`==`${c}`:!Qf(a)||!Qf(c)?a===c:iu(a,c)})}function Xf(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function tk(e,t){if(e.length!==t.length)return!1;const n=Xf(e),r=Xf(t);return n.every((s,i)=>{const o=r[i];return iu(s,o)})}function ou(e){return typeof e=="number"}function Lc(e){return typeof e=="string"}function Yo(e){return typeof e=="boolean"}function Yf(e){return Object.prototype.toString.call(e)==="[object Object]"}function Pe(e){return Math.abs(e)}function au(e){return Math.sign(e)}function Fs(e,t){return Pe(e-t)}function nk(e,t){if(e===0||t===0||Pe(e)<=Pe(t))return 0;const n=Fs(Pe(e),Pe(t));return Pe(n/e)}function rk(e){return Math.round(e*100)/100}function ai(e){return ci(e).map(Number)}function Dt(e){return e[Ai(e)]}function Ai(e){return Math.max(0,e.length-1)}function cu(e,t){return t===Ai(e)}function Jf(e,t=0){return Array.from(Array(e),(n,r)=>t+r)}function ci(e){return Object.keys(e)}function zy(e,t){return[e,t].reduce((n,r)=>(ci(r).forEach(s=>{const i=n[s],o=r[s],a=Yf(i)&&Yf(o);n[s]=a?zy(i,o):o}),n),{})}function Ic(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function sk(e,t){const n={start:r,center:s,end:i};function r(){return 0}function s(c){return i(c)/2}function i(c){return t-c}function o(c,l){return Lc(e)?n[e](c):e(t,c,l)}return{measure:o}}function li(){let e=[];function t(s,i,o,a={passive:!0}){let c;if("addEventListener"in s)s.addEventListener(i,o,a),c=()=>s.removeEventListener(i,o,a);else{const l=s;l.addListener(o),c=()=>l.removeListener(o)}return e.push(c),r}function n(){e=e.filter(s=>s())}const r={add:t,clear:n};return r}function ik(e,t,n,r){const s=li(),i=1e3/60;let o=null,a=0,c=0;function l(){s.add(e,"visibilitychange",()=>{e.hidden&&m()})}function u(){p(),s.clear()}function d(g){if(!c)return;o||(o=g,n(),n());const v=g-o;for(o=g,a+=v;a>=i;)n(),a-=i;const b=a/i;r(b),c&&(c=t.requestAnimationFrame(d))}function f(){c||(c=t.requestAnimationFrame(d))}function p(){t.cancelAnimationFrame(c),o=null,a=0,c=0}function m(){o=null,a=0}return{init:l,destroy:u,start:f,stop:p,update:n,render:r}}function ok(e,t){const n=t==="rtl",r=e==="y",s=r?"y":"x",i=r?"x":"y",o=!r&&n?-1:1,a=u(),c=d();function l(m){const{height:h,width:g}=m;return r?h:g}function u(){return r?"top":n?"right":"left"}function d(){return r?"bottom":n?"left":"right"}function f(m){return m*o}return{scroll:s,cross:i,startEdge:a,endEdge:c,measureSize:l,direction:f}}function vr(e=0,t=0){const n=Pe(e-t);function r(l){return lt}function i(l){return r(l)||s(l)}function o(l){return i(l)?r(l)?e:t:l}function a(l){return n?l-n*Math.ceil((l-t)/n):l}return{length:n,max:t,min:e,constrain:o,reachedAny:i,reachedMax:s,reachedMin:r,removeOffset:a}}function Wy(e,t,n){const{constrain:r}=vr(0,e),s=e+1;let i=o(t);function o(f){return n?Pe((s+f)%s):r(f)}function a(){return i}function c(f){return i=o(f),d}function l(f){return u().set(a()+f)}function u(){return Wy(e,a(),n)}const d={get:a,set:c,add:l,clone:u};return d}function ak(e,t,n,r,s,i,o,a,c,l,u,d,f,p,m,h,g,v,b){const{cross:w,direction:T}=e,S=["INPUT","SELECT","TEXTAREA"],E={passive:!1},R=li(),A=li(),N=vr(50,225).constrain(p.measure(20)),D={mouse:300,touch:400},L={mouse:500,touch:600},j=m?43:25;let $=!1,W=0,re=0,Y=!1,Z=!1,q=!1,se=!1;function me(G){if(!b)return;function de(Ue){(Yo(b)||b(G,Ue))&&Ye(Ue)}const Se=t;R.add(Se,"dragstart",Ue=>Ue.preventDefault(),E).add(Se,"touchmove",()=>{},E).add(Se,"touchend",()=>{}).add(Se,"touchstart",de).add(Se,"mousedown",de).add(Se,"touchcancel",ye).add(Se,"contextmenu",ye).add(Se,"click",Oe,!0)}function ge(){R.clear(),A.clear()}function He(){const G=se?n:t;A.add(G,"touchmove",ue,E).add(G,"touchend",ye).add(G,"mousemove",ue,E).add(G,"mouseup",ye)}function dt(G){const de=G.nodeName||"";return S.includes(de)}function qe(){return(m?L:D)[se?"mouse":"touch"]}function At(G,de){const Se=d.add(au(G)*-1),Ue=u.byDistance(G,!m).distance;return m||Pe(G)=2,!(de&&G.button!==0)&&(dt(G.target)||(Y=!0,i.pointerDown(G),l.useFriction(0).useDuration(0),s.set(o),He(),W=i.readPoint(G),re=i.readPoint(G,w),f.emit("pointerDown")))}function ue(G){if(!Ic(G,r)&&G.touches.length>=2)return ye(G);const Se=i.readPoint(G),Ue=i.readPoint(G,w),ft=Fs(Se,W),bt=Fs(Ue,re);if(!Z&&!se&&(!G.cancelable||(Z=ft>bt,!Z)))return ye(G);const _=i.pointerMove(G);ft>h&&(q=!0),l.useFriction(.3).useDuration(.75),a.start(),s.add(T(_)),G.preventDefault()}function ye(G){const Se=u.byDistance(0,!1).index!==d.get(),Ue=i.pointerUp(G)*qe(),ft=At(T(Ue),Se),bt=nk(Ue,ft),_=j-10*bt,P=v+bt/50;Z=!1,Y=!1,A.clear(),l.useDuration(_).useFriction(P),c.distance(ft,!m),se=!1,f.emit("pointerUp")}function Oe(G){q&&(G.stopPropagation(),G.preventDefault(),q=!1)}function Ie(){return Y}return{init:me,destroy:ge,pointerDown:Ie}}function ck(e,t){let r,s;function i(d){return d.timeStamp}function o(d,f){const m=`client${(f||e.scroll)==="x"?"X":"Y"}`;return(Ic(d,t)?d:d.touches[0])[m]}function a(d){return r=d,s=d,o(d)}function c(d){const f=o(d)-o(s),p=i(d)-i(r)>170;return s=d,p&&(r=d),f}function l(d){if(!r||!s)return 0;const f=o(s)-o(r),p=i(d)-i(r),m=i(d)-i(s)>170,h=f/p;return p&&!m&&Pe(h)>.1?h:0}return{pointerDown:a,pointerMove:c,pointerUp:l,readPoint:o}}function lk(){function e(n){const{offsetTop:r,offsetLeft:s,offsetWidth:i,offsetHeight:o}=n;return{top:r,right:s+i,bottom:r+o,left:s,width:i,height:o}}return{measure:e}}function uk(e){function t(r){return e*(r/100)}return{measure:t}}function dk(e,t,n,r,s,i,o){const a=[e].concat(r);let c,l,u=[],d=!1;function f(g){return s.measureSize(o.measure(g))}function p(g){if(!i)return;l=f(e),u=r.map(f);function v(b){for(const w of b){if(d)return;const T=w.target===e,S=r.indexOf(w.target),E=T?l:u[S],R=f(T?e:r[S]);if(Pe(R-E)>=.5){g.reInit(),t.emit("resize");break}}}c=new ResizeObserver(b=>{(Yo(i)||i(g,b))&&v(b)}),n.requestAnimationFrame(()=>{a.forEach(b=>c.observe(b))})}function m(){d=!0,c&&c.disconnect()}return{init:p,destroy:m}}function fk(e,t,n,r,s,i){let o=0,a=0,c=s,l=i,u=e.get(),d=0;function f(){const E=r.get()-e.get(),R=!c;let A=0;return R?(o=0,n.set(r),e.set(r),A=E):(n.set(e),o+=E/c,o*=l,u+=o,e.add(o),A=u-d),a=au(A),d=u,S}function p(){const E=r.get()-t.get();return Pe(E)<.001}function m(){return c}function h(){return a}function g(){return o}function v(){return w(s)}function b(){return T(i)}function w(E){return c=E,S}function T(E){return l=E,S}const S={direction:h,duration:m,velocity:g,seek:f,settled:p,useBaseFriction:b,useBaseDuration:v,useFriction:T,useDuration:w};return S}function hk(e,t,n,r,s){const i=s.measure(10),o=s.measure(50),a=vr(.1,.99);let c=!1;function l(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function u(p){if(!l())return;const m=e.reachedMin(t.get())?"min":"max",h=Pe(e[m]-t.get()),g=n.get()-t.get(),v=a.constrain(h/o);n.subtract(g*v),!p&&Pe(g){const{min:g,max:v}=i,b=i.constrain(m),w=!h,T=cu(n,h);return w?v:T||l(g,b)?g:l(v,b)?v:b}).map(m=>parseFloat(m.toFixed(3)))}function f(){if(t<=e+s)return[i.max];if(r==="keepSnaps")return o;const{min:m,max:h}=a;return o.slice(m,h)}return{snapsContained:c,scrollContainLimit:a}}function mk(e,t,n){const r=t[0],s=n?r-e:Dt(t);return{limit:vr(s,r)}}function gk(e,t,n,r){const i=t.min+.1,o=t.max+.1,{reachedMin:a,reachedMax:c}=vr(i,o);function l(f){return f===1?c(n.get()):f===-1?a(n.get()):!1}function u(f){if(!l(f))return;const p=e*(f*-1);r.forEach(m=>m.add(p))}return{loop:u}}function yk(e){const{max:t,length:n}=e;function r(i){const o=i-t;return n?o/-n:0}return{get:r}}function vk(e,t,n,r,s){const{startEdge:i,endEdge:o}=e,{groupSlides:a}=s,c=d().map(t.measure),l=f(),u=p();function d(){return a(r).map(h=>Dt(h)[o]-h[0][i]).map(Pe)}function f(){return r.map(h=>n[i]-h[i]).map(h=>-Pe(h))}function p(){return a(l).map(h=>h[0]).map((h,g)=>h+c[g])}return{snaps:l,snapsAligned:u}}function xk(e,t,n,r,s,i){const{groupSlides:o}=s,{min:a,max:c}=r,l=u();function u(){const f=o(i),p=!e||t==="keepSnaps";return n.length===1?[i]:p?f:f.slice(a,c).map((m,h,g)=>{const v=!h,b=cu(g,h);if(v){const w=Dt(g[0])+1;return Jf(w)}if(b){const w=Ai(i)-Dt(g)[0]+1;return Jf(w,Dt(g)[0])}return m})}return{slideRegistry:l}}function bk(e,t,n,r,s){const{reachedAny:i,removeOffset:o,constrain:a}=r;function c(m){return m.concat().sort((h,g)=>Pe(h)-Pe(g))[0]}function l(m){const h=e?o(m):a(m),g=t.map((b,w)=>({diff:u(b-h,0),index:w})).sort((b,w)=>Pe(b.diff)-Pe(w.diff)),{index:v}=g[0];return{index:v,distance:h}}function u(m,h){const g=[m,m+n,m-n];if(!e)return m;if(!h)return c(g);const v=g.filter(b=>au(b)===h);return v.length?c(v):Dt(g)-n}function d(m,h){const g=t[m]-s.get(),v=u(g,h);return{index:m,distance:v}}function f(m,h){const g=s.get()+m,{index:v,distance:b}=l(g),w=!e&&i(g);if(!h||w)return{index:v,distance:m};const T=t[v]-b,S=m+u(T,0);return{index:v,distance:S}}return{byDistance:f,byIndex:d,shortcut:u}}function wk(e,t,n,r,s,i,o){function a(d){const f=d.distance,p=d.index!==t.get();i.add(f),f&&(r.duration()?e.start():(e.update(),e.render(1),e.update())),p&&(n.set(t.get()),t.set(d.index),o.emit("select"))}function c(d,f){const p=s.byDistance(d,f);a(p)}function l(d,f){const p=t.clone().set(d),m=s.byIndex(p.get(),f);a(m)}return{distance:c,index:l}}function Sk(e,t,n,r,s,i,o,a){const c={passive:!0,capture:!0};let l=0;function u(p){if(!a)return;function m(h){if(new Date().getTime()-l>10)return;o.emit("slideFocusStart"),e.scrollLeft=0;const b=n.findIndex(w=>w.includes(h));ou(b)&&(s.useDuration(0),r.index(b,0),o.emit("slideFocus"))}i.add(document,"keydown",d,!1),t.forEach((h,g)=>{i.add(h,"focus",v=>{(Yo(a)||a(p,v))&&m(g)},c)})}function d(p){p.code==="Tab"&&(l=new Date().getTime())}return{init:u}}function Rs(e){let t=e;function n(){return t}function r(c){t=o(c)}function s(c){t+=o(c)}function i(c){t-=o(c)}function o(c){return ou(c)?c:c.get()}return{get:n,set:r,add:s,subtract:i}}function Hy(e,t){const n=e.scroll==="x"?o:a,r=t.style;let s=null,i=!1;function o(f){return`translate3d(${f}px,0px,0px)`}function a(f){return`translate3d(0px,${f}px,0px)`}function c(f){if(i)return;const p=rk(e.direction(f));p!==s&&(r.transform=n(p),s=p)}function l(f){i=!f}function u(){i||(r.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:u,to:c,toggleActive:l}}function _k(e,t,n,r,s,i,o,a,c){const u=ai(s),d=ai(s).reverse(),f=v().concat(b());function p(R,A){return R.reduce((N,D)=>N-s[D],A)}function m(R,A){return R.reduce((N,D)=>p(N,A)>0?N.concat([D]):N,[])}function h(R){return i.map((A,N)=>({start:A-r[N]+.5+R,end:A+t-.5+R}))}function g(R,A,N){const D=h(A);return R.map(L=>{const j=N?0:-n,$=N?n:0,W=N?"end":"start",re=D[L][W];return{index:L,loopPoint:re,slideLocation:Rs(-1),translate:Hy(e,c[L]),target:()=>a.get()>re?j:$}})}function v(){const R=o[0],A=m(d,R);return g(A,n,!1)}function b(){const R=t-o[0]-1,A=m(u,R);return g(A,-n,!0)}function w(){return f.every(({index:R})=>{const A=u.filter(N=>N!==R);return p(A,t)<=.1})}function T(){f.forEach(R=>{const{target:A,translate:N,slideLocation:D}=R,L=A();L!==D.get()&&(N.to(L),D.set(L))})}function S(){f.forEach(R=>R.translate.clear())}return{canLoop:w,clear:S,loop:T,loopPoints:f}}function Tk(e,t,n){let r,s=!1;function i(c){if(!n)return;function l(u){for(const d of u)if(d.type==="childList"){c.reInit(),t.emit("slidesChanged");break}}r=new MutationObserver(u=>{s||(Yo(n)||n(c,u))&&l(u)}),r.observe(e,{childList:!0})}function o(){r&&r.disconnect(),s=!0}return{init:i,destroy:o}}function Ck(e,t,n,r){const s={};let i=null,o=null,a,c=!1;function l(){a=new IntersectionObserver(m=>{c||(m.forEach(h=>{const g=t.indexOf(h.target);s[g]=h}),i=null,o=null,n.emit("slidesInView"))},{root:e.parentElement,threshold:r}),t.forEach(m=>a.observe(m))}function u(){a&&a.disconnect(),c=!0}function d(m){return ci(s).reduce((h,g)=>{const v=parseInt(g),{isIntersecting:b}=s[v];return(m&&b||!m&&!b)&&h.push(v),h},[])}function f(m=!0){if(m&&i)return i;if(!m&&o)return o;const h=d(m);return m&&(i=h),m||(o=h),h}return{init:l,destroy:u,get:f}}function Ak(e,t,n,r,s,i){const{measureSize:o,startEdge:a,endEdge:c}=e,l=n[0]&&s,u=m(),d=h(),f=n.map(o),p=g();function m(){if(!l)return 0;const b=n[0];return Pe(t[a]-b[a])}function h(){if(!l)return 0;const b=i.getComputedStyle(Dt(r));return parseFloat(b.getPropertyValue(`margin-${c}`))}function g(){return n.map((b,w,T)=>{const S=!w,E=cu(T,w);return S?f[w]+u:E?f[w]+d:T[w+1][a]-b[a]}).map(Pe)}return{slideSizes:f,slideSizesWithGaps:p,startGap:u,endGap:d}}function Ek(e,t,n,r,s,i,o,a,c){const{startEdge:l,endEdge:u,direction:d}=e,f=ou(n);function p(v,b){return ai(v).filter(w=>w%b===0).map(w=>v.slice(w,w+b))}function m(v){return v.length?ai(v).reduce((b,w,T)=>{const S=Dt(b)||0,E=S===0,R=w===Ai(v),A=s[l]-i[S][l],N=s[l]-i[w][u],D=!r&&E?d(o):0,L=!r&&R?d(a):0,j=Pe(N-L-(A+D));return T&&j>t+c&&b.push(w),R&&b.push(v.length),b},[]).map((b,w,T)=>{const S=Math.max(T[w-1]||0);return v.slice(S,b)}):[]}function h(v){return f?p(v,n):m(v)}return{groupSlides:h}}function Pk(e,t,n,r,s,i,o){const{align:a,axis:c,direction:l,startIndex:u,loop:d,duration:f,dragFree:p,dragThreshold:m,inViewThreshold:h,slidesToScroll:g,skipSnaps:v,containScroll:b,watchResize:w,watchSlides:T,watchDrag:S,watchFocus:E}=i,R=2,A=lk(),N=A.measure(t),D=n.map(A.measure),L=ok(c,l),j=L.measureSize(N),$=uk(j),W=sk(a,j),re=!d&&!!b,Y=d||!!b,{slideSizes:Z,slideSizesWithGaps:q,startGap:se,endGap:me}=Ak(L,N,D,n,Y,s),ge=Ek(L,j,g,d,N,D,se,me,R),{snaps:He,snapsAligned:dt}=vk(L,W,N,D,ge),qe=-Dt(He)+Dt(q),{snapsContained:At,scrollContainLimit:Ye}=pk(j,qe,dt,b,R),ue=re?At:dt,{limit:ye}=mk(qe,ue,d),Oe=Wy(Ai(ue),u,d),Ie=Oe.clone(),we=ai(n),G=({dragHandler:$t,scrollBody:Wn,scrollBounds:ms,options:{loop:Hn}})=>{Hn||ms.constrain($t.pointerDown()),Wn.seek()},de=({scrollBody:$t,translate:Wn,location:ms,offsetLocation:Hn,previousLocation:Jo,scrollLooper:Pi,slideLooper:qy,dragHandler:Zy,animation:Gy,eventHandler:lu,scrollBounds:Ky,options:{loop:uu}},du)=>{const fu=$t.settled(),Qy=!Ky.shouldConstrain(),hu=uu?fu:fu&&Qy;hu&&!Zy.pointerDown()&&(Gy.stop(),lu.emit("settle")),hu||lu.emit("scroll");const Xy=ms.get()*du+Jo.get()*(1-du);Hn.set(Xy),uu&&(Pi.loop($t.direction()),qy.loop()),Wn.to(Hn.get())},Se=ik(r,s,()=>G(ps),$t=>de(ps,$t)),Ue=.68,ft=ue[Oe.get()],bt=Rs(ft),_=Rs(ft),P=Rs(ft),O=Rs(ft),B=fk(bt,P,_,O,f,Ue),I=bk(d,ue,qe,ye,O),F=wk(Se,Oe,Ie,B,I,O,o),Q=yk(ye),ae=li(),Ve=Ck(t,n,o,h),{slideRegistry:Ne}=xk(re,b,ue,Ye,ge,we),Ut=Sk(e,n,Ne,F,B,ae,o,E),ps={ownerDocument:r,ownerWindow:s,eventHandler:o,containerRect:N,slideRects:D,animation:Se,axis:L,dragHandler:ak(L,e,r,s,O,ck(L,s),bt,Se,F,B,I,Oe,o,$,p,m,v,Ue,S),eventStore:ae,percentOfView:$,index:Oe,indexPrevious:Ie,limit:ye,location:bt,offsetLocation:P,previousLocation:_,options:i,resizeHandler:dk(t,o,s,n,L,w,A),scrollBody:B,scrollBounds:hk(ye,P,O,B,$),scrollLooper:gk(qe,ye,P,[bt,P,_,O]),scrollProgress:Q,scrollSnapList:ue.map(Q.get),scrollSnaps:ue,scrollTarget:I,scrollTo:F,slideLooper:_k(L,j,qe,Z,q,He,ue,P,n),slideFocus:Ut,slidesHandler:Tk(t,o,T),slidesInView:Ve,slideIndexes:we,slideRegistry:Ne,slidesToScroll:ge,target:O,translate:Hy(L,t)};return ps}function Rk(){let e={},t;function n(l){t=l}function r(l){return e[l]||[]}function s(l){return r(l).forEach(u=>u(t,l)),c}function i(l,u){return e[l]=r(l).concat([u]),c}function o(l,u){return e[l]=r(l).filter(d=>d!==u),c}function a(){e={}}const c={init:n,emit:s,off:o,on:i,clear:a};return c}const kk={align:"center",axis:"x",container:null,slides:null,containScroll:"trimSnaps",direction:"ltr",slidesToScroll:1,inViewThreshold:0,breakpoints:{},dragFree:!1,dragThreshold:10,loop:!1,skipSnaps:!1,duration:25,startIndex:0,active:!0,watchDrag:!0,watchResize:!0,watchSlides:!0,watchFocus:!0};function Ok(e){function t(i,o){return zy(i,o||{})}function n(i){const o=i.breakpoints||{},a=ci(o).filter(c=>e.matchMedia(c).matches).map(c=>o[c]).reduce((c,l)=>t(c,l),{});return t(i,a)}function r(i){return i.map(o=>ci(o.breakpoints||{})).reduce((o,a)=>o.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:r}}function Nk(e){let t=[];function n(i,o){return t=o.filter(({options:a})=>e.optionsAtMedia(a).active!==!1),t.forEach(a=>a.init(i,e)),o.reduce((a,c)=>Object.assign(a,{[c.name]:c}),{})}function r(){t=t.filter(i=>i.destroy())}return{init:n,destroy:r}}function Eo(e,t,n){const r=e.ownerDocument,s=r.defaultView,i=Ok(s),o=Nk(i),a=li(),c=Rk(),{mergeOptions:l,optionsAtMedia:u,optionsMediaQueries:d}=i,{on:f,off:p,emit:m}=c,h=L;let g=!1,v,b=l(kk,Eo.globalOptions),w=l(b),T=[],S,E,R;function A(){const{container:we,slides:G}=w;E=(Lc(we)?e.querySelector(we):we)||e.children[0];const Se=Lc(G)?E.querySelectorAll(G):G;R=[].slice.call(Se||E.children)}function N(we){const G=Pk(e,E,R,r,s,we,c);if(we.loop&&!G.slideLooper.canLoop()){const de=Object.assign({},we,{loop:!1});return N(de)}return G}function D(we,G){g||(b=l(b,we),w=u(b),T=G||T,A(),v=N(w),d([b,...T.map(({options:de})=>de)]).forEach(de=>a.add(de,"change",L)),w.active&&(v.translate.to(v.location.get()),v.animation.init(),v.slidesInView.init(),v.slideFocus.init(Ie),v.eventHandler.init(Ie),v.resizeHandler.init(Ie),v.slidesHandler.init(Ie),v.options.loop&&v.slideLooper.loop(),E.offsetParent&&R.length&&v.dragHandler.init(Ie),S=o.init(Ie,T)))}function L(we,G){const de=ge();j(),D(l({startIndex:de},we),G),c.emit("reInit")}function j(){v.dragHandler.destroy(),v.eventStore.clear(),v.translate.clear(),v.slideLooper.clear(),v.resizeHandler.destroy(),v.slidesHandler.destroy(),v.slidesInView.destroy(),v.animation.destroy(),o.destroy(),a.clear()}function $(){g||(g=!0,a.clear(),j(),c.emit("destroy"),c.clear())}function W(we,G,de){!w.active||g||(v.scrollBody.useBaseFriction().useDuration(G===!0?0:w.duration),v.scrollTo.index(we,de||0))}function re(we){const G=v.index.add(1).get();W(G,we,-1)}function Y(we){const G=v.index.add(-1).get();W(G,we,1)}function Z(){return v.index.add(1).get()!==ge()}function q(){return v.index.add(-1).get()!==ge()}function se(){return v.scrollSnapList}function me(){return v.scrollProgress.get(v.location.get())}function ge(){return v.index.get()}function He(){return v.indexPrevious.get()}function dt(){return v.slidesInView.get()}function qe(){return v.slidesInView.get(!1)}function At(){return S}function Ye(){return v}function ue(){return e}function ye(){return E}function Oe(){return R}const Ie={canScrollNext:Z,canScrollPrev:q,containerNode:ye,internalEngine:Ye,destroy:$,off:p,on:f,emit:m,plugins:At,previousScrollSnap:He,reInit:h,rootNode:ue,scrollNext:re,scrollPrev:Y,scrollProgress:me,scrollSnapList:se,scrollTo:W,selectedScrollSnap:ge,slideNodes:Oe,slidesInView:dt,slidesNotInView:qe};return D(t,n),setTimeout(()=>c.emit("init"),0),Ie}Eo.globalOptions=void 0;function Ei(e={},t=[]){const n=x.useRef(e),r=x.useRef(t),[s,i]=x.useState(),[o,a]=x.useState(),c=x.useCallback(()=>{s&&s.reInit(n.current,r.current)},[s]);return x.useEffect(()=>{iu(n.current,e)||(n.current=e,c())},[e,c]),x.useEffect(()=>{tk(r.current,t)||(r.current=t,c())},[t,c]),x.useEffect(()=>{if(ek()&&o){Eo.globalOptions=Ei.globalOptions;const l=Eo(o,n.current,r.current);return i(l),()=>l.destroy()}else i(void 0)},[o,i]),[a,s]}Ei.globalOptions=void 0;const jk=[{lang:pt.RU,data:[{title:"План выставки",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/Floor%20plan/floor%20plan.pdf",blank:!0},{title:"Забронировать стенд",link:"/stend-form"},{title:"Список участников",link:""},{title:"B2B | B2G встречи",link:"/B2B-B2G"}]},{lang:pt.EN,data:[{title:"Floor Plan",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/Floor%20plan/floor%20plan.pdf",blank:!0},{title:"Book a stand",link:"/stend-form"},{title:"List of participants",link:"/"},{title:"B2B | B2G meetings",link:"/B2B-B2G"}]}],c1=()=>{const[e]=Ei(),t=Le(o=>o.lang),{t:n}=$y("home"),r=sc("(min-width: 1024px)"),s=sc("(min-width: 768px)");function i(){return n(r?"banners.lg":s?"banners.md":"banners.sm")}return y.jsxs("section",{className:"flex flex-col gap-5",children:[y.jsx("div",{ref:e,className:"embla",children:y.jsx("div",{className:"embla__container",children:y.jsx("div",{className:"embla__slide",children:y.jsx("img",{src:i(),alt:"",className:"size-full object-cover lg:max-h-[600px] lg:min-h-[320px]"})})})}),y.jsx(st,{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 items-center gap-6 text-2xl",children:jk[We(t)].data.map(({title:o,link:a,blank:c})=>y.jsx(Me,{target:c?"_blank":"",to:a,className:"w-full",children:y.jsx(ut,{size:"lg",variant:"teritary",className:"w-full drop-shadow-sm shadow-md text-xl bg-teritary text-on_teritary hover:bg-teritary/90",children:o})},o))})]})},Dk=()=>{const e=Le(r=>r.lang),{data:t,isPending:n}=Ci({queryKey:["home-contacts",e],queryFn:()=>tR(e),select:({data:r})=>r.data});return{data:t,isPending:n}},l1=({className:e})=>{const t=Le(i=>i.lang),{data:n,isPending:r}=Ly(),{data:s}=Dk();return r?y.jsx(hs,{}):y.jsx("section",{className:X("bg-surface_high pt-10 pb-20",e),children:y.jsxs(st,{children:[y.jsx("h2",{className:"h2 mb-6",children:Fy[We(t)].title}),y.jsxs("div",{className:"flex flex-col gap-6",children:[y.jsx("div",{className:"flex flex-col md:flex-row items-center gap-6",children:n==null?void 0:n.map((i,o)=>x.createElement(ip,{...i,key:o,className:"w-full"}))}),y.jsx("div",{className:"md:p-10 pt-16 flex flex-col md:flex-row items-center gap-6",children:s==null?void 0:s.map((i,o)=>x.createElement(Vb,{...i,key:o,className:"w-full"}))}),y.jsx(Me,{to:"/stend-form",className:"md:w-fit w-full mx-auto",children:y.jsx(ut,{className:"w-full",children:t===pt.RU?"Забронируйте стенд":"Book a stand"})})]})]})})},Mk=[{h2:"Выставка-ярмарка «TurkmenTextile Expo-2025» в Ашхабаде",p:`Международная выставка-ярмарка, которая объединит мировых лидеров отрасли, инновационных производителей и творческих дизайнеров. - Наша миссия – укрепить позиции Туркменистана как ключевого центра текстильной и модной индустрии. - - `,p_2:`Выставка станет платформой для изучения устойчивых практик, современных технологий и дизайнерских решений, вдохновляя на развитие индустрии. - «Turkmentextile Expo-2025» – это платформа, соединяющий традиции и инновации, производителей и потребителей, Туркменистан и весь мир!`,data:[{nums:"10,000 m²",text:"Выставочной площади"},{nums:"10000+",text:"Ожидаемых посетителей "},{nums:"100+",text:"Экспонентов из более чем 30 стран"},{nums:"80%",text:"Участников топ-менеджмента"}],button:"Подробнее о выставке"},{h2:"TurkmenTextile Expo-2025 in Ashgabat",p:`An international exhibition will unite global industry leaders, innovative manufacturers, and creative designers. - Our mission is to strengthen Turkmenistan's position as a key hub for the textile and fashion industry. - `,p_2:"The exhibition will serve as a platform to explore sustainable practices, modern technologies, and design solutions, inspiring the development of the industry.",data:[{nums:"10,000 m²",text:"Exhibition area"},{nums:"10000+",text:"Expected visitors "},{nums:"100+",text:"Exhibitors from over 30 countries"},{nums:"80%",text:"Participants are top-management"}],button:"More about the exhibition"}],Fk=()=>{const e=Le(r=>r.lang),{data:t,isPending:n}=Ci({queryKey:["stats",e],queryFn:()=>eR(e),select:({data:r})=>r.data});return{data:t,isPending:n}},u1=()=>{var a,c;const[e]=Ei(),t=Le(l=>l.lang),{data:n,isPending:r}=Iy("1"),{data:s}=Fk(),i=(a=n==null?void 0:n.find(l=>l.key==="index_1"))==null?void 0:a.text,o=(c=n==null?void 0:n.find(l=>l.key==="index_2"))==null?void 0:c.text;return r?y.jsx(hs,{}):y.jsx("section",{children:y.jsxs(st,{className:"flex flex-col gap-6",children:[y.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 items-center",children:[y.jsxs("div",{className:"flex flex-col gap-6",children:[y.jsx("h2",{className:"h2 text-left",children:i}),y.jsx("div",{dangerouslySetInnerHTML:{__html:o||""},className:"md:text-base flex flex-col gap-6 text-sm normal text-left text-[#454545]"}),y.jsx(Me,{to:"/about",className:"w-fit",children:y.jsx(ut,{variant:"outline",children:Mk[We(t)].button})})]}),y.jsx("video",{src:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/video/Textile2025.mp4",muted:!0,controls:!0,autoPlay:!0,loop:!0,className:"w-full h-auto"})]}),y.jsx("div",{ref:e,className:"embla overflow-hidden",children:y.jsx("div",{className:"flex embla__container items-center gap-6",children:s==null?void 0:s.map(l=>y.jsx(Lb,{...l,className:"embla__slide flex-[0_0_288px]"},l.text))})})]})})},d1=()=>{const e=Le(r=>r.lang),{data:t,isPending:n}=My();return n?y.jsx(hs,{}):y.jsx("section",{className:"",children:y.jsxs(st,{children:[y.jsx("h2",{className:"h2 mb-10 text-center",children:bc[We(e)].title}),y.jsx("div",{className:"grid md:grid-cols-4 grid-cols-2 gap-6",children:t==null?void 0:t.map((r,s)=>y.jsx(sp,{...r},s))})]})})},Lk=[{data:[{img:"/offer-1.png",title:"Гостиницы, трансфер, визы",btnText:"Скачать путеводитель",text:"По вопросам размещения в гостиницах, визовой поддержки, транспортного и экскурсионного обслуживания Вы можете ознакомиться с путеводителем",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/travel_guide/Travel_guide_ru.pdf"},{img:"/offer-2.png",title:"Ознакомьтесь с планом выставки TurkmenTextile Expo 2025",btnText:"Скачать план выставки",text:"Как выбрать лучшее место на выставке? Вы всегда должны помнить, что удачное расположение выставочной экспозиции повышает Ваши шансы привлечь внимание Ваших потенциальных клиентов",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/Floor%20plan/floor%20plan.pdf"}]},{data:[{img:"/offer-2.png",title:"Hotels, transfer, visas;",btnText:"Download Travel Guide",text:"For inquiries regarding hotel accommodations, visa support, transportation, and tour services, please refer to the travel guide;",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/travel_guide/Travel_guide_eng.pdf"},{img:"/offer-2.png",title:"Explore “TurkmenTextile Expo-2025” plan;",btnText:"Download exhibition plan.",text:"How to choose the best location at the exhibition? A prime spot increases your chances to attract potential clients;",link:"https://turkmentextile.turkmenexpo.com/app/storage/app/media/Floor%20plan/floor%20plan.pdf"}]}],f1=()=>{const[e,t]=Ei({align:"start"}),[n,r]=x.useState(0),s=Le(o=>o.lang),i=x.useCallback(o=>{t&&t.scrollTo(o)},[t]);return x.useEffect(()=>{if(!t)return;const o=()=>{r(t.selectedScrollSnap())};return t.on("select",o),()=>{t.off("select",o)}},[t]),y.jsx("section",{className:"bg-surface_high py-10 relative overflow-hidden",children:y.jsx(st,{children:y.jsxs("div",{ref:e,className:"embla ",children:[y.jsx("div",{className:"mb-2 flex gap-6 embla__container",children:Lk[We(s)].data.map(o=>x.createElement(Ib,{...o,key:o.title,className:"embla__slide flex-[0_0_300px] sm:flex-[0_0_600px]"}))}),y.jsx(LT,{className:"xl:hidden",scrollTo:i,active:n,slides:2})]})})})},h1=()=>{const e=Le(t=>t.lang);return y.jsxs("header",{children:[y.jsx("div",{className:"h-12 hidden lg:flex bg-sur text-surface-bg items-center overflow-hidden",children:y.jsxs(st,{className:"flex items-center justify-between",children:[y.jsxs("div",{className:"gap-8 flex items-center justify-between",children:[y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(Fx,{}),y.jsx("h4",{className:"text-sm",children:e==="ru"?"Ашхабад, Туркменистан":"Ashgabat, Turkmenistan"})]}),y.jsx("nav",{className:"flex items-center gap-6",children:Va[We(e)].data.slice(0,3).map(t=>t.dropDown?y.jsx(Ff,{color:"black",dropDownContent:t.dropDownContent,title:t.title},t.title):y.jsx(Me,{target:t.blank?"_blank":"",className:"py-2",to:t.link||"",children:t.title},t.title))})]}),y.jsxs("div",{className:"flex items-center gap-6",children:[y.jsxs("div",{className:"flex items-center gap-2",children:[y.jsx(Ix,{size:16,strokeWidth:"3px"}),y.jsx("h4",{className:"text-sm",children:"+99371871812"})]}),y.jsx(yf,{className:"!text-on_surface"})]})]})}),y.jsx("div",{className:"bg-primary py-2 flex items-center justify-between h-20 overflow-hidden",children:y.jsxs(st,{className:"flex items-center justify-between ",children:[y.jsxs("div",{className:"flex items-center gap-8",children:[y.jsx(Me,{to:"/",children:y.jsx(rp,{})}),y.jsx("nav",{className:"lg:flex hidden items-center gap-6 text-white",children:Va[We(e)].data.slice(3,6).map(t=>t.dropDown?y.jsx(Ff,{dropDownContent:t.dropDownContent,title:t.title,color:"white"},t.title):y.jsx(Me,{className:"py-2",to:t.link||"",children:t.title},t.title))})]}),y.jsxs("div",{className:"flex items-center gap-3",children:[y.jsx(yf,{className:"lg:hidden",light:!0}),y.jsx(Fb,{})]}),y.jsxs("div",{className:"lg:flex hidden items-center gap-2",children:[y.jsx(Me,{to:e===pt.RU?"https://turkmentextile.turkmenexpo.com/app/storage/app/media/official_support/official_support_ru.pdf":"https://turkmentextile.turkmenexpo.com/app/storage/app/media/official_support/official_support_eng.pdf",target:"_blank",children:y.jsx(ut,{variant:"secondary",size:"sm",className:"bg-white text-primary hover:bg-white/90",children:e==="ru"?"Официальная поддержка":"Official Support"})}),y.jsx(Me,{to:"/become-sponsor",children:y.jsx(ut,{variant:"secondary",size:"sm",className:"bg-teritary text-white hover:bg-teritary/90",children:e==="ru"?"Стать спонсором":"Become a sponsor"})})]})]})})]})},p1=()=>{const e=Le(t=>t.lang);return y.jsxs("footer",{children:[y.jsx(_y,{}),y.jsx("div",{className:"py-5 bg-primary",children:y.jsxs(st,{className:"flex flex-col gap-6",children:[y.jsxs("div",{className:"flex flex-col md:flex-row gap-6 md:items-end md:justify-between items-center",children:[y.jsx(rp,{}),y.jsxs("div",{className:"flex items-center gap-6",children:[y.jsx(Me,{target:"_blank",to:"https://www.facebook.com/profile.php?id=61567254728028",children:y.jsx(Nx,{className:"text-white"})}),y.jsx(Me,{target:"_blank",to:"https://www.instagram.com/turkmenexpo_tm?igsh=bnhkOWpmNWcwcHBq",children:y.jsx("img",{src:"/inst.svg"})}),y.jsx(Me,{target:"_blank",to:"https://www.linkedin.com/company/turkmen-expo",children:y.jsx("img",{src:"/in.svg"})}),y.jsx(Me,{target:"_blank",to:"https://x.com/turkmenexpo?t=D-XSa8d0AC8GAv5peAzteA&s=09",children:y.jsx("img",{src:"/x.svg"})})]})]}),y.jsx("hr",{className:"border-white/50"}),y.jsx("h5",{className:"text-base text-center normal text-white",children:e===pt.RU?"©2025 Все права защищены":"All rights reserved"})]})})]})},st=({className:e,children:t})=>y.jsx("div",{className:X("w-full mx-auto max-w-[1240px] px-4",e),children:t}),m1=({title:e})=>y.jsxs("div",{className:"relative flex items-center h-[216px] w-full justify-center",children:[y.jsx("img",{src:"/cover.png",className:"-z-10 absolute size-full object-cover top-0 left-0"}),y.jsx("h1",{className:"text-on_primary md:text-5xl text-3xl",children:e})]});export{st as $,a1 as A,ut as B,m1 as C,zk as D,Kk as E,p1 as F,pA as G,h1 as H,_e as I,qk as J,Yk as K,pt as L,Xk as M,Vc as N,It as O,dh as P,e1 as Q,On as R,rs as S,it as T,mt as U,zi as V,ss as W,LC as X,$y as Y,Zh as Z,Jk as _,t1 as a,c1 as b,u1 as c,f1 as d,d1 as e,l1 as f,X as g,n1 as h,o1 as i,y as j,r1 as k,s1 as l,i1 as m,Bo as n,Ki as o,We as p,MT as q,eg as r,tg as s,ng as t,Le as u,Gk as v,$k as w,NT as x,Zk as y,wf as z}; diff --git a/dist/assets/use-scroll-top-ByehxtTO.js b/dist/assets/use-scroll-top-DE9Ps7OH.js similarity index 54% rename from dist/assets/use-scroll-top-ByehxtTO.js rename to dist/assets/use-scroll-top-DE9Ps7OH.js index c24baca..a9c97cd 100644 --- a/dist/assets/use-scroll-top-ByehxtTO.js +++ b/dist/assets/use-scroll-top-DE9Ps7OH.js @@ -1 +1 @@ -import{a as r}from"./react-vendor-OnsDvTPE.js";const t=o=>{r.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[o])};export{t as u}; +import{a as r}from"./react-vendor-DnK_KZAP.js";const t=o=>{r.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[o])};export{t as u}; diff --git a/dist/index.html b/dist/index.html index e0df2ec..9b38fdc 100644 --- a/dist/index.html +++ b/dist/index.html @@ -66,9 +66,9 @@ })(window, document, "script", "dataLayer", "GTM-NK394LVK"); Turkmen Textile - - - + + +