PageSourceSearch

https://www.thebytesize.ai/_next/static/chunks/0vyq67lyrlou1.js

js thebytesize.ai collected 2026-10-05 13:48:43 UTC 189,143 bytes, 11 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,88143,(t,e,i)=>{"use strict";function n({widthInt:t,heightInt:e,blurWidth:i,blurHeight:s,blurDataURL:r,objectFit:o}){let a=i?40*i:t,l=s?40*s:e,u=a&&l?`viewBox='0 0 ${a} ${l}'`:"";return`%3Csvg xmlns='http://www.w3.org/2000/svg' ${u}%3E%3Cfilter id='b' color-interpolation-filters='sRGB'%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3CfeColorMatrix values='1 0 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 100 -1' result='s'/%3E%3CfeFlood x='0' y='0' width='100%25' height='100%25'/%3E%3CfeComposite operator='out' in='s'/%3E%3CfeComposite in2='SourceGraphic'/%3E%3CfeGaussianBlur stdDeviation='20'/%3E%3C/filter%3E%3Cimage width='100%25' height='100%25' x='0' y='0' preserveAspectRatio='${u?"none":"contain"===o?"xMidYMid":"cover"===o?"xMidYMid slice":"none"}' style='filter: url(%23b);' href='${r}'/%3E%3C/svg%3E`}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImageBlurSvg",{enumerable:!0,get:function(){return n}})},87690,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={VALID_LOADERS:function(){return r},imageConfigDefault:function(){return o}};for(var s in n)Object.defineProperty(i,s,{enumerable:!0,get:n[s]});let r=["default","imgix","cloudinary","akamai","custom"],o={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],path:"/_next/image",loader:"default",loaderFile:"",domains:[],disableStaticImages:!1,minimumCacheTTL:14400,formats:["image/webp"],maximumDiskCacheSize:void 0,maximumRedirects:3,maximumResponseBody:5e7,dangerouslyAllowLocalIP:!1,dangerouslyAllowSVG:!1,contentSecurityPolicy:"script-src 'none'; frame-src 'none'; sandbox;",contentDispositionType:"attachment",localPatterns:void 0,remotePatterns:[],qualities:[75],unoptimized:!1,customCacheHandler:!1}},8927,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"getImgProps",{enumerable:!0,get:function(){return u}}),t.r(33525);let n=t.r(43369),s=t.r(88143),r=t.r(87690),o=["-moz-initial","fill","none","scale-down",void 0];function a(t){return void 0!==t.default}function l(t){return void 0===t?t:"number"==typeof t?Number.isFinite(t)?t:NaN:"string"==typeof t&&/^[0-9]+$/.test(t)?parseInt(t,10):NaN}function u({src:t,sizes:e,unoptimized:i=!1,priority:h=!1,preload:c=!1,loading:d,className:p,quality:m,width:f,height:g,fill:y=!1,style:v,overrideSrc:x,onLoad:w,onLoadingComplete:b,placeholder:S="empty",blurDataURL:k,fetchPriority:E,decoding:P="async",layout:T,objectFit:A,objectPosition:C,lazyBoundary:M,lazyRoot:I,...j},R){var D;let O,V,L,{imgConf:B,showAltText:F,blurComplete:N,defaultLoader:_}=R,U=B||r.imageConfigDefault;if("allSizes"in U)O=U;else{let t=[...U.deviceSizes,...U.imageSizes].sort((t,e)=>t-e),e=U.deviceSizes.sort((t,e)=>t-e),i=U.qualities?.sort((t,e)=>t-e);O={...U,allSizes:t,deviceSizes:e,qualities:i}}if(void 0===_)throw Object.defineProperty(Error("images.loaderFile detected but the file is missing default export.\nRead more: https://nextjs.org/docs/messages/invalid-images-config"),"__NEXT_ERROR_CODE",{value:"E163",enumerable:!1,configurable:!0});let z=j.loader||_;delete j.loader,delete j.srcSet;let $="__next_img_default"in z;if($){if("custom"===O.loader)throw Object.defineProperty(Error(`Image with src "${t}" is missing "loader" prop.
2Read more: https://nextjs.org/docs/messages/next-image-missing-loader`),"__NEXT_ERROR_CODE",{value:"E252",enumerable:!1,configurable:!0})}else{let t=z;z=e=>{let{config:i,...n}=e;return t(n)}}if(T){"fill"===T&&(y=!0);let t={intrinsic:{maxWidth:"100%",height:"auto"},responsive:{width:"100%",height:"auto"}}[T];t&&(v={...v,...t});let i={responsive:"100vw",fill:"100vw"}[T];i&&!e&&(e=i)}let W="",Y=l(f),q=l(g);if((D=t)&&"object"==typeof D&&(a(D)||void 0!==D.src)){let e=a(t)?t.default:t;if(!e.src)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include src. Received ${JSON.stringify(e)}
2`),"__NEXT_ERROR_CODE",{value:"E460",enumerable:!1,configurable:!0});if(!e.height||!e.width)throw Object.defineProperty(Error(`An object should only be passed to the image component src parameter if it comes from a static image import. It must include height and width. Received ${JSON.stringify(e)}`),"__NEXT_ERROR_CODE",{value:"E48",enumerable:!1,configurable:!0});if(V=e.blurWidth,L=e.blurHeight,k=k||e.blurDataURL,W=e.src,!y)if(Y||q){if(Y&&!q){let t=Y/e.width;q=Math.round(e.height*t)}else if(!Y&&q){let t=q/e.height;Y=Math.round(e.width*t)}}else Y=e.width,q=e.height}let H=!h&&!c&&("lazy"===d||void 0===d);(!(t="string"==typeof t?t:W)||t.startsWith("data:")||t.startsWith("blob:"))&&(i=!0,H=!1),O.unoptimized&&(i=!0),$&&!O.dangerouslyAllowSVG&&t.split("?",1)[0].endsWith(".svg")&&(i=!0);let X=l(m),K=Object.assign(y?{position:"absolute",height:"100%",width:"100%",left:0,top:0,right:0,bottom:0,objectFit:A,objectPosition:C}:{},F?{}:{color:"transparent"},v),Z=N||"empty"===S?null:"blur"===S?`url("data:image/svg+xml;charset=utf-8,${(0,s.getImageBlurSvg)({widthInt:Y,heightInt:q,blurWidth:V,blurHeight:L,blurDataURL:k||"",objectFit:K.objectFit})}")`:`url("${S}")`,G=o.includes(K.objectFit)?"fill"===K.objectFit?"100% 100%":"cover":K.objectFit,Q=Z?{backgroundSize:G,backgroundPosition:K.objectPosition||"50% 50%",backgroundRepeat:"no-repeat",backgroundImage:Z}:{},J=function({config:t,src:e,unoptimized:i,width:s,quality:r,sizes:o,loader:a}){if(i){if(e.startsWith("/")&&!e.startsWith("//")){let t=(0,n.getDeploymentId)();if(t){let i=e.indexOf("?");if(-1!==i){let n=new URLSearchParams(e.slice(i+1));n.get("dpl")||(n.append("dpl",t),e=e.slice(0,i)+"?"+n.toString())}else e+=`?dpl=${t}`}}return{src:e,srcSet:void 0,sizes:void 0}}let{widths:l,kind:u}=function({deviceSizes:t,allSizes:e},i,n){if(n){let i=/(^|\s)(1?\d?\d)vw/g,s=[];for(let t;t=i.exec(n);)s.push(parseInt(t[2]));if(s.length){let i=.01*Math.min(...s);return{widths:e.filter(e=>e>=t[0]*i),kind:"w"}}return{widths:e,kind:"w"}}return"number"!=typeof i?{widths:t,kind:"w"}:{widths:[...new Set([i,2*i].map(t=>e.find(e=>e>=t)||e[e.length-1]))],kind:"x"}}(t,s,o),h=l.length-1;return{sizes:o||"w"!==u?o:"100vw",srcSet:l.map((i,n)=>`${a({config:t,src:e,quality:r,width:i})} ${"w"===u?i:n+1}${u}`).join(", "),src:a({config:t,src:e,quality:r,width:l[h]})}}({config:O,src:t,unoptimized:i,width:Y,quality:X,sizes:e,loader:z}),tt=H?"lazy":d;return{props:{...j,loading:tt,fetchPriority:E,width:Y,height:q,decoding:P,className:p,style:{...K,...Q},sizes:J.sizes,srcSet:J.srcSet,src:x||J.src},meta:{unoptimized:i,preload:c||h,placeholder:S,fill:y}}}},98879,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return a}});let n=t.r(71645),s="u"<typeof window,r=s?()=>{}:n.useLayoutEffect,o=s?()=>{}:n.useEffect;function a(t){let{headManager:e,reduceComponentsToState:i}=t;function a(){if(e&&e.mountedInstances){let t=n.Children.toArray(Array.from(e.mountedInstances).filter(Boolean));e.updateHead(i(t))}}return s&&(e?.mountedInstances?.add(t.children),a()),r(()=>(e?.mountedInstances?.add(t.children),()=>{e?.mountedInstances?.delete(t.children)})),r(()=>(e&&(e._pendingUpdate=a),()=>{e&&(e._pendingUpdate=a)})),o(()=>(e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null),()=>{e&&e._pendingUpdate&&(e._pendingUpdate(),e._pendingUpdate=null)})),null}},25633,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return f},defaultHead:function(){return c}};for(var s in n)Object.defineProperty(i,s,{enumerable:!0,get:n[s]});let r=t.r(55682),o=t.r(90809),a=t.r(43476),l=o._(t.r(71645)),u=r._(t.r(98879)),h=t.r(42732);function c(){return[(0,a.jsx)("meta",{charSet:"utf-8"},"charset"),(0,a.jsx)("meta",{name:"viewport",content:"width=device-width"},"viewport")]}function d(t,e){return"string"==typeof e||"number"==typeof e?t:e.type===l.default.Fragment?t.concat(l.default.Children.toArray(e.props.children).reduce((t,e)=>"string"==typeof e||"number"==typeof e?t:t.concat(e),[])):t.concat(e)}t.r(33525);let p=["name","httpEquiv","charSet","itemProp"];function m(t){let e,i,n,s;return t.reduce(d,[]).reverse().concat(c().reverse()).filter((e=new Set,i=new Set,n=new Set,s={},t=>{let r=!0,o=!1;if(t.key&&"number"!=typeof t.key&&t.key.indexOf("$")>0){o=!0;let i=t.key.slice(t.key.indexOf("$")+1);e.has(i)?r=!1:e.add(i)}switch(t.type){case"title":case"base":i.has(t.type)?r=!1:i.add(t.type);break;case"meta":for(let e=0,i=p.length;e<i;e++){let i=p[e];if(t.props.hasOwnProperty(i))if("charSet"===i)n.has(i)?r=!1:n.add(i);else{let e=t.props[i],n=s[i]||new Set;("name"!==i||!o)&&n.has(e)?r=!1:(n.add(e),s[i]=n)}}}return r})).reverse().map((t,e)=>{let i=t.key||e;return l.default.cloneElement(t,{key:i})})}let f=function({children:t}){let e=(0,l.useContext)(h.HeadManagerContext);return(0,a.jsx)(u.default,{reduceComponentsToState:m,headManager:e,children:t})};("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esMo
2dule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},18556,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"ImageConfigContext",{enumerable:!0,get:function(){return r}});let n=t.r(55682)._(t.r(71645)),s=t.r(87690),r=n.default.createContext(s.imageConfigDefault)},65856,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"RouterContext",{enumerable:!0,get:function(){return n}});let n=t.r(55682)._(t.r(71645)).default.createContext(null)},70965,(t,e,i)=>{"use strict";function n(t,e){let i=t||75;return e?.qualities?.length?e.qualities.reduce((t,e)=>Math.abs(e-i)<Math.abs(t-i)?e:t,e.qualities[0]):i}Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"findClosestQuality",{enumerable:!0,get:function(){return n}})},1948,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"default",{enumerable:!0,get:function(){return o}});let n=t.r(70965),s=t.r(43369);function r({config:t,src:e,width:i,quality:o}){let a=(0,s.getDeploymentId)();if(e.startsWith("/")&&!e.startsWith("//")){let t=e.indexOf("?");if(-1!==t){let i=new URLSearchParams(e.slice(t+1)),n=i.get("dpl");if(n){a=n,i.delete("dpl");let s=i.toString();e=e.slice(0,t)+(s?"?"+s:"")}}}if(e.startsWith("/")&&e.includes("?")&&t.localPatterns?.length===1&&"**"===t.localPatterns[0].pathname&&""===t.localPatterns[0].search)throw Object.defineProperty(Error(`Image with src "${e}" is using a query string which is not configured in images.localPatterns.
3Read more: https://nextjs.org/docs/messages/next-image-unconfigured-localpatterns`),"__NEXT_ERROR_CODE",{value:"E871",enumerable:!1,configurable:!0});let l=(0,n.findClosestQuality)(o,t);return`${t.path}?url=${encodeURIComponent(e)}&w=${i}&q=${l}${e.startsWith("/")&&a?`&dpl=${a}`:""}`}r.__next_img_default=!0;let o=r},18581,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"useMergedRef",{enumerable:!0,get:function(){return s}});let n=t.r(71645);function s(t,e){let i=(0,n.useRef)(null),s=(0,n.useRef)(null);return(0,n.useCallback)(n=>{if(null===n){let t=i.current;t&&(i.current=null,t());let e=s.current;e&&(s.current=null,e())}else t&&(i.current=r(t,n)),e&&(s.current=r(e,n))},[t,e])}function r(t,e){if("function"!=typeof t)return t.current=e,()=>{t.current=null};{let i=t(e);return"function"==typeof i?i:()=>t(null)}}("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},85437,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"Image",{enumerable:!0,get:function(){return w}});let n=t.r(55682),s=t.r(90809),r=t.r(43476),o=s._(t.r(71645)),a=n._(t.r(74080)),l=n._(t.r(25633)),u=t.r(8927),h=t.r(87690),c=t.r(18556);t.r(33525);let d=t.r(65856),p=n._(t.r(1948)),m=t.r(18581),f={deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1};function g(t,e,i,n,s,r,o){let a=t?.src;t&&t["data-loaded-src"]!==a&&(t["data-loaded-src"]=a,("decode"in t?t.decode():Promise.resolve()).catch(()=>{}).then(()=>{if(t.parentElement&&t.isConnected){if("empty"!==e&&s(!0),i?.current){let e=new Event("load");Object.defineProperty(e,"target",{writable:!1,value:t});let n=!1,s=!1;i.current({...e,nativeEvent:e,currentTarget:t,target:t,isDefaultPrevented:()=>n,isPropagationStopped:()=>s,persist:()=>{},preventDefault:()=>{n=!0,e.preventDefault()},stopPropagation:()=>{s=!0,e.stopPropagation()}})}n?.current&&n.current(t)}}))}function y(t){return o.use?{fetchPriority:t}:{fetchpriority:t}}"u"<typeof window&&(globalThis.__NEXT_IMAGE_IMPORTED=!0);let v=(0,o.forwardRef)(({src:t,srcSet:e,sizes:i,height:n,width:s,decoding:a,className:l,style:u,fetchPriority:h,placeholder:c,loading:d,unoptimized:p,fill:f,onLoadRef:v,onLoadingCompleteRef:x,setBlurComplete:w,setShowAltText:b,sizesInput:S,onLoad:k,onError:E,...P},T)=>{let A=(0,o.useCallback)(t=>{t&&(E&&(t.src=t.src),t.complete&&g(t,c,v,x,w,p,S))},[t,c,v,x,w,E,p,S]),C=(0,m.useMergedRef)(T,A);return(0,r.jsx)("img",{...P,...y(h),loading:d,width:s,height:n,decoding:a,"data-nimg":f?"fill":"1",className:l,style:u,sizes:i,srcSet:e,src:t,ref:C,onLoad:t=>{g(t.currentTarget,c,v,x,w,p,S)},onError:t=>{b(!0),"empty"!==c&&w(!0),E&&E(t)}})});function x({isAppRouter:t,imgAttributes:e}){let i={as:"image",imageSrcSet:e.srcSet,imageSizes:e.sizes,crossOrigin:e.crossOrigin,referrerPolicy:e.referrerPolicy,...y(e.fetchPriority)};return t&&a.default.preload?(a.default.preload(e.src,i),null):(0,r.jsx)(l.default,{children:(0,r.jsx)("link",{rel:"preload",href:e.srcSet?void 0:e.src,...i},"__nimg-"+e.src+e.srcSet+e.sizes)})}let w=(0,o.forwardRef)((t,e)=>{let i=(0,o.useContext)(d.RouterContext),n=(0,o.useContext)(c.ImageConfigContext),s=(0,o.useMemo)(()=>{let t=f||n||h.imageConfigDefault,e=[...t.deviceSizes,...t.imageSizes].sort((t,e)=>t-e),i=t.deviceSizes.sort((t,e)=>t-e),s=t.qualities?.sort((t,e)=>t-e);return{...t,allSizes:e,deviceSizes:i,qualities:s,localPatterns:"u"<typeof window?n?.localPatterns:t.localPatterns}
3},[n]),{onLoad:a,onLoadingComplete:l}=t,m=(0,o.useRef)(a);(0,o.useEffect)(()=>{m.current=a},[a]);let g=(0,o.useRef)(l);(0,o.useEffect)(()=>{g.current=l},[l]);let[y,w]=(0,o.useState)(!1),[b,S]=(0,o.useState)(!1),{props:k,meta:E}=(0,u.getImgProps)(t,{defaultLoader:p.default,imgConf:s,blurComplete:y,showAltText:b});return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(v,{...k,unoptimized:E.unoptimized,placeholder:E.placeholder,fill:E.fill,onLoadRef:m,onLoadingCompleteRef:g,setBlurComplete:w,setShowAltText:S,sizesInput:t.sizes,ref:e}),E.preload?(0,r.jsx)(x,{isAppRouter:!i,imgAttributes:k}):null]})});("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},94909,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return h},getImageProps:function(){return u}};for(var s in n)Object.defineProperty(i,s,{enumerable:!0,get:n[s]});let r=t.r(55682),o=t.r(8927),a=t.r(85437),l=r._(t.r(1948));function u(t){let{props:e}=(0,o.getImgProps)(t,{defaultLoader:l.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[t,i]of Object.entries(e))void 0===i&&delete e[t];return{props:e}}let h=a.Image},57688,(t,e,i)=>{e.exports=t.r(94909)},95057,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={formatUrl:function(){return a},formatWithValidation:function(){return u},urlObjectKeys:function(){return l}};for(var s in n)Object.defineProperty(i,s,{enumerable:!0,get:n[s]});let r=t.r(90809)._(t.r(98183)),o=/https?|ftp|gopher|file/;function a(t){let{auth:e,hostname:i}=t,n=t.protocol||"",s=t.pathname||"",a=t.hash||"",l=t.query||"",u=!1;e=e?encodeURIComponent(e).replace(/%3A/i,":")+"@":"",t.host?u=e+t.host:i&&(u=e+(~i.indexOf(":")?`[${i}]`:i),t.port&&(u+=":"+t.port)),l&&"object"==typeof l&&(l=String(r.urlQueryToSearchParams(l)));let h=t.search||l&&`?${l}`||"";return n&&!n.endsWith(":")&&(n+=":"),t.slashes||(!n||o.test(n))&&!1!==u?(u="//"+(u||""),s&&"/"!==s[0]&&(s="/"+s)):u||(u=""),a&&"#"!==a[0]&&(a="#"+a),h&&"?"!==h[0]&&(h="?"+h),s=s.replace(/[?#]/g,encodeURIComponent),h=h.replace("#","%23"),`${n}${u}${s}${h}${a}`}let l=["auth","hash","host","hostname","href","path","pathname","port","protocol","query","search","slashes"];function u(t){return a(t)}},73668,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"isLocalURL",{enumerable:!0,get:function(){return r}});let n=t.r(18967),s=t.r(52817);function r(t){if(!(0,n.isAbsoluteUrl)(t))return!0;try{let e=(0,n.getLocationOrigin)(),i=new URL(t,e);return i.origin===e&&(0,s.hasBasePath)(i.pathname)}catch(t){return!1}}},84508,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),Object.defineProperty(i,"errorOnce",{enumerable:!0,get:function(){return n}});let n=t=>{}},22016,(t,e,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return y},useLinkStatus:function(){return x}};for(var s in n)Object.defineProperty(i,s,{enumerable:!0,get:n[s]});let r=t.r(90809),o=t.r(43476),a=r._(t.r(71645)),l=t.r(95057),u=t.r(8372),h=t.r(18581),c=t.r(18967),d=t.r(5550);t.r(33525);let p=t.r(88540),m=t.r(91949),f=t.r(73668),g=t.r(9396);function y(e){var i;let n,s,r,[y,x]=(0,a.useOptimistic)(m.IDLE_LINK_STATUS),w=(0,a.useRef)(null),{href:b,as:S,children:k,prefetch:E=null,passHref:P,replace:T,shallow:A,scroll:C,onClick:M,onMouseEnter:I,onTouchStart:j,legacyBehavior:R=!1,onNavigate:D,transitionTypes:O,ref:V,unstable_dynamicOnHover:L,...B}=e;n=k,R&&("string"==typeof n||"number"==typeof n)&&(n=(0,o.jsx)("a",{children:n}));let F=a.default.useContext(u.AppRouterContext),N=!1!==E,_=!1!==E&&!0===E?g.FetchStrategy.Full:g.FetchStrategy.PPR,U="string"==typeof(i=S||b)?i:(0,l.formatUrl)(i);if(R){if(n?.$$typeof===Symbol.for("react.lazy"))throw Object.defineProperty(Error("`<Link legacyBehavior>` received a direct child that is either a Server Component, or JSX that was loaded with React.lazy(). This is not supported. Either remove legacyBehavior, or make the direct child a Client Component that renders the Link's `<a>
3` tag."),"__NEXT_ERROR_CODE",{value:"E863",enumerable:!1,configurable:!0});s=a.default.Children.only(n)}let z=R?s&&"object"==typeof s&&s.ref:V,$=a.default.useCallback(t=>(null!==F&&(w.current=(0,m.mountLinkInstance)(t,U,F,_,N,x)),()=>{w.current&&((0,m.unmountLinkForCurrentNavigation)(w.current),w.current=null),(0,m.unmountPrefetchableInstance)(t)}),[N,U,F,_,x]),W={ref:(0,h.useMergedRef)($,z),onClick(e){R||"function"!=typeof M||M(e),R&&s.props&&"function"==typeof s.props.onClick&&s.props.onClick(e),!F||e.defaultPrevented||function(e,i,n,s,r,o,l){if("u">typeof window){let u,{nodeName:h}=e.currentTarget;if("A"===h.toUpperCase()&&((u=e.currentTarget.getAttribute("target"))&&"_self"!==u||e.metaKey||e.ctrlKey||e.shiftKey||e.altKey||e.nativeEvent&&2===e.nativeEvent.which)||e.currentTarget.hasAttribute("download"))return;if(!(0,f.isLocalURL)(i)){s&&(e.preventDefault(),location.replace(i));return}if(e.preventDefault(),o){let t=!1;if(o({preventDefault:()=>{t=!0}}),t)return}let{dispatchNavigateAction:c}=t.r(99781);a.default.startTransition(()=>{c(i,s?"replace":"push",!1===r?p.ScrollBehavior.NoScroll:p.ScrollBehavior.Default,n.current,l)})}}(e,U,w,T,C,D,O)},onMouseEnter(t){R||"function"!=typeof I||I(t),R&&s.props&&"function"==typeof s.props.onMouseEnter&&s.props.onMouseEnter(t),F&&N&&(0,m.onNavigationIntent)(t.currentTarget,!0===L)},onTouchStart:function(t){R||"function"!=typeof j||j(t),R&&s.props&&"function"==typeof s.props.onTouchStart&&s.props.onTouchStart(t),F&&N&&(0,m.onNavigationIntent)(t.currentTarget,!0===L)}};return(0,c.isAbsoluteUrl)(U)?W.href=U:R&&!P&&("a"!==s.type||"href"in s.props)||(W.href=(0,d.addBasePath)(U)),r=R?a.default.cloneElement(s,W):(0,o.jsx)("a",{...B,...W,children:n}),(0,o.jsx)(v.Provider,{value:y,children:r})}t.r(84508);let v=(0,a.createContext)(m.IDLE_LINK_STATUS),x=()=>(0,a.useContext)(v);("function"==typeof i.default||"object"==typeof i.default&&null!==i.default)&&void 0===i.default.__esModule&&(Object.defineProperty(i.default,"__esModule",{value:!0}),Object.assign(i.default,i),e.exports=i.default)},46932,31178,37806,21476,47414,74008,49652,64978,72846,t=>{"use strict";let e,i,n,s=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],r=new Set([...s,"pathRotation"]),o=(t,e,i)=>i>e?e:i<t?t:i,a={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},l={...a,transform:t=>o(0,1,t)},u={...a,default:1},h=t=>Math.round(1e5*t)/1e5,c=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,d=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,p=(t,e)=>i=>!!("string"==typeof i&&d.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),m=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[s,r,o,a]=n.match(c);return{[t]:parseFloat(s),[e]:parseFloat(r),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},f={...a,transform:t=>Math.round(o(0,255,t))},g={test:p("rgb","red"),parse:m("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+f.transform(t)+", "+f.transform(e)+", "+f.transform(i)+", "+h(l.transform(n))+")"},y={test:p("#"),parse:function(t){let e="",i="",n="",s="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),s=t.substring(4,5),e+=e,i+=i,n+=n,s+=s),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:s?parseInt(s,16)/255:1}},transform:g.transform},v=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),x=v("deg"),w=v("%"),b=v("px"),S=v("vh"),k=v("vw"),E={...w,parse:t=>w.parse(t)/100,transform:t=>w.transform(100*t)},P={test:p("hsl","hue"),parse:m("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+w.transform(h(e))+", "+w.transform(h(i))+", "+h(l.transform(n))+")"},T={test:t=>g.test(t)||y.test(t)||P.test(t),parse:t=>g.test(t)?g.parse(t):P.test(t)?P.parse(t):y.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?g.transform(t):P.transform(t),getAnimatableNone:t=>{let e=T.parse(t);return e.alpha=0,T.transform(e)}},A=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,C="number",M="color",I=/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 j(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},s=[],r=0,o=e.replace(I,t=>(T.test(t)?(n.color.push(r),s.push(M),i.push(T.parse(t))):t.startsWith("var(")?(n.var.push(r),s.push("var"),i.push(t)):(n.number.push(r),s.push(C),i.push(parseFloat(t))),++r,"${}")).split("${}");return{values:i,split:o,indexes:n,types:s}}function R({split:t,types:e}){let i=t.length;return n=>{let s="";for(let r=0;r<i;r++)if(s+=t[r],void 0!==n[r]){let t=e[r];t===C?s+=h(n[r]):t===M?s+=T.transform(n[r]):s+=n[r]}return s}}let D={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(c)?.length||0)+(t.match(A)?.length||0)>0},parse:function(t){return j(t).values},createTransformer:function(t){return R(j(t))},getAnimatableNone:function(t){let e=j(t);return R(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:T.test(t)?T.getAnimatableNone(t):t)(t,e.split[i])))}},O=new Set(["brightness","contrast","saturate","opacity"]);function V(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(c)||[];
3if(!n)return t;let s=i.replace(n,""),r=+!!O.has(e);return n!==i&&(r*=100),e+"("+r+s+")"}let L=/\b([a-z-]*)\(.*?\)/gu,B={...D,getAnimatableNone:t=>{let e=t.match(L);return e?e.map(V).join(" "):t}},F={...D,getAnimatableNone:t=>{let e=D.parse(t);return D.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},N={...a,transform:Math.round},_={borderWidth:b,borderTopWidth:b,borderRightWidth:b,borderBottomWidth:b,borderLeftWidth:b,borderRadius:b,borderTopLeftRadius:b,borderTopRightRadius:b,borderBottomRightRadius:b,borderBottomLeftRadius:b,width:b,maxWidth:b,height:b,maxHeight:b,top:b,right:b,bottom:b,left:b,inset:b,insetBlock:b,insetBlockStart:b,insetBlockEnd:b,insetInline:b,insetInlineStart:b,insetInlineEnd:b,padding:b,paddingTop:b,paddingRight:b,paddingBottom:b,paddingLeft:b,paddingBlock:b,paddingBlockStart:b,paddingBlockEnd:b,paddingInline:b,paddingInlineStart:b,paddingInlineEnd:b,margin:b,marginTop:b,marginRight:b,marginBottom:b,marginLeft:b,marginBlock:b,marginBlockStart:b,marginBlockEnd:b,marginInline:b,marginInlineStart:b,marginInlineEnd:b,fontSize:b,backgroundPositionX:b,backgroundPositionY:b,rotate:x,pathRotation:x,rotateX:x,rotateY:x,rotateZ:x,scale:u,scaleX:u,scaleY:u,scaleZ:u,skew:x,skewX:x,skewY:x,distance:b,translateX:b,translateY:b,translateZ:b,x:b,y:b,z:b,perspective:b,transformPerspective:b,opacity:l,originX:E,originY:E,originZ:b,zIndex:N,fillOpacity:l,strokeOpacity:l,numOctaves:N},U={..._,color:T,backgroundColor:T,outlineColor:T,fill:T,stroke:T,borderColor:T,borderTopColor:T,borderRightColor:T,borderBottomColor:T,borderLeftColor:T,filter:B,WebkitFilter:B,mask:F,WebkitMask:F},z=t=>U[t],$=()=>({translate:0,scale:1,origin:0,originPoint:0}),W=()=>({x:$(),y:$()}),Y=()=>({min:0,max:0}),q=()=>({x:Y(),y:Y()}),H=t=>!!(t&&t.getVelocity),X=new Set(["width","height","top","left","right","bottom",...s]),K=t=>e=>e.test(t),Z=[a,b,w,x,k,S,{test:t=>"auto"===t,parse:t=>t}],G=t=>Z.find(K(t));var Q,J=t.i(47167);let tt=()=>{},te=()=>{};J.default;let ti=t=>e=>"string"==typeof e&&e.startsWith(t),tn=ti("--"),ts=ti("var(--"),tr=t=>!!ts(t)&&to.test(t.split("/*")[0].trim()),to=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ta(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let tl=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tu=t=>180*t/Math.PI,th=t=>td(tu(Math.atan2(t[1],t[0]))),tc={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:th,rotateZ:th,skewX:t=>tu(Math.atan(t[1])),skewY:t=>tu(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},td=t=>((t%=360)<0&&(t+=360),t),tp=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tm=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tf={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tp,scaleY:tm,scale:t=>(tp(t)+tm(t))/2,rotateX:t=>td(tu(Math.atan2(t[6],t[5]))),rotateY:t=>td(tu(Math.atan2(-t[2],t[0]))),rotateZ:th,rotate:th,skewX:t=>tu(Math.atan(t[4])),skewY:t=>tu(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function tg(t){return+!!t.includes("scale")}function ty(t,e){let i,n;if(!t||"none"===t)return tg(e);let s=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(s)i=tf,n=s;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=tc,n=e}if(!n)return tg(e);let r=i[e],o=n[1].split(",").map(tv);return"function"==typeof r?r(o):o[r]}function tv(t){return parseFloat(t.trim())}let tx=t=>t===a||t===b,tw=new Set(["x","y","z"]),tb=s.filter(t=>!tw.has(t)),tS={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:n})=>{let s=t.max-t.min;return"border-box"===n?s:s-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:n})=>{let s=t.max-t.min;return"border-box"===n?s:s-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})=>ty(e,"x"),y:(t,{transform:e})=>ty(e,"y")};tS.translateX=tS.x,tS.translateY=tS.y;let tk=t=>t,tE={},tP=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function tT(t,e){let i=!1,n=!0,s={delta:0,timestamp:0,isProcessing:!1},r=()=>i=!0,o=tP.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,s=!1,r=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(h.schedule(e),t()),l++,e(a)}let h={schedule:(t,e=!1,r=!1)=>{let a=r&&s?i:n;return e&&o.add(t),a.add(t),t},cancel:t=>{n.delete(t),o.delete(t)},process:t=>{if(a=t,s){r=!0;return}s=!0;let o=i;
3i=n,n=o,i.forEach(u),e,l=0,i.clear(),s=!1,r&&(r=!1,h.process(t))}};return h}(r,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:h,update:c,preRender:d,render:p,postRender:m}=o,f=()=>{let r=tE.useManualTiming,o=r?s.timestamp:performance.now();i=!1,r||(s.delta=n?1e3/60:Math.max(Math.min(o-s.timestamp,40),1)),s.timestamp=o,s.isProcessing=!0,a.process(s),l.process(s),u.process(s),h.process(s),c.process(s),d.process(s),p.process(s),m.process(s),s.isProcessing=!1,i&&e&&(n=!1,t(f))};return{schedule:tP.reduce((e,r)=>{let a=o[r];return e[r]=(e,r=!1,o=!1)=>(!i&&(i=!0,n=!0,s.isProcessing||t(f)),a.schedule(e,r,o)),e},{}),cancel:t=>{for(let e=0;e<tP.length;e++)o[tP[e]].cancel(t)},state:s,steps:o}}let{schedule:tA,cancel:tC,state:tM,steps:tI}=tT("u">typeof requestAnimationFrame?requestAnimationFrame:tk,!0),tj=new Set,tR=!1,tD=!1,tO=!1;function tV(){if(tD){let t=Array.from(tj).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,n=(e=[],tb.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e);n.length&&(i.set(t,n),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)})}tD=!1,tR=!1,tj.forEach(t=>t.complete(tO)),tj.clear()}function tL(){tj.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tD=!0)})}class tB{constructor(t,e,i,n,s,r=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=s,this.isAsync=r}scheduleResolve(){this.state="scheduled",this.isAsync?(tj.add(this),tR||(tR=!0,tA.read(tL),tA.resolveKeyframes(tV))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let s=n?.get(),r=t[t.length-1];if(void 0!==s)t[0]=s;else if(i&&e){let n=i.readValue(e,r);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=r),n&&void 0===s&&n.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),tj.delete(this)}cancel(){"scheduled"===this.state&&(tj.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let tF=new Set([B,F]);function tN(t,e){let i=z(t);return tF.has(i)||(i=D),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let t_=new Set(["auto","none","0"]);class tU extends tB{constructor(t,e,i,n,s){super(t,e,i,n,s,!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 n=t[i];if("string"==typeof n&&tr(n=n.trim())){let s=function t(e,i,n=1){te(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[s,r]=function(t){let e=tl.exec(t);if(!e)return[,];let[,i,n,s]=e;return[`--${i??n}`,s]}(e);if(!s)return;let o=window.getComputedStyle(i).getPropertyValue(s);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return tr(r)?t(r,i,n+1):r}(n,e.current);void 0!==s&&(t[i]=s),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!X.has(i)||2!==t.length)return;let[n,s]=t,r=G(n),o=G(s);if(ta(n)!==ta(s)&&tS[i]){this.needsMeasurement=!0;return}if(r!==o)if(tx(r)&&tx(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else tS[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 n,s=0;for(;s<t.length&&!n;){let e=t[s];"string"==typeof e&&!t_.has(e)&&j(e).values.length&&(n=t[s]),s++}if(n&&i)for(let s of e)t[s]=tN(i,n)}(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=tS[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let s=i.length-1,r=i[s];i[s]=tS[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==r&&void 0===this.finalKeyframe&&(this.finalKeyframe=r),this.removedTransforms?.length&&this.removedTransforms.forEac
3h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let tz=t=>1e3*t;function t$(t,e){-1===t.indexOf(e)&&t.push(e)}function tW(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class tY{constructor(){this.subscriptions=[]}add(t){return t$(this.subscriptions,t),()=>tW(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let s=0;s<n;s++){let n=this.subscriptions[s];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function tq(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}function tH(t){let e;return()=>(void 0===e&&(e=t()),e)}let tX={};function tK(t,e){let i=tH(t);return()=>tX[e]??i()}let tZ=tK(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),tG=t=>null!==t;function tQ(t,{repeat:e,repeatType:i="loop"},n,s=1){let r=t.filter(tG),o=s<0||e&&"loop"!==i&&e%2==1?0:r.length-1;return o&&void 0!==n?n:r[o]}class tJ{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 t0={layout:0,mainThread:0,waapi:0},t1=t=>Array.isArray(t)&&"number"==typeof t[0],t2=tK(()=>{try{document.createElement("div").animate({opacity:0}
3,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),t5=(t,e,i=10)=>{let n="",s=Math.max(Math.round(e/i),2);for(let e=0;e<s;e++)n+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`},t3=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,t4={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:t3([0,.65,.55,1]),circOut:t3([.55,0,1,.45]),backIn:t3([.31,.01,.66,-.59]),backOut:t3([.33,1.53,.69,.99])};function t6(t){return"function"==typeof t&&"applyToOptions"in t}class t8 extends tJ{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:n,pseudoElement:s,allowFlatten:r=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!s,this.allowFlatten=r,this.options=t,te("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return t6(t)&&t2()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:s=300,repeat:r=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let c=function t(e,i){if(e)return"function"==typeof e?t2()?t5(e,i):"ease-out":t1(e)?t3(e):Array.isArray(e)?e.map(e=>t(e,i)||t4.easeOut):t4[e]}(a,s);Array.isArray(c)&&(h.easing=c);let d={delay:n,duration:s,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:r+1,direction:"reverse"===o?"alternate":"normal"};u&&(d.pseudoElement=u);let p=t.animate(h,d);return p}(e,i,n,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){let t=tQ(n,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(t),tq(e,i,t),this.animation.cancel()}a?.(),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=tz(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:n}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&tZ())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),tk):n(this)}}let t9=new Set(["opacity","clipPath","filter","transform"]),{schedule:t7}=tT(queueMicrotask,!1);function et(){e=void 0}let ee={now:()=>(void 0===e&&ee.set(tM.isProcessing||tE.useManualTiming?tM.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(et)}},ei=(t,e)=>e?1e3/e*t:0,en;class es{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=ee.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=ee.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 tY);let i=this.events[t].add(e);return"change"===t?()=>{i(),tA.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 en&&en.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let t=ee.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return ei(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 er(t,e){return new es(t,e)}let eo=[...Z,T,D],ea=new WeakMap;function el(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function eu(t){return"string"==typeof t||Array.isArray(t)}let eh=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],ec=["initial",...eh];function ed(t){return el(t.animate)||ec.some(e=>eu(t[e]))}function ep(t){return!!(ed(t)||t.variants)}let em={current:null},ef={current:!1},eg="u">typeof window;function ey(t){let e=[{},{}];
3return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function ev(t,e,i,n){if("function"==typeof e){let[s,r]=ey(n);e=e(void 0!==i?i:t.custom,s,r)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[s,r]=ey(n);e=e(void 0!==i?i:t.custom,s,r)}return e}let ex=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ew={};class eb{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,skipAnimations:s,blockInitialAnimation:r,visualState:o},a={}){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=tB,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=ee.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tA.render(this.render,!1,!0))};const{latestValues:l,renderState:u}=o;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=n,this.skipAnimationsConfig=s,this.options=a,this.blockInitialAnimation=!!r,this.isControllingVariants=ed(e),this.isVariantNode=ep(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:h,...c}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in c){const e=c[t];void 0!==l[t]&&H(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,ea.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:(ef.current||function(){if(ef.current=!0,eg)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>em.current=t.matches;t.addEventListener("change",e),e()}else em.current=!1}(),this.shouldReduceMotion=em.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&&t9.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:n,times:s,ease:r,duration:o}=e.accelerate,a=new t8({element:this.current,name:t,keyframes:n,times:s,ease:r,duration:tz(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let n=r.has(t);n&&this.onBindTransform&&this.onBindTransform();let s=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tA.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{s(),i&&i()})}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 ew){let e=ew[t];
3if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.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):q()}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<ex.length;e++){let i=ex[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let s=e[n],r=i[n];if(H(s))t.addValue(n,s);else if(H(r))t.addValue(n,er(s,{owner:t}));else if(r!==s)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{let e=t.getStaticValue(n);t.addValue(n,er(void 0!==e?e:s,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);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=er(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 n,s;if("string"==typeof i&&(n=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(n)||(s=i,/^0[^.\s]+$/u.test(s))))i=parseFloat(i);else{let n;n=i,!eo.find(K(n))&&D.test(e)&&(i=tN(t,e))}this.setBaseTarget(t,H(i)?i.get():i)}return H(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 n=ev(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||H(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new tY),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){t7.render(this.render)}}class eS extends eb{constructor(){super(...arguments),this.KeyframeResolver=tU}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;H(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function ek(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let eE=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eP={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},eT=s.length;function eA(t,e,i){let{style:n,vars:o,transformOrigin:a}=t,l=!1,u=!1;for(let t in e){let i=e[t];if(r.has(t)){l=!0;continue}if(tn(t)){o[t]=i;continue}{let e=eE(i,_[t]);t.startsWith("origin")?(u=!0,a[t]=e):n[t]=e}}
3if(!e.transform&&(l||i?n.transform=function(t,e,i){let n="",r=!0;for(let o=0;o<eT;o++){let a=s[o],l=t[a];if(void 0===l)continue;let u=!0;if("number"==typeof l)u=l===+!!a.startsWith("scale");else{let t=parseFloat(l);u=a.startsWith("scale")?1===t:0===t}if(!u||i){let t=eE(l,_[a]);if(!u){r=!1;let e=eP[a]||a;n+=`${e}(${t}) `}i&&(e[a]=t)}}let o=t.pathRotation;return o&&(r=!1,n+=`rotate(${eE(o,_.pathRotation)}) `),n=n.trim(),i?n=i(e,r?"":n):r&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=a;n.transformOrigin=`${t} ${e} ${i}`}}let eC={offset:"stroke-dashoffset",array:"stroke-dasharray"},eM={offset:"strokeDashoffset",array:"strokeDasharray"},eI=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function ej(t,{attrX:e,attrY:i,attrScale:n,pathLength:s,pathSpacing:r=1,pathOffset:o=0,...a},l,u,h){if(eA(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:c,style:d}=t;for(let t of(c.transform&&(d.transform=c.transform,delete c.transform),(d.transform||c.transformOrigin)&&(d.transformOrigin=c.transformOrigin??"50% 50%",delete c.transformOrigin),d.transform&&(d.transformBox=h?.transformBox??"fill-box",delete c.transformBox),eI))void 0!==c[t]&&(d[t]=c[t],delete c[t]);void 0!==e&&(c.x=e),void 0!==i&&(c.y=i),void 0!==n&&(c.scale=n),void 0!==s&&function(t,e,i=1,n=0,s=!0){t.pathLength=1;let r=s?eC:eM;t[r.offset]=`${-n}`,t[r.array]=`${e} ${i}`}(c,s,r,o,!1)}let eR=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"]),eD=t=>"string"==typeof t&&"svg"===t.toLowerCase();function eO(t,{style:e,vars:i},n,s){let r,o=t.style;for(r in e)o[r]=e[r];for(r in s?.applyProjectionStyles(o,n),i)o.setProperty(r,i[r])}function eV(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let eL={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!b.test(t))return t;else t=parseFloat(t);let i=eV(t,e.target.x),n=eV(t,e.target.y);return`${i}% ${n}%`}},eB=(t,e,i)=>t+(e-t)*i,eF={borderRadius:{...eL,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:eL,borderTopRightRadius:eL,borderBottomLeftRadius:eL,borderBottomRightRadius:eL,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=D.parse(t);if(n.length>5)return t;let s=D.createTransformer(t),r=+("number"!=typeof n[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;n[0+r]/=o,n[1+r]/=a;let l=eB(o,a,.5);return"number"==typeof n[2+r]&&(n[2+r]/=l),"number"==typeof n[3+r]&&(n[3+r]/=l),s(n)}}};function eN(t,{layout:e,layoutId:i}){return r.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!eF[t]||"opacity"===t)}function e_(t,e,i){let n=t.style,s=e?.style,r={};if(!n)return r;for(let e in n)(H(n[e])||s&&H(s[e])||eN(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(r[e]=n[e]);return r}function eU(t,e,i){let n=e_(t,e,i);for(let i in t)(H(t[i])||H(e[i]))&&(n[-1!==s.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class ez extends eS{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=q}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(r.has(e)){let t=z(e);return t&&t.default||0}return e=eR.has(e)?e:ek(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return eU(t,e,i)}build(t,e,i){ej(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in eO(t,e,void 0,n),e.attrs)t.setAttribute(eR.has(i)?i:ek(i),e.attrs[i])}mount(t){this.isSVGTag=eD(t.tagName),super.mount(t)}}function e$({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function eW(t){return void 0===t||1===t}function eY({scale:t,scaleX:e,scaleY:i}){return!eW(t)||!eW(e)||!eW(i)}function eq(t){return eY(t)||eH(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eH(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function eX(t,e,i,n,s){return void 0!==s&&(t=n+s*(t-n)),n+i*(t-n)+e}function eK(t,e=0,i=1,n,s){t.min=eX(t.min,e,i,n,s),t.max=eX(t.max,e,i,n,s)}function eZ(t,{x:e,y:i}){eK(t.x,e.translate,e.scale,e.originPoint),eK(t.y,i.translate,i.scale,i.originPoint)}function eG(t,e){t.min+=e,t.max+=e}function eQ(t,e,i,n,s=.5){let r=eB(t.min,t.max,s);eK(t,e,i,r,n)}function eJ(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function e0(t,e,i){let n=i??t;eQ(t.x,eJ(e.x,n.x),e.scaleX,e.scale,e.originX),eQ(t.y,eJ(e.y,n.y),e.scaleY,e.scale,e.originY)}function e1(t,e){return e$(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}class e2 extends eS{constructor(){super(...arguments),this.type="html",this.renderInstance=eO}readValueFromInstance(t,e){if(r.has(e))return this.projection?.isProjecting?tg(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return ty(i,e)})(t,e);{let i=window.getComputedStyle(t),n=(tn(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return e1(t,e)}build(t,e,i){eA(t,e,i.transformTemplate)}
3scrapeMotionValuesFromProps(t,e,i){return e_(t,e,i)}}var e5=t.i(71645);let e3=["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 e4(t){if("string"!=typeof t||t.includes("-"));else if(e3.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var e6=t.i(43476);let e8=(0,e5.createContext)({});t.s(["LayoutGroupContext",0,e8],31178);let e9=(0,e5.createContext)({strict:!1}),e7=(0,e5.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});t.s(["MotionConfigContext",0,e7],37806);let it=(0,e5.createContext)({});function ie(t){return Array.isArray(t)?t.join(" "):t}let ii=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function is(t,e,i){for(let n in e)H(e[n])||eN(n,i)||(t[n]=e[n])}let ir=()=>({...ii(),attrs:{}}),io=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 ia(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||io.has(t)}let il=t=>!ia(t);try{Q=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof Q&&(il=t=>t.startsWith("on")?!ia(t):Q(t))}catch{}function iu(t){return H(t)?t.get():t}let ih=(0,e5.createContext)(null);function ic(t){let e=(0,e5.useRef)(null);return null===e.current&&(e.current=t()),e.current}t.s(["PresenceContext",0,ih],21476),t.s(["useConstant",0,ic],47414);let id=t=>(e,i)=>{let n=(0,e5.useContext)(it),s=(0,e5.useContext)(ih),r=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,n,s){return{latestValues:function(t,e,i,n){let s={},r=n(t,{});for(let t in r)s[t]=iu(r[t]);let{initial:o,animate:a}=t,l=ed(t),u=ep(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let h=!!i&&!1===i.initial,c=(h=h||!1===o)?a:o;if(c&&"boolean"!=typeof c&&!el(c)){let e=Array.isArray(c)?c:[c];for(let i=0;i<e.length;i++){let n=ev(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(s[t]=e)}for(let e in t)s[e]=t[e]}}}return s}(i,n,s,t),renderState:e()}})(t,e,n,s);return i?r():ic(r)},ip=id({scrapeMotionValuesFromProps:e_,createRenderState:ii}),im=id({scrapeMotionValuesFromProps:eU,createRenderState:ir}),ig={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"]},iy=!1;function iv(){return!function(){if(iy)return;let t={};for(let e in ig)t[e]={isEnabled:t=>ig[e].some(e=>!!t[e])};ew=t,iy=!0}(),ew}let ix=Symbol.for("motionComponentSymbol"),iw="data-"+ek("framerAppearId"),ib=(0,e5.createContext)({});function iS(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let ik="u">typeof window?e5.useLayoutEffect:e5.useEffect;function iE(t,{forwardMotionProps:e=!1,type:i}={},n,s){n&&function(t){let e=iv();for(let i in t)e[i]={...e[i],...t[i]};ew=e}(n);let r=i?"svg"===i:e4(t),o=r?im:ip;function a(i,n){var a;let l,u,h,c={...(0,e5.useContext)(e7),...i,layoutId:function({layoutId:t}){let e=(0,e5.useContext)(e8).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:d}=c,p=function(t){let{initial:e,animate:i}=function(t,e){if(ed(t)){let{initial:e,animate:i}=t;return{initial:!1===e||eu(e)?e:void 0,animate:eu(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,e5.useContext)(it));return(0,e5.useMemo)(()=>({initial:e,animate:i}),[ie(e),ie(i)])}(i),m=o(i,d);if(!d&&"u">typeof window){(0,e5.useContext)(e9).strict;let e=function(t){let{drag:e,layout:i}=iv();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}
3(c);l=e.MeasureLayout,p.visualElement=function(t,e,i,n,s,r){let{visualElement:o}=(0,e5.useContext)(it),a=(0,e5.useContext)(e9),l=(0,e5.useContext)(ih),u=(0,e5.useContext)(e7),h=u.reducedMotion,c=u.skipAnimations,d=(0,e5.useRef)(null),p=(0,e5.useRef)(!1);n=n||a.renderer,!d.current&&n&&(d.current=n(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:h,skipAnimations:c,isSVG:r}),p.current&&d.current&&(d.current.manuallyAnimateOnMount=!0));let m=d.current,f=(0,e5.useContext)(ib);m&&!m.projection&&s&&("html"===m.type||"svg"===m.type)&&function(t,e,i,n){let{layoutId:s,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:h,layoutCrossfade:c}=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:s,layout:r,alwaysMeasureLayout:!!o||a&&iS(a),visualElement:t,animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,crossfade:c,layoutScroll:l,layoutRoot:u,layoutAnchor:h})}(d.current,i,s,f);let g=(0,e5.useRef)(!1);(0,e5.useInsertionEffect)(()=>{m&&g.current&&m.update(i,l)});let y=i[iw],v=(0,e5.useRef)(!!y&&"u">typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return ik(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,e5.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),v.current=!1),m.enteringChildren=void 0)}),m}(t,m,c,s,e.ProjectionNode,r)}return(0,e6.jsxs)(it.Provider,{value:p,children:[l&&p.visualElement?(0,e6.jsx)(l,{visualElement:p.visualElement,...c}):null,function(t,e,i,{latestValues:n},s,r=!1,o){let a=(o??e4(t)?function(t,e,i,n){let s=(0,e5.useMemo)(()=>{let i=ir();return ej(i,e,eD(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};is(e,t.style,t),s.style={...e,...s.style}}return s}:function(t,e){let i,n,s={},r=(i=t.style||{},is(n={},i,t),Object.assign(n,function({transformTemplate:t},e){return(0,e5.useMemo)(()=>{let i=ii();return eA(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),n);return t.drag&&!1!==t.dragListener&&(s.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(s.tabIndex=0),s.style=r,s})(e,n,s,t),l=function(t,e,i){let n={};for(let s in t)("values"!==s||"object"!=typeof t.values)&&!H(t[s])&&(il(s)||!0===i&&ia(s)||!e&&!ia(s)||t.draggable&&s.startsWith("onDrag"))&&(n[s]=t[s]);return n}(e,"string"==typeof t,r),u=t!==e5.Fragment?{...l,...a,ref:i}
3:{},{children:h}=e,c=(0,e5.useMemo)(()=>H(h)?h.get():h,[h]);return(0,e5.createElement)(t,{...u,children:c})}(t,i,(a=p.visualElement,u=(0,e5.useRef)(n),(0,e5.useInsertionEffect)(()=>{u.current=n}),h=(0,e5.useRef)(null),(0,e5.useCallback)(t=>{t&&m.onMount?.(t),a&&(t?a.mount(t):a.unmount());let e=u.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(h.current=i)}else h.current?(h.current(),h.current=null):e(t);else e&&(e.current=t)},[a])),m,d,e,r)]})}a.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let l=(0,e5.forwardRef)(a);return l[ix]=t,l}t.s(["useIsomorphicLayoutEffect",0,ik],74008);class iP{constructor(t){this.isMounted=!1,this.node=t}update(){}}function iT(t,e,i){let n=t.getProps();return ev(n,e,void 0!==i?i:n.custom,t)}function iA(t,e){if(t?.inherit&&e){let{inherit:i,...n}=t;return{...e,...n}}return t}function iC(t,e){let i=t?.[e]??t?.default??t;return i!==t?iA(i,t):i}let iM=t=>Array.isArray(t);function iI(t,e){let i=t.getValue("willChange");if(H(i)&&i.add)return i.add(e);if(!i&&tE.WillChange){let i=new tE.WillChange("auto");t.addValue("willChange",i),i.add(e)}}let ij=(...t)=>t.reduce((t,e)=>i=>e(t(i)));function iR(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 iD(t,e){return i=>i>0?e:t}let iO=(t,e,i)=>{let n=t*t,s=i*(e*e-n)+n;return s<0?0:Math.sqrt(s)},iV=[y,g,P];function iL(t){let e=iV.find(e=>e.test(t));if(tt(!!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===P&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let s=0,r=0,o=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,a=2*i-n;s=iR(a,n,t+1/3),r=iR(a,n,t),o=iR(a,n,t-1/3)}else s=r=o=i;return{red:Math.round(255*s),green:Math.round(255*r),blue:Math.round(255*o),alpha:n}}(i)),i}let iB=(t,e)=>{let i=iL(t),n=iL(e);if(!i||!n)return iD(t,e);let s={...i};return t=>(s.red=iO(i.red,n.red,t),s.green=iO(i.green,n.green,t),s.blue=iO(i.blue,n.blue,t),s.alpha=eB(i.alpha,n.alpha,t),g.transform(s))},iF=new Set(["none","hidden"]);function iN(t,e){return i=>eB(t,e,i)}function i_(t){return"number"==typeof t?iN:"string"==typeof t?tr(t)?iD:T.test(t)?iB:i$:Array.isArray(t)?iU:"object"==typeof t?T.test(t)?iB:iz:iD}function iU(t,e){let i=[...t],n=i.length,s=t.map((t,i)=>i_(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=s[e](t);return i}}function iz(t,e){let i={...t,...e},n={};for(let s in i)void 0!==t[s]&&void 0!==e[s]&&(n[s]=i_(t[s])(t[s],e[s]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let i$=(t,e)=>{let i=D.createTransformer(e),n=j(t),s=j(e);if(!(n.indexes.var.length===s.indexes.var.length&&n.indexes.color.length===s.indexes.color.length&&n.indexes.number.length>=s.indexes.number.length))return tt(!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"),iD(t,e);if(iF.has(t)&&!s.values.length||iF.has(e)&&!n.values.length)return iF.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return ij(iU(function(t,e){let i=[],n={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){let r=e.types[s],o=t.indexes[r][n[r]],a=t.values[o]??0;i[s]=a,n[r]++}return i}(n,s),s.values),i)};function iW(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?eB(t,e,i):i_(t)(t,e)}let iY=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tA.update(e,t),stop:()=>tC(e),now:()=>tM.isProcessing?tM.timestamp:ee.now()}};function iq(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}let iH=.01,iX=2,iK=.005,iZ=.5;function iG(t,e){return t*Math.sqrt(1-e*e)}let iQ=["duration","bounce"],iJ=["stiffness","damping","mass"];function i0(t,e){return e.some(e=>void 0!==t[e])}function i1(t=.3,e=.3){let i,n,s,r,a,l,u="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:h,restDelta:c}=u,d=u.keyframes[0],p=u.keyframes[u.keyframes.length-1],m={done:!1,value:d},{stiffness:f,damping:g,mass:y,duration:v,velocity:x,isResolvedFromDuration:w}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!i0(t,iJ)&&i0(t,iQ))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,s=2*o(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:1,stiffness:n,damping:s}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:n=1}){let s,r;tt(t<=tz(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let a=1-e;a=o(.05,1,a),t=o(.01,10,t/1e3),a<1?(s=e=>{let n=e*a,s=n*t;return .001-(n-i)/iG(e,a)*Math.exp(-s)},r=e=>{let n=e*a*t,r=Math.pow(a,2)*Math.pow(e,2)*t,o=Math.exp(-n),l=iG(Math.pow(e,2),a);return(n*i+i-r)*o*(-s(e)+.001>0?-1:1)/l}):(s=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),r=e=>t*t*(i-e)*Math.exp(-e*t));
3let l=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(s,r,5/t);if(t=tz(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(l,2)*n;return{stiffness:e,damping:2*a*Math.sqrt(n*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...u,velocity:-((u.velocity||0)/1e3)}),b=x||0,S=g/(2*Math.sqrt(f*y)),k=p-d,E=Math.sqrt(f/y)/1e3,P=5>Math.abs(k);if(h||(h=P?iH:iX),c||(c=P?iK:iZ),S<1)s=iG(E,S),r=(b+S*E*k)/s,i=t=>p-Math.exp(-S*E*t)*(r*Math.sin(s*t)+k*Math.cos(s*t)),a=S*E*r+k*s,l=S*E*k-r*s,n=t=>Math.exp(-S*E*t)*(a*Math.sin(s*t)+l*Math.cos(s*t));else if(1===S){i=t=>p-Math.exp(-E*t)*(k+(b+E*k)*t);let t=b+E*k;n=e=>Math.exp(-E*e)*(E*t*e-b)}else{let t=E*Math.sqrt(S*S-1);i=e=>{let i=Math.exp(-S*E*e),n=Math.min(t*e,300);return p-i*((b+S*E*k)*Math.sinh(n)+t*k*Math.cosh(n))/t};let e=(b+S*E*k)/t,s=S*E*e-k*t,r=S*E*k-e*t;n=e=>{let i=Math.exp(-S*E*e),n=Math.min(t*e,300);return i*(s*Math.sinh(n)+r*Math.cosh(n))}}let T={calculatedDuration:w&&v||null,velocity:t=>tz(n(t)),next:t=>{if(!w&&S<1){let e=Math.exp(-S*E*t),i=Math.sin(s*t),n=Math.cos(s*t),o=p-e*(r*i+k*n);return m.done=Math.abs(tz(e*(a*i+l*n)))<=h&&Math.abs(p-o)<=c,m.value=m.done?p:o,m}let e=i(t);return w?m.done=t>=v:m.done=Math.abs(tz(n(t)))<=h&&Math.abs(p-e)<=c,m.value=m.done?p:e,m},toString:()=>{let t=Math.min(iq(T),2e4),e=t5(e=>T.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return T}function i2(t,e,i){let n=Math.max(e-5,0);return ei(i-t(n),e-n)}function i5({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:s=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:h}){let c,d,p=t[0],m={done:!1,value:p},f=i*e,g=p+f,y=void 0===o?g:o(g);y!==g&&(f=y-p);let v=t=>-f*Math.exp(-t/n),x=t=>y+v(t),w=t=>{let e=v(t),i=x(t);m.done=Math.abs(e)<=u,m.value=m.done?y:i},b=t=>{let e;if(e=m.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;c=t,d=i1({keyframes:[m.value,(i=m.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:i2(x,t,m.value),damping:s,stiffness:r,restDelta:u,restSpeed:h})}};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return(d||void 0!==c||(e=!0,w(t),b(t)),void 0!==c&&t>=c)?d.next(t-c):(e||w(t),m)}}}i1.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),s=Math.min(iq(n),2e4);return{type:"keyframes",ease:t=>n.next(s*t).value/e,duration:s/1e3}}(t,100,i1);return t.ease=e.ease,t.duration=tz(e.duration),t.type="keyframes",t};let i3=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function i4(t,e,i,n){return t===e&&i===n?tk:s=>0===s||1===s?s:i3(function(t,e,i,n,s){let r,o,a=0;do(r=i3(o=e+(i-e)/2,n,s)-t)>0?i=o:e=o;while(Math.abs(r)>1e-7&&++a<12)return o}(s,0,1,t,i),e,n)}let i6=i4(.42,0,1,1),i8=i4(0,0,.58,1),i9=i4(.42,0,.58,1),i7=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,nt=t=>e=>1-t(1-e),ne=i4(.33,1.53,.69,.99),ni=nt(ne),nn=i7(ni),ns=t=>t>=1?1:(t*=2)<1?.5*ni(t):.5*(2-Math.pow(2,-10*(t-1))),nr=t=>1-Math.sin(Math.acos(t)),no=nt(nr),na=i7(nr),nl={linear:tk,easeIn:i6,easeInOut:i9,easeOut:i8,circIn:nr,circInOut:na,circOut:no,backIn:ni,backInOut:nn,backOut:ne,anticipate:ns},nu=t=>{if(t1(t)){te(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,s]=t;return i4(e,i,n,s)}return"string"==typeof t?(te(void 0!==nl[t],`Invalid easing type '${t}'`,"invalid-easing-type"),nl[t]):t},nh=(t,e,i)=>{let n=e-t;return n?(i-t)/n:1};function nc({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var s;let r,a=Array.isArray(n)&&"number"!=typeof n[0]?n.map(nu):nu(n),l={done:!1,value:e[0]},u=function(t,e,{clamp:i=!0,ease:n,mixer:s}={}){let r=t.length;if(te(r===e.length,"Both input and output ranges must be the same length","range-length"),1===r)return()=>e[0];if(2===r&&e[0]===e[1])return()=>e[1];let a=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());let l=function(t,e,i){let n=[],s=i||tE.mix||iW,r=t.length-1;for(let i=0;i<r;i++){let r=s(t[i],t[i+1]);e&&(r=ij(Array.isArray(e)?e[i]||tk:e,r)),n.push(r)}return n}(e,n,s),u=l.length,h=i=>{if(a&&i<t[0])return e[0];let n=0;if(u>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let s=nh(t[n],t[n+1],i);return l[n](s)};return i?e=>h(o(t[0],t[r-1],e)):h}
3((s=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let s=nh(0,e,n);t.push(eB(i,1,s))}}(r=[0],e.length-1),r),s.map(e=>e*t)),e,{ease:Array.isArray(a)?a:e.map(()=>a||i9).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(l.value=u(e),l.done=e>=t,l)}}let nd={decay:i5,inertia:i5,tween:nc,keyframes:nc,spring:i1};function np(t){"string"==typeof t.type&&(t.type=nd[t.type])}let nm=t=>t/100;class nf extends tJ{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!==ee.now()&&this.tick(ee.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},t0.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;np(t);let{type:e=nc,repeat:i=0,repeatDelay:n=0,repeatType:s,velocity:r=0}=t,{keyframes:o}=t,a=e||nc;a!==nc&&"number"!=typeof o[0]&&(this.mixKeyframes=ij(nm,iW(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===s&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-r})),null===l.calculatedDuration&&(l.calculatedDuration=iq(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,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:n,totalDuration:s,mixKeyframes:r,mirroredGenerator:a,resolvedDuration:l,calculatedDuration:u}=this;if(null===this.startTime)return n.next(0);let{delay:h=0,keyframes:c,repeat:d,repeatType:p,repeatDelay:m,type:f,onUpdate:g,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-s/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let v=this.currentTime-h*(this.playbackSpeed>=0?1:-1),x=this.playbackSpeed>=0?v<0:v>s;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=s);let w=this.currentTime,b=n;if(d){let t=Math.min(this.currentTime,s)/l,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===p?(i=1-i,m&&(i-=m/l)):"mirror"===p&&(b=a)),w=o(0,1,i)*l}x?(this.delayState.value=c[0],i=this.delayState):i=b.next(w),r&&!x&&(i.value=r(i.value));let{done:S}=i;x||null===u||(S=this.playbackSpeed>=0?this.currentTime>=s:this.currentTime<=0);let k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&S);return k&&f!==i5&&(i.value=tQ(c,this.options,y,this.speed)),g&&g(i.value),k&&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=tz(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 i2(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(ee.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=iY,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(ee.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,t0.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 ng={anticipate:ns,backInOut:nn,circInOut:na};
3class ny extends t8{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in ng&&(t.ease=ng[t.ease])}(t),np(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:n,element:s,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let a=new nf({...r,autoplay:!1}),l=Math.max(10,ee.now()-this.startTime),u=o(0,10,l-10),h=a.sample(l).value,{name:c}=this.options;s&&c&&tq(s,c,h),e.setWithVelocity(a.sample(Math.max(0,l-u)).value,h,u),a.stop()}}let nv=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(D.test(t)||"0"===t)&&!t.startsWith("url("));function nx(t){t.duration=0,t.type="keyframes"}let nw=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,nb=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),nS=tH(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class nk extends tJ{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:r="loop",keyframes:o,name:a,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=ee.now();const c={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:s,repeatType:r,name:a,motionValue:l,element:u,...h},d=u?.KeyframeResolver||tB;this.keyframeResolver=new d(o,(t,e,i)=>this.onKeyframesResolved(t,e,c,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){let s;this.keyframeResolver=void 0;let{name:r,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:h}=i;this.resolvedAt=ee.now();let c=!0;!function(t,e,i,n){let s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;let r=t[t.length-1],o=nv(s,e),a=nv(r,e);return tt(o===a,`You are trying to animate ${e} from "${s}" to "${r}". "${o?r:s}" is not an animatable value.`,"value-not-animatable"),!!o&&!!a&&(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||t6(i))&&n)}(t,r,o,a)&&(c=!1,(tE.instantAnimations||!l)&&h?.(tQ(t,i,e)),t[0]=t[t.length-1],nx(i),i.repeat=0);let d={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},p=c&&!u&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:s,damping:r,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=e.owner.getProps();return nS()&&i&&(t9.has(i)||nb.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&nw.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!u)&&!l&&!n&&"mirror"!==s&&0!==r&&"inertia"!==o}(d),m=d.motionValue?.owner?.current;if(p)try{s=new ny({...d,element:m})}catch{s=new nf(d)}else s=new nf(d);s.finished.then(()=>{this.notifyFinished()}).catch(tk),this.pendingTimeline&&(this.stopTimeline=s.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=s}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(),tO=!0,tL(),tV(),tO=!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 nE={type:"spring",stiffness:500,damping:25,restSpeed:10},nP={type:"keyframes",duration:.8},nT={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nA=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),nC=(t,e,i,n={},s,o)=>a=>{let l=iC(n,t)||{}
3,u=l.delay||n.delay||0,{elapsed:h=0}=n;h-=tz(u);let c={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:o?void 0:s};!function(t){for(let e in t)if(!nA.has(e))return!0;return!1}(l)&&Object.assign(c,((t,{keyframes:e})=>e.length>2?nP:r.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:nE:nT)(t,c)),c.duration&&(c.duration=tz(c.duration)),c.repeatDelay&&(c.repeatDelay=tz(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if(!1!==c.type&&(0!==c.duration||c.repeatDelay)||(nx(c),0===c.delay&&(d=!0)),(tE.instantAnimations||tE.skipAnimations||s?.shouldSkipAnimations||l.skipAnimations)&&(d=!0,nx(c),c.delay=0),c.allowFlatten=!l.type&&!l.ease,d&&!o&&void 0!==e.get()){let t=tQ(c.keyframes,l);if(void 0!==t)return void tA.update(()=>{c.onUpdate(t),c.onComplete()})}return l.isSync?new nf(c):new nk(c)};function nM(t,e,{delay:i=0,transitionOverride:n,type:s}={}){let{transition:r,transitionEnd:o,...a}=e,l=t.getDefaultTransition();r=r?iA(r,l):l;let u=r?.reduceMotion,h=r?.skipAnimations;n&&(r=n);let c=[],d=s&&t.animationState&&t.animationState.getState()[s],p=r?.path;for(let e in p&&p.animateVisualElement(t,a,r,i,c),a){let n=t.getValue(e,t.latestValues[e]??null),s=a[e];if(void 0===s||d&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(d,e))continue;let o={delay:i,...iC(r||{},e)};h&&(o.skipAnimations=!0);let l=n.get();if(void 0!==l&&!n.isAnimating()&&!Array.isArray(s)&&s===l&&!o.velocity){tA.update(()=>n.set(s));continue}let p=!1;if(window.MotionHandoffAnimation){let i=t.props[iw];if(i){let t=window.MotionHandoffAnimation(i,e,tA);null!==t&&(o.startTime=t,p=!0)}}iI(t,e);let m=u??t.shouldReduceMotion;n.start(nC(e,n,s,m&&X.has(e)?{type:!1}:o,t,p));let f=n.animation;f&&c.push(f)}if(o){let e=()=>tA.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:n={},...s}=iT(t,e)||{};for(let e in s={...s,...i}){var r;let i=iM(r=s[e])?r[r.length-1]||0:r;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,er(i))}}(t,o)});c.length?Promise.all(c).then(e):e()}return c}function nI(t,e,i,n=0,s=1){let r=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*n;return"function"==typeof i?i(r,o):1===s?r*n:a-r*n}function nj(t,e,i={}){let n=iT(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:s=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(s=i.transitionOverride);let r=n?()=>Promise.all(nM(t,n,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:r=0,staggerChildren:o,staggerDirection:a}=s;return function(t,e,i=0,n=0,s=0,r=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(nj(l,e,{...o,delay:i+("function"==typeof n?0:n)+nI(t.variantChildren,l,n,s,r)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,n,r,o,a,i)}:()=>Promise.resolve(),{when:a}=s;if(!a)return Promise.all([r(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[r,o]:[o,r];return t().then(()=>e())}}let nR=ec.length;function nD(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let nO=[...eh].reverse(),nV=eh.length;function nL(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nB(){return{animate:nL(!0),whileInView:nL(),whileHover:nL(),whileTap:nL(),whileDrag:nL(),whileFocus:nL(),exit:nL()}}let nF=0;function nN(t){return[t("x"),t("y")]}function n_(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let nU={x:!1,y:!1};function nz(t){return t.max-t.min}function n$(t,e,i,n=.5){t.origin=n,t.originPoint=eB(e.min,e.max,t.origin),t.scale=nz(i)/nz(e),t.translate=eB(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 nW(t,e,i,n){n$(t.x,e.x,i.x,n?n.originX:void 0),n$(t.y,e.y,i.y,n?n.originY:void 0)}function nY(t,e,i,n=0){t.min=(n?eB(i.min,i.max,n):i.min)+e.min,t.max=t.min+nz(e)}function nq(t,e,i,n=0){let s=n?eB(i.min,i.max,n):i.min;t.min=e.min-s,t.max=t.min+nz(e)}function nH(t,e,i,n){nq(t.x,e.x,i.x,n?.x),nq(t.y,e.y,i.y,n?.y)}let nX=t=>"object"==typeof t&&null!==t;function nK(t){return nX(t)&&"ownerSVGElement"in t}function nZ(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let n=document;e&&(n=e.current);let s=i?.[t]??n.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t).filter(t=>null!=t)}t.s(["resolveElements",0,nZ],49652);
3let nG=new WeakMap,nQ=(t,e,i)=>(n,s)=>s&&s[0]?s[0][t+"Size"]:nK(n)&&"getBBox"in n?n.getBBox()[e]:n[i],nJ=nQ("inline","width","offsetWidth"),n0=nQ("block","height","offsetHeight");function n1({target:t,borderBoxSize:e}){nG.get(t)?.forEach(i=>{i(t,{get width(){return nJ(t,e)},get height(){return n0(t,e)}})})}function n2(t){t.forEach(n1)}let n5=new Set;function n3(t,e){let s;return"function"==typeof t?(n5.add(t),n||(n=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};n5.forEach(e=>e(t))},window.addEventListener("resize",n)),()=>{n5.delete(t),n5.size||"function"!=typeof n||(window.removeEventListener("resize",n),n=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(n2)),(s=nZ(t)).forEach(t=>{let n=nG.get(t);n||(n=new Set,nG.set(t,n)),n.add(e),i?.observe(t)}),()=>{s.forEach(t=>{let n=nG.get(t);n?.delete(e),n?.size||i?.unobserve(t)})})}let n4=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),n6=new Set(["INPUT","SELECT","TEXTAREA"]),n8=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function n9(t){return{point:{x:t.pageX,y:t.pageY}}}function n7(t,e,i,n){return n_(t,e,t=>n8(t)&&i(t,n9(t)),n)}let st=({current:t})=>t?t.ownerDocument.defaultView:null,se=(t,e)=>Math.abs(t-e),si=new Set(["auto","scroll"]);class sn{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:s=!1,distanceThreshold:r=3,element:o}={}){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=ss(this.lastRawMoveEventInfo,this.transformPagePoint));let i=so(this.lastMoveEventInfo,this.history),n=null!==this.startEvent,s=(t=i.offset,e={x:0,y:0},Math.sqrt(se(t.x,e.x)**2+se(t.y,e.y)**2)>=this.distanceThreshold);if(!n&&!s)return;let{point:r}=i,{timestamp:o}=tM;this.history.push({...r,timestamp:o});let{onStart:a,onMove:l}=this.handlers;n||(a&&a(this.lastMoveEvent,i),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,i)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=ss(e,this.transformPagePoint),tA.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:s}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&s&&s(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=so("pointercancel"===t.type?this.lastMoveEventInfo:ss(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,r),n&&n(t,r)},!n8(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=r,this.contextWindow=n||window;const a=ss(n9(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=tM;this.history=[{...l,timestamp:u}];const{onSessionStart:h}=e;h&&h(t,so(a,this.history)),this.removeListeners=ij(n7(this.contextWindow,"pointermove",this.handlePointerMove),n7(this.contextWindow,"pointerup",this.handlePointerUp),n7(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(si.has(t.overflowX)||si.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,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s={x:n.x-e.x,y:n.y-e.y};(0!==s.x||0!==s.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s.x,this.lastMoveEventInfo.point.y+=s.y):this.history.length>0&&(this.history[0].x-=s.x,this.history[0].y-=s.y),this.scrollPositions.set(t,n),tA.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 ss(t,e){return e?{point:e(t.point)}:t}function sr(t,e){return{x:t.x-e.x,y:t.y-e.y}}function so({point:t},e){return{point:t,delta:sr(t,sa(e)),offset:sr(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,n=sa(t);for(;e>=0&&(i=t[e],!(n.timestamp-i.timestamp>tz(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&n.timestamp-i.timestamp>2*tz(.1)&&(i=t[1]);let s=(n.timestamp-i.timestamp)/1e3;if(0===s)return{x:0,y:0};let r={x:(n.x-i.x)/s,y:(n.y-i.y)/s}
3;return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}(e)}}function sa(t){return t[t.length-1]}function sl(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 su(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function sh(t,e,i){return{min:sc(t,e),max:sc(t,i)}}function sc(t,e){return"number"==typeof t?t:t[e]||0}let sd=new WeakMap;class sp{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=q(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let s=t=>{e&&this.snapToCursor(n9(t).point),this.stopAnimation()},r=(t,e)=>{let{drag:i,dragPropagation:n,onDragStart:s}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(nU[t])return null;else return nU[t]=!0,()=>{nU[t]=!1};return nU.x||nU.y?null:(nU.x=nU.y=!0,()=>{nU.x=nU.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),nN(t=>{let e=this.getAxisMotionValue(t).get()||0;if(w.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=nz(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&tA.update(()=>s(t,e),!1,!0),iI(this.visualElement,"transform");let{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:s,onDrag:r}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(n&&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}(o),null!==this.currentDirection&&s&&s(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),r&&tA.update(()=>r(t,e),!1,!0)},a=(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 sn(t,{onSessionStart:s,onStart:r,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:st(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!n||!i)return;let{velocity:r}=n;this.startAnimation(r);let{onDragEnd:o}=this.getProps();o&&tA.postRender(()=>o(i,n))}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:n}=this.getProps();if(!i||!sf(t,n,this.currentDirection))return;let s=this.getAxisMotionValue(t),r=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(r=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?eB(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?eB(i,t,n.max):Math.min(t,i)),t}(r,this.constraints[t],this.elastic[t])),s.set(r)}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,n=this.constraints;t&&iS(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:s}){return{x:sl(t.x,i,s),y:sl(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:sh(t,"left","right"),y:sh(t,"top","bottom")}}(e),n!==this.constraints&&!iS(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&nN(t=>{var e,n;let s;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],n=this.constraints[t],s={},void 0!==n.min&&(s.min=n.min-e.min),void 0!==n.max&&(s.max=n.max-e.min),s))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!iS(e))return!1;let n=e.current;te(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:s}=this.visualElement;if(!s||!s.layout)return!1;s.root&&(s.root.scroll=void 0,s.root.updateScroll());
3let r=function(t,e,i){let n=e1(t,i),{scroll:s}=e;return s&&(eG(n.x,s.offset.x),eG(n.y,s.offset.y)),n}(n,s.root,this.visualElement.getTransformPagePoint()),o=(t=s.layout.layoutBox,{x:su(t.x,r.x),y:su(t.y,r.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=e$(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:s,dragSnapToOrigin:r,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(nN(o=>{if(!sf(o,e,this.currentDirection))return;let l=a&&a[o]||{};(!0===r||r===o)&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return iI(this.visualElement,t),i.start(nC(t,i,0,e,this.visualElement,!1))}stopAnimation(){nN(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`;return this.visualElement.getProps()[e]||this.visualElement.getValue(t,this.visualElement.latestValues[t]??0)}snapToCursor(t){nN(e=>{let{drag:i}=this.getProps();if(!sf(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,s=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:r}=n.layout.layoutBox[e],o=s.get()||0;s.set(t[e]-eB(i,r,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!iS(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nN(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,s;let r,a,l,u=e.get();n[t]=(i={min:u,max:u},s=this.constraints[t],r=.5,a=nz(i),(l=nz(s))>a?r=nh(s.min,s.max-a,i.min):a>l&&(r=nh(i.min,i.max-l,s.min)),o(0,1,r))}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),nN(e=>{if(!sf(e,t,null))return;let i=this.getAxisMotionValue(e),{min:s,max:r}=this.constraints[e];i.set(eB(s,r,n[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;sd.set(this.visualElement,this);let e=this.visualElement.current,i=n7(e,"pointerdown",t=>{let{drag:i,dragListener:n=!0}=this.getProps(),s=t.target,r=s!==e&&(n6.has(s.tagName)||!0===s.isContentEditable);i&&n&&!r&&this.start(t)}),n=()=>{var i,n,s;let r,o,{dragConstraints:a}=this.getProps();iS(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,n=a.current,r=n3(i,sm(s=()=>this.scalePositionWithinConstraints())),o=n3(n,sm(s)),t=()=>{r(),o()}))},{projection:s}=this.visualElement,r=s.addEventListener("measure",n);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),tA.read(n);let o=n_(window,"resize",()=>this.scalePositionWithinConstraints()),a=s.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(nN(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{o(),i(),r(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:r=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:s,dragElastic:r,dragMomentum:o}}}function sm(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function sf(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let sg=t=>(e,i)=>{t&&tA.update(()=>t(e,i),!1,!0)},sy={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var sv=e5;function sx(t=!0){let e=(0,e5.useContext)(ih);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:n,register:s}=e,r=(0,e5.useId)();(0,e5.useEffect)(()=>{if(t)return s(r)},[t]);let o=(0,e5.useCallback)(()=>t&&n&&n(r),[r,n,t]);return!i&&n?[!1,o]:[!0]}t.s(["usePresence",0,sx],64978);let sw=!1;class sb extends sv.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:s}=t;s&&(e.group&&e.group.add(s),i&&i.register&&n&&i.register(s),sw&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),sy.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:s}=this.props,{projection:r}=i;return r&&(r.isPresent=s,t.layoutDependency!==e&&r.setOptions({...r.options,layoutDependency:e}),sw=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==s?r.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?r.promote():r.relegate()||tA.postRender(()=>{let t=r.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(),t7.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;sw=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function sS(t){let[e,i]=sx(),n=(0,sv.useContext)(e8);return(0,e6.jsx)(sb,{...t,layoutGroup:n,switchLayoutGroup:(0,sv.useContext)(ib),isPresent:e,safeToRemove:i})}let sk=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],sE=sk.length,sP=t=>"string"==typeof t?parseFloat(t):t,sT=t=>"number"==typeof t||b.test(t);function sA(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let sC=sI(0,.5,no),sM=sI(.5,.95,tk);function sI(t,e,i){return n=>n<t?0:n>e?1:i(nh(t,e,n))}function sj(t,e){t.min=e.min,t.max=e.max}function sR(t,e){sj(t.x,e.x),sj(t.y,e.y)}function sD(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function sO(t,e,i,n,s){return t-=e,t=n+1/i*(t-n),void 0!==s&&(t=n+1/s*(t-n)),t}function sV(t,e,[i,n,s],r,o){!function(t,e=0,i=1,n=.5,s,r=t,o=t){if(w.test(e)&&(e=parseFloat(e),e=eB(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=eB(r.min,r.max,n);t===r&&(a-=e),t.min=sO(t.min,e,i,a,s),t.max=sO(t.max,e,i,a,s)}(t,e[i],e[n],e[s],e.scale,r,o)}let sL=["x","scaleX","originX"],sB=["y","scaleY","originY"];function sF(t,e,i,n){sV(t.x,e,sL,i?i.x:void 0,n?n.x:void 0),sV(t.y,e,sB,i?i.y:void 0,n?n.y:void 0)}function sN(t){return 0===t.translate&&1===t.scale}function s_(t){return sN(t.x)&&sN(t.y)}function sU(t,e){return t.min===e.min&&t.max===e.max}function sz(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function s$(t,e){return sz(t.x,e.x)&&sz(t.y,e.y)}function sW(t){return nz(t.x)/nz(t.y)}function sY(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class sq{constructor(){this.members=[]}add(t){t$(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 n=i.instance;n&&!1!==n.isConnected||i.snapshot||(tW(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if(tW(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)}
3}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:n}=i.options,{layoutDependency:s}=t.options;(void 0===n||n!==s)&&(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 sH=(t,e)=>t.depth-e.depth;class sX{constructor(){this.children=[],this.isDirty=!1}add(t){t$(this.children,t),this.isDirty=!0}remove(t){tW(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(sH),this.isDirty=!1,this.children.forEach(t)}}let sK=["","X","Y","Z"],sZ=0;function sG(t,e,i,n){let{latestValues:s}=e;s[t]&&(i[t]=s[t],e.setStaticValue(t,0),n&&(n[t]=0))}function sQ({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:s}){return class{constructor(t={},i=e?.()){this.id=sZ++,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=()=>{this.projectionUpdateScheduled=!1,this.nodes.forEach(s1),this.nodes.forEach(rt),this.nodes.forEach(re),this.nodes.forEach(s2)},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 sX)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tY),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=nK(e)&&!(nK(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,s=()=>this.root.updateBlockedByResize=!1;tA.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==n){let e,r;n=t,this.root.updateBlockedByResize=!0,i&&i(),e=ee.now(),r=({timestamp:t})=>{let i=t-e;i>=250&&(tC(r),s(i-250))},tA.setup(r,!0),i=()=>tC(r),sy.hasAnimatedSinceResize&&(sy.hasAnimatedSinceResize=!1,this.nodes.forEach(s7))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let r=this.options.transition||s.getDefaultTransition()||ra,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!s$(this.targetLayout,n),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={...iC(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u,e.path)}else e||s7(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}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.forEac
3h(ri),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 n=i.props[iw];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tA,!(t||i))}let{parent:s}=e;s&&!s.hasCheckedOptimisedAppear&&t(s)}(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 n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(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.forEach(s4),this.nodes.forEach(s3);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(s6);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(s8),this.nodes.forEach(s9),this.nodes.forEach(sJ),this.nodes.forEach(s0)):this.nodes.forEach(s6),this.clearAllSnapshots();let t=ee.now();tM.delta=o(0,1e3/60,t-tM.timestamp),tM.timestamp=t,tM.isProcessing=!0,tI.update.process(tM),tI.preRender.process(tM),tI.render.process(tM),tM.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,t7.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(s5),this.sharedNodes.forEach(rn)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tA.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tA.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nz(this.snapshot.measuredBox.x)||nz(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=q()),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=n(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(!s)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!s_(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,r=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||eq(this.latestValues)||r)&&(s(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),rh((e=n).x),rh(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return q();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(rd))){let{scroll:t}=this.root;t&&(eG(e.x,t.offset.x),eG(e.y,t.offset.y))}return e}removeElementScroll(t){let e=q();if(sR(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:s,options:r}=n;n!==this.root&&s&&r.layoutScroll&&(s.wasRoot&&sR(e,t),eG(e.x,s.offset.x),eG(e.y,s.offset.y))}return e}applyTransform(t,e=!1,i){let n=i||q();sR(n,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(eG(n.x,-i.scroll.offset.x),eG(n.y,-i.scroll.offset.y)),eq(i.latestValues)&&e0(n,i.latestValues,i.layout?.layoutBox)}return eq(this.latestValues)&&e0(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){let e=q();sR(e,t);for(let t=0;t<this.path.length;t++){let i,n=this.path[t];eq(n.latestValues)&&(n.instance&&(eY(n.latestValues)&&n.updateSnapshot(),sR(i=q(),n.measurePageBox())),sF(e,n.latestValues,n.snapshot?.layoutBox,i))}return eq(this.latestValues)&&sF(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:n,layoutId:s}=this.options;if(!this.layout||!(n||s))return;this.resolvedRelativeTargetAt=tM.timestamp;let r=this.getClosestProjectingParent();if(r&&this.linkedParentVersion!==r.layoutVersion&&!r.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&r&&r.layout?this.createRelativeTarget(r,this.layout.layoutBox,r.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=q(),this.targetWithTransforms=q()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var o,a,l,u;this.forceRelativeParentToResolveTarget(),o=this.target,a=this.relativeTarget,l=this.relativeParent.target,u=this.options.layoutAnchor||void 0,nY(o.x,a.x,l.x,u?.x),nY(o.y,a.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):sR(this.target,this.layout.layoutBox),eZ(this.target,this.targetDelta)):sR(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&r&&!!r.resumingFrom==!!this.resumingFrom&&!r.options.layoutScroll&&r.target&&1!==this.animationProgress?this.createRelativeTarget(r,this.target,r.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||eY(this.parent.latestValues)||eH(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=q(),this.relativeTargetOrigin=q(),nH(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),sR(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
3if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tM.timestamp&&(i=!1),i)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;sR(this.layoutCorrected,this.layout.layoutBox);let r=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,n=!1){let s,r,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){r=(s=i[a]).projectionDelta;let{visualElement:o}=s.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(n&&s.options.layoutScroll&&s.scroll&&s!==s.root&&(eG(t.x,-s.scroll.offset.x),eG(t.y,-s.scroll.offset.y)),r&&(e.x*=r.x.scale,e.y*=r.y.scale,eZ(t,r)),n&&eq(s.latestValues)&&e0(t,s.latestValues,s.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=q());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(sD(this.prevProjectionDelta.x,this.projectionDelta.x),sD(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nW(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===r&&this.treeScale.y===o&&sY(this.projectionDelta.x,this.prevProjectionDelta.x)&&sY(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a))}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=W(),this.projectionDelta=W(),this.projectionDeltaWithTransform=W()}setAnimationOrigin(t,e=!1,i){let n,s=this.snapshot,r=s?s.latestValues:{},o={...this.latestValues},a=W();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let l=q(),u=(s?s.source:void 0)!==(this.layout?this.layout.source:void 0),h=this.getStack(),c=!h||h.members.length<=1,d=!!(u&&!c&&!0===this.options.crossfade&&!this.path.some(ro));this.animationProgress=0;let p=i?.interpolateProjection(t);this.mixTargetDelta=e=>{let i=e/1e3,s=p?.(i);if(s?(a.x.translate=s.x,a.x.scale=eB(t.x.scale,1,i),a.x.origin=t.x.origin,a.x.originPoint=t.x.originPoint,a.y.translate=s.y,a.y.scale=eB(t.y.scale,1,i),a.y.origin=t.y.origin,a.y.originPoint=t.y.originPoint):(rs(a.x,t.x,i),rs(a.y,t.y,i)),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var h,m,f,g,y,v;nH(l,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),f=this.relativeTarget,g=this.relativeTargetOrigin,y=l,v=i,rr(f.x,g.x,y.x,v),rr(f.y,g.y,y.y,v),n&&(h=this.relativeTarget,m=n,sU(h.x,m.x)&&sU(h.y,m.y))&&(this.isProjectionDirty=!1),n||(n=q()),sR(n,this.relativeTarget)}u&&(this.animationValues=o,function(t,e,i,n,s,r){s?(t.opacity=eB(0,i.opacity??1,sC(n)),t.opacityExit=eB(e.opacity??1,0,sM(n))):r&&(t.opacity=eB(e.opacity??1,i.opacity??1,n));for(let s=0;s<sE;s++){let r=sk[s],o=sA(e,r),a=sA(i,r);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||sT(o)===sT(a)?(t[r]=Math.max(eB(sP(o),sP(a),n),0),(w.test(a)||w.test(o))&&(t[r]+="%")):t[r]=a)}(e.rotate||i.rotate)&&(t.rotate=eB(e.rotate||0,i.rotate||0,n))}(o,r,this.latestValues,i,d,c)),s&&void 0!==s.rotate&&(this.animationValues||(this.animationValues=o),this.animationValues.pathRotation=s.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},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=tA.update(()=>{var e,i,n;let s;sy.hasAnimatedSinceResize=!0,t0.layout++,this.motionValue||(this.motionValue=er(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],n={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{t0.layout--},onComplete:()=>{t0.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(s=H(e)?e:er(e)).start(nC("",s,i,n)),s.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:n,latestValues:s}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&rc(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||q();let e=nz(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=nz(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}sR(e,i),e0(e,s),nW(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new sq),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;
3return 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 n=this.getStack();n&&n.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 n={};i.z&&sG("z",t,n,this.animationValues);for(let e=0;e<sK.length;e++)sG(`rotate${sK[e]}`,t,n,this.animationValues),sG(`skew${sK[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[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=iu(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=iu(e?.pointerEvents)||""),this.hasProjected&&!eq(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let s=n.animationValues||n.latestValues;this.applyTransformsToTarget();let r=function(t,e,i){let n="",s=t.x.translate/e.x,r=t.y.translate/e.y,o=i?.z||0;if((s||r||o)&&(n=`translate3d(${s}px, ${r}px, ${o}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,pathRotation:s,rotateX:r,rotateY:o,skewX:a,skewY:l}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),s&&(n+=`rotate(${s}deg) `),r&&(n+=`rotateX(${r}deg) `),o&&(n+=`rotateY(${o}deg) `),a&&(n+=`skewX(${a}deg) `),l&&(n+=`skewY(${l}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(n+=`scale(${a}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);i&&(r=i(s,r)),t.transform=r;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,n.animationValues?t.opacity=n===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=n===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0,eF){if(void 0===s[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=eF[e],l="none"===r?s[e]:i(s[e],n);if(o){let e=o.length;for(let i=0;i<e;i++)t[o[i]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?iu(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(s3),this.root.sharedNodes.clear()}}}function sJ(t){t.updateLayout()}function s0(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:s}=t.options,r=e.source!==t.layout.source;if("size"===s)nN(t=>{let n=r?e.measuredBox[t]:e.layoutBox[t],s=nz(n);n.min=i[t].min,n.max=n.min+s});else if("x"===s||"y"===s){let t="x"===s?"y":"x";sj(r?e.measuredBox[t]:e.layoutBox[t],i[t])}else rc(s,e.layoutBox,i)&&nN(n=>{let s=r?e.measuredBox[n]:e.layoutBox[n],o=nz(i[n]);s.max=s.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+o)});let o=W();nW(o,i,e.layoutBox);let a=W();r?nW(a,t.applyTransform(n,!0),e.measuredBox):nW(a,i,e.layoutBox);let l=!s_(o),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:s,layout:r}=n;if(s&&r){let o=t.options.layoutAnchor||void 0,a=q();nH(a,e.layoutBox,s.layoutBox,o);let l=q();nH(l,i,r.layoutBox,o),s$(a,l)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function s1(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
3isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function s2(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function s5(t){t.clearSnapshot()}function s3(t){t.clearMeasurements()}function s4(t){t.isLayoutDirty=!0,t.updateLayout()}function s6(t){t.isLayoutDirty=!1}function s8(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function s9(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function s7(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function rt(t){t.resolveTargetDelta()}function re(t){t.calcProjection()}function ri(t){t.resetSkewAndRotation()}function rn(t){t.removeLeadSnapshot()}function rs(t,e,i){t.translate=eB(e.translate,0,i),t.scale=eB(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function rr(t,e,i,n){t.min=eB(e.min,i.min,n),t.max=eB(e.max,i.max,n)}function ro(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let ra={duration:.45,ease:[.4,0,.1,1]},rl=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),ru=rl("applewebkit/")&&!rl("chrome/")?Math.round:tk;function rh(t){t.min=ru(t.min),t.max=ru(t.max)}function rc(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(sW(e)-sW(i)))}function rd(t){return t!==t.root&&t.scroll?.wasRoot}let rp=sQ({attachResizeListener:(t,e)=>n_(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),rm={current:void 0},rf=sQ({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!rm.current){let t=new rp({});t.mount(window),t.setOptions({layoutScroll:!0}),rm.current=t}return rm.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function rg(t,e){let i=nZ(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function ry(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let s=n["onHover"+i];s&&tA.postRender(()=>s(e,n9(e)))}function rv(t){return nX(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}t.s(["isHTMLElement",0,rv],72846);let rx=(t,e)=>!!e&&(t===e||rx(t,e.parentElement)),rw=new WeakSet;function rb(t){return e=>{"Enter"===e.key&&t(e)}}function rS(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function rk(t){return n8(t)&&!(nU.x||nU.y)}let rE=new WeakSet;function rP(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let s=n["onTap"+("End"===i?"":i)];s&&tA.postRender(()=>s(e,n9(e)))}let rT=new WeakMap,rA=new WeakMap,rC=t=>{let e=rT.get(t.target);e&&e(t)},rM=t=>{t.forEach(rC)},rI={some:0,all:1},rj=function(t,e){if("u"<typeof Proxy)return iE;let i=new Map,n=(i,n)=>iE(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(s,r)=>"create"===r?n:(i.has(r)||i.set(r,iE(r,void 0,t,e)),i.get(r))})}({animation:{Feature:class extends iP{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 n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>nj(t,e,i)));else if("string"==typeof e)n=nj(t,e,i);else{let s="function"==typeof e?iT(t,e,i.custom):e;n=Promise.all(nM(t,s,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=nB(),n=!0,s=!1,r=e=>(i,n)=>{let s=iT(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(s){let{transition:t,transitionEnd:e,...n}=s;i={...i,...n,...e}}return i};function o(o){let{props:a}=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<nR;t++){let n=ec[t],s=e.props[n];(eu(s)||!1===s)&&(i[n]=s)}return i}(t.parent)||{},u=[],h=new Set,c={},d=1/0;for(let e=0;e<nV;e++){var p,m;let f=nO[e],g=i[f],y=void 0!==a[f]?a[f]:l[f],v=eu(y),x=f===o?g.isActive:null;!1===x&&(d=e);let w=y===l[f]&&y!==a[f]&&v;if(w&&(n||s)&&t.manuallyAnimateOnMount&&(w=!1),g.protectedKeys={...c},!g.isActive&&null===x||!y&&!g.prevProp||el(y)||"boolean"==typeof y)continue;if("exit"===f&&g.isActive&&!0!==x){g.prevResolvedValues&&(c={...c,...g.prevResolvedValues});continue}let b=(p=g.prevProp,"string"==typeof(m=y)?m!==p:!!Array.isArray(m)&&!nD(m,p)),S=b||f===o&&g.isActive&&!w&&v||e>d&&v,k=!1,E=Array.isArray(y)?y:[y],P=E.reduce(r(f),{});!1===x&&(P={});let{prevResolvedValues:T={}}=g,A={...T,...P},C=e=>{S=!0,h.has(e)&&(k=!0,h.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);
3i&&(i.liveStyle=!1)};for(let t in A){let e=P[t],i=T[t];if(!c.hasOwnProperty(t))(iM(e)&&iM(i)?!nD(e,i)||b:e!==i)?null!=e?C(t):h.add(t):void 0!==e&&h.has(t)?C(t):g.protectedKeys[t]=!0}g.prevProp=y,g.prevResolvedValues=P,g.isActive&&(c={...c,...P}),(n||s)&&t.blockInitialAnimation&&(S=!1);let M=w&&b,I=!M||k;S&&I&&u.push(...E.map(e=>{let i={type:f};if("string"==typeof e&&(n||s)&&!M&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,s=iT(n,e);if(n.enteringChildren&&s){let{delayChildren:e}=s.transition||{};i.delay=nI(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(h.size){let e={};if("boolean"!=typeof a.initial){let i=iT(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}h.forEach(i=>{let n=t.getBaseTarget(i),s=t.getValue(i);s&&(s.liveStyle=!0),e[i]=n??null}),u.push({animation:e})}let f=!!u.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),n=!1,s=!1,f?e(u):Promise.resolve()}return{animateChanges:o,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let s=o(e);for(let t in i)i[t].protectedKeys={};return s},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=nB(),s=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();el(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 iP{constructor(){super(...arguments),this.id=nF++,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||"object"==typeof t&&null!==t&&!Array.isArray(t)){let i=iT(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...n}=i;for(let t in n)this.node.getValue(t)?.jump(n[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
3e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends iP{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:n,margin:s,amount:r="some",once:o}=i,a={root:n?n.current:void 0,rootMargin:s,threshold:"number"==typeof r?r:rI[r]},l=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,o&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;rA.has(i)||rA.set(i,{});let n=rA.get(i),s=JSON.stringify(e);return n[s]||(n[s]=new IntersectionObserver(rM,{root:t,...e})),n[s]}(a),rT.set(t,l),e.observe(t),()=>{rT.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 iP{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[n,s,r]=rg(t,i),o=t=>{let n=t.currentTarget;if(!rk(t)||rE.has(t))return;rw.add(n),i.stopPropagation&&rE.add(t);let r=e(n,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),rw.has(n)&&rw.delete(n),rk(t)&&"function"==typeof r&&r(t,{success:e})},a=t=>{o(t,n===window||n===document||i.useGlobalTarget||rx(n,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",l,s)};return n.forEach(t=>{((i.useGlobalTarget?window:t).addEventListener("pointerdown",o,s),rv(t))&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=rb(()=>{if(rw.has(i))return;rS(i,"down");let t=rb(()=>{rS(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>rS(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,s)),n4.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),r}(t,(t,e)=>(rP(this.node,e,"Start"),(t,{success:e})=>rP(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends iP{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=ij(n_(this.node.current,"focus",()=>this.onFocus()),n_(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends iP{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,s,r]=rg(t,i);return n.forEach(t=>{let i,n=!1,r=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{n=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),r&&(r=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(n){r=!0;return}o(t)}};t.addEventListener("pointerenter",n=>{if("touch"===n.pointerType||nU.x||nU.y)return;r=!1;let o=e(t,n);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,s))},s),t.addEventListener("pointerdown",()=>{n=!0,window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",a,s)},s)}),r}(t,(t,e)=>(ry(this.node,e,"Start"),t=>ry(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends iP{constructor(){super(...arguments),this.removePointerDownListener=tk}onPointerDown(t){this.session=new sn(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:st(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:sg(t),onStart:sg(e),onMove:sg(i),onEnd:(t,e)=>{delete this.session,n&&tA.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=n7(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 iP{constructor(t){super(t),this.removeGroupControls=tk,this.removeListeners=tk,this.controls=new sp(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tk}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:rf,MeasureLayout:sS},layout:{ProjectionNode:rf,MeasureLayout:sS}},(t,e)=>e.isSVG??e4(t)?new ez(e):new e2(e,{allowProjection:t!==e5.Fragment}));t.s(["motion",0,rj],46932)},56420,t=>{"use strict";var e=t.i(71645);let i=(...t)=>t.filter((t,e,i)=>!!t&&""!==t.trim()&&i.indexOf(t)===e).join(" ").trim(),n=t=>{let e=t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,i)=>i?i.toUpperCase():e.toLowerCase());return e.charAt(0).toUpperCase()+e.slice(1)};var s={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let r=(0,e.createContext)({}),o=(0,e.forwardRef)(({color:t,size:n,strokeWidth:o,absoluteStrokeWidth:a,className:l="",children:u,iconNode:h,...c},d)=>
3{let{size:p=24,strokeWidth:m=2,absoluteStrokeWidth:f=!1,color:g="currentColor",className:y=""}=(0,e.useContext)(r)??{},v=a??f?24*Number(o??m)/Number(n??p):o??m;return(0,e.createElement)("svg",{ref:d,...s,width:n??p??s.width,height:n??p??s.height,stroke:t??g,strokeWidth:v,className:i("lucide",y,l),...!u&&!(t=>{for(let e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0;return!1})(c)&&{"aria-hidden":"true"},...c},[...h.map(([t,i])=>(0,e.createElement)(t,i)),...Array.isArray(u)?u:[u]])});t.s(["default",0,(t,s)=>{let r=(0,e.forwardRef)(({className:r,...a},l)=>(0,e.createElement)(o,{ref:l,iconNode:s,className:i(`lucide-${n(t).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${t}`,r),...a}));return r.displayName=n(t),r}],56420)},18566,(t,e,i)=>{e.exports=t.r(76562)},13003,t=>{"use strict";let e={badge:{ko:"Market to Market",en:"Market to Market"},title:{ko:"AI가 주도하는 신발 · 패션 산업의\n완전한 순환",en:"AI-Driven Full Cycle of the Footwear & Fashion Industry"},sub:{ko:"트렌드 분석부터 정밀 설계, 스마트 제조, 유통 최적화까지.\n신발 · 패션 비즈니스의 모든 프로세스를 AI로 연결하여 압도적인 효율을 실현합니다.",en:"From trend anal
3ysis to precision design, smart manufacturing, and distribution optimization.\nWe connect all processes of the footwear & fashion business with AI to deliver overwhelming efficiency."},items:[{id:"defs",icon:"Sparkles",title:{ko:"DEFS.",en:"DEFS."},subtitle:{ko:"뎁스 : AI 기반 신발 디자인 · 제조 통합 솔루션",en:"DEFS: AI-Powered Footwear Design & Manufacturing Integrated Solution"},desc:{ko:"신발 산업 · 제조 데이터와 생성형 AI를 기반으로 신발 디자인패키지 (디자인 멀티 뷰, 디자인 분석 리포트, 마케팅 리포트)와 개발패키지 (3D Object Model, Upper Pattern, Tooling Data) 를 생성하는 솔루션",en:"An AI-powered design and manufacturing integration solution that generates footwear design packages (multi-view concepts, design analysis, and marketing reports) and development packages (3D object models, upper patterns, and tooling data) based on footwear manufacturing data."},image:"/solutions/defs_ui.png",gradient:"from-[#6900ff]/10 to-[#6900ff]/5",iconColor:"text-[#a25cff]",borderColor:"hover:border-[#6900ff]/40",ctaText:{ko:"DEFS. 도입 문의하기",en:"Inquire about DEFS. Integration"},metrics:[{label:{ko:"개발 비용 절감",en:"Development Cost Saved"},value:"80%"},{label:{ko:"투입 인원 감축",en:"Manpower Reduced"},value:"50%"},{label:{ko:"프로토타입 개발 속도",en:"Prototyping Speed"},value:"1 Day"}],features:[{icon:"Sparkles",title:{ko:"AI 트렌드 & 브랜드 분석",en:"AI Trend & Brand Analytics"},desc:{ko:"시장 판매 지표, 글로벌 SNS 트렌드, 브랜드의 기존 디자인 유산을 다차원 분석하여 최적의 제품 포지셔닝 및 기획 인사이트를 제공합니다.",en:"Analyze market sales metrics, global SNS trends, and existing brand heritage to provide optimal product positioning and data-driven planning insights."}},{icon:"Layers",title:{ko:"디자인 패키지 자동 생성",en:"Automated Design Package Generation"},desc:{ko:"자연어 텍스트 설명이나 무드보드 이미지 입력으로 실사 수준의 3D 렌더링 시안, 가죽·메쉬 소재 분할 리포트, 팬톤 컬러 매핑 가이드를 즉시 생성합니다.",en:"Generate photo-realistic 3D rendering concepts, texture classification reports, and Pantone color mapping guidelines from natural language text inputs."}},{icon:"Activity",title:{ko:"제조사 워크플로우 완벽 연계",en:"Manufacturer Workflow Integration"},desc:{ko:"생성형 AI가 도출한 디자인 콘셉트를 공장의 실제 툴링, 아웃솔 금형 데이터, 가죽 재단 패턴과 결합하여 상용 캐드(CAD) 프로그램과 호환되는 벡터 파일로 변환합니다.",en:"Convert design concepts into vector files compatible with standard CAD tools, linking details with factory outsoles, tooling molds, and leather cutting patterns."}},{icon:"Cpu",title:{ko:"디자인 기획 개념의 실시간 검증",en:"Real-time Design Concept Verification"},desc:{ko:"수주회 및 내부 품평회를 위한 고화질 가상 샘플을 클라우드 상에서 빠르게 공유하고 피드백을 실시간으로 디자인에 반영하여 의사결정 비용을 극대화하여 줄여줍니다.",en:"Experience rapid virtual sampling on our cloud platform, allowing teams to review details, share virtual assets for sales shows, and incorporate feedback in real-time."}}]},{id:"foqs",icon:"ScanLine",title:{ko:"FOQS.",en:"FOQS."},subtitle:{ko:"포커스 : Vision AI 기반 신발 품질 검수 솔루션",en:"Vision AI-Powered Real-Time Footwear QA Solution"},desc:{ko:"신발 품질 데이터와 Vision AI를 기반으로, 생산 라인에서 신발 외관 불량을 실시간 탐지하고, 검사 결과 및 품질 통계를 시스템에서 조회·관리할 수 있는 솔루션",en:"A Vision AI-powered footwear quality inspection solution that detects cosmetic defects in real time on production lines, allowing users to track inspection results and quality statistics through a centralized management system."},image:"/solutions/foqs_ui.png",gradient:"from-[#63c68b]/15 to-[#63c68b]/5",iconColor:"text-[#63c68b]",borderColor:"hover:border-[#63c68b]/40",ctaText:{ko:"FOQS. 도입 문의하기",en:"Inquire about FOQS. Integration"},metrics:[{label:{ko:"불량 검수 정확도",en:"Defect Detection Accuracy"},value:"99.2%"},{label:{ko:"기존 수동 검사 대비 시간 단축",en:"Inspection Time Saved"},value:"70%+"},{label:{ko:"초미세 결함 탐지 정밀도",en:"Defect Precision"},value:"0.1mm"}],features:[{icon:"ScanLine",title:{ko:"실시간 엣지 비전 추론",en:"Sub-second Edge Vision Inference"},desc:{ko:"네트워크 지연 없이 컨베이어 벨트가 흐르는 고속 환경에서 실시간 프레임 분석과 이미지 전처리를 수행하여 실시간으로 불량을 판독합니다.",en:"Perform high-speed, frame-by-frame analysis and custom image preprocessing directly on active lines to flag anomalies with zero latency."}},{icon:"Activity",title:{ko:"0.1mm 단위 초미세 감지",en:"0.1mm Defect Detection"},desc:{ko:"마이크로 단위의 정밀 카메라 필터를 적용하여 육안으로 식별하기 힘든 미세한 미드솔 본드 틈새, 실밥 오정렬, 가죽 원단의 작은 미세 오염까지도 모두 감지합니다.",en:"Leverage micro-pixel camera lenses to pinpoint tiny midsole bonding gaps, stitch misalignment, and minute leather stains that escape the human eye."}},{icon:"Cpu",title:{ko:"ROC 기반 임계치 자동 보정",en:"ROC-Based Auto-Thresholding"},desc:{ko:"주변 조도 변화가 큰 공장 환경적 요인을 자동으로 인지하고, 특허받은 실시간 ROC 임계치 연산을 통해 오탐율을 최소화하고 보정 값을 실시간 유지합니다.",en:"Minimize false-positive rates under changing factory lighting by utilizing patented real-time ROC threshold adjustments."}},{icon:"CheckSquare",title:{ko:"다중 라인 통합 모니터링 시스템",en:"Integrated Multi-Line Monitoring System"},desc:{ko:"국내 본사 및 베트남, 인도네시아 등 글로벌 제조 기지의 다중 라인을 클라우드로 연계하여 종합 가동률, 결함 발생 분포, 라인별 양품 현황을 실시간 중계합니다.",en:"Link global manufacturing hubs (e.g. Vietnam, Indonesia) to a central cloud dashboard to track active lines, real-time yields, and defect distributions."}}]},{id:"dotdot",icon:"Database",title:{ko:"dotdot",en:"dotdot"},subtitle:{ko:"닷닷 : 신발 특화 인공지능 학습 데이터 라벨링 솔루션",en:"Footwear-Specific AI Data Labeling & Refinement Solution"},desc:{ko:"신발 특화 Auto Labeling 으로 더 빠르게, 더 정확하게 부품 구조부터 제조 방식, 카테고리까지 신발 산업 전반의 데이터를 AI를 통해 자동으로 라벨링 할 수 있습니다.",en:"An AI-powered auto-labeling solution tailored for the footwear industry, enabling faster and more accurate annotation of everything from component structures and manufacturing methods to categories."},image:"/solutions/dotdot_ui.png",gradient:"from-[#333333]/15 to-[#333333]/5",iconColor:"text-[#333333]",borderColor:"hover:border-[#333333]/40",ctaText:{ko:"dotdot 도입 문의하기",en:"Inquire about dotdot Integration"}
3,metrics:[{label:{ko:"데이터 가공 속도 향상",en:"Data Annotation Speed"},value:"10x"},{label:{ko:"데이터 라벨 정밀 오차 범위",en:"Label Precision Error"},value:"<1px"},{label:{ko:"누적 어노테이션 데이터 처리",en:"Processed Datasets"},value:"5M+"}],features:[{icon:"Database",title:{ko:"신발 특화 지능형 세그멘테이션",en:"Semantic Auto-Segmentation"},desc:{ko:"신발 고유의 복잡한 절개선과 다양한 이종 소재(메쉬, 스웨이드, 가죽 등) 경계를 인공지능이 즉시 감지하여 한 번의 클릭만으로 정확한 폴리곤 영역을 완성합니다.",en:"Recognize stitch lines and materials (mesh, suede, synthetic leather) to create accurate vector polygon masks in a single click."}},{icon:"Cpu",title:{ko:"신발 제조 공정 온톨로지(Ontology) 매핑",en:"Footwear Manufacturing Process Ontology Mapping"},desc:{ko:"국제 표준 신발 부품 분류 체계를 기반으로 설계되어 라벨링 작업자가 부품 명칭 클래스를 일일이 지정할 필요 없이 미리 정의된 스키마에 맞추어 작업을 가속화합니다.",en:"Speed up annotation workflows utilizing built-in structural classes modeled after international standard footwear components."}},{icon:"CheckSquare",title:{ko:"실시간 품질 및 정밀도 검증 가이드",en:"Real-Time Quality & Precision Verification Guide"},desc:{ko:"데이터 라벨 검수자의 수동 확인 과정을 줄이기 위해 경계 정밀도 오차 분석, 라벨링 누락 검사, 유효성 검증을 자체 스크리닝 알고리즘으로 즉각 검증합니다.",en:"Automate vector boundary validation, class overlaps, and syntax verification using automated data integrity algorithms to save review time."}},{icon:"Layers",title:{ko:"비전 학습 프레임워크 원클릭 변환",en:"One-Click Vision Training Framework Conversion"},desc:{ko:"YOLO, COCO JSON, Pascal VOC 등 다양한 비전 학습 프레임워크와의 완벽한 호환을 자랑하며 학습 타겟팅 모델에 맞춘 포맷 내보내기를 완벽하게 보장합니다.",en:"Export annotations directly to computer vision framework file formats such as YOLO, COCO JSON, and Pascal VOC in one click."}}]}]},i={tagline:{ko:"신발 제조 특화 생성형 AI & 검수 솔루션",en:"Generative AI & Inspection Solutions for Footwear Manufacturing"},columns:{ko:[{title:"솔루션",links:[{label:"디자인 패키지 생성 (DEFS.)",href:"/solutions/defs"},{label:"자동화 품질 검수 (FOQS.)",href:"/solutions/foqs"},{label:"신발 특화 라벨링 (dotdot)",href:"/solutions/dotdot"}]},{title:"지원",links:[{label:"문의하기",href:"/#contact"},{label:"기술 문서",href:"#"},{label:"공식 블로그",href:"#"}]}],en:[{title:"Solutions",links:[{label:"Design Package Creation (DEFS.)",href:"/solutions/defs"},{label:"Automated QA (FOQS.)",href:"/solutions/foqs"},{label:"Footwear Labeling (dotdot)",href:"/solutions/dotdot"}]},{title:"Support",links:[{label:"Contact Sales",href:"/#contact"},{label:"Documentation",href:"#"},{label:"Official Blog",href:"#"}]}]},copyright:{ko:"© 2026 (주)바이트사이즈(BYTESIZE). All rights reserved.",en:"© 2026 BYTESIZE Inc. All rights reserved."},bizInfo:{ko:"대표이사 : John Wi  |  사업자등록번호 : 350-86-03129\n주소 : 부산광역시 부산진구 엄광로 176, #12 8층\nE-mail : [email protected]  |  Tel : +82-51-717-0454",en:"CEO: John Wi  |  Business Registration: 350-86-03129\nHead Office: 8th Floor #12, 176, Eomgwang-ro, Busanjin-gu, Busan, Republic of Korea\nE-mail: [email protected]  |  Tel: +82-51-717-0454"},companyProfile:{ko:"/document/%E1%84%87%E1%85%A1%E1%84%8B%E1%85%B5%E1%84%90%E1%85%B3%E1%84%89%E1%85%A1%E1%84%8B%E1%85%B5%E1%84%8C%E1%85%B3%20%E1%84%92%E1%85%AC%E1%84%89%E1%85%A1%E1%84%89%E1%85%A9%E1%84%80%E1%85%A2%E1%84%89%E1%85%A5_KOR_Open",en:"/document/BYTESIZE_Introduction_ENG_Open"}},n={title:{ko:"회사 연혁",en:"Company History"},sub:{ko:"2023년부터 현재까지 신발·패션 산업의 AI 혁신을 이끌어온 발자취입니다.",en:"Our journey driving AI innovation in the footwear & fashion industry since 2023."},certificationsTitle:{ko:"주요 인증 및 특허",en:"Key Certifications & Patents"},certifications:[{date:"2026.03",title:{ko:"특허등록: AI 기반 신발 부품 인식 및 라벨링 자동화 시스템",en:"Patent: AI-Based Footwear Part Recognition & Labeling Automation System"}},{date:"2025.11",title:{ko:"벤처기업 육성촉진지구 혁신대상 수상",en:"Innovative Venture Enterprise Grand Prize"}},{date:"2025.07",title:{ko:"ISO 9001 (품질) & ISO 14001 (환경) 경영시스템 인증",en:"ISO 9001 (Quality) & ISO 14001 (Environmental) Certification"}},{date:"2024.10",title:{ko:"특허등록: 실시간 컴퓨터 비전을 이용한 신발 결함 검출 장치",en:"Patent: Shoe Defect Detection Device Using Real-time Computer Vision"}},{date:"2024.04",title:{ko:"기업부설연구소 설립 인가",en:"R&D Center Official Accreditation"}},{date:"2023.09",title:{ko:"벤처기업인증 (기술평가보증유형)",en:"Venture Enterprise Certification (Tech Evaluation)"}}],timeline:[{year:"2026",items:[{month:"04",text:{ko:"과학기술정보통신부 Agentic AI Alliance 산업분과 참여기업",en:"Participated in the MSIT Agentic AI Alliance Industry Division"}},{month:"03",text:{ko:"데이터베이스제작자 권리 등록 신발산업 상품 트렌드 AI데이터베이스",en:"Registered Database Producer Rights for Footwear Industry Product Trend AI Database"}},{month:"03",text:{ko:"2026 부니콘 지원사업 선정 (부산시 : 유니콘 기업 지원 프로그램)",en:"Selected for 2026 B-Unicorn Program (Busan City Unicorn Startup Support)"}},{month:"02",text:{ko:"특허 등록 : 다품종 제조 환경에서 ROC 기반 Threshold 보정을 이용한 범용 AI 불량 탐지 방법",en:"Registered Patent: Universal AI defect detection method using ROC-based threshold correction in high-mix manufacturing environments"}},{month:"01",text:{ko:"과학기술정보통신부 데이터바우처 공급기업",en:"MSIT Data Voucher Provider"}},{month:"01",text:{ko:"과학기술정보통신부 AI바우처 공급기업",en:"MSIT AI Voucher Provider"}},{month:"01",text:{ko:"중소벤처기업부 스마트공장사업관리시스템 공급기업(26~)",en:"MSS Smart Factory Business Management System Supplier (2026~)"}}]},{year:"2025",items:[{month:"12",text:{ko:"울산과학기술연구원(UNIST) 공동연구개발 업무협약",en:"MOU for Joint R&D with Uls
3an National Institute of Science and Technology (UNIST)"}},{month:"10",text:{ko:"한국신발산업협회 정회원사 가입승인",en:"Approved as a Regular Member of the Korea Footwear Industrial Association"}},{month:"09",text:{ko:"FOQS.: 베트남 현지 공장 솔루션 납품 및 실증",en:"FOQS.: Delivered and verified solution at a local factory in Vietnam"}},{month:"08",text:{ko:"벤처기업확인서 인증(연구개발유형)",en:"Certified as a Venture Enterprise (R&D Type)"}},{month:"06",text:{ko:"고성능 AI 컴퓨팅 인프라 구축",en:"Established high-performance AI computing infrastructure"}},{month:"06",text:{ko:"부산광역시 기업기술정보지원사업 선정",en:"Selected for Busan City Corporate Technology Information Support Program"}},{month:"06",text:{ko:"고성능컴퓨팅 국산 AI반도체 활용(NPU) 지원사업 선정",en:"Selected for High-Performance Computing utilizing domestic AI Semiconductors (NPU) Support Program"}},{month:"05",text:{ko:"dotdot: 신발 특화 레이블링 기술 개발 시작",en:"dotdot: Initiated development of footwear-specific labeling technology"}},{month:"03",text:{ko:"POSTECH 인공지능대학원과 산학 교류 시작",en:"Initiated academic-industrial exchange with POSTECH Graduate School of Artificial Intelligence"}},{month:"03",text:{ko:"AI Vision·Synthetic Data 기반 공동 연구 추진",en:"Promoted joint research based on AI Vision and Synthetic Data"}},{month:"03",text:{ko:"FOQS.: Vision AI를 통한 신발 통합 QA 솔루션 개발 시작",en:"FOQS.: Initiated development of Vision AI-based integrated footwear QA solution"}},{month:"03",text:{ko:"중소벤처기업부 성과공유기업 인정",en:"Certified as a Performance Sharing Enterprise by the Ministry of SMEs and 
3Startups"}},{month:"02",text:{ko:"한국소프트웨어산업협회 소프트웨어사업자 인증",en:"Certified as a Software Enterprise by the Korea Software Industry Association"}},{month:"02",text:{ko:"과학기술정보통신부 기업부설연구소 인정",en:"Official Accreditation of Corporate R&D Center by the MSIT"}},{month:"01",text:{ko:"ICT이노베이션스퀘어 딥러닝 서버 및 워크스테이션 지원사업 선정",en:"Selected for ICT Innovation Square Deep Learning Server & Workstation Support Program"}},{month:"01",text:{ko:"(주)바이트사이즈 기업부설 연구소 설립",en:"Established Corporate R&D Center of BYTESIZE Co., Ltd."}}]},{year:"2024",items:[{month:"11",text:{ko:"KAIST와 생성형 AI 기반 신발 디자인 패키지 생성 시스템 공동 개발 착수",en:"Initiated joint development of generative AI-based shoe design package creation system with KAIST"}},{month:"11",text:{ko:"DEFS.: AI를 통한 신발 디자인 패키지 생성 솔루션 개발 시작",en:"DEFS.: Initiated development of AI-powered footwear design package creation solution"}},{month:"08",text:{ko:"중소벤처기업부 중소기업 인증",en:"Certified as a Small/Medium Enterprise by the Ministry of SMEs and 
3Startups"}},{month:"07",text:{ko:"(주)바이트사이즈 법인 설립",en:"BYTESIZE Co., Ltd. incorporated"}}]}]};t.s(["challenges",0,{title:{ko:"세상에 없던 신발 산업의 새로운 기술\nZERO TO ONE INNOVATION",en:"New Technology for the Footwear Industry\nZERO TO ONE INNOVATION"},sub:{ko:"AI 전문 연구개발 조직과 신발 · 패션 산업 도메인 전문가 중심으로 이루어진 바이트사이즈는\n산업 현장에 대한 이해와 글로벌 최고 수준의 AI 분석 및 개발 기술과 데이터를 보유하고 있습니다.",en:"BYTESIZE, composed of dedicated AI R&D teams and footwear/fashion domain experts, possesses deep industry insight, world-class AI analysis & development technology, and data."},items:[{title:{ko:"산업 지식을 데이터로",en:"Industry Knowledge to Data"},desc:{ko:"신발·패션 산업에 축적된 경험과 암묵지를 구조화하여 데이터 자산으로 전환합니다.",en:"We structure the accumulated experience and tacit knowledge of the footwear and fashion industry, transforming them into valuable data assets."},icon:"Hourglass",image:"/footwear_expert.png"},{title:{ko:"데이터를 AI로",en:"Data to AI"},desc:{ko:"데이터를 연결하고 학습하여 새로운 인사이트와 자동화, 의사결정을 지원합니다.",en:"By connecting and learning from data, we power new insights, automation, and decision-making support."},icon:"AlertTriangle",image:"/ai_expert.png"},{title:{ko:"AI를 산업의 경쟁력으로",en:"AI as Industry Competitiveness"},desc:{ko:"산업 전반의 생산성과 혁신을 이끄는 AI 솔루션을 제공합니다.",en:"We provide AI solutions that drive productivity and innovation across the entire industry."},icon:"FileX",image:"/e2e_solution.png"}]},"contact",0,{title:{ko:"AI를 통해\n신발 산업의 미래를 선도합니다",en:"Leading the future of the footwear industry with AI"},sub:{ko:"문의사항을 남겨주시면 담당자가 빠른 시일 내에 연락드리겠습니다.",en:"Send us a message and our team will get back to you shortly."},categories:{ko:[{title:"솔루션 도입",desc:"DEFS., FOQS., dotdot 솔루션 도입 및 상세 상담",icon:"Cpu"},{title:"기술 협력 & 제휴",desc:"공동 기술 개발 및 비즈니스 파트너십 구축",icon:"Layers"},{title:"투자 및 IR",desc:"바이트사이즈 기업 투자 및 IR 자료 요청",icon:"Activity"},{title:"기타 일반 문의",desc:"인재 채용, 기타 회사 관련 질문 및 피드백",icon:"MessageSquare"}],en:[{title:"Solution Integration",desc:"Inquire about integrating DEFS., FOQS., or dotdot",icon:"Cpu"},{title:"Partnership & Alliance",desc:"Joint technical development or business alliances",icon:"Layers"},{title:"Investment & IR",desc:"Inquire about investor relations and corporate funding",icon:"Activity"},{title:"General Inquiry",desc:"Recruitment, general company questions, or feedback",icon:"MessageSquare"}]},fields:{category:{ko:"문의 유형",en:"Inquiry Category"},company:{ko:"기업명",en:"Company Name"},namePosition:{ko:"성함 및 직책",en:"Name & Position"},email:{ko:"이메일 주소",en:"Email Address"},phone:{ko:"연락처",en:"Phone Number"},message:{ko:"문의 내용",en:"Inquiry Details"},submit:{ko:"문의하기",en:"Submit Inquiry"},success:{ko:"문의가 접수되었습니다! 곧 연락드리겠습니다.",en:"Inquiry submitted! We will contact you soon."}}},"coreCapabilities",0,{title:{ko:"신발·패션 특화 AI 기술의 핵심",en:"Core AI Technology for Footwear & Fashion"},sub:{ko:"우리의 핵심 경쟁력은 신발·패션 특화 데이터 거버넌스와 이를 활용한 AI 기술 및 산업의 확장성에 있습니다.",en:"Our core competency lies in footwear & fashion domain-specific data governance and the scalability of AI technology built upon it."},items:[{icon:"Wand2",category:{ko:"Synthetic Data",en:"Synthetic Data"},desc:{ko:"합성 데이터 솔루션",en:"Synthetic Data Solution"},details:[{ko:"민감하거나 부족한 데이터, 낮은 정확도의 한계를 완벽하게 극복합니다.",en:"Overcome the limitations of sensitive, scarce, or low-accuracy data completely."}]},{icon:"ScanSearch",category:{ko:"Make Your Business Limitless",en:"Make Your Business Limitless"},desc:{ko:"비즈니스 한계 돌파",en:"Break Business Limits"},details:[{ko:"정교한 고객 분석과 합리적인 비용의 제품 테스트로 생산 효율을 극대화합니다.",en:"Maximize production efficie
3ncy with precise customer analysis and cost-effective product testing."}]},{icon:"Database",category:{ko:"Lean Your Business",en:"Lean Your Business"},desc:{ko:"비즈니스 구조 혁신",en:"Business Structure Innovation"},details:[{ko:"리버스 엔지니어링 AI로 기존 비즈니스를 해체 및 분석하여 빠르고 가볍게 혁신합니다.",en:"Deconstruct and analyze legacy businesses with Reverse Engineering AI for rapid and lean innovation."}]},{icon:"Globe",category:{ko:"Scalability",en:"Scalability"},desc:{ko:"산업 확장성",en:"Infinite Scalability"},details:[{ko:"의류·가방 등 패션 분야는 물론, QA(품질보증)가 필요한 모든 산업군으로 기술을 적용합니다.",en:"Apply the technology to apparel, bags, and fashion, as well as any industry requiring quality assurance."}]}]},"footer",0,i,"hero",0,{badge:{ko:"신발 제조 특화 생성형 AI & 검수 솔루션",en:"AI & Inspection Solutions for Footwear Manufacturing"},headline1:{ko:"From Bytesize",en:"From Bytesize"},headline2:{ko:"to Zetascale.",en:"to Zetascale."},sub:{ko:"작은 잠재력을 모아\n거대한 가치를 창조합니다.",en:"We gather the potential of BYTESIZE\nand create the value of Zeta Scale."},cta1:{ko:"문의하기",en:"Contact Us"},floatingCta:{ko:"지금 문의하기",en:"Contact Us Now"},cta2:{ko:"솔루션 보기",en:"Solutions"},stat1Label:{ko:"검수 정확도",en:"Accuracy"},stat2Label:{ko:"처리 속도",en:"Speed"}},"history",0,n,"nav",0,{logo:"BYTESIZE",links:{ko:[{label:"HOME",href:"/"},{label:"SOLUTION",href:"/solutions"},{label:"NEWSROOM",href:"/#newsroom"},{label:"CONTACT",href:"/#contact"},{label:"CAREER",href:"https://career.thebytesize.ai/jobs"}],en:[{label:"HOME",href:"/"},{label:"SOLUTION",href:"/solutions"},{label:"NEWSROOM",href:"/#newsroom"},{label:"CONTACT",href:"/#contact"},{label:"CAREER",href:"https://career.thebytesize.ai/jobs"}]},cta:{ko:"데모 신청",en:"Request Demo"}},"newsroom",0,{title:{ko:"뉴스룸",en:"Newsroom"},sub:{ko:"바이트사이즈의 최신 언론 보도 및 공지사항을 전해드립니다.",en:"Stay updated with the latest press releases and announcements from BYTESIZE."},tabs:{news:{ko:"보도자료",en:"Press Releases"},history:{ko:"연혁",en:"Company History"}},newsList:[{date:"2026.09.17",source:{ko:"패션비즈",en:"Fashionbiz"},title:{ko:"바이트사이즈 '뎁스(DEFS.)', AI 신발 디자인 베타 서비스 사전 등록 개시",en:"BYTESIZE 'DEFS.' Opens Pre-Registration for AI Footwear Design Beta Service"},url:"https://fashionbiz.co.kr/article/229589"},{date:"2026.09.17",source:{ko:"매일경제",en:"Maeil Business Newspaper"},title:{ko:"바이트사이즈, 인공지능(AI) 신발 솔루션 '뎁스(DEFS.)' 사전 신청 받아",en:"BYTESIZE Opens Pre-Registration for AI Footwear Solution 'DEFS.'"},url:"https://www.mk.co.kr/news/business/12154504"},{date:"2026.08.13",source:{ko:"IT비즈뉴스",en:"IT BizNews"},title:{ko:"바이트사이즈, 서부산에 신발 AI 실증 거점 '베타(Beta)' 오피스 신규 오픈",en:"BYTESIZE Opens New 'Beta' Office, a Footwear AI Demonstration Hub in Western Busan"},url:"https://www.itbiznews.com/news/articleView.html?idxno=221228"},{date:"2026.06.12",source:{ko:"뉴스와이어",en:"Newswire"},title:{ko:"바이트사이즈, 스마트테크코리아 2026 참가… 현장과 AI를 잇다",en:"BYTESIZE Participates in Smart Tech Korea 2026, Connecting the Factory Floor and AI"},url:"https://www.newswire.co.kr/newsRead.php?no=1036401&sourceType=rss"},{date:"2026.05.12",source:{ko:"뉴스와이어",en:"Newswire"},title:{ko:"바이트사이즈, AI EXPO KOREA 2026 연사 무대에서 신발 제조 AX 전략 발표",en:"BYTESIZE Presents Footwear Manufacturing AX Strategy at AI EXPO KOREA 2026 Summit"},url:"https://www.newswire.co.kr/newsRead.php?no=1034255"},{date:"2026.05.12",source:{ko:"뉴스와이어",en:"Newswire"},title:{ko:"바이트사이즈, AI EXPO KOREA 2026 참가… 신발·패션 산업 특화 AI 솔루션 공개",en:"BYTESIZE Participates in AI EXPO KOREA 2026, Unveiling AI Solutions Custom-Designed for Footwear & Fashion"},url:"https://www.newswire.co.kr/newsRead.php?no=1034256"},{date:"2026.04.03",source:{ko:"한국경제",en:"The Korea Economic Daily"},title:{ko:"바이트사이즈, '2026 부산초기창업패키지' 최종 선정",en:"BYTESIZE Selected for '2026 Busan Early Startup Package' Program"},url:"https://www.hankyung.com/article/202604024566O"},{date:"2026.04.03",source:{ko:"뉴스와이어",en:"Newswire"},title:{ko:"부산 AI 스타트업 바이트사이즈 ‘2026 부산초기창업패키지’ 선정",en:"Busan AI Startup BYTESIZE Selected for '2026 Busan Early Startup Package'"},url:"https://www.newswire.co.kr/newsRead.php?no=1031619"},{date:"2025.12.08",source:{ko:"뉴스와이어",en:"Newswire"},title:{ko:"바이트사이즈-UNIST 3D Vision & Robotics Lab ‘라스트 기반 신발 3D 모델 생성’ 공동 연구 업무협약 체결",en:"BYTESIZE Partners with UNIST 3D Vision & Robotics Lab for Joint Research on Last-Based Shoe 3D Model Generation"},url:"https://www.newswire.co.kr/newsRead.php?no=1024749"},{date:"2025.12.08",source:{ko:"한국경제",en:"The Korea Economic Daily"},title:{ko:"바이트사이즈-UNIST 3D Vision & Robotics Lab, '신발 라스트 기반 신발 3D 모델 생성' 공동 연구 협약 체결",en:"BYTESIZE and UNIST Sign MOU for Joint R&D in Automated 3D Shoe Model Generation"},url:"https://v.daum.net/v/uczs8aJ6vv"},{date:"2025.08.08",source:{ko:"뉴스와이어",en:"Newswire"},title:{ko:"바이트사이즈, 연구개발형 벤처기업 인증 획득으로 기술력 입증 및 성장 발판 마련",en:"BYTESIZE Attains R&D Venture Enterprise Certification, Solidifying Tech Competency and Growth Potential"},url:"https://www.newswire.co.kr/newsRead.php?no=1016316&sourceType=rss"},{date:"2025.07.18",source:{ko:"뉴스와이어",en:"Newswire"},title:{ko:"바이트사이즈, 신임 CTO 윤지수 영입",en:"BYTESIZE Recruits New CTO Jisu Yoon"},url:"https://www.newswire.co.kr/newsRead.php?no=1015110"},{date:"2025.04.18",source:{ko:"인공지능신문",en:"AI Times"},title:{ko:"바이트사이즈, 포스텍과 AI 불량 검사 솔루션 'D-PAI'로 신발 제조의 눈이 되다",en:"BYTESIZE Partners with POSTECH to Unveil 'D-PAI' AI Inspection Solution, Becoming the 'Eyes' of Footwear Manufacturing"},url:"https://www.aitimes.kr/news/articleView.html?idxno=34671"},{date:"2025.02.18",source:{ko:"뉴스와이어",en:"Newswire"},title:{ko:"바이트사이즈, 기업부설연구소 설립",en:"BYTESIZE Establishes Corporate R&D Center"},url:"https://www.newswire.co.kr/newsRead.php?no=1005945"},{date:"2024.11.06",source:{ko:"뉴스와이어",en:"Newswire"},title:{ko:"신발·패션 AI 혁신 이끄는 스타트업 바이트사이즈, KAIST와 손잡다",en:"Footwear & Fashion AI Innovator BYTESIZE Partners with KAIST"},url:"https://www.newswire.co.kr/newsRead.php?no=1000149"}]}
3,"solutions",0,e])},45678,t=>{"use strict";var e=t.i(43476),i=t.i(71645),n=t.i(22016),s=t.i(18566),r=t.i(56420);let o=(0,r.default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]),a=(0,r.default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);var l=t.i(24022),u=t.i(13003);t.s(["default",0,function(){let t=(0,s.usePathname)(),[r,h]=(0,i.useState)(!1),[c,d]=(0,i.useState)(!1),{lang:p,setLang:m}=(0,l.useLang)();(0,i.useEffect)(()=>{let t=()=>h(window.scrollY>24);return window.addEventListener("scroll",t),()=>window.removeEventListener("scroll",t)},[]);let f=r||"/"!==t,g=u.nav.links[p],y=f?"text-slate-600 hover:text-[#6900ff]":"text-white/80 hover:text-white drop-shadow-[0_1px_2px_rgba(0,0,0,0.5)]",v=f?"text-slate-600 group-hover:text-[#6900ff]":"text-white/80 group-hover:text-white",x=f?"text-slate-400 hover:text-slate-600":"text-white/50 hover:text-white",w=f?"text-[#6900ff] bg-[#6900ff]/10 shadow-sm":"text-white bg-[#6900ff] shadow-sm";return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsx)("header",{className:`fixed top-0 left-0 right-0 z-50 transition-all duration-500 flex justify-center px-4 ${f?"pt-4":"pt-0"}`,children:(0,e.jsxs)("div",{className:`w-full transition-all duration-500 ${f?"max-w-4xl glass-premium rounded-full px-6 h-12 shadow-2xl shadow-black/60 border border-white/10":"max-w-7xl px-8 h-20 border-b border-transparent"} flex items-center justify-between`,children:[(0,e.jsx)(n.default,{href:"/",className:"flex items-center gap-1.5 group cursor-pointer",onClick:()=>{"/"===t&&window.scrollTo({top:0,behavior:"smooth"})},children:(0,e.jsx)("div",{className:`h-5 w-[109px] transition-all duration-500 ease-in-out ${f?"bg-[#6900ff]":"bg-white"}`,style:{maskImage:"url('/logo.png')",maskSize:"contain",maskRepeat:"no-repeat",maskPosition:"center",WebkitMaskImage:"url('/logo.png')",WebkitMaskSize:"contain",WebkitMaskRepeat:"no-repeat",WebkitMaskPosition:"center"},"aria-label":"BYTESIZE"})}),(0,e.jsx)("nav",{className:"hidden md:flex items-center gap-8",children:g.map(t=>"SOLUTION"===t.label?(0,e.jsxs)("div",{className:"relative group py-2",children:[(0,e.jsxs)(n.default,{href:t.href,className:`text-xs sm:text-sm font-medium tracking-wide transition-colors duration-200 flex items-center gap-1 cursor-pointer ${y}`,children:[t.label,(0,e.jsx)("svg",{className:`w-3.5 h-3.5 transition-transform duration-305 group-hover:rotate-180 ${v}`,fill:"none",stroke:"currentColor",viewBox:"0 0 24 24",children:(0,e.jsx)("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2.5",d:"M19 9l-7 7-7-7"})})]}),(0,e.jsx)("div",{className:"absolute top-full left-1/2 -translate-x-1/2 pt-2 w-48 opacity-0 scale-95 pointer-events-none group-hover:opacity-100 group-hover:scale-100 group-hover:pointer-events-auto transition-all duration-300 origin-top z-50",children:(0,e.jsxs)("div",{className:"bg-white/95 backdrop-blur-md border border-slate-200/80 rounded-2xl p-2 shadow-2xl",children:[(0,e.jsxs)(n.default,{href:"/solutions/defs",className:"flex flex-col px-4 py-2.5 rounded-xl hover:bg-slate-50 transition-colors duration-150 text-left cursor-pointer",children:[(0,e.jsx)("span",{className:"text-sm font-bold text-slate-900 leading-tight",children:"DEFS."}),(0,e.jsx)("span",{className:"text-[10px] text-slate-400 font-sans mt-0.5 font-medium",children:"Defining new Values in Shoe Design."})]}),(0,e.jsxs)(n.default,{href:"/solutions/foqs",className:"flex flex-col px-4 py-2.5 rounded-xl hover:bg-slate-50 transition-colors duration-150 text-left cursor-pointer",children:[(0,e.jsx)("span",{className:"text-sm font-bold text-slate-900 leading-tight",children:"FOQS."}),(0,e.jsx)("span",{className:"text-[10px] text-slate-400 font-sans mt-0.5 font-medium",children:"Flawless Optimal Quality for Shoe."})]}),(0,e.jsxs)(n.default,{href:"/solutions/dotdot",className:"flex flex-col px-4 py-2.5 rounded-xl hover:bg-slate-50 transition-colors duration-150 text-left cursor-pointer",children:[(0,e.jsx)("span",{className:"text-sm font-bold text-slate-900 leading-tight",children:"dotdot"}),(0,e.jsx)("span",{className:"text-[10px] text-slate-400 font-sans mt-0.5 font-medium",children:"Better Data, Better Footwear."})]})]})})]},t.href):(0,e.jsx)(n.default,{href:t.href,className:`text-xs sm:text-sm font-medium tracking-wide transition-colors duration-200 ${y}`,...t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{},children:t.label},t.href))}),(0,e.jsxs)("div",{className:"flex items-center gap-4",children:[(0,e.jsxs)("div",{className:`flex items-center p-0.5 rounded-full text-[10px] font-bold transition-colors duration-500 ${f?"bg-slate-100 border border-slate-200":"bg-white/10 border border-white/20 backdrop-blur-md"}`,children:[(0,e.jsx)("button",{onClick:()=>m("ko"),className:`px-2.5 py-1 rounded-full transition-all duration-300 cursor-pointer ${"ko"===p?w:x}`,children:"KO"}),(0,e.jsx)("button",{onClick:()=>m("en"),className:`px-2.5 py-1 rounded-full transition-all duration-300 cursor-pointer ${"en"===p?w:x}`,children:"EN"})]}),(0,e.jsx)("button",{className:`md:hidden p-2 transition-colors duration-500 ${f?"text-slate-600 hover:text-slate-900":"text-white hover:text-white/80"}`,onClick:()=>d(t=>
3!t),children:c?(0,e.jsx)(a,{size:18}):(0,e.jsx)(o,{size:18})})]})]})}),c&&(0,e.jsx)("div",{className:"fixed inset-0 z-40 pt-24 glass-premium flex flex-col justify-between p-8 animate-fade-in",children:(0,e.jsx)("nav",{className:"flex flex-col gap-6 mt-8 overflow-y-auto max-h-[75vh] pb-8",children:g.map(t=>"SOLUTION"===t.label?(0,e.jsxs)("div",{className:"flex flex-col gap-2 border-b border-slate-100 pb-2",children:[(0,e.jsx)(n.default,{href:t.href,className:"text-2xl font-semibold text-slate-800 hover:text-[#6900ff] py-2",onClick:()=>d(!1),children:t.label}),(0,e.jsxs)("div",{className:"flex flex-col gap-3 pl-4 pb-2 border-l border-slate-200",children:[(0,e.jsx)(n.default,{href:"/solutions/defs",className:"text-lg font-medium text-slate-500 hover:text-[#6900ff] py-1 cursor-pointer",onClick:()=>d(!1),children:"DEFS."}),(0,e.jsx)(n.default,{href:"/solutions/foqs",className:"text-lg font-medium text-slate-500 hover:text-[#6900ff] py-1 cursor-pointer",onClick:()=>d(!1),children:"FOQS."}),(0,e.jsx)(n.default,{href:"/solutions/dotdot",className:"text-lg font-medium text-slate-500 hover:text-[#6900ff] py-1 cursor-pointer",onClick:()=>d(!1),children:"dotdot"})]})]},t.href):(0,e.jsx)(n.default,{href:t.href,className:"text-2xl font-semibold text-slate-800 hover:text-[#6900ff] py-2 border-b border-slate-100",onClick:()=>d(!1),...t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{},children:t.label},t.href))})})]})}],45678)},88653,t=>{"use strict";t.i(47167);var e=t.i(43476),i=t.i(71645),n=t.i(31178),s=t.i(47414),r=t.i(74008),o=t.i(21476),a=t.i(72846),l=i,u=t.i(37806);function h(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class c extends l.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if((0,a.isHTMLElement)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let t=e.offsetParent,i=(0,a.isHTMLElement)(t)&&t.offsetWidth||0,n=(0,a.isHTMLElement)(t)&&t.offsetHeight||0,s=getComputedStyle(e),r=this.props.sizeRef.current;r.height=parseFloat(s.height),r.width=parseFloat(s.width),r.top=e.offsetTop,r.left=e.offsetLeft,r.right=i-r.width-r.left,r.bottom=n-r.height-r.top,r.direction=s.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function d({children:t,isPresent:n,anchorX:s,anchorY:r,root:o,pop:a}){let p=(0,l.useId)(),m=(0,l.useRef)(null),f=(0,l.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:g}=(0,l.useContext)(u.MotionConfigContext),y=function(...t){return i.useCallback(function(...t){return e=>{let i=!1,n=t.map(t=>{let n=h(t,e);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let e=0;e<n.length;e++){let i=n[e];"function"==typeof i?i():h(t[e],null)}}}}(...t),t)}(m,t.props?.ref??t?.ref);return(0,l.useInsertionEffect)(()=>{let{width:t,height:e,top:i,left:l,right:u,bottom:h,direction:c}=f.current;if(n||!1===a||!m.current||!t||!e)return;let d="rtl"===c,y="left"===s?d?`right: ${u}`:`left: ${l}`:d?`left: ${l}`:`right: ${u}`,v="bottom"===r?`bottom: ${h}`:`top: ${i}`;m.current.dataset.motionPopId=p;let x=document.createElement("style");g&&(x.nonce=g);let w=o??document.head;return w.appendChild(x),x.sheet&&x.sheet.insertRule(`
4          [data-motion-pop-id="${p}"] {
5            position: absolute !important;
6            width: ${t}px !important;
7            height: ${e}px !important;
8            ${y}px !important;
9            ${v}px !important;
10          }
11        `),()=>{m.current?.removeAttribute("data-motion-pop-id"),w.contains(x)&&w.removeChild(x)}},[n]),(0,e.jsx)(c,{isPresent:n,childRef:m,sizeRef:f,pop:a,children:!1===a?t:l.cloneElement(t,{ref:y})})}let p=({children:t,initial:n,isPresent:r,onExitComplete:a,custom:l,presenceAffectsLayout:u,mode:h,anchorX:c,anchorY:p,root:f})=>{let g=(0,s.useConstant)(m),y=(0,i.useId)(),v=!0,x=(0,i.useMemo)(()=>(v=!1,{id:y,initial:n,isPresent:r,custom:l,onExitComplete:t=>{for(let e of(g.set(t,!0),g.values()))if(!e)return;a&&a()},register:t=>(g.set(t,!1),()=>g.delete(t))}),[r,g,a]);return u&&v&&(x={...x}),(0,i.useMemo)(()=>{g.forEach((t,e)=>g.set(e,!1))},[r]),i.useEffect(()=>{r||g.size||!a||a()},[r]),t=(0,e.jsx)(d,{pop:"popLayout"===h,isPresent:r,anchorX:c,anchorY:p,root:f,children:t}),(0,e.jsx)(o.PresenceContext.Provider,{value:x,children:t})};function m(){return new Map}var f=t.i(64978);let g=t=>t.key||"";function y(t){let e=[];
11return i.Children.forEach(t,t=>{(0,i.isValidElement)(t)&&e.push(t)}),e}t.s(["AnimatePresence",0,({children:t,custom:o,initial:a=!0,onExitComplete:l,presenceAffectsLayout:u=!0,mode:h="sync",propagate:c=!1,anchorX:d="left",anchorY:m="top",root:v})=>{let[x,w]=(0,f.usePresence)(c),b=(0,i.useMemo)(()=>y(t),[t]),S=c&&!x?[]:b.map(g),k=(0,i.useRef)(!0),E=(0,i.useRef)(b),P=(0,s.useConstant)(()=>new Map),T=(0,i.useRef)(new Set),[A,C]=(0,i.useState)(b),[M,I]=(0,i.useState)(b);(0,r.useIsomorphicLayoutEffect)(()=>{k.current=!1,E.current=b;for(let t=0;t<M.length;t++){let e=g(M[t]);S.includes(e)?(P.delete(e),T.current.delete(e)):!0!==P.get(e)&&P.set(e,!1)}},[M,S.length,S.join("-")]);let j=[];if(b!==A){let t=[...b];for(let e=0;e<M.length;e++){let i=M[e],n=g(i);S.includes(n)||(t.splice(e,0,i),j.push(i))}return"wait"===h&&j.length&&(t=j),I(y(t)),C(b),null}let{forceRender:R}=(0,i.useContext)(n.LayoutGroupContext);return(0,e.jsx)(e.Fragment,{children:M.map(t=>{let i=g(t),n=(!c||!!x)&&(b===M||S.includes(i));return(0,e.jsx)(p,{isPresent:n,initial:(!k.current||!!a)&&void 0,custom:o,presenceAffectsLayout:u,mode:h,root:v,onExitComplete:n?void 0:()=>{if(T.current.has(i)||!P.has(i))return;T.current.add(i),P.set(i,!0);let t=!0;P.forEach(e=>{e||(t=!1)}),t&&(R?.(),I(E.current),c&&w?.(),l&&l())},anchorX:d,anchorY:m,children:t},i)})})}],88653)},13642,t=>{"use strict";var e=t.i(43476),i=t.i(71645),n=t.i(57688),s=t.i(22016),r=t.i(46932),o=t.i(88653),a=t.i(24022),l=t.i(13003);t.s(["default",0,function(){let{lang:t}=(0,a.useLang)(),u=l.nav.links[t],[h,c]=(0,i.useState)(!1);return(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("footer",{className:"relative border-t border-zinc-900 bg-[#030303]",children:[(0,e.jsx)("div",{className:"absolute inset-0 bg-[radial-gradient(ellipse_at_bottom,rgba(105,0,255,0.03),transparent_60%)] pointer-events-none"}),(0,e.jsxs)("div",{className:"max-w-7xl mx-auto px-6 py-20 relative z-10",children:[(0,e.jsx)("div",{className:"flex flex-col gap-6 mb-16",children:(0,e.jsxs)("div",{className:"flex flex-col sm:flex-row items-start sm:items-center justify-between gap-8",children:[(0,e.jsx)(s.default,{href:"/",className:"inline-flex items-center group cursor-pointer",onClick:()=>{"/"===window.location.pathname&&window.scrollTo({top:0,behavior:"smooth"})},children:(0,e.jsx)(n.default,{src:"/footer-logo.svg",alt:"BYTESIZE",width:200,height:48,className:"h-11 sm:h-12 w-auto"})}),(0,e.jsx)("nav",{className:"flex flex-wrap items-center gap-6",children:u.map(t=>(0,e.jsx)(s.default,{href:t.href,className:"text-zinc-400 hover:text-[#a25cff] text-xs sm:text-sm font-medium tracking-wide transition-colors duration-200",...t.href.startsWith("http")?{target:"_blank",rel:"noopener noreferrer"}:{},children:t.label},t.href))})]})}),(0,e.jsxs)("div",{className:"pt-12 border-t border-zinc-900 flex flex-col sm:flex-row items-center justify-between gap-6 text-xs sm:text-sm font-medium",children:[(0,e.jsxs)("div",{className:"flex flex-col gap-2",children:[(0,e.jsx)("p",{className:"tracking-wide text-white",children:l.footer.copyright[t]}),(0,e.jsxs)("div",{className:"flex items-center gap-3 text-xs sm:text-sm font-medium",children:[(0,e.jsx)("button",{type:"button",onClick:()=>c(!0),className:"text-zinc-500 hover:text-[#a25cff] transition-colors duration-200 w-fit cursor-pointer",children:"ko"===t?"개인정보처리방침":"Privacy Policy"}),(0,e.jsx)("span",{className:"text-zinc-800 select-none",children:"|"}),(0,e.jsx)("a",{href:l.footer.companyProfile[t],target:"_blank",rel:"noopener noreferrer",className:"text-zinc-500 hover:text-[#a25cff] transition-colors duration-200 w-fit cursor-pointer",children:"ko"===t?"회사소개서 보기":"Company Profile"})]})]}),(0,e.jsx)("p",{className:"tracking-wide text-white/90 whitespace-pre-line text-center sm:text-right leading-relaxed",children:l.footer.bizInfo[t]})]})]})]}),(0,e.jsx)(o.AnimatePresence,{children:h&&(0,e.jsx)(r.motion.div,{initial:{opacity:0}
11,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-[100] flex items-center justify-center p-4 bg-slate-900/40 backdrop-blur-sm",children:(0,e.jsxs)(r.motion.div,{initial:{opacity:0,scale:.95,y:10},animate:{opacity:1,scale:1,y:0},exit:{opacity:0,scale:.95,y:10},transition:{type:"spring",duration:.4},className:"bg-white rounded-3xl p-6 sm:p-8 max-w-lg w-full border border-slate-200/80 shadow-2xl max-h-[85vh] flex flex-col",children:[(0,e.jsx)("h3",{className:"text-lg sm:text-xl font-bold text-slate-900 mb-4 pb-2 border-b border-slate-100 font-sans",children:"ko"===t?"개인정보 수집 및 이용 동의":"Consent to Collection & Use of Personal Information"}),(0,e.jsx)("div",{className:"flex-1 overflow-y-auto text-xs sm:text-sm text-slate-600 leading-relaxed font-medium space-y-4 pr-1 font-sans text-left",children:"ko"===t?(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-bold text-slate-800 mb-1",children:"1. 수집하는 개인정보 항목"}),(0,e.jsx)("p",{className:"pl-3",children:"필수항목: 기업명, 성함 및 직책, 이메일 주소, 연락처, 문의 내용"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-bold text-slate-800 mb-1",children:"2. 개인정보의 수집 및 이용목적"}),(0,e.jsx)("p",{className:"pl-3",children:"입력하신 개인정보는 문의 접수 및 상담 응대, 비즈니스 협업 제안과 관련된 연락 목적 외에는 절대 다른 용도로 사용되지 않습니다."})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-bold text-slate-800 mb-1",children:"3. 개인정보의 보유 및 이용기간"}),(0,e.jsx)("p",{className:"pl-3",children:"원칙적으로 개인정보 수집 및 이용목적이 달성된 후(상담 및 문의 처리 완료 후) 해당 정보를 지체 없이 파기합니다. 단, 관계 법령의 규정에 의하여 보존할 필요가 있는 경우 법령이 정한 일정 기간 동안 보관합니다."})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-bold text-slate-800 mb-1",children:"4. 동의를 거부할 권리 및 거부에 따른 불이익"}),(0,e.jsx)("p",{className:"pl-3",children:"귀하는 본 개인정보 수집 및 이용 동의를 거부할 권리가 있습니다. 단, 동의를 거부하실 경우 문의 접수 및 상담 서비스 이용이 제한됩니다."})]})]}):(0,e.jsxs)(e.Fragment,{children:[(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-bold text-slate-800 mb-1",children:"1. Items of Personal Information Collected"}),(0,e.jsx)("p",{className:"pl-3",children:"Required items: Company Name, Name & Position, Email Address, Phone Number, Inquiry Details"})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-bold text-slate-800 mb-1",children:"2. Purpose of Collection and Use"}),(0,e.jsx)("p",{className:"pl-3",children:"The collected information is used solely for processing your inquiry, responding to consultations, and communicating regarding business collaborations."})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-bold text-slate-800 mb-1",children:"3. Retention and Use Period"}),(0,e.jsx)("p",{className:"pl-3",children:"In principle, after the purpose of collecting and using personal information is achieved (completion of inquiry processing), the information is destroyed without delay. However, if preservation is required under relevant laws, it will be stored for a period specified by law."})]}),(0,e.jsxs)("div",{children:[(0,e.jsx)("h4",{className:"font-bold text-slate-800 mb-1",children:"4. Right to Refuse Consent and Disadvantages"}),(0,e.jsx)("p",{className:"pl-3",children:"You have the right to refuse consent to this collection and use of personal information. However, if you refuse consent, you will be unable to submit the inquiry or use the consultation services."})]})]})}),(0,e.jsx)("button",{type:"button",onClick:()=>c(!1),className:"mt-6 w-full py-3 bg-[#6900ff] hover:bg-[#5a00d6] text-white font-bold rounded-xl transition-colors duration-300 text-sm cursor-pointer",children:"ko"===t?"닫기":"Close"})]})})})]})}])}]);

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.