PageSourceSearch

https://waldorefugee.org/_next/static/chunks/12-c39084e7503a0f66.js

js waldorefugee.org collected 2026-10-06 20:28:03 UTC 173,882 bytes, 9 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[12],{6595:function(e,t,r){"use strict";r.d(t,{ZP:function(){return P}});class i{constructor(e=0,t="Network Error"){this.status=e,this.text=t}}let n={origin:"https://api.emailjs.com",blockHeadless:!1,storageProvider:(()=>{if("undefined"!=typeof localStorage)return{get:e=>Promise.resolve(localStorage.getItem(e)),set:(e,t)=>Promise.resolve(localStorage.setItem(e,t)),remove:e=>Promise.resolve(localStorage.removeItem(e))}})()},s=e=>e?"string"==typeof e?{publicKey:e}:"[object Object]"===e.toString()?e:{}:{},o=async(e,t,r={})=>{let s=await fetch(n.origin+e,{method:"POST",headers:r,body:t}),o=await s.text(),a=new i(s.status,o);if(s.ok)return a;throw a},a=(e,t,r)=>{if(!e||"string"!=typeof e)throw"The public key is required. Visit https://dashboard.emailjs.com/admin/account";if(!t||"string"!=typeof t)throw"The service ID is required. Visit https://dashboard.emailjs.com/admin";if(!r||"string"!=typeof r)throw"The template ID is required. Visit https://dashboard.emailjs.com/admin/templates"},l=e=>{if(e&&"[object Object]"!==e.toString())throw"The template params have to be the object. Visit https://www.emailjs.com/docs/sdk/send/"},u=e=>e.webdriver||!e.languages||0===e.languages.length,d=()=>new i(451,"Unavailable For Headless Browser"),c=(e,t)=>{if(!Array.isArray(e))throw"The BlockList list has to be an array";if("string"!=typeof t)throw"The BlockList watchVariable has to be a string"},h=e=>!e.list?.length||!e.watchVariable,f=(e,t)=>e instanceof FormData?e.get(t):e[t],p=(e,t)=>{if(h(e))return!1;c(e.list,e.watchVariable);let r=f(t,e.watchVariable);return"string"==typeof r&&e.list.includes(r)},m=()=>new i(403,"Forbidden"),v=(e,t)=>{if("number"!=typeof e||e<0)throw"The LimitRate throttle has to be a positive number";if(t&&"string"!=typeof t)throw"The LimitRate ID has to be a string"},g=async(e,t,r)=>{let i=Number(await r.get(e)||0);return t-Date.now()+i},y=async(e,t,r)=>{if(!t.throttle||!r)return!1;v(t.throttle,t.id);let i=t.id||e;return await g(i,t.throttle,r)>0||(await r.set(i,Date.now().toString()),!1)},b=()=>new i(429,"Too Many Requests"),x=e=>{if(!e||"FORM"!==e.nodeName)throw"The 3rd parameter is expected to be the HTML form element or the style selector of the form"},w=e=>"string"==typeof e?document.querySelector(e):e;var P={init:(e,t="https://api.emailjs.com")=>{if(!e)return;let r=s(e);n.publicKey=r.publicKey,n.blockHeadless=r.blockHeadless,n.storageProvider=r.storageProvider,n.blockList=r.blockList,n.limitRate=r.limitRate,n.origin=r.origin||t},send:async(e,t,r,i)=>{let c=s(i),h=c.publicKey||n.publicKey,f=c.blockHeadless||n.blockHeadless,v=n.storageProvider||c.storageProvider,g={...n.blockList,...c.blockList},x={...n.limitRate,...c.limitRate};return f&&u(navigator)?Promise.reject(d()):(a(h,e,t),l(r),r&&p(g,r))?Promise.reject(m()):await y(location.pathname,x,v)?Promise.reject(b()):o("/api/v1.0/email/send",JSON.stringify({lib_version:"4.3.3",user_id:h,service_id:e,template_id:t,template_params:r}),{"Content-type":"application/json"})},sendForm:async(e,t,r,i)=>{let l=s(i),c=l.publicKey||n.publicKey,h=l.blockHeadless||n.blockHeadless,f=n.storageProvider||l.storageProvider,v={...n.blockList,...l.blockList},g={...n.limitRate,...l.limitRate};if(h&&u(navigator))return Promise.reject(d());let P=w(r);a(c,e,t),x(P);let S=new FormData(P);return p(v,S)?Promise.reject(m()):await y(location.pathname,g,f)?Promise.reject(b()):(S.append("lib_version","4.3.3"),S.append("service_id",e),S.append("template_id",t),S.append("user_id",c),o("/api/v1.0/email/send-form",S))},EmailJSResponseStatus:i}},908:function(e,t,r){var i;i=function(){"use strict";var e="undefined"!=typeof window?window:void 0!==r.g?r.g:"undefined"!=typeof self?self:{},t="Expected a function",i=NaN,n=/^\s+|\s+$/g,s=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,l=parseInt,u="object"==typeof e&&e&&e.Object===Object&&e,d="object"==typeof self&&self&&self.Object===Object&&self,c=u||d||Function("return this")(),h=Object.prototype.toString,f=Math.max,p=Math.min,m=function(){return c.Date.now()};function v(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function g(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==h.call(t))return i;if(v(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=v(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(n,"");var u=o.test(e);return u||a.test(e)?l(e.slice(2),u?2:8):s.test(e)?i:+e}var y=function(e,r,i){var n=!0,s=!0;if("function"!=typeof e)throw TypeError(t);return v(i)&&(n="leading"in i?!!i.leading:n,s="trailing"in i?!!i.trailing:s),function(e,r,i){var n,s,o,a,l,u,d=0,c=!1,h=!1,y=!0;if("function"!=typeof e)throw TypeError(t);function b(t){var r=n,i=s;return n=s=void 0,d=t,a=e.apply(i,r)}function x(e){var t=e-u;return void 0===u||t>=r||t<0||h&&e-d>=o}function w(){var e,t=m();if(x(t))return P(t);l=setTimeout(w,(e=r-(t-u),h?p(e,o-(t-d)):e))}function P(e){return l=void 0,y&&n?b(e):(n=s=void 0,a)}function S(){var e,t=m(),i=x(t);if(n=arguments,s=this,u=t,i){if(void 0===l)return d=e=u,l=setTimeout(w,r),c?b(e):a;if(h)return l=setTimeout(w,r),b(u)}return void 0===l&&(l=setTimeout(w,r)),a}return r=g(r)||0,v(i)&&(c=!!i.leading,o=(h="maxWait"in i)?f(g(i.maxWait)||0,r):o,y="trailing"in i?!!i.trailing:y),S.cancel=function(){void 0!==l&&clearTimeout(l),d=0,n=u=s=l=void 0},S.flush=function(){return void 0===l?a:P(m())},S}(e,r,{leading:n,maxWait:r,trailing:s})},b=NaN,x=/^\s+|\s+$/g,w=/^[-+]0x[0-9a-f]+$/i,P=/^0b[01]+$/i,S=/^0o[0-7]+$/i,k=p
1arseInt,A="object"==typeof e&&e&&e.Object===Object&&e,T="object"==typeof self&&self&&self.Object===Object&&self,E=A||T||Function("return this")(),V=Object.prototype.toString,C=Math.max,M=Math.min,D=function(){return E.Date.now()};function j(e){var t=typeof e;return!!e&&("object"==t||"function"==t)}function F(e){if("number"==typeof e)return e;if("symbol"==typeof(t=e)||t&&"object"==typeof t&&"[object Symbol]"==V.call(t))return b;if(j(e)){var t,r="function"==typeof e.valueOf?e.valueOf():e;e=j(r)?r+"":r}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(x,"");var i=P.test(e);return i||S.test(e)?k(e.slice(2),i?2:8):w.test(e)?b:+e}var L=function(e,t,r){var i,n,s,o,a,l,u=0,d=!1,c=!1,h=!0;if("function"!=typeof e)throw TypeError("Expected a function");function f(t){var r=i,s=n;return i=n=void 0,u=t,o=e.apply(s,r)}function p(e){var r=e-l;return void 0===l||r>=t||r<0||c&&e-u>=s}function m(){var e,r=D();if(p(r))return v(r);a=setTimeout(m,(e=t-(r-l),c?M(e,s-(r-u)):e))}function v(e){return a=void 0,h&&i?f(e):(i=n=void 0,o)}function g(){var e,r=D(),s=p(r);if(i=arguments,n=this,l=r,s){if(void 0===a)return u=e=l,a=setTimeout(m,t),d?f(e):o;if(c)return a=setTimeout(m,t),f(l)}return void 0===a&&(a=setTimeout(m,t)),o}return t=F(t)||0,j(r)&&(d=!!r.leading,s=(c="maxWait"in r)?C(F(r.maxWait)||0,t):s,h="trailing"in r?!!r.trailing:h),g.cancel=function(){void 0!==a&&clearTimeout(a),u=0,i=l=n=a=void 0},g.flush=function(){return void 0===a?o:v(D())},g},R=function(){};function O(e){e&&e.forEach(function(e){var t=Array.prototype.slice.call(e.addedNodes),r=Array.prototype.slice.call(e.removedNodes);if(function e(t){var r=void 0,i=void 0;for(r=0;r<t.length;r+=1)if((i=t[r]).dataset&&i.dataset.aos||i.children&&e(i.children))return!0;return!1}(t.concat(r)))return R()})}function _(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}var B={isSupported:function(){return!!_()},ready:function(e,t){var r=window.document,i=new(_())(O);R=t,i.observe(r.documentElement,{childList:!0,subtree:!0,removedNodes:!0})}},I=function(e,t){if(!(e instanceof t))throw TypeError("Cannot call a class as a function")},N=function(){function e(e,t){for(var r=0;r<t.length;r++){var i=t[r];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,r,i){return r&&e(t.prototype,r),i&&e(t,i),t}}(),z=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var i in r)Object.prototype.hasOwnProperty.call(r,i)&&(e[i]=r[i])}return e},U=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i,W=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|
1sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i,$=/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i,H=/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;function q(){return navigator.userAgent||navigator.vendor||window.opera||""}var K=new(function(){function e(){I(this,e)}return N(e,[{key:"phone",value:function(){var e=q();return!(!U.test(e)&&!W.test(e.substr(0,4)))}},{key:"mobile",value:function(){var e=q();return!(!$.test(e)&&!H.test(e.substr(0,4)))}},{key:"tablet",value:function(){return this.mobile()&&!this.phone()}},{key:"ie11",value:function(){return"-ms-scroll-limit"in document.documentElement.style&&"-ms-ime-align"in document.documentElement.style}}]),e}()),Y=function(e,t){var r=void 0;return K.ie11()?(r=document.createEvent("CustomEvent")).initCustomEvent(e,!0,!0,{detail:t}):r=new CustomEvent(e,{detail:t}),document.dispatchEvent(r)},Z=function(e){return e.forEach(function(e,t){var r,i,n,s,o,a;return r=window.pageYOffset,i=e.options,n=e.position,s=e.node,e.data,o=function(){var t;e.animated&&((t=i.animatedClassNames)&&t.forEach(function(e){return s.classList.remove(e)}),Y("aos:out",s),e.options.id&&Y("aos:in:"+e.options.id,s),e.animated=!1)},void(i.mirror&&r>=n.out&&!i.once?o():r>=n.in?e.animated||((a=i.animatedClassNames)&&a.forEach(function(e){return s.classList.add(e)}),Y("aos:in",s),e.options.id&&Y("aos:in:"+e.options.id,s),e.animated=!0):e.animated&&!i.once&&o())})},G=function(e){for(var t=0,r=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),r+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:r,left:t}},X=function(e,t,r){var i=e.getAttribute("data-aos-"+t);if(void 0!==i){if("true"===i)return!0;if("false"===i)return!1}return i||r},J=function(){var e=document.querySelectorAll("[data-aos]");return Array.prototype.map.call(e,function(e){return{node:e}})},Q=[],ee=!1,et={offset:120,delay:0,easing:"ease",duration:400,disable:!1,once:!1,mirror:!1,anchorPlacement:"top-bottom",startEvent:"DOMContentLoaded",animatedClassName:"aos-animate",initClassName:"aos-init",useClassNames:!1,disableMutationObserver:!1,throttleDelay:99,debounceDelay:50},er=function(){return document.all&&!window.atob},ei=function(){var e,t;arguments.length>0&&void 0!==arguments[0]&&arguments[0]&&(ee=!0),ee&&(e=Q,t=et,e.forEach(function(e,r){var i,n,s,o,a,l=X(e.node,"mirror",t.mirror),u=X(e.node,"once",t.once),d=X(e.node,"id"),c=t.useClassNames&&e.node.getAttribute("data-aos"),h=[t.animatedClassName].concat(c?c.split(" "):[]).filter(function(e){return"string"==typeof e});t.initClassName&&e.node.classList.add(t.initClassName),e.position={in:function(e,t,r){var i=window.innerHeight,n=X(e,"anchor"),s=X(e,"anchor-placement"),o=Number(X(e,"offset",s?0:t)),a=e;n&&document.querySelectorAll(n)&&(a=document.querySelectorAll(n)[0]);var l=G(a).top-i;switch(s||r){case"top-bottom":break;case"center-bottom":l+=a.offsetHeight/2;break;case"bottom-bottom":l+=a.offsetHeight;break;case"top-center":l+=i/2;break;
1case"center-center":l+=i/2+a.offsetHeight/2;break;case"bottom-center":l+=i/2+a.offsetHeight;break;case"top-top":l+=i;break;case"bottom-top":l+=i+a.offsetHeight;break;case"center-top":l+=i+a.offsetHeight/2}return l+o}(e.node,t.offset,t.anchorPlacement),out:l&&(i=e.node,n=t.offset,window.innerHeight,s=X(i,"anchor"),o=X(i,"offset",n),a=i,s&&document.querySelectorAll(s)&&(a=document.querySelectorAll(s)[0]),G(a).top+a.offsetHeight-o)},e.options={once:u,mirror:l,animatedClassNames:h,id:d}}),Z(Q=e),window.addEventListener("scroll",y(function(){Z(Q,et.once)},et.throttleDelay)))},en=function(){if(Q=J(),eo(et.disable)||er())return es();ei()},es=function(){Q.forEach(function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay"),et.initClassName&&e.node.classList.remove(et.initClassName),et.animatedClassName&&e.node.classList.remove(et.animatedClassName)})},eo=function(e){return!0===e||"mobile"===e&&K.mobile()||"phone"===e&&K.phone()||"tablet"===e&&K.tablet()||"function"==typeof e&&!0===e()};return{init:function(e){return et=z(et,e),Q=J(),et.disableMutationObserver||B.isSupported()||(console.info('\n      aos: MutationObserver is not supported on this browser,\n      code mutations observing has been disabled.\n      You may have to call "refreshHard()" by yourself.\n    '),et.disableMutationObserver=!0),et.disableMutationObserver||B.ready("[data-aos]",en),eo(et.disable)||er()?es():(document.querySelector("body").setAttribute("data-aos-easing",et.easing),document.querySelector("body").setAttribute("data-aos-duration",et.duration),document.querySelector("body").setAttribute("data-aos-delay",et.delay),-1===["DOMContentLoaded","load"].indexOf(et.startEvent)?document.addEventListener(et.startEvent,function(){ei(!0)}):window.addEventListener("load",function(){ei(!0)}),"DOMContentLoaded"===et.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1&&ei(!0),window.addEventListener("resize",L(ei,et.debounceDelay,!0)),window.addEventListener("orientationchange",L(ei,et.debounceDelay,!0)),Q)},refresh:ei,refreshHard:en}},e.exports=i()},3145:function(e,t,r){"use strict";r.d(t,{default:function(){return n.a}});var i=r(8461),n=r.n(i)},7648:function(e,t,r){"use strict";r.d(t,{default:function(){return n.a}});var i=r(2972),n=r.n(i)},8667:function(e,t,r){"use strict";r.d(t,{default:function(){return n.a}});var i=r(8003),n=r.n(i)},8221:function(e,t){"use strict";let r;Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{DOMAttributeNames:function(){return i},default:function(){return o},isEqualNode:function(){return s}});let i={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv",noModule:"noModule"};function n(e){let{type:t,props:r}=e,n=document.createElement(t);for(let e in r){if(!r.hasOwnProperty(e)||"children"===e||"dangerouslySetInnerHTML"===e||void 0===r[e])continue;let s=i[e]||e.toLowerCase();"script"===t&&("async"===s||"defer"===s||"noModule"===s)?n[s]=!!r[e]:n.setAttribute(s,r[e])}let{children:s,dangerouslySetInnerHTML:o}=r;return o?n.innerHTML=o.__html||"":s&&(n.textContent="string"==typeof s?s:Array.isArray(s)?s.join(""):""),n}function s(e,t){if(e instanceof HTMLElement&&t instanceof HTMLElement){let r=t.getAttribute("nonce");if(r&&!e.getAttribute("nonce")){let i=t.cloneNode(!0);return i.setAttribute("nonce",""),i.nonce=r,r===e.nonce&&e.isEqualNode(i)}}return e.isEqualNode(t)}function o(){return{mountedInstances:new Set,updateHead:e=>{let t={};e.forEach(e=>{if("link"===e.type&&e.props["data-optimized-fonts"]){if(document.querySelector('style[data-href="'+e.props["data-href"]+'"]'))return;e.props.href=e.props["data-href"],e.props["data-href"]=void 0}let r=t[e.type]||[];r.push(e),t[e.type]=r});let i=t.title?t.title[0]:null,n="";if(i){let{children:e}=i.props;n="string"==typeof e?e:Array.isArray(e)?e.join(""):""}n!==document.title&&(document.title=n),["meta","base","link","style","script"].forEach(e=>{r(e,t[e]||[])})}}}r=(e,t)=>
1{let r=document.getElementsByTagName("head")[0],i=r.querySelector("meta[name=next-head-count]"),o=Number(i.content),a=[];for(let t=0,r=i.previousElementSibling;t<o;t++,r=(null==r?void 0:r.previousElementSibling)||null){var l;(null==r?void 0:null==(l=r.tagName)?void 0:l.toLowerCase())===e&&a.push(r)}let u=t.map(n).filter(e=>{for(let t=0,r=a.length;t<r;t++)if(s(a[t],e))return a.splice(t,1),!1;return!0});a.forEach(e=>{var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),u.forEach(e=>r.insertBefore(e,i)),i.content=(o-a.length+u.length).toString()},("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8003:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return b},handleClientScriptLoad:function(){return v},initScriptLoader:function(){return g}});let i=r(7043),n=r(3099),s=r(7437),o=i._(r(4887)),a=n._(r(2265)),l=r(8701),u=r(8221),d=r(3515),c=new Map,h=new Set,f=["onLoad","onReady","dangerouslySetInnerHTML","children","onError","strategy","stylesheets"],p=e=>{if(o.default.preinit){e.forEach(e=>{o.default.preinit(e,{as:"style"})});return}if("undefined"!=typeof window){let t=document.head;e.forEach(e=>{let r=document.createElement("link");r.type="text/css",r.rel="stylesheet",r.href=e,t.appendChild(r)})}},m=e=>{let{src:t,id:r,onLoad:i=()=>{},onReady:n=null,dangerouslySetInnerHTML:s,children:o="",strategy:a="afterInteractive",onError:l,stylesheets:d}=e,m=r||t;if(m&&h.has(m))return;if(c.has(t)){h.add(m),c.get(t).then(i,l);return}let v=()=>{n&&n(),h.add(m)},g=document.createElement("script"),y=new Promise((e,t)=>{g.addEventListener("load",function(t){e(),i&&i.call(this,t),v()}),g.addEventListener("error",function(e){t(e)})}).catch(function(e){l&&l(e)});for(let[r,i]of(s?(g.innerHTML=s.__html||"",v()):o?(g.textContent="string"==typeof o?o:Array.isArray(o)?o.join(""):"",v()):t&&(g.src=t,c.set(t,y)),Object.entries(e))){if(void 0===i||f.includes(r))continue;let e=u.DOMAttributeNames[r]||r.toLowerCase();g.setAttribute(e,i)}"worker"===a&&g.setAttribute("type","text/partytown"),g.setAttribute("data-nscript",a),d&&p(d),document.body.appendChild(g)};function v(e){let{strategy:t="afterInteractive"}=e;"lazyOnload"===t?window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>m(e))}):m(e)}function g(e){e.forEach(v),[...document.querySelectorAll('[data-nscript="beforeInteractive"]'),...document.querySelectorAll('[data-nscript="beforePageRender"]')].forEach(e=>{let t=e.id||e.getAttribute("src");h.add(t)})}function y(e){let{id:t,src:r="",onLoad:i=()=>{},onReady:n=null,strategy:u="afterInteractive",onError:c,stylesheets:f,...p}=e,{updateScripts:v,scripts:g,getIsSsr:y,appDir:b,nonce:x}=(0,a.useContext)(l.HeadManagerContext),w=(0,a.useRef)(!1);(0,a.useEffect)(()=>{let e=t||r;w.current||(n&&e&&h.has(e)&&n(),w.current=!0)},[n,t,r]);let P=(0,a.useRef)(!1);if((0,a.useEffect)(()=>{!P.current&&("afterInteractive"===u?m(e):"lazyOnload"===u&&("complete"===document.readyState?(0,d.requestIdleCallback)(()=>m(e)):window.addEventListener("load",()=>{(0,d.requestIdleCallback)(()=>m(e))})),P.current=!0)},[e,u]),("beforeInteractive"===u||"worker"===u)&&(v?(g[u]=(g[u]||[]).concat([{id:t,src:r,onLoad:i,onReady:n,onError:c,...p}]),v(g)):y&&y()?h.add(t||r):y&&!y()&&m(e)),b){if(f&&f.forEach(e=>{o.default.preinit(e,{as:"style"})}),"beforeInteractive"===u)return r?(o.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:x,crossOrigin:p.crossOrigin}:{as:"script",nonce:x,crossOrigin:p.crossOrigin}),(0,s.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([r,{...p,id:t}])+")"}})):(p.dangerouslySetInnerHTML&&(p.children=p.dangerouslySetInnerHTML.__html,delete p.dangerouslySetInnerHTML),(0,s.jsx)("script",{nonce:x,dangerouslySetInnerHTML:{__html:"(self.__next_s=self.__next_s||[]).push("+JSON.stringify([0,{...p,id:t}])+")"}}));"afterInteractive"===u&&r&&o.default.preload(r,p.integrity?{as:"script",integrity:p.integrity,nonce:x,crossOrigin:p.crossOrigin}:{as:"script",nonce:x,crossOrigin:p.crossOrigin})}return null}Object.defineProperty(y,"__nextScript",{value:!0});let b=y;("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esMo
1dule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8461:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return a}});let i=r(7043),n=r(5346),s=r(5878),o=i._(r(5084));function a(e){let{props:t}=(0,n.getImgProps)(e,{defaultLoader:o.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=s.Image},7074:function(){},1994:function(e,t,r){"use strict";function i(){for(var e,t,r=0,i="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=function e(t){var r,i,n="";if("string"==typeof t||"number"==typeof t)n+=t;else if("object"==typeof t){if(Array.isArray(t)){var s=t.length;for(r=0;r<s;r++)t[r]&&(i=e(t[r]))&&(n&&(n+=" "),n+=i)}else for(i in t)t[i]&&(n&&(n+=" "),n+=i)}return n}(e))&&(i&&(i+=" "),i+=t);return i}r.d(t,{W:function(){return i}})},5095:function(e,t,r){"use strict";r.d(t,{M:function(){return g}});var i=r(2265),n=r(1534);function s(){let e=(0,i.useRef)(!1);return(0,n.L)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var o=r(5414),a=r(4252),l=r(3576),u=r(5750);class d extends i.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){let e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function c({children:e,isPresent:t}){let r=(0,i.useId)(),n=(0,i.useRef)(null),s=(0,i.useRef)({width:0,height:0,top:0,left:0}),{nonce:o}=(0,i.useContext)(u._);return(0,i.useInsertionEffect)(()=>{let{width:e,height:i,top:a,left:l}=s.current;if(t||!n.current||!e||!i)return;n.current.dataset.motionPopId=r;let u=document.createElement("style");return o&&(u.nonce=o),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`
2          [data-motion-pop-id="${r}"] {
3            position: absolute !important;
4            width: ${e}px !important;
5            height: ${i}px !important;
6            top: ${a}px !important;
7            left: ${l}px !important;
8          }
9        `),()=>{document.head.removeChild(u)}},[t]),i.createElement(d,{isPresent:t,childRef:n,sizeRef:s},i.cloneElement(e,{ref:n}))}let h=({children:e,initial:t,isPresent:r,onExitComplete:n,custom:s,presenceAffectsLayout:o,mode:u})=>{let d=(0,l.h)(f),h=(0,i.useId)(),p=(0,i.useMemo)(()=>({id:h,initial:t,isPresent:r,custom:s,onExitComplete:e=>{for(let t of(d.set(e,!0),d.values()))if(!t)return;n&&n()},register:e=>(d.set(e,!1),()=>d.delete(e))}),o?void 0:[r]);return(0,i.useMemo)(()=>{d.forEach((e,t)=>d.set(t,!1))},[r]),i.useEffect(()=>{r||d.size||!n||n()},[r]),"popLayout"===u&&(e=i.createElement(c,{isPresent:r},e)),i.createElement(a.O.Provider,{value:p},e)};function f(){return new Map}var p=r(8881),m=r(3223);let v=e=>e.key||"",g=({children:e,custom:t,initial:r=!0,onExitComplete:a,exitBeforeEnter:l,presenceAffectsLayout:u=!0,mode:d="sync"})=>{var c;(0,m.k)(!l,"Replace exitBeforeEnter with mode='wait'");let f=(0,i.useContext)(p.p).forceRender||function(){let e=s(),[t,r]=(0,i.useState)(0),n=(0,i.useCallback)(()=>{e.current&&r(t+1)},[t]);return[(0,i.useCallback)(()=>o.Wi.postRender(n),[n]),t]}()[0],g=s(),y=function(e){let t=[];return i.Children.forEach(e,e=>{(0,i.isValidElement)(e)&&t.push(e)}),t}(e),b=y,x=(0,i.useRef)(new Map).current,w=(0,i.useRef)(b),P=(0,i.useRef)(new Map).current,S=(0,i.useRef)(!0);if((0,n.L)(()=>{S.current=!1,function(e,t){e.forEach(e=>{let r=v(e);t.set(r,e)})}(y,P),w.current=b}),c=()=>{S.current=!0,P.clear(),x.clear()},(0,i.useEffect)(()=>()=>c(),[]),S.current)return i.createElement(i.Fragment,null,b.map(e=>i.createElement(h,{key:v(e),isPresent:!0,initial:!!r&&void 0,presenceAffectsLayout:u,mode:d},e)));b=[...b];let k=w.current.map(v),A=y.map(v),T=k.length;for(let e=0;e<T;e++){let t=k[e];-1!==A.indexOf(t)||x.has(t)||x.set(t,void 0)}return"wait"===d&&x.size&&(b=[]),x.forEach((e,r)=>{if(-1!==A.indexOf(r))return;let n=P.get(r);if(!n)return;let s=k.indexOf(r),o=e;o||(o=i.createElement(h,{key:v(n),isPresent:!1,onExitComplete:()=>{x.delete(r);let e=Array.from(P.keys()).filter(e=>!A.includes(e));
9if(e.forEach(e=>P.delete(e)),w.current=y.filter(t=>{let i=v(t);return i===r||e.includes(i)}),!x.size){if(!1===g.current)return;f(),a&&a()}},custom:t,presenceAffectsLayout:u,mode:d},n),x.set(r,o)),b.splice(s,0,o)}),b=b.map(e=>{let t=e.key;return x.has(t)?e:i.createElement(h,{key:v(e),isPresent:!0,presenceAffectsLayout:u,mode:d},e)}),i.createElement(i.Fragment,null,x.size?b:b.map(e=>(0,i.cloneElement)(e)))}},8881:function(e,t,r){"use strict";r.d(t,{p:function(){return i}});let i=(0,r(2265).createContext)({})},5750:function(e,t,r){"use strict";r.d(t,{_:function(){return i}});let i=(0,r(2265).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},4252:function(e,t,r){"use strict";r.d(t,{O:function(){return i}});let i=(0,r(2265).createContext)(null)},5005:function(e,t,r){"use strict";r.d(t,{Z:function(){return o}});var i=r(4118);class n{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){let t=this.order.indexOf(e);-1!==t&&(this.order.splice(t,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}}let s=["read","resolveKeyframes","update","preRender","render","postRender"];function o(e,t){let r=!1,o=!0,a={delta:0,timestamp:0,isProcessing:!1},l=s.reduce((e,t)=>(e[t]=function(e){let t=new n,r=new n,i=0,s=!1,o=!1,a=new WeakSet,l={schedule:(e,n=!1,o=!1)=>{let l=o&&s,u=l?t:r;return n&&a.add(e),u.add(e)&&l&&s&&(i=t.order.length),e},cancel:e=>{r.remove(e),a.delete(e)},process:n=>{if(s){o=!0;return}if(s=!0,[t,r]=[r,t],r.clear(),i=t.order.length)for(let r=0;r<i;r++){let i=t.order[r];a.has(i)&&(l.schedule(i),e()),i(n)}s=!1,o&&(o=!1,l.process(n))}};return l}(()=>r=!0),e),{}),u=e=>{l[e].process(a)},d=()=>{let n=i.c.useManualTiming?a.timestamp:performance.now();r=!1,a.delta=o?1e3/60:Math.max(Math.min(n-a.timestamp,40),1),a.timestamp=n,a.isProcessing=!0,s.forEach(u),a.isProcessing=!1,r&&t&&(o=!1,e(d))},c=()=>{r=!0,o=!0,a.isProcessing||e(d)};return{schedule:s.reduce((e,t)=>{let i=l[t];return e[t]=(e,t=!1,n=!1)=>(r||c(),i.schedule(e,t,n)),e},{}),cancel:e=>s.forEach(t=>l[t].cancel(e)),state:a,steps:l}}},5414:function(e,t,r){"use strict";r.d(t,{Pn:function(){return s},S6:function(){return a},Wi:function(){return n},frameData:function(){return o}});var i=r(4439);let{schedule:n,cancel:s,state:o,steps:a}=(0,r(5005).Z)("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:i.Z,!0)},8068:function(e,t,r){"use strict";let i,n;r.d(t,{E:function(){return n2}});var s,o,a=r(2265),l=r(5750);let u=(0,a.createContext)({});var d=r(4252),c=r(1534);let h=(0,a.createContext)({strict:!1}),f=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),p="data-"+f("framerAppearId"),{schedule:m,cancel:v}=(0,r(5005).Z)(queueMicrotask,!1);function g(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function y(e){return"string"==typeof e||Array.isArray(e)}function b(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}let x=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],w=["initial",...x];function P(e){return b(e.animate)||w.some(t=>y(e[t]))}function S(e){return!!(P(e)||e.variants)}function k(e){return Array.isArray(e)?e.join(" "):e}let A={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"]},T={};for(let e in A)T[e]={isEnabled:t=>A[e].some(e=>!!t[e])};var E=r(4563),V=r(8881);let C=(0,a.createContext)({}),M=Symbol.for("motionComponentSymbol"),D=["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 j(e){if("string"!=typeof e||e.includes("-"));else if(D.indexOf(e)>-1||/[A-Z]/u.test(e))return!0;return!1}let F={},L=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],R=new Set(L);function O(e,{layout:t,layoutId:r}){return R.has(e)||e.startsWith("origin")||(t||void 0!==r)&&(!!F[e]||"opacity"===e)}let _=e=>!!(e&&e.getVelocity),B={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},I=L.length,N=e=>t=>"string"==typeof t&&t.startsWith(e),z=N("--"),U=N("var(--"),W=e=>!!U(e)&&$.test(e.split("/*")[0].trim()),$=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,H=(e,t)=>t&&"number"==typeof e?t.transform(e):e,q=(e,t,r)=>r>t?t:r<e?e:r,K={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Y={...K,transform:e=>q(0,1,e)},Z={...K,default:1},G=e=>Math.round(1e5*e)/1e5,X=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,J=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Q=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function ee(e){return"string"==typeof e}let et=e=>({test:t=>ee(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),er=et("deg"),ei=et("%"),en=et("px"),es=et("vh"),eo=et("vw"),ea={...ei,parse:e=>ei.parse(e)/100,transform:e=>ei.transform(100*e)},el={...K,transform:Math.round}
9,eu={borderWidth:en,borderTopWidth:en,borderRightWidth:en,borderBottomWidth:en,borderLeftWidth:en,borderRadius:en,radius:en,borderTopLeftRadius:en,borderTopRightRadius:en,borderBottomRightRadius:en,borderBottomLeftRadius:en,width:en,maxWidth:en,height:en,maxHeight:en,size:en,top:en,right:en,bottom:en,left:en,padding:en,paddingTop:en,paddingRight:en,paddingBottom:en,paddingLeft:en,margin:en,marginTop:en,marginRight:en,marginBottom:en,marginLeft:en,rotate:er,rotateX:er,rotateY:er,rotateZ:er,scale:Z,scaleX:Z,scaleY:Z,scaleZ:Z,skew:er,skewX:er,skewY:er,distance:en,translateX:en,translateY:en,translateZ:en,x:en,y:en,z:en,perspective:en,transformPerspective:en,opacity:Y,originX:ea,originY:ea,originZ:en,zIndex:el,backgroundPositionX:en,backgroundPositionY:en,fillOpacity:Y,strokeOpacity:Y,numOctaves:el};function ed(e,t,r,i){let{style:n,vars:s,transform:o,transformOrigin:a}=e,l=!1,u=!1,d=!0;for(let e in t){let r=t[e];if(z(e)){s[e]=r;continue}let i=eu[e],c=H(r,i);if(R.has(e)){if(l=!0,o[e]=c,!d)continue;r!==(i.default||0)&&(d=!1)}else e.startsWith("origin")?(u=!0,a[e]=c):n[e]=c}if(!t.transform&&(l||i?n.transform=function(e,{enableHardwareAcceleration:t=!0,allowTransformNone:r=!0},i,n){let s="";for(let t=0;t<I;t++){let r=L[t];if(void 0!==e[r]){let t=B[r]||r;s+=`${t}(${e[r]}) `}}return t&&!e.z&&(s+="translateZ(0)"),s=s.trim(),n?s=n(e,i?"":s):r&&i&&(s="none"),s}(e.transform,r,d,i):n.transform&&(n.transform="none")),u){let{originX:e="50%",originY:t="50%",originZ:r=0}=a;n.transformOrigin=`${e} ${t} ${r}`}}let ec=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eh(e,t,r){for(let i in t)_(t[i])||O(i,r)||(e[i]=t[i])}let ef=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","ignoreStrict","viewport"]);function ep(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||ef.has(e)}let em=e=>!ep(e);try{(s=require("@emotion/is-prop-valid").default)&&(em=e=>e.startsWith("on")?!ep(e):s(e))}catch(e){}function ev(e,t,r){return"string"==typeof e?e:en.transform(t+r*e)}let eg={offset:"stroke-dashoffset",array:"stroke-dasharray"},ey={offset:"strokeDashoffset",array:"strokeDasharray"};function eb(e,{attrX:t,attrY:r,attrScale:i,originX:n,originY:s,pathLength:o,pathSpacing:a=1,pathOffset:l=0,...u},d,c,h){if(ed(e,u,d,h),c){e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox);return}e.attrs=e.style,e.style={};let{attrs:f,style:p,dimensions:m}=e;f.transform&&(m&&(p.transform=f.transform),delete f.transform),m&&(void 0!==n||void 0!==s||p.transform)&&(p.transformOrigin=function(e,t,r){let i=ev(t,e.x,e.width),n=ev(r,e.y,e.height);return`${i} ${n}`}(m,void 0!==n?n:.5,void 0!==s?s:.5)),void 0!==t&&(f.x=t),void 0!==r&&(f.y=r),void 0!==i&&(f.scale=i),void 0!==o&&function(e,t,r=1,i=0,n=!0){e.pathLength=1;let s=n?eg:ey;e[s.offset]=en.transform(-i);let o=en.transform(t),a=en.transform(r);e[s.array]=`${o} ${a}`}(f,o,a,l,!1)}let ex=()=>({...ec(),attrs:{}}),ew=e=>"string"==typeof e&&"svg"===e.toLowerCase();function eP(e,{style:t,vars:r},i,n){for(let s in Object.assign(e.style,t,n&&n.getProjectionStyles(i)),r)e.style.setProperty(s,r[s])}let eS=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"]);function ek(e,t,r,i){for(let r in eP(e,t,void 0,i),t.attrs)e.setAttribute(eS.has(r)?r:f(r),t.attrs[r])}function eA(e,t){let{style:r}=e,i={};for(let n in r)(_(r[n])||t.style&&_(t.style[n])||O(n,e))&&(i[n]=r[n]);return i}function eT(e,t){let r=eA(e,t);for(let i in e)(_(e[i])||_(t[i]))&&(r[-1!==L.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=e[i]);return r}function eE(e,t,r,i={},n={}){return"function"==typeof t&&(t=t(void 0!==r?r:e.custom,i,n)),"string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t&&(t=t(void 0!==r?r:e.custom,i,n)),t}var eV=r(3576);let eC=e=>Array.isArray(e),eM=e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue),eD=e=>eC(e)?e[e.length-1]||0:e;function ej(e){let t=_(e)?e.get():e;return eM(t)?t.toValue():t}let eF=e=>(t,r)=>{let i=(0,a.useContext)(u),n=(0,a.useContext)(d.O),s=()=>(function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:r},i,n,s){let o={latestValues:function(e,t,r,i){let n={},s=i(e,{});for(let e in s)n[e]=ej(s[e]);let{initial:o,animate:a}=e,l=P(e),u=S(e);t&&u&&!l&&!1!==e.inherit&&(void 0===o&&(o=t.initial),void 0===a&&(a=t.animate));let d=!!r&&!1===r.initial,c=(d=d||!1===o)?a:o;return c&&"boolean"!=typeof c&&!b(c)&&(Array.isArray(c)?c:[c]).forEac
9h(t=>{let r=eE(e,t);if(!r)return;let{transitionEnd:i,transition:s,...o}=r;for(let e in o){let t=o[e];if(Array.isArray(t)){let e=d?t.length-1:0;t=t[e]}null!==t&&(n[e]=t)}for(let e in i)n[e]=i[e]}),n}(i,n,s,e),renderState:t()};return r&&(o.mount=e=>r(i,e,o)),o})(e,t,i,n);return r?s():(0,eV.h)(s)};var eL=r(5414);let eR={useVisualState:eF({scrapeMotionValuesFromProps:eT,createRenderState:ex,onMount:(e,t,{renderState:r,latestValues:i})=>{eL.Wi.read(()=>{try{r.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){r.dimensions={x:0,y:0,width:0,height:0}}}),eL.Wi.render(()=>{eb(r,i,{enableHardwareAcceleration:!1},ew(t.tagName),e.transformTemplate),ek(t,r)})}})},eO={useVisualState:eF({scrapeMotionValuesFromProps:eA,createRenderState:ec})};function e_(e,t,r,i={passive:!0}){return e.addEventListener(t,r,i),()=>e.removeEventListener(t,r)}let eB=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function eI(e,t="page"){return{point:{x:e[t+"X"],y:e[t+"Y"]}}}let eN=e=>t=>eB(t)&&e(t,eI(t));function ez(e,t,r,i){return e_(e,t,eN(r),i)}let eU=(e,t)=>r=>t(e(r)),eW=(...e)=>e.reduce(eU);function e$(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}let eH=e$("dragHorizontal"),eq=e$("dragVertical");function eK(e){let t=!1;if("y"===e)t=eq();else if("x"===e)t=eH();else{let e=eH(),r=eq();e&&r?t=()=>{e(),r()}
9:(e&&e(),r&&r())}return t}function eY(){let e=eK(!0);return!e||(e(),!1)}class eZ{constructor(e){this.isMounted=!1,this.node=e}update(){}}function eG(e,t){let r="onHover"+(t?"Start":"End");return ez(e.current,"pointer"+(t?"enter":"leave"),(i,n)=>{if("touch"===i.pointerType||eY())return;let s=e.getProps();e.animationState&&s.whileHover&&e.animationState.setActive("whileHover",t),s[r]&&s[r](i,n)},{passive:!e.getProps()[r]})}class eX extends eZ{mount(){this.unmount=eW(eG(this.node,!0),eG(this.node,!1))}unmount(){}}class eJ extends eZ{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){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=eW(e_(this.node.current,"focus",()=>this.onFocus()),e_(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}let eQ=(e,t)=>!!t&&(e===t||eQ(e,t.parentElement));var e0=r(4439);function e1(e,t){if(!t)return;let r=new PointerEvent("pointer"+e);t(r,eI(r))}class e5 extends eZ{constructor(){super(...arguments),this.removeStartListeners=e0.Z,this.removeEndListeners=e0.Z,this.removeAccessibleListeners=e0.Z,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();let r=this.node.getProps(),i=ez(window,"pointerup",(e,t)=>{if(!this.checkPressEnd())return;let{onTap:r,onTapCancel:i,globalTapTarget:n}=this.node.getProps();n||eQ(this.node.current,e.target)?r&&r(e,t):i&&i(e,t)},{passive:!(r.onTap||r.onPointerUp)}),n=ez(window,"pointercancel",(e,t)=>this.cancelPress(e,t),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=eW(i,n),this.startPress(e,t)},this.startAccessiblePress=()=>{let e=e_(this.node.current,"keydown",e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=e_(this.node.current,"keyup",e=>{"Enter"===e.key&&this.checkPressEnd()&&e1("up",(e,t)=>{let{onTap:r}=this.node.getProps();r&&r(e,t)})}),e1("down",(e,t)=>{this.startPress(e,t)}))}),t=e_(this.node.current,"blur",()=>{this.isPressing&&e1("cancel",(e,t)=>this.cancelPress(e,t))});this.removeAccessibleListeners=eW(e,t)}}startPress(e,t){this.isPressing=!0;let{onTapStart:r,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&r(e,t)}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!eY()}cancelPress(e,t){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&r(e,t)}mount(){let e=this.node.getProps(),t=ez(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=e_(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=eW(t,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}let e2=new WeakMap,e3=new WeakMap,e4=e=>{let t=e2.get(e.target);t&&t(e)},e8=e=>{e.forEach(e4)},e6={some:0,all:1};class e9 extends eZ{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:t,margin:r,amount:i="some",once:n}=e,s={root:t?t.current:void 0,rootMargin:r,threshold:"number"==typeof i?i:e6[i]};return function(e,t,r){let i=function({root:e,...t}){let r=e||document;e3.has(r)||e3.set(r,{});let i=e3.get(r),n=JSON.stringify(t);return i[n]||(i[n]=new IntersectionObserver(e8,{root:e,...t})),i[n]}(t);return e2.set(e,r),i.observe(e),()=>{e2.delete(e),i.unobserve(e)}}(this.node.current,s,e=>{let{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,n&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);let{onViewportEnter:r,onViewportLeave:i}=this.node.getProps(),s=t?r:i;s&&s(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return r=>e[r]!==t[r]}(e,t))&&this.startObserver()}unmount(){}}function e7(e,t){if(!Array.isArray(t))return!1;let r=t.length;if(r!==e.length)return!1;for(let i=0;i<r;i++)if(t[i]!==e[i])return!1;return!0}function te(e,t,r){let i=e.getProps();return eE(i,t,void 0!==r?r:i.custom,function(e){let t={};
9return e.values.forEach((e,r)=>t[r]=e.get()),t}(e),function(e){let t={};return e.values.forEach((e,r)=>t[r]=e.getVelocity()),t}(e))}let tt=e=>1e3*e,tr=e=>e/1e3,ti={type:"spring",stiffness:500,damping:25,restSpeed:10},tn=e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}),ts={type:"keyframes",duration:.8},to={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ta=(e,{keyframes:t})=>t.length>2?ts:R.has(e)?e.startsWith("scale")?tn(t[1]):ti:to;function tl(e,t){return e[t]||e.default||e}var tu=r(4118);let td={current:!1},tc=e=>null!==e;function th(e,{repeat:t,repeatType:r="loop"},i){let n=e.filter(tc),s=t&&"loop"!==r&&t%2==1?0:n.length-1;return s&&void 0!==i?i:n[s]}function tf(){i=void 0}let tp={now:()=>(void 0===i&&tp.set(eL.frameData.isProcessing||tu.c.useManualTiming?eL.frameData.timestamp:performance.now()),i),set:e=>{i=e,queueMicrotask(tf)}},tm=e=>/^0[^.\s]+$/u.test(e);var tv=r(3223);let tg=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),ty=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tb=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),tx=e=>e===K||e===en,tw=(e,t)=>parseFloat(e.split(", ")[t]),tP=(e,t)=>(r,{transform:i})=>{if("none"===i||!i)return 0;let n=i.match(/^matrix3d\((.+)\)$/u);if(n)return tw(n[1],t);{let t=i.match(/^matrix\((.+)\)$/u);return t?tw(t[1],e):0}},tS=new Set(["x","y","z"]),tk=L.filter(e=>!tS.has(e));function tA(e){let t=[];return tk.forEach(r=>{let i=e.getValue(r);void 0!==i&&(t.push([r,i.get()]),i.set(r.startsWith("scale")?1:0))}),t}let tT={width:({x:e},{paddingLeft:t="0",paddingRight:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),height:({y:e},{paddingTop:t="0",paddingBottom:r="0"})=>e.max-e.min-parseFloat(t)-parseFloat(r),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:tP(4,13),y:tP(5,14)};tT.translateX=tT.x,tT.translateY=tT.y;let tE=e=>t=>t.test(e),tV=[K,en,ei,er,eo,es,{test:e=>"auto"===e,parse:e=>e}],tC=e=>tV.find(tE(e)),tM=new Set,tD=!1,tj=!1;function tF(){if(tj){let e=Array.from(tM).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),r=new Map;t.forEach(e=>{tA(e).length&&(r.set(e,tA(e)),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render()}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}tj=!1,tD=!1,tM.forEach(e=>e.complete()),tM.clear()}function tL(){tM.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(tj=!0)})}class tR{constructor(e,t,r,i,n,s=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=r,this.motionValue=i,this.element=n,this.isAsync=s}scheduleResolve(){this.isScheduled=!0,this.isAsync?(tM.add(this),tD||(tD=!0,eL.Wi.read(tL),eL.Wi.resolveKeyframes(tF))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:e,name:t,element:r,motionValue:i}=this;for(let n=0;n<e.length;n++)if(null===e[n]){if(0===n){let n=null==i?void 0:i.get(),s=e[e.length-1];if(void 0!==n)e[0]=n;else if(r&&t){let i=r.readValue(t,s);null!=i&&(e[0]=i)}void 0===e[0]&&(e[0]=s),i&&void 0===n&&i.set(e[0])}else e[n]=e[n-1]}}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),tM.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,tM.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let tO=(e,t)=>r=>!!(ee(r)&&Q.test(r)&&r.startsWith(e)||t&&Object.prototype.hasOwnProperty.call(r,t)),t_=(e,t,r)=>i=>{if(!ee(i))return i;let[n,s,o,a]=i.match(X);return{[e]:parseFloat(n),[t]:parseFloat(s),[r]:parseFloat(o),alpha:void 0!==a?parseFloat(a):1}},tB=e=>q(0,255,e),tI={...K,transform:e=>Math.round(tB(e))},tN={test:tO("rgb","red"),parse:t_("red","green","blue"),transform:({red:e,green:t,blue:r,alpha:i=1})=>"rgba("+tI.transform(e)+", "+tI.transform(t)+", "+tI.transform(r)+", "+G(Y.transform(i))+")"},tz={test:tO("#"),parse:function(e){let t="",r="",i="",n="";return e.length>5?(t=e.substring(1,3),r=e.substring(3,5),i=e.substring(5,7),n=e.substring(7,9)):(t=e.substring(1,2),r=e.substring(2,3),i=e.substring(3,4),n=e.substring(4,5),t+=t,r+=r,i+=i,n+=n),{red:parseInt(t,16),green:parseInt(r,16),blue:parseInt(i,16),alph
9a:n?parseInt(n,16)/255:1}},transform:tN.transform},tU={test:tO("hsl","hue"),parse:t_("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:r,alpha:i=1})=>"hsla("+Math.round(e)+", "+ei.transform(G(t))+", "+ei.transform(G(r))+", "+G(Y.transform(i))+")"},tW={test:e=>tN.test(e)||tz.test(e)||tU.test(e),parse:e=>tN.test(e)?tN.parse(e):tU.test(e)?tU.parse(e):tz.parse(e),transform:e=>ee(e)?e:e.hasOwnProperty("red")?tN.transform(e):tU.transform(e)},t$="number",tH="color",tq=/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 tK(e){let t=e.toString(),r=[],i={color:[],number:[],var:[]},n=[],s=0,o=t.replace(tq,e=>(tW.test(e)?(i.color.push(s),n.push(tH),r.push(tW.parse(e))):e.startsWith("var(")?(i.var.push(s),n.push("var"),r.push(e)):(i.number.push(s),n.push(t$),r.push(parseFloat(e))),++s,"${}")).split("${}");return{values:r,split:o,indexes:i,types:n}}function tY(e){return tK(e).values}function tZ(e){let{split:t,types:r}=tK(e),i=t.length;return e=>{let n="";for(let s=0;s<i;s++)if(n+=t[s],void 0!==e[s]){let t=r[s];t===t$?n+=G(e[s]):t===tH?n+=tW.transform(e[s]):n+=e[s]}return n}}let tG=e=>"number"==typeof e?0:e,tX={test:function(e){var t,r;return isNaN(e)&&ee(e)&&((null===(t=e.match(X))||void 0===t?void 0:t.length)||0)+((null===(r=e.match(J))||void 0===r?void 0:r.length)||0)>0},parse:tY,createTransformer:tZ,getAnimatableNone:function(e){let t=tY(e);return tZ(e)(t.map(tG))}},tJ=new Set(["brightness","contrast","saturate","opacity"]);function tQ(e){let[t,r]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;let[i]=r.match(X)||[];if(!i)return e;let n=r.replace(i,""),s=tJ.has(t)?1:0;return i!==r&&(s*=100),t+"("+s+n+")"}let t0=/\b([a-z-]*)\(.*?\)/gu,t1={...tX,getAnimatableNone:e=>{let t=e.match(t0);return t?t.map(tQ).join(" "):e}},t5={...eu,color:tW,backgroundColor:tW,outlineColor:tW,fill:tW,stroke:tW,borderColor:tW,borderTopColor:tW,borderRightColor:tW,borderBottomColor:tW,borderLeftColor:tW,filter:t1,WebkitFilter:t1},t2=e=>t5[e];function t3(e,t){let r=t2(e);return r!==t1&&(r=tX),r.getAnimatableNone?r.getAnimatableNone(t):void 0}
9class t4 extends tR{constructor(e,t,r,i){super(e,t,r,i,null==i?void 0:i.owner,!0)}readKeyframes(){let{unresolvedKeyframes:e,element:t,name:r}=this;if(!t.current)return;super.readKeyframes();for(let r=0;r<e.length;r++){let i=e[r];if("string"==typeof i&&W(i)){let n=function e(t,r,i=1){(0,tv.k)(i<=4,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[n,s]=function(e){let t=ty.exec(e);if(!t)return[,];let[,r,i,n]=t;return[`--${null!=r?r:i}`,n]}(t);if(!n)return;let o=window.getComputedStyle(r).getPropertyValue(n);if(o){let e=o.trim();return tg(e)?parseFloat(e):e}return W(s)?e(s,r,i+1):s}(i,t.current);void 0!==n&&(e[r]=n)}}if(!tb.has(r)||2!==e.length)return this.resolveNoneKeyframes();let[i,n]=e,s=tC(i),o=tC(n);if(s!==o){if(tx(s)&&tx(o))for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r&&(e[t]=parseFloat(r))}else this.needsMeasurement=!0}}resolveNoneKeyframes(){let{unresolvedKeyframes:e,name:t}=this,r=[];for(let t=0;t<e.length;t++){var i;("number"==typeof(i=e[t])?0===i:null===i||"none"===i||"0"===i||tm(i))&&r.push(t)}r.length&&function(e,t,r){let i,n=0;for(;n<e.length&&!i;)"string"==typeof e[n]&&"none"!==e[n]&&"0"!==e[n]&&(i=e[n]),n++;if(i&&r)for(let n of t)e[n]=t3(r,i)}(e,r,t)}measureInitialState(){let{element:e,unresolvedKeyframes:t,name:r}=this;if(!e.current)return;"height"===r&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=tT[r](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;let i=t[t.length-1];void 0!==i&&e.getValue(r,i).jump(i,!1)}measureEndState(){var e;let{element:t,name:r,unresolvedKeyframes:i}=this;if(!t.current)return;let n=t.getValue(r);n&&n.jump(this.measuredOrigin,!1);let s=i.length-1,o=i[s];i[s]=tT[r](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&(this.finalKeyframe=o),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEac
9h(([e,r])=>{t.getValue(e).set(r)}),this.resolveNoneKeyframes()}}let t8=(e,t)=>"zIndex"!==t&&!!("number"==typeof e||Array.isArray(e)||"string"==typeof e&&(tX.test(e)||"0"===e)&&!e.startsWith("url("));class t6{constructor({autoplay:e=!0,delay:t=0,type:r="keyframes",repeat:i=0,repeatDelay:n=0,repeatType:s="loop",...o}){this.isStopped=!1,this.options={autoplay:e,delay:t,type:r,repeat:i,repeatDelay:n,repeatType:s,...o},this.updateFinishedPromise()}get resolved(){return this._resolved||(tL(),tF()),this._resolved}onKeyframesResolved(e,t){let{name:r,type:i,velocity:n,delay:s,onComplete:o,onUpdate:a}=this.options;if(!function(e,t,r,i){let n=e[0];if(null===n)return!1;let s=e[e.length-1],o=t8(n,t),a=t8(s,t);return(0,tv.K)(o===a,`You are trying to animate ${t} from "${n}" to "${s}". ${n} is not an animatable value - to enable this animation set ${n} to a value animatable to ${s} via the \`style\` property.`),!!o&&!!a&&(function(e){let t=e[0];if(1===e.length)return!0;for(let r=0;r<e.length;r++)if(e[r]!==t)return!0}(e)||"spring"===r&&i)}(e,r,i,n)){if(td.current||!s){null==a||a(th(e,this.options,t)),null==o||o(),this.resolveFinishedPromise();return}this.options.duration=0}let l=this.initPlayback(e,t);!1!==l&&(this._resolved={keyframes:e,finalKeyframe:t,...l},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}function t9(e,t,r){var i,n;let s=Math.max(t-5,0);return i=r-e(s),(n=t-s)?1e3/n*i:0}function t7(e,t){return e*Math.sqrt(1-t*t)}let re=["duration","bounce"],rt=["stiffness","damping","mass"];function rr(e,t){return t.some(t=>void 0!==e[t])}function ri({keyframes:e,restDelta:t,restSpeed:r,...i}){let n;let s=e[0],o=e[e.length-1],a={done:!1,value:s},{stiffness:l,damping:u,mass:d,duration:c,velocity:h,isResolvedFromDuration:f}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!rr(e,rt)&&rr(e,re)){let r=function({duration:e=800,bounce:t=.25,velocity:r=0,mass:i=1}){let n,s;(0,tv.K)(e<=tt(10),"Spring duration must be 10 seconds or less");let o=1-t;o=q(.05,1,o),e=q(.01,10,tr(e)),o<1?(n=t=>{let i=t*o,n=i*e;return .001-(i-r)/t7(t,o)*Math.exp(-n)},s=t=>{let i=t*o*e,s=Math.pow(o,2)*Math.pow(t,2)*e,a=t7(Math.pow(t,2),o);return(i*r+r-s)*Math.exp(-i)*(-n(t)+.001>0?-1:1)/a}):(n=t=>-.001+Math.exp(-t*e)*((t-r)*e+1),s=t=>e*e*(r-t)*Math.exp(-t*e));let a=function(e,t,r){let i=r;for(let r=1;r<12;r++)i-=e(i)/t(i);return i}(n,s,5/e);if(e=tt(e),isNaN(a))return{stiffness:100,damping:10,duration:e};{let t=Math.pow(a,2)*i;return{stiffness:t,damping:2*o*Math.sqrt(i*t),duration:e}}}(e);(t={...t,...r,mass:1}).isResolvedFromDuration=!0}return t}({...i,velocity:-tr(i.velocity||0)}),p=h||0,m=u/(2*Math.sqrt(l*d)),v=o-s,g=tr(Math.sqrt(l/d)),y=5>Math.abs(v);if(r||(r=y?.01:2),t||(t=y?.005:.5),m<1){let e=t7(g,m);n=t=>o-Math.exp(-m*g*t)*((p+m*g*v)/e*Math.sin(e*t)+v*Math.cos(e*t))}else if(1===m)n=e=>o-Math.exp(-g*e)*(v+(p+g*v)*e);else{let e=g*Math.sqrt(m*m-1);n=t=>{let r=Math.exp(-m*g*t),i=Math.min(e*t,300);return o-r*((p+m*g*v)*Math.sinh(i)+e*v*Math.cosh(i))/e}}return{calculatedDuration:f&&c||null,next:e=>{let i=n(e);if(f)a.done=e>=c;else{let s=p;0!==e&&(s=m<1?t9(n,e,i):0);let l=Math.abs(s)<=r,u=Math.abs(o-i)<=t;a.done=l&&u}return a.value=a.done?o:i,a}}}function rn({keyframes:e,velocity:t=0,power:r=.8,timeConstant:i=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:d}){let c,h;let f=e[0],p={done:!1,value:f},m=e=>void 0!==a&&e<a||void 0!==l&&e>l,v=e=>void 0===a?l:void 0===l?a:Math.abs(a-e)<Math.abs(l-e)?a:l,g=r*t,y=f+g,b=void 0===o?y:o(y);b!==y&&(g=b-f);let x=e=>-g*Math.exp(-e/i),w=e=>b+x(e),P=e=>{let t=x(e),r=w(e);p.done=Math.abs(t)<=u,p.value=p.done?b:r},S=e=>{m(p.value)&&(c=e,h=ri({keyframes:[p.value,v(p.value)],velocity:t9(w,e,p.value),damping:n,stiffness:s,restDelta:u,restSpeed:d}))};return S(0),{calculatedDuration:null,next:e=>{let t=!1;return(h||void 0!==c||(t=!0,P(e),S(e)),void 0!==c&&e>=c)?h.next(e-c):(t||P(e),p)}}}let rs=(e,t,r)=>(((1-3*r+3*t)*e+(3*r-6*t))*e+3*t)*e;function ro(e,t,r,i){if(e===t&&r===i)return e0.Z;let n=t=>(function(e,t,r,i,n){let s,o;let a=0;do(s=rs(o=t+(r-t)/2,i,n)-e)>0?r=o:t=o;while(Math.abs(s)>1e-7&&++a<12);return o}
9)(t,0,1,e,r);return e=>0===e||1===e?e:rs(n(e),t,i)}let ra=ro(.42,0,1,1),rl=ro(0,0,.58,1),ru=ro(.42,0,.58,1),rd=e=>Array.isArray(e)&&"number"!=typeof e[0],rc=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,rh=e=>t=>1-e(1-t),rf=e=>1-Math.sin(Math.acos(e)),rp=rh(rf),rm=rc(rf),rv=ro(.33,1.53,.69,.99),rg=rh(rv),ry=rc(rg),rb={linear:e0.Z,easeIn:ra,easeInOut:ru,easeOut:rl,circIn:rf,circInOut:rm,circOut:rp,backIn:rg,backInOut:ry,backOut:rv,anticipate:e=>(e*=2)<1?.5*rg(e):.5*(2-Math.pow(2,-10*(e-1)))},rx=e=>{if(Array.isArray(e)){(0,tv.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");let[t,r,i,n]=e;return ro(t,r,i,n)}return"string"==typeof e?((0,tv.k)(void 0!==rb[e],`Invalid easing type '${e}'`),rb[e]):e},rw=(e,t,r)=>{let i=t-e;return 0===i?1:(r-e)/i},rP=(e,t,r)=>e+(t-e)*r;function rS(e,t,r){return(r<0&&(r+=1),r>1&&(r-=1),r<1/6)?e+(t-e)*6*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}let rk=(e,t,r)=>{let i=e*e,n=r*(t*t-i)+i;return n<0?0:Math.sqrt(n)},rA=[tz,tN,tU],rT=e=>rA.find(t=>t.test(e));function rE(e){let t=rT(e);(0,tv.k)(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`);let r=t.parse(e);return t===tU&&(r=function({hue:e,saturation:t,lightness:r,alpha:i}){e/=360,r/=100;let n=0,s=0,o=0;if(t/=100){let i=r<.5?r*(1+t):r+t-r*t,a=2*r-i;n=rS(a,i,e+1/3),s=rS(a,i,e),o=rS(a,i,e-1/3)}else n=s=o=r;return{red:Math.round(255*n),green:Math.round(255*s),blue:Math.round(255*o),alpha:i}}(r)),r}let rV=(e,t)=>{let r=rE(e),i=rE(t),n={...r};return e=>(n.red=rk(r.red,i.red,e),n.green=rk(r.green,i.green,e),n.blue=rk(r.blue,i.blue,e),n.alpha=rP(r.alpha,i.alpha,e),tN.transform(n))};function rC(e,t){return r=>r>0?t:e}function rM(e,t){return r=>rP(e,t,r)}function rD(e){return"number"==typeof e?rM:"string"==typeof e?W(e)?rC:tW.test(e)?rV:rL:Array.isArray(e)?rj:"object"==typeof e?tW.test(e)?rV:rF:rC}function rj(e,t){let r=[...e],i=r.length,n=e.map((e,r)=>rD(e)(e,t[r]));return e=>{for(let t=0;t<i;t++)r[t]=n[t](e);return r}}function rF(e,t){let r={...e,...t},i={};for(let n in r)void 0!==e[n]&&void 0!==t[n]&&(i[n]=rD(e[n])(e[n],t[n]));return e=>{for(let t in i)r[t]=i[t](e);return r}}let rL=(e,t)=>{let r=tX.createTransformer(t),i=tK(e),n=tK(t);return i.indexes.var.length===n.indexes.var.length&&i.indexes.color.length===n.indexes.color.length&&i.indexes.number.length>=n.indexes.number.length?eW(rj(function(e,t){var r;let i=[],n={color:0,var:0,number:0};for(let s=0;s<t.values.length;s++){let o=t.types[s],a=e.indexes[o][n[o]],l=null!==(r=e.values[a])&&void 0!==r?r:0;i[s]=l,n[o]++}return i}(i,n),n.values),r):((0,tv.K)(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),rC(e,t))};function rR(e,t,r){return"number"==typeof e&&"number"==typeof t&&"number"==typeof r?rP(e,t,r):rD(e)(e,t)}function rO({duration:e=300,keyframes:t,times:r,ease:i="easeInOut"}){let n=rd(i)?i.map(rx):rx(i),s={done:!1,value:t[0]},o=function(e,t,{clamp:r=!0,ease:i,mixer:n}={}){let s=e.length;if((0,tv.k)(s===t.length,"Both input and output ranges must be the same length"),1===s)return()=>t[0];if(2===s&&e[0]===e[1])return()=>t[1];e[0]>e[s-1]&&(e=[...e].reverse(),t=[...t].reverse());let o=function(e,t,r){let i=[],n=r||rR,s=e.length-1;for(let r=0;r<s;r++){let s=n(e[r],e[r+1]);t&&(s=eW(Array.isArray(t)?t[r]||e0.Z:t,s)),i.push(s)}return i}(t,i,n),a=o.length,l=t=>{let r=0;if(a>1)for(;r<e.length-2&&!(t<e[r+1]);r++);let i=rw(e[r],e[r+1],t);return o[r](i)};return r?t=>l(q(e[0],e[s-1],t)):l}((r&&r.length===t.length?r:function(e){let t=[0];return function(e,t){let r=e[e.length-1];for(let i=1;i<=t;i++){let n=rw(0,t,i);e.push(rP(r,1,n))}}(t,e.length-1),t}(t)).map(t=>t*e),t,{ease:Array.isArray(n)?n:t.map(()=>n||ru).splice(0,t.length-1)});return{calculatedDuration:e,next:t=>(s.value=o(t),s.done=t>=e,s)}}let r_=e=>{let t=({timestamp:t})=>e(t);return{start:()=>eL.Wi.update(t,!0),stop:()=>(0,eL.Pn)(t),now:()=>eL.frameData.isProcessing?eL.frameData.timestamp:tp.now()}},rB={decay:rn,inertia:rn,tween:rO,keyframes:rO,spring:ri},rI=e=>e/100;class rN extends t6{constructor({KeyframeResolver:e=tR,...t}){super(t),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle";let{name:r,motionValue:i,keyframes:n}=this.options,s=(e,t)=>this.onKeyframesResolved(e,t);r&&i&&i.owner?this.resolver=i.owner.resolveKeyframes(n,s,r,i):this.resolver=new e(n,s,r,i),this.resolver.scheduleResolve()}initPlayback(e){let t,r;
9let{type:i="keyframes",repeat:n=0,repeatDelay:s=0,repeatType:o,velocity:a=0}=this.options,l=rB[i]||rO;l!==rO&&"number"!=typeof e[0]&&(t=eW(rI,rR(e[0],e[1])),e=[0,100]);let u=l({...this.options,keyframes:e});"mirror"===o&&(r=l({...this.options,keyframes:[...e].reverse(),velocity:-a})),null===u.calculatedDuration&&(u.calculatedDuration=function(e){let t=0,r=e.next(t);for(;!r.done&&t<2e4;)t+=50,r=e.next(t);return t>=2e4?1/0:t}(u));let{calculatedDuration:d}=u,c=d+s;return{generator:u,mirroredGenerator:r,mapPercentToKeyframes:t,calculatedDuration:d,resolvedDuration:c,totalDuration:c*(n+1)-s}}onPostResolved(){let{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){let{resolved:r}=this;if(!r){let{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}let{finalKeyframe:i,generator:n,mirroredGenerator:s,mapPercentToKeyframes:o,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:d}=r;if(null===this.startTime)return n.next(0);let{delay:c,repeat:h,repeatType:f,repeatDelay:p,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;let v=this.currentTime-c*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,b=n;if(h){let e=Math.min(this.currentTime,u)/d,t=Math.floor(e),r=e%1;!r&&e>=1&&(r=1),1===r&&t--,(t=Math.min(t,h+1))%2&&("reverse"===f?(r=1-r,p&&(r-=p/d)):"mirror"===f&&(b=s)),y=q(0,1,r)*d}let x=g?{done:!1,value:a[0]}:b.next(y);o&&(x.value=o(x.value));let{done:w}=x;g||null===l||(w=this.speed>=0?this.currentTime>=u:this.currentTime<=0);let P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return P&&void 0!==i&&(x.value=th(a,this.options,i)),m&&m(x.value),P&&this.finish(),x}get duration(){let{resolved:e}=this;return e?tr(e.calculatedDuration):0}get time(){return tr(this.currentTime)}set time(e){e=tt(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){let t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=tr(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;let{driver:e=r_,onPlay:t}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();let r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=r),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();let{onStop:e}=this.options;e&&e()}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";let{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}let rz=e=>Array.isArray(e)&&"number"==typeof e[0],rU=([e,t,r,i])=>`cubic-bezier(${e}, ${t}, ${r}, ${i})`,rW={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:rU([0,.65,.55,1]),circOut:rU([.55,0,1,.45]),backIn:rU([.31,.01,.66,-.59]),backOut:rU([.33,1.53,.69,.99])},r$=(o=()=>Object.hasOwnProperty.call(Element.prototype,"animate"),()=>(void 0===n&&(n=o()),n)),rH=new Set(["opacity","clipPath","filter","transform"]);class rq extends t6{constructor(e){super(e);let{name:t,motionValue:r,keyframes:i}=this.options;this.resolver=new t4(i,(e,t)=>this.onKeyframesResolved(e,t),t,r),this.resolver.scheduleResolve()}initPlayback(e,t){var r,i;let{duration:n=300,times:s,ease:o,type:a,motionValue:l,name:u}=this.options;if(!(null===(r=l.owner)||void 0===r?void 0:r.current))return!1;if("spring"===(i=this.options).type||"backgroundColor"===i.name||!function e(t){return!!(!t||"string"==typeof t&&rW[t]||rz(t)||Array.isArray(t)&&t.every(e))}(i.ease)){let{onComplete:t,onUpdate:r,motionValue:i,...l}=this.options,u=function(e,t){let r=new rN({...t,keyframes:e,repeat:0,delay:0}),i={done:!1,value:e[0]},n=[],s=0;for(;!i.done&&s<2e4;)n.push((i=r.sample(s)).value),s+=10;return{times:void 0,keyframes:n,duration:s-10,ease:"linear"}}(e,l);e=u.keyframes,n=u.duration,s=u.times,o=u.ease,a="keyframes"}let d=function(e,t,r,{delay:i=0,duration:n=300,repeat:s=0,repeatType:
9o="loop",ease:a,times:l}={}){let u={[t]:r};l&&(u.offset=l);let d=function e(t){if(t)return rz(t)?rU(t):Array.isArray(t)?t.map(e):rW[t]}(a);return Array.isArray(d)&&(u.easing=d),e.animate(u,{delay:i,duration:n,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===o?"alternate":"normal"})}(l.owner.current,u,e,{...this.options,duration:n,times:s,ease:o});return d.startTime=tp.now(),this.pendingTimeline?(d.timeline=this.pendingTimeline,this.pendingTimeline=void 0):d.onfinish=()=>{let{onComplete:r}=this.options;l.set(th(e,this.options,t)),r&&r(),this.cancel(),this.resolveFinishedPromise()},{animation:d,duration:n,times:s,type:a,ease:o,keyframes:e}}get duration(){let{resolved:e}=this;if(!e)return 0;let{duration:t}=e;return tr(t)}get time(){let{resolved:e}=this;if(!e)return 0;let{animation:t}=e;return tr(t.currentTime||0)}set time(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.currentTime=tt(e)}get speed(){let{resolved:e}=this;if(!e)return 1;let{animation:t}=e;return t.playbackRate}set speed(e){let{resolved:t}=this;if(!t)return;let{animation:r}=t;r.playbackRate=e}get state(){let{resolved:e}=this;if(!e)return"idle";let{animation:t}=e;return t.playState}attachTimeline(e){if(this._resolved){let{resolved:t}=this;if(!t)return e0.Z;let{animation:r}=t;r.timeline=e,r.onfinish=null}else this.pendingTimeline=e;return e0.Z}play(){if(this.isStopped)return;let{resolved:e}=this;if(!e)return;let{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){let{resolved:e}=this;if(!e)return;let{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;let{resolved:e}=this;if(!e)return;let{animation:t,keyframes:r,duration:i,type:n,ease:s,times:o}=e;if("idle"!==t.playState&&"finished"!==t.playState){if(this.time){let{motionValue:e,onUpdate:t,onComplete:a,...l}=this.options,u=new rN({...l,keyframes:r,duration:i,type:n,ease:s,times:o}),d=tt(this.time);e.setWithVelocity(u.sample(d-10).value,u.sample(d).value,10)}this.cancel()}}complete(){let{resolved:e}=this;e&&e.animation.finish()}cancel(){let{resolved:e}=this;e&&e.animation.cancel()}static supports(e){let{motionValue:t,name:r,repeatDelay:i,repeatType:n,damping:s,type:o}=e;return r$()&&r&&rH.has(r)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!i&&"mirror"!==n&&0!==s&&"inertia"!==o}}let rK=(e,t,r,i={},n,s)=>o=>{let a=tl(i,e)||{},l=a.delay||i.delay||0,{elapsed:u=0}=i;u-=tt(l);let d={keyframes:Array.isArray(r)?r:[null,r],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:s?void 0:n};!function({when:e,delay:t,delayChildren:r,staggerChildren:i,staggerDirection:n,repeat:s,repeatType:o,repeatDelay:a,from:l,elapsed:u,...d}){return!!Object.keys(d).length}(a)&&(d={...d,...ta(e,d)}),d.duration&&(d.duration=tt(d.duration)),d.repeatDelay&&(d.repeatDelay=tt(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let c=!1;if(!1===d.type&&(d.duration=0,0===d.delay&&(c=!0)),(td.current||tu.c.skipAnimations)&&(c=!0,d.duration=0,d.delay=0),c&&!s&&void 0!==t.get()){let e=th(d.keyframes,a);if(void 0!==e){eL.Wi.update(()=>{d.onUpdate(e),d.onComplete()});return}}return!s&&rq.supports(d)?new rq(d):new rN(d)};function rY(e){return!!(_(e)&&e.add)}function rZ(e,t){-1===e.indexOf(t)&&e.push(t)}function rG(e,t){let r=e.indexOf(t);r>-1&&e.splice(r,1)}class rX{constructor(){this.subscriptions=[]}add(e){return rZ(this.subscriptions,e),()=>rG(this.subscriptions,e)}notify(e,t,r){let i=this.subscriptions.length;if(i){if(1===i)this.subscriptions[0](e,t,r);else for(let n=0;n<i;n++){let i=this.subscriptions[n];i&&i(e,t,r)}}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let rJ=e=>!isNaN(parseFloat(e)),rQ={current:void 0};class r0{constructor(e,t={}){this.version="11.0.21",this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(e,t=!0)=>{let r=tp.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.canTrackVelocity=rJ(this.current),this.owner=t.owner}setCurrent(e){this.current=e,this.updatedAt=tp.now()}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 rX);let r=this.events[e].add(t);return"change"===e?()=>{r(),eL.Wi.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,r){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-r}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return rQ.current&&rQ.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var e;let t=tp.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;let r=Math.min(this.updatedAt-this.prevUpdatedAt,30);return e=parseFloat(this.current)-parseFloat(this.prevFrameValue),r?1e3/r*e:0}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.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function r1(e,t){return new r0(e,t)}function r5(e,t,{delay:r=0,transitionOverride:i,type:n}={}){var s;let{transition:o=e.getDefaultTransition(),transitionEnd:a,...l}=t,u=e.getValue("willChange");i&&(o=i);let d=[],c=n&&e.animationState&&e.animationState.getState()[n];for(let t in l){let i=e.getValue(t,null!==(s=e.latestValues[t])&&void 0!==s?s:null),n=l[t];if(void 0===n||c&&function({protectedKeys:e,needsAnimating:t},r){let i=e.hasOwnProperty(r)&&!0!==t[r];return t[r]=!1,i}(c,t))continue;let a={delay:r,elapsed:0,...tl(o||{},t)},h=!1;if(window.HandoffAppearAnimations){let r=e.getProps()[p];if(r){let e=window.HandoffAppearAnimations(r,t);
9null!==e&&(a.elapsed=e,h=!0)}}i.start(rK(t,i,n,e.shouldReduceMotion&&R.has(t)?{type:!1}:a,e,h));let f=i.animation;f&&(rY(u)&&(u.add(t),f.then(()=>u.remove(t))),d.push(f))}return a&&Promise.all(d).then(()=>{eL.Wi.update(()=>{a&&function(e,t){let{transitionEnd:r={},transition:i={},...n}=te(e,t)||{};for(let t in n={...n,...r}){let r=eD(n[t]);e.hasValue(t)?e.getValue(t).set(r):e.addValue(t,r1(r))}}(e,a)})}),d}function r2(e,t,r={}){var i;let n=te(e,t,"exit"===r.type?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0),{transition:s=e.getDefaultTransition()||{}}=n||{};r.transitionOverride&&(s=r.transitionOverride);let o=n?()=>Promise.all(r5(e,n,r)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(i=0)=>{let{delayChildren:n=0,staggerChildren:o,staggerDirection:a}=s;return function(e,t,r=0,i=0,n=1,s){let o=[],a=(e.variantChildren.size-1)*i,l=1===n?(e=0)=>e*i:(e=0)=>a-e*i;return Array.from(e.variantChildren).sort(r3).forEach((e,i)=>{e.notify("AnimationStart",t),o.push(r2(e,t,{...s,delay:r+l(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(o)}(e,t,n+i,o,a,r)}:()=>Promise.resolve(),{when:l}=s;if(!l)return Promise.all([o(),a(r.delay)]);{let[e,t]="beforeChildren"===l?[o,a]:[a,o];return e().then(()=>t())}}function r3(e,t){return e.sortNodePosition(t)}let r4=[...x].reverse(),r8=x.length;function r6(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}class r9 extends eZ{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=t=>Promise.all(t.map(({animation:t,options:r})=>(function(e,t,r={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t))i=Promise.all(t.map(t=>r2(e,t,r)));else if("string"==typeof t)i=r2(e,t,r);else{let n="function"==typeof t?te(e,t,r.custom):t;i=Promise.all(r5(e,n,r))}return i.then(()=>{eL.Wi.postRender(()=>{e.notify("AnimationComplete",t)})})})(e,t,r))),r={animate:r6(!0),whileInView:r6(),whileHover:r6(),whileTap:r6(),whileDrag:r6(),whileFocus:r6(),exit:r6()},i=!0,n=t=>(r,i)=>{var n;let s=te(e,i,"exit"===t?null===(n=e.presenceContext)||void 0===n?void 0:n.custom:void 0);if(s){let{transition:e,transitionEnd:t,...i}=s;r={...r,...i,...t}}return r};function s(s){let o=e.getProps(),a=e.getVariantContext(!0)||{},l=[],u=new Set,d={},c=1/0;for(let t=0;t<r8;t++){var h;let f=r4[t],p=r[f],m=void 0!==o[f]?o[f]:a[f],v=y(m),g=f===s?p.isActive:null;!1===g&&(c=t);let x=m===a[f]&&m!==o[f]&&v;if(x&&i&&e.manuallyAnimateOnMount&&(x=!1),p.protectedKeys={...d},!p.isActive&&null===g||!m&&!p.prevProp||b(m)||"boolean"==typeof m)continue;let w=(h=p.prevProp,("string"==typeof m?m!==h:!!Array.isArray(m)&&!e7(m,h))||f===s&&p.isActive&&!x&&v||t>c&&v),P=!1,S=Array.isArray(m)?m:[m],k=S.reduce(n(f),{});!1===g&&(k={});let{prevResolvedValues:A={}}=p,T={...A,...k},E=e=>{w=!0,u.has(e)&&(P=!0,u.delete(e)),p.needsAnimating[e]=!0};for(let e in T){let t=k[e],r=A[e];if(!d.hasOwnProperty(e))(eC(t)&&eC(r)?e7(t,r):t===r)?void 0!==t&&u.has(e)?E(e):p.protectedKeys[e]=!0:null!=t?E(e):u.add(e)}p.prevProp=m,p.prevResolvedValues=k,p.isActive&&(d={...d,...k}),i&&e.blockInitialAnimation&&(w=!1),w&&(!x||P)&&l.push(...S.map(e=>({animation:e,options:{type:f}})))}if(u.size){let t={};u.forEach(r=>{let i=e.getBaseTarget(r);t[r]=void 0===i?null:i}),l.push({animation:t})}let f=!!l.length;return i&&(!1===o.initial||o.initial===o.animate)&&!e.manuallyAnimateOnMount&&(f=!1),i=!1,f?t(l):Promise.resolve()}return{animateChanges:s,setActive:function(t,i){var n;if(r[t].isActive===i)return Promise.resolve();null===(n=e.variantChildren)||void 0===n||n.forEach(e=>{var r;return null===(r=e.animationState)||void 0===r?void 0:r.setActive(t,i)}),r[t].isActive=i;let o=s(t);for(let e in r)r[e].protectedKeys={};return o},setAnimateFunction:function(r){t=r(e)},getState:()=>r}}(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),b(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){}}let r7=0;class ie extends eZ{constructor(){super(...arguments),this.id=r7++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:r}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===r)return;let i=this.node.animationState.setActive("exit",!e);t&&!e&&i.then(()=>
9t(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}let it=(e,t)=>Math.abs(e-t);class ir{constructor(e,t,{transformPagePoint:r,contextWindow:i,dragSnapToOrigin:n=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{var e,t;if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let r=io(this.lastMoveEventInfo,this.history),i=null!==this.startEvent,n=(e=r.offset,t={x:0,y:0},Math.sqrt(it(e.x,t.x)**2+it(e.y,t.y)**2)>=3);if(!i&&!n)return;let{point:s}=r,{timestamp:o}=eL.frameData;this.history.push({...s,timestamp:o});let{onStart:a,onMove:l}=this.handlers;i||(a&&a(this.lastMoveEvent,r),this.startEvent=this.lastMoveEvent),l&&l(this.lastMoveEvent,r)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=ii(t,this.transformPagePoint),eL.Wi.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();let{onEnd:r,onSessionEnd:i,resumeAnimation:n}=this.handlers;if(this.dragSnapToOrigin&&n&&n(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=io("pointercancel"===e.type?this.lastMoveEventInfo:ii(t,this.transformPagePoint),this.history);this.startEvent&&r&&r(e,s),i&&i(e,s)},!eB(e))return;this.dragSnapToOrigin=n,this.handlers=t,this.transformPagePoint=r,this.contextWindow=i||window;let s=ii(eI(e),this.transformPagePoint),{point:o}=s,{timestamp:a}=eL.frameData;this.history=[{...o,timestamp:a}];let{onSessionStart:l}=t;l&&l(e,io(s,this.history)),this.removeListeners=eW(ez(this.contextWindow,"pointermove",this.handlePointerMove),ez(this.contextWindow,"pointerup",this.handlePointerUp),ez(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),(0,eL.Pn)(this.updatePoint)}}function ii(e,t){return t?{point:t(e.point)}:e}function is(e,t){return{x:e.x-t.x,y:e.y-t.y}}function io({point:e},t){return{point:e,delta:is(e,ia(t)),offset:is(e,t[0]),velocity:function(e,t){if(e.length<2)return{x:0,y:0};let r=e.length-1,i=null,n=ia(e);for(;r>=0&&(i=e[r],!(n.timestamp-i.timestamp>tt(.1)));)r--;if(!i)return{x:0,y:0};let s=tr(n.timestamp-i.timestamp);if(0===s)return{x:0,y:0};let o={x:(n.x-i.x)/s,y:(n.y-i.y)/s};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}(t,0)}}function ia(e){return e[e.length-1]}function il(e){return e.max-e.min}function iu(e,t=0,r=.01){return Math.abs(e-t)<=r}function id(e,t,r,i=.5){e.origin=i,e.originPoint=rP(t.min,t.max,e.origin),e.scale=il(r)/il(t),(iu(e.scale,1,1e-4)||isNaN(e.scale))&&(e.scale=1),e.translate=rP(r.min,r.max,e.origin)-e.originPoint,(iu(e.translate)||isNaN(e.translate))&&(e.translate=0)}function ic(e,t,r,i){id(e.x,t.x,r.x,i?i.originX:void 0),id(e.y,t.y,r.y,i?i.originY:void 0)}function ih(e,t,r){e.min=r.min+t.min,e.max=e.min+il(t)}function ip(e,t,r){e.min=t.min-r.min,e.max=e.min+il(t)}function im(e,t,r){ip(e.x,t.x,r.x),ip(e.y,t.y,r.y)}function iv(e,t,r){return{min:void 0!==t?e.min+t:void 0,max:void 0!==r?e.max+r-(e.max-e.min):void 0}}function ig(e,t){let r=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([r,i]=[i,r]),{min:r,max:i}}function iy(e,t,r){return{min:ib(e,t),max:ib(e,r)}}function ib(e,t){return"number"==typeof e?e:e[t]||0}let ix=()=>({translate:0,scale:1,origin:0,originPoint:0}),iw=()=>({x:ix(),y:ix()}),iP=()=>({min:0,max:0}),iS=()=>({x:iP(),y:iP()});function ik(e){return[e("x"),e("y")]}function iA({top:e,left:t,right:r,bottom:i}){return{x:{min:t,max:r},y:{min:e,max:i}}}function iT(e){return void 0===e||1===e}function iE({scale:e,scaleX:t,scaleY:r}){return!iT(e)||!iT(t)||!iT(r)}function iV(e){return iE(e)||iC(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function iC(e){var t,r;return(t=e.x)&&"0%"!==t||(r=e.y)&&"0%"!==r}function iM(e,t,r,i,n){return void 0!==n&&(e=i+n*(e-i)),i+r*(e-i)+t}function iD(e,t=0,r=1,i,n){e.min=iM(e.min,t,r,i,n),e.max=iM(e.max,t,r,i,n)}function ij(e,{x:t,y:r}){iD(e.x,t.translate,t.scale,t.originPoint),iD(e.y,r.translate,r.scale,r.originPoint)}function iF(e){return Number.isInteger(e)?e:e>1.0000000000001||e<.999999999999?e:1}function iL(e,t){e.min=e.min+t,e.max=e.max+t}function iR(e,t,[r,i,n]){let s=void 0!==t[n]?t[n]:.5,o=rP(e.min,e.max,s);iD(e,t[r],t[i],o,t.scale)}let iO=["x","scaleX","originX"],i_=["y","scaleY","originY"];function iB(e,t){iR(e.x,t,iO),iR(e.y,t,i_)}function iI(e,t){return iA(function(e,t){if(!t)return e;let r=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:r.y,left:r.x,bottom:i.y,right:i.x}}(e.getBoundingClientRect(),t))}let iN=({current:e})=>e?e.ownerDocument.defaultView:null,iz=new WeakMap;class iU{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=iS(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&!1===r.isPresent)return;let{dragSnapToOrigin:i}=this.getProps();this.panSession=new ir(e,{onSessionStart:e=>{let{dragSnapToOrigin:r}=this.getProps();r?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(eI(e,"page").point)},onStart:(e,t)=>{let{drag:r,dragPropagation:i,onDragStart:n}=this.getProps();if(r&&!i&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=eK(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),ik(e=>{let t=this.getAxisMotionValue(e).get()||0;if(ei.test(t)){let{projection:r}=this.visualElement;if(r&&r.layout){let i=r.layout.layoutBox[e];if(i){let e=il(i);t=parseFloat(t)/100*e}}}this.originPoint[e]=t}),n&&n(e,t);let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>
9{let{dragPropagation:r,dragDirectionLock:i,onDirectionLock:n,onDrag:s}=this.getProps();if(!r&&!this.openGlobalLock)return;let{offset:o}=t;if(i&&null===this.currentDirection){this.currentDirection=function(e,t=10){let r=null;return Math.abs(e.y)>t?r="y":Math.abs(e.x)>t&&(r="x"),r}(o),null!==this.currentDirection&&n&&n(this.currentDirection);return}this.updateAxis("x",t.point,o),this.updateAxis("y",t.point,o),this.visualElement.render(),s&&s(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>ik(e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())})},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:i,contextWindow:iN(this.visualElement)})}stop(e,t){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:i}=t;this.startAnimation(i);let{onDragEnd:n}=this.getProps();n&&n(e,t)}cancel(){this.isDragging=!1;let{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,r){let{drag:i}=this.getProps();if(!r||!iW(e,i,this.currentDirection))return;let n=this.getAxisMotionValue(e),s=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(s=function(e,{min:t,max:r},i){return void 0!==t&&e<t?e=i?rP(t,e,i.min):Math.max(e,t):void 0!==r&&e>r&&(e=i?rP(r,e,i.max):Math.min(e,r)),e}(s,this.constraints[e],this.elastic[e])),n.set(s)}resolveConstraints(){var e;let{dragConstraints:t,dragElastic:r}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,n=this.constraints;t&&g(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(e,{top:t,left:r,bottom:i,right:n}){return{x:iv(e.x,r,n),y:iv(e.y,t,i)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(e=.35){return!1===e?e=0:!0===e&&(e=.35),{x:iy(e,"left","right"),y:iy(e,"top","bottom")}}(r),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&ik(e=>{this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){let r={};return void 0!==t.min&&(r.min=t.min-e.min),void 0!==t.max&&(r.max=t.max-e.min),r}(i.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){var e;let{dragConstraints:t,onMeasureDragConstraints:r}=this.getProps();if(!t||!g(t))return!1;let i=t.current;(0,tv.k)(null!==i,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=function(e,t,r){let i=iI(e,r),{scroll:n}=t;return n&&(iL(i.x,n.offset.x),iL(i.y,n.offset.y)),i}(i,n.root,this.visualElement.getTransformPagePoint()),o={x:ig((e=n.layout.layoutBox).x,s.x),y:ig(e.y,s.y)};if(r){let e=r(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=iA(e))}return o}startAnimation(e){let{drag:t,dragMomentum:r,dragElastic:i,dragTransition:n,dragSnapToOrigin:s,onDragTransitionEnd:o}=this.getProps(),a=this.constraints||{};return Promise.all(ik(o=>{if(!iW(o,t,this.currentDirection))return;let l=a&&a[o]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:r?e[o]:0,bounceStiffness:i?200:1e6,bounceDamping:i?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...n,...l};return this.startAxisValueAnimation(o,u)})).then(o)}startAxisValueAnimation(e,t){let r=this.getAxisMotionValue(e);return r.start(rK(e,r,0,t,this.visualElement))}stopAnimation(){ik(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){ik(e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()})}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){let t="_drag"+e.toUpperCase(),r=this.visualElement.getProps();return r[t]||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){ik(t=>{let{drag:r}=this.getProps();if(!iW(t,r,this.currentDirection))return;let{projection:i}=this.visualElement,n=this.getAxisMotionValue(t);if(i&&i.layout){let{min:r,max:s}=i.layout.layoutBox[t];n.set(e[t]-rP(r,s,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:t}=this.getProps(),{projection:r}=this.visualElement;if(!g(t)||!r||!this.constraints)return;this.stopAnimation();let i={x:0,y:0};ik(e=>{let t=this.getAxisMotionValue(e);if(t){let r=t.get();i[e]=function(e,t){let r=.5,i=il(e),n=il(t);return n>i?r=rw(t.min,t.max-i,e.min):i>n&&(r=rw(e.min,e.max-n,t.min)),q(0,1,r)}({min:r,max:r},this.constraints[e])}});let{transformTemplate:n}=this.visualElement.getProps();this.visualElement.current.style.transform=n?n({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),ik(t=>{if(!iW(t,e,null))return;let r=this.getAxisMotionValue(t),{min:n,max:s}=this.constraints[t];r.set(rP(n,s,i[t]))})}addListeners(){if(!this.visualElement.current)return;iz.set(this.visualElement,this);let e=ez(this.visualElement.current,"pointerdown",e=>{let{drag:t,dragListener:r=!0}=this.getProps();t&&r&&this.start(e)}),t=()=>{let{dragConstraints:e}=this.getProps();g(e)&&(this.constraints=this.resolveRefConstraints())},{projection:r}=this.visualElement,i=r.addEventListener("measure",t);r&&!r.layout&&(r.root&&r.root.updateScroll(),r.updateLayout()),t();let n=e_(window,"resize",()=>this.scalePositionWithinConstraints()),s=r.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(ik(t=>{let r=this.getAxisMotionValue(t);r&&(this.originPoint[t]+=e[t].translate,r.set(r.get()+e[t].translate))}),this.visualElement.render())});return()=>{n(),e(),i(),s&&s()}}getProps(){let e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:r=!1,dragPropagation:i=!1,dragConstraints:n=!1,dragElastic:s=.35,dragMomentum:o=!0}=e;return{...e,drag:t,dragDirectionLock:r,dragPropagation:i,dragConstraints:n,dragElastic:s,dragMomentum:o}}}function iW(e,t,r){return(!0===t||t===e)&&(null===r||r===e)}class i$ extends eZ{constructor(e){super(e),this.removeGroupControls=e0.Z,this.removeListeners=e0.Z,this.controls=new iU(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||e0.Z}unmount(){this.removeGroupControls(),this.removeListeners()}}let iH=e=>(t,r)=>{e&&e(t,r)};class iq extends eZ{constructor(){super(...arguments),this.removePointerDownListener=e0.Z}onPointerDown(e){this.session=new ir(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:iN(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:t,onPan:r,onPanEnd:i}=this.node.getProps();return{onSessionStart:iH(e),onStart:iH(t),onMove:r,onEnd:(e,t)=>{delete this.session,i&&i(e,t)}}}mount(){this.removePointerDownListener=ez(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let iK={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function iY(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}let iZ={correct:(e,t)=>
9{if(!t.target)return e;if("string"==typeof e){if(!en.test(e))return e;e=parseFloat(e)}let r=iY(e,t.target.x),i=iY(e,t.target.y);return`${r}% ${i}%`}};class iG extends a.Component{componentDidMount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r,layoutId:i}=this.props,{projection:n}=e;Object.assign(F,iJ),n&&(t.group&&t.group.add(n),r&&r.register&&i&&r.register(n),n.root.didUpdate(),n.addEventListener("animationComplete",()=>{this.safeToRemove()}),n.setOptions({...n.options,onExitComplete:()=>this.safeToRemove()})),iK.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:t,visualElement:r,drag:i,isPresent:n}=this.props,s=r.projection;return s&&(s.isPresent=n,i||e.layoutDependency!==t||void 0===t?s.willUpdate():this.safeToRemove(),e.isPresent===n||(n?s.promote():s.relegate()||eL.Wi.postRender(()=>{let e=s.getStack();e&&e.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),m.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:t,switchLayoutGroup:r}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),r&&r.deregister&&r.deregister(i))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}}function iX(e){let[t,r]=function(){let e=(0,a.useContext)(d.O);if(null===e)return[!0,null];let{isPresent:t,onExitComplete:r,register:i}=e,n=(0,a.useId)();return(0,a.useEffect)(()=>i(n),[]),!t&&r?[!1,()=>r&&r(n)]:[!0]}(),i=(0,a.useContext)(V.p);return a.createElement(iG,{...e,layoutGroup:i,switchLayoutGroup:(0,a.useContext)(C),isPresent:t,safeToRemove:r})}let iJ={borderRadius:{...iZ,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:iZ,borderTopRightRadius:iZ,borderBottomLeftRadius:iZ,borderBottomRightRadius:iZ,boxShadow:{correct:(e,{treeScale:t,projectionDelta:r})=>{let i=tX.parse(e);if(i.length>5)return e;let n=tX.createTransformer(e),s="number"!=typeof i[0]?1:0,o=r.x.scale*t.x,a=r.y.scale*t.y;i[0+s]/=o,i[1+s]/=a;let l=rP(o,a,.5);return"number"==typeof i[2+s]&&(i[2+s]/=l),"number"==typeof i[3+s]&&(i[3+s]/=l),n(i)}}},iQ=["TopLeft","TopRight","BottomLeft","BottomRight"],i0=iQ.length,i1=e=>"string"==typeof e?parseFloat(e):e,i5=e=>"number"==typeof e||en.test(e);function i2(e,t){return void 0!==e[t]?e[t]:e.borderRadius}let i3=i8(0,.5,rp),i4=i8(.5,.95,e0.Z);function i8(e,t,r){return i=>i<e?0:i>t?1:r(rw(e,t,i))}function i6(e,t){e.min=t.min,e.max=t.max}function i9(e,t){i6(e.x,t.x),i6(e.y,t.y)}function i7(e,t,r,i,n){return e-=t,e=i+1/r*(e-i),void 0!==n&&(e=i+1/n*(e-i)),e}function ne(e,t,[r,i,n],s,o){!function(e,t=0,r=1,i=.5,n,s=e,o=e){if(ei.test(t)&&(t=parseFloat(t),t=rP(o.min,o.max,t/100)-o.min),"number"!=typeof t)return;let a=rP(s.min,s.max,i);e===s&&(a-=t),e.min=i7(e.min,t,r,a,n),e.max=i7(e.max,t,r,a,n)}(e,t[r],t[i],t[n],t.scale,s,o)}let nt=["x","scaleX","originX"],nr=["y","scaleY","originY"];function ni(e,t,r,i){ne(e.x,t,nt,r?r.x:void 0,i?i.x:void 0),ne(e.y,t,nr,r?r.y:void 0,i?i.y:void 0)}function nn(e){return 0===e.translate&&1===e.scale}function ns(e){return nn(e.x)&&nn(e.y)}function no(e,t){return Math.round(e.x.min)===Math.round(t.x.min)&&Math.round(e.x.max)===Math.round(t.x.max)&&Math.round(e.y.min)===Math.round(t.y.min)&&Math.round(e.y.max)===Math.round(t.y.max)}function na(e){return il(e.x)/il(e.y)}class nl{constructor(){this.members=[]}add(e){rZ(this.members,e),e.scheduleRender()}remove(e){if(rG(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){let t;let r=this.members.findIndex(t=>e===t);if(0===r)return!1;for(let e=r;e>=0;e--){let r=this.members[e];if(!1!==r.isPresent){t=r;break}}return!!t&&(this.promote(t),!0)}promote(e,t){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,t&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:i}=e.options;!1===i&&r.hide()}}
9exitAnimationComplete(){this.members.forEach(e=>{let{options:t,resumingFrom:r}=e;t.onExitComplete&&t.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function nu(e,t,r){let i="",n=e.x.translate/t.x,s=e.y.translate/t.y;if((n||s)&&(i=`translate3d(${n}px, ${s}px, 0) `),(1!==t.x||1!==t.y)&&(i+=`scale(${1/t.x}, ${1/t.y}) `),r){let{rotate:e,rotateX:t,rotateY:n,skewX:s,skewY:o}=r;e&&(i+=`rotate(${e}deg) `),t&&(i+=`rotateX(${t}deg) `),n&&(i+=`rotateY(${n}deg) `),s&&(i+=`skewX(${s}deg) `),o&&(i+=`skewY(${o}deg) `)}let o=e.x.scale*t.x,a=e.y.scale*t.y;return(1!==o||1!==a)&&(i+=`scale(${o}, ${a})`),i||"none"}let nd=(e,t)=>e.depth-t.depth;class nc{constructor(){this.children=[],this.isDirty=!1}add(e){rZ(this.children,e),this.isDirty=!0}remove(e){rG(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(nd),this.isDirty=!1,this.children.forEach(e)}}let nh=["","X","Y","Z"],nf={visibility:"hidden"},np=0,nm={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function nv(e,t,r,i){let{latestValues:n}=t;n[e]&&(r[e]=n[e],t.setStaticValue(e,0),i&&(i[e]=0))}function ng({attachResizeListener:e,defaultParent:t,measureScroll:r,checkIsScrollRoot:i,resetTransform:n}){return class{constructor(e={},r=null==t?void 0:t()){this.id=np++,this.animationId=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.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,nm.totalNodes=nm.resolvedTargetDeltas=nm.recalculatedProjection=0,this.nodes.forEach(nx),this.nodes.forEach(nE),this.nodes.forEach(nV),this.nodes.forEach(nw),window.MotionDebug&&window.MotionDebug.record(nm)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=r?r.root||r:this,this.path=r?[...r.path,r]:[],this.parent=r,this.depth=r?r.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new nc)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new rX),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){let r=this.eventHandlers.get(e);r&&r.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,r=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=t instanceof SVGElement&&"svg"!==t.tagName,this.instance=t;let{layoutId:i,layout:n,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),r&&(n||i)&&(this.isLayoutDirty=!0),e){let r;let i=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,r&&r(),r=function(e,t){let r=tp.now(),i=({timestamp:t})=>{let n=t-r;n>=250&&((0,eL.Pn)(i),e(n-250))};return eL.Wi.read(i,!0),()=>(0,eL.Pn)(i)}(i,0),iK.hasAnimatedSinceResize&&(iK.hasAnimatedSinceResize=!1,this.nodes.forEach(nT))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&s&&(i||n)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:r,layout:i})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let n=this.options.transition||s.getDefaultTransition()||nL,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!no(this.targetLayout,i)||r,u=!t&&r;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);
9let t={...tl(n,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||nT(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}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,(0,eL.Pn)(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(nC),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(this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){let t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}let{layoutId:t,layout:r}=this.options;if(void 0===t&&!r)return;let i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(nS);return}this.isUpdating||this.nodes.forEach(nk),this.isUpdating=!1,window.HandoffCancelAllAnimations&&window.HandoffCancelAllAnimations(),this.nodes.forEach(nA),this.nodes.forEach(ny),this.nodes.forEach(nb),this.clearAllSnapshots();let e=tp.now();eL.frameData.delta=q(0,1e3/60,e-eL.frameData.timestamp),eL.frameData.timestamp=e,eL.frameData.isProcessing=!0,eL.S6.update.process(eL.frameData),eL.S6.preRender.process(eL.frameData),eL.S6.render.process(eL.frameData),eL.frameData.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,m.read(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(nP),this.sharedNodes.forEach(nM)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,eL.Wi.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){eL.Wi.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}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.layoutCorrected=iS(),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);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t&&(this.scroll={animationId:this.root.animationId,phase:e,isRoot:i(this.instance),offset:r(this.instance)})}resetTransform(){if(!n)return;let e=this.isLayoutDirty||this.shouldResetTransform,t=this.projectionDelta&&!ns(this.projectionDelta),r=this.getTransformTemplate(),i=r?r(this.latestValues,""):void 0,s=i!==this.prevTransformTemplateValue;e&&(t||iV(this.latestValues)||s)&&(n(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){var t;let r=this.measurePageBox(),i=this.removeElementScroll(r);return e&&(i=this.removeTransform(i)),n_((t=i).x),n_(t.y),{animationId:this.root.animationId,measuredBox:r,layoutBox:i,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:e}=this.options;if(!e)return iS();let t=e.measureViewportBox(),{scroll:r}=this.root;return r&&(iL(t.x,r.offset.x),iL(t.y,r.offset.y)),t}removeElementScroll(e){let t=iS();i9(t,e);for(let r=0;r<this.path.length;r++){let i=this.path[r],{scroll:n,options:s}=i;
9if(i!==this.root&&n&&s.layoutScroll){if(n.isRoot){i9(t,e);let{scroll:r}=this.root;r&&(iL(t.x,-r.offset.x),iL(t.y,-r.offset.y))}iL(t.x,n.offset.x),iL(t.y,n.offset.y)}}return t}applyTransform(e,t=!1){let r=iS();i9(r,e);for(let e=0;e<this.path.length;e++){let i=this.path[e];!t&&i.options.layoutScroll&&i.scroll&&i!==i.root&&iB(r,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),iV(i.latestValues)&&iB(r,i.latestValues)}return iV(this.latestValues)&&iB(r,this.latestValues),r}removeTransform(e){let t=iS();i9(t,e);for(let e=0;e<this.path.length;e++){let r=this.path[e];if(!r.instance||!iV(r.latestValues))continue;iE(r.latestValues)&&r.updateSnapshot();let i=iS();i9(i,r.measurePageBox()),ni(t,r.latestValues,r.snapshot?r.snapshot.layoutBox:void 0,i)}return iV(this.latestValues)&&ni(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||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!==eL.frameData.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t,r,i,n;let s=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=s.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=s.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=s.isSharedProjectionDirty);let o=!!this.resumingFrom||this!==s;if(!(e||o&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:a,layoutId:l}=this.options;if(this.layout&&(a||l)){if(this.resolvedRelativeTargetAt=eL.frameData.timestamp,!this.targetDelta&&!this.relativeTarget){let e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=iS(),this.relativeTargetOrigin=iS(),im(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),i9(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if((this.target||(this.target=iS(),this.targetWithTransforms=iS()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target)?(this.forceRelativeParentToResolveTarget(),r=this.target,i=this.relativeTarget,n=this.relativeParent.target,ih(r.x,i.x,n.x),ih(r.y,i.y,n.y)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):i9(this.target,this.layout.layoutBox),ij(this.target,this.targetDelta)):i9(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget=iS(),this.relativeTargetOrigin=iS(),im(this.relativeTargetOrigin,this.target,e.target),i9(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}nm.resolvedTargetDeltas++}}}getClosestProjectingParent(){return!this.parent||iE(this.parent.latestValues)||iC(this.parent.latestValues)?void 0:this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;let t=this.getLead(),r=!!this.resumingFrom||this!==t,i=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(i=!1),r&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===eL.frameData.timestamp&&(i=!1),i)return;let{layout:n,layoutId:s}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||s))return;i9(this.layoutCorrected,this.layout.layoutBox);let o=this.treeScale.x,a=this.treeScale.y;!function(e,t,r,i=!1){let n,s;let o=r.length;if(o){t.x=t.y=1;for(let a=0;a<o;a++){s=(n=r[a]).projectionDelta;let o=n.instance;(!o||!o.style||"contents"!==o.style.display)&&(i&&n.options.layoutScroll&&n.scroll&&n!==n.root&&iB(e,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,ij(e,s)),i&&iV(n.latestValues)&&iB(e,n.latestValues))}t.x=iF(t.x),t.y=iF(t.y)}}(this.layoutCorrected,this.treeScale,this.path,r),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=iS());let{target:l}=t;if(!l){this.projectionTransform&&(this.projectionDelta=iw(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=iw(),this.projectionDeltaWithTransform=iw());let u=this.projectionTransform;ic(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.projectionTransform=nu(this.projectionDelta,this.treeScale),(this.projectionTransform!==u||this.treeScale.x!==o||this.treeScale.y!==a)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),nm.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),e){let e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(e,t=!1){let r;let i=this.snapshot,n=i?i.latestValues:{},s={...this.latestValues},o=iw();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;let a=iS(),l=(i?i.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),d=!u||u.members.length<=1,c=!!(l&&!d&&!0===this.options.crossfade&&!this.path.some(n
9F));this.animationProgress=0,this.mixTargetDelta=t=>{let i=t/1e3;if(nD(o.x,e.x,i),nD(o.y,e.y,i),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,h,f,p;im(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,nj(f.x,p.x,a.x,i),nj(f.y,p.y,a.y,i),r&&(u=this.relativeTarget,h=r,u.x.min===h.x.min&&u.x.max===h.x.max&&u.y.min===h.y.min&&u.y.max===h.y.max)&&(this.isProjectionDirty=!1),r||(r=iS()),i9(r,this.relativeTarget)}l&&(this.animationValues=s,function(e,t,r,i,n,s){n?(e.opacity=rP(0,void 0!==r.opacity?r.opacity:1,i3(i)),e.opacityExit=rP(void 0!==t.opacity?t.opacity:1,0,i4(i))):s&&(e.opacity=rP(void 0!==t.opacity?t.opacity:1,void 0!==r.opacity?r.opacity:1,i));for(let n=0;n<i0;n++){let s=`border${iQ[n]}Radius`,o=i2(t,s),a=i2(r,s);(void 0!==o||void 0!==a)&&(o||(o=0),a||(a=0),0===o||0===a||i5(o)===i5(a)?(e[s]=Math.max(rP(i1(o),i1(a),i),0),(ei.test(a)||ei.test(o))&&(e[s]+="%")):e[s]=a)}(t.rotate||r.rotate)&&(e.rotate=rP(t.rotate||0,r.rotate||0,i))}(s,n,this.latestValues,i,c,d)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=i},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&((0,eL.Pn)(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=eL.Wi.update(()=>{iK.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,r){let i=_(0)?0:r1(0);return i.start(rK("",i,1e3,r)),i.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{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(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let e=this.getLead(),{targetWithTransforms:t,target:r,layout:i,latestValues:n}=e;if(t&&r&&i){if(this!==e&&this.layout&&i&&nB(this.options.animationType,this.layout.layoutBox,i.layoutBox)){r=this.target||iS();let t=il(this.layout.layoutBox.x);r.x.min=e.target.x.min,r.x.max=r.x.min+t;let i=il(this.layout.layoutBox.y);r.y.min=e.target.y.min,r.y.max=r.y.min+i}i9(t,r),iB(t,n),ic(this.projectionDeltaWithTransform,this.layoutCorrected,t,n)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new nl),this.sharedNodes.get(e).add(t);let r=t.options.initialPromotionConfig;t.promote({transition:r?r.transition:void 0,preserveFollowOpacity:r&&r.shouldPreserveFollowOpacity?r.shouldPreserveFollowOpacity(t):void 0})}isLead(){let e=this.getStack();return!e||e.lead===this}getLead(){var e;let{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;let{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){let{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:r}={}){let i=this.getStack();i&&i.promote(this,r),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){let e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){let{visualElement:e}=this.options;if(!e)return;let t=!1,{latestValues:r}=e;if((r.rotate||r.rotateX||r.rotateY||r.rotateZ||r.skewX||r.skewY)&&(t=!0),!t)return;let i={};for(let t=0;t<nh.length;t++)nv(`rotate${nh[t]}`,e,i,this.animationValues),nv(`skew${nh[t]}`,e,i,this.animationValues);for(let t in e.render(),i)e.setStaticValue(t,i[t]),this.animationValues&&(this.animationValues[t]=i[t]);e.scheduleRender()}getProjectionStyles(e){var t,r;if(!this.instance||this.isSVG)return;if(!this.isVisible)return nf;let i={visibility:""},n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=ej(null==e?void 0:e.pointerEvents)||"",i.transform=n?n(this.latestValues,""):"none",i;let s=this.getLead();if(!this.projectionDelta||!this.layout||!s.target){let t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=ej(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!iV(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1),t}let o=s.animationValues||s.latestValues;this.applyTransformsToTarget(),i.transform=nu(this.projectionDeltaWithTransform,this.treeScale,o),n&&(i.transform=n(o,i.transform));let{x:a,y:l}=this.projectionDelta;for(let e in i.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,s.animationValues?i.opacity=s===this?null!==(r=null!==(t=o.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==r?r:1:this.preserveOpacity?this.latestValues.opacity:o.opacityExit:i.opacity=s===this?void 0!==o.opacity?o.opacity:"":void 0!==o.opacityExit?o.opacityExit:0,F){if(void 0===o[e])continue;let{correct:t,applyTo:r}=F[e],n="none"===i.transform?o[e]:t(o[e],s);if(r){let e=r.length;for(let t=0;t<e;t++)i[r[t]]=n}else i[e]=n}return this.options.layoutId&&(i.pointerEvents=s===this?ej(null==e?void 0:e.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}
9resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(nS),this.root.sharedNodes.clear()}}}function ny(e){e.updateLayout()}function nb(e){var t;let r=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&r&&e.hasListeners("didUpdate")){let{layoutBox:t,measuredBox:i}=e.layout,{animationType:n}=e.options,s=r.source!==e.layout.source;"size"===n?ik(e=>{let i=s?r.measuredBox[e]:r.layoutBox[e],n=il(i);i.min=t[e].min,i.max=i.min+n}):nB(n,r.layoutBox,t)&&ik(i=>{let n=s?r.measuredBox[i]:r.layoutBox[i],o=il(t[i]);n.max=n.min+o,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+o)});let o=iw();ic(o,t,r.layoutBox);let a=iw();s?ic(a,e.applyTransform(i,!0),r.measuredBox):ic(a,t,r.layoutBox);let l=!ns(o),u=!1;if(!e.resumeFrom){let i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){let{snapshot:n,layout:s}=i;if(n&&s){let o=iS();im(o,r.layoutBox,n.layoutBox);let a=iS();im(a,t,s.layoutBox),no(o,a)||(u=!0),i.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=o,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:r,delta:a,layoutDelta:o,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){let{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function nx(e){nm.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function nw(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function nP(e){e.clearSnapshot()}function nS(e){e.clearMeasurements()}function nk(e){e.isLayoutDirty=!1}function nA(e){let{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function nT(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function nE(e){e.resolveTargetDelta()}function nV(e){e.calcProjection()}function nC(e){e.resetSkewAndRotation()}function nM(e){e.removeLeadSnapshot()}function nD(e,t,r){e.translate=rP(t.translate,0,r),e.scale=rP(t.scale,1,r),e.origin=t.origin,e.originPoint=t.originPoint}function nj(e,t,r,i){e.min=rP(t.min,r.min,i),e.max=rP(t.max,r.max,i)}function nF(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}let nL={duration:.45,ease:[.4,0,.1,1]},nR=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),nO=nR("applewebkit/")&&!nR("chrome/")?Math.round:e0.Z;function n_(e){e.min=nO(e.min),e.max=nO(e.max)}function nB(e,t,r){return"position"===e||"preserve-aspect"===e&&!iu(na(t),na(r),.2)}let nI=ng({attachResizeListener:(e,t)=>e_(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),nN={current:void 0},nz=ng({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!nN.current){let e=new nI({});e.mount(window),e.setOptions({layoutScroll:!0}),nN.current=e}return nN.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position}),nU={current:null},nW={current:!1},n$=new WeakMap,nH=[...tV,tW,tX],nq=e=>nH.find(tE(e)),nK=Object.keys(T),nY=nK.length,nZ=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],nG=w.length;class nX{constructor({parent:e,props:t,presenceContext:r,reducedMotionConfig:i,blockInitialAnimation:n,visualState:s},o={}){this.resolveKeyframes=(e,t,r,i)=>new this.KeyframeResolver(e,t,r,i,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tR,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},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.scheduleRender=()=>eL.Wi.render(this.render,!1,!0);let{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=o,this.blockInitialAnimation=!!n,this.isControllingVariants=P(t),this.isVariantNode=S(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);let{willChange:u,...d}=this.scrapeMotionValuesFromProps(t,{});for(let e in d){let t=d[e];void 0!==a[e]&&_(t)&&(t.set(a[e],!1),rY(u)&&u.add(e))}}scrapeMotionValuesFromProps(e,t){return{}}mount(e){this.current=e,n$.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
9h((e,t)=>this.bindToMotionValue(t,e)),nW.current||function(){if(nW.current=!0,E.j){if(window.matchMedia){let e=window.matchMedia("(prefers-reduced-motion)"),t=()=>nU.current=e.matches;e.addListener(t),t()}else nU.current=!1}}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||nU.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){for(let e in n$.delete(this.current),this.projection&&this.projection.unmount(),(0,eL.Pn)(this.notifyUpdate),(0,eL.Pn)(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this),this.events)this.events[e].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,t){let r=R.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&eL.Wi.preRender(this.notifyUpdate),r&&this.projection&&(this.projection.isTransformDirty=!0)}),n=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{i(),n(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}loadFeatures({children:e,...t},r,i,n){let s,o;for(let e=0;e<nY;e++){let r=nK[e],{isEnabled:i,Feature:n,ProjectionNode:a,MeasureLayout:l}=T[r];a&&(s=a),i(t)&&(!this.features[r]&&n&&(this.features[r]=new n(this)),l&&(o=l))}if(("html"===this.type||"svg"===this.type)&&!this.projection&&s){this.projection=new s(this.latestValues,this.parent&&this.parent.projection);let{layoutId:e,layout:r,drag:i,dragConstraints:o,layoutScroll:a,layoutRoot:l}=t;this.projection.setOptions({layoutId:e,layout:r,alwaysMeasureLayout:!!i||o&&g(o),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:"string"==typeof r?r:"both",initialPromotionConfig:n,layoutScroll:a,layoutRoot:l})}return o}updateFeatures(){for(let e in this.features){let t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):iS()}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<nZ.length;t++){let r=nZ[t];this.propEventSubscriptions[r]&&(this.propEventSubscriptions[r](),delete this.propEventSubscriptions[r]);let i=e["on"+r];i&&(this.propEventSubscriptions[r]=this.on(r,i))}this.prevMotionValues=function(e,t,r){let{willChange:i}=t;for(let n in t){let s=t[n],o=r[n];if(_(s))e.addValue(n,s),rY(i)&&i.add(n);else if(_(o))e.addValue(n,r1(s,{owner:e})),rY(i)&&i.remove(n);else if(o!==s){if(e.hasValue(n)){let t=e.getValue(n);t.hasAnimated||t.set(s)}else{let t=e.getStaticValue(n);e.addValue(n,r1(void 0!==t?t:s,{owner:e}))}}}for(let i in r)void 0===t[i]&&e.removeValue(i);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps),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}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let e=this.parent&&this.parent.getVariantContext()||{};return void 0!==this.props.initial&&(e.initial=this.props.initial),e}let t={};for(let e=0;e<nG;e++){let r=w[e],i=this.props[r];(y(i)||!1===i)&&(t[r]=i)}return t}addVariantChild(e){let t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){t!==this.values.get(e)&&(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 r=this.values.get(e);return void 0===r&&void 0!==t&&(r=r1(null===t?void 0:t,{owner:this}),this.addValue(e,r)),r}readValue(e,t){var r;let i=void 0===this.latestValues[e]&&this.current?null!==(r=this.getBaseTargetFromProps(this.props,e))&&void 0!==r?r:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=i&&("string"==typeof i&&(tg(i)||tm(i))?i=parseFloat(i):!nq(i)&&tX.test(t)&&(i=t3(e,t)),this.setBaseTarget(e,_(i)?i.get():i)),_(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t,r;let{initial:i}=this.props,n="string"==typeof i||"object"==typeof i?null===(r=eE(this.props,i,null===(t=this.presenceContext)||void 0===t?void 0:t.custom))||void 0===r?void 0:r[e]:void 0;if(i&&void 0!==n)return n;let s=this.getBaseTargetFromProps(this.props,e);return void 0===s||_(s)?void 0!==this.initialValues[e]&&void 0===n?void 0:this.baseTarget[e]:s}on(e,t){return this.events[e]||(this.events[e]=new rX),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class nJ extends nX{constructor(){super(...arguments),this.KeyframeResolver=t4}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:r}){delete t[e],delete r[e]}}class nQ extends nJ{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,t){if(R.has(t)){let e=t2(t);return e&&e.default||0}{let r=window.getComputedStyle(e),i=(z(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof i?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:t}){return iI(e,t)}build(e,t,r,i){ed(e,t,r,i.transformTemplate)}scrapeMotionValuesFromProps(e,t){return eA(e,t)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;_(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}
9renderInstance(e,t,r,i){eP(e,t,r,i)}}class n0 extends nJ{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(R.has(t)){let e=t2(t);return e&&e.default||0}return t=eS.has(t)?t:f(t),e.getAttribute(t)}measureInstanceViewportBox(){return iS()}scrapeMotionValuesFromProps(e,t){return eT(e,t)}build(e,t,r,i){eb(e,t,r,this.isSVGTag,i.transformTemplate)}renderInstance(e,t,r,i){ek(e,t,r,i)}mount(e){this.isSVGTag=ew(e.tagName),super.mount(e)}}let n1=(e,t)=>j(e)?new n0(t,{enableHardwareAcceleration:!1}):new nQ(t,{enableHardwareAcceleration:!0}),n5={animation:{Feature:r9},exit:{Feature:ie},inView:{Feature:e9},tap:{Feature:e5},focus:{Feature:eJ},hover:{Feature:eX},pan:{Feature:iq},drag:{Feature:i$,ProjectionNode:nz,MeasureLayout:iX},layout:{ProjectionNode:nz,MeasureLayout:iX}},n2=function(e){function t(t,r={}){return function({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:i,Component:n}){e&&function(e){for(let t in e)T[t]={...T[t],...e[t]}}(e);let s=(0,a.forwardRef)(function(s,o){var f;let v;let b={...(0,a.useContext)(l._),...s,layoutId:function({layoutId:e}){let t=(0,a.useContext)(V.p).id;return t&&void 0!==e?t+"-"+e:e}(s)},{isStatic:x}=b,w=function(e){let{initial:t,animate:r}=function(e,t){if(P(e)){let{initial:t,animate:r}=e;return{initial:!1===t||y(t)?t:void 0,animate:y(r)?r:void 0}}return!1!==e.inherit?t:{}}(e,(0,a.useContext)(u));return(0,a.useMemo)(()=>({initial:t,animate:r}),[k(t),k(r)])}(s),S=i(s,x);if(!x&&E.j){w.visualElement=function(e,t,r,i){let{visualElement:n}=(0,a.useContext)(u),s=(0,a.useContext)(h),o=(0,a.useContext)(d.O),f=(0,a.useContext)(l._).reducedMotion,v=(0,a.useRef)();i=i||s.renderer,!v.current&&i&&(v.current=i(e,{visualState:t,parent:n,props:r,presenceContext:o,blockInitialAnimation:!!o&&!1===o.initial,reducedMotionConfig:f}));let g=v.current;(0,a.useInsertionEffect)(()=>{g&&g.update(r,o)});let y=(0,a.useRef)(!!(r[p]&&!window.HandoffComplete));return(0,c.L)(()=>{g&&(m.postRender(g.render),y.current&&g.animationState&&g.animationState.animateChanges())}),(0,a.useEffect)(()=>{g&&(g.updateFeatures(),!y.current&&g.animationState&&g.animationState.animateChanges(),y.current&&(y.current=!1,window.HandoffComplete=!0))}),g}(n,S,b,t);let r=(0,a.useContext)(C),i=(0,a.useContext)(h).strict;w.visualElement&&(v=w.visualElement.loadFeatures(b,i,e,r))}return a.createElement(u.Provider,{value:w},v&&w.visualElement?a.createElement(v,{visualElement:w.visualElement,...b}):null,r(n,s,(f=w.visualElement,(0,a.useCallback)(e=>{e&&S.mount&&S.mount(e),f&&(e?f.mount(e):f.unmount()),o&&("function"==typeof o?o(e):g(o)&&(o.current=e))},[f])),S,x,w.visualElement))});return s[M]=n,s}(e(t,r))}if("undefined"==typeof Proxy)return t;let r=new Map;return new Proxy(t,{get:(e,i)=>(r.has(i)||r.set(i,t(i)),r.get(i))})}((e,t)=>(function(e,{forwardMotionProps:t=!1},r,i){return{...j(e)?eR:eO,preloadedFeatures:r,useRender:function(e=!1){return(t,r,i,{latestValues:n},s)=>{let o=(j(t)?function(e,t,r,i){let n=(0,a.useMemo)(()=>{let r=ex();return eb(r,t,{enableHardwareAcceleration:!1},ew(i),e.transformTemplate),{...r.attrs,style:{...r.style}}},[t]);if(e.style){let t={};eh(t,e.style,e),n.style={...t,...n.style}}return n}:function(e,t,r){let i={},n=function(e,t,r){let i=e.style||{},n={};return eh(n,i,e),Object.assign(n,function({transformTemplate:e},t,r){return(0,a.useMemo)(()=>{let i=ec();return ed(i,t,{enableHardwareAcceleration:!r},e),Object.assign({},i.vars,i.style)},[t])}(e,t,r)),n}(e,t,r);return e.drag&&!1!==e.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===e.drag?"none":`pan-${"x"===e.drag?"y":"x"}`),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(i.tabIndex=0),i.style=n,i})(r,n,s,t),l=function(e,t,r){let i={};for(let n in e)("values"!==n||"object"!=typeof e.values)&&(em(n)||!0===r&&ep(n)||!t&&!ep(n)||e.draggable&&n.startsWith("onDrag"))&&(i[n]=e[n]);return i}(r,"string"==typeof t,e),u=t!==a.Fragment?{...l,...o,ref:i}:{},{children:d}=r,c=(0,a.useMemo)(()=>_(d)?d.get():d,[d]);return(0,a.createElement)(t,{...u,children:c})}}(t),createVisualElement:i,Component:e}})(e,t,n5,n1))},4118:function(e,t,r){"use strict";r.d(t,{c:function(){return i}});let i={skipAnimations:!1,useManualTiming:!1}},3223:function(e,t,r){"use strict";r.d(t,{K:function(){return n},k:function(){return s}});var i=r(4439);let n=i.Z,s=i.Z},4563:function(e,t,r){"use strict";r.d(t,{j:function(){return i}});let i="undefined"!=typeof document},4439:function(e,t,r){"use strict";r.d(t,{Z:function(){return i}});let i=e=>e},3576:function(e,t,r){"use strict";r.d(t,{h:function(){return n}});var i=r(2265);function n(e){let t=(0,i.useRef)(null);return null===t.current&&(t.current=e()),t.current}},1534:function(e,t,r){"use strict";r.d(t,{L:function(){return n}});var i=r(2265);let n=r(4563).j?i.useLayoutEffect:i.useEffect},9501:function(e,t,r){"use strict";r.d(t,{cI:function(){return em}});var i=r(2265),n=e=>"checkbox"===e.type,s=e=>e instanceof Date,o=e=>null==e;let a=e=>"object"==typeof e;var l=e=>!o(e)&&!Array.isArray(e)&&a(e)&&!s(e),u=e=>l(e)&&e.target?n(e.target)?e.target.checked:e.target.value:e,d=e=>e.substring(0,e.search(/\.\d+(\.|$)/))||e,c=(e,t)=>
9e.has(d(t)),h=e=>{let t=e.constructor&&e.constructor.prototype;return l(t)&&t.hasOwnProperty("isPrototypeOf")},f="undefined"!=typeof window&&void 0!==window.HTMLElement&&"undefined"!=typeof document;function p(e){let t;let r=Array.isArray(e);if(e instanceof Date)t=new Date(e);else if(e instanceof Set)t=new Set(e);else if(!(!(f&&(e instanceof Blob||e instanceof FileList))&&(r||l(e))))return e;else if(t=r?[]:{},r||h(e))for(let r in e)e.hasOwnProperty(r)&&(t[r]=p(e[r]));else t=e;return t}var m=e=>Array.isArray(e)?e.filter(Boolean):[],v=e=>void 0===e,g=(e,t,r)=>{if(!t||!l(e))return r;let i=m(t.split(/[,[\].]+?/)).reduce((e,t)=>o(e)?e:e[t],e);return v(i)||i===e?v(e[t])?r:e[t]:i},y=e=>"boolean"==typeof e,b=e=>/^\w*$/.test(e),x=e=>m(e.replace(/["|']|\]/g,"").split(/\.|\[/)),w=(e,t,r)=>{let i=-1,n=b(t)?[t]:x(t),s=n.length,o=s-1;for(;++i<s;){let t=n[i],s=r;if(i!==o){let r=e[t];s=l(r)||Array.isArray(r)?r:isNaN(+n[i+1])?{}:[]}if("__proto__"===t)return;e[t]=s,e=e[t]}return e};let P={BLUR:"blur",FOCUS_OUT:"focusout"},S={onBlur:"onBlur",onChange:"onChange",onSubmit:"onSubmit",onTouched:"onTouched",all:"all"},k={max:"max",min:"min",maxLength:"maxLength",minLength:"minLength",pattern:"pattern",required:"required",validate:"validate"};i.createContext(null);var A=(e,t,r,i=!0)=>{let n={defaultValues:t._defaultValues};for(let s in e)Object.defineProperty(n,s,{get:()=>(t._proxyFormState[s]!==S.all&&(t._proxyFormState[s]=!i||S.all),r&&(r[s]=!0),e[s])});return n},T=e=>l(e)&&!Object.keys(e).length,E=(e,t,r,i)=>{r(e);let{name:n,...s}=e;return T(s)||Object.keys(s).length>=Object.keys(t).length||Object.keys(s).find(e=>t[e]===(!i||S.all))},V=e=>Array.isArray(e)?e:[e],C=e=>"string"==typeof e,M=(e,t,r,i,n)=>C(e)?(i&&t.watch.add(e),g(r,e,n)):Array.isArray(e)?e.map(e=>(i&&t.watch.add(e),g(r,e))):(i&&(t.watchAll=!0),r),D=(e,t,r,i,n)=>t?{...r[e],types:{...r[e]&&r[e].types?r[e].types:{},[i]:n||!0}}:{},j=e=>({isOnSubmit:!e||e===S.onSubmit,isOnBlur:e===S.onBlur,isOnChange:e===S.onChange,isOnAll:e===S.all,isOnTouch:e===S.onTouched}),F=(e,t,r)=>!r&&(t.watchAll||t.watch.has(e)||[...t.watch].some(t=>e.startsWith(t)&&/^\.\w+/.test(e.slice(t.length))));let L=(e,t,r,i)=>{for(let n of r||Object.keys(e)){let r=g(e,n);if(r){let{_f:e,...s}=r;if(e){if(e.refs&&e.refs[0]&&t(e.refs[0],n)&&!i||e.ref&&t(e.ref,e.name)&&!i)break;L(s,t)}else l(s)&&L(s,t)}}};var R=(e,t,r)=>{let i=m(g(e,r));return w(i,"root",t[r]),w(e,r,i),e},O=e=>"file"===e.type,_=e=>"function"==typeof e,B=e=>{if(!f)return!1;let t=e?e.ownerDocument:0;return e instanceof(t&&t.defaultView?t.defaultView.HTMLElement:HTMLElement)},I=e=>C(e),N=e=>"radio"===e.type,z=e=>e instanceof RegExp;let U={value:!1,isValid:!1},W={value:!0,isValid:!0};var $=e=>{if(Array.isArray(e)){if(e.length>1){let t=e.filter(e=>e&&e.checked&&!e.disabled).map(e=>e.value);return{value:t,isValid:!!t.length}}return e[0].checked&&!e[0].disabled?e[0].attributes&&!v(e[0].attributes.value)?v(e[0].value)||""===e[0].value?W:{value:e[0].value,isValid:!0}:W:U}return U};let H={isValid:!1,value:null};var q=e=>Array.isArray(e)?e.reduce((e,t)=>t&&t.checked&&!t.disabled?{isValid:!0,value:t.value}:e,H):H;function K(e,t,r="validate"){if(I(e)||Array.isArray(e)&&e.every(I)||y(e)&&!e)return{type:r,message:I(e)?e:"",ref:t}}var Y=e=>l(e)&&!z(e)?e:{value:e,message:""},Z=async(e,t,r,i,s)=>{let{ref:a,refs:u,required:d,maxLength:c,minLength:h,min:f,max:p,pattern:m,validate:b,name:x,valueAsNumber:w,mount:P,disabled:S}=e._f,A=g(t,x);if(!P||S)return{};let E=u?u[0]:a,V=e=>{i&&E.reportValidity&&(E.setCustomValidity(y(e)?"":e||""),E.reportValidity())},M={},j=N(a),F=n(a),L=(w||O(a))&&v(a.value)&&v(A)||B(a)&&""===a.value||""===A||Array.isArray(A)&&!A.length,R=D.bind(null,x,r,M),U=(e,t,r,i=k.maxLength,n=k.minLength)=>{let s=e?t:r;M[x]={type:e?i:n,message:s,ref:a,...R(e?i:n,s)}};if(s?!Array.isArray(A)||!A.length:d&&(!(j||F)&&(L||o(A))||y(A)&&!A||F&&!$(u).isValid||j&&!q(u).isValid)){let{value:e,message:t}=I(d)?{value:!!d,message:d}:Y(d);if(e&&(M[x]={type:k.required,message:t,ref:E,...R(k.required,t)},!r))return V(t),M}if(!L&&(!o(f)||!o(p))){let e,t;let i=Y(p),n=Y(f);if(o(A)||isNaN(A)){let r=a.valueAsDate||new Date(A),s=e=>new Date(new Date().toDateString()+" "+e),o="time"==a.type,l="week"==a.type;C(i.value)&&A&&(e=o?s(A)>s(i.value):l?A>i.value:r>new Date(i.value)),C(n.value)&&A&&(t=o?s(A)<s(n.value):l?A<n.value:r<new Date(n.value))}else{let r=a.valueAsNumber||(A?+A:A);o(i.value)||(e=r>i.value),o(n.value)||(t=r<n.value)}if((e||t)&&(U(!!e,i.message,n.message,k.max,k.min),!r))return V(M[x].message),M}if((c||h)&&!L&&(C(A)||s&&Array.isArray(A))){let e=Y(c),t=Y(h),i=!o(e.value)&&A.length>+e.value,n=!o(t.value)&&A.length<+t.value;if((i||n)&&(U(i,e.message,t.message),!r))return V(M[x].message),M}if(m&&!L&&C(A)){let{value:e,message:t}=Y(m);
9if(z(e)&&!A.match(e)&&(M[x]={type:k.pattern,message:t,ref:a,...R(k.pattern,t)},!r))return V(t),M}if(b){if(_(b)){let e=K(await b(A,t),E);if(e&&(M[x]={...e,...R(k.validate,e.message)},!r))return V(e.message),M}else if(l(b)){let e={};for(let i in b){if(!T(e)&&!r)break;let n=K(await b[i](A,t),E,i);n&&(e={...n,...R(i,n.message)},V(n.message),r&&(M[x]=e))}if(!T(e)&&(M[x]={ref:E,...e},!r))return M}}return V(!0),M};function G(e,t){let r=Array.isArray(t)?t:b(t)?[t]:x(t),i=1===r.length?e:function(e,t){let r=t.slice(0,-1).length,i=0;for(;i<r;)e=v(e)?i++:e[t[i++]];return e}(e,r),n=r.length-1,s=r[n];return i&&delete i[s],0!==n&&(l(i)&&T(i)||Array.isArray(i)&&function(e){for(let t in e)if(e.hasOwnProperty(t)&&!v(e[t]))return!1;return!0}(i))&&G(e,r.slice(0,-1)),e}var X=()=>{let e=[];return{get observers(){return e},next:t=>{for(let r of e)r.next&&r.next(t)},subscribe:t=>(e.push(t),{unsubscribe:()=>{e=e.filter(e=>e!==t)}}),unsubscribe:()=>{e=[]}}},J=e=>o(e)||!a(e);function Q(e,t){if(J(e)||J(t))return e===t;if(s(e)&&s(t))return e.getTime()===t.getTime();let r=Object.keys(e),i=Object.keys(t);if(r.length!==i.length)return!1;for(let n of r){let r=e[n];if(!i.includes(n))return!1;if("ref"!==n){let e=t[n];if(s(r)&&s(e)||l(r)&&l(e)||Array.isArray(r)&&Array.isArray(e)?!Q(r,e):r!==e)return!1}}return!0}var ee=e=>"select-multiple"===e.type,et=e=>
9N(e)||n(e),er=e=>B(e)&&e.isConnected,ei=e=>{for(let t in e)if(_(e[t]))return!0;return!1};function en(e,t={}){let r=Array.isArray(e);if(l(e)||r)for(let r in e)Array.isArray(e[r])||l(e[r])&&!ei(e[r])?(t[r]=Array.isArray(e[r])?[]:{},en(e[r],t[r])):o(e[r])||(t[r]=!0);return t}var es=(e,t)=>(function e(t,r,i){let n=Array.isArray(t);if(l(t)||n)for(let n in t)Array.isArray(t[n])||l(t[n])&&!ei(t[n])?v(r)||J(i[n])?i[n]=Array.isArray(t[n])?en(t[n],[]):{...en(t[n])}:e(t[n],o(r)?{}:r[n],i[n]):i[n]=!Q(t[n],r[n]);return i})(e,t,en(t)),eo=(e,{valueAsNumber:t,valueAsDate:r,setValueAs:i})=>v(e)?e:t?""===e?NaN:e?+e:e:r&&C(e)?new Date(e):i?i(e):e;function ea(e){let t=e.ref;return(e.refs?e.refs.every(e=>e.disabled):t.disabled)?void 0:O(t)?t.files:N(t)?q(e.refs).value:ee(t)?[...t.selectedOptions].map(({value:e})=>e):n(t)?$(e.refs).value:eo(v(t.value)?e.ref.value:t.value,e)}var el=(e,t,r,i)=>{let n={};for(let r of e){let e=g(t,r);e&&w(n,r,e._f)}return{criteriaMode:r,names:[...e],fields:n,shouldUseNativeValidation:i}},eu=e=>v(e)?e:z(e)?e.source:l(e)?z(e.value)?e.value.source:e.value:e,ed=e=>e.mount&&(e.required||e.min||e.max||e.maxLength||e.minLength||e.pattern||e.validate);function ec(e,t,r){let i=g(e,r);if(i||b(r))return{error:i,name:r};let n=r.split(".");for(;n.length;){let i=n.join("."),s=g(t,i),o=g(e,i);if(s&&!Array.isArray(s)&&r!==i)break;if(o&&o.type)return{name:i,error:o};n.pop()}return{name:r}}var eh=(e,t,r,i,n)=>!n.isOnAll&&(!r&&n.isOnTouch?!(t||e):(r?i.isOnBlur:n.isOnBlur)?!e:(r?!i.isOnChange:!n.isOnChange)||e),ef=(e,t)=>!m(g(e,t)).length&&G(e,t);let ep={mode:S.onSubmit,reValidateMode:S.onChange,shouldFocusError:!0};function em(e={}){let t=i.useRef(),r=i.useRef(),[a,d]=i.useState({isDirty:!1,isValidating:!1,isLoading:_(e.defaultValues),isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,submitCount:0,dirtyFields:{},touchedFields:{},validatingFields:{},errors:e.errors||{},disabled:e.disabled||!1,defaultValues:_(e.defaultValues)?void 0:e.defaultValues});t.current||(t.current={...function(e={}){let t,r={...ep,...e},i={submitCount:0,isDirty:!1,isLoading:_(r.defaultValues),isValidating:!1,isSubmitted:!1,isSubmitting:!1,isSubmitSuccessful:!1,isValid:!1,touchedFields:{},dirtyFields:{},validatingFields:{},errors:r.errors||{},disabled:r.disabled||!1},a={},d=(l(r.defaultValues)||l(r.values))&&p(r.defaultValues||r.values)||{},h=r.shouldUnregister?{}:p(d),b={action:!1,mount:!1,watch:!1},x={mount:new Set,unMount:new Set,array:new Set,watch:new Set},k=0,A={isDirty:!1,dirtyFields:!1,validatingFields:!1,touchedFields:!1,isValidating:!1,isValid:!1,errors:!1},E={values:X(),array:X(),state:X()},D=j(r.mode),I=j(r.reValidateMode),N=r.criteriaMode===S.all,z=e=>t=>{clearTimeout(k),k=setTimeout(e,t)},U=async e=>{if(A.isValid||e){let e=r.resolver?T((await Y()).errors):await en(a,!0);e!==i.isValid&&E.state.next({isValid:e})}},W=(e,t)=>{(A.isValidating||A.validatingFields)&&((e||Array.from(x.mount)).forEach(e=>{e&&(t?w(i.validatingFields,e,t):G(i.validatingFields,e))}),E.state.next({validatingFields:i.validatingFields,isValidating:!T(i.validatingFields)}))},$=(e,t)=>{w(i.errors,e,t),E.state.next({errors:i.errors})},H=(e,t,r,i)=>{let n=g(a,e);if(n){let s=g(h,e,v(r)?g(d,e):r);v(s)||i&&i.defaultChecked||t?w(h,e,t?s:ea(n._f)):eg(e,s),b.mount&&U()}},q=(e,t,r,n,s)=>{let o=!1,l=!1,u={name:e},c=!!(g(a,e)&&g(a,e)._f.disabled);if(!r||n){A.isDirty&&(l=i.isDirty,i.isDirty=u.isDirty=em(),o=l!==u.isDirty);let r=c||Q(g(d,e),t);l=!!(!c&&g(i.dirtyFields,e)),r||c?G(i.dirtyFields,e):w(i.dirtyFields,e,!0),u.dirtyFields=i.dirtyFields,o=o||A.dirtyFields&&!r!==l}if(r){let t=g(i.touchedFields,e);t||(w(i.touchedFields,e,r),u.touchedFields=i.touchedFields,o=o||A.touchedFields&&t!==r)}return o&&s&&E.state.next(u),o?u:{}},K=(r,n,s,o)=>{let a=g(i.errors,r),l=A.isValid&&y(n)&&i.isValid!==n;if(e.delayError&&s?(t=z(()=>$(r,s)))(e.delayError):(clearTimeout(k),t=null,s?w(i.errors,r,s):G(i.errors,r)),(s?!Q(a,s):a)||!T(o)||l){let e={...o,...l&&y(n)?{isValid:n}:{},errors:i.errors,name:r};i={...i,...e},E.state.next(e)}},Y=async e=>{W(e,!0);let t=await r.resolver(h,r.context,el(e||x.mount,a,r.criteriaMode,r.shouldUseNativeValidation));return W(e),t},ei=async e=>{let{errors:t}=await Y(e);
9if(e)for(let r of e){let e=g(t,r);e?w(i.errors,r,e):G(i.errors,r)}else i.errors=t;return t},en=async(e,t,n={valid:!0})=>{for(let s in e){let o=e[s];if(o){let{_f:e,...a}=o;if(e){let a=x.array.has(e.name);W([s],!0);let l=await Z(o,h,N,r.shouldUseNativeValidation&&!t,a);if(W([s]),l[e.name]&&(n.valid=!1,t))break;t||(g(l,e.name)?a?R(i.errors,l,e.name):w(i.errors,e.name,l[e.name]):G(i.errors,e.name))}a&&await en(a,t,n)}}return n.valid},em=(e,t)=>(e&&t&&w(h,e,t),!Q(eS(),d)),ev=(e,t,r)=>M(e,x,{...b.mount?h:v(t)?d:C(e)?{[e]:t}:t},r,t),eg=(e,t,r={})=>{let i=g(a,e),s=t;if(i){let r=i._f;r&&(r.disabled||w(h,e,eo(t,r)),s=B(r.ref)&&o(t)?"":t,ee(r.ref)?[...r.ref.options].forEach(e=>e.selected=s.includes(e.value)):r.refs?n(r.ref)?r.refs.length>1?r.refs.forEach(e=>(!e.defaultChecked||!e.disabled)&&(e.checked=Array.isArray(s)?!!s.find(t=>t===e.value):s===e.value)):r.refs[0]&&(r.refs[0].checked=!!s):r.refs.forEach(e=>e.checked=e.value===s):O(r.ref)?r.ref.value="":(r.ref.value=s,r.ref.type||E.values.next({name:e,values:{...h}})))}(r.shouldDirty||r.shouldTouch)&&q(e,s,r.shouldTouch,r.shouldDirty,!0),r.shouldValidate&&eP(e)},ey=(e,t,r)=>{for(let i in t){let n=t[i],o=`${e}.${i}`,l=g(a,o);!x.array.has(e)&&J(n)&&(!l||l._f)||s(n)?eg(o,n,r):ey(o,n,r)}},eb=(e,t,r={})=>{let n=g(a,e),s=x.array.has(e),l=p(t);w(h,e,l),s?(E.array.next({name:e,values:{...h}}),(A.isDirty||A.dirtyFields)&&r.shouldDirty&&E.state.next({name:e,dirtyFields:es(d,h),isDirty:em(e,l)})):!n||n._f||o(l)?eg(e,l,r):ey(e,l,r),F(e,x)&&E.state.next({...i}),E.values.next({name:b.mount?e:void 0,values:{...h}})},ex=async e=>{b.mount=!0;let n=e.target,s=n.name,o=!0,l=g(a,s),d=e=>{o=Number.isNaN(e)||e===g(h,s,e)};if(l){let c,f;let p=n.type?ea(l._f):u(e),m=e.type===P.BLUR||e.type===P.FOCUS_OUT,v=!ed(l._f)&&!r.resolver&&!g(i.errors,s)&&!l._f.deps||eh(m,g(i.touchedFields,s),i.isSubmitted,I,D),y=F(s,x,m);w(h,s,p),m?(l._f.onBlur&&l._f.onBlur(e),t&&t(0)):l._f.onChange&&l._f.onChange(e);let b=q(s,p,m,!1),S=!T(b)||y;if(m||E.values.next({name:s,type:e.type,values:{...h}}),v)return A.isValid&&U(),S&&E.state.next({name:s,...y?{}:b});if(!m&&y&&E.state.next({...i}),r.resolver){let{errors:e}=await Y([s]);
9if(d(p),o){let t=ec(i.errors,a,s),r=ec(e,a,t.name||s);c=r.error,s=r.name,f=T(e)}}else W([s],!0),c=(await Z(l,h,N,r.shouldUseNativeValidation))[s],W([s]),d(p),o&&(c?f=!1:A.isValid&&(f=await en(a,!0)));o&&(l._f.deps&&eP(l._f.deps),K(s,f,c,b))}},ew=(e,t)=>{if(g(i.errors,t)&&e.focus)return e.focus(),1},eP=async(e,t={})=>{let n,s;let o=V(e);if(r.resolver){let t=await ei(v(e)?e:o);n=T(t),s=e?!o.some(e=>g(t,e)):n}else e?((s=(await Promise.all(o.map(async e=>{let t=g(a,e);return await en(t&&t._f?{[e]:t}:t)}))).every(Boolean))||i.isValid)&&U():s=n=await en(a);return E.state.next({...!C(e)||A.isValid&&n!==i.isValid?{}:{name:e},...r.resolver||!e?{isValid:n}:{},errors:i.errors}),t.shouldFocus&&!s&&L(a,ew,e?o:x.mount),s},eS=e=>{let t={...b.mount?h:d};return v(e)?t:C(e)?g(t,e):e.map(e=>g(t,e))},ek=(e,t)=>({invalid:!!g((t||i).errors,e),isDirty:!!g((t||i).dirtyFields,e),isTouched:!!g((t||i).touchedFields,e),isValidating:!!g((t||i).validatingFields,e),error:g((t||i).errors,e)}),eA=(e,t,r)=>{let n=(g(a,e,{_f:{}})._f||{}).ref,{ref:s,message:o,type:l,...u}=g(i.errors,e)||{};w(i.errors,e,{...u,...t,ref:n}),E.state.next({name:e,errors:i.errors,isValid:!1}),r&&r.shouldFocus&&n&&n.focus&&n.focus()},eT=(e,t={})=>{for(let n of e?V(e):x.mount)x.mount.delete(n),x.array.delete(n),t.keepValue||(G(a,n),G(h,n)),t.keepError||G(i.errors,n),t.keepDirty||G(i.dirtyFields,n),t.keepTouched||G(i.touchedFields,n),t.keepIsValidating||G(i.validatingFields,n),r.shouldUnregister||t.keepDefaultValue||G(d,n);E.values.next({values:{...h}}),E.state.next({...i,...t.keepDirty?{isDirty:em()}:{}}),t.keepIsValid||U()},eE=({disabled:e,name:t,field:r,fields:i,value:n})=>{if(y(e)&&b.mount||e){let s=e?void 0:v(n)?ea(r?r._f:g(i,t)._f):n;w(h,t,s),q(t,s,!1,!1,!0)}},eV=(e,t={})=>{let i=g(a,e),n=y(t.disabled);return w(a,e,{...i||{},_f:{...i&&i._f?i._f:{ref:{name:e}},name:e,mount:!0,...t}}),x.mount.add(e),i?eE({field:i,disabled:t.disabled,name:e,value:t.value}):H(e,!0,t.value),{...n?{disabled:t.disabled}:{},...r.progressive?{required:!!t.required,min:eu(t.min),max:eu(t.max),minLength:eu(t.minLength),maxLength:eu(t.maxLength),pattern:eu(t.pattern)}:{},name:e,onChange:ex,onBlur:ex,ref:n=>{if(n){eV(e,t),i=g(a,e);let r=v(n.value)&&n.querySelectorAll&&n.querySelectorAll("input,select,textarea")[0]||n,s=et(r),o=i._f.refs||[];(s?o.find(e=>e===r):r===i._f.ref)||(w(a,e,{_f:{...i._f,...s?{refs:[...o.filter(er),r,...Array.isArray(g(d,e))?[{}]:[]],ref:{type:r.type,name:e}}:{ref:r}}}),H(e,!1,void 0,r))}else(i=g(a,e,{}))._f&&(i._f.mount=!1),(r.shouldUnregister||t.shouldUnregister)&&!(c(x.array,e)&&b.action)&&x.unMount.add(e)}}},eC=()=>r.shouldFocusError&&L(a,ew,x.mount),eM=(e,t)=>async n=>{let s;n&&(n.preventDefault&&n.preventDefault(),n.persist&&n.persist());let o=p(h);if(E.state.next({isSubmitting:!0}),r.resolver){let{errors:e,values:t}=await Y();i.errors=e,o=t}else await en(a);if(G(i.errors,"root"),T(i.errors)){E.state.next({errors:{}});try{await e(o,n)}catch(e){s=e}}else t&&await t({...i.errors},n),eC(),setTimeout(eC);if(E.state.next({isSubmitted:!0,isSubmitting:!1,isSubmitSuccessful:T(i.errors)&&!s,submitCount:i.submitCount+1,errors:i.errors}),s)throw s},eD=(t,r={})=>{let n=t?p(t):d,s=p(n),o=T(t),l=o?d:s;if(r.keepDefaultValues||(d=n),!r.keepValues){if(r.keepDirtyValues)for(let e of x.mount)g(i.dirtyFields,e)?w(l,e,g(h,e)):eb(e,g(l,e));else{if(f&&v(t))for(let e of x.mount){let t=g(a,e);if(t&&t._f){let e=Array.isArray(t._f.refs)?t._f.refs[0]:t._f.ref;if(B(e)){let t=e.closest("form");if(t){t.reset();break}}}}a={}}h=e.shouldUnregister?r.keepDefaultValues?p(d):{}:p(l),E.array.next({values:{...l}}),E.values.next({values:{...l}})}x={mount:r.keepDirtyValues?x.mount:new Set,unMount:new Set,array:new Set,watch:new Set,watchAll:!1,focus:""},b.mount=!A.isValid||!!r.keepIsValid||!!r.keepDirtyValues,b.watch=!!e.shouldUnregister,E.state.next({submitCount:r.keepSubmitCount?i.submitCount:0,isDirty:!o&&(r.keepDirty?i.isDirty:!!(r.keepDefaultValues&&!Q(t,d))),isSubmitted:!!r.keepIsSubmitted&&i.isSubmitted,dirtyFields:o?[]:r.keepDirtyValues?r.keepDefaultValues&&h?es(d,h):i.dirtyFields:r.keepDefaultValues&&t?es(d,t):{},touchedFields:r.keepTouched?i.touchedFields:{},errors:r.keepErrors?i.errors:{},isSubmitSuccessful:!!r.keepIsSubmitSuccessful&&i.isSubmitSuccessful,isSubmitting:!1})},ej=(e,t)=>eD(_(e)?e(h):e,t);return{control:{register:eV,unregister:eT,getFieldState:ek,handleSubmit:eM,setError:eA,_executeSchema:Y,_getWatch:ev,_getDirty:em,_updateV
9alid:U,_removeUnmounted:()=>{for(let e of x.unMount){let t=g(a,e);t&&(t._f.refs?t._f.refs.every(e=>!er(e)):!er(t._f.ref))&&eT(e)}x.unMount=new Set},_updateFieldArray:(e,t=[],r,n,s=!0,o=!0)=>{if(n&&r){if(b.action=!0,o&&Array.isArray(g(a,e))){let t=r(g(a,e),n.argA,n.argB);s&&w(a,e,t)}if(o&&Array.isArray(g(i.errors,e))){let t=r(g(i.errors,e),n.argA,n.argB);s&&w(i.errors,e,t),ef(i.errors,e)}if(A.touchedFields&&o&&Array.isArray(g(i.touchedFields,e))){let t=r(g(i.touchedFields,e),n.argA,n.argB);s&&w(i.touchedFields,e,t)}A.dirtyFields&&(i.dirtyFields=es(d,h)),E.state.next({name:e,isDirty:em(e,t),dirtyFields:i.dirtyFields,errors:i.errors,isValid:i.isValid})}else w(h,e,t)},_updateDisabledField:eE,_getFieldArray:t=>m(g(b.mount?h:d,t,e.shouldUnregister?g(d,t,[]):[])),_reset:eD,_resetDefaultValues:()=>_(r.defaultValues)&&r.defaultValues().then(e=>{ej(e,r.resetOptions),E.state.next({isLoading:!1})}),_updateFormState:e=>{i={...i,...e}},_disableForm:e=>{y(e)&&(E.state.next({disabled:e}),L(a,(t,r)=>{let i=g(a,r);i&&(t.disabled=i._f.disabled||e,Array.isArray(i._f.refs)&&i._f.refs.forEach(t=>{t.disabled=i._f.disabled||e}))},0,!1))},_subjects:E,_proxyFormState:A,_setErrors:e=>{i.errors=e,E.state.next({errors:i.errors,isValid:!1})},get _fields(){return a},get _formValues(){return h},get _state(){return b},set _state(value){b=value},get _defaultValues(){return d},get _names(){return x},set _names(value){x=value},get _formState(){return i},set _formState(value){i=value},get _options(){return r},set _options(value){r={...r,...value}}},trigger:eP,register:eV,handleSubmit:eM,watch:(e,t)=>_(e)?E.values.subscribe({next:r=>e(ev(void 0,t),r)}):ev(e,t,!0),setValue:eb,getValues:eS,reset:ej,resetField:(e,t={})=>{g(a,e)&&(v(t.defaultValue)?eb(e,p(g(d,e))):(eb(e,t.defaultValue),w(d,e,p(t.defaultValue))),t.keepTouched||G(i.touchedFields,e),t.keepDirty||(G(i.dirtyFields,e),i.isDirty=t.defaultValue?em(e,p(g(d,e))):em()),!t.keepError&&(G(i.errors,e),A.isValid&&U()),E.state.next({...i}))},clearErrors:e=>{e&&V(e).forEach(e=>G(i.errors,e)),E.state.next({errors:e?i.errors:{}})},unregister:eT,setError:eA,setFocus:(e,t={})=>{let r=g(a,e),i=r&&r._f;if(i){let e=i.refs?i.refs[0]:i.ref;e.focus&&(e.focus(),t.shouldSelect&&e.select())}},getFieldState:ek}}(e),formState:a});let h=t.current.control;return h._options=e,!function(e){let t=i.useRef(e);t.current=e,i.useEffect(()=>{let r=!e.disabled&&t.current.subject&&t.current.subject.subscribe({next:t.current.next});return()=>{r&&r.unsubscribe()}},[e.disabled])}({subject:h._subjects.state,next:e=>{E(e,h._proxyFormState,h._updateFormState,!0)&&d({...h._formState})}}),i.useEffect(()=>h._disableForm(e.disabled),[h,e.disabled]),i.useEffect(()=>{if(h._proxyFormState.isDirty){let e=h._getDirty();e!==a.isDirty&&h._subjects.state.next({isDirty:e})}},[h,a.isDirty]),i.useEffect(()=>{e.values&&!Q(e.values,r.current)?(h._reset(e.values,h._options.resetOptions),r.current=e.values,d(e=>({...e}))):h._resetDefaultValues()},[e.values,h]),i.useEffect(()=>{e.errors&&h._setErrors(e.errors)},[e.errors,h]),i.useEffect(()=>{h._state.mount||(h._updateValid(),h._state.mount=!0),h._state.watch&&(h._state.watch=!1,h._subjects.state.next({...h._formState})),h._removeUnmounted()}),i.useEffect(()=>{e.shouldUnregister&&h._subjects.values.next({values:h._getWatch()})},[e.shouldUnregister,h]),t.current.formState=A(a,h),t.current}},3335:function(e,t,r){"use strict";r.d(t,{m6:function(){return O}});let i=/^\[(.+)\]$/;function n(e,t){let r=e;return t.split("-").forEach(e=>{r.nextPart.has(e)||r.nextPart.set(e,{nextPart:new Map,validators:[]}),r=r.nextPart.get(e)}),r}let s=/\s+/;function o(){let e,t,r=0,i="";for(;r<arguments.length;)(e=arguments[r++])&&(t=function e(t){let r;if("string"==typeof t)return t;let i="";for(let n=0;n<t.length;n++)t[n]&&(r=e(t[n]))&&(i&&(i+=" "),i+=r);return i}(e))&&(i&&(i+=" "),i+=t);return i}function a(e){let t=t=>t[e]||[];return t.isThemeGetter=!0,t}let l=/^\[(?:([a-z-]+):)?(.+)\]$/i,u=/^\d+\/\d+$/,d=new Set(["px","full","screen"]),c=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,h=/\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$/,f=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,p=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,m=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function v(e){return y(e)||d.has(e)||u.test(e)}function g(e){return D(e,"length",j)}function y(e){return!!e&&!Number.isNaN(Number(e))}function b(e){return D(e,"number",y)}function x(e){return!!e&&Number.isInteger(Number(e))}function w(e){return e.endsWith("%")&&y(e.slice(0,-1))}function P(e){return l.test(e)}function S(e){return c.test(e)}let k=new Set(["length","size","percentage"]);function A(e){return D(e,k,F)}function T(e){return D(e,"position",F)}let E=new Set(["image","url"]);function V(e){return D(e,E,R)}function C(e){return D(e,"",L)}function M(){return!0}function D(e,t,r){let i=l.exec(e);return!!i&&(i[1]?"string"==typeof t?i[1]===t:t.has(i[1]):r(i[2]))}function j(e){return h.test(e)&&!f.test(e)}function F(){return!1}function L(e){return p.test(e)}function R(e){return m.test(e)}let O=function(e,...t){let r,a,l;let u=function(s){var o;return a=(r={cache:function(e){if(e<1)return{get:()=>void 0,set:()=>{}};let t=0,r=new Map,i=new Map;function n(n,s){r.set(n,s),++t>e&&(t=0,i=r,r=new Map)}return{get(e){let t=r.get(e);return void 0!==t?t:void 0!==(t=i.get(e))?(n(e,t),t):void 0},set(e,t){r.has(e)?r.set(e,t):n(e,t)}}}((o=t.reduce((e,t)=>
9t(e),e())).cacheSize),splitModifiers:function(e){let t=e.separator,r=1===t.length,i=t[0],n=t.length;return function(e){let s;let o=[],a=0,l=0;for(let u=0;u<e.length;u++){let d=e[u];if(0===a){if(d===i&&(r||e.slice(u,u+n)===t)){o.push(e.slice(l,u)),l=u+n;continue}if("/"===d){s=u;continue}}"["===d?a++:"]"===d&&a--}let u=0===o.length?e:e.substring(l),d=u.startsWith("!"),c=d?u.substring(1):u;return{modifiers:o,hasImportantModifier:d,baseClassName:c,maybePostfixModifierPosition:s&&s>l?s-l:void 0}}}(o),...function(e){let t=function(e){var t;let{theme:r,prefix:i}=e,s={nextPart:new Map,validators:[]};return(t=Object.entries(e.classGroups),i?t.map(([e,t])=>[e,t.map(e=>"string"==typeof e?i+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map(([e,t])=>[i+e,t])):e)]):t).forEach(([e,t])=>{(function e(t,r,i,s){t.forEach(t=>{if("string"==typeof t){(""===t?r:n(r,t)).classGroupId=i;return}if("function"==typeof t){if(t.isThemeGetter){e(t(s),r,i,s);return}r.validators.push({validator:t,classGroupId:i});return}Object.entries(t).forEach(([t,o])=>{e(o,n(r,t),i,s)})})})(t,s,e,r)}),s}(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:s}=e;return{getClassGroupId:function(e){let r=e.split("-");return""===r[0]&&1!==r.length&&r.shift(),function e(t,r){if(0===t.length)return r.classGroupId;let i=t[0],n=r.nextPart.get(i),s=n?e(t.slice(1),n):void 0;if(s)return s;if(0===r.validators.length)return;let o=t.join("-");return r.validators.find(({validator:e})=>e(o))?.classGroupId}(r,t)||function(e){if(i.test(e)){let t=i.exec(e)[1],r=t?.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}(e)},getConflictingClassGroupIds:function(e,t){let i=r[e]||[];return t&&s[e]?[...i,...s[e]]:i}}}(o)}).cache.get,l=r.cache.set,u=d,d(s)};function d(e){let t=a(e);if(t)return t;let i=function(e,t){let{splitModifiers:r,getClassGroupId:i,getConflictingClassGroupIds:n}=t,o=new Set;return e.trim().split(s).map(e=>{let{modifiers:t,hasImportantModifier:n,baseClassName:s,maybePostfixModifierPosition:o}=r(e),a=i(o?s.substring(0,o):s),l=!!o;if(!a){if(!o||!(a=i(s)))return{isTailwindClass:!1,originalClassName:e};l=!1}let u=(function(e){if(e.length<=1)return e;let t=[],r=[];return e.forEach(e=>{"["===e[0]?(t.push(...r.sort(),e),r=[]):r.push(e)}),t.push(...r.sort()),t})(t).join(":");return{isTailwindClass:!0,modifierId:n?u+"!":u,classGroupId:a,originalClassName:e,hasPostfixModifier:l}}).reverse().filter(e=>{if(!e.isTailwindClass)return!0;let{modifierId:t,classGroupId:r,hasPostfixModifier:i}=e,s=t+r;return!o.has(s)&&(o.add(s),n(r,i).forEach(e=>o.add(t+e)),!0)}).reverse().map(e=>e.originalClassName).join(" ")}(e,r);return l(e,i),i}return function(){return u(o.apply(null,arguments))}}(function(){let e=a("colors"),t=a("spacing"),r=a("blur"),i=a("brightness"),n=a("borderColor"),s=a("borderRadius"),o=a("borderSpacing"),l=a("borderWidth"),u=a("contrast"),d=a("grayscale"),c=a("hueRotate"),h=a("invert"),f=a("gap"),p=a("gradientColorStops"),m=a("gradientColorStopPositions"),k=a("inset"),E=a("margin"),D=a("opacity"),j=a("padding"),F=a("saturate"),L=a("scale"),R=a("sepia"),O=a("skew"),_=a("space"),B=a("translate"),I=()=>["auto","contain","none"],N=()=>["auto","hidden","clip","visible","scroll"],z=()=>["auto",P,t],U=()=>[P,t],W=()=>["",v,g],$=()=>["auto",y,P],H=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],q=()=>["solid","dashed","dotted","double","none"],K=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],Y=()=>["start","end","center","between","around","evenly","stretch"],Z=()=>["","0",P],G=()=>["auto","avoid","all","avoid-page","page","left","right","column"],X=()=>[y,b],J=()=>[y,P];return{cacheSize:500,separator:":",theme:{colors:[M],spacing:[v,g],blur:["none","",S,P],brightness:X(),borderColor:[e],borderRadius:["none","","full",S,P],borderSpacing:U(),borderWidth:W(),contrast:X(),grayscale:Z(),hueRotate:J(),invert:Z(),gap:U(),gradientColorStops:[e],gradientColorStopPositions:[w,g],inset:z(),margin:z(),opacity:X(),padding:U(),saturate:X(),scale:X(),sepia:Z(),skew:J(),space:U(),translate:U()},classGroups:{aspect:[{aspect:["auto","square","video",P]}
vendor: 9,442 bytes, line 9
9],container:["container"],columns:[{columns:[S]}],"break-after":[{"break-after":G()}],"break-before":[{"break-before":G()}],"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"],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:[...H(),P]}],overflow:[{overflow:N()}],"overflow-x":[{"overflow-x":N()}],"overflow-y":[{"overflow-y":N()}],overscroll:[{overscroll:I()}],"overscroll-x":[{"overscroll-x":I()}],"overscroll-y":[{"overscroll-y":I()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[k]}],"inset-x":[{"inset-x":[k]}],"inset-y":[{"inset-y":[k]}],start:[{start:[k]}],end:[{end:[k]}],top:[{top:[k]}],right:[{right:[k]}],bottom:[{bottom:[k]}],left:[{left:[k]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",x,P]}],basis:[{basis:z()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",P]}],grow:[{grow:Z()}],shrink:[{shrink:Z()}],order:[{order:["first","last","none",x,P]}],"grid-cols":[{"grid-cols":[M]}],"col-start-end":[{col:["auto",{span:["full",x,P]},P]}],"col-start":[{"col-start":$()}],"col-end":[{"col-end":$()}],"grid-rows":[{"grid-rows":[M]}],"row-start-end":[{row:["auto",{span:[x,P]},P]}],"row-start":[{"row-start":$()}],"row-end":[{"row-end":$()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",P]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",P]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal",...Y()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Y(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Y(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[j]}],px:[{px:[j]}],py:[{py:[j]}],ps:[{ps:[j]}],pe:[{pe:[j]}],pt:[{pt:[j]}],pr:[{pr:[j]}],pb:[{pb:[j]}],pl:[{pl:[j]}],m:[{m:[E]}],mx:[{mx:[E]}],my:[{my:[E]}],ms:[{ms:[E]}],me:[{me:[E]}],mt:[{mt:[E]}],mr:[{mr:[E]}],mb:[{mb:[E]}],ml:[{ml:[E]}],"space-x":[{"space-x":[_]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[_]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",P,t]}],"min-w":[{"min-w":[P,t,"min","max","fit"]}],"max-w":[{"max-w":[P,t,"none","full","min","max","fit","prose",{screen:[S]},S]}],h:[{h:[P,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[P,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[P,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[P,t,"auto","min","max","fit"]}],"font-size":[{text:["base",S,g]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",b]}],"font-family":[{font:[M]}],"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-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",P]}],"line-clamp":[{"line-clamp":["none",y,b]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",v,P]}],"list-image":[{"list-image":["none",P]}],"list-style-type":[{list:["none","disc","decimal",P]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[D]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[D]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...q(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",v,g]}],"underline-offset":[{"underline-offset":["auto",v,P]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:U()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",P]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",P]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[D]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...H(),T]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",A]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},V]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[m]}],"gradient-via-pos":[{via:[m]}],"gradient-to-pos":[{to:[m]}],"gradient-from":[{from:[p]}],"gradient-via":[{via:[p]}],"gradient-to":[{to:[p]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[D]}],"border-style":[{border:[...q(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[D]}],"divide-style":[{divide:q()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:["",...q()]}],"outline-offset":[{"outline-offset":[v,P]}],"outline-w":[{outline:[v,g]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[D]}],"ring-offset-w":[{"ring-offset":[v,g]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",S,C]}],"shadow-color":[{shadow:[M]}],opacity:[{opacity:[D]}],"mix-blend":[{"mix-blend":K()}],"bg-blend":[{"bg-blend":K()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[i]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",S,P]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[c]}],invert:[{invert:[h]}],saturate:[{saturate:[F]}],sepia:[{sepia:[R]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[i]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[c]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[D]}],"backdrop-saturate":[{"backdrop-saturate":[F]}],"backdrop-sepia":[{"backdrop-sepia":[R]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[o]}],"border-spacing-x":[{"border-spacing-x":[o]}],"border-spacing-y":[{"border-spacing-y":[o]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",P]}],duration:[{duration:J()}],ease:[{ease:["linear","in","out","in-out",P]}],delay:[{delay:J()}],animate:[{animate:["none","spin","ping","pulse","bounce",P]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[L]}],"scale-x":[{"scale-x":[L]}],"scale-y":[{"scale-y":[L]}],rotate:[{rotate:[x,P]}],"translate-x":[{"translate-x":[B]}],"translate-y":[{"translate-y":[B]}],"skew-x":[{"skew-x":[O]}
vendor: 4,166 bytes, line 9
9],"skew-y":[{"skew-y":[O]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",P]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",P]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":U()}],"scroll-mx":[{"scroll-mx":U()}],"scroll-my":[{"scroll-my":U()}],"scroll-ms":[{"scroll-ms":U()}],"scroll-me":[{"scroll-me":U()}],"scroll-mt":[{"scroll-mt":U()}],"scroll-mr":[{"scroll-mr":U()}],"scroll-mb":[{"scroll-mb":U()}],"scroll-ml":[{"scroll-ml":U()}],"scroll-p":[{"scroll-p":U()}],"scroll-px":[{"scroll-px":U()}],"scroll-py":[{"scroll-py":U()}],"scroll-ps":[{"scroll-ps":U()}],"scroll-pe":[{"scroll-pe":U()}],"scroll-pt":[{"scroll-pt":U()}],"scroll-pr":[{"scroll-pr":U()}],"scroll-pb":[{"scroll-pb":U()}],"scroll-pl":[{"scroll-pl":U()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",P]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[v,g,b]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","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","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","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-s","border-w-e","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-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"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","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-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"]}}})}}]);

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.