1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,852901,132965,93607,e=>{"use strict";var t=e.i(326242),a=e.i(140146),l=e.i(297428),i=e.i(264458),n=e.i(427002),r=e.i(946903),s=e.i(504518),o=e.i(416791),u=e.i(570973),c=e.i(658528),d=e.i(873534),p=e.i(612547),m=e.i(645427),g=e.i(141152),f=e.i(891083),h=e.i(400),y=e.i(850440);e.i(659021);var v=e.i(407776);e.s(["AuthQueries",()=>v.default],132965);var v=v;let b=()=>{let[e]=(0,a.useMutation)(v.default.authWithEmail);return{sendAuthEmail:async({email:t,redirectPath:a,onSuccess:l,onError:i})=>{try{let i=t.trim().toLowerCase(),n=await e({variables:{email:i,host:window.location.origin+"/",path:window.location.pathname,...a&&{redirect:a.startsWith("/")?a:`/${a}`}}});return l?.(n?.data?.loginWithEmail),n?.data?.loginWithEmail}catch(e){console.error("Auth email error:",e),i?.(e)}}}};e.s(["useSendAuthEmail",0,b],93607);var v=v,x=e.i(518367),w=e.i(582788),S=e.i(552307);let C=({onSuccess:e,initialEmail:a,redirectPath:l,initialAuthError:n})=>{let{register:r,handleSubmit:u,formState:{errors:c}}
1=(0,o.useForm)(),[d,p]=(0,s.useState)(n),[f,h]=(0,s.useState)(!1),{sendAuthEmail:y}=b(),v=async t=>{p(""),h(!0),await y({email:t,redirectPath:l,onSuccess:a=>{e(t,a?.csrf||"")},onError:e=>{"Response not successful: Received status code 429"===e.message?(p("Too many requests, please try again later."),(0,m.logApolloError)(e,"Rate limit exceeded")):e.message.includes("500")?(p("Server error. Please try again later."),(0,m.logApolloError)(e,"Server error")):(p(e.message||"An error occurred"),(0,m.logApolloError)(e))}}),h(!1)},x=u(e=>{v(e.email.trim())});return(0,t.jsxs)("form",{className:"w-full",onSubmit:x,children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("input",{autoComplete:"email",className:(0,i.default)(` 2 h-16 px-5 text-sm lg:text-base border-2 rounded focus:ring-0 transition ${c.email||d?"border-red-300 focus:border-red-600":"border-black-200 focus:border-black"} w-full 3 `),placeholder:"[email protected]",type:"email",...r("email",{required:"Please enter your email address",pattern:{value:/\S+@\S+\.\S+/,message:"Please enter a valid email address"}}),defaultValue:a}),c.email&&(0,t.jsx)("p",{className:"mt-1 text-left text-red-500",children:c.email.message}),d&&(0,t.jsx)("p",{className:"mt-1 text-left text-red-500",children:d})]}),(0,t.jsx)(g.default,{className:"mt-6",fullWidth:!0,loading:f,type:"submit",children:f?"Sending...":"Continue"})]})},k=({email:e,csrf:a,redirectPath:l,onSuccess:i})=>{let[n,r]=(0,s.useState)(""),[o,u]=(0,s.useState)(0),[c,d]=(0,s.useState)(!1),[p,g]=(0,s.useState)(!1),[f,h]=(0,s.useState)(""),[y,x]=(0,s.useState)(0),w=(0,s.useRef)(null),{sendAuthEmail:S}=b();(0,s.useEffect)(()=>{w.current?.focus()},[]);let C=e=>{setTimeout(()=>{w.current?.setSelectionRange(e,e)},0)},k=async t=>{if(!c&&e&&a){d(!0),h("");try{let l=await m.default.mutate({mutation:v.default.authWithOtp,variables:{email:e,code:t,csrf:a}}),n=l.data?.loginWithOtp;if(!(n&&n.success)){h("Invalid one-time code"),d(!1);return}i()}catch(e){d(!1),h(e.message||"An error occurred")}}},E=async()=>{if(!p&&!(y>0)){g(!0);try{await S({email:e,redirectPath:l}),x(60);let t=setInterval(()=>{x(e=>e<=1?(clearInterval(t),0):e-1)},1e3)}catch(e){console.error(e)}finally{g(!1)}}};return(0,t.jsxs)("div",{className:"max-w-sm mt-8 mx-auto",children:[(0,t.jsxs)("div",{className:"relative",children:[(0,t.jsx)("input",{autoCapitalize:"off",autoComplete:"one-time-code",autoCorrect:"off",className:"absolute opacity-0 pointer-events-none",disabled:!(e&&a)||c,inputMode:"numeric",maxLength:6,onChange:e=>{let t=e.target.value.replace(/[^0-9]/g,"").substring(0,6);r(t),u(Math.min(t.length,5)),6===t.length&&k(t)},onKeyDown:e=>{if("Backspace"===e.key){if(e.preventDefault(),n[o])r(n.substring(0,o)+n.substring(o+1));else if(o>0){let e=o-1;r(n.substring(0,e)+n.substring(e+1)),u(e),C(e)}}
3else/^[0-9]$/.test(e.key)&&(e=>{if(!n[o])return!1;let t=n.substring(0,o)+e+n.substring(o+1);r(t);let a=Math.min(o+1,5);return u(a),C(a),6===t.length&&k(t),!0})(e.key)&&e.preventDefault()},onPaste:e=>{e.preventDefault();let t=e.clipboardData.getData("Text").replace(/[^0-9]/g,"").substring(0,6);r(t),6===t.length&&k(t)},ref:w,type:"text",value:n}),(0,t.jsx)("div",{className:"flex my-4 mt-8",onClick:()=>w.current?.focus(),children:Array.from({length:6},(e,a)=>{let l=o===a,i=!!f,r=n[a]||"";return(0,t.jsx)("div",{className:`h-16 w-12 border-2 mx-auto rounded-lg flex items-center justify-center font-thin text-3xl cursor-text ${i?"border-red-600":"border-gray-300"} ${l?"ring-2 ring-blue-500":""}`,onClick:()=>{w.current?.focus(),u(a),C(a)},children:r},`otp-digit-${a}`)})})]}),(0,t.jsxs)("div",{className:"flex justify-between",children:[(0,t.jsx)("button",{className:"text-center text-sm text-blue-600 underline hover:text-blue disabled:hover:text-black-500 disabled:text-black-500",disabled:y>0||p,onClick:E,children:p?"Sending...":`Click ${y>0?`in ${y}s`:""} to resend PIN`}),c&&(0,t.jsx)("div",{className:"text-center text-sm",children:"Logging in..."}),f&&(0,t.jsx)("div",{className:"text-center text-red-600 text-sm",children:f})]})]})},E=({onSuccess:e,userData:l})=>{let{register:i,handleSubmit:n,formState:{errors:r}}=(0,o.useForm)({defaultValues:{firstName:l?.firstName||"",lastName:l?.lastName||"",cityId:{value:l?.cityId||void 0,country:{name:l?.countryName||void 0}}}}),[u,c]=(0,s.useState)(""),[d,{loading:p,error:m}]=(0,a.useMutation)(x.UserQueries.updateUserSelf),f=async t=>{c("");try{await d({variables:{input:{firstName:t.firstName.trim(),lastName:t.lastName.trim(),cityId:t.cityId.value,countryName:t.cityId.country.name}}}),e()}catch(e){c(e.message||"Failed to update profile")}};return(0,t.jsxs)("form",{className:"w-full space-y-4 grid gap-2",onSubmit:n(f),children:[(0,t.jsxs)("div",{className:"grid gap-2",children:[(0,t.jsx)("h4",{className:"text-xl",children:"Welcome to ETHGlobal!"}),(0,t.jsx)("p",{className:"text-md text-black-500",children:"Provide some details to complete your registration."})]}),(0,t.jsxs)("div",{className:"flex gap-4 w-full",children:[(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)(h.Input,{autoComplete:"given-name",defaultValue:l?.firstName,error:r.firstName?.message,label:"First name",placeholder:"Vitalik",register:i("firstName",{required:"Please enter your first name"})})}),(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)(h.Input,{autoComplete:"family-name",defaultValue:l?.lastName,error:r.lastName?.message,label:"Last name",placeholder:"Buterin",register:i("lastName",{required:"Please enter your last name"})})})]}),(0,t.jsx)(y.CityInput,{defaultValue:l?.cityId,error:r.cityId,label:"Which city do you currently reside in?",register:i,validation:{required:"Please enter your city"}}),u&&(0,t.jsx)("p",{className:"mt-1 text-left text-red-500",children:u}),m&&(0,t.jsx)("p",{className:"mt-1 text-left text-red-500",children:m.message}),(0,t.jsx)(g.default,{className:"mt-6",fullWidth:!0,loading:p,type:"submit",children:"Continue"})]})},j=({slides:e})=>(0,t.jsx)(p.Swiper,{autoplay:{delay:5e3,disableOnInteraction:!1},centeredSlides:!0,className:"w-full h-full rounded-lg !overflow-hidden shadow-md ![&_.swiper-pagination]:bottom-8 bg-black/10",modules:[u.Autoplay,d.Pagination,c.Navigation],navigation:!1,pagination:{type:"bullets",clickable:!0,bulletClass:"swiper-pagination-bullet !bg-white mix-blend-difference !w-8 !h-1.5 !my-2.5 !rounded-lg transition-all",bulletActiveClass:"swiper-pagination-bullet-active !w-9 shadow-md !opacity-95"},spaceBetween:0,children:e.map((a,l)=>(0,t.jsx)(p.SwiperSlide,{className:(0,S.cn)("h-full",e.length>1&&"cursor-ew-resize"),children:(0,t.jsxs)("div",{className:"relative w-full h-full",style:{backgroundColor:a.backgroundColor||"#1a1a1a"},children:[a.backgroundImage&&(0,t.jsxs)("div",{className:"absolute inset-0",children:[(0,t.jsx)(n.default,{alt:a.backgroundImage.alt,fill:!0,priority:0===l,src:a.backgroundImage.url,style:{objectFit:"cover"}}),(0,t.jsx)("div",{className:"absolute inset-0 bg-gradient-to-t from-black/80 to-transparent"})]}),(0,t.jsxs)("div",{className:(0,S.cn)("relative z-10 h-full grid justify-center content-end p-8 pb-14",1===e.length&&"sm:pb-8"),children:[a.image&&(0,t.jsx)("div",{className:"max-w-4/5 flex justify-center mb-8",children:(0,t.jsx)(n.default,{alt:a.image.alt,height:0,priority:0===l,src:a.image.url,style:{maxWidth:"100%",width:"auto",height:"auto",maxHeight:"20rem",objectFit:"contain",borderRadius:"0.5rem",boxShadow:"0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06)"},width:400})}),(0,t.jsxs)("div",{className:"text-center text-white",children:[(0,t.jsx)("h3",{className:"text-2xl font-bold mb-2",children:a.title}),(0,t.jsx)("p",{className:"text-white/80",children:a.description})]})]})]})},l))}),$=({children:e})=>(0,t.jsx)("aside",{className:"w-full h-full min-h-full p-3 sm:p-4 md:p-6 bg-black-50 rounded-xl md:rounded-l-3xl md:rounded-r-none",children:e}),N=({event:e})=>(0,t.jsx)($,{children:(0,t.jsx)(j,{slides:[{title:`Register for ${e.name||"our event"}`,description:e.description||(e.city&&e.type&&e.startTime?`Join our upcoming ${e.type} in ${e.city.name} on ${(0,l.formatDateOnly)(e.startTime,"MMMM d")}`:"Join this exciting ETHGlobal event"),image:e.logo?.fullUrl||e.logo?.path||e.squareLogo?.fullUrl?{url:e.logo?.fullUrl||e.squareLogo?.fullUrl||e.squareLogoFullUrl||"",alt:`${e.name||"Event"} logo`}:void 0,backgroundImage:{url:e.style?.sections?.hero?.styles?.background?.replace(/^url\((.*)\).*$/,"$1")||e.style?.sections?.hero?.background||e.banner?.fullUrl||"/images/about/full.jpg",alt:`${e.name||"Event"} banner`},backgroundColor:e.style?.sections?.hero?.styles?.backgroundColor||"#1a1a1a"}]})}),L=({pack:e})=>(0,t.jsx)($,{children:(0,t.jsx)(j,{slides:[{title:"plus"===e.slug?`Discover ${e.name}`:`Access your ${e.name}`,description:e.description||"Get exclusive access to perks and benefits with this ETHGlobal pack",image:{url:e.logo?.fullUrl||e.image||"/images/about/full.jpg",alt:`${e.name||"Pack"} logo`},backgroundColor:"#2b2b2b"}]})}),q=()=>(0,t.jsx)($,{children:(0,t.jsx)(j,{slides:[{title:"Join the global community",description:"Connect with builders from around the world",backgroundImage:{url:"/images/about/full.jpg",alt:"ETHGlobal community"}},{title:"Meet industry leaders",description:"Connect with the brightest minds in web3",backgroundImage:{url:"/images/about/vitalik.jpg",alt:"
3Vitalik at ETHGlobal"}}]})});e.s(["OtpForm",0,k,"default",0,({magicLinkSignature:e,magicLinkRedirectPath:l,redirectPath:i,email:n,data:o={}})=>{let u=(0,r.useRouter)(),[c,d]=(0,s.useState)(!0),[p,h]=(0,s.useState)("email"),[y,b]=(0,s.useState)(n||""),[S,j]=(0,s.useState)(""),[$,F]=(0,s.useState)(""),[I,A]=(0,s.useState)({}),[M,R]=(0,s.useState)(),[P,{data:T,loading:O,error:U}]=(0,a.useMutation)(v.default.authWithJwt),B=(0,s.useCallback)(()=>{h("complete"),l?u.push(decodeURI(l)):i?u.push(i):u.push("/home")},[l,i,u]),D=(0,s.useCallback)(async()=>{F("");try{let e=await m.default.query({query:x.UserQueries.getUserSelfBasicInfo,fetchPolicy:"network-only"}),t=e.data?.getUserSelf,a=t.firstName===t?.email,l=!t.lastName?.trim(),i=!t.city?.id;A({firstName:!a&&t.firstName||void 0,lastName:t.lastName??void 0,cityId:t.city?.id??void 0,countryName:t.city?.country.name??void 0}),a||l||i?h("new-user"):B()}catch(e){console.error("Error fetching user profile:",e),F("Unable to retrieve your profile. Please try again.")}},[B]),W=async()=>{h("checking-new-user"),await D()};return((0,s.useEffect)(()=>{(async()=>{if(e){if(!(T||O||U))try{await P({variables:{token:e}})}catch(e){d(!1),R("Your magic link expired, please login again."),h("email")}}else d(!1),h("email");T&&(await D(),d(!1))})()},[e,T,O,U,P,u,D]),c)?(0,t.jsx)(f.default,{}):(0,t.jsxs)("main",{className:"w-full max-w-6xl mx-auto flex flex-col md:flex-row rounded-4xl shadow-lg border border-black-100 overflow-hidden bg-white/50 backdrop-blur-sm",children:[(0,t.jsxs)("div",{className:"w-full md:w-1/2 px-4 py-8 flex flex-col items-center justify-center order-1 md:order-2 z-20 relative",children:["email"===p&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(w.default,{className:"w-16 mx-auto"}),(0,t.jsxs)("div",{className:"w-full max-w-md mx-auto",children:[(0,t.jsx)("h1",{className:"mt-4 text-xl sm:mt-6 sm:text-3xl text-center",children:"Let's build something amazing"}),(0,t.jsxs)("p",{className:"mt-2 text-md text-black-500 font-medium sm:mt-4 sm:text-lg text-center",children:["Enter your email below to receive a magic sign-in link.",(0,t.jsx)("wbr",{}),"We recommend using a personal email for continuity."]}),(0,t.jsx)("div",{className:"mt-4 w-full sm:mt-8",children:(0,t.jsx)(C,{initialAuthError:M,initialEmail:n,onSuccess:(e,t)=>{b(e),j(t),h("otp")},redirectPath:i})})]})]}),"otp"===p&&(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(w.default,{className:"w-16 mx-auto"}),(0,t.jsxs)("div",{className:"w-full max-w-sm mx-auto z-20",children:[(0,t.jsx)("h4",{className:"mt-6 text-xl text-center",children:"Check your email"}),(0,t.jsxs)("p",{className:"mt-4 text-md text-black-500 font-medium leading-7 text-center",children:["We've emailed a one-time code and magic link to",(0,t.jsx)("br",{}),(0,t.jsx)("span",{className:"text-black font-semibold",children:y}),(0,t.jsx)("br",{}),"Please enter the code below or click the link in the email."]}),(0,t.jsx)(k,{csrf:S,email:y,onSuccess:W,redirectPath:i})]})]}),"checking-new-user"===p&&(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center py-8 z-20",children:[(0,t.jsx)(f.default,{fullScreen:!1}),(0,t.jsx)("p",{className:"mt-4",children:"Loading..."}),$&&(0,t.jsxs)("div",{className:"mt-4 text-center",children:[(0,t.jsx)("p",{className:"text-red-500 mb-2",children:$}),(0,t.jsx)(g.default,{onClick:W,size:"small",children:"Try Again"})]})]}),"new-user"===p&&(0,t.jsx)("div",{className:"w-full max-w-sm mx-auto z-20",children:(0,t.jsx)(E,{onSuccess:B,userData:I})}),"complete"===p&&(0,t.jsxs)("div",{className:"flex flex-col items-center justify-center py-8 z-20",children:[(0,t.jsx)(f.default,{fullScreen:!1}),"Logged in. Taking you home... ð"]})]}),(0,t.jsx)("div",{className:"w-full md:w-1/2 sm:min-h-[36rem] md:max-h-[90dvh] order-2 md:order-1 overflow-hidden sticky top-0",children:o.event?(0,t.jsx)(N,{event:o.event}):o.pack?(0,t.jsx)(L,{pack:o.pack}):(0,t.jsx)(q,{})})]})}],852901)},753912,e=>{"use strict";var t=e.i(326242),a=e.i(264458);e.s(["default",0,function({className:e,children:l,color:i="green",roundedFull:n,small:r}){return(0,t.jsx)("div",{className:(0,a.default)(`inline-flex overflow font-semibold items-center space-x-2 uppercase py-1 bg-${i}-300 text-xs border-black ${r?"px-2":"px-3 border-2"} ${n?"rounded-full":"rounded-sm"}`,e),children:l})}])},141152,e=>{"use strict";var t=e.i(326242),a=e.i(264458),l=e.i(753912);e.s(["default",0,function({className:e,children:i,color:n="black",fullWidth:r,pill:s,size:o="regular",type:u,target:c,href:d,onClick:p,badge:m,disabled:g,loading:f,style:h}){let y="bg-black text-white border-black hover:opacity-90";return("black-line"===n?y="bg-transparent text-black hover:border-black":"white"===n?y="bg-white text-black border-black hover:opacity-90":"green"===n?y="bg-green-450 text-white border-green-450 hover:opacity-90":"purple"===n?y="bg-purple text-white border-purple hover:opacity-90":"red"===n?y="bg-red-600 border-red-600 text-white hover:opacity-90":"discord"===n?y="bg-discord text-white border-discord hover:opacity-90":"transparent-white"===n?y="bg-transparent text-white border-transparent hover:opacity-90":"white-line"===n&&(y="bg-transparent text-white border-white border-opacity-10 hover:bg-white hover:text-black hover:border-white"),u)?(0,t.jsxs)("button",{className:(0,a.default)("relative flex items-center justify-center appearance-none cursor-pointer text-center border-2 font-semibold transition duration-200 disabled:opacity-70 disabled:pointer-events-none disabled:cursor-not-allowed disabled:select-none",y,r&&"w-full h-16",s?"rounded-full":"rounded","regular"===o?"px-4 py-3 text-lg":"px-4 py-1.5",e),disabled:!0===g||!0===f,onClick:p,style:h,type:u,children:[i,m&&(0,t.jsx)(l.default,{className:"absolute top-0 right-0 translate-x-1/2 -translate-y-1/2 bg-black text-white px-2.5 py-0.5 tracking-wide",roundedFull:!0,children:m}),f&&(0,t.jsxs)("svg",{className:"animate-spin ml-3 h-5 w-5",fill:"none",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:[(0,t.jsx)("circle",{className:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor",strokeWidth:"4"}),(0,t.jsx)("path",{className:"opacity-75",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z",fill:"
3currentColor"})]})]}):d?(0,t.jsxs)("a",{className:(0,a.default)("relative inline-flex items-center justify-center cursor-pointer text-center border-2 font-semibold transition-colors duration-200",y,r?"w-full":"inline-block",s?"rounded-full":"rounded","regular"===o?"px-4 py-3 text-lg":"px-4 py-1.5",e),href:d,onClick:p,rel:"noopener noreferrer",style:h,target:c,children:[i,m&&(0,t.jsx)(l.default,{className:"absolute top-0 right-0 translate-x-1/2 -translate-y-1/2 bg-black text-white px-2.5 py-0.5 tracking-wide",roundedFull:!0,children:m})]}):(0,t.jsxs)("span",{className:(0,a.default)("relative cursor-pointer text-center border-2 font-semibold transition-colors duration-200",y,r?"block":"inline-block",s?"rounded-full":"rounded","regular"===o?"px-4 py-3 text-lg":"px-4 py-1.5",e),onClick:p,style:h,children:[i,m&&(0,t.jsx)(l.default,{className:"absolute top-0 right-0 translate-x-1/2 -translate-y-1/2 bg-black text-white px-2.5 py-0.5 tracking-wide",roundedFull:!0,children:m})]})}])},891083,e=>{"use strict";var t=e.i(326242),a=e.i(954785);e.s(["default",0,function({fullScreen:e=!0}){return(0,t.jsx)("div",{className:`w-full ${e?"h-screen":"h-full"} flex justify-center items-center`,children:(0,t.jsx)(a.default,{className:"animate-bounce h-24 2xl:h-32"})})}])},276021,e=>{"use strict";var t=e.i(899024);let a=` 4 id 5 uuid 6 slug 7 name 8 tagline 9 order 10 category 11 continuity 12 sourceCodeUrl 13 url 14 videoQuality 15 projectQuality 16 submissionQuality 17 presentationQuality 18 codeVerified 19 codeComments 20 demoVerified 21 demoComments 22 judgingScreeningStatus 23 team { 24 members { 25 user { 26 name 27 id 28 country { 29 code 30 name 31 } 32 } 33 } 34 } 35 ratings { 36 id 37 technicality 38 practicality 39 originality 40 design 41 wowFactor 42 presentationQuality 43 demoQuality 44 unclear 45 notes 46 missing 47 highlight 48 flag 49 } 50 repositories { 51 id 52 githubId 53 category 54 primary 55 url 56 } 57 primaryRepository { 58 uuid 59 url 60 } 61 timer 62 useOfAI 63`,l={getJudgeSelfByEventSlug:t.gql` 64 query getJudgeSelfByEventSlug($eventSlug: String!) { 65 getJudgeSelfByEventSlug(eventSlug: $eventSlug) { 66 id 67 appointment { 68 id 69 name 70 type 71 uuid 72 slug 73 projects { 74 ${a} 75 } 76 volunteers { 77 id 78 type 79 status 80 role 81 user { 82 id 83 firstName 84 lastName 85 name 86 } 87 } 88 judges { 89 id 90 status 91 user { 92 id 93 firstName 94 lastName 95 name 96 } 97 } 98 } 99 meeting { 100 url 101 } 102 } 103 } 104 `,getJudgeProjects:t.gql` 105 query getJudgeSelfByEventSlug($eventSlug: String!) { 106 getJudgeSelfByEventSlug(eventSlug: $eventSlug) { 107 id 108 appointment { 109 id 110 type 111 projects { 112 ${a} 113 } 114 } 115 } 116 } 117 `,updateProjectForScreening:t.gql` 118 mutation updateProjectForScreening( 119 $uuid: String! 120 $input: ProjectUpdateForScreeningInput! 121 ) { 122 updateProjectForScreening(uuid: $uuid, input: $input) { 123 id 124 uuid 125 slug 126 videoQuality 127 projectQuality 128 submissionQuality 129 presentationQuality 130 codeVerified 131 codeComments 132 demoVerified 133 demoComments 134 judgingScreeningStatus 135 } 136 } 137 `,checkProjectRepositoriesForGithubRules:t.gql` 138 mutation checkProjectRepositoriesForGithubRules($projectUuid: String!) { 139 checkProjectRepositoriesForGithubRules(projectUuid: $projectUuid) { 140 repo { 141 primary 142 url 143 } 144 allChecksPassed 145 checkedAt 146 repoCreatedAt 147 firstCommitDate 148 lastCommitDate 149 commitAuthorUsernames 150 isFork 151 maxLinesChangedPerCommit 152 numberOfCommits 153 flaggedCommitUrls 154 hasError 155 flags { 156 tooFewCommits 157 tooManyLinesChangedPerCommit 158 firstCommitTooOld 159 lastCommitTooRecent 160 tooManyCommitAuthors 161 } 162 meta 163 } 164 } 165 `};e.s(["default",0,l])},527488,791537,e=>{"use strict";var t=e.i(899024);let a=` 166 id 167 uuid 168 address 169 verified 170 primary 171 name 172 status 173 category 174 updatedAt 175`,l={createWallet:t.gql` 176 mutation createWallet($input: WalletCreateInput!) { 177 createWallet(input: $input) { 178 ${a} 179 } 180 } 181 `,getWalletsSelf:t.gql` 182 query getWalletsSelf { 183 getWalletsSelf { 184 ${a} 185 } 186 } 187 `,updateWalletSelf:t.gql` 188 mutation updateWalletSelf( 189 $uuid: String! 190 $input: WalletUpdateSelfInput! 191 ) { 192 updateWalletSelf(uuid: $uuid, input: $input) { 193 ${a} 194 } 195 } 196 `,updateWalletSelfAsPrimary:t.gql` 197 mutation updateWalletSelfAsPrimary( 198 $uuid: String! 199 ) { 200 updateWalletSelfAsPrimary(uuid: $uuid) { 201 ${a} 202 } 203 } 204 `,removeWallet:t.gql` 205 mutation removeWallet( 206 $uuid: String! 207 ) { 208 removeWallet(uuid: $uuid) { 209 ${a} 210 } 211 } 212 `,verifyWalletSignatureSelf:t.gql` 213 mutation verifyWalletSignatureSelf($input: WalletSignatureVerificationInput!) { 214 verifyWalletSignatureSelf(input: $input) { 215 ${a} 216 } 217 } 218 `,verifyWalletSignatureForCommunity:t.gql` 219 mutation verifyWalletSignatureForCommunity($communityId: Float!, $input: WalletSignatureVerificationInput!) { 220 verifyWalletSignatureForCommunity(communityId: $communityId, input: $input) { 221 ${a} 222 } 223 } 224 `};e.s(["default",0,l,"fields",0,a],791537);let i=` 225 id 226 email 227 firstName 228 lastName 229 name 230 title 231 bio 232 timezoneId 233 gender 234 student 235 website 236 github 237 githubId 238 twitter 239 twitterId 240 telegram 241 telegramId 242 linkedin 243 linkedinId 244 farcaster 245 farcasterId 246 lens 247 lensId 248 discord 249 isPlusMember 250 packRedemptions 251 discordId 252 discordDiscriminator 253 jobTitleCategory 254 jobFunction 255 industry 256 organizationSize 257 ageGroup 258 techSelfDescribedType 259 ethereumExperienceLevel 260 softwareExperienceYears 261 techDevTools 262 techLanguages 263 under18 264 student 265 dietaryPreferences 266 allergies 267 shirtSize 268 hireable 269 unsubscribe 270 primaryWallet { 271 ${a} 272 } 273 reusableStakes { 274 id 275 productName 276 } 277 school { 278 name 279 } 280 organization { 281 id 282 uuid 283 name 284 website 285 } 286 city { 287 id 288 slug 289 name 290 state 291 timezoneId 292 country { 293 id 294 name 295 } 296 } 297 country { 298 id 299 slug 300 name 301 } 302 timezone { 303 id 304 name 305 } 306 resumeId 307 resume { 308 id 309 name 310 } 311 avatar { 312 id 313 path 314 fullUrl 315 } 316 languageProficiencies { 317 id 318 uuid 319 proficiency 320 userId 321 languageId 322 language { 323 id 324 uuid 325 name 326 code 327 } 328 } 329`,n=` 330 id 331 uuid 332 name 333 slug 334`,r={getUserSelfBasicInfo:t.gql` 335 query getUserSelfBasicInfo { 336 getUserSelf { 337 id 338 uuid 339 email 340 firstName 341 lastName 342 name 343 twitter 344 twitterId 345 github 346 githubId 347 linkedin 348 linkedinId 349 discord 350 discordId 351 discordDiscriminator 352 telegram 353 farcaster 354 farcasterId 355 lens 356 lensId
357 isPlusMember 358 packRedemptions 359 jobTitleCategory 360 jobFunction 361 industry 362 organizationSize 363 gender 364 dietaryPreferences 365 allergies 366 organization { 367 id 368 name 369 } 370 avatar { 371 id 372 path 373 fullUrl 374 } 375 city { 376 id 377 name 378 timezoneId 379 country { 380 id 381 name 382 } 383 } 384 country { 385 id 386 name 387 } 388 primaryWallet { 389 ${a} 390 } 391 } 392 } 393 `,getPrimaryWallet:t.gql` 394 query getPrimaryWallet { 395 getUserSelf { 396 id 397 confirmedHackerApplications(filters: { startingFrom: "2019" }) 398 primaryWallet { 399 ${a} 400 } 401 } 402 } 403 `,getConfirmedHackerApplications:t.gql` 404 query getConfirmedHackerApplications { 405 getUserSelf { 406 id 407 confirmedHackerApplications(filters: { startingFrom: "2019" }) 408 } 409 } 410 `,logout:t.gql` 411 mutation Logout { 412 logout { 413 success 414 } 415 } 416 `,updateUserSelf:t.gql` 417 mutation updateUserSelfByEmail($input: UserSelfUpdateInput!) { 418 updateUserSelfByEmail(input: $input) { 419 ${i} 420 } 421 } 422 `,getUserLinkedin:t.gql` 423 query { 424 getUserSelf { 425 id 426 linkedin 427 linkedinId 428 meta 429 } 430 } 431 `,getUserTwitter:t.gql` 432 query getUserTwitter { 433 getExternalConnectionLimited(service: "x") { 434 serviceUserId 435 } 436 } 437 `,getUserGithub:t.gql` 438 query { 439 getUserSelf { 440 id 441 github 442 githubId 443 meta 444 } 445 } 446 `,getUserDiscord:t.gql` 447 query { 448 getUserSelf { 449 id 450 discord 451 discordId 452 meta 453 } 454 } 455 `,getUserFarcaster:t.gql` 456 query { 457 getUserSelf { 458 id 459 farcaster 460 farcasterId 461 meta 462 } 463 } 464 `,getUserLens:t.gql` 465 query { 466 getUserSelf { 467 id 468 lens 469 lensId 470 meta 471 } 472 } 473 `,connectFarcaster:t.gql` 474 mutation connectFarcaster($input: FarcasterConnectInput!) { 475 connectFarcaster(input: $input) { 476 success 477 fid 478 username 479 } 480 } 481 `,disconnectFarcaster:t.gql` 482 mutation disconnectFarcaster { 483 disconnectFarcaster { 484 id 485 } 486 } 487 `,generateLensChallenge:t.gql` 488 mutation GenerateLensChallenge($input: LensChallengeInput!) { 489 generateLensChallenge(input: $input) { 490 id 491 text 492 } 493 } 494 `,getLensAccounts:t.gql` 495 query GetLensAccounts($input: LensAccountsInput!) { 496 getLensAccounts(input: $input) { 497 id 498 handle 499 address 500 } 501 } 502 `,connectLens:t.gql` 503 mutation connectLens($input: LensConnectInput!) { 504 connectLens(input: $input) { 505 success 506 profileId 507 handle 508 } 509 } 510 `,disconnectLens:t.gql` 511 mutation disconnectLens { 512 disconnectLens { 513 id 514 } 515 } 516 `,getUserTelegram:t.gql` 517 query { 518 getUserSelf { 519 id 520 telegram 521 meta 522 } 523 } 524 `,connectTelegram:t.gql` 525 mutation connectTelegram($input: TelegramConnectInput!) { 526 connectTelegram(input: $input) { 527 success 528 id 529 username 530 } 531 } 532 `,disconnectTelegram:t.gql` 533 mutation disconnectTelegram { 534 disconnectTelegram { 535 id 536 telegram 537 telegramId 538 } 539 } 540 `,getUserSelf:t.gql` 541 query getUserSelf { 542 getUserSelf { 543 ${i} 544 } 545 } 546 `,subscribe:t.gql` 547 mutation subscribeToMailingList( 548 $email: String! 549 $input: UserSubscribeInput! 550 ) { 551 subscribeToMailingList(email: $email, input: $input) { 552 success 553 } 554 } 555 `,createMailingListSignup:t.gql` 556 mutation createMailingListSignup( 557 $id: String! 558 $type: String! 559 $input: MailingListInput! 560 ) { 561 createMailingListSignup(id: $id, type: $type, input: $input) { 562 success 563 } 564 } 565 `,verifyMailingListSignup:t.gql` 566 mutation verifyMailingListSignup($code: String!) { 567 verifyMailingListSignup(code: $code) { 568 success 569 } 570 } 571 `,assignUserSelfDiscordRoles:t.gql` 572 mutation assignUserSelfDiscordRoles($eventSlug: String!) { 573 assignUserSelfDiscordRoles(eventSlug: $eventSlug) { 574 id 575 discordId 576 discord 577 discordDiscriminator 578 } 579 } 580 `,getConfirmedAttendeeSelfByEventSlug:t.gql` 581 query getConfirmedAttendeeSelfByEventSlug($eventSlug: String!) { 582 getConfirmedAttendeeSelfByEventSlug(eventSlug: $eventSlug) { 583 id 584 uuid 585 hackers { 586 id 587 } 588 judges { 589 id 590 } 591 speakers { 592 id 593 } 594 mentors { 595 id 596 } 597 volunteers { 598 id 599 } 600 representatives { 601 id 602 } 603 guests { 604 id 605 } 606 } 607 } 608 `,getFaucetPerkChecks:t.gql` 609 query getFaucetPerkChecks { 610 getFaucetPerkChecks { 611 twitter { 612 hasMinAccountAge 613 hasPastPost 614 hasMinFollowers 615 } 616 github { 617 hasMinAccountAge 618 hasMinCommits 619 hasMinRepos 620 } 621 pack { 622 hasFaucetPack 623 hasPlusPack 624 transactionHash 625 } 626 } 627 } 628 `,mintHackerPack:t.gql` 629 mutation mintHackerPack($userId: Float!) { 630 mintHackerPack(userId: $userId) { 631 id 632 userId 633 packId 634 tokenId 635 transactionHash 636 } 637 } 638 `,createReferral:t.gql` 639 mutation createReferral($code: String!) { 640 createReferral(code: $code) { 641 uuid 642 status 643 createdAt 644 updatedAt 645 } 646 } 647 `,applyCampaignIncentives:t.gql` 648 mutation applyCampaignIncentives($code: String!) { 649 applyCampaignIncentives(code: $code) 650 } 651 `,getCommunitiesByUser:t.gql` 652 query getCommunitiesByUser($userId: Float!) { 653 getCommunitiesByUser(userId: $userId) { 654 ${n} 655 } 656 } 657 `};e.s(["default",0,r],527488)},518367,e=>{"use strict";var t=e.i(527488);
657e.s(["UserQueries",()=>t.default])},954785,e=>{"use strict";var t,a,l,i,n,r,s,o,u,c,d,p,m,g,f=e.i(504518);function h(){return(h=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return f.createElement("svg",h({xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 53 53"},e),t||(t=f.createElement("path",{fill:"#1F294F",fillOpacity:.2,fillRule:"evenodd",d:"m20.944 26.35 5.556-8.732 5.557 8.732-5.557 3.175z",clipRule:"evenodd"})),a||(a=f.createElement("path",{fill:"#1F294F",fillOpacity:.2,fillRule:"evenodd",d:"m20.944 27.841 5.556 3.176 5.557-3.176-5.557 7.542z",clipRule:"evenodd"})),l||(l=f.createElement("path",{fill:"#1F294F",fillOpacity:.36,fillRule:"evenodd",d:"M29.027 14.076q-1.295.605-2.517 1.347-1.23-.75-2.538-1.353a29 29 0 0 1 2.52-1.524q1.304.703 2.535 1.53",clipRule:"evenodd"})),i||(i=f.createElement("path",{fill:"#1F294F",fillOpacity:.2,fillRule:"evenodd",d:"M40.892 12.109c-3.05-3.05-8.609-2.686-14.401.437q1.306.703 2.536 1.53c2.242-1.037 4.378-1.593 6.187-1.593 1.618 0 2.975.444 3.916 1.385 1.997 1.996 1.76 5.86-.206 10.106a31 31 0 0 1 1.53 2.535c3.123-5.792 3.488-11.35.438-14.4",clipRule:"evenodd"})),n||(n=f.createElement("path",{fill:"#1F294F",fillOpacity:.2,fillRule:"evenodd",d:"M29.027 14.076a26 26 0 0 0-2.517 1.347A34 34 0 0 1 37.57 26.5q.745-1.227 1.353-2.528a36.5 36.5 0 0 0-4.478-5.419 36 36 0 0 0-5.42-4.478z",clipRule:"evenodd"})),r||(r=f.createElement("path",{fill:"#1F294F",fillOpacity:.36,fillRule:"evenodd",d:"M40.455 26.51q-.702 1.3-1.529 2.525a26 26 0 0 0-1.355-2.534q.745-1.228 1.354-2.527a31 31 0 0 1 1.53 2.535",clipRule:"evenodd"})),s||(s=f.createElement("path",{fill:"#1F294F",fillOpacity:.2,fillRule:"evenodd",d:"M38.927 29.034a26 26 0 0 0-1.356-2.533 33 33 0 0 1-4.886 6.185 33 33 0 0 1-6.175 4.89q1.22.745 2.517 1.347a36 36 0 0 0 5.42-4.478 36.4 36.4 0 0 0 4.48-5.41",clipRule:"evenodd"})),o||(o=f.createElement("path",{fill:"#1F294F",fillOpacity:.2,fillRule:"evenodd",d:"M42.239 30.685a24 24 0 0 0-1.784-4.176q-.702 1.3-1.529 2.525c1.964 4.244 2.201 8.103.204 10.098-1.996 1.996-5.858 1.757-10.103-.209q-.263.179-.525.346-.982.633-2.01 1.185c3.083 1.663 6.1 2.544 8.708 2.544 2.29 0 4.266-.679 5.692-2.105 2.232-2.232 2.708-5.856 1.347-10.208",clipRule:"evenodd"})),u||(u=f.createElement("path",{fill:"#1F294F",fillOpacity:.36,fillRule:"evenodd",d:"M29.027 38.923q-.263.179-.525.346-.982.633-2.01 1.185a30 30 0 0 1-2.52-1.524q1.31-.603 2.538-1.353 1.22.744 2.517 1.346",clipRule:"evenodd"})),c||(c=f.createElement("path",{fill:"#1F294F",fillOpacity:.2,fillRule:"evenodd",d:"M21.57 39.863c-3.423 1.072-6.159.812-7.702-.731-1.542-1.543-1.802-4.279-.73-7.701q.39-1.23.93-2.4a30 30 0 0 1-1.524-2.52 24 24 0 0 0-1.782 4.175c-1.363 4.35-.884 7.975 1.345 10.207C13.507 42.29 15.451 43 17.78 43c1.54-.023 3.07-.28 4.534-.762a24 24 0 0 0 4.178-1.784 30 30 0 0 1-2.519-1.524q-1.171.544-2.402.933",clipRule:"evenodd"})),d||(d=f.createElement("path",{fill:"#1F294F",fillOpacity:.2,fillRule:"evenodd",d:"M23.972 38.93a25 25 0 0 0 2.538-1.353 33 33 0 0 1-6.196-4.89 33 33 0 0 1-4.89-6.196q-.751 1.23-1.355 2.54a36.5 36.5 0 0 0 4.486 5.414 36 36 0 0 0 5.417 4.485",clipRule:"evenodd"})),p||(p=f.createElement("path",{fill:"#1F294F",fillOpacity:.36,fillRule:"evenodd",d:"M15.424 26.49q-.751 1.231-1.355 2.54a30 30 0 0 1-1.525-2.519q.704-1.306 1.533-2.538.6 1.297 1.347 2.517",clipRule:"evenodd"})),m||(m=f.createElement("path",{fill:"#1F294F",fillOpacity:.2,fillRule:"evenodd",d:"M13.868 13.868c1.543-1.543 4.279-1.803 7.701-.73q1.23.39 2.403.931a29 29 0 0 1 2.519-1.523 24 24 0 0 0-4.179-1.785c-4.349-1.361-7.973-.884-10.205 1.347-1.426 1.426-2.105 3.402-2.105 5.693 0 2.608.88 5.627 2.542 8.71q.704-1.306 1.532-2.537c-1.965-4.246-2.204-8.11-.208-10.106",clipRule:"evenodd"})),g||(g=f.createElement("path",{fill:"#1F294F",fillOpacity:.2,fillRule:"evenodd",d:"M23.972 14.07a37.3 37.3 0 0 0-9.895 9.903q.6 1.297 1.347 2.517A34 34 0 0 1 26.51 15.423q-1.23-.75-2.538-1.353",clipRule:"evenodd"})))}])},582788,e=>{"use strict";var t,a,l,i,n,r,s,o,u,c,d=e.i(504518);function p(){return(p=Object.assign.bind()).apply(null,arguments)}e.s(["default",0,function(e){return d.createElement("svg",p({xmlns:"http://www.w3.org/2000/svg",width:60,height:60,fill:"none",viewBox:"0 0 241 241"},e),t||(t=d.createElement("path",{fill:"#FFC750",fillRule:"evenodd",d:"M225.632 15.373c-22.258-22.264-62.823-19.604-105.09 3.191-6.311 3.397-5.839 17.351.137 21.003a248.3 248.3 0 0 1 80.72 80.863c3.632 5.98 17.745 6.185 21.042.061a195 195 0 0 0-2.396-4.324q1.226 2.158 2.396 4.323c22.79-42.277 25.448-82.854 3.191-105.117m-47.
657038 47.05a263.7 263.7 0 0 0-39.547-32.689c16.363-7.568 31.95-11.626 45.153-11.626 11.805 0 21.711 3.238 28.578 10.107 14.57 14.573 12.838 42.779-1.504 73.766a266.3 266.3 0 0 0-32.68-39.558",clipRule:"evenodd"})),a||(a=d.createElement("path",{fill:"#FF6895",fillRule:"evenodd",d:"M235.446 151.095a176 176 0 0 0-13.027-30.494c-3.344-6.218-17.43-6.031-21.053-.061a240.8 240.8 0 0 1-35.677 45.165 240.5 240.5 0 0 1-45.086 35.709c-5.979 3.653-6.247 17.726-.136 21.009C142.979 234.57 165.005 241 184.052 241c16.721 0 31.147-4.955 41.559-15.37 16.296-16.296 19.777-42.762 9.835-74.535m-22.695 61.675c-14.577 14.578-42.775 12.83-73.77-1.52a264 264 0 0 0 39.568-32.7 265.6 265.6 0 0 0 32.712-39.509c14.335 30.981 16.068 59.165 1.49 73.729",clipRule:"evenodd"})),l||(l=d.createElement("path",{fill:"#5FC5A6",fillRule:"evenodd",d:"M120.378 18.58A175 175 0 0 0 89.873 5.552c-31.751-9.94-58.213-6.46-74.507 9.834C4.955 25.8 0 40.224 0 56.943c0 19.046 6.43 41.084 18.558 63.595 3.299 6.111 17.37 5.835 21.021-.152a248.1 248.1 0 0 1 80.936-80.8c5.941-3.612 6.065-17.678-.137-21.007m-90.633 83.43c-14.348-30.992-16.096-59.203-1.52-73.779 11.263-11.263 31.235-13.163 56.222-5.32a149 149 0 0 1 17.54 6.795 272.4 272.4 0 0 0-72.242 72.304",clipRule:"evenodd"})),i||(i=d.createElement("path",{fill:"#5666F6",fillRule:"evenodd",d:"M120.973 201.408a241 241 0 0 1-45.4-35.702 240.4 240.4 0 0 1-35.835-45.231c-3.636-5.935-17.758-6.049-21.098.152a175.3 175.3 0 0 0-13.06 30.472c-9.991 31.766-6.482 58.227 9.856 74.519C25.688 235.817 39.936 241 56.992 241a112.1 112.1 0 0 0 33.226-5.563 177 177 0 0 0 30.617-13.025c4.928-2.629 6.094-17.383.138-21.004m-36.201 16.687c-25.08 7.827-45.125 5.927-56.43-5.335s-13.211-31.233-5.354-56.219a147 147 0 0 1 6.819-17.524 266.4 266.4 0 0 0 32.875 39.532 264.3 264.3 0 0 0 39.694 32.737 147 147 0 0 1-17.604 6.809",clipRule:"evenodd"})),n||(n=d.createElement("path",{fill:"#1F294F",fillRule:"evenodd",d:"M80 119.799 120.5 56l40.5 63.799L120.5 143z",clipRule:"evenodd"})),r||(r=d.createElement("path",{fill:"#1F294F",fillRule:"evenodd",d:"m80 130 40.5 23.157L161 130l-40.5 55z",clipRule:"evenodd"})),s||(s=d.createElement("path",{fill:"#5F9A34",fillRule:"evenodd",d:"M139 30.169A191 191 0 0 0 120.576 40 180 180 0 0 0 102 30.123 215 215 0 0 1 120.439 19 221 221 0 0 1 139 30.169",clipRule:"evenodd"})),o||(o=d.createElement("path",{fill:"#FF512F",fillRule:"evenodd",d:"M222 120.538A219 219 0 0 1 210.871 139 192 192 0 0 0 201 120.477 195 195 0 0 0 210.856 102 224 224 0 0 1 222 120.538",clipRule:"evenodd"})),u||(u=d.createElement("path",{fill:"#552990",fillRule:"evenodd",d:"M139 210.831c-1.28.867-2.56 1.702-3.84 2.523A214 214 0 0 1 120.439 222q-9.189-4.923-18.439-11.123A181 181 0 0 0 120.576 201 185 185 0 0 0 139 210.831",clipRule:"evenodd"})),c||(c=d.createElement("path",{fill:"#204FA0",fillRule:"evenodd",d:"M40 120.416c-3.647 6-6.947 12.205-9.885 18.584A223 223 0 0 1 19 120.569 219 219 0 0 1 30.176 102 185 185 0 0 0 40 120.416",clipRule:"evenodd"})))}])},92615,e=>{"use strict";let t;function a(){return"u">typeof window}function l(e){return r(e)?(e.nodeName||"").toLowerCase():"#document"}function i(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function n(e){var t;return null==(t=(r(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function r(e){return!!a()&&(e instanceof Node||e instanceof i(e).Node)}function s(e){return!!a()&&(e instanceof Element||e instanceof i(e).Element)}function o(e){return!!a()&&(e instanceof HTMLElement||e instanceof i(e).HTMLElement)}function u(e){return!(!a()||"u"<typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof i(e).ShadowRoot)}function c(e){let{overflow:t,overflowX:a,overflowY:l,display:i}=v(e);return/auto|scroll|overlay|hidden|clip/.test(t+l+a)&&"inline"!==i&&"contents"!==i}function d(e){try{if(e.matches(":popover-open"))return!0}catch(e){}try{return e.matches(":modal")}catch(e){return!1}}let p=/transform|translate|scale|rotate|perspective|filter/,m=/paint|layout|strict|content/,g=e=>!!e&&"none"!==e;function f(e){let t=s(e)?v(e):e;return g(t.transform)||g(t.translate)||g(t.scale)||g(t.rotate)||g(t.perspective)||!h()&&(g(t.backdropFilter)||g(t.filter))||p.test(t.willChange||"")||m.test(t.contain||"")}function h(){return null==t&&(t="u">typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")),t}function y(e){return/^(html|body|#document)$/.test(l(e))}function v(e){return i(e).getComputedStyle(e)}function b(e){if("html"===l(e))return e;let t=e.assignedSlot||e.parentNode||u(e)&&e.host||n(e);return u(t)?t.host:t}function x(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}e.s(["getComputedStyle",0,v,"getContainingBlock",0,function(e){let t=b(e);for(;o(t)&&!y(t);){if(f(t))return t;if(d(t))break;t=b(t)}return null},"getDocumentElement",0,n,"getFrameElement",0,x,"getNodeName",0,l,"getNodeScroll",0,function(e){return s(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}},"getOverflowAncestors",0,function e(t,a,l){var n;void 0===a&&(a=[]),void 0===l&&(l=!0);let r=function e(t){let a=b(t);return y(a)?t.ownerDocument?t.ownerDocument.body:t.body:o(a)&&c(a)?a:e(a)}(t),s=r===(null==(n=t.ownerDocument)?void 0:n.body),u=i(r);if(!s)return a.concat(r,e(r,[],l));{let t=x(u);
657return a.concat(u,u.visualViewport||[],c(r)?r:[],t&&l?e(t):[])}},"getParentNode",0,b,"getWindow",0,i,"isContainingBlock",0,f,"isElement",0,s,"isHTMLElement",0,o,"isLastTraversableNode",0,y,"isOverflowElement",0,c,"isShadowRoot",0,u,"isTableElement",0,function(e){return/^(table|td|th)$/.test(l(e))},"isTopLayer",0,d,"isWebKit",0,h])},641645,e=>{"use strict";let t=Math.min,a=Math.max,l=Math.round,i=Math.floor;e.s(["createCoords",0,e=>({x:e,y:e}),"evaluate",0,function(e,t){return"function"==typeof e?e(t):e},"floor",0,i,"max",0,a,"min",0,t,"round",0,l])},210242,e=>{"use strict";let t=["top","right","bottom","left"],a=t.reduce((e,t)=>e.concat(t,t+"-start",t+"-end"),[]),l=Math.min,i=Math.max,n=Math.round,r=Math.floor,s={left:"right",right:"left",bottom:"top",top:"bottom"};function o(e){return e.split("-")[0]}function u(e){return e.split("-")[1]}function c(e){return"x"===e?"y":"x"}function d(e){return"y"===e?"height":"width"}function p(e){let t=e[0];return"t"===t||"b"===t?"y":"x"}function m(e){return c(p(e))}function g(e){return e.includes("start")?e.replace("start","end"):e.replace("end","start")}let f=["left","right"],h=["right","left"],y=["top","bottom"],v=["bottom","top"];function b(e){let t=o(e);return s[t]+e.slice(t.length)}e.s(["clamp",0,function(e,t,a){return i(e,l(t,a))},"createCoords",0,e=>({x:e,y:e}),"evaluate",0,function(e,t){return"function"==typeof e?e(t):e},"floor",0,r,"getAlignment",0,u,"getAlignmentAxis",0,m,"getAlignmentSides",0,function(e,t,a){void 0===a&&(a=!1);let l=u(e),i=m(e),n=d(i),r="x"===i?l===(a?"end":"start")?"right":"left":"start"===l?"bottom":"top";return t.reference[n]>t.floating[n]&&(r=b(r)),[r,b(r)]},"getAxisLength",0,d,"getExpandedPlacements",0,function(e){let t=b(e);return[g(e),t,g(t)]},"getOppositeAlignmentPlacement",0,g,"getOppositeAxis",0,c,"getOppositeAxisPlacements",0,function(e,t,a,l){let i=u(e),n=function(e,t,a){switch(e){case"top":case"bottom":if(a)return t?h:f;return t?f:h;case"left":case"right":return t?y:v;default:return[]}}(o(e),"start"===a,l);return i&&(n=n.map(e=>e+"-"+i),t&&(n=n.concat(n.map(g)))),n},"getOppositePlacement",0,b,"getPaddingObject",0,function(e){var t,a,l,i;return"number"!=typeof e?{top:null!=(t=e.top)?t:0,right:null!=(a=e.right)?a:0,bottom:null!=(l=e.bottom)?l:0,left:null!=(i=e.left)?i:0}:{top:e,right:e,bottom:e,left:e}},"getSide",0,o,"getSideAxis",0,p,"max",0,i,"min",0,l,"placements",0,a,"rectToClientRect",0,function(e){let{x:t,y:a,width:l,height:i}=e;return{width:l,height:i,top:a,left:t,right:t+l,bottom:a+i,x:t,y:a}},"round",0,n,"sides",0,t])},264458,(e,t,a)=>{!function(){"use strict";var a={}.hasOwnProperty;function l(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,function(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return l.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)a.call(e,n)&&e[n]&&(t=i(t,n));return t}(n)))}return e}function i(e,t){return t?e?e+" "+t:e+t:e}if(t.exports)l.default=l,t.exports=l;else if("function"==typeof define&&"object"==typeof define.amd&&define.amd)void 0!==l&&e.v(l);else window.classNames=l}()},80382,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),Object.defineProperty(a,"useMergedRef",{enumerable:!0,get:function(){return i}});let l=e.r(504518);function i(e,t){let a=(0,l.useRef)(null),i=(0,l.useRef)(null);return(0,l.useCallback)(l=>{if(null===l){let e=a.current;e&&(a.current=null,e());let t=i.current;t&&(i.current=null,t())}else e&&(a.current=n(e,l)),t&&(i.current=n(t,l))},[e,t])}function n(e,t){if("function"!=typeof e)return e.current=t,()=>{e.current=null};{let a=e(t);return"function"==typeof a?a:()=>e(null)}}("function"==typeof a.default||"object"==typeof a.default&&null!==a.default)&&void 0===a.default.__esModule&&(Object.defineProperty(a.default,"__esModule",{value:!0}),Object.assign(a.default,a),t.exports=a.default)},570973,658528,e=>{"use strict";var t=e.i(548358);e.s(["Autoplay",0,function({swiper:e,extendParams:a,on:l,emit:i,params:n}){let r,s,o,u,c,d,p,m,g,f;e.autoplay={running:!1,paused:!1,timeLeft:0},a({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let h=n&&n.autoplay?n.autoplay.delay:3e3,y=n&&n.autoplay?n.autoplay.delay:3e3,v=new Date().getTime();function b(t){!e||e.destroyed||!e.wrapperEl||t.target!==e.wrapperEl||(e.wrapperEl.removeEventListener("transitionend",b),f||t.detail&&t.detail.bySwiperTouchMove||E())}let x=()=>
657{if(e.destroyed||!e.autoplay.running)return;e.autoplay.paused?u=!0:u&&(y=o,u=!1);let t=e.autoplay.paused?o:v+y-new Date().getTime();e.autoplay.timeLeft=t,i("autoplayTimeLeft",t,t/h),s=requestAnimationFrame(()=>{x()})},w=t=>{if(e.destroyed||!e.autoplay.running)return;cancelAnimationFrame(s),x();let a=void 0===t?e.params.autoplay.delay:t;h=e.params.autoplay.delay,y=e.params.autoplay.delay;let l=(()=>{let t;if(t=e.virtual&&e.params.virtual.enabled?e.slides.find(e=>e.classList.contains("swiper-slide-active")):e.slides[e.activeIndex])return parseInt(t.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(l)&&l>0&&void 0===t&&(a=l,h=l,y=l),o=a;let n=e.params.speed,u=()=>{e&&!e.destroyed&&(e.params.autoplay.reverseDirection?!e.isBeginning||e.params.loop||e.params.rewind?(e.slidePrev(n,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(e.slides.length-1,n,!0,!0),i("autoplay")):!e.isEnd||e.params.loop||e.params.rewind?(e.slideNext(n,!0,!0),i("autoplay")):e.params.autoplay.stopOnLastSlide||(e.slideTo(0,n,!0,!0),i("autoplay")),e.params.cssMode&&(v=new Date().getTime(),requestAnimationFrame(()=>{w()})))};return a>0?(clearTimeout(r),r=setTimeout(()=>{u()},a)):requestAnimationFrame(()=>{u()}),a},S=()=>{v=new Date().getTime(),e.autoplay.running=!0,w(),i("autoplayStart")},C=()=>{e.autoplay.running=!1,clearTimeout(r),cancelAnimationFrame(s),i("autoplayStop")},k=(t,a)=>{if(e.destroyed||!e.autoplay.running)return;clearTimeout(r),t||(g=!0);let l=()=>{i("autoplayPause"),e.params.autoplay.waitForTransition?e.wrapperEl.addEventListener("transitionend",b):E()};if(e.autoplay.paused=!0,a){m&&(o=e.params.autoplay.delay),m=!1,l();return}o=(o||e.params.autoplay.delay)-(new Date().getTime()-v),e.isEnd&&o<0&&!e.params.loop||(o<0&&(o=0),l())},E=()=>{e.isEnd&&o<0&&!e.params.loop||e.destroyed||!e.autoplay.running||(v=new Date().getTime(),g?(g=!1,w(o)):w(),e.autoplay.paused=!1,i("autoplayResume"))},j=()=>
657{if(e.destroyed||!e.autoplay.running)return;let a=(0,t.g)();"hidden"===a.visibilityState&&(g=!0,k(!0)),"visible"===a.visibilityState&&E()},$=t=>{"mouse"!==t.pointerType||(g=!0,f=!0,e.animating||e.autoplay.paused||k(!0))},N=t=>{"mouse"===t.pointerType&&(f=!1,e.autoplay.paused&&E())};l("init",()=>{e.params.autoplay.enabled&&(e.params.autoplay.pauseOnMouseEnter&&(e.el.addEventListener("pointerenter",$),e.el.addEventListener("pointerleave",N)),(0,t.g)().addEventListener("visibilitychange",j),S())}),l("destroy",()=>{e.el&&"string"!=typeof e.el&&(e.el.removeEventListener("pointerenter",$),e.el.removeEventListener("pointerleave",N)),(0,t.g)().removeEventListener("visibilitychange",j),e.autoplay.running&&C()}),l("_freeModeStaticRelease",()=>{(d||g)&&E()}),l("_freeModeNoMomentumRelease",()=>{e.params.autoplay.disableOnInteraction?C():k(!0,!0)}),l("beforeTransitionStart",(t,a,l)=>{!e.destroyed&&e.autoplay.running&&(l||!e.params.autoplay.disableOnInteraction?k(!0,!0):C())}),l("sliderFirstMove",()=>{if(!e.destroyed&&e.autoplay.running){if(e.params.autoplay.disableOnInteraction)return void C();c=!0,d=!1,g=!1,p=setTimeout(()=>{g=!0,d=!0,k(!0)},200)}}),l("touchEnd",()=>{if(!e.destroyed&&e.autoplay.running&&c){if(clearTimeout(p),clearTimeout(r),e.params.autoplay.disableOnInteraction){d=!1,c=!1;return}d&&e.params.cssMode&&E(),d=!1,c=!1}}),l("slideChange",()=>{!e.destroyed&&e.autoplay.running&&(m=!0)}),Object.assign(e.autoplay,{start:S,stop:C,pause:k,resume:E})}],570973);var a=e.i(152685),l=e.i(745500);let i='<svg class="swiper-navigation-icon" width="11" height="20" viewBox="0 0 11 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M0.38296 20.0762C0.111788 19.805 0.111788 19.3654 0.38296 19.0942L9.19758 10.2796L0.38296 1.46497C0.111788 1.19379 0.111788 0.754138 0.38296 0.482966C0.654131 0.211794 1.09379 0.211794 1.36496 0.482966L10.4341 9.55214C10.8359 9.9539 10.8359 10.6053 10.4341 11.007L1.36496 20.0762C1.09379 20.3474 0.654131 20.3474 0.38296 20.0762Z" fill="currentColor"/></svg>';e.s(["Navigation",0,function({swiper:e,extendParams:t,on:n,emit:r}){function s(t){let a;return t&&"string"==typeof t&&e.isElement&&(a=e.el.querySelector(t)||e.hostEl.querySelector(t))?a:(t&&("string"==typeof t&&(a=[...document.querySelectorAll(t)]),e.params.uniqueNavElements&&"string"==typeof t&&a&&a.length>1&&1===e.el.querySelectorAll(t).length?a=e.el.querySelector(t):a&&1===a.length&&(a=a[0])),t&&!a)?t:a}function o(t,a){let i=e.params.navigation;(t=(0,l.m)(t)).forEach(t=>{t&&(t.classList[a?"add":"remove"](...i.disabledClass.split(" ")),"BUTTON"===t.tagName&&(t.disabled=a),e.params.watchOverflow&&e.enabled&&t.classList[e.isLocked?"add":"remove"](i.lockClass))})}function u(){let{nextEl:t,prevEl:a}=e.navigation;if(e.params.loop){o(a,!1),o(t,!1);return}o(a,e.isBeginning&&!e.params.rewind),o(t,e.isEnd&&!e.params.rewind)}function c(t){t.preventDefault(),(!e.isBeginning||e.params.loop||e.params.rewind)&&(e.slidePrev(),r("navigationPrev"))}function d(t){t.preventDefault(),(!e.isEnd||e.params.loop||e.params.rewind)&&(e.slideNext(),r("navigationNext"))}function p(){let t=e.params.navigation;if(e.params.navigation=(0,a.c)(e,e.originalParams.navigation,e.params.navigation,{nextEl:"swiper-button-next",prevEl:"swiper-button-prev"}),!(t.nextEl||t.prevEl))return;let n=s(t.nextEl),r=s(t.prevEl);Object.assign(e.navigation,{nextEl:n,prevEl:r}),n=(0,l.m)(n),r=(0,l.m)(r);let o=(a,n)=>{if(a){if(t.addIcons&&a.matches(".swiper-button-next,.swiper-button-prev")&&!a.querySelector("svg")){let e=document.createElement("div");(0,l.s)(e,i),a.appendChild(e.querySelector("svg")),e.remove()}a.addEventListener("click","next"===n?d:c)}!e.enabled&&a&&a.classList.add(...t.lockClass.split(" "))};n.forEach(e=>o(e,"next")),r.forEach(e=>o(e,"prev"))}function m(){let{nextEl:t,prevEl:a}=e.navigation;t=(0,l.m)(t),a=(0,l.m)(a);let i=(t,a)=>{t.removeEventListener("click","next"===a?d:c),t.classList.remove(...e.params.navigation.disabledClass.split(" "))};t.forEach(e=>i(e,"next")),a.forEach(e=>i(e,"prev"))}t({navigation:{nextEl:null,prevEl:null,addIcons:!0,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden",lockClass:"swiper-button-lock",navigationDisabledClass:"swiper-navigation-disabled"}}),e.navigation={nextEl:null,prevEl:null,arrowSvg:i},n("init",()=>{!1===e.params.navigation.enabled?g():(p(),u())}),n("toEdge fromEdge lock unlock",()=>{u()}),n("destroy",()=>{m()}),n("enable disable",()=>{let{nextEl:t,prevEl:a}=e.navigation;
657(t=(0,l.m)(t),a=(0,l.m)(a),e.enabled)?u():[...t,...a].filter(e=>!!e).forEach(t=>t.classList.add(e.params.navigation.lockClass))}),n("click",(t,a)=>{let{nextEl:i,prevEl:n}=e.navigation;i=(0,l.m)(i),n=(0,l.m)(n);let s=a.target,o=n.includes(s)||i.includes(s);if(e.isElement&&!o){let e=a.path||a.composedPath&&a.composedPath();e&&(o=e.find(e=>i.includes(e)||n.includes(e)))}if(e.params.navigation.hideOnClick&&!o){let t;if(e.pagination&&e.params.pagination&&e.params.pagination.clickable&&(e.pagination.el===s||e.pagination.el.contains(s)))return;i.length?t=i[0].classList.contains(e.params.navigation.hiddenClass):n.length&&(t=n[0].classList.contains(e.params.navigation.hiddenClass)),!0===t?r("navigationShow"):r("navigationHide"),[...i,...n].filter(e=>!!e).forEach(t=>t.classList.toggle(e.params.navigation.hiddenClass))}});let g=()=>{e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")),m()};Object.assign(e.navigation,{enable:()=>{e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")),p(),u()},disable:g,update:u,init:p,destroy:m})}],658528)},873534,e=>{"use strict";function t(e=""){return`.${e.trim().replace(/([\.:!+\/()[\]])/g,"\\$1").replace(/ /g,".")}`}var a=e.i(152685),l=e.i(745500);e.s(["Pagination",0,function({swiper:e,extendParams:i,on:n,emit:r}){let s,o="swiper-pagination";i({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),e.pagination={el:null,bullets:[]};let u=0;function c(){return!e.params.pagination.el||!e.pagination.el||Array.isArray(e.pagination.el)&&0===e.pagination.el.length}function d(t,a){let{bulletActiveClass:l}=e.params.pagination;t&&(t=t[`${"prev"===a?"previous":"next"}ElementSibling`])&&(t.classList.add(`${l}-${a}`),(t=t[`${"prev"===a?"previous":"next"}ElementSibling`])&&t.classList.add(`${l}-${a}-${a}`))}function p(a){let i=a.target.closest(t(e.params.pagination.bulletClass));if(!i)return;a.preventDefault();let n=(0,l.j)(i)*e.params.slidesPerGroup;if(e.params.loop){var r,s,o;if(e.realIndex===n)return;let t=(r=e.realIndex,s=n,(r%=o=e.slides.length,(s%=o)===r+1)?"next":s===r-1?"previous":void 0);"next"===t?e.slideNext():"previous"===t?e.slidePrev():e.slideToLoop(n)}else e.slideTo(n)}function m(){let a,i,n=e.rtl,o=e.params.pagination;if(c())return;let p=e.pagination.el;p=(0,l.m)(p);let m=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,g=e.params.loop?Math.ceil(m/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?(i=e.previousRealIndex||0,a=e.params.slidesPerGroup>1?Math.floor(e.realIndex/e.params.slidesPerGroup):e.realIndex):void 0!==e.snapIndex?(a=e.snapIndex,i=e.previousSnapIndex):(i=e.previousIndex||0,a=e.activeIndex||0),"bullets"===o.type&&e.pagination.bullets&&e.pagination.bullets.length>0){let t,r,c,m=e.pagination.bullets;if(o.dynamicBullets&&(s=(0,l.i)(m[0],e.isHorizontal()?"width":"height",!0),p.forEach(t=>{t.style[e.isHorizontal()?"width":"height"]=`${s*(o.dynamicMainBullets+4)}px`}),o.dynamicMainBullets>1&&void 0!==i&&((u+=a-(i||0))>o.dynamicMainBullets-1?u=o.dynamicMainBullets-1:u<0&&(u=0)),c=((r=(t=Math.max(a-u,0))+(Math.min(m.length,o.dynamicMainBullets)-1))+t)/2),m.forEach(e=>{let t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map(e=>`${o.bulletActiveClass}${e}`)].map(e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e).flat();e.classList.remove(...t)}),p.length>1)m.forEach(i=>{let n=(0,l.j)(i);n===a?i.classList.add(...o.bulletActiveClass.split(" ")):e.isElement&&i.setAttribute("part","bullet"),o.dynamicBullets&&(n>=t&&n<=r&&i.classList.add(...`${o.bulletActiveClass}-main`.split(" ")),n===t&&d(i,"prev"),n===r&&d(i,"next"))});else{let l=m[a];if(l&&l.classList.add(...o.bulletActiveClass.split(" ")),e.isElement&&m.forEach((e,t)=>{e.setAttribute("part",t===a?"bullet-active":"bullet")}),o.dynamicBullets){let e=m[t],a=m[r];for(let e=t;e<=r;e+=1)m[e]&&m[e].classList.add(...`${o.bulletActiveClass}-main`.split(" "));d(e,"prev"),d(a,"next")}}if(o.dynamicBullets){let t=Math.min(m.length,o.dynamicMainBullets+4),a=(s*t-s)/2-c*s,l=n?"right":"left";m.forEach(t=>{t.style[e.isHorizontal()?l:"top"]=`${a}px`})}}
657p.forEach((i,n)=>{if("fraction"===o.type&&(i.querySelectorAll(t(o.currentClass)).forEach(e=>{e.textContent=o.formatFractionCurrent(a+1)}),i.querySelectorAll(t(o.totalClass)).forEach(e=>{e.textContent=o.formatFractionTotal(g)})),"progressbar"===o.type){let l;l=o.progressbarOpposite?e.isHorizontal()?"vertical":"horizontal":e.isHorizontal()?"horizontal":"vertical";let n=(a+1)/g,r=1,s=1;"horizontal"===l?r=n:s=n,i.querySelectorAll(t(o.progressbarFillClass)).forEach(t=>{t.style.transform=`translate3d(0,0,0) scaleX(${r}) scaleY(${s})`,t.style.transitionDuration=`${e.params.speed}ms`})}"custom"===o.type&&o.renderCustom?((0,l.s)(i,o.renderCustom(e,a+1,g)),0===n&&r("paginationRender",i)):(0===n&&r("paginationRender",i),r("paginationUpdate",i)),e.params.watchOverflow&&e.enabled&&i.classList[e.isLocked?"add":"remove"](o.lockClass)})}function g(){let a=e.params.pagination;if(c())return;let i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.grid&&e.params.grid.rows>1?e.slides.length/Math.ceil(e.params.grid.rows):e.slides.length,n=e.pagination.el;n=(0,l.m)(n);let s="";if("bullets"===a.type){let t=e.params.loop?Math.ceil(i/e.params.slidesPerGroup):e.snapGrid.length;e.params.freeMode&&e.params.freeMode.enabled&&t>i&&(t=i);for(let l=0;l<t;l+=1)a.renderBullet?s+=a.renderBullet.call(e,l,a.bulletClass):s+=`<${a.bulletElement} ${e.isElement?'part="bullet"':""} class="${a.bulletClass}"></${a.bulletElement}>`}"fraction"===a.type&&(s=a.renderFraction?a.renderFraction.call(e,a.currentClass,a.totalClass):`<span class="${a.currentClass}"></span> / <span class="${a.totalClass}"></span>`),"progressbar"===a.type&&(s=a.renderProgressbar?a.renderProgressbar.call(e,a.progressbarFillClass):`<span class="${a.progressbarFillClass}"></span>`),e.pagination.bullets=[],n.forEach(i=>{"custom"!==a.type&&(0,l.s)(i,s||""),"bullets"===a.type&&e.pagination.bullets.push(...i.querySelectorAll(t(a.bulletClass)))}),"custom"!==a.type&&r("paginationRender",n[0])}function f(){let t;e.params.pagination=(0,a.c)(e,e.originalParams.pagination,e.params.pagination,{el:"swiper-pagination"});let i=e.params.pagination;!i.el||("string"==typeof i.el&&e.isElement&&(t=e.el.querySelector(i.el)),t||"string"!=typeof i.el||(t=[...document.querySelectorAll(i.el)]),t||(t=i.el),t&&0!==t.length&&(e.params.uniqueNavElements&&"string"==typeof i.el&&Array.isArray(t)&&t.length>1&&(t=[...e.el.querySelectorAll(i.el)]).length>1&&(t=t.find(t=>(0,l.d)(t,".swiper")[0]===e.el)),Array.isArray(t)&&1===t.length&&(t=t[0]),Object.assign(e.pagination,{el:t}),(t=(0,l.m)(t)).forEach(t=>{"bullets"===i.type&&i.clickable&&t.classList.add(...(i.clickableClass||"").split(" ")),t.classList.add(i.modifierClass+i.type),t.classList.add(e.isHorizontal()?i.horizontalClass:i.verticalClass),"bullets"===i.type&&i.dynamicBullets&&(t.classList.add(`${i.modifierClass}${i.type}-dynamic`),u=0,i.dynamicMainBullets<1&&(i.dynamicMainBullets=1)),"progressbar"===i.type&&i.progressbarOpposite&&t.classList.add(i.progressbarOppositeClass),i.clickable&&t.addEventListener("click",p),e.enabled||t.classList.add(i.lockClass)})))}function h(){let t=e.params.pagination;if(c())return;let a=e.pagination.el;a&&(a=(0,l.m)(a)).forEach(a=>{a.classList.remove(t.hiddenClass),a.classList.remove(t.modifierClass+t.type),a.classList.remove(e.isHorizontal()?t.horizontalClass:t.verticalClass),t.clickable&&(a.classList.remove(...(t.clickableClass||"").split(" ")),a.removeEventListener("click",p))}),e.pagination.bullets&&e.pagination.bullets.forEach(e=>e.classList.remove(...t.bulletActiveClass.split(" ")))}n("changeDirection",()=>{if(!e.pagination||!e.pagination.el)return;let t=e.params.pagination,{el:a}=e.pagination;(a=(0,l.m)(a)).forEach(a=>{a.classList.remove(t.horizontalClass,t.verticalClass),a.classList.add(e.isHorizontal()?t.horizontalClass:t.verticalClass)})}),n("init",()=>{!1===e.params.pagination.enabled?y():(f(),g(),m())}),n("activeIndexChange",()=>{void 0===e.snapIndex&&m()}),n("snapIndexChange",()=>{m()}),n("snapGridLengthChange",()=>{g(),m()}),n("destroy",()=>{h()}),n("enable disable",()=>{let{el:t}=e.pagination;
657t&&(t=(0,l.m)(t)).forEach(t=>t.classList[e.enabled?"remove":"add"](e.params.pagination.lockClass))}),n("lock unlock",()=>{m()}),n("click",(t,a)=>{let i=a.target,n=(0,l.m)(e.pagination.el);if(e.params.pagination.el&&e.params.pagination.hideOnClick&&n&&n.length>0&&!i.classList.contains(e.params.pagination.bulletClass)){if(e.navigation&&(e.navigation.nextEl&&i===e.navigation.nextEl||e.navigation.prevEl&&i===e.navigation.prevEl))return;!0===n[0].classList.contains(e.params.pagination.hiddenClass)?r("paginationShow"):r("paginationHide"),n.forEach(t=>t.classList.toggle(e.params.pagination.hiddenClass))}});let y=()=>{e.el.classList.add(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=(0,l.m)(t)).forEach(t=>t.classList.add(e.params.pagination.paginationDisabledClass)),h()};Object.assign(e.pagination,{enable:()=>{e.el.classList.remove(e.params.pagination.paginationDisabledClass);let{el:t}=e.pagination;t&&(t=(0,l.m)(t)).forEach(t=>t.classList.remove(e.params.pagination.paginationDisabledClass)),f(),g(),m()},disable:y,render:g,update:m,init:f,destroy:h})}],873534)}
657,152685,e=>{"use strict";var t=e.i(745500);e.s(["c",0,function(e,a,l,i){return e.params.createElements&&Object.keys(i).forEach(n=>{if(!l[n]&&!0===l.auto){let r=(0,t.e)(e.el,`.${i[n]}`)[0];r||((r=(0,t.c)("div",i[n])).className=i[n],e.el.append(r)),l[n]=r,a[n]=r}}),l}])}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.