PageSourceSearch

https://doschain.com/_next/static/chunks/32hzferyzo6sp.js?dpl=dpl_3QGyEhgPmvtSmoEF1obNv7RbQMQ7

js doschain.com collected 2026-10-08 02:38:19 UTC 170,560 bytes, 10 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,84465,t=>{"use strict";let e,i,r,n,s,o;var a,l=t.i(71143),u=t.i(43336),d=t.i(47087),h=t.i(68078);let c={...h},m={};function p(t,e){let i=h.useRef(m);return i.current===m&&(i.current=t(e)),i}let f=c.useInsertionEffect,g=f&&f!==c.useLayoutEffect?f:t=>t();function y(){let t={next:void 0,callback:v,trampoline:(...e)=>t.callback?.(...e),effect:()=>{t.callback=t.next}};return t}function v(){}let x="u">typeof document?h.useLayoutEffect:()=>{};function b(t,e){return t&&!e?t:!t&&e?e:t||e?{...t,...e}:void 0}let w={};function k(t,e,i,r,n){if(!i&&!r&&!n&&!t)return T(e);let s=T(t);return e&&(s=S(s,e)),i&&(s=S(s,i)),r&&(s=S(s,r)),n&&(s=S(s,n)),s}function T(t){return A(t)?{...j(t,w)}:function(t){let e={...t};for(let t in e){let i=e[t];P(t,i)&&(e[t]=E(i))}return e}(t)}function S(t,e){return A(e)?j(e,t):function(t,e){if(!e)return t;for(let i in e){let r=e[i];switch(i){case"style":t[i]=b(t.style,r);break;case"className":t[i]=C(t.className,r);break;default:P(i,r)?t[i]=function(t,e){return e?t?(...i)=>{let r=i[0];if(V(r)){M(r);let n=e(...i);return r.baseUIHandlerPrevented||t?.(...i),n}let n=e(...i);return t?.(...i),n}:E(e):t}(t[i],r):t[i]=r}}return t}(t,e)}function P(t,e){let i=t.charCodeAt(0),r=t.charCodeAt(1),n=t.charCodeAt(2);return 111===i&&110===r&&n>=65&&n<=90&&("function"==typeof e||void 0===e)}function A(t){return"function"==typeof t}function j(t,e){return A(t)?t(e):t??w}function E(t){return t?(...e)=>{let i=e[0];return V(i)&&M(i),t(...e)}:t}function M(t){return t.preventBaseUIHandler=()=>{t.baseUIHandlerPrevented=!0},t}function C(t,e){return e?t?e+" "+t:e:t}function V(t){return null!=t&&"object"==typeof t&&"nativeEvent"in t}let D=function(t,...e){let i=new URL("https://base-ui.com/production-error");return i.searchParams.set("code",t.toString()),e.forEach(t=>i.searchParams.append("args[]",t)),`Base UI error #${t}; visit ${i} for the full message.`},R=h.createContext(void 0);function N(t){return function(t){var e;return!!("u">typeof window)&&(t instanceof HTMLElement||t instanceof((null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window).HTMLElement)}(t)&&"BUTTON"===t.tagName}function L(t,e,i,r){var n,s,o,a,l;let u=p(B).current;return n=u,s=t,o=e,a=i,l=r,(n.refs[0]!==s||n.refs[1]!==o||n.refs[2]!==a||n.refs[3]!==l)&&O(u,[t,e,i,r]),u.callback}function B(){return{callback:null,cleanup:null,refs:[]}}function O(t,e){if(t.refs=e,e.every(t=>null==t)){t.callback=null;return}t.callback=i=>{if(t.cleanup&&(t.cleanup(),t.cleanup=null),null!=i){let r=Array(e.length).fill(null);for(let t=0;t<e.length;t+=1){let n=e[t];if(null!=n)switch(typeof n){case"function":{let e=n(i);"function"==typeof e&&(r[t]=e);break}case"object":n.current=i}}t.cleanup=()=>{for(let t=0;t<e.length;t+=1){let i=e[t];if(null!=i)switch(typeof i){case"function":{let e=r[t];"function"==typeof e?e():i(null);break}case"object":i.current=null}}}}}}let z=parseInt(h.version,10);function I(t){if(!h.isValidElement(t))return null;let e=t.props;return(z>=19?e?.ref:t.ref)??null}Object.freeze([]);let F=Object.freeze({});function U(t,e,i={}){let r=e.render,n=function(t,e={}){var i,r,n;let{className:s,style:o,render:a}=t,{state:l=F,ref:u,props:d,stateAttributesMapping:h,enabled:c=!0}=e,m=c?"function"==typeof s?s(l):s:void 0,f=c?"function"==typeof o?o(l):o:void 0,g=c?function(t,e){let i={};for(let r in t){let n=t[r];if(e?.hasOwnProperty(r)){let t=e[r](n);null!=t&&Object.assign(i,t);continue}!0===n?i[`data-${r.toLowerCase()}`]="":n&&(i[`data-${r.toLowerCase()}`]=n.toString())}return i}(l,h):F,y=c&&d?function(t){if(Array.isArray(t)){if(0===t.length)return w;if(1===t.length)return T(t[0]);let e=T(t[0]);for(let i=1;i<t.length;i+=1)e=S(e,t[i]);return e}return k(void 0,t)}(d):void 0,v=c?b(g,y)??{}:F;if("u">typeof document)if(c)if(Array.isArray(u)){let t;i=[v.ref,I(a),...u],r=t=p(B).current,n=i,(r.refs.length!==n.length||r.refs.some((t,e)=>t!==n[e]))&&O(t,i),v.ref=t.callback}else v.ref=L(v.ref,I(a),u);else L(null,null);return c?(void 0!==m&&(v.className=C(v.className,m)),void 0!==f&&(v.style=b(v.style,f)),v):F}(e,i);
1return!1===i.enabled?null:function(t,e,i,r){if(e){if("function"==typeof e)return e(i,r);let t=k(i,e.props);t.ref=i.ref;let n=e;return n?.$$typeof===$&&(n=h.Children.toArray(e)[0]),h.cloneElement(n,t)}if(t&&"string"==typeof t){var n,s;return n=t,s=i,"button"===n?(0,h.createElement)("button",{type:"button",...s,key:s.key}):"img"===n?(0,h.createElement)("img",{alt:"",...s,key:s.key}):h.createElement(n,s)}throw Error(D(8))}(t,r,n,i.state??F)}let $=Symbol.for("react.lazy"),W=h.forwardRef(function(t,e){let{render:i,className:r,disabled:n=!1,focusableWhenDisabled:s=!1,nativeButton:o=!0,style:a,...l}=t,{getButtonProps:u,buttonRef:d}=function(t={}){var e;let i,{disabled:r=!1,focusableWhenDisabled:n,tabIndex:s=0,native:o=!0,composite:a}=t,l=h.useRef(null),u=function(t=!1){let e=h.useContext(R);if(void 0===e&&!t)throw Error(D(16));return e}(!0),d=a??void 0!==u,{props:c}=function(t){let{focusableWhenDisabled:e,disabled:i,composite:r=!1,tabIndex:n=0,isNativeButton:s}=t,o=r&&!1!==e,a=r&&!1===e;return{props:h.useMemo(()=>{let t={onKeyDown(t){i&&e&&"Tab"!==t.key&&t.preventDefault()}};return r||(t.tabIndex=n,!s&&i&&(t.tabIndex=e?n:-1)),(s&&(e||o)||!s&&i)&&(t["aria-disabled"]=i),s&&(!e||a)&&(t.disabled=i),t},[r,i,e,o,a,s,n])}}({focusableWhenDisabled:n,disabled:r,composite:d,tabIndex:s,isNativeButton:o}),m=h.useCallback(()=>{let t=l.current;N(t)&&d&&r&&void 0===c.disabled&&t.disabled&&(t.disabled=!1)},[r,c.disabled,d]);return x(m,[m]),{getButtonProps:h.useCallback((t={})=>{let{onClick:e,onMouseDown:i,onKeyUp:n,onKeyDown:s,onPointerDown:a,...l}=t;return k({onClick(t){r?t.preventDefault():e?.(t)},onMouseDown(t){r||i?.(t)},onKeyDown(t){var i;if(r||(M(t),s?.(t),t.baseUIHandlerPrevented))return;let n=t.target===t.currentTarget,a=t.currentTarget,l=N(a),u=!o&&(i=a,!!(i?.tagName==="A"&&i?.href)),h=n&&(o?l:!u),c="Enter"===t.key,m=" "===t.key,p=a.getAttribute("role"),f=p?.startsWith("menuitem")||"option"===p||"gridcell"===p;if(n&&d&&m){if(t.defaultPrevented&&f)return;t.preventDefault(),u||o&&l?(a.click(),t.preventBaseUIHandler()):h&&(e?.(t),t.preventBaseUIHandler());return}h&&(!o&&(m||c)&&t.preventDefault(),!o&&c&&e?.(t))},onKeyUp(t){r||((M(t),n?.(t),t.target===t.currentTarget&&o&&d&&N(t.currentTarget)&&" "===t.key)?t.preventDefault():!t.baseUIHandlerPrevented&&(t.target!==t.currentTarget||o||d||" "!==t.key||e?.(t)))},onPointerDown(t){r?t.preventDefault():a?.(t)}},o?{type:"button"}:{role:"button"},c,l)},[r,c,d,o]),buttonRef:(e=t=>{l.current=t,m()},(i=p(y).current).next=e,g(i.effect),i.trampoline)}}({disabled:n,focusableWhenDisabled:s,native:o});return U("button",t,{state:{disabled:n},ref:[e,d],props:[l,u]})});function H(){for(var t,e,i=0,r="",n=arguments.length;i<n;i++)(t=arguments[i])&&(e=function t(e){var i,r,n="";if("string"==typeof e||"number"==typeof e)n+=e;else if("object"==typeof e)if(Array.isArray(e)){var s=e.length;for(i=0;i<s;i++)e[i]&&(r=t(e[i]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}(t))&&(r&&(r+=" "),r+=e);return r}let G=t=>"boolean"==typeof t?`${t}`:0===t?"0":t,Y=(t=new Map,e=null,i)=>({nextPart:t,validators:e,classGroupId:i}),X=[],_=(t,e,i)=>{if(0==t.length-e)return i.classGroupId;let r=t[e],n=i.nextPart.get(r);if(n){let i=_(t,e+1,n);if(i)return i}let s=i.validators;if(null===s)return;let o=0===e?t.join("-"):t.slice(e).join("-"),a=s.length;for(let t=0;t<a;t++){let e=s[t];if(e.validator(o))return e.classGroupId}},K=(t,e)=>{let i=Y();for(let r in t)q(t[r],i,r,e);return i},q=(t,e,i,r)=>{let n=t.length;for(let s=0;s<n;s++)Z(t[s],e,i,r)},Z=(t,e,i,r)=>{"string"==typeof t?J(t,e,i):"function"==typeof t?Q(t,e,i,r):tt(t,e,i,r)},J=(t,e,i)=>{(""===t?e:te(e,t)).classGroupId=i},Q=(t,e,i,r)=>{ti(t)?q(t(r),e,i,r):(null===e.validators&&(e.validators=[]),e.validators.push({classGroupId:i,validator:t}))},tt=(t,e,i,r)=>{let n=Object.entries(t),s=n.length;for(let t=0;t<s;t++){let[s,o]=n[t];q(o,te(e,s),i,r)}},te=(t,e)=>{let i=t,r=e.split("-"),n=r.length;for(let t=0;t<n;t++){let e=r[t],n=i.nextPart.get(e);n||(n=Y(),i.nextPart.set(e,n)),i=n}return i},ti=t=>"isThemeGetter"in t&&!0===t.isThemeGetter,tr=[],tn=(t,e,i,r,n)=>({modifiers:t,hasImportantModifier:e,baseClassName:i,maybePostfixModifierPosition:r,isExternal:n}),ts=/\s+/,to=t=>{let e;if("string"==typeof t)return t;let i="";for(let r=0;r<t.length;r++)t[r]&&(e=to(t[r]))&&(i&&(i+=" "),i+=e);return i},ta=[],tl=t=>{let e=e=>e[t]||ta;return e.isThemeGetter=!0,e},tu=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,td=/^\((?:(\w[\w-]*):)?(.+)\)$/i,th=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,tc=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,tm=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,tp=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,tf=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,tg=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,ty=t=>th.test(t),tv=t=>!!t&&!Number.isNaN(Number(t)),tx=t=>!!t&&Number.isInteger(Number(t)),tb=t=>t.endsWith("%")&&tv(t.slice(0,-1)),tw=t=>tc.test(t),tk=()=>!0,tT=t=>tm.test(t)&&!tp.test(t),tS=()=>!1,tP=t=>tf.test(t),tA=t=>tg.test(t),tj=t=>!tM(t)&&!tO(t),tE=t=>tG(t,tK,tS),tM=t=>tu.test(t),tC=t=>tG(t,tq,tT),tV=t=>tG(t,tZ,tv),tD=t=>tG(t,tQ,tk),tR=t=>tG(t,tJ,tS),tN=t=>tG(t,tX,tS),tL=t=>tG(t,t_,tA),tB=t=>tG(t,t0,tP),tO=t=>td.test(t),tz=t=>tY(t,tq),tI=t=>tY(t,tJ),tF=t=>tY(t,tX),tU=t=>tY(t,tK),t$=t=>tY(t,t_),tW=t=>tY(t,t0,!0),tH=t=>tY(t,tQ,!0),tG=(t,e,i)=>{let r=tu.exec(t);return!!r&&(r[1]?e(r[1]):i(r[2]))},tY=(t,e,i=!1)=>{let r=td.exec(t);return!!r&&(r[1]?e(r[1]):i)},tX=t=>"position"===t||"percentage"===t,t_=t=>"image"===t||"url"===t,tK=t=>"length"===t||"size"===t||"bg-size"===t,tq=t=>"length"===t,tZ=t=>"number"===t,tJ=t=>"family-name"===t,tQ=t=>"number"===t||"weight"===t,t0=t=>"shadow"===t,t1=((t,...e)=>{let i,r,n,s,o=t=>{let e=r(t);if(e)return e;let s=((t,e)=>{let{parseClassName:i,getClassGroupId:r,getConflictingClassGroupIds:n,sortModifiers:s}=e,o=[],a=t.trim().split(ts),l="";for(let t=a.length-1;t>=0;t-=1){let e=a[t],{isExternal:u,modifiers:d,hasImportantModifier:h,baseClassName:c,maybePostfixModifierPosition:m}=i(e);if(u){l=e+(l.length>0?" "+l:l);continue}let p=!!m,f=r(p?c.substring(0,m):c);if(!f){if(!p||!(f=r(c))){l=e+(l.length>0?" "+l:l);continue}p=!1}let g=0===d.length?"":1===d.length?d[0]:s(d).join(":"),y=h?g+"!":g,v=y+f;if(o.indexOf(v)>-1)continue;o.push(v);let x=n(f,p);for(let t=0;t<x.length;++t){let e=x[t];o.push(y+e)}l=e+(l.length>0?" "+l:l)}return l})(t,i);return n(t,s),s};return s=a=>{var l;let u;return r=(i={cache:(t=>{if(t<1)return{get:()=>void 0,set:()=>{}};let e=0,i=Object.create(null),r=Object.create(null),n=(n,s)=>{i[n]=s,++e>t&&(e=0,r=i,i=Object.create(null))};return{get(t){let e=i[t];return void 0!==e?e:void 0!==(e=r[t])?(n(t,e),e):void 0},set(t,e){t in i?i[t]=e:n(t,e)}}})((l=e.reduce((t,e)=>e(t),t())).cacheSize),parseClassName:(t=>{let{prefix:e,experimentalParseClassName:i}=t,r=t=>{let e,i=[],r=0,n=0,s=0,o=t.length;for(let a=0;a<o;a++){let o=t[a];if(0===r&&0===n){if(":"===o){i.push(t.slice(s,a)),s=a+1;continue}if("/"===o){e=a;continue}}"["===o?r++:"]"===o?r--:"("===o?n++:")"===o&&n--}let a=0===i.length?t:t.slice(s),l=a,u=!1;return a.endsWith("!")?(l=a.slice(0,-1),u=!0):a.startsWith("!")&&(l=a.slice(1),u=!0),tn(i,u,l,e&&e>s?e-s:void 0)};if(e){let t=e+":",i=r;r=e=>e.startsWith(t)?i(e.slice(t.length)):tn(tr,!1,e,void 0,!0)}if(i){let t=r;r=e=>i({className:e,parseClassName:t})}return r}
1)(l),sortModifiers:(u=new Map,l.orderSensitiveModifiers.forEach((t,e)=>{u.set(t,1e6+e)}),t=>{let e=[],i=[];for(let r=0;r<t.length;r++){let n=t[r],s="["===n[0],o=u.has(n);s||o?(i.length>0&&(i.sort(),e.push(...i),i=[]),e.push(n)):i.push(n)}return i.length>0&&(i.sort(),e.push(...i)),e}),...(t=>{let e=(t=>{let{theme:e,classGroups:i}=t;return K(i,e)})(t),{conflictingClassGroups:i,conflictingClassGroupModifiers:r}=t;return{getClassGroupId:t=>{if(t.startsWith("[")&&t.endsWith("]")){var i;let e,r,n;return -1===(i=t).slice(1,-1).indexOf(":")?void 0:(r=(e=i.slice(1,-1)).indexOf(":"),(n=e.slice(0,r))?"arbitrary.."+n:void 0)}let r=t.split("-"),n=+(""===r[0]&&r.length>1);return _(r,n,e)},getConflictingClassGroupIds:(t,e)=>{if(e){let e=r[t],n=i[t];if(e){if(n){let t=Array(n.length+e.length);for(let e=0;e<n.length;e++)t[e]=n[e];for(let i=0;i<e.length;i++)t[n.length+i]=e[i];return t}return e}return n||X}return i[t]||X}}})(l)}).cache.get,n=i.cache.set,s=o,o(a)},(...t)=>s(((...t)=>{let e,i,r=0,n="";for(;r<t.length;)(e=t[r++])&&(i=to(e))&&(n&&(n+=" "),n+=i);return n})(...t))})(()=>{let t=tl("color"),e=tl("font"),i=tl("text"),r=tl("font-weight"),n=tl("tracking"),s=tl("leading"),o=tl("breakpoint"),a=tl("container"),l=tl("spacing"),u=tl("radius"),d=tl("shadow"),h=tl("inset-shadow"),c=tl("text-shadow"),m=tl("drop-shadow"),p=tl("blur"),f=tl("perspective"),g=tl("aspect"),y=tl("ease"),v=tl("animate"),x=()=>["auto","avoid","all","avoid-page","page","left","right","column"],b=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"],w=()=>[...b(),tO,tM],k=()=>["auto","hidden","clip","visible","scroll"],T=()=>["auto","contain","none"],S=()=>[tO,tM,l],P=()=>[ty,"full","auto",...S()],A=()=>[tx,"none","subgrid",tO,tM],j=()=>["auto",{span:["full",tx,tO,tM]},tx,tO,tM],E=()=>[tx,"auto",tO,tM],M=()=>["auto","min","max","fr",tO,tM],C=()=>["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"],V=()=>["start","end","center","stretch","center-safe","end-safe"],D=()=>["auto",...S()],R=()=>[ty,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...S()],N=()=>[ty,"screen","full","dvw","lvw","svw","min","max","fit",...S()],L=()=>[ty,"screen","full","lh","dvh","lvh","svh","min","max","fit",...S()],B=()=>[t,tO,tM],O=()=>[...b(),tF,tN,{position:[tO,tM]}],z=()=>["no-repeat",{repeat:["","x","y","space","round"]}],I=()=>["auto","cover","contain",tU,tE,{size:[tO,tM]}],F=()=>[tb,tz,tC],U=()=>["","none","full",u,tO,tM],$=()=>["",tv,tz,tC],W=()=>["solid","dashed","dotted","double"],H=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"],G=()=>[tv,tb,tF,tN],Y=()=>["","none",p,tO,tM],X=()=>["none",tv,tO,tM],_=()=>["none",tv,tO,tM],K=()=>[tv,tO,tM],q=()=>[ty,"full",...S()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[tw],breakpoint:[tw],color:[tk],container:[tw],"drop-shadow":[tw],ease:["in","out","in-out"],font:[tj],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[tw],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[tw],shadow:[tw],spacing:["px",tv],text:[tw],"text-shadow":[tw],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",ty,tM,tO,g]}],container:["container"],columns:[{columns:[tv,tM,tO,a]}],"break-after":[{"break-after":x()}],"break-before":[{"break-before":x()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:w()}],overflow:[{overflow:k()}],"overflow-x":[{"overflow-x":k()}],"overflow-y":[{"overflow-y":k()}],overscroll:[{overscroll:T()}],"overscroll-x":[{"overscroll-x":T()}],"overscroll-y":[{"overscroll-y":T()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:P()}],"inset-x":[{"inset-x":P()}],"inset-y":[{"inset-y":P()}],start:[{"inset-s":P(),start:P()}],end:[{"inset-e":P(),end:P()}],"inset-bs":[{"inset-bs":P()}],"inset-be":[{"inset-be":P()}],top:[{top:P()}
vendor: 4,741 bytes, line 1
1],right:[{right:P()}],bottom:[{bottom:P()}],left:[{left:P()}],visibility:["visible","invisible","collapse"],z:[{z:[tx,"auto",tO,tM]}],basis:[{basis:[ty,"full","auto",a,...S()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[tv,ty,"auto","initial","none",tM]}],grow:[{grow:["",tv,tO,tM]}],shrink:[{shrink:["",tv,tO,tM]}],order:[{order:[tx,"first","last","none",tO,tM]}],"grid-cols":[{"grid-cols":A()}],"col-start-end":[{col:j()}],"col-start":[{"col-start":E()}],"col-end":[{"col-end":E()}],"grid-rows":[{"grid-rows":A()}],"row-start-end":[{row:j()}],"row-start":[{"row-start":E()}],"row-end":[{"row-end":E()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":M()}],"auto-rows":[{"auto-rows":M()}],gap:[{gap:S()}],"gap-x":[{"gap-x":S()}],"gap-y":[{"gap-y":S()}],"justify-content":[{justify:[...C(),"normal"]}],"justify-items":[{"justify-items":[...V(),"normal"]}],"justify-self":[{"justify-self":["auto",...V()]}],"align-content":[{content:["normal",...C()]}],"align-items":[{items:[...V(),{baseline:["","last"]}]}],"align-self":[{self:["auto",...V(),{baseline:["","last"]}]}],"place-content":[{"place-content":C()}],"place-items":[{"place-items":[...V(),"baseline"]}],"place-self":[{"place-self":["auto",...V()]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pbs:[{pbs:S()}],pbe:[{pbe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:D()}],mx:[{mx:D()}],my:[{my:D()}],ms:[{ms:D()}],me:[{me:D()}],mbs:[{mbs:D()}],mbe:[{mbe:D()}],mt:[{mt:D()}],mr:[{mr:D()}],mb:[{mb:D()}],ml:[{ml:D()}],"space-x":[{"space-x":S()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":S()}],"space-y-reverse":["space-y-reverse"],size:[{size:R()}],"inline-size":[{inline:["auto",...N()]}],"min-inline-size":[{"min-inline":["auto",...N()]}],"max-inline-size":[{"max-inline":["none",...N()]}],"block-size":[{block:["auto",...L()]}],"min-block-size":[{"min-block":["auto",...L()]}],"max-block-size":[{"max-block":["none",...L()]}],w:[{w:[a,"screen",...R()]}],"min-w":[{"min-w":[a,"screen","none",...R()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[o]},...R()]}],h:[{h:["screen","lh",...R()]}],"min-h":[{"min-h":["screen","lh","none",...R()]}],"max-h":[{"max-h":["screen","lh",...R()]}],"font-size":[{text:["base",i,tz,tC]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,tH,tD]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",tb,tM]}],"font-family":[{font:[tI,tR,e]}],"font-features":[{"font-features":[tM]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[n,tO,tM]}],"line-clamp":[{"line-clamp":[tv,"none",tO,tV]}],leading:[{leading:[s,...S()]}],"list-image":[{"list-image":["none",tO,tM]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",tO,tM]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:B()}],"text-color":[{text:B()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...W(),"wavy"]}],"text-decoration-thickness":[{decoration:[tv,"from-font","auto",tO,tC]}],"text-decoration-color":[{decoration:B()}],"underline-offset":[{"underline-offset":[tv,"auto",tO,tM]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:S()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",tO,tM]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",tO,tM]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:O()}],"bg-repeat":[{bg:z()}],"bg-size":[{bg:I()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},tx,tO,tM],radial:["",tO,tM],conic:[tx,tO,tM]},t$,tL]}],"bg-color":[{bg:B()}],"gradient-from-pos":[{from:F()}
1],"gradient-via-pos":[{via:F()}],"gradient-to-pos":[{to:F()}],"gradient-from":[{from:B()}],"gradient-via":[{via:B()}],"gradient-to":[{to:B()}],rounded:[{rounded:U()}],"rounded-s":[{"rounded-s":U()}],"rounded-e":[{"rounded-e":U()}],"rounded-t":[{"rounded-t":U()}],"rounded-r":[{"rounded-r":U()}],"rounded-b":[{"rounded-b":U()}],"rounded-l":[{"rounded-l":U()}],"rounded-ss":[{"rounded-ss":U()}],"rounded-se":[{"rounded-se":U()}],"rounded-ee":[{"rounded-ee":U()}],"rounded-es":[{"rounded-es":U()}],"rounded-tl":[{"rounded-tl":U()}],"rounded-tr":[{"rounded-tr":U()}],"rounded-br":[{"rounded-br":U()}],"rounded-bl":[{"rounded-bl":U()}],"border-w":[{border:$()}],"border-w-x":[{"border-x":$()}],"border-w-y":[{"border-y":$()}],"border-w-s":[{"border-s":$()}],"border-w-e":[{"border-e":$()}],"border-w-bs":[{"border-bs":$()}],"border-w-be":[{"border-be":$()}],"border-w-t":[{"border-t":$()}],"border-w-r":[{"border-r":$()}],"border-w-b":[{"border-b":$()}],"border-w-l":[{"border-l":$()}],"divide-x":[{"divide-x":$()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":$()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:[...W(),"hidden","none"]}],"divide-style":[{divide:[...W(),"hidden","none"]}],"border-color":[{border:B()}],"border-color-x":[{"border-x":B()}],"border-color-y":[{"border-y":B()}],"border-color-s":[{"border-s":B()}],"border-color-e":[{"border-e":B()}],"border-color-bs":[{"border-bs":B()}],"border-color-be":[{"border-be":B()}],"border-color-t":[{"border-t":B()}],"border-color-r":[{"border-r":B()}],"border-color-b":[{"border-b":B()}],"border-color-l":[{"border-l":B()}
vendor: 5,715 bytes, line 1
1],"divide-color":[{divide:B()}],"outline-style":[{outline:[...W(),"none","hidden"]}],"outline-offset":[{"outline-offset":[tv,tO,tM]}],"outline-w":[{outline:["",tv,tz,tC]}],"outline-color":[{outline:B()}],shadow:[{shadow:["","none",d,tW,tB]}],"shadow-color":[{shadow:B()}],"inset-shadow":[{"inset-shadow":["none",h,tW,tB]}],"inset-shadow-color":[{"inset-shadow":B()}],"ring-w":[{ring:$()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:B()}],"ring-offset-w":[{"ring-offset":[tv,tC]}],"ring-offset-color":[{"ring-offset":B()}],"inset-ring-w":[{"inset-ring":$()}],"inset-ring-color":[{"inset-ring":B()}],"text-shadow":[{"text-shadow":["none",c,tW,tB]}],"text-shadow-color":[{"text-shadow":B()}],opacity:[{opacity:[tv,tO,tM]}],"mix-blend":[{"mix-blend":[...H(),"plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":H()}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[tv]}],"mask-image-linear-from-pos":[{"mask-linear-from":G()}],"mask-image-linear-to-pos":[{"mask-linear-to":G()}],"mask-image-linear-from-color":[{"mask-linear-from":B()}],"mask-image-linear-to-color":[{"mask-linear-to":B()}],"mask-image-t-from-pos":[{"mask-t-from":G()}],"mask-image-t-to-pos":[{"mask-t-to":G()}],"mask-image-t-from-color":[{"mask-t-from":B()}],"mask-image-t-to-color":[{"mask-t-to":B()}],"mask-image-r-from-pos":[{"mask-r-from":G()}],"mask-image-r-to-pos":[{"mask-r-to":G()}],"mask-image-r-from-color":[{"mask-r-from":B()}],"mask-image-r-to-color":[{"mask-r-to":B()}],"mask-image-b-from-pos":[{"mask-b-from":G()}],"mask-image-b-to-pos":[{"mask-b-to":G()}],"mask-image-b-from-color":[{"mask-b-from":B()}],"mask-image-b-to-color":[{"mask-b-to":B()}],"mask-image-l-from-pos":[{"mask-l-from":G()}],"mask-image-l-to-pos":[{"mask-l-to":G()}],"mask-image-l-from-color":[{"mask-l-from":B()}],"mask-image-l-to-color":[{"mask-l-to":B()}],"mask-image-x-from-pos":[{"mask-x-from":G()}],"mask-image-x-to-pos":[{"mask-x-to":G()}],"mask-image-x-from-color":[{"mask-x-from":B()}],"mask-image-x-to-color":[{"mask-x-to":B()}],"mask-image-y-from-pos":[{"mask-y-from":G()}],"mask-image-y-to-pos":[{"mask-y-to":G()}],"mask-image-y-from-color":[{"mask-y-from":B()}],"mask-image-y-to-color":[{"mask-y-to":B()}],"mask-image-radial":[{"mask-radial":[tO,tM]}],"mask-image-radial-from-pos":[{"mask-radial-from":G()}],"mask-image-radial-to-pos":[{"mask-radial-to":G()}],"mask-image-radial-from-color":[{"mask-radial-from":B()}],"mask-image-radial-to-color":[{"mask-radial-to":B()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":b()}],"mask-image-conic-pos":[{"mask-conic":[tv]}],"mask-image-conic-from-pos":[{"mask-conic-from":G()}],"mask-image-conic-to-pos":[{"mask-conic-to":G()}],"mask-image-conic-from-color":[{"mask-conic-from":B()}],"mask-image-conic-to-color":[{"mask-conic-to":B()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:O()}],"mask-repeat":[{mask:z()}],"mask-size":[{mask:I()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",tO,tM]}],filter:[{filter:["","none",tO,tM]}],blur:[{blur:Y()}],brightness:[{brightness:[tv,tO,tM]}],contrast:[{contrast:[tv,tO,tM]}],"drop-shadow":[{"drop-shadow":["","none",m,tW,tB]}],"drop-shadow-color":[{"drop-shadow":B()}],grayscale:[{grayscale:["",tv,tO,tM]}],"hue-rotate":[{"hue-rotate":[tv,tO,tM]}],invert:[{invert:["",tv,tO,tM]}],saturate:[{saturate:[tv,tO,tM]}],sepia:[{sepia:["",tv,tO,tM]}],"backdrop-filter":[{"backdrop-filter":["","none",tO,tM]}],"backdrop-blur":[{"backdrop-blur":Y()}],"backdrop-brightness":[{"backdrop-brightness":[tv,tO,tM]}],"backdrop-contrast":[{"backdrop-contrast":[tv,tO,tM]}],"backdrop-grayscale":[{"backdrop-grayscale":["",tv,tO,tM]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[tv,tO,tM]}],"backdrop-invert":[{"backdrop-invert":["",tv,tO,tM]}],"backdrop-opacity":[{"backdrop-opacity":[tv,tO,tM]}],"backdrop-saturate":[{"backdrop-saturate":[tv,tO,tM]}],"backdrop-sepia":[{"backdrop-sepia":["",tv,tO,tM]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":S()}],"border-spacing-x":[{"border-spacing-x":S()}],"border-spacing-y":[{"border-spacing-y":S()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",tO,tM]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[tv,"initial",tO,tM]}],ease:[{ease:["linear","initial",y,tO,tM]}],delay:[{delay:[tv,tO,tM]}],animate:[{animate:["none",v,tO,tM]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,tO,tM]}],"perspective-origin":[{"perspective-origin":w()}],rotate:[{rotate:X()}],"rotate-x":[{"rotate-x":X()}],"rotate-y":[{"rotate-y":X()}],"rotate-z":[{"rotate-z":X()}],scale:[{scale:_()}],"scale-x":[{"scale-x":_()}],"scale-y":[{"scale-y":_()}],"scale-z":[{"scale-z":_()}],"scale-3d":["scale-3d"],skew:[{skew:K()}],"skew-x":[{"skew-x":K()}],"skew-y":[{"skew-y":K()}],transform:[{transform:[tO,tM,"","none","gpu","cpu"]}],"transform-origin":[{origin:w()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:q()}],"translate-x":[{"translate-x":q()}],"translate-y":[{"translate-y":q()}],"translate-z":[{"translate-z":q()}],"translate-none":["translate-none"],accent:[{accent:B()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:B()}
vendor: 5,075 bytes, line 1
1],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",tO,tM]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":S()}],"scroll-mx":[{"scroll-mx":S()}],"scroll-my":[{"scroll-my":S()}],"scroll-ms":[{"scroll-ms":S()}],"scroll-me":[{"scroll-me":S()}],"scroll-mbs":[{"scroll-mbs":S()}],"scroll-mbe":[{"scroll-mbe":S()}],"scroll-mt":[{"scroll-mt":S()}],"scroll-mr":[{"scroll-mr":S()}],"scroll-mb":[{"scroll-mb":S()}],"scroll-ml":[{"scroll-ml":S()}],"scroll-p":[{"scroll-p":S()}],"scroll-px":[{"scroll-px":S()}],"scroll-py":[{"scroll-py":S()}],"scroll-ps":[{"scroll-ps":S()}],"scroll-pe":[{"scroll-pe":S()}],"scroll-pbs":[{"scroll-pbs":S()}],"scroll-pbe":[{"scroll-pbe":S()}],"scroll-pt":[{"scroll-pt":S()}],"scroll-pr":[{"scroll-pr":S()}],"scroll-pb":[{"scroll-pb":S()}],"scroll-pl":[{"scroll-pl":S()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",tO,tM]}],fill:[{fill:["none",...B()]}],"stroke-w":[{stroke:[tv,tz,tC,tV]}],stroke:[{stroke:["none",...B()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}});function t5(...t){return t1(H(t))}let t2=(n="group/button inline-flex shrink-0 items-center justify-center rounded-lg border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:not-aria-[haspopup]:translate-y-
1px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",s={variants:{variant:{default:"bg-primary text-primary-foreground [a]:hover:bg-primary/80",outline:"border-border bg-background hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:border-input dark:bg-input/30 dark:hover:bg-input/50",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80 aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",ghost:"hover:bg-muted hover:text-foreground aria-expanded:bg-muted aria-expanded:text-foreground dark:hover:bg-muted/50",destructive:"bg-destructive/10 text-destructive hover:bg-destructive/20 focus-visible:border-destructive/40 focus-visible:ring-destructive/20 dark:bg-destructive/20 dark:hover:bg-destructive/30 dark:focus-visible:ring-destructive/40",link:"text-primary underline-offset-4 hover:underline"},size:{default:"h-8 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",xs:"h-6 gap-1 rounded-[min(var(--radius-md),10px)] px-2 text-xs in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",sm:"h-7 gap-1 rounded-[min(var(--radius-md),12px)] px-2.5 text-[0.8rem] in-data-[slot=button-group]:rounded-lg has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3.5",lg:"h-9 gap-1.5 px-2.5 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",icon:"size-8","icon-xs":"size-6 rounded-[min(var(--radius-md),10px)] in-data-[slot=button-group]:rounded-lg [&_svg:not([class*='size-'])]:size-3","icon-sm":"size-7 rounded-[min(var(--radius-md),12px)] in-data-[slot=button-group]:rounded-lg","icon-lg":"size-9"}},defaultVariants:{variant:"default",size:"default"}},t=>{var e;if((null==s?void 0:s.variants)==null)return H(n,null==t?void 0:t.class,null==t?void 0:t.className);let{variants:i,defaultVariants:r}=s,o=Object.keys(i).map(e=>{let n=null==t?void 0:t[e],s=null==r?void 0:r[e];if(null===n)return null;let o=G(n)||G(s);return i[e][o]}),a=t&&Object.entries(t).reduce((t,e)=>{let[i,r]=e;return void 0===r||(t[i]=r),t},{});return H(n,o,null==s||null==(e=s.compoundVariants)?void 0:e.reduce((t,e)=>{let{class:i,className:n,...s}=e;return Object.entries(s).every(t=>{let[e,i]=t;return Array.isArray(i)?i.includes({...r,...a}[e]):({...r,...a})[e]===i})?[...t,i,n]:t},[]),null==t?void 0:t.class,null==t?void 0:t.className)});function t3({className:t,variant:e="default",size:i="default",...r}){return(0,l.jsx)(W,{"data-slot":"button",className:t5(t2({variant:e,size:i,className:t})),...r})}let t6=h.forwardRef(function(t,e){let{className:i,render:r,orientation:n="horizontal",style:s,...o}=t;return U("div",t,{state:{orientation:n},ref:e,props:[{role:"separator","aria-orientation":n},o]})});function t4({className:t,orientation:e="horizontal",...i}){return(0,l.jsx)(t6,{"data-slot":"separator",orientation:e,className:t5("shrink-0 bg-border data-horizontal:h-px data-horizontal:w-full data-vertical:w-px data-vertical:self-stretch",t),...i})}let t9=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],t8=new Set(t9),t7=(t,e,i)=>i>e?e:i<t?t:i,et={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},ee={...et,transform:t=>t7(0,1,t)},ei={...et,default:1},er=t=>Math.round(1e5*t)/1e5,en=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,es=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,eo=(t,e)=>i=>!!("string"==typeof i&&es.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),ea=(t,e,i)=>r=>{if("string"!=typeof r)return r;let[n,s,o,a]=r.match(en);return{[t]:parseFloat(n),[e]:parseFloat(s),[i]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},el={...et,transform:t=>Math.round(t7(0,255,t))},eu={test:eo("rgb","red"),parse:ea("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:r=1})=>"rgba("+el.transform(t)+", "+el.transform(e)+", "+el.transform(i)+", "+er(ee.transform(r))+")"},ed={test:eo("#"),parse:function(t){let e="",i="",r="",n="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,i+=i,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(r,16),alph
1a:n?parseInt(n,16)/255:1}},transform:eu.transform},eh=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),ec=eh("deg"),em=eh("%"),ep=eh("px"),ef=eh("vh"),eg=eh("vw"),ey={...em,parse:t=>em.parse(t)/100,transform:t=>em.transform(100*t)},ev={test:eo("hsl","hue"),parse:ea("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:r=1})=>"hsla("+Math.round(t)+", "+em.transform(er(e))+", "+em.transform(er(i))+", "+er(ee.transform(r))+")"},ex={test:t=>eu.test(t)||ed.test(t)||ev.test(t),parse:t=>eu.test(t)?eu.parse(t):ev.test(t)?ev.parse(t):ed.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?eu.transform(t):ev.transform(t),getAnimatableNone:t=>{let e=ex.parse(t);return e.alpha=0,ex.transform(e)}},eb=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,ew="number",ek="color",eT=/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 eS(t){let e=t.toString(),i=[],r={color:[],number:[],var:[]},n=[],s=0,o=e.replace(eT,t=>(ex.test(t)?(r.color.push(s),n.push(ek),i.push(ex.parse(t))):t.startsWith("var(")?(r.var.push(s),n.push("var"),i.push(t)):(r.number.push(s),n.push(ew),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:o,indexes:r,types:n}}function eP({split:t,types:e}){let i=t.length;return r=>{let n="";for(let s=0;s<i;s++)if(n+=t[s],void 0!==r[s]){let t=e[s];t===ew?n+=er(r[s]):t===ek?n+=ex.transform(r[s]):n+=r[s]}return n}}let eA={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(en)?.length||0)+(t.match(eb)?.length||0)>0},parse:function(t){return eS(t).values},createTransformer:function(t){return eP(eS(t))},getAnimatableNone:function(t){let e=eS(t);return eP(e)(e.values.map((t,i)=>((t,e)=>"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof t?0:ex.test(t)?ex.getAnimatableNone(t):t)(t,e.split[i])))}},ej=new Set(["brightness","contrast","saturate","opacity"]);function eE(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[r]=i.match(en)||[];if(!r)return t;let n=i.replace(r,""),s=+!!ej.has(e);return r!==i&&(s*=100),e+"("+s+n+")"}let eM=/\b([a-z-]*)\(.*?\)/gu,eC={...eA,getAnimatableNone:t=>{let e=t.match(eM);return e?e.map(eE).join(" "):t}},eV={...eA,getAnimatableNone:t=>{let e=eA.parse(t);return eA.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},eD={...et,transform:Math.round},eR={borderWidth:ep,borderTopWidth:ep,borderRightWidth:ep,borderBottomWidth:ep,borderLeftWidth:ep,borderRadius:ep,borderTopLeftRadius:ep,borderTopRightRadius:ep,borderBottomRightRadius:ep,borderBottomLeftRadius:ep,width:ep,maxWidth:ep,height:ep,maxHeight:ep,top:ep,right:ep,bottom:ep,left:ep,inset:ep,insetBlock:ep,insetBlockStart:ep,insetBlockEnd:ep,insetInline:ep,insetInlineStart:ep,insetInlineEnd:ep,padding:ep,paddingTop:ep,paddingRight:ep,paddingBottom:ep,paddingLeft:ep,paddingBlock:ep,paddingBlockStart:ep,paddingBlockEnd:ep,paddingInline:ep,paddingInlineStart:ep,paddingInlineEnd:ep,margin:ep,marginTop:ep,marginRight:ep,marginBottom:ep,marginLeft:ep,marginBlock:ep,marginBlockStart:ep,marginBlockEnd:ep,marginInline:ep,marginInlineStart:ep,marginInlineEnd:ep,fontSize:ep,backgroundPositionX:ep,backgroundPositionY:ep,rotate:ec,rotateX:ec,rotateY:ec,rotateZ:ec,scale:ei,scaleX:ei,scaleY:ei,scaleZ:ei,skew:ec,skewX:ec,skewY:ec,distance:ep,translateX:ep,translateY:ep,translateZ:ep,x:ep,y:ep,z:ep,perspective:ep,transformPerspective:ep,opacity:ee,originX:ey,originY:ey,originZ:ep,zIndex:eD,fillOpacity:ee,strokeOpacity:ee,numOctaves:eD},eN={...eR,color:ex,backgroundColor:ex,outlineColor:ex,fill:ex,stroke:ex,borderColor:ex,borderTopColor:ex,borderRightColor:ex,borderBottomColor:ex,borderLeftColor:ex,filter:eC,WebkitFilter:eC,mask:eV,WebkitMask:eV},eL=t=>eN[t],eB=()=>({translate:0,scale:1,origin:0,originPoint:0}),eO=()=>({x:eB(),y:eB()}),ez=()=>({min:0,max:0}),eI=()=>({x:ez(),y:ez()}),eF=t=>!!(t&&t.getVelocity),eU=new Set(["width","height","top","left","right","bottom",...t9]),e$=t=>e=>e.test(t),eW=[et,ep,em,ec,eg,ef,{test:t=>"auto"===t,parse:t=>t}],eH=t=>eW.find(e$(t)),eG=()=>{},eY=()=>{};d.default;let eX=t=>e=>"string"==typeof e&&e.startsWith(t),e_=eX("--"),eK=eX("var(--"),eq=t=>!!eK(t)&&eZ.test(t.split("/*")[0].trim()),eZ=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function eJ(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let eQ=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,e0=t=>180*t/Math.PI,e1=t=>e2(e0(Math.atan2(t[1],t[0]))),e5={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:e1,rotateZ:e1,skewX:t=>e0(Math.atan(t[1])),skewY:t=>e0(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},e2=t=>((t%=360)<0&&(t+=360),t),e3=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),e6=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),e4={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:e3,scaleY:e6,scale:t=>(e3(t)+e6(t))/2,rotateX:t=>e2(e0(Math.atan2(t[6],t[5]))),rotateY:t=>e2(e0(Math.atan2(-t[2],t[0]))),rotateZ:e1,rotate:e1,skewX:t=>e0(Math.atan(t[4])),skewY:t=>e0(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function e9(t){return+!!t.includes("scale")}function e8(t,e){let i,r;if(!t||"none"===t)return e9(e);let n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(n)i=e4,r=n;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=e5,r=e}if(!r)return e9(e);let s=i[e],o=r[1].split(",").map(e7);return"function"==typeof s?s(o):o[s]}function e7(t){return parseFloat(t.trim())}let it=t=>t===et||t===ep,ie=new Set(["x","y","z"]),ii=t9.filter(t=>!ie.has(t)),ir={width:({x:t},{paddingLeft:e="0",paddingRight:i="0",boxSizing:r})=>{let n=t.max-t.min;return"border-box"===r?n:n-parseFloat(e)-parseFloat(i)},height:({y:t},{paddingTop:e="0",paddingBottom:i="0",boxSizing:r})=>{let n=t.max-t.min;return"border-box"===r?n:n-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})=>e8(e,"x"),y:(t,{transform:e})=>e8(e,"y")};ir.translateX=ir.x,ir.translateY=ir.y;let is=t=>t,io={},ia=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function il(t,e){let i=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,o=ia.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,r=new Set,n=!1,s=!1,o=new WeakSet,a={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){o.has(e)&&(d.schedule(e),t()),l++,e(a)}let d={schedule:(t,e=!1,s=!1)=>{let a=s&&n?i:r;return e&&o.add(t),a.add(t),t},cancel:t=>{r.delete(t),o.delete(t)},process:t=>{if(a=t,n){s=!0;return}n=!0;let o=i;
1i=r,r=o,i.forEach(u),e,l=0,i.clear(),n=!1,s&&(s=!1,d.process(t))}};return d}(s,e?i:void 0),t),{}),{setup:a,read:l,resolveKeyframes:u,preUpdate:d,update:h,preRender:c,render:m,postRender:p}=o,f=()=>{let s=io.useManualTiming,o=s?n.timestamp:performance.now();i=!1,s||(n.delta=r?1e3/60:Math.max(Math.min(o-n.timestamp,40),1)),n.timestamp=o,n.isProcessing=!0,a.process(n),l.process(n),u.process(n),d.process(n),h.process(n),c.process(n),m.process(n),p.process(n),n.isProcessing=!1,i&&e&&(r=!1,t(f))};return{schedule:ia.reduce((e,s)=>{let a=o[s];return e[s]=(e,s=!1,o=!1)=>(!i&&(i=!0,r=!0,n.isProcessing||t(f)),a.schedule(e,s,o)),e},{}),cancel:t=>{for(let e=0;e<ia.length;e++)o[ia[e]].cancel(t)},state:n,steps:o}}let{schedule:iu,cancel:id,state:ih,steps:ic}=il("u">typeof requestAnimationFrame?requestAnimationFrame:is,!0),im=new Set,ip=!1,ig=!1,iy=!1;function iv(){if(ig){let t=Array.from(im).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e,r=(e=[],ii.forEach(i=>{let r=t.getValue(i);void 0!==r&&(e.push([i,r.get()]),r.set(+!!i.startsWith("scale")))}),e);r.length&&(i.set(t,r),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)})}ig=!1,ip=!1,im.forEach(t=>t.complete(iy)),im.clear()}function ix(){im.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(ig=!0)})}class ib{constructor(t,e,i,r,n,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=r,this.element=n,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(im.add(this),ip||(ip=!0,iu.read(ix),iu.resolveKeyframes(iv))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:r}=this;if(null===t[0]){let n=r?.get(),s=t[t.length-1];if(void 0!==n)t[0]=n;else if(i&&e){let r=i.readValue(e,s);null!=r&&(t[0]=r)}void 0===t[0]&&(t[0]=s),r&&void 0===n&&r.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),im.delete(this)}cancel(){"scheduled"===this.state&&(im.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let iw=new Set([eC,eV]);function ik(t,e){let i=eL(t);return iw.has(i)||(i=eA),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let iT=new Set(["auto","none","0"]);class iS extends ib{constructor(t,e,i,r,n){super(t,e,i,r,n,!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 r=t[i];if("string"==typeof r&&eq(r=r.trim())){let n=function t(e,i,r=1){eY(r<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[n,s]=function(t){let e=eQ.exec(t);if(!e)return[,];let[,i,r,n]=e;return[`--${i??r}`,n]}(e);if(!n)return;let o=window.getComputedStyle(i).getPropertyValue(n);if(o){let t=o.trim();return/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t)?parseFloat(t):t}return eq(s)?t(s,i,r+1):s}(r,e.current);void 0!==n&&(t[i]=n),i===t.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!eU.has(i)||2!==t.length)return;let[r,n]=t,s=eH(r),o=eH(n);if(eJ(r)!==eJ(n)&&ir[i]){this.needsMeasurement=!0;return}if(s!==o)if(it(s)&&it(o))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else ir[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 r,n=0;for(;n<t.length&&!r;){let e=t[n];"string"==typeof e&&!iT.has(e)&&eS(e).values.length&&(r=t[n]),n++}if(r&&i)for(let n of e)t[n]=ik(i,r)}(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=ir[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let r=e[e.length-1];void 0!==r&&t.getValue(i,r).jump(r,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let r=t.getValue(e);r&&r.jump(this.measuredOrigin,!1);let n=i.length-1,s=i[n];i[n]=ir[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}let iP=t=>1e3*t;function iA(t,e){-1===t.indexOf(e)&&t.push(e)}function ij(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class iE{constructor(){this.subscriptions=[]}add(t){return iA(this.subscriptions,t),()=>ij(this.subscriptions,t)}notify(t,e,i){let r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](t,e,i);else for(let n=0;n<r;n++){let r=this.subscriptions[n];r&&r(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function iM(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}function iC(t){let e;return()=>(void 0===e&&(e=t()),e)}let iV={};function iD(t,e){let i=iC(t);return()=>iV[e]??i()}let iR=iD(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),iN=t=>null!==t;function iL(t,{repeat:e,repeatType:i="loop"},r,n=1){let s=t.filter(iN),o=n<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return o&&void 0!==r?r:s[o]}class iB{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 iO={layout:0,mainThread:0,waapi:0},iz=t=>Array.isArray(t)&&"number"==typeof t[0],iI=iD(()=>{try{document.createElement("div").animate({opacity:0}
1,{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),iF=(t,e,i=10)=>{let r="",n=Math.max(Math.round(e/i),2);for(let e=0;e<n;e++)r+=Math.round(1e4*t(e/(n-1)))/1e4+", ";return`linear(${r.substring(0,r.length-2)})`},iU=([t,e,i,r])=>`cubic-bezier(${t}, ${e}, ${i}, ${r})`,i$={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:iU([0,.65,.55,1]),circOut:iU([.55,0,1,.45]),backIn:iU([.31,.01,.66,-.59]),backOut:iU([.33,1.53,.69,.99])};function iW(t){return"function"==typeof t&&"applyToOptions"in t}class iH extends iB{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:i,keyframes:r,pseudoElement:n,allowFlatten:s=!1,finalKeyframe:o,onComplete:a}=t;this.isPseudoElement=!!n,this.allowFlatten=s,this.options=t,eY("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");const l=function({type:t,...e}){return iW(t)&&iI()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:r=0,duration:n=300,repeat:s=0,repeatType:o="loop",ease:a="easeOut",times:l}={},u){let d={[e]:i};l&&(d.offset=l);let h=function t(e,i){if(e)return"function"==typeof e?iI()?iF(e,i):"ease-out":iz(e)?iU(e):Array.isArray(e)?e.map(e=>t(e,i)||i$.easeOut):i$[e]}(a,n);Array.isArray(h)&&(d.easing=h);let c={delay:r,duration:n,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"};u&&(c.pseudoElement=u);let m=t.animate(d,c);return m}(e,i,r,l,n),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!n){let t=iL(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(t),iM(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=iP(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:r}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&iR())?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),i&&(this.animation.rangeEnd=i),is):r(this)}}let iG=new Set(["opacity","clipPath","filter","transform"]),{schedule:iY}=il(queueMicrotask,!1);function iX(){e=void 0}let i_={now:()=>(void 0===e&&i_.set(ih.isProcessing||io.useManualTiming?ih.timestamp:performance.now()),e),set:t=>{e=t,queueMicrotask(iX)}};class iK{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=i_.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=i_.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 iE);let i=this.events[t].add(e);return"change"===t?()=>{i(),iu.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 o&&o.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=i_.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}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 iq(t,e){return new iK(t,e)}let iZ=[...eW,ex,eA],iJ=new WeakMap;function iQ(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function i0(t){return"string"==typeof t||Array.isArray(t)}let i1=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],i5=["initial",...i1];function i2(t){return iQ(t.animate)||i5.some(e=>i0(t[e]))}function i3(t){return!!(i2(t)||t.variants)}let i6={current:null},i4={current:!1},i9="u">typeof window;function i8(t){let e=[{},{}];
1return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function i7(t,e,i,r){if("function"==typeof e){let[n,s]=i8(r);e=e(void 0!==i?i:t.custom,n,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[n,s]=i8(r);e=e(void 0!==i?i:t.custom,n,s)}return e}let rt=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],re={};class ri{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:r,skipAnimations:n,blockInitialAnimation:s,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=ib,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=i_.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,iu.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=r,this.skipAnimationsConfig=n,this.options=a,this.blockInitialAnimation=!!s,this.isControllingVariants=i2(e),this.isVariantNode=i3(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);const{willChange:d,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in h){const e=h[t];void 0!==l[t]&&eF(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,iJ.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:(i4.current||function(){if(i4.current=!0,i9)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>i6.current=t.matches;t.addEventListener("change",e),e()}else i6.current=!1}(),this.shouldReduceMotion=i6.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(),id(this.notifyUpdate),id(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&&iG.has(t)&&this.current instanceof HTMLElement){let{factory:i,keyframes:r,times:n,ease:s,duration:o}=e.accelerate,a=new iH({element:this.current,name:t,keyframes:r,times:n,ease:s,duration:iP(o)}),l=i(a);this.valueSubscriptions.set(t,()=>{l(),a.cancel()});return}let r=t8.has(t);r&&this.onBindTransform&&this.onBindTransform();let n=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&iu.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"u">typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{n(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in re){let e=re[t];if(!e)continue;let{isEnabled:i,Feature:r}=e;if(!this.features[t]&&r&&i(this.props)&&(this.features[t]=new r(this)),this.features[t]){let e=this.features[t];
1e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):eI()}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<rt.length;e++){let i=rt[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let r=t["on"+i];r&&(this.propEventSubscriptions[i]=this.on(i,r))}this.prevMotionValues=function(t,e,i){for(let r in e){let n=e[r],s=i[r];if(eF(n))t.addValue(r,n);else if(eF(s))t.addValue(r,iq(n,{owner:t}));else if(s!==n)if(t.hasValue(r)){let e=t.getValue(r);!0===e.liveStyle?e.jump(n):e.hasAnimated||e.set(n)}else{let e=t.getStaticValue(r);t.addValue(r,iq(void 0!==e?e:n,{owner:t}))}}for(let r in i)void 0===e[r]&&t.removeValue(r);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=iq(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 r,n;if("string"==typeof i&&(r=i,/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(r)||(n=i,/^0[^.\s]+$/u.test(n))))i=parseFloat(i);else{let r;r=i,!iZ.find(e$(r))&&eA.test(e)&&(i=ik(t,e))}this.setBaseTarget(t,eF(i)?i.get():i)}return eF(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 r=i7(this.props,i,this.presenceContext?.custom);r&&(e=r[t])}if(i&&void 0!==e)return e;let r=this.getBaseTargetFromProps(this.props,t);return void 0===r||eF(r)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:r}on(t,e){return this.events[t]||(this.events[t]=new iE),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){iY.render(this.render)}}class rr extends ri{constructor(){super(...arguments),this.KeyframeResolver=iS}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;eF(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function rn(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let rs=(t,e)=>e&&"number"==typeof t?e.transform(t):t,ro={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ra=t9.length;function rl(t,e,i){let{style:r,vars:n,transformOrigin:s}=t,o=!1,a=!1;for(let t in e){let i=e[t];if(t8.has(t)){o=!0;continue}if(e_(t)){n[t]=i;continue}{let e=rs(i,eR[t]);t.startsWith("origin")?(a=!0,s[t]=e):r[t]=e}}
1if(!e.transform&&(o||i?r.transform=function(t,e,i){let r="",n=!0;for(let s=0;s<ra;s++){let o=t9[s],a=t[o];if(void 0===a)continue;let l=!0;if("number"==typeof a)l=a===+!!o.startsWith("scale");else{let t=parseFloat(a);l=o.startsWith("scale")?1===t:0===t}if(!l||i){let t=rs(a,eR[o]);if(!l){n=!1;let e=ro[o]||o;r+=`${e}(${t}) `}i&&(e[o]=t)}}return r=r.trim(),i?r=i(e,n?"":r):n&&(r="none"),r}(e,t.transform,i):r.transform&&(r.transform="none")),a){let{originX:t="50%",originY:e="50%",originZ:i=0}=s;r.transformOrigin=`${t} ${e} ${i}`}}let ru={offset:"stroke-dashoffset",array:"stroke-dasharray"},rd={offset:"strokeDashoffset",array:"strokeDasharray"},rh=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function rc(t,{attrX:e,attrY:i,attrScale:r,pathLength:n,pathSpacing:s=1,pathOffset:o=0,...a},l,u,d){if(rl(t,a,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:h,style:c}=t;for(let t of(h.transform&&(c.transform=h.transform,delete h.transform),(c.transform||h.transformOrigin)&&(c.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),c.transform&&(c.transformBox=d?.transformBox??"fill-box",delete h.transformBox),rh))void 0!==h[t]&&(c[t]=h[t],delete h[t]);void 0!==e&&(h.x=e),void 0!==i&&(h.y=i),void 0!==r&&(h.scale=r),void 0!==n&&function(t,e,i=1,r=0,n=!0){t.pathLength=1;let s=n?ru:rd;t[s.offset]=`${-r}`,t[s.array]=`${e} ${i}`}(h,n,s,o,!1)}let rm=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"]),rp=t=>"string"==typeof t&&"svg"===t.toLowerCase();function rf(t,{style:e,vars:i},r,n){let s,o=t.style;for(s in e)o[s]=e[s];for(s in n?.applyProjectionStyles(o,r),i)o.setProperty(s,i[s])}function rg(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let ry={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!ep.test(t))return t;else t=parseFloat(t);let i=rg(t,e.target.x),r=rg(t,e.target.y);return`${i}% ${r}%`}},rv=(t,e,i)=>t+(e-t)*i,rx={borderRadius:{...ry,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ry,borderTopRightRadius:ry,borderBottomLeftRadius:ry,borderBottomRightRadius:ry,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let r=eA.parse(t);if(r.length>5)return t;let n=eA.createTransformer(t),s=+("number"!=typeof r[0]),o=i.x.scale*e.x,a=i.y.scale*e.y;r[0+s]/=o,r[1+s]/=a;let l=rv(o,a,.5);return"number"==typeof r[2+s]&&(r[2+s]/=l),"number"==typeof r[3+s]&&(r[3+s]/=l),n(r)}}};function rb(t,{layout:e,layoutId:i}){return t8.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!rx[t]||"opacity"===t)}function rw(t,e,i){let r=t.style,n=e?.style,s={};if(!r)return s;for(let e in r)(eF(r[e])||n&&eF(n[e])||rb(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(s[e]=r[e]);return s}function rk(t,e,i){let r=rw(t,e,i);for(let i in t)(eF(t[i])||eF(e[i]))&&(r[-1!==t9.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return r}class rT extends rr{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=eI}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(t8.has(e)){let t=eL(e);return t&&t.default||0}return e=rm.has(e)?e:rn(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return rk(t,e,i)}build(t,e,i){rc(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,r){for(let i in rf(t,e,void 0,r),e.attrs)t.setAttribute(rm.has(i)?i:rn(i),e.attrs[i])}mount(t){this.isSVGTag=rp(t.tagName),super.mount(t)}}function rS({top:t,left:e,right:i,bottom:r}){return{x:{min:e,max:i},y:{min:t,max:r}}}function rP(t){return void 0===t||1===t}function rA({scale:t,scaleX:e,scaleY:i}){return!rP(t)||!rP(e)||!rP(i)}function rj(t){return rA(t)||rE(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function rE(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function rM(t,e,i,r,n){return void 0!==n&&(t=r+n*(t-r)),r+i*(t-r)+e}function rC(t,e=0,i=1,r,n){t.min=rM(t.min,e,i,r,n),t.max=rM(t.max,e,i,r,n)}function rV(t,{x:e,y:i}){rC(t.x,e.translate,e.scale,e.originPoint),rC(t.y,i.translate,i.scale,i.originPoint)}function rD(t,e){t.min+=e,t.max+=e}function rR(t,e,i,r,n=.5){let s=rv(t.min,t.max,n);rC(t,e,i,s,r)}function rN(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function rL(t,e,i){let r=i??t;rR(t.x,rN(e.x,r.x),e.scaleX,e.scale,e.originX),rR(t.y,rN(e.y,r.y),e.scaleY,e.scale,e.originY)}function rB(t,e){return rS(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:r.y,right:r.x}}(t.getBoundingClientRect(),e))}class rO extends rr{constructor(){super(...arguments),this.type="html",this.renderInstance=rf}readValueFromInstance(t,e){if(t8.has(e))return this.projection?.isProjecting?e9(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return e8(i,e)})(t,e);
1{let i=window.getComputedStyle(t),r=(e_(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(t,{transformPagePoint:e}){return rB(t,e)}build(t,e,i){rl(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return rw(t,e,i)}}let rz=["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 rI(t){if("string"!=typeof t||t.includes("-"));else if(rz.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}let rF=(0,h.createContext)({}),rU=(0,h.createContext)({strict:!1}),r$=(0,h.createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),rW=(0,h.createContext)({});function rH(t){return Array.isArray(t)?t.join(" "):t}let rG=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function rY(t,e,i){for(let r in e)eF(e[r])||rb(r,i)||(t[r]=e[r])}let rX=()=>({...rG(),attrs:{}}),r_=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 rK(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||r_.has(t)}let rq=t=>!rK(t);try{a=(()=>{let t=Error("Cannot find module '@emotion/is-prop-valid'");throw t.code="MODULE_NOT_FOUND",t})().default,"function"==typeof a&&(rq=t=>t.startsWith("on")?!rK(t):a(t))}catch{}function rZ(t){return eF(t)?t.get():t}let rJ=(0,h.createContext)(null),rQ=t=>(e,i)=>{let r,n=(0,h.useContext)(rW),s=(0,h.useContext)(rJ),o=()=>(function({scrapeMotionValuesFromProps:t,createRenderState:e},i,r,n){return{latestValues:function(t,e,i,r){let n={},s=r(t,{});for(let t in s)n[t]=rZ(s[t]);let{initial:o,animate:a}=t,l=i2(t),u=i3(t);e&&u&&!l&&!1!==t.inherit&&(void 0===o&&(o=e.initial),void 0===a&&(a=e.animate));let d=!!i&&!1===i.initial,h=(d=d||!1===o)?a:o;if(h&&"boolean"!=typeof h&&!iQ(h)){let e=Array.isArray(h)?h:[h];for(let i=0;i<e.length;i++){let r=i7(t,e[i]);if(r){let{transitionEnd:t,transition:e,...i}=r;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=d?e.length-1:0;e=e[t]}null!==e&&(n[t]=e)}for(let e in t)n[e]=t[e]}}}return n}(i,r,n,t),renderState:e()}})(t,e,n,s);return i?o():(null===(r=(0,h.useRef)(null)).current&&(r.current=o()),r.current)},r0=rQ({scrapeMotionValuesFromProps:rw,createRenderState:rG}),r1=rQ({scrapeMotionValuesFromProps:rk,createRenderState:rX}),r5={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"]},r2=!1;function r3(){return!function(){if(r2)return;let t={};for(let e in r5)t[e]={isEnabled:t=>r5[e].some(e=>!!t[e])};re=t,r2=!0}(),re}let r6=Symbol.for("motionComponentSymbol"),r4="data-"+rn("framerAppearId"),r9=(0,h.createContext)({});function r8(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}let r7="u">typeof window?h.useLayoutEffect:h.useEffect;function nt(t,{forwardMotionProps:e=!1,type:i}={},r,n){r&&function(t){let e=r3();for(let i in t)e[i]={...e[i],...t[i]};re=e}(r);let s=i?"svg"===i:rI(t),o=s?r1:r0;function a(i,r){var a;let u,d,c,m={...(0,h.useContext)(r$),...i,layoutId:function({layoutId:t}){let e=(0,h.useContext)(rF).id;return e&&void 0!==t?e+"-"+t:t}(i)},{isStatic:p}=m,f=function(t){let{initial:e,animate:i}=function(t,e){if(i2(t)){let{initial:e,animate:i}=t;return{initial:!1===e||i0(e)?e:void 0,animate:i0(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,h.useContext)(rW));return(0,h.useMemo)(()=>({initial:e,animate:i}),[rH(e),rH(i)])}(i),g=o(i,p);if(!p&&"u">typeof window){(0,h.useContext)(rU).strict;let e=function(t){let{drag:e,layout:i}=r3();if(!e&&!i)return{};let r={...e,...i};return{MeasureLayout:e?.isEnabled(t)||i?.isEnabled(t)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}
1(m);u=e.MeasureLayout,f.visualElement=function(t,e,i,r,n,s){let{visualElement:o}=(0,h.useContext)(rW),a=(0,h.useContext)(rU),l=(0,h.useContext)(rJ),u=(0,h.useContext)(r$),d=u.reducedMotion,c=u.skipAnimations,m=(0,h.useRef)(null),p=(0,h.useRef)(!1);r=r||a.renderer,!m.current&&r&&(m.current=r(t,{visualState:e,parent:o,props:i,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:d,skipAnimations:c,isSVG:s}),p.current&&m.current&&(m.current.manuallyAnimateOnMount=!0));let f=m.current,g=(0,h.useContext)(r9);f&&!f.projection&&n&&("html"===f.type||"svg"===f.type)&&function(t,e,i,r){let{layoutId:n,layout:s,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u,layoutAnchor:d,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:n,layout:s,alwaysMeasureLayout:!!o||a&&r8(a),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:r,crossfade:h,layoutScroll:l,layoutRoot:u,layoutAnchor:d})}(m.current,i,n,g);let y=(0,h.useRef)(!1);(0,h.useInsertionEffect)(()=>{f&&y.current&&f.update(i,l)});let v=i[r4],x=(0,h.useRef)(!!v&&"u">typeof window&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return r7(()=>{p.current=!0,f&&(y.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),x.current&&f.animationState&&f.animationState.animateChanges())}),(0,h.useEffect)(()=>{f&&(!x.current&&f.animationState&&f.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),x.current=!1),f.enteringChildren=void 0)}),f}(t,g,m,n,e.ProjectionNode,s)}return(0,l.jsxs)(rW.Provider,{value:f,children:[u&&f.visualElement?(0,l.jsx)(u,{visualElement:f.visualElement,...m}):null,function(t,e,i,{latestValues:r},n,s=!1,o){let a=(o??rI(t)?function(t,e,i,r){let n=(0,h.useMemo)(()=>{let i=rX();return rc(i,e,rp(r),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};rY(e,t.style,t),n.style={...e,...n.style}}return n}:function(t,e){let i,r,n={},s=(i=t.style||{},rY(r={},i,t),Object.assign(r,function({transformTemplate:t},e){return(0,h.useMemo)(()=>{let i=rG();return rl(i,e,t),Object.assign({},i.vars,i.style)},[e])}(t,e)),r);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=!0===t.drag?"none":`pan-${"x"===t.drag?"y":"x"}`),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n})(e,r,n,t),l=function(t,e,i){let r={};for(let n in t)("values"!==n||"object"!=typeof t.values)&&!eF(t[n])&&(rq(n)||!0===i&&rK(n)||!e&&!rK(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}(e,"string"==typeof t,s),u=t!==h.Fragment?{...l,...a,ref:i}
1:{},{children:d}=e,c=(0,h.useMemo)(()=>eF(d)?d.get():d,[d]);return(0,h.createElement)(t,{...u,children:c})}(t,i,(a=f.visualElement,d=(0,h.useRef)(r),(0,h.useInsertionEffect)(()=>{d.current=r}),c=(0,h.useRef)(null),(0,h.useCallback)(t=>{t&&g.onMount?.(t);let e=d.current;if("function"==typeof e)if(t){let i=e(t);"function"==typeof i&&(c.current=i)}else c.current?(c.current(),c.current=null):e(t);else e&&(e.current=t);a&&(t?a.mount(t):a.unmount())},[a])),g,p,e,s)]})}a.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;let u=(0,h.forwardRef)(a);return u[r6]=t,u}class ne{constructor(t){this.isMounted=!1,this.node=t}update(){}}function ni(t,e,i){let r=t.getProps();return i7(r,e,void 0!==i?i:r.custom,t)}function nr(t,e){if(t?.inherit&&e){let{inherit:i,...r}=t;return{...e,...r}}return t}function nn(t,e){let i=t?.[e]??t?.default??t;return i!==t?nr(i,t):i}let ns=t=>Array.isArray(t);function no(t,e){let i=t.getValue("willChange");if(eF(i)&&i.add)return i.add(e);if(!i&&io.WillChange){let i=new io.WillChange("auto");t.addValue("willChange",i),i.add(e)}}let na=(t,e)=>i=>e(t(i)),nl=(...t)=>t.reduce(na);function nu(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 nd(t,e){return i=>i>0?e:t}let nh=(t,e,i)=>{let r=t*t,n=i*(e*e-r)+r;return n<0?0:Math.sqrt(n)},nc=[ed,eu,ev];function nm(t){let e=nc.find(e=>e.test(t));if(eG(!!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===ev&&(i=function({hue:t,saturation:e,lightness:i,alpha:r}){t/=360,i/=100;let n=0,s=0,o=0;if(e/=100){let r=i<.5?i*(1+e):i+e-i*e,a=2*i-r;n=nu(a,r,t+1/3),s=nu(a,r,t),o=nu(a,r,t-1/3)}else n=s=o=i;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:r}}(i)),i}let np=(t,e)=>{let i=nm(t),r=nm(e);if(!i||!r)return nd(t,e);let n={...i};return t=>(n.red=nh(i.red,r.red,t),n.green=nh(i.green,r.green,t),n.blue=nh(i.blue,r.blue,t),n.alpha=rv(i.alpha,r.alpha,t),eu.transform(n))},nf=new Set(["none","hidden"]);function ng(t,e){return i=>rv(t,e,i)}function ny(t){return"number"==typeof t?ng:"string"==typeof t?eq(t)?nd:ex.test(t)?np:nb:Array.isArray(t)?nv:"object"==typeof t?ex.test(t)?np:nx:nd}function nv(t,e){let i=[...t],r=i.length,n=t.map((t,i)=>ny(t)(t,e[i]));return t=>{for(let e=0;e<r;e++)i[e]=n[e](t);return i}}function nx(t,e){let i={...t,...e},r={};for(let n in i)void 0!==t[n]&&void 0!==e[n]&&(r[n]=ny(t[n])(t[n],e[n]));return t=>{for(let e in r)i[e]=r[e](t);return i}}let nb=(t,e)=>{let i=eA.createTransformer(e),r=eS(t),n=eS(e);if(!(r.indexes.var.length===n.indexes.var.length&&r.indexes.color.length===n.indexes.color.length&&r.indexes.number.length>=n.indexes.number.length))return eG(!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"),nd(t,e);if(nf.has(t)&&!n.values.length||nf.has(e)&&!r.values.length)return nf.has(t)?i=>i<=0?t:e:i=>i>=1?e:t;return nl(nv(function(t,e){let i=[],r={color:0,var:0,number:0};for(let n=0;n<e.values.length;n++){let s=e.types[n],o=t.indexes[s][r[s]],a=t.values[o]??0;i[n]=a,r[s]++}return i}(r,n),n.values),i)};function nw(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?rv(t,e,i):ny(t)(t,e)}let nk=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>iu.update(e,t),stop:()=>id(e),now:()=>ih.isProcessing?ih.timestamp:i_.now()}};function nT(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 nS=.01,nP=2,nA=.005,nj=.5;function nE(t,e){return t*Math.sqrt(1-e*e)}let nM=["duration","bounce"],nC=["stiffness","damping","mass"];function nV(t,e){return e.some(e=>void 0!==t[e])}function nD(t=.3,e=.3){let i,r,n,s,o,a,l="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:u,restDelta:d}=l,h=l.keyframes[0],c=l.keyframes[l.keyframes.length-1],m={done:!1,value:h},{stiffness:p,damping:f,mass:g,duration:y,velocity:v,isResolvedFromDuration:x}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!nV(t,nC)&&nV(t,nM))if(e.velocity=0,t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),r=i*i,n=2*t7(.05,1,1-(t.bounce||0))*Math.sqrt(r);e={...e,mass:1,stiffness:r,damping:n}}else{let i=function({duration:t=800,bounce:e=.3,velocity:i=0,mass:r=1}){let n,s;eG(t<=iP(10),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=t7(.05,1,o),t=t7(.01,10,t/1e3),o<1?(n=e=>{let r=e*o,n=r*t;return .001-(r-i)/nE(e,o)*Math.exp(-n)},s=e=>{let r=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-r),l=nE(Math.pow(e,2),o);return(r*i+i-s)*a*(-n(e)+.001>0?-1:1)/l}):(n=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));
1let a=function(t,e,i){let r=i;for(let i=1;i<12;i++)r-=t(r)/e(r);return r}(n,s,5/t);if(t=iP(t),isNaN(a))return{stiffness:100,damping:10,duration:t};{let e=Math.pow(a,2)*r;return{stiffness:e,damping:2*o*Math.sqrt(r*e),duration:t}}}({...t,velocity:0});(e={...e,...i,mass:1}).isResolvedFromDuration=!0}return e}({...l,velocity:-((l.velocity||0)/1e3)}),b=v||0,w=f/(2*Math.sqrt(p*g)),k=c-h,T=Math.sqrt(p/g)/1e3,S=5>Math.abs(k);if(u||(u=S?nS:nP),d||(d=S?nA:nj),w<1)n=nE(T,w),s=(b+w*T*k)/n,i=t=>c-Math.exp(-w*T*t)*(s*Math.sin(n*t)+k*Math.cos(n*t)),o=w*T*s+k*n,a=w*T*k-s*n,r=t=>Math.exp(-w*T*t)*(o*Math.sin(n*t)+a*Math.cos(n*t));else if(1===w){i=t=>c-Math.exp(-T*t)*(k+(b+T*k)*t);let t=b+T*k;r=e=>Math.exp(-T*e)*(T*t*e-b)}else{let t=T*Math.sqrt(w*w-1);i=e=>{let i=Math.exp(-w*T*e),r=Math.min(t*e,300);return c-i*((b+w*T*k)*Math.sinh(r)+t*k*Math.cosh(r))/t};let e=(b+w*T*k)/t,n=w*T*e-k*t,s=w*T*k-e*t;r=e=>{let i=Math.exp(-w*T*e),r=Math.min(t*e,300);return i*(n*Math.sinh(r)+s*Math.cosh(r))}}let P={calculatedDuration:x&&y||null,velocity:t=>iP(r(t)),next:t=>{if(!x&&w<1){let e=Math.exp(-w*T*t),i=Math.sin(n*t),r=Math.cos(n*t),l=c-e*(s*i+k*r);return m.done=Math.abs(iP(e*(o*i+a*r)))<=u&&Math.abs(c-l)<=d,m.value=m.done?c:l,m}let e=i(t);return x?m.done=t>=y:m.done=Math.abs(iP(r(t)))<=u&&Math.abs(c-e)<=d,m.value=m.done?c:e,m},toString:()=>{let t=Math.min(nT(P),2e4),e=iF(e=>P.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return P}function nR(t,e,i){var r,n;let s=Math.max(e-5,0);return r=i-t(s),(n=e-s)?1e3/n*r:0}function nN({keyframes:t,velocity:e=0,power:i=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:d}){let h,c,m=t[0],p={done:!1,value:m},f=i*e,g=m+f,y=void 0===o?g:o(g);y!==g&&(f=y-m);let v=t=>-f*Math.exp(-t/r),x=t=>y+v(t),b=t=>{let e=v(t),i=x(t);p.done=Math.abs(e)<=u,p.value=p.done?y:i},w=t=>{let e;if(e=p.value,void 0!==a&&e<a||void 0!==l&&e>l){var i;h=t,c=nD({keyframes:[p.value,(i=p.value,void 0===a?l:void 0===l||Math.abs(a-i)<Math.abs(l-i)?a:l)],velocity:nR(x,t,p.value),damping:n,stiffness:s,restDelta:u,restSpeed:d})}};return w(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==h||(e=!0,b(t),w(t)),void 0!==h&&t>=h)?c.next(t-h):(e||b(t),p)}}}nD.applyToOptions=t=>{let e=function(t,e=100,i){let r=i({...t,keyframes:[0,e]}),n=Math.min(nT(r),2e4);return{type:"keyframes",ease:t=>r.next(n*t).value/e,duration:n/1e3}}(t,100,nD);return t.ease=e.ease,t.duration=iP(e.duration),t.type="keyframes",t};let nL=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function nB(t,e,i,r){return t===e&&i===r?is:n=>0===n||1===n?n:nL(function(t,e,i,r,n){let s,o,a=0;do(s=nL(o=e+(i-e)/2,r,n)-t)>0?i=o:e=o;while(Math.abs(s)>1e-7&&++a<12)return o}(n,0,1,t,i),e,r)}let nO=nB(.42,0,1,1),nz=nB(0,0,.58,1),nI=nB(.42,0,.58,1),nF=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,nU=t=>e=>1-t(1-e),n$=nB(.33,1.53,.69,.99),nW=nU(n$),nH=nF(nW),nG=t=>t>=1?1:(t*=2)<1?.5*nW(t):.5*(2-Math.pow(2,-10*(t-1))),nY=t=>1-Math.sin(Math.acos(t)),nX=nU(nY),n_=nF(nY),nK={linear:is,easeIn:nO,easeInOut:nI,easeOut:nz,circIn:nY,circInOut:n_,circOut:nX,backIn:nW,backInOut:nH,backOut:n$,anticipate:nG},nq=t=>{if(iz(t)){eY(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,r,n]=t;return nB(e,i,r,n)}return"string"==typeof t?(eY(void 0!==nK[t],`Invalid easing type '${t}'`,"invalid-easing-type"),nK[t]):t},nZ=(t,e,i)=>{let r=e-t;return 0===r?1:(i-t)/r};function nJ({duration:t=300,keyframes:e,times:i,ease:r="easeInOut"}){var n;let s,o=Array.isArray(r)&&"number"!=typeof r[0]?r.map(nq):nq(r),a={done:!1,value:e[0]},l=function(t,e,{clamp:i=!0,ease:r,mixer:n}={}){let s=t.length;if(eY(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let a=function(t,e,i){let r=[],n=i||io.mix||nw,s=t.length-1;for(let i=0;i<s;i++){let s=n(t[i],t[i+1]);e&&(s=nl(Array.isArray(e)?e[i]||is:e,s)),r.push(s)}return r}(e,r,n),l=a.length,u=i=>{if(o&&i<t[0])return e[0];let r=0;if(l>1)for(;r<t.length-2&&!(i<t[r+1]);r++);let n=nZ(t[r],t[r+1],i);return a[r](n)};return i?e=>u(t7(t[0],t[s-1],e)):u}
1((n=i&&i.length===e.length?i:(!function(t,e){let i=t[t.length-1];for(let r=1;r<=e;r++){let n=nZ(0,e,r);t.push(rv(i,1,n))}}(s=[0],e.length-1),s),n.map(e=>e*t)),e,{ease:Array.isArray(o)?o:e.map(()=>o||nI).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(a.value=l(e),a.done=e>=t,a)}}let nQ={decay:nN,inertia:nN,tween:nJ,keyframes:nJ,spring:nD};function n0(t){"string"==typeof t.type&&(t.type=nQ[t.type])}let n1=t=>t/100;class n5 extends iB{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!==i_.now()&&this.tick(i_.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},iO.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;n0(t);let{type:e=nJ,repeat:i=0,repeatDelay:r=0,repeatType:n,velocity:s=0}=t,{keyframes:o}=t,a=e||nJ;a!==nJ&&"number"!=typeof o[0]&&(this.mixKeyframes=nl(n1,nw(o[0],o[1])),o=[0,100]);let l=a({...t,keyframes:o});"mirror"===n&&(this.mirroredGenerator=a({...t,keyframes:[...o].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=nT(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+r,this.totalDuration=this.resolvedDuration*(i+1)-r,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:r,totalDuration:n,mixKeyframes:s,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return r.next(0);let{delay:u=0,keyframes:d,repeat:h,repeatType:c,repeatDelay:m,type:p,onUpdate:f,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let y=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>n;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let x=this.currentTime,b=r;if(h){let t=Math.min(this.currentTime,n)/a,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,h+1))%2&&("reverse"===c?(i=1-i,m&&(i-=m/a)):"mirror"===c&&(b=o)),x=t7(0,1,i)*a}v?(this.delayState.value=d[0],i=this.delayState):i=b.next(x),s&&!v&&(i.value=s(i.value));let{done:w}=i;v||null===l||(w=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return k&&p!==nN&&(i.value=iL(d,this.options,g,this.speed)),f&&f(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=iP(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 nR(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(i_.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=nk,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(i_.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,iO.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 n2={anticipate:nG,backInOut:nH,circInOut:n_};class n3 extends iH{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in n2&&(t.ease=n2[t.ease])}(t),n0(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:r,element:n,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new n5({...s,autoplay:!1}),a=Math.max(10,i_.now()-this.startTime),l=t7(0,10,a-10),u=o.sample(a).value,{name:d}=this.options;n&&d&&iM(n,d,u),e.setWithVelocity(o.sample(Math.max(0,a-l)).value,u,l),o.stop()}}let n6=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(eA.test(t)||"0"===t)&&!t.startsWith("url("));function n4(t){t.duration=0,t.type="keyframes"}let n9=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/,n8=new Set(["color","backgroundColor","outlineColor","fill","stroke","borderColor","borderTopColor","borderRightColor","borderBottomColor","borderLeftColor"]),n7=iC(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class st extends iB{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:r=0,repeatDelay:n=0,repeatType:s="loop",keyframes:o,name:a,motionValue:l,element:u,...d}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=i_.now();const h={autoplay:t,delay:e,type:i,repeat:r,repeatDelay:n,repeatType:s,name:a,motionValue:l,element:u,...d},c=u?.KeyframeResolver||ib;this.keyframeResolver=new c(o,(t,e,i)=>this.onKeyframesResolved(t,e,h,!i),a,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,r){let n;this.keyframeResolver=void 0;let{name:s,type:o,velocity:a,delay:l,isHandoff:u,onUpdate:d}=i;this.resolvedAt=i_.now();let h=!0;
1!function(t,e,i,r){let n=t[0];if(null===n)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],o=n6(n,e),a=n6(s,e);return eG(o===a,`You are trying to animate ${e} from "${n}" to "${s}". "${o?s:n}" 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||iW(i))&&r)}(t,s,o,a)&&(h=!1,(io.instantAnimations||!l)&&d?.(iL(t,i,e)),t[0]=t[t.length-1],n4(i),i.repeat=0);let c={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},m=h&&!u&&function(t){let{motionValue:e,name:i,repeatDelay:r,repeatType:n,damping:s,type:o,keyframes:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:l,transformTemplate:u}=e.owner.getProps();return n7()&&i&&(iG.has(i)||n8.has(i)&&function(t){for(let e=0;e<t.length;e++)if("string"==typeof t[e]&&n9.test(t[e]))return!0;return!1}(a))&&("transform"!==i||!u)&&!l&&!r&&"mirror"!==n&&0!==s&&"inertia"!==o}(c),p=c.motionValue?.owner?.current;if(m)try{n=new n3({...c,element:p})}catch{n=new n5(c)}else n=new n5(c);n.finished.then(()=>{this.notifyFinished()}).catch(is),this.pendingTimeline&&(this.stopTimeline=n.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=n}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(),iy=!0,ix(),iv(),iy=!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 se={type:"spring",stiffness:500,damping:25,restSpeed:10},si={type:"keyframes",duration:.8},sr={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},sn=new Set(["when","delay","delayChildren","staggerChildren","staggerDirection","repeat","repeatType","repeatDelay","from","elapsed"]),ss=(t,e,i,r={},n,s)=>o=>{let a=nn(r,t)||{},l=a.delay||r.delay||0,{elapsed:u=0}=r;u-=iP(l);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:t=>{e.set(t),a.onUpdate&&a.onUpdate(t)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:s?void 0:n};!function(t){for(let e in t)if(!sn.has(e))return!0;return!1}(a)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?si:t8.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:se:sr)(t,d)),d.duration&&(d.duration=iP(d.duration)),d.repeatDelay&&(d.repeatDelay=iP(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let h=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(n4(d),0===d.delay&&(h=!0)),(io.instantAnimations||io.skipAnimations||n?.shouldSkipAnimations)&&(h=!0,n4(d),d.delay=0),d.allowFlatten=!a.type&&!a.ease,h&&!s&&void 0!==e.get()){let t=iL(d.keyframes,a);if(void 0!==t)return void iu.update(()=>{d.onUpdate(t),d.onComplete()})}return a.isSync?new n5(d):new st(d)};function so(t,e,{delay:i=0,transitionOverride:r,type:n}={}){let{transition:s,transitionEnd:o,...a}=e,l=t.getDefaultTransition();s=s?nr(s,l):l;let u=s?.reduceMotion;r&&(s=r);let d=[],h=n&&t.animationState&&t.animationState.getState()[n];for(let e in a){let r=t.getValue(e,t.latestValues[e]??null),n=a[e];if(void 0===n||h&&function({protectedKeys:t,needsAnimating:e},i){let r=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,r}(h,e))continue;let o={delay:i,...nn(s||{},e)},l=r.get();if(void 0!==l&&!r.isAnimating()&&!Array.isArray(n)&&n===l&&!o.velocity){iu.update(()=>r.set(n));continue}let c=!1;if(window.MotionHandoffAnimation){let i=t.props[r4];if(i){let t=window.MotionHandoffAnimation(i,e,iu);null!==t&&(o.startTime=t,c=!0)}}no(t,e);let m=u??t.shouldReduceMotion;r.start(ss(e,r,n,m&&eU.has(e)?{type:!1}:o,t,c));let p=r.animation;p&&d.push(p)}if(o){let e=()=>iu.update(()=>{o&&function(t,e){let{transitionEnd:i={},transition:r={},...n}=ni(t,e)||{};for(let e in n={...n,...i}){var s;let i=ns(s=n[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,iq(i))}}(t,o)});d.length?Promise.all(d).then(e):e()}return d}function sa(t,e,i,r=0,n=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),o=t.size,a=(o-1)*r;return"function"==typeof i?i(s,o):1===n?s*r:a-s*r}function sl(t,e,i={}){let r=ni(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:n=t.getDefaultTransition()||{}}=r||{};i.transitionOverride&&(n=i.transitionOverride);let s=r?()=>Promise.all(so(t,r,i)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(r=0)=>{let{delayChildren:s=0,staggerChildren:o,staggerDirection:a}=n;
1return function(t,e,i=0,r=0,n=0,s=1,o){let a=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),a.push(sl(l,e,{...o,delay:i+("function"==typeof r?0:r)+sa(t.variantChildren,l,r,n,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,r,s,o,a,i)}:()=>Promise.resolve(),{when:a}=n;if(!a)return Promise.all([s(),o(i.delay)]);{let[t,e]="beforeChildren"===a?[s,o]:[o,s];return t().then(()=>e())}}let su=i5.length;function sd(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let r=0;r<i;r++)if(e[r]!==t[r])return!1;return!0}let sh=[...i1].reverse(),sc=i1.length;function sm(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function sp(){return{animate:sm(!0),whileInView:sm(),whileHover:sm(),whileTap:sm(),whileDrag:sm(),whileFocus:sm(),exit:sm()}}let sf=0;function sg(t){return[t("x"),t("y")]}function sy(t,e,i,r={passive:!0}){return t.addEventListener(e,i,r),()=>t.removeEventListener(e,i)}let sv={x:!1,y:!1};function sx(t){return t.max-t.min}function sb(t,e,i,r=.5){t.origin=r,t.originPoint=rv(e.min,e.max,t.origin),t.scale=sx(i)/sx(e),t.translate=rv(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 sw(t,e,i,r){sb(t.x,e.x,i.x,r?r.originX:void 0),sb(t.y,e.y,i.y,r?r.originY:void 0)}function sk(t,e,i,r=0){t.min=(r?rv(i.min,i.max,r):i.min)+e.min,t.max=t.min+sx(e)}function sT(t,e,i,r=0){let n=r?rv(i.min,i.max,r):i.min;t.min=e.min-n,t.max=t.min+sx(e)}function sS(t,e,i,r){sT(t.x,e.x,i.x,r?.x),sT(t.y,e.y,i.y,r?.y)}function sP(t){return"object"==typeof t&&null!==t}function sA(t){return sP(t)&&"ownerSVGElement"in t}function sj(t,e,i){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let r=document;e&&(r=e.current);let n=i?.[t]??r.querySelectorAll(t);return n?Array.from(n):[]}return Array.from(t).filter(t=>null!=t)}let sE=new WeakMap,sM=(t,e,i)=>(r,n)=>n&&n[0]?n[0][t+"Size"]:sA(r)&&"getBBox"in r?r.getBBox()[e]:r[i],sC=sM("inline","width","offsetWidth"),sV=sM("block","height","offsetHeight");function sD({target:t,borderBoxSize:e}){sE.get(t)?.forEach(i=>{i(t,{get width(){return sC(t,e)},get height(){return sV(t,e)}})})}function sR(t){t.forEach(sD)}let sN=new Set;function sL(t,e){let n;return"function"==typeof t?(sN.add(t),r||(r=()=>{let t={get width(){return window.innerWidth},get height(){return window.innerHeight}};sN.forEach(e=>e(t))},window.addEventListener("resize",r)),()=>{sN.delete(t),sN.size||"function"!=typeof r||(window.removeEventListener("resize",r),r=void 0)}):(!i&&"u">typeof ResizeObserver&&(i=new ResizeObserver(sR)),(n=sj(t)).forEach(t=>{let r=sE.get(t);r||(r=new Set,sE.set(t,r)),r.add(e),i?.observe(t)}),()=>{n.forEach(t=>{let r=sE.get(t);r?.delete(e),r?.size||i?.unobserve(t)})})}let sB=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),sO=new Set(["INPUT","SELECT","TEXTAREA"]),sz=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function sI(t){return{point:{x:t.pageX,y:t.pageY}}}function sF(t,e,i,r){return sy(t,e,t=>sz(t)&&i(t,sI(t)),r)}let sU=({current:t})=>t?t.ownerDocument.defaultView:null,s$=(t,e)=>Math.abs(t-e),sW=new Set(["auto","scroll"]);class sH{constructor(t,e,{transformPagePoint:i,contextWindow:r=window,dragSnapToOrigin:n=!1,distanceThreshold:s=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=sG(this.lastRawMoveEventInfo,this.transformPagePoint));let i=sX(this.lastMoveEventInfo,this.history),r=null!==this.startEvent,n=(t=i.offset,e={x:0,y:0},Math.sqrt(s$(t.x,e.x)**2+s$(t.y,e.y)**2)>=this.distanceThreshold);if(!r&&!n)return;let{point:s}=i,{timestamp:o}=ih;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;r||(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=sG(e,this.transformPagePoint),iu.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:r,resumeAnimation:n}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=sX("pointercancel"===t.type?this.lastMoveEventInfo:sG(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),r&&r(t,s)},!sz(t))return;this.dragSnapToOrigin=n,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=r||window;const a=sG(sI(t),this.transformPagePoint),{point:l}=a,{timestamp:u}=ih;this.history=[{...l,timestamp:u}];const{onSessionStart:d}=e;d&&d(t,sX(a,this.history)),this.removeListeners=nl(sF(this.contextWindow,"pointermove",this.handlePointerMove),sF(this.contextWindow,"pointerup",this.handlePointerUp),sF(this.contextWindow,"pointercancel",this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(sW.has(t.overflowX)||sW.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,r=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},n={x:r.x-e.x,y:r.y-e.y};(0!==n.x||0!==n.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=n.x,this.lastMoveEventInfo.point.y+=n.y):this.history.length>0&&(this.history[0].x-=n.x,this.history[0].y-=n.y),this.scrollPositions.set(t,r),iu.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),id(this.updatePoint)}}function sG(t,e){return e?{point:e(t.point)}:t}function sY(t,e){return{x:t.x-e.x,y:t.y-e.y}}function sX({point:t},e){return{point:t,delta:sY(t,s_(e)),offset:sY(t,e[0]),velocity:function(t){if(t.length<2)return{x:0,y:0};let e=t.length-1,i=null,r=s_(t);for(;e>=0&&(i=t[e],!(r.timestamp-i.timestamp>iP(.1)));)e--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&r.timestamp-i.timestamp>2*iP(.1)&&(i=t[1]);let n=(r.timestamp-i.timestamp)/1e3;if(0===n)return{x:0,y:0};let s={x:(r.x-i.x)/n,y:(r.y-i.y)/n};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}(e)}}function s_(t){return t[t.length-1]}function sK(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 sq(t,e){let i=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,r]=[r,i]),{min:i,max:r}}
1function sZ(t,e,i){return{min:sJ(t,e),max:sJ(t,i)}}function sJ(t,e){return"number"==typeof t?t:t[e]||0}let sQ=new WeakMap;class s0{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=eI(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let n=t=>{e&&this.snapToCursor(sI(t).point),this.stopAnimation()},s=(t,e)=>{let{drag:i,dragPropagation:r,onDragStart:n}=this.getProps();if(i&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(sv[t])return null;else return sv[t]=!0,()=>{sv[t]=!1};return sv.x||sv.y?null:(sv.x=sv.y=!0,()=>{sv.x=sv.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),sg(t=>{let e=this.getAxisMotionValue(t).get()||0;if(em.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let r=i.layout.layoutBox[t];r&&(e=sx(r)*(parseFloat(e)/100))}}this.originPoint[t]=e}),n&&iu.update(()=>n(t,e),!1,!0),no(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:r,onDirectionLock:n,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:o}=e;if(r&&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&&n&&n(this.currentDirection);return}this.updateAxis("x",e.point,o),this.updateAxis("y",e.point,o),this.visualElement.render(),s&&iu.update(()=>s(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 sH(t,{onSessionStart:n,onStart:s,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:sU(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,r=e||this.latestPanInfo,n=this.isDragging;if(this.cancel(),!n||!r||!i)return;let{velocity:s}=r;this.startAnimation(s);let{onDragEnd:o}=this.getProps();o&&iu.postRender(()=>o(i,r))}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:r}=this.getProps();if(!i||!s5(t,r,this.currentDirection))return;let n=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},r){return void 0!==e&&t<e?t=r?rv(e,t,r.min):Math.max(t,e):void 0!==i&&t>i&&(t=r?rv(i,t,r.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),n.set(s)}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,r=this.constraints;t&&r8(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:r,right:n}){return{x:sK(t.x,i,n),y:sK(t.y,e,r)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:sZ(t,"left","right"),y:sZ(t,"top","bottom")}}(e),r!==this.constraints&&!r8(t)&&i&&this.constraints&&!this.hasMutatedConstraints&&sg(t=>{var e,r;let n;!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=(e=i.layoutBox[t],r=this.constraints[t],n={},void 0!==r.min&&(n.min=r.min-e.min),void 0!==r.max&&(n.max=r.max-e.min),n))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!r8(e))return!1;let r=e.current;eY(null!==r,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;
1let s=function(t,e,i){let r=rB(t,i),{scroll:n}=e;return n&&(rD(r.x,n.offset.x),rD(r.y,n.offset.y)),r}(r,n.root,this.visualElement.getTransformPagePoint()),o=(t=n.layout.layoutBox,{x:sq(t.x,s.x),y:sq(t.y,s.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=rS(t))}return o}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:r,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(sg(o=>{if(!s5(o,e,this.currentDirection))return;let l=a&&a[o]||{};(!0===s||s===o)&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[o]:0,bounceStiffness:r?200:1e6,bounceDamping:r?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return no(this.visualElement,t),i.start(ss(t,i,0,e,this.visualElement,!1))}stopAnimation(){sg(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){sg(e=>{let{drag:i}=this.getProps();if(!s5(e,i,this.currentDirection))return;let{projection:r}=this.visualElement,n=this.getAxisMotionValue(e);if(r&&r.layout){let{min:i,max:s}=r.layout.layoutBox[e],o=n.get()||0;n.set(t[e]-rv(i,s,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!r8(e)||!i||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};sg(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){var i,n;let s,o,a,l=e.get();r[t]=(i={min:l,max:l},n=this.constraints[t],s=.5,o=sx(i),(a=sx(n))>o?s=nZ(n.min,n.max-o,i.min):o>a&&(s=nZ(i.min,i.max-a,n.min)),t7(0,1,s))}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.constraints=!1,this.resolveConstraints(),sg(e=>{if(!s5(e,t,null))return;let i=this.getAxisMotionValue(e),{min:n,max:s}=this.constraints[e];i.set(rv(n,s,r[e]))}),this.visualElement.render()}addListeners(){let t;if(!this.visualElement.current)return;sQ.set(this.visualElement,this);let e=this.visualElement.current,i=sF(e,"pointerdown",t=>{let{drag:i,dragListener:r=!0}=this.getProps(),n=t.target,s=n!==e&&(sO.has(n.tagName)||!0===n.isContentEditable);i&&r&&!s&&this.start(t)}),r=()=>{var i,r,n;let s,o,{dragConstraints:a}=this.getProps();r8(a)&&a.current&&(this.constraints=this.resolveRefConstraints(),t||(i=e,r=a.current,s=sL(i,s1(n=()=>this.scalePositionWithinConstraints())),o=sL(r,s1(n)),t=()=>{s(),o()}))},{projection:n}=this.visualElement,s=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),iu.read(r);let o=sy(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(sg(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(),s(),a&&a(),t&&t()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:r=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:r,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function s1(t){let e=!0;return()=>{if(e){e=!1;return}t()}}function s5(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}let s2=t=>(e,i)=>{t&&iu.update(()=>t(e,i),!1,!0)},s3={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var s6=h;let s4=!1;class s9 extends s6.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:r}=this.props,{projection:n}=t;n&&(e.group&&e.group.add(n),i&&i.register&&r&&i.register(n),s4&&n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),s3.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:r,isPresent:n}=this.props,{projection:s}=i;return s&&(s.isPresent=n,t.layoutDependency!==e&&s.setOptions({...s.options,layoutDependency:e}),s4=!0,r||t.layoutDependency!==e||void 0===e||t.isPresent!==n?s.willUpdate():this.safeToRemove(),t.isPresent!==n&&(n?s.promote():s.relegate()||iu.postRender(()=>{let t=s.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(),iY.postRender(()=>{!i.currentAnimation&&i.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:r}=t;s4=!0,r&&(r.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(r),i&&i.deregister&&i.deregister(r))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function s8(t){let[e,i]=function(t=!0){let e=(0,h.useContext)(rJ);
1if(null===e)return[!0,null];let{isPresent:i,onExitComplete:r,register:n}=e,s=(0,h.useId)();(0,h.useEffect)(()=>{if(t)return n(s)},[t]);let o=(0,h.useCallback)(()=>t&&r&&r(s),[s,r,t]);return!i&&r?[!1,o]:[!0]}(),r=(0,s6.useContext)(rF);return(0,l.jsx)(s9,{...t,layoutGroup:r,switchLayoutGroup:(0,s6.useContext)(r9),isPresent:e,safeToRemove:i})}let s7=["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"],ot=s7.length,oe=t=>"string"==typeof t?parseFloat(t):t,oi=t=>"number"==typeof t||ep.test(t);function or(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let on=oo(0,.5,nX),os=oo(.5,.95,is);function oo(t,e,i){return r=>r<t?0:r>e?1:i(nZ(t,e,r))}function oa(t,e){t.min=e.min,t.max=e.max}function ol(t,e){oa(t.x,e.x),oa(t.y,e.y)}function ou(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function od(t,e,i,r,n){return t-=e,t=r+1/i*(t-r),void 0!==n&&(t=r+1/n*(t-r)),t}function oh(t,e,[i,r,n],s,o){!function(t,e=0,i=1,r=.5,n,s=t,o=t){if(em.test(e)&&(e=parseFloat(e),e=rv(o.min,o.max,e/100)-o.min),"number"!=typeof e)return;let a=rv(s.min,s.max,r);t===s&&(a-=e),t.min=od(t.min,e,i,a,n),t.max=od(t.max,e,i,a,n)}(t,e[i],e[r],e[n],e.scale,s,o)}let oc=["x","scaleX","originX"],om=["y","scaleY","originY"];function op(t,e,i,r){oh(t.x,e,oc,i?i.x:void 0,r?r.x:void 0),oh(t.y,e,om,i?i.y:void 0,r?r.y:void 0)}function of(t){return 0===t.translate&&1===t.scale}function og(t){return of(t.x)&&of(t.y)}function oy(t,e){return t.min===e.min&&t.max===e.max}function ov(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function ox(t,e){return ov(t.x,e.x)&&ov(t.y,e.y)}function ob(t){return sx(t.x)/sx(t.y)}function ow(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class ok{constructor(){this.members=[]}add(t){iA(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 r=i.instance;r&&!1!==r.isConnected||i.snapshot||(ij(this.members,i),i.unmount())}t.scheduleRender()}remove(t){if(ij(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){let t=this.members[e];if(!1!==t.isPresent&&t.instance?.isConnected!==!1)return this.promote(t),!0}return!1}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.updateSnapshot(),t.scheduleRender();let{layoutDependency:r}=i.options,{layoutDependency:n}=t.options;(void 0===r||r!==n)&&(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 oT=(t,e)=>t.depth-e.depth;class oS{constructor(){this.children=[],this.isDirty=!1}add(t){iA(this.children,t),this.isDirty=!0}remove(t){ij(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(oT),this.isDirty=!1,this.children.forEach(t)}}let oP=["","X","Y","Z"],oA=0;function oj(t,e,i,r){let{latestValues:n}=e;n[t]&&(i[t]=n[t],e.setStaticValue(t,0),r&&(r[t]=0))}function oE({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(t={},i=e?.()){this.id=oA++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>
1{this.projectionUpdateScheduled=!1,this.nodes.forEach(oV),this.nodes.forEach(oF),this.nodes.forEach(oU),this.nodes.forEach(oD)},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 oS)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new iE),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=sA(e)&&!(sA(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:r,visualElement:n}=this.options;if(n&&!n.current&&n.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||i)&&(this.isLayoutDirty=!0),t){let i,r=0,n=()=>this.root.updateBlockedByResize=!1;iu.read(()=>{r=window.innerWidth}),t(e,()=>{let t=window.innerWidth;if(t!==r){let e,s;r=t,this.root.updateBlockedByResize=!0,i&&i(),e=i_.now(),s=({timestamp:t})=>{let i=t-e;i>=250&&(id(s),n(i-250))},iu.setup(s,!0),i=()=>id(s),s3.hasAnimatedSinceResize&&(s3.hasAnimatedSinceResize=!1,this.nodes.forEach(oI))}})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&n&&(i||r)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||n.getDefaultTransition()||oX,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=n.getProps(),l=!this.targetLayout||!ox(this.targetLayout,r),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={...nn(s,"layout"),onPlay:o,onComplete:a};(n.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||oI(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}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(),id(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){!this.isUpdateBlocked()&&(this.isUpdating=!0,this.nodes&&this.nodes.forEach(o$),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 r=i.props[r4];if(window.MotionHasOptimisedAnimation(r,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(r,"transform",iu,!(t||i))}let{parent:n}=e;n&&!n.hasCheckedOptimisedAppear&&t(n)}(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 r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let t=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),t&&this.nodes.forEac
1h(oL),this.nodes.forEach(oN);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(oB);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(oO),this.nodes.forEach(oz),this.nodes.forEach(oM),this.nodes.forEach(oC)):this.nodes.forEach(oB),this.clearAllSnapshots();let t=i_.now();ih.delta=t7(0,1e3/60,t-ih.timestamp),ih.timestamp=t,ih.isProcessing=!0,ic.update.process(ih),ic.preRender.process(ih),ic.render.process(ih),ih.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,iY.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(oR),this.sharedNodes.forEach(oW)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,iu.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){iu.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||sx(this.snapshot.measuredBox.x)||sx(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=eI()),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=r(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(!n)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!og(this.projectionDelta),i=this.getTransformTemplate(),r=i?i(this.latestValues,""):void 0,s=r!==this.prevTransformTemplateValue;t&&this.instance&&(e||rj(this.latestValues)||s)&&(n(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),r=this.removeElementScroll(i);return t&&(r=this.removeTransform(r)),oq((e=r).x),oq(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:r,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return eI();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(oJ))){let{scroll:t}=this.root;t&&(rD(e.x,t.offset.x),rD(e.y,t.offset.y))}return e}removeElementScroll(t){let e=eI();if(ol(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let r=this.path[i],{scroll:n,options:s}=r;r!==this.root&&n&&s.layoutScroll&&(n.wasRoot&&ol(e,t),rD(e.x,n.offset.x),rD(e.y,n.offset.y))}return e}applyTransform(t,e=!1,i){let r=i||eI();ol(r,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&(rD(r.x,-i.scroll.offset.x),rD(r.y,-i.scroll.offset.y)),rj(i.latestValues)&&rL(r,i.latestValues,i.layout?.layoutBox)}return rj(this.latestValues)&&rL(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(t){let e=eI();ol(e,t);for(let t=0;t<this.path.length;t++){let i,r=this.path[t];rj(r.latestValues)&&(r.instance&&(rA(r.latestValues)&&r.updateSnapshot(),ol(i=eI(),r.measurePageBox())),op(e,r.latestValues,r.snapshot?.layoutBox,i))}return rj(this.latestValues)&&op(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!==ih.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:r,layoutId:n}=this.options;if(!this.layout||!(r||n))return;this.resolvedRelativeTargetAt=ih.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(!1!==this.options.layoutAnchor&&s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=eI(),this.targetWithTransforms=eI()),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,sk(o.x,a.x,l.x,u?.x),sk(o.y,a.y,l.y,u?.y)}else this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):ol(this.target,this.layout.layoutBox),rV(this.target,this.targetDelta)):ol(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,!1!==this.options.layoutAnchor&&s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0)}}getClosestProjectingParent(){if(!(!this.parent||rA(this.parent.latestValues)||rE(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=eI(),this.relativeTargetOrigin=eI(),sS(this.relativeTargetOrigin,e,i,this.options.layoutAnchor||void 0),ol(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;
1if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===ih.timestamp&&(i=!1),i)return;let{layout:r,layoutId:n}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(r||n))return;ol(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,o=this.treeScale.y;!function(t,e,i,r=!1){let n,s,o=i.length;if(o){e.x=e.y=1;for(let a=0;a<o;a++){s=(n=i[a]).projectionDelta;let{visualElement:o}=n.options;(!o||!o.props.style||"contents"!==o.props.style.display)&&(r&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(rD(t.x,-n.scroll.offset.x),rD(t.y,-n.scroll.offset.y)),s&&(e.x*=s.x.scale,e.y*=s.y.scale,rV(t,s)),r&&rj(n.latestValues)&&rL(t,n.latestValues,n.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=eI());let{target:a}=t;if(!a){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(ou(this.prevProjectionDelta.x,this.projectionDelta.x),ou(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),sw(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===s&&this.treeScale.y===o&&ow(this.projectionDelta.x,this.prevProjectionDelta.x)&&ow(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=eO(),this.projectionDelta=eO(),this.projectionDeltaWithTransform=eO()}setAnimationOrigin(t,e=!1){let i,r=this.snapshot,n=r?r.latestValues:{},s={...this.latestValues},o=eO();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let a=eI(),l=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),d=!u||u.members.length<=1,h=!!(l&&!d&&!0===this.options.crossfade&&!this.path.some(oY));this.animationProgress=0,this.mixTargetDelta=e=>{let r=e/1e3;if(oH(o.x,t.x,r),oH(o.y,t.y,r),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,m,p,f,g;sS(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),m=this.relativeTarget,p=this.relativeTargetOrigin,f=a,g=r,oG(m.x,p.x,f.x,g),oG(m.y,p.y,f.y,g),i&&(u=this.relativeTarget,c=i,oy(u.x,c.x)&&oy(u.y,c.y))&&(this.isProjectionDirty=!1),i||(i=eI()),ol(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,r,n,s){n?(t.opacity=rv(0,i.opacity??1,on(r)),t.opacityExit=rv(e.opacity??1,0,os(r))):s&&(t.opacity=rv(e.opacity??1,i.opacity??1,r));for(let n=0;n<ot;n++){let s=s7[n],o=or(e,s),a=or(i,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||oi(o)===oi(a)?(t[s]=Math.max(rv(oe(o),oe(a),r),0),(em.test(a)||em.test(o))&&(t[s]+="%")):t[s]=a)}(e.rotate||i.rotate)&&(t.rotate=rv(e.rotate||0,i.rotate||0,r))}(s,n,this.latestValues,r,h,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=r},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(id(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=iu.update(()=>{var e,i,r;let n;s3.hasAnimatedSinceResize=!0,iO.layout++,this.motionValue||(this.motionValue=iq(0)),this.motionValue.jump(0,!1),this.currentAnimation=(e=this.motionValue,i=[0,1e3],r={...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{iO.layout--},onComplete:()=>{iO.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}},(n=eF(e)?e:iq(e)).start(ss("",n,i,r)),n.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:r,latestValues:n}=t;if(e&&i&&r){if(this!==t&&this.layout&&r&&oZ(this.options.animationType,this.layout.layoutBox,r.layoutBox)){i=this.target||eI();let e=sx(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let r=sx(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+r}ol(e,i),rL(e,n),sw(this.projectionDeltaWithTransform,this.layoutCorrected,e,n)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new ok),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;
1return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let r=this.getStack();r&&r.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 r={};i.z&&oj("z",t,r,this.animationValues);for(let e=0;e<oP.length;e++)oj(`rotate${oP[e]}`,t,r,this.animationValues),oj(`skew${oP[e]}`,t,r,this.animationValues);for(let e in t.render(),r)t.setStaticValue(e,r[e]),this.animationValues&&(this.animationValues[e]=r[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=rZ(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=rZ(e?.pointerEvents)||""),this.hasProjected&&!rj(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let n=r.animationValues||r.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y,o=i?.z||0;if((n||s||o)&&(r=`translate3d(${n}px, ${s}px, ${o}px) `),(1!==e.x||1!==e.y)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:n,rotateY:s,skewX:o,skewY:a}=i;t&&(r=`perspective(${t}px) ${r}`),e&&(r+=`rotate(${e}deg) `),n&&(r+=`rotateX(${n}deg) `),s&&(r+=`rotateY(${s}deg) `),o&&(r+=`skewX(${o}deg) `),a&&(r+=`skewY(${a}deg) `)}let a=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==a||1!==l)&&(r+=`scale(${a}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,n);i&&(s=i(n,s)),t.transform=s;let{x:o,y:a}=this.projectionDelta;for(let e in t.transformOrigin=`${100*o.origin}% ${100*a.origin}% 0`,r.animationValues?t.opacity=r===this?n.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:n.opacityExit:t.opacity=r===this?void 0!==n.opacity?n.opacity:"":void 0!==n.opacityExit?n.opacityExit:0,rx){if(void 0===n[e])continue;let{correct:i,applyTo:o,isCSSVariable:a}=rx[e],l="none"===s?n[e]:i(n[e],r);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=r===this?rZ(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(oN),this.root.sharedNodes.clear()}}}function oM(t){t.updateLayout()}function oC(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:r}=t.layout,{animationType:n}=t.options,s=e.source!==t.layout.source;if("size"===n)sg(t=>{let r=s?e.measuredBox[t]:e.layoutBox[t],n=sx(r);r.min=i[t].min,r.max=r.min+n});else if("x"===n||"y"===n){let t="x"===n?"y":"x";oa(s?e.measuredBox[t]:e.layoutBox[t],i[t])}else oZ(n,e.layoutBox,i)&&sg(r=>{let n=s?e.measuredBox[r]:e.layoutBox[r],o=sx(i[r]);n.max=n.min+o,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[r].max=t.relativeTarget[r].min+o)});let o=eO();sw(o,i,e.layoutBox);let a=eO();s?sw(a,t.applyTransform(r,!0),e.measuredBox):sw(a,i,e.layoutBox);let l=!og(o),u=!1;if(!t.resumeFrom){let r=t.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:n,layout:s}=r;if(n&&s){let o=t.options.layoutAnchor||void 0,a=eI();sS(a,e.layoutBox,n.layoutBox,o);let l=eI();sS(l,i,s.layoutBox,o),ox(a,l)||(u=!0),r.options.layoutRoot&&(t.relativeTarget=l,t.relativeTargetOrigin=a,t.relativeParent=r)}}}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 oV(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.
1isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function oD(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function oR(t){t.clearSnapshot()}function oN(t){t.clearMeasurements()}function oL(t){t.isLayoutDirty=!0,t.updateLayout()}function oB(t){t.isLayoutDirty=!1}function oO(t){t.isAnimationBlocked&&t.layout&&!t.isLayoutDirty&&(t.snapshot=t.layout,t.isLayoutDirty=!0)}function oz(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function oI(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function oF(t){t.resolveTargetDelta()}function oU(t){t.calcProjection()}function o$(t){t.resetSkewAndRotation()}function oW(t){t.removeLeadSnapshot()}function oH(t,e,i){t.translate=rv(e.translate,0,i),t.scale=rv(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function oG(t,e,i,r){t.min=rv(e.min,i.min,r),t.max=rv(e.max,i.max,r)}function oY(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let oX={duration:.45,ease:[.4,0,.1,1]},o_=t=>"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),oK=o_("applewebkit/")&&!o_("chrome/")?Math.round:is;function oq(t){t.min=oK(t.min),t.max=oK(t.max)}function oZ(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(ob(e)-ob(i)))}function oJ(t){return t!==t.root&&t.scroll?.wasRoot}let oQ=oE({attachResizeListener:(t,e)=>sy(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),o0={current:void 0},o1=oE({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!o0.current){let t=new oQ({});t.mount(window),t.setOptions({layoutScroll:!0}),o0.current=t}return o0.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function o5(t,e){let i=sj(t),r=new AbortController;return[i,{passive:!0,...e,signal:r.signal},()=>r.abort()]}function o2(t,e,i){let{props:r}=t;t.animationState&&r.whileHover&&t.animationState.setActive("whileHover","Start"===i);let n=r["onHover"+i];n&&iu.postRender(()=>n(e,sI(e)))}let o3=(t,e)=>!!e&&(t===e||o3(t,e.parentElement)),o6=new WeakSet;function o4(t){return e=>{"Enter"===e.key&&t(e)}}function o9(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function o8(t){return sz(t)&&!(sv.x||sv.y)}let o7=new WeakSet;function at(t,e,i){let{props:r}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&r.whileTap&&t.animationState.setActive("whileTap","Start"===i);let n=r["onTap"+("End"===i?"":i)];n&&iu.postRender(()=>n(e,sI(e)))}let ae=new WeakMap,ai=new WeakMap,ar=t=>{let e=ae.get(t.target);e&&e(t)},an=t=>{t.forEach(ar)},as={some:0,all:1},ao=function(t,e){if("u"<typeof Proxy)return nt;let i=new Map,r=(i,r)=>nt(i,r,t,e);return new Proxy((t,e)=>r(t,e),{get:(n,s)=>"create"===s?r:(i.has(s)||i.set(s,nt(s,void 0,t,e)),i.get(s))})}({animation:{Feature:class extends ne{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 r;if(t.notify("AnimationStart",e),Array.isArray(e))r=Promise.all(e.map(e=>sl(t,e,i)));else if("string"==typeof e)r=sl(t,e,i);else{let n="function"==typeof e?ni(t,e,i.custom):e;r=Promise.all(so(t,n,i))}return r.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=sp(),r=!0,n=!1,s=e=>(i,r)=>{let n=ni(t,r,"exit"===e?t.presenceContext?.custom:void 0);if(n){let{transition:t,transitionEnd:e,...r}=n;i={...i,...r,...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<su;t++){let r=i5[t],n=e.props[r];(i0(n)||!1===n)&&(i[r]=n)}return i}(t.parent)||{},u=[],d=new Set,h={},c=1/0;for(let e=0;e<sc;e++){var m,p;let f=sh[e],g=i[f],y=void 0!==a[f]?a[f]:l[f],v=i0(y),x=f===o?g.isActive:null;!1===x&&(c=e);let b=y===l[f]&&y!==a[f]&&v;if(b&&(r||n)&&t.manuallyAnimateOnMount&&(b=!1),g.protectedKeys={...h},!g.isActive&&null===x||!y&&!g.prevProp||iQ(y)||"boolean"==typeof y)continue;if("exit"===f&&g.isActive&&!0!==x){g.prevResolvedValues&&(h={...h,...g.prevResolvedValues});continue}let w=(m=g.prevProp,"string"==typeof(p=y)?p!==m:!!Array.isArray(p)&&!sd(p,m)),k=w||f===o&&g.isActive&&!b&&v||e>c&&v,T=!1,S=Array.isArray(y)?y:[y],P=S.reduce(s(f),{});!1===x&&(P={});let{prevResolvedValues:A={}}=g,j={...A,...P},E=e=>{k=!0,d.has(e)&&(T=!0,d.delete(e)),g.needsAnimating[e]=!0;let i=t.getValue(e);
1i&&(i.liveStyle=!1)};for(let t in j){let e=P[t],i=A[t];if(!h.hasOwnProperty(t))(ns(e)&&ns(i)?sd(e,i):e===i)?void 0!==e&&d.has(t)?E(t):g.protectedKeys[t]=!0:null!=e?E(t):d.add(t)}g.prevProp=y,g.prevResolvedValues=P,g.isActive&&(h={...h,...P}),(r||n)&&t.blockInitialAnimation&&(k=!1);let M=b&&w,C=!M||T;k&&C&&u.push(...S.map(e=>{let i={type:f};if("string"==typeof e&&(r||n)&&!M&&t.manuallyAnimateOnMount&&t.parent){let{parent:r}=t,n=ni(r,e);if(r.enteringChildren&&n){let{delayChildren:e}=n.transition||{};i.delay=sa(r.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(d.size){let e={};if("boolean"!=typeof a.initial){let i=ni(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}d.forEach(i=>{let r=t.getBaseTarget(i),n=t.getValue(i);n&&(n.liveStyle=!0),e[i]=r??null}),u.push({animation:e})}let f=!!u.length;return r&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(f=!1),r=!1,n=!1,f?e(u):Promise.resolve()}return{animateChanges:o,setActive:function(e,r){if(i[e].isActive===r)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,r)),i[e].isActive=r;let n=o(e);for(let t in i)i[t].protectedKeys={};return n},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=sp(),n=!0}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();iQ(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 ne{constructor(){super(...arguments),this.id=sf++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;if(t&&!1===i){if(this.isExitComplete){let{initial:t,custom:e}=this.node.getProps();if("string"==typeof t){let i=ni(this.node,t,e);if(i){let{transition:t,transitionEnd:e,...r}=i;for(let t in r)this.node.getValue(t)?.jump(r[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);this.isExitComplete=!1;return}let r=this.node.animationState.setActive("exit",!t);e&&!t&&r.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};
1e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}},inView:{Feature:class extends ne{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){var t;let e;this.stopObserver?.();let{viewport:i={}}=this.node.getProps(),{root:r,margin:n,amount:s="some",once:o}=i,a={root:r?r.current:void 0,rootMargin:n,threshold:"number"==typeof s?s:as[s]},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:r}=this.node.getProps(),n=e?i:r;n&&n(t)};this.stopObserver=(t=this.node.current,e=function({root:t,...e}){let i=t||document;ai.has(i)||ai.set(i,{});let r=ai.get(i),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(an,{root:t,...e})),r[n]}(a),ae.set(t,l),e.observe(t),()=>{ae.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 ne{mount(){let{current:t}=this.node;if(!t)return;let{globalTapTarget:e,propagate:i}=this.node.props;this.unmount=function(t,e,i={}){let[r,n,s]=o5(t,i),o=t=>{let r=t.currentTarget;if(!o8(t)||o7.has(t))return;o6.add(r),i.stopPropagation&&o7.add(t);let s=e(r,t),o=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),o6.has(r)&&o6.delete(r),o8(t)&&"function"==typeof s&&s(t,{success:e})},a=t=>{o(t,r===window||r===document||i.useGlobalTarget||o3(r,t.target))},l=t=>{o(t,!1)};window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",l,n)};return r.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",o,n),sP(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let r=o4(()=>{if(o6.has(i))return;o9(i,"down");let t=o4(()=>{o9(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>o9(i,"cancel"),e)});i.addEventListener("keydown",r,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",r),e)})(t,n)),sB.has(t.tagName)||!0===t.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(at(this.node,e,"Start"),(t,{success:e})=>at(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:i?.tap===!1})}unmount(){}}},focus:{Feature:class extends ne{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=nl(sy(this.node.current,"focus",()=>this.onFocus()),sy(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ne{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[r,n,s]=o5(t,i);return r.forEach(t=>{let i,r=!1,s=!1,o=e=>{i&&(i(e),i=void 0),t.removeEventListener("pointerleave",l)},a=t=>{r=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),s&&(s=!1,o(t))},l=t=>{if("touch"!==t.pointerType){if(r){s=!0;return}o(t)}};t.addEventListener("pointerenter",r=>{if("touch"===r.pointerType||sv.x||sv.y)return;s=!1;let o=e(t,r);"function"==typeof o&&(i=o,t.addEventListener("pointerleave",l,n))},n),t.addEventListener("pointerdown",()=>{r=!0,window.addEventListener("pointerup",a,n),window.addEventListener("pointercancel",a,n)},n)}),s}(t,(t,e)=>(o2(this.node,e,"Start"),t=>o2(this.node,t,"End"))))}unmount(){}}},pan:{Feature:class extends ne{constructor(){super(...arguments),this.removePointerDownListener=is}onPointerDown(t){this.session=new sH(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:sU(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:r}=this.node.getProps();return{onSessionStart:s2(t),onStart:s2(e),onMove:s2(i),onEnd:(t,e)=>{delete this.session,r&&iu.postRender(()=>r(t,e))}}}mount(){this.removePointerDownListener=sF(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 ne{constructor(t){super(t),this.removeGroupControls=is,this.removeListeners=is,this.controls=new s0(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||is}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:o1,MeasureLayout:s8},layout:{ProjectionNode:o1,MeasureLayout:s8}},(t,e)=>e.isSVG??rI(t)?new rT(e):new rO(e,{allowProjection:t!==h.Fragment}));function aa({children:t,delay:e=0,className:i}){return(0,l.jsx)(ao.div,{initial:{opacity:0,y:24},whileInView:{opacity:1,y:0},viewport:{once:!0,margin:"-60px"},transition:{duration:.6,delay:e,ease:"easeOut"},className:i,children:t})}function al({children:t,className:e}){return(0,l.jsx)(ao.div,{whileHover:{scale:1.03,y:-4},transition:{type:"spring",stiffness:300,damping:20},className:e,children:t})}function au(){return(0,l.jsxs)("div",{className:"pointer-events-none absolute inset-0 -z-10 overflow-hidden",children:[(0,l.jsx)("div",{className:"absolute -left-[40%] -top-[30%] h-[80vh] w-[80vh] rounded-full bg-red-600/10 blur-[120px]"}),(0,l.jsx)("div",{className:"absolute -right-[30%] top-[20%] h-[60vh] w-[60vh] rounded-full bg-red-500/5 blur-[100px]"}),(0,l.jsx)("div",{className:"absolute bottom-0 left-0 right-0 h-px bg-gradient-to-r from-transparent via-border to-transparent"})]})}function ad(){return(0,l.jsxs)("section",{className:"relative flex min-h-[85vh] items-center justify-center overflow-hidden",children:[(0,l.jsx)(au,{}),(0,l.jsxs)("div",{className:"mx-auto max-w-5xl px-6 text-center",children:[(0,l.jsx)(aa,{children:(0,l.jsx)("p",{className:"mb-5 inline-block rounded-full border border-border bg-muted/60 px-4 py-1.5 text-xs font-medium tracking-widest text-muted-foreground uppercase backdrop-blur",children:"Live on mainnet · Chain ID 7979"})}),(0,l.jsx)(aa,{delay:.1,children:(0,l.jsxs)("h1",{className:"text-5xl font-extrabold leading-[1.1] tracking-tight text-foreground sm:text-7xl lg:text-8xl",children:["Sign up in seconds.",(0,l.jsx)("br",{}),(0,l.jsx)("span",{className:"bg-gradient-to-r from-red-500 to-red-400 bg-clip-text text-transparent",children:"No gas. No hassle."})]})}),(0,l.jsx)(aa,{delay:.2,children:(0,l.jsx)("p",{className:"mx-auto mt-7 max-w-2xl text-lg leading-relaxed text-muted-foreground",children:"DOS Chain powers apps where anyone can create an account with a fingerprint, build a verifiable reputation, and transact - all without paying fees."})}),(0,l.jsx)(aa,{delay:.3,children:(0,l.jsxs)("div",{className:"mt-10 flex flex-wrap items-center justify-center gap-4",children:[(0,l.jsx)(t3,{size:"lg",className:"rounded-full bg-red-600 px-8 text-base font-semibold shadow-lg shadow-red-600/20 hover:bg-red-700",children:(0,l.jsx)(u.default,{href:"https://dos.me",children:"Get your DOS ID"})}),(0,l.jsx)(t3,{variant:"outline",size:"lg",className:"rounded-full border-border px-8 text-base text-foreground hover:bg-muted",children:(0,l.jsx)(u.default,{href:"https://doscan.io",children:"Explore the chain"})})]})})]})]})}function ah(){return(0,l.jsx)("section",{className:"border-y border-border bg-muted/50 py-12 backdrop-blur",children:(0,l.jsx)("div",{className:"mx-auto grid max-w-5xl grid-cols-2 gap-10 px-6 sm:grid-cols-4",children:[{value:"$500K+",label:"Gas fees saved"},{value:"90K+",label:"Wallets created"},{value:"2M+",label:"Transactions"},{value:"<1s",label:"Finality"}].map(t=>(0,l.jsxs)(aa,{className:"text-center",children:[(0,l.jsx)("p",{className:"text-4xl font-bold text-foreground",children:t.value}),(0,l.jsx)("p",{className:"mt-1 text-sm text-muted-foreground",children:t.label})]},t.label))})})}function ac(){return(0,l.jsx)("section",{className:"py-28",children:(0,l.jsxs)("div",{className:"mx-auto max-w-6xl px-6",children:[(0,l.jsxs)(aa,{className:"mb-16 text-center",children:[(0,l.jsx)("h2",{className:"text-3xl font-bold text-foreground sm:text-5xl",children:"What you can do on DOS"}),(0,l.jsx)("p",{className:"mt-4 text-muted-foreground",children:"Identity, trust, and payments - everything a modern app needs."})]}),(0,l.jsx)("div",{className:"grid gap-6 sm:grid-cols-2",children:[{icon:"🪪",title:"Your identity, your way",body:"Create an account with Google, Apple, or a fingerprint. Get a human-readable name like joy.dos instead of a long hex address."},{icon:"🛡️",title:"Trust you can prove",body:"Connect your social accounts and gaming profiles to build a verifiable trust score. Apps use it to fight bots and reward real users."},{icon:"⚡",title:"Zero fees, instant actions",body:"Every transaction on DOS Chain is gas-free for end users. No token balance required. No pop-ups. It just works."},{icon:"🤖",title:"Built for AI agents",body:"AI agents can authenticate, pay for API calls, and leave verifiable receipts on-chain. Machine commerce infrastru
1cture, live today."}].map((t,e)=>(0,l.jsx)(aa,{delay:.1*e,children:(0,l.jsxs)(al,{className:"h-full rounded-2xl border border-border bg-card p-8 backdrop-blur transition-colors hover:border-muted-foreground/40",children:[(0,l.jsx)("span",{className:"text-5xl",children:t.icon}),(0,l.jsx)("h3",{className:"mt-5 text-xl font-semibold text-card-foreground",children:t.title}),(0,l.jsx)("p",{className:"mt-3 leading-relaxed text-muted-foreground",children:t.body})]})},t.title))})]})})}function am(){return(0,l.jsx)("section",{className:"bg-muted/30 py-28",children:(0,l.jsxs)("div",{className:"mx-auto max-w-5xl px-6",children:[(0,l.jsxs)(aa,{className:"mb-14 text-center",children:[(0,l.jsx)("h2",{className:"text-3xl font-bold text-foreground sm:text-5xl",children:"Why DOS Chain?"}),(0,l.jsx)("p",{className:"mt-4 text-muted-foreground",children:"How DOS compares to other networks."})]}),(0,l.jsx)(aa,{delay:.15,children:(0,l.jsx)("div",{className:"overflow-x-auto rounded-2xl border border-border bg-card",children:(0,l.jsxs)("table",{className:"w-full text-left text-sm",children:[(0,l.jsx)("thead",{children:(0,l.jsxs)("tr",{className:"border-b border-border bg-muted/50",children:[(0,l.jsx)("th",{className:"px-6 py-4 font-medium text-muted-foreground"}),(0,l.jsx)("th",{className:"px-6 py-4 font-semibold text-red-500",children:"DOS Chain"}),(0,l.jsx)("th",{className:"px-6 py-4 font-medium text-muted-foreground",children:"Ethereum"}),(0,l.jsx)("th",{className:"px-6 py-4 font-medium text-muted-foreground",children:"BNB Chain"}),(0,l.jsx)("th",{className:"px-6 py-4 font-medium text-muted-foreground",children:"Base"})]})}),(0,l.jsx)("tbody",{children:[{feature:"Gas fees",dos:"Zero",eth:"~$1-50",bnb:"~$0.10",base:"~$0.01"},{feature:"Finality",dos:"< 1 sec",eth:"~12 min",bnb:"~3 sec",base:"~2 sec"},{feature:"Sign up",dos:"Fingerprint / social",eth:"Seed phrase",bnb:"Seed phrase",base:"Smart Wallet"}
1,{feature:"Built-in identity",dos:"✓",eth:"-",bnb:"-",base:"Partial"},{feature:"Trust scoring",dos:"✓",eth:"-",bnb:"-",base:"-"},{feature:"Agent payments",dos:"✓",eth:"-",bnb:"-",base:"✓"},{feature:"Safety threshold",dos:"80%",eth:"51%",bnb:"51%",base:"51%"}].map((t,e)=>(0,l.jsxs)("tr",{className:`border-b border-border ${e%2==0?"bg-muted/30":""}`,children:[(0,l.jsx)("td",{className:"px-6 py-3.5 font-medium text-foreground",children:t.feature}),(0,l.jsx)("td",{className:"px-6 py-3.5 font-semibold text-card-foreground",children:t.dos}),(0,l.jsx)("td",{className:"px-6 py-3.5 text-muted-foreground",children:t.eth}),(0,l.jsx)("td",{className:"px-6 py-3.5 text-muted-foreground",children:t.bnb}),(0,l.jsx)("td",{className:"px-6 py-3.5 text-muted-foreground",children:t.base})]},t.feature))})]})})})]})})}function ap(){return(0,l.jsx)("section",{className:"py-28",children:(0,l.jsxs)("div",{className:"mx-auto max-w-6xl px-6",children:[(0,l.jsxs)(aa,{className:"mb-16 text-center",children:[(0,l.jsx)("h2",{className:"text-3xl font-bold text-foreground sm:text-5xl",children:"Ecosystem"}),(0,l.jsx)("p",{className:"mt-4 text-muted-foreground",children:"Apps and tools on DOS Chain - live today."})]}),(0,l.jsx)("div",{className:"grid gap-5 sm:grid-cols-2 lg:grid-cols-3",children:[{name:"DOS.Me",desc:"Identity & reputation",href:"https://dos.me"},{name:"DOSafe",desc:"Safety verification",href:"https://dosafe.ai"},{name:"DOScan",desc:"Explorer & analytics",href:"https://doscan.io"},{name:"Safe on DOS",desc:"Multi-sig treasury",href:"https://safe.doschain.com"},{name:"OverMint",desc:"NFT marketplace",href:"https://overmint.com"},{name:"Bridge",desc:"Cross-chain transfers",href:"#"}].map((t,e)=>(0,l.jsx)(aa,{delay:.07*e,children:(0,l.jsx)(al,{children:(0,l.jsxs)(u.default,{href:t.href,className:"group flex h-full flex-col justify-between rounded-2xl border border-border bg-card p-7 transition-colors hover:border-red-900/50 hover:bg-muted",children:[(0,l.jsxs)("div",{children:[(0,l.jsx)("h3",{className:"text-lg font-semibold text-card-foreground transition-colors group-hover:text-red-500",children:t.name}),(0,l.jsx)("p",{className:"mt-1.5 text-sm text-muted-foreground",children:t.desc})]}),(0,l.jsx)("span",{className:"mt-5 text-sm font-medium text-red-500 opacity-0 transition-opacity group-hover:opacity-100",children:"Visit →"})]})})},t.name))})]})})}function af(){return(0,l.jsx)("section",{className:"border-t border-border py-28",children:(0,l.jsxs)("div",{className:"mx-auto max-w-4xl px-6",children:[(0,l.jsxs)(aa,{className:"mb-12 text-center",children:[(0,l.jsx)("h2",{className:"text-3xl font-bold text-foreground sm:text-4xl",children:"For developers"}),(0,l.jsx)("p",{className:"mt-4 text-muted-foreground",children:"Standard EVM tooling. Deploy in minutes."})]}),(0,l.jsx)(aa,{delay:.1,children:(0,l.jsxs)("div",{"data-testid":"terminal-panel",className:"overflow-hidden rounded-2xl border border-zinc-700 bg-black",children:[(0,l.jsxs)("div",{className:"flex items-center gap-2 border-b border-zinc-800 px-4 py-3",children:[(0,l.jsx)("div",{className:"h-3 w-3 rounded-full bg-red-500"}),(0,l.jsx)("div",{className:"h-3 w-3 rounded-full bg-yellow-500"}),(0,l.jsx)("div",{className:"h-3 w-3 rounded-full bg-green-500"}),(0,l.jsx)("span",{className:"ml-2 text-xs text-zinc-500",children:"terminal"})]}),(0,l.jsx)("pre",{className:"overflow-x-auto p-6 text-sm leading-relaxed text-zinc-300",children:(0,l.jsx)("code",{children:`# Add DOS Chain
2# RPC: https://main.doschain.com  |  Chain ID: 7979
3
4# Deploy with Foundry
5forge create src/MyContract.sol:MyContract \\
6  --rpc-url https://main.doschain.com \\
7  --private-key $PK
8
9# Or use viem / wagmi
10import { dosChain } from 'viem/chains'`})})]})}),(0,l.jsx)(aa,{delay:.2,children:(0,l.jsx)("div",{className:"mt-8 grid gap-4 sm:grid-cols-3",children:[{label:"Explorer",href:"https://doscan.io"},{label:"Faucet",href:"https://faucet.doschain.com"},{label:"GitHub",href:"https://github.com/DOS"}].map(t=>(0,l.jsx)(u.default,{href:t.href,className:"rounded-xl border border-border py-4 text-center text-sm font-semibold text-foreground transition hover:border-red-900/50 hover:bg-muted hover:text-red-500",children:t.label},t.label))})})]})})}function ag(){return(0,l.jsx)("section",{className:"border-t border-border py-24",children:(0,l.jsxs)("div",{className:"mx-auto max-w-6xl px-6",children:[(0,l.jsxs)(aa,{className:"mb-16 text-center",children:[(0,l.jsx)("p",{className:"mb-8 text-sm font-medium tracking-widest text-muted-foreground uppercase",children:"Trusted by studios worldwide"}),(0,l.jsx)("div",{className:"flex flex-wrap items-center justify-center gap-10",children:[{name:"MetaDOS",src:"https://s3.ap-southeast-1.amazonaws.com/doschain.com/1_731752def1.png"},{name:"Heroes & Empires",src:"https://s3.ap-southeast-1.amazonaws.com/doschain.com/2_5992eb8d7e.png"},{name:"Suga Studios",src:"https://s3.ap-southeast-1.amazonaws.com/doschain.com/3_6a60991d9a.png"},{name:"Imba Games",src:"https://s3.ap-southeast-1.amazonaws.com/doschain.com/4_ee0fc7d221.png"},{name:"OverSpell",src:"https://s3.ap-southeast-1.amazonaws.com/doschain.com/5_7cfcfc710c.png"}].map(t=>(0,l.jsx)("img",{src:t.src,alt:t.name,className:"h-12 object-contain opacity-70 grayscale transition hover:opacity-100 hover:grayscale-0 sm:h-14"},t.name))})]}),(0,l.jsx)(t4,{className:"mx-auto mb-16 max-w-xs bg-border"}),(0,l.jsxs)(aa,{className:"text-center",children:[(0,l.jsx)("p",{className:"mb-8 text-sm font-medium tracking-widest text-muted-foreground uppercase",children:"Infrastru
10cture partners"}),(0,l.jsx)("div",{className:"flex flex-wrap items-center justify-center gap-10",children:[{name:"Avalanche",src:"https://s3.ap-southeast-1.amazonaws.com/doschain.com/1_fee793ba8b.png"},{name:"LayerZero",src:"https://s3.ap-southeast-1.amazonaws.com/doschain.com/2_9d5c3fd18d.png"},{name:"OpenFort",src:"https://s3.ap-southeast-1.amazonaws.com/doschain.com/3_e11e3b06f1.png"},{name:"VeriChains",src:"https://s3.ap-southeast-1.amazonaws.com/doschain.com/4_726d3f7754.png"},{name:"Ramp Network",src:"https://s3.ap-southeast-1.amazonaws.com/doschain.com/ramp_network_logo_222f7daae3.png"},{name:"Stardust",src:"https://s3.ap-southeast-1.amazonaws.com/doschain.com/stardust_logo_87e6d60a0d.png"}].map(t=>(0,l.jsx)("img",{src:t.src,alt:t.name,className:"h-10 object-contain opacity-60 grayscale transition hover:opacity-100 hover:grayscale-0 sm:h-12"},t.name))})]})]})})}function ay(){return(0,l.jsxs)("section",{className:"relative overflow-hidden py-28",children:[(0,l.jsx)("div",{className:"pointer-events-none absolute inset-0 -z-10",children:(0,l.jsx)("div",{className:"absolute left-1/2 top-0 h-[50vh] w-[80vw] -translate-x-1/2 rounded-full bg-red-600/5 blur-[100px]"})}),(0,l.jsx)("div",{className:"mx-auto max-w-3xl px-6 text-center",children:(0,l.jsxs)(aa,{children:[(0,l.jsx)("h2",{className:"text-3xl font-bold text-foreground sm:text-5xl",children:"Ready to build on DOS?"}),(0,l.jsx)("p",{className:"mt-4 text-muted-foreground",children:"Create your identity, explore the chain, or start deploying."}),(0,l.jsxs)("div",{className:"mt-10 flex flex-wrap items-center justify-center gap-4",children:[(0,l.jsx)(t3,{size:"lg",className:"rounded-full bg-red-600 px-8 text-base font-semibold shadow-lg shadow-red-600/20 hover:bg-red-700",children:(0,l.jsx)(u.default,{href:"https://dos.me",children:"Get DOS ID"})}),(0,l.jsx)(t3,{variant:"outline",size:"lg",className:"rounded-full border-border px-8 text-base text-foreground hover:bg-muted",children:(0,l.jsx)(u.default,{href:"https://chainlist.org/chain/7979",children:"Add to wallet"})})]})]})})]})}t.s(["default",0,function(){return(0,l.jsxs)(l.Fragment,{children:[(0,l.jsx)(ad,{}),(0,l.jsx)(ah,{}),(0,l.jsx)(ac,{}),(0,l.jsx)(am,{}),(0,l.jsx)(ap,{}),(0,l.jsx)(af,{}),(0,l.jsx)(ag,{}),(0,l.jsx)(ay,{})]})}],84465)}]);

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.