vendor: 8,206 bytes, line 1
1var e=Object.create,t=Object.defineProperty,n=Object.getOwnPropertyDescriptor,r=Object.getOwnPropertyNames,i=Object.getPrototypeOf,a=Object.prototype.hasOwnProperty,o=(e,t)=>()=>(e&&(t=e(e=0)),t),s=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),c=(e,n)=>{let r={};for(var i in e)t(r,i,{get:e[i],enumerable:!0});return n||t(r,Symbol.toStringTag,{value:`Module`}),r},l=(e,i,o,s)=>{if(i&&typeof i==`object`||typeof i==`function`)for(var c=r(i),l=0,u=c.length,d;l<u;l++)d=c[l],!a.call(e,d)&&d!==o&&t(e,d,{get:(e=>i[e]).bind(null,d),enumerable:!(s=n(i,d))||s.enumerable});return e},u=(n,r,a)=>(a=n==null?{}:e(i(n)),l(r||!n||!n.__esModule?t(a,`default`,{value:n,enumerable:!0}):a,n)),d=e=>a.call(e,`module.exports`)?e[`module.exports`]:l(t({},`__esModule`,{value:!0}),e),f=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.portal`),r=Symbol.for(`react.fragment`),i=Symbol.for(`react.strict_mode`),a=Symbol.for(`react.profiler`),o=Symbol.for(`react.consumer`),s=Symbol.for(`react.context`),c=Symbol.for(`react.forward_ref`),l=Symbol.for(`react.suspense`),u=Symbol.for(`react.memo`),d=Symbol.for(`react.lazy`),f=Symbol.for(`react.activity`),p=Symbol.iterator;function m(e){return typeof e!=`object`||!e?null:(e=p&&e[p]||e[`@@iterator`],typeof e==`function`?e:null)}var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g=Object.assign,_={};function v(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if(typeof e!=`object`&&typeof e!=`function`&&e!=null)throw Error(`takes an object of state variables to update or a function which returns an object of state variables.`);this.updater.enqueueSetState(this,e,t,`setState`)},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,`forceUpdate`)};function y(){}y.prototype=v.prototype;function b(e,t,n){this.props=e,this.context=t,this.refs=_,this.updater=n||h}var x=b.prototype=new y;x.constructor=b,g(x,v.prototype),x.isPureReactComponent=!0;var S=Array.isArray;function C(){}var w={H:null,A:null,T:null,S:null},T=Object.prototype.hasOwnProperty;function E(e,n,r){var i=r.ref;return{$$typeof:t,type:e,key:n,ref:i===void 0?null:i,props:r}}function D(e,t){return E(e.type,t,e.props)}function O(e){return typeof e==`object`&&!!e&&e.$$typeof===t}function ee(e){var t={"=":`=0`,":":`=2`};return`$`+e.replace(/[=:]/g,function(e){return t[e]})}var te=/\/+/g;function k(e,t){return typeof e==`object`&&e&&e.key!=null?ee(``+e.key):t.toString(36)}function A(e){switch(e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason;default:switch(typeof e.status==`string`?e.then(C,C):(e.status=`pending`,e.then(function(t){e.status===`pending`&&(e.status=`fulfilled`,e.value=t)},function(t){e.status===`pending`&&(e.status=`rejected`,e.reason=t)})),e.status){case`fulfilled`:return e.value;case`rejected`:throw e.reason}}throw e}function j(e,r,i,a,o){var s=typeof e;(s===`undefined`||s===`boolean`)&&(e=null);var c=!1;if(e===null)c=!0;else switch(s){case`bigint`:case`string`:case`number`:c=!0;break;case`object`:switch(e.$$typeof){case t:case n:c=!0;break;case d:return c=e._init,j(c(e._payload),r,i,a,o)}}if(c)return o=o(e),c=a===``?`.`+k(e,0):a,S(o)?(i=``,c!=null&&(i=c.replace(te,`$&/`)+`/`),j(o,r,i,``,function(e){return e})):o!=null&&(O(o)&&(o=D(o,i+(o.key==null||e&&e.key===o.key?``:(``+o.key).replace(te,`$&/`)+`/`)+c)),r.push(o)),1;c=0;var l=a===``?`.`:a+`:`;if(S(e))for(var u=0;u<e.length;u++)a=e[u],s=l+k(a,u),c+=j(a,r,i,s,o);else if(u=m(e),typeof u==`function`)for(e=u.call(e),u=0;!(a=e.next()).done;)a=a.value,s=l+k(a,u++),c+=j(a,r,i,s,o);else if(s===`object`){if(typeof e.then==`function`)return j(A(e),r,i,a,o);throw r=String(e),Error(`Objects are not valid as a React child (found: `+(r===`[object Object]`?`object with keys {`+Object.keys(e).join(`, `)+`}`:r)+`). If you meant to render a collection of children, use an array instead.`)}return c}function ne(e,t,n){if(e==null)return e;var r=[],i=0;return j(e,r,``,``,function(e){return t.call(n,e,i++)}),r}function re(e){if(e._status===-1){var t=e._result;t=t(),t.then(function(t){(e._status===0||e._status===-1)&&(e._status=1,e._result=t)},function(t){(e._status===0||e._status===-1)&&(e._status=2,e._result=t)}),e._status===-1&&(e._status=0,e._result=t)}if(e._status===1)return e._result.default;throw e._result}var M=typeof reportError==`function`?reportError:function(e){if(typeof window==`object`&&typeof window.ErrorEvent==`function`){var t=new window.ErrorEvent(`error`,{bubbles:!0,cancelable:!0,message:typeof e==`object`&&e&&typeof e.message==`string`?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process==`object`&&typeof process.emit==`function`){process.emit(`uncaughtException`,e);return}console.error(e)},ie={map:ne,forEach:function(e,t,n){ne(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return ne(e,function(){t++}),t},toArray:function(e){return ne(e,function(e){return e})||[]},only:function(e){if(!O(e))throw Error(`React.Children.only expected to receive a single React element child.`);return e}};e.Activity=f,e.Children=ie,e.Component=v,e.Fragment=r,e.Profiler=a,e.PureComponent=b,e.StrictMode=i,e.Suspense=l,e.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE=w,e.__COMPILER_RUNTIME={__proto__:null,c:function(e){return w.H.useMemoCache(e)}},e.cache=function(e){return function(){return e.apply(null,arguments)}},e.cacheSignal=function(){return null},e.cloneElement=function(e,t,n){if(e==null)throw Error(`The argument must be a React element, but you passed `+e+`.`);var r=g({},e.props),i=e.key;if(t!=null)for(a in t.key!==void 0&&(i=``+t.key),t)!T.call(t,a)||a===`key`||a===`__self`||a===`__source`||a===`ref`&&t.ref===void 0||(r[a]=t[a]);var a=arguments.length-2;if(a===1)r.children=n;else if(1<a){for(var o=Array(a),s=0;s<a;s++)o[s]=arguments[s+2];r.children=o}return E(e.type,i,r)},e.createContext=function(e){return e={$$typeof:s,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null},e.Provider=e,e.Consumer={$$typeof:o,_context:e},e},e.createElement=function(e,t,n){var r,i={},a=null;if(t!=null)for(r in t.key!==void 0&&(a=``+t.key),t)T.call(t,r)&&r!==`key`&&r!==`__self`&&r!==`__source`&&(i[r]=t[r]);var o=arguments.length-2;if(o===1)i.children=n;else if(1<o){for(var s=Array(o),c=0;c<o;c++)s[c]=arguments[c+2];i.children=s}if(e&&e.defaultProps)for(r in o=e.defaultProps,o)i[r]===void 0&&(i[r]=o[r]);return E(e,a,i)},e.createRef=function(){return{current:null}},e.forwardRef=function(e){return{$$typeof:c,render:e}},e.isValidElement=O,e.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:re}},e.memo=function(e,t){return{$$typeof:u,type:e,compare:t===void 0?null:t}},e.startTransition=function(e){var t=w.T,n={};w.T=n;try{var r=e(),i=w.S;i!==null&&i(n,r),typeof r==`object`&&r&&typeof r.then==`function`&&r.then(C,M)}catch(e){M(e)}finally{t!==null&&n.types!==null&&(t.types=n.types),w.T=t}},e.unstable_useCacheRefresh=function(){return w.H.useCacheRefresh()},e.use=function(e){return w.H.use(e)},e.useActionState=function(e,t,n){return w.H.useActionState(e,t,n)},e.useCallback=function(e,t){return w.H.useCallback(e,t)},e.useContext=function(e){return w.H.useContext(e)},e.useDebugValue=function(){},e.useDeferredValue=function(e,t){return w.H.useDeferredValue(e,t)},e.useEffect=function(e,t){return w.H.useEffect(e,t)},e.useEffectEvent=function(e){return w.H.useEffectEvent(e)},e.useId=function(){return w.H.useId()},e.useImperativeHandle=function(e,t,n){return w.H.useImperativeHandle(e,t,n)},e.useInsertionEffect=function(e,t){return w.H.useInsertionEffect(e,t)},e.useLayoutEffect=function(e,t){return w.H.useLayoutEffect(e,t)},e.useMemo=function(e,t){return w.H.useMemo(e,t)},e.useOptimistic=function(e,t){return w.H.useOptimistic(e,t)},e.useReducer=function(e,t,n){return w.H.useReducer(e,t,n)},e.useRef=function(e){return w.H.useRef(e)},e.useState=function(e){return w.H.useState(e)},e.useSyncExternalStore=function(e,t,n){return w.H.useSyncExternalStore(e,t,n)},e.useTransition=function(){return w.H.useTransition()}
1,e.version=`19.2.7`})),p=s(((e,t)=>{t.exports=f()})),m=s(((e,t)=>{var n=typeof Element<`u`,r=typeof Map==`function`,i=typeof Set==`function`,a=typeof ArrayBuffer==`function`&&!!ArrayBuffer.isView;function o(e,t){if(e===t)return!0;if(e&&t&&typeof e==`object`&&typeof t==`object`){if(e.constructor!==t.constructor)return!1;var s,c,l;if(Array.isArray(e)){if(s=e.length,s!=t.length)return!1;for(c=s;c--!==0;)if(!o(e[c],t[c]))return!1;return!0}var u;if(r&&e instanceof Map&&t instanceof Map){if(e.size!==t.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!t.has(c.value[0]))return!1;for(u=e.entries();!(c=u.next()).done;)if(!o(c.value[1],t.get(c.value[0])))return!1;return!0}if(i&&e instanceof Set&&t instanceof Set){if(e.size!==t.size)return!1;for(u=e.entries();!(c=u.next()).done;)if(!t.has(c.value[0]))return!1;return!0}if(a&&ArrayBuffer.isView(e)&&ArrayBuffer.isView(t)){if(s=e.length,s!=t.length)return!1;for(c=s;c--!==0;)if(e[c]!==t[c])return!1;return!0}if(e.constructor===RegExp)return e.source===t.source&&e.flags===t.flags;if(e.valueOf!==Object.prototype.valueOf&&typeof e.valueOf==`function`&&typeof t.valueOf==`function`)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString&&typeof e.toString==`function`&&typeof t.toString==`function`)return e.toString()===t.toString();if(l=Object.keys(e),s=l.length,s!==Object.keys(t).length)return!1;for(c=s;c--!==0;)if(!Object.prototype.hasOwnProperty.call(t,l[c]))return!1;if(n&&e instanceof Element)return!1;for(c=s;c--!==0;)if(!((l[c]===`_owner`||l[c]===`__v`||l[c]===`__o`)&&e.$$typeof)&&!o(e[l[c]],t[l[c]]))return!1;return!0}return e!==e&&t!==t}t.exports=function(e,t){try{return o(e,t)}catch(e){if((e.message||``).match(/stack|recursion/i))return console.warn(`react-fast-compare cannot handle circular refs`),!1;throw e}}})),h=s(((e,t)=>{t.exports=function(e,t,n,r,i,a,o,s){if(!e){var c;if(t===void 0)c=Error(`Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.`);else{var l=[n,r,i,a,o,s],u=0;c=Error(t.replace(/%s/g,function(){return l[u++]})),c.name=`Invariant Violation`}throw c.framesToPop=1,c}}})),g=s(((e,t)=>{t.exports=function(e,t,n,r){var i=n?n.call(r,e,t):void 0;if(i!==void 0)return!!i;if(e===t)return!0;if(typeof e!=`object`||!e||typeof t!=`object`||!t)return!1;var a=Object.keys(e),o=Object.keys(t);if(a.length!==o.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(t),c=0;c<a.length;c++){var l=a[c];if(!s(l))return!1;var u=e[l],d=t[l];if(i=n?n.call(r,u,d,l):void 0,i===!1||i===void 0&&u!==d)return!1}return!0}})),_=u(p()),v=u(m()),y=u(h()),b=u(g()),x=(e=>(e.BASE=`base`,e.BODY=`body`,e.HEAD=`head`,e.HTML=`html`,e.LINK=`link`,e.META=`meta`,e.NOSCRIPT=`noscript`,e.SCRIPT=`script`,e.STYLE=`style`,e.TITLE=`title`,e.FRAGMENT=`Symbol(react.fragment)`,e))(x||{}),S={link:{rel:[`amphtml`,`canonical`,`alternate`]},script:{type:[`application/ld+json`]},meta:{charset:``,name:[`generator`,`robots`,`description`],property:[`og:type`,`og:title`,`og:url`,`og:image`,`og:image:alt`,`og:description`,`twitter:url`,`twitter:title`,`twitter:description`,`twitter:image`,`twitter:image:alt`,`twitter:card`,`twitter:site`]}},C=Object.values(x),w={accesskey:`accessKey`,charset:`charSet`,class:`className`,contenteditable:`contentEditable`,contextmenu:`contextMenu`,"http-equiv":`httpEquiv`,itemprop:`itemProp`,tabindex:`tabIndex`},T=Object.entries(w).reduce((e,[t,n])=>(e[n]=t,e),{}),E=`data-rh`,D={DEFAULT_TITLE:`defaultTitle`,DEFER:`defer`,ENCODE_SPECIAL_CHARACTERS:`encodeSpecialCharacters`,ON_CHANGE_CLIENT_STATE:`onChangeClientState`,TITLE_TEMPLATE:`titleTemplate`,PRIORITIZE_SEO_TAGS:`prioritizeSeoTags`},O=(e,t)=>{for(let n=e.length-1;n>=0;--n){let r=e[n];if(Object.prototype.hasOwnProperty.call(r,t))return r[t]}return null},ee=e=>{let t=O(e,`title`),n=O(e,D.TITLE_TEMPLATE);if(Array.isArray(t)&&(t=t.join(``)),n&&t)return n.replace(/%s/g,()=>t);let r=O(e,D.DEFAULT_TITLE);return t||r||void 0},te=e=>O(e,D.ON_CHANGE_CLIENT_STATE)||(()=>{}),k=(e,t)=>t.filter(t=>t[e]!==void 0).map(t=>t[e]).reduce((e,t)=>({...e,...t}),{}),A=(e,t)=>
1t.filter(e=>e.base!==void 0).map(e=>e.base).reverse().reduce((t,n)=>{if(!t.length){let r=Object.keys(n);for(let i=0;i<r.length;i+=1){let a=r[i].toLowerCase();if(e.indexOf(a)!==-1&&n[a])return t.concat(n)}}return t},[]),j=e=>console&&typeof console.warn==`function`&&console.warn(e),ne=(e,t,n)=>{let r={};return n.filter(t=>Array.isArray(t[e])?!0:(t[e]!==void 0&&j(`Helmet: ${e} should be of type "Array". Instead found type "${typeof t[e]}"`),!1)).map(t=>t[e]).reverse().reduce((e,n)=>{let i={};n.filter(e=>{let n,a=Object.keys(e);for(let r=0;r<a.length;r+=1){let i=a[r],o=i.toLowerCase();t.indexOf(o)!==-1&&!(n===`rel`&&e[n].toLowerCase()===`canonical`)&&!(o===`rel`&&e[o].toLowerCase()===`stylesheet`)&&(n=o),t.indexOf(i)!==-1&&(i===`innerHTML`||i===`cssText`||i===`itemprop`)&&(n=i)}if(!n||!e[n])return!1;let o=e[n].toLowerCase();return r[n]||(r[n]={}),i[n]||(i[n]={}),r[n][o]?!1:(i[n][o]=!0,!0)}).reverse().forEach(t=>e.push(t));let a=Object.keys(i);for(let e=0;e<a.length;e+=1){let t=a[e];r[t]={...r[t],...i[t]}}return e},[]).reverse()},re=(e,t)=>{if(Array.isArray(e)&&e.length){for(let n=0;n<e.length;n+=1)if(e[n][t])return!0}return!1},M=e=>({baseTag:A([`href`],e),bodyAttributes:k(`bodyAttributes`,e),defer:O(e,D.DEFER),encode:O(e,D.ENCODE_SPECIAL_CHARACTERS),htmlAttributes:k(`htmlAttributes`,e),linkTags:ne(`link`,[`rel`,`href`],e),metaTags:ne(`meta`,[`name`,`charset`,`http-equiv`,`property`,`itemprop`],e),noscriptTags:ne(`noscript`,[`innerHTML`],e),onChangeClientState:te(e),scriptTags:ne(`script`,[`src`,`innerHTML`],e),styleTags:ne(`style`,[`cssText`],e),title:ee(e),titleAttributes:k(`titleAttributes`,e),prioritizeSeoTags:re(e,D.PRIORITIZE_SEO_TAGS)}),ie=e=>Array.isArray(e)?e.join(``):e,ae=(e,t)=>{let n=Object.keys(e);for(let r=0;r<n.length;r+=1)if(t[n[r]]&&t[n[r]].includes(e[n[r]]))return!0;return!1},oe=(e,t)=>Array.isArray(e)?e.reduce((e,n)=>(ae(n,t)?e.priority.push(n):e.default.push(n),e),{priority:[],default:[]}):{default:e,priority:[]},se=(e,t)=>({...e,[t]:void 0}),N=[`noscript`,`script`,`style`],P=(e,t=!0)=>t===!1?String(e):String(e).replace(/&/g,`&`).replace(/</g,`<`).replace(/>/g,`>`).replace(/"/g,`"`).replace(/'/g,`'`),ce=e=>Object.keys(e).reduce((t,n)=>{let r=e[n]===void 0?`${n}`:`${n}="${e[n]}"`;return t?`${t} ${r}`:r},``),le=(e,t,n,r)=>{let i=ce(n),a=ie(t);return i?`<${e} ${E}="true" ${i}>${P(a,r)}</${e}>`:`<${e} ${E}="true">${P(a,r)}</${e}>`},F=(e,t,n=!0)=>t.reduce((t,r)=>{let i=r,a=Object.keys(i).filter(e=>!(e===`innerHTML`||e===`cssText`)).reduce((e,t)=>{let r=i[t]===void 0?t:`${t}="${P(i[t],n)}"`;return e?`${e} ${r}`:r},``),o=i.innerHTML||i.cssText||``;return`${t}<${e} ${E}="true" ${a}${N.indexOf(e)===-1?`/>`:`>${o}</${e}>`}`},``),ue=(e,t={})=>Object.keys(e).reduce((t,n)=>{let r=w[n];return t[r||n]=e[n],t},t),de=(e,t,n)=>{let r=ue(n,{key:t,[E]:!0});return[_.createElement(`title`,r,t)]},fe=(e,t)=>t.map((t,n)=>{let r={key:n,[E]:!0};return Object.keys(t).forEach(e=>{let n=w[e]||e;n===`innerHTML`||n===`cssText`?r.dangerouslySetInnerHTML={__html:t.innerHTML||t.cssText}:r[n]=t[e]}),_.createElement(e,r)}),I=(e,t,n=!0)=>{switch(e){case`title`:return{toComponent:()=>de(e,t.title,t.titleAttributes),toString:()=>le(e,t.title,t.titleAttributes,n)};case`bodyAttributes`:case`htmlAttributes`:return{toComponent:()=>ue(t),toString:()=>ce(t)};default:return{toComponent:()=>fe(e,t),toString:()=>F(e,t,n)}}},pe=({metaTags:e,linkTags:t,scriptTags:n,encode:r})=>{let i=oe(e,S.meta),a=oe(t,S.link),o=oe(n,S.script);return{priorityMethods:{toComponent:()=>[...fe(`meta`,i.priority),...fe(`link`,a.priority),...fe(`script`,o.priority)],toString:()=>`${I(`meta`,i.priority,r)} ${I(`link`,a.priority,r)} ${I(`script`,o.priority,r)}`},metaTags:i.default,linkTags:a.default,scriptTags:o.default}},me=e=>{let{baseTag:t,bodyAttributes:n,encode:r=!0,htmlAttributes:i,noscriptTags:a,styleTags:o,title:s=``,titleAttributes:c,prioritizeSeoTags:l}=e,{linkTags:u,metaTags:d,scriptTags:f}=e,p={toComponent:()=>[],toString:()=>``};return l&&({priorityMethods:p,linkTags:u,metaTags:d,scriptTags:f}=pe(e)),{priority:p,base:I(`base`,t,r),bodyAttributes:I(`bodyAttributes`,n,r),htmlAttributes:I(`htmlAttributes`,i,r),link:I(`link`,u,r),meta:I(`meta`,d,r),noscript:I(`noscript`,a,r),script:I(`script`,f,r),style:I(`style`,o,r),title:I(`title`,{title:s,titleAttributes:c},r)}},he=[],ge=!!(typeof window<`u`&&window.document&&window.document.createElement),_e=class{instances=[];canUseDOM=ge;context;value={setHelmet:e=>{this.context.helmet=e},helmetInstances:{get:()=>this.canUseDOM?he:this.instances,add:e=>{(this.canUseDOM?he:this.instances).push(e)},remove:e=>{let t=(this.canUseDOM?he:this.instances).indexOf(e);(this.canUseDOM?he:this.instances).splice(t,1)}}};constructor(e,t){this.context=e,this.canUseDOM=t||!1,t||(e.helmet=me({baseTag:[],bodyAttributes:{},encodeSpecialCharacters:!0,htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:``,titleAttributes:{}}))}},ve=parseInt(`19.2.7`.split(`.`)[0],10)>=19,ye=_.createContext({}),be=class e extends _.Component{static canUseDOM=ge;helmetData;constructor(t){super(t),ve?this.helmetData=null:this.helmetData=new _e(this.props.context||{},e.canUseDOM)}render(){return ve?_.createElement(_.Fragment,null,this.props.children):_.createElement(ye.Provider,{value:this.helmetData.value},this.props.children)}},xe=(e,t)=>{let n=document.head||document.querySelector(`head`),r=n.querySelectorAll(`${e}[${E}]`),i=[].slice.call(r),a=[],o;return t&&t.length&&t.forEach(t=>{let n=document.createElement(e);for(let e in t)if(Object.prototype.hasOwnProperty.call(t,e))if(e===`innerHTML`)n.innerHTML=t.innerHTML;else if(e===`cssText`){let e=t.cssText;n.appendChild(document.createTextNode(e))}else{let r=e,i=t[r]===void 0?``:t[r];n.setAttribute(e,i)}n.setAttribute(E,`true`),i.some((e,t)=>(o=t,n.isEqualNode(e)))?i.splice(o,1):a.push(n)}
1),i.forEach(e=>e.parentNode?.removeChild(e)),a.forEach(e=>n.appendChild(e)),{oldTags:i,newTags:a}},Se=(e,t)=>{let n=document.getElementsByTagName(e)[0];if(!n)return;let r=n.getAttribute(E),i=r?r.split(`,`):[],a=[...i],o=Object.keys(t);for(let e of o){let r=t[e]||``;n.getAttribute(e)!==r&&n.setAttribute(e,r),i.indexOf(e)===-1&&i.push(e);let o=a.indexOf(e);o!==-1&&a.splice(o,1)}for(let e=a.length-1;e>=0;--e)n.removeAttribute(a[e]);i.length===a.length?n.removeAttribute(E):n.getAttribute(E)!==o.join(`,`)&&n.setAttribute(E,o.join(`,`))},Ce=(e,t)=>{e!==void 0&&document.title!==e&&(document.title=ie(e)),Se(`title`,t)},we=(e,t)=>{let{baseTag:n,bodyAttributes:r,htmlAttributes:i,linkTags:a,metaTags:o,noscriptTags:s,onChangeClientState:c,scriptTags:l,styleTags:u,title:d,titleAttributes:f}=e;Se(`body`,r),Se(`html`,i),Ce(d,f);let p={baseTag:xe(`base`,n),linkTags:xe(`link`,a),metaTags:xe(`meta`,o),noscriptTags:xe(`noscript`,s),scriptTags:xe(`script`,l),styleTags:xe(`style`,u)},m={},h={};Object.keys(p).forEach(e=>{let{newTags:t,oldTags:n}=p[e];t.length&&(m[e]=t),n.length&&(h[e]=p[e].oldTags)}),t&&t(),c(e,m,h)},Te=null,Ee=e=>{Te&&cancelAnimationFrame(Te),e.defer?Te=requestAnimationFrame(()=>{we(e,()=>{Te=null})}):(we(e),Te=null)},De=class extends _.Component{rendered=!1;shouldComponentUpdate(e){return!(0,b.default)(e,this.props)}componentDidUpdate(){this.emitChange()}componentWillUnmount(){let{helmetInstances:e}=this.props.context;e.remove(this),this.emitChange()}emitChange(){let{helmetInstances:e,setHelmet:t}=this.props.context,n=null,r=M(e.get().map(e=>{let{context:t,...n}=e.props;return n}));be.canUseDOM?Ee(r):me&&(n=me(r)),t(n)}init(){if(this.rendered)return;this.rendered=!0;let{helmetInstances:e}=this.props.context;e.add(this),this.emitChange()}render(){return this.init(),null}},Oe=[],ke=e=>{let t={};for(let n of Object.keys(e))t[T[n]||n]=e[n];return t},Ae=e=>{let t={};for(let n of Object.keys(e)){let r=w[n];t[r||n]=e[n]}return t},je=(e,t)=>{if(!ge)return;let n=document.getElementsByTagName(e)[0];if(!n)return;let r=`data-rh-managed`,i=n.getAttribute(r),a=i?i.split(`,`):[],o=Object.keys(t);for(let e of a)o.includes(e)||n.removeAttribute(e);for(let e of o){let r=t[e];r==null||r===!1?n.removeAttribute(e):r===!0?n.setAttribute(e,``):n.setAttribute(e,String(r))}o.length>0?n.setAttribute(r,o.join(`,`)):n.removeAttribute(r)},Me=()=>{let e={},t={};for(let n of Oe){let{htmlAttributes:r,bodyAttributes:i}=n.props;r&&Object.assign(e,ke(r)),i&&Object.assign(t,ke(i))}je(`html`,e),je(`body`,t)},Ne=class extends _.Component{componentDidMount(){Oe.push(this),Me()}componentDidUpdate(){Me()}componentWillUnmount(){let e=Oe.indexOf(this);e!==-1&&Oe.splice(e,1),Me()}resolveTitle(){let{title:e,titleTemplate:t,defaultTitle:n}=this.props;return e&&t?t.replace(/%s/g,()=>Array.isArray(e)?e.join(``):e):e||n||void 0}renderTitle(){let e=this.resolveTitle();if(e===void 0)return null;let t=this.props.titleAttributes||{};return _.createElement(`title`,Ae(t),e)}renderBase(){let{base:e}=this.props;return e?_.createElement(`base`,Ae(e)):null}renderMeta(){let{meta:e}=this.props;return!e||!Array.isArray(e)?null:e.map((e,t)=>_.createElement(`meta`,{key:t,...Ae(e)}))}renderLink(){let{link:e}=this.props;return!e||!Array.isArray(e)?null:e.map((e,t)=>_.createElement(`link`,{key:t,...Ae(e)}))}renderScript(){let{script:e}=this.props;return!e||!Array.isArray(e)?null:e.map((e,t)=>{let{innerHTML:n,...r}=e,i=Ae(r);return n&&(i.dangerouslySetInnerHTML={__html:n}),_.createElement(`script`,{key:t,...i})})}renderStyle(){let{style:e}=this.props;return!e||!Array.isArray(e)?null:e.map((e,t)=>{let{cssText:n,...r}=e,i=Ae(r);return n&&(i.dangerouslySetInnerHTML={__html:n}),_.createElement(`style`,{key:t,...i})})}renderNoscript(){let{noscript:e}=this.props;return!e||!Array.isArray(e)?null:e.map((e,t)=>{let{innerHTML:n,...r}=e,i=Ae(r);return n&&(i.dangerouslySetInnerHTML={__html:n}),_.createElement(`noscript`,{key:t,...i})})}render(){return _.createElement(_.Fragment,null,this.renderTitle(),this.renderBase(),this.renderMeta(),this.renderLink(),this.renderScript(),this.renderStyle(),this.renderNoscript())}},Pe=class extends _.Component{static defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1};shouldComponentUpdate(e){return!(0,v.default)(se(this.props,`helmetData`),se(e,`helmetData`))}mapNestedChildrenToProps(e,t){if(!t)return null;switch(e.type){case`script`:case`noscript`:return{innerHTML:t};case`style`:return{cssText:t};default:throw Error(`<${e.type} /> elements are self-closing and can not contain children. Refer to our API for more information.`)}}flattenArrayTypeChildren(e,t,n,r){return{...t,[e.type]:[...t[e.type]||[],{...n,...this.mapNestedChildrenToProps(e,r)}]}}mapObjectTypeChildren(e,t,n,r){switch(e.type){case`title`:return{...t,[e.type]:r,titleAttributes:{...n}};case`body`:return{...t,bodyAttributes:{...n}};case`html`:return{...t,htmlAttributes:{...n}};default:return{...t,[e.type]:{...n}}}}mapArrayTypeChildrenToProps(e,t){let n={...t};return Object.keys(e).forEach(t=>{n={...n,[t]:e[t]}}),n}
1warnOnInvalidChildren(e,t){return(0,y.default)(C.some(t=>e.type===t),typeof e.type==`function`?`You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.`:`Only elements types ${C.join(`, `)} are allowed. Helmet does not support rendering <${e.type}> elements. Refer to our API for more information.`),(0,y.default)(!t||typeof t==`string`||Array.isArray(t)&&!t.some(e=>typeof e!=`string`),`Helmet expects a string as a child of <${e.type}>. Did you forget to wrap your children in braces? ( <${e.type}>{\`\`}</${e.type}> ) Refer to our API for more information.`),!0}mapChildrenToProps(e,t){let n={};return _.Children.forEach(e,e=>{if(!e||!e.props)return;let{children:r,...i}=e.props,a=Object.keys(i).reduce((e,t)=>(e[T[t]||t]=i[t],e),{}),{type:o}=e;switch(typeof o==`symbol`?o=o.toString():this.warnOnInvalidChildren(e,r),o){case`Symbol(react.fragment)`:t=this.mapChildrenToProps(r,t);break;case`link`:case`meta`:case`noscript`:case`script`:case`style`:n=this.flattenArrayTypeChildren(e,n,a,r);break;default:t=this.mapObjectTypeChildren(e,t,a,r);break}}),this.mapArrayTypeChildrenToProps(n,t)}render(){let{children:e,...t}=this.props,n={...t},{helmetData:r}=t;return e&&(n=this.mapChildrenToProps(e,n)),r&&!(r instanceof _e)&&(r=new _e(r.context,!0),delete n.helmetData),ve?_.createElement(Ne,{...n}):r?_.createElement(De,{...n,context:r.value}):_.createElement(ye.Consumer,null,e=>_.createElement(De,{...n,context:e}))}},Fe=s((e=>{var t=p().__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;e.c=function(e){return t.H.useMemoCache(e)}})),Ie=s(((e,t)=>{t.exports=Fe()})),Le=(...e)=>e.filter((e,t,n)=>!!e&&e.trim()!==``&&n.indexOf(e)===t).join(` `).trim(),Re=e=>e.replace(/([a-z0-9])([A-Z])/g,`$1-$2`).toLowerCase(),ze=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,n)=>n?n.toUpperCase():t.toLowerCase()),Be=e=>{let t=ze(e);return t.charAt(0).toUpperCase()+t.slice(1)},Ve={xmlns:`http://www.w3.org/2000/svg`,width:24,height:24,viewBox:`0 0 24 24`,fill:`none`,stroke:`currentColor`,strokeWidth:2,strokeLinecap:`round`,strokeLinejoin:`round`},He=e=>{for(let t in e)if(t.startsWith(`aria-`)||t===`role`||t===`title`)return!0;return!1},Ue=(0,_.createContext)({}),We=()=>(0,_.useContext)(Ue),Ge=(0,_.forwardRef)(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:r,className:i=``,children:a,iconNode:o,...s},c)=>{let{size:l=24,strokeWidth:u=2,absoluteStrokeWidth:d=!1,color:f=`currentColor`,className:p=``}=We()??{},m=r??d?Number(n??u)*24/Number(t??l):n??u;return(0,_.createElement)(`svg`,{ref:c,...Ve,width:t??l??Ve.width,height:t??l??Ve.height,stroke:e??f,strokeWidth:m,className:Le(`lucide`,p,i),...!a&&!He(s)&&{"aria-hidden":`true`},...s},[...o.map(([e,t])=>(0,_.createElement)(e,t)),...Array.isArray(a)?a:[a]])}),Ke=(e,t)=>{let n=(0,_.forwardRef)(({className:n,...r},i)=>(0,_.createElement)(Ge,{ref:i,iconNode:t,className:Le(`lucide-${Re(Be(e))}`,`lucide-${e}`,n),...r}));return n.displayName=Be(e),n},qe=s((e=>{var t=Symbol.for(`react.transitional.element`),n=Symbol.for(`react.fragment`);function r(e,n,r){var i=null;if(r!==void 0&&(i=``+r),n.key!==void 0&&(i=``+n.key),`key`in n)for(var a in r={},n)a!==`key`&&(r[a]=n[a]);else r=n;return n=r.ref,{$$typeof:t,type:e,key:i,ref:n===void 0?null:n,props:r}}e.Fragment=n,e.jsx=r,e.jsxs=r})),Je=s(((e,t)=>{t.exports=qe()})),L=Je(),Ye=(0,_.createContext)({});function Xe(e){let t=(0,_.useRef)(null);return t.current===null&&(t.current=e()),t.current}var Ze=typeof window<`u`?_.useLayoutEffect:_.useEffect,Qe=(0,_.createContext)(null);function $e(e,t){e.indexOf(t)===-1&&e.push(t)}function et(e,t){let n=e.indexOf(t);n>-1&&e.splice(n,1)}var tt=(e,t,n)=>n>t?t:n<e?e:n,nt={},rt=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),it=e=>typeof e==`object`&&!!e,at=e=>/^0[^.\s]+$/u.test(e);function ot(e){let t;return()=>(t===void 0&&(t=e()),t)}var R=e=>e,st=(...e)=>e.reduce((e,t)=>n=>t(e(n))),ct=(e,t,n)=>{let r=t-e;return r?(n-e)/r:1},lt=class{constructor(){this.subscriptions=[]}add(e){return $e(this.subscriptions,e),()=>et(this.subscriptions,e)}notify(e,t,n){let r=this.subscriptions.length;
1if(r)if(r===1)this.subscriptions[0](e,t,n);else for(let i=0;i<r;i++){let r=this.subscriptions[i];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}},z=e=>e*1e3,ut=e=>e/1e3,dt=(e,t)=>t?1e3/t*e:0,ft=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,pt=1e-7,mt=12;function ht(e,t,n,r,i){let a,o,s=0;do o=t+(n-t)/2,a=ft(o,r,i)-e,a>0?n=o:t=o;while(Math.abs(a)>pt&&++s<mt);return o}function gt(e,t,n,r){if(e===t&&n===r)return R;let i=t=>ht(t,0,1,e,n);return e=>e===0||e===1?e:ft(i(e),t,r)}var _t=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,vt=e=>t=>1-e(1-t),yt=gt(.33,1.53,.69,.99),bt=vt(yt),xt=_t(bt),St=e=>e>=1?1:(e*=2)<1?.5*bt(e):.5*(2-2**(-10*(e-1))),Ct=e=>1-Math.sin(Math.acos(e)),wt=vt(Ct),Tt=_t(Ct),Et=gt(.42,0,1,1),Dt=gt(0,0,.58,1),Ot=gt(.42,0,.58,1),kt=e=>Array.isArray(e)&&typeof e[0]!=`number`,At=e=>Array.isArray(e)&&typeof e[0]==`number`,jt={linear:R,easeIn:Et,easeInOut:Ot,easeOut:Dt,circIn:Ct,circInOut:Tt,circOut:wt,backIn:bt,backInOut:xt,backOut:yt,anticipate:St},Mt=e=>typeof e==`string`,Nt=e=>{if(At(e)){e.length;let[t,n,r,i]=e;return gt(t,n,r,i)}else if(Mt(e))return jt[e],`${e}`,jt[e];return e},Pt=[`setup`,`read`,`resolveKeyframes`,`preUpdate`,`update`,`preRender`,`render`,`postRender`],Ft={value:null,addProjectionMetrics:null};function It(e,t){let n=new Set,r=new Set,i=!1,a=!1,o=new WeakSet,s={delta:0,timestamp:0,isProcessing:!1},c=0;function l(t){o.has(t)&&(u.schedule(t),e()),c++,t(s)}let u={schedule:(e,t=!1,a=!1)=>{let s=a&&i?n:r;return t&&o.add(e),s.add(e),e},cancel:e=>{r.delete(e),o.delete(e)},process:e=>{if(s=e,i){a=!0;return}i=!0;let o=n;n=r,r=o,n.forEach(l),t&&Ft.value&&Ft.value.frameloop[t].push(c),c=0,n.clear(),i=!1,a&&(a=!1,u.process(e))}};return u}var Lt=40;function Rt(e,t){let n=!1,r=!0,i={delta:0,timestamp:0,isProcessing:!1},a=()=>n=!0,o=Pt.reduce((e,n)=>(e[n]=It(a,t?n:void 0),e),{}),{setup:s,read:c,resolveKeyframes:l,preUpdate:u,update:d,preRender:f,render:p,postRender:m}=o,h=()=>{let a=nt.useManualTiming,o=a?i.timestamp:performance.now();n=!1,a||(i.delta=r?1e3/60:Math.max(Math.min(o-i.timestamp,Lt),1)),i.timestamp=o,i.isProcessing=!0,s.process(i),c.process(i),l.process(i),u.process(i),d.process(i),f.process(i),p.process(i),m.process(i),i.isProcessing=!1,n&&t&&(r=!1,e(h))},g=()=>{n=!0,r=!0,i.isProcessing||e(h)};return{schedule:Pt.reduce((e,t)=>{let r=o[t];return e[t]=(e,t=!1,i=!1)=>(n||g(),r.schedule(e,t,i)),e},{}),cancel:e=>{for(let t=0;t<Pt.length;t++)o[Pt[t]].cancel(e)},state:i,steps:o}}var{schedule:B,cancel:zt,state:V,steps:Bt}=Rt(typeof requestAnimationFrame<`u`?requestAnimationFrame:R,!0),Vt;function Ht(){Vt=void 0}var H={now:()=>(Vt===void 0&&H.set(V.isProcessing||nt.useManualTiming?V.timestamp:performance.now()),Vt),set:e=>{Vt=e,queueMicrotask(Ht)}},Ut={layout:0,mainThread:0,waapi:0},Wt=e=>t=>typeof t==`string`&&t.startsWith(e),Gt=Wt(`--`),Kt=Wt(`var(--`),qt=e=>Kt(e)?Jt.test(e.split(`/*`)[0].trim()):!1,Jt=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function Yt(e){return typeof e==`string`?e.split(`/*`)[0].includes(`var(--`):!1}var Xt={test:e=>typeof e==`number`,parse:parseFloat,transform:e=>e},Zt={...Xt,transform:e=>tt(0,1,e)},Qt={...Xt,default:1},$t=e=>Math.round(e*1e5)/1e5,en=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function tn(e){return e==null}var nn=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,rn=(e,t)=>n=>!!(typeof n==`string`&&nn.test(n)&&n.startsWith(e)||t&&!tn(n)&&Object.prototype.hasOwnProperty.call(n,t)),an=(e,t,n)=>r=>{if(typeof r!=`string`)return r;let[i,a,o,s]=r.match(en);return{[e]:parseFloat(i),[t]:parseFloat(a),[n]:parseFloat(o),alpha:s===void 0?1:parseFloat(s)}},on=e=>tt(0,255,e),sn={...Xt,transform:e=>Math.round(on(e))},cn={test:rn(`rgb`,`red`),parse:an(`red`,`green`,`blue`),transform:({red:e,green:t,blue:n,alpha:r=1})=>`rgba(`+sn.transform(e)+`, `+sn.transform(t)+`, `+sn.transform(n)+`, `+$t(Zt.transform(r))+`)`};function ln(e){let t=``,n=``,r=``,i=``;return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),i=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),i=e.substring(4,5),t+=t,n+=n,r+=r,i+=i),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alph
1a:i?parseInt(i,16)/255:1}}var un={test:rn(`#`),parse:ln,transform:cn.transform},dn=e=>({test:t=>typeof t==`string`&&t.endsWith(e)&&t.split(` `).length===1,parse:parseFloat,transform:t=>`${t}${e}`}),fn=dn(`deg`),pn=dn(`%`),U=dn(`px`),mn=dn(`vh`),hn=dn(`vw`),gn={...pn,parse:e=>pn.parse(e)/100,transform:e=>pn.transform(e*100)},_n={test:rn(`hsl`,`hue`),parse:an(`hue`,`saturation`,`lightness`),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>`hsla(`+Math.round(e)+`, `+pn.transform($t(t))+`, `+pn.transform($t(n))+`, `+$t(Zt.transform(r))+`)`},W={test:e=>cn.test(e)||un.test(e)||_n.test(e),parse:e=>cn.test(e)?cn.parse(e):_n.test(e)?_n.parse(e):un.parse(e),transform:e=>typeof e==`string`?e:e.hasOwnProperty(`red`)?cn.transform(e):_n.transform(e),getAnimatableNone:e=>{let t=W.parse(e);return t.alpha=0,W.transform(t)}},vn=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function yn(e){return isNaN(e)&&typeof e==`string`&&(e.match(en)?.length||0)+(e.match(vn)?.length||0)>0}var bn=`number`,xn=`color`,Sn=`var`,Cn=`var(`,wn="${}",Tn=/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 En(e){let t=e.toString(),n=[],r={color:[],number:[],var:[]},i=[],a=0;return{values:n,split:t.replace(Tn,e=>(W.test(e)?(r.color.push(a),i.push(xn),n.push(W.parse(e))):e.startsWith(Cn)?(r.var.push(a),i.push(Sn),n.push(e)):(r.number.push(a),i.push(bn),n.push(parseFloat(e))),++a,wn)).split(wn),indexes:r,types:i}}function Dn(e){return En(e).values}function On({split:e,types:t}){let n=e.length;return r=>{let i=``;for(let a=0;a<n;a++)if(i+=e[a],r[a]!==void 0){let e=t[a];e===bn?i+=$t(r[a]):e===xn?i+=W.transform(r[a]):i+=r[a]}return i}}function kn(e){return On(En(e))}var An=e=>typeof e==`number`?0:W.test(e)?W.getAnimatableNone(e):e,jn=(e,t)=>typeof e==`number`?t?.trim().endsWith(`/`)?e:0:An(e);function Mn(e){let t=En(e);return On(t)(t.values.map((e,n)=>jn(e,t.split[n])))}var Nn={test:yn,parse:Dn,createTransformer:kn,getAnimatableNone:Mn};function Pn(e,t,n){return n<0&&(n+=1),n>1&&--n,n<1/6?e+(t-e)*6*n:n<1/2?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function Fn({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,t/=100,n/=100;let i=0,a=0,o=0;if(!t)i=a=o=n;else{let r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;i=Pn(s,r,e+1/3),a=Pn(s,r,e),o=Pn(s,r,e-1/3)}return{red:Math.round(i*255),green:Math.round(a*255),blue:Math.round(o*255),alpha:r}}function In(e,t){return n=>n>0?t:e}var G=(e,t,n)=>e+(t-e)*n,Ln=(e,t,n)=>{let r=e*e,i=n*(t*t-r)+r;return i<0?0:Math.sqrt(i)},Rn=[un,cn,_n],zn=e=>Rn.find(t=>t.test(e));function Bn(e){let t=zn(e);if(`${e}`,!t)return!1;let n=t.parse(e);return t===_n&&(n=Fn(n)),n}var Vn=(e,t)=>{let n=Bn(e),r=Bn(t);if(!n||!r)return In(e,t);let i={...n};return e=>(i.red=Ln(n.red,r.red,e),i.green=Ln(n.green,r.green,e),i.blue=Ln(n.blue,r.blue,e),i.alpha=G(n.alpha,r.alpha,e),cn.transform(i))},Hn=new Set([`none`,`hidden`]);function Un(e,t){return Hn.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}function Wn(e,t){return n=>G(e,t,n)}function Gn(e){return typeof e==`number`?Wn:typeof e==`string`?qt(e)?In:W.test(e)?Vn:Yn:Array.isArray(e)?Kn:typeof e==`object`?W.test(e)?Vn:qn:In}function Kn(e,t){let n=[...e],r=n.length,i=e.map((e,n)=>Gn(e)(e,t[n]));return e=>{for(let t=0;t<r;t++)n[t]=i[t](e);return n}}function qn(e,t){let n={...e,...t},r={};for(let i in n)e[i]!==void 0&&t[i]!==void 0&&(r[i]=Gn(e[i])(e[i],t[i]));return e=>{for(let t in r)n[t]=r[t](e);return n}}function Jn(e,t){let n=[],r={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){let a=t.types[i],o=e.indexes[a][r[a]];n[i]=e.values[o]??0,r[a]++}return n}var Yn=(e,t)=>{let n=Nn.createTransformer(t),r=En(e),i=En(t);return r.indexes.var.length===i.indexes.var.length&&r.indexes.color.length===i.indexes.color.length&&r.indexes.number.length>=i.indexes.number.length?Hn.has(e)&&!i.values.length||Hn.has(t)&&!r.values.length?Un(e,t):st(Kn(Jn(r,i),i.values),n):(`${e}${t}`,In(e,t))};function Xn(e,t,n){return typeof e==`number`&&typeof t==`number`&&typeof n==`
1number`?G(e,t,n):Gn(e)(e,t)}var Zn=e=>{let t=({timestamp:t})=>e(t);return{start:(e=!0)=>B.update(t,e),stop:()=>zt(t),now:()=>V.isProcessing?V.timestamp:H.now()}},Qn=(e,t,n=10)=>{let r=``,i=Math.max(Math.round(t/n),2);for(let t=0;t<i;t++)r+=Math.round(e(t/(i-1))*1e4)/1e4+`, `;return`linear(${r.substring(0,r.length-2)})`},$n=2e4;function er(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}function tr(e,t=100,n){let r=n({...e,keyframes:[0,t]}),i=Math.min(er(r),$n);return{type:`keyframes`,ease:e=>r.next(i*e).value/t,duration:ut(i)}}var K={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function nr(e,t){return e*Math.sqrt(1-t*t)}var rr=12;function ir(e,t,n){let r=n;for(let n=1;n<rr;n++)r-=e(r)/t(r);return r}var ar=.001;function or({duration:e=K.duration,bounce:t=K.bounce,velocity:n=K.velocity,mass:r=K.mass}){let i,a;K.maxDuration;let o=1-t;o=tt(K.minDamping,K.maxDamping,o),e=tt(K.minDuration,K.maxDuration,ut(e)),o<1?(i=t=>{let r=t*o,i=r*e,a=r-n,s=nr(t,o),c=Math.exp(-i);return ar-a/s*c},a=t=>{let r=t*o*e,a=r*n+n,s=o**2*t**2*e,c=Math.exp(-r),l=nr(t**2,o);return(-i(t)+ar>0?-1:1)*((a-s)*c)/l}):(i=t=>-.001+Math.exp(-t*e)*((t-n)*e+1),a=t=>Math.exp(-t*e)*((n-t)*(e*e)));let s=5/e,c=ir(i,a,s);if(e=z(e),isNaN(c))return{stiffness:K.stiffness,damping:K.damping,duration:e};{let t=c**2*r;return{stiffness:t,damping:o*2*Math.sqrt(r*t),duration:e}}}var sr=[`duration`,`bounce`],cr=[`stiffness`,`damping`,`mass`];function lr(e,t){return t.some(t=>e[t]!==void 0)}function ur(e){let t={velocity:K.velocity,stiffness:K.stiffness,damping:K.damping,mass:K.mass,isResolvedFromDuration:!1,...e};if(!lr(e,cr)&&lr(e,sr))if(t.velocity=0,e.visualDuration){let n=e.visualDuration,r=2*Math.PI/(n*1.2),i=r*r,a=2*tt(.05,1,1-(e.bounce||0))*Math.sqrt(i);t={...t,mass:K.mass,stiffness:i,damping:a}}else{let n=or({...e,velocity:0});t={...t,...n,mass:K.mass},t.isResolvedFromDuration=!0}return t}function dr(e=K.visualDuration,t=K.bounce){let n=typeof e==`object`?e:{visualDuration:e,keyframes:[0,1],bounce:t},{restSpeed:r,restDelta:i}=n,a=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],s={done:!1,value:a},{stiffness:c,damping:l,mass:u,duration:d,velocity:f,isResolvedFromDuration:p}=ur({...n,velocity:-ut(n.velocity||0)}),m=f||0,h=l/(2*Math.sqrt(c*u)),g=o-a,_=ut(Math.sqrt(c/u)),v=Math.abs(g)<5;r||=v?K.restSpeed.granular:K.restSpeed.default,i||=v?K.restDelta.granular:K.restDelta.default;let y,b,x,S,C,w;if(h<1)x=nr(_,h),S=(m+h*_*g)/x,y=e=>o-Math.exp(-h*_*e)*(S*Math.sin(x*e)+g*Math.cos(x*e)),C=h*_*S+g*x,w=h*_*g-S*x,b=e=>Math.exp(-h*_*e)*(C*Math.sin(x*e)+w*Math.cos(x*e));else if(h===1){y=e=>o-Math.exp(-_*e)*(g+(m+_*g)*e);let e=m+_*g;b=t=>Math.exp(-_*t)*(_*e*t-m)}else{let e=_*Math.sqrt(h*h-1);y=t=>{let n=Math.exp(-h*_*t),r=Math.min(e*t,300);return o-n*((m+h*_*g)*Math.sinh(r)+e*g*Math.cosh(r))/e};let t=(m+h*_*g)/e,n=h*_*t-g*e,r=h*_*g-t*e;b=t=>{let i=Math.exp(-h*_*t),a=Math.min(e*t,300);return i*(n*Math.sinh(a)+r*Math.cosh(a))}}let T={calculatedDuration:p&&d||null,velocity:e=>z(b(e)),next:e=>{if(!p&&h<1){let t=Math.exp(-h*_*e),n=Math.sin(x*e),a=Math.cos(x*e),c=o-t*(S*n+g*a),l=z(t*(C*n+w*a));return s.done=Math.abs(l)<=r&&Math.abs(o-c)<=i,s.value=s.done?o:c,s}let t=y(e);if(p)s.done=e>=d;else{let n=z(b(e));s.done=Math.abs(n)<=r&&Math.abs(o-t)<=i}return s.value=s.done?o:t,s},toString:()=>{let e=Math.min(er(T),$n),t=Qn(t=>T.next(e*t).value,e,30);return e+`ms `+t},toTransition:()=>{}};return T}dr.applyToOptions=e=>{let t=tr(e,100,dr);return e.ease=t.ease,e.duration=z(t.duration),e.type=`keyframes`,e};var fr=5;function pr(e,t,n){let r=Math.max(t-fr,0);return dt(n-e(r),t-r)}function mr({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:i=10,bounceStiffness:a=500,modifyTarget:o,min:s,max:c,restDelta:l=.5,restSpeed:u}){let d=e[0],f={done:!1,value:d},p=e=>s!==void 0&&e<s||c!==void 0&&e>c,m=e=>s===void 0?c:c===void 0||Math.abs(s-e)<Math.abs(c-e)?s:c,h=n*t,g=d+h,_=o===void 0?g:o(g);_!==g&&(h=_-d);let v=e=>-h*Math.exp(-e/r),y=e=>_+v(e),b=e=>{let t=v(e),n=y(e);f.done=Math.abs(t)<=l,f.value=f.done?_:n},x,S,C=e=>{p(f.value)&&(x=e,S=dr({keyframes:[f.value,m(f.value)],velocity:pr(y,e,f.value),damping:i,stiffness:a,restDelta:l,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!S&&x===void 0&&(t=!0,b(e),C(e)),x!==void 0&&e>=x?S.next(e-x):(!t&&b(e),f)}}}function hr(e,t,n){let r=[],i=n||nt.mix||Xn,a=e.length-1;for(let n=0;n<a;n++){let a=i(e[n],e[n+1]);t&&(a=st(Array.isArray(t)?t[n]||R:t,a)),r.push(a)}return r}function gr(e,t,{clamp:n=!0,ease:r,mixer:i}={}){let a=e.length;if(t.length,a===1)return()=>t[0];if(a===2&&t[0]===t[1])return()=>t[1];let o=e[0]===e[1];e[0]>e[a-1]&&(e=[...e].reverse(),t=[...t].reverse());let s=hr(t,r,i),c=s.length,l=n=>{if(o&&n<e[0])return t[0];let r=0;if(c>1)for(;r<e.length-2&&!(n<e[r+1]);r++);let i=ct(e[r],e[r+1],n);return s[r](i)};return n?t=>l(tt(e[0],e[a-1],t)):l}function _r(e,t){let n=e[e.length-1];for(let r=1;r<=t;r++){let i=ct(0,t,r);e.push(G(n,1,i))}}function vr(e){let t=[0];return _r(t,e.length-1),t}function yr(e,t){return e.map(e=>e*t)}function br(e,t){return e.map(()=>t||Ot).splice(0,e.length-1)}function xr({duration:e=300,keyframes:t,times:n,ease:r=`easeInOut`}){let i=kt(r)?r.map(Nt):Nt(r),a={done:!1,value:t[0]},o=gr(yr(n&&n.length===t.length?n:vr(t),e),t,{ease:Array.isArray(i)?i:br(t,i)});return{calculatedDuration:e,next:t=>(a.value=o(t),a.done=t>=e,a)}}var Sr=e=>e!==null;function Cr(e,{repeat:t,repeatType:n=`loop`},r,i=1){let a=e.filter(Sr),o=i<0||t&&n!==`loop`&&t%2==1?0:a.length-1;return!o||r===void 0?a[o]:r}var wr={decay:mr,inertia:mr,tween:xr,keyframes:xr,spring:dr};function Tr(e){typeof e.type==`string`&&(e.type=wr[e.type])}var Er=class{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,t){return this.finished.then(e,t)}},Dr=e=>
1e/100,Or=class extends Er{constructor(e){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:e}=this.options;e&&e.updatedAt!==H.now()&&this.tick(H.now()),this.isStopped=!0,this.state!==`idle`&&(this.teardown(),this.options.onStop?.())},Ut.mainThread++,this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){let{options:e}=this;Tr(e);let{type:t=xr,repeat:n=0,repeatDelay:r=0,repeatType:i,velocity:a=0}=e,{keyframes:o}=e,s=t||xr;s!==xr&&typeof o[0]!=`number`&&(this.mixKeyframes=st(Dr,Xn(o[0],o[1])),o=[0,100]);let c=s({...e,keyframes:o});i===`mirror`&&(this.mirroredGenerator=s({...e,keyframes:[...o].reverse(),velocity:-a})),c.calculatedDuration===null&&(c.calculatedDuration=er(c));let{calculatedDuration:l}=c;this.calculatedDuration=l,this.resolvedDuration=l+r,this.totalDuration=this.resolvedDuration*(n+1)-r,this.generator=c}updateTime(e){let t=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime===null?this.currentTime=t:this.currentTime=this.holdTime}tick(e,t=!1){let{generator:n,totalDuration:r,mixKeyframes:i,mirroredGenerator:a,resolvedDuration:o,calculatedDuration:s}=this;if(this.startTime===null)return n.next(0);let{delay:c=0,keyframes:l,repeat:u,repeatType:d,repeatDelay:f,type:p,onUpdate:m,finalKeyframe:h}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-r/this.speed,this.startTime)),t?this.currentTime=e:this.updateTime(e);let g=this.currentTime-c*(this.playbackSpeed>=0?1:-1),_=this.playbackSpeed>=0?g<0:g>r;this.currentTime=Math.max(g,0),this.state===`finished`&&this.holdTime===null&&(this.currentTime=r);let v=this.currentTime,y=n;if(u){let e=Math.min(this.currentTime,r)/o,t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),n===1&&t--,t=Math.min(t,u+1),t%2&&(d===`reverse`?(n=1-n,f&&(n-=f/o)):d===`mirror`&&(y=a)),v=tt(0,1,n)*o}let b;_?(this.delayState.value=l[0],b=this.delayState):b=y.next(v),i&&!_&&(b.value=i(b.value));let{done:x}=b;!_&&s!==null&&(x=this.playbackSpeed>=0?this.currentTime>=r:this.currentTime<=0);let S=this.holdTime===null&&(this.state===`finished`||this.state===`running`&&x);return S&&p!==mr&&(b.value=Cr(l,this.options,h,this.speed)),m&&m(b.value),S&&this.finish(),b}then(e,t){return this.finished.then(e,t)}get duration(){return ut(this.calculatedDuration)}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+ut(e)}get time(){return ut(this.currentTime)}set time(e){e=z(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?this.driver.start(!1):(this.startTime=0,this.state=`paused`,this.holdTime=e,this.tick(e))}getGeneratorVelocity(){let e=this.currentTime;if(e<=0)return this.options.velocity||0;if(this.generator.velocity)return this.generator.velocity(e);let t=this.generator.next(e).value;return pr(e=>this.generator.next(e).value,e,t)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;t&&this.driver&&this.updateTime(H.now()),this.playbackSpeed=e,t&&this.driver&&(this.time=ut(this.currentTime))}play(){if(this.isStopped)return;let{driver:e=Zn,startTime:t}=this.options;this.driver||=e(e=>this.tick(e)),this.options.onPlay?.();let n=this.driver.now();this.state===`finished`?(this.updateFinished(),this.startTime=n):this.holdTime===null?this.startTime||=t??n:this.startTime=n-this.holdTime,this.state===`finished`&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state=`running`,this.driver.start()}pause(){this.state=`paused`,this.updateTime(H.now()),this.holdTime=this.currentTime}complete(){this.state!==`running`&&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,Ut.mainThread--}stopDriver(){this.driver&&=(this.driver.stop(),void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type=`keyframes`,this.options.ease=`linear`,this.initAnimation()),this.driver?.stop(),e.observe(this)}};function kr(e){for(let t=1;t<e.length;t++)e[t]??(e[t]=e[t-1])}var Ar=e=>e*180/Math.PI,jr=e=>Nr(Ar(Math.atan2(e[1],e[0]))),Mr={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:e=>(Math.abs(e[0])+Math.abs(e[3]))/2,rotate:jr,rotateZ:jr,skewX:e=>Ar(Math.atan(e[1])),skewY:e=>Ar(Math.atan(e[2])),skew:e=>(Math.abs(e[1])+Math.abs(e[2]))/2},Nr=e=>(e%=360,e<0&&(e+=360),e),Pr=jr,Fr=e=>Math.sqrt(e[0]*e[0]+e[1]*e[1]),Ir=e=>Math.sqrt(e[4]*e[4]+e[5]*e[5]),Lr={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Fr,scaleY:Ir,scale:e=>(Fr(e)+Ir(e))/2,rotateX:e=>Nr(Ar(Math.atan2(e[6],e[5]))),rotateY:e=>Nr(Ar(Math.atan2(-e[2],e[0]))),rotateZ:Pr,rotate:Pr,skewX:e=>Ar(Math.atan(e[4])),skewY:e=>Ar(Math.atan(e[1])),skew:e=>(Math.abs(e[1])+Math.abs(e[4]))/2};function Rr(e){return+!!e.includes(`scale`)}
1function zr(e,t){if(!e||e===`none`)return Rr(t);let n=e.match(/^matrix3d\(([-\d.e\s,]+)\)$/u),r,i;if(n)r=Lr,i=n;else{let t=e.match(/^matrix\(([-\d.e\s,]+)\)$/u);r=Mr,i=t}if(!i)return Rr(t);let a=r[t],o=i[1].split(`,`).map(Vr);return typeof a==`function`?a(o):o[a]}var Br=(e,t)=>{let{transform:n=`none`}=getComputedStyle(e);return zr(n,t)};function Vr(e){return parseFloat(e.trim())}var Hr=[`transformPerspective`,`x`,`y`,`z`,`translateX`,`translateY`,`translateZ`,`scale`,`scaleX`,`scaleY`,`rotate`,`rotateX`,`rotateY`,`rotateZ`,`skew`,`skewX`,`skewY`],Ur=new Set([...Hr,`pathRotation`]),Wr=e=>e===Xt||e===U,Gr=new Set([`x`,`y`,`z`]),Kr=Hr.filter(e=>!Gr.has(e));function qr(e){let t=[];return Kr.forEach(n=>{let r=e.getValue(n);r!==void 0&&(t.push([n,r.get()]),r.set(+!!n.startsWith(`scale`)))}),t}var Jr={width:({x:e},{paddingLeft:t=`0`,paddingRight:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},height:({y:e},{paddingTop:t=`0`,paddingBottom:n=`0`,boxSizing:r})=>{let i=e.max-e.min;return r===`border-box`?i:i-parseFloat(t)-parseFloat(n)},top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:(e,{transform:t})=>zr(t,`x`),y:(e,{transform:t})=>zr(t,`y`)};Jr.translateX=Jr.x,Jr.translateY=Jr.y;var Yr=new Set,Xr=!1,Zr=!1,Qr=!1;function $r(){if(Zr){let e=Array.from(Yr).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{let t=qr(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();let t=n.get(e);t&&t.forEach(([t,n])=>{e.getValue(t)?.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{e.suspendedScrollY!==void 0&&window.scrollTo(0,e.suspendedScrollY)})}Zr=!1,Xr=!1,Yr.forEach(e=>e.complete(Qr)),Yr.clear()}function ei(){Yr.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Zr=!0)})}function ti(){Qr=!0,ei(),$r(),Qr=!1}var ni=class{constructor(e,t,n,r,i,a=!1){this.state=`pending`,this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=i,this.isAsync=a}scheduleResolve(){this.state=`scheduled`,this.isAsync?(Yr.add(this),Xr||(Xr=!0,B.read(ei),B.resolveKeyframes($r))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;if(e[0]===null){let i=r?.get(),a=e[e.length-1];if(i!==void 0)e[0]=i;else if(n&&t){let r=n.readValue(t,a);r!=null&&(e[0]=r)}e[0]===void 0&&(e[0]=a),r&&i===void 0&&r.set(e[0])}kr(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state=`complete`,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),Yr.delete(this)}cancel(){this.state===`scheduled`&&(Yr.delete(this),this.state=`pending`)}resume(){this.state===`pending`&&this.scheduleResolve()}},ri=e=>e.startsWith(`--`);function ii(e,t,n){ri(t)?e.style.setProperty(t,n):e.style[t]=n}var ai={};function oi(e,t){let n=ot(e);return()=>ai[t]??n()}var si=oi(()=>window.ScrollTimeline!==void 0,`scrollTimeline`),ci=oi(()=>window.ViewTimeline!==void 0,`viewTimeline`),li=oi(()=>{try{document.createElement(`div`).animate({opacity:0}
1,{easing:`linear(0, 1)`})}catch{return!1}return!0},`linearEasing`),ui=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,di={linear:`linear`,ease:`ease`,easeIn:`ease-in`,easeOut:`ease-out`,easeInOut:`ease-in-out`,circIn:ui([0,.65,.55,1]),circOut:ui([.55,0,1,.45]),backIn:ui([.31,.01,.66,-.59]),backOut:ui([.33,1.53,.69,.99])};function fi(e,t){if(e)return typeof e==`function`?li()?Qn(e,t):`ease-out`:At(e)?ui(e):Array.isArray(e)?e.map(e=>fi(e,t)||di.easeOut):di[e]}function pi(e,t,n,{delay:r=0,duration:i=300,repeat:a=0,repeatType:o=`loop`,ease:s=`easeOut`,times:c}={},l=void 0){let u={[t]:n};c&&(u.offset=c);let d=fi(s,i);Array.isArray(d)&&(u.easing=d),Ft.value&&Ut.waapi++;let f={delay:r,duration:i,easing:Array.isArray(d)?`linear`:d,fill:`both`,iterations:a+1,direction:o===`reverse`?`alternate`:`normal`};l&&(f.pseudoElement=l);let p=e.animate(u,f);return Ft.value&&p.finished.finally(()=>{Ut.waapi--}),p}function mi(e){return typeof e==`function`&&`applyToOptions`in e}function hi({type:e,...t}){return mi(e)&&li()?e.applyToOptions(t):(t.duration??=300,t.ease??=`easeOut`,t)}var gi=class extends Er{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;let{element:t,name:n,keyframes:r,pseudoElement:i,allowFlatten:a=!1,finalKeyframe:o,onComplete:s}=e;this.isPseudoElement=!!i,this.allowFlatten=a,this.options=e,e.type;let c=hi(e);this.animation=pi(t,n,r,c,i),c.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!i){let e=Cr(r,this.options,o,this.speed);this.updateMotionValue&&this.updateMotionValue(e),ii(t,n,e),this.animation.cancel()}s?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state===`finished`&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:e}=this;e===`idle`||e===`finished`||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){let e=this.options?.element;!this.isPseudoElement&&e?.isConnected&&this.animation.commitStyles?.()}get duration(){let e=this.animation.effect?.getComputedTiming?.().duration||0;return ut(Number(e))}get iterationDuration(){let{delay:e=0}=this.options||{};return this.duration+ut(e)}get time(){return ut(Number(this.animation.currentTime)||0)}set time(e){let t=this.finishedTime!==null;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=z(e),t&&this.animation.pause()}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime===null?this.animation.playState:`f
1inished`}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,rangeStart:t,rangeEnd:n,observe:r}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:`linear`}),this.animation.onfinish=null,e&&si()?(this.animation.timeline=e,t&&(this.animation.rangeStart=t),n&&(this.animation.rangeEnd=n),R):r(this)}},_i={anticipate:St,backInOut:xt,circInOut:Tt};function vi(e){return e in _i}function yi(e){typeof e.ease==`string`&&vi(e.ease)&&(e.ease=_i[e.ease])}var bi=10,xi=class extends gi{constructor(e){yi(e),Tr(e),super(e),e.startTime!==void 0&&e.autoplay!==!1&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){let{motionValue:t,onUpdate:n,onComplete:r,element:i,...a}=this.options;if(!t)return;if(e!==void 0){t.set(e);return}let o=new Or({...a,autoplay:!1}),s=Math.max(bi,H.now()-this.startTime),c=tt(0,bi,s-bi),l=o.sample(s).value,{name:u}=this.options;i&&u&&ii(i,u,l),t.setWithVelocity(o.sample(Math.max(0,s-c)).value,l,c),o.stop()}},Si=(e,t)=>t===`zIndex`?!1:!!(typeof e==`number`||Array.isArray(e)||typeof e==`string`&&(Nn.test(e)||e===`0`)&&!e.startsWith(`url(`));function Ci(e){let t=e[0];if(e.length===1)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}function wi(e,t,n,r){let i=e[0];if(i===null)return!1;if(t===`display`||t===`visibility`)return!0;let a=e[e.length-1],o=Si(i,t),s=Si(a,t);return`${t}${i}${a}${o?a:i}`,!o||!s?!1:Ci(e)||(n===`spring`||mi(n))&&r}function Ti(e){e.duration=0,e.type=`keyframes`}var Ei=new Set([`opacity`,`clipPath`,`filter`,`transform`]),Di=/^(?:oklch|oklab|lab|lch|color|color-mix|light-dark)\(/;function Oi(e){for(let t=0;t<e.length;t++)if(typeof e[t]==`string`&&Di.test(e[t]))return!0;return!1}var ki=new Set([`color`,`backgroundColor`,`outlineColor`,`fill`,`stroke`,`borderColor`,`borderTopColor`,`borderRightColor`,`borderBottomColor`,`borderLeftColor`]),Ai=ot(()=>Object.hasOwnProperty.call(Element.prototype,`animate`));function ji(e){let{motionValue:t,name:n,repeatDelay:r,repeatType:i,damping:a,type:o,keyframes:s}=e;if(!(t?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:c,transformTemplate:l}=t.owner.getProps();return Ai()&&n&&(Ei.has(n)||ki.has(n)&&Oi(s))&&(n!==`transform`||!l)&&!c&&!r&&i!==`mirror`&&a!==0&&o!==`inertia`}var Mi=40,Ni=class extends Er{constructor({autoplay:e=!0,delay:t=0,type:n=`keyframes`,repeat:r=0,repeatDelay:i=0,repeatType:a=`loop`,keyframes:o,name:s,motionValue:c,element:l,...u}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=H.now();let d={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:i,repeatType:a,name:s,motionValue:c,element:l,...u},f=l?.KeyframeResolver||ni;this.keyframeResolver=new f(o,(e,t,n)=>this.onKeyframesResolved(e,t,d,!n),s,c,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,t,n,r){this.keyframeResolver=void 0;let{name:i,type:a,velocity:o,delay:s,isHandoff:c,onUpdate:l}=n;this.resolvedAt=H.now();let u=!0;wi(e,i,a,o)||(u=!1,(nt.instantAnimations||!s)&&l?.(Cr(e,n,t)),e[0]=e[e.length-1],Ti(n),n.repeat=0);let d={startTime:r?this.resolvedAt&&this.resolvedAt-this.createdAt>Mi?this.resolvedAt:this.createdAt:void 0,finalKeyframe:t,...n,keyframes:e},f=u&&!c&&ji(d),p=d.motionValue?.owner?.current,m;if(f)try{m=new xi({...d,element:p})}catch{m=new Or(d)}else m=new Or(d);m.finished.then(()=>{this.notifyFinished()}).catch(R),this.pendingTimeline&&=(this.stopTimeline=m.attachTimeline(this.pendingTimeline),void 0),this._animation=m}get finished(){return this._animation?this.animation.finished:this._finished}then(e,t){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),ti()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}};function Pi(e,t,n,r=0,i=1){let a=Array.from(e).sort((e,t)=>
1e.sortNodePosition(t)).indexOf(t),o=e.size,s=(o-1)*r;return typeof n==`function`?n(a,o):i===1?a*r:s-a*r}var Fi=30,Ii=e=>!isNaN(parseFloat(e)),Li={current:void 0},Ri=class{constructor(e,t={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=e=>{let t=H.now();if(this.updatedAt!==t&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let e of this.dependents)e.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=H.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=Ii(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on(`change`,e)}on(e,t){this.events[e]||(this.events[e]=new lt);let n=this.events[e].add(t);return e===`change`?()=>{n(),B.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||=new Set,this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return Li.current&&Li.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){let e=H.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>Fi)return 0;let t=Math.min(this.updatedAt-this.prevUpdatedAt,Fi);return dt(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),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 zi(e,t){return new Ri(e,t)}function Bi(e,t){if(e?.inherit&&t){let{inherit:n,...r}=e;return{...t,...r}}return e}function Vi(e,t){let n=e?.[t]??e?.default??e;return n===e?n:Bi(n,e)}var Hi={type:`spring`,stiffness:500,damping:25,restSpeed:10},Ui=e=>({type:`spring`,stiffness:550,damping:e===0?2*Math.sqrt(550):30,restSpeed:10}),Wi={type:`keyframes`,duration:.8},Gi={type:`keyframes`,ease:[.25,.1,.35,1],duration:.3},Ki=(e,{keyframes:t})=>t.length>2?Wi:Ur.has(e)?e.startsWith(`scale`)?Ui(t[1]):Hi:Gi,qi=new Set([`when`,`delay`,`delayChildren`,`staggerChildren`,`staggerDirection`,`repeat`,`repeatType`,`repeatDelay`,`from`,`elapsed`]);function Ji(e){for(let t in e)if(!qi.has(t))return!0;return!1}var Yi=(e,t,n,r={},i,a)=>o=>{let s=Vi(r,e)||{},c=s.delay||r.delay||0,{elapsed:l=0}=r;l-=z(c);let u={keyframes:Array.isArray(n)?n:[null,n],ease:`easeOut`,velocity:t.getVelocity(),...s,delay:-l,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{o(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:a?void 0:i};Ji(s)||Object.assign(u,Ki(e,u)),u.duration&&=z(u.duration),u.repeatDelay&&=z(u.repeatDelay),u.from!==void 0&&(u.keyframes[0]=u.from);let d=!1;if((u.type===!1||u.duration===0&&!u.repeatDelay)&&(Ti(u),u.delay===0&&(d=!0)),(nt.instantAnimations||nt.skipAnimations||i?.shouldSkipAnimations||s.skipAnimations)&&(d=!0,Ti(u),u.delay=0),u.allowFlatten=!s.type&&!s.ease,d&&!a&&t.get()!==void 0){let e=Cr(u.keyframes,s);if(e!==void 0){B.update(()=>{u.onUpdate(e),u.onComplete()});return}}return s.isSync?new Or(u):new Ni(u)},Xi=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Zi(e){let t=Xi.exec(e);if(!t)return[,];let[,n,r,i]=t;return[`--${n??r}`,i]}function Qi(e,t,n=1){`${e}`;let[r,i]=Zi(e);if(!r)return;let a=window.getComputedStyle(t).getPropertyValue(r);if(a){let e=a.trim();return rt(e)?parseFloat(e):e}return qt(i)?Qi(i,t,n+1):i}function $i(e){let t=[{},{}];
1return e?.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function ea(e,t,n,r){if(typeof t==`function`){let[i,a]=$i(r);t=t(n===void 0?e.custom:n,i,a)}if(typeof t==`string`&&(t=e.variants&&e.variants[t]),typeof t==`function`){let[i,a]=$i(r);t=t(n===void 0?e.custom:n,i,a)}return t}function ta(e,t,n){let r=e.getProps();return ea(r,t,n===void 0?r.custom:n,e)}var na=new Set([`width`,`height`,`top`,`left`,`right`,`bottom`,...Hr]),ra=e=>Array.isArray(e);function ia(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,zi(n))}function aa(e){return ra(e)?e[e.length-1]||0:e}function oa(e,t){let{transitionEnd:n={},transition:r={},...i}=ta(e,t)||{};i={...i,...n};for(let t in i)ia(e,t,aa(i[t]))}var q=e=>!!(e&&e.getVelocity);function sa(e){return!!(q(e)&&e.add)}function ca(e,t){let n=e.getValue(`willChange`);if(sa(n))return n.add(t);if(!n&&nt.WillChange){let n=new nt.WillChange(`auto`);e.addValue(`willChange`,n),n.add(t)}}function la(e){return e.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}var ua=`data-`+la(`framerAppearId`);function da(e){return e.props[ua]}function fa({protectedKeys:e,needsAnimating:t},n){let r=e.hasOwnProperty(n)&&t[n]!==!0;return t[n]=!1,r}function pa(e,t,{delay:n=0,transitionOverride:r,type:i}={}){let{transition:a,transitionEnd:o,...s}=t,c=e.getDefaultTransition();a=a?Bi(a,c):c;let l=a?.reduceMotion,u=a?.skipAnimations;r&&(a=r);let d=[],f=i&&e.animationState&&e.animationState.getState()[i],p=a?.path;p&&p.animateVisualElement(e,s,a,n,d);for(let t in s){let r=e.getValue(t,e.latestValues[t]??null),i=s[t];if(i===void 0||f&&fa(f,t))continue;let o={delay:n,...Vi(a||{},t)};u&&(o.skipAnimations=!0);let c=r.get();if(c!==void 0&&!r.isAnimating()&&!Array.isArray(i)&&i===c&&!o.velocity){B.update(()=>r.set(i));continue}let p=!1;if(window.MotionHandoffAnimation){let n=da(e);if(n){let e=window.MotionHandoffAnimation(n,t,B);e!==null&&(o.startTime=e,p=!0)}}ca(e,t);let m=l??e.shouldReduceMotion;r.start(Yi(t,r,i,m&&na.has(t)?{type:!1}:o,e,p));let h=r.animation;h&&d.push(h)}if(o){let t=()=>B.update(()=>{o&&oa(e,o)});d.length?Promise.all(d).then(t):t()}return d}function ma(e,t,n={}){let r=ta(e,t,n.type===`exit`?e.presenceContext?.custom:void 0),{transition:i=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(i=n.transitionOverride);let a=r?()=>Promise.all(pa(e,r,n)):()=>Promise.resolve(),o=e.variantChildren&&e.variantChildren.size?(r=0)=>{let{delayChildren:a=0,staggerChildren:o,staggerDirection:s}=i;return ha(e,t,r,a,o,s,n)}:()=>Promise.resolve(),{when:s}=i;if(s){let[e,t]=s===`beforeChildren`?[a,o]:[o,a];return e().then(()=>t())}else return Promise.all([a(),o(n.delay)])}function ha(e,t,n=0,r=0,i=0,a=1,o){let s=[];for(let c of e.variantChildren)c.notify(`AnimationStart`,t),s.push(ma(c,t,{...o,delay:n+(typeof r==`function`?0:r)+Pi(e.variantChildren,c,r,i,a)}).then(()=>c.notify(`AnimationComplete`,t)));return Promise.all(s)}function ga(e,t,n={}){e.notify(`AnimationStart`,t);let r;if(Array.isArray(t)){let i=t.map(t=>ma(e,t,n));r=Promise.all(i)}else if(typeof t==`string`)r=ma(e,t,n);else{let i=typeof t==`function`?ta(e,t,n.custom):t;r=Promise.all(pa(e,i,n))}return r.then(()=>{e.notify(`AnimationComplete`,t)})}var _a={test:e=>e===`auto`,parse:e=>e},va=e=>t=>t.test(e),ya=[Xt,U,pn,fn,hn,mn,_a],ba=e=>ya.find(va(e));function xa(e){return typeof e==`number`?e===0:e===null?!0:e===`none`||e===`0`||at(e)}var Sa=new Set([`brightness`,`contrast`,`saturate`,`opacity`]);function Ca(e){let[t,n]=e.slice(0,-1).split(`(`);if(t===`drop-shadow`)return e;let[r]=n.match(en)||[];if(!r)return e;let i=n.replace(r,``),a=+!!Sa.has(t);return r!==n&&(a*=100),t+`(`+a+i+`)`}var wa=/\b([a-z-]*)\(.*?\)/gu,Ta={...Nn,getAnimatableNone:e=>{let t=e.match(wa);return t?t.map(Ca).join(` `):e}},Ea={...Nn,getAnimatableNone:e=>{let t=Nn.parse(e);return Nn.createTransformer(e)(t.map(e=>typeof e==`number`?0:typeof e==`object`?{...e,alpha:1}:e))}},Da={...Xt,transform:Math.round},Oa={borderWidth:U,borderTopWidth:U,borderRightWidth:U,borderBottomWidth:U,borderLeftWidth:U,borderRadius:U,borderTopLeftRadius:U,borderTopRightRadius:U,borderBottomRightRadius:U,borderBottomLeftRadius:U,width:U,maxWidth:U,height:U,maxHeight:U,top:U,right:U,bottom:U,left:U,inset:U,insetBlock:U,insetBlockStart:U,insetBlockEnd:U,insetInline:U,insetInlineStart:U,insetInlineEnd:U,padding:U,paddingTop:U,paddingRight:U,paddingBottom:U,paddingLeft:U,paddingBlock:U,paddingBlockStart:U,paddingBlockEnd:U,paddingInline:U,paddingInlineStart:U,paddingInlineEnd:U,margin:U,marginTop:U,marginRight:U,marginBottom:U,marginLeft:U,marginBlock:U,marginBlockStart:U,marginBlockEnd:U,marginInline:U,marginInlineStart:U,marginInlineEnd:U,fontSize:U,backgroundPositionX:U,backgroundPositionY:U,rotate:fn,pathRotation:fn,rotateX:fn,rotateY:fn,rotateZ:fn,scale:Qt,scaleX:Qt,scaleY:Qt,scaleZ:Qt,skew:fn,skewX:fn,skewY:fn,distance:U,translateX:U,translateY:U,translateZ:U,x:U,y:U,z:U,perspective:U,transformPerspective:U,opacity:Zt,originX:gn,originY:gn,originZ:U,zIndex:Da,fillOpacity:Zt,strokeOpacity:Zt,numOctaves:Da},ka={...Oa,color:W,backgroundColor:W,outlineColor:W,fill:W,stroke:W,borderColor:W,borderTopColor:W,borderRightColor:W,borderBottomColor:W,borderLeftColor:W,filter:Ta,WebkitFilter:Ta,mask:Ea,WebkitMask:Ea},Aa=e=>ka[e],ja=new Set([Ta,Ea]);function Ma(e,t){let n=Aa(e);return ja.has(n)||(n=Nn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}var Na=new Set([`auto`,`none`,`0`]);function Pa(e,t,n){let r=0,i;for(;r<e.length&&!i;){let t=e[r];typeof t==`string`&&!Na.has(t)&&En(t).values.length&&(i=e[r]),r++}if(i&&n)for(let r of t)e[r]=Ma(n,i)}var Fa=class extends ni{constructor(e,t,n,r,i){super(e,t,n,r,i,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if(typeof r==`string`&&(r=r.trim(),qt(r))){let i=Qi(r,t.current);i!==void 0&&(e[n]=i),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!na.has(n)||e.length!==2)return;let[r,i]=e,a=ba(r),o=ba(i);if(Yt(r)!==Yt(i)&&Jr[n]){this.needsMeasurement=!0;return}if(a!==o)if(Wr(a)&&Wr(o))for(let t=0;t<e.length;t++){let n=e[t];typeof n==`string`&&(e[t]=parseFloat(n))}else Jr[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)(e[t]===null||xa(e[t]))&&n.push(t);n.length&&Pa(e,n,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;n===`height`&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Jr[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let r=t[t.length-1];r!==void 0&&e.getValue(n,r).jump(r,!1)}measureEndState(){let{element:e,name:t,unresolvedKeyframes:n}=this;if(!e||!e.current)return;let r=e.getValue(t);r&&r.jump(this.measuredOrigin,!1);let i=n.length-1,a=n[i];n[i]=Jr[t](e.measureViewportBox(),window.getComputedStyle(e.current)),a!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=a),this.removedTransforms?.length&&this.removedTransforms.forEac
1h(([t,n])=>{e.getValue(t).set(n)}),this.resolveNoneKeyframes()}};function Ia(e,t,n){if(e==null)return[];if(e instanceof EventTarget)return[e];if(typeof e==`string`){let r=document;t&&(r=t.current);let i=n?.[e]??r.querySelectorAll(e);return i?Array.from(i):[]}return Array.from(e).filter(e=>e!=null)}var La=(e,t)=>t&&typeof e==`number`?t.transform(e):e;function Ra(e){return it(e)&&`offsetHeight`in e&&!(`ownerSVGElement`in e)}var{schedule:za,cancel:Ba}=Rt(queueMicrotask,!1),Va={x:!1,y:!1};function Ha(){return Va.x||Va.y}function Ua(e){return e===`x`||e===`y`?Va[e]?null:(Va[e]=!0,()=>{Va[e]=!1}):Va.x||Va.y?null:(Va.x=Va.y=!0,()=>{Va.x=Va.y=!1})}function Wa(e,t){let n=Ia(e),r=new AbortController;return[n,{passive:!0,...t,signal:r.signal},()=>r.abort()]}function Ga(e){return!(e.pointerType===`touch`||Ha())}function Ka(e,t,n={}){let[r,i,a]=Wa(e,n);return r.forEach(e=>{let n=!1,r=!1,a,o=()=>{e.removeEventListener(`pointerleave`,u)},s=e=>{a&&=(a(e),void 0),o()},c=e=>{n=!1,window.removeEventListener(`pointerup`,c),window.removeEventListener(`pointercancel`,c),r&&(r=!1,s(e))},l=()=>{n=!0,window.addEventListener(`pointerup`,c,i),window.addEventListener(`pointercancel`,c,i)},u=e=>{if(e.pointerType!==`touch`){if(n){r=!0;return}s(e)}};e.addEventListener(`pointerenter`,n=>{if(!Ga(n))return;r=!1;let o=t(e,n);typeof o==`function`&&(a=o,e.addEventListener(`pointerleave`,u,i))},i),e.addEventListener(`pointerdown`,l,i)}),a}var qa=(e,t)=>t?e===t?!0:qa(e,t.parentElement):!1,Ja=e=>e.pointerType===`mouse`?typeof e.button!=`number`||e.button<=0:e.isPrimary!==!1,Ya=new Set([`BUTTON`,`INPUT`,`SELECT`,`TEXTAREA`,`A`]);function Xa(e){return Ya.has(e.tagName)||e.isContentEditable===!0}var Za=new Set([`INPUT`,`SELECT`,`TEXTAREA`]);function Qa(e){return Za.has(e.tagName)||e.isContentEditable===!0}var $a=new WeakSet;function eo(e){return t=>{t.key===`Enter`&&e(t)}}function to(e,t){e.dispatchEvent(new PointerEvent(`pointer`+t,{isPrimary:!0,bubbles:!0}))}var no=(e,t)=>{let n=e.currentTarget;if(!n)return;let r=eo(()=>{if($a.has(n))return;to(n,`down`);let e=eo(()=>{to(n,`up`)});n.addEventListener(`keyup`,e,t),n.addEventListener(`blur`,()=>to(n,`cancel`),t)});n.addEventListener(`keydown`,r,t),n.addEventListener(`blur`,()=>n.removeEventListener(`keydown`,r),t)};function ro(e){return Ja(e)&&!Ha()}var io=new WeakSet;function ao(e,t,n={}){let[r,i,a]=Wa(e,n),o=e=>{let r=e.currentTarget;if(!ro(e)||io.has(e))return;$a.add(r),n.stopPropagation&&io.add(e);let a=t(r,e),o=(e,t)=>{window.removeEventListener(`pointerup`,s),window.removeEventListener(`pointercancel`,c),$a.has(r)&&$a.delete(r),ro(e)&&typeof a==`function`&&a(e,{success:t})},s=e=>{o(e,r===window||r===document||n.useGlobalTarget||qa(r,e.target))},c=e=>{o(e,!1)};window.addEventListener(`pointerup`,s,i),window.addEventListener(`pointercancel`,c,i)};return r.forEach(e=>{(n.useGlobalTarget?window:e).addEventListener(`pointerdown`,o,i),Ra(e)&&(e.addEventListener(`focus`,e=>no(e,i)),!Xa(e)&&!e.hasAttribute(`tabindex`)&&(e.tabIndex=0))}),a}function oo(e){return it(e)&&`ownerSVGElement`in e}var so=new WeakMap,co,lo=(e,t,n)=>(r,i)=>i&&i[0]?i[0][e+`Size`]:oo(r)&&`getBBox`in r?r.getBBox()[t]:r[n],uo=lo(`inline`,`width`,`offsetWidth`),fo=lo(`block`,`height`,`offsetHeight`);function po({target:e,borderBoxSize:t}){so.get(e)?.forEach(n=>{n(e,{get width(){return uo(e,t)},get height(){return fo(e,t)}})})}function mo(e){e.forEach(po)}function ho(){typeof ResizeObserver>`u`||(co=new ResizeObserver(mo))}function go(e,t){co||ho();let n=Ia(e);return n.forEach(e=>{let n=so.get(e);n||(n=new Set,so.set(e,n)),n.add(t),co?.observe(e)}),()=>{n.forEach(e=>{let n=so.get(e);n?.delete(t),n?.size||co?.unobserve(e)})}}var _o=new Set,vo;function yo(){vo=()=>{let e={get width(){return window.innerWidth},get height(){return window.innerHeight}};_o.forEach(t=>t(e))},window.addEventListener(`resize`,vo)}function bo(e){return _o.add(e),vo||yo(),()=>{_o.delete(e),!_o.size&&typeof vo==`function`&&(window.removeEventListener(`resize`,vo),vo=void 0)}}function xo(e,t){return typeof e==`function`?bo(e):go(e,t)}function So(e,t){let n,r=()=>{let{currentTime:r}=t,i=(r===null?0:r.value)/100;n!==i&&e(i),n=i};return B.preUpdate(r,!0),()=>zt(r)}function Co(e){return oo(e)&&e.tagName===`svg`}function wo(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],a=e[2+n],o=e[3+n],s=gr(i,a,o);return t?s(r):s}var To=[...ya,W,Nn],Eo=e=>To.find(va(e)),Do=()=>({translate:0,scale:1,origin:0,originPoint:0}),Oo=()=>({x:Do(),y:Do()}),ko=()=>({min:0,max:0}),J=()=>({x:ko(),y:ko()}),Ao=new WeakMap;function jo(e){return typeof e==`object`&&!!e&&typeof e.start==`function`}function Mo(e){return typeof e==`string`||Array.isArray(e)}var No=[`animate`,`whileInView`,`whileFocus`,`whileHover`,`whileTap`,`whileDrag`,`exit`],Po=[`initial`,...No];function Fo(e){return jo(e.animate)||Po.some(t=>Mo(e[t]))}function Io(e){return!!(Fo(e)||e.variants)}function Lo(e,t,n){for(let r in t){let i=t[r],a=n[r];if(q(i))e.addValue(r,i);else if(q(a))e.addValue(r,zi(i,{owner:e}));else if(a!==i)if(e.hasValue(r)){let t=e.getValue(r);t.liveStyle===!0?t.jump(i):t.hasAnimated||t.set(i)}else{let t=e.getStaticValue(r);e.addValue(r,zi(t===void 0?i:t,{owner:e}))}}for(let r in n)t[r]===void 0&&e.removeValue(r);return t}var Ro={current:null},zo={current:!1},Bo=typeof window<`u`;function Vo(){if(zo.current=!0,Bo)if(window.matchMedia){let e=window.matchMedia(`(prefers-reduced-motion)`),t=()=>Ro.current=e.matches;e.addEventListener(`change`,t),t()}else Ro.current=!1}var Ho=[`AnimationStart`,`AnimationComplete`,`Update`,`BeforeLayoutMeasure`,`LayoutMeasure`,`LayoutAnimationStart`,`LayoutAnimationComplete`],Uo={};function Wo(e){Uo=e}function Go(){return Uo}var Ko=class{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,skipAnimations:i,blockInitialAnimation:a,visualState:o},s={}){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=ni,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 e=H.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,B.render(this.render,!1,!0))};let{latestValues:c,renderState:l}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=t.initial?{...c}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.skipAnimationsConfig=i,this.options=s,this.blockInitialAnimation=!!a,this.isControllingVariants=Fo(t),this.isVariantNode=Io(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(let e in d){let t=d[e];c[e]!==void 0&&q(t)&&t.set(c[e])}}mount(e){if(this.hasBeenMounted)for(let e in this.initialValues)this.values.get(e)?.jump(this.initialValues[e]),this.latestValues[e]=this.initialValues[e];this.current=e,Ao.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEac
1h((e,t)=>this.bindToMotionValue(t,e)),this.reducedMotionConfig===`never`?this.shouldReduceMotion=!1:this.reducedMotionConfig===`always`?this.shouldReduceMotion=!0:(zo.current||Vo(),this.shouldReduceMotion=Ro.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),zt(this.notifyUpdate),zt(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(let e in this.events)this.events[e].clear();for(let e in this.features){let t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??=new Set,this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,t){if(this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)(),t.accelerate&&Ei.has(e)&&this.current instanceof HTMLElement){let{factory:n,keyframes:r,times:i,ease:a,duration:o}=t.accelerate,s=new gi({element:this.current,name:e,keyframes:r,times:i,ease:a,duration:z(o)}),c=n(s);this.valueSubscriptions.set(e,()=>{c(),s.cancel()});return}let n=Ur.has(e);n&&this.onBindTransform&&this.onBindTransform();let r=t.on(`change`,t=>{this.latestValues[e]=t,this.props.onUpdate&&B.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()}),i;typeof window<`u`&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{r(),i&&i()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e=`animation`;for(e in Uo){let t=Uo[e];if(!t)continue;let{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):J()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Ho.length;t++){let n=Ho[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let r=e[`on`+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=Lo(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]: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(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){let n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);let t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return n===void 0&&t!==void 0&&(n=zi(t===null?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){let n=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return n!=null&&(typeof n==`string`&&(rt(n)||at(n))?n=parseFloat(n):!Eo(n)&&Nn.test(t)&&(n=Ma(e,t)),this.setBaseTarget(e,q(n)?n.get():n)),q(n)?n.get():n}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){let{initial:t}=this.props,n;if(typeof t==`string`||typeof t==`object`){let r=ea(this.props,t,this.presenceContext?.custom);r&&(n=r[e])}if(t&&n!==void 0)return n;let r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!q(r)?r:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,t){return this.events[e]||(this.events[e]=new lt),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}scheduleRenderMicrotask(){za.render(this.render)}},qo=class extends Ko{constructor(){super(...arguments),this.KeyframeResolver=Fa}sortInstanceNodePosition(e,t){return e.compareDocumentPosition(t)&2?1:-1}getBaseTargetFromProps(e,t){let n=e.style;return n?n[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;q(e)&&(this.childSubscription=e.on(`change`,e=>{this.current&&(this.current.textContent=`${e}`)}))}},Jo=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function Yo({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Xo({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}function Zo(e,t){if(!t)return e;let n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}function Qo(e){return e===void 0||e===1}function $o({scale:e,scaleX:t,scaleY:n}){return!Qo(e)||!Qo(t)||!Qo(n)}function es(e){return $o(e)||ts(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function ts(e){return ns(e.x)||ns(e.y)}function ns(e){return e&&e!==`0%`}function rs(e,t,n){return n+t*(e-n)}function is(e,t,n,r,i){return i!==void 0&&(e=rs(e,i,r)),rs(e,n,r)+t}function as(e,t=0,n=1,r,i){e.min=is(e.min,t,n,r,i),e.max=is(e.max,t,n,r,i)}function os(e,{x:t,y:n}){as(e.x,t.translate,t.scale,t.originPoint),as(e.y,n.translate,n.scale,n.originPoint)}var ss=.999999999999,cs=1.0000000000001;function ls(e,t,n,r=!1){let i=n.length;if(!i)return;t.x=t.y=1;let a,o;for(let s=0;s<i;s++){a=n[s],o=a.projectionDelta;let{visualElement:i}=a.options;i&&i.props.style&&i.props.style.display===`contents`||(r&&a.options.layoutScroll&&a.scroll&&a!==a.root&&(us(e.x,-a.scroll.offset.x),us(e.y,-a.scroll.offset.y)),o&&(t.x*=o.x.scale,t.y*=o.y.scale,os(e,o)),r&&es(a.latestValues)&&ps(e,a.latestValues,a.layout?.layoutBox))}t.x<cs&&t.x>ss&&(t.x=1),t.y<cs&&t.y>ss&&(t.y=1)}function us(e,t){e.min+=t,e.max+=t}function ds(e,t,n,r,i=.5){as(e,t,n,G(e.min,e.max,i),r)}function fs(e,t){return typeof e==`string`?parseFloat(e)/100*(t.max-t.min):e}function ps(e,t,n){let r=n??e;ds(e.x,fs(t.x,r.x),t.scaleX,t.scale,t.originX),ds(e.y,fs(t.y,r.y),t.scaleY,t.scale,t.originY)}function ms(e,t){return Yo(Zo(e.getBoundingClientRect(),t))}function hs(e,t,n){let r=ms(e,n),{scroll:i}=t;return i&&(us(r.x,i.offset.x),us(r.y,i.offset.y)),r}var gs={x:`translateX`,y:`translateY`,z:`translateZ`,transformPerspective:`perspective`},_s=Hr.length;
1function vs(e,t,n){let r=``,i=!0;for(let a=0;a<_s;a++){let o=Hr[a],s=e[o];if(s===void 0)continue;let c=!0;if(typeof s==`number`)c=s===+!!o.startsWith(`scale`);else{let e=parseFloat(s);c=o.startsWith(`scale`)?e===1:e===0}if(!c||n){let e=La(s,Oa[o]);if(!c){i=!1;let t=gs[o]||o;r+=`${t}(${e}) `}n&&(t[o]=e)}}let a=e.pathRotation;return a&&(i=!1,r+=`rotate(${La(a,Oa.pathRotation)}) `),r=r.trim(),n?r=n(t,i?``:r):i&&(r=`none`),r}function ys(e,t,n){let{style:r,vars:i,transformOrigin:a}=e,o=!1,s=!1;for(let e in t){let n=t[e];if(Ur.has(e)){o=!0;continue}else if(Gt(e)){i[e]=n;continue}else{let t=La(n,Oa[e]);e.startsWith(`origin`)?(s=!0,a[e]=t):r[e]=t}}if(t.transform||(o||n?r.transform=vs(t,e.transform,n):r.transform&&=`none`),s){let{originX:e=`50%`,originY:t=`50%`,originZ:n=0}=a;r.transformOrigin=`${e} ${t} ${n}`}}function bs(e,{style:t,vars:n},r,i){let a=e.style,o;for(o in t)a[o]=t[o];for(o in i?.applyProjectionStyles(a,r),n)a.setProperty(o,n[o])}function xs(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}var Ss={correct:(e,t)=>{if(!t.target)return e;if(typeof e==`string`)if(U.test(e))e=parseFloat(e);else return e;return`${xs(e,t.target.x)}% ${xs(e,t.target.y)}%`}},Cs={correct:(e,{treeScale:t,projectionDelta:n})=>{let r=e,i=Nn.parse(e);if(i.length>5)return r;let a=Nn.createTransformer(e),o=typeof i[0]==`number`?0:1,s=n.x.scale*t.x,c=n.y.scale*t.y;i[0+o]/=s,i[1+o]/=c;let l=G(s,c,.5);return typeof i[2+o]==`number`&&(i[2+o]/=l),typeof i[3+o]==`number`&&(i[3+o]/=l),a(i)}},ws={borderRadius:{...Ss,applyTo:[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`]},borderTopLeftRadius:Ss,borderTopRightRadius:Ss,borderBottomLeftRadius:Ss,borderBottomRightRadius:Ss,boxShadow:Cs};function Ts(e,{layout:t,layoutId:n}){return Ur.has(e)||e.startsWith(`origin`)||(t||n!==void 0)&&(!!ws[e]||e===`opacity`)}function Es(e,t,n){let r=e.style,i=t?.style,a={};if(!r)return a;for(let t in r)(q(r[t])||i&&q(i[t])||Ts(t,e)||n?.getValue(t)?.liveStyle!==void 0)&&(a[t]=r[t]);return a}function Ds(e){return window.getComputedStyle(e)}var Os=class extends qo{constructor(){super(...arguments),this.type=`html`,this.renderInstance=bs}readValueFromInstance(e,t){if(Ur.has(t))return this.projection?.isProjecting?Rr(t):Br(e,t);{let n=Ds(e),r=(Gt(t)?n.getPropertyValue(t):n[t])||0;return typeof r==`string`?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return ms(e,t)}build(e,t,n){ys(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Es(e,t,n)}},ks={offset:`stroke-dashoffset`,array:`stroke-dasharray`},As={offset:`strokeDashoffset`,array:`strokeDasharray`};function js(e,t,n=1,r=0,i=!0){e.pathLength=1;let a=i?ks:As;e[a.offset]=`${-r}`,e[a.array]=`${t} ${n}`}var Ms=[`offsetDistance`,`offsetPath`,`offsetRotate`,`offsetAnchor`];function Ns(e,{attrX:t,attrY:n,attrScale:r,pathLength:i,pathSpacing:a=1,pathOffset:o=0,...s},c,l,u){if(ys(e,s,l),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:d,style:f}=e;d.transform&&(f.transform=d.transform,delete d.transform),(f.transform||d.transformOrigin)&&(f.transformOrigin=d.transformOrigin??`50% 50%`,delete d.transformOrigin),f.transform&&(f.transformBox=u?.transformBox??`fill-box`,delete d.transformBox);for(let e of Ms)d[e]!==void 0&&(f[e]=d[e],delete d[e]);t!==void 0&&(d.x=t),n!==void 0&&(d.y=n),r!==void 0&&(d.scale=r),i!==void 0&&js(d,i,a,o,!1)}var Ps=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`]),Fs=e=>typeof e==`string`&&e.toLowerCase()===`svg`;function Is(e,t,n,r){bs(e,t,void 0,r);for(let n in t.attrs)e.setAttribute(Ps.has(n)?n:la(n),t.attrs[n])}function Ls(e,t,n){let r=Es(e,t,n);for(let n in e)if(q(e[n])||q(t[n])){let t=Hr.indexOf(n)===-1?n:`attr`+n.charAt(0).toUpperCase()+n.substring(1);r[t]=e[n]}return r}var Rs=class extends qo{constructor(){super(...arguments),this.type=`svg`,this.isSVGTag=!1,this.measureInstanceViewportBox=J}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Ur.has(t)){let e=Aa(t);return e&&e.default||0}return t=Ps.has(t)?t:la(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Ls(e,t,n)}
1build(e,t,n){Ns(e,t,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(e,t,n,r){Is(e,t,n,r)}mount(e){this.isSVGTag=Fs(e.tagName),super.mount(e)}},zs=Po.length;function Bs(e){if(!e)return;if(!e.isControllingVariants){let t=e.parent&&Bs(e.parent)||{};return e.props.initial!==void 0&&(t.initial=e.props.initial),t}let t={};for(let n=0;n<zs;n++){let r=Po[n],i=e.props[r];(Mo(i)||i===!1)&&(t[r]=i)}return t}function Vs(e,t){if(!Array.isArray(t))return!1;let n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}var Hs=[...No].reverse(),Us=No.length;function Ws(e){return t=>Promise.all(t.map(({animation:t,options:n})=>ga(e,t,n)))}function Gs(e){let t=Ws(e),n=Js(),r=!0,i=!1,a=t=>(n,r)=>{let i=ta(e,r,t===`exit`?e.presenceContext?.custom:void 0);if(i){let{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function o(n){t=n(e)}function s(o){let{props:s}=e,c=Bs(e.parent)||{},l=[],u=new Set,d={},f=1/0;for(let t=0;t<Us;t++){let p=Hs[t],m=n[p],h=s[p]===void 0?c[p]:s[p],g=Mo(h),_=p===o?m.isActive:null;_===!1&&(f=t);let v=h===c[p]&&h!==s[p]&&g;if(v&&(r||i)&&e.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...d},!m.isActive&&_===null||!h&&!m.prevProp||jo(h)||typeof h==`boolean`)continue;if(p===`exit`&&m.isActive&&_!==!0){m.prevResolvedValues&&(d={...d,...m.prevResolvedValues});continue}let y=Ks(m.prevProp,h),b=y||p===o&&m.isActive&&!v&&g||t>f&&g,x=!1,S=Array.isArray(h)?h:[h],C=S.reduce(a(p),{});_===!1&&(C={});let{prevResolvedValues:w={}}=m,T={...w,...C},E=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;let n=e.getValue(t);n&&(n.liveStyle=!1)};for(let e in T){let t=C[e],n=w[e];if(d.hasOwnProperty(e))continue;let r=!1;r=ra(t)&&ra(n)?!Vs(t,n)||y:t!==n,r?t==null?u.add(e):E(e):t!==void 0&&u.has(e)?E(e):m.protectedKeys[e]=!0}m.prevProp=h,m.prevResolvedValues=C,m.isActive&&(d={...d,...C}),(r||i)&&e.blockInitialAnimation&&(b=!1);let D=v&&y;b&&(!D||x)&&l.push(...S.map(t=>{let n={type:p};if(typeof t==`string`&&(r||i)&&!D&&e.manuallyAnimateOnMount&&e.parent){let{parent:r}=e,i=ta(r,t);if(r.enteringChildren&&i){let{delayChildren:t}=i.transition||{};n.delay=Pi(r.enteringChildren,e,t)}}return{animation:t,options:n}}))}if(u.size){let t={};if(typeof s.initial!=`boolean`){let n=ta(e,Array.isArray(s.initial)?s.initial[0]:s.initial);n&&n.transition&&(t.transition=n.transition)}u.forEach(n=>{let r=e.getBaseTarget(n),i=e.getValue(n);i&&(i.liveStyle=!0),t[n]=r??null}),l.push({animation:t})}let p=!!l.length;return r&&(s.initial===!1||s.initial===s.animate)&&!e.manuallyAnimateOnMount&&(p=!1),r=!1,i=!1,p?t(l):Promise.resolve()}function c(t,r){if(n[t].isActive===r)return Promise.resolve();e.variantChildren?.forEach(e=>e.animationState?.setActive(t,r)),n[t].isActive=r;let i=s(t);for(let e in n)n[e].protectedKeys={};return i}return{animateChanges:s,setActive:c,setAnimateFunction:o,getState:()=>n,reset:()=>{n=Js(),i=!0}}}function Ks(e,t){return typeof t==`string`?t!==e:Array.isArray(t)?!Vs(t,e):!1}function qs(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Js(){return{animate:qs(!0),whileInView:qs(),whileHover:qs(),whileTap:qs(),whileDrag:qs(),whileFocus:qs(),exit:qs()}}function Ys(e,t){e.min=t.min,e.max=t.max}function Xs(e,t){Ys(e.x,t.x),Ys(e.y,t.y)}function Zs(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}var Qs=.9999,$s=1.0001,ec=-.01,tc=.01;function Y(e){return e.max-e.min}function nc(e,t,n){return Math.abs(e-t)<=n}function rc(e,t,n,r=.5){e.origin=r,e.originPoint=G(t.min,t.max,e.origin),e.scale=Y(n)/Y(t),e.translate=G(n.min,n.max,e.origin)-e.originPoint,(e.scale>=Qs&&e.scale<=$s||isNaN(e.scale))&&(e.scale=1),(e.translate>=ec&&e.translate<=tc||isNaN(e.translate))&&(e.translate=0)}function ic(e,t,n,r){rc(e.x,t.x,n.x,r?r.originX:void 0),rc(e.y,t.y,n.y,r?r.originY:void 0)}function ac(e,t,n,r=0){e.min=(r?G(n.min,n.max,r):n.min)+t.min,e.max=e.min+Y(t)}function oc(e,t,n,r){ac(e.x,t.x,n.x,r?.x),ac(e.y,t.y,n.y,r?.y)}function sc(e,t,n,r=0){let i=r?G(n.min,n.max,r):n.min;e.min=t.min-i,e.max=e.min+Y(t)}function cc(e,t,n,r){sc(e.x,t.x,n.x,r?.x),sc(e.y,t.y,n.y,r?.y)}function lc(e,t,n,r,i){return e-=t,e=rs(e,1/n,r),i!==void 0&&(e=rs(e,1/i,r)),e}function uc(e,t=0,n=1,r=.5,i,a=e,o=e){if(pn.test(t)&&(t=parseFloat(t),t=G(o.min,o.max,t/100)-o.min),typeof t!=`number`)return;let s=G(a.min,a.max,r);e===a&&(s-=t),e.min=lc(e.min,t,n,s,i),e.max=lc(e.max,t,n,s,i)}
1function dc(e,t,[n,r,i],a,o){uc(e,t[n],t[r],t[i],t.scale,a,o)}var fc=[`x`,`scaleX`,`originX`],pc=[`y`,`scaleY`,`originY`];function mc(e,t,n,r){dc(e.x,t,fc,n?n.x:void 0,r?r.x:void 0),dc(e.y,t,pc,n?n.y:void 0,r?r.y:void 0)}function hc(e){return e.translate===0&&e.scale===1}function gc(e){return hc(e.x)&&hc(e.y)}function _c(e,t){return e.min===t.min&&e.max===t.max}function vc(e,t){return _c(e.x,t.x)&&_c(e.y,t.y)}function yc(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function bc(e,t){return yc(e.x,t.x)&&yc(e.y,t.y)}function xc(e){return Y(e.x)/Y(e.y)}function Sc(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}function Cc(e){return[e(`x`),e(`y`)]}function wc(e,t,n){let r=``,i=e.x.translate/t.x,a=e.y.translate/t.y,o=n?.z||0;if((i||a||o)&&(r=`translate3d(${i}px, ${a}px, ${o}px) `),(t.x!==1||t.y!==1)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){let{transformPerspective:e,rotate:t,pathRotation:i,rotateX:a,rotateY:o,skewX:s,skewY:c}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),i&&(r+=`rotate(${i}deg) `),a&&(r+=`rotateX(${a}deg) `),o&&(r+=`rotateY(${o}deg) `),s&&(r+=`skewX(${s}deg) `),c&&(r+=`skewY(${c}deg) `)}let s=e.x.scale*t.x,c=e.y.scale*t.y;return(s!==1||c!==1)&&(r+=`scale(${s}, ${c})`),r||`none`}var Tc=[`borderTopLeftRadius`,`borderTopRightRadius`,`borderBottomLeftRadius`,`borderBottomRightRadius`],Ec=Tc.length,Dc=e=>typeof e==`string`?parseFloat(e):e,Oc=e=>typeof e==`number`||U.test(e);function kc(e,t,n,r,i,a){i?(e.opacity=G(0,n.opacity??1,jc(r)),e.opacityExit=G(t.opacity??1,0,Mc(r))):a&&(e.opacity=G(t.opacity??1,n.opacity??1,r));for(let i=0;i<Ec;i++){let a=Tc[i],o=Ac(t,a),s=Ac(n,a);o===void 0&&s===void 0||(o||=0,s||=0,o===0||s===0||Oc(o)===Oc(s)?(e[a]=Math.max(G(Dc(o),Dc(s),r),0),(pn.test(s)||pn.test(o))&&(e[a]+=`%`)):e[a]=s)}(t.rotate||n.rotate)&&(e.rotate=G(t.rotate||0,n.rotate||0,r))}function Ac(e,t){return e[t]===void 0?e.borderRadius:e[t]}var jc=Nc(0,.5,wt),Mc=Nc(.5,.95,R);function Nc(e,t,n){return r=>r<e?0:r>t?1:n(ct(e,t,r))}function Pc(e,t,n){let r=q(e)?e:zi(e);return r.start(Yi(``,r,t,n)),r.animation}function Fc(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}var Ic=(e,t)=>e.depth-t.depth,Lc=class{constructor(){this.children=[],this.isDirty=!1}add(e){$e(this.children,e),this.isDirty=!0}remove(e){et(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ic),this.isDirty=!1,this.children.forEach(e)}};function Rc(e,t){let n=H.now(),r=({timestamp:i})=>{let a=i-n;a>=t&&(zt(r),e(a-t))};return B.setup(r,!0),()=>zt(r)}function zc(e){return q(e)?e.get():e}var Bc=class{constructor(){this.members=[]}add(e){$e(this.members,e);for(let t=this.members.length-1;t>=0;t--){let n=this.members[t];if(n===e||n===this.lead||n===this.prevLead)continue;let r=n.instance;(!r||r.isConnected===!1)&&!n.snapshot&&(et(this.members,n),n.unmount())}e.scheduleRender()}remove(e){if(et(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){for(let t=this.members.indexOf(e)-1;t>=0;t--){let e=this.members[t];if(e.isPresent!==!1&&e.instance?.isConnected!==!1)return this.promote(e),!0}return!1}promote(e,t){let n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.updateSnapshot(),e.scheduleRender();let{layoutDependency:r}=n.options,{layoutDependency:i}=e.options;(r===void 0||r!==i)&&(e.resumeFrom=n,t&&(n.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root?.isUpdating&&(e.isLayoutDirty=!0)),e.options.crossfade===!1&&n.hide()}}exitAnimationComplete(){this.members.forEach(e=>{e.options.onExitComplete?.(),e.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(e=>e.instance&&e.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}},Vc={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Hc={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},Uc=[``,`X`,`Y`,`Z`],Wc=1e3,Gc=0;function Kc(e,t,n,r){let{latestValues:i}=t;i[e]&&(n[e]=i[e],t.setStaticValue(e,0),r&&(r[e]=0))}function qc(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:t}=e.options;if(!t)return;let n=da(t);if(window.MotionHasOptimisedAnimation(n,`transform`)){let{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,`transform`,B,!(t||r))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&qc(r)}
1function Jc({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:i}){return class{constructor(e={},n=t?.()){this.id=Gc++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Ft.value&&(Hc.nodes=Hc.calculatedTargetDeltas=Hc.calculatedProjections=0),this.nodes.forEach(Zc),this.nodes.forEach(ol),this.nodes.forEach(sl),this.nodes.forEach(Qc),Ft.addProjectionMetrics&&Ft.addProjectionMetrics(Hc)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Lc)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new lt),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t){if(this.instance)return;this.isSVG=oo(t)&&!Co(t),this.instance=t;let{layoutId:n,layout:r,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(r||n)&&(this.isLayoutDirty=!0),e){let n,r=0,i=()=>this.root.updateBlockedByResize=!1;B.read(()=>{r=window.innerWidth}),e(t,()=>{let e=window.innerWidth;e!==r&&(r=e,this.root.updateBlockedByResize=!0,n&&n(),n=Rc(i,250),Vc.hasAnimatedSinceResize&&(Vc.hasAnimatedSinceResize=!1,this.nodes.forEach(al)))})}n&&this.root.registerSharedNode(n,this),this.options.animate!==!1&&i&&(n||r)&&this.addEventListener(`didUpdate`,({delta:e,hasLayoutChanged:t,hasRelativeLayoutChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let a=this.options.transition||i.getDefaultTransition()||ml,{onLayoutAnimationStart:o,onLayoutAnimationComplete:s}=i.getProps(),c=!this.targetLayout||!bc(this.targetLayout,r),l=!t&&n;if(this.options.layoutRoot||this.resumeFrom||l||t&&(c||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let t={...Vi(a,`layout`),onPlay:o,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t),this.setAnimationOrigin(e,l,t.path)}else t||al(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),zt(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(cl),this.animationId++)}getTransformTemplate(){let{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&qc(this),!this.root.isUpdating&&this.root.startUpd
1ate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,(typeof t.latestValues.x==`string`||typeof t.latestValues.y==`string`)&&(t.isLayoutDirty=!0),t.updateScroll(`snapshot`),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:n}=this.options;if(t===void 0&&!n)return;let r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,``):void 0,this.updateSnapshot(),e&&this.notifyListeners(`willUpdate`)}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){let e=this.updateBlockedByResize;this.unblockUpdate(),this.updateBlockedByResize=!1,this.clearAllSnapshots(),e&&this.nodes.forEach(tl),this.nodes.forEach(el);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(nl);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(rl),this.nodes.forEach(il),this.nodes.forEach(Yc),this.nodes.forEach(Xc)):this.nodes.forEach(nl),this.clearAllSnapshots();let e=H.now();V.delta=tt(0,1e3/60,e-V.timestamp),V.timestamp=e,V.isProcessing=!0,Bt.update.process(V),Bt.preRender.process(V),Bt.render.process(V),V.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,za.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach($c),this.sharedNodes.forEach(ll)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,B.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){B.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!Y(this.snapshot.measuredBox.x)&&!Y(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 e=0;e<this.path.length;e++)this.path[e].updateScroll();let e=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected||=J(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners(`measure`,this.layout.layoutBox);let{visualElement:t}=this.options;t&&t.notify(`LayoutMeasure`,this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e=`measure`){let t=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&this.instance){let t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!i)return;let e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!gc(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,``):void 0,a=r!==this.prevTransformTemplateValue;e&&this.instance&&(t||es(this.latestValues)||a)&&(i(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){let t=this.measurePageBox(),n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),vl(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return J();let t=e.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(bl))){let{scroll:e}=this.root;e&&(us(t.x,e.offset.x),us(t.y,e.offset.y))}return t}removeElementScroll(e){let t=J();if(Xs(t,e),this.scroll?.wasRoot)return t;for(let n=0;n<this.path.length;n++){let r=this.path[n],{scroll:i,options:a}=r;r!==this.root&&i&&a.layoutScroll&&(i.wasRoot&&Xs(t,e),us(t.x,i.offset.x),us(t.y,i.offset.y))}return t}applyTransform(e,t=!1,n){let r=n||J();Xs(r,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];!t&&n.options.layoutScroll&&n.scroll&&n!==n.root&&(us(r.x,-n.scroll.offset.x),us(r.y,-n.scroll.offset.y)),es(n.latestValues)&&ps(r,n.latestValues,n.layout?.layoutBox)}return es(this.latestValues)&&ps(r,this.latestValues,this.layout?.layoutBox),r}removeTransform(e){let t=J();Xs(t,e);for(let e=0;e<this.path.length;e++){let n=this.path[e];if(!es(n.latestValues))continue;let r;n.instance&&($o(n.latestValues)&&n.updateSnapshot(),r=J(),Xs(r,n.measurePageBox())),mc(t,n.latestValues,n.snapshot?.layoutBox,r)}return es(this.latestValues)&&mc(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:e.crossfade===void 0?!0:e.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!==V.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){let t=this.getLead();this.isProjectionDirty||=t.isProjectionDirty,this.isTransformDirty||=t.isTransformDirty,this.isSharedProjectionDirty||=t.isSharedProjectionDirty;let n=!!this.resumingFrom||this!==t;if(!(e||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:r,layoutId:i}=this.options;
1if(!this.layout||!(r||i))return;this.resolvedRelativeTargetAt=V.timestamp;let a=this.getClosestProjectingParent();a&&this.linkedParentVersion!==a.layoutVersion&&!a.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(this.options.layoutAnchor!==!1&&a&&a.layout?this.createRelativeTarget(a,this.layout.layoutBox,a.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=J(),this.targetWithTransforms=J()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),oc(this.target,this.relativeTarget,this.relativeParent.target,this.options.layoutAnchor||void 0)):this.targetDelta?(this.resumingFrom?this.applyTransform(this.layout.layoutBox,!1,this.target):Xs(this.target,this.layout.layoutBox),os(this.target,this.targetDelta)):Xs(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,this.options.layoutAnchor!==!1&&a&&!!a.resumingFrom==!!this.resumingFrom&&!a.options.layoutScroll&&a.target&&this.animationProgress!==1?this.createRelativeTarget(a,this.target,a.target):this.relativeParent=this.relativeTarget=void 0),Ft.value&&Hc.calculatedTargetDeltas++)}getClosestProjectingParent(){if(!(!this.parent||$o(this.parent.latestValues)||ts(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(e,t,n){this.relativeParent=e,this.linkedParentVersion=e.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=J(),this.relativeTargetOrigin=J(),cc(this.relativeTargetOrigin,t,n,this.options.layoutAnchor||void 0),Xs(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let e=this.getLead(),t=!!this.resumingFrom||this!==e,n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),t&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===V.timestamp&&(n=!1),n)return;let{layout:r,layoutId:i}=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||i))return;Xs(this.layoutCorrected,this.layout.layoutBox);let a=this.treeScale.x,o=this.treeScale.y;ls(this.layoutCorrected,this.treeScale,this.path,t),e.layout&&!e.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(e.target=e.layout.layoutBox,e.targetWithTransforms=J());let{target:s}=e;if(!s){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(Zs(this.prevProjectionDelta.x,this.projectionDelta.x),Zs(this.prevProjectionDelta.y,this.projectionDelta.y)),ic(this.projectionDelta,this.layoutCorrected,s,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==o||!Sc(this.projectionDelta.x,this.prevProjectionDelta.x)||!Sc(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners(`projectionUpdate`,s)),Ft.value&&Hc.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.visualElement?.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Oo(),this.projectionDelta=Oo(),this.projectionDeltaWithTransform=Oo()}setAnimationOrigin(e,t=!1,n){let r=this.snapshot,i=r?r.latestValues:{},a={...this.latestValues},o=Oo();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let s=J(),c=(r?r.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,d=!!(c&&!u&&this.options.crossfade===!0&&!this.path.some(pl));this.animationProgress=0;let f,p=n?.interpolateProjection(e);this.mixTargetDelta=t=>{let n=t/1e3,r=p?.(n);r?(o.x.translate=r.x,o.x.scale=G(e.x.scale,1,n),o.x.origin=e.x.origin,o.x.originPoint=e.x.originPoint,o.y.translate=r.y,o.y.scale=G(e.y.scale,1,n),o.y.origin=e.y.origin,o.y.originPoint=e.y.originPoint):(ul(o.x,e.x,n),ul(o.y,e.y,n)),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(cc(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox,this.options.layoutAnchor||void 0),fl(this.relativeTarget,this.relativeTargetOrigin,s,n),f&&vc(this.relativeTarget,f)&&(this.isProjectionDirty=!1),f||=J(),Xs(f,this.relativeTarget)),c&&(this.animationValues=a,kc(a,i,this.latestValues,n,d,u)),r&&r.rotate!==void 0&&(this.animationValues||=a,this.animationValues.pathRotation=r.rotate),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners(`animationStart`),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&=(zt(this.pendingAnimation),void 0),this.pendingAnimation=B.update(()=>{Vc.hasAnimatedSinceResize=!0,Ut.layout++,this.motionValue||=zi(0),this.motionValue.jump(0,!1),this.currentAnimation=Pc(this.motionValue,[0,1e3],{...e,velocity:0,isSync:!0,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onStop:()=>{Ut.layout--},onComplete:()=>{Ut.layout--,e.onComplete&&e.onComplete(),this.completeAnimation()}}),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 e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners(`animationComplete`)}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Wc),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:n,layout:r,latestValues:i}=e;if(!(!t||!n||!r)){if(this!==e&&this.layout&&r&&yl(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||J();let t=Y(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;let r=Y(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Xs(t,n),ps(t,i),ic(this.projectionDeltaWithTransform,this.layoutCorrected,t,i
1)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Bc),this.sharedNodes.get(e).add(t);let n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return e?e.lead===this:!0}getLead(){let{layoutId:e}=this.options;return e&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:e}=this.options;return e?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){let r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return e?e.relegate(this):!1}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;let r={};n.z&&Kc(`z`,e,r,this.animationValues);for(let t=0;t<Uc.length;t++)Kc(`rotate${Uc[t]}`,e,r,this.animationValues),Kc(`skew${Uc[t]}`,e,r,this.animationValues);e.render();for(let t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}applyProjectionStyles(e,t){if(!this.instance||this.isSVG)return;if(!this.isVisible){e.visibility=`hidden`;return}let n=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,e.visibility=``,e.opacity=``,e.pointerEvents=zc(t?.pointerEvents)||``,e.transform=n?n(this.latestValues,``):`none`;return}let r=this.getLead();if(!this.projectionDelta||!this.layout||!r.target){this.options.layoutId&&(e.opacity=this.latestValues.opacity===void 0?1:this.latestValues.opacity,e.pointerEvents=zc(t?.pointerEvents)||``),this.hasProjected&&!es(this.latestValues)&&(e.transform=n?n({},``):`none`,this.hasProjected=!1);return}e.visibility=``;let i=r.animationValues||r.latestValues;this.applyTransformsToTarget();let a=wc(this.projectionDeltaWithTransform,this.treeScale,i);n&&(a=n(i,a)),e.transform=a;let{x:o,y:s}=this.projectionDelta;e.transformOrigin=`${o.origin*100}% ${s.origin*100}% 0`,r.animationValues?e.opacity=r===this?i.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:i.opacityExit:e.opacity=r===this?i.opacity===void 0?``:i.opacity:i.opacityExit===void 0?0:i.opacityExit;for(let t in ws){if(i[t]===void 0)continue;let{correct:n,applyTo:o,isCSSVariable:s}=ws[t],c=a===`none`?i[t]:n(i[t],r);if(o){let t=o.length;for(let n=0;n<t;n++)e[o[n]]=c}else s?this.options.visualElement.renderState.vars[t]=c:e[t]=c}this.options.layoutId&&(e.pointerEvents=r===this?zc(t?.pointerEvents)||``:`none`)}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>e.currentAnimation?.stop()),this.root.nodes.forEach(el),this.root.sharedNodes.clear()}}}function Yc(e){e.updateLayout()}function Xc(e){let t=e.resumeFrom?.snapshot||e.snapshot;if(e.isLead()&&e.layout&&t&&e.hasListeners(`didUpdate`)){let{layoutBox:n,measuredBox:r}=e.layout,{animationType:i}=e.options,a=t.source!==e.layout.source;if(i===`size`)Cc(e=>{let r=a?t.measuredBox[e]:t.layoutBox[e],i=Y(r);r.min=n[e].min,r.max=r.min+i});else if(i===`x`||i===`y`){let e=i===`x`?`y`:`x`;Ys(a?t.measuredBox[e]:t.layoutBox[e],n[e])}else yl(i,t.layoutBox,n)&&Cc(r=>{let i=a?t.measuredBox[r]:t.layoutBox[r],o=Y(n[r]);i.max=i.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+o)});let o=Oo();ic(o,n,t.layoutBox);let s=Oo();a?ic(s,e.applyTransform(r,!0),t.measuredBox):ic(s,n,t.layoutBox);let c=!gc(o),l=!1;if(!e.resumeFrom){let r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){let{snapshot:i,layout:a}=r;if(i&&a){let o=e.options.layoutAnchor||void 0,s=J();cc(s,t.layoutBox,i.layoutBox,o);let c=J();cc(c,n,a.layoutBox,o),bc(s,c)||(l=!0),r.options.layoutRoot&&(e.relativeTarget=c,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners(`didUpdate`,{layout:n,snapshot:t,delta:s,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:l})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Zc(e){Ft.value&&Hc.nodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty),e.isTransformDirty||=e.parent.isTransformDirty)}function Qc(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function $c(e){e.clearSnapshot()}function el(e){e.clearMeasurements()}function tl(e){e.isLayoutDirty=!0,e.updateLayout()}function nl(e){e.isLayoutDirty=!1}function rl(e){e.isAnimationBlocked&&e.layout&&!e.isLayoutDirty&&(e.snapshot=e.layout,e.isLayoutDirty=!0)}function il(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify(`BeforeLayoutMeasure`),e.resetTransform()}function al(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ol(e){e.resolveTargetDelta()}function sl(e){e.calcProjection()}
1function cl(e){e.resetSkewAndRotation()}function ll(e){e.removeLeadSnapshot()}function ul(e,t,n){e.translate=G(t.translate,0,n),e.scale=G(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function dl(e,t,n,r){e.min=G(t.min,n.min,r),e.max=G(t.max,n.max,r)}function fl(e,t,n,r){dl(e.x,t.x,n.x,r),dl(e.y,t.y,n.y,r)}function pl(e){return e.animationValues&&e.animationValues.opacityExit!==void 0}var ml={duration:.45,ease:[.4,0,.1,1]},hl=e=>typeof navigator<`u`&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),gl=hl(`applewebkit/`)&&!hl(`chrome/`)?Math.round:R;function _l(e){e.min=gl(e.min),e.max=gl(e.max)}function vl(e){_l(e.x),_l(e.y)}function yl(e,t,n){return e===`position`||e===`preserve-aspect`&&!nc(xc(t),xc(n),.2)}function bl(e){return e!==e.root&&e.scroll?.wasRoot}var xl=Jc({attachResizeListener:(e,t)=>Fc(e,`resize`,t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Sl={current:void 0},Cl=Jc({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Sl.current){let e=new xl({});e.mount(window),e.setOptions({layoutScroll:!0}),Sl.current=e}return Sl.current},resetTransform:(e,t)=>{e.style.transform=t===void 0?`none`:t},checkIsScrollRoot:e=>window.getComputedStyle(e).position===`fixed`}),wl=(0,_.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:`never`});function Tl(e=!0){let t=(0,_.useContext)(Qe);if(t===null)return[!0,null];let{isPresent:n,onExitComplete:r,register:i}=t,a=(0,_.useId)();(0,_.useEffect)(()=>{if(e)return i(a)},[e]);let o=(0,_.useCallback)(()=>e&&r&&r(a),[a,r,e]);return!n&&r?[!1,o]:[!0]}var El=(0,_.createContext)({strict:!1}),Dl={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`]},Ol=!1;function kl(){if(Ol)return;let e={};for(let t in Dl)e[t]={isEnabled:e=>Dl[t].some(t=>!!e[t])};Wo(e),Ol=!0}function Al(){return kl(),Go()}function jl(e){let t=Al();for(let n in e)t[n]={...t[n],...e[n]};Wo(t)}var Ml=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`.split(`.`));function Nl(e){return e.startsWith(`while`)||e.startsWith(`drag`)&&e!==`draggable`||e.startsWith(`layout`)||e.startsWith(`onTap`)||e.startsWith(`onPan`)||e.startsWith(`onLayout`)||Ml.has(e)}var Pl=c({default:()=>Fl}),Fl,Il=o((()=>{throw Fl={},Error(`Could not resolve "@emotion/is-prop-valid" imported by "framer-motion". Is it installed?`)})),Ll=e=>!Nl(e);function Rl(e){typeof e==`function`&&(Ll=t=>t.startsWith(`on`)?!Nl(t):e(t))}try{Rl((Il(),d(Pl)).default)}catch{}function zl(e,t,n){let r={};for(let i in e)i===`values`&&typeof e.values==`object`||q(e[i])||(Ll(i)||n===!0&&Nl(i)||!t&&!Nl(i)||e.draggable&&i.startsWith(`onDrag`))&&(r[i]=e[i]);return r}var Bl=(0,_.createContext)({});function Vl(e,t){if(Fo(e)){let{initial:t,animate:n}=e;return{initial:t===!1||Mo(t)?t:void 0,animate:Mo(n)?n:void 0}}return e.inherit===!1?{}:t}function Hl(e){let{initial:t,animate:n}=Vl(e,(0,_.useContext)(Bl));return(0,_.useMemo)(()=>({initial:t,animate:n}),[Ul(t),Ul(n)])}function Ul(e){return Array.isArray(e)?e.join(` `):e}var Wl=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function Gl(e,t,n){for(let r in t)!q(t[r])&&!Ts(r,n)&&(e[r]=t[r])}function Kl({transformTemplate:e},t){return(0,_.useMemo)(()=>{let n=Wl();return ys(n,t,e),Object.assign({},n.vars,n.style)},[t])}function ql(e,t){let n=e.style||{},r={};
1return Gl(r,n,e),Object.assign(r,Kl(e,t)),r}function Jl(e,t){let n={},r=ql(e,t);return e.drag&&e.dragListener!==!1&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout=`none`,r.touchAction=e.drag===!0?`none`:`pan-${e.drag===`x`?`y`:`x`}`),e.tabIndex===void 0&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}var Yl=()=>({...Wl(),attrs:{}});function Xl(e,t,n,r){let i=(0,_.useMemo)(()=>{let n=Yl();return Ns(n,t,Fs(r),e.transformTemplate,e.style),{...n.attrs,style:{...n.style}}},[t]);if(e.style){let t={};Gl(t,e.style,e),i.style={...t,...i.style}}return i}var Zl=[`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 Ql(e){return typeof e!=`string`||e.includes(`-`)?!1:!!(Zl.indexOf(e)>-1||/[A-Z]/u.test(e))}function $l(e,t,n,{latestValues:r},i,a=!1,o){let s=(o??Ql(e)?Xl:Jl)(t,r,i,e),c=zl(t,typeof e==`string`,a),l=e===_.Fragment?{}:{...c,...s,ref:n},{children:u}=t,d=(0,_.useMemo)(()=>q(u)?u.get():u,[u]);return(0,_.createElement)(e,{...l,children:d})}function eu({scrapeMotionValuesFromProps:e,createRenderState:t},n,r,i){return{latestValues:tu(n,r,i,e),renderState:t()}}function tu(e,t,n,r){let i={},a=r(e,{});for(let e in a)i[e]=zc(a[e]);let{initial:o,animate:s}=e,c=Fo(e),l=Io(e);t&&l&&!c&&e.inherit!==!1&&(o===void 0&&(o=t.initial),s===void 0&&(s=t.animate));let u=n?n.initial===!1:!1;u||=o===!1;let d=u?s:o;if(d&&typeof d!=`boolean`&&!jo(d)){let t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){let r=ea(e,t[n]);if(r){let{transitionEnd:e,transition:t,...n}=r;for(let e in n){let t=n[e];if(Array.isArray(t)){let e=u?t.length-1:0;t=t[e]}t!==null&&(i[e]=t)}for(let t in e)i[t]=e[t]}}}return i}var nu=e=>(t,n)=>{let r=(0,_.useContext)(Bl),i=(0,_.useContext)(Qe),a=()=>eu(e,t,r,i);return n?a():Xe(a)},ru=nu({scrapeMotionValuesFromProps:Es,createRenderState:Wl}),iu=nu({scrapeMotionValuesFromProps:Ls,createRenderState:Yl}),au=Symbol.for(`motionComponentSymbol`);function ou(e,t,n){let r=(0,_.useRef)(n);(0,_.useInsertionEffect)(()=>{r.current=n});let i=(0,_.useRef)(null);return(0,_.useCallback)(n=>{n&&e.onMount?.(n),t&&(n?t.mount(n):t.unmount());let a=r.current;if(typeof a==`function`)if(n){let e=a(n);typeof e==`function`&&(i.current=e)}else i.current?(i.current(),i.current=null):a(n);else a&&(a.current=n)},[t])}var su=(0,_.createContext)({});function cu(e){return e&&typeof e==`object`&&Object.prototype.hasOwnProperty.call(e,`current`)}function lu(e,t,n,r,i,a){let{visualElement:o}=(0,_.useContext)(Bl),s=(0,_.useContext)(El),c=(0,_.useContext)(Qe),l=(0,_.useContext)(wl),u=l.reducedMotion,d=l.skipAnimations,f=(0,_.useRef)(null),p=(0,_.useRef)(!1);r||=s.renderer,!f.current&&r&&(f.current=r(e,{visualState:t,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,skipAnimations:d,isSVG:a}),p.current&&f.current&&(f.current.manuallyAnimateOnMount=!0));let m=f.current,h=(0,_.useContext)(su);m&&!m.projection&&i&&(m.type===`html`||m.type===`svg`)&&uu(f.current,n,i,h);let g=(0,_.useRef)(!1);(0,_.useInsertionEffect)(()=>{m&&g.current&&m.update(n,c)});let v=n[ua],y=(0,_.useRef)(!!v&&typeof window<`u`&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return Ze(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),y.current&&m.animationState&&m.animationState.animateChanges())}),(0,_.useEffect)(()=>{m&&(!y.current&&m.animationState&&m.animationState.animateChanges(),y.current&&=(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),!1),m.enteringChildren=void 0)}),m}function uu(e,t,n,r){let{layoutId:i,layout:a,drag:o,dragConstraints:s,layoutScroll:c,layoutRoot:l,layoutAnchor:u,layoutCrossfade:d}=t;e.projection=new n(e.latestValues,t[`data-framer-portal-id`]?void 0:du(e.parent)),e.projection.setOptions({layoutId:i,layout:a,alwaysMeasureLayout:!!o||s&&cu(s),visualElement:e,animationType:typeof a==`string`?a:`both`,initialPromotionConfig:r,crossfade:d,layoutScroll:c,layoutRoot:l,layoutAnchor:u})}function du(e){if(e)return e.options.allowProjection===!1?du(e.parent):e.projection}function fu(e,{forwardMotionProps:t=!1,type:n}={},r,i){r&&jl(r);
1let a=n?n===`svg`:Ql(e),o=a?iu:ru;function s(n,s){let c,l={...(0,_.useContext)(wl),...n,layoutId:pu(n)},{isStatic:u}=l,d=Hl(n),f=o(n,u);if(!u&&typeof window<`u`){mu(l,r);let t=hu(l);c=t.MeasureLayout,d.visualElement=lu(e,f,l,i,t.ProjectionNode,a)}return(0,L.jsxs)(Bl.Provider,{value:d,children:[c&&d.visualElement?(0,L.jsx)(c,{visualElement:d.visualElement,...l}):null,$l(e,n,ou(f,d.visualElement,s),f,u,t,a)]})}s.displayName=`motion.${typeof e==`string`?e:`create(${e.displayName??e.name??``})`}`;let c=(0,_.forwardRef)(s);return c[au]=e,c}function pu({layoutId:e}){let t=(0,_.useContext)(Ye).id;return t&&e!==void 0?t+`-`+e:e}function mu(e,t){(0,_.useContext)(El).strict}function hu(e){let{drag:t,layout:n}=Al();if(!t&&!n)return{};let r={...t,...n};return{MeasureLayout:t?.isEnabled(e)||n?.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}function gu(e,t){if(typeof Proxy>`u`)return fu;let n=new Map,r=(n,r)=>fu(n,r,e,t);return new Proxy((e,t)=>r(e,t),{get:(i,a)=>a===`create`?r:(n.has(a)||n.set(a,fu(a,void 0,e,t)),n.get(a))})}var _u=(e,t)=>t.isSVG??Ql(e)?new Rs(t):new Os(t,{allowProjection:e!==_.Fragment}),vu=class extends Jo{constructor(e){super(e),e.animationState||=Gs(e)}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();jo(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}},yu=0,bu={animation:{Feature:vu},exit:{Feature:class extends Jo{constructor(){super(...arguments),this.id=yu++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;if(e&&n===!1){if(this.isExitComplete){let{initial:e,custom:t}=this.node.getProps();if(typeof e==`string`||typeof e==`object`&&e&&!Array.isArray(e)){let n=ta(this.node,e,t);if(n){let{transition:e,transitionEnd:t,...r}=n;for(let e in r)this.node.getValue(e)?.jump(r[e])}}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`,!e);t&&!e&&r.then(()=>{this.isExitComplete=!0,t(this.id)})}mount(){let{register:e,onExitComplete:t}=this.node.presenceContext||{};t&&t(this.id),e&&(this.unmount=e(this.id))}unmount(){}}}};function xu(e){return{point:{x:e.pageX,y:e.pageY}}}var Su=e=>t=>Ja(t)&&e(t,xu(t));function Cu(e,t,n,r){return Fc(e,t,Su(n),r)}var wu=({current:e})=>e?e.ownerDocument.defaultView:null,Tu=(e,t)=>Math.abs(e-t);function Eu(e,t){let n=Tu(e.x,t.x),r=Tu(e.y,t.y);return Math.sqrt(n**2+r**2)}var Du=new Set([`auto`,`scroll`]),Ou=class{constructor(e,t,{transformPagePoint:n,contextWindow:r=window,dragSnapToOrigin:i=!1,distanceThreshold:a=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=e=>{this.handleScroll(e.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=ku(this.lastRawMoveEventInfo,this.transformPagePoint));let e=ju(this.lastMoveEventInfo,this.history),t=this.startEvent!==null,n=Eu(e.offset,{x:0,y:0})>=this.distanceThreshold;if(!t&&!n)return;let{point:r}=e,{timestamp:i}=V;this.history.push({...r,timestamp:i});let{onStart:a,onMove:o}=this.handlers;t||(a&&a(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),o&&o(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastRawMoveEventInfo=t,this.lastMoveEventInfo=ku(t,this.transformPagePoint),B.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:n,onSessionEnd:r,resumeAnimation:i}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&i&&i(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let a=ju(e.type===`pointercancel`?this.lastMoveEventInfo:ku(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,a),r&&r(e,a)},!Ja(e))return;this.dragSnapToOrigin=i,this.handlers=t,this.transformPagePoint=n,this.distanceThreshold=a,this.contextWindow=r||window;let s=ku(xu(e),this.transformPagePoint),{point:c}=s,{timestamp:l}=V;this.history=[{...c,timestamp:l}];let{onSessionStart:u}=t;u&&u(e,ju(s,this.history)),this.removeListeners=st(Cu(this.contextWindow,`pointermove`,this.handlePointerMove),Cu(this.contextWindow,`pointerup`,this.handlePointerUp),Cu(this.contextWindow,`pointercancel`,this.handlePointerUp)),o&&this.startScrollTracking(o)}startScrollTracking(e){let t=e.parentElement;for(;t;){let e=getComputedStyle(t);(Du.has(e.overflowX)||Du.has(e.overflowY))&&this.scrollPositions.set(t,{x:t.scrollLeft,y:t.scrollTop}),t=t.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(e){let t=this.scrollPositions.get(e);if(!t)return;let n=e===window,r=n?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},i={x:r.x-t.x,y:r.y-t.y};i.x===0&&i.y===0||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=i.x,this.lastMoveEventInfo.point.y+=i.y):this.history.length>0&&(this.history[0].x-=i.x,this.history[0].y-=i.y),this.scrollPositions.set(e,r),B.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),zt(this.updatePoint)}};function ku(e,t){return t?{point:t(e.point)}:e}function Au(e,t){return{x:e.x-t.x,y:e.y-t.y}}function ju({point:e},t){return{point:e,delta:Au(e,Nu(t)),offset:Au(e,Mu(t)),velocity:Pu(t,.1)}}function Mu(e){return e[0]}function Nu(e){return e[e.length-1]}function Pu(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null,i=Nu(e);for(;n>=0&&(r=e[n],!(i.timestamp-r.timestamp>z(t)));)n--;if(!r)return{x:0,y:0};r===e[0]&&e.length>2&&i.timestamp-r.timestamp>z(t)*2&&(r=e[1]);let a=ut(i.timestamp-r.timestamp);if(a===0)return{x:0,y:0};let o={x:(i.x-r.x)/a,y:(i.y-r.y)/a};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function Fu(e,{min:t,max:n},r){return t!==void 0&&e<t?e=r?G(t,e,r.min):Math.max(e,t):n!==void 0&&e>n&&(e=r?G(n,e,r.max):Math.min(e,n)),e}function Iu(e,t,n){return{min:t===void 0?void 0:e.min+t,max:n===void 0?void 0:e.max+n-(e.max-e.min)}}function Lu(e,{top:t,left:n,bottom:r,right:i}){return{x:Iu(e.x,n,i),y:Iu(e.y,t,r)}}function Ru(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}function zu(e,t){return{x:Ru(e.x,t.x),y:Ru(e.y,t.y)}}function Bu(e,t){let n=.5,r=Y(e),i=Y(t);return i>r?n=ct(t.min,t.max-r,e.min):r>i&&(n=ct(e.min,e.max-i,t.min)),tt(0,1,n)}function Vu(e,t){let n={};return t.min!==void 0&&(n.min=t.min-e.min),t.max!==void 0&&(n.max=t.max-e.min),n}var Hu=.35;function Uu(e=Hu){return e===!1?e=0:e===!0&&(e=Hu),{x:Wu(e,`left`,`right`),y:Wu(e,`top`,`bottom`)}}function Wu(e,t,n){return{min:Gu(e,t),max:Gu(e,n)}}function Gu(e,t){return typeof e==`number`?e:e[t]||0}var Ku=new WeakMap,qu=class{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=J(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:t=!1,distanceThreshold:n}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let i=e=>{t&&this.snapToCursor(xu(e).point),this.stopAnimation()},a=(e,t)=>{let{drag:n,dragPropagation:r,onDragStart:i}=this.getProps();if(n&&!r&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Ua(n),!this.openDragLock))return;this.latestPointerEvent=e,this.latestPanInfo=t,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Cc(e=>{let t=this.getAxisMotionValue(e).get()||0;if(pn.test(t)){let{projection:n}=this.visualElement;if(n&&n.layout){let r=n.layout.layoutBox[e];r&&(t=Y(r)*(parseFloat(t)/100))}}this.originPoint[e]=t}),i&&B.update(()=>i(e,t),!1,!0),ca(this.visualElement,`transform`);let{animationState:a}=this.visualElement;a&&a.setActive(`whileDrag`,!0)},o=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t;let{dragPropagation:n,dragDirectionLock:r,onDirectionLock:i,onDrag:a}=this.getProps();if(!n&&!this.openDragLock)return;let{offset:o}=t;if(r&&this.currentDirection===null){this.currentDirection=Zu(o),this.currentDirection!==null&&i&&i(this.currentDirection);return}this.updateAxis(`x`,t.point,o),this.updateAxis(`y`,t.point,o),this.visualElement.render(),a&&B.update(()=>a(e,t),!1,!0)},s=(e,t)=>{this.latestPointerEvent=e,this.latestPanInfo=t,this.stop(e,t),this.latestPointerEvent=null,this.latestPanInfo=null},c=()=>{let{dragSnapToOrigin:e}=this.getProps();(e||this.constraints)&&this.startAnimation({x:0,y:0})},{dragSnapToOrigin:l}=this.getProps();this.panSession=new Ou(e,{onSessionStart:i,onStart:a,onMove:o,onSessionEnd:s,resumeAnimation:c},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:n,contextWindow:wu(this.visualElement),element:this.visualElement.current})}stop(e,t){let n=e||this.latestPointerEvent,r=t||this.latestPanInfo,i=this.isDragging;if(this.cancel(),!i||!r||!n)return;let{velocity:a}=r;this.startAnimation(a);let{onDragEnd:o}=this.getProps();o&&B.postRender(()=>o(n,r))}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();let{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive(`whileDrag`,!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,t,n){let{drag:r}=this.getProps();if(!n||!Xu(e,r,this.currentDirection))return;let i=this.getAxisMotionValue(e),a=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(a=Fu(a,this.constraints[e],this.elastic[e])),i.set(a)}resolveConstraints(){let{dragConstraints:e,dragElastic:t}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,r=this.constraints;e&&cu(e)?this.constraints||=this.resolveRefConstraints():e&&n?this.constraints=Lu(n.layoutBox,e):this.constraints=!1,this.elastic=Uu(t),r!==this.constraints&&!cu(e)&&n&&this.constraints&&!this.hasMutatedConstraints&&Cc(e=>{this.constraints!==!1&&this.getAxisMotionValue(e)&&(this.constraints[e]=Vu(n.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!cu(e))return!1;let n=e.current,{projection:r}=this.visualElement;if(!r||!r.layout)return!1;r.root&&(r.root.scroll=void 0,r.root.updateScroll());let i=hs(n,r.root,this.visualElement.getTransformPagePoint()),a=zu(r.layout.layoutBox,i);if(t){let e=t(Xo(a));this.hasMutatedConstraints=!!e,e&&(a=Yo(e))}return a}startAnimation(e){let{drag:t,dragMomentum:n,dragElastic:r,dragTransition:i,dragSnapToOrigin:a,onDragTransitionEnd:o}=this.getProps(),s=this.constraints||{},c=Cc(o=>
1{if(!Xu(o,t,this.currentDirection))return;let c=s&&s[o]||{};(a===!0||a===o)&&(c={min:0,max:0});let l=r?200:1e6,u=r?40:1e7,d={type:`inertia`,velocity:n?e[o]:0,bounceStiffness:l,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...i,...c};return this.startAxisValueAnimation(o,d)});return Promise.all(c).then(o)}startAxisValueAnimation(e,t){let n=this.getAxisMotionValue(e);return ca(this.visualElement,e),n.start(Yi(e,n,0,t,this.visualElement,!1))}stopAnimation(){Cc(e=>this.getAxisMotionValue(e).stop())}getAxisMotionValue(e){let t=`_drag${e.toUpperCase()}`;return this.visualElement.getProps()[t]||this.visualElement.getValue(e,this.visualElement.latestValues[e]??0)}snapToCursor(e){Cc(t=>{let{drag:n}=this.getProps();if(!Xu(t,n,this.currentDirection))return;let{projection:r}=this.visualElement,i=this.getAxisMotionValue(t);if(r&&r.layout){let{min:n,max:a}=r.layout.layoutBox[t],o=i.get()||0;i.set(e[t]-G(n,a,.5)+o)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!cu(t)||!n||!this.constraints)return;this.stopAnimation();let r={x:0,y:0};Cc(e=>{let t=this.getAxisMotionValue(e);if(t&&this.constraints!==!1){let n=t.get();r[e]=Bu({min:n,max:n},this.constraints[e])}});let{transformTemplate:i}=this.visualElement.getProps();this.visualElement.current.style.transform=i?i({},``):`none`,n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),Cc(t=>{if(!Xu(t,e,null))return;let n=this.getAxisMotionValue(t),{min:i,max:a}=this.constraints[t];n.set(G(i,a,r[t]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Ku.set(this.visualElement,this);let e=this.visualElement.current,t=Cu(e,`pointerdown`,t=>{let{drag:n,dragListener:r=!0}=this.getProps(),i=t.target,a=i!==e&&Qa(i);n&&r&&!a&&this.start(t)}),n,r=()=>{let{dragConstraints:t}=this.getProps();cu(t)&&t.current&&(this.constraints=this.resolveRefConstraints(),n||=Yu(e,t.current,()=>this.scalePositionWithinConstraints()))},{projection:i}=this.visualElement,a=i.addEventListener(`measure`,r);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),B.read(r);let o=Fc(window,`resize`,()=>this.scalePositionWithinConstraints()),s=i.addEventListener(`didUpdate`,(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Cc(t=>{let n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())}));return()=>{o(),t(),a(),s&&s(),n&&n()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:i=!1,dragElastic:a=Hu,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:i,dragElastic:a,dragMomentum:o}}};function Ju(e){let t=!0;return()=>{if(t){t=!1;return}e()}}function Yu(e,t,n){let r=xo(e,Ju(n)),i=xo(t,Ju(n));return()=>{r(),i()}}function Xu(e,t,n){return(t===!0||t===e)&&(n===null||n===e)}function Zu(e,t=10){let n=null;return Math.abs(e.y)>t?n=`y`:Math.abs(e.x)>t&&(n=`x`),n}var Qu=class extends Jo{constructor(e){super(e),this.removeGroupControls=R,this.removeListeners=R,this.controls=new qu(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||R}update(){let{dragControls:e}=this.node.getProps(),{dragControls:t}=this.node.prevProps||{};e!==t&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}},$u=e=>(t,n)=>{e&&B.update(()=>e(t,n),!1,!0)},ed=class extends Jo{constructor(){super(...arguments),this.removePointerDownListener=R}onPointerDown(e){this.session=new Ou(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:wu(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:$u(e),onStart:$u(t),onMove:$u(n),onEnd:(e,t)=>{delete this.session,r&&B.postRender(()=>r(e,t))}}}mount(){this.removePointerDownListener=Cu(this.node.current,`pointerdown`,e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}},td=!1,nd=class extends _.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:i}=e;i&&(t.group&&t.group.add(i),n&&n.register&&r&&n.register(i),td&&i.root.didUpdate(),i.addEventListener(`animationComplete`,()=>{this.safeToRemove()}),i.setOptions({...i.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Vc.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:n,drag:r,isPresent:i}=this.props,{projection:a}=n;return a?(a.isPresent=i,e.layoutDependency!==t&&a.setOptions({...a.options,layoutDependency:t}),td=!0,r||e.layoutDependency!==t||t===void 0||e.isPresent!==i?a.willUpdate():this.safeToRemove(),e.isPresent!==i&&(i?a.promote():a.relegate()||B.postRender(()=>{let e=a.getStack();(!e||!e.members.length)&&this.safeToRemove()})),null):null}componentDidUpdate(){let{visualElement:e,layoutAnchor:t}=this.props,{projection:n}=e;n&&(n.options.layoutAnchor=t,n.root.didUpdate(),za.postRender(()=>{!n.currentAnimation&&n.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;td=!0,r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function rd(e){let[t,n]=Tl(),r=(0,_.useContext)(Ye);return(0,L.jsx)(nd,{...e,layoutGroup:r,switchLayoutGroup:(0,_.useContext)(su),isPresent:t,safeToRemove:n})}var id={pan:{Feature:ed},drag:{Feature:Qu,ProjectionNode:Cl,MeasureLayout:rd}};
1function ad(e,t,n){let{props:r}=e;e.animationState&&r.whileHover&&e.animationState.setActive(`whileHover`,n===`Start`);let i=r[`onHover`+n];i&&B.postRender(()=>i(t,xu(t)))}var od=class extends Jo{mount(){let{current:e}=this.node;e&&(this.unmount=Ka(e,(e,t)=>(ad(this.node,t,`Start`),e=>ad(this.node,e,`End`))))}unmount(){}},sd=class extends Jo{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(`:focus-visible`)}catch{e=!0}!e||!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=st(Fc(this.node.current,`focus`,()=>this.onFocus()),Fc(this.node.current,`blur`,()=>this.onBlur()))}unmount(){}};function cd(e,t,n){let{props:r}=e;if(e.current instanceof HTMLButtonElement&&e.current.disabled)return;e.animationState&&r.whileTap&&e.animationState.setActive(`whileTap`,n===`Start`);let i=r[`onTap`+(n===`End`?``:n)];i&&B.postRender(()=>i(t,xu(t)))}var ld=class extends Jo{mount(){let{current:e}=this.node;if(!e)return;let{globalTapTarget:t,propagate:n}=this.node.props;this.unmount=ao(e,(e,t)=>(cd(this.node,t,`Start`),(e,{success:t})=>cd(this.node,e,t?`End`:`Cancel`)),{useGlobalTarget:t,stopPropagation:n?.tap===!1})}unmount(){}},ud=new WeakMap,dd=new WeakMap,fd=e=>{let t=ud.get(e.target);t&&t(e)},pd=e=>{e.forEach(fd)};function md({root:e,...t}){let n=e||document;dd.has(n)||dd.set(n,{});let r=dd.get(n),i=JSON.stringify(t);return r[i]||(r[i]=new IntersectionObserver(pd,{root:e,...t})),r[i]}function hd(e,t,n){let r=md(t);return ud.set(e,n),r.observe(e),()=>{ud.delete(e),r.unobserve(e)}}var gd={some:0,all:1},_d=class extends Jo{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.stopObserver?.();let{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r=`some`,once:i}=e,a={root:t?t.current:void 0,rootMargin:n,threshold:typeof r==`number`?r:gd[r]},o=e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,i&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive(`whileInView`,t);let{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),a=t?n:r;a&&a(e)};this.stopObserver=hd(this.node.current,a,o)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>`u`)return;let{props:e,prevProps:t}=this.node;[`amount`,`margin`,`root`].some(vd(e,t))&&this.startObserver()}unmount(){this.stopObserver?.(),this.hasEnteredView=!1,this.isInView=!1}};function vd({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}var yd={inView:{Feature:_d},tap:{Feature:ld},focus:{Feature:sd},hover:{Feature:od}},bd={layout:{ProjectionNode:Cl,MeasureLayout:rd}},xd=gu({...bu,...yd,...id,...bd},_u);function Sd(e){return typeof window>`u`?!1:e?ci():si()}var Cd=50,wd=()=>({current:0,offset:[],progress:0,scrollLength:0,targetOffset:0,targetLength:0,containerLength:0,velocity:0}),Td=()=>({time:0,x:wd(),y:wd()}),Ed={x:{length:`Width`,position:`Left`},y:{length:`Height`,position:`Top`}};function Dd(e,t,n,r){let i=n[t],{length:a,position:o}=Ed[t],s=i.current,c=n.time;i.current=Math.abs(e[`scroll${o}`]),i.scrollLength=e[`scroll${a}`]-e[`client${a}`],i.offset.length=0,i.offset[0]=0,i.offset[1]=i.scrollLength,i.progress=ct(0,i.scrollLength,i.current);let l=r-c;i.velocity=l>Cd?0:dt(i.current-s,l)}function Od(e,t,n){Dd(e,`x`,t,n),Dd(e,`y`,t,n),t.time=n}function kd(e,t){let n={x:0,y:0},r=e;for(;r&&r!==t;)if(Ra(r))n.x+=r.offsetLeft,n.y+=r.offsetTop,r=r.offsetParent;else if(r.tagName===`svg`){let e=r.getBoundingClientRect();r=r.parentElement;let t=r.getBoundingClientRect();n.x+=e.left-t.left,n.y+=e.top-t.top}else if(r instanceof SVGGraphicsElement){let{x:e,y:t}=r.getBBox();n.x+=e,n.y+=t;let i=null,a=r.parentNode;for(;!i;)a.tagName===`svg`&&(i=a),a=r.parentNode;r=i}else break;return n}var Ad={start:0,center:.5,end:1};
1function jd(e,t,n=0){let r=0;if(e in Ad&&(e=Ad[e]),typeof e==`string`){let t=parseFloat(e);e.endsWith(`px`)?r=t:e.endsWith(`%`)?e=t/100:e.endsWith(`vw`)?r=t/100*document.documentElement.clientWidth:e.endsWith(`vh`)?r=t/100*document.documentElement.clientHeight:e=t}return typeof e==`number`&&(r=t*e),n+r}var Md=[0,0];function Nd(e,t,n,r){let i=Array.isArray(e)?e:Md,a=0,o=0;return typeof e==`number`?i=[e,e]:typeof e==`string`&&(e=e.trim(),i=e.includes(` `)?e.split(` `):[e,Ad[e]?e:`0`]),a=jd(i[0],n,r),o=jd(i[1],t),a-o}var Pd={Enter:[[0,1],[1,1]],Exit:[[0,0],[1,0]],Any:[[1,0],[0,1]],All:[[0,0],[1,1]]},Fd={x:0,y:0};function Id(e){return`getBBox`in e&&e.tagName!==`svg`?e.getBBox():{width:e.clientWidth,height:e.clientHeight}}function Ld(e,t,n){let{offset:r=Pd.All}=n,{target:i=e,axis:a=`y`}=n,o=a===`y`?`height`:`width`,s=i===e?Fd:kd(i,e),c=i===e?{width:e.scrollWidth,height:e.scrollHeight}:Id(i),l={width:e.clientWidth,height:e.clientHeight};t[a].offset.length=0;let u=!t[a].interpolate,d=r.length;for(let e=0;e<d;e++){let n=Nd(r[e],l[o],c[o],s[a]);!u&&n!==t[a].interpolatorOffsets[e]&&(u=!0),t[a].offset[e]=n}u&&(t[a].interpolate=gr(t[a].offset,vr(r),{clamp:!1}),t[a].interpolatorOffsets=[...t[a].offset]),t[a].progress=tt(0,1,t[a].interpolate(t[a].current))}function Rd(e,t=e,n){if(n.x.targetOffset=0,n.y.targetOffset=0,t!==e){let r=t;for(;r&&r!==e;)n.x.targetOffset+=r.offsetLeft,n.y.targetOffset+=r.offsetTop,r=r.offsetParent}n.x.targetLength=t===e?t.scrollWidth:t.clientWidth,n.y.targetLength=t===e?t.scrollHeight:t.clientHeight,n.x.containerLength=e.clientWidth,n.y.containerLength=e.clientHeight}function zd(e,t,n,r={}){return{measure:t=>{Rd(e,r.target,n),Od(e,n,t),(r.offset||r.target)&&Ld(e,n,r)},notify:()=>t(n)}}var Bd=new WeakMap,Vd=new WeakMap,Hd=new WeakMap,Ud=new WeakMap,Wd=new WeakMap,Gd=e=>e===document.scrollingElement?window:e;function Kd(e,{container:t=document.scrollingElement,trackContentSize:n=!1,...r}={}){if(!t)return R;let i=Hd.get(t);i||(i=new Set,Hd.set(t,i));let a=zd(t,e,Td(),r);if(i.add(a),!Bd.has(t)){let e=()=>{for(let e of i)e.measure(V.timestamp);B.preUpdate(n)},n=()=>{for(let e of i)e.notify()},r=()=>B.read(e);Bd.set(t,r);let a=Gd(t);window.addEventListener(`resize`,r),t!==document.documentElement&&Vd.set(t,xo(t,r)),a.addEventListener(`scroll`,r),r()}if(n&&!Wd.has(t)){let e=Bd.get(t),n={width:t.scrollWidth,height:t.scrollHeight};Ud.set(t,n);let r=B.read(()=>{let r=t.scrollWidth,i=t.scrollHeight;(n.width!==r||n.height!==i)&&(e(),n.width=r,n.height=i)},!0);Wd.set(t,r)}let o=Bd.get(t);return B.read(o,!1,!0),()=>{zt(o);let e=Hd.get(t);if(!e||(e.delete(a),e.size))return;let n=Bd.get(t);Bd.delete(t),n&&(Gd(t).removeEventListener(`scroll`,n),Vd.get(t)?.(),window.removeEventListener(`resize`,n));let r=Wd.get(t);r&&(zt(r),Wd.delete(t)),Ud.delete(t)}}var qd=[[Pd.Enter,`entry`],[Pd.Exit,`exit`],[Pd.Any,`cover`],[Pd.All,`contain`]],Jd={start:0,end:1};function Yd(e){let t=e.trim().split(/\s+/);if(t.length!==2)return;let n=Jd[t[0]],r=Jd[t[1]];if(!(n===void 0||r===void 0))return[n,r]}function Xd(e){if(e.length!==2)return;let t=[];for(let n of e)if(Array.isArray(n))t.push(n);else if(typeof n==`string`){let e=Yd(n);if(!e)return;t.push(e)}else return;return t}function Zd(e,t){let n=Xd(e);if(!n)return!1;for(let e=0;e<2;e++){let r=n[e],i=t[e];if(r[0]!==i[0]||r[1]!==i[1])return!1}return!0}function Qd(e){if(!e)return{rangeStart:`contain 0%`,rangeEnd:`contain 100%`};for(let[t,n]of qd)if(Zd(e,t))return{rangeStart:`${n} 0%`,rangeEnd:`${n} 100%`}}var $d=new Map;function ef(e){let t={value:0};return{currentTime:t,cancel:Kd(n=>{t.value=n[e.axis].progress*100},e)}}function tf({source:e,container:t,...n}){let{axis:r}=n;e&&(t=e);let i=$d.get(t);i||(i=new Map,$d.set(t,i));let a=n.target??`self`,o=i.get(a);o||(o={},i.set(a,o));let s=r+(n.offset??[]).join(`,`);return o[s]||(n.target&&Sd(n.target)?Qd(n.offset)?o[s]=new ViewTimeline({subject:n.target,axis:r}):o[s]=ef({container:t,...n}):Sd()?o[s]=new ScrollTimeline({source:t,axis:r}):o[s]=ef({container:t,...n})),o[s]}function nf(e,t){let n=tf(t),r=t.target?Qd(t.offset):void 0,i=t.target?Sd(t.target)&&!!r:Sd();return e.attachTimeline({timeline:i?n:void 0,...r&&i&&{rangeStart:r.rangeStart,rangeEnd:r.rangeEnd},observe:e=>(e.pause(),So(t=>{e.time=e.iterationDuration*t},n))})}function rf(e){return e&&(e.target||e.offset)}function af(e){return e.length===2}function of(e,t){return af(e)||rf(t)?Kd(n=>{e(n[t.axis].progress,n)},t):So(e,tf(t))}function sf(e,{axis:t=`y`,container:n=document.scrollingElement,...r}={}){if(!n)return R;let i={axis:t,container:n,...r};return typeof e==`function`?of(e,i):nf(e,i)}var cf=()=>({scrollX:zi(0),scrollY:zi(0),scrollXProgress:zi(0),scrollYProgress:zi(0)}),lf=e=>e?!e.current:!1;function uf(e,t,n,r){return{factory:i=>{let a,o=()=>
1{if(lf(n)||lf(r)){za.read(o);return}a=sf(i,{...t,axis:e,container:n?.current||void 0,target:r?.current||void 0})};return za.read(o),()=>{Ba(o),a?.()}},times:[0,1],keyframes:[0,1],ease:e=>e,duration:1}}function df(e,t){return typeof window>`u`?!1:e?ci()&&!!Qd(t):si()}function ff({container:e,target:t,...n}={}){let r=Xe(cf);df(t,n.offset)&&(r.scrollXProgress.accelerate=uf(`x`,n,e,t),r.scrollYProgress.accelerate=uf(`y`,n,e,t));let i=(0,_.useRef)(null),a=(0,_.useRef)(!1),o=(0,_.useCallback)(()=>(i.current=sf((e,{x:t,y:n})=>{r.scrollX.set(t.current),r.scrollXProgress.set(t.progress),r.scrollY.set(n.current),r.scrollYProgress.set(n.progress)},{...n,container:e?.current||void 0,target:t?.current||void 0}),()=>{i.current?.()}),[e,t,JSON.stringify(n.offset)]);return Ze(()=>{if(a.current=!1,lf(e)||lf(t)){a.current=!0;return}else return o()},[o]),(0,_.useEffect)(()=>{if(!a.current)return;let n,r=()=>{let r=lf(e),i=lf(t);!r&&!i&&(n=o())};return za.read(r),()=>{Ba(r),n?.()}},[o]),r}function pf(e){let t=Xe(()=>zi(e)),{isStatic:n}=(0,_.useContext)(wl);if(n){let[,n]=(0,_.useState)(e);(0,_.useEffect)(()=>t.on(`change`,n),[])}return t}function mf(e,t){let n=pf(t()),r=()=>n.set(t());return r(),Ze(()=>{let t=()=>B.preRender(r,!1,!0),n=e.map(e=>e.on(`change`,t));return()=>{n.forEach(e=>e()),zt(r)}}),n}function hf(e){Li.current=[],e();let t=mf(Li.current,e);return Li.current=void 0,t}function gf(e,t,n,r){if(typeof e==`function`)return hf(e);if(n!==void 0&&!Array.isArray(n)&&typeof t!=`function`)return vf(e,t,n,r);let i=typeof t==`function`?t:wo(t,n,r),a=Array.isArray(e)?_f(e,i):_f([e],([e])=>i(e)),o=Array.isArray(e)?void 0:e.accelerate;return o&&!o.isTransformed&&typeof t!=`function`&&Array.isArray(n)&&r?.clamp!==!1&&(a.accelerate={...o,times:t,keyframes:n,isTransformed:!0,...r?.ease?{ease:r.ease}:{}}),a}function _f(e,t){let n=Xe(()=>[]);return mf(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}function vf(e,t,n,r){let i=Xe(()=>Object.keys(n)),a=Xe(()=>({}));for(let o of i)a[o]=gf(e,t,n[o],r);return a}var yf=Ie();function bf(e){var t,n,r=``;if(typeof e==`string`||typeof e==`number`)r+=e;else if(typeof e==`object`)if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=bf(e[t]))&&(r&&(r+=` `),r+=n)}else for(n in e)e[n]&&(r&&(r+=` `),r+=n);return r}function xf(){for(var e,t,n=0,r=``,i=arguments.length;n<i;n++)(e=arguments[n])&&(t=bf(e))&&(r&&(r+=` `),r+=t);return r}var Sf=(e,t)=>{let n=Array(e.length+t.length);for(let t=0;t<e.length;t++)n[t]=e[t];for(let r=0;r<t.length;r++)n[e.length+r]=t[r];return n},Cf=(e,t)=>({classGroupId:e,validator:t}),wf=(e=new Map,t=null,n)=>({nextPart:e,validators:t,classGroupId:n}),Tf=`-`,Ef=[],Df=`arbitrary..`,Of=e=>{let t=jf(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{if(e.startsWith(`[`)&&e.endsWith(`]`))return Af(e);let n=e.split(Tf);return kf(n,+(n[0]===``&&n.length>1),t)},getConflictingClassGroupIds:(e,t)=>{if(t){let t=r[e],i=n[e];return t?i?Sf(i,t):t:i||Ef}return n[e]||Ef}}},kf=(e,t,n)=>{if(e.length-t===0)return n.classGroupId;let r=e[t],i=n.nextPart.get(r);if(i){let n=kf(e,t+1,i);if(n)return n}let a=n.validators;if(a===null)return;let o=t===0?e.join(Tf):e.slice(t).join(Tf),s=a.length;for(let e=0;e<s;e++){let t=a[e];if(t.validator(o))return t.classGroupId}},Af=e=>e.slice(1,-1).indexOf(`:`)===-1?void 0:(()=>{let t=e.slice(1,-1),n=t.indexOf(`:`),r=t.slice(0,n);return r?Df+r:void 0})(),jf=e=>{let{theme:t,classGroups:n}=e;return Mf(n,t)},Mf=(e,t)=>{let n=wf();for(let r in e){let i=e[r];Nf(i,n,r,t)}return n},Nf=(e,t,n,r)=>{let i=e.length;for(let a=0;a<i;a++){let i=e[a];Pf(i,t,n,r)}},Pf=(e,t,n,r)=>{if(typeof e==`string`){Ff(e,t,n);return}if(typeof e==`function`){If(e,t,n,r);return}Lf(e,t,n,r)},Ff=(e,t,n)=>{let r=e===``?t:Rf(t,e);r.classGroupId=n},If=(e,t,n,r)=>{if(zf(e)){Nf(e(r),t,n,r);return}t.validators===null&&(t.validators=[]),t.validators.push(Cf(n,e))},Lf=(e,t,n,r)=>{let i=Object.entries(e),a=i.length;for(let e=0;e<a;e++){let[a,o]=i[e];Nf(o,Rf(t,a),n,r)}},Rf=(e,t)=>{let n=e,r=t.split(Tf),i=r.length;for(let e=0;e<i;e++){let t=r[e],i=n.nextPart.get(t);i||(i=wf(),n.nextPart.set(t,i)),n=i}return n},zf=e=>
vendor: 12,978 bytes, line 1
1`isThemeGetter`in e&&e.isThemeGetter===!0,Bf=e=>{if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,n=Object.create(null),r=Object.create(null),i=(i,a)=>{n[i]=a,t++,t>e&&(t=0,r=n,n=Object.create(null))};return{get(e){let t=n[e];if(t!==void 0)return t;if((t=r[e])!==void 0)return i(e,t),t},set(e,t){e in n?n[e]=t:i(e,t)}}},Vf=`!`,Hf=`:`,Uf=[],Wf=(e,t,n,r,i)=>({modifiers:e,hasImportantModifier:t,baseClassName:n,maybePostfixModifierPosition:r,isExternal:i}),Gf=e=>{let{prefix:t,experimentalParseClassName:n}=e,r=e=>{let t=[],n=0,r=0,i=0,a,o=e.length;for(let s=0;s<o;s++){let o=e[s];if(n===0&&r===0){if(o===Hf){t.push(e.slice(i,s)),i=s+1;continue}if(o===`/`){a=s;continue}}o===`[`?n++:o===`]`?n--:o===`(`?r++:o===`)`&&r--}let s=t.length===0?e:e.slice(i),c=s,l=!1;s.endsWith(Vf)?(c=s.slice(0,-1),l=!0):s.startsWith(Vf)&&(c=s.slice(1),l=!0);let u=a&&a>i?a-i:void 0;return Wf(t,l,c,u)};if(t){let e=t+Hf,n=r;r=t=>t.startsWith(e)?n(t.slice(e.length)):Wf(Uf,!1,t,void 0,!0)}if(n){let e=r;r=t=>n({className:t,parseClassName:e})}return r},Kf=e=>{let t=new Map;return e.orderSensitiveModifiers.forEach((e,n)=>{t.set(e,1e6+n)}),e=>{let n=[],r=[];for(let i=0;i<e.length;i++){let a=e[i],o=a[0]===`[`,s=t.has(a);o||s?(r.length>0&&(r.sort(),n.push(...r),r=[]),n.push(a)):r.push(a)}return r.length>0&&(r.sort(),n.push(...r)),n}},qf=e=>({cache:Bf(e.cacheSize),parseClassName:Gf(e),sortModifiers:Kf(e),postfixLookupClassGroupIds:Jf(e),...Of(e)}),Jf=e=>{let t=Object.create(null),n=e.postfixLookupClassGroups;if(n)for(let e=0;e<n.length;e++)t[n[e]]=!0;return t},Yf=/\s+/,Xf=(e,t)=>{let{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:i,sortModifiers:a,postfixLookupClassGroupIds:o}=t,s=[],c=e.trim().split(Yf),l=``;for(let e=c.length-1;e>=0;--e){let t=c[e],{isExternal:u,modifiers:d,hasImportantModifier:f,baseClassName:p,maybePostfixModifierPosition:m}=n(t);if(u){l=t+(l.length>0?` `+l:l);continue}let h=!!m,g;if(h){g=r(p.substring(0,m));let e=g&&o[g]?r(p):void 0;e&&e!==g&&(g=e,h=!1)}else g=r(p);if(!g){if(!h){l=t+(l.length>0?` `+l:l);continue}if(g=r(p),!g){l=t+(l.length>0?` `+l:l);continue}h=!1}let _=d.length===0?``:d.length===1?d[0]:a(d).join(`:`),v=f?_+Vf:_,y=v+g;if(s.indexOf(y)>-1)continue;s.push(y);let b=i(g,h);for(let e=0;e<b.length;++e){let t=b[e];s.push(v+t)}l=t+(l.length>0?` `+l:l)}return l},Zf=(...e)=>{let t=0,n,r,i=``;for(;t<e.length;)(n=e[t++])&&(r=Qf(n))&&(i&&(i+=` `),i+=r);return i},Qf=e=>{if(typeof e==`string`)return e;let t,n=``;for(let r=0;r<e.length;r++)e[r]&&(t=Qf(e[r]))&&(n&&(n+=` `),n+=t);return n},$f=(e,...t)=>{let n,r,i,a,o=o=>(n=qf(t.reduce((e,t)=>t(e),e())),r=n.cache.get,i=n.cache.set,a=s,s(o)),s=e=>{let t=r(e);if(t)return t;let a=Xf(e,n);return i(e,a),a};return a=o,(...e)=>a(Zf(...e))},ep=[],X=e=>{let t=t=>t[e]||ep;return t.isThemeGetter=!0,t},tp=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,np=/^\((?:(\w[\w-]*):)?(.+)\)$/i,rp=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,ip=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ap=/\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$/,op=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,sp=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,cp=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,lp=e=>rp.test(e),Z=e=>!!e&&!Number.isNaN(Number(e)),up=e=>!!e&&Number.isInteger(Number(e)),dp=e=>e.endsWith(`%`)&&Z(e.slice(0,-1)),fp=e=>ip.test(e),pp=()=>!0,mp=e=>ap.test(e)&&!op.test(e),hp=()=>!1,gp=e=>sp.test(e),_p=e=>cp.test(e),vp=e=>!Q(e)&&!$(e),yp=e=>e.startsWith(`@container`)&&(e[10]===`/`&&e[11]!==void 0||e[11]===`s`&&e[16]!==void 0&&e.startsWith(`-size/`,10)||e[11]===`n`&&e[18]!==void 0&&e.startsWith(`-normal/`,10)),bp=e=>Fp(e,zp,hp),Q=e=>tp.test(e),xp=e=>Fp(e,Bp,mp),Sp=e=>Fp(e,Vp,Z),Cp=e=>Fp(e,Up,pp),wp=e=>Fp(e,Hp,hp),Tp=e=>Fp(e,Lp,hp),Ep=e=>Fp(e,Rp,_p),Dp=e=>Fp(e,Wp,gp),$=e=>np.test(e),Op=e=>Ip(e,Bp),kp=e=>Ip(e,Hp),Ap=e=>Ip(e,Lp),jp=e=>Ip(e,zp),Mp=e=>Ip(e,Rp),Np=e=>Ip(e,Wp,!0),Pp=e=>Ip(e,Up,!0),Fp=(e,t,n)=>{let r=tp.exec(e);return r?r[1]?t(r[1]):n(r[2]):!1},Ip=(e,t,n=!1)=>{let r=np.exec(e);return r?r[1]?t(r[1]):n:!1},Lp=e=>e===`position`||e===`percentage`,Rp=e=>e===`image`||e===`url`,zp=e=>e===`length`||e===`size`||e===`bg-size`,Bp=e=>e===`length`,Vp=e=>e===`number`,Hp=e=>e===`family-name`,Up=e=>e===`number`||e===`weight`,Wp=e=>e===`shadow`,Gp=$f(()=>{let e=X(`color`),t=X(`font`),n=X(`text`),r=X(`font-weight`),i=X(`tracking`),a=X(`leading`),o=X(`breakpoint`),s=X(`container`),c=X(`spacing`),l=X(`radius`),u=X(`shadow`),d=X(`inset-shadow`),f=X(`text-shadow`),p=X(`drop-shadow`),m=X(`blur`),h=X(`perspective`),g=X(`aspect`),_=X(`ease`),v=X(`animate`),y=()=>[`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`],x=()=>[...b(),$,Q],S=()=>[`auto`,`hidden`,`clip`,`visible`,`scroll`],C=()=>[`auto`,`contain`,`none`],w=()=>[$,Q,c],T=()=>[lp,`full`,`auto`,...w()],E=()=>[up,`none`,`subgrid`,$,Q],D=()=>[`auto`,{span:[`full`,up,$,Q]},up,$,Q],O=()=>[up,`auto`,$,Q],ee=()=>[`auto`,`min`,`max`,`fr`,$,Q],te=()=>[`start`,`end`,`center`,`between`,`around`,`evenly`,`stretch`,`baseline`,`center-safe`,`end-safe`],k=()=>[`start`,`end`,`center`,`stretch`,`center-safe`,`end-safe`],A=()=>[`auto`,...w()],j=()=>[lp,`auto`,`full`,`dvw`,`dvh`,`lvw`,`lvh`,`svw`,`svh`,`min`,`max`,`fit`,...w()],ne=()=>[lp,`screen`,`full`,`dvw`,`lvw`,`svw`,`min`,`max`,`fit`,...w()],re=()=>[lp,`screen`,`full`,`lh`,`dvh`,`lvh`,`svh`,`min`,`max`,`fit`,...w()],M=()=>[e,$,Q],ie=()=>[...b(),Ap,Tp,{position:[$,Q]}],ae=()=>[`no-repeat`,{repeat:[``,`x`,`y`,`space`,`round`]}],oe=()=>[`auto`,`cover`,`contain`,jp,bp,{size:[$,Q]}],se=()=>[dp,Op,xp],N=()=>[``,`none`,`full`,l,$,Q],P=()=>[``,Z,Op,xp],ce=()=>[`solid`,`dashed`,`dotted`,`double`],le=()=>[`normal`,`multiply`,`screen`,`overlay`,`darken`,`lighten`,`color-dodge`,`color-burn`,`hard-light`,`soft-light`,`difference`,`exclusion`,`hue`,`saturation`,`color`,`luminosity`],F=()=>[Z,dp,Ap,Tp],ue=()=>[``,`none`,m,$,Q],de=()=>[`none`,Z,$,Q],fe=()=>[`none`,Z,$,Q],I=()=>[Z,$,Q],pe=()=>[lp,`full`,...w()];return{cacheSize:500,theme:{animate:[`spin`,`ping`,`pulse`,`bounce`],aspect:[`video`],blur:[fp],breakpoint:[fp],color:[pp],container:[fp],"drop-shadow":[fp],ease:[`in`,`out`,`in-out`],font:[vp],"font-weight":[`thin`,`extralight`,`light`,`normal`,`medium`,`semibold`,`bold`,`extrabold`,`black`],"inset-shadow":[fp],leading:[`none`,`tight`,`snug`,`normal`,`relaxed`,`loose`],perspective:[`dramatic`,`near`,`normal`,`midrange`,`distant`,`none`],radius:[fp],shadow:[fp],spacing:[`px`,Z],text:[fp],"text-shadow":[fp],tracking:[`tighter`,`tight`,`normal`,`wide`,`wider`,`widest`]},classGroups:{aspect:[{aspect:[`auto`,`square`,lp,Q,$,g]}],container:[`container`],"container-type":[{"@container":[``,`normal`,`size`,$,Q]}],"container-named":[yp],columns:[{columns:[Z,Q,$,s]}],"break-after":[{"break-after":y()}],"break-before":[{"break-before":y()}],"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:x()}],overflow:[{overflow:S()}],"overflow-x":[{"overflow-x":S()}],"overflow-y":[{"overflow-y":S()}],overscroll:[{overscroll:C()}],"overscroll-x":[{"overscroll-x":C()}],"overscroll-y":[{"overscroll-y":C()}],position:[`static`,`fixed`,`absolute`,`relative`,`sticky`],inset:[{inset:T()}],"inset-x":[{"inset-x":T()}],"inset-y":[{"inset-y":T()}],start:[{"inset-s":T(),start:T()}],end:[{"inset-e":T(),end:T()}],"inset-bs":[{"inset-bs":T()}],"inset-be":[{"inset-be":T()}],top:[{top:T()}],right:[{right:T()}],bottom:[{bottom:T()}],left:[{left:T()}],visibility:[`visible`,`invisible`,`collapse`],z:[{z:[up,`auto`,$,Q]}],basis:[{basis:[lp,`full`,`auto`,s,...w()]}],"flex-direction":[{flex:[`row`,`row-reverse`,`col`,`col-reverse`]}],"flex-wrap":[{flex:[`nowrap`,`wrap`,`wrap-reverse`]}],flex:[{flex:[Z,lp,`auto`,`initial`,`none`,Q]}],grow:[{grow:[``,Z,$,Q]}],shrink:[{shrink:[``,Z,$,Q]}],order:[{order:[up,`first`,`last`,`none`,$,Q]}],"grid-cols":[{"grid-cols":E()}],"col-start-end":[{col:D()}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":E()}],"row-start-end":[{row:D()}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":[`row`,`col`,`dense`,`row-dense`,`col-dense`]}],"auto-cols":[{"auto-cols":ee()}],"auto-rows":[{"auto-rows":ee()}],gap:[{gap:w()}],"gap-x":[{"gap-x":w()}],"gap-y":[{"gap-y":w()}],"justify-content":[{justify:[...te(),`normal`]}],"justify-items":[{"justify-items":[...k(),`normal`]}],"justify-self":[{"justify-self":[`auto`,...k()]}],"align-content":[{content:[`normal`,...te()]}],"align-items":[{items:[...k(),{baseline:[``,`last`]}]}],"align-self":[{self:[`auto`,...k(),{baseline:[``,`last`]}]}],"place-content":[{"place-content":te()}],"place-items":[{"place-items":[...k(),`baseline`]}],"place-self":[{"place-self":[`auto`,...k()]}],p:[{p:w()}],px:[{px:w()}],py:[{py:w()}],ps:[{ps:w()}],pe:[{pe:w()}],pbs:[{pbs:w()}],pbe:[{pbe:w()}],pt:[{pt:w()}],pr:[{pr:w()}],pb:[{pb:w()}],pl:[{pl:w()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mbs:[{mbs:A()}],mbe:[{mbe:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":w()}],"space-x-reverse":[`space-x-reverse`],"space-y":[{"space-y":w()}],"space-y-reverse":[`space-y-reverse`],size:[{size:j()}],"inline-size":[{inline:[`auto`,...ne()]}],"min-inline-size":[{"min-inline":[`auto`,...ne()]}],"max-inline-size":[{"max-inline":[`none`,...ne()]}],"block-size":[{block:[`auto`,...re()]}],"min-block-size":[{"min-block":[`auto`,...re()]}],"max-block-size":[{"max-block":[`none`,...re()]}],w:[{w:[s,`screen`,...j()]}],"min-w":[{"min-w":[s,`screen`,`none`,...j()]}],"max-w":[{"max-w":[s,`screen`,`none`,`prose`,{screen:[o]},...j()]}],h:[{h:[`screen`,`lh`,...j()]}],"min-h":[{"min-h":[`screen`,`lh`,`none`,...j()]}],"max-h":[{"max-h":[`screen`,`lh`,...j()]}],"font-size":[{text:[`base`,n,Op,xp]}],"font-smoothing":[`antialiased`,`subpixel-antialiased`],"font-style":[`italic`,`not-italic`],"font-weight":[{font:[r,Pp,Cp]}],"font-stretch":[{"font-stretch":[`ultra-condensed`,`extra-condensed`,`condensed`,`semi-condensed`,`normal`,`semi-expanded`,`expanded`,`extra-expanded`,`ultra-expanded`,dp,Q]}],"font-family":[{font:[kp,wp,t]}],"font-features":[{"font-features":[Q]}],"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:[i,$,Q]}],"line-clamp":[{"line-clamp":[Z,`none`,$,Sp]}],leading:[{leading:[a,...w()]}],"list-image":[{"list-image":[`none`,$,Q]}],"list-style-position":[{list:[`inside`,`outside`]}],"list-style-type":[{list:[`disc`,`decimal`,`none`,$,Q]}],"text-alignment":[{text:[`left`,`center`,`right`,`justify`,`start`,`end`]}],"placeholder-color":[{placeholder:M()}],"text-color":[{text:M()}],"text-decoration":[`underline`,`overline`,`line-through`,`no-underline`],"text-decoration-style":[{decoration:[...ce(),`wavy`]}],"text-decoration-thickness":[{decoration:[Z,`from-font`,`auto`,$,xp]}],"text-decoration-color":[{decoration:M()}],"underline-offset":[{"underline-offset":[Z,`auto`,$,Q]}],"text-transform":[`uppercase`,`lowercase`,`capitalize`,`normal-case`],"text-overflow":[`truncate`,`text-ellipsis`,`text-clip`],"text-wrap":[{text:[`wrap`,`nowrap`,`balance`,`pretty`]}],indent:[{indent:w()}],"tab-size":[{tab:[up,$,Q]}],"vertical-align":[{align:[`baseline`,`top`,`middle`,`bottom`,`text-top`,`text-bottom`,`sub`,`super`,$,Q]}],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`,$,Q]}],"bg-attachment":[{bg:[`fixed`,`local`,`scroll`]}],"bg-clip":[{"bg-clip":[`border`,`padding`,`content`,`text`]}],"bg-origin":[{"bg-origin":[`border`,`padding`,`content`]}],"bg-position":[{bg:ie()}],"bg-repeat":[{bg:ae()}],"bg-size":[{bg:oe()}],"bg-image":[{bg:[`none`,{linear:[{to:[`t`,`tr`,`r`,`br`,`b`,`bl`,`l`,`tl`]},up,$,Q],radial:[``,$,Q],conic:[up,$,Q]},Mp,Ep]}],"bg-color":[{bg:M()}],"gradient-from-pos":[{from:se()}
1],"gradient-via-pos":[{via:se()}],"gradient-to-pos":[{to:se()}],"gradient-from":[{from:M()}],"gradient-via":[{via:M()}],"gradient-to":[{to:M()}],rounded:[{rounded:N()}],"rounded-s":[{"rounded-s":N()}],"rounded-e":[{"rounded-e":N()}],"rounded-t":[{"rounded-t":N()}],"rounded-r":[{"rounded-r":N()}],"rounded-b":[{"rounded-b":N()}],"rounded-l":[{"rounded-l":N()}],"rounded-ss":[{"rounded-ss":N()}],"rounded-se":[{"rounded-se":N()}],"rounded-ee":[{"rounded-ee":N()}],"rounded-es":[{"rounded-es":N()}],"rounded-tl":[{"rounded-tl":N()}],"rounded-tr":[{"rounded-tr":N()}],"rounded-br":[{"rounded-br":N()}],"rounded-bl":[{"rounded-bl":N()}],"border-w":[{border:P()}],"border-w-x":[{"border-x":P()}],"border-w-y":[{"border-y":P()}],"border-w-s":[{"border-s":P()}],"border-w-e":[{"border-e":P()}],"border-w-bs":[{"border-bs":P()}],"border-w-be":[{"border-be":P()}],"border-w-t":[{"border-t":P()}],"border-w-r":[{"border-r":P()}],"border-w-b":[{"border-b":P()}],"border-w-l":[{"border-l":P()}],"divide-x":[{"divide-x":P()}],"divide-x-reverse":[`divide-x-reverse`],"divide-y":[{"divide-y":P()}],"divide-y-reverse":[`divide-y-reverse`],"border-style":[{border:[...ce(),`hidden`,`none`]}],"divide-style":[{divide:[...ce(),`hidden`,`none`]}],"border-color":[{border:M()}],"border-color-x":[{"border-x":M()}],"border-color-y":[{"border-y":M()}],"border-color-s":[{"border-s":M()}],"border-color-e":[{"border-e":M()}],"border-color-bs":[{"border-bs":M()}],"border-color-be":[{"border-be":M()}],"border-color-t":[{"border-t":M()}],"border-color-r":[{"border-r":M()}],"border-color-b":[{"border-b":M()}],"border-color-l":[{"border-l":M()}
vendor: 6,156 bytes, line 1
1],"divide-color":[{divide:M()}],"outline-style":[{outline:[...ce(),`none`,`hidden`]}],"outline-offset":[{"outline-offset":[Z,$,Q]}],"outline-w":[{outline:[``,Z,Op,xp]}],"outline-color":[{outline:M()}],shadow:[{shadow:[``,`none`,u,Np,Dp]}],"shadow-color":[{shadow:M()}],"inset-shadow":[{"inset-shadow":[`none`,d,Np,Dp]}],"inset-shadow-color":[{"inset-shadow":M()}],"ring-w":[{ring:P()}],"ring-w-inset":[`ring-inset`],"ring-color":[{ring:M()}],"ring-offset-w":[{"ring-offset":[Z,xp]}],"ring-offset-color":[{"ring-offset":M()}],"inset-ring-w":[{"inset-ring":P()}],"inset-ring-color":[{"inset-ring":M()}],"text-shadow":[{"text-shadow":[`none`,f,Np,Dp]}],"text-shadow-color":[{"text-shadow":M()}],opacity:[{opacity:[Z,$,Q]}],"mix-blend":[{"mix-blend":[...le(),`plus-darker`,`plus-lighter`]}],"bg-blend":[{"bg-blend":le()}],"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":[Z]}],"mask-image-linear-from-pos":[{"mask-linear-from":F()}],"mask-image-linear-to-pos":[{"mask-linear-to":F()}],"mask-image-linear-from-color":[{"mask-linear-from":M()}],"mask-image-linear-to-color":[{"mask-linear-to":M()}],"mask-image-t-from-pos":[{"mask-t-from":F()}],"mask-image-t-to-pos":[{"mask-t-to":F()}],"mask-image-t-from-color":[{"mask-t-from":M()}],"mask-image-t-to-color":[{"mask-t-to":M()}],"mask-image-r-from-pos":[{"mask-r-from":F()}],"mask-image-r-to-pos":[{"mask-r-to":F()}],"mask-image-r-from-color":[{"mask-r-from":M()}],"mask-image-r-to-color":[{"mask-r-to":M()}],"mask-image-b-from-pos":[{"mask-b-from":F()}],"mask-image-b-to-pos":[{"mask-b-to":F()}],"mask-image-b-from-color":[{"mask-b-from":M()}],"mask-image-b-to-color":[{"mask-b-to":M()}],"mask-image-l-from-pos":[{"mask-l-from":F()}],"mask-image-l-to-pos":[{"mask-l-to":F()}],"mask-image-l-from-color":[{"mask-l-from":M()}],"mask-image-l-to-color":[{"mask-l-to":M()}],"mask-image-x-from-pos":[{"mask-x-from":F()}],"mask-image-x-to-pos":[{"mask-x-to":F()}],"mask-image-x-from-color":[{"mask-x-from":M()}],"mask-image-x-to-color":[{"mask-x-to":M()}],"mask-image-y-from-pos":[{"mask-y-from":F()}],"mask-image-y-to-pos":[{"mask-y-to":F()}],"mask-image-y-from-color":[{"mask-y-from":M()}],"mask-image-y-to-color":[{"mask-y-to":M()}],"mask-image-radial":[{"mask-radial":[$,Q]}],"mask-image-radial-from-pos":[{"mask-radial-from":F()}],"mask-image-radial-to-pos":[{"mask-radial-to":F()}],"mask-image-radial-from-color":[{"mask-radial-from":M()}],"mask-image-radial-to-color":[{"mask-radial-to":M()}],"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":[Z]}],"mask-image-conic-from-pos":[{"mask-conic-from":F()}],"mask-image-conic-to-pos":[{"mask-conic-to":F()}],"mask-image-conic-from-color":[{"mask-conic-from":M()}],"mask-image-conic-to-color":[{"mask-conic-to":M()}],"mask-mode":[{mask:[`alpha`,`luminance`,`match`]}],"mask-origin":[{"mask-origin":[`border`,`padding`,`content`,`fill`,`stroke`,`view`]}],"mask-position":[{mask:ie()}],"mask-repeat":[{mask:ae()}],"mask-size":[{mask:oe()}],"mask-type":[{"mask-type":[`alpha`,`luminance`]}],"mask-image":[{mask:[`none`,$,Q]}],filter:[{filter:[``,`none`,$,Q]}],blur:[{blur:ue()}],brightness:[{brightness:[Z,$,Q]}],contrast:[{contrast:[Z,$,Q]}],"drop-shadow":[{"drop-shadow":[``,`none`,p,Np,Dp]}],"drop-shadow-color":[{"drop-shadow":M()}],grayscale:[{grayscale:[``,Z,$,Q]}],"hue-rotate":[{"hue-rotate":[Z,$,Q]}],invert:[{invert:[``,Z,$,Q]}],saturate:[{saturate:[Z,$,Q]}],sepia:[{sepia:[``,Z,$,Q]}],"backdrop-filter":[{"backdrop-filter":[``,`none`,$,Q]}],"backdrop-blur":[{"backdrop-blur":ue()}],"backdrop-brightness":[{"backdrop-brightness":[Z,$,Q]}],"backdrop-contrast":[{"backdrop-contrast":[Z,$,Q]}],"backdrop-grayscale":[{"backdrop-grayscale":[``,Z,$,Q]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[Z,$,Q]}],"backdrop-invert":[{"backdrop-invert":[``,Z,$,Q]}],"backdrop-opacity":[{"backdrop-opacity":[Z,$,Q]}],"backdrop-saturate":[{"backdrop-saturate":[Z,$,Q]}],"backdrop-sepia":[{"backdrop-sepia":[``,Z,$,Q]}],"border-collapse":[{border:[`collapse`,`separate`]}],"border-spacing":[{"border-spacing":w()}],"border-spacing-x":[{"border-spacing-x":w()}],"border-spacing-y":[{"border-spacing-y":w()}],"table-layout":[{table:[`auto`,`fixed`]}],caption:[{caption:[`top`,`bottom`]}],transition:[{transition:[``,`all`,`colors`,`opacity`,`shadow`,`transform`,`none`,$,Q]}],"transition-behavior":[{transition:[`normal`,`discrete`]}],duration:[{duration:[Z,`initial`,$,Q]}],ease:[{ease:[`linear`,`initial`,_,$,Q]}],delay:[{delay:[Z,$,Q]}],animate:[{animate:[`none`,v,$,Q]}],backface:[{backface:[`hidden`,`visible`]}],perspective:[{perspective:[h,$,Q]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:de()}],"rotate-x":[{"rotate-x":de()}],"rotate-y":[{"rotate-y":de()}],"rotate-z":[{"rotate-z":de()}],scale:[{scale:fe()}],"scale-x":[{"scale-x":fe()}],"scale-y":[{"scale-y":fe()}],"scale-z":[{"scale-z":fe()}],"scale-3d":[`scale-3d`],skew:[{skew:I()}],"skew-x":[{"skew-x":I()}],"skew-y":[{"skew-y":I()}],transform:[{transform:[$,Q,``,`none`,`gpu`,`cpu`]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:[`3d`,`flat`]}],translate:[{translate:pe()}],"translate-x":[{"translate-x":pe()}],"translate-y":[{"translate-y":pe()}],"translate-z":[{"translate-z":pe()}],"translate-none":[`translate-none`],zoom:[{zoom:[up,$,Q]}],accent:[{accent:M()}],appearance:[{appearance:[`none`,`auto`]}],"caret-color":[{caret:M()}],"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
1-in`,`zoom-out`,$,Q]}],"field-sizing":[{"field-sizing":[`fixed`,`content`]}],"pointer-events":[{"pointer-events":[`auto`,`none`]}],resize:[{resize:[`none`,``,`y`,`x`]}],"scroll-behavior":[{scroll:[`auto`,`smooth`]}],"scrollbar-thumb-color":[{"scrollbar-thumb":M()}],"scrollbar-track-color":[{"scrollbar-track":M()}],"scrollbar-gutter":[{"scrollbar-gutter":[`auto`,`stable`,`both`]}],"scrollbar-w":[{scrollbar:[`auto`,`thin`,`none`]}],"scroll-m":[{"scroll-m":w()}],"scroll-mx":[{"scroll-mx":w()}],"scroll-my":[{"scroll-my":w()}],"scroll-ms":[{"scroll-ms":w()}],"scroll-me":[{"scroll-me":w()}],"scroll-mbs":[{"scroll-mbs":w()}],"scroll-mbe":[{"scroll-mbe":w()}],"scroll-mt":[{"scroll-mt":w()}],"scroll-mr":[{"scroll-mr":w()}],"scroll-mb":[{"scroll-mb":w()}],"scroll-ml":[{"scroll-ml":w()}],"scroll-p":[{"scroll-p":w()}],"scroll-px":[{"scroll-px":w()}],"scroll-py":[{"scroll-py":w()}],"scroll-ps":[{"scroll-ps":w()}],"scroll-pe":[{"scroll-pe":w()}],"scroll-pbs":[{"scroll-pbs":w()}],"scroll-pbe":[{"scroll-pbe":w()}],"scroll-pt":[{"scroll-pt":w()}],"scroll-pr":[{"scroll-pr":w()}],"scroll-pb":[{"scroll-pb":w()}],"scroll-pl":[{"scroll-pl":w()}],"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`]}
1],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`,$,Q]}],fill:[{fill:[`none`,...M()]}],"stroke-w":[{stroke:[Z,Op,xp,Sp]}],stroke:[{stroke:[`none`,...M()]}],"forced-color-adjust":[{"forced-color-adjust":[`auto`,`none`]}]},conflictingClassGroups:{"container-named":[`container-type`],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`]},postfixLookupClassGroups:[`container-type`],orderSensitiveModifiers:[`*`,`**`,`after`,`backdrop`,`before`,`details-content`,`file`,`first-letter`,`first-line`,`marker`,`placeholder`,`selection`]}});function Kp(...e){return Gp(xf(e))}function qp(e){let t=(0,yf.c)(30),{src:n,className:r,speed:i,rotation:a,scale:o,blendMode:s}=e,c=i===void 0?100:i,l=a===void 0?30:a,u=o===void 0?1:o,d=s===void 0?`normal`:s,{scrollYProgress:f}=ff(),p;t[0]===Symbol.for(`react.memo_cache_sentinel`)?(p=[0,1],t[0]=p):p=t[0];let m=-c,h;t[1]!==c||t[2]!==m?(h=[m,c],t[1]=c,t[2]=m,t[3]=h):h=t[3];let g=gf(f,p,h),_;t[4]===Symbol.for(`react.memo_cache_sentinel`)?(_=[0,1],t[4]=_):_=t[4];let v=-l,y;t[5]!==l||t[6]!==v?(y=[v,l],t[5]=l,t[6]=v,t[7]=y):y=t[7];let b=gf(f,_,y),x;t[8]!==b||t[9]!==u||t[10]!==g?(x={y:g,rotate:b,scale:u},t[8]=b,t[9]=u,t[10]=g,t[11]=x):x=t[11];let S=d===`screen`&&`mix-blend-screen`,C=d===`multiply`&&`mix-blend-multiply`,w;t[12]!==r||t[13]!==S||t[14]!==C?(w=Kp(`absolute pointer-events-none select-none z-10 transition-opacity duration-1000`,S,C,r),t[12]=r,t[13]=S,t[14]=C,t[15]=w):w=t[15];let T=u*.8,E;t[16]===T?E=t[17]:(E={opacity:0,scale:T},t[16]=T,t[17]=E);let D;t[18]===u?D=t[19]:(D={opacity:1,scale:u},t[18]=u,t[19]=D);let O,ee;t[20]===Symbol.for(`react.memo_cache_sentinel`)?(O={once:!0},ee={duration:1,ease:`easeOut`},t[20]=O,t[21]=ee):(O=t[20],ee=t[21]);let te;t[22]===n?te=t[23]:(te=(0,L.jsx)(`img`,{src:n,alt:`Floating Culinary Element`,className:`w-full h-full object-contain drop-shadow-[0_15px_30px_rgba(0,0,0,0.6)]`,loading:`lazy`}),t[22]=n,t[23]=te);let k;return t[24]!==x||t[25]!==w||t[26]!==E||t[27]!==D||t[28]!==te?(k=(0,L.jsx)(xd.div,{style:x,className:w,initial:E,whileInView:D,viewport:O,transition:ee,children:te}),t[24]=x,t[25]=w,t[26]=E,t[27]=D,t[28]=te,t[29]=k):k=t[29],k}function Jp(e){let t=(0,yf.c)(36),{title:n,description:r,path:i,image:a}=e,o=i===void 0?``:i,s=a===void 0?`/udupi-logo.png`:a,c=`https://udupipalaces.ca${o}`,l=s.startsWith(`http`)?s:`https://udupipalaces.ca${s}`,u=`${n} | Udupi Palaces`,d;t[0]===u?d=t[1]:(d=(0,L.jsx)(`title`,{children:u}),t[0]=u,t[1]=d);let f;t[2]===r?f=t[3]:(f=(0,L.jsx)(`meta`,{name:`description`,content:r}),t[2]=r,t[3]=f);let p;t[4]===c?p=t[5]:(p=(0,L.jsx)(`link`,{rel:`canonical`,href:c}),t[4]=c,t[5]=p);let m;t[6]===Symbol.for(`react.memo_cache_sentinel`)?(m=(0,L.jsx)(`meta`,{property:`og:type`,content:`website`}),t[6]=m):m=t[6];let h;t[7]===c?h=t[8]:(h=(0,L.jsx)(`meta`,{property:`og:url`,content:c}),t[7]=c,t[8]=h);let g;t[9]===u?g=t[10]:(g=(0,L.jsx)(`meta`,{property:`og:title`,content:u}),t[9]=u,t[10]=g);let _;t[11]===r?_=t[12]:(_=(0,L.jsx)(`meta`,{property:`og:description`,content:r}),t[11]=r,t[12]=_);let v;t[13]===l?v=t[14]:(v=(0,L.jsx)(`meta`,{property:`og:image`,content:l}),t[13]=l,t[14]=v);let y;t[15]===Symbol.for(`react.memo_cache_sentinel`)?(y=(0,L.jsx)(`meta`,{name:`twitter:card`,content:`summary_large_image`}),t[15]=y):y=t[15];let b;t[16]===c?b=t[17]:(b=(0,L.jsx)(`meta`,{name:`twitter:url`,content:c}),t[16]=c,t[17]=b);let x;t[18]===u?x=t[19]:(x=(0,L.jsx)(`meta`,{name:`twitter:title`,content:u}),t[18]=u,t[19]=x);let S;t[20]===r?S=t[21]:(S=(0,L.jsx)(`meta`,{name:`twitter:description`,content:r}),t[20]=r,t[21]=S);let C;t[22]===l?C=t[23]:(C=(0,L.jsx)(`meta`,{name:`twitter:image`,content:l}),t[22]=l,t[23]=C);let w;return t[24]!==v||t[25]!==b||t[26]!==x||t[27]!==S||t[28]!==C||t[29]!==d||t[30]!==f||t[31]!==p||t[32]!==h||t[33]!==g||t[34]!==_?(w=(0,L.jsxs)(Pe,{children:[d,f,p,m,h,g,_,v,y,b,x,S,C]}),t[24]=v,t[25]=b,t[26]=x,t[27]=S,t[28]=C,t[29]=d,t[30]=f,t[31]=p,t[32]=h,t[33]=g,t[34]=_,t[35]=w):w=t[35],w}export{u as C,c as S,Ke as _,gf as a,p as b,Tl as c,Ia as d,Qe as f,Je as g,Ye as h,xf as i,wl as l,Xe as m,qp as n,ff as o,Ze as p,Kp as r,xd as s,Jp as t,Ra as u,Ie as v,s as x,be as y};
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.