PageSourceSearch

https://aerospaceacademy.com/_next/static/chunks/0qzd_i.-m-99l.js

js aerospaceacademy.com collected 2026-10-07 18:37:56 UTC 150,213 bytes, 1 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,91625,t=>{t.v({section:"Sections-module__4hJQrW__section","section-featuerd_series":"Sections-module__4hJQrW__section-featuerd_series","section-knowledge_base_pages":"Sections-module__4hJQrW__section-knowledge_base_pages",sections:"Sections-module__4hJQrW__sections"})},76780,t=>{t.v({"carousel-card":"FeaturedCarousel-module__La_BcG__carousel-card","corner-lines":"FeaturedCarousel-module__La_BcG__corner-lines",dot:"FeaturedCarousel-module__La_BcG__dot","featured-carousel":"FeaturedCarousel-module__La_BcG__featured-carousel","featured-carousel-bg":"FeaturedCarousel-module__La_BcG__featured-carousel-bg","featured-carousel-bg-gradiant-wrapper":"FeaturedCarousel-module__La_BcG__featured-carousel-bg-gradiant-wrapper","featured-carousel-bullet":"FeaturedCarousel-module__La_BcG__featured-carousel-bullet","featured-carousel-container":"FeaturedCarousel-module__La_BcG__featured-carousel-container","featured-carousel-content":"FeaturedCarousel-module__La_BcG__featured-carousel-content","featured-carousel-content-wrapper":"FeaturedCarousel-module__La_BcG__featured-carousel-content-wrapper","featured-carousel-courses":"FeaturedCarousel-module__La_BcG__featured-carousel-courses","featured-carousel-cta":"FeaturedCarousel-module__La_BcG__featured-carousel-cta","featured-carousel-desktop-cta":"FeaturedCarousel-module__La_BcG__featured-carousel-desktop-cta","featured-carousel-image":"FeaturedCarousel-module__La_BcG__featured-carousel-image","featured-carousel-image-wrapper":"FeaturedCarousel-module__La_BcG__featured-carousel-image-wrapper","featured-carousel-item":"FeaturedCarousel-module__La_BcG__featured-carousel-item","featured-carousel-mobile-label":"FeaturedCarousel-module__La_BcG__featured-carousel-mobile-label","featured-carousel-mobile-stat":"FeaturedCarousel-module__La_BcG__featured-carousel-mobile-stat","featured-carousel-mobile-stats":"FeaturedCarousel-module__La_BcG__featured-carousel-mobile-stats","featured-carousel-slide":"FeaturedCarousel-module__La_BcG__featured-carousel-slide","featured-carousel-slides":"FeaturedCarousel-module__La_BcG__featured-carousel-slides","featured-carousel-stat":"FeaturedCarousel-module__La_BcG__featured-carousel-stat","featured-carousel-stat-difficulty":"FeaturedCarousel-module__La_BcG__featured-carousel-stat-difficulty","featured-carousel-stat-time":"FeaturedCarousel-module__La_BcG__featured-carousel-stat-time","featured-carousel-stat-video-count":"FeaturedCarousel-module__La_BcG__featured-carousel-stat-video-count","featured-carousel-stats":"FeaturedCarousel-module__La_BcG__featured-carousel-stats","featured-carousel-subtitle":"FeaturedCarousel-module__La_BcG__featured-carousel-subtitle","featured-carousel-swiper":"FeaturedCarousel-module__La_BcG__featured-carousel-swiper","featured-carousel-wrapper":"FeaturedCarousel-module__La_BcG__featured-carousel-wrapper","flickity-button":"FeaturedCarousel-module__La_BcG__flickity-button","flickity-page-dots":"FeaturedCarousel-module__La_BcG__flickity-page-dots","flickity-prev-next-button":"FeaturedCarousel-module__La_BcG__flickity-prev-next-button","is-selected":"FeaturedCarousel-module__La_BcG__is-selected",next:"FeaturedCarousel-module__La_BcG__next","parallax-inner":"FeaturedCarousel-module__La_BcG__parallax-inner",previous:"FeaturedCarousel-module__La_BcG__previous","swiper-pagination-bullet-active":"FeaturedCarousel-module__La_BcG__swiper-pagination-bullet-active"})},5111,t=>{t.v({"total-time":"TotalProjectTime-module__Y8rTOa__total-time","total-time-amount":"TotalProjectTime-module__Y8rTOa__total-time-amount","total-time-bg":"TotalProjectTime-module__Y8rTOa__total-time-bg","total-time-corner":"TotalProjectTime-module__Y8rTOa__total-time-corner","total-time-corner-bottom-left":"TotalProjectTime-module__Y8rTOa__total-time-corner-bottom-left","total-time-corner-bottom-right":"TotalProjectTime-module__Y8rTOa__total-time-corner-bottom-right","total-time-corner-top-left":"TotalProjectTime-module__Y8rTOa__total-time-corner-top-left","total-time-corner-top-right":"TotalProjectTime-module__Y8rTOa__total-time-corner-top-right","total-time-label":"TotalProjectTime-module__Y8rTOa__total-time-label","total-time-lottie":"TotalProjectTime-module__Y8rTOa__total-time-lottie","total-time-wrapper":"TotalProjectTime-module__Y8rTOa__total-time-wrapper"})},12884,t=>{t.v({"inner-ring":"TotalVideoCount-module__g6dvEG__inner-ring",rotation:"TotalVideoCount-module__g6dvEG__rotation","total-video-count":"TotalVideoCount-module__g6dvEG__total-video-count","total-video-count-amount":"TotalVideoCount-module__g6dvEG__total-video-count-amount","total-video-count-bg":"TotalVideoCount-module__g6dvEG__total-video-count-bg","total-video-count-label":"TotalVideoCount-module__g6dvEG__total-video-count-label","total-video-count-lottie":"TotalVideoCount-module__g6dvEG__total-video-count-lottie","total-video-count-wrapper":"TotalVideoCount-module__g6dvEG__total-video-count-wrapper"})},36005,t=>
1{t.v({"flickity-button":"SeriesCarousel-module___psGUq__flickity-button","flickity-prev-next-button":"SeriesCarousel-module___psGUq__flickity-prev-next-button",next:"SeriesCarousel-module___psGUq__next",previous:"SeriesCarousel-module___psGUq__previous","series-carousel":"SeriesCarousel-module___psGUq__series-carousel","series-carousel-container":"SeriesCarousel-module___psGUq__series-carousel-container","series-carousel-header":"SeriesCarousel-module___psGUq__series-carousel-header","series-carousel-pagination":"SeriesCarousel-module___psGUq__series-carousel-pagination","series-carousel-pagination-current":"SeriesCarousel-module___psGUq__series-carousel-pagination-current","series-carousel-pagination-seperator":"SeriesCarousel-module___psGUq__series-carousel-pagination-seperator","series-carousel-title":"SeriesCarousel-module___psGUq__series-carousel-title","series-section-title":"SeriesCarousel-module___psGUq__series-section-title"})},42655,t=>{t.v({card:"Cards-module__dpJ8Dq__card","card-content":"Cards-module__dpJ8Dq__card-content","card-cta-outside":"Cards-module__dpJ8Dq__card-cta-outside","card-large":"Cards-module__dpJ8Dq__card-large","card-wrapper":"Cards-module__dpJ8Dq__card-wrapper",cards:"Cards-module__dpJ8Dq__cards","cards-large":"Cards-module__dpJ8Dq__cards-large","cards-text":"Cards-module__dpJ8Dq__cards-text","cards-title":"Cards-module__dpJ8Dq__cards-title","cards-wrapper":"Cards-module__dpJ8Dq__cards-wrapper"})},87956,t=>{t.v({card:"Card-module__tGkz1q__card","card-background-image":"Card-module__tGkz1q__card-background-image","card-center":"Card-module__tGkz1q__card-center","card-content":"Card-module__tGkz1q__card-content","card-cta":"Card-module__tGkz1q__card-cta","card-cta-outside":"Card-module__tGkz1q__card-cta-outside","card-header":"Card-module__tGkz1q__card-header","card-image":"Card-module__tGkz1q__card-image","card-image-wrapper":"Card-module__tGkz1q__card-image-wrapper","card-large":"Card-module__tGkz1q__card-large","card-subtitle":"Card-module__tGkz1q__card-subtitle","card-text":"Card-module__tGkz1q__card-text","card-title":"Card-module__tGkz1q__card-title","card-wrapper":"Card-module__tGkz1q__card-wrapper"})},37769,t=>{t.v({"model-cards":"ModelCards-module__6k4S8q__model-cards","model-cards-container":"ModelCards-module__6k4S8q__model-cards-container","model-cards-title":"ModelCards-module__6k4S8q__model-cards-title","model-cards-wrapper":"ModelCards-module__6k4S8q__model-cards-wrapper"})},60588,t=>{t.v({"inner-element":"ModelCard-module__BXorXG__inner-element","model-card":"ModelCard-module__BXorXG__model-card","model-card-content":"ModelCard-module__BXorXG__model-card-content","model-card-cta":"ModelCard-module__BXorXG__model-card-cta","model-card-double":"ModelCard-module__BXorXG__model-card-double","model-card-image":"ModelCard-module__BXorXG__model-card-image","model-card-subtitle":"ModelCard-module__BXorXG__model-card-subtitle","model-card-title":"ModelCard-module__BXorXG__model-card-title","model-card-wrapper":"ModelCard-module__BXorXG__model-card-wrapper","parallax-effect-glare-scale":"ModelCard-module__BXorXG__parallax-effect-glare-scale"})},95151,t=>{t.v({"powered-by":"PoweredBy-module__FQinyG__powered-by","powered-by-logo":"PoweredBy-module__FQinyG__powered-by-logo","powered-by-logos":"PoweredBy-module__FQinyG__powered-by-logos","powered-by-title":"PoweredBy-module__FQinyG__powered-by-title","powered-by-title-wrapper":"PoweredBy-module__FQinyG__powered-by-title-wrapper"})},82474,t=>{t.v({"scroll-video":"ScrollVideo-module__73MPSq__scroll-video","scroll-video-frame":"ScrollVideo-module__73MPSq__scroll-video-frame","scroll-video-wrapper":"ScrollVideo-module__73MPSq__scroll-video-wrapper","scroll-video-wrapper-frame":"ScrollVideo-module__73MPSq__scroll-video-wrapper-frame"})},80463,t=>{t.v({"corner-lines":"RevealVideo-module__rjGgpq__corner-lines","reveal-play-button":"RevealVideo-module__rjGgpq__reveal-play-button","reveal-play-button-text":"RevealVideo-module__rjGgpq__reveal-play-button-text","reveal-play-button-text-wrapper":"RevealVideo-module__rjGgpq__reveal-play-button-text-wrapper","reveal-play-button-wrapper":"RevealVideo-module__rjGgpq__reveal-play-button-wrapper","reveal-video":"RevealVideo-module__rjGgpq__reveal-video","reveal-video-container":"RevealVideo-module__rjGgpq__reveal-video-container","reveal-video-frame":"RevealVideo-module__rjGgpq__reveal-video-frame","reveal-video-image":"RevealVideo-module__rjGgpq__reveal-video-image","reveal-video-vimeo":"RevealVideo-module__rjGgpq__reveal-video-vimeo"})},31678,t=>{"use strict";let e,i,s;var r,n=t.i(91398),a=t.i(91788),o=t.i(91567),l=t.i(65642);t.i(68489);var u=t.i(91625),d=t.i(76780),h=t.i(1524);t.i(71193),t.i(72043);var c=t.i(26019),m=t.i(14168),p=t.i(5111),f=t.i(49764);let g=l.default.bind(p.default),v=({animation:t,current:e})=>{let[i,s]=(0,m.useInView)({threshold:1,triggerOnce:!0}),r=(0,a.useRef)(null);(0,a.useEffect)(()=>{s||e?r.current?.play():r.current?.pause()},[s,e]);let o=g("total-time","total-time-lottie");return(0,n.jsx)("div",{className:o,ref:i,children:(0,n.jsx)(f.DotLottieReact,{src:t,dotLottieRefCallback:t=>{r.current=t}})})};t.i(66385);var y=t.i(62343);let x={src:t.i(18381).default,width:199,height:103,blurWidth:8,blurHeight:4,blurDataURL:"data:image/png;
1base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAECAYAAACzzX7wAAAAiUlEQVR42h3Muw6CMBSA4Urp6QkDJg6dxDBoNLooGuNCYhoCBQcvMRG5tPD+L0Fh/r/8xBEBpeHBY8e7gFsR8aR6oup+mOkK874lM3/huNuLxyIp2DlZc1lKGz+YtiP6E7ragbs5+RC/ljzVV56ZByrzHSPmXUNouAd7mEP8DiyQU1SmtKDGotcDxYcYY9tuF5AAAAAASUVORK5CYII="},_=({time:t})=>(0,n.jsxs)("div",{className:p.default["total-time"],children:[(0,n.jsxs)("div",{className:p.default["total-time-wrapper"],children:[(0,n.jsx)("div",{className:p.default["total-time-amount"],children:(0,n.jsx)("div",{children:t})}),(0,n.jsx)("div",{className:p.default["total-time-label"],children:"Total Project Time"})]}),(0,n.jsxs)("div",{className:p.default["total-time-bg"],children:[(0,n.jsx)(c.default,{src:x,alt:"Course Time Background"}),(0,n.jsxs)("div",{className:p.default["total-time-corners"],children:[(0,n.jsx)("div",{className:` ${p.default["total-time-corner"]} ${p.default["total-time-corner-top-left"]} `,children:(0,n.jsx)(y.Corner,{})}),(0,n.jsx)("div",{className:` ${p.default["total-time-corner"]} ${p.default["total-time-corner-top-right"]} `,children:(0,n.jsx)(y.Corner,{})}),(0,n.jsx)("div",{className:` ${p.default["total-time-corner"]} ${p.default["total-time-corner-bottom-left"]} `,children:(0,n.jsx)(y.Corner,{})}),(0,n.jsx)("div",{className:` ${p.default["total-time-corner"]} ${p.default["total-time-corner-bottom-right"]} `,children:(0,n.jsx)(y.Corner,{})})]})]})]});_.propTypes={time:o.default.string.isRequired};let w=({time:t,animation:e,current:i})=>e?(0,n.jsx)(v,{current:i,animation:e}):(0,n.jsx)(_,{current:i,time:t});var b=t.i(90885),T=t.i(12884);let A=l.default.bind(T.default)("total-video-count","total-video-count-lottie"),S=({animation:t,current:e})=>{let[i,s]=(0,m.useInView)({threshold:1,triggerOnce:!0}),r=(0,a.useRef)(null);return(0,a.useEffect)(()=>{s||e?r.current?.play():r.current?.pause()},[s,e]),(0,n.jsx)("div",{className:A,ref:i,children:(0,n.jsx)(f.DotLottieReact,{src:t,segments:[355,1076],loop:!0,dotLottieRefCallback:t=>{r.current=t}})})},C=()=>(0,n.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 284.976 296.079",children:(0,n.jsxs)("g",{id:"video-count-bg",transform:"translate(-437.393 -388.354)",children:[(0,n.jsxs)("g",{id:"background",children:[(0,n.jsx)("path",{id:"bg",d:"M143.1,343.9A100.45,100.45,0,1,1,42.6,444.4,100.4,100.4,0,0,1,143.1,343.9Z",transform:"translate(438 95)",fill:"#18b2e7",opacity:"0.2"}),(0,n.jsx)("path",{id:"bg-top-left",d:"M5452.177,469.635a72.164,72.164,0,0,0-44.95,11.562c-18.606,11.667-31.242,33.563-31.842,47.323",transform:"translate(-4869 -13)",fill:"none",stroke:"#0b5a78",strokeWidth:"8"}),(0,n.jsx)("path",{id:"bg-bottom-right",d:"M5452.177,469.635a72.164,72.164,0,0,0-44.95,11.562c-18.606,11.667-31.242,33.563-31.842,47.323",transform:"translate(6037.977 1090.52) rotate(180)",fill:"none",stroke:"#0b5a78",strokeWidth:"8"})]}),(0,n.jsx)("path",{id:"inner-ring",d:"M5437.881,401.325c-52.406,0-133.705,40.966-133.705,133.675,0,90.184,76,133.608,136.9,133.608,76.735,0,130.681-66.53,130.681-133.608,0-83.531-70.046-117.909-70.046-117.909",transform:"translate(-4857.071 4)",fill:"none",stroke:"#18b2e7",strokeWidth:"5"}),(0,n.jsx)("path",{id:"outter-ring",d:"M5370.877,418.485c-15,7.828-63.263,42.246-63.263,106.413v.216c0,75.182,61.863,122.016,123.561,122.016,65.71,0,118.311-59.9,118.311-122.016,0-75.435-63.053-120.555-120.741-120.555",transform:"translate(-4847.174 13.886)",fill:"none",stroke:"#0b5a78",strokeWidth:"8"}),(0,n.jsxs)("g",{id:"count-rings",children:[(0,n.jsx)("path",{id:"count-0",d:"M5504.768,458.4h0a109.214,109.214,0,0,1,53.864,85.879",transform:"translate(-4869 -13)",fill:"none",stroke:"#fcb017",strokeWidth:"8"}),(0,n.jsx)("path",{id:"count-20",d:"M5504.768,458.4h0a109.214,109.214,0,0,1,53.864,85.879",transform:"translate(-1726.425 -4429.318) rotate(59.3)",fill:"none",stroke:"#fcb017",strokeWidth:"8"}),(0,n.jsx)("path",{id:"count-40",d:"M5504.768,458.4h0a109.214,109.214,0,0,1,53.864,85.879",transform:"matrix(-0.469, 0.883, -0.883, -0.469, 3627.086, -4013.5)",fill:"none",stroke:"#fcb017",strokeWidth:"8"}),(0,n.jsx)("path",{id:"count-60",d:"M5504.768,458.4h0a109.214,109.214,0,0,1,53.864,85.879",transform:"translate(6051.566 825.018) rotate(177.2)",fill:"none",stroke:"#fcb017",strokeWidth:"8"}),(0,n.jsx)("path",{id:"count-80",d:"M5504.768,458.4h0a109.214,109.214,0,0,1,53.864,85.879",transform:"translate(3153.823 5375.75) rotate(-123.8)",fill:"none",stroke:"#fcb017",strokeWidth:"8"}),(0,n.jsx)("path",{id:"count-100",d:"M5491.876,452.242c6.857,2.421,28.491,11.722,47.477,37.922a103.108,103.108,0,0,1,19.28,54.111",transform:"matrix(0.53, -0.848, 0.848, 0.53, -2775.346, 4868.075)",fill:"none",stroke:"#fcb017",strokeWidth:"8"})]})]})}),P=({count:t})=>(0,n.jsxs)("div",{className:T.default["total-video-count"],children:[(0,n.jsxs)("div",{className:T.default["total-video-count-wrapper"],children:[(0,n.jsx)("div",{className:T.default["total-video-count-amount"],children:(0,n.jsx)("div",{children:t})}),(0,n.jsx)("div",{className:T.default["total-video-count-label"],children:"Videos"})]}),(0,n.jsx)("div",{className:T.default["total-video-count-bg"],children:(0,n.jsx)(C,{})})]}),j=({count:t,animation:e,current:i})=>e?(0,n.jsx)(S,{current:i,animation:e}):(0,n.jsx)(P,{current:i,count:t});var E=t.i(2504),k=t.i(41567);let M=({content:t,current:e})=>{let i=t.excerpt.length>295?t.excerpt.substring(0,292)+"...":t.excerpt,s=t.carousel_title,r=t.carousel_subtitle,a=t.link,o=t.image,l=t.difficulty,u=t.videos.length||"00:00:00",h=t.videos.count||"0",m=t.animations||!1;return(0,n.jsxs)("div",{className:d.default["featured-carousel-container"],children:[(0,n.jsxs)("div",{className:d.default["featured-carousel-wrapper"],children:[o&&(0,n.jsx)("div",{"data-aos":"fade-up","data-aos-offset":"0",className:d.default["featured-carousel-image-wrapper"],children:(0,n.jsx)("div",{className:d.default["featured-carousel-image"],children:(0,n.jsx)(c.default,{src:o,alt:s,className:d.default["model-card-image"],fill:!0,quality:"75"})})}),(0,n.jsxs)("div",{className:d.default["featured-carousel-content"],
1children:[(0,n.jsx)("div",{className:d.default["featured-carousel-subtitle"],children:r&&(0,n.jsx)(k.default,{element:"h3",size:"h4",bold:!0,children:r})}),(0,n.jsx)("div",{className:d.default["featured-carousel-title"],children:s&&(0,n.jsx)(k.default,{element:"h1",lite:!0,highlight:!0,children:s})}),(0,n.jsx)("div",{className:d.default["featured-carousel-text"],children:(0,n.jsx)("p",{dangerouslySetInnerHTML:{__html:i}})}),a&&(0,n.jsx)("div",{className:`${d.default["featured-carousel-cta"]} ${d.default["featured-carousel-desktop-cta"]} `,children:(0,n.jsx)(E.default,{href:a,button:!0,highlight:!0,children:"Let's Get Started"})}),(0,n.jsxs)("div",{className:d.default["featured-carousel-mobile-stats"],children:[h&&(0,n.jsxs)("div",{className:d.default["featured-carousel-mobile-stat"],children:[(0,n.jsx)("strong",{className:d.default["featured-carousel-mobile-label"],children:"Videos:"}),(0,n.jsx)("div",{children:h})]}),u&&(0,n.jsxs)("div",{className:d.default["featured-carousel-mobile-stat"],children:[(0,n.jsx)("strong",{className:d.default["featured-carousel-mobile-label"],children:"Project Time:"}),(0,n.jsx)("div",{children:u})]}),l&&(0,n.jsxs)("div",{className:d.default["featured-carousel-mobile-stat"],children:[(0,n.jsx)("strong",{className:d.default["featured-carousel-mobile-label"],children:"Difficulty:"}),(0,n.jsx)("div",{children:l})]}),a&&(0,n.jsx)("div",{className:d.default["featured-carousel-cta"],children:(0,n.jsx)(E.default,{href:a,button:!0,highlight:!0,children:"Let's Get Started"})})]})]}),(0,n.jsxs)("div",{className:d.default["featured-carousel-stats"],children:[(0,n.jsx)("div",{className:` ${d.default["featured-carousel-stat"]} ${d.default["featured-carousel-stat-video-count"]} `,children:(0,n.jsx)(j,{current:e,count:h,animation:m.total_video_count})}),(0,n.jsx)("div",{className:` ${d.default["featured-carousel-stat"]} ${d.default["featured-carousel-stat-difficulty"]} `,children:(0,n.jsx)(b.default,{current:e,difficulty:l,animation:m.project_difficulty})}),(0,n.jsx)("div",{className:` ${d.default["featured-carousel-stat"]} ${d.default["featured-carousel-stat-time"]} `,children:(0,n.jsx)(w,{current:e,time:u,animation:m.total_project_time})})]})]}),(0,n.jsx)("div",{className:d.default["corner-lines"],children:(0,n.jsx)(y.Corner,{})})]})};t.i(42540);let V=a.default.memo(({cards:t,options:e,handleSlideChange:i,handleClick:s,selectedIndex:r})=>{let o=(0,a.useRef)(null),[l,u]=(0,a.useState)(0);return(0,a.useEffect)(()=>{if("number"==typeof r){let t=r-1;t!==l&&t>=0&&o.current&&o.current.moveTo(t).catch(()=>{})}},[r]),(0,n.jsx)("div",{className:d.default["featured-carousel-slides"],children:(0,n.jsx)(h.default,{ref:o,align:"center",circular:t.length>6,onChanged:t=>{u(t.index),i&&i({selectedIndex:t.index,slides_total:t.panelCount,cells_total:t.panelCount})},resizeOnContentsReady:!0,panelsPerView:1,children:t.map((t,e)=>(0,n.jsx)("div",{className:d.default["featured-carousel-slide"],style:{width:"100%"},onClick:()=>s&&s({selectedIndex:e+1}),children:(0,n.jsx)(M,{current:l===e,content:t})},e))})})});var R=a,B=t.i(65662);class D extends R.Component{constructor(t){super(t),this.carouselOptions={groupCells:!1,pageDots:!0,wrapAround:!1,widePagination:!0,cellAlign:"left",contain:!0,draggable:!0},this.cards=this.props.content.map(t=>({link:"",thumbnail:t.thumbnail,title:t.title,subtitle:`PROJECT: ${t.videos.count} VIDEOS, ${t.videos.length} TOTAL`}))}shouldComponentUpdate(t,e){return!1}render(){return this.cards?(0,n.jsx)("div",{className:d.default["featured-carousel-courses"],"data-slide-count":this.cards.length,children:(0,n.jsx)(B.default,{cards:this.cards,handleClick:this.props.handleClick,enableSlideClick:!0,options:this.carouselOptions})}):null}}let L=({content:t})=>{let[e,i]=(0,a.useState)();(0,a.useEffect)(()=>{i(0)},[]);let s=!!t&&t.length>0&&t;return(0,n.jsx)(n.Fragment,{children:s&&(0,n.jsxs)("div",{className:d.default["featured-carousel"],children:[(0,n.jsx)(V,{selectedIndex:e,cards:s}),(0,n.jsx)(D,{handleClick:t=>{t.selectedIndex!==e&&i(t.selectedIndex)},content:s})]})})};L.propTypes={content:o.default.array.isRequired};var F=t.i(36005);let N=({title:t,section_title:e,cards:i})=>{let[s,r]=(0,a.useState)(),o=a.default.createRef(),l=a.default.createRef();return(0,n.jsxs)("div",{className:F.default["series-carousel"],children:[e&&(0,n.jsx)("div",{className:F.default["series-section-title"],children:(0,n.jsx)(k.default,{element:"h1",lite:!0,highlight:!0,nomargin:!0,children:e})}),(0,n.jsxs)("div",{className:F.default["series-carousel-container"],children:[(0,n.jsxs)("div",{className:F.default["series-carousel-header"],children:[t&&(0,n.jsx)("div",{className:F.default["series-carousel-title"],children:(0,n.jsx)(k.default,{element:"h2",lite:!0,highlight:!0,nomargin:!0,children:t})}),(0,n.jsxs)("div",{className:F.default["series-carousel-pagination"],children:[(0,n.jsx)("div",{className:F.default["series-carousel-pagination-current"],ref:o}),(0,n.jsx)("div",{className:F.default["series-carousel-pagination-seperator"],children:"/"}),(0,n.jsx)("div",{className:F.default["series-carousel-pagination-total"],ref:l})]})]}),(0,n.jsx)(B.default,{cards:i,handleSlideChange:t=>{let e=t.selectedIndex+1,i=t.slides_total;o.current.innerText=e,l.current.innerText=i},options:{contain:!0,adaptiveHeight:!0,wrapAround:!0}})]})]})};N.propTypes={cards:o.default.array.isRequired,featured:o.default.bool,title:o.default.string,handleChange:o.default.func};var O=t.i(42655),I=t.i(87956);let G=l.default.bind(I.default),U=({link:t,linkText:e,title:i,subtitle:s,text:r,image:a,ctaPlacement:o,center:l,large:u})=>{let d=G({card:!0,"card-background-image":a,"card-center":l,"card-large":u});return(0,n.jsxs)("div",{className:I.default["card-wrapper"],children:[(0,n.jsxs)("div",{className:d,children:[a&&(0,n.jsx)("div",{className:I.default["card-image-wrapper"],children:(0,n.jsx)(c.default,{src:a,alt:`${i} - ${r}`,className:I.default["card-image"],fill:!0,quality:"75"})}
1),(0,n.jsxs)("div",{className:I.default["card-content"],children:[(i||s)&&(0,n.jsxs)("div",{className:I.default["card-header"],children:[i&&(0,n.jsx)(k.default,{element:"h2",size:"h3",lite:!0,nomargin:!0,children:i}),s&&(0,n.jsx)("p",{className:I.default["card-subtitle"],children:s})]}),r&&(0,n.jsx)("div",{className:I.default["card-text"],children:r}),t&&e&&"outside"!==o&&(0,n.jsx)("div",{className:I.default["card-cta"],children:(0,n.jsx)(E.default,{href:t,button:!1,underline:!0,children:e})})]})]}),t&&e&&"outside"===o&&(0,n.jsx)("div",{className:` ${I.default["card-cta"]} ${I.default["card-cta-outside"]} `,children:(0,n.jsx)(E.default,{href:t,button:!0,children:e})})]})};U.propTypes={title:o.default.string.isRequired,subtitle:o.default.string,text:o.default.string,link:o.default.string,image:o.default.string,linkText:o.default.string,ctaPlacement:o.default.oneOf(["inside","outside"]),center:o.default.bool};let q=l.default.bind(O.default);function W({title:t,center:e,cards:i,className:s,ctaPlacement:r,largeCards:a,text:o}){let l=q({cards:!0,"cards-large":a},`${s||""}`);return(0,n.jsx)("div",{className:l,children:(0,n.jsxs)("div",{className:"container",children:[t&&(0,n.jsx)("div",{className:O.default["cards-title"],children:(0,n.jsx)(k.default,{element:"h2",lite:!0,highlight:!0,children:t})}),o&&(0,n.jsx)("div",{className:O.default["cards-text"],children:(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:o}})}),(0,n.jsx)("div",{className:O.default["cards-wrapper"],children:i&&i.map((t,i)=>(0,n.jsx)(U,{link:t.link,linkText:t.link_text,title:t.title,image:t.image,subtitle:t.subtitle,text:t.text,center:e,large:a,ctaPlacement:r},i))})]})})}W.propTypes={cards:o.default.array.isRequired,title:o.default.string,text:o.default.string,link:o.default.string,linkText:o.default.string,ctaPlacement:o.default.oneOf(["inside","outside"]),largeC
1ards:o.default.bool};var z=t.i(37769),$=t.i(60588);let Y=l.default.bind($.default),X=({subtitle:t,title:e,link:i,image:s,double:r})=>{let a=Y({"model-card":!0,"model-card-double":r});return(0,n.jsx)("a",{href:i,className:a,children:(0,n.jsxs)("div",{className:$.default["model-card-wrapper"],children:[(0,n.jsx)("div",{className:$.default["model-card-content"],children:(0,n.jsxs)("div",{className:$.default["model-card-content-wrapper"],children:[t&&(0,n.jsx)("div",{className:$.default["model-card-subtitle"],children:(0,n.jsx)(k.default,{element:"h3",lite:!0,children:t})}),(0,n.jsx)("div",{className:$.default["model-card-title"],children:(0,n.jsx)(k.default,{element:"h2",lite:!0,highlight:!0,children:e})}),(0,n.jsx)("div",{className:$.default["model-card-cta"],children:"Get Started"})]})}),s&&(0,n.jsx)(c.default,{src:s,alt:e,className:$.default["model-card-image"],fill:!0,quality:"75"})]})})};X.propTypes={link:o.default.string.isRequired,title:o.default.string.isRequired,image:o.default.string.isRequired,subtitle:o.default.string};let H=({title:t,cards:e,link:i,link_text:s})=>(0,n.jsx)("div",{className:z.default["model-cards"],children:(0,n.jsxs)("div",{className:"container",children:[t&&(0,n.jsx)("div",{className:z.default["model-cards-title"],children:(0,n.jsx)(k.default,{element:"h2",highlight:!0,lite:!0,children:t})}),(0,n.jsx)("div",{className:z.default["model-cards-wrapper"],children:e.map((t,e)=>(0,n.jsx)(X,{link:t.link,title:t.title,subtitle:t.type,image:t.image,double:t.double},e))}),i&&s&&(0,n.jsx)(E.default,{href:i,centered:!0,children:s})]})});H.propTypes={title:o.default.string.isRequired,cards:o.default.array.isRequired,link:o.default.string.isRequired,link_text:o.default.string.isRequired};var K=t.i(95151);function Q(t){let e;return()=>(void 0===e&&(e=t()),e)}let J={};function Z(t,e){let i=Q(t);return()=>J[e]??i()}let tt=Z(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),te=Z(()=>void 0!==window.ViewTimeline,"viewTimeline");var ti=t.i(50461);function ts(t,e){-1===t.indexOf(e)&&t.push(e)}function tr(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class tn{constructor(){this.subscriptions=[]}add(t){return ts(this.subscriptions,t),()=>tr(this.subscriptions,t)}notify(t,e,i){let s=this.subscriptions.length;if(s)if(1===s)this.subscriptions[0](t,e,i);else for(let r=0;r<s;r++){let s=this.subscriptions[r];s&&s(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function ta(t,e){return e?1e3/e*t:0}let to={},tl=t=>t,tu=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function td(t,e){let i=!1,s=!0,r={delta:0,timestamp:0,isProcessing:!1},n=()=>i=!0,a=tu.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,s=new Set,r=!1,n=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){a.has(e)&&(d.schedule(e),t()),l++,e(o)}let d={schedule:(t,e=!1,n=!1)=>{let o=n&&r?i:s;return e&&a.add(t),o.add(t),t},cancel:t=>{s.delete(t),a.delete(t)},process:t=>{if(o=t,r){n=!0;return}r=!0;let a=i;i=s,s=a,i.forEach(u),e,l=0,i.clear(),r=!1,n&&(n=!1,d.process(t))}};return d}(n,e?i:void 0),t),{}),{setup:o,read:l,resolveKeyframes:u,preUpdate:d,update:h,preRender:c,render:m,postRender:p}=a,f=()=>{let n=to.useManualTiming,a=n?r.timestamp:performance.now();i=!1,n||(r.delta=s?1e3/60:Math.max(Math.min(a-r.timestamp,40),1)),r.timestamp=a,r.isProcessing=!0,o.process(r),l.process(r),u.process(r),d.process(r),h.process(r),c.process(r),m.process(r),p.process(r),r.isProcessing=!1,i&&e&&(s=!1,t(f))};return{schedule:tu.reduce((e,n)=>{let o=a[n];return e[n]=(e,n=!1,a=!1)=>(!i&&(i=!0,s=!0,r.isProcessing||t(f)),o.schedule(e,n,a)),e},{}),cancel:t=>{for(let e=0;e<tu.length;e++)a[tu[e]].cancel(t)},state:r,steps:a}}let{schedule:th,cancel:tc,state:tm,steps:tp}=td("u">typeof requestAnimationFrame?requestAnimationFrame:tl,!0);function tf(){e=void 0}let tg={now:()=>(void 0===e&&tg.set(tm.isProcessing||to.useManualTiming?tm.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(tf)}},tv;class ty{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=tg.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=tg.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new tn);let i=this.events[t].add(e);return"change"===t?()=>{i(),th.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return tv&&tv.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=tg.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return ta(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function tx(t,e){return new ty(t,e)}let t_=()=>{},tw=()=>{};function tb(t){return"object"==typeof t&&null!==t}function tT(t){return tb(t)&&"ownerSVGElement"in t}function tA(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let s=document;e&&(s=e.current);let r=i?.[t]??s.querySelectorAll(t);return r?Array.from(r):[]}return Array.from(t).filter(t=>null!=t)}ti.default;
1let tS=new WeakMap,tC=(t,e,i)=>(s,r)=>r&&r[0]?r[0][t+"Size"]:tT(s)&&"getBBox"in s?s.getBBox()[e]:s[i],tP=tC("inline","width","offsetWidth"),tj=tC("block","height","offsetHeight");function tE({target:t,borderBoxSize:e}){tS.get(t)?.forEach(i=>{i(t,{get width(){return tP(t,e)},get height(){return tj(t,e)}})})}function tk(t){t.forEach(tE)}let tM=new Set;function tV(t,e){let r;return"function"==typeof t?(tM.add(t),s||(s=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};tM.forEach(e=>e(t))},window.addEventListener("resize",s)),()=>{tM.delete(t),tM.size||"function"!=typeof s||(window.removeEventListener("resize",s),s=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(tk)),(r=tA(t)).forEach(t=>{let s=tS.get(t);s||(s=new Set,tS.set(t,s)),s.add(e),i?.observe(t)}),()=>{r.forEach(t=>{let s=tS.get(t);s?.delete(e),s?.size||i?.unobserve(t)})})}let tR=(t,e,i)=>{let s=e-t;return 0===s?1:(i-t)/s},tB={x:{length:"Width",position:"Left"},y:{length:"Height",position:"Top"}},tD=(t,e,i)=>i>e?e:i<t?t:i,tL=(t,e)=>i=>e(t(i)),tF=(...t)=>t.reduce(tL),tN=t=>e=>"string"==typeof e&&e.startsWith(t),tO=tN("--"),tI=tN("var(--"),tG=t=>!!tI(t)&&tU.test(t.split("/*")[0].trim()),tU=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tq(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let tW={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},tz={...tW,transform:t=>tD(0,1,t)},t$={...tW,default:1},tY=t=>Math.round(1e5*t)/1e5,tX=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,tH=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,tK=(t,e)=>i=>!!("string"==typeof i&&tH.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),tQ=(t,e,i)=>s=>{if("string"!=typeof s)return s;let[r,n,a,o]=s.match(tX);return{[t]:parseFloat(r),[e]:parseFloat(n),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},tJ={...tW,transform:t=>Math.round(tD(0,255,t))},tZ={test:tK("rgb","red"),parse:tQ("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:s=1})=>"rgba("+tJ.transform(t)+", "+tJ.transform(e)+", "+tJ.transform(i)+", "+tY(tz.transform(s))+")"},t0={test:tK("#"),parse:function(t){let e="",i="",s="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),s=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),s=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,s+=s,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(s,16),alpha:r?parseInt(r,16)/255:1}},transform:tZ.transform},t1=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),t5=t1("deg"),t3=t1("%"),t2=t1("px"),t4=t1("vh"),t8=t1("vw"),t6={...t3,parse:t=>t3.parse(t)/100,transform:t=>t3.transform(100*t)},t7={test:tK("hsl","hue"),parse:tQ("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:s=1})=>"hsla("+Math.round(t)+", "+t3.transform(tY(e))+", "+t3.transform(tY(i))+", "+tY(tz.transform(s))+")"},t9={test:t=>tZ.test(t)||t0.test(t)||t7.test(t),parse:t=>tZ.test(t)?tZ.parse(t):t7.test(t)?t7.parse(t):t0.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?tZ.transform(t):t7.transform(t),getAnimatableNone:t=>{let e=t9.parse(t);return e.alpha=0,t9.transform(e)}},et=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,ee="number",ei="color",es=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function er(t){let e=t.toString(),i=[],s={color:[],number:[],var:[]},r=[],n=0,a=e.replace(es,t=>(t9.test(t)?(s.color.push(n),r.push(ei),i.push(t9.parse(t))):t.startsWith("var(")?(s.var.push(n),r.push("var"),i.push(t)):(s.number.push(n),r.push(ee),i.push(parseFloat(t))),++n,"${}")).split("${}");return{values:i,split:a,indexes:s,types:r}}function en({split:t,types:e}){let i=t.length;return s=>{let r="";for(let n=0;n<i;n++)if(r+=t[n],void 0!==s[n]){let t=e[n];t===ee?r+=tY(s[n]):t===ei?r+=t9.transform(s[n]):r+=s[n]}return r}}let ea={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(tX)?.length||0)+(t.match(et)?.length||0)>0},parse:function(t){return er(t).values},createTransformer:function(t){return en(er(t))},getAnimatableNone:function(t){let e=er(t);return en(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:t9.test(t)?t9.getAnimatableNone(t):t)(t,e.split[i])))}};
1function eo(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function el(t,e){return i=>i>0?e:t}let eu=(t,e,i)=>t+(e-t)*i,ed=(t,e,i)=>{let s=t*t,r=i*(e*e-s)+s;return r<0?0:Math.sqrt(r)},eh=[t0,tZ,t7];function ec(t){let e=eh.find(e=>e.test(t));if(t_(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===t7&&(i=function({hue:t,saturation:e,lightness:i,alpha:s}){t/=360,i/=100;let r=0,n=0,a=0;if(e/=100){let s=i<.5?i*(1+e):i+e-i*e,o=2*i-s;r=eo(o,s,t+1/3),n=eo(o,s,t),a=eo(o,s,t-1/3)}else r=n=a=i;return{red:Math.round(255*r),green:Math.round(255*n),blue:Math.round(255*a),alpha:s}}(i)),i}let em=(t,e)=>{let i=ec(t),s=ec(e);if(!i||!s)return el(t,e);let r={...i};return t=>(r.red=ed(i.red,s.red,t),r.green=ed(i.green,s.green,t),r.blue=ed(i.blue,s.blue,t),r.alpha=eu(i.alpha,s.alpha,t),tZ.transform(r))},ep=new Set(["none","hidden"]);function ef(t,e){return i=>eu(t,e,i)}function eg(t){return"number"==typeof t?ef:"string"==typeof t?tG(t)?el:t9.test(t)?em:ex:Array.isArray(t)?ev:"object"==typeof t?t9.test(t)?em:ey:el}function ev(t,e){let i=[...t],s=i.length,r=t.map((t,i)=>eg(t)(t,e[i]));return t=>{for(let e=0;e<s;e++)i[e]=r[e](t);return i}}function ey(t,e){let i={...t,...e},s={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(s[r]=eg(t[r])(t[r],e[r]));return t=>{for(let e in s)i[e]=s[e](t);return i}}let ex=(t,e)=>{let i=ea.createTransformer(e),s=er(t),r=er(e);if(!(s.indexes.var.length===r.indexes.var.length&&s.indexes.color.length===r.indexes.color.length&&s.indexes.number.length>=r.indexes.number.length))return t_(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),el(t,e);if(ep.has(t)&&!r.values.length||ep.has(e)&&!s.values.length)return ep.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return tF(ev(function(t,e){let i=[],s={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let n=e.types[r],a=t.indexes[n][s[n]],o=t.values[a]??0;i[r]=o,s[n]++}return i}(s,r),r.values),i)};function e_(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?eu(t,e,i):eg(t)(t,e)}function ew(t,e,{clamp:i=!0,ease:s,mixer:r}={}){let n=t.length;if(tw(n===e.length,"Both input and output ranges must be the same length","range-length"),1===n)return()=>e[0];if(2===n&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[n-1]&&(t=[...t].reverse(),e=[...e].reverse());let o=function(t,e,i){let s=[],r=i||to.mix||e_,n=t.length-1;for(let i=0;i<n;i++){let n=r(t[i],t[i+1]);e&&(n=tF(Array.isArray(e)?e[i]||tl:e,n)),s.push(n)}return s}(e,s,r),l=o.length,u=i=>{if(a&&i<t[0])return e[0];let s=0;if(l>1)for(;s<t.length-2&&!(i<t[s+1]);s++);let r=tR(t[s],t[s+1],i);return o[s](r)};return i?e=>u(tD(t[0],t[n-1],e)):u}function eb(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let s=1;s<=e;s++){let r=tR(0,e,s);t.push(eu(i,1,r))}}(e,t.length-1),e}function eT(t){return tb(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}let eA=[[0,0],[1,1]],eS=new WeakMap,eC=new WeakMap,eP=new WeakMap,ej=new WeakMap,eE=new WeakMap,ek="u">typeof window?a.useLayoutEffect:a.useEffect;var eM=t.i(82474);l.default.bind(eM.default);o.default.string.isRequired,o.default.number.isRequired;let eV=({logos:t})=>(0,n.jsx)(n.Fragment,{children:(0,n.jsxs)("div",{className:K.default["powered-by"],children:[(0,n.jsx)("div",{className:K.default["powered-by-title-wrapper"],children:(0,n.jsx)(k.default,{element:"h1",lite:!0,className:K.default["powered-by-title"],children:"Powered By"})}),(0,n.jsx)("div",{className:K.default["powered-by-logos"],children:t.map((t,e)=>(0,n.jsx)("div",{className:K.default["powered-by-logo"],children:t.svg&&(0,n.jsx)("div",{dangerouslySetInnerHTML:{__html:t.image_markup}})},e))})]})}),eR=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],eB=new Set(eR),eD=new Set(["brightness","contrast","saturate","opacity"]);function eL(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[s]=i.match(tX)||[];if(!s)return t;let r=i.replace(s,""),n=+!!eD.has(e);return s!==i&&(n*=100),e+"("+n+r+")"}let eF=/\b([a-z-]*)\(.*?\)/gu,eN={...ea,getAnimatableNone:t=>{let e=t.match(eF);return e?e.map(eL).join(" "):t}},eO={...ea,getAnimatableNone:t=>{let e=ea.parse(t);return ea.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},eI={...tW,transform:Math.round},eG={borderWidth:t2,borderTopWidth:t2,borderRightWidth:t2,borderBottomWidth:t2,borderLeftWidth:t2,borderRadius:t2,borderTopLeftRadius:t2,borderTopRightRadius:t2,borderBottomRightRadius:t2,borderBottomLeftRadius:t2,width:t2,maxWidth:t2,height:t2,maxHeight:t2,top:t2,right:t2,bottom:t2,left:t2,inset:t2,insetBlock:t2,insetBlockStart:t2,insetBlockEnd:t2,insetInline:t2,insetInlineStart:t2,insetInlineEnd:t2,padding:t2,paddingTop:t2,paddingRight:t2,paddingBottom:t2,paddingLeft:t2,paddingBlock:t2,paddingBlockStart:t2,paddingBlockEnd:t2,paddingInline:t2,paddingInlineStart:t2,paddingInlineEnd:t2,margin:t2,marginTop:t2,marginRight:t2,marginBottom:t2,marginLeft:t2,marginBlock:t2,marginBlockStart:t2,marginBlockEnd:t2,marginInline:t2,marginInlineStart:t2,marginInlineEnd:t2,fontSize:t2,backgroundPositionX:t2,backgroundPositionY:t2,rotate:t5,rotateX:t5,rotateY:t5,rotateZ:t5,scale:t$,scaleX:t$,scaleY:t$,scaleZ:t$,skew:t5,skewX:t5,skewY:t5,distance:t2,translateX:t2,translateY:t2,translateZ:t2,x:t2,
1y:t2,z:t2,perspective:t2,transformPerspective:t2,opacity:tz,originX:t6,originY:t6,originZ:t2,zIndex:eI,fillOpacity:tz,strokeOpacity:tz,numOctaves:eI},eU={...eG,color:t9,backgroundColor:t9,outlineColor:t9,fill:t9,stroke:t9,borderColor:t9,borderTopColor:t9,borderRightColor:t9,borderBottomColor:t9,borderLeftColor:t9,filter:eN,WebkitFilter:eN,mask:eO,WebkitMask:eO},eq=t=>eU[t],eW=()=>({translate:0,scale:1,origin:0,originPoint:0}),ez=()=>({x:eW(),y:eW()}),e$=()=>({min:0,max:0}),eY=()=>({x:e$(),y:e$()}),eX=t=>!!(t&&t.getVelocity),eH=new Set(["width","height","top","left","right","bottom",...eR]),eK=t=>e=>e.test(t),eQ=[tW,t2,t3,t5,t8,t4,{test:t=>"auto"===t,parse:t=>t}],eJ=t=>eQ.find(eK(t)),eZ=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,e0=t=>180*t/Math.PI,e1=t=>e3(e0(Math.atan2(t[1],t[0]))),e5={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:e1,rotateZ:e1,skewX:t=>e0(Math.atan(t[1])),skewY:t=>e0(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},e3=t=>((t%=360)<0&&(t+=360),t),e2=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),e4=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),e8={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:e2,scaleY:e4,scale:t=>(e2(t)+e4(t))/2,rotateX:t=>e3(e0(Math.atan2(t[6],t[5]))),rotateY:t=>e3(e0(Math.atan2(-t[2],t[0]))),rotateZ:e1,rotate:e1,skewX:t=>e0(Math.atan(t[4])),skewY:t=>e0(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function e6(t){return+!!t.includes("scale")}function e7(t,e){let i,s;if(!t||"none"===t)return e6(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=e8,s=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=e5,s=e}if(!s)return e6(e);let n=i[e],a=s[1].split(",").map(e9);return"function"==typeof n?n(a):a[n]}function e9(t){return parseFloat(t.trim())}let it=t=>t===tW||t===t2,ie=new Set(["x","y","z"]),ii=eR.filter(t=>!ie.has(t)),is={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:s})=>{let r=t.max-t.min;return"border-box"===s?r:r-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:s})=>{let r=t.max-t.min;return"border-box"===s?r:r-parseFloat(e)-parseFloat(i)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>e7(e,"x"),y:(t,{transform:e})=>e7(e,"y")};is.translateX=is.x,is.translateY=is.y;let ir=new Set,ia=!1,io=!1,il=!1;function iu(){if(io){let t=Array.from(ir).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,s=(e=[],ii.forEach(i=>{let s=t.getValue(i);void 0!==s&&(e.push([i,s.get()]),s.set(+!!i.startsWith("scale")))}),e);s.length&&(i.set(t,s),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}io=!1,ia=!1,ir.forEach(t=>t.complete(il)),ir.clear()}function id(){ir.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(io=!0)})}class ih{constructor(t,e,i,s,r,n=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=s,this.element=r,this.isAsync=n}scheduleResolve(){this.state="scheduled",this.isAsync?(ir.add(this),ia||(ia=!0,th.read(id),th.resolveKeyframes(iu))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:s}=this;if(null===t[0]){let r=s?.get(),n=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let s=i.readValue(e,n);null!=s&&(t[0]=s)}void 0===t[0]&&(t[0]=n),s&&void 0===r&&s.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),ir.delete(this)}cancel(){"scheduled"===this.state&&(ir.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let ic=new Set([eN,eO]);function im(t,e){let i=eq(t);return ic.has(i)||(i=ea),i.getAnimatableNone?i.getAnimatableNone(e):void 0}
1let ip=new Set(["auto","none","0"]);class ig extends ih{constructor(t,e,i,s,r){super(t,e,i,s,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let s=t[i];if("string"==typeof s&&tG(s=s.trim())){let r=function t(e,i,s=1){tw(s<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,n]=function(t){let e=eZ.exec(t);if(!e)return[,];let[,i,s,r]=e;return[`--${i??s}`,r]}(e);if(!r)return;let a=window.getComputedStyle(i).getPropertyValue(r);if(a){let t=a.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return tG(n)?t(n,i,s+1):n}(s,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=s)}}if(this.resolveNoneKeyframes(),!eH.has(i)||2!==t.length)return;let[s,r]=t,n=eJ(s),a=eJ(r);if(tq(s)!==tq(r)&&is[i]){this.needsMeasurement=!0;return}if(n!==a)if(it(n)&&it(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else is[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++)(null===t[e]||function(t){if("number"==typeof t)return 0===t;if(null===t)return!0;return"none"===t||"0"===t||/^0[^.\s]+$/u.test(t)}(t[e]))&&i.push(e);i.length&&function(t,e,i){let s,r=0;for(;r<t.length&&!s;){let e=t[r];"string"==typeof e&&!ip.has(e)&&er(e).values.length&&(s=t[r]),r++}if(s&&i)for(let r of e)t[r]=im(i,s)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=is[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let s=e[e.length-1];void 0!==s&&t.getValue(i,s).jump(s,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let s=t.getValue(e);s&&s.jump(this.measuredOrigin,!1);let r=i.length-1,n=i[r];i[r]=is[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==n&&void 0===this.finalKeyframe&&(this.finalKeyframe=n),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let iv=t=>1e3*t;function iy(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}let ix=t=>null!==t;function i_(t,{repeat:e,repeatType:i="loop"},s,r=1){let n=t.filter(ix),a=r<0||e&&"loop"!==i&&e%2==1?0:n.length-1;return a&&void 0!==s?s:n[a]}class iw{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let ib={layout:0,mainThread:0,waapi:0},iT=t=>Array.isArray(t)&&"number"==typeof t[0],iA=Z(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),iS=(t,e,i=10)=>{let s="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)s+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},iC=([t,e,i,s])=>`cubic-bezier(${t}, ${e}, ${i}, ${s})`,iP={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:iC([0,.65,.55,1]),circOut:iC([.55,0,1,.45]),backIn:iC([.31,.01,.66,-.59]),backOut:iC([.33,1.53,.69,.99])};function ij(t){return"function"==typeof t&&"applyToOptions"in t}class iE extends iw{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:s,pseudoElement:r,allowFlatten:n=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!r,this.allowFlatten=n,this.options=t,tw("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return ij(t)&&iA()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:s=0,duration:r=300,repeat:n=0,repeatType:a="loop",ease:o="easeOut",times:l}={},u){let d={[e]:i};l&&(d.offset=l);let h=function t(e,i){if(e)return"function"==typeof e?iA()?iS(e,i):"ease-out":iT(e)?iC(e):Array.isArray(e)?e.map(e=>t(e,i)||iP.easeOut):iP[e]}(o,r);Array.isArray(h)&&(d.easing=h);let c={delay:s,duration:r,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:n+1,direction:"reverse"===a?"alternate":"normal"};u&&(c.pseudoElement=u);let m=t.animate(d,c);return m}(e,i,s,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=i_(s,this.options,a,this.speed);this.updateMotionValue&&this.updateMotionValue(t),iy(e,i,t),this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){let e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=iv(t),e&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,rangeStart:e,rangeEnd:i,observe:s}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&tt())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),tl):s(this)}}let ik=new Set(["opacity","clipPath","filter","transform"]),{schedule:iM}=td(queueMicrotask,!1),iV=[...eQ,t9,ea],iR=new WeakMap;function iB(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function iD(t){return"string"==typeof t||Array.isArray(t)}let iL=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],iF=["initial",...iL];function iN(t){return iB(t.animate)||iF.some(e=>iD(t[e]))}function iO(t){return!!(iN(t)||t.variants)}let iI={current:null},iG={current:!1},iU="u">typeof window;function iq(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function iW(t,e,i,s){if("function"==typeof e){let[r,n]=iq(s);e=e(void 0!==i?i:t.custom,r,n)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,n]=iq(s);e=e(void 0!==i?i:t.custom,r,n)}return e}let iz=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],i$={};class iY{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:s,skipAnimations:r,blockInitialAnimation:n,visualState:a},o={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=ih,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=tg.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,th.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=a;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=u,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=s,this.skipAnimationsConfig=r,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=iN(e),this.isVariantNode=iO(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in h){const e=h[t];void 0!==l[t]&&eX(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(let t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,iR.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(iG.current||function(){if(iG.current=!0,iU)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>iI.current=t.matches;t.addEventListener("change",e),e()}else iI.current=!1}(),this.shouldReduceMotion=iI.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){for(let t in this.projection&&this.projection.unmount(),tc(this.notifyUpdate),tc(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&ik.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:s,times:r,ease:n,duration:a}=e.accelerate,o=new iE({element:this.current,name:t,keyframes:s,times:r,ease:n,duration:iv(a)}),l=i(o);this.valueSubscriptions.set(t,()=>{l(),o.cancel()});return}let s=eB.has(t);s&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&th.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in i$){let e=i$[t];if(!e)continue;let{isEnabled:i,Feature:s}=e;if(!this.features[t]&&s&&i(this.props)&&(this.features[t]=new s(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):eY()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<iz.length;e++){let i=iz[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let s=t["on"+i];s&&(this.propEventSubscriptions[i]=this.on(i,s))}this.prevMotionValues=function(t,e,i){for(let s in e){let r=e[s],n=i[s];if(eX(r))t.addValue(s,r);else if(eX(n))t.addValue(s,tx(r,{owner:t}));else if(n!==r)if(t.hasValue(s)){let e=t.getValue(s);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(s);t.addValue(s,tx(void 0!==e?e:r,{owner:t}))}}for(let s in i)void 0===e[s]&&t.removeValue(s);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=tx(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){let s,r;if("string"==typeof i&&(s=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(s)||(r=i,/^0[^.\s]+$/u.test(r))))i=parseFloat(i);else{let s;s=i,!iV.find(eK(s))&&ea.test(e)&&(i=im(t,e))}this.setBaseTarget(t,eX(i)?i.get():i)}return eX(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let s=iW(this.props,i,this.presenceContext?.custom);s&&(e=s[t])}if(i&&void 0!==e)return e;let s=this.getBaseTargetFromProps(this.props,t);return void 0===s||eX(s)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:s}on(t,e){return this.events[t]||(this.events[t]=new tn),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){iM.render(this.render)}}class iX extends iY{constructor(){super(...arguments),this.KeyframeResolver=ig}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;eX(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function iH(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let iK=(t,e)=>e&&"number"==typeof t?e.transform(t):t,iQ={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},iJ=eR.length;function iZ(t,e,i){let{style:s,vars:r,transformOrigin:n}=t,a=!1,o=!1;for(let t in e){let i=e[t];if(eB.has(t)){a=!0;continue}if(tO(t)){r[t]=i;continue}{let e=iK(i,eG[t]);t.startsWith("origin")?(o=!0,n[t]=e):s[t]=e}}
1if(!e.transform&&(a||i?s.transform=function(t,e,i){let s="",r=!0;for(let n=0;n<iJ;n++){let a=eR[n],o=t[a];if(void 0===o)continue;let l=!0;if("number"==typeof o)l=o===+!!a.startsWith("scale");else{let t=parseFloat(o);l=a.startsWith("scale")?1===t:0===t}if(!l||i){let t=iK(o,eG[a]);if(!l){r=!1;let e=iQ[a]||a;s+=`${e}(${t}) `}i&&(e[a]=t)}}return s=s.trim(),i?s=i(e,r?"":s):r&&(s="none"),s}(e,t.transform,i):s.transform&&(s.transform="none")),o){let{originX:t="50%",originY:e="50%",originZ:i=0}=n;s.transformOrigin=`${t} ${e} ${i}`}}let i0={offset:"stroke-dashoffset",array:"stroke-dasharray"},i1={offset:"strokeDashoffset",array:"strokeDasharray"},i5=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function i3(t,{attrX:e,attrY:i,attrScale:s,pathLength:r,pathSpacing:n=1,pathOffset:a=0,...o},l,u,d){if(iZ(t,o,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:h,style:c}=t;for(let t of(h.transform&&(c.transform=h.transform,delete h.transform),(c.transform||h.transformOrigin)&&(c.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),c.transform&&(c.transformBox=d?.transformBox??"fill-box",delete h.transformBox),i5))void 0!==h[t]&&(c[t]=h[t],delete h[t]);void 0!==e&&(h.x=e),void 0!==i&&(h.y=i),void 0!==s&&(h.scale=s),void 0!==r&&function(t,e,i=1,s=0,r=!0){t.pathLength=1;let n=r?i0:i1;t[n.offset]=`${-s}`,t[n.array]=`${e} ${i}`}(h,r,n,a,!1)}let i2=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]),i4=t=>"string"==typeof t&&"svg"===t.toLowerCase();function i8(t,{style:e,vars:i},s,r){let n,a=t.style;for(n in e)a[n]=e[n];for(n in r?.applyProjectionStyles(a,s),i)a.setProperty(n,i[n])}function i6(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let i7={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!t2.test(t))return t;else t=parseFloat(t);let i=i6(t,e.target.x),s=i6(t,e.target.y);return`${i}% ${s}%`}},i9={borderRadius:{...i7,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:i7,borderTopRightRadius:i7,borderBottomLeftRadius:i7,borderBottomRightRadius:i7,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let s=ea.parse(t);if(s.length>5)return t;let r=ea.createTransformer(t),n=+("number"!=typeof s[0]),a=i.x.scale*e.x,o=i.y.scale*e.y;s[0+n]/=a,s[1+n]/=o;let l=eu(a,o,.5);return"number"==typeof s[2+n]&&(s[2+n]/=l),"number"==typeof s[3+n]&&(s[3+n]/=l),r(s)}}};function st(t,{layout:e,layoutId:i}){return eB.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!i9[t]||"opacity"===t)}function se(t,e,i){let s=t.style,r=e?.style,n={};if(!s)return n;for(let e in s)(eX(s[e])||r&&eX(r[e])||st(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(n[e]=s[e]);return n}function si(t,e,i){let s=se(t,e,i);for(let i in t)(eX(t[i])||eX(e[i]))&&(s[-1!==eR.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return s}class ss extends iX{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=eY}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(eB.has(e)){let t=eq(e);return t&&t.default||0}return e=i2.has(e)?e:iH(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return si(t,e,i)}build(t,e,i){i3(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,s){for(let i in i8(t,e,void 0,s),e.attrs)t.setAttribute(i2.has(i)?i:iH(i),e.attrs[i])}mount(t){this.isSVGTag=i4(t.tagName),super.mount(t)}}function sr({top:t,left:e,right:i,bottom:s}){return{x:{min:e,max:i},y:{min:t,max:s}}}function sn(t){return void 0===t||1===t}function sa({scale:t,scaleX:e,scaleY:i}){return!sn(t)||!sn(e)||!sn(i)}function so(t){return sa(t)||sl(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function sl(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function su(t,e,i,s,r){return void 0!==r&&(t=s+r*(t-s)),s+i*(t-s)+e}function sd(t,e=0,i=1,s,r){t.min=su(t.min,e,i,s,r),t.max=su(t.max,e,i,s,r)}function sh(t,{x:e,y:i}){sd(t.x,e.translate,e.scale,e.originPoint),sd(t.y,i.translate,i.scale,i.originPoint)}function sc(t,e){t.min+=e,t.max+=e}function sm(t,e,i,s,r=.5){let n=eu(t.min,t.max,r);sd(t,e,i,n,s)}function sp(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function sf(t,e,i){let s=i??t;sm(t.x,sp(e.x,s.x),e.scaleX,e.scale,e.originX),sm(t.y,sp(e.y,s.y),e.scaleY,e.scale,e.originY)}function sg(t,e){return sr(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:s.y,right:s.x}}(t.getBoundingClientRect(),e))}class sv extends iX{constructor(){super(...arguments),this.type="html",this.renderInstance=i8}readValueFromInstance(t,e){if(eB.has(e))return this.projection?.isProjecting?e6(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return e7(i,e)})(t,e);{let i=window.getComputedStyle(t),s=(tO(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}}measureInstanceViewportBox(t,{transformPagePoint:e}){return sg(t,e)}build(t,e,i){iZ(t,e,i.transformTemplate)}
1scrapeMotionValuesFromProps(t,e,i){return se(t,e,i)}}let sy=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function sx(t){if("string"!=typeof t||t.includes("-"));else if(sy.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let s_=(0,a.createContext)({}),sw=(0,a.createContext)({strict:!1}),sb=(0,a.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),sT=(0,a.createContext)({});function sA(t){return Array.isArray(t)?t.join(" "):t}let sS=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function sC(t,e,i){for(let s in e)eX(e[s])||st(s,i)||(t[s]=e[s])}let sP=()=>({...sS(),attrs:{}}),sj=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","propagate","ignoreStrict","viewport"]);function sE(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||sj.has(t)}let sk=t=>!sE(t);try{r=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof r&&(sk=t=>t.startsWith("on")?!sE(t):r(t))}catch{}function sM(t){return eX(t)?t.get():t}let sV=(0,a.createContext)(null),sR=t=>(e,i)=>{var s;let r,n=(0,a.useContext)(sT),o=(0,a.useContext)(sV),l=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,s,r){return{latestValues:function(t,e,i,s){let r={},n=s(t,{});for(let t in n)r[t]=sM(n[t]);let{initial:a,animate:o}=t,l=iN(t),u=iO(t);e&&u&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let d=!!i&&!1===i.initial,h=(d=d||!1===a)?o:a;if(h&&"boolean"!=typeof h&&!iB(h)){let e=Array.isArray(h)?h:[h];for(let i=0;i<e.length;i++){let s=iW(t,e[i]);if(s){let{transitionEnd:t,transition:e,...i}=s;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(i,s,r,t),renderState:e()}})(t,e,n,o);return i?l():(s=l,null===(r=(0,a.useRef)(null)).current&&(r.current=s()),r.current)},sB=sR({scrapeMotionValuesFromProps:se,createRenderState:sS}),sD=sR({scrapeMotionValuesFromProps:si,createRenderState:sP}),sL={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},sF=!1;function sN(){return!function(){if(sF)return;let t={};for(let e in sL)t[e]={isEnabled:t=>sL[e].some(e=>!!t[e])};i$=t,sF=!0}(),i$}let sO=Symbol.for("motionComponentSymbol"),sI="data-"+iH("framerAppearId"),sG=(0,a.createContext)({});function sU(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}function sq(t,{forwardMotionProps:e=!1,type:i}={},s,r){s&&function(t){let e=sN();for(let i in t)e[i]={...e[i],...t[i]};i$=e}(s);let o=i?"svg"===i:sx(t),l=o?sD:sB;function u(i,s){var u;let d,h,c,m={...(0,a.useContext)(sb),...i,layoutId:function({layoutId:t}){let e=(0,a.useContext)(s_).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:p}=m,f=function(t){let{initial:e,animate:i}=function(t,e){if(iN(t)){let{initial:e,animate:i}=t;return{initial:!1===e||iD(e)?e:void 0,animate:iD(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,a.useContext)(sT));return(0,a.useMemo)(()=>({initial:e,animate:i}),[sA(e),sA(i)])}(i),g=l(i,p);if(!p&&"u">typeof window){(0,a.useContext)(sw).strict;let e=function(t){let{drag:e,layout:i}=sN();if(!e&&!i)return{};let s={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}
1(m);d=e.MeasureLayout,f.visualElement=function(t,e,i,s,r,n){let{visualElement:o}=(0,a.useContext)(sT),l=(0,a.useContext)(sw),u=(0,a.useContext)(sV),d=(0,a.useContext)(sb),h=d.reducedMotion,c=d.skipAnimations,m=(0,a.useRef)(null),p=(0,a.useRef)(!1);s=s||l.renderer,!m.current&&s&&(m.current=s(t,{visualState:e,parent:o,props:i,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:h,skipAnimations:c,isSVG:n}),p.current&&m.current&&(m.current.manuallyAnimateOnMount=!0));let f=m.current,g=(0,a.useContext)(sG);f&&!f.projection&&r&&("html"===f.type||"svg"===f.type)&&function(t,e,i,s){let{layoutId:r,layout:n,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u,layoutAnchor:d,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:n,alwaysMeasureLayout:!!a||o&&sU(o),visualElement:t,animationType:"string"==typeof n?n:"both",initialPromotionConfig:s,crossfade:h,layoutScroll:l,layoutRoot:u,layoutAnchor:d})}(m.current,i,r,g);let v=(0,a.useRef)(!1);(0,a.useInsertionEffect)(()=>{f&&v.current&&f.update(i,u)});let y=i[sI],x=(0,a.useRef)(!!y&&"u">typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return ek(()=>{p.current=!0,f&&(v.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),x.current&&f.animationState&&f.animationState.animateChanges())}),(0,a.useEffect)(()=>{f&&(!x.current&&f.animationState&&f.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),x.current=!1),f.enteringChildren=void 0)}),f}(t,g,m,r,e.ProjectionNode,o)}return(0,n.jsxs)(sT.Provider,{value:f,children:[d&&f.visualElement?(0,n.jsx)(d,{visualElement:f.visualElement,...m}):null,function(t,e,i,{latestValues:s},r,n=!1,o){let l=(o??sx(t)?function(t,e,i,s){let r=(0,a.useMemo)(()=>{let i=sP();return i3(i,e,i4(s),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};sC(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i,s,r={},n=(i=t.style||{},sC(s={},i,t),Object.assign(s,function({transformTemplate:t},e){return(0,a.useMemo)(()=>{let i=sS();return iZ(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),s);return t.drag&&!1!==t.dragListener&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=n,r})(e,s,r,t),u=function(t,e,i){let s={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&!eX(t[r])&&(sk(r)||!0===i&&sE(r)||!e&&!sE(r)||t.draggable&&r.startsWith("onDrag"))&&(s[r]=t[r]);return s}(e,"string"==typeof t,n),d=t!==a.Fragment?{...u,...l,ref:i}:{},{children:h}=e,c=(0,a.useMemo)(()=>eX(h)?h.get():h,[h]);return(0,a.createElement)(t,{...d,children:c})}(t,i,(u=f.visualElement,h=(0,a.useRef)(s),(0,a.useInsertionEffect)(()=>{h.current=s}),c=(0,a.useRef)(null),(0,a.useCallback)(t=>{t&&g.onMount?.(t);let e=h.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(c.current=i)}else c.current?(c.current(),c.current=null):e(t);else e&&(e.current=t);u&&(t?u.mount(t):u.unmount())},[u])),g,p,e,o)]})}u.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let d=(0,a.forwardRef)(u);return d[sO]=t,d}class sW{constructor(t){this.isMounted=!1,this.node=t}update(){}}function sz(t,e,i){let s=t.getProps();return iW(s,e,void 0!==i?i:s.custom,t)}function s$(t,e){if(t?.inherit&&e){let{inherit:i,...s}=t;return{...e,...s}}return t}function sY(t,e){let i=t?.[e]??t?.default??t;return i!==t?s$(i,t):i}let sX=t=>Array.isArray(t);function sH(t,e){let i=t.getValue("willChange");if(eX(i)&&i.add)return i.add(e);if(!i&&to.WillChange){let i=new to.WillChange("auto");t.addValue("willChange",i),i.add(e)}}let sK=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>th.update(e,t),stop:()=>tc(e),now:()=>tm.isProcessing?tm.timestamp:tg.now()}};function sQ(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}
1let sJ=.01,sZ=2,s0=.005,s1=.5;function s5(t,e){return t*Math.sqrt(1-e*e)}let s3=["duration","bounce"],s2=["stiffness","damping","mass"];function s4(t,e){return e.some(e=>void 0!==t[e])}function s8(t=.3,e=.3){let i,s,r,n,a,o,l="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:u,restDelta:d}=l,h=l.keyframes[0],c=l.keyframes[l.keyframes.length-1],m={done:!1,value:h},{stiffness:p,damping:f,mass:g,duration:v,velocity:y,isResolvedFromDuration:x}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!s4(t,s2)&&s4(t,s3))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),s=i*i,r=2*tD(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:1,stiffness:s,damping:r}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:s=1}){let r,n;t_(t<=iv(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=tD(.05,1,a),t=tD(.01,10,t/1e3),a<1?(r=e=>{let s=e*a,r=s*t;return .001-(s-i)/s5(e,a)*Math.exp(-r)},n=e=>{let s=e*a*t,n=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-s),l=s5(Math.pow(e,2),a);return(s*i+i-n)*o*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),n=e=>t*t*(i-e)*Math.exp(-e*t));let o=function(t,e,i){let s=i;for(let i=1;i<12;i++)s-=t(s)/e(s);return s}(r,n,5/t);if(t=iv(t),isNaN(o))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(o,2)*s;return{stiffness:e,damping:2*a*Math.sqrt(s*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...l,velocity:-((l.velocity||0)/1e3)}),_=y||0,w=f/(2*Math.sqrt(p*g)),b=c-h,T=Math.sqrt(p/g)/1e3,A=5>Math.abs(b);if(u||(u=A?sJ:sZ),d||(d=A?s0:s1),w<1)r=s5(T,w),n=(_+w*T*b)/r,i=t=>c-Math.exp(-w*T*t)*(n*Math.sin(r*t)+b*Math.cos(r*t)),a=w*T*n+b*r,o=w*T*b-n*r,s=t=>Math.exp(-w*T*t)*(a*Math.sin(r*t)+o*Math.cos(r*t));else if(1===w){i=t=>c-Math.exp(-T*t)*(b+(_+T*b)*t);let t=_+T*b;s=e=>Math.exp(-T*e)*(T*t*e-_)}else{let t=T*Math.sqrt(w*w-1);i=e=>{let i=Math.exp(-w*T*e),s=Math.min(t*e,300);return c-i*((_+w*T*b)*Math.sinh(s)+t*b*Math.cosh(s))/t};let e=(_+w*T*b)/t,r=w*T*e-b*t,n=w*T*b-e*t;s=e=>{let i=Math.exp(-w*T*e),s=Math.min(t*e,300);return i*(r*Math.sinh(s)+n*Math.cosh(s))}}let S={calculatedDuration:x&&v||null,velocity:t=>iv(s(t)),next:t=>{if(!x&&w<1){let e=Math.exp(-w*T*t),i=Math.sin(r*t),s=Math.cos(r*t),l=c-e*(n*i+b*s);return m.done=Math.abs(iv(e*(a*i+o*s)))<=u&&Math.abs(c-l)<=d,m.value=m.done?c:l,m}let e=i(t);return x?m.done=t>=v:m.done=Math.abs(iv(s(t)))<=u&&Math.abs(c-e)<=d,m.value=m.done?c:e,m},toString:()=>{let t=Math.min(sQ(S),2e4),e=iS(e=>S.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return S}function s6(t,e,i){let s=Math.max(e-5,0);return ta(i-t(s),e-s)}function s7({keyframes:t,velocity:e=0,power:i=.8,timeConstant:s=325,bounceDamping:r=10,bounceStiffness:n=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:d}){let h,c,m=t[0],p={done:!1,value:m},f=i*e,g=m+f,v=void 0===a?g:a(g);v!==g&&(f=v-m);let y=t=>-f*Math.exp(-t/s),x=t=>v+y(t),_=t=>{let e=y(t),i=x(t);p.done=Math.abs(e)<=u,p.value=p.done?v:i},w=t=>{let e;if(e=p.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;h=t,c=s8({keyframes:[p.value,(i=p.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:s6(x,t,p.value),damping:r,stiffness:n,restDelta:u,restSpeed:d})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==h||(e=!0,_(t),w(t)),void 0!==h&&t>=h)?c.next(t-h):(e||_(t),p)}}}s8.applyToOptions=t=>{let e=function(t,e=100,i){let s=i({...t,keyframes:[0,e]}),r=Math.min(sQ(s),2e4);return{type:"keyframes",ease:t=>s.next(r*t).value/e,duration:r/1e3}}(t,100,s8);return t.ease=e.ease,t.duration=iv(e.duration),t.type="keyframes",t};let s9=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function rt(t,e,i,s){return t===e&&i===s?tl:r=>0===r||1===r?r:s9(function(t,e,i,s,r){let n,a,o=0;do(n=s9(a=e+(i-e)/2,s,r)-t)>0?i=a:e=a;while(Math.abs(n)>1e-7&&++o<12)return a}(r,0,1,t,i),e,s)}let re=rt(.42,0,1,1),ri=rt(0,0,.58,1),rs=rt(.42,0,.58,1),rr=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,rn=t=>e=>1-t(1-e),ra=rt(.33,1.53,.69,.99),ro=rn(ra),rl=rr(ro),ru=t=>t>=1?1:(t*=2)<1?.5*ro(t):.5*(2-Math.pow(2,-10*(t-1))),rd=t=>1-Math.sin(Math.acos(t)),rh=rn(rd),rc=rr(rd),rm={linear:tl,easeIn:re,easeInOut:rs,easeOut:ri,circIn:rd,circInOut:rc,circOut:rh,backIn:ro,backInOut:rl,backOut:ra,anticipate:ru},rp=t=>{if(iT(t)){tw(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,s,r]=t;return rt(e,i,s,r)}return"string"==typeof t?(tw(void 0!==rm[t],`Invalid easing type '${t}
1'`,"invalid-easing-type"),rm[t]):t};function rf({duration:t=300,keyframes:e,times:i,ease:s="easeInOut"}){var r;let n=Array.isArray(s)&&"number"!=typeof s[0]?s.map(rp):rp(s),a={done:!1,value:e[0]},o=ew((r=i&&i.length===e.length?i:eb(e),r.map(e=>e*t)),e,{ease:Array.isArray(n)?n:e.map(()=>n||rs).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=o(e),a.done=e>=t,a)}}let rg={decay:s7,inertia:s7,tween:rf,keyframes:rf,spring:s8};function rv(t){"string"==typeof t.type&&(t.type=rg[t.type])}let ry=t=>t/100;class rx extends iw{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.delayState={done:!1,value:void 0},this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==tg.now()&&this.tick(tg.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},ib.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;rv(t);let{type:e=rf,repeat:i=0,repeatDelay:s=0,repeatType:r,velocity:n=0}=t,{keyframes:a}=t,o=e||rf;o!==rf&&"number"!=typeof a[0]&&(this.mixKeyframes=tF(ry,e_(a[0],a[1])),a=[0,100]);let l=o({...t,keyframes:a});"mirror"===r&&(this.mirroredGenerator=o({...t,keyframes:[...a].reverse(),velocity:-n})),null===l.calculatedDuration&&(l.calculatedDuration=sQ(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+s,this.totalDuration=this.resolvedDuration*(i+1)-s,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let i,{generator:s,totalDuration:r,mixKeyframes:n,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return s.next(0);let{delay:u=0,keyframes:d,repeat:h,repeatType:c,repeatDelay:m,type:p,onUpdate:f,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-r/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-u*(this.playbackSpeed>=0?1:-1),y=this.playbackSpeed>=0?v<0:v>r;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=r);let x=this.currentTime,_=s;if(h){let t=Math.min(this.currentTime,r)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,h+1))%2&&("reverse"===c?(i=1-i,m&&(i-=m/o)):"mirror"===c&&(_=a)),x=tD(0,1,i)*o}y?(this.delayState.value=d[0],i=this.delayState):i=_.next(x),n&&!y&&(i.value=n(i.value));let{done:w}=i;y||null===l||(w=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let b=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return b&&p!==s7&&(i.value=i_(d,this.options,g,this.speed)),f&&f(i.value),b&&this.finish(),i}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return this.currentTime/1e3}set time(t){t=iv(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){let t=this.currentTime;if(t<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(t);let e=this.generator.next(t).value;return s6(t=>this.generator.next(t).value,t,e)}get speed(){return this.playbackSpeed}set speed(t){let e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(tg.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=sK,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tg.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,ib.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}let r_={anticipate:ru,backInOut:rl,circInOut:rc};class rw extends iE{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in r_&&(t.ease=r_[t.ease])}(t),rv(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:s,element:r,...n}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new rx({...n,autoplay:!1}),o=Math.max(10,tg.now()-this.startTime),l=tD(0,10,o-10),u=a.sample(o).value,{name:d}=this.options;r&&d&&iy(r,d,u),e.setWithVelocity(a.sample(Math.max(0,o-l)).value,u,l),a.stop()}}let rb=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(ea.test(t)||"0"===t)&&!t.startsWith("url("));function rT(t){t.duration=0,t.type="keyframes"}let rA=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,rS=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),rC=Q(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class rP extends iw{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:s=0,repeatDelay:r=0,repeatType:n="loop",keyframes:a,name:o,motionValue:l,element:u,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tg.now();const h={autoplay:t,delay:e,type:i,repeat:s,repeatDelay:r,repeatType:n,name:o,motionValue:l,element:u,...d},c=u?.KeyframeResolver||ih;this.keyframeResolver=new c(a,(t,e,i)=>this.onKeyframesResolved(t,e,h,!i),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,s){let r;this.keyframeResolver=void 0;let{name:n,type:a,velocity:o,delay:l,isHandoff:u,onUpdate:d}=i;this.resolvedAt=tg.now();let h=!0;
1!function(t,e,i,s){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let n=t[t.length-1],a=rb(r,e),o=rb(n,e);return t_(a===o,`You are trying to animate ${e} from "${r}" to "${n}". "${a?n:r}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||ij(i))&&s)}(t,n,a,o)&&(h=!1,(to.instantAnimations||!l)&&d?.(i_(t,i,e)),t[0]=t[t.length-1],rT(i),i.repeat=0);let c={startTime:s?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},m=h&&!u&&function(t){let{motionValue:e,name:i,repeatDelay:s,repeatType:r,damping:n,type:a,keyframes:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=e.owner.getProps();return rC()&&i&&(ik.has(i)||rS.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&rA.test(t[e]))return!0;return!1}(o))&&("transform"!==i||!u)&&!l&&!s&&"mirror"!==r&&0!==n&&"inertia"!==a}(c),p=c.motionValue?.owner?.current;if(m)try{r=new rw({...c,element:p})}catch{r=new rx(c)}else r=new rx(c);r.finished.then(()=>{this.notifyFinished()}).catch(tl),this.pendingTimeline&&(this.stopTimeline=r.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=r}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),il=!0,id(),iu(),il=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let rj={type:"spring",stiffness:500,damping:25,restSpeed:10},rE={type:"keyframes",duration:.8},rk={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},rM=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),rV=(t,e,i,s={},r,n)=>a=>{let o=sY(s,t)||{},l=o.delay||s.delay||0,{elapsed:u=0}=s;u-=iv(l);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...o,delay:-u,onUpdate:t=>{e.set(t),o.onUpdate&&o.onUpdate(t)},onComplete:()=>{a(),o.onComplete&&o.onComplete()},name:t,motionValue:e,element:n?void 0:r};!function(t){for(let e in t)if(!rM.has(e))return!0;return!1}(o)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?rE:eB.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:rj:rk)(t,d)),d.duration&&(d.duration=iv(d.duration)),d.repeatDelay&&(d.repeatDelay=iv(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let h=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(rT(d),0===d.delay&&(h=!0)),(to.instantAnimations||to.skipAnimations||r?.shouldSkipAnimations)&&(h=!0,rT(d),d.delay=0),d.allowFlatten=!o.type&&!o.ease,h&&!n&&void 0!==e.get()){let t=i_(d.keyframes,o);if(void 0!==t)return void th.update(()=>{d.onUpdate(t),d.onComplete()})}return o.isSync?new rx(d):new rP(d)};function rR(t,e,{delay:i=0,transitionOverride:s,type:r}={}){let{transition:n,transitionEnd:a,...o}=e,l=t.getDefaultTransition();n=n?s$(n,l):l;let u=n?.reduceMotion;s&&(n=s);let d=[],h=r&&t.animationState&&t.animationState.getState()[r];for(let e in o){let s=t.getValue(e,t.latestValues[e]??null),r=o[e];if(void 0===r||h&&function({protectedKeys:t,needsAnimating:e},i){let s=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,s}(h,e))continue;let a={delay:i,...sY(n||{},e)},l=s.get();if(void 0!==l&&!s.isAnimating()&&!Array.isArray(r)&&r===l&&!a.velocity){th.update(()=>s.set(r));continue}let c=!1;if(window.MotionHandoffAnimation){let i=t.props[sI];if(i){let t=window.MotionHandoffAnimation(i,e,th);null!==t&&(a.startTime=t,c=!0)}}sH(t,e);let m=u??t.shouldReduceMotion;s.start(rV(e,s,r,m&&eH.has(e)?{type:!1}:a,t,c));let p=s.animation;p&&d.push(p)}if(a){let e=()=>th.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:s={},...r}=sz(t,e)||{};for(let e in r={...r,...i}){var n;let i=sX(n=r[e])?n[n.length-1]||0:n;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,tx(i))}}(t,a)});d.length?Promise.all(d).then(e):e()}return d}function rB(t,e,i,s=0,r=1){let n=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,o=(a-1)*s;return"function"==typeof i?i(n,a):1===r?n*s:o-n*s}function rD(t,e,i={}){let s=sz(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=s||{};i.transitionOverride&&(r=i.transitionOverride);let n=s?()=>Promise.all(rR(t,s,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(s=0)=>{let{delayChildren:n=0,staggerChildren:a,staggerDirection:o}=r;
1return function(t,e,i=0,s=0,r=0,n=1,a){let o=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),o.push(rD(l,e,{...a,delay:i+("function"==typeof s?0:s)+rB(t.variantChildren,l,s,r,n)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}(t,e,s,n,a,o,i)}:()=>Promise.resolve(),{when:o}=r;if(!o)return Promise.all([n(),a(i.delay)]);{let[t,e]="beforeChildren"===o?[n,a]:[a,n];return t().then(()=>e())}}let rL=iF.length;function rF(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let s=0;s<i;s++)if(e[s]!==t[s])return!1;return!0}let rN=[...iL].reverse(),rO=iL.length;function rI(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function rG(){return{animate:rI(!0),whileInView:rI(),whileHover:rI(),whileTap:rI(),whileDrag:rI(),whileFocus:rI(),exit:rI()}}let rU=0;function rq(t){return[t("x"),t("y")]}function rW(t,e,i,s={passive:!0}){return t.addEventListener(e,i,s),()=>t.removeEventListener(e,i)}let rz={x:!1,y:!1};function r$(t){return t.max-t.min}function rY(t,e,i,s=.5){t.origin=s,t.originPoint=eu(e.min,e.max,t.origin),t.scale=r$(i)/r$(e),t.translate=eu(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function rX(t,e,i,s){rY(t.x,e.x,i.x,s?s.originX:void 0),rY(t.y,e.y,i.y,s?s.originY:void 0)}function rH(t,e,i,s=0){t.min=(s?eu(i.min,i.max,s):i.min)+e.min,t.max=t.min+r$(e)}function rK(t,e,i,s=0){let r=s?eu(i.min,i.max,s):i.min;t.min=e.min-r,t.max=t.min+r$(e)}function rQ(t,e,i,s){rK(t.x,e.x,i.x,s?.x),rK(t.y,e.y,i.y,s?.y)}let rJ=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),rZ=new Set(["INPUT","SELECT","TEXTAREA"]),r0=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function r1(t){return{point:{x:t.pageX,y:t.pageY}}}function r5(t,e,i,s){return rW(t,e,t=>r0(t)&&i(t,r1(t)),s)}let r3=({current:t})=>t?t.ownerDocument.defaultView:null,r2=(t,e)=>Math.abs(t-e),r4=new Set(["auto","scroll"]);class r8{constructor(t,e,{transformPagePoint:i,contextWindow:s=window,dragSnapToOrigin:r=!1,distanceThreshold:n=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{var t,e;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=r6(this.lastRawMoveEventInfo,this.transformPagePoint));let i=r9(this.lastMoveEventInfo,this.history),s=null!==this.startEvent,r=(t=i.offset,e={x:0,y:0},Math.sqrt(r2(t.x,e.x)**2+r2(t.y,e.y)**2)>=this.distanceThreshold);if(!s&&!r)return;let{point:n}=i,{timestamp:a}=tm;this.history.push({...n,timestamp:a});let{onStart:o,onMove:l}=this.handlers;s||(o&&o(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=r6(e,this.transformPagePoint),th.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:s,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let n=r9("pointercancel"===t.type?this.lastMoveEventInfo:r6(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,n),s&&s(t,n)},!r0(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=n,this.contextWindow=s||window;const o=r6(r1(t),this.transformPagePoint),{point:l}=o,{timestamp:u}=tm;this.history=[{...l,timestamp:u}];const{onSessionStart:d}=e;d&&d(t,r9(o,this.history)),this.removeListeners=tF(r5(this.contextWindow,"pointermove",this.handlePointerMove),r5(this.contextWindow,"pointerup",this.handlePointerUp),r5(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(r4.has(t.overflowX)||r4.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,s=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:s.x-e.x,y:s.y-e.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,s),th.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tc(this.updatePoint)}}function r6(t,e){return e?{point:e(t.point)}:t}function r7(t,e){return{x:t.x-e.x,y:t.y-e.y}}function r9({point:t},e){return{point:t,delta:r7(t,nt(e)),offset:r7(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,s=nt(t);for(;e>=0&&(i=t[e],!(s.timestamp-i.timestamp>iv(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&s.timestamp-i.timestamp>2*iv(.1)&&(i=t[1]);let r=(s.timestamp-i.timestamp)/1e3;if(0===r)return{x:0,y:0};let n={x:(s.x-i.x)/r,y:(s.y-i.y)/r};return n.x===1/0&&(n.x=0),n.y===1/0&&(n.y=0),n}(e)}}function nt(t){return t[t.length-1]}function ne(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function ni(t,e){let i=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,s]=[s,i]),{min:i,max:s}}
1function ns(t,e,i){return{min:nr(t,e),max:nr(t,i)}}function nr(t,e){return"number"==typeof t?t:t[e]||0}let nn=new WeakMap;class na{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=eY(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:s}=this.visualElement;if(s&&!1===s.isPresent)return;let r=t=>{e&&this.snapToCursor(r1(t).point),this.stopAnimation()},n=(t,e)=>{let{drag:i,dragPropagation:s,onDragStart:r}=this.getProps();if(i&&!s&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(rz[t])return null;else return rz[t]=!0,()=>{rz[t]=!1};return rz.x||rz.y?null:(rz.x=rz.y=!0,()=>{rz.x=rz.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),rq(t=>{let e=this.getAxisMotionValue(t).get()||0;if(t3.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let s=i.layout.layoutBox[t];s&&(e=r$(s)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&th.update(()=>r(t,e),!1,!0),sH(this.visualElement,"transform");let{animationState:n}=this.visualElement;n&&n.setActive("whileDrag",!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:s,onDirectionLock:r,onDrag:n}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(s&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),n&&th.update(()=>n(t,e),!1,!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>{let{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:u}=this.getProps();this.panSession=new r8(t,{onSessionStart:r,onStart:n,onMove:a,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:r3(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,s=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!s||!i)return;let{velocity:n}=s;this.startAnimation(n);let{onDragEnd:a}=this.getProps();a&&th.postRender(()=>a(i,s))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,i){let{drag:s}=this.getProps();if(!i||!nl(t,s,this.currentDirection))return;let r=this.getAxisMotionValue(t),n=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(n=function(t,{min:e,max:i},s){return void 0!==e&&t<e?t=s?eu(e,t,s.min):Math.max(t,e):void 0!==i&&t>i&&(t=s?eu(i,t,s.max):Math.min(t,i)),t}(n,this.constraints[t],this.elastic[t])),r.set(n)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,s=this.constraints;t&&sU(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:s,right:r}){return{x:ne(t.x,i,r),y:ne(t.y,e,s)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:ns(t,"left","right"),y:ns(t,"top","bottom")}}(e),s!==this.constraints&&!sU(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&rq(t=>{var e,s;let r;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],s=this.constraints[t],r={},void 0!==s.min&&(r.min=s.min-e.min),void 0!==s.max&&(r.max=s.max-e.min),r))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!sU(e))return!1;let s=e.current;tw(null!==s,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;
1let n=function(t,e,i){let s=sg(t,i),{scroll:r}=e;return r&&(sc(s.x,r.offset.x),sc(s.y,r.offset.y)),s}(s,r.root,this.visualElement.getTransformPagePoint()),a=(t=r.layout.layoutBox,{x:ni(t.x,n.x),y:ni(t.y,n.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(a));this.hasMutatedConstraints=!!t,t&&(a=sr(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:s,dragTransition:r,dragSnapToOrigin:n,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(rq(a=>{if(!nl(a,e,this.currentDirection))return;let l=o&&o[a]||{};(!0===n||n===a)&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[a]:0,bounceStiffness:s?200:1e6,bounceDamping:s?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return sH(this.visualElement,t),i.start(rV(t,i,0,e,this.visualElement,!1))}stopAnimation(){rq(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){rq(e=>{let{drag:i}=this.getProps();if(!nl(e,i,this.currentDirection))return;let{projection:s}=this.visualElement,r=this.getAxisMotionValue(e);if(s&&s.layout){let{min:i,max:n}=s.layout.layoutBox[e],a=r.get()||0;r.set(t[e]-eu(i,n,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!sU(e)||!i||!this.constraints)return;this.stopAnimation();let s={x:0,y:0};rq(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,r;let n,a,o,l=e.get();s[t]=(i={min:l,max:l},r=this.constraints[t],n=.5,a=r$(i),(o=r$(r))>a?n=tR(r.min,r.max-a,i.min):a>o&&(n=tR(i.min,i.max-o,r.min)),tD(0,1,n))}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),rq(e=>{if(!nl(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:n}=this.constraints[e];i.set(eu(r,n,s[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;nn.set(this.visualElement,this);let e=this.visualElement.current,i=r5(e,"pointerdown",t=>{let{drag:i,dragListener:s=!0}=this.getProps(),r=t.target,n=r!==e&&(rZ.has(r.tagName)||!0===r.isContentEditable);i&&s&&!n&&this.start(t)}),s=()=>{var i,s,r;let n,a,{dragConstraints:o}=this.getProps();sU(o)&&o.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,s=o.current,n=tV(i,no(r=()=>this.scalePositionWithinConstraints())),a=tV(s,no(r)),t=()=>{n(),a()}))},{projection:r}=this.visualElement,n=r.addEventListener("measure",s);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),th.read(s);let a=rW(window,"resize",()=>this.scalePositionWithinConstraints()),o=r.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(rq(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{a(),i(),n(),o&&o(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:s=!1,dragConstraints:r=!1,dragElastic:n=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:s,dragConstraints:r,dragElastic:n,dragMomentum:a}}}function no(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function nl(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let nu=t=>(e,i)=>{t&&th.update(()=>t(e,i),!1,!0)},nd={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var nh=a;let nc=!1;class nm extends nh.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:s}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),i&&i.register&&s&&i.register(r),nc&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),nd.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:s,isPresent:r}=this.props,{projection:n}=i;return n&&(n.isPresent=r,t.layoutDependency!==e&&n.setOptions({...n.options,layoutDependency:e}),nc=!0,s||t.layoutDependency!==e||void 0===e||t.isPresent!==r?n.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?n.promote():n.relegate()||th.postRender(()=>{let t=n.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{visualElement:t,layoutAnchor:e}=this.props,{projection:i}=t;i&&(i.options.layoutAnchor=e,i.root.didUpdate(),iM.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:s}=t;nc=!0,s&&(s.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(s),i&&i.deregister&&i.deregister(s))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function np(t){let[e,i]=function(t=!0){let e=(0,a.useContext)(sV);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:r}=e,n=(0,a.useId)();(0,a.useEffect)(()=>
1{if(t)return r(n)},[t]);let o=(0,a.useCallback)(()=>t&&s&&s(n),[n,s,t]);return!i&&s?[!1,o]:[!0]}(),s=(0,nh.useContext)(s_);return(0,n.jsx)(nm,{...t,layoutGroup:s,switchLayoutGroup:(0,nh.useContext)(sG),isPresent:e,safeToRemove:i})}let nf=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],ng=nf.length,nv=t=>"string"==typeof t?parseFloat(t):t,ny=t=>"number"==typeof t||t2.test(t);function nx(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let n_=nb(0,.5,rh),nw=nb(.5,.95,tl);function nb(t,e,i){return s=>s<t?0:s>e?1:i(tR(t,e,s))}function nT(t,e){t.min=e.min,t.max=e.max}function nA(t,e){nT(t.x,e.x),nT(t.y,e.y)}function nS(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function nC(t,e,i,s,r){return t-=e,t=s+1/i*(t-s),void 0!==r&&(t=s+1/r*(t-s)),t}function nP(t,e,[i,s,r],n,a){!function(t,e=0,i=1,s=.5,r,n=t,a=t){if(t3.test(e)&&(e=parseFloat(e),e=eu(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=eu(n.min,n.max,s);t===n&&(o-=e),t.min=nC(t.min,e,i,o,r),t.max=nC(t.max,e,i,o,r)}(t,e[i],e[s],e[r],e.scale,n,a)}let nj=["x","scaleX","originX"],nE=["y","scaleY","originY"];function nk(t,e,i,s){nP(t.x,e,nj,i?i.x:void 0,s?s.x:void 0),nP(t.y,e,nE,i?i.y:void 0,s?s.y:void 0)}function nM(t){return 0===t.translate&&1===t.scale}function nV(t){return nM(t.x)&&nM(t.y)}function nR(t,e){return t.min===e.min&&t.max===e.max}function nB(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function nD(t,e){return nB(t.x,e.x)&&nB(t.y,e.y)}function nL(t){return r$(t.x)/r$(t.y)}function nF(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class nN{constructor(){this.members=[]}add(t){ts(this.members,t);for(let e=this.members.length-1;e>=0;e--){let i=this.members[e];if(i===t||i===this.lead||i===this.prevLead)continue;let s=i.instance;s&&!1!==s.isConnected||i.snapshot||(tr(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if(tr(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:s}=i.options,{layoutDependency:r}=t.options;(void 0===s||s!==r)&&(t.resumeFrom=i,e&&(i.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}let nO=(t,e)=>t.depth-e.depth;class nI{constructor(){this.children=[],this.isDirty=!1}add(t){ts(this.children,t),this.isDirty=!0}remove(t){tr(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(nO),this.isDirty=!1,this.children.forEach(t)}}let nG=["","X","Y","Z"],nU=0;function nq(t,e,i,s){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),s&&(s[t]=0))}function nW({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:s,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=nU++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
1{this.projectionUpdateScheduled=!1,this.nodes.forEach(nY),this.nodes.forEach(n5),this.nodes.forEach(n3),this.nodes.forEach(nX)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new nI)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tn),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=tT(e)&&!(tT(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:s,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),t){let i,s=0,r=()=>this.root.updateBlockedByResize=!1;th.read(()=>{s=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==s){let e,n;s=t,this.root.updateBlockedByResize=!0,i&&i(),e=tg.now(),n=({timestamp:t})=>{let i=t-e;i>=250&&(tc(n),r(i-250))},th.setup(n,!0),i=()=>tc(n),nd.hasAnimatedSinceResize&&(nd.hasAnimatedSinceResize=!1,this.nodes.forEach(n1))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:s})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||r.getDefaultTransition()||n9,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=r.getProps(),l=!this.targetLayout||!nD(this.targetLayout,s),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...sY(n,"layout"),onPlay:a,onComplete:o};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||n1(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=s})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tc(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(n2),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let s=i.props[sI];if(window.MotionHasOptimisedAnimation(s,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(s,"transform",th,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,("string"==typeof e.latestValues.x||"string"==typeof e.latestValues.y)&&(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let s=this.getTransformTemplate();this.prevTransformTemplateValue=s?s(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEac
1h(nQ),this.nodes.forEach(nK);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(nJ);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(nZ),this.nodes.forEach(n0),this.nodes.forEach(nz),this.nodes.forEach(n$)):this.nodes.forEach(nJ),this.clearAllSnapshots();let t=tg.now();tm.delta=tD(0,1e3/60,t-tm.timestamp),tm.timestamp=t,tm.isProcessing=!0,tp.update.process(tm),tp.preRender.process(tm),tp.render.process(tm),tm.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,iM.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(nH),this.sharedNodes.forEach(n4)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,th.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){th.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||r$(this.snapshot.measuredBox.x)||r$(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||(this.layoutCorrected=eY()),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=s(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!nV(this.projectionDelta),i=this.getTransformTemplate(),s=i?i(this.latestValues,""):void 0,n=s!==this.prevTransformTemplateValue;t&&this.instance&&(e||so(this.latestValues)||n)&&(r(this.instance,s),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),s=this.removeElementScroll(i);return t&&(s=this.removeTransform(s)),ai((e=s).x),ai(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:s,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return eY();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(ar))){let{scroll:t}=this.root;t&&(sc(e.x,t.offset.x),sc(e.y,t.offset.y))}return e}removeElementScroll(t){let e=eY();if(nA(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let s=this.path[i],{scroll:r,options:n}=s;s!==this.root&&r&&n.layoutScroll&&(r.wasRoot&&nA(e,t),sc(e.x,r.offset.x),sc(e.y,r.offset.y))}return e}applyTransform(t,e=!1,i){let s=i||eY();nA(s,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(sc(s.x,-i.scroll.offset.x),sc(s.y,-i.scroll.offset.y)),so(i.latestValues)&&sf(s,i.latestValues,i.layout?.layoutBox)}return so(this.latestValues)&&sf(s,this.latestValues,this.layout?.layoutBox),s}removeTransform(t){let e=eY();nA(e,t);for(let t=0;t<this.path.length;t++){let i,s=this.path[t];so(s.latestValues)&&(s.instance&&(sa(s.latestValues)&&s.updateSnapshot(),nA(i=eY(),s.measurePageBox())),nk(e,s.latestValues,s.snapshot?.layoutBox,i))}return so(this.latestValues)&&nk(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tm.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:s,layoutId:r}=this.options;if(!this.layout||!(s||r))return;this.resolvedRelativeTargetAt=tm.timestamp;let n=this.getClosestProjectingParent();if(n&&this.linkedParentVersion!==n.layoutVersion&&!n.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&n&&n.layout?this.createRelativeTarget(n,this.layout.layoutBox,n.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=eY(),this.targetWithTransforms=eY()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var a,o,l,u;this.forceRelativeParentToResolveTarget(),a=this.target,o=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,rH(a.x,o.x,l.x,u?.x),rH(a.y,o.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):nA(this.target,this.layout.layoutBox),sh(this.target,this.targetDelta)):nA(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&n&&!!n.resumingFrom==!!this.resumingFrom&&!n.options.layoutScroll&&n.target&&1!==this.animationProgress?this.createRelativeTarget(n,this.target,n.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||sa(this.parent.latestValues)||sl(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=eY(),this.relativeTargetOrigin=eY(),rQ(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),nA(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tm.timestamp&&(i=!1),i)return;let{layout:s,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(s||r))return;nA(this.layoutCorrected,this.layout.layoutBox);let n=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,s=!1){let r,n,a=i.length;if(a){e.x=e.y=1;for(let o=0;o<a;o++){n=(r=i[o]).projectionDelta;let{visualElement:a}=r.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&(sc(t.x,-r.scroll.offset.x),sc(t.y,-r.scroll.offset.y)),n&&(e.x*=n.x.scale,e.y*=n.y.scale,sh(t,n)),s&&so(r.latestValues)&&sf(t,r.latestValues,r.layout?.layoutBox))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=eY());let{target:o}=t;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(nS(this.prevProjectionDelta.x,this.projectionDelta.x),nS(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),rX(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===n&&this.treeScale.y===a&&nF(this.projectionDelta.x,this.prevProjectionDelta.x)&&nF(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=ez(),this.projectionDelta=ez(),this.projectionDeltaWithTransform=ez()}setAnimationOrigin(t,e=!1){let i,s=this.snapshot,r=s?s.latestValues:{},n={...this.latestValues},a=ez();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let o=eY(),l=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),d=!u||u.members.length<=1,h=!!(l&&!d&&!0===this.options.crossfade&&!this.path.some(n7));this.animationProgress=0,this.mixTargetDelta=e=>{let s=e/1e3;if(n8(a.x,t.x,s),n8(a.y,t.y,s),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,m,p,f,g;rQ(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,p=this.relativeTargetOrigin,f=o,g=s,n6(m.x,p.x,f.x,g),n6(m.y,p.y,f.y,g),i&&(u=this.relativeTarget,c=i,nR(u.x,c.x)&&nR(u.y,c.y))&&(this.isProjectionDirty=!1),i||(i=eY()),nA(i,this.relativeTarget)}l&&(this.animationValues=n,function(t,e,i,s,r,n){r?(t.opacity=eu(0,i.opacity??1,n_(s)),t.opacityExit=eu(e.opacity??1,0,nw(s))):n&&(t.opacity=eu(e.opacity??1,i.opacity??1,s));for(let r=0;r<ng;r++){let n=nf[r],a=nx(e,n),o=nx(i,n);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||ny(a)===ny(o)?(t[n]=Math.max(eu(nv(a),nv(o),s),0),(t3.test(o)||t3.test(a))&&(t[n]+="%")):t[n]=o)}(e.rotate||i.rotate)&&(t.rotate=eu(e.rotate||0,i.rotate||0,s))}(n,r,this.latestValues,s,h,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=s},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tc(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=th.update(()=>{var e,i,s;let r;nd.hasAnimatedSinceResize=!0,ib.layout++,this.motionValue||(this.motionValue=tx(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],s={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{ib.layout--},onComplete:()=>{ib.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(r=eX(e)?e:tx(e)).start(rV("",r,i,s)),r.animation),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:s,latestValues:r}=t;if(e&&i&&s){if(this!==t&&this.layout&&s&&as(this.options.animationType,this.layout.layoutBox,s.layoutBox)){i=this.target||eY();let e=r$(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let s=r$(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+s}nA(e,i),sf(e,r),rX(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new nN),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let s=this.getStack();s&&s.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let s={};i.z&&nq("z",t,s,this.animationValues);for(let e=0;e<nG.length;e++)nq(`rotate${nG[e]}`,t,s,this.animationValues),nq(`skew${nG[e]}`,t,s,this.animationValues);for(let e in t.render(),s)t.setStaticValue(e,s[e]),this.animationValues&&(this.animationValues[e]=s[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=sM(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=sM(e?.pointerEvents)||""),this.hasProjected&&!so(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=s.animationValues||s.latestValues;this.applyTransformsToTarget();let n=function(t,e,i){let s="",r=t.x.translate/e.x,n=t.y.translate/e.y,a=i?.z||0;if((r||n||a)&&(s=`translate3d(${r}px, ${n}px, ${a}px) `),(1!==e.x||1!==e.y)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:n,skewX:a,skewY:o}=i;t&&(s=`perspective(${t}px) ${s}`),e&&(s+=`rotate(${e}deg) `),r&&(s+=`rotateX(${r}deg) `),n&&(s+=`rotateY(${n}deg) `),a&&(s+=`skewX(${a}deg) `),o&&(s+=`skewY(${o}deg) `)}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(s+=`scale(${o}, ${l})`),s||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(n=i(r,n)),t.transform=n;let{x:a,y:o}=this.projectionDelta;for(let e in t.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,s.animationValues?t.opacity=s===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=s===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,i9){if(void 0===r[e])continue;let{correct:i,applyTo:a,isCSSVariable:o}=i9[e],l="none"===n?r[e]:i(r[e],s);if(a){let e=a.length;for(let i=0;i<e;i++)t[a[i]]=l}else o?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=s===this?sM(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(nK),this.root.sharedNodes.clear()}}}function nz(t){t.updateLayout()}function n$(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:s}=t.layout,{animationType:r}=t.options,n=e.source!==t.layout.source;if("size"===r)rq(t=>{let s=n?e.measuredBox[t]:e.layoutBox[t],r=r$(s);s.min=i[t].min,s.max=s.min+r});else if("x"===r||"y"===r){let t="x"===r?"y":"x";nT(n?e.measuredBox[t]:e.layoutBox[t],i[t])}else as(r,e.layoutBox,i)&&rq(s=>{let r=n?e.measuredBox[s]:e.layoutBox[s],a=r$(i[s]);r.max=r.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[s].max=t.relativeTarget[s].min+a)});let a=ez();rX(a,i,e.layoutBox);let o=ez();n?rX(o,t.applyTransform(s,!0),e.measuredBox):rX(o,i,e.layoutBox);let l=!nV(a),u=!1;if(!t.resumeFrom){let s=t.getClosestProjectingParent();if(s&&!s.resumeFrom){let{snapshot:r,layout:n}=s;if(r&&n){let a=t.options.layoutAnchor||void 0,o=eY();rQ(o,e.layoutBox,r.layoutBox,a);let l=eY();rQ(l,i,n.layoutBox,a),nD(o,l)||(u=!0),s.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=o,t.relativeParent=s)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function nY(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function nX(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function nH(t){t.clearSnapshot()}function nK(t){t.clearMeasurements()}function nQ(t){t.isLayoutDirty=!0,t.updateLayout()}function nJ(t){t.isLayoutDirty=!1}function nZ(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function n0(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function n1(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function n5(t){t.resolveTargetDelta()}function n3(t){t.calcProjection()}function n2(t){t.resetSkewAndRotation()}function n4(t){t.removeLeadSnapshot()}function n8(t,e,i){t.translate=eu(e.translate,0,i),t.scale=eu(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function n6(t,e,i,s){t.min=eu(e.min,i.min,s),t.max=eu(e.max,i.max,s)}function n7(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let n9={duration:.45,ease:[.4,0,.1,1]},at=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ae=at("applewebkit/")&&!at("chrome/")?Math.round:tl;function ai(t){t.min=ae(t.min),t.max=ae(t.max)}function as(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(nL(e)-nL(i)))}function ar(t){return t!==t.root&&t.scroll?.wasRoot}let an=nW({attachResizeListener:(t,e)=>rW(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),aa={current:void 0},ao=nW({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!aa.current){let t=new an({});t.mount(window),t.setOptions({layoutScroll:!0}),aa.current=t}return aa.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function al(t,e){let i=tA(t),s=new AbortController;return[i,{passive:!0,...e,signal:s.signal},()=>s.abort()]}function au(t,e,i){let{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=s["onHover"+i];r&&th.postRender(()=>r(e,r1(e)))}let ad=(t,e)=>!!e&&(t===e||ad(t,e.parentElement)),ah=new WeakSet;function ac(t){return e=>{"Enter"===e.key&&t(e)}}function am(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function ap(t){return r0(t)&&!(rz.x||rz.y)}let af=new WeakSet;function ag(t,e,i){let{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=s["onTap"+("End"===i?"":i)];r&&th.postRender(()=>r(e,r1(e)))}let av=new WeakMap,ay=new WeakMap,ax=t=>{let e=av.get(t.target);e&&e(t)},a_=t=>{t.forEach(ax)},aw={some:0,all:1},ab=function(t,e){if("u"<typeof Proxy)return sq;let i=new Map,s=(i,s)=>sq(i,s,t,e);return new Proxy((t,e)=>s(t,e),{get:(r,n)=>"create"===n?s:(i.has(n)||i.set(n,sq(n,void 0,t,e)),i.get(n))})}({animation:{Feature:class extends sW{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let s;if(t.notify("AnimationStart",e),Array.isArray(e))s=Promise.all(e.map(e=>rD(t,e,i)));else if("string"==typeof e)s=rD(t,e,i);else{let r="function"==typeof e?sz(t,e,i.custom):e;s=Promise.all(rR(t,r,i))}return s.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=rG(),s=!0,r=!1,n=e=>(i,s)=>{let r=sz(t,s,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...s}=r;i={...i,...s,...e}}return i};function a(a){let{props:o}=t,l=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<rL;t++){let s=iF[t],r=e.props[s];(iD(r)||!1===r)&&(i[s]=r)}return i}(t.parent)||{},u=[],d=new Set,h={},c=1/0;for(let e=0;e<rO;e++){var m,p;let f=rN[e],g=i[f],v=void 0!==o[f]?o[f]:l[f],y=iD(v),x=f===a?g.isActive:null;!1===x&&(c=e);let _=v===l[f]&&v!==o[f]&&y;if(_&&(s||r)&&t.manuallyAnimateOnMount&&(_=!1),g.protectedKeys={...h},!g.isActive&&null===x||!v&&!g.prevProp||iB(v)||"boolean"==typeof v)continue;if("exit"===f&&g.isActive&&!0!==x){g.prevResolvedValues&&(h={...h,...g.prevResolvedValues});continue}let w=(m=g.prevProp,"string"==typeof(p=v)?p!==m:!!Array.isArray(p)&&!rF(p,m)),b=w||f===a&&g.isActive&&!_&&y||e>c&&y,T=!1,A=Array.isArray(v)?v:[v],S=A.reduce(n(f),{});!1===x&&(S={});let{prevResolvedValues:C={}}=g,P={...C,...S},j=e=>{b=!0,d.has(e)&&(T=!0,d.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);
1i&&(i.liveStyle=!1)};for(let t in P){let e=S[t],i=C[t];if(!h.hasOwnProperty(t))(sX(e)&&sX(i)?rF(e,i):e===i)?void 0!==e&&d.has(t)?j(t):g.protectedKeys[t]=!0:null!=e?j(t):d.add(t)}g.prevProp=v,g.prevResolvedValues=S,g.isActive&&(h={...h,...S}),(s||r)&&t.blockInitialAnimation&&(b=!1);let E=_&&w,k=!E||T;b&&k&&u.push(...A.map(e=>{let i={type:f};if("string"==typeof e&&(s||r)&&!E&&t.manuallyAnimateOnMount&&t.parent){let{parent:s}=t,r=sz(s,e);if(s.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=rB(s.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(d.size){let e={};if("boolean"!=typeof o.initial){let i=sz(t,Array.isArray(o.initial)?o.initial[0]:o.initial);i&&i.transition&&(e.transition=i.transition)}d.forEach(i=>{let s=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=s??null}),u.push({animation:e})}let f=!!u.length;return s&&(!1===o.initial||o.initial===o.animate)&&!t.manuallyAnimateOnMount&&(f=!1),s=!1,r=!1,f?e(u):Promise.resolve()}return{animateChanges:a,setActive:function(e,s){if(i[e].isActive===s)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,s)),i[e].isActive=s;let r=a(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=rG(),r=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();iB(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends sW{constructor(){super(...arguments),this.id=rU++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t){let i=sz(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...s}=i;for(let t in s)this.node.getValue(t)?.jump(s[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let s=this.node.animationState.setActive("exit",!t);e&&!t&&s.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends sW{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:s,margin:r,amount:n="some",once:a}=i,o={root:s?s.current:void 0,rootMargin:r,threshold:"number"==typeof n?n:aw[n]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,a&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:s}=this.node.getProps(),r=e?i:s;r&&r(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;ay.has(i)||ay.set(i,{});let s=ay.get(i),r=JSON.stringify(e);return s[r]||(s[r]=new IntersectionObserver(a_,{root:t,...e})),s[r]}(o),av.set(t,l),e.observe(t),()=>{av.delete(t),e.unobserve(t)})}mount(){this.startObserver()}update(){if("u"<typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}}},tap:{Feature:class extends sW{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[s,r,n]=al(t,i),a=t=>{let s=t.currentTarget;if(!ap(t)||af.has(t))return;ah.add(s),i.stopPropagation&&af.add(t);let n=e(s,t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),ah.has(s)&&ah.delete(s),ap(t)&&"function"==typeof n&&n(t,{success:e})},o=t=>{a(t,s===window||s===document||i.useGlobalTarget||ad(s,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,r),window.addEventListener("pointercancel",l,r)};return s.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",a,r),eT(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let s=ac(()=>{if(ah.has(i))return;am(i,"down");let t=ac(()=>{am(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>am(i,"cancel"),e)});i.addEventListener("keydown",s,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",s),e)})(t,r)),rJ.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),n}(t,(t,e)=>(ag(this.node,e,"Start"),(t,{success:e})=>ag(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends sW{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=tF(rW(this.node.current,"focus",()=>this.onFocus()),rW(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends sW{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[s,r,n]=al(t,i);return s.forEach(t=>{let i,s=!1,n=!1,a=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},o=t=>{s=!1,window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",o),n&&(n=!1,a(t))},l=t=>{if("touch"!==t.pointerType){if(s){n=!0;return}a(t)}};t.addEventListener("pointerenter",s=>{if("touch"===s.pointerType||rz.x||rz.y)return;n=!1;let a=e(t,s);"function"==typeof a&&(i=a,t.addEventListener("pointerleave",l,r))},r),t.addEventListener("pointerdown",()=>{s=!0,window.addEventListener("pointerup",o,r),window.addEventListener("pointercancel",o,r)},r)}),n}(t,(t,e)=>(au(this.node,e,"Start"),t=>au(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends sW{constructor(){super(...arguments),this.removePointerDownListener=tl}onPointerDown(t){this.session=new r8(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:r3(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:s}=this.node.getProps();return{onSessionStart:nu(t),onStart:nu(e),onMove:nu(i),onEnd:(t,e)=>{delete this.session,s&&th.postRender(()=>s(t,e))}}}mount(){this.removePointerDownListener=r5(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends sW{constructor(t){super(t),this.removeGroupControls=tl,this.removeListeners=tl,this.controls=new na(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tl}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:ao,MeasureLayout:np},layout:{ProjectionNode:ao,MeasureLayout:np}},(t,e)=>e.isSVG??sx(t)?new ss(e):new sv(e,{allowProjection:t!==a.Fragment}));var aT=t.i(68477);let aA={src:t.i(31971).default,width:1280,height:720,blurWidth:8,blurHeight:5,blurDataURL:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAAQABAAD/wAARCAAFAAgDAREAAhEBAxEB/9sAQwAKBwcIBwYKCAgICwoKCw4YEA4NDQ4dFRYRGCMfJSQiHyIhJis3LyYpNCkhIjBBMTQ5Oz4+PiUuRElDPEg3PT47/9sAQwEKCwsODQ4cEBAcOygiKDs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7Ozs7/8QAHwAAAQUBAQEBAQEAAAAAAAAAAAECAwQFBgcICQoL/8QAtRAAAgEDAwIEAwUFBAQAAAF9AQIDAAQRBRIhMUEGE1FhByJxFDKBkaEII0KxwRVS0fAkM2JyggkKFhcYGRolJicoKSo0NTY3ODk6Q0RFRkdISUpTVFVWV1hZWmNkZWZnaGlqc3R1dnd4eXqDhIWGh4iJipKTlJWWl5iZmqKjpKWmp6ipqrKztLW2t7i5usLDxMXGx8jJytLT1NXW19jZ2uHi4+Tl5ufo6erx8vP09fb3+Pn6/8QAHwEAAwEBAQEBAQEBAQAAAAAAAAECAwQFBgcICQoL/8QAtREAAgECBAQDBAcFBAQAAQJ3AAECAxEEBSExBhJBUQdhcRMiMoEIFEKRobHBCSMzUvAVYnLRChYkNOEl8RcYGRomJygpKjU2Nzg5OkNERUZHSElKU1RVVldYWVpjZGVmZ2hpanN0dXZ3eHl6goOEhYaHiImKkpOUlZaXmJmaoqOkpaanqKmqsrO0tba3uLm6wsPExcbHyMnK0tPU1dbX2Nna4uPk5ebn6Onq8vP09fb3+Pn6/9oADAMBAAIRAxEAPwDyjMX9mhRAgffzJ3x6UwP/2Q=="};var aS=t.i(80463),aC=t.i(15638),aC=aC;l.default.bind(aS.default);let aP=({previewUrl:t,videoUrl:e})=>{let[i,s]=(0,a.useState)(!1),[r,o]=(0,a.useState)(!1),[l,u]=(0,a.useState)(!1),[d,h]=(0,a.useState)(!1),[p,f,g]=(0,m.useInView)({threshold:.5,delay:.25,triggerOnce:!0}),v=(0,a.useRef)(),x=(0,a.useRef)(),_="easeOut",w=(0,a.useMemo)(()=>({duration:.75,delay:0,ease:_}),[0,_]),b={hidden:{y:0,opacity:0,transition:w},show:{y:0,x:0,opacity:1,transition:w}};return(0,a.useEffect)(()=>{f&&s(!0)},[f]),(0,n.jsx)("div",{className:aS.default["reveal-video-frame"],ref:p,children:(0,n.jsxs)("div",{className:`container ${aS.default["reveal-video-container"]}`,children:[(0,n.jsx)(c.default,{src:aA,className:aS.default["reveal-video-image"],alt:"Aerospace Video",fill:!0}),(0,n.jsx)(ab.div,{initial:"show",animate:f?"show":"hidden",exit:"show",variants:b,children:(0,n.jsx)(aT.default,{ref:v,src:t,className:aS.default["reveal-video"],playing:i,width:"100%",height:"100%",onEnded:()=>{s(!1),u(!0)},playsinline:!0,muted:!0}
1)}),(0,n.jsx)(ab.div,{initial:"hidden",animate:r?"show":"hidden",exit:"show",variants:b,children:(0,n.jsx)(aT.default,{ref:x,src:e,className:aS.default["reveal-video-vimeo"],playing:r,controls:!0,config:{vimeo:{playerOptions:{controls:!0}}},width:"100%",height:"100%",playsinline:!0})}),(0,n.jsx)(ab.div,{initial:"hidden",animate:l?"show":"hidden",exit:"hidden",variants:b,children:(0,n.jsxs)("div",{className:aS.default["reveal-play-button"],onClick:()=>{o(!0)},children:[(0,n.jsx)("div",{className:aS.default["reveal-play-button-wrapper"],children:(0,n.jsx)(aC.default,{})}),(0,n.jsx)("div",{className:aS.default["reveal-play-button-text-wrapper"],children:(0,n.jsx)("div",{className:aS.default["reveal-play-button-text"],children:" - Learn More - "})})]})}),(0,n.jsx)("div",{className:aS.default["corner-lines"],children:(0,n.jsx)(y.Corner,{})})]})})};aP.propTypes={previewUrl:o.default.string.isRequired,videoUrl:o.default.string};let aj=l.default.bind(u.default),aE=({sections:t})=>(0,n.jsx)("div",{className:u.default.sections,children:t.map((t,e)=>{let i=aj("section",`section-${t.section_type}`);return(0,n.jsx)("div",{className:i,children:function(){switch(t.section_type){case"featuerd_series":return(0,n.jsx)(L,{content:t.cards});case"series":return(0,n.jsx)(N,{title:t.title,cards:t.cards,section_title:t.section_title});case"powered_by":return(0,n.jsx)(eV,{logos:t.logos});case"scroll_video":if(!t.video_url||!t.preview_url)return null;return(0,n.jsx)(aP,{previewUrl:t.preview_url,videoUrl:t.video_url});case"knowledge_base_pages":return(0,n.jsx)(W,{title:t.title,text:t.text,cards:t.pages,ctaPlacement:"outside",largeCards:!0});case"models":return(0,n.jsx)(H,{title:t.title,cards:t.models,link:t.link&&t.link.url,link_text:t.link&&t.link.title});default:return null}}()},e)})});aE.propTypes={sections:o.default.array.isRequired},t.s(["default",0,aE],31678)},4831,t=>{t.n(t.i(31678))}]);

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.