From 446700309713d6edcc834afb2e96ff2af4ff5db0 Mon Sep 17 00:00:00 2001 From: Sokilskill <126295444+Sokilskill@users.noreply.github.com> Date: Mon, 10 Jun 2024 17:55:37 +0000 Subject: [PATCH] =?UTF-8?q?Deploying=20to=20gh-pages=20from=20@=20Sokilski?= =?UTF-8?q?ll/animal-shelter@a97872e8b2a9fdcd547c283ef81c744e6a54d2ab=20?= =?UTF-8?q?=F0=9F=9A=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/{Footer-3kabweT8.js => Footer-Bi7fjyUQ.js} | 2 +- assets/{LandingPage-B77_cH7x.js => LandingPage-DlUn22BL.js} | 6 +++--- .../{SectionAbout--d1GUDf_.js => SectionAbout-nHSfTvAa.js} | 2 +- ...{SectionChoose-DL4Knl5a.js => SectionChoose-EY5kb9gg.js} | 2 +- ...tionContacts-CBM7O2tV.js => SectionContacts-C3DeEPPS.js} | 2 +- assets/{SectionHelp-Cp9FxmaY.js => SectionHelp-I-QdLtPy.js} | 2 +- ...tionLocation-uImdsoKa.js => SectionLocation-BqBNdELa.js} | 2 +- .../{SectionTerms-BeNHlgQP.js => SectionTerms-CGFhImGe.js} | 2 +- assets/{index-DGkqr4dg.js => index-Rndj8vN-.js} | 2 +- index.html | 2 +- 10 files changed, 12 insertions(+), 12 deletions(-) rename assets/{Footer-3kabweT8.js => Footer-Bi7fjyUQ.js} (97%) rename assets/{LandingPage-B77_cH7x.js => LandingPage-DlUn22BL.js} (98%) rename assets/{SectionAbout--d1GUDf_.js => SectionAbout-nHSfTvAa.js} (94%) rename assets/{SectionChoose-DL4Knl5a.js => SectionChoose-EY5kb9gg.js} (99%) rename assets/{SectionContacts-CBM7O2tV.js => SectionContacts-C3DeEPPS.js} (94%) rename assets/{SectionHelp-Cp9FxmaY.js => SectionHelp-I-QdLtPy.js} (92%) rename assets/{SectionLocation-uImdsoKa.js => SectionLocation-BqBNdELa.js} (87%) rename assets/{SectionTerms-BeNHlgQP.js => SectionTerms-CGFhImGe.js} (90%) rename assets/{index-DGkqr4dg.js => index-Rndj8vN-.js} (99%) diff --git a/assets/Footer-3kabweT8.js b/assets/Footer-Bi7fjyUQ.js similarity index 97% rename from assets/Footer-3kabweT8.js rename to assets/Footer-Bi7fjyUQ.js index 018b8f2..b7d6be2 100644 --- a/assets/Footer-3kabweT8.js +++ b/assets/Footer-Bi7fjyUQ.js @@ -1 +1 @@ -import{f as g,j as e,I as x,B as m}from"./index-DGkqr4dg.js";import{S as w,L as u,a as i,b as n,V as I,T as t,F as r,u as k,c as o,N as a,l as c,d,e as p}from"./LandingPage-B77_cH7x.js";var b=g((s,l)=>e.jsx(w,{align:"center",...s,direction:"row",ref:l}));b.displayName="HStack";const S=s=>e.jsxs(x,{viewBox:"0 0 33 32",...s,children:[e.jsx("path",{d:"M32.5 16C32.5 24.8366 25.3366 32 16.5 32C7.66345 32 0.5 24.8366 0.5 16C0.5 7.16345 7.66345 0 16.5 0C25.3366 0 32.5 7.16345 32.5 16Z",fill:"#202053"}),e.jsx("path",{d:"M13.94 20.8V31.68C13.94 31.8567 14.0833 32 14.26 32H18.74C18.9167 32 19.06 31.8567 19.06 31.68V20.8C19.06 20.6233 19.2033 20.48 19.38 20.48H22.58C22.7567 20.48 22.9 20.3367 22.9 20.16V16.32C22.9 16.1433 22.7567 16 22.58 16H19.38C19.2033 16 19.06 15.8569 19.06 15.6802V12.8C19.06 11.52 20.66 10.88 21.3 10.88H23.22C23.3967 10.88 23.54 10.7367 23.54 10.56V6.72C23.54 6.54327 23.3968 6.4 23.22 6.4H19.06C15.988 6.4 13.94 9.6 13.94 11.52V15.68C13.94 15.8567 13.7967 16 13.62 16H10.42C10.2433 16 10.1 16.1433 10.1 16.32V20.16C10.1 20.3367 10.2433 20.48 10.42 20.48H13.62C13.7967 20.48 13.94 20.6233 13.94 20.8Z",fill:"white"})]}),H=s=>e.jsxs(x,{viewBox:"0 0 33 32",...s,children:[e.jsx("rect",{width:"32",height:"32",rx:"5",fill:"#202053"}),e.jsx("circle",{cx:"26.5",cy:"6.5",r:"2.5",fill:"white"}),e.jsx("path",{fill:"currentColor",d:"M16.0003 23.0832C19.9123 23.0832 23.0837 19.9119 23.0837 15.9998C23.0837 12.0878 19.9123 8.9165 16.0003 8.9165C12.0883 8.9165 8.91699 12.0878 8.91699 15.9998C8.91699 19.9119 12.0883 23.0832 16.0003 23.0832Z",stroke:"white",strokeWidth:"3.5"})]}),v=s=>e.jsxs(x,{viewBox:"0 0 33 32",...s,children:[e.jsx("path",{d:"M16.5 32C25.3366 32 32.5 24.8366 32.5 16C32.5 7.16344 25.3366 0 16.5 0C7.66344 0 0.5 7.16344 0.5 16C0.5 24.8366 7.66344 32 16.5 32Z",fill:"#202053"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.74252 15.8311C12.4068 13.7989 15.5171 12.4592 17.0734 11.8119C21.5167 9.96376 22.44 9.64271 23.0418 9.63211C23.1742 9.62978 23.4701 9.66258 23.6618 9.81813C23.8237 9.94948 23.8682 10.1269 23.8895 10.2514C23.9109 10.376 23.9374 10.6596 23.9163 10.8813C23.6755 13.4113 22.6336 19.5509 22.1036 22.3845C21.8793 23.5835 21.4377 23.9855 21.0101 24.0248C20.081 24.1103 19.3754 23.4108 18.4755 22.8209C17.0673 21.8978 16.2717 21.3232 14.9048 20.4224C13.3251 19.3814 14.3492 18.8092 15.2494 17.8742C15.485 17.6295 19.5789 13.9058 19.6581 13.568C19.668 13.5258 19.6772 13.3683 19.5837 13.2851C19.4901 13.202 19.3521 13.2304 19.2524 13.253C19.1112 13.2851 16.8615 14.772 12.5035 17.7138C11.865 18.1523 11.2866 18.3659 10.7684 18.3547C10.1971 18.3424 9.09818 18.0317 8.28125 17.7661C7.27925 17.4404 6.48288 17.2682 6.55222 16.7151C6.58834 16.427 6.98511 16.1323 7.74252 15.8311Z",fill:"white"})]}),y=()=>e.jsxs(u,{display:"flex",justifyContent:"space-between",w:"100%",children:[e.jsx(i,{children:e.jsx(n,{href:"https://www.facebook.com/?locale=uk_UA",children:e.jsx(S,{boxSize:8})})}),e.jsx(i,{children:e.jsx(n,{href:"https://www.instagram.com",children:e.jsx(H,{boxSize:8})})}),e.jsx(i,{children:e.jsx(n,{href:"https://www.telegram.com",children:e.jsx(v,{boxSize:8})})})]}),j=({children:s})=>e.jsxs(I,{gap:{base:4,md:8},w:{base:"212px",md:"221px",lg:"212px"},mr:{lg:"132px"},children:[s,e.jsx(t,{fontSize:{base:"18px"},fontWeight:{base:400,md:500,lg:400},children:"Приєднутесь до нас в соціальних мережах"}),e.jsx(y,{})]}),h=({children:s})=>e.jsx(b,{fontSize:{base:"16px",lg:"20px"},columnGap:{base:"2px",lg:"16px"},rowGap:{base:"36px",lg:4},justifyContent:{base:"space-between"},flexWrap:{base:"wrap",lg:"nowrap"},alignItems:"flex-start",fontWeight:{md:500,lg:400},children:s}),V=()=>e.jsxs(e.Fragment,{children:[e.jsx(t,{children:"Допомогти матеріально:"}),e.jsx(t,{children:"ГО “ХАТИНА”"}),e.jsxs(t,{"text-wrap":"nowrap",children:["ЄДРПОУ:",e.jsx(m,{as:"strong",fontWeight:{sm:500,md:600},children:"123456789"})]}),e.jsx(t,{"text-wrap":"nowrap",children:"Карта Приватбанку"}),e.jsx(t,{fontWeight:{sm:600},children:"4141 2929 4646 1111"}),e.jsx(t,{children:"Прокопів Петро Павлович"})]}),C=()=>e.jsx(r,{direction:"column",alignItems:"flex-start",width:{base:"164px",md:"230px",lg:"325px"},"aria-label":"Help us",fontSize:{base:"16px",lg:"20px"},gap:2,children:e.jsx(V,{})}),W=()=>{const s=k(),l=()=>e.jsxs(r,{direction:{base:"column",lg:"row"},alignItems:{base:"center"},justify:{md:"space-between",lg:"center"},gap:{base:"36px",md:"unset"},mb:"44px",children:[e.jsx(j,{children:e.jsx(o,{})}),e.jsxs(h,{children:[e.jsx(a,{listItem:c,"aria-label":"Goodness"}),e.jsx(a,{listItem:d,"aria-label":"About us"}),e.jsx(a,{listItem:p,"aria-label":"Contact details"}),e.jsx(C,{})]})]}),f=()=>e.jsxs(e.Fragment,{children:[e.jsxs(r,{flexDirection:{md:"row"},justifyContent:"space-between",mb:"44px",children:[e.jsx(o,{style:{mr:"unset"}}),e.jsx(j,{}),e.jsx(C,{})]}),e.jsxs(h,{children:[e.jsx(a,{listItem:d,"aria-label":"About us"}),e.jsx(a,{listItem:c,"aria-label":"Goodness"}),e.jsx(a,{listItem:p,"aria-label":"Contact details"})]})]});return e.jsxs(m,{as:"footer",maxW:{base:"375px",md:"1240px",lg:"1440px"},mx:"auto",pt:{base:"40px",md:"48px"},pb:{base:"25px",md:"50px"},px:{base:"16px",md:"32px",lg:"40px"},children:[s==="mobile"||s==="desktop"?e.jsx(l,{}):e.jsx(f,{}),e.jsxs(t,{textAlign:"center",mt:20,children:["© 2024. Всі права захищено ",e.jsx("b",{children:"reserved@hatyna.ua"})]})]})};export{W as default}; +import{f as g,j as e,I as x,B as m}from"./index-Rndj8vN-.js";import{S as w,L as u,a as i,b as n,V as I,T as t,F as r,u as k,c as o,N as a,l as c,d,e as p}from"./LandingPage-DlUn22BL.js";var b=g((s,l)=>e.jsx(w,{align:"center",...s,direction:"row",ref:l}));b.displayName="HStack";const S=s=>e.jsxs(x,{viewBox:"0 0 33 32",...s,children:[e.jsx("path",{d:"M32.5 16C32.5 24.8366 25.3366 32 16.5 32C7.66345 32 0.5 24.8366 0.5 16C0.5 7.16345 7.66345 0 16.5 0C25.3366 0 32.5 7.16345 32.5 16Z",fill:"#202053"}),e.jsx("path",{d:"M13.94 20.8V31.68C13.94 31.8567 14.0833 32 14.26 32H18.74C18.9167 32 19.06 31.8567 19.06 31.68V20.8C19.06 20.6233 19.2033 20.48 19.38 20.48H22.58C22.7567 20.48 22.9 20.3367 22.9 20.16V16.32C22.9 16.1433 22.7567 16 22.58 16H19.38C19.2033 16 19.06 15.8569 19.06 15.6802V12.8C19.06 11.52 20.66 10.88 21.3 10.88H23.22C23.3967 10.88 23.54 10.7367 23.54 10.56V6.72C23.54 6.54327 23.3968 6.4 23.22 6.4H19.06C15.988 6.4 13.94 9.6 13.94 11.52V15.68C13.94 15.8567 13.7967 16 13.62 16H10.42C10.2433 16 10.1 16.1433 10.1 16.32V20.16C10.1 20.3367 10.2433 20.48 10.42 20.48H13.62C13.7967 20.48 13.94 20.6233 13.94 20.8Z",fill:"white"})]}),H=s=>e.jsxs(x,{viewBox:"0 0 33 32",...s,children:[e.jsx("rect",{width:"32",height:"32",rx:"5",fill:"#202053"}),e.jsx("circle",{cx:"26.5",cy:"6.5",r:"2.5",fill:"white"}),e.jsx("path",{fill:"currentColor",d:"M16.0003 23.0832C19.9123 23.0832 23.0837 19.9119 23.0837 15.9998C23.0837 12.0878 19.9123 8.9165 16.0003 8.9165C12.0883 8.9165 8.91699 12.0878 8.91699 15.9998C8.91699 19.9119 12.0883 23.0832 16.0003 23.0832Z",stroke:"white",strokeWidth:"3.5"})]}),v=s=>e.jsxs(x,{viewBox:"0 0 33 32",...s,children:[e.jsx("path",{d:"M16.5 32C25.3366 32 32.5 24.8366 32.5 16C32.5 7.16344 25.3366 0 16.5 0C7.66344 0 0.5 7.16344 0.5 16C0.5 24.8366 7.66344 32 16.5 32Z",fill:"#202053"}),e.jsx("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M7.74252 15.8311C12.4068 13.7989 15.5171 12.4592 17.0734 11.8119C21.5167 9.96376 22.44 9.64271 23.0418 9.63211C23.1742 9.62978 23.4701 9.66258 23.6618 9.81813C23.8237 9.94948 23.8682 10.1269 23.8895 10.2514C23.9109 10.376 23.9374 10.6596 23.9163 10.8813C23.6755 13.4113 22.6336 19.5509 22.1036 22.3845C21.8793 23.5835 21.4377 23.9855 21.0101 24.0248C20.081 24.1103 19.3754 23.4108 18.4755 22.8209C17.0673 21.8978 16.2717 21.3232 14.9048 20.4224C13.3251 19.3814 14.3492 18.8092 15.2494 17.8742C15.485 17.6295 19.5789 13.9058 19.6581 13.568C19.668 13.5258 19.6772 13.3683 19.5837 13.2851C19.4901 13.202 19.3521 13.2304 19.2524 13.253C19.1112 13.2851 16.8615 14.772 12.5035 17.7138C11.865 18.1523 11.2866 18.3659 10.7684 18.3547C10.1971 18.3424 9.09818 18.0317 8.28125 17.7661C7.27925 17.4404 6.48288 17.2682 6.55222 16.7151C6.58834 16.427 6.98511 16.1323 7.74252 15.8311Z",fill:"white"})]}),y=()=>e.jsxs(u,{display:"flex",justifyContent:"space-between",w:"100%",children:[e.jsx(i,{children:e.jsx(n,{href:"https://www.facebook.com/?locale=uk_UA",children:e.jsx(S,{boxSize:8})})}),e.jsx(i,{children:e.jsx(n,{href:"https://www.instagram.com",children:e.jsx(H,{boxSize:8})})}),e.jsx(i,{children:e.jsx(n,{href:"https://www.telegram.com",children:e.jsx(v,{boxSize:8})})})]}),j=({children:s})=>e.jsxs(I,{gap:{base:4,md:8},w:{base:"212px",md:"221px",lg:"212px"},mr:{lg:"132px"},children:[s,e.jsx(t,{fontSize:{base:"18px"},fontWeight:{base:400,md:500,lg:400},children:"Приєднутесь до нас в соціальних мережах"}),e.jsx(y,{})]}),h=({children:s})=>e.jsx(b,{fontSize:{base:"16px",lg:"20px"},columnGap:{base:"2px",lg:"16px"},rowGap:{base:"36px",lg:4},justifyContent:{base:"space-between"},flexWrap:{base:"wrap",lg:"nowrap"},alignItems:"flex-start",fontWeight:{md:500,lg:400},children:s}),V=()=>e.jsxs(e.Fragment,{children:[e.jsx(t,{children:"Допомогти матеріально:"}),e.jsx(t,{children:"ГО “ХАТИНА”"}),e.jsxs(t,{"text-wrap":"nowrap",children:["ЄДРПОУ:",e.jsx(m,{as:"strong",fontWeight:{sm:500,md:600},children:"123456789"})]}),e.jsx(t,{"text-wrap":"nowrap",children:"Карта Приватбанку"}),e.jsx(t,{fontWeight:{sm:600},children:"4141 2929 4646 1111"}),e.jsx(t,{children:"Прокопів Петро Павлович"})]}),C=()=>e.jsx(r,{direction:"column",alignItems:"flex-start",width:{base:"164px",md:"230px",lg:"325px"},"aria-label":"Help us",fontSize:{base:"16px",lg:"20px"},gap:2,children:e.jsx(V,{})}),W=()=>{const s=k(),l=()=>e.jsxs(r,{direction:{base:"column",lg:"row"},alignItems:{base:"center"},justify:{md:"space-between",lg:"center"},gap:{base:"36px",md:"unset"},mb:"44px",children:[e.jsx(j,{children:e.jsx(o,{})}),e.jsxs(h,{children:[e.jsx(a,{listItem:c,"aria-label":"Goodness"}),e.jsx(a,{listItem:d,"aria-label":"About us"}),e.jsx(a,{listItem:p,"aria-label":"Contact details"}),e.jsx(C,{})]})]}),f=()=>e.jsxs(e.Fragment,{children:[e.jsxs(r,{flexDirection:{md:"row"},justifyContent:"space-between",mb:"44px",children:[e.jsx(o,{style:{mr:"unset"}}),e.jsx(j,{}),e.jsx(C,{})]}),e.jsxs(h,{children:[e.jsx(a,{listItem:d,"aria-label":"About us"}),e.jsx(a,{listItem:c,"aria-label":"Goodness"}),e.jsx(a,{listItem:p,"aria-label":"Contact details"})]})]});return e.jsxs(m,{as:"footer",maxW:{base:"375px",md:"1240px",lg:"1440px"},mx:"auto",pt:{base:"40px",md:"48px"},pb:{base:"25px",md:"50px"},px:{base:"16px",md:"32px",lg:"40px"},children:[s==="mobile"||s==="desktop"?e.jsx(l,{}):e.jsx(f,{}),e.jsxs(t,{textAlign:"center",mt:20,children:["© 2024. Всі права захищено ",e.jsx("b",{children:"reserved@hatyna.ua"})]})]})};export{W as default}; diff --git a/assets/LandingPage-B77_cH7x.js b/assets/LandingPage-DlUn22BL.js similarity index 98% rename from assets/LandingPage-B77_cH7x.js rename to assets/LandingPage-DlUn22BL.js index e963872..c66190f 100644 --- a/assets/LandingPage-B77_cH7x.js +++ b/assets/LandingPage-DlUn22BL.js @@ -1,10 +1,10 @@ function __vite__mapDeps(indexes) { if (!__vite__mapDeps.viteFileDeps) { - __vite__mapDeps.viteFileDeps = ["assets/SectionAbout--d1GUDf_.js","assets/index-DGkqr4dg.js","assets/index-BDveNB0k.css","assets/SectionChoose-DL4Knl5a.js","assets/SectionChoose-Du3mw4TU.css","assets/SectionTerms-BeNHlgQP.js","assets/SectionLocation-uImdsoKa.js","assets/SectionContacts-CBM7O2tV.js","assets/SectionHelp-Cp9FxmaY.js","assets/Footer-3kabweT8.js"] + __vite__mapDeps.viteFileDeps = ["assets/SectionAbout-nHSfTvAa.js","assets/index-Rndj8vN-.js","assets/index-BDveNB0k.css","assets/SectionChoose-EY5kb9gg.js","assets/SectionChoose-Du3mw4TU.css","assets/SectionTerms-CGFhImGe.js","assets/SectionLocation-BqBNdELa.js","assets/SectionContacts-C3DeEPPS.js","assets/SectionHelp-I-QdLtPy.js","assets/Footer-Bi7fjyUQ.js"] } return indexes.map((i) => __vite__mapDeps.viteFileDeps[i]) } -import{r as l,j as s,A as Je,m as et,c as P,f as I,u as lr,a as E,b as W,S as ur,d as se,o as R,e as O,g as be,h as Fe,i as Y,_ as De,R as dr,k as fr,I as tt,l as vr,P as mr,n as hr,p as pr,q as gr,s as Lt,B as je,t as H,v as br}from"./index-DGkqr4dg.js";function xr(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var yr=xr();function Sr(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function wr(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function re(...e){return t=>{e.forEach(n=>{wr(n,t)})}}function Cr(...e){return l.useMemo(()=>re(...e),e)}var Be={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},te={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function We(e){var t;switch((t=e==null?void 0:e.direction)!=null?t:"right"){case"right":return te.slideRight;case"left":return te.slideLeft;case"bottom":return te.slideDown;case"top":return te.slideUp;default:return te.slideRight}}var xt={enter:{duration:.2,ease:Be.easeOut},exit:{duration:.1,ease:Be.easeIn}},he={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.exit})},_r={enter:({transition:e,transitionEnd:t,delay:n}={})=>{var r;return{opacity:1,transition:(r=e==null?void 0:e.enter)!=null?r:he.enter(xt.enter,n),transitionEnd:t==null?void 0:t.enter}},exit:({transition:e,transitionEnd:t,delay:n}={})=>{var r;return{opacity:0,transition:(r=e==null?void 0:e.exit)!=null?r:he.exit(xt.exit,n),transitionEnd:t==null?void 0:t.exit}}},At={initial:"exit",animate:"enter",exit:"exit",variants:_r},kr=l.forwardRef(function(t,n){const{unmountOnExit:r,in:o,className:a,transition:i,transitionEnd:c,delay:v,...u}=t,m=o||r?"enter":"exit",d=r?o&&r:!0,h={transition:i,transitionEnd:c,delay:v};return s.jsx(Je,{custom:h,children:d&&s.jsx(et.div,{ref:n,className:P("chakra-fade",a),custom:h,...At,animate:m,...u})})});kr.displayName="Fade";var yt={exit:{duration:.15,ease:Be.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},Er={exit:({direction:e,transition:t,transitionEnd:n,delay:r})=>{var o;const{exit:a}=We({direction:e});return{...a,transition:(o=t==null?void 0:t.exit)!=null?o:he.exit(yt.exit,r),transitionEnd:n==null?void 0:n.exit}},enter:({direction:e,transitionEnd:t,transition:n,delay:r})=>{var o;const{enter:a}=We({direction:e});return{...a,transition:(o=n==null?void 0:n.enter)!=null?o:he.enter(yt.enter,r),transitionEnd:t==null?void 0:t.enter}}},Dt=l.forwardRef(function(t,n){const{direction:r="right",style:o,unmountOnExit:a,in:i,className:c,transition:v,transitionEnd:u,delay:m,motionProps:d,...h}=t,p=We({direction:r}),g=Object.assign({position:"fixed"},p.position,o),f=a?i&&a:!0,b=i||a?"enter":"exit",x={transitionEnd:u,transition:v,direction:r,delay:m};return s.jsx(Je,{custom:x,children:f&&s.jsx(et.div,{...h,ref:n,initial:"exit",className:P("chakra-slide",c),animate:b,exit:"exit",custom:x,variants:Er,style:g,...d})})});Dt.displayName="Slide";var He=I(function(t,n){const{htmlWidth:r,htmlHeight:o,alt:a,...i}=t;return s.jsx("img",{width:r,height:o,ref:n,alt:a,...i})});He.displayName="NativeImage";function Ir(e){const{loading:t,src:n,srcSet:r,onLoad:o,onError:a,crossOrigin:i,sizes:c,ignoreFallback:v}=e,[u,m]=l.useState("pending");l.useEffect(()=>{m(n?"loading":"pending")},[n]);const d=l.useRef(),h=l.useCallback(()=>{if(!n)return;p();const g=new Image;g.src=n,i&&(g.crossOrigin=i),r&&(g.srcset=r),c&&(g.sizes=c),t&&(g.loading=t),g.onload=f=>{p(),m("loaded"),o==null||o(f)},g.onerror=f=>{p(),m("failed"),a==null||a(f)},d.current=g},[n,i,r,c,o,a,t]),p=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return lr(()=>{if(!v)return u==="loading"&&h(),()=>{p()}},[u,h,v]),v?"loaded":u}var Fr=(e,t)=>e!=="loaded"&&t==="beforeLoadOrError"||e==="failed"&&t==="onError";function jr(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}var xe=I(function(t,n){const{fallbackSrc:r,fallback:o,src:a,srcSet:i,align:c,fit:v,loading:u,ignoreFallback:m,crossOrigin:d,fallbackStrategy:h="beforeLoadOrError",referrerPolicy:p,...g}=t,f=r!==void 0||o!==void 0,b=u!=null||m||!f,x=Ir({...t,crossOrigin:d,ignoreFallback:b}),S=Fr(x,h),y={ref:n,objectFit:v,objectPosition:c,...b?g:jr(g,["onError","onLoad"])};return S?o||s.jsx(E.img,{as:He,className:"chakra-image__placeholder",src:r,...y}):s.jsx(E.img,{as:He,src:a,srcSet:i,crossOrigin:d,loading:u,referrerPolicy:p,className:"chakra-image",...y})});xe.displayName="Image";function Bt(e){return l.Children.toArray(e).filter(t=>l.isValidElement(t))}var[Vi,Pr]=W({strict:!1,name:"ButtonGroupContext"});function Or(e){const[t,n]=l.useState(!e);return{ref:l.useCallback(a=>{a&&n(a.tagName==="BUTTON")},[]),type:t?"button":void 0}}function Ue(e){const{children:t,className:n,...r}=e,o=l.isValidElement(t)?l.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,a=P("chakra-button__icon",n);return s.jsx(E.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:a,children:o})}Ue.displayName="ButtonIcon";function $e(e){const{label:t,placement:n,spacing:r="0.5rem",children:o=s.jsx(ur,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:i,...c}=e,v=P("chakra-button__spinner",a),u=n==="start"?"marginEnd":"marginStart",m=l.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[u]:t?r:0,fontSize:"1em",lineHeight:"normal",...i}),[i,t,u,r]);return s.jsx(E.div,{className:v,...c,__css:m,children:o})}$e.displayName="ButtonSpinner";var J=I((e,t)=>{const n=Pr(),r=se("Button",{...n,...e}),{isDisabled:o=n==null?void 0:n.isDisabled,isLoading:a,isActive:i,children:c,leftIcon:v,rightIcon:u,loadingText:m,iconSpacing:d="0.5rem",type:h,spinner:p,spinnerPlacement:g="start",className:f,as:b,...x}=R(e),S=l.useMemo(()=>{const j={...r==null?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:j}}},[r,n]),{ref:y,type:k}=Or(b),w={rightIcon:u,leftIcon:v,iconSpacing:d,children:c};return s.jsxs(E.button,{ref:Cr(t,y),as:b,type:h??k,"data-active":O(i),"data-loading":O(a),__css:S,className:P("chakra-button",f),...x,disabled:o||a,children:[a&&g==="start"&&s.jsx($e,{className:"chakra-button__spinner--start",label:m,placement:"start",spacing:d,children:p}),a?m||s.jsx(E.span,{opacity:0,children:s.jsx(St,{...w})}):s.jsx(St,{...w}),a&&g==="end"&&s.jsx($e,{className:"chakra-button__spinner--end",label:m,placement:"end",spacing:d,children:p})]})});J.displayName="Button";function St(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:o}=e;return s.jsxs(s.Fragment,{children:[t&&s.jsx(Ue,{marginEnd:o,children:t}),r,n&&s.jsx(Ue,{marginStart:o,children:n})]})}var[Nr,Tr]=W({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[Mr,Wt]=W({strict:!1,name:"FormControlContext"});function Rr(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:o,isReadOnly:a,...i}=e,c=l.useId(),v=t||`field-${c}`,u=`${v}-label`,m=`${v}-feedback`,d=`${v}-helptext`,[h,p]=l.useState(!1),[g,f]=l.useState(!1),[b,x]=l.useState(!1),S=l.useCallback((C={},F=null)=>({id:d,...C,ref:re(F,_=>{_&&f(!0)})}),[d]),y=l.useCallback((C={},F=null)=>({...C,ref:F,"data-focus":O(b),"data-disabled":O(o),"data-invalid":O(r),"data-readonly":O(a),id:C.id!==void 0?C.id:u,htmlFor:C.htmlFor!==void 0?C.htmlFor:v}),[v,o,b,r,a,u]),k=l.useCallback((C={},F=null)=>({id:m,...C,ref:re(F,_=>{_&&p(!0)}),"aria-live":"polite"}),[m]),w=l.useCallback((C={},F=null)=>({...C,...i,ref:F,role:"group","data-focus":O(b),"data-disabled":O(o),"data-invalid":O(r),"data-readonly":O(a)}),[i,o,b,r,a]),j=l.useCallback((C={},F=null)=>({...C,ref:F,role:"presentation","aria-hidden":!0,children:C.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!a,isDisabled:!!o,isFocused:!!b,onFocus:()=>x(!0),onBlur:()=>x(!1),hasFeedbackText:h,setHasFeedbackText:p,hasHelpText:g,setHasHelpText:f,id:v,labelId:u,feedbackId:m,helpTextId:d,htmlProps:i,getHelpTextProps:S,getErrorMessageProps:k,getRootProps:w,getLabelProps:y,getRequiredIndicatorProps:j}}var Lr=I(function(t,n){const r=be("Form",t),o=R(t),{getRootProps:a,htmlProps:i,...c}=Rr(o),v=P("chakra-form-control",t.className);return s.jsx(Mr,{value:c,children:s.jsx(Nr,{value:r,children:s.jsx(E.div,{...a({},n),className:v,__css:r.container})})})});Lr.displayName="FormControl";var Ar=I(function(t,n){const r=Wt(),o=Tr(),a=P("chakra-form__helper-text",t.className);return s.jsx(E.div,{...r==null?void 0:r.getHelpTextProps(t,n),__css:o.helperText,className:a})});Ar.displayName="FormHelperText";function Dr(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:o,...a}=Br(e);return{...a,disabled:t,readOnly:r,required:o,"aria-invalid":Fe(n),"aria-required":Fe(o),"aria-readonly":Fe(r)}}function Br(e){var t,n,r;const o=Wt(),{id:a,disabled:i,readOnly:c,required:v,isRequired:u,isInvalid:m,isReadOnly:d,isDisabled:h,onFocus:p,onBlur:g,...f}=e,b=e["aria-describedby"]?[e["aria-describedby"]]:[];return o!=null&&o.hasFeedbackText&&(o!=null&&o.isInvalid)&&b.push(o.feedbackId),o!=null&&o.hasHelpText&&b.push(o.helpTextId),{...f,"aria-describedby":b.join(" ")||void 0,id:a??(o==null?void 0:o.id),isDisabled:(t=i??h)!=null?t:o==null?void 0:o.isDisabled,isReadOnly:(n=c??d)!=null?n:o==null?void 0:o.isReadOnly,isRequired:(r=v??u)!=null?r:o==null?void 0:o.isRequired,isInvalid:m??(o==null?void 0:o.isInvalid),onFocus:Y(o==null?void 0:o.onFocus,p),onBlur:Y(o==null?void 0:o.onBlur,g)}}function Wr(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a=0)&&(n[o]=e[o]);return n}var Ve="data-focus-lock",Ht="data-focus-lock-disabled",Hr="data-no-focus-lock",Ur="data-autofocus-inside",$r="data-no-autofocus";function Pe(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Vr(e,t){var n=l.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var zr=typeof window<"u"?l.useLayoutEffect:l.useEffect,wt=new WeakMap;function Ut(e,t){var n=Vr(t||null,function(r){return e.forEach(function(o){return Pe(o,r)})});return zr(function(){var r=wt.get(n);if(r){var o=new Set(r),a=new Set(e),i=n.current;o.forEach(function(c){a.has(c)||Pe(c,null)}),a.forEach(function(c){o.has(c)||Pe(c,i)})}wt.set(n,e)},[e]),n}var Oe={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},N=function(){return N=Object.assign||function(t){for(var n,r=1,o=arguments.length;r=0}).sort(fo)},mo=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],at=mo.join(","),ho="".concat(at,", [data-focus-guard]"),sn=function(e,t){return T((e.shadowRoot||e).children).reduce(function(n,r){return n.concat(r.matches(t?ho:at)?[r]:[],sn(r))},[])},po=function(e,t){var n;return e instanceof HTMLIFrameElement&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?ee([e.contentDocument.body],t):[e]},ee=function(e,t){return e.reduce(function(n,r){var o,a=sn(r,t),i=(o=[]).concat.apply(o,a.map(function(c){return po(c,t)}));return n.concat(i,r.parentNode?T(r.parentNode.querySelectorAll(at)).filter(function(c){return c===r}):[])},[])},go=function(e){var t=e.querySelectorAll("[".concat(Ur,"]"));return T(t).map(function(n){return ee([n])}).reduce(function(n,r){return n.concat(r)},[])},it=function(e,t){return T(e).filter(function(n){return tn(t,n)}).filter(function(n){return co(n)})},Ct=function(e,t){return t===void 0&&(t=new Map),T(e).filter(function(n){return nn(t,n)})},st=function(e,t,n){return ot(it(ee(e,n),t),!0,n)},pe=function(e,t){return ot(it(ee(e),t),!1)},bo=function(e,t){return it(go(e),t)},D=function(e,t){return e.shadowRoot?D(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:T(e.children).some(function(n){var r;if(n instanceof HTMLIFrameElement){var o=(r=n.contentDocument)===null||r===void 0?void 0:r.body;return o?D(o,t):!1}return D(n,t)})},xo=function(e){for(var t=new Set,n=e.length,r=0;r0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(i,c){return!t.has(c)})},cn=function(e){return e.parentNode?cn(e.parentNode):e},ct=function(e){var t=B(e);return t.filter(Boolean).reduce(function(n,r){var o=r.getAttribute(Ve);return n.push.apply(n,o?xo(T(cn(r).querySelectorAll("[".concat(Ve,'="').concat(o,'"]:not([').concat(Ht,'="disabled"])')))):[r]),n},[])},yo=function(e){try{return e()}catch{return}},ae=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?ae(t.shadowRoot):t instanceof HTMLIFrameElement&&yo(function(){return t.contentWindow.document})?ae(t.contentWindow.document):t}},So=function(e,t){return e===t},wo=function(e,t){return!!T(e.querySelectorAll("iframe")).some(function(n){return So(n,t)})},ln=function(e,t){return t===void 0&&(t=ae(Qt(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:ct(e).some(function(n){return D(n,t)||wo(n,t)})},Co=function(e){e===void 0&&(e=document);var t=ae(e);return t?T(e.querySelectorAll("[".concat(Hr,"]"))).some(function(n){return D(n,t)}):!1},_o=function(e,t){return t.filter(an).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},lt=function(e,t){return an(e)&&e.name?_o(e,t):e},ko=function(e){var t=new Set;return e.forEach(function(n){return t.add(lt(n,e))}),e.filter(function(n){return t.has(n)})},_t=function(e){return e[0]&&e.length>1?lt(e[0],e):e[0]},kt=function(e,t){return e.indexOf(lt(t,e))},qe="NEW_FOCUS",Eo=function(e,t,n,r,o){var a=e.length,i=e[0],c=e[a-1],v=rt(r);if(!(r&&e.indexOf(r)>=0)){var u=r!==void 0?n.indexOf(r):-1,m=o?n.indexOf(o):u,d=o?e.indexOf(o):-1;if(u===-1)return d!==-1?d:qe;if(d===-1)return qe;var h=u-m,p=n.indexOf(i),g=n.indexOf(c),f=ko(n),b=r!==void 0?f.indexOf(r):-1,x=b-(o?f.indexOf(o):u);if(!h&&d>=0||t.length===0)return d;var S=kt(e,t[0]),y=kt(e,t[t.length-1]);if(u<=p&&v&&Math.abs(h)>1)return y;if(u>=g&&v&&Math.abs(h)>1)return S;if(h&&Math.abs(x)>1)return d;if(u<=p)return y;if(u>g)return S;if(h)return Math.abs(h)>1?d:(a+d+h)%a}},Io=function(e){return function(t){var n,r=(n=rn(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},Et=function(e,t,n){var r=e.map(function(a){var i=a.node;return i}),o=Ct(r.filter(Io(n)));return o&&o.length?_t(o):_t(Ct(t))},Ye=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&Ye(e.parentNode.host||e.parentNode,t),t},Ne=function(e,t){for(var n=Ye(e),r=Ye(t),o=0;o=0)return a}return!1},un=function(e,t,n){var r=B(e),o=B(t),a=r[0],i=!1;return o.filter(Boolean).forEach(function(c){i=Ne(i||c,c)||i,n.filter(Boolean).forEach(function(v){var u=Ne(a,v);u&&(!i||D(u,i)?i=u:i=Ne(u,i))})}),i},It=function(e,t){return e.reduce(function(n,r){return n.concat(bo(r,t))},[])},Fo=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(uo)},jo=function(e,t){var n=ae(B(e).length>0?document:Qt(e).ownerDocument),r=ct(e).filter(Ge),o=un(n||e,e,r),a=new Map,i=pe(r,a),c=i.filter(function(g){var f=g.node;return Ge(f)});if(c[0]){var v=pe([o],a).map(function(g){var f=g.node;return f}),u=Fo(v,c),m=u.map(function(g){var f=g.node;return f}),d=u.filter(function(g){var f=g.tabIndex;return f>=0}).map(function(g){var f=g.node;return f}),h=Eo(m,d,v,n,t);if(h===qe){var p=Et(i,d,It(r,a))||Et(i,m,It(r,a));if(p)return{node:p};console.warn("focus-lock: cannot find any node to move focus into");return}return h===void 0?h:u[h]}},Po=function(e){var t=ct(e).filter(Ge),n=un(e,e,t),r=ot(ee([n],!0),!0,!0),o=ee(t,!1);return r.map(function(a){var i=a.node,c=a.index;return{node:i,index:c,lockItem:o.indexOf(i)>=0,guard:rt(i)}})},ut=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},Te=0,Me=!1,dn=function(e,t,n){n===void 0&&(n={});var r=jo(e,t);if(!Me&&r){if(Te>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Me=!0,setTimeout(function(){Me=!1},1);return}Te++,ut(r.node,n.focusOptions),Te--}};function ne(e){if(!e)return null;var t=e?new WeakRef(e):null;return function(){return(t==null?void 0:t.deref())||null}}var Oo=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:ne(n),parent:ne(n.parentElement),left:ne(n.previousElementSibling),right:ne(n.nextElementSibling)}),n=n.parentElement;return{element:ne(e),stack:t,ownerDocument:e.ownerDocument}},No=function(e){var t,n,r,o,a;if(e)for(var i=e.stack,c=e.ownerDocument,v=new Map,u=0,m=i;u-1&&(p.filter(function(f){var b=f.guard,x=f.node;return b&&x.dataset.focusAutoGuard}).forEach(function(f){var b=f.node;return b.removeAttribute("tabIndex")}),Ft(g,p.length,1,p),Ft(g,-1,-1,p))}}}return t},mn=function(t){ge()&&t&&(t.stopPropagation(),t.preventDefault())},ft=function(){return dt(ge)},Ko=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||Go(r,n)},Qo=function(){return null},hn=function(){ie="just",dt(function(){ie="meanwhile"})},Jo=function(){document.addEventListener("focusin",mn),document.addEventListener("focusout",ft),window.addEventListener("blur",hn)},ea=function(){document.removeEventListener("focusin",mn),document.removeEventListener("focusout",ft),window.removeEventListener("blur",hn)};function ta(e){return e.filter(function(t){var n=t.disabled;return!n})}var pn={moveFocusInside:dn,focusInside:ln,focusNextElement:Ao,focusPrevElement:Do,focusFirstElement:Bo,focusLastElement:Wo,captureFocusRestore:To};function na(e){var t=e.slice(-1)[0];t&&!Z&&Jo();var n=Z,r=n&&t&&t.id===n.id;Z=t,n&&!r&&(n.onDeactivation(),e.filter(function(o){var a=o.id;return a===n.id}).length||n.returnFocus(!t)),t?(X=null,(!r||n.observed!==t.observed)&&t.onActivation(pn),ge(),dt(ge)):(ea(),X=null)}Yt.assignSyncMedium(Ko);Xt.assignMedium(ft);Yr.assignMedium(function(e){return e(pn)});const ra=no(ta,na)(Qo);var Xe=l.forwardRef(function(t,n){return l.createElement(Kt,De({sideCar:ra,ref:n},t))}),gn=Kt.propTypes||{};gn.sideCar;Wr(gn,["sideCar"]);Xe.propTypes={};function oa(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function aa(e){var t;if(!oa(e))return!1;const n=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof n.HTMLElement}var ia=e=>e.hasAttribute("tabindex");function sa(e){return!!e.getAttribute("disabled")||!!e.getAttribute("aria-disabled")}function bn(e){return e.parentElement&&bn(e.parentElement)?!0:e.hidden}function ca(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function la(e){if(!aa(e)||bn(e)||sa(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():ca(e)?!0:ia(e)}var ua=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],da=ua.join(),fa=e=>e.offsetWidth>0&&e.offsetHeight>0;function va(e){const t=Array.from(e.querySelectorAll(da));return t.unshift(e),t.filter(n=>la(n)&&fa(n))}var jt,ma=(jt=Xe.default)!=null?jt:Xe,xn=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:o,children:a,isDisabled:i,autoFocus:c,persistentFocus:v,lockFocusAcrossFrames:u}=e,m=l.useCallback(()=>{t!=null&&t.current?t.current.focus():r!=null&&r.current&&va(r.current).length===0&&requestAnimationFrame(()=>{var g;(g=r.current)==null||g.focus()})},[t,r]),d=l.useCallback(()=>{var p;(p=n==null?void 0:n.current)==null||p.focus()},[n]),h=o&&!n;return s.jsx(ma,{crossFrame:u,persistentFocus:v,autoFocus:c,disabled:i,onActivation:m,onDeactivation:d,returnFocus:h,children:a})};xn.displayName="FocusLock";var ha=yr?l.useLayoutEffect:l.useEffect;function Pt(e,t=[]){const n=l.useRef(e);return ha(()=>{n.current=e}),l.useCallback((...r)=>{var o;return(o=n.current)==null?void 0:o.call(n,...r)},t)}function pa(e,t){const n=l.useId();return l.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function ga(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function ba(e={}){const{onClose:t,onOpen:n,isOpen:r,id:o}=e,a=Pt(n),i=Pt(t),[c,v]=l.useState(e.defaultIsOpen||!1),[u,m]=ga(r,c),d=pa(o,"disclosure"),h=l.useCallback(()=>{u||v(!1),i==null||i()},[u,i]),p=l.useCallback(()=>{u||v(!0),a==null||a()},[u,a]),g=l.useCallback(()=>{(m?h:p)()},[m,p,h]);return{isOpen:!!m,onOpen:p,onClose:h,onToggle:g,isControlled:u,getButtonProps:(f={})=>({...f,"aria-expanded":m,"aria-controls":d,onClick:fr(f.onClick,g)}),getDisclosureProps:(f={})=>({...f,hidden:!m,id:d})}}var ye=I(function(t,n){const r=se("Link",t),{className:o,isExternal:a,...i}=R(t);return s.jsx(E.a,{target:a?"_blank":void 0,rel:a?"noopener":void 0,ref:n,className:P("chakra-link",o),...i,__css:r})});ye.displayName="Link";var[xa,yn]=W({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),Se=I(function(t,n){const r=be("List",t),{children:o,styleType:a="none",stylePosition:i,spacing:c,...v}=R(t),u=Bt(o),d=c?{["& > *:not(style) ~ *:not(style)"]:{mt:c}}:{};return s.jsx(xa,{value:r,children:s.jsx(E.ul,{ref:n,listStyleType:a,listStylePosition:i,role:"list",__css:{...r.container,...d},...v,children:u})})});Se.displayName="List";var ya=I((e,t)=>{const{as:n,...r}=e;return s.jsx(Se,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});ya.displayName="OrderedList";var Sa=I(function(t,n){const{as:r,...o}=t;return s.jsx(Se,{ref:n,as:"ul",styleType:"initial",marginStart:"1em",...o})});Sa.displayName="UnorderedList";var Sn=I(function(t,n){const r=yn();return s.jsx(E.li,{ref:n,...t,__css:r.item})});Sn.displayName="ListItem";var wa=I(function(t,n){const r=yn();return s.jsx(tt,{ref:n,role:"presentation",...t,__css:r.icon})});wa.displayName="ListIcon";var wn=I(function(t,n){const r=se("Text",t),{className:o,align:a,decoration:i,casing:c,...v}=R(t),u=Sr({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return s.jsx(E.p,{ref:n,className:P("chakra-text",t.className),...u,...v,__css:r})});wn.displayName="Text";var Cn=e=>s.jsx(E.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});Cn.displayName="StackItem";function Ca(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":vr(n,o=>r[o])}}var _n=I((e,t)=>{const{isInline:n,direction:r,align:o,justify:a,spacing:i="0.5rem",wrap:c,children:v,divider:u,className:m,shouldWrapChildren:d,...h}=e,p=n?"row":r??"column",g=l.useMemo(()=>Ca({spacing:i,direction:p}),[i,p]),f=!!u,b=!d&&!f,x=l.useMemo(()=>{const y=Bt(v);return b?y:y.map((k,w)=>{const j=typeof k.key<"u"?k.key:w,C=w+1===y.length,_=d?s.jsx(Cn,{children:k},j):k;if(!f)return _;const L=l.cloneElement(u,{__css:g}),U=C?null:L;return s.jsxs(l.Fragment,{children:[_,U]},j)})},[u,g,f,b,d,v]),S=P("chakra-stack",m);return s.jsx(E.div,{ref:t,display:"flex",alignItems:o,justifyContent:a,flexDirection:p,flexWrap:c,gap:f?void 0:i,className:S,...h,children:x})});_n.displayName="Stack";var kn=I((e,t)=>s.jsx(_n,{align:"center",...e,direction:"column",ref:t}));kn.displayName="VStack";var En=I(function(t,n){const r=se("Heading",t),{className:o,...a}=R(t);return s.jsx(E.h2,{ref:n,className:P("chakra-heading",t.className),...a,__css:r})});En.displayName="Heading";var we=I(function(t,n){const{className:r,centerContent:o,...a}=R(t),i=se("Container",t);return s.jsx(E.div,{ref:n,className:P("chakra-container",r),...a,__css:{...i,...o&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});we.displayName="Container";var In=I(function(t,n){const{direction:r,align:o,justify:a,wrap:i,basis:c,grow:v,shrink:u,...m}=t,d={display:"flex",flexDirection:r,alignItems:o,justifyContent:a,flexWrap:i,flexBasis:c,flexGrow:v,flexShrink:u};return s.jsx(E.div,{ref:n,__css:d,...m})});In.displayName="Flex";var _a=Object.defineProperty,ka=(e,t,n)=>t in e?_a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ea=(e,t,n)=>(ka(e,typeof t!="symbol"?t+"":t,n),n),Ia=class{constructor(){Ea(this,"modals"),this.modals=new Map}add(e){return this.modals.set(e,this.modals.size+1),this.modals.size}remove(e){this.modals.delete(e)}isTopModal(e){return e?this.modals.get(e)===this.modals.size:!1}},Ze=new Ia;function Fn(e,t){const[n,r]=l.useState(0);return l.useEffect(()=>{const o=e.current;if(o){if(t){const a=Ze.add(o);r(a)}return()=>{Ze.remove(o),r(0)}}},[t,e]),n}var Fa=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},z=new WeakMap,le=new WeakMap,ue={},Re=0,jn=function(e){return e&&(e.host||jn(e.parentNode))},ja=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=jn(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Pa=function(e,t,n,r){var o=ja(t,Array.isArray(e)?e:[e]);ue[n]||(ue[n]=new WeakMap);var a=ue[n],i=[],c=new Set,v=new Set(o),u=function(d){!d||c.has(d)||(c.add(d),u(d.parentNode))};o.forEach(u);var m=function(d){!d||v.has(d)||Array.prototype.forEach.call(d.children,function(h){if(c.has(h))m(h);else try{var p=h.getAttribute(r),g=p!==null&&p!=="false",f=(z.get(h)||0)+1,b=(a.get(h)||0)+1;z.set(h,f),a.set(h,b),i.push(h),f===1&&g&&le.set(h,!0),b===1&&h.setAttribute(n,"true"),g||h.setAttribute(r,"true")}catch(x){console.error("aria-hidden: cannot operate on ",h,x)}})};return m(t),c.clear(),Re++,function(){i.forEach(function(d){var h=z.get(d)-1,p=a.get(d)-1;z.set(d,h),a.set(d,p),h||(le.has(d)||d.removeAttribute(r),le.delete(d)),p||d.removeAttribute(n)}),Re--,Re||(z=new WeakMap,z=new WeakMap,le=new WeakMap,ue={})}},Oa=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||Fa(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Pa(r,o,n,"aria-hidden")):function(){return null}};function Na(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:o=!0,closeOnEsc:a=!0,useInert:i=!0,onOverlayClick:c,onEsc:v}=e,u=l.useRef(null),m=l.useRef(null),[d,h,p]=Ma(r,"chakra-modal","chakra-modal--header","chakra-modal--body");Ta(u,t&&i);const g=Fn(u,t),f=l.useRef(null),b=l.useCallback(_=>{f.current=_.target},[]),x=l.useCallback(_=>{_.key==="Escape"&&(_.stopPropagation(),a&&(n==null||n()),v==null||v())},[a,n,v]),[S,y]=l.useState(!1),[k,w]=l.useState(!1),j=l.useCallback((_={},L=null)=>({role:"dialog",..._,ref:re(L,u),id:d,tabIndex:-1,"aria-modal":!0,"aria-labelledby":S?h:void 0,"aria-describedby":k?p:void 0,onClick:Y(_.onClick,U=>U.stopPropagation())}),[p,k,d,h,S]),C=l.useCallback(_=>{_.stopPropagation(),f.current===_.target&&Ze.isTopModal(u.current)&&(o&&(n==null||n()),c==null||c())},[n,o,c]),F=l.useCallback((_={},L=null)=>({..._,ref:re(L,m),onClick:Y(_.onClick,C),onKeyDown:Y(_.onKeyDown,x),onMouseDown:Y(_.onMouseDown,b)}),[x,b,C]);return{isOpen:t,onClose:n,headerId:h,bodyId:p,setBodyMounted:w,setHeaderMounted:y,dialogRef:u,overlayRef:m,getDialogProps:j,getDialogContainerProps:F,index:g}}function Ta(e,t){const n=e.current;l.useEffect(()=>{if(!(!e.current||!t))return Oa(e.current)},[t,e,n])}function Ma(e,...t){const n=l.useId(),r=e||n;return l.useMemo(()=>t.map(o=>`${o}-${r}`),[r,t])}var[Ra,vt]=W({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[La,Ce]=W({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in ``"}),Pn=e=>{const t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale",lockFocusAcrossFrames:!0,...e},{portalProps:n,children:r,autoFocus:o,trapFocus:a,initialFocusRef:i,finalFocusRef:c,returnFocusOnClose:v,blockScrollOnMount:u,allowPinchZoom:m,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:p,onCloseComplete:g}=t,f=be("Modal",t),x={...Na(t),autoFocus:o,trapFocus:a,initialFocusRef:i,finalFocusRef:c,returnFocusOnClose:v,blockScrollOnMount:u,allowPinchZoom:m,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:p};return s.jsx(La,{value:x,children:s.jsx(Ra,{value:f,children:s.jsx(Je,{onExitComplete:g,children:x.isOpen&&s.jsx(mr,{...n,children:r})})})})};Pn.displayName="Modal";var ve="right-scroll-bar-position",me="width-before-scroll-bar",Aa="with-scroll-bars-hidden",Da="--removed-body-scroll-bar-size",On=Gt(),Le=function(){},_e=l.forwardRef(function(e,t){var n=l.useRef(null),r=l.useState({onScrollCapture:Le,onWheelCapture:Le,onTouchMoveCapture:Le}),o=r[0],a=r[1],i=e.forwardProps,c=e.children,v=e.className,u=e.removeScrollBar,m=e.enabled,d=e.shards,h=e.sideCar,p=e.noIsolation,g=e.inert,f=e.allowPinchZoom,b=e.as,x=b===void 0?"div":b,S=e.gapMode,y=$t(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=h,w=Ut([n,t]),j=N(N({},y),o);return l.createElement(l.Fragment,null,m&&l.createElement(k,{sideCar:On,removeScrollBar:u,shards:d,noIsolation:p,inert:g,setCallbacks:a,allowPinchZoom:!!f,lockRef:n,gapMode:S}),i?l.cloneElement(l.Children.only(c),N(N({},j),{ref:w})):l.createElement(x,N({},j,{className:v,ref:w}),c))});_e.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};_e.classNames={fullWidth:me,zeroRight:ve};var Ba=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Wa(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ba();return t&&e.setAttribute("nonce",t),e}function Ha(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ua(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var $a=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Wa())&&(Ha(t,n),Ua(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Va=function(){var e=$a();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Nn=function(){var e=Va(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},za={left:0,top:0,right:0,gap:0},Ae=function(e){return parseInt(e||"",10)||0},Ga=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ae(n),Ae(r),Ae(o)]},qa=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return za;var t=Ga(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Ya=Nn(),Q="data-scroll-locked",Xa=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,c=e.gap;return n===void 0&&(n="margin"),` +import{r as l,j as s,A as Je,m as et,c as P,f as I,u as lr,a as E,b as W,S as ur,d as se,o as R,e as O,g as be,h as Fe,i as Y,_ as De,R as dr,k as fr,I as tt,l as vr,P as mr,n as hr,p as pr,q as gr,s as Lt,B as je,t as H,v as br}from"./index-Rndj8vN-.js";function xr(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var yr=xr();function Sr(e){const t=Object.assign({},e);for(let n in t)t[n]===void 0&&delete t[n];return t}function wr(e,t){if(e!=null){if(typeof e=="function"){e(t);return}try{e.current=t}catch{throw new Error(`Cannot assign value '${t}' to ref '${e}'`)}}}function re(...e){return t=>{e.forEach(n=>{wr(n,t)})}}function Cr(...e){return l.useMemo(()=>re(...e),e)}var Be={ease:[.25,.1,.25,1],easeIn:[.4,0,1,1],easeOut:[0,0,.2,1],easeInOut:[.4,0,.2,1]},te={scale:{enter:{scale:1},exit:{scale:.95}},fade:{enter:{opacity:1},exit:{opacity:0}},pushLeft:{enter:{x:"100%"},exit:{x:"-30%"}},pushRight:{enter:{x:"-100%"},exit:{x:"30%"}},pushUp:{enter:{y:"100%"},exit:{y:"-30%"}},pushDown:{enter:{y:"-100%"},exit:{y:"30%"}},slideLeft:{position:{left:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"-100%",y:0}},slideRight:{position:{right:0,top:0,bottom:0,width:"100%"},enter:{x:0,y:0},exit:{x:"100%",y:0}},slideUp:{position:{top:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"-100%"}},slideDown:{position:{bottom:0,left:0,right:0,maxWidth:"100vw"},enter:{x:0,y:0},exit:{x:0,y:"100%"}}};function We(e){var t;switch((t=e==null?void 0:e.direction)!=null?t:"right"){case"right":return te.slideRight;case"left":return te.slideLeft;case"bottom":return te.slideDown;case"top":return te.slideUp;default:return te.slideRight}}var xt={enter:{duration:.2,ease:Be.easeOut},exit:{duration:.1,ease:Be.easeIn}},he={enter:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.enter}),exit:(e,t)=>({...e,delay:typeof t=="number"?t:t==null?void 0:t.exit})},_r={enter:({transition:e,transitionEnd:t,delay:n}={})=>{var r;return{opacity:1,transition:(r=e==null?void 0:e.enter)!=null?r:he.enter(xt.enter,n),transitionEnd:t==null?void 0:t.enter}},exit:({transition:e,transitionEnd:t,delay:n}={})=>{var r;return{opacity:0,transition:(r=e==null?void 0:e.exit)!=null?r:he.exit(xt.exit,n),transitionEnd:t==null?void 0:t.exit}}},At={initial:"exit",animate:"enter",exit:"exit",variants:_r},kr=l.forwardRef(function(t,n){const{unmountOnExit:r,in:o,className:a,transition:i,transitionEnd:c,delay:v,...u}=t,m=o||r?"enter":"exit",d=r?o&&r:!0,h={transition:i,transitionEnd:c,delay:v};return s.jsx(Je,{custom:h,children:d&&s.jsx(et.div,{ref:n,className:P("chakra-fade",a),custom:h,...At,animate:m,...u})})});kr.displayName="Fade";var yt={exit:{duration:.15,ease:Be.easeInOut},enter:{type:"spring",damping:25,stiffness:180}},Er={exit:({direction:e,transition:t,transitionEnd:n,delay:r})=>{var o;const{exit:a}=We({direction:e});return{...a,transition:(o=t==null?void 0:t.exit)!=null?o:he.exit(yt.exit,r),transitionEnd:n==null?void 0:n.exit}},enter:({direction:e,transitionEnd:t,transition:n,delay:r})=>{var o;const{enter:a}=We({direction:e});return{...a,transition:(o=n==null?void 0:n.enter)!=null?o:he.enter(yt.enter,r),transitionEnd:t==null?void 0:t.enter}}},Dt=l.forwardRef(function(t,n){const{direction:r="right",style:o,unmountOnExit:a,in:i,className:c,transition:v,transitionEnd:u,delay:m,motionProps:d,...h}=t,p=We({direction:r}),g=Object.assign({position:"fixed"},p.position,o),f=a?i&&a:!0,b=i||a?"enter":"exit",x={transitionEnd:u,transition:v,direction:r,delay:m};return s.jsx(Je,{custom:x,children:f&&s.jsx(et.div,{...h,ref:n,initial:"exit",className:P("chakra-slide",c),animate:b,exit:"exit",custom:x,variants:Er,style:g,...d})})});Dt.displayName="Slide";var He=I(function(t,n){const{htmlWidth:r,htmlHeight:o,alt:a,...i}=t;return s.jsx("img",{width:r,height:o,ref:n,alt:a,...i})});He.displayName="NativeImage";function Ir(e){const{loading:t,src:n,srcSet:r,onLoad:o,onError:a,crossOrigin:i,sizes:c,ignoreFallback:v}=e,[u,m]=l.useState("pending");l.useEffect(()=>{m(n?"loading":"pending")},[n]);const d=l.useRef(),h=l.useCallback(()=>{if(!n)return;p();const g=new Image;g.src=n,i&&(g.crossOrigin=i),r&&(g.srcset=r),c&&(g.sizes=c),t&&(g.loading=t),g.onload=f=>{p(),m("loaded"),o==null||o(f)},g.onerror=f=>{p(),m("failed"),a==null||a(f)},d.current=g},[n,i,r,c,o,a,t]),p=()=>{d.current&&(d.current.onload=null,d.current.onerror=null,d.current=null)};return lr(()=>{if(!v)return u==="loading"&&h(),()=>{p()}},[u,h,v]),v?"loaded":u}var Fr=(e,t)=>e!=="loaded"&&t==="beforeLoadOrError"||e==="failed"&&t==="onError";function jr(e,t=[]){const n=Object.assign({},e);for(const r of t)r in n&&delete n[r];return n}var xe=I(function(t,n){const{fallbackSrc:r,fallback:o,src:a,srcSet:i,align:c,fit:v,loading:u,ignoreFallback:m,crossOrigin:d,fallbackStrategy:h="beforeLoadOrError",referrerPolicy:p,...g}=t,f=r!==void 0||o!==void 0,b=u!=null||m||!f,x=Ir({...t,crossOrigin:d,ignoreFallback:b}),S=Fr(x,h),y={ref:n,objectFit:v,objectPosition:c,...b?g:jr(g,["onError","onLoad"])};return S?o||s.jsx(E.img,{as:He,className:"chakra-image__placeholder",src:r,...y}):s.jsx(E.img,{as:He,src:a,srcSet:i,crossOrigin:d,loading:u,referrerPolicy:p,className:"chakra-image",...y})});xe.displayName="Image";function Bt(e){return l.Children.toArray(e).filter(t=>l.isValidElement(t))}var[Vi,Pr]=W({strict:!1,name:"ButtonGroupContext"});function Or(e){const[t,n]=l.useState(!e);return{ref:l.useCallback(a=>{a&&n(a.tagName==="BUTTON")},[]),type:t?"button":void 0}}function Ue(e){const{children:t,className:n,...r}=e,o=l.isValidElement(t)?l.cloneElement(t,{"aria-hidden":!0,focusable:!1}):t,a=P("chakra-button__icon",n);return s.jsx(E.span,{display:"inline-flex",alignSelf:"center",flexShrink:0,...r,className:a,children:o})}Ue.displayName="ButtonIcon";function $e(e){const{label:t,placement:n,spacing:r="0.5rem",children:o=s.jsx(ur,{color:"currentColor",width:"1em",height:"1em"}),className:a,__css:i,...c}=e,v=P("chakra-button__spinner",a),u=n==="start"?"marginEnd":"marginStart",m=l.useMemo(()=>({display:"flex",alignItems:"center",position:t?"relative":"absolute",[u]:t?r:0,fontSize:"1em",lineHeight:"normal",...i}),[i,t,u,r]);return s.jsx(E.div,{className:v,...c,__css:m,children:o})}$e.displayName="ButtonSpinner";var J=I((e,t)=>{const n=Pr(),r=se("Button",{...n,...e}),{isDisabled:o=n==null?void 0:n.isDisabled,isLoading:a,isActive:i,children:c,leftIcon:v,rightIcon:u,loadingText:m,iconSpacing:d="0.5rem",type:h,spinner:p,spinnerPlacement:g="start",className:f,as:b,...x}=R(e),S=l.useMemo(()=>{const j={...r==null?void 0:r._focus,zIndex:1};return{display:"inline-flex",appearance:"none",alignItems:"center",justifyContent:"center",userSelect:"none",position:"relative",whiteSpace:"nowrap",verticalAlign:"middle",outline:"none",...r,...!!n&&{_focus:j}}},[r,n]),{ref:y,type:k}=Or(b),w={rightIcon:u,leftIcon:v,iconSpacing:d,children:c};return s.jsxs(E.button,{ref:Cr(t,y),as:b,type:h??k,"data-active":O(i),"data-loading":O(a),__css:S,className:P("chakra-button",f),...x,disabled:o||a,children:[a&&g==="start"&&s.jsx($e,{className:"chakra-button__spinner--start",label:m,placement:"start",spacing:d,children:p}),a?m||s.jsx(E.span,{opacity:0,children:s.jsx(St,{...w})}):s.jsx(St,{...w}),a&&g==="end"&&s.jsx($e,{className:"chakra-button__spinner--end",label:m,placement:"end",spacing:d,children:p})]})});J.displayName="Button";function St(e){const{leftIcon:t,rightIcon:n,children:r,iconSpacing:o}=e;return s.jsxs(s.Fragment,{children:[t&&s.jsx(Ue,{marginEnd:o,children:t}),r,n&&s.jsx(Ue,{marginStart:o,children:n})]})}var[Nr,Tr]=W({name:"FormControlStylesContext",errorMessage:`useFormControlStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[Mr,Wt]=W({strict:!1,name:"FormControlContext"});function Rr(e){const{id:t,isRequired:n,isInvalid:r,isDisabled:o,isReadOnly:a,...i}=e,c=l.useId(),v=t||`field-${c}`,u=`${v}-label`,m=`${v}-feedback`,d=`${v}-helptext`,[h,p]=l.useState(!1),[g,f]=l.useState(!1),[b,x]=l.useState(!1),S=l.useCallback((C={},F=null)=>({id:d,...C,ref:re(F,_=>{_&&f(!0)})}),[d]),y=l.useCallback((C={},F=null)=>({...C,ref:F,"data-focus":O(b),"data-disabled":O(o),"data-invalid":O(r),"data-readonly":O(a),id:C.id!==void 0?C.id:u,htmlFor:C.htmlFor!==void 0?C.htmlFor:v}),[v,o,b,r,a,u]),k=l.useCallback((C={},F=null)=>({id:m,...C,ref:re(F,_=>{_&&p(!0)}),"aria-live":"polite"}),[m]),w=l.useCallback((C={},F=null)=>({...C,...i,ref:F,role:"group","data-focus":O(b),"data-disabled":O(o),"data-invalid":O(r),"data-readonly":O(a)}),[i,o,b,r,a]),j=l.useCallback((C={},F=null)=>({...C,ref:F,role:"presentation","aria-hidden":!0,children:C.children||"*"}),[]);return{isRequired:!!n,isInvalid:!!r,isReadOnly:!!a,isDisabled:!!o,isFocused:!!b,onFocus:()=>x(!0),onBlur:()=>x(!1),hasFeedbackText:h,setHasFeedbackText:p,hasHelpText:g,setHasHelpText:f,id:v,labelId:u,feedbackId:m,helpTextId:d,htmlProps:i,getHelpTextProps:S,getErrorMessageProps:k,getRootProps:w,getLabelProps:y,getRequiredIndicatorProps:j}}var Lr=I(function(t,n){const r=be("Form",t),o=R(t),{getRootProps:a,htmlProps:i,...c}=Rr(o),v=P("chakra-form-control",t.className);return s.jsx(Mr,{value:c,children:s.jsx(Nr,{value:r,children:s.jsx(E.div,{...a({},n),className:v,__css:r.container})})})});Lr.displayName="FormControl";var Ar=I(function(t,n){const r=Wt(),o=Tr(),a=P("chakra-form__helper-text",t.className);return s.jsx(E.div,{...r==null?void 0:r.getHelpTextProps(t,n),__css:o.helperText,className:a})});Ar.displayName="FormHelperText";function Dr(e){const{isDisabled:t,isInvalid:n,isReadOnly:r,isRequired:o,...a}=Br(e);return{...a,disabled:t,readOnly:r,required:o,"aria-invalid":Fe(n),"aria-required":Fe(o),"aria-readonly":Fe(r)}}function Br(e){var t,n,r;const o=Wt(),{id:a,disabled:i,readOnly:c,required:v,isRequired:u,isInvalid:m,isReadOnly:d,isDisabled:h,onFocus:p,onBlur:g,...f}=e,b=e["aria-describedby"]?[e["aria-describedby"]]:[];return o!=null&&o.hasFeedbackText&&(o!=null&&o.isInvalid)&&b.push(o.feedbackId),o!=null&&o.hasHelpText&&b.push(o.helpTextId),{...f,"aria-describedby":b.join(" ")||void 0,id:a??(o==null?void 0:o.id),isDisabled:(t=i??h)!=null?t:o==null?void 0:o.isDisabled,isReadOnly:(n=c??d)!=null?n:o==null?void 0:o.isReadOnly,isRequired:(r=v??u)!=null?r:o==null?void 0:o.isRequired,isInvalid:m??(o==null?void 0:o.isInvalid),onFocus:Y(o==null?void 0:o.onFocus,p),onBlur:Y(o==null?void 0:o.onBlur,g)}}function Wr(e,t){if(e==null)return{};var n={},r=Object.keys(e),o,a;for(a=0;a=0)&&(n[o]=e[o]);return n}var Ve="data-focus-lock",Ht="data-focus-lock-disabled",Hr="data-no-focus-lock",Ur="data-autofocus-inside",$r="data-no-autofocus";function Pe(e,t){return typeof e=="function"?e(t):e&&(e.current=t),e}function Vr(e,t){var n=l.useState(function(){return{value:e,callback:t,facade:{get current(){return n.value},set current(r){var o=n.value;o!==r&&(n.value=r,n.callback(r,o))}}}})[0];return n.callback=t,n.facade}var zr=typeof window<"u"?l.useLayoutEffect:l.useEffect,wt=new WeakMap;function Ut(e,t){var n=Vr(t||null,function(r){return e.forEach(function(o){return Pe(o,r)})});return zr(function(){var r=wt.get(n);if(r){var o=new Set(r),a=new Set(e),i=n.current;o.forEach(function(c){a.has(c)||Pe(c,null)}),a.forEach(function(c){o.has(c)||Pe(c,i)})}wt.set(n,e)},[e]),n}var Oe={width:"1px",height:"0px",padding:0,overflow:"hidden",position:"fixed",top:"1px",left:"1px"},N=function(){return N=Object.assign||function(t){for(var n,r=1,o=arguments.length;r=0}).sort(fo)},mo=["button:enabled","select:enabled","textarea:enabled","input:enabled","a[href]","area[href]","summary","iframe","object","embed","audio[controls]","video[controls]","[tabindex]","[contenteditable]","[autofocus]"],at=mo.join(","),ho="".concat(at,", [data-focus-guard]"),sn=function(e,t){return T((e.shadowRoot||e).children).reduce(function(n,r){return n.concat(r.matches(t?ho:at)?[r]:[],sn(r))},[])},po=function(e,t){var n;return e instanceof HTMLIFrameElement&&(!((n=e.contentDocument)===null||n===void 0)&&n.body)?ee([e.contentDocument.body],t):[e]},ee=function(e,t){return e.reduce(function(n,r){var o,a=sn(r,t),i=(o=[]).concat.apply(o,a.map(function(c){return po(c,t)}));return n.concat(i,r.parentNode?T(r.parentNode.querySelectorAll(at)).filter(function(c){return c===r}):[])},[])},go=function(e){var t=e.querySelectorAll("[".concat(Ur,"]"));return T(t).map(function(n){return ee([n])}).reduce(function(n,r){return n.concat(r)},[])},it=function(e,t){return T(e).filter(function(n){return tn(t,n)}).filter(function(n){return co(n)})},Ct=function(e,t){return t===void 0&&(t=new Map),T(e).filter(function(n){return nn(t,n)})},st=function(e,t,n){return ot(it(ee(e,n),t),!0,n)},pe=function(e,t){return ot(it(ee(e),t),!1)},bo=function(e,t){return it(go(e),t)},D=function(e,t){return e.shadowRoot?D(e.shadowRoot,t):Object.getPrototypeOf(e).contains!==void 0&&Object.getPrototypeOf(e).contains.call(e,t)?!0:T(e.children).some(function(n){var r;if(n instanceof HTMLIFrameElement){var o=(r=n.contentDocument)===null||r===void 0?void 0:r.body;return o?D(o,t):!1}return D(n,t)})},xo=function(e){for(var t=new Set,n=e.length,r=0;r0&&t.add(o),(a&Node.DOCUMENT_POSITION_CONTAINS)>0&&t.add(r)}return e.filter(function(i,c){return!t.has(c)})},cn=function(e){return e.parentNode?cn(e.parentNode):e},ct=function(e){var t=B(e);return t.filter(Boolean).reduce(function(n,r){var o=r.getAttribute(Ve);return n.push.apply(n,o?xo(T(cn(r).querySelectorAll("[".concat(Ve,'="').concat(o,'"]:not([').concat(Ht,'="disabled"])')))):[r]),n},[])},yo=function(e){try{return e()}catch{return}},ae=function(e){if(e===void 0&&(e=document),!(!e||!e.activeElement)){var t=e.activeElement;return t.shadowRoot?ae(t.shadowRoot):t instanceof HTMLIFrameElement&&yo(function(){return t.contentWindow.document})?ae(t.contentWindow.document):t}},So=function(e,t){return e===t},wo=function(e,t){return!!T(e.querySelectorAll("iframe")).some(function(n){return So(n,t)})},ln=function(e,t){return t===void 0&&(t=ae(Qt(e).ownerDocument)),!t||t.dataset&&t.dataset.focusGuard?!1:ct(e).some(function(n){return D(n,t)||wo(n,t)})},Co=function(e){e===void 0&&(e=document);var t=ae(e);return t?T(e.querySelectorAll("[".concat(Hr,"]"))).some(function(n){return D(n,t)}):!1},_o=function(e,t){return t.filter(an).filter(function(n){return n.name===e.name}).filter(function(n){return n.checked})[0]||e},lt=function(e,t){return an(e)&&e.name?_o(e,t):e},ko=function(e){var t=new Set;return e.forEach(function(n){return t.add(lt(n,e))}),e.filter(function(n){return t.has(n)})},_t=function(e){return e[0]&&e.length>1?lt(e[0],e):e[0]},kt=function(e,t){return e.indexOf(lt(t,e))},qe="NEW_FOCUS",Eo=function(e,t,n,r,o){var a=e.length,i=e[0],c=e[a-1],v=rt(r);if(!(r&&e.indexOf(r)>=0)){var u=r!==void 0?n.indexOf(r):-1,m=o?n.indexOf(o):u,d=o?e.indexOf(o):-1;if(u===-1)return d!==-1?d:qe;if(d===-1)return qe;var h=u-m,p=n.indexOf(i),g=n.indexOf(c),f=ko(n),b=r!==void 0?f.indexOf(r):-1,x=b-(o?f.indexOf(o):u);if(!h&&d>=0||t.length===0)return d;var S=kt(e,t[0]),y=kt(e,t[t.length-1]);if(u<=p&&v&&Math.abs(h)>1)return y;if(u>=g&&v&&Math.abs(h)>1)return S;if(h&&Math.abs(x)>1)return d;if(u<=p)return y;if(u>g)return S;if(h)return Math.abs(h)>1?d:(a+d+h)%a}},Io=function(e){return function(t){var n,r=(n=rn(t))===null||n===void 0?void 0:n.autofocus;return t.autofocus||r!==void 0&&r!=="false"||e.indexOf(t)>=0}},Et=function(e,t,n){var r=e.map(function(a){var i=a.node;return i}),o=Ct(r.filter(Io(n)));return o&&o.length?_t(o):_t(Ct(t))},Ye=function(e,t){return t===void 0&&(t=[]),t.push(e),e.parentNode&&Ye(e.parentNode.host||e.parentNode,t),t},Ne=function(e,t){for(var n=Ye(e),r=Ye(t),o=0;o=0)return a}return!1},un=function(e,t,n){var r=B(e),o=B(t),a=r[0],i=!1;return o.filter(Boolean).forEach(function(c){i=Ne(i||c,c)||i,n.filter(Boolean).forEach(function(v){var u=Ne(a,v);u&&(!i||D(u,i)?i=u:i=Ne(u,i))})}),i},It=function(e,t){return e.reduce(function(n,r){return n.concat(bo(r,t))},[])},Fo=function(e,t){var n=new Map;return t.forEach(function(r){return n.set(r.node,r)}),e.map(function(r){return n.get(r)}).filter(uo)},jo=function(e,t){var n=ae(B(e).length>0?document:Qt(e).ownerDocument),r=ct(e).filter(Ge),o=un(n||e,e,r),a=new Map,i=pe(r,a),c=i.filter(function(g){var f=g.node;return Ge(f)});if(c[0]){var v=pe([o],a).map(function(g){var f=g.node;return f}),u=Fo(v,c),m=u.map(function(g){var f=g.node;return f}),d=u.filter(function(g){var f=g.tabIndex;return f>=0}).map(function(g){var f=g.node;return f}),h=Eo(m,d,v,n,t);if(h===qe){var p=Et(i,d,It(r,a))||Et(i,m,It(r,a));if(p)return{node:p};console.warn("focus-lock: cannot find any node to move focus into");return}return h===void 0?h:u[h]}},Po=function(e){var t=ct(e).filter(Ge),n=un(e,e,t),r=ot(ee([n],!0),!0,!0),o=ee(t,!1);return r.map(function(a){var i=a.node,c=a.index;return{node:i,index:c,lockItem:o.indexOf(i)>=0,guard:rt(i)}})},ut=function(e,t){e&&("focus"in e&&e.focus(t),"contentWindow"in e&&e.contentWindow&&e.contentWindow.focus())},Te=0,Me=!1,dn=function(e,t,n){n===void 0&&(n={});var r=jo(e,t);if(!Me&&r){if(Te>2){console.error("FocusLock: focus-fighting detected. Only one focus management system could be active. See https://github.com/theKashey/focus-lock/#focus-fighting"),Me=!0,setTimeout(function(){Me=!1},1);return}Te++,ut(r.node,n.focusOptions),Te--}};function ne(e){if(!e)return null;var t=e?new WeakRef(e):null;return function(){return(t==null?void 0:t.deref())||null}}var Oo=function(e){if(!e)return null;for(var t=[],n=e;n&&n!==document.body;)t.push({current:ne(n),parent:ne(n.parentElement),left:ne(n.previousElementSibling),right:ne(n.nextElementSibling)}),n=n.parentElement;return{element:ne(e),stack:t,ownerDocument:e.ownerDocument}},No=function(e){var t,n,r,o,a;if(e)for(var i=e.stack,c=e.ownerDocument,v=new Map,u=0,m=i;u-1&&(p.filter(function(f){var b=f.guard,x=f.node;return b&&x.dataset.focusAutoGuard}).forEach(function(f){var b=f.node;return b.removeAttribute("tabIndex")}),Ft(g,p.length,1,p),Ft(g,-1,-1,p))}}}return t},mn=function(t){ge()&&t&&(t.stopPropagation(),t.preventDefault())},ft=function(){return dt(ge)},Ko=function(t){var n=t.target,r=t.currentTarget;r.contains(n)||Go(r,n)},Qo=function(){return null},hn=function(){ie="just",dt(function(){ie="meanwhile"})},Jo=function(){document.addEventListener("focusin",mn),document.addEventListener("focusout",ft),window.addEventListener("blur",hn)},ea=function(){document.removeEventListener("focusin",mn),document.removeEventListener("focusout",ft),window.removeEventListener("blur",hn)};function ta(e){return e.filter(function(t){var n=t.disabled;return!n})}var pn={moveFocusInside:dn,focusInside:ln,focusNextElement:Ao,focusPrevElement:Do,focusFirstElement:Bo,focusLastElement:Wo,captureFocusRestore:To};function na(e){var t=e.slice(-1)[0];t&&!Z&&Jo();var n=Z,r=n&&t&&t.id===n.id;Z=t,n&&!r&&(n.onDeactivation(),e.filter(function(o){var a=o.id;return a===n.id}).length||n.returnFocus(!t)),t?(X=null,(!r||n.observed!==t.observed)&&t.onActivation(pn),ge(),dt(ge)):(ea(),X=null)}Yt.assignSyncMedium(Ko);Xt.assignMedium(ft);Yr.assignMedium(function(e){return e(pn)});const ra=no(ta,na)(Qo);var Xe=l.forwardRef(function(t,n){return l.createElement(Kt,De({sideCar:ra,ref:n},t))}),gn=Kt.propTypes||{};gn.sideCar;Wr(gn,["sideCar"]);Xe.propTypes={};function oa(e){return e!=null&&typeof e=="object"&&"nodeType"in e&&e.nodeType===Node.ELEMENT_NODE}function aa(e){var t;if(!oa(e))return!1;const n=(t=e.ownerDocument.defaultView)!=null?t:window;return e instanceof n.HTMLElement}var ia=e=>e.hasAttribute("tabindex");function sa(e){return!!e.getAttribute("disabled")||!!e.getAttribute("aria-disabled")}function bn(e){return e.parentElement&&bn(e.parentElement)?!0:e.hidden}function ca(e){const t=e.getAttribute("contenteditable");return t!=="false"&&t!=null}function la(e){if(!aa(e)||bn(e)||sa(e))return!1;const{localName:t}=e;if(["input","select","textarea","button"].indexOf(t)>=0)return!0;const r={a:()=>e.hasAttribute("href"),audio:()=>e.hasAttribute("controls"),video:()=>e.hasAttribute("controls")};return t in r?r[t]():ca(e)?!0:ia(e)}var ua=["input:not(:disabled):not([disabled])","select:not(:disabled):not([disabled])","textarea:not(:disabled):not([disabled])","embed","iframe","object","a[href]","area[href]","button:not(:disabled):not([disabled])","[tabindex]","audio[controls]","video[controls]","*[tabindex]:not([aria-disabled])","*[contenteditable]"],da=ua.join(),fa=e=>e.offsetWidth>0&&e.offsetHeight>0;function va(e){const t=Array.from(e.querySelectorAll(da));return t.unshift(e),t.filter(n=>la(n)&&fa(n))}var jt,ma=(jt=Xe.default)!=null?jt:Xe,xn=e=>{const{initialFocusRef:t,finalFocusRef:n,contentRef:r,restoreFocus:o,children:a,isDisabled:i,autoFocus:c,persistentFocus:v,lockFocusAcrossFrames:u}=e,m=l.useCallback(()=>{t!=null&&t.current?t.current.focus():r!=null&&r.current&&va(r.current).length===0&&requestAnimationFrame(()=>{var g;(g=r.current)==null||g.focus()})},[t,r]),d=l.useCallback(()=>{var p;(p=n==null?void 0:n.current)==null||p.focus()},[n]),h=o&&!n;return s.jsx(ma,{crossFrame:u,persistentFocus:v,autoFocus:c,disabled:i,onActivation:m,onDeactivation:d,returnFocus:h,children:a})};xn.displayName="FocusLock";var ha=yr?l.useLayoutEffect:l.useEffect;function Pt(e,t=[]){const n=l.useRef(e);return ha(()=>{n.current=e}),l.useCallback((...r)=>{var o;return(o=n.current)==null?void 0:o.call(n,...r)},t)}function pa(e,t){const n=l.useId();return l.useMemo(()=>e||[t,n].filter(Boolean).join("-"),[e,t,n])}function ga(e,t){const n=e!==void 0;return[n,n&&typeof e<"u"?e:t]}function ba(e={}){const{onClose:t,onOpen:n,isOpen:r,id:o}=e,a=Pt(n),i=Pt(t),[c,v]=l.useState(e.defaultIsOpen||!1),[u,m]=ga(r,c),d=pa(o,"disclosure"),h=l.useCallback(()=>{u||v(!1),i==null||i()},[u,i]),p=l.useCallback(()=>{u||v(!0),a==null||a()},[u,a]),g=l.useCallback(()=>{(m?h:p)()},[m,p,h]);return{isOpen:!!m,onOpen:p,onClose:h,onToggle:g,isControlled:u,getButtonProps:(f={})=>({...f,"aria-expanded":m,"aria-controls":d,onClick:fr(f.onClick,g)}),getDisclosureProps:(f={})=>({...f,hidden:!m,id:d})}}var ye=I(function(t,n){const r=se("Link",t),{className:o,isExternal:a,...i}=R(t);return s.jsx(E.a,{target:a?"_blank":void 0,rel:a?"noopener":void 0,ref:n,className:P("chakra-link",o),...i,__css:r})});ye.displayName="Link";var[xa,yn]=W({name:"ListStylesContext",errorMessage:`useListStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),Se=I(function(t,n){const r=be("List",t),{children:o,styleType:a="none",stylePosition:i,spacing:c,...v}=R(t),u=Bt(o),d=c?{["& > *:not(style) ~ *:not(style)"]:{mt:c}}:{};return s.jsx(xa,{value:r,children:s.jsx(E.ul,{ref:n,listStyleType:a,listStylePosition:i,role:"list",__css:{...r.container,...d},...v,children:u})})});Se.displayName="List";var ya=I((e,t)=>{const{as:n,...r}=e;return s.jsx(Se,{ref:t,as:"ol",styleType:"decimal",marginStart:"1em",...r})});ya.displayName="OrderedList";var Sa=I(function(t,n){const{as:r,...o}=t;return s.jsx(Se,{ref:n,as:"ul",styleType:"initial",marginStart:"1em",...o})});Sa.displayName="UnorderedList";var Sn=I(function(t,n){const r=yn();return s.jsx(E.li,{ref:n,...t,__css:r.item})});Sn.displayName="ListItem";var wa=I(function(t,n){const r=yn();return s.jsx(tt,{ref:n,role:"presentation",...t,__css:r.icon})});wa.displayName="ListIcon";var wn=I(function(t,n){const r=se("Text",t),{className:o,align:a,decoration:i,casing:c,...v}=R(t),u=Sr({textAlign:t.align,textDecoration:t.decoration,textTransform:t.casing});return s.jsx(E.p,{ref:n,className:P("chakra-text",t.className),...u,...v,__css:r})});wn.displayName="Text";var Cn=e=>s.jsx(E.div,{className:"chakra-stack__item",...e,__css:{display:"inline-block",flex:"0 0 auto",minWidth:0,...e.__css}});Cn.displayName="StackItem";function Ca(e){const{spacing:t,direction:n}=e,r={column:{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},"column-reverse":{my:t,mx:0,borderLeftWidth:0,borderBottomWidth:"1px"},row:{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0},"row-reverse":{mx:t,my:0,borderLeftWidth:"1px",borderBottomWidth:0}};return{"&":vr(n,o=>r[o])}}var _n=I((e,t)=>{const{isInline:n,direction:r,align:o,justify:a,spacing:i="0.5rem",wrap:c,children:v,divider:u,className:m,shouldWrapChildren:d,...h}=e,p=n?"row":r??"column",g=l.useMemo(()=>Ca({spacing:i,direction:p}),[i,p]),f=!!u,b=!d&&!f,x=l.useMemo(()=>{const y=Bt(v);return b?y:y.map((k,w)=>{const j=typeof k.key<"u"?k.key:w,C=w+1===y.length,_=d?s.jsx(Cn,{children:k},j):k;if(!f)return _;const L=l.cloneElement(u,{__css:g}),U=C?null:L;return s.jsxs(l.Fragment,{children:[_,U]},j)})},[u,g,f,b,d,v]),S=P("chakra-stack",m);return s.jsx(E.div,{ref:t,display:"flex",alignItems:o,justifyContent:a,flexDirection:p,flexWrap:c,gap:f?void 0:i,className:S,...h,children:x})});_n.displayName="Stack";var kn=I((e,t)=>s.jsx(_n,{align:"center",...e,direction:"column",ref:t}));kn.displayName="VStack";var En=I(function(t,n){const r=se("Heading",t),{className:o,...a}=R(t);return s.jsx(E.h2,{ref:n,className:P("chakra-heading",t.className),...a,__css:r})});En.displayName="Heading";var we=I(function(t,n){const{className:r,centerContent:o,...a}=R(t),i=se("Container",t);return s.jsx(E.div,{ref:n,className:P("chakra-container",r),...a,__css:{...i,...o&&{display:"flex",flexDirection:"column",alignItems:"center"}}})});we.displayName="Container";var In=I(function(t,n){const{direction:r,align:o,justify:a,wrap:i,basis:c,grow:v,shrink:u,...m}=t,d={display:"flex",flexDirection:r,alignItems:o,justifyContent:a,flexWrap:i,flexBasis:c,flexGrow:v,flexShrink:u};return s.jsx(E.div,{ref:n,__css:d,...m})});In.displayName="Flex";var _a=Object.defineProperty,ka=(e,t,n)=>t in e?_a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Ea=(e,t,n)=>(ka(e,typeof t!="symbol"?t+"":t,n),n),Ia=class{constructor(){Ea(this,"modals"),this.modals=new Map}add(e){return this.modals.set(e,this.modals.size+1),this.modals.size}remove(e){this.modals.delete(e)}isTopModal(e){return e?this.modals.get(e)===this.modals.size:!1}},Ze=new Ia;function Fn(e,t){const[n,r]=l.useState(0);return l.useEffect(()=>{const o=e.current;if(o){if(t){const a=Ze.add(o);r(a)}return()=>{Ze.remove(o),r(0)}}},[t,e]),n}var Fa=function(e){if(typeof document>"u")return null;var t=Array.isArray(e)?e[0]:e;return t.ownerDocument.body},z=new WeakMap,le=new WeakMap,ue={},Re=0,jn=function(e){return e&&(e.host||jn(e.parentNode))},ja=function(e,t){return t.map(function(n){if(e.contains(n))return n;var r=jn(n);return r&&e.contains(r)?r:(console.error("aria-hidden",n,"in not contained inside",e,". Doing nothing"),null)}).filter(function(n){return!!n})},Pa=function(e,t,n,r){var o=ja(t,Array.isArray(e)?e:[e]);ue[n]||(ue[n]=new WeakMap);var a=ue[n],i=[],c=new Set,v=new Set(o),u=function(d){!d||c.has(d)||(c.add(d),u(d.parentNode))};o.forEach(u);var m=function(d){!d||v.has(d)||Array.prototype.forEach.call(d.children,function(h){if(c.has(h))m(h);else try{var p=h.getAttribute(r),g=p!==null&&p!=="false",f=(z.get(h)||0)+1,b=(a.get(h)||0)+1;z.set(h,f),a.set(h,b),i.push(h),f===1&&g&&le.set(h,!0),b===1&&h.setAttribute(n,"true"),g||h.setAttribute(r,"true")}catch(x){console.error("aria-hidden: cannot operate on ",h,x)}})};return m(t),c.clear(),Re++,function(){i.forEach(function(d){var h=z.get(d)-1,p=a.get(d)-1;z.set(d,h),a.set(d,p),h||(le.has(d)||d.removeAttribute(r),le.delete(d)),p||d.removeAttribute(n)}),Re--,Re||(z=new WeakMap,z=new WeakMap,le=new WeakMap,ue={})}},Oa=function(e,t,n){n===void 0&&(n="data-aria-hidden");var r=Array.from(Array.isArray(e)?e:[e]),o=t||Fa(e);return o?(r.push.apply(r,Array.from(o.querySelectorAll("[aria-live]"))),Pa(r,o,n,"aria-hidden")):function(){return null}};function Na(e){const{isOpen:t,onClose:n,id:r,closeOnOverlayClick:o=!0,closeOnEsc:a=!0,useInert:i=!0,onOverlayClick:c,onEsc:v}=e,u=l.useRef(null),m=l.useRef(null),[d,h,p]=Ma(r,"chakra-modal","chakra-modal--header","chakra-modal--body");Ta(u,t&&i);const g=Fn(u,t),f=l.useRef(null),b=l.useCallback(_=>{f.current=_.target},[]),x=l.useCallback(_=>{_.key==="Escape"&&(_.stopPropagation(),a&&(n==null||n()),v==null||v())},[a,n,v]),[S,y]=l.useState(!1),[k,w]=l.useState(!1),j=l.useCallback((_={},L=null)=>({role:"dialog",..._,ref:re(L,u),id:d,tabIndex:-1,"aria-modal":!0,"aria-labelledby":S?h:void 0,"aria-describedby":k?p:void 0,onClick:Y(_.onClick,U=>U.stopPropagation())}),[p,k,d,h,S]),C=l.useCallback(_=>{_.stopPropagation(),f.current===_.target&&Ze.isTopModal(u.current)&&(o&&(n==null||n()),c==null||c())},[n,o,c]),F=l.useCallback((_={},L=null)=>({..._,ref:re(L,m),onClick:Y(_.onClick,C),onKeyDown:Y(_.onKeyDown,x),onMouseDown:Y(_.onMouseDown,b)}),[x,b,C]);return{isOpen:t,onClose:n,headerId:h,bodyId:p,setBodyMounted:w,setHeaderMounted:y,dialogRef:u,overlayRef:m,getDialogProps:j,getDialogContainerProps:F,index:g}}function Ta(e,t){const n=e.current;l.useEffect(()=>{if(!(!e.current||!t))return Oa(e.current)},[t,e,n])}function Ma(e,...t){const n=l.useId(),r=e||n;return l.useMemo(()=>t.map(o=>`${o}-${r}`),[r,t])}var[Ra,vt]=W({name:"ModalStylesContext",errorMessage:`useModalStyles returned is 'undefined'. Seems you forgot to wrap the components in "" `}),[La,Ce]=W({strict:!0,name:"ModalContext",errorMessage:"useModalContext: `context` is undefined. Seems you forgot to wrap modal components in ``"}),Pn=e=>{const t={scrollBehavior:"outside",autoFocus:!0,trapFocus:!0,returnFocusOnClose:!0,blockScrollOnMount:!0,allowPinchZoom:!1,motionPreset:"scale",lockFocusAcrossFrames:!0,...e},{portalProps:n,children:r,autoFocus:o,trapFocus:a,initialFocusRef:i,finalFocusRef:c,returnFocusOnClose:v,blockScrollOnMount:u,allowPinchZoom:m,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:p,onCloseComplete:g}=t,f=be("Modal",t),x={...Na(t),autoFocus:o,trapFocus:a,initialFocusRef:i,finalFocusRef:c,returnFocusOnClose:v,blockScrollOnMount:u,allowPinchZoom:m,preserveScrollBarGap:d,motionPreset:h,lockFocusAcrossFrames:p};return s.jsx(La,{value:x,children:s.jsx(Ra,{value:f,children:s.jsx(Je,{onExitComplete:g,children:x.isOpen&&s.jsx(mr,{...n,children:r})})})})};Pn.displayName="Modal";var ve="right-scroll-bar-position",me="width-before-scroll-bar",Aa="with-scroll-bars-hidden",Da="--removed-body-scroll-bar-size",On=Gt(),Le=function(){},_e=l.forwardRef(function(e,t){var n=l.useRef(null),r=l.useState({onScrollCapture:Le,onWheelCapture:Le,onTouchMoveCapture:Le}),o=r[0],a=r[1],i=e.forwardProps,c=e.children,v=e.className,u=e.removeScrollBar,m=e.enabled,d=e.shards,h=e.sideCar,p=e.noIsolation,g=e.inert,f=e.allowPinchZoom,b=e.as,x=b===void 0?"div":b,S=e.gapMode,y=$t(e,["forwardProps","children","className","removeScrollBar","enabled","shards","sideCar","noIsolation","inert","allowPinchZoom","as","gapMode"]),k=h,w=Ut([n,t]),j=N(N({},y),o);return l.createElement(l.Fragment,null,m&&l.createElement(k,{sideCar:On,removeScrollBar:u,shards:d,noIsolation:p,inert:g,setCallbacks:a,allowPinchZoom:!!f,lockRef:n,gapMode:S}),i?l.cloneElement(l.Children.only(c),N(N({},j),{ref:w})):l.createElement(x,N({},j,{className:v,ref:w}),c))});_e.defaultProps={enabled:!0,removeScrollBar:!0,inert:!1};_e.classNames={fullWidth:me,zeroRight:ve};var Ba=function(){if(typeof __webpack_nonce__<"u")return __webpack_nonce__};function Wa(){if(!document)return null;var e=document.createElement("style");e.type="text/css";var t=Ba();return t&&e.setAttribute("nonce",t),e}function Ha(e,t){e.styleSheet?e.styleSheet.cssText=t:e.appendChild(document.createTextNode(t))}function Ua(e){var t=document.head||document.getElementsByTagName("head")[0];t.appendChild(e)}var $a=function(){var e=0,t=null;return{add:function(n){e==0&&(t=Wa())&&(Ha(t,n),Ua(t)),e++},remove:function(){e--,!e&&t&&(t.parentNode&&t.parentNode.removeChild(t),t=null)}}},Va=function(){var e=$a();return function(t,n){l.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}},Nn=function(){var e=Va(),t=function(n){var r=n.styles,o=n.dynamic;return e(r,o),null};return t},za={left:0,top:0,right:0,gap:0},Ae=function(e){return parseInt(e||"",10)||0},Ga=function(e){var t=window.getComputedStyle(document.body),n=t[e==="padding"?"paddingLeft":"marginLeft"],r=t[e==="padding"?"paddingTop":"marginTop"],o=t[e==="padding"?"paddingRight":"marginRight"];return[Ae(n),Ae(r),Ae(o)]},qa=function(e){if(e===void 0&&(e="margin"),typeof window>"u")return za;var t=Ga(e),n=document.documentElement.clientWidth,r=window.innerWidth;return{left:t[0],top:t[1],right:t[2],gap:Math.max(0,r-n+t[2]-t[0])}},Ya=Nn(),Q="data-scroll-locked",Xa=function(e,t,n,r){var o=e.left,a=e.top,i=e.right,c=e.gap;return n===void 0&&(n="margin"),` .`.concat(Aa,` { overflow: hidden `).concat(r,`; padding-right: `).concat(c,"px ").concat(r,`; @@ -44,4 +44,4 @@ import{r as l,j as s,A as Je,m as et,c as P,f as I,u as lr,a as E,b as W,S as ur `)},Ot=function(){var e=parseInt(document.body.getAttribute(Q)||"0",10);return isFinite(e)?e:0},Za=function(){l.useEffect(function(){return document.body.setAttribute(Q,(Ot()+1).toString()),function(){var e=Ot()-1;e<=0?document.body.removeAttribute(Q):document.body.setAttribute(Q,e.toString())}},[])},Ka=function(e){var t=e.noRelative,n=e.noImportant,r=e.gapMode,o=r===void 0?"margin":r;Za();var a=l.useMemo(function(){return qa(o)},[o]);return l.createElement(Ya,{styles:Xa(a,!t,o,n?"":"!important")})},Ke=!1;if(typeof window<"u")try{var de=Object.defineProperty({},"passive",{get:function(){return Ke=!0,!0}});window.addEventListener("test",de,de),window.removeEventListener("test",de,de)}catch{Ke=!1}var G=Ke?{passive:!1}:!1,Qa=function(e){return e.tagName==="TEXTAREA"},Tn=function(e,t){var n=window.getComputedStyle(e);return n[t]!=="hidden"&&!(n.overflowY===n.overflowX&&!Qa(e)&&n[t]==="visible")},Ja=function(e){return Tn(e,"overflowY")},ei=function(e){return Tn(e,"overflowX")},Nt=function(e,t){var n=t.ownerDocument,r=t;do{typeof ShadowRoot<"u"&&r instanceof ShadowRoot&&(r=r.host);var o=Mn(e,r);if(o){var a=Rn(e,r),i=a[1],c=a[2];if(i>c)return!0}r=r.parentNode}while(r&&r!==n.body);return!1},ti=function(e){var t=e.scrollTop,n=e.scrollHeight,r=e.clientHeight;return[t,n,r]},ni=function(e){var t=e.scrollLeft,n=e.scrollWidth,r=e.clientWidth;return[t,n,r]},Mn=function(e,t){return e==="v"?Ja(t):ei(t)},Rn=function(e,t){return e==="v"?ti(t):ni(t)},ri=function(e,t){return e==="h"&&t==="rtl"?-1:1},oi=function(e,t,n,r,o){var a=ri(e,window.getComputedStyle(t).direction),i=a*r,c=n.target,v=t.contains(c),u=!1,m=i>0,d=0,h=0;do{var p=Rn(e,c),g=p[0],f=p[1],b=p[2],x=f-b-a*g;(g||x)&&Mn(e,c)&&(d+=x,h+=g),c instanceof ShadowRoot?c=c.host:c=c.parentNode}while(!v&&c!==document.body||v&&(t.contains(c)||t===c));return(m&&(o&&Math.abs(d)<1||!o&&i>d)||!m&&(o&&Math.abs(h)<1||!o&&-i>h))&&(u=!0),u},fe=function(e){return"changedTouches"in e?[e.changedTouches[0].clientX,e.changedTouches[0].clientY]:[0,0]},Tt=function(e){return[e.deltaX,e.deltaY]},Mt=function(e){return e&&"current"in e?e.current:e},ai=function(e,t){return e[0]===t[0]&&e[1]===t[1]},ii=function(e){return` .block-interactivity-`.concat(e,` {pointer-events: none;} .allow-interactivity-`).concat(e,` {pointer-events: all;} -`)},si=0,q=[];function ci(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(si++)[0],a=l.useState(Nn)[0],i=l.useRef(e);l.useEffect(function(){i.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var f=Gr([e.lockRef.current],(e.shards||[]).map(Mt),!0).filter(Boolean);return f.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),f.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=l.useCallback(function(f,b){if("touches"in f&&f.touches.length===2)return!i.current.allowPinchZoom;var x=fe(f),S=n.current,y="deltaX"in f?f.deltaX:S[0]-x[0],k="deltaY"in f?f.deltaY:S[1]-x[1],w,j=f.target,C=Math.abs(y)>Math.abs(k)?"h":"v";if("touches"in f&&C==="h"&&j.type==="range")return!1;var F=Nt(C,j);if(!F)return!0;if(F?w=C:(w=C==="v"?"h":"v",F=Nt(C,j)),!F)return!1;if(!r.current&&"changedTouches"in f&&(y||k)&&(r.current=w),!w)return!0;var _=r.current||w;return oi(_,b,f,_==="h"?y:k,!0)},[]),v=l.useCallback(function(f){var b=f;if(!(!q.length||q[q.length-1]!==a)){var x="deltaY"in b?Tt(b):fe(b),S=t.current.filter(function(w){return w.name===b.type&&(w.target===b.target||b.target===w.shadowParent)&&ai(w.delta,x)})[0];if(S&&S.should){b.cancelable&&b.preventDefault();return}if(!S){var y=(i.current.shards||[]).map(Mt).filter(Boolean).filter(function(w){return w.contains(b.target)}),k=y.length>0?c(b,y[0]):!i.current.noIsolation;k&&b.cancelable&&b.preventDefault()}}},[]),u=l.useCallback(function(f,b,x,S){var y={name:f,delta:b,target:x,should:S,shadowParent:li(x)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(k){return k!==y})},1)},[]),m=l.useCallback(function(f){n.current=fe(f),r.current=void 0},[]),d=l.useCallback(function(f){u(f.type,Tt(f),f.target,c(f,e.lockRef.current))},[]),h=l.useCallback(function(f){u(f.type,fe(f),f.target,c(f,e.lockRef.current))},[]);l.useEffect(function(){return q.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",v,G),document.addEventListener("touchmove",v,G),document.addEventListener("touchstart",m,G),function(){q=q.filter(function(f){return f!==a}),document.removeEventListener("wheel",v,G),document.removeEventListener("touchmove",v,G),document.removeEventListener("touchstart",m,G)}},[]);var p=e.removeScrollBar,g=e.inert;return l.createElement(l.Fragment,null,g?l.createElement(a,{styles:ii(o)}):null,p?l.createElement(Ka,{gapMode:e.gapMode}):null)}function li(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const ui=qr(On,ci);var Ln=l.forwardRef(function(e,t){return l.createElement(_e,N({},e,{ref:t,sideCar:ui}))});Ln.classNames=_e.classNames;const di=Ln;function fi(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:o,blockScrollOnMount:a,allowPinchZoom:i,finalFocusRef:c,returnFocusOnClose:v,preserveScrollBarGap:u,lockFocusAcrossFrames:m,isOpen:d}=Ce(),[h,p]=hr();l.useEffect(()=>{!h&&p&&setTimeout(p)},[h,p]);const g=Fn(r,d);return s.jsx(xn,{autoFocus:t,isDisabled:!n,initialFocusRef:o,finalFocusRef:c,restoreFocus:v,contentRef:r,lockFocusAcrossFrames:m,children:s.jsx(di,{removeScrollBar:!u,allowPinchZoom:i,enabled:g===1&&a,forwardProps:!0,children:e.children})})}var[vi,mi]=W(),hi={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function pi(e,t){var n,r;if(e)return(r=(n=hi[e])==null?void 0:n[t])!=null?r:e}function gi(e){var t;const{isOpen:n,onClose:r,placement:o="right",children:a,...i}=e,c=pr(),v=(t=c.components)==null?void 0:t.Drawer,u=pi(o,c.direction);return s.jsx(vi,{value:{placement:u},children:s.jsx(Pn,{isOpen:n,onClose:r,styleConfig:v,...i,children:a})})}var bi=E(Dt),An=I((e,t)=>{const{className:n,children:r,motionProps:o,containerProps:a,...i}=e,{getDialogProps:c,getDialogContainerProps:v,isOpen:u}=Ce(),m=c(i,t),d=v(a),h=P("chakra-modal__content",n),p=vt(),g={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...p.dialog},f={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...p.dialogContainer},{placement:b}=mi();return s.jsx(fi,{children:s.jsx(E.div,{...d,className:"chakra-modal__content-container",__css:f,children:s.jsx(bi,{motionProps:o,direction:b,in:u,className:h,...m,__css:g,children:r})})})});An.displayName="DrawerContent";var xi=E(et.div),Dn=I((e,t)=>{const{className:n,transition:r,motionProps:o,...a}=e,i=P("chakra-modal__overlay",n),v={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...vt().overlay},{motionPreset:u}=Ce(),d=o||(u==="none"?{}:At);return s.jsx(xi,{...d,__css:v,ref:t,className:i,...a})});Dn.displayName="ModalOverlay";var Bn=I((e,t)=>{const{className:n,...r}=e,{bodyId:o,setBodyMounted:a}=Ce();l.useEffect(()=>(a(!0),()=>a(!1)),[a]);const i=P("chakra-modal__body",n),c=vt();return s.jsx(E.div,{ref:t,className:i,id:o,...r,__css:c.body})});Bn.displayName="ModalBody";var Wn=I(function(t,n){const{children:r,placeholder:o,className:a,...i}=t;return s.jsxs(E.select,{...i,ref:n,className:P("chakra-select",a),children:[o&&s.jsx("option",{value:"",children:o}),r]})});Wn.displayName="SelectField";function yi(e,t){const n={},r={};for(const[o,a]of Object.entries(e))t.includes(o)?n[o]=a:r[o]=a;return[n,r]}var Hn=I((e,t)=>{var n;const r=be("Select",e),{rootProps:o,placeholder:a,icon:i,color:c,height:v,h:u,minH:m,minHeight:d,iconColor:h,iconSize:p,...g}=R(e),[f,b]=yi(g,gr),x=Dr(b),S={width:"100%",height:"fit-content",position:"relative",color:c},y={paddingEnd:"2rem",...r.field,_focus:{zIndex:"unset",...(n=r.field)==null?void 0:n._focus}};return s.jsxs(E.div,{className:"chakra-select__wrapper",__css:S,...f,...o,children:[s.jsx(Wn,{ref:t,height:u??v,minH:m??d,placeholder:a,...x,__css:y,children:e.children}),s.jsx(Un,{"data-disabled":O(x.disabled),...(h||c)&&{color:h||c},__css:r.icon,...p&&{fontSize:p},children:i})]})});Hn.displayName="Select";var Si=e=>s.jsx("svg",{viewBox:"0 0 24 24",...e,children:s.jsx("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),wi=E("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),Un=e=>{const{children:t=s.jsx(Si,{}),...n}=e,r=l.cloneElement(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return s.jsx(wi,{...n,className:"chakra-select__icon-wrapper",children:l.isValidElement(t)?r:null})};Un.displayName="SelectIcon";const Ci="/animal-shelter/assets/logo-desk-tablet-Cn5oUYvm.svg",_i="/animal-shelter/assets/logo-mobile-D6XhGB3T.svg",$n=({style:e})=>s.jsx(ye,{href:"#header",mr:"auto",...e,children:s.jsx(xe,{src:Ci,alt:"Зоюраження логотипу",width:{base:"212px"},height:{base:"62px"}})}),Vn=({style:e})=>s.jsx(ye,{href:"#header",mr:"auto",...e,children:s.jsx(xe,{src:_i,alt:"Зоюраження логотипу",width:{base:"84px"},height:{base:"62px"}})}),zn=({listItem:e,"aria-label":t,style:n,onClick:r})=>s.jsx(Se,{display:"flex",flexDirection:"column",rowGap:2,w:{base:"164px",md:"230px",lg:"213px"},"aria-label":t,...n,children:e.map((o,a)=>s.jsx(Sn,{onClick:r,children:s.jsx(ye,{href:o.to,children:o.name})},a))}),zi=[{name:"Вірні друзі",to:"#catalog"},{name:"Обрати друга",to:"#reviews"},{name:"Щасливчики",to:"#how-to-order"},{name:"Стати волонтером",to:"#contact"}],Gi=[{name:"Про нас",to:"#about-us"},{name:"Наші умови",to:"#terms"},{name:"Наша команда",to:"#contact"},{name:"Історія створення",to:"#contact"}],qi=[{name:"Локація",to:"#location"},{name:"Контакти",to:"#contact"},{name:"Інормація",to:"#info"}],ki=[{name:"Про нас",to:"#about-us"},{name:"Вірні друзі",to:"#catalog"},{name:"Наші умови",to:"#terms"},{name:"Локація",to:"#location"},{name:"Контакти",to:"#contact"}],Ei=[{name:"Домашня",to:"/"},{name:"Про нас",to:"#about-us"},{name:"Вірні друзі",to:"#catalog"},{name:"Наші умови",to:"#terms"},{name:"Локація",to:"#location"},{name:"Контакти",to:"#contact"}],Ii=e=>s.jsxs(tt,{viewBox:"0 0 56 66",w:"56px",h:"66px",...e,children:[s.jsx("g",{clipPath:"url(#clip0_33221_2230)",children:s.jsx("path",{d:"M41.3333 43C41.7581 43.0005 42.1667 43.1632 42.4756 43.4548C42.7845 43.7464 42.9704 44.1449 42.9953 44.569C43.0202 44.9931 42.8822 45.4107 42.6096 45.7364C42.3369 46.0622 41.9502 46.2715 41.5283 46.3217L41.3333 46.3334H14.6667C14.2419 46.3329 13.8333 46.1702 13.5244 45.8786C13.2155 45.587 13.0296 45.1884 13.0047 44.7644C12.9798 44.3403 13.1178 43.9227 13.3904 43.597C13.6631 43.2712 14.0498 43.0619 14.4717 43.0117L14.6667 43H41.3333ZM41.3333 31.3334C41.7754 31.3334 42.1993 31.5089 42.5118 31.8215C42.8244 32.1341 43 32.558 43 33C43 33.442 42.8244 33.866 42.5118 34.1785C42.1993 34.4911 41.7754 34.6667 41.3333 34.6667H14.6667C14.2246 34.6667 13.8007 34.4911 13.4882 34.1785C13.1756 33.866 13 33.442 13 33C13 32.558 13.1756 32.1341 13.4882 31.8215C13.8007 31.5089 14.2246 31.3334 14.6667 31.3334H41.3333ZM41.3333 19.6667C41.7754 19.6667 42.1993 19.8423 42.5118 20.1548C42.8244 20.4674 43 20.8913 43 21.3334C43 21.7754 42.8244 22.1993 42.5118 22.5119C42.1993 22.8244 41.7754 23 41.3333 23H14.6667C14.2246 23 13.8007 22.8244 13.4882 22.5119C13.1756 22.1993 13 21.7754 13 21.3334C13 20.8913 13.1756 20.4674 13.4882 20.1548C13.8007 19.8423 14.2246 19.6667 14.6667 19.6667H41.3333Z",fill:"#EF3959"})}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_33221_2230",children:s.jsx("rect",{width:"40",height:"40",fill:"white",transform:"translate(8 13)"})})})]}),Fi=e=>s.jsxs(tt,{viewBox:"0 0 56 66",w:"56px",h:"66px",...e,children:[s.jsx("rect",{x:"18.8076",y:"20.9792",width:"30",height:"4",rx:"2",transform:"rotate(45 18.8076 20.9792)",fill:"#EF3959"}),s.jsx("rect",{x:"15.9795",y:"42.1923",width:"30",height:"4",rx:"2",transform:"rotate(-45 15.9795 42.1923)",fill:"#EF3959"})]}),Qe=e=>s.jsxs(Hn,{fontSize:"20px",border:"none",w:"max-content",...e,children:[s.jsx("option",{value:"ua",children:"UA"}),s.jsx("option",{value:"en",children:"EN"})]}),ji=({btnRef:e,isOpen:t,onClose:n})=>{const r=Lt({base:!0,md:!1});return s.jsx(s.Fragment,{children:s.jsxs(gi,{isOpen:t,placement:"right",onClose:n,finalFocusRef:e,children:[s.jsx(Dn,{}),s.jsxs(An,{maxWidth:{base:"100%",md:"624px"},height:"100%",children:[s.jsx(je,{as:"header",children:s.jsxs(we,{display:"flex",alignItems:"center",gap:[2,2,0],h:["100px ","124px"],children:[r?s.jsx(Vn,{}):s.jsx($n,{}),s.jsx(je,{display:{base:"none",md:"block"},children:s.jsx(Qe,{})}),s.jsx(J,{as:"a",href:"#help",variant:"help",onClick:n,children:"Допомогти"}),s.jsx(J,{onClick:n,bgColor:"transparent",children:s.jsx(Fi,{})})]})}),s.jsxs(Bn,{mx:"auto",display:"flex",flexDirection:"column",alignItems:"center",children:[s.jsx(zn,{onClick:n,listItem:ki,"aria-label":"navigation",style:{alignItems:"center",gap:"30px"}}),s.jsx(je,{children:s.jsx(Qe,{fontSize:"16px",mt:"30px"})})]})]})]})})},Gn=()=>Lt({base:"mobile",md:"laptop",lg:"desktop"}),Pi=()=>{const e=Gn(),{isOpen:t,onOpen:n,onClose:r}=ba(),o=l.useRef(null),a=()=>e==="mobile"?s.jsx(Vn,{}):s.jsx($n,{}),i=()=>e==="desktop"&&s.jsx(zn,{listItem:Ei,"aria-label":"navigation",style:{flexDirection:"row",width:{lg:"715px"},justifyContent:"space-between",fontWeight:400}}),c=()=>e!=="mobile"&&s.jsx(Qe,{}),v=()=>s.jsx(J,{as:"a",href:"#help",variant:"help",children:"Допомогти"}),u=()=>e!=="desktop"&&s.jsx(J,{onClick:n,bgColor:"transparent",children:s.jsx(Ii,{})});return s.jsxs(we,{as:"header",id:"header",display:"flex",alignItems:"center",gap:[2,2,6],h:["100px","124px"],children:[a(),i(),c(),v(),u(),s.jsx(ji,{isOpen:t,onClose:r,btnRef:o})]})},Rt="/animal-shelter/assets/hero-image1-mob-CoPrb_CN.png",Oi="/animal-shelter/assets/hero-image1-laptop-DwIeRoXY.png",Ni="/animal-shelter/assets/hero-image1-laptop-DwIeRoXY.png",Ti="/animal-shelter/assets/decor-mob-C3ew9WrS.png",Mi=()=>{const e=Gn();let t=Rt;e==="laptop"?t=Oi:e==="desktop"?t=Ni:t=Rt;const n=()=>s.jsx(wn,{fontSize:["16px","20px","24px","30px"],fontWeight:{base:"medium",lg:"bold"},color:"custom.blackTypography",children:"Вірний друг радітиме тобі завжди. Йому потрібно дуже мало - теплий дім та дбайливий господар"}),r=()=>s.jsx(J,{as:"a",href:"#catalog",w:{base:"327px",md:"328px"},h:{base:"80px",md:"102px"},px:20,py:4,mt:{md:20},borderWidth:["4px","4px","5px","5px"],variant:"primary",children:"Обрати"}),o=()=>s.jsx(In,{alignItems:"center",justify:"center",w:{base:"100%",sm:"375px",md:"480px",lg:"615px"},my:6,bgImage:`url(${Ti})`,bgRepeat:"no-repeat",bgPosition:"center",bgSize:{base:"100% auto",sm:"346px 348px",md:"100% 515px",lg:"100% 680px"},children:s.jsx(xe,{src:t,w:["100%","286px","438px","538px"],h:["auto","370px","553px","680px"]})});return s.jsxs(we,{as:"section",id:"hero",pb:["50px","50px","92px","120px"],pt:{md:"42px"},display:"flex",flexDirection:{base:"column",md:"row"},alignItems:"center",justifyContent:"space-between",children:[s.jsxs(kn,{alignItems:"flex-start",spacing:"unset",w:{md:"480px",lg:"620px"},px:[0,"0.625rem","unset"],children:[s.jsx(En,{as:"h1",fontSize:["30px","36px","52px","64px"],fontWeight:{md:"extrabold",lg:"bold"},lineHeight:{md:1.3},mb:[4,6,10],children:"Цим оченятам дуже потрібні любов і турбота"}),s.jsx(n,{}),e!=="mobile"&&s.jsx(r,{})]}),s.jsx(o,{}),e==="mobile"&&s.jsx(r,{})]})},Ri=l.lazy(()=>H(()=>import("./SectionAbout--d1GUDf_.js"),__vite__mapDeps([0,1,2]))),Li=l.lazy(()=>H(()=>import("./SectionChoose-DL4Knl5a.js"),__vite__mapDeps([3,1,2,4]))),Ai=l.lazy(()=>H(()=>import("./SectionTerms-BeNHlgQP.js"),__vite__mapDeps([5,1,2]))),Di=l.lazy(()=>H(()=>import("./SectionLocation-uImdsoKa.js"),__vite__mapDeps([6,1,2]))),Bi=l.lazy(()=>H(()=>import("./SectionContacts-CBM7O2tV.js"),__vite__mapDeps([7,1,2]))),Wi=l.lazy(()=>H(()=>import("./SectionHelp-Cp9FxmaY.js"),__vite__mapDeps([8,1,2]))),Hi=l.lazy(()=>H(()=>import("./Footer-3kabweT8.js"),__vite__mapDeps([9,1,2]))),Ui=()=>s.jsxs(s.Fragment,{children:[s.jsx(Pi,{}),s.jsxs("main",{children:[s.jsx(Mi,{}),s.jsxs(l.Suspense,{fallback:s.jsx(br,{}),children:[s.jsx(Ri,{}),s.jsx(Li,{}),s.jsx(Ai,{}),s.jsx(Di,{}),s.jsx(Bi,{}),s.jsx(Wi,{})]})]}),s.jsx(Hi,{})]}),Yi=Object.freeze(Object.defineProperty({__proto__:null,default:Ui},Symbol.toStringTag,{value:"Module"}));export{J as B,we as C,In as F,En as H,xe as I,Se as L,zn as N,_n as S,wn as T,kn as V,Sn as a,ye as b,$n as c,Gi as d,qi as e,Yi as f,zi as l,Gn as u}; +`)},si=0,q=[];function ci(e){var t=l.useRef([]),n=l.useRef([0,0]),r=l.useRef(),o=l.useState(si++)[0],a=l.useState(Nn)[0],i=l.useRef(e);l.useEffect(function(){i.current=e},[e]),l.useEffect(function(){if(e.inert){document.body.classList.add("block-interactivity-".concat(o));var f=Gr([e.lockRef.current],(e.shards||[]).map(Mt),!0).filter(Boolean);return f.forEach(function(b){return b.classList.add("allow-interactivity-".concat(o))}),function(){document.body.classList.remove("block-interactivity-".concat(o)),f.forEach(function(b){return b.classList.remove("allow-interactivity-".concat(o))})}}},[e.inert,e.lockRef.current,e.shards]);var c=l.useCallback(function(f,b){if("touches"in f&&f.touches.length===2)return!i.current.allowPinchZoom;var x=fe(f),S=n.current,y="deltaX"in f?f.deltaX:S[0]-x[0],k="deltaY"in f?f.deltaY:S[1]-x[1],w,j=f.target,C=Math.abs(y)>Math.abs(k)?"h":"v";if("touches"in f&&C==="h"&&j.type==="range")return!1;var F=Nt(C,j);if(!F)return!0;if(F?w=C:(w=C==="v"?"h":"v",F=Nt(C,j)),!F)return!1;if(!r.current&&"changedTouches"in f&&(y||k)&&(r.current=w),!w)return!0;var _=r.current||w;return oi(_,b,f,_==="h"?y:k,!0)},[]),v=l.useCallback(function(f){var b=f;if(!(!q.length||q[q.length-1]!==a)){var x="deltaY"in b?Tt(b):fe(b),S=t.current.filter(function(w){return w.name===b.type&&(w.target===b.target||b.target===w.shadowParent)&&ai(w.delta,x)})[0];if(S&&S.should){b.cancelable&&b.preventDefault();return}if(!S){var y=(i.current.shards||[]).map(Mt).filter(Boolean).filter(function(w){return w.contains(b.target)}),k=y.length>0?c(b,y[0]):!i.current.noIsolation;k&&b.cancelable&&b.preventDefault()}}},[]),u=l.useCallback(function(f,b,x,S){var y={name:f,delta:b,target:x,should:S,shadowParent:li(x)};t.current.push(y),setTimeout(function(){t.current=t.current.filter(function(k){return k!==y})},1)},[]),m=l.useCallback(function(f){n.current=fe(f),r.current=void 0},[]),d=l.useCallback(function(f){u(f.type,Tt(f),f.target,c(f,e.lockRef.current))},[]),h=l.useCallback(function(f){u(f.type,fe(f),f.target,c(f,e.lockRef.current))},[]);l.useEffect(function(){return q.push(a),e.setCallbacks({onScrollCapture:d,onWheelCapture:d,onTouchMoveCapture:h}),document.addEventListener("wheel",v,G),document.addEventListener("touchmove",v,G),document.addEventListener("touchstart",m,G),function(){q=q.filter(function(f){return f!==a}),document.removeEventListener("wheel",v,G),document.removeEventListener("touchmove",v,G),document.removeEventListener("touchstart",m,G)}},[]);var p=e.removeScrollBar,g=e.inert;return l.createElement(l.Fragment,null,g?l.createElement(a,{styles:ii(o)}):null,p?l.createElement(Ka,{gapMode:e.gapMode}):null)}function li(e){for(var t=null;e!==null;)e instanceof ShadowRoot&&(t=e.host,e=e.host),e=e.parentNode;return t}const ui=qr(On,ci);var Ln=l.forwardRef(function(e,t){return l.createElement(_e,N({},e,{ref:t,sideCar:ui}))});Ln.classNames=_e.classNames;const di=Ln;function fi(e){const{autoFocus:t,trapFocus:n,dialogRef:r,initialFocusRef:o,blockScrollOnMount:a,allowPinchZoom:i,finalFocusRef:c,returnFocusOnClose:v,preserveScrollBarGap:u,lockFocusAcrossFrames:m,isOpen:d}=Ce(),[h,p]=hr();l.useEffect(()=>{!h&&p&&setTimeout(p)},[h,p]);const g=Fn(r,d);return s.jsx(xn,{autoFocus:t,isDisabled:!n,initialFocusRef:o,finalFocusRef:c,restoreFocus:v,contentRef:r,lockFocusAcrossFrames:m,children:s.jsx(di,{removeScrollBar:!u,allowPinchZoom:i,enabled:g===1&&a,forwardProps:!0,children:e.children})})}var[vi,mi]=W(),hi={start:{ltr:"left",rtl:"right"},end:{ltr:"right",rtl:"left"}};function pi(e,t){var n,r;if(e)return(r=(n=hi[e])==null?void 0:n[t])!=null?r:e}function gi(e){var t;const{isOpen:n,onClose:r,placement:o="right",children:a,...i}=e,c=pr(),v=(t=c.components)==null?void 0:t.Drawer,u=pi(o,c.direction);return s.jsx(vi,{value:{placement:u},children:s.jsx(Pn,{isOpen:n,onClose:r,styleConfig:v,...i,children:a})})}var bi=E(Dt),An=I((e,t)=>{const{className:n,children:r,motionProps:o,containerProps:a,...i}=e,{getDialogProps:c,getDialogContainerProps:v,isOpen:u}=Ce(),m=c(i,t),d=v(a),h=P("chakra-modal__content",n),p=vt(),g={display:"flex",flexDirection:"column",position:"relative",width:"100%",outline:0,...p.dialog},f={display:"flex",width:"100vw",height:"$100vh",position:"fixed",left:0,top:0,...p.dialogContainer},{placement:b}=mi();return s.jsx(fi,{children:s.jsx(E.div,{...d,className:"chakra-modal__content-container",__css:f,children:s.jsx(bi,{motionProps:o,direction:b,in:u,className:h,...m,__css:g,children:r})})})});An.displayName="DrawerContent";var xi=E(et.div),Dn=I((e,t)=>{const{className:n,transition:r,motionProps:o,...a}=e,i=P("chakra-modal__overlay",n),v={pos:"fixed",left:"0",top:"0",w:"100vw",h:"100vh",...vt().overlay},{motionPreset:u}=Ce(),d=o||(u==="none"?{}:At);return s.jsx(xi,{...d,__css:v,ref:t,className:i,...a})});Dn.displayName="ModalOverlay";var Bn=I((e,t)=>{const{className:n,...r}=e,{bodyId:o,setBodyMounted:a}=Ce();l.useEffect(()=>(a(!0),()=>a(!1)),[a]);const i=P("chakra-modal__body",n),c=vt();return s.jsx(E.div,{ref:t,className:i,id:o,...r,__css:c.body})});Bn.displayName="ModalBody";var Wn=I(function(t,n){const{children:r,placeholder:o,className:a,...i}=t;return s.jsxs(E.select,{...i,ref:n,className:P("chakra-select",a),children:[o&&s.jsx("option",{value:"",children:o}),r]})});Wn.displayName="SelectField";function yi(e,t){const n={},r={};for(const[o,a]of Object.entries(e))t.includes(o)?n[o]=a:r[o]=a;return[n,r]}var Hn=I((e,t)=>{var n;const r=be("Select",e),{rootProps:o,placeholder:a,icon:i,color:c,height:v,h:u,minH:m,minHeight:d,iconColor:h,iconSize:p,...g}=R(e),[f,b]=yi(g,gr),x=Dr(b),S={width:"100%",height:"fit-content",position:"relative",color:c},y={paddingEnd:"2rem",...r.field,_focus:{zIndex:"unset",...(n=r.field)==null?void 0:n._focus}};return s.jsxs(E.div,{className:"chakra-select__wrapper",__css:S,...f,...o,children:[s.jsx(Wn,{ref:t,height:u??v,minH:m??d,placeholder:a,...x,__css:y,children:e.children}),s.jsx(Un,{"data-disabled":O(x.disabled),...(h||c)&&{color:h||c},__css:r.icon,...p&&{fontSize:p},children:i})]})});Hn.displayName="Select";var Si=e=>s.jsx("svg",{viewBox:"0 0 24 24",...e,children:s.jsx("path",{fill:"currentColor",d:"M16.59 8.59L12 13.17 7.41 8.59 6 10l6 6 6-6z"})}),wi=E("div",{baseStyle:{position:"absolute",display:"inline-flex",alignItems:"center",justifyContent:"center",pointerEvents:"none",top:"50%",transform:"translateY(-50%)"}}),Un=e=>{const{children:t=s.jsx(Si,{}),...n}=e,r=l.cloneElement(t,{role:"presentation",className:"chakra-select__icon",focusable:!1,"aria-hidden":!0,style:{width:"1em",height:"1em",color:"currentColor"}});return s.jsx(wi,{...n,className:"chakra-select__icon-wrapper",children:l.isValidElement(t)?r:null})};Un.displayName="SelectIcon";const Ci="/animal-shelter/assets/logo-desk-tablet-Cn5oUYvm.svg",_i="/animal-shelter/assets/logo-mobile-D6XhGB3T.svg",$n=({style:e})=>s.jsx(ye,{href:"#header",mr:"auto",...e,children:s.jsx(xe,{src:Ci,alt:"Зоюраження логотипу",width:{base:"212px"},height:{base:"62px"}})}),Vn=({style:e})=>s.jsx(ye,{href:"#header",mr:"auto",...e,children:s.jsx(xe,{src:_i,alt:"Зоюраження логотипу",width:{base:"84px"},height:{base:"62px"}})}),zn=({listItem:e,"aria-label":t,style:n,onClick:r})=>s.jsx(Se,{display:"flex",flexDirection:"column",rowGap:2,w:{base:"164px",md:"230px",lg:"213px"},"aria-label":t,...n,children:e.map((o,a)=>s.jsx(Sn,{onClick:r,children:s.jsx(ye,{href:o.to,children:o.name})},a))}),zi=[{name:"Вірні друзі",to:"#catalog"},{name:"Обрати друга",to:"#reviews"},{name:"Щасливчики",to:"#how-to-order"},{name:"Стати волонтером",to:"#contact"}],Gi=[{name:"Про нас",to:"#about-us"},{name:"Наші умови",to:"#terms"},{name:"Наша команда",to:"#contact"},{name:"Історія створення",to:"#contact"}],qi=[{name:"Локація",to:"#location"},{name:"Контакти",to:"#contact"},{name:"Інормація",to:"#info"}],ki=[{name:"Про нас",to:"#about-us"},{name:"Вірні друзі",to:"#catalog"},{name:"Наші умови",to:"#terms"},{name:"Локація",to:"#location"},{name:"Контакти",to:"#contact"}],Ei=[{name:"Домашня",to:"/"},{name:"Про нас",to:"#about-us"},{name:"Вірні друзі",to:"#catalog"},{name:"Наші умови",to:"#terms"},{name:"Локація",to:"#location"},{name:"Контакти",to:"#contact"}],Ii=e=>s.jsxs(tt,{viewBox:"0 0 56 66",w:"56px",h:"66px",...e,children:[s.jsx("g",{clipPath:"url(#clip0_33221_2230)",children:s.jsx("path",{d:"M41.3333 43C41.7581 43.0005 42.1667 43.1632 42.4756 43.4548C42.7845 43.7464 42.9704 44.1449 42.9953 44.569C43.0202 44.9931 42.8822 45.4107 42.6096 45.7364C42.3369 46.0622 41.9502 46.2715 41.5283 46.3217L41.3333 46.3334H14.6667C14.2419 46.3329 13.8333 46.1702 13.5244 45.8786C13.2155 45.587 13.0296 45.1884 13.0047 44.7644C12.9798 44.3403 13.1178 43.9227 13.3904 43.597C13.6631 43.2712 14.0498 43.0619 14.4717 43.0117L14.6667 43H41.3333ZM41.3333 31.3334C41.7754 31.3334 42.1993 31.5089 42.5118 31.8215C42.8244 32.1341 43 32.558 43 33C43 33.442 42.8244 33.866 42.5118 34.1785C42.1993 34.4911 41.7754 34.6667 41.3333 34.6667H14.6667C14.2246 34.6667 13.8007 34.4911 13.4882 34.1785C13.1756 33.866 13 33.442 13 33C13 32.558 13.1756 32.1341 13.4882 31.8215C13.8007 31.5089 14.2246 31.3334 14.6667 31.3334H41.3333ZM41.3333 19.6667C41.7754 19.6667 42.1993 19.8423 42.5118 20.1548C42.8244 20.4674 43 20.8913 43 21.3334C43 21.7754 42.8244 22.1993 42.5118 22.5119C42.1993 22.8244 41.7754 23 41.3333 23H14.6667C14.2246 23 13.8007 22.8244 13.4882 22.5119C13.1756 22.1993 13 21.7754 13 21.3334C13 20.8913 13.1756 20.4674 13.4882 20.1548C13.8007 19.8423 14.2246 19.6667 14.6667 19.6667H41.3333Z",fill:"#EF3959"})}),s.jsx("defs",{children:s.jsx("clipPath",{id:"clip0_33221_2230",children:s.jsx("rect",{width:"40",height:"40",fill:"white",transform:"translate(8 13)"})})})]}),Fi=e=>s.jsxs(tt,{viewBox:"0 0 56 66",w:"56px",h:"66px",...e,children:[s.jsx("rect",{x:"18.8076",y:"20.9792",width:"30",height:"4",rx:"2",transform:"rotate(45 18.8076 20.9792)",fill:"#EF3959"}),s.jsx("rect",{x:"15.9795",y:"42.1923",width:"30",height:"4",rx:"2",transform:"rotate(-45 15.9795 42.1923)",fill:"#EF3959"})]}),Qe=e=>s.jsxs(Hn,{fontSize:"20px",border:"none",w:"max-content",...e,children:[s.jsx("option",{value:"ua",children:"UA"}),s.jsx("option",{value:"en",children:"EN"})]}),ji=({btnRef:e,isOpen:t,onClose:n})=>{const r=Lt({base:!0,md:!1});return s.jsx(s.Fragment,{children:s.jsxs(gi,{isOpen:t,placement:"right",onClose:n,finalFocusRef:e,children:[s.jsx(Dn,{}),s.jsxs(An,{maxWidth:{base:"100%",md:"624px"},height:"100%",children:[s.jsx(je,{as:"header",children:s.jsxs(we,{display:"flex",alignItems:"center",gap:[2,2,0],h:["100px ","124px"],children:[r?s.jsx(Vn,{}):s.jsx($n,{}),s.jsx(je,{display:{base:"none",md:"block"},children:s.jsx(Qe,{})}),s.jsx(J,{as:"a",href:"#help",variant:"help",onClick:n,children:"Допомогти"}),s.jsx(J,{onClick:n,bgColor:"transparent",children:s.jsx(Fi,{})})]})}),s.jsxs(Bn,{mx:"auto",display:"flex",flexDirection:"column",alignItems:"center",children:[s.jsx(zn,{onClick:n,listItem:ki,"aria-label":"navigation",style:{alignItems:"center",gap:"30px"}}),s.jsx(je,{children:s.jsx(Qe,{fontSize:"16px",mt:"30px"})})]})]})]})})},Gn=()=>Lt({base:"mobile",md:"laptop",lg:"desktop"}),Pi=()=>{const e=Gn(),{isOpen:t,onOpen:n,onClose:r}=ba(),o=l.useRef(null),a=()=>e==="mobile"?s.jsx(Vn,{}):s.jsx($n,{}),i=()=>e==="desktop"&&s.jsx(zn,{listItem:Ei,"aria-label":"navigation",style:{flexDirection:"row",width:{lg:"715px"},justifyContent:"space-between",fontWeight:400}}),c=()=>e!=="mobile"&&s.jsx(Qe,{}),v=()=>s.jsx(J,{as:"a",href:"#help",variant:"help",children:"Допомогти"}),u=()=>e!=="desktop"&&s.jsx(J,{onClick:n,bgColor:"transparent",children:s.jsx(Ii,{})});return s.jsxs(we,{as:"header",id:"header",display:"flex",alignItems:"center",gap:[2,2,6],h:["100px","124px"],children:[a(),i(),c(),v(),u(),s.jsx(ji,{isOpen:t,onClose:r,btnRef:o})]})},Rt="/animal-shelter/assets/hero-image1-mob-CoPrb_CN.png",Oi="/animal-shelter/assets/hero-image1-laptop-DwIeRoXY.png",Ni="/animal-shelter/assets/hero-image1-laptop-DwIeRoXY.png",Ti="/animal-shelter/assets/decor-mob-C3ew9WrS.png",Mi=()=>{const e=Gn();let t=Rt;e==="laptop"?t=Oi:e==="desktop"?t=Ni:t=Rt;const n=()=>s.jsx(wn,{fontSize:["16px","20px","24px","30px"],fontWeight:{base:"medium",lg:"bold"},color:"custom.blackTypography",children:"Вірний друг радітиме тобі завжди. Йому потрібно дуже мало - теплий дім та дбайливий господар"}),r=()=>s.jsx(J,{as:"a",href:"#catalog",w:{base:"327px",md:"328px"},h:{base:"80px",md:"102px"},px:20,py:4,mt:{md:20},borderWidth:["4px","4px","5px","5px"],variant:"primary",children:"Обрати"}),o=()=>s.jsx(In,{alignItems:"center",justify:"center",w:{base:"100%",sm:"375px",md:"480px",lg:"615px"},my:6,bgImage:`url(${Ti})`,bgRepeat:"no-repeat",bgPosition:"center",bgSize:{base:"100% auto",sm:"346px 348px",md:"100% 515px",lg:"100% 680px"},children:s.jsx(xe,{src:t,w:["100%","286px","438px","538px"],h:["auto","370px","553px","680px"]})});return s.jsxs(we,{as:"section",id:"hero",pb:["50px","50px","92px","120px"],pt:{md:"42px"},display:"flex",flexDirection:{base:"column",md:"row"},alignItems:"center",justifyContent:"space-between",children:[s.jsxs(kn,{alignItems:"flex-start",spacing:"unset",w:{md:"480px",lg:"620px"},px:[0,"0.625rem","unset"],children:[s.jsx(En,{as:"h1",fontSize:["30px","36px","52px","64px"],fontWeight:{md:"extrabold",lg:"bold"},lineHeight:{md:1.3},mb:[4,6,10],children:"Цим оченятам дуже потрібні любов і турбота"}),s.jsx(n,{}),e!=="mobile"&&s.jsx(r,{})]}),s.jsx(o,{}),e==="mobile"&&s.jsx(r,{})]})},Ri=l.lazy(()=>H(()=>import("./SectionAbout-nHSfTvAa.js"),__vite__mapDeps([0,1,2]))),Li=l.lazy(()=>H(()=>import("./SectionChoose-EY5kb9gg.js"),__vite__mapDeps([3,1,2,4]))),Ai=l.lazy(()=>H(()=>import("./SectionTerms-CGFhImGe.js"),__vite__mapDeps([5,1,2]))),Di=l.lazy(()=>H(()=>import("./SectionLocation-BqBNdELa.js"),__vite__mapDeps([6,1,2]))),Bi=l.lazy(()=>H(()=>import("./SectionContacts-C3DeEPPS.js"),__vite__mapDeps([7,1,2]))),Wi=l.lazy(()=>H(()=>import("./SectionHelp-I-QdLtPy.js"),__vite__mapDeps([8,1,2]))),Hi=l.lazy(()=>H(()=>import("./Footer-Bi7fjyUQ.js"),__vite__mapDeps([9,1,2]))),Ui=()=>s.jsxs(s.Fragment,{children:[s.jsx(Pi,{}),s.jsxs("main",{children:[s.jsx(Mi,{}),s.jsxs(l.Suspense,{fallback:s.jsx(br,{}),children:[s.jsx(Ri,{}),s.jsx(Li,{}),s.jsx(Ai,{}),s.jsx(Di,{}),s.jsx(Bi,{}),s.jsx(Wi,{})]})]}),s.jsx(Hi,{})]}),Yi=Object.freeze(Object.defineProperty({__proto__:null,default:Ui},Symbol.toStringTag,{value:"Module"}));export{J as B,we as C,In as F,En as H,xe as I,Se as L,zn as N,_n as S,wn as T,kn as V,Sn as a,ye as b,$n as c,Gi as d,qi as e,Yi as f,zi as l,Gn as u}; diff --git a/assets/SectionAbout--d1GUDf_.js b/assets/SectionAbout-nHSfTvAa.js similarity index 94% rename from assets/SectionAbout--d1GUDf_.js rename to assets/SectionAbout-nHSfTvAa.js index f50204b..ab3a4f5 100644 --- a/assets/SectionAbout--d1GUDf_.js +++ b/assets/SectionAbout-nHSfTvAa.js @@ -1 +1 @@ -import{j as e,r,B as x}from"./index-DGkqr4dg.js";import{T as l,u as c,C as d,V as m,H as p,B as b,I as j}from"./LandingPage-B77_cH7x.js";const u="/animal-shelter/assets/about-image2-mob-Dy45mh5p.png",h=({text:t,isExpanded:s})=>{const n={display:"-webkit-box",WebkitLineClamp:s?"none":{base:9,md:15},WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",fontSize:{md:"24px"},fontWeight:{md:"500"},height:s?"auto":{base:"220px",md:"330px"}};return e.jsx(l,{sx:n,children:t})},k=()=>{const t=c(),[s,n]=r.useState(!1),o=()=>{n(!s)},i=e.jsxs(e.Fragment,{children:["В притулку весь час знаходиться 350 дорослих та 20 цуценят. В залежності від швидкості прилаштувань цифри змінюються.",e.jsx("br",{}),"Все почалося зі співчуття до масово викинутих тварин у місті, доля яких всім була байдужою. Власними зусиллями та особистими коштами волонтерів та небайдужих людей ми розпочали прилаштування та стерилізацію тварин для зменшення кількості безхатьків.",e.jsx("br",{}),"За роки нашої праці в рік стерилізується понад 400 тварин, а дім знаходять близько 240 безхатьків, деяких вдається прилаштувати навіть за кордон. Ми постійно покращуємо умови для проживання собак, проводимо ремонтні роботи вольєрів, облагороджуємо територію притулку. Проводимо масову вакцинацію собак, щоб уникнути спалаху захворювань.",e.jsx("br",{}),e.jsx("br",{}),"Наша робота вимагає дуже багато зусиль, як фізичних, так і фінансових. Допомога від міста полягає тільки у стерилізації та кастрації тварин, а всі інші витрати, включно із зарплатою, оплатою комунальних послуг, ремонтними роботами та лікуванням хворих тварин - це все на руках волонтерів та благодійних коштах.",e.jsx("br",{}),e.jsx("br",{}),"Ми щиро сподіваємося, що наша праця не марна і нас підтримають люди по всьому світу!"]}),a=()=>e.jsx(j,{src:u,alt:"зображення пса в лісі",w:{md:"452px"},height:{md:"488px"}});return e.jsx(x,{as:"section",id:"about-us",pb:{base:"50px",sm:"60px",md:"100px"},children:e.jsxs(d,{display:"flex",flexDirection:{base:"column",md:"row"},justifyContent:"center",alignItems:{md:"center"},gap:"24px",children:[t!=="mobile"&&e.jsx(a,{}),e.jsxs(m,{spacing:{base:6,md:10},children:[e.jsx(p,{as:"h2",variant:"sectionHeading",children:"Про нас"}),t==="mobile"&&e.jsx(a,{}),e.jsx(h,{text:i,isExpanded:s}),e.jsx(b,{onClick:o,variant:"secondary",children:s?"Менше":"Детальніше"})]})]})})};export{k as default}; +import{j as e,r,B as x}from"./index-Rndj8vN-.js";import{T as l,u as c,C as d,V as m,H as p,B as b,I as j}from"./LandingPage-DlUn22BL.js";const u="/animal-shelter/assets/about-image2-mob-Dy45mh5p.png",h=({text:t,isExpanded:s})=>{const n={display:"-webkit-box",WebkitLineClamp:s?"none":{base:9,md:15},WebkitBoxOrient:"vertical",overflow:"hidden",textOverflow:"ellipsis",fontSize:{md:"24px"},fontWeight:{md:"500"},height:s?"auto":{base:"220px",md:"330px"}};return e.jsx(l,{sx:n,children:t})},k=()=>{const t=c(),[s,n]=r.useState(!1),o=()=>{n(!s)},i=e.jsxs(e.Fragment,{children:["В притулку весь час знаходиться 350 дорослих та 20 цуценят. В залежності від швидкості прилаштувань цифри змінюються.",e.jsx("br",{}),"Все почалося зі співчуття до масово викинутих тварин у місті, доля яких всім була байдужою. Власними зусиллями та особистими коштами волонтерів та небайдужих людей ми розпочали прилаштування та стерилізацію тварин для зменшення кількості безхатьків.",e.jsx("br",{}),"За роки нашої праці в рік стерилізується понад 400 тварин, а дім знаходять близько 240 безхатьків, деяких вдається прилаштувати навіть за кордон. Ми постійно покращуємо умови для проживання собак, проводимо ремонтні роботи вольєрів, облагороджуємо територію притулку. Проводимо масову вакцинацію собак, щоб уникнути спалаху захворювань.",e.jsx("br",{}),e.jsx("br",{}),"Наша робота вимагає дуже багато зусиль, як фізичних, так і фінансових. Допомога від міста полягає тільки у стерилізації та кастрації тварин, а всі інші витрати, включно із зарплатою, оплатою комунальних послуг, ремонтними роботами та лікуванням хворих тварин - це все на руках волонтерів та благодійних коштах.",e.jsx("br",{}),e.jsx("br",{}),"Ми щиро сподіваємося, що наша праця не марна і нас підтримають люди по всьому світу!"]}),a=()=>e.jsx(j,{src:u,alt:"зображення пса в лісі",w:{md:"452px"},height:{md:"488px"}});return e.jsx(x,{as:"section",id:"about-us",pb:{base:"50px",sm:"60px",md:"100px"},children:e.jsxs(d,{display:"flex",flexDirection:{base:"column",md:"row"},justifyContent:"center",alignItems:{md:"center"},gap:"24px",children:[t!=="mobile"&&e.jsx(a,{}),e.jsxs(m,{spacing:{base:6,md:10},children:[e.jsx(p,{as:"h2",variant:"sectionHeading",children:"Про нас"}),t==="mobile"&&e.jsx(a,{}),e.jsx(h,{text:i,isExpanded:s}),e.jsx(b,{onClick:o,variant:"secondary",children:s?"Менше":"Детальніше"})]})]})})};export{k as default}; diff --git a/assets/SectionChoose-DL4Knl5a.js b/assets/SectionChoose-EY5kb9gg.js similarity index 99% rename from assets/SectionChoose-DL4Knl5a.js rename to assets/SectionChoose-EY5kb9gg.js index b7bec5e..cec4c30 100644 --- a/assets/SectionChoose-DL4Knl5a.js +++ b/assets/SectionChoose-EY5kb9gg.js @@ -1 +1 @@ -import{r as D,R as j,j as z,B as ee,I as He,s as Pe}from"./index-DGkqr4dg.js";import{H as Ce,T as Me,I as We,F as qe,u as Ye,B as Xe,L as Ke,a as Ue}from"./LandingPage-B77_cH7x.js";const ve=[{id:"1",name:"Дружок",age:{year:"1",month:"3"},imgLg:"./animals/drywok.jpg",imgMob:"./animals/mob/drywok.jpg",description:"Собака породи лабрадор"},{id:"2",name:"Бім",age:{year:"",month:"8"},imgLg:"./animals/bim.jpg",imgMob:"./animals/mob/bim.jpg",description:"Собака"},{id:"3",name:"Сільвер",age:{year:"1",month:"9"},imgLg:"./animals/silver.jpg",imgMob:"./animals/mob/silver.jpg",description:"Кіт"},{id:"4",name:"Білка",age:{year:"2",month:""},imgLg:"./animals/bilka.jpg",imgMob:"./animals/mob/bilka.jpg",description:"Руда кішка"},{id:"5",name:"Лаккі",age:{year:"2",month:"1"},imgLg:"animals/lucky.jpg",imgMob:"animals/mob/lucky.jpg",description:"Пес"},{id:"6",name:"Джек",age:{year:"2",month:"1"},imgLg:"animals/mob/jack.jpg",imgMob:"animals/mob/jack.jpg",description:"Пес"},{id:"7",name:"Буся",age:{year:"2",month:"1"},imgLg:"animals/mob/bysya.jpg",imgMob:"animals/mob/bysya.jpg",description:"Пес"},{id:"8",name:"Журик",age:{year:"1",month:""},imgLg:"animals/wyruk.jpg",imgMob:"animals/wyruk.jpg",description:"Пес"}];function we(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function he(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:we(e[i])&&we(t[i])&&Object.keys(e[i]).length>0&&he(t[i],e[i])})}const Ie={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function k(){const t=typeof document<"u"?document:{};return he(t,Ie),t}const Ze={document:Ie,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function N(){const t=typeof window<"u"?window:{};return he(t,Ze),t}function Je(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Qe(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function ue(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function te(){return Date.now()}function et(t){const e=N();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function tt(t,e){e===void 0&&(e="x");const i=N();let s,n,r;const l=et(t);return i.WebKitCSSMatrix?(n=l.transform||l.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(o=>o.replace(",",".")).join(", ")),r=new i.WebKitCSSMatrix(n==="none"?"":n)):(r=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=r.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?n=r.m41:s.length===16?n=parseFloat(s[12]):n=parseFloat(s[4])),e==="y"&&(i.WebKitCSSMatrix?n=r.m42:s.length===16?n=parseFloat(s[13]):n=parseFloat(s[5])),n||0}function Z(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function it(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function B(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;ie.indexOf(r)<0);for(let r=0,l=n.length;rr?"next":"prev",d=(p,f)=>u==="next"&&p>=f||u==="prev"&&p<=f,c=()=>{o=new Date().getTime(),l===null&&(l=o);const p=Math.max(Math.min((o-l)/a,1),0),f=.5-Math.cos(p*Math.PI)/2;let h=r+f*(i-r);if(d(h,i)&&(h=i),e.wrapperEl.scrollTo({[s]:h}),d(h,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:h})}),n.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=n.requestAnimationFrame(c)};c()}function $(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function ie(t){try{console.warn(t);return}catch{}}function fe(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Je(e)),i}function st(t,e){const i=[];for(;t.previousElementSibling;){const s=t.previousElementSibling;e?s.matches(e)&&i.push(s):i.push(s),t=s}return i}function rt(t,e){const i=[];for(;t.nextElementSibling;){const s=t.nextElementSibling;e?s.matches(e)&&i.push(s):i.push(s),t=s}return i}function H(t,e){return N().getComputedStyle(t,null).getPropertyValue(e)}function Se(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function nt(t,e){const i=[];let s=t.parentElement;for(;s;)e?s.matches(e)&&i.push(s):i.push(s),s=s.parentElement;return i}function xe(t,e,i){const s=N();return i?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}let re;function at(){const t=N(),e=k();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Oe(){return re||(re=at()),re}let ne;function lt(t){let{userAgent:e}=t===void 0?{}:t;const i=Oe(),s=N(),n=s.navigator.platform,r=e||s.navigator.userAgent,l={ios:!1,android:!1},o=s.screen.width,a=s.screen.height,u=r.match(/(Android);?[\s\/]+([\d.]+)?/);let d=r.match(/(iPad).*OS\s([\d_]+)/);const c=r.match(/(iPod)(.*OS\s([\d_]+))?/),p=!d&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=n==="Win32";let h=n==="MacIntel";const v=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&h&&i.touch&&v.indexOf(`${o}x${a}`)>=0&&(d=r.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),h=!1),u&&!f&&(l.os="android",l.android=!0),(d||p||c)&&(l.os="ios",l.ios=!0),l}function ze(t){return t===void 0&&(t={}),ne||(ne=lt(t)),ne}let ae;function ot(){const t=N(),e=ze();let i=!1;function s(){const o=t.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(s()){const o=String(t.navigator.userAgent);if(o.includes("Version/")){const[a,u]=o.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=a<16||a===16&&u<2}}const n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),r=s(),l=r||n&&e.ios;return{isSafari:i||r,needPerspectiveFix:i,need3dFix:l,isWebView:n}}function dt(){return ae||(ae=ot()),ae}function ct(t){let{swiper:e,on:i,emit:s}=t;const n=N();let r=null,l=null;const o=()=>{!e||e.destroyed||!e.initialized||(s("beforeResize"),s("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(r=new ResizeObserver(c=>{l=n.requestAnimationFrame(()=>{const{width:p,height:f}=e;let h=p,v=f;c.forEach(b=>{let{contentBoxSize:m,contentRect:T,target:g}=b;g&&g!==e.el||(h=T?T.width:(m[0]||m).inlineSize,v=T?T.height:(m[0]||m).blockSize)}),(h!==p||v!==f)&&o()})}),r.observe(e.el))},u=()=>{l&&n.cancelAnimationFrame(l),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},d=()=>{!e||e.destroyed||!e.initialized||s("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof n.ResizeObserver<"u"){a();return}n.addEventListener("resize",o),n.addEventListener("orientationchange",d)}),i("destroy",()=>{u(),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",d)})}function ut(t){let{swiper:e,extendParams:i,on:s,emit:n}=t;const r=[],l=N(),o=function(d,c){c===void 0&&(c={});const p=l.MutationObserver||l.WebkitMutationObserver,f=new p(h=>{if(e.__preventObserver__)return;if(h.length===1){n("observerUpdate",h[0]);return}const v=function(){n("observerUpdate",h[0])};l.requestAnimationFrame?l.requestAnimationFrame(v):l.setTimeout(v,0)});f.observe(d,{attributes:typeof c.attributes>"u"?!0:c.attributes,childList:typeof c.childList>"u"?!0:c.childList,characterData:typeof c.characterData>"u"?!0:c.characterData}),r.push(f)},a=()=>{if(e.params.observer){if(e.params.observeParents){const d=nt(e.hostEl);for(let c=0;c{r.forEach(d=>{d.disconnect()}),r.splice(0,r.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",a),s("destroy",u)}var ft={on(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;const n=i?"unshift":"push";return t.split(" ").forEach(r=>{s.eventsListeners[r]||(s.eventsListeners[r]=[]),s.eventsListeners[r][n](e)}),s},once(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;function n(){s.off(t,n),n.__emitterProxy&&delete n.__emitterProxy;for(var r=arguments.length,l=new Array(r),o=0;o=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(s=>{typeof e>"u"?i.eventsListeners[s]=[]:i.eventsListeners[s]&&i.eventsListeners[s].forEach((n,r)=>{(n===e||n.__emitterProxy&&n.__emitterProxy===e)&&i.eventsListeners[s].splice(r,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,s;for(var n=arguments.length,r=new Array(n),l=0;l{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(s,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(u=>{u.apply(s,i)})}),t}};function pt(){const t=this;let e,i;const s=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=s.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=s.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(H(s,"padding-left")||0,10)-parseInt(H(s,"padding-right")||0,10),i=i-parseInt(H(s,"padding-top")||0,10)-parseInt(H(s,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function mt(){const t=this;function e(w,E){return parseFloat(w.getPropertyValue(t.getDirectionLabel(E))||0)}const i=t.params,{wrapperEl:s,slidesEl:n,size:r,rtlTranslate:l,wrongRTL:o}=t,a=t.virtual&&i.virtual.enabled,u=a?t.virtual.slides.length:t.slides.length,d=$(n,`.${t.params.slideClass}, swiper-slide`),c=a?t.virtual.slides.length:d.length;let p=[];const f=[],h=[];let v=i.slidesOffsetBefore;typeof v=="function"&&(v=i.slidesOffsetBefore.call(t));let b=i.slidesOffsetAfter;typeof b=="function"&&(b=i.slidesOffsetAfter.call(t));const m=t.snapGrid.length,T=t.slidesGrid.length;let g=i.spaceBetween,S=-v,x=0,I=0;if(typeof r>"u")return;typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*r:typeof g=="string"&&(g=parseFloat(g)),t.virtualSize=-g,d.forEach(w=>{l?w.style.marginLeft="":w.style.marginRight="",w.style.marginBottom="",w.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(J(s,"--swiper-centered-offset-before",""),J(s,"--swiper-centered-offset-after",""));const G=i.grid&&i.grid.rows>1&&t.grid;G?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let M;const y=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(w=>typeof i.breakpoints[w].slidesPerView<"u").length>0;for(let w=0;w1&&p.push(t.virtualSize-r)}if(a&&i.loop){const w=h[0]+g;if(i.slidesPerGroup>1){const E=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),C=w*i.slidesPerGroup;for(let P=0;P!i.cssMode||i.loop?!0:C!==d.length-1).forEach(E=>{E.style[w]=`${g}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let w=0;h.forEach(C=>{w+=C+(g||0)}),w-=g;const E=w-r;p=p.map(C=>C<=0?-v:C>E?E+b:C)}if(i.centerInsufficientSlides){let w=0;if(h.forEach(E=>{w+=E+(g||0)}),w-=g,w{p[P]=C-E}),f.forEach((C,P)=>{f[P]=C+E})}}if(Object.assign(t,{slides:d,snapGrid:p,slidesGrid:f,slidesSizesGrid:h}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){J(s,"--swiper-centered-offset-before",`${-p[0]}px`),J(s,"--swiper-centered-offset-after",`${t.size/2-h[h.length-1]/2}px`);const w=-t.snapGrid[0],E=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(C=>C+w),t.slidesGrid=t.slidesGrid.map(C=>C+E)}if(c!==u&&t.emit("slidesLengthChange"),p.length!==m&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==T&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const w=`${i.containerModifierClass}backface-hidden`,E=t.el.classList.contains(w);c<=i.maxBackfaceHiddenSlides?E||t.el.classList.add(w):E&&t.el.classList.remove(w)}}function ht(t){const e=this,i=[],s=e.virtual&&e.params.virtual.enabled;let n=0,r;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const l=o=>s?e.slides[e.getSlideIndexByData(o)]:e.slides[o];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(o=>{i.push(o)});else for(r=0;re.slides.length&&!s)break;i.push(l(o))}else i.push(l(e.activeIndex));for(r=0;rn?o:n}(n||n===0)&&(e.wrapperEl.style.height=`${n}px`)}function gt(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let s=0;s"u"&&e.updateSlidesOffset();let l=-t;n&&(l=t),s.forEach(a=>{a.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let o=i.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*e.size:typeof o=="string"&&(o=parseFloat(o));for(let a=0;a=0&&f<=e.size-e.slidesSizesGrid[a];(f>=0&&f1&&h<=e.size||f<=0&&h>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(a),s[a].classList.add(i.slideVisibleClass)),v&&s[a].classList.add(i.slideFullyVisibleClass),u.progress=n?-c:c,u.originalProgress=n?-p:p}}function wt(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,s=e.maxTranslate()-e.minTranslate();let{progress:n,isBeginning:r,isEnd:l,progressLoop:o}=e;const a=r,u=l;if(s===0)n=0,r=!0,l=!0;else{n=(t-e.minTranslate())/s;const d=Math.abs(t-e.minTranslate())<1,c=Math.abs(t-e.maxTranslate())<1;r=d||n<=0,l=c||n>=1,d&&(n=0),c&&(n=1)}if(i.loop){const d=e.getSlideIndexByData(0),c=e.getSlideIndexByData(e.slides.length-1),p=e.slidesGrid[d],f=e.slidesGrid[c],h=e.slidesGrid[e.slidesGrid.length-1],v=Math.abs(t);v>=p?o=(v-p)/h:o=(v+h-f)/h,o>1&&(o-=1)}Object.assign(e,{progress:n,progressLoop:o,isBeginning:r,isEnd:l}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),r&&!a&&e.emit("reachBeginning toEdge"),l&&!u&&e.emit("reachEnd toEdge"),(a&&!r||u&&!l)&&e.emit("fromEdge"),e.emit("progress",n)}const le=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function St(){const t=this,{slides:e,params:i,slidesEl:s,activeIndex:n}=t,r=t.virtual&&i.virtual.enabled,l=t.grid&&i.grid&&i.grid.rows>1,o=c=>$(s,`.${i.slideClass}${c}, swiper-slide${c}`)[0];let a,u,d;if(r)if(i.loop){let c=n-t.virtual.slidesBefore;c<0&&(c=t.virtual.slides.length+c),c>=t.virtual.slides.length&&(c-=t.virtual.slides.length),a=o(`[data-swiper-slide-index="${c}"]`)}else a=o(`[data-swiper-slide-index="${n}"]`);else l?(a=e.filter(c=>c.column===n)[0],d=e.filter(c=>c.column===n+1)[0],u=e.filter(c=>c.column===n-1)[0]):a=e[n];a&&(l||(d=rt(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),u=st(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]))),e.forEach(c=>{le(c,c===a,i.slideActiveClass),le(c,c===d,i.slideNextClass),le(c,c===u,i.slidePrevClass)}),t.emitSlidesClasses()}const Q=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,s=e.closest(i());if(s){let n=s.querySelector(`.${t.params.lazyPreloaderClass}`);!n&&t.isElement&&(s.shadowRoot?n=s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{s.shadowRoot&&(n=s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),n&&n.remove())})),n&&n.remove()}},oe=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},pe=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const s=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),n=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const l=n,o=[l-e];o.push(...Array.from({length:e}).map((a,u)=>l+s+u)),t.slides.forEach((a,u)=>{o.includes(a.column)&&oe(t,u)});return}const r=n+s-1;if(t.params.rewind||t.params.loop)for(let l=n-e;l<=r+e;l+=1){const o=(l%i+i)%i;(or)&&oe(t,o)}else for(let l=Math.max(n-e,0);l<=Math.min(r+e,i-1);l+=1)l!==n&&(l>r||l=e[r]&&s=e[r]&&s=e[r]&&(n=r);return i.normalizeSlideIndex&&(n<0||typeof n>"u")&&(n=0),n}function bt(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:s,params:n,activeIndex:r,realIndex:l,snapIndex:o}=e;let a=t,u;const d=f=>{let h=f-e.virtual.slidesBefore;return h<0&&(h=e.virtual.slides.length+h),h>=e.virtual.slides.length&&(h-=e.virtual.slides.length),h};if(typeof a>"u"&&(a=xt(e)),s.indexOf(i)>=0)u=s.indexOf(i);else{const f=Math.min(n.slidesPerGroupSkip,a);u=f+Math.floor((a-f)/n.slidesPerGroup)}if(u>=s.length&&(u=s.length-1),a===r&&!e.params.loop){u!==o&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(a===r&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(a);return}const c=e.grid&&n.grid&&n.grid.rows>1;let p;if(e.virtual&&n.virtual.enabled&&n.loop)p=d(a);else if(c){const f=e.slides.filter(v=>v.column===a)[0];let h=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(e.slides.indexOf(f),0)),p=Math.floor(h/n.grid.rows)}else if(e.slides[a]){const f=e.slides[a].getAttribute("data-swiper-slide-index");f?p=parseInt(f,10):p=a}else p=a;Object.assign(e,{previousSnapIndex:o,snapIndex:u,previousRealIndex:l,realIndex:p,previousIndex:r,activeIndex:a}),e.initialized&&pe(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(l!==p&&e.emit("realIndexChange"),e.emit("slideChange"))}function Tt(t,e){const i=this,s=i.params;let n=t.closest(`.${s.slideClass}, swiper-slide`);!n&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(o=>{!n&&o.matches&&o.matches(`.${s.slideClass}, swiper-slide`)&&(n=o)});let r=!1,l;if(n){for(let o=0;oa?d=a:s&&tl?o="next":r"u"&&(e=r.params.speed);const v=Math.min(r.params.slidesPerGroupSkip,l);let b=v+Math.floor((l-v)/r.params.slidesPerGroup);b>=a.length&&(b=a.length-1);const m=-a[b];if(o.normalizeSlideIndex)for(let g=0;g=x&&S=x&&S=x&&(l=g)}if(r.initialized&&l!==c&&(!r.allowSlideNext&&(p?m>r.translate&&m>r.minTranslate():mr.translate&&m>r.maxTranslate()&&(c||0)!==l))return!1;l!==(d||0)&&i&&r.emit("beforeSlideChangeStart"),r.updateProgress(m);let T;if(l>c?T="next":l0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[g?"scrollLeft":"scrollTop"]=S})):f[g?"scrollLeft":"scrollTop"]=S,x&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1})}else{if(!r.support.smoothScroll)return Le({swiper:r,targetPosition:S,side:g?"left":"top"}),!0;f.scrollTo({[g?"left":"top"]:S,behavior:"smooth"})}return!0}return r.setTransition(e),r.setTranslate(m),r.updateActiveIndex(l),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,s),r.transitionStart(i,T),e===0?r.transitionEnd(i,T):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(S){!r||r.destroyed||S.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,T))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function Gt(t,e,i,s){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const n=this;if(n.destroyed)return;typeof e>"u"&&(e=n.params.speed);const r=n.grid&&n.params.grid&&n.params.grid.rows>1;let l=t;if(n.params.loop)if(n.virtual&&n.params.virtual.enabled)l=l+n.virtual.slidesBefore;else{let o;if(r){const p=l*n.params.grid.rows;o=n.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===p)[0].column}else o=n.getSlideIndexByData(l);const a=r?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:u}=n.params;let d=n.params.slidesPerView;d==="auto"?d=n.slidesPerViewDynamic():(d=Math.ceil(parseFloat(n.params.slidesPerView,10)),u&&d%2===0&&(d=d+1));let c=a-of.getAttribute("data-swiper-slide-index")*1===p)[0].column}else l=n.getSlideIndexByData(l)}return requestAnimationFrame(()=>{n.slideTo(l,e,i,s)}),n}function Vt(t,e,i){e===void 0&&(e=!0);const s=this,{enabled:n,params:r,animating:l}=s;if(!n||s.destroyed)return s;typeof t>"u"&&(t=s.params.speed);let o=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(o=Math.max(s.slidesPerViewDynamic("current",!0),1));const a=s.activeIndex{s.slideTo(s.activeIndex+a,t,e,i)}),!0}return r.rewind&&s.isEnd?s.slideTo(0,t,e,i):s.slideTo(s.activeIndex+a,t,e,i)}function jt(t,e,i){e===void 0&&(e=!0);const s=this,{params:n,snapGrid:r,slidesGrid:l,rtlTranslate:o,enabled:a,animating:u}=s;if(!a||s.destroyed)return s;typeof t>"u"&&(t=s.params.speed);const d=s.virtual&&n.virtual.enabled;if(n.loop){if(u&&!d&&n.loopPreventsSliding)return!1;s.loopFix({direction:"prev"}),s._clientLeft=s.wrapperEl.clientLeft}const c=o?s.translate:-s.translate;function p(m){return m<0?-Math.floor(Math.abs(m)):Math.floor(m)}const f=p(c),h=r.map(m=>p(m));let v=r[h.indexOf(f)-1];if(typeof v>"u"&&n.cssMode){let m;r.forEach((T,g)=>{f>=T&&(m=g)}),typeof m<"u"&&(v=r[m>0?m-1:m])}let b=0;if(typeof v<"u"&&(b=l.indexOf(v),b<0&&(b=s.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(b=b-s.slidesPerViewDynamic("previous",!0)+1,b=Math.max(b,0))),n.rewind&&s.isBeginning){const m=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(m,t,e,i)}else if(n.loop&&s.activeIndex===0&&n.cssMode)return requestAnimationFrame(()=>{s.slideTo(b,t,e,i)}),!0;return s.slideTo(b,t,e,i)}function Bt(t,e,i){e===void 0&&(e=!0);const s=this;if(!s.destroyed)return typeof t>"u"&&(t=s.params.speed),s.slideTo(s.activeIndex,t,e,i)}function Nt(t,e,i,s){e===void 0&&(e=!0),s===void 0&&(s=.5);const n=this;if(n.destroyed)return;typeof t>"u"&&(t=n.params.speed);let r=n.activeIndex;const l=Math.min(n.params.slidesPerGroupSkip,r),o=l+Math.floor((r-l)/n.params.slidesPerGroup),a=n.rtlTranslate?n.translate:-n.translate;if(a>=n.snapGrid[o]){const u=n.snapGrid[o],d=n.snapGrid[o+1];a-u>(d-u)*s&&(r+=n.params.slidesPerGroup)}else{const u=n.snapGrid[o-1],d=n.snapGrid[o];a-u<=(d-u)*s&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,t,e,i)}function Ft(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,s=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let n=t.clickedIndex,r;const l=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;r=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?nt.slides.length-t.loopedSlides+s/2?(t.loopFix(),n=t.getSlideIndex($(i,`${l}[data-swiper-slide-index="${r}"]`)[0]),ue(()=>{t.slideTo(n)})):t.slideTo(n):n>t.slides.length-s?(t.loopFix(),n=t.getSlideIndex($(i,`${l}[data-swiper-slide-index="${r}"]`)[0]),ue(()=>{t.slideTo(n)})):t.slideTo(n)}else t.slideTo(n)}var Rt={slideTo:Dt,slideToLoop:Gt,slideNext:Vt,slidePrev:jt,slideReset:Bt,slideToClosest:Nt,slideToClickedSlide:Ft};function $t(t){const e=this,{params:i,slidesEl:s}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const n=()=>{$(s,`.${i.slideClass}, swiper-slide`).forEach((c,p)=>{c.setAttribute("data-swiper-slide-index",p)})},r=e.grid&&i.grid&&i.grid.rows>1,l=i.slidesPerGroup*(r?i.grid.rows:1),o=e.slides.length%l!==0,a=r&&e.slides.length%i.grid.rows!==0,u=d=>{for(let c=0;c1;u.length"u"?r=a.getSlideIndex(u.filter(P=>P.classList.contains(f.slideActiveClass))[0]):x=r;const I=s==="next"||!s,G=s==="prev"||!s;let M=0,y=0;const w=T?Math.ceil(u.length/f.grid.rows):u.length,C=(T?u[r].column:r)+(h&&typeof n>"u"?-v/2+.5:0);if(C=0;F-=1)u[F].column===V&&g.push(F)}else g.push(w-_-1)}}else if(C+v>w-m){y=Math.max(C-(w-m*2),b);for(let P=0;P{V.column===_&&S.push(F)}):S.push(_)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),G&&g.forEach(P=>{u[P].swiperLoopMoveDOM=!0,p.prepend(u[P]),u[P].swiperLoopMoveDOM=!1}),I&&S.forEach(P=>{u[P].swiperLoopMoveDOM=!0,p.append(u[P]),u[P].swiperLoopMoveDOM=!1}),a.recalcSlides(),f.slidesPerView==="auto"?a.updateSlides():T&&(g.length>0&&G||S.length>0&&I)&&a.slides.forEach((P,_)=>{a.grid.updateSlide(_,P,a.slides)}),f.watchSlidesProgress&&a.updateSlidesOffset(),i){if(g.length>0&&G){if(typeof e>"u"){const P=a.slidesGrid[x],V=a.slidesGrid[x+M]-P;o?a.setTranslate(a.translate-V):(a.slideTo(x+Math.ceil(M),0,!1,!0),n&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-V,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-V))}else if(n){const P=T?g.length/f.grid.rows:g.length;a.slideTo(a.activeIndex+P,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(S.length>0&&I)if(typeof e>"u"){const P=a.slidesGrid[x],V=a.slidesGrid[x-y]-P;o?a.setTranslate(a.translate-V):(a.slideTo(x-y,0,!1,!0),n&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-V,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-V))}else{const P=T?S.length/f.grid.rows:S.length;a.slideTo(a.activeIndex-P,0,!1,!0)}}if(a.allowSlidePrev=d,a.allowSlideNext=c,a.controller&&a.controller.control&&!l){const P={slideRealIndex:e,direction:s,setTranslate:n,activeSlideIndex:r,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(_=>{!_.destroyed&&_.params.loop&&_.loopFix({...P,slideTo:_.params.slidesPerView===f.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...P,slideTo:a.controller.control.params.slidesPerView===f.slidesPerView?i:!1})}a.emit("loopFix")}function Ht(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const s=[];t.slides.forEach(n=>{const r=typeof n.swiperSlideIndex>"u"?n.getAttribute("data-swiper-slide-index")*1:n.swiperSlideIndex;s[r]=n}),t.slides.forEach(n=>{n.removeAttribute("data-swiper-slide-index")}),s.forEach(n=>{i.append(n)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var Wt={loopCreate:$t,loopFix:kt,loopDestroy:Ht};function qt(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Yt(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Xt={setGrabCursor:qt,unsetGrabCursor:Yt};function Kt(t,e){e===void 0&&(e=this);function i(s){if(!s||s===k()||s===N())return null;s.assignedSlot&&(s=s.assignedSlot);const n=s.closest(t);return!n&&!s.getRootNode?null:n||i(s.getRootNode().host)}return i(e)}function be(t,e,i){const s=N(),{params:n}=t,r=n.edgeSwipeDetection,l=n.edgeSwipeThreshold;return r&&(i<=l||i>=s.innerWidth-l)?r==="prevent"?(e.preventDefault(),!0):!1:!0}function Ut(t){const e=this,i=k();let s=t;s.originalEvent&&(s=s.originalEvent);const n=e.touchEventsData;if(s.type==="pointerdown"){if(n.pointerId!==null&&n.pointerId!==s.pointerId)return;n.pointerId=s.pointerId}else s.type==="touchstart"&&s.targetTouches.length===1&&(n.touchId=s.targetTouches[0].identifier);if(s.type==="touchstart"){be(e,s,s.targetTouches[0].pageX);return}const{params:r,touches:l,enabled:o}=e;if(!o||!r.simulateTouch&&s.pointerType==="mouse"||e.animating&&r.preventInteractionOnTransition)return;!e.animating&&r.cssMode&&r.loop&&e.loopFix();let a=s.target;if(r.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(a)||"which"in s&&s.which===3||"button"in s&&s.button>0||n.isTouched&&n.isMoved)return;const u=!!r.noSwipingClass&&r.noSwipingClass!=="",d=s.composedPath?s.composedPath():s.path;u&&s.target&&s.target.shadowRoot&&d&&(a=d[0]);const c=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,p=!!(s.target&&s.target.shadowRoot);if(r.noSwiping&&(p?Kt(c,a):a.closest(c))){e.allowClick=!0;return}if(r.swipeHandler&&!a.closest(r.swipeHandler))return;l.currentX=s.pageX,l.currentY=s.pageY;const f=l.currentX,h=l.currentY;if(!be(e,s,f))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=f,l.startY=h,n.touchStartTime=te(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1);let v=!0;a.matches(n.focusableElements)&&(v=!1,a.nodeName==="SELECT"&&(n.isTouched=!1)),i.activeElement&&i.activeElement.matches(n.focusableElements)&&i.activeElement!==a&&i.activeElement.blur();const b=v&&e.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||b)&&!a.isContentEditable&&s.preventDefault(),r.freeMode&&r.freeMode.enabled&&e.freeMode&&e.animating&&!r.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",s)}function Zt(t){const e=k(),i=this,s=i.touchEventsData,{params:n,touches:r,rtlTranslate:l,enabled:o}=i;if(!o||!n.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(s.touchId!==null||a.pointerId!==s.pointerId))return;let u;if(a.type==="touchmove"){if(u=[...a.changedTouches].filter(I=>I.identifier===s.touchId)[0],!u||u.identifier!==s.touchId)return}else u=a;if(!s.isTouched){s.startMoving&&s.isScrolling&&i.emit("touchMoveOpposite",a);return}const d=u.pageX,c=u.pageY;if(a.preventedByNestedSwiper){r.startX=d,r.startY=c;return}if(!i.allowTouchMove){a.target.matches(s.focusableElements)||(i.allowClick=!1),s.isTouched&&(Object.assign(r,{startX:d,startY:c,currentX:d,currentY:c}),s.touchStartTime=te());return}if(n.touchReleaseOnEdges&&!n.loop){if(i.isVertical()){if(cr.startY&&i.translate>=i.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else if(dr.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&a.target===e.activeElement&&a.target.matches(s.focusableElements)){s.isMoved=!0,i.allowClick=!1;return}s.allowTouchCallbacks&&i.emit("touchMove",a),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=d,r.currentY=c;const p=r.currentX-r.startX,f=r.currentY-r.startY;if(i.params.threshold&&Math.sqrt(p**2+f**2)"u"){let I;i.isHorizontal()&&r.currentY===r.startY||i.isVertical()&&r.currentX===r.startX?s.isScrolling=!1:p*p+f*f>=25&&(I=Math.atan2(Math.abs(f),Math.abs(p))*180/Math.PI,s.isScrolling=i.isHorizontal()?I>n.touchAngle:90-I>n.touchAngle)}if(s.isScrolling&&i.emit("touchMoveOpposite",a),typeof s.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(s.startMoving=!0),s.isScrolling){s.isTouched=!1;return}if(!s.startMoving)return;i.allowClick=!1,!n.cssMode&&a.cancelable&&a.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&a.stopPropagation();let h=i.isHorizontal()?p:f,v=i.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;n.oneWayMovement&&(h=Math.abs(h)*(l?1:-1),v=Math.abs(v)*(l?1:-1)),r.diff=h,h*=n.touchRatio,l&&(h=-h,v=-v);const b=i.touchesDirection;i.swipeDirection=h>0?"prev":"next",i.touchesDirection=v>0?"prev":"next";const m=i.params.loop&&!n.cssMode,T=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!s.isMoved){if(m&&T&&i.loopFix({direction:i.swipeDirection}),s.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const I=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(I)}s.allowMomentumBounce=!1,n.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}let g;if(new Date().getTime(),s.isMoved&&s.allowThresholdMove&&b!==i.touchesDirection&&m&&T&&Math.abs(h)>=1){Object.assign(r,{startX:d,startY:c,currentX:d,currentY:c,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,s.startTranslate=s.currentTranslate;return}i.emit("sliderMove",a),s.isMoved=!0,s.currentTranslate=h+s.startTranslate;let S=!0,x=n.resistanceRatio;if(n.touchReleaseOnEdges&&(x=0),h>0?(m&&T&&!g&&s.allowThresholdMove&&s.currentTranslate>(n.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>i.minTranslate()&&(S=!1,n.resistance&&(s.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+s.startTranslate+h)**x))):h<0&&(m&&T&&!g&&s.allowThresholdMove&&s.currentTranslate<(n.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(n.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(s.currentTranslate=s.startTranslate),n.threshold>0)if(Math.abs(h)>n.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,s.currentTranslate=s.startTranslate,r.diff=i.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{s.currentTranslate=s.startTranslate;return}!n.followFinger||n.cssMode||((n.freeMode&&n.freeMode.enabled&&i.freeMode||n.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(s.currentTranslate),i.setTranslate(s.currentTranslate))}function Jt(t){const e=this,i=e.touchEventsData;let s=t;s.originalEvent&&(s=s.originalEvent);let n;if(s.type==="touchend"||s.type==="touchcancel"){if(n=[...s.changedTouches].filter(x=>x.identifier===i.touchId)[0],!n||n.identifier!==i.touchId)return}else{if(i.touchId!==null||s.pointerId!==i.pointerId)return;n=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:l,touches:o,rtlTranslate:a,slidesGrid:u,enabled:d}=e;if(!d||!l.simulateTouch&&s.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",s),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&l.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}l.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const c=te(),p=c-i.touchStartTime;if(e.allowClick){const x=s.path||s.composedPath&&s.composedPath();e.updateClickedSlide(x&&x[0]||s.target,x),e.emit("tap click",s),p<300&&c-i.lastClickTime<300&&e.emit("doubleTap doubleClick",s)}if(i.lastClickTime=te(),ue(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||o.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let f;if(l.followFinger?f=a?e.translate:-e.translate:f=-i.currentTranslate,l.cssMode)return;if(l.freeMode&&l.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:f});return}const h=f>=-e.maxTranslate()&&!e.params.loop;let v=0,b=e.slidesSizesGrid[0];for(let x=0;x=u[x]&&f=u[x])&&(v=x,b=u[u.length-1]-u[u.length-2])}let m=null,T=null;l.rewind&&(e.isBeginning?T=l.virtual&&l.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(m=0));const g=(f-u[v])/b,S=vl.longSwipesMs){if(!l.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(g>=l.longSwipesRatio?e.slideTo(l.rewind&&e.isEnd?m:v+S):e.slideTo(v)),e.swipeDirection==="prev"&&(g>1-l.longSwipesRatio?e.slideTo(v+S):T!==null&&g<0&&Math.abs(g)>l.longSwipesRatio?e.slideTo(T):e.slideTo(v))}else{if(!l.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(s.target===e.navigation.nextEl||s.target===e.navigation.prevEl)?s.target===e.navigation.nextEl?e.slideTo(v+S):e.slideTo(v):(e.swipeDirection==="next"&&e.slideTo(m!==null?m:v+S),e.swipeDirection==="prev"&&e.slideTo(T!==null?T:v))}}function Te(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:n,snapGrid:r}=t,l=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const o=l&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!o?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!l?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=n,t.allowSlideNext=s,t.params.watchOverflow&&r!==t.snapGrid&&t.checkOverflow()}function Qt(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function ei(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:s}=t;if(!s)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let n;const r=t.maxTranslate()-t.minTranslate();r===0?n=0:n=(t.translate-t.minTranslate())/r,n!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function ti(t){const e=this;Q(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function ii(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const _e=(t,e)=>{const i=k(),{params:s,el:n,wrapperEl:r,device:l}=t,o=!!s.nested,a=e==="on"?"addEventListener":"removeEventListener",u=e;i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:o}),n[a]("touchstart",t.onTouchStart,{passive:!1}),n[a]("pointerdown",t.onTouchStart,{passive:!1}),i[a]("touchmove",t.onTouchMove,{passive:!1,capture:o}),i[a]("pointermove",t.onTouchMove,{passive:!1,capture:o}),i[a]("touchend",t.onTouchEnd,{passive:!0}),i[a]("pointerup",t.onTouchEnd,{passive:!0}),i[a]("pointercancel",t.onTouchEnd,{passive:!0}),i[a]("touchcancel",t.onTouchEnd,{passive:!0}),i[a]("pointerout",t.onTouchEnd,{passive:!0}),i[a]("pointerleave",t.onTouchEnd,{passive:!0}),i[a]("contextmenu",t.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&n[a]("click",t.onClick,!0),s.cssMode&&r[a]("scroll",t.onScroll),s.updateOnWindowResize?t[u](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",Te,!0):t[u]("observerUpdate",Te,!0),n[a]("load",t.onLoad,{capture:!0})};function si(){const t=this,{params:e}=t;t.onTouchStart=Ut.bind(t),t.onTouchMove=Zt.bind(t),t.onTouchEnd=Jt.bind(t),t.onDocumentTouchStart=ii.bind(t),e.cssMode&&(t.onScroll=ei.bind(t)),t.onClick=Qt.bind(t),t.onLoad=ti.bind(t),_e(t,"on")}function ri(){_e(this,"off")}var ni={attachEvents:si,detachEvents:ri};const ye=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function ai(){const t=this,{realIndex:e,initialized:i,params:s,el:n}=t,r=s.breakpoints;if(!r||r&&Object.keys(r).length===0)return;const l=t.getBreakpoint(r,t.params.breakpointsBase,t.el);if(!l||t.currentBreakpoint===l)return;const a=(l in r?r[l]:void 0)||t.originalParams,u=ye(t,s),d=ye(t,a),c=t.params.grabCursor,p=a.grabCursor,f=s.enabled;u&&!d?(n.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&d&&(n.classList.add(`${s.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&s.grid.fill==="column")&&n.classList.add(`${s.containerModifierClass}grid-column`),t.emitContainerClasses()),c&&!p?t.unsetGrabCursor():!c&&p&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(g=>{if(typeof a[g]>"u")return;const S=s[g]&&s[g].enabled,x=a[g]&&a[g].enabled;S&&!x&&t[g].disable(),!S&&x&&t[g].enable()});const h=a.direction&&a.direction!==s.direction,v=s.loop&&(a.slidesPerView!==s.slidesPerView||h),b=s.loop;h&&i&&t.changeDirection(),B(t.params,a);const m=t.params.enabled,T=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),f&&!m?t.disable():!f&&m&&t.enable(),t.currentBreakpoint=l,t.emit("_beforeBreakpoint",a),i&&(v?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!b&&T?(t.loopCreate(e),t.updateSlides()):b&&!T&&t.loopDestroy()),t.emit("breakpoint",a)}function li(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let s=!1;const n=N(),r=e==="window"?n.innerHeight:i.clientHeight,l=Object.keys(t).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const a=parseFloat(o.substr(1));return{value:r*a,point:o}}return{value:o,point:o}});l.sort((o,a)=>parseInt(o.value,10)-parseInt(a.value,10));for(let o=0;o{typeof s=="object"?Object.keys(s).forEach(n=>{s[n]&&i.push(e+n)}):typeof s=="string"&&i.push(e+s)}),i}function ci(){const t=this,{classNames:e,params:i,rtl:s,el:n,device:r}=t,l=di(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:s},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...l),n.classList.add(...e),t.emitContainerClasses()}function ui(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var fi={addClasses:ci,removeClasses:ui};function pi(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:s}=i;if(s){const n=t.slides.length-1,r=t.slidesGrid[n]+t.slidesSizesGrid[n]+s*2;t.isLocked=t.size>r}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var mi={checkOverflow:pi},me={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function hi(t,e){return function(s){s===void 0&&(s={});const n=Object.keys(s)[0],r=s[n];if(typeof r!="object"||r===null){B(e,s);return}if(t[n]===!0&&(t[n]={enabled:!0}),n==="navigation"&&t[n]&&t[n].enabled&&!t[n].prevEl&&!t[n].nextEl&&(t[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&t[n]&&t[n].enabled&&!t[n].el&&(t[n].auto=!0),!(n in t&&"enabled"in r)){B(e,s);return}typeof t[n]=="object"&&!("enabled"in t[n])&&(t[n].enabled=!0),t[n]||(t[n]={enabled:!1}),B(e,s)}}const de={eventsEmitter:ft,update:yt,translate:Lt,transition:_t,slide:Rt,loop:Wt,grabCursor:Xt,events:ni,breakpoints:oi,checkOverflow:mi,classes:fi},ce={};let ge=class R{constructor(){let e,i;for(var s=arguments.length,n=new Array(s),r=0;r1){const d=[];return l.querySelectorAll(i.el).forEach(c=>{const p=B({},i,{el:c});d.push(new R(p))}),d}const o=this;o.__swiper__=!0,o.support=Oe(),o.device=ze({userAgent:i.userAgent}),o.browser=dt(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],i.modules&&Array.isArray(i.modules)&&o.modules.push(...i.modules);const a={};o.modules.forEach(d=>{d({params:i,swiper:o,extendParams:hi(i,a),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const u=B({},me,a);return o.params=B({},u,ce,i),o.originalParams=B({},o.params),o.passedParams=B({},i),o.params&&o.params.on&&Object.keys(o.params.on).forEach(d=>{o.on(d,o.params.on[d])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return o.params.direction==="horizontal"},isVertical(){return o.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:s}=this,n=$(i,`.${s.slideClass}, swiper-slide`),r=Se(n[0]);return Se(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:s}=e;e.slides=$(i,`.${s.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const s=this;e=Math.min(Math.max(e,0),1);const n=s.minTranslate(),l=(s.maxTranslate()-n)*e+n;s.translateTo(l,typeof i>"u"?0:i),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(s=>s.indexOf("swiper")===0||s.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(s=>s.indexOf("swiper-slide")===0||s.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(s=>{const n=e.getSlideClasses(s);i.push({slideEl:s,classNames:n}),e.emit("_slideClass",s,n)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const s=this,{params:n,slides:r,slidesGrid:l,slidesSizesGrid:o,size:a,activeIndex:u}=s;let d=1;if(typeof n.slidesPerView=="number")return n.slidesPerView;if(n.centeredSlides){let c=r[u]?Math.ceil(r[u].swiperSlideSize):0,p;for(let f=u+1;fa&&(p=!0));for(let f=u-1;f>=0;f-=1)r[f]&&!p&&(c+=r[f].swiperSlideSize,d+=1,c>a&&(p=!0))}else if(e==="current")for(let c=u+1;c=0;c-=1)l[u]-l[c]{l.complete&&Q(e,l)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function n(){const l=e.rtlTranslate?e.translate*-1:e.translate,o=Math.min(Math.max(l,e.maxTranslate()),e.minTranslate());e.setTranslate(o),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(s.freeMode&&s.freeMode.enabled&&!s.cssMode)n(),s.autoHeight&&e.updateAutoHeight();else{if((s.slidesPerView==="auto"||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const l=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(l.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||n()}s.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const s=this,n=s.params.direction;return e||(e=n==="horizontal"?"vertical":"horizontal"),e===n||e!=="horizontal"&&e!=="vertical"||(s.el.classList.remove(`${s.params.containerModifierClass}${n}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach(r=>{e==="vertical"?r.style.width="":r.style.height=""}),s.emit("changeDirection"),i&&s.update()),s}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let s=e||i.params.el;if(typeof s=="string"&&(s=document.querySelector(s)),!s)return!1;s.swiper=i,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const n=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let l=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(n()):$(s,n())[0];return!l&&i.params.createElements&&(l=fe("div",i.params.wrapperClass),s.append(l),$(s,`.${i.params.slideClass}`).forEach(o=>{l.append(o)})),Object.assign(i,{el:s,wrapperEl:l,slidesEl:i.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:l,hostEl:i.isElement?s.parentNode.host:s,mounted:!0,rtl:s.dir.toLowerCase()==="rtl"||H(s,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(s.dir.toLowerCase()==="rtl"||H(s,"direction")==="rtl"),wrongRTL:H(l,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const n=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&n.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(r=>{r.complete?Q(i,r):r.addEventListener("load",l=>{Q(i,l.target)})}),pe(i),i.initialized=!0,pe(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const s=this,{params:n,el:r,wrapperEl:l,slides:o}=s;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),n.loop&&s.loopDestroy(),i&&(s.removeClasses(),r.removeAttribute("style"),l.removeAttribute("style"),o&&o.length&&o.forEach(a=>{a.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(a=>{s.off(a)}),e!==!1&&(s.el.swiper=null,Qe(s)),s.destroyed=!0),null}static extendDefaults(e){B(ce,e)}static get extendedDefaults(){return ce}static get defaults(){return me}static installModule(e){R.prototype.__modules__||(R.prototype.__modules__=[]);const i=R.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>R.installModule(i)),R):(R.installModule(e),R)}};Object.keys(de).forEach(t=>{Object.keys(de[t]).forEach(e=>{ge.prototype[e]=de[t][e]})});ge.use([ct,ut]);const De=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function q(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function Y(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(s=>i.indexOf(s)<0).forEach(s=>{typeof t[s]>"u"?t[s]=e[s]:q(e[s])&&q(t[s])&&Object.keys(e[s]).length>0?e[s].__swiper__?t[s]=e[s]:Y(t[s],e[s]):t[s]=e[s]})}function Ge(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Ve(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function je(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Be(t){t===void 0&&(t="");const e=t.split(" ").map(s=>s.trim()).filter(s=>!!s),i=[];return e.forEach(s=>{i.indexOf(s)<0&&i.push(s)}),i.join(" ")}function gi(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function vi(t){let{swiper:e,slides:i,passedParams:s,changedParams:n,nextEl:r,prevEl:l,scrollbarEl:o,paginationEl:a}=t;const u=n.filter(y=>y!=="children"&&y!=="direction"&&y!=="wrapperClass"),{params:d,pagination:c,navigation:p,scrollbar:f,virtual:h,thumbs:v}=e;let b,m,T,g,S,x,I,G;n.includes("thumbs")&&s.thumbs&&s.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(b=!0),n.includes("controller")&&s.controller&&s.controller.control&&d.controller&&!d.controller.control&&(m=!0),n.includes("pagination")&&s.pagination&&(s.pagination.el||a)&&(d.pagination||d.pagination===!1)&&c&&!c.el&&(T=!0),n.includes("scrollbar")&&s.scrollbar&&(s.scrollbar.el||o)&&(d.scrollbar||d.scrollbar===!1)&&f&&!f.el&&(g=!0),n.includes("navigation")&&s.navigation&&(s.navigation.prevEl||l)&&(s.navigation.nextEl||r)&&(d.navigation||d.navigation===!1)&&p&&!p.prevEl&&!p.nextEl&&(S=!0);const M=y=>{e[y]&&(e[y].destroy(),y==="navigation"?(e.isElement&&(e[y].prevEl.remove(),e[y].nextEl.remove()),d[y].prevEl=void 0,d[y].nextEl=void 0,e[y].prevEl=void 0,e[y].nextEl=void 0):(e.isElement&&e[y].el.remove(),d[y].el=void 0,e[y].el=void 0))};n.includes("loop")&&e.isElement&&(d.loop&&!s.loop?x=!0:!d.loop&&s.loop?I=!0:G=!0),u.forEach(y=>{if(q(d[y])&&q(s[y]))Object.assign(d[y],s[y]),(y==="navigation"||y==="pagination"||y==="scrollbar")&&"enabled"in s[y]&&!s[y].enabled&&M(y);else{const w=s[y];(w===!0||w===!1)&&(y==="navigation"||y==="pagination"||y==="scrollbar")?w===!1&&M(y):d[y]=s[y]}}),u.includes("controller")&&!m&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),n.includes("children")&&i&&h&&d.virtual.enabled?(h.slides=i,h.update(!0)):n.includes("virtual")&&h&&d.virtual.enabled&&(i&&(h.slides=i),h.update(!0)),n.includes("children")&&i&&d.loop&&(G=!0),b&&v.init()&&v.update(!0),m&&(e.controller.control=d.controller.control),T&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(d.pagination.el=a),c.init(),c.render(),c.update()),g&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),o.part.add("scrollbar"),e.el.appendChild(o)),o&&(d.scrollbar.el=o),f.init(),f.updateSize(),f.setTranslate()),S&&(e.isElement&&((!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-next"),r.innerHTML=e.hostEl.constructor.nextButtonSvg,r.part.add("button-next"),e.el.appendChild(r)),(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-prev"),l.innerHTML=e.hostEl.constructor.prevButtonSvg,l.part.add("button-prev"),e.el.appendChild(l))),r&&(d.navigation.nextEl=r),l&&(d.navigation.prevEl=l),p.init(),p.update()),n.includes("allowSlideNext")&&(e.allowSlideNext=s.allowSlideNext),n.includes("allowSlidePrev")&&(e.allowSlidePrev=s.allowSlidePrev),n.includes("direction")&&e.changeDirection(s.direction,!1),(x||G)&&e.loopDestroy(),(I||G)&&e.loopCreate(),e.update()}function wi(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},s={},n={};Y(i,me),i._emitClasses=!0,i.init=!1;const r={},l=De.map(a=>a.replace(/_/,"")),o=Object.assign({},t);return Object.keys(o).forEach(a=>{typeof t[a]>"u"||(l.indexOf(a)>=0?q(t[a])?(i[a]={},n[a]={},Y(i[a],t[a]),Y(n[a],t[a])):(i[a]=t[a],n[a]=t[a]):a.search(/on[A-Z]/)===0&&typeof t[a]=="function"?e?s[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:r[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:n,rest:r,events:s}}function Si(t,e){let{el:i,nextEl:s,prevEl:n,paginationEl:r,scrollbarEl:l,swiper:o}=t;Ge(e)&&s&&n&&(o.params.navigation.nextEl=s,o.originalParams.navigation.nextEl=s,o.params.navigation.prevEl=n,o.originalParams.navigation.prevEl=n),Ve(e)&&r&&(o.params.pagination.el=r,o.originalParams.pagination.el=r),je(e)&&l&&(o.params.scrollbar.el=l,o.originalParams.scrollbar.el=l),o.init(i)}function xi(t,e,i,s,n){const r=[];if(!e)return r;const l=a=>{r.indexOf(a)<0&&r.push(a)};if(i&&s){const a=s.map(n),u=i.map(n);a.join("")!==u.join("")&&l("children"),s.length!==i.length&&l("children")}return De.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(q(t[a])&&q(e[a])){const u=Object.keys(t[a]),d=Object.keys(e[a]);u.length!==d.length?l(a):(u.forEach(c=>{t[a][c]!==e[a][c]&&l(a)}),d.forEach(c=>{t[a][c]!==e[a][c]&&l(a)}))}else t[a]!==e[a]&&l(a)}),r}const bi=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function se(){return se=Object.assign?Object.assign.bind():function(t){for(var e=1;e{Ne(i)?e.push(i):i.props&&i.props.children&&Fe(i.props.children).forEach(s=>e.push(s))}),e}function Ti(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return j.Children.toArray(t).forEach(s=>{if(Ne(s))e.push(s);else if(s.props&&s.props.slot&&i[s.props.slot])i[s.props.slot].push(s);else if(s.props&&s.props.children){const n=Fe(s.props.children);n.length>0?n.forEach(r=>e.push(r)):i["container-end"].push(s)}else i["container-end"].push(s)}),{slides:e,slots:i}}function yi(t,e,i){if(!i)return null;const s=d=>{let c=d;return d<0?c=e.length+d:c>=e.length&&(c=c-e.length),c},n=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:r,to:l}=i,o=t.params.loop?-e.length:0,a=t.params.loop?e.length*2:e.length,u=[];for(let d=o;d=r&&d<=l&&u.push(e[s(d)]);return u.map((d,c)=>j.cloneElement(d,{swiper:t,style:n,key:d.props.virtualIndex||d.key||`slide-${c}`}))}function K(t,e){return typeof window>"u"?D.useEffect(t,e):D.useLayoutEffect(t,e)}const Ee=D.createContext(null),Ei=D.createContext(null),Re=D.forwardRef(function(t,e){let{className:i,tag:s="div",wrapperTag:n="div",children:r,onSwiper:l,...o}=t===void 0?{}:t,a=!1;const[u,d]=D.useState("swiper"),[c,p]=D.useState(null),[f,h]=D.useState(!1),v=D.useRef(!1),b=D.useRef(null),m=D.useRef(null),T=D.useRef(null),g=D.useRef(null),S=D.useRef(null),x=D.useRef(null),I=D.useRef(null),G=D.useRef(null),{params:M,passedParams:y,rest:w,events:E}=wi(o),{slides:C,slots:P}=Ti(r),_=()=>{h(!f)};Object.assign(M.on,{_containerClasses(O,A){d(A)}});const V=()=>{Object.assign(M.on,E),a=!0;const O={...M};if(delete O.wrapperClass,m.current=new ge(O),m.current.virtual&&m.current.params.virtual.enabled){m.current.virtual.slides=C;const A={cache:!1,slides:C,renderExternal:p,renderExternalUpdate:!1};Y(m.current.params.virtual,A),Y(m.current.originalParams.virtual,A)}};b.current||V(),m.current&&m.current.on("_beforeBreakpoint",_);const F=()=>{a||!E||!m.current||Object.keys(E).forEach(O=>{m.current.on(O,E[O])})},X=()=>{!E||!m.current||Object.keys(E).forEach(O=>{m.current.off(O,E[O])})};D.useEffect(()=>()=>{m.current&&m.current.off("_beforeBreakpoint",_)}),D.useEffect(()=>{!v.current&&m.current&&(m.current.emitSlidesClasses(),v.current=!0)}),K(()=>{if(e&&(e.current=b.current),!!b.current)return m.current.destroyed&&V(),Si({el:b.current,nextEl:S.current,prevEl:x.current,paginationEl:I.current,scrollbarEl:G.current,swiper:m.current},M),l&&!m.current.destroyed&&l(m.current),()=>{m.current&&!m.current.destroyed&&m.current.destroy(!0,!1)}},[]),K(()=>{F();const O=xi(y,T.current,C,g.current,A=>A.key);return T.current=y,g.current=C,O.length&&m.current&&!m.current.destroyed&&vi({swiper:m.current,slides:C,passedParams:y,changedParams:O,nextEl:S.current,prevEl:x.current,scrollbarEl:G.current,paginationEl:I.current}),()=>{X()}}),K(()=>{bi(m.current)},[c]);function L(){return M.virtual?yi(m.current,C,c):C.map((O,A)=>j.cloneElement(O,{swiper:m.current,swiperSlideIndex:A}))}return j.createElement(s,se({ref:b,className:Be(`${u}${i?` ${i}`:""}`)},w),j.createElement(Ei.Provider,{value:m.current},P["container-start"],j.createElement(n,{className:gi(M.wrapperClass)},P["wrapper-start"],L(),P["wrapper-end"]),Ge(M)&&j.createElement(j.Fragment,null,j.createElement("div",{ref:x,className:"swiper-button-prev"}),j.createElement("div",{ref:S,className:"swiper-button-next"})),je(M)&&j.createElement("div",{ref:G,className:"swiper-scrollbar"}),Ve(M)&&j.createElement("div",{ref:I,className:"swiper-pagination"}),P["container-end"]))});Re.displayName="Swiper";const $e=D.forwardRef(function(t,e){let{tag:i="div",children:s,className:n="",swiper:r,zoom:l,lazy:o,virtualIndex:a,swiperSlideIndex:u,...d}=t===void 0?{}:t;const c=D.useRef(null),[p,f]=D.useState("swiper-slide"),[h,v]=D.useState(!1);function b(S,x,I){x===c.current&&f(I)}K(()=>{if(typeof u<"u"&&(c.current.swiperSlideIndex=u),e&&(e.current=c.current),!(!c.current||!r)){if(r.destroyed){p!=="swiper-slide"&&f("swiper-slide");return}return r.on("_slideClass",b),()=>{r&&r.off("_slideClass",b)}}}),K(()=>{r&&c.current&&!r.destroyed&&f(r.getSlideClasses(c.current))},[r]);const m={isActive:p.indexOf("swiper-slide-active")>=0,isVisible:p.indexOf("swiper-slide-visible")>=0,isPrev:p.indexOf("swiper-slide-prev")>=0,isNext:p.indexOf("swiper-slide-next")>=0},T=()=>typeof s=="function"?s(m):s,g=()=>{v(!0)};return j.createElement(i,se({ref:c,className:Be(`${p}${n?` ${n}`:""}`),"data-swiper-slide-index":a,onLoad:g},d),l&&j.createElement(Ee.Provider,{value:m},j.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof l=="number"?l:void 0},T(),o&&!h&&j.createElement("div",{className:"swiper-lazy-preloader"}))),!l&&j.createElement(Ee.Provider,{value:m},T(),o&&!h&&j.createElement("div",{className:"swiper-lazy-preloader"})))});$e.displayName="SwiperSlide";function Pi(t){let{swiper:e,extendParams:i,on:s,emit:n,params:r}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,o,a=r&&r.autoplay?r.autoplay.delay:3e3,u=r&&r.autoplay?r.autoplay.delay:3e3,d,c=new Date().getTime(),p,f,h,v,b,m,T;function g(L){!e||e.destroyed||!e.wrapperEl||L.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",g),!T&&w())}const S=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?p=!0:p&&(u=d,p=!1);const L=e.autoplay.paused?d:c+u-new Date().getTime();e.autoplay.timeLeft=L,n("autoplayTimeLeft",L,L/a),o=requestAnimationFrame(()=>{S()})},x=()=>{let L;return e.virtual&&e.params.virtual.enabled?L=e.slides.filter(A=>A.classList.contains("swiper-slide-active"))[0]:L=e.slides[e.activeIndex],L?parseInt(L.getAttribute("data-swiper-autoplay"),10):void 0},I=L=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(o),S();let O=typeof L>"u"?e.params.autoplay.delay:L;a=e.params.autoplay.delay,u=e.params.autoplay.delay;const A=x();!Number.isNaN(A)&&A>0&&typeof L>"u"&&(O=A,a=A,u=A),d=O;const W=e.params.speed,U=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(W,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,W,!0,!0),n("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(W,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,W,!0,!0),n("autoplay")),e.params.cssMode&&(c=new Date().getTime(),requestAnimationFrame(()=>{I()})))};return O>0?(clearTimeout(l),l=setTimeout(()=>{U()},O)):requestAnimationFrame(()=>{U()}),O},G=()=>{c=new Date().getTime(),e.autoplay.running=!0,I(),n("autoplayStart")},M=()=>{e.autoplay.running=!1,clearTimeout(l),cancelAnimationFrame(o),n("autoplayStop")},y=(L,O)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(l),L||(m=!0);const A=()=>{n("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",g):w()};if(e.autoplay.paused=!0,O){b&&(d=e.params.autoplay.delay),b=!1,A();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-c),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),A())},w=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(c=new Date().getTime(),m?(m=!1,I(d)):I(),e.autoplay.paused=!1,n("autoplayResume"))},E=()=>{if(e.destroyed||!e.autoplay.running)return;const L=k();L.visibilityState==="hidden"&&(m=!0,y(!0)),L.visibilityState==="visible"&&w()},C=L=>{L.pointerType==="mouse"&&(m=!0,T=!0,!(e.animating||e.autoplay.paused)&&y(!0))},P=L=>{L.pointerType==="mouse"&&(T=!1,e.autoplay.paused&&w())},_=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",C),e.el.addEventListener("pointerleave",P))},V=()=>{e.el.removeEventListener("pointerenter",C),e.el.removeEventListener("pointerleave",P)},F=()=>{k().addEventListener("visibilitychange",E)},X=()=>{k().removeEventListener("visibilitychange",E)};s("init",()=>{e.params.autoplay.enabled&&(_(),F(),G())}),s("destroy",()=>{V(),X(),e.autoplay.running&&M()}),s("_freeModeStaticRelease",()=>{(h||m)&&w()}),s("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?M():y(!0,!0)}),s("beforeTransitionStart",(L,O,A)=>{e.destroyed||!e.autoplay.running||(A||!e.params.autoplay.disableOnInteraction?y(!0,!0):M())}),s("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){M();return}f=!0,h=!1,m=!1,v=setTimeout(()=>{m=!0,h=!0,y(!0)},200)}}),s("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!f)){if(clearTimeout(v),clearTimeout(l),e.params.autoplay.disableOnInteraction){h=!1,f=!1;return}h&&e.params.cssMode&&w(),h=!1,f=!1}}),s("slideChange",()=>{e.destroyed||!e.autoplay.running||(b=!0)}),Object.assign(e.autoplay,{start:G,stop:M,pause:y,resume:w})}const Ci=({name:t,ageText:e})=>z.jsxs(ee,{children:[z.jsx(Ce,{as:"h4",fontWeight:{base:400,lg:700},fontSize:{base:"32px",lg:"40px"},lineHeight:"1.6",mb:"8px",children:t}),z.jsxs(Me,{fontSize:{lg:"24px"},fontWeight:{lg:700},children:["Вік ",e]})]}),Mi=t=>z.jsxs(He,{viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...t,children:[z.jsx("line",{x1:"6",y1:"2",x2:"14",y2:"8"}),z.jsx("line",{x1:"6",y1:"14",x2:"14",y2:"8"})]}),Ii=()=>z.jsx(ee,{as:"button",w:{base:"44px",md:"66px"},h:{base:"44px",md:"66px"},borderRadius:"50%",boxShadow:"1px 2px 5px 0 #a4c2ff",display:"flex",justifyContent:"center",alignItems:"center",color:"custom.blue",_hover:{color:"custom.red"},children:z.jsx(Mi,{boxSize:{base:"16px",md:"26px"}})}),ke=({item:t})=>{const{imgLg:e,imgMob:i,name:s,age:n,description:r}=t,l=Pe({base:i,md:e,lg:e}),o=()=>{let a="";return n.year&&(a=`${n.year} ${Number(n.year)>1?"роки":"рік"} `),n.month&&(a+=`${n.month} місяців`),a};return z.jsxs(z.Fragment,{children:[z.jsx(We,{src:l,alt:r,h:{base:"260px",lg:"350px"},w:{lg:"370px"}}),z.jsxs(qe,{py:"14px",justifyContent:"space-between",alignItems:"center",children:[z.jsx(Ci,{name:s,ageText:o()}),z.jsx(Ii,{})]})]})},Li=({animals:t})=>z.jsx(Re,{spaceBetween:20,slidesPerView:"auto",centeredSlides:!1,autoplay:{delay:3e3,disableOnInteraction:!1},modules:[Pi],children:t.map(e=>z.jsx($e,{style:{width:"223px"},children:z.jsx(ke,{item:e})},e.id))}),Ai=()=>{const t=Ye(),e=Pe({md:8,lg:6}),i=ve.slice(0,e),s=()=>z.jsx(Ke,{display:"flex",justifyContent:"center",rowGap:{md:"20px",lg:"80px"},columnGap:{md:"22px",lg:"125px"},flexWrap:"wrap",my:{md:"64px"},children:i.map(n=>z.jsx(Ue,{w:{base:"200px",sm:"223px",md:"223px",lg:"370px"},h:{base:"200px",sm:"223px",md:"384px",lg:"470px"},children:z.jsx(ke,{item:n})},n.id))});return z.jsxs(ee,{as:"section",id:"catalog",width:"100%",maxWidth:{base:"320px",sm:"375px",md:"1024px",lg:"1440px"},pb:{base:"60px",lg:"64px"},px:{md:8,lg:10},mx:"auto",display:"flex",flexDirection:"column",justifyContent:"center",children:[z.jsx(Ce,{variant:"sectionHeading",mb:6,w:{base:"350px",md:"unset"},children:"Вибери собі вірного друга"}),z.jsx(Me,{fontSize:["16px","16px","24px"],fontWeight:{base:400,lg:700},textAlign:"center",children:"Не купуй – прихисти, адже справжня дружба не продається!"}),t==="mobile"?z.jsx(ee,{w:{base:"320px",sm:"375px"},pl:{base:"20px",sm:"32px"},mx:"auto",my:6,children:z.jsx(Li,{animals:ve})}):z.jsx(s,{}),z.jsx(Xe,{type:"button",mx:"auto",variant:"secondary",children:"Показати більше"})]})};export{Ai as default}; +import{r as D,R as j,j as z,B as ee,I as He,s as Pe}from"./index-Rndj8vN-.js";import{H as Ce,T as Me,I as We,F as qe,u as Ye,B as Xe,L as Ke,a as Ue}from"./LandingPage-DlUn22BL.js";const ve=[{id:"1",name:"Дружок",age:{year:"1",month:"3"},imgLg:"./animals/drywok.jpg",imgMob:"./animals/mob/drywok.jpg",description:"Собака породи лабрадор"},{id:"2",name:"Бім",age:{year:"",month:"8"},imgLg:"./animals/bim.jpg",imgMob:"./animals/mob/bim.jpg",description:"Собака"},{id:"3",name:"Сільвер",age:{year:"1",month:"9"},imgLg:"./animals/silver.jpg",imgMob:"./animals/mob/silver.jpg",description:"Кіт"},{id:"4",name:"Білка",age:{year:"2",month:""},imgLg:"./animals/bilka.jpg",imgMob:"./animals/mob/bilka.jpg",description:"Руда кішка"},{id:"5",name:"Лаккі",age:{year:"2",month:"1"},imgLg:"animals/lucky.jpg",imgMob:"animals/mob/lucky.jpg",description:"Пес"},{id:"6",name:"Джек",age:{year:"2",month:"1"},imgLg:"animals/mob/jack.jpg",imgMob:"animals/mob/jack.jpg",description:"Пес"},{id:"7",name:"Буся",age:{year:"2",month:"1"},imgLg:"animals/mob/bysya.jpg",imgMob:"animals/mob/bysya.jpg",description:"Пес"},{id:"8",name:"Журик",age:{year:"1",month:""},imgLg:"animals/wyruk.jpg",imgMob:"animals/wyruk.jpg",description:"Пес"}];function we(t){return t!==null&&typeof t=="object"&&"constructor"in t&&t.constructor===Object}function he(t,e){t===void 0&&(t={}),e===void 0&&(e={}),Object.keys(e).forEach(i=>{typeof t[i]>"u"?t[i]=e[i]:we(e[i])&&we(t[i])&&Object.keys(e[i]).length>0&&he(t[i],e[i])})}const Ie={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector(){return null},querySelectorAll(){return[]},getElementById(){return null},createEvent(){return{initEvent(){}}},createElement(){return{children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName(){return[]}}},createElementNS(){return{}},importNode(){return null},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function k(){const t=typeof document<"u"?document:{};return he(t,Ie),t}const Ze={document:Ie,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle(){return{getPropertyValue(){return""}}},Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia(){return{}},requestAnimationFrame(t){return typeof setTimeout>"u"?(t(),null):setTimeout(t,0)},cancelAnimationFrame(t){typeof setTimeout>"u"||clearTimeout(t)}};function N(){const t=typeof window<"u"?window:{};return he(t,Ze),t}function Je(t){return t===void 0&&(t=""),t.trim().split(" ").filter(e=>!!e.trim())}function Qe(t){const e=t;Object.keys(e).forEach(i=>{try{e[i]=null}catch{}try{delete e[i]}catch{}})}function ue(t,e){return e===void 0&&(e=0),setTimeout(t,e)}function te(){return Date.now()}function et(t){const e=N();let i;return e.getComputedStyle&&(i=e.getComputedStyle(t,null)),!i&&t.currentStyle&&(i=t.currentStyle),i||(i=t.style),i}function tt(t,e){e===void 0&&(e="x");const i=N();let s,n,r;const l=et(t);return i.WebKitCSSMatrix?(n=l.transform||l.webkitTransform,n.split(",").length>6&&(n=n.split(", ").map(o=>o.replace(",",".")).join(", ")),r=new i.WebKitCSSMatrix(n==="none"?"":n)):(r=l.MozTransform||l.OTransform||l.MsTransform||l.msTransform||l.transform||l.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),s=r.toString().split(",")),e==="x"&&(i.WebKitCSSMatrix?n=r.m41:s.length===16?n=parseFloat(s[12]):n=parseFloat(s[4])),e==="y"&&(i.WebKitCSSMatrix?n=r.m42:s.length===16?n=parseFloat(s[13]):n=parseFloat(s[5])),n||0}function Z(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"}function it(t){return typeof window<"u"&&typeof window.HTMLElement<"u"?t instanceof HTMLElement:t&&(t.nodeType===1||t.nodeType===11)}function B(){const t=Object(arguments.length<=0?void 0:arguments[0]),e=["__proto__","constructor","prototype"];for(let i=1;ie.indexOf(r)<0);for(let r=0,l=n.length;rr?"next":"prev",d=(p,f)=>u==="next"&&p>=f||u==="prev"&&p<=f,c=()=>{o=new Date().getTime(),l===null&&(l=o);const p=Math.max(Math.min((o-l)/a,1),0),f=.5-Math.cos(p*Math.PI)/2;let h=r+f*(i-r);if(d(h,i)&&(h=i),e.wrapperEl.scrollTo({[s]:h}),d(h,i)){e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout(()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[s]:h})}),n.cancelAnimationFrame(e.cssModeFrameID);return}e.cssModeFrameID=n.requestAnimationFrame(c)};c()}function $(t,e){return e===void 0&&(e=""),[...t.children].filter(i=>i.matches(e))}function ie(t){try{console.warn(t);return}catch{}}function fe(t,e){e===void 0&&(e=[]);const i=document.createElement(t);return i.classList.add(...Array.isArray(e)?e:Je(e)),i}function st(t,e){const i=[];for(;t.previousElementSibling;){const s=t.previousElementSibling;e?s.matches(e)&&i.push(s):i.push(s),t=s}return i}function rt(t,e){const i=[];for(;t.nextElementSibling;){const s=t.nextElementSibling;e?s.matches(e)&&i.push(s):i.push(s),t=s}return i}function H(t,e){return N().getComputedStyle(t,null).getPropertyValue(e)}function Se(t){let e=t,i;if(e){for(i=0;(e=e.previousSibling)!==null;)e.nodeType===1&&(i+=1);return i}}function nt(t,e){const i=[];let s=t.parentElement;for(;s;)e?s.matches(e)&&i.push(s):i.push(s),s=s.parentElement;return i}function xe(t,e,i){const s=N();return i?t[e==="width"?"offsetWidth":"offsetHeight"]+parseFloat(s.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-right":"margin-top"))+parseFloat(s.getComputedStyle(t,null).getPropertyValue(e==="width"?"margin-left":"margin-bottom")):t.offsetWidth}let re;function at(){const t=N(),e=k();return{smoothScroll:e.documentElement&&e.documentElement.style&&"scrollBehavior"in e.documentElement.style,touch:!!("ontouchstart"in t||t.DocumentTouch&&e instanceof t.DocumentTouch)}}function Oe(){return re||(re=at()),re}let ne;function lt(t){let{userAgent:e}=t===void 0?{}:t;const i=Oe(),s=N(),n=s.navigator.platform,r=e||s.navigator.userAgent,l={ios:!1,android:!1},o=s.screen.width,a=s.screen.height,u=r.match(/(Android);?[\s\/]+([\d.]+)?/);let d=r.match(/(iPad).*OS\s([\d_]+)/);const c=r.match(/(iPod)(.*OS\s([\d_]+))?/),p=!d&&r.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f=n==="Win32";let h=n==="MacIntel";const v=["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"];return!d&&h&&i.touch&&v.indexOf(`${o}x${a}`)>=0&&(d=r.match(/(Version)\/([\d.]+)/),d||(d=[0,1,"13_0_0"]),h=!1),u&&!f&&(l.os="android",l.android=!0),(d||p||c)&&(l.os="ios",l.ios=!0),l}function ze(t){return t===void 0&&(t={}),ne||(ne=lt(t)),ne}let ae;function ot(){const t=N(),e=ze();let i=!1;function s(){const o=t.navigator.userAgent.toLowerCase();return o.indexOf("safari")>=0&&o.indexOf("chrome")<0&&o.indexOf("android")<0}if(s()){const o=String(t.navigator.userAgent);if(o.includes("Version/")){const[a,u]=o.split("Version/")[1].split(" ")[0].split(".").map(d=>Number(d));i=a<16||a===16&&u<2}}const n=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(t.navigator.userAgent),r=s(),l=r||n&&e.ios;return{isSafari:i||r,needPerspectiveFix:i,need3dFix:l,isWebView:n}}function dt(){return ae||(ae=ot()),ae}function ct(t){let{swiper:e,on:i,emit:s}=t;const n=N();let r=null,l=null;const o=()=>{!e||e.destroyed||!e.initialized||(s("beforeResize"),s("resize"))},a=()=>{!e||e.destroyed||!e.initialized||(r=new ResizeObserver(c=>{l=n.requestAnimationFrame(()=>{const{width:p,height:f}=e;let h=p,v=f;c.forEach(b=>{let{contentBoxSize:m,contentRect:T,target:g}=b;g&&g!==e.el||(h=T?T.width:(m[0]||m).inlineSize,v=T?T.height:(m[0]||m).blockSize)}),(h!==p||v!==f)&&o()})}),r.observe(e.el))},u=()=>{l&&n.cancelAnimationFrame(l),r&&r.unobserve&&e.el&&(r.unobserve(e.el),r=null)},d=()=>{!e||e.destroyed||!e.initialized||s("orientationchange")};i("init",()=>{if(e.params.resizeObserver&&typeof n.ResizeObserver<"u"){a();return}n.addEventListener("resize",o),n.addEventListener("orientationchange",d)}),i("destroy",()=>{u(),n.removeEventListener("resize",o),n.removeEventListener("orientationchange",d)})}function ut(t){let{swiper:e,extendParams:i,on:s,emit:n}=t;const r=[],l=N(),o=function(d,c){c===void 0&&(c={});const p=l.MutationObserver||l.WebkitMutationObserver,f=new p(h=>{if(e.__preventObserver__)return;if(h.length===1){n("observerUpdate",h[0]);return}const v=function(){n("observerUpdate",h[0])};l.requestAnimationFrame?l.requestAnimationFrame(v):l.setTimeout(v,0)});f.observe(d,{attributes:typeof c.attributes>"u"?!0:c.attributes,childList:typeof c.childList>"u"?!0:c.childList,characterData:typeof c.characterData>"u"?!0:c.characterData}),r.push(f)},a=()=>{if(e.params.observer){if(e.params.observeParents){const d=nt(e.hostEl);for(let c=0;c{r.forEach(d=>{d.disconnect()}),r.splice(0,r.length)};i({observer:!1,observeParents:!1,observeSlideChildren:!1}),s("init",a),s("destroy",u)}var ft={on(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;const n=i?"unshift":"push";return t.split(" ").forEach(r=>{s.eventsListeners[r]||(s.eventsListeners[r]=[]),s.eventsListeners[r][n](e)}),s},once(t,e,i){const s=this;if(!s.eventsListeners||s.destroyed||typeof e!="function")return s;function n(){s.off(t,n),n.__emitterProxy&&delete n.__emitterProxy;for(var r=arguments.length,l=new Array(r),o=0;o=0&&e.eventsAnyListeners.splice(i,1),e},off(t,e){const i=this;return!i.eventsListeners||i.destroyed||!i.eventsListeners||t.split(" ").forEach(s=>{typeof e>"u"?i.eventsListeners[s]=[]:i.eventsListeners[s]&&i.eventsListeners[s].forEach((n,r)=>{(n===e||n.__emitterProxy&&n.__emitterProxy===e)&&i.eventsListeners[s].splice(r,1)})}),i},emit(){const t=this;if(!t.eventsListeners||t.destroyed||!t.eventsListeners)return t;let e,i,s;for(var n=arguments.length,r=new Array(n),l=0;l{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach(u=>{u.apply(s,[a,...i])}),t.eventsListeners&&t.eventsListeners[a]&&t.eventsListeners[a].forEach(u=>{u.apply(s,i)})}),t}};function pt(){const t=this;let e,i;const s=t.el;typeof t.params.width<"u"&&t.params.width!==null?e=t.params.width:e=s.clientWidth,typeof t.params.height<"u"&&t.params.height!==null?i=t.params.height:i=s.clientHeight,!(e===0&&t.isHorizontal()||i===0&&t.isVertical())&&(e=e-parseInt(H(s,"padding-left")||0,10)-parseInt(H(s,"padding-right")||0,10),i=i-parseInt(H(s,"padding-top")||0,10)-parseInt(H(s,"padding-bottom")||0,10),Number.isNaN(e)&&(e=0),Number.isNaN(i)&&(i=0),Object.assign(t,{width:e,height:i,size:t.isHorizontal()?e:i}))}function mt(){const t=this;function e(w,E){return parseFloat(w.getPropertyValue(t.getDirectionLabel(E))||0)}const i=t.params,{wrapperEl:s,slidesEl:n,size:r,rtlTranslate:l,wrongRTL:o}=t,a=t.virtual&&i.virtual.enabled,u=a?t.virtual.slides.length:t.slides.length,d=$(n,`.${t.params.slideClass}, swiper-slide`),c=a?t.virtual.slides.length:d.length;let p=[];const f=[],h=[];let v=i.slidesOffsetBefore;typeof v=="function"&&(v=i.slidesOffsetBefore.call(t));let b=i.slidesOffsetAfter;typeof b=="function"&&(b=i.slidesOffsetAfter.call(t));const m=t.snapGrid.length,T=t.slidesGrid.length;let g=i.spaceBetween,S=-v,x=0,I=0;if(typeof r>"u")return;typeof g=="string"&&g.indexOf("%")>=0?g=parseFloat(g.replace("%",""))/100*r:typeof g=="string"&&(g=parseFloat(g)),t.virtualSize=-g,d.forEach(w=>{l?w.style.marginLeft="":w.style.marginRight="",w.style.marginBottom="",w.style.marginTop=""}),i.centeredSlides&&i.cssMode&&(J(s,"--swiper-centered-offset-before",""),J(s,"--swiper-centered-offset-after",""));const G=i.grid&&i.grid.rows>1&&t.grid;G?t.grid.initSlides(d):t.grid&&t.grid.unsetSlides();let M;const y=i.slidesPerView==="auto"&&i.breakpoints&&Object.keys(i.breakpoints).filter(w=>typeof i.breakpoints[w].slidesPerView<"u").length>0;for(let w=0;w1&&p.push(t.virtualSize-r)}if(a&&i.loop){const w=h[0]+g;if(i.slidesPerGroup>1){const E=Math.ceil((t.virtual.slidesBefore+t.virtual.slidesAfter)/i.slidesPerGroup),C=w*i.slidesPerGroup;for(let P=0;P!i.cssMode||i.loop?!0:C!==d.length-1).forEach(E=>{E.style[w]=`${g}px`})}if(i.centeredSlides&&i.centeredSlidesBounds){let w=0;h.forEach(C=>{w+=C+(g||0)}),w-=g;const E=w-r;p=p.map(C=>C<=0?-v:C>E?E+b:C)}if(i.centerInsufficientSlides){let w=0;if(h.forEach(E=>{w+=E+(g||0)}),w-=g,w{p[P]=C-E}),f.forEach((C,P)=>{f[P]=C+E})}}if(Object.assign(t,{slides:d,snapGrid:p,slidesGrid:f,slidesSizesGrid:h}),i.centeredSlides&&i.cssMode&&!i.centeredSlidesBounds){J(s,"--swiper-centered-offset-before",`${-p[0]}px`),J(s,"--swiper-centered-offset-after",`${t.size/2-h[h.length-1]/2}px`);const w=-t.snapGrid[0],E=-t.slidesGrid[0];t.snapGrid=t.snapGrid.map(C=>C+w),t.slidesGrid=t.slidesGrid.map(C=>C+E)}if(c!==u&&t.emit("slidesLengthChange"),p.length!==m&&(t.params.watchOverflow&&t.checkOverflow(),t.emit("snapGridLengthChange")),f.length!==T&&t.emit("slidesGridLengthChange"),i.watchSlidesProgress&&t.updateSlidesOffset(),t.emit("slidesUpdated"),!a&&!i.cssMode&&(i.effect==="slide"||i.effect==="fade")){const w=`${i.containerModifierClass}backface-hidden`,E=t.el.classList.contains(w);c<=i.maxBackfaceHiddenSlides?E||t.el.classList.add(w):E&&t.el.classList.remove(w)}}function ht(t){const e=this,i=[],s=e.virtual&&e.params.virtual.enabled;let n=0,r;typeof t=="number"?e.setTransition(t):t===!0&&e.setTransition(e.params.speed);const l=o=>s?e.slides[e.getSlideIndexByData(o)]:e.slides[o];if(e.params.slidesPerView!=="auto"&&e.params.slidesPerView>1)if(e.params.centeredSlides)(e.visibleSlides||[]).forEach(o=>{i.push(o)});else for(r=0;re.slides.length&&!s)break;i.push(l(o))}else i.push(l(e.activeIndex));for(r=0;rn?o:n}(n||n===0)&&(e.wrapperEl.style.height=`${n}px`)}function gt(){const t=this,e=t.slides,i=t.isElement?t.isHorizontal()?t.wrapperEl.offsetLeft:t.wrapperEl.offsetTop:0;for(let s=0;s"u"&&e.updateSlidesOffset();let l=-t;n&&(l=t),s.forEach(a=>{a.classList.remove(i.slideVisibleClass,i.slideFullyVisibleClass)}),e.visibleSlidesIndexes=[],e.visibleSlides=[];let o=i.spaceBetween;typeof o=="string"&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*e.size:typeof o=="string"&&(o=parseFloat(o));for(let a=0;a=0&&f<=e.size-e.slidesSizesGrid[a];(f>=0&&f1&&h<=e.size||f<=0&&h>=e.size)&&(e.visibleSlides.push(u),e.visibleSlidesIndexes.push(a),s[a].classList.add(i.slideVisibleClass)),v&&s[a].classList.add(i.slideFullyVisibleClass),u.progress=n?-c:c,u.originalProgress=n?-p:p}}function wt(t){const e=this;if(typeof t>"u"){const d=e.rtlTranslate?-1:1;t=e&&e.translate&&e.translate*d||0}const i=e.params,s=e.maxTranslate()-e.minTranslate();let{progress:n,isBeginning:r,isEnd:l,progressLoop:o}=e;const a=r,u=l;if(s===0)n=0,r=!0,l=!0;else{n=(t-e.minTranslate())/s;const d=Math.abs(t-e.minTranslate())<1,c=Math.abs(t-e.maxTranslate())<1;r=d||n<=0,l=c||n>=1,d&&(n=0),c&&(n=1)}if(i.loop){const d=e.getSlideIndexByData(0),c=e.getSlideIndexByData(e.slides.length-1),p=e.slidesGrid[d],f=e.slidesGrid[c],h=e.slidesGrid[e.slidesGrid.length-1],v=Math.abs(t);v>=p?o=(v-p)/h:o=(v+h-f)/h,o>1&&(o-=1)}Object.assign(e,{progress:n,progressLoop:o,isBeginning:r,isEnd:l}),(i.watchSlidesProgress||i.centeredSlides&&i.autoHeight)&&e.updateSlidesProgress(t),r&&!a&&e.emit("reachBeginning toEdge"),l&&!u&&e.emit("reachEnd toEdge"),(a&&!r||u&&!l)&&e.emit("fromEdge"),e.emit("progress",n)}const le=(t,e,i)=>{e&&!t.classList.contains(i)?t.classList.add(i):!e&&t.classList.contains(i)&&t.classList.remove(i)};function St(){const t=this,{slides:e,params:i,slidesEl:s,activeIndex:n}=t,r=t.virtual&&i.virtual.enabled,l=t.grid&&i.grid&&i.grid.rows>1,o=c=>$(s,`.${i.slideClass}${c}, swiper-slide${c}`)[0];let a,u,d;if(r)if(i.loop){let c=n-t.virtual.slidesBefore;c<0&&(c=t.virtual.slides.length+c),c>=t.virtual.slides.length&&(c-=t.virtual.slides.length),a=o(`[data-swiper-slide-index="${c}"]`)}else a=o(`[data-swiper-slide-index="${n}"]`);else l?(a=e.filter(c=>c.column===n)[0],d=e.filter(c=>c.column===n+1)[0],u=e.filter(c=>c.column===n-1)[0]):a=e[n];a&&(l||(d=rt(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!d&&(d=e[0]),u=st(a,`.${i.slideClass}, swiper-slide`)[0],i.loop&&!u===0&&(u=e[e.length-1]))),e.forEach(c=>{le(c,c===a,i.slideActiveClass),le(c,c===d,i.slideNextClass),le(c,c===u,i.slidePrevClass)}),t.emitSlidesClasses()}const Q=(t,e)=>{if(!t||t.destroyed||!t.params)return;const i=()=>t.isElement?"swiper-slide":`.${t.params.slideClass}`,s=e.closest(i());if(s){let n=s.querySelector(`.${t.params.lazyPreloaderClass}`);!n&&t.isElement&&(s.shadowRoot?n=s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`):requestAnimationFrame(()=>{s.shadowRoot&&(n=s.shadowRoot.querySelector(`.${t.params.lazyPreloaderClass}`),n&&n.remove())})),n&&n.remove()}},oe=(t,e)=>{if(!t.slides[e])return;const i=t.slides[e].querySelector('[loading="lazy"]');i&&i.removeAttribute("loading")},pe=t=>{if(!t||t.destroyed||!t.params)return;let e=t.params.lazyPreloadPrevNext;const i=t.slides.length;if(!i||!e||e<0)return;e=Math.min(e,i);const s=t.params.slidesPerView==="auto"?t.slidesPerViewDynamic():Math.ceil(t.params.slidesPerView),n=t.activeIndex;if(t.params.grid&&t.params.grid.rows>1){const l=n,o=[l-e];o.push(...Array.from({length:e}).map((a,u)=>l+s+u)),t.slides.forEach((a,u)=>{o.includes(a.column)&&oe(t,u)});return}const r=n+s-1;if(t.params.rewind||t.params.loop)for(let l=n-e;l<=r+e;l+=1){const o=(l%i+i)%i;(or)&&oe(t,o)}else for(let l=Math.max(n-e,0);l<=Math.min(r+e,i-1);l+=1)l!==n&&(l>r||l=e[r]&&s=e[r]&&s=e[r]&&(n=r);return i.normalizeSlideIndex&&(n<0||typeof n>"u")&&(n=0),n}function bt(t){const e=this,i=e.rtlTranslate?e.translate:-e.translate,{snapGrid:s,params:n,activeIndex:r,realIndex:l,snapIndex:o}=e;let a=t,u;const d=f=>{let h=f-e.virtual.slidesBefore;return h<0&&(h=e.virtual.slides.length+h),h>=e.virtual.slides.length&&(h-=e.virtual.slides.length),h};if(typeof a>"u"&&(a=xt(e)),s.indexOf(i)>=0)u=s.indexOf(i);else{const f=Math.min(n.slidesPerGroupSkip,a);u=f+Math.floor((a-f)/n.slidesPerGroup)}if(u>=s.length&&(u=s.length-1),a===r&&!e.params.loop){u!==o&&(e.snapIndex=u,e.emit("snapIndexChange"));return}if(a===r&&e.params.loop&&e.virtual&&e.params.virtual.enabled){e.realIndex=d(a);return}const c=e.grid&&n.grid&&n.grid.rows>1;let p;if(e.virtual&&n.virtual.enabled&&n.loop)p=d(a);else if(c){const f=e.slides.filter(v=>v.column===a)[0];let h=parseInt(f.getAttribute("data-swiper-slide-index"),10);Number.isNaN(h)&&(h=Math.max(e.slides.indexOf(f),0)),p=Math.floor(h/n.grid.rows)}else if(e.slides[a]){const f=e.slides[a].getAttribute("data-swiper-slide-index");f?p=parseInt(f,10):p=a}else p=a;Object.assign(e,{previousSnapIndex:o,snapIndex:u,previousRealIndex:l,realIndex:p,previousIndex:r,activeIndex:a}),e.initialized&&pe(e),e.emit("activeIndexChange"),e.emit("snapIndexChange"),(e.initialized||e.params.runCallbacksOnInit)&&(l!==p&&e.emit("realIndexChange"),e.emit("slideChange"))}function Tt(t,e){const i=this,s=i.params;let n=t.closest(`.${s.slideClass}, swiper-slide`);!n&&i.isElement&&e&&e.length>1&&e.includes(t)&&[...e.slice(e.indexOf(t)+1,e.length)].forEach(o=>{!n&&o.matches&&o.matches(`.${s.slideClass}, swiper-slide`)&&(n=o)});let r=!1,l;if(n){for(let o=0;oa?d=a:s&&tl?o="next":r"u"&&(e=r.params.speed);const v=Math.min(r.params.slidesPerGroupSkip,l);let b=v+Math.floor((l-v)/r.params.slidesPerGroup);b>=a.length&&(b=a.length-1);const m=-a[b];if(o.normalizeSlideIndex)for(let g=0;g=x&&S=x&&S=x&&(l=g)}if(r.initialized&&l!==c&&(!r.allowSlideNext&&(p?m>r.translate&&m>r.minTranslate():mr.translate&&m>r.maxTranslate()&&(c||0)!==l))return!1;l!==(d||0)&&i&&r.emit("beforeSlideChangeStart"),r.updateProgress(m);let T;if(l>c?T="next":l0?(r._cssModeVirtualInitialSet=!0,requestAnimationFrame(()=>{f[g?"scrollLeft":"scrollTop"]=S})):f[g?"scrollLeft":"scrollTop"]=S,x&&requestAnimationFrame(()=>{r.wrapperEl.style.scrollSnapType="",r._immediateVirtual=!1})}else{if(!r.support.smoothScroll)return Le({swiper:r,targetPosition:S,side:g?"left":"top"}),!0;f.scrollTo({[g?"left":"top"]:S,behavior:"smooth"})}return!0}return r.setTransition(e),r.setTranslate(m),r.updateActiveIndex(l),r.updateSlidesClasses(),r.emit("beforeTransitionStart",e,s),r.transitionStart(i,T),e===0?r.transitionEnd(i,T):r.animating||(r.animating=!0,r.onSlideToWrapperTransitionEnd||(r.onSlideToWrapperTransitionEnd=function(S){!r||r.destroyed||S.target===this&&(r.wrapperEl.removeEventListener("transitionend",r.onSlideToWrapperTransitionEnd),r.onSlideToWrapperTransitionEnd=null,delete r.onSlideToWrapperTransitionEnd,r.transitionEnd(i,T))}),r.wrapperEl.addEventListener("transitionend",r.onSlideToWrapperTransitionEnd)),!0}function Gt(t,e,i,s){t===void 0&&(t=0),i===void 0&&(i=!0),typeof t=="string"&&(t=parseInt(t,10));const n=this;if(n.destroyed)return;typeof e>"u"&&(e=n.params.speed);const r=n.grid&&n.params.grid&&n.params.grid.rows>1;let l=t;if(n.params.loop)if(n.virtual&&n.params.virtual.enabled)l=l+n.virtual.slidesBefore;else{let o;if(r){const p=l*n.params.grid.rows;o=n.slides.filter(f=>f.getAttribute("data-swiper-slide-index")*1===p)[0].column}else o=n.getSlideIndexByData(l);const a=r?Math.ceil(n.slides.length/n.params.grid.rows):n.slides.length,{centeredSlides:u}=n.params;let d=n.params.slidesPerView;d==="auto"?d=n.slidesPerViewDynamic():(d=Math.ceil(parseFloat(n.params.slidesPerView,10)),u&&d%2===0&&(d=d+1));let c=a-of.getAttribute("data-swiper-slide-index")*1===p)[0].column}else l=n.getSlideIndexByData(l)}return requestAnimationFrame(()=>{n.slideTo(l,e,i,s)}),n}function Vt(t,e,i){e===void 0&&(e=!0);const s=this,{enabled:n,params:r,animating:l}=s;if(!n||s.destroyed)return s;typeof t>"u"&&(t=s.params.speed);let o=r.slidesPerGroup;r.slidesPerView==="auto"&&r.slidesPerGroup===1&&r.slidesPerGroupAuto&&(o=Math.max(s.slidesPerViewDynamic("current",!0),1));const a=s.activeIndex{s.slideTo(s.activeIndex+a,t,e,i)}),!0}return r.rewind&&s.isEnd?s.slideTo(0,t,e,i):s.slideTo(s.activeIndex+a,t,e,i)}function jt(t,e,i){e===void 0&&(e=!0);const s=this,{params:n,snapGrid:r,slidesGrid:l,rtlTranslate:o,enabled:a,animating:u}=s;if(!a||s.destroyed)return s;typeof t>"u"&&(t=s.params.speed);const d=s.virtual&&n.virtual.enabled;if(n.loop){if(u&&!d&&n.loopPreventsSliding)return!1;s.loopFix({direction:"prev"}),s._clientLeft=s.wrapperEl.clientLeft}const c=o?s.translate:-s.translate;function p(m){return m<0?-Math.floor(Math.abs(m)):Math.floor(m)}const f=p(c),h=r.map(m=>p(m));let v=r[h.indexOf(f)-1];if(typeof v>"u"&&n.cssMode){let m;r.forEach((T,g)=>{f>=T&&(m=g)}),typeof m<"u"&&(v=r[m>0?m-1:m])}let b=0;if(typeof v<"u"&&(b=l.indexOf(v),b<0&&(b=s.activeIndex-1),n.slidesPerView==="auto"&&n.slidesPerGroup===1&&n.slidesPerGroupAuto&&(b=b-s.slidesPerViewDynamic("previous",!0)+1,b=Math.max(b,0))),n.rewind&&s.isBeginning){const m=s.params.virtual&&s.params.virtual.enabled&&s.virtual?s.virtual.slides.length-1:s.slides.length-1;return s.slideTo(m,t,e,i)}else if(n.loop&&s.activeIndex===0&&n.cssMode)return requestAnimationFrame(()=>{s.slideTo(b,t,e,i)}),!0;return s.slideTo(b,t,e,i)}function Bt(t,e,i){e===void 0&&(e=!0);const s=this;if(!s.destroyed)return typeof t>"u"&&(t=s.params.speed),s.slideTo(s.activeIndex,t,e,i)}function Nt(t,e,i,s){e===void 0&&(e=!0),s===void 0&&(s=.5);const n=this;if(n.destroyed)return;typeof t>"u"&&(t=n.params.speed);let r=n.activeIndex;const l=Math.min(n.params.slidesPerGroupSkip,r),o=l+Math.floor((r-l)/n.params.slidesPerGroup),a=n.rtlTranslate?n.translate:-n.translate;if(a>=n.snapGrid[o]){const u=n.snapGrid[o],d=n.snapGrid[o+1];a-u>(d-u)*s&&(r+=n.params.slidesPerGroup)}else{const u=n.snapGrid[o-1],d=n.snapGrid[o];a-u<=(d-u)*s&&(r-=n.params.slidesPerGroup)}return r=Math.max(r,0),r=Math.min(r,n.slidesGrid.length-1),n.slideTo(r,t,e,i)}function Ft(){const t=this;if(t.destroyed)return;const{params:e,slidesEl:i}=t,s=e.slidesPerView==="auto"?t.slidesPerViewDynamic():e.slidesPerView;let n=t.clickedIndex,r;const l=t.isElement?"swiper-slide":`.${e.slideClass}`;if(e.loop){if(t.animating)return;r=parseInt(t.clickedSlide.getAttribute("data-swiper-slide-index"),10),e.centeredSlides?nt.slides.length-t.loopedSlides+s/2?(t.loopFix(),n=t.getSlideIndex($(i,`${l}[data-swiper-slide-index="${r}"]`)[0]),ue(()=>{t.slideTo(n)})):t.slideTo(n):n>t.slides.length-s?(t.loopFix(),n=t.getSlideIndex($(i,`${l}[data-swiper-slide-index="${r}"]`)[0]),ue(()=>{t.slideTo(n)})):t.slideTo(n)}else t.slideTo(n)}var Rt={slideTo:Dt,slideToLoop:Gt,slideNext:Vt,slidePrev:jt,slideReset:Bt,slideToClosest:Nt,slideToClickedSlide:Ft};function $t(t){const e=this,{params:i,slidesEl:s}=e;if(!i.loop||e.virtual&&e.params.virtual.enabled)return;const n=()=>{$(s,`.${i.slideClass}, swiper-slide`).forEach((c,p)=>{c.setAttribute("data-swiper-slide-index",p)})},r=e.grid&&i.grid&&i.grid.rows>1,l=i.slidesPerGroup*(r?i.grid.rows:1),o=e.slides.length%l!==0,a=r&&e.slides.length%i.grid.rows!==0,u=d=>{for(let c=0;c1;u.length"u"?r=a.getSlideIndex(u.filter(P=>P.classList.contains(f.slideActiveClass))[0]):x=r;const I=s==="next"||!s,G=s==="prev"||!s;let M=0,y=0;const w=T?Math.ceil(u.length/f.grid.rows):u.length,C=(T?u[r].column:r)+(h&&typeof n>"u"?-v/2+.5:0);if(C=0;F-=1)u[F].column===V&&g.push(F)}else g.push(w-_-1)}}else if(C+v>w-m){y=Math.max(C-(w-m*2),b);for(let P=0;P{V.column===_&&S.push(F)}):S.push(_)}}if(a.__preventObserver__=!0,requestAnimationFrame(()=>{a.__preventObserver__=!1}),G&&g.forEach(P=>{u[P].swiperLoopMoveDOM=!0,p.prepend(u[P]),u[P].swiperLoopMoveDOM=!1}),I&&S.forEach(P=>{u[P].swiperLoopMoveDOM=!0,p.append(u[P]),u[P].swiperLoopMoveDOM=!1}),a.recalcSlides(),f.slidesPerView==="auto"?a.updateSlides():T&&(g.length>0&&G||S.length>0&&I)&&a.slides.forEach((P,_)=>{a.grid.updateSlide(_,P,a.slides)}),f.watchSlidesProgress&&a.updateSlidesOffset(),i){if(g.length>0&&G){if(typeof e>"u"){const P=a.slidesGrid[x],V=a.slidesGrid[x+M]-P;o?a.setTranslate(a.translate-V):(a.slideTo(x+Math.ceil(M),0,!1,!0),n&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-V,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-V))}else if(n){const P=T?g.length/f.grid.rows:g.length;a.slideTo(a.activeIndex+P,0,!1,!0),a.touchEventsData.currentTranslate=a.translate}}else if(S.length>0&&I)if(typeof e>"u"){const P=a.slidesGrid[x],V=a.slidesGrid[x-y]-P;o?a.setTranslate(a.translate-V):(a.slideTo(x-y,0,!1,!0),n&&(a.touchEventsData.startTranslate=a.touchEventsData.startTranslate-V,a.touchEventsData.currentTranslate=a.touchEventsData.currentTranslate-V))}else{const P=T?S.length/f.grid.rows:S.length;a.slideTo(a.activeIndex-P,0,!1,!0)}}if(a.allowSlidePrev=d,a.allowSlideNext=c,a.controller&&a.controller.control&&!l){const P={slideRealIndex:e,direction:s,setTranslate:n,activeSlideIndex:r,byController:!0};Array.isArray(a.controller.control)?a.controller.control.forEach(_=>{!_.destroyed&&_.params.loop&&_.loopFix({...P,slideTo:_.params.slidesPerView===f.slidesPerView?i:!1})}):a.controller.control instanceof a.constructor&&a.controller.control.params.loop&&a.controller.control.loopFix({...P,slideTo:a.controller.control.params.slidesPerView===f.slidesPerView?i:!1})}a.emit("loopFix")}function Ht(){const t=this,{params:e,slidesEl:i}=t;if(!e.loop||t.virtual&&t.params.virtual.enabled)return;t.recalcSlides();const s=[];t.slides.forEach(n=>{const r=typeof n.swiperSlideIndex>"u"?n.getAttribute("data-swiper-slide-index")*1:n.swiperSlideIndex;s[r]=n}),t.slides.forEach(n=>{n.removeAttribute("data-swiper-slide-index")}),s.forEach(n=>{i.append(n)}),t.recalcSlides(),t.slideTo(t.realIndex,0)}var Wt={loopCreate:$t,loopFix:kt,loopDestroy:Ht};function qt(t){const e=this;if(!e.params.simulateTouch||e.params.watchOverflow&&e.isLocked||e.params.cssMode)return;const i=e.params.touchEventsTarget==="container"?e.el:e.wrapperEl;e.isElement&&(e.__preventObserver__=!0),i.style.cursor="move",i.style.cursor=t?"grabbing":"grab",e.isElement&&requestAnimationFrame(()=>{e.__preventObserver__=!1})}function Yt(){const t=this;t.params.watchOverflow&&t.isLocked||t.params.cssMode||(t.isElement&&(t.__preventObserver__=!0),t[t.params.touchEventsTarget==="container"?"el":"wrapperEl"].style.cursor="",t.isElement&&requestAnimationFrame(()=>{t.__preventObserver__=!1}))}var Xt={setGrabCursor:qt,unsetGrabCursor:Yt};function Kt(t,e){e===void 0&&(e=this);function i(s){if(!s||s===k()||s===N())return null;s.assignedSlot&&(s=s.assignedSlot);const n=s.closest(t);return!n&&!s.getRootNode?null:n||i(s.getRootNode().host)}return i(e)}function be(t,e,i){const s=N(),{params:n}=t,r=n.edgeSwipeDetection,l=n.edgeSwipeThreshold;return r&&(i<=l||i>=s.innerWidth-l)?r==="prevent"?(e.preventDefault(),!0):!1:!0}function Ut(t){const e=this,i=k();let s=t;s.originalEvent&&(s=s.originalEvent);const n=e.touchEventsData;if(s.type==="pointerdown"){if(n.pointerId!==null&&n.pointerId!==s.pointerId)return;n.pointerId=s.pointerId}else s.type==="touchstart"&&s.targetTouches.length===1&&(n.touchId=s.targetTouches[0].identifier);if(s.type==="touchstart"){be(e,s,s.targetTouches[0].pageX);return}const{params:r,touches:l,enabled:o}=e;if(!o||!r.simulateTouch&&s.pointerType==="mouse"||e.animating&&r.preventInteractionOnTransition)return;!e.animating&&r.cssMode&&r.loop&&e.loopFix();let a=s.target;if(r.touchEventsTarget==="wrapper"&&!e.wrapperEl.contains(a)||"which"in s&&s.which===3||"button"in s&&s.button>0||n.isTouched&&n.isMoved)return;const u=!!r.noSwipingClass&&r.noSwipingClass!=="",d=s.composedPath?s.composedPath():s.path;u&&s.target&&s.target.shadowRoot&&d&&(a=d[0]);const c=r.noSwipingSelector?r.noSwipingSelector:`.${r.noSwipingClass}`,p=!!(s.target&&s.target.shadowRoot);if(r.noSwiping&&(p?Kt(c,a):a.closest(c))){e.allowClick=!0;return}if(r.swipeHandler&&!a.closest(r.swipeHandler))return;l.currentX=s.pageX,l.currentY=s.pageY;const f=l.currentX,h=l.currentY;if(!be(e,s,f))return;Object.assign(n,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=f,l.startY=h,n.touchStartTime=te(),e.allowClick=!0,e.updateSize(),e.swipeDirection=void 0,r.threshold>0&&(n.allowThresholdMove=!1);let v=!0;a.matches(n.focusableElements)&&(v=!1,a.nodeName==="SELECT"&&(n.isTouched=!1)),i.activeElement&&i.activeElement.matches(n.focusableElements)&&i.activeElement!==a&&i.activeElement.blur();const b=v&&e.allowTouchMove&&r.touchStartPreventDefault;(r.touchStartForcePreventDefault||b)&&!a.isContentEditable&&s.preventDefault(),r.freeMode&&r.freeMode.enabled&&e.freeMode&&e.animating&&!r.cssMode&&e.freeMode.onTouchStart(),e.emit("touchStart",s)}function Zt(t){const e=k(),i=this,s=i.touchEventsData,{params:n,touches:r,rtlTranslate:l,enabled:o}=i;if(!o||!n.simulateTouch&&t.pointerType==="mouse")return;let a=t;if(a.originalEvent&&(a=a.originalEvent),a.type==="pointermove"&&(s.touchId!==null||a.pointerId!==s.pointerId))return;let u;if(a.type==="touchmove"){if(u=[...a.changedTouches].filter(I=>I.identifier===s.touchId)[0],!u||u.identifier!==s.touchId)return}else u=a;if(!s.isTouched){s.startMoving&&s.isScrolling&&i.emit("touchMoveOpposite",a);return}const d=u.pageX,c=u.pageY;if(a.preventedByNestedSwiper){r.startX=d,r.startY=c;return}if(!i.allowTouchMove){a.target.matches(s.focusableElements)||(i.allowClick=!1),s.isTouched&&(Object.assign(r,{startX:d,startY:c,currentX:d,currentY:c}),s.touchStartTime=te());return}if(n.touchReleaseOnEdges&&!n.loop){if(i.isVertical()){if(cr.startY&&i.translate>=i.minTranslate()){s.isTouched=!1,s.isMoved=!1;return}}else if(dr.startX&&i.translate>=i.minTranslate())return}if(e.activeElement&&a.target===e.activeElement&&a.target.matches(s.focusableElements)){s.isMoved=!0,i.allowClick=!1;return}s.allowTouchCallbacks&&i.emit("touchMove",a),r.previousX=r.currentX,r.previousY=r.currentY,r.currentX=d,r.currentY=c;const p=r.currentX-r.startX,f=r.currentY-r.startY;if(i.params.threshold&&Math.sqrt(p**2+f**2)"u"){let I;i.isHorizontal()&&r.currentY===r.startY||i.isVertical()&&r.currentX===r.startX?s.isScrolling=!1:p*p+f*f>=25&&(I=Math.atan2(Math.abs(f),Math.abs(p))*180/Math.PI,s.isScrolling=i.isHorizontal()?I>n.touchAngle:90-I>n.touchAngle)}if(s.isScrolling&&i.emit("touchMoveOpposite",a),typeof s.startMoving>"u"&&(r.currentX!==r.startX||r.currentY!==r.startY)&&(s.startMoving=!0),s.isScrolling){s.isTouched=!1;return}if(!s.startMoving)return;i.allowClick=!1,!n.cssMode&&a.cancelable&&a.preventDefault(),n.touchMoveStopPropagation&&!n.nested&&a.stopPropagation();let h=i.isHorizontal()?p:f,v=i.isHorizontal()?r.currentX-r.previousX:r.currentY-r.previousY;n.oneWayMovement&&(h=Math.abs(h)*(l?1:-1),v=Math.abs(v)*(l?1:-1)),r.diff=h,h*=n.touchRatio,l&&(h=-h,v=-v);const b=i.touchesDirection;i.swipeDirection=h>0?"prev":"next",i.touchesDirection=v>0?"prev":"next";const m=i.params.loop&&!n.cssMode,T=i.touchesDirection==="next"&&i.allowSlideNext||i.touchesDirection==="prev"&&i.allowSlidePrev;if(!s.isMoved){if(m&&T&&i.loopFix({direction:i.swipeDirection}),s.startTranslate=i.getTranslate(),i.setTransition(0),i.animating){const I=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});i.wrapperEl.dispatchEvent(I)}s.allowMomentumBounce=!1,n.grabCursor&&(i.allowSlideNext===!0||i.allowSlidePrev===!0)&&i.setGrabCursor(!0),i.emit("sliderFirstMove",a)}let g;if(new Date().getTime(),s.isMoved&&s.allowThresholdMove&&b!==i.touchesDirection&&m&&T&&Math.abs(h)>=1){Object.assign(r,{startX:d,startY:c,currentX:d,currentY:c,startTranslate:s.currentTranslate}),s.loopSwapReset=!0,s.startTranslate=s.currentTranslate;return}i.emit("sliderMove",a),s.isMoved=!0,s.currentTranslate=h+s.startTranslate;let S=!0,x=n.resistanceRatio;if(n.touchReleaseOnEdges&&(x=0),h>0?(m&&T&&!g&&s.allowThresholdMove&&s.currentTranslate>(n.centeredSlides?i.minTranslate()-i.slidesSizesGrid[i.activeIndex+1]:i.minTranslate())&&i.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),s.currentTranslate>i.minTranslate()&&(S=!1,n.resistance&&(s.currentTranslate=i.minTranslate()-1+(-i.minTranslate()+s.startTranslate+h)**x))):h<0&&(m&&T&&!g&&s.allowThresholdMove&&s.currentTranslate<(n.centeredSlides?i.maxTranslate()+i.slidesSizesGrid[i.slidesSizesGrid.length-1]:i.maxTranslate())&&i.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:i.slides.length-(n.slidesPerView==="auto"?i.slidesPerViewDynamic():Math.ceil(parseFloat(n.slidesPerView,10)))}),s.currentTranslates.startTranslate&&(s.currentTranslate=s.startTranslate),!i.allowSlidePrev&&!i.allowSlideNext&&(s.currentTranslate=s.startTranslate),n.threshold>0)if(Math.abs(h)>n.threshold||s.allowThresholdMove){if(!s.allowThresholdMove){s.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,s.currentTranslate=s.startTranslate,r.diff=i.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY;return}}else{s.currentTranslate=s.startTranslate;return}!n.followFinger||n.cssMode||((n.freeMode&&n.freeMode.enabled&&i.freeMode||n.watchSlidesProgress)&&(i.updateActiveIndex(),i.updateSlidesClasses()),n.freeMode&&n.freeMode.enabled&&i.freeMode&&i.freeMode.onTouchMove(),i.updateProgress(s.currentTranslate),i.setTranslate(s.currentTranslate))}function Jt(t){const e=this,i=e.touchEventsData;let s=t;s.originalEvent&&(s=s.originalEvent);let n;if(s.type==="touchend"||s.type==="touchcancel"){if(n=[...s.changedTouches].filter(x=>x.identifier===i.touchId)[0],!n||n.identifier!==i.touchId)return}else{if(i.touchId!==null||s.pointerId!==i.pointerId)return;n=s}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(s.type)&&!(["pointercancel","contextmenu"].includes(s.type)&&(e.browser.isSafari||e.browser.isWebView)))return;i.pointerId=null,i.touchId=null;const{params:l,touches:o,rtlTranslate:a,slidesGrid:u,enabled:d}=e;if(!d||!l.simulateTouch&&s.pointerType==="mouse")return;if(i.allowTouchCallbacks&&e.emit("touchEnd",s),i.allowTouchCallbacks=!1,!i.isTouched){i.isMoved&&l.grabCursor&&e.setGrabCursor(!1),i.isMoved=!1,i.startMoving=!1;return}l.grabCursor&&i.isMoved&&i.isTouched&&(e.allowSlideNext===!0||e.allowSlidePrev===!0)&&e.setGrabCursor(!1);const c=te(),p=c-i.touchStartTime;if(e.allowClick){const x=s.path||s.composedPath&&s.composedPath();e.updateClickedSlide(x&&x[0]||s.target,x),e.emit("tap click",s),p<300&&c-i.lastClickTime<300&&e.emit("doubleTap doubleClick",s)}if(i.lastClickTime=te(),ue(()=>{e.destroyed||(e.allowClick=!0)}),!i.isTouched||!i.isMoved||!e.swipeDirection||o.diff===0&&!i.loopSwapReset||i.currentTranslate===i.startTranslate&&!i.loopSwapReset){i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;return}i.isTouched=!1,i.isMoved=!1,i.startMoving=!1;let f;if(l.followFinger?f=a?e.translate:-e.translate:f=-i.currentTranslate,l.cssMode)return;if(l.freeMode&&l.freeMode.enabled){e.freeMode.onTouchEnd({currentPos:f});return}const h=f>=-e.maxTranslate()&&!e.params.loop;let v=0,b=e.slidesSizesGrid[0];for(let x=0;x=u[x]&&f=u[x])&&(v=x,b=u[u.length-1]-u[u.length-2])}let m=null,T=null;l.rewind&&(e.isBeginning?T=l.virtual&&l.virtual.enabled&&e.virtual?e.virtual.slides.length-1:e.slides.length-1:e.isEnd&&(m=0));const g=(f-u[v])/b,S=vl.longSwipesMs){if(!l.longSwipes){e.slideTo(e.activeIndex);return}e.swipeDirection==="next"&&(g>=l.longSwipesRatio?e.slideTo(l.rewind&&e.isEnd?m:v+S):e.slideTo(v)),e.swipeDirection==="prev"&&(g>1-l.longSwipesRatio?e.slideTo(v+S):T!==null&&g<0&&Math.abs(g)>l.longSwipesRatio?e.slideTo(T):e.slideTo(v))}else{if(!l.shortSwipes){e.slideTo(e.activeIndex);return}e.navigation&&(s.target===e.navigation.nextEl||s.target===e.navigation.prevEl)?s.target===e.navigation.nextEl?e.slideTo(v+S):e.slideTo(v):(e.swipeDirection==="next"&&e.slideTo(m!==null?m:v+S),e.swipeDirection==="prev"&&e.slideTo(T!==null?T:v))}}function Te(){const t=this,{params:e,el:i}=t;if(i&&i.offsetWidth===0)return;e.breakpoints&&t.setBreakpoint();const{allowSlideNext:s,allowSlidePrev:n,snapGrid:r}=t,l=t.virtual&&t.params.virtual.enabled;t.allowSlideNext=!0,t.allowSlidePrev=!0,t.updateSize(),t.updateSlides(),t.updateSlidesClasses();const o=l&&e.loop;(e.slidesPerView==="auto"||e.slidesPerView>1)&&t.isEnd&&!t.isBeginning&&!t.params.centeredSlides&&!o?t.slideTo(t.slides.length-1,0,!1,!0):t.params.loop&&!l?t.slideToLoop(t.realIndex,0,!1,!0):t.slideTo(t.activeIndex,0,!1,!0),t.autoplay&&t.autoplay.running&&t.autoplay.paused&&(clearTimeout(t.autoplay.resizeTimeout),t.autoplay.resizeTimeout=setTimeout(()=>{t.autoplay&&t.autoplay.running&&t.autoplay.paused&&t.autoplay.resume()},500)),t.allowSlidePrev=n,t.allowSlideNext=s,t.params.watchOverflow&&r!==t.snapGrid&&t.checkOverflow()}function Qt(t){const e=this;e.enabled&&(e.allowClick||(e.params.preventClicks&&t.preventDefault(),e.params.preventClicksPropagation&&e.animating&&(t.stopPropagation(),t.stopImmediatePropagation())))}function ei(){const t=this,{wrapperEl:e,rtlTranslate:i,enabled:s}=t;if(!s)return;t.previousTranslate=t.translate,t.isHorizontal()?t.translate=-e.scrollLeft:t.translate=-e.scrollTop,t.translate===0&&(t.translate=0),t.updateActiveIndex(),t.updateSlidesClasses();let n;const r=t.maxTranslate()-t.minTranslate();r===0?n=0:n=(t.translate-t.minTranslate())/r,n!==t.progress&&t.updateProgress(i?-t.translate:t.translate),t.emit("setTranslate",t.translate,!1)}function ti(t){const e=this;Q(e,t.target),!(e.params.cssMode||e.params.slidesPerView!=="auto"&&!e.params.autoHeight)&&e.update()}function ii(){const t=this;t.documentTouchHandlerProceeded||(t.documentTouchHandlerProceeded=!0,t.params.touchReleaseOnEdges&&(t.el.style.touchAction="auto"))}const _e=(t,e)=>{const i=k(),{params:s,el:n,wrapperEl:r,device:l}=t,o=!!s.nested,a=e==="on"?"addEventListener":"removeEventListener",u=e;i[a]("touchstart",t.onDocumentTouchStart,{passive:!1,capture:o}),n[a]("touchstart",t.onTouchStart,{passive:!1}),n[a]("pointerdown",t.onTouchStart,{passive:!1}),i[a]("touchmove",t.onTouchMove,{passive:!1,capture:o}),i[a]("pointermove",t.onTouchMove,{passive:!1,capture:o}),i[a]("touchend",t.onTouchEnd,{passive:!0}),i[a]("pointerup",t.onTouchEnd,{passive:!0}),i[a]("pointercancel",t.onTouchEnd,{passive:!0}),i[a]("touchcancel",t.onTouchEnd,{passive:!0}),i[a]("pointerout",t.onTouchEnd,{passive:!0}),i[a]("pointerleave",t.onTouchEnd,{passive:!0}),i[a]("contextmenu",t.onTouchEnd,{passive:!0}),(s.preventClicks||s.preventClicksPropagation)&&n[a]("click",t.onClick,!0),s.cssMode&&r[a]("scroll",t.onScroll),s.updateOnWindowResize?t[u](l.ios||l.android?"resize orientationchange observerUpdate":"resize observerUpdate",Te,!0):t[u]("observerUpdate",Te,!0),n[a]("load",t.onLoad,{capture:!0})};function si(){const t=this,{params:e}=t;t.onTouchStart=Ut.bind(t),t.onTouchMove=Zt.bind(t),t.onTouchEnd=Jt.bind(t),t.onDocumentTouchStart=ii.bind(t),e.cssMode&&(t.onScroll=ei.bind(t)),t.onClick=Qt.bind(t),t.onLoad=ti.bind(t),_e(t,"on")}function ri(){_e(this,"off")}var ni={attachEvents:si,detachEvents:ri};const ye=(t,e)=>t.grid&&e.grid&&e.grid.rows>1;function ai(){const t=this,{realIndex:e,initialized:i,params:s,el:n}=t,r=s.breakpoints;if(!r||r&&Object.keys(r).length===0)return;const l=t.getBreakpoint(r,t.params.breakpointsBase,t.el);if(!l||t.currentBreakpoint===l)return;const a=(l in r?r[l]:void 0)||t.originalParams,u=ye(t,s),d=ye(t,a),c=t.params.grabCursor,p=a.grabCursor,f=s.enabled;u&&!d?(n.classList.remove(`${s.containerModifierClass}grid`,`${s.containerModifierClass}grid-column`),t.emitContainerClasses()):!u&&d&&(n.classList.add(`${s.containerModifierClass}grid`),(a.grid.fill&&a.grid.fill==="column"||!a.grid.fill&&s.grid.fill==="column")&&n.classList.add(`${s.containerModifierClass}grid-column`),t.emitContainerClasses()),c&&!p?t.unsetGrabCursor():!c&&p&&t.setGrabCursor(),["navigation","pagination","scrollbar"].forEach(g=>{if(typeof a[g]>"u")return;const S=s[g]&&s[g].enabled,x=a[g]&&a[g].enabled;S&&!x&&t[g].disable(),!S&&x&&t[g].enable()});const h=a.direction&&a.direction!==s.direction,v=s.loop&&(a.slidesPerView!==s.slidesPerView||h),b=s.loop;h&&i&&t.changeDirection(),B(t.params,a);const m=t.params.enabled,T=t.params.loop;Object.assign(t,{allowTouchMove:t.params.allowTouchMove,allowSlideNext:t.params.allowSlideNext,allowSlidePrev:t.params.allowSlidePrev}),f&&!m?t.disable():!f&&m&&t.enable(),t.currentBreakpoint=l,t.emit("_beforeBreakpoint",a),i&&(v?(t.loopDestroy(),t.loopCreate(e),t.updateSlides()):!b&&T?(t.loopCreate(e),t.updateSlides()):b&&!T&&t.loopDestroy()),t.emit("breakpoint",a)}function li(t,e,i){if(e===void 0&&(e="window"),!t||e==="container"&&!i)return;let s=!1;const n=N(),r=e==="window"?n.innerHeight:i.clientHeight,l=Object.keys(t).map(o=>{if(typeof o=="string"&&o.indexOf("@")===0){const a=parseFloat(o.substr(1));return{value:r*a,point:o}}return{value:o,point:o}});l.sort((o,a)=>parseInt(o.value,10)-parseInt(a.value,10));for(let o=0;o{typeof s=="object"?Object.keys(s).forEach(n=>{s[n]&&i.push(e+n)}):typeof s=="string"&&i.push(e+s)}),i}function ci(){const t=this,{classNames:e,params:i,rtl:s,el:n,device:r}=t,l=di(["initialized",i.direction,{"free-mode":t.params.freeMode&&i.freeMode.enabled},{autoheight:i.autoHeight},{rtl:s},{grid:i.grid&&i.grid.rows>1},{"grid-column":i.grid&&i.grid.rows>1&&i.grid.fill==="column"},{android:r.android},{ios:r.ios},{"css-mode":i.cssMode},{centered:i.cssMode&&i.centeredSlides},{"watch-progress":i.watchSlidesProgress}],i.containerModifierClass);e.push(...l),n.classList.add(...e),t.emitContainerClasses()}function ui(){const t=this,{el:e,classNames:i}=t;e.classList.remove(...i),t.emitContainerClasses()}var fi={addClasses:ci,removeClasses:ui};function pi(){const t=this,{isLocked:e,params:i}=t,{slidesOffsetBefore:s}=i;if(s){const n=t.slides.length-1,r=t.slidesGrid[n]+t.slidesSizesGrid[n]+s*2;t.isLocked=t.size>r}else t.isLocked=t.snapGrid.length===1;i.allowSlideNext===!0&&(t.allowSlideNext=!t.isLocked),i.allowSlidePrev===!0&&(t.allowSlidePrev=!t.isLocked),e&&e!==t.isLocked&&(t.isEnd=!1),e!==t.isLocked&&t.emit(t.isLocked?"lock":"unlock")}var mi={checkOverflow:pi},me={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function hi(t,e){return function(s){s===void 0&&(s={});const n=Object.keys(s)[0],r=s[n];if(typeof r!="object"||r===null){B(e,s);return}if(t[n]===!0&&(t[n]={enabled:!0}),n==="navigation"&&t[n]&&t[n].enabled&&!t[n].prevEl&&!t[n].nextEl&&(t[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&t[n]&&t[n].enabled&&!t[n].el&&(t[n].auto=!0),!(n in t&&"enabled"in r)){B(e,s);return}typeof t[n]=="object"&&!("enabled"in t[n])&&(t[n].enabled=!0),t[n]||(t[n]={enabled:!1}),B(e,s)}}const de={eventsEmitter:ft,update:yt,translate:Lt,transition:_t,slide:Rt,loop:Wt,grabCursor:Xt,events:ni,breakpoints:oi,checkOverflow:mi,classes:fi},ce={};let ge=class R{constructor(){let e,i;for(var s=arguments.length,n=new Array(s),r=0;r1){const d=[];return l.querySelectorAll(i.el).forEach(c=>{const p=B({},i,{el:c});d.push(new R(p))}),d}const o=this;o.__swiper__=!0,o.support=Oe(),o.device=ze({userAgent:i.userAgent}),o.browser=dt(),o.eventsListeners={},o.eventsAnyListeners=[],o.modules=[...o.__modules__],i.modules&&Array.isArray(i.modules)&&o.modules.push(...i.modules);const a={};o.modules.forEach(d=>{d({params:i,swiper:o,extendParams:hi(i,a),on:o.on.bind(o),once:o.once.bind(o),off:o.off.bind(o),emit:o.emit.bind(o)})});const u=B({},me,a);return o.params=B({},u,ce,i),o.originalParams=B({},o.params),o.passedParams=B({},i),o.params&&o.params.on&&Object.keys(o.params.on).forEach(d=>{o.on(d,o.params.on[d])}),o.params&&o.params.onAny&&o.onAny(o.params.onAny),Object.assign(o,{enabled:o.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal(){return o.params.direction==="horizontal"},isVertical(){return o.params.direction==="vertical"},activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:o.params.allowSlideNext,allowSlidePrev:o.params.allowSlidePrev,touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:o.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:o.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),o.emit("_swiper"),o.params.init&&o.init(),o}getDirectionLabel(e){return this.isHorizontal()?e:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[e]}getSlideIndex(e){const{slidesEl:i,params:s}=this,n=$(i,`.${s.slideClass}, swiper-slide`),r=Se(n[0]);return Se(e)-r}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter(i=>i.getAttribute("data-swiper-slide-index")*1===e)[0])}recalcSlides(){const e=this,{slidesEl:i,params:s}=e;e.slides=$(i,`.${s.slideClass}, swiper-slide`)}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,i){const s=this;e=Math.min(Math.max(e,0),1);const n=s.minTranslate(),l=(s.maxTranslate()-n)*e+n;s.translateTo(l,typeof i>"u"?0:i),s.updateActiveIndex(),s.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=e.el.className.split(" ").filter(s=>s.indexOf("swiper")===0||s.indexOf(e.params.containerModifierClass)===0);e.emit("_containerClasses",i.join(" "))}getSlideClasses(e){const i=this;return i.destroyed?"":e.className.split(" ").filter(s=>s.indexOf("swiper-slide")===0||s.indexOf(i.params.slideClass)===0).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const i=[];e.slides.forEach(s=>{const n=e.getSlideClasses(s);i.push({slideEl:s,classNames:n}),e.emit("_slideClass",s,n)}),e.emit("_slideClasses",i)}slidesPerViewDynamic(e,i){e===void 0&&(e="current"),i===void 0&&(i=!1);const s=this,{params:n,slides:r,slidesGrid:l,slidesSizesGrid:o,size:a,activeIndex:u}=s;let d=1;if(typeof n.slidesPerView=="number")return n.slidesPerView;if(n.centeredSlides){let c=r[u]?Math.ceil(r[u].swiperSlideSize):0,p;for(let f=u+1;fa&&(p=!0));for(let f=u-1;f>=0;f-=1)r[f]&&!p&&(c+=r[f].swiperSlideSize,d+=1,c>a&&(p=!0))}else if(e==="current")for(let c=u+1;c=0;c-=1)l[u]-l[c]{l.complete&&Q(e,l)}),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses();function n(){const l=e.rtlTranslate?e.translate*-1:e.translate,o=Math.min(Math.max(l,e.maxTranslate()),e.minTranslate());e.setTranslate(o),e.updateActiveIndex(),e.updateSlidesClasses()}let r;if(s.freeMode&&s.freeMode.enabled&&!s.cssMode)n(),s.autoHeight&&e.updateAutoHeight();else{if((s.slidesPerView==="auto"||s.slidesPerView>1)&&e.isEnd&&!s.centeredSlides){const l=e.virtual&&s.virtual.enabled?e.virtual.slides:e.slides;r=e.slideTo(l.length-1,0,!1,!0)}else r=e.slideTo(e.activeIndex,0,!1,!0);r||n()}s.watchOverflow&&i!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,i){i===void 0&&(i=!0);const s=this,n=s.params.direction;return e||(e=n==="horizontal"?"vertical":"horizontal"),e===n||e!=="horizontal"&&e!=="vertical"||(s.el.classList.remove(`${s.params.containerModifierClass}${n}`),s.el.classList.add(`${s.params.containerModifierClass}${e}`),s.emitContainerClasses(),s.params.direction=e,s.slides.forEach(r=>{e==="vertical"?r.style.width="":r.style.height=""}),s.emit("changeDirection"),i&&s.update()),s}changeLanguageDirection(e){const i=this;i.rtl&&e==="rtl"||!i.rtl&&e==="ltr"||(i.rtl=e==="rtl",i.rtlTranslate=i.params.direction==="horizontal"&&i.rtl,i.rtl?(i.el.classList.add(`${i.params.containerModifierClass}rtl`),i.el.dir="rtl"):(i.el.classList.remove(`${i.params.containerModifierClass}rtl`),i.el.dir="ltr"),i.update())}mount(e){const i=this;if(i.mounted)return!0;let s=e||i.params.el;if(typeof s=="string"&&(s=document.querySelector(s)),!s)return!1;s.swiper=i,s.parentNode&&s.parentNode.host&&s.parentNode.host.nodeName===i.params.swiperElementNodeName.toUpperCase()&&(i.isElement=!0);const n=()=>`.${(i.params.wrapperClass||"").trim().split(" ").join(".")}`;let l=s&&s.shadowRoot&&s.shadowRoot.querySelector?s.shadowRoot.querySelector(n()):$(s,n())[0];return!l&&i.params.createElements&&(l=fe("div",i.params.wrapperClass),s.append(l),$(s,`.${i.params.slideClass}`).forEach(o=>{l.append(o)})),Object.assign(i,{el:s,wrapperEl:l,slidesEl:i.isElement&&!s.parentNode.host.slideSlots?s.parentNode.host:l,hostEl:i.isElement?s.parentNode.host:s,mounted:!0,rtl:s.dir.toLowerCase()==="rtl"||H(s,"direction")==="rtl",rtlTranslate:i.params.direction==="horizontal"&&(s.dir.toLowerCase()==="rtl"||H(s,"direction")==="rtl"),wrongRTL:H(l,"display")==="-webkit-box"}),!0}init(e){const i=this;if(i.initialized||i.mount(e)===!1)return i;i.emit("beforeInit"),i.params.breakpoints&&i.setBreakpoint(),i.addClasses(),i.updateSize(),i.updateSlides(),i.params.watchOverflow&&i.checkOverflow(),i.params.grabCursor&&i.enabled&&i.setGrabCursor(),i.params.loop&&i.virtual&&i.params.virtual.enabled?i.slideTo(i.params.initialSlide+i.virtual.slidesBefore,0,i.params.runCallbacksOnInit,!1,!0):i.slideTo(i.params.initialSlide,0,i.params.runCallbacksOnInit,!1,!0),i.params.loop&&i.loopCreate(),i.attachEvents();const n=[...i.el.querySelectorAll('[loading="lazy"]')];return i.isElement&&n.push(...i.hostEl.querySelectorAll('[loading="lazy"]')),n.forEach(r=>{r.complete?Q(i,r):r.addEventListener("load",l=>{Q(i,l.target)})}),pe(i),i.initialized=!0,pe(i),i.emit("init"),i.emit("afterInit"),i}destroy(e,i){e===void 0&&(e=!0),i===void 0&&(i=!0);const s=this,{params:n,el:r,wrapperEl:l,slides:o}=s;return typeof s.params>"u"||s.destroyed||(s.emit("beforeDestroy"),s.initialized=!1,s.detachEvents(),n.loop&&s.loopDestroy(),i&&(s.removeClasses(),r.removeAttribute("style"),l.removeAttribute("style"),o&&o.length&&o.forEach(a=>{a.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),a.removeAttribute("style"),a.removeAttribute("data-swiper-slide-index")})),s.emit("destroy"),Object.keys(s.eventsListeners).forEach(a=>{s.off(a)}),e!==!1&&(s.el.swiper=null,Qe(s)),s.destroyed=!0),null}static extendDefaults(e){B(ce,e)}static get extendedDefaults(){return ce}static get defaults(){return me}static installModule(e){R.prototype.__modules__||(R.prototype.__modules__=[]);const i=R.prototype.__modules__;typeof e=="function"&&i.indexOf(e)<0&&i.push(e)}static use(e){return Array.isArray(e)?(e.forEach(i=>R.installModule(i)),R):(R.installModule(e),R)}};Object.keys(de).forEach(t=>{Object.keys(de[t]).forEach(e=>{ge.prototype[e]=de[t][e]})});ge.use([ct,ut]);const De=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function q(t){return typeof t=="object"&&t!==null&&t.constructor&&Object.prototype.toString.call(t).slice(8,-1)==="Object"&&!t.__swiper__}function Y(t,e){const i=["__proto__","constructor","prototype"];Object.keys(e).filter(s=>i.indexOf(s)<0).forEach(s=>{typeof t[s]>"u"?t[s]=e[s]:q(e[s])&&q(t[s])&&Object.keys(e[s]).length>0?e[s].__swiper__?t[s]=e[s]:Y(t[s],e[s]):t[s]=e[s]})}function Ge(t){return t===void 0&&(t={}),t.navigation&&typeof t.navigation.nextEl>"u"&&typeof t.navigation.prevEl>"u"}function Ve(t){return t===void 0&&(t={}),t.pagination&&typeof t.pagination.el>"u"}function je(t){return t===void 0&&(t={}),t.scrollbar&&typeof t.scrollbar.el>"u"}function Be(t){t===void 0&&(t="");const e=t.split(" ").map(s=>s.trim()).filter(s=>!!s),i=[];return e.forEach(s=>{i.indexOf(s)<0&&i.push(s)}),i.join(" ")}function gi(t){return t===void 0&&(t=""),t?t.includes("swiper-wrapper")?t:`swiper-wrapper ${t}`:"swiper-wrapper"}function vi(t){let{swiper:e,slides:i,passedParams:s,changedParams:n,nextEl:r,prevEl:l,scrollbarEl:o,paginationEl:a}=t;const u=n.filter(y=>y!=="children"&&y!=="direction"&&y!=="wrapperClass"),{params:d,pagination:c,navigation:p,scrollbar:f,virtual:h,thumbs:v}=e;let b,m,T,g,S,x,I,G;n.includes("thumbs")&&s.thumbs&&s.thumbs.swiper&&d.thumbs&&!d.thumbs.swiper&&(b=!0),n.includes("controller")&&s.controller&&s.controller.control&&d.controller&&!d.controller.control&&(m=!0),n.includes("pagination")&&s.pagination&&(s.pagination.el||a)&&(d.pagination||d.pagination===!1)&&c&&!c.el&&(T=!0),n.includes("scrollbar")&&s.scrollbar&&(s.scrollbar.el||o)&&(d.scrollbar||d.scrollbar===!1)&&f&&!f.el&&(g=!0),n.includes("navigation")&&s.navigation&&(s.navigation.prevEl||l)&&(s.navigation.nextEl||r)&&(d.navigation||d.navigation===!1)&&p&&!p.prevEl&&!p.nextEl&&(S=!0);const M=y=>{e[y]&&(e[y].destroy(),y==="navigation"?(e.isElement&&(e[y].prevEl.remove(),e[y].nextEl.remove()),d[y].prevEl=void 0,d[y].nextEl=void 0,e[y].prevEl=void 0,e[y].nextEl=void 0):(e.isElement&&e[y].el.remove(),d[y].el=void 0,e[y].el=void 0))};n.includes("loop")&&e.isElement&&(d.loop&&!s.loop?x=!0:!d.loop&&s.loop?I=!0:G=!0),u.forEach(y=>{if(q(d[y])&&q(s[y]))Object.assign(d[y],s[y]),(y==="navigation"||y==="pagination"||y==="scrollbar")&&"enabled"in s[y]&&!s[y].enabled&&M(y);else{const w=s[y];(w===!0||w===!1)&&(y==="navigation"||y==="pagination"||y==="scrollbar")?w===!1&&M(y):d[y]=s[y]}}),u.includes("controller")&&!m&&e.controller&&e.controller.control&&d.controller&&d.controller.control&&(e.controller.control=d.controller.control),n.includes("children")&&i&&h&&d.virtual.enabled?(h.slides=i,h.update(!0)):n.includes("virtual")&&h&&d.virtual.enabled&&(i&&(h.slides=i),h.update(!0)),n.includes("children")&&i&&d.loop&&(G=!0),b&&v.init()&&v.update(!0),m&&(e.controller.control=d.controller.control),T&&(e.isElement&&(!a||typeof a=="string")&&(a=document.createElement("div"),a.classList.add("swiper-pagination"),a.part.add("pagination"),e.el.appendChild(a)),a&&(d.pagination.el=a),c.init(),c.render(),c.update()),g&&(e.isElement&&(!o||typeof o=="string")&&(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),o.part.add("scrollbar"),e.el.appendChild(o)),o&&(d.scrollbar.el=o),f.init(),f.updateSize(),f.setTranslate()),S&&(e.isElement&&((!r||typeof r=="string")&&(r=document.createElement("div"),r.classList.add("swiper-button-next"),r.innerHTML=e.hostEl.constructor.nextButtonSvg,r.part.add("button-next"),e.el.appendChild(r)),(!l||typeof l=="string")&&(l=document.createElement("div"),l.classList.add("swiper-button-prev"),l.innerHTML=e.hostEl.constructor.prevButtonSvg,l.part.add("button-prev"),e.el.appendChild(l))),r&&(d.navigation.nextEl=r),l&&(d.navigation.prevEl=l),p.init(),p.update()),n.includes("allowSlideNext")&&(e.allowSlideNext=s.allowSlideNext),n.includes("allowSlidePrev")&&(e.allowSlidePrev=s.allowSlidePrev),n.includes("direction")&&e.changeDirection(s.direction,!1),(x||G)&&e.loopDestroy(),(I||G)&&e.loopCreate(),e.update()}function wi(t,e){t===void 0&&(t={}),e===void 0&&(e=!0);const i={on:{}},s={},n={};Y(i,me),i._emitClasses=!0,i.init=!1;const r={},l=De.map(a=>a.replace(/_/,"")),o=Object.assign({},t);return Object.keys(o).forEach(a=>{typeof t[a]>"u"||(l.indexOf(a)>=0?q(t[a])?(i[a]={},n[a]={},Y(i[a],t[a]),Y(n[a],t[a])):(i[a]=t[a],n[a]=t[a]):a.search(/on[A-Z]/)===0&&typeof t[a]=="function"?e?s[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:i.on[`${a[2].toLowerCase()}${a.substr(3)}`]=t[a]:r[a]=t[a])}),["navigation","pagination","scrollbar"].forEach(a=>{i[a]===!0&&(i[a]={}),i[a]===!1&&delete i[a]}),{params:i,passedParams:n,rest:r,events:s}}function Si(t,e){let{el:i,nextEl:s,prevEl:n,paginationEl:r,scrollbarEl:l,swiper:o}=t;Ge(e)&&s&&n&&(o.params.navigation.nextEl=s,o.originalParams.navigation.nextEl=s,o.params.navigation.prevEl=n,o.originalParams.navigation.prevEl=n),Ve(e)&&r&&(o.params.pagination.el=r,o.originalParams.pagination.el=r),je(e)&&l&&(o.params.scrollbar.el=l,o.originalParams.scrollbar.el=l),o.init(i)}function xi(t,e,i,s,n){const r=[];if(!e)return r;const l=a=>{r.indexOf(a)<0&&r.push(a)};if(i&&s){const a=s.map(n),u=i.map(n);a.join("")!==u.join("")&&l("children"),s.length!==i.length&&l("children")}return De.filter(a=>a[0]==="_").map(a=>a.replace(/_/,"")).forEach(a=>{if(a in t&&a in e)if(q(t[a])&&q(e[a])){const u=Object.keys(t[a]),d=Object.keys(e[a]);u.length!==d.length?l(a):(u.forEach(c=>{t[a][c]!==e[a][c]&&l(a)}),d.forEach(c=>{t[a][c]!==e[a][c]&&l(a)}))}else t[a]!==e[a]&&l(a)}),r}const bi=t=>{!t||t.destroyed||!t.params.virtual||t.params.virtual&&!t.params.virtual.enabled||(t.updateSlides(),t.updateProgress(),t.updateSlidesClasses(),t.parallax&&t.params.parallax&&t.params.parallax.enabled&&t.parallax.setTranslate())};function se(){return se=Object.assign?Object.assign.bind():function(t){for(var e=1;e{Ne(i)?e.push(i):i.props&&i.props.children&&Fe(i.props.children).forEach(s=>e.push(s))}),e}function Ti(t){const e=[],i={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return j.Children.toArray(t).forEach(s=>{if(Ne(s))e.push(s);else if(s.props&&s.props.slot&&i[s.props.slot])i[s.props.slot].push(s);else if(s.props&&s.props.children){const n=Fe(s.props.children);n.length>0?n.forEach(r=>e.push(r)):i["container-end"].push(s)}else i["container-end"].push(s)}),{slides:e,slots:i}}function yi(t,e,i){if(!i)return null;const s=d=>{let c=d;return d<0?c=e.length+d:c>=e.length&&(c=c-e.length),c},n=t.isHorizontal()?{[t.rtlTranslate?"right":"left"]:`${i.offset}px`}:{top:`${i.offset}px`},{from:r,to:l}=i,o=t.params.loop?-e.length:0,a=t.params.loop?e.length*2:e.length,u=[];for(let d=o;d=r&&d<=l&&u.push(e[s(d)]);return u.map((d,c)=>j.cloneElement(d,{swiper:t,style:n,key:d.props.virtualIndex||d.key||`slide-${c}`}))}function K(t,e){return typeof window>"u"?D.useEffect(t,e):D.useLayoutEffect(t,e)}const Ee=D.createContext(null),Ei=D.createContext(null),Re=D.forwardRef(function(t,e){let{className:i,tag:s="div",wrapperTag:n="div",children:r,onSwiper:l,...o}=t===void 0?{}:t,a=!1;const[u,d]=D.useState("swiper"),[c,p]=D.useState(null),[f,h]=D.useState(!1),v=D.useRef(!1),b=D.useRef(null),m=D.useRef(null),T=D.useRef(null),g=D.useRef(null),S=D.useRef(null),x=D.useRef(null),I=D.useRef(null),G=D.useRef(null),{params:M,passedParams:y,rest:w,events:E}=wi(o),{slides:C,slots:P}=Ti(r),_=()=>{h(!f)};Object.assign(M.on,{_containerClasses(O,A){d(A)}});const V=()=>{Object.assign(M.on,E),a=!0;const O={...M};if(delete O.wrapperClass,m.current=new ge(O),m.current.virtual&&m.current.params.virtual.enabled){m.current.virtual.slides=C;const A={cache:!1,slides:C,renderExternal:p,renderExternalUpdate:!1};Y(m.current.params.virtual,A),Y(m.current.originalParams.virtual,A)}};b.current||V(),m.current&&m.current.on("_beforeBreakpoint",_);const F=()=>{a||!E||!m.current||Object.keys(E).forEach(O=>{m.current.on(O,E[O])})},X=()=>{!E||!m.current||Object.keys(E).forEach(O=>{m.current.off(O,E[O])})};D.useEffect(()=>()=>{m.current&&m.current.off("_beforeBreakpoint",_)}),D.useEffect(()=>{!v.current&&m.current&&(m.current.emitSlidesClasses(),v.current=!0)}),K(()=>{if(e&&(e.current=b.current),!!b.current)return m.current.destroyed&&V(),Si({el:b.current,nextEl:S.current,prevEl:x.current,paginationEl:I.current,scrollbarEl:G.current,swiper:m.current},M),l&&!m.current.destroyed&&l(m.current),()=>{m.current&&!m.current.destroyed&&m.current.destroy(!0,!1)}},[]),K(()=>{F();const O=xi(y,T.current,C,g.current,A=>A.key);return T.current=y,g.current=C,O.length&&m.current&&!m.current.destroyed&&vi({swiper:m.current,slides:C,passedParams:y,changedParams:O,nextEl:S.current,prevEl:x.current,scrollbarEl:G.current,paginationEl:I.current}),()=>{X()}}),K(()=>{bi(m.current)},[c]);function L(){return M.virtual?yi(m.current,C,c):C.map((O,A)=>j.cloneElement(O,{swiper:m.current,swiperSlideIndex:A}))}return j.createElement(s,se({ref:b,className:Be(`${u}${i?` ${i}`:""}`)},w),j.createElement(Ei.Provider,{value:m.current},P["container-start"],j.createElement(n,{className:gi(M.wrapperClass)},P["wrapper-start"],L(),P["wrapper-end"]),Ge(M)&&j.createElement(j.Fragment,null,j.createElement("div",{ref:x,className:"swiper-button-prev"}),j.createElement("div",{ref:S,className:"swiper-button-next"})),je(M)&&j.createElement("div",{ref:G,className:"swiper-scrollbar"}),Ve(M)&&j.createElement("div",{ref:I,className:"swiper-pagination"}),P["container-end"]))});Re.displayName="Swiper";const $e=D.forwardRef(function(t,e){let{tag:i="div",children:s,className:n="",swiper:r,zoom:l,lazy:o,virtualIndex:a,swiperSlideIndex:u,...d}=t===void 0?{}:t;const c=D.useRef(null),[p,f]=D.useState("swiper-slide"),[h,v]=D.useState(!1);function b(S,x,I){x===c.current&&f(I)}K(()=>{if(typeof u<"u"&&(c.current.swiperSlideIndex=u),e&&(e.current=c.current),!(!c.current||!r)){if(r.destroyed){p!=="swiper-slide"&&f("swiper-slide");return}return r.on("_slideClass",b),()=>{r&&r.off("_slideClass",b)}}}),K(()=>{r&&c.current&&!r.destroyed&&f(r.getSlideClasses(c.current))},[r]);const m={isActive:p.indexOf("swiper-slide-active")>=0,isVisible:p.indexOf("swiper-slide-visible")>=0,isPrev:p.indexOf("swiper-slide-prev")>=0,isNext:p.indexOf("swiper-slide-next")>=0},T=()=>typeof s=="function"?s(m):s,g=()=>{v(!0)};return j.createElement(i,se({ref:c,className:Be(`${p}${n?` ${n}`:""}`),"data-swiper-slide-index":a,onLoad:g},d),l&&j.createElement(Ee.Provider,{value:m},j.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":typeof l=="number"?l:void 0},T(),o&&!h&&j.createElement("div",{className:"swiper-lazy-preloader"}))),!l&&j.createElement(Ee.Provider,{value:m},T(),o&&!h&&j.createElement("div",{className:"swiper-lazy-preloader"})))});$e.displayName="SwiperSlide";function Pi(t){let{swiper:e,extendParams:i,on:s,emit:n,params:r}=t;e.autoplay={running:!1,paused:!1,timeLeft:0},i({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let l,o,a=r&&r.autoplay?r.autoplay.delay:3e3,u=r&&r.autoplay?r.autoplay.delay:3e3,d,c=new Date().getTime(),p,f,h,v,b,m,T;function g(L){!e||e.destroyed||!e.wrapperEl||L.target===e.wrapperEl&&(e.wrapperEl.removeEventListener("transitionend",g),!T&&w())}const S=()=>{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?p=!0:p&&(u=d,p=!1);const L=e.autoplay.paused?d:c+u-new Date().getTime();e.autoplay.timeLeft=L,n("autoplayTimeLeft",L,L/a),o=requestAnimationFrame(()=>{S()})},x=()=>{let L;return e.virtual&&e.params.virtual.enabled?L=e.slides.filter(A=>A.classList.contains("swiper-slide-active"))[0]:L=e.slides[e.activeIndex],L?parseInt(L.getAttribute("data-swiper-autoplay"),10):void 0},I=L=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(o),S();let O=typeof L>"u"?e.params.autoplay.delay:L;a=e.params.autoplay.delay,u=e.params.autoplay.delay;const A=x();!Number.isNaN(A)&&A>0&&typeof L>"u"&&(O=A,a=A,u=A),d=O;const W=e.params.speed,U=()=>{!e||e.destroyed||(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(W,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,W,!0,!0),n("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(W,!0,!0),n("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,W,!0,!0),n("autoplay")),e.params.cssMode&&(c=new Date().getTime(),requestAnimationFrame(()=>{I()})))};return O>0?(clearTimeout(l),l=setTimeout(()=>{U()},O)):requestAnimationFrame(()=>{U()}),O},G=()=>{c=new Date().getTime(),e.autoplay.running=!0,I(),n("autoplayStart")},M=()=>{e.autoplay.running=!1,clearTimeout(l),cancelAnimationFrame(o),n("autoplayStop")},y=(L,O)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(l),L||(m=!0);const A=()=>{n("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",g):w()};if(e.autoplay.paused=!0,O){b&&(d=e.params.autoplay.delay),b=!1,A();return}d=(d||e.params.autoplay.delay)-(new Date().getTime()-c),!(e.isEnd&&d<0&&!e.params.loop)&&(d<0&&(d=0),A())},w=()=>{e.isEnd&&d<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(c=new Date().getTime(),m?(m=!1,I(d)):I(),e.autoplay.paused=!1,n("autoplayResume"))},E=()=>{if(e.destroyed||!e.autoplay.running)return;const L=k();L.visibilityState==="hidden"&&(m=!0,y(!0)),L.visibilityState==="visible"&&w()},C=L=>{L.pointerType==="mouse"&&(m=!0,T=!0,!(e.animating||e.autoplay.paused)&&y(!0))},P=L=>{L.pointerType==="mouse"&&(T=!1,e.autoplay.paused&&w())},_=()=>{e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",C),e.el.addEventListener("pointerleave",P))},V=()=>{e.el.removeEventListener("pointerenter",C),e.el.removeEventListener("pointerleave",P)},F=()=>{k().addEventListener("visibilitychange",E)},X=()=>{k().removeEventListener("visibilitychange",E)};s("init",()=>{e.params.autoplay.enabled&&(_(),F(),G())}),s("destroy",()=>{V(),X(),e.autoplay.running&&M()}),s("_freeModeStaticRelease",()=>{(h||m)&&w()}),s("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?M():y(!0,!0)}),s("beforeTransitionStart",(L,O,A)=>{e.destroyed||!e.autoplay.running||(A||!e.params.autoplay.disableOnInteraction?y(!0,!0):M())}),s("sliderFirstMove",()=>{if(!(e.destroyed||!e.autoplay.running)){if(e.params.autoplay.disableOnInteraction){M();return}f=!0,h=!1,m=!1,v=setTimeout(()=>{m=!0,h=!0,y(!0)},200)}}),s("touchEnd",()=>{if(!(e.destroyed||!e.autoplay.running||!f)){if(clearTimeout(v),clearTimeout(l),e.params.autoplay.disableOnInteraction){h=!1,f=!1;return}h&&e.params.cssMode&&w(),h=!1,f=!1}}),s("slideChange",()=>{e.destroyed||!e.autoplay.running||(b=!0)}),Object.assign(e.autoplay,{start:G,stop:M,pause:y,resume:w})}const Ci=({name:t,ageText:e})=>z.jsxs(ee,{children:[z.jsx(Ce,{as:"h4",fontWeight:{base:400,lg:700},fontSize:{base:"32px",lg:"40px"},lineHeight:"1.6",mb:"8px",children:t}),z.jsxs(Me,{fontSize:{lg:"24px"},fontWeight:{lg:700},children:["Вік ",e]})]}),Mi=t=>z.jsxs(He,{viewBox:"0 0 16 16",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...t,children:[z.jsx("line",{x1:"6",y1:"2",x2:"14",y2:"8"}),z.jsx("line",{x1:"6",y1:"14",x2:"14",y2:"8"})]}),Ii=()=>z.jsx(ee,{as:"button",w:{base:"44px",md:"66px"},h:{base:"44px",md:"66px"},borderRadius:"50%",boxShadow:"1px 2px 5px 0 #a4c2ff",display:"flex",justifyContent:"center",alignItems:"center",color:"custom.blue",_hover:{color:"custom.red"},children:z.jsx(Mi,{boxSize:{base:"16px",md:"26px"}})}),ke=({item:t})=>{const{imgLg:e,imgMob:i,name:s,age:n,description:r}=t,l=Pe({base:i,md:e,lg:e}),o=()=>{let a="";return n.year&&(a=`${n.year} ${Number(n.year)>1?"роки":"рік"} `),n.month&&(a+=`${n.month} місяців`),a};return z.jsxs(z.Fragment,{children:[z.jsx(We,{src:l,alt:r,h:{base:"260px",lg:"350px"},w:{lg:"370px"}}),z.jsxs(qe,{py:"14px",justifyContent:"space-between",alignItems:"center",children:[z.jsx(Ci,{name:s,ageText:o()}),z.jsx(Ii,{})]})]})},Li=({animals:t})=>z.jsx(Re,{spaceBetween:20,slidesPerView:"auto",centeredSlides:!1,autoplay:{delay:3e3,disableOnInteraction:!1},modules:[Pi],children:t.map(e=>z.jsx($e,{style:{width:"223px"},children:z.jsx(ke,{item:e})},e.id))}),Ai=()=>{const t=Ye(),e=Pe({md:8,lg:6}),i=ve.slice(0,e),s=()=>z.jsx(Ke,{display:"flex",justifyContent:"center",rowGap:{md:"20px",lg:"80px"},columnGap:{md:"22px",lg:"125px"},flexWrap:"wrap",my:{md:"64px"},children:i.map(n=>z.jsx(Ue,{w:{base:"200px",sm:"223px",md:"223px",lg:"370px"},h:{base:"200px",sm:"223px",md:"384px",lg:"470px"},children:z.jsx(ke,{item:n})},n.id))});return z.jsxs(ee,{as:"section",id:"catalog",width:"100%",maxWidth:{base:"320px",sm:"375px",md:"1024px",lg:"1440px"},pb:{base:"60px",lg:"64px"},px:{md:8,lg:10},mx:"auto",display:"flex",flexDirection:"column",justifyContent:"center",children:[z.jsx(Ce,{variant:"sectionHeading",mb:6,w:{base:"350px",md:"unset"},children:"Вибери собі вірного друга"}),z.jsx(Me,{fontSize:["16px","16px","24px"],fontWeight:{base:400,lg:700},textAlign:"center",children:"Не купуй – прихисти, адже справжня дружба не продається!"}),t==="mobile"?z.jsx(ee,{w:{base:"320px",sm:"375px"},pl:{base:"20px",sm:"32px"},mx:"auto",my:6,children:z.jsx(Li,{animals:ve})}):z.jsx(s,{}),z.jsx(Xe,{type:"button",mx:"auto",variant:"secondary",children:"Показати більше"})]})};export{Ai as default}; diff --git a/assets/SectionContacts-CBM7O2tV.js b/assets/SectionContacts-C3DeEPPS.js similarity index 94% rename from assets/SectionContacts-CBM7O2tV.js rename to assets/SectionContacts-C3DeEPPS.js index 7c8c4d5..9b38abe 100644 --- a/assets/SectionContacts-CBM7O2tV.js +++ b/assets/SectionContacts-C3DeEPPS.js @@ -1 +1 @@ -import{j as e,B as i}from"./index-DGkqr4dg.js";import{L as r,a as t,T as n,b as a,u as l,C as x,H as c,I as o}from"./LandingPage-B77_cH7x.js";const m="/animal-shelter/assets/Image3-DF2BQRcO.png",d="/animal-shelter/assets/image-des-wBSQJNlE.png",p=()=>{const s={display:"flex",gap:{base:"15px",md:"20px"}};return e.jsx(i,{as:"address",textAlign:"start",fontStyle:"normal",mt:5,mb:6,fontWeight:{sm:500,lg:"700"},fontSize:{md:"24px",lg:"30px"},children:e.jsxs(r,{display:"flex",flexDirection:"column",gap:5,children:[e.jsxs(t,{...s,children:[e.jsx(n,{variant:"contactText",fontSize:{sm:"20px",md:"24px",lg:"30px"},children:"Адреса"}),e.jsx(a,{href:"https://maps.app.goo.gl/ASDzx7LiDPisj9DZ6",target:"_blank",rel:"noreferrer noopener",children:"cмт. Жук м. Івано-Франківська область"})]}),e.jsxs(t,{...s,children:[e.jsx(n,{variant:"contactText",children:"Телефон"}),e.jsxs(r,{children:[e.jsx(t,{children:e.jsx(a,{href:"tel:+380991234567",children:"+38 (099) 123 45 67"})}),e.jsx(t,{children:e.jsx(a,{href:"tel:+380991234567",children:"+38 (099) 123 45 67"})})]})]}),e.jsxs(t,{...s,children:[e.jsx(n,{variant:"contactText",children:"Електронна адреса"}),e.jsx(a,{href:"mailto:hatyna@gmail.com",children:"hatyna@gmail.com"})]})]})})},j=()=>{const s=l();return e.jsxs(x,{as:"section",id:"contact",pb:{base:"40px",sm:"60px",md:"100px",lg:"124px"},children:[e.jsx(c,{as:"h2",variant:"sectionHeading",mb:{base:6,md:"64px"},children:"Наші контакти"}),e.jsxs(i,{display:"flex",flexDirection:{base:"column",md:"row"},justifyContent:{md:"space-between"},alignItems:{md:"center"},children:[e.jsxs(i,{children:[e.jsxs(i,{textAlign:{base:"center",md:"start"},fontSize:{sm:"20px",md:"24px",lg:"30px"},fontWeight:{md:500,lg:700},mb:"20px",children:[e.jsx(n,{children:"У вас є питання?"}),e.jsx(n,{children:s==="mobile"?"Зв'яжіться з нами:":"Зв'яжіться з нами безпосередньо:"})]}),e.jsx(p,{})]}),e.jsx(o,{src:s==="desktop"?d:m,alt:"img",w:{sm:"320px",md:"468px",lg:"624px"},h:{sm:"205px",md:"280px",lg:"400px"}})]})]})};export{j as default}; +import{j as e,B as i}from"./index-Rndj8vN-.js";import{L as r,a as t,T as n,b as a,u as l,C as x,H as c,I as o}from"./LandingPage-DlUn22BL.js";const m="/animal-shelter/assets/Image3-DF2BQRcO.png",d="/animal-shelter/assets/image-des-wBSQJNlE.png",p=()=>{const s={display:"flex",gap:{base:"15px",md:"20px"}};return e.jsx(i,{as:"address",textAlign:"start",fontStyle:"normal",mt:5,mb:6,fontWeight:{sm:500,lg:"700"},fontSize:{md:"24px",lg:"30px"},children:e.jsxs(r,{display:"flex",flexDirection:"column",gap:5,children:[e.jsxs(t,{...s,children:[e.jsx(n,{variant:"contactText",fontSize:{sm:"20px",md:"24px",lg:"30px"},children:"Адреса"}),e.jsx(a,{href:"https://maps.app.goo.gl/ASDzx7LiDPisj9DZ6",target:"_blank",rel:"noreferrer noopener",children:"cмт. Жук м. Івано-Франківська область"})]}),e.jsxs(t,{...s,children:[e.jsx(n,{variant:"contactText",children:"Телефон"}),e.jsxs(r,{children:[e.jsx(t,{children:e.jsx(a,{href:"tel:+380991234567",children:"+38 (099) 123 45 67"})}),e.jsx(t,{children:e.jsx(a,{href:"tel:+380991234567",children:"+38 (099) 123 45 67"})})]})]}),e.jsxs(t,{...s,children:[e.jsx(n,{variant:"contactText",children:"Електронна адреса"}),e.jsx(a,{href:"mailto:hatyna@gmail.com",children:"hatyna@gmail.com"})]})]})})},j=()=>{const s=l();return e.jsxs(x,{as:"section",id:"contact",pb:{base:"40px",sm:"60px",md:"100px",lg:"124px"},children:[e.jsx(c,{as:"h2",variant:"sectionHeading",mb:{base:6,md:"64px"},children:"Наші контакти"}),e.jsxs(i,{display:"flex",flexDirection:{base:"column",md:"row"},justifyContent:{md:"space-between"},alignItems:{md:"center"},children:[e.jsxs(i,{children:[e.jsxs(i,{textAlign:{base:"center",md:"start"},fontSize:{sm:"20px",md:"24px",lg:"30px"},fontWeight:{md:500,lg:700},mb:"20px",children:[e.jsx(n,{children:"У вас є питання?"}),e.jsx(n,{children:s==="mobile"?"Зв'яжіться з нами:":"Зв'яжіться з нами безпосередньо:"})]}),e.jsx(p,{})]}),e.jsx(o,{src:s==="desktop"?d:m,alt:"img",w:{sm:"320px",md:"468px",lg:"624px"},h:{sm:"205px",md:"280px",lg:"400px"}})]})]})};export{j as default}; diff --git a/assets/SectionHelp-Cp9FxmaY.js b/assets/SectionHelp-I-QdLtPy.js similarity index 92% rename from assets/SectionHelp-Cp9FxmaY.js rename to assets/SectionHelp-I-QdLtPy.js index e6d09ac..10d4f87 100644 --- a/assets/SectionHelp-Cp9FxmaY.js +++ b/assets/SectionHelp-I-QdLtPy.js @@ -1 +1 @@ -import{j as e,B as p}from"./index-DGkqr4dg.js";import{u as r,C as x,H as i,F as o,T as t,B as l}from"./LandingPage-B77_cH7x.js";const m="/animal-shelter/assets/Rectangle-BqZik5mZ.png",c="/animal-shelter/assets/rectangle-laptop-CK_UsFI_.png",g="/animal-shelter/assets/rectangle-desk-f4DM6J83.png",d=({isMobile:s})=>e.jsx(t,{textAlign:"center",fontSize:{md:"24px"},fontWeight:{md:500,lg:700},children:s?e.jsxs(e.Fragment,{children:["Перейдіть за посиланням",e.jsx("br",{}),"та заповніть форму",e.jsx("br",{}),"Ми з вами обов’язково звяжемось"]}):e.jsxs(e.Fragment,{children:["Перейдіть за посиланням та заповніть форму",e.jsx("br",{}),"Ми з вами обов’язково звяжемось"]})}),j=()=>{const s=r(),n=s==="mobile",a=()=>s==="laptop"?c:s==="desktop"?g:m;return e.jsxs(x,{as:"section",id:"help",pb:{base:"30px",sm:"44px",md:"120",lg:"56px"},children:[e.jsx(i,{variant:"sectionHeading",mb:{base:"24px",md:"64px"},children:"Як допомогти"}),e.jsx(p,{pt:{base:"43px",md:"60px"},pb:{base:"53px",md:"77px"},mx:"auto",bgImage:`url(${a()})`,bgRepeat:"no-repeat",bgSize:"100% 100%",children:e.jsxs(o,{direction:"column",justifyContent:"center",alignItems:"center",gap:"24px",px:"14px",children:[e.jsx(t,{fontSize:{base:"30px",md:"40px"},fontWeight:{base:500,md:700},textAlign:"center",color:"custom.darkBlue",children:"Бажаєте допомогти притулку?"}),e.jsx(d,{isMobile:n}),e.jsx(l,{type:"button",fontWeight:{base:500,md:600},py:{base:"16px",md:"30px"},px:{base:"20px",md:"40px"},w:{base:"300px",md:"442px"},h:{base:"80px",md:"102px"},variant:"primary",children:"Зв'яжіться з нами"})]})})]})};export{j as default}; +import{j as e,B as p}from"./index-Rndj8vN-.js";import{u as r,C as x,H as i,F as o,T as t,B as l}from"./LandingPage-DlUn22BL.js";const m="/animal-shelter/assets/Rectangle-BqZik5mZ.png",c="/animal-shelter/assets/rectangle-laptop-CK_UsFI_.png",g="/animal-shelter/assets/rectangle-desk-f4DM6J83.png",d=({isMobile:s})=>e.jsx(t,{textAlign:"center",fontSize:{md:"24px"},fontWeight:{md:500,lg:700},children:s?e.jsxs(e.Fragment,{children:["Перейдіть за посиланням",e.jsx("br",{}),"та заповніть форму",e.jsx("br",{}),"Ми з вами обов’язково звяжемось"]}):e.jsxs(e.Fragment,{children:["Перейдіть за посиланням та заповніть форму",e.jsx("br",{}),"Ми з вами обов’язково звяжемось"]})}),j=()=>{const s=r(),n=s==="mobile",a=()=>s==="laptop"?c:s==="desktop"?g:m;return e.jsxs(x,{as:"section",id:"help",pb:{base:"30px",sm:"44px",md:"120",lg:"56px"},children:[e.jsx(i,{variant:"sectionHeading",mb:{base:"24px",md:"64px"},children:"Як допомогти"}),e.jsx(p,{pt:{base:"43px",md:"60px"},pb:{base:"53px",md:"77px"},mx:"auto",bgImage:`url(${a()})`,bgRepeat:"no-repeat",bgSize:"100% 100%",children:e.jsxs(o,{direction:"column",justifyContent:"center",alignItems:"center",gap:"24px",px:"14px",children:[e.jsx(t,{fontSize:{base:"30px",md:"40px"},fontWeight:{base:500,md:700},textAlign:"center",color:"custom.darkBlue",children:"Бажаєте допомогти притулку?"}),e.jsx(d,{isMobile:n}),e.jsx(l,{type:"button",fontWeight:{base:500,md:600},py:{base:"16px",md:"30px"},px:{base:"20px",md:"40px"},w:{base:"300px",md:"442px"},h:{base:"80px",md:"102px"},variant:"primary",children:"Зв'яжіться з нами"})]})})]})};export{j as default}; diff --git a/assets/SectionLocation-uImdsoKa.js b/assets/SectionLocation-BqBNdELa.js similarity index 87% rename from assets/SectionLocation-uImdsoKa.js rename to assets/SectionLocation-BqBNdELa.js index 9c2ed74..47f863e 100644 --- a/assets/SectionLocation-uImdsoKa.js +++ b/assets/SectionLocation-BqBNdELa.js @@ -1 +1 @@ -import{j as e,B as s}from"./index-DGkqr4dg.js";import{C as r,H as d}from"./LandingPage-B77_cH7x.js";const o=()=>e.jsxs(s,{as:"section",id:"location",pb:{sm:10,md:20,lg:"120px"},children:[e.jsx(r,{children:e.jsx(d,{variant:"sectionHeading",mb:{base:6,md:"64px"},children:"Локація"})}),e.jsx(s,{mx:"auto",w:{base:"100%",lg:"1130px"},h:{base:"160px",md:"500px"},children:e.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1902.328916662951!2d24.714250827620496!3d48.91325626787462!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x4730c1424d6470c9%3A0xe699dd76382dd64c!2z0LLRg9C70LjRhtGPINCj0LrRgNCw0ZfQvdGB0YzQutC-0Zcg0J_QtdGA0LXQvNC-0LPQuCwgMzQsINCG0LLQsNC90L4t0KTRgNCw0L3QutGW0LLRgdGM0LosINCG0LLQsNC90L4t0KTRgNCw0L3QutGW0LLRgdGM0LrQsCDQvtCx0LvQsNGB0YLRjCwgNzYwMDA!5e0!3m2!1suk!2sua!4v1716054952399!5m2!1suk!2sua",width:"100%",height:"100%",style:{border:0},allowFullScreen:!1,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"})})]});export{o as default}; +import{j as e,B as s}from"./index-Rndj8vN-.js";import{C as r,H as d}from"./LandingPage-DlUn22BL.js";const o=()=>e.jsxs(s,{as:"section",id:"location",pb:{sm:10,md:20,lg:"120px"},children:[e.jsx(r,{children:e.jsx(d,{variant:"sectionHeading",mb:{base:6,md:"64px"},children:"Локація"})}),e.jsx(s,{mx:"auto",w:{base:"100%",lg:"1130px"},h:{base:"160px",md:"500px"},children:e.jsx("iframe",{src:"https://www.google.com/maps/embed?pb=!1m18!1m12!1m3!1d1902.328916662951!2d24.714250827620496!3d48.91325626787462!2m3!1f0!2f0!3f0!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x4730c1424d6470c9%3A0xe699dd76382dd64c!2z0LLRg9C70LjRhtGPINCj0LrRgNCw0ZfQvdGB0YzQutC-0Zcg0J_QtdGA0LXQvNC-0LPQuCwgMzQsINCG0LLQsNC90L4t0KTRgNCw0L3QutGW0LLRgdGM0LosINCG0LLQsNC90L4t0KTRgNCw0L3QutGW0LLRgdGM0LrQsCDQvtCx0LvQsNGB0YLRjCwgNzYwMDA!5e0!3m2!1suk!2sua!4v1716054952399!5m2!1suk!2sua",width:"100%",height:"100%",style:{border:0},allowFullScreen:!1,loading:"lazy",referrerPolicy:"no-referrer-when-downgrade"})})]});export{o as default}; diff --git a/assets/SectionTerms-BeNHlgQP.js b/assets/SectionTerms-CGFhImGe.js similarity index 90% rename from assets/SectionTerms-BeNHlgQP.js rename to assets/SectionTerms-CGFhImGe.js index 656d437..b7c647b 100644 --- a/assets/SectionTerms-BeNHlgQP.js +++ b/assets/SectionTerms-CGFhImGe.js @@ -1 +1 @@ -import{j as s,B as a}from"./index-DGkqr4dg.js";import{u as m,C as o,H as n,L as l,a as g,T as r,I as d}from"./LandingPage-B77_cH7x.js";const c="/animal-shelter/assets/cat-mob-DdDbIfX_.png",p="/animal-shelter/assets/big-dog-mob-CJuVNZGu.png",b="/animal-shelter/assets/little-dog-mob-R8YUWAMa.png",x="/animal-shelter/assets/cat-des-B824mw7s.png",h="/animal-shelter/assets/big-dog-des-CTivg3wR.png",f="/animal-shelter/assets/little-dog-des-BwWVGSqf.png",j=[{title:"Лише власник",description:"Собаку чи кота віддаємо лише в руки майбутньому власнику",images:{mob:b,md:"",lg:f}},{title:"Тварина для сім'ї",description:"Тваринки не для утримання на ланцюгу, охорони підприєства чи самовигулу",images:{mob:c,md:"",lg:x}},{title:"Відповідальність",description:"Не забирайте тварину з притулку, якщо не готові про неї піклуватись",images:{mob:p,md:"",lg:h}}],I=()=>{const t=m();return s.jsx(a,{as:"section",id:"terms",pb:{base:"40px",sm:"60px",md:"100px",lg:"185px"},children:s.jsxs(o,{children:[s.jsx(n,{variant:"sectionHeading",mb:{base:3,md:16},children:"Наші умови"}),s.jsx(l,{display:"flex",flexDirection:{base:"column",md:"row"},gap:{base:6,md:2},justifyContent:{md:"space-between"},children:j.map((e,i)=>s.jsxs(g,{display:"flex",flexDirection:t!=="mobile"&&i!==1?"column":"column-reverse",alignItems:{base:"center"},gap:3,w:{base:"327px",md:"306px",lg:"425px"},justifyContent:{md:"space-between"},children:[s.jsxs(a,{children:[s.jsx(n,{as:"h3",variant:"subTitle",mb:{base:3,md:4},children:e.title}),s.jsx(r,{fontSize:{md:"20px",lg:"24px"},fontWeight:{md:400,lg:700},children:e.description})]}),s.jsx(d,{src:t==="desktop"?e.images.lg:e.images.mob,alt:"зображення тваринки"})]},i))})]})})};export{I as default}; +import{j as s,B as a}from"./index-Rndj8vN-.js";import{u as m,C as o,H as n,L as l,a as g,T as r,I as d}from"./LandingPage-DlUn22BL.js";const c="/animal-shelter/assets/cat-mob-DdDbIfX_.png",p="/animal-shelter/assets/big-dog-mob-CJuVNZGu.png",b="/animal-shelter/assets/little-dog-mob-R8YUWAMa.png",x="/animal-shelter/assets/cat-des-B824mw7s.png",h="/animal-shelter/assets/big-dog-des-CTivg3wR.png",f="/animal-shelter/assets/little-dog-des-BwWVGSqf.png",j=[{title:"Лише власник",description:"Собаку чи кота віддаємо лише в руки майбутньому власнику",images:{mob:b,md:"",lg:f}},{title:"Тварина для сім'ї",description:"Тваринки не для утримання на ланцюгу, охорони підприєства чи самовигулу",images:{mob:c,md:"",lg:x}},{title:"Відповідальність",description:"Не забирайте тварину з притулку, якщо не готові про неї піклуватись",images:{mob:p,md:"",lg:h}}],I=()=>{const t=m();return s.jsx(a,{as:"section",id:"terms",pb:{base:"40px",sm:"60px",md:"100px",lg:"185px"},children:s.jsxs(o,{children:[s.jsx(n,{variant:"sectionHeading",mb:{base:3,md:16},children:"Наші умови"}),s.jsx(l,{display:"flex",flexDirection:{base:"column",md:"row"},gap:{base:6,md:2},justifyContent:{md:"space-between"},children:j.map((e,i)=>s.jsxs(g,{display:"flex",flexDirection:t!=="mobile"&&i!==1?"column":"column-reverse",alignItems:{base:"center"},gap:3,w:{base:"327px",md:"306px",lg:"425px"},justifyContent:{md:"space-between"},children:[s.jsxs(a,{children:[s.jsx(n,{as:"h3",variant:"subTitle",mb:{base:3,md:4},children:e.title}),s.jsx(r,{fontSize:{md:"20px",lg:"24px"},fontWeight:{md:400,lg:700},children:e.description})]}),s.jsx(d,{src:t==="desktop"?e.images.lg:e.images.mob,alt:"зображення тваринки"})]},i))})]})})};export{I as default}; diff --git a/assets/index-DGkqr4dg.js b/assets/index-Rndj8vN-.js similarity index 99% rename from assets/index-DGkqr4dg.js rename to assets/index-Rndj8vN-.js index a4943be..98e1989 100644 --- a/assets/index-DGkqr4dg.js +++ b/assets/index-Rndj8vN-.js @@ -378,7 +378,7 @@ Error generating stack: `+i.message+` top: ${l}px !important; left: ${u}px !important; } - `),()=>{document.head.removeChild(c)}},[t]),k.createElement(SF,{isPresent:t,childRef:n,sizeRef:o},k.cloneElement(e,{ref:n}))}const Fc=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:a})=>{const s=Bb(kF),l=k.useId(),u=k.useMemo(()=>({id:l,initial:t,isPresent:r,custom:o,onExitComplete:c=>{s.set(c,!0);for(const d of s.values())if(!d)return;n&&n()},register:c=>(s.set(c,!1),()=>s.delete(c))}),i?void 0:[r]);return k.useMemo(()=>{s.forEach((c,d)=>s.set(d,!1))},[r]),k.useEffect(()=>{!r&&!s.size&&n&&n()},[r]),a==="popLayout"&&(e=k.createElement(wF,{isPresent:r},e)),k.createElement(Ca.Provider,{value:u},e)};function kF(){return new Map}function CF(e){return k.useEffect(()=>()=>e(),[])}const bn=e=>e.key||"";function _F(e,t){e.forEach(r=>{const n=bn(r);t.set(n,r)})}function TF(e){const t=[];return k.Children.forEach(e,r=>{k.isValidElement(r)&&t.push(r)}),t}const PF=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:a="sync"})=>{const s=k.useContext(zh).forceRender||xF()[0],l=Vx(),u=TF(e);let c=u;const d=k.useRef(new Map).current,f=k.useRef(c),m=k.useRef(new Map).current,b=k.useRef(!0);if(Ph(()=>{b.current=!1,_F(u,m),f.current=c}),CF(()=>{b.current=!0,m.clear(),d.clear()}),b.current)return k.createElement(k.Fragment,null,c.map(h=>k.createElement(Fc,{key:bn(h),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:i,mode:a},h)));c=[...c];const y=f.current.map(bn),w=u.map(bn),p=y.length;for(let h=0;h{if(w.indexOf(g)!==-1)return;const C=m.get(g);if(!C)return;const T=y.indexOf(g);let E=h;if(!E){const P=()=>{d.delete(g);const $=Array.from(m.keys()).filter(j=>!w.includes(j));if($.forEach(j=>m.delete(j)),f.current=u.filter(j=>{const L=bn(j);return L===g||$.includes(L)}),!d.size){if(l.current===!1)return;s(),n&&n()}};E=k.createElement(Fc,{key:bn(C),isPresent:!1,onExitComplete:P,custom:t,presenceAffectsLayout:i,mode:a},C),d.set(g,E)}c.splice(T,0,E)}),c=c.map(h=>{const g=h.key;return d.has(g)?h:k.createElement(Fc,{key:bn(h),isPresent:!0,presenceAffectsLayout:i,mode:a},h)}),k.createElement(k.Fragment,null,d.size?c:c.map(h=>k.cloneElement(h)))};var EF={initial:e=>{const{position:t}=e,r=["top","bottom"].includes(t)?"y":"x";let n=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(n=1),{opacity:0,[r]:n*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},Nx=k.memo(e=>{const{id:t,message:r,onCloseComplete:n,onRequestRemove:o,requestClose:i=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:u=EF,toastSpacing:c="0.5rem"}=e,[d,f]=k.useState(s),m=S6();U0(()=>{m||n==null||n()},[m]),U0(()=>{f(s)},[s]);const b=()=>f(null),y=()=>f(s),w=()=>{m&&o()};k.useEffect(()=>{m&&i&&o()},[m,i,o]),sA(w,d);const p=k.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:c,...l}),[l,c]),h=k.useMemo(()=>oA(a),[a]);return A.jsx(bF.div,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:b,onHoverEnd:y,custom:{position:a},style:h,children:A.jsx(Mt.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:p,children:Vr(r,{id:t,onClose:w})})})});Nx.displayName="ToastComponent";var Jg={path:A.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[A.jsx("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),A.jsx("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),A.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},$a=sn((e,t)=>{const{as:r,viewBox:n,color:o="currentColor",focusable:i=!1,children:a,className:s,__css:l,...u}=e,c=Wo("chakra-icon",s),d=kh("Icon",e),f={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...l,...d},m={ref:t,focusable:i,className:c,__css:f},b=n??Jg.viewBox;if(r&&typeof r!="string")return A.jsx(Mt.svg,{as:r,...m,...u});const y=a??Jg.path;return A.jsx(Mt.svg,{verticalAlign:"middle",viewBox:b,...m,...u,children:y})});$a.displayName="Icon";function $F(e){return A.jsx($a,{viewBox:"0 0 24 24",...e,children:A.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})}function RF(e){return A.jsx($a,{viewBox:"0 0 24 24",...e,children:A.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})}function ev(e){return A.jsx($a,{viewBox:"0 0 24 24",...e,children:A.jsx("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var AF=S_({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Wx=sn((e,t)=>{const r=kh("Spinner",e),{label:n="Loading...",thickness:o="2px",speed:i="0.45s",emptyColor:a="transparent",className:s,...l}=vh(e),u=Wo("chakra-spinner",s),c={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:a,borderLeftColor:a,animation:`${AF} ${i} linear infinite`,...r};return A.jsx(Mt.div,{ref:t,__css:c,className:u,...l,children:n&&A.jsx(Mt.span,{srOnly:!0,children:n})})});Wx.displayName="Spinner";var[zF,ep]=wa({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[MF,tp]=wa({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),Ux={info:{icon:RF,colorScheme:"blue"},warning:{icon:ev,colorScheme:"orange"},success:{icon:$F,colorScheme:"green"},error:{icon:ev,colorScheme:"red"},loading:{icon:Wx,colorScheme:"blue"}};function FF(e){return Ux[e].colorScheme}function LF(e){return Ux[e].icon}var Hx=sn(function(t,r){const n=tp(),{status:o}=ep(),i={display:"inline",...n.description};return A.jsx(Mt.div,{ref:r,"data-status":o,...t,className:Wo("chakra-alert__desc",t.className),__css:i})});Hx.displayName="AlertDescription";function Kx(e){const{status:t}=ep(),r=LF(t),n=tp(),o=t==="loading"?n.spinner:n.icon;return A.jsx(Mt.span,{display:"inherit","data-status":t,...e,className:Wo("chakra-alert__icon",e.className),__css:o,children:e.children||A.jsx(r,{h:"100%",w:"100%"})})}Kx.displayName="AlertIcon";var Gx=sn(function(t,r){const n=tp(),{status:o}=ep();return A.jsx(Mt.div,{ref:r,"data-status":o,...t,className:Wo("chakra-alert__title",t.className),__css:n.title})});Gx.displayName="AlertTitle";var Yx=sn(function(t,r){var n;const{status:o="info",addRole:i=!0,...a}=vh(t),s=(n=t.colorScheme)!=null?n:FF(o),l=D4("Alert",{...t,colorScheme:s}),u={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...l.container};return A.jsx(zF,{value:{status:o},children:A.jsx(MF,{value:l,children:A.jsx(Mt.div,{"data-status":o,role:i?"alert":void 0,ref:r,...a,className:Wo("chakra-alert",t.className),__css:u})})})});Yx.displayName="Alert";function DF(e){return A.jsx($a,{focusable:"false","aria-hidden":!0,...e,children:A.jsx("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}var Xx=sn(function(t,r){const n=kh("CloseButton",t),{children:o,isDisabled:i,__css:a,...s}=vh(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return A.jsx(Mt.button,{type:"button","aria-label":"Close",ref:r,disabled:i,__css:{...l,...n,...a},...s,children:o||A.jsx(DF,{width:"1em",height:"1em"})})});Xx.displayName="CloseButton";var BF={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},ji=IF(BF);function IF(e){let t=e;const r=new Set,n=o=>{t=o(t),r.forEach(i=>i())};return{getState:()=>t,subscribe:o=>(r.add(o),()=>{n(()=>e),r.delete(o)}),removeToast:(o,i)=>{n(a=>({...a,[i]:a[i].filter(s=>s.id!=o)}))},notify:(o,i)=>{const a=jF(o,i),{position:s,id:l}=a;return n(u=>{var c,d;const m=s.includes("top")?[a,...(c=u[s])!=null?c:[]]:[...(d=u[s])!=null?d:[],a];return{...u,[s]:m}}),l},update:(o,i)=>{o&&n(a=>{const s={...a},{position:l,index:u}=W0(s,o);return l&&u!==-1&&(s[l][u]={...s[l][u],...i,message:VF(i)}),s})},closeAll:({positions:o}={})=>{n(i=>(o??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((l,u)=>(l[u]=i[u].map(c=>({...c,requestClose:!0})),l),{...i}))},close:o=>{n(i=>{const a=xb(i,o);return a?{...i,[a]:i[a].map(s=>s.id==o?{...s,requestClose:!0}:s)}:i})},isActive:o=>!!W0(ji.getState(),o).position}}var tv=0;function jF(e,t={}){var r,n;tv+=1;const o=(r=t.id)!=null?r:tv,i=(n=t.position)!=null?n:"bottom";return{id:o,message:e,position:i,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>ji.removeToast(String(o),i),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var OF=e=>{const{status:t,variant:r="solid",id:n,title:o,isClosable:i,onClose:a,description:s,colorScheme:l,icon:u}=e,c=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return A.jsxs(Yx,{addRole:!1,status:t,variant:r,id:c==null?void 0:c.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[A.jsx(Kx,{children:u}),A.jsxs(Mt.div,{flex:"1",maxWidth:"100%",children:[o&&A.jsx(Gx,{id:c==null?void 0:c.title,children:o}),s&&A.jsx(Hx,{id:c==null?void 0:c.description,display:"block",children:s})]}),i&&A.jsx(Xx,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function VF(e={}){const{render:t,toastComponent:r=OF}=e;return o=>typeof t=="function"?t({...o,...e}):A.jsx(r,{...o,...e})}var[NF,yL]=wa({name:"ToastOptionsContext",strict:!1}),WF=e=>{const t=k.useSyncExternalStore(ji.subscribe,ji.getState,ji.getState),{motionVariants:r,component:n=Nx,portalProps:o}=e,a=Object.keys(t).map(s=>{const l=t[s];return A.jsx("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${s}`,id:`chakra-toast-manager-${s}`,style:iA(s),children:A.jsx(PF,{initial:!1,children:l.map(u=>A.jsx(n,{motionVariants:r,...u},u.id))})},s)});return A.jsx(lu,{...o,children:a})},UF=e=>function({children:r,theme:n=e,toastOptions:o,...i}){return A.jsxs(rA,{theme:n,...i,children:[A.jsx(NF,{value:o==null?void 0:o.defaultOptions,children:r}),A.jsx(WF,{...o})]})},HF=UF(fb),Qx=Object.freeze(["base","sm","md","lg","xl","2xl"]);function bL(e,t){return Array.isArray(e)?e.map(r=>r===null?null:t(r)):ot(e)?Object.keys(e).reduce((r,n)=>(r[n]=t(e[n]),r),{}):e!=null?t(e):null}function KF(e,t=Qx){const r={};return e.forEach((n,o)=>{const i=t[o];n!=null&&(r[i]=n)}),r}var Io=Mt("div");Io.displayName="Box";var qx=sn(function(t,r){const{size:n,centerContent:o=!0,...i}=t,a=o?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return A.jsx(Io,{ref:r,boxSize:n,__css:{...a,flexShrink:0,flexGrow:0},...i})});qx.displayName="Square";var GF=sn(function(t,r){const{size:n,...o}=t;return A.jsx(qx,{size:n,ref:r,borderRadius:"9999px",...o})});GF.displayName="Circle";function YF(e,t={}){const{ssr:r=!0,fallback:n}=t,{getWindow:o}=tA(),i=Array.isArray(e)?e:[e];let a=Array.isArray(n)?n:[n];a=a.filter(u=>u!=null);const[s,l]=k.useState(()=>i.map((u,c)=>({media:u,matches:r?!!a[c]:o().matchMedia(u).matches})));return k.useEffect(()=>{const u=o();l(i.map(f=>({media:f,matches:u.matchMedia(f).matches})));const c=i.map(f=>u.matchMedia(f)),d=f=>{l(m=>m.slice().map(b=>b.media===f.media?{...b,matches:f.matches}:b))};return c.forEach(f=>{typeof f.addListener=="function"?f.addListener(d):f.addEventListener("change",d)}),()=>{c.forEach(f=>{typeof f.removeListener=="function"?f.removeListener(d):f.removeEventListener("change",d)})}},[o]),s.map(u=>u.matches)}function XF(e,t,r=Qx){let n=Object.keys(e).indexOf(t);if(n!==-1)return e[t];let o=r.indexOf(t);for(;o>=0;){const i=r[o];if(e.hasOwnProperty(i)){n=o;break}o-=1}if(n!==-1){const i=r[n];return e[i]}}function QF(e){var t,r;const n=ot(e)?e:{fallback:e??"base"},i=dh().__breakpoints.details.map(({minMaxQuery:u,breakpoint:c})=>({breakpoint:c,query:u.replace("@media screen and ","")})),a=i.map(u=>u.breakpoint===n.fallback),l=YF(i.map(u=>u.query),{fallback:a,ssr:n.ssr}).findIndex(u=>u==!0);return(r=(t=i[l])==null?void 0:t.breakpoint)!=null?r:n.fallback}function qF(e,t){var r;const n=ot(t)?t:{fallback:t??"base"},o=QF(n),i=dh();if(!o)return;const a=Array.from(((r=i.__breakpoints)==null?void 0:r.keys)||[]),s=Array.isArray(e)?Object.fromEntries(Object.entries(KF(e,a)).map(([l,u])=>[l,u])):e;return XF(s,o,a)}const ZF="_loader_5u458_1",JF="_rotation_5u458_1",eL={loader:ZF,rotation:JF},tL=()=>A.jsx(Io,{width:"100px",pt:"calc(100vh / 3)",m:"auto",children:A.jsx("span",{className:eL.loader})}),kt="rgba(239, 57, 89, 0.4)",He="rgba(74, 134, 255, 0.4)",rL=()=>{const n=qF({base:[{color:kt,top:"618px",right:"60px"},{color:kt,top:"1486",left:"3px"},{color:kt,top:"2919px",left:"3px"},{color:kt,down:"0",right:"64px"},{color:He,top:0,left:0},{color:He,top:"618px",left:"42px"},{color:He,top:"2100px",right:0},{color:He,down:"1168px",right:0},{color:He,down:"48px",left:"57px"}],md:[{color:kt,top:"658px",right:"65px"},{color:kt,top:"1158px",left:"156px"},{color:kt,top:"2870px",left:"123px"},{color:kt,down:"0",right:"0"},{color:He,top:0,left:0},{color:He,top:"584px",right:"560px"},{color:He,top:"1873px",left:"14px"},{color:He,down:"1028px",right:"146px"},{color:He,down:"60px",left:"190px"}],lg:[{color:kt,top:"718px",right:"138px"},{color:kt,down:"0",right:"32px"},{color:kt,top:"1597px",left:"145px"},{color:kt,top:"3029px",left:"145px"},{color:He,top:0,left:0},{color:He,top:"492px",right:"578px"},{color:He,top:"2300px",left:0},{color:He,down:"27px",left:"213px"},{color:He,down:"1229px",right:"327px"}]});return A.jsx(Io,{position:"absolute",top:{base:"50px",md:"-257px",lg:"-44px"},left:{base:"-112px",md:"-320px",lg:"-342px"},width:{base:"611px",md:"1682px",lg:"2143px"},height:{base:"5398px",md:"5762px",lg:"6271px"},mx:"auto",zIndex:-1,children:n==null?void 0:n.map((o,i)=>A.jsx(Io,{position:"absolute",top:o.top,left:o.left,right:o.right,bottom:o.down,width:{base:"200px",md:"500px"},height:{base:"200px",md:"500px"},borderRadius:"50%",filter:{base:"blur(80px)",md:"blur(150px)",lg:"blur(200px)"},backgroundColor:o.color},i))})},nL=k.lazy(()=>IC(()=>import("./LandingPage-B77_cH7x.js").then(e=>e.f),__vite__mapDeps([]))),oL=()=>A.jsxs(S2,{children:[A.jsx(Ad,{path:"/",element:A.jsx(k.Suspense,{fallback:A.jsx(tL,{}),children:A.jsxs(Io,{maxW:{base:"375px",md:"1024px",lg:"1440px"},position:"relative",minHeight:"100vh",mx:"auto",children:[A.jsx(rL,{}),A.jsx(nL,{})]})})}),A.jsx(Ad,{path:"*",element:A.jsx("p",{children:" 404 Page not found... "})})]}),iL={baseStyle:{margin:"0 auto","@media screen and (max-width: 1023px)":{maxWidth:"375px",minWidth:"300px",paddingX:"14px"},"@media screen and (min-width: 1024px)":{maxWidth:"1024px",paddingX:"32px"},"@media screen and (min-width: 1440px)":{maxWidth:"1440px",paddingX:"40px"}}},aL={baseStyle:{textAlign:"center",fontWeight:"normal",lineHeight:1.5,bgColor:"transparent"},variants:{primary:{fontSize:{base:"28px",sm:"30px",md:"36px"},width:"160px",color:"white",bgColor:"custom.red",boxShadow:"0 0 40px 0 #EF395966",borderRadius:"25px 25px 25px 0",borderWidth:"none",borderColor:"transparent",transition:"all 200ms linear",_hover:{color:"custom.red",boxShadow:"none",bgColor:"transparent",borderWidth:{base:"4px"},borderColor:"custom.red"}},secondary:{width:{base:"327px",md:"442px"},height:{base:"80px",md:"102px"},color:"custom.red",fontSize:{base:"20px",sm:"32px",md:"36px"},fontWeight:{md:"600"},lineHeight:{base:1.6,md:1.2},borderRadius:"25px 25px 25px 0",border:"3px solid transparent",background:"custom.borderGradient",backgroundOrigin:"border-box",backgroundClip:"content-box, border-box",transition:"all 200ms linear",_hover:{borderWidth:{base:"6px",md:"7px"}}},help:{fontSize:{base:"15px",sm:"20px",md:"24px"},fontWeight:{base:400,lg:600},width:{base:"160px",md:"213px"},height:{base:"60px",md:"76px"},color:"white",bgColor:"custom.red",boxShadow:"0 0 40px 0 #EF395966",borderRadius:{base:"15px",md:"25px"},borderWidth:"none",borderColor:"transparent",transition:"all 200ms linear",_hover:{color:"custom.red",boxShadow:"none",bgColor:"transparent",borderWidth:{base:"2px",md:"4px"},borderColor:"custom.red"}}},defaultProps:{size:"",colorSchema:""}},sL={baseStyle:{display:"block",fontWeight:"inherit",_hover:{textDecoration:"none"}},variants:{contactLink:{fontWeight:"500",fontSize:"16px",color:"red","@media screen and (min-width: 1024px)":{fontSize:"24px"},"@media screen and (min-width: 1440px)":{fontWeight:"700",fontSize:"30px"}}}},lL={baseStyle:{lineHeight:1.3,fontWeight:"semibold",fontSize:"32px"},sizes:{},variants:{sectionHeading:{textAlign:"center","@media screen and (min-width: 1024px)":{fontWeight:"extrabold",fontSize:"56px"},"@media screen and (min-width: 1440px)":{fontWeight:"bold"}},subTitle:{textAlign:"center",color:"custom.blue","@media screen and (min-width: 1024px)":{textAlign:"start"},"@media screen and (min-width: 1440px)":{fontWeight:"bold",fontSize:"40px"}}},defaultProps:{baseStyle:"",size:""}},uL={baseStyle:{color:"custom.blackTypography"},variants:{contactText:{color:"custom.blue"}}},cL=C4({fonts:{body:"Montserrat, sans-serif",heading:"Montserrat, sans-serif"},breakpoints:{base:"0em",sm:"23.4em",md:"64em",xl:"90em",lg:"90em"},styles:{global:{"@media (prefers-reduced-motion: no-preference)":{":root":{scrollBehavior:"smooth"}},a:{textDecoration:"none"},body:{bg:"white",color:"custom.darkBlue",fontFamily:"body",fontWeight:"medium",lineHeight:"1.5"}}},colors:{custom:{white:"#F5F5F5",blue:"#4A86FF",red:"#EF3959",darkBlue:"#202053",blackTypography:"#404040",borderGradient:` + `),()=>{document.head.removeChild(c)}},[t]),k.createElement(SF,{isPresent:t,childRef:n,sizeRef:o},k.cloneElement(e,{ref:n}))}const Fc=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:o,presenceAffectsLayout:i,mode:a})=>{const s=Bb(kF),l=k.useId(),u=k.useMemo(()=>({id:l,initial:t,isPresent:r,custom:o,onExitComplete:c=>{s.set(c,!0);for(const d of s.values())if(!d)return;n&&n()},register:c=>(s.set(c,!1),()=>s.delete(c))}),i?void 0:[r]);return k.useMemo(()=>{s.forEach((c,d)=>s.set(d,!1))},[r]),k.useEffect(()=>{!r&&!s.size&&n&&n()},[r]),a==="popLayout"&&(e=k.createElement(wF,{isPresent:r},e)),k.createElement(Ca.Provider,{value:u},e)};function kF(){return new Map}function CF(e){return k.useEffect(()=>()=>e(),[])}const bn=e=>e.key||"";function _F(e,t){e.forEach(r=>{const n=bn(r);t.set(n,r)})}function TF(e){const t=[];return k.Children.forEach(e,r=>{k.isValidElement(r)&&t.push(r)}),t}const PF=({children:e,custom:t,initial:r=!0,onExitComplete:n,exitBeforeEnter:o,presenceAffectsLayout:i=!0,mode:a="sync"})=>{const s=k.useContext(zh).forceRender||xF()[0],l=Vx(),u=TF(e);let c=u;const d=k.useRef(new Map).current,f=k.useRef(c),m=k.useRef(new Map).current,b=k.useRef(!0);if(Ph(()=>{b.current=!1,_F(u,m),f.current=c}),CF(()=>{b.current=!0,m.clear(),d.clear()}),b.current)return k.createElement(k.Fragment,null,c.map(h=>k.createElement(Fc,{key:bn(h),isPresent:!0,initial:r?void 0:!1,presenceAffectsLayout:i,mode:a},h)));c=[...c];const y=f.current.map(bn),w=u.map(bn),p=y.length;for(let h=0;h{if(w.indexOf(g)!==-1)return;const C=m.get(g);if(!C)return;const T=y.indexOf(g);let E=h;if(!E){const P=()=>{d.delete(g);const $=Array.from(m.keys()).filter(j=>!w.includes(j));if($.forEach(j=>m.delete(j)),f.current=u.filter(j=>{const L=bn(j);return L===g||$.includes(L)}),!d.size){if(l.current===!1)return;s(),n&&n()}};E=k.createElement(Fc,{key:bn(C),isPresent:!1,onExitComplete:P,custom:t,presenceAffectsLayout:i,mode:a},C),d.set(g,E)}c.splice(T,0,E)}),c=c.map(h=>{const g=h.key;return d.has(g)?h:k.createElement(Fc,{key:bn(h),isPresent:!0,presenceAffectsLayout:i,mode:a},h)}),k.createElement(k.Fragment,null,d.size?c:c.map(h=>k.cloneElement(h)))};var EF={initial:e=>{const{position:t}=e,r=["top","bottom"].includes(t)?"y":"x";let n=["top-right","bottom-right"].includes(t)?1:-1;return t==="bottom"&&(n=1),{opacity:0,[r]:n*24}},animate:{opacity:1,y:0,x:0,scale:1,transition:{duration:.4,ease:[.4,0,.2,1]}},exit:{opacity:0,scale:.85,transition:{duration:.2,ease:[.4,0,1,1]}}},Nx=k.memo(e=>{const{id:t,message:r,onCloseComplete:n,onRequestRemove:o,requestClose:i=!1,position:a="bottom",duration:s=5e3,containerStyle:l,motionVariants:u=EF,toastSpacing:c="0.5rem"}=e,[d,f]=k.useState(s),m=S6();U0(()=>{m||n==null||n()},[m]),U0(()=>{f(s)},[s]);const b=()=>f(null),y=()=>f(s),w=()=>{m&&o()};k.useEffect(()=>{m&&i&&o()},[m,i,o]),sA(w,d);const p=k.useMemo(()=>({pointerEvents:"auto",maxWidth:560,minWidth:300,margin:c,...l}),[l,c]),h=k.useMemo(()=>oA(a),[a]);return A.jsx(bF.div,{layout:!0,className:"chakra-toast",variants:u,initial:"initial",animate:"animate",exit:"exit",onHoverStart:b,onHoverEnd:y,custom:{position:a},style:h,children:A.jsx(Mt.div,{role:"status","aria-atomic":"true",className:"chakra-toast__inner",__css:p,children:Vr(r,{id:t,onClose:w})})})});Nx.displayName="ToastComponent";var Jg={path:A.jsxs("g",{stroke:"currentColor",strokeWidth:"1.5",children:[A.jsx("path",{strokeLinecap:"round",fill:"none",d:"M9,9a3,3,0,1,1,4,2.829,1.5,1.5,0,0,0-1,1.415V14.25"}),A.jsx("path",{fill:"currentColor",strokeLinecap:"round",d:"M12,17.25a.375.375,0,1,0,.375.375A.375.375,0,0,0,12,17.25h0"}),A.jsx("circle",{fill:"none",strokeMiterlimit:"10",cx:"12",cy:"12",r:"11.25"})]}),viewBox:"0 0 24 24"},$a=sn((e,t)=>{const{as:r,viewBox:n,color:o="currentColor",focusable:i=!1,children:a,className:s,__css:l,...u}=e,c=Wo("chakra-icon",s),d=kh("Icon",e),f={w:"1em",h:"1em",display:"inline-block",lineHeight:"1em",flexShrink:0,color:o,...l,...d},m={ref:t,focusable:i,className:c,__css:f},b=n??Jg.viewBox;if(r&&typeof r!="string")return A.jsx(Mt.svg,{as:r,...m,...u});const y=a??Jg.path;return A.jsx(Mt.svg,{verticalAlign:"middle",viewBox:b,...m,...u,children:y})});$a.displayName="Icon";function $F(e){return A.jsx($a,{viewBox:"0 0 24 24",...e,children:A.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.014,12.014,0,0,0,12,0Zm6.927,8.2-6.845,9.289a1.011,1.011,0,0,1-1.43.188L5.764,13.769a1,1,0,1,1,1.25-1.562l4.076,3.261,6.227-8.451A1,1,0,1,1,18.927,8.2Z"})})}function RF(e){return A.jsx($a,{viewBox:"0 0 24 24",...e,children:A.jsx("path",{fill:"currentColor",d:"M12,0A12,12,0,1,0,24,12,12.013,12.013,0,0,0,12,0Zm.25,5a1.5,1.5,0,1,1-1.5,1.5A1.5,1.5,0,0,1,12.25,5ZM14.5,18.5h-4a1,1,0,0,1,0-2h.75a.25.25,0,0,0,.25-.25v-4.5a.25.25,0,0,0-.25-.25H10.5a1,1,0,0,1,0-2h1a2,2,0,0,1,2,2v4.75a.25.25,0,0,0,.25.25h.75a1,1,0,1,1,0,2Z"})})}function ev(e){return A.jsx($a,{viewBox:"0 0 24 24",...e,children:A.jsx("path",{fill:"currentColor",d:"M11.983,0a12.206,12.206,0,0,0-8.51,3.653A11.8,11.8,0,0,0,0,12.207,11.779,11.779,0,0,0,11.8,24h.214A12.111,12.111,0,0,0,24,11.791h0A11.766,11.766,0,0,0,11.983,0ZM10.5,16.542a1.476,1.476,0,0,1,1.449-1.53h.027a1.527,1.527,0,0,1,1.523,1.47,1.475,1.475,0,0,1-1.449,1.53h-.027A1.529,1.529,0,0,1,10.5,16.542ZM11,12.5v-6a1,1,0,0,1,2,0v6a1,1,0,1,1-2,0Z"})})}var AF=S_({"0%":{transform:"rotate(0deg)"},"100%":{transform:"rotate(360deg)"}}),Wx=sn((e,t)=>{const r=kh("Spinner",e),{label:n="Loading...",thickness:o="2px",speed:i="0.45s",emptyColor:a="transparent",className:s,...l}=vh(e),u=Wo("chakra-spinner",s),c={display:"inline-block",borderColor:"currentColor",borderStyle:"solid",borderRadius:"99999px",borderWidth:o,borderBottomColor:a,borderLeftColor:a,animation:`${AF} ${i} linear infinite`,...r};return A.jsx(Mt.div,{ref:t,__css:c,className:u,...l,children:n&&A.jsx(Mt.span,{srOnly:!0,children:n})})});Wx.displayName="Spinner";var[zF,ep]=wa({name:"AlertContext",hookName:"useAlertContext",providerName:""}),[MF,tp]=wa({name:"AlertStylesContext",hookName:"useAlertStyles",providerName:""}),Ux={info:{icon:RF,colorScheme:"blue"},warning:{icon:ev,colorScheme:"orange"},success:{icon:$F,colorScheme:"green"},error:{icon:ev,colorScheme:"red"},loading:{icon:Wx,colorScheme:"blue"}};function FF(e){return Ux[e].colorScheme}function LF(e){return Ux[e].icon}var Hx=sn(function(t,r){const n=tp(),{status:o}=ep(),i={display:"inline",...n.description};return A.jsx(Mt.div,{ref:r,"data-status":o,...t,className:Wo("chakra-alert__desc",t.className),__css:i})});Hx.displayName="AlertDescription";function Kx(e){const{status:t}=ep(),r=LF(t),n=tp(),o=t==="loading"?n.spinner:n.icon;return A.jsx(Mt.span,{display:"inherit","data-status":t,...e,className:Wo("chakra-alert__icon",e.className),__css:o,children:e.children||A.jsx(r,{h:"100%",w:"100%"})})}Kx.displayName="AlertIcon";var Gx=sn(function(t,r){const n=tp(),{status:o}=ep();return A.jsx(Mt.div,{ref:r,"data-status":o,...t,className:Wo("chakra-alert__title",t.className),__css:n.title})});Gx.displayName="AlertTitle";var Yx=sn(function(t,r){var n;const{status:o="info",addRole:i=!0,...a}=vh(t),s=(n=t.colorScheme)!=null?n:FF(o),l=D4("Alert",{...t,colorScheme:s}),u={width:"100%",display:"flex",alignItems:"center",position:"relative",overflow:"hidden",...l.container};return A.jsx(zF,{value:{status:o},children:A.jsx(MF,{value:l,children:A.jsx(Mt.div,{"data-status":o,role:i?"alert":void 0,ref:r,...a,className:Wo("chakra-alert",t.className),__css:u})})})});Yx.displayName="Alert";function DF(e){return A.jsx($a,{focusable:"false","aria-hidden":!0,...e,children:A.jsx("path",{fill:"currentColor",d:"M.439,21.44a1.5,1.5,0,0,0,2.122,2.121L11.823,14.3a.25.25,0,0,1,.354,0l9.262,9.263a1.5,1.5,0,1,0,2.122-2.121L14.3,12.177a.25.25,0,0,1,0-.354l9.263-9.262A1.5,1.5,0,0,0,21.439.44L12.177,9.7a.25.25,0,0,1-.354,0L2.561.44A1.5,1.5,0,0,0,.439,2.561L9.7,11.823a.25.25,0,0,1,0,.354Z"})})}var Xx=sn(function(t,r){const n=kh("CloseButton",t),{children:o,isDisabled:i,__css:a,...s}=vh(t),l={outline:0,display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0};return A.jsx(Mt.button,{type:"button","aria-label":"Close",ref:r,disabled:i,__css:{...l,...n,...a},...s,children:o||A.jsx(DF,{width:"1em",height:"1em"})})});Xx.displayName="CloseButton";var BF={top:[],"top-left":[],"top-right":[],"bottom-left":[],bottom:[],"bottom-right":[]},ji=IF(BF);function IF(e){let t=e;const r=new Set,n=o=>{t=o(t),r.forEach(i=>i())};return{getState:()=>t,subscribe:o=>(r.add(o),()=>{n(()=>e),r.delete(o)}),removeToast:(o,i)=>{n(a=>({...a,[i]:a[i].filter(s=>s.id!=o)}))},notify:(o,i)=>{const a=jF(o,i),{position:s,id:l}=a;return n(u=>{var c,d;const m=s.includes("top")?[a,...(c=u[s])!=null?c:[]]:[...(d=u[s])!=null?d:[],a];return{...u,[s]:m}}),l},update:(o,i)=>{o&&n(a=>{const s={...a},{position:l,index:u}=W0(s,o);return l&&u!==-1&&(s[l][u]={...s[l][u],...i,message:VF(i)}),s})},closeAll:({positions:o}={})=>{n(i=>(o??["bottom","bottom-right","bottom-left","top","top-left","top-right"]).reduce((l,u)=>(l[u]=i[u].map(c=>({...c,requestClose:!0})),l),{...i}))},close:o=>{n(i=>{const a=xb(i,o);return a?{...i,[a]:i[a].map(s=>s.id==o?{...s,requestClose:!0}:s)}:i})},isActive:o=>!!W0(ji.getState(),o).position}}var tv=0;function jF(e,t={}){var r,n;tv+=1;const o=(r=t.id)!=null?r:tv,i=(n=t.position)!=null?n:"bottom";return{id:o,message:e,position:i,duration:t.duration,onCloseComplete:t.onCloseComplete,onRequestRemove:()=>ji.removeToast(String(o),i),status:t.status,requestClose:!1,containerStyle:t.containerStyle}}var OF=e=>{const{status:t,variant:r="solid",id:n,title:o,isClosable:i,onClose:a,description:s,colorScheme:l,icon:u}=e,c=n?{root:`toast-${n}`,title:`toast-${n}-title`,description:`toast-${n}-description`}:void 0;return A.jsxs(Yx,{addRole:!1,status:t,variant:r,id:c==null?void 0:c.root,alignItems:"start",borderRadius:"md",boxShadow:"lg",paddingEnd:8,textAlign:"start",width:"auto",colorScheme:l,children:[A.jsx(Kx,{children:u}),A.jsxs(Mt.div,{flex:"1",maxWidth:"100%",children:[o&&A.jsx(Gx,{id:c==null?void 0:c.title,children:o}),s&&A.jsx(Hx,{id:c==null?void 0:c.description,display:"block",children:s})]}),i&&A.jsx(Xx,{size:"sm",onClick:a,position:"absolute",insetEnd:1,top:1})]})};function VF(e={}){const{render:t,toastComponent:r=OF}=e;return o=>typeof t=="function"?t({...o,...e}):A.jsx(r,{...o,...e})}var[NF,yL]=wa({name:"ToastOptionsContext",strict:!1}),WF=e=>{const t=k.useSyncExternalStore(ji.subscribe,ji.getState,ji.getState),{motionVariants:r,component:n=Nx,portalProps:o}=e,a=Object.keys(t).map(s=>{const l=t[s];return A.jsx("div",{role:"region","aria-live":"polite","aria-label":`Notifications-${s}`,id:`chakra-toast-manager-${s}`,style:iA(s),children:A.jsx(PF,{initial:!1,children:l.map(u=>A.jsx(n,{motionVariants:r,...u},u.id))})},s)});return A.jsx(lu,{...o,children:a})},UF=e=>function({children:r,theme:n=e,toastOptions:o,...i}){return A.jsxs(rA,{theme:n,...i,children:[A.jsx(NF,{value:o==null?void 0:o.defaultOptions,children:r}),A.jsx(WF,{...o})]})},HF=UF(fb),Qx=Object.freeze(["base","sm","md","lg","xl","2xl"]);function bL(e,t){return Array.isArray(e)?e.map(r=>r===null?null:t(r)):ot(e)?Object.keys(e).reduce((r,n)=>(r[n]=t(e[n]),r),{}):e!=null?t(e):null}function KF(e,t=Qx){const r={};return e.forEach((n,o)=>{const i=t[o];n!=null&&(r[i]=n)}),r}var Io=Mt("div");Io.displayName="Box";var qx=sn(function(t,r){const{size:n,centerContent:o=!0,...i}=t,a=o?{display:"flex",alignItems:"center",justifyContent:"center"}:{};return A.jsx(Io,{ref:r,boxSize:n,__css:{...a,flexShrink:0,flexGrow:0},...i})});qx.displayName="Square";var GF=sn(function(t,r){const{size:n,...o}=t;return A.jsx(qx,{size:n,ref:r,borderRadius:"9999px",...o})});GF.displayName="Circle";function YF(e,t={}){const{ssr:r=!0,fallback:n}=t,{getWindow:o}=tA(),i=Array.isArray(e)?e:[e];let a=Array.isArray(n)?n:[n];a=a.filter(u=>u!=null);const[s,l]=k.useState(()=>i.map((u,c)=>({media:u,matches:r?!!a[c]:o().matchMedia(u).matches})));return k.useEffect(()=>{const u=o();l(i.map(f=>({media:f,matches:u.matchMedia(f).matches})));const c=i.map(f=>u.matchMedia(f)),d=f=>{l(m=>m.slice().map(b=>b.media===f.media?{...b,matches:f.matches}:b))};return c.forEach(f=>{typeof f.addListener=="function"?f.addListener(d):f.addEventListener("change",d)}),()=>{c.forEach(f=>{typeof f.removeListener=="function"?f.removeListener(d):f.removeEventListener("change",d)})}},[o]),s.map(u=>u.matches)}function XF(e,t,r=Qx){let n=Object.keys(e).indexOf(t);if(n!==-1)return e[t];let o=r.indexOf(t);for(;o>=0;){const i=r[o];if(e.hasOwnProperty(i)){n=o;break}o-=1}if(n!==-1){const i=r[n];return e[i]}}function QF(e){var t,r;const n=ot(e)?e:{fallback:e??"base"},i=dh().__breakpoints.details.map(({minMaxQuery:u,breakpoint:c})=>({breakpoint:c,query:u.replace("@media screen and ","")})),a=i.map(u=>u.breakpoint===n.fallback),l=YF(i.map(u=>u.query),{fallback:a,ssr:n.ssr}).findIndex(u=>u==!0);return(r=(t=i[l])==null?void 0:t.breakpoint)!=null?r:n.fallback}function qF(e,t){var r;const n=ot(t)?t:{fallback:t??"base"},o=QF(n),i=dh();if(!o)return;const a=Array.from(((r=i.__breakpoints)==null?void 0:r.keys)||[]),s=Array.isArray(e)?Object.fromEntries(Object.entries(KF(e,a)).map(([l,u])=>[l,u])):e;return XF(s,o,a)}const ZF="_loader_5u458_1",JF="_rotation_5u458_1",eL={loader:ZF,rotation:JF},tL=()=>A.jsx(Io,{width:"100px",pt:"calc(100vh / 3)",m:"auto",children:A.jsx("span",{className:eL.loader})}),kt="rgba(239, 57, 89, 0.4)",He="rgba(74, 134, 255, 0.4)",rL=()=>{const n=qF({base:[{color:kt,top:"618px",right:"60px"},{color:kt,top:"1486",left:"3px"},{color:kt,top:"2919px",left:"3px"},{color:kt,down:"0",right:"64px"},{color:He,top:0,left:0},{color:He,top:"618px",left:"42px"},{color:He,top:"2100px",right:0},{color:He,down:"1168px",right:0},{color:He,down:"48px",left:"57px"}],md:[{color:kt,top:"658px",right:"65px"},{color:kt,top:"1158px",left:"156px"},{color:kt,top:"2870px",left:"123px"},{color:kt,down:"0",right:"0"},{color:He,top:0,left:0},{color:He,top:"584px",right:"560px"},{color:He,top:"1873px",left:"14px"},{color:He,down:"1028px",right:"146px"},{color:He,down:"60px",left:"190px"}],lg:[{color:kt,top:"718px",right:"138px"},{color:kt,down:"0",right:"32px"},{color:kt,top:"1597px",left:"145px"},{color:kt,top:"3029px",left:"145px"},{color:He,top:0,left:0},{color:He,top:"492px",right:"578px"},{color:He,top:"2300px",left:0},{color:He,down:"27px",left:"213px"},{color:He,down:"1229px",right:"327px"}]});return A.jsx(Io,{position:"absolute",top:{base:"50px",md:"-257px",lg:"-44px"},left:{base:"-112px",md:"-320px",lg:"-342px"},maxWidth:{base:"611px",md:"1682px",lg:"2143px"},height:{base:"5398px",md:"5762px",lg:"6271px"},mx:"auto",zIndex:-1,children:n==null?void 0:n.map((o,i)=>A.jsx(Io,{position:"absolute",top:o.top,left:o.left,right:o.right,bottom:o.down,width:{base:"200px",md:"500px"},height:{base:"200px",md:"500px"},borderRadius:"50%",filter:{base:"blur(80px)",md:"blur(150px)",lg:"blur(200px)"},backgroundColor:o.color},i))})},nL=k.lazy(()=>IC(()=>import("./LandingPage-DlUn22BL.js").then(e=>e.f),__vite__mapDeps([]))),oL=()=>A.jsxs(S2,{children:[A.jsx(Ad,{path:"/",element:A.jsx(k.Suspense,{fallback:A.jsx(tL,{}),children:A.jsxs(Io,{maxW:{base:"375px",md:"1024px",lg:"1440px"},position:"relative",minHeight:"100vh",mx:"auto",children:[A.jsx(rL,{}),A.jsx(nL,{})]})})}),A.jsx(Ad,{path:"*",element:A.jsx("p",{children:" 404 Page not found... "})})]}),iL={baseStyle:{margin:"0 auto","@media screen and (max-width: 1023px)":{maxWidth:"375px",minWidth:"300px",paddingX:"14px"},"@media screen and (min-width: 1024px)":{maxWidth:"1024px",paddingX:"32px"},"@media screen and (min-width: 1440px)":{maxWidth:"1440px",paddingX:"40px"}}},aL={baseStyle:{textAlign:"center",fontWeight:"normal",lineHeight:1.5,bgColor:"transparent"},variants:{primary:{fontSize:{base:"28px",sm:"30px",md:"36px"},width:"160px",color:"white",bgColor:"custom.red",boxShadow:"0 0 40px 0 #EF395966",borderRadius:"25px 25px 25px 0",borderWidth:"none",borderColor:"transparent",transition:"all 200ms linear",_hover:{color:"custom.red",boxShadow:"none",bgColor:"transparent",borderWidth:{base:"4px"},borderColor:"custom.red"}},secondary:{width:{base:"327px",md:"442px"},height:{base:"80px",md:"102px"},color:"custom.red",fontSize:{base:"20px",sm:"32px",md:"36px"},fontWeight:{md:"600"},lineHeight:{base:1.6,md:1.2},borderRadius:"25px 25px 25px 0",border:"3px solid transparent",background:"custom.borderGradient",backgroundOrigin:"border-box",backgroundClip:"content-box, border-box",transition:"all 200ms linear",_hover:{borderWidth:{base:"6px",md:"7px"}}},help:{fontSize:{base:"15px",sm:"20px",md:"24px"},fontWeight:{base:400,lg:600},width:{base:"160px",md:"213px"},height:{base:"60px",md:"76px"},color:"white",bgColor:"custom.red",boxShadow:"0 0 40px 0 #EF395966",borderRadius:{base:"15px",md:"25px"},borderWidth:"none",borderColor:"transparent",transition:"all 200ms linear",_hover:{color:"custom.red",boxShadow:"none",bgColor:"transparent",borderWidth:{base:"2px",md:"4px"},borderColor:"custom.red"}}},defaultProps:{size:"",colorSchema:""}},sL={baseStyle:{display:"block",fontWeight:"inherit",_hover:{textDecoration:"none"}},variants:{contactLink:{fontWeight:"500",fontSize:"16px",color:"red","@media screen and (min-width: 1024px)":{fontSize:"24px"},"@media screen and (min-width: 1440px)":{fontWeight:"700",fontSize:"30px"}}}},lL={baseStyle:{lineHeight:1.3,fontWeight:"semibold",fontSize:"32px"},sizes:{},variants:{sectionHeading:{textAlign:"center","@media screen and (min-width: 1024px)":{fontWeight:"extrabold",fontSize:"56px"},"@media screen and (min-width: 1440px)":{fontWeight:"bold"}},subTitle:{textAlign:"center",color:"custom.blue","@media screen and (min-width: 1024px)":{textAlign:"start"},"@media screen and (min-width: 1440px)":{fontWeight:"bold",fontSize:"40px"}}},defaultProps:{baseStyle:"",size:""}},uL={baseStyle:{color:"custom.blackTypography"},variants:{contactText:{color:"custom.blue"}}},cL=C4({fonts:{body:"Montserrat, sans-serif",heading:"Montserrat, sans-serif"},breakpoints:{base:"0em",sm:"23.4em",md:"64em",xl:"90em",lg:"90em"},styles:{global:{"@media (prefers-reduced-motion: no-preference)":{":root":{scrollBehavior:"smooth"}},a:{textDecoration:"none"},body:{bg:"white",color:"custom.darkBlue",fontFamily:"body",fontWeight:"medium",lineHeight:"1.5"}}},colors:{custom:{white:"#F5F5F5",blue:"#4A86FF",red:"#EF3959",darkBlue:"#202053",blackTypography:"#404040",borderGradient:` linear-gradient(to right, white, white), linear-gradient(94deg, #4a86ff, #f5f5f5 , #ef3959) `}},components:{Container:iL,Button:aL,Link:sL,Heading:lL,Text:uL,Select:{defaultProps:{variants:""}}}});Dc.createRoot(document.getElementById("root")).render(A.jsx(To.StrictMode,{children:A.jsx(C2,{basename:"/animal-shelter/",children:A.jsx(HF,{theme:cL,children:A.jsx(oL,{})})})}));export{PF as A,Io as B,$a as I,lu as P,To as R,Wx as S,ml as _,Mt as a,wa as b,Wo as c,kh as d,dL as e,sn as f,D4 as g,fL as h,hL as i,A as j,mL as k,bL as l,bF as m,x6 as n,vh as o,dh as p,pL as q,k as r,qF as s,IC as t,sa as u,tL as v}; diff --git a/index.html b/index.html index 92a9f59..af211bb 100644 --- a/index.html +++ b/index.html @@ -40,7 +40,7 @@ ХАТИНА - притулок для тварин - +