From f5ec6912f2cbf33848cdcd7b206df00815a6fe4d Mon Sep 17 00:00:00 2001 From: Batyr Date: Wed, 28 May 2025 15:28:42 +0500 Subject: [PATCH] build --- dist/assets/index-Bnz_aUiU.js | 1 + dist/assets/index-DJt8RAU9.js | 1 - dist/assets/index-DhXVLqHp.css | 1 + dist/assets/index-gEcKEu9V.css | 1 - ...ary-C22sud8w.js => ui-library-fl7SR1OO.js} | 62 +++++++++--------- dist/impressions/test.png | Bin 0 -> 13824 bytes dist/impressions/videos-block-bg.png | Bin 0 -> 139174 bytes dist/index.html | 6 +- 8 files changed, 36 insertions(+), 36 deletions(-) create mode 100644 dist/assets/index-Bnz_aUiU.js delete mode 100644 dist/assets/index-DJt8RAU9.js create mode 100644 dist/assets/index-DhXVLqHp.css delete mode 100644 dist/assets/index-gEcKEu9V.css rename dist/assets/{ui-library-C22sud8w.js => ui-library-fl7SR1OO.js} (59%) create mode 100644 dist/impressions/test.png create mode 100644 dist/impressions/videos-block-bg.png diff --git a/dist/assets/index-Bnz_aUiU.js b/dist/assets/index-Bnz_aUiU.js new file mode 100644 index 0000000..719ac35 --- /dev/null +++ b/dist/assets/index-Bnz_aUiU.js @@ -0,0 +1 @@ +import{u as T,i as Ft,j as r,H as It,F as $t,a as At,b as Dt,c as Bt,d as Vt,e as Mt,f as Kt,g as Gt,h as Ut,z as b,k as Re,l as pe,S as qe,m as ct,n as Ht,P as he,o as X,p as zt,q as qt,r as Jt,s as re,t as De,v as ge,w as j,x as we,y as D,A as B,L as ee,B as V,C as N,D as M,E as Be,G as Pe,I as Oe,J as Le,K as oe,M as Ve,N as Qt,O as xe,Q as Wt,R as Yt,T as Xt,U as Zt,V as es,W as ts,X as ss,Y as be,Z as ns,_ as rs,$ as te,a0 as as,a1 as is,a2 as os,a3 as ut,a4 as ls,a5 as le,a6 as Me,a7 as cs,a8 as dt,a9 as pt,aa as us,ab as Je,ac as ds,ad as ps,ae as ms,af as fs,ag as hs,ah as gs}from"./ui-library-fl7SR1OO.js";import{f as xs,a as y,O as bs,e as ne,u as ys,g as vs,h as js}from"./react-vendor-Y0eyvj1J.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))s(n);new MutationObserver(n=>{for(const a of n)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function t(n){const a={};return n.integrity&&(a.integrity=n.integrity),n.referrerPolicy&&(a.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?a.credentials="include":n.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(n){if(n.ep)return;n.ep=!0;const a=t(n);fetch(n.href,a)}})();var je={},Qe;function Ns(){if(Qe)return je;Qe=1;var i=xs();return je.createRoot=i.createRoot,je.hydrateRoot=i.hydrateRoot,je}var ws=Ns();const v=i=>typeof i=="string",ue=()=>{let i,e;const t=new Promise((s,n)=>{i=s,e=n});return t.resolve=i,t.reject=e,t},We=i=>i==null?"":""+i,Ss=(i,e,t)=>{i.forEach(s=>{e[s]&&(t[s]=e[s])})},ks=/###/g,Ye=i=>i&&i.indexOf("###")>-1?i.replace(ks,"."):i,Xe=i=>!i||v(i),de=(i,e,t)=>{const s=v(e)?e.split("."):e;let n=0;for(;n{const{obj:s,k:n}=de(i,e,Object);if(s!==void 0||e.length===1){s[n]=t;return}let a=e[e.length-1],o=e.slice(0,e.length-1),l=de(i,o,Object);for(;l.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),l=de(i,o,Object),l!=null&&l.obj&&typeof l.obj[`${l.k}.${a}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${a}`]=t},_s=(i,e,t,s)=>{const{obj:n,k:a}=de(i,e,Object);n[a]=n[a]||[],n[a].push(t)},Se=(i,e)=>{const{obj:t,k:s}=de(i,e);if(t&&Object.prototype.hasOwnProperty.call(t,s))return t[s]},Cs=(i,e,t)=>{const s=Se(i,t);return s!==void 0?s:Se(e,t)},mt=(i,e,t)=>{for(const s in e)s!=="__proto__"&&s!=="constructor"&&(s in i?v(i[s])||i[s]instanceof String||v(e[s])||e[s]instanceof String?t&&(i[s]=e[s]):mt(i[s],e[s],t):i[s]=e[s]);return i},ae=i=>i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Rs={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Ps=i=>v(i)?i.replace(/[&<>"'\/]/g,e=>Rs[e]):i;class Os{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 s=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,s),this.regExpQueue.push(e),s}}const Ls=[" ",",","?","!",";"],Es=new Os(20),Ts=(i,e,t)=>{e=e||"",t=t||"";const s=Ls.filter(o=>e.indexOf(o)<0&&t.indexOf(o)<0);if(s.length===0)return!0;const n=Es.getRegExp(`(${s.map(o=>o==="?"?"\\?":o).join("|")})`);let a=!n.test(i);if(!a){const o=i.indexOf(t);o>0&&!n.test(i.substring(0,o))&&(a=!0)}return a},$e=function(i,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!i)return;if(i[e])return Object.prototype.hasOwnProperty.call(i,e)?i[e]:void 0;const s=e.split(t);let n=i;for(let a=0;a-1&&ci==null?void 0:i.replace("_","-"),Fs={type:"logger",log(i){this.output("log",i)},warn(i){this.output("warn",i)},error(i){this.output("error",i)},output(i,e){var t,s;(s=(t=console==null?void 0:console[i])==null?void 0:t.apply)==null||s.call(t,console,e)}};class _e{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||Fs,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),s=0;s{this.observers[s]||(this.observers[s]=new Map);const n=this.observers[s].get(t)||0;this.observers[s].set(t,n+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,s=new Array(t>1?t-1:0),n=1;n{let[l,c]=o;for(let u=0;u{let[l,c]=o;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,s){var u,p;let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,o=n.ignoreJSONStructure!==void 0?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;e.indexOf(".")>-1?l=e.split("."):(l=[e,t],s&&(Array.isArray(s)?l.push(...s):v(s)&&a?l.push(...s.split(a)):l.push(s)));const c=Se(this.data,l);return!c&&!t&&!s&&e.indexOf(".")>-1&&(e=l[0],t=l[1],s=l.slice(2).join(".")),c||!o||!v(s)?c:$e((p=(u=this.data)==null?void 0:u[e])==null?void 0:p[t],s,a)}addResource(e,t,s,n){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let l=[e,t];s&&(l=l.concat(o?s.split(o):s)),e.indexOf(".")>-1&&(l=e.split("."),n=t,t=l[1]),this.addNamespaces(t),Ze(this.data,l,n),a.silent||this.emit("added",e,t,s,n)}addResources(e,t,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const a in s)(v(s[a])||Array.isArray(s[a]))&&this.addResource(e,t,a,s[a],{silent:!0});n.silent||this.emit("added",e,t,s)}addResourceBundle(e,t,s,n,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[e,t];e.indexOf(".")>-1&&(l=e.split("."),n=s,s=t,t=l[1]),this.addNamespaces(t);let c=Se(this.data,l)||{};o.skipCopy||(s=JSON.parse(JSON.stringify(s))),n?mt(c,s,a):c={...c,...s},Ze(this.data,l,c),o.silent||this.emit("added",e,t,s)}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(n=>t[n]&&Object.keys(t[n]).length>0)}toJSON(){return this.data}}var ft={processors:{},addPostProcessor(i){this.processors[i.name]=i},handle(i,e,t,s,n){return i.forEach(a=>{var o;e=((o=this.processors[a])==null?void 0:o.process(e,t,s,n))??e}),e}};const tt={},st=i=>!v(i)&&typeof i!="boolean"&&typeof i!="number";class Ce extends Ee{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Ss(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=J.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 s=this.resolve(e,t);return(s==null?void 0:s.res)!==void 0}extractFromKey(e,t){let s=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;s===void 0&&(s=":");const n=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator;let a=t.ns||this.options.defaultNS||[];const o=s&&e.indexOf(s)>-1,l=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Ts(e,s,n);if(o&&!l){const c=e.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:e,namespaces:v(a)?[a]:a};const u=e.split(s);(s!==n||s===n&&this.options.ns.indexOf(u[0])>-1)&&(a=u.shift()),e=u.join(n)}return{key:e,namespaces:v(a)?[a]:a}}translate(e,t,s){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 n=t.returnDetails!==void 0?t.returnDetails:this.options.returnDetails,a=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(e[e.length-1],t),c=l[l.length-1],u=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((u==null?void 0:u.toLowerCase())==="cimode"){if(p){const L=t.nsSeparator||this.options.nsSeparator;return n?{res:`${c}${L}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(t)}:`${c}${L}${o}`}return n?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(t)}:o}const f=this.resolve(e,t);let d=f==null?void 0:f.res;const h=(f==null?void 0:f.usedKey)||o,m=(f==null?void 0:f.exactUsedKey)||o,g=["[object Number]","[object Function]","[object RegExp]"],x=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,w=!this.i18nFormat||this.i18nFormat.handleAsObject,S=t.count!==void 0&&!v(t.count),O=Ce.hasDefaultValue(t),P=S?this.pluralResolver.getSuffix(u,t.count,t):"",F=t.ordinal&&S?this.pluralResolver.getSuffix(u,t.count,{ordinal:!1}):"",R=S&&!t.ordinal&&t.count===0,_=R&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${P}`]||t[`defaultValue${F}`]||t.defaultValue;let k=d;w&&!d&&O&&(k=_);const K=st(k),Q=Object.prototype.toString.apply(k);if(w&&k&&K&&g.indexOf(Q)<0&&!(v(x)&&Array.isArray(k))){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(h,k,{...t,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return n?(f.res=L,f.usedParams=this.getUsedParamsDetails(t),f):L}if(a){const L=Array.isArray(k),I=L?[]:{},ye=L?m:h;for(const G in k)if(Object.prototype.hasOwnProperty.call(k,G)){const U=`${ye}${a}${G}`;O&&!d?I[G]=this.translate(U,{...t,defaultValue:st(_)?_[G]:void 0,joinArrays:!1,ns:l}):I[G]=this.translate(U,{...t,joinArrays:!1,ns:l}),I[G]===U&&(I[G]=k[G])}d=I}}else if(w&&v(x)&&Array.isArray(d))d=d.join(x),d&&(d=this.extendTranslation(d,e,t,s));else{let L=!1,I=!1;!this.isValidLookup(d)&&O&&(L=!0,d=_),this.isValidLookup(d)||(I=!0,d=o);const G=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&I?void 0:d,U=O&&_!==d&&this.options.updateMissing;if(I||L||U){if(this.logger.log(U?"updateKey":"missingKey",u,c,o,U?_:d),a){const A=this.resolve(o,{...t,keySeparator:!1});A&&A.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 $=[];const ve=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ve&&ve[0])for(let A=0;A{var ze;const He=O&&ce!==d?ce:G;this.options.missingKeyHandler?this.options.missingKeyHandler(A,c,se,He,U,t):(ze=this.backendConnector)!=null&&ze.saveMissing&&this.backendConnector.saveMissing(A,c,se,He,U,t),this.emit("missingKey",A,c,se,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&S?$.forEach(A=>{const se=this.pluralResolver.getSuffixes(A,t);R&&t[`defaultValue${this.options.pluralSeparator}zero`]&&se.indexOf(`${this.options.pluralSeparator}zero`)<0&&se.push(`${this.options.pluralSeparator}zero`),se.forEach(ce=>{Ue([A],o+ce,t[`defaultValue${ce}`]||_)})}):Ue($,o,_))}d=this.extendTranslation(d,e,t,f,s),I&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${c}:${o}`),(I||L)&&this.options.parseMissingKeyHandler&&(d=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${o}`:o,L?d:void 0))}return n?(f.res=d,f.usedParams=this.getUsedParamsDetails(t),f):d}extendTranslation(e,t,s,n,a){var u,p;var o=this;if((u=this.i18nFormat)!=null&&u.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init({...s,interpolation:{...this.options.interpolation,...s.interpolation}});const f=v(e)&&(((p=s==null?void 0:s.interpolation)==null?void 0:p.skipOnVariables)!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(f){const m=e.match(this.interpolator.nestingRegexp);d=m&&m.length}let h=s.replace&&!v(s.replace)?s.replace:s;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),e=this.interpolator.interpolate(e,h,s.lng||this.language||n.usedLng,s),f){const m=e.match(this.interpolator.nestingRegexp),g=m&&m.length;d1&&arguments[1]!==void 0?arguments[1]:{},s,n,a,o,l;return v(e)&&(e=[e]),e.forEach(c=>{if(this.isValidLookup(s))return;const u=this.extractFromKey(c,t),p=u.key;n=p;let f=u.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const d=t.count!==void 0&&!v(t.count),h=d&&!t.ordinal&&t.count===0,m=t.context!==void 0&&(v(t.context)||typeof t.context=="number")&&t.context!=="",g=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);f.forEach(x=>{var w,S;this.isValidLookup(s)||(l=x,!tt[`${g[0]}-${x}`]&&((w=this.utils)!=null&&w.hasLoadedNamespace)&&!((S=this.utils)!=null&&S.hasLoadedNamespace(l))&&(tt[`${g[0]}-${x}`]=!0,this.logger.warn(`key "${n}" for languages "${g.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!!!")),g.forEach(O=>{var R;if(this.isValidLookup(s))return;o=O;const P=[p];if((R=this.i18nFormat)!=null&&R.addLookupKeys)this.i18nFormat.addLookupKeys(P,p,O,x,t);else{let _;d&&(_=this.pluralResolver.getSuffix(O,t.count,t));const k=`${this.options.pluralSeparator}zero`,K=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(P.push(p+_),t.ordinal&&_.indexOf(K)===0&&P.push(p+_.replace(K,this.options.pluralSeparator)),h&&P.push(p+k)),m){const Q=`${p}${this.options.contextSeparator}${t.context}`;P.push(Q),d&&(P.push(Q+_),t.ordinal&&_.indexOf(K)===0&&P.push(Q+_.replace(K,this.options.pluralSeparator)),h&&P.push(Q+k))}}let F;for(;F=P.pop();)this.isValidLookup(s)||(a=F,s=this.getResource(O,x,F,t))}))})}),{res:s,usedKey:n,exactUsedKey:a,usedLng:o,usedNS:l}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,s){var a;let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(a=this.i18nFormat)!=null&&a.getResource?this.i18nFormat.getResource(e,t,s,n):this.resourceStore.getResource(e,t,s,n)}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"],s=e.replace&&!v(e.replace);let n=s?e.replace:e;if(s&&typeof e.count<"u"&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!s){n={...n};for(const a of t)delete n[a]}return n}static hasDefaultValue(e){const t="defaultValue";for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&t===s.substring(0,t.length)&&e[s]!==void 0)return!0;return!1}}class nt{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=J.create("languageUtils")}getScriptPartFromCode(e){if(e=ke(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=ke(e),!e||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(v(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(s=>{if(t)return;const n=this.formatLanguageCode(s);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(s=>{if(t)return;const n=this.getLanguagePartFromCode(s);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(a=>{if(a===n)return a;if(!(a.indexOf("-")<0&&n.indexOf("-")<0)&&(a.indexOf("-")>0&&n.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===n||a.indexOf(n)===0&&n.length>1))return a})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),v(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let s=e[t];return s||(s=e[this.getScriptPartFromCode(t)]),s||(s=e[this.formatLanguageCode(t)]),s||(s=e[this.getLanguagePartFromCode(t)]),s||(s=e.default),s||[]}toResolveHierarchy(e,t){const s=this.getFallbackCodes(t||this.options.fallbackLng||[],e),n=[],a=o=>{o&&(this.isSupportedCode(o)?n.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return v(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(e))):v(e)&&a(this.formatLanguageCode(e)),s.forEach(o=>{n.indexOf(o)<0&&a(this.formatLanguageCode(o))}),n}}const rt={zero:0,one:1,two:2,few:3,many:4,other:5},at={select:i=>i===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Is{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=J.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 s=ke(e==="dev"?"en":e),n=t.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:s,type:n});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];let o;try{o=new Intl.PluralRules(s,{type:n})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),at;if(!e.match(/-|_/))return at;const c=this.languageUtils.getLanguagePartFromCode(e);o=this.getRule(c,t)}return this.pluralRulesCache[a]=o,o}needsPlural(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=this.getRule(e,t);return s||(s=this.getRule("dev",t)),(s==null?void 0:s.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,s).map(n=>`${t}${n}`)}getSuffixes(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=this.getRule(e,t);return s||(s=this.getRule("dev",t)),s?s.resolvedOptions().pluralCategories.sort((n,a)=>rt[n]-rt[a]).map(n=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${n}`):[]}getSuffix(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n=this.getRule(e,s);return n?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,s))}}const it=function(i,e,t){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=Cs(i,e,t);return!a&&n&&v(t)&&(a=$e(i,t,s),a===void 0&&(a=$e(e,t,s))),a},Fe=i=>i.replace(/\$/g,"$$$$");class $s{constructor(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=J.create("interpolator"),this.options=e,this.format=((t=e==null?void 0:e.interpolation)==null?void 0:t.format)||(s=>s),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:s,useRawValueToEscape:n,prefix:a,prefixEscaped:o,suffix:l,suffixEscaped:c,formatSeparator:u,unescapeSuffix:p,unescapePrefix:f,nestingPrefix:d,nestingPrefixEscaped:h,nestingSuffix:m,nestingSuffixEscaped:g,nestingOptionsSeparator:x,maxReplaces:w,alwaysFormat:S}=e.interpolation;this.escape=t!==void 0?t:Ps,this.escapeValue=s!==void 0?s:!0,this.useRawValueToEscape=n!==void 0?n:!1,this.prefix=a?ae(a):o||"{{",this.suffix=l?ae(l):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=p?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=d?ae(d):h||ae("$t("),this.nestingSuffix=m?ae(m):g||ae(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=w||1e3,this.alwaysFormat=S!==void 0?S:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(t,s)=>(t==null?void 0:t.source)===s?(t.lastIndex=0,t):new RegExp(s,"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,s,n){var h;let a,o,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=m=>{if(m.indexOf(this.formatSeparator)<0){const S=it(t,c,m,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(S,void 0,s,{...n,...t,interpolationkey:m}):S}const g=m.split(this.formatSeparator),x=g.shift().trim(),w=g.join(this.formatSeparator).trim();return this.format(it(t,c,x,this.options.keySeparator,this.options.ignoreJSONStructure),w,s,{...n,...t,interpolationkey:x})};this.resetRegExp();const p=(n==null?void 0:n.missingInterpolationHandler)||this.options.missingInterpolationHandler,f=((h=n==null?void 0:n.interpolation)==null?void 0:h.skipOnVariables)!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:m=>Fe(m)},{regex:this.regexp,safeValue:m=>this.escapeValue?Fe(this.escape(m)):Fe(m)}].forEach(m=>{for(l=0;a=m.regex.exec(e);){const g=a[1].trim();if(o=u(g),o===void 0)if(typeof p=="function"){const w=p(e,a,n);o=v(w)?w:""}else if(n&&Object.prototype.hasOwnProperty.call(n,g))o="";else if(f){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`),o="";else!v(o)&&!this.useRawValueToEscape&&(o=We(o));const x=m.safeValue(o);if(e=e.replace(a[0],x),f?(m.regex.lastIndex+=o.length,m.regex.lastIndex-=a[0].length):m.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),e}nest(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,a,o;const l=(c,u)=>{const p=this.nestingOptionsSeparator;if(c.indexOf(p)<0)return c;const f=c.split(new RegExp(`${p}[ ]*{`));let d=`{${f[1]}`;c=f[0],d=this.interpolate(d,o);const h=d.match(/'/g),m=d.match(/"/g);(((h==null?void 0:h.length)??0)%2===0&&!m||m.length%2!==0)&&(d=d.replace(/'/g,'"'));try{o=JSON.parse(d),u&&(o={...u,...o})}catch(g){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,g),`${c}${p}${d}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,c};for(;n=this.nestingRegexp.exec(e);){let c=[];o={...s},o=o.replace&&!v(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(n[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(n[1])){const p=n[1].split(this.formatSeparator).map(f=>f.trim());n[1]=p.shift(),c=p,u=!0}if(a=t(l.call(this,n[1].trim(),o),o),a&&n[0]===e&&!v(a))return a;v(a)||(a=We(a)),a||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),a=""),u&&(a=c.reduce((p,f)=>this.format(p,f,s.lng,{...s,interpolationkey:n[1].trim()}),a.trim())),e=e.replace(n[0],a),this.regexp.lastIndex=0}return e}}const As=i=>{let e=i.toLowerCase().trim();const t={};if(i.indexOf("(")>-1){const s=i.split("(");e=s[0].toLowerCase().trim();const n=s[1].substring(0,s[1].length-1);e==="currency"&&n.indexOf(":")<0?t.currency||(t.currency=n.trim()):e==="relativetime"&&n.indexOf(":")<0?t.range||(t.range=n.trim()):n.split(";").forEach(o=>{if(o){const[l,...c]=o.split(":"),u=c.join(":").trim().replace(/^'+|'+$/g,""),p=l.trim();t[p]||(t[p]=u),u==="false"&&(t[p]=!1),u==="true"&&(t[p]=!0),isNaN(u)||(t[p]=parseInt(u,10))}})}return{formatName:e,formatOptions:t}},ie=i=>{const e={};return(t,s,n)=>{let a=n;n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]&&(a={...a,[n.interpolationkey]:void 0});const o=s+JSON.stringify(a);let l=e[o];return l||(l=i(ke(s),n),e[o]=l),l(t)}};class Ds{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=J.create("formatter"),this.options=e,this.formats={number:ie((t,s)=>{const n=new Intl.NumberFormat(t,{...s});return a=>n.format(a)}),currency:ie((t,s)=>{const n=new Intl.NumberFormat(t,{...s,style:"currency"});return a=>n.format(a)}),datetime:ie((t,s)=>{const n=new Intl.DateTimeFormat(t,{...s});return a=>n.format(a)}),relativetime:ie((t,s)=>{const n=new Intl.RelativeTimeFormat(t,{...s});return a=>n.format(a,s.range||"day")}),list:ie((t,s)=>{const n=new Intl.ListFormat(t,{...s});return a=>n.format(a)})},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()]=ie(t)}format(e,t,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=t.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&a[0].indexOf(")")<0&&a.find(l=>l.indexOf(")")>-1)){const l=a.findIndex(c=>c.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,l)].join(this.formatSeparator)}return a.reduce((l,c)=>{var f;const{formatName:u,formatOptions:p}=As(c);if(this.formats[u]){let d=l;try{const h=((f=n==null?void 0:n.formatParams)==null?void 0:f[n.interpolationkey])||{},m=h.locale||h.lng||n.locale||n.lng||s;d=this.formats[u](l,m,{...p,...n,...h})}catch(h){this.logger.warn(h)}return d}else this.logger.warn(`there was no format function for ${u}`);return l},e)}}const Bs=(i,e)=>{i.pending[e]!==void 0&&(delete i.pending[e],i.pendingCount--)};class Vs extends Ee{constructor(e,t,s){var a,o;let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=s,this.languageUtils=s.languageUtils,this.options=n,this.logger=J.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],(o=(a=this.backend)==null?void 0:a.init)==null||o.call(a,s,n.backend,n)}queueLoad(e,t,s,n){const a={},o={},l={},c={};return e.forEach(u=>{let p=!0;t.forEach(f=>{const d=`${u}|${f}`;!s.reload&&this.store.hasResourceBundle(u,f)?this.state[d]=2:this.state[d]<0||(this.state[d]===1?o[d]===void 0&&(o[d]=!0):(this.state[d]=1,p=!1,o[d]===void 0&&(o[d]=!0),a[d]===void 0&&(a[d]=!0),c[f]===void 0&&(c[f]=!0)))}),p||(l[u]=!0)}),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(e,t,s){const n=e.split("|"),a=n[0],o=n[1];t&&this.emit("failedLoading",a,o,t),!t&&s&&this.store.addResourceBundle(a,o,s,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&s&&(this.state[e]=0);const l={};this.queue.forEach(c=>{_s(c.loaded,[a],o),Bs(c,e),t&&c.errors.push(t),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{l[u]||(l[u]={});const p=c.loaded[u];p.length&&p.forEach(f=>{l[u][f]===void 0&&(l[u][f]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(e,t,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:s,tried:n,wait:a,callback:o});return}this.readingCalls++;const l=(u,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(u&&p&&n{this.read.call(this,e,t,s,n+1,a*2,o)},a);return}o(u,p)},c=this.backend[s].bind(this.backend);if(c.length===2){try{const u=c(e,t);u&&typeof u.then=="function"?u.then(p=>l(null,p)).catch(l):l(null,u)}catch(u){l(u)}return}return c(e,t,l)}prepareLoading(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=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."),n&&n();v(e)&&(e=this.languageUtils.toResolveHierarchy(e)),v(t)&&(t=[t]);const a=this.queueLoad(e,t,s,n);if(!a.toLoad.length)return a.pending.length||n(),null;a.toLoad.forEach(o=>{this.loadOne(o)})}load(e,t,s){this.prepareLoading(e,t,{},s)}reload(e,t,s){this.prepareLoading(e,t,{reload:!0},s)}loadOne(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const s=e.split("|"),n=s[0],a=s[1];this.read(n,a,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${t}loading namespace ${a} for language ${n} failed`,o),!o&&l&&this.logger.log(`${t}loaded namespace ${a} for language ${n}`,l),this.loaded(e,o,l)})}saveMissing(e,t,s,n,a){var c,u,p,f,d;let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((u=(c=this.services)==null?void 0:c.utils)!=null&&u.hasLoadedNamespace&&!((f=(p=this.services)==null?void 0:p.utils)!=null&&f.hasLoadedNamespace(t))){this.logger.warn(`did not save key "${s}" 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(!(s==null||s==="")){if((d=this.backend)!=null&&d.create){const h={...o,isUpdate:a},m=this.backend.create.bind(this.backend);if(m.length<6)try{let g;m.length===5?g=m(e,t,s,n,h):g=m(e,t,s,n),g&&typeof g.then=="function"?g.then(x=>l(null,x)).catch(l):l(null,g)}catch(g){l(g)}else m(e,t,s,n,l,h)}!e||!e[0]||this.store.addResource(e[0],t,s,n)}}}const ot=()=>({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:i=>{let e={};if(typeof i[1]=="object"&&(e=i[1]),v(i[1])&&(e.defaultValue=i[1]),v(i[2])&&(e.tDescription=i[2]),typeof i[2]=="object"||typeof i[3]=="object"){const t=i[3]||i[2];Object.keys(t).forEach(s=>{e[s]=t[s]})}return e},interpolation:{escapeValue:!0,format:i=>i,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),lt=i=>{var e,t;return v(i.ns)&&(i.ns=[i.ns]),v(i.fallbackLng)&&(i.fallbackLng=[i.fallbackLng]),v(i.fallbackNS)&&(i.fallbackNS=[i.fallbackNS]),((t=(e=i.supportedLngs)==null?void 0:e.indexOf)==null?void 0:t.call(e,"cimode"))<0&&(i.supportedLngs=i.supportedLngs.concat(["cimode"])),typeof i.initImmediate=="boolean"&&(i.initAsync=i.initImmediate),i},Ne=()=>{},Ms=i=>{Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach(t=>{typeof i[t]=="function"&&(i[t]=i[t].bind(i))})};class me extends Ee{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=lt(e),this.services={},this.logger=J,this.modules={external:[]},Ms(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]:{},s=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof t=="function"&&(s=t,t={}),t.defaultNS==null&&t.ns&&(v(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const n=ot();this.options={...n,...this.options,...lt(t)},this.options.interpolation={...n.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);const a=p=>p?typeof p=="function"?new p:p:null;if(!this.options.isClone){this.modules.logger?J.init(a(this.modules.logger),this.options):J.init(null,this.options);let p;this.modules.formatter?p=this.modules.formatter:p=Ds;const f=new nt(this.options);this.store=new et(this.options.resources,this.options);const d=this.services;d.logger=J,d.resourceStore=this.store,d.languageUtils=f,d.pluralResolver=new Is(f,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),p&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(d.formatter=a(p),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new $s(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new Vs(a(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(h){for(var m=arguments.length,g=new Array(m>1?m-1:0),x=1;x1?m-1:0),x=1;x{h.init&&h.init(this)})}if(this.format=this.options.interpolation.format,s||(s=Ne),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const p=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);p.length>0&&p[0]!=="dev"&&(this.options.lng=p[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(p=>{this[p]=function(){return e.store[p](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(p=>{this[p]=function(){return e.store[p](...arguments),e}});const c=ue(),u=()=>{const p=(f,d)=>{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),c.resolve(d),s(f,d)};if(this.languages&&!this.isInitialized)return p(null,this.t.bind(this));this.changeLanguage(this.options.lng,p)};return this.options.resources||!this.options.initAsync?u():setTimeout(u,0),c}loadResources(e){var a,o;let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ne;const n=v(e)?e:this.language;if(typeof e=="function"&&(s=e),!this.options.resources||this.options.partialBundledLanguages){if((n==null?void 0:n.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return s();const l=[],c=u=>{if(!u||u==="cimode")return;this.services.languageUtils.toResolveHierarchy(u).forEach(f=>{f!=="cimode"&&l.indexOf(f)<0&&l.push(f)})};n?c(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(p=>c(p)),(o=(a=this.options.preload)==null?void 0:a.forEach)==null||o.call(a,u=>c(u)),this.services.backendConnector.load(l,this.options.ns,u=>{!u&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),s(u)})}else s(null)}reloadResources(e,t,s){const n=ue();return typeof e=="function"&&(s=e,e=void 0),typeof t=="function"&&(s=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),s||(s=Ne),this.services.backendConnector.reload(e,t,a=>{n.resolve(),s(a)}),n}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"&&ft.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(s)){this.resolvedLanguage=s;break}}}changeLanguage(e,t){var s=this;this.isLanguageChangingTo=e;const n=ue();this.emit("languageChanging",e);const a=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,u)=>{u?(a(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,n.resolve(function(){return s.t(...arguments)}),t&&t(c,function(){return s.t(...arguments)})},l=c=>{var p,f;!e&&!c&&this.services.languageDetector&&(c=[]);const u=v(c)?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||a(u),this.translator.language||this.translator.changeLanguage(u),(f=(p=this.services.languageDetector)==null?void 0:p.cacheUserLanguage)==null||f.call(p,u)),this.loadResources(u,d=>{o(d,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),n}getFixedT(e,t,s){var n=this;const a=function(o,l){let c;if(typeof l!="object"){for(var u=arguments.length,p=new Array(u>2?u-2:0),f=2;f`${c.keyPrefix}${d}${m}`):h=c.keyPrefix?`${c.keyPrefix}${d}${o}`:o,n.t(h,c)};return v(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=s,a}t(){var n;for(var e=arguments.length,t=new Array(e),s=0;s1&&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 s=t.lng||this.resolvedLanguage||this.languages[0],n=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;const o=(l,c)=>{const u=this.services.backendConnector.state[`${l}|${c}`];return u===-1||u===0||u===2};if(t.precheck){const l=t.precheck(this,o);if(l!==void 0)return l}return!!(this.hasResourceBundle(s,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(s,e)&&(!n||o(a,e)))}loadNamespaces(e,t){const s=ue();return this.options.ns?(v(e)&&(e=[e]),e.forEach(n=>{this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}),this.loadResources(n=>{s.resolve(),t&&t(n)}),s):(t&&t(),Promise.resolve())}loadLanguages(e,t){const s=ue();v(e)&&(e=[e]);const n=this.options.preload||[],a=e.filter(o=>n.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return a.length?(this.options.preload=n.concat(a),this.loadResources(o=>{s.resolve(),t&&t(o)}),s):(t&&t(),Promise.resolve())}dir(e){var n,a;if(e||(e=this.resolvedLanguage||(((n=this.languages)==null?void 0:n.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"],s=((a=this.services)==null?void 0:a.languageUtils)||new nt(ot());return t.indexOf(s.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 me(e,t)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ne;const s=e.forkResourceStore;s&&delete e.forkResourceStore;const n={...this.options,...e,isClone:!0},a=new me(n);if((e.debug!==void 0||e.prefix!==void 0)&&(a.logger=a.logger.clone(e)),["store","services","language"].forEach(l=>{a[l]=this[l]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},s){const l=Object.keys(this.store.data).reduce((c,u)=>(c[u]={...this.store.data[u]},Object.keys(c[u]).reduce((p,f)=>(p[f]={...c[u][f]},p),{})),{});a.store=new et(l,n),a.services.resourceStore=a.store}return a.translator=new Ce(a.services,n),a.translator.on("*",function(l){for(var c=arguments.length,u=new Array(c>1?c-1:0),p=1;p{const i=T(e=>e.lang);return y.useEffect(()=>{E.changeLanguage(i)},[i]),null};function or(){return r.jsxs("main",{className:"flex flex-col min-h-screen",children:[r.jsx(ir,{}),r.jsx(It,{}),r.jsx("div",{className:"flex-auto",children:r.jsx(bs,{})}),r.jsx($t,{})]})}function lr(){return r.jsxs("div",{className:"flex flex-col",children:[r.jsx(At,{}),r.jsx(Dt,{}),r.jsx(Bt,{}),r.jsx(Vt,{}),r.jsx(Mt,{}),r.jsx(Kt,{}),r.jsx(Gt,{}),r.jsx(Ut,{})]})}const cr=b.object({type:b.string(),company_name:b.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),representative_name:b.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:b.string().min(3,{message:"Должность должна быть не менее 3 символов"}),participants_number:b.string().min(1,{message:"Укажите количество участников"}),country:b.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email_address:b.string().email({message:"Укажите корректный email"}),phone_number:b.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:b.string().optional(),meeting_objective:b.string().min(3,{message:"Укажите цель встречи"}),proposal_description:b.string().optional(),government_agency:b.string().optional(),sector_industry:b.string().optional(),key_services:b.string().optional(),government_experience:b.string().optional(),preferred_meeting_datetime:b.string().optional(),meeting_mode:b.string().optional(),language_preference:b.string().optional(),technical_requirements:b.string().optional(),company_profile:b.custom(i=>i instanceof File,{message:"Выберите корректный файл"}).refine(i=>i&&["image/jpeg","image/png","application/pdf"].includes(i.type),{message:"Допускаются только файлы JPG, PNG и PDF"}).optional(),proposal_presentation:b.custom(i=>i instanceof File,{message:"Выберите корректный файл"}).refine(i=>i&&["image/jpeg","image/png","application/pdf"].includes(i.type),{message:"Допускаются только файлы JPG, PNG и PDF"}).optional(),relevant_certification:b.custom(i=>i instanceof File,{message:"Выберите корректный файл"}).refine(i=>i&&["image/jpeg","image/png","application/pdf"].includes(i.type),{message:"Допускаются только файлы JPG, PNG и PDF"}).optional()}),ur={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:""};function dr(i){const e=i+"CollectionProvider",[t,s]=Re(e),[n,a]=t(e,{collectionRef:{current:null},itemMap:new Map}),o=h=>{const{scope:m,children:g}=h,x=ne.useRef(null),w=ne.useRef(new Map).current;return r.jsx(n,{scope:m,itemMap:w,collectionRef:x,children:g})};o.displayName=e;const l=i+"CollectionSlot",c=ne.forwardRef((h,m)=>{const{scope:g,children:x}=h,w=a(l,g),S=pe(m,w.collectionRef);return r.jsx(qe,{ref:S,children:x})});c.displayName=l;const u=i+"CollectionItemSlot",p="data-radix-collection-item",f=ne.forwardRef((h,m)=>{const{scope:g,children:x,...w}=h,S=ne.useRef(null),O=pe(m,S),P=a(u,g);return ne.useEffect(()=>(P.itemMap.set(S,{ref:S,...w}),()=>void P.itemMap.delete(S))),r.jsx(qe,{[p]:"",ref:O,children:x})});f.displayName=u;function d(h){const m=a(i+"CollectionConsumer",h);return ne.useCallback(()=>{const x=m.collectionRef.current;if(!x)return[];const w=Array.from(x.querySelectorAll(`[${p}]`));return Array.from(m.itemMap.values()).sort((P,F)=>w.indexOf(P.ref.current)-w.indexOf(F.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:o,Slot:c,ItemSlot:f},d,s]}var pr=y.createContext(void 0);function ht(i){const e=y.useContext(pr);return i||e||"ltr"}var Ie="rovingFocusGroup.onEntryFocus",mr={bubbles:!1,cancelable:!0},Te="RovingFocusGroup",[Ae,gt,fr]=dr(Te),[hr,xt]=Re(Te,[fr]),[gr,xr]=hr(Te),bt=y.forwardRef((i,e)=>r.jsx(Ae.Provider,{scope:i.__scopeRovingFocusGroup,children:r.jsx(Ae.Slot,{scope:i.__scopeRovingFocusGroup,children:r.jsx(br,{...i,ref:e})})}));bt.displayName=Te;var br=y.forwardRef((i,e)=>{const{__scopeRovingFocusGroup:t,orientation:s,loop:n=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:p=!1,...f}=i,d=y.useRef(null),h=pe(e,d),m=ht(a),[g=null,x]=ct({prop:o,defaultProp:l,onChange:c}),[w,S]=y.useState(!1),O=Ht(u),P=gt(t),F=y.useRef(!1),[R,_]=y.useState(0);return y.useEffect(()=>{const k=d.current;if(k)return k.addEventListener(Ie,O),()=>k.removeEventListener(Ie,O)},[O]),r.jsx(gr,{scope:t,orientation:s,dir:m,loop:n,currentTabStopId:g,onItemFocus:y.useCallback(k=>x(k),[x]),onItemShiftTab:y.useCallback(()=>S(!0),[]),onFocusableItemAdd:y.useCallback(()=>_(k=>k+1),[]),onFocusableItemRemove:y.useCallback(()=>_(k=>k-1),[]),children:r.jsx(he.div,{tabIndex:w||R===0?-1:0,"data-orientation":s,...f,ref:h,style:{outline:"none",...i.style},onMouseDown:X(i.onMouseDown,()=>{F.current=!0}),onFocus:X(i.onFocus,k=>{const K=!F.current;if(k.target===k.currentTarget&&K&&!w){const Q=new CustomEvent(Ie,mr);if(k.currentTarget.dispatchEvent(Q),!Q.defaultPrevented){const L=P().filter($=>$.focusable),I=L.find($=>$.active),ye=L.find($=>$.id===g),U=[I,ye,...L].filter(Boolean).map($=>$.ref.current);jt(U,p)}}F.current=!1}),onBlur:X(i.onBlur,()=>S(!1))})})}),yt="RovingFocusGroupItem",vt=y.forwardRef((i,e)=>{const{__scopeRovingFocusGroup:t,focusable:s=!0,active:n=!1,tabStopId:a,...o}=i,l=zt(),c=a||l,u=xr(yt,t),p=u.currentTabStopId===c,f=gt(t),{onFocusableItemAdd:d,onFocusableItemRemove:h}=u;return y.useEffect(()=>{if(s)return d(),()=>h()},[s,d,h]),r.jsx(Ae.ItemSlot,{scope:t,id:c,focusable:s,active:n,children:r.jsx(he.span,{tabIndex:p?0:-1,"data-orientation":u.orientation,...o,ref:e,onMouseDown:X(i.onMouseDown,m=>{s?u.onItemFocus(c):m.preventDefault()}),onFocus:X(i.onFocus,()=>u.onItemFocus(c)),onKeyDown:X(i.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){u.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const g=jr(m,u.orientation,u.dir);if(g!==void 0){if(m.metaKey||m.ctrlKey||m.altKey||m.shiftKey)return;m.preventDefault();let w=f().filter(S=>S.focusable).map(S=>S.ref.current);if(g==="last")w.reverse();else if(g==="prev"||g==="next"){g==="prev"&&w.reverse();const S=w.indexOf(m.currentTarget);w=u.loop?Nr(w,S+1):w.slice(S+1)}setTimeout(()=>jt(w))}})})})});vt.displayName=yt;var yr={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function vr(i,e){return e!=="rtl"?i:i==="ArrowLeft"?"ArrowRight":i==="ArrowRight"?"ArrowLeft":i}function jr(i,e,t){const s=vr(i.key,t);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(s))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(s)))return yr[s]}function jt(i,e=!1){const t=document.activeElement;for(const s of i)if(s===t||(s.focus({preventScroll:e}),document.activeElement!==t))return}function Nr(i,e){return i.map((t,s)=>i[(e+s)%i.length])}var wr=bt,Sr=vt;function kr(i){const e=y.useRef({value:i,previous:i});return y.useMemo(()=>(e.current.value!==i&&(e.current.previous=e.current.value,e.current.value=i),e.current.previous),[i])}var Ke="Radio",[_r,Nt]=Re(Ke),[Cr,Rr]=_r(Ke),wt=y.forwardRef((i,e)=>{const{__scopeRadio:t,name:s,checked:n=!1,required:a,disabled:o,value:l="on",onCheck:c,form:u,...p}=i,[f,d]=y.useState(null),h=pe(e,x=>d(x)),m=y.useRef(!1),g=f?u||!!f.closest("form"):!0;return r.jsxs(Cr,{scope:t,checked:n,disabled:o,children:[r.jsx(he.button,{type:"button",role:"radio","aria-checked":n,"data-state":_t(n),"data-disabled":o?"":void 0,disabled:o,value:l,...p,ref:h,onClick:X(i.onClick,x=>{n||c==null||c(),g&&(m.current=x.isPropagationStopped(),m.current||x.stopPropagation())})}),g&&r.jsx(Pr,{control:f,bubbles:!m.current,name:s,value:l,checked:n,required:a,disabled:o,form:u,style:{transform:"translateX(-100%)"}})]})});wt.displayName=Ke;var St="RadioIndicator",kt=y.forwardRef((i,e)=>{const{__scopeRadio:t,forceMount:s,...n}=i,a=Rr(St,t);return r.jsx(qt,{present:s||a.checked,children:r.jsx(he.span,{"data-state":_t(a.checked),"data-disabled":a.disabled?"":void 0,...n,ref:e})})});kt.displayName=St;var Pr=i=>{const{control:e,checked:t,bubbles:s=!0,...n}=i,a=y.useRef(null),o=kr(t),l=Jt(e);return y.useEffect(()=>{const c=a.current,u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"checked").set;if(o!==t&&f){const d=new Event("click",{bubbles:s});f.call(c,t),c.dispatchEvent(d)}},[o,t,s]),r.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:t,...n,tabIndex:-1,ref:a,style:{...i.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function _t(i){return i?"checked":"unchecked"}var Or=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Ge="RadioGroup",[Lr,fa]=Re(Ge,[xt,Nt]),Ct=xt(),Rt=Nt(),[Er,Tr]=Lr(Ge),Pt=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,name:s,defaultValue:n,value:a,required:o=!1,disabled:l=!1,orientation:c,dir:u,loop:p=!0,onValueChange:f,...d}=i,h=Ct(t),m=ht(u),[g,x]=ct({prop:a,defaultProp:n,onChange:f});return r.jsx(Er,{scope:t,name:s,required:o,disabled:l,value:g,onValueChange:x,children:r.jsx(wr,{asChild:!0,...h,orientation:c,dir:m,loop:p,children:r.jsx(he.div,{role:"radiogroup","aria-required":o,"aria-orientation":c,"data-disabled":l?"":void 0,dir:m,...d,ref:e})})})});Pt.displayName=Ge;var Ot="RadioGroupItem",Lt=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,disabled:s,...n}=i,a=Tr(Ot,t),o=a.disabled||s,l=Ct(t),c=Rt(t),u=y.useRef(null),p=pe(e,u),f=a.value===n.value,d=y.useRef(!1);return y.useEffect(()=>{const h=g=>{Or.includes(g.key)&&(d.current=!0)},m=()=>d.current=!1;return document.addEventListener("keydown",h),document.addEventListener("keyup",m),()=>{document.removeEventListener("keydown",h),document.removeEventListener("keyup",m)}},[]),r.jsx(Sr,{asChild:!0,...l,focusable:!o,active:f,children:r.jsx(wt,{disabled:o,required:a.required,checked:f,...c,...n,name:a.name,ref:p,onCheck:()=>a.onValueChange(n.value),onKeyDown:X(h=>{h.key==="Enter"&&h.preventDefault()}),onFocus:X(n.onFocus,()=>{var h;d.current&&((h=u.current)==null||h.click())})})})});Lt.displayName=Ot;var Fr="RadioGroupIndicator",Ir=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,...s}=i,n=Rt(t);return r.jsx(kt,{...n,...s,ref:e})});Ir.displayName=Fr;var Et=Pt,Tt=Lt;const fe=y.forwardRef(({className:i,...e},t)=>r.jsx(Et,{className:re("grid gap-2",i),...e,ref:t}));fe.displayName=Et.displayName;const Y=y.forwardRef(({className:i,...e},t)=>r.jsx(Tt,{ref:t,className:re(e.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",i),...e}));Y.displayName=Tt.displayName;const W=[{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"}]}],Z=[{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)"}]}],H=[{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"}],q=i=>{y.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[i])},$r=({handleNext:i})=>{q();const{control:e,formState:t}=De(),s=T(n=>n.lang);return r.jsxs(ge.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,y:"100%",transition:{duration:.2}},className:"w-full",children:[r.jsx("h2",{className:"h2 mb-8",children:W[j(s)].h2}),r.jsxs("div",{className:"flex flex-col gap-8",children:[r.jsx(we,{defaultValue:1,control:e,name:"type",render:({field:n})=>r.jsxs(D,{className:"space-y-3",children:[r.jsx(B,{className:"text-xl",children:s===ee.RU?"Тип:":"Type:"}),r.jsx(V,{children:r.jsxs(fe,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4",children:[r.jsxs(D,{className:"flex items-center space-x-3 space-y-0",children:[r.jsx(V,{children:r.jsx(Y,{value:"B2B",checked:n.value==="B2B"})}),r.jsx(B,{className:"text-base",children:"B2B"})]}),r.jsxs(D,{className:"flex items-center space-x-3 space-y-0",children:[r.jsx(V,{children:r.jsx(Y,{value:"B2G",checked:n.value==="B2G"})}),r.jsx(B,{className:"text-base",children:"B2G"})]})]})})]})}),r.jsx(N,{control:e,name:"company_name",error:t.errors.company_name,placeholder:"",label:W[j(s)].data[0].label}),r.jsx(N,{control:e,name:"representative_name",error:t.errors.representative_name,placeholder:"",label:W[j(s)].data[1].label}),r.jsx(N,{control:e,name:"job_title",error:t.errors.job_title,placeholder:"",label:W[j(s)].data[2].label}),r.jsx(N,{control:e,name:"participants_number",error:t.errors.participants_number,placeholder:"",label:W[j(s)].data[3].label}),r.jsx(N,{control:e,name:"country",error:t.errors.country,placeholder:"",label:W[j(s)].data[4].label}),r.jsx(N,{control:e,name:"email_address",error:t.errors.email_address,placeholder:"",label:W[j(s)].data[5].label}),r.jsx(N,{control:e,name:"phone_number",error:t.errors.phone_number,placeholder:"",label:W[j(s)].data[6].label}),r.jsx(N,{control:e,name:"website",placeholder:"",label:W[j(s)].data[7].label})]}),r.jsx(M,{variant:"secondary",type:"button",onClick:i,className:"w-full mt-10",children:s===ee.RU?"Далее":"Next"})]})},Ar=({handleNext:i,handlePrev:e})=>{q();const t=T(a=>a.lang),{control:s,formState:n}=De();return r.jsxs(ge.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{delay:.5,duration:.3}},exit:{opacity:0,y:100},children:[r.jsx("h2",{className:"h2 mb-8",children:Z[j(t)].h2}),r.jsxs("div",{className:"flex flex-col gap-8",children:[r.jsx(N,{control:s,name:"meeting_objective",error:n.errors.meeting_objective,placeholder:"",label:Z[j(t)].data[0].label}),r.jsx(N,{control:s,name:"proposal_description",error:n.errors.proposal_description,placeholder:"",label:Z[j(t)].data[1].label}),r.jsx(N,{control:s,name:"government_agency",error:n.errors.government_agency,placeholder:"",label:Z[j(t)].data[2].label}),r.jsx("h2",{className:"h2 mt-4",children:Z[j(t)].secondH2}),r.jsx(N,{control:s,name:"sector_industry",error:n.errors.sector_industry,placeholder:"",label:Z[j(t)].data[3].label}),r.jsx(N,{control:s,name:"key_services",error:n.errors.key_services,placeholder:"",label:Z[j(t)].data[4].label}),r.jsx(N,{control:s,name:"government_experience",error:n.errors.government_experience,placeholder:"",label:Z[j(t)].data[5].label})]}),r.jsxs("div",{className:"flex items-center gap-6 mt-10",children:[r.jsx(M,{type:"button",onClick:e,variant:"outline",className:"text-on_surface",children:t===ee.RU?"Вернуться назад":"Back"}),r.jsx(M,{variant:"secondary",type:"button",onClick:i,className:"w-full",children:t===ee.RU?"Далее":"Next"})]})]})},Dr=({handlePrev:i})=>{q();const{control:e,formState:t}=De(),s=T(n=>n.lang);return r.jsxs(ge.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{delay:.5,duration:.3}},transition:{duration:1},children:[r.jsx("h2",{className:"h2 mb-8",children:H[j(s)].h2}),r.jsxs("div",{className:"flex flex-col gap-6",children:[r.jsx(N,{control:e,name:"preferred_meeting_datetime",error:t.errors.preferred_meeting_datetime,placeholder:"",label:H[j(s)].data[0].label}),r.jsx(N,{control:e,name:"preferred_mode",error:t.errors.preferred_mode,placeholder:"",label:H[j(s)].data[1].label}),r.jsx(N,{control:e,name:"language_preference",error:t.errors.language_preference,placeholder:"",label:H[j(s)].data[2].label}),r.jsx(N,{control:e,name:"additional_technical",error:t.errors.additional_technical,placeholder:"",label:H[j(s)].data[3].label})]}),r.jsxs("div",{className:"flex flex-col gap-8",children:[r.jsxs("div",{children:[r.jsx("h3",{className:"h2 mt-10",children:H[j(s)].secondH2}),r.jsx("h5",{className:"text-on_surface_v",children:H[j(s)].subtitle})]}),r.jsx(N,{control:e,name:"company_profile",label:H[j(s)].data[4].label,type:"file",textDark:!0}),r.jsx(N,{control:e,name:"proposal_presentation",label:H[j(s)].data[5].label,type:"file",textDark:!0}),r.jsx(N,{control:e,name:"relevant_certification",label:H[j(s)].data[6].label,type:"file",textDark:!0})]}),r.jsxs("div",{className:"flex items-center gap-6 mt-10",children:[r.jsx(M,{type:"button",onClick:i,variant:"outline",className:"text-on_surface",children:s===ee.RU?"Вернуться назад":"Back"}),r.jsx(M,{disabled:t.isSubmitting,type:"submit",className:"w-full",children:t.isSubmitting?r.jsx(Be,{className:"animate-spin"}):H[j(s)].button})]})]})},Br=({stage:i,setStage:e,success:t,setSuccess:s})=>{const n=Pe({resolver:Oe(cr),defaultValues:ur,mode:"onChange"}),a=u=>{switch(u){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[]}},o=async()=>{const u=a(i);await n.trigger(u)&&e(f=>f+1)},l=()=>e(u=>u-1),c=async u=>{try{const p=new FormData;Object.entries(u).forEach(([d,h])=>{h instanceof File?(console.log(`Добавляем файл: ${d}`,h),p.append(d,h)):h!==void 0&&(console.log(`Добавляем поле: ${d}`,h),p.append(d,h))}),(await Qt.post("https://turkmentextile.turkmenexpo.com/app/api/v1/form",p,{headers:{"Content-Type":"multipart/form-data"}})).status===201&&s(!0)}catch(p){console.error("Ошибка при отправке B2B формы:",p)}};return r.jsx(Le,{...n,children:r.jsx("form",{onSubmit:n.handleSubmit(c),children:r.jsxs("div",{className:"relative",children:[r.jsx(oe,{children:i===1&&r.jsx($r,{handleNext:o})}),r.jsx(oe,{children:i===2&&r.jsx(Ar,{handleNext:o,handlePrev:l})}),r.jsx(oe,{children:i===3&&t===!1&&r.jsx(Dr,{handlePrev:l})}),t&&r.jsx(Ve,{})]})})})};function Vr(){q();const i=T(a=>a.lang),[e,t]=y.useState(1),[s,n]=y.useState(!1);return r.jsxs("div",{className:"pb-[120px]",children:[r.jsx(xe,{title:i===ee.RU?"B2B | B2G встречи":"B2B | B2G meetings"}),!s&&e!==0&&r.jsx(Wt,{stage:e}),r.jsx("div",{className:"max-w-[808px] md:mx-auto mx-5",children:r.jsx(Br,{success:s,setSuccess:n,stage:e,setStage:t})})]})}function Mr(){q();const i=T(e=>e.lang);return r.jsxs("div",{className:re(""),children:[r.jsx(xe,{title:i===ee.RU?"О выставке":"About exhibition"}),r.jsx(Yt,{}),r.jsx(Xt,{}),r.jsx(Zt,{}),r.jsx(es,{}),r.jsx(ts,{})]})}const Kr=b.object({company_name:b.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:b.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:b.string().min(3,{message:"Должность должна быть не менее 3 символов"}),country:b.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:b.string().email({message:"Укажите корректный email"}),phone:b.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:b.string().optional(),visa_support:b.string().optional()}),Gr={company_name:"",rep_name:"",job_title:"",country:"",email:"",phone:"",website:"",visa_support:""},C=[{cover:"Забронировать стенд",h2:"Выберите один из вариантов:",radio:"Необорудованная площадь",radio_2:"Оборудованная площадь",label_1:"Название компании/организации",label_2:"Имя представителя",label_3:"Название должности/позиция",number_of_participants:"Количество участников",label_4:"Страна",label_5:"Email адрес",label_6:"Номер телефона",label_7:"Веб-сайт",visa:"Визовая поддержка:",visa_radio:"Да",visa_radio_2:"Нет",button:"Отправить"},{cover:"Book a stand:",h2:"Select one of the options:",radio:"Stand space only",radio_2:"Prefabricated stand",label_1:"Company/Organization Name",label_2:"Name of Representative",label_3:"Job title/Position",number_of_participants:"Number of the participants",label_4:"Country",label_5:"Email",label_6:"Phone number",label_7:"Website",visa:"Visa support:",visa_radio:"Yes",visa_radio_2:"No",button:"Send"}];function Ur(){q();const i=T(o=>o.lang),[e,t]=y.useState(!1),s=Pe({resolver:Oe(Kr),defaultValues:Gr}),n=async o=>{try{await ss(o)&&t(!0)}catch(l){console.error("POST sponsor error",l)}},{errors:a}=s.formState;return r.jsxs("div",{children:[r.jsx(xe,{title:i===ee.RU?"Стать спонсором":"Become a sponsor"}),r.jsx(oe,{children:!e&&r.jsx(Le,{...s,children:r.jsxs(ge.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(n),children:[r.jsx(N,{label:C[j(i)].label_1,name:"company_name",control:s.control,error:a.company_name}),r.jsx(N,{label:C[j(i)].label_2,name:"rep_name",control:s.control,error:a.rep_name}),r.jsx(N,{label:C[j(i)].label_3,name:"job_title",control:s.control,error:a.job_title}),r.jsx(N,{label:C[j(i)].label_4,name:"country",control:s.control,error:a.country}),r.jsx(N,{label:C[j(i)].label_5,name:"email",control:s.control,error:a.email}),r.jsx(N,{label:C[j(i)].label_6,name:"phone",control:s.control,error:a.phone}),r.jsx(N,{label:C[j(i)].label_7,name:"website",control:s.control}),r.jsx(we,{control:s.control,name:"visa_support",render:({field:o})=>r.jsxs(D,{className:"space-y-5",children:[r.jsx(B,{className:"text-xl",children:C[j(i)].visa}),r.jsx(V,{children:r.jsxs(fe,{onValueChange:o.onChange,defaultValue:o.value,className:"flex flex-col space-y-4 ml-3",children:[r.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[r.jsx(V,{children:r.jsx(Y,{value:"yes",checked:o.value==="yes"})}),r.jsx(B,{className:"text-base",children:C[j(i)].visa_radio})]}),r.jsxs(D,{className:"flex items-center space-x-5 space-y-0 ",children:[r.jsx(V,{children:r.jsx(Y,{value:"no",checked:o.value==="no"})}),r.jsx(B,{className:"text-base",children:C[j(i)].visa_radio_2})]})]})})]})}),r.jsx(M,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?r.jsx(Be,{className:"animate-spin"}):C[j(i)].button})]})})}),e&&r.jsx(Ve,{delay:.3})]})}const Hr=b.object({name:b.string().min(2,"error"),email:b.string().email(),phone:b.string().min(8,"error"),company:b.string().min(2,"error"),msg:b.string().min(5,"error")}),zr={name:"",email:"",phone:"",company:"",msg:""},qr=({className:i})=>{const{t:e}=be("contacts"),[t,s]=y.useState(!1),n=Pe({resolver:Oe(Hr),defaultValues:zr});async function a(l){try{const c=await rs(l);s(c)}catch(c){console.error("POST contact",c)}}const{errors:o}=n.formState;return r.jsx("div",{className:re("bg-primary rounded-[8px] py-8 px-6 ",i),children:r.jsx(Le,{...n,children:r.jsxs("form",{onSubmit:n.handleSubmit(a),children:[r.jsx("h2",{className:"h2 !text-on_primary lg:mb-8 mb-6",children:e("title")}),r.jsxs("div",{className:"flex flex-col gap-8",children:[r.jsx(N,{onPrimary:!0,name:"name",control:n.control,label:e("name"),error:o.name}),r.jsxs("div",{className:"flex flex-col lg:flex-row gap-6",children:[r.jsx(N,{onPrimary:!0,name:"email",control:n.control,label:"Email",error:o.email}),r.jsx(N,{onPrimary:!0,name:"phone",control:n.control,label:e("phone"),error:o.phone})]}),r.jsx(N,{onPrimary:!0,name:"company",control:n.control,label:e("company"),error:o.name}),r.jsx(N,{onPrimary:!0,textArea:!0,name:"msg",label:e("message"),control:n.control,error:o.msg}),r.jsx(M,{disabled:n.formState.isSubmitting||t,className:"w-full h-12 overflow-hidden",variant:"secondary",children:t?e("submitted"):n.formState.isSubmitting?r.jsx(ns,{className:"animate-spin text-white"}):e("button")})]})]})})})};function Jr(){q();const{t:i}=be("contacts");return r.jsxs("div",{className:"flex flex-col gap-20 pt-10 md:pt-20",children:[r.jsx(te,{children:r.jsxs("section",{className:"grid grid-cols-1 lg:grid-cols-2 gap-20 lg:gap-6",children:[r.jsx(qr,{}),r.jsxs("div",{className:"p-6 bg-surface_container rounded-[8px]",children:[r.jsx("h2",{className:"h2 mb-10 xl:mb-8",children:i("title_2")}),r.jsxs("div",{className:"flex flex-col gap-20",children:[r.jsxs("div",{className:"flex items-center gap-6",children:[r.jsx("img",{src:"/contacts/map.svg",alt:"address"}),r.jsxs("div",{children:[r.jsx("h3",{className:"text-xl mb-2",children:i("address")}),r.jsx("address",{className:"text-base normal not-italic",children:i("venue")})]})]}),r.jsxs("div",{className:"flex items-center gap-6",children:[r.jsx("img",{src:"/contacts/phone.svg",alt:"phone"}),r.jsxs("div",{children:[r.jsx("h3",{className:"text-xl mb-2",children:i("phone")}),r.jsx("h4",{className:"text-base normal",children:"+99371871812; 99363719588"})]})]}),r.jsxs("div",{className:"flex items-center gap-6",children:[r.jsx("img",{src:"/contacts/email.svg",alt:"email"}),r.jsxs("div",{children:[r.jsx("h3",{className:"text-xl mb-2",children:"Email:"}),r.jsx("h4",{className:"text-base normal",children:"contact@turkmenexpo.com"})]})]})]})]})]})}),r.jsx("section",{className:"relative w-full h-[300px] sm:h-[350px] md:h-[400px] lg:h-[600px]",children:r.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"})})]})}const Qr=[{id:0,title:"Фото",titleEn:"Photo"},{id:1,title:"Видео",titleEn:"Video"}],Wr=({className:i})=>{var w,S,O,P,F;const[e,t]=y.useState(0),{data:s,isPending:n,status:a}=as(1),{data:o}=is(1),[l,c]=y.useState(!1),[u,p]=y.useState({id:0,type:"photo"}),f=T(R=>R.lang),d=({id:R,type:_})=>{c(!0),p({id:R,type:_})},{t:h}=be("main"),[m,g]=y.useState(!1),x=R=>R===0&&n?r.jsx(le,{}):r.jsx(le,{});return console.log(a),r.jsxs(r.Fragment,{children:[r.jsx(oe,{children:l&&r.jsx(os,{activeItem:u,setActiveItem:p,setIsOpen:c})}),r.jsxs("section",{className:re("md:mb-[120px] mb-20",i),children:[r.jsx(xe,{title:f==="ru"?"Моменты":"Moments"}),r.jsx(te,{className:"page-bottom md:pt-10 pt-6",children:r.jsxs("div",{className:"flex justify-center flex-col",children:[r.jsx(ut,{state:e,setState:t,data:Qr,className:"mb-6"}),e===0&&n?x(e):r.jsxs(r.Fragment,{children:[r.jsx("h3",{className:"md:text-3xl text-2xl mb-6",children:"2025"}),r.jsx("div",{className:"grid lg:grid-cols-4 lg:gap-y-4 lg:gap-x-6 md:gap-6 gap-4 grid-cols-2 place-items-center",children:e===0?(S=(w=s==null?void 0:s.photos)==null?void 0:w.slice(0,m?1e3:16))==null?void 0:S.map((R,_)=>{var k,K;return r.jsx("div",{onClick:()=>d({id:_,type:"photo"}),className:"cursor-pointer embla__slide basis-1/1 overflow-hidden",children:r.jsx("img",{src:((k=R==null?void 0:R.photo)==null?void 0:k.path)??"",alt:((K=R==null?void 0:R.photo)==null?void 0:K.file_name)??"photo",className:"size-full object-cover hover:scale-105 duration-300 transition-all"})},_)}):(O=o==null?void 0:o.videos)==null?void 0:O.map((R,_)=>{var k;return r.jsxs("div",{onClick:()=>d({id:_,type:"video"}),className:"cursor-pointer group embla__slide h-[155px] w-full basis-1/1 overflow-hidden relative",children:[r.jsx(ls,{fill:"white",size:20,color:"white",className:"absolute group-hover:scale-125 transition-all duration-300 top-1/2 z-10 left-1/2 -translate-x-1/2 -translate-y-1/2 "}),r.jsx("div",{className:"absolute top-0 left-0 size-full bg-[#2C57A752]/[32%]"}),r.jsx("img",{src:((k=R==null?void 0:R.video_photo)==null?void 0:k.path)??"",className:"size-full object-cover"})]},_)})})]}),((P=s==null?void 0:s.photos)==null?void 0:P.length)&&((F=s==null?void 0:s.photos)==null?void 0:F.length)>16&&!m&&r.jsx(M,{onClick:()=>g(!0),className:"mx-auto w-[288px] mt-10 text-on_surface",size:"lg",variant:"outline",children:h("media.button")})]})})]})]})},Yr=(i,e)=>{const{data:t,isPending:s}=Me({queryKey:["news-inner",i,e],queryFn:()=>cs(i,e),select:({data:n})=>n.data});return{data:t,isPending:s}};function Xr(){var o;const{id:i}=ys(),e=T(l=>l.lang),t=Number(i);q(t);const{data:s,isPending:n}=Yr(t,e),{data:a}=dt(e);return n?r.jsx(le,{}):r.jsxs(te,{className:"pt-10 pb-20 md:pt-20 md:pb-[120px]",children:[r.jsxs("section",{className:"max-w-[888px] py-5 mx-auto flex flex-col md:gap-10 gap-6",children:[r.jsxs("div",{children:[r.jsx("h1",{className:"text-on_surface md:text-[32px] text-3xl leading-10 mb-2",children:s==null?void 0:s.title}),r.jsx("h4",{children:s==null?void 0:s.published_at.slice(0,10).split("-").reverse().join(".")})]}),r.jsx("div",{className:"w-full h-[300px] md:h-[480px]",children:r.jsx("img",{src:((o=s==null?void 0:s.featured_images[0])==null?void 0:o.path)||"",alt:"news image",className:"size-full object-cover"})}),r.jsx("div",{dangerouslySetInnerHTML:{__html:(s==null?void 0:s.content)??""},className:"news-inner md:text-lg flex flex-col gap-6 text-base md:medium normal text-on_surface_v"})]}),r.jsx("hr",{className:"mt-10 md:mb-20 mb-[60px]"}),r.jsxs("section",{children:[r.jsx("h2",{className:"h2 mb-6",children:e==="ru"?"Читайте также:":"Read more:"}),r.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:a==null?void 0:a.filter(l=>l.id!==t).slice(0,3).map(l=>y.createElement(pt,{...l,key:l.title}))})]})]})}function Zr(){q();const i=T(s=>s.lang),{data:e,isPending:t}=dt(i);return t?r.jsx(le,{}):r.jsxs(te,{className:"page-padding",children:[r.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-10",children:i==="ru"?"Новости":"News"}),r.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:e==null?void 0:e.map(s=>y.createElement(pt,{...s,key:s.title}))})]})}const ea=()=>{const i=T(s=>s.lang),{data:e,isPending:t}=Me({queryKey:["participants",i],queryFn:()=>us(i),select:({data:s})=>s.data});return{data:e,isPending:t}},ta=({className:i})=>{var u,p,f,d,h;q();const e=T(m=>m.lang),{data:t,isPending:s}=ea(),n={company:e==="ru"?"Название компании":"Company name",country:e==="ru"?"Страна":"Country",industry:e==="ru"?"Сфера деятельности":"Industry"},[a,o]=y.useState(0),l=(f=t==null?void 0:t[0])==null?void 0:f.participants.concat((u=t==null?void 0:t[1])==null?void 0:u.participants,(p=t==null?void 0:t[2])==null?void 0:p.participants),c=t==null?void 0:t.filter(m=>a===1?m.id===3:a===2?m.id===1:m.id===2);return console.log(a),r.jsx(te,{children:r.jsxs("section",{className:re("page-padding overflow-x-hidden",i),children:[r.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-4",children:e==="ru"?"Список участников":"List of participants"}),r.jsx(ut,{state:a,setState:o,className:"mb-6 md:w-fit"}),r.jsxs("div",{className:"p-2 sm:p-0 bg-surface_container overflow-hidden",children:[r.jsxs("div",{className:"sm:flex items-center hidden h-[52px] border-b border-outline_v",children:[r.jsx("h3",{className:"flex-[0_0_45.54%] pl-4",children:n==null?void 0:n.company}),r.jsx("h3",{className:"flex-[0_0_19.80%]",children:n==null?void 0:n.country}),r.jsx("h3",{className:"flex-[0_0_34.65%]",children:n==null?void 0:n.industry})]}),s?r.jsx(le,{}):a===0?l==null?void 0:l.map((m,g,x)=>r.jsx(Je,{...m,arr:x==null?void 0:x.length,index:g,image:m.image??{path:""},image_country:m.image_country??{path:""}})):(h=(d=c==null?void 0:c[0])==null?void 0:d.participants)==null?void 0:h.map((m,g,x)=>r.jsx(Je,{...m,arr:x==null?void 0:x.length,index:g,image:m.image??{path:""},image_country:m.image_country??{path:""}}))]})]})})},sa=b.object({space_package:b.string(),company_name:b.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:b.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:b.string().min(3,{message:"Должность должна быть не менее 3 символов"}),participants_number:b.preprocess(i=>Number(i),b.number().min(1,"Укажите количество участников")),country:b.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:b.string().email({message:"Укажите корректный email"}),phone:b.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:b.string().optional(),visa_support:b.string().optional()}),na={space_package:"space",company_name:"",rep_name:"",job_title:"",participants_number:1,country:"",email:"",phone:"",website:"",visa_support:""};function ra(){const i=T(l=>l.lang),[e,t]=y.useState(!1),s=Pe({resolver:Oe(sa),defaultValues:na}),n=async l=>{await ds(l)&&t(!0)};y.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[]);const{errors:a}=s.formState,o=j(i);return r.jsxs("div",{children:[r.jsx(xe,{title:C[j(i)].cover}),r.jsx(oe,{children:!e&&r.jsx(Le,{...s,children:r.jsxs(ge.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:s.handleSubmit(n),children:[r.jsx(we,{control:s.control,name:"space_package",render:({field:l})=>r.jsxs(D,{className:"space-y-5",children:[r.jsx(B,{className:"text-xl",children:C[o].h2}),r.jsx(V,{children:r.jsxs(fe,{onValueChange:l.onChange,defaultValue:l.value,className:"flex flex-col space-y-4 ml-3",children:[r.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[r.jsx(V,{children:r.jsx(Y,{value:"space",checked:l.value==="space"})}),r.jsx(B,{className:"text-base",children:C[o].radio})]}),r.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[r.jsx(V,{children:r.jsx(Y,{value:"package",checked:l.value==="package"})}),r.jsx(B,{className:"text-base",children:C[o].radio_2})]})]})})]})}),r.jsx(N,{label:C[o].label_1,name:"company_name",control:s.control,error:a.company_name}),r.jsx(N,{label:C[o].label_2,name:"rep_name",control:s.control,error:a.rep_name}),r.jsx(N,{label:C[o].label_3,name:"job_title",control:s.control,error:a.job_title}),r.jsx(N,{label:C[o].number_of_participants,type:"number",name:"participants_number",control:s.control,error:a.participants_number}),r.jsx(N,{label:C[o].label_4,name:"country",control:s.control,error:a.country}),r.jsx(N,{label:C[o].label_5,name:"email",control:s.control,error:a.email}),r.jsx(N,{label:C[o].label_6,name:"phone",control:s.control,error:a.phone}),r.jsx(N,{label:C[o].label_7,name:"website",control:s.control}),r.jsx(we,{control:s.control,name:"visa_support",render:({field:l})=>r.jsxs(D,{className:"space-y-5",children:[r.jsx(B,{className:"text-xl",children:C[o].visa}),r.jsx(V,{children:r.jsxs(fe,{onValueChange:l.onChange,defaultValue:l.value,className:"flex flex-col space-y-4 ml-3",children:[r.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[r.jsx(V,{children:r.jsx(Y,{value:"yes",checked:l.value==="yes"})}),r.jsx(B,{className:"text-base",children:C[o].visa_radio})]}),r.jsxs(D,{className:"flex items-center space-x-5 space-y-0 ",children:[r.jsx(V,{children:r.jsx(Y,{value:"no",checked:l.value==="no"})}),r.jsx(B,{className:"text-base",children:C[o].visa_radio_2})]})]})})]})}),r.jsx(M,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?r.jsx(Be,{className:"animate-spin"}):C[o].button})]})})}),e&&r.jsx(Ve,{delay:.3})]})}const aa=()=>{const{t:i}=be("main"),{title:e,texts:t,button:s,button2:n}=i("impressions.hero",{returnObjects:!0});return r.jsxs("section",{className:"",children:[r.jsx("img",{src:"/impressions-cover.png",alt:"",className:"w-full object-contain max-h-[610px]"}),r.jsx("h1",{className:"absolute opacity-0 top-0 left-0",children:"Показы"}),r.jsx("div",{className:"bg-[url('/impressions-bg.png')]",children:r.jsxs(te,{className:"py-20",children:[r.jsx("h2",{className:"text-5xl leading-[120%] mb-10",children:e}),r.jsx("div",{className:"text-on_surface_v flex flex-col gap-3",children:t.map((a,o)=>r.jsx("p",{children:a},o))}),r.jsxs("div",{className:"flex items-center gap-6 mt-6",children:[r.jsx(M,{size:"sm",className:"w-full",children:s}),r.jsx(M,{size:"sm",className:"w-full",children:n})]})]})})]})},ia=()=>{const{t:i}=be("main"),e=i("impressions.videosTitle");return r.jsx("section",{className:"bg-[url('/impressions/videos-block-bg.png')] py-20",children:r.jsxs(te,{children:[r.jsx("h2",{className:"mb-10 text-5xl leading-[120%] text-white",children:e}),r.jsxs("div",{className:"grid grid-cols-1 md:grid-cols-[1fr_32.5%] gap-4 text-white overflow-hidden h-auto md:h-[497px]",children:[r.jsxs("div",{className:"bg-gray_10 p-2 rounded-[8px] border border-gray_09 flex flex-col h-full",children:[r.jsx("div",{className:"max-h-[453px]",children:r.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 size-full mb-2 rounded"})}),r.jsxs("div",{className:"flex items-center justify-between mt-auto",children:[r.jsx("h3",{className:"text-sm",children:"Алена Ахмадуллина | 'Царевна-Лебедь' (74 симв.)"}),r.jsx("span",{className:"text-xs normal",children:"1/10"})]})]}),r.jsxs("div",{className:"bg-gray_10 px-2 pt-2 rounded-[8px] border border-gray_09 flex flex-col h-full min-h-0",children:[r.jsxs("div",{className:"flex items-center justify-between mb-2",children:[r.jsx("h3",{className:"text-sm",children:"Смотрите также"}),r.jsx("span",{className:"text-xs normal",children:"1/10"})]}),r.jsx("div",{className:"flex flex-col gap-2 overflow-y-auto flex-grow",children:[...Array(10)].map((t,s)=>r.jsxs("div",{className:"h-[59px] w-full flex items-center gap-2",children:[r.jsx("div",{className:"flex-[0_0_27%]",children:r.jsx("img",{src:"/impressions/test.png",alt:"",className:"object-contain rounded-tl rounded-bl"})}),r.jsx("h3",{className:"text-sm",children:"Алена Ахмадуллина | 'Царевна-Лебедь' 'Царевна-Лебедь' | Алена Ахмадуллина"})]},s))})]})]})]})})},oa=i=>{const e=T(n=>n.lang),{data:t,isPending:s}=Me({queryKey:["designers",e],queryFn:()=>ps(e,i),select:({data:n})=>n.data});return{data:t,isPending:s}},la=()=>{var s;const[i]=ms({align:"center"}),{data:e,isPending:t}=oa(1);return r.jsx("section",{className:"py-[200px]",children:r.jsxs(te,{className:"flex flex-col gap-10",children:[r.jsx("h2",{className:"text-5xl",children:"Дизайнеры одежды"}),r.jsx("div",{ref:i,className:"embla",children:r.jsx("div",{className:"flex embla__container",children:t?r.jsx(le,{}):(s=e==null?void 0:e.designers)==null?void 0:s.map((n,a)=>r.jsx(fs,{...n,className:"embla__slide flex-[0_0_714px] mr-4"},a))})})]})})};function ca(){return q(),r.jsxs("div",{className:"overflow-x-hidden",children:[r.jsx(aa,{}),r.jsx(ia,{}),r.jsx(la,{}),r.jsx("section",{className:"bg-[url('/CTA.png')] py-20 ",children:r.jsxs("div",{className:"flex flex-col gap-6 text-center max-w-[808px] mx-auto",children:[r.jsx("h3",{className:"text-white text-3xl",children:"Тренды туркменского текстиля 2025/2026"}),r.jsx("p",{className:"text-lg text-primary_03 normal",children:"Скачайте наш эксклюзивный гид и первыми узнайте о новейших тенденциях, инновационных материалах и вдохновляющих коллекциях, которые определят будущее туркменской текстильной индустрии"}),r.jsx(M,{className:"bg-reverse_primary w-fit mx-auto hover:bg-reverse_primary/90 text-on_secondary_container",size:"sm",children:"Скачать гид"})]})})]})}const z=({className:i})=>r.jsx("div",{className:re("container py-32",i),children:r.jsx("h1",{className:"text-5xl text-center",children:"Oops, something went wrong"})}),ua=vs([{element:r.jsx(or,{}),path:"/",children:[{element:r.jsx(lr,{}),path:"",errorElement:r.jsx(z,{})},{element:r.jsx(Mr,{}),path:"about",errorElement:r.jsx(z,{})},{element:r.jsx(Vr,{}),path:"B2B-B2G",errorElement:r.jsx(z,{})},{element:r.jsx(Ur,{}),path:"become-sponsor",errorElement:r.jsx(z,{})},{element:r.jsx(ra,{}),path:"stend-form",errorElement:r.jsx(z,{})},{element:r.jsx(Jr,{}),path:"contacts",errorElement:r.jsx(z,{})},{element:r.jsx(Zr,{}),path:"news",errorElement:r.jsx(z,{})},{element:r.jsx(Xr,{}),path:"news/:id",errorElement:r.jsx(z,{})},{element:r.jsx(ta,{}),path:"participants",errorElement:r.jsx(z,{})},{element:r.jsx(Wr,{}),path:"media",errorElement:r.jsx(z,{})},{element:r.jsx(ca,{}),path:"impressions",errorElement:r.jsx(z,{})}]}]),da=new hs;ws.createRoot(document.getElementById("root")).render(r.jsx(y.StrictMode,{children:r.jsx(gs,{client:da,children:r.jsx(js,{router:ua})})})); diff --git a/dist/assets/index-DJt8RAU9.js b/dist/assets/index-DJt8RAU9.js deleted file mode 100644 index 6f6bd5b..0000000 --- a/dist/assets/index-DJt8RAU9.js +++ /dev/null @@ -1 +0,0 @@ -import{u as F,i as Ft,j as r,H as It,F as $t,a as At,b as Dt,c as Bt,d as Vt,e as Mt,f as Kt,g as Gt,h as Ut,z as b,k as Ce,l as de,S as ze,m as lt,n as Ht,P as he,o as X,p as zt,q as qt,r as Jt,s as re,t as Ae,v as ge,w as j,x as we,y as D,A as B,L as ee,B as V,C as w,D as J,E as De,G as Re,I as Oe,J as Pe,K as oe,M as Be,N as Qt,O as xe,Q as Wt,R as Yt,T as Xt,U as Zt,V as es,W as ts,X as ss,Y as Ve,Z as ns,_ as rs,$ as ne,a0 as as,a1 as is,a2 as os,a3 as ct,a4 as ls,a5 as pe,a6 as ut,a7 as cs,a8 as dt,a9 as pt,aa as us,ab as qe,ac as ds,ad as ps,ae as ms,af as fs,ag as hs}from"./ui-library-C22sud8w.js";import{f as gs,a as y,O as xs,e as se,u as bs,g as ys,h as vs}from"./react-vendor-Y0eyvj1J.js";(function(){const e=document.createElement("link").relList;if(e&&e.supports&&e.supports("modulepreload"))return;for(const n of document.querySelectorAll('link[rel="modulepreload"]'))s(n);new MutationObserver(n=>{for(const a of n)if(a.type==="childList")for(const o of a.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function t(n){const a={};return n.integrity&&(a.integrity=n.integrity),n.referrerPolicy&&(a.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?a.credentials="include":n.crossOrigin==="anonymous"?a.credentials="omit":a.credentials="same-origin",a}function s(n){if(n.ep)return;n.ep=!0;const a=t(n);fetch(n.href,a)}})();var ve={},Je;function js(){if(Je)return ve;Je=1;var i=gs();return ve.createRoot=i.createRoot,ve.hydrateRoot=i.hydrateRoot,ve}var ws=js();const v=i=>typeof i=="string",ce=()=>{let i,e;const t=new Promise((s,n)=>{i=s,e=n});return t.resolve=i,t.reject=e,t},Qe=i=>i==null?"":""+i,Ss=(i,e,t)=>{i.forEach(s=>{e[s]&&(t[s]=e[s])})},Ns=/###/g,We=i=>i&&i.indexOf("###")>-1?i.replace(Ns,"."):i,Ye=i=>!i||v(i),ue=(i,e,t)=>{const s=v(e)?e.split("."):e;let n=0;for(;n{const{obj:s,k:n}=ue(i,e,Object);if(s!==void 0||e.length===1){s[n]=t;return}let a=e[e.length-1],o=e.slice(0,e.length-1),l=ue(i,o,Object);for(;l.obj===void 0&&o.length;)a=`${o[o.length-1]}.${a}`,o=o.slice(0,o.length-1),l=ue(i,o,Object),l!=null&&l.obj&&typeof l.obj[`${l.k}.${a}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${a}`]=t},ks=(i,e,t,s)=>{const{obj:n,k:a}=ue(i,e,Object);n[a]=n[a]||[],n[a].push(t)},Se=(i,e)=>{const{obj:t,k:s}=ue(i,e);if(t&&Object.prototype.hasOwnProperty.call(t,s))return t[s]},_s=(i,e,t)=>{const s=Se(i,t);return s!==void 0?s:Se(e,t)},mt=(i,e,t)=>{for(const s in e)s!=="__proto__"&&s!=="constructor"&&(s in i?v(i[s])||i[s]instanceof String||v(e[s])||e[s]instanceof String?t&&(i[s]=e[s]):mt(i[s],e[s],t):i[s]=e[s]);return i},ae=i=>i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var Cs={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Rs=i=>v(i)?i.replace(/[&<>"'\/]/g,e=>Cs[e]):i;class Os{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 s=new RegExp(e);return this.regExpQueue.length===this.capacity&&this.regExpMap.delete(this.regExpQueue.shift()),this.regExpMap.set(e,s),this.regExpQueue.push(e),s}}const Ps=[" ",",","?","!",";"],Ls=new Os(20),Es=(i,e,t)=>{e=e||"",t=t||"";const s=Ps.filter(o=>e.indexOf(o)<0&&t.indexOf(o)<0);if(s.length===0)return!0;const n=Ls.getRegExp(`(${s.map(o=>o==="?"?"\\?":o).join("|")})`);let a=!n.test(i);if(!a){const o=i.indexOf(t);o>0&&!n.test(i.substring(0,o))&&(a=!0)}return a},Ie=function(i,e){let t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:".";if(!i)return;if(i[e])return Object.prototype.hasOwnProperty.call(i,e)?i[e]:void 0;const s=e.split(t);let n=i;for(let a=0;a-1&&ci==null?void 0:i.replace("_","-"),Ts={type:"logger",log(i){this.output("log",i)},warn(i){this.output("warn",i)},error(i){this.output("error",i)},output(i,e){var t,s;(s=(t=console==null?void 0:console[i])==null?void 0:t.apply)==null||s.call(t,console,e)}};class ke{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||Ts,this.options=t,this.debug=t.debug}log(){for(var e=arguments.length,t=new Array(e),s=0;s{this.observers[s]||(this.observers[s]=new Map);const n=this.observers[s].get(t)||0;this.observers[s].set(t,n+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,s=new Array(t>1?t-1:0),n=1;n{let[l,c]=o;for(let u=0;u{let[l,c]=o;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,s){var u,p;let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=n.keySeparator!==void 0?n.keySeparator:this.options.keySeparator,o=n.ignoreJSONStructure!==void 0?n.ignoreJSONStructure:this.options.ignoreJSONStructure;let l;e.indexOf(".")>-1?l=e.split("."):(l=[e,t],s&&(Array.isArray(s)?l.push(...s):v(s)&&a?l.push(...s.split(a)):l.push(s)));const c=Se(this.data,l);return!c&&!t&&!s&&e.indexOf(".")>-1&&(e=l[0],t=l[1],s=l.slice(2).join(".")),c||!o||!v(s)?c:Ie((p=(u=this.data)==null?void 0:u[e])==null?void 0:p[t],s,a)}addResource(e,t,s,n){let a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=a.keySeparator!==void 0?a.keySeparator:this.options.keySeparator;let l=[e,t];s&&(l=l.concat(o?s.split(o):s)),e.indexOf(".")>-1&&(l=e.split("."),n=t,t=l[1]),this.addNamespaces(t),Xe(this.data,l,n),a.silent||this.emit("added",e,t,s,n)}addResources(e,t,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{silent:!1};for(const a in s)(v(s[a])||Array.isArray(s[a]))&&this.addResource(e,t,a,s[a],{silent:!0});n.silent||this.emit("added",e,t,s)}addResourceBundle(e,t,s,n,a){let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{silent:!1,skipCopy:!1},l=[e,t];e.indexOf(".")>-1&&(l=e.split("."),n=s,s=t,t=l[1]),this.addNamespaces(t);let c=Se(this.data,l)||{};o.skipCopy||(s=JSON.parse(JSON.stringify(s))),n?mt(c,s,a):c={...c,...s},Xe(this.data,l,c),o.silent||this.emit("added",e,t,s)}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(n=>t[n]&&Object.keys(t[n]).length>0)}toJSON(){return this.data}}var ft={processors:{},addPostProcessor(i){this.processors[i.name]=i},handle(i,e,t,s,n){return i.forEach(a=>{var o;e=((o=this.processors[a])==null?void 0:o.process(e,t,s,n))??e}),e}};const et={},tt=i=>!v(i)&&typeof i!="boolean"&&typeof i!="number";class _e extends Le{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};super(),Ss(["resourceStore","languageUtils","pluralResolver","interpolator","backendConnector","i18nFormat","utils"],e,this),this.options=t,this.options.keySeparator===void 0&&(this.options.keySeparator="."),this.logger=q.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 s=this.resolve(e,t);return(s==null?void 0:s.res)!==void 0}extractFromKey(e,t){let s=t.nsSeparator!==void 0?t.nsSeparator:this.options.nsSeparator;s===void 0&&(s=":");const n=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator;let a=t.ns||this.options.defaultNS||[];const o=s&&e.indexOf(s)>-1,l=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Es(e,s,n);if(o&&!l){const c=e.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:e,namespaces:v(a)?[a]:a};const u=e.split(s);(s!==n||s===n&&this.options.ns.indexOf(u[0])>-1)&&(a=u.shift()),e=u.join(n)}return{key:e,namespaces:v(a)?[a]:a}}translate(e,t,s){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 n=t.returnDetails!==void 0?t.returnDetails:this.options.returnDetails,a=t.keySeparator!==void 0?t.keySeparator:this.options.keySeparator,{key:o,namespaces:l}=this.extractFromKey(e[e.length-1],t),c=l[l.length-1],u=t.lng||this.language,p=t.appendNamespaceToCIMode||this.options.appendNamespaceToCIMode;if((u==null?void 0:u.toLowerCase())==="cimode"){if(p){const L=t.nsSeparator||this.options.nsSeparator;return n?{res:`${c}${L}${o}`,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(t)}:`${c}${L}${o}`}return n?{res:o,usedKey:o,exactUsedKey:o,usedLng:u,usedNS:c,usedParams:this.getUsedParamsDetails(t)}:o}const f=this.resolve(e,t);let d=f==null?void 0:f.res;const h=(f==null?void 0:f.usedKey)||o,m=(f==null?void 0:f.exactUsedKey)||o,g=["[object Number]","[object Function]","[object RegExp]"],x=t.joinArrays!==void 0?t.joinArrays:this.options.joinArrays,S=!this.i18nFormat||this.i18nFormat.handleAsObject,N=t.count!==void 0&&!v(t.count),P=_e.hasDefaultValue(t),O=N?this.pluralResolver.getSuffix(u,t.count,t):"",T=t.ordinal&&N?this.pluralResolver.getSuffix(u,t.count,{ordinal:!1}):"",R=N&&!t.ordinal&&t.count===0,_=R&&t[`defaultValue${this.options.pluralSeparator}zero`]||t[`defaultValue${O}`]||t[`defaultValue${T}`]||t.defaultValue;let k=d;S&&!d&&P&&(k=_);const M=tt(k),Q=Object.prototype.toString.apply(k);if(S&&k&&M&&g.indexOf(Q)<0&&!(v(x)&&Array.isArray(k))){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(h,k,{...t,ns:l}):`key '${o} (${this.language})' returned an object instead of string.`;return n?(f.res=L,f.usedParams=this.getUsedParamsDetails(t),f):L}if(a){const L=Array.isArray(k),I=L?[]:{},be=L?m:h;for(const K in k)if(Object.prototype.hasOwnProperty.call(k,K)){const G=`${be}${a}${K}`;P&&!d?I[K]=this.translate(G,{...t,defaultValue:tt(_)?_[K]:void 0,joinArrays:!1,ns:l}):I[K]=this.translate(G,{...t,joinArrays:!1,ns:l}),I[K]===G&&(I[K]=k[K])}d=I}}else if(S&&v(x)&&Array.isArray(d))d=d.join(x),d&&(d=this.extendTranslation(d,e,t,s));else{let L=!1,I=!1;!this.isValidLookup(d)&&P&&(L=!0,d=_),this.isValidLookup(d)||(I=!0,d=o);const K=(t.missingKeyNoValueFallbackToKey||this.options.missingKeyNoValueFallbackToKey)&&I?void 0:d,G=P&&_!==d&&this.options.updateMissing;if(I||L||G){if(this.logger.log(G?"updateKey":"missingKey",u,c,o,G?_:d),a){const A=this.resolve(o,{...t,keySeparator:!1});A&&A.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 $=[];const ye=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&ye&&ye[0])for(let A=0;A{var He;const Ue=P&&le!==d?le:K;this.options.missingKeyHandler?this.options.missingKeyHandler(A,c,te,Ue,G,t):(He=this.backendConnector)!=null&&He.saveMissing&&this.backendConnector.saveMissing(A,c,te,Ue,G,t),this.emit("missingKey",A,c,te,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&N?$.forEach(A=>{const te=this.pluralResolver.getSuffixes(A,t);R&&t[`defaultValue${this.options.pluralSeparator}zero`]&&te.indexOf(`${this.options.pluralSeparator}zero`)<0&&te.push(`${this.options.pluralSeparator}zero`),te.forEach(le=>{Ge([A],o+le,t[`defaultValue${le}`]||_)})}):Ge($,o,_))}d=this.extendTranslation(d,e,t,f,s),I&&d===o&&this.options.appendNamespaceToMissingKey&&(d=`${c}:${o}`),(I||L)&&this.options.parseMissingKeyHandler&&(d=this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey?`${c}:${o}`:o,L?d:void 0))}return n?(f.res=d,f.usedParams=this.getUsedParamsDetails(t),f):d}extendTranslation(e,t,s,n,a){var u,p;var o=this;if((u=this.i18nFormat)!=null&&u.parse)e=this.i18nFormat.parse(e,{...this.options.interpolation.defaultVariables,...s},s.lng||this.language||n.usedLng,n.usedNS,n.usedKey,{resolved:n});else if(!s.skipInterpolation){s.interpolation&&this.interpolator.init({...s,interpolation:{...this.options.interpolation,...s.interpolation}});const f=v(e)&&(((p=s==null?void 0:s.interpolation)==null?void 0:p.skipOnVariables)!==void 0?s.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables);let d;if(f){const m=e.match(this.interpolator.nestingRegexp);d=m&&m.length}let h=s.replace&&!v(s.replace)?s.replace:s;if(this.options.interpolation.defaultVariables&&(h={...this.options.interpolation.defaultVariables,...h}),e=this.interpolator.interpolate(e,h,s.lng||this.language||n.usedLng,s),f){const m=e.match(this.interpolator.nestingRegexp),g=m&&m.length;d1&&arguments[1]!==void 0?arguments[1]:{},s,n,a,o,l;return v(e)&&(e=[e]),e.forEach(c=>{if(this.isValidLookup(s))return;const u=this.extractFromKey(c,t),p=u.key;n=p;let f=u.namespaces;this.options.fallbackNS&&(f=f.concat(this.options.fallbackNS));const d=t.count!==void 0&&!v(t.count),h=d&&!t.ordinal&&t.count===0,m=t.context!==void 0&&(v(t.context)||typeof t.context=="number")&&t.context!=="",g=t.lngs?t.lngs:this.languageUtils.toResolveHierarchy(t.lng||this.language,t.fallbackLng);f.forEach(x=>{var S,N;this.isValidLookup(s)||(l=x,!et[`${g[0]}-${x}`]&&((S=this.utils)!=null&&S.hasLoadedNamespace)&&!((N=this.utils)!=null&&N.hasLoadedNamespace(l))&&(et[`${g[0]}-${x}`]=!0,this.logger.warn(`key "${n}" for languages "${g.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!!!")),g.forEach(P=>{var R;if(this.isValidLookup(s))return;o=P;const O=[p];if((R=this.i18nFormat)!=null&&R.addLookupKeys)this.i18nFormat.addLookupKeys(O,p,P,x,t);else{let _;d&&(_=this.pluralResolver.getSuffix(P,t.count,t));const k=`${this.options.pluralSeparator}zero`,M=`${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;if(d&&(O.push(p+_),t.ordinal&&_.indexOf(M)===0&&O.push(p+_.replace(M,this.options.pluralSeparator)),h&&O.push(p+k)),m){const Q=`${p}${this.options.contextSeparator}${t.context}`;O.push(Q),d&&(O.push(Q+_),t.ordinal&&_.indexOf(M)===0&&O.push(Q+_.replace(M,this.options.pluralSeparator)),h&&O.push(Q+k))}}let T;for(;T=O.pop();)this.isValidLookup(s)||(a=T,s=this.getResource(P,x,T,t))}))})}),{res:s,usedKey:n,exactUsedKey:a,usedLng:o,usedNS:l}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,s){var a;let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(a=this.i18nFormat)!=null&&a.getResource?this.i18nFormat.getResource(e,t,s,n):this.resourceStore.getResource(e,t,s,n)}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"],s=e.replace&&!v(e.replace);let n=s?e.replace:e;if(s&&typeof e.count<"u"&&(n.count=e.count),this.options.interpolation.defaultVariables&&(n={...this.options.interpolation.defaultVariables,...n}),!s){n={...n};for(const a of t)delete n[a]}return n}static hasDefaultValue(e){const t="defaultValue";for(const s in e)if(Object.prototype.hasOwnProperty.call(e,s)&&t===s.substring(0,t.length)&&e[s]!==void 0)return!0;return!1}}class st{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=q.create("languageUtils")}getScriptPartFromCode(e){if(e=Ne(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=Ne(e),!e||e.indexOf("-")<0)return e;const t=e.split("-");return this.formatLanguageCode(t[0])}formatLanguageCode(e){if(v(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(s=>{if(t)return;const n=this.formatLanguageCode(s);(!this.options.supportedLngs||this.isSupportedCode(n))&&(t=n)}),!t&&this.options.supportedLngs&&e.forEach(s=>{if(t)return;const n=this.getLanguagePartFromCode(s);if(this.isSupportedCode(n))return t=n;t=this.options.supportedLngs.find(a=>{if(a===n)return a;if(!(a.indexOf("-")<0&&n.indexOf("-")<0)&&(a.indexOf("-")>0&&n.indexOf("-")<0&&a.substring(0,a.indexOf("-"))===n||a.indexOf(n)===0&&n.length>1))return a})}),t||(t=this.getFallbackCodes(this.options.fallbackLng)[0]),t}getFallbackCodes(e,t){if(!e)return[];if(typeof e=="function"&&(e=e(t)),v(e)&&(e=[e]),Array.isArray(e))return e;if(!t)return e.default||[];let s=e[t];return s||(s=e[this.getScriptPartFromCode(t)]),s||(s=e[this.formatLanguageCode(t)]),s||(s=e[this.getLanguagePartFromCode(t)]),s||(s=e.default),s||[]}toResolveHierarchy(e,t){const s=this.getFallbackCodes(t||this.options.fallbackLng||[],e),n=[],a=o=>{o&&(this.isSupportedCode(o)?n.push(o):this.logger.warn(`rejecting language code not found in supportedLngs: ${o}`))};return v(e)&&(e.indexOf("-")>-1||e.indexOf("_")>-1)?(this.options.load!=="languageOnly"&&a(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&a(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&a(this.getLanguagePartFromCode(e))):v(e)&&a(this.formatLanguageCode(e)),s.forEach(o=>{n.indexOf(o)<0&&a(this.formatLanguageCode(o))}),n}}const nt={zero:0,one:1,two:2,few:3,many:4,other:5},rt={select:i=>i===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Fs{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=q.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 s=Ne(e==="dev"?"en":e),n=t.ordinal?"ordinal":"cardinal",a=JSON.stringify({cleanedCode:s,type:n});if(a in this.pluralRulesCache)return this.pluralRulesCache[a];let o;try{o=new Intl.PluralRules(s,{type:n})}catch{if(!Intl)return this.logger.error("No Intl support, please use an Intl polyfill!"),rt;if(!e.match(/-|_/))return rt;const c=this.languageUtils.getLanguagePartFromCode(e);o=this.getRule(c,t)}return this.pluralRulesCache[a]=o,o}needsPlural(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=this.getRule(e,t);return s||(s=this.getRule("dev",t)),(s==null?void 0:s.resolvedOptions().pluralCategories.length)>1}getPluralFormsOfKey(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};return this.getSuffixes(e,s).map(n=>`${t}${n}`)}getSuffixes(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},s=this.getRule(e,t);return s||(s=this.getRule("dev",t)),s?s.resolvedOptions().pluralCategories.sort((n,a)=>nt[n]-nt[a]).map(n=>`${this.options.prepend}${t.ordinal?`ordinal${this.options.prepend}`:""}${n}`):[]}getSuffix(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{};const n=this.getRule(e,s);return n?`${this.options.prepend}${s.ordinal?`ordinal${this.options.prepend}`:""}${n.select(t)}`:(this.logger.warn(`no plural rule found for: ${e}`),this.getSuffix("dev",t,s))}}const at=function(i,e,t){let s=arguments.length>3&&arguments[3]!==void 0?arguments[3]:".",n=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0,a=_s(i,e,t);return!a&&n&&v(t)&&(a=Ie(i,t,s),a===void 0&&(a=Ie(e,t,s))),a},Te=i=>i.replace(/\$/g,"$$$$");class Is{constructor(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=q.create("interpolator"),this.options=e,this.format=((t=e==null?void 0:e.interpolation)==null?void 0:t.format)||(s=>s),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:s,useRawValueToEscape:n,prefix:a,prefixEscaped:o,suffix:l,suffixEscaped:c,formatSeparator:u,unescapeSuffix:p,unescapePrefix:f,nestingPrefix:d,nestingPrefixEscaped:h,nestingSuffix:m,nestingSuffixEscaped:g,nestingOptionsSeparator:x,maxReplaces:S,alwaysFormat:N}=e.interpolation;this.escape=t!==void 0?t:Rs,this.escapeValue=s!==void 0?s:!0,this.useRawValueToEscape=n!==void 0?n:!1,this.prefix=a?ae(a):o||"{{",this.suffix=l?ae(l):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=p?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=d?ae(d):h||ae("$t("),this.nestingSuffix=m?ae(m):g||ae(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=S||1e3,this.alwaysFormat=N!==void 0?N:!1,this.resetRegExp()}reset(){this.options&&this.init(this.options)}resetRegExp(){const e=(t,s)=>(t==null?void 0:t.source)===s?(t.lastIndex=0,t):new RegExp(s,"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,s,n){var h;let a,o,l;const c=this.options&&this.options.interpolation&&this.options.interpolation.defaultVariables||{},u=m=>{if(m.indexOf(this.formatSeparator)<0){const N=at(t,c,m,this.options.keySeparator,this.options.ignoreJSONStructure);return this.alwaysFormat?this.format(N,void 0,s,{...n,...t,interpolationkey:m}):N}const g=m.split(this.formatSeparator),x=g.shift().trim(),S=g.join(this.formatSeparator).trim();return this.format(at(t,c,x,this.options.keySeparator,this.options.ignoreJSONStructure),S,s,{...n,...t,interpolationkey:x})};this.resetRegExp();const p=(n==null?void 0:n.missingInterpolationHandler)||this.options.missingInterpolationHandler,f=((h=n==null?void 0:n.interpolation)==null?void 0:h.skipOnVariables)!==void 0?n.interpolation.skipOnVariables:this.options.interpolation.skipOnVariables;return[{regex:this.regexpUnescape,safeValue:m=>Te(m)},{regex:this.regexp,safeValue:m=>this.escapeValue?Te(this.escape(m)):Te(m)}].forEach(m=>{for(l=0;a=m.regex.exec(e);){const g=a[1].trim();if(o=u(g),o===void 0)if(typeof p=="function"){const S=p(e,a,n);o=v(S)?S:""}else if(n&&Object.prototype.hasOwnProperty.call(n,g))o="";else if(f){o=a[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`),o="";else!v(o)&&!this.useRawValueToEscape&&(o=Qe(o));const x=m.safeValue(o);if(e=e.replace(a[0],x),f?(m.regex.lastIndex+=o.length,m.regex.lastIndex-=a[0].length):m.regex.lastIndex=0,l++,l>=this.maxReplaces)break}}),e}nest(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n,a,o;const l=(c,u)=>{const p=this.nestingOptionsSeparator;if(c.indexOf(p)<0)return c;const f=c.split(new RegExp(`${p}[ ]*{`));let d=`{${f[1]}`;c=f[0],d=this.interpolate(d,o);const h=d.match(/'/g),m=d.match(/"/g);(((h==null?void 0:h.length)??0)%2===0&&!m||m.length%2!==0)&&(d=d.replace(/'/g,'"'));try{o=JSON.parse(d),u&&(o={...u,...o})}catch(g){return this.logger.warn(`failed parsing options string in nesting for key ${c}`,g),`${c}${p}${d}`}return o.defaultValue&&o.defaultValue.indexOf(this.prefix)>-1&&delete o.defaultValue,c};for(;n=this.nestingRegexp.exec(e);){let c=[];o={...s},o=o.replace&&!v(o.replace)?o.replace:o,o.applyPostProcessor=!1,delete o.defaultValue;let u=!1;if(n[0].indexOf(this.formatSeparator)!==-1&&!/{.*}/.test(n[1])){const p=n[1].split(this.formatSeparator).map(f=>f.trim());n[1]=p.shift(),c=p,u=!0}if(a=t(l.call(this,n[1].trim(),o),o),a&&n[0]===e&&!v(a))return a;v(a)||(a=Qe(a)),a||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),a=""),u&&(a=c.reduce((p,f)=>this.format(p,f,s.lng,{...s,interpolationkey:n[1].trim()}),a.trim())),e=e.replace(n[0],a),this.regexp.lastIndex=0}return e}}const $s=i=>{let e=i.toLowerCase().trim();const t={};if(i.indexOf("(")>-1){const s=i.split("(");e=s[0].toLowerCase().trim();const n=s[1].substring(0,s[1].length-1);e==="currency"&&n.indexOf(":")<0?t.currency||(t.currency=n.trim()):e==="relativetime"&&n.indexOf(":")<0?t.range||(t.range=n.trim()):n.split(";").forEach(o=>{if(o){const[l,...c]=o.split(":"),u=c.join(":").trim().replace(/^'+|'+$/g,""),p=l.trim();t[p]||(t[p]=u),u==="false"&&(t[p]=!1),u==="true"&&(t[p]=!0),isNaN(u)||(t[p]=parseInt(u,10))}})}return{formatName:e,formatOptions:t}},ie=i=>{const e={};return(t,s,n)=>{let a=n;n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]&&(a={...a,[n.interpolationkey]:void 0});const o=s+JSON.stringify(a);let l=e[o];return l||(l=i(Ne(s),n),e[o]=l),l(t)}};class As{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=q.create("formatter"),this.options=e,this.formats={number:ie((t,s)=>{const n=new Intl.NumberFormat(t,{...s});return a=>n.format(a)}),currency:ie((t,s)=>{const n=new Intl.NumberFormat(t,{...s,style:"currency"});return a=>n.format(a)}),datetime:ie((t,s)=>{const n=new Intl.DateTimeFormat(t,{...s});return a=>n.format(a)}),relativetime:ie((t,s)=>{const n=new Intl.RelativeTimeFormat(t,{...s});return a=>n.format(a,s.range||"day")}),list:ie((t,s)=>{const n=new Intl.ListFormat(t,{...s});return a=>n.format(a)})},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()]=ie(t)}format(e,t,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const a=t.split(this.formatSeparator);if(a.length>1&&a[0].indexOf("(")>1&&a[0].indexOf(")")<0&&a.find(l=>l.indexOf(")")>-1)){const l=a.findIndex(c=>c.indexOf(")")>-1);a[0]=[a[0],...a.splice(1,l)].join(this.formatSeparator)}return a.reduce((l,c)=>{var f;const{formatName:u,formatOptions:p}=$s(c);if(this.formats[u]){let d=l;try{const h=((f=n==null?void 0:n.formatParams)==null?void 0:f[n.interpolationkey])||{},m=h.locale||h.lng||n.locale||n.lng||s;d=this.formats[u](l,m,{...p,...n,...h})}catch(h){this.logger.warn(h)}return d}else this.logger.warn(`there was no format function for ${u}`);return l},e)}}const Ds=(i,e)=>{i.pending[e]!==void 0&&(delete i.pending[e],i.pendingCount--)};class Bs extends Le{constructor(e,t,s){var a,o;let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};super(),this.backend=e,this.store=t,this.services=s,this.languageUtils=s.languageUtils,this.options=n,this.logger=q.create("backendConnector"),this.waitingReads=[],this.maxParallelReads=n.maxParallelReads||10,this.readingCalls=0,this.maxRetries=n.maxRetries>=0?n.maxRetries:5,this.retryTimeout=n.retryTimeout>=1?n.retryTimeout:350,this.state={},this.queue=[],(o=(a=this.backend)==null?void 0:a.init)==null||o.call(a,s,n.backend,n)}queueLoad(e,t,s,n){const a={},o={},l={},c={};return e.forEach(u=>{let p=!0;t.forEach(f=>{const d=`${u}|${f}`;!s.reload&&this.store.hasResourceBundle(u,f)?this.state[d]=2:this.state[d]<0||(this.state[d]===1?o[d]===void 0&&(o[d]=!0):(this.state[d]=1,p=!1,o[d]===void 0&&(o[d]=!0),a[d]===void 0&&(a[d]=!0),c[f]===void 0&&(c[f]=!0)))}),p||(l[u]=!0)}),(Object.keys(a).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(a),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(e,t,s){const n=e.split("|"),a=n[0],o=n[1];t&&this.emit("failedLoading",a,o,t),!t&&s&&this.store.addResourceBundle(a,o,s,void 0,void 0,{skipCopy:!0}),this.state[e]=t?-1:2,t&&s&&(this.state[e]=0);const l={};this.queue.forEach(c=>{ks(c.loaded,[a],o),Ds(c,e),t&&c.errors.push(t),c.pendingCount===0&&!c.done&&(Object.keys(c.loaded).forEach(u=>{l[u]||(l[u]={});const p=c.loaded[u];p.length&&p.forEach(f=>{l[u][f]===void 0&&(l[u][f]=!0)})}),c.done=!0,c.errors.length?c.callback(c.errors):c.callback())}),this.emit("loaded",l),this.queue=this.queue.filter(c=>!c.done)}read(e,t,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:0,a=arguments.length>4&&arguments[4]!==void 0?arguments[4]:this.retryTimeout,o=arguments.length>5?arguments[5]:void 0;if(!e.length)return o(null,{});if(this.readingCalls>=this.maxParallelReads){this.waitingReads.push({lng:e,ns:t,fcName:s,tried:n,wait:a,callback:o});return}this.readingCalls++;const l=(u,p)=>{if(this.readingCalls--,this.waitingReads.length>0){const f=this.waitingReads.shift();this.read(f.lng,f.ns,f.fcName,f.tried,f.wait,f.callback)}if(u&&p&&n{this.read.call(this,e,t,s,n+1,a*2,o)},a);return}o(u,p)},c=this.backend[s].bind(this.backend);if(c.length===2){try{const u=c(e,t);u&&typeof u.then=="function"?u.then(p=>l(null,p)).catch(l):l(null,u)}catch(u){l(u)}return}return c(e,t,l)}prepareLoading(e,t){let s=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},n=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."),n&&n();v(e)&&(e=this.languageUtils.toResolveHierarchy(e)),v(t)&&(t=[t]);const a=this.queueLoad(e,t,s,n);if(!a.toLoad.length)return a.pending.length||n(),null;a.toLoad.forEach(o=>{this.loadOne(o)})}load(e,t,s){this.prepareLoading(e,t,{},s)}reload(e,t,s){this.prepareLoading(e,t,{reload:!0},s)}loadOne(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"";const s=e.split("|"),n=s[0],a=s[1];this.read(n,a,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${t}loading namespace ${a} for language ${n} failed`,o),!o&&l&&this.logger.log(`${t}loaded namespace ${a} for language ${n}`,l),this.loaded(e,o,l)})}saveMissing(e,t,s,n,a){var c,u,p,f,d;let o=arguments.length>5&&arguments[5]!==void 0?arguments[5]:{},l=arguments.length>6&&arguments[6]!==void 0?arguments[6]:()=>{};if((u=(c=this.services)==null?void 0:c.utils)!=null&&u.hasLoadedNamespace&&!((f=(p=this.services)==null?void 0:p.utils)!=null&&f.hasLoadedNamespace(t))){this.logger.warn(`did not save key "${s}" 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(!(s==null||s==="")){if((d=this.backend)!=null&&d.create){const h={...o,isUpdate:a},m=this.backend.create.bind(this.backend);if(m.length<6)try{let g;m.length===5?g=m(e,t,s,n,h):g=m(e,t,s,n),g&&typeof g.then=="function"?g.then(x=>l(null,x)).catch(l):l(null,g)}catch(g){l(g)}else m(e,t,s,n,l,h)}!e||!e[0]||this.store.addResource(e[0],t,s,n)}}}const it=()=>({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:i=>{let e={};if(typeof i[1]=="object"&&(e=i[1]),v(i[1])&&(e.defaultValue=i[1]),v(i[2])&&(e.tDescription=i[2]),typeof i[2]=="object"||typeof i[3]=="object"){const t=i[3]||i[2];Object.keys(t).forEach(s=>{e[s]=t[s]})}return e},interpolation:{escapeValue:!0,format:i=>i,prefix:"{{",suffix:"}}",formatSeparator:",",unescapePrefix:"-",nestingPrefix:"$t(",nestingSuffix:")",nestingOptionsSeparator:",",maxReplaces:1e3,skipOnVariables:!0}}),ot=i=>{var e,t;return v(i.ns)&&(i.ns=[i.ns]),v(i.fallbackLng)&&(i.fallbackLng=[i.fallbackLng]),v(i.fallbackNS)&&(i.fallbackNS=[i.fallbackNS]),((t=(e=i.supportedLngs)==null?void 0:e.indexOf)==null?void 0:t.call(e,"cimode"))<0&&(i.supportedLngs=i.supportedLngs.concat(["cimode"])),typeof i.initImmediate=="boolean"&&(i.initAsync=i.initImmediate),i},je=()=>{},Vs=i=>{Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach(t=>{typeof i[t]=="function"&&(i[t]=i[t].bind(i))})};class me extends Le{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=ot(e),this.services={},this.logger=q,this.modules={external:[]},Vs(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]:{},s=arguments.length>1?arguments[1]:void 0;this.isInitializing=!0,typeof t=="function"&&(s=t,t={}),t.defaultNS==null&&t.ns&&(v(t.ns)?t.defaultNS=t.ns:t.ns.indexOf("translation")<0&&(t.defaultNS=t.ns[0]));const n=it();this.options={...n,...this.options,...ot(t)},this.options.interpolation={...n.interpolation,...this.options.interpolation},t.keySeparator!==void 0&&(this.options.userDefinedKeySeparator=t.keySeparator),t.nsSeparator!==void 0&&(this.options.userDefinedNsSeparator=t.nsSeparator);const a=p=>p?typeof p=="function"?new p:p:null;if(!this.options.isClone){this.modules.logger?q.init(a(this.modules.logger),this.options):q.init(null,this.options);let p;this.modules.formatter?p=this.modules.formatter:p=As;const f=new st(this.options);this.store=new Ze(this.options.resources,this.options);const d=this.services;d.logger=q,d.resourceStore=this.store,d.languageUtils=f,d.pluralResolver=new Fs(f,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),p&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(d.formatter=a(p),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new Is(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new Bs(a(this.modules.backend),d.resourceStore,d,this.options),d.backendConnector.on("*",function(h){for(var m=arguments.length,g=new Array(m>1?m-1:0),x=1;x1?m-1:0),x=1;x{h.init&&h.init(this)})}if(this.format=this.options.interpolation.format,s||(s=je),this.options.fallbackLng&&!this.services.languageDetector&&!this.options.lng){const p=this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);p.length>0&&p[0]!=="dev"&&(this.options.lng=p[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(p=>{this[p]=function(){return e.store[p](...arguments)}}),["addResource","addResources","addResourceBundle","removeResourceBundle"].forEach(p=>{this[p]=function(){return e.store[p](...arguments),e}});const c=ce(),u=()=>{const p=(f,d)=>{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),c.resolve(d),s(f,d)};if(this.languages&&!this.isInitialized)return p(null,this.t.bind(this));this.changeLanguage(this.options.lng,p)};return this.options.resources||!this.options.initAsync?u():setTimeout(u,0),c}loadResources(e){var a,o;let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:je;const n=v(e)?e:this.language;if(typeof e=="function"&&(s=e),!this.options.resources||this.options.partialBundledLanguages){if((n==null?void 0:n.toLowerCase())==="cimode"&&(!this.options.preload||this.options.preload.length===0))return s();const l=[],c=u=>{if(!u||u==="cimode")return;this.services.languageUtils.toResolveHierarchy(u).forEach(f=>{f!=="cimode"&&l.indexOf(f)<0&&l.push(f)})};n?c(n):this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach(p=>c(p)),(o=(a=this.options.preload)==null?void 0:a.forEach)==null||o.call(a,u=>c(u)),this.services.backendConnector.load(l,this.options.ns,u=>{!u&&!this.resolvedLanguage&&this.language&&this.setResolvedLanguage(this.language),s(u)})}else s(null)}reloadResources(e,t,s){const n=ce();return typeof e=="function"&&(s=e,e=void 0),typeof t=="function"&&(s=t,t=void 0),e||(e=this.languages),t||(t=this.options.ns),s||(s=je),this.services.backendConnector.reload(e,t,a=>{n.resolve(),s(a)}),n}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"&&ft.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(s)){this.resolvedLanguage=s;break}}}changeLanguage(e,t){var s=this;this.isLanguageChangingTo=e;const n=ce();this.emit("languageChanging",e);const a=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,u)=>{u?(a(u),this.translator.changeLanguage(u),this.isLanguageChangingTo=void 0,this.emit("languageChanged",u),this.logger.log("languageChanged",u)):this.isLanguageChangingTo=void 0,n.resolve(function(){return s.t(...arguments)}),t&&t(c,function(){return s.t(...arguments)})},l=c=>{var p,f;!e&&!c&&this.services.languageDetector&&(c=[]);const u=v(c)?c:this.services.languageUtils.getBestMatchFromCodes(c);u&&(this.language||a(u),this.translator.language||this.translator.changeLanguage(u),(f=(p=this.services.languageDetector)==null?void 0:p.cacheUserLanguage)==null||f.call(p,u)),this.loadResources(u,d=>{o(d,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),n}getFixedT(e,t,s){var n=this;const a=function(o,l){let c;if(typeof l!="object"){for(var u=arguments.length,p=new Array(u>2?u-2:0),f=2;f`${c.keyPrefix}${d}${m}`):h=c.keyPrefix?`${c.keyPrefix}${d}${o}`:o,n.t(h,c)};return v(e)?a.lng=e:a.lngs=e,a.ns=t,a.keyPrefix=s,a}t(){var n;for(var e=arguments.length,t=new Array(e),s=0;s1&&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 s=t.lng||this.resolvedLanguage||this.languages[0],n=this.options?this.options.fallbackLng:!1,a=this.languages[this.languages.length-1];if(s.toLowerCase()==="cimode")return!0;const o=(l,c)=>{const u=this.services.backendConnector.state[`${l}|${c}`];return u===-1||u===0||u===2};if(t.precheck){const l=t.precheck(this,o);if(l!==void 0)return l}return!!(this.hasResourceBundle(s,e)||!this.services.backendConnector.backend||this.options.resources&&!this.options.partialBundledLanguages||o(s,e)&&(!n||o(a,e)))}loadNamespaces(e,t){const s=ce();return this.options.ns?(v(e)&&(e=[e]),e.forEach(n=>{this.options.ns.indexOf(n)<0&&this.options.ns.push(n)}),this.loadResources(n=>{s.resolve(),t&&t(n)}),s):(t&&t(),Promise.resolve())}loadLanguages(e,t){const s=ce();v(e)&&(e=[e]);const n=this.options.preload||[],a=e.filter(o=>n.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return a.length?(this.options.preload=n.concat(a),this.loadResources(o=>{s.resolve(),t&&t(o)}),s):(t&&t(),Promise.resolve())}dir(e){var n,a;if(e||(e=this.resolvedLanguage||(((n=this.languages)==null?void 0:n.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"],s=((a=this.services)==null?void 0:a.languageUtils)||new st(it());return t.indexOf(s.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 me(e,t)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:je;const s=e.forkResourceStore;s&&delete e.forkResourceStore;const n={...this.options,...e,isClone:!0},a=new me(n);if((e.debug!==void 0||e.prefix!==void 0)&&(a.logger=a.logger.clone(e)),["store","services","language"].forEach(l=>{a[l]=this[l]}),a.services={...this.services},a.services.utils={hasLoadedNamespace:a.hasLoadedNamespace.bind(a)},s){const l=Object.keys(this.store.data).reduce((c,u)=>(c[u]={...this.store.data[u]},Object.keys(c[u]).reduce((p,f)=>(p[f]={...c[u][f]},p),{})),{});a.store=new Ze(l,n),a.services.resourceStore=a.store}return a.translator=new _e(a.services,n),a.translator.on("*",function(l){for(var c=arguments.length,u=new Array(c>1?c-1:0),p=1;p{const i=F(e=>e.lang);return y.useEffect(()=>{E.changeLanguage(i)},[i]),null};function sr(){return r.jsxs("main",{className:"flex flex-col min-h-screen",children:[r.jsx(tr,{}),r.jsx(It,{}),r.jsx("div",{className:"flex-auto",children:r.jsx(xs,{})}),r.jsx($t,{})]})}function nr(){return r.jsxs("div",{className:"flex flex-col",children:[r.jsx(At,{}),r.jsx(Dt,{}),r.jsx(Bt,{}),r.jsx(Vt,{}),r.jsx(Mt,{}),r.jsx(Kt,{}),r.jsx(Gt,{}),r.jsx(Ut,{})]})}const rr=b.object({type:b.string(),company_name:b.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),representative_name:b.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:b.string().min(3,{message:"Должность должна быть не менее 3 символов"}),participants_number:b.string().min(1,{message:"Укажите количество участников"}),country:b.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email_address:b.string().email({message:"Укажите корректный email"}),phone_number:b.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:b.string().optional(),meeting_objective:b.string().min(3,{message:"Укажите цель встречи"}),proposal_description:b.string().optional(),government_agency:b.string().optional(),sector_industry:b.string().optional(),key_services:b.string().optional(),government_experience:b.string().optional(),preferred_meeting_datetime:b.string().optional(),meeting_mode:b.string().optional(),language_preference:b.string().optional(),technical_requirements:b.string().optional(),company_profile:b.custom(i=>i instanceof File,{message:"Выберите корректный файл"}).refine(i=>i&&["image/jpeg","image/png","application/pdf"].includes(i.type),{message:"Допускаются только файлы JPG, PNG и PDF"}).optional(),proposal_presentation:b.custom(i=>i instanceof File,{message:"Выберите корректный файл"}).refine(i=>i&&["image/jpeg","image/png","application/pdf"].includes(i.type),{message:"Допускаются только файлы JPG, PNG и PDF"}).optional(),relevant_certification:b.custom(i=>i instanceof File,{message:"Выберите корректный файл"}).refine(i=>i&&["image/jpeg","image/png","application/pdf"].includes(i.type),{message:"Допускаются только файлы JPG, PNG и PDF"}).optional()}),ar={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:""};function ir(i){const e=i+"CollectionProvider",[t,s]=Ce(e),[n,a]=t(e,{collectionRef:{current:null},itemMap:new Map}),o=h=>{const{scope:m,children:g}=h,x=se.useRef(null),S=se.useRef(new Map).current;return r.jsx(n,{scope:m,itemMap:S,collectionRef:x,children:g})};o.displayName=e;const l=i+"CollectionSlot",c=se.forwardRef((h,m)=>{const{scope:g,children:x}=h,S=a(l,g),N=de(m,S.collectionRef);return r.jsx(ze,{ref:N,children:x})});c.displayName=l;const u=i+"CollectionItemSlot",p="data-radix-collection-item",f=se.forwardRef((h,m)=>{const{scope:g,children:x,...S}=h,N=se.useRef(null),P=de(m,N),O=a(u,g);return se.useEffect(()=>(O.itemMap.set(N,{ref:N,...S}),()=>void O.itemMap.delete(N))),r.jsx(ze,{[p]:"",ref:P,children:x})});f.displayName=u;function d(h){const m=a(i+"CollectionConsumer",h);return se.useCallback(()=>{const x=m.collectionRef.current;if(!x)return[];const S=Array.from(x.querySelectorAll(`[${p}]`));return Array.from(m.itemMap.values()).sort((O,T)=>S.indexOf(O.ref.current)-S.indexOf(T.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:o,Slot:c,ItemSlot:f},d,s]}var or=y.createContext(void 0);function ht(i){const e=y.useContext(or);return i||e||"ltr"}var Fe="rovingFocusGroup.onEntryFocus",lr={bubbles:!1,cancelable:!0},Ee="RovingFocusGroup",[$e,gt,cr]=ir(Ee),[ur,xt]=Ce(Ee,[cr]),[dr,pr]=ur(Ee),bt=y.forwardRef((i,e)=>r.jsx($e.Provider,{scope:i.__scopeRovingFocusGroup,children:r.jsx($e.Slot,{scope:i.__scopeRovingFocusGroup,children:r.jsx(mr,{...i,ref:e})})}));bt.displayName=Ee;var mr=y.forwardRef((i,e)=>{const{__scopeRovingFocusGroup:t,orientation:s,loop:n=!1,dir:a,currentTabStopId:o,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:p=!1,...f}=i,d=y.useRef(null),h=de(e,d),m=ht(a),[g=null,x]=lt({prop:o,defaultProp:l,onChange:c}),[S,N]=y.useState(!1),P=Ht(u),O=gt(t),T=y.useRef(!1),[R,_]=y.useState(0);return y.useEffect(()=>{const k=d.current;if(k)return k.addEventListener(Fe,P),()=>k.removeEventListener(Fe,P)},[P]),r.jsx(dr,{scope:t,orientation:s,dir:m,loop:n,currentTabStopId:g,onItemFocus:y.useCallback(k=>x(k),[x]),onItemShiftTab:y.useCallback(()=>N(!0),[]),onFocusableItemAdd:y.useCallback(()=>_(k=>k+1),[]),onFocusableItemRemove:y.useCallback(()=>_(k=>k-1),[]),children:r.jsx(he.div,{tabIndex:S||R===0?-1:0,"data-orientation":s,...f,ref:h,style:{outline:"none",...i.style},onMouseDown:X(i.onMouseDown,()=>{T.current=!0}),onFocus:X(i.onFocus,k=>{const M=!T.current;if(k.target===k.currentTarget&&M&&!S){const Q=new CustomEvent(Fe,lr);if(k.currentTarget.dispatchEvent(Q),!Q.defaultPrevented){const L=O().filter($=>$.focusable),I=L.find($=>$.active),be=L.find($=>$.id===g),G=[I,be,...L].filter(Boolean).map($=>$.ref.current);jt(G,p)}}T.current=!1}),onBlur:X(i.onBlur,()=>N(!1))})})}),yt="RovingFocusGroupItem",vt=y.forwardRef((i,e)=>{const{__scopeRovingFocusGroup:t,focusable:s=!0,active:n=!1,tabStopId:a,...o}=i,l=zt(),c=a||l,u=pr(yt,t),p=u.currentTabStopId===c,f=gt(t),{onFocusableItemAdd:d,onFocusableItemRemove:h}=u;return y.useEffect(()=>{if(s)return d(),()=>h()},[s,d,h]),r.jsx($e.ItemSlot,{scope:t,id:c,focusable:s,active:n,children:r.jsx(he.span,{tabIndex:p?0:-1,"data-orientation":u.orientation,...o,ref:e,onMouseDown:X(i.onMouseDown,m=>{s?u.onItemFocus(c):m.preventDefault()}),onFocus:X(i.onFocus,()=>u.onItemFocus(c)),onKeyDown:X(i.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){u.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const g=gr(m,u.orientation,u.dir);if(g!==void 0){if(m.metaKey||m.ctrlKey||m.altKey||m.shiftKey)return;m.preventDefault();let S=f().filter(N=>N.focusable).map(N=>N.ref.current);if(g==="last")S.reverse();else if(g==="prev"||g==="next"){g==="prev"&&S.reverse();const N=S.indexOf(m.currentTarget);S=u.loop?xr(S,N+1):S.slice(N+1)}setTimeout(()=>jt(S))}})})})});vt.displayName=yt;var fr={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function hr(i,e){return e!=="rtl"?i:i==="ArrowLeft"?"ArrowRight":i==="ArrowRight"?"ArrowLeft":i}function gr(i,e,t){const s=hr(i.key,t);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(s))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(s)))return fr[s]}function jt(i,e=!1){const t=document.activeElement;for(const s of i)if(s===t||(s.focus({preventScroll:e}),document.activeElement!==t))return}function xr(i,e){return i.map((t,s)=>i[(e+s)%i.length])}var br=bt,yr=vt;function vr(i){const e=y.useRef({value:i,previous:i});return y.useMemo(()=>(e.current.value!==i&&(e.current.previous=e.current.value,e.current.value=i),e.current.previous),[i])}var Me="Radio",[jr,wt]=Ce(Me),[wr,Sr]=jr(Me),St=y.forwardRef((i,e)=>{const{__scopeRadio:t,name:s,checked:n=!1,required:a,disabled:o,value:l="on",onCheck:c,form:u,...p}=i,[f,d]=y.useState(null),h=de(e,x=>d(x)),m=y.useRef(!1),g=f?u||!!f.closest("form"):!0;return r.jsxs(wr,{scope:t,checked:n,disabled:o,children:[r.jsx(he.button,{type:"button",role:"radio","aria-checked":n,"data-state":_t(n),"data-disabled":o?"":void 0,disabled:o,value:l,...p,ref:h,onClick:X(i.onClick,x=>{n||c==null||c(),g&&(m.current=x.isPropagationStopped(),m.current||x.stopPropagation())})}),g&&r.jsx(Nr,{control:f,bubbles:!m.current,name:s,value:l,checked:n,required:a,disabled:o,form:u,style:{transform:"translateX(-100%)"}})]})});St.displayName=Me;var Nt="RadioIndicator",kt=y.forwardRef((i,e)=>{const{__scopeRadio:t,forceMount:s,...n}=i,a=Sr(Nt,t);return r.jsx(qt,{present:s||a.checked,children:r.jsx(he.span,{"data-state":_t(a.checked),"data-disabled":a.disabled?"":void 0,...n,ref:e})})});kt.displayName=Nt;var Nr=i=>{const{control:e,checked:t,bubbles:s=!0,...n}=i,a=y.useRef(null),o=vr(t),l=Jt(e);return y.useEffect(()=>{const c=a.current,u=window.HTMLInputElement.prototype,f=Object.getOwnPropertyDescriptor(u,"checked").set;if(o!==t&&f){const d=new Event("click",{bubbles:s});f.call(c,t),c.dispatchEvent(d)}},[o,t,s]),r.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:t,...n,tabIndex:-1,ref:a,style:{...i.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function _t(i){return i?"checked":"unchecked"}var kr=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Ke="RadioGroup",[_r,aa]=Ce(Ke,[xt,wt]),Ct=xt(),Rt=wt(),[Cr,Rr]=_r(Ke),Ot=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,name:s,defaultValue:n,value:a,required:o=!1,disabled:l=!1,orientation:c,dir:u,loop:p=!0,onValueChange:f,...d}=i,h=Ct(t),m=ht(u),[g,x]=lt({prop:a,defaultProp:n,onChange:f});return r.jsx(Cr,{scope:t,name:s,required:o,disabled:l,value:g,onValueChange:x,children:r.jsx(br,{asChild:!0,...h,orientation:c,dir:m,loop:p,children:r.jsx(he.div,{role:"radiogroup","aria-required":o,"aria-orientation":c,"data-disabled":l?"":void 0,dir:m,...d,ref:e})})})});Ot.displayName=Ke;var Pt="RadioGroupItem",Lt=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,disabled:s,...n}=i,a=Rr(Pt,t),o=a.disabled||s,l=Ct(t),c=Rt(t),u=y.useRef(null),p=de(e,u),f=a.value===n.value,d=y.useRef(!1);return y.useEffect(()=>{const h=g=>{kr.includes(g.key)&&(d.current=!0)},m=()=>d.current=!1;return document.addEventListener("keydown",h),document.addEventListener("keyup",m),()=>{document.removeEventListener("keydown",h),document.removeEventListener("keyup",m)}},[]),r.jsx(yr,{asChild:!0,...l,focusable:!o,active:f,children:r.jsx(St,{disabled:o,required:a.required,checked:f,...c,...n,name:a.name,ref:p,onCheck:()=>a.onValueChange(n.value),onKeyDown:X(h=>{h.key==="Enter"&&h.preventDefault()}),onFocus:X(n.onFocus,()=>{var h;d.current&&((h=u.current)==null||h.click())})})})});Lt.displayName=Pt;var Or="RadioGroupIndicator",Pr=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,...s}=i,n=Rt(t);return r.jsx(kt,{...n,...s,ref:e})});Pr.displayName=Or;var Et=Ot,Tt=Lt;const fe=y.forwardRef(({className:i,...e},t)=>r.jsx(Et,{className:re("grid gap-2",i),...e,ref:t}));fe.displayName=Et.displayName;const Y=y.forwardRef(({className:i,...e},t)=>r.jsx(Tt,{ref:t,className:re(e.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",i),...e}));Y.displayName=Tt.displayName;const W=[{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"}]}],Z=[{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)"}]}],U=[{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"}],z=i=>{y.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[i])},Lr=({handleNext:i})=>{z();const{control:e,formState:t}=Ae(),s=F(n=>n.lang);return r.jsxs(ge.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,y:"100%",transition:{duration:.2}},className:"w-full",children:[r.jsx("h2",{className:"h2 mb-8",children:W[j(s)].h2}),r.jsxs("div",{className:"flex flex-col gap-8",children:[r.jsx(we,{defaultValue:1,control:e,name:"type",render:({field:n})=>r.jsxs(D,{className:"space-y-3",children:[r.jsx(B,{className:"text-xl",children:s===ee.RU?"Тип:":"Type:"}),r.jsx(V,{children:r.jsxs(fe,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4",children:[r.jsxs(D,{className:"flex items-center space-x-3 space-y-0",children:[r.jsx(V,{children:r.jsx(Y,{value:"B2B",checked:n.value==="B2B"})}),r.jsx(B,{className:"text-base",children:"B2B"})]}),r.jsxs(D,{className:"flex items-center space-x-3 space-y-0",children:[r.jsx(V,{children:r.jsx(Y,{value:"B2G",checked:n.value==="B2G"})}),r.jsx(B,{className:"text-base",children:"B2G"})]})]})})]})}),r.jsx(w,{control:e,name:"company_name",error:t.errors.company_name,placeholder:"",label:W[j(s)].data[0].label}),r.jsx(w,{control:e,name:"representative_name",error:t.errors.representative_name,placeholder:"",label:W[j(s)].data[1].label}),r.jsx(w,{control:e,name:"job_title",error:t.errors.job_title,placeholder:"",label:W[j(s)].data[2].label}),r.jsx(w,{control:e,name:"participants_number",error:t.errors.participants_number,placeholder:"",label:W[j(s)].data[3].label}),r.jsx(w,{control:e,name:"country",error:t.errors.country,placeholder:"",label:W[j(s)].data[4].label}),r.jsx(w,{control:e,name:"email_address",error:t.errors.email_address,placeholder:"",label:W[j(s)].data[5].label}),r.jsx(w,{control:e,name:"phone_number",error:t.errors.phone_number,placeholder:"",label:W[j(s)].data[6].label}),r.jsx(w,{control:e,name:"website",placeholder:"",label:W[j(s)].data[7].label})]}),r.jsx(J,{variant:"secondary",type:"button",onClick:i,className:"w-full mt-10",children:s===ee.RU?"Далее":"Next"})]})},Er=({handleNext:i,handlePrev:e})=>{z();const t=F(a=>a.lang),{control:s,formState:n}=Ae();return r.jsxs(ge.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{delay:.5,duration:.3}},exit:{opacity:0,y:100},children:[r.jsx("h2",{className:"h2 mb-8",children:Z[j(t)].h2}),r.jsxs("div",{className:"flex flex-col gap-8",children:[r.jsx(w,{control:s,name:"meeting_objective",error:n.errors.meeting_objective,placeholder:"",label:Z[j(t)].data[0].label}),r.jsx(w,{control:s,name:"proposal_description",error:n.errors.proposal_description,placeholder:"",label:Z[j(t)].data[1].label}),r.jsx(w,{control:s,name:"government_agency",error:n.errors.government_agency,placeholder:"",label:Z[j(t)].data[2].label}),r.jsx("h2",{className:"h2 mt-4",children:Z[j(t)].secondH2}),r.jsx(w,{control:s,name:"sector_industry",error:n.errors.sector_industry,placeholder:"",label:Z[j(t)].data[3].label}),r.jsx(w,{control:s,name:"key_services",error:n.errors.key_services,placeholder:"",label:Z[j(t)].data[4].label}),r.jsx(w,{control:s,name:"government_experience",error:n.errors.government_experience,placeholder:"",label:Z[j(t)].data[5].label})]}),r.jsxs("div",{className:"flex items-center gap-6 mt-10",children:[r.jsx(J,{type:"button",onClick:e,variant:"outline",className:"text-on_surface",children:t===ee.RU?"Вернуться назад":"Back"}),r.jsx(J,{variant:"secondary",type:"button",onClick:i,className:"w-full",children:t===ee.RU?"Далее":"Next"})]})]})},Tr=({handlePrev:i})=>{z();const{control:e,formState:t}=Ae(),s=F(n=>n.lang);return r.jsxs(ge.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{delay:.5,duration:.3}},transition:{duration:1},children:[r.jsx("h2",{className:"h2 mb-8",children:U[j(s)].h2}),r.jsxs("div",{className:"flex flex-col gap-6",children:[r.jsx(w,{control:e,name:"preferred_meeting_datetime",error:t.errors.preferred_meeting_datetime,placeholder:"",label:U[j(s)].data[0].label}),r.jsx(w,{control:e,name:"preferred_mode",error:t.errors.preferred_mode,placeholder:"",label:U[j(s)].data[1].label}),r.jsx(w,{control:e,name:"language_preference",error:t.errors.language_preference,placeholder:"",label:U[j(s)].data[2].label}),r.jsx(w,{control:e,name:"additional_technical",error:t.errors.additional_technical,placeholder:"",label:U[j(s)].data[3].label})]}),r.jsxs("div",{className:"flex flex-col gap-8",children:[r.jsxs("div",{children:[r.jsx("h3",{className:"h2 mt-10",children:U[j(s)].secondH2}),r.jsx("h5",{className:"text-on_surface_v",children:U[j(s)].subtitle})]}),r.jsx(w,{control:e,name:"company_profile",label:U[j(s)].data[4].label,type:"file",textDark:!0}),r.jsx(w,{control:e,name:"proposal_presentation",label:U[j(s)].data[5].label,type:"file",textDark:!0}),r.jsx(w,{control:e,name:"relevant_certification",label:U[j(s)].data[6].label,type:"file",textDark:!0})]}),r.jsxs("div",{className:"flex items-center gap-6 mt-10",children:[r.jsx(J,{type:"button",onClick:i,variant:"outline",className:"text-on_surface",children:s===ee.RU?"Вернуться назад":"Back"}),r.jsx(J,{disabled:t.isSubmitting,type:"submit",className:"w-full",children:t.isSubmitting?r.jsx(De,{className:"animate-spin"}):U[j(s)].button})]})]})},Fr=({stage:i,setStage:e,success:t,setSuccess:s})=>{const n=Re({resolver:Oe(rr),defaultValues:ar,mode:"onChange"}),a=u=>{switch(u){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[]}},o=async()=>{const u=a(i);await n.trigger(u)&&e(f=>f+1)},l=()=>e(u=>u-1),c=async u=>{try{const p=new FormData;Object.entries(u).forEach(([d,h])=>{h instanceof File?(console.log(`Добавляем файл: ${d}`,h),p.append(d,h)):h!==void 0&&(console.log(`Добавляем поле: ${d}`,h),p.append(d,h))}),(await Qt.post("https://turkmentextile.turkmenexpo.com/app/api/v1/form",p,{headers:{"Content-Type":"multipart/form-data"}})).status===201&&s(!0)}catch(p){console.error("Ошибка при отправке B2B формы:",p)}};return r.jsx(Pe,{...n,children:r.jsx("form",{onSubmit:n.handleSubmit(c),children:r.jsxs("div",{className:"relative",children:[r.jsx(oe,{children:i===1&&r.jsx(Lr,{handleNext:o})}),r.jsx(oe,{children:i===2&&r.jsx(Er,{handleNext:o,handlePrev:l})}),r.jsx(oe,{children:i===3&&t===!1&&r.jsx(Tr,{handlePrev:l})}),t&&r.jsx(Be,{})]})})})};function Ir(){z();const i=F(a=>a.lang),[e,t]=y.useState(1),[s,n]=y.useState(!1);return r.jsxs("div",{className:"pb-[120px]",children:[r.jsx(xe,{title:i===ee.RU?"B2B | B2G встречи":"B2B | B2G meetings"}),!s&&e!==0&&r.jsx(Wt,{stage:e}),r.jsx("div",{className:"max-w-[808px] md:mx-auto mx-5",children:r.jsx(Fr,{success:s,setSuccess:n,stage:e,setStage:t})})]})}function $r(){z();const i=F(e=>e.lang);return r.jsxs("div",{className:re(""),children:[r.jsx(xe,{title:i===ee.RU?"О выставке":"About exhibition"}),r.jsx(Yt,{}),r.jsx(Xt,{}),r.jsx(Zt,{}),r.jsx(es,{}),r.jsx(ts,{})]})}const Ar=b.object({company_name:b.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:b.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:b.string().min(3,{message:"Должность должна быть не менее 3 символов"}),country:b.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:b.string().email({message:"Укажите корректный email"}),phone:b.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:b.string().optional(),visa_support:b.string().optional()}),Dr={company_name:"",rep_name:"",job_title:"",country:"",email:"",phone:"",website:"",visa_support:""},C=[{cover:"Забронировать стенд",h2:"Выберите один из вариантов:",radio:"Необорудованная площадь",radio_2:"Оборудованная площадь",label_1:"Название компании/организации",label_2:"Имя представителя",label_3:"Название должности/позиция",number_of_participants:"Количество участников",label_4:"Страна",label_5:"Email адрес",label_6:"Номер телефона",label_7:"Веб-сайт",visa:"Визовая поддержка:",visa_radio:"Да",visa_radio_2:"Нет",button:"Отправить"},{cover:"Book a stand:",h2:"Select one of the options:",radio:"Stand space only",radio_2:"Prefabricated stand",label_1:"Company/Organization Name",label_2:"Name of Representative",label_3:"Job title/Position",number_of_participants:"Number of the participants",label_4:"Country",label_5:"Email",label_6:"Phone number",label_7:"Website",visa:"Visa support:",visa_radio:"Yes",visa_radio_2:"No",button:"Send"}];function Br(){z();const i=F(o=>o.lang),[e,t]=y.useState(!1),s=Re({resolver:Oe(Ar),defaultValues:Dr}),n=async o=>{try{await ss(o)&&t(!0)}catch(l){console.error("POST sponsor error",l)}},{errors:a}=s.formState;return r.jsxs("div",{children:[r.jsx(xe,{title:i===ee.RU?"Стать спонсором":"Become a sponsor"}),r.jsx(oe,{children:!e&&r.jsx(Pe,{...s,children:r.jsxs(ge.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(n),children:[r.jsx(w,{label:C[j(i)].label_1,name:"company_name",control:s.control,error:a.company_name}),r.jsx(w,{label:C[j(i)].label_2,name:"rep_name",control:s.control,error:a.rep_name}),r.jsx(w,{label:C[j(i)].label_3,name:"job_title",control:s.control,error:a.job_title}),r.jsx(w,{label:C[j(i)].label_4,name:"country",control:s.control,error:a.country}),r.jsx(w,{label:C[j(i)].label_5,name:"email",control:s.control,error:a.email}),r.jsx(w,{label:C[j(i)].label_6,name:"phone",control:s.control,error:a.phone}),r.jsx(w,{label:C[j(i)].label_7,name:"website",control:s.control}),r.jsx(we,{control:s.control,name:"visa_support",render:({field:o})=>r.jsxs(D,{className:"space-y-5",children:[r.jsx(B,{className:"text-xl",children:C[j(i)].visa}),r.jsx(V,{children:r.jsxs(fe,{onValueChange:o.onChange,defaultValue:o.value,className:"flex flex-col space-y-4 ml-3",children:[r.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[r.jsx(V,{children:r.jsx(Y,{value:"yes",checked:o.value==="yes"})}),r.jsx(B,{className:"text-base",children:C[j(i)].visa_radio})]}),r.jsxs(D,{className:"flex items-center space-x-5 space-y-0 ",children:[r.jsx(V,{children:r.jsx(Y,{value:"no",checked:o.value==="no"})}),r.jsx(B,{className:"text-base",children:C[j(i)].visa_radio_2})]})]})})]})}),r.jsx(J,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?r.jsx(De,{className:"animate-spin"}):C[j(i)].button})]})})}),e&&r.jsx(Be,{delay:.3})]})}const Vr=b.object({name:b.string().min(2,"error"),email:b.string().email(),phone:b.string().min(8,"error"),company:b.string().min(2,"error"),msg:b.string().min(5,"error")}),Mr={name:"",email:"",phone:"",company:"",msg:""},Kr=({className:i})=>{const{t:e}=Ve("contacts"),[t,s]=y.useState(!1),n=Re({resolver:Oe(Vr),defaultValues:Mr});async function a(l){try{const c=await rs(l);s(c)}catch(c){console.error("POST contact",c)}}const{errors:o}=n.formState;return r.jsx("div",{className:re("bg-primary rounded-[8px] py-8 px-6 ",i),children:r.jsx(Pe,{...n,children:r.jsxs("form",{onSubmit:n.handleSubmit(a),children:[r.jsx("h2",{className:"h2 !text-on_primary lg:mb-8 mb-6",children:e("title")}),r.jsxs("div",{className:"flex flex-col gap-8",children:[r.jsx(w,{onPrimary:!0,name:"name",control:n.control,label:e("name"),error:o.name}),r.jsxs("div",{className:"flex flex-col lg:flex-row gap-6",children:[r.jsx(w,{onPrimary:!0,name:"email",control:n.control,label:"Email",error:o.email}),r.jsx(w,{onPrimary:!0,name:"phone",control:n.control,label:e("phone"),error:o.phone})]}),r.jsx(w,{onPrimary:!0,name:"company",control:n.control,label:e("company"),error:o.name}),r.jsx(w,{onPrimary:!0,textArea:!0,name:"msg",label:e("message"),control:n.control,error:o.msg}),r.jsx(J,{disabled:n.formState.isSubmitting||t,className:"w-full h-12 overflow-hidden",variant:"secondary",children:t?e("submitted"):n.formState.isSubmitting?r.jsx(ns,{className:"animate-spin text-white"}):e("button")})]})]})})})};function Gr(){z();const{t:i}=Ve("contacts");return r.jsxs("div",{className:"flex flex-col gap-20 pt-10 md:pt-20",children:[r.jsx(ne,{children:r.jsxs("section",{className:"grid grid-cols-1 lg:grid-cols-2 gap-20 lg:gap-6",children:[r.jsx(Kr,{}),r.jsxs("div",{className:"p-6 bg-surface_container rounded-[8px]",children:[r.jsx("h2",{className:"h2 mb-10 xl:mb-8",children:i("title_2")}),r.jsxs("div",{className:"flex flex-col gap-20",children:[r.jsxs("div",{className:"flex items-center gap-6",children:[r.jsx("img",{src:"/contacts/map.svg",alt:"address"}),r.jsxs("div",{children:[r.jsx("h3",{className:"text-xl mb-2",children:i("address")}),r.jsx("address",{className:"text-base normal not-italic",children:i("venue")})]})]}),r.jsxs("div",{className:"flex items-center gap-6",children:[r.jsx("img",{src:"/contacts/phone.svg",alt:"phone"}),r.jsxs("div",{children:[r.jsx("h3",{className:"text-xl mb-2",children:i("phone")}),r.jsx("h4",{className:"text-base normal",children:"+99371871812; 99363719588"})]})]}),r.jsxs("div",{className:"flex items-center gap-6",children:[r.jsx("img",{src:"/contacts/email.svg",alt:"email"}),r.jsxs("div",{children:[r.jsx("h3",{className:"text-xl mb-2",children:"Email:"}),r.jsx("h4",{className:"text-base normal",children:"contact@turkmenexpo.com"})]})]})]})]})]})}),r.jsx("section",{className:"relative w-full h-[300px] sm:h-[350px] md:h-[400px] lg:h-[600px]",children:r.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"})})]})}const Ur=[{id:0,title:"Фото",titleEn:"Photo"},{id:1,title:"Видео",titleEn:"Video"}],Hr=({className:i})=>{var S,N,P,O,T;const[e,t]=y.useState(0),{data:s,isPending:n,status:a}=as(1),{data:o}=is(1),[l,c]=y.useState(!1),[u,p]=y.useState({id:0,type:"photo"}),f=F(R=>R.lang),d=({id:R,type:_})=>{c(!0),p({id:R,type:_})},{t:h}=Ve("main"),[m,g]=y.useState(!1),x=R=>R===0&&n?r.jsx(pe,{}):r.jsx(pe,{});return console.log(a),r.jsxs(r.Fragment,{children:[r.jsx(oe,{children:l&&r.jsx(os,{activeItem:u,setActiveItem:p,setIsOpen:c})}),r.jsxs("section",{className:re("md:mb-[120px] mb-20",i),children:[r.jsx(xe,{title:f==="ru"?"Моменты":"Moments"}),r.jsx(ne,{className:"page-bottom md:pt-10 pt-6",children:r.jsxs("div",{className:"flex justify-center flex-col",children:[r.jsx(ct,{state:e,setState:t,data:Ur,className:"mb-6"}),e===0&&n?x(e):r.jsxs(r.Fragment,{children:[r.jsx("h3",{className:"md:text-3xl text-2xl mb-6",children:"2025"}),r.jsx("div",{className:"grid lg:grid-cols-4 lg:gap-y-4 lg:gap-x-6 md:gap-6 gap-4 grid-cols-2 place-items-center",children:e===0?(N=(S=s==null?void 0:s.photos)==null?void 0:S.slice(0,m?1e3:16))==null?void 0:N.map((R,_)=>{var k,M;return r.jsx("div",{onClick:()=>d({id:_,type:"photo"}),className:"cursor-pointer embla__slide basis-1/1 overflow-hidden",children:r.jsx("img",{src:((k=R==null?void 0:R.photo)==null?void 0:k.path)??"",alt:((M=R==null?void 0:R.photo)==null?void 0:M.file_name)??"photo",className:"size-full object-cover hover:scale-105 duration-300 transition-all"})},_)}):(P=o==null?void 0:o.videos)==null?void 0:P.map((R,_)=>{var k;return r.jsxs("div",{onClick:()=>d({id:_,type:"video"}),className:"cursor-pointer group embla__slide h-[155px] w-full basis-1/1 overflow-hidden relative",children:[r.jsx(ls,{fill:"white",size:20,color:"white",className:"absolute group-hover:scale-125 transition-all duration-300 top-1/2 z-10 left-1/2 -translate-x-1/2 -translate-y-1/2 "}),r.jsx("div",{className:"absolute top-0 left-0 size-full bg-[#2C57A752]/[32%]"}),r.jsx("img",{src:((k=R==null?void 0:R.video_photo)==null?void 0:k.path)??"",className:"size-full object-cover"})]},_)})})]}),((O=s==null?void 0:s.photos)==null?void 0:O.length)&&((T=s==null?void 0:s.photos)==null?void 0:T.length)>16&&!m&&r.jsx(J,{onClick:()=>g(!0),className:"mx-auto w-[288px] mt-10 text-on_surface",size:"lg",variant:"outline",children:h("media.button")})]})})]})]})},zr=(i,e)=>{const{data:t,isPending:s}=ut({queryKey:["news-inner",i,e],queryFn:()=>cs(i,e),select:({data:n})=>n.data});return{data:t,isPending:s}};function qr(){var o;const{id:i}=bs(),e=F(l=>l.lang),t=Number(i);z(t);const{data:s,isPending:n}=zr(t,e),{data:a}=dt(e);return n?r.jsx(pe,{}):r.jsxs(ne,{className:"pt-10 pb-20 md:pt-20 md:pb-[120px]",children:[r.jsxs("section",{className:"max-w-[888px] py-5 mx-auto flex flex-col md:gap-10 gap-6",children:[r.jsxs("div",{children:[r.jsx("h1",{className:"text-on_surface md:text-[32px] text-3xl leading-10 mb-2",children:s==null?void 0:s.title}),r.jsx("h4",{children:s==null?void 0:s.published_at.slice(0,10).split("-").reverse().join(".")})]}),r.jsx("div",{className:"w-full h-[300px] md:h-[480px]",children:r.jsx("img",{src:((o=s==null?void 0:s.featured_images[0])==null?void 0:o.path)||"",alt:"news image",className:"size-full object-cover"})}),r.jsx("div",{dangerouslySetInnerHTML:{__html:(s==null?void 0:s.content)??""},className:"news-inner md:text-lg flex flex-col gap-6 text-base md:medium normal text-on_surface_v"})]}),r.jsx("hr",{className:"mt-10 md:mb-20 mb-[60px]"}),r.jsxs("section",{children:[r.jsx("h2",{className:"h2 mb-6",children:e==="ru"?"Читайте также:":"Read more:"}),r.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:a==null?void 0:a.filter(l=>l.id!==t).slice(0,3).map(l=>y.createElement(pt,{...l,key:l.title}))})]})]})}function Jr(){z();const i=F(s=>s.lang),{data:e,isPending:t}=dt(i);return t?r.jsx(pe,{}):r.jsxs(ne,{className:"page-padding",children:[r.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-10",children:i==="ru"?"Новости":"News"}),r.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:e==null?void 0:e.map(s=>y.createElement(pt,{...s,key:s.title}))})]})}const Qr=()=>{const i=F(s=>s.lang),{data:e,isPending:t}=ut({queryKey:["participants",i],queryFn:()=>us(i),select:({data:s})=>s.data});return{data:e,isPending:t}},Wr=({className:i})=>{var u,p,f,d,h;z();const e=F(m=>m.lang),{data:t,isPending:s}=Qr(),n={company:e==="ru"?"Название компании":"Company name",country:e==="ru"?"Страна":"Country",industry:e==="ru"?"Сфера деятельности":"Industry"},[a,o]=y.useState(0),l=(f=t==null?void 0:t[0])==null?void 0:f.participants.concat((u=t==null?void 0:t[1])==null?void 0:u.participants,(p=t==null?void 0:t[2])==null?void 0:p.participants),c=t==null?void 0:t.filter(m=>a===1?m.id===3:a===2?m.id===1:m.id===2);return console.log(a),r.jsx(ne,{children:r.jsxs("section",{className:re("page-padding overflow-x-hidden",i),children:[r.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-4",children:e==="ru"?"Список участников":"List of participants"}),r.jsx(ct,{state:a,setState:o,className:"mb-6 md:w-fit"}),r.jsxs("div",{className:"p-2 sm:p-0 bg-surface_container overflow-hidden",children:[r.jsxs("div",{className:"sm:flex items-center hidden h-[52px] border-b border-outline_v",children:[r.jsx("h3",{className:"flex-[0_0_45.54%] pl-4",children:n==null?void 0:n.company}),r.jsx("h3",{className:"flex-[0_0_19.80%]",children:n==null?void 0:n.country}),r.jsx("h3",{className:"flex-[0_0_34.65%]",children:n==null?void 0:n.industry})]}),s?r.jsx(pe,{}):a===0?l==null?void 0:l.map((m,g,x)=>r.jsx(qe,{...m,arr:x==null?void 0:x.length,index:g,image:m.image??{path:""},image_country:m.image_country??{path:""}})):(h=(d=c==null?void 0:c[0])==null?void 0:d.participants)==null?void 0:h.map((m,g,x)=>r.jsx(qe,{...m,arr:x==null?void 0:x.length,index:g,image:m.image??{path:""},image_country:m.image_country??{path:""}}))]})]})})},Yr=b.object({space_package:b.string(),company_name:b.string().min(3,{message:"Название компании должно быть не менее 3 символов"}),rep_name:b.string().min(3,{message:"Имя представителя должно быть не менее 3 символов"}),job_title:b.string().min(3,{message:"Должность должна быть не менее 3 символов"}),participants_number:b.preprocess(i=>Number(i),b.number().min(1,"Укажите количество участников")),country:b.string().min(3,{message:"Название страны должно быть не менее 3 символов"}),email:b.string().email({message:"Укажите корректный email"}),phone:b.string().min(8,{message:"Номер телефона должен быть не менее 8 символов"}),website:b.string().optional(),visa_support:b.string().optional()}),Xr={space_package:"space",company_name:"",rep_name:"",job_title:"",participants_number:1,country:"",email:"",phone:"",website:"",visa_support:""};function Zr(){const i=F(l=>l.lang),[e,t]=y.useState(!1),s=Re({resolver:Oe(Yr),defaultValues:Xr}),n=async l=>{await ds(l)&&t(!0)};y.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[]);const{errors:a}=s.formState,o=j(i);return r.jsxs("div",{children:[r.jsx(xe,{title:C[j(i)].cover}),r.jsx(oe,{children:!e&&r.jsx(Pe,{...s,children:r.jsxs(ge.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:s.handleSubmit(n),children:[r.jsx(we,{control:s.control,name:"space_package",render:({field:l})=>r.jsxs(D,{className:"space-y-5",children:[r.jsx(B,{className:"text-xl",children:C[o].h2}),r.jsx(V,{children:r.jsxs(fe,{onValueChange:l.onChange,defaultValue:l.value,className:"flex flex-col space-y-4 ml-3",children:[r.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[r.jsx(V,{children:r.jsx(Y,{value:"space",checked:l.value==="space"})}),r.jsx(B,{className:"text-base",children:C[o].radio})]}),r.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[r.jsx(V,{children:r.jsx(Y,{value:"package",checked:l.value==="package"})}),r.jsx(B,{className:"text-base",children:C[o].radio_2})]})]})})]})}),r.jsx(w,{label:C[o].label_1,name:"company_name",control:s.control,error:a.company_name}),r.jsx(w,{label:C[o].label_2,name:"rep_name",control:s.control,error:a.rep_name}),r.jsx(w,{label:C[o].label_3,name:"job_title",control:s.control,error:a.job_title}),r.jsx(w,{label:C[o].number_of_participants,type:"number",name:"participants_number",control:s.control,error:a.participants_number}),r.jsx(w,{label:C[o].label_4,name:"country",control:s.control,error:a.country}),r.jsx(w,{label:C[o].label_5,name:"email",control:s.control,error:a.email}),r.jsx(w,{label:C[o].label_6,name:"phone",control:s.control,error:a.phone}),r.jsx(w,{label:C[o].label_7,name:"website",control:s.control}),r.jsx(we,{control:s.control,name:"visa_support",render:({field:l})=>r.jsxs(D,{className:"space-y-5",children:[r.jsx(B,{className:"text-xl",children:C[o].visa}),r.jsx(V,{children:r.jsxs(fe,{onValueChange:l.onChange,defaultValue:l.value,className:"flex flex-col space-y-4 ml-3",children:[r.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[r.jsx(V,{children:r.jsx(Y,{value:"yes",checked:l.value==="yes"})}),r.jsx(B,{className:"text-base",children:C[o].visa_radio})]}),r.jsxs(D,{className:"flex items-center space-x-5 space-y-0 ",children:[r.jsx(V,{children:r.jsx(Y,{value:"no",checked:l.value==="no"})}),r.jsx(B,{className:"text-base",children:C[o].visa_radio_2})]})]})})]})}),r.jsx(J,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?r.jsx(De,{className:"animate-spin"}):C[o].button})]})})}),e&&r.jsx(Be,{delay:.3})]})}function ea(){z();const[i]=ps({align:"center"});return r.jsxs("div",{className:"overflow-x-hidden",children:[r.jsxs("section",{className:"",children:[r.jsx("img",{src:"/impressions-cover.png",alt:"",className:"w-full object-contain max-h-[610px]"}),r.jsx("h1",{className:"absolute opacity-0 top-0 left-0",children:"Показы"}),r.jsx("div",{className:"bg-[url('/impressions-bg.png')] py-[200px] ",children:r.jsxs(ne,{className:"grid grid-cols-2 gap-6 h-[570px]",children:[r.jsxs("div",{className:"flex flex-col gap-6 justify-center",children:[r.jsx("h2",{className:"text-5xl leading-[120%]",children:'Дефиле туркменской моды на выставке "ТуркменТекстиль"'}),r.jsx("p",{className:"text-on_surface_v normal text-base",children:'В рамках международной выставки "Туркмен текстиль" состоятся эксклюзивные показы коллекций ведущих туркменских дизайнеров и Домов моды. Гости мероприятия смогут оценить высокое мастерство исполнения, богатство национальных традиций в современном прочтении и актуальные тенденции текстильной индустрии Туркменистана, воплощенные в уникальных моделях одежды и аксессуаров.'})]}),r.jsxs("div",{className:"relative",children:[r.jsx("img",{src:"/impressions/gallery-1.png",alt:"impression image",className:"absolute top-0 right-0 z-10 shadow-xl drop-shadow-sm"}),r.jsx("img",{src:"/impressions/gallery-2.png",className:"absolute left-0 top-1/4 shadow-xl drop-shadow-sm"}),r.jsx("img",{src:"/impressions/gallery-3.png",alt:"",className:"absolute bottom-0 right-0 z-10 shadow-xl drop-shadow-sm"})]})]})})]}),r.jsx("section",{className:"py-[200px]",children:r.jsxs(ne,{className:"flex flex-col gap-10",children:[r.jsx("h2",{className:"text-5xl",children:"Дизайнеры одежды"}),r.jsx("div",{ref:i,className:"embla",children:r.jsx("div",{className:"flex embla__container",children:[...Array(9)].map((e,t)=>r.jsx(ms,{name:"Batyr",info:"test tesat tesxt test",imgUrl:"/impressions/designer.png",className:"embla__slide flex-[0_0_714px] mr-4"},t))})})]})}),r.jsx("section",{className:"bg-[url('/CTA.png')] py-20 ",children:r.jsxs("div",{className:"flex flex-col gap-6 text-center max-w-[808px] mx-auto",children:[r.jsx("h3",{className:"text-white text-3xl",children:"Тренды туркменского текстиля 2025/2026"}),r.jsx("p",{className:"text-lg text-primary_03 normal",children:"Скачайте наш эксклюзивный гид и первыми узнайте о новейших тенденциях, инновационных материалах и вдохновляющих коллекциях, которые определят будущее туркменской текстильной индустрии"}),r.jsx(J,{className:"bg-reverse_primary w-fit mx-auto hover:bg-reverse_primary/90 text-on_secondary_container",size:"sm",children:"Скачать гид"})]})})]})}const H=({className:i})=>r.jsx("div",{className:re("container py-32",i),children:r.jsx("h1",{className:"text-5xl text-center",children:"Oops, something went wrong"})}),ta=ys([{element:r.jsx(sr,{}),path:"/",children:[{element:r.jsx(nr,{}),path:"",errorElement:r.jsx(H,{})},{element:r.jsx($r,{}),path:"about",errorElement:r.jsx(H,{})},{element:r.jsx(Ir,{}),path:"B2B-B2G",errorElement:r.jsx(H,{})},{element:r.jsx(Br,{}),path:"become-sponsor",errorElement:r.jsx(H,{})},{element:r.jsx(Zr,{}),path:"stend-form",errorElement:r.jsx(H,{})},{element:r.jsx(Gr,{}),path:"contacts",errorElement:r.jsx(H,{})},{element:r.jsx(Jr,{}),path:"news",errorElement:r.jsx(H,{})},{element:r.jsx(qr,{}),path:"news/:id",errorElement:r.jsx(H,{})},{element:r.jsx(Wr,{}),path:"participants",errorElement:r.jsx(H,{})},{element:r.jsx(Hr,{}),path:"media",errorElement:r.jsx(H,{})},{element:r.jsx(ea,{}),path:"impressions",errorElement:r.jsx(H,{})}]}]),sa=new fs;ws.createRoot(document.getElementById("root")).render(r.jsx(y.StrictMode,{children:r.jsx(hs,{client:sa,children:r.jsx(vs,{router:ta})})})); diff --git a/dist/assets/index-DhXVLqHp.css b/dist/assets/index-DhXVLqHp.css new file mode 100644 index 0000000..76cb55b --- /dev/null +++ b/dist/assets/index-DhXVLqHp.css @@ -0,0 +1 @@ +@font-face{font-family:Gilroy-Regular;src:local("Gilroy-Regular"),url(../fonts/Gilroy-Regular.woff2) format("woff2");font-weight:400}@font-face{font-family:Gilroy-Medium;src:local("Gilroy-Medium"),url(../fonts/Gilroy-Medium.woff2) format("woff2");font-weight:500}@font-face{font-family:Gilroy-Semibold;src:local("Gilroy-Semibold"),url(../fonts/Gilroy-Semibold.woff2) format("woff2");font-weight:600}@font-face{font-family:Gilroy-Black;src:local("Gilroy-Black"),url(../fonts/Gilroy-Black.woff2) format("woff2");font-weight:900}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{box-sizing:border-box}body{font-family:Gilroy-Medium;--tw-bg-opacity: 1;background-color:rgb(249 249 250 / var(--tw-bg-opacity, 1))}.c-scrollbar .c-scrollbar_thumb{background-color:#99101d!important}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-5{bottom:-1.25rem}.-bottom-6{bottom:-1.5rem}.-left-12{left:-3rem}.-right-12{right:-3rem}.-top-6{top:-1.5rem}.bottom-0{bottom:0}.bottom-28{bottom:7rem}.left-0{left:0}.left-1\/2{left:50%}.left-1\/3{left:33.333333%}.left-10{left:2.5rem}.left-2\.5{left:.625rem}.left-\[20\%\]{left:20%}.left-\[50\%\]{left:50%}.right-0{right:0}.right-10{right:2.5rem}.right-4{right:1rem}.right-6{right:1.5rem}.right-\[17\%\]{right:17%}.top-0{top:0}.top-1\/2{top:50%}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-4{top:1rem}.top-6{top:1.5rem}.top-8{top:2rem}.top-\[50\%\]{top:50%}.top-\[55\%\]{top:55%}.-z-10,.-z-\[10\]{z-index:-10}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.z-\[100\]{z-index:100}.z-\[3\]{z-index:3}.z-\[5\]{z-index:5}.mx-4{margin-left:1rem;margin-right:1rem}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-16{margin-top:4rem;margin-bottom:4rem}.my-20{margin-top:5rem;margin-bottom:5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.-mt-2\.5{margin-top:-.625rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-2\.5{margin-bottom:.625rem}.mb-20{margin-bottom:5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\[120px\]{margin-bottom:120px}.mb-\[60px\]{margin-bottom:60px}.ml-3{margin-left:.75rem}.mr-10{margin-right:2.5rem}.mr-4{margin-right:1rem}.mr-6{margin-right:1.5rem}.mr-\[50\%\]{margin-right:50%}.mt-10{margin-top:2.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-auto{margin-top:auto}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-20{width:5rem;height:5rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-\[140px\]{width:140px;height:140px}.size-\[88px\]{width:88px;height:88px}.size-full{width:100%;height:100%}.h-0\.5{height:.125rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-20{height:5rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[116px\]{height:116px}.h-\[124px\]{height:124px}.h-\[128px\]{height:128px}.h-\[155px\]{height:155px}.h-\[160px\]{height:160px}.h-\[220px\]{height:220px}.h-\[296px\]{height:296px}.h-\[300px\]{height:300px}.h-\[326px\]{height:326px}.h-\[345px\]{height:345px}.h-\[350px\]{height:350px}.h-\[3px\]{height:3px}.h-\[400px\]{height:400px}.h-\[52px\]{height:52px}.h-\[59px\]{height:59px}.h-\[80vh\]{height:80vh}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.max-h-\[453px\]{max-height:453px}.max-h-\[610px\]{max-height:610px}.max-h-\[80vh\]{max-height:80vh}.max-h-full{max-height:100%}.min-h-0{min-height:0px}.min-h-\[128px\]{min-height:128px}.min-h-\[60px\]{min-height:60px}.min-h-screen{min-height:100vh}.\!w-full{width:100%!important}.w-0{width:0px}.w-1\/2{width:50%}.w-16{width:4rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-9{width:2.25rem}.w-\[160px\]{width:160px}.w-\[18px\]{width:18px}.w-\[20\%\]{width:20%}.w-\[288px\]{width:288px}.w-\[300px\]{width:300px}.w-\[350px\]{width:350px}.w-\[70\%\]{width:70%}.w-\[75\%\]{width:75%}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-\[1240px\]{max-width:1240px}.max-w-\[360px\]{max-width:360px}.max-w-\[392px\]{max-width:392px}.max-w-\[444px\]{max-width:444px}.max-w-\[808px\]{max-width:808px}.max-w-\[828px\]{max-width:828px}.max-w-\[888px\]{max-width:888px}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-\[0_0_100\%\]{flex:0 0 100%}.flex-\[0_0_16px\]{flex:0 0 16px}.flex-\[0_0_19\.80\%\]{flex:0 0 19.8%}.flex-\[0_0_27\%\]{flex:0 0 27%}.flex-\[0_0_288px\]{flex:0 0 288px}.flex-\[0_0_300px\]{flex:0 0 300px}.flex-\[0_0_34\.65\%\]{flex:0 0 34.65%}.flex-\[0_0_44\%\]{flex:0 0 44%}.flex-\[0_0_45\.54\%\]{flex:0 0 45.54%}.flex-\[0_0_50\%\]{flex:0 0 50%}.flex-\[0_0_70\%\]{flex:0 0 70%}.flex-\[0_0_714px\]{flex:0 0 714px}.flex-\[0_0_80\%\]{flex:0 0 80%}.flex-\[0_0_88px\]{flex:0 0 88px}.flex-\[0_0_90px\]{flex:0 0 90px}.flex-auto{flex:1 1 auto}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.\!cursor-pointer{cursor:pointer!important}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-1{gap:.25rem}.gap-10{gap:2.5rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-20{gap:5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.whitespace-nowrap{white-space:nowrap}.rounded{border-radius:.25rem}.rounded-\[2px\]{border-radius:2px}.rounded-\[8px\]{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-b-\[2px\]{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.rounded-t-\[2px\]{border-top-left-radius:2px;border-top-right-radius:2px}.rounded-t-\[4px\]{border-top-left-radius:4px;border-top-right-radius:4px}.rounded-bl{border-bottom-left-radius:.25rem}.rounded-tl{border-top-left-radius:.25rem}.border{border-width:1px}.border-\[2px\]{border-width:2px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-\[\#BA1A1A\]{--tw-border-opacity: 1;border-color:rgb(186 26 26 / var(--tw-border-opacity, 1))}.border-gray_09{--tw-border-opacity: 1;border-color:rgb(89 80 81 / var(--tw-border-opacity, 1))}.border-on_surface{--tw-border-opacity: 1;border-color:rgb(44 40 40 / var(--tw-border-opacity, 1))}.border-outline{--tw-border-opacity: 1;border-color:rgb(161 167 178 / var(--tw-border-opacity, 1))}.border-outline_v{--tw-border-opacity: 1;border-color:rgb(208 211 216 / var(--tw-border-opacity, 1))}.border-primary{--tw-border-opacity: 1;border-color:rgb(153 16 29 / var(--tw-border-opacity, 1))}.border-primary_outline_reverse{--tw-border-opacity: 1;border-color:rgb(238 101 114 / var(--tw-border-opacity, 1))}.border-slate-500\/20{border-color:#64748b33}.border-white\/50{border-color:#ffffff80}.\!bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))!important}.bg-\[\#2C57A752\]\/\[32\%\]{background-color:#2c57a752}.bg-\[\#D0D3D8\]{--tw-bg-opacity: 1;background-color:rgb(208 211 216 / var(--tw-bg-opacity, 1))}.bg-\[\#E0E6EB\]{--tw-bg-opacity: 1;background-color:rgb(224 230 235 / var(--tw-bg-opacity, 1))}.bg-\[\#FDEDEE\]{--tw-bg-opacity: 1;background-color:rgb(253 237 238 / var(--tw-bg-opacity, 1))}.bg-background{--tw-bg-opacity: 1;background-color:rgb(249 249 250 / var(--tw-bg-opacity, 1))}.bg-black\/80{background-color:#000c}.bg-black\/90{background-color:#000000e6}.bg-gray_10{--tw-bg-opacity: 1;background-color:rgb(67 60 61 / var(--tw-bg-opacity, 1))}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(153 16 29 / var(--tw-bg-opacity, 1))}.bg-reverse_primary{--tw-bg-opacity: 1;background-color:rgb(246 178 184 / var(--tw-bg-opacity, 1))}.bg-secondary_container{--tw-bg-opacity: 1;background-color:rgb(221 203 205 / var(--tw-bg-opacity, 1))}.bg-surface_container{--tw-bg-opacity: 1;background-color:rgb(238 237 244 / var(--tw-bg-opacity, 1))}.bg-surface_high{--tw-bg-opacity: 1;background-color:rgb(232 231 239 / var(--tw-bg-opacity, 1))}.bg-teritary{--tw-bg-opacity: 1;background-color:rgb(241 112 13 / var(--tw-bg-opacity, 1))}.bg-teritary_08{--tw-bg-opacity: 1;background-color:rgb(212 132 0 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-opacity-0{--tw-bg-opacity: 0}.bg-\[url\(\'\/CTA\.png\'\)\]{background-image:url(/CTA.png)}.bg-\[url\(\'\/impressions-bg\.png\'\)\]{background-image:url(/impressions-bg.png)}.bg-\[url\(\'\/impressions\/card-bg\.png\'\)\]{background-image:url(/impressions/card-bg.png)}.bg-\[url\(\'\/impressions\/videos-block-bg\.png\'\)\]{background-image:url(/impressions/videos-block-bg.png)}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-\[\#F1700D\]{--tw-gradient-from: #F1700D var(--tw-gradient-from-position);--tw-gradient-to: rgb(241 112 13 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-primary{--tw-gradient-from: #99101D var(--tw-gradient-from-position);--tw-gradient-to: rgb(153 16 29 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-25\%{--tw-gradient-from-position: 25%}.to-\[\#F38835\]{--tw-gradient-to: #F38835 var(--tw-gradient-to-position)}.to-primary\/20{--tw-gradient-to: rgb(153 16 29 / .2) var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.bg-no-repeat{background-repeat:no-repeat}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.object-top{-o-object-position:top;object-position:top}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-0{padding-left:0;padding-right:0}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-32{padding-top:8rem;padding-bottom:8rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[200px\]{padding-top:200px;padding-bottom:200px}.pb-20{padding-bottom:5rem}.pb-40{padding-bottom:10rem}.pb-\[120px\]{padding-bottom:120px}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pr-4{padding-right:1rem}.pt-10{padding-top:2.5rem}.pt-16{padding-top:4rem}.pt-2{padding-top:.5rem}.pt-20{padding-top:5rem}.pt-6{padding-top:1.5rem}.\!text-left{text-align:left!important}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-5xl{font-size:3rem;line-height:1}.text-\[0\.8rem\]{font-size:.8rem}.text-\[18px\]{font-size:18px}.text-\[20px\]{font-size:20px}.text-\[32px\]{font-size:32px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.not-italic{font-style:normal}.leading-10{line-height:2.5rem}.leading-\[120\%\]{line-height:120%}.leading-\[130\%\]{line-height:130%}.leading-\[140\%\]{line-height:140%}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.\!text-on_primary{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity, 1))!important}.\!text-on_surface{--tw-text-opacity: 1 !important;color:rgb(44 40 40 / var(--tw-text-opacity, 1))!important}.text-\[\#171717\]{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity, 1))}.text-\[\#454545\]{--tw-text-opacity: 1;color:rgb(69 69 69 / var(--tw-text-opacity, 1))}.text-\[\#BA1A1A\]{--tw-text-opacity: 1;color:rgb(186 26 26 / var(--tw-text-opacity, 1))}.text-\[\#FAD8DB\]{--tw-text-opacity: 1;color:rgb(250 216 219 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-on_primary{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-on_secondary_container{--tw-text-opacity: 1;color:rgb(29 38 55 / var(--tw-text-opacity, 1))}.text-on_surface{--tw-text-opacity: 1;color:rgb(44 40 40 / var(--tw-text-opacity, 1))}.text-on_surface_v{--tw-text-opacity: 1;color:rgb(111 100 102 / var(--tw-text-opacity, 1))}.text-on_teritary{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-primary{--tw-text-opacity: 1;color:rgb(153 16 29 / var(--tw-text-opacity, 1))}.text-primary_03{--tw-text-opacity: 1;color:rgb(246 178 184 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-teritary_04{--tw-text-opacity: 1;color:rgb(255 206 127 / var(--tw-text-opacity, 1))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-70{opacity:.7}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color: #F9F9FA}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.container{margin-left:auto;margin-right:auto;width:100%;max-width:1240px;padding-left:1rem;padding-right:1rem}.normal{font-family:Gilroy-Regular;font-weight:400}.semibold{font-family:Gilroy-Semibold;font-weight:600}.black{font-family:Gilroy-Black}.h1{font-size:28px;font-weight:500;line-height:130%}.h2{font-size:24px;--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.h2{font-size:32px}}.p{font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(111 100 102 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.p{font-size:1.125rem;line-height:1.75rem}}.text-18{font-size:1.125rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(111 100 102 / var(--tw-text-opacity, 1));font-family:Gilroy-Regular;font-weight:400}.dot{height:.25rem;width:1.25rem;cursor:pointer;border-radius:2px;--tw-bg-opacity: 1;background-color:rgb(111 100 102 / var(--tw-bg-opacity, 1))}.dot-active{height:.25rem;width:1.25rem;border-radius:2px;--tw-bg-opacity: 1;background-color:rgb(44 40 40 / var(--tw-bg-opacity, 1))}.nav-btn{display:flex;width:3rem;height:3rem;align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(217 217 217 / var(--tw-bg-opacity, 1))}.news-inner img{height:300px;-o-object-fit:cover;object-fit:cover}@media (min-width: 768px){.news-inner img{height:500px}}.news-inner a{--tw-text-opacity: 1;color:rgb(153 16 29 / var(--tw-text-opacity, 1));text-decoration-line:underline}.page-padding{padding-top:2.5rem;padding-bottom:5rem}@media (min-width: 768px){.page-padding{padding-top:5rem;padding-bottom:120px}}.progress-circle{z-index:10;width:3.5rem;height:3.5rem;border-radius:9999px;font-size:1.5rem;line-height:2rem;--tw-text-opacity: 1;color:rgb(95 102 116 / var(--tw-text-opacity, 1))}.input{display:flex;height:3.5rem;border-radius:2px;border-width:1px;background-color:transparent;padding:1rem;font-size:1rem;line-height:1.5rem;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(161 167 178 / var(--tw-ring-opacity, 1));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;font-family:Gilroy-Regular;font-weight:400}.input::file-selector-button{width:-moz-fit-content;width:fit-content;border-width:0px;--tw-bg-opacity: 1;background-color:rgb(221 203 205 / var(--tw-bg-opacity, 1));font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(29 38 55 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}.input:hover{--tw-ring-opacity: 1;--tw-ring-color: rgb(44 40 40 / var(--tw-ring-opacity, 1))}.input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(153 16 29 / var(--tw-ring-opacity, 1))}.input:focus-visible{outline:2px solid transparent;outline-offset:2px}.input:disabled{cursor:not-allowed;opacity:.5}.file\:w-fit::file-selector-button{width:-moz-fit-content;width:fit-content}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-secondary_container::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(221 203 205 / var(--tw-bg-opacity, 1))}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-on_secondary_container::file-selector-button{--tw-text-opacity: 1;color:rgb(29 38 55 / var(--tw-text-opacity, 1))}.file\:outline-none::file-selector-button{outline:2px solid transparent;outline-offset:2px}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:-left-3:before{content:var(--tw-content);left:-.75rem}.before\:-top-3:before{content:var(--tw-content);top:-.75rem}.before\:size-10:before{content:var(--tw-content);width:2.5rem;height:2.5rem}.before\:scale-0:before{content:var(--tw-content);--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.before\:rounded-full:before{content:var(--tw-content);border-radius:9999px}.before\:bg-on_surface\/\[8\%\]:before{content:var(--tw-content);background-color:#2c282814}.before\:transition-all:before{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:bottom-0:after{content:var(--tw-content);bottom:0}.after\:left-0:after{content:var(--tw-content);left:0}.after\:size-\[9px\]:after{content:var(--tw-content);width:9px;height:9px}.after\:h-0\.5:after{content:var(--tw-content);height:.125rem}.after\:w-full:after{content:var(--tw-content);width:100%}.after\:rounded:after{content:var(--tw-content);border-radius:.25rem}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:bg-primary:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(153 16 29 / var(--tw-bg-opacity, 1))}.after\:bg-opacity-0:after{content:var(--tw-content);--tw-bg-opacity: 0}.after\:opacity-0:after{content:var(--tw-content);opacity:0}.after\:opacity-100:after{content:var(--tw-content);opacity:1}.after\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-on_surface:hover{--tw-border-opacity: 1;border-color:rgb(44 40 40 / var(--tw-border-opacity, 1))}.hover\:border-white:hover{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.hover\:bg-primary\/90:hover{background-color:#99101de6}.hover\:bg-reverse_primary\/90:hover{background-color:#f6b2b8e6}.hover\:bg-secondary_container\/80:hover{background-color:#ddcbcdcc}.hover\:bg-slate-300\/50:hover{background-color:#cbd5e180}.hover\:bg-teritary\/90:hover{background-color:#f1700de6}.hover\:bg-teritary_surface_container:hover{--tw-bg-opacity: 1;background-color:rgb(255 243 224 / var(--tw-bg-opacity, 1))}.hover\:bg-white\/90:hover{background-color:#ffffffe6}.hover\:opacity-100:hover{opacity:1}.hover\:before\:scale-100:hover:before{content:var(--tw-content);--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.focus\:border-\[3px\]:focus{border-width:3px}.focus\:border-primary:focus{--tw-border-opacity: 1;border-color:rgb(153 16 29 / var(--tw-border-opacity, 1))}.focus\:border-white:focus{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:scale-125{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[state\=open\]\:bg-secondary[data-state=open]{--tw-bg-opacity: 1;background-color:rgb(73 95 137 / var(--tw-bg-opacity, 1))}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}@media (min-width: 640px){.sm\:bottom-12{bottom:3rem}.sm\:flex{display:flex}.sm\:size-\[128px\]{width:128px;height:128px}.sm\:h-14{height:3.5rem}.sm\:h-\[350px\]{height:350px}.sm\:max-w-sm{max-width:24rem}.sm\:flex-\[0_0_128px\]{flex:0 0 128px}.sm\:flex-\[0_0_600px\]{flex:0 0 600px}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:p-0{padding:0}.sm\:text-left{text-align:left}.sm\:text-5xl{font-size:3rem;line-height:1}.sm\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width: 768px){.md\:left-1\/2{left:50%}.md\:mx-auto{margin-left:auto;margin-right:auto}.md\:my-20{margin-top:5rem;margin-bottom:5rem}.md\:mb-20{margin-bottom:5rem}.md\:mb-8{margin-bottom:2rem}.md\:mb-\[120px\]{margin-bottom:120px}.md\:ml-1{margin-left:.25rem}.md\:mt-20{margin-top:5rem}.md\:mt-6{margin-top:1.5rem}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:size-20{width:5rem;height:5rem}.md\:size-\[84px\]{width:84px;height:84px}.md\:size-auto{width:auto;height:auto}.md\:h-\[216px\]{height:216px}.md\:h-\[224px\]{height:224px}.md\:h-\[38px\]{height:38px}.md\:h-\[400px\]{height:400px}.md\:h-\[480px\]{height:480px}.md\:h-\[497px\]{height:497px}.md\:h-\[500px\]{height:500px}.md\:w-1{width:.25rem}.md\:w-fit{width:-moz-fit-content;width:fit-content}.md\:w-full{width:100%}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:grid-cols-\[1fr_32\.5\%\]{grid-template-columns:1fr 32.5%}.md\:flex-row{flex-direction:row}.md\:items-end{align-items:flex-end}.md\:justify-between{justify-content:space-between}.md\:gap-10{gap:2.5rem}.md\:gap-6{gap:1.5rem}.md\:p-10{padding:2.5rem}.md\:p-6{padding:1.5rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:py-20{padding-top:5rem;padding-bottom:5rem}.md\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.md\:pb-\[120px\]{padding-bottom:120px}.md\:pt-10{padding-top:2.5rem}.md\:pt-20{padding-top:5rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-\[32px\]{font-size:32px}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:right-\[15\%\]{right:15%}.lg\:mb-8{margin-bottom:2rem}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:h-\[600px\]{height:600px}.lg\:h-\[700px\]{height:700px}.lg\:h-\[88px\]{height:88px}.lg\:max-h-\[600px\]{max-height:600px}.lg\:min-h-\[320px\]{min-height:320px}.lg\:w-1\/2{width:50%}.lg\:w-\[220px\]{width:220px}.lg\:w-\[320px\]{width:320px}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:items-center{align-items:center}.lg\:gap-12{gap:3rem}.lg\:gap-6{gap:1.5rem}.lg\:gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.lg\:gap-y-4{row-gap:1rem}.lg\:px-28{padding-left:7rem;padding-right:7rem}.lg\:px-\[20\%\]{padding-left:20%;padding-right:20%}}@media (min-width: 1280px){.xl\:right-\[13\%\]{right:13%}.xl\:mb-8{margin-bottom:2rem}.xl\:mr-20{margin-right:5rem}.xl\:hidden{display:none}.xl\:\!w-\[1224px\]{width:1224px!important}.xl\:w-\[288px\]{width:288px}.xl\:w-\[392px\]{width:392px}.xl\:w-\[450px\]{width:450px}}@media (min-width: 1536px){.\32xl\:right-\[10\%\]{right:10%}.\32xl\:w-\[40\%\]{width:40%}.\32xl\:w-\[600px\]{width:600px}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0} diff --git a/dist/assets/index-gEcKEu9V.css b/dist/assets/index-gEcKEu9V.css deleted file mode 100644 index ab8968a..0000000 --- a/dist/assets/index-gEcKEu9V.css +++ /dev/null @@ -1 +0,0 @@ -@font-face{font-family:Gilroy-Regular;src:local("Gilroy-Regular"),url(../fonts/Gilroy-Regular.woff2) format("woff2");font-weight:400}@font-face{font-family:Gilroy-Medium;src:local("Gilroy-Medium"),url(../fonts/Gilroy-Medium.woff2) format("woff2");font-weight:500}@font-face{font-family:Gilroy-Semibold;src:local("Gilroy-Semibold"),url(../fonts/Gilroy-Semibold.woff2) format("woff2");font-weight:600}@font-face{font-family:Gilroy-Black;src:local("Gilroy-Black"),url(../fonts/Gilroy-Black.woff2) format("woff2");font-weight:900}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;letter-spacing:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]:where(:not([hidden=until-found])){display:none}*{box-sizing:border-box}body{font-family:Gilroy-Medium;--tw-bg-opacity: 1;background-color:rgb(249 249 250 / var(--tw-bg-opacity, 1))}.container{width:100%}@media (min-width: 640px){.container{max-width:640px}}@media (min-width: 768px){.container{max-width:768px}}@media (min-width: 1024px){.container{max-width:1024px}}@media (min-width: 1280px){.container{max-width:1280px}}@media (min-width: 1536px){.container{max-width:1536px}}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border-width:0}.pointer-events-none{pointer-events:none}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{top:0;right:0;bottom:0;left:0}.inset-x-0{left:0;right:0}.inset-y-0{top:0;bottom:0}.-bottom-5{bottom:-1.25rem}.-bottom-6{bottom:-1.5rem}.-left-12{left:-3rem}.-right-12{right:-3rem}.-top-6{top:-1.5rem}.bottom-0{bottom:0}.bottom-28{bottom:7rem}.left-0{left:0}.left-1\/2{left:50%}.left-1\/3{left:33.333333%}.left-10{left:2.5rem}.left-2\.5{left:.625rem}.left-\[20\%\]{left:20%}.left-\[50\%\]{left:50%}.right-0{right:0}.right-10{right:2.5rem}.right-4{right:1rem}.right-6{right:1.5rem}.right-\[17\%\]{right:17%}.top-0{top:0}.top-1\/2{top:50%}.top-1\/4{top:25%}.top-2{top:.5rem}.top-2\.5{top:.625rem}.top-4{top:1rem}.top-6{top:1.5rem}.top-8{top:2rem}.top-\[50\%\]{top:50%}.top-\[55\%\]{top:55%}.-z-10,.-z-\[10\]{z-index:-10}.z-10{z-index:10}.z-20{z-index:20}.z-40{z-index:40}.z-50{z-index:50}.z-\[100\]{z-index:100}.z-\[3\]{z-index:3}.z-\[5\]{z-index:5}.mx-4{margin-left:1rem;margin-right:1rem}.mx-5{margin-left:1.25rem;margin-right:1.25rem}.mx-auto{margin-left:auto;margin-right:auto}.my-10{margin-top:2.5rem;margin-bottom:2.5rem}.my-16{margin-top:4rem;margin-bottom:4rem}.my-20{margin-top:5rem;margin-bottom:5rem}.my-8{margin-top:2rem;margin-bottom:2rem}.mb-10{margin-bottom:2.5rem}.mb-2{margin-bottom:.5rem}.mb-20{margin-bottom:5rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-\[120px\]{margin-bottom:120px}.mb-\[60px\]{margin-bottom:60px}.ml-3{margin-left:.75rem}.mr-10{margin-right:2.5rem}.mr-4{margin-right:1rem}.mr-6{margin-right:1.5rem}.mr-\[50\%\]{margin-right:50%}.mt-10{margin-top:2.5rem}.mt-16{margin-top:4rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-8{margin-top:2rem}.line-clamp-3{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:3}.flex{display:flex}.inline-flex{display:inline-flex}.grid{display:grid}.hidden{display:none}.size-10{width:2.5rem;height:2.5rem}.size-12{width:3rem;height:3rem}.size-16{width:4rem;height:4rem}.size-20{width:5rem;height:5rem}.size-4{width:1rem;height:1rem}.size-5{width:1.25rem;height:1.25rem}.size-6{width:1.5rem;height:1.5rem}.size-8{width:2rem;height:2rem}.size-\[88px\]{width:88px;height:88px}.size-full{width:100%;height:100%}.h-0\.5{height:.125rem}.h-10{height:2.5rem}.h-11{height:2.75rem}.h-12{height:3rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-2{height:.5rem}.h-20{height:5rem}.h-40{height:10rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-8{height:2rem}.h-9{height:2.25rem}.h-\[116px\]{height:116px}.h-\[124px\]{height:124px}.h-\[128px\]{height:128px}.h-\[155px\]{height:155px}.h-\[160px\]{height:160px}.h-\[220px\]{height:220px}.h-\[296px\]{height:296px}.h-\[300px\]{height:300px}.h-\[326px\]{height:326px}.h-\[350px\]{height:350px}.h-\[3px\]{height:3px}.h-\[400px\]{height:400px}.h-\[52px\]{height:52px}.h-\[570px\]{height:570px}.h-\[80vh\]{height:80vh}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.max-h-\[610px\]{max-height:610px}.max-h-full{max-height:100%}.min-h-\[128px\]{min-height:128px}.min-h-\[60px\]{min-height:60px}.min-h-screen{min-height:100vh}.\!w-full{width:100%!important}.w-0{width:0px}.w-1\/2{width:50%}.w-16{width:4rem}.w-3\/4{width:75%}.w-32{width:8rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-9{width:2.25rem}.w-\[160px\]{width:160px}.w-\[18px\]{width:18px}.w-\[20\%\]{width:20%}.w-\[288px\]{width:288px}.w-\[300px\]{width:300px}.w-\[350px\]{width:350px}.w-\[70\%\]{width:70%}.w-\[75\%\]{width:75%}.w-fit{width:-moz-fit-content;width:fit-content}.w-full{width:100%}.min-w-0{min-width:0px}.max-w-\[1240px\]{max-width:1240px}.max-w-\[360px\]{max-width:360px}.max-w-\[392px\]{max-width:392px}.max-w-\[444px\]{max-width:444px}.max-w-\[808px\]{max-width:808px}.max-w-\[828px\]{max-width:828px}.max-w-\[888px\]{max-width:888px}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-\[0_0_100\%\]{flex:0 0 100%}.flex-\[0_0_16px\]{flex:0 0 16px}.flex-\[0_0_19\.80\%\]{flex:0 0 19.8%}.flex-\[0_0_288px\]{flex:0 0 288px}.flex-\[0_0_300px\]{flex:0 0 300px}.flex-\[0_0_34\.65\%\]{flex:0 0 34.65%}.flex-\[0_0_44\%\]{flex:0 0 44%}.flex-\[0_0_45\.54\%\]{flex:0 0 45.54%}.flex-\[0_0_50\%\]{flex:0 0 50%}.flex-\[0_0_70\%\]{flex:0 0 70%}.flex-\[0_0_714px\]{flex:0 0 714px}.flex-\[0_0_80\%\]{flex:0 0 80%}.flex-\[0_0_88px\]{flex:0 0 88px}.flex-\[0_0_90px\]{flex:0 0 90px}.flex-auto{flex:1 1 auto}.shrink-0{flex-shrink:0}.-translate-x-1\/2{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.-translate-y-1\/2{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-x-\[-50\%\]{--tw-translate-x: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-\[-50\%\]{--tw-translate-y: -50%;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes spin{to{transform:rotate(360deg)}}.animate-spin{animation:spin 1s linear infinite}.\!cursor-pointer{cursor:pointer!important}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-decimal{list-style-type:decimal}.list-disc{list-style-type:disc}.grid-cols-1{grid-template-columns:repeat(1,minmax(0,1fr))}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-col-reverse{flex-direction:column-reverse}.place-items-center{place-items:center}.items-start{align-items:flex-start}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0{gap:0px}.gap-1{gap:.25rem}.gap-10{gap:2.5rem}.gap-16{gap:4rem}.gap-2{gap:.5rem}.gap-2\.5{gap:.625rem}.gap-20{gap:5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-5{gap:1.25rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}.space-x-3>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.75rem * var(--tw-space-x-reverse));margin-left:calc(.75rem * calc(1 - var(--tw-space-x-reverse)))}.space-x-5>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(1.25rem * var(--tw-space-x-reverse));margin-left:calc(1.25rem * calc(1 - var(--tw-space-x-reverse)))}.space-y-0>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(0px * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(0px * var(--tw-space-y-reverse))}.space-y-1\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.375rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.375rem * var(--tw-space-y-reverse))}.space-y-2>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.5rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.5rem * var(--tw-space-y-reverse))}.space-y-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(.75rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(.75rem * var(--tw-space-y-reverse))}.space-y-4>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1rem * var(--tw-space-y-reverse))}.space-y-5>:not([hidden])~:not([hidden]){--tw-space-y-reverse: 0;margin-top:calc(1.25rem * calc(1 - var(--tw-space-y-reverse)));margin-bottom:calc(1.25rem * var(--tw-space-y-reverse))}.overflow-hidden{overflow:hidden}.overflow-y-auto{overflow-y:auto}.overflow-x-hidden{overflow-x:hidden}.whitespace-nowrap{white-space:nowrap}.rounded-\[2px\]{border-radius:2px}.rounded-\[8px\]{border-radius:8px}.rounded-full{border-radius:9999px}.rounded-md{border-radius:calc(var(--radius) - 2px)}.rounded-sm{border-radius:calc(var(--radius) - 4px)}.rounded-b-\[2px\]{border-bottom-right-radius:2px;border-bottom-left-radius:2px}.rounded-t-\[2px\]{border-top-left-radius:2px;border-top-right-radius:2px}.rounded-t-\[4px\]{border-top-left-radius:4px;border-top-right-radius:4px}.border{border-width:1px}.border-\[2px\]{border-width:2px}.border-b{border-bottom-width:1px}.border-r{border-right-width:1px}.border-t{border-top-width:1px}.border-\[\#BA1A1A\]{--tw-border-opacity: 1;border-color:rgb(186 26 26 / var(--tw-border-opacity, 1))}.border-on_surface{--tw-border-opacity: 1;border-color:rgb(44 40 40 / var(--tw-border-opacity, 1))}.border-outline{--tw-border-opacity: 1;border-color:rgb(161 167 178 / var(--tw-border-opacity, 1))}.border-outline_v{--tw-border-opacity: 1;border-color:rgb(208 211 216 / var(--tw-border-opacity, 1))}.border-primary{--tw-border-opacity: 1;border-color:rgb(153 16 29 / var(--tw-border-opacity, 1))}.border-primary_outline_reverse{--tw-border-opacity: 1;border-color:rgb(238 101 114 / var(--tw-border-opacity, 1))}.border-slate-500\/20{border-color:#64748b33}.border-white\/50{border-color:#ffffff80}.\!bg-white{--tw-bg-opacity: 1 !important;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))!important}.bg-\[\#2C57A752\]\/\[32\%\]{background-color:#2c57a752}.bg-\[\#D0D3D8\]{--tw-bg-opacity: 1;background-color:rgb(208 211 216 / var(--tw-bg-opacity, 1))}.bg-\[\#E0E6EB\]{--tw-bg-opacity: 1;background-color:rgb(224 230 235 / var(--tw-bg-opacity, 1))}.bg-\[\#FDEDEE\]{--tw-bg-opacity: 1;background-color:rgb(253 237 238 / var(--tw-bg-opacity, 1))}.bg-background{--tw-bg-opacity: 1;background-color:rgb(249 249 250 / var(--tw-bg-opacity, 1))}.bg-black\/80{background-color:#000c}.bg-black\/90{background-color:#000000e6}.bg-primary{--tw-bg-opacity: 1;background-color:rgb(153 16 29 / var(--tw-bg-opacity, 1))}.bg-reverse_primary{--tw-bg-opacity: 1;background-color:rgb(246 178 184 / var(--tw-bg-opacity, 1))}.bg-secondary_container{--tw-bg-opacity: 1;background-color:rgb(221 203 205 / var(--tw-bg-opacity, 1))}.bg-surface_container{--tw-bg-opacity: 1;background-color:rgb(238 237 244 / var(--tw-bg-opacity, 1))}.bg-surface_high{--tw-bg-opacity: 1;background-color:rgb(232 231 239 / var(--tw-bg-opacity, 1))}.bg-teritary{--tw-bg-opacity: 1;background-color:rgb(241 112 13 / var(--tw-bg-opacity, 1))}.bg-teritary_08{--tw-bg-opacity: 1;background-color:rgb(212 132 0 / var(--tw-bg-opacity, 1))}.bg-transparent{background-color:transparent}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity, 1))}.bg-opacity-0{--tw-bg-opacity: 0}.bg-\[url\(\'\/CTA\.png\'\)\]{background-image:url(/CTA.png)}.bg-\[url\(\'\/impressions-bg\.png\'\)\]{background-image:url(/impressions-bg.png)}.bg-\[url\(\'\/impressions\/card-bg\.png\'\)\]{background-image:url(/impressions/card-bg.png)}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-gradient-to-t{background-image:linear-gradient(to top,var(--tw-gradient-stops))}.from-\[\#F1700D\]{--tw-gradient-from: #F1700D var(--tw-gradient-from-position);--tw-gradient-to: rgb(241 112 13 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-primary{--tw-gradient-from: #99101D var(--tw-gradient-from-position);--tw-gradient-to: rgb(153 16 29 / 0) var(--tw-gradient-to-position);--tw-gradient-stops: var(--tw-gradient-from), var(--tw-gradient-to)}.from-25\%{--tw-gradient-from-position: 25%}.to-\[\#F38835\]{--tw-gradient-to: #F38835 var(--tw-gradient-to-position)}.to-primary\/20{--tw-gradient-to: rgb(153 16 29 / .2) var(--tw-gradient-to-position)}.bg-clip-text{-webkit-background-clip:text;background-clip:text}.bg-no-repeat{background-repeat:no-repeat}.object-contain{-o-object-fit:contain;object-fit:contain}.object-cover{-o-object-fit:cover;object-fit:cover}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.px-0{padding-left:0;padding-right:0}.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}.px-4{padding-left:1rem;padding-right:1rem}.px-5{padding-left:1.25rem;padding-right:1.25rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}.px-8{padding-left:2rem;padding-right:2rem}.py-0{padding-top:0;padding-bottom:0}.py-1{padding-top:.25rem;padding-bottom:.25rem}.py-10{padding-top:2.5rem;padding-bottom:2.5rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-20{padding-top:5rem;padding-bottom:5rem}.py-32{padding-top:8rem;padding-bottom:8rem}.py-4{padding-top:1rem;padding-bottom:1rem}.py-5{padding-top:1.25rem;padding-bottom:1.25rem}.py-8{padding-top:2rem;padding-bottom:2rem}.py-\[200px\]{padding-top:200px;padding-bottom:200px}.pb-20{padding-bottom:5rem}.pb-40{padding-bottom:10rem}.pb-\[120px\]{padding-bottom:120px}.pl-4{padding-left:1rem}.pl-8{padding-left:2rem}.pt-10{padding-top:2.5rem}.pt-16{padding-top:4rem}.pt-20{padding-top:5rem}.pt-6{padding-top:1.5rem}.\!text-left{text-align:left!important}.text-left{text-align:left}.text-center{text-align:center}.text-2xl{font-size:1.5rem;line-height:2rem}.text-3xl{font-size:1.875rem;line-height:2.25rem}.text-5xl{font-size:3rem;line-height:1}.text-\[0\.8rem\]{font-size:.8rem}.text-\[18px\]{font-size:18px}.text-\[20px\]{font-size:20px}.text-\[32px\]{font-size:32px}.text-base{font-size:1rem;line-height:1.5rem}.text-lg{font-size:1.125rem;line-height:1.75rem}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.text-xs{font-size:.75rem;line-height:1rem}.font-bold{font-weight:700}.font-medium{font-weight:500}.font-semibold{font-weight:600}.not-italic{font-style:normal}.leading-10{line-height:2.5rem}.leading-\[120\%\]{line-height:120%}.leading-\[130\%\]{line-height:130%}.leading-\[140\%\]{line-height:140%}.leading-none{line-height:1}.tracking-tight{letter-spacing:-.025em}.\!text-on_primary{--tw-text-opacity: 1 !important;color:rgb(255 255 255 / var(--tw-text-opacity, 1))!important}.\!text-on_surface{--tw-text-opacity: 1 !important;color:rgb(44 40 40 / var(--tw-text-opacity, 1))!important}.text-\[\#171717\]{--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity, 1))}.text-\[\#454545\]{--tw-text-opacity: 1;color:rgb(69 69 69 / var(--tw-text-opacity, 1))}.text-\[\#BA1A1A\]{--tw-text-opacity: 1;color:rgb(186 26 26 / var(--tw-text-opacity, 1))}.text-\[\#FAD8DB\]{--tw-text-opacity: 1;color:rgb(250 216 219 / var(--tw-text-opacity, 1))}.text-black{--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity, 1))}.text-gray-500{--tw-text-opacity: 1;color:rgb(107 114 128 / var(--tw-text-opacity, 1))}.text-on_primary{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-on_secondary_container{--tw-text-opacity: 1;color:rgb(29 38 55 / var(--tw-text-opacity, 1))}.text-on_surface{--tw-text-opacity: 1;color:rgb(44 40 40 / var(--tw-text-opacity, 1))}.text-on_surface_v{--tw-text-opacity: 1;color:rgb(111 100 102 / var(--tw-text-opacity, 1))}.text-on_teritary{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.text-primary{--tw-text-opacity: 1;color:rgb(153 16 29 / var(--tw-text-opacity, 1))}.text-primary_03{--tw-text-opacity: 1;color:rgb(246 178 184 / var(--tw-text-opacity, 1))}.text-red-600{--tw-text-opacity: 1;color:rgb(220 38 38 / var(--tw-text-opacity, 1))}.text-teritary_04{--tw-text-opacity: 1;color:rgb(255 206 127 / var(--tw-text-opacity, 1))}.text-transparent{color:transparent}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity, 1))}.opacity-0{opacity:0}.opacity-100{opacity:1}.opacity-20{opacity:.2}.opacity-70{opacity:.7}.shadow{--tw-shadow: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--tw-shadow-colored: 0 1px 3px 0 var(--tw-shadow-color), 0 1px 2px -1px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-md{--tw-shadow: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--tw-shadow-colored: 0 4px 6px -1px var(--tw-shadow-color), 0 2px 4px -2px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-sm{--tw-shadow: 0 1px 2px 0 rgb(0 0 0 / .05);--tw-shadow-colored: 0 1px 2px 0 var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-xl{--tw-shadow: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--tw-shadow-colored: 0 20px 25px -5px var(--tw-shadow-color), 0 8px 10px -6px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.outline-none{outline:2px solid transparent;outline-offset:2px}.outline{outline-style:solid}.ring-offset-background{--tw-ring-offset-color: #F9F9FA}.drop-shadow-md{--tw-drop-shadow: drop-shadow(0 4px 3px rgb(0 0 0 / .07)) drop-shadow(0 2px 2px rgb(0 0 0 / .06));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.drop-shadow-sm{--tw-drop-shadow: drop-shadow(0 1px 1px rgb(0 0 0 / .05));filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-all{transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-opacity{transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.duration-200{transition-duration:.2s}.duration-300{transition-duration:.3s}.duration-500{transition-duration:.5s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}@keyframes enter{0%{opacity:var(--tw-enter-opacity, 1);transform:translate3d(var(--tw-enter-translate-x, 0),var(--tw-enter-translate-y, 0),0) scale3d(var(--tw-enter-scale, 1),var(--tw-enter-scale, 1),var(--tw-enter-scale, 1)) rotate(var(--tw-enter-rotate, 0))}}@keyframes exit{to{opacity:var(--tw-exit-opacity, 1);transform:translate3d(var(--tw-exit-translate-x, 0),var(--tw-exit-translate-y, 0),0) scale3d(var(--tw-exit-scale, 1),var(--tw-exit-scale, 1),var(--tw-exit-scale, 1)) rotate(var(--tw-exit-rotate, 0))}}.duration-200{animation-duration:.2s}.duration-300{animation-duration:.3s}.duration-500{animation-duration:.5s}.ease-in-out{animation-timing-function:cubic-bezier(.4,0,.2,1)}.container{margin-left:auto;margin-right:auto;width:100%;max-width:1240px;padding-left:1rem;padding-right:1rem}.normal{font-family:Gilroy-Regular;font-weight:400}.semibold{font-family:Gilroy-Semibold;font-weight:600}.black{font-family:Gilroy-Black}.h1{font-size:28px;font-weight:500;line-height:130%}.h2{font-size:24px;--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.h2{font-size:32px}}.p{font-size:1rem;line-height:1.5rem;--tw-text-opacity: 1;color:rgb(111 100 102 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.p{font-size:1.125rem;line-height:1.75rem}}.text-18{font-size:1.125rem;line-height:1.75rem;--tw-text-opacity: 1;color:rgb(111 100 102 / var(--tw-text-opacity, 1));font-family:Gilroy-Regular;font-weight:400}.dot{height:.25rem;width:1.25rem;cursor:pointer;border-radius:2px;--tw-bg-opacity: 1;background-color:rgb(111 100 102 / var(--tw-bg-opacity, 1))}.dot-active{height:.25rem;width:1.25rem;border-radius:2px;--tw-bg-opacity: 1;background-color:rgb(44 40 40 / var(--tw-bg-opacity, 1))}.nav-btn{display:flex;width:3rem;height:3rem;align-items:center;justify-content:center;border-radius:9999px;--tw-bg-opacity: 1;background-color:rgb(217 217 217 / var(--tw-bg-opacity, 1))}.news-inner img{height:300px;-o-object-fit:cover;object-fit:cover}@media (min-width: 768px){.news-inner img{height:500px}}.news-inner a{--tw-text-opacity: 1;color:rgb(153 16 29 / var(--tw-text-opacity, 1));text-decoration-line:underline}.page-padding{padding-top:2.5rem;padding-bottom:5rem}@media (min-width: 768px){.page-padding{padding-top:5rem;padding-bottom:120px}}.progress-circle{z-index:10;width:3.5rem;height:3.5rem;border-radius:9999px;font-size:1.5rem;line-height:2rem;--tw-text-opacity: 1;color:rgb(95 102 116 / var(--tw-text-opacity, 1))}.input{display:flex;height:3.5rem;border-radius:2px;border-width:1px;background-color:transparent;padding:1rem;font-size:1rem;line-height:1.5rem;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(161 167 178 / var(--tw-ring-opacity, 1));transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s;font-family:Gilroy-Regular;font-weight:400}.input::file-selector-button{width:-moz-fit-content;width:fit-content;border-width:0px;--tw-bg-opacity: 1;background-color:rgb(221 203 205 / var(--tw-bg-opacity, 1));font-size:.875rem;line-height:1.25rem;font-weight:500;--tw-text-opacity: 1;color:rgb(29 38 55 / var(--tw-text-opacity, 1));outline:2px solid transparent;outline-offset:2px}.input:hover{--tw-ring-opacity: 1;--tw-ring-color: rgb(44 40 40 / var(--tw-ring-opacity, 1))}.input:focus{outline:2px solid transparent;outline-offset:2px;--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000);--tw-ring-opacity: 1;--tw-ring-color: rgb(153 16 29 / var(--tw-ring-opacity, 1))}.input:focus-visible{outline:2px solid transparent;outline-offset:2px}.input:disabled{cursor:not-allowed;opacity:.5}.file\:w-fit::file-selector-button{width:-moz-fit-content;width:fit-content}.file\:border-0::file-selector-button{border-width:0px}.file\:bg-secondary_container::file-selector-button{--tw-bg-opacity: 1;background-color:rgb(221 203 205 / var(--tw-bg-opacity, 1))}.file\:text-sm::file-selector-button{font-size:.875rem;line-height:1.25rem}.file\:font-medium::file-selector-button{font-weight:500}.file\:text-on_secondary_container::file-selector-button{--tw-text-opacity: 1;color:rgb(29 38 55 / var(--tw-text-opacity, 1))}.file\:outline-none::file-selector-button{outline:2px solid transparent;outline-offset:2px}.before\:absolute:before{content:var(--tw-content);position:absolute}.before\:-left-3:before{content:var(--tw-content);left:-.75rem}.before\:-top-3:before{content:var(--tw-content);top:-.75rem}.before\:size-10:before{content:var(--tw-content);width:2.5rem;height:2.5rem}.before\:scale-0:before{content:var(--tw-content);--tw-scale-x: 0;--tw-scale-y: 0;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.before\:rounded-full:before{content:var(--tw-content);border-radius:9999px}.before\:bg-on_surface\/\[8\%\]:before{content:var(--tw-content);background-color:#2c282814}.before\:transition-all:before{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.after\:absolute:after{content:var(--tw-content);position:absolute}.after\:bottom-0:after{content:var(--tw-content);bottom:0}.after\:left-0:after{content:var(--tw-content);left:0}.after\:size-\[9px\]:after{content:var(--tw-content);width:9px;height:9px}.after\:h-0\.5:after{content:var(--tw-content);height:.125rem}.after\:w-full:after{content:var(--tw-content);width:100%}.after\:rounded:after{content:var(--tw-content);border-radius:.25rem}.after\:rounded-full:after{content:var(--tw-content);border-radius:9999px}.after\:bg-primary:after{content:var(--tw-content);--tw-bg-opacity: 1;background-color:rgb(153 16 29 / var(--tw-bg-opacity, 1))}.after\:bg-opacity-0:after{content:var(--tw-content);--tw-bg-opacity: 0}.after\:opacity-0:after{content:var(--tw-content);opacity:0}.after\:opacity-100:after{content:var(--tw-content);opacity:1}.after\:transition-all:after{content:var(--tw-content);transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.hover\:scale-105:hover{--tw-scale-x: 1.05;--tw-scale-y: 1.05;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\:border-on_surface:hover{--tw-border-opacity: 1;border-color:rgb(44 40 40 / var(--tw-border-opacity, 1))}.hover\:border-white:hover{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.hover\:bg-primary\/90:hover{background-color:#99101de6}.hover\:bg-reverse_primary\/90:hover{background-color:#f6b2b8e6}.hover\:bg-secondary_container\/80:hover{background-color:#ddcbcdcc}.hover\:bg-slate-300\/50:hover{background-color:#cbd5e180}.hover\:bg-teritary\/90:hover{background-color:#f1700de6}.hover\:bg-teritary_surface_container:hover{--tw-bg-opacity: 1;background-color:rgb(255 243 224 / var(--tw-bg-opacity, 1))}.hover\:bg-white\/90:hover{background-color:#ffffffe6}.hover\:opacity-100:hover{opacity:1}.hover\:before\:scale-100:hover:before{content:var(--tw-content);--tw-scale-x: 1;--tw-scale-y: 1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.focus\:border-\[3px\]:focus{border-width:3px}.focus\:border-primary:focus{--tw-border-opacity: 1;border-color:rgb(153 16 29 / var(--tw-border-opacity, 1))}.focus\:border-white:focus{--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity, 1))}.focus\:outline-none:focus{outline:2px solid transparent;outline-offset:2px}.focus-visible\:outline-none:focus-visible{outline:2px solid transparent;outline-offset:2px}.focus-visible\:ring-1:focus-visible{--tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow, 0 0 #0000)}.disabled\:pointer-events-none:disabled{pointer-events:none}.disabled\:cursor-not-allowed:disabled{cursor:not-allowed}.disabled\:opacity-50:disabled{opacity:.5}.group:hover .group-hover\:scale-125{--tw-scale-x: 1.25;--tw-scale-y: 1.25;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.peer:disabled~.peer-disabled\:cursor-not-allowed{cursor:not-allowed}.peer:disabled~.peer-disabled\:opacity-70{opacity:.7}.data-\[state\=open\]\:bg-secondary[data-state=open]{--tw-bg-opacity: 1;background-color:rgb(73 95 137 / var(--tw-bg-opacity, 1))}.data-\[state\=closed\]\:duration-300[data-state=closed]{transition-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{transition-duration:.5s}.data-\[state\=open\]\:animate-in[data-state=open]{animation-name:enter;animation-duration:.15s;--tw-enter-opacity: initial;--tw-enter-scale: initial;--tw-enter-rotate: initial;--tw-enter-translate-x: initial;--tw-enter-translate-y: initial}.data-\[state\=closed\]\:animate-out[data-state=closed]{animation-name:exit;animation-duration:.15s;--tw-exit-opacity: initial;--tw-exit-scale: initial;--tw-exit-rotate: initial;--tw-exit-translate-x: initial;--tw-exit-translate-y: initial}.data-\[state\=closed\]\:fade-out-0[data-state=closed]{--tw-exit-opacity: 0}.data-\[state\=open\]\:fade-in-0[data-state=open]{--tw-enter-opacity: 0}.data-\[state\=closed\]\:zoom-out-95[data-state=closed]{--tw-exit-scale: .95}.data-\[state\=open\]\:zoom-in-95[data-state=open]{--tw-enter-scale: .95}.data-\[side\=bottom\]\:slide-in-from-top-2[data-side=bottom]{--tw-enter-translate-y: -.5rem}.data-\[side\=left\]\:slide-in-from-right-2[data-side=left]{--tw-enter-translate-x: .5rem}.data-\[side\=right\]\:slide-in-from-left-2[data-side=right]{--tw-enter-translate-x: -.5rem}.data-\[side\=top\]\:slide-in-from-bottom-2[data-side=top]{--tw-enter-translate-y: .5rem}.data-\[state\=closed\]\:slide-out-to-bottom[data-state=closed]{--tw-exit-translate-y: 100%}.data-\[state\=closed\]\:slide-out-to-left[data-state=closed]{--tw-exit-translate-x: -100%}.data-\[state\=closed\]\:slide-out-to-left-1\/2[data-state=closed]{--tw-exit-translate-x: -50%}.data-\[state\=closed\]\:slide-out-to-right[data-state=closed]{--tw-exit-translate-x: 100%}.data-\[state\=closed\]\:slide-out-to-top[data-state=closed]{--tw-exit-translate-y: -100%}.data-\[state\=closed\]\:slide-out-to-top-\[48\%\][data-state=closed]{--tw-exit-translate-y: -48%}.data-\[state\=open\]\:slide-in-from-bottom[data-state=open]{--tw-enter-translate-y: 100%}.data-\[state\=open\]\:slide-in-from-left[data-state=open]{--tw-enter-translate-x: -100%}.data-\[state\=open\]\:slide-in-from-left-1\/2[data-state=open]{--tw-enter-translate-x: -50%}.data-\[state\=open\]\:slide-in-from-right[data-state=open]{--tw-enter-translate-x: 100%}.data-\[state\=open\]\:slide-in-from-top[data-state=open]{--tw-enter-translate-y: -100%}.data-\[state\=open\]\:slide-in-from-top-\[48\%\][data-state=open]{--tw-enter-translate-y: -48%}.data-\[state\=closed\]\:duration-300[data-state=closed]{animation-duration:.3s}.data-\[state\=open\]\:duration-500[data-state=open]{animation-duration:.5s}@media (min-width: 640px){.sm\:bottom-12{bottom:3rem}.sm\:flex{display:flex}.sm\:size-\[128px\]{width:128px;height:128px}.sm\:h-14{height:3.5rem}.sm\:h-\[350px\]{height:350px}.sm\:max-w-sm{max-width:24rem}.sm\:flex-\[0_0_128px\]{flex:0 0 128px}.sm\:flex-\[0_0_600px\]{flex:0 0 600px}.sm\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sm\:flex-row{flex-direction:row}.sm\:justify-end{justify-content:flex-end}.sm\:space-x-2>:not([hidden])~:not([hidden]){--tw-space-x-reverse: 0;margin-right:calc(.5rem * var(--tw-space-x-reverse));margin-left:calc(.5rem * calc(1 - var(--tw-space-x-reverse)))}.sm\:rounded-lg{border-radius:var(--radius)}.sm\:p-0{padding:0}.sm\:text-left{text-align:left}.sm\:text-5xl{font-size:3rem;line-height:1}.sm\:text-lg{font-size:1.125rem;line-height:1.75rem}}@media (min-width: 768px){.md\:left-1\/2{left:50%}.md\:mx-auto{margin-left:auto;margin-right:auto}.md\:my-20{margin-top:5rem;margin-bottom:5rem}.md\:mb-20{margin-bottom:5rem}.md\:mb-8{margin-bottom:2rem}.md\:mb-\[120px\]{margin-bottom:120px}.md\:ml-1{margin-left:.25rem}.md\:mt-20{margin-top:5rem}.md\:mt-6{margin-top:1.5rem}.md\:block{display:block}.md\:flex{display:flex}.md\:hidden{display:none}.md\:size-20{width:5rem;height:5rem}.md\:size-\[84px\]{width:84px;height:84px}.md\:size-auto{width:auto;height:auto}.md\:h-\[216px\]{height:216px}.md\:h-\[224px\]{height:224px}.md\:h-\[38px\]{height:38px}.md\:h-\[400px\]{height:400px}.md\:h-\[480px\]{height:480px}.md\:h-\[500px\]{height:500px}.md\:w-1{width:.25rem}.md\:w-fit{width:-moz-fit-content;width:fit-content}.md\:w-full{width:100%}.md\:grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.md\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.md\:flex-row{flex-direction:row}.md\:items-end{align-items:flex-end}.md\:justify-between{justify-content:space-between}.md\:gap-10{gap:2.5rem}.md\:gap-6{gap:1.5rem}.md\:p-10{padding:2.5rem}.md\:p-6{padding:1.5rem}.md\:px-6{padding-left:1.5rem;padding-right:1.5rem}.md\:px-8{padding-left:2rem;padding-right:2rem}.md\:py-20{padding-top:5rem;padding-bottom:5rem}.md\:py-6{padding-top:1.5rem;padding-bottom:1.5rem}.md\:pb-\[120px\]{padding-bottom:120px}.md\:pt-10{padding-top:2.5rem}.md\:pt-20{padding-top:5rem}.md\:text-2xl{font-size:1.5rem;line-height:2rem}.md\:text-3xl{font-size:1.875rem;line-height:2.25rem}.md\:text-5xl{font-size:3rem;line-height:1}.md\:text-\[32px\]{font-size:32px}.md\:text-base{font-size:1rem;line-height:1.5rem}.md\:text-lg{font-size:1.125rem;line-height:1.75rem}.md\:text-sm{font-size:.875rem;line-height:1.25rem}.md\:text-xl{font-size:1.25rem;line-height:1.75rem}}@media (min-width: 1024px){.lg\:right-\[15\%\]{right:15%}.lg\:mb-8{margin-bottom:2rem}.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:h-\[600px\]{height:600px}.lg\:h-\[700px\]{height:700px}.lg\:h-\[88px\]{height:88px}.lg\:max-h-\[600px\]{max-height:600px}.lg\:min-h-\[320px\]{min-height:320px}.lg\:w-1\/2{width:50%}.lg\:w-\[220px\]{width:220px}.lg\:w-\[320px\]{width:320px}.lg\:grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.lg\:grid-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}.lg\:flex-row{flex-direction:row}.lg\:items-center{align-items:center}.lg\:gap-12{gap:3rem}.lg\:gap-6{gap:1.5rem}.lg\:gap-x-6{-moz-column-gap:1.5rem;column-gap:1.5rem}.lg\:gap-y-4{row-gap:1rem}.lg\:px-28{padding-left:7rem;padding-right:7rem}.lg\:px-\[20\%\]{padding-left:20%;padding-right:20%}}@media (min-width: 1280px){.xl\:right-\[13\%\]{right:13%}.xl\:mb-8{margin-bottom:2rem}.xl\:mr-20{margin-right:5rem}.xl\:hidden{display:none}.xl\:w-\[288px\]{width:288px}.xl\:w-\[392px\]{width:392px}.xl\:w-\[450px\]{width:450px}}@media (min-width: 1536px){.\32xl\:right-\[10\%\]{right:10%}.\32xl\:w-\[40\%\]{width:40%}.\32xl\:w-\[600px\]{width:600px}}.\[\&_svg\]\:pointer-events-none svg{pointer-events:none}.\[\&_svg\]\:size-4 svg{width:1rem;height:1rem}.\[\&_svg\]\:shrink-0 svg{flex-shrink:0} diff --git a/dist/assets/ui-library-C22sud8w.js b/dist/assets/ui-library-fl7SR1OO.js similarity index 59% rename from dist/assets/ui-library-C22sud8w.js rename to dist/assets/ui-library-fl7SR1OO.js index ba57218..0ea211e 100644 --- a/dist/assets/ui-library-C22sud8w.js +++ b/dist/assets/ui-library-fl7SR1OO.js @@ -1,4 +1,4 @@ -var vu=e=>{throw TypeError(e)};var ra=(e,t,n)=>t.has(e)||vu("Cannot "+n);var C=(e,t,n)=>(ra(e,t,"read from private field"),n?n.call(e):t.get(e)),ne=(e,t,n)=>t.has(e)?vu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,s)=>(ra(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n),he=(e,t,n)=>(ra(e,t,"access private method"),n);var Ni=(e,t,n,s)=>({set _(r){K(e,t,r,n)},get _(){return C(e,t,s)}});import{r as nv,a as x,R as sv,b as fh,c as rv,L as Ce,d as ji,e as ve}from"./react-vendor-Y0eyvj1J.js";var ia={exports:{}},xr={};/** +var xu=e=>{throw TypeError(e)};var ra=(e,t,n)=>t.has(e)||xu("Cannot "+n);var C=(e,t,n)=>(ra(e,t,"read from private field"),n?n.call(e):t.get(e)),ne=(e,t,n)=>t.has(e)?xu("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),K=(e,t,n,s)=>(ra(e,t,"write to private field"),s?s.call(e,n):t.set(e,n),n),he=(e,t,n)=>(ra(e,t,"access private method"),n);var ki=(e,t,n,s)=>({set _(r){K(e,t,r,n)},get _(){return C(e,t,s)}});import{r as ov,a as x,R as av,b as hh,c as cv,L as Ce,d as ji,e as ve}from"./react-vendor-Y0eyvj1J.js";var ia={exports:{}},xr={};/** * @license React * react-jsx-runtime.production.min.js * @@ -6,8 +6,8 @@ var vu=e=>{throw TypeError(e)};var ra=(e,t,n)=>t.has(e)||vu("Cannot "+n);var C=( * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var xu;function iv(){if(xu)return xr;xu=1;var e=nv(),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,g=null;l!==void 0&&(f=""+l),c.key!==void 0&&(f=""+c.key),c.ref!==void 0&&(g=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:g,props:d,_owner:r.current}}return xr.Fragment=n,xr.jsx=o,xr.jsxs=o,xr}var bu;function ov(){return bu||(bu=1,ia.exports=iv()),ia.exports}var h=ov();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 wu(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function hh(...e){return t=>{let n=!1;const s=e.map(r=>{const i=wu(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 h.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 $c(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:g,...m}=d,p=((v=f==null?void 0:f[e])==null?void 0:v[c])||a,y=x.useMemo(()=>m,Object.values(m));return h.jsx(p.Provider,{value:y,children:g})};l.displayName=i+"Provider";function u(d,f){var p;const g=((p=f==null?void 0:f[e])==null?void 0:p[c])||a,m=x.useContext(g);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,cv(r,...t)]}function cv(...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 hs=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},lv=sv.useId||(()=>{}),uv=0;function qi(e){const[t,n]=x.useState(lv());return hs(()=>{n(s=>s??String(uv++))},[e]),t?`radix-${t}`:""}function Dn(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 ph({prop:e,defaultProp:t,onChange:n=()=>{}}){const[s,r]=dv({defaultProp:t,onChange:n}),i=e!==void 0,o=i?e:s,a=Dn(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 dv({defaultProp:e,onChange:t}){const n=x.useState(e),[s]=n,r=x.useRef(s),i=Dn(t);return x.useEffect(()=>{r.current!==s&&(i(s),r.current=s)},[s,r,i]),n}var cr=x.forwardRef((e,t)=>{const{children:n,...s}=e,r=x.Children.toArray(n),i=r.find(hv);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 h.jsx(Va,{...s,ref:t,children:x.isValidElement(o)?x.cloneElement(o,void 0,a):null})}return h.jsx(Va,{...s,ref:t,children:n})});cr.displayName="Slot";var Va=x.forwardRef((e,t)=>{const{children:n,...s}=e;if(x.isValidElement(n)){const r=mv(n);return x.cloneElement(n,{...pv(s,n.props),ref:t?hh(t,r):r})}return x.Children.count(n)>1?x.Children.only(null):null});Va.displayName="SlotClone";var fv=({children:e})=>h.jsx(h.Fragment,{children:e});function hv(e){return x.isValidElement(e)&&e.type===fv}function pv(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 mv(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 gv=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],ot=gv.reduce((e,t)=>{const n=x.forwardRef((s,r)=>{const{asChild:i,...o}=s,a=i?cr:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(a,{...o,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function yv(e,t){e&&fh.flushSync(()=>e.dispatchEvent(t))}function vv(e,t=globalThis==null?void 0:globalThis.document){const n=Dn(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 xv="DismissableLayer",Ba="dismissableLayer.update",bv="dismissableLayer.pointerDownOutside",wv="dismissableLayer.focusOutside",Su,mh=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),zc=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:s,onPointerDownOutside:r,onFocusOutside:i,onInteractOutside:o,onDismiss:a,...c}=e,l=x.useContext(mh),[u,d]=x.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=x.useState({}),m=Bt(t,P=>d(P)),p=Array.from(l.layers),[y]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),v=p.indexOf(y),b=u?p.indexOf(u):-1,w=l.layersWithOutsidePointerEventsDisabled.size>0,T=b>=v,S=Tv(P=>{const E=P.target,j=[...l.branches].some(D=>D.contains(E));!T||j||(r==null||r(P),o==null||o(P),P.defaultPrevented||a==null||a())},f),A=Cv(P=>{const E=P.target;[...l.branches].some(D=>D.contains(E))||(i==null||i(P),o==null||o(P),P.defaultPrevented||a==null||a())},f);return vv(P=>{b===l.layers.size-1&&(s==null||s(P),!P.defaultPrevented&&a&&(P.preventDefault(),a()))},f),x.useEffect(()=>{if(u)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(Su=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(u)),l.layers.add(u),_u(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=Su)}},[u,f,n,l]),x.useEffect(()=>()=>{u&&(l.layers.delete(u),l.layersWithOutsidePointerEventsDisabled.delete(u),_u())},[u,l]),x.useEffect(()=>{const P=()=>g({});return document.addEventListener(Ba,P),()=>document.removeEventListener(Ba,P)},[]),h.jsx(ot.div,{...c,ref:m,style:{pointerEvents:w?T?"auto":"none":void 0,...e.style},onFocusCapture:mt(e.onFocusCapture,A.onFocusCapture),onBlurCapture:mt(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:mt(e.onPointerDownCapture,S.onPointerDownCapture)})});zc.displayName=xv;var Sv="DismissableLayerBranch",_v=x.forwardRef((e,t)=>{const n=x.useContext(mh),s=x.useRef(null),r=Bt(t,s);return x.useEffect(()=>{const i=s.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),h.jsx(ot.div,{...e,ref:r})});_v.displayName=Sv;function Tv(e,t=globalThis==null?void 0:globalThis.document){const n=Dn(e),s=x.useRef(!1),r=x.useRef(()=>{});return x.useEffect(()=>{const i=a=>{if(a.target&&!s.current){let c=function(){gh(bv,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 Cv(e,t=globalThis==null?void 0:globalThis.document){const n=Dn(e),s=x.useRef(!1);return x.useEffect(()=>{const r=i=>{i.target&&!s.current&&gh(wv,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 _u(){const e=new CustomEvent(Ba);document.dispatchEvent(e)}function gh(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?yv(r,i):r.dispatchEvent(i)}var oa="focusScope.autoFocusOnMount",aa="focusScope.autoFocusOnUnmount",Tu={bubbles:!1,cancelable:!0},Ev="FocusScope",Wc=x.forwardRef((e,t)=>{const{loop:n=!1,trapped:s=!1,onMountAutoFocus:r,onUnmountAutoFocus:i,...o}=e,[a,c]=x.useState(null),l=Dn(r),u=Dn(i),d=x.useRef(null),f=Bt(t,p=>c(p)),g=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(s){let p=function(w){if(g.paused||!a)return;const T=w.target;a.contains(T)?d.current=T:_n(d.current,{select:!0})},y=function(w){if(g.paused||!a)return;const T=w.relatedTarget;T!==null&&(a.contains(T)||_n(d.current,{select:!0}))},v=function(w){if(document.activeElement===document.body)for(const S of w)S.removedNodes.length>0&&_n(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",y);const b=new MutationObserver(v);return a&&b.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",y),b.disconnect()}}},[s,a,g.paused]),x.useEffect(()=>{if(a){Eu.add(g);const p=document.activeElement;if(!a.contains(p)){const v=new CustomEvent(oa,Tu);a.addEventListener(oa,l),a.dispatchEvent(v),v.defaultPrevented||(Av(jv(yh(a)),{select:!0}),document.activeElement===p&&_n(a))}return()=>{a.removeEventListener(oa,l),setTimeout(()=>{const v=new CustomEvent(aa,Tu);a.addEventListener(aa,u),a.dispatchEvent(v),v.defaultPrevented||_n(p??document.body,{select:!0}),a.removeEventListener(aa,u),Eu.remove(g)},0)}}},[a,l,u,g]);const m=x.useCallback(p=>{if(!n&&!s||g.paused)return;const y=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,v=document.activeElement;if(y&&v){const b=p.currentTarget,[w,T]=Pv(b);w&&T?!p.shiftKey&&v===T?(p.preventDefault(),n&&_n(w,{select:!0})):p.shiftKey&&v===w&&(p.preventDefault(),n&&_n(T,{select:!0})):v===b&&p.preventDefault()}},[n,s,g.paused]);return h.jsx(ot.div,{tabIndex:-1,...o,ref:f,onKeyDown:m})});Wc.displayName=Ev;function Av(e,{select:t=!1}={}){const n=document.activeElement;for(const s of e)if(_n(s,{select:t}),document.activeElement!==n)return}function Pv(e){const t=yh(e),n=Cu(t,e),s=Cu(t.reverse(),e);return[n,s]}function yh(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 Cu(e,t){for(const n of e)if(!Rv(n,{upTo:t}))return n}function Rv(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 kv(e){return e instanceof HTMLInputElement&&"select"in e}function _n(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&kv(e)&&t&&e.select()}}var Eu=Nv();function Nv(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Au(e,t),e.unshift(t)},remove(t){var n;e=Au(e,t),(n=e[0])==null||n.resume()}}}function Au(e,t){const n=[...e],s=n.indexOf(t);return s!==-1&&n.splice(s,1),n}function jv(e){return e.filter(t=>t.tagName!=="A")}var Ov="Portal",Hc=x.forwardRef((e,t)=>{var a;const{container:n,...s}=e,[r,i]=x.useState(!1);hs(()=>i(!0),[]);const o=n||r&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?rv.createPortal(h.jsx(ot.div,{...s,ref:t}),o):null});Hc.displayName=Ov;function Dv(e,t){return x.useReducer((n,s)=>t[n][s]??n,e)}var lr=e=>{const{present:t,children:n}=e,s=Mv(t),r=typeof n=="function"?n({present:s.isPresent}):x.Children.only(n),i=Bt(s.ref,Fv(r));return typeof n=="function"||s.isPresent?x.cloneElement(r,{ref:i}):null};lr.displayName="Presence";function Mv(e){const[t,n]=x.useState(),s=x.useRef({}),r=x.useRef(e),i=x.useRef("none"),o=e?"mounted":"unmounted",[a,c]=Dv(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]),hs(()=>{const l=s.current,u=r.current;if(u!==e){const f=i.current,g=Oi(l);e?c("MOUNT"):g==="none"||(l==null?void 0:l.display)==="none"?c("UNMOUNT"):c(u&&f!==g?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,c]),hs(()=>{if(t){let l;const u=t.ownerDocument.defaultView??window,d=g=>{const p=Oi(s.current).includes(g.animationName);if(g.target===t&&p&&(c("ANIMATION_END"),!r.current)){const y=t.style.animationFillMode;t.style.animationFillMode="forwards",l=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},f=g=>{g.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 Fv(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 ca=0;function vh(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Pu()),document.body.insertAdjacentElement("beforeend",e[1]??Pu()),ca++,()=>{ca===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ca--}},[])}function Pu(){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 Qt=function(){return Qt=Object.assign||function(t){for(var n,s=1,r=arguments.length;s"u")return Jv;var t=ex(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])}},nx=Sh(),Fs="data-scroll-locked",sx=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(Iv,` { + */var bu;function lv(){if(bu)return xr;bu=1;var e=ov(),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,g=null;l!==void 0&&(f=""+l),c.key!==void 0&&(f=""+c.key),c.ref!==void 0&&(g=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:g,props:d,_owner:r.current}}return xr.Fragment=n,xr.jsx=o,xr.jsxs=o,xr}var wu;function uv(){return wu||(wu=1,ia.exports=lv()),ia.exports}var h=uv();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 Su(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function ph(...e){return t=>{let n=!1;const s=e.map(r=>{const i=Su(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 h.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 $c(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:g,...m}=d,p=((v=f==null?void 0:f[e])==null?void 0:v[c])||a,y=x.useMemo(()=>m,Object.values(m));return h.jsx(p.Provider,{value:y,children:g})};l.displayName=i+"Provider";function u(d,f){var p;const g=((p=f==null?void 0:f[e])==null?void 0:p[c])||a,m=x.useContext(g);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,fv(r,...t)]}function fv(...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 ps=globalThis!=null&&globalThis.document?x.useLayoutEffect:()=>{},hv=av.useId||(()=>{}),pv=0;function qi(e){const[t,n]=x.useState(hv());return ps(()=>{n(s=>s??String(pv++))},[e]),t?`radix-${t}`:""}function Dn(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 mh({prop:e,defaultProp:t,onChange:n=()=>{}}){const[s,r]=mv({defaultProp:t,onChange:n}),i=e!==void 0,o=i?e:s,a=Dn(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 mv({defaultProp:e,onChange:t}){const n=x.useState(e),[s]=n,r=x.useRef(s),i=Dn(t);return x.useEffect(()=>{r.current!==s&&(i(s),r.current=s)},[s,r,i]),n}var cr=x.forwardRef((e,t)=>{const{children:n,...s}=e,r=x.Children.toArray(n),i=r.find(yv);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 h.jsx(Va,{...s,ref:t,children:x.isValidElement(o)?x.cloneElement(o,void 0,a):null})}return h.jsx(Va,{...s,ref:t,children:n})});cr.displayName="Slot";var Va=x.forwardRef((e,t)=>{const{children:n,...s}=e;if(x.isValidElement(n)){const r=xv(n);return x.cloneElement(n,{...vv(s,n.props),ref:t?ph(t,r):r})}return x.Children.count(n)>1?x.Children.only(null):null});Va.displayName="SlotClone";var gv=({children:e})=>h.jsx(h.Fragment,{children:e});function yv(e){return x.isValidElement(e)&&e.type===gv}function vv(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 xv(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 bv=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","span","svg","ul"],at=bv.reduce((e,t)=>{const n=x.forwardRef((s,r)=>{const{asChild:i,...o}=s,a=i?cr:t;return typeof window<"u"&&(window[Symbol.for("radix-ui")]=!0),h.jsx(a,{...o,ref:r})});return n.displayName=`Primitive.${t}`,{...e,[t]:n}},{});function wv(e,t){e&&hh.flushSync(()=>e.dispatchEvent(t))}function Sv(e,t=globalThis==null?void 0:globalThis.document){const n=Dn(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 _v="DismissableLayer",Ba="dismissableLayer.update",Tv="dismissableLayer.pointerDownOutside",Cv="dismissableLayer.focusOutside",_u,gh=x.createContext({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),zc=x.forwardRef((e,t)=>{const{disableOutsidePointerEvents:n=!1,onEscapeKeyDown:s,onPointerDownOutside:r,onFocusOutside:i,onInteractOutside:o,onDismiss:a,...c}=e,l=x.useContext(gh),[u,d]=x.useState(null),f=(u==null?void 0:u.ownerDocument)??(globalThis==null?void 0:globalThis.document),[,g]=x.useState({}),m=Bt(t,P=>d(P)),p=Array.from(l.layers),[y]=[...l.layersWithOutsidePointerEventsDisabled].slice(-1),v=p.indexOf(y),b=u?p.indexOf(u):-1,w=l.layersWithOutsidePointerEventsDisabled.size>0,T=b>=v,S=Pv(P=>{const E=P.target,j=[...l.branches].some(D=>D.contains(E));!T||j||(r==null||r(P),o==null||o(P),P.defaultPrevented||a==null||a())},f),A=Rv(P=>{const E=P.target;[...l.branches].some(D=>D.contains(E))||(i==null||i(P),o==null||o(P),P.defaultPrevented||a==null||a())},f);return Sv(P=>{b===l.layers.size-1&&(s==null||s(P),!P.defaultPrevented&&a&&(P.preventDefault(),a()))},f),x.useEffect(()=>{if(u)return n&&(l.layersWithOutsidePointerEventsDisabled.size===0&&(_u=f.body.style.pointerEvents,f.body.style.pointerEvents="none"),l.layersWithOutsidePointerEventsDisabled.add(u)),l.layers.add(u),Tu(),()=>{n&&l.layersWithOutsidePointerEventsDisabled.size===1&&(f.body.style.pointerEvents=_u)}},[u,f,n,l]),x.useEffect(()=>()=>{u&&(l.layers.delete(u),l.layersWithOutsidePointerEventsDisabled.delete(u),Tu())},[u,l]),x.useEffect(()=>{const P=()=>g({});return document.addEventListener(Ba,P),()=>document.removeEventListener(Ba,P)},[]),h.jsx(at.div,{...c,ref:m,style:{pointerEvents:w?T?"auto":"none":void 0,...e.style},onFocusCapture:mt(e.onFocusCapture,A.onFocusCapture),onBlurCapture:mt(e.onBlurCapture,A.onBlurCapture),onPointerDownCapture:mt(e.onPointerDownCapture,S.onPointerDownCapture)})});zc.displayName=_v;var Ev="DismissableLayerBranch",Av=x.forwardRef((e,t)=>{const n=x.useContext(gh),s=x.useRef(null),r=Bt(t,s);return x.useEffect(()=>{const i=s.current;if(i)return n.branches.add(i),()=>{n.branches.delete(i)}},[n.branches]),h.jsx(at.div,{...e,ref:r})});Av.displayName=Ev;function Pv(e,t=globalThis==null?void 0:globalThis.document){const n=Dn(e),s=x.useRef(!1),r=x.useRef(()=>{});return x.useEffect(()=>{const i=a=>{if(a.target&&!s.current){let c=function(){yh(Tv,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 Rv(e,t=globalThis==null?void 0:globalThis.document){const n=Dn(e),s=x.useRef(!1);return x.useEffect(()=>{const r=i=>{i.target&&!s.current&&yh(Cv,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 Tu(){const e=new CustomEvent(Ba);document.dispatchEvent(e)}function yh(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?wv(r,i):r.dispatchEvent(i)}var oa="focusScope.autoFocusOnMount",aa="focusScope.autoFocusOnUnmount",Cu={bubbles:!1,cancelable:!0},Nv="FocusScope",Wc=x.forwardRef((e,t)=>{const{loop:n=!1,trapped:s=!1,onMountAutoFocus:r,onUnmountAutoFocus:i,...o}=e,[a,c]=x.useState(null),l=Dn(r),u=Dn(i),d=x.useRef(null),f=Bt(t,p=>c(p)),g=x.useRef({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;x.useEffect(()=>{if(s){let p=function(w){if(g.paused||!a)return;const T=w.target;a.contains(T)?d.current=T:_n(d.current,{select:!0})},y=function(w){if(g.paused||!a)return;const T=w.relatedTarget;T!==null&&(a.contains(T)||_n(d.current,{select:!0}))},v=function(w){if(document.activeElement===document.body)for(const S of w)S.removedNodes.length>0&&_n(a)};document.addEventListener("focusin",p),document.addEventListener("focusout",y);const b=new MutationObserver(v);return a&&b.observe(a,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",p),document.removeEventListener("focusout",y),b.disconnect()}}},[s,a,g.paused]),x.useEffect(()=>{if(a){Au.add(g);const p=document.activeElement;if(!a.contains(p)){const v=new CustomEvent(oa,Cu);a.addEventListener(oa,l),a.dispatchEvent(v),v.defaultPrevented||(kv(Fv(vh(a)),{select:!0}),document.activeElement===p&&_n(a))}return()=>{a.removeEventListener(oa,l),setTimeout(()=>{const v=new CustomEvent(aa,Cu);a.addEventListener(aa,u),a.dispatchEvent(v),v.defaultPrevented||_n(p??document.body,{select:!0}),a.removeEventListener(aa,u),Au.remove(g)},0)}}},[a,l,u,g]);const m=x.useCallback(p=>{if(!n&&!s||g.paused)return;const y=p.key==="Tab"&&!p.altKey&&!p.ctrlKey&&!p.metaKey,v=document.activeElement;if(y&&v){const b=p.currentTarget,[w,T]=jv(b);w&&T?!p.shiftKey&&v===T?(p.preventDefault(),n&&_n(w,{select:!0})):p.shiftKey&&v===w&&(p.preventDefault(),n&&_n(T,{select:!0})):v===b&&p.preventDefault()}},[n,s,g.paused]);return h.jsx(at.div,{tabIndex:-1,...o,ref:f,onKeyDown:m})});Wc.displayName=Nv;function kv(e,{select:t=!1}={}){const n=document.activeElement;for(const s of e)if(_n(s,{select:t}),document.activeElement!==n)return}function jv(e){const t=vh(e),n=Eu(t,e),s=Eu(t.reverse(),e);return[n,s]}function vh(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 Eu(e,t){for(const n of e)if(!Ov(n,{upTo:t}))return n}function Ov(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 Dv(e){return e instanceof HTMLInputElement&&"select"in e}function _n(e,{select:t=!1}={}){if(e&&e.focus){const n=document.activeElement;e.focus({preventScroll:!0}),e!==n&&Dv(e)&&t&&e.select()}}var Au=Mv();function Mv(){let e=[];return{add(t){const n=e[0];t!==n&&(n==null||n.pause()),e=Pu(e,t),e.unshift(t)},remove(t){var n;e=Pu(e,t),(n=e[0])==null||n.resume()}}}function Pu(e,t){const n=[...e],s=n.indexOf(t);return s!==-1&&n.splice(s,1),n}function Fv(e){return e.filter(t=>t.tagName!=="A")}var Lv="Portal",Hc=x.forwardRef((e,t)=>{var a;const{container:n,...s}=e,[r,i]=x.useState(!1);ps(()=>i(!0),[]);const o=n||r&&((a=globalThis==null?void 0:globalThis.document)==null?void 0:a.body);return o?cv.createPortal(h.jsx(at.div,{...s,ref:t}),o):null});Hc.displayName=Lv;function Iv(e,t){return x.useReducer((n,s)=>t[n][s]??n,e)}var lr=e=>{const{present:t,children:n}=e,s=Vv(t),r=typeof n=="function"?n({present:s.isPresent}):x.Children.only(n),i=Bt(s.ref,Bv(r));return typeof n=="function"||s.isPresent?x.cloneElement(r,{ref:i}):null};lr.displayName="Presence";function Vv(e){const[t,n]=x.useState(),s=x.useRef({}),r=x.useRef(e),i=x.useRef("none"),o=e?"mounted":"unmounted",[a,c]=Iv(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]),ps(()=>{const l=s.current,u=r.current;if(u!==e){const f=i.current,g=Oi(l);e?c("MOUNT"):g==="none"||(l==null?void 0:l.display)==="none"?c("UNMOUNT"):c(u&&f!==g?"ANIMATION_OUT":"UNMOUNT"),r.current=e}},[e,c]),ps(()=>{if(t){let l;const u=t.ownerDocument.defaultView??window,d=g=>{const p=Oi(s.current).includes(g.animationName);if(g.target===t&&p&&(c("ANIMATION_END"),!r.current)){const y=t.style.animationFillMode;t.style.animationFillMode="forwards",l=u.setTimeout(()=>{t.style.animationFillMode==="forwards"&&(t.style.animationFillMode=y)})}},f=g=>{g.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 Bv(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 ca=0;function xh(){x.useEffect(()=>{const e=document.querySelectorAll("[data-radix-focus-guard]");return document.body.insertAdjacentElement("afterbegin",e[0]??Ru()),document.body.insertAdjacentElement("beforeend",e[1]??Ru()),ca++,()=>{ca===1&&document.querySelectorAll("[data-radix-focus-guard]").forEach(t=>t.remove()),ca--}},[])}function Ru(){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 Qt=function(){return Qt=Object.assign||function(t){for(var n,s=1,r=arguments.length;s"u")return sx;var t=rx(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])}},ox=_h(),Fs="data-scroll-locked",ax=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($v,` { overflow: hidden `).concat(s,`; padding-right: `).concat(a,"px ").concat(s,`; } @@ -41,96 +41,96 @@ var vu=e=>{throw TypeError(e)};var ra=(e,t,n)=>t.has(e)||vu("Cannot "+n);var C=( } body[`).concat(Fs,`] { - `).concat(Vv,": ").concat(a,`px; + `).concat(zv,": ").concat(a,`px; } -`)},ku=function(){var e=parseInt(document.body.getAttribute(Fs)||"0",10);return isFinite(e)?e:0},rx=function(){x.useEffect(function(){return document.body.setAttribute(Fs,(ku()+1).toString()),function(){var e=ku()-1;e<=0?document.body.removeAttribute(Fs):document.body.setAttribute(Fs,e.toString())}},[])},ix=function(e){var t=e.noRelative,n=e.noImportant,s=e.gapMode,r=s===void 0?"margin":s;rx();var i=x.useMemo(function(){return tx(r)},[r]);return x.createElement(nx,{styles:sx(i,!t,r,n?"":"!important")})},Ua=!1;if(typeof window<"u")try{var Di=Object.defineProperty({},"passive",{get:function(){return Ua=!0,!0}});window.addEventListener("test",Di,Di),window.removeEventListener("test",Di,Di)}catch{Ua=!1}var Cs=Ua?{passive:!1}:!1,ox=function(e){return e.tagName==="TEXTAREA"},_h=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!ox(e)&&n[t]==="visible")},ax=function(e){return _h(e,"overflowY")},cx=function(e){return _h(e,"overflowX")},Nu=function(e,t){var n=t.ownerDocument,s=t;do{typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&(s=s.host);var r=Th(e,s);if(r){var i=Ch(e,s),o=i[1],a=i[2];if(o>a)return!0}s=s.parentNode}while(s&&s!==n.body);return!1},lx=function(e){var t=e.scrollTop,n=e.scrollHeight,s=e.clientHeight;return[t,n,s]},ux=function(e){var t=e.scrollLeft,n=e.scrollWidth,s=e.clientWidth;return[t,n,s]},Th=function(e,t){return e==="v"?ax(t):cx(t)},Ch=function(e,t){return e==="v"?lx(t):ux(t)},dx=function(e,t){return e==="h"&&t==="rtl"?-1:1},fx=function(e,t,n,s,r){var i=dx(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 g=Ch(e,a),m=g[0],p=g[1],y=g[2],v=p-y-i*m;(m||v)&&Th(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},Mi=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},ju=function(e){return[e.deltaX,e.deltaY]},Ou=function(e){return e&&"current"in e?e.current:e},hx=function(e,t){return e[0]===t[0]&&e[1]===t[1]},px=function(e){return` +`)},ku=function(){var e=parseInt(document.body.getAttribute(Fs)||"0",10);return isFinite(e)?e:0},cx=function(){x.useEffect(function(){return document.body.setAttribute(Fs,(ku()+1).toString()),function(){var e=ku()-1;e<=0?document.body.removeAttribute(Fs):document.body.setAttribute(Fs,e.toString())}},[])},lx=function(e){var t=e.noRelative,n=e.noImportant,s=e.gapMode,r=s===void 0?"margin":s;cx();var i=x.useMemo(function(){return ix(r)},[r]);return x.createElement(ox,{styles:ax(i,!t,r,n?"":"!important")})},Ua=!1;if(typeof window<"u")try{var Di=Object.defineProperty({},"passive",{get:function(){return Ua=!0,!0}});window.addEventListener("test",Di,Di),window.removeEventListener("test",Di,Di)}catch{Ua=!1}var Cs=Ua?{passive:!1}:!1,ux=function(e){return e.tagName==="TEXTAREA"},Th=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!ux(e)&&n[t]==="visible")},dx=function(e){return Th(e,"overflowY")},fx=function(e){return Th(e,"overflowX")},ju=function(e,t){var n=t.ownerDocument,s=t;do{typeof ShadowRoot<"u"&&s instanceof ShadowRoot&&(s=s.host);var r=Ch(e,s);if(r){var i=Eh(e,s),o=i[1],a=i[2];if(o>a)return!0}s=s.parentNode}while(s&&s!==n.body);return!1},hx=function(e){var t=e.scrollTop,n=e.scrollHeight,s=e.clientHeight;return[t,n,s]},px=function(e){var t=e.scrollLeft,n=e.scrollWidth,s=e.clientWidth;return[t,n,s]},Ch=function(e,t){return e==="v"?dx(t):fx(t)},Eh=function(e,t){return e==="v"?hx(t):px(t)},mx=function(e,t){return e==="h"&&t==="rtl"?-1:1},gx=function(e,t,n,s,r){var i=mx(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 g=Eh(e,a),m=g[0],p=g[1],y=g[2],v=p-y-i*m;(m||v)&&Ch(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},Mi=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Ou=function(e){return[e.deltaX,e.deltaY]},Du=function(e){return e&&"current"in e?e.current:e},yx=function(e,t){return e[0]===t[0]&&e[1]===t[1]},vx=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},mx=0,Es=[];function gx(e){var t=x.useRef([]),n=x.useRef([0,0]),s=x.useRef(),r=x.useState(mx++)[0],i=x.useState(Sh)[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 p=Lv([e.lockRef.current],(e.shards||[]).map(Ou),!0).filter(Boolean);return p.forEach(function(y){return y.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),p.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var a=x.useCallback(function(p,y){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!o.current.allowPinchZoom;var v=Mi(p),b=n.current,w="deltaX"in p?p.deltaX:b[0]-v[0],T="deltaY"in p?p.deltaY:b[1]-v[1],S,A=p.target,P=Math.abs(w)>Math.abs(T)?"h":"v";if("touches"in p&&P==="h"&&A.type==="range")return!1;var E=Nu(P,A);if(!E)return!0;if(E?S=P:(S=P==="v"?"h":"v",E=Nu(P,A)),!E)return!1;if(!s.current&&"changedTouches"in p&&(w||T)&&(s.current=S),!S)return!0;var j=s.current||S;return fx(j,y,p,j==="h"?w:T)},[]),c=x.useCallback(function(p){var y=p;if(!(!Es.length||Es[Es.length-1]!==i)){var v="deltaY"in y?ju(y):Mi(y),b=t.current.filter(function(S){return S.name===y.type&&(S.target===y.target||y.target===S.shadowParent)&&hx(S.delta,v)})[0];if(b&&b.should){y.cancelable&&y.preventDefault();return}if(!b){var w=(o.current.shards||[]).map(Ou).filter(Boolean).filter(function(S){return S.contains(y.target)}),T=w.length>0?a(y,w[0]):!o.current.noIsolation;T&&y.cancelable&&y.preventDefault()}}},[]),l=x.useCallback(function(p,y,v,b){var w={name:p,delta:y,target:v,should:b,shadowParent:yx(v)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(T){return T!==w})},1)},[]),u=x.useCallback(function(p){n.current=Mi(p),s.current=void 0},[]),d=x.useCallback(function(p){l(p.type,ju(p),p.target,a(p,e.lockRef.current))},[]),f=x.useCallback(function(p){l(p.type,Mi(p),p.target,a(p,e.lockRef.current))},[]);x.useEffect(function(){return Es.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",c,Cs),document.addEventListener("touchmove",c,Cs),document.addEventListener("touchstart",u,Cs),function(){Es=Es.filter(function(p){return p!==i}),document.removeEventListener("wheel",c,Cs),document.removeEventListener("touchmove",c,Cs),document.removeEventListener("touchstart",u,Cs)}},[]);var g=e.removeScrollBar,m=e.inert;return x.createElement(x.Fragment,null,m?x.createElement(i,{styles:px(r)}):null,g?x.createElement(ix,{gapMode:e.gapMode}):null)}function yx(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const vx=qv(wh,gx);var qc=x.forwardRef(function(e,t){return x.createElement(jo,Qt({},e,{ref:t,sideCar:vx}))});qc.classNames=jo.classNames;var xx=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},As=new WeakMap,Fi=new WeakMap,Li={},fa=0,Eh=function(e){return e&&(e.host||Eh(e.parentNode))},bx=function(e,t){return t.map(function(n){if(e.contains(n))return n;var s=Eh(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})},wx=function(e,t,n,s){var r=bx(t,Array.isArray(e)?e:[e]);Li[n]||(Li[n]=new WeakMap);var i=Li[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 g=f.getAttribute(s),m=g!==null&&g!=="false",p=(As.get(f)||0)+1,y=(i.get(f)||0)+1;As.set(f,p),i.set(f,y),o.push(f),p===1&&m&&Fi.set(f,!0),y===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(),fa++,function(){o.forEach(function(d){var f=As.get(d)-1,g=i.get(d)-1;As.set(d,f),i.set(d,g),f||(Fi.has(d)||d.removeAttribute(s),Fi.delete(d)),g||d.removeAttribute(n)}),fa--,fa||(As=new WeakMap,As=new WeakMap,Fi=new WeakMap,Li={})}},Ah=function(e,t,n){n===void 0&&(n="data-aria-hidden");var s=Array.from(Array.isArray(e)?e:[e]),r=xx(e);return r?(s.push.apply(s,Array.from(r.querySelectorAll("[aria-live]"))),wx(s,r,n,"aria-hidden")):function(){return null}},Zc="Dialog",[Ph,lk]=$c(Zc),[Sx,Ut]=Ph(Zc),Rh=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]=ph({prop:s,defaultProp:r,onChange:i});return h.jsx(Sx,{scope:t,triggerRef:a,contentRef:c,contentId:qi(),titleId:qi(),descriptionId:qi(),open:l,onOpenChange:u,onOpenToggle:x.useCallback(()=>u(d=>!d),[u]),modal:o,children:n})};Rh.displayName=Zc;var kh="DialogTrigger",Nh=x.forwardRef((e,t)=>{const{__scopeDialog:n,...s}=e,r=Ut(kh,n),i=Bt(t,r.triggerRef);return h.jsx(ot.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":Qc(r.open),...s,ref:i,onClick:mt(e.onClick,r.onOpenToggle)})});Nh.displayName=kh;var Kc="DialogPortal",[_x,jh]=Ph(Kc,{forceMount:void 0}),Oh=e=>{const{__scopeDialog:t,forceMount:n,children:s,container:r}=e,i=Ut(Kc,t);return h.jsx(_x,{scope:t,forceMount:n,children:x.Children.map(s,o=>h.jsx(lr,{present:n||i.open,children:h.jsx(Hc,{asChild:!0,container:r,children:o})}))})};Oh.displayName=Kc;var so="DialogOverlay",Dh=x.forwardRef((e,t)=>{const n=jh(so,e.__scopeDialog),{forceMount:s=n.forceMount,...r}=e,i=Ut(so,e.__scopeDialog);return i.modal?h.jsx(lr,{present:s||i.open,children:h.jsx(Tx,{...r,ref:t})}):null});Dh.displayName=so;var Tx=x.forwardRef((e,t)=>{const{__scopeDialog:n,...s}=e,r=Ut(so,n);return h.jsx(qc,{as:cr,allowPinchZoom:!0,shards:[r.contentRef],children:h.jsx(ot.div,{"data-state":Qc(r.open),...s,ref:t,style:{pointerEvents:"auto",...s.style}})})}),ps="DialogContent",Mh=x.forwardRef((e,t)=>{const n=jh(ps,e.__scopeDialog),{forceMount:s=n.forceMount,...r}=e,i=Ut(ps,e.__scopeDialog);return h.jsx(lr,{present:s||i.open,children:i.modal?h.jsx(Cx,{...r,ref:t}):h.jsx(Ex,{...r,ref:t})})});Mh.displayName=ps;var Cx=x.forwardRef((e,t)=>{const n=Ut(ps,e.__scopeDialog),s=x.useRef(null),r=Bt(t,n.contentRef,s);return x.useEffect(()=>{const i=s.current;if(i)return Ah(i)},[]),h.jsx(Fh,{...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())})}),Ex=x.forwardRef((e,t)=>{const n=Ut(ps,e.__scopeDialog),s=x.useRef(!1),r=x.useRef(!1);return h.jsx(Fh,{...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()}})}),Fh=x.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:s,onOpenAutoFocus:r,onCloseAutoFocus:i,...o}=e,a=Ut(ps,n),c=x.useRef(null),l=Bt(t,c);return vh(),h.jsxs(h.Fragment,{children:[h.jsx(Wc,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:r,onUnmountAutoFocus:i,children:h.jsx(zc,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":Qc(a.open),...o,ref:l,onDismiss:()=>a.onOpenChange(!1)})}),h.jsxs(h.Fragment,{children:[h.jsx(Ax,{titleId:a.titleId}),h.jsx(Rx,{contentRef:c,descriptionId:a.descriptionId})]})]})}),Gc="DialogTitle",Lh=x.forwardRef((e,t)=>{const{__scopeDialog:n,...s}=e,r=Ut(Gc,n);return h.jsx(ot.h2,{id:r.titleId,...s,ref:t})});Lh.displayName=Gc;var Ih="DialogDescription",Vh=x.forwardRef((e,t)=>{const{__scopeDialog:n,...s}=e,r=Ut(Ih,n);return h.jsx(ot.p,{id:r.descriptionId,...s,ref:t})});Vh.displayName=Ih;var Bh="DialogClose",Uh=x.forwardRef((e,t)=>{const{__scopeDialog:n,...s}=e,r=Ut(Bh,n);return h.jsx(ot.button,{type:"button",...s,ref:t,onClick:mt(e.onClick,()=>r.onOpenChange(!1))})});Uh.displayName=Bh;function Qc(e){return e?"open":"closed"}var $h="DialogTitleWarning",[uk,zh]=av($h,{contentName:ps,titleName:Gc,docsSlug:"dialog"}),Ax=({titleId:e})=>{const t=zh($h),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users. +`)},xx=0,Es=[];function bx(e){var t=x.useRef([]),n=x.useRef([0,0]),s=x.useRef(),r=x.useState(xx++)[0],i=x.useState(_h)[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 p=Uv([e.lockRef.current],(e.shards||[]).map(Du),!0).filter(Boolean);return p.forEach(function(y){return y.classList.add("allow-interactivity-".concat(r))}),function(){document.body.classList.remove("block-interactivity-".concat(r)),p.forEach(function(y){return y.classList.remove("allow-interactivity-".concat(r))})}}},[e.inert,e.lockRef.current,e.shards]);var a=x.useCallback(function(p,y){if("touches"in p&&p.touches.length===2||p.type==="wheel"&&p.ctrlKey)return!o.current.allowPinchZoom;var v=Mi(p),b=n.current,w="deltaX"in p?p.deltaX:b[0]-v[0],T="deltaY"in p?p.deltaY:b[1]-v[1],S,A=p.target,P=Math.abs(w)>Math.abs(T)?"h":"v";if("touches"in p&&P==="h"&&A.type==="range")return!1;var E=ju(P,A);if(!E)return!0;if(E?S=P:(S=P==="v"?"h":"v",E=ju(P,A)),!E)return!1;if(!s.current&&"changedTouches"in p&&(w||T)&&(s.current=S),!S)return!0;var j=s.current||S;return gx(j,y,p,j==="h"?w:T)},[]),c=x.useCallback(function(p){var y=p;if(!(!Es.length||Es[Es.length-1]!==i)){var v="deltaY"in y?Ou(y):Mi(y),b=t.current.filter(function(S){return S.name===y.type&&(S.target===y.target||y.target===S.shadowParent)&&yx(S.delta,v)})[0];if(b&&b.should){y.cancelable&&y.preventDefault();return}if(!b){var w=(o.current.shards||[]).map(Du).filter(Boolean).filter(function(S){return S.contains(y.target)}),T=w.length>0?a(y,w[0]):!o.current.noIsolation;T&&y.cancelable&&y.preventDefault()}}},[]),l=x.useCallback(function(p,y,v,b){var w={name:p,delta:y,target:v,should:b,shadowParent:wx(v)};t.current.push(w),setTimeout(function(){t.current=t.current.filter(function(T){return T!==w})},1)},[]),u=x.useCallback(function(p){n.current=Mi(p),s.current=void 0},[]),d=x.useCallback(function(p){l(p.type,Ou(p),p.target,a(p,e.lockRef.current))},[]),f=x.useCallback(function(p){l(p.type,Mi(p),p.target,a(p,e.lockRef.current))},[]);x.useEffect(function(){return Es.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",c,Cs),document.addEventListener("touchmove",c,Cs),document.addEventListener("touchstart",u,Cs),function(){Es=Es.filter(function(p){return p!==i}),document.removeEventListener("wheel",c,Cs),document.removeEventListener("touchmove",c,Cs),document.removeEventListener("touchstart",u,Cs)}},[]);var g=e.removeScrollBar,m=e.inert;return x.createElement(x.Fragment,null,m?x.createElement(i,{styles:vx(r)}):null,g?x.createElement(lx,{gapMode:e.gapMode}):null)}function wx(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const Sx=Qv(Sh,bx);var qc=x.forwardRef(function(e,t){return x.createElement(jo,Qt({},e,{ref:t,sideCar:Sx}))});qc.classNames=jo.classNames;var _x=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},As=new WeakMap,Fi=new WeakMap,Li={},fa=0,Ah=function(e){return e&&(e.host||Ah(e.parentNode))},Tx=function(e,t){return t.map(function(n){if(e.contains(n))return n;var s=Ah(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})},Cx=function(e,t,n,s){var r=Tx(t,Array.isArray(e)?e:[e]);Li[n]||(Li[n]=new WeakMap);var i=Li[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 g=f.getAttribute(s),m=g!==null&&g!=="false",p=(As.get(f)||0)+1,y=(i.get(f)||0)+1;As.set(f,p),i.set(f,y),o.push(f),p===1&&m&&Fi.set(f,!0),y===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(),fa++,function(){o.forEach(function(d){var f=As.get(d)-1,g=i.get(d)-1;As.set(d,f),i.set(d,g),f||(Fi.has(d)||d.removeAttribute(s),Fi.delete(d)),g||d.removeAttribute(n)}),fa--,fa||(As=new WeakMap,As=new WeakMap,Fi=new WeakMap,Li={})}},Ph=function(e,t,n){n===void 0&&(n="data-aria-hidden");var s=Array.from(Array.isArray(e)?e:[e]),r=_x(e);return r?(s.push.apply(s,Array.from(r.querySelectorAll("[aria-live]"))),Cx(s,r,n,"aria-hidden")):function(){return null}},Zc="Dialog",[Rh,lN]=$c(Zc),[Ex,Ut]=Rh(Zc),Nh=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]=mh({prop:s,defaultProp:r,onChange:i});return h.jsx(Ex,{scope:t,triggerRef:a,contentRef:c,contentId:qi(),titleId:qi(),descriptionId:qi(),open:l,onOpenChange:u,onOpenToggle:x.useCallback(()=>u(d=>!d),[u]),modal:o,children:n})};Nh.displayName=Zc;var kh="DialogTrigger",jh=x.forwardRef((e,t)=>{const{__scopeDialog:n,...s}=e,r=Ut(kh,n),i=Bt(t,r.triggerRef);return h.jsx(at.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":Qc(r.open),...s,ref:i,onClick:mt(e.onClick,r.onOpenToggle)})});jh.displayName=kh;var Kc="DialogPortal",[Ax,Oh]=Rh(Kc,{forceMount:void 0}),Dh=e=>{const{__scopeDialog:t,forceMount:n,children:s,container:r}=e,i=Ut(Kc,t);return h.jsx(Ax,{scope:t,forceMount:n,children:x.Children.map(s,o=>h.jsx(lr,{present:n||i.open,children:h.jsx(Hc,{asChild:!0,container:r,children:o})}))})};Dh.displayName=Kc;var so="DialogOverlay",Mh=x.forwardRef((e,t)=>{const n=Oh(so,e.__scopeDialog),{forceMount:s=n.forceMount,...r}=e,i=Ut(so,e.__scopeDialog);return i.modal?h.jsx(lr,{present:s||i.open,children:h.jsx(Px,{...r,ref:t})}):null});Mh.displayName=so;var Px=x.forwardRef((e,t)=>{const{__scopeDialog:n,...s}=e,r=Ut(so,n);return h.jsx(qc,{as:cr,allowPinchZoom:!0,shards:[r.contentRef],children:h.jsx(at.div,{"data-state":Qc(r.open),...s,ref:t,style:{pointerEvents:"auto",...s.style}})})}),ms="DialogContent",Fh=x.forwardRef((e,t)=>{const n=Oh(ms,e.__scopeDialog),{forceMount:s=n.forceMount,...r}=e,i=Ut(ms,e.__scopeDialog);return h.jsx(lr,{present:s||i.open,children:i.modal?h.jsx(Rx,{...r,ref:t}):h.jsx(Nx,{...r,ref:t})})});Fh.displayName=ms;var Rx=x.forwardRef((e,t)=>{const n=Ut(ms,e.__scopeDialog),s=x.useRef(null),r=Bt(t,n.contentRef,s);return x.useEffect(()=>{const i=s.current;if(i)return Ph(i)},[]),h.jsx(Lh,{...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())})}),Nx=x.forwardRef((e,t)=>{const n=Ut(ms,e.__scopeDialog),s=x.useRef(!1),r=x.useRef(!1);return h.jsx(Lh,{...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()}})}),Lh=x.forwardRef((e,t)=>{const{__scopeDialog:n,trapFocus:s,onOpenAutoFocus:r,onCloseAutoFocus:i,...o}=e,a=Ut(ms,n),c=x.useRef(null),l=Bt(t,c);return xh(),h.jsxs(h.Fragment,{children:[h.jsx(Wc,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:r,onUnmountAutoFocus:i,children:h.jsx(zc,{role:"dialog",id:a.contentId,"aria-describedby":a.descriptionId,"aria-labelledby":a.titleId,"data-state":Qc(a.open),...o,ref:l,onDismiss:()=>a.onOpenChange(!1)})}),h.jsxs(h.Fragment,{children:[h.jsx(kx,{titleId:a.titleId}),h.jsx(Ox,{contentRef:c,descriptionId:a.descriptionId})]})]})}),Gc="DialogTitle",Ih=x.forwardRef((e,t)=>{const{__scopeDialog:n,...s}=e,r=Ut(Gc,n);return h.jsx(at.h2,{id:r.titleId,...s,ref:t})});Ih.displayName=Gc;var Vh="DialogDescription",Bh=x.forwardRef((e,t)=>{const{__scopeDialog:n,...s}=e,r=Ut(Vh,n);return h.jsx(at.p,{id:r.descriptionId,...s,ref:t})});Bh.displayName=Vh;var Uh="DialogClose",$h=x.forwardRef((e,t)=>{const{__scopeDialog:n,...s}=e,r=Ut(Uh,n);return h.jsx(at.button,{type:"button",...s,ref:t,onClick:mt(e.onClick,()=>r.onOpenChange(!1))})});$h.displayName=Uh;function Qc(e){return e?"open":"closed"}var zh="DialogTitleWarning",[uN,Wh]=dv(zh,{contentName:ms,titleName:Gc,docsSlug:"dialog"}),kx=({titleId:e})=>{const t=Wh(zh),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},Px="DialogDescriptionWarning",Rx=({contentRef:e,descriptionId:t})=>{const s=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${zh(Px).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},Wh=Rh,Hh=Nh,qh=Oh,Oo=Dh,Do=Mh,Mo=Lh,Fo=Vh,Xc=Uh;function Zh(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,Mu=Kh,Yc=(e,t)=>n=>{var s;if((t==null?void 0:t.variants)==null)return Mu(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=Du(u)||Du(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,...g}=u;return Object.entries(g).every(m=>{let[p,y]=m;return Array.isArray(y)?y.includes({...i,...a}[p]):{...i,...a}[p]===y})?[...l,d,f]:l},[]);return Mu(e,o,c,n==null?void 0:n.class,n==null?void 0:n.className)};/** +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},jx="DialogDescriptionWarning",Ox=({contentRef:e,descriptionId:t})=>{const s=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Wh(jx).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},Hh=Nh,qh=jh,Zh=Dh,Oo=Mh,Do=Fh,Mo=Ih,Fo=Bh,Xc=$h;function Kh(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,Fu=Gh,Yc=(e,t)=>n=>{var s;if((t==null?void 0:t.variants)==null)return Fu(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=Mu(u)||Mu(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,...g}=u;return Object.entries(g).every(m=>{let[p,y]=m;return Array.isArray(y)?y.includes({...i,...a}[p]):{...i,...a}[p]===y})?[...l,d,f]:l},[]);return Fu(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 kx=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Gh=(...e)=>e.filter((t,n,s)=>!!t&&t.trim()!==""&&s.indexOf(t)===n).join(" ").trim();/** + */const Dx=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 Nx={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"};/** + */var Mx={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 jx=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,...Nx,width:t,height:t,stroke:e,strokeWidth:s?Number(n)*24/Number(t):n,className:Gh("lucide",r),...a},[...o.map(([l,u])=>x.createElement(l,u)),...Array.isArray(i)?i:[i]]));/** + */const Fx=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,...Mx,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 At=(e,t)=>{const n=x.forwardRef(({className:s,...r},i)=>x.createElement(jx,{ref:i,iconNode:t,className:Gh(`lucide-${kx(e)}`,s),...r}));return n.displayName=`${e}`,n};/** + */const At=(e,t)=>{const n=x.forwardRef(({className:s,...r},i)=>x.createElement(Fx,{ref:i,iconNode:t,className:Qh(`lucide-${Dx(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 Ox=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Dx=At("ArrowRight",Ox);/** + */const Lx=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],Ix=At("ArrowRight",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 Mx=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],Fx=At("ArrowUpRight",Mx);/** + */const Vx=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],Bx=At("ArrowUpRight",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 Lx=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Ix=At("ChevronLeft",Lx);/** + */const Ux=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Xh=At("ChevronLeft",Ux);/** * @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:"m9 18 6-6-6-6",key:"mthhwq"}]],Bx=At("ChevronRight",Vx);/** + */const $x=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Yh=At("ChevronRight",$x);/** * @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 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],$x=At("Facebook",Ux);/** + */const zx=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],Wx=At("Facebook",zx);/** * @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 zx=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Qh=At("LoaderCircle",zx);/** + */const Hx=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],Jh=At("LoaderCircle",Hx);/** * @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 Wx=[["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"}]],dk=At("Loader",Wx);/** + */const qx=[["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"}]],dN=At("Loader",qx);/** * @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 Hx=[["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"}]],qx=At("MapPin",Hx);/** + */const Zx=[["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"}]],Kx=At("MapPin",Zx);/** * @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 Zx=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],fk=At("Play",Zx);/** + */const Gx=[["polygon",{points:"6 3 20 12 6 21 6 3",key:"1oa8hb"}]],fN=At("Play",Gx);/** * @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=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],Gx=At("Smartphone",Kx);/** + */const Qx=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],Xx=At("Smartphone",Qx);/** * @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 Qx=[["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"}]],Xx=At("Upload",Qx);/** + */const Yx=[["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"}]],Jx=At("Upload",Yx);/** * @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 Yx=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Jc=At("X",Yx),el="-",Jx=e=>{const t=tb(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:o=>{const a=o.split(el);return a[0]===""&&a.length!==1&&a.shift(),Xh(a,t)||eb(o)},getConflictingClassGroupIds:(o,a)=>{const c=n[o]||[];return a&&s[o]?[...c,...s[o]]:c}}},Xh=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],s=t.nextPart.get(n),r=s?Xh(e.slice(1),s):void 0;if(r)return r;if(t.validators.length===0)return;const i=e.join(el);return(o=t.validators.find(({validator:a})=>a(i)))==null?void 0:o.classGroupId},Fu=/^\[(.+)\]$/,eb=e=>{if(Fu.test(e)){const t=Fu.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},tb=e=>{const{theme:t,prefix:n}=e,s={nextPart:new Map,validators:[]};return sb(Object.entries(e.classGroups),n).forEach(([i,o])=>{$a(o,s,i,t)}),s},$a=(e,t,n,s)=>{e.forEach(r=>{if(typeof r=="string"){const i=r===""?t:Lu(t,r);i.classGroupId=n;return}if(typeof r=="function"){if(nb(r)){$a(r(s),t,n,s);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(([i,o])=>{$a(o,Lu(t,i),n,s)})})},Lu=(e,t)=>{let n=e;return t.split(el).forEach(s=>{n.nextPart.has(s)||n.nextPart.set(s,{nextPart:new Map,validators:[]}),n=n.nextPart.get(s)}),n},nb=e=>e.isThemeGetter,sb=(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,rb=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)}}},Yh="!",ib=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 y=0;yu?d-u:void 0;return{modifiers:c,hasImportantModifier:g,baseClassName:m,maybePostfixModifierPosition:p}};return n?a=>n({className:a,parseClassName:o}):o},ob=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},ab=e=>({cache:rb(e.cacheSize),parseClassName:ib(e),...Jx(e)}),cb=/\s+/,lb=(e,t)=>{const{parseClassName:n,getClassGroupId:s,getConflictingClassGroupIds:r}=t,i=[],o=e.trim().split(cb);let a="";for(let c=o.length-1;c>=0;c-=1){const l=o[c],{modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:g}=n(l);let m=!!g,p=s(m?f.substring(0,g):f);if(!p){if(!m){a=l+(a.length>0?" "+a:a);continue}if(p=s(f),!p){a=l+(a.length>0?" "+a:a);continue}m=!1}const y=ob(u).join(":"),v=d?y+Yh:y,b=v+p;if(i.includes(b))continue;i.push(b);const w=r(p,m);for(let T=0;T0?" "+a:a)}return a};function ub(){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=ab(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=lb(c,n);return r(c,u),u}return function(){return i(ub.apply(null,arguments))}}const _e=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},ep=/^\[(?:([a-z-]+):)?(.+)\]$/i,fb=/^\d+\/\d+$/,hb=new Set(["px","full","screen"]),pb=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,mb=/\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$/,gb=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yb=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,vb=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,cn=e=>Ls(e)||hb.has(e)||fb.test(e),wn=e=>ur(e,"length",Eb),Ls=e=>!!e&&!Number.isNaN(Number(e)),ha=e=>ur(e,"number",Ls),br=e=>!!e&&Number.isInteger(Number(e)),xb=e=>e.endsWith("%")&&Ls(e.slice(0,-1)),ce=e=>ep.test(e),Sn=e=>pb.test(e),bb=new Set(["length","size","percentage"]),wb=e=>ur(e,bb,tp),Sb=e=>ur(e,"position",tp),_b=new Set(["image","url"]),Tb=e=>ur(e,_b,Pb),Cb=e=>ur(e,"",Ab),wr=()=>!0,ur=(e,t,n)=>{const s=ep.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):n(s[2]):!1},Eb=e=>mb.test(e)&&!gb.test(e),tp=()=>!1,Ab=e=>yb.test(e),Pb=e=>vb.test(e),Rb=()=>{const e=_e("colors"),t=_e("spacing"),n=_e("blur"),s=_e("brightness"),r=_e("borderColor"),i=_e("borderRadius"),o=_e("borderSpacing"),a=_e("borderWidth"),c=_e("contrast"),l=_e("grayscale"),u=_e("hueRotate"),d=_e("invert"),f=_e("gap"),g=_e("gradientColorStops"),m=_e("gradientColorStopPositions"),p=_e("inset"),y=_e("margin"),v=_e("opacity"),b=_e("padding"),w=_e("saturate"),T=_e("scale"),S=_e("sepia"),A=_e("skew"),P=_e("space"),E=_e("translate"),j=()=>["auto","contain","none"],D=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",ce,t],O=()=>[ce,t],$=()=>["",cn,wn],I=()=>["auto",Ls,ce],J=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Z=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",ce],de=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ge=()=>[Ls,ce];return{cacheSize:500,separator:":",theme:{colors:[wr],spacing:[cn,wn],blur:["none","",Sn,ce],brightness:ge(),borderColor:[e],borderRadius:["none","","full",Sn,ce],borderSpacing:O(),borderWidth:$(),contrast:ge(),grayscale:re(),hueRotate:ge(),invert:re(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[xb,wn],inset:L(),margin:L(),opacity:ge(),padding:O(),saturate:ge(),scale:ge(),sepia:re(),skew:ge(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",ce]}],container:["container"],columns:[{columns:[Sn]}],"break-after":[{"break-after":de()}],"break-before":[{"break-before":de()}],"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:[...J(),ce]}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",br,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",br,ce]}],"grid-cols":[{"grid-cols":[wr]}],"col-start-end":[{col:["auto",{span:["full",br,ce]},ce]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[wr]}],"row-start-end":[{row:["auto",{span:[br,ce]},ce]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"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",...Z()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Z(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Z(),"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:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"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:[Sn]},Sn]}],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",Sn,wn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ha]}],"font-family":[{font:[wr]}],"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",Ls,ha]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",cn,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:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",cn,wn]}],"underline-offset":[{"underline-offset":["auto",cn,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:O()}],"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:[...J(),Sb]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",wb]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Tb]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],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:[...X(),"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:X()}],"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:["",...X()]}],"outline-offset":[{"outline-offset":[cn,ce]}],"outline-w":[{outline:[cn,wn]}],"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":[cn,wn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Sn,Cb]}],"shadow-color":[{shadow:[wr]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":q()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[s]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Sn,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:[br,ce]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"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":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"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:[cn,wn,ha]}],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"]}}},kb=db(Rb);function H(...e){return kb(Kh(e))}const Nb=Wh,jb=Hh,Ob=Xc,Db=qh,np=x.forwardRef(({className:e,...t},n)=>h.jsx(Oo,{className:H("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}));np.displayName=Oo.displayName;const Mb=Yc("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"}}),sp=x.forwardRef(({side:e="right",className:t,children:n,...s},r)=>h.jsxs(Db,{children:[h.jsx(np,{}),h.jsxs(Do,{ref:r,className:H(Mb({side:e}),t),...s,children:[h.jsxs(Xc,{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:[h.jsx(Jc,{className:"size-8"}),h.jsx("span",{className:"sr-only",children:"Close"})]}),n]})]}));sp.displayName=Do.displayName;const rp=({className:e,...t})=>h.jsx("div",{className:H("flex flex-col space-y-2 text-center sm:text-left",e),...t});rp.displayName="SheetHeader";const Fb=x.forwardRef(({className:e,...t},n)=>h.jsx(Mo,{ref:n,className:H("text-lg font-semibold text-foreground",e),...t}));Fb.displayName=Mo.displayName;const Lb=x.forwardRef(({className:e,...t},n)=>h.jsx(Fo,{ref:n,className:H("text-sm text-muted-foreground",e),...t}));Lb.displayName=Fo.displayName;const Ib=Yc("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"}}),rt=x.forwardRef(({className:e,variant:t,size:n,loading:s,children:r,asChild:i=!1,...o},a)=>{const c=i?cr:"button";return h.jsx(c,{className:H(Ib({variant:t,size:n,className:e})),ref:a,...o,children:s?h.jsx(Qh,{className:"w-5 h-5 animate-spin"}):r})});rt.displayName="Button";const Vb=(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);ls(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)},Iu={},za=(e,t,n,s)=>{ls(n)&&Iu[n]||(ls(n)&&(Iu[n]=new Date),Vb(e,t,n,s))},ip=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Wa=(e,t,n)=>{e.loadNamespaces(t,ip(e,n))},Vu=(e,t,n,s)=>{if(ls(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return Wa(e,n,s);n.forEach(r=>{e.options.ns.indexOf(r)<0&&e.options.ns.push(r)}),e.loadLanguages(t,ip(e,s))},Bb=(e,t,n={})=>!t.languages||!t.languages.length?(za(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}}),ls=e=>typeof e=="string",Ub=e=>typeof e=="object"&&e!==null,$b=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,zb={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},Wb=e=>zb[e],Hb=e=>e.replace($b,Wb);let Ha={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Hb};const qb=(e={})=>{Ha={...Ha,...e}},Zb=()=>Ha;let op;const Kb=e=>{op=e},Gb=()=>op,hk={type:"3rdParty",init(e){qb(e.options.react),Kb(e)}},Qb=x.createContext();class Xb{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const Yb=(e,t)=>{const n=x.useRef();return x.useEffect(()=>{n.current=e},[e,t]),n.current},ap=(e,t,n,s)=>e.getFixedT(t,n,s),Jb=(e,t,n,s)=>x.useCallback(ap(e,t,n,s),[e,t,n,s]),Ss=(e,t={})=>{var T,S,A,P;const{i18n:n}=t,{i18n:s,defaultNS:r}=x.useContext(Qb)||{},i=n||s||Gb();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new Xb),!i){za(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const E=(D,L)=>ls(L)?L:Ub(L)&&ls(L.defaultValue)?L.defaultValue:Array.isArray(D)?D[D.length-1]:D,j=[E,{},!1];return j.t=E,j.i18n={},j.ready=!1,j}(T=i.options.react)!=null&&T.wait&&za(i,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...Zb(),...i.options.react,...t},{useSuspense:a,keyPrefix:c}=o;let l=e||r||((S=i.options)==null?void 0:S.defaultNS);l=ls(l)?[l]:l||["translation"],(P=(A=i.reportNamespaces).addUsedNamespaces)==null||P.call(A,l);const u=(i.isInitialized||i.initializedStoreOnce)&&l.every(E=>Bb(E,i,o)),d=Jb(i,t.lng||null,o.nsMode==="fallback"?l:l[0],c),f=()=>d,g=()=>ap(i,t.lng||null,o.nsMode==="fallback"?l:l[0],c),[m,p]=x.useState(f);let y=l.join();t.lng&&(y=`${t.lng}${y}`);const v=Yb(y),b=x.useRef(!0);x.useEffect(()=>{const{bindI18n:E,bindI18nStore:j}=o;b.current=!0,!u&&!a&&(t.lng?Vu(i,t.lng,l,()=>{b.current&&p(g)}):Wa(i,l,()=>{b.current&&p(g)})),u&&v&&v!==y&&b.current&&p(g);const D=()=>{b.current&&p(g)};return E&&(i==null||i.on(E,D)),j&&(i==null||i.store.on(j,D)),()=>{b.current=!1,i&&(E==null||E.split(" ").forEach(L=>i.off(L,D))),j&&i&&j.split(" ").forEach(L=>i.store.off(L,D))}},[i,y]),x.useEffect(()=>{b.current&&u&&p(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(E=>{t.lng?Vu(i,t.lng,l,()=>E()):Wa(i,l,()=>E())})},cp=({className:e})=>h.jsx("div",{className:H("",e),children:h.jsx("img",{src:"/logo.svg",alt:"logo",className:"md:size-auto h-10"})}),lp=({className:e,image:t,title:n,iconClassName:s})=>h.jsxs("article",{className:H("bg-surface_container relative hover:bg-teritary_surface_container transition-all md:px-6 px-2 md:h-[224px] h-[124px]",e),children:[h.jsx("div",{className:"bg-primary size-full -z-[10] absolute top-2.5 left-2.5"}),h.jsx("div",{className:H("md:size-[84px] size-12 bg-teritary p-3",s),children:h.jsx("img",{src:t.path,alt:"theme icon"})}),h.jsx("h3",{className:"md:mt-6 mt-2 md:text-xl text-sm",children:n})]}),ew=({className:e,title:t,text:n})=>h.jsxs("article",{className:H("px-6 py-4 relative bg-surface_container h-[160px] w-full overflow-hidden",e),children:[h.jsx("img",{src:"/about-card-bg.svg",className:"absolute top-2 right-0"}),h.jsx("h2",{className:"text-primary text-[32px] semibold leading-[130%] mb-4",children:n}),h.jsx("h4",{className:"text-on_surface normal text-base",children:t})]}),tw=({className:e,title:t,text:n,img:s,link:r,btnText:i})=>h.jsxs("article",{className:H("md:px-8 md:py-6 p-4 relative overflow-hidden h-[296px] md:w-full w-[300px] text-on_primary",e),children:[h.jsx("div",{className:"absolute size-full z-10 top-0 left-0 bg-gradient-to-r from-25% from-primary to-primary/20 "}),h.jsx("img",{src:s,className:"absolute size-full top-0 right-0 object-cover"}),h.jsxs("div",{className:"relative z-20 h-full",children:[h.jsxs("div",{className:"",children:[h.jsx("h4",{className:"md:text-2xl text-lg mb-4 max-w-[444px] z-20 h-16",children:t}),h.jsx("p",{className:"md:text-base text-sm normal max-w-[360px] z-20",children:n})]}),h.jsx(Ce,{className:"absolute bottom-0 left-0",target:"_blank",to:r,children:h.jsxs(rt,{className:"text-sm px-0 h-fit py-0 z-20",variant:"link",children:[i," ",h.jsx(Fx,{})]})})]})]}),up=({className:e,title:t,text:n,bottomClassName:s})=>h.jsxs("div",{className:H("rounded-t-[4px] overflow-hidden",e),children:[h.jsx("div",{className:"bg-teritary text-white flex items-center h-11 px-4",children:t}),h.jsx("div",{className:H("h-14 bg-surface_container semibold flex items-center text-lg px-4",s),children:n})]}),nw=({className:e,text:t,title:n,image:s})=>h.jsxs("div",{className:H("flex items-center gap-4",e),children:[h.jsx("div",{className:"bg-secondary_container size-16 rounded-[2px] p-3",children:h.jsx("img",{src:s.path,alt:"contact icon",className:"size-full"})}),h.jsxs("div",{className:"flex flex-col gap-2",children:[h.jsx("h5",{className:"text-sm text-[#454545]",children:n}),h.jsx("h4",{className:"text-[#171717] semibold",children:t})]})]}),tl=x.createContext({});function nl(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const Lo=x.createContext(null),sl=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class sw 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 rw({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(sl);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 g=document.createElement("style");return o&&(g.nonce=o),document.head.appendChild(g),g.sheet&&g.sheet.insertRule(` + */const eb=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Jc=At("X",eb),el="-",tb=e=>{const t=sb(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:o=>{const a=o.split(el);return a[0]===""&&a.length!==1&&a.shift(),ep(a,t)||nb(o)},getConflictingClassGroupIds:(o,a)=>{const c=n[o]||[];return a&&s[o]?[...c,...s[o]]:c}}},ep=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],s=t.nextPart.get(n),r=s?ep(e.slice(1),s):void 0;if(r)return r;if(t.validators.length===0)return;const i=e.join(el);return(o=t.validators.find(({validator:a})=>a(i)))==null?void 0:o.classGroupId},Lu=/^\[(.+)\]$/,nb=e=>{if(Lu.test(e)){const t=Lu.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},sb=e=>{const{theme:t,prefix:n}=e,s={nextPart:new Map,validators:[]};return ib(Object.entries(e.classGroups),n).forEach(([i,o])=>{$a(o,s,i,t)}),s},$a=(e,t,n,s)=>{e.forEach(r=>{if(typeof r=="string"){const i=r===""?t:Iu(t,r);i.classGroupId=n;return}if(typeof r=="function"){if(rb(r)){$a(r(s),t,n,s);return}t.validators.push({validator:r,classGroupId:n});return}Object.entries(r).forEach(([i,o])=>{$a(o,Iu(t,i),n,s)})})},Iu=(e,t)=>{let n=e;return t.split(el).forEach(s=>{n.nextPart.has(s)||n.nextPart.set(s,{nextPart:new Map,validators:[]}),n=n.nextPart.get(s)}),n},rb=e=>e.isThemeGetter,ib=(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,ob=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)}}},tp="!",ab=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 y=0;yu?d-u:void 0;return{modifiers:c,hasImportantModifier:g,baseClassName:m,maybePostfixModifierPosition:p}};return n?a=>n({className:a,parseClassName:o}):o},cb=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},lb=e=>({cache:ob(e.cacheSize),parseClassName:ab(e),...tb(e)}),ub=/\s+/,db=(e,t)=>{const{parseClassName:n,getClassGroupId:s,getConflictingClassGroupIds:r}=t,i=[],o=e.trim().split(ub);let a="";for(let c=o.length-1;c>=0;c-=1){const l=o[c],{modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:g}=n(l);let m=!!g,p=s(m?f.substring(0,g):f);if(!p){if(!m){a=l+(a.length>0?" "+a:a);continue}if(p=s(f),!p){a=l+(a.length>0?" "+a:a);continue}m=!1}const y=cb(u).join(":"),v=d?y+tp:y,b=v+p;if(i.includes(b))continue;i.push(b);const w=r(p,m);for(let T=0;T0?" "+a:a)}return a};function fb(){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=lb(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=db(c,n);return r(c,u),u}return function(){return i(fb.apply(null,arguments))}}const _e=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},sp=/^\[(?:([a-z-]+):)?(.+)\]$/i,pb=/^\d+\/\d+$/,mb=new Set(["px","full","screen"]),gb=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,yb=/\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$/,vb=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,xb=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,bb=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,cn=e=>Ls(e)||mb.has(e)||pb.test(e),wn=e=>ur(e,"length",Pb),Ls=e=>!!e&&!Number.isNaN(Number(e)),ha=e=>ur(e,"number",Ls),br=e=>!!e&&Number.isInteger(Number(e)),wb=e=>e.endsWith("%")&&Ls(e.slice(0,-1)),ce=e=>sp.test(e),Sn=e=>gb.test(e),Sb=new Set(["length","size","percentage"]),_b=e=>ur(e,Sb,rp),Tb=e=>ur(e,"position",rp),Cb=new Set(["image","url"]),Eb=e=>ur(e,Cb,Nb),Ab=e=>ur(e,"",Rb),wr=()=>!0,ur=(e,t,n)=>{const s=sp.exec(e);return s?s[1]?typeof t=="string"?s[1]===t:t.has(s[1]):n(s[2]):!1},Pb=e=>yb.test(e)&&!vb.test(e),rp=()=>!1,Rb=e=>xb.test(e),Nb=e=>bb.test(e),kb=()=>{const e=_e("colors"),t=_e("spacing"),n=_e("blur"),s=_e("brightness"),r=_e("borderColor"),i=_e("borderRadius"),o=_e("borderSpacing"),a=_e("borderWidth"),c=_e("contrast"),l=_e("grayscale"),u=_e("hueRotate"),d=_e("invert"),f=_e("gap"),g=_e("gradientColorStops"),m=_e("gradientColorStopPositions"),p=_e("inset"),y=_e("margin"),v=_e("opacity"),b=_e("padding"),w=_e("saturate"),T=_e("scale"),S=_e("sepia"),A=_e("skew"),P=_e("space"),E=_e("translate"),j=()=>["auto","contain","none"],D=()=>["auto","hidden","clip","visible","scroll"],L=()=>["auto",ce,t],O=()=>[ce,t],$=()=>["",cn,wn],I=()=>["auto",Ls,ce],J=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],X=()=>["solid","dashed","dotted","double","none"],q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],Z=()=>["start","end","center","between","around","evenly","stretch"],re=()=>["","0",ce],de=()=>["auto","avoid","all","avoid-page","page","left","right","column"],ge=()=>[Ls,ce];return{cacheSize:500,separator:":",theme:{colors:[wr],spacing:[cn,wn],blur:["none","",Sn,ce],brightness:ge(),borderColor:[e],borderRadius:["none","","full",Sn,ce],borderSpacing:O(),borderWidth:$(),contrast:ge(),grayscale:re(),hueRotate:ge(),invert:re(),gap:O(),gradientColorStops:[e],gradientColorStopPositions:[wb,wn],inset:L(),margin:L(),opacity:ge(),padding:O(),saturate:ge(),scale:ge(),sepia:re(),skew:ge(),space:O(),translate:O()},classGroups:{aspect:[{aspect:["auto","square","video",ce]}],container:["container"],columns:[{columns:[Sn]}],"break-after":[{"break-after":de()}],"break-before":[{"break-before":de()}],"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:[...J(),ce]}],overflow:[{overflow:D()}],"overflow-x":[{"overflow-x":D()}],"overflow-y":[{"overflow-y":D()}],overscroll:[{overscroll:j()}],"overscroll-x":[{"overscroll-x":j()}],"overscroll-y":[{"overscroll-y":j()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[p]}],"inset-x":[{"inset-x":[p]}],"inset-y":[{"inset-y":[p]}],start:[{start:[p]}],end:[{end:[p]}],top:[{top:[p]}],right:[{right:[p]}],bottom:[{bottom:[p]}],left:[{left:[p]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",br,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",br,ce]}],"grid-cols":[{"grid-cols":[wr]}],"col-start-end":[{col:["auto",{span:["full",br,ce]},ce]}],"col-start":[{"col-start":I()}],"col-end":[{"col-end":I()}],"grid-rows":[{"grid-rows":[wr]}],"row-start-end":[{row:["auto",{span:[br,ce]},ce]}],"row-start":[{"row-start":I()}],"row-end":[{"row-end":I()}],"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",...Z()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Z(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Z(),"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:[y]}],mx:[{mx:[y]}],my:[{my:[y]}],ms:[{ms:[y]}],me:[{me:[y]}],mt:[{mt:[y]}],mr:[{mr:[y]}],mb:[{mb:[y]}],ml:[{ml:[y]}],"space-x":[{"space-x":[P]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[P]}],"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:[Sn]},Sn]}],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",Sn,wn]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",ha]}],"font-family":[{font:[wr]}],"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",Ls,ha]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",cn,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:[...X(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",cn,wn]}],"underline-offset":[{"underline-offset":["auto",cn,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:O()}],"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:[...J(),Tb]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",_b]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Eb]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[g]}],"gradient-via":[{via:[g]}],"gradient-to":[{to:[g]}],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:[...X(),"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:X()}],"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:["",...X()]}],"outline-offset":[{"outline-offset":[cn,ce]}],"outline-w":[{outline:[cn,wn]}],"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":[cn,wn]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Sn,Ab]}],"shadow-color":[{shadow:[wr]}],opacity:[{opacity:[v]}],"mix-blend":[{"mix-blend":[...q(),"plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":q()}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[s]}],contrast:[{contrast:[c]}],"drop-shadow":[{"drop-shadow":["","none",Sn,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:[br,ce]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[A]}],"skew-y":[{"skew-y":[A]}],"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":O()}],"scroll-mx":[{"scroll-mx":O()}],"scroll-my":[{"scroll-my":O()}],"scroll-ms":[{"scroll-ms":O()}],"scroll-me":[{"scroll-me":O()}],"scroll-mt":[{"scroll-mt":O()}],"scroll-mr":[{"scroll-mr":O()}],"scroll-mb":[{"scroll-mb":O()}],"scroll-ml":[{"scroll-ml":O()}],"scroll-p":[{"scroll-p":O()}],"scroll-px":[{"scroll-px":O()}],"scroll-py":[{"scroll-py":O()}],"scroll-ps":[{"scroll-ps":O()}],"scroll-pe":[{"scroll-pe":O()}],"scroll-pt":[{"scroll-pt":O()}],"scroll-pr":[{"scroll-pr":O()}],"scroll-pb":[{"scroll-pb":O()}],"scroll-pl":[{"scroll-pl":O()}],"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:[cn,wn,ha]}],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"]}}},jb=hb(kb);function W(...e){return jb(Gh(e))}const Ob=Hh,Db=qh,Mb=Xc,Fb=Zh,ip=x.forwardRef(({className:e,...t},n)=>h.jsx(Oo,{className:W("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}));ip.displayName=Oo.displayName;const Lb=Yc("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"}}),op=x.forwardRef(({side:e="right",className:t,children:n,...s},r)=>h.jsxs(Fb,{children:[h.jsx(ip,{}),h.jsxs(Do,{ref:r,className:W(Lb({side:e}),t),...s,children:[h.jsxs(Xc,{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:[h.jsx(Jc,{className:"size-8"}),h.jsx("span",{className:"sr-only",children:"Close"})]}),n]})]}));op.displayName=Do.displayName;const ap=({className:e,...t})=>h.jsx("div",{className:W("flex flex-col space-y-2 text-center sm:text-left",e),...t});ap.displayName="SheetHeader";const Ib=x.forwardRef(({className:e,...t},n)=>h.jsx(Mo,{ref:n,className:W("text-lg font-semibold text-foreground",e),...t}));Ib.displayName=Mo.displayName;const Vb=x.forwardRef(({className:e,...t},n)=>h.jsx(Fo,{ref:n,className:W("text-sm text-muted-foreground",e),...t}));Vb.displayName=Fo.displayName;const Bb=Yc("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"}}),it=x.forwardRef(({className:e,variant:t,size:n,loading:s,children:r,asChild:i=!1,...o},a)=>{const c=i?cr:"button";return h.jsx(c,{className:W(Bb({variant:t,size:n,className:e})),ref:a,...o,children:s?h.jsx(Jh,{className:"w-5 h-5 animate-spin"}):r})});it.displayName="Button";const Ub=(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);us(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)},Vu={},za=(e,t,n,s)=>{us(n)&&Vu[n]||(us(n)&&(Vu[n]=new Date),Ub(e,t,n,s))},cp=(e,t)=>()=>{if(e.isInitialized)t();else{const n=()=>{setTimeout(()=>{e.off("initialized",n)},0),t()};e.on("initialized",n)}},Wa=(e,t,n)=>{e.loadNamespaces(t,cp(e,n))},Bu=(e,t,n,s)=>{if(us(n)&&(n=[n]),e.options.preload&&e.options.preload.indexOf(t)>-1)return Wa(e,n,s);n.forEach(r=>{e.options.ns.indexOf(r)<0&&e.options.ns.push(r)}),e.loadLanguages(t,cp(e,s))},$b=(e,t,n={})=>!t.languages||!t.languages.length?(za(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}}),us=e=>typeof e=="string",zb=e=>typeof e=="object"&&e!==null,Wb=/&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g,Hb={"&":"&","&":"&","<":"<","<":"<",">":">",">":">","'":"'","'":"'",""":'"',""":'"'," ":" "," ":" ","©":"©","©":"©","®":"®","®":"®","…":"…","…":"…","/":"/","/":"/"},qb=e=>Hb[e],Zb=e=>e.replace(Wb,qb);let Ha={bindI18n:"languageChanged",bindI18nStore:"",transEmptyNodeValue:"",transSupportBasicHtmlNodes:!0,transWrapTextNodes:"",transKeepBasicHtmlNodesFor:["br","strong","i","p"],useSuspense:!0,unescape:Zb};const Kb=(e={})=>{Ha={...Ha,...e}},Gb=()=>Ha;let lp;const Qb=e=>{lp=e},Xb=()=>lp,hN={type:"3rdParty",init(e){Kb(e.options.react),Qb(e)}},Yb=x.createContext();class Jb{constructor(){this.usedNamespaces={}}addUsedNamespaces(t){t.forEach(n=>{this.usedNamespaces[n]||(this.usedNamespaces[n]=!0)})}getUsedNamespaces(){return Object.keys(this.usedNamespaces)}}const ew=(e,t)=>{const n=x.useRef();return x.useEffect(()=>{n.current=e},[e,t]),n.current},up=(e,t,n,s)=>e.getFixedT(t,n,s),tw=(e,t,n,s)=>x.useCallback(up(e,t,n,s),[e,t,n,s]),_s=(e,t={})=>{var T,S,A,P;const{i18n:n}=t,{i18n:s,defaultNS:r}=x.useContext(Yb)||{},i=n||s||Xb();if(i&&!i.reportNamespaces&&(i.reportNamespaces=new Jb),!i){za(i,"NO_I18NEXT_INSTANCE","useTranslation: You will need to pass in an i18next instance by using initReactI18next");const E=(D,L)=>us(L)?L:zb(L)&&us(L.defaultValue)?L.defaultValue:Array.isArray(D)?D[D.length-1]:D,j=[E,{},!1];return j.t=E,j.i18n={},j.ready=!1,j}(T=i.options.react)!=null&&T.wait&&za(i,"DEPRECATED_OPTION","useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");const o={...Gb(),...i.options.react,...t},{useSuspense:a,keyPrefix:c}=o;let l=e||r||((S=i.options)==null?void 0:S.defaultNS);l=us(l)?[l]:l||["translation"],(P=(A=i.reportNamespaces).addUsedNamespaces)==null||P.call(A,l);const u=(i.isInitialized||i.initializedStoreOnce)&&l.every(E=>$b(E,i,o)),d=tw(i,t.lng||null,o.nsMode==="fallback"?l:l[0],c),f=()=>d,g=()=>up(i,t.lng||null,o.nsMode==="fallback"?l:l[0],c),[m,p]=x.useState(f);let y=l.join();t.lng&&(y=`${t.lng}${y}`);const v=ew(y),b=x.useRef(!0);x.useEffect(()=>{const{bindI18n:E,bindI18nStore:j}=o;b.current=!0,!u&&!a&&(t.lng?Bu(i,t.lng,l,()=>{b.current&&p(g)}):Wa(i,l,()=>{b.current&&p(g)})),u&&v&&v!==y&&b.current&&p(g);const D=()=>{b.current&&p(g)};return E&&(i==null||i.on(E,D)),j&&(i==null||i.store.on(j,D)),()=>{b.current=!1,i&&(E==null||E.split(" ").forEach(L=>i.off(L,D))),j&&i&&j.split(" ").forEach(L=>i.store.off(L,D))}},[i,y]),x.useEffect(()=>{b.current&&u&&p(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(E=>{t.lng?Bu(i,t.lng,l,()=>E()):Wa(i,l,()=>E())})},dp=({className:e})=>h.jsx("div",{className:W("",e),children:h.jsx("img",{src:"/logo.svg",alt:"logo",className:"md:size-auto h-10"})}),fp=({className:e,image:t,title:n,iconClassName:s})=>h.jsxs("article",{className:W("bg-surface_container relative hover:bg-teritary_surface_container transition-all md:px-6 px-2 md:h-[224px] h-[124px]",e),children:[h.jsx("div",{className:"bg-primary size-full -z-[10] absolute top-2.5 left-2.5"}),h.jsx("div",{className:W("md:size-[84px] size-12 bg-teritary p-3",s),children:h.jsx("img",{src:t.path,alt:"theme icon"})}),h.jsx("h3",{className:"md:mt-6 mt-2 md:text-xl text-sm",children:n})]}),nw=({className:e,title:t,text:n})=>h.jsxs("article",{className:W("px-6 py-4 relative bg-surface_container h-[160px] w-full overflow-hidden",e),children:[h.jsx("img",{src:"/about-card-bg.svg",className:"absolute top-2 right-0"}),h.jsx("h2",{className:"text-primary text-[32px] semibold leading-[130%] mb-4",children:n}),h.jsx("h4",{className:"text-on_surface normal text-base",children:t})]}),sw=({className:e,title:t,text:n,img:s,link:r,btnText:i})=>h.jsxs("article",{className:W("md:px-8 md:py-6 p-4 relative overflow-hidden h-[296px] md:w-full w-[300px] text-on_primary",e),children:[h.jsx("div",{className:"absolute size-full z-10 top-0 left-0 bg-gradient-to-r from-25% from-primary to-primary/20 "}),h.jsx("img",{src:s,className:"absolute size-full top-0 right-0 object-cover"}),h.jsxs("div",{className:"relative z-20 h-full",children:[h.jsxs("div",{className:"",children:[h.jsx("h4",{className:"md:text-2xl text-lg mb-4 max-w-[444px] z-20 h-16",children:t}),h.jsx("p",{className:"md:text-base text-sm normal max-w-[360px] z-20",children:n})]}),h.jsx(Ce,{className:"absolute bottom-0 left-0",target:"_blank",to:r,children:h.jsxs(it,{className:"text-sm px-0 h-fit py-0 z-20",variant:"link",children:[i," ",h.jsx(Bx,{})]})})]})]}),hp=({className:e,title:t,text:n,bottomClassName:s})=>h.jsxs("div",{className:W("rounded-t-[4px] overflow-hidden",e),children:[h.jsx("div",{className:"bg-teritary text-white flex items-center h-11 px-4",children:t}),h.jsx("div",{className:W("h-14 bg-surface_container semibold flex items-center text-lg px-4",s),children:n})]}),rw=({className:e,text:t,title:n,image:s})=>h.jsxs("div",{className:W("flex items-center gap-4",e),children:[h.jsx("div",{className:"bg-secondary_container size-16 rounded-[2px] p-3",children:h.jsx("img",{src:s.path,alt:"contact icon",className:"size-full"})}),h.jsxs("div",{className:"flex flex-col gap-2",children:[h.jsx("h5",{className:"text-sm text-[#454545]",children:n}),h.jsx("h4",{className:"text-[#171717] semibold",children:t})]})]}),tl=x.createContext({});function nl(e){const t=x.useRef(null);return t.current===null&&(t.current=e()),t.current}const Lo=x.createContext(null),sl=x.createContext({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"});class iw 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 ow({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(sl);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 g=document.createElement("style");return o&&(g.nonce=o),document.head.appendChild(g),g.sheet&&g.sheet.insertRule(` [data-motion-pop-id="${s}"] { position: absolute !important; width: ${a}px !important; @@ -138,17 +138,17 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do ${f}px !important; top: ${l}px !important; } - `),()=>{document.head.removeChild(g)}},[t]),h.jsx(sw,{isPresent:t,childRef:r,sizeRef:i,children:x.cloneElement(e,{ref:r})})}const iw=({children:e,initial:t,isPresent:n,onExitComplete:s,custom:r,presenceAffectsLayout:i,mode:o,anchorX:a})=>{const c=nl(ow),l=x.useId(),u=x.useCallback(f=>{c.set(f,!0);for(const g of c.values())if(!g)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,g)=>c.set(g,!1))},[n]),x.useEffect(()=>{!n&&!c.size&&s&&s()},[n]),o==="popLayout"&&(e=h.jsx(rw,{isPresent:n,anchorX:a,children:e})),h.jsx(Lo.Provider,{value:d,children:e})};function ow(){return new Map}function dp(e=!0){const t=x.useContext(Lo);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 Ii=e=>e.key||"";function Bu(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const rl=typeof window<"u",fp=rl?x.useLayoutEffect:x.useEffect,pk=({children:e,custom:t,initial:n=!0,onExitComplete:s,presenceAffectsLayout:r=!0,mode:i="sync",propagate:o=!1,anchorX:a="left"})=>{const[c,l]=dp(o),u=x.useMemo(()=>Bu(e),[e]),d=o&&!c?[]:u.map(Ii),f=x.useRef(!0),g=x.useRef(u),m=nl(()=>new Map),[p,y]=x.useState(u),[v,b]=x.useState(u);fp(()=>{f.current=!1,g.current=u;for(let S=0;S{const A=Ii(S),P=o&&!c?!1:u===v||d.includes(A),E=()=>{if(m.has(A))m.set(A,!0);else return;let j=!0;m.forEach(D=>{D||(j=!1)}),j&&(T==null||T(),b(g.current),o&&(l==null||l()),s&&s())};return h.jsx(iw,{isPresent:P,initial:!f.current||n?void 0:!1,custom:P?void 0:t,presenceAffectsLayout:r,mode:i,onExitComplete:P?void 0:E,anchorX:a,children:S},A)})})},gt=e=>e;let qa=gt;const aw={skipAnimations:!1,useManualTiming:!1};function cw(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 g=d&&s?t:n;return u&&i.add(l),g.has(l)||g.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 Vi=["read","resolveKeyframes","update","preRender","render","postRender"],lw=40;function hp(e,t){let n=!1,s=!0;const r={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=Vi.reduce((v,b)=>(v[b]=cw(i),v),{}),{read:a,resolveKeyframes:c,update:l,preRender:u,render:d,postRender:f}=o,g=()=>{const v=performance.now();n=!1,r.delta=s?1e3/60:Math.max(Math.min(v-r.timestamp,lw),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(g))},m=()=>{n=!0,s=!0,r.isProcessing||e(g)};return{schedule:Vi.reduce((v,b)=>{const w=o[b];return v[b]=(T,S=!1,A=!1)=>(n||m(),w.schedule(T,S,A)),v},{}),cancel:v=>{for(let b=0;bUu[e].some(n=>!!t[n])};function uw(e){for(const t in e)er[t]={...er[t],...e[t]}}const dw=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 ro(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||dw.has(e)}let mp=e=>!ro(e);function fw(e){e&&(mp=t=>t.startsWith("on")?!ro(t):e(t))}try{fw(require("@emotion/is-prop-valid").default)}catch{}function hw(e,t,n){const s={};for(const r in e)r==="values"&&typeof e.values=="object"||(mp(r)||n===!0&&ro(r)||!t&&!ro(r)||e.draggable&&r.startsWith("onDrag"))&&(s[r]=e[r]);return s}function pw(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 Io=x.createContext({});function Ur(e){return typeof e=="string"||Array.isArray(e)}function Vo(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const il=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ol=["initial",...il];function Bo(e){return Vo(e.animate)||ol.some(t=>Ur(e[t]))}function gp(e){return!!(Bo(e)||e.variants)}function mw(e,t){if(Bo(e)){const{initial:n,animate:s}=e;return{initial:n===!1||Ur(n)?n:void 0,animate:Ur(s)?s:void 0}}return e.inherit!==!1?t:{}}function gw(e){const{initial:t,animate:n}=mw(e,x.useContext(Io));return x.useMemo(()=>({initial:t,animate:n}),[$u(t),$u(n)])}function $u(e){return Array.isArray(e)?e.join(" "):e}const yw=Symbol.for("motionComponentSymbol");function ks(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function vw(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):ks(n)&&(n.current=s))},[t])}const al=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),xw="framerAppearId",yp="data-"+al(xw),{schedule:cl,cancel:mk}=hp(queueMicrotask,!1),vp=x.createContext({});function bw(e,t,n,s,r){var i,o;const{visualElement:a}=x.useContext(Io),c=x.useContext(pp),l=x.useContext(Lo),u=x.useContext(sl).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,g=x.useContext(vp);f&&!f.projection&&r&&(f.type==="html"||f.type==="svg")&&ww(d.current,n,r,g);const m=x.useRef(!1);x.useInsertionEffect(()=>{f&&m.current&&f.update(n,l)});const p=n[yp],y=x.useRef(!!p&&!(!((i=window.MotionHandoffIsComplete)===null||i===void 0)&&i.call(window,p))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,p)));return fp(()=>{f&&(m.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),cl.render(f.render),y.current&&f.animationState&&f.animationState.animateChanges())}),x.useEffect(()=>{f&&(!y.current&&f.animationState&&f.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var v;(v=window.MotionHandoffMarkAsComplete)===null||v===void 0||v.call(window,p)}),y.current=!1))}),f}function ww(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:xp(e.parent)),e.projection.setOptions({layoutId:r,layout:i,alwaysMeasureLayout:!!o||a&&ks(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:s,layoutScroll:c,layoutRoot:l})}function xp(e){if(e)return e.options.allowProjection!==!1?e.projection:xp(e.parent)}function Sw({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:s,Component:r}){var i,o;e&&uw(e);function a(l,u){let d;const f={...x.useContext(sl),...l,layoutId:_w(l)},{isStatic:g}=f,m=gw(l),p=s(l,g);if(!g&&rl){Tw();const y=Cw(f);d=y.MeasureLayout,m.visualElement=bw(r,p,f,t,y.ProjectionNode)}return h.jsxs(Io.Provider,{value:m,children:[d&&m.visualElement?h.jsx(d,{visualElement:m.visualElement,...f}):null,n(r,l,vw(p,m.visualElement,u),p,g,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[yw]=r,c}function _w({layoutId:e}){const t=x.useContext(tl).id;return t&&e!==void 0?t+"-"+e:e}function Tw(e,t){x.useContext(pp).strict}function Cw(e){const{drag:t,layout:n}=er;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 Ew=["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 ll(e){return typeof e!="string"||e.includes("-")?!1:!!(Ew.indexOf(e)>-1||/[A-Z]/u.test(e))}function zu(e){const t=[{},{}];return e==null||e.values.forEach((n,s)=>{t[0][s]=n.get(),t[1][s]=n.getVelocity()}),t}function ul(e,t,n,s){if(typeof t=="function"){const[r,i]=zu(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]=zu(s);t=t(n!==void 0?n:e.custom,r,i)}return t}const Za=e=>Array.isArray(e),Aw=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Pw=e=>Za(e)?e[e.length-1]||0:e,Xe=e=>!!(e&&e.getVelocity);function Gi(e){const t=Xe(e)?e.get():e;return Aw(t)?t.toValue():t}function Rw({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},s,r,i){const o={latestValues:kw(s,r,i,e),renderState:t()};return n&&(o.onMount=a=>n({props:s,current:a,...o}),o.onUpdate=a=>n(a)),o}const bp=e=>(t,n)=>{const s=x.useContext(Io),r=x.useContext(Lo),i=()=>Rw(e,t,s,r);return n?i():nl(i)};function kw(e,t,n,s){const r={},i=s(e,{});for(const f in i)r[f]=Gi(i[f]);let{initial:o,animate:a}=e;const c=Bo(e),l=gp(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"&&!Vo(d)){const f=Array.isArray(d)?d:[d];for(let g=0;gt=>typeof t=="string"&&t.startsWith(e),dl=wp("--"),Nw=wp("var(--"),fl=e=>Nw(e)?jw.test(e.split("/*")[0].trim()):!1,jw=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Sp=(e,t)=>t&&typeof e=="number"?t.transform(e):e,gn=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},$r={...fr,transform:e=>gn(0,1,e)},Bi={...fr,default:1},vi=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Tn=vi("deg"),Jt=vi("%"),ee=vi("px"),Ow=vi("vh"),Dw=vi("vw"),Wu={...Jt,parse:e=>Jt.parse(e)/100,transform:e=>Jt.transform(e*100)},Mw={borderWidth:ee,borderTopWidth:ee,borderRightWidth:ee,borderBottomWidth:ee,borderLeftWidth:ee,borderRadius:ee,radius:ee,borderTopLeftRadius:ee,borderTopRightRadius:ee,borderBottomRightRadius:ee,borderBottomLeftRadius:ee,width:ee,maxWidth:ee,height:ee,maxHeight:ee,top:ee,right:ee,bottom:ee,left:ee,padding:ee,paddingTop:ee,paddingRight:ee,paddingBottom:ee,paddingLeft:ee,margin:ee,marginTop:ee,marginRight:ee,marginBottom:ee,marginLeft:ee,backgroundPositionX:ee,backgroundPositionY:ee},Fw={rotate:Tn,rotateX:Tn,rotateY:Tn,rotateZ:Tn,scale:Bi,scaleX:Bi,scaleY:Bi,scaleZ:Bi,skew:Tn,skewX:Tn,skewY:Tn,distance:ee,translateX:ee,translateY:ee,translateZ:ee,x:ee,y:ee,z:ee,perspective:ee,transformPerspective:ee,opacity:$r,originX:Wu,originY:Wu,originZ:ee},Hu={...fr,transform:Math.round},hl={...Mw,...Fw,zIndex:Hu,size:ee,fillOpacity:$r,strokeOpacity:$r,numOctaves:Hu},Lw={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Iw=dr.length;function Vw(e,t,n){let s="",r=!0;for(let i=0;i({style:{},transform:{},transformOrigin:{},vars:{}}),_p=()=>({...gl(),attrs:{}}),yl=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Tp(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 Cp=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 Ep(e,t,n,s){Tp(e,t,void 0,s);for(const r in t.attrs)e.setAttribute(Cp.has(r)?r:al(r),t.attrs[r])}const zr={};function Ww(e){for(const t in e)zr[t]=e[t],dl(t)&&(zr[t].isCSSVariable=!0)}function Ap(e,{layout:t,layoutId:n}){return _s.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!zr[e]||e==="opacity")}function vl(e,t,n){var s;const{style:r}=e,i={};for(const o in r)(Xe(r[o])||t.style&&Xe(t.style[o])||Ap(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 Pp(e,t,n){const s=vl(e,t,n);for(const r in e)if(Xe(e[r])||Xe(t[r])){const i=dr.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;s[i]=e[r]}return s}function Hw(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 Zu=["x","y","width","height","cx","cy","r"],qw={useVisualState:bp({scrapeMotionValuesFromProps:Pp,createRenderState:_p,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(_s.has(a)){i=!0;break}}if(!i)return;let o=!t;if(t)for(let a=0;a{Hw(n,s),Te.render(()=>{ml(s,r,yl(n.tagName),e.transformTemplate),Ep(n,s)})})}})},Zw={useVisualState:bp({scrapeMotionValuesFromProps:vl,createRenderState:gl})};function Rp(e,t,n){for(const s in t)!Xe(t[s])&&!Ap(s,n)&&(e[s]=t[s])}function Kw({transformTemplate:e},t){return x.useMemo(()=>{const n=gl();return pl(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Gw(e,t){const n=e.style||{},s={};return Rp(s,n,e),Object.assign(s,Kw(e,t)),s}function Qw(e,t){const n={},s=Gw(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 Xw(e,t,n,s){const r=x.useMemo(()=>{const i=_p();return ml(i,t,yl(s),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};Rp(i,e.style,e),r.style={...i,...r.style}}return r}function Yw(e=!1){return(n,s,r,{latestValues:i},o)=>{const c=(ll(n)?Xw:Qw)(s,i,o,n),l=hw(s,typeof n=="string",e),u=n!==x.Fragment?{...l,...c,ref:r}:{},{children:d}=s,f=x.useMemo(()=>Xe(d)?d.get():d,[d]);return x.createElement(n,{...u,children:f})}}function Jw(e,t){return function(s,{forwardMotionProps:r}={forwardMotionProps:!1}){const o={...ll(s)?qw:Zw,preloadedFeatures:e,useRender:Yw(r),createVisualElement:t,Component:s};return Sw(o)}}function kp(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let s=0;s(Qi===void 0&&en.set(ze.isProcessing||aw.useManualTiming?ze.timestamp:performance.now()),Qi),set:e=>{Qi=e,queueMicrotask(e0)}};function bl(e,t){e.indexOf(t)===-1&&e.push(t)}function wl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Sl{constructor(){this.subscriptions=[]}add(t){return bl(this.subscriptions,t),()=>wl(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 n0{constructor(t,n={}){this.version="12.0.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,r=!0)=>{const i=en.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=en.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=t0(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 Sl);const s=this.events[t].add(n);return t==="change"?()=>{s(),Te.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=en.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Ku)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Ku);return jp(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 Wr(e,t){return new n0(e,t)}function s0(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Wr(n))}function r0(e,t){const n=Uo(e,t);let{transitionEnd:s={},transition:r={},...i}=n||{};i={...i,...s};for(const o in i){const a=Pw(i[o]);s0(e,o,a)}}function i0(e){return!!(Xe(e)&&e.add)}function Ka(e,t){const n=e.getValue("willChange");if(i0(n))return n.add(t)}function Op(e){return e.props[yp]}function _l(e){let t;return()=>(t===void 0&&(t=e()),t)}const o0=_l(()=>window.ScrollTimeline!==void 0);class a0{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(o0()&&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 c0 extends a0{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}const pn=e=>e*1e3,mn=e=>e/1e3;function Tl(e){return typeof e=="function"}function Gu(e,t){e.timeline=t,e.onfinish=null}const Cl=e=>Array.isArray(e)&&typeof e[0]=="number",l0={linearEasing:void 0};function u0(e,t){const n=_l(e);return()=>{var s;return(s=l0[t])!==null&&s!==void 0?s:n()}}const io=u0(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),tr=(e,t,n)=>{const s=t-e;return s===0?1:(n-e)/s},Dp=(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})`,Ga={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Er([0,.65,.55,1]),circOut:Er([.55,0,1,.45]),backIn:Er([.31,.01,.66,-.59]),backOut:Er([.33,1.53,.69,.99])};function Fp(e,t){if(e)return typeof e=="function"&&io()?Dp(e,t):Cl(e)?Er(e):Array.isArray(e)?e.map(n=>Fp(n,t)||Ga.easeOut):Ga[e]}const Lp=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,d0=1e-7,f0=12;function h0(e,t,n,s,r){let i,o,a=0;do o=t+(n-t)/2,i=Lp(o,s,r)-e,i>0?n=o:t=o;while(Math.abs(i)>d0&&++ah0(i,0,1,e,n);return i=>i===0||i===1?i:Lp(r(i),t,s)}const Ip=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Vp=e=>t=>1-e(1-t),Bp=xi(.33,1.53,.69,.99),El=Vp(Bp),Up=Ip(El),$p=e=>(e*=2)<1?.5*El(e):.5*(2-Math.pow(2,-10*(e-1))),Al=e=>1-Math.sin(Math.acos(e)),zp=Vp(Al),Wp=Ip(Al),Hp=e=>/^0[^.\s]+$/u.test(e);function p0(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Hp(e):!0}const Or=e=>Math.round(e*1e5)/1e5,Pl=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function m0(e){return e==null}const g0=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Rl=(e,t)=>n=>!!(typeof n=="string"&&g0.test(n)&&n.startsWith(e)||t&&!m0(n)&&Object.prototype.hasOwnProperty.call(n,t)),qp=(e,t,n)=>s=>{if(typeof s!="string")return s;const[r,i,o,a]=s.match(Pl);return{[e]:parseFloat(r),[t]:parseFloat(i),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},y0=e=>gn(0,255,e),ma={...fr,transform:e=>Math.round(y0(e))},Yn={test:Rl("rgb","red"),parse:qp("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+ma.transform(e)+", "+ma.transform(t)+", "+ma.transform(n)+", "+Or($r.transform(s))+")"};function v0(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 Qa={test:Rl("#"),parse:v0,transform:Yn.transform},Ns={test:Rl("hsl","hue"),parse:qp("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+Jt.transform(Or(t))+", "+Jt.transform(Or(n))+", "+Or($r.transform(s))+")"},Ge={test:e=>Yn.test(e)||Qa.test(e)||Ns.test(e),parse:e=>Yn.test(e)?Yn.parse(e):Ns.test(e)?Ns.parse(e):Qa.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Yn.transform(e):Ns.transform(e)},x0=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function b0(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Pl))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(x0))===null||n===void 0?void 0:n.length)||0)>0}const Zp="number",Kp="color",w0="var",S0="var(",Qu="${}",_0=/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 Hr(e){const t=e.toString(),n=[],s={color:[],number:[],var:[]},r=[];let i=0;const a=t.replace(_0,c=>(Ge.test(c)?(s.color.push(i),r.push(Kp),n.push(Ge.parse(c))):c.startsWith(S0)?(s.var.push(i),r.push(w0),n.push(c)):(s.number.push(i),r.push(Zp),n.push(parseFloat(c))),++i,Qu)).split(Qu);return{values:n,split:a,indexes:s,types:r}}function Gp(e){return Hr(e).values}function Qp(e){const{split:t,types:n}=Hr(e),s=t.length;return r=>{let i="";for(let o=0;otypeof e=="number"?0:e;function C0(e){const t=Gp(e);return Qp(e)(t.map(T0))}const Fn={test:b0,parse:Gp,createTransformer:Qp,getAnimatableNone:C0},E0=new Set(["brightness","contrast","saturate","opacity"]);function A0(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=n.match(Pl)||[];if(!s)return e;const r=n.replace(s,"");let i=E0.has(t)?1:0;return s!==n&&(i*=100),t+"("+i+r+")"}const P0=/\b([a-z-]*)\(.*?\)/gu,Xa={...Fn,getAnimatableNone:e=>{const t=e.match(P0);return t?t.map(A0).join(" "):e}},R0={...hl,color:Ge,backgroundColor:Ge,outlineColor:Ge,fill:Ge,stroke:Ge,borderColor:Ge,borderTopColor:Ge,borderRightColor:Ge,borderBottomColor:Ge,borderLeftColor:Ge,filter:Xa,WebkitFilter:Xa},kl=e=>R0[e];function Xp(e,t){let n=kl(e);return n!==Xa&&(n=Fn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const k0=new Set(["auto","none","0"]);function N0(e,t,n){let s=0,r;for(;se===fr||e===ee,Yu=(e,t)=>parseFloat(e.split(", ")[t]),Ju=(e,t)=>(n,{transform:s})=>{if(s==="none"||!s)return 0;const r=s.match(/^matrix3d\((.+)\)$/u);if(r)return Yu(r[1],t);{const i=s.match(/^matrix\((.+)\)$/u);return i?Yu(i[1],e):0}},j0=new Set(["x","y","z"]),O0=dr.filter(e=>!j0.has(e));function D0(e){const t=[];return O0.forEach(n=>{const s=e.getValue(n);s!==void 0&&(t.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),t}const nr={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:Ju(4,13),y:Ju(5,14)};nr.translateX=nr.x;nr.translateY=nr.y;const us=new Set;let Ya=!1,Ja=!1;function Yp(){if(Ja){const e=Array.from(us).filter(s=>s.needsMeasurement),t=new Set(e.map(s=>s.element)),n=new Map;t.forEach(s=>{const r=D0(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)})}Ja=!1,Ya=!1,us.forEach(e=>e.complete()),us.clear()}function Jp(){us.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ja=!0)})}function M0(){Jp(),Yp()}class Nl{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?(us.add(this),Ya||(Ya=!0,Te.read(Jp),Te.resolveKeyframes(Yp))):(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),F0=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function L0(e){const t=F0.exec(e);if(!t)return[,];const[,n,s,r]=t;return[`--${n??s}`,r]}function tm(e,t,n=1){const[s,r]=L0(e);if(!s)return;const i=window.getComputedStyle(t).getPropertyValue(s);if(i){const o=i.trim();return em(o)?parseFloat(o):o}return fl(r)?tm(r,t,n+1):r}const nm=e=>t=>t.test(e),I0={test:e=>e==="auto",parse:e=>e},sm=[fr,ee,Jt,Tn,Dw,Ow,I0],ed=e=>sm.find(nm(e));class rm extends Nl{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 td=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Fn.test(e)||e==="0")&&!e.startsWith("url("));function V0(e){const t=e[0];if(e.length===1)return!0;for(let n=0;ne!==null;function $o(e,{repeat:t,repeatType:n="loop"},s){const r=e.filter(U0),i=t&&n!=="loop"&&t%2===1?0:r.length-1;return!i||s===void 0?r[i]:s}const $0=40;class im{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=en.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>$0?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&M0(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=en.now(),this.hasAttemptedResolve=!0;const{name:s,type:r,velocity:i,delay:o,onComplete:a,onUpdate:c,isGenerator:l}=this.options;if(!l&&!B0(t,s,r,i))if(o)this.options.duration=0;else{c&&c($o(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 ec=2e4;function om(e){let t=0;const n=50;let s=e.next(t);for(;!s.done&&t=ec?1/0:t}const Pe=(e,t,n)=>e+(t-e)*n;function ga(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 z0({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=ga(c,a,e+1/3),i=ga(c,a,e),o=ga(c,a,e-1/3)}return{red:Math.round(r*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:s}}function oo(e,t){return n=>n>0?t:e}const ya=(e,t,n)=>{const s=e*e,r=n*(t*t-s)+s;return r<0?0:Math.sqrt(r)},W0=[Qa,Yn,Ns],H0=e=>W0.find(t=>t.test(e));function nd(e){const t=H0(e);if(!t)return!1;let n=t.parse(e);return t===Ns&&(n=z0(n)),n}const sd=(e,t)=>{const n=nd(e),s=nd(t);if(!n||!s)return oo(e,t);const r={...n};return i=>(r.red=ya(n.red,s.red,i),r.green=ya(n.green,s.green,i),r.blue=ya(n.blue,s.blue,i),r.alpha=Pe(n.alpha,s.alpha,i),Yn.transform(r))},q0=(e,t)=>n=>t(e(n)),bi=(...e)=>e.reduce(q0),tc=new Set(["none","hidden"]);function Z0(e,t){return tc.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function K0(e,t){return n=>Pe(e,t,n)}function jl(e){return typeof e=="number"?K0:typeof e=="string"?fl(e)?oo:Ge.test(e)?sd:X0:Array.isArray(e)?am:typeof e=="object"?Ge.test(e)?sd:G0:oo}function am(e,t){const n=[...e],s=n.length,r=e.map((i,o)=>jl(i)(i,t[o]));return i=>{for(let o=0;o{for(const i in s)n[i]=s[i](r);return n}}function Q0(e,t){var n;const s=[],r={color:0,var:0,number:0};for(let i=0;i{const n=Fn.createTransformer(t),s=Hr(e),r=Hr(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?tc.has(e)&&!r.values.length||tc.has(t)&&!s.values.length?Z0(e,t):bi(am(Q0(s,r),r.values),n):oo(e,t)};function cm(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Pe(e,t,n):jl(e)(e,t)}const Y0=5;function lm(e,t,n){const s=Math.max(t-Y0,0);return jp(n-e(s),t-s)}const Ne={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},rd=.001;function J0({duration:e=Ne.duration,bounce:t=Ne.bounce,velocity:n=Ne.velocity,mass:s=Ne.mass}){let r,i,o=1-t;o=gn(Ne.minDamping,Ne.maxDamping,o),e=gn(Ne.minDuration,Ne.maxDuration,mn(e)),o<1?(r=l=>{const u=l*o,d=u*e,f=u-n,g=nc(l,o),m=Math.exp(-d);return rd-f/g*m},i=l=>{const d=l*o*e,f=d*n+n,g=Math.pow(o,2)*Math.pow(l,2)*e,m=Math.exp(-d),p=nc(Math.pow(l,2),o);return(-r(l)+rd>0?-1:1)*((f-g)*m)/p}):(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=tS(r,i,a);if(e=pn(e),isNaN(c))return{stiffness:Ne.stiffness,damping:Ne.damping,duration:e};{const l=Math.pow(c,2)*s;return{stiffness:l,damping:o*2*Math.sqrt(s*l),duration:e}}}const eS=12;function tS(e,t,n){let s=n;for(let r=1;re[n]!==void 0)}function rS(e){let t={velocity:Ne.velocity,stiffness:Ne.stiffness,damping:Ne.damping,mass:Ne.mass,isResolvedFromDuration:!1,...e};if(!id(e,sS)&&id(e,nS))if(e.visualDuration){const n=e.visualDuration,s=2*Math.PI/(n*1.2),r=s*s,i=2*gn(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:Ne.mass,stiffness:r,damping:i}}else{const n=J0(e);t={...t,...n,mass:Ne.mass},t.isResolvedFromDuration=!0}return t}function um(e=Ne.visualDuration,t=Ne.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:g}=rS({...n,velocity:-mn(n.velocity||0)}),m=f||0,p=l/(2*Math.sqrt(c*u)),y=o-i,v=mn(Math.sqrt(c/u)),b=Math.abs(y)<5;s||(s=b?Ne.restSpeed.granular:Ne.restSpeed.default),r||(r=b?Ne.restDelta.granular:Ne.restDelta.default);let w;if(p<1){const S=nc(v,p);w=A=>{const P=Math.exp(-p*v*A);return o-P*((m+p*v*y)/S*Math.sin(S*A)+y*Math.cos(S*A))}}else if(p===1)w=S=>o-Math.exp(-v*S)*(y+(m+v*y)*S);else{const S=v*Math.sqrt(p*p-1);w=A=>{const P=Math.exp(-p*v*A),E=Math.min(S*A,300);return o-P*((m+p*v*y)*Math.sinh(E)+S*y*Math.cosh(E))/S}}const T={calculatedDuration:g&&d||null,next:S=>{const A=w(S);if(g)a.done=S>=d;else{let P=0;p<1&&(P=S===0?pn(m):lm(w,S,A));const E=Math.abs(P)<=s,j=Math.abs(o-A)<=r;a.done=E&&j}return a.value=a.done?o:A,a},toString:()=>{const S=Math.min(om(T),ec),A=Dp(P=>T.next(S*P).value,S,30);return S+"ms "+A}};return T}function od({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},g=E=>a!==void 0&&Ec,m=E=>a===void 0?c:c===void 0||Math.abs(a-E)-p*Math.exp(-E/s),w=E=>v+b(E),T=E=>{const j=b(E),D=w(E);f.done=Math.abs(j)<=l,f.value=f.done?v:D};let S,A;const P=E=>{g(f.value)&&(S=E,A=um({keyframes:[f.value,m(f.value)],velocity:lm(w,E,f.value),damping:r,stiffness:i,restDelta:l,restSpeed:u}))};return P(0),{calculatedDuration:null,next:E=>{let j=!1;return!A&&S===void 0&&(j=!0,T(E),P(E)),S!==void 0&&E>=S?A.next(E-S):(!j&&T(E),f)}}}const iS=xi(.42,0,1,1),oS=xi(0,0,.58,1),dm=xi(.42,0,.58,1),aS=e=>Array.isArray(e)&&typeof e[0]!="number",ad={linear:gt,easeIn:iS,easeInOut:dm,easeOut:oS,circIn:Al,circInOut:Wp,circOut:zp,backIn:El,backInOut:Up,backOut:Bp,anticipate:$p},cd=e=>{if(Cl(e)){qa(e.length===4);const[t,n,s,r]=e;return xi(t,n,s,r)}else if(typeof e=="string")return qa(ad[e]!==void 0),ad[e];return e};function cS(e,t,n){const s=[],r=n||cm,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=cS(t,s,r),c=a.length,l=u=>{if(o&&u1)for(;dl(gn(e[0],e[i-1],u)):l}function uS(e,t){const n=e[e.length-1];for(let s=1;s<=t;s++){const r=tr(0,t,s);e.push(Pe(n,1,r))}}function dS(e){const t=[0];return uS(t,e.length-1),t}function fS(e,t){return e.map(n=>n*t)}function hS(e,t){return e.map(()=>t||dm).splice(0,e.length-1)}function ao({duration:e=300,keyframes:t,times:n,ease:s="easeInOut"}){const r=aS(s)?s.map(cd):cd(s),i={done:!1,value:t[0]},o=fS(n&&n.length===t.length?n:dS(t),e),a=lS(o,t,{ease:Array.isArray(r)?r:hS(t,r)});return{calculatedDuration:e,next:c=>(i.value=a(c),i.done=c>=e,i)}}const pS=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Te.update(t,!0),stop:()=>Mn(t),now:()=>ze.isProcessing?ze.timestamp:en.now()}},mS={decay:od,inertia:od,tween:ao,keyframes:ao,spring:um},gS=e=>e/100;class Ol extends im{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)||Nl,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=Tl(n)?n:mS[n]||ao;let c,l;a!==ao&&typeof t[0]!="number"&&(c=bi(gS,cm(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=om(u));const{calculatedDuration:d}=u,f=d+r,g=f*(s+1)-r;return{generator:u,mirroredGenerator:l,mapPercentToKeyframes:c,calculatedDuration:d,resolvedDuration:f,totalDuration:g}}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:E}=this.options;return{done:!0,value:E[E.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:g,repeatType:m,repeatDelay:p,onUpdate:y}=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(g){const E=Math.min(this.currentTime,u)/d;let j=Math.floor(E),D=E%1;!D&&E>=1&&(D=1),D===1&&j--,j=Math.min(j,g+1),!!(j%2)&&(m==="reverse"?(D=1-D,p&&(D-=p/d)):m==="mirror"&&(T=o)),w=gn(0,1,D)*d}const S=b?{done:!1,value:c[0]}:T.next(w);a&&(S.value=a(S.value));let{done:A}=S;!b&&l!==null&&(A=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&A);return P&&r!==void 0&&(S.value=$o(c,this.options,r)),y&&y(S.value),P&&this.finish(),S}get duration(){const{resolved:t}=this;return t?mn(t.calculatedDuration):0}get time(){return mn(this.currentTime)}set time(t){t=pn(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=mn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=pS,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 yS=new Set(["opacity","clipPath","filter","transform"]);function vS(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=Fp(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 xS=_l(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),co=10,bS=2e4;function wS(e){return Tl(e.type)||e.type==="spring"||!Mp(e.ease)}function SS(e,t){const n=new Ol({...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"&&io()&&_S(i)&&(i=fm[i]),wS(this.options)){const{onComplete:d,onUpdate:f,motionValue:g,element:m,...p}=this.options,y=SS(t,p);t=y.keyframes,t.length===1&&(t[1]=t[0]),s=y.duration,r=y.times,i=y.ease,o="keyframes"}const u=vS(a.owner.current,c,t,{...this.options,duration:s,times:r,ease:i});return u.startTime=l??this.calcStartTime(),this.pendingTimeline?(Gu(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{const{onComplete:d}=this.options;a.set($o(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 mn(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return mn(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.currentTime=pn(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;Gu(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,...g}=this.options,m=new Ol({...g,keyframes:s,duration:r,type:i,ease:o,times:a,isGenerator:!0}),p=pn(this.time);l.setWithVelocity(m.sample(p-co).value,m.sample(p).value,co)}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 xS()&&s&&yS.has(s)&&!c&&!l&&!r&&i!=="mirror"&&o!==0&&a!=="inertia"}}const TS={type:"spring",stiffness:500,damping:25,restSpeed:10},CS=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),ES={type:"keyframes",duration:.8},AS={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},PS=(e,{keyframes:t})=>t.length>2?ES:_s.has(e)?e.startsWith("scale")?CS(t[1]):TS:AS;function RS({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 Dl=(e,t,n,s={},r,i)=>o=>{const a=xl(s,e)||{},c=a.delay||s.delay||0;let{elapsed:l=0}=s;l=l-pn(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};RS(a)||(u={...u,...PS(e,u)}),u.duration&&(u.duration=pn(u.duration)),u.repeatDelay&&(u.repeatDelay=pn(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=$o(u.keyframes,a);if(f!==void 0)return Te.update(()=>{u.onUpdate(f),u.onComplete()}),new c0([])}return!i&&ld.supports(u)?new ld(u):new Ol(u)};function kS({protectedKeys:e,needsAnimating:t},n){const s=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,s}function hm(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),g=c[d];if(g===void 0||u&&kS(u,d))continue;const m={delay:n,...xl(o||{},d)};let p=!1;if(window.MotionHandoffAnimation){const v=Op(e);if(v){const b=window.MotionHandoffAnimation(v,d,Te);b!==null&&(m.startTime=b,p=!0)}}Ka(e,d),f.start(Dl(d,f,g,e.shouldReduceMotion&&Np.has(d)?{type:!1}:m,e,p));const y=f.animation;y&&l.push(y)}return a&&Promise.all(l).then(()=>{Te.update(()=>{a&&r0(e,a)})}),l}function sc(e,t,n={}){var s;const r=Uo(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(hm(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:f}=i;return NS(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 NS(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(jS).forEach((l,u)=>{l.notify("AnimationStart",t),o.push(sc(l,t,{...i,delay:n+c(u)}).then(()=>l.notify("AnimationComplete",t)))}),Promise.all(o)}function jS(e,t){return e.sortNodePosition(t)}function OS(e,t,n={}){e.notify("AnimationStart",t);let s;if(Array.isArray(t)){const r=t.map(i=>sc(e,i,n));s=Promise.all(r)}else if(typeof t=="string")s=sc(e,t,n);else{const r=typeof t=="function"?Uo(e,t,n.custom):t;s=Promise.all(hm(e,r,n))}return s.then(()=>{e.notify("AnimationComplete",t)})}const DS=ol.length;function pm(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?pm(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})=>OS(e,n,s)))}function IS(e){let t=LS(e),n=ud(),s=!0;const r=c=>(l,u)=>{var d;const f=Uo(e,u,c==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:g,transitionEnd:m,...p}=f;l={...l,...p,...m}}return l};function i(c){t=c(e)}function o(c){const{props:l}=e,u=pm(e.parent)||{},d=[],f=new Set;let g={},m=1/0;for(let y=0;ym&&T,j=!1;const D=Array.isArray(w)?w:[w];let L=D.reduce(r(v),{});S===!1&&(L={});const{prevResolvedValues:O={}}=b,$={...O,...L},I=q=>{E=!0,f.has(q)&&(j=!0,f.delete(q)),b.needsAnimating[q]=!0;const Z=e.getValue(q);Z&&(Z.liveStyle=!1)};for(const q in $){const Z=L[q],re=O[q];if(g.hasOwnProperty(q))continue;let de=!1;Za(Z)&&Za(re)?de=!kp(Z,re):de=Z!==re,de?Z!=null?I(q):f.add(q):Z!==void 0&&f.has(q)?I(q):b.protectedKeys[q]=!0}b.prevProp=w,b.prevResolvedValues=L,b.isActive&&(g={...g,...L}),s&&e.blockInitialAnimation&&(E=!1),E&&(!(A&&P)||j)&&d.push(...D.map(q=>({animation:q,options:{type:v}})))}if(f.size){const y={};f.forEach(v=>{const b=e.getBaseTarget(v),w=e.getValue(v);w&&(w.liveStyle=!0),y[v]=b??null}),d.push({animation:y})}let p=!!d.length;return s&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(p=!1),s=!1,p?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 g;return(g=f.animationState)===null||g===void 0?void 0:g.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=ud(),s=!0}}}function VS(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!kp(t,e):!1}function Gn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ud(){return{animate:Gn(!0),whileInView:Gn(),whileHover:Gn(),whileTap:Gn(),whileDrag:Gn(),whileFocus:Gn(),exit:Gn()}}class Wn{constructor(t){this.isMounted=!1,this.node=t}update(){}}class BS extends Wn{constructor(t){super(t),t.animationState||(t.animationState=IS(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Vo(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 US=0;class $S extends Wn{constructor(){super(...arguments),this.id=US++}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 zS={animation:{Feature:BS},exit:{Feature:$S}},Rt={x:!1,y:!1};function mm(){return Rt.x||Rt.y}function WS(e){return e==="x"||e==="y"?Rt[e]?null:(Rt[e]=!0,()=>{Rt[e]=!1}):Rt.x||Rt.y?null:(Rt.x=Rt.y=!0,()=>{Rt.x=Rt.y=!1})}const Ml=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function qr(e,t,n,s={passive:!0}){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n)}function wi(e){return{point:{x:e.pageX,y:e.pageY}}}const HS=e=>t=>Ml(t)&&e(t,wi(t));function Dr(e,t,n,s){return qr(e,t,HS(n),s)}const dd=(e,t)=>Math.abs(e-t);function qS(e,t){const n=dd(e.x,t.x),s=dd(e.y,t.y);return Math.sqrt(n**2+s**2)}class gm{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=xa(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,g=qS(d.offset,{x:0,y:0})>=3;if(!f&&!g)return;const{point:m}=d,{timestamp:p}=ze;this.history.push({...m,timestamp:p});const{onStart:y,onMove:v}=this.handlers;f||(y&&y(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=va(f,this.transformPagePoint),Te.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:g,onSessionEnd:m,resumeAnimation:p}=this.handlers;if(this.dragSnapToOrigin&&p&&p(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=xa(d.type==="pointercancel"?this.lastMoveEventInfo:va(f,this.transformPagePoint),this.history);this.startEvent&&g&&g(d,y),m&&m(d,y)},!Ml(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=s,this.contextWindow=r||window;const o=wi(t),a=va(o,this.transformPagePoint),{point:c}=a,{timestamp:l}=ze;this.history=[{...c,timestamp:l}];const{onSessionStart:u}=n;u&&u(t,xa(a,this.history)),this.removeListeners=bi(Dr(this.contextWindow,"pointermove",this.handlePointerMove),Dr(this.contextWindow,"pointerup",this.handlePointerUp),Dr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Mn(this.updatePoint)}}function va(e,t){return t?{point:t(e.point)}:e}function fd(e,t){return{x:e.x-t.x,y:e.y-t.y}}function xa({point:e},t){return{point:e,delta:fd(e,ym(t)),offset:fd(e,ZS(t)),velocity:KS(t,.1)}}function ZS(e){return e[0]}function ym(e){return e[e.length-1]}function KS(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,s=null;const r=ym(e);for(;n>=0&&(s=e[n],!(r.timestamp-s.timestamp>pn(t)));)n--;if(!s)return{x:0,y:0};const i=mn(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 vm=1e-4,GS=1-vm,QS=1+vm,xm=.01,XS=0-xm,YS=0+xm;function st(e){return e.max-e.min}function JS(e,t,n){return Math.abs(e-t)<=n}function hd(e,t,n,s=.5){e.origin=s,e.originPoint=Pe(t.min,t.max,e.origin),e.scale=st(n)/st(t),e.translate=Pe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=GS&&e.scale<=QS||isNaN(e.scale))&&(e.scale=1),(e.translate>=XS&&e.translate<=YS||isNaN(e.translate))&&(e.translate=0)}function Mr(e,t,n,s){hd(e.x,t.x,n.x,s?s.originX:void 0),hd(e.y,t.y,n.y,s?s.originY:void 0)}function pd(e,t,n){e.min=n.min+t.min,e.max=e.min+st(t)}function e_(e,t,n){pd(e.x,t.x,n.x),pd(e.y,t.y,n.y)}function md(e,t,n){e.min=t.min-n.min,e.max=e.min+st(t)}function Fr(e,t,n){md(e.x,t.x,n.x),md(e.y,t.y,n.y)}function t_(e,{min:t,max:n},s){return t!==void 0&&en&&(e=s?Pe(n,e,s.max):Math.min(e,n)),e}function gd(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 n_(e,{top:t,left:n,bottom:s,right:r}){return{x:gd(e.x,n,r),y:gd(e.y,t,s)}}function yd(e,t){let n=t.min-e.min,s=t.max-e.max;return t.max-t.mins?n=tr(t.min,t.max-s,e.min):s>r&&(n=tr(e.min,e.max-r,t.min)),gn(0,1,n)}function i_(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 rc=.35;function o_(e=rc){return e===!1?e=0:e===!0&&(e=rc),{x:vd(e,"left","right"),y:vd(e,"top","bottom")}}function vd(e,t,n){return{min:xd(e,t),max:xd(e,n)}}function xd(e,t){return typeof e=="number"?e:e[t]||0}const bd=()=>({translate:0,scale:1,origin:0,originPoint:0}),js=()=>({x:bd(),y:bd()}),wd=()=>({min:0,max:0}),De=()=>({x:wd(),y:wd()});function St(e){return[e("x"),e("y")]}function bm({top:e,left:t,right:n,bottom:s}){return{x:{min:t,max:n},y:{min:e,max:s}}}function a_({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function c_(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 ba(e){return e===void 0||e===1}function ic({scale:e,scaleX:t,scaleY:n}){return!ba(e)||!ba(t)||!ba(n)}function Qn(e){return ic(e)||wm(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function wm(e){return Sd(e.x)||Sd(e.y)}function Sd(e){return e&&e!=="0%"}function lo(e,t,n){const s=e-n,r=t*s;return n+r}function _d(e,t,n,s,r){return r!==void 0&&(e=lo(e,r,s)),lo(e,n,s)+t}function oc(e,t=0,n=1,s,r){e.min=_d(e.min,t,n,s,r),e.max=_d(e.max,t,n,s,r)}function Sm(e,{x:t,y:n}){oc(e.x,t.translate,t.scale,t.originPoint),oc(e.y,n.translate,n.scale,n.originPoint)}const Td=.999999999999,Cd=1.0000000000001;function l_(e,t,n,s=!1){const r=n.length;if(!r)return;t.x=t.y=1;let i,o;for(let a=0;aTd&&(t.x=1),t.yTd&&(t.y=1)}function Os(e,t){e.min=e.min+t,e.max=e.max+t}function Ed(e,t,n,s,r=.5){const i=Pe(e.min,e.max,r);oc(e,t,n,i,s)}function Ds(e,t){Ed(e.x,t.x,t.scaleX,t.scale,t.originX),Ed(e.y,t.y,t.scaleY,t.scale,t.originY)}function _m(e,t){return bm(c_(e.getBoundingClientRect(),t))}function u_(e,t,n){const s=_m(e,n),{scroll:r}=t;return r&&(Os(s.x,r.offset.x),Os(s.y,r.offset.y)),s}const Tm=({current:e})=>e?e.ownerDocument.defaultView:null,d_=new WeakMap;class f_{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=De(),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(wi(u).point)},i=(u,d)=>{const{drag:f,dragPropagation:g,onDragStart:m}=this.getProps();if(f&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=WS(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(y=>{let v=this.getAxisMotionValue(y).get()||0;if(Jt.test(v)){const{projection:b}=this.visualElement;if(b&&b.layout){const w=b.layout.layoutBox[y];w&&(v=st(w)*(parseFloat(v)/100))}}this.originPoint[y]=v}),m&&Te.postRender(()=>m(u,d)),Ka(this.visualElement,"transform");const{animationState:p}=this.visualElement;p&&p.setActive("whileDrag",!0)},o=(u,d)=>{const{dragPropagation:f,dragDirectionLock:g,onDirectionLock:m,onDrag:p}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:y}=d;if(g&&this.currentDirection===null){this.currentDirection=h_(y),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",d.point,y),this.updateAxis("y",d.point,y),this.visualElement.render(),p&&p(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 gm(t,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:a,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:Tm(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&&Te.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||!Ui(t,r,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(o=t_(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&&ks(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=n_(r.layoutBox,n):this.constraints=!1,this.elastic=o_(s),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&St(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=i_(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!ks(t))return!1;const s=t.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const i=u_(s,r.root,this.visualElement.getTransformPagePoint());let o=s_(r.layout.layoutBox,i);if(n){const a=n(a_(o));this.hasMutatedConstraints=!!a,a&&(o=bm(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(!Ui(u,n,this.currentDirection))return;let d=c[u]||{};o&&(d={min:0,max:0});const f=r?200:1e6,g=r?40:1e7,m={type:"inertia",velocity:s?t[u]:0,bounceStiffness:f,bounceDamping:g,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 Ka(this.visualElement,t),s.start(Dl(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(!Ui(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]-Pe(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!ks(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]=r_({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(!Ui(o,t,null))return;const a=this.getAxisMotionValue(o),{min:c,max:l}=this.constraints[o];a.set(Pe(c,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;d_.set(this.visualElement,this);const t=this.visualElement.current,n=Dr(t,"pointerdown",c=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(c)}),s=()=>{const{dragConstraints:c}=this.getProps();ks(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()),Te.read(s);const o=qr(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=rc,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:s,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function Ui(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function h_(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class p_ extends Wn{constructor(t){super(t),this.removeGroupControls=gt,this.removeListeners=gt,this.controls=new f_(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 Ad=e=>(t,n)=>{e&&Te.postRender(()=>e(t,n))};class m_ extends Wn{constructor(){super(...arguments),this.removePointerDownListener=gt}onPointerDown(t){this.session=new gm(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Tm(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:s,onPanEnd:r}=this.node.getProps();return{onSessionStart:Ad(t),onStart:Ad(n),onMove:s,onEnd:(i,o)=>{delete this.session,r&&Te.postRender(()=>r(i,o))}}}mount(){this.removePointerDownListener=Dr(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 Xi={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Pd(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Sr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ee.test(e))e=parseFloat(e);else return e;const n=Pd(e,t.target.x),s=Pd(e,t.target.y);return`${n}% ${s}%`}},g_={correct:(e,{treeScale:t,projectionDelta:n})=>{const s=e,r=Fn.parse(e);if(r.length>5)return s;const i=Fn.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=Pe(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 y_ extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:s,layoutId:r}=this.props,{projection:i}=t;Ww(v_),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()})),Xi.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()||Te.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),cl.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 Cm(e){const[t,n]=dp(),s=x.useContext(tl);return h.jsx(y_,{...e,layoutGroup:s,switchLayoutGroup:x.useContext(vp),isPresent:t,safeToRemove:n})}const v_={borderRadius:{...Sr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Sr,borderTopRightRadius:Sr,borderBottomLeftRadius:Sr,borderBottomRightRadius:Sr,boxShadow:g_};function x_(e,t,n){const s=Xe(e)?e:Wr(e);return s.start(Dl("",s,t,n)),s.animation}function b_(e){return e instanceof SVGElement&&e.tagName!=="svg"}const w_=(e,t)=>e.depth-t.depth;class S_{constructor(){this.children=[],this.isDirty=!1}add(t){bl(this.children,t),this.isDirty=!0}remove(t){wl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(w_),this.isDirty=!1,this.children.forEach(t)}}function __(e,t){const n=en.now(),s=({timestamp:r})=>{const i=r-n;i>=t&&(Mn(s),e(i-t))};return Te.read(s,!0),()=>Mn(s)}const Em=["TopLeft","TopRight","BottomLeft","BottomRight"],T_=Em.length,Rd=e=>typeof e=="string"?parseFloat(e):e,kd=e=>typeof e=="number"||ee.test(e);function C_(e,t,n,s,r,i){r?(e.opacity=Pe(0,n.opacity!==void 0?n.opacity:1,E_(s)),e.opacityExit=Pe(t.opacity!==void 0?t.opacity:1,0,A_(s))):i&&(e.opacity=Pe(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,s));for(let o=0;ost?1:n(tr(e,t,s))}function jd(e,t){e.min=t.min,e.max=t.max}function wt(e,t){jd(e.x,t.x),jd(e.y,t.y)}function Od(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Dd(e,t,n,s,r){return e-=t,e=lo(e,1/n,s),r!==void 0&&(e=lo(e,1/r,s)),e}function P_(e,t=0,n=1,s=.5,r,i=e,o=e){if(Jt.test(t)&&(t=parseFloat(t),t=Pe(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=Pe(i.min,i.max,s);e===i&&(a-=t),e.min=Dd(e.min,t,n,a,r),e.max=Dd(e.max,t,n,a,r)}function Md(e,t,[n,s,r],i,o){P_(e,t[n],t[s],t[r],t.scale,i,o)}const R_=["x","scaleX","originX"],k_=["y","scaleY","originY"];function Fd(e,t,n,s){Md(e.x,t,R_,n?n.x:void 0,s?s.x:void 0),Md(e.y,t,k_,n?n.y:void 0,s?s.y:void 0)}function Ld(e){return e.translate===0&&e.scale===1}function Pm(e){return Ld(e.x)&&Ld(e.y)}function Id(e,t){return e.min===t.min&&e.max===t.max}function N_(e,t){return Id(e.x,t.x)&&Id(e.y,t.y)}function Vd(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Rm(e,t){return Vd(e.x,t.x)&&Vd(e.y,t.y)}function Bd(e){return st(e.x)/st(e.y)}function Ud(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class j_{constructor(){this.members=[]}add(t){bl(this.members,t),t.scheduleRender()}remove(t){if(wl(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 O_(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:g,skewY:m}=n;l&&(s=`perspective(${l}px) ${s}`),u&&(s+=`rotate(${u}deg) `),d&&(s+=`rotateX(${d}deg) `),f&&(s+=`rotateY(${f}deg) `),g&&(s+=`skewX(${g}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 Xn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Ar=typeof window<"u"&&window.MotionDebug!==void 0,wa=["","X","Y","Z"],D_={visibility:"hidden"},$d=1e3;let M_=0;function Sa(e,t,n,s){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),s&&(s[e]=0))}function km(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",Te,!(r||i))}const{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&km(s)}function Nm({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:s,resetTransform:r}){return class{constructor(o={},a=t==null?void 0:t()){this.id=M_++,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,Ar&&(Xn.totalNodes=Xn.resolvedTargetDeltas=Xn.recalculatedProjection=0),this.nodes.forEach(I_),this.nodes.forEach(z_),this.nodes.forEach(W_),this.nodes.forEach(V_),Ar&&window.MotionDebug.record(Xn)},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=__(f,250),Xi.hasAnimatedSinceResize&&(Xi.hasAnimatedSinceResize=!1,this.nodes.forEach(Wd))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&u&&(c||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:g,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const p=this.options.transition||u.getDefaultTransition()||G_,{onLayoutAnimationStart:y,onLayoutAnimationComplete:v}=u.getProps(),b=!this.targetLayout||!Rm(this.targetLayout,m),w=!f&&g;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={...xl(p,"layout"),onPlay:y,onComplete:v};(u.shouldReduceMotion||this.options.layoutRoot)&&(T.delay=0,T.type=!1),this.startAnimation(T)}else f||Wd(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,Mn(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(H_),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&&km(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&&!st(this.snapshot.measuredBox.x)&&!st(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;Hd(d.x,o.x,S),Hd(d.y,o.y,S),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Fr(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),Z_(this.relativeTarget,this.relativeTargetOrigin,f,S),w&&N_(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=De()),wt(w,this.relativeTarget)),p&&(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&&(Mn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Te.update(()=>{Xi.hasAnimatedSinceResize=!0,this.currentAnimation=x_(0,$d,{...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($d),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&&jm(this.options.animationType,this.layout.layoutBox,l.layoutBox)){c=this.target||De();const d=st(this.layout.layoutBox.x);c.x.min=o.target.x.min,c.x.max=c.x.min+d;const f=st(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+f}wt(a,c),Ds(a,u),Mr(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new j_),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&&Sa("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(zd),this.root.sharedNodes.clear()}}}function F_(e){e.updateLayout()}function L_(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],g=st(f);f.min=s[d].min,f.max=f.min+g}):jm(i,n.layoutBox,s)&&St(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],g=st(s[d]);f.max=f.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+g)});const a=js();Mr(a,s,n.layoutBox);const c=js();o?Mr(c,e.applyTransform(r,!0),n.measuredBox):Mr(c,s,n.layoutBox);const l=!Pm(a);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:g}=d;if(f&&g){const m=De();Fr(m,n.layoutBox,f.layoutBox);const p=De();Fr(p,s,g.layoutBox),Rm(m,p)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=p,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 I_(e){Ar&&Xn.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 V_(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function B_(e){e.clearSnapshot()}function zd(e){e.clearMeasurements()}function U_(e){e.isLayoutDirty=!1}function $_(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Wd(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function z_(e){e.resolveTargetDelta()}function W_(e){e.calcProjection()}function H_(e){e.resetSkewAndRotation()}function q_(e){e.removeLeadSnapshot()}function Hd(e,t,n){e.translate=Pe(t.translate,0,n),e.scale=Pe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function qd(e,t,n,s){e.min=Pe(t.min,n.min,s),e.max=Pe(t.max,n.max,s)}function Z_(e,t,n,s){qd(e.x,t.x,n.x,s),qd(e.y,t.y,n.y,s)}function K_(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const G_={duration:.45,ease:[.4,0,.1,1]},Zd=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Kd=Zd("applewebkit/")&&!Zd("chrome/")?Math.round:gt;function Gd(e){e.min=Kd(e.min),e.max=Kd(e.max)}function Q_(e){Gd(e.x),Gd(e.y)}function jm(e,t,n){return e==="position"||e==="preserve-aspect"&&!JS(Bd(t),Bd(n),.2)}function X_(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const Y_=Nm({attachResizeListener:(e,t)=>qr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),_a={current:void 0},Om=Nm({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!_a.current){const e=new Y_({});e.mount(window),e.setOptions({layoutScroll:!0}),_a.current=e}return _a.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),J_={pan:{Feature:m_},drag:{Feature:p_,ProjectionNode:Om,MeasureLayout:Cm}};function eT(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 Dm(e,t){const n=eT(e),s=new AbortController,r={passive:!0,...t,signal:s.signal};return[n,r,()=>s.abort()]}function Qd(e){return!(e.pointerType==="touch"||mm())}function tT(e,t,n={}){const[s,r,i]=Dm(e,n),o=a=>{if(!Qd(a))return;const{target:c}=a,l=t(c,a);if(typeof l!="function"||!c)return;const u=d=>{Qd(d)&&(l(d),c.removeEventListener("pointerleave",u))};c.addEventListener("pointerleave",u,r)};return s.forEach(a=>{a.addEventListener("pointerenter",o,r)}),i}function Xd(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&&Te.postRender(()=>i(t,wi(t)))}class nT extends Wn{mount(){const{current:t}=this.node;t&&(this.unmount=tT(t,(n,s)=>(Xd(this.node,s,"Start"),r=>Xd(this.node,r,"End"))))}unmount(){}}class sT extends Wn{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=bi(qr(this.node.current,"focus",()=>this.onFocus()),qr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Mm=(e,t)=>t?e===t?!0:Mm(e,t.parentElement):!1,rT=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function iT(e){return rT.has(e.tagName)||e.tabIndex!==-1}const Pr=new WeakSet;function Yd(e){return t=>{t.key==="Enter"&&e(t)}}function Ta(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const oT=(e,t)=>{const n=e.currentTarget;if(!n)return;const s=Yd(()=>{if(Pr.has(n))return;Ta(n,"down");const r=Yd(()=>{Ta(n,"up")}),i=()=>Ta(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 Jd(e){return Ml(e)&&!mm()}function aT(e,t,n={}){const[s,r,i]=Dm(e,n),o=a=>{const c=a.currentTarget;if(!Jd(a)||Pr.has(c))return;Pr.add(c);const l=t(c,a),u=(g,m)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),!(!Jd(g)||!Pr.has(c))&&(Pr.delete(c),typeof l=="function"&&l(g,{success:m}))},d=g=>{u(g,n.useGlobalTarget||Mm(c,g.target))},f=g=>{u(g,!1)};window.addEventListener("pointerup",d,r),window.addEventListener("pointercancel",f,r)};return s.forEach(a=>{!iT(a)&&a.getAttribute("tabindex")===null&&(a.tabIndex=0),(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,r),a.addEventListener("focus",l=>oT(l,r),r)}),i}function ef(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&&Te.postRender(()=>i(t,wi(t)))}class cT extends Wn{mount(){const{current:t}=this.node;t&&(this.unmount=aT(t,(n,s)=>(ef(this.node,s,"Start"),(r,{success:i})=>ef(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const ac=new WeakMap,Ca=new WeakMap,lT=e=>{const t=ac.get(e.target);t&&t(e)},uT=e=>{e.forEach(lT)};function dT({root:e,...t}){const n=e||document;Ca.has(n)||Ca.set(n,{});const s=Ca.get(n),r=JSON.stringify(t);return s[r]||(s[r]=new IntersectionObserver(uT,{root:e,...t})),s[r]}function fT(e,t,n){const s=dT(t);return ac.set(e,n),s.observe(e),()=>{ac.delete(e),s.unobserve(e)}}const hT={some:0,all:1};class pT extends Wn{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:hT[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 fT(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(mT(t,n))&&this.startObserver()}unmount(){}}function mT({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const gT={inView:{Feature:pT},tap:{Feature:cT},focus:{Feature:sT},hover:{Feature:nT}},yT={layout:{ProjectionNode:Om,MeasureLayout:Cm}},cc={current:null},Fm={current:!1};function vT(){if(Fm.current=!0,!!rl)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>cc.current=e.matches;e.addListener(t),t()}else cc.current=!1}const xT=[...sm,Ge,Fn],bT=e=>xT.find(nm(e)),tf=new WeakMap;function wT(e,t,n){for(const s in t){const r=t[s],i=n[s];if(Xe(r))e.addValue(s,r);else if(Xe(i))e.addValue(s,Wr(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,Wr(o!==void 0?o:r,{owner:e}))}}for(const s in n)t[s]===void 0&&e.removeValue(s);return t}const nf=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class ST{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=Nl,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 g=en.now();this.renderScheduledAtthis.bindToMotionValue(s,n)),Fm.current||vT(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:cc.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){tf.delete(this.current),this.projection&&this.projection.unmount(),Mn(this.notifyUpdate),Mn(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=_s.has(t),r=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&Te.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 er){const n=er[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):De()}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=Wr(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"&&(em(r)||Hp(r))?r=parseFloat(r):!bT(r)&&Fn.test(n)&&(r=Xp(t,n)),this.setBaseTarget(t,Xe(r)?r.get():r)),Xe(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=ul(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&&!Xe(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 Sl),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Lm extends ST{constructor(){super(...arguments),this.KeyframeResolver=rm}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;Xe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function _T(e){return window.getComputedStyle(e)}class TT extends Lm{constructor(){super(...arguments),this.type="html",this.renderInstance=Tp}readValueFromInstance(t,n){if(_s.has(n)){const s=kl(n);return s&&s.default||0}else{const s=_T(t),r=(dl(n)?s.getPropertyValue(n):s[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:n}){return _m(t,n)}build(t,n,s){pl(t,n,s.transformTemplate)}scrapeMotionValuesFromProps(t,n,s){return vl(t,n,s)}}class CT extends Lm{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=De}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(_s.has(n)){const s=kl(n);return s&&s.default||0}return n=Cp.has(n)?n:al(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,s){return Pp(t,n,s)}build(t,n,s){ml(t,n,this.isSVGTag,s.transformTemplate)}renderInstance(t,n,s,r){Ep(t,n,s,r)}mount(t){this.isSVGTag=yl(t.tagName),super.mount(t)}}const ET=(e,t)=>ll(e)?new CT(t):new TT(t,{allowProjection:e!==x.Fragment}),AT=Jw({...zS,...gT,...J_,...yT},ET),Lr=pw(AT);var Ea,sf;function PT(){if(sf)return Ea;sf=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 ji=="object"&&ji&&ji.Object===Object&&ji,l=typeof self=="object"&&self&&self.Object===Object&&self,u=c||l||Function("return this")(),d=Object.prototype,f=d.toString,g=Math.max,m=Math.min,p=function(){return u.Date.now()};function y(S,A,P){var E,j,D,L,O,$,I=0,J=!1,X=!1,q=!0;if(typeof S!="function")throw new TypeError(e);A=T(A)||0,v(P)&&(J=!!P.leading,X="maxWait"in P,D=X?g(T(P.maxWait)||0,A):D,q="trailing"in P?!!P.trailing:q);function Z(ue){var ye=E,je=j;return E=j=void 0,I=ue,L=S.apply(je,ye),L}function re(ue){return I=ue,O=setTimeout(Be,A),J?Z(ue):L}function de(ue){var ye=ue-$,je=ue-I,Le=A-ye;return X?m(Le,D-je):Le}function ge(ue){var ye=ue-$,je=ue-I;return $===void 0||ye>=A||ye<0||X&&je>=D}function Be(){var ue=p();if(ge(ue))return qe(ue);O=setTimeout(Be,de(ue))}function qe(ue){return O=void 0,q&&E?Z(ue):(E=j=void 0,L)}function Ze(){O!==void 0&&clearTimeout(O),I=0,E=$=j=O=void 0}function Pt(){return O===void 0?L:qe(p())}function Je(){var ue=p(),ye=ge(ue);if(E=arguments,j=this,$=ue,ye){if(O===void 0)return re($);if(X)return O=setTimeout(Be,A),Z($)}return O===void 0&&(O=setTimeout(Be,A)),L}return Je.cancel=Ze,Je.flush=Pt,Je}function v(S){var A=typeof S;return!!S&&(A=="object"||A=="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 A=typeof S.valueOf=="function"?S.valueOf():S;S=v(A)?A+"":A}if(typeof S!="string")return S===0?S:+S;S=S.replace(s,"");var P=i.test(S);return P||o.test(S)?a(S.slice(2),P?2:8):r.test(S)?t:+S}return Ea=y,Ea}PT();var Im=typeof window<"u"?x.useLayoutEffect:x.useEffect,RT=typeof window>"u";function uo(e,{defaultValue:t=!1,initializeWithValue:n=!0}={}){const s=a=>RT?t:window.matchMedia(a).matches,[r,i]=x.useState(()=>n?s(e):t);function o(){i(s(e))}return Im(()=>{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}var kT=typeof window>"u";function NT(e={}){const{autoLock:t=!0,lockTarget:n,widthReflow:s=!0}=e,[r,i]=x.useState(!1),o=x.useRef(null),a=x.useRef(null),c=()=>{if(o.current){const{overflow:u,paddingRight:d}=o.current.style;if(a.current={overflow:u,paddingRight:d},s){const f=o.current===document.body?window.innerWidth:o.current.offsetWidth,g=parseInt(window.getComputedStyle(o.current).paddingRight,10)||0,m=f-o.current.scrollWidth;o.current.style.paddingRight=`${m+g}px`}o.current.style.overflow="hidden",i(!0)}},l=()=>{o.current&&a.current&&(o.current.style.overflow=a.current.overflow,s&&(o.current.style.paddingRight=a.current.paddingRight)),i(!1)};return Im(()=>{if(!kT)return n&&(o.current=typeof n=="string"?document.querySelector(n):n),o.current||(o.current=document.body),t&&c(),()=>{l()}},[t,n,s]),{isLocked:r,lock:c,unlock:l}}const yk=({className:e,stage:t})=>{const n=uo("(min-width: 768px");return h.jsx("div",{className:e,children:h.jsx("div",{className:"max-w-[808px] md:mx-auto my-20 mx-5",children:h.jsxs("div",{className:"relative h-14 w-full",children:[h.jsx("div",{className:H("h-2 absolute bg-[#D0D3D8] rounded-[2px] w-full top-0 left-0")}),h.jsx(Lr.div,{initial:{width:0},animate:t===2?{width:"20%"}:t===3&&{width:"75%"},transition:{delay:.5,duration:.5},className:H("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})}),h.jsx(Lr.div,{initial:{width:n?"50%":"35%"},animate:t===2?{width:"75%"}:t===3&&{width:"100%"},className:H("bg-reverse_primary w-1/2 absolute top-0 left-0 rounded-[2px] z-[3] h-2")}),h.jsx(Lr.div,{className:H("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"}),h.jsx("div",{className:H("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"}),h.jsx("div",{className:H("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 Si=e=>e.type==="checkbox",Jn=e=>e instanceof Date,nt=e=>e==null;const Vm=e=>typeof e=="object";var Fe=e=>!nt(e)&&!Array.isArray(e)&&Vm(e)&&!Jn(e),Bm=e=>Fe(e)&&e.target?Si(e.target)?e.target.checked:e.target.value:e,jT=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Um=(e,t)=>e.has(jT(t)),OT=e=>{const t=e.constructor&&e.constructor.prototype;return Fe(t)&&t.hasOwnProperty("isPrototypeOf")},Fl=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function ct(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(!(Fl&&(e instanceof Blob||s))&&(n||Fe(e)))if(t=n?[]:{},!n&&!OT(e))t=e;else for(const r in e)e.hasOwnProperty(r)&&(t[r]=ct(e[r]));else return e;return t}var zo=e=>Array.isArray(e)?e.filter(Boolean):[],Me=e=>e===void 0,B=(e,t,n)=>{if(!t||!Fe(e))return n;const s=zo(t.split(/[,[\].]+?/)).reduce((r,i)=>nt(r)?r:r[i],e);return Me(s)||s===e?Me(e[t])?n:e[t]:s},Ct=e=>typeof e=="boolean",Ll=e=>/^\w*$/.test(e),$m=e=>zo(e.replace(/["|']|\]/g,"").split(/\.|\[/)),xe=(e,t,n)=>{let s=-1;const r=Ll(t)?[t]:$m(t),i=r.length,o=i-1;for(;++sve.useContext(zm),DT=e=>{const{children:t,...n}=e;return ve.createElement(zm.Provider,{value:n},t)};var Wm=(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},ut=e=>Fe(e)&&!Object.keys(e).length,Hm=(e,t,n,s)=>{n(e);const{name:r,...i}=e;return ut(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(o=>t[o]===(!s||Ot.all))},Ir=e=>Array.isArray(e)?e:[e],qm=(e,t,n)=>!e||!t||e===t||Ir(e).some(s=>s&&(n?s===t:s.startsWith(t)||t.startsWith(s)));function Il(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 MT(e){const t=Wo(),{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,Il({disabled:s,next:d=>c.current&&qm(u.current,d.name,i)&&Hm(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(()=>Wm(o,n,l.current,!1),[o,n])}var Yt=e=>typeof e=="string",Zm=(e,t,n,s,r)=>Yt(e)?(s&&t.watch.add(e),B(n,e,r)):Array.isArray(e)?e.map(i=>(s&&t.watch.add(i),B(n,i))):(s&&(t.watchAll=!0),n);function FT(e){const t=Wo(),{control:n=t.control,name:s,defaultValue:r,disabled:i,exact:o}=e,a=ve.useRef(s);a.current=s,Il({disabled:i,subject:n._subjects.values,next:u=>{qm(a.current,u.name,o)&&l(ct(Zm(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 LT(e){const t=Wo(),{name:n,disabled:s,control:r=t.control,shouldUnregister:i}=e,o=Um(r._names.array,n),a=FT({control:r,name:n,defaultValue:B(r._formValues,n,B(r._defaultValues,n,e.defaultValue)),exact:!0}),c=MT({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:()=>!!B(c.errors,n)},isDirty:{enumerable:!0,get:()=>!!B(c.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!B(c.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!B(c.validatingFields,n)},error:{enumerable:!0,get:()=>B(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:Bm(f),name:n},type:fo.CHANGE}),onBlur:()=>l.current.onBlur({target:{value:B(r._formValues,n),name:n},type:fo.BLUR}),ref:f=>{const g=B(r._fields,n);g&&f&&(g._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,g=(m,p)=>{const y=B(r._fields,m);y&&y._f&&(y._f.mount=p)};if(g(n,!0),f){const m=ct(B(r._options.defaultValues,n));xe(r._defaultValues,n,m),Me(B(r._formValues,n))&&xe(r._formValues,n,m)}return!o&&r.register(n),()=>{(o?f&&!r._state.action:f)?r.unregister(n):g(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 IT=e=>e.render(LT(e));var Km=(e,t,n,s,r)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[s]:r||!0}}:{},rf=e=>({isOnSubmit:!e||e===Ot.onSubmit,isOnBlur:e===Ot.onBlur,isOnChange:e===Ot.onChange,isOnAll:e===Ot.all,isOnTouch:e===Ot.onTouched}),of=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(s=>e.startsWith(s)&&/^\.\w+/.test(e.slice(s.length))));const Vr=(e,t,n,s)=>{for(const r of n||Object.keys(e)){const i=B(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(Vr(a,t))break}else if(Fe(a)&&Vr(a,t))break}}};var VT=(e,t,n)=>{const s=Ir(B(e,n));return xe(s,"root",t[n]),xe(e,n,s),e},Vl=e=>e.type==="file",Xt=e=>typeof e=="function",ho=e=>{if(!Fl)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Yi=e=>Yt(e),Bl=e=>e.type==="radio",po=e=>e instanceof RegExp;const af={value:!1,isValid:!1},cf={value:!0,isValid:!0};var Gm=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&&!Me(e[0].attributes.value)?Me(e[0].value)||e[0].value===""?cf:{value:e[0].value,isValid:!0}:cf:af}return af};const lf={isValid:!1,value:null};var Qm=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,lf):lf;function uf(e,t,n="validate"){if(Yi(e)||Array.isArray(e)&&e.every(Yi)||Ct(e)&&!e)return{type:n,message:Yi(e)?e:"",ref:t}}var Ps=e=>Fe(e)&&!po(e)?e:{value:e,message:""},df=async(e,t,n,s,r,i)=>{const{ref:o,refs:a,required:c,maxLength:l,minLength:u,min:d,max:f,pattern:g,validate:m,name:p,valueAsNumber:y,mount:v}=e._f,b=B(n,p);if(!v||t.has(p))return{};const w=a?a[0]:o,T=O=>{r&&w.reportValidity&&(w.setCustomValidity(Ct(O)?"":O||""),w.reportValidity())},S={},A=Bl(o),P=Si(o),E=A||P,j=(y||Vl(o))&&Me(o.value)&&Me(b)||ho(o)&&o.value===""||b===""||Array.isArray(b)&&!b.length,D=Km.bind(null,p,s,S),L=(O,$,I,J=ln.maxLength,X=ln.minLength)=>{const q=O?$:I;S[p]={type:O?J:X,message:q,ref:o,...D(O?J:X,q)}};if(i?!Array.isArray(b)||!b.length:c&&(!E&&(j||nt(b))||Ct(b)&&!b||P&&!Gm(a).isValid||A&&!Qm(a).isValid)){const{value:O,message:$}=Yi(c)?{value:!!c,message:c}:Ps(c);if(O&&(S[p]={type:ln.required,message:$,ref:w,...D(ln.required,$)},!s))return T($),S}if(!j&&(!nt(d)||!nt(f))){let O,$;const I=Ps(f),J=Ps(d);if(!nt(b)&&!isNaN(b)){const X=o.valueAsNumber||b&&+b;nt(I.value)||(O=X>I.value),nt(J.value)||($=Xnew Date(new Date().toDateString()+" "+de),Z=o.type=="time",re=o.type=="week";Yt(I.value)&&b&&(O=Z?q(b)>q(I.value):re?b>I.value:X>new Date(I.value)),Yt(J.value)&&b&&($=Z?q(b)+O.value,J=!nt($.value)&&b.length<+$.value;if((I||J)&&(L(I,O.message,$.message),!s))return T(S[p].message),S}if(g&&!j&&Yt(b)){const{value:O,message:$}=Ps(g);if(po(O)&&!b.match(O)&&(S[p]={type:ln.pattern,message:$,ref:o,...D(ln.pattern,$)},!s))return T($),S}if(m){if(Xt(m)){const O=await m(b,n),$=uf(O,w);if($&&(S[p]={...$,...D(ln.validate,$.message)},!s))return T($.message),S}else if(Fe(m)){let O={};for(const $ in m){if(!ut(O)&&!s)break;const I=uf(await m[$](b,n),w,$);I&&(O={...I,...D($,I.message)},T(I.message),s&&(S[p]=O))}if(!ut(O)&&(S[p]={ref:w,...O},!s))return S}}return T(!0),S};function BT(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=[]}}},lc=e=>nt(e)||!Vm(e);function En(e,t){if(lc(e)||lc(t))return e===t;if(Jn(e)&&Jn(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(Jn(i)&&Jn(o)||Fe(i)&&Fe(o)||Array.isArray(i)&&Array.isArray(o)?!En(i,o):i!==o)return!1}}return!0}var Xm=e=>e.type==="select-multiple",$T=e=>Bl(e)||Si(e),Pa=e=>ho(e)&&e.isConnected,Ym=e=>{for(const t in e)if(Xt(e[t]))return!0;return!1};function mo(e,t={}){const n=Array.isArray(e);if(Fe(e)||n)for(const s in e)Array.isArray(e[s])||Fe(e[s])&&!Ym(e[s])?(t[s]=Array.isArray(e[s])?[]:{},mo(e[s],t[s])):nt(e[s])||(t[s]=!0);return t}function Jm(e,t,n){const s=Array.isArray(e);if(Fe(e)||s)for(const r in e)Array.isArray(e[r])||Fe(e[r])&&!Ym(e[r])?Me(t)||lc(n[r])?n[r]=Array.isArray(e[r])?mo(e[r],[]):{...mo(e[r])}:Jm(e[r],nt(t)?{}:t[r],n[r]):n[r]=!En(e[r],t[r]);return n}var _r=(e,t)=>Jm(e,t,mo(t)),eg=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:s})=>Me(e)?e:t?e===""?NaN:e&&+e:n&&Yt(e)?new Date(e):s?s(e):e;function Ra(e){const t=e.ref;return Vl(t)?t.files:Bl(t)?Qm(e.refs).value:Xm(t)?[...t.selectedOptions].map(({value:n})=>n):Si(t)?Gm(e.refs).value:eg(Me(t.value)?e.ref.value:t.value,e)}var zT=(e,t,n,s)=>{const r={};for(const i of e){const o=B(t,i);o&&xe(r,i,o._f)}return{criteriaMode:n,names:[...e],fields:r,shouldUseNativeValidation:s}},Tr=e=>Me(e)?e:po(e)?e.source:Fe(e)?po(e.value)?e.value.source:e.value:e;const ff="AsyncFunction";var WT=e=>!!e&&!!e.validate&&!!(Xt(e.validate)&&e.validate.constructor.name===ff||Fe(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===ff)),HT=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function hf(e,t,n){const s=B(e,n);if(s||Ll(n))return{error:s,name:n};const r=n.split(".");for(;r.length;){const i=r.join("."),o=B(t,i),a=B(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 qT=(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,ZT=(e,t)=>!zo(B(e,t)).length&&Ue(e,t);const KT={mode:Ot.onSubmit,reValidateMode:Ot.onChange,shouldFocusError:!0};function GT(e={}){let t={...KT,...e},n={submitCount:0,isDirty:!1,isLoading:Xt(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)?ct(t.defaultValues||t.values)||{}:{},i=t.shouldUnregister?{}:ct(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:Aa(),array:Aa(),state:Aa()},f=rf(t.mode),g=rf(t.reValidateMode),m=t.criteriaMode===Ot.all,p=_=>R=>{clearTimeout(l),l=setTimeout(_,R)},y=async _=>{if(!t.disabled&&(u.isValid||_)){const R=t.resolver?ut((await E()).errors):await D(s,!0);R!==n.isValid&&d.state.next({isValid:R})}},v=(_,R)=>{!t.disabled&&(u.isValidating||u.validatingFields)&&((_||Array.from(a.mount)).forEach(N=>{N&&(R?xe(n.validatingFields,N,R):Ue(n.validatingFields,N))}),d.state.next({validatingFields:n.validatingFields,isValidating:!ut(n.validatingFields)}))},b=(_,R=[],N,U,V=!0,F=!0)=>{if(U&&N&&!t.disabled){if(o.action=!0,F&&Array.isArray(B(s,_))){const Y=N(B(s,_),U.argA,U.argB);V&&xe(s,_,Y)}if(F&&Array.isArray(B(n.errors,_))){const Y=N(B(n.errors,_),U.argA,U.argB);V&&xe(n.errors,_,Y),ZT(n.errors,_)}if(u.touchedFields&&F&&Array.isArray(B(n.touchedFields,_))){const Y=N(B(n.touchedFields,_),U.argA,U.argB);V&&xe(n.touchedFields,_,Y)}u.dirtyFields&&(n.dirtyFields=_r(r,i)),d.state.next({name:_,isDirty:O(_,R),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else xe(i,_,R)},w=(_,R)=>{xe(n.errors,_,R),d.state.next({errors:n.errors})},T=_=>{n.errors=_,d.state.next({errors:n.errors,isValid:!1})},S=(_,R,N,U)=>{const V=B(s,_);if(V){const F=B(i,_,Me(N)?B(r,_):N);Me(F)||U&&U.defaultChecked||R?xe(i,_,R?F:Ra(V._f)):J(_,F),o.mount&&y()}},A=(_,R,N,U,V)=>{let F=!1,Y=!1;const ae={name:_};if(!t.disabled){const Ie=!!(B(s,_)&&B(s,_)._f&&B(s,_)._f.disabled);if(!N||U){u.isDirty&&(Y=n.isDirty,n.isDirty=ae.isDirty=O(),F=Y!==ae.isDirty);const Oe=Ie||En(B(r,_),R);Y=!!(!Ie&&B(n.dirtyFields,_)),Oe||Ie?Ue(n.dirtyFields,_):xe(n.dirtyFields,_,!0),ae.dirtyFields=n.dirtyFields,F=F||u.dirtyFields&&Y!==!Oe}if(N){const Oe=B(n.touchedFields,_);Oe||(xe(n.touchedFields,_,N),ae.touchedFields=n.touchedFields,F=F||u.touchedFields&&Oe!==N)}F&&V&&d.state.next(ae)}return F?ae:{}},P=(_,R,N,U)=>{const V=B(n.errors,_),F=u.isValid&&Ct(R)&&n.isValid!==R;if(t.delayError&&N?(c=p(()=>w(_,N)),c(t.delayError)):(clearTimeout(l),c=null,N?xe(n.errors,_,N):Ue(n.errors,_)),(N?!En(V,N):V)||!ut(U)||F){const Y={...U,...F&&Ct(R)?{isValid:R}:{},errors:n.errors,name:_};n={...n,...Y},d.state.next(Y)}},E=async _=>{v(_,!0);const R=await t.resolver(i,t.context,zT(_||a.mount,s,t.criteriaMode,t.shouldUseNativeValidation));return v(_),R},j=async _=>{const{errors:R}=await E(_);if(_)for(const N of _){const U=B(R,N);U?xe(n.errors,N,U):Ue(n.errors,N)}else n.errors=R;return R},D=async(_,R,N={valid:!0})=>{for(const U in _){const V=_[U];if(V){const{_f:F,...Y}=V;if(F){const ae=a.array.has(F.name),Ie=V._f&&WT(V._f);Ie&&u.validatingFields&&v([U],!0);const Oe=await df(V,a.disabled,i,m,t.shouldUseNativeValidation&&!R,ae);if(Ie&&u.validatingFields&&v([U]),Oe[F.name]&&(N.valid=!1,R))break;!R&&(B(Oe,F.name)?ae?VT(n.errors,Oe,F.name):xe(n.errors,F.name,Oe[F.name]):Ue(n.errors,F.name))}!ut(Y)&&await D(Y,R,N)}}return N.valid},L=()=>{for(const _ of a.unMount){const R=B(s,_);R&&(R._f.refs?R._f.refs.every(N=>!Pa(N)):!Pa(R._f.ref))&&Je(_)}a.unMount=new Set},O=(_,R)=>!t.disabled&&(_&&R&&xe(i,_,R),!En(ge(),r)),$=(_,R,N)=>Zm(_,a,{...o.mount?i:Me(R)?r:Yt(_)?{[_]:R}:R},N,R),I=_=>zo(B(o.mount?i:r,_,t.shouldUnregister?B(r,_,[]):[])),J=(_,R,N={})=>{const U=B(s,_);let V=R;if(U){const F=U._f;F&&(!F.disabled&&xe(i,_,eg(R,F)),V=ho(F.ref)&&nt(R)?"":R,Xm(F.ref)?[...F.ref.options].forEach(Y=>Y.selected=V.includes(Y.value)):F.refs?Si(F.ref)?F.refs.length>1?F.refs.forEach(Y=>(!Y.defaultChecked||!Y.disabled)&&(Y.checked=Array.isArray(V)?!!V.find(ae=>ae===Y.value):V===Y.value)):F.refs[0]&&(F.refs[0].checked=!!V):F.refs.forEach(Y=>Y.checked=Y.value===V):Vl(F.ref)?F.ref.value="":(F.ref.value=V,F.ref.type||d.values.next({name:_,values:{...i}})))}(N.shouldDirty||N.shouldTouch)&&A(_,V,N.shouldTouch,N.shouldDirty,!0),N.shouldValidate&&de(_)},X=(_,R,N)=>{for(const U in R){const V=R[U],F=`${_}.${U}`,Y=B(s,F);(a.array.has(_)||Fe(V)||Y&&!Y._f)&&!Jn(V)?X(F,V,N):J(F,V,N)}},q=(_,R,N={})=>{const U=B(s,_),V=a.array.has(_),F=ct(R);xe(i,_,F),V?(d.array.next({name:_,values:{...i}}),(u.isDirty||u.dirtyFields)&&N.shouldDirty&&d.state.next({name:_,dirtyFields:_r(r,i),isDirty:O(_,F)})):U&&!U._f&&!nt(F)?X(_,F,N):J(_,F,N),of(_,a)&&d.state.next({...n}),d.values.next({name:o.mount?_:void 0,values:{...i}})},Z=async _=>{o.mount=!0;const R=_.target;let N=R.name,U=!0;const V=B(s,N),F=()=>R.type?Ra(V._f):Bm(_),Y=ae=>{U=Number.isNaN(ae)||Jn(ae)&&isNaN(ae.getTime())||En(ae,B(i,N,ae))};if(V){let ae,Ie;const Oe=F(),zt=_.type===fo.BLUR||_.type===fo.FOCUS_OUT,yr=!HT(V._f)&&!t.resolver&&!B(n.errors,N)&&!V._f.deps||qT(zt,B(n.touchedFields,N),n.isSubmitted,g,f),Wt=of(N,a,zt);xe(i,N,Oe),zt?(V._f.onBlur&&V._f.onBlur(_),c&&c(0)):V._f.onChange&&V._f.onChange(_);const Zn=A(N,Oe,zt,!1),vr=!ut(Zn)||Wt;if(!zt&&d.values.next({name:N,type:_.type,values:{...i}}),yr)return u.isValid&&(t.mode==="onBlur"&&zt?y():zt||y()),vr&&d.state.next({name:N,...Wt?{}:Zn});if(!zt&&Wt&&d.state.next({...n}),t.resolver){const{errors:Kn}=await E([N]);if(Y(Oe),U){const sa=hf(n.errors,s,N),ki=hf(Kn,s,sa.name||N);ae=ki.error,N=ki.name,Ie=ut(Kn)}}else v([N],!0),ae=(await df(V,a.disabled,i,m,t.shouldUseNativeValidation))[N],v([N]),Y(Oe),U&&(ae?Ie=!1:u.isValid&&(Ie=await D(s,!0)));U&&(V._f.deps&&de(V._f.deps),P(N,Ie,ae,Zn))}},re=(_,R)=>{if(B(n.errors,R)&&_.focus)return _.focus(),1},de=async(_,R={})=>{let N,U;const V=Ir(_);if(t.resolver){const F=await j(Me(_)?_:V);N=ut(F),U=_?!V.some(Y=>B(F,Y)):N}else _?(U=(await Promise.all(V.map(async F=>{const Y=B(s,F);return await D(Y&&Y._f?{[F]:Y}:Y)}))).every(Boolean),!(!U&&!n.isValid)&&y()):U=N=await D(s);return d.state.next({...!Yt(_)||u.isValid&&N!==n.isValid?{}:{name:_},...t.resolver||!_?{isValid:N}:{},errors:n.errors}),R.shouldFocus&&!U&&Vr(s,re,_?V:a.mount),U},ge=_=>{const R={...o.mount?i:r};return Me(_)?R:Yt(_)?B(R,_):_.map(N=>B(R,N))},Be=(_,R)=>({invalid:!!B((R||n).errors,_),isDirty:!!B((R||n).dirtyFields,_),error:B((R||n).errors,_),isValidating:!!B(n.validatingFields,_),isTouched:!!B((R||n).touchedFields,_)}),qe=_=>{_&&Ir(_).forEach(R=>Ue(n.errors,R)),d.state.next({errors:_?n.errors:{}})},Ze=(_,R,N)=>{const U=(B(s,_,{_f:{}})._f||{}).ref,V=B(n.errors,_)||{},{ref:F,message:Y,type:ae,...Ie}=V;xe(n.errors,_,{...Ie,...R,ref:U}),d.state.next({name:_,errors:n.errors,isValid:!1}),N&&N.shouldFocus&&U&&U.focus&&U.focus()},Pt=(_,R)=>Xt(_)?d.values.subscribe({next:N=>_($(void 0,R),N)}):$(_,R,!0),Je=(_,R={})=>{for(const N of _?Ir(_):a.mount)a.mount.delete(N),a.array.delete(N),R.keepValue||(Ue(s,N),Ue(i,N)),!R.keepError&&Ue(n.errors,N),!R.keepDirty&&Ue(n.dirtyFields,N),!R.keepTouched&&Ue(n.touchedFields,N),!R.keepIsValidating&&Ue(n.validatingFields,N),!t.shouldUnregister&&!R.keepDefaultValue&&Ue(r,N);d.values.next({values:{...i}}),d.state.next({...n,...R.keepDirty?{isDirty:O()}:{}}),!R.keepIsValid&&y()},ue=({disabled:_,name:R,field:N,fields:U})=>{(Ct(_)&&o.mount||_||a.disabled.has(R))&&(_?a.disabled.add(R):a.disabled.delete(R),A(R,Ra(N?N._f:B(U,R)._f),!1,!1,!0))},ye=(_,R={})=>{let N=B(s,_);const U=Ct(R.disabled)||Ct(t.disabled);return xe(s,_,{...N||{},_f:{...N&&N._f?N._f:{ref:{name:_}},name:_,mount:!0,...R}}),a.mount.add(_),N?ue({field:N,disabled:Ct(R.disabled)?R.disabled:t.disabled,name:_}):S(_,!0,R.value),{...U?{disabled:R.disabled||t.disabled}:{},...t.progressive?{required:!!R.required,min:Tr(R.min),max:Tr(R.max),minLength:Tr(R.minLength),maxLength:Tr(R.maxLength),pattern:Tr(R.pattern)}:{},name:_,onChange:Z,onBlur:Z,ref:V=>{if(V){ye(_,R),N=B(s,_);const F=Me(V.value)&&V.querySelectorAll&&V.querySelectorAll("input,select,textarea")[0]||V,Y=$T(F),ae=N._f.refs||[];if(Y?ae.find(Ie=>Ie===F):F===N._f.ref)return;xe(s,_,{_f:{...N._f,...Y?{refs:[...ae.filter(Pa),F,...Array.isArray(B(r,_))?[{}]:[]],ref:{type:F.type,name:_}}:{ref:F}}}),S(_,!1,void 0,F)}else N=B(s,_,{}),N._f&&(N._f.mount=!1),(t.shouldUnregister||R.shouldUnregister)&&!(Um(a.array,_)&&o.action)&&a.unMount.add(_)}}},je=()=>t.shouldFocusError&&Vr(s,re,a.mount),Le=_=>{Ct(_)&&(d.state.next({disabled:_}),Vr(s,(R,N)=>{const U=B(s,N);U&&(R.disabled=U._f.disabled||_,Array.isArray(U._f.refs)&&U._f.refs.forEach(V=>{V.disabled=U._f.disabled||_}))},0,!1))},we=(_,R)=>async N=>{let U;N&&(N.preventDefault&&N.preventDefault(),N.persist&&N.persist());let V=ct(i);if(a.disabled.size)for(const F of a.disabled)xe(V,F,void 0);if(d.state.next({isSubmitting:!0}),t.resolver){const{errors:F,values:Y}=await E();n.errors=F,V=Y}else await D(s);if(Ue(n.errors,"root"),ut(n.errors)){d.state.next({errors:{}});try{await _(V,N)}catch(F){U=F}}else R&&await R({...n.errors},N),je(),setTimeout(je);if(d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ut(n.errors)&&!U,submitCount:n.submitCount+1,errors:n.errors}),U)throw U},G=(_,R={})=>{B(s,_)&&(Me(R.defaultValue)?q(_,ct(B(r,_))):(q(_,R.defaultValue),xe(r,_,ct(R.defaultValue))),R.keepTouched||Ue(n.touchedFields,_),R.keepDirty||(Ue(n.dirtyFields,_),n.isDirty=R.defaultValue?O(_,ct(B(r,_))):O()),R.keepError||(Ue(n.errors,_),u.isValid&&y()),d.state.next({...n}))},fe=(_,R={})=>{const N=_?ct(_):r,U=ct(N),V=ut(_),F=V?r:U;if(R.keepDefaultValues||(r=N),!R.keepValues){if(R.keepDirtyValues){const Y=new Set([...a.mount,...Object.keys(_r(r,i))]);for(const ae of Array.from(Y))B(n.dirtyFields,ae)?xe(F,ae,B(i,ae)):q(ae,B(F,ae))}else{if(Fl&&Me(_))for(const Y of a.mount){const ae=B(s,Y);if(ae&&ae._f){const Ie=Array.isArray(ae._f.refs)?ae._f.refs[0]:ae._f.ref;if(ho(Ie)){const Oe=Ie.closest("form");if(Oe){Oe.reset();break}}}}s={}}i=t.shouldUnregister?R.keepDefaultValues?ct(r):{}:ct(F),d.array.next({values:{...F}}),d.values.next({values:{...F}})}a={mount:R.keepDirtyValues?a.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!u.isValid||!!R.keepIsValid||!!R.keepDirtyValues,o.watch=!!t.shouldUnregister,d.state.next({submitCount:R.keepSubmitCount?n.submitCount:0,isDirty:V?!1:R.keepDirty?n.isDirty:!!(R.keepDefaultValues&&!En(_,r)),isSubmitted:R.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:V?{}:R.keepDirtyValues?R.keepDefaultValues&&i?_r(r,i):n.dirtyFields:R.keepDefaultValues&&_?_r(r,_):R.keepDirty?n.dirtyFields:{},touchedFields:R.keepTouched?n.touchedFields:{},errors:R.keepErrors?n.errors:{},isSubmitSuccessful:R.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},Se=(_,R)=>fe(Xt(_)?_(i):_,R);return{control:{register:ye,unregister:Je,getFieldState:Be,handleSubmit:we,setError:Ze,_executeSchema:E,_getWatch:$,_getDirty:O,_updateValid:y,_removeUnmounted:L,_updateFieldArray:b,_updateDisabledField:ue,_getFieldArray:I,_reset:fe,_resetDefaultValues:()=>Xt(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:de,register:ye,handleSubmit:we,watch:Pt,setValue:q,getValues:ge,reset:Se,resetField:G,clearErrors:qe,unregister:Je,setError:Ze,setFocus:(_,R={})=>{const N=B(s,_),U=N&&N._f;if(U){const V=U.refs?U.refs[0]:U.ref;V.focus&&(V.focus(),R.shouldSelect&&Xt(V.select)&&V.select())}},getFieldState:Be}}function QT(e={}){const t=ve.useRef(void 0),n=ve.useRef(void 0),[s,r]=ve.useState({isDirty:!1,isValidating:!1,isLoading:Xt(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Xt(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...GT(e),formState:s});const i=t.current.control;return i._options=e,Il({subject:i._subjects.state,next:o=>{Hm(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&&!En(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=Wm(s,i),t.current}var XT="Label",tg=x.forwardRef((e,t)=>h.jsx(ot.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())}}));tg.displayName=XT;var ng=tg;const YT=Yc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),sg=x.forwardRef(({className:e,...t},n)=>h.jsx(ng,{ref:n,className:H(YT(),e),...t}));sg.displayName=ng.displayName;const vk=DT,rg=x.createContext({}),JT=({...e})=>h.jsx(rg.Provider,{value:{name:e.name},children:h.jsx(IT,{...e})}),Ho=()=>{const e=x.useContext(rg),t=x.useContext(ig),{getFieldState:n,formState:s}=Wo(),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}},ig=x.createContext({}),og=x.forwardRef(({className:e,...t},n)=>{const s=x.useId();return h.jsx(ig.Provider,{value:{id:s},children:h.jsx("div",{ref:n,className:H("space-y-2",e),...t})})});og.displayName="FormItem";const ag=x.forwardRef(({className:e,...t},n)=>{const{error:s,formItemId:r}=Ho();return h.jsx(sg,{ref:n,className:H(s&&"text-destructive",e),htmlFor:r,...t})});ag.displayName="FormLabel";const cg=x.forwardRef(({...e},t)=>{const{error:n,formItemId:s,formDescriptionId:r,formMessageId:i}=Ho();return h.jsx(cr,{ref:t,id:s,"aria-describedby":n?`${r} ${i}`:`${r}`,"aria-invalid":!!n,...e})});cg.displayName="FormControl";const eC=x.forwardRef(({className:e,...t},n)=>{const{formDescriptionId:s}=Ho();return h.jsx("p",{ref:n,id:s,className:H("text-[0.8rem] text-muted-foreground",e),...t})});eC.displayName="FormDescription";const lg=x.forwardRef(({className:e,children:t,...n},s)=>{const{error:r,formMessageId:i}=Ho(),o=r?String(r==null?void 0:r.message):t;return o?h.jsx("p",{ref:s,id:i,className:H("text-[0.8rem] font-medium text-destructive",e),...n,children:o}):null});lg.displayName="FormMessage";const uc=x.forwardRef(({className:e,type:t,...n},s)=>t!=="file"?h.jsx("input",{type:t,className:H("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}):h.jsxs("div",{className:"relative w-[160px] h-9 overflow-hidden !cursor-pointer",children:[h.jsx("input",{ref:s,accept:".pdf, .png, .jpeg, .jpg",type:t,className:H("h-9 absolute top-0 left-0 !cursor-pointer opacity-0 z-20 size-full"),...n}),h.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:[h.jsx(Xx,{className:"cursor-pointer",size:16})," Upload file"]})]}));uc.displayName="Input";const ug=x.forwardRef(({className:e,...t},n)=>h.jsx("textarea",{className:H("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}));ug.displayName="Textarea";const xk=({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})=>h.jsx(JT,{control:e,name:t,render:({field:g})=>h.jsxs(og,{className:H(o,"flex flex-col w-full relative"),children:[h.jsx(ag,{className:H("text-xl",f&&"!text-on_primary",l?"text-on_surface":"text-on_surface_v"),children:n}),h.jsx(cg,{children:h.jsx(h.Fragment,{children:c?h.jsx(ug,{rows:3,...g,placeholder:s,className:H(r&&"border-[#BA1A1A]",f&&"border-primary_outline_reverse focus:border-white hover:border-white focus:border-1 text-on_primary")}):i!=="file"?h.jsx(uc,{...g,type:i,placeholder:s,disabled:a,className:H(r&&"border-[#BA1A1A]",f&&"border-primary_outline_reverse focus:border-white hover:border-white focus:border-1 text-on_primary")}):h.jsxs("div",{className:"relative",children:[h.jsx(uc,{type:"file",placeholder:s,onChange:m=>{var y;const p=((y=m.target.files)==null?void 0:y[0])||null;console.log("Выбранный файл:",p),g.onChange(p),d&&d(m)},disabled:a}),g.value&&h.jsxs("div",{className:"text-sm mt-2 text-gray-500 absolute top-8",children:["Выбранный файл: ",g.value.name]})]})})}),h.jsx(lg,{className:H("absolute -bottom-5 left-0 text-sm font-medium leading-[130%]",r&&f?"text-teritary_04":"text-[#BA1A1A]"),children:r?r.message:u})]})}),bk=({className:e,delay:t=.15})=>h.jsxs(Lr.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0,transition:{delay:t}},className:H("flex flex-col gap-8 my-16",e),children:[h.jsx("h3",{className:"text-3xl text-center",children:"Форма успешно отправлена!"}),h.jsx(Ce,{className:"w-fit mx-auto",to:"/",children:h.jsx(rt,{variant:"outline",children:"Вернуться на главную"})})]}),tC=({className:e,slides:t,active:n,scrollTo:s})=>h.jsx("div",{className:H("flex items-center justify-center gap-2",e),children:Array.from({length:t}).map((r,i)=>h.jsx("span",{onClick:()=>s==null?void 0:s(i),className:H(n===i?"dot-active":"dot")},i))}),nC=["top","right","bottom","left"],Ln=Math.min,ht=Math.max,go=Math.round,$i=Math.floor,tn=e=>({x:e,y:e}),sC={left:"right",right:"left",bottom:"top",top:"bottom"},rC={start:"end",end:"start"};function dc(e,t,n){return ht(e,Ln(t,n))}function yn(e,t){return typeof e=="function"?e(t):e}function vn(e){return e.split("-")[0]}function hr(e){return e.split("-")[1]}function Ul(e){return e==="x"?"y":"x"}function $l(e){return e==="y"?"height":"width"}function In(e){return["top","bottom"].includes(vn(e))?"y":"x"}function zl(e){return Ul(In(e))}function iC(e,t,n){n===void 0&&(n=!1);const s=hr(e),r=zl(e),i=$l(r);let o=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=yo(o)),[o,yo(o)]}function oC(e){const t=yo(e);return[fc(e),t,fc(t)]}function fc(e){return e.replace(/start|end/g,t=>rC[t])}function aC(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 cC(e,t,n,s){const r=hr(e);let i=aC(vn(e),n==="start",s);return r&&(i=i.map(o=>o+"-"+r),t&&(i=i.concat(i.map(fc)))),i}function yo(e){return e.replace(/left|right|bottom|top/g,t=>sC[t])}function lC(e){return{top:0,right:0,bottom:0,left:0,...e}}function dg(e){return typeof e!="number"?lC(e):{top:e,right:e,bottom:e,left:e}}function vo(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 pf(e,t,n){let{reference:s,floating:r}=e;const i=In(t),o=zl(t),a=$l(o),c=vn(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 g;switch(c){case"top":g={x:u,y:s.y-r.height};break;case"bottom":g={x:u,y:s.y+s.height};break;case"right":g={x:s.x+s.width,y:d};break;case"left":g={x:s.x-r.width,y:d};break;default:g={x:s.x,y:s.y}}switch(hr(t)){case"start":g[o]-=f*(n&&l?-1:1);break;case"end":g[o]+=f*(n&&l?-1:1);break}return g}const uC=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}=pf(l,s,c),f=s,g={},m=0;for(let p=0;p({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}=yn(e,t)||{};if(l==null)return{};const d=dg(u),f={x:n,y:s},g=zl(r),m=$l(g),p=await o.getDimensions(l),y=g==="y",v=y?"top":"left",b=y?"bottom":"right",w=y?"clientHeight":"clientWidth",T=i.reference[m]+i.reference[g]-f[g]-i.floating[m],S=f[g]-i.reference[g],A=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l));let P=A?A[w]:0;(!P||!await(o.isElement==null?void 0:o.isElement(A)))&&(P=a.floating[w]||i.floating[m]);const E=T/2-S/2,j=P/2-p[m]/2-1,D=Ln(d[v],j),L=Ln(d[b],j),O=D,$=P-p[m]-L,I=P/2-p[m]/2+E,J=dc(O,I,$),X=!c.arrow&&hr(r)!=null&&I!==J&&i.reference[m]/2-(II<=0)){var L,O;const I=(((L=i.flip)==null?void 0:L.index)||0)+1,J=P[I];if(J)return{data:{index:I,overflows:D},reset:{placement:J}};let X=(O=D.filter(q=>q.overflows[0]<=0).sort((q,Z)=>q.overflows[1]-Z.overflows[1])[0])==null?void 0:O.placement;if(!X)switch(g){case"bestFit":{var $;const q=($=D.filter(Z=>{if(A){const re=In(Z.placement);return re===b||re==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(re=>re>0).reduce((re,de)=>re+de,0)]).sort((Z,re)=>Z[1]-re[1])[0])==null?void 0:$[0];q&&(X=q);break}case"initialPlacement":X=a;break}if(r!==X)return{reset:{placement:X}}}return{}}}};function mf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function gf(e){return nC.some(t=>e[t]>=0)}const hC=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:s="referenceHidden",...r}=yn(e,t);switch(s){case"referenceHidden":{const i=await Zr(t,{...r,elementContext:"reference"}),o=mf(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:gf(o)}}}case"escaped":{const i=await Zr(t,{...r,altBoundary:!0}),o=mf(i,n.floating);return{data:{escapedOffsets:o,escaped:gf(o)}}}default:return{}}}}};async function pC(e,t){const{placement:n,platform:s,elements:r}=e,i=await(s.isRTL==null?void 0:s.isRTL(r.floating)),o=vn(n),a=hr(n),c=In(n)==="y",l=["left","top"].includes(o)?-1:1,u=i&&c?-1:1,d=yn(t,e);let{mainAxis:f,crossAxis:g,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"&&(g=a==="end"?m*-1:m),c?{x:g*u,y:f*l}:{x:f*l,y:g*u}}const mC=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 pC(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}}}}},gC=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:y=>{let{x:v,y:b}=y;return{x:v,y:b}}},...c}=yn(e,t),l={x:n,y:s},u=await Zr(t,c),d=In(vn(r)),f=Ul(d);let g=l[f],m=l[d];if(i){const y=f==="y"?"top":"left",v=f==="y"?"bottom":"right",b=g+u[y],w=g-u[v];g=dc(b,g,w)}if(o){const y=d==="y"?"top":"left",v=d==="y"?"bottom":"right",b=m+u[y],w=m-u[v];m=dc(b,m,w)}const p=a.fn({...t,[f]:g,[d]:m});return{...p,data:{x:p.x-n,y:p.y-s,enabled:{[f]:i,[d]:o}}}}}},yC=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}=yn(e,t),u={x:n,y:s},d=In(r),f=Ul(d);let g=u[f],m=u[d];const p=yn(a,t),y=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(c){const w=f==="y"?"height":"width",T=i.reference[f]-i.floating[w]+y.mainAxis,S=i.reference[f]+i.reference[w]-y.mainAxis;gS&&(g=S)}if(l){var v,b;const w=f==="y"?"width":"height",T=["top","left"].includes(vn(r)),S=i.reference[d]-i.floating[w]+(T&&((v=o.offset)==null?void 0:v[d])||0)+(T?0:y.crossAxis),A=i.reference[d]+i.reference[w]+(T?0:((b=o.offset)==null?void 0:b[d])||0)-(T?y.crossAxis:0);mA&&(m=A)}return{[f]:g,[d]:m}}}},vC=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}=yn(e,t),u=await Zr(t,l),d=vn(r),f=hr(r),g=In(r)==="y",{width:m,height:p}=i.floating;let y,v;d==="top"||d==="bottom"?(y=d,v=f===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(v=d,y=f==="end"?"top":"bottom");const b=p-u.top-u.bottom,w=m-u.left-u.right,T=Ln(p-u[y],b),S=Ln(m-u[v],w),A=!t.middlewareData.shift;let P=T,E=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(E=w),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(P=b),A&&!f){const D=ht(u.left,0),L=ht(u.right,0),O=ht(u.top,0),$=ht(u.bottom,0);g?E=m-2*(D!==0||L!==0?D+L:ht(u.left,u.right)):P=p-2*(O!==0||$!==0?O+$:ht(u.top,u.bottom))}await c({...t,availableWidth:E,availableHeight:P});const j=await o.getDimensions(a.floating);return m!==j.width||p!==j.height?{reset:{rects:!0}}:{}}}};function qo(){return typeof window<"u"}function pr(e){return fg(e)?(e.nodeName||"").toLowerCase():"#document"}function yt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function an(e){var t;return(t=(fg(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function fg(e){return qo()?e instanceof Node||e instanceof yt(e).Node:!1}function Lt(e){return qo()?e instanceof Element||e instanceof yt(e).Element:!1}function sn(e){return qo()?e instanceof HTMLElement||e instanceof yt(e).HTMLElement:!1}function yf(e){return!qo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof yt(e).ShadowRoot}function _i(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=It(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function xC(e){return["table","td","th"].includes(pr(e))}function Zo(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Wl(e){const t=Hl(),n=Lt(e)?It(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 bC(e){let t=Vn(e);for(;sn(t)&&!sr(t);){if(Wl(t))return t;if(Zo(t))return null;t=Vn(t)}return null}function Hl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function sr(e){return["html","body","#document"].includes(pr(e))}function It(e){return yt(e).getComputedStyle(e)}function Ko(e){return Lt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Vn(e){if(pr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||yf(e)&&e.host||an(e);return yf(t)?t.host:t}function hg(e){const t=Vn(e);return sr(t)?e.ownerDocument?e.ownerDocument.body:e.body:sn(t)&&_i(t)?t:hg(t)}function Kr(e,t,n){var s;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=hg(e),i=r===((s=e.ownerDocument)==null?void 0:s.body),o=yt(r);if(i){const a=hc(o);return t.concat(o,o.visualViewport||[],_i(r)?r:[],a&&n?Kr(a):[])}return t.concat(r,Kr(r,[],n))}function hc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function pg(e){const t=It(e);let n=parseFloat(t.width)||0,s=parseFloat(t.height)||0;const r=sn(e),i=r?e.offsetWidth:n,o=r?e.offsetHeight:s,a=go(n)!==i||go(s)!==o;return a&&(n=i,s=o),{width:n,height:s,$:a}}function ql(e){return Lt(e)?e:e.contextElement}function Is(e){const t=ql(e);if(!sn(t))return tn(1);const n=t.getBoundingClientRect(),{width:s,height:r,$:i}=pg(t);let o=(i?go(n.width):n.width)/s,a=(i?go(n.height):n.height)/r;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const wC=tn(0);function mg(e){const t=yt(e);return!Hl()||!t.visualViewport?wC:{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 ms(e,t,n,s){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=ql(e);let o=tn(1);t&&(s?Lt(s)&&(o=Is(s)):o=Is(e));const a=SC(i,n,s)?mg(i):tn(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),g=s&&Lt(s)?yt(s):s;let m=f,p=hc(m);for(;p&&s&&g!==m;){const y=Is(p),v=p.getBoundingClientRect(),b=It(p),w=v.left+(p.clientLeft+parseFloat(b.paddingLeft))*y.x,T=v.top+(p.clientTop+parseFloat(b.paddingTop))*y.y;c*=y.x,l*=y.y,u*=y.x,d*=y.y,c+=w,l+=T,m=yt(p),p=hc(m)}}return vo({width:u,height:d,x:c,y:l})}function Zl(e,t){const n=Ko(e).scrollLeft;return t?t.left+n:ms(an(e)).left+n}function gg(e,t,n){n===void 0&&(n=!1);const s=e.getBoundingClientRect(),r=s.left+t.scrollLeft-(n?0:Zl(e,s)),i=s.top+t.scrollTop;return{x:r,y:i}}function _C(e){let{elements:t,rect:n,offsetParent:s,strategy:r}=e;const i=r==="fixed",o=an(s),a=t?Zo(t.floating):!1;if(s===o||a&&i)return n;let c={scrollLeft:0,scrollTop:0},l=tn(1);const u=tn(0),d=sn(s);if((d||!d&&!i)&&((pr(s)!=="body"||_i(o))&&(c=Ko(s)),sn(s))){const g=ms(s);l=Is(s),u.x=g.x+s.clientLeft,u.y=g.y+s.clientTop}const f=o&&!d&&!i?gg(o,c,!0):tn(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 TC(e){return Array.from(e.getClientRects())}function CC(e){const t=an(e),n=Ko(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+Zl(e);const a=-n.scrollTop;return It(s).direction==="rtl"&&(o+=ht(t.clientWidth,s.clientWidth)-r),{width:r,height:i,x:o,y:a}}function EC(e,t){const n=yt(e),s=an(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=Hl();(!l||l&&t==="fixed")&&(a=r.offsetLeft,c=r.offsetTop)}return{width:i,height:o,x:a,y:c}}function AC(e,t){const n=ms(e,!0,t==="fixed"),s=n.top+e.clientTop,r=n.left+e.clientLeft,i=sn(e)?Is(e):tn(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 vf(e,t,n){let s;if(t==="viewport")s=EC(e,n);else if(t==="document")s=CC(an(e));else if(Lt(t))s=AC(t,n);else{const r=mg(e);s={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return vo(s)}function yg(e,t){const n=Vn(e);return n===t||!Lt(n)||sr(n)?!1:It(n).position==="fixed"||yg(n,t)}function PC(e,t){const n=t.get(e);if(n)return n;let s=Kr(e,[],!1).filter(a=>Lt(a)&&pr(a)!=="body"),r=null;const i=It(e).position==="fixed";let o=i?Vn(e):e;for(;Lt(o)&&!sr(o);){const a=It(o),c=Wl(o);!c&&a.position==="fixed"&&(r=null),(i?!c&&!r:!c&&a.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||_i(o)&&!c&&yg(e,o))?s=s.filter(u=>u!==o):r=a,o=Vn(o)}return t.set(e,s),s}function RC(e){let{element:t,boundary:n,rootBoundary:s,strategy:r}=e;const o=[...n==="clippingAncestors"?Zo(t)?[]:PC(t,this._c):[].concat(n),s],a=o[0],c=o.reduce((l,u)=>{const d=vf(t,u,r);return l.top=ht(d.top,l.top),l.right=Ln(d.right,l.right),l.bottom=Ln(d.bottom,l.bottom),l.left=ht(d.left,l.left),l},vf(t,a,r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function kC(e){const{width:t,height:n}=pg(e);return{width:t,height:n}}function NC(e,t,n){const s=sn(t),r=an(t),i=n==="fixed",o=ms(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const c=tn(0);if(s||!s&&!i)if((pr(t)!=="body"||_i(r))&&(a=Ko(t)),s){const f=ms(t,!0,i,t);c.x=f.x+t.clientLeft,c.y=f.y+t.clientTop}else r&&(c.x=Zl(r));const l=r&&!s&&!i?gg(r,a):tn(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 ka(e){return It(e).position==="static"}function xf(e,t){if(!sn(e)||It(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return an(e)===n&&(n=n.ownerDocument.body),n}function vg(e,t){const n=yt(e);if(Zo(e))return n;if(!sn(e)){let r=Vn(e);for(;r&&!sr(r);){if(Lt(r)&&!ka(r))return r;r=Vn(r)}return n}let s=xf(e,t);for(;s&&xC(s)&&ka(s);)s=xf(s,t);return s&&sr(s)&&ka(s)&&!Wl(s)?n:s||bC(e)||n}const jC=async function(e){const t=this.getOffsetParent||vg,n=this.getDimensions,s=await n(e.floating);return{reference:NC(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function OC(e){return It(e).direction==="rtl"}const DC={convertOffsetParentRelativeRectToViewportRelativeRect:_C,getDocumentElement:an,getClippingRect:RC,getOffsetParent:vg,getElementRects:jC,getClientRects:TC,getDimensions:kC,getScale:Is,isElement:Lt,isRTL:OC};function xg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function MC(e,t){let n=null,s;const r=an(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:g}=l;if(a||t(),!f||!g)return;const m=$i(d),p=$i(r.clientWidth-(u+f)),y=$i(r.clientHeight-(d+g)),v=$i(u),w={rootMargin:-m+"px "+-p+"px "+-y+"px "+-v+"px",threshold:ht(0,Ln(1,c))||1};let T=!0;function S(A){const P=A[0].intersectionRatio;if(P!==c){if(!T)return o();P?o(!1,P):s=setTimeout(()=>{o(!1,1e-7)},1e3)}P===1&&!xg(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 FC(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=ql(e),u=r||i?[...l?Kr(l):[],...Kr(t)]:[];u.forEach(v=>{r&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const d=l&&a?MC(l,n):null;let f=-1,g=null;o&&(g=new ResizeObserver(v=>{let[b]=v;b&&b.target===l&&g&&(g.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(t)})),n()}),l&&!c&&g.observe(l),g.observe(t));let m,p=c?ms(e):null;c&&y();function y(){const v=ms(e);p&&!xg(p,v)&&n(),p=v,m=requestAnimationFrame(y)}return n(),()=>{var v;u.forEach(b=>{r&&b.removeEventListener("scroll",n),i&&b.removeEventListener("resize",n)}),d==null||d(),(v=g)==null||v.disconnect(),g=null,c&&cancelAnimationFrame(m)}}const LC=mC,IC=gC,VC=fC,BC=vC,UC=hC,bf=dC,$C=yC,zC=(e,t,n)=>{const s=new Map,r={platform:DC,...n},i={...r.platform,_c:s};return uC(e,t,{...r,platform:i})};var Ji=typeof document<"u"?x.useLayoutEffect:x.useEffect;function xo(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(!xo(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)&&!xo(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function bg(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function wf(e,t){const n=bg(e);return Math.round(t*n)/n}function Na(e){const t=x.useRef(e);return Ji(()=>{t.current=e}),t}function WC(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,g]=x.useState(s);xo(f,s)||g(s);const[m,p]=x.useState(null),[y,v]=x.useState(null),b=x.useCallback(Z=>{Z!==A.current&&(A.current=Z,p(Z))},[]),w=x.useCallback(Z=>{Z!==P.current&&(P.current=Z,v(Z))},[]),T=i||m,S=o||y,A=x.useRef(null),P=x.useRef(null),E=x.useRef(u),j=c!=null,D=Na(c),L=Na(r),O=Na(l),$=x.useCallback(()=>{if(!A.current||!P.current)return;const Z={placement:t,strategy:n,middleware:f};L.current&&(Z.platform=L.current),zC(A.current,P.current,Z).then(re=>{const de={...re,isPositioned:O.current!==!1};I.current&&!xo(E.current,de)&&(E.current=de,fh.flushSync(()=>{d(de)}))})},[f,t,n,L,O]);Ji(()=>{l===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,d(Z=>({...Z,isPositioned:!1})))},[l]);const I=x.useRef(!1);Ji(()=>(I.current=!0,()=>{I.current=!1}),[]),Ji(()=>{if(T&&(A.current=T),S&&(P.current=S),T&&S){if(D.current)return D.current(T,S,$);$()}},[T,S,$,D,j]);const J=x.useMemo(()=>({reference:A,floating:P,setReference:b,setFloating:w}),[b,w]),X=x.useMemo(()=>({reference:T,floating:S}),[T,S]),q=x.useMemo(()=>{const Z={position:n,left:0,top:0};if(!X.floating)return Z;const re=wf(X.floating,u.x),de=wf(X.floating,u.y);return a?{...Z,transform:"translate("+re+"px, "+de+"px)",...bg(X.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:re,top:de}},[n,a,X.floating,u.x,u.y]);return x.useMemo(()=>({...u,update:$,refs:J,elements:X,floatingStyles:q}),[u,$,J,X,q])}const HC=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?bf({element:s.current,padding:r}).fn(n):{}:s?bf({element:s,padding:r}).fn(n):{}}}},qC=(e,t)=>({...LC(e),options:[e,t]}),ZC=(e,t)=>({...IC(e),options:[e,t]}),KC=(e,t)=>({...$C(e),options:[e,t]}),GC=(e,t)=>({...VC(e),options:[e,t]}),QC=(e,t)=>({...BC(e),options:[e,t]}),XC=(e,t)=>({...UC(e),options:[e,t]}),YC=(e,t)=>({...HC(e),options:[e,t]});var JC="Arrow",wg=x.forwardRef((e,t)=>{const{children:n,width:s=10,height:r=5,...i}=e;return h.jsx(ot.svg,{...i,ref:t,width:s,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:h.jsx("polygon",{points:"0,0 30,0 15,10"})})});wg.displayName=JC;var eE=wg;function tE(e){const[t,n]=x.useState(void 0);return hs(()=>{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 Kl="Popper",[Sg,_g]=$c(Kl),[nE,Tg]=Sg(Kl),Cg=e=>{const{__scopePopper:t,children:n}=e,[s,r]=x.useState(null);return h.jsx(nE,{scope:t,anchor:s,onAnchorChange:r,children:n})};Cg.displayName=Kl;var Eg="PopperAnchor",Ag=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:s,...r}=e,i=Tg(Eg,n),o=x.useRef(null),a=Bt(t,o);return x.useEffect(()=>{i.onAnchorChange((s==null?void 0:s.current)||o.current)}),s?null:h.jsx(ot.div,{...r,ref:a})});Ag.displayName=Eg;var Gl="PopperContent",[sE,rE]=Sg(Gl),Pg=x.forwardRef((e,t)=>{var ue,ye,je,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:g="optimized",onPlaced:m,...p}=e,y=Tg(Gl,n),[v,b]=x.useState(null),w=Bt(t,fe=>b(fe)),[T,S]=x.useState(null),A=tE(T),P=(A==null?void 0:A.width)??0,E=(A==null?void 0:A.height)??0,j=s+(i!=="center"?"-"+i:""),D=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},L=Array.isArray(l)?l:[l],O=L.length>0,$={padding:D,boundary:L.filter(oE),altBoundary:O},{refs:I,floatingStyles:J,placement:X,isPositioned:q,middlewareData:Z}=WC({strategy:"fixed",placement:j,whileElementsMounted:(...fe)=>FC(...fe,{animationFrame:g==="always"}),elements:{reference:y.anchor},middleware:[qC({mainAxis:r+E,alignmentAxis:o}),c&&ZC({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?KC():void 0,...$}),c&&GC({...$}),QC({...$,apply:({elements:fe,rects:Se,availableWidth:$e,availableHeight:ft})=>{const{width:bt,height:_}=Se.reference,R=fe.floating.style;R.setProperty("--radix-popper-available-width",`${$e}px`),R.setProperty("--radix-popper-available-height",`${ft}px`),R.setProperty("--radix-popper-anchor-width",`${bt}px`),R.setProperty("--radix-popper-anchor-height",`${_}px`)}}),T&&YC({element:T,padding:a}),aE({arrowWidth:P,arrowHeight:E}),f&&XC({strategy:"referenceHidden",...$})]}),[re,de]=Ng(X),ge=Dn(m);hs(()=>{q&&(ge==null||ge())},[q,ge]);const Be=(ue=Z.arrow)==null?void 0:ue.x,qe=(ye=Z.arrow)==null?void 0:ye.y,Ze=((je=Z.arrow)==null?void 0:je.centerOffset)!==0,[Pt,Je]=x.useState();return hs(()=>{v&&Je(window.getComputedStyle(v).zIndex)},[v]),h.jsx("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...J,transform:q?J.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Pt,"--radix-popper-transform-origin":[(Le=Z.transformOrigin)==null?void 0:Le.x,(we=Z.transformOrigin)==null?void 0:we.y].join(" "),...((G=Z.hide)==null?void 0:G.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:h.jsx(sE,{scope:n,placedSide:re,onArrowChange:S,arrowX:Be,arrowY:qe,shouldHideArrow:Ze,children:h.jsx(ot.div,{"data-side":re,"data-align":de,...p,ref:w,style:{...p.style,animation:q?void 0:"none"}})})})});Pg.displayName=Gl;var Rg="PopperArrow",iE={top:"bottom",right:"left",bottom:"top",left:"right"},kg=x.forwardRef(function(t,n){const{__scopePopper:s,...r}=t,i=rE(Rg,s),o=iE[i.placedSide];return h.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:h.jsx(eE,{...r,ref:n,style:{...r.style,display:"block"}})})});kg.displayName=Rg;function oE(e){return e!==null}var aE=e=>({name:"transformOrigin",options:e,fn(t){var y,v,b;const{placement:n,rects:s,middlewareData:r}=t,o=((y=r.arrow)==null?void 0:y.centerOffset)!==0,a=o?0:e.arrowWidth,c=o?0:e.arrowHeight,[l,u]=Ng(n),d={start:"0%",center:"50%",end:"100%"}[u],f=(((v=r.arrow)==null?void 0:v.x)??0)+a/2,g=(((b=r.arrow)==null?void 0:b.y)??0)+c/2;let m="",p="";return l==="bottom"?(m=o?d:`${f}px`,p=`${-c}px`):l==="top"?(m=o?d:`${f}px`,p=`${s.floating.height+c}px`):l==="right"?(m=`${-c}px`,p=o?d:`${g}px`):l==="left"&&(m=`${s.floating.width+c}px`,p=o?d:`${g}px`),{data:{x:m,y:p}}}});function Ng(e){const[t,n="center"]=e.split("-");return[t,n]}var cE=Cg,jg=Ag,lE=Pg,uE=kg,Ql="Popover",[Og,wk]=$c(Ql,[_g]),Ti=_g(),[dE,Hn]=Og(Ql),Dg=e=>{const{__scopePopover:t,children:n,open:s,defaultOpen:r,onOpenChange:i,modal:o=!1}=e,a=Ti(t),c=x.useRef(null),[l,u]=x.useState(!1),[d=!1,f]=ph({prop:s,defaultProp:r,onChange:i});return h.jsx(cE,{...a,children:h.jsx(dE,{scope:t,contentId:qi(),triggerRef:c,open:d,onOpenChange:f,onOpenToggle:x.useCallback(()=>f(g=>!g),[f]),hasCustomAnchor:l,onCustomAnchorAdd:x.useCallback(()=>u(!0),[]),onCustomAnchorRemove:x.useCallback(()=>u(!1),[]),modal:o,children:n})})};Dg.displayName=Ql;var Mg="PopoverAnchor",fE=x.forwardRef((e,t)=>{const{__scopePopover:n,...s}=e,r=Hn(Mg,n),i=Ti(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:a}=r;return x.useEffect(()=>(o(),()=>a()),[o,a]),h.jsx(jg,{...i,...s,ref:t})});fE.displayName=Mg;var Fg="PopoverTrigger",Lg=x.forwardRef((e,t)=>{const{__scopePopover:n,...s}=e,r=Hn(Fg,n),i=Ti(n),o=Bt(t,r.triggerRef),a=h.jsx(ot.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":$g(r.open),...s,ref:o,onClick:mt(e.onClick,r.onOpenToggle)});return r.hasCustomAnchor?a:h.jsx(jg,{asChild:!0,...i,children:a})});Lg.displayName=Fg;var Xl="PopoverPortal",[hE,pE]=Og(Xl,{forceMount:void 0}),Ig=e=>{const{__scopePopover:t,forceMount:n,children:s,container:r}=e,i=Hn(Xl,t);return h.jsx(hE,{scope:t,forceMount:n,children:h.jsx(lr,{present:n||i.open,children:h.jsx(Hc,{asChild:!0,container:r,children:s})})})};Ig.displayName=Xl;var rr="PopoverContent",Vg=x.forwardRef((e,t)=>{const n=pE(rr,e.__scopePopover),{forceMount:s=n.forceMount,...r}=e,i=Hn(rr,e.__scopePopover);return h.jsx(lr,{present:s||i.open,children:i.modal?h.jsx(mE,{...r,ref:t}):h.jsx(gE,{...r,ref:t})})});Vg.displayName=rr;var mE=x.forwardRef((e,t)=>{const n=Hn(rr,e.__scopePopover),s=x.useRef(null),r=Bt(t,s),i=x.useRef(!1);return x.useEffect(()=>{const o=s.current;if(o)return Ah(o)},[]),h.jsx(qc,{as:cr,allowPinchZoom:!0,children:h.jsx(Bg,{...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})})})}),gE=x.forwardRef((e,t)=>{const n=Hn(rr,e.__scopePopover),s=x.useRef(!1),r=x.useRef(!1);return h.jsx(Bg,{...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()}})}),Bg=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=Hn(rr,n),g=Ti(n);return vh(),h.jsx(Wc,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:r,onUnmountAutoFocus:i,children:h.jsx(zc,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>f.onOpenChange(!1),children:h.jsx(lE,{"data-state":$g(f.open),role:"dialog",id:f.contentId,...g,...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)"}})})})}),Ug="PopoverClose",yE=x.forwardRef((e,t)=>{const{__scopePopover:n,...s}=e,r=Hn(Ug,n);return h.jsx(ot.button,{type:"button",...s,ref:t,onClick:mt(e.onClick,()=>r.onOpenChange(!1))})});yE.displayName=Ug;var vE="PopoverArrow",xE=x.forwardRef((e,t)=>{const{__scopePopover:n,...s}=e,r=Ti(n);return h.jsx(uE,{...r,...s,ref:t})});xE.displayName=vE;function $g(e){return e?"open":"closed"}var bE=Dg,wE=Lg,SE=Ig,zg=Vg;const Wg=bE,Hg=wE,Yl=x.forwardRef(({className:e,align:t="center",sideOffset:n=4,...s},r)=>h.jsx(SE,{children:h.jsx(zg,{ref:r,align:t,sideOffset:n,className:H("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})}));Yl.displayName=zg.displayName;const Sf=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(g=>g(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},_E=e=>e?Sf(e):Sf,TE=e=>e;function CE(e,t=TE){const n=ve.useSyncExternalStore(e.subscribe,()=>t(e.getState()),()=>t(e.getInitialState()));return ve.useDebugValue(n),n}const EE=e=>{const t=_E(e),n=s=>CE(t,s);return Object.assign(n,t),n},qg=e=>EE;function AE(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 pc=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(s){return pc(s)(n)},catch(s){return this}}}catch(n){return{then(s){return this},catch(s){return pc(s)(n)}}}},PE=(e,t)=>(n,s,r)=>{let i={storage:AE(()=>localStorage),partialize:p=>p,version:0,merge:(p,y)=>({...y,...p}),...t},o=!1;const a=new Set,c=new Set;let l=i.storage;if(!l)return e((...p)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...p)},s,r);const u=()=>{const p=i.partialize({...s()});return l.setItem(i.name,{state:p,version:i.version})},d=r.setState;r.setState=(p,y)=>{d(p,y),u()};const f=e((...p)=>{n(...p),u()},s,r);r.getInitialState=()=>f;let g;const m=()=>{var p,y;if(!l)return;o=!1,a.forEach(b=>{var w;return b((w=s())!=null?w:f)});const v=((y=i.onRehydrateStorage)==null?void 0:y.call(i,(p=s())!=null?p:f))||void 0;return pc(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(g=i.merge(S,(w=s())!=null?w:f),n(g,!0),T)return u()}).then(()=>{v==null||v(g,void 0),g=s(),o=!0,c.forEach(b=>b(g))}).catch(b=>{v==null||v(void 0,b)})};return r.persist={setOptions:p=>{i={...i,...p},p.storage&&(l=p.storage)},clearStorage:()=>{l==null||l.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>m(),hasHydrated:()=>o,onHydrate:p=>(a.add(p),()=>{a.delete(p)}),onFinishHydration:p=>(c.add(p),()=>{c.delete(p)})},i.skipHydration||m(),g||f},RE=PE;var Et=(e=>(e.EN="en",e.RU="ru",e))(Et||{});const Ee=qg()(RE(e=>({lang:"en",setLang:t=>e({lang:t})}),{name:"lang-storage"})),kE=[{lang:Et.RU},{lang:Et.EN}],_f=({className:e,light:t=!1})=>{const n=Ee(o=>o.lang),s=Ee(o=>o.setLang),[r,i]=x.useState(!1);return h.jsxs(Wg,{open:r,onOpenChange:()=>i(!r),children:[h.jsxs(Hg,{className:H("flex text-white items-center gap-2",t?"text-white":"text-black",e),children:[h.jsx("img",{src:n===Et.RU?"/ru.svg":"/english.svg",alt:""}),n===Et.RU?"Ру":"En",h.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.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"})})]}),h.jsx(Yl,{className:"flex flex-col gap-6",children:kE.filter(o=>o.lang!==n).map((o,a)=>h.jsxs("div",{onClick:()=>{s(o.lang),i(!1)},className:"flex gap-3 py-1 items-center cursor-pointer",children:[h.jsx("img",{src:o.lang===Et.RU?"/ru.svg":"/english.svg",alt:"flag"}),h.jsx("h5",{children:o.lang===Et.RU?"Русский":"English"})]},a))})]})},NE=Wh,jE=Hh,OE=qh,Zg=x.forwardRef(({className:e,...t},n)=>h.jsx(Oo,{ref:n,className:H("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=Oo.displayName;const Kg=x.forwardRef(({className:e,children:t,...n},s)=>h.jsxs(OE,{children:[h.jsx(Zg,{}),h.jsxs(Do,{ref:s,className:H("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,h.jsxs(Xc,{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:[h.jsx(Jc,{className:"size-6"}),h.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Kg.displayName=Do.displayName;const DE=x.forwardRef(({className:e,...t},n)=>h.jsx(Mo,{ref:n,className:H("text-lg font-semibold leading-none tracking-tight",e),...t}));DE.displayName=Mo.displayName;const ME=x.forwardRef(({className:e,...t},n)=>h.jsx(Fo,{ref:n,className:H("text-sm text-muted-foreground",e),...t}));ME.displayName=Fo.displayName;const Tf=(e,t,n)=>{if(e&&"reportValidity"in e){const s=B(n,t);e.setCustomValidity(s&&s.message||""),e.reportValidity()}},Gg=(e,t)=>{for(const n in t.fields){const s=t.fields[n];s&&s.ref&&"reportValidity"in s.ref?Tf(s.ref,n,e):s.refs&&s.refs.forEach(r=>Tf(r,n,e))}},FE=(e,t)=>{t.shouldUseNativeValidation&&Gg(e,t);const n={};for(const s in e){const r=B(t.fields,s),i=Object.assign(e[s]||{},{ref:r&&r.ref});if(LE(t.names||Object.keys(e),s)){const o=Object.assign({},B(n,s));xe(o,"root",i),xe(n,s,o)}else xe(n,s,i)}return n},LE=(e,t)=>e.some(n=>n.startsWith(t+"."));var IE=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]=Km(o,t,n,r,l?[].concat(l,s.message):s.message)}e.shift()}return n},VE=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&&Gg({},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:FE(IE(o.errors,!i.shouldUseNativeValidation&&i.criteriaMode==="all"),i)};throw o}))}catch(o){return Promise.reject(o)}}},me;(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})(me||(me={}));var mc;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(mc||(mc={}));const W=me.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),fn=e=>{switch(typeof e){case"undefined":return W.undefined;case"string":return W.string;case"number":return isNaN(e)?W.nan:W.number;case"boolean":return W.boolean;case"function":return W.function;case"bigint":return W.bigint;case"symbol":return W.symbol;case"object":return Array.isArray(e)?W.array:e===null?W.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?W.promise:typeof Map<"u"&&e instanceof Map?W.map:typeof Set<"u"&&e instanceof Set?W.set:typeof Date<"u"&&e instanceof Date?W.date:W.object;default:return W.unknown}},M=me.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"]),BE=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 ir=(e,t)=>{let n;switch(e.code){case M.invalid_type:e.received===W.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case M.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,me.jsonStringifyReplacer)}`;break;case M.unrecognized_keys:n=`Unrecognized key(s) in object: ${me.joinValues(e.keys,", ")}`;break;case M.invalid_union:n="Invalid input";break;case M.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${me.joinValues(e.options)}`;break;case M.invalid_enum_value:n=`Invalid enum value. Expected ${me.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}"`:me.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,me.assertNever(e)}return{message:n}};let Qg=ir;function UE(e){Qg=e}function bo(){return Qg}const wo=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}},$E=[];function z(e,t){const n=bo(),s=wo({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===ir?void 0:ir].filter(r=>!!r)});e.common.issues.push(s)}class Ye{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 se;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 Ye.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 se;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 se=Object.freeze({status:"aborted"}),Ms=e=>({status:"dirty",value:e}),it=e=>({status:"valid",value:e}),gc=e=>e.status==="aborted",yc=e=>e.status==="dirty",gs=e=>e.status==="valid",Gr=e=>typeof Promise<"u"&&e instanceof Promise;function So(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 Xg(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 Q;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(Q||(Q={}));var Rr,kr;class rn{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 Cf=(e,t)=>{if(gs(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 fn(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:fn(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Ye,ctx:{common:t.parent.common,data:t.data,parsedType:fn(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(Gr(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:fn(t)},i=this._parseSync({data:t,path:r.path,parent:r});return Cf(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:fn(t)};if(!this["~standard"].async)try{const i=this._parseSync({data:t,path:[],parent:r});return gs(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=>gs(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:fn(t)},r=this._parse({data:t,path:s.path,parent:s}),i=await(Gr(r)?r:Promise.resolve(r));return Cf(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 Vt({schema:this,typeName:te.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 nn.create(this,this._def)}nullable(){return zn.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Mt.create(this)}promise(){return ar.create(this,this._def)}or(t){return Jr.create([this,t],this._def)}and(t){return ei.create(this,t,this._def)}transform(t){return new Vt({...oe(this._def),schema:this,typeName:te.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new ii({...oe(this._def),innerType:this,defaultValue:n,typeName:te.ZodDefault})}brand(){return new Jl({typeName:te.ZodBranded,type:this,...oe(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new oi({...oe(this._def),innerType:this,catchValue:n,typeName:te.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return Ci.create(this,t)}readonly(){return ai.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const zE=/^c[^\s-]{8,}$/i,WE=/^[0-9a-z]+$/,HE=/^[0-9A-HJKMNP-TV-Z]{26}$/i,qE=/^[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,ZE=/^[a-z0-9_-]{21}$/i,KE=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,GE=/^[-+]?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)?)??$/,QE=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,XE="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let ja;const YE=/^(?:(?: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]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,JE=/^(?:(?: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]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,eA=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([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]))$/,tA=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([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])$/,nA=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,sA=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,Yg="((\\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])))",rA=new RegExp(`^${Yg}$`);function Jg(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 iA(e){return new RegExp(`^${Jg(e)}$`)}function ey(e){let t=`${Yg}T${Jg(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 oA(e,t){return!!((t==="v4"||!t)&&YE.test(e)||(t==="v6"||!t)&&eA.test(e))}function aA(e,t){if(!KE.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 cA(e,t){return!!((t==="v4"||!t)&&JE.test(e)||(t==="v6"||!t)&&tA.test(e))}class Dt extends le{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==W.string){const i=this._getOrReturnCtx(t);return z(i,{code:M.invalid_type,expected:W.string,received:i.parsedType}),se}const s=new Ye;let r;for(const i of this._def.checks)if(i.kind==="min")t.data.lengthi.value&&(r=this._getOrReturnCtx(t,r),z(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,...Q.errToObj(s)})}_addCheck(t){return new Dt({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Q.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Q.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Q.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Q.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...Q.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Q.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Q.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Q.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...Q.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...Q.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...Q.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Q.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...Q.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,...Q.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,...Q.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...Q.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...Q.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...Q.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...Q.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...Q.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...Q.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...Q.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...Q.errToObj(n)})}nonempty(t){return this.min(1,Q.errToObj(t))}trim(){return new Dt({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Dt({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Dt({...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 Dt({checks:[],typeName:te.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...oe(e)})};function lA(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 Bn 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)!==W.number){const i=this._getOrReturnCtx(t);return z(i,{code:M.invalid_type,expected:W.number,received:i.parsedType}),se}let s;const r=new Ye;for(const i of this._def.checks)i.kind==="int"?me.isInteger(t.data)||(s=this._getOrReturnCtx(t,s),z(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),z(s,{code:M.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="multipleOf"?lA(t.data,i.value)!==0&&(s=this._getOrReturnCtx(t,s),z(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),z(s,{code:M.not_finite,message:i.message}),r.dirty()):me.assertNever(i);return{status:r.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,Q.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Q.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Q.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Q.toString(n))}setLimit(t,n,s,r){return new Bn({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:s,message:Q.toString(r)}]})}_addCheck(t){return new Bn({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Q.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Q.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Q.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Q.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Q.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Q.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:Q.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Q.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Q.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"&&me.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 Bn({checks:[],typeName:te.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...oe(e)});class Un 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)!==W.bigint)return this._getInvalidInput(t);let s;const r=new Ye;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.datai.value:t.data>=i.value)&&(s=this._getOrReturnCtx(t,s),z(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),z(s,{code:M.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):me.assertNever(i);return{status:r.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return z(n,{code:M.invalid_type,expected:W.bigint,received:n.parsedType}),se}gte(t,n){return this.setLimit("min",t,!0,Q.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Q.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Q.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Q.toString(n))}setLimit(t,n,s,r){return new Un({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:s,message:Q.toString(r)}]})}_addCheck(t){return new Un({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Q.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Q.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Q.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Q.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Q.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 Un({checks:[],typeName:te.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)!==W.boolean){const s=this._getOrReturnCtx(t);return z(s,{code:M.invalid_type,expected:W.boolean,received:s.parsedType}),se}return it(t.data)}}Qr.create=e=>new Qr({typeName:te.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...oe(e)});class ys extends le{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==W.date){const i=this._getOrReturnCtx(t);return z(i,{code:M.invalid_type,expected:W.date,received:i.parsedType}),se}if(isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return z(i,{code:M.invalid_date}),se}const s=new Ye;let r;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()i.value&&(r=this._getOrReturnCtx(t,r),z(r,{code:M.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),s.dirty()):me.assertNever(i);return{status:s.value,value:new Date(t.data.getTime())}}_addCheck(t){return new ys({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:Q.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:Q.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 ys({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:te.ZodDate,...oe(e)});class _o extends le{_parse(t){if(this._getType(t)!==W.symbol){const s=this._getOrReturnCtx(t);return z(s,{code:M.invalid_type,expected:W.symbol,received:s.parsedType}),se}return it(t.data)}}_o.create=e=>new _o({typeName:te.ZodSymbol,...oe(e)});class Xr extends le{_parse(t){if(this._getType(t)!==W.undefined){const s=this._getOrReturnCtx(t);return z(s,{code:M.invalid_type,expected:W.undefined,received:s.parsedType}),se}return it(t.data)}}Xr.create=e=>new Xr({typeName:te.ZodUndefined,...oe(e)});class Yr extends le{_parse(t){if(this._getType(t)!==W.null){const s=this._getOrReturnCtx(t);return z(s,{code:M.invalid_type,expected:W.null,received:s.parsedType}),se}return it(t.data)}}Yr.create=e=>new Yr({typeName:te.ZodNull,...oe(e)});class or extends le{constructor(){super(...arguments),this._any=!0}_parse(t){return it(t.data)}}or.create=e=>new or({typeName:te.ZodAny,...oe(e)});class ds extends le{constructor(){super(...arguments),this._unknown=!0}_parse(t){return it(t.data)}}ds.create=e=>new ds({typeName:te.ZodUnknown,...oe(e)});class xn extends le{_parse(t){const n=this._getOrReturnCtx(t);return z(n,{code:M.invalid_type,expected:W.never,received:n.parsedType}),se}}xn.create=e=>new xn({typeName:te.ZodNever,...oe(e)});class To extends le{_parse(t){if(this._getType(t)!==W.undefined){const s=this._getOrReturnCtx(t);return z(s,{code:M.invalid_type,expected:W.void,received:s.parsedType}),se}return it(t.data)}}To.create=e=>new To({typeName:te.ZodVoid,...oe(e)});class Mt extends le{_parse(t){const{ctx:n,status:s}=this._processInputParams(t),r=this._def;if(n.parsedType!==W.array)return z(n,{code:M.invalid_type,expected:W.array,received:n.parsedType}),se;if(r.exactLength!==null){const o=n.data.length>r.exactLength.value,a=n.data.lengthr.maxLength.value&&(z(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 rn(n,o,n.path,a)))).then(o=>Ye.mergeArray(s,o));const i=[...n.data].map((o,a)=>r.type._parseSync(new rn(n,o,n.path,a)));return Ye.mergeArray(s,i)}get element(){return this._def.type}min(t,n){return new Mt({...this._def,minLength:{value:t,message:Q.toString(n)}})}max(t,n){return new Mt({...this._def,maxLength:{value:t,message:Q.toString(n)}})}length(t,n){return new Mt({...this._def,exactLength:{value:t,message:Q.toString(n)}})}nonempty(t){return this.min(1,t)}}Mt.create=(e,t)=>new Mt({type:e,minLength:null,maxLength:null,exactLength:null,typeName:te.ZodArray,...oe(t)});function Rs(e){if(e instanceof Ae){const t={};for(const n in e.shape){const s=e.shape[n];t[n]=nn.create(Rs(s))}return new Ae({...e._def,shape:()=>t})}else return e instanceof Mt?new Mt({...e._def,type:Rs(e.element)}):e instanceof nn?nn.create(Rs(e.unwrap())):e instanceof zn?zn.create(Rs(e.unwrap())):e instanceof on?on.create(e.items.map(t=>Rs(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=me.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==W.object){const l=this._getOrReturnCtx(t);return z(l,{code:M.invalid_type,expected:W.object,received:l.parsedType}),se}const{status:s,ctx:r}=this._processInputParams(t),{shape:i,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof xn&&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 rn(r,d,r.path,l)),alwaysSet:l in r.data})}if(this._def.catchall instanceof xn){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&&(z(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 rn(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=>Ye.mergeObjectSync(s,l)):Ye.mergeObjectSync(s,c)}get shape(){return this._def.shape()}strict(t){return Q.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=Q.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:te.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Ae({...this._def,catchall:t})}pick(t){const n={};return me.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 me.objectKeys(this.shape).forEach(s=>{t[s]||(n[s]=this.shape[s])}),new Ae({...this._def,shape:()=>n})}deepPartial(){return Rs(this)}partial(t){const n={};return me.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 me.objectKeys(this.shape).forEach(s=>{if(t&&!t[s])n[s]=this.shape[s];else{let i=this.shape[s];for(;i instanceof nn;)i=i._def.innerType;n[s]=i}}),new Ae({...this._def,shape:()=>n})}keyof(){return ty(me.objectKeys(this.shape))}}Ae.create=(e,t)=>new Ae({shape:()=>e,unknownKeys:"strip",catchall:xn.create(),typeName:te.ZodObject,...oe(t)});Ae.strictCreate=(e,t)=>new Ae({shape:()=>e,unknownKeys:"strict",catchall:xn.create(),typeName:te.ZodObject,...oe(t)});Ae.lazycreate=(e,t)=>new Ae({shape:e,unknownKeys:"strip",catchall:xn.create(),typeName:te.ZodObject,...oe(t)});class Jr 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 z(n,{code:M.invalid_union,unionErrors:o}),se}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 z(n,{code:M.invalid_union,unionErrors:a}),se}}get options(){return this._def.options}}Jr.create=(e,t)=>new Jr({options:e,typeName:te.ZodUnion,...oe(t)});const un=e=>e instanceof ni?un(e.schema):e instanceof Vt?un(e.innerType()):e instanceof si?[e.value]:e instanceof $n?e.options:e instanceof ri?me.objectValues(e.enum):e instanceof ii?un(e._def.innerType):e instanceof Xr?[void 0]:e instanceof Yr?[null]:e instanceof nn?[void 0,...un(e.unwrap())]:e instanceof zn?[null,...un(e.unwrap())]:e instanceof Jl||e instanceof ai?un(e.unwrap()):e instanceof oi?un(e._def.innerType):[];class Go extends le{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==W.object)return z(n,{code:M.invalid_type,expected:W.object,received:n.parsedType}),se;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}):(z(n,{code:M.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[s]}),se)}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=un(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 Go({typeName:te.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:r,...oe(s)})}}function vc(e,t){const n=fn(e),s=fn(t);if(e===t)return{valid:!0,data:e};if(n===W.object&&s===W.object){const r=me.objectKeys(t),i=me.objectKeys(e).filter(a=>r.indexOf(a)!==-1),o={...e,...t};for(const a of i){const c=vc(e[a],t[a]);if(!c.valid)return{valid:!1};o[a]=c.data}return{valid:!0,data:o}}else if(n===W.array&&s===W.array){if(e.length!==t.length)return{valid:!1};const r=[];for(let i=0;i{if(gc(i)||gc(o))return se;const a=vc(i.value,o.value);return a.valid?((yc(i)||yc(o))&&n.dirty(),{status:n.value,value:a.data}):(z(s,{code:M.invalid_intersection_types}),se)};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}))}}ei.create=(e,t,n)=>new ei({left:e,right:t,typeName:te.ZodIntersection,...oe(n)});class on extends le{_parse(t){const{status:n,ctx:s}=this._processInputParams(t);if(s.parsedType!==W.array)return z(s,{code:M.invalid_type,expected:W.array,received:s.parsedType}),se;if(s.data.lengththis._def.items.length&&(z(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 rn(s,o,s.path,a)):null}).filter(o=>!!o);return s.common.async?Promise.all(i).then(o=>Ye.mergeArray(n,o)):Ye.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new on({...this._def,rest:t})}}on.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new on({items:e,typeName:te.ZodTuple,rest:null,...oe(t)})};class ti 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!==W.object)return z(s,{code:M.invalid_type,expected:W.object,received:s.parsedType}),se;const r=[],i=this._def.keyType,o=this._def.valueType;for(const a in s.data)r.push({key:i._parse(new rn(s,a,s.path,a)),value:o._parse(new rn(s,s.data[a],s.path,a)),alwaysSet:a in s.data});return s.common.async?Ye.mergeObjectAsync(n,r):Ye.mergeObjectSync(n,r)}get element(){return this._def.valueType}static create(t,n,s){return n instanceof le?new ti({keyType:t,valueType:n,typeName:te.ZodRecord,...oe(s)}):new ti({keyType:Dt.create(),valueType:t,typeName:te.ZodRecord,...oe(n)})}}class Co 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!==W.map)return z(s,{code:M.invalid_type,expected:W.map,received:s.parsedType}),se;const r=this._def.keyType,i=this._def.valueType,o=[...s.data.entries()].map(([a,c],l)=>({key:r._parse(new rn(s,a,s.path,[l,"key"])),value:i._parse(new rn(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 se;(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 se;(l.status==="dirty"||u.status==="dirty")&&n.dirty(),a.set(l.value,u.value)}return{status:n.value,value:a}}}}Co.create=(e,t,n)=>new Co({valueType:t,keyType:e,typeName:te.ZodMap,...oe(n)});class vs extends le{_parse(t){const{status:n,ctx:s}=this._processInputParams(t);if(s.parsedType!==W.set)return z(s,{code:M.invalid_type,expected:W.set,received:s.parsedType}),se;const r=this._def;r.minSize!==null&&s.data.sizer.maxSize.value&&(z(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 se;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 rn(s,c,s.path,l)));return s.common.async?Promise.all(a).then(c=>o(c)):o(a)}min(t,n){return new vs({...this._def,minSize:{value:t,message:Q.toString(n)}})}max(t,n){return new vs({...this._def,maxSize:{value:t,message:Q.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}vs.create=(e,t)=>new vs({valueType:e,minSize:null,maxSize:null,typeName:te.ZodSet,...oe(t)});class Vs extends le{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==W.function)return z(n,{code:M.invalid_type,expected:W.function,received:n.parsedType}),se;function s(a,c){return wo({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,bo(),ir].filter(l=>!!l),issueData:{code:M.invalid_arguments,argumentsError:c}})}function r(a,c){return wo({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,bo(),ir].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 ar){const a=this;return it(async function(...c){const l=new vt([]),u=await a._def.args.parseAsync(c,i).catch(g=>{throw l.addIssue(s(c,g)),l}),d=await Reflect.apply(o,this,u);return await a._def.returns._def.type.parseAsync(d,i).catch(g=>{throw l.addIssue(r(d,g)),l})})}else{const a=this;return it(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 Vs({...this._def,args:on.create(t).rest(ds.create())})}returns(t){return new Vs({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,s){return new Vs({args:t||on.create([]).rest(ds.create()),returns:n||ds.create(),typeName:te.ZodFunction,...oe(s)})}}class ni 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})}}ni.create=(e,t)=>new ni({getter:e,typeName:te.ZodLazy,...oe(t)});class si extends le{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return z(n,{received:n.data,code:M.invalid_literal,expected:this._def.value}),se}return{status:"valid",value:t.data}}get value(){return this._def.value}}si.create=(e,t)=>new si({value:e,typeName:te.ZodLiteral,...oe(t)});function ty(e,t){return new $n({values:e,typeName:te.ZodEnum,...oe(t)})}class $n extends le{constructor(){super(...arguments),Rr.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),s=this._def.values;return z(n,{expected:me.joinValues(s),received:n.parsedType,code:M.invalid_type}),se}if(So(this,Rr)||Xg(this,Rr,new Set(this._def.values)),!So(this,Rr).has(t.data)){const n=this._getOrReturnCtx(t),s=this._def.values;return z(n,{received:n.data,code:M.invalid_enum_value,options:s}),se}return it(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 $n.create(t,{...this._def,...n})}exclude(t,n=this._def){return $n.create(this.options.filter(s=>!t.includes(s)),{...this._def,...n})}}Rr=new WeakMap;$n.create=ty;class ri extends le{constructor(){super(...arguments),kr.set(this,void 0)}_parse(t){const n=me.getValidEnumValues(this._def.values),s=this._getOrReturnCtx(t);if(s.parsedType!==W.string&&s.parsedType!==W.number){const r=me.objectValues(n);return z(s,{expected:me.joinValues(r),received:s.parsedType,code:M.invalid_type}),se}if(So(this,kr)||Xg(this,kr,new Set(me.getValidEnumValues(this._def.values))),!So(this,kr).has(t.data)){const r=me.objectValues(n);return z(s,{received:s.data,code:M.invalid_enum_value,options:r}),se}return it(t.data)}get enum(){return this._def.values}}kr=new WeakMap;ri.create=(e,t)=>new ri({values:e,typeName:te.ZodNativeEnum,...oe(t)});class ar extends le{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==W.promise&&n.common.async===!1)return z(n,{code:M.invalid_type,expected:W.promise,received:n.parsedType}),se;const s=n.parsedType===W.promise?n.data:Promise.resolve(n.data);return it(s.then(r=>this._def.type.parseAsync(r,{path:n.path,errorMap:n.common.contextualErrorMap})))}}ar.create=(e,t)=>new ar({type:e,typeName:te.ZodPromise,...oe(t)});class Vt extends le{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===te.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=>{z(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 se;const c=await this._def.schema._parseAsync({data:a,path:s.path,parent:s});return c.status==="aborted"?se:c.status==="dirty"||n.value==="dirty"?Ms(c.value):c});{if(n.value==="aborted")return se;const a=this._def.schema._parseSync({data:o,path:s.path,parent:s});return a.status==="aborted"?se:a.status==="dirty"||n.value==="dirty"?Ms(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"?se:(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"?se:(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(!gs(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=>gs(o)?Promise.resolve(r.transform(o.value,i)).then(a=>({status:n.value,value:a})):o);me.assertNever(r)}}Vt.create=(e,t,n)=>new Vt({schema:e,typeName:te.ZodEffects,effect:t,...oe(n)});Vt.createWithPreprocess=(e,t,n)=>new Vt({schema:t,effect:{type:"preprocess",transform:e},typeName:te.ZodEffects,...oe(n)});class nn extends le{_parse(t){return this._getType(t)===W.undefined?it(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}nn.create=(e,t)=>new nn({innerType:e,typeName:te.ZodOptional,...oe(t)});class zn extends le{_parse(t){return this._getType(t)===W.null?it(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}zn.create=(e,t)=>new zn({innerType:e,typeName:te.ZodNullable,...oe(t)});class ii extends le{_parse(t){const{ctx:n}=this._processInputParams(t);let s=n.data;return n.parsedType===W.undefined&&(s=this._def.defaultValue()),this._def.innerType._parse({data:s,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}ii.create=(e,t)=>new ii({innerType:e,typeName:te.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...oe(t)});class oi 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 Gr(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}}oi.create=(e,t)=>new oi({innerType:e,typeName:te.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...oe(t)});class Eo extends le{_parse(t){if(this._getType(t)!==W.nan){const s=this._getOrReturnCtx(t);return z(s,{code:M.invalid_type,expected:W.nan,received:s.parsedType}),se}return{status:"valid",value:t.data}}}Eo.create=e=>new Eo({typeName:te.ZodNaN,...oe(e)});const uA=Symbol("zod_brand");class Jl 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 Ci 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"?se:i.status==="dirty"?(n.dirty(),Ms(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"?se: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 Ci({in:t,out:n,typeName:te.ZodPipeline})}}class ai extends le{_parse(t){const n=this._def.innerType._parse(t),s=r=>(gs(r)&&(r.value=Object.freeze(r.value)),r);return Gr(n)?n.then(r=>s(r)):s(n)}unwrap(){return this._def.innerType}}ai.create=(e,t)=>new ai({innerType:e,typeName:te.ZodReadonly,...oe(t)});function ny(e,t={},n){return e?or.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})}}):or.create()}const dA={object:Ae.lazycreate};var te;(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"})(te||(te={}));const fA=(e,t={message:`Input not instance of ${e.name}`})=>ny(n=>n instanceof e,t),sy=Dt.create,ry=Bn.create,hA=Eo.create,pA=Un.create,iy=Qr.create,mA=ys.create,gA=_o.create,yA=Xr.create,vA=Yr.create,xA=or.create,bA=ds.create,wA=xn.create,SA=To.create,_A=Mt.create,TA=Ae.create,CA=Ae.strictCreate,EA=Jr.create,AA=Go.create,PA=ei.create,RA=on.create,kA=ti.create,NA=Co.create,jA=vs.create,OA=Vs.create,DA=ni.create,MA=si.create,FA=$n.create,LA=ri.create,IA=ar.create,Ef=Vt.create,VA=nn.create,BA=zn.create,UA=Vt.createWithPreprocess,$A=Ci.create,zA=()=>sy().optional(),WA=()=>ry().optional(),HA=()=>iy().optional(),qA={string:e=>Dt.create({...e,coerce:!0}),number:e=>Bn.create({...e,coerce:!0}),boolean:e=>Qr.create({...e,coerce:!0}),bigint:e=>Un.create({...e,coerce:!0}),date:e=>ys.create({...e,coerce:!0})},ZA=se;var Af=Object.freeze({__proto__:null,defaultErrorMap:ir,setErrorMap:UE,getErrorMap:bo,makeIssue:wo,EMPTY_PATH:$E,addIssueToContext:z,ParseStatus:Ye,INVALID:se,DIRTY:Ms,OK:it,isAborted:gc,isDirty:yc,isValid:gs,isAsync:Gr,get util(){return me},get objectUtil(){return mc},ZodParsedType:W,getParsedType:fn,ZodType:le,datetimeRegex:ey,ZodString:Dt,ZodNumber:Bn,ZodBigInt:Un,ZodBoolean:Qr,ZodDate:ys,ZodSymbol:_o,ZodUndefined:Xr,ZodNull:Yr,ZodAny:or,ZodUnknown:ds,ZodNever:xn,ZodVoid:To,ZodArray:Mt,ZodObject:Ae,ZodUnion:Jr,ZodDiscriminatedUnion:Go,ZodIntersection:ei,ZodTuple:on,ZodRecord:ti,ZodMap:Co,ZodSet:vs,ZodFunction:Vs,ZodLazy:ni,ZodLiteral:si,ZodEnum:$n,ZodNativeEnum:ri,ZodPromise:ar,ZodEffects:Vt,ZodTransformer:Vt,ZodOptional:nn,ZodNullable:zn,ZodDefault:ii,ZodCatch:oi,ZodNaN:Eo,BRAND:uA,ZodBranded:Jl,ZodPipeline:Ci,ZodReadonly:ai,custom:ny,Schema:le,ZodSchema:le,late:dA,get ZodFirstPartyTypeKind(){return te},coerce:qA,any:xA,array:_A,bigint:pA,boolean:iy,date:mA,discriminatedUnion:AA,effect:Ef,enum:FA,function:OA,instanceof:fA,intersection:PA,lazy:DA,literal:MA,map:NA,nan:hA,nativeEnum:LA,never:wA,null:vA,nullable:BA,number:ry,object:TA,oboolean:HA,onumber:WA,optional:VA,ostring:zA,pipeline:$A,preprocess:UA,promise:IA,record:kA,set:jA,strictObject:CA,string:sy,symbol:gA,transformer:Ef,tuple:RA,undefined:yA,union:EA,unknown:bA,void:SA,NEVER:ZA,ZodIssueCode:M,quotelessJson:BE,ZodError:vt});const Oa=(e,t)=>Ee(s=>s.lang)==="ru"?e:t;function oy(e,t){return function(){return e.apply(t,arguments)}}const{toString:KA}=Object.prototype,{getPrototypeOf:eu}=Object,Qo=(e=>t=>{const n=KA.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),$t=e=>(e=e.toLowerCase(),t=>Qo(t)===e),Xo=e=>t=>typeof t===e,{isArray:mr}=Array,ci=Xo("undefined");function GA(e){return e!==null&&!ci(e)&&e.constructor!==null&&!ci(e.constructor)&&xt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const ay=$t("ArrayBuffer");function QA(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&ay(e.buffer),t}const XA=Xo("string"),xt=Xo("function"),cy=Xo("number"),Yo=e=>e!==null&&typeof e=="object",YA=e=>e===!0||e===!1,eo=e=>{if(Qo(e)!=="object")return!1;const t=eu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},JA=$t("Date"),eP=$t("File"),tP=$t("Blob"),nP=$t("FileList"),sP=e=>Yo(e)&&xt(e.pipe),rP=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]"))},iP=$t("URLSearchParams"),[oP,aP,cP,lP]=["ReadableStream","Request","Response","Headers"].map($t),uP=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ei(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),mr(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const es=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,uy=e=>!ci(e)&&e!==es;function xc(){const{caseless:e}=uy(this)&&this||{},t={},n=(s,r)=>{const i=e&&ly(t,r)||r;eo(t[i])&&eo(s)?t[i]=xc(t[i],s):eo(s)?t[i]=xc({},s):mr(s)?t[i]=s.slice():t[i]=s};for(let s=0,r=arguments.length;s(Ei(t,(r,i)=>{n&&xt(r)?e[i]=oy(r,n):e[i]=r},{allOwnKeys:s}),e),fP=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),hP=(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)},pP=(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&&eu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},mP=(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},gP=e=>{if(!e)return null;if(mr(e))return e;let t=e.length;if(!cy(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},yP=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&eu(Uint8Array)),vP=(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])}},xP=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},bP=$t("HTMLFormElement"),wP=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Pf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),SP=$t("RegExp"),dy=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Ei(n,(r,i)=>{let o;(o=t(r,i,e))!==!1&&(s[i]=o||r)}),Object.defineProperties(e,s)},_P=e=>{dy(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+"'")})}})},TP=(e,t)=>{const n={},s=r=>{r.forEach(i=>{n[i]=!0})};return mr(e)?s(e):s(String(e).split(t)),n},CP=()=>{},EP=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Da="abcdefghijklmnopqrstuvwxyz",Rf="0123456789",fy={DIGIT:Rf,ALPHA:Da,ALPHA_DIGIT:Da+Da.toUpperCase()+Rf},AP=(e=16,t=fy.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function PP(e){return!!(e&&xt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const RP=e=>{const t=new Array(10),n=(s,r)=>{if(Yo(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const i=mr(s)?[]:{};return Ei(s,(o,a)=>{const c=n(o,r+1);!ci(c)&&(i[a]=c)}),t[r]=void 0,i}}return s};return n(e,0)},kP=$t("AsyncFunction"),NP=e=>e&&(Yo(e)||xt(e))&&xt(e.then)&&xt(e.catch),hy=((e,t)=>e?setImmediate:t?((n,s)=>(es.addEventListener("message",({source:r,data:i})=>{r===es&&i===n&&s.length&&s.shift()()},!1),r=>{s.push(r),es.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",xt(es.postMessage)),jP=typeof queueMicrotask<"u"?queueMicrotask.bind(es):typeof process<"u"&&process.nextTick||hy,k={isArray:mr,isArrayBuffer:ay,isBuffer:GA,isFormData:rP,isArrayBufferView:QA,isString:XA,isNumber:cy,isBoolean:YA,isObject:Yo,isPlainObject:eo,isReadableStream:oP,isRequest:aP,isResponse:cP,isHeaders:lP,isUndefined:ci,isDate:JA,isFile:eP,isBlob:tP,isRegExp:SP,isFunction:xt,isStream:sP,isURLSearchParams:iP,isTypedArray:yP,isFileList:nP,forEach:Ei,merge:xc,extend:dP,trim:uP,stripBOM:fP,inherits:hP,toFlatObject:pP,kindOf:Qo,kindOfTest:$t,endsWith:mP,toArray:gP,forEachEntry:vP,matchAll:xP,isHTMLForm:bP,hasOwnProperty:Pf,hasOwnProp:Pf,reduceDescriptors:dy,freezeMethods:_P,toObjectSet:TP,toCamelCase:wP,noop:CP,toFiniteNumber:EP,findKey:ly,global:es,isContextDefined:uy,ALPHABET:fy,generateString:AP,isSpecCompliantForm:PP,toJSONObject:RP,isAsyncFn:kP,isThenable:NP,setImmediate:hy,asap:jP};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 py=ie.prototype,my={};["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=>{my[e]={value:e}});Object.defineProperties(ie,my);Object.defineProperty(py,"isAxiosError",{value:!0});ie.from=(e,t,n,s,r,i)=>{const o=Object.create(py);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 OP=null;function bc(e){return k.isPlainObject(e)||k.isArray(e)}function gy(e){return k.endsWith(e,"[]")?e.slice(0,-2):e}function kf(e,t,n){return e?e.concat(t).map(function(r,i){return r=gy(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function DP(e){return k.isArray(e)&&!e.some(bc)}const MP=k.toFlatObject(k,{},null,function(t){return/^is[A-Z]/.test(t)});function Jo(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(p,y){return!k.isUndefined(y[p])});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,p,y){let v=m;if(m&&!y&&typeof m=="object"){if(k.endsWith(p,"{}"))p=s?p:p.slice(0,-2),m=JSON.stringify(m);else if(k.isArray(m)&&DP(m)||(k.isFileList(m)||k.endsWith(p,"[]"))&&(v=k.toArray(m)))return p=gy(p),v.forEach(function(w,T){!(k.isUndefined(w)||w===null)&&t.append(o===!0?kf([p],T,i):o===null?p:p+"[]",l(w))}),!1}return bc(m)?!0:(t.append(kf(y,p,i),l(m)),!1)}const d=[],f=Object.assign(MP,{defaultVisitor:u,convertValue:l,isVisitable:bc});function g(m,p){if(!k.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+p.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,p,f))===!0&&g(v,p?p.concat(b):[b])}),d.pop()}}if(!k.isObject(e))throw new TypeError("data must be an object");return g(e),t}function Nf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function tu(e,t){this._pairs=[],e&&Jo(e,this,t)}const yy=tu.prototype;yy.append=function(t,n){this._pairs.push([t,n])};yy.toString=function(t){const n=t?function(s){return t.call(this,s,Nf)}:Nf;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function FP(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function vy(e,t,n){if(!t)return e;const s=n&&n.encode||FP;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 tu(t,n).toString(s),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class jf{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 xy={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},LP=typeof URLSearchParams<"u"?URLSearchParams:tu,IP=typeof FormData<"u"?FormData:null,VP=typeof Blob<"u"?Blob:null,BP={isBrowser:!0,classes:{URLSearchParams:LP,FormData:IP,Blob:VP},protocols:["http","https","file","blob","url","data"]},nu=typeof window<"u"&&typeof document<"u",wc=typeof navigator=="object"&&navigator||void 0,UP=nu&&(!wc||["ReactNative","NativeScript","NS"].indexOf(wc.product)<0),$P=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",zP=nu&&window.location.href||"http://localhost",WP=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:nu,hasStandardBrowserEnv:UP,hasStandardBrowserWebWorkerEnv:$P,navigator:wc,origin:zP},Symbol.toStringTag,{value:"Module"})),Qe={...WP,...BP};function HP(e,t){return Jo(e,new Qe.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,i){return Qe.isNode&&k.isBuffer(n)?(this.append(s,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function qP(e){return k.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ZP(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]=ZP(r[o])),!a)}if(k.isFormData(e)&&k.isFunction(e.entries)){const n={};return k.forEachEntry(e,(s,r)=>{t(qP(s),r,n,0)}),n}return null}function KP(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 Ai={transitional:xy,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(by(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 HP(t,this.formSerializer).toString();if((a=k.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Jo(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),KP(t)):t}],transformResponse:[function(t){const n=this.transitional||Ai.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:Qe.classes.FormData,Blob:Qe.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=>{Ai.headers[e]={}});const GP=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"]),QP=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]&&GP[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Of=Symbol("internals");function Cr(e){return e&&String(e).trim().toLowerCase()}function to(e){return e===!1||e==null?e:k.isArray(e)?e.map(to):String(e)}function XP(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 YP=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ma(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 JP(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function eR(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 dt{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function i(a,c,l){const u=Cr(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]=to(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())&&!YP(t))o(QP(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=Cr(t),t){const s=k.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return XP(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=Cr(t),t){const s=k.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||Ma(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function i(o){if(o=Cr(o),o){const a=k.findKey(s,o);a&&(!n||Ma(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||Ma(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]=to(r),delete n[i];return}const a=t?JP(i):String(i).trim();a!==i&&delete n[i],n[a]=to(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[Of]=this[Of]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=Cr(o);s[a]||(eR(r,o),s[a]=!0)}return k.isArray(t)?t.forEach(i):i(t),this}}dt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);k.reduceDescriptors(dt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});k.freezeMethods(dt);function Fa(e,t){const n=this||Ai,s=t||n,r=dt.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 wy(e){return!!(e&&e.__CANCEL__)}function gr(e,t,n){ie.call(this,e??"canceled",ie.ERR_CANCELED,t,n),this.name="CanceledError"}k.inherits(gr,ie,{__CANCEL__:!0});function Sy(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 tR(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function nR(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 Ao=(e,t,n=3)=>{let s=0;const r=nR(50,250);return sR(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)},Df=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Mf=e=>(...t)=>k.asap(()=>e(...t)),rR=Qe.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Qe.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Qe.origin),Qe.navigator&&/(msie|trident)/i.test(Qe.navigator.userAgent)):()=>!0,iR=Qe.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 oR(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function aR(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function _y(e,t){return e&&!oR(t)?aR(e,t):t}const Ff=e=>e instanceof dt?{...e}:e;function xs(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(Ff(l),Ff(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 Ty=e=>{const t=xs({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:i,headers:o,auth:a}=t;t.headers=o=dt.from(o),t.url=vy(_y(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(Qe.hasStandardBrowserEnv||Qe.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(Qe.hasStandardBrowserEnv&&(s&&k.isFunction(s)&&(s=s(t)),s||s!==!1&&rR(t.url))){const l=r&&i&&iR.read(i);l&&o.set(r,l)}return t},cR=typeof XMLHttpRequest<"u",lR=cR&&function(e){return new Promise(function(n,s){const r=Ty(e);let i=r.data;const o=dt.from(r.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:l}=r,u,d,f,g,m;function p(){g&&g(),m&&m(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let y=new XMLHttpRequest;y.open(r.method.toUpperCase(),r.url,!0),y.timeout=r.timeout;function v(){if(!y)return;const w=dt.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:w,config:e,request:y};Sy(function(P){n(P),p()},function(P){s(P),p()},S),y=null}"onloadend"in y?y.onloadend=v:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(v)},y.onabort=function(){y&&(s(new ie("Request aborted",ie.ECONNABORTED,e,y)),y=null)},y.onerror=function(){s(new ie("Network Error",ie.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let T=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const S=r.transitional||xy;r.timeoutErrorMessage&&(T=r.timeoutErrorMessage),s(new ie(T,S.clarifyTimeoutError?ie.ETIMEDOUT:ie.ECONNABORTED,e,y)),y=null},i===void 0&&o.setContentType(null),"setRequestHeader"in y&&k.forEach(o.toJSON(),function(T,S){y.setRequestHeader(S,T)}),k.isUndefined(r.withCredentials)||(y.withCredentials=!!r.withCredentials),a&&a!=="json"&&(y.responseType=r.responseType),l&&([f,m]=Ao(l,!0),y.addEventListener("progress",f)),c&&y.upload&&([d,g]=Ao(c),y.upload.addEventListener("progress",d),y.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(u=w=>{y&&(s(!w||w.type?new gr(null,e,y):w),y.abort(),y=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const b=tR(r.url);if(b&&Qe.protocols.indexOf(b)===-1){s(new ie("Unsupported protocol "+b+":",ie.ERR_BAD_REQUEST,e));return}y.send(i||null)})},uR=(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 gr(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}},dR=function*(e,t){let n=e.byteLength;if(n{const r=fR(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})},ea=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Cy=ea&&typeof ReadableStream=="function",pR=ea&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ey=(e,...t)=>{try{return!!e(...t)}catch{return!1}},mR=Cy&&Ey(()=>{let e=!1;const t=new Request(Qe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),If=64*1024,Sc=Cy&&Ey(()=>k.isReadableStream(new Response("").body)),Po={stream:Sc&&(e=>e.body)};ea&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Po[t]&&(Po[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 gR=async e=>{if(e==null)return 0;if(k.isBlob(e))return e.size;if(k.isSpecCompliantForm(e))return(await new Request(Qe.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 pR(e)).byteLength},yR=async(e,t)=>{const n=k.toFiniteNumber(e.getContentLength());return n??gR(t)},vR=ea&&(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}=Ty(e);l=l?(l+"").toLowerCase():"text";let g=uR([r,i&&i.toAbortSignal()],o),m;const p=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let y;try{if(c&&mR&&n!=="get"&&n!=="head"&&(y=await yR(u,s))!==0){let S=new Request(t,{method:"POST",body:s,duplex:"half"}),A;if(k.isFormData(s)&&(A=S.headers.get("content-type"))&&u.setContentType(A),S.body){const[P,E]=Df(y,Ao(Mf(c)));s=Lf(S.body,If,P,E)}}k.isString(d)||(d=d?"include":"omit");const v="credentials"in Request.prototype;m=new Request(t,{...f,signal:g,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:v?d:void 0});let b=await fetch(m);const w=Sc&&(l==="stream"||l==="response");if(Sc&&(a||w&&p)){const S={};["status","statusText","headers"].forEach(j=>{S[j]=b[j]});const A=k.toFiniteNumber(b.headers.get("content-length")),[P,E]=a&&Df(A,Ao(Mf(a),!0))||[];b=new Response(Lf(b.body,If,P,()=>{E&&E(),p&&p()}),S)}l=l||"text";let T=await Po[k.findKey(Po,l)||"text"](b,e);return!w&&p&&p(),await new Promise((S,A)=>{Sy(S,A,{data:T,headers:dt.from(b.headers),status:b.status,statusText:b.statusText,config:e,request:m})})}catch(v){throw p&&p(),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)}}),_c={http:OP,xhr:lR,fetch:vR};k.forEach(_c,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Vf=e=>`- ${e}`,xR=e=>k.isFunction(e)||e===null||e===!1,Ay={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(Vf).join(` -`):" "+Vf(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:_c};function La(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gr(null,e)}function Bf(e){return La(e),e.headers=dt.from(e.headers),e.data=Fa.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Ay.getAdapter(e.adapter||Ai.adapter)(e).then(function(s){return La(e),s.data=Fa.call(e,e.transformResponse,s),s.headers=dt.from(s.headers),s},function(s){return wy(s)||(La(e),s&&s.response&&(s.response.data=Fa.call(e,e.transformResponse,s.response),s.response.headers=dt.from(s.response.headers))),Promise.reject(s)})}const Py="1.7.9",ta={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ta[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const Uf={};ta.transitional=function(t,n,s){function r(i,o){return"[Axios v"+Py+"] 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&&!Uf[o]&&(Uf[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}};ta.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function bR(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 no={assertOptions:bR,validators:ta},Ht=no.validators;class fs{constructor(t){this.defaults=t,this.interceptors={request:new jf,response:new jf}}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=xs(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:i}=n;s!==void 0&&no.assertOptions(s,{silentJSONParsing:Ht.transitional(Ht.boolean),forcedJSONParsing:Ht.transitional(Ht.boolean),clarifyTimeoutError:Ht.transitional(Ht.boolean)},!1),r!=null&&(k.isFunction(r)?n.paramsSerializer={serialize:r}:no.assertOptions(r,{encode:Ht.function,serialize:Ht.function},!0)),no.assertOptions(n,{baseUrl:Ht.spelling("baseURL"),withXsrfToken:Ht.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=dt.concat(o,i);const a=[];let c=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(c=c&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const l=[];this.interceptors.response.forEach(function(p){l.push(p.fulfilled,p.rejected)});let u,d=0,f;if(!c){const m=[Bf.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 gr(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 su(function(r){t=r}),cancel:t}}}function wR(e){return function(n){return e.apply(null,n)}}function SR(e){return k.isObject(e)&&e.isAxiosError===!0}const Tc={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(Tc).forEach(([e,t])=>{Tc[t]=e});function Ry(e){const t=new fs(e),n=oy(fs.prototype.request,t);return k.extend(n,fs.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Ry(xs(e,r))},n}const Ve=Ry(Ai);Ve.Axios=fs;Ve.CanceledError=gr;Ve.CancelToken=su;Ve.isCancel=wy;Ve.VERSION=Py;Ve.toFormData=Jo;Ve.AxiosError=ie;Ve.Cancel=Ve.CanceledError;Ve.all=function(t){return Promise.all(t)};Ve.spread=wR;Ve.isAxiosError=SR;Ve.mergeConfig=xs;Ve.AxiosHeaders=dt;Ve.formToJSON=e=>by(k.isHTMLForm(e)?new FormData(e):e);Ve.getAdapter=Ay.getAdapter;Ve.HttpStatusCode=Tc;Ve.default=Ve;const at=Ve.create({baseURL:"https://turkmentextile.turkmenexpo.com/app/api/v1/"}),Sk=async e=>(await at.post("book_stand_form",e)).status===201,_k=async e=>(await at.post("become_sponsor_form",e)).status===201,Tk=async e=>(await at.post("contact_form",e)).status===201,_R=async e=>(await at.post("subscribe_news_form",e)).status===201,TR=async(e,t)=>at.get(`pages/${t}`,{headers:{"Accept-Language":e}}),CR=async e=>at.get("stats",{headers:{"Accept-Language":e}}),ER=async e=>at.get("contact_data",{headers:{"Accept-Language":e}}),AR=async e=>at.get("industries",{headers:{"Accept-Language":e}}),PR=async e=>at.get("exhibition_time",{headers:{"Accept-Language":e}}),RR=async e=>at.get("news",{headers:{"Accept-Language":e}}),Ck=async(e,t)=>at.get(`news/${e}`,{headers:{"Accept-Language":t}}),Ek=async e=>at("participants",{headers:{"Accept-Language":e}}),kR=async e=>at("photos/category/"+e),NR=async e=>at("videos/category/"+e),jR=async e=>at("sponsors_and_partners",{headers:{"Accept-Language":e}}),OR=Af.object({email:Af.string().email()}),ky=({modal:e=!1})=>{var i,o;const[t,n]=x.useState(!1),s=QT({resolver:VE(OR),defaultValues:{email:""}});async function r(a){try{const c=await _R(a);s.reset(),n(c)}catch(c){console.error("POST subscribe",c)}}return h.jsx("form",{onSubmit:s.handleSubmit(r),className:H("py-8",e?"max-w-[392px] mx-auto":"bg-surface_container"),children:h.jsxs(He,{className:H("flex gap-8 justify-between",e?"flex-col w-full":"lg:flex-row flex-col lg:items-center"),children:[h.jsx("h2",{className:"h2 !text-left",children:Oa("Подпишитесь на новости:","Subscribe to the news:")}),h.jsxs("div",{className:"relative",children:[h.jsx("input",{...s.register("email"),placeholder:"Email",className:H("input",{"w-full":e,"xl:w-[392px] lg:w-[320px] w-full":!e})}),h.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})]}),h.jsx(rt,{loading:s.formState.isSubmitting,disabled:t,className:H({"xl:w-[288px] lg:w-[220px] w-full":!e,"w-full":e}),children:t?Oa("Отправлено","Submitted"):Oa("Подписаться","Subscribe")})]})})},DR=({className:e,title:t})=>h.jsxs(NE,{children:[h.jsx(jE,{className:H("h-14 px-3 flex gap-3 items-center hover:bg-slate-300/50 transition-all",e),children:t}),h.jsx(Kg,{children:h.jsx(ky,{className:"",modal:!0})})]}),Cc=qg()(e=>({sheet:!1,popover:!1,modal:!1,setModal:t=>e({modal:t}),setSheet:t=>e({sheet:t}),setPopover:t=>e({popover:t})})),Ro=({title:e,dropDownContent:t,color:n,triggerClassName:s,children:r})=>{const[i,o]=x.useState(!1),a=Cc(c=>c.setSheet);return h.jsxs(Wg,{open:i,onOpenChange:()=>o(!i),children:[h.jsxs(Hg,{className:H("flex items-center gap-2",s),children:[e,r,!r&&h.jsx(Ny,{color:n})]}),h.jsx(Yl,{className:"w-fit px-0 cursor-pointer bg-surface_container",children:t&&t.map(c=>c.link?h.jsxs(Ce,{onClick:()=>{o(!1),a(!1)},className:"h-14 px-3 flex gap-3 items-center hover:bg-slate-300/50 transition-all",target:c.blank??"",to:c.link,children:[c.text,c.blank&&h.jsx("img",{src:"/pdf.svg"})]},c.text):c.modal?h.jsx(DR,{title:c.text},c.text):h.jsx("div",{className:"h-14 px-3 py-2 flex items-center hover:bg-slate-300/50 transition-all",onClick:()=>{o(!1),a(!1)},children:c.text},c.text))})]})},Ny=({color:e="white",w:t="20",h:n="20"})=>h.jsx("svg",{width:t,height:n,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.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})}),qn=({className:e})=>h.jsx(He,{className:H("w-full py-20 h-full flex items-center justify-between",e),children:h.jsx(Qh,{className:"animate-spin mx-auto text-primary size-16"})});function MR(e){return Object.prototype.toString.call(e)==="[object Object]"}function $f(e){return MR(e)||Array.isArray(e)}function FR(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function ru(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}`:!$f(a)||!$f(c)?a===c:ru(a,c)})}function zf(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function LR(e,t){if(e.length!==t.length)return!1;const n=zf(e),s=zf(t);return n.every((r,i)=>{const o=s[i];return ru(r,o)})}function iu(e){return typeof e=="number"}function Ec(e){return typeof e=="string"}function na(e){return typeof e=="boolean"}function Wf(e){return Object.prototype.toString.call(e)==="[object Object]"}function Re(e){return Math.abs(e)}function ou(e){return Math.sign(e)}function Br(e,t){return Re(e-t)}function IR(e,t){if(e===0||t===0||Re(e)<=Re(t))return 0;const n=Br(Re(e),Re(t));return Re(n/e)}function VR(e){return Math.round(e*100)/100}function li(e){return ui(e).map(Number)}function Ft(e){return e[Pi(e)]}function Pi(e){return Math.max(0,e.length-1)}function au(e,t){return t===Pi(e)}function Hf(e,t=0){return Array.from(Array(e),(n,s)=>t+s)}function ui(e){return Object.keys(e)}function jy(e,t){return[e,t].reduce((n,s)=>(ui(s).forEach(r=>{const i=n[r],o=s[r],a=Wf(i)&&Wf(o);n[r]=a?jy(i,o):o}),n),{})}function Ac(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function BR(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 Ec(e)?n[e](c):e(t,c,l)}return{measure:o}}function di(){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 UR(e,t,n,s){const r=di(),i=1e3/60;let o=null,a=0,c=0;function l(){r.add(e,"visibilitychange",()=>{e.hidden&&m()})}function u(){g(),r.clear()}function d(y){if(!c)return;o||(o=y,n(),n());const v=y-o;for(o=y,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 g(){t.cancelAnimationFrame(c),o=null,a=0,c=0}function m(){o=null,a=0}return{init:l,destroy:u,start:f,stop:g,update:n,render:s}}function $R(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:p,width:y}=m;return s?p:y}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 bs(e=0,t=0){const n=Re(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 Oy(e,t,n){const{constrain:s}=bs(0,e),r=e+1;let i=o(t);function o(f){return n?Re((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 Oy(e,a(),n)}const d={get:a,set:c,add:l,clone:u};return d}function zR(e,t,n,s,r,i,o,a,c,l,u,d,f,g,m,p,y,v,b){const{cross:w,direction:T}=e,S=["INPUT","SELECT","TEXTAREA"],A={passive:!1},P=di(),E=di(),j=bs(50,225).constrain(g.measure(20)),D={mouse:300,touch:400},L={mouse:500,touch:600},O=m?43:25;let $=!1,I=0,J=0,X=!1,q=!1,Z=!1,re=!1;function de(G){if(!b)return;function fe($e){(na(b)||b(G,$e))&&Je($e)}const Se=t;P.add(Se,"dragstart",$e=>$e.preventDefault(),A).add(Se,"touchmove",()=>{},A).add(Se,"touchend",()=>{}).add(Se,"touchstart",fe).add(Se,"mousedown",fe).add(Se,"touchcancel",ye).add(Se,"contextmenu",ye).add(Se,"click",je,!0)}function ge(){P.clear(),E.clear()}function Be(){const G=re?n:t;E.add(G,"touchmove",ue,A).add(G,"touchend",ye).add(G,"mousemove",ue,A).add(G,"mouseup",ye)}function qe(G){const fe=G.nodeName||"";return S.includes(fe)}function Ze(){return(m?L:D)[re?"mouse":"touch"]}function Pt(G,fe){const Se=d.add(ou(G)*-1),$e=u.byDistance(G,!m).distance;return m||Re(G)=2,!(fe&&G.button!==0)&&(qe(G.target)||(X=!0,i.pointerDown(G),l.useFriction(0).useDuration(0),r.set(o),Be(),I=i.readPoint(G),J=i.readPoint(G,w),f.emit("pointerDown")))}function ue(G){if(!Ac(G,s)&&G.touches.length>=2)return ye(G);const Se=i.readPoint(G),$e=i.readPoint(G,w),ft=Br(Se,I),bt=Br($e,J);if(!q&&!re&&(!G.cancelable||(q=ft>bt,!q)))return ye(G);const _=i.pointerMove(G);ft>p&&(Z=!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(),$e=i.pointerUp(G)*Ze(),ft=Pt(T($e),Se),bt=IR($e,ft),_=O-10*bt,R=v+bt/50;q=!1,X=!1,E.clear(),l.useDuration(_).useFriction(R),c.distance(ft,!m),re=!1,f.emit("pointerUp")}function je(G){Z&&(G.stopPropagation(),G.preventDefault(),Z=!1)}function Le(){return X}return{init:de,destroy:ge,pointerDown:Le}}function WR(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(Ac(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),g=i(d)-i(s)>170;return r=d,g&&(s=d),f}function l(d){if(!s||!r)return 0;const f=o(r)-o(s),g=i(d)-i(s),m=i(d)-i(r)>170,p=f/g;return g&&!m&&Re(p)>.1?p:0}return{pointerDown:a,pointerMove:c,pointerUp:l,readPoint:o}}function HR(){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 qR(e){function t(s){return e*(s/100)}return{measure:t}}function ZR(e,t,n,s,r,i,o){const a=[e].concat(s);let c,l,u=[],d=!1;function f(y){return r.measureSize(o.measure(y))}function g(y){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),A=T?l:u[S],P=f(T?e:s[S]);if(Re(P-A)>=.5){y.reInit(),t.emit("resize");break}}}c=new ResizeObserver(b=>{(na(i)||i(y,b))&&v(b)}),n.requestAnimationFrame(()=>{a.forEach(b=>c.observe(b))})}function m(){d=!0,c&&c.disconnect()}return{init:g,destroy:m}}function KR(e,t,n,s,r,i){let o=0,a=0,c=r,l=i,u=e.get(),d=0;function f(){const A=s.get()-e.get(),P=!c;let E=0;return P?(o=0,n.set(s),e.set(s),E=A):(n.set(e),o+=A/c,o*=l,u+=o,e.add(o),E=u-d),a=ou(E),d=u,S}function g(){const A=s.get()-t.get();return Re(A)<.001}function m(){return c}function p(){return a}function y(){return o}function v(){return w(r)}function b(){return T(i)}function w(A){return c=A,S}function T(A){return l=A,S}const S={direction:p,duration:m,velocity:y,seek:f,settled:g,useBaseFriction:b,useBaseDuration:v,useFriction:T,useDuration:w};return S}function GR(e,t,n,s,r){const i=r.measure(10),o=r.measure(50),a=bs(.1,.99);let c=!1;function l(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function u(g){if(!l())return;const m=e.reachedMin(t.get())?"min":"max",p=Re(e[m]-t.get()),y=n.get()-t.get(),v=a.constrain(p/o);n.subtract(y*v),!g&&Re(y){const{min:y,max:v}=i,b=i.constrain(m),w=!p,T=au(n,p);return w?v:T||l(y,b)?y: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:p}=a;return o.slice(m,p)}return{snapsContained:c,scrollContainLimit:a}}function XR(e,t,n){const s=t[0],r=n?s-e:Ft(t);return{limit:bs(r,s)}}function YR(e,t,n,s){const i=t.min+.1,o=t.max+.1,{reachedMin:a,reachedMax:c}=bs(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 g=e*(f*-1);s.forEach(m=>m.add(g))}return{loop:u}}function JR(e){const{max:t,length:n}=e;function s(i){const o=i-t;return n?o/-n:0}return{get:s}}function e1(e,t,n,s,r){const{startEdge:i,endEdge:o}=e,{groupSlides:a}=r,c=d().map(t.measure),l=f(),u=g();function d(){return a(s).map(p=>Ft(p)[o]-p[0][i]).map(Re)}function f(){return s.map(p=>n[i]-p[i]).map(p=>-Re(p))}function g(){return a(l).map(p=>p[0]).map((p,y)=>p+c[y])}return{snaps:l,snapsAligned:u}}function t1(e,t,n,s,r,i){const{groupSlides:o}=r,{min:a,max:c}=s,l=u();function u(){const f=o(i),g=!e||t==="keepSnaps";return n.length===1?[i]:g?f:f.slice(a,c).map((m,p,y)=>{const v=!p,b=au(y,p);if(v){const w=Ft(y[0])+1;return Hf(w)}if(b){const w=Pi(i)-Ft(y)[0]+1;return Hf(w,Ft(y)[0])}return m})}return{slideRegistry:l}}function n1(e,t,n,s,r){const{reachedAny:i,removeOffset:o,constrain:a}=s;function c(m){return m.concat().sort((p,y)=>Re(p)-Re(y))[0]}function l(m){const p=e?o(m):a(m),y=t.map((b,w)=>({diff:u(b-p,0),index:w})).sort((b,w)=>Re(b.diff)-Re(w.diff)),{index:v}=y[0];return{index:v,distance:p}}function u(m,p){const y=[m,m+n,m-n];if(!e)return m;if(!p)return c(y);const v=y.filter(b=>ou(b)===p);return v.length?c(v):Ft(y)-n}function d(m,p){const y=t[m]-r.get(),v=u(y,p);return{index:m,distance:v}}function f(m,p){const y=r.get()+m,{index:v,distance:b}=l(y),w=!e&&i(y);if(!p||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 s1(e,t,n,s,r,i,o){function a(d){const f=d.distance,g=d.index!==t.get();i.add(f),f&&(s.duration()?e.start():(e.update(),e.render(1),e.update())),g&&(n.set(t.get()),t.set(d.index),o.emit("select"))}function c(d,f){const g=r.byDistance(d,f);a(g)}function l(d,f){const g=t.clone().set(d),m=r.byIndex(g.get(),f);a(m)}return{distance:c,index:l}}function r1(e,t,n,s,r,i,o,a){const c={passive:!0,capture:!0};let l=0;function u(g){if(!a)return;function m(p){if(new Date().getTime()-l>10)return;o.emit("slideFocusStart"),e.scrollLeft=0;const b=n.findIndex(w=>w.includes(p));iu(b)&&(r.useDuration(0),s.index(b,0),o.emit("slideFocus"))}i.add(document,"keydown",d,!1),t.forEach((p,y)=>{i.add(p,"focus",v=>{(na(a)||a(g,v))&&m(y)},c)})}function d(g){g.code==="Tab"&&(l=new Date().getTime())}return{init:u}}function Nr(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 iu(c)?c:c.get()}return{get:n,set:s,add:r,subtract:i}}function Dy(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 g=VR(e.direction(f));g!==r&&(s.transform=n(g),r=g)}function l(f){i=!f}function u(){i||(s.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:u,to:c,toggleActive:l}}function i1(e,t,n,s,r,i,o,a,c){const u=li(r),d=li(r).reverse(),f=v().concat(b());function g(P,E){return P.reduce((j,D)=>j-r[D],E)}function m(P,E){return P.reduce((j,D)=>g(j,E)>0?j.concat([D]):j,[])}function p(P){return i.map((E,j)=>({start:E-s[j]+.5+P,end:E+t-.5+P}))}function y(P,E,j){const D=p(E);return P.map(L=>{const O=j?0:-n,$=j?n:0,I=j?"end":"start",J=D[L][I];return{index:L,loopPoint:J,slideLocation:Nr(-1),translate:Dy(e,c[L]),target:()=>a.get()>J?O:$}})}function v(){const P=o[0],E=m(d,P);return y(E,n,!1)}function b(){const P=t-o[0]-1,E=m(u,P);return y(E,-n,!0)}function w(){return f.every(({index:P})=>{const E=u.filter(j=>j!==P);return g(E,t)<=.1})}function T(){f.forEach(P=>{const{target:E,translate:j,slideLocation:D}=P,L=E();L!==D.get()&&(j.to(L),D.set(L))})}function S(){f.forEach(P=>P.translate.clear())}return{canLoop:w,clear:S,loop:T,loopPoints:f}}function o1(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||(na(n)||n(c,u))&&l(u)}),s.observe(e,{childList:!0})}function o(){s&&s.disconnect(),r=!0}return{init:i,destroy:o}}function a1(e,t,n,s){const r={};let i=null,o=null,a,c=!1;function l(){a=new IntersectionObserver(m=>{c||(m.forEach(p=>{const y=t.indexOf(p.target);r[y]=p}),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 ui(r).reduce((p,y)=>{const v=parseInt(y),{isIntersecting:b}=r[v];return(m&&b||!m&&!b)&&p.push(v),p},[])}function f(m=!0){if(m&&i)return i;if(!m&&o)return o;const p=d(m);return m&&(i=p),m||(o=p),p}return{init:l,destroy:u,get:f}}function c1(e,t,n,s,r,i){const{measureSize:o,startEdge:a,endEdge:c}=e,l=n[0]&&r,u=m(),d=p(),f=n.map(o),g=y();function m(){if(!l)return 0;const b=n[0];return Re(t[a]-b[a])}function p(){if(!l)return 0;const b=i.getComputedStyle(Ft(s));return parseFloat(b.getPropertyValue(`margin-${c}`))}function y(){return n.map((b,w,T)=>{const S=!w,A=au(T,w);return S?f[w]+u:A?f[w]+d:T[w+1][a]-b[a]}).map(Re)}return{slideSizes:f,slideSizesWithGaps:g,startGap:u,endGap:d}}function l1(e,t,n,s,r,i,o,a,c){const{startEdge:l,endEdge:u,direction:d}=e,f=iu(n);function g(v,b){return li(v).filter(w=>w%b===0).map(w=>v.slice(w,w+b))}function m(v){return v.length?li(v).reduce((b,w,T)=>{const S=Ft(b)||0,A=S===0,P=w===Pi(v),E=r[l]-i[S][l],j=r[l]-i[w][u],D=!s&&A?d(o):0,L=!s&&P?d(a):0,O=Re(j-L-(E+D));return T&&O>t+c&&b.push(w),P&&b.push(v.length),b},[]).map((b,w,T)=>{const S=Math.max(T[w-1]||0);return v.slice(S,b)}):[]}function p(v){return f?g(v,n):m(v)}return{groupSlides:p}}function u1(e,t,n,s,r,i,o){const{align:a,axis:c,direction:l,startIndex:u,loop:d,duration:f,dragFree:g,dragThreshold:m,inViewThreshold:p,slidesToScroll:y,skipSnaps:v,containScroll:b,watchResize:w,watchSlides:T,watchDrag:S,watchFocus:A}=i,P=2,E=HR(),j=E.measure(t),D=n.map(E.measure),L=$R(c,l),O=L.measureSize(j),$=qR(O),I=BR(a,O),J=!d&&!!b,X=d||!!b,{slideSizes:q,slideSizesWithGaps:Z,startGap:re,endGap:de}=c1(L,j,D,n,X,r),ge=l1(L,O,y,d,j,D,re,de,P),{snaps:Be,snapsAligned:qe}=e1(L,I,j,D,ge),Ze=-Ft(Be)+Ft(Z),{snapsContained:Pt,scrollContainLimit:Je}=QR(O,Ze,qe,b,P),ue=J?Pt:qe,{limit:ye}=XR(Ze,ue,d),je=Oy(Pi(ue),u,d),Le=je.clone(),we=li(n),G=({dragHandler:Wt,scrollBody:Zn,scrollBounds:vr,options:{loop:Kn}})=>{Kn||vr.constrain(Wt.pointerDown()),Zn.seek()},fe=({scrollBody:Wt,translate:Zn,location:vr,offsetLocation:Kn,previousLocation:sa,scrollLooper:ki,slideLooper:Qy,dragHandler:Xy,animation:Yy,eventHandler:hu,scrollBounds:Jy,options:{loop:pu}},mu)=>{const gu=Wt.settled(),ev=!Jy.shouldConstrain(),yu=pu?gu:gu&&ev;yu&&!Xy.pointerDown()&&(Yy.stop(),hu.emit("settle")),yu||hu.emit("scroll");const tv=vr.get()*mu+sa.get()*(1-mu);Kn.set(tv),pu&&(ki.loop(Wt.direction()),Qy.loop()),Zn.to(Kn.get())},Se=UR(s,r,()=>G(yr),Wt=>fe(yr,Wt)),$e=.68,ft=ue[je.get()],bt=Nr(ft),_=Nr(ft),R=Nr(ft),N=Nr(ft),U=KR(bt,R,_,N,f,$e),V=n1(d,ue,Ze,ye,N),F=s1(Se,je,Le,U,V,N,o),Y=JR(ye),ae=di(),Ie=a1(t,n,o,p),{slideRegistry:Oe}=t1(J,b,ue,Je,ge,we),zt=r1(e,n,Oe,F,U,ae,o,A),yr={ownerDocument:s,ownerWindow:r,eventHandler:o,containerRect:j,slideRects:D,animation:Se,axis:L,dragHandler:zR(L,e,s,r,N,WR(L,r),bt,Se,F,U,V,je,o,$,g,m,v,$e,S),eventStore:ae,percentOfView:$,index:je,indexPrevious:Le,limit:ye,location:bt,offsetLocation:R,previousLocation:_,options:i,resizeHandler:ZR(t,o,r,n,L,w,E),scrollBody:U,scrollBounds:GR(ye,R,N,U,$),scrollLooper:YR(Ze,ye,R,[bt,R,_,N]),scrollProgress:Y,scrollSnapList:ue.map(Y.get),scrollSnaps:ue,scrollTarget:V,scrollTo:F,slideLooper:i1(L,O,Ze,q,Z,Be,ue,R,n),slideFocus:zt,slidesHandler:o1(t,o,T),slidesInView:Ie,slideIndexes:we,slideRegistry:Oe,slidesToScroll:ge,target:N,translate:Dy(L,t)};return yr}function d1(){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 f1={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 h1(e){function t(i,o){return jy(i,o||{})}function n(i){const o=i.breakpoints||{},a=ui(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=>ui(o.breakpoints||{})).reduce((o,a)=>o.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:s}}function p1(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 ko(e,t,n){const s=e.ownerDocument,r=s.defaultView,i=h1(r),o=p1(i),a=di(),c=d1(),{mergeOptions:l,optionsAtMedia:u,optionsMediaQueries:d}=i,{on:f,off:g,emit:m}=c,p=L;let y=!1,v,b=l(f1,ko.globalOptions),w=l(b),T=[],S,A,P;function E(){const{container:we,slides:G}=w;A=(Ec(we)?e.querySelector(we):we)||e.children[0];const Se=Ec(G)?A.querySelectorAll(G):G;P=[].slice.call(Se||A.children)}function j(we){const G=u1(e,A,P,s,r,we,c);if(we.loop&&!G.slideLooper.canLoop()){const fe=Object.assign({},we,{loop:!1});return j(fe)}return G}function D(we,G){y||(b=l(b,we),w=u(b),T=G||T,E(),v=j(w),d([b,...T.map(({options:fe})=>fe)]).forEach(fe=>a.add(fe,"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(),A.offsetParent&&P.length&&v.dragHandler.init(Le),S=o.init(Le,T)))}function L(we,G){const fe=ge();O(),D(l({startIndex:fe},we),G),c.emit("reInit")}function O(){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 $(){y||(y=!0,a.clear(),O(),c.emit("destroy"),c.clear())}function I(we,G,fe){!w.active||y||(v.scrollBody.useBaseFriction().useDuration(G===!0?0:w.duration),v.scrollTo.index(we,fe||0))}function J(we){const G=v.index.add(1).get();I(G,we,-1)}function X(we){const G=v.index.add(-1).get();I(G,we,1)}function q(){return v.index.add(1).get()!==ge()}function Z(){return v.index.add(-1).get()!==ge()}function re(){return v.scrollSnapList}function de(){return v.scrollProgress.get(v.location.get())}function ge(){return v.index.get()}function Be(){return v.indexPrevious.get()}function qe(){return v.slidesInView.get()}function Ze(){return v.slidesInView.get(!1)}function Pt(){return S}function Je(){return v}function ue(){return e}function ye(){return A}function je(){return P}const Le={canScrollNext:q,canScrollPrev:Z,containerNode:ye,internalEngine:Je,destroy:$,off:g,on:f,emit:m,plugins:Pt,previousScrollSnap:Be,reInit:p,rootNode:ue,scrollNext:J,scrollPrev:X,scrollProgress:de,scrollSnapList:re,scrollTo:I,selectedScrollSnap:ge,slideNodes:je,slidesInView:qe,slidesNotInView:Ze};return D(t,n),setTimeout(()=>c.emit("init"),0),Le}ko.globalOptions=void 0;function Ts(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(()=>{ru(n.current,e)||(n.current=e,c())},[e,c]),x.useEffect(()=>{LR(s.current,t)||(s.current=t,c())},[t,c]),x.useEffect(()=>{if(FR()&&o){ko.globalOptions=Ts.globalOptions;const l=ko(o,n.current,s.current);return i(l),()=>l.destroy()}else i(void 0)},[o,i]),[a,r]}Ts.globalOptions=void 0;const m1=[{id:0,title:"Все компании",titleEn:"All companies"},{id:3,title:"Государственные учреждения ",titleEn:"Government Institutions"},{id:1,title:"Местные компании",titleEn:"Local companies"},{id:2,title:"Иностранные компании",titleEn:"Foreign companies"}],Ak=({className:e,setState:t,state:n,data:s=m1})=>{const r=Ee(m=>m.lang),i=uo("(min-width: 768px)"),[o,a]=x.useState({left:0,width:0}),[c,l]=Ts({axis:"x",align:"start",containScroll:"trimSnaps"},[]),u=x.useRef([]),d=x.useRef(null),f=x.useCallback(()=>{const m=u.current[n];if(m){if(i)a({left:m.offsetLeft,width:m.offsetWidth});else if(l){const p=l.rootNode(),y=l.containerNode();if(!p||!y)return;const v=y.scrollLeft,b=m.offsetLeft;a({left:b-v,width:m.offsetWidth})}}},[n,i,l]);x.useEffect(()=>{!i&&l||(l==null||l.scrollTo(n),f())},[l,n,f,i]),x.useEffect(()=>{if(l)return f(),l.on("scroll",f),l.on("resize",f),()=>{l.off("scroll",f),l.off("resize",f)}},[l,f]);const g=x.useCallback(m=>{t(m),!i&&l&&l.scrollTo(m)},[l,t,i]);return h.jsxs("div",{ref:d,className:H("relative mx-auto",e),style:{width:"fit-content",maxWidth:"100%"},children:[i?h.jsx("div",{className:"flex",role:"tablist",children:s==null?void 0:s.map((m,p)=>h.jsx("button",{ref:y=>u.current[p]=y,role:"tab","aria-selected":n===p,className:H("shrink-0 text-center relative h-12 mx-4 py-2 text-sm md:text-base whitespace-nowrap transition-all",n===p?"text-primary":"text-on_surface_v"),onClick:()=>g(p),children:r==="ru"?m.title:m.titleEn},m.id))}):h.jsx("div",{ref:c,className:"",role:"tablist",children:h.jsx("div",{className:"flex",children:s==null?void 0:s.map((m,p)=>h.jsx("button",{ref:y=>u.current[p]=y,role:"tab","aria-selected":n===p,className:H("shrink-0 text-center relative after:transition-all after:rounded after:w-full after:h-0.5 after:bg-primary after:opacity-0 after:absolute after:bottom-0 after:left-0 h-12 mx-4 py-2 text-sm md:text-base whitespace-nowrap transition-all",n===p?"text-primary after:opacity-100":"text-on_surface_v"),onClick:()=>g(p),children:r==="ru"?m.title:m.titleEn},m.id))})}),h.jsx("div",{className:"absolute md:block hidden bottom-0 h-[3px] rounded-t-[2px] bg-primary transition-all duration-200",style:o})]})},Pk=({className:e,index:t,name:n,image:s,image_country:r,country:i,about:o,arr:a})=>{const c=Ee(l=>l.lang);return h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:H("flex border-b md:hidden py-2 border-outline_v",e),children:[h.jsxs("div",{className:"flex flex-1 flex-col items-start gap-4",children:[h.jsx("div",{className:"flex items-center w-full",children:h.jsxs("div",{className:"flex items-center flex-[0_0_80%] gap-3",children:[h.jsxs("h3",{className:"text-xs normal flex-[0_0_90px]",children:[c==="ru"?"Название":"Company",":"]}),h.jsx("h4",{className:"text-xs flex-[0_0_70%]",children:n})]})}),h.jsx("div",{className:"flex items-center gap-3",children:h.jsx("div",{className:"flex items-center w-full",children:h.jsxs("div",{className:"flex items-center flex-[0_0_80%] gap-3",children:[h.jsxs("h3",{className:"text-xs normal flex-[0_0_90px]",children:[c==="ru"?"Страна":"Country",":"]}),h.jsxs("div",{className:"flex items-center flex-[0_0_50%] gap-2",children:[h.jsx("img",{src:r==null?void 0:r.path,alt:"flag",className:"size-4 flex-[0_0_16px] object-contain"}),h.jsx("h4",{className:"text-xs flex-1",children:i})]})]})})}),h.jsx("div",{className:"flex items-center ",children:h.jsxs("div",{className:"flex items-center flex-[0_0_80%] gap-3",children:[h.jsxs("h3",{className:"text-xs normal flex-[0_0_90px]",children:[c==="ru"?"Сфера":"Industry",":"]}),h.jsx("h4",{className:"text-xs flex-1",children:o})]})})]}),h.jsx("div",{className:"flex-[0_0_88px] size-[88px] bg-white ",children:h.jsx("img",{src:s==null?void 0:s.path,alt:"company",className:"size-full object-contain"})})]},t),h.jsxs("div",{className:H("md:flex hidden p-4 ",a!==t+1&&"border-b border-outline_v"),children:[h.jsxs("div",{className:"flex-[0_0_45.54%] flex gap-8",children:[h.jsx("div",{className:"flex-[0_0_88px] sm:flex-[0_0_128px] size-[88px] bg-white sm:size-[128px]",children:h.jsx("img",{src:s==null?void 0:s.path,alt:"company",className:"size-full object-contain"})}),h.jsx("h3",{className:"text-lg xl:mr-20 mr-10",children:n})]}),h.jsxs("div",{className:"flex-[0_0_19.80%] flex gap-2.5",children:[h.jsx("img",{src:r==null?void 0:r.path,alt:"flag",className:"size-4"}),h.jsx("h4",{className:"text-sm normal",children:i})]}),h.jsx("h3",{className:"text-sm normal md:ml-1 flex-[0_0_34.65%]",children:o})]})]})};var Ri=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(){}},ws=typeof window>"u"||"Deno"in globalThis;function Tt(){}function g1(e,t){return typeof e=="function"?e(t):e}function Pc(e){return typeof e=="number"&&e>=0&&e!==1/0}function My(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Bs(e,t){return typeof e=="function"?e(t):e}function jt(e,t){return typeof e=="function"?e(t):e}function qf(e,t){const{type:n="all",exact:s,fetchStatus:r,predicate:i,queryKey:o,stale:a}=e;if(o){if(s){if(t.queryHash!==cu(o,t.options))return!1}else if(!hi(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 Zf(e,t){const{exact:n,status:s,predicate:r,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(fi(t.options.mutationKey)!==fi(i))return!1}else if(!hi(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function cu(e,t){return((t==null?void 0:t.queryKeyHashFn)||fi)(e)}function fi(e){return JSON.stringify(e,(t,n)=>kc(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function hi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!hi(e[n],t[n])):!1}function Fy(e,t){if(e===t)return e;const n=Kf(e)&&Kf(t);if(n||kc(e)&&kc(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 Nc(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?Fy(e,t):t}function v1(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function x1(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var lu=Symbol();function Ly(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===lu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var ts,An,Us,sh,b1=(sh=class extends Ri{constructor(){super();ne(this,ts);ne(this,An);ne(this,Us);K(this,Us,t=>{if(!ws&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){C(this,An)||this.setEventListener(C(this,Us))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,An))==null||t.call(this),K(this,An,void 0))}setEventListener(t){var n;K(this,Us,t),(n=C(this,An))==null||n.call(this),K(this,An,t(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(t){C(this,ts)!==t&&(K(this,ts,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof C(this,ts)=="boolean"?C(this,ts):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ts=new WeakMap,An=new WeakMap,Us=new WeakMap,sh),uu=new b1,$s,Pn,zs,rh,w1=(rh=class extends Ri{constructor(){super();ne(this,$s,!0);ne(this,Pn);ne(this,zs);K(this,zs,t=>{if(!ws&&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,Pn)||this.setEventListener(C(this,zs))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,Pn))==null||t.call(this),K(this,Pn,void 0))}setEventListener(t){var n;K(this,zs,t),(n=C(this,Pn))==null||n.call(this),K(this,Pn,t(this.setOnline.bind(this)))}setOnline(t){C(this,$s)!==t&&(K(this,$s,t),this.listeners.forEach(s=>{s(t)}))}isOnline(){return C(this,$s)}},$s=new WeakMap,Pn=new WeakMap,zs=new WeakMap,rh),No=new w1;function jc(){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 S1(e){return Math.min(1e3*2**e,3e4)}function Iy(e){return(e??"online")==="online"?No.isOnline():!0}var Vy=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ia(e){return e instanceof Vy}function By(e){let t=!1,n=0,s=!1,r;const i=jc(),o=p=>{var y;s||(f(new Vy(p)),(y=e.abort)==null||y.call(e))},a=()=>{t=!0},c=()=>{t=!1},l=()=>uu.isFocused()&&(e.networkMode==="always"||No.isOnline())&&e.canRun(),u=()=>Iy(e.networkMode)&&e.canRun(),d=p=>{var y;s||(s=!0,(y=e.onSuccess)==null||y.call(e,p),r==null||r(),i.resolve(p))},f=p=>{var y;s||(s=!0,(y=e.onError)==null||y.call(e,p),r==null||r(),i.reject(p))},g=()=>new Promise(p=>{var y;r=v=>{(s||l())&&p(v)},(y=e.onPause)==null||y.call(e)}).then(()=>{var p;r=void 0,s||(p=e.onContinue)==null||p.call(e)}),m=()=>{if(s)return;let p;const y=n===0?e.initialPromise:void 0;try{p=y??e.fn()}catch(v){p=Promise.reject(v)}Promise.resolve(p).then(d).catch(v=>{var A;if(s)return;const b=e.retry??(ws?0:3),w=e.retryDelay??S1,T=typeof w=="function"?w(n,v):w,S=b===!0||typeof b=="number"&&nl()?void 0:g()).then(()=>{t?f(v):m()})})};return{promise:i,cancel:o,continue:()=>(r==null||r(),i),cancelRetry:a,continueRetry:c,canStart:u,start:()=>(u()?m():g().then(m),i)}}function _1(){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 We=_1(),ns,ih,Uy=(ih=class{constructor(){ne(this,ns)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Pc(this.gcTime)&&K(this,ns,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(ws?1/0:5*60*1e3))}clearGcTimeout(){C(this,ns)&&(clearTimeout(C(this,ns)),K(this,ns,void 0))}},ns=new WeakMap,ih),Ws,Hs,_t,ss,Ke,pi,rs,kt,dn,oh,T1=(oh=class extends Uy{constructor(t){super();ne(this,kt);ne(this,Ws);ne(this,Hs);ne(this,_t);ne(this,ss);ne(this,Ke);ne(this,pi);ne(this,rs);K(this,rs,!1),K(this,pi,t.defaultOptions),this.setOptions(t.options),this.observers=[],K(this,ss,t.client),K(this,_t,C(this,ss).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,K(this,Ws,C1(this.options)),this.state=t.state??C(this,Ws),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=C(this,Ke))==null?void 0:t.promise}setOptions(t){this.options={...C(this,pi),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&C(this,_t).remove(this)}setData(t,n){const s=Nc(this.state.data,t,this.options);return he(this,kt,dn).call(this,{data:s,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),s}setState(t,n){he(this,kt,dn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var s,r;const n=(s=C(this,Ke))==null?void 0:s.promise;return(r=C(this,Ke))==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,Ws))}isActive(){return this.observers.some(t=>jt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===lu||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||!My(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(s=>s.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Ke))==null||n.continue()}onOnline(){var n;const t=this.observers.find(s=>s.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Ke))==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,Ke)&&(C(this,rs)?C(this,Ke).cancel({revert:!0}):C(this,Ke).cancelRetry()),this.scheduleGc()),C(this,_t).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||he(this,kt,dn).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,Ke))return C(this,Ke).continueRetry(),C(this,Ke).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:()=>(K(this,rs,!0),s.signal)})},i=()=>{const d=Ly(this.options,n),f={client:C(this,ss),queryKey:this.queryKey,meta:this.meta};return r(f),K(this,rs,!1),this.options.persister?this.options.persister(d,f,this):d(f)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:C(this,ss),state:this.state,fetchFn:i};r(o),(c=this.options.behavior)==null||c.onFetch(o,this),K(this,Hs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((l=o.fetchOptions)==null?void 0:l.meta))&&he(this,kt,dn).call(this,{type:"fetch",meta:(u=o.fetchOptions)==null?void 0:u.meta});const a=d=>{var f,g,m,p;Ia(d)&&d.silent||he(this,kt,dn).call(this,{type:"error",error:d}),Ia(d)||((g=(f=C(this,_t).config).onError)==null||g.call(f,d,this),(p=(m=C(this,_t).config).onSettled)==null||p.call(m,this.state.data,d,this)),this.scheduleGc()};return K(this,Ke,By({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:s.abort.bind(s),onSuccess:d=>{var f,g,m,p;if(d===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(y){a(y);return}(g=(f=C(this,_t).config).onSuccess)==null||g.call(f,d,this),(p=(m=C(this,_t).config).onSettled)==null||p.call(m,d,this.state.error,this),this.scheduleGc()},onError:a,onFail:(d,f)=>{he(this,kt,dn).call(this,{type:"failed",failureCount:d,error:f})},onPause:()=>{he(this,kt,dn).call(this,{type:"pause"})},onContinue:()=>{he(this,kt,dn).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),C(this,Ke).start()}},Ws=new WeakMap,Hs=new WeakMap,_t=new WeakMap,ss=new WeakMap,Ke=new WeakMap,pi=new WeakMap,rs=new WeakMap,kt=new WeakSet,dn=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,...$y(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 Ia(r)&&r.revert&&C(this,Hs)?{...C(this,Hs),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),We.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),C(this,_t).notify({query:this,type:"updated",action:t})})},oh);function $y(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Iy(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function C1(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 qt,ah,E1=(ah=class extends Ri{constructor(t={}){super();ne(this,qt);this.config=t,K(this,qt,new Map)}build(t,n,s){const r=n.queryKey,i=n.queryHash??cu(r,n);let o=this.get(i);return o||(o=new T1({client:t,queryKey:r,queryHash:i,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(o)),o}add(t){C(this,qt).has(t.queryHash)||(C(this,qt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=C(this,qt).get(t.queryHash);n&&(t.destroy(),n===t&&C(this,qt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){We.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return C(this,qt).get(t)}getAll(){return[...C(this,qt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>qf(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>qf(t,s)):n}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){We.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){We.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},qt=new WeakMap,ah),Zt,et,is,Kt,Cn,ch,A1=(ch=class extends Uy{constructor(t){super();ne(this,Kt);ne(this,Zt);ne(this,et);ne(this,is);this.mutationId=t.mutationId,K(this,et,t.mutationCache),K(this,Zt,[]),this.state=t.state||P1(),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,Zt).includes(t)||(C(this,Zt).push(t),this.clearGcTimeout(),C(this,et).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){K(this,Zt,C(this,Zt).filter(n=>n!==t)),this.scheduleGc(),C(this,et).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){C(this,Zt).length||(this.state.status==="pending"?this.scheduleGc():C(this,et).remove(this))}continue(){var t;return((t=C(this,is))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var r,i,o,a,c,l,u,d,f,g,m,p,y,v,b,w,T,S,A,P;K(this,is,By({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(E,j)=>{he(this,Kt,Cn).call(this,{type:"failed",failureCount:E,error:j})},onPause:()=>{he(this,Kt,Cn).call(this,{type:"pause"})},onContinue:()=>{he(this,Kt,Cn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>C(this,et).canRun(this)}));const n=this.state.status==="pending",s=!C(this,is).canStart();try{if(!n){he(this,Kt,Cn).call(this,{type:"pending",variables:t,isPaused:s}),await((i=(r=C(this,et).config).onMutate)==null?void 0:i.call(r,t,this));const j=await((a=(o=this.options).onMutate)==null?void 0:a.call(o,t));j!==this.state.context&&he(this,Kt,Cn).call(this,{type:"pending",context:j,variables:t,isPaused:s})}const E=await C(this,is).start();return await((l=(c=C(this,et).config).onSuccess)==null?void 0:l.call(c,E,t,this.state.context,this)),await((d=(u=this.options).onSuccess)==null?void 0:d.call(u,E,t,this.state.context)),await((g=(f=C(this,et).config).onSettled)==null?void 0:g.call(f,E,null,this.state.variables,this.state.context,this)),await((p=(m=this.options).onSettled)==null?void 0:p.call(m,E,null,t,this.state.context)),he(this,Kt,Cn).call(this,{type:"success",data:E}),E}catch(E){try{throw await((v=(y=C(this,et).config).onError)==null?void 0:v.call(y,E,t,this.state.context,this)),await((w=(b=this.options).onError)==null?void 0:w.call(b,E,t,this.state.context)),await((S=(T=C(this,et).config).onSettled)==null?void 0:S.call(T,void 0,E,this.state.variables,this.state.context,this)),await((P=(A=this.options).onSettled)==null?void 0:P.call(A,void 0,E,t,this.state.context)),E}finally{he(this,Kt,Cn).call(this,{type:"error",error:E})}}finally{C(this,et).runNext(this)}}},Zt=new WeakMap,et=new WeakMap,is=new WeakMap,Kt=new WeakSet,Cn=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),We.batch(()=>{C(this,Zt).forEach(s=>{s.onMutationUpdate(t)}),C(this,et).notify({mutation:this,type:"updated",action:t})})},ch);function P1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hn,Nt,mi,lh,R1=(lh=class extends Ri{constructor(t={}){super();ne(this,hn);ne(this,Nt);ne(this,mi);this.config=t,K(this,hn,new Set),K(this,Nt,new Map),K(this,mi,0)}build(t,n,s){const r=new A1({mutationCache:this,mutationId:++Ni(this,mi)._,options:t.defaultMutationOptions(n),state:s});return this.add(r),r}add(t){C(this,hn).add(t);const n=zi(t);if(typeof n=="string"){const s=C(this,Nt).get(n);s?s.push(t):C(this,Nt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(C(this,hn).delete(t)){const n=zi(t);if(typeof n=="string"){const s=C(this,Nt).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,Nt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=zi(t);if(typeof n=="string"){const s=C(this,Nt).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=zi(t);if(typeof n=="string"){const r=(s=C(this,Nt).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(){We.batch(()=>{C(this,hn).forEach(t=>{this.notify({type:"removed",mutation:t})}),C(this,hn).clear(),C(this,Nt).clear()})}getAll(){return Array.from(C(this,hn))}find(t){const n={exact:!0,...t};return this.getAll().find(s=>Zf(n,s))}findAll(t={}){return this.getAll().filter(n=>Zf(t,n))}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return We.batch(()=>Promise.all(t.map(n=>n.continue().catch(Tt))))}},hn=new WeakMap,Nt=new WeakMap,mi=new WeakMap,lh);function zi(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Qf(e){return{onFetch:(t,n)=>{var u,d,f,g,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=((g=t.state.data)==null?void 0:g.pages)||[],o=((m=t.state.data)==null?void 0:m.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const l=async()=>{let p=!1;const y=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?p=!0:t.signal.addEventListener("abort",()=>{p=!0}),t.signal)})},v=Ly(t.options,t.fetchOptions),b=async(w,T,S)=>{if(p)return Promise.reject();if(T==null&&w.pages.length)return Promise.resolve(w);const A={client:t.client,queryKey:t.queryKey,pageParam:T,direction:S?"backward":"forward",meta:t.options.meta};y(A);const P=await v(A),{maxPages:E}=t.options,j=S?x1:v1;return{pages:j(w.pages,P,E),pageParams:j(w.pageParams,T,E)}};if(r&&i.length){const w=r==="backward",T=w?k1:Xf,S={pages:i,pageParams:o},A=T(s,S);a=await b(S,A,w)}else{const w=e??i.length;do{const T=c===0?o[0]??s.initialPageParam:Xf(s,a);if(c>0&&T==null)break;a=await b(a,T),c++}while(c{var p,y;return(y=(p=t.options).persister)==null?void 0:y.call(p,l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=l}}}function Xf(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 k1(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 ke,Rn,kn,qs,Zs,Nn,Ks,Gs,uh,Rk=(uh=class{constructor(e={}){ne(this,ke);ne(this,Rn);ne(this,kn);ne(this,qs);ne(this,Zs);ne(this,Nn);ne(this,Ks);ne(this,Gs);K(this,ke,e.queryCache||new E1),K(this,Rn,e.mutationCache||new R1),K(this,kn,e.defaultOptions||{}),K(this,qs,new Map),K(this,Zs,new Map),K(this,Nn,0)}mount(){Ni(this,Nn)._++,C(this,Nn)===1&&(K(this,Ks,uu.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,ke).onFocus())})),K(this,Gs,No.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,ke).onOnline())})))}unmount(){var e,t;Ni(this,Nn)._--,C(this,Nn)===0&&((e=C(this,Ks))==null||e.call(this),K(this,Ks,void 0),(t=C(this,Gs))==null||t.call(this),K(this,Gs,void 0))}isFetching(e){return C(this,ke).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return C(this,Rn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,ke).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=C(this,ke).build(this,t),s=n.state.data;return s===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Bs(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(s))}getQueriesData(e){return C(this,ke).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,ke).get(s.queryHash),i=r==null?void 0:r.state.data,o=g1(t,i);if(o!==void 0)return C(this,ke).build(this,s).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return We.batch(()=>C(this,ke).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,ke).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=C(this,ke);We.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=C(this,ke),s={type:"active",...e};return We.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries(s,t)))}cancelQueries(e,t={}){const n={revert:!0,...t},s=We.batch(()=>C(this,ke).findAll(e).map(r=>r.cancel(n)));return Promise.all(s).then(Tt).catch(Tt)}invalidateQueries(e,t={}){return We.batch(()=>{if(C(this,ke).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=We.batch(()=>C(this,ke).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,ke).build(this,t);return n.isStaleByTime(Bs(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=Qf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Tt).catch(Tt)}ensureInfiniteQueryData(e){return e.behavior=Qf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return No.isOnline()?C(this,Rn).resumePausedMutations():Promise.resolve()}getQueryCache(){return C(this,ke)}getMutationCache(){return C(this,Rn)}getDefaultOptions(){return C(this,kn)}setDefaultOptions(e){K(this,kn,e)}setQueryDefaults(e,t){C(this,qs).set(fi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...C(this,qs).values()],n={};return t.forEach(s=>{hi(e,s.queryKey)&&Object.assign(n,s.defaultOptions)}),n}setMutationDefaults(e,t){C(this,Zs).set(fi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...C(this,Zs).values()];let n={};return t.forEach(s=>{hi(e,s.mutationKey)&&(n={...n,...s.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...C(this,kn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=cu(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===lu&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...C(this,kn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){C(this,ke).clear(),C(this,Rn).clear()}},ke=new WeakMap,Rn=new WeakMap,kn=new WeakMap,qs=new WeakMap,Zs=new WeakMap,Nn=new WeakMap,Ks=new WeakMap,Gs=new WeakMap,uh),lt,pe,gi,tt,os,Qs,jn,Gt,yi,Xs,Ys,as,cs,On,Js,be,jr,Oc,Dc,Mc,Fc,Lc,Ic,Vc,zy,dh,N1=(dh=class extends Ri{constructor(t,n){super();ne(this,be);ne(this,lt);ne(this,pe);ne(this,gi);ne(this,tt);ne(this,os);ne(this,Qs);ne(this,jn);ne(this,Gt);ne(this,yi);ne(this,Xs);ne(this,Ys);ne(this,as);ne(this,cs);ne(this,On);ne(this,Js,new Set);this.options=n,K(this,lt,t),K(this,Gt,null),K(this,jn,jc()),this.options.experimental_prefetchInRender||C(this,jn).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,pe).addObserver(this),Yf(C(this,pe),this.options)?he(this,be,jr).call(this):this.updateResult(),he(this,be,Fc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Bc(C(this,pe),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Bc(C(this,pe),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,he(this,be,Lc).call(this),he(this,be,Ic).call(this),C(this,pe).removeObserver(this)}setOptions(t,n){const s=this.options,r=C(this,pe);if(this.options=C(this,lt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof jt(this.options.enabled,C(this,pe))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");he(this,be,Vc).call(this),C(this,pe).setOptions(this.options),s._defaulted&&!Rc(this.options,s)&&C(this,lt).getQueryCache().notify({type:"observerOptionsUpdated",query:C(this,pe),observer:this});const i=this.hasListeners();i&&Jf(C(this,pe),r,this.options,s)&&he(this,be,jr).call(this),this.updateResult(n),i&&(C(this,pe)!==r||jt(this.options.enabled,C(this,pe))!==jt(s.enabled,C(this,pe))||Bs(this.options.staleTime,C(this,pe))!==Bs(s.staleTime,C(this,pe)))&&he(this,be,Oc).call(this);const o=he(this,be,Dc).call(this);i&&(C(this,pe)!==r||jt(this.options.enabled,C(this,pe))!==jt(s.enabled,C(this,pe))||o!==C(this,On))&&he(this,be,Mc).call(this,o)}getOptimisticResult(t){const n=C(this,lt).getQueryCache().build(C(this,lt),t),s=this.createResult(n,t);return O1(this,s)&&(K(this,tt,s),K(this,Qs,this.options),K(this,os,C(this,pe).state)),s}getCurrentResult(){return C(this,tt)}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,Js).add(t)}getCurrentQuery(){return C(this,pe)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=C(this,lt).defaultQueryOptions(t),s=C(this,lt).getQueryCache().build(C(this,lt),n);return s.fetch().then(()=>this.createResult(s,n))}fetch(t){return he(this,be,jr).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),C(this,tt)))}createResult(t,n){var E;const s=C(this,pe),r=this.options,i=C(this,tt),o=C(this,os),a=C(this,Qs),l=t!==s?t.state:C(this,gi),{state:u}=t;let d={...u},f=!1,g;if(n._optimisticResults){const j=this.hasListeners(),D=!j&&Yf(t,n),L=j&&Jf(t,s,n,r);(D||L)&&(d={...d,...$y(u.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:m,errorUpdatedAt:p,status:y}=d;if(n.select&&d.data!==void 0)if(i&&d.data===(o==null?void 0:o.data)&&n.select===C(this,yi))g=C(this,Xs);else try{K(this,yi,n.select),g=n.select(d.data),g=Nc(i==null?void 0:i.data,g,n),K(this,Xs,g),K(this,Gt,null)}catch(j){K(this,Gt,j)}else g=d.data;if(n.placeholderData!==void 0&&g===void 0&&y==="pending"){let j;if(i!=null&&i.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))j=i.data;else if(j=typeof n.placeholderData=="function"?n.placeholderData((E=C(this,Ys))==null?void 0:E.state.data,C(this,Ys)):n.placeholderData,n.select&&j!==void 0)try{j=n.select(j),K(this,Gt,null)}catch(D){K(this,Gt,D)}j!==void 0&&(y="success",g=Nc(i==null?void 0:i.data,j,n),f=!0)}C(this,Gt)&&(m=C(this,Gt),g=C(this,Xs),p=Date.now(),y="error");const v=d.fetchStatus==="fetching",b=y==="pending",w=y==="error",T=b&&v,S=g!==void 0,P={status:y,fetchStatus:d.fetchStatus,isPending:b,isSuccess:y==="success",isError:w,isInitialLoading:T,isLoading:T,data:g,dataUpdatedAt:d.dataUpdatedAt,error:m,errorUpdatedAt:p,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:du(t,n),refetch:this.refetch,promise:C(this,jn)};if(this.options.experimental_prefetchInRender){const j=O=>{P.status==="error"?O.reject(P.error):P.data!==void 0&&O.resolve(P.data)},D=()=>{const O=K(this,jn,P.promise=jc());j(O)},L=C(this,jn);switch(L.status){case"pending":t.queryHash===s.queryHash&&j(L);break;case"fulfilled":(P.status==="error"||P.data!==L.value)&&D();break;case"rejected":(P.status!=="error"||P.error!==L.reason)&&D();break}}return P}updateResult(t){const n=C(this,tt),s=this.createResult(C(this,pe),this.options);if(K(this,os,C(this,pe).state),K(this,Qs,this.options),C(this,os).data!==void 0&&K(this,Ys,C(this,pe)),Rc(s,n))return;K(this,tt,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,Js).size)return!0;const c=new Set(a??C(this,Js));return this.options.throwOnError&&c.add("error"),Object.keys(C(this,tt)).some(l=>{const u=l;return C(this,tt)[u]!==n[u]&&c.has(u)})};(t==null?void 0:t.listeners)!==!1&&i()&&(r.listeners=!0),he(this,be,zy).call(this,{...r,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&he(this,be,Fc).call(this)}},lt=new WeakMap,pe=new WeakMap,gi=new WeakMap,tt=new WeakMap,os=new WeakMap,Qs=new WeakMap,jn=new WeakMap,Gt=new WeakMap,yi=new WeakMap,Xs=new WeakMap,Ys=new WeakMap,as=new WeakMap,cs=new WeakMap,On=new WeakMap,Js=new WeakMap,be=new WeakSet,jr=function(t){he(this,be,Vc).call(this);let n=C(this,pe).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Tt)),n},Oc=function(){he(this,be,Lc).call(this);const t=Bs(this.options.staleTime,C(this,pe));if(ws||C(this,tt).isStale||!Pc(t))return;const s=My(C(this,tt).dataUpdatedAt,t)+1;K(this,as,setTimeout(()=>{C(this,tt).isStale||this.updateResult()},s))},Dc=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(C(this,pe)):this.options.refetchInterval)??!1},Mc=function(t){he(this,be,Ic).call(this),K(this,On,t),!(ws||jt(this.options.enabled,C(this,pe))===!1||!Pc(C(this,On))||C(this,On)===0)&&K(this,cs,setInterval(()=>{(this.options.refetchIntervalInBackground||uu.isFocused())&&he(this,be,jr).call(this)},C(this,On)))},Fc=function(){he(this,be,Oc).call(this),he(this,be,Mc).call(this,he(this,be,Dc).call(this))},Lc=function(){C(this,as)&&(clearTimeout(C(this,as)),K(this,as,void 0))},Ic=function(){C(this,cs)&&(clearInterval(C(this,cs)),K(this,cs,void 0))},Vc=function(){const t=C(this,lt).getQueryCache().build(C(this,lt),this.options);if(t===C(this,pe))return;const n=C(this,pe);K(this,pe,t),K(this,gi,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},zy=function(t){We.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(C(this,tt))}),C(this,lt).getQueryCache().notify({query:C(this,pe),type:"observerResultsUpdated"})})},dh);function j1(e,t){return jt(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Yf(e,t){return j1(e,t)||e.state.data!==void 0&&Bc(e,t,t.refetchOnMount)}function Bc(e,t,n){if(jt(t.enabled,e)!==!1){const s=typeof n=="function"?n(e):n;return s==="always"||s!==!1&&du(e,t)}return!1}function Jf(e,t,n,s){return(e!==t||jt(s.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&du(e,n)}function du(e,t){return jt(t.enabled,e)!==!1&&e.isStaleByTime(Bs(t.staleTime,e))}function O1(e,t){return!Rc(e.getCurrentResult(),t)}var Wy=x.createContext(void 0),D1=e=>{const t=x.useContext(Wy);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},kk=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),h.jsx(Wy.Provider,{value:e,children:t})),Hy=x.createContext(!1),M1=()=>x.useContext(Hy);Hy.Provider;function F1(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var L1=x.createContext(F1()),I1=()=>x.useContext(L1);function V1(e,t){return typeof e=="function"?e(...t):!!e}function eh(){}var B1=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},U1=e=>{x.useEffect(()=>{e.clearReset()},[e])},$1=({result:e,errorResetBoundary:t,throwOnError:n,query:s,suspense:r})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(r&&e.data===void 0||V1(n,[e.error,s])),z1=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)))},W1=(e,t)=>e.isLoading&&e.isFetching&&!t,H1=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,th=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function q1(e,t,n){var d,f,g,m,p;const s=D1(),r=M1(),i=I1(),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",z1(o),B1(o,i),U1(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(y=>{const v=u?c.subscribe(We.batchCalls(y)):eh;return c.updateResult(),v},[c,u]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),x.useEffect(()=>{c.setOptions(o,{listeners:!1})},[o,c]),H1(o,l))throw th(o,c,i);if($1({result:l,errorResetBoundary:i,throwOnError:o.throwOnError,query:s.getQueryCache().get(o.queryHash),suspense:o.suspense}))throw l.error;if((m=(g=s.getDefaultOptions().queries)==null?void 0:g._experimental_afterQuery)==null||m.call(g,o,l),o.experimental_prefetchInRender&&!ws&&W1(l,r)){const y=a?th(o,c,i):(p=s.getQueryCache().get(o.queryHash))==null?void 0:p.promise;y==null||y.catch(eh).finally(()=>{c.updateResult()})}return o.notifyOnChangeProps?l:c.trackResult(l)}function bn(e,t){return q1(e,N1)}const Z1=e=>{const{data:t,isPending:n,status:s}=bn({queryKey:["photos",e],queryFn:()=>kR(e),select:({data:r})=>r.data});return{data:t,isPending:n,status:s}},K1=e=>{const{data:t,isPending:n,isError:s}=bn({queryKey:["videos",e],queryFn:()=>NR(e),select:({data:r})=>r.data});return{data:t,isPending:n,isError:s}},Nk=({className:e,setIsOpen:t,activeItem:n})=>{var f,g;const[s,r]=Ts({align:"center",loop:!1,dragFree:!1,slidesToScroll:1}),{data:i}=Z1(1),{data:o}=K1(1);NT();const[a,c]=x.useState(!1),[l,u]=x.useState(!1);x.useEffect(()=>{if(!r)return;const m=()=>{c(r.canScrollPrev()),u(r.canScrollNext())};return r.on("select",m),m(),()=>{r.off("select",m)}},[r]),x.useEffect(()=>{!r||!i||r.scrollTo(n.id,!0)},[r,i,n.id]);const d=n.type==="photo"?(f=i==null?void 0:i.photos)==null?void 0:f.map(m=>{var p;return h.jsx("div",{className:"embla__slide flex-[0_0_100%] h-[350px] md:h-[500px] lg:h-[700px] lg:px-[20%] flex items-center justify-center",children:h.jsx("img",{src:(p=m==null?void 0:m.photo)==null?void 0:p.path,alt:m.photo.file_name,className:"max-h-full max-w-full object-contain"})},m.id)}):(g=o==null?void 0:o.videos)==null?void 0:g.map(m=>{var p;return h.jsx("div",{className:"embla__slide flex-[0_0_100%] h-[80vh] lg:px-[20%] flex items-center justify-center",children:h.jsx("video",{src:((p=m==null?void 0:m.video)==null?void 0:p.path)??"",controls:!0,autoPlay:!0,muted:!0,className:"max-h-full max-w-full object-contain"})},m.id)});return h.jsxs(Lr.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:H("fixed z-[100] top-0 left-0 pb-40 pt-20 lg:px-28 px-6 overflow-hidden min-h-screen w-full bg-black/90",e),children:[h.jsx(Jc,{onClick:()=>t(!1),className:"absolute top-6 right-6 p-3 md:size-20 size-16 cursor-pointer z-50 text-white hover:scale-110 transition-all duration-300"}),h.jsxs("div",{className:"hidden md:block",children:[h.jsx(Ix,{onClick:()=>a&&(r==null?void 0:r.scrollPrev()),className:H("absolute left-10 top-1/2 -translate-y-1/2 text-white size-20 cursor-pointer hover:scale-110 transition-all duration-300 z-40",!a&&"opacity-20 pointer-events-none")}),h.jsx(Bx,{onClick:()=>l&&(r==null?void 0:r.scrollNext()),className:H("absolute right-10 top-1/2 -translate-y-1/2 text-white size-20 cursor-pointer hover:scale-110 transition-all duration-300 z-40",!l&&"opacity-20 pointer-events-none")})]}),h.jsx("div",{ref:s,className:"embla overflow-hidden",children:h.jsx("div",{className:"embla__container flex",children:d})})]})},jk=({className:e,...t})=>h.jsxs("article",{className:H("relative bg-[url('/impressions/card-bg.png')] bg-no-repeat h-[326px] overflow-hidden",e),children:[h.jsx("img",{src:"/impressions/card-bg-bg.png",className:"absolute top-2.5 left-2.5 -z-10 size-full"}),h.jsxs("div",{className:"flex items-center gap-4",children:[h.jsx("img",{src:t.imgUrl,alt:"",className:"flex-[0_0_44%] object-contain overflow-hidden"}),h.jsxs("div",{className:"flex-auto z-20",children:[h.jsx("h3",{children:t.name}),h.jsx("p",{children:t.info})]})]})]}),Wi=({value:e,label:t,prevValue:n})=>h.jsxs("div",{className:"timer-item flex flex-col items-center",children:[h.jsxs("div",{className:"relative sm:h-14 h-6 w-16 overflow-hidden font-bold",children:[h.jsx("span",{className:`absolute left-1/2 -translate-x-1/2 black bg-gradient-to-t from-[#F1700D] to-[#F38835] text-transparent bg-clip-text sm:text-5xl text-xl leading-none transition-all duration-300 ${n!==e?" opacity-0":" opacity-100"}`,children:n}),h.jsx("span",{className:`absolute left-1/2 -translate-x-1/2 black bg-gradient-to-t from-[#F1700D] to-[#F38835] text-transparent bg-clip-text sm:text-5xl text-xl leading-none transition-all duration-300 ${n!==e?"opacity-100":"opacity-0"}`,children:e})]}),h.jsx("div",{className:"label normal sm:text-lg text-base text-[#FAD8DB]",children:t})]}),pt=e=>e===Et.RU?0:1,Uc=[{title:"Тематические направления выставки",bottom_text:` + `),()=>{document.head.removeChild(g)}},[t]),h.jsx(iw,{isPresent:t,childRef:r,sizeRef:i,children:x.cloneElement(e,{ref:r})})}const aw=({children:e,initial:t,isPresent:n,onExitComplete:s,custom:r,presenceAffectsLayout:i,mode:o,anchorX:a})=>{const c=nl(cw),l=x.useId(),u=x.useCallback(f=>{c.set(f,!0);for(const g of c.values())if(!g)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,g)=>c.set(g,!1))},[n]),x.useEffect(()=>{!n&&!c.size&&s&&s()},[n]),o==="popLayout"&&(e=h.jsx(ow,{isPresent:n,anchorX:a,children:e})),h.jsx(Lo.Provider,{value:d,children:e})};function cw(){return new Map}function pp(e=!0){const t=x.useContext(Lo);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 Ii=e=>e.key||"";function Uu(e){const t=[];return x.Children.forEach(e,n=>{x.isValidElement(n)&&t.push(n)}),t}const rl=typeof window<"u",mp=rl?x.useLayoutEffect:x.useEffect,pN=({children:e,custom:t,initial:n=!0,onExitComplete:s,presenceAffectsLayout:r=!0,mode:i="sync",propagate:o=!1,anchorX:a="left"})=>{const[c,l]=pp(o),u=x.useMemo(()=>Uu(e),[e]),d=o&&!c?[]:u.map(Ii),f=x.useRef(!0),g=x.useRef(u),m=nl(()=>new Map),[p,y]=x.useState(u),[v,b]=x.useState(u);mp(()=>{f.current=!1,g.current=u;for(let S=0;S{const A=Ii(S),P=o&&!c?!1:u===v||d.includes(A),E=()=>{if(m.has(A))m.set(A,!0);else return;let j=!0;m.forEach(D=>{D||(j=!1)}),j&&(T==null||T(),b(g.current),o&&(l==null||l()),s&&s())};return h.jsx(aw,{isPresent:P,initial:!f.current||n?void 0:!1,custom:P?void 0:t,presenceAffectsLayout:r,mode:i,onExitComplete:P?void 0:E,anchorX:a,children:S},A)})})},gt=e=>e;let qa=gt;const lw={skipAnimations:!1,useManualTiming:!1};function uw(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 g=d&&s?t:n;return u&&i.add(l),g.has(l)||g.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 Vi=["read","resolveKeyframes","update","preRender","render","postRender"],dw=40;function gp(e,t){let n=!1,s=!0;const r={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=Vi.reduce((v,b)=>(v[b]=uw(i),v),{}),{read:a,resolveKeyframes:c,update:l,preRender:u,render:d,postRender:f}=o,g=()=>{const v=performance.now();n=!1,r.delta=s?1e3/60:Math.max(Math.min(v-r.timestamp,dw),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(g))},m=()=>{n=!0,s=!0,r.isProcessing||e(g)};return{schedule:Vi.reduce((v,b)=>{const w=o[b];return v[b]=(T,S=!1,A=!1)=>(n||m(),w.schedule(T,S,A)),v},{}),cancel:v=>{for(let b=0;b$u[e].some(n=>!!t[n])};function fw(e){for(const t in e)er[t]={...er[t],...e[t]}}const hw=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 ro(e){return e.startsWith("while")||e.startsWith("drag")&&e!=="draggable"||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||hw.has(e)}let vp=e=>!ro(e);function pw(e){e&&(vp=t=>t.startsWith("on")?!ro(t):e(t))}try{pw(require("@emotion/is-prop-valid").default)}catch{}function mw(e,t,n){const s={};for(const r in e)r==="values"&&typeof e.values=="object"||(vp(r)||n===!0&&ro(r)||!t&&!ro(r)||e.draggable&&r.startsWith("onDrag"))&&(s[r]=e[r]);return s}function gw(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 Io=x.createContext({});function Ur(e){return typeof e=="string"||Array.isArray(e)}function Vo(e){return e!==null&&typeof e=="object"&&typeof e.start=="function"}const il=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ol=["initial",...il];function Bo(e){return Vo(e.animate)||ol.some(t=>Ur(e[t]))}function xp(e){return!!(Bo(e)||e.variants)}function yw(e,t){if(Bo(e)){const{initial:n,animate:s}=e;return{initial:n===!1||Ur(n)?n:void 0,animate:Ur(s)?s:void 0}}return e.inherit!==!1?t:{}}function vw(e){const{initial:t,animate:n}=yw(e,x.useContext(Io));return x.useMemo(()=>({initial:t,animate:n}),[zu(t),zu(n)])}function zu(e){return Array.isArray(e)?e.join(" "):e}const xw=Symbol.for("motionComponentSymbol");function Ns(e){return e&&typeof e=="object"&&Object.prototype.hasOwnProperty.call(e,"current")}function bw(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):Ns(n)&&(n.current=s))},[t])}const al=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),ww="framerAppearId",bp="data-"+al(ww),{schedule:cl,cancel:mN}=gp(queueMicrotask,!1),wp=x.createContext({});function Sw(e,t,n,s,r){var i,o;const{visualElement:a}=x.useContext(Io),c=x.useContext(yp),l=x.useContext(Lo),u=x.useContext(sl).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,g=x.useContext(wp);f&&!f.projection&&r&&(f.type==="html"||f.type==="svg")&&_w(d.current,n,r,g);const m=x.useRef(!1);x.useInsertionEffect(()=>{f&&m.current&&f.update(n,l)});const p=n[bp],y=x.useRef(!!p&&!(!((i=window.MotionHandoffIsComplete)===null||i===void 0)&&i.call(window,p))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,p)));return mp(()=>{f&&(m.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),cl.render(f.render),y.current&&f.animationState&&f.animationState.animateChanges())}),x.useEffect(()=>{f&&(!y.current&&f.animationState&&f.animationState.animateChanges(),y.current&&(queueMicrotask(()=>{var v;(v=window.MotionHandoffMarkAsComplete)===null||v===void 0||v.call(window,p)}),y.current=!1))}),f}function _w(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:Sp(e.parent)),e.projection.setOptions({layoutId:r,layout:i,alwaysMeasureLayout:!!o||a&&Ns(a),visualElement:e,animationType:typeof i=="string"?i:"both",initialPromotionConfig:s,layoutScroll:c,layoutRoot:l})}function Sp(e){if(e)return e.options.allowProjection!==!1?e.projection:Sp(e.parent)}function Tw({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:s,Component:r}){var i,o;e&&fw(e);function a(l,u){let d;const f={...x.useContext(sl),...l,layoutId:Cw(l)},{isStatic:g}=f,m=vw(l),p=s(l,g);if(!g&&rl){Ew();const y=Aw(f);d=y.MeasureLayout,m.visualElement=Sw(r,p,f,t,y.ProjectionNode)}return h.jsxs(Io.Provider,{value:m,children:[d&&m.visualElement?h.jsx(d,{visualElement:m.visualElement,...f}):null,n(r,l,bw(p,m.visualElement,u),p,g,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[xw]=r,c}function Cw({layoutId:e}){const t=x.useContext(tl).id;return t&&e!==void 0?t+"-"+e:e}function Ew(e,t){x.useContext(yp).strict}function Aw(e){const{drag:t,layout:n}=er;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 ll(e){return typeof e!="string"||e.includes("-")?!1:!!(Pw.indexOf(e)>-1||/[A-Z]/u.test(e))}function Wu(e){const t=[{},{}];return e==null||e.values.forEach((n,s)=>{t[0][s]=n.get(),t[1][s]=n.getVelocity()}),t}function ul(e,t,n,s){if(typeof t=="function"){const[r,i]=Wu(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]=Wu(s);t=t(n!==void 0?n:e.custom,r,i)}return t}const Za=e=>Array.isArray(e),Rw=e=>!!(e&&typeof e=="object"&&e.mix&&e.toValue),Nw=e=>Za(e)?e[e.length-1]||0:e,Xe=e=>!!(e&&e.getVelocity);function Gi(e){const t=Xe(e)?e.get():e;return Rw(t)?t.toValue():t}function kw({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},s,r,i){const o={latestValues:jw(s,r,i,e),renderState:t()};return n&&(o.onMount=a=>n({props:s,current:a,...o}),o.onUpdate=a=>n(a)),o}const _p=e=>(t,n)=>{const s=x.useContext(Io),r=x.useContext(Lo),i=()=>kw(e,t,s,r);return n?i():nl(i)};function jw(e,t,n,s){const r={},i=s(e,{});for(const f in i)r[f]=Gi(i[f]);let{initial:o,animate:a}=e;const c=Bo(e),l=xp(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"&&!Vo(d)){const f=Array.isArray(d)?d:[d];for(let g=0;gt=>typeof t=="string"&&t.startsWith(e),dl=Tp("--"),Ow=Tp("var(--"),fl=e=>Ow(e)?Dw.test(e.split("/*")[0].trim()):!1,Dw=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Cp=(e,t)=>t&&typeof e=="number"?t.transform(e):e,gn=(e,t,n)=>n>t?t:ntypeof e=="number",parse:parseFloat,transform:e=>e},$r={...fr,transform:e=>gn(0,1,e)},Bi={...fr,default:1},vi=e=>({test:t=>typeof t=="string"&&t.endsWith(e)&&t.split(" ").length===1,parse:parseFloat,transform:t=>`${t}${e}`}),Tn=vi("deg"),Jt=vi("%"),ee=vi("px"),Mw=vi("vh"),Fw=vi("vw"),Hu={...Jt,parse:e=>Jt.parse(e)/100,transform:e=>Jt.transform(e*100)},Lw={borderWidth:ee,borderTopWidth:ee,borderRightWidth:ee,borderBottomWidth:ee,borderLeftWidth:ee,borderRadius:ee,radius:ee,borderTopLeftRadius:ee,borderTopRightRadius:ee,borderBottomRightRadius:ee,borderBottomLeftRadius:ee,width:ee,maxWidth:ee,height:ee,maxHeight:ee,top:ee,right:ee,bottom:ee,left:ee,padding:ee,paddingTop:ee,paddingRight:ee,paddingBottom:ee,paddingLeft:ee,margin:ee,marginTop:ee,marginRight:ee,marginBottom:ee,marginLeft:ee,backgroundPositionX:ee,backgroundPositionY:ee},Iw={rotate:Tn,rotateX:Tn,rotateY:Tn,rotateZ:Tn,scale:Bi,scaleX:Bi,scaleY:Bi,scaleZ:Bi,skew:Tn,skewX:Tn,skewY:Tn,distance:ee,translateX:ee,translateY:ee,translateZ:ee,x:ee,y:ee,z:ee,perspective:ee,transformPerspective:ee,opacity:$r,originX:Hu,originY:Hu,originZ:ee},qu={...fr,transform:Math.round},hl={...Lw,...Iw,zIndex:qu,size:ee,fillOpacity:$r,strokeOpacity:$r,numOctaves:qu},Vw={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Bw=dr.length;function Uw(e,t,n){let s="",r=!0;for(let i=0;i({style:{},transform:{},transformOrigin:{},vars:{}}),Ep=()=>({...gl(),attrs:{}}),yl=e=>typeof e=="string"&&e.toLowerCase()==="svg";function Ap(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 Pp=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 Rp(e,t,n,s){Ap(e,t,void 0,s);for(const r in t.attrs)e.setAttribute(Pp.has(r)?r:al(r),t.attrs[r])}const zr={};function qw(e){for(const t in e)zr[t]=e[t],dl(t)&&(zr[t].isCSSVariable=!0)}function Np(e,{layout:t,layoutId:n}){return Ts.has(e)||e.startsWith("origin")||(t||n!==void 0)&&(!!zr[e]||e==="opacity")}function vl(e,t,n){var s;const{style:r}=e,i={};for(const o in r)(Xe(r[o])||t.style&&Xe(t.style[o])||Np(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 kp(e,t,n){const s=vl(e,t,n);for(const r in e)if(Xe(e[r])||Xe(t[r])){const i=dr.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;s[i]=e[r]}return s}function Zw(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 Ku=["x","y","width","height","cx","cy","r"],Kw={useVisualState:_p({scrapeMotionValuesFromProps:kp,createRenderState:Ep,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(Ts.has(a)){i=!0;break}}if(!i)return;let o=!t;if(t)for(let a=0;a{Zw(n,s),Te.render(()=>{ml(s,r,yl(n.tagName),e.transformTemplate),Rp(n,s)})})}})},Gw={useVisualState:_p({scrapeMotionValuesFromProps:vl,createRenderState:gl})};function jp(e,t,n){for(const s in t)!Xe(t[s])&&!Np(s,n)&&(e[s]=t[s])}function Qw({transformTemplate:e},t){return x.useMemo(()=>{const n=gl();return pl(n,t,e),Object.assign({},n.vars,n.style)},[t])}function Xw(e,t){const n=e.style||{},s={};return jp(s,n,e),Object.assign(s,Qw(e,t)),s}function Yw(e,t){const n={},s=Xw(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 Jw(e,t,n,s){const r=x.useMemo(()=>{const i=Ep();return ml(i,t,yl(s),e.transformTemplate),{...i.attrs,style:{...i.style}}},[t]);if(e.style){const i={};jp(i,e.style,e),r.style={...i,...r.style}}return r}function e0(e=!1){return(n,s,r,{latestValues:i},o)=>{const c=(ll(n)?Jw:Yw)(s,i,o,n),l=mw(s,typeof n=="string",e),u=n!==x.Fragment?{...l,...c,ref:r}:{},{children:d}=s,f=x.useMemo(()=>Xe(d)?d.get():d,[d]);return x.createElement(n,{...u,children:f})}}function t0(e,t){return function(s,{forwardMotionProps:r}={forwardMotionProps:!1}){const o={...ll(s)?Kw:Gw,preloadedFeatures:e,useRender:e0(r),createVisualElement:t,Component:s};return Tw(o)}}function Op(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let s=0;s(Qi===void 0&&en.set(ze.isProcessing||lw.useManualTiming?ze.timestamp:performance.now()),Qi),set:e=>{Qi=e,queueMicrotask(n0)}};function bl(e,t){e.indexOf(t)===-1&&e.push(t)}function wl(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Sl{constructor(){this.subscriptions=[]}add(t){return bl(this.subscriptions,t),()=>wl(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 r0{constructor(t,n={}){this.version="12.0.6",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,r=!0)=>{const i=en.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=en.now(),this.canTrackVelocity===null&&t!==void 0&&(this.canTrackVelocity=s0(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 Sl);const s=this.events[t].add(n);return t==="change"?()=>{s(),Te.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=en.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||t-this.updatedAt>Gu)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,Gu);return Mp(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 Wr(e,t){return new r0(e,t)}function i0(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Wr(n))}function o0(e,t){const n=Uo(e,t);let{transitionEnd:s={},transition:r={},...i}=n||{};i={...i,...s};for(const o in i){const a=Nw(i[o]);i0(e,o,a)}}function a0(e){return!!(Xe(e)&&e.add)}function Ka(e,t){const n=e.getValue("willChange");if(a0(n))return n.add(t)}function Fp(e){return e.props[bp]}function _l(e){let t;return()=>(t===void 0&&(t=e()),t)}const c0=_l(()=>window.ScrollTimeline!==void 0);class l0{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(c0()&&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 u0 extends l0{then(t,n){return Promise.all(this.animations).then(t).catch(n)}}const pn=e=>e*1e3,mn=e=>e/1e3;function Tl(e){return typeof e=="function"}function Qu(e,t){e.timeline=t,e.onfinish=null}const Cl=e=>Array.isArray(e)&&typeof e[0]=="number",d0={linearEasing:void 0};function f0(e,t){const n=_l(e);return()=>{var s;return(s=d0[t])!==null&&s!==void 0?s:n()}}const io=f0(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),tr=(e,t,n)=>{const s=t-e;return s===0?1:(n-e)/s},Lp=(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})`,Ga={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Er([0,.65,.55,1]),circOut:Er([.55,0,1,.45]),backIn:Er([.31,.01,.66,-.59]),backOut:Er([.33,1.53,.69,.99])};function Vp(e,t){if(e)return typeof e=="function"&&io()?Lp(e,t):Cl(e)?Er(e):Array.isArray(e)?e.map(n=>Vp(n,t)||Ga.easeOut):Ga[e]}const Bp=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,h0=1e-7,p0=12;function m0(e,t,n,s,r){let i,o,a=0;do o=t+(n-t)/2,i=Bp(o,s,r)-e,i>0?n=o:t=o;while(Math.abs(i)>h0&&++am0(i,0,1,e,n);return i=>i===0||i===1?i:Bp(r(i),t,s)}const Up=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,$p=e=>t=>1-e(1-t),zp=xi(.33,1.53,.69,.99),El=$p(zp),Wp=Up(El),Hp=e=>(e*=2)<1?.5*El(e):.5*(2-Math.pow(2,-10*(e-1))),Al=e=>1-Math.sin(Math.acos(e)),qp=$p(Al),Zp=Up(Al),Kp=e=>/^0[^.\s]+$/u.test(e);function g0(e){return typeof e=="number"?e===0:e!==null?e==="none"||e==="0"||Kp(e):!0}const Or=e=>Math.round(e*1e5)/1e5,Pl=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function y0(e){return e==null}const v0=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Rl=(e,t)=>n=>!!(typeof n=="string"&&v0.test(n)&&n.startsWith(e)||t&&!y0(n)&&Object.prototype.hasOwnProperty.call(n,t)),Gp=(e,t,n)=>s=>{if(typeof s!="string")return s;const[r,i,o,a]=s.match(Pl);return{[e]:parseFloat(r),[t]:parseFloat(i),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},x0=e=>gn(0,255,e),ma={...fr,transform:e=>Math.round(x0(e))},Jn={test:Rl("rgb","red"),parse:Gp("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:s=1})=>"rgba("+ma.transform(e)+", "+ma.transform(t)+", "+ma.transform(n)+", "+Or($r.transform(s))+")"};function b0(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 Qa={test:Rl("#"),parse:b0,transform:Jn.transform},ks={test:Rl("hsl","hue"),parse:Gp("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:s=1})=>"hsla("+Math.round(e)+", "+Jt.transform(Or(t))+", "+Jt.transform(Or(n))+", "+Or($r.transform(s))+")"},Ge={test:e=>Jn.test(e)||Qa.test(e)||ks.test(e),parse:e=>Jn.test(e)?Jn.parse(e):ks.test(e)?ks.parse(e):Qa.parse(e),transform:e=>typeof e=="string"?e:e.hasOwnProperty("red")?Jn.transform(e):ks.transform(e)},w0=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function S0(e){var t,n;return isNaN(e)&&typeof e=="string"&&(((t=e.match(Pl))===null||t===void 0?void 0:t.length)||0)+(((n=e.match(w0))===null||n===void 0?void 0:n.length)||0)>0}const Qp="number",Xp="color",_0="var",T0="var(",Xu="${}",C0=/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 Hr(e){const t=e.toString(),n=[],s={color:[],number:[],var:[]},r=[];let i=0;const a=t.replace(C0,c=>(Ge.test(c)?(s.color.push(i),r.push(Xp),n.push(Ge.parse(c))):c.startsWith(T0)?(s.var.push(i),r.push(_0),n.push(c)):(s.number.push(i),r.push(Qp),n.push(parseFloat(c))),++i,Xu)).split(Xu);return{values:n,split:a,indexes:s,types:r}}function Yp(e){return Hr(e).values}function Jp(e){const{split:t,types:n}=Hr(e),s=t.length;return r=>{let i="";for(let o=0;otypeof e=="number"?0:e;function A0(e){const t=Yp(e);return Jp(e)(t.map(E0))}const Fn={test:S0,parse:Yp,createTransformer:Jp,getAnimatableNone:A0},P0=new Set(["brightness","contrast","saturate","opacity"]);function R0(e){const[t,n]=e.slice(0,-1).split("(");if(t==="drop-shadow")return e;const[s]=n.match(Pl)||[];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 N0=/\b([a-z-]*)\(.*?\)/gu,Xa={...Fn,getAnimatableNone:e=>{const t=e.match(N0);return t?t.map(R0).join(" "):e}},k0={...hl,color:Ge,backgroundColor:Ge,outlineColor:Ge,fill:Ge,stroke:Ge,borderColor:Ge,borderTopColor:Ge,borderRightColor:Ge,borderBottomColor:Ge,borderLeftColor:Ge,filter:Xa,WebkitFilter:Xa},Nl=e=>k0[e];function em(e,t){let n=Nl(e);return n!==Xa&&(n=Fn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const j0=new Set(["auto","none","0"]);function O0(e,t,n){let s=0,r;for(;se===fr||e===ee,Ju=(e,t)=>parseFloat(e.split(", ")[t]),ed=(e,t)=>(n,{transform:s})=>{if(s==="none"||!s)return 0;const r=s.match(/^matrix3d\((.+)\)$/u);if(r)return Ju(r[1],t);{const i=s.match(/^matrix\((.+)\)$/u);return i?Ju(i[1],e):0}},D0=new Set(["x","y","z"]),M0=dr.filter(e=>!D0.has(e));function F0(e){const t=[];return M0.forEach(n=>{const s=e.getValue(n);s!==void 0&&(t.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),t}const nr={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:ed(4,13),y:ed(5,14)};nr.translateX=nr.x;nr.translateY=nr.y;const ds=new Set;let Ya=!1,Ja=!1;function tm(){if(Ja){const e=Array.from(ds).filter(s=>s.needsMeasurement),t=new Set(e.map(s=>s.element)),n=new Map;t.forEach(s=>{const r=F0(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)})}Ja=!1,Ya=!1,ds.forEach(e=>e.complete()),ds.clear()}function nm(){ds.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ja=!0)})}function L0(){nm(),tm()}class kl{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?(ds.add(this),Ya||(Ya=!0,Te.read(nm),Te.resolveKeyframes(tm))):(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),I0=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function V0(e){const t=I0.exec(e);if(!t)return[,];const[,n,s,r]=t;return[`--${n??s}`,r]}function rm(e,t,n=1){const[s,r]=V0(e);if(!s)return;const i=window.getComputedStyle(t).getPropertyValue(s);if(i){const o=i.trim();return sm(o)?parseFloat(o):o}return fl(r)?rm(r,t,n+1):r}const im=e=>t=>t.test(e),B0={test:e=>e==="auto",parse:e=>e},om=[fr,ee,Jt,Tn,Fw,Mw,B0],td=e=>om.find(im(e));class am extends kl{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 nd=(e,t)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(Fn.test(e)||e==="0")&&!e.startsWith("url("));function U0(e){const t=e[0];if(e.length===1)return!0;for(let n=0;ne!==null;function $o(e,{repeat:t,repeatType:n="loop"},s){const r=e.filter(z0),i=t&&n!=="loop"&&t%2===1?0:r.length-1;return!i||s===void 0?r[i]:s}const W0=40;class cm{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=en.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>W0?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&L0(),this._resolved}onKeyframesResolved(t,n){this.resolvedAt=en.now(),this.hasAttemptedResolve=!0;const{name:s,type:r,velocity:i,delay:o,onComplete:a,onUpdate:c,isGenerator:l}=this.options;if(!l&&!$0(t,s,r,i))if(o)this.options.duration=0;else{c&&c($o(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 ec=2e4;function lm(e){let t=0;const n=50;let s=e.next(t);for(;!s.done&&t=ec?1/0:t}const Pe=(e,t,n)=>e+(t-e)*n;function ga(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 H0({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=ga(c,a,e+1/3),i=ga(c,a,e),o=ga(c,a,e-1/3)}return{red:Math.round(r*255),green:Math.round(i*255),blue:Math.round(o*255),alpha:s}}function oo(e,t){return n=>n>0?t:e}const ya=(e,t,n)=>{const s=e*e,r=n*(t*t-s)+s;return r<0?0:Math.sqrt(r)},q0=[Qa,Jn,ks],Z0=e=>q0.find(t=>t.test(e));function sd(e){const t=Z0(e);if(!t)return!1;let n=t.parse(e);return t===ks&&(n=H0(n)),n}const rd=(e,t)=>{const n=sd(e),s=sd(t);if(!n||!s)return oo(e,t);const r={...n};return i=>(r.red=ya(n.red,s.red,i),r.green=ya(n.green,s.green,i),r.blue=ya(n.blue,s.blue,i),r.alpha=Pe(n.alpha,s.alpha,i),Jn.transform(r))},K0=(e,t)=>n=>t(e(n)),bi=(...e)=>e.reduce(K0),tc=new Set(["none","hidden"]);function G0(e,t){return tc.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Q0(e,t){return n=>Pe(e,t,n)}function jl(e){return typeof e=="number"?Q0:typeof e=="string"?fl(e)?oo:Ge.test(e)?rd:J0:Array.isArray(e)?um:typeof e=="object"?Ge.test(e)?rd:X0:oo}function um(e,t){const n=[...e],s=n.length,r=e.map((i,o)=>jl(i)(i,t[o]));return i=>{for(let o=0;o{for(const i in s)n[i]=s[i](r);return n}}function Y0(e,t){var n;const s=[],r={color:0,var:0,number:0};for(let i=0;i{const n=Fn.createTransformer(t),s=Hr(e),r=Hr(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?tc.has(e)&&!r.values.length||tc.has(t)&&!s.values.length?G0(e,t):bi(um(Y0(s,r),r.values),n):oo(e,t)};function dm(e,t,n){return typeof e=="number"&&typeof t=="number"&&typeof n=="number"?Pe(e,t,n):jl(e)(e,t)}const eS=5;function fm(e,t,n){const s=Math.max(t-eS,0);return Mp(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},id=.001;function tS({duration:e=ke.duration,bounce:t=ke.bounce,velocity:n=ke.velocity,mass:s=ke.mass}){let r,i,o=1-t;o=gn(ke.minDamping,ke.maxDamping,o),e=gn(ke.minDuration,ke.maxDuration,mn(e)),o<1?(r=l=>{const u=l*o,d=u*e,f=u-n,g=nc(l,o),m=Math.exp(-d);return id-f/g*m},i=l=>{const d=l*o*e,f=d*n+n,g=Math.pow(o,2)*Math.pow(l,2)*e,m=Math.exp(-d),p=nc(Math.pow(l,2),o);return(-r(l)+id>0?-1:1)*((f-g)*m)/p}):(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=sS(r,i,a);if(e=pn(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 nS=12;function sS(e,t,n){let s=n;for(let r=1;re[n]!==void 0)}function oS(e){let t={velocity:ke.velocity,stiffness:ke.stiffness,damping:ke.damping,mass:ke.mass,isResolvedFromDuration:!1,...e};if(!od(e,iS)&&od(e,rS))if(e.visualDuration){const n=e.visualDuration,s=2*Math.PI/(n*1.2),r=s*s,i=2*gn(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:ke.mass,stiffness:r,damping:i}}else{const n=tS(e);t={...t,...n,mass:ke.mass},t.isResolvedFromDuration=!0}return t}function hm(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:g}=oS({...n,velocity:-mn(n.velocity||0)}),m=f||0,p=l/(2*Math.sqrt(c*u)),y=o-i,v=mn(Math.sqrt(c/u)),b=Math.abs(y)<5;s||(s=b?ke.restSpeed.granular:ke.restSpeed.default),r||(r=b?ke.restDelta.granular:ke.restDelta.default);let w;if(p<1){const S=nc(v,p);w=A=>{const P=Math.exp(-p*v*A);return o-P*((m+p*v*y)/S*Math.sin(S*A)+y*Math.cos(S*A))}}else if(p===1)w=S=>o-Math.exp(-v*S)*(y+(m+v*y)*S);else{const S=v*Math.sqrt(p*p-1);w=A=>{const P=Math.exp(-p*v*A),E=Math.min(S*A,300);return o-P*((m+p*v*y)*Math.sinh(E)+S*y*Math.cosh(E))/S}}const T={calculatedDuration:g&&d||null,next:S=>{const A=w(S);if(g)a.done=S>=d;else{let P=0;p<1&&(P=S===0?pn(m):fm(w,S,A));const E=Math.abs(P)<=s,j=Math.abs(o-A)<=r;a.done=E&&j}return a.value=a.done?o:A,a},toString:()=>{const S=Math.min(lm(T),ec),A=Lp(P=>T.next(S*P).value,S,30);return S+"ms "+A}};return T}function ad({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},g=E=>a!==void 0&&Ec,m=E=>a===void 0?c:c===void 0||Math.abs(a-E)-p*Math.exp(-E/s),w=E=>v+b(E),T=E=>{const j=b(E),D=w(E);f.done=Math.abs(j)<=l,f.value=f.done?v:D};let S,A;const P=E=>{g(f.value)&&(S=E,A=hm({keyframes:[f.value,m(f.value)],velocity:fm(w,E,f.value),damping:r,stiffness:i,restDelta:l,restSpeed:u}))};return P(0),{calculatedDuration:null,next:E=>{let j=!1;return!A&&S===void 0&&(j=!0,T(E),P(E)),S!==void 0&&E>=S?A.next(E-S):(!j&&T(E),f)}}}const aS=xi(.42,0,1,1),cS=xi(0,0,.58,1),pm=xi(.42,0,.58,1),lS=e=>Array.isArray(e)&&typeof e[0]!="number",cd={linear:gt,easeIn:aS,easeInOut:pm,easeOut:cS,circIn:Al,circInOut:Zp,circOut:qp,backIn:El,backInOut:Wp,backOut:zp,anticipate:Hp},ld=e=>{if(Cl(e)){qa(e.length===4);const[t,n,s,r]=e;return xi(t,n,s,r)}else if(typeof e=="string")return qa(cd[e]!==void 0),cd[e];return e};function uS(e,t,n){const s=[],r=n||dm,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=uS(t,s,r),c=a.length,l=u=>{if(o&&u1)for(;dl(gn(e[0],e[i-1],u)):l}function fS(e,t){const n=e[e.length-1];for(let s=1;s<=t;s++){const r=tr(0,t,s);e.push(Pe(n,1,r))}}function hS(e){const t=[0];return fS(t,e.length-1),t}function pS(e,t){return e.map(n=>n*t)}function mS(e,t){return e.map(()=>t||pm).splice(0,e.length-1)}function ao({duration:e=300,keyframes:t,times:n,ease:s="easeInOut"}){const r=lS(s)?s.map(ld):ld(s),i={done:!1,value:t[0]},o=pS(n&&n.length===t.length?n:hS(t),e),a=dS(o,t,{ease:Array.isArray(r)?r:mS(t,r)});return{calculatedDuration:e,next:c=>(i.value=a(c),i.done=c>=e,i)}}const gS=e=>{const t=({timestamp:n})=>e(n);return{start:()=>Te.update(t,!0),stop:()=>Mn(t),now:()=>ze.isProcessing?ze.timestamp:en.now()}},yS={decay:ad,inertia:ad,tween:ao,keyframes:ao,spring:hm},vS=e=>e/100;class Ol extends cm{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)||kl,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=Tl(n)?n:yS[n]||ao;let c,l;a!==ao&&typeof t[0]!="number"&&(c=bi(vS,dm(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=lm(u));const{calculatedDuration:d}=u,f=d+r,g=f*(s+1)-r;return{generator:u,mirroredGenerator:l,mapPercentToKeyframes:c,calculatedDuration:d,resolvedDuration:f,totalDuration:g}}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:E}=this.options;return{done:!0,value:E[E.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:g,repeatType:m,repeatDelay:p,onUpdate:y}=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(g){const E=Math.min(this.currentTime,u)/d;let j=Math.floor(E),D=E%1;!D&&E>=1&&(D=1),D===1&&j--,j=Math.min(j,g+1),!!(j%2)&&(m==="reverse"?(D=1-D,p&&(D-=p/d)):m==="mirror"&&(T=o)),w=gn(0,1,D)*d}const S=b?{done:!1,value:c[0]}:T.next(w);a&&(S.value=a(S.value));let{done:A}=S;!b&&l!==null&&(A=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const P=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&A);return P&&r!==void 0&&(S.value=$o(c,this.options,r)),y&&y(S.value),P&&this.finish(),S}get duration(){const{resolved:t}=this;return t?mn(t.calculatedDuration):0}get time(){return mn(this.currentTime)}set time(t){t=pn(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=mn(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:t=gS,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 xS=new Set(["opacity","clipPath","filter","transform"]);function bS(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=Vp(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 wS=_l(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),co=10,SS=2e4;function _S(e){return Tl(e.type)||e.type==="spring"||!Ip(e.ease)}function TS(e,t){const n=new Ol({...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"&&io()&&CS(i)&&(i=mm[i]),_S(this.options)){const{onComplete:d,onUpdate:f,motionValue:g,element:m,...p}=this.options,y=TS(t,p);t=y.keyframes,t.length===1&&(t[1]=t[0]),s=y.duration,r=y.times,i=y.ease,o="keyframes"}const u=bS(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($o(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 mn(n)}get time(){const{resolved:t}=this;if(!t)return 0;const{animation:n}=t;return mn(n.currentTime||0)}set time(t){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.currentTime=pn(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,...g}=this.options,m=new Ol({...g,keyframes:s,duration:r,type:i,ease:o,times:a,isGenerator:!0}),p=pn(this.time);l.setWithVelocity(m.sample(p-co).value,m.sample(p).value,co)}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 wS()&&s&&xS.has(s)&&!c&&!l&&!r&&i!=="mirror"&&o!==0&&a!=="inertia"}}const ES={type:"spring",stiffness:500,damping:25,restSpeed:10},AS=e=>({type:"spring",stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),PS={type:"keyframes",duration:.8},RS={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},NS=(e,{keyframes:t})=>t.length>2?PS:Ts.has(e)?e.startsWith("scale")?AS(t[1]):ES:RS;function kS({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 Dl=(e,t,n,s={},r,i)=>o=>{const a=xl(s,e)||{},c=a.delay||s.delay||0;let{elapsed:l=0}=s;l=l-pn(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};kS(a)||(u={...u,...NS(e,u)}),u.duration&&(u.duration=pn(u.duration)),u.repeatDelay&&(u.repeatDelay=pn(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=$o(u.keyframes,a);if(f!==void 0)return Te.update(()=>{u.onUpdate(f),u.onComplete()}),new u0([])}return!i&&ud.supports(u)?new ud(u):new Ol(u)};function jS({protectedKeys:e,needsAnimating:t},n){const s=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,s}function gm(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),g=c[d];if(g===void 0||u&&jS(u,d))continue;const m={delay:n,...xl(o||{},d)};let p=!1;if(window.MotionHandoffAnimation){const v=Fp(e);if(v){const b=window.MotionHandoffAnimation(v,d,Te);b!==null&&(m.startTime=b,p=!0)}}Ka(e,d),f.start(Dl(d,f,g,e.shouldReduceMotion&&Dp.has(d)?{type:!1}:m,e,p));const y=f.animation;y&&l.push(y)}return a&&Promise.all(l).then(()=>{Te.update(()=>{a&&o0(e,a)})}),l}function sc(e,t,n={}){var s;const r=Uo(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(gm(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(l=0)=>{const{delayChildren:u=0,staggerChildren:d,staggerDirection:f}=i;return OS(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 OS(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(DS).forEach((l,u)=>{l.notify("AnimationStart",t),o.push(sc(l,t,{...i,delay:n+c(u)}).then(()=>l.notify("AnimationComplete",t)))}),Promise.all(o)}function DS(e,t){return e.sortNodePosition(t)}function MS(e,t,n={}){e.notify("AnimationStart",t);let s;if(Array.isArray(t)){const r=t.map(i=>sc(e,i,n));s=Promise.all(r)}else if(typeof t=="string")s=sc(e,t,n);else{const r=typeof t=="function"?Uo(e,t,n.custom):t;s=Promise.all(gm(e,r,n))}return s.then(()=>{e.notify("AnimationComplete",t)})}const FS=ol.length;function ym(e){if(!e)return;if(!e.isControllingVariants){const n=e.parent?ym(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})=>MS(e,n,s)))}function BS(e){let t=VS(e),n=dd(),s=!0;const r=c=>(l,u)=>{var d;const f=Uo(e,u,c==="exit"?(d=e.presenceContext)===null||d===void 0?void 0:d.custom:void 0);if(f){const{transition:g,transitionEnd:m,...p}=f;l={...l,...p,...m}}return l};function i(c){t=c(e)}function o(c){const{props:l}=e,u=ym(e.parent)||{},d=[],f=new Set;let g={},m=1/0;for(let y=0;ym&&T,j=!1;const D=Array.isArray(w)?w:[w];let L=D.reduce(r(v),{});S===!1&&(L={});const{prevResolvedValues:O={}}=b,$={...O,...L},I=q=>{E=!0,f.has(q)&&(j=!0,f.delete(q)),b.needsAnimating[q]=!0;const Z=e.getValue(q);Z&&(Z.liveStyle=!1)};for(const q in $){const Z=L[q],re=O[q];if(g.hasOwnProperty(q))continue;let de=!1;Za(Z)&&Za(re)?de=!Op(Z,re):de=Z!==re,de?Z!=null?I(q):f.add(q):Z!==void 0&&f.has(q)?I(q):b.protectedKeys[q]=!0}b.prevProp=w,b.prevResolvedValues=L,b.isActive&&(g={...g,...L}),s&&e.blockInitialAnimation&&(E=!1),E&&(!(A&&P)||j)&&d.push(...D.map(q=>({animation:q,options:{type:v}})))}if(f.size){const y={};f.forEach(v=>{const b=e.getBaseTarget(v),w=e.getValue(v);w&&(w.liveStyle=!0),y[v]=b??null}),d.push({animation:y})}let p=!!d.length;return s&&(l.initial===!1||l.initial===l.animate)&&!e.manuallyAnimateOnMount&&(p=!1),s=!1,p?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 g;return(g=f.animationState)===null||g===void 0?void 0:g.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=dd(),s=!0}}}function US(e,t){return typeof t=="string"?t!==e:Array.isArray(t)?!Op(t,e):!1}function Qn(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function dd(){return{animate:Qn(!0),whileInView:Qn(),whileHover:Qn(),whileTap:Qn(),whileDrag:Qn(),whileFocus:Qn(),exit:Qn()}}class Wn{constructor(t){this.isMounted=!1,this.node=t}update(){}}class $S extends Wn{constructor(t){super(t),t.animationState||(t.animationState=BS(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();Vo(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 zS=0;class WS extends Wn{constructor(){super(...arguments),this.id=zS++}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 HS={animation:{Feature:$S},exit:{Feature:WS}},Rt={x:!1,y:!1};function vm(){return Rt.x||Rt.y}function qS(e){return e==="x"||e==="y"?Rt[e]?null:(Rt[e]=!0,()=>{Rt[e]=!1}):Rt.x||Rt.y?null:(Rt.x=Rt.y=!0,()=>{Rt.x=Rt.y=!1})}const Ml=e=>e.pointerType==="mouse"?typeof e.button!="number"||e.button<=0:e.isPrimary!==!1;function qr(e,t,n,s={passive:!0}){return e.addEventListener(t,n,s),()=>e.removeEventListener(t,n)}function wi(e){return{point:{x:e.pageX,y:e.pageY}}}const ZS=e=>t=>Ml(t)&&e(t,wi(t));function Dr(e,t,n,s){return qr(e,t,ZS(n),s)}const fd=(e,t)=>Math.abs(e-t);function KS(e,t){const n=fd(e.x,t.x),s=fd(e.y,t.y);return Math.sqrt(n**2+s**2)}class xm{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=xa(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,g=KS(d.offset,{x:0,y:0})>=3;if(!f&&!g)return;const{point:m}=d,{timestamp:p}=ze;this.history.push({...m,timestamp:p});const{onStart:y,onMove:v}=this.handlers;f||(y&&y(this.lastMoveEvent,d),this.startEvent=this.lastMoveEvent),v&&v(this.lastMoveEvent,d)},this.handlePointerMove=(d,f)=>{this.lastMoveEvent=d,this.lastMoveEventInfo=va(f,this.transformPagePoint),Te.update(this.updatePoint,!0)},this.handlePointerUp=(d,f)=>{this.end();const{onEnd:g,onSessionEnd:m,resumeAnimation:p}=this.handlers;if(this.dragSnapToOrigin&&p&&p(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const y=xa(d.type==="pointercancel"?this.lastMoveEventInfo:va(f,this.transformPagePoint),this.history);this.startEvent&&g&&g(d,y),m&&m(d,y)},!Ml(t))return;this.dragSnapToOrigin=i,this.handlers=n,this.transformPagePoint=s,this.contextWindow=r||window;const o=wi(t),a=va(o,this.transformPagePoint),{point:c}=a,{timestamp:l}=ze;this.history=[{...c,timestamp:l}];const{onSessionStart:u}=n;u&&u(t,xa(a,this.history)),this.removeListeners=bi(Dr(this.contextWindow,"pointermove",this.handlePointerMove),Dr(this.contextWindow,"pointerup",this.handlePointerUp),Dr(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),Mn(this.updatePoint)}}function va(e,t){return t?{point:t(e.point)}:e}function hd(e,t){return{x:e.x-t.x,y:e.y-t.y}}function xa({point:e},t){return{point:e,delta:hd(e,bm(t)),offset:hd(e,GS(t)),velocity:QS(t,.1)}}function GS(e){return e[0]}function bm(e){return e[e.length-1]}function QS(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,s=null;const r=bm(e);for(;n>=0&&(s=e[n],!(r.timestamp-s.timestamp>pn(t)));)n--;if(!s)return{x:0,y:0};const i=mn(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 wm=1e-4,XS=1-wm,YS=1+wm,Sm=.01,JS=0-Sm,e_=0+Sm;function rt(e){return e.max-e.min}function t_(e,t,n){return Math.abs(e-t)<=n}function pd(e,t,n,s=.5){e.origin=s,e.originPoint=Pe(t.min,t.max,e.origin),e.scale=rt(n)/rt(t),e.translate=Pe(n.min,n.max,e.origin)-e.originPoint,(e.scale>=XS&&e.scale<=YS||isNaN(e.scale))&&(e.scale=1),(e.translate>=JS&&e.translate<=e_||isNaN(e.translate))&&(e.translate=0)}function Mr(e,t,n,s){pd(e.x,t.x,n.x,s?s.originX:void 0),pd(e.y,t.y,n.y,s?s.originY:void 0)}function md(e,t,n){e.min=n.min+t.min,e.max=e.min+rt(t)}function n_(e,t,n){md(e.x,t.x,n.x),md(e.y,t.y,n.y)}function gd(e,t,n){e.min=t.min-n.min,e.max=e.min+rt(t)}function Fr(e,t,n){gd(e.x,t.x,n.x),gd(e.y,t.y,n.y)}function s_(e,{min:t,max:n},s){return t!==void 0&&en&&(e=s?Pe(n,e,s.max):Math.min(e,n)),e}function yd(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 r_(e,{top:t,left:n,bottom:s,right:r}){return{x:yd(e.x,n,r),y:yd(e.y,t,s)}}function vd(e,t){let n=t.min-e.min,s=t.max-e.max;return t.max-t.mins?n=tr(t.min,t.max-s,e.min):s>r&&(n=tr(e.min,e.max-r,t.min)),gn(0,1,n)}function a_(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 rc=.35;function c_(e=rc){return e===!1?e=0:e===!0&&(e=rc),{x:xd(e,"left","right"),y:xd(e,"top","bottom")}}function xd(e,t,n){return{min:bd(e,t),max:bd(e,n)}}function bd(e,t){return typeof e=="number"?e:e[t]||0}const wd=()=>({translate:0,scale:1,origin:0,originPoint:0}),js=()=>({x:wd(),y:wd()}),Sd=()=>({min:0,max:0}),De=()=>({x:Sd(),y:Sd()});function St(e){return[e("x"),e("y")]}function _m({top:e,left:t,right:n,bottom:s}){return{x:{min:t,max:n},y:{min:e,max:s}}}function l_({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function u_(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 ba(e){return e===void 0||e===1}function ic({scale:e,scaleX:t,scaleY:n}){return!ba(e)||!ba(t)||!ba(n)}function Xn(e){return ic(e)||Tm(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Tm(e){return _d(e.x)||_d(e.y)}function _d(e){return e&&e!=="0%"}function lo(e,t,n){const s=e-n,r=t*s;return n+r}function Td(e,t,n,s,r){return r!==void 0&&(e=lo(e,r,s)),lo(e,n,s)+t}function oc(e,t=0,n=1,s,r){e.min=Td(e.min,t,n,s,r),e.max=Td(e.max,t,n,s,r)}function Cm(e,{x:t,y:n}){oc(e.x,t.translate,t.scale,t.originPoint),oc(e.y,n.translate,n.scale,n.originPoint)}const Cd=.999999999999,Ed=1.0000000000001;function d_(e,t,n,s=!1){const r=n.length;if(!r)return;t.x=t.y=1;let i,o;for(let a=0;aCd&&(t.x=1),t.yCd&&(t.y=1)}function Os(e,t){e.min=e.min+t,e.max=e.max+t}function Ad(e,t,n,s,r=.5){const i=Pe(e.min,e.max,r);oc(e,t,n,i,s)}function Ds(e,t){Ad(e.x,t.x,t.scaleX,t.scale,t.originX),Ad(e.y,t.y,t.scaleY,t.scale,t.originY)}function Em(e,t){return _m(u_(e.getBoundingClientRect(),t))}function f_(e,t,n){const s=Em(e,n),{scroll:r}=t;return r&&(Os(s.x,r.offset.x),Os(s.y,r.offset.y)),s}const Am=({current:e})=>e?e.ownerDocument.defaultView:null,h_=new WeakMap;class p_{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=De(),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(wi(u).point)},i=(u,d)=>{const{drag:f,dragPropagation:g,onDragStart:m}=this.getProps();if(f&&!g&&(this.openDragLock&&this.openDragLock(),this.openDragLock=qS(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(y=>{let v=this.getAxisMotionValue(y).get()||0;if(Jt.test(v)){const{projection:b}=this.visualElement;if(b&&b.layout){const w=b.layout.layoutBox[y];w&&(v=rt(w)*(parseFloat(v)/100))}}this.originPoint[y]=v}),m&&Te.postRender(()=>m(u,d)),Ka(this.visualElement,"transform");const{animationState:p}=this.visualElement;p&&p.setActive("whileDrag",!0)},o=(u,d)=>{const{dragPropagation:f,dragDirectionLock:g,onDirectionLock:m,onDrag:p}=this.getProps();if(!f&&!this.openDragLock)return;const{offset:y}=d;if(g&&this.currentDirection===null){this.currentDirection=m_(y),this.currentDirection!==null&&m&&m(this.currentDirection);return}this.updateAxis("x",d.point,y),this.updateAxis("y",d.point,y),this.visualElement.render(),p&&p(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 xm(t,{onSessionStart:r,onStart:i,onMove:o,onSessionEnd:a,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,contextWindow:Am(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&&Te.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||!Ui(t,r,this.currentDirection))return;const i=this.getAxisMotionValue(t);let o=this.originPoint[t]+s[t];this.constraints&&this.constraints[t]&&(o=s_(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&&Ns(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&r?this.constraints=r_(r.layoutBox,n):this.constraints=!1,this.elastic=c_(s),i!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&St(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=a_(r.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:n}=this.getProps();if(!t||!Ns(t))return!1;const s=t.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const i=f_(s,r.root,this.visualElement.getTransformPagePoint());let o=i_(r.layout.layoutBox,i);if(n){const a=n(l_(o));this.hasMutatedConstraints=!!a,a&&(o=_m(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(!Ui(u,n,this.currentDirection))return;let d=c[u]||{};o&&(d={min:0,max:0});const f=r?200:1e6,g=r?40:1e7,m={type:"inertia",velocity:s?t[u]:0,bounceStiffness:f,bounceDamping:g,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 Ka(this.visualElement,t),s.start(Dl(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(!Ui(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]-Pe(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!Ns(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]=o_({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(!Ui(o,t,null))return;const a=this.getAxisMotionValue(o),{min:c,max:l}=this.constraints[o];a.set(Pe(c,l,r[o]))})}addListeners(){if(!this.visualElement.current)return;h_.set(this.visualElement,this);const t=this.visualElement.current,n=Dr(t,"pointerdown",c=>{const{drag:l,dragListener:u=!0}=this.getProps();l&&u&&this.start(c)}),s=()=>{const{dragConstraints:c}=this.getProps();Ns(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()),Te.read(s);const o=qr(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=rc,dragMomentum:a=!0}=t;return{...t,drag:n,dragDirectionLock:s,dragPropagation:r,dragConstraints:i,dragElastic:o,dragMomentum:a}}}function Ui(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function m_(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}class g_ extends Wn{constructor(t){super(t),this.removeGroupControls=gt,this.removeListeners=gt,this.controls=new p_(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 Pd=e=>(t,n)=>{e&&Te.postRender(()=>e(t,n))};class y_ extends Wn{constructor(){super(...arguments),this.removePointerDownListener=gt}onPointerDown(t){this.session=new xm(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Am(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:n,onPan:s,onPanEnd:r}=this.node.getProps();return{onSessionStart:Pd(t),onStart:Pd(n),onMove:s,onEnd:(i,o)=>{delete this.session,r&&Te.postRender(()=>r(i,o))}}}mount(){this.removePointerDownListener=Dr(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 Xi={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Rd(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Sr={correct:(e,t)=>{if(!t.target)return e;if(typeof e=="string")if(ee.test(e))e=parseFloat(e);else return e;const n=Rd(e,t.target.x),s=Rd(e,t.target.y);return`${n}% ${s}%`}},v_={correct:(e,{treeScale:t,projectionDelta:n})=>{const s=e,r=Fn.parse(e);if(r.length>5)return s;const i=Fn.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=Pe(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 x_ extends x.Component{componentDidMount(){const{visualElement:t,layoutGroup:n,switchLayoutGroup:s,layoutId:r}=this.props,{projection:i}=t;qw(b_),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()})),Xi.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()||Te.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),cl.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 Pm(e){const[t,n]=pp(),s=x.useContext(tl);return h.jsx(x_,{...e,layoutGroup:s,switchLayoutGroup:x.useContext(wp),isPresent:t,safeToRemove:n})}const b_={borderRadius:{...Sr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Sr,borderTopRightRadius:Sr,borderBottomLeftRadius:Sr,borderBottomRightRadius:Sr,boxShadow:v_};function w_(e,t,n){const s=Xe(e)?e:Wr(e);return s.start(Dl("",s,t,n)),s.animation}function S_(e){return e instanceof SVGElement&&e.tagName!=="svg"}const __=(e,t)=>e.depth-t.depth;class T_{constructor(){this.children=[],this.isDirty=!1}add(t){bl(this.children,t),this.isDirty=!0}remove(t){wl(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(__),this.isDirty=!1,this.children.forEach(t)}}function C_(e,t){const n=en.now(),s=({timestamp:r})=>{const i=r-n;i>=t&&(Mn(s),e(i-t))};return Te.read(s,!0),()=>Mn(s)}const Rm=["TopLeft","TopRight","BottomLeft","BottomRight"],E_=Rm.length,Nd=e=>typeof e=="string"?parseFloat(e):e,kd=e=>typeof e=="number"||ee.test(e);function A_(e,t,n,s,r,i){r?(e.opacity=Pe(0,n.opacity!==void 0?n.opacity:1,P_(s)),e.opacityExit=Pe(t.opacity!==void 0?t.opacity:1,0,R_(s))):i&&(e.opacity=Pe(t.opacity!==void 0?t.opacity:1,n.opacity!==void 0?n.opacity:1,s));for(let o=0;ost?1:n(tr(e,t,s))}function Od(e,t){e.min=t.min,e.max=t.max}function wt(e,t){Od(e.x,t.x),Od(e.y,t.y)}function Dd(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Md(e,t,n,s,r){return e-=t,e=lo(e,1/n,s),r!==void 0&&(e=lo(e,1/r,s)),e}function N_(e,t=0,n=1,s=.5,r,i=e,o=e){if(Jt.test(t)&&(t=parseFloat(t),t=Pe(o.min,o.max,t/100)-o.min),typeof t!="number")return;let a=Pe(i.min,i.max,s);e===i&&(a-=t),e.min=Md(e.min,t,n,a,r),e.max=Md(e.max,t,n,a,r)}function Fd(e,t,[n,s,r],i,o){N_(e,t[n],t[s],t[r],t.scale,i,o)}const k_=["x","scaleX","originX"],j_=["y","scaleY","originY"];function Ld(e,t,n,s){Fd(e.x,t,k_,n?n.x:void 0,s?s.x:void 0),Fd(e.y,t,j_,n?n.y:void 0,s?s.y:void 0)}function Id(e){return e.translate===0&&e.scale===1}function km(e){return Id(e.x)&&Id(e.y)}function Vd(e,t){return e.min===t.min&&e.max===t.max}function O_(e,t){return Vd(e.x,t.x)&&Vd(e.y,t.y)}function Bd(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function jm(e,t){return Bd(e.x,t.x)&&Bd(e.y,t.y)}function Ud(e){return rt(e.x)/rt(e.y)}function $d(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class D_{constructor(){this.members=[]}add(t){bl(this.members,t),t.scheduleRender()}remove(t){if(wl(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 M_(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:g,skewY:m}=n;l&&(s=`perspective(${l}px) ${s}`),u&&(s+=`rotate(${u}deg) `),d&&(s+=`rotateX(${d}deg) `),f&&(s+=`rotateY(${f}deg) `),g&&(s+=`skewX(${g}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 Yn={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Ar=typeof window<"u"&&window.MotionDebug!==void 0,wa=["","X","Y","Z"],F_={visibility:"hidden"},zd=1e3;let L_=0;function Sa(e,t,n,s){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),s&&(s[e]=0))}function Om(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Fp(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:r,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",Te,!(r||i))}const{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&Om(s)}function Dm({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:s,resetTransform:r}){return class{constructor(o={},a=t==null?void 0:t()){this.id=L_++,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,Ar&&(Yn.totalNodes=Yn.resolvedTargetDeltas=Yn.recalculatedProjection=0),this.nodes.forEach(B_),this.nodes.forEach(H_),this.nodes.forEach(q_),this.nodes.forEach(U_),Ar&&window.MotionDebug.record(Yn)},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=C_(f,250),Xi.hasAnimatedSinceResize&&(Xi.hasAnimatedSinceResize=!1,this.nodes.forEach(Hd))})}c&&this.root.registerSharedNode(c,this),this.options.animate!==!1&&u&&(c||l)&&this.addEventListener("didUpdate",({delta:d,hasLayoutChanged:f,hasRelativeLayoutChanged:g,layout:m})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const p=this.options.transition||u.getDefaultTransition()||X_,{onLayoutAnimationStart:y,onLayoutAnimationComplete:v}=u.getProps(),b=!this.targetLayout||!jm(this.targetLayout,m),w=!f&&g;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={...xl(p,"layout"),onPlay:y,onComplete:v};(u.shouldReduceMotion||this.options.layoutRoot)&&(T.delay=0,T.type=!1),this.startAnimation(T)}else f||Hd(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,Mn(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(Z_),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&&Om(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&&!rt(this.snapshot.measuredBox.x)&&!rt(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;qd(d.x,o.x,S),qd(d.y,o.y,S),this.setTargetDelta(d),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Fr(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),G_(this.relativeTarget,this.relativeTargetOrigin,f,S),w&&O_(this.relativeTarget,w)&&(this.isProjectionDirty=!1),w||(w=De()),wt(w,this.relativeTarget)),p&&(this.animationValues=u,A_(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&&(Mn(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=Te.update(()=>{Xi.hasAnimatedSinceResize=!0,this.currentAnimation=w_(0,zd,{...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(zd),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&&Mm(this.options.animationType,this.layout.layoutBox,l.layoutBox)){c=this.target||De();const d=rt(this.layout.layoutBox.x);c.x.min=o.target.x.min,c.x.max=c.x.min+d;const f=rt(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+f}wt(a,c),Ds(a,u),Mr(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new D_),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&&Sa("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(Wd),this.root.sharedNodes.clear()}}}function I_(e){e.updateLayout()}function V_(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],g=rt(f);f.min=s[d].min,f.max=f.min+g}):Mm(i,n.layoutBox,s)&&St(d=>{const f=o?n.measuredBox[d]:n.layoutBox[d],g=rt(s[d]);f.max=f.min+g,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[d].max=e.relativeTarget[d].min+g)});const a=js();Mr(a,s,n.layoutBox);const c=js();o?Mr(c,e.applyTransform(r,!0),n.measuredBox):Mr(c,s,n.layoutBox);const l=!km(a);let u=!1;if(!e.resumeFrom){const d=e.getClosestProjectingParent();if(d&&!d.resumeFrom){const{snapshot:f,layout:g}=d;if(f&&g){const m=De();Fr(m,n.layoutBox,f.layoutBox);const p=De();Fr(p,s,g.layoutBox),jm(m,p)||(u=!0),d.options.layoutRoot&&(e.relativeTarget=p,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 B_(e){Ar&&Yn.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 U_(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function $_(e){e.clearSnapshot()}function Wd(e){e.clearMeasurements()}function z_(e){e.isLayoutDirty=!1}function W_(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function Hd(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function H_(e){e.resolveTargetDelta()}function q_(e){e.calcProjection()}function Z_(e){e.resetSkewAndRotation()}function K_(e){e.removeLeadSnapshot()}function qd(e,t,n){e.translate=Pe(t.translate,0,n),e.scale=Pe(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function Zd(e,t,n,s){e.min=Pe(t.min,n.min,s),e.max=Pe(t.max,n.max,s)}function G_(e,t,n,s){Zd(e.x,t.x,n.x,s),Zd(e.y,t.y,n.y,s)}function Q_(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}const X_={duration:.45,ease:[.4,0,.1,1]},Kd=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Gd=Kd("applewebkit/")&&!Kd("chrome/")?Math.round:gt;function Qd(e){e.min=Gd(e.min),e.max=Gd(e.max)}function Y_(e){Qd(e.x),Qd(e.y)}function Mm(e,t,n){return e==="position"||e==="preserve-aspect"&&!t_(Ud(t),Ud(n),.2)}function J_(e){var t;return e!==e.root&&((t=e.scroll)===null||t===void 0?void 0:t.wasRoot)}const eT=Dm({attachResizeListener:(e,t)=>qr(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),_a={current:void 0},Fm=Dm({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!_a.current){const e=new eT({});e.mount(window),e.setOptions({layoutScroll:!0}),_a.current=e}return _a.current},resetTransform:(e,t)=>{e.style.transform=t!==void 0?t:"none"},checkIsScrollRoot:e=>window.getComputedStyle(e).position==="fixed"}),tT={pan:{Feature:y_},drag:{Feature:g_,ProjectionNode:Fm,MeasureLayout:Pm}};function nT(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 Lm(e,t){const n=nT(e),s=new AbortController,r={passive:!0,...t,signal:s.signal};return[n,r,()=>s.abort()]}function Xd(e){return!(e.pointerType==="touch"||vm())}function sT(e,t,n={}){const[s,r,i]=Lm(e,n),o=a=>{if(!Xd(a))return;const{target:c}=a,l=t(c,a);if(typeof l!="function"||!c)return;const u=d=>{Xd(d)&&(l(d),c.removeEventListener("pointerleave",u))};c.addEventListener("pointerleave",u,r)};return s.forEach(a=>{a.addEventListener("pointerenter",o,r)}),i}function Yd(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&&Te.postRender(()=>i(t,wi(t)))}class rT extends Wn{mount(){const{current:t}=this.node;t&&(this.unmount=sT(t,(n,s)=>(Yd(this.node,s,"Start"),r=>Yd(this.node,r,"End"))))}unmount(){}}class iT extends Wn{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=bi(qr(this.node.current,"focus",()=>this.onFocus()),qr(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Im=(e,t)=>t?e===t?!0:Im(e,t.parentElement):!1,oT=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function aT(e){return oT.has(e.tagName)||e.tabIndex!==-1}const Pr=new WeakSet;function Jd(e){return t=>{t.key==="Enter"&&e(t)}}function Ta(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}const cT=(e,t)=>{const n=e.currentTarget;if(!n)return;const s=Jd(()=>{if(Pr.has(n))return;Ta(n,"down");const r=Jd(()=>{Ta(n,"up")}),i=()=>Ta(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 ef(e){return Ml(e)&&!vm()}function lT(e,t,n={}){const[s,r,i]=Lm(e,n),o=a=>{const c=a.currentTarget;if(!ef(a)||Pr.has(c))return;Pr.add(c);const l=t(c,a),u=(g,m)=>{window.removeEventListener("pointerup",d),window.removeEventListener("pointercancel",f),!(!ef(g)||!Pr.has(c))&&(Pr.delete(c),typeof l=="function"&&l(g,{success:m}))},d=g=>{u(g,n.useGlobalTarget||Im(c,g.target))},f=g=>{u(g,!1)};window.addEventListener("pointerup",d,r),window.addEventListener("pointercancel",f,r)};return s.forEach(a=>{!aT(a)&&a.getAttribute("tabindex")===null&&(a.tabIndex=0),(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,r),a.addEventListener("focus",l=>cT(l,r),r)}),i}function tf(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&&Te.postRender(()=>i(t,wi(t)))}class uT extends Wn{mount(){const{current:t}=this.node;t&&(this.unmount=lT(t,(n,s)=>(tf(this.node,s,"Start"),(r,{success:i})=>tf(this.node,r,i?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const ac=new WeakMap,Ca=new WeakMap,dT=e=>{const t=ac.get(e.target);t&&t(e)},fT=e=>{e.forEach(dT)};function hT({root:e,...t}){const n=e||document;Ca.has(n)||Ca.set(n,{});const s=Ca.get(n),r=JSON.stringify(t);return s[r]||(s[r]=new IntersectionObserver(fT,{root:e,...t})),s[r]}function pT(e,t,n){const s=hT(t);return ac.set(e,n),s.observe(e),()=>{ac.delete(e),s.unobserve(e)}}const mT={some:0,all:1};class gT extends Wn{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:mT[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 pT(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(yT(t,n))&&this.startObserver()}unmount(){}}function yT({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}const vT={inView:{Feature:gT},tap:{Feature:uT},focus:{Feature:iT},hover:{Feature:rT}},xT={layout:{ProjectionNode:Fm,MeasureLayout:Pm}},cc={current:null},Vm={current:!1};function bT(){if(Vm.current=!0,!!rl)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>cc.current=e.matches;e.addListener(t),t()}else cc.current=!1}const wT=[...om,Ge,Fn],ST=e=>wT.find(im(e)),nf=new WeakMap;function _T(e,t,n){for(const s in t){const r=t[s],i=n[s];if(Xe(r))e.addValue(s,r);else if(Xe(i))e.addValue(s,Wr(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,Wr(o!==void 0?o:r,{owner:e}))}}for(const s in n)t[s]===void 0&&e.removeValue(s);return t}const sf=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class TT{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=kl,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 g=en.now();this.renderScheduledAtthis.bindToMotionValue(s,n)),Vm.current||bT(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:cc.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){nf.delete(this.current),this.projection&&this.projection.unmount(),Mn(this.notifyUpdate),Mn(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=Ts.has(t),r=n.on("change",a=>{this.latestValues[t]=a,this.props.onUpdate&&Te.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 er){const n=er[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):De()}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=Wr(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"&&(sm(r)||Kp(r))?r=parseFloat(r):!ST(r)&&Fn.test(n)&&(r=em(t,n)),this.setBaseTarget(t,Xe(r)?r.get():r)),Xe(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=ul(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&&!Xe(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 Sl),this.events[t].add(n)}notify(t,...n){this.events[t]&&this.events[t].notify(...n)}}class Bm extends TT{constructor(){super(...arguments),this.KeyframeResolver=am}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;Xe(t)&&(this.childSubscription=t.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}function CT(e){return window.getComputedStyle(e)}class ET extends Bm{constructor(){super(...arguments),this.type="html",this.renderInstance=Ap}readValueFromInstance(t,n){if(Ts.has(n)){const s=Nl(n);return s&&s.default||0}else{const s=CT(t),r=(dl(n)?s.getPropertyValue(n):s[n])||0;return typeof r=="string"?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:n}){return Em(t,n)}build(t,n,s){pl(t,n,s.transformTemplate)}scrapeMotionValuesFromProps(t,n,s){return vl(t,n,s)}}class AT extends Bm{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=De}getBaseTargetFromProps(t,n){return t[n]}readValueFromInstance(t,n){if(Ts.has(n)){const s=Nl(n);return s&&s.default||0}return n=Pp.has(n)?n:al(n),t.getAttribute(n)}scrapeMotionValuesFromProps(t,n,s){return kp(t,n,s)}build(t,n,s){ml(t,n,this.isSVGTag,s.transformTemplate)}renderInstance(t,n,s,r){Rp(t,n,s,r)}mount(t){this.isSVGTag=yl(t.tagName),super.mount(t)}}const PT=(e,t)=>ll(e)?new AT(t):new ET(t,{allowProjection:e!==x.Fragment}),RT=t0({...HS,...vT,...tT,...xT},PT),Lr=gw(RT);var Ea,rf;function NT(){if(rf)return Ea;rf=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 ji=="object"&&ji&&ji.Object===Object&&ji,l=typeof self=="object"&&self&&self.Object===Object&&self,u=c||l||Function("return this")(),d=Object.prototype,f=d.toString,g=Math.max,m=Math.min,p=function(){return u.Date.now()};function y(S,A,P){var E,j,D,L,O,$,I=0,J=!1,X=!1,q=!0;if(typeof S!="function")throw new TypeError(e);A=T(A)||0,v(P)&&(J=!!P.leading,X="maxWait"in P,D=X?g(T(P.maxWait)||0,A):D,q="trailing"in P?!!P.trailing:q);function Z(ue){var ye=E,je=j;return E=j=void 0,I=ue,L=S.apply(je,ye),L}function re(ue){return I=ue,O=setTimeout(Be,A),J?Z(ue):L}function de(ue){var ye=ue-$,je=ue-I,Le=A-ye;return X?m(Le,D-je):Le}function ge(ue){var ye=ue-$,je=ue-I;return $===void 0||ye>=A||ye<0||X&&je>=D}function Be(){var ue=p();if(ge(ue))return qe(ue);O=setTimeout(Be,de(ue))}function qe(ue){return O=void 0,q&&E?Z(ue):(E=j=void 0,L)}function Ze(){O!==void 0&&clearTimeout(O),I=0,E=$=j=O=void 0}function Pt(){return O===void 0?L:qe(p())}function et(){var ue=p(),ye=ge(ue);if(E=arguments,j=this,$=ue,ye){if(O===void 0)return re($);if(X)return O=setTimeout(Be,A),Z($)}return O===void 0&&(O=setTimeout(Be,A)),L}return et.cancel=Ze,et.flush=Pt,et}function v(S){var A=typeof S;return!!S&&(A=="object"||A=="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 A=typeof S.valueOf=="function"?S.valueOf():S;S=v(A)?A+"":A}if(typeof S!="string")return S===0?S:+S;S=S.replace(s,"");var P=i.test(S);return P||o.test(S)?a(S.slice(2),P?2:8):r.test(S)?t:+S}return Ea=y,Ea}NT();var Um=typeof window<"u"?x.useLayoutEffect:x.useEffect,kT=typeof window>"u";function uo(e,{defaultValue:t=!1,initializeWithValue:n=!0}={}){const s=a=>kT?t:window.matchMedia(a).matches,[r,i]=x.useState(()=>n?s(e):t);function o(){i(s(e))}return Um(()=>{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}var jT=typeof window>"u";function OT(e={}){const{autoLock:t=!0,lockTarget:n,widthReflow:s=!0}=e,[r,i]=x.useState(!1),o=x.useRef(null),a=x.useRef(null),c=()=>{if(o.current){const{overflow:u,paddingRight:d}=o.current.style;if(a.current={overflow:u,paddingRight:d},s){const f=o.current===document.body?window.innerWidth:o.current.offsetWidth,g=parseInt(window.getComputedStyle(o.current).paddingRight,10)||0,m=f-o.current.scrollWidth;o.current.style.paddingRight=`${m+g}px`}o.current.style.overflow="hidden",i(!0)}},l=()=>{o.current&&a.current&&(o.current.style.overflow=a.current.overflow,s&&(o.current.style.paddingRight=a.current.paddingRight)),i(!1)};return Um(()=>{if(!jT)return n&&(o.current=typeof n=="string"?document.querySelector(n):n),o.current||(o.current=document.body),t&&c(),()=>{l()}},[t,n,s]),{isLocked:r,lock:c,unlock:l}}const yN=({className:e,stage:t})=>{const n=uo("(min-width: 768px");return h.jsx("div",{className:e,children:h.jsx("div",{className:"max-w-[808px] md:mx-auto my-20 mx-5",children:h.jsxs("div",{className:"relative h-14 w-full",children:[h.jsx("div",{className:W("h-2 absolute bg-[#D0D3D8] rounded-[2px] w-full top-0 left-0")}),h.jsx(Lr.div,{initial:{width:0},animate:t===2?{width:"20%"}:t===3&&{width:"75%"},transition:{delay:.5,duration:.5},className:W("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})}),h.jsx(Lr.div,{initial:{width:n?"50%":"35%"},animate:t===2?{width:"75%"}:t===3&&{width:"100%"},className:W("bg-reverse_primary w-1/2 absolute top-0 left-0 rounded-[2px] z-[3] h-2")}),h.jsx(Lr.div,{className:W("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"}),h.jsx("div",{className:W("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"}),h.jsx("div",{className:W("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 Si=e=>e.type==="checkbox",es=e=>e instanceof Date,st=e=>e==null;const $m=e=>typeof e=="object";var Fe=e=>!st(e)&&!Array.isArray(e)&&$m(e)&&!es(e),zm=e=>Fe(e)&&e.target?Si(e.target)?e.target.checked:e.target.value:e,DT=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,Wm=(e,t)=>e.has(DT(t)),MT=e=>{const t=e.constructor&&e.constructor.prototype;return Fe(t)&&t.hasOwnProperty("isPrototypeOf")},Fl=typeof window<"u"&&typeof window.HTMLElement<"u"&&typeof document<"u";function ct(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(!(Fl&&(e instanceof Blob||s))&&(n||Fe(e)))if(t=n?[]:{},!n&&!MT(e))t=e;else for(const r in e)e.hasOwnProperty(r)&&(t[r]=ct(e[r]));else return e;return t}var zo=e=>Array.isArray(e)?e.filter(Boolean):[],Me=e=>e===void 0,B=(e,t,n)=>{if(!t||!Fe(e))return n;const s=zo(t.split(/[,[\].]+?/)).reduce((r,i)=>st(r)?r:r[i],e);return Me(s)||s===e?Me(e[t])?n:e[t]:s},Ct=e=>typeof e=="boolean",Ll=e=>/^\w*$/.test(e),Hm=e=>zo(e.replace(/["|']|\]/g,"").split(/\.|\[/)),xe=(e,t,n)=>{let s=-1;const r=Ll(t)?[t]:Hm(t),i=r.length,o=i-1;for(;++sve.useContext(qm),FT=e=>{const{children:t,...n}=e;return ve.createElement(qm.Provider,{value:n},t)};var Zm=(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},ut=e=>Fe(e)&&!Object.keys(e).length,Km=(e,t,n,s)=>{n(e);const{name:r,...i}=e;return ut(i)||Object.keys(i).length>=Object.keys(t).length||Object.keys(i).find(o=>t[o]===(!s||Ot.all))},Ir=e=>Array.isArray(e)?e:[e],Gm=(e,t,n)=>!e||!t||e===t||Ir(e).some(s=>s&&(n?s===t:s.startsWith(t)||t.startsWith(s)));function Il(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 LT(e){const t=Wo(),{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,Il({disabled:s,next:d=>c.current&&Gm(u.current,d.name,i)&&Km(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(()=>Zm(o,n,l.current,!1),[o,n])}var Yt=e=>typeof e=="string",Qm=(e,t,n,s,r)=>Yt(e)?(s&&t.watch.add(e),B(n,e,r)):Array.isArray(e)?e.map(i=>(s&&t.watch.add(i),B(n,i))):(s&&(t.watchAll=!0),n);function IT(e){const t=Wo(),{control:n=t.control,name:s,defaultValue:r,disabled:i,exact:o}=e,a=ve.useRef(s);a.current=s,Il({disabled:i,subject:n._subjects.values,next:u=>{Gm(a.current,u.name,o)&&l(ct(Qm(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 VT(e){const t=Wo(),{name:n,disabled:s,control:r=t.control,shouldUnregister:i}=e,o=Wm(r._names.array,n),a=IT({control:r,name:n,defaultValue:B(r._formValues,n,B(r._defaultValues,n,e.defaultValue)),exact:!0}),c=LT({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:()=>!!B(c.errors,n)},isDirty:{enumerable:!0,get:()=>!!B(c.dirtyFields,n)},isTouched:{enumerable:!0,get:()=>!!B(c.touchedFields,n)},isValidating:{enumerable:!0,get:()=>!!B(c.validatingFields,n)},error:{enumerable:!0,get:()=>B(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:zm(f),name:n},type:fo.CHANGE}),onBlur:()=>l.current.onBlur({target:{value:B(r._formValues,n),name:n},type:fo.BLUR}),ref:f=>{const g=B(r._fields,n);g&&f&&(g._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,g=(m,p)=>{const y=B(r._fields,m);y&&y._f&&(y._f.mount=p)};if(g(n,!0),f){const m=ct(B(r._options.defaultValues,n));xe(r._defaultValues,n,m),Me(B(r._formValues,n))&&xe(r._formValues,n,m)}return!o&&r.register(n),()=>{(o?f&&!r._state.action:f)?r.unregister(n):g(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 BT=e=>e.render(VT(e));var Xm=(e,t,n,s,r)=>t?{...n[e],types:{...n[e]&&n[e].types?n[e].types:{},[s]:r||!0}}:{},of=e=>({isOnSubmit:!e||e===Ot.onSubmit,isOnBlur:e===Ot.onBlur,isOnChange:e===Ot.onChange,isOnAll:e===Ot.all,isOnTouch:e===Ot.onTouched}),af=(e,t,n)=>!n&&(t.watchAll||t.watch.has(e)||[...t.watch].some(s=>e.startsWith(s)&&/^\.\w+/.test(e.slice(s.length))));const Vr=(e,t,n,s)=>{for(const r of n||Object.keys(e)){const i=B(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(Vr(a,t))break}else if(Fe(a)&&Vr(a,t))break}}};var UT=(e,t,n)=>{const s=Ir(B(e,n));return xe(s,"root",t[n]),xe(e,n,s),e},Vl=e=>e.type==="file",Xt=e=>typeof e=="function",ho=e=>{if(!Fl)return!1;const t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},Yi=e=>Yt(e),Bl=e=>e.type==="radio",po=e=>e instanceof RegExp;const cf={value:!1,isValid:!1},lf={value:!0,isValid:!0};var Ym=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&&!Me(e[0].attributes.value)?Me(e[0].value)||e[0].value===""?lf:{value:e[0].value,isValid:!0}:lf:cf}return cf};const uf={isValid:!1,value:null};var Jm=e=>Array.isArray(e)?e.reduce((t,n)=>n&&n.checked&&!n.disabled?{isValid:!0,value:n.value}:t,uf):uf;function df(e,t,n="validate"){if(Yi(e)||Array.isArray(e)&&e.every(Yi)||Ct(e)&&!e)return{type:n,message:Yi(e)?e:"",ref:t}}var Ps=e=>Fe(e)&&!po(e)?e:{value:e,message:""},ff=async(e,t,n,s,r,i)=>{const{ref:o,refs:a,required:c,maxLength:l,minLength:u,min:d,max:f,pattern:g,validate:m,name:p,valueAsNumber:y,mount:v}=e._f,b=B(n,p);if(!v||t.has(p))return{};const w=a?a[0]:o,T=O=>{r&&w.reportValidity&&(w.setCustomValidity(Ct(O)?"":O||""),w.reportValidity())},S={},A=Bl(o),P=Si(o),E=A||P,j=(y||Vl(o))&&Me(o.value)&&Me(b)||ho(o)&&o.value===""||b===""||Array.isArray(b)&&!b.length,D=Xm.bind(null,p,s,S),L=(O,$,I,J=ln.maxLength,X=ln.minLength)=>{const q=O?$:I;S[p]={type:O?J:X,message:q,ref:o,...D(O?J:X,q)}};if(i?!Array.isArray(b)||!b.length:c&&(!E&&(j||st(b))||Ct(b)&&!b||P&&!Ym(a).isValid||A&&!Jm(a).isValid)){const{value:O,message:$}=Yi(c)?{value:!!c,message:c}:Ps(c);if(O&&(S[p]={type:ln.required,message:$,ref:w,...D(ln.required,$)},!s))return T($),S}if(!j&&(!st(d)||!st(f))){let O,$;const I=Ps(f),J=Ps(d);if(!st(b)&&!isNaN(b)){const X=o.valueAsNumber||b&&+b;st(I.value)||(O=X>I.value),st(J.value)||($=Xnew Date(new Date().toDateString()+" "+de),Z=o.type=="time",re=o.type=="week";Yt(I.value)&&b&&(O=Z?q(b)>q(I.value):re?b>I.value:X>new Date(I.value)),Yt(J.value)&&b&&($=Z?q(b)+O.value,J=!st($.value)&&b.length<+$.value;if((I||J)&&(L(I,O.message,$.message),!s))return T(S[p].message),S}if(g&&!j&&Yt(b)){const{value:O,message:$}=Ps(g);if(po(O)&&!b.match(O)&&(S[p]={type:ln.pattern,message:$,ref:o,...D(ln.pattern,$)},!s))return T($),S}if(m){if(Xt(m)){const O=await m(b,n),$=df(O,w);if($&&(S[p]={...$,...D(ln.validate,$.message)},!s))return T($.message),S}else if(Fe(m)){let O={};for(const $ in m){if(!ut(O)&&!s)break;const I=df(await m[$](b,n),w,$);I&&(O={...I,...D($,I.message)},T(I.message),s&&(S[p]=O))}if(!ut(O)&&(S[p]={ref:w,...O},!s))return S}}return T(!0),S};function $T(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=[]}}},lc=e=>st(e)||!$m(e);function En(e,t){if(lc(e)||lc(t))return e===t;if(es(e)&&es(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(es(i)&&es(o)||Fe(i)&&Fe(o)||Array.isArray(i)&&Array.isArray(o)?!En(i,o):i!==o)return!1}}return!0}var eg=e=>e.type==="select-multiple",WT=e=>Bl(e)||Si(e),Pa=e=>ho(e)&&e.isConnected,tg=e=>{for(const t in e)if(Xt(e[t]))return!0;return!1};function mo(e,t={}){const n=Array.isArray(e);if(Fe(e)||n)for(const s in e)Array.isArray(e[s])||Fe(e[s])&&!tg(e[s])?(t[s]=Array.isArray(e[s])?[]:{},mo(e[s],t[s])):st(e[s])||(t[s]=!0);return t}function ng(e,t,n){const s=Array.isArray(e);if(Fe(e)||s)for(const r in e)Array.isArray(e[r])||Fe(e[r])&&!tg(e[r])?Me(t)||lc(n[r])?n[r]=Array.isArray(e[r])?mo(e[r],[]):{...mo(e[r])}:ng(e[r],st(t)?{}:t[r],n[r]):n[r]=!En(e[r],t[r]);return n}var _r=(e,t)=>ng(e,t,mo(t)),sg=(e,{valueAsNumber:t,valueAsDate:n,setValueAs:s})=>Me(e)?e:t?e===""?NaN:e&&+e:n&&Yt(e)?new Date(e):s?s(e):e;function Ra(e){const t=e.ref;return Vl(t)?t.files:Bl(t)?Jm(e.refs).value:eg(t)?[...t.selectedOptions].map(({value:n})=>n):Si(t)?Ym(e.refs).value:sg(Me(t.value)?e.ref.value:t.value,e)}var HT=(e,t,n,s)=>{const r={};for(const i of e){const o=B(t,i);o&&xe(r,i,o._f)}return{criteriaMode:n,names:[...e],fields:r,shouldUseNativeValidation:s}},Tr=e=>Me(e)?e:po(e)?e.source:Fe(e)?po(e.value)?e.value.source:e.value:e;const hf="AsyncFunction";var qT=e=>!!e&&!!e.validate&&!!(Xt(e.validate)&&e.validate.constructor.name===hf||Fe(e.validate)&&Object.values(e.validate).find(t=>t.constructor.name===hf)),ZT=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function pf(e,t,n){const s=B(e,n);if(s||Ll(n))return{error:s,name:n};const r=n.split(".");for(;r.length;){const i=r.join("."),o=B(t,i),a=B(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 KT=(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,GT=(e,t)=>!zo(B(e,t)).length&&Ue(e,t);const QT={mode:Ot.onSubmit,reValidateMode:Ot.onChange,shouldFocusError:!0};function XT(e={}){let t={...QT,...e},n={submitCount:0,isDirty:!1,isLoading:Xt(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)?ct(t.defaultValues||t.values)||{}:{},i=t.shouldUnregister?{}:ct(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:Aa(),array:Aa(),state:Aa()},f=of(t.mode),g=of(t.reValidateMode),m=t.criteriaMode===Ot.all,p=_=>R=>{clearTimeout(l),l=setTimeout(_,R)},y=async _=>{if(!t.disabled&&(u.isValid||_)){const R=t.resolver?ut((await E()).errors):await D(s,!0);R!==n.isValid&&d.state.next({isValid:R})}},v=(_,R)=>{!t.disabled&&(u.isValidating||u.validatingFields)&&((_||Array.from(a.mount)).forEach(k=>{k&&(R?xe(n.validatingFields,k,R):Ue(n.validatingFields,k))}),d.state.next({validatingFields:n.validatingFields,isValidating:!ut(n.validatingFields)}))},b=(_,R=[],k,U,V=!0,F=!0)=>{if(U&&k&&!t.disabled){if(o.action=!0,F&&Array.isArray(B(s,_))){const Y=k(B(s,_),U.argA,U.argB);V&&xe(s,_,Y)}if(F&&Array.isArray(B(n.errors,_))){const Y=k(B(n.errors,_),U.argA,U.argB);V&&xe(n.errors,_,Y),GT(n.errors,_)}if(u.touchedFields&&F&&Array.isArray(B(n.touchedFields,_))){const Y=k(B(n.touchedFields,_),U.argA,U.argB);V&&xe(n.touchedFields,_,Y)}u.dirtyFields&&(n.dirtyFields=_r(r,i)),d.state.next({name:_,isDirty:O(_,R),dirtyFields:n.dirtyFields,errors:n.errors,isValid:n.isValid})}else xe(i,_,R)},w=(_,R)=>{xe(n.errors,_,R),d.state.next({errors:n.errors})},T=_=>{n.errors=_,d.state.next({errors:n.errors,isValid:!1})},S=(_,R,k,U)=>{const V=B(s,_);if(V){const F=B(i,_,Me(k)?B(r,_):k);Me(F)||U&&U.defaultChecked||R?xe(i,_,R?F:Ra(V._f)):J(_,F),o.mount&&y()}},A=(_,R,k,U,V)=>{let F=!1,Y=!1;const ae={name:_};if(!t.disabled){const Ie=!!(B(s,_)&&B(s,_)._f&&B(s,_)._f.disabled);if(!k||U){u.isDirty&&(Y=n.isDirty,n.isDirty=ae.isDirty=O(),F=Y!==ae.isDirty);const Oe=Ie||En(B(r,_),R);Y=!!(!Ie&&B(n.dirtyFields,_)),Oe||Ie?Ue(n.dirtyFields,_):xe(n.dirtyFields,_,!0),ae.dirtyFields=n.dirtyFields,F=F||u.dirtyFields&&Y!==!Oe}if(k){const Oe=B(n.touchedFields,_);Oe||(xe(n.touchedFields,_,k),ae.touchedFields=n.touchedFields,F=F||u.touchedFields&&Oe!==k)}F&&V&&d.state.next(ae)}return F?ae:{}},P=(_,R,k,U)=>{const V=B(n.errors,_),F=u.isValid&&Ct(R)&&n.isValid!==R;if(t.delayError&&k?(c=p(()=>w(_,k)),c(t.delayError)):(clearTimeout(l),c=null,k?xe(n.errors,_,k):Ue(n.errors,_)),(k?!En(V,k):V)||!ut(U)||F){const Y={...U,...F&&Ct(R)?{isValid:R}:{},errors:n.errors,name:_};n={...n,...Y},d.state.next(Y)}},E=async _=>{v(_,!0);const R=await t.resolver(i,t.context,HT(_||a.mount,s,t.criteriaMode,t.shouldUseNativeValidation));return v(_),R},j=async _=>{const{errors:R}=await E(_);if(_)for(const k of _){const U=B(R,k);U?xe(n.errors,k,U):Ue(n.errors,k)}else n.errors=R;return R},D=async(_,R,k={valid:!0})=>{for(const U in _){const V=_[U];if(V){const{_f:F,...Y}=V;if(F){const ae=a.array.has(F.name),Ie=V._f&&qT(V._f);Ie&&u.validatingFields&&v([U],!0);const Oe=await ff(V,a.disabled,i,m,t.shouldUseNativeValidation&&!R,ae);if(Ie&&u.validatingFields&&v([U]),Oe[F.name]&&(k.valid=!1,R))break;!R&&(B(Oe,F.name)?ae?UT(n.errors,Oe,F.name):xe(n.errors,F.name,Oe[F.name]):Ue(n.errors,F.name))}!ut(Y)&&await D(Y,R,k)}}return k.valid},L=()=>{for(const _ of a.unMount){const R=B(s,_);R&&(R._f.refs?R._f.refs.every(k=>!Pa(k)):!Pa(R._f.ref))&&et(_)}a.unMount=new Set},O=(_,R)=>!t.disabled&&(_&&R&&xe(i,_,R),!En(ge(),r)),$=(_,R,k)=>Qm(_,a,{...o.mount?i:Me(R)?r:Yt(_)?{[_]:R}:R},k,R),I=_=>zo(B(o.mount?i:r,_,t.shouldUnregister?B(r,_,[]):[])),J=(_,R,k={})=>{const U=B(s,_);let V=R;if(U){const F=U._f;F&&(!F.disabled&&xe(i,_,sg(R,F)),V=ho(F.ref)&&st(R)?"":R,eg(F.ref)?[...F.ref.options].forEach(Y=>Y.selected=V.includes(Y.value)):F.refs?Si(F.ref)?F.refs.length>1?F.refs.forEach(Y=>(!Y.defaultChecked||!Y.disabled)&&(Y.checked=Array.isArray(V)?!!V.find(ae=>ae===Y.value):V===Y.value)):F.refs[0]&&(F.refs[0].checked=!!V):F.refs.forEach(Y=>Y.checked=Y.value===V):Vl(F.ref)?F.ref.value="":(F.ref.value=V,F.ref.type||d.values.next({name:_,values:{...i}})))}(k.shouldDirty||k.shouldTouch)&&A(_,V,k.shouldTouch,k.shouldDirty,!0),k.shouldValidate&&de(_)},X=(_,R,k)=>{for(const U in R){const V=R[U],F=`${_}.${U}`,Y=B(s,F);(a.array.has(_)||Fe(V)||Y&&!Y._f)&&!es(V)?X(F,V,k):J(F,V,k)}},q=(_,R,k={})=>{const U=B(s,_),V=a.array.has(_),F=ct(R);xe(i,_,F),V?(d.array.next({name:_,values:{...i}}),(u.isDirty||u.dirtyFields)&&k.shouldDirty&&d.state.next({name:_,dirtyFields:_r(r,i),isDirty:O(_,F)})):U&&!U._f&&!st(F)?X(_,F,k):J(_,F,k),af(_,a)&&d.state.next({...n}),d.values.next({name:o.mount?_:void 0,values:{...i}})},Z=async _=>{o.mount=!0;const R=_.target;let k=R.name,U=!0;const V=B(s,k),F=()=>R.type?Ra(V._f):zm(_),Y=ae=>{U=Number.isNaN(ae)||es(ae)&&isNaN(ae.getTime())||En(ae,B(i,k,ae))};if(V){let ae,Ie;const Oe=F(),zt=_.type===fo.BLUR||_.type===fo.FOCUS_OUT,yr=!ZT(V._f)&&!t.resolver&&!B(n.errors,k)&&!V._f.deps||KT(zt,B(n.touchedFields,k),n.isSubmitted,g,f),Wt=af(k,a,zt);xe(i,k,Oe),zt?(V._f.onBlur&&V._f.onBlur(_),c&&c(0)):V._f.onChange&&V._f.onChange(_);const Kn=A(k,Oe,zt,!1),vr=!ut(Kn)||Wt;if(!zt&&d.values.next({name:k,type:_.type,values:{...i}}),yr)return u.isValid&&(t.mode==="onBlur"&&zt?y():zt||y()),vr&&d.state.next({name:k,...Wt?{}:Kn});if(!zt&&Wt&&d.state.next({...n}),t.resolver){const{errors:Gn}=await E([k]);if(Y(Oe),U){const sa=pf(n.errors,s,k),Ni=pf(Gn,s,sa.name||k);ae=Ni.error,k=Ni.name,Ie=ut(Gn)}}else v([k],!0),ae=(await ff(V,a.disabled,i,m,t.shouldUseNativeValidation))[k],v([k]),Y(Oe),U&&(ae?Ie=!1:u.isValid&&(Ie=await D(s,!0)));U&&(V._f.deps&&de(V._f.deps),P(k,Ie,ae,Kn))}},re=(_,R)=>{if(B(n.errors,R)&&_.focus)return _.focus(),1},de=async(_,R={})=>{let k,U;const V=Ir(_);if(t.resolver){const F=await j(Me(_)?_:V);k=ut(F),U=_?!V.some(Y=>B(F,Y)):k}else _?(U=(await Promise.all(V.map(async F=>{const Y=B(s,F);return await D(Y&&Y._f?{[F]:Y}:Y)}))).every(Boolean),!(!U&&!n.isValid)&&y()):U=k=await D(s);return d.state.next({...!Yt(_)||u.isValid&&k!==n.isValid?{}:{name:_},...t.resolver||!_?{isValid:k}:{},errors:n.errors}),R.shouldFocus&&!U&&Vr(s,re,_?V:a.mount),U},ge=_=>{const R={...o.mount?i:r};return Me(_)?R:Yt(_)?B(R,_):_.map(k=>B(R,k))},Be=(_,R)=>({invalid:!!B((R||n).errors,_),isDirty:!!B((R||n).dirtyFields,_),error:B((R||n).errors,_),isValidating:!!B(n.validatingFields,_),isTouched:!!B((R||n).touchedFields,_)}),qe=_=>{_&&Ir(_).forEach(R=>Ue(n.errors,R)),d.state.next({errors:_?n.errors:{}})},Ze=(_,R,k)=>{const U=(B(s,_,{_f:{}})._f||{}).ref,V=B(n.errors,_)||{},{ref:F,message:Y,type:ae,...Ie}=V;xe(n.errors,_,{...Ie,...R,ref:U}),d.state.next({name:_,errors:n.errors,isValid:!1}),k&&k.shouldFocus&&U&&U.focus&&U.focus()},Pt=(_,R)=>Xt(_)?d.values.subscribe({next:k=>_($(void 0,R),k)}):$(_,R,!0),et=(_,R={})=>{for(const k of _?Ir(_):a.mount)a.mount.delete(k),a.array.delete(k),R.keepValue||(Ue(s,k),Ue(i,k)),!R.keepError&&Ue(n.errors,k),!R.keepDirty&&Ue(n.dirtyFields,k),!R.keepTouched&&Ue(n.touchedFields,k),!R.keepIsValidating&&Ue(n.validatingFields,k),!t.shouldUnregister&&!R.keepDefaultValue&&Ue(r,k);d.values.next({values:{...i}}),d.state.next({...n,...R.keepDirty?{isDirty:O()}:{}}),!R.keepIsValid&&y()},ue=({disabled:_,name:R,field:k,fields:U})=>{(Ct(_)&&o.mount||_||a.disabled.has(R))&&(_?a.disabled.add(R):a.disabled.delete(R),A(R,Ra(k?k._f:B(U,R)._f),!1,!1,!0))},ye=(_,R={})=>{let k=B(s,_);const U=Ct(R.disabled)||Ct(t.disabled);return xe(s,_,{...k||{},_f:{...k&&k._f?k._f:{ref:{name:_}},name:_,mount:!0,...R}}),a.mount.add(_),k?ue({field:k,disabled:Ct(R.disabled)?R.disabled:t.disabled,name:_}):S(_,!0,R.value),{...U?{disabled:R.disabled||t.disabled}:{},...t.progressive?{required:!!R.required,min:Tr(R.min),max:Tr(R.max),minLength:Tr(R.minLength),maxLength:Tr(R.maxLength),pattern:Tr(R.pattern)}:{},name:_,onChange:Z,onBlur:Z,ref:V=>{if(V){ye(_,R),k=B(s,_);const F=Me(V.value)&&V.querySelectorAll&&V.querySelectorAll("input,select,textarea")[0]||V,Y=WT(F),ae=k._f.refs||[];if(Y?ae.find(Ie=>Ie===F):F===k._f.ref)return;xe(s,_,{_f:{...k._f,...Y?{refs:[...ae.filter(Pa),F,...Array.isArray(B(r,_))?[{}]:[]],ref:{type:F.type,name:_}}:{ref:F}}}),S(_,!1,void 0,F)}else k=B(s,_,{}),k._f&&(k._f.mount=!1),(t.shouldUnregister||R.shouldUnregister)&&!(Wm(a.array,_)&&o.action)&&a.unMount.add(_)}}},je=()=>t.shouldFocusError&&Vr(s,re,a.mount),Le=_=>{Ct(_)&&(d.state.next({disabled:_}),Vr(s,(R,k)=>{const U=B(s,k);U&&(R.disabled=U._f.disabled||_,Array.isArray(U._f.refs)&&U._f.refs.forEach(V=>{V.disabled=U._f.disabled||_}))},0,!1))},we=(_,R)=>async k=>{let U;k&&(k.preventDefault&&k.preventDefault(),k.persist&&k.persist());let V=ct(i);if(a.disabled.size)for(const F of a.disabled)xe(V,F,void 0);if(d.state.next({isSubmitting:!0}),t.resolver){const{errors:F,values:Y}=await E();n.errors=F,V=Y}else await D(s);if(Ue(n.errors,"root"),ut(n.errors)){d.state.next({errors:{}});try{await _(V,k)}catch(F){U=F}}else R&&await R({...n.errors},k),je(),setTimeout(je);if(d.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:ut(n.errors)&&!U,submitCount:n.submitCount+1,errors:n.errors}),U)throw U},G=(_,R={})=>{B(s,_)&&(Me(R.defaultValue)?q(_,ct(B(r,_))):(q(_,R.defaultValue),xe(r,_,ct(R.defaultValue))),R.keepTouched||Ue(n.touchedFields,_),R.keepDirty||(Ue(n.dirtyFields,_),n.isDirty=R.defaultValue?O(_,ct(B(r,_))):O()),R.keepError||(Ue(n.errors,_),u.isValid&&y()),d.state.next({...n}))},fe=(_,R={})=>{const k=_?ct(_):r,U=ct(k),V=ut(_),F=V?r:U;if(R.keepDefaultValues||(r=k),!R.keepValues){if(R.keepDirtyValues){const Y=new Set([...a.mount,...Object.keys(_r(r,i))]);for(const ae of Array.from(Y))B(n.dirtyFields,ae)?xe(F,ae,B(i,ae)):q(ae,B(F,ae))}else{if(Fl&&Me(_))for(const Y of a.mount){const ae=B(s,Y);if(ae&&ae._f){const Ie=Array.isArray(ae._f.refs)?ae._f.refs[0]:ae._f.ref;if(ho(Ie)){const Oe=Ie.closest("form");if(Oe){Oe.reset();break}}}}s={}}i=t.shouldUnregister?R.keepDefaultValues?ct(r):{}:ct(F),d.array.next({values:{...F}}),d.values.next({values:{...F}})}a={mount:R.keepDirtyValues?a.mount:new Set,unMount:new Set,array:new Set,disabled:new Set,watch:new Set,watchAll:!1,focus:""},o.mount=!u.isValid||!!R.keepIsValid||!!R.keepDirtyValues,o.watch=!!t.shouldUnregister,d.state.next({submitCount:R.keepSubmitCount?n.submitCount:0,isDirty:V?!1:R.keepDirty?n.isDirty:!!(R.keepDefaultValues&&!En(_,r)),isSubmitted:R.keepIsSubmitted?n.isSubmitted:!1,dirtyFields:V?{}:R.keepDirtyValues?R.keepDefaultValues&&i?_r(r,i):n.dirtyFields:R.keepDefaultValues&&_?_r(r,_):R.keepDirty?n.dirtyFields:{},touchedFields:R.keepTouched?n.touchedFields:{},errors:R.keepErrors?n.errors:{},isSubmitSuccessful:R.keepIsSubmitSuccessful?n.isSubmitSuccessful:!1,isSubmitting:!1})},Se=(_,R)=>fe(Xt(_)?_(i):_,R);return{control:{register:ye,unregister:et,getFieldState:Be,handleSubmit:we,setError:Ze,_executeSchema:E,_getWatch:$,_getDirty:O,_updateValid:y,_removeUnmounted:L,_updateFieldArray:b,_updateDisabledField:ue,_getFieldArray:I,_reset:fe,_resetDefaultValues:()=>Xt(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:de,register:ye,handleSubmit:we,watch:Pt,setValue:q,getValues:ge,reset:Se,resetField:G,clearErrors:qe,unregister:et,setError:Ze,setFocus:(_,R={})=>{const k=B(s,_),U=k&&k._f;if(U){const V=U.refs?U.refs[0]:U.ref;V.focus&&(V.focus(),R.shouldSelect&&Xt(V.select)&&V.select())}},getFieldState:Be}}function YT(e={}){const t=ve.useRef(void 0),n=ve.useRef(void 0),[s,r]=ve.useState({isDirty:!1,isValidating:!1,isLoading:Xt(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:Xt(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...XT(e),formState:s});const i=t.current.control;return i._options=e,Il({subject:i._subjects.state,next:o=>{Km(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&&!En(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=Zm(s,i),t.current}var JT="Label",rg=x.forwardRef((e,t)=>h.jsx(at.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())}}));rg.displayName=JT;var ig=rg;const eC=Yc("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),og=x.forwardRef(({className:e,...t},n)=>h.jsx(ig,{ref:n,className:W(eC(),e),...t}));og.displayName=ig.displayName;const vN=FT,ag=x.createContext({}),tC=({...e})=>h.jsx(ag.Provider,{value:{name:e.name},children:h.jsx(BT,{...e})}),Ho=()=>{const e=x.useContext(ag),t=x.useContext(cg),{getFieldState:n,formState:s}=Wo(),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}},cg=x.createContext({}),lg=x.forwardRef(({className:e,...t},n)=>{const s=x.useId();return h.jsx(cg.Provider,{value:{id:s},children:h.jsx("div",{ref:n,className:W("space-y-2",e),...t})})});lg.displayName="FormItem";const ug=x.forwardRef(({className:e,...t},n)=>{const{error:s,formItemId:r}=Ho();return h.jsx(og,{ref:n,className:W(s&&"text-destructive",e),htmlFor:r,...t})});ug.displayName="FormLabel";const dg=x.forwardRef(({...e},t)=>{const{error:n,formItemId:s,formDescriptionId:r,formMessageId:i}=Ho();return h.jsx(cr,{ref:t,id:s,"aria-describedby":n?`${r} ${i}`:`${r}`,"aria-invalid":!!n,...e})});dg.displayName="FormControl";const nC=x.forwardRef(({className:e,...t},n)=>{const{formDescriptionId:s}=Ho();return h.jsx("p",{ref:n,id:s,className:W("text-[0.8rem] text-muted-foreground",e),...t})});nC.displayName="FormDescription";const fg=x.forwardRef(({className:e,children:t,...n},s)=>{const{error:r,formMessageId:i}=Ho(),o=r?String(r==null?void 0:r.message):t;return o?h.jsx("p",{ref:s,id:i,className:W("text-[0.8rem] font-medium text-destructive",e),...n,children:o}):null});fg.displayName="FormMessage";const uc=x.forwardRef(({className:e,type:t,...n},s)=>t!=="file"?h.jsx("input",{type:t,className:W("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}):h.jsxs("div",{className:"relative w-[160px] h-9 overflow-hidden !cursor-pointer",children:[h.jsx("input",{ref:s,accept:".pdf, .png, .jpeg, .jpg",type:t,className:W("h-9 absolute top-0 left-0 !cursor-pointer opacity-0 z-20 size-full"),...n}),h.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:[h.jsx(Jx,{className:"cursor-pointer",size:16})," Upload file"]})]}));uc.displayName="Input";const hg=x.forwardRef(({className:e,...t},n)=>h.jsx("textarea",{className:W("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}));hg.displayName="Textarea";const xN=({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})=>h.jsx(tC,{control:e,name:t,render:({field:g})=>h.jsxs(lg,{className:W(o,"flex flex-col w-full relative"),children:[h.jsx(ug,{className:W("text-xl",f&&"!text-on_primary",l?"text-on_surface":"text-on_surface_v"),children:n}),h.jsx(dg,{children:h.jsx(h.Fragment,{children:c?h.jsx(hg,{rows:3,...g,placeholder:s,className:W(r&&"border-[#BA1A1A]",f&&"border-primary_outline_reverse focus:border-white hover:border-white focus:border-1 text-on_primary")}):i!=="file"?h.jsx(uc,{...g,type:i,placeholder:s,disabled:a,className:W(r&&"border-[#BA1A1A]",f&&"border-primary_outline_reverse focus:border-white hover:border-white focus:border-1 text-on_primary")}):h.jsxs("div",{className:"relative",children:[h.jsx(uc,{type:"file",placeholder:s,onChange:m=>{var y;const p=((y=m.target.files)==null?void 0:y[0])||null;console.log("Выбранный файл:",p),g.onChange(p),d&&d(m)},disabled:a}),g.value&&h.jsxs("div",{className:"text-sm mt-2 text-gray-500 absolute top-8",children:["Выбранный файл: ",g.value.name]})]})})}),h.jsx(fg,{className:W("absolute -bottom-5 left-0 text-sm font-medium leading-[130%]",r&&f?"text-teritary_04":"text-[#BA1A1A]"),children:r?r.message:u})]})}),bN=({className:e,delay:t=.15})=>h.jsxs(Lr.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0,transition:{delay:t}},className:W("flex flex-col gap-8 my-16",e),children:[h.jsx("h3",{className:"text-3xl text-center",children:"Форма успешно отправлена!"}),h.jsx(Ce,{className:"w-fit mx-auto",to:"/",children:h.jsx(it,{variant:"outline",children:"Вернуться на главную"})})]}),sC=({className:e,slides:t,active:n,scrollTo:s})=>h.jsx("div",{className:W("flex items-center justify-center gap-2",e),children:Array.from({length:t}).map((r,i)=>h.jsx("span",{onClick:()=>s==null?void 0:s(i),className:W(n===i?"dot-active":"dot")},i))}),rC=["top","right","bottom","left"],Ln=Math.min,ht=Math.max,go=Math.round,$i=Math.floor,tn=e=>({x:e,y:e}),iC={left:"right",right:"left",bottom:"top",top:"bottom"},oC={start:"end",end:"start"};function dc(e,t,n){return ht(e,Ln(t,n))}function yn(e,t){return typeof e=="function"?e(t):e}function vn(e){return e.split("-")[0]}function hr(e){return e.split("-")[1]}function Ul(e){return e==="x"?"y":"x"}function $l(e){return e==="y"?"height":"width"}function In(e){return["top","bottom"].includes(vn(e))?"y":"x"}function zl(e){return Ul(In(e))}function aC(e,t,n){n===void 0&&(n=!1);const s=hr(e),r=zl(e),i=$l(r);let o=r==="x"?s===(n?"end":"start")?"right":"left":s==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(o=yo(o)),[o,yo(o)]}function cC(e){const t=yo(e);return[fc(e),t,fc(t)]}function fc(e){return e.replace(/start|end/g,t=>oC[t])}function lC(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 uC(e,t,n,s){const r=hr(e);let i=lC(vn(e),n==="start",s);return r&&(i=i.map(o=>o+"-"+r),t&&(i=i.concat(i.map(fc)))),i}function yo(e){return e.replace(/left|right|bottom|top/g,t=>iC[t])}function dC(e){return{top:0,right:0,bottom:0,left:0,...e}}function pg(e){return typeof e!="number"?dC(e):{top:e,right:e,bottom:e,left:e}}function vo(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 mf(e,t,n){let{reference:s,floating:r}=e;const i=In(t),o=zl(t),a=$l(o),c=vn(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 g;switch(c){case"top":g={x:u,y:s.y-r.height};break;case"bottom":g={x:u,y:s.y+s.height};break;case"right":g={x:s.x+s.width,y:d};break;case"left":g={x:s.x-r.width,y:d};break;default:g={x:s.x,y:s.y}}switch(hr(t)){case"start":g[o]-=f*(n&&l?-1:1);break;case"end":g[o]+=f*(n&&l?-1:1);break}return g}const fC=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}=mf(l,s,c),f=s,g={},m=0;for(let p=0;p({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}=yn(e,t)||{};if(l==null)return{};const d=pg(u),f={x:n,y:s},g=zl(r),m=$l(g),p=await o.getDimensions(l),y=g==="y",v=y?"top":"left",b=y?"bottom":"right",w=y?"clientHeight":"clientWidth",T=i.reference[m]+i.reference[g]-f[g]-i.floating[m],S=f[g]-i.reference[g],A=await(o.getOffsetParent==null?void 0:o.getOffsetParent(l));let P=A?A[w]:0;(!P||!await(o.isElement==null?void 0:o.isElement(A)))&&(P=a.floating[w]||i.floating[m]);const E=T/2-S/2,j=P/2-p[m]/2-1,D=Ln(d[v],j),L=Ln(d[b],j),O=D,$=P-p[m]-L,I=P/2-p[m]/2+E,J=dc(O,I,$),X=!c.arrow&&hr(r)!=null&&I!==J&&i.reference[m]/2-(II<=0)){var L,O;const I=(((L=i.flip)==null?void 0:L.index)||0)+1,J=P[I];if(J)return{data:{index:I,overflows:D},reset:{placement:J}};let X=(O=D.filter(q=>q.overflows[0]<=0).sort((q,Z)=>q.overflows[1]-Z.overflows[1])[0])==null?void 0:O.placement;if(!X)switch(g){case"bestFit":{var $;const q=($=D.filter(Z=>{if(A){const re=In(Z.placement);return re===b||re==="y"}return!0}).map(Z=>[Z.placement,Z.overflows.filter(re=>re>0).reduce((re,de)=>re+de,0)]).sort((Z,re)=>Z[1]-re[1])[0])==null?void 0:$[0];q&&(X=q);break}case"initialPlacement":X=a;break}if(r!==X)return{reset:{placement:X}}}return{}}}};function gf(e,t){return{top:e.top-t.height,right:e.right-t.width,bottom:e.bottom-t.height,left:e.left-t.width}}function yf(e){return rC.some(t=>e[t]>=0)}const mC=function(e){return e===void 0&&(e={}),{name:"hide",options:e,async fn(t){const{rects:n}=t,{strategy:s="referenceHidden",...r}=yn(e,t);switch(s){case"referenceHidden":{const i=await Zr(t,{...r,elementContext:"reference"}),o=gf(i,n.reference);return{data:{referenceHiddenOffsets:o,referenceHidden:yf(o)}}}case"escaped":{const i=await Zr(t,{...r,altBoundary:!0}),o=gf(i,n.floating);return{data:{escapedOffsets:o,escaped:yf(o)}}}default:return{}}}}};async function gC(e,t){const{placement:n,platform:s,elements:r}=e,i=await(s.isRTL==null?void 0:s.isRTL(r.floating)),o=vn(n),a=hr(n),c=In(n)==="y",l=["left","top"].includes(o)?-1:1,u=i&&c?-1:1,d=yn(t,e);let{mainAxis:f,crossAxis:g,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"&&(g=a==="end"?m*-1:m),c?{x:g*u,y:f*l}:{x:f*l,y:g*u}}const yC=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 gC(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}}}}},vC=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:y=>{let{x:v,y:b}=y;return{x:v,y:b}}},...c}=yn(e,t),l={x:n,y:s},u=await Zr(t,c),d=In(vn(r)),f=Ul(d);let g=l[f],m=l[d];if(i){const y=f==="y"?"top":"left",v=f==="y"?"bottom":"right",b=g+u[y],w=g-u[v];g=dc(b,g,w)}if(o){const y=d==="y"?"top":"left",v=d==="y"?"bottom":"right",b=m+u[y],w=m-u[v];m=dc(b,m,w)}const p=a.fn({...t,[f]:g,[d]:m});return{...p,data:{x:p.x-n,y:p.y-s,enabled:{[f]:i,[d]:o}}}}}},xC=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}=yn(e,t),u={x:n,y:s},d=In(r),f=Ul(d);let g=u[f],m=u[d];const p=yn(a,t),y=typeof p=="number"?{mainAxis:p,crossAxis:0}:{mainAxis:0,crossAxis:0,...p};if(c){const w=f==="y"?"height":"width",T=i.reference[f]-i.floating[w]+y.mainAxis,S=i.reference[f]+i.reference[w]-y.mainAxis;gS&&(g=S)}if(l){var v,b;const w=f==="y"?"width":"height",T=["top","left"].includes(vn(r)),S=i.reference[d]-i.floating[w]+(T&&((v=o.offset)==null?void 0:v[d])||0)+(T?0:y.crossAxis),A=i.reference[d]+i.reference[w]+(T?0:((b=o.offset)==null?void 0:b[d])||0)-(T?y.crossAxis:0);mA&&(m=A)}return{[f]:g,[d]:m}}}},bC=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}=yn(e,t),u=await Zr(t,l),d=vn(r),f=hr(r),g=In(r)==="y",{width:m,height:p}=i.floating;let y,v;d==="top"||d==="bottom"?(y=d,v=f===(await(o.isRTL==null?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(v=d,y=f==="end"?"top":"bottom");const b=p-u.top-u.bottom,w=m-u.left-u.right,T=Ln(p-u[y],b),S=Ln(m-u[v],w),A=!t.middlewareData.shift;let P=T,E=S;if((n=t.middlewareData.shift)!=null&&n.enabled.x&&(E=w),(s=t.middlewareData.shift)!=null&&s.enabled.y&&(P=b),A&&!f){const D=ht(u.left,0),L=ht(u.right,0),O=ht(u.top,0),$=ht(u.bottom,0);g?E=m-2*(D!==0||L!==0?D+L:ht(u.left,u.right)):P=p-2*(O!==0||$!==0?O+$:ht(u.top,u.bottom))}await c({...t,availableWidth:E,availableHeight:P});const j=await o.getDimensions(a.floating);return m!==j.width||p!==j.height?{reset:{rects:!0}}:{}}}};function qo(){return typeof window<"u"}function pr(e){return mg(e)?(e.nodeName||"").toLowerCase():"#document"}function yt(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function an(e){var t;return(t=(mg(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function mg(e){return qo()?e instanceof Node||e instanceof yt(e).Node:!1}function Lt(e){return qo()?e instanceof Element||e instanceof yt(e).Element:!1}function sn(e){return qo()?e instanceof HTMLElement||e instanceof yt(e).HTMLElement:!1}function vf(e){return!qo()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof yt(e).ShadowRoot}function _i(e){const{overflow:t,overflowX:n,overflowY:s,display:r}=It(e);return/auto|scroll|overlay|hidden|clip/.test(t+s+n)&&!["inline","contents"].includes(r)}function wC(e){return["table","td","th"].includes(pr(e))}function Zo(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function Wl(e){const t=Hl(),n=Lt(e)?It(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 SC(e){let t=Vn(e);for(;sn(t)&&!sr(t);){if(Wl(t))return t;if(Zo(t))return null;t=Vn(t)}return null}function Hl(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function sr(e){return["html","body","#document"].includes(pr(e))}function It(e){return yt(e).getComputedStyle(e)}function Ko(e){return Lt(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Vn(e){if(pr(e)==="html")return e;const t=e.assignedSlot||e.parentNode||vf(e)&&e.host||an(e);return vf(t)?t.host:t}function gg(e){const t=Vn(e);return sr(t)?e.ownerDocument?e.ownerDocument.body:e.body:sn(t)&&_i(t)?t:gg(t)}function Kr(e,t,n){var s;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=gg(e),i=r===((s=e.ownerDocument)==null?void 0:s.body),o=yt(r);if(i){const a=hc(o);return t.concat(o,o.visualViewport||[],_i(r)?r:[],a&&n?Kr(a):[])}return t.concat(r,Kr(r,[],n))}function hc(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function yg(e){const t=It(e);let n=parseFloat(t.width)||0,s=parseFloat(t.height)||0;const r=sn(e),i=r?e.offsetWidth:n,o=r?e.offsetHeight:s,a=go(n)!==i||go(s)!==o;return a&&(n=i,s=o),{width:n,height:s,$:a}}function ql(e){return Lt(e)?e:e.contextElement}function Is(e){const t=ql(e);if(!sn(t))return tn(1);const n=t.getBoundingClientRect(),{width:s,height:r,$:i}=yg(t);let o=(i?go(n.width):n.width)/s,a=(i?go(n.height):n.height)/r;return(!o||!Number.isFinite(o))&&(o=1),(!a||!Number.isFinite(a))&&(a=1),{x:o,y:a}}const _C=tn(0);function vg(e){const t=yt(e);return!Hl()||!t.visualViewport?_C:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function TC(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==yt(e)?!1:t}function gs(e,t,n,s){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),i=ql(e);let o=tn(1);t&&(s?Lt(s)&&(o=Is(s)):o=Is(e));const a=TC(i,n,s)?vg(i):tn(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),g=s&&Lt(s)?yt(s):s;let m=f,p=hc(m);for(;p&&s&&g!==m;){const y=Is(p),v=p.getBoundingClientRect(),b=It(p),w=v.left+(p.clientLeft+parseFloat(b.paddingLeft))*y.x,T=v.top+(p.clientTop+parseFloat(b.paddingTop))*y.y;c*=y.x,l*=y.y,u*=y.x,d*=y.y,c+=w,l+=T,m=yt(p),p=hc(m)}}return vo({width:u,height:d,x:c,y:l})}function Zl(e,t){const n=Ko(e).scrollLeft;return t?t.left+n:gs(an(e)).left+n}function xg(e,t,n){n===void 0&&(n=!1);const s=e.getBoundingClientRect(),r=s.left+t.scrollLeft-(n?0:Zl(e,s)),i=s.top+t.scrollTop;return{x:r,y:i}}function CC(e){let{elements:t,rect:n,offsetParent:s,strategy:r}=e;const i=r==="fixed",o=an(s),a=t?Zo(t.floating):!1;if(s===o||a&&i)return n;let c={scrollLeft:0,scrollTop:0},l=tn(1);const u=tn(0),d=sn(s);if((d||!d&&!i)&&((pr(s)!=="body"||_i(o))&&(c=Ko(s)),sn(s))){const g=gs(s);l=Is(s),u.x=g.x+s.clientLeft,u.y=g.y+s.clientTop}const f=o&&!d&&!i?xg(o,c,!0):tn(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 EC(e){return Array.from(e.getClientRects())}function AC(e){const t=an(e),n=Ko(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+Zl(e);const a=-n.scrollTop;return It(s).direction==="rtl"&&(o+=ht(t.clientWidth,s.clientWidth)-r),{width:r,height:i,x:o,y:a}}function PC(e,t){const n=yt(e),s=an(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=Hl();(!l||l&&t==="fixed")&&(a=r.offsetLeft,c=r.offsetTop)}return{width:i,height:o,x:a,y:c}}function RC(e,t){const n=gs(e,!0,t==="fixed"),s=n.top+e.clientTop,r=n.left+e.clientLeft,i=sn(e)?Is(e):tn(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 xf(e,t,n){let s;if(t==="viewport")s=PC(e,n);else if(t==="document")s=AC(an(e));else if(Lt(t))s=RC(t,n);else{const r=vg(e);s={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return vo(s)}function bg(e,t){const n=Vn(e);return n===t||!Lt(n)||sr(n)?!1:It(n).position==="fixed"||bg(n,t)}function NC(e,t){const n=t.get(e);if(n)return n;let s=Kr(e,[],!1).filter(a=>Lt(a)&&pr(a)!=="body"),r=null;const i=It(e).position==="fixed";let o=i?Vn(e):e;for(;Lt(o)&&!sr(o);){const a=It(o),c=Wl(o);!c&&a.position==="fixed"&&(r=null),(i?!c&&!r:!c&&a.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||_i(o)&&!c&&bg(e,o))?s=s.filter(u=>u!==o):r=a,o=Vn(o)}return t.set(e,s),s}function kC(e){let{element:t,boundary:n,rootBoundary:s,strategy:r}=e;const o=[...n==="clippingAncestors"?Zo(t)?[]:NC(t,this._c):[].concat(n),s],a=o[0],c=o.reduce((l,u)=>{const d=xf(t,u,r);return l.top=ht(d.top,l.top),l.right=Ln(d.right,l.right),l.bottom=Ln(d.bottom,l.bottom),l.left=ht(d.left,l.left),l},xf(t,a,r));return{width:c.right-c.left,height:c.bottom-c.top,x:c.left,y:c.top}}function jC(e){const{width:t,height:n}=yg(e);return{width:t,height:n}}function OC(e,t,n){const s=sn(t),r=an(t),i=n==="fixed",o=gs(e,!0,i,t);let a={scrollLeft:0,scrollTop:0};const c=tn(0);if(s||!s&&!i)if((pr(t)!=="body"||_i(r))&&(a=Ko(t)),s){const f=gs(t,!0,i,t);c.x=f.x+t.clientLeft,c.y=f.y+t.clientTop}else r&&(c.x=Zl(r));const l=r&&!s&&!i?xg(r,a):tn(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 Na(e){return It(e).position==="static"}function bf(e,t){if(!sn(e)||It(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return an(e)===n&&(n=n.ownerDocument.body),n}function wg(e,t){const n=yt(e);if(Zo(e))return n;if(!sn(e)){let r=Vn(e);for(;r&&!sr(r);){if(Lt(r)&&!Na(r))return r;r=Vn(r)}return n}let s=bf(e,t);for(;s&&wC(s)&&Na(s);)s=bf(s,t);return s&&sr(s)&&Na(s)&&!Wl(s)?n:s||SC(e)||n}const DC=async function(e){const t=this.getOffsetParent||wg,n=this.getDimensions,s=await n(e.floating);return{reference:OC(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:s.width,height:s.height}}};function MC(e){return It(e).direction==="rtl"}const FC={convertOffsetParentRelativeRectToViewportRelativeRect:CC,getDocumentElement:an,getClippingRect:kC,getOffsetParent:wg,getElementRects:DC,getClientRects:EC,getDimensions:jC,getScale:Is,isElement:Lt,isRTL:MC};function Sg(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function LC(e,t){let n=null,s;const r=an(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:g}=l;if(a||t(),!f||!g)return;const m=$i(d),p=$i(r.clientWidth-(u+f)),y=$i(r.clientHeight-(d+g)),v=$i(u),w={rootMargin:-m+"px "+-p+"px "+-y+"px "+-v+"px",threshold:ht(0,Ln(1,c))||1};let T=!0;function S(A){const P=A[0].intersectionRatio;if(P!==c){if(!T)return o();P?o(!1,P):s=setTimeout(()=>{o(!1,1e-7)},1e3)}P===1&&!Sg(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 IC(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=ql(e),u=r||i?[...l?Kr(l):[],...Kr(t)]:[];u.forEach(v=>{r&&v.addEventListener("scroll",n,{passive:!0}),i&&v.addEventListener("resize",n)});const d=l&&a?LC(l,n):null;let f=-1,g=null;o&&(g=new ResizeObserver(v=>{let[b]=v;b&&b.target===l&&g&&(g.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame(()=>{var w;(w=g)==null||w.observe(t)})),n()}),l&&!c&&g.observe(l),g.observe(t));let m,p=c?gs(e):null;c&&y();function y(){const v=gs(e);p&&!Sg(p,v)&&n(),p=v,m=requestAnimationFrame(y)}return n(),()=>{var v;u.forEach(b=>{r&&b.removeEventListener("scroll",n),i&&b.removeEventListener("resize",n)}),d==null||d(),(v=g)==null||v.disconnect(),g=null,c&&cancelAnimationFrame(m)}}const VC=yC,BC=vC,UC=pC,$C=bC,zC=mC,wf=hC,WC=xC,HC=(e,t,n)=>{const s=new Map,r={platform:FC,...n},i={...r.platform,_c:s};return fC(e,t,{...r,platform:i})};var Ji=typeof document<"u"?x.useLayoutEffect:x.useEffect;function xo(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(!xo(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)&&!xo(e[i],t[i]))return!1}return!0}return e!==e&&t!==t}function _g(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function Sf(e,t){const n=_g(e);return Math.round(t*n)/n}function ka(e){const t=x.useRef(e);return Ji(()=>{t.current=e}),t}function qC(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,g]=x.useState(s);xo(f,s)||g(s);const[m,p]=x.useState(null),[y,v]=x.useState(null),b=x.useCallback(Z=>{Z!==A.current&&(A.current=Z,p(Z))},[]),w=x.useCallback(Z=>{Z!==P.current&&(P.current=Z,v(Z))},[]),T=i||m,S=o||y,A=x.useRef(null),P=x.useRef(null),E=x.useRef(u),j=c!=null,D=ka(c),L=ka(r),O=ka(l),$=x.useCallback(()=>{if(!A.current||!P.current)return;const Z={placement:t,strategy:n,middleware:f};L.current&&(Z.platform=L.current),HC(A.current,P.current,Z).then(re=>{const de={...re,isPositioned:O.current!==!1};I.current&&!xo(E.current,de)&&(E.current=de,hh.flushSync(()=>{d(de)}))})},[f,t,n,L,O]);Ji(()=>{l===!1&&E.current.isPositioned&&(E.current.isPositioned=!1,d(Z=>({...Z,isPositioned:!1})))},[l]);const I=x.useRef(!1);Ji(()=>(I.current=!0,()=>{I.current=!1}),[]),Ji(()=>{if(T&&(A.current=T),S&&(P.current=S),T&&S){if(D.current)return D.current(T,S,$);$()}},[T,S,$,D,j]);const J=x.useMemo(()=>({reference:A,floating:P,setReference:b,setFloating:w}),[b,w]),X=x.useMemo(()=>({reference:T,floating:S}),[T,S]),q=x.useMemo(()=>{const Z={position:n,left:0,top:0};if(!X.floating)return Z;const re=Sf(X.floating,u.x),de=Sf(X.floating,u.y);return a?{...Z,transform:"translate("+re+"px, "+de+"px)",..._g(X.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:re,top:de}},[n,a,X.floating,u.x,u.y]);return x.useMemo(()=>({...u,update:$,refs:J,elements:X,floatingStyles:q}),[u,$,J,X,q])}const ZC=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?wf({element:s.current,padding:r}).fn(n):{}:s?wf({element:s,padding:r}).fn(n):{}}}},KC=(e,t)=>({...VC(e),options:[e,t]}),GC=(e,t)=>({...BC(e),options:[e,t]}),QC=(e,t)=>({...WC(e),options:[e,t]}),XC=(e,t)=>({...UC(e),options:[e,t]}),YC=(e,t)=>({...$C(e),options:[e,t]}),JC=(e,t)=>({...zC(e),options:[e,t]}),eE=(e,t)=>({...ZC(e),options:[e,t]});var tE="Arrow",Tg=x.forwardRef((e,t)=>{const{children:n,width:s=10,height:r=5,...i}=e;return h.jsx(at.svg,{...i,ref:t,width:s,height:r,viewBox:"0 0 30 10",preserveAspectRatio:"none",children:e.asChild?n:h.jsx("polygon",{points:"0,0 30,0 15,10"})})});Tg.displayName=tE;var nE=Tg;function sE(e){const[t,n]=x.useState(void 0);return ps(()=>{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 Kl="Popper",[Cg,Eg]=$c(Kl),[rE,Ag]=Cg(Kl),Pg=e=>{const{__scopePopper:t,children:n}=e,[s,r]=x.useState(null);return h.jsx(rE,{scope:t,anchor:s,onAnchorChange:r,children:n})};Pg.displayName=Kl;var Rg="PopperAnchor",Ng=x.forwardRef((e,t)=>{const{__scopePopper:n,virtualRef:s,...r}=e,i=Ag(Rg,n),o=x.useRef(null),a=Bt(t,o);return x.useEffect(()=>{i.onAnchorChange((s==null?void 0:s.current)||o.current)}),s?null:h.jsx(at.div,{...r,ref:a})});Ng.displayName=Rg;var Gl="PopperContent",[iE,oE]=Cg(Gl),kg=x.forwardRef((e,t)=>{var ue,ye,je,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:g="optimized",onPlaced:m,...p}=e,y=Ag(Gl,n),[v,b]=x.useState(null),w=Bt(t,fe=>b(fe)),[T,S]=x.useState(null),A=sE(T),P=(A==null?void 0:A.width)??0,E=(A==null?void 0:A.height)??0,j=s+(i!=="center"?"-"+i:""),D=typeof u=="number"?u:{top:0,right:0,bottom:0,left:0,...u},L=Array.isArray(l)?l:[l],O=L.length>0,$={padding:D,boundary:L.filter(cE),altBoundary:O},{refs:I,floatingStyles:J,placement:X,isPositioned:q,middlewareData:Z}=qC({strategy:"fixed",placement:j,whileElementsMounted:(...fe)=>IC(...fe,{animationFrame:g==="always"}),elements:{reference:y.anchor},middleware:[KC({mainAxis:r+E,alignmentAxis:o}),c&&GC({mainAxis:!0,crossAxis:!1,limiter:d==="partial"?QC():void 0,...$}),c&&XC({...$}),YC({...$,apply:({elements:fe,rects:Se,availableWidth:$e,availableHeight:ft})=>{const{width:bt,height:_}=Se.reference,R=fe.floating.style;R.setProperty("--radix-popper-available-width",`${$e}px`),R.setProperty("--radix-popper-available-height",`${ft}px`),R.setProperty("--radix-popper-anchor-width",`${bt}px`),R.setProperty("--radix-popper-anchor-height",`${_}px`)}}),T&&eE({element:T,padding:a}),lE({arrowWidth:P,arrowHeight:E}),f&&JC({strategy:"referenceHidden",...$})]}),[re,de]=Dg(X),ge=Dn(m);ps(()=>{q&&(ge==null||ge())},[q,ge]);const Be=(ue=Z.arrow)==null?void 0:ue.x,qe=(ye=Z.arrow)==null?void 0:ye.y,Ze=((je=Z.arrow)==null?void 0:je.centerOffset)!==0,[Pt,et]=x.useState();return ps(()=>{v&&et(window.getComputedStyle(v).zIndex)},[v]),h.jsx("div",{ref:I.setFloating,"data-radix-popper-content-wrapper":"",style:{...J,transform:q?J.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:Pt,"--radix-popper-transform-origin":[(Le=Z.transformOrigin)==null?void 0:Le.x,(we=Z.transformOrigin)==null?void 0:we.y].join(" "),...((G=Z.hide)==null?void 0:G.referenceHidden)&&{visibility:"hidden",pointerEvents:"none"}},dir:e.dir,children:h.jsx(iE,{scope:n,placedSide:re,onArrowChange:S,arrowX:Be,arrowY:qe,shouldHideArrow:Ze,children:h.jsx(at.div,{"data-side":re,"data-align":de,...p,ref:w,style:{...p.style,animation:q?void 0:"none"}})})})});kg.displayName=Gl;var jg="PopperArrow",aE={top:"bottom",right:"left",bottom:"top",left:"right"},Og=x.forwardRef(function(t,n){const{__scopePopper:s,...r}=t,i=oE(jg,s),o=aE[i.placedSide];return h.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:h.jsx(nE,{...r,ref:n,style:{...r.style,display:"block"}})})});Og.displayName=jg;function cE(e){return e!==null}var lE=e=>({name:"transformOrigin",options:e,fn(t){var y,v,b;const{placement:n,rects:s,middlewareData:r}=t,o=((y=r.arrow)==null?void 0:y.centerOffset)!==0,a=o?0:e.arrowWidth,c=o?0:e.arrowHeight,[l,u]=Dg(n),d={start:"0%",center:"50%",end:"100%"}[u],f=(((v=r.arrow)==null?void 0:v.x)??0)+a/2,g=(((b=r.arrow)==null?void 0:b.y)??0)+c/2;let m="",p="";return l==="bottom"?(m=o?d:`${f}px`,p=`${-c}px`):l==="top"?(m=o?d:`${f}px`,p=`${s.floating.height+c}px`):l==="right"?(m=`${-c}px`,p=o?d:`${g}px`):l==="left"&&(m=`${s.floating.width+c}px`,p=o?d:`${g}px`),{data:{x:m,y:p}}}});function Dg(e){const[t,n="center"]=e.split("-");return[t,n]}var uE=Pg,Mg=Ng,dE=kg,fE=Og,Ql="Popover",[Fg,wN]=$c(Ql,[Eg]),Ti=Eg(),[hE,Hn]=Fg(Ql),Lg=e=>{const{__scopePopover:t,children:n,open:s,defaultOpen:r,onOpenChange:i,modal:o=!1}=e,a=Ti(t),c=x.useRef(null),[l,u]=x.useState(!1),[d=!1,f]=mh({prop:s,defaultProp:r,onChange:i});return h.jsx(uE,{...a,children:h.jsx(hE,{scope:t,contentId:qi(),triggerRef:c,open:d,onOpenChange:f,onOpenToggle:x.useCallback(()=>f(g=>!g),[f]),hasCustomAnchor:l,onCustomAnchorAdd:x.useCallback(()=>u(!0),[]),onCustomAnchorRemove:x.useCallback(()=>u(!1),[]),modal:o,children:n})})};Lg.displayName=Ql;var Ig="PopoverAnchor",pE=x.forwardRef((e,t)=>{const{__scopePopover:n,...s}=e,r=Hn(Ig,n),i=Ti(n),{onCustomAnchorAdd:o,onCustomAnchorRemove:a}=r;return x.useEffect(()=>(o(),()=>a()),[o,a]),h.jsx(Mg,{...i,...s,ref:t})});pE.displayName=Ig;var Vg="PopoverTrigger",Bg=x.forwardRef((e,t)=>{const{__scopePopover:n,...s}=e,r=Hn(Vg,n),i=Ti(n),o=Bt(t,r.triggerRef),a=h.jsx(at.button,{type:"button","aria-haspopup":"dialog","aria-expanded":r.open,"aria-controls":r.contentId,"data-state":Hg(r.open),...s,ref:o,onClick:mt(e.onClick,r.onOpenToggle)});return r.hasCustomAnchor?a:h.jsx(Mg,{asChild:!0,...i,children:a})});Bg.displayName=Vg;var Xl="PopoverPortal",[mE,gE]=Fg(Xl,{forceMount:void 0}),Ug=e=>{const{__scopePopover:t,forceMount:n,children:s,container:r}=e,i=Hn(Xl,t);return h.jsx(mE,{scope:t,forceMount:n,children:h.jsx(lr,{present:n||i.open,children:h.jsx(Hc,{asChild:!0,container:r,children:s})})})};Ug.displayName=Xl;var rr="PopoverContent",$g=x.forwardRef((e,t)=>{const n=gE(rr,e.__scopePopover),{forceMount:s=n.forceMount,...r}=e,i=Hn(rr,e.__scopePopover);return h.jsx(lr,{present:s||i.open,children:i.modal?h.jsx(yE,{...r,ref:t}):h.jsx(vE,{...r,ref:t})})});$g.displayName=rr;var yE=x.forwardRef((e,t)=>{const n=Hn(rr,e.__scopePopover),s=x.useRef(null),r=Bt(t,s),i=x.useRef(!1);return x.useEffect(()=>{const o=s.current;if(o)return Ph(o)},[]),h.jsx(qc,{as:cr,allowPinchZoom:!0,children:h.jsx(zg,{...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})})})}),vE=x.forwardRef((e,t)=>{const n=Hn(rr,e.__scopePopover),s=x.useRef(!1),r=x.useRef(!1);return h.jsx(zg,{...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()}})}),zg=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=Hn(rr,n),g=Ti(n);return xh(),h.jsx(Wc,{asChild:!0,loop:!0,trapped:s,onMountAutoFocus:r,onUnmountAutoFocus:i,children:h.jsx(zc,{asChild:!0,disableOutsidePointerEvents:o,onInteractOutside:u,onEscapeKeyDown:a,onPointerDownOutside:c,onFocusOutside:l,onDismiss:()=>f.onOpenChange(!1),children:h.jsx(dE,{"data-state":Hg(f.open),role:"dialog",id:f.contentId,...g,...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)"}})})})}),Wg="PopoverClose",xE=x.forwardRef((e,t)=>{const{__scopePopover:n,...s}=e,r=Hn(Wg,n);return h.jsx(at.button,{type:"button",...s,ref:t,onClick:mt(e.onClick,()=>r.onOpenChange(!1))})});xE.displayName=Wg;var bE="PopoverArrow",wE=x.forwardRef((e,t)=>{const{__scopePopover:n,...s}=e,r=Ti(n);return h.jsx(fE,{...r,...s,ref:t})});wE.displayName=bE;function Hg(e){return e?"open":"closed"}var SE=Lg,_E=Bg,TE=Ug,qg=$g;const Zg=SE,Kg=_E,Yl=x.forwardRef(({className:e,align:t="center",sideOffset:n=4,...s},r)=>h.jsx(TE,{children:h.jsx(qg,{ref:r,align:t,sideOffset:n,className:W("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})}));Yl.displayName=qg.displayName;const _f=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(g=>g(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},CE=e=>e?_f(e):_f,EE=e=>e;function AE(e,t=EE){const n=ve.useSyncExternalStore(e.subscribe,()=>t(e.getState()),()=>t(e.getInitialState()));return ve.useDebugValue(n),n}const PE=e=>{const t=CE(e),n=s=>AE(t,s);return Object.assign(n,t),n},Gg=e=>PE;function RE(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 pc=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then(s){return pc(s)(n)},catch(s){return this}}}catch(n){return{then(s){return this},catch(s){return pc(s)(n)}}}},NE=(e,t)=>(n,s,r)=>{let i={storage:RE(()=>localStorage),partialize:p=>p,version:0,merge:(p,y)=>({...y,...p}),...t},o=!1;const a=new Set,c=new Set;let l=i.storage;if(!l)return e((...p)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...p)},s,r);const u=()=>{const p=i.partialize({...s()});return l.setItem(i.name,{state:p,version:i.version})},d=r.setState;r.setState=(p,y)=>{d(p,y),u()};const f=e((...p)=>{n(...p),u()},s,r);r.getInitialState=()=>f;let g;const m=()=>{var p,y;if(!l)return;o=!1,a.forEach(b=>{var w;return b((w=s())!=null?w:f)});const v=((y=i.onRehydrateStorage)==null?void 0:y.call(i,(p=s())!=null?p:f))||void 0;return pc(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(g=i.merge(S,(w=s())!=null?w:f),n(g,!0),T)return u()}).then(()=>{v==null||v(g,void 0),g=s(),o=!0,c.forEach(b=>b(g))}).catch(b=>{v==null||v(void 0,b)})};return r.persist={setOptions:p=>{i={...i,...p},p.storage&&(l=p.storage)},clearStorage:()=>{l==null||l.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>m(),hasHydrated:()=>o,onHydrate:p=>(a.add(p),()=>{a.delete(p)}),onFinishHydration:p=>(c.add(p),()=>{c.delete(p)})},i.skipHydration||m(),g||f},kE=NE;var Et=(e=>(e.EN="en",e.RU="ru",e))(Et||{});const Ee=Gg()(kE(e=>({lang:"en",setLang:t=>e({lang:t})}),{name:"lang-storage"})),jE=[{lang:Et.RU},{lang:Et.EN}],Tf=({className:e,light:t=!1})=>{const n=Ee(o=>o.lang),s=Ee(o=>o.setLang),[r,i]=x.useState(!1);return h.jsxs(Zg,{open:r,onOpenChange:()=>i(!r),children:[h.jsxs(Kg,{className:W("flex text-white items-center gap-2",t?"text-white":"text-black",e),children:[h.jsx("img",{src:n===Et.RU?"/ru.svg":"/english.svg",alt:""}),n===Et.RU?"Ру":"En",h.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.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"})})]}),h.jsx(Yl,{className:"flex flex-col gap-6",children:jE.filter(o=>o.lang!==n).map((o,a)=>h.jsxs("div",{onClick:()=>{s(o.lang),i(!1)},className:"flex gap-3 py-1 items-center cursor-pointer",children:[h.jsx("img",{src:o.lang===Et.RU?"/ru.svg":"/english.svg",alt:"flag"}),h.jsx("h5",{children:o.lang===Et.RU?"Русский":"English"})]},a))})]})},Qg=Hh,Xg=qh,OE=Zh,Yg=x.forwardRef(({className:e,...t},n)=>h.jsx(Oo,{ref:n,className:W("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}));Yg.displayName=Oo.displayName;const Jl=x.forwardRef(({className:e,children:t,...n},s)=>h.jsxs(OE,{children:[h.jsx(Yg,{}),h.jsxs(Do,{ref:s,className:W("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,h.jsxs(Xc,{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:[h.jsx(Jc,{className:"size-6"}),h.jsx("span",{className:"sr-only",children:"Close"})]})]})]}));Jl.displayName=Do.displayName;const DE=x.forwardRef(({className:e,...t},n)=>h.jsx(Mo,{ref:n,className:W("text-lg font-semibold leading-none tracking-tight",e),...t}));DE.displayName=Mo.displayName;const ME=x.forwardRef(({className:e,...t},n)=>h.jsx(Fo,{ref:n,className:W("text-sm text-muted-foreground",e),...t}));ME.displayName=Fo.displayName;const Cf=(e,t,n)=>{if(e&&"reportValidity"in e){const s=B(n,t);e.setCustomValidity(s&&s.message||""),e.reportValidity()}},Jg=(e,t)=>{for(const n in t.fields){const s=t.fields[n];s&&s.ref&&"reportValidity"in s.ref?Cf(s.ref,n,e):s.refs&&s.refs.forEach(r=>Cf(r,n,e))}},FE=(e,t)=>{t.shouldUseNativeValidation&&Jg(e,t);const n={};for(const s in e){const r=B(t.fields,s),i=Object.assign(e[s]||{},{ref:r&&r.ref});if(LE(t.names||Object.keys(e),s)){const o=Object.assign({},B(n,s));xe(o,"root",i),xe(n,s,o)}else xe(n,s,i)}return n},LE=(e,t)=>e.some(n=>n.startsWith(t+"."));var IE=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]=Xm(o,t,n,r,l?[].concat(l,s.message):s.message)}e.shift()}return n},VE=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&&Jg({},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:FE(IE(o.errors,!i.shouldUseNativeValidation&&i.criteriaMode==="all"),i)};throw o}))}catch(o){return Promise.reject(o)}}},me;(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})(me||(me={}));var mc;(function(e){e.mergeShapes=(t,n)=>({...t,...n})})(mc||(mc={}));const H=me.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),fn=e=>{switch(typeof e){case"undefined":return H.undefined;case"string":return H.string;case"number":return isNaN(e)?H.nan:H.number;case"boolean":return H.boolean;case"function":return H.function;case"bigint":return H.bigint;case"symbol":return H.symbol;case"object":return Array.isArray(e)?H.array:e===null?H.null:e.then&&typeof e.then=="function"&&e.catch&&typeof e.catch=="function"?H.promise:typeof Map<"u"&&e instanceof Map?H.map:typeof Set<"u"&&e instanceof Set?H.set:typeof Date<"u"&&e instanceof Date?H.date:H.object;default:return H.unknown}},M=me.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"]),BE=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 ir=(e,t)=>{let n;switch(e.code){case M.invalid_type:e.received===H.undefined?n="Required":n=`Expected ${e.expected}, received ${e.received}`;break;case M.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,me.jsonStringifyReplacer)}`;break;case M.unrecognized_keys:n=`Unrecognized key(s) in object: ${me.joinValues(e.keys,", ")}`;break;case M.invalid_union:n="Invalid input";break;case M.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${me.joinValues(e.options)}`;break;case M.invalid_enum_value:n=`Invalid enum value. Expected ${me.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}"`:me.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,me.assertNever(e)}return{message:n}};let ey=ir;function UE(e){ey=e}function bo(){return ey}const wo=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}},$E=[];function z(e,t){const n=bo(),s=wo({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===ir?void 0:ir].filter(r=>!!r)});e.common.issues.push(s)}class Ye{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 se;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 Ye.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 se;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 se=Object.freeze({status:"aborted"}),Ms=e=>({status:"dirty",value:e}),ot=e=>({status:"valid",value:e}),gc=e=>e.status==="aborted",yc=e=>e.status==="dirty",ys=e=>e.status==="valid",Gr=e=>typeof Promise<"u"&&e instanceof Promise;function So(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 ty(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 Q;(function(e){e.errToObj=t=>typeof t=="string"?{message:t}:t||{},e.toString=t=>typeof t=="string"?t:t==null?void 0:t.message})(Q||(Q={}));var Rr,Nr;class rn{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 Ef=(e,t)=>{if(ys(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 fn(t.data)}_getOrReturnCtx(t,n){return n||{common:t.parent.common,data:t.data,parsedType:fn(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new Ye,ctx:{common:t.parent.common,data:t.data,parsedType:fn(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){const n=this._parse(t);if(Gr(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:fn(t)},i=this._parseSync({data:t,path:r.path,parent:r});return Ef(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:fn(t)};if(!this["~standard"].async)try{const i=this._parseSync({data:t,path:[],parent:r});return ys(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=>ys(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:fn(t)},r=this._parse({data:t,path:s.path,parent:s}),i=await(Gr(r)?r:Promise.resolve(r));return Ef(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 Vt({schema:this,typeName:te.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 nn.create(this,this._def)}nullable(){return zn.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return Mt.create(this)}promise(){return ar.create(this,this._def)}or(t){return Jr.create([this,t],this._def)}and(t){return ei.create(this,t,this._def)}transform(t){return new Vt({...oe(this._def),schema:this,typeName:te.ZodEffects,effect:{type:"transform",transform:t}})}default(t){const n=typeof t=="function"?t:()=>t;return new ii({...oe(this._def),innerType:this,defaultValue:n,typeName:te.ZodDefault})}brand(){return new eu({typeName:te.ZodBranded,type:this,...oe(this._def)})}catch(t){const n=typeof t=="function"?t:()=>t;return new oi({...oe(this._def),innerType:this,catchValue:n,typeName:te.ZodCatch})}describe(t){const n=this.constructor;return new n({...this._def,description:t})}pipe(t){return Ci.create(this,t)}readonly(){return ai.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const zE=/^c[^\s-]{8,}$/i,WE=/^[0-9a-z]+$/,HE=/^[0-9A-HJKMNP-TV-Z]{26}$/i,qE=/^[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,ZE=/^[a-z0-9_-]{21}$/i,KE=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,GE=/^[-+]?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)?)??$/,QE=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,XE="^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$";let ja;const YE=/^(?:(?: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]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,JE=/^(?:(?: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]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12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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])$/,nA=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,sA=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,ny="((\\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])))",rA=new RegExp(`^${ny}$`);function sy(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 iA(e){return new RegExp(`^${sy(e)}$`)}function ry(e){let t=`${ny}T${sy(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 oA(e,t){return!!((t==="v4"||!t)&&YE.test(e)||(t==="v6"||!t)&&eA.test(e))}function aA(e,t){if(!KE.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 cA(e,t){return!!((t==="v4"||!t)&&JE.test(e)||(t==="v6"||!t)&&tA.test(e))}class Dt extends le{_parse(t){if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==H.string){const i=this._getOrReturnCtx(t);return z(i,{code:M.invalid_type,expected:H.string,received:i.parsedType}),se}const s=new Ye;let r;for(const i of this._def.checks)if(i.kind==="min")t.data.lengthi.value&&(r=this._getOrReturnCtx(t,r),z(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,...Q.errToObj(s)})}_addCheck(t){return new Dt({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...Q.errToObj(t)})}url(t){return this._addCheck({kind:"url",...Q.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...Q.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...Q.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...Q.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...Q.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...Q.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...Q.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...Q.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...Q.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...Q.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...Q.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...Q.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,...Q.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,...Q.errToObj(t==null?void 0:t.message)})}duration(t){return this._addCheck({kind:"duration",...Q.errToObj(t)})}regex(t,n){return this._addCheck({kind:"regex",regex:t,...Q.errToObj(n)})}includes(t,n){return this._addCheck({kind:"includes",value:t,position:n==null?void 0:n.position,...Q.errToObj(n==null?void 0:n.message)})}startsWith(t,n){return this._addCheck({kind:"startsWith",value:t,...Q.errToObj(n)})}endsWith(t,n){return this._addCheck({kind:"endsWith",value:t,...Q.errToObj(n)})}min(t,n){return this._addCheck({kind:"min",value:t,...Q.errToObj(n)})}max(t,n){return this._addCheck({kind:"max",value:t,...Q.errToObj(n)})}length(t,n){return this._addCheck({kind:"length",value:t,...Q.errToObj(n)})}nonempty(t){return this.min(1,Q.errToObj(t))}trim(){return new Dt({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Dt({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Dt({...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 Dt({checks:[],typeName:te.ZodString,coerce:(t=e==null?void 0:e.coerce)!==null&&t!==void 0?t:!1,...oe(e)})};function lA(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 Bn 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)!==H.number){const i=this._getOrReturnCtx(t);return z(i,{code:M.invalid_type,expected:H.number,received:i.parsedType}),se}let s;const r=new Ye;for(const i of this._def.checks)i.kind==="int"?me.isInteger(t.data)||(s=this._getOrReturnCtx(t,s),z(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),z(s,{code:M.too_big,maximum:i.value,type:"number",inclusive:i.inclusive,exact:!1,message:i.message}),r.dirty()):i.kind==="multipleOf"?lA(t.data,i.value)!==0&&(s=this._getOrReturnCtx(t,s),z(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),z(s,{code:M.not_finite,message:i.message}),r.dirty()):me.assertNever(i);return{status:r.value,value:t.data}}gte(t,n){return this.setLimit("min",t,!0,Q.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Q.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Q.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Q.toString(n))}setLimit(t,n,s,r){return new Bn({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:s,message:Q.toString(r)}]})}_addCheck(t){return new Bn({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:Q.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:Q.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:Q.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:Q.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:Q.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Q.toString(n)})}finite(t){return this._addCheck({kind:"finite",message:Q.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:Q.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:Q.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"&&me.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 Bn({checks:[],typeName:te.ZodNumber,coerce:(e==null?void 0:e.coerce)||!1,...oe(e)});class Un 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)!==H.bigint)return this._getInvalidInput(t);let s;const r=new Ye;for(const i of this._def.checks)i.kind==="min"?(i.inclusive?t.datai.value:t.data>=i.value)&&(s=this._getOrReturnCtx(t,s),z(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),z(s,{code:M.not_multiple_of,multipleOf:i.value,message:i.message}),r.dirty()):me.assertNever(i);return{status:r.value,value:t.data}}_getInvalidInput(t){const n=this._getOrReturnCtx(t);return z(n,{code:M.invalid_type,expected:H.bigint,received:n.parsedType}),se}gte(t,n){return this.setLimit("min",t,!0,Q.toString(n))}gt(t,n){return this.setLimit("min",t,!1,Q.toString(n))}lte(t,n){return this.setLimit("max",t,!0,Q.toString(n))}lt(t,n){return this.setLimit("max",t,!1,Q.toString(n))}setLimit(t,n,s,r){return new Un({...this._def,checks:[...this._def.checks,{kind:t,value:n,inclusive:s,message:Q.toString(r)}]})}_addCheck(t){return new Un({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:Q.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:Q.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:Q.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:Q.toString(t)})}multipleOf(t,n){return this._addCheck({kind:"multipleOf",value:t,message:Q.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 Un({checks:[],typeName:te.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)!==H.boolean){const s=this._getOrReturnCtx(t);return z(s,{code:M.invalid_type,expected:H.boolean,received:s.parsedType}),se}return ot(t.data)}}Qr.create=e=>new Qr({typeName:te.ZodBoolean,coerce:(e==null?void 0:e.coerce)||!1,...oe(e)});class vs extends le{_parse(t){if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==H.date){const i=this._getOrReturnCtx(t);return z(i,{code:M.invalid_type,expected:H.date,received:i.parsedType}),se}if(isNaN(t.data.getTime())){const i=this._getOrReturnCtx(t);return z(i,{code:M.invalid_date}),se}const s=new Ye;let r;for(const i of this._def.checks)i.kind==="min"?t.data.getTime()i.value&&(r=this._getOrReturnCtx(t,r),z(r,{code:M.too_big,message:i.message,inclusive:!0,exact:!1,maximum:i.value,type:"date"}),s.dirty()):me.assertNever(i);return{status:s.value,value:new Date(t.data.getTime())}}_addCheck(t){return new vs({...this._def,checks:[...this._def.checks,t]})}min(t,n){return this._addCheck({kind:"min",value:t.getTime(),message:Q.toString(n)})}max(t,n){return this._addCheck({kind:"max",value:t.getTime(),message:Q.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 vs({checks:[],coerce:(e==null?void 0:e.coerce)||!1,typeName:te.ZodDate,...oe(e)});class _o extends le{_parse(t){if(this._getType(t)!==H.symbol){const s=this._getOrReturnCtx(t);return z(s,{code:M.invalid_type,expected:H.symbol,received:s.parsedType}),se}return ot(t.data)}}_o.create=e=>new _o({typeName:te.ZodSymbol,...oe(e)});class Xr extends le{_parse(t){if(this._getType(t)!==H.undefined){const s=this._getOrReturnCtx(t);return z(s,{code:M.invalid_type,expected:H.undefined,received:s.parsedType}),se}return ot(t.data)}}Xr.create=e=>new Xr({typeName:te.ZodUndefined,...oe(e)});class Yr extends le{_parse(t){if(this._getType(t)!==H.null){const s=this._getOrReturnCtx(t);return z(s,{code:M.invalid_type,expected:H.null,received:s.parsedType}),se}return ot(t.data)}}Yr.create=e=>new Yr({typeName:te.ZodNull,...oe(e)});class or extends le{constructor(){super(...arguments),this._any=!0}_parse(t){return ot(t.data)}}or.create=e=>new or({typeName:te.ZodAny,...oe(e)});class fs extends le{constructor(){super(...arguments),this._unknown=!0}_parse(t){return ot(t.data)}}fs.create=e=>new fs({typeName:te.ZodUnknown,...oe(e)});class xn extends le{_parse(t){const n=this._getOrReturnCtx(t);return z(n,{code:M.invalid_type,expected:H.never,received:n.parsedType}),se}}xn.create=e=>new xn({typeName:te.ZodNever,...oe(e)});class To extends le{_parse(t){if(this._getType(t)!==H.undefined){const s=this._getOrReturnCtx(t);return z(s,{code:M.invalid_type,expected:H.void,received:s.parsedType}),se}return ot(t.data)}}To.create=e=>new To({typeName:te.ZodVoid,...oe(e)});class Mt extends le{_parse(t){const{ctx:n,status:s}=this._processInputParams(t),r=this._def;if(n.parsedType!==H.array)return z(n,{code:M.invalid_type,expected:H.array,received:n.parsedType}),se;if(r.exactLength!==null){const o=n.data.length>r.exactLength.value,a=n.data.lengthr.maxLength.value&&(z(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 rn(n,o,n.path,a)))).then(o=>Ye.mergeArray(s,o));const i=[...n.data].map((o,a)=>r.type._parseSync(new rn(n,o,n.path,a)));return Ye.mergeArray(s,i)}get element(){return this._def.type}min(t,n){return new Mt({...this._def,minLength:{value:t,message:Q.toString(n)}})}max(t,n){return new Mt({...this._def,maxLength:{value:t,message:Q.toString(n)}})}length(t,n){return new Mt({...this._def,exactLength:{value:t,message:Q.toString(n)}})}nonempty(t){return this.min(1,t)}}Mt.create=(e,t)=>new Mt({type:e,minLength:null,maxLength:null,exactLength:null,typeName:te.ZodArray,...oe(t)});function Rs(e){if(e instanceof Ae){const t={};for(const n in e.shape){const s=e.shape[n];t[n]=nn.create(Rs(s))}return new Ae({...e._def,shape:()=>t})}else return e instanceof Mt?new Mt({...e._def,type:Rs(e.element)}):e instanceof nn?nn.create(Rs(e.unwrap())):e instanceof zn?zn.create(Rs(e.unwrap())):e instanceof on?on.create(e.items.map(t=>Rs(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=me.objectKeys(t);return this._cached={shape:t,keys:n}}_parse(t){if(this._getType(t)!==H.object){const l=this._getOrReturnCtx(t);return z(l,{code:M.invalid_type,expected:H.object,received:l.parsedType}),se}const{status:s,ctx:r}=this._processInputParams(t),{shape:i,keys:o}=this._getCached(),a=[];if(!(this._def.catchall instanceof xn&&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 rn(r,d,r.path,l)),alwaysSet:l in r.data})}if(this._def.catchall instanceof xn){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&&(z(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 rn(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=>Ye.mergeObjectSync(s,l)):Ye.mergeObjectSync(s,c)}get shape(){return this._def.shape()}strict(t){return Q.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=Q.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:te.ZodObject})}setKey(t,n){return this.augment({[t]:n})}catchall(t){return new Ae({...this._def,catchall:t})}pick(t){const n={};return me.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 me.objectKeys(this.shape).forEach(s=>{t[s]||(n[s]=this.shape[s])}),new Ae({...this._def,shape:()=>n})}deepPartial(){return Rs(this)}partial(t){const n={};return me.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 me.objectKeys(this.shape).forEach(s=>{if(t&&!t[s])n[s]=this.shape[s];else{let i=this.shape[s];for(;i instanceof nn;)i=i._def.innerType;n[s]=i}}),new Ae({...this._def,shape:()=>n})}keyof(){return iy(me.objectKeys(this.shape))}}Ae.create=(e,t)=>new Ae({shape:()=>e,unknownKeys:"strip",catchall:xn.create(),typeName:te.ZodObject,...oe(t)});Ae.strictCreate=(e,t)=>new Ae({shape:()=>e,unknownKeys:"strict",catchall:xn.create(),typeName:te.ZodObject,...oe(t)});Ae.lazycreate=(e,t)=>new Ae({shape:e,unknownKeys:"strip",catchall:xn.create(),typeName:te.ZodObject,...oe(t)});class Jr 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 z(n,{code:M.invalid_union,unionErrors:o}),se}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 z(n,{code:M.invalid_union,unionErrors:a}),se}}get options(){return this._def.options}}Jr.create=(e,t)=>new Jr({options:e,typeName:te.ZodUnion,...oe(t)});const un=e=>e instanceof ni?un(e.schema):e instanceof Vt?un(e.innerType()):e instanceof si?[e.value]:e instanceof $n?e.options:e instanceof ri?me.objectValues(e.enum):e instanceof ii?un(e._def.innerType):e instanceof Xr?[void 0]:e instanceof Yr?[null]:e instanceof nn?[void 0,...un(e.unwrap())]:e instanceof zn?[null,...un(e.unwrap())]:e instanceof eu||e instanceof ai?un(e.unwrap()):e instanceof oi?un(e._def.innerType):[];class Go extends le{_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==H.object)return z(n,{code:M.invalid_type,expected:H.object,received:n.parsedType}),se;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}):(z(n,{code:M.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[s]}),se)}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=un(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 Go({typeName:te.ZodDiscriminatedUnion,discriminator:t,options:n,optionsMap:r,...oe(s)})}}function vc(e,t){const n=fn(e),s=fn(t);if(e===t)return{valid:!0,data:e};if(n===H.object&&s===H.object){const r=me.objectKeys(t),i=me.objectKeys(e).filter(a=>r.indexOf(a)!==-1),o={...e,...t};for(const a of i){const c=vc(e[a],t[a]);if(!c.valid)return{valid:!1};o[a]=c.data}return{valid:!0,data:o}}else if(n===H.array&&s===H.array){if(e.length!==t.length)return{valid:!1};const r=[];for(let i=0;i{if(gc(i)||gc(o))return se;const a=vc(i.value,o.value);return a.valid?((yc(i)||yc(o))&&n.dirty(),{status:n.value,value:a.data}):(z(s,{code:M.invalid_intersection_types}),se)};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}))}}ei.create=(e,t,n)=>new ei({left:e,right:t,typeName:te.ZodIntersection,...oe(n)});class on extends le{_parse(t){const{status:n,ctx:s}=this._processInputParams(t);if(s.parsedType!==H.array)return z(s,{code:M.invalid_type,expected:H.array,received:s.parsedType}),se;if(s.data.lengththis._def.items.length&&(z(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 rn(s,o,s.path,a)):null}).filter(o=>!!o);return s.common.async?Promise.all(i).then(o=>Ye.mergeArray(n,o)):Ye.mergeArray(n,i)}get items(){return this._def.items}rest(t){return new on({...this._def,rest:t})}}on.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new on({items:e,typeName:te.ZodTuple,rest:null,...oe(t)})};class ti 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!==H.object)return z(s,{code:M.invalid_type,expected:H.object,received:s.parsedType}),se;const r=[],i=this._def.keyType,o=this._def.valueType;for(const a in s.data)r.push({key:i._parse(new rn(s,a,s.path,a)),value:o._parse(new rn(s,s.data[a],s.path,a)),alwaysSet:a in s.data});return s.common.async?Ye.mergeObjectAsync(n,r):Ye.mergeObjectSync(n,r)}get element(){return this._def.valueType}static create(t,n,s){return n instanceof le?new ti({keyType:t,valueType:n,typeName:te.ZodRecord,...oe(s)}):new ti({keyType:Dt.create(),valueType:t,typeName:te.ZodRecord,...oe(n)})}}class Co 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!==H.map)return z(s,{code:M.invalid_type,expected:H.map,received:s.parsedType}),se;const r=this._def.keyType,i=this._def.valueType,o=[...s.data.entries()].map(([a,c],l)=>({key:r._parse(new rn(s,a,s.path,[l,"key"])),value:i._parse(new rn(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 se;(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 se;(l.status==="dirty"||u.status==="dirty")&&n.dirty(),a.set(l.value,u.value)}return{status:n.value,value:a}}}}Co.create=(e,t,n)=>new Co({valueType:t,keyType:e,typeName:te.ZodMap,...oe(n)});class xs extends le{_parse(t){const{status:n,ctx:s}=this._processInputParams(t);if(s.parsedType!==H.set)return z(s,{code:M.invalid_type,expected:H.set,received:s.parsedType}),se;const r=this._def;r.minSize!==null&&s.data.sizer.maxSize.value&&(z(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 se;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 rn(s,c,s.path,l)));return s.common.async?Promise.all(a).then(c=>o(c)):o(a)}min(t,n){return new xs({...this._def,minSize:{value:t,message:Q.toString(n)}})}max(t,n){return new xs({...this._def,maxSize:{value:t,message:Q.toString(n)}})}size(t,n){return this.min(t,n).max(t,n)}nonempty(t){return this.min(1,t)}}xs.create=(e,t)=>new xs({valueType:e,minSize:null,maxSize:null,typeName:te.ZodSet,...oe(t)});class Vs extends le{constructor(){super(...arguments),this.validate=this.implement}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==H.function)return z(n,{code:M.invalid_type,expected:H.function,received:n.parsedType}),se;function s(a,c){return wo({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,bo(),ir].filter(l=>!!l),issueData:{code:M.invalid_arguments,argumentsError:c}})}function r(a,c){return wo({data:a,path:n.path,errorMaps:[n.common.contextualErrorMap,n.schemaErrorMap,bo(),ir].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 ar){const a=this;return ot(async function(...c){const l=new vt([]),u=await a._def.args.parseAsync(c,i).catch(g=>{throw l.addIssue(s(c,g)),l}),d=await Reflect.apply(o,this,u);return await a._def.returns._def.type.parseAsync(d,i).catch(g=>{throw l.addIssue(r(d,g)),l})})}else{const a=this;return ot(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 Vs({...this._def,args:on.create(t).rest(fs.create())})}returns(t){return new Vs({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,n,s){return new Vs({args:t||on.create([]).rest(fs.create()),returns:n||fs.create(),typeName:te.ZodFunction,...oe(s)})}}class ni 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})}}ni.create=(e,t)=>new ni({getter:e,typeName:te.ZodLazy,...oe(t)});class si extends le{_parse(t){if(t.data!==this._def.value){const n=this._getOrReturnCtx(t);return z(n,{received:n.data,code:M.invalid_literal,expected:this._def.value}),se}return{status:"valid",value:t.data}}get value(){return this._def.value}}si.create=(e,t)=>new si({value:e,typeName:te.ZodLiteral,...oe(t)});function iy(e,t){return new $n({values:e,typeName:te.ZodEnum,...oe(t)})}class $n extends le{constructor(){super(...arguments),Rr.set(this,void 0)}_parse(t){if(typeof t.data!="string"){const n=this._getOrReturnCtx(t),s=this._def.values;return z(n,{expected:me.joinValues(s),received:n.parsedType,code:M.invalid_type}),se}if(So(this,Rr)||ty(this,Rr,new Set(this._def.values)),!So(this,Rr).has(t.data)){const n=this._getOrReturnCtx(t),s=this._def.values;return z(n,{received:n.data,code:M.invalid_enum_value,options:s}),se}return ot(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 $n.create(t,{...this._def,...n})}exclude(t,n=this._def){return $n.create(this.options.filter(s=>!t.includes(s)),{...this._def,...n})}}Rr=new WeakMap;$n.create=iy;class ri extends le{constructor(){super(...arguments),Nr.set(this,void 0)}_parse(t){const n=me.getValidEnumValues(this._def.values),s=this._getOrReturnCtx(t);if(s.parsedType!==H.string&&s.parsedType!==H.number){const r=me.objectValues(n);return z(s,{expected:me.joinValues(r),received:s.parsedType,code:M.invalid_type}),se}if(So(this,Nr)||ty(this,Nr,new Set(me.getValidEnumValues(this._def.values))),!So(this,Nr).has(t.data)){const r=me.objectValues(n);return z(s,{received:s.data,code:M.invalid_enum_value,options:r}),se}return ot(t.data)}get enum(){return this._def.values}}Nr=new WeakMap;ri.create=(e,t)=>new ri({values:e,typeName:te.ZodNativeEnum,...oe(t)});class ar extends le{unwrap(){return this._def.type}_parse(t){const{ctx:n}=this._processInputParams(t);if(n.parsedType!==H.promise&&n.common.async===!1)return z(n,{code:M.invalid_type,expected:H.promise,received:n.parsedType}),se;const s=n.parsedType===H.promise?n.data:Promise.resolve(n.data);return ot(s.then(r=>this._def.type.parseAsync(r,{path:n.path,errorMap:n.common.contextualErrorMap})))}}ar.create=(e,t)=>new ar({type:e,typeName:te.ZodPromise,...oe(t)});class Vt extends le{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===te.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=>{z(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 se;const c=await this._def.schema._parseAsync({data:a,path:s.path,parent:s});return c.status==="aborted"?se:c.status==="dirty"||n.value==="dirty"?Ms(c.value):c});{if(n.value==="aborted")return se;const a=this._def.schema._parseSync({data:o,path:s.path,parent:s});return a.status==="aborted"?se:a.status==="dirty"||n.value==="dirty"?Ms(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"?se:(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"?se:(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(!ys(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=>ys(o)?Promise.resolve(r.transform(o.value,i)).then(a=>({status:n.value,value:a})):o);me.assertNever(r)}}Vt.create=(e,t,n)=>new Vt({schema:e,typeName:te.ZodEffects,effect:t,...oe(n)});Vt.createWithPreprocess=(e,t,n)=>new Vt({schema:t,effect:{type:"preprocess",transform:e},typeName:te.ZodEffects,...oe(n)});class nn extends le{_parse(t){return this._getType(t)===H.undefined?ot(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}nn.create=(e,t)=>new nn({innerType:e,typeName:te.ZodOptional,...oe(t)});class zn extends le{_parse(t){return this._getType(t)===H.null?ot(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}zn.create=(e,t)=>new zn({innerType:e,typeName:te.ZodNullable,...oe(t)});class ii extends le{_parse(t){const{ctx:n}=this._processInputParams(t);let s=n.data;return n.parsedType===H.undefined&&(s=this._def.defaultValue()),this._def.innerType._parse({data:s,path:n.path,parent:n})}removeDefault(){return this._def.innerType}}ii.create=(e,t)=>new ii({innerType:e,typeName:te.ZodDefault,defaultValue:typeof t.default=="function"?t.default:()=>t.default,...oe(t)});class oi 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 Gr(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}}oi.create=(e,t)=>new oi({innerType:e,typeName:te.ZodCatch,catchValue:typeof t.catch=="function"?t.catch:()=>t.catch,...oe(t)});class Eo extends le{_parse(t){if(this._getType(t)!==H.nan){const s=this._getOrReturnCtx(t);return z(s,{code:M.invalid_type,expected:H.nan,received:s.parsedType}),se}return{status:"valid",value:t.data}}}Eo.create=e=>new Eo({typeName:te.ZodNaN,...oe(e)});const uA=Symbol("zod_brand");class eu 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 Ci 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"?se:i.status==="dirty"?(n.dirty(),Ms(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"?se: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 Ci({in:t,out:n,typeName:te.ZodPipeline})}}class ai extends le{_parse(t){const n=this._def.innerType._parse(t),s=r=>(ys(r)&&(r.value=Object.freeze(r.value)),r);return Gr(n)?n.then(r=>s(r)):s(n)}unwrap(){return this._def.innerType}}ai.create=(e,t)=>new ai({innerType:e,typeName:te.ZodReadonly,...oe(t)});function oy(e,t={},n){return e?or.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})}}):or.create()}const dA={object:Ae.lazycreate};var te;(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"})(te||(te={}));const fA=(e,t={message:`Input not instance of ${e.name}`})=>oy(n=>n instanceof e,t),ay=Dt.create,cy=Bn.create,hA=Eo.create,pA=Un.create,ly=Qr.create,mA=vs.create,gA=_o.create,yA=Xr.create,vA=Yr.create,xA=or.create,bA=fs.create,wA=xn.create,SA=To.create,_A=Mt.create,TA=Ae.create,CA=Ae.strictCreate,EA=Jr.create,AA=Go.create,PA=ei.create,RA=on.create,NA=ti.create,kA=Co.create,jA=xs.create,OA=Vs.create,DA=ni.create,MA=si.create,FA=$n.create,LA=ri.create,IA=ar.create,Af=Vt.create,VA=nn.create,BA=zn.create,UA=Vt.createWithPreprocess,$A=Ci.create,zA=()=>ay().optional(),WA=()=>cy().optional(),HA=()=>ly().optional(),qA={string:e=>Dt.create({...e,coerce:!0}),number:e=>Bn.create({...e,coerce:!0}),boolean:e=>Qr.create({...e,coerce:!0}),bigint:e=>Un.create({...e,coerce:!0}),date:e=>vs.create({...e,coerce:!0})},ZA=se;var Pf=Object.freeze({__proto__:null,defaultErrorMap:ir,setErrorMap:UE,getErrorMap:bo,makeIssue:wo,EMPTY_PATH:$E,addIssueToContext:z,ParseStatus:Ye,INVALID:se,DIRTY:Ms,OK:ot,isAborted:gc,isDirty:yc,isValid:ys,isAsync:Gr,get util(){return me},get objectUtil(){return mc},ZodParsedType:H,getParsedType:fn,ZodType:le,datetimeRegex:ry,ZodString:Dt,ZodNumber:Bn,ZodBigInt:Un,ZodBoolean:Qr,ZodDate:vs,ZodSymbol:_o,ZodUndefined:Xr,ZodNull:Yr,ZodAny:or,ZodUnknown:fs,ZodNever:xn,ZodVoid:To,ZodArray:Mt,ZodObject:Ae,ZodUnion:Jr,ZodDiscriminatedUnion:Go,ZodIntersection:ei,ZodTuple:on,ZodRecord:ti,ZodMap:Co,ZodSet:xs,ZodFunction:Vs,ZodLazy:ni,ZodLiteral:si,ZodEnum:$n,ZodNativeEnum:ri,ZodPromise:ar,ZodEffects:Vt,ZodTransformer:Vt,ZodOptional:nn,ZodNullable:zn,ZodDefault:ii,ZodCatch:oi,ZodNaN:Eo,BRAND:uA,ZodBranded:eu,ZodPipeline:Ci,ZodReadonly:ai,custom:oy,Schema:le,ZodSchema:le,late:dA,get ZodFirstPartyTypeKind(){return te},coerce:qA,any:xA,array:_A,bigint:pA,boolean:ly,date:mA,discriminatedUnion:AA,effect:Af,enum:FA,function:OA,instanceof:fA,intersection:PA,lazy:DA,literal:MA,map:kA,nan:hA,nativeEnum:LA,never:wA,null:vA,nullable:BA,number:cy,object:TA,oboolean:HA,onumber:WA,optional:VA,ostring:zA,pipeline:$A,preprocess:UA,promise:IA,record:NA,set:jA,strictObject:CA,string:ay,symbol:gA,transformer:Af,tuple:RA,undefined:yA,union:EA,unknown:bA,void:SA,NEVER:ZA,ZodIssueCode:M,quotelessJson:BE,ZodError:vt});const Oa=(e,t)=>Ee(s=>s.lang)==="ru"?e:t;function uy(e,t){return function(){return e.apply(t,arguments)}}const{toString:KA}=Object.prototype,{getPrototypeOf:tu}=Object,Qo=(e=>t=>{const n=KA.call(t);return e[n]||(e[n]=n.slice(8,-1).toLowerCase())})(Object.create(null)),$t=e=>(e=e.toLowerCase(),t=>Qo(t)===e),Xo=e=>t=>typeof t===e,{isArray:mr}=Array,ci=Xo("undefined");function GA(e){return e!==null&&!ci(e)&&e.constructor!==null&&!ci(e.constructor)&&xt(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const dy=$t("ArrayBuffer");function QA(e){let t;return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?t=ArrayBuffer.isView(e):t=e&&e.buffer&&dy(e.buffer),t}const XA=Xo("string"),xt=Xo("function"),fy=Xo("number"),Yo=e=>e!==null&&typeof e=="object",YA=e=>e===!0||e===!1,eo=e=>{if(Qo(e)!=="object")return!1;const t=tu(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)},JA=$t("Date"),eP=$t("File"),tP=$t("Blob"),nP=$t("FileList"),sP=e=>Yo(e)&&xt(e.pipe),rP=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]"))},iP=$t("URLSearchParams"),[oP,aP,cP,lP]=["ReadableStream","Request","Response","Headers"].map($t),uP=e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"");function Ei(e,t,{allOwnKeys:n=!1}={}){if(e===null||typeof e>"u")return;let s,r;if(typeof e!="object"&&(e=[e]),mr(e))for(s=0,r=e.length;s0;)if(r=n[s],t===r.toLowerCase())return r;return null}const ts=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:global,py=e=>!ci(e)&&e!==ts;function xc(){const{caseless:e}=py(this)&&this||{},t={},n=(s,r)=>{const i=e&&hy(t,r)||r;eo(t[i])&&eo(s)?t[i]=xc(t[i],s):eo(s)?t[i]=xc({},s):mr(s)?t[i]=s.slice():t[i]=s};for(let s=0,r=arguments.length;s(Ei(t,(r,i)=>{n&&xt(r)?e[i]=uy(r,n):e[i]=r},{allOwnKeys:s}),e),fP=e=>(e.charCodeAt(0)===65279&&(e=e.slice(1)),e),hP=(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)},pP=(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&&tu(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},mP=(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},gP=e=>{if(!e)return null;if(mr(e))return e;let t=e.length;if(!fy(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},yP=(e=>t=>e&&t instanceof e)(typeof Uint8Array<"u"&&tu(Uint8Array)),vP=(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])}},xP=(e,t)=>{let n;const s=[];for(;(n=e.exec(t))!==null;)s.push(n);return s},bP=$t("HTMLFormElement"),wP=e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(n,s,r){return s.toUpperCase()+r}),Rf=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),SP=$t("RegExp"),my=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),s={};Ei(n,(r,i)=>{let o;(o=t(r,i,e))!==!1&&(s[i]=o||r)}),Object.defineProperties(e,s)},_P=e=>{my(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+"'")})}})},TP=(e,t)=>{const n={},s=r=>{r.forEach(i=>{n[i]=!0})};return mr(e)?s(e):s(String(e).split(t)),n},CP=()=>{},EP=(e,t)=>e!=null&&Number.isFinite(e=+e)?e:t,Da="abcdefghijklmnopqrstuvwxyz",Nf="0123456789",gy={DIGIT:Nf,ALPHA:Da,ALPHA_DIGIT:Da+Da.toUpperCase()+Nf},AP=(e=16,t=gy.ALPHA_DIGIT)=>{let n="";const{length:s}=t;for(;e--;)n+=t[Math.random()*s|0];return n};function PP(e){return!!(e&&xt(e.append)&&e[Symbol.toStringTag]==="FormData"&&e[Symbol.iterator])}const RP=e=>{const t=new Array(10),n=(s,r)=>{if(Yo(s)){if(t.indexOf(s)>=0)return;if(!("toJSON"in s)){t[r]=s;const i=mr(s)?[]:{};return Ei(s,(o,a)=>{const c=n(o,r+1);!ci(c)&&(i[a]=c)}),t[r]=void 0,i}}return s};return n(e,0)},NP=$t("AsyncFunction"),kP=e=>e&&(Yo(e)||xt(e))&&xt(e.then)&&xt(e.catch),yy=((e,t)=>e?setImmediate:t?((n,s)=>(ts.addEventListener("message",({source:r,data:i})=>{r===ts&&i===n&&s.length&&s.shift()()},!1),r=>{s.push(r),ts.postMessage(n,"*")}))(`axios@${Math.random()}`,[]):n=>setTimeout(n))(typeof setImmediate=="function",xt(ts.postMessage)),jP=typeof queueMicrotask<"u"?queueMicrotask.bind(ts):typeof process<"u"&&process.nextTick||yy,N={isArray:mr,isArrayBuffer:dy,isBuffer:GA,isFormData:rP,isArrayBufferView:QA,isString:XA,isNumber:fy,isBoolean:YA,isObject:Yo,isPlainObject:eo,isReadableStream:oP,isRequest:aP,isResponse:cP,isHeaders:lP,isUndefined:ci,isDate:JA,isFile:eP,isBlob:tP,isRegExp:SP,isFunction:xt,isStream:sP,isURLSearchParams:iP,isTypedArray:yP,isFileList:nP,forEach:Ei,merge:xc,extend:dP,trim:uP,stripBOM:fP,inherits:hP,toFlatObject:pP,kindOf:Qo,kindOfTest:$t,endsWith:mP,toArray:gP,forEachEntry:vP,matchAll:xP,isHTMLForm:bP,hasOwnProperty:Rf,hasOwnProp:Rf,reduceDescriptors:my,freezeMethods:_P,toObjectSet:TP,toCamelCase:wP,noop:CP,toFiniteNumber:EP,findKey:hy,global:ts,isContextDefined:py,ALPHABET:gy,generateString:AP,isSpecCompliantForm:PP,toJSONObject:RP,isAsyncFn:NP,isThenable:kP,setImmediate:yy,asap:jP};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)}N.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:N.toJSONObject(this.config),code:this.code,status:this.status}}});const vy=ie.prototype,xy={};["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=>{xy[e]={value:e}});Object.defineProperties(ie,xy);Object.defineProperty(vy,"isAxiosError",{value:!0});ie.from=(e,t,n,s,r,i)=>{const o=Object.create(vy);return N.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 OP=null;function bc(e){return N.isPlainObject(e)||N.isArray(e)}function by(e){return N.endsWith(e,"[]")?e.slice(0,-2):e}function kf(e,t,n){return e?e.concat(t).map(function(r,i){return r=by(r),!n&&i?"["+r+"]":r}).join(n?".":""):t}function DP(e){return N.isArray(e)&&!e.some(bc)}const MP=N.toFlatObject(N,{},null,function(t){return/^is[A-Z]/.test(t)});function Jo(e,t,n){if(!N.isObject(e))throw new TypeError("target must be an object");t=t||new FormData,n=N.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(p,y){return!N.isUndefined(y[p])});const s=n.metaTokens,r=n.visitor||u,i=n.dots,o=n.indexes,c=(n.Blob||typeof Blob<"u"&&Blob)&&N.isSpecCompliantForm(t);if(!N.isFunction(r))throw new TypeError("visitor must be a function");function l(m){if(m===null)return"";if(N.isDate(m))return m.toISOString();if(!c&&N.isBlob(m))throw new ie("Blob is not supported. Use a Buffer instead.");return N.isArrayBuffer(m)||N.isTypedArray(m)?c&&typeof Blob=="function"?new Blob([m]):Buffer.from(m):m}function u(m,p,y){let v=m;if(m&&!y&&typeof m=="object"){if(N.endsWith(p,"{}"))p=s?p:p.slice(0,-2),m=JSON.stringify(m);else if(N.isArray(m)&&DP(m)||(N.isFileList(m)||N.endsWith(p,"[]"))&&(v=N.toArray(m)))return p=by(p),v.forEach(function(w,T){!(N.isUndefined(w)||w===null)&&t.append(o===!0?kf([p],T,i):o===null?p:p+"[]",l(w))}),!1}return bc(m)?!0:(t.append(kf(y,p,i),l(m)),!1)}const d=[],f=Object.assign(MP,{defaultVisitor:u,convertValue:l,isVisitable:bc});function g(m,p){if(!N.isUndefined(m)){if(d.indexOf(m)!==-1)throw Error("Circular reference detected in "+p.join("."));d.push(m),N.forEach(m,function(v,b){(!(N.isUndefined(v)||v===null)&&r.call(t,v,N.isString(b)?b.trim():b,p,f))===!0&&g(v,p?p.concat(b):[b])}),d.pop()}}if(!N.isObject(e))throw new TypeError("data must be an object");return g(e),t}function jf(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(s){return t[s]})}function nu(e,t){this._pairs=[],e&&Jo(e,this,t)}const wy=nu.prototype;wy.append=function(t,n){this._pairs.push([t,n])};wy.toString=function(t){const n=t?function(s){return t.call(this,s,jf)}:jf;return this._pairs.map(function(r){return n(r[0])+"="+n(r[1])},"").join("&")};function FP(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function Sy(e,t,n){if(!t)return e;const s=n&&n.encode||FP;N.isFunction(n)&&(n={serialize:n});const r=n&&n.serialize;let i;if(r?i=r(t,n):i=N.isURLSearchParams(t)?t.toString():new nu(t,n).toString(s),i){const o=e.indexOf("#");o!==-1&&(e=e.slice(0,o)),e+=(e.indexOf("?")===-1?"?":"&")+i}return e}class Of{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){N.forEach(this.handlers,function(s){s!==null&&t(s)})}}const _y={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},LP=typeof URLSearchParams<"u"?URLSearchParams:nu,IP=typeof FormData<"u"?FormData:null,VP=typeof Blob<"u"?Blob:null,BP={isBrowser:!0,classes:{URLSearchParams:LP,FormData:IP,Blob:VP},protocols:["http","https","file","blob","url","data"]},su=typeof window<"u"&&typeof document<"u",wc=typeof navigator=="object"&&navigator||void 0,UP=su&&(!wc||["ReactNative","NativeScript","NS"].indexOf(wc.product)<0),$P=typeof WorkerGlobalScope<"u"&&self instanceof WorkerGlobalScope&&typeof self.importScripts=="function",zP=su&&window.location.href||"http://localhost",WP=Object.freeze(Object.defineProperty({__proto__:null,hasBrowserEnv:su,hasStandardBrowserEnv:UP,hasStandardBrowserWebWorkerEnv:$P,navigator:wc,origin:zP},Symbol.toStringTag,{value:"Module"})),Qe={...WP,...BP};function HP(e,t){return Jo(e,new Qe.classes.URLSearchParams,Object.assign({visitor:function(n,s,r,i){return Qe.isNode&&N.isBuffer(n)?(this.append(s,n.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)}},t))}function qP(e){return N.matchAll(/\w+|\[(\w*)]/g,e).map(t=>t[0]==="[]"?"":t[1]||t[0])}function ZP(e){const t={},n=Object.keys(e);let s;const r=n.length;let i;for(s=0;s=n.length;return o=!o&&N.isArray(r)?r.length:o,c?(N.hasOwnProp(r,o)?r[o]=[r[o],s]:r[o]=s,!a):((!r[o]||!N.isObject(r[o]))&&(r[o]=[]),t(n,s,r[o],i)&&N.isArray(r[o])&&(r[o]=ZP(r[o])),!a)}if(N.isFormData(e)&&N.isFunction(e.entries)){const n={};return N.forEachEntry(e,(s,r)=>{t(qP(s),r,n,0)}),n}return null}function KP(e,t,n){if(N.isString(e))try{return(t||JSON.parse)(e),N.trim(e)}catch(s){if(s.name!=="SyntaxError")throw s}return(0,JSON.stringify)(e)}const Ai={transitional:_y,adapter:["xhr","http","fetch"],transformRequest:[function(t,n){const s=n.getContentType()||"",r=s.indexOf("application/json")>-1,i=N.isObject(t);if(i&&N.isHTMLForm(t)&&(t=new FormData(t)),N.isFormData(t))return r?JSON.stringify(Ty(t)):t;if(N.isArrayBuffer(t)||N.isBuffer(t)||N.isStream(t)||N.isFile(t)||N.isBlob(t)||N.isReadableStream(t))return t;if(N.isArrayBufferView(t))return t.buffer;if(N.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 HP(t,this.formSerializer).toString();if((a=N.isFileList(t))||s.indexOf("multipart/form-data")>-1){const c=this.env&&this.env.FormData;return Jo(a?{"files[]":t}:t,c&&new c,this.formSerializer)}}return i||r?(n.setContentType("application/json",!1),KP(t)):t}],transformResponse:[function(t){const n=this.transitional||Ai.transitional,s=n&&n.forcedJSONParsing,r=this.responseType==="json";if(N.isResponse(t)||N.isReadableStream(t))return t;if(t&&N.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:Qe.classes.FormData,Blob:Qe.classes.Blob},validateStatus:function(t){return t>=200&&t<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};N.forEach(["delete","get","head","post","put","patch"],e=>{Ai.headers[e]={}});const GP=N.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"]),QP=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]&&GP[n])&&(n==="set-cookie"?t[n]?t[n].push(s):t[n]=[s]:t[n]=t[n]?t[n]+", "+s:s)}),t},Df=Symbol("internals");function Cr(e){return e&&String(e).trim().toLowerCase()}function to(e){return e===!1||e==null?e:N.isArray(e)?e.map(to):String(e)}function XP(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 YP=e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());function Ma(e,t,n,s,r){if(N.isFunction(s))return s.call(this,t,n);if(r&&(t=n),!!N.isString(t)){if(N.isString(s))return t.indexOf(s)!==-1;if(N.isRegExp(s))return s.test(t)}}function JP(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(t,n,s)=>n.toUpperCase()+s)}function eR(e,t){const n=N.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 dt{constructor(t){t&&this.set(t)}set(t,n,s){const r=this;function i(a,c,l){const u=Cr(c);if(!u)throw new Error("header name must be a non-empty string");const d=N.findKey(r,u);(!d||r[d]===void 0||l===!0||l===void 0&&r[d]!==!1)&&(r[d||c]=to(a))}const o=(a,c)=>N.forEach(a,(l,u)=>i(l,u,c));if(N.isPlainObject(t)||t instanceof this.constructor)o(t,n);else if(N.isString(t)&&(t=t.trim())&&!YP(t))o(QP(t),n);else if(N.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=Cr(t),t){const s=N.findKey(this,t);if(s){const r=this[s];if(!n)return r;if(n===!0)return XP(r);if(N.isFunction(n))return n.call(this,r,s);if(N.isRegExp(n))return n.exec(r);throw new TypeError("parser must be boolean|regexp|function")}}}has(t,n){if(t=Cr(t),t){const s=N.findKey(this,t);return!!(s&&this[s]!==void 0&&(!n||Ma(this,this[s],s,n)))}return!1}delete(t,n){const s=this;let r=!1;function i(o){if(o=Cr(o),o){const a=N.findKey(s,o);a&&(!n||Ma(s,s[a],a,n))&&(delete s[a],r=!0)}}return N.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||Ma(this,this[i],i,t,!0))&&(delete this[i],r=!0)}return r}normalize(t){const n=this,s={};return N.forEach(this,(r,i)=>{const o=N.findKey(s,i);if(o){n[o]=to(r),delete n[i];return}const a=t?JP(i):String(i).trim();a!==i&&delete n[i],n[a]=to(r),s[a]=!0}),this}concat(...t){return this.constructor.concat(this,...t)}toJSON(t){const n=Object.create(null);return N.forEach(this,(s,r)=>{s!=null&&s!==!1&&(n[r]=t&&N.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[Df]=this[Df]={accessors:{}}).accessors,r=this.prototype;function i(o){const a=Cr(o);s[a]||(eR(r,o),s[a]=!0)}return N.isArray(t)?t.forEach(i):i(t),this}}dt.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]);N.reduceDescriptors(dt.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(s){this[n]=s}}});N.freezeMethods(dt);function Fa(e,t){const n=this||Ai,s=t||n,r=dt.from(s.headers);let i=s.data;return N.forEach(e,function(a){i=a.call(n,i,r.normalize(),t?t.status:void 0)}),r.normalize(),i}function Cy(e){return!!(e&&e.__CANCEL__)}function gr(e,t,n){ie.call(this,e??"canceled",ie.ERR_CANCELED,t,n),this.name="CanceledError"}N.inherits(gr,ie,{__CANCEL__:!0});function Ey(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 tR(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}function nR(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 Ao=(e,t,n=3)=>{let s=0;const r=nR(50,250);return sR(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)},Mf=(e,t)=>{const n=e!=null;return[s=>t[0]({lengthComputable:n,total:e,loaded:s}),t[1]]},Ff=e=>(...t)=>N.asap(()=>e(...t)),rR=Qe.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,Qe.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(Qe.origin),Qe.navigator&&/(msie|trident)/i.test(Qe.navigator.userAgent)):()=>!0,iR=Qe.hasStandardBrowserEnv?{write(e,t,n,s,r,i){const o=[e+"="+encodeURIComponent(t)];N.isNumber(n)&&o.push("expires="+new Date(n).toGMTString()),N.isString(s)&&o.push("path="+s),N.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 oR(e){return/^([a-z][a-z\d+\-.]*:)?\/\//i.test(e)}function aR(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}function Ay(e,t){return e&&!oR(t)?aR(e,t):t}const Lf=e=>e instanceof dt?{...e}:e;function bs(e,t){t=t||{};const n={};function s(l,u,d,f){return N.isPlainObject(l)&&N.isPlainObject(u)?N.merge.call({caseless:f},l,u):N.isPlainObject(u)?N.merge({},u):N.isArray(u)?u.slice():u}function r(l,u,d,f){if(N.isUndefined(u)){if(!N.isUndefined(l))return s(void 0,l,d,f)}else return s(l,u,d,f)}function i(l,u){if(!N.isUndefined(u))return s(void 0,u)}function o(l,u){if(N.isUndefined(u)){if(!N.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(Lf(l),Lf(u),d,!0)};return N.forEach(Object.keys(Object.assign({},e,t)),function(u){const d=c[u]||r,f=d(e[u],t[u],u);N.isUndefined(f)&&d!==a||(n[u]=f)}),n}const Py=e=>{const t=bs({},e);let{data:n,withXSRFToken:s,xsrfHeaderName:r,xsrfCookieName:i,headers:o,auth:a}=t;t.headers=o=dt.from(o),t.url=Sy(Ay(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(N.isFormData(n)){if(Qe.hasStandardBrowserEnv||Qe.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(Qe.hasStandardBrowserEnv&&(s&&N.isFunction(s)&&(s=s(t)),s||s!==!1&&rR(t.url))){const l=r&&i&&iR.read(i);l&&o.set(r,l)}return t},cR=typeof XMLHttpRequest<"u",lR=cR&&function(e){return new Promise(function(n,s){const r=Py(e);let i=r.data;const o=dt.from(r.headers).normalize();let{responseType:a,onUploadProgress:c,onDownloadProgress:l}=r,u,d,f,g,m;function p(){g&&g(),m&&m(),r.cancelToken&&r.cancelToken.unsubscribe(u),r.signal&&r.signal.removeEventListener("abort",u)}let y=new XMLHttpRequest;y.open(r.method.toUpperCase(),r.url,!0),y.timeout=r.timeout;function v(){if(!y)return;const w=dt.from("getAllResponseHeaders"in y&&y.getAllResponseHeaders()),S={data:!a||a==="text"||a==="json"?y.responseText:y.response,status:y.status,statusText:y.statusText,headers:w,config:e,request:y};Ey(function(P){n(P),p()},function(P){s(P),p()},S),y=null}"onloadend"in y?y.onloadend=v:y.onreadystatechange=function(){!y||y.readyState!==4||y.status===0&&!(y.responseURL&&y.responseURL.indexOf("file:")===0)||setTimeout(v)},y.onabort=function(){y&&(s(new ie("Request aborted",ie.ECONNABORTED,e,y)),y=null)},y.onerror=function(){s(new ie("Network Error",ie.ERR_NETWORK,e,y)),y=null},y.ontimeout=function(){let T=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const S=r.transitional||_y;r.timeoutErrorMessage&&(T=r.timeoutErrorMessage),s(new ie(T,S.clarifyTimeoutError?ie.ETIMEDOUT:ie.ECONNABORTED,e,y)),y=null},i===void 0&&o.setContentType(null),"setRequestHeader"in y&&N.forEach(o.toJSON(),function(T,S){y.setRequestHeader(S,T)}),N.isUndefined(r.withCredentials)||(y.withCredentials=!!r.withCredentials),a&&a!=="json"&&(y.responseType=r.responseType),l&&([f,m]=Ao(l,!0),y.addEventListener("progress",f)),c&&y.upload&&([d,g]=Ao(c),y.upload.addEventListener("progress",d),y.upload.addEventListener("loadend",g)),(r.cancelToken||r.signal)&&(u=w=>{y&&(s(!w||w.type?new gr(null,e,y):w),y.abort(),y=null)},r.cancelToken&&r.cancelToken.subscribe(u),r.signal&&(r.signal.aborted?u():r.signal.addEventListener("abort",u)));const b=tR(r.url);if(b&&Qe.protocols.indexOf(b)===-1){s(new ie("Unsupported protocol "+b+":",ie.ERR_BAD_REQUEST,e));return}y.send(i||null)})},uR=(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 gr(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=()=>N.asap(a),c}},dR=function*(e,t){let n=e.byteLength;if(n{const r=fR(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})},ea=typeof fetch=="function"&&typeof Request=="function"&&typeof Response=="function",Ry=ea&&typeof ReadableStream=="function",pR=ea&&(typeof TextEncoder=="function"?(e=>t=>e.encode(t))(new TextEncoder):async e=>new Uint8Array(await new Response(e).arrayBuffer())),Ny=(e,...t)=>{try{return!!e(...t)}catch{return!1}},mR=Ry&&Ny(()=>{let e=!1;const t=new Request(Qe.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),Vf=64*1024,Sc=Ry&&Ny(()=>N.isReadableStream(new Response("").body)),Po={stream:Sc&&(e=>e.body)};ea&&(e=>{["text","arrayBuffer","blob","formData","stream"].forEach(t=>{!Po[t]&&(Po[t]=N.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 gR=async e=>{if(e==null)return 0;if(N.isBlob(e))return e.size;if(N.isSpecCompliantForm(e))return(await new Request(Qe.origin,{method:"POST",body:e}).arrayBuffer()).byteLength;if(N.isArrayBufferView(e)||N.isArrayBuffer(e))return e.byteLength;if(N.isURLSearchParams(e)&&(e=e+""),N.isString(e))return(await pR(e)).byteLength},yR=async(e,t)=>{const n=N.toFiniteNumber(e.getContentLength());return n??gR(t)},vR=ea&&(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}=Py(e);l=l?(l+"").toLowerCase():"text";let g=uR([r,i&&i.toAbortSignal()],o),m;const p=g&&g.unsubscribe&&(()=>{g.unsubscribe()});let y;try{if(c&&mR&&n!=="get"&&n!=="head"&&(y=await yR(u,s))!==0){let S=new Request(t,{method:"POST",body:s,duplex:"half"}),A;if(N.isFormData(s)&&(A=S.headers.get("content-type"))&&u.setContentType(A),S.body){const[P,E]=Mf(y,Ao(Ff(c)));s=If(S.body,Vf,P,E)}}N.isString(d)||(d=d?"include":"omit");const v="credentials"in Request.prototype;m=new Request(t,{...f,signal:g,method:n.toUpperCase(),headers:u.normalize().toJSON(),body:s,duplex:"half",credentials:v?d:void 0});let b=await fetch(m);const w=Sc&&(l==="stream"||l==="response");if(Sc&&(a||w&&p)){const S={};["status","statusText","headers"].forEach(j=>{S[j]=b[j]});const A=N.toFiniteNumber(b.headers.get("content-length")),[P,E]=a&&Mf(A,Ao(Ff(a),!0))||[];b=new Response(If(b.body,Vf,P,()=>{E&&E(),p&&p()}),S)}l=l||"text";let T=await Po[N.findKey(Po,l)||"text"](b,e);return!w&&p&&p(),await new Promise((S,A)=>{Ey(S,A,{data:T,headers:dt.from(b.headers),status:b.status,statusText:b.statusText,config:e,request:m})})}catch(v){throw p&&p(),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)}}),_c={http:OP,xhr:lR,fetch:vR};N.forEach(_c,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch{}Object.defineProperty(e,"adapterName",{value:t})}});const Bf=e=>`- ${e}`,xR=e=>N.isFunction(e)||e===null||e===!1,ky={getAdapter:e=>{e=N.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(Bf).join(` +`):" "+Bf(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:_c};function La(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new gr(null,e)}function Uf(e){return La(e),e.headers=dt.from(e.headers),e.data=Fa.call(e,e.transformRequest),["post","put","patch"].indexOf(e.method)!==-1&&e.headers.setContentType("application/x-www-form-urlencoded",!1),ky.getAdapter(e.adapter||Ai.adapter)(e).then(function(s){return La(e),s.data=Fa.call(e,e.transformResponse,s),s.headers=dt.from(s.headers),s},function(s){return Cy(s)||(La(e),s&&s.response&&(s.response.data=Fa.call(e,e.transformResponse,s.response),s.response.headers=dt.from(s.response.headers))),Promise.reject(s)})}const jy="1.7.9",ta={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ta[e]=function(s){return typeof s===e||"a"+(t<1?"n ":" ")+e}});const $f={};ta.transitional=function(t,n,s){function r(i,o){return"[Axios v"+jy+"] 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&&!$f[o]&&($f[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}};ta.spelling=function(t){return(n,s)=>(console.warn(`${s} is likely a misspelling of ${t}`),!0)};function bR(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 no={assertOptions:bR,validators:ta},Ht=no.validators;class hs{constructor(t){this.defaults=t,this.interceptors={request:new Of,response:new Of}}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=bs(this.defaults,n);const{transitional:s,paramsSerializer:r,headers:i}=n;s!==void 0&&no.assertOptions(s,{silentJSONParsing:Ht.transitional(Ht.boolean),forcedJSONParsing:Ht.transitional(Ht.boolean),clarifyTimeoutError:Ht.transitional(Ht.boolean)},!1),r!=null&&(N.isFunction(r)?n.paramsSerializer={serialize:r}:no.assertOptions(r,{encode:Ht.function,serialize:Ht.function},!0)),no.assertOptions(n,{baseUrl:Ht.spelling("baseURL"),withXsrfToken:Ht.spelling("withXSRFToken")},!0),n.method=(n.method||this.defaults.method||"get").toLowerCase();let o=i&&N.merge(i.common,i[n.method]);i&&N.forEach(["delete","get","head","post","put","patch","common"],m=>{delete i[m]}),n.headers=dt.concat(o,i);const a=[];let c=!0;this.interceptors.request.forEach(function(p){typeof p.runWhen=="function"&&p.runWhen(n)===!1||(c=c&&p.synchronous,a.unshift(p.fulfilled,p.rejected))});const l=[];this.interceptors.response.forEach(function(p){l.push(p.fulfilled,p.rejected)});let u,d=0,f;if(!c){const m=[Uf.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 gr(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 ru(function(r){t=r}),cancel:t}}}function wR(e){return function(n){return e.apply(null,n)}}function SR(e){return N.isObject(e)&&e.isAxiosError===!0}const Tc={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(Tc).forEach(([e,t])=>{Tc[t]=e});function Oy(e){const t=new hs(e),n=uy(hs.prototype.request,t);return N.extend(n,hs.prototype,t,{allOwnKeys:!0}),N.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Oy(bs(e,r))},n}const Ve=Oy(Ai);Ve.Axios=hs;Ve.CanceledError=gr;Ve.CancelToken=ru;Ve.isCancel=Cy;Ve.VERSION=jy;Ve.toFormData=Jo;Ve.AxiosError=ie;Ve.Cancel=Ve.CanceledError;Ve.all=function(t){return Promise.all(t)};Ve.spread=wR;Ve.isAxiosError=SR;Ve.mergeConfig=bs;Ve.AxiosHeaders=dt;Ve.formToJSON=e=>Ty(N.isHTMLForm(e)?new FormData(e):e);Ve.getAdapter=ky.getAdapter;Ve.HttpStatusCode=Tc;Ve.default=Ve;const Je=Ve.create({baseURL:"https://turkmentextile.turkmenexpo.com/app/api/v1/"}),SN=async e=>(await Je.post("book_stand_form",e)).status===201,_N=async e=>(await Je.post("become_sponsor_form",e)).status===201,TN=async e=>(await Je.post("contact_form",e)).status===201,_R=async e=>(await Je.post("subscribe_news_form",e)).status===201,TR=async(e,t)=>Je.get(`pages/${t}`,{headers:{"Accept-Language":e}}),CR=async e=>Je.get("stats",{headers:{"Accept-Language":e}}),ER=async e=>Je.get("contact_data",{headers:{"Accept-Language":e}}),AR=async e=>Je.get("industries",{headers:{"Accept-Language":e}}),PR=async e=>Je.get("exhibition_time",{headers:{"Accept-Language":e}}),RR=async e=>Je.get("news",{headers:{"Accept-Language":e}}),CN=async(e,t)=>Je.get(`news/${e}`,{headers:{"Accept-Language":t}}),EN=async e=>Je("participants",{headers:{"Accept-Language":e}}),NR=async e=>Je("photos/category/"+e),kR=async e=>Je("videos/category/"+e),jR=async e=>Je("sponsors_and_partners",{headers:{"Accept-Language":e}}),AN=async(e,t)=>Je("designers/category/"+t,{headers:{"Accept-Language":e}}),OR=Pf.object({email:Pf.string().email()}),Dy=({modal:e=!1})=>{var i,o;const[t,n]=x.useState(!1),s=YT({resolver:VE(OR),defaultValues:{email:""}});async function r(a){try{const c=await _R(a);s.reset(),n(c)}catch(c){console.error("POST subscribe",c)}}return h.jsx("form",{onSubmit:s.handleSubmit(r),className:W("py-8",e?"max-w-[392px] mx-auto":"bg-surface_container"),children:h.jsxs(He,{className:W("flex gap-8 justify-between",e?"flex-col w-full":"lg:flex-row flex-col lg:items-center"),children:[h.jsx("h2",{className:"h2 !text-left",children:Oa("Подпишитесь на новости:","Subscribe to the news:")}),h.jsxs("div",{className:"relative",children:[h.jsx("input",{...s.register("email"),placeholder:"Email",className:W("input",{"w-full":e,"xl:w-[392px] lg:w-[320px] w-full":!e})}),h.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})]}),h.jsx(it,{loading:s.formState.isSubmitting,disabled:t,className:W({"xl:w-[288px] lg:w-[220px] w-full":!e,"w-full":e}),children:t?Oa("Отправлено","Submitted"):Oa("Подписаться","Subscribe")})]})})},DR=({className:e,title:t})=>h.jsxs(Qg,{children:[h.jsx(Xg,{className:W("h-14 px-3 flex gap-3 items-center hover:bg-slate-300/50 transition-all",e),children:t}),h.jsx(Jl,{children:h.jsx(Dy,{className:"",modal:!0})})]}),Cc=Gg()(e=>({sheet:!1,popover:!1,modal:!1,setModal:t=>e({modal:t}),setSheet:t=>e({sheet:t}),setPopover:t=>e({popover:t})})),Ro=({title:e,dropDownContent:t,color:n,triggerClassName:s,children:r})=>{const[i,o]=x.useState(!1),a=Cc(c=>c.setSheet);return h.jsxs(Zg,{open:i,onOpenChange:()=>o(!i),children:[h.jsxs(Kg,{className:W("flex items-center gap-2",s),children:[e,r,!r&&h.jsx(My,{color:n})]}),h.jsx(Yl,{className:"w-fit px-0 cursor-pointer bg-surface_container",children:t&&t.map(c=>c.link?h.jsxs(Ce,{onClick:()=>{o(!1),a(!1)},className:"h-14 px-3 flex gap-3 items-center hover:bg-slate-300/50 transition-all",target:c.blank??"",to:c.link,children:[c.text,c.blank&&h.jsx("img",{src:"/pdf.svg"})]},c.text):c.modal?h.jsx(DR,{title:c.text},c.text):h.jsx("div",{className:"h-14 px-3 py-2 flex items-center hover:bg-slate-300/50 transition-all",onClick:()=>{o(!1),a(!1)},children:c.text},c.text))})]})},My=({color:e="white",w:t="20",h:n="20"})=>h.jsx("svg",{width:t,height:n,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:h.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})}),qn=({className:e})=>h.jsx(He,{className:W("w-full py-20 h-full flex items-center justify-between",e),children:h.jsx(Jh,{className:"animate-spin mx-auto text-primary size-16"})});function MR(e){return Object.prototype.toString.call(e)==="[object Object]"}function zf(e){return MR(e)||Array.isArray(e)}function FR(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}function iu(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}`:!zf(a)||!zf(c)?a===c:iu(a,c)})}function Wf(e){return e.concat().sort((t,n)=>t.name>n.name?1:-1).map(t=>t.options)}function LR(e,t){if(e.length!==t.length)return!1;const n=Wf(e),s=Wf(t);return n.every((r,i)=>{const o=s[i];return iu(r,o)})}function ou(e){return typeof e=="number"}function Ec(e){return typeof e=="string"}function na(e){return typeof e=="boolean"}function Hf(e){return Object.prototype.toString.call(e)==="[object Object]"}function Re(e){return Math.abs(e)}function au(e){return Math.sign(e)}function Br(e,t){return Re(e-t)}function IR(e,t){if(e===0||t===0||Re(e)<=Re(t))return 0;const n=Br(Re(e),Re(t));return Re(n/e)}function VR(e){return Math.round(e*100)/100}function li(e){return ui(e).map(Number)}function Ft(e){return e[Pi(e)]}function Pi(e){return Math.max(0,e.length-1)}function cu(e,t){return t===Pi(e)}function qf(e,t=0){return Array.from(Array(e),(n,s)=>t+s)}function ui(e){return Object.keys(e)}function Fy(e,t){return[e,t].reduce((n,s)=>(ui(s).forEach(r=>{const i=n[r],o=s[r],a=Hf(i)&&Hf(o);n[r]=a?Fy(i,o):o}),n),{})}function Ac(e,t){return typeof t.MouseEvent<"u"&&e instanceof t.MouseEvent}function BR(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 Ec(e)?n[e](c):e(t,c,l)}return{measure:o}}function di(){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 UR(e,t,n,s){const r=di(),i=1e3/60;let o=null,a=0,c=0;function l(){r.add(e,"visibilitychange",()=>{e.hidden&&m()})}function u(){g(),r.clear()}function d(y){if(!c)return;o||(o=y,n(),n());const v=y-o;for(o=y,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 g(){t.cancelAnimationFrame(c),o=null,a=0,c=0}function m(){o=null,a=0}return{init:l,destroy:u,start:f,stop:g,update:n,render:s}}function $R(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:p,width:y}=m;return s?p:y}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 ws(e=0,t=0){const n=Re(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 Ly(e,t,n){const{constrain:s}=ws(0,e),r=e+1;let i=o(t);function o(f){return n?Re((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 Ly(e,a(),n)}const d={get:a,set:c,add:l,clone:u};return d}function zR(e,t,n,s,r,i,o,a,c,l,u,d,f,g,m,p,y,v,b){const{cross:w,direction:T}=e,S=["INPUT","SELECT","TEXTAREA"],A={passive:!1},P=di(),E=di(),j=ws(50,225).constrain(g.measure(20)),D={mouse:300,touch:400},L={mouse:500,touch:600},O=m?43:25;let $=!1,I=0,J=0,X=!1,q=!1,Z=!1,re=!1;function de(G){if(!b)return;function fe($e){(na(b)||b(G,$e))&&et($e)}const Se=t;P.add(Se,"dragstart",$e=>$e.preventDefault(),A).add(Se,"touchmove",()=>{},A).add(Se,"touchend",()=>{}).add(Se,"touchstart",fe).add(Se,"mousedown",fe).add(Se,"touchcancel",ye).add(Se,"contextmenu",ye).add(Se,"click",je,!0)}function ge(){P.clear(),E.clear()}function Be(){const G=re?n:t;E.add(G,"touchmove",ue,A).add(G,"touchend",ye).add(G,"mousemove",ue,A).add(G,"mouseup",ye)}function qe(G){const fe=G.nodeName||"";return S.includes(fe)}function Ze(){return(m?L:D)[re?"mouse":"touch"]}function Pt(G,fe){const Se=d.add(au(G)*-1),$e=u.byDistance(G,!m).distance;return m||Re(G)=2,!(fe&&G.button!==0)&&(qe(G.target)||(X=!0,i.pointerDown(G),l.useFriction(0).useDuration(0),r.set(o),Be(),I=i.readPoint(G),J=i.readPoint(G,w),f.emit("pointerDown")))}function ue(G){if(!Ac(G,s)&&G.touches.length>=2)return ye(G);const Se=i.readPoint(G),$e=i.readPoint(G,w),ft=Br(Se,I),bt=Br($e,J);if(!q&&!re&&(!G.cancelable||(q=ft>bt,!q)))return ye(G);const _=i.pointerMove(G);ft>p&&(Z=!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(),$e=i.pointerUp(G)*Ze(),ft=Pt(T($e),Se),bt=IR($e,ft),_=O-10*bt,R=v+bt/50;q=!1,X=!1,E.clear(),l.useDuration(_).useFriction(R),c.distance(ft,!m),re=!1,f.emit("pointerUp")}function je(G){Z&&(G.stopPropagation(),G.preventDefault(),Z=!1)}function Le(){return X}return{init:de,destroy:ge,pointerDown:Le}}function WR(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(Ac(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),g=i(d)-i(s)>170;return r=d,g&&(s=d),f}function l(d){if(!s||!r)return 0;const f=o(r)-o(s),g=i(d)-i(s),m=i(d)-i(r)>170,p=f/g;return g&&!m&&Re(p)>.1?p:0}return{pointerDown:a,pointerMove:c,pointerUp:l,readPoint:o}}function HR(){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 qR(e){function t(s){return e*(s/100)}return{measure:t}}function ZR(e,t,n,s,r,i,o){const a=[e].concat(s);let c,l,u=[],d=!1;function f(y){return r.measureSize(o.measure(y))}function g(y){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),A=T?l:u[S],P=f(T?e:s[S]);if(Re(P-A)>=.5){y.reInit(),t.emit("resize");break}}}c=new ResizeObserver(b=>{(na(i)||i(y,b))&&v(b)}),n.requestAnimationFrame(()=>{a.forEach(b=>c.observe(b))})}function m(){d=!0,c&&c.disconnect()}return{init:g,destroy:m}}function KR(e,t,n,s,r,i){let o=0,a=0,c=r,l=i,u=e.get(),d=0;function f(){const A=s.get()-e.get(),P=!c;let E=0;return P?(o=0,n.set(s),e.set(s),E=A):(n.set(e),o+=A/c,o*=l,u+=o,e.add(o),E=u-d),a=au(E),d=u,S}function g(){const A=s.get()-t.get();return Re(A)<.001}function m(){return c}function p(){return a}function y(){return o}function v(){return w(r)}function b(){return T(i)}function w(A){return c=A,S}function T(A){return l=A,S}const S={direction:p,duration:m,velocity:y,seek:f,settled:g,useBaseFriction:b,useBaseDuration:v,useFriction:T,useDuration:w};return S}function GR(e,t,n,s,r){const i=r.measure(10),o=r.measure(50),a=ws(.1,.99);let c=!1;function l(){return!(c||!e.reachedAny(n.get())||!e.reachedAny(t.get()))}function u(g){if(!l())return;const m=e.reachedMin(t.get())?"min":"max",p=Re(e[m]-t.get()),y=n.get()-t.get(),v=a.constrain(p/o);n.subtract(y*v),!g&&Re(y){const{min:y,max:v}=i,b=i.constrain(m),w=!p,T=cu(n,p);return w?v:T||l(y,b)?y: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:p}=a;return o.slice(m,p)}return{snapsContained:c,scrollContainLimit:a}}function XR(e,t,n){const s=t[0],r=n?s-e:Ft(t);return{limit:ws(r,s)}}function YR(e,t,n,s){const i=t.min+.1,o=t.max+.1,{reachedMin:a,reachedMax:c}=ws(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 g=e*(f*-1);s.forEach(m=>m.add(g))}return{loop:u}}function JR(e){const{max:t,length:n}=e;function s(i){const o=i-t;return n?o/-n:0}return{get:s}}function e1(e,t,n,s,r){const{startEdge:i,endEdge:o}=e,{groupSlides:a}=r,c=d().map(t.measure),l=f(),u=g();function d(){return a(s).map(p=>Ft(p)[o]-p[0][i]).map(Re)}function f(){return s.map(p=>n[i]-p[i]).map(p=>-Re(p))}function g(){return a(l).map(p=>p[0]).map((p,y)=>p+c[y])}return{snaps:l,snapsAligned:u}}function t1(e,t,n,s,r,i){const{groupSlides:o}=r,{min:a,max:c}=s,l=u();function u(){const f=o(i),g=!e||t==="keepSnaps";return n.length===1?[i]:g?f:f.slice(a,c).map((m,p,y)=>{const v=!p,b=cu(y,p);if(v){const w=Ft(y[0])+1;return qf(w)}if(b){const w=Pi(i)-Ft(y)[0]+1;return qf(w,Ft(y)[0])}return m})}return{slideRegistry:l}}function n1(e,t,n,s,r){const{reachedAny:i,removeOffset:o,constrain:a}=s;function c(m){return m.concat().sort((p,y)=>Re(p)-Re(y))[0]}function l(m){const p=e?o(m):a(m),y=t.map((b,w)=>({diff:u(b-p,0),index:w})).sort((b,w)=>Re(b.diff)-Re(w.diff)),{index:v}=y[0];return{index:v,distance:p}}function u(m,p){const y=[m,m+n,m-n];if(!e)return m;if(!p)return c(y);const v=y.filter(b=>au(b)===p);return v.length?c(v):Ft(y)-n}function d(m,p){const y=t[m]-r.get(),v=u(y,p);return{index:m,distance:v}}function f(m,p){const y=r.get()+m,{index:v,distance:b}=l(y),w=!e&&i(y);if(!p||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 s1(e,t,n,s,r,i,o){function a(d){const f=d.distance,g=d.index!==t.get();i.add(f),f&&(s.duration()?e.start():(e.update(),e.render(1),e.update())),g&&(n.set(t.get()),t.set(d.index),o.emit("select"))}function c(d,f){const g=r.byDistance(d,f);a(g)}function l(d,f){const g=t.clone().set(d),m=r.byIndex(g.get(),f);a(m)}return{distance:c,index:l}}function r1(e,t,n,s,r,i,o,a){const c={passive:!0,capture:!0};let l=0;function u(g){if(!a)return;function m(p){if(new Date().getTime()-l>10)return;o.emit("slideFocusStart"),e.scrollLeft=0;const b=n.findIndex(w=>w.includes(p));ou(b)&&(r.useDuration(0),s.index(b,0),o.emit("slideFocus"))}i.add(document,"keydown",d,!1),t.forEach((p,y)=>{i.add(p,"focus",v=>{(na(a)||a(g,v))&&m(y)},c)})}function d(g){g.code==="Tab"&&(l=new Date().getTime())}return{init:u}}function kr(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 ou(c)?c:c.get()}return{get:n,set:s,add:r,subtract:i}}function Iy(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 g=VR(e.direction(f));g!==r&&(s.transform=n(g),r=g)}function l(f){i=!f}function u(){i||(s.transform="",t.getAttribute("style")||t.removeAttribute("style"))}return{clear:u,to:c,toggleActive:l}}function i1(e,t,n,s,r,i,o,a,c){const u=li(r),d=li(r).reverse(),f=v().concat(b());function g(P,E){return P.reduce((j,D)=>j-r[D],E)}function m(P,E){return P.reduce((j,D)=>g(j,E)>0?j.concat([D]):j,[])}function p(P){return i.map((E,j)=>({start:E-s[j]+.5+P,end:E+t-.5+P}))}function y(P,E,j){const D=p(E);return P.map(L=>{const O=j?0:-n,$=j?n:0,I=j?"end":"start",J=D[L][I];return{index:L,loopPoint:J,slideLocation:kr(-1),translate:Iy(e,c[L]),target:()=>a.get()>J?O:$}})}function v(){const P=o[0],E=m(d,P);return y(E,n,!1)}function b(){const P=t-o[0]-1,E=m(u,P);return y(E,-n,!0)}function w(){return f.every(({index:P})=>{const E=u.filter(j=>j!==P);return g(E,t)<=.1})}function T(){f.forEach(P=>{const{target:E,translate:j,slideLocation:D}=P,L=E();L!==D.get()&&(j.to(L),D.set(L))})}function S(){f.forEach(P=>P.translate.clear())}return{canLoop:w,clear:S,loop:T,loopPoints:f}}function o1(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||(na(n)||n(c,u))&&l(u)}),s.observe(e,{childList:!0})}function o(){s&&s.disconnect(),r=!0}return{init:i,destroy:o}}function a1(e,t,n,s){const r={};let i=null,o=null,a,c=!1;function l(){a=new IntersectionObserver(m=>{c||(m.forEach(p=>{const y=t.indexOf(p.target);r[y]=p}),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 ui(r).reduce((p,y)=>{const v=parseInt(y),{isIntersecting:b}=r[v];return(m&&b||!m&&!b)&&p.push(v),p},[])}function f(m=!0){if(m&&i)return i;if(!m&&o)return o;const p=d(m);return m&&(i=p),m||(o=p),p}return{init:l,destroy:u,get:f}}function c1(e,t,n,s,r,i){const{measureSize:o,startEdge:a,endEdge:c}=e,l=n[0]&&r,u=m(),d=p(),f=n.map(o),g=y();function m(){if(!l)return 0;const b=n[0];return Re(t[a]-b[a])}function p(){if(!l)return 0;const b=i.getComputedStyle(Ft(s));return parseFloat(b.getPropertyValue(`margin-${c}`))}function y(){return n.map((b,w,T)=>{const S=!w,A=cu(T,w);return S?f[w]+u:A?f[w]+d:T[w+1][a]-b[a]}).map(Re)}return{slideSizes:f,slideSizesWithGaps:g,startGap:u,endGap:d}}function l1(e,t,n,s,r,i,o,a,c){const{startEdge:l,endEdge:u,direction:d}=e,f=ou(n);function g(v,b){return li(v).filter(w=>w%b===0).map(w=>v.slice(w,w+b))}function m(v){return v.length?li(v).reduce((b,w,T)=>{const S=Ft(b)||0,A=S===0,P=w===Pi(v),E=r[l]-i[S][l],j=r[l]-i[w][u],D=!s&&A?d(o):0,L=!s&&P?d(a):0,O=Re(j-L-(E+D));return T&&O>t+c&&b.push(w),P&&b.push(v.length),b},[]).map((b,w,T)=>{const S=Math.max(T[w-1]||0);return v.slice(S,b)}):[]}function p(v){return f?g(v,n):m(v)}return{groupSlides:p}}function u1(e,t,n,s,r,i,o){const{align:a,axis:c,direction:l,startIndex:u,loop:d,duration:f,dragFree:g,dragThreshold:m,inViewThreshold:p,slidesToScroll:y,skipSnaps:v,containScroll:b,watchResize:w,watchSlides:T,watchDrag:S,watchFocus:A}=i,P=2,E=HR(),j=E.measure(t),D=n.map(E.measure),L=$R(c,l),O=L.measureSize(j),$=qR(O),I=BR(a,O),J=!d&&!!b,X=d||!!b,{slideSizes:q,slideSizesWithGaps:Z,startGap:re,endGap:de}=c1(L,j,D,n,X,r),ge=l1(L,O,y,d,j,D,re,de,P),{snaps:Be,snapsAligned:qe}=e1(L,I,j,D,ge),Ze=-Ft(Be)+Ft(Z),{snapsContained:Pt,scrollContainLimit:et}=QR(O,Ze,qe,b,P),ue=J?Pt:qe,{limit:ye}=XR(Ze,ue,d),je=Ly(Pi(ue),u,d),Le=je.clone(),we=li(n),G=({dragHandler:Wt,scrollBody:Kn,scrollBounds:vr,options:{loop:Gn}})=>{Gn||vr.constrain(Wt.pointerDown()),Kn.seek()},fe=({scrollBody:Wt,translate:Kn,location:vr,offsetLocation:Gn,previousLocation:sa,scrollLooper:Ni,slideLooper:ev,dragHandler:tv,animation:nv,eventHandler:pu,scrollBounds:sv,options:{loop:mu}},gu)=>{const yu=Wt.settled(),rv=!sv.shouldConstrain(),vu=mu?yu:yu&&rv;vu&&!tv.pointerDown()&&(nv.stop(),pu.emit("settle")),vu||pu.emit("scroll");const iv=vr.get()*gu+sa.get()*(1-gu);Gn.set(iv),mu&&(Ni.loop(Wt.direction()),ev.loop()),Kn.to(Gn.get())},Se=UR(s,r,()=>G(yr),Wt=>fe(yr,Wt)),$e=.68,ft=ue[je.get()],bt=kr(ft),_=kr(ft),R=kr(ft),k=kr(ft),U=KR(bt,R,_,k,f,$e),V=n1(d,ue,Ze,ye,k),F=s1(Se,je,Le,U,V,k,o),Y=JR(ye),ae=di(),Ie=a1(t,n,o,p),{slideRegistry:Oe}=t1(J,b,ue,et,ge,we),zt=r1(e,n,Oe,F,U,ae,o,A),yr={ownerDocument:s,ownerWindow:r,eventHandler:o,containerRect:j,slideRects:D,animation:Se,axis:L,dragHandler:zR(L,e,s,r,k,WR(L,r),bt,Se,F,U,V,je,o,$,g,m,v,$e,S),eventStore:ae,percentOfView:$,index:je,indexPrevious:Le,limit:ye,location:bt,offsetLocation:R,previousLocation:_,options:i,resizeHandler:ZR(t,o,r,n,L,w,E),scrollBody:U,scrollBounds:GR(ye,R,k,U,$),scrollLooper:YR(Ze,ye,R,[bt,R,_,k]),scrollProgress:Y,scrollSnapList:ue.map(Y.get),scrollSnaps:ue,scrollTarget:V,scrollTo:F,slideLooper:i1(L,O,Ze,q,Z,Be,ue,R,n),slideFocus:zt,slidesHandler:o1(t,o,T),slidesInView:Ie,slideIndexes:we,slideRegistry:Oe,slidesToScroll:ge,target:k,translate:Iy(L,t)};return yr}function d1(){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 f1={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 h1(e){function t(i,o){return Fy(i,o||{})}function n(i){const o=i.breakpoints||{},a=ui(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=>ui(o.breakpoints||{})).reduce((o,a)=>o.concat(a),[]).map(e.matchMedia)}return{mergeOptions:t,optionsAtMedia:n,optionsMediaQueries:s}}function p1(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 No(e,t,n){const s=e.ownerDocument,r=s.defaultView,i=h1(r),o=p1(i),a=di(),c=d1(),{mergeOptions:l,optionsAtMedia:u,optionsMediaQueries:d}=i,{on:f,off:g,emit:m}=c,p=L;let y=!1,v,b=l(f1,No.globalOptions),w=l(b),T=[],S,A,P;function E(){const{container:we,slides:G}=w;A=(Ec(we)?e.querySelector(we):we)||e.children[0];const Se=Ec(G)?A.querySelectorAll(G):G;P=[].slice.call(Se||A.children)}function j(we){const G=u1(e,A,P,s,r,we,c);if(we.loop&&!G.slideLooper.canLoop()){const fe=Object.assign({},we,{loop:!1});return j(fe)}return G}function D(we,G){y||(b=l(b,we),w=u(b),T=G||T,E(),v=j(w),d([b,...T.map(({options:fe})=>fe)]).forEach(fe=>a.add(fe,"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(),A.offsetParent&&P.length&&v.dragHandler.init(Le),S=o.init(Le,T)))}function L(we,G){const fe=ge();O(),D(l({startIndex:fe},we),G),c.emit("reInit")}function O(){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 $(){y||(y=!0,a.clear(),O(),c.emit("destroy"),c.clear())}function I(we,G,fe){!w.active||y||(v.scrollBody.useBaseFriction().useDuration(G===!0?0:w.duration),v.scrollTo.index(we,fe||0))}function J(we){const G=v.index.add(1).get();I(G,we,-1)}function X(we){const G=v.index.add(-1).get();I(G,we,1)}function q(){return v.index.add(1).get()!==ge()}function Z(){return v.index.add(-1).get()!==ge()}function re(){return v.scrollSnapList}function de(){return v.scrollProgress.get(v.location.get())}function ge(){return v.index.get()}function Be(){return v.indexPrevious.get()}function qe(){return v.slidesInView.get()}function Ze(){return v.slidesInView.get(!1)}function Pt(){return S}function et(){return v}function ue(){return e}function ye(){return A}function je(){return P}const Le={canScrollNext:q,canScrollPrev:Z,containerNode:ye,internalEngine:et,destroy:$,off:g,on:f,emit:m,plugins:Pt,previousScrollSnap:Be,reInit:p,rootNode:ue,scrollNext:J,scrollPrev:X,scrollProgress:de,scrollSnapList:re,scrollTo:I,selectedScrollSnap:ge,slideNodes:je,slidesInView:qe,slidesNotInView:Ze};return D(t,n),setTimeout(()=>c.emit("init"),0),Le}No.globalOptions=void 0;function Zn(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(()=>{iu(n.current,e)||(n.current=e,c())},[e,c]),x.useEffect(()=>{LR(s.current,t)||(s.current=t,c())},[t,c]),x.useEffect(()=>{if(FR()&&o){No.globalOptions=Zn.globalOptions;const l=No(o,n.current,s.current);return i(l),()=>l.destroy()}else i(void 0)},[o,i]),[a,r]}Zn.globalOptions=void 0;const m1=[{id:0,title:"Все компании",titleEn:"All companies"},{id:3,title:"Государственные учреждения ",titleEn:"Government Institutions"},{id:1,title:"Местные компании",titleEn:"Local companies"},{id:2,title:"Иностранные компании",titleEn:"Foreign companies"}],PN=({className:e,setState:t,state:n,data:s=m1})=>{const r=Ee(m=>m.lang),i=uo("(min-width: 768px)"),[o,a]=x.useState({left:0,width:0}),[c,l]=Zn({axis:"x",align:"start",containScroll:"trimSnaps"},[]),u=x.useRef([]),d=x.useRef(null),f=x.useCallback(()=>{const m=u.current[n];if(m){if(i)a({left:m.offsetLeft,width:m.offsetWidth});else if(l){const p=l.rootNode(),y=l.containerNode();if(!p||!y)return;const v=y.scrollLeft,b=m.offsetLeft;a({left:b-v,width:m.offsetWidth})}}},[n,i,l]);x.useEffect(()=>{!i&&l||(l==null||l.scrollTo(n),f())},[l,n,f,i]),x.useEffect(()=>{if(l)return f(),l.on("scroll",f),l.on("resize",f),()=>{l.off("scroll",f),l.off("resize",f)}},[l,f]);const g=x.useCallback(m=>{t(m),!i&&l&&l.scrollTo(m)},[l,t,i]);return h.jsxs("div",{ref:d,className:W("relative mx-auto",e),style:{width:"fit-content",maxWidth:"100%"},children:[i?h.jsx("div",{className:"flex",role:"tablist",children:s==null?void 0:s.map((m,p)=>h.jsx("button",{ref:y=>u.current[p]=y,role:"tab","aria-selected":n===p,className:W("shrink-0 text-center relative h-12 mx-4 py-2 text-sm md:text-base whitespace-nowrap transition-all",n===p?"text-primary":"text-on_surface_v"),onClick:()=>g(p),children:r==="ru"?m.title:m.titleEn},m.id))}):h.jsx("div",{ref:c,className:"",role:"tablist",children:h.jsx("div",{className:"flex",children:s==null?void 0:s.map((m,p)=>h.jsx("button",{ref:y=>u.current[p]=y,role:"tab","aria-selected":n===p,className:W("shrink-0 text-center relative after:transition-all after:rounded after:w-full after:h-0.5 after:bg-primary after:opacity-0 after:absolute after:bottom-0 after:left-0 h-12 mx-4 py-2 text-sm md:text-base whitespace-nowrap transition-all",n===p?"text-primary after:opacity-100":"text-on_surface_v"),onClick:()=>g(p),children:r==="ru"?m.title:m.titleEn},m.id))})}),h.jsx("div",{className:"absolute md:block hidden bottom-0 h-[3px] rounded-t-[2px] bg-primary transition-all duration-200",style:o})]})},RN=({className:e,index:t,name:n,image:s,image_country:r,country:i,about:o,arr:a})=>{const c=Ee(l=>l.lang);return h.jsxs(h.Fragment,{children:[h.jsxs("div",{className:W("flex border-b md:hidden py-2 border-outline_v",e),children:[h.jsxs("div",{className:"flex flex-1 flex-col items-start gap-4",children:[h.jsx("div",{className:"flex items-center w-full",children:h.jsxs("div",{className:"flex items-center flex-[0_0_80%] gap-3",children:[h.jsxs("h3",{className:"text-xs normal flex-[0_0_90px]",children:[c==="ru"?"Название":"Company",":"]}),h.jsx("h4",{className:"text-xs flex-[0_0_70%]",children:n})]})}),h.jsx("div",{className:"flex items-center gap-3",children:h.jsx("div",{className:"flex items-center w-full",children:h.jsxs("div",{className:"flex items-center flex-[0_0_80%] gap-3",children:[h.jsxs("h3",{className:"text-xs normal flex-[0_0_90px]",children:[c==="ru"?"Страна":"Country",":"]}),h.jsxs("div",{className:"flex items-center flex-[0_0_50%] gap-2",children:[h.jsx("img",{src:r==null?void 0:r.path,alt:"flag",className:"size-4 flex-[0_0_16px] object-contain"}),h.jsx("h4",{className:"text-xs flex-1",children:i})]})]})})}),h.jsx("div",{className:"flex items-center ",children:h.jsxs("div",{className:"flex items-center flex-[0_0_80%] gap-3",children:[h.jsxs("h3",{className:"text-xs normal flex-[0_0_90px]",children:[c==="ru"?"Сфера":"Industry",":"]}),h.jsx("h4",{className:"text-xs flex-1",children:o})]})})]}),h.jsx("div",{className:"flex-[0_0_88px] size-[88px] bg-white ",children:h.jsx("img",{src:s==null?void 0:s.path,alt:"company",className:"size-full object-contain"})})]},t),h.jsxs("div",{className:W("md:flex hidden p-4 ",a!==t+1&&"border-b border-outline_v"),children:[h.jsxs("div",{className:"flex-[0_0_45.54%] flex gap-8",children:[h.jsx("div",{className:"flex-[0_0_88px] sm:flex-[0_0_128px] size-[88px] bg-white sm:size-[128px]",children:h.jsx("img",{src:s==null?void 0:s.path,alt:"company",className:"size-full object-contain"})}),h.jsx("h3",{className:"text-lg xl:mr-20 mr-10",children:n})]}),h.jsxs("div",{className:"flex-[0_0_19.80%] flex gap-2.5",children:[h.jsx("img",{src:r==null?void 0:r.path,alt:"flag",className:"size-4"}),h.jsx("h4",{className:"text-sm normal",children:i})]}),h.jsx("h3",{className:"text-sm normal md:ml-1 flex-[0_0_34.65%]",children:o})]})]})};var Ri=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(){}},Ss=typeof window>"u"||"Deno"in globalThis;function Tt(){}function g1(e,t){return typeof e=="function"?e(t):e}function Pc(e){return typeof e=="number"&&e>=0&&e!==1/0}function Vy(e,t){return Math.max(e+(t||0)-Date.now(),0)}function Bs(e,t){return typeof e=="function"?e(t):e}function jt(e,t){return typeof e=="function"?e(t):e}function Zf(e,t){const{type:n="all",exact:s,fetchStatus:r,predicate:i,queryKey:o,stale:a}=e;if(o){if(s){if(t.queryHash!==lu(o,t.options))return!1}else if(!hi(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 Kf(e,t){const{exact:n,status:s,predicate:r,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(fi(t.options.mutationKey)!==fi(i))return!1}else if(!hi(t.options.mutationKey,i))return!1}return!(s&&t.state.status!==s||r&&!r(t))}function lu(e,t){return((t==null?void 0:t.queryKeyHashFn)||fi)(e)}function fi(e){return JSON.stringify(e,(t,n)=>Nc(n)?Object.keys(n).sort().reduce((s,r)=>(s[r]=n[r],s),{}):n)}function hi(e,t){return e===t?!0:typeof e!=typeof t?!1:e&&t&&typeof e=="object"&&typeof t=="object"?!Object.keys(t).some(n=>!hi(e[n],t[n])):!1}function By(e,t){if(e===t)return e;const n=Gf(e)&&Gf(t);if(n||Nc(e)&&Nc(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 kc(e,t,n){return typeof n.structuralSharing=="function"?n.structuralSharing(e,t):n.structuralSharing!==!1?By(e,t):t}function v1(e,t,n=0){const s=[...e,t];return n&&s.length>n?s.slice(1):s}function x1(e,t,n=0){const s=[t,...e];return n&&s.length>n?s.slice(0,-1):s}var uu=Symbol();function Uy(e,t){return!e.queryFn&&(t!=null&&t.initialPromise)?()=>t.initialPromise:!e.queryFn||e.queryFn===uu?()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`)):e.queryFn}var ns,An,Us,rh,b1=(rh=class extends Ri{constructor(){super();ne(this,ns);ne(this,An);ne(this,Us);K(this,Us,t=>{if(!Ss&&window.addEventListener){const n=()=>t();return window.addEventListener("visibilitychange",n,!1),()=>{window.removeEventListener("visibilitychange",n)}}})}onSubscribe(){C(this,An)||this.setEventListener(C(this,Us))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,An))==null||t.call(this),K(this,An,void 0))}setEventListener(t){var n;K(this,Us,t),(n=C(this,An))==null||n.call(this),K(this,An,t(s=>{typeof s=="boolean"?this.setFocused(s):this.onFocus()}))}setFocused(t){C(this,ns)!==t&&(K(this,ns,t),this.onFocus())}onFocus(){const t=this.isFocused();this.listeners.forEach(n=>{n(t)})}isFocused(){var t;return typeof C(this,ns)=="boolean"?C(this,ns):((t=globalThis.document)==null?void 0:t.visibilityState)!=="hidden"}},ns=new WeakMap,An=new WeakMap,Us=new WeakMap,rh),du=new b1,$s,Pn,zs,ih,w1=(ih=class extends Ri{constructor(){super();ne(this,$s,!0);ne(this,Pn);ne(this,zs);K(this,zs,t=>{if(!Ss&&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,Pn)||this.setEventListener(C(this,zs))}onUnsubscribe(){var t;this.hasListeners()||((t=C(this,Pn))==null||t.call(this),K(this,Pn,void 0))}setEventListener(t){var n;K(this,zs,t),(n=C(this,Pn))==null||n.call(this),K(this,Pn,t(this.setOnline.bind(this)))}setOnline(t){C(this,$s)!==t&&(K(this,$s,t),this.listeners.forEach(s=>{s(t)}))}isOnline(){return C(this,$s)}},$s=new WeakMap,Pn=new WeakMap,zs=new WeakMap,ih),ko=new w1;function jc(){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 S1(e){return Math.min(1e3*2**e,3e4)}function $y(e){return(e??"online")==="online"?ko.isOnline():!0}var zy=class extends Error{constructor(e){super("CancelledError"),this.revert=e==null?void 0:e.revert,this.silent=e==null?void 0:e.silent}};function Ia(e){return e instanceof zy}function Wy(e){let t=!1,n=0,s=!1,r;const i=jc(),o=p=>{var y;s||(f(new zy(p)),(y=e.abort)==null||y.call(e))},a=()=>{t=!0},c=()=>{t=!1},l=()=>du.isFocused()&&(e.networkMode==="always"||ko.isOnline())&&e.canRun(),u=()=>$y(e.networkMode)&&e.canRun(),d=p=>{var y;s||(s=!0,(y=e.onSuccess)==null||y.call(e,p),r==null||r(),i.resolve(p))},f=p=>{var y;s||(s=!0,(y=e.onError)==null||y.call(e,p),r==null||r(),i.reject(p))},g=()=>new Promise(p=>{var y;r=v=>{(s||l())&&p(v)},(y=e.onPause)==null||y.call(e)}).then(()=>{var p;r=void 0,s||(p=e.onContinue)==null||p.call(e)}),m=()=>{if(s)return;let p;const y=n===0?e.initialPromise:void 0;try{p=y??e.fn()}catch(v){p=Promise.reject(v)}Promise.resolve(p).then(d).catch(v=>{var A;if(s)return;const b=e.retry??(Ss?0:3),w=e.retryDelay??S1,T=typeof w=="function"?w(n,v):w,S=b===!0||typeof b=="number"&&nl()?void 0:g()).then(()=>{t?f(v):m()})})};return{promise:i,cancel:o,continue:()=>(r==null||r(),i),cancelRetry:a,continueRetry:c,canStart:u,start:()=>(u()?m():g().then(m),i)}}function _1(){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 We=_1(),ss,oh,Hy=(oh=class{constructor(){ne(this,ss)}destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),Pc(this.gcTime)&&K(this,ss,setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(Ss?1/0:5*60*1e3))}clearGcTimeout(){C(this,ss)&&(clearTimeout(C(this,ss)),K(this,ss,void 0))}},ss=new WeakMap,oh),Ws,Hs,_t,rs,Ke,pi,is,Nt,dn,ah,T1=(ah=class extends Hy{constructor(t){super();ne(this,Nt);ne(this,Ws);ne(this,Hs);ne(this,_t);ne(this,rs);ne(this,Ke);ne(this,pi);ne(this,is);K(this,is,!1),K(this,pi,t.defaultOptions),this.setOptions(t.options),this.observers=[],K(this,rs,t.client),K(this,_t,C(this,rs).getQueryCache()),this.queryKey=t.queryKey,this.queryHash=t.queryHash,K(this,Ws,C1(this.options)),this.state=t.state??C(this,Ws),this.scheduleGc()}get meta(){return this.options.meta}get promise(){var t;return(t=C(this,Ke))==null?void 0:t.promise}setOptions(t){this.options={...C(this,pi),...t},this.updateGcTime(this.options.gcTime)}optionalRemove(){!this.observers.length&&this.state.fetchStatus==="idle"&&C(this,_t).remove(this)}setData(t,n){const s=kc(this.state.data,t,this.options);return he(this,Nt,dn).call(this,{data:s,type:"success",dataUpdatedAt:n==null?void 0:n.updatedAt,manual:n==null?void 0:n.manual}),s}setState(t,n){he(this,Nt,dn).call(this,{type:"setState",state:t,setStateOptions:n})}cancel(t){var s,r;const n=(s=C(this,Ke))==null?void 0:s.promise;return(r=C(this,Ke))==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,Ws))}isActive(){return this.observers.some(t=>jt(t.options.enabled,this)!==!1)}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===uu||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||!Vy(this.state.dataUpdatedAt,t)}onFocus(){var n;const t=this.observers.find(s=>s.shouldFetchOnWindowFocus());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Ke))==null||n.continue()}onOnline(){var n;const t=this.observers.find(s=>s.shouldFetchOnReconnect());t==null||t.refetch({cancelRefetch:!1}),(n=C(this,Ke))==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,Ke)&&(C(this,is)?C(this,Ke).cancel({revert:!0}):C(this,Ke).cancelRetry()),this.scheduleGc()),C(this,_t).notify({type:"observerRemoved",query:this,observer:t}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||he(this,Nt,dn).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,Ke))return C(this,Ke).continueRetry(),C(this,Ke).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:()=>(K(this,is,!0),s.signal)})},i=()=>{const d=Uy(this.options,n),f={client:C(this,rs),queryKey:this.queryKey,meta:this.meta};return r(f),K(this,is,!1),this.options.persister?this.options.persister(d,f,this):d(f)},o={fetchOptions:n,options:this.options,queryKey:this.queryKey,client:C(this,rs),state:this.state,fetchFn:i};r(o),(c=this.options.behavior)==null||c.onFetch(o,this),K(this,Hs,this.state),(this.state.fetchStatus==="idle"||this.state.fetchMeta!==((l=o.fetchOptions)==null?void 0:l.meta))&&he(this,Nt,dn).call(this,{type:"fetch",meta:(u=o.fetchOptions)==null?void 0:u.meta});const a=d=>{var f,g,m,p;Ia(d)&&d.silent||he(this,Nt,dn).call(this,{type:"error",error:d}),Ia(d)||((g=(f=C(this,_t).config).onError)==null||g.call(f,d,this),(p=(m=C(this,_t).config).onSettled)==null||p.call(m,this.state.data,d,this)),this.scheduleGc()};return K(this,Ke,Wy({initialPromise:n==null?void 0:n.initialPromise,fn:o.fetchFn,abort:s.abort.bind(s),onSuccess:d=>{var f,g,m,p;if(d===void 0){a(new Error(`${this.queryHash} data is undefined`));return}try{this.setData(d)}catch(y){a(y);return}(g=(f=C(this,_t).config).onSuccess)==null||g.call(f,d,this),(p=(m=C(this,_t).config).onSettled)==null||p.call(m,d,this.state.error,this),this.scheduleGc()},onError:a,onFail:(d,f)=>{he(this,Nt,dn).call(this,{type:"failed",failureCount:d,error:f})},onPause:()=>{he(this,Nt,dn).call(this,{type:"pause"})},onContinue:()=>{he(this,Nt,dn).call(this,{type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0})),C(this,Ke).start()}},Ws=new WeakMap,Hs=new WeakMap,_t=new WeakMap,rs=new WeakMap,Ke=new WeakMap,pi=new WeakMap,is=new WeakMap,Nt=new WeakSet,dn=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,...qy(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 Ia(r)&&r.revert&&C(this,Hs)?{...C(this,Hs),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),We.batch(()=>{this.observers.forEach(s=>{s.onQueryUpdate()}),C(this,_t).notify({query:this,type:"updated",action:t})})},ah);function qy(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:$y(t.networkMode)?"fetching":"paused",...e===void 0&&{error:null,status:"pending"}}}function C1(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 qt,ch,E1=(ch=class extends Ri{constructor(t={}){super();ne(this,qt);this.config=t,K(this,qt,new Map)}build(t,n,s){const r=n.queryKey,i=n.queryHash??lu(r,n);let o=this.get(i);return o||(o=new T1({client:t,queryKey:r,queryHash:i,options:t.defaultQueryOptions(n),state:s,defaultOptions:t.getQueryDefaults(r)}),this.add(o)),o}add(t){C(this,qt).has(t.queryHash)||(C(this,qt).set(t.queryHash,t),this.notify({type:"added",query:t}))}remove(t){const n=C(this,qt).get(t.queryHash);n&&(t.destroy(),n===t&&C(this,qt).delete(t.queryHash),this.notify({type:"removed",query:t}))}clear(){We.batch(()=>{this.getAll().forEach(t=>{this.remove(t)})})}get(t){return C(this,qt).get(t)}getAll(){return[...C(this,qt).values()]}find(t){const n={exact:!0,...t};return this.getAll().find(s=>Zf(n,s))}findAll(t={}){const n=this.getAll();return Object.keys(t).length>0?n.filter(s=>Zf(t,s)):n}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}onFocus(){We.batch(()=>{this.getAll().forEach(t=>{t.onFocus()})})}onOnline(){We.batch(()=>{this.getAll().forEach(t=>{t.onOnline()})})}},qt=new WeakMap,ch),Zt,tt,os,Kt,Cn,lh,A1=(lh=class extends Hy{constructor(t){super();ne(this,Kt);ne(this,Zt);ne(this,tt);ne(this,os);this.mutationId=t.mutationId,K(this,tt,t.mutationCache),K(this,Zt,[]),this.state=t.state||P1(),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,Zt).includes(t)||(C(this,Zt).push(t),this.clearGcTimeout(),C(this,tt).notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){K(this,Zt,C(this,Zt).filter(n=>n!==t)),this.scheduleGc(),C(this,tt).notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){C(this,Zt).length||(this.state.status==="pending"?this.scheduleGc():C(this,tt).remove(this))}continue(){var t;return((t=C(this,os))==null?void 0:t.continue())??this.execute(this.state.variables)}async execute(t){var r,i,o,a,c,l,u,d,f,g,m,p,y,v,b,w,T,S,A,P;K(this,os,Wy({fn:()=>this.options.mutationFn?this.options.mutationFn(t):Promise.reject(new Error("No mutationFn found")),onFail:(E,j)=>{he(this,Kt,Cn).call(this,{type:"failed",failureCount:E,error:j})},onPause:()=>{he(this,Kt,Cn).call(this,{type:"pause"})},onContinue:()=>{he(this,Kt,Cn).call(this,{type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>C(this,tt).canRun(this)}));const n=this.state.status==="pending",s=!C(this,os).canStart();try{if(!n){he(this,Kt,Cn).call(this,{type:"pending",variables:t,isPaused:s}),await((i=(r=C(this,tt).config).onMutate)==null?void 0:i.call(r,t,this));const j=await((a=(o=this.options).onMutate)==null?void 0:a.call(o,t));j!==this.state.context&&he(this,Kt,Cn).call(this,{type:"pending",context:j,variables:t,isPaused:s})}const E=await C(this,os).start();return await((l=(c=C(this,tt).config).onSuccess)==null?void 0:l.call(c,E,t,this.state.context,this)),await((d=(u=this.options).onSuccess)==null?void 0:d.call(u,E,t,this.state.context)),await((g=(f=C(this,tt).config).onSettled)==null?void 0:g.call(f,E,null,this.state.variables,this.state.context,this)),await((p=(m=this.options).onSettled)==null?void 0:p.call(m,E,null,t,this.state.context)),he(this,Kt,Cn).call(this,{type:"success",data:E}),E}catch(E){try{throw await((v=(y=C(this,tt).config).onError)==null?void 0:v.call(y,E,t,this.state.context,this)),await((w=(b=this.options).onError)==null?void 0:w.call(b,E,t,this.state.context)),await((S=(T=C(this,tt).config).onSettled)==null?void 0:S.call(T,void 0,E,this.state.variables,this.state.context,this)),await((P=(A=this.options).onSettled)==null?void 0:P.call(A,void 0,E,t,this.state.context)),E}finally{he(this,Kt,Cn).call(this,{type:"error",error:E})}}finally{C(this,tt).runNext(this)}}},Zt=new WeakMap,tt=new WeakMap,os=new WeakMap,Kt=new WeakSet,Cn=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),We.batch(()=>{C(this,Zt).forEach(s=>{s.onMutationUpdate(t)}),C(this,tt).notify({mutation:this,type:"updated",action:t})})},lh);function P1(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}var hn,kt,mi,uh,R1=(uh=class extends Ri{constructor(t={}){super();ne(this,hn);ne(this,kt);ne(this,mi);this.config=t,K(this,hn,new Set),K(this,kt,new Map),K(this,mi,0)}build(t,n,s){const r=new A1({mutationCache:this,mutationId:++ki(this,mi)._,options:t.defaultMutationOptions(n),state:s});return this.add(r),r}add(t){C(this,hn).add(t);const n=zi(t);if(typeof n=="string"){const s=C(this,kt).get(n);s?s.push(t):C(this,kt).set(n,[t])}this.notify({type:"added",mutation:t})}remove(t){if(C(this,hn).delete(t)){const n=zi(t);if(typeof n=="string"){const s=C(this,kt).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,kt).delete(n)}}this.notify({type:"removed",mutation:t})}canRun(t){const n=zi(t);if(typeof n=="string"){const s=C(this,kt).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=zi(t);if(typeof n=="string"){const r=(s=C(this,kt).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(){We.batch(()=>{C(this,hn).forEach(t=>{this.notify({type:"removed",mutation:t})}),C(this,hn).clear(),C(this,kt).clear()})}getAll(){return Array.from(C(this,hn))}find(t){const n={exact:!0,...t};return this.getAll().find(s=>Kf(n,s))}findAll(t={}){return this.getAll().filter(n=>Kf(t,n))}notify(t){We.batch(()=>{this.listeners.forEach(n=>{n(t)})})}resumePausedMutations(){const t=this.getAll().filter(n=>n.state.isPaused);return We.batch(()=>Promise.all(t.map(n=>n.continue().catch(Tt))))}},hn=new WeakMap,kt=new WeakMap,mi=new WeakMap,uh);function zi(e){var t;return(t=e.options.scope)==null?void 0:t.id}function Xf(e){return{onFetch:(t,n)=>{var u,d,f,g,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=((g=t.state.data)==null?void 0:g.pages)||[],o=((m=t.state.data)==null?void 0:m.pageParams)||[];let a={pages:[],pageParams:[]},c=0;const l=async()=>{let p=!1;const y=w=>{Object.defineProperty(w,"signal",{enumerable:!0,get:()=>(t.signal.aborted?p=!0:t.signal.addEventListener("abort",()=>{p=!0}),t.signal)})},v=Uy(t.options,t.fetchOptions),b=async(w,T,S)=>{if(p)return Promise.reject();if(T==null&&w.pages.length)return Promise.resolve(w);const A={client:t.client,queryKey:t.queryKey,pageParam:T,direction:S?"backward":"forward",meta:t.options.meta};y(A);const P=await v(A),{maxPages:E}=t.options,j=S?x1:v1;return{pages:j(w.pages,P,E),pageParams:j(w.pageParams,T,E)}};if(r&&i.length){const w=r==="backward",T=w?N1:Yf,S={pages:i,pageParams:o},A=T(s,S);a=await b(S,A,w)}else{const w=e??i.length;do{const T=c===0?o[0]??s.initialPageParam:Yf(s,a);if(c>0&&T==null)break;a=await b(a,T),c++}while(c{var p,y;return(y=(p=t.options).persister)==null?void 0:y.call(p,l,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n)}:t.fetchFn=l}}}function Yf(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 N1(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 Ne,Rn,Nn,qs,Zs,kn,Ks,Gs,dh,NN=(dh=class{constructor(e={}){ne(this,Ne);ne(this,Rn);ne(this,Nn);ne(this,qs);ne(this,Zs);ne(this,kn);ne(this,Ks);ne(this,Gs);K(this,Ne,e.queryCache||new E1),K(this,Rn,e.mutationCache||new R1),K(this,Nn,e.defaultOptions||{}),K(this,qs,new Map),K(this,Zs,new Map),K(this,kn,0)}mount(){ki(this,kn)._++,C(this,kn)===1&&(K(this,Ks,du.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,Ne).onFocus())})),K(this,Gs,ko.subscribe(async e=>{e&&(await this.resumePausedMutations(),C(this,Ne).onOnline())})))}unmount(){var e,t;ki(this,kn)._--,C(this,kn)===0&&((e=C(this,Ks))==null||e.call(this),K(this,Ks,void 0),(t=C(this,Gs))==null||t.call(this),K(this,Gs,void 0))}isFetching(e){return C(this,Ne).findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return C(this,Rn).findAll({...e,status:"pending"}).length}getQueryData(e){var n;const t=this.defaultQueryOptions({queryKey:e});return(n=C(this,Ne).get(t.queryHash))==null?void 0:n.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=C(this,Ne).build(this,t),s=n.state.data;return s===void 0?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(Bs(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(s))}getQueriesData(e){return C(this,Ne).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,Ne).get(s.queryHash),i=r==null?void 0:r.state.data,o=g1(t,i);if(o!==void 0)return C(this,Ne).build(this,s).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return We.batch(()=>C(this,Ne).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,Ne).get(t.queryHash))==null?void 0:n.state}removeQueries(e){const t=C(this,Ne);We.batch(()=>{t.findAll(e).forEach(n=>{t.remove(n)})})}resetQueries(e,t){const n=C(this,Ne),s={type:"active",...e};return We.batch(()=>(n.findAll(e).forEach(r=>{r.reset()}),this.refetchQueries(s,t)))}cancelQueries(e,t={}){const n={revert:!0,...t},s=We.batch(()=>C(this,Ne).findAll(e).map(r=>r.cancel(n)));return Promise.all(s).then(Tt).catch(Tt)}invalidateQueries(e,t={}){return We.batch(()=>{if(C(this,Ne).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=We.batch(()=>C(this,Ne).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,Ne).build(this,t);return n.isStaleByTime(Bs(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=Xf(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(Tt).catch(Tt)}ensureInfiniteQueryData(e){return e.behavior=Xf(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return ko.isOnline()?C(this,Rn).resumePausedMutations():Promise.resolve()}getQueryCache(){return C(this,Ne)}getMutationCache(){return C(this,Rn)}getDefaultOptions(){return C(this,Nn)}setDefaultOptions(e){K(this,Nn,e)}setQueryDefaults(e,t){C(this,qs).set(fi(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...C(this,qs).values()],n={};return t.forEach(s=>{hi(e,s.queryKey)&&Object.assign(n,s.defaultOptions)}),n}setMutationDefaults(e,t){C(this,Zs).set(fi(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...C(this,Zs).values()];let n={};return t.forEach(s=>{hi(e,s.mutationKey)&&(n={...n,...s.defaultOptions})}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...C(this,Nn).queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=lu(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===uu&&(t.enabled=!1),t}defaultMutationOptions(e){return e!=null&&e._defaulted?e:{...C(this,Nn).mutations,...(e==null?void 0:e.mutationKey)&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){C(this,Ne).clear(),C(this,Rn).clear()}},Ne=new WeakMap,Rn=new WeakMap,Nn=new WeakMap,qs=new WeakMap,Zs=new WeakMap,kn=new WeakMap,Ks=new WeakMap,Gs=new WeakMap,dh),lt,pe,gi,nt,as,Qs,jn,Gt,yi,Xs,Ys,cs,ls,On,Js,be,jr,Oc,Dc,Mc,Fc,Lc,Ic,Vc,Zy,fh,k1=(fh=class extends Ri{constructor(t,n){super();ne(this,be);ne(this,lt);ne(this,pe);ne(this,gi);ne(this,nt);ne(this,as);ne(this,Qs);ne(this,jn);ne(this,Gt);ne(this,yi);ne(this,Xs);ne(this,Ys);ne(this,cs);ne(this,ls);ne(this,On);ne(this,Js,new Set);this.options=n,K(this,lt,t),K(this,Gt,null),K(this,jn,jc()),this.options.experimental_prefetchInRender||C(this,jn).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,pe).addObserver(this),Jf(C(this,pe),this.options)?he(this,be,jr).call(this):this.updateResult(),he(this,be,Fc).call(this))}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Bc(C(this,pe),this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Bc(C(this,pe),this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,he(this,be,Lc).call(this),he(this,be,Ic).call(this),C(this,pe).removeObserver(this)}setOptions(t,n){const s=this.options,r=C(this,pe);if(this.options=C(this,lt).defaultQueryOptions(t),this.options.enabled!==void 0&&typeof this.options.enabled!="boolean"&&typeof this.options.enabled!="function"&&typeof jt(this.options.enabled,C(this,pe))!="boolean")throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");he(this,be,Vc).call(this),C(this,pe).setOptions(this.options),s._defaulted&&!Rc(this.options,s)&&C(this,lt).getQueryCache().notify({type:"observerOptionsUpdated",query:C(this,pe),observer:this});const i=this.hasListeners();i&&eh(C(this,pe),r,this.options,s)&&he(this,be,jr).call(this),this.updateResult(n),i&&(C(this,pe)!==r||jt(this.options.enabled,C(this,pe))!==jt(s.enabled,C(this,pe))||Bs(this.options.staleTime,C(this,pe))!==Bs(s.staleTime,C(this,pe)))&&he(this,be,Oc).call(this);const o=he(this,be,Dc).call(this);i&&(C(this,pe)!==r||jt(this.options.enabled,C(this,pe))!==jt(s.enabled,C(this,pe))||o!==C(this,On))&&he(this,be,Mc).call(this,o)}getOptimisticResult(t){const n=C(this,lt).getQueryCache().build(C(this,lt),t),s=this.createResult(n,t);return O1(this,s)&&(K(this,nt,s),K(this,Qs,this.options),K(this,as,C(this,pe).state)),s}getCurrentResult(){return C(this,nt)}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,Js).add(t)}getCurrentQuery(){return C(this,pe)}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){const n=C(this,lt).defaultQueryOptions(t),s=C(this,lt).getQueryCache().build(C(this,lt),n);return s.fetch().then(()=>this.createResult(s,n))}fetch(t){return he(this,be,jr).call(this,{...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),C(this,nt)))}createResult(t,n){var E;const s=C(this,pe),r=this.options,i=C(this,nt),o=C(this,as),a=C(this,Qs),l=t!==s?t.state:C(this,gi),{state:u}=t;let d={...u},f=!1,g;if(n._optimisticResults){const j=this.hasListeners(),D=!j&&Jf(t,n),L=j&&eh(t,s,n,r);(D||L)&&(d={...d,...qy(u.data,t.options)}),n._optimisticResults==="isRestoring"&&(d.fetchStatus="idle")}let{error:m,errorUpdatedAt:p,status:y}=d;if(n.select&&d.data!==void 0)if(i&&d.data===(o==null?void 0:o.data)&&n.select===C(this,yi))g=C(this,Xs);else try{K(this,yi,n.select),g=n.select(d.data),g=kc(i==null?void 0:i.data,g,n),K(this,Xs,g),K(this,Gt,null)}catch(j){K(this,Gt,j)}else g=d.data;if(n.placeholderData!==void 0&&g===void 0&&y==="pending"){let j;if(i!=null&&i.isPlaceholderData&&n.placeholderData===(a==null?void 0:a.placeholderData))j=i.data;else if(j=typeof n.placeholderData=="function"?n.placeholderData((E=C(this,Ys))==null?void 0:E.state.data,C(this,Ys)):n.placeholderData,n.select&&j!==void 0)try{j=n.select(j),K(this,Gt,null)}catch(D){K(this,Gt,D)}j!==void 0&&(y="success",g=kc(i==null?void 0:i.data,j,n),f=!0)}C(this,Gt)&&(m=C(this,Gt),g=C(this,Xs),p=Date.now(),y="error");const v=d.fetchStatus==="fetching",b=y==="pending",w=y==="error",T=b&&v,S=g!==void 0,P={status:y,fetchStatus:d.fetchStatus,isPending:b,isSuccess:y==="success",isError:w,isInitialLoading:T,isLoading:T,data:g,dataUpdatedAt:d.dataUpdatedAt,error:m,errorUpdatedAt:p,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:fu(t,n),refetch:this.refetch,promise:C(this,jn)};if(this.options.experimental_prefetchInRender){const j=O=>{P.status==="error"?O.reject(P.error):P.data!==void 0&&O.resolve(P.data)},D=()=>{const O=K(this,jn,P.promise=jc());j(O)},L=C(this,jn);switch(L.status){case"pending":t.queryHash===s.queryHash&&j(L);break;case"fulfilled":(P.status==="error"||P.data!==L.value)&&D();break;case"rejected":(P.status!=="error"||P.error!==L.reason)&&D();break}}return P}updateResult(t){const n=C(this,nt),s=this.createResult(C(this,pe),this.options);if(K(this,as,C(this,pe).state),K(this,Qs,this.options),C(this,as).data!==void 0&&K(this,Ys,C(this,pe)),Rc(s,n))return;K(this,nt,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,Js).size)return!0;const c=new Set(a??C(this,Js));return this.options.throwOnError&&c.add("error"),Object.keys(C(this,nt)).some(l=>{const u=l;return C(this,nt)[u]!==n[u]&&c.has(u)})};(t==null?void 0:t.listeners)!==!1&&i()&&(r.listeners=!0),he(this,be,Zy).call(this,{...r,...t})}onQueryUpdate(){this.updateResult(),this.hasListeners()&&he(this,be,Fc).call(this)}},lt=new WeakMap,pe=new WeakMap,gi=new WeakMap,nt=new WeakMap,as=new WeakMap,Qs=new WeakMap,jn=new WeakMap,Gt=new WeakMap,yi=new WeakMap,Xs=new WeakMap,Ys=new WeakMap,cs=new WeakMap,ls=new WeakMap,On=new WeakMap,Js=new WeakMap,be=new WeakSet,jr=function(t){he(this,be,Vc).call(this);let n=C(this,pe).fetch(this.options,t);return t!=null&&t.throwOnError||(n=n.catch(Tt)),n},Oc=function(){he(this,be,Lc).call(this);const t=Bs(this.options.staleTime,C(this,pe));if(Ss||C(this,nt).isStale||!Pc(t))return;const s=Vy(C(this,nt).dataUpdatedAt,t)+1;K(this,cs,setTimeout(()=>{C(this,nt).isStale||this.updateResult()},s))},Dc=function(){return(typeof this.options.refetchInterval=="function"?this.options.refetchInterval(C(this,pe)):this.options.refetchInterval)??!1},Mc=function(t){he(this,be,Ic).call(this),K(this,On,t),!(Ss||jt(this.options.enabled,C(this,pe))===!1||!Pc(C(this,On))||C(this,On)===0)&&K(this,ls,setInterval(()=>{(this.options.refetchIntervalInBackground||du.isFocused())&&he(this,be,jr).call(this)},C(this,On)))},Fc=function(){he(this,be,Oc).call(this),he(this,be,Mc).call(this,he(this,be,Dc).call(this))},Lc=function(){C(this,cs)&&(clearTimeout(C(this,cs)),K(this,cs,void 0))},Ic=function(){C(this,ls)&&(clearInterval(C(this,ls)),K(this,ls,void 0))},Vc=function(){const t=C(this,lt).getQueryCache().build(C(this,lt),this.options);if(t===C(this,pe))return;const n=C(this,pe);K(this,pe,t),K(this,gi,t.state),this.hasListeners()&&(n==null||n.removeObserver(this),t.addObserver(this))},Zy=function(t){We.batch(()=>{t.listeners&&this.listeners.forEach(n=>{n(C(this,nt))}),C(this,lt).getQueryCache().notify({query:C(this,pe),type:"observerResultsUpdated"})})},fh);function j1(e,t){return jt(t.enabled,e)!==!1&&e.state.data===void 0&&!(e.state.status==="error"&&t.retryOnMount===!1)}function Jf(e,t){return j1(e,t)||e.state.data!==void 0&&Bc(e,t,t.refetchOnMount)}function Bc(e,t,n){if(jt(t.enabled,e)!==!1){const s=typeof n=="function"?n(e):n;return s==="always"||s!==!1&&fu(e,t)}return!1}function eh(e,t,n,s){return(e!==t||jt(s.enabled,e)===!1)&&(!n.suspense||e.state.status!=="error")&&fu(e,n)}function fu(e,t){return jt(t.enabled,e)!==!1&&e.isStaleByTime(Bs(t.staleTime,e))}function O1(e,t){return!Rc(e.getCurrentResult(),t)}var Ky=x.createContext(void 0),D1=e=>{const t=x.useContext(Ky);if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},kN=({client:e,children:t})=>(x.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),h.jsx(Ky.Provider,{value:e,children:t})),Gy=x.createContext(!1),M1=()=>x.useContext(Gy);Gy.Provider;function F1(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}var L1=x.createContext(F1()),I1=()=>x.useContext(L1);function V1(e,t){return typeof e=="function"?e(...t):!!e}function th(){}var B1=(e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))},U1=e=>{x.useEffect(()=>{e.clearReset()},[e])},$1=({result:e,errorResetBoundary:t,throwOnError:n,query:s,suspense:r})=>e.isError&&!t.isReset()&&!e.isFetching&&s&&(r&&e.data===void 0||V1(n,[e.error,s])),z1=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)))},W1=(e,t)=>e.isLoading&&e.isFetching&&!t,H1=(e,t)=>(e==null?void 0:e.suspense)&&t.isPending,nh=(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()});function q1(e,t,n){var d,f,g,m,p;const s=D1(),r=M1(),i=I1(),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",z1(o),B1(o,i),U1(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(y=>{const v=u?c.subscribe(We.batchCalls(y)):th;return c.updateResult(),v},[c,u]),()=>c.getCurrentResult(),()=>c.getCurrentResult()),x.useEffect(()=>{c.setOptions(o,{listeners:!1})},[o,c]),H1(o,l))throw nh(o,c,i);if($1({result:l,errorResetBoundary:i,throwOnError:o.throwOnError,query:s.getQueryCache().get(o.queryHash),suspense:o.suspense}))throw l.error;if((m=(g=s.getDefaultOptions().queries)==null?void 0:g._experimental_afterQuery)==null||m.call(g,o,l),o.experimental_prefetchInRender&&!Ss&&W1(l,r)){const y=a?nh(o,c,i):(p=s.getQueryCache().get(o.queryHash))==null?void 0:p.promise;y==null||y.catch(th).finally(()=>{c.updateResult()})}return o.notifyOnChangeProps?l:c.trackResult(l)}function bn(e,t){return q1(e,k1)}const Z1=e=>{const{data:t,isPending:n,status:s}=bn({queryKey:["photos",e],queryFn:()=>NR(e),select:({data:r})=>r.data});return{data:t,isPending:n,status:s}},K1=e=>{const{data:t,isPending:n,isError:s}=bn({queryKey:["videos",e],queryFn:()=>kR(e),select:({data:r})=>r.data});return{data:t,isPending:n,isError:s}},jN=({className:e,setIsOpen:t,activeItem:n})=>{var f,g;const[s,r]=Zn({align:"center",loop:!1,dragFree:!1,slidesToScroll:1}),{data:i}=Z1(1),{data:o}=K1(1);OT();const[a,c]=x.useState(!1),[l,u]=x.useState(!1);x.useEffect(()=>{if(!r)return;const m=()=>{c(r.canScrollPrev()),u(r.canScrollNext())};return r.on("select",m),m(),()=>{r.off("select",m)}},[r]),x.useEffect(()=>{!r||!i||r.scrollTo(n.id,!0)},[r,i,n.id]);const d=n.type==="photo"?(f=i==null?void 0:i.photos)==null?void 0:f.map(m=>{var p;return h.jsx("div",{className:"embla__slide flex-[0_0_100%] h-[350px] md:h-[500px] lg:h-[700px] lg:px-[20%] flex items-center justify-center",children:h.jsx("img",{src:(p=m==null?void 0:m.photo)==null?void 0:p.path,alt:m.photo.file_name,className:"max-h-full max-w-full object-contain"})},m.id)}):(g=o==null?void 0:o.videos)==null?void 0:g.map(m=>{var p;return h.jsx("div",{className:"embla__slide flex-[0_0_100%] h-[80vh] lg:px-[20%] flex items-center justify-center",children:h.jsx("video",{src:((p=m==null?void 0:m.video)==null?void 0:p.path)??"",controls:!0,autoPlay:!0,muted:!0,className:"max-h-full max-w-full object-contain"})},m.id)});return h.jsxs(Lr.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},className:W("fixed z-[100] top-0 left-0 pb-40 pt-20 lg:px-28 px-6 overflow-hidden min-h-screen w-full bg-black/90",e),children:[h.jsx(Jc,{onClick:()=>t(!1),className:"absolute top-6 right-6 p-3 md:size-20 size-16 cursor-pointer z-50 text-white hover:scale-110 transition-all duration-300"}),h.jsxs("div",{className:"hidden md:block",children:[h.jsx(Xh,{onClick:()=>a&&(r==null?void 0:r.scrollPrev()),className:W("absolute left-10 top-1/2 -translate-y-1/2 text-white size-20 cursor-pointer hover:scale-110 transition-all duration-300 z-40",!a&&"opacity-20 pointer-events-none")}),h.jsx(Yh,{onClick:()=>l&&(r==null?void 0:r.scrollNext()),className:W("absolute right-10 top-1/2 -translate-y-1/2 text-white size-20 cursor-pointer hover:scale-110 transition-all duration-300 z-40",!l&&"opacity-20 pointer-events-none")})]}),h.jsx("div",{ref:s,className:"embla overflow-hidden",children:h.jsx("div",{className:"embla__container flex",children:d})})]})},ON=({className:e,name:t,achievements:n,biography:s,image:r,images:i})=>{const[o,a]=Zn({}),[c,l]=x.useState(!1),[u,d]=x.useState(!1);return x.useEffect(()=>{if(!a)return;const f=()=>{l(a.canScrollPrev()),d(a.canScrollNext())};return a.on("select",f),f(),()=>{a.off("select",f)}},[a]),h.jsxs(Qg,{children:[h.jsx(Xg,{className:W("relative bg-[url('/impressions/card-bg.png')] bg-no-repeat h-[326px] overflow-hidden",e),children:h.jsxs("article",{children:[h.jsx("img",{src:"/impressions/card-bg-bg.png",className:"absolute top-2.5 left-2.5 -z-10 size-full"}),h.jsxs("div",{className:"flex gap-4",children:[h.jsx("img",{src:r==null?void 0:r.path,alt:t,className:"flex-[0_0_44%] -mt-2.5 object-contain overflow-hidden"}),h.jsxs("div",{className:"flex-auto text-left text-white z-20 pt-6 pl-4 pr-4",children:[h.jsx("h3",{className:"text-xl mb-2",children:t}),h.jsx("ul",{className:"text-sm list-disc pl-4 flex flex-col gap-2",children:n.slice(0,7).map((f,g)=>h.jsx("li",{children:f.ru},g))})]})]})]})}),h.jsxs(Jl,{className:"p-6 flex flex-col gap-4 xl:!w-[1224px] max-h-[80vh]",children:[h.jsxs("div",{className:"flex gap-4 overflow-y-auto",children:[h.jsx("div",{className:"flex-1 h-[345px]",children:h.jsx("img",{src:r==null?void 0:r.path,alt:"",className:"size-full object-cover"})}),h.jsxs("div",{className:"flex-[0_0_70%]",children:[h.jsx("div",{className:"text-2xl mb-4",children:t}),h.jsx("hr",{}),h.jsx("div",{className:"mt-4 flex flex-col gap-3 normal",dangerouslySetInnerHTML:{__html:s}})]})]}),h.jsx("hr",{}),h.jsxs("div",{children:[h.jsx("h3",{className:"text-xl mb-2.5",children:"Работы дизайнера"}),h.jsx("div",{ref:o,className:"embla overflow-hidden",children:h.jsxs("div",{className:"embla__container items-center flex gap-4",children:[c&&h.jsx(Xh,{onClick:()=>c&&(a==null?void 0:a.scrollPrev()),className:W("cursor-pointer",!c&&"opacity-20")}),h.jsx("div",{className:"flex items-center gap-4",children:i.map(f=>h.jsx("img",{src:f==null?void 0:f.path,className:"size-[140px] object-cover object-top"}))}),u&&h.jsx(Yh,{onClick:()=>c&&(a==null?void 0:a.scrollNext()),className:W("cursor-pointer",!u&&"opacity-20")})]})})]})]})]})},Wi=({value:e,label:t,prevValue:n})=>h.jsxs("div",{className:"timer-item flex flex-col items-center",children:[h.jsxs("div",{className:"relative sm:h-14 h-6 w-16 overflow-hidden font-bold",children:[h.jsx("span",{className:`absolute left-1/2 -translate-x-1/2 black bg-gradient-to-t from-[#F1700D] to-[#F38835] text-transparent bg-clip-text sm:text-5xl text-xl leading-none transition-all duration-300 ${n!==e?" opacity-0":" opacity-100"}`,children:n}),h.jsx("span",{className:`absolute left-1/2 -translate-x-1/2 black bg-gradient-to-t from-[#F1700D] to-[#F38835] text-transparent bg-clip-text sm:text-5xl text-xl leading-none transition-all duration-300 ${n!==e?"opacity-100":"opacity-0"}`,children:e})]}),h.jsx("div",{className:"label normal sm:text-lg text-base text-[#FAD8DB]",children:t})]}),pt=e=>e===Et.RU?0:1,Uc=[{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"}]}],qy=()=>{const e=Ee(s=>s.lang),{data:t,isPending:n}=bn({queryKey:["industries",e],queryFn:()=>AR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},Ok=({className:e})=>{const t=Ee(r=>r.lang),{data:n,isPending:s}=qy();return h.jsx("section",{className:H("relative w-full bg-[#FDEDEE] -z-10 py-10",e),children:h.jsx(He,{children:s?h.jsx(qn,{}):h.jsxs(h.Fragment,{children:[h.jsx("h3",{className:"h2 mb-4",children:Uc[pt(t)].title}),h.jsx("div",{className:"grid md:grid-cols-4 grid-cols-2 gap-6",children:n==null?void 0:n.map((r,i)=>h.jsx(lp,{...r},i))}),h.jsxs("div",{className:"flex items-center gap-3 mt-8 text-on_surface_v text-lg",children:[h.jsx("div",{className:"md:w-1 w-4 md:h-[38px] h-40 bg-teritary_08"}),h.jsx("p",{className:"text-18",children:Uc[pt(t)].bottom_text})]})]})})})},Zy=[{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"}]}],Ky=()=>{const e=Ee(s=>s.lang),{data:t,isPending:n}=bn({queryKey:["exhibiton-time",e],queryFn:()=>PR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},Dk=({className:e})=>{const t=Ee(r=>r.lang),{data:n,isPending:s}=Ky();return h.jsx("section",{className:H("bg-surface_container py-10 md:py-20",e),children:h.jsx(He,{children:s?h.jsx(qn,{}):h.jsxs(h.Fragment,{children:[h.jsx("h2",{className:"h2 mb-6",children:Zy[pt(t)].title}),h.jsx("div",{className:"flex flex-col md:flex-row items-center gap-6",children:n==null?void 0:n.map((r,i)=>x.createElement(up,{bottomClassName:"!bg-white rounded-b-[2px]",...r,key:i,className:"w-full"}))})]})})})},nh=[{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."]}],Mk=({className:e})=>{const t=Ee(n=>n.lang);return h.jsx("section",{className:H("gap-6 relative overflow-hidden",e),children:h.jsxs(He,{className:"md:py-20 py-10 grid-cols-1 lg:grid-cols-2 lg:gap-12 gap-0 grid",children:[h.jsxs("div",{className:"flex-[0_0_50%]",children:[h.jsx("h3",{className:"h2 mb-6",children:nh[pt(t)].title}),h.jsx("div",{className:"text-lg flex flex-col gap-6 text-on_surface_v normal mb-10",children:nh[pt(t)].data.map(n=>h.jsx("p",{children:n},n))})]}),h.jsx("div",{className:"h-full max-size-[600px] flex-[0_0_50%]",children:h.jsx("img",{src:"/about-place.jpg",alt:"",className:"size-full object-contain"})})]})})},Hi=[{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"}],Fk=({className:e})=>{const t=Ee(n=>n.lang);return h.jsxs("section",{className:H("md:py-20 py-10 relative overflow-hidden",e),children:[h.jsx("img",{src:"/CTA.png",className:"absolute top-0 left-0 size-full -z-10 object-cover"}),h.jsxs(He,{children:[h.jsx("h3",{className:"h2 text-center !text-on_primary mb-6",children:Hi[pt(t)].title}),h.jsx("p",{className:"text-center md:text-lg text-sm text-primary_03 max-w-[828px] px-5 mx-auto mb-10",children:Hi[pt(t)].p}),h.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-6",children:[h.jsx(Ce,{to:"/stend-form",className:"w-full",children:h.jsx(rt,{className:"bg-reverse_primary w-full text-primary hover:bg-reverse_primary/90",children:Hi[pt(t)].button1})}),h.jsx(Ce,{to:"/B2B-B2GS",className:"w-full",children:h.jsx(rt,{className:"bg-reverse_primary w-full hover:bg-reverse_primary/90 text-primary",children:Hi[pt(t)].button2})})]})]})]})},Gy=e=>{const t=Ee(r=>r.lang),{data:n,isPending:s}=bn({queryKey:["static-words",t,e],queryFn:()=>TR(t,e),select:({data:r})=>r.data});return{data:n,isPending:s}},Lk=()=>{var f,g,m,p,y,v,b,w;const e=Ee(T=>T.lang),{t}=Ss("about"),{data:n,isPending:s}=Gy("2"),r=(f=n==null?void 0:n.find(T=>T.key==="about_1"))==null?void 0:f.text,i=(g=n==null?void 0:n.find(T=>T.key==="about_2"))==null?void 0:g.text,o=(m=n==null?void 0:n.find(T=>T.key==="about_3"))==null?void 0:m.text,a=(p=n==null?void 0:n.find(T=>T.key==="about_4"))==null?void 0:p.text,c=(y=n==null?void 0:n.find(T=>T.key==="about_5"))==null?void 0:y.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?h.jsx(qn,{}):h.jsxs(He,{className:"flex flex-col md:my-20 my-10 gap-16",children:[h.jsxs("div",{className:"flex flex-col gap-6",children:[h.jsx("h2",{className:"h2",children:r}),h.jsx("div",{className:"flex flex-col p gap-3",dangerouslySetInnerHTML:{__html:i??""}})]}),h.jsxs("div",{className:"flex flex-col gap-6",children:[h.jsx("h3",{className:"h2",children:o}),h.jsx("h4",{className:"p",children:a}),h.jsx("ol",{type:"1",className:"list-decimal pl-8 flex flex-col gap-3 ",children:c==null?void 0:c.map((T,S)=>h.jsx("li",{className:"p",children:e==="ru"?T.text_ru:T.text_en},S))})]}),h.jsxs("div",{className:"flex flex-col gap-6",children:[h.jsx("h2",{className:"h2",children:l}),h.jsx("h3",{className:"p",children:u}),h.jsx("ul",{className:"list-disc pl-8 flex flex-col gap-3 p",children:d==null?void 0:d.map((T,S)=>h.jsxs("li",{children:[" ",e==="ru"?T.text_ru:T.text_en]},S))})]}),h.jsx(Ce,{className:"w-fit mx-auto",to:"/become-sponsor",children:h.jsx(rt,{children:t("main.button")})})]})},Ik=()=>{const{t:e}=Ss("home"),t=uo("(min-width: 1024px)"),n=uo("(min-width: 768px)");function s(){return e(t?"banners.lg":n?"banners.md":"banners.sm")}return h.jsx("div",{children:h.jsxs("section",{className:"flex flex-col gap-5 ",children:[h.jsx("div",{className:"embla ",children:h.jsx("div",{className:"embla__container",children:h.jsx("div",{className:"embla__slide",children:h.jsx("img",{src:s(),alt:"",className:"size-full object-cover lg:max-h-[600px] lg:min-h-[320px]"})})})}),h.jsx("div",{className:"relative",children:h.jsx(ik,{className:"absolute sm:bottom-12 bottom-28 2xl:right-[10%] xl:right-[13%] lg:right-[15%] right-10"})})]})})},G1=()=>{const e=Ee(s=>s.lang),{data:t,isPending:n}=bn({queryKey:["home-contacts",e],queryFn:()=>ER(e),select:({data:s})=>s.data});return{data:t,isPending:n}},Vk=({className:e})=>{const t=Ee(o=>o.lang),{data:n,isPending:s}=Ky(),{data:r}=G1(),i=pt(t);return s?h.jsx(qn,{}):h.jsx("section",{className:H("bg-surface_high my-20 pt-10 pb-20",e),children:h.jsxs(He,{children:[h.jsx("h2",{className:"h2 mb-6",children:Zy[i].title}),h.jsxs("div",{className:"flex flex-col gap-6",children:[h.jsx("div",{className:"flex flex-col md:flex-row items-center gap-6",children:n==null?void 0:n.map((o,a)=>x.createElement(up,{...o,key:a,className:"w-full"}))}),h.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((o,a)=>x.createElement(nw,{...o,key:a,className:"w-full"}))}),h.jsx(Ce,{to:"/stend-form",className:"md:w-fit w-full mx-auto",children:h.jsx(rt,{className:"w-full",children:t===Et.RU?"Забронируйте стенд":"Book a stand"})})]})]})})},Q1=[{h2:"Выставка-ярмарка «TurkmenTextile Expo-2025» в Ашхабаде",p:`Международная выставка-ярмарка, которая объединит мировых лидеров отрасли, инновационных производителей и творческих дизайнеров. + 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"}]}],Qy=()=>{const e=Ee(s=>s.lang),{data:t,isPending:n}=bn({queryKey:["industries",e],queryFn:()=>AR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},DN=({className:e})=>{const t=Ee(r=>r.lang),{data:n,isPending:s}=Qy();return h.jsx("section",{className:W("relative w-full bg-[#FDEDEE] -z-10 py-10",e),children:h.jsx(He,{children:s?h.jsx(qn,{}):h.jsxs(h.Fragment,{children:[h.jsx("h3",{className:"h2 mb-4",children:Uc[pt(t)].title}),h.jsx("div",{className:"grid md:grid-cols-4 grid-cols-2 gap-6",children:n==null?void 0:n.map((r,i)=>h.jsx(fp,{...r},i))}),h.jsxs("div",{className:"flex items-center gap-3 mt-8 text-on_surface_v text-lg",children:[h.jsx("div",{className:"md:w-1 w-4 md:h-[38px] h-40 bg-teritary_08"}),h.jsx("p",{className:"text-18",children:Uc[pt(t)].bottom_text})]})]})})})},Xy=[{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"}]}],Yy=()=>{const e=Ee(s=>s.lang),{data:t,isPending:n}=bn({queryKey:["exhibiton-time",e],queryFn:()=>PR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},MN=({className:e})=>{const t=Ee(r=>r.lang),{data:n,isPending:s}=Yy();return h.jsx("section",{className:W("bg-surface_container py-10 md:py-20",e),children:h.jsx(He,{children:s?h.jsx(qn,{}):h.jsxs(h.Fragment,{children:[h.jsx("h2",{className:"h2 mb-6",children:Xy[pt(t)].title}),h.jsx("div",{className:"flex flex-col md:flex-row items-center gap-6",children:n==null?void 0:n.map((r,i)=>x.createElement(hp,{bottomClassName:"!bg-white rounded-b-[2px]",...r,key:i,className:"w-full"}))})]})})})},sh=[{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."]}],FN=({className:e})=>{const t=Ee(n=>n.lang);return h.jsx("section",{className:W("gap-6 relative overflow-hidden",e),children:h.jsxs(He,{className:"md:py-20 py-10 grid-cols-1 lg:grid-cols-2 lg:gap-12 gap-0 grid",children:[h.jsxs("div",{className:"flex-[0_0_50%]",children:[h.jsx("h3",{className:"h2 mb-6",children:sh[pt(t)].title}),h.jsx("div",{className:"text-lg flex flex-col gap-6 text-on_surface_v normal mb-10",children:sh[pt(t)].data.map(n=>h.jsx("p",{children:n},n))})]}),h.jsx("div",{className:"h-full max-size-[600px] flex-[0_0_50%]",children:h.jsx("img",{src:"/about-place.jpg",alt:"",className:"size-full object-contain"})})]})})},Hi=[{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"}],LN=({className:e})=>{const t=Ee(n=>n.lang);return h.jsxs("section",{className:W("md:py-20 py-10 relative overflow-hidden",e),children:[h.jsx("img",{src:"/CTA.png",className:"absolute top-0 left-0 size-full -z-10 object-cover"}),h.jsxs(He,{children:[h.jsx("h3",{className:"h2 text-center !text-on_primary mb-6",children:Hi[pt(t)].title}),h.jsx("p",{className:"text-center md:text-lg text-sm text-primary_03 max-w-[828px] px-5 mx-auto mb-10",children:Hi[pt(t)].p}),h.jsxs("div",{className:"flex flex-col md:flex-row items-center gap-6",children:[h.jsx(Ce,{to:"/stend-form",className:"w-full",children:h.jsx(it,{className:"bg-reverse_primary w-full text-primary hover:bg-reverse_primary/90",children:Hi[pt(t)].button1})}),h.jsx(Ce,{to:"/B2B-B2GS",className:"w-full",children:h.jsx(it,{className:"bg-reverse_primary w-full hover:bg-reverse_primary/90 text-primary",children:Hi[pt(t)].button2})})]})]})]})},Jy=e=>{const t=Ee(r=>r.lang),{data:n,isPending:s}=bn({queryKey:["static-words",t,e],queryFn:()=>TR(t,e),select:({data:r})=>r.data});return{data:n,isPending:s}},IN=()=>{var f,g,m,p,y,v,b,w;const e=Ee(T=>T.lang),{t}=_s("about"),{data:n,isPending:s}=Jy("2"),r=(f=n==null?void 0:n.find(T=>T.key==="about_1"))==null?void 0:f.text,i=(g=n==null?void 0:n.find(T=>T.key==="about_2"))==null?void 0:g.text,o=(m=n==null?void 0:n.find(T=>T.key==="about_3"))==null?void 0:m.text,a=(p=n==null?void 0:n.find(T=>T.key==="about_4"))==null?void 0:p.text,c=(y=n==null?void 0:n.find(T=>T.key==="about_5"))==null?void 0:y.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?h.jsx(qn,{}):h.jsxs(He,{className:"flex flex-col md:my-20 my-10 gap-16",children:[h.jsxs("div",{className:"flex flex-col gap-6",children:[h.jsx("h2",{className:"h2",children:r}),h.jsx("div",{className:"flex flex-col p gap-3",dangerouslySetInnerHTML:{__html:i??""}})]}),h.jsxs("div",{className:"flex flex-col gap-6",children:[h.jsx("h3",{className:"h2",children:o}),h.jsx("h4",{className:"p",children:a}),h.jsx("ol",{type:"1",className:"list-decimal pl-8 flex flex-col gap-3 ",children:c==null?void 0:c.map((T,S)=>h.jsx("li",{className:"p",children:e==="ru"?T.text_ru:T.text_en},S))})]}),h.jsxs("div",{className:"flex flex-col gap-6",children:[h.jsx("h2",{className:"h2",children:l}),h.jsx("h3",{className:"p",children:u}),h.jsx("ul",{className:"list-disc pl-8 flex flex-col gap-3 p",children:d==null?void 0:d.map((T,S)=>h.jsxs("li",{children:[" ",e==="ru"?T.text_ru:T.text_en]},S))})]}),h.jsx(Ce,{className:"w-fit mx-auto",to:"/become-sponsor",children:h.jsx(it,{children:t("main.button")})})]})},VN=()=>{const{t:e}=_s("home"),t=uo("(min-width: 1024px)"),n=uo("(min-width: 768px)");function s(){return e(t?"banners.lg":n?"banners.md":"banners.sm")}return h.jsx("div",{children:h.jsxs("section",{className:"flex flex-col gap-5 ",children:[h.jsx("div",{className:"embla ",children:h.jsx("div",{className:"embla__container",children:h.jsx("div",{className:"embla__slide",children:h.jsx("img",{src:s(),alt:"",className:"size-full object-cover lg:max-h-[600px] lg:min-h-[320px]"})})})}),h.jsx("div",{className:"relative",children:h.jsx(iN,{className:"absolute sm:bottom-12 bottom-28 2xl:right-[10%] xl:right-[13%] lg:right-[15%] right-10"})})]})})},G1=()=>{const e=Ee(s=>s.lang),{data:t,isPending:n}=bn({queryKey:["home-contacts",e],queryFn:()=>ER(e),select:({data:s})=>s.data});return{data:t,isPending:n}},BN=({className:e})=>{const t=Ee(o=>o.lang),{data:n,isPending:s}=Yy(),{data:r}=G1(),i=pt(t);return s?h.jsx(qn,{}):h.jsx("section",{className:W("bg-surface_high my-20 pt-10 pb-20",e),children:h.jsxs(He,{children:[h.jsx("h2",{className:"h2 mb-6",children:Xy[i].title}),h.jsxs("div",{className:"flex flex-col gap-6",children:[h.jsx("div",{className:"flex flex-col md:flex-row items-center gap-6",children:n==null?void 0:n.map((o,a)=>x.createElement(hp,{...o,key:a,className:"w-full"}))}),h.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((o,a)=>x.createElement(rw,{...o,key:a,className:"w-full"}))}),h.jsx(Ce,{to:"/stend-form",className:"md:w-fit w-full mx-auto",children:h.jsx(it,{className:"w-full",children:t===Et.RU?"Забронируйте стенд":"Book a stand"})})]})]})})},Q1=[{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"}],X1=()=>{const e=Ee(s=>s.lang),{data:t,isPending:n}=bn({queryKey:["stats",e],queryFn:()=>CR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},Bk=()=>{var c,l;const[e]=Ts(),t=Ee(u=>u.lang),{data:n,isPending:s}=Gy("1"),{data:r}=X1(),i=(c=n==null?void 0:n.find(u=>u.key==="index_1"))==null?void 0:c.text,o=(l=n==null?void 0:n.find(u=>u.key==="index_2"))==null?void 0:l.text,a=pt(t);return s?h.jsx(qn,{}):h.jsx("section",{className:"py-20",children:h.jsxs(He,{className:"flex flex-col gap-6",children:[h.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 items-center",children:[h.jsxs("div",{className:"flex flex-col gap-6",children:[h.jsx("h2",{className:"h2 text-left",children:i}),h.jsx("div",{dangerouslySetInnerHTML:{__html:o||""},className:"md:text-base flex flex-col gap-6 text-sm normal text-left text-[#454545]"}),h.jsx(Ce,{to:"/about",className:"w-fit",children:h.jsx(rt,{variant:"outline",children:Q1[a].button})})]}),h.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"})]}),h.jsx("div",{ref:e,className:"embla overflow-hidden",children:h.jsx("div",{className:"flex embla__container items-center gap-6",children:r==null?void 0:r.map(u=>h.jsx(ew,{...u,className:"embla__slide flex-[0_0_288px]"},u.text))})})]})})},Uk=()=>{const e=Ee(s=>s.lang),{data:t,isPending:n}=qy();return n?h.jsx(qn,{}):h.jsx("section",{className:"",children:h.jsxs(He,{children:[h.jsx("h2",{className:"h2 mb-10 text-center",children:Uc[pt(e)].title}),h.jsx("div",{className:"grid md:grid-cols-4 grid-cols-2 gap-6",children:t==null?void 0:t.map((s,r)=>h.jsx(lp,{...s},r))})]})})},Y1=[{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"}]}],$k=()=>{const[e,t]=Ts({align:"start"}),[n,s]=x.useState(0),r=Ee(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]),h.jsx("section",{className:"bg-surface_high py-10 my-20 relative overflow-hidden",children:h.jsx(He,{children:h.jsxs("div",{ref:e,className:"embla ",children:[h.jsx("div",{className:"mb-2 flex gap-6 embla__container",children:Y1[pt(r)].data.map(o=>x.createElement(tw,{...o,key:o.title,className:"embla__slide flex-[0_0_300px] sm:flex-[0_0_600px]"}))}),h.jsx(tC,{className:"xl:hidden",scrollTo:i,active:n,slides:2})]})})})},J1={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function ek(e,t){const n=e.scrollSnapList();return typeof t=="number"?n.map(()=>t):t(n,e)}function tk(e,t){const n=e.rootNode();return t&&t(n)||n}function fu(e={}){let t,n,s,r,i=null,o=0,a=!1,c=!1,l=!1,u=!1;function d(I,J){n=I;const{mergeOptions:X,optionsAtMedia:q}=J,Z=X(J1,fu.globalOptions),re=X(Z,e);if(t=q(re),n.scrollSnapList().length<=1)return;u=t.jump,s=!1,r=ek(n,t.delay);const{eventStore:de,ownerDocument:ge}=n.internalEngine(),Be=!!n.internalEngine().options.watchDrag,qe=tk(n,t.rootNode);de.add(ge,"visibilitychange",v),Be&&n.on("pointerDown",w),Be&&!t.stopOnInteraction&&n.on("pointerUp",T),t.stopOnMouseEnter&&de.add(qe,"mouseenter",S),t.stopOnMouseEnter&&!t.stopOnInteraction&&de.add(qe,"mouseleave",A),t.stopOnFocusIn&&n.on("slideFocusStart",y),t.stopOnFocusIn&&!t.stopOnInteraction&&de.add(n.containerNode(),"focusout",p),t.playOnInit&&p()}function f(){n.off("pointerDown",w).off("pointerUp",T).off("slideFocusStart",y),y(),s=!0,a=!1}function g(){const{ownerWindow:I}=n.internalEngine();I.clearTimeout(o),o=I.setTimeout(L,r[n.selectedScrollSnap()]),i=new Date().getTime(),n.emit("autoplay:timerset")}function m(){const{ownerWindow:I}=n.internalEngine();I.clearTimeout(o),o=0,i=null,n.emit("autoplay:timerstopped")}function p(){if(!s){if(b()){l=!0;return}a||n.emit("autoplay:play"),g(),a=!0}}function y(){s||(a&&n.emit("autoplay:stop"),m(),a=!1)}function v(){if(b())return l=a,y();l&&p()}function b(){const{ownerDocument:I}=n.internalEngine();return I.visibilityState==="hidden"}function w(){c||y()}function T(){c||p()}function S(){c=!0,y()}function A(){c=!1,p()}function P(I){typeof I<"u"&&(u=I),p()}function E(){a&&y()}function j(){a&&p()}function D(){return a}function L(){const{index:I}=n.internalEngine(),J=I.clone().add(1).get(),X=n.scrollSnapList().length-1,q=t.stopOnLastSnap&&J===X;if(n.canScrollNext()?n.scrollNext(u):n.scrollTo(0,u),n.emit("autoplay:select"),q)return y();p()}function O(){if(!i)return null;const I=r[n.selectedScrollSnap()],J=new Date().getTime()-i;return I-J}return{name:"autoplay",options:e,init:d,destroy:f,play:P,stop:E,reset:j,isPlaying:D,timeUntilNext:O}}fu.globalOptions=void 0;const nk=()=>{const e=Ee(s=>s.lang),{data:t,isPending:n}=bn({queryKey:["sponsors",e],queryFn:()=>jR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},zk=({className:e})=>{const[t]=Ts({loop:!0,align:"start",skipSnaps:!0,duration:75},[fu({stopOnInteraction:!1,delay:3e3})]),{data:n,isPending:s}=nk(),{t:r}=Ss("home",{keyPrefix:"sponsors"});return s?h.jsx(qn,{}):h.jsx("section",{className:H("md:py-20",e),children:h.jsxs(He,{className:"flex flex-col gap-6",children:[h.jsx("h2",{className:"h2",children:r("title")}),h.jsx("div",{ref:t,className:"embla overflow-hidden",children:h.jsx("div",{className:"embla__container flex",children:n==null?void 0:n.map((i,o)=>{var a,c;return i.link?h.jsxs(Ce,{target:"_blank",to:i.link,className:"bg-surface_container flex flex-col embla__slide mr-6 min-w-0 flex-[0_0_288px] items-center justify-center min-h-[128px] w-full",children:[h.jsx("img",{src:(a=i==null?void 0:i.image)==null?void 0:a.path,alt:"logo",className:"object-contain flex-auto"}),h.jsx("div",{className:"bg-secondary_container text-xs text-center py-1 px-2 w-full",children:i.name})]},o):h.jsxs("div",{className:"bg-surface_container embla__slide mr-6 min-w-0 flex-[0_0_288px] items-center justify-center minh-[128px] w-full",children:[h.jsx("div",{className:"h-[128px] w-full",children:h.jsx("img",{src:(c=i==null?void 0:i.image)==null?void 0:c.path,alt:"logo",className:"object-contain size-full"})}),h.jsx("div",{className:"bg-secondary_container text-xs text-center py-1 px-2",children:i.name})]},o)})})})]})})},sk=e=>{const{data:t,isPending:n}=bn({queryKey:["news",e],queryFn:()=>RR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},rk=({className:e,featured_images:t,title:n,id:s,published_at:r})=>{var i;return h.jsx(Ce,{to:`/news/${s}`,children:h.jsxs("article",{className:H("bg-surface_container justify-between h-[400px] flex flex-col gap-6",e),children:[h.jsxs("div",{className:"flex flex-col gap-4 px-6 pt-6",children:[h.jsxs("div",{className:"flex items-center justify-between",children:[h.jsx("h4",{children:r.slice(0,10).split("-").reverse().join(".")}),h.jsx(Dx,{})]}),h.jsx("hr",{}),h.jsx("h3",{className:"text-[20px] leading-[130%] line-clamp-3",children:n})]}),h.jsx("img",{src:((i=t==null?void 0:t[0])==null?void 0:i.path)||"",alt:"news image",className:"w-full h-[220px] object-cover"})]})})},Wk=()=>{const e=Ee(s=>s.lang),{data:t,isPending:n}=sk(e);return n?h.jsx(qn,{}):h.jsx("section",{className:H("md:mb-[120px] mb-20"),children:h.jsxs(He,{children:[h.jsx("h2",{className:"h2 text-center md:mb-8 mb-6",children:e==="en"?"News":"Новости"}),h.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:t==null?void 0:t.slice(0,3).map(s=>x.createElement(rk,{...s,key:s.title}))})]})})},ik=({className:e})=>{const{t}=Ss("home"),[n,s]=x.useState({days:"0",hours:"00",minutes:"00",seconds:"00"}),[r,i]=x.useState({}),o=new Date("2025-06-11T08:00:00").getTime(),a=()=>{const f=new Date().getTime(),g=o-f;return g<=0?null:{days:Math.floor(g/(1e3*60*60*24)),hours:Math.floor(g%(1e3*60*60*24)/(1e3*60*60)),minutes:Math.floor(g%(1e3*60*60)/(1e3*60)),seconds:Math.floor(g%(1e3*60)/1e3)}};x.useEffect(()=>{const f=a();f&&s({days:f.days.toString(),hours:f.hours.toString().padStart(2,"0"),minutes:f.minutes.toString().padStart(2,"0"),seconds:f.seconds.toString().padStart(2,"0")});const g=setInterval(()=>{const m=a();if(!m){clearInterval(g);return}i({days:n.days,hours:n.hours,minutes:n.minutes,seconds:n.seconds}),s({days:m.days.toString(),hours:m.hours.toString().padStart(2,"0"),minutes:m.minutes.toString().padStart(2,"0"),seconds:m.seconds.toString().padStart(2,"0")})},1e3);return()=>clearInterval(g)},[o]);const{days:c,hours:l,minutes:u,seconds:d}=t("timer",{returnObjects:!0});return h.jsx("section",{className:H("2xl:w-[600px] xl:w-[450px] w-[350px]",e),children:h.jsxs("div",{className:"grid grid-cols-4 w-full mr-[50%] gap-6 items-end place-items-center",children:[h.jsx(Wi,{value:n.days,prevValue:r.days||n.days,label:c}),h.jsx(Wi,{value:n.hours,prevValue:r.hours||n.hours,label:l}),h.jsx(Wi,{value:n.minutes,prevValue:r.minutes||n.minutes,label:u}),h.jsx(Wi,{value:n.seconds,prevValue:r.seconds||n.seconds,label:d})]})})},Hk=({className:e})=>{const{t}=Ss("home"),{items:n}=t("buttons",{returnObjects:!0});return h.jsx("section",{className:H("",e),children:h.jsx(He,{children:h.jsx("div",{className:"grid md:grid-cols-3 sm:grid-cols-2 grid-cols-1 gap-6",children:n.map((s,r)=>s.dropdown?h.jsx(Ce,{target:s.blank?"_blank":"",to:s.link??"",className:"w-full",children:h.jsx(Ro,{dropDownContent:s.items,triggerClassName:"w-full",className:"!w-full",children:h.jsxs(rt,{size:"lg",variant:"teritary",className:"w-full drop-shadow-sm shadow-md md:text-xl text-lg bg-teritary text-on_teritary hover:bg-teritary/90",children:[s.text,h.jsx(Ny,{w:"40",h:"40",color:"white"})]})})},r):h.jsx(Ce,{to:s.link??"",target:s.blank?"_blank":"",children:h.jsx(rt,{variant:"teritary",size:"lg",className:"w-full drop-shadow-sm shadow-md md:text-xl text-lg bg-teritary text-on_teritary hover:bg-teritary/90",children:s.text})},r))})})})},ok=()=>{const{t:e}=Ss("nav"),t=Ee(i=>i.lang),n=Cc(i=>i.sheet),s=Cc(i=>i.setSheet),r=e("navigation",{returnObjects:!0});return h.jsxs(Nb,{onOpenChange:()=>s(!n),open:n,children:[h.jsx(jb,{children:h.jsxs("div",{className:"flex flex-col gap-1 lg:hidden items-center justify-center size-10",children:[h.jsx("div",{className:"w-[18px] h-0.5 bg-white rounded-[2px]"}),h.jsx("div",{className:"w-[18px] h-0.5 bg-white rounded-[2px]"}),h.jsx("div",{className:"w-[18px] h-0.5 bg-white rounded-[2px]"})]})}),h.jsxs(sp,{className:"overflow-y-auto",children:[h.jsx(Ob,{}),h.jsxs(rp,{className:"mt-16 flex flex-col gap-2",children:[h.jsx(Ce,{to:t===Et.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",children:h.jsx(rt,{variant:"secondary",size:"sm",className:"bg-teritary w-full text-on_teritary hover:bg-teritary/90",children:t==="ru"?"Официальная поддержка":"Official Support"})}),h.jsx(Ce,{to:"/become-sponsor",children:h.jsx(rt,{variant:"secondary",size:"sm",className:"bg-primary w-full text-white hover:bg-primary/90",children:t==="ru"?"Стать спонсором":"Become a sponsor"})})]}),h.jsx("hr",{className:"border-slate-500/20 my-8"}),h.jsx("div",{className:"flex flex-col gap-6",children:r.map(i=>i.drop?h.jsx(Ro,{className:"w-full",triggerClassName:"justify-between py-2",color:"black",dropDownContent:i.dropDownContent,title:i.title},i.title):h.jsx(Ce,{target:i.blank??"",className:"py-2",to:i.link||"",onClick:()=>s(!1),children:i.title},i.title))})]})]})},qk=()=>{const e=Ee(s=>s.lang),{t}=Ss("nav"),n=t("navigation",{returnObjects:!0});return h.jsxs("header",{children:[h.jsx("div",{className:"h-12 hidden lg:flex bg-sur text-surface-bg items-center overflow-hidden",children:h.jsxs(He,{className:"flex items-center justify-between",children:[h.jsxs("div",{className:"gap-8 flex items-center justify-between",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx(qx,{}),h.jsx("h4",{className:"text-sm",children:e==="ru"?"Ашхабад, Туркменистан":"Ashgabat, Turkmenistan"})]}),h.jsx("nav",{className:"flex items-center gap-6",children:n.slice(0,3).map(s=>s.drop?h.jsx(Ro,{color:"black",dropDownContent:s.dropDownContent,title:s.title},s.title):h.jsx(Ce,{target:s.blank?"_blank":"",className:"py-2",to:s.link||"",children:s.title},s.title))})]}),h.jsxs("div",{className:"flex items-center gap-6",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx(Gx,{size:16,strokeWidth:"3px"}),h.jsx("h4",{className:"text-sm",children:"+99371871812"})]}),h.jsx(_f,{className:"!text-on_surface"})]})]})}),h.jsx("div",{className:"bg-primary py-2 flex items-center justify-between h-20 overflow-hidden",children:h.jsxs(He,{className:"flex items-center justify-between ",children:[h.jsxs("div",{className:"flex items-center gap-8",children:[h.jsx(Ce,{to:"/",children:h.jsx(cp,{})}),h.jsx("nav",{className:"lg:flex hidden items-center gap-6 text-white",children:n.slice(3,6).map(s=>s.drop?h.jsx(Ro,{dropDownContent:s.dropDownContent,title:s.title,color:"white"},s.title):h.jsx(Ce,{className:"py-2",to:s.link||"",children:s.title},s.title))})]}),h.jsxs("div",{className:"flex items-center gap-3",children:[h.jsx(_f,{className:"lg:hidden",light:!0}),h.jsx(ok,{})]}),h.jsxs("div",{className:"lg:flex hidden items-center gap-2",children:[h.jsx(Ce,{to:e===Et.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:h.jsx(rt,{variant:"secondary",size:"sm",className:"bg-white text-primary hover:bg-white/90",children:e==="ru"?"Официальная поддержка":"Official Support"})}),h.jsx(Ce,{to:"/become-sponsor",children:h.jsx(rt,{variant:"secondary",size:"sm",className:"bg-teritary text-white hover:bg-teritary/90",children:e==="ru"?"Стать спонсором":"Become a sponsor"})})]})]})})]})},Zk=()=>{const e=Ee(t=>t.lang);return h.jsxs("footer",{children:[h.jsx(ky,{}),h.jsx("div",{className:"py-5 bg-primary",children:h.jsxs(He,{className:"flex flex-col gap-6",children:[h.jsxs("div",{className:"flex flex-col md:flex-row gap-6 md:items-end md:justify-between items-center",children:[h.jsx(cp,{}),h.jsxs("div",{className:"flex items-center gap-6",children:[h.jsx(Ce,{target:"_blank",to:"https://www.facebook.com/profile.php?id=61567254728028",children:h.jsx($x,{className:"text-white"})}),h.jsx(Ce,{target:"_blank",to:"https://www.instagram.com/turkmenexpo_tm?igsh=bnhkOWpmNWcwcHBq",children:h.jsx("img",{src:"/inst.svg"})}),h.jsx(Ce,{target:"_blank",to:"https://www.linkedin.com/company/turkmen-expo",children:h.jsx("img",{src:"/in.svg"})}),h.jsx(Ce,{target:"_blank",to:"https://x.com/turkmenexpo?t=D-XSa8d0AC8GAv5peAzteA&s=09",children:h.jsx("img",{src:"/x.svg"})})]})]}),h.jsx("hr",{className:"border-white/50"}),h.jsx("h5",{className:"text-base text-center normal text-white",children:e===Et.RU?"©2025 Все права защищены":"All rights reserved"})]})})]})},He=({className:e,children:t})=>h.jsx("div",{className:H("w-full mx-auto max-w-[1240px] px-4",e),children:t}),Kk=({title:e})=>h.jsxs("div",{className:"relative flex items-center h-[116px] md:h-[216px] w-full justify-center",children:[h.jsx("img",{src:"/cover.png",className:"-z-10 absolute size-full object-cover top-0 left-0"}),h.jsx("h1",{className:"text-on_primary md:text-5xl text-3xl",children:e})]});export{He as $,ag as A,cg as B,xk as C,rt as D,dk as E,Zk as F,QT as G,qk as H,VE as I,vk as J,pk as K,Et as L,bk as M,Ve as N,Kk as O,ot as P,yk as Q,Lk as R,cr as S,Ok as T,Dk as U,Mk as V,Fk as W,_k as X,Ss as Y,Qh as Z,Tk as _,Ik as a,Z1 as a0,K1 as a1,Nk as a2,Ak as a3,fk as a4,qn as a5,bn as a6,Ck as a7,sk as a8,rk as a9,Ek as aa,Pk as ab,Sk as ac,Ts as ad,jk as ae,Rk as af,kk as ag,Hk as b,Bk as c,zk as d,$k as e,Uk as f,Vk as g,Wk as h,hk as i,h as j,$c as k,Bt as l,ph as m,Dn as n,mt as o,qi as p,lr as q,tE as r,H as s,Wo as t,Ee as u,Lr as v,pt as w,JT as x,og as y,Af as z}; + `,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"}],X1=()=>{const e=Ee(s=>s.lang),{data:t,isPending:n}=bn({queryKey:["stats",e],queryFn:()=>CR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},UN=()=>{var c,l;const[e]=Zn(),t=Ee(u=>u.lang),{data:n,isPending:s}=Jy("1"),{data:r}=X1(),i=(c=n==null?void 0:n.find(u=>u.key==="index_1"))==null?void 0:c.text,o=(l=n==null?void 0:n.find(u=>u.key==="index_2"))==null?void 0:l.text,a=pt(t);return s?h.jsx(qn,{}):h.jsx("section",{className:"py-20",children:h.jsxs(He,{className:"flex flex-col gap-6",children:[h.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 items-center",children:[h.jsxs("div",{className:"flex flex-col gap-6",children:[h.jsx("h2",{className:"h2 text-left",children:i}),h.jsx("div",{dangerouslySetInnerHTML:{__html:o||""},className:"md:text-base flex flex-col gap-6 text-sm normal text-left text-[#454545]"}),h.jsx(Ce,{to:"/about",className:"w-fit",children:h.jsx(it,{variant:"outline",children:Q1[a].button})})]}),h.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"})]}),h.jsx("div",{ref:e,className:"embla overflow-hidden",children:h.jsx("div",{className:"flex embla__container items-center gap-6",children:r==null?void 0:r.map(u=>h.jsx(nw,{...u,className:"embla__slide flex-[0_0_288px]"},u.text))})})]})})},$N=()=>{const e=Ee(s=>s.lang),{data:t,isPending:n}=Qy();return n?h.jsx(qn,{}):h.jsx("section",{className:"",children:h.jsxs(He,{children:[h.jsx("h2",{className:"h2 mb-10 text-center",children:Uc[pt(e)].title}),h.jsx("div",{className:"grid md:grid-cols-4 grid-cols-2 gap-6",children:t==null?void 0:t.map((s,r)=>h.jsx(fp,{...s},r))})]})})},Y1=[{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"}]}],zN=()=>{const[e,t]=Zn({align:"start"}),[n,s]=x.useState(0),r=Ee(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]),h.jsx("section",{className:"bg-surface_high py-10 my-20 relative overflow-hidden",children:h.jsx(He,{children:h.jsxs("div",{ref:e,className:"embla ",children:[h.jsx("div",{className:"mb-2 flex gap-6 embla__container",children:Y1[pt(r)].data.map(o=>x.createElement(sw,{...o,key:o.title,className:"embla__slide flex-[0_0_300px] sm:flex-[0_0_600px]"}))}),h.jsx(sC,{className:"xl:hidden",scrollTo:i,active:n,slides:2})]})})})},J1={active:!0,breakpoints:{},delay:4e3,jump:!1,playOnInit:!0,stopOnFocusIn:!0,stopOnInteraction:!0,stopOnMouseEnter:!1,stopOnLastSnap:!1,rootNode:null};function eN(e,t){const n=e.scrollSnapList();return typeof t=="number"?n.map(()=>t):t(n,e)}function tN(e,t){const n=e.rootNode();return t&&t(n)||n}function hu(e={}){let t,n,s,r,i=null,o=0,a=!1,c=!1,l=!1,u=!1;function d(I,J){n=I;const{mergeOptions:X,optionsAtMedia:q}=J,Z=X(J1,hu.globalOptions),re=X(Z,e);if(t=q(re),n.scrollSnapList().length<=1)return;u=t.jump,s=!1,r=eN(n,t.delay);const{eventStore:de,ownerDocument:ge}=n.internalEngine(),Be=!!n.internalEngine().options.watchDrag,qe=tN(n,t.rootNode);de.add(ge,"visibilitychange",v),Be&&n.on("pointerDown",w),Be&&!t.stopOnInteraction&&n.on("pointerUp",T),t.stopOnMouseEnter&&de.add(qe,"mouseenter",S),t.stopOnMouseEnter&&!t.stopOnInteraction&&de.add(qe,"mouseleave",A),t.stopOnFocusIn&&n.on("slideFocusStart",y),t.stopOnFocusIn&&!t.stopOnInteraction&&de.add(n.containerNode(),"focusout",p),t.playOnInit&&p()}function f(){n.off("pointerDown",w).off("pointerUp",T).off("slideFocusStart",y),y(),s=!0,a=!1}function g(){const{ownerWindow:I}=n.internalEngine();I.clearTimeout(o),o=I.setTimeout(L,r[n.selectedScrollSnap()]),i=new Date().getTime(),n.emit("autoplay:timerset")}function m(){const{ownerWindow:I}=n.internalEngine();I.clearTimeout(o),o=0,i=null,n.emit("autoplay:timerstopped")}function p(){if(!s){if(b()){l=!0;return}a||n.emit("autoplay:play"),g(),a=!0}}function y(){s||(a&&n.emit("autoplay:stop"),m(),a=!1)}function v(){if(b())return l=a,y();l&&p()}function b(){const{ownerDocument:I}=n.internalEngine();return I.visibilityState==="hidden"}function w(){c||y()}function T(){c||p()}function S(){c=!0,y()}function A(){c=!1,p()}function P(I){typeof I<"u"&&(u=I),p()}function E(){a&&y()}function j(){a&&p()}function D(){return a}function L(){const{index:I}=n.internalEngine(),J=I.clone().add(1).get(),X=n.scrollSnapList().length-1,q=t.stopOnLastSnap&&J===X;if(n.canScrollNext()?n.scrollNext(u):n.scrollTo(0,u),n.emit("autoplay:select"),q)return y();p()}function O(){if(!i)return null;const I=r[n.selectedScrollSnap()],J=new Date().getTime()-i;return I-J}return{name:"autoplay",options:e,init:d,destroy:f,play:P,stop:E,reset:j,isPlaying:D,timeUntilNext:O}}hu.globalOptions=void 0;const nN=()=>{const e=Ee(s=>s.lang),{data:t,isPending:n}=bn({queryKey:["sponsors",e],queryFn:()=>jR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},WN=({className:e})=>{const[t]=Zn({loop:!0,align:"start",skipSnaps:!0,duration:75},[hu({stopOnInteraction:!1,delay:3e3})]),{data:n,isPending:s}=nN(),{t:r}=_s("home",{keyPrefix:"sponsors"});return s?h.jsx(qn,{}):h.jsx("section",{className:W("md:py-20",e),children:h.jsxs(He,{className:"flex flex-col gap-6",children:[h.jsx("h2",{className:"h2",children:r("title")}),h.jsx("div",{ref:t,className:"embla overflow-hidden",children:h.jsx("div",{className:"embla__container flex",children:n==null?void 0:n.map((i,o)=>{var a,c;return i.link?h.jsxs(Ce,{target:"_blank",to:i.link,className:"bg-surface_container flex flex-col embla__slide mr-6 min-w-0 flex-[0_0_288px] items-center justify-center min-h-[128px] w-full",children:[h.jsx("img",{src:(a=i==null?void 0:i.image)==null?void 0:a.path,alt:"logo",className:"object-contain flex-auto"}),h.jsx("div",{className:"bg-secondary_container text-xs text-center py-1 px-2 w-full",children:i.name})]},o):h.jsxs("div",{className:"bg-surface_container embla__slide mr-6 min-w-0 flex-[0_0_288px] items-center justify-center minh-[128px] w-full",children:[h.jsx("div",{className:"h-[128px] w-full",children:h.jsx("img",{src:(c=i==null?void 0:i.image)==null?void 0:c.path,alt:"logo",className:"object-contain size-full"})}),h.jsx("div",{className:"bg-secondary_container text-xs text-center py-1 px-2",children:i.name})]},o)})})})]})})},sN=e=>{const{data:t,isPending:n}=bn({queryKey:["news",e],queryFn:()=>RR(e),select:({data:s})=>s.data});return{data:t,isPending:n}},rN=({className:e,featured_images:t,title:n,id:s,published_at:r})=>{var i;return h.jsx(Ce,{to:`/news/${s}`,children:h.jsxs("article",{className:W("bg-surface_container justify-between h-[400px] flex flex-col gap-6",e),children:[h.jsxs("div",{className:"flex flex-col gap-4 px-6 pt-6",children:[h.jsxs("div",{className:"flex items-center justify-between",children:[h.jsx("h4",{children:r.slice(0,10).split("-").reverse().join(".")}),h.jsx(Ix,{})]}),h.jsx("hr",{}),h.jsx("h3",{className:"text-[20px] leading-[130%] line-clamp-3",children:n})]}),h.jsx("img",{src:((i=t==null?void 0:t[0])==null?void 0:i.path)||"",alt:"news image",className:"w-full h-[220px] object-cover"})]})})},HN=()=>{const e=Ee(s=>s.lang),{data:t,isPending:n}=sN(e);return n?h.jsx(qn,{}):h.jsx("section",{className:W("md:mb-[120px] mb-20"),children:h.jsxs(He,{children:[h.jsx("h2",{className:"h2 text-center md:mb-8 mb-6",children:e==="en"?"News":"Новости"}),h.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:t==null?void 0:t.slice(0,3).map(s=>x.createElement(rN,{...s,key:s.title}))})]})})},iN=({className:e})=>{const{t}=_s("home"),[n,s]=x.useState({days:"0",hours:"00",minutes:"00",seconds:"00"}),[r,i]=x.useState({}),o=new Date("2025-06-11T08:00:00").getTime(),a=()=>{const f=new Date().getTime(),g=o-f;return g<=0?null:{days:Math.floor(g/(1e3*60*60*24)),hours:Math.floor(g%(1e3*60*60*24)/(1e3*60*60)),minutes:Math.floor(g%(1e3*60*60)/(1e3*60)),seconds:Math.floor(g%(1e3*60)/1e3)}};x.useEffect(()=>{const f=a();f&&s({days:f.days.toString(),hours:f.hours.toString().padStart(2,"0"),minutes:f.minutes.toString().padStart(2,"0"),seconds:f.seconds.toString().padStart(2,"0")});const g=setInterval(()=>{const m=a();if(!m){clearInterval(g);return}i({days:n.days,hours:n.hours,minutes:n.minutes,seconds:n.seconds}),s({days:m.days.toString(),hours:m.hours.toString().padStart(2,"0"),minutes:m.minutes.toString().padStart(2,"0"),seconds:m.seconds.toString().padStart(2,"0")})},1e3);return()=>clearInterval(g)},[o]);const{days:c,hours:l,minutes:u,seconds:d}=t("timer",{returnObjects:!0});return h.jsx("section",{className:W("2xl:w-[600px] xl:w-[450px] w-[350px]",e),children:h.jsxs("div",{className:"grid grid-cols-4 w-full mr-[50%] gap-6 items-end place-items-center",children:[h.jsx(Wi,{value:n.days,prevValue:r.days||n.days,label:c}),h.jsx(Wi,{value:n.hours,prevValue:r.hours||n.hours,label:l}),h.jsx(Wi,{value:n.minutes,prevValue:r.minutes||n.minutes,label:u}),h.jsx(Wi,{value:n.seconds,prevValue:r.seconds||n.seconds,label:d})]})})},qN=({className:e})=>{const{t}=_s("home"),{items:n}=t("buttons",{returnObjects:!0});return h.jsx("section",{className:W("",e),children:h.jsx(He,{children:h.jsx("div",{className:"grid md:grid-cols-3 sm:grid-cols-2 grid-cols-1 gap-6",children:n.map((s,r)=>s.dropdown?h.jsx(Ce,{target:s.blank?"_blank":"",to:s.link??"",className:"w-full",children:h.jsx(Ro,{dropDownContent:s.items,triggerClassName:"w-full",className:"!w-full",children:h.jsxs(it,{size:"lg",variant:"teritary",className:"w-full drop-shadow-sm shadow-md md:text-xl text-lg bg-teritary text-on_teritary hover:bg-teritary/90",children:[s.text,h.jsx(My,{w:"40",h:"40",color:"white"})]})})},r):h.jsx(Ce,{to:s.link??"",target:s.blank?"_blank":"",children:h.jsx(it,{variant:"teritary",size:"lg",className:"w-full drop-shadow-sm shadow-md md:text-xl text-lg bg-teritary text-on_teritary hover:bg-teritary/90",children:s.text})},r))})})})},oN=()=>{const{t:e}=_s("nav"),t=Ee(i=>i.lang),n=Cc(i=>i.sheet),s=Cc(i=>i.setSheet),r=e("navigation",{returnObjects:!0});return h.jsxs(Ob,{onOpenChange:()=>s(!n),open:n,children:[h.jsx(Db,{children:h.jsxs("div",{className:"flex flex-col gap-1 lg:hidden items-center justify-center size-10",children:[h.jsx("div",{className:"w-[18px] h-0.5 bg-white rounded-[2px]"}),h.jsx("div",{className:"w-[18px] h-0.5 bg-white rounded-[2px]"}),h.jsx("div",{className:"w-[18px] h-0.5 bg-white rounded-[2px]"})]})}),h.jsxs(op,{className:"overflow-y-auto",children:[h.jsx(Mb,{}),h.jsxs(ap,{className:"mt-16 flex flex-col gap-2",children:[h.jsx(Ce,{to:t===Et.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",children:h.jsx(it,{variant:"secondary",size:"sm",className:"bg-teritary w-full text-on_teritary hover:bg-teritary/90",children:t==="ru"?"Официальная поддержка":"Official Support"})}),h.jsx(Ce,{to:"/become-sponsor",children:h.jsx(it,{variant:"secondary",size:"sm",className:"bg-primary w-full text-white hover:bg-primary/90",children:t==="ru"?"Стать спонсором":"Become a sponsor"})})]}),h.jsx("hr",{className:"border-slate-500/20 my-8"}),h.jsx("div",{className:"flex flex-col gap-6",children:r.map(i=>i.drop?h.jsx(Ro,{className:"w-full",triggerClassName:"justify-between py-2",color:"black",dropDownContent:i.dropDownContent,title:i.title},i.title):h.jsx(Ce,{target:i.blank??"",className:"py-2",to:i.link||"",onClick:()=>s(!1),children:i.title},i.title))})]})]})},ZN=()=>{const e=Ee(s=>s.lang),{t}=_s("nav"),n=t("navigation",{returnObjects:!0});return h.jsxs("header",{children:[h.jsx("div",{className:"h-12 hidden lg:flex bg-sur text-surface-bg items-center overflow-hidden",children:h.jsxs(He,{className:"flex items-center justify-between",children:[h.jsxs("div",{className:"gap-8 flex items-center justify-between",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx(Kx,{}),h.jsx("h4",{className:"text-sm",children:e==="ru"?"Ашхабад, Туркменистан":"Ashgabat, Turkmenistan"})]}),h.jsx("nav",{className:"flex items-center gap-6",children:n.slice(0,3).map(s=>s.drop?h.jsx(Ro,{color:"black",dropDownContent:s.dropDownContent,title:s.title},s.title):h.jsx(Ce,{target:s.blank?"_blank":"",className:"py-2",to:s.link||"",children:s.title},s.title))})]}),h.jsxs("div",{className:"flex items-center gap-6",children:[h.jsxs("div",{className:"flex items-center gap-2",children:[h.jsx(Xx,{size:16,strokeWidth:"3px"}),h.jsx("h4",{className:"text-sm",children:"+99371871812"})]}),h.jsx(Tf,{className:"!text-on_surface"})]})]})}),h.jsx("div",{className:"bg-primary py-2 flex items-center justify-between h-20 overflow-hidden",children:h.jsxs(He,{className:"flex items-center justify-between ",children:[h.jsxs("div",{className:"flex items-center gap-8",children:[h.jsx(Ce,{to:"/",children:h.jsx(dp,{})}),h.jsx("nav",{className:"lg:flex hidden items-center gap-6 text-white",children:n.slice(3,6).map(s=>s.drop?h.jsx(Ro,{dropDownContent:s.dropDownContent,title:s.title,color:"white"},s.title):h.jsx(Ce,{className:"py-2",to:s.link||"",children:s.title},s.title))})]}),h.jsxs("div",{className:"flex items-center gap-3",children:[h.jsx(Tf,{className:"lg:hidden",light:!0}),h.jsx(oN,{})]}),h.jsxs("div",{className:"lg:flex hidden items-center gap-2",children:[h.jsx(Ce,{to:e===Et.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:h.jsx(it,{variant:"secondary",size:"sm",className:"bg-white text-primary hover:bg-white/90",children:e==="ru"?"Официальная поддержка":"Official Support"})}),h.jsx(Ce,{to:"/become-sponsor",children:h.jsx(it,{variant:"secondary",size:"sm",className:"bg-teritary text-white hover:bg-teritary/90",children:e==="ru"?"Стать спонсором":"Become a sponsor"})})]})]})})]})},KN=()=>{const e=Ee(t=>t.lang);return h.jsxs("footer",{children:[h.jsx(Dy,{}),h.jsx("div",{className:"py-5 bg-primary",children:h.jsxs(He,{className:"flex flex-col gap-6",children:[h.jsxs("div",{className:"flex flex-col md:flex-row gap-6 md:items-end md:justify-between items-center",children:[h.jsx(dp,{}),h.jsxs("div",{className:"flex items-center gap-6",children:[h.jsx(Ce,{target:"_blank",to:"https://www.facebook.com/profile.php?id=61567254728028",children:h.jsx(Wx,{className:"text-white"})}),h.jsx(Ce,{target:"_blank",to:"https://www.instagram.com/turkmenexpo_tm?igsh=bnhkOWpmNWcwcHBq",children:h.jsx("img",{src:"/inst.svg"})}),h.jsx(Ce,{target:"_blank",to:"https://www.linkedin.com/company/turkmen-expo",children:h.jsx("img",{src:"/in.svg"})}),h.jsx(Ce,{target:"_blank",to:"https://x.com/turkmenexpo?t=D-XSa8d0AC8GAv5peAzteA&s=09",children:h.jsx("img",{src:"/x.svg"})})]})]}),h.jsx("hr",{className:"border-white/50"}),h.jsx("h5",{className:"text-base text-center normal text-white",children:e===Et.RU?"©2025 Все права защищены":"All rights reserved"})]})})]})},He=({className:e,children:t})=>h.jsx("div",{className:W("w-full mx-auto max-w-[1240px] px-4",e),children:t}),GN=({title:e})=>h.jsxs("div",{className:"relative flex items-center h-[116px] md:h-[216px] w-full justify-center",children:[h.jsx("img",{src:"/cover.png",className:"-z-10 absolute size-full object-cover top-0 left-0"}),h.jsx("h1",{className:"text-on_primary md:text-5xl text-3xl",children:e})]});export{He as $,ug as A,dg as B,xN as C,it as D,dN as E,KN as F,YT as G,ZN as H,VE as I,vN as J,pN as K,Et as L,bN as M,Ve as N,GN as O,at as P,yN as Q,IN as R,cr as S,DN as T,MN as U,FN as V,LN as W,_N as X,_s as Y,Jh as Z,TN as _,VN as a,Z1 as a0,K1 as a1,jN as a2,PN as a3,fN as a4,qn as a5,bn as a6,CN as a7,sN as a8,rN as a9,EN as aa,RN as ab,SN as ac,AN as ad,Zn as ae,ON as af,NN as ag,kN as ah,qN as b,UN as c,WN as d,zN as e,$N as f,BN as g,HN as h,hN as i,h as j,$c as k,Bt as l,mh as m,Dn as n,mt as o,qi as p,lr as q,sE as r,W as s,Wo as t,Ee as u,Lr as v,pt as w,tC as x,lg as y,Pf as z}; diff --git a/dist/impressions/test.png b/dist/impressions/test.png new file mode 100644 index 0000000000000000000000000000000000000000..6dcbe77da59044c7692cd00b7fced19f1ea059f0 GIT binary patch literal 13824 zcmV+bHvh?qP)vNaG&Gjv~@fhHEa9tPOuP}tm|B|UBHa9nrPN&h|-;e9Fvlti}g5$=_HM}Pl zbFsX*fXQ9EP_H);Po^-C&)}t}AIHqm<4C8{c=hEM;5cy%kBuRjF!#oj8F>7D_VpLw zhYoJJ^In{O>IuYCDU46=h2Lqzi^bs}!1Iqif}3x@3tlRVMy}Twj&iBQ`{F1J4kE$7&%E$m z|T(LXqZh0Evp=L|Zr40atj z!e=MA`Z9Gcl-Z9^|J?B9n7@J`(88g6L`8XPGC2`g?hXE0dSO>qNiDWFxEWbUOOC{!BL@+K8PE=?=&- z*U59EiOb@4xCzmY2QpAQ$&dqVw>z{L<5j+I-lg~2Yjq**v%6MfjViDk7A>~UN5>6) zuNYHz6T~FMP-K(1aZn>MUvAI1#UMNymON87MxN0L{Ahx_#y4mqM#BHhf(G4@MdJ@G z!h}Jn_ZWkAd$v{9C$t+G%@uYp1i^IYj3qiflkT;Ez&_lu9wZCoM%HGp3;eMAQnO($ zTC_afcmCJr2J5}ne_XR3?cfGD`gYoa-VO<#_Izy9LIQH7~1zb23=%roE|ia*2*A= zXV=j;8v@rFba(@5sd4y0ccXPH^+oOuG~GD!2x0<#nWrxmEAZ9&!Z5Hi^cAXh?l%+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