From d0d976dd96c2f1e4df9c8ee0eaf899a1f7c1823a Mon Sep 17 00:00:00 2001 From: Batyr Date: Fri, 23 May 2025 19:36:53 +0500 Subject: [PATCH] build --- dist/assets/index-BtCwmDQE.css | 1 + dist/assets/{index-Dukabsnh.js => index-CB4nZZ_9.js} | 2 +- dist/assets/index-CU-a5ZfT.css | 1 - .../{ui-library-BNqDocH_.js => ui-library-glZiLwL9.js} | 4 ++-- dist/index.html | 6 +++--- 5 files changed, 7 insertions(+), 7 deletions(-) create mode 100644 dist/assets/index-BtCwmDQE.css rename dist/assets/{index-Dukabsnh.js => index-CB4nZZ_9.js} (99%) delete mode 100644 dist/assets/index-CU-a5ZfT.css rename dist/assets/{ui-library-BNqDocH_.js => ui-library-glZiLwL9.js} (98%) diff --git a/dist/assets/index-BtCwmDQE.css b/dist/assets/index-BtCwmDQE.css new file mode 100644 index 0000000..6912ec7 --- /dev/null +++ b/dist/assets/index-BtCwmDQE.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))}.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}.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}.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-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-\[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-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-teritary_container{--tw-bg-opacity: 1;background-color:rgb(255 221 186 / 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-\[\#F38835\]{--tw-gradient-from: #F38835 var(--tw-gradient-from-position);--tw-gradient-to: rgb(243 136 53 / 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-\[\#F1700D\]{--tw-gradient-to: #F1700D 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-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}.uppercase{text-transform:uppercase}.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-on_teritary_container{--tw-text-opacity: 1 !important;color:rgb(43 23 0 / 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-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:32px;--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.h2{font-size:28px}}.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\: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-xl{font-size:1.25rem;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\: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\: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}}@media (min-width: 1536px){.\32xl\:w-\[40\%\]{width:40%}}.\[\&_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-Dukabsnh.js b/dist/assets/index-CB4nZZ_9.js similarity index 99% rename from dist/assets/index-Dukabsnh.js rename to dist/assets/index-CB4nZZ_9.js index 84ea15d..811609a 100644 --- a/dist/assets/index-Dukabsnh.js +++ b/dist/assets/index-CB4nZZ_9.js @@ -1 +1 @@ -import{u as F,i as Tt,j as a,H as Ft,F as It,a as $t,b as At,c as Dt,d as Bt,e as Vt,f as Mt,g as Kt,h as Gt,z as b,k as _e,l as ue,S as He,m as ot,n as Ut,P as fe,o as Y,p as Ht,q as zt,r as qt,s as ie,t as $e,v as he,w as j,x as je,y as D,A as B,L as Z,B as V,C as S,D as q,E as Ae,G as Ce,I as Re,J as Oe,K as re,M as De,N as Jt,O as ge,Q as Qt,R as Wt,T as Yt,U as Xt,V as Zt,W as es,X as ts,Y as Be,Z as ss,_ as ns,$ as se,a0 as as,a1 as rs,a2 as is,a3 as lt,a4 as os,a5 as de,a6 as ct,a7 as ls,a8 as ut,a9 as dt,aa as cs,ab as ze,ac as us,ad as ds,ae as ps,af as ms,ag as fs}from"./ui-library-BNqDocH_.js";import{f as hs,a as y,O as gs,e as te,u as xs,g as bs,h as ys}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 r of n)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function t(n){const r={};return n.integrity&&(r.integrity=n.integrity),n.referrerPolicy&&(r.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?r.credentials="include":n.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(n){if(n.ep)return;n.ep=!0;const r=t(n);fetch(n.href,r)}})();var ye={},qe;function vs(){if(qe)return ye;qe=1;var i=hs();return ye.createRoot=i.createRoot,ye.hydrateRoot=i.hydrateRoot,ye}var js=vs();const v=i=>typeof i=="string",le=()=>{let i,e;const t=new Promise((s,n)=>{i=s,e=n});return t.resolve=i,t.reject=e,t},Je=i=>i==null?"":""+i,Ss=(i,e,t)=>{i.forEach(s=>{e[s]&&(t[s]=e[s])})},ws=/###/g,Qe=i=>i&&i.indexOf("###")>-1?i.replace(ws,"."):i,We=i=>!i||v(i),ce=(i,e,t)=>{const s=v(e)?e.split("."):e;let n=0;for(;n{const{obj:s,k:n}=ce(i,e,Object);if(s!==void 0||e.length===1){s[n]=t;return}let r=e[e.length-1],o=e.slice(0,e.length-1),l=ce(i,o,Object);for(;l.obj===void 0&&o.length;)r=`${o[o.length-1]}.${r}`,o=o.slice(0,o.length-1),l=ce(i,o,Object),l!=null&&l.obj&&typeof l.obj[`${l.k}.${r}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${r}`]=t},Ns=(i,e,t,s)=>{const{obj:n,k:r}=ce(i,e,Object);n[r]=n[r]||[],n[r].push(t)},Se=(i,e)=>{const{obj:t,k:s}=ce(i,e);if(t&&Object.prototype.hasOwnProperty.call(t,s))return t[s]},ks=(i,e,t)=>{const s=Se(i,t);return s!==void 0?s:Se(e,t)},pt=(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]):pt(i[s],e[s],t):i[s]=e[s]);return i},ne=i=>i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var _s={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Cs=i=>v(i)?i.replace(/[&<>"'\/]/g,e=>_s[e]):i;class Rs{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 Os=[" ",",","?","!",";"],Ps=new Rs(20),Ls=(i,e,t)=>{e=e||"",t=t||"";const s=Os.filter(o=>e.indexOf(o)<0&&t.indexOf(o)<0);if(s.length===0)return!0;const n=Ps.getRegExp(`(${s.map(o=>o==="?"?"\\?":o).join("|")})`);let r=!n.test(i);if(!r){const o=i.indexOf(t);o>0&&!n.test(i.substring(0,o))&&(r=!0)}return r},Fe=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 r=0;r-1&&ci==null?void 0:i.replace("_","-"),Es={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 Ne{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||Es,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 r=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)&&r?l.push(...s.split(r)):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:Fe((p=(u=this.data)==null?void 0:u[e])==null?void 0:p[t],s,r)}addResource(e,t,s,n){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=r.keySeparator!==void 0?r.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),Ye(this.data,l,n),r.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 r in s)(v(s[r])||Array.isArray(s[r]))&&this.addResource(e,t,r,s[r],{silent:!0});n.silent||this.emit("added",e,t,s)}addResourceBundle(e,t,s,n,r){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?pt(c,s,r):c={...c,...s},Ye(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 mt={processors:{},addPostProcessor(i){this.processors[i.name]=i},handle(i,e,t,s,n){return i.forEach(r=>{var o;e=((o=this.processors[r])==null?void 0:o.process(e,t,s,n))??e}),e}};const Ze={},et=i=>!v(i)&&typeof i!="boolean"&&typeof i!="number";class ke extends Pe{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=z.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 r=t.ns||this.options.defaultNS||[];const o=s&&e.indexOf(s)>-1,l=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Ls(e,s,n);if(o&&!l){const c=e.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:e,namespaces:v(r)?[r]:r};const u=e.split(s);(s!==n||s===n&&this.options.ns.indexOf(u[0])>-1)&&(r=u.shift()),e=u.join(n)}return{key:e,namespaces:v(r)?[r]:r}}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,r=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,N=t.count!==void 0&&!v(t.count),P=ke.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;w&&!d&&P&&(k=_);const M=et(k),J=Object.prototype.toString.apply(k);if(w&&k&&M&&g.indexOf(J)<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(r){const L=Array.isArray(k),I=L?[]:{},xe=L?m:h;for(const K in k)if(Object.prototype.hasOwnProperty.call(k,K)){const G=`${xe}${r}${K}`;P&&!d?I[K]=this.translate(G,{...t,defaultValue:et(_)?_[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(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)&&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),r){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 be=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&be&&be[0])for(let A=0;A{var Ue;const Ge=P&&oe!==d?oe:K;this.options.missingKeyHandler?this.options.missingKeyHandler(A,c,ee,Ge,G,t):(Ue=this.backendConnector)!=null&&Ue.saveMissing&&this.backendConnector.saveMissing(A,c,ee,Ge,G,t),this.emit("missingKey",A,c,ee,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&N?$.forEach(A=>{const ee=this.pluralResolver.getSuffixes(A,t);R&&t[`defaultValue${this.options.pluralSeparator}zero`]&&ee.indexOf(`${this.options.pluralSeparator}zero`)<0&&ee.push(`${this.options.pluralSeparator}zero`),ee.forEach(oe=>{Ke([A],o+oe,t[`defaultValue${oe}`]||_)})}):Ke($,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,r){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,r,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,N;this.isValidLookup(s)||(l=x,!Ze[`${g[0]}-${x}`]&&((w=this.utils)!=null&&w.hasLoadedNamespace)&&!((N=this.utils)!=null&&N.hasLoadedNamespace(l))&&(Ze[`${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 J=`${p}${this.options.contextSeparator}${t.context}`;O.push(J),d&&(O.push(J+_),t.ordinal&&_.indexOf(M)===0&&O.push(J+_.replace(M,this.options.pluralSeparator)),h&&O.push(J+k))}}let T;for(;T=O.pop();)this.isValidLookup(s)||(r=T,s=this.getResource(P,x,T,t))}))})}),{res:s,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:l}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,s){var r;let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(r=this.i18nFormat)!=null&&r.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 r of t)delete n[r]}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 tt{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=z.create("languageUtils")}getScriptPartFromCode(e){if(e=we(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=we(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(r=>{if(r===n)return r;if(!(r.indexOf("-")<0&&n.indexOf("-")<0)&&(r.indexOf("-")>0&&n.indexOf("-")<0&&r.substring(0,r.indexOf("-"))===n||r.indexOf(n)===0&&n.length>1))return r})}),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=[],r=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"&&r(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&r(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&r(this.getLanguagePartFromCode(e))):v(e)&&r(this.formatLanguageCode(e)),s.forEach(o=>{n.indexOf(o)<0&&r(this.formatLanguageCode(o))}),n}}const st={zero:0,one:1,two:2,few:3,many:4,other:5},nt={select:i=>i===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Ts{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=z.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=we(e==="dev"?"en":e),n=t.ordinal?"ordinal":"cardinal",r=JSON.stringify({cleanedCode:s,type:n});if(r in this.pluralRulesCache)return this.pluralRulesCache[r];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!"),nt;if(!e.match(/-|_/))return nt;const c=this.languageUtils.getLanguagePartFromCode(e);o=this.getRule(c,t)}return this.pluralRulesCache[r]=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,r)=>st[n]-st[r]).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,r=ks(i,e,t);return!r&&n&&v(t)&&(r=Fe(i,t,s),r===void 0&&(r=Fe(e,t,s))),r},Ee=i=>i.replace(/\$/g,"$$$$");class Fs{constructor(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=z.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:r,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:N}=e.interpolation;this.escape=t!==void 0?t:Cs,this.escapeValue=s!==void 0?s:!0,this.useRawValueToEscape=n!==void 0?n:!1,this.prefix=r?ne(r):o||"{{",this.suffix=l?ne(l):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=p?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=d?ne(d):h||ne("$t("),this.nestingSuffix=m?ne(m):g||ne(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=w||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 r,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(),w=g.join(this.formatSeparator).trim();return this.format(at(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=>Ee(m)},{regex:this.regexp,safeValue:m=>this.escapeValue?Ee(this.escape(m)):Ee(m)}].forEach(m=>{for(l=0;r=m.regex.exec(e);){const g=r[1].trim();if(o=u(g),o===void 0)if(typeof p=="function"){const w=p(e,r,n);o=v(w)?w:""}else if(n&&Object.prototype.hasOwnProperty.call(n,g))o="";else if(f){o=r[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`),o="";else!v(o)&&!this.useRawValueToEscape&&(o=Je(o));const x=m.safeValue(o);if(e=e.replace(r[0],x),f?(m.regex.lastIndex+=o.length,m.regex.lastIndex-=r[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,r,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(r=t(l.call(this,n[1].trim(),o),o),r&&n[0]===e&&!v(r))return r;v(r)||(r=Je(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),u&&(r=c.reduce((p,f)=>this.format(p,f,s.lng,{...s,interpolationkey:n[1].trim()}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}const Is=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}},ae=i=>{const e={};return(t,s,n)=>{let r=n;n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]&&(r={...r,[n.interpolationkey]:void 0});const o=s+JSON.stringify(r);let l=e[o];return l||(l=i(we(s),n),e[o]=l),l(t)}};class $s{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=z.create("formatter"),this.options=e,this.formats={number:ae((t,s)=>{const n=new Intl.NumberFormat(t,{...s});return r=>n.format(r)}),currency:ae((t,s)=>{const n=new Intl.NumberFormat(t,{...s,style:"currency"});return r=>n.format(r)}),datetime:ae((t,s)=>{const n=new Intl.DateTimeFormat(t,{...s});return r=>n.format(r)}),relativetime:ae((t,s)=>{const n=new Intl.RelativeTimeFormat(t,{...s});return r=>n.format(r,s.range||"day")}),list:ae((t,s)=>{const n=new Intl.ListFormat(t,{...s});return r=>n.format(r)})},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()]=ae(t)}format(e,t,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const r=t.split(this.formatSeparator);if(r.length>1&&r[0].indexOf("(")>1&&r[0].indexOf(")")<0&&r.find(l=>l.indexOf(")")>-1)){const l=r.findIndex(c=>c.indexOf(")")>-1);r[0]=[r[0],...r.splice(1,l)].join(this.formatSeparator)}return r.reduce((l,c)=>{var f;const{formatName:u,formatOptions:p}=Is(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 As=(i,e)=>{i.pending[e]!==void 0&&(delete i.pending[e],i.pendingCount--)};class Ds extends Pe{constructor(e,t,s){var r,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=z.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=(r=this.backend)==null?void 0:r.init)==null||o.call(r,s,n.backend,n)}queueLoad(e,t,s,n){const r={},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),r[d]===void 0&&(r[d]=!0),c[f]===void 0&&(c[f]=!0)))}),p||(l[u]=!0)}),(Object.keys(r).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(r),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(e,t,s){const n=e.split("|"),r=n[0],o=n[1];t&&this.emit("failedLoading",r,o,t),!t&&s&&this.store.addResourceBundle(r,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=>{Ns(c.loaded,[r],o),As(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,r=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:r,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,r*2,o)},r);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 r=this.queueLoad(e,t,s,n);if(!r.toLoad.length)return r.pending.length||n(),null;r.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],r=s[1];this.read(n,r,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${t}loading namespace ${r} for language ${n} failed`,o),!o&&l&&this.logger.log(`${t}loaded namespace ${r} for language ${n}`,l),this.loaded(e,o,l)})}saveMissing(e,t,s,n,r){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:r},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 rt=()=>({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}}),it=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},ve=()=>{},Bs=i=>{Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach(t=>{typeof i[t]=="function"&&(i[t]=i[t].bind(i))})};class pe extends Pe{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=it(e),this.services={},this.logger=z,this.modules={external:[]},Bs(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=rt();this.options={...n,...this.options,...it(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 r=p=>p?typeof p=="function"?new p:p:null;if(!this.options.isClone){this.modules.logger?z.init(r(this.modules.logger),this.options):z.init(null,this.options);let p;this.modules.formatter?p=this.modules.formatter:p=$s;const f=new tt(this.options);this.store=new Xe(this.options.resources,this.options);const d=this.services;d.logger=z,d.resourceStore=this.store,d.languageUtils=f,d.pluralResolver=new Ts(f,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),p&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(d.formatter=r(p),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new Fs(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new Ds(r(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=ve),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=le(),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 r,o;let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ve;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=(r=this.options.preload)==null?void 0:r.forEach)==null||o.call(r,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=le();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=ve),this.services.backendConnector.reload(e,t,r=>{n.resolve(),s(r)}),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"&&mt.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=le();this.emit("languageChanging",e);const r=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,u)=>{u?(r(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||r(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 r=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)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=s,r}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,r=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(r,e)))}loadNamespaces(e,t){const s=le();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=le();v(e)&&(e=[e]);const n=this.options.preload||[],r=e.filter(o=>n.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return r.length?(this.options.preload=n.concat(r),this.loadResources(o=>{s.resolve(),t&&t(o)}),s):(t&&t(),Promise.resolve())}dir(e){var n,r;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=((r=this.services)==null?void 0:r.languageUtils)||new tt(rt());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 pe(e,t)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ve;const s=e.forkResourceStore;s&&delete e.forkResourceStore;const n={...this.options,...e,isClone:!0},r=new pe(n);if((e.debug!==void 0||e.prefix!==void 0)&&(r.logger=r.logger.clone(e)),["store","services","language"].forEach(l=>{r[l]=this[l]}),r.services={...this.services},r.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},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),{})),{});r.store=new Xe(l,n),r.services.resourceStore=r.store}return r.translator=new ke(r.services,n),r.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 ta(){return a.jsxs("main",{className:"flex flex-col min-h-screen",children:[a.jsx(ea,{}),a.jsx(Ft,{}),a.jsx("div",{className:"flex-auto",children:a.jsx(gs,{})}),a.jsx(It,{})]})}function sa(){return a.jsxs("div",{className:"flex flex-col gap-20",children:[a.jsx($t,{}),a.jsx(At,{}),a.jsx(Dt,{}),a.jsx(Bt,{}),a.jsx(Vt,{}),a.jsx(Mt,{}),a.jsx(Kt,{}),a.jsx(Gt,{})]})}const na=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()}),aa={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 ra(i){const e=i+"CollectionProvider",[t,s]=_e(e),[n,r]=t(e,{collectionRef:{current:null},itemMap:new Map}),o=h=>{const{scope:m,children:g}=h,x=te.useRef(null),w=te.useRef(new Map).current;return a.jsx(n,{scope:m,itemMap:w,collectionRef:x,children:g})};o.displayName=e;const l=i+"CollectionSlot",c=te.forwardRef((h,m)=>{const{scope:g,children:x}=h,w=r(l,g),N=ue(m,w.collectionRef);return a.jsx(He,{ref:N,children:x})});c.displayName=l;const u=i+"CollectionItemSlot",p="data-radix-collection-item",f=te.forwardRef((h,m)=>{const{scope:g,children:x,...w}=h,N=te.useRef(null),P=ue(m,N),O=r(u,g);return te.useEffect(()=>(O.itemMap.set(N,{ref:N,...w}),()=>void O.itemMap.delete(N))),a.jsx(He,{[p]:"",ref:P,children:x})});f.displayName=u;function d(h){const m=r(i+"CollectionConsumer",h);return te.useCallback(()=>{const x=m.collectionRef.current;if(!x)return[];const w=Array.from(x.querySelectorAll(`[${p}]`));return Array.from(m.itemMap.values()).sort((O,T)=>w.indexOf(O.ref.current)-w.indexOf(T.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:o,Slot:c,ItemSlot:f},d,s]}var ia=y.createContext(void 0);function ft(i){const e=y.useContext(ia);return i||e||"ltr"}var Te="rovingFocusGroup.onEntryFocus",oa={bubbles:!1,cancelable:!0},Le="RovingFocusGroup",[Ie,ht,la]=ra(Le),[ca,gt]=_e(Le,[la]),[ua,da]=ca(Le),xt=y.forwardRef((i,e)=>a.jsx(Ie.Provider,{scope:i.__scopeRovingFocusGroup,children:a.jsx(Ie.Slot,{scope:i.__scopeRovingFocusGroup,children:a.jsx(pa,{...i,ref:e})})}));xt.displayName=Le;var pa=y.forwardRef((i,e)=>{const{__scopeRovingFocusGroup:t,orientation:s,loop:n=!1,dir:r,currentTabStopId:o,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:p=!1,...f}=i,d=y.useRef(null),h=ue(e,d),m=ft(r),[g=null,x]=ot({prop:o,defaultProp:l,onChange:c}),[w,N]=y.useState(!1),P=Ut(u),O=ht(t),T=y.useRef(!1),[R,_]=y.useState(0);return y.useEffect(()=>{const k=d.current;if(k)return k.addEventListener(Te,P),()=>k.removeEventListener(Te,P)},[P]),a.jsx(ua,{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:a.jsx(fe.div,{tabIndex:w||R===0?-1:0,"data-orientation":s,...f,ref:h,style:{outline:"none",...i.style},onMouseDown:Y(i.onMouseDown,()=>{T.current=!0}),onFocus:Y(i.onFocus,k=>{const M=!T.current;if(k.target===k.currentTarget&&M&&!w){const J=new CustomEvent(Te,oa);if(k.currentTarget.dispatchEvent(J),!J.defaultPrevented){const L=O().filter($=>$.focusable),I=L.find($=>$.active),xe=L.find($=>$.id===g),G=[I,xe,...L].filter(Boolean).map($=>$.ref.current);vt(G,p)}}T.current=!1}),onBlur:Y(i.onBlur,()=>N(!1))})})}),bt="RovingFocusGroupItem",yt=y.forwardRef((i,e)=>{const{__scopeRovingFocusGroup:t,focusable:s=!0,active:n=!1,tabStopId:r,...o}=i,l=Ht(),c=r||l,u=da(bt,t),p=u.currentTabStopId===c,f=ht(t),{onFocusableItemAdd:d,onFocusableItemRemove:h}=u;return y.useEffect(()=>{if(s)return d(),()=>h()},[s,d,h]),a.jsx(Ie.ItemSlot,{scope:t,id:c,focusable:s,active:n,children:a.jsx(fe.span,{tabIndex:p?0:-1,"data-orientation":u.orientation,...o,ref:e,onMouseDown:Y(i.onMouseDown,m=>{s?u.onItemFocus(c):m.preventDefault()}),onFocus:Y(i.onFocus,()=>u.onItemFocus(c)),onKeyDown:Y(i.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){u.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const g=ha(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(N=>N.focusable).map(N=>N.ref.current);if(g==="last")w.reverse();else if(g==="prev"||g==="next"){g==="prev"&&w.reverse();const N=w.indexOf(m.currentTarget);w=u.loop?ga(w,N+1):w.slice(N+1)}setTimeout(()=>vt(w))}})})})});yt.displayName=bt;var ma={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function fa(i,e){return e!=="rtl"?i:i==="ArrowLeft"?"ArrowRight":i==="ArrowRight"?"ArrowLeft":i}function ha(i,e,t){const s=fa(i.key,t);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(s))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(s)))return ma[s]}function vt(i,e=!1){const t=document.activeElement;for(const s of i)if(s===t||(s.focus({preventScroll:e}),document.activeElement!==t))return}function ga(i,e){return i.map((t,s)=>i[(e+s)%i.length])}var xa=xt,ba=yt;function ya(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 Ve="Radio",[va,jt]=_e(Ve),[ja,Sa]=va(Ve),St=y.forwardRef((i,e)=>{const{__scopeRadio:t,name:s,checked:n=!1,required:r,disabled:o,value:l="on",onCheck:c,form:u,...p}=i,[f,d]=y.useState(null),h=ue(e,x=>d(x)),m=y.useRef(!1),g=f?u||!!f.closest("form"):!0;return a.jsxs(ja,{scope:t,checked:n,disabled:o,children:[a.jsx(fe.button,{type:"button",role:"radio","aria-checked":n,"data-state":kt(n),"data-disabled":o?"":void 0,disabled:o,value:l,...p,ref:h,onClick:Y(i.onClick,x=>{n||c==null||c(),g&&(m.current=x.isPropagationStopped(),m.current||x.stopPropagation())})}),g&&a.jsx(wa,{control:f,bubbles:!m.current,name:s,value:l,checked:n,required:r,disabled:o,form:u,style:{transform:"translateX(-100%)"}})]})});St.displayName=Ve;var wt="RadioIndicator",Nt=y.forwardRef((i,e)=>{const{__scopeRadio:t,forceMount:s,...n}=i,r=Sa(wt,t);return a.jsx(zt,{present:s||r.checked,children:a.jsx(fe.span,{"data-state":kt(r.checked),"data-disabled":r.disabled?"":void 0,...n,ref:e})})});Nt.displayName=wt;var wa=i=>{const{control:e,checked:t,bubbles:s=!0,...n}=i,r=y.useRef(null),o=ya(t),l=qt(e);return y.useEffect(()=>{const c=r.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]),a.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:t,...n,tabIndex:-1,ref:r,style:{...i.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function kt(i){return i?"checked":"unchecked"}var Na=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Me="RadioGroup",[ka,ar]=_e(Me,[gt,jt]),_t=gt(),Ct=jt(),[_a,Ca]=ka(Me),Rt=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,name:s,defaultValue:n,value:r,required:o=!1,disabled:l=!1,orientation:c,dir:u,loop:p=!0,onValueChange:f,...d}=i,h=_t(t),m=ft(u),[g,x]=ot({prop:r,defaultProp:n,onChange:f});return a.jsx(_a,{scope:t,name:s,required:o,disabled:l,value:g,onValueChange:x,children:a.jsx(xa,{asChild:!0,...h,orientation:c,dir:m,loop:p,children:a.jsx(fe.div,{role:"radiogroup","aria-required":o,"aria-orientation":c,"data-disabled":l?"":void 0,dir:m,...d,ref:e})})})});Rt.displayName=Me;var Ot="RadioGroupItem",Pt=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,disabled:s,...n}=i,r=Ca(Ot,t),o=r.disabled||s,l=_t(t),c=Ct(t),u=y.useRef(null),p=ue(e,u),f=r.value===n.value,d=y.useRef(!1);return y.useEffect(()=>{const h=g=>{Na.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)}},[]),a.jsx(ba,{asChild:!0,...l,focusable:!o,active:f,children:a.jsx(St,{disabled:o,required:r.required,checked:f,...c,...n,name:r.name,ref:p,onCheck:()=>r.onValueChange(n.value),onKeyDown:Y(h=>{h.key==="Enter"&&h.preventDefault()}),onFocus:Y(n.onFocus,()=>{var h;d.current&&((h=u.current)==null||h.click())})})})});Pt.displayName=Ot;var Ra="RadioGroupIndicator",Oa=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,...s}=i,n=Ct(t);return a.jsx(Nt,{...n,...s,ref:e})});Oa.displayName=Ra;var Lt=Rt,Et=Pt;const me=y.forwardRef(({className:i,...e},t)=>a.jsx(Lt,{className:ie("grid gap-2",i),...e,ref:t}));me.displayName=Lt.displayName;const W=y.forwardRef(({className:i,...e},t)=>a.jsx(Et,{ref:t,className:ie(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}));W.displayName=Et.displayName;const Q=[{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"}]}],X=[{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"}],H=i=>{y.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[i])},Pa=({handleNext:i})=>{H();const{control:e,formState:t}=$e(),s=F(n=>n.lang);return a.jsxs(he.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,y:"100%",transition:{duration:.2}},className:"w-full",children:[a.jsx("h2",{className:"h2 mb-8",children:Q[j(s)].h2}),a.jsxs("div",{className:"flex flex-col gap-8",children:[a.jsx(je,{defaultValue:1,control:e,name:"type",render:({field:n})=>a.jsxs(D,{className:"space-y-3",children:[a.jsx(B,{className:"text-xl",children:s===Z.RU?"Тип:":"Type:"}),a.jsx(V,{children:a.jsxs(me,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4",children:[a.jsxs(D,{className:"flex items-center space-x-3 space-y-0",children:[a.jsx(V,{children:a.jsx(W,{value:"B2B",checked:n.value==="B2B"})}),a.jsx(B,{className:"text-base",children:"B2B"})]}),a.jsxs(D,{className:"flex items-center space-x-3 space-y-0",children:[a.jsx(V,{children:a.jsx(W,{value:"B2G",checked:n.value==="B2G"})}),a.jsx(B,{className:"text-base",children:"B2G"})]})]})})]})}),a.jsx(S,{control:e,name:"company_name",error:t.errors.company_name,placeholder:"",label:Q[j(s)].data[0].label}),a.jsx(S,{control:e,name:"representative_name",error:t.errors.representative_name,placeholder:"",label:Q[j(s)].data[1].label}),a.jsx(S,{control:e,name:"job_title",error:t.errors.job_title,placeholder:"",label:Q[j(s)].data[2].label}),a.jsx(S,{control:e,name:"participants_number",error:t.errors.participants_number,placeholder:"",label:Q[j(s)].data[3].label}),a.jsx(S,{control:e,name:"country",error:t.errors.country,placeholder:"",label:Q[j(s)].data[4].label}),a.jsx(S,{control:e,name:"email_address",error:t.errors.email_address,placeholder:"",label:Q[j(s)].data[5].label}),a.jsx(S,{control:e,name:"phone_number",error:t.errors.phone_number,placeholder:"",label:Q[j(s)].data[6].label}),a.jsx(S,{control:e,name:"website",placeholder:"",label:Q[j(s)].data[7].label})]}),a.jsx(q,{variant:"secondary",type:"button",onClick:i,className:"w-full mt-10",children:s===Z.RU?"Далее":"Next"})]})},La=({handleNext:i,handlePrev:e})=>{H();const t=F(r=>r.lang),{control:s,formState:n}=$e();return a.jsxs(he.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{delay:.5,duration:.3}},exit:{opacity:0,y:100},children:[a.jsx("h2",{className:"h2 mb-8",children:X[j(t)].h2}),a.jsxs("div",{className:"flex flex-col gap-8",children:[a.jsx(S,{control:s,name:"meeting_objective",error:n.errors.meeting_objective,placeholder:"",label:X[j(t)].data[0].label}),a.jsx(S,{control:s,name:"proposal_description",error:n.errors.proposal_description,placeholder:"",label:X[j(t)].data[1].label}),a.jsx(S,{control:s,name:"government_agency",error:n.errors.government_agency,placeholder:"",label:X[j(t)].data[2].label}),a.jsx("h2",{className:"h2 mt-4",children:X[j(t)].secondH2}),a.jsx(S,{control:s,name:"sector_industry",error:n.errors.sector_industry,placeholder:"",label:X[j(t)].data[3].label}),a.jsx(S,{control:s,name:"key_services",error:n.errors.key_services,placeholder:"",label:X[j(t)].data[4].label}),a.jsx(S,{control:s,name:"government_experience",error:n.errors.government_experience,placeholder:"",label:X[j(t)].data[5].label})]}),a.jsxs("div",{className:"flex items-center gap-6 mt-10",children:[a.jsx(q,{type:"button",onClick:e,variant:"outline",className:"text-on_surface",children:t===Z.RU?"Вернуться назад":"Back"}),a.jsx(q,{variant:"secondary",type:"button",onClick:i,className:"w-full",children:t===Z.RU?"Далее":"Next"})]})]})},Ea=({handlePrev:i})=>{H();const{control:e,formState:t}=$e(),s=F(n=>n.lang);return a.jsxs(he.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{delay:.5,duration:.3}},transition:{duration:1},children:[a.jsx("h2",{className:"h2 mb-8",children:U[j(s)].h2}),a.jsxs("div",{className:"flex flex-col gap-6",children:[a.jsx(S,{control:e,name:"preferred_meeting_datetime",error:t.errors.preferred_meeting_datetime,placeholder:"",label:U[j(s)].data[0].label}),a.jsx(S,{control:e,name:"preferred_mode",error:t.errors.preferred_mode,placeholder:"",label:U[j(s)].data[1].label}),a.jsx(S,{control:e,name:"language_preference",error:t.errors.language_preference,placeholder:"",label:U[j(s)].data[2].label}),a.jsx(S,{control:e,name:"additional_technical",error:t.errors.additional_technical,placeholder:"",label:U[j(s)].data[3].label})]}),a.jsxs("div",{className:"flex flex-col gap-8",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"h2 mt-10",children:U[j(s)].secondH2}),a.jsx("h5",{className:"text-on_surface_v",children:U[j(s)].subtitle})]}),a.jsx(S,{control:e,name:"company_profile",label:U[j(s)].data[4].label,type:"file",textDark:!0}),a.jsx(S,{control:e,name:"proposal_presentation",label:U[j(s)].data[5].label,type:"file",textDark:!0}),a.jsx(S,{control:e,name:"relevant_certification",label:U[j(s)].data[6].label,type:"file",textDark:!0})]}),a.jsxs("div",{className:"flex items-center gap-6 mt-10",children:[a.jsx(q,{type:"button",onClick:i,variant:"outline",className:"text-on_surface",children:s===Z.RU?"Вернуться назад":"Back"}),a.jsx(q,{disabled:t.isSubmitting,type:"submit",className:"w-full",children:t.isSubmitting?a.jsx(Ae,{className:"animate-spin"}):U[j(s)].button})]})]})},Ta=({stage:i,setStage:e,success:t,setSuccess:s})=>{const n=Ce({resolver:Re(na),defaultValues:aa,mode:"onChange"}),r=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=r(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 Jt.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 a.jsx(Oe,{...n,children:a.jsx("form",{onSubmit:n.handleSubmit(c),children:a.jsxs("div",{className:"relative",children:[a.jsx(re,{children:i===1&&a.jsx(Pa,{handleNext:o})}),a.jsx(re,{children:i===2&&a.jsx(La,{handleNext:o,handlePrev:l})}),a.jsx(re,{children:i===3&&t===!1&&a.jsx(Ea,{handlePrev:l})}),t&&a.jsx(De,{})]})})})};function Fa(){H();const i=F(r=>r.lang),[e,t]=y.useState(1),[s,n]=y.useState(!1);return a.jsxs("div",{className:"pb-[120px]",children:[a.jsx(ge,{title:i===Z.RU?"B2B | B2G встречи":"B2B | B2G meetings"}),!s&&e!==0&&a.jsx(Qt,{stage:e}),a.jsx("div",{className:"max-w-[808px] md:mx-auto mx-5",children:a.jsx(Ta,{success:s,setSuccess:n,stage:e,setStage:t})})]})}function Ia(){H();const i=F(e=>e.lang);return a.jsxs("div",{className:ie(""),children:[a.jsx(ge,{title:i===Z.RU?"О выставке":"About exhibition"}),a.jsx(Wt,{}),a.jsx(Yt,{}),a.jsx(Xt,{}),a.jsx(Zt,{}),a.jsx(es,{})]})}const $a=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()}),Aa={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 Da(){H();const i=F(o=>o.lang),[e,t]=y.useState(!1),s=Ce({resolver:Re($a),defaultValues:Aa}),n=async o=>{try{await ts(o)&&t(!0)}catch(l){console.error("POST sponsor error",l)}},{errors:r}=s.formState;return a.jsxs("div",{children:[a.jsx(ge,{title:i===Z.RU?"Стать спонсором":"Become a sponsor"}),a.jsx(re,{children:!e&&a.jsx(Oe,{...s,children:a.jsxs(he.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:[a.jsx(S,{label:C[j(i)].label_1,name:"company_name",control:s.control,error:r.company_name}),a.jsx(S,{label:C[j(i)].label_2,name:"rep_name",control:s.control,error:r.rep_name}),a.jsx(S,{label:C[j(i)].label_3,name:"job_title",control:s.control,error:r.job_title}),a.jsx(S,{label:C[j(i)].label_4,name:"country",control:s.control,error:r.country}),a.jsx(S,{label:C[j(i)].label_5,name:"email",control:s.control,error:r.email}),a.jsx(S,{label:C[j(i)].label_6,name:"phone",control:s.control,error:r.phone}),a.jsx(S,{label:C[j(i)].label_7,name:"website",control:s.control}),a.jsx(je,{control:s.control,name:"visa_support",render:({field:o})=>a.jsxs(D,{className:"space-y-5",children:[a.jsx(B,{className:"text-xl",children:C[j(i)].visa}),a.jsx(V,{children:a.jsxs(me,{onValueChange:o.onChange,defaultValue:o.value,className:"flex flex-col space-y-4 ml-3",children:[a.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[a.jsx(V,{children:a.jsx(W,{value:"yes",checked:o.value==="yes"})}),a.jsx(B,{className:"text-base",children:C[j(i)].visa_radio})]}),a.jsxs(D,{className:"flex items-center space-x-5 space-y-0 ",children:[a.jsx(V,{children:a.jsx(W,{value:"no",checked:o.value==="no"})}),a.jsx(B,{className:"text-base",children:C[j(i)].visa_radio_2})]})]})})]})}),a.jsx(q,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?a.jsx(Ae,{className:"animate-spin"}):C[j(i)].button})]})})}),e&&a.jsx(De,{delay:.3})]})}const Ba=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")}),Va={name:"",email:"",phone:"",company:"",msg:""},Ma=({className:i})=>{const{t:e}=Be("contacts"),[t,s]=y.useState(!1),n=Ce({resolver:Re(Ba),defaultValues:Va});async function r(l){try{const c=await ns(l);s(c)}catch(c){console.error("POST contact",c)}}const{errors:o}=n.formState;return a.jsx("div",{className:ie("bg-primary rounded-[8px] py-8 px-6 ",i),children:a.jsx(Oe,{...n,children:a.jsxs("form",{onSubmit:n.handleSubmit(r),children:[a.jsx("h2",{className:"h2 !text-on_primary lg:mb-8 mb-6",children:e("title")}),a.jsxs("div",{className:"flex flex-col gap-8",children:[a.jsx(S,{onPrimary:!0,name:"name",control:n.control,label:e("name"),error:o.name}),a.jsxs("div",{className:"flex flex-col lg:flex-row gap-6",children:[a.jsx(S,{onPrimary:!0,name:"email",control:n.control,label:"Email",error:o.email}),a.jsx(S,{onPrimary:!0,name:"phone",control:n.control,label:e("phone"),error:o.phone})]}),a.jsx(S,{onPrimary:!0,name:"company",control:n.control,label:e("company"),error:o.name}),a.jsx(S,{onPrimary:!0,textArea:!0,name:"msg",label:e("message"),control:n.control,error:o.msg}),a.jsx(q,{disabled:n.formState.isSubmitting||t,className:"w-full h-12 overflow-hidden",variant:"secondary",children:t?e("submitted"):n.formState.isSubmitting?a.jsx(ss,{className:"animate-spin text-white"}):e("button")})]})]})})})};function Ka(){H();const{t:i}=Be("contacts");return a.jsxs("div",{className:"flex flex-col gap-20 pt-10 md:pt-20",children:[a.jsx(se,{children:a.jsxs("section",{className:"grid grid-cols-1 lg:grid-cols-2 gap-20 lg:gap-6",children:[a.jsx(Ma,{}),a.jsxs("div",{className:"p-6 bg-surface_container rounded-[8px]",children:[a.jsx("h2",{className:"h2 mb-10 xl:mb-8",children:i("title_2")}),a.jsxs("div",{className:"flex flex-col gap-20",children:[a.jsxs("div",{className:"flex items-center gap-6",children:[a.jsx("img",{src:"/contacts/map.svg",alt:"address"}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl mb-2",children:i("address")}),a.jsx("address",{className:"text-base normal not-italic",children:i("venue")})]})]}),a.jsxs("div",{className:"flex items-center gap-6",children:[a.jsx("img",{src:"/contacts/phone.svg",alt:"phone"}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl mb-2",children:i("phone")}),a.jsx("h4",{className:"text-base normal",children:"+99371871812; 99363719588"})]})]}),a.jsxs("div",{className:"flex items-center gap-6",children:[a.jsx("img",{src:"/contacts/email.svg",alt:"email"}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl mb-2",children:"Email:"}),a.jsx("h4",{className:"text-base normal",children:"contact@turkmenexpo.com"})]})]})]})]})]})}),a.jsx("section",{className:"relative w-full h-[300px] sm:h-[350px] md:h-[400px] lg:h-[600px]",children:a.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 Ga=[{id:0,title:"Фото",titleEn:"Photo"},{id:1,title:"Видео",titleEn:"Video"}],Ua=({className:i})=>{var w,N,P,O,T;const[e,t]=y.useState(0),{data:s,isPending:n,status:r}=as(1),{data:o}=rs(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}=Be("main"),[m,g]=y.useState(!1),x=R=>R===0&&n?a.jsx(de,{}):a.jsx(de,{});return console.log(r),a.jsxs(a.Fragment,{children:[a.jsx(re,{children:l&&a.jsx(is,{activeItem:u,setActiveItem:p,setIsOpen:c})}),a.jsxs("section",{className:ie("md:mb-[120px] mb-20",i),children:[a.jsx(ge,{title:f==="ru"?"Моменты":"Moments"}),a.jsx(se,{className:"page-bottom md:pt-10 pt-6",children:a.jsxs("div",{className:"flex justify-center flex-col",children:[a.jsx(lt,{state:e,setState:t,data:Ga,className:"mb-6"}),e===0&&n?x(e):a.jsxs(a.Fragment,{children:[a.jsx("h3",{className:"md:text-3xl text-2xl mb-6",children:"2025"}),a.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=(w=s==null?void 0:s.photos)==null?void 0:w.slice(0,m?1e3:16))==null?void 0:N.map((R,_)=>{var k,M;return a.jsx("div",{onClick:()=>d({id:_,type:"photo"}),className:"cursor-pointer embla__slide basis-1/1 overflow-hidden",children:a.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 a.jsxs("div",{onClick:()=>d({id:_,type:"video"}),className:"cursor-pointer group embla__slide h-[155px] w-full basis-1/1 overflow-hidden relative",children:[a.jsx(os,{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 "}),a.jsx("div",{className:"absolute top-0 left-0 size-full bg-[#2C57A752]/[32%]"}),a.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&&a.jsx(q,{onClick:()=>g(!0),className:"mx-auto w-[288px] mt-10 text-on_surface",size:"lg",variant:"outline",children:h("media.button")})]})})]})]})},Ha=(i,e)=>{const{data:t,isPending:s}=ct({queryKey:["news-inner",i,e],queryFn:()=>ls(i,e),select:({data:n})=>n.data});return{data:t,isPending:s}};function za(){var o;const{id:i}=xs(),e=F(l=>l.lang),t=Number(i);H(t);const{data:s,isPending:n}=Ha(t,e),{data:r}=ut(e);return n?a.jsx(de,{}):a.jsxs(se,{className:"pt-10 pb-20 md:pt-20 md:pb-[120px]",children:[a.jsxs("section",{className:"max-w-[888px] py-5 mx-auto flex flex-col md:gap-10 gap-6",children:[a.jsxs("div",{children:[a.jsx("h1",{className:"text-on_surface md:text-[32px] text-3xl leading-10 mb-2",children:s==null?void 0:s.title}),a.jsx("h4",{children:s==null?void 0:s.published_at.slice(0,10).split("-").reverse().join(".")})]}),a.jsx("div",{className:"w-full h-[300px] md:h-[480px]",children:a.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"})}),a.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"})]}),a.jsx("hr",{className:"mt-10 md:mb-20 mb-[60px]"}),a.jsxs("section",{children:[a.jsx("h2",{className:"h2 mb-6",children:e==="ru"?"Читайте также:":"Read more:"}),a.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:r==null?void 0:r.filter(l=>l.id!==t).slice(0,3).map(l=>y.createElement(dt,{...l,key:l.title}))})]})]})}function qa(){H();const i=F(s=>s.lang),{data:e,isPending:t}=ut(i);return t?a.jsx(de,{}):a.jsxs(se,{className:"page-padding",children:[a.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-10",children:i==="ru"?"Новости":"News"}),a.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:e==null?void 0:e.map(s=>y.createElement(dt,{...s,key:s.title}))})]})}const Ja=()=>{const i=F(s=>s.lang),{data:e,isPending:t}=ct({queryKey:["participants",i],queryFn:()=>cs(i),select:({data:s})=>s.data});return{data:e,isPending:t}},Qa=({className:i})=>{var u,p,f,d,h;H();const e=F(m=>m.lang),{data:t,isPending:s}=Ja(),n={company:e==="ru"?"Название компании":"Company name",country:e==="ru"?"Страна":"Country",industry:e==="ru"?"Сфера деятельности":"Industry"},[r,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=>r===1?m.id===3:r===2?m.id===1:m.id===2);return console.log(r),a.jsx(se,{children:a.jsxs("section",{className:ie("page-padding overflow-x-hidden",i),children:[a.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-4",children:e==="ru"?"Список участников":"List of participants"}),a.jsx(lt,{state:r,setState:o,className:"mb-6 md:w-fit"}),a.jsxs("div",{className:"p-2 sm:p-0 bg-surface_container overflow-hidden",children:[a.jsxs("div",{className:"sm:flex items-center hidden h-[52px] border-b border-outline_v",children:[a.jsx("h3",{className:"flex-[0_0_45.54%] pl-4",children:n==null?void 0:n.company}),a.jsx("h3",{className:"flex-[0_0_19.80%]",children:n==null?void 0:n.country}),a.jsx("h3",{className:"flex-[0_0_34.65%]",children:n==null?void 0:n.industry})]}),s?a.jsx(de,{}):r===0?l==null?void 0:l.map((m,g,x)=>a.jsx(ze,{...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)=>a.jsx(ze,{...m,arr:x==null?void 0:x.length,index:g,image:m.image??{path:""},image_country:m.image_country??{path:""}}))]})]})})},Wa=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()}),Ya={space_package:"space",company_name:"",rep_name:"",job_title:"",participants_number:1,country:"",email:"",phone:"",website:"",visa_support:""};function Xa(){const i=F(l=>l.lang),[e,t]=y.useState(!1),s=Ce({resolver:Re(Wa),defaultValues:Ya}),n=async l=>{await us(l)&&t(!0)};y.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[]);const{errors:r}=s.formState,o=j(i);return a.jsxs("div",{children:[a.jsx(ge,{title:C[j(i)].cover}),a.jsx(re,{children:!e&&a.jsx(Oe,{...s,children:a.jsxs(he.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:[a.jsx(je,{control:s.control,name:"space_package",render:({field:l})=>a.jsxs(D,{className:"space-y-5",children:[a.jsx(B,{className:"text-xl",children:C[o].h2}),a.jsx(V,{children:a.jsxs(me,{onValueChange:l.onChange,defaultValue:l.value,className:"flex flex-col space-y-4 ml-3",children:[a.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[a.jsx(V,{children:a.jsx(W,{value:"space",checked:l.value==="space"})}),a.jsx(B,{className:"text-base",children:C[o].radio})]}),a.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[a.jsx(V,{children:a.jsx(W,{value:"package",checked:l.value==="package"})}),a.jsx(B,{className:"text-base",children:C[o].radio_2})]})]})})]})}),a.jsx(S,{label:C[o].label_1,name:"company_name",control:s.control,error:r.company_name}),a.jsx(S,{label:C[o].label_2,name:"rep_name",control:s.control,error:r.rep_name}),a.jsx(S,{label:C[o].label_3,name:"job_title",control:s.control,error:r.job_title}),a.jsx(S,{label:C[o].number_of_participants,type:"number",name:"participants_number",control:s.control,error:r.participants_number}),a.jsx(S,{label:C[o].label_4,name:"country",control:s.control,error:r.country}),a.jsx(S,{label:C[o].label_5,name:"email",control:s.control,error:r.email}),a.jsx(S,{label:C[o].label_6,name:"phone",control:s.control,error:r.phone}),a.jsx(S,{label:C[o].label_7,name:"website",control:s.control}),a.jsx(je,{control:s.control,name:"visa_support",render:({field:l})=>a.jsxs(D,{className:"space-y-5",children:[a.jsx(B,{className:"text-xl",children:C[o].visa}),a.jsx(V,{children:a.jsxs(me,{onValueChange:l.onChange,defaultValue:l.value,className:"flex flex-col space-y-4 ml-3",children:[a.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[a.jsx(V,{children:a.jsx(W,{value:"yes",checked:l.value==="yes"})}),a.jsx(B,{className:"text-base",children:C[o].visa_radio})]}),a.jsxs(D,{className:"flex items-center space-x-5 space-y-0 ",children:[a.jsx(V,{children:a.jsx(W,{value:"no",checked:l.value==="no"})}),a.jsx(B,{className:"text-base",children:C[o].visa_radio_2})]})]})})]})}),a.jsx(q,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?a.jsx(Ae,{className:"animate-spin"}):C[o].button})]})})}),e&&a.jsx(De,{delay:.3})]})}function Za(){H();const[i]=ds({align:"center"});return a.jsxs("div",{className:"overflow-x-hidden",children:[a.jsxs("section",{className:"",children:[a.jsx("img",{src:"/impressions-cover.png",alt:"",className:"w-full object-contain max-h-[610px]"}),a.jsx("h1",{className:"absolute opacity-0 top-0 left-0",children:"Показы"}),a.jsx("div",{className:"bg-[url('/impressions-bg.png')] py-[200px] ",children:a.jsxs(se,{className:"grid grid-cols-2 gap-6 h-[570px]",children:[a.jsxs("div",{className:"flex flex-col gap-6 justify-center",children:[a.jsx("h2",{className:"text-5xl leading-[120%]",children:'Дефиле туркменской моды на выставке "ТуркменТекстиль"'}),a.jsx("p",{className:"text-on_surface_v normal text-base",children:'В рамках международной выставки "Туркмен текстиль" состоятся эксклюзивные показы коллекций ведущих туркменских дизайнеров и Домов моды. Гости мероприятия смогут оценить высокое мастерство исполнения, богатство национальных традиций в современном прочтении и актуальные тенденции текстильной индустрии Туркменистана, воплощенные в уникальных моделях одежды и аксессуаров.'})]}),a.jsxs("div",{className:"relative",children:[a.jsx("img",{src:"/impressions/gallery-1.png",alt:"impression image",className:"absolute top-0 right-0 z-10 shadow-xl drop-shadow-sm"}),a.jsx("img",{src:"/impressions/gallery-2.png",className:"absolute left-0 top-1/4 shadow-xl drop-shadow-sm"}),a.jsx("img",{src:"/impressions/gallery-3.png",alt:"",className:"absolute bottom-0 right-0 z-10 shadow-xl drop-shadow-sm"})]})]})})]}),a.jsx("section",{className:"py-[200px]",children:a.jsxs(se,{className:"flex flex-col gap-10",children:[a.jsx("h2",{className:"text-5xl",children:"Дизайнеры одежды"}),a.jsx("div",{ref:i,className:"embla",children:a.jsx("div",{className:"flex embla__container",children:[...Array(9)].map((e,t)=>a.jsx(ps,{name:"Batyr",info:"test tesat tesxt test",imgUrl:"/impressions/designer.png",className:"embla__slide flex-[0_0_714px] mr-4"},t))})})]})}),a.jsx("section",{className:"bg-[url('/CTA.png')] py-20 ",children:a.jsxs("div",{className:"flex flex-col gap-6 text-center max-w-[808px] mx-auto",children:[a.jsx("h3",{className:"text-white text-3xl",children:"Тренды туркменского текстиля 2025/2026"}),a.jsx("p",{className:"text-lg text-primary_03 normal",children:"Скачайте наш эксклюзивный гид и первыми узнайте о новейших тенденциях, инновационных материалах и вдохновляющих коллекциях, которые определят будущее туркменской текстильной индустрии"}),a.jsx(q,{className:"bg-reverse_primary w-fit mx-auto hover:bg-reverse_primary/90 text-on_secondary_container",size:"sm",children:"Скачать гид"})]})})]})}const er=bs([{element:a.jsx(ta,{}),path:"/",children:[{element:a.jsx(sa,{}),path:""},{element:a.jsx(Ia,{}),path:"about"},{element:a.jsx(Fa,{}),path:"B2B-B2G"},{element:a.jsx(Da,{}),path:"become-sponsor"},{element:a.jsx(Xa,{}),path:"stend-form"},{element:a.jsx(Ka,{}),path:"contacts"},{element:a.jsx(qa,{}),path:"news"},{element:a.jsx(za,{}),path:"news/:id"},{element:a.jsx(Qa,{}),path:"participants"},{element:a.jsx(Ua,{}),path:"media"},{element:a.jsx(Za,{}),path:"impressions"}]}]),tr=new ms;js.createRoot(document.getElementById("root")).render(a.jsx(y.StrictMode,{children:a.jsx(fs,{client:tr,children:a.jsx(ys,{router:er})})})); +import{u as F,i as Tt,j as a,H as Ft,F as It,a as $t,b as At,c as Dt,d as Bt,e as Vt,f as Mt,g as Kt,h as Gt,z as b,k as _e,l as ue,S as He,m as ot,n as Ut,P as fe,o as Y,p as Ht,q as zt,r as qt,s as ie,t as $e,v as he,w as j,x as je,y as D,A as B,L as Z,B as V,C as S,D as q,E as Ae,G as Ce,I as Re,J as Oe,K as re,M as De,N as Jt,O as ge,Q as Qt,R as Wt,T as Yt,U as Xt,V as Zt,W as es,X as ts,Y as Be,Z as ss,_ as ns,$ as se,a0 as as,a1 as rs,a2 as is,a3 as lt,a4 as os,a5 as de,a6 as ct,a7 as ls,a8 as ut,a9 as dt,aa as cs,ab as ze,ac as us,ad as ds,ae as ps,af as ms,ag as fs}from"./ui-library-glZiLwL9.js";import{f as hs,a as y,O as gs,e as te,u as xs,g as bs,h as ys}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 r of n)if(r.type==="childList")for(const o of r.addedNodes)o.tagName==="LINK"&&o.rel==="modulepreload"&&s(o)}).observe(document,{childList:!0,subtree:!0});function t(n){const r={};return n.integrity&&(r.integrity=n.integrity),n.referrerPolicy&&(r.referrerPolicy=n.referrerPolicy),n.crossOrigin==="use-credentials"?r.credentials="include":n.crossOrigin==="anonymous"?r.credentials="omit":r.credentials="same-origin",r}function s(n){if(n.ep)return;n.ep=!0;const r=t(n);fetch(n.href,r)}})();var ye={},qe;function vs(){if(qe)return ye;qe=1;var i=hs();return ye.createRoot=i.createRoot,ye.hydrateRoot=i.hydrateRoot,ye}var js=vs();const v=i=>typeof i=="string",le=()=>{let i,e;const t=new Promise((s,n)=>{i=s,e=n});return t.resolve=i,t.reject=e,t},Je=i=>i==null?"":""+i,Ss=(i,e,t)=>{i.forEach(s=>{e[s]&&(t[s]=e[s])})},ws=/###/g,Qe=i=>i&&i.indexOf("###")>-1?i.replace(ws,"."):i,We=i=>!i||v(i),ce=(i,e,t)=>{const s=v(e)?e.split("."):e;let n=0;for(;n{const{obj:s,k:n}=ce(i,e,Object);if(s!==void 0||e.length===1){s[n]=t;return}let r=e[e.length-1],o=e.slice(0,e.length-1),l=ce(i,o,Object);for(;l.obj===void 0&&o.length;)r=`${o[o.length-1]}.${r}`,o=o.slice(0,o.length-1),l=ce(i,o,Object),l!=null&&l.obj&&typeof l.obj[`${l.k}.${r}`]<"u"&&(l.obj=void 0);l.obj[`${l.k}.${r}`]=t},Ns=(i,e,t,s)=>{const{obj:n,k:r}=ce(i,e,Object);n[r]=n[r]||[],n[r].push(t)},Se=(i,e)=>{const{obj:t,k:s}=ce(i,e);if(t&&Object.prototype.hasOwnProperty.call(t,s))return t[s]},ks=(i,e,t)=>{const s=Se(i,t);return s!==void 0?s:Se(e,t)},pt=(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]):pt(i[s],e[s],t):i[s]=e[s]);return i},ne=i=>i.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&");var _s={"&":"&","<":"<",">":">",'"':""","'":"'","/":"/"};const Cs=i=>v(i)?i.replace(/[&<>"'\/]/g,e=>_s[e]):i;class Rs{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 Os=[" ",",","?","!",";"],Ps=new Rs(20),Ls=(i,e,t)=>{e=e||"",t=t||"";const s=Os.filter(o=>e.indexOf(o)<0&&t.indexOf(o)<0);if(s.length===0)return!0;const n=Ps.getRegExp(`(${s.map(o=>o==="?"?"\\?":o).join("|")})`);let r=!n.test(i);if(!r){const o=i.indexOf(t);o>0&&!n.test(i.substring(0,o))&&(r=!0)}return r},Fe=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 r=0;r-1&&ci==null?void 0:i.replace("_","-"),Es={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 Ne{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||Es,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 r=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)&&r?l.push(...s.split(r)):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:Fe((p=(u=this.data)==null?void 0:u[e])==null?void 0:p[t],s,r)}addResource(e,t,s,n){let r=arguments.length>4&&arguments[4]!==void 0?arguments[4]:{silent:!1};const o=r.keySeparator!==void 0?r.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),Ye(this.data,l,n),r.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 r in s)(v(s[r])||Array.isArray(s[r]))&&this.addResource(e,t,r,s[r],{silent:!0});n.silent||this.emit("added",e,t,s)}addResourceBundle(e,t,s,n,r){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?pt(c,s,r):c={...c,...s},Ye(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 mt={processors:{},addPostProcessor(i){this.processors[i.name]=i},handle(i,e,t,s,n){return i.forEach(r=>{var o;e=((o=this.processors[r])==null?void 0:o.process(e,t,s,n))??e}),e}};const Ze={},et=i=>!v(i)&&typeof i!="boolean"&&typeof i!="number";class ke extends Pe{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=z.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 r=t.ns||this.options.defaultNS||[];const o=s&&e.indexOf(s)>-1,l=!this.options.userDefinedKeySeparator&&!t.keySeparator&&!this.options.userDefinedNsSeparator&&!t.nsSeparator&&!Ls(e,s,n);if(o&&!l){const c=e.match(this.interpolator.nestingRegexp);if(c&&c.length>0)return{key:e,namespaces:v(r)?[r]:r};const u=e.split(s);(s!==n||s===n&&this.options.ns.indexOf(u[0])>-1)&&(r=u.shift()),e=u.join(n)}return{key:e,namespaces:v(r)?[r]:r}}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,r=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,N=t.count!==void 0&&!v(t.count),P=ke.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;w&&!d&&P&&(k=_);const M=et(k),J=Object.prototype.toString.apply(k);if(w&&k&&M&&g.indexOf(J)<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(r){const L=Array.isArray(k),I=L?[]:{},xe=L?m:h;for(const K in k)if(Object.prototype.hasOwnProperty.call(k,K)){const G=`${xe}${r}${K}`;P&&!d?I[K]=this.translate(G,{...t,defaultValue:et(_)?_[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(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)&&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),r){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 be=this.languageUtils.getFallbackCodes(this.options.fallbackLng,t.lng||this.language);if(this.options.saveMissingTo==="fallback"&&be&&be[0])for(let A=0;A{var Ue;const Ge=P&&oe!==d?oe:K;this.options.missingKeyHandler?this.options.missingKeyHandler(A,c,ee,Ge,G,t):(Ue=this.backendConnector)!=null&&Ue.saveMissing&&this.backendConnector.saveMissing(A,c,ee,Ge,G,t),this.emit("missingKey",A,c,ee,d)};this.options.saveMissing&&(this.options.saveMissingPlurals&&N?$.forEach(A=>{const ee=this.pluralResolver.getSuffixes(A,t);R&&t[`defaultValue${this.options.pluralSeparator}zero`]&&ee.indexOf(`${this.options.pluralSeparator}zero`)<0&&ee.push(`${this.options.pluralSeparator}zero`),ee.forEach(oe=>{Ke([A],o+oe,t[`defaultValue${oe}`]||_)})}):Ke($,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,r){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,r,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,N;this.isValidLookup(s)||(l=x,!Ze[`${g[0]}-${x}`]&&((w=this.utils)!=null&&w.hasLoadedNamespace)&&!((N=this.utils)!=null&&N.hasLoadedNamespace(l))&&(Ze[`${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 J=`${p}${this.options.contextSeparator}${t.context}`;O.push(J),d&&(O.push(J+_),t.ordinal&&_.indexOf(M)===0&&O.push(J+_.replace(M,this.options.pluralSeparator)),h&&O.push(J+k))}}let T;for(;T=O.pop();)this.isValidLookup(s)||(r=T,s=this.getResource(P,x,T,t))}))})}),{res:s,usedKey:n,exactUsedKey:r,usedLng:o,usedNS:l}}isValidLookup(e){return e!==void 0&&!(!this.options.returnNull&&e===null)&&!(!this.options.returnEmptyString&&e==="")}getResource(e,t,s){var r;let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};return(r=this.i18nFormat)!=null&&r.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 r of t)delete n[r]}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 tt{constructor(e){this.options=e,this.supportedLngs=this.options.supportedLngs||!1,this.logger=z.create("languageUtils")}getScriptPartFromCode(e){if(e=we(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=we(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(r=>{if(r===n)return r;if(!(r.indexOf("-")<0&&n.indexOf("-")<0)&&(r.indexOf("-")>0&&n.indexOf("-")<0&&r.substring(0,r.indexOf("-"))===n||r.indexOf(n)===0&&n.length>1))return r})}),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=[],r=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"&&r(this.formatLanguageCode(e)),this.options.load!=="languageOnly"&&this.options.load!=="currentOnly"&&r(this.getScriptPartFromCode(e)),this.options.load!=="currentOnly"&&r(this.getLanguagePartFromCode(e))):v(e)&&r(this.formatLanguageCode(e)),s.forEach(o=>{n.indexOf(o)<0&&r(this.formatLanguageCode(o))}),n}}const st={zero:0,one:1,two:2,few:3,many:4,other:5},nt={select:i=>i===1?"one":"other",resolvedOptions:()=>({pluralCategories:["one","other"]})};class Ts{constructor(e){let t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.languageUtils=e,this.options=t,this.logger=z.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=we(e==="dev"?"en":e),n=t.ordinal?"ordinal":"cardinal",r=JSON.stringify({cleanedCode:s,type:n});if(r in this.pluralRulesCache)return this.pluralRulesCache[r];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!"),nt;if(!e.match(/-|_/))return nt;const c=this.languageUtils.getLanguagePartFromCode(e);o=this.getRule(c,t)}return this.pluralRulesCache[r]=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,r)=>st[n]-st[r]).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,r=ks(i,e,t);return!r&&n&&v(t)&&(r=Fe(i,t,s),r===void 0&&(r=Fe(e,t,s))),r},Ee=i=>i.replace(/\$/g,"$$$$");class Fs{constructor(){var t;let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=z.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:r,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:N}=e.interpolation;this.escape=t!==void 0?t:Cs,this.escapeValue=s!==void 0?s:!0,this.useRawValueToEscape=n!==void 0?n:!1,this.prefix=r?ne(r):o||"{{",this.suffix=l?ne(l):c||"}}",this.formatSeparator=u||",",this.unescapePrefix=p?"":f||"-",this.unescapeSuffix=this.unescapePrefix?"":p||"",this.nestingPrefix=d?ne(d):h||ne("$t("),this.nestingSuffix=m?ne(m):g||ne(")"),this.nestingOptionsSeparator=x||",",this.maxReplaces=w||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 r,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(),w=g.join(this.formatSeparator).trim();return this.format(at(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=>Ee(m)},{regex:this.regexp,safeValue:m=>this.escapeValue?Ee(this.escape(m)):Ee(m)}].forEach(m=>{for(l=0;r=m.regex.exec(e);){const g=r[1].trim();if(o=u(g),o===void 0)if(typeof p=="function"){const w=p(e,r,n);o=v(w)?w:""}else if(n&&Object.prototype.hasOwnProperty.call(n,g))o="";else if(f){o=r[0];continue}else this.logger.warn(`missed to pass in variable ${g} for interpolating ${e}`),o="";else!v(o)&&!this.useRawValueToEscape&&(o=Je(o));const x=m.safeValue(o);if(e=e.replace(r[0],x),f?(m.regex.lastIndex+=o.length,m.regex.lastIndex-=r[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,r,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(r=t(l.call(this,n[1].trim(),o),o),r&&n[0]===e&&!v(r))return r;v(r)||(r=Je(r)),r||(this.logger.warn(`missed to resolve ${n[1]} for nesting ${e}`),r=""),u&&(r=c.reduce((p,f)=>this.format(p,f,s.lng,{...s,interpolationkey:n[1].trim()}),r.trim())),e=e.replace(n[0],r),this.regexp.lastIndex=0}return e}}const Is=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}},ae=i=>{const e={};return(t,s,n)=>{let r=n;n&&n.interpolationkey&&n.formatParams&&n.formatParams[n.interpolationkey]&&n[n.interpolationkey]&&(r={...r,[n.interpolationkey]:void 0});const o=s+JSON.stringify(r);let l=e[o];return l||(l=i(we(s),n),e[o]=l),l(t)}};class $s{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.logger=z.create("formatter"),this.options=e,this.formats={number:ae((t,s)=>{const n=new Intl.NumberFormat(t,{...s});return r=>n.format(r)}),currency:ae((t,s)=>{const n=new Intl.NumberFormat(t,{...s,style:"currency"});return r=>n.format(r)}),datetime:ae((t,s)=>{const n=new Intl.DateTimeFormat(t,{...s});return r=>n.format(r)}),relativetime:ae((t,s)=>{const n=new Intl.RelativeTimeFormat(t,{...s});return r=>n.format(r,s.range||"day")}),list:ae((t,s)=>{const n=new Intl.ListFormat(t,{...s});return r=>n.format(r)})},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()]=ae(t)}format(e,t,s){let n=arguments.length>3&&arguments[3]!==void 0?arguments[3]:{};const r=t.split(this.formatSeparator);if(r.length>1&&r[0].indexOf("(")>1&&r[0].indexOf(")")<0&&r.find(l=>l.indexOf(")")>-1)){const l=r.findIndex(c=>c.indexOf(")")>-1);r[0]=[r[0],...r.splice(1,l)].join(this.formatSeparator)}return r.reduce((l,c)=>{var f;const{formatName:u,formatOptions:p}=Is(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 As=(i,e)=>{i.pending[e]!==void 0&&(delete i.pending[e],i.pendingCount--)};class Ds extends Pe{constructor(e,t,s){var r,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=z.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=(r=this.backend)==null?void 0:r.init)==null||o.call(r,s,n.backend,n)}queueLoad(e,t,s,n){const r={},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),r[d]===void 0&&(r[d]=!0),c[f]===void 0&&(c[f]=!0)))}),p||(l[u]=!0)}),(Object.keys(r).length||Object.keys(o).length)&&this.queue.push({pending:o,pendingCount:Object.keys(o).length,loaded:{},errors:[],callback:n}),{toLoad:Object.keys(r),pending:Object.keys(o),toLoadLanguages:Object.keys(l),toLoadNamespaces:Object.keys(c)}}loaded(e,t,s){const n=e.split("|"),r=n[0],o=n[1];t&&this.emit("failedLoading",r,o,t),!t&&s&&this.store.addResourceBundle(r,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=>{Ns(c.loaded,[r],o),As(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,r=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:r,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,r*2,o)},r);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 r=this.queueLoad(e,t,s,n);if(!r.toLoad.length)return r.pending.length||n(),null;r.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],r=s[1];this.read(n,r,"read",void 0,void 0,(o,l)=>{o&&this.logger.warn(`${t}loading namespace ${r} for language ${n} failed`,o),!o&&l&&this.logger.log(`${t}loaded namespace ${r} for language ${n}`,l),this.loaded(e,o,l)})}saveMissing(e,t,s,n,r){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:r},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 rt=()=>({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}}),it=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},ve=()=>{},Bs=i=>{Object.getOwnPropertyNames(Object.getPrototypeOf(i)).forEach(t=>{typeof i[t]=="function"&&(i[t]=i[t].bind(i))})};class pe extends Pe{constructor(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0;if(super(),this.options=it(e),this.services={},this.logger=z,this.modules={external:[]},Bs(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=rt();this.options={...n,...this.options,...it(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 r=p=>p?typeof p=="function"?new p:p:null;if(!this.options.isClone){this.modules.logger?z.init(r(this.modules.logger),this.options):z.init(null,this.options);let p;this.modules.formatter?p=this.modules.formatter:p=$s;const f=new tt(this.options);this.store=new Xe(this.options.resources,this.options);const d=this.services;d.logger=z,d.resourceStore=this.store,d.languageUtils=f,d.pluralResolver=new Ts(f,{prepend:this.options.pluralSeparator,simplifyPluralSuffix:this.options.simplifyPluralSuffix}),p&&(!this.options.interpolation.format||this.options.interpolation.format===n.interpolation.format)&&(d.formatter=r(p),d.formatter.init(d,this.options),this.options.interpolation.format=d.formatter.format.bind(d.formatter)),d.interpolator=new Fs(this.options),d.utils={hasLoadedNamespace:this.hasLoadedNamespace.bind(this)},d.backendConnector=new Ds(r(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=ve),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=le(),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 r,o;let s=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ve;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=(r=this.options.preload)==null?void 0:r.forEach)==null||o.call(r,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=le();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=ve),this.services.backendConnector.reload(e,t,r=>{n.resolve(),s(r)}),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"&&mt.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=le();this.emit("languageChanging",e);const r=c=>{this.language=c,this.languages=this.services.languageUtils.toResolveHierarchy(c),this.resolvedLanguage=void 0,this.setResolvedLanguage(c)},o=(c,u)=>{u?(r(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||r(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 r=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)?r.lng=e:r.lngs=e,r.ns=t,r.keyPrefix=s,r}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,r=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(r,e)))}loadNamespaces(e,t){const s=le();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=le();v(e)&&(e=[e]);const n=this.options.preload||[],r=e.filter(o=>n.indexOf(o)<0&&this.services.languageUtils.isSupportedCode(o));return r.length?(this.options.preload=n.concat(r),this.loadResources(o=>{s.resolve(),t&&t(o)}),s):(t&&t(),Promise.resolve())}dir(e){var n,r;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=((r=this.services)==null?void 0:r.languageUtils)||new tt(rt());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 pe(e,t)}cloneInstance(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:ve;const s=e.forkResourceStore;s&&delete e.forkResourceStore;const n={...this.options,...e,isClone:!0},r=new pe(n);if((e.debug!==void 0||e.prefix!==void 0)&&(r.logger=r.logger.clone(e)),["store","services","language"].forEach(l=>{r[l]=this[l]}),r.services={...this.services},r.services.utils={hasLoadedNamespace:r.hasLoadedNamespace.bind(r)},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),{})),{});r.store=new Xe(l,n),r.services.resourceStore=r.store}return r.translator=new ke(r.services,n),r.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 ta(){return a.jsxs("main",{className:"flex flex-col min-h-screen",children:[a.jsx(ea,{}),a.jsx(Ft,{}),a.jsx("div",{className:"flex-auto",children:a.jsx(gs,{})}),a.jsx(It,{})]})}function sa(){return a.jsxs("div",{className:"flex flex-col gap-20",children:[a.jsx($t,{}),a.jsx(At,{}),a.jsx(Dt,{}),a.jsx(Bt,{}),a.jsx(Vt,{}),a.jsx(Mt,{}),a.jsx(Kt,{}),a.jsx(Gt,{})]})}const na=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()}),aa={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 ra(i){const e=i+"CollectionProvider",[t,s]=_e(e),[n,r]=t(e,{collectionRef:{current:null},itemMap:new Map}),o=h=>{const{scope:m,children:g}=h,x=te.useRef(null),w=te.useRef(new Map).current;return a.jsx(n,{scope:m,itemMap:w,collectionRef:x,children:g})};o.displayName=e;const l=i+"CollectionSlot",c=te.forwardRef((h,m)=>{const{scope:g,children:x}=h,w=r(l,g),N=ue(m,w.collectionRef);return a.jsx(He,{ref:N,children:x})});c.displayName=l;const u=i+"CollectionItemSlot",p="data-radix-collection-item",f=te.forwardRef((h,m)=>{const{scope:g,children:x,...w}=h,N=te.useRef(null),P=ue(m,N),O=r(u,g);return te.useEffect(()=>(O.itemMap.set(N,{ref:N,...w}),()=>void O.itemMap.delete(N))),a.jsx(He,{[p]:"",ref:P,children:x})});f.displayName=u;function d(h){const m=r(i+"CollectionConsumer",h);return te.useCallback(()=>{const x=m.collectionRef.current;if(!x)return[];const w=Array.from(x.querySelectorAll(`[${p}]`));return Array.from(m.itemMap.values()).sort((O,T)=>w.indexOf(O.ref.current)-w.indexOf(T.ref.current))},[m.collectionRef,m.itemMap])}return[{Provider:o,Slot:c,ItemSlot:f},d,s]}var ia=y.createContext(void 0);function ft(i){const e=y.useContext(ia);return i||e||"ltr"}var Te="rovingFocusGroup.onEntryFocus",oa={bubbles:!1,cancelable:!0},Le="RovingFocusGroup",[Ie,ht,la]=ra(Le),[ca,gt]=_e(Le,[la]),[ua,da]=ca(Le),xt=y.forwardRef((i,e)=>a.jsx(Ie.Provider,{scope:i.__scopeRovingFocusGroup,children:a.jsx(Ie.Slot,{scope:i.__scopeRovingFocusGroup,children:a.jsx(pa,{...i,ref:e})})}));xt.displayName=Le;var pa=y.forwardRef((i,e)=>{const{__scopeRovingFocusGroup:t,orientation:s,loop:n=!1,dir:r,currentTabStopId:o,defaultCurrentTabStopId:l,onCurrentTabStopIdChange:c,onEntryFocus:u,preventScrollOnEntryFocus:p=!1,...f}=i,d=y.useRef(null),h=ue(e,d),m=ft(r),[g=null,x]=ot({prop:o,defaultProp:l,onChange:c}),[w,N]=y.useState(!1),P=Ut(u),O=ht(t),T=y.useRef(!1),[R,_]=y.useState(0);return y.useEffect(()=>{const k=d.current;if(k)return k.addEventListener(Te,P),()=>k.removeEventListener(Te,P)},[P]),a.jsx(ua,{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:a.jsx(fe.div,{tabIndex:w||R===0?-1:0,"data-orientation":s,...f,ref:h,style:{outline:"none",...i.style},onMouseDown:Y(i.onMouseDown,()=>{T.current=!0}),onFocus:Y(i.onFocus,k=>{const M=!T.current;if(k.target===k.currentTarget&&M&&!w){const J=new CustomEvent(Te,oa);if(k.currentTarget.dispatchEvent(J),!J.defaultPrevented){const L=O().filter($=>$.focusable),I=L.find($=>$.active),xe=L.find($=>$.id===g),G=[I,xe,...L].filter(Boolean).map($=>$.ref.current);vt(G,p)}}T.current=!1}),onBlur:Y(i.onBlur,()=>N(!1))})})}),bt="RovingFocusGroupItem",yt=y.forwardRef((i,e)=>{const{__scopeRovingFocusGroup:t,focusable:s=!0,active:n=!1,tabStopId:r,...o}=i,l=Ht(),c=r||l,u=da(bt,t),p=u.currentTabStopId===c,f=ht(t),{onFocusableItemAdd:d,onFocusableItemRemove:h}=u;return y.useEffect(()=>{if(s)return d(),()=>h()},[s,d,h]),a.jsx(Ie.ItemSlot,{scope:t,id:c,focusable:s,active:n,children:a.jsx(fe.span,{tabIndex:p?0:-1,"data-orientation":u.orientation,...o,ref:e,onMouseDown:Y(i.onMouseDown,m=>{s?u.onItemFocus(c):m.preventDefault()}),onFocus:Y(i.onFocus,()=>u.onItemFocus(c)),onKeyDown:Y(i.onKeyDown,m=>{if(m.key==="Tab"&&m.shiftKey){u.onItemShiftTab();return}if(m.target!==m.currentTarget)return;const g=ha(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(N=>N.focusable).map(N=>N.ref.current);if(g==="last")w.reverse();else if(g==="prev"||g==="next"){g==="prev"&&w.reverse();const N=w.indexOf(m.currentTarget);w=u.loop?ga(w,N+1):w.slice(N+1)}setTimeout(()=>vt(w))}})})})});yt.displayName=bt;var ma={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function fa(i,e){return e!=="rtl"?i:i==="ArrowLeft"?"ArrowRight":i==="ArrowRight"?"ArrowLeft":i}function ha(i,e,t){const s=fa(i.key,t);if(!(e==="vertical"&&["ArrowLeft","ArrowRight"].includes(s))&&!(e==="horizontal"&&["ArrowUp","ArrowDown"].includes(s)))return ma[s]}function vt(i,e=!1){const t=document.activeElement;for(const s of i)if(s===t||(s.focus({preventScroll:e}),document.activeElement!==t))return}function ga(i,e){return i.map((t,s)=>i[(e+s)%i.length])}var xa=xt,ba=yt;function ya(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 Ve="Radio",[va,jt]=_e(Ve),[ja,Sa]=va(Ve),St=y.forwardRef((i,e)=>{const{__scopeRadio:t,name:s,checked:n=!1,required:r,disabled:o,value:l="on",onCheck:c,form:u,...p}=i,[f,d]=y.useState(null),h=ue(e,x=>d(x)),m=y.useRef(!1),g=f?u||!!f.closest("form"):!0;return a.jsxs(ja,{scope:t,checked:n,disabled:o,children:[a.jsx(fe.button,{type:"button",role:"radio","aria-checked":n,"data-state":kt(n),"data-disabled":o?"":void 0,disabled:o,value:l,...p,ref:h,onClick:Y(i.onClick,x=>{n||c==null||c(),g&&(m.current=x.isPropagationStopped(),m.current||x.stopPropagation())})}),g&&a.jsx(wa,{control:f,bubbles:!m.current,name:s,value:l,checked:n,required:r,disabled:o,form:u,style:{transform:"translateX(-100%)"}})]})});St.displayName=Ve;var wt="RadioIndicator",Nt=y.forwardRef((i,e)=>{const{__scopeRadio:t,forceMount:s,...n}=i,r=Sa(wt,t);return a.jsx(zt,{present:s||r.checked,children:a.jsx(fe.span,{"data-state":kt(r.checked),"data-disabled":r.disabled?"":void 0,...n,ref:e})})});Nt.displayName=wt;var wa=i=>{const{control:e,checked:t,bubbles:s=!0,...n}=i,r=y.useRef(null),o=ya(t),l=qt(e);return y.useEffect(()=>{const c=r.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]),a.jsx("input",{type:"radio","aria-hidden":!0,defaultChecked:t,...n,tabIndex:-1,ref:r,style:{...i.style,...l,position:"absolute",pointerEvents:"none",opacity:0,margin:0}})};function kt(i){return i?"checked":"unchecked"}var Na=["ArrowUp","ArrowDown","ArrowLeft","ArrowRight"],Me="RadioGroup",[ka,ar]=_e(Me,[gt,jt]),_t=gt(),Ct=jt(),[_a,Ca]=ka(Me),Rt=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,name:s,defaultValue:n,value:r,required:o=!1,disabled:l=!1,orientation:c,dir:u,loop:p=!0,onValueChange:f,...d}=i,h=_t(t),m=ft(u),[g,x]=ot({prop:r,defaultProp:n,onChange:f});return a.jsx(_a,{scope:t,name:s,required:o,disabled:l,value:g,onValueChange:x,children:a.jsx(xa,{asChild:!0,...h,orientation:c,dir:m,loop:p,children:a.jsx(fe.div,{role:"radiogroup","aria-required":o,"aria-orientation":c,"data-disabled":l?"":void 0,dir:m,...d,ref:e})})})});Rt.displayName=Me;var Ot="RadioGroupItem",Pt=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,disabled:s,...n}=i,r=Ca(Ot,t),o=r.disabled||s,l=_t(t),c=Ct(t),u=y.useRef(null),p=ue(e,u),f=r.value===n.value,d=y.useRef(!1);return y.useEffect(()=>{const h=g=>{Na.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)}},[]),a.jsx(ba,{asChild:!0,...l,focusable:!o,active:f,children:a.jsx(St,{disabled:o,required:r.required,checked:f,...c,...n,name:r.name,ref:p,onCheck:()=>r.onValueChange(n.value),onKeyDown:Y(h=>{h.key==="Enter"&&h.preventDefault()}),onFocus:Y(n.onFocus,()=>{var h;d.current&&((h=u.current)==null||h.click())})})})});Pt.displayName=Ot;var Ra="RadioGroupIndicator",Oa=y.forwardRef((i,e)=>{const{__scopeRadioGroup:t,...s}=i,n=Ct(t);return a.jsx(Nt,{...n,...s,ref:e})});Oa.displayName=Ra;var Lt=Rt,Et=Pt;const me=y.forwardRef(({className:i,...e},t)=>a.jsx(Lt,{className:ie("grid gap-2",i),...e,ref:t}));me.displayName=Lt.displayName;const W=y.forwardRef(({className:i,...e},t)=>a.jsx(Et,{ref:t,className:ie(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}));W.displayName=Et.displayName;const Q=[{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"}]}],X=[{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"}],H=i=>{y.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[i])},Pa=({handleNext:i})=>{H();const{control:e,formState:t}=$e(),s=F(n=>n.lang);return a.jsxs(he.div,{initial:{opacity:0},animate:{opacity:1},exit:{opacity:0,y:"100%",transition:{duration:.2}},className:"w-full",children:[a.jsx("h2",{className:"h2 mb-8",children:Q[j(s)].h2}),a.jsxs("div",{className:"flex flex-col gap-8",children:[a.jsx(je,{defaultValue:1,control:e,name:"type",render:({field:n})=>a.jsxs(D,{className:"space-y-3",children:[a.jsx(B,{className:"text-xl",children:s===Z.RU?"Тип:":"Type:"}),a.jsx(V,{children:a.jsxs(me,{onValueChange:n.onChange,defaultValue:n.value,className:"flex flex-col space-y-4",children:[a.jsxs(D,{className:"flex items-center space-x-3 space-y-0",children:[a.jsx(V,{children:a.jsx(W,{value:"B2B",checked:n.value==="B2B"})}),a.jsx(B,{className:"text-base",children:"B2B"})]}),a.jsxs(D,{className:"flex items-center space-x-3 space-y-0",children:[a.jsx(V,{children:a.jsx(W,{value:"B2G",checked:n.value==="B2G"})}),a.jsx(B,{className:"text-base",children:"B2G"})]})]})})]})}),a.jsx(S,{control:e,name:"company_name",error:t.errors.company_name,placeholder:"",label:Q[j(s)].data[0].label}),a.jsx(S,{control:e,name:"representative_name",error:t.errors.representative_name,placeholder:"",label:Q[j(s)].data[1].label}),a.jsx(S,{control:e,name:"job_title",error:t.errors.job_title,placeholder:"",label:Q[j(s)].data[2].label}),a.jsx(S,{control:e,name:"participants_number",error:t.errors.participants_number,placeholder:"",label:Q[j(s)].data[3].label}),a.jsx(S,{control:e,name:"country",error:t.errors.country,placeholder:"",label:Q[j(s)].data[4].label}),a.jsx(S,{control:e,name:"email_address",error:t.errors.email_address,placeholder:"",label:Q[j(s)].data[5].label}),a.jsx(S,{control:e,name:"phone_number",error:t.errors.phone_number,placeholder:"",label:Q[j(s)].data[6].label}),a.jsx(S,{control:e,name:"website",placeholder:"",label:Q[j(s)].data[7].label})]}),a.jsx(q,{variant:"secondary",type:"button",onClick:i,className:"w-full mt-10",children:s===Z.RU?"Далее":"Next"})]})},La=({handleNext:i,handlePrev:e})=>{H();const t=F(r=>r.lang),{control:s,formState:n}=$e();return a.jsxs(he.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{delay:.5,duration:.3}},exit:{opacity:0,y:100},children:[a.jsx("h2",{className:"h2 mb-8",children:X[j(t)].h2}),a.jsxs("div",{className:"flex flex-col gap-8",children:[a.jsx(S,{control:s,name:"meeting_objective",error:n.errors.meeting_objective,placeholder:"",label:X[j(t)].data[0].label}),a.jsx(S,{control:s,name:"proposal_description",error:n.errors.proposal_description,placeholder:"",label:X[j(t)].data[1].label}),a.jsx(S,{control:s,name:"government_agency",error:n.errors.government_agency,placeholder:"",label:X[j(t)].data[2].label}),a.jsx("h2",{className:"h2 mt-4",children:X[j(t)].secondH2}),a.jsx(S,{control:s,name:"sector_industry",error:n.errors.sector_industry,placeholder:"",label:X[j(t)].data[3].label}),a.jsx(S,{control:s,name:"key_services",error:n.errors.key_services,placeholder:"",label:X[j(t)].data[4].label}),a.jsx(S,{control:s,name:"government_experience",error:n.errors.government_experience,placeholder:"",label:X[j(t)].data[5].label})]}),a.jsxs("div",{className:"flex items-center gap-6 mt-10",children:[a.jsx(q,{type:"button",onClick:e,variant:"outline",className:"text-on_surface",children:t===Z.RU?"Вернуться назад":"Back"}),a.jsx(q,{variant:"secondary",type:"button",onClick:i,className:"w-full",children:t===Z.RU?"Далее":"Next"})]})]})},Ea=({handlePrev:i})=>{H();const{control:e,formState:t}=$e(),s=F(n=>n.lang);return a.jsxs(he.div,{initial:{opacity:0,y:-100},animate:{opacity:1,y:0,transition:{delay:.5,duration:.3}},transition:{duration:1},children:[a.jsx("h2",{className:"h2 mb-8",children:U[j(s)].h2}),a.jsxs("div",{className:"flex flex-col gap-6",children:[a.jsx(S,{control:e,name:"preferred_meeting_datetime",error:t.errors.preferred_meeting_datetime,placeholder:"",label:U[j(s)].data[0].label}),a.jsx(S,{control:e,name:"preferred_mode",error:t.errors.preferred_mode,placeholder:"",label:U[j(s)].data[1].label}),a.jsx(S,{control:e,name:"language_preference",error:t.errors.language_preference,placeholder:"",label:U[j(s)].data[2].label}),a.jsx(S,{control:e,name:"additional_technical",error:t.errors.additional_technical,placeholder:"",label:U[j(s)].data[3].label})]}),a.jsxs("div",{className:"flex flex-col gap-8",children:[a.jsxs("div",{children:[a.jsx("h3",{className:"h2 mt-10",children:U[j(s)].secondH2}),a.jsx("h5",{className:"text-on_surface_v",children:U[j(s)].subtitle})]}),a.jsx(S,{control:e,name:"company_profile",label:U[j(s)].data[4].label,type:"file",textDark:!0}),a.jsx(S,{control:e,name:"proposal_presentation",label:U[j(s)].data[5].label,type:"file",textDark:!0}),a.jsx(S,{control:e,name:"relevant_certification",label:U[j(s)].data[6].label,type:"file",textDark:!0})]}),a.jsxs("div",{className:"flex items-center gap-6 mt-10",children:[a.jsx(q,{type:"button",onClick:i,variant:"outline",className:"text-on_surface",children:s===Z.RU?"Вернуться назад":"Back"}),a.jsx(q,{disabled:t.isSubmitting,type:"submit",className:"w-full",children:t.isSubmitting?a.jsx(Ae,{className:"animate-spin"}):U[j(s)].button})]})]})},Ta=({stage:i,setStage:e,success:t,setSuccess:s})=>{const n=Ce({resolver:Re(na),defaultValues:aa,mode:"onChange"}),r=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=r(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 Jt.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 a.jsx(Oe,{...n,children:a.jsx("form",{onSubmit:n.handleSubmit(c),children:a.jsxs("div",{className:"relative",children:[a.jsx(re,{children:i===1&&a.jsx(Pa,{handleNext:o})}),a.jsx(re,{children:i===2&&a.jsx(La,{handleNext:o,handlePrev:l})}),a.jsx(re,{children:i===3&&t===!1&&a.jsx(Ea,{handlePrev:l})}),t&&a.jsx(De,{})]})})})};function Fa(){H();const i=F(r=>r.lang),[e,t]=y.useState(1),[s,n]=y.useState(!1);return a.jsxs("div",{className:"pb-[120px]",children:[a.jsx(ge,{title:i===Z.RU?"B2B | B2G встречи":"B2B | B2G meetings"}),!s&&e!==0&&a.jsx(Qt,{stage:e}),a.jsx("div",{className:"max-w-[808px] md:mx-auto mx-5",children:a.jsx(Ta,{success:s,setSuccess:n,stage:e,setStage:t})})]})}function Ia(){H();const i=F(e=>e.lang);return a.jsxs("div",{className:ie(""),children:[a.jsx(ge,{title:i===Z.RU?"О выставке":"About exhibition"}),a.jsx(Wt,{}),a.jsx(Yt,{}),a.jsx(Xt,{}),a.jsx(Zt,{}),a.jsx(es,{})]})}const $a=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()}),Aa={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 Da(){H();const i=F(o=>o.lang),[e,t]=y.useState(!1),s=Ce({resolver:Re($a),defaultValues:Aa}),n=async o=>{try{await ts(o)&&t(!0)}catch(l){console.error("POST sponsor error",l)}},{errors:r}=s.formState;return a.jsxs("div",{children:[a.jsx(ge,{title:i===Z.RU?"Стать спонсором":"Become a sponsor"}),a.jsx(re,{children:!e&&a.jsx(Oe,{...s,children:a.jsxs(he.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:[a.jsx(S,{label:C[j(i)].label_1,name:"company_name",control:s.control,error:r.company_name}),a.jsx(S,{label:C[j(i)].label_2,name:"rep_name",control:s.control,error:r.rep_name}),a.jsx(S,{label:C[j(i)].label_3,name:"job_title",control:s.control,error:r.job_title}),a.jsx(S,{label:C[j(i)].label_4,name:"country",control:s.control,error:r.country}),a.jsx(S,{label:C[j(i)].label_5,name:"email",control:s.control,error:r.email}),a.jsx(S,{label:C[j(i)].label_6,name:"phone",control:s.control,error:r.phone}),a.jsx(S,{label:C[j(i)].label_7,name:"website",control:s.control}),a.jsx(je,{control:s.control,name:"visa_support",render:({field:o})=>a.jsxs(D,{className:"space-y-5",children:[a.jsx(B,{className:"text-xl",children:C[j(i)].visa}),a.jsx(V,{children:a.jsxs(me,{onValueChange:o.onChange,defaultValue:o.value,className:"flex flex-col space-y-4 ml-3",children:[a.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[a.jsx(V,{children:a.jsx(W,{value:"yes",checked:o.value==="yes"})}),a.jsx(B,{className:"text-base",children:C[j(i)].visa_radio})]}),a.jsxs(D,{className:"flex items-center space-x-5 space-y-0 ",children:[a.jsx(V,{children:a.jsx(W,{value:"no",checked:o.value==="no"})}),a.jsx(B,{className:"text-base",children:C[j(i)].visa_radio_2})]})]})})]})}),a.jsx(q,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?a.jsx(Ae,{className:"animate-spin"}):C[j(i)].button})]})})}),e&&a.jsx(De,{delay:.3})]})}const Ba=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")}),Va={name:"",email:"",phone:"",company:"",msg:""},Ma=({className:i})=>{const{t:e}=Be("contacts"),[t,s]=y.useState(!1),n=Ce({resolver:Re(Ba),defaultValues:Va});async function r(l){try{const c=await ns(l);s(c)}catch(c){console.error("POST contact",c)}}const{errors:o}=n.formState;return a.jsx("div",{className:ie("bg-primary rounded-[8px] py-8 px-6 ",i),children:a.jsx(Oe,{...n,children:a.jsxs("form",{onSubmit:n.handleSubmit(r),children:[a.jsx("h2",{className:"h2 !text-on_primary lg:mb-8 mb-6",children:e("title")}),a.jsxs("div",{className:"flex flex-col gap-8",children:[a.jsx(S,{onPrimary:!0,name:"name",control:n.control,label:e("name"),error:o.name}),a.jsxs("div",{className:"flex flex-col lg:flex-row gap-6",children:[a.jsx(S,{onPrimary:!0,name:"email",control:n.control,label:"Email",error:o.email}),a.jsx(S,{onPrimary:!0,name:"phone",control:n.control,label:e("phone"),error:o.phone})]}),a.jsx(S,{onPrimary:!0,name:"company",control:n.control,label:e("company"),error:o.name}),a.jsx(S,{onPrimary:!0,textArea:!0,name:"msg",label:e("message"),control:n.control,error:o.msg}),a.jsx(q,{disabled:n.formState.isSubmitting||t,className:"w-full h-12 overflow-hidden",variant:"secondary",children:t?e("submitted"):n.formState.isSubmitting?a.jsx(ss,{className:"animate-spin text-white"}):e("button")})]})]})})})};function Ka(){H();const{t:i}=Be("contacts");return a.jsxs("div",{className:"flex flex-col gap-20 pt-10 md:pt-20",children:[a.jsx(se,{children:a.jsxs("section",{className:"grid grid-cols-1 lg:grid-cols-2 gap-20 lg:gap-6",children:[a.jsx(Ma,{}),a.jsxs("div",{className:"p-6 bg-surface_container rounded-[8px]",children:[a.jsx("h2",{className:"h2 mb-10 xl:mb-8",children:i("title_2")}),a.jsxs("div",{className:"flex flex-col gap-20",children:[a.jsxs("div",{className:"flex items-center gap-6",children:[a.jsx("img",{src:"/contacts/map.svg",alt:"address"}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl mb-2",children:i("address")}),a.jsx("address",{className:"text-base normal not-italic",children:i("venue")})]})]}),a.jsxs("div",{className:"flex items-center gap-6",children:[a.jsx("img",{src:"/contacts/phone.svg",alt:"phone"}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl mb-2",children:i("phone")}),a.jsx("h4",{className:"text-base normal",children:"+99371871812; 99363719588"})]})]}),a.jsxs("div",{className:"flex items-center gap-6",children:[a.jsx("img",{src:"/contacts/email.svg",alt:"email"}),a.jsxs("div",{children:[a.jsx("h3",{className:"text-xl mb-2",children:"Email:"}),a.jsx("h4",{className:"text-base normal",children:"contact@turkmenexpo.com"})]})]})]})]})]})}),a.jsx("section",{className:"relative w-full h-[300px] sm:h-[350px] md:h-[400px] lg:h-[600px]",children:a.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 Ga=[{id:0,title:"Фото",titleEn:"Photo"},{id:1,title:"Видео",titleEn:"Video"}],Ua=({className:i})=>{var w,N,P,O,T;const[e,t]=y.useState(0),{data:s,isPending:n,status:r}=as(1),{data:o}=rs(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}=Be("main"),[m,g]=y.useState(!1),x=R=>R===0&&n?a.jsx(de,{}):a.jsx(de,{});return console.log(r),a.jsxs(a.Fragment,{children:[a.jsx(re,{children:l&&a.jsx(is,{activeItem:u,setActiveItem:p,setIsOpen:c})}),a.jsxs("section",{className:ie("md:mb-[120px] mb-20",i),children:[a.jsx(ge,{title:f==="ru"?"Моменты":"Moments"}),a.jsx(se,{className:"page-bottom md:pt-10 pt-6",children:a.jsxs("div",{className:"flex justify-center flex-col",children:[a.jsx(lt,{state:e,setState:t,data:Ga,className:"mb-6"}),e===0&&n?x(e):a.jsxs(a.Fragment,{children:[a.jsx("h3",{className:"md:text-3xl text-2xl mb-6",children:"2025"}),a.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=(w=s==null?void 0:s.photos)==null?void 0:w.slice(0,m?1e3:16))==null?void 0:N.map((R,_)=>{var k,M;return a.jsx("div",{onClick:()=>d({id:_,type:"photo"}),className:"cursor-pointer embla__slide basis-1/1 overflow-hidden",children:a.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 a.jsxs("div",{onClick:()=>d({id:_,type:"video"}),className:"cursor-pointer group embla__slide h-[155px] w-full basis-1/1 overflow-hidden relative",children:[a.jsx(os,{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 "}),a.jsx("div",{className:"absolute top-0 left-0 size-full bg-[#2C57A752]/[32%]"}),a.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&&a.jsx(q,{onClick:()=>g(!0),className:"mx-auto w-[288px] mt-10 text-on_surface",size:"lg",variant:"outline",children:h("media.button")})]})})]})]})},Ha=(i,e)=>{const{data:t,isPending:s}=ct({queryKey:["news-inner",i,e],queryFn:()=>ls(i,e),select:({data:n})=>n.data});return{data:t,isPending:s}};function za(){var o;const{id:i}=xs(),e=F(l=>l.lang),t=Number(i);H(t);const{data:s,isPending:n}=Ha(t,e),{data:r}=ut(e);return n?a.jsx(de,{}):a.jsxs(se,{className:"pt-10 pb-20 md:pt-20 md:pb-[120px]",children:[a.jsxs("section",{className:"max-w-[888px] py-5 mx-auto flex flex-col md:gap-10 gap-6",children:[a.jsxs("div",{children:[a.jsx("h1",{className:"text-on_surface md:text-[32px] text-3xl leading-10 mb-2",children:s==null?void 0:s.title}),a.jsx("h4",{children:s==null?void 0:s.published_at.slice(0,10).split("-").reverse().join(".")})]}),a.jsx("div",{className:"w-full h-[300px] md:h-[480px]",children:a.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"})}),a.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"})]}),a.jsx("hr",{className:"mt-10 md:mb-20 mb-[60px]"}),a.jsxs("section",{children:[a.jsx("h2",{className:"h2 mb-6",children:e==="ru"?"Читайте также:":"Read more:"}),a.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:r==null?void 0:r.filter(l=>l.id!==t).slice(0,3).map(l=>y.createElement(dt,{...l,key:l.title}))})]})]})}function qa(){H();const i=F(s=>s.lang),{data:e,isPending:t}=ut(i);return t?a.jsx(de,{}):a.jsxs(se,{className:"page-padding",children:[a.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-10",children:i==="ru"?"Новости":"News"}),a.jsx("div",{className:"grid md:grid-cols-3 grid-cols-1 gap-6",children:e==null?void 0:e.map(s=>y.createElement(dt,{...s,key:s.title}))})]})}const Ja=()=>{const i=F(s=>s.lang),{data:e,isPending:t}=ct({queryKey:["participants",i],queryFn:()=>cs(i),select:({data:s})=>s.data});return{data:e,isPending:t}},Qa=({className:i})=>{var u,p,f,d,h;H();const e=F(m=>m.lang),{data:t,isPending:s}=Ja(),n={company:e==="ru"?"Название компании":"Company name",country:e==="ru"?"Страна":"Country",industry:e==="ru"?"Сфера деятельности":"Industry"},[r,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=>r===1?m.id===3:r===2?m.id===1:m.id===2);return console.log(r),a.jsx(se,{children:a.jsxs("section",{className:ie("page-padding overflow-x-hidden",i),children:[a.jsx("h1",{className:"text-center md:text-5xl text-3xl mb-4",children:e==="ru"?"Список участников":"List of participants"}),a.jsx(lt,{state:r,setState:o,className:"mb-6 md:w-fit"}),a.jsxs("div",{className:"p-2 sm:p-0 bg-surface_container overflow-hidden",children:[a.jsxs("div",{className:"sm:flex items-center hidden h-[52px] border-b border-outline_v",children:[a.jsx("h3",{className:"flex-[0_0_45.54%] pl-4",children:n==null?void 0:n.company}),a.jsx("h3",{className:"flex-[0_0_19.80%]",children:n==null?void 0:n.country}),a.jsx("h3",{className:"flex-[0_0_34.65%]",children:n==null?void 0:n.industry})]}),s?a.jsx(de,{}):r===0?l==null?void 0:l.map((m,g,x)=>a.jsx(ze,{...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)=>a.jsx(ze,{...m,arr:x==null?void 0:x.length,index:g,image:m.image??{path:""},image_country:m.image_country??{path:""}}))]})]})})},Wa=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()}),Ya={space_package:"space",company_name:"",rep_name:"",job_title:"",participants_number:1,country:"",email:"",phone:"",website:"",visa_support:""};function Xa(){const i=F(l=>l.lang),[e,t]=y.useState(!1),s=Ce({resolver:Re(Wa),defaultValues:Ya}),n=async l=>{await us(l)&&t(!0)};y.useEffect(()=>{window.scrollTo({behavior:"smooth",top:0})},[]);const{errors:r}=s.formState,o=j(i);return a.jsxs("div",{children:[a.jsx(ge,{title:C[j(i)].cover}),a.jsx(re,{children:!e&&a.jsx(Oe,{...s,children:a.jsxs(he.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:[a.jsx(je,{control:s.control,name:"space_package",render:({field:l})=>a.jsxs(D,{className:"space-y-5",children:[a.jsx(B,{className:"text-xl",children:C[o].h2}),a.jsx(V,{children:a.jsxs(me,{onValueChange:l.onChange,defaultValue:l.value,className:"flex flex-col space-y-4 ml-3",children:[a.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[a.jsx(V,{children:a.jsx(W,{value:"space",checked:l.value==="space"})}),a.jsx(B,{className:"text-base",children:C[o].radio})]}),a.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[a.jsx(V,{children:a.jsx(W,{value:"package",checked:l.value==="package"})}),a.jsx(B,{className:"text-base",children:C[o].radio_2})]})]})})]})}),a.jsx(S,{label:C[o].label_1,name:"company_name",control:s.control,error:r.company_name}),a.jsx(S,{label:C[o].label_2,name:"rep_name",control:s.control,error:r.rep_name}),a.jsx(S,{label:C[o].label_3,name:"job_title",control:s.control,error:r.job_title}),a.jsx(S,{label:C[o].number_of_participants,type:"number",name:"participants_number",control:s.control,error:r.participants_number}),a.jsx(S,{label:C[o].label_4,name:"country",control:s.control,error:r.country}),a.jsx(S,{label:C[o].label_5,name:"email",control:s.control,error:r.email}),a.jsx(S,{label:C[o].label_6,name:"phone",control:s.control,error:r.phone}),a.jsx(S,{label:C[o].label_7,name:"website",control:s.control}),a.jsx(je,{control:s.control,name:"visa_support",render:({field:l})=>a.jsxs(D,{className:"space-y-5",children:[a.jsx(B,{className:"text-xl",children:C[o].visa}),a.jsx(V,{children:a.jsxs(me,{onValueChange:l.onChange,defaultValue:l.value,className:"flex flex-col space-y-4 ml-3",children:[a.jsxs(D,{className:"flex items-center space-x-5 space-y-0",children:[a.jsx(V,{children:a.jsx(W,{value:"yes",checked:l.value==="yes"})}),a.jsx(B,{className:"text-base",children:C[o].visa_radio})]}),a.jsxs(D,{className:"flex items-center space-x-5 space-y-0 ",children:[a.jsx(V,{children:a.jsx(W,{value:"no",checked:l.value==="no"})}),a.jsx(B,{className:"text-base",children:C[o].visa_radio_2})]})]})})]})}),a.jsx(q,{disabled:s.formState.isSubmitting,className:"mt-5",children:s.formState.isSubmitting?a.jsx(Ae,{className:"animate-spin"}):C[o].button})]})})}),e&&a.jsx(De,{delay:.3})]})}function Za(){H();const[i]=ds({align:"center"});return a.jsxs("div",{className:"overflow-x-hidden",children:[a.jsxs("section",{className:"",children:[a.jsx("img",{src:"/impressions-cover.png",alt:"",className:"w-full object-contain max-h-[610px]"}),a.jsx("h1",{className:"absolute opacity-0 top-0 left-0",children:"Показы"}),a.jsx("div",{className:"bg-[url('/impressions-bg.png')] py-[200px] ",children:a.jsxs(se,{className:"grid grid-cols-2 gap-6 h-[570px]",children:[a.jsxs("div",{className:"flex flex-col gap-6 justify-center",children:[a.jsx("h2",{className:"text-5xl leading-[120%]",children:'Дефиле туркменской моды на выставке "ТуркменТекстиль"'}),a.jsx("p",{className:"text-on_surface_v normal text-base",children:'В рамках международной выставки "Туркмен текстиль" состоятся эксклюзивные показы коллекций ведущих туркменских дизайнеров и Домов моды. Гости мероприятия смогут оценить высокое мастерство исполнения, богатство национальных традиций в современном прочтении и актуальные тенденции текстильной индустрии Туркменистана, воплощенные в уникальных моделях одежды и аксессуаров.'})]}),a.jsxs("div",{className:"relative",children:[a.jsx("img",{src:"/impressions/gallery-1.png",alt:"impression image",className:"absolute top-0 right-0 z-10 shadow-xl drop-shadow-sm"}),a.jsx("img",{src:"/impressions/gallery-2.png",className:"absolute left-0 top-1/4 shadow-xl drop-shadow-sm"}),a.jsx("img",{src:"/impressions/gallery-3.png",alt:"",className:"absolute bottom-0 right-0 z-10 shadow-xl drop-shadow-sm"})]})]})})]}),a.jsx("section",{className:"py-[200px]",children:a.jsxs(se,{className:"flex flex-col gap-10",children:[a.jsx("h2",{className:"text-5xl",children:"Дизайнеры одежды"}),a.jsx("div",{ref:i,className:"embla",children:a.jsx("div",{className:"flex embla__container",children:[...Array(9)].map((e,t)=>a.jsx(ps,{name:"Batyr",info:"test tesat tesxt test",imgUrl:"/impressions/designer.png",className:"embla__slide flex-[0_0_714px] mr-4"},t))})})]})}),a.jsx("section",{className:"bg-[url('/CTA.png')] py-20 ",children:a.jsxs("div",{className:"flex flex-col gap-6 text-center max-w-[808px] mx-auto",children:[a.jsx("h3",{className:"text-white text-3xl",children:"Тренды туркменского текстиля 2025/2026"}),a.jsx("p",{className:"text-lg text-primary_03 normal",children:"Скачайте наш эксклюзивный гид и первыми узнайте о новейших тенденциях, инновационных материалах и вдохновляющих коллекциях, которые определят будущее туркменской текстильной индустрии"}),a.jsx(q,{className:"bg-reverse_primary w-fit mx-auto hover:bg-reverse_primary/90 text-on_secondary_container",size:"sm",children:"Скачать гид"})]})})]})}const er=bs([{element:a.jsx(ta,{}),path:"/",children:[{element:a.jsx(sa,{}),path:""},{element:a.jsx(Ia,{}),path:"about"},{element:a.jsx(Fa,{}),path:"B2B-B2G"},{element:a.jsx(Da,{}),path:"become-sponsor"},{element:a.jsx(Xa,{}),path:"stend-form"},{element:a.jsx(Ka,{}),path:"contacts"},{element:a.jsx(qa,{}),path:"news"},{element:a.jsx(za,{}),path:"news/:id"},{element:a.jsx(Qa,{}),path:"participants"},{element:a.jsx(Ua,{}),path:"media"},{element:a.jsx(Za,{}),path:"impressions"}]}]),tr=new ms;js.createRoot(document.getElementById("root")).render(a.jsx(y.StrictMode,{children:a.jsx(fs,{client:tr,children:a.jsx(ys,{router:er})})})); diff --git a/dist/assets/index-CU-a5ZfT.css b/dist/assets/index-CU-a5ZfT.css deleted file mode 100644 index 2708851..0000000 --- a/dist/assets/index-CU-a5ZfT.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}.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}.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-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-\[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-3{grid-template-columns:repeat(3,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-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-teritary_container{--tw-bg-opacity: 1;background-color:rgb(255 221 186 / 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-\[\#F38835\]{--tw-gradient-from: #F38835 var(--tw-gradient-from-position);--tw-gradient-to: rgb(243 136 53 / 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-\[\#F1700D\]{--tw-gradient-to: #F1700D 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-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}.uppercase{text-transform:uppercase}.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-on_teritary_container{--tw-text-opacity: 1 !important;color:rgb(43 23 0 / 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-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:32px;--tw-text-opacity: 1;color:rgb(23 23 23 / var(--tw-text-opacity, 1))}@media (min-width: 768px){.h2{font-size:28px}}.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\:flex{display:flex}.sm\:size-\[128px\]{width:128px;height:128px}.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\: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}}@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\: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\: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}}@media (min-width: 1536px){.\32xl\:w-\[40\%\]{width:40%}}.\[\&_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-BNqDocH_.js b/dist/assets/ui-library-glZiLwL9.js similarity index 98% rename from dist/assets/ui-library-BNqDocH_.js rename to dist/assets/ui-library-glZiLwL9.js index 0f3b902..d616b38 100644 --- a/dist/assets/ui-library-BNqDocH_.js +++ b/dist/assets/ui-library-glZiLwL9.js @@ -143,7 +143,7 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do `)}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 bs(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=bs({},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 hs{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=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&&(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 hs(e),n=oy(hs.prototype.request,t);return k.extend(n,hs.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Ry(bs(e,r))},n}const Ve=Ry(Ai);Ve.Axios=hs;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=bs;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 py-2 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 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 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 Oy(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 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=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))&&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=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=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: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=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: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: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);Gn.set(tv),pu&&(ki.loop(Wt.direction()),Qy.loop()),Kn.to(Gn.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 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(()=>{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=Zn.globalOptions;const l=ko(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"}],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]=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: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(){}},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 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 ns,An,Us,sh,b1=(sh=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,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(!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,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??(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,ih,Uy=(ih=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,ih),Ws,Hs,_t,rs,Ke,pi,is,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,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=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,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,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,is,!0),s.signal)})},i=()=>{const d=Ly(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,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,rs=new WeakMap,Ke=new WeakMap,pi=new WeakMap,is=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,os,Kt,Cn,ch,A1=(ch=class extends Uy{constructor(t){super();ne(this,Kt);ne(this,Zt);ne(this,et);ne(this,os);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,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,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,os).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,os).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,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,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,as,Qs,jn,Gt,yi,Xs,Ys,cs,ls,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,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),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,as,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,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&&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,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,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,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,tt).isStale||!Pc(t))return;const s=My(C(this,tt).dataUpdatedAt,t)+1;K(this,cs,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),!(Ss||jt(this.options.enabled,C(this,pe))===!1||!Pc(C(this,On))||C(this,On)===0)&&K(this,ls,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,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,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&&!Ss&&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]=Zn({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 h-14 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-[#F38835] to-[#F1700D] text-transparent bg-clip-text text-5xl 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-[#F38835] to-[#F1700D] text-transparent bg-clip-text text-5xl leading-none transition-all duration-300 ${n!==e?"opacity-100":"opacity-0"}`,children:e})]}),h.jsx("div",{className:"label normal uppercase text-xl",children:t})]}),pt=e=>e===Et.RU?0:1,Uc=[{title:"Тематические направления выставки",bottom_text:` +`+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&&(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 hs(e),n=oy(hs.prototype.request,t);return k.extend(n,hs.prototype,t,{allOwnKeys:!0}),k.extend(n,t,null,{allOwnKeys:!0}),n.create=function(r){return Ry(bs(e,r))},n}const Ve=Ry(Ai);Ve.Axios=hs;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=bs;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 py-2 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 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 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 Oy(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 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=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))&&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=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=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: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=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: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: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);Gn.set(tv),pu&&(ki.loop(Wt.direction()),Qy.loop()),Kn.to(Gn.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 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(()=>{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=Zn.globalOptions;const l=ko(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"}],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]=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: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(){}},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 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 ns,An,Us,sh,b1=(sh=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,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(!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,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??(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,ih,Uy=(ih=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,ih),Ws,Hs,_t,rs,Ke,pi,is,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,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=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,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,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,is,!0),s.signal)})},i=()=>{const d=Ly(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,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,rs=new WeakMap,Ke=new WeakMap,pi=new WeakMap,is=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,os,Kt,Cn,ch,A1=(ch=class extends Uy{constructor(t){super();ne(this,Kt);ne(this,Zt);ne(this,et);ne(this,os);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,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,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,os).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,os).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,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,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,as,Qs,jn,Gt,yi,Xs,Ys,cs,ls,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,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),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,as,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,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&&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,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,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,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,tt).isStale||!Pc(t))return;const s=My(C(this,tt).dataUpdatedAt,t)+1;K(this,cs,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),!(Ss||jt(this.options.enabled,C(this,pe))===!1||!Pc(C(this,On))||C(this,On)===0)&&K(this,ls,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,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,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&&!Ss&&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]=Zn({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-10 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-[#F38835] to-[#F1700D] text-transparent bg-clip-text sm:text-5xl text-3xl 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-[#F38835] to-[#F1700D] text-transparent bg-clip-text sm:text-5xl text-3xl leading-none transition-all duration-300 ${n!==e?"opacity-100":"opacity-0"}`,children:e})]}),h.jsx("div",{className:"label normal uppercase sm:text-xl text-base",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}=_s("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[e]=Zn(),{t}=_s("home"),n=uo("(min-width: 1024px)"),s=uo("(min-width: 768px)");function r(){return t(n?"banners.lg":s?"banners.md":"banners.sm")}return h.jsxs("div",{children:[h.jsx("section",{className:"flex flex-col gap-5",children:h.jsx("div",{ref:e,className:"embla",children:h.jsx("div",{className:"embla__container",children:h.jsx("div",{className:"embla__slide",children:h.jsx("img",{src:r(),alt:"",className:"size-full object-cover lg:max-h-[600px] lg:min-h-[320px]"})})})})}),h.jsx(ik,{})]})},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 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:`Международная выставка-ярмарка, которая объединит мировых лидеров отрасли, инновационных производителей и творческих дизайнеров. Наша миссия – укрепить позиции Туркменистана как ключевого центра текстильной и модной индустрии. @@ -151,4 +151,4 @@ For more information, see https://radix-ui.com/primitives/docs/components/${t.do `,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]=Zn(),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",{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]=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 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]=Zn({loop:!0,align:"start",skipSnaps:!0,duration:75},[fu({stopOnInteraction:!1,delay:3e3})]),{data:n,isPending:s}=nk(),{t:r}=_s("home",{keyPrefix:"sponsors"});return s?h.jsx(qn,{}):h.jsx("section",{className:H("py-20",e),children:h.jsxs(He,{className:"flex flex-col gap-6",children:[h.jsx("h2",{className:"text-3xl",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}=_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 g=new Date().getTime(),m=o-g;return m<=0?null:{days:Math.floor(m/(1e3*60*60*24)),hours:Math.floor(m%(1e3*60*60*24)/(1e3*60*60)),minutes:Math.floor(m%(1e3*60*60)/(1e3*60)),seconds:Math.floor(m%(1e3*60)/1e3)}};x.useEffect(()=>{const g=a();g&&s({days:g.days.toString(),hours:g.hours.toString().padStart(2,"0"),minutes:g.minutes.toString().padStart(2,"0"),seconds:g.seconds.toString().padStart(2,"0")});const m=setInterval(()=>{const p=a();if(!p){clearInterval(m);return}i({days:n.days,hours:n.hours,minutes:n.minutes,seconds:n.seconds}),s({days:p.days.toString(),hours:p.hours.toString().padStart(2,"0"),minutes:p.minutes.toString().padStart(2,"0"),seconds:p.seconds.toString().padStart(2,"0")})},1e3);return()=>clearInterval(m)},[o]);const{title:c,days:l,hours:u,minutes:d,seconds:f}=t("timer",{returnObjects:!0});return h.jsxs("section",{className:H("container py-10",e),children:[h.jsx("h2",{className:"h2 text-center mb-10",children:c}),h.jsxs("div",{className:"grid grid-cols-4 gap-6 place-items-center",children:[h.jsx(Wi,{value:n.days,prevValue:r.days||n.days,label:l}),h.jsx(Wi,{value:n.hours,prevValue:r.hours||n.hours,label:u}),h.jsx(Wi,{value:n.minutes,prevValue:r.minutes||n.minutes,label:d}),h.jsx(Wi,{value:n.seconds,prevValue:r.seconds||n.seconds,label:f})]})]})},Hk=({className:e})=>{const{t}=_s("home"),{title:n,items:s}=t("buttons",{returnObjects:!0});return console.log(s),h.jsx("section",{className:H("bg-teritary_container py-10",e),children:h.jsxs(He,{children:[h.jsx("h2",{className:"h2 text-center mb-10 !text-on_teritary_container",children:n}),h.jsx("div",{className:"grid grid-cols-3 gap-6",children:s.map((r,i)=>r.dropdown?h.jsx(Ce,{target:r.blank?"_blank":"",to:r.link??"",className:"w-full",children:h.jsx(Ro,{dropDownContent:r.items,triggerClassName:"w-full",className:"!w-full",children:h.jsxs(rt,{size:"lg",variant:"teritary",className:"w-full drop-shadow-sm shadow-md text-xl bg-teritary text-on_teritary hover:bg-teritary/90",children:[r.text,h.jsx(Ny,{w:"40",h:"40",color:"white"})]})})},i):h.jsx(Ce,{to:r.link??"",target:r.blank?"_blank":"",children:h.jsx(rt,{variant:"teritary",size:"lg",className:"w-full drop-shadow-sm shadow-md text-xl bg-teritary text-on_teritary hover:bg-teritary/90",children:r.text})},i))})]})})},ok=()=>{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(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",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}=_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(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,_s 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,Zn 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}},Bk=()=>{var c,l;const[e]=Zn(),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",{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]=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 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]=Zn({loop:!0,align:"start",skipSnaps:!0,duration:75},[fu({stopOnInteraction:!1,delay:3e3})]),{data:n,isPending:s}=nk(),{t:r}=_s("home",{keyPrefix:"sponsors"});return s?h.jsx(qn,{}):h.jsx("section",{className:H("py-20",e),children:h.jsxs(He,{className:"flex flex-col gap-6",children:[h.jsx("h2",{className:"text-3xl",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}=_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 g=new Date().getTime(),m=o-g;return m<=0?null:{days:Math.floor(m/(1e3*60*60*24)),hours:Math.floor(m%(1e3*60*60*24)/(1e3*60*60)),minutes:Math.floor(m%(1e3*60*60)/(1e3*60)),seconds:Math.floor(m%(1e3*60)/1e3)}};x.useEffect(()=>{const g=a();g&&s({days:g.days.toString(),hours:g.hours.toString().padStart(2,"0"),minutes:g.minutes.toString().padStart(2,"0"),seconds:g.seconds.toString().padStart(2,"0")});const m=setInterval(()=>{const p=a();if(!p){clearInterval(m);return}i({days:n.days,hours:n.hours,minutes:n.minutes,seconds:n.seconds}),s({days:p.days.toString(),hours:p.hours.toString().padStart(2,"0"),minutes:p.minutes.toString().padStart(2,"0"),seconds:p.seconds.toString().padStart(2,"0")})},1e3);return()=>clearInterval(m)},[o]);const{title:c,days:l,hours:u,minutes:d,seconds:f}=t("timer",{returnObjects:!0});return h.jsxs("section",{className:H("container py-10",e),children:[h.jsx("h2",{className:"h2 text-center mb-10",children:c}),h.jsxs("div",{className:"grid grid-cols-4 gap-6 place-items-center",children:[h.jsx(Wi,{value:n.days,prevValue:r.days||n.days,label:l}),h.jsx(Wi,{value:n.hours,prevValue:r.hours||n.hours,label:u}),h.jsx(Wi,{value:n.minutes,prevValue:r.minutes||n.minutes,label:d}),h.jsx(Wi,{value:n.seconds,prevValue:r.seconds||n.seconds,label:f})]})]})},Hk=({className:e})=>{const{t}=_s("home"),{title:n,items:s}=t("buttons",{returnObjects:!0});return console.log(s),h.jsx("section",{className:H("bg-teritary_container py-10",e),children:h.jsxs(He,{children:[h.jsx("h2",{className:"h2 text-center mb-10 !text-on_teritary_container",children:n}),h.jsx("div",{className:"grid md:grid-cols-3 sm:grid-cols-2 grid-cols-1 gap-6",children:s.map((r,i)=>r.dropdown?h.jsx(Ce,{target:r.blank?"_blank":"",to:r.link??"",className:"w-full",children:h.jsx(Ro,{dropDownContent:r.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:[r.text,h.jsx(Ny,{w:"40",h:"40",color:"white"})]})})},i):h.jsx(Ce,{to:r.link??"",target:r.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:r.text})},i))})]})})},ok=()=>{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(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",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}=_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(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,_s 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,Zn 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}; diff --git a/dist/index.html b/dist/index.html index 680e42a..35ae0db 100644 --- a/dist/index.html +++ b/dist/index.html @@ -66,10 +66,10 @@ })(window, document, "script", "dataLayer", "GTM-NK394LVK"); Turkmen Textile - + - - + +