PageSourceSearch

https://www.tonmya.com/commons-c94af6430b6a548acb39.js

js tonmya.com collected 2026-10-09 22:36:40 UTC 257,956 bytes, 3 lines download raw bytes

1/*! For license information please see commons-c94af6430b6a548acb39.js.LICENSE.txt */
2(self.webpackChunktonix_tonmya_dtc_website=self.webpackChunktonix_tonmya_dtc_website||[]).push([[223],{947:function(e,t,n){(()=>{"use strict";var t={d:(e,n)=>{for(var i in n)t.o(n,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},i={};t.r(i),t.d(i,{default:()=>s});const r=n(6540);function o(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}const s=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1024;if("undefined"==typeof window||"undefined"==typeof document)return!1;var t,n=window.innerWidth-document.body.clientWidth,i=function(e){if(Array.isArray(e))return e}(t=(0,r.useState)(window.innerWidth+n<e))||function(e){var t=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=t){var n,i,r,o,s=[],a=!0,l=!1;try{for(r=(t=t.call(e)).next,!2;!(a=(n=r.call(t)).done)&&(s.push(n.value),2!==s.length);a=!0);}catch(e){l=!0,i=e}finally{try{if(!a&&null!=t.return&&(o=t.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}(t)||function(e){if(e){if("string"==typeof e)return o(e,2);var t=Object.prototype.toString.call(e).slice(8,-1);return"Object"===t&&e.constructor&&(t=e.constructor.name),"Map"===t||"Set"===t?Array.from(e):"Arguments"===t||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?o(e,2):void 0}}(t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),s=i[0],a=i[1];return(0,r.useEffect)(function(){var t=function(){var t=window.innerWidth-document.body.clientWidth;a(window.innerWidth+t<e)};return window.addEventListener("resize",t),function(){window.removeEventListener("resize",t)}},[]),s};e.exports=i})()},1533:function(e,t,n){"use strict";n.d(t,{l:function(){return i}});const i=e=>e},2211:function(e,t,n){"use strict";n.d(t,{TW:function(){return r},X7:function(){return a},bq:function(){return s},zm:function(){return o}});var i=n(9851);function r(e){var t;return i._.isServer?null:null==e?document:null!=(t=null==e?void 0:e.ownerDocument)?t:document}function o(e){var t,n;return i._.isServer?null:null==e?document:null!=(n=null==(t=null==e?void 0:e.getRootNode)?void 0:t.call(e))?n:document}function s(e){var t,n;return null!=(n=null==(t=o(e))?void 0:t.activeElement)?n:null}function a(e){return s(e)===e}},2306:function(e,t,n){"use strict";var i=n(6540),r=n(580);t.A=()=>{const e=(0,i.useContext)(r.A);if(void 0===e)throw new Error("useAppContext must be used within AppContext");return e}},2599:function(e,t,n){"use strict";n.d(t,{e:function(){return r}});var i=n(2924);function r(){let e=[],t={addEventListener(e,n,i,r){return e.addEventListener(n,i,r),t.add(()=>e.removeEventListener(n,i,r))},requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add(()=>cancelAnimationFrame(n))},nextFrame(...e){return t.requestAnimationFrame(()=>t.requestAnimationFrame(...e))},setTimeout(...e){let n=setTimeout(...e);return t.add(()=>clearTimeout(n))},microTask(...e){let n={current:!0};return(0,i._)(()=>{n.current&&e[0]()}),t.add(()=>{n.current=!1})},style(e,t,n){let i=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add(()=>{Object.assign(e.style,{[t]:i})})},group(e){let t=r();return e(t),this.add(()=>t.dispose())},add(t){return e.includes(t)||e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}},dispose(){for(let t of e.splice(0))t()}};return t}},2888:function(e,t,n){"use strict";n.d(t,{B:function(){return c},p:function(){return d}});var i=n(6540),r=n(2599),o=n(6992);var s,a,l=n(6339);"undefined"!=typeof process&&"undefined"!=typeof globalThis&&"undefined"!=typeof Element&&"test"===(null==(s=null==process?void 0:{})?void 0:s.NODE_ENV)&&void 0===(null==(a=null==Element?void 0:Element.prototype)?void 0:a.getAnimations)&&(Element.prototype.getAnimations=function(){return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.","Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.","","Example usage:","```js","import { mockAnimationsApi } from 'jsdom-testing-mocks'","mockAnimationsApi()","```"].join("\n")),[]});var u=(e=>(e[e.None=0]="None",e[e.Closed=1]="Closed",e[e.Enter=2]="Enter",e[e.Leave=4]="Leave",e))(u||{});function c(e){let t={};for(let n in e)!0===e[n]&&(t[`data-${n}`]="");return t}function d(e,t,n,s){let[a,u]=(0,i.useState)(n),{hasFlag:c,addFlag:d,removeFlag:M}=function(e=0){let[t,n]=(0,i.useState)(e),r=(0,i.useCallback)(e=>n(e),[]),o=(0,i.useCallback)(e=>n(t=>t|e),[]),s=(0,i.useCallback)(e=>(t&e)===e,[t]),a=(0,i.useCallback)(e=>n(t=>t&~e),[]),l=(0,i.useCallback)(e=>n(t=>t^e),[]);return{flags:t,setFlag:r,addFlag:o,hasFlag:s,removeFlag:a,toggleFlag:l}}(e&&a?3:0),m=(0,i.useRef)(!1),h=(0,i.useRef)(!1),g=(0,o.L)();return(0,l.s)(()=>{var i;if(e)return n&&u(!0),t?(null==(i=null==s?void 0:s.start)||i.call(s,n),function(e,{prepare:t,run:n,done:i,inFlight:o}){let s=(0,r.e)();return function(e,{inFlight:t,prepare:n}){if(null!=t&&t.current)return void n();let i=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=i}(e,{prepare:t,inFlight:o}),s.nextFrame(()=>{n(),s.requestAnimationFrame(()=>{s.add(function(e,t){var n,i;let o=(0,r.e)();if(!e)return o.dispose;let s=!1;o.add(()=>{s=!0});let a=null!=(i=null==(n=e.getAnimations)?void 0:n.call(e).filter(e=>e instanceof CSSTransition))?i:[];return 0===a.length?(t(),o.dispose):(Promise.allSettled(a.map(e=>e.finished)).then(()=>{s||t()}),o.dispose)}(e,i))})}),s.dispose}(t,{inFlight:m,prepare(){h.current?h.current=!1:h.current=m.current,m.current=!0,!h.current&&(n?(d(3),M(4)):(d(4),M(2)))},run(){h.current?n?(M(3),d(4)):(M(4),d(3)):n?M(1):d(1)},done(){var e;h.current&&function(e){var t,n;return(null!=(n=null==(t=e.getAnimations)?void 0:t.call(e))?n:[]).some(e=>e instanceof CSSTransition&&"finished"!==e.playState)}(t)||(m.current=!1,M(7),n||u(!1),null==(e=null==s?void 0:s.end)||e.call(s,n))}})):void(n&&d(3))},[e,n,t,g]),e?[a,{closed:c(1),enter:c(2),leave:c(4),transition:c(2)||c(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}},2924:function(e,t,n){"use strict";function i(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch(e=>setTimeout(()=>{throw e}))}n.d(t,{_:function(){return i}})},3149:function(e,t,n){"use strict";n.d(t,{$x:function(){return l},El:function(){return a},O_:function(){return s},Uw:function(){return o}});var i=n(6540);let r=(0,i.createContext)(null);r.displayName="OpenClosedContext";var o=(e=>(e[e.Open=1]="Open",e[e.Closed=2]="Closed",e[e.Closing=4]="Closing",e[e.Opening=8]="Opening",e))(o||{});function s(){return(0,i.useContext)(r)}function a({value:e,children:t}){return i.createElement(r.Provider,{value:e},t)}function l({children:e}){return i.createElement(r.Provider,{value:null},e)}},3474:function(e,t,n){"use strict";n.d(t,{A:function(){return Zn}});var i=n(6540),r=n.t(i,2),o=n(9123),s=n(6462),a=n(2306),l=n(6004),u=n(4794),c=n(9953),d=n(9202);function M(...e){return(...t)=>{for(let n of e)"function"==typeof n&&n(...t)}}function m(e,t){if(!e)return!1;let n=window.getComputedStyle(e),i=/(auto|scroll)/.test(n.overflow+n.overflowX+n.overflowY);return i&&t&&(i=e.scrollHeight!==e.clientHeight||e.scrollWidth!==e.clientWidth),i}function h(e,t){let n=e;for(m(n,t)&&(n=n.parentElement);n&&!m(n,t);)n=n.parentElement;return n||document.scrollingElement||document.documentElement}const g=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);function p(e){return e instanceof HTMLInputElement&&!g.has(e.type)||e instanceof HTMLTextAreaElement||e instanceof HTMLElement&&e.isContentEditable}
2const f="undefined"!=typeof document&&window.visualViewport;let y,N=0;function D(e={}){let{isDisabled:t}=e;(0,c.N)(()=>{if(!t)return N++,1===N&&(y=(0,d.un)()?function(){let e,t=!1,n=n=>{let i=n.target;e=m(i)?i:h(i,!0),t=!1;let r=i.ownerDocument.defaultView.getSelection();r&&!r.isCollapsed&&r.containsNode(i,!0)&&(t=!0),n.composedPath().some(e=>e instanceof HTMLInputElement&&"range"===e.type)&&(t=!0),"selectionStart"in i&&"selectionEnd"in i&&i.selectionStart<i.selectionEnd&&i.ownerDocument.activeElement===i&&(t=!0)},i=document.createElement("style");i.textContent="\n@layer {\n  * {\n    overscroll-behavior: contain;\n  }\n}".trim(),document.head.prepend(i);let r=n=>{2===n.touches.length||t||(e&&e!==document.documentElement&&e!==document.body?e.scrollHeight===e.clientHeight&&e.scrollWidth===e.clientWidth&&n.preventDefault():n.preventDefault())},o=e=>{let t=e.target,n=e.relatedTarget;if(n&&p(n))n.focus({preventScroll:!0}),v(n,p(t));else if(!n){var i;let e=null===(i=t.parentElement)||void 0===i?void 0:i.closest("[tabindex]");null==e||e.focus({preventScroll:!0})}},s=HTMLElement.prototype.focus;HTMLElement.prototype.focus=function(e){let t=null!=document.activeElement&&p(document.activeElement);
2s.call(this,{...e,preventScroll:!0}),e&&e.preventScroll||v(this,t)};let a=M(I(document,"touchstart",n,{passive:!1,capture:!0}),I(document,"touchmove",r,{passive:!1,capture:!0}),I(document,"blur",o,!0));return()=>{a(),i.remove(),HTMLElement.prototype.focus=s}}():function(){let e=window.innerWidth-document.documentElement.clientWidth;return M(e>0&&("scrollbarGutter"in document.documentElement.style?j(document.documentElement,"scrollbarGutter","stable"):j(document.documentElement,"paddingRight",`${e}px`)),j(document.documentElement,"overflow","hidden"))}()),()=>{N--,0===N&&y()}},[t])}function j(e,t,n){let i=e.style[t];return e.style[t]=n,()=>{e.style[t]=i}}function I(e,t,n,i){return e.addEventListener(t,n,i),()=>{e.removeEventListener(t,n,i)}}function v(e,t){t||!f?T(e):f.addEventListener("resize",()=>T(e),{once:!0})}function T(e){let t=document.scrollingElement||document.documentElement,n=e;for(;n&&n!==t;){let e=h(n);if(e!==document.documentElement&&e!==document.body&&e!==n){let t=e.getBoundingClientRect(),i=n.getBoundingClientRect();if(i.top<t.top||i.bottom>t.top+n.clientHeight){let n=t.bottom;f&&(n=Math.min(n,f.offsetTop+f.height));let r=i.top-t.top-((n-t.top)/2-i.height/2);e.scrollTo({top:Math.max(0,Math.min(e.scrollHeight-e.clientHeight,e.scrollTop+r)),behavior:"smooth"})}}n=e.parentElement}}var x=n(6608),z=n.n(x),E=n(5464),A=n(5630),w=n(4536);const O=()=>{const e="link-underlined flex text-white text-12 font-bold text-left lg:text-16";return i.createElement("ul",{"data-component":"top-nav","data-gtm-label":"Top Nav",className:"flex gap-5 pl-4 pr-6 mb-3 md:pr-4 lg:mb-0"},i.createElement("li",null,i.createElement("button",{onClick:()=>{(0,w.YJ)("#isi"),window.history.pushState?window.history.pushState(null,null,"#isi"):window.location.hash="#isi"},className:e},"Important Safety Information")),i.createElement("li",null,i.createElement(E.A,{url:"https://www.tonixpharma.com/wp-content/uploads/2025/08/Tonmya-Prescribing-Information.pdf",className:e,"data-kfs":"file-download","data-gtm-label":"prescribing-information.pdf"},"Prescribing Information")),i.createElement("li",null,i.createElement(E.A,{url:"https://www.tonixpharma.com/wp-content/uploads/2025/10/Tonmya-Patient-Information.pdf#page=20",className:e,"data-kfs":"file-download","data-gtm-label":"patient-information.pdf"},"Patient Information")),i.createElement("li",null,i.createElement("a",{href:"https://www.tonmyahcp.com/",target:"_blank",rel:"noopener noreferrer",className:e},i.createElement("span",{className:"hidden lg:inline"},"For Healthcare Professionals")," ",i.createElement("span",{className:"inline lg:hidden"},"For HCPs"))))};var L=()=>i.createElement("nav",{className:"bg-blue text-white font-medium text-14 min-h-[26px] lg:min-h-8 flex flex-col items-center lg:flex-row lg:justify-between lg:px-10 lg:min-h-[68px]","data-kfs":"top-nav"},i.createElement("p",{className:"text-center lg:text-left font-semibold text-12 mt-2 mb-3 lg:mt-0 lg:text-16 lg:mb-0"},"This site is intended for U.S. residents only."),i.createElement(O,null),i.createElement("div",{className:"flex gap-4 w-full justify-center mb-2 md:gap-20 lg:gap-0 lg:w-fit lg:mb-0"},i.createElement(u.Link,{to:"/sign-up",className:"cta-button-gradient w-[166px] h-[44px] uppercase flex justify-cente lg:w-[153px]","data-kfs":"cta","data-kfs-anchor":"anchor-link"},"Sign up"),i.createElement(u.Link,{to:"/savings",className:"cta-button-border-gradient bg-lavender-blue text-16 flex items-center justify-center font-bold w-[166px] h-[44px] lg:hidden","data-kfs":"cta","data-kfs-anchor":"anchor-link"},"Savings Card"))),b="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01LjQwNTk0IDguMjEyMTdMMC4yNDYyODkgMi4xNzc3Qy0wLjA4MjA5NzEgMS43OTM4MyAtMC4wODIwOTcxIDEuMTcxNDYgMC4yNDYyODkgMC43ODc3ODJDMC41NzQzODMgMC40MDQwNzMgMS4xMDY1MiAwLjQwNDA3MyAxLjQzNDU5IDAuNzg3NzgyTDYuMDAwMDkgNi4xMjczM0wxMC41NjU0IDAuNzg3OTM3QzEwLjg5MzcgMC40MDQyMjggMTEuNDI1NyAwLjQwNDIyOCAxMS43NTM4IDAuNzg3OTM3QzEyLjA4MjEgMS4xNzE2NSAxMi4wODIxIDEuNzkzOTkgMTEuNzUzOCAyLjE3Nzg1TDYuNTk0MTEgOC4yMTIzM0M2LjQyOTk4IDguNDA0MTggNi4yMTUxIDguNSA2LjAwMDEyIDguNUM1Ljc4NTAzIDguNSA1LjU2OTk5IDguNDAzOTkgNS40MDU5NCA4LjIxMjE3WiIgZmlsbD0iIzJDMDA3OCIvPgo8L3N2Zz4K";var S=e=>{let{subNavLinks:t,buttonTitle:n,buttonUrl:r,setMobileNavOpen:o,mobileNavOpen:s,location:a,isMobile:l=!1,dataKfs:c,isLastNavItem:d=!1}=e;const{0:M,1:m}=(0,i.useState)(!1),h=(0,i.useRef)(),g=(0,i.useRef)(0),p=(0,i.useRef)(!1),f=e=>{e.preventDefault(),m(!M)},y=()=>{h&&null!=h&&h.current&&(clearTimeout(h.current),h.current=null)},N=e=>{e.preventDefault(),y(),m(!0)},D=e=>{if(e.preventDefault(),l)return!1;h.current=setTimeout(()=>{m(!1)},100)};return(0,i.useEffect)(()=>
2{if(w.Hk){const e=(0,w.Vf)("expandMobile"),t=(0,w.Vf)("isDesktopNavOpen");if(e&&(o(!0),m(!0)),t&&w.Bd){m(!0);const e=document.querySelector("a[href='/resources#faqs']");e&&e.classList.add("!text-white","!bg-blue"),setTimeout(()=>{document.querySelectorAll('button[data-kfs="desktop-nav"]').forEach(e=>{e.classList.add("!text-purple","!font-semibold");const t=e.closest("li");if(t){const e=t.querySelector("div:last-child")||document.createElement("div");e.className="lg:relative lg:after:absolute lg:after:w-full lg:after:h-[0.125rem] lg:after:left-0 lg:after:-top-1 lg:after:rounded-[4.28444rem] lg:after:bg-purple",t.querySelector("div:last-child")||t.appendChild(e)}})},100)}}},[o]),(0,i.useEffect)(()=>{l||w.Hk||m(!1)},[l]),(0,i.useEffect)(()=>{s||w.Hk||m(!1)},[s]),(0,i.useEffect)(()=>{if(!w.Bd)return;const e=()=>{p.current||(p.current=!0,requestAnimationFrame(()=>{const e=window.scrollY||window.pageYOffset;Math.abs(e-g.current)>10&&M&&m(!1),g.current=e,p.current=!1}))};return g.current=window.scrollY||window.pageYOffset,window.addEventListener("scroll",e,{passive:!0}),()=>{window.removeEventListener("scroll",e)}},[M]),l?i.createElement("div",{className:"relative mx-auto"},i.createElement("div",{className:"w-full"},i.createElement("span",{className:"flex px-5 py-3 justify-between w-full text-blue font-semibold "+(M?"bg-blue text-white":"")},i.createElement(u.Link,{onClick:()=>setTimeout(o(!1),400),to:r,className:"text-16"},n),i.createElement("button",{"data-kfs":"mobile-nav",onClick:f,onFocus:y,onBlur:D,"aria-expanded":M,"aria-haspopup":"menu",className:"w-[20%]","aria-label":"Expand subnav"},i.createElement("img",{className:"ml-auto transition transform "+(M&&"rotate-180"),src:M?"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTIiIGhlaWdodD0iOSIgdmlld0JveD0iMCAwIDEyIDkiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik01LjQwNTk0IDguMjEyMTdMMC4yNDYyODkgMi4xNzc3Qy0wLjA4MjA5NzEgMS43OTM4MyAtMC4wODIwOTcxIDEuMTcxNDYgMC4yNDYyODkgMC43ODc3ODJDMC41NzQzODMgMC40MDQwNzMgMS4xMDY1MiAwLjQwNDA3MyAxLjQzNDU5IDAuNzg3NzgyTDYuMDAwMDkgNi4xMjczM0wxMC41NjU0IDAuNzg3OTM3QzEwLjg5MzcgMC40MDQyMjggMTEuNDI1NyAwLjQwNDIyOCAxMS43NTM4IDAuNzg3OTM3QzEyLjA4MjEgMS4xNzE2NSAxMi4wODIxIDEuNzkzOTkgMTEuNzUzOCAyLjE3Nzg1TDYuNTk0MTEgOC4yMTIzM0M2LjQyOTk4IDguNDA0MTggNi4yMTUxIDguNSA2LjAwMDEyIDguNUM1Ljc4NTAzIDguNSA1LjU2OTk5IDguNDAzOTkgNS40MDU5NCA4LjIxMjE3WiIgZmlsbD0iI2ZmZiIvPgo8L3N2Zz4K":b,alt:""}
2)))),i.createElement("ul",{className:"mobile-subnav transition-all ease-in-out duration-1000 pl-3 "+(M?"h-auto opacity-100 overflow-y-auto":"h-0 opacity-0 overflow-hidden")+" bg-page-background-alt-hcp relative "+(d?"rounded-b-24":"")},t.map((e,t)=>i.createElement("li",{key:"subnav-m-"+t,className:"px-5 before:content-[''] before:absolute before:left-0 before:w-full before:h-px before:bg-periwinkle"},i.createElement(u.Link,{onClick:()=>setTimeout(o(!1),400),className:"inline-block py-3 text-blue text-16 font-semibold w-full transition-all "+((null==a?void 0:a.pathname)+(null==a?void 0:a.hash)===e.url?"underline":""),to:e.url,"data-kfs":e.dataKfs||"anchor-link"},i.createElement("span",null,e.title)))))):i.createElement("div",null,i.createElement("button",{"data-kfs":"desktop-nav",className:"flex py-2 justify-between w-full lg:px-1 lg:items-center font-semibold text-blue text-16 "+((null==a?void 0:a.pathname)===r?"text-purple":""),onMouseEnter:N,onMouseLeave:D,onFocus:y,onBlur:D,onClick:e=>{e.preventDefault(),M?((0,u.navigate)(r),m(!1)):f(e)},href:r,"aria-expanded":M,"aria-haspopup":"menu"},n,i.createElement("img",{className:"ml-2 transition ease-out transform lg:w-[0.5765rem] "+(M&&"rotate-180"),src:b,alt:""})),i.createElement("ul",{className:"desktop-subnav bg-white transition-all ease-out duration-300 lg:absolute rounded-16 shadow-md "+(M?"visible opacity-100 overflow-y-auto translate-y-2":"invisible opacity-0 overflow-hidden translate-y-1")},t.map((e,t,n)=>i.createElement("li",{key:"subnav-"+t},i.createElement("a",{onFocus:N,onBlur:D,onMouseEnter:y,onMouseLeave:D,className:"inline-block py-3 px-4 min-w-[10.375rem] w-full border-2 border-transparent transition-all font-semibold text-18 bg-white text-blue focus:border-blue focus-visible:border-blue focus:outline-none focus-visible:outline-none lg:hover:text-white lg:hover:bg-blue "+((null==a?void 0:a.pathname)+(null==a?void 0:a.hash)===e.url?"!text-white !bg-blue":""),href:e.url,"data-kfs":e.dataKfs||"anchor-link",onClick:t=>{t.preventDefault(),M&&m(!1),(0,u.navigate)(e.url)}},e.title)))))},C=n(8587);const k=["linkToMain","children","className"];var Y=e=>{let{linkToMain:t,children:n,className:r}=e,o=(0,C.A)(e,k);return i.createElement("a",Object.assign({href:t||"#main-content",className:""+(r||"")},o),n)},P=n(947),Q=n.n(P),U=n.p+"static/logo-6a1104ec62d24736f73f8bd45896c913.png";var R=e=>{let{nav:t,location:n,innerRef:r}=e;const{0:o,1:s}=(0,i.useState)(!1),{0:a,1:l}=(0,i.useState)(!1),c=Q()();D({isDisabled:!a});const d=z()();(0,i.useEffect)(()=>{s(c)},[c]),(0,i.useEffect)(()=>{o||l(!1)},[o]);const M=e=>{!r.current.contains(e.target)&&o&&l(!1)};return(0,i.useEffect)(()=>("undefined"!=typeof window&&window.addEventListener("click",M),()=>{"undefined"!=typeof window&&window.removeEventListener("click",M)}),[o]),i.createElement("header",{ref:r,className:"z-[1001] fixed left-0 top-0 w-full transition-all "+("up"===d&&"translate-y-0")+" "+(a&&"flex flex-col top-0 left-0 right-0 overflow-scroll")},i.createElement(Y,{linkToMain:"#main-content",className:"block overflow-hidden w-0 h-0 p-0 text-center uppercase opacity-0 bg-white focus:w-auto focus:h-auto focus:opacity-100 focus:py-2 lg:text-lg"},"Skip to main content"),i.createElement("div",{className:"down"===d?"hidden":""},i.createElement(L,null)),i.createElement("div",{className:"lg:hidden","data-kfs":"header-navigation"},i.createElement("div",{className:"w-[calc(100%-16px)] flex flex-row items-center justify-between mx-auto pt-[0.56rem] pb-[0.43rem] header-nav-gradient-mobile pl-8 pr-6"},i.createElement(u.Link,{to:"/","data-gtm-label":"tonmya-logo","aria-label":"logo"},i.createElement("img",{src:U,alt:"Tonmya™ Homepage",className:"pointer-events-none",width:132,height:67})),i.createElement("button",{"data-kfs":"mobile-nav-trigger","data-gtm-label":"mobile-nav-trigger",onClick:e=>{if(e.preventDefault(),!o)return!1;l(!a)},"aria-expanded":a,"aria-haspopup":"menu",className:"lg:hidden flex fl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Ljc2NDJIMjkuNDI1M0MzMC42OTQ5IDcuNzY0MiAzMS43MjQxIDYuNzM0OTcgMzEuNzI0MSA1LjQ2NTM1QzMxLjcyNDEgNC4xOTU3MyAzMC42OTQ5IDMuMTY2NSAyOS40MjUzIDMuMTY2NVoiIGZpbGw9IiMyQzAwNzgiLz4KPHBhdGggZD0iTTI5LjQyNTMgMTQuMjAwN0gyLjI5ODg1QzEuMDI5MjMgMTQuMjAwNyAwIDE1LjIyOTkgMCAxNi40OTk1QzAgMTcuNzY5MiAxLjAyOTIzIDE4Ljc5ODQgMi4yOTg4NSAxOC43OTg0SDI5LjQyNTNDMzAuNjk0OSAxOC43OTg0IDMxLjcyNDEgMTcuNzY5MiAzMS43MjQxIDE2LjQ5OTVDMzEuNzI0MSAxNS4yMjk5IDMwLjY5NDkgMTQuMjAwNyAyOS40MjUzIDE0LjIwMDdaIiBmaWxsPSIjMkMwMDc4Ii8+CjxwYXRoIGQ9Ik0yOS40MjUzIDI1LjIzNDRIMi4yOTg4NUMxLjAyOTIzIDI1LjIzNDQgMCAyNi4yNjM2IDAgMjcuNTMzMkMwIDI4LjgwMjggMS4wMjkyMyAyOS44MzIxIDIuMjk4ODUgMjkuODMyMUgyOS40MjUzQzMwLjY5NDkgMjkuODMyMSAzMS43MjQxIDI4LjgwMjggMzEuNzI0MSAyNy41MzMyQzMxLjcyNDEgMjYuMjYzNiAzMC42OTQ5IDI1LjIzNDQgMjkuNDI1MyAyNS4yMzQ0WiIgZmlsbD0iIzJDMDA3OCIvPgo8L3N2Zz4K",alt:"",className:"w-8 h-8"}),i.createElement("span",{className:"uppercase text-10 font-bold text-blue"},"Menu")))),i.createElement("div",{"data-kfs":"header-navigation"},i.createElement("div",{className:"max-h-[59dvh] lg:flex lg:flex-row lg:items-center lg:justify-between lg:max-w-[1360px] lg:mx-auto lg:pl-[78px] lg:pr-10 header-nav-gradient-desktop 4xl:max-w-[90rem]"},i.createElement(u.Link,{to:"/",className:"hidden lg:block lg:py-3.5","data-gtm-label":"tonmya-logo","aria-label":"logo"},i.createElement("img",{src:U,alt:"Tonmya™ Homepage",width:170,height:85})),i.createElement("nav",{"aria-label":"main",className:a?"block col-span-2 w-[calc(100%-1rem)] mx-auto":"hidden lg:block"},i.createElement("ul",{"data-component":"main-nav","data-gtm-label":o?"Mobile Menu":"Main Menu",className:(a&&"block")+" flex flex-col lg:flex-row lg:items-center lg:gap-4 border border-r-periwinkle border-l-periwinkle border-t-periwinkle border-b-0 rounded-24 lg:border-none lg:rounded-none"},t.map((e,t,r)=>{const s=0===t,c=t===r.length-1,d=e.url.split("/")[1]||"";return i.createElement("li",{id:d,key:"nav-"+t,className:"bg-white lg:bg-transparent border-b border-b-lightGray lg:border-b-0 "+(s?"rounded-t-24 lg:rounded-t-0":"")+" "+(c?"rounded-b-24 lg:rounded-b-0":"")},e.subNav?i.createElement(S,{buttonTitle:e.title,buttonUrl:e.url,subNavLinks:e.subNav,setMobileNavOpen:l,mobileNavOpen:a,location:n,isMobile:o,dataKfs:e.dataKfs,isLastNavItem:c}):i.createElement(u.Link,{to:e.url,className:"flex self-center px-5 py-3 text-blue font-semibold lg:px-1 lg:py-2 text-16 text-center "+((null==n?void 0:n.pathname)===e.url?"text-purple":""),onClick:()=>setTimeout(l(!1),400)},e.title),i.createElement("div",{className:((null==n?void 0:n.pathname)===e.url?"lg:relative lg:after:absolute lg:after:w-full lg:after:h-[0.125rem] lg:after:left-0 lg:after:-top-1 lg:after:rounded-[4.28444rem] lg:after:bg-purple":"")+" "+((null==n?void 0:n.pathname)===e.url&&e.subNav?"lg:w-[calc(100%-1rem)]":"")}))}),i.createElement("li",{className:"hidden lg:block"},i.createElement(u.Link,{to:"/savings",className:"cta-button-border-gradient bg-lavender-blue text-18 flex items-center justify-center font-bold w-[231px] h-[48px]","data-kfs":"cta","data-kfs-anchor":"anchor-link"},"Get Savings Card")))))))};function F(e){if(null==e)throw new TypeError("Cannot destructure "+e)}var V=n(4586),B=n(4424);function Z(e,t,n,r){let o=(0,B.Y)(n);(0,i.useEffect)(()=>{function n(e){o.current(e)}return(e=null!=e?e:window).addEventListener(t,n,r),()=>e.removeEventListener(t,n,r)},[e,t,r])}class G extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}}var W,H,J,X=n(2599),_=n(9851),$=Object.defineProperty,K=(e,t,n)=>(((e,t,n)=>{t in e?$(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n),q=(e,t,n)=>{if(!t.has(e))throw TypeError("Cannot "+n)},ee=(e,t,n)=>(q(e,t,"read from private field"),n?n.call(e):t.get(e)),te=(e,t,n)=>{if(t.has(e))throw TypeError("Cannot add the same private member more than once");t instanceof WeakSet?t.add(e):t.set(e,n)},ne=(e,t,n,i)=>(q(e,t,"write to private field"),i?i.call(e,n):t.set(e,n),n);
2class ie{constructor(e){te(this,W,{}),te(this,H,new G(()=>new Set)),te(this,J,new Set),K(this,"disposables",(0,X.e)()),ne(this,W,e),_._.isServer&&this.disposables.microTask(()=>{this.dispose()})}dispose(){this.disposables.dispose()}get state(){return ee(this,W)}subscribe(e,t){if(_._.isServer)return()=>{};let n={selector:e,callback:t,current:e(ee(this,W))};return ee(this,J).add(n),this.disposables.add(()=>{ee(this,J).delete(n)})}on(e,t){return _._.isServer?()=>{}:(ee(this,H).get(e).add(t),this.disposables.add(()=>{ee(this,H).get(e).delete(t)}))}send(e){let t=this.reduce(ee(this,W),e);if(t!==ee(this,W)){ne(this,W,t);for(let e of ee(this,J)){let t=e.selector(ee(this,W));re(e.current,t)||(e.current=t,e.callback(t))}for(let t of ee(this,H).get(e.type))t(ee(this,W),e)}}}function re(e,t){return!!Object.is(e,t)||"object"==typeof e&&null!==e&&"object"==typeof t&&null!==t&&(Array.isArray(e)&&Array.isArray(t)?e.length===t.length&&oe(e[Symbol.iterator](),t[Symbol.iterator]()):e instanceof Map&&t instanceof Map||e instanceof Set&&t instanceof Set?e.size===t.size&&oe(e.entries(),t.entries()):!(!se(e)||!se(t))&&oe(Object.entries(e)[Symbol.iterator](),Object.entries(t)[Symbol.iterator]()))}function oe(e,t){for(;;){let n=e.next(),i=t.next();if(n.done&&i.done)return!0;if(n.done||i.done||!Object.is(n.value,i.value))return!1}}function se(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;let t=Object.getPrototypeOf(e);return null===t||null===Object.getPrototypeOf(t)}W=new WeakMap,H=new WeakMap,J=new WeakMap;var ae=n(5897),le=Object.defineProperty,ue=(e,t,n)=>(((e,t,n)=>{t in e?le(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n),ce=(e=>(e[e.Push=0]="Push",e[e.Pop=1]="Pop",e))(ce||{});let de={0(e,t){let n=t.id,i=e.stack,r=e.stack.indexOf(n);if(-1!==r){let t=e.stack.slice();return t.splice(r,1),t.push(n),i=t,{...e,stack:i}}return{...e,stack:[...e.stack,n]}},1(e,t){let n=t.id,i=e.stack.indexOf(n);if(-1===i)return e;let r=e.stack.slice();return r.splice(i,1),{...e,stack:r}}};class Me extends ie{constructor(){super(...arguments),ue(this,"actions",{push:e=>this.send({type:0,id:e}),pop:e=>this.send({type:1,id:e})}),ue(this,"selectors",{isTop:(e,t)=>e.stack[e.stack.length-1]===t,inStack:(e,t)=>e.stack.includes(t)})}static new(){return new Me({stack:[]})}reduce(e,t){return(0,ae.Y)(t.type,de,e,t)}}const me=new G(()=>Me.new());var he=n(8418),ge=n(5015);function pe(e,t,n=re){return(0,he.useSyncExternalStoreWithSelector)((0,ge._)(t=>e.subscribe(fe,t)),(0,ge._)(()=>e.state),(0,ge._)(()=>e.state),(0,ge._)(t),n)}function fe(e){return e}var ye=n(6339);function Ne(e,t){let n=(0,i.useId)(),r=me.get(t),[o,s]=pe(r,(0,i.useCallback)(e=>[r.selectors.isTop(e,n),r.selectors.inStack(e,n)],[r,n]));return(0,ye.s)(()=>{if(e)return r.actions.push(n),()=>r.actions.pop(n)},[r,e,n]),!!e&&(!s||o)}function De(e,t=("undefined"!=typeof document?document.defaultView:null),n){let i=Ne(e,"escape");Z(t,"keydown",e=>{i&&(e.defaultPrevented||e.key===V.D.Escape&&n(e))})}var je=n(2211);let Ie=new Map,ve=new Map;function Te(e){var t;let n=null!=(t=ve.get(e))?t:0;return ve.set(e,n+1),0!==n||(Ie.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>xe(e)}function xe(e){var t;let n=null!=(t=ve.get(e))?t:1;if(1===n?ve.delete(e):ve.set(e,n-1),1!==n)return;let i=Ie.get(e);i&&(null===i["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",i["aria-hidden"]),e.inert=i.inert,Ie.delete(e))}function ze(e,{allowed:t,disallowed:n}={}){let i=Ne(e,"inert-others");(0,ye.s)(()=>{var e,r;if(!i)return;let o=(0,X.e)();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&o.add(Te(t));let s=null!=(r=null==t?void 0:t())?r:[];for(let t of s){if(!t)continue;let e=(0,je.TW)(t);if(!e)continue;let n=t.parentElement;for(;n&&n!==e.body;){for(let e of n.children)s.some(t=>e.contains(t))||o.add(Te(e));n=n.parentElement}}return o.dispose},[i,t,n])}var Ee=n(7280);let Ae=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","details>summary","textarea:not([disabled])"].map(e=>`${e}:not([tabindex='-1'])`).join(","),we=["[data-autofocus]"].map(e=>`${e}:not([tabindex='-1'])`).join(",");var Oe=(e=>(e[e.First=1]="First",e[e.Previous=2]="Previous",e[e.Next=4]="Next",e[e.Last=8]="Last",e[e.WrapAround=16]="WrapAround",e[e.NoScroll=32]="NoScroll",e[e.AutoFocus=64]="AutoFocus",e))(Oe||{}),Le=(e=>(e[e.Error=0]="Error",e[e.Overflow=1]="Overflow",e[e.Success=2]="Success",e[e.Underflow=3]="Underflow",e))(Le||{}),be=(e=>(e[e.Previous=-1]="Previous",e[e.Next=1]="Next",e))(be||{});function Se(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(Ae)).sort((e,t)=>
2Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}var Ce=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(Ce||{});function ke(e,t=0){var n;return e!==(null==(n=(0,je.TW)(e))?void 0:n.body)&&(0,ae.Y)(t,{0(){return e.matches(Ae)},1(){let t=e;for(;null!==t;){if(t.matches(Ae))return!0;t=t.parentElement}return!1}})}var Ye=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(Ye||{});function Pe(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")},!0),document.addEventListener("click",e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")},!0));let Qe=["textarea","input"].join(",");function Ue(e,t,{sorted:n=!0,relativeTo:i=null,skipElements:r=[]}={}){let o=Array.isArray(e)?e.length>0?(0,je.zm)(e[0]):document:(0,je.zm)(e),s=Array.isArray(e)?n?function(e,t=e=>e){return e.slice().sort((e,n)=>{let i=t(e),r=t(n);if(null===i||null===r)return 0;let o=i.compareDocumentPosition(r);return o&Node.DOCUMENT_POSITION_FOLLOWING?-1:o&Node.DOCUMENT_POSITION_PRECEDING?1:0})}(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(we)).sort((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER)))}(e):Se(e);r.length>0&&s.length>1&&(s=s.filter(e=>!r.some(t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))),i=null!=i?i:null==o?void 0:o.activeElement;let a,l=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),u=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,s.indexOf(i))-1;if(4&t)return Math.max(0,s.indexOf(i))+1;if(8&t)return s.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),c=32&t?{preventScroll:!0}:{},d=0,M=s.length;do{if(d>=M||d+M<=0)return 0;let e=u+d;if(16&t)e=(e+M)%M;else{if(e<0)return 3;if(e>=M)return 1}a=s[e],null==a||a.focus(c),d+=l}while(a!==(0,je.bq)(a));return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,Qe))&&n}(a)&&a.select(),2}function Re(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function Fe(){return Re()||/Android/gi.test(window.navigator.userAgent)}function Ve(e,t,n,r){let o=(0,B.Y)(n);(0,i.useEffect)(()=>{if(e)return document.addEventListener(t,n,r),()=>document.removeEventListener(t,n,r);function n(e){o.current(e)}},[e,t,r])}function Be(e,t,n,r){let o=(0,B.Y)(n);(0,i.useEffect)(()=>{if(e)return window.addEventListener(t,n,r),()=>window.removeEventListener(t,n,r);function n(e){o.current(e)}},[e,t,r])}function Ze(e,t,n){let r=(0,B.Y)(n),o=(0,i.useCallback)(function(e,n){if(e.defaultPrevented)return;let i=n(e);if(null===i||!i.getRootNode().contains(i)||!i.isConnected)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t);for(let t of o)if(null!==t&&(t.contains(i)||e.composed&&e.composedPath().includes(t)))return;return!ke(i,Ce.Loose)&&-1!==i.tabIndex&&e.preventDefault(),r.current(e,i)},[r,t]),s=(0,i.useRef)(null);Ve(e,"pointerdown",e=>{var t,n;Fe()||(s.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target)},!0),Ve(e,"pointerup",e=>{if(Fe()||!s.current)return;let t=s.current;return s.current=null,o(e,()=>t)},!0);let a=(0,i.useRef)({x:0,y:0});Ve(e,"touchstart",e=>{a.current.x=e.touches[0].clientX,a.current.y=e.touches[0].clientY},!0),Ve(e,"touchend",e=>{let t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY;if(!(Math.abs(t-a.current.x)>=30||Math.abs(n-a.current.y)>=30))return o(e,()=>Ee.Lk(e.target)?e.target:null)},!0),Be(e,"blur",e=>o(e,()=>Ee.Gu(window.document.activeElement)?window.document.activeElement:null),!0)}function Ge(...e){return(0,i.useMemo)(()=>(0,je.TW)(...e),[...e])}var We=n(6206);
2var He=(e=>(e[e.None=1]="None",e[e.Focusable=2]="Focusable",e[e.Hidden=4]="Hidden",e))(He||{});let Je=(0,We.FX)(function(e,t){var n;let{features:i=1,...r}=e,o={ref:t,"aria-hidden":!(2&~i)||(null!=(n=r["aria-hidden"])?n:void 0),hidden:!(4&~i)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...!(4&~i)&&!!(2&~i)&&{display:"none"}}};return(0,We.Ci)()({ourProps:o,theirProps:r,slot:{},defaultTag:"span",name:"Hidden"})});let Xe=(0,i.createContext)(null);function _e({children:e,node:t}){let[n,r]=(0,i.useState)(null),o=$e(null!=t?t:n);return i.createElement(Xe.Provider,{value:o},e,null===o&&i.createElement(Je,{features:He.Hidden,ref:e=>{var t,n;if(e)for(let i of null!=(n=null==(t=(0,je.TW)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(i!==document.body&&i!==document.head&&Ee.vq(i)&&null!=i&&i.contains(e)){r(i);break}}}))}function $e(e=null){var t;return null!=(t=(0,i.useContext)(Xe))?t:e}function Ke(){let e;return{before({doc:t}){var n;let i=t.documentElement,r=null!=(n=t.defaultView)?n:window;e=Math.max(0,r.innerWidth-i.clientWidth)},after({doc:t,d:n}){let i=t.documentElement,r=Math.max(0,i.clientWidth-i.offsetWidth),o=Math.max(0,e-r);n.style(i,"paddingRight",`${o}px`)}}}function qe(){return Re()?{before({doc:e,d:t,meta:n}){function i(e){for(let t of n().containers)for(let n of t())if(n.contains(e))return!0;return!1}t.microTask(()=>{var n;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let n=(0,X.e)();n.style(e.documentElement,"scrollBehavior","auto"),t.add(()=>t.microTask(()=>n.dispose()))}let r=null!=(n=window.scrollY)?n:window.pageYOffset,o=null;t.addEventListener(e,"click",t=>{if(Ee.Lk(t.target))try{let n=t.target.closest("a");if(!n)return;let{hash:r}=new URL(n.href),s=e.querySelector(r);Ee.Lk(s)&&!i(s)&&(o=s)}catch{}},!0),t.group(n=>{t.addEventListener(e,"touchstart",e=>{if(n.dispose(),Ee.Lk(e.target)&&Ee.pv(e.target))if(i(e.target)){let t=e.target;for(;t.parentElement&&i(t.parentElement);)t=t.parentElement;n.style(t,"overscrollBehavior","contain")}else n.style(e.target,"touchAction","none")})}),t.addEventListener(e,"touchmove",e=>{if(Ee.Lk(e.target)){if(Ee.A3(e.target))return;if(i(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}},{passive:!1}),t.add(()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;r!==t&&window.scrollTo(0,r),o&&o.isConnected&&(o.scrollIntoView({block:"nearest"}),o=null)})})}}:{}}function et(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let tt=function(e,t){let n=e(),i=new Set;return{getSnapshot(){return n},subscribe(e){return i.add(e),()=>i.delete(e)},dispatch(e,...r){let o=t[e].call(n,...r);o&&(n=o,i.forEach(e=>e()))}}}(()=>new Map,{PUSH(e,t){var n;let i=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,X.e)(),meta:new Set,computedMeta:{}};return i.count++,i.meta.add(t),i.computedMeta=et(i.meta),this.set(e,i),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t),n.computedMeta=et(n.meta)),this},SCROLL_PREVENT(e){let t={doc:e.doc,d:e.d,meta(){return e.computedMeta}},n=[qe(),Ke(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];n.forEach(({before:e})=>null==e?void 0:e(t)),n.forEach(({after:e})=>null==e?void 0:e(t))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});function nt(e,t,n=()=>({containers:[]})){let r=function(e){return(0,i.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}(tt),o=t?r.get(t):void 0,s=!!o&&o.count>0;return(0,ye.s)(()=>{if(t&&e)return tt.dispatch("PUSH",t,n),()=>tt.dispatch("POP",t,n)},[e,t]),s}function it(e,t,n=()=>[document.body]){nt(Ne(e,"scroll-lock"),t,e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}})}function rt(){let e=function(){let e="undefined"==typeof document;return(e=>e.useSyncExternalStore)(r)(()=>()=>{},()=>!1,()=>!e)}(),[t,n]=i.useState(_._.isHandoffComplete);return t&&!1===_._.isHandoffComplete&&n(!1),i.useEffect(()=>{!0!==t&&n(!0)},[t]),i.useEffect(()=>_._.handoff(),[]),!e&&t}tt.subscribe(()=>{let e=tt.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),i=0!==n.count;(i&&!e||!i&&e)&&tt.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&tt.dispatch("TEARDOWN",n)}});var ot=n(5451),st=n(8975),at=n(7442),lt=n(3149);let ut=(0,i.createContext)(!1);function ct(){return(0,i.useContext)(ut)}function dt(e){return i.createElement(ut.Provider,{value:e.force},e.children)}let Mt=(0,i.createContext)(void 0);let mt=(0,i.createContext)(null);function ht(){let e=(0,i.useContext)(mt);if(null===e){let e=new Error("You used a <Description /> component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,ht),e}return e}mt.displayName="DescriptionContext";let gt=(0,We.FX)(function(e,t){let n=(0,i.useId)(),r=(0,i.useContext)(Mt),{id:o=`headlessui-description-${n}`,...s}=e,a=ht(),l=(0,st.P)(t);(0,ye.s)(()=>a.register(o),[o,a.register]);let u=(0,ot._)({...a.slot,disabled:r||!1}),c={ref:l,...a.props,id:o};return(0,We.Ci)()({ourProps:c,theirProps:s,slot:u,defaultTag:"p",name:a.name||"Description"})}),pt=Object.assign(gt,{});var ft=n(6992);function yt(){let e=(0,i.useRef)(!1);return(0,ye.s)(()=>(e.current=!0,()=>{e.current=!1}),[]),e}var Nt=n(2924);function Dt(e){let t=(0,ge._)(e),n=(0,i.useRef)(!1);(0,i.useEffect)(()=>(n.current=!1,()=>{n.current=!0,(0,Nt._)(()=>{n.current&&t()})}),[t])}var jt=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(jt||{});function It(e,t){let n=(0,i.useRef)([]),r=(0,ge._)(e);(0,i.useEffect)(()=>{let e=[...n.current];for(let[i,o]of t.entries())if(n.current[i]!==o){let i=r(t,e);return n.current=t,i}},[r,...t])}let vt=[];function Tt(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)Ee.vq(n.current)&&t.add(n.current);return t}!function(e){function t(){"loading"!==document.readyState&&(e(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}(()=>{function e(e){if(!Ee.Lk(e.target)||e.target===document.body||vt[0]===e.target)return;let t=e.target;t=t.closest(Ae),vt.unshift(null!=t?t:e.target),vt=vt.filter(e=>null!=e&&e.isConnected),vt.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})});var xt=(e=>(e[e.None=0]="None",e[e.InitialFocus=1]="InitialFocus",e[e.TabLock=2]="TabLock",e[e.FocusLock=4]="FocusLock",e[e.Re
2storeFocus=8]="RestoreFocus",e[e.AutoFocus=16]="AutoFocus",e))(xt||{});let zt=(0,We.FX)(function(e,t){let n=(0,i.useRef)(null),r=(0,st.P)(n,t),{initialFocus:o,initialFocusFallback:s,containers:a,features:l=15,...u}=e;rt()||(l=0);let c=Ge(n.current);!function(e,{ownerDocument:t}){let n=!!(8&e),r=function(e=!0){let t=(0,i.useRef)(vt.slice());return It(([e],[n])=>{!0===n&&!1===e&&(0,Nt._)(()=>{t.current.splice(0)}),!1===n&&!0===e&&(t.current=vt.slice())},[e,vt,t]),(0,ge._)(()=>{var e;return null!=(e=t.current.find(e=>null!=e&&e.isConnected))?e:null})}(n);It(()=>{n||(0,je.X7)(null==t?void 0:t.body)&&Pe(r())},[n]),Dt(()=>{n&&Pe(r())})}(l,{ownerDocument:c});let d=At(l,{ownerDocument:c,container:n,initialFocus:o,initialFocusFallback:s});!function(e,{ownerDocument:t,container:n,containers:i,previousActiveElement:r}){let o=yt(),s=!!(4&e);Z(null==t?void 0:t.defaultView,"focus",e=>{if(!s||!o.current)return;let t=Tt(i);Ee.sb(n.current)&&t.add(n.current);let a=r.current;if(!a)return;let l=e.target;Ee.sb(l)?wt(t,l)?(r.current=l,Pe(l)):(e.preventDefault(),e.stopPropagation(),Pe(a)):Pe(r.current)},!0)}(l,{ownerDocument:c,container:n,containers:a,previousActiveElement:d});let M=function(){let e=(0,i.useRef)(0);return Be(!0,"keydown",t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)},!0),e}(),m=(0,ge._)(e=>{if(!Ee.sb(n.current))return;let t=n.current;(0,ae.Y)(M.current,{[jt.Forwards]:()=>{Ue(t,Oe.First,{skipElements:[e.relatedTarget,s]})},[jt.Backwards]:()=>{Ue(t,Oe.Last,{skipElements:[e.relatedTarget,s]})}})}
2),h=Ne(!!(2&l),"focus-trap#tab-lock"),g=(0,ft.L)(),p=(0,i.useRef)(!1),f={ref:r,onKeyDown(e){"Tab"==e.key&&(p.current=!0,g.requestAnimationFrame(()=>{p.current=!1}))},onBlur(e){if(!(4&l))return;let t=Tt(a);Ee.sb(n.current)&&t.add(n.current);let i=e.relatedTarget;Ee.Lk(i)&&"true"!==i.dataset.headlessuiFocusGuard&&(wt(t,i)||(p.current?Ue(n.current,(0,ae.Y)(M.current,{[jt.Forwards]:()=>Oe.Next,[jt.Backwards]:()=>Oe.Previous})|Oe.WrapAround,{relativeTo:e.target}):Ee.Lk(e.target)&&Pe(e.target)))}},y=(0,We.Ci)();return i.createElement(i.Fragment,null,h&&i.createElement(Je,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:He.Focusable}),y({ourProps:f,theirProps:u,defaultTag:"div",name:"FocusTrap"}),h&&i.createElement(Je,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:m,features:He.Focusable}))}),Et=Object.assign(zt,{features:xt});function At(e,{ownerDocument:t,container:n,initialFocus:r,initialFocusFallback:o}){let s=(0,i.useRef)(null),a=Ne(!!(1&e),"focus-trap#initial-focus"),l=yt();return It(()=>{if(0===e)return;if(!a)return void(null!=o&&o.current&&Pe(o.current));let i=n.current;i&&(0,Nt._)(()=>{if(!l.current)return;let n=null==t?void 0:t.activeElement;if(null!=r&&r.current){if((null==r?void 0:r.current)===n)return void(s.current=n)}else if(i.contains(n))return void(s.current=n);if(null!=r&&r.current)Pe(r.current);else{if(16&e){if(Ue(i,Oe.First|Oe.AutoFocus)!==Le.Error)return}else if(Ue(i,Oe.First)!==Le.Error)return;if(null!=o&&o.current&&(Pe(o.current),(null==t?void 0:t.activeElement)===o.current))return;console.warn("There are no focusable elements inside the <FocusTrap />")}s.current=null==t?void 0:t.activeElement})},[o,a,e]),s}function wt(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var Ot=n(961);let Lt=i.Fragment,bt=(0,We.FX)(function(e,t){let{ownerDocument:n=null,...r}=e,o=(0,i.useRef)(null),s=(0,st.P)((0,st.a)(e=>{o.current=e}),t),a=Ge(o.current),l=function(e){let t=ct(),n=(0,i.useContext)(Ct),[r,o]=(0,i.useState)(()=>{var i;if(!t&&null!==n)return null!=(i=n.current)?i:null;if(_._.isServer)return null;let r=null==e?void 0:e.getElementById("headlessui-portal-root");if(r)return r;if(null===e)return null;let o=e.createElement("div");return o.setAttribute("id","headlessui-portal-root"),e.body.appendChild(o)});return(0,i.useEffect)(()=>{null!==r&&(null!=e&&e.body.contains(r)||null==e||e.body.appendChild(r))},[r,e]),(0,i.useEffect)(()=>{t||null!==n&&o(n.current)},[n,o,t]),r}(null!=n?n:a),u=(0,i.useContext)(kt),c=(0,ft.L)(),d=(0,We.Ci)();return Dt(()=>{var e;l&&l.childNodes.length<=0&&(null==(e=l.parentElement)||e.removeChild(l))}),l?(0,Ot.createPortal)(i.createElement("div",{"data-headlessui-portal":"",ref:e=>{c.dispose(),u&&e&&c.add(u.register(e))}},d({ourProps:{ref:s},theirProps:r,slot:{},defaultTag:Lt,name:"Portal"})),l):null});let St=i.Fragment,Ct=(0,i.createContext)(null);let kt=(0,i.createContext)(null);let Yt=(0,We.FX)(function(e,t){let n=(0,st.P)(t),{enabled:r=!0,ownerDocument:o,...s}=e,a=(0,We.Ci)();return r?i.createElement(bt,{...s,ownerDocument:o,ref:n}):a({ourProps:{ref:n},theirProps:s,slot:{},defaultTag:Lt,name:"Portal"})}),Pt=(0,We.FX)(function(e,t){let{target:n,...r}=e,o={ref:(0,st.P)(t)},s=(0,We.Ci)();return i.createElement(Ct.Provider,{value:n},s({ourProps:o,theirProps:r,defaultTag:St,name:"Popover.Group"}))}),Qt=Object.assign(Yt,{Group:Pt});var Ut=n(2888),Rt=n(6421);function Ft(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||!(0,We.zv)(null!=(t=e.as)?t:Ht)||1===i.Children.count(e.children)}let Vt=(0,i.createContext)(null);Vt.displayName="TransitionContext";var Bt=(e=>(e.Visible="visible",e.Hidden="hidden",e))(Bt||{});let Zt=(0,i.createContext)(null);function Gt(e){return"children"in e?Gt(e.children):e.current.filter(({el:e})=>null!==e.current).filter(({state:e})=>"visible"===e).length>0}function Wt(e,t){let n=(0,B.Y)(e),r=(0,i.useRef)([]),o=yt(),s=(0,ft.L)(),a=(0,ge._)((e,t=We.mK.Hidden)=>{let i=r.current.findIndex(({el:t})=>t===e);-1!==i&&((0,ae.Y)(t,{[We.mK.Unmount](){r.current.splice(i,1)},[We.mK.Hidden](){r.current[i].state="hidden"}}),s.microTask(()=>{var e;!Gt(r)&&o.current&&(null==(e=n.current)||e.call(n))}))}),l=(0,ge._)(e=>{let t=r.current.find(({el:t})=>t===e);return t?"visible"!==t.state&&(t.state="visible"):r.current.push({el:e,state:"visible"}),()=>a(e,We.mK.Unmount)}),u=(0,i.useRef)([]),c=(0,i.useRef)(Promise.resolve()),d=(0,i.useRef)({enter:[],leave:[]}
2),M=(0,ge._)((e,n,i)=>{u.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter(([t])=>t!==e)),null==t||t.chains.current[n].push([e,new Promise(e=>{u.current.push(e)})]),null==t||t.chains.current[n].push([e,new Promise(e=>{Promise.all(d.current[n].map(([e,t])=>t)).then(()=>e())})]),"enter"===n?c.current=c.current.then(()=>null==t?void 0:t.wait.current).then(()=>i(n)):i(n)}),m=(0,ge._)((e,t,n)=>{Promise.all(d.current[t].splice(0).map(([e,t])=>t)).then(()=>{var e;null==(e=u.current.shift())||e()}).then(()=>n(t))});return(0,i.useMemo)(()=>({children:r,register:l,unregister:a,onStart:M,onStop:m,wait:c,chains:d}),[l,a,r,M,m,d,c])}Zt.displayName="NestingContext";let Ht=i.Fragment,Jt=We.Ac.RenderStrategy;let Xt=(0,We.FX)(function(e,t){let{show:n,appear:r=!1,unmount:o=!0,...s}=e,a=(0,i.useRef)(null),l=Ft(e),u=(0,st.P)(...l?[a,t]:null===t?[]:[t]);rt();let c=(0,lt.O_)();if(void 0===n&&null!==c&&(n=(c&lt.Uw.Open)===lt.Uw.Open),void 0===n)throw new Error("A <Transition /> is used but it is missing a `show={true | false}` prop.");let[d,M]=(0,i.useState)(n?"visible":"hidden"),m=Wt(()=>{n||M("hidden")}),[h,g]=(0,i.useState)(!0),p=(0,i.useRef)([n]);(0,ye.s)(()=>{!1!==h&&p.current[p.current.length-1]!==n&&(p.current.push(n),g(!1))},[p,n]);let f=(0,i.useMemo)(()=>({show:n,appear:r,initial:h}),[n,r,h]);(0,ye.s)(()=>{n?M("visible"):!Gt(m)&&null!==a.current&&M("hidden")},[n,m]);let y={unmount:o},N=(0,ge._)(()=>{var t;h&&g(!1),null==(t=e.beforeEnter)||t.call(e)}),D=(0,ge._)(()=>{var t;h&&g(!1),null==(t=e.beforeLeave)||t.call(e)}),j=(0,We.Ci)();return i.createElement(Zt.Provider,{value:m},i.createElement(Vt.Provider,{value:f},j({ourProps:{...y,as:i.Fragment,children:i.createElement(_t,{ref:u,...y,...s,beforeEnter:N,beforeLeave:D})},theirProps:{},defaultTag:i.Fragment,features:Jt,visible:"visible"===d,name:"Transition"})))}),_t=(0,We.FX)(function(e,t){var n,r;let{transition:o=!0,beforeEnter:s,afterEnter:a,beforeLeave:l,afterLeave:u,enter:c,enterFrom:d,enterTo:M,entered:m,leave:h,leaveFrom:g,leaveTo:p,...f}=e,[y,N]=(0,i.useState)(null),D=(0,i.useRef)(null),j=Ft(e),I=(0,st.P)(...j?[D,t,N]:null===t?[]:[t]),v=null==(n=f.unmount)||n?We.mK.Unmount:We.mK.Hidden,{show:T,appear:x,initial:z}=function(){let e=(0,i.useContext)(Vt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),[E,A]=(0,i.useState)(T?"visible":"hidden"),w=function(){let e=(0,i.useContext)(Zt);if(null===e)throw new Error("A <Transition.Child /> is used but it is missing a parent <Transition /> or <Transition.Root />.");return e}(),{register:O,unregister:L}=w;(0,ye.s)(()=>O(D),[O,D]),(0,ye.s)(()=>{if(v===We.mK.Hidden&&D.current)return T&&"visible"!==E?void A("visible"):(0,ae.Y)(E,{hidden:()=>L(D),visible:()=>O(D)})},[E,D,O,L,T,v]);let b=rt();(0,ye.s)(()=>{if(j&&b&&"visible"===E&&null===D.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")},[D,E,b,j]);let S=z&&!x,C=x&&T&&z,k=(0,i.useRef)(!1),Y=Wt(()=>{k.current||(A("hidden"),L(D))},w),P=(0,ge._)(e=>{k.current=!0;let t=e?"enter":"leave";Y.onStart(D,t,e=>{"enter"===e?null==s||s():"leave"===e&&(null==l||l())})}),Q=(0,ge._)(e=>{let t=e?"enter":"leave";k.current=!1,Y.onStop(D,t,e=>{"enter"===e?null==a||a():"leave"===e&&(null==u||u())}),"leave"===t&&!Gt(Y)&&(A("hidden"),L(D))});(0,i.useEffect)(()=>{j&&o||(P(T),Q(T))},[T,j,o]);let U=!(!o||!j||!b||S),[,R]=(0,Ut.p)(U,y,T,{start:P,end:Q}),F=(0,We.oE)({ref:I,className:(null==(r=(0,Rt.x)(f.className,C&&c,C&&d,R.enter&&c,R.enter&&R.closed&&d,R.enter&&!R.closed&&M,R.leave&&h,R.leave&&!R.closed&&g,R.leave&&R.closed&&p,!R.transition&&T&&m))?void 0:r.trim())||void 0,...(0,Ut.B)(R)}),V=0;"visible"===E&&(V|=lt.Uw.Open),"hidden"===E&&(V|=lt.Uw.Closed),T&&"hidden"===E&&(V|=lt.Uw.Opening),!T&&"visible"===E&&(V|=lt.Uw.Closing);let B=(0,We.Ci)();return i.createElement(Zt.Provider,{value:Y},i.createElement(lt.El,{value:V},B({ourProps:F,theirProps:f,defaultTag:Ht,features:Jt,visible:"visible"===E,name:"Transition.Child"})))}),$t=(0,We.FX)(function(e,t){let n=null!==(0,i.useContext)(Vt),r=null!==(0,lt.O_)();return i.createElement(i.Fragment,null,!n&&r?i.createElement(Xt,{ref:t,...e}):i.createElement(_t,{ref:t,...e}))}),Kt=Object.assign(Xt,{Child:$t,Root:Xt});var qt=(e=>(e[e.Open=0]="Open",e[e.Closed=1]="Closed",e))(qt||{}),en=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(en||{});let tn={0(e,t){return e.titleId===t.id?e:{...e,titleId:t.id}}},nn=(0,i.createContext)(null);function rn(e){let t=(0,i.useContext)(nn);if(null===t){let t=new Error(`<${e} /> is missing a parent <Dialog /> component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,rn),t}return t}function on(e,t){return(0,ae.Y)(t.type,tn,e,t)}nn.displayName="DialogContext";let sn=(0,We.FX)(function(e,t){let n=(0,i.useId)(),{id:r=`headlessui-dialog-${n}`,open:o,onClose:s,initialFocus:a,role:l="dialog",autoFocus:u=!0,__demoMode:c=!1,unmount:d=!1,...M}=e,m=(0,i.useRef)(!1);
2l="dialog"===l||"alertdialog"===l?l:(m.current||(m.current=!0,console.warn(`Invalid role [${l}] passed to <Dialog />. Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog");let h=(0,lt.O_)();void 0===o&&null!==h&&(o=(h&lt.Uw.Open)===lt.Uw.Open);let g=(0,i.useRef)(null),p=(0,st.P)(g,t),f=Ge(g.current),y=o?0:1,[N,D]=(0,i.useReducer)(on,{titleId:null,descriptionId:null,panelRef:(0,i.createRef)()}),j=(0,ge._)(()=>s(!1)),I=(0,ge._)(e=>D({type:0,id:e})),v=!!rt()&&0===y,[T,x]=function(){let e=(0,i.useContext)(kt),t=(0,i.useRef)([]),n=(0,ge._)(n=>(t.current.push(n),e&&e.register(n),()=>r(n))),r=(0,ge._)(n=>{let i=t.current.indexOf(n);-1!==i&&t.current.splice(i,1),e&&e.unregister(n)}),o=(0,i.useMemo)(()=>({register:n,unregister:r,portals:t}),[n,r,t]);return[t,(0,i.useMemo)(()=>function({children:e}){return i.createElement(kt.Provider,{value:o},e)},[o])]}(),z={get current(){var e;return null!=(e=N.panelRef.current)?e:g.current}},E=$e(),{resolveContainers:A}=function({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let i=(0,ge._)(()=>{var i,r;let o=(0,je.TW)(n),s=[];for(let t of e)null!==t&&(Ee.vq(t)?s.push(t):"current"in t&&Ee.vq(t.current)&&s.push(t.current));if(null!=t&&t.current)for(let e of t.current)s.push(e);for(let e of null!=(i=null==o?void 0:o.querySelectorAll("html > *, body > *"))?i:[])e!==document.body&&e!==document.head&&Ee.vq(e)&&"headlessui-portal-root"!==e.id&&(n&&(e.contains(n)||e.contains(null==(r=null==n?void 0:n.getRootNode())?void 0:r.host))||s.some(t=>e.contains(t))||s.push(e));return s});
2return{resolveContainers:i,contains:(0,ge._)(e=>i().some(t=>t.contains(e)))}}({mainTreeNode:E,portals:T,defaultContainers:[z]}),w=null!==h&&(h&lt.Uw.Closing)===lt.Uw.Closing;ze(!c&&!w&&v,{allowed:(0,ge._)(()=>{var e,t;return[null!=(t=null==(e=g.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]}),disallowed:(0,ge._)(()=>{var e;return[null!=(e=null==E?void 0:E.closest("body > *:not(#headlessui-portal-root)"))?e:null]})});let O=me.get(null);(0,ye.s)(()=>{if(v)return O.actions.push(r),()=>O.actions.pop(r)},[O,r,v]);let L=pe(O,(0,i.useCallback)(e=>O.selectors.isTop(e,r),[O,r]));Ze(L,A,e=>{e.preventDefault(),j()}),De(L,null==f?void 0:f.defaultView,e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),j()}),it(!c&&!w&&v,f,A),function(e,t,n){let r=(0,B.Y)(e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()});(0,i.useEffect)(()=>{if(!e)return;let n=null===t?null:Ee.sb(t)?t:t.current;if(!n)return;let i=(0,X.e)();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver(()=>r.current(n));e.observe(n),i.add(()=>e.disconnect())}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver(()=>r.current(n));e.observe(n),i.add(()=>e.disconnect())}return()=>i.dispose()},[t,r,e])}(v,g,j);let[b,S]=function(){let[e,t]=(0,i.useState)([]);return[e.length>0?e.join(" "):void 0,(0,i.useMemo)(()=>function(e){let n=(0,ge._)(e=>(t(t=>[...t,e]),()=>t(t=>{let n=t.slice(),i=n.indexOf(e);return-1!==i&&n.splice(i,1),n}))),r=(0,i.useMemo)(()=>({register:n,slot:e.slot,name:e.name,props:e.props,value:e.value}),[n,e.slot,e.name,e.props,e.value]);return i.createElement(mt.Provider,{value:r},e.children)},[t])]}(),C=(0,i.useMemo)(()=>[{dialogState:y,close:j,setTitleId:I,unmount:d},N],[y,j,I,d,N]),k=(0,ot._)({open:0===y}),Y={ref:p,id:r,role:l,tabIndex:-1,"aria-modal":c?void 0:0===y||void 0,"aria-labelledby":N.titleId,"aria-describedby":b,unmount:d},P=!function(){var e;let[t]=(0,i.useState)(()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null),[n,r]=(0,i.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,ye.s)(()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){r(e.matches)}},[t]),n}(),Q=xt.None;v&&!c&&(Q|=xt.RestoreFocus,Q|=xt.TabLock,u&&(Q|=xt.AutoFocus),P&&(Q|=xt.InitialFocus));let U=(0,We.Ci)();return i.createElement(lt.$x,null,i.createElement(dt,{force:!0},i.createElement(Qt,null,i.createElement(nn.Provider,{value:C},i.createElement(Pt,{target:g},i.createElement(dt,{force:!1},i.createElement(S,{slot:k},i.createElement(x,null,i.createElement(Et,{initialFocus:a,initialFocusFallback:g,containers:A,features:Q},i.createElement(at.e,{value:j},U({ourProps:Y,theirProps:M,slot:k,defaultTag:an,features:ln,visible:0===y,name:"Dialog"})))))))))))}),an="div",ln=We.Ac.RenderStrategy|We.Ac.Static;let un=(0,We.FX)(function(e,t){let{transition:n=!1,open:r,...o}=e,s=(0,lt.O_)(),a=e.hasOwnProperty("open")||null!==s,l=e.hasOwnProperty("onClose");if(!a&&!l)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!a)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!l)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!s&&"boolean"!=typeof e.open)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if("function"!=typeof e.onClose)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return void 0===r&&!n||o.static?i.createElement(_e,null,i.createElement(sn,{ref:t,open:r,...o})):i.createElement(_e,null,i.createElement(Kt,{show:r,transition:n,unmount:o.unmount},i.createElement(sn,{ref:t,...o})))}),cn=(0,We.FX)(function(e,t){let n=(0,i.useId)(),{id:r=`headlessui-dialog-panel-${n}`,transition:o=!1,...s}=e,[{dialogState:a,unmount:l},u]=rn("Dialog.Panel"),c=(0,st.P)(t,u.panelRef),d=(0,ot._)({open:0===a}),M=(0,ge._)(e=>{e.stopPropagation()}),m={ref:c,id:r,onClick:M},h=o?$t:i.Fragment,g=o?{unmount:l}:{},p=(0,We.Ci)();return i.createElement(h,{...g},p({ourProps:m,theirProps:s,slot:d,defaultTag:"div",name:"Dialog.Panel"}))}),dn=((0,We.FX)(function(e,t){let{transition:n=!1,...r}=e,[{dialogState:o,unmount:s}]=rn("Dialog.Backdrop"),a=(0,ot._)({open:0===o}),l={ref:t,"aria-hidden":!0},u=n?$t:i.Fragment,c=n?{unmount:s}:{},d=(0,We.Ci)();return i.createElement(u,{...c},d({ourProps:l,theirProps:r,slot:a,defaultTag:"div",name:"Dialog.Backdrop"}))}),(0,We.FX)(function(e,t){let n=(0,i.useId)(),{id:r=`headlessui-dialog-title-${n}`,...o}=e,[{dialogState:s,setTitleId:a}]=rn("Dialog.Title"),l=(0,st.P)(t);(0,i.useEffect)(()=>(a(r),()=>a(null)),[r,a]);let u=(0,ot._)({open:0===s}),c={ref:l,id:r};return(0,We.Ci)()({ourProps:c,theirProps:o,slot:u,defaultTag:"h2",name:"Dialog.Title"})})),Mn=Object.assign(un,{Panel:cn,Title:dn,Description:pt});var mn=n(8602),hn=n(6160);const gn=["showModal","closeModal","children","className","id","data-kfs"];var pn=e=>{let{showModal:t,closeModal:n,children:r,className:o,"data-kfs":s}=e,a=(0,C.A)(e,gn);return i.createElement(mn.N,null,t&&i.createElement(Mn,Object.assign({static:!0,open:!!t,onClose:()=>n(),className:"relative z-[9999] "+(o||""),"data-kfs":s},a),i.createElement(hn.P.div,{initial:{opacity:0}
2,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 bg-modalOverlay backdrop-blur-[2px]"}),i.createElement("div",{className:"fixed inset-0 flex w-screen items-center justify-center p-4"},i.createElement(cn,{as:hn.P.div,initial:{opacity:0,scale:.95},animate:{opacity:1,scale:1},exit:{opacity:0,scale:.95},className:"relative bg-white rounded-16 lg:rounded-64 py-16 px-[1.3438rem] box-shadow-[0px_0px_13px_0px_rgba(0,0,0,0.25)] lg:pt-[3.25rem] lg:pb-11 lg:px-[148px] max-w-[991px] lg:min-h-[489px] flex flex-col justify-center items-center"},r))))},fn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjAiIGhlaWdodD0iMjAiIHZpZXdCb3g9IjAgMCAyMCAyMCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTE4IDE4TDIgMk0xOCAyTDIgMTgiIHN0cm9rZT0iIzJDMDA3OCIgc3Ryb2tlLXdpZHRoPSIzLjc2NDcxIiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPC9zdmc+Cg==";var yn=e=>{let t=Object.assign({},(F(e),e));const{showModal:n,exitUrl:r,closeModal:o}=(0,a.A)();return i.createElement(pn,Object.assign({showModal:!!n,closeModal:o,"data-kfs":"exit-modal"},t),i.createElement("div",{className:"absolute top-6 right-6 lg:top-8 lg:right-8"},i.createElement("button",{className:"w-4 h-4 lg:w-6 lg:h-6",onClick:o},i.createElement("img",{src:fn,alt:"Close"}))),i.createElement("div",{className:"max-w-[498px]"},i.createElement("h2",{className:"text-24 text-blue font-semibold text-center mb-4 lg:mb-6"},"You are now leaving",i.createElement("br",null)," Tonmya.com"),i.createElement("p",{className:"text-18 text-blue font-normal text-center mb-4"},"The link you selected will take you to a third-party website that is not owned or c
2ontrolled by Tonix Medicines, Inc. Tonix Medicines, Inc. is not responsible for the content or privacy practices of linked sites."),i.createElement("p",{className:"text-center text-18 text-blue font-bold mb-4 lg:mb-12"},"Do you wish to continue?"),i.createElement("div",{className:"flex flex-col lg:flex-row items-center gap-4"},i.createElement("button",{className:"cta-button cta-button--body p-4 lg:flex-1 min-h-[53px] flex justify-center items-center",onClick:o},"Cancel"),i.createElement("a",{className:"cta-button-gradient p-4 lg:flex-1 min-h-[53px]",href:r,onClick:o,target:"_blank",rel:"noopener noreferrer","data-gtm-label":"continue"},"Continue"))))};const Nn=["url","children","className"];var Dn=e=>{let{url:t,children:n,className:r}=e,o=(0,C.A)(e,Nn);const{openModal:s}=(0,a.A)();return i.createElement("a",Object.assign({href:t,onClick:e=>{e.preventDefault(),"function"==typeof s&&s(t,"exit")},className:""+(r||""),"data-kfs":"exit-modal-trigger"},o),n)};var jn=e=>{let t=Object.assign({},(F(e),e));const{showModal:n,closeModal:r}=(0,a.A)();return i.createElement(pn,Object.assign({showModal:!!n,closeModal:r,"data-kfs":"exit-modal"},t),i.createElement("div",{className:"absolute top-6 right-6 lg:top-8 lg:right-8"},i.createElement("button",{className:"w-6 h-6",onClick:r},i.createElement("img",{src:fn,alt:"Close"}))),i.createElement("div",null,i.createElement("div",{className:"flex flex-col justify-center items-center space-y-10 text-center"},i.createElement("h3",{className:"font-bold text-18 lg:text-24 text-blue"},"Something went wrong,",i.createElement("br",null),"please try again in a few moments."),i.createElement("button",{onClick:r,className:"cta-button-gradient min-w-[119px] min-h-[48px] lg:min-w-[160px] lg:min-h-[53px] text-16 lg:text-18 lg:font-bold"},"Try Again"))))};var In=e=>{let t=Object.assign({},(F(e),e));return i.createElement("button",Object.assign({"aria-label":"Back to Top",onClick:()=>{window.scrollTo({top:0,behavior:"smooth"})},className:"bg-[#EEE8D5] rounded-full hover:bg-white transition-all duration-300 flex items-center justify-center absolute top-4 right-0 w-10 h-10 lg:w-14 lg:h-14 z-10 xl:-right-20"},t),i.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzIiIGhlaWdodD0iMjIiIHZpZXdCb3g9IjAgMCAzMiAyMiIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTI5LjQ0NyAxOS40MjMyTDE2LjAwMDQgMy4wNzQ4TDIuNTUzODYgMTkuNDIzMiIgc3Ryb2tlPSIjMkMwMDc4IiBzdHJva2Utd2lkdGg9IjQuNzUxNTIiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIvPgo8L3N2Zz4K",alt:"",className:"w-3 lg:w-6 h-auto object-cover",loading:"lazy"}))},vn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTcuOCAySDE2LjJDMTkuNCAyIDIyIDQuNiAyMiA3LjhWMTYuMkMyMiAxNy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xMCA3LjU3IDExLjU3IDYgMTMuNSA2SDE2VjlIMTRDMTMuNDUgOSAxMyA5LjQ1IDEzIDEwVjEySDE2VjE1SDEzVjIxLjk1QzE4LjA1IDIxLjQ1IDIyIDE3LjE5IDIyIDEyWiIgZmlsbD0id2hp
2dGUiLz4KPC9zdmc+Cg==";const xn=[{title:"Contact Us",url:"https://www.tonixpharma.com/contact/"},{title:"Site Map",url:"/sitemap"},{title:"Privacy Policy",url:"https://www.tonixpharma.com/privacy-policy/"},{title:"Terms of Service",url:"https://www.tonixpharma.com/terms-of-service/",addedClass:"lg:row-start-2"},{title:"Cookie Settings",onClick:()=>{"OneTrust"in window&&window.OneTrust.ToggleInfoDisplay()}}],zn="link-no-underlined text-white text-14 font-bold",En=()=>i.createElement("ul",{"data-kfs":"footer-nav",className:"flex flex-col gap-6 mb-6 lg:grid lg:grid-cols-2 lg:grid-rows-3 lg:gap-y-4 lg:gap-x-14 lg:mb-0 lg:grid-flow-col"},xn.map((e,t)=>{var n;return i.createElement("li",{key:"nav-"+t,className:"group "+(e.addedClass?e.addedClass:"")},null!=e&&null!==(n=e.url)&&void 0!==n&&n.includes("https")?i.createElement("a",{href:e.url,className:zn,target:"_blank",rel:"noopener noreferrer"},e.title):e.onClick?i.createElement("button",{onClick:e.onClick,className:zn},e.title):i.createElement(u.Link,{to:e.url,className:zn},e.title))}));var An=()=>i.createElement("footer",{"data-kfs":"footer",className:"w-full bg-blue relative"},i.createElement(A.A,{className:"relative pb-6 pt-10 lg:py-14 min-h-[482px] lg:min-h-[355px]"},i.createElement("div",{className:"lg:max-w-[694px] lg:ml-0 lg:flex lg:flex-col lg:gap-6"},i.createElement("div",{className:"flex flex-col justify-start items-start lg:gap-16 lg:flex-row lg:items-end"},i.createElement("a",{"data-kfs":"footer-logo",href:"https://www.tonixpharma.com/",className:"w-[170px] lg:w-[227px]",target:"_blank",rel:"noopener noreferrer"},i.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjI3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EgODEuNTY1NSAyMTUuNzUzIDgxLjAxMzQgMjE1Ljc1MyA4MC4zNTMyQzIxNS43NTMgNzkuNjMyOSAyMTUuOTA5IDc5LjAyMDggMjE2LjIxIDc4LjUwNDZDMjE2LjUyMiA3Ny45ODg1IDIxNi45MTggNzcuNTU2MyAyMTcuNDIyIDc3LjIyMDJDMjE3LjkxNCA3Ni44ODQxIDIxOC40OSA3Ni42MzIgMjE5LjExNCA3Ni40NjRDMjE5LjczOSA3Ni4yOTU5IDIyMC4zOTkgNzYuMjExOSAyMjEuMDQ3IDc2LjIxMTlDMjIxLjc3OSA3Ni4yMTE5IDIyMi41MzUgNzYuMzQ0IDIyMy4yOTIgNzYuNTg0QzIyNC4wNDggNzYuODM2MSAyMjQuNzA4IDc3LjIwODIgMjI1LjI2IDc3LjcxMjRMMjIzLjU4IDc5LjUwMDlMMjIzLjU5MiA3OS41MTI5WiIgZmlsbD0id2hpdGUiLz4KPC9zdmc+Cg==",alt:"Tonix Medicines logo",className:"w-full"}),i.createElement("span",{className:"sr-only"},"Tonix Medicines Logo")),i.createElement("div",{className:"desktop-only"},i.createElement(En,null)),i.createElement("div",{className:"desktop-only xl:flex gap-2"},i.createElement(Dn,{url:"https://www.instagram.com/tonmya_official"},i.createElement("img",{src:vn,alt:"Instagram Icon"})),i.createElement(Dn,{url:"https://www.facebook.com/Tonmya.official"},i.createElement("img",{src:Tn,alt:"Facebook Icon"}
2)))),i.createElement("div",{className:"divider divider--horizontal my-4 lg:my-0"}),i.createElement("div",{className:"text-white text-14 mb-8 lg:mb-0"},i.createElement("p",null,"Trademarks are owned by or licensed to Tonix Medicines, Inc. or its affiliates."),i.createElement("p",null,"© 2026 Tonix Medicines, Inc. All rights reserved. Other trademarks are owned by their respective owners. This site is intended for U.S. audiences only.")),i.createElement("div",{className:"mobile-tablet-only"},i.createElement(En,null)),i.createElement("div",{className:"mobile-tablet-only flex gap-2 mb-10"},i.createElement(Dn,{url:"https://www.instagram.com/tonmya_official"},i.createElement("img",{src:vn,alt:"Instagram Icon"})),i.createElement(Dn,{url:"https://www.facebook.com/Tonmya.official"},i.createElement("img",{src:Tn,alt:"Facebook Icon"}))),i.createElement("p",{className:"text-white text-14"},"TMY‑DTC‑260009 02/26")),i.createElement(In,null),i.createElement("div",{className:"absolute bottom-0 lg:right-0 xl:-right-20 desktop-only"},i.createElement("img",{src:"data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMzc0IiBoZWlnaHQ9IjMyOCIgdmlld0JveD0iMCAwIDM3NCAzMjgiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxnIGNsaXAtcGF0aD0idXJsKCNwYWludDBfYW5ndWxhcl80XzIyMTE1X2NsaXBfcGF0aCkiIGRhdGEtZmlnbWEtc2tpcC1wYXJzZT0idHJ1ZSI+PGcgdHJhbnNmb3JtPSJtYXRyaXgoMC4wNTA0NDIgLTAuMTgzODk5IDAuMTk3ODM2IDAuMDU0MTc5OCAxNzguMTYzIDIwNy43KSI+PGZvcmVpZ25PYmplY3QgeD0iLTEyMDEuMzkiIHk9Ii0xMjAxLjM5IiB3aWR0aD0iMjQwMi43OSIgaGVpZ2h0PSIyNDAyLjc5Ij48ZGl2IHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5L3hodG1sIiBzdHlsZT0iYmFja2dyb3VuZDpjb25pYy1ncmFkaWVudChmcm9tIDkwZGVnLHJnYmEoMTgxLCAxNzgsIDI1NSwgMSkgMGRlZyxyZ2JhKDE1NywgMTQ3LCAyNTUsIDEpIDkxLjAzMDhkZWcscmdiYSgyNTMsIDExOSwgOTAsIDEpIDE2MS4zNTVkZWcscmdiYSgyNTUsIDE5NiwgMTExLCAxKSAyNjguMjY5ZGVnLHJnYmEoMTgxLCAxNzgsIDI1NSwgMSkgMzYwZGVnKTtoZWlnaHQ6MTAwJTt3aWR0aDoxMDAlO29wYWNpdHk6MSI+PC9kaXY+PC9mb3JlaWduT2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5IDE1NS4wNzIgNzYuMjM0MSAxNTUuMDcyIDczLjczMTlWMjIuODA1NkMxNTUuMDcyIDIwLjI4ODUgMTU3LjExMiAxOC4yNDggMTU5LjYyOSAxOC4yNDhIMTY0LjUxMloiLz48L2NsaXBQYXRoPjwvZGVmcz4KPC9zdmc+Cg==",alt:""})));const wn=(0,i.createContext)(),On=()=>{const e=(0,i.useContext)(wn);if(!e)throw new Error("useIsiContext must be used within an Isi");return e};var Ln=e=>{let{children:t}=e;const n=On();return"function"==typeof t?i.createElement(i.Fragment,null,t(n)):i.createElement(i.Fragment,null,t)};const bn=["style","className","children","options"];var Sn=e=>{let{style:t={},className:n=null,children:r,options:o={removeDefaultStyles:!1,increasedCollapse:!1}}=e,s=(0,C.A)(e,bn);o=Object.assign({},{removeDefaultStyles:!1,increasedCollapse:!1},o);const a=On(),{isExpanded:l,setIsExpanded:u,isBodyISIVisible:c,isPristine:d}=a,M=(0,i.useRef)(null);(0,i.useEffect)(()=>{var e;null===(e=M.current)||void 0===e||e.dispatchEvent(new CustomEvent("kfs-components-isi--"+(l?"expand":"collapse"),{bubbles:!0}))},[l]),(0,i.useEffect)(()=>{var e;u(!1),null===(e=M.current)||void 0===e||e.dispatchEvent(new CustomEvent("kfs-components-isi--"+(c?"show":"hide"),{bubbles:!0}))},[c]),(0,i.useEffect)(()=>{var e,t;d||l||!o.increasedCollapse?null===(e=M.current)||void 0===e||e.classList.remove("isi-drawer--touched"):null===(t=M.current)||void 0===t||t.classList.add("isi-drawer--touched")},[d,l,c,o.increasedCollapse]),(0,i.useEffect)(()=>{M.current&&(M.current.scrollTop=0)},[l,c]);const m=!1===o.removeDefaultStyles?Object.assign({},{},t):t,h=("isi-drawer "+(l?"isi-drawer--open":"")+" "+(!1!==c?"isi-drawer--hidden":"")).trim(),g=!1===o.removeDefaultStyles?(h+" "+(n||"")).trim():n;return i.createElement("aside",Object.assign({"data-kfs":"isi-drawer",className:g,style:m,"aria-hidden":"true"},s,{ref:M}),r)};const Cn=["children"];var kn=e=>{let{children:t}=e,n=(0,C.A)(e,Cn);const r=On(),{isExpanded:o,setIsExpanded:s,isPristine:a,setIsPristine:l,isFullyCollapsed:u,setIsFullyCollapsed:c}=r;return i.createElement("button",Object.assign({"data-kfs":"isi-drawer-toggle",onClick:()=>{s(!o),u&&!o&&c(!1),a&&l(!1)},"aria-expanded":!!o,"aria-pressed":!!o,"aria-label":"Important Safety Information toggle",tabIndex:-1},n),t||"Toggle ISI")};const Yn=["children"];var Pn=e=>{let{children:t}=e,n=(0,C.A)(e,Yn);const r=(0,s.useLocation)(),{pathname:o}=r,a=On(),{setIsBodyISIVisible:l}=a,u=(0,i.useRef)(null);(0,i.useEffect)(()=>{const e=()=>{u.current&&(u.current.getBoundingClientRect().top<window.innerHeight?l(!0):l(!1))};e();const t=new MutationObserver(e);return t.observe(document.body,{attributes:!1,childList:!0,subtree:!0}),window.addEventListener("scroll",e),window.addEventListener("resize",e),window.addEventListener("load",e),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e),window.removeEventListener("load",e),t.disconnect()}},[u]),(0,i.useEffect)(()=>{const e=e=>{l(!0)};return Array.from(document.querySelectorAll('a[href*="#isi"]'),t=>t.addEventListener("click",e)),()=>{Array.from(document.querySelectorAll('a[href*="#isi"]'),t=>t.removeEventListener("click",e))}},[]);const c={"/":["260010 02/26","260003 02/26"],"/living-with-fibromyalgia":["260010 02/26","260004 02/26"],"/about-tonmya":["260010 02/26","260005 02/26"],"/savings":["260010 02/26","260006 02/26"],"/resources":["260010 02/26","260007 02/26"],"/sign-up":["260010 02/26","260008 02/26"]};return i.createElement("section",Object.assign({},n,{ref:u}),t,i.createElement(A.A,null,(c[o]||[]).length>0?c[o].map(e=>i.createElement("p",{key:e,className:"text-blue mb-6 last:mb-0 lg:text-18"},"TMY‑DTC‑",e)):i.createElement(i.Fragment,null,i.createElement("p",{className:"text-blue lg:text-18"},"TMY‑DTC‑260010 02/26"))))};const Qn=["children"];var Un=e=>{let{children:t}=e,n=(0,C.A)(e,Qn);return i.createElement("div",Object.assign({"data-kfs":"isi-content"},n),t)};const Rn=e=>{let{children:t}=e;const{0:n,1:r}=(0,i.useState)(!1),{0:o,1:s}=(0,i.useState)(!1),{0:a,1:l}=(0,i.useState)(!1);D({isDisabled:!n});const u={isExpanded:n,setIsExpanded:r,isBodyISIVisible:o,setIsBodyISIVisible:s,isFullyCollapsed:a,setIsFullyCollapsed:l};return i.createElement(wn.Provider,{value:u},t)};Rn.Wrapper=Ln,Rn.Drawer=Sn,Rn.Toggle=kn,Rn.Body=Pn,Rn.Content=Un;var Fn=Rn,Vn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iNCIgdmlld0JveD0iMCAwIDI4IDQiIGZpbGw9Im5vbmUiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CjxwYXRoIGQ9Ik0yIDJIMjYiIHN0cm9rZT0iIzJDMDA3OCIgc3Ryb2tlLXdpZHRoPSI0IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPC9zdmc+Cg==",Bn="data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjgiIGhlaWdodD0iMjgiIHZpZXdCb3g9IjAgMCAyOCAyOCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTIgMTRIMjYiIHN0cm9rZT0iIzJDMDA3OCIgc3Ryb2tlLXdpZHRoPSI0IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPHBhdGggZD0iTTE0IDJWMjYiIHN0cm9rZT0iIzJDMDA3OCIgc3Ryb2tlLXdpZHRoPSI0IiBzdHJva2UtbGluZWNhcD0icm91bmQiLz4KPC9zdmc+Cg==";var Zn=e=>{let{children:t,jobCode:n}=e;const{headerRef:r,isiRef:u,setShowModal:c,setModalType:d,modalType:M}=(0,a.A)(),{0:m,1:h}=(0,i.useState)(!1),g=(0,i.useRef)(0);(0,i.useEffect)(()=>
2{if(w.Bd){const e=()=>{const e=window.scrollY;e>g.current&&h(!0),g.current=e};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)}},[h]),(0,i.useEffect)(()=>{w.Hk&&"1"===(0,w.Vf)("showFormError")&&(c(!0),d("formError")),w.Hk&&"1"===(0,w.Vf)("showModal")&&(c(!0),d("exit")),w.Hk&&"1"===(0,w.Vf)("isiCollapsed")&&h(!0)},[c]),(0,i.useEffect)(()=>{document.querySelectorAll('aside[data-kfs="isi-drawer"] a, aside[data-kfs="isi-drawer"] button').forEach(e=>{e.setAttribute("tabindex","-1")})},[]);const p=(0,s.useLocation)(),f=i.createElement("div",{className:"text-blue"},i.createElement("h2",{className:"indication--copy text-16 lg:text-18 font-semibold text-blue"},"WHAT IS TONMYA?"),i.createElement("p",{className:"pt-2 lg:text-18"},"TONMYA is a prescription medicine used in adults for the treatment of fibromyalgia. It is not known if TONMYA is safe and effective in children."),i.createElement("h2",{className:"text-16 lg:text-18 font-semibold text-blue pt-2"},"IMPORTANT SAFETY INFORMATION"),i.createElement("div",null,i.createElement("h2",{className:"text-16 lg:text-18 font-semibold text-blue pt-2"},"WHO SHOULD NOT TAKE TONMYA?"),i.createElement("p",{className:"lg:text-18"},i.createElement("b",null,"Do not take TONMYA if you:"))),i.createElement("ul",{className:"lg:text-18 list-disc pl-6 lg:space-y-1 lg:leading-[130%]"},i.createElement("li",null,"are allergic to cyclobenzaprine or any of the ingredients in TONMYA. Get medical help right away if you have symptoms of an allergic reaction, such as difficulty breathing, hives, swelling of your face or tongue, or itching"),i.createElement("li",null,"are taking an antidepressant medicine called a monoamine oxidase (MAO) inhibitor or if it has been 14 days or less since you stopped taking an MAO inhibitor"),i.createElement("li",null,"have had a recent heart attack, heart rhythm problems (arrhythmias), or heart failure"),i.createElement("li",null,"have an overactive thyroid (hyperthyroidism)")),i.createElement("h2",{className:"text-16 lg:text-18 font-semibold text-blue pt-1"},"WHAT SHOULD I TELL MY HEALTHCARE PROVIDER BEFORE USING TONMYA?"),i.createElement("p",{className:"lg:text-18"},"Tell your healthcare provider if you:"),i.createElement("ul",{className:"lg:text-18 list-disc pl-6 lg:space-y-1 lg:leading-[130%]"},i.createElement("li",null,"have a history of seizures"),i.createElement("li",null,"have trouble emptying your bladder (urinary retention)"),i.createElement("li",null,"have a history of eye problems, including glaucoma"),i.createElement("li",null,"have liver problems"),i.createElement("li",null,"are pregnant or plan to become pregnant. TONMYA may harm your unborn baby. You should not take TONMYA if you are planning to become pregnant or during the first trimester (first 12 weeks) of pregnancy"),i.createElement("li",null,i.createElement("strong",null,"are able to become pregnant:"),i.createElement("ul",{className:"lg:text-18 space-y-1 list-disc pl-6"},i.createElement("li",null,"Your healthcare provider should do a pregnancy test before you start treatment with TONMYA"),i.createElement("li",null,"Use effective birth control (contraception) during treatment with TONMYA and for 2 weeks after the final dose"),i.createElement("li",null,"Tell your healthcare provider right away if you are planning to become pregnant, you become pregnant, or think you are pregnant during treatment with TONMYA"),i.createElement("li",null,"If you are exposed to TONMYA during pregnancy, contact Tonix Medicine, Inc., at 1‑888‑869‑7633 (1‑888‑TNXPMED)"))),i.createElement("li",null,"are breastfeeding or plan to breastfeed. TONMYA may pass into your breast milk. Talk to your healthcare provider about the best way to feed your baby during treatment with TONMYA")),i.createElement("p",{className:"lg:text-18"},i.createElement("b",null,"Tell your healthcare provider about all the medicines you take,")," including prescription and over‑the‑counter medicines, vitamins, and herbal supplements."),i.createElement("p",{className:"lg:text-18"},"Especially tell your healthcare provider if you take:"),i.createElement("ul",{className:"lg:text-18 list-disc pl-6 lg:space-y-1 lg:leading-[130%]"},i.createElement("li",null,"a medicine to treat depression, mood, anxiety, psychotic, or thought disorders"),i.createElement("li",null,"a pain medicine called tramadol or meperidine"),i.createElement("li",null,"bupropion"),i.createElement("li",null,"verapamil"),i.createElement("li",null,"anticholinergic medicines"),i.createElement("li",null,"barbiturates or other medicines that depress your central nervous system (CNS depressants)"),i.createElement("li",null,"a blood pressure medicine called guanethidine")),i.createElement("h2",{className:"text-16 lg:text-18 font-semibold text-blue pt-1"},"HOW SHOULD I TAKE TONMYA?"),i.createElement("ul",{className:"lg:text-18 list-disc pl-6 lg:space-y-1 lg:leading-[130%]"},i.createElement("li",null,"Take TONMYA exactly as your healthcare provider tells you to take it."),i.createElement("li",null,"Your healthcare provider will tell you how much TONMYA to take."),i.createElement("li",null,"Your healthcare provider may change your TONMYA dose if needed."),i.createElement("li",null,"Take TONMYA 1 time a day at bedtime, around the same time each evening."),i.createElement("li",null,"Take TONMYA after brushing your teeth and other oral care is completed."),i.createElement("li",null,"Your mouth and the area under your tongue (sublingual) should be moist when you take TONMYA. Drink a few sips of water before you take TONMYA."),i.createElement("li",null,"Place the prescribed number of TONMYA sublingual tablet(s) under your tongue until dissolved."),i.createElement("li",null,i.createElement("strong",null,"Do not")," swallow whole, cut, crush, or chew TONMYA sublingual tablets."),i.createElement("li",null,"Avoid eating or drinking for at least 15 minutes after the TONMYA sublingual tablet is completely dissolved. Avoid any hot, cold, or acidic beverages until the morning."),i.createElement("li",null,"Avoid talking for at least 5 minutes after taking TONMYA."),i.createElement("li",null,"If you miss a dose of TONMYA, take your next dose the following evening. Do not take a missed dose during the day. Do not take 2 doses to make up for a missed dose."),i.createElement("li",null,"If you take too much TONMYA, call your healthcare provider or the Poison Help line at 1‑800‑222‑1222 or go to the nearest hospital emergency room right away.")),i.createElement("h2",{className:"text-16 lg:text-18 font-semibold text-blue pt-1"},"WHAT ARE THE POSSIBLE SIDE EFFECTS OF TONMYA?"),i.createElement("p",{className:"lg:text-18"},i.createElement("b",null,"Serious side effects may include:")),i.createElement("ul",{className:"lg:text-18 list-disc pl-6 lg:space-y-1 lg:leading-[130%]"},i.createElement("li",null,"Serotonin syndrome is a serious medical condition that may happen when TONMYA is taken with certain other medicines. Go to the nearest hospital emergency room right away if you develop any of the following signs or symptoms of serotonin syndrome:",i.createElement("ul",{className:"lg:text-18 list-disc pl-6 lg:space-y-1 lg:leading-[130%]"},i.createElement("li",null,"confusion, agitation, seeing or hearing things that are not real (hallucinations), coma, or other changes in mental status"),i.createElement("li",null,"high body temperature (hyperthermia)"),i.createElement("li",null,"shaking (tremor), coordination problems, or muscle twitching (overactive reflexes)"),i.createElement("li",null,"fast heartbeat, high or low blood pressure"),i.createElement("li",null,"sweating or fever"),i.createElement("li",null,"nausea, vomiting, or diarrhea"),i.createElement("li",null,"muscle stiffness or tightness"))),i.createElement("li",null,"TONMYA may cause serious side effects that may lead to heart attack or stroke. Symptoms may include:",i.createElement("ul",{className:"lg:text-18 list-disc pl-6 lg:space-y-1 lg:leading-[130%]"},i.createElement("li",null,"irregular or abnormal heartbeats (arrhythm
2ias)"),i.createElement("li",null,"fast heartbeat (tachycardia)"),i.createElement("li",null,"dizziness"),i.createElement("li",null,"feeling faint or lightheaded"),i.createElement("li",null,"chest pain or discomfort"),i.createElement("li",null,"shortness of breath"))),i.createElement("li",null,"TONMYA can cause side effects to the lining inside your mouth, including numbness, tingling, discomfort, pain, irritation, swelling (inflammation), and sores (lesions). These side effects can happen within minutes of taking TONMYA, and most go away within 60 minutes. Drink a few sips of water before taking TONMYA to decrease your chance of getting numbness or reduced feeling in your mouth. Tell your healthcare provider right away if you have:",i.createElement("ul",{className:"lg:text-18 list-disc pl-6 lg:space-y-1 lg:leading-[130%]"},i.createElement("li",null,"trouble eating, drinking, breathing, or swallowing"),i.createElement("li",null,"side effects that cover a large area in your mouth"),i.createElement("li",null,"pain in your mouth that makes it difficult to do your normal activities")))),i.createElement("p",{className:"pt-2 lg:text-18"},"Call your healthcare provider right away or go to the emergency room if you have any serious side effects."),i.createElement("p",{className:"lg:text-18 pt-1"},i.createElement("b",null,"The most common side effects include:")," reduced feeling in your mouth, mouth discomfort, abnormal TONMYA taste, feeling sleepy (somnolence), numbness or tingling in your mouth, mouth pain, tiredness, dry mouth, and sores in your mouth (canker sores)."),i.createElement("p",{className:"lg:text-18"},"These are not all the possible side effects of TONMYA."),i.createElement("h2",{className:"text-16 lg:text-18 font-semibold text-blue pt-1"},"WHAT SHOULD I AVOID WHILE USING TONMYA?"),i.createElement("p",{className:"lg:text-18"},"You should not drink alcohol until you know how TONMYA affects you. Taking TONMYA with alcohol or other medicines that depress your central nervous system can slow your thinking and physical response times. Do not drive, operate machinery, or do other dangerous activities until you know how TONMYA affects you."),i.createElement("h2",{className:"text-16 lg:text-18 font-semibold text-blue pt-1"},"HOW SHOULD I STORE TONMYA?"),i.createElement("ul",{className:"lg:text-18 list-disc pl-6 lg:space-y-1 lg:leading-[130%]"},i.createElement("li",null,"Store at room temperature (20°C to 25°C [68°F to 77°F]), but no lower than 15°C (59°F) and no higher than 30°C (86°F)."),i.createElement("li",null,"Keep the tablets in the original bottle with the desiccant (moisture absorber) canister, and keep the bottle closed to protect from moisture."),i.createElement("li",null,"The TONMYA bottle contains a polyester coil to help protect the sublingual tablets during shipping. Remove the polyester coil from the bottle and throw it away after opening the bottle for the first time."),i.createElement("li",null,"Keep out of reach of children.")),i.createElement("h2",{className:"text-16 lg:text-18 font-semibold text-blue pt-1"},"WHAT ARE THE INGREDIENTS IN TONMYA?"),i.createElement("p",{className:"lg:text-18"},"Active ingredient: Cyclobenzaprine hydrochloride USP"),i.createElement("p",{className:"lg:text-18"},"Inactive ingredients: Colloidal silicon dioxide, corn starch, crospovidone (Type A), D&C Yellow No.10, dibasic potassium phosphate, mannitol, and sodium stearyl fumarate."),i.createElement("h2",{className:"text-16 lg:text-18 font-semibold text-blue pt-1"},"Need help or have questions?"),i.createElement("p",{className:"lg:text-18"},"If you are exposed to TONMYA during pregnancy, contact Tonix Medicines, Inc. at 1‑888‑869‑7633 (1‑888‑TNXPMED)."),i.createElement("p",{className:"pt-2 lg:text-18"},"Call your healthcare provider for medical advice about side effects. You may report side effects to Tonix Medicines, Inc. at 1‑888‑869‑7633 or to the FDA at 1‑800‑FDA‑1088 or ",i.createElement(Dn,{url:"https://www.FDA.gov/medwatch",className:"link-underlined"},"www.FDA.gov/medwatch"),"."));return i.createElement(i.Fragment,null,i.createElement(o.G3,{reCaptchaKey:"6Ldl4rorAAAAAAxvWqAr5ThtN_n-xLb_-RsAJ5jL"}
2,i.createElement(R,{innerRef:r,nav:l.A,location:p}),i.createElement("main",{id:"main-content",className:"relative top-[6.875rem] lg:top-[2.5rem]"},t,i.createElement("section",{id:"isi",ref:u,className:"scroll-mt-[98px] lg:scroll-mt-[115px]"},i.createElement(Fn,null,i.createElement(Fn.Wrapper,null,e=>{let{isExpanded:t,setIsFullyCollapsed:n,isFullyCollapsed:r}=e;return i.createElement(i.Fragment,null,i.createElement(Fn.Drawer,{className:"bg-lightYellow lg:max-w-[81.25rem] 4xl:max-w-[90rem] lg:mx-auto relative rounded-t-16\n                        "+(t?"expanded !max-h-[calc(100dvh-222px)] lg:!max-h-[calc(100dvh-181px)] pb-10":"")+"\n                        "+(!m&&!r||t?"":"fully-collapsed !max-h-[68px] lg:!max-h-[56px]")+"\n                        "+(t||m||r?"":"!max-h-[310px] lg:!max-h-[245px]")+"\n                      ",options:{increasedCollapse:!0}},i.createElement(A.A,{className:"pt-4 max-w-[76rem] 4xl:mx-[4%] "+(!m&&!r||t?"":"pt-3")},i.createElement("div",{className:"absolute right-5 lg:right-10 flex gap-3 lg:gap-6"},!m&&!r&&!t&&i.createElement(i.Fragment,null,i.createElement(Fn.Toggle,{className:"w-6 h-6 flex items-center justify-center"},i.createElement("img",{className:"w-6 h-6",src:Bn,alt:""})),i.createElement(Fn.Toggle,{className:"w-6 h-6 flex items-center justify-center",onClick:()=>{n(!0)},"aria-label":"Collapse ISI"},i.createElement("img",{className:"w-6 h-6",src:Vn,alt:""}))),(m||r)&&!t&&i.createElement(Fn.Toggle,{className:"w-6 h-6 flex items-center justify-center"},i.createElement("img",{className:"w-6 h-6",src:Bn,alt:""})),t&&i.createElement(Fn.Toggle,{className:"w-6 h-6 flex items-center justify-center"},i.createElement("img",{className:"w-6 h-6",src:Vn,alt:""}))),i.createElement("h2",{className:"text-16 lg:text-18 font-bold text-blue pb-3"},"INDICATION AND ",i.createElement("span",{className:"inline lg:hidden"},"IMPORTANT",i.createElement("br",{className:"xl:hidden"}),"SAFETY INFORMATION")," ",i.createElement("span",{className:"hidden lg:inline"},"IMPORTANT SAFETY INFORMATION")),f,i.createElement(i.Fragment,null,i.createElement("p",{className:"text-blue lg:text-18"},"TMY‑DTC‑260010 02/26")))),i.createElement(Fn.Body,{className:"bg-lightYellow pt-10 pb-28 lg:pt-10 lg:pb-10"},i.createElement(A.A,null,f)))})))),i.createElement(An,{jobCode:n}),"exit"===M&&i.createElement(yn,null),"formError"===M&&i.createElement(jn,null)))}},3771:function(e,t,n){"use strict";n.d(t,{a6:function(){return r},am:function(){return s},vT:function(){return o}});var i=n(4043);
2const r=(0,i.A)(.42,0,1,1),o=(0,i.A)(0,0,.58,1),s=(0,i.A)(.42,0,.58,1)},4043:function(e,t,n){"use strict";n.d(t,{A:function(){return a}});var i=n(1533);const r=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e,o=1e-7,s=12;function a(e,t,n,a){if(e===t&&n===a)return i.l;const l=t=>function(e,t,n,i,a){let l,u,c=0;do{u=t+(n-t)/2,l=r(u,i,a)-e,l>0?n=u:t=u}while(Math.abs(l)>o&&++c<s);return u}(t,0,1,e,n);return e=>0===e||1===e?e:r(l(e),t,a)}},4424:function(e,t,n){"use strict";n.d(t,{Y:function(){return o}});var i=n(6540),r=n(6339);function o(e){let t=(0,i.useRef)(e);return(0,r.s)(()=>{t.current=e},[e]),t}},4536:function(e,t,n){"use strict";n.d(t,{Bd:function(){return a},Hk:function(){return i},Vf:function(){return r},YJ:function(){return l},sg:function(){return s}});n(6540);const i="undefined"!=typeof window&&window.location.href.indexOf("ed=1")>0,r=e=>{e=e.replace(/[\\[]/,"\\[").replace(/[\]]/,"\\]");const t=new RegExp("[\\?&]"+e+"=([^&#]*)").exec(window.location.search);return null===t?"":decodeURIComponent(t[1].replace(/\+/g," "))},o=new WeakMap,s=(e,t,n,i)=>{o.has(t)||o.set(t,{});const r=o.get(t);return function(){const o=this,s=arguments,a=i&&!r[e];r[e]&&clearTimeout(r[e]),r[e]=setTimeout(()=>{delete r[e],i||t.apply(o,s)},n),a&&t.apply(o,s)}},a="undefined"!=typeof window,l=e=>{const t=document.querySelector(e);t&&(t.scrollIntoView({behavior:"smooth"}),setTimeout(()=>{window.dispatchEvent(new CustomEvent("smooth-scroll-complete"))},1e3))}},4586:function(e,t,n){"use strict";n.d(t,{D:function(){return i}});var i=(e=>(e.Space=" ",e.Enter="Enter",e.Escape="Escape",e.Backspace="Backspace",e.Delete="Delete",e.ArrowLeft="ArrowLeft",e.ArrowUp="ArrowUp",e.ArrowRight="ArrowRight",e.ArrowDown="ArrowDown",e.Home="Home",e.End="End",e.PageUp="PageUp",e.PageDown="PageDown",e.Tab="Tab",e))(i||{})},5015:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var i=n(6540),r=n(4424);let o=function(e){let t=(0,r.Y)(e);return i.useCallback((...e)=>t.current(...e),[t])}},5128:function(e,t,n){"use strict";n.d(t,{E:function(){return r}});var i=n(6540);const r=n(8288).B?i.useLayoutEffect:i.useEffect},5160:function(e,t,n){"use strict";var i=n(6540);var r="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},o=i.useSyncExternalStore,s=i.useRef,a=i.useEffect,l=i.useMemo,u=i.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,i,c){var d=s(null);if(null===d.current){var M={hasValue:!1,value:null};d.current=M}else M=d.current;d=l(function(){function e(e){if(!a){if(a=!0,o=e,e=i(e),void 0!==c&&M.hasValue){var t=M.value;if(c(t,e))return s=t}return s=e}if(t=s,r(o,e))return t;var n=i(e);return void 0!==c&&c(t,n)?(o=e,t):(o=e,s=n)}var o,s,a=!1,l=void 0===n?null:n;return[function(){return e(t())},null===l?void 0:function(){return e(l())}]},[t,n,i,c]);var m=o(e,d[0],d[1]);return a(function(){M.hasValue=!0,M.value=m},[m]),u(m),m}},5446:function(e,t,n){"use strict";n.d(t,{Q:function(){return i}});const i=(0,n(6540).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},5451:function(e,t,n){"use strict";n.d(t,{_:function(){return r}});var i=n(6540);function r(e){return(0,i.useMemo)(()=>e,Object.values(e))}},5464:function(e,t,n){"use strict";var i=n(8587),r=n(6540);const o=["url","children","fileLocation","className"];t.A=e=>{let{url:t,children:n,className:s}=e,a=(0,i.A)(e,o);return r.createElement("a",Object.assign({href:t,target:"_blank",rel:"noreferrer nofollow","data-kfs":"file-download",className:""+(s||"")},a),n)}},5630:function(e,t,n){"use strict";var i=n(8587),r=n(6540);const o=["children","className"];t.A=e=>{let{children:t,className:n}=e,s=(0,i.A)(e,o);return r.createElement("div",Object.assign({className:"mx-[4%] max-w-[75.3125rem] md:mx-[8%] xl:mx-auto 4xl:max-w-[90rem] "+(n||"")},s),t)}},5897:function(e,t,n){"use strict";function i(e,t,...n){if(e in t){let i=t[e];return"function"==typeof i?i(...n):i}let r=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map(e=>`"${e}"`).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(r,i),r}n.d(t,{Y:function(){return i}})},6004:function(e,t,n){"use strict";var i=n(6540);const r=[{title:i.createElement(i.Fragment,null,"Living with",i.createElement("br",{className:"hidden lg:block min-[1230px]:hidden"})," Fibromyalgia"),url:"/living-with-fibromyalgia"},{title:i.createElement(i.Fragment,null,"About",i.createElement("br",{className:"hidden lg:block min-[1230px]:hidden"})," TONMYA"),url:"/about-tonmya",subNav:[{title:"What is TONMYA?",url:"/about-tonmya#what-is-tonmya"},{title:"Results with TONMYA",url:"/about-tonmya#results-with-tonmya"},{title:"How to Take TONMYA",url:"/about-tonmya#how-to-take-tonmya"},{title:"Side Effects of TONMYA",url:"/about-tonmya#side-effects-of-tonmya"}]},{title:i.createElement(i.Fragment,null,"Start & Save",i.createElement("br",{className:"hidden lg:block min-[1230px]:hidden"})," on TONMYA"),url:"/savings"},{title:i.createElement(i.Fragment,null,"Support &",i.createElement("br",{className:"hidden lg:block min-[1230px]:hidden"})," Resources"),url:"/resources",subNav:[{title:"Your TONMYA Toolkit",url:"/resources#toolkit",dataKfs:"cta"},{title:"FAQs",url:"/resources#faqs"}],dataKfs:"cta"}];t.A=r},6160:function(e,t,n){"use strict";function i(e){if("undefined"==typeof Proxy)return e;const t=new Map;return new Proxy((...t)=>e(...t),{get:(n,i)=>"create"===i?e:(t.has(i)||t.set(i,e(i)),t.get(i))})}function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}n.d(t,{P:function(){return ta}});const o=e=>Array.isArray(e);function s(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}function a(e){return"string"==typeof e||Array.isArray(e)}function l(e){const t=[{},{}];
2return null==e||e.values.forEach((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()}),t}function u(e,t,n,i){if("function"==typeof t){const[r,o]=l(i);t=t(void 0!==n?n:e.custom,r,o)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[r,o]=l(i);t=t(void 0!==n?n:e.custom,r,o)}return t}function c(e,t,n){const i=e.getProps();return u(i,t,void 0!==n?n:i.custom,e)}const d=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],M=["initial",...d];function m(e){let t;return()=>(void 0===t&&(t=e()),t)}const h=m(()=>void 0!==window.ScrollTimeline);class g{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}get finished(){return Promise.all(this.animations.map(e=>"finished"in e?e.finished:e))}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){const n=this.animations.map(n=>h()&&n.attachTimeline?n.attachTimeline(e):"function"==typeof t?t(n):void 0);return()=>{n.forEach((e,t)=>{e&&e(),this.animations[t].stop()})}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach(t=>t[e]())}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}class p extends g{then(e,t){return Promise.all(this.animations).then(e).catch(t)}}function f(e,t){return e?e[t]||e.default||e:void 0}const y=2e4;function N(e){let t=0;let n=e.next(t);for(;!n.done&&t<y;)t+=50,n=e.next(t);return t>=y?1/0:t}function D(e){return"function"==typeof e}function j(e,t){e.timeline=t,e.onfinish=null}const I=e=>Array.isArray(e)&&"number"==typeof e[0],v={linearEasing:void 0};function T(e,t){const n=m(e);return()=>{var e;return null!==(e=v[t])&&void 0!==e?e:n()}}const x=T(()=>{try{document.createElement("div").animate({opacity:0}
2,{easing:"linear(0, 1)"})}catch(e){return!1}return!0},"linearEasing"),z=(e,t,n)=>{const i=t-e;return 0===i?1:(n-e)/i},E=(e,t,n=10)=>{let i="";const r=Math.max(Math.round(t/n),2);for(let o=0;o<r;o++)i+=e(z(0,r-1,o))+", ";return`linear(${i.substring(0,i.length-2)})`};function A(e){return Boolean("function"==typeof e&&x()||!e||"string"==typeof e&&(e in O||x())||I(e)||Array.isArray(e)&&e.every(A))}const w=([e,t,n,i])=>`cubic-bezier(${e}, ${t}, ${n}, ${i})`,O={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:w([0,.65,.55,1]),circOut:w([.55,0,1,.45]),backIn:w([.31,.01,.66,-.59]),backOut:w([.33,1.53,.69,.99])};function L(e,t){return e?"function"==typeof e&&x()?E(e,t):I(e)?w(e):Array.isArray(e)?e.map(e=>L(e,t)||O.easeOut):O[e]:void 0}const b={x:!1,y:!1};function S(){return b.x||b.y}function C(e,t){const n=function(e,t,n){var i;if(e instanceof Element)return[e];if("string"==typeof e){let r=document;t&&(r=t.current);const o=null!==(i=null==n?void 0:n[e])&&void 0!==i?i:r.querySelectorAll(e);return o?Array.from(o):[]}return Array.from(e)}(e),i=new AbortController;return[n,{passive:!0,...t,signal:i.signal},()=>i.abort()]}function k(e){return t=>{"touch"===t.pointerType||S()||e(t)}}const Y=(e,t)=>!!t&&(e===t||Y(e,t.parentElement)),P=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary,Q=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);const U=new WeakSet;function R(e){return t=>{"Enter"===t.key&&e(t)}}function F(e,t){e.dispatchEvent(new PointerEvent("pointer"+t,{isPrimary:!0,bubbles:!0}))}function V(e){return P(e)&&!S()}function B(e,t,n={}){const[i,r,o]=C(e,n),s=e=>{const i=e.currentTarget;if(!V(e)||U.has(i))return;U.add(i);const o=t(e),s=(e,t)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),V(e)&&U.has(i)&&(U.delete(i),"function"==typeof o&&o(e,{success:t}))},a=e=>{s(e,n.useGlobalTarget||Y(i,e.target))},l=e=>{s(e,!1)};window.addEventListener("pointerup",a,r),window.addEventListener("pointercancel",l,r)};return i.forEach(e=>{(function(e){return Q.has(e.tagName)||-1!==e.tabIndex})(e)||null!==e.getAttribute("tabindex")||(e.tabIndex=0);(n.useGlobalTarget?window:e).addEventListener("pointerdown",s,r),e.addEventListener("focus",e=>((e,t)=>{const n=e.currentTarget;if(!n)return;const i=R(()=>{if(U.has(n))return;F(n,"down");const e=R(()=>{F(n,"up")});n.addEventListener("keyup",e,t),n.addEventListener("blur",()=>F(n,"cancel"),t)});n.addEventListener("keydown",i,t),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),t)})(e,r),r)}),o}const Z=e=>1e3*e,G=e=>e/1e3;var W=n(1533);const H=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],J=new Set(H),X=new Set(["width","height","top","left","right","bottom",...H]),_=e=>o(e)?e[e.length-1]||0:e,$=!1,K=!1;const q=["read","resolveKeyframes","update","preRender","render","postRender"];function ee(e,t){let n=!1,i=!0;const r={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,s=q.reduce((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,i=!1,r=!1;const o=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(t){o.has(t)&&(l.schedule(t),e()),t(s)}const l={schedule:(e,r=!1,s=!1)=>{const a=s&&i?t:n;return r&&o.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),o.delete(e)},process:e=>{s=e,i?r=!0:(i=!0,[t,n]=[n,t],t.forEach(a),t.clear(),i=!1,r&&(r=!1,l.process(e)))}};return l}(o),e),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:M}=s,m=()=>{const o=K?r.timestamp:performance.now();n=!1,r.delta=i?1e3/60:Math.max(Math.min(o-r.timestamp,40),1),r.timestamp=o,r.isProcessing=!0,a.process(r),l.process(r),u.process(r),c.process(r),d.process(r),M.process(r),r.isProcessing=!1,n&&t&&(i=!1,e(m))};return{schedule:q.reduce((t,o)=>{const a=s[o];return t[o]=(t,o=!1,s=!1)=>(n||(n=!0,i=!0,r.isProcessing||e(m)),a.schedule(t,o,s)),t},{}),cancel:e=>{for(let t=0;t<q.length;t++)s[q[t]].cancel(e)},state:r,steps:s}}const{schedule:te,cancel:ne,state:ie,steps:re}=ee("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:W.l,!0);let oe;function se(){oe=void 0}const ae={now:()=>(void 0===oe&&ae.set(ie.isProcessing||K?ie.timestamp:performance.now()),oe),set:e=>{oe=e,queueMicrotask(se)}};function le(e,t){-1===e.indexOf(t)&&e.push(t)}function ue(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class ce{constructor(){this.subscriptions=[]}add(e){return le(this.subscriptions,e),()=>ue(this.subscriptions,e)}
2notify(e,t,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](e,t,n);else for(let r=0;r<i;r++){const i=this.subscriptions[r];i&&i(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function de(e,t){return t?e*(1e3/t):0}const Me={current:void 0};class me{constructor(e,t={}){this.version="11.18.2",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{const n=ae.now();this.updatedAt!==n&&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.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=ae.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}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 ce);const n=this.events[e].add(t);return"change"===e?()=>{n(),te.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const 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,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Me.current&&Me.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=ae.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return de(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise(t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function he(e,t){return new me(e,t)}function ge(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,he(n))}const pe=e=>Boolean(e&&e.getVelocity);function fe(e,t){const n=e.getValue("willChange");if(i=n,Boolean(pe(i)&&i.add))return n.add(t);var i}const ye=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Ne="data-"+ye("framerAppearId");function De(e){return e.props[Ne]}const je=!1;var Ie=n(4043);const ve=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,Te=e=>t=>1-e(1-t),xe=(0,Ie.A)(.33,1.53,.69,.99),ze=Te(xe),Ee=ve(ze),Ae=e=>(e*=2)<1?.5*ze(e):.5*(2-Math.pow(2,-10*(e-1))),we=e=>1-Math.sin(Math.acos(e)),Oe=Te(we),Le=ve(we),be=e=>/^0[^.\s]+$/u.test(e);function Se(e){return"number"==typeof e?0===e:null===e||("none"===e||"0"===e||be(e))}const Ce=(e,t,n)=>n>t?t:n<e?e:n,ke={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Ye={...ke,transform:e=>Ce(0,1,e)},Pe={...ke,default:1},Qe=e=>Math.round(1e5*e)/1e5,Ue=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;const Re=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Fe=(e,t)=>n=>Boolean("string"==typeof n&&Re.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),Ve=(e,t,n)=>i=>{if("string"!=typeof i)return i;const[r,o,s,a]=i.match(Ue);return{[e]:parseFloat(r),[t]:parseFloat(o),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},Be={...ke,transform:e=>Math.round((e=>Ce(0,255,e))(e))},Ze={test:Fe("rgb","red"),parse:Ve("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:i=1})=>"rgba("+Be.transform(e)+", "+Be.transform(t)+", "+Be.transform(n)+", "+Qe(Ye.transform(i))+")"};const Ge={test:Fe("#"),parse:function(e){let t="",n="",i="",r="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),i=e.substring(5,7),r=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),i=e.substring(3,4),r=e.substring(4,5),t+=t,n+=n,i+=i,r+=r),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(i,16),alph
2a:r?parseInt(r,16)/255:1}},transform:Ze.transform},We=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),He=We("deg"),Je=We("%"),Xe=We("px"),_e=We("vh"),$e=We("vw"),Ke={...Je,parse:e=>Je.parse(e)/100,transform:e=>Je.transform(100*e)},qe={test:Fe("hsl","hue"),parse:Ve("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:i=1})=>"hsla("+Math.round(e)+", "+Je.transform(Qe(t))+", "+Je.transform(Qe(n))+", "+Qe(Ye.transform(i))+")"},et={test:e=>Ze.test(e)||Ge.test(e)||qe.test(e),parse:e=>Ze.test(e)?Ze.parse(e):qe.test(e)?qe.parse(e):Ge.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?Ze.transform(e):qe.transform(e)},tt=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;const nt="number",it="color",rt=/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 ot(e){const t=e.toString(),n=[],i={color:[],number:[],var:[]},r=[];let o=0;const s=t.replace(rt,e=>(et.test(e)?(i.color.push(o),r.push(it),n.push(et.parse(e))):e.startsWith("var(")?(i.var.push(o),r.push("var"),n.push(e)):(i.number.push(o),r.push(nt),n.push(parseFloat(e))),++o,"${}")).split("${}");return{values:n,split:s,indexes:i,types:r}}function st(e){return ot(e).values}function at(e){const{split:t,types:n}=ot(e),i=t.length;return e=>{let r="";for(let o=0;o<i;o++)if(r+=t[o],void 0!==e[o]){const t=n[o];r+=t===nt?Qe(e[o]):t===it?et.transform(e[o]):e[o]}return r}}const lt=e=>"number"==typeof e?0:e;const ut={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(Ue))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(tt))||void 0===n?void 0:n.length)||0)>0},parse:st,createTransformer:at,getAnimatableNone:function(e){const t=st(e);return at(e)(t.map(lt))}},ct=new Set(["brightness","contrast","saturate","opacity"]);function dt(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[i]=n.match(Ue)||[];if(!i)return e;const r=n.replace(i,"");let o=ct.has(t)?1:0;return i!==n&&(o*=100),t+"("+o+r+")"}const Mt=/\b([a-z-]*)\(.*?\)/gu,mt={...ut,getAnimatableNone:e=>{const t=e.match(Mt);return t?t.map(dt).join(" "):e}},ht={borderWidth:Xe,borderTopWidth:Xe,borderRightWidth:Xe,borderBottomWidth:Xe,borderLeftWidth:Xe,borderRadius:Xe,radiu
2s:Xe,borderTopLeftRadius:Xe,borderTopRightRadius:Xe,borderBottomRightRadius:Xe,borderBottomLeftRadius:Xe,width:Xe,maxWidth:Xe,height:Xe,maxHeight:Xe,top:Xe,right:Xe,bottom:Xe,left:Xe,padding:Xe,paddingTop:Xe,paddingRight:Xe,paddingBottom:Xe,paddingLeft:Xe,margin:Xe,marginTop:Xe,marginRight:Xe,marginBottom:Xe,marginLeft:Xe,backgroundPositionX:Xe,backgroundPositionY:Xe},gt={rotate:He,rotateX:He,rotateY:He,rotateZ:He,scale:Pe,scaleX:Pe,scaleY:Pe,scaleZ:Pe,skew:He,skewX:He,skewY:He,distance:Xe,translateX:Xe,translateY:Xe,translateZ:Xe,x:Xe,y:Xe,z:Xe,perspective:Xe,transformPerspective:Xe,opacity:Ye,originX:Ke,originY:Ke,originZ:Xe},pt={...ke,transform:Math.round},ft={...ht,...gt,zIndex:pt,size:Xe,fillOpacity:Ye,strokeOpacity:Ye,numOctaves:pt},yt={...ft,color:et,backgroundColor:et,outlineColor:et,fill:et,stroke:et,borderColor:et,borderTopColor:et,borderRightColor:et,borderBottomColor:et,borderLeftColor:et,filter:mt,WebkitFilter:mt},Nt=e=>yt[e];function Dt(e,t){let n=Nt(e);return n!==mt&&(n=ut),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const jt=new Set(["auto","none","0"]);const It=e=>e===ke||e===Xe,vt=(e,t)=>parseFloat(e.split(", ")[t]),Tt=(e,t)=>(n,{transform:i})=>{if("none"===i||!i)return 0;const r=i.match(/^matrix3d\((.+)\)$/u);if(r)return vt(r[1],t);{const t=i.match(/^matrix\((.+)\)$/u);return t?vt(t[1],e):0}},xt=new Set(["x","y","z"]),zt=H.filter(e=>!xt.has(e));const Et={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Tt(4,13),y:Tt(5,14)};Et.translateX=Et.x,Et.translateY=Et.y;const At=new Set;let wt=!1,Ot=!1;function Lt(){if(Ot){const e=Array.from(At).filter(e=>e.needsMeasurement),t=new Set(e.map(e=>e.element)),n=new Map;t.forEach(e=>{const t=function(e){const t=[];return zt.forEach(n=>{const i=e.getValue(n);void 0!==i&&(t.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),t}(e);t.length&&(n.set(e,t),e.render())}),e.forEach(e=>e.measureInitialState()),t.forEach(e=>{e.render();const t=n.get(e);t&&t.forEach(([t,n])=>{var i;null===(i=e.getValue(t))||void 0===i||i.set(n)})}),e.forEach(e=>e.measureEndState()),e.forEach(e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)})}Ot=!1,wt=!1,At.forEach(e=>e.complete()),At.clear()}function bt(){At.forEach(e=>{e.readKeyframes(),e.needsMeasurement&&(Ot=!0)})}class St{constructor(e,t,n,i,r,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=i,this.element=r,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(At.add(this),wt||(wt=!0,te.read(bt),te.resolveKeyframes(Lt))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:i}=this;for(let r=0;r<e.length;r++)if(null===e[r])if(0===r){const r=null==i?void 0:i.get(),o=e[e.length-1];if(void 0!==r)e[0]=r;else if(n&&t){const i=n.readValue(t,o);null!=i&&(e[0]=i)}void 0===e[0]&&(e[0]=o),i&&void 0===r&&i.set(e[0])}else e[r]=e[r-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),At.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,At.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}let Ct=W.l,kt=W.l;const Yt=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Pt=e=>t=>"string"==typeof t&&t.startsWith(e),Qt=Pt("--"),Ut=Pt("var(--"),Rt=e=>!!Ut(e)&&Ft.test(e.split("/*")[0].trim()),Ft=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,Vt=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Bt(e,t,n=1){kt(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[i,r]=function(e){const t=Vt.exec(e);if(!t)return[,];const[,n,i,r]=t;return[`--${null!=n?n:i}`,r]}(e);if(!i)return;const o=window.getComputedStyle(t).getPropertyValue(i);if(o){const e=o.trim();return Yt(e)?parseFloat(e):e}return Rt(r)?Bt(r,t,n+1):r}const Zt=e=>t=>t.test(e),Gt=[ke,Xe,Je,He,$e,_e,{test:e=>"auto"===e,parse:e=>e}],Wt=e=>Gt.find(Zt(e));class Ht extends St{constructor(e,t,n,i,r){super(e,t,n,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let a=0;a<e.length;a++){let n=e[a];if("string"==typeof n&&(n=n.trim(),Rt(n))){const i=Bt(n,t.current);void 0!==i&&(e[a]=i),a===e.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!X.has(n)||2!==e.length)return;const[i,r]=e,o=Wt(i),s=Wt(r);if(o!==s)if(It(o)&&It(s))for(let a=0;a<e.length;a++){const t=e[a];"string"==typeof t&&(e[a]=parseFloat(t))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let i=0;i<e.length;i++)Se(e[i])&&n.push(i);n.length&&function(e,t,n){let i,r=0;for(;r<e.length&&!i;){const t=e[r];"string"==typeof t&&!jt.has(t)&&ot(t).values.length&&(i=e[r]),r++}
2if(i&&n)for(const o of t)e[o]=Dt(n,i)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Et[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const i=t[t.length-1];void 0!==i&&e.getValue(n,i).jump(i,!1)}measureEndState(){var e;const{element:t,name:n,unresolvedKeyframes:i}=this;if(!t||!t.current)return;const r=t.getValue(n);r&&r.jump(this.measuredOrigin,!1);const o=i.length-1,s=i[o];i[o]=Et[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),(null===(e=this.removedTransforms)||void 0===e?void 0:e.length)&&this.removedTransforms.forEach(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}const Jt=(e,t)=>"zIndex"!==t&&(!("number"!=typeof e&&!Array.isArray(e))||!("string"!=typeof e||!ut.test(e)&&"0"!==e||e.startsWith("url(")));function Xt(e,t,n,i){const r=e[0];if(null===r)return!1;if("display"===t||"visibility"===t)return!0;const o=e[e.length-1],s=Jt(r,t),a=Jt(o,t);return Ct(s===a,`You are trying to animate ${t} from "${r}" to "${o}". ${r} is not an animatable value - to enable this animation set ${r} to a value animatable to ${o} via the \`style\` property.`),!(!s||!a)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||D(n))&&i)}const _t=e=>null!==e;function $t(e,{repeat:t,repeatType:n="loop"},i){const r=e.filter(_t),o=t&&"loop"!==n&&t%2==1?0:r.length-1;return o&&void 0!==i?i:r[o]}class Kt{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:o="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=ae.now(),this.options={autoplay:e,delay:t,type:n,repeat:i,repeatDelay:r,repeatType:o,...s},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return this._resolved||this.hasAttemptedResolve||(bt(),Lt()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=ae.now(),this.hasAttemptedResolve=!0;const{name:n,type:i,velocity:r,delay:o,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!Xt(e,n,i,r)){if(je||!o)return a&&a($t(e,this.options,t)),s&&s(),void this.resolveFinishedPromise();this.options.duration=0}const u=this.initPlayback(e,t);!1!==u&&(this._resolved={keyframes:e,finalKeyframe:t,...u},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}const qt=(e,t,n)=>e+(t-e)*n;function en(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function tn(e,t){return n=>n>0?t:e}const nn=(e,t,n)=>{const i=e*e,r=n*(t*t-i)+i;return r<0?0:Math.sqrt(r)},rn=[Ge,Ze,qe];function on(e){const t=(n=e,rn.find(e=>e.test(n)));var n;if(Ct(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let i=t.parse(e);return t===qe&&(i=function({hue:e,saturation:t,lightness:n,alpha:i}){e/=360,n/=100;let r=0,o=0,s=0;if(t/=100){const i=n<.5?n*(1+t):n+t-n*t,a=2*n-i;r=en(a,i,e+1/3),o=en(a,i,e),s=en(a,i,e-1/3)}else r=o=s=n;return{red:Math.round(255*r),green:Math.round(255*o),blue:Math.round(255*s),alpha:i}}(i)),i}const sn=(e,t)=>{const n=on(e),i=on(t);if(!n||!i)return tn(e,t);const r={...n};return e=>(r.red=nn(n.red,i.red,e),r.green=nn(n.green,i.green,e),r.blue=nn(n.blue,i.blue,e),r.alpha=qt(n.alpha,i.alpha,e),Ze.transform(r))},an=(e,t)=>n=>t(e(n)),ln=(...e)=>e.reduce(an),un=new Set(["none","hidden"]);function cn(e,t){return n=>qt(e,t,n)}function dn(e){return"number"==typeof e?cn:"string"==typeof e?Rt(e)?tn:et.test(e)?sn:hn:Array.isArray(e)?Mn:"object"==typeof e?et.test(e)?sn:mn:tn}function Mn(e,t){const n=[...e],i=n.length,r=e.map((e,n)=>dn(e)(e,t[n]));return e=>{for(let t=0;t<i;t++)n[t]=r[t](e);return n}}function mn(e,t){const n={...e,...t},i={};for(const r in n)void 0!==e[r]&&void 0!==t[r]&&(i[r]=dn(e[r])(e[r],t[r]));return e=>{for(const t in i)n[t]=i[t](e);return n}}const hn=(e,t)=>{const n=ut.createTransformer(t),i=ot(e),r=ot(t);return i.indexes.var.length===r.indexes.var.length&&i.indexes.color.length===r.indexes.color.length&&i.indexes.number.length>=r.indexes.number.length?un.has(e)&&!r.values.length||un.has(t)&&!i.values.length?function(e,t){return un.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):ln(Mn(function(e,t){var n;const i=[],r={color:0,var:0,number:0};for(let o=0;o<t.values.length;o++){const s=t.types[o],a=e.indexes[s][r[s]],l=null!==(n=e.values[a])&&void 0!==n?n:0;i[o]=l,r[s]++}return i}(i,r),r.values),n):(Ct(!0,`Complex values '${e}' and '${t}
2' 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.`),tn(e,t))};function gn(e,t,n){if("number"==typeof e&&"number"==typeof t&&"number"==typeof n)return qt(e,t,n);return dn(e)(e,t)}function pn(e,t,n){const i=Math.max(t-5,0);return de(n-e(i),t-i)}const fn=100,yn=10,Nn=1,Dn=0,jn=800,In=.3,vn=.3,Tn={granular:.01,default:2},xn={granular:.005,default:.5},zn=.01,En=10,An=.05,wn=1,On=.001;function Ln({duration:e=jn,bounce:t=In,velocity:n=Dn,mass:i=Nn}){let r,o;Ct(e<=Z(En),"Spring duration must be 10 seconds or less");let s=1-t;s=Ce(An,wn,s),e=Ce(zn,En,G(e)),s<1?(r=t=>{const i=t*s,r=i*e,o=i-n,a=Sn(t,s),l=Math.exp(-r);return On-o/a*l},o=t=>{const i=t*s*e,o=i*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-i),u=Sn(Math.pow(t,2),s);return(-r(t)+On>0?-1:1)*((o-a)*l)/u}):(r=t=>Math.exp(-t*e)*((t-n)*e+1)-.001,o=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let i=n;for(let r=1;r<bn;r++)i-=e(i)/t(i);return i}(r,o,5/e);if(e=Z(e),isNaN(a))return{stiffness:fn,damping:yn,duration:e};{const t=Math.pow(a,2)*i;return{stiffness:t,damping:2*s*Math.sqrt(i*t),duration:e}}}const bn=12;function Sn(e,t){return e*Math.sqrt(1-t*t)}const Cn=["duration","bounce"],kn=["stiffness","damping","mass"];function Yn(e,t){return t.some(t=>void 0!==e[t])}function Pn(e=vn,t=In){const n="object"!=typeof e?{visualDuration:e,keyframes:[0,1],bounce:t}:e;let{restSpeed:i,restDelta:r}=n;const o=n.keyframes[0],s=n.keyframes[n.keyframes.length-1],a={done:!1,value:o},{stiffness:l,damping:u,mass:c,duration:d,velocity:M,isResolvedFromDuration:m}=function(e){let t={velocity:Dn,stiffness:fn,damping:yn,mass:Nn,isResolvedFromDuration:!1,...e};if(!Yn(e,kn)&&Yn(e,Cn))if(e.visualDuration){const n=e.visualDuration,i=2*Math.PI/(1.2*n),r=i*i,o=2*Ce(.05,1,1-(e.bounce||0))*Math.sqrt(r);t={...t,mass:Nn,stiffness:r,damping:o}}else{const n=Ln(e);t={...t,...n,mass:Nn},t.isResolvedFromDuration=!0}return t}({...n,velocity:-G(n.velocity||0)}),h=M||0,g=u/(2*Math.sqrt(l*c)),p=s-o,f=G(Math.sqrt(l/c)),D=Math.abs(p)<5;let j;if(i||(i=D?Tn.granular:Tn.default),r||(r=D?xn.granular:xn.default),g<1){const e=Sn(f,g);j=t=>{const n=Math.exp(-g*f*t);return s-n*((h+g*f*p)/e*Math.sin(e*t)+p*Math.cos(e*t))}}else if(1===g)j=e=>s-Math.exp(-f*e)*(p+(h+f*p)*e);else{const e=f*Math.sqrt(g*g-1);j=t=>{const n=Math.exp(-g*f*t),i=Math.min(e*t,300);return s-n*((h+g*f*p)*Math.sinh(i)+e*p*Math.cosh(i))/e}}const I={calculatedDuration:m&&d||null,next:e=>{const t=j(e);if(m)a.done=e>=d;else{let n=0;g<1&&(n=0===e?Z(h):pn(j,e,t));const o=Math.abs(n)<=i,l=Math.abs(s-t)<=r;a.done=o&&l}return a.value=a.done?s:t,a},toString:()=>{const e=Math.min(N(I),y),t=E(t=>I.next(e*t).value,e,30);return e+"ms "+t}};return I}function Qn({keyframes:e,velocity:t=0,power:n=.8,timeConstant:i=325,bounceDamping:r=10,bounceStiffness:o=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],M={done:!1,value:d},m=e=>void 0===a?l:void 0===l||Math.abs(a-e)<Math.abs(l-e)?a:l;let h=n*t;const g=d+h,p=void 0===s?g:s(g);p!==g&&(h=p-d);const f=e=>-h*Math.exp(-e/i),y=e=>p+f(e),N=e=>{const t=f(e),n=y(e);M.done=Math.abs(t)<=u,M.value=M.done?p:n};let D,j;const I=e=>{var t;(t=M.value,void 0!==a&&t<a||void 0!==l&&t>l)&&(D=e,j=Pn({keyframes:[M.value,m(M.value)],velocity:pn(y,e,M.value),damping:r,stiffness:o,restDelta:u,restSpeed:c}))};return I(0),{calculatedDuration:null,next:e=>{let t=!1;return j||void 0!==D||(t=!0,N(e),I(e)),void 0!==D&&e>=D?j.next(e-D):(!t&&N(e),M)}}}var Un=n(3771);const Rn={linear:W.l,easeIn:Un.a6,easeInOut:Un.am,easeOut:Un.vT,circIn:we,circInOut:Le,circOut:Oe,backIn:ze,backInOut:Ee,backOut:xe,anticipate:Ae},Fn=e=>{if(I(e)){kt(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,i,r]=e;return(0,Ie.A)(t,n,i,r)}return"string"==typeof e?(kt(void 0!==Rn[e],`Invalid easing type '${e}'`),Rn[e]):e};function Vn(e,t,{clamp:n=!0,ease:i,mixer:r}={}){const o=e.length;if(kt(o===t.length,"Both input and output ranges must be the same length"),1===o)return()=>t[0];if(2===o&&t[0]===t[1])return()=>t[1];const s=e[0]===e[1];e[0]>e[o-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=function(e,t,n){const i=[],r=n||gn,o=e.length-1;for(let s=0;s<o;
2s++){let n=r(e[s],e[s+1]);if(t){const e=Array.isArray(t)?t[s]||W.l:t;n=ln(e,n)}i.push(n)}return i}(t,i,r),l=a.length,u=n=>{if(s&&n<e[0])return t[0];let i=0;if(l>1)for(;i<e.length-2&&!(n<e[i+1]);i++);const r=z(e[i],e[i+1],n);return a[i](r)};return n?t=>u(Ce(e[0],e[o-1],t)):u}function Bn(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let i=1;i<=t;i++){const r=z(0,t,i);e.push(qt(n,1,r))}}(t,e.length-1),t}function Zn(e,t){return e.map(()=>t||Un.am).splice(0,e.length-1)}function Gn({duration:e=300,keyframes:t,times:n,ease:i="easeInOut"}){const r=(e=>Array.isArray(e)&&"number"!=typeof e[0])(i)?i.map(Fn):Fn(i),o={done:!1,value:t[0]},s=function(e,t){return e.map(e=>e*t)}(n&&n.length===t.length?n:Bn(t),e),a=Vn(s,t,{ease:Array.isArray(r)?r:Zn(t,r)});return{calculatedDuration:e,next:t=>(o.value=a(t),o.done=t>=e,o)}}const Wn=e=>{const t=({timestamp:t})=>e(t);return{start:()=>te.update(t,!0),stop:()=>ne(t),now:()=>ie.isProcessing?ie.timestamp:ae.now()}},Hn={decay:Qn,inertia:Qn,tween:Gn,keyframes:Gn,spring:Pn},Jn=e=>e/100;class Xn extends Kt{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:t,motionValue:n,element:i,keyframes:r}=this.options,o=(null==i?void 0:i.KeyframeResolver)||St;this.resolver=new o(r,(e,t)=>this.onKeyframesResolved(e,t),t,n,i),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:t="keyframes",repeat:n=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=this.options,s=D(t)?t:Hn[t]||Gn;let a,l;s!==Gn&&"number"!=typeof e[0]&&(a=ln(Jn,gn(e[0],e[1])),e=[0,100]);const u=s({...this.options,keyframes:e});"mirror"===r&&(l=s({...this.options,keyframes:[...e].reverse(),velocity:-o})),null===u.calculatedDuration&&(u.calculatedDuration=N(u));const{calculatedDuration:c}=u,d=c+i;return{generator:u,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(n+1)-i}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:n}=this;if(!n){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:i,generator:r,mirroredGenerator:o,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return r.next(0);const{delay:d,repeat:M,repeatType:m,repeatDelay:h,onUpdate:g}=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;const p=this.currentTime-d*(this.speed>=0?1:-1),f=this.speed>=0?p<0:p>u;this.currentTime=Math.max(p,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,N=r;if(M){const e=Math.min(this.currentTime,u)/c;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,M+1);Boolean(t%2)&&("reverse"===m?(n=1-n,h&&(n-=h/c)):"mirror"===m&&(N=o)),y=Ce(0,1,n)*c}const D=f?{done:!1,value:a[0]}:N.next(y);s&&(D.value=s(D.value));let{done:j}=D;f||null===l||(j=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const I=null===this.holdTime&&("finished"===this.state||"running"===this.state&&j);return I&&void 0!==i&&(D.value=$t(a,this.options,i)),g&&g(D.value),I&&this.finish(),D}get duration(){const{resolved:e}=this;return e?G(e.calculatedDuration):0}get time(){return G(this.currentTime)}set time(e){e=Z(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){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=G(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=Wn,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e(e=>this.tick(e))),t&&t();const i=this.driver.now();null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=i):this.startTime=null!=n?n:this.calcStartTime(),"finished"===this.state&&this.updateFinishedProm
2ise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{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)}}const _n=new Set(["opacity","clipPath","filter","transform"]);const $n=m(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));const Kn={anticipate:Ae,backInOut:Ee,circInOut:Le};class qn extends Kt{constructor(e){super(e);const{name:t,motionValue:n,element:i,keyframes:r}=this.options;this.resolver=new Ht(r,(e,t)=>this.onKeyframesResolved(e,t),t,n,i),this.resolver.scheduleResolve()}initPlayback(e,t){let{duration:n=300,times:i,ease:r,type:o,motionValue:s,name:a,startTime:l}=this.options;if(!s.owner||!s.owner.current)return!1;var u;if("string"==typeof r&&x()&&r in Kn&&(r=Kn[r]),D((u=this.options).type)||"spring"===u.type||!A(u.ease)){const{onComplete:t,onUpdate:s,motionValue:a,element:l,...u}=this.options,c=function(e,t){const n=new Xn({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let i={done:!1,value:e[0]};const r=[];let o=0;for(;!i.done&&o<2e4;)i=n.sample(o),r.push(i.value),o+=10;return{times:void 0,keyframes:r,duration:o-10,ease:"linear"}}(e,u);1===(e=c.keyframes).length&&(e[1]=e[0]),n=c.duration,i=c.times,r=c.ease,o="keyframes"}const c=function(e,t,n,{delay:i=0,duration:r=300,repeat:o=0,repeatType:s="loop",ease:a="easeInOut",times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=L(a,r);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:i,duration:r,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:o+1,direction:"reverse"===s?"alternate":"normal"})}(s.owner.current,a,e,{...this.options,duration:n,times:i,ease:r});return c.startTime=null!=l?l:this.calcStartTime(),this.pendingTimeline?(j(c,this.pendingTimeline),this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:n}=this.options;s.set($t(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:n,times:i,type:o,ease:r,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return G(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return G(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=Z(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return W.l;const{animation:n}=t;j(n,e)}else this.pendingTimeline=e;return W.l}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:n,duration:i,type:r,ease:o,times:s}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){const{motionValue:e,onUpdate:t,onComplete:a,element:l,...u}=this.options,c=new Xn({...u,keyframes:n,duration:i,type:r,ease:o,times:s,isGenerator:!0}),d=Z(this.time);e.setWithVelocity(c.sample(d-10).value,c.sample(d).value,10)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}
2static supports(e){const{motionValue:t,name:n,repeatDelay:i,repeatType:r,damping:o,type:s}=e;if(!(t&&t.owner&&t.owner.current instanceof HTMLElement))return!1;const{onUpdate:a,transformTemplate:l}=t.owner.getProps();return $n()&&n&&_n.has(n)&&!a&&!l&&!i&&"mirror"!==r&&0!==o&&"inertia"!==s}}const ei={type:"spring",stiffness:500,damping:25,restSpeed:10},ti={type:"keyframes",duration:.8},ni={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},ii=(e,{keyframes:t})=>t.length>2?ti:J.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:ei:ni;const ri=(e,t,n,i={},r,o)=>s=>{const a=f(i,e)||{},l=a.delay||i.delay||0;let{elapsed:u=0}=i;u-=Z(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...a,delay:-u,onUpdate:e=>{t.set(e),a.onUpdate&&a.onUpdate(e)},onComplete:()=>{s(),a.onComplete&&a.onComplete()},name:e,motionValue:t,element:o?void 0:r};(function({when:e,delay:t,delayChildren:n,staggerChildren:i,staggerDirection:r,repeat:o,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length})(a)||(c={...c,...ii(e,c)}),c.duration&&(c.duration=Z(c.duration)),c.repeatDelay&&(c.repeatDelay=Z(c.repeatDelay)),void 0!==c.from&&(c.keyframes[0]=c.from);let d=!1;if((!1===c.type||0===c.duration&&!c.repeatDelay)&&(c.duration=0,0===c.delay&&(d=!0)),(je||$)&&(d=!0,c.duration=0,c.delay=0),d&&!o&&void 0!==t.get()){const e=$t(c.keyframes,a);if(void 0!==e)return te.update(()=>{c.onUpdate(e),c.onComplete()}),new p([])}return!o&&qn.supports(c)?new qn(c):new Xn(c)};function oi({protectedKeys:e,needsAnimating:t},n){const i=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,i}function si(e,t,{delay:n=0,transitionOverride:i,type:r}={}){var o;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;i&&(s=i);const u=[],d=r&&e.animationState&&e.animationState.getState()[r];for(const c in l){const t=e.getValue(c,null!==(o=e.latestValues[c])&&void 0!==o?o:null),i=l[c];if(void 0===i||d&&oi(d,c))continue;const r={delay:n,...f(s||{},c)};let a=!1;if(window.MotionHandoffAnimation){const t=De(e);if(t){const e=window.MotionHandoffAnimation(t,c,te);null!==e&&(r.startTime=e,a=!0)}}fe(e,c),t.start(ri(c,t,i,e.shouldReduceMotion&&X.has(c)?{type:!1}:r,e,a));const M=t.animation;M&&u.push(M)}return a&&Promise.all(u).then(()=>{te.update(()=>{a&&function(e,t){const n=c(e,t);let{transitionEnd:i={},transition:r={},...o}=n||{};o={...o,...i};for(const s in o)ge(e,s,_(o[s]))}(e,a)})}),u}function ai(e,t,n={}){var i;const r=c(e,t,"exit"===n.type?null===(i=e.presenceContext)||void 0===i?void 0:i.custom:void 0);let{transition:o=e.getDefaultTransition()||{}}=r||{};n.transitionOverride&&(o=n.transitionOverride);const s=r?()=>Promise.all(si(e,r,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(i=0)=>{const{delayChildren:r=0,staggerChildren:s,staggerDirection:a}=o;return function(e,t,n=0,i=0,r=1,o){const s=[],a=(e.variantChildren.size-1)*i,l=1===r?(e=0)=>e*i:(e=0)=>a-e*i;return Array.from(e.variantChildren).sort(li).forEach((e,i)=>{e.notify("AnimationStart",t),s.push(ai(e,t,{...o,delay:n+l(i)}).then(()=>e.notify("AnimationComplete",t)))}),Promise.all(s)}(e,t,r+i,s,a,n)}:()=>Promise.resolve(),{when:l}=o;if(l){const[e,t]="beforeChildren"===l?[s,a]:[a,s];return e().then(()=>t())}return Promise.all([s(),a(n.delay)])}function li(e,t){return e.sortNodePosition(t)}const ui=M.length;function ci(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&ci(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<ui;n++){const i=M[n],r=e.props[i];(a(r)||!1===r)&&(t[i]=r)}return t}const di=[...d].reverse(),Mi=d.length;function mi(e){return t=>Promise.all(t.map(({animation:t,options:n})=>function(e,t,n={}){let i;if(e.notify("AnimationStart",t),Array.isArray(t)){const r=t.map(t=>ai(e,t,n));i=Promise.all(r)}else if("string"==typeof t)i=ai(e,t,n);else{const r="function"==typeof t?c(e,t,n.custom):t;i=Promise.all(si(e,r,n))}return i.then(()=>{e.notify("AnimationComplete",t)})}(e,t,n)))}function hi(e){let t=mi(e),n=fi(),i=!0;const l=t=>(n,i)=>{var r;const o=c(e,i,"exit"===t?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0);if(o){const{transition:e,transitionEnd:t,...i}=o;n={...n,...i,...t}}return n};function u(u){const{props:c}=e,d=ci(e.parent)||{},M=[],m=new Set;let h={},g=1/0;for(let t=0;t<Mi;t++){const p=di[t],f=n[p],y=void 0!==c[p]?c[p]:d[p],N=a(y),D=p===u?f.isActive:null;!1===D&&(g=t);let j=y===d[p]&&y!==c[p]&&N;if(j&&i&&e.manuallyAnimateOnMount&&(j=!1),f.protectedKeys={...h},!f.isActive&&null===D||!y&&!f.prevProp||r(y)||"boolean"==typeof y)continue;const I=gi(f.prevProp,y);let v=I||p===u&&f.isActive&&!j&&N||t>g&&N,T=!1;const x=Array.isArray(y)?y:[y];let z=x.reduce(l(p),{});!1===D&&(z={});const{prevResolvedValues:E={}}=f,A={...E,...z},w=t=>{v=!0,m.has(t)&&(T=!0,m.delete(t)),f.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in A){const t=z[e],n=E[e];if(h.hasOwnProperty(e))continue;let i=!1;i=o(t)&&o(n)?!s(t,n):t!==n,i?null!=t?w(e):m.add(e):void 0!==t&&m.has(e)?w(e):f.protectedKeys[e]=!0}f.prevProp=y,f.prevResolvedValues=z,f.isActive&&(h={...h,...z}),i&&e.blockInitialAnimation&&(v=!1);v&&(!(j&&I)||T)&&M.push(...x.map(e=>({animation:e,options:{type:p}})))}if(m.size){const t={};m.forEach(n=>{const i=e.getBaseTarget(n),r=e.getValue(n);r&&(r.liveStyle=!0),t[n]=null!=i?i:null}),M.push({animation:t})}let p=Boolean(M.length);return!i||!1!==c.initial&&c.initial!==c.animate||e.manuallyAnimateOnMount||(p=!1),i=!1,p?t(M):Promise.resolve()}return{animateChanges:u,setActive:function(t,i){var r;if(n[t].isActive===i)return Promise.resolve();
vendor: 4,689 bytes, line 2
2null===(r=e.variantChildren)||void 0===r||r.forEach(e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,i)}),n[t].isActive=i;const o=u(t);for(const e in n)n[e].protectedKeys={};return o},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=fi(),i=!0}}}function gi(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!s(t,e)}function pi(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function fi(){return{animate:pi(!0),whileInView:pi(),whileHover:pi(),whileTap:pi(),whileDrag:pi(),whileFocus:pi(),exit:pi()}}class yi{constructor(e){this.isMounted=!1,this.node=e}update(){}}let Ni=0;const Di={animation:{Feature:class extends yi{constructor(e){super(e),e.animationState||(e.animationState=hi(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();r(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}},exit:{Feature:class extends yi{constructor(){super(...arguments),this.id=Ni++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const i=this.node.animationState.setActive("exit",!e);t&&!e&&i.then(()=>t(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}};function ji(e,t,n,i={passive:!0}){return e.addEventListener(t,n,i),()=>e.removeEventListener(t,n)}function Ii(e){return{point:{x:e.pageX,y:e.pageY}}}function vi(e,t,n,i){return ji(e,t,(e=>t=>P(t)&&e(t,Ii(t)))(n),i)}const Ti=(e,t)=>Math.abs(e-t);class xi{constructor(e,t,{transformPagePoint:n,contextWindow:i,dragSnapToOrigin:r=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=Ai(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=Ti(e.x,t.x),i=Ti(e.y,t.y);return Math.sqrt(n**2+i**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:i}=e,{timestamp:r}=ie;this.history.push({...i,timestamp:r});const{onStart:o,onMove:s}=this.handlers;t||(o&&o(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=zi(t,this.transformPagePoint),te.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:i,resumeAnimation:r}=this.handlers;if(this.dragSnapToOrigin&&r&&r(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const o=Ai("pointercancel"===e.type?this.lastMoveEventInfo:zi(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,o),i&&i(e,o)},!P(e))return;this.dragSnapToOrigin=r,this.handlers=t,this.transformPagePoint=n,this.contextWindow=i||window;const o=zi(Ii(e),this.transformPagePoint),{point:s}=o,{timestamp:a}=ie;this.history=[{...s,timestamp:a}];const{onSessionStart:l}=t;l&&l(e,Ai(o,this.history)),this.removeListeners=ln(vi(this.contextWindow,"pointermove",this.handlePointerMove),vi(this.contextWindow,"pointerup",this.handlePointerUp),vi(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),ne(this.updatePoint)}}function zi(e,t){return t?{point:t(e.point)}:e}function Ei(e,t){return{x:e.x-t.x,y:e.y-t.y}}function Ai({point:e},t){return{point:e,delta:Ei(e,Oi(t)),offset:Ei(e,wi(t)),velocity:Li(t,.1)}}function wi(e){return e[0]}function Oi(e){return e[e.length-1]}function Li(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,i=null;const r=Oi(e);for(;n>=0&&(i=e[n],!(r.timestamp-i.timestamp>Z(t)));)n--;if(!i)return{x:0,y:0};const o=G(r.timestamp-i.timestamp);if(0===o)return{x:0,y:0};const s={x:(r.x-i.x)/o,y:(r.y-i.y)/o};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}function bi(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function Si(e){return e.max-e.min}function Ci(e,t,n,i=.5){e.origin=i,e.originPoint=qt(t.min,t.max,e.origin),e.scale=Si(n)/Si(t),e.translate=qt(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function ki(e,t,n,i){Ci(e.x,t.x,n.x,i?i.originX:void 0),Ci(e.y,t.y,n.y,i?i.originY:void 0)}
2function Yi(e,t,n){e.min=n.min+t.min,e.max=e.min+Si(t)}function Pi(e,t,n){e.min=t.min-n.min,e.max=e.min+Si(t)}function Qi(e,t,n){Pi(e.x,t.x,n.x),Pi(e.y,t.y,n.y)}function Ui(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Ri(e,t){let n=t.min-e.min,i=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,i]=[i,n]),{min:n,max:i}}const Fi=.35;function Vi(e,t,n){return{min:Bi(e,t),max:Bi(e,n)}}function Bi(e,t){return"number"==typeof e?e:e[t]||0}const Zi=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Gi(e){return[e("x"),e("y")]}function Wi({top:e,left:t,right:n,bottom:i}){return{x:{min:t,max:n},y:{min:e,max:i}}}function Hi(e){return void 0===e||1===e}function Ji({scale:e,scaleX:t,scaleY:n}){return!Hi(e)||!Hi(t)||!Hi(n)}function Xi(e){return Ji(e)||_i(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function _i(e){return $i(e.x)||$i(e.y)}function $i(e){return e&&"0%"!==e}function Ki(e,t,n){return n+t*(e-n)}function qi(e,t,n,i,r){return void 0!==r&&(e=Ki(e,r,i)),Ki(e,n,i)+t}function er(e,t=0,n=1,i,r){e.min=qi(e.min,t,n,i,r),e.max=qi(e.max,t,n,i,r)}function tr(e,{x:t,y:n}){er(e.x,t.translate,t.scale,t.originPoint),er(e.y,n.translate,n.scale,n.originPoint)}const nr=.999999999999,ir=1.0000000000001;function rr(e,t){e.min=e.min+t,e.max=e.max+t}function or(e,t,n,i,r=.5){er(e,t,n,qt(e.min,e.max,r),i)}function sr(e,t){or(e.x,t.x,t.scaleX,t.scale,t.originX),or(e.y,t.y,t.scaleY,t.scale,t.originY)}function ar(e,t){return Wi(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),i=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(e.getBoundingClientRect(),t))}const lr=({current:e})=>e?e.ownerDocument.defaultView:null,ur=new WeakMap;class cr{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:i}=this.getProps();this.panSession=new xi(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(Ii(e).point)},onStart:(e,t)=>{const{drag:n,dragPropagation:i,onDragStart:r}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(o=n)||"y"===o?b[o]?null:(b[o]=!0,()=>{b[o]=!1}):b.x||b.y?null:(b.x=b.y=!0,()=>{b.x=b.y=!1}),!this.openDragLock))return;var o;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Gi(e=>{let t=this.getAxisMotionValue(e).get()||0;if(Je.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[e];if(i){t=Si(i)*(parseFloat(t)/100)}}}this.originPoint[e]=t}),r&&te.postRender(()=>r(e,t)),fe(this.visualElement,"transform");const{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:r,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:s}=t;if(i&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x");return n}(s),void(null!==this.currentDirection&&r&&r(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),o&&o(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>Gi(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:lr(this.visualElement)})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:i}=t;this.startAnimation(i);const{onDragEnd:r}=this.getProps();r&&te.postRender(()=>r(e,t))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:i}=this.getProps();if(!n||!dr(e,i,this.currentDirection))return;const r=this.getAxisMotionValue(e);let o=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(o=function(e,{min:t,max:n},i){return void 0!==t&&e<t?e=i?qt(t,e,i.min):Math.max(e,t):void 0!==n&&e>n&&(e=i?qt(n,e,i.max):Math.min(e,n)),e}(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=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,r=this.constraints;t&&bi(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!i)&&function(e,{top:t,left:n,bottom:i,right:r}){return{x:Ui(e.x,n,r),y:Ui(e.y,t,i)}}(i.layoutBox,t),this.elastic=function(e=Fi){return!1===e?e=0:!0===e&&(e=Fi),{x:Vi(e,"left","right"),y:Vi(e,"to
2p","bottom")}}(n),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&Gi(e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(i.layoutBox[e],this.constraints[e]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!bi(e))return!1;const n=e.current;kt(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=function(e,t,n){const i=ar(e,n),{scroll:r}=t;return r&&(rr(i.x,r.offset.x),rr(i.y,r.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let o=function(e,t){return{x:Ri(e.x,t.x),y:Ri(e.y,t.y)}}(i.layout.layoutBox,r);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(o));this.hasMutatedConstraints=!!e,e&&(o=Wi(e))}return o}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=Gi(s=>{if(!dr(s,t,this.currentDirection))return;let l=a&&a[s]||{};o&&(l={min:0,max:0});const u=i?200:1e6,c=i?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(s,d)});return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return fe(this.visualElement,e),n.start(ri(e,n,0,t,this.visualElement,!1))}stopAnimation(){Gi(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Gi(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){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps(),i=n[t];return i||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Gi(t=>{const{drag:n}=this.getProps();if(!dr(t,n,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(t);if(i&&i.layout){const{min:n,max:o}=i.layout.layoutBox[t];r.set(e[t]-qt(n,o,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!bi(t)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Gi(e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();i[e]=function(e,t){let n=.5;const i=Si(e),r=Si(t);return r>i?n=z(t.min,t.max-i,e.min):i>r&&(n=z(e.min,e.max-r,t.min)),Ce(0,1,n)}({min:n,max:n},this.constraints[e])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Gi(t=>{if(!dr(t,e,null))return;const n=this.getAxisMotionValue(t),{min:r,max:o}=this.constraints[t];n.set(qt(r,o,i[t]))})}addListeners(){if(!this.visualElement.current)return;ur.set(this.visualElement,this);const e=vi(this.visualElement.current,"pointerdown",e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)}),t=()=>{const{dragConstraints:e}=this.getProps();bi(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,i=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),te.read(t);const r=ji(window,"resize",()=>this.scalePositionWithinConstraints()),o=n.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Gi(t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))}),this.visualElement.render())});return()=>{r(),e(),i(),o&&o()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=Fi,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:s}}}function dr(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const Mr=e=>(t,n)=>{e&&te.postRender(()=>e(t,n))};
2var mr=n(4848),hr=n(6540),gr=n(9120),pr=n(9473);const fr=(0,hr.createContext)({}),yr={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Nr(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const Dr={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Xe.test(e))return e;e=parseFloat(e)}return`${Nr(e,t.target.x)}% ${Nr(e,t.target.y)}%`}},jr={correct:(e,{treeScale:t,projectionDelta:n})=>{const i=e,r=ut.parse(e);if(r.length>5)return i;const o=ut.createTransformer(e),s="number"!=typeof r[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;r[0+s]/=a,r[1+s]/=l;const u=qt(a,l,.5);return"number"==typeof r[2+s]&&(r[2+s]/=u),"number"==typeof r[3+s]&&(r[3+s]/=u),o(r)}},Ir={};const{schedule:vr,cancel:Tr}=ee(queueMicrotask,!1);class xr extends hr.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:i}=this.props,{projection:r}=e;var o;o=Er,Object.assign(Ir,o),r&&(t.group&&t.group.add(r),n&&n.register&&i&&n.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),yr.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:i,isPresent:r}=this.props,o=n.projection;return o?(o.isPresent=r,i||e.layoutDependency!==t||void 0===t?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||te.postRender(()=>{const e=o.getStack();e&&e.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),vr.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function zr(e){const[t,n]=(0,gr.xQ)(),i=(0,hr.useContext)(pr.L);return(0,mr.jsx)(xr,{...e,layoutGroup:i,switchLayoutGroup:(0,hr.useContext)(fr),isPresent:t,safeToRemove:n})}const Er={borderRadius:{...Dr,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:Dr,borderTopRightRadius:Dr,borderBottomLeftRadius:Dr,borderBottomRightRadius:Dr,boxShadow:jr};const Ar=(e,t)=>e.depth-t.depth;class wr{constructor(){this.children=[],this.isDirty=!1}add(e){le(this.children,e),this.isDirty=!0}remove(e){ue(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ar),this.isDirty=!1,this.children.forEach(e)}}function Or(e,t){const n=ae.now(),i=({timestamp:r})=>{const o=r-n;o>=t&&(ne(i),e(o-t))};return te.read(i,!0),()=>ne(i)}function Lr(e){const t=pe(e)?e.get():e;return n=t,Boolean(n&&"object"==typeof n&&n.mix&&n.toValue)?t.toValue():t;var n}const br=["TopLeft","TopRight","BottomLeft","BottomRight"],Sr=br.length,Cr=e=>"string"==typeof e?parseFloat(e):e,kr=e=>"number"==typeof e||Xe.test(e);function Yr(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Pr=Ur(0,.5,Oe),Qr=Ur(.5,.95,W.l);function Ur(e,t,n){return i=>i<e?0:i>t?1:n(z(e,t,i))}function Rr(e,t){e.min=t.min,e.max=t.max}function Fr(e,t){Rr(e.x,t.x),Rr(e.y,t.y)}function Vr(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Br(e,t,n,i,r){return e=Ki(e-=t,1/n,i),void 0!==r&&(e=Ki(e,1/r,i)),e}function Zr(e,t,[n,i,r],o,s){!function(e,t=0,n=1,i=.5,r,o=e,s=e){Je.test(t)&&(t=parseFloat(t),t=qt(s.min,s.max,t/100)-s.min);if("number"!=typeof t)return;let a=qt(o.min,o.max,i);e===o&&(a-=t),e.min=Br(e.min,t,n,a,r),e.max=Br(e.max,t,n,a,r)}(e,t[n],t[i],t[r],t.scale,o,s)}const Gr=["x","scaleX","originX"],Wr=["y","scaleY","originY"];function Hr(e,t,n,i){Zr(e.x,t,Gr,n?n.x:void 0,i?i.x:void 0),Zr(e.y,t,Wr,n?n.y:void 0,i?i.y:void 0)}function Jr(e){return 0===e.translate&&1===e.scale}function Xr(e){return Jr(e.x)&&Jr(e.y)}function _r(e,t){return e.min===t.min&&e.max===t.max}function $r(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Kr(e,t){return $r(e.x,t.x)&&$r(e.y,t.y)}function qr(e){return Si(e.x)/Si(e.y)}function eo(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class to{constructor(){this.members=[]}add(e){le(this.members,e),e.scheduleRender()}remove(e){if(ue(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex(t=>e===t);if(0===t)return!1;let n;for(let i=t;i>=0;i--){const e=this.members[i];if(!1!==e.isPresent){n=e;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;!1===i&&n.hide()}}
2exitAnimationComplete(){this.members.forEach(e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const no={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},io="undefined"!=typeof window&&void 0!==window.MotionDebug,ro=["","X","Y","Z"],oo={visibility:"hidden"};let so=0;function ao(e,t,n,i){const{latestValues:r}=t;r[e]&&(n[e]=r[e],t.setStaticValue(e,0),i&&(i[e]=0))}function lo(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=De(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",te,!(t||i))}const{parent:i}=e;i&&!i.hasCheckedOptimisedAppear&&lo(i)}function uo({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:i,resetTransform:r}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=so++,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.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,io&&(no.totalNodes=no.resolvedTargetDeltas=no.recalculatedProjection=0),this.nodes.forEach(mo),this.nodes.forEach(Do),this.nodes.forEach(jo),this.nodes.forEach(ho),io&&window.MotionDebug.record(no)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new wr)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new ce),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;var i;this.isSVG=(i=t)instanceof SVGElement&&"svg"!==i.tagName,this.instance=t;const{layoutId:r,layout:o,visualElement:s}=this.options;if(s&&!s.current&&s.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||r)&&(this.isLayoutDirty=!0),e){let n;const i=()=>this.root.updateBlockedByResize=!1;e(t,()=>{this.root.updateBlockedByResize=!0,n&&n(),n=Or(i,250),yr.hasAnimatedSinceResize&&(yr.hasAnimatedSinceResize=!1,this.nodes.forEach(No))})}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&s&&(r||o)&&this.addEventListener("didUpdate",({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const r=this.options.transition||s.getDefaultTransition()||Eo,{onLayoutAnimationStart:o,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!Kr(this.targetLayout,i)||n,u=!t&&n;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);const t={...f(r,"layout"),onPlay:o,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||No(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,ne(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEac
2h(Io),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&lo(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let r=0;r<this.path.length;r++){const e=this.path[r];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){this.updateScheduled=!1;if(this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(po);this.isUpdating||this.nodes.forEach(fo),this.isUpdating=!1,this.nodes.forEach(yo),this.nodes.forEach(co),this.nodes.forEach(Mo),this.clearAllSnapshots();const e=ae.now();ie.delta=Ce(0,1e3/60,e-ie.timestamp),ie.timestamp=e,ie.isProcessing=!0,re.update.process(ie),re.preRender.process(ie),re.render.process(ie),ie.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,vr.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(go),this.sharedNodes.forEach(vo)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,te.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){te.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let n=0;n<this.path.length;n++){this.path[n].updateScroll()}const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){const t=i(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!r)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Xr(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;e&&(t||Xi(this.latestValues)||o)&&(r(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);var i;return e&&(n=this.removeTransform(n)),Oo((i=n).x),Oo(i.y),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const n=t.measureViewportBox();if(!((null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)||this.path.some(bo))){const{scroll:e}=this.root;e&&(rr(n.x,e.offset.x),rr(n.y,e.offset.y))}return n}removeElementScroll(e){var t;const n={x:{min:0,max:0},y:{min:0,max:0}};if(Fr(n,e),null===(t=this.scroll)||void 0===t?void 0:t.wasRoot)return n;for(let i=0;i<this.path.length;i++){const t=this.path[i],{scroll:r,options:o}=t;t!==this.root&&r&&o.layoutScroll&&(r.wasRoot&&Fr(n,e),rr(n.x,r.offset.x),rr(n.y,r.offset.y))}return n}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Fr(n,e);for(let i=0;i<this.path.length;i++){const e=this.path[i];!t&&e.options.layoutScroll&&e.scroll&&e!==e.root&&sr(n,{x:-e.scroll.offset.x,y:-e.scroll.offset.y}),Xi(e.latestValues)&&sr(n,e.latestValues)}return Xi(this.latestValues)&&sr(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Fr(t,e);for(let n=0;n<this.path.length;n++){const e=this.path[n];if(!e.instance)continue;if(!Xi(e.latestValues))continue;Ji(e.latestValues)&&e.updateSnapshot();const i=Zi();Fr(i,e.measurePageBox()),Hr(t,e.latestValues,e.snapshot?e.snapshot.layoutBox:void 0,i)}return Xi(this.latestValues)&&Hr(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!==ie.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isS
2haredProjectionDirty);const i=Boolean(this.resumingFrom)||this!==n;if(!(e||i&&this.isSharedProjectionDirty||this.isProjectionDirty||(null===(t=this.parent)||void 0===t?void 0:t.isProjectionDirty)||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:r,layoutId:o}=this.options;if(this.layout&&(r||o)){if(this.resolvedRelativeTargetAt=ie.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Qi(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Fr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){var s,a,l;if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),s=this.target,a=this.relativeTarget,l=this.relativeParent.target,Yi(s.x,a.x,l.x),Yi(s.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Fr(this.target,this.layout.layoutBox),tr(this.target,this.targetDelta)):Fr(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&Boolean(e.resumingFrom)===Boolean(this.resumingFrom)&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Qi(this.relativeTargetOrigin,this.target,e.target),Fr(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}io&&no.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!Ji(this.parent.latestValues)&&!_i(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var e;const t=this.getLead(),n=Boolean(this.resumingFrom)||this!==t;let i=!0;if((this.isProjectionDirty||(null===(e=this.parent)||void 0===e?void 0:e.isProjectionDirty))&&(i=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===ie.timestamp&&(i=!1),i)return;const{layout:r,layoutId:o}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!r&&!o)return;Fr(this.layoutCorrected,this.layout.layoutBox);const s=this.treeScale.x,a=this.treeScale.y;!function(e,t,n,i=!1){const r=n.length;if(!r)return;let o,s;t.x=t.y=1;for(let a=0;a<r;a++){o=n[a],s=o.projectionDelta;const{visualElement:r}=o.options;r&&r.props.style&&"contents"===r.props.style.display||(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&sr(e,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),s&&(t.x*=s.x.scale,t.y*=s.y.scale,tr(e,s)),i&&Xi(o.latestValues)&&sr(e,o.latestValues))}t.x<ir&&t.x>nr&&(t.x=1),t.y<ir&&t.y>nr&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:l}=t;l?(this.projectionDelta&&this.prevProjectionDelta?(Vr(this.prevProjectionDelta.x,this.projectionDelta.x),Vr(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),ki(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&eo(this.projectionDelta.x,this.prevProjectionDelta.x)&&eo(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),io&&no.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1){const n=this.snapshot,i=n?n.latestValues:{},r={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,c=Boolean(a&&!u&&!0===this.options.crossfade&&!this.path.some(zo));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;To(o.x,e.x,n),To(o.y,e.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Qi(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,i){xo(e.x,t.x,n.x,i),xo(e.y,t.y,n.y,i)}(this.relativeTarget,this.relativeTargetOrigin,s,n),d&&function(e,t){return _r(e.x,t.x)&&_r(e.y,t.y)}(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}
2),Fr(d,this.relativeTarget)),a&&(this.animationValues=r,function(e,t,n,i,r,o){r?(e.opacity=qt(0,void 0!==n.opacity?n.opacity:1,Pr(i)),e.opacityExit=qt(void 0!==t.opacity?t.opacity:1,0,Qr(i))):o&&(e.opacity=qt(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,i));for(let s=0;s<Sr;s++){const r=`border${br[s]}Radius`;let o=Yr(t,r),a=Yr(n,r);void 0===o&&void 0===a||(o||(o=0),a||(a=0),0===o||0===a||kr(o)===kr(a)?(e[r]=Math.max(qt(Cr(o),Cr(a),i),0),(Je.test(a)||Je.test(o))&&(e[r]+="%")):e[r]=a)}(t.rotate||n.rotate)&&(e.rotate=qt(t.rotate||0,n.rotate||0,i))}(r,i,this.latestValues,n,c,u)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},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&&(ne(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=te.update(()=>{yr.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const i=pe(e)?e:he(e);return i.start(ri("",i,t,n)),i.animation}(0,1e3,{...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);const 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(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:i,latestValues:r}=e;if(t&&n&&i){if(this!==e&&this.layout&&i&&Lo(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=Si(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const i=Si(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+i}Fr(t,n),sr(t,r),ki(this.projectionDeltaWithTransform,this.layoutCorrected,t,r)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new to);this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const i={};n.z&&ao("z",e,i,this.animationValues);for(let r=0;r<ro.length;r++)ao(`rotate${ro[r]}`,e,i,this.animationValues),ao(`skew${ro[r]}`,e,i,this.animationValues);e.render();for(const r in i)e.setStaticValue(r,i[r]),this.animationValues&&(this.animationValues[r]=i[r]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return oo;const i={visibility:""},r=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,i.opacity="",i.pointerEvents=Lr(null==e?void 0:e.pointerEvents)||"",i.transform=r?r(this.latestValues,""):"none",i;const o=this.getLead();if(!this.projectionDelta||!this.layout||!o.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Lr(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!Xi(this.latestValues)&&(t.transform=r?r({},""):"none",this.hasProjected=!1),t}const s=o.animationValues||o.latestValues;this.applyTransformsToTarget(),i.transform=function(e,t,n){let i="";
2const r=e.x.translate/t.x,o=e.y.translate/t.y,s=(null==n?void 0:n.z)||0;if((r||o||s)&&(i=`translate3d(${r}px, ${o}px, ${s}px) `),1===t.x&&1===t.y||(i+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:r,rotateY:o,skewX:s,skewY:a}=n;e&&(i=`perspective(${e}px) ${i}`),t&&(i+=`rotate(${t}deg) `),r&&(i+=`rotateX(${r}deg) `),o&&(i+=`rotateY(${o}deg) `),s&&(i+=`skewX(${s}deg) `),a&&(i+=`skewY(${a}deg) `)}const a=e.x.scale*t.x,l=e.y.scale*t.y;return 1===a&&1===l||(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,s),r&&(i.transform=r(s,i.transform));const{x:a,y:l}=this.projectionDelta;i.transformOrigin=`${100*a.origin}% ${100*l.origin}% 0`,o.animationValues?i.opacity=o===this?null!==(n=null!==(t=s.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:i.opacity=o===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const u in Ir){if(void 0===s[u])continue;const{correct:e,applyTo:t}=Ir[u],n="none"===i.transform?s[u]:e(s[u],o);if(t){const e=t.length;for(let r=0;r<e;r++)i[t[r]]=n}else i[u]=n}return this.options.layoutId&&(i.pointerEvents=o===this?Lr(null==e?void 0:e.pointerEvents)||"":"none"),i}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()}),this.root.nodes.forEach(po),this.root.sharedNodes.clear()}}}function co(e){e.updateLayout()}function Mo(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:i}=e.layout,{animationType:r}=e.options,o=n.source!==e.layout.source;"size"===r?Gi(e=>{const i=o?n.measuredBox[e]:n.layoutBox[e],r=Si(i);i.min=t[e].min,i.max=i.min+r}):Lo(r,n.layoutBox,t)&&Gi(i=>{const r=o?n.measuredBox[i]:n.layoutBox[i],s=Si(t[i]);r.max=r.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[i].max=e.relativeTarget[i].min+s)});const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};ki(s,t,n.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?ki(a,e.applyTransform(i,!0),n.measuredBox):ki(a,t,n.layoutBox);const l=!Xr(s);let u=!1;if(!e.resumeFrom){const i=e.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:r,layout:o}=i;if(r&&o){const s={x:{min:0,max:0},y:{min:0,max:0}};Qi(s,n.layoutBox,r.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};Qi(a,t,o.layoutBox),Kr(s,a)||(u=!0),i.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=i)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function mo(e){io&&no.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function ho(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function go(e){e.clearSnapshot()}function po(e){e.clearMeasurements()}function fo(e){e.isLayoutDirty=!1}function yo(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function No(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function Do(e){e.resolveTargetDelta()}function jo(e){e.calcProjection()}function Io(e){e.resetSkewAndRotation()}function vo(e){e.removeLeadSnapshot()}function To(e,t,n){e.translate=qt(t.translate,0,n),e.scale=qt(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function xo(e,t,n,i){e.min=qt(t.min,n.min,i),e.max=qt(t.max,n.max,i)}function zo(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Eo={duration:.45,ease:[.4,0,.1,1]},Ao=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),wo=Ao("applewebkit/")&&!Ao("chrome/")?Math.round:W.l;function Oo(e){e.min=wo(e.min),e.max=wo(e.max)}function Lo(e,t,n){return"position"===e||"preserve-aspect"===e&&(i=qr(t),r=qr(n),o=.2,!(Math.abs(i-r)<=o)
2);var i,r,o}function bo(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}const So=uo({attachResizeListener:(e,t)=>ji(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Co={current:void 0},ko=uo({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Co.current){const e=new So({});e.mount(window),e.setOptions({layoutScroll:!0}),Co.current=e}return Co.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),Yo={pan:{Feature:class extends yi{constructor(){super(...arguments),this.removePointerDownListener=W.l}onPointerDown(e){this.session=new xi(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:lr(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:Mr(e),onStart:Mr(t),onMove:n,onEnd:(e,t)=>{delete this.session,i&&te.postRender(()=>i(e,t))}}}mount(){this.removePointerDownListener=vi(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends yi{constructor(e){super(e),this.removeGroupControls=W.l,this.removeListeners=W.l,this.controls=new cr(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||W.l}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:ko,MeasureLayout:zr}};function Po(e,t,n){const{props:i}=e;e.animationState&&i.whileHover&&e.animationState.setActive("whileHover","Start"===n);const r=i["onHover"+n];r&&te.postRender(()=>r(t,Ii(t)))}function Qo(e,t,n){const{props:i}=e;e.animationState&&i.whileTap&&e.animationState.setActive("whileTap","Start"===n);const r=i["onTap"+("End"===n?"":n)];r&&te.postRender(()=>r(t,Ii(t)))}const Uo=new WeakMap,Ro=new WeakMap,Fo=e=>{const t=Uo.get(e.target);t&&t(e)},Vo=e=>{e.forEach(Fo)};function Bo(e,t,n){const i=function({root:e,...t}){const n=e||document;Ro.has(n)||Ro.set(n,{});const i=Ro.get(n),r=JSON.stringify(t);return i[r]||(i[r]=new IntersectionObserver(Vo,{root:e,...t})),i[r]}(t);return Uo.set(e,n),i.observe(e),()=>{Uo.delete(e),i.unobserve(e)}}const Zo={some:0,all:1};const Go={inView:{Feature:class extends yi{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:i="some",once:r}=e,o={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:Zo[i]};return Bo(this.node.current,o,e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,r&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),o=t?n:i;o&&o(e)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends yi{mount(){const{current:e}=this.node;e&&(this.unmount=B(e,e=>(Qo(this.node,e,"Start"),(e,{success:t})=>Qo(this.node,e,t?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}},focus:{Feature:class extends yi{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=ln(ji(this.node.current,"focus",()=>this.onFocus()),ji(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends yi{mount(){const{current:e}=this.node;e&&(this.unmount=function(e,t,n={}){const[i,r,o]=C(e,n),s=k(e=>{const{target:n}=e,i=t(e);if("function"!=typeof i||!n)return;const o=k(e=>{i(e),n.removeEventListener("pointerleave",o)});n.addEventListener("pointerleave",o,r)});
2return i.forEach(e=>{e.addEventListener("pointerenter",s,r)}),o}(e,e=>(Po(this.node,e,"Start"),e=>Po(this.node,e,"End"))))}unmount(){}}}},Wo={layout:{ProjectionNode:ko,MeasureLayout:zr}},Ho=(0,hr.createContext)({strict:!1});var Jo=n(5446);const Xo=(0,hr.createContext)({});function _o(e){return r(e.animate)||M.some(t=>a(e[t]))}function $o(e){return Boolean(_o(e)||e.variants)}function Ko(e){const{initial:t,animate:n}=function(e,t){if(_o(e)){const{initial:t,animate:n}=e;return{initial:!1===t||a(t)?t:void 0,animate:a(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,hr.useContext)(Xo));return(0,hr.useMemo)(()=>({initial:t,animate:n}),[qo(t),qo(n)])}function qo(e){return Array.isArray(e)?e.join(" "):e}var es=n(8288);const ts={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"]},ns={};for(const ia in ts)ns[ia]={isEnabled:e=>ts[ia].some(t=>!!e[t])};const is=Symbol.for("motionComponentSymbol");function rs(e,t,n){return(0,hr.useCallback)(i=>{i&&e.onMount&&e.onMount(i),t&&(i?t.mount(i):t.unmount()),n&&("function"==typeof n?n(i):bi(n)&&(n.current=i))},[t])}var os=n(6719),ss=n(5128);function as(e,t,n,i,r){var o,s;const{visualElement:a}=(0,hr.useContext)(Xo),l=(0,hr.useContext)(Ho),u=(0,hr.useContext)(os.t),c=(0,hr.useContext)(Jo.Q).reducedMotion,d=(0,hr.useRef)(null);i=i||l.renderer,!d.current&&i&&(d.current=i(e,{visualState:t,parent:a,props:n,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:c}));const M=d.current,m=(0,hr.useContext)(fr);!M||M.projection||!r||"html"!==M.type&&"svg"!==M.type||function(e,t,n,i){const{layoutId:r,layout:o,drag:s,dragConstraints:a,layoutScroll:l,layoutRoot:u}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:ls(e.parent)),e.projection.setOptions({layoutId:r,layout:o,alwaysMeasureLayout:Boolean(s)||a&&bi(a),visualElement:e,animationType:"string"==typeof o?o:"both",initialPromotionConfig:i,layoutScroll:l,layoutRoot:u})}(d.current,n,r,m);const h=(0,hr.useRef)(!1);(0,hr.useInsertionEffect)(()=>{M&&h.current&&M.update(n,u)});const g=n[Ne],p=(0,hr.useRef)(Boolean(g)&&!(null===(o=window.MotionHandoffIsComplete)||void 0===o?void 0:o.call(window,g))&&(null===(s=window.MotionHasOptimisedAnimation)||void 0===s?void 0:s.call(window,g)));return(0,ss.E)(()=>{M&&(h.current=!0,window.MotionIsMounted=!0,M.updateFeatures(),vr.render(M.render),p.current&&M.animationState&&M.animationState.animateChanges())}),(0,hr.useEffect)(()=>{M&&(!p.current&&M.animationState&&M.animationState.animateChanges(),p.current&&(queueMicrotask(()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,g)}),p.current=!1))}),M}function ls(e){if(e)return!1!==e.options.allowProjection?e.projection:ls(e.parent)}function us({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:i,Component:r}){var o,s;function a(e,o){let s;const a={...(0,hr.useContext)(Jo.Q),...e,layoutId:cs(e)},{isStatic:l}=a,u=Ko(e),c=i(e,l);if(!l&&es.B){!function(){(0,hr.useContext)(Ho).strict;0}();const e=function(e){const{drag:t,layout:n}=ns;if(!t&&!n)return{};const i={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}(a);s=e.MeasureLayout,u.visualElement=as(r,c,a,t,e.ProjectionNode)}return(0,mr.jsxs)(Xo.Provider,{value:u,children:[s&&u.visualElement?(0,mr.jsx)(s,{visualElement:u.visualElement,...a}):null,n(r,e,rs(c,u.visualElement,o),c,l,u.visualElement)]})}e&&function(e){for(const t in e)ns[t]={...ns[t],...e[t]}}(e),a.displayName=`motion.${"string"==typeof r?r:`create(${null!==(s=null!==(o=r.displayName)&&void 0!==o?o:r.name)&&void 0!==s?s:""})`}`;const l=(0,hr.forwardRef)(a);return l[is]=r,l}function cs({layoutId:e}){const t=(0,hr.useContext)(pr.L).id;return t&&void 0!==e?t+"-"+e:e}const ds=["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 Ms(e){return"string"==typeof e&&!e.includes("-")&&!!(ds.indexOf(e)>-1||/[A-Z]/u.test(e))}var ms=n(8601);
2const hs=e=>(t,n)=>{const i=(0,hr.useContext)(Xo),r=(0,hr.useContext)(os.t),o=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onUpdate:n},i,r,o){const s={latestValues:gs(i,r,o,e),renderState:t()};return n&&(s.onMount=e=>n({props:i,current:e,...s}),s.onUpdate=e=>n(e)),s}(e,t,i,r);return n?o():(0,ms.M)(o)};function gs(e,t,n,i){const o={},s=i(e,{});for(const r in s)o[r]=Lr(s[r]);let{initial:a,animate:l}=e;const c=_o(e),d=$o(e);t&&d&&!c&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===l&&(l=t.animate));let M=!!n&&!1===n.initial;M=M||!1===a;const m=M?l:a;if(m&&"boolean"!=typeof m&&!r(m)){const t=Array.isArray(m)?m:[m];for(let n=0;n<t.length;n++){const i=u(e,t[n]);if(i){const{transitionEnd:e,transition:t,...n}=i;for(const i in n){let e=n[i];if(Array.isArray(e)){e=e[M?e.length-1:0]}null!==e&&(o[i]=e)}for(const i in e)o[i]=e[i]}}}return o}const ps=(e,t)=>t&&"number"==typeof e?t.transform(e):e,fs={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ys=H.length;function Ns(e,t,n){const{style:i,vars:r,transformOrigin:o}=e;let s=!1,a=!1;for(const l in t){const e=t[l];if(J.has(l))s=!0;else if(Qt(l))r[l]=e;else{const t=ps(e,ft[l]);l.startsWith("origin")?(a=!0,o[l]=t):i[l]=t}}if(t.transform||(s||n?i.transform=function(e,t,n){let i="",r=!0;for(let o=0;o<ys;o++){const s=H[o],a=e[s];if(void 0===a)continue;let l=!0;if(l="number"==typeof a?a===(s.startsWith("scale")?1:0):0===parseFloat(a),!l||n){const e=ps(a,ft[s]);l||(r=!1,i+=`${fs[s]||s}(${e}) `),n&&(t[s]=e)}}return i=i.trim(),n?i=n(t,r?"":i):r&&(i="none"),i}(t,e.transform,n):i.transform&&(i.transform="none")),a){const{originX:e="50%",originY:t="50%",originZ:n=0}=o;i.transformOrigin=`${e} ${t} ${n}`}}const Ds={offset:"stroke-dashoffset",array:"stroke-dasharray"},js={offset:"strokeDashoffset",array:"strokeDasharray"};function Is(e,t,n){return"string"==typeof e?e:Xe.transform(t+n*e)}function vs(e,{attrX:t,attrY:n,attrScale:i,originX:r,originY:o,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,d){if(Ns(e,u,d),c)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:M,style:m,dimensions:h}=e;M.transform&&(h&&(m.transform=M.transform),delete M.transform),h&&(void 0!==r||void 0!==o||m.transform)&&(m.transformOrigin=function(e,t,n){return`${Is(t,e.x,e.width)} ${Is(n,e.y,e.height)}`}(h,void 0!==r?r:.5,void 0!==o?o:.5)),void 0!==t&&(M.x=t),void 0!==n&&(M.y=n),void 0!==i&&(M.scale=i),void 0!==s&&function(e,t,n=1,i=0,r=!0){e.pathLength=1;const o=r?Ds:js;e[o.offset]=Xe.transform(-i);const s=Xe.transform(t),a=Xe.transform(n);e[o.array]=`${s} ${a}`}(M,s,a,l,!1)}const Ts=()=>({style:{},transform:{},transformOrigin:{},vars:{}}),xs=()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),zs=e=>"string"==typeof e&&"svg"===e.toLowerCase();function Es(e,{style:t,vars:n},i,r){Object.assign(e.style,t,r&&r.getProjectionStyles(i));for(const o in n)e.style.setProperty(o,n[o])}const As=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 ws(e,t,n,i){Es(e,t,void 0,i);for(const r in t.attrs)e.setAttribute(As.has(r)?r:ye(r),t.attrs[r])}function Os(e,{layout:t,layoutId:n}){return J.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!Ir[e]||"opacity"===e)}function Ls(e,t,n){var i;const{style:r}=e,o={};for(const s in r)(pe(r[s])||t.style&&pe(t.style[s])||Os(s,e)||void 0!==(null===(i=null==n?void 0:n.getValue(s))||void 0===i?void 0:i.liveStyle))&&(o[s]=r[s]);return o}function bs(e,t,n){const i=Ls(e,t,n);for(const r in e)if(pe(e[r])||pe(t[r])){i[-1!==H.indexOf(r)?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r]=e[r]}return i}const Ss=["x","y","width","height","cx","cy","r"],Cs={useVisualState:hs({scrapeMotionValuesFromProps:bs,createRenderState:xs,onUpdate:({props:e,prevProps:t,current:n,renderState:i,latestValues:r})=>{if(!n)return;let o=!!e.drag;if(!o)for(const a in r)if(J.has(a)){o=!0;break}if(!o)return;let s=!t;if(t)for(let a=0;a<Ss.length;a++){const n=Ss[a];e[n]!==t[n]&&(s=!0)}s&&te.read(()=>{!function(e,t){try{t.dimensions="function"==typeof e.getBBox?e.getBBox():e.getBoundingClientRect()}catch(n){t.dimensions={x:0,y:0,width:0,height:0}}}(n,i),te.render(()=>{vs(i,r,zs(n.tagName),e.transformTemplate),ws(n,i)})})}})},ks={useVisualState:hs({scrapeMotionValuesFromProps:Ls,createRenderState:Ts})};
2function Ys(e,t,n){for(const i in t)pe(t[i])||Os(i,n)||(e[i]=t[i])}function Ps(e,t){const n={};return Ys(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return(0,hr.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return Ns(n,t,e),Object.assign({},n.vars,n.style)},[t])}(e,t)),n}function Qs(e,t){const n={},i=Ps(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=i,n}const Us=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 Rs(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Us.has(e)}let Fs=e=>!Rs(e);try{(Vs=require("@emotion/is-prop-valid").default)&&(Fs=e=>e.startsWith("on")?!Rs(e):Vs(e))}catch(na){}var Vs;function Bs(e,t,n,i){const r=(0,hr.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return vs(n,t,zs(i),e.transformTemplate),{...n.attrs,style:{...n.style}}},[t]);if(e.style){const t={};Ys(t,e.style,e),r.style={...t,...r.style}}return r}function Zs(e=!1){return(t,n,i,{latestValues:r},o)=>{const s=(Ms(t)?Bs:Qs)(n,r,o,t),a=function(e,t,n){const i={};for(const r in e)"values"===r&&"object"==typeof e.values||(Fs(r)||!0===n&&Rs(r)||!t&&!Rs(r)||e.draggable&&r.startsWith("onDrag"))&&(i[r]=e[r]);return i}(n,"string"==typeof t,e),l=t!==hr.Fragment?{...a,...s,ref:i}:{},{children:u}=n,c=(0,hr.useMemo)(()=>pe(u)?u.get():u,[u]);return(0,hr.createElement)(t,{...l,children:c})}}function Gs(e,t){return function(n,{forwardMotionProps:i}={forwardMotionProps:!1}){return us({...Ms(n)?Cs:ks,preloadedFeatures:e,useRender:Zs(i),createVisualElement:t,Component:n})}}const Ws={current:null},Hs={current:!1};const Js=[...Gt,et,ut],Xs=new WeakMap;const _s=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class $s{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:i,blockInitialAnimation:r,visualState:o},s={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=St,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.renderScheduledAt=0,this.scheduleRender=()=>{const e=ae.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,te.render(this.render,!1,!0))};const{latestValues:a,renderState:l,onUpdate:u}=o;this.onUpdate=u,this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=s,this.blockInitialAnimation=Boolean(r),this.isControllingVariants=_o(t),this.isVariantNode=$o(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:c,...d}=this.scrapeMotionValuesFromProps(t,{},this);for(const M in d){const e=d[M];void 0!==a[M]&&pe(e)&&e.set(a[M],!1)}}mount(e){this.current=e,Xs.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
vendor: 6,322 bytes, line 2
2h((e,t)=>this.bindToMotionValue(t,e)),Hs.current||function(){if(Hs.current=!0,es.B)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Ws.current=e.matches;e.addListener(t),t()}else Ws.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Ws.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Xs.delete(this.current),this.projection&&this.projection.unmount(),ne(this.notifyUpdate),ne(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=J.has(e),i=t.on("change",t=>{this.latestValues[e]=t,this.props.onUpdate&&te.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)}),r=t.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,()=>{i(),r(),o&&o(),t.owner&&t.stop()})}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in ns){const t=ns[e];if(!t)continue;const{isEnabled:n,Feature:i}=t;if(!this.features[e]&&i&&n(this.props)&&(this.features[e]=new i(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}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 n=0;n<_s.length;n++){const t=_s[n];this.propEventSubscriptions[t]&&(this.propEventSubscriptions[t](),delete this.propEventSubscriptions[t]);const i=e["on"+t];i&&(this.propEventSubscriptions[t]=this.on(t,i))}this.prevMotionValues=function(e,t,n){for(const i in t){const r=t[i],o=n[i];if(pe(r))e.addValue(i,r);else if(pe(o))e.addValue(i,he(r,{owner:e}));else if(o!==r)if(e.hasValue(i)){const t=e.getValue(i);!0===t.liveStyle?t.jump(r):t.hasAnimated||t.set(r)}else{const t=e.getStaticValue(i);e.addValue(i,he(void 0!==t?t:r,{owner:e}))}}for(const i in n)void 0===t[i]&&e.removeValue(i);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue(),this.onUpdate&&this.onUpdate(this)}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=he(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let i=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var r;return null!=i&&("string"==typeof i&&(Yt(i)||be(i))?i=parseFloat(i):(r=i,!Js.find(Zt(r))&&ut.test(t)&&(i=Dt(e,t))),this.setBaseTarget(e,pe(i)?i.get():i)),pe(i)?i.get():i}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props;let i;if("string"==typeof n||"object"==typeof n){const r=u(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);r&&(i=r[e])}if(n&&void 0!==i)return i;const r=this.getBaseTargetFromProps(this.props,e);return void 0===r||pe(r)?void 0!==this.initialValues[e]&&void 0===i?void 0:this.baseTarget[e]:r}on(e,t){return this.events[e]||(this.events[e]=new ce),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Ks extends $s{constructor(){super(...arguments),this.KeyframeResolver=Ht}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:n}){delete t[e],delete n[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;pe(e)&&(this.childSubscription=e.on("change",e=>{this.current&&(this.current.textContent=`${e}`)}))}}class qs extends Ks{constructor(){super(...arguments),this.type="html",this.renderInstance=Es}readValueFromInstance(e,t){if(J.has(t)){const e=Nt(t);return e&&e.default||0}{const i=(n=e,window.getComputedStyle(n)),r=(Qt(t)?i.getPropertyValue(t):i[t])||0;return"string"==typeof r?r.trim():r}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return ar(e,t)}build(e,t,n){Ns(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Ls(e,t,n)}}class ea extends Ks{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Zi}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(J.has(t)){const e=Nt(t);return e&&e.default||0}return t=As.has(t)?t:ye(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return bs(e,t,n)}
2build(e,t,n){vs(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,i){ws(e,t,0,i)}mount(e){this.isSVGTag=zs(e.tagName),super.mount(e)}}const ta=i(Gs({...Di,...Go,...Yo,...Wo},(e,t)=>Ms(e)?new ea(t):new qs(t,{allowProjection:e!==hr.Fragment})))},6206:function(e,t,n){"use strict";n.d(t,{Ac:function(){return a},Ci:function(){return u},FX:function(){return h},mK:function(){return l},oE:function(){return g},v6:function(){return m},zv:function(){return y}});var i,r=n(6540),o=n(6421),s=n(5897),a=((i=a||{})[i.None=0]="None",i[i.RenderStrategy=1]="RenderStrategy",i[i.Static=2]="Static",i),l=(e=>(e[e.Unmount=0]="Unmount",e[e.Hidden=1]="Hidden",e))(l||{});function u(){let e=function(){let e=(0,r.useRef)([]),t=(0,r.useCallback)(t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)},[]);return(...n)=>{if(!n.every(e=>null==e))return e.current=n,t}}();return(0,r.useCallback)(t=>function({ourProps:e,theirProps:t,slot:n,defaultTag:i,features:r,visible:o=!0,name:a,mergeRefs:l}){l=null!=l?l:d;let u=M(t,e);if(o)return c(u,n,i,a,l);let m=null!=r?r:0;if(2&m){let{static:e=!1,...t}=u;if(e)return c(t,n,i,a,l)}if(1&m){let{unmount:e=!0,...t}=u;return(0,s.Y)(e?0:1,{0(){return null},1(){return c({...t,hidden:!0,style:{display:"none"}},n,i,a,l)}})}return c(u,n,i,a,l)}({mergeRefs:e,...t}),[e])}function c(e,t={},n,i,s){let{as:a=n,children:l,refName:u="ref",...c}=p(e,["unmount","static"]),d=void 0!==e.ref?{[u]:e.ref}:{},m="function"==typeof l?l(t):l;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let h={};if(t){let e=!1,n=[];for(let[i,r]of Object.entries(t))"boolean"==typeof r&&(e=!0),!0===r&&n.push(i.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`));if(e){h["data-headlessui-state"]=n.join(" ");for(let e of n)h[`data-${e}`]=""}}if(y(a)&&(Object.keys(g(c)).length>0||Object.keys(g(h)).length>0)){if(!(!(0,r.isValidElement)(m)||Array.isArray(m)&&m.length>1||function(e){return y(e.type)}(m))){let e=m.props,t=null==e?void 0:e.className,n="function"==typeof t?(...e)=>(0,o.x)(t(...e),c.className):(0,o.x)(t,c.className),i=n?{className:n}:{},a=M(m.props,g(p(c,["ref"])));for(let r in h)r in a&&delete h[r];return(0,r.cloneElement)(m,Object.assign({},a,h,d,{ref:s(f(m),d.ref)},i))}if(Object.keys(g(c)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${i} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(g(c)).concat(Object.keys(g(h))).map(e=>`  - ${e}`).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map(e=>`  - ${e}`).join("\n")].join("\n"))}return(0,r.createElement)(a,Object.assign({},p(c,["ref"]),!y(a)&&d,!y(a)&&h),m)}function d(...e){return e.every(e=>null==e)?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}function M(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let i of e)for(let e in i)e.startsWith("on")&&"function"==typeof i[e]?(null!=n[e]||(n[e]=[]),n[e].push(i[e])):t[e]=i[e];if(t.disabled||t["aria-disabled"])for(let i in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(i)&&(n[i]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let i in n)Object.assign(t,{[i](e,...t){let r=n[i];for(let n of r){if((e instanceof Event||(null==e?void 0:e.nativeEvent)instanceof Event)&&e.defaultPrevented)return;n(e,...t)}}});return t}function m(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let i of e)for(let e in i)e.startsWith("on")&&"function"==typeof i[e]?(null!=n[e]||(n[e]=[]),n[e].push(i[e])):t[e]=i[e];for(let i in n)Object.assign(t,{[i](...e){let t=n[i];for(let n of t)null==n||n(...e)}});return t}function h(e){var t;return Object.assign((0,r.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function g(e){let t=Object.assign({},e);for(let n in t)void 0===t[n]&&delete t[n];return t}function p(e,t=[]){let n=Object.assign({},e);for(let i of t)i in n&&delete n[i];return n}function f(e){return r.version.split(".")[0]>="19"?e.props.ref:e.ref}function y(e){return e===r.Fragment||e===Symbol.for("react.fragment")}},6242:function(e,t,n){"use strict";n.d(t,{A:function(){return u}});var i=n(6540),r=n(4794);var o=e=>{let{otToken:t}=e;return i.createElement(i.Fragment,null,i.createElement(r.Script,{id:"ot-sdk-script",src:"https://cdn.cookielaw.org/scripttemplates/otSDKStub.js","data-domain-script":t}),i.createElement(r.Script,{id:"ot-sdk-script-func",dangerouslySetInnerHTML:{__html:"function OptanonWrapper() { }"}}))};var s=()=>i.createElement(i.Fragment,null,i.createElement(o,{otToken:"01990bd2-77aa-7749-9fd8-a55c6774f9c7"}
2)),a=n(6462),l=n(6710);var u=e=>{let{title:t,description:n,image:r,noIndex:o=!1,useGTM:u=!0,children:c}=e;const{pathname:d}=(0,a.useLocation)(),M=(0,l.A)(),{title:m,description:h,image:g,siteUrl:p}=M,f={title:t||m,description:n||h,ogTitle:t||m,ogDescription:n||h,image:""+p+(r||g),url:""+p+(d||"")};return i.createElement(i.Fragment,null,i.createElement(s,null),i.createElement("title",null,f.title),f.description&&i.createElement("meta",{name:"description",content:f.description}),i.createElement("meta",{name:"image",content:f.image}),i.createElement("meta",{name:"format-detection",content:"telephone=no"}),i.createElement("link",{rel:"canonical",href:f.url}),i.createElement(i.Fragment,null,i.createElement("meta",{property:"og:type",content:"website"}),i.createElement("meta",{property:"og:title",content:f.ogTitle}),i.createElement("meta",{property:"og:site_name",content:"Tonmya™"}),i.createElement("meta",{property:"twitter:title",content:f.ogTitle}),i.createElement("meta",{property:"og:url",content:f.url}),i.createElement("meta",{property:"og:image",content:f.image}),i.createElement("meta",{property:"twitter:url",content:f.url}),i.createElement("meta",{property:"twitter:image",content:f.image}),f.description&&i.createElement(i.Fragment,null,i.createElement("meta",{property:"og:description",content:f.ogDescription}),i.createElement("meta",{property:"twitter:description",content:f.ogDescription}))),u&&i.createElement(i.Fragment,null,i.createElement("link",{rel:"preconnect",href:"https://www.google-analytics.com"}),i.createElement("link",{rel:"dns-prefetch",href:"https://www.googletagmanager.com"})),o&&i.createElement("meta",{name:"robots",content:"noindex"}),c)}},6339:function(e,t,n){"use strict";n.d(t,{s:function(){return o}});var i=n(6540),r=n(9851);let o=(e,t)=>{r._.isServer?(0,i.useEffect)(e,t):(0,i.useLayoutEffect)(e,t)}},6421:function(e,t,n){"use strict";function i(...e){return Array.from(new Set(e.flatMap(e=>"string"==typeof e?e.split(" "):[]))).filter(Boolean).join(" ")}n.d(t,{x:function(){return i}})},6608:function(e,t,n){(()=>{"use strict";var t={d:(e,n)=>{for(var i in n)t.o(n,i)&&!t.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:n[i]})},o:(e,t)=>Object.prototype.hasOwnProperty.call(e,t),r:e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})}},i={};t.r(i),t.d(i,{default:()=>a});const r=n(6540);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,s,a=[],l=!0,u=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(a.push(i.value),a.length!==t);l=!0);}catch(e){u=!0,r=e}finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw r}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}const a=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:100,t=o((0,r.useState)("up"),2),n=t[0],i=t[1],s=o((0,r.useState)(0),2),a=s[0],l=s[1];return(0,r.useEffect)(function(){if("undefined"!=typeof window){var t=function(){var t=window.scrollY;
2if(t<e)return i("up"),void l(t);var r=t>a?"down":"up";r!==n&&i(r),l(t)};return window.addEventListener("scroll",t),function(){window.removeEventListener("scroll",t)}}},[n,a,e]),n};e.exports=i})()},6710:function(e,t,n){"use strict";var i=n(4794);t.A=()=>(0,i.useStaticQuery)("433452079").site.siteMetadata},6719:function(e,t,n){"use strict";n.d(t,{t:function(){return i}});const i=(0,n(6540).createContext)(null)},6992:function(e,t,n){"use strict";n.d(t,{L:function(){return o}});var i=n(6540),r=n(2599);function o(){let[e]=(0,i.useState)(r.e);return(0,i.useEffect)(()=>()=>e.dispose(),[e]),e}},7280:function(e,t,n){"use strict";function i(e){return function(e){return"object"==typeof e&&null!==e&&"nodeType"in e}(e)&&"tagName"in e}function r(e){return i(e)&&"accessKey"in e}function o(e){return i(e)&&"tabIndex"in e}function s(e){return i(e)&&"style"in e}function a(e){return r(e)&&"IFRAME"===e.nodeName}function l(e){return r(e)&&"INPUT"===e.nodeName}function u(e){return r(e)&&"FIELDSET"===e.nodeName}function c(e){return r(e)&&"LEGEND"===e.nodeName}n.d(t,{A3:function(){return l},Er:function(){return u},Gu:function(){return a},Jb:function(){return c},Lk:function(){return o},pv:function(){return s},sb:function(){return r},vq:function(){return i}})},7442:function(e,t,n){"use strict";n.d(t,{e:function(){return o}});var i=n(6540);let r=(0,i.createContext)(()=>{});function o({value:e,children:t}){return i.createElement(r.Provider,{value:e},t)}},8288:function(e,t,n){"use strict";n.d(t,{B:function(){return i}});const i="undefined"!=typeof window},8418:function(e,t,n){"use strict";e.exports=n(5160)},8601:function(e,t,n){"use strict";n.d(t,{M:function(){return r}});var i=n(6540);function r(e){const t=(0,i.useRef)(null);return null===t.current&&(t.current=e()),t.current}},8602:function(e,t,n){"use strict";n.d(t,{N:function(){return f}});var i=n(4848),r=n(6540),o=n(9473),s=n(8601),a=n(6719),l=n(5446);class u extends r.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const 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}){const n=(0,r.useId)(),o=(0,r.useRef)(null),s=(0,r.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,r.useContext)(l.Q);return(0,r.useInsertionEffect)(()=>{const{width:e,height:i,top:r,left:l}=s.current;if(t||!o.current||!e||!i)return;o.current.dataset.motionPopId=n;const u=document.createElement("style");return a&&(u.nonce=a),document.head.appendChild(u),u.sheet&&u.sheet.insertRule(`\n          [data-motion-pop-id="${n}"] {\n            position: absolute !important;\n            width: ${e}px !important;\n            height: ${i}px !important;\n            top: ${r}px !important;\n            left: ${l}px !important;\n          }\n        `),()=>{document.head.removeChild(u)}},[t]),(0,i.jsx)(u,{isPresent:t,childRef:o,sizeRef:s,children:r.cloneElement(e,{ref:o})})}const d=({children:e,initial:t,isPresent:n,onExitComplete:o,custom:l,presenceAffectsLayout:u,mode:d})=>{const m=(0,s.M)(M),h=(0,r.useId)(),g=(0,r.useCallback)(e=>{m.set(e,!0);for(const t of m.values())if(!t)return;o&&o()},[m,o]),p=(0,r.useMemo)(()=>({id:h,initial:t,isPresent:n,custom:l,onExitComplete:g,register:e=>(m.set(e,!1),()=>m.delete(e))}),u?[Math.random(),g]:[n,g]);return(0,r.useMemo)(()=>{m.forEach((e,t)=>m.set(t,!1))},[n]),r.useEffect(()=>{!n&&!m.size&&o&&o()},[n]),"popLayout"===d&&(e=(0,i.jsx)(c,{isPresent:n,children:e})),(0,i.jsx)(a.t.Provider,{value:p,children:e})};function M(){return new Map}var m=n(9120);const h=e=>e.key||"";function g(e){const t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}var p=n(5128);const f=({children:e,custom:t,initial:n=!0,onExitComplete:a,presenceAffectsLayout:l=!0,mode:u="sync",propagate:c=!1})=>{const[M,f]=(0,m.xQ)(c),y=(0,r.useMemo)(()=>g(e),[e]),N=c&&!M?[]:y.map(h),D=(0,r.useRef)(!0),j=(0,r.useRef)(y),I=(0,s.M)(()=>new Map),[v,T]=(0,r.useState)(y),[x,z]=(0,r.useState)(y);(0,p.E)(()=>{D.current=!1,j.current=y;for(let e=0;e<x.length;e++){const t=h(x[e]);N.includes(t)?I.delete(t):!0!==I.get(t)&&I.set(t,!1)}},[x,N.length,N.join("-")]);const E=[];if(y!==v){let e=[...y];for(let t=0;t<x.length;t++){const n=x[t],i=h(n);N.includes(i)||(e.splice(t,0,n),E.push(n))}return"wait"===u&&E.length&&(e=E),z(g(e)),void T(y)}const{forceRender:A}=(0,r.useContext)(o.L);return(0,i.jsx)(i.Fragment,{children:x.map(e=>{const r=h(e),o=!(c&&!M)&&(y===x||N.includes(r));return(0,i.jsx)(d,{isPresent:o,initial:!(D.current&&!n)&&void 0,custom:o?void 0:t,presenceAffectsLayout:l,mode:u,onExitComplete:o?void 0:()=>
2{if(!I.has(r))return;I.set(r,!0);let e=!0;I.forEach(t=>{t||(e=!1)}),e&&(null==A||A(),z(j.current),c&&(null==f||f()),a&&a())},children:e},r)})})}},8975:function(e,t,n){"use strict";n.d(t,{P:function(){return a},a:function(){return s}});var i=n(6540),r=n(5015);let o=Symbol();function s(e,t=!0){return Object.assign(e,{[o]:t})}function a(...e){let t=(0,i.useRef)(e);(0,i.useEffect)(()=>{t.current=e},[e]);let n=(0,r._)(e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)});return e.every(e=>null==e||(null==e?void 0:e[o]))?void 0:n}},9120:function(e,t,n){"use strict";n.d(t,{xQ:function(){return o}});var i=n(6540),r=n(6719);function o(e=!0){const t=(0,i.useContext)(r.t);if(null===t)return[!0,null];const{isPresent:n,onExitComplete:o,register:s}=t,a=(0,i.useId)();(0,i.useEffect)(()=>{e&&s(a)},[e]);const l=(0,i.useCallback)(()=>e&&o&&o(a),[a,o,e]);return!n&&o?[!1,l]:[!0]}},9123:function(e,t,n){"use strict";n.d(t,{G3:function(){return c},_Y:function(){return d}});var i=n(6540),r=function(){return r=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},r.apply(this,arguments)};var o,s=function(e,t){(function(e){var t;e?function(e){if(e)for(;e.lastChild;)e.lastChild.remove()}("string"==typeof e?document.getElementById(e):e):(t=document.querySelector(".grecaptcha-badge"))&&t.parentNode&&document.body.removeChild(t.parentNode)})(t),window.___grecaptcha_cfg=void 0;var n=document.querySelector("#"+e);n&&n.remove(),function(){var e=document.querySelector('script[src^="https://www.gstatic.com/recaptcha/releases"]');e&&e.remove()}()},a=function(e){var t=e.render,n=e.onLoadCallbackName,i=e.language,r=e.onLoad,o=e.useRecaptchaNet,s=e.useEnterprise,a=e.scriptProps,l=void 0===a?{}:a,u=l.nonce,c=void 0===u?"":u,d=l.defer,M=void 0!==d&&d,m=l.async,h=void 0!==m&&m,g=l.id,p=void 0===g?"":g,f=l.appendTo,y=p||"google-recaptcha-v3";if(function(e){return!!document.querySelector("#"+e)}(y))r();else{var N=function(e){return"https://www."+(e.useRecaptchaNet?"recaptcha.net":"google.com")+"/recaptcha/"+(e.useEnterprise?"enterprise.js":"api.js")}({useEnterprise:s,useRecaptchaNet:o}),D=document.createElement("script");D.id=y,D.src=N+"?render="+t+("explicit"===t?"&onload="+n:"")+(i?"&hl="+i:""),c&&(D.nonce=c),D.defer=!!M,D.async=!!h,D.onload=r,("body"===f?document.body:document.getElementsByTagName("head")[0]).appendChild(D)}},l=function(e){console.warn(e)};!function(e){e.SCRIPT_NOT_AVAILABLE="Recaptcha script is not available"}(o||(o={}));var u=(0,i.createContext)({executeRecaptcha:function(){throw Error("GoogleReCaptcha Context has not yet been implemented, if you are using useGoogleReCaptcha hook, make sure the hook is called inside component wrapped by GoogleRecaptchaProvider")}});u.Consumer;function c(e){var t=e.reCaptchaKey,n=e.useEnterprise,c=void 0!==n&&n,d=e.useRecaptchaNet,M=void 0!==d&&d,m=e.scriptProps,h=e.language,g=e.container,p=e.children,f=(0,i.useState)(null),y=f[0],N=f[1],D=(0,i.useRef)(t),j=JSON.stringify(m),I=JSON.stringify(null==g?void 0:g.parameters);(0,i.useEffect)(function(){if(t){var e=(null==m?void 0:m.id)||"google-recaptcha-v3",n=(null==m?void 0:m.onLoadCallbackName)||"onRecaptchaLoadCallback";return window[n]=function(){var e=c?window.grecaptcha.enterprise:window.grecaptcha,n=r({badge:"inline",size:"invisible",sitekey:t},(null==g?void 0:g.parameters)||{});D.current=e.render(null==g?void 0:g.element,n)},a({render:(null==g?void 0:g.element)?"explicit":t,onLoadCallbackName:n,useEnterprise:c,useRecaptchaNet:M,scriptProps:m,language:h,onLoad:function(){if(window&&window.grecaptcha){var e=c?window.grecaptcha.enterprise:window.grecaptcha;e.ready(function(){N(e)})}else l("<GoogleRecaptchaProvider /> "+o.SCRIPT_NOT_AVAILABLE)},onError:function(){l("Error loading google recaptcha script")}}),function(){s(e,null==g?void 0:g.element)}}l("<GoogleReCaptchaProvider /> recaptcha key not provided")},[c,M,j,I,h,t,null==g?void 0:g.element]);var v=(0,i.useCallback)(function(e){if(!y||!y.execute)throw new Error("<GoogleReCaptchaProvider /> Google Recaptcha has not been loaded");return y.execute(D.current,{action:e})},[y,D]),T=(0,i.useMemo)(function(){return{executeRecaptcha:y?v:void 0,container:null==g?void 0:g.element}},[v,y,null==g?void 0:g.element]);return i.createElement(u.Provider,{value:T},p)}var d=function(){return(0,i.useContext)(u)};function M(e,t){return e(t={exports:{}},t.exports),t.exports}var m="function"==typeof Symbol&&Symbol.for,h=m?Symbol.for("react.element"):60103,g=m?Symbol.for("react.portal"):60106,p=m?Symbol.for("react.fragment"):60107,f=m?Symbol.for("react.strict_mode"):60108,y=m?Symbol.for("react.profiler"):60114,N=m?Symbol.for("react.provider"):60109,D=m?Symbol.for("react.context"):60110,j=m?Symbol.for("react.async_mode"):60111,I=m?Symbol.for("react.concurrent_mode"):60111,v=m?Symbol.for("react.forward_ref"):60112,T=m?Symbol.for("react.suspense"):60113,x=m?Symbol.for("react.suspense_list"):60120,z=m?Symbol.for("react.memo"):60115,E=m?Symbol.for("react.lazy"):60116,A=m?Symbol.for("react.block"):60121,w=m?Symbol.for("react.fundamental"):60117,O=m?Symbol.for("react.responder"):60118,L=m?Symbol.for("react.scope"):60119;function b(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case h:switch(e=e.type){case j:case I:case p:case y:case f:case T:return e;default:switch(e=e&&e.$$typeof){case D:case v:case E:case z:case N:return e;default:return t}}case g:return t}}}function S(e){return b(e)===I}var C={AsyncMode:j,ConcurrentMode:I,ContextConsumer:D,ContextProvider:N,Element:h,ForwardRef:v,Fragment:p,Lazy:E,Memo:z,Portal:g,Profiler:y,StrictMode:f,Suspense:T,isAsyncMode:function(e){return S(e)||b(e)===j},isConcurrentMode:S,isContextConsumer:function(e){return b(e)===D},isContextProvider:function(e){return b(e)===N},isElement:function(e){return"object"==typeof e&&null!==e&&e.$$typeof===h},isForwardRef:function(e){return b(e)===v},isFragment:function(e){return b(e)===p},isLazy:function(e){return b(e)===E},isMemo:function(e){return b(e)===z},isPortal:function(e){return b(e)===g},isProfiler:function(e){return b(e)===y},isStrictMode:function(e){return b(e)===f},isSuspense:function(e){return b(e)===T},isValidElementType:function(e){return"string"==typeof e||"function"==typeof e||e===p||e===I||e===y||e===f||e===T||e===x||"object"==typeof e&&null!==e&&(e.$$typeof===E||e.$$typeof===z||e.$$typeof===N||e.$$typeof===D||e.$$typeof===v||e.$$typeof===w||e.$$typeof===O||e.$$typeof===L||e.$$typeof===A)},typeOf:b},k=M(function(e,t){}),Y=(k.AsyncMode,k.ConcurrentMode,k.ContextConsumer,k.ContextProvider,k.Element,k.ForwardRef,k.Fragment,k.Lazy,k.Memo,k.Portal,k.Profiler,k.StrictMode,k.Suspense,k.isAsyncMode,k.isConcurrentMode,k.isContextConsumer,k.isContextProvider,k.isElement,k.isForwardRef,k.isFragment,k.isLazy,k.isMemo,k.isPortal,k.isProfiler,k.isStrictMode,k.isSuspense,k.isValidElementType,k.typeOf,M(function(e){e.exports=C})),P={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},Q={};Q[Y.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},Q[Y.Memo]=P;Object.defineProperty,Object.getOwnPropertyNames,Object.getOwnPropertySymbols,Object.getOwnPropertyDescriptor,Object.getPrototypeOf,Object.prototype},9202:function(e,t,n){"use strict";function i(e){var t;if("undefined"==typeof window||null==window.navigator)return!1;let n=null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands;return Array.isArray(n)&&n.some(t=>e.test(t.brand))||e.test(window.navigator.userAgent)}function r(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function o(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{Tc:function(){return c},bh:function(){return l},cX:function(){return s},gm:function(){return m},m0:function(){return M},un:function(){return u}});const s=o(function(){return r(/^Mac/i)}),a=o(function(){return r(/^iPhone/i)}),l=o(function(){return r(/^iPad/i)||s()&&navigator.maxTouchPoints>1}),u=o(function(){return a()||l()}),c=(o(function(){return s()||u()}
2),o(function(){return i(/AppleWebKit/i)&&!d()})),d=o(function(){return i(/Chrome/i)}),M=o(function(){return i(/Android/i)}),m=o(function(){return i(/Firefox/i)})},9473:function(e,t,n){"use strict";n.d(t,{L:function(){return i}});const i=(0,n(6540).createContext)({})},9851:function(e,t,n){"use strict";n.d(t,{_:function(){return o}});var i=Object.defineProperty,r=(e,t,n)=>(((e,t,n)=>{t in e?i(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let o=new class{constructor(){r(this,"current",this.detect()),r(this,"handoffState","pending"),r(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}},9953:function(e,t,n){"use strict";n.d(t,{N:function(){return r}});var i=n(6540);const r="undefined"!=typeof document?i.useLayoutEffect:()=>{}}}]);
3//# sourceMappingURL=commons-c94af6430b6a548acb39.js.map

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.