turkmen-textile-front/dist/assets/ui-library-D-xwqM5K.js

130 lines
353 KiB
JavaScript
Raw Normal View History

2025-02-11 09:09:27 +00:00
import{r as om,a as y,R as am,b as su,c as cm,d as de,L as Ae,e as rs}from"./react-vendor-OnsDvTPE.js";var ui={exports:{}},tr={};/**
2025-02-09 13:36:07 +00:00
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
2025-02-11 09:09:27 +00:00
*/var za;function lm(){if(za)return tr;za=1;var e=om(),t=Symbol.for("react.element"),n=Symbol.for("react.fragment"),r=Object.prototype.hasOwnProperty,s=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,i={key:!0,ref:!0,__self:!0,__source:!0};function o(a,c,l){var u,d={},f=null,p=null;l!==void 0&&(f=""+l),c.key!==void 0&&(f=""+c.key),c.ref!==void 0&&(p=c.ref);for(u in c)r.call(c,u)&&!i.hasOwnProperty(u)&&(d[u]=c[u]);if(a&&a.defaultProps)for(u in c=a.defaultProps,c)d[u]===void 0&&(d[u]=c[u]);return{$$typeof:t,type:a,key:f,ref:p,props:d,_owner:s.current}}return tr.Fragment=n,tr.jsx=o,tr.jsxs=o,tr}var Ua;function um(){return Ua||(Ua=1,ui.exports=lm()),ui.exports}var m=um();function Je(e,t,{checkForDefaultPrevented:n=!0}={}){return function(s){if(e==null||e(s),n===!1||!s.defaultPrevented)return t==null?void 0:t(s)}}function Wa(e,t){if(typeof e=="function")return e(t);e!=null&&(e.current=t)}function iu(...e){return t=>{let n=!1;const r=e.map(s=>{const i=Wa(s,t);return!n&&typeof i=="function"&&(n=!0),i});if(n)return()=>{for(let s=0;s<r.length;s++){const i=r[s];typeof i=="function"?i():Wa(e[s],null)}}}}function pt(...e){return y.useCallback(iu(...e),e)}function dm(e,t){const n=y.createContext(t),r=i=>{const{children:o,...a}=i,c=y.useMemo(()=>a,Object.values(a));return m.jsx(n.Provider,{value:c,children:o})};r.displayName=e+"Provider";function s(i){const o=y.useContext(n);if(o)return o;if(t!==void 0)return t;throw new Error(`\`${i}\` must be used within \`${e}\``)}return[r,s]}function So(e,t=[]){let n=[];function r(i,o){const a=y.createContext(o),c=n.length;n=[...n,o];const l=d=>{var v;const{scope:f,children:p,...g}=d,h=((v=f==null?void 0:f[e])==null?void 0:v[c])||a,x=y.useMemo(()=>g,Object.values(g));return m.jsx(h.Provider,{value:x,children:p})};l.displayName=i+"Provider";function u(d,f){var h;const p=((h=f==null?void 0:f[e])==null?void 0:h[c])||a,g=y.useContext(p);if(g)return g;if(o!==void 0)return o;throw new Error(`\`${d}\` must be used within \`${i}\``)}return[l,u]}const s=()=>{const i=n.map(o=>y.createContext(o));return function(a){const c=(a==null?void 0:a[e])||i;return y.useMemo(()=>({[`__scope${e}`]:{...a,[e]:c}}),[a,c])}};return s.scopeName=e,[r,fm(s,...t)]}function fm(...e){const t=e[0];if(e.length===1)return t;const n=()=>{const r=e.map(s=>({useScope:s(),scopeName:s.scopeName}));return function(i){const o=r.reduce((a,{useScope:c,scopeName:l})=>{const d=c(i)[`__scope${l}`];return{...a,...d}},{});return y.useMemo(()=>({[`__scope${t.scopeName}`]:o}),[o])}};return n.scopeName=t.scopeName,n}var pn=globalThis!=null&&globalThis.document?y.useLayoutEffect:()=>{},hm=am.useId||(()=>{}),mm=0;function ps(e){const[t,n]=y.useState(hm());return pn(()=>{n(r=>r??String(mm++))},[e]),t?`radix-${t}`:""}function Zt(e){const t=y.useRef(e);return y.useEffect(()=>{t.current=e}),y.useMemo(()=>(...n)=>{var r;return(r=t.current)==null?void 0:r.call(t,...n)},[])}function ou({prop:e,defaultProp:t,onChange:n=()=>{}}){const[r,s]=pm({defaultProp:t,onChange:n}),i=e!==void 0,o=i?e:r,a=Zt(n),c=y.useCallback(l=>{if(i){const d=typeof l=="function"?l(e):l;d!==e&&a(d)}else s(l)},[i,e,s,a]);return[o,c]}function pm({defaultProp:e,onChange:t}){const n=y.useState(e),[r]=n,s=y.useRef(r),i=Zt(t);return y.useEffect(()=>{s.current!==r&&(i(r),s.current=r)},[r,s,i]),n}var Hn=y.forwardRef((e,t)=>{const{children:n,...r}=e,s=y.Children.toArray(n),i=s.find(ym);if(i){const o=i.props.children,a=s.map(c=>c===i?y.Children.count(o)>1?y.Children.only(null):y.isValidElement(o)?o.props.children:null:c);return m.jsx(Ii,{...r,ref:t,children:y.isValidElement(o)?y.cloneElement(o,void 0,a):null})}return m.jsx(Ii,{...r,ref:t,children:n})});Hn.displayName="Slot";var Ii=y.forwardRef((e,t)=>{const{children:n,...r}=e;if(y.isValidElement(n)){const s=xm(n);return y.cloneElement(n,{...vm(r,n.props),ref:t?iu(t,s):s})}return y.Children.count(n)>1?y.Children.only(null):null});Ii.displayName="SlotClone";var gm=({children:e})=>m.jsx(m.Fragment,{children:e});function ym(e){return y.isValidElement(e)&&e.type===gm}function vm(e,t){const n={...t};for(const r in t){const s=e[r
.`.concat(zm,` {
2025-02-09 13:36:07 +00:00
overflow: hidden `).concat(r,`;
padding-right: `).concat(a,"px ").concat(r,`;
}
body[`).concat(On,`] {
overflow: hidden `).concat(r,`;
overscroll-behavior: contain;
`).concat([t&&"position: relative ".concat(r,";"),n==="margin"&&`
padding-left: `.concat(s,`px;
padding-top: `).concat(i,`px;
padding-right: `).concat(o,`px;
margin-left:0;
margin-top:0;
margin-right: `).concat(a,"px ").concat(r,`;
`),n==="padding"&&"padding-right: ".concat(a,"px ").concat(r,";")].filter(Boolean).join(""),`
}
.`).concat(gs,` {
right: `).concat(a,"px ").concat(r,`;
}
.`).concat(ys,` {
margin-right: `).concat(a,"px ").concat(r,`;
}
.`).concat(gs," .").concat(gs,` {
right: 0 `).concat(r,`;
}
.`).concat(ys," .").concat(ys,` {
margin-right: 0 `).concat(r,`;
}
body[`).concat(On,`] {
2025-02-11 09:09:27 +00:00
`).concat(Um,": ").concat(a,`px;
2025-02-09 13:36:07 +00:00
}
2025-02-11 09:09:27 +00:00
`)},Qa=function(){var e=parseInt(document.body.getAttribute(On)||"0",10);return isFinite(e)?e:0},cp=function(){y.useEffect(function(){return document.body.setAttribute(On,(Qa()+1).toString()),function(){var e=Qa()-1;e<=0?document.body.removeAttribute(On):document.body.setAttribute(On,e.toString())}},[])},lp=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,s=r===void 0?"margin":r;cp();var i=y.useMemo(function(){return ip(s)},[s]);return y.createElement(op,{styles:ap(i,!t,s,n?"":"!important")})},Bi=!1;if(typeof window<"u")try{var is=Object.defineProperty({},"passive",{get:function(){return Bi=!0,!0}});window.addEventListener("test",is,is),window.removeEventListener("test",is,is)}catch{Bi=!1}var Sn=Bi?{passive:!1}:!1,up=function(e){return e.tagName==="TEXTAREA"},pu=function(e,t){if(!(e instanceof Element))return!1;var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!up(e)&&n[t]==="visible")},dp=function(e){return pu(e,"overflowY")},fp=function(e){return pu(e,"overflowX")},ec=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var s=gu(e,r);if(s){var i=yu(e,r),o=i[1],a=i[2];if(o>a)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},hp=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},mp=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},gu=function(e,t){return e==="v"?dp(t):fp(t)},yu=function(e,t){return e==="v"?hp(t):mp(t)},pp=function(e,t){return e==="h"&&t==="rtl"?-1:1},gp=function(e,t,n,r,s){var i=pp(e,window.getComputedStyle(t).direction),o=i*r,a=n.target,c=t.contains(a),l=!1,u=o>0,d=0,f=0;do{var p=yu(e,a),g=p[0],h=p[1],x=p[2],v=h-x-i*g;(g||v)&&gu(e,a)&&(d+=v,f+=g),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},os=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},tc=function(e){return[e.deltaX,e.deltaY]},nc=function(e){return e&&"current"in e?e.current:e},yp=function(e,t){return e[0]===t[0]&&e[1]===t[1]},vp=function(e){return`
2025-02-09 13:36:07 +00:00
.block-interactivity-`.concat(e,` {pointer-events: none;}
.allow-interactivity-`).concat(e,` {pointer-events: all;}
2025-02-11 09:09:27 +00:00
`)},xp=0,Tn=[];function bp(e){var t=y.useRef([]),n=y.useRef([0,0]),r=y.useRef(),s=y.useState(xp++)[0],i=y.useState(mu)[0],o=y.useRef(e);y.useEffect(function(){o.current=e},[e]),y.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(s));var h=$m([e.lockRef.current],(e.shards||[]).map(nc),!0).filter(Boolean);return h.forEach(function(x){return x.classList.add("allow-interactivity-".concat(s))}),function(){document.body.classList.remove("block-interactivity-".concat(s)),h.forEach(function(x){return x.classList.remove("allow-interactivity-".concat(s))})}}},[e.inert,e.lockRef.current,e.shards]);var a=y.useCallback(function(h,x){if("touches"in h&&h.touches.length===2||h.type==="wheel"&&h.ctrlKey)return!o.current.allowPinchZoom;var v=os(h),b=n.current,S="deltaX"in h?h.deltaX:b[0]-v[0],C="deltaY"in h?h.deltaY:b[1]-v[1],_,A=h.target,E=Math.abs(S)>Math.abs(C)?"h":"v";if("touches"in h&&E==="h"&&A.type==="range")return!1;var k=ec(E,A);if(!k)return!0;if(k?_=E:(_=E==="v"?"h":"v",k=ec(E,A)),!k)return!1;if(!r.current&&"changedTouches"in h&&(S||C)&&(r.current=_),!_)return!0;var j=r.current||_;return gp(j,x,h,j==="h"?S:C)},[]),c=y.useCallback(function(h){var x=h;if(!(!Tn.length||Tn[Tn.length-1]!==i)){var v="deltaY"in x?tc(x):os(x),b=t.current.filter(function(_){return _.name===x.type&&(_.target===x.target||x.target===_.shadowParent)&&yp(_.delta,v)})[0];if(b&&b.should){x.cancelable&&x.preventDefault();return}if(!b){var S=(o.current.shards||[]).map(nc).filter(Boolean).filter(function(_){return _.contains(x.target)}),C=S.length>0?a(x,S[0]):!o.current.noIsolation;C&&x.cancelable&&x.preventDefault()}}},[]),l=y.useCallback(function(h,x,v,b){var S={name:h,delta:x,target:v,should:b,shadowParent:wp(v)};t.current.push(S),setTimeout(function(){t.current=t.current.filter(function(C){return C!==S})},1)},[]),u=y.useCallback(function(h){n.current=os(h),r.current=void 0},[]),d=y.useCallback(function(h){l(h.type,tc(h),h.target,a(h,e.lockRef.current))},[]),f=y.useCallback(function(h){l(h.type,os(h),h.target,a(h,e.lockRef.current))},[]);y.useEffect(function(){return Tn.push(i),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:f}),document.addEventListener("wheel",c,Sn),document.addEventListener("touchmove",c,Sn),document.addEventListener("touchstart",u,Sn),function(){Tn=Tn.filter(function(h){return h!==i}),document.removeEventListener("wheel",c,Sn),document.removeEventListener("touchmove",c,Sn),document.removeEventListener("touchstart",u,Sn)}},[]);var p=e.removeScrollBar,g=e.inert;return y.createElement(y.Fragment,null,g?y.createElement(i,{styles:vp(s)}):null,p?y.createElement(lp,{gapMode:e.gapMode}):null)}function wp(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const _p=Ym(hu,bp);var ko=y.forwardRef(function(e,t){return y.createElement(Ks,xt({},e,{ref:t,sideCar:_p}))});ko.classNames=Ks.classNames;var Sp=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},Cn=new WeakMap,as=new WeakMap,cs={},yi=0,vu=function(e){return e&&(e.host||vu(e.parentNode))},Tp=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=vu(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Cp=function(e,t,n,r){var s=Tp(t,Array.isArray(e)?e:[e]);cs[n]||(cs[n]=new WeakMap);var i=cs[n],o=[],a=new Set,c=new Set(s),l=function(d){!d||a.has(d)||(a.add(d),l(d.parentNode))};s.forEach(l);var u=function(d){!d||c.has(d)||Array.prototype.forEach.call(d.children,function(f){if(a.has(f))u(f);else try{var p=f.getAttribute(r),g=p!==null&&p!=="false",h=(Cn.get(f)||0)+1,x=(i.get(f)||0)+1;Cn.set(f,h),i.set(f,x),o.push(f),h===1&&g&&as.set(f,!0),x===1&&f.setAttribute(n,"true"),g||f.setAttribute(r,"true")}catch(v){console.error("aria-hidden: cannot operate on ",f,v)}})};return u(t),a.clear(),yi++,function(){o.forEach(function(d){var f=Cn.get(d)-1,p=i.get(d)-1;Cn.set(d,f),i.set(d,p),f||(as.has(d)||d.removeAttribute(r),as.delete(d)),p||d.remo
2025-02-09 13:36:07 +00:00
If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
2025-02-11 09:09:27 +00:00
For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return y.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},jp="DialogDescriptionWarning",Dp=({contentRef:e,descriptionId:t})=>{const r=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${Mu(jp).contentName}}.`;return y.useEffect(()=>{var i;const s=(i=e.current)==null?void 0:i.getAttribute("aria-describedby");t&&s&&(document.getElementById(t)||console.warn(r))},[r,e,t]),null},Op=wu,Mp=Su,Vp=Cu,Vu=Au,Lu=ku,Iu=Pu,Fu=Nu,Bu=Du;function $u(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var s=e.length;for(t=0;t<s;t++)e[t]&&(n=$u(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function zu(){for(var e,t,n=0,r="",s=arguments.length;n<s;n++)(e=arguments[n])&&(t=$u(e))&&(r&&(r+=" "),r+=t);return r}const rc=e=>typeof e=="boolean"?`${e}`:e===0?"0":e,sc=zu,jo=(e,t)=>n=>{var r;if((t==null?void 0:t.variants)==null)return sc(e,n==null?void 0:n.class,n==null?void 0:n.className);const{variants:s,defaultVariants:i}=t,o=Object.keys(s).map(l=>{const u=n==null?void 0:n[l],d=i==null?void 0:i[l];if(u===null)return null;const f=rc(u)||rc(d);return s[l][f]}),a=n&&Object.entries(n).reduce((l,u)=>{let[d,f]=u;return f===void 0||(l[d]=f),l},{}),c=t==null||(r=t.compoundVariants)===null||r===void 0?void 0:r.reduce((l,u)=>{let{class:d,className:f,...p}=u;return Object.entries(p).every(g=>{let[h,x]=g;return Array.isArray(x)?x.includes({...i,...a}[h]):{...i,...a}[h]===x})?[...l,d,f]:l},[]);return sc(e,o,c,n==null?void 0:n.class,n==null?void 0:n.className)};/**
2025-02-09 13:36:07 +00:00
* @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.
2025-02-11 09:09:27 +00:00
*/const Lp=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),Uu=(...e)=>e.filter((t,n,r)=>!!t&&t.trim()!==""&&r.indexOf(t)===n).join(" ").trim();/**
2025-02-09 13:36:07 +00:00
* @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.
2025-02-11 09:09:27 +00:00
*/var Ip={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"};/**
2025-02-09 13:36:07 +00:00
* @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.
2025-02-11 09:09:27 +00:00
*/const Fp=y.forwardRef(({color:e="currentColor",size:t=24,strokeWidth:n=2,absoluteStrokeWidth:r,className:s="",children:i,iconNode:o,...a},c)=>y.createElement("svg",{ref:c,...Ip,width:t,height:t,stroke:e,strokeWidth:r?Number(n)*24/Number(t):n,className:Uu("lucide",s),...a},[...o.map(([l,u])=>y.createElement(l,u)),...Array.isArray(i)?i:[i]]));/**
2025-02-09 13:36:07 +00:00
* @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.
2025-02-11 09:09:27 +00:00
*/const tn=(e,t)=>{const n=y.forwardRef(({className:r,...s},i)=>y.createElement(Fp,{ref:i,iconNode:t,className:Uu(`lucide-${Lp(e)}`,r),...s}));return n.displayName=`${e}`,n};/**
2025-02-09 13:36:07 +00:00
* @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.
2025-02-11 09:09:27 +00:00
*/const Bp=[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]],$p=tn("ArrowUpRight",Bp);/**
2025-02-09 13:36:07 +00:00
* @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.
2025-02-11 09:09:27 +00:00
*/const zp=[["path",{d:"M18 2h-3a5 5 0 0 0-5 5v3H7v4h3v8h4v-8h3l1-4h-4V7a1 1 0 0 1 1-1h3z",key:"1jg4f8"}]],Up=tn("Facebook",zp);/**
2025-02-09 13:36:07 +00:00
* @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.
2025-02-11 09:09:27 +00:00
*/const Wp=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],DT=tn("LoaderCircle",Wp);/**
2025-02-09 13:36:07 +00:00
* @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.
2025-02-11 09:09:27 +00:00
*/const Zp=[["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"}]],OT=tn("Loader",Zp);/**
2025-02-09 13:36:07 +00:00
* @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.
2025-02-11 09:09:27 +00:00
*/const Hp=[["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"}]],Gp=tn("MapPin",Hp);/**
2025-02-09 13:36:07 +00:00
* @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.
2025-02-11 09:09:27 +00:00
*/const Kp=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],qp=tn("Smartphone",Kp);/**
2025-02-09 13:36:07 +00:00
* @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.
2025-02-11 09:09:27 +00:00
*/const Yp=[["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"}]],Xp=tn("Upload",Yp);/**
2025-02-09 13:36:07 +00:00
* @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.
2025-02-11 10:06:43 +00:00
*/const Jp=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],Qp=tn("X",Jp),Do="-",eg=e=>{const t=ng(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:o=>{const a=o.split(Do);return a[0]===""&&a.length!==1&&a.shift(),Wu(a,t)||tg(o)},getConflictingClassGroupIds:(o,a)=>{const c=n[o]||[];return a&&r[o]?[...c,...r[o]]:c}}},Wu=(e,t)=>{var o;if(e.length===0)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),s=r?Wu(e.slice(1),r):void 0;if(s)return s;if(t.validators.length===0)return;const i=e.join(Do);return(o=t.validators.find(({validator:a})=>a(i)))==null?void 0:o.classGroupId},ic=/^\[(.+)\]$/,tg=e=>{if(ic.test(e)){const t=ic.exec(e)[1],n=t==null?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},ng=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return sg(Object.entries(e.classGroups),n).forEach(([i,o])=>{$i(o,r,i,t)}),r},$i=(e,t,n,r)=>{e.forEach(s=>{if(typeof s=="string"){const i=s===""?t:oc(t,s);i.classGroupId=n;return}if(typeof s=="function"){if(rg(s)){$i(s(r),t,n,r);return}t.validators.push({validator:s,classGroupId:n});return}Object.entries(s).forEach(([i,o])=>{$i(o,oc(t,i),n,r)})})},oc=(e,t)=>{let n=e;return t.split(Do).forEach(r=>{n.nextPart.has(r)||n.nextPart.set(r,{nextPart:new Map,validators:[]}),n=n.nextPart.get(r)}),n},rg=e=>e.isThemeGetter,sg=(e,t)=>t?e.map(([n,r])=>{const s=r.map(i=>typeof i=="string"?t+i:typeof i=="object"?Object.fromEntries(Object.entries(i).map(([o,a])=>[t+o,a])):i);return[n,s]}):e,ig=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const s=(i,o)=>{n.set(i,o),t++,t>e&&(t=0,r=n,n=new Map)};return{get(i){let o=n.get(i);if(o!==void 0)return o;if((o=r.get(i))!==void 0)return s(i,o),o},set(i,o){n.has(i)?n.set(i,o):s(i,o)}}},Zu="!",og=e=>{const{separator:t,experimentalParseClassName:n}=e,r=t.length===1,s=t[0],i=t.length,o=a=>{const c=[];let l=0,u=0,d;for(let x=0;x<a.length;x++){let v=a[x];if(l===0){if(v===s&&(r||a.slice(x,x+i)===t)){c.push(a.slice(u,x)),u=x+i;continue}if(v==="/"){d=x;continue}}v==="["?l++:v==="]"&&l--}const f=c.length===0?a:a.substring(u),p=f.startsWith(Zu),g=p?f.substring(1):f,h=d&&d>u?d-u:void 0;return{modifiers:c,hasImportantModifier:p,baseClassName:g,maybePostfixModifierPosition:h}};return n?a=>n({className:a,parseClassName:o}):o},ag=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach(r=>{r[0]==="["?(t.push(...n.sort(),r),n=[]):n.push(r)}),t.push(...n.sort()),t},cg=e=>({cache:ig(e.cacheSize),parseClassName:og(e),...eg(e)}),lg=/\s+/,ug=(e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:s}=t,i=[],o=e.trim().split(lg);let a="";for(let c=o.length-1;c>=0;c-=1){const l=o[c],{modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:p}=n(l);let g=!!p,h=r(g?f.substring(0,p):f);if(!h){if(!g){a=l+(a.length>0?" "+a:a);continue}if(h=r(f),!h){a=l+(a.length>0?" "+a:a);continue}g=!1}const x=ag(u).join(":"),v=d?x+Zu:x,b=v+h;if(i.includes(b))continue;i.push(b);const S=s(h,g);for(let C=0;C<S.length;++C){const _=S[C];i.push(v+_)}a=l+(a.length>0?" "+a:a)}return a};function dg(){let e=0,t,n,r="";for(;e<arguments.length;)(t=arguments[e++])&&(n=Hu(t))&&(r&&(r+=" "),r+=n);return r}const Hu=e=>{if(typeof e=="string")return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=Hu(e[r]))&&(n&&(n+=" "),n+=t);return n};function fg(e,...t){let n,r,s,i=o;function o(c){const l=t.reduce((u,d)=>d(u),e());return n=cg(l),r=n.cache.get,s=n.cache.set,i=a,a(c)}function a(c){const l=r(c);if(l)return l;const u=ug(c,n);return s(c,u),u}return function(){return i(dg.apply(null,arguments))}}const ge=e=>{const t=n=>n[e]||[];return t.isThemeGetter=!0,t},Gu=/^\[(?:([a-z-]+):)?(.+)\]$/i,hg=/^\d+\/\d+$/,mg=new Set(["px","full","screen"]),pg=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gg=/\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$/,yg=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,vg=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xg=/^(url|image|image-set|cross-fade
2025-02-09 13:36:07 +00:00
[data-motion-pop-id="${r}"] {
position: absolute !important;
width: ${a}px !important;
height: ${c}px !important;
${f}px !important;
top: ${l}px !important;
}
2025-02-11 09:09:27 +00:00
`),()=>{document.head.removeChild(p)}},[t]),m.jsx(Jg,{isPresent:t,childRef:s,sizeRef:i,children:y.cloneElement(e,{ref:s})})}const ey=({children:e,initial:t,isPresent:n,onExitComplete:r,custom:s,presenceAffectsLayout:i,mode:o,anchorX:a})=>{const c=Mo(ty),l=y.useId(),u=y.useCallback(f=>{c.set(f,!0);for(const p of c.values())if(!p)return;r&&r()},[c,r]),d=y.useMemo(()=>({id:l,initial:t,isPresent:n,custom:s,onExitComplete:u,register:f=>(c.set(f,!1),()=>c.delete(f))}),i?[Math.random(),u]:[n,u]);return y.useMemo(()=>{c.forEach((f,p)=>c.set(p,!1))},[n]),y.useEffect(()=>{!n&&!c.size&&r&&r()},[n]),o==="popLayout"&&(e=m.jsx(Qg,{isPresent:n,anchorX:a,children:e})),m.jsx(qs.Provider,{value:d,children:e})};function ty(){return new Map}function td(e=!0){const t=y.useContext(qs);if(t===null)return[!0,null];const{isPresent:n,onExitComplete:r,register:s}=t,i=y.useId();y.useEffect(()=>{e&&s(i)},[e]);const o=y.useCallback(()=>e&&r&&r(i),[i,r,e]);return!n&&r?[!1,o]:[!0]}const ls=e=>e.key||"";function cc(e){const t=[];return y.Children.forEach(e,n=>{y.isValidElement(n)&&t.push(n)}),t}const Lo=typeof window<"u",nd=Lo?y.useLayoutEffect:y.useEffect,MT=({children:e,custom:t,initial:n=!0,onExitComplete:r,presenceAffectsLayout:s=!0,mode:i="sync",propagate:o=!1,anchorX:a="left"})=>{const[c,l]=td(o),u=y.useMemo(()=>cc(e),[e]),d=o&&!c?[]:u.map(ls),f=y.useRef(!0),p=y.useRef(u),g=Mo(()=>new Map),[h,x]=y.useState(u),[v,b]=y.useState(u);nd(()=>{f.current=!1,p.current=u;for(let _=0;_<v.length;_++){const A=ls(v[_]);d.includes(A)?g.delete(A):g.get(A)!==!0&&g.set(A,!1)}},[v,d.length,d.join("-")]);const S=[];if(u!==h){let _=[...u];for(let A=0;A<v.length;A++){const E=v[A],k=ls(E);d.includes(k)||(_.splice(A,0,E),S.push(E))}i==="wait"&&S.length&&(_=S),b(cc(_)),x(u);return}const{forceRender:C}=y.useContext(Oo);return m.jsx(m.Fragment,{children:v.map(_=>{const A=ls(_),E=o&&!c?!1:u===v||d.includes(A),k=()=>{if(g.has(A))g.set(A,!0);else return;let j=!0;g.forEach(D=>{D||(j=!1)}),j&&(C==null||C(),b(p.current),o&&(l==null||l()),r&&r())};return m.jsx(ey,{isPresent:E,initial:!f.current||n?void 0:!1,custom:E?void 0:t,presenceAffectsLayout:s,mode:i,onExitComplete:E?void 0:k,anchorX:a,children:_},A)})})},Qe=e=>e;let Wi=Qe;const ny={skipAnimations:!1,useManualTiming:!1};function ry(e){let t=new Set,n=new Set,r=!1,s=!1;const i=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(l){i.has(l)&&(c.schedule(l),e()),l(o)}const c={schedule:(l,u=!1,d=!1)=>{const p=d&&r?t:n;return u&&i.add(l),p.has(l)||p.add(l),l},cancel:l=>{n.delete(l),i.delete(l)},process:l=>{if(o=l,r){s=!0;return}r=!0,[t,n]=[n,t],t.forEach(a),t.clear(),r=!1,s&&(s=!1,c.process(l))}};return c}const us=["read","resolveKeyframes","update","preRender","render","postRender"],sy=40;function rd(e,t){let n=!1,r=!0;const s={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,o=us.reduce((v,b)=>(v[b]=ry(i),v),{}),{read:a,resolveKeyframes:c,update:l,preRender:u,render:d,postRender:f}=o,p=()=>{const v=performance.now();n=!1,s.delta=r?1e3/60:Math.max(Math.min(v-s.timestamp,sy),1),s.timestamp=v,s.isProcessing=!0,a.process(s),c.process(s),l.process(s),u.process(s),d.process(s),f.process(s),s.isProcessing=!1,n&&t&&(r=!1,e(p))},g=()=>{n=!0,r=!0,s.isProcessing||e(p)};return{schedule:us.reduce((v,b)=>{const S=o[b];return v[b]=(C,_=!1,A=!1)=>(n||g(),S.schedule(C,_,A)),v},{}),cancel:v=>{for(let b=0;b<us.length;b++)o[us[b]].cancel(v)},state:s,steps:o}}const{schedule:ye,cancel:Ht,state:je,steps:xi}=rd(typeof requestAnimationFrame<"u"?requestAnimationFrame:Qe,!0),sd=y.createContext({strict:!1}),lc={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},In={};for(const e in lc)In[e]={isEnabled:t=>lc[e].some(n=>!!t[n])};function iy(e){for(const t in e)In[t]={...In[t],..
2025-02-09 13:36:07 +00:00
Участники смогут продемонстрировать свои инновационные решения, наладить взаимовыгодные партнерства и выйти на новые рынки.`,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:`
2025-02-11 09:09:27 +00:00
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"}]}],UT=({className:e})=>{const t=$e(n=>n.lang);return m.jsx("section",{className:ee("relative w-full bg-[#FDEDEE] -z-10 py-10",e),children:m.jsxs(Ge,{children:[m.jsx("h3",{className:"h2 mb-4",children:br[pe(t)].title}),m.jsx("div",{className:"grid md:grid-cols-4 grid-cols-2 gap-6",children:br[pe(t)].data.map(n=>m.jsx(Qu,{className:"!bg-[#F5F4F4]",...n},n.title))}),m.jsxs("div",{className:"flex items-center gap-3 mt-8 text-on_surface_v text-lg",children:[m.jsx("div",{className:"md:w-1 w-4 md:h-[38px] h-40 bg-primary_09"}),m.jsx("p",{className:"text-18 !text-primary_09",children:br[pe(t)].bottom_text})]})]})})},Fs=[{title:"Время выставки",data:[{name:"Монтаж выставки",date:"12 Мая 10 Июня 2025 года"},{name:"Работа",date:"1113 Июня 2025 года"},{name:"Демонтаж",date:"1314 Июня 2025 года"}]},{title:"Exhibition time",data:[{name:"Exhibition assembly",date:"12 May — 10 June 2025"},{name:"Exhibition days",date:"1113 June 2025"},{name:"Exhibition dismantling",date:"1314 June 2025"}]}],WT=({className:e})=>{const t=$e(n=>n.lang);return m.jsx("section",{className:ee("bg-bg_surface_container py-10 md:py-[80px]",e),children:m.jsxs(Ge,{children:[m.jsx("h2",{className:"h2 mb-6",children:Fs[pe(t)].title}),m.jsx("div",{className:"flex flex-col md:flex-row items-center gap-6",children:Fs[pe(t)].data.map(n=>y.createElement(ed,{bottomClassName:"!bg-white rounded-b-[2px]",...n,key:n.name,className:"w-full"}))})]})})},Hl=[{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."]}],ZT=({className:e})=>{const t=$e(n=>n.lang);return m.jsx("section",{className:ee("gap-6 relative overflow-hidden",e),children:m.jsxs(Ge,{className:"md:py-20 py-10 grid-cols-1 lg:grid-cols-2 lg:gap-12 gap-0 grid",children:[m.jsxs("div",{className:"flex-[0_0_50%]",children:[m.jsx("h3",{className:"h2 mb-6",children:Hl[pe(t)].title}),m.jsx("div",{className:"text-lg flex flex-col gap-6 text-on_surface_v normal mb-10",children:Hl[pe(t)].data.map(n=>m.jsx("p",{children:n},n))})]}),m.jsx("div",{className:"h-full max-size-[600px] flex-[0_0_50%]",children:m.jsx
2025-02-09 13:36:07 +00:00
Наша миссия укрепить позиции Туркменистана как ключевого центра текстильной и модной индустрии.
`,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.
2025-02-10 11:50:31 +00:00
Our mission is to strengthen Turkmenistan's position as a key hub for the textile and fashion industry.
2025-02-11 09:09:27 +00:00
`,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"}],XT=()=>{const[e]=es(),t=$e(n=>n.lang);return m.jsx("section",{children:m.jsxs(Ge,{className:"flex flex-col gap-6",children:[m.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-6 items-center",children:[m.jsxs("div",{className:"flex flex-col gap-6",children:[m.jsx("h2",{className:"h2 text-left ",children:ar[pe(t)].h2}),m.jsxs("div",{className:"md:text-base flex flex-col gap-6 text-sm normal text-left text-[#454545]",children:[m.jsx("p",{children:ar[pe(t)].p}),m.jsx("p",{children:ar[pe(t)].p_2})]}),m.jsx(Ae,{to:"/about",className:"",children:m.jsx(He,{variant:"outline",children:ar[pe(t)].button})})]}),m.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"})]}),m.jsx("div",{ref:e,className:"embla overflow-hidden",children:m.jsx("div",{className:"flex embla__container items-center gap-6",children:ar[pe(t)].data.map(n=>m.jsx(qg,{...n,className:"embla__slide flex-[0_0_288px]"},n.text))})})]})})},JT=()=>{const e=$e(t=>t.lang);return m.jsx("section",{className:"",children:m.jsxs(Ge,{children:[m.jsx("h2",{className:"h2 mb-10 text-center",children:br[pe(e)].title}),m.jsx("div",{className:"grid md:grid-cols-4 grid-cols-2 gap-6",children:br[pe(e)].data.map(t=>m.jsx(Qu,{...t,iconClassName:"bg-teritary_04"},t.title))})]})})},pS=[{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_ru.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"}]}],QT=()=>{const[e,t]=es({align:"start"}),[n,r]=y.useState(0),s=$e(o=>o.lang),i=y.useCallback(o=>{t&&t.scrollTo(o)},[t]);return y.useEffect(()=>{if(!t)return;const o=()=>{r(t.selectedScrollSnap())};return t.on("select",o),()=>{t.off("select",o)}},[t]),m.jsx("section",{className:"bg-surface_high py-10 relative overflow-hidden",children:m.jsx(Ge,{children:m.jsxs("div",{ref:e,className:"embla ",children:[m.jsx("div",{className:"mb-2 flex gap-6 embla__container",children:pS[pe(s)].data.map(o=>y.createElement(Yg,{...o,key:o.title,className:"embla__slide flex-