From ccd820d65052dffa1a699d887046d84f6a721fa5 Mon Sep 17 00:00:00 2001 From: miladsoft Date: Fri, 15 Nov 2024 14:30:45 +0000 Subject: [PATCH] deploy: 125759a4ad5fb8f181a4d51d7238ce166dd15122 --- 404.html | 4 ++-- ...xPXpf.js => AngorStepsAnimation.CkyMrWPj.js} | 2 +- ...t.C5Go9owE.js => BtcPriceWidget.u4Z6TnNk.js} | 2 +- ...n.gwA8e9SI.js => CheckArrowIcon.CxGWFn1k.js} | 2 +- _astro/{FAQ.DfYFAaOZ.js => FAQ.D8PN75UC.js} | 2 +- ...tures1.CAnvY-_r.js => Features1.nyX5-5_3.js} | 2 +- ...tures2.BEDdrkhw.js => Features2.B_tR0UZa.js} | 2 +- ...DvgJO4-y.js => FeaturesDiagonal.DePiWVto.js} | 2 +- _astro/{Hero.GCslgar4.js => Hero.xnbbeM4j.js} | 4 ++-- .../{Navbar.TXAsqXew.js => Navbar.DZnVScVp.js} | 2 +- ...n.C5LiQmpP.js => ScrollUpButton.B5Qrhvqy.js} | 2 +- .../{client.D9Ud3v75.js => client.BIGLHmRd.js} | 12 ++++++------ _astro/index.CQPPKyn2.js | 9 --------- _astro/index.DhYZZe0J.js | 9 +++++++++ _astro/jsx-runtime.7faW4zRM.js | 9 +++++++++ _astro/jsx-runtime.aePpX4xZ.js | 9 --------- _astro/{proxy.C6YqNO2W.js => proxy.BGI24Kd2.js} | 2 +- angor-logo.jpg | Bin 0 -> 38185 bytes blog/article/index.html | 4 ++-- btc-price/index.html | 4 ++-- how-angor-works/index.html | 4 ++-- index.html | 4 ++-- 22 files changed, 46 insertions(+), 46 deletions(-) rename _astro/{AngorStepsAnimation.D1RxPXpf.js => AngorStepsAnimation.CkyMrWPj.js} (92%) rename _astro/{BtcPriceWidget.C5Go9owE.js => BtcPriceWidget.u4Z6TnNk.js} (90%) rename _astro/{CheckArrowIcon.gwA8e9SI.js => CheckArrowIcon.CxGWFn1k.js} (87%) rename _astro/{FAQ.DfYFAaOZ.js => FAQ.D8PN75UC.js} (97%) rename _astro/{Features1.CAnvY-_r.js => Features1.nyX5-5_3.js} (92%) rename _astro/{Features2.BEDdrkhw.js => Features2.B_tR0UZa.js} (90%) rename _astro/{FeaturesDiagonal.DvgJO4-y.js => FeaturesDiagonal.DePiWVto.js} (91%) rename _astro/{Hero.GCslgar4.js => Hero.xnbbeM4j.js} (90%) rename _astro/{Navbar.TXAsqXew.js => Navbar.DZnVScVp.js} (98%) rename _astro/{ScrollUpButton.C5LiQmpP.js => ScrollUpButton.B5Qrhvqy.js} (85%) rename _astro/{client.D9Ud3v75.js => client.BIGLHmRd.js} (77%) delete mode 100644 _astro/index.CQPPKyn2.js create mode 100644 _astro/index.DhYZZe0J.js create mode 100644 _astro/jsx-runtime.7faW4zRM.js delete mode 100644 _astro/jsx-runtime.aePpX4xZ.js rename _astro/{proxy.C6YqNO2W.js => proxy.BGI24Kd2.js} (99%) create mode 100644 angor-logo.jpg diff --git a/404.html b/404.html index e1f29aa..6ad1e58 100644 --- a/404.html +++ b/404.html @@ -1,4 +1,4 @@ Angor

non custodial crowdfunding

with Angor

Angor Hub
Dashboard image
Introduction

Decentralized crowdfunding

We're shaking up how Bitcoin crowdfunding works. Angor is a decentralized protocol, uniquely merging the security of Bitcoin with the transparency of Nostr. Investors funds are released in stages through time-lock contracts. Unspent funds can be recovered at any point, ensuring that investors maintain control and aligning the interests of investors and founders.

  • Investor Empowerment
  • Founder Advantage
  • Transparent Platform
Behind the Tech

Angor has no backend and is verifiable source code

It relies on Bitcoin explorers and Nostr relays, which users can run on their own.

  • Tech stack:
  • Multisig 2-of-2 for revocation
  • Taproot for efficiency
  • Time-lock contracts (CLTV, CSV) for milestones
  • Nostr protocol for comms and web of trust
  • Hash locks for group revocation
Where connections happen

Angor Hub

Angor Hub is a Nostr client built around the Angor protocol, offering tools to explore crowdfunding projects, connect with investors, and engage directly with founders. Whether you're seeking investment opportunities or funding for your project, Angor Hub provides secure messaging, project pages, and group channels for seamless interaction within a decentralized environment.

Have any questions?

Frequently Asked Questions

What is Angor?

Angor is fully decentralized, with no middleman involved in the investment process. It has no backend and uses the Bitcoin and Nostr protocols to achieve this.

How does Angor work?

Angor leverages Bitcoin’s scripting language to program spending conditions like timelocks, hashlocks, and multisig. Each project milestone is represented as a UTXO, releasing funds over time using timelocks, while a 2-of-2 multisig allows investors to exit if needed, when an investor exists a project their Bitcoin becomes locked for the duration of a predefined penalty.

What role does Nostr play?

Nostr is used for storing project metadata and facilitating communication between founders and investors. Angor Hub allows you to create custom project views, search for projects, and get updates from founders.

How does Angor benefit investors?

Investor funds are time-locked, preventing rug pulls, and offering more control over unspent funds, which reduces financial risk.

What advantages does Angor offer to founders?

Founders benefit from a secure platform for investors, unlocking more capital. Investors are guaranteed that their funds are committed to the project, attracting serious backers.

Is Angor suitable for all types of crowdfunding projects?

Angor’s decentralized and secure nature makes it suitable for a wide range of crowdfunding projects.

What assets can I invest?

Angor only supports Bitcoin for investments.

Do I need permission to use Angor?

Angor is permissionless and censorship-resistant, just like Bitcoin.

How does Angor ensure the security of funds?

Angor uses Bitcoin’s time-lock contracts and a 2-of-2 multisig approach, ensuring the security of funds at each stage.

How do I recover my unspent funds?

If you want to exit a project you backed, you can initiate a recovery of any unspent funds through your Angor wallet. This process allows you to exit the project securely.

Are there any restrictions/charges for recovering unspent funds?

There are no charges, except for the miner fee. Angor’s protocol ensures you retain control over your contributions without additional platform fees.

How long does it take to recover unspent funds?

Recovering unspent funds is quick and processed via your Angor wallet. Ensure the recovery transaction fee rate is high enough to get into the target block.

What happens if the project is not fully funded?

If a project doesn’t reach full funding, there are two potential paths: if the founder consents, they can co-sign an exit transaction using the 2-of-2 multisig setup to return funds. If not, the investor may need to engage in a penalty process.

When and how are rewards/tokens paid to investors?

Angor does not manage rewards such as shares or token allocation; this is handled directly between the founder and investor.

How can I get updates on the projects' progress?

You can monitor project progress on Angor Hub, where updates will be posted using the Nostr relays. This provides real-time access to project statuses and milestones. Notifications can be enabled to alert you to significant developments.

How do you select and vet crowdfunding projects?

Angor is a decentralized protocol, and developers do not participate in the selection or vetting of projects listed on the platform. The responsibility for choosing projects lies with the community and the protocol’s trustless design.

\ No newline at end of file +

non custodial crowdfunding

with Angor

Angor Hub
Dashboard image
Introduction

Decentralized crowdfunding

We're shaking up how Bitcoin crowdfunding works. Angor is a decentralized protocol, uniquely merging the security of Bitcoin with the transparency of Nostr. Investors funds are released in stages through time-lock contracts. Unspent funds can be recovered at any point, ensuring that investors maintain control and aligning the interests of investors and founders.

  • Investor Empowerment
  • Founder Advantage
  • Transparent Platform
Behind the Tech

Angor has no backend and is verifiable source code

It relies on Bitcoin explorers and Nostr relays, which users can run on their own.

  • Tech stack:
  • Multisig 2-of-2 for revocation
  • Taproot for efficiency
  • Time-lock contracts (CLTV, CSV) for milestones
  • Nostr protocol for comms and web of trust
  • Hash locks for group revocation
Where connections happen

Angor Hub

Angor Hub is a Nostr client built around the Angor protocol, offering tools to explore crowdfunding projects, connect with investors, and engage directly with founders. Whether you're seeking investment opportunities or funding for your project, Angor Hub provides secure messaging, project pages, and group channels for seamless interaction within a decentralized environment.

Have any questions?

Frequently Asked Questions

What is Angor?

Angor is fully decentralized, with no middleman involved in the investment process. It has no backend and uses the Bitcoin and Nostr protocols to achieve this.

How does Angor work?

Angor leverages Bitcoin’s scripting language to program spending conditions like timelocks, hashlocks, and multisig. Each project milestone is represented as a UTXO, releasing funds over time using timelocks, while a 2-of-2 multisig allows investors to exit if needed, when an investor exists a project their Bitcoin becomes locked for the duration of a predefined penalty.

What role does Nostr play?

Nostr is used for storing project metadata and facilitating communication between founders and investors. Angor Hub allows you to create custom project views, search for projects, and get updates from founders.

How does Angor benefit investors?

Investor funds are time-locked, preventing rug pulls, and offering more control over unspent funds, which reduces financial risk.

What advantages does Angor offer to founders?

Founders benefit from a secure platform for investors, unlocking more capital. Investors are guaranteed that their funds are committed to the project, attracting serious backers.

Is Angor suitable for all types of crowdfunding projects?

Angor’s decentralized and secure nature makes it suitable for a wide range of crowdfunding projects.

What assets can I invest?

Angor only supports Bitcoin for investments.

Do I need permission to use Angor?

Angor is permissionless and censorship-resistant, just like Bitcoin.

How does Angor ensure the security of funds?

Angor uses Bitcoin’s time-lock contracts and a 2-of-2 multisig approach, ensuring the security of funds at each stage.

How do I recover my unspent funds?

If you want to exit a project you backed, you can initiate a recovery of any unspent funds through your Angor wallet. This process allows you to exit the project securely.

Are there any restrictions/charges for recovering unspent funds?

There are no charges, except for the miner fee. Angor’s protocol ensures you retain control over your contributions without additional platform fees.

How long does it take to recover unspent funds?

Recovering unspent funds is quick and processed via your Angor wallet. Ensure the recovery transaction fee rate is high enough to get into the target block.

What happens if the project is not fully funded?

If a project doesn’t reach full funding, there are two potential paths: if the founder consents, they can co-sign an exit transaction using the 2-of-2 multisig setup to return funds. If not, the investor may need to engage in a penalty process.

When and how are rewards/tokens paid to investors?

Angor does not manage rewards such as shares or token allocation; this is handled directly between the founder and investor.

How can I get updates on the projects' progress?

You can monitor project progress on Angor Hub, where updates will be posted using the Nostr relays. This provides real-time access to project statuses and milestones. Notifications can be enabled to alert you to significant developments.

How do you select and vet crowdfunding projects?

Angor is a decentralized protocol, and developers do not participate in the selection or vetting of projects listed on the platform. The responsibility for choosing projects lies with the community and the protocol’s trustless design.

\ No newline at end of file diff --git a/_astro/AngorStepsAnimation.D1RxPXpf.js b/_astro/AngorStepsAnimation.CkyMrWPj.js similarity index 92% rename from _astro/AngorStepsAnimation.D1RxPXpf.js rename to _astro/AngorStepsAnimation.CkyMrWPj.js index 99df3d0..c0d4964 100644 --- a/_astro/AngorStepsAnimation.D1RxPXpf.js +++ b/_astro/AngorStepsAnimation.CkyMrWPj.js @@ -1 +1 @@ -import{j as t}from"./jsx-runtime.aePpX4xZ.js";import{r as s}from"./index.CQPPKyn2.js";import{g as d}from"./index.DjKJqAo0.js";const o=["Angor is a crowdfunding platform. Like all crowdfunding platforms, Angor allows founders to raise capital from a group of investors to finance various projects, such as innovative open source software for instance.","What makes Angor different? First, Angor focuses on BITCOIN investments only. Investors must fund a BTC wallet.","The platform is FULLY DECENTRALISED - no middlemen involved. Angor has no backend, all transactions are processed on the Bitcoin network, and metadata for funding projects is stored on Nostr.","Funds are released to borrowers IN STAGES on predetermined dates, and investors can recover any unspent funds.","Benefits include the ability to recall unspent funds, better alignment of investor and founder interests, and enhanced security and privacy via Bitcoin and Nostr."],p=()=>{const[e,a]=s.useState(0),r=s.useRef([]);s.useEffect(()=>{e>=0&&d.fromTo(r.current[e],{opacity:0,x:-50,scale:.8},{opacity:1,x:0,scale:1,duration:1,ease:"power4.out"})},[e]);const i=()=>{et.jsx("p",{ref:c=>r.current[n]=c,className:`text-base sm:text-lg md:text-xl lg:text-2xl text-center transition-all duration-700 transform ${n===e?"block":"hidden"} my-6`,children:l},n))}),e{const[e,a]=s.useState(0),r=s.useRef([]);s.useEffect(()=>{e>=0&&d.fromTo(r.current[e],{opacity:0,x:-50,scale:.8},{opacity:1,x:0,scale:1,duration:1,ease:"power4.out"})},[e]);const i=()=>{et.jsx("p",{ref:c=>r.current[n]=c,className:`text-base sm:text-lg md:text-xl lg:text-2xl text-center transition-all duration-700 transform ${n===e?"block":"hidden"} my-6`,children:l},n))}),e{const[m,d]=e.useState("Loading..."),[x,u]=e.useState("Loading..."),[r,g]=e.useState("#fff"),n=e.useRef(null),a=e.useRef(null);return e.useEffect(()=>{const t=new WebSocket("wss://stream.binance.com:9443/ws/btcusdt@ticker");return t.onopen=()=>{console.log("WebSocket connection opened")},t.onmessage=o=>{const l=JSON.parse(o.data),c=parseFloat(l.c).toFixed(2),i=parseFloat(l.P).toFixed(2);a.current!==c&&(f.fromTo(n.current,{scale:1.2,opacity:.5},{scale:1,opacity:1,duration:.5,ease:"elastic.out(1, 0.3)"}),d(`$${c}`),u(`24h Change: ${i}%`),g(i>=0?"#27ae60":"#e74c3c"),a.current=c)},t.onerror=o=>{console.error("WebSocket error:",o)},t.onclose=()=>{console.log("WebSocket connection closed. Reconnecting..."),setTimeout(()=>{initializeWebSocket()},1e3)},()=>{t.close()}},[]),s.jsxs("div",{className:"flex flex-col items-center justify-center mb-24 md:mb-48 lg:mb-48 text-white",children:[s.jsx("div",{ref:n,className:"text-4xl md:text-6xl lg:text-8xl font-extrabold transition-colors duration-500",style:{color:r},children:m}),s.jsx("div",{className:"text-lg md:text-xl lg:text-2xl mt-2 md:mt-3 lg:mt-4",style:{color:r},children:x})]})};export{S as default}; +import{j as s}from"./jsx-runtime.7faW4zRM.js";import{r as e}from"./index.DhYZZe0J.js";import{g as f}from"./index.DjKJqAo0.js";const S=()=>{const[m,d]=e.useState("Loading..."),[x,u]=e.useState("Loading..."),[r,g]=e.useState("#fff"),n=e.useRef(null),a=e.useRef(null);return e.useEffect(()=>{const t=new WebSocket("wss://stream.binance.com:9443/ws/btcusdt@ticker");return t.onopen=()=>{console.log("WebSocket connection opened")},t.onmessage=o=>{const l=JSON.parse(o.data),c=parseFloat(l.c).toFixed(2),i=parseFloat(l.P).toFixed(2);a.current!==c&&(f.fromTo(n.current,{scale:1.2,opacity:.5},{scale:1,opacity:1,duration:.5,ease:"elastic.out(1, 0.3)"}),d(`$${c}`),u(`24h Change: ${i}%`),g(i>=0?"#27ae60":"#e74c3c"),a.current=c)},t.onerror=o=>{console.error("WebSocket error:",o)},t.onclose=()=>{console.log("WebSocket connection closed. Reconnecting..."),setTimeout(()=>{initializeWebSocket()},1e3)},()=>{t.close()}},[]),s.jsxs("div",{className:"flex flex-col items-center justify-center mb-24 md:mb-48 lg:mb-48 text-white",children:[s.jsx("div",{ref:n,className:"text-4xl md:text-6xl lg:text-8xl font-extrabold transition-colors duration-500",style:{color:r},children:m}),s.jsx("div",{className:"text-lg md:text-xl lg:text-2xl mt-2 md:mt-3 lg:mt-4",style:{color:r},children:x})]})};export{S as default}; diff --git a/_astro/CheckArrowIcon.gwA8e9SI.js b/_astro/CheckArrowIcon.CxGWFn1k.js similarity index 87% rename from _astro/CheckArrowIcon.gwA8e9SI.js rename to _astro/CheckArrowIcon.CxGWFn1k.js index 53735bf..48cffc7 100644 --- a/_astro/CheckArrowIcon.gwA8e9SI.js +++ b/_astro/CheckArrowIcon.CxGWFn1k.js @@ -1 +1 @@ -import{j as s}from"./jsx-runtime.aePpX4xZ.js";const r=()=>s.jsx("div",{className:"rounded-full bg-transparent w-5 h-5 flex justify-center items-center mr-4",children:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"20px",height:"20px",className:"fill-secondaryColor",children:s.jsx("path",{d:"M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"})})});export{r as C}; +import{j as s}from"./jsx-runtime.7faW4zRM.js";const r=()=>s.jsx("div",{className:"rounded-full bg-transparent w-5 h-5 flex justify-center items-center mr-4",children:s.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512",width:"20px",height:"20px",className:"fill-secondaryColor",children:s.jsx("path",{d:"M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"})})});export{r as C}; diff --git a/_astro/FAQ.DfYFAaOZ.js b/_astro/FAQ.D8PN75UC.js similarity index 97% rename from _astro/FAQ.DfYFAaOZ.js rename to _astro/FAQ.D8PN75UC.js index e32ebc7..240e3a8 100644 --- a/_astro/FAQ.DfYFAaOZ.js +++ b/_astro/FAQ.D8PN75UC.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime.aePpX4xZ.js";import{r as i}from"./index.CQPPKyn2.js";import{m as a}from"./proxy.C6YqNO2W.js";const c=[{question:"What is Angor?",answer:"Angor is fully decentralized, with no middleman involved in the investment process. It has no backend and uses the Bitcoin and Nostr protocols to achieve this."},{question:"How does Angor work?",answer:"Angor leverages Bitcoin’s scripting language to program spending conditions like timelocks, hashlocks, and multisig. Each project milestone is represented as a UTXO, releasing funds over time using timelocks, while a 2-of-2 multisig allows investors to exit if needed, when an investor exists a project their Bitcoin becomes locked for the duration of a predefined penalty."},{question:"What role does Nostr play?",answer:"Nostr is used for storing project metadata and facilitating communication between founders and investors. Angor Hub allows you to create custom project views, search for projects, and get updates from founders."},{question:"How does Angor benefit investors?",answer:"Investor funds are time-locked, preventing rug pulls, and offering more control over unspent funds, which reduces financial risk."},{question:"What advantages does Angor offer to founders?",answer:"Founders benefit from a secure platform for investors, unlocking more capital. Investors are guaranteed that their funds are committed to the project, attracting serious backers."},{question:"Is Angor suitable for all types of crowdfunding projects?",answer:"Angor’s decentralized and secure nature makes it suitable for a wide range of crowdfunding projects."},{question:"What assets can I invest?",answer:"Angor only supports Bitcoin for investments."},{question:"Do I need permission to use Angor?",answer:"Angor is permissionless and censorship-resistant, just like Bitcoin."},{question:"How does Angor ensure the security of funds?",answer:"Angor uses Bitcoin’s time-lock contracts and a 2-of-2 multisig approach, ensuring the security of funds at each stage."},{question:"How do I recover my unspent funds?",answer:"If you want to exit a project you backed, you can initiate a recovery of any unspent funds through your Angor wallet. This process allows you to exit the project securely."},{question:"Are there any restrictions/charges for recovering unspent funds?",answer:"There are no charges, except for the miner fee. Angor’s protocol ensures you retain control over your contributions without additional platform fees."},{question:"How long does it take to recover unspent funds?",answer:"Recovering unspent funds is quick and processed via your Angor wallet. Ensure the recovery transaction fee rate is high enough to get into the target block."},{question:"What happens if the project is not fully funded?",answer:"If a project doesn’t reach full funding, there are two potential paths: if the founder consents, they can co-sign an exit transaction using the 2-of-2 multisig setup to return funds. If not, the investor may need to engage in a penalty process."},{question:"When and how are rewards/tokens paid to investors?",answer:"Angor does not manage rewards such as shares or token allocation; this is handled directly between the founder and investor."},{question:"How can I get updates on the projects' progress?",answer:"You can monitor project progress on Angor Hub, where updates will be posted using the Nostr relays. This provides real-time access to project statuses and milestones. Notifications can be enabled to alert you to significant developments."},{question:"How do you select and vet crowdfunding projects?",answer:"Angor is a decentralized protocol, and developers do not participate in the selection or vetting of projects listed on the platform. The responsibility for choosing projects lies with the community and the protocol’s trustless design."}],h=()=>e.jsxs("section",{className:"relative -mt-8 sm:mt-0 pt-12 sm:pt-16 pb-16 bg-blueGray-50 overflow-hidden",children:[e.jsx("div",{className:"absolute -top-10",id:"FAQ"}),e.jsx(a.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.5,delay:.2},children:e.jsx("div",{className:"relative z-10 container px-2 sm:px-8 lg:px-4 mx-auto w-11/12 sm:w-full",children:e.jsxs("div",{className:"md:max-w-4xl mx-auto",children:[e.jsx("p",{className:"mb-7 block-subtitle text-center",children:"Have any questions?"}),e.jsx("h2",{className:"mb-16 block-big-title text-center",children:"Frequently Asked Questions"}),e.jsx("div",{className:"mb-11 flex flex-wrap -m-1",children:c.map((t,s)=>e.jsx("div",{className:"w-full p-1",children:e.jsx(d,{title:t.question,content:t.answer,defaultOpen:s===0},`${t.question}-${t.answer}`)},`${t.question}-${s}`))})]})})})]}),d=({defaultOpen:t,title:s,content:n})=>{const[o,r]=i.useState(t);return e.jsxs("div",{className:"pt-2 sm:pt-6 pb-2 px-3 sm:px-8 rounded-3xl bg-bgDark3 main-border-gray-darker mb-4 relative hover:bg-bgDark3Hover cursor-pointer transition",onClick:()=>r(!o),children:[e.jsxs("div",{className:"flex flex-col p-2 justify-center items-start",children:[e.jsx("h3",{className:" content-title pt-3 sm:pt-0 pr-8 sm:pr-0",children:s}),e.jsx("p",{className:`text-secondaryText pt-4 transition-height duration-300 overflow-hidden ${o?"max-h-96":"max-h-0"}`,children:n})]}),e.jsx("div",{className:"absolute top-6 right-4 sm:top-8 sm:right-8",children:e.jsx("svg",{width:"28px",height:"30px",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:`transition-all duration-500 ${o?"rotate-[180deg]":"rotate-[270deg]"}`,children:e.jsx("path",{d:"M4.16732 12.5L10.0007 6.66667L15.834 12.5",stroke:"#cbdde1",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})};export{h as FAQ}; +import{j as e}from"./jsx-runtime.7faW4zRM.js";import{r as i}from"./index.DhYZZe0J.js";import{m as a}from"./proxy.BGI24Kd2.js";const c=[{question:"What is Angor?",answer:"Angor is fully decentralized, with no middleman involved in the investment process. It has no backend and uses the Bitcoin and Nostr protocols to achieve this."},{question:"How does Angor work?",answer:"Angor leverages Bitcoin’s scripting language to program spending conditions like timelocks, hashlocks, and multisig. Each project milestone is represented as a UTXO, releasing funds over time using timelocks, while a 2-of-2 multisig allows investors to exit if needed, when an investor exists a project their Bitcoin becomes locked for the duration of a predefined penalty."},{question:"What role does Nostr play?",answer:"Nostr is used for storing project metadata and facilitating communication between founders and investors. Angor Hub allows you to create custom project views, search for projects, and get updates from founders."},{question:"How does Angor benefit investors?",answer:"Investor funds are time-locked, preventing rug pulls, and offering more control over unspent funds, which reduces financial risk."},{question:"What advantages does Angor offer to founders?",answer:"Founders benefit from a secure platform for investors, unlocking more capital. Investors are guaranteed that their funds are committed to the project, attracting serious backers."},{question:"Is Angor suitable for all types of crowdfunding projects?",answer:"Angor’s decentralized and secure nature makes it suitable for a wide range of crowdfunding projects."},{question:"What assets can I invest?",answer:"Angor only supports Bitcoin for investments."},{question:"Do I need permission to use Angor?",answer:"Angor is permissionless and censorship-resistant, just like Bitcoin."},{question:"How does Angor ensure the security of funds?",answer:"Angor uses Bitcoin’s time-lock contracts and a 2-of-2 multisig approach, ensuring the security of funds at each stage."},{question:"How do I recover my unspent funds?",answer:"If you want to exit a project you backed, you can initiate a recovery of any unspent funds through your Angor wallet. This process allows you to exit the project securely."},{question:"Are there any restrictions/charges for recovering unspent funds?",answer:"There are no charges, except for the miner fee. Angor’s protocol ensures you retain control over your contributions without additional platform fees."},{question:"How long does it take to recover unspent funds?",answer:"Recovering unspent funds is quick and processed via your Angor wallet. Ensure the recovery transaction fee rate is high enough to get into the target block."},{question:"What happens if the project is not fully funded?",answer:"If a project doesn’t reach full funding, there are two potential paths: if the founder consents, they can co-sign an exit transaction using the 2-of-2 multisig setup to return funds. If not, the investor may need to engage in a penalty process."},{question:"When and how are rewards/tokens paid to investors?",answer:"Angor does not manage rewards such as shares or token allocation; this is handled directly between the founder and investor."},{question:"How can I get updates on the projects' progress?",answer:"You can monitor project progress on Angor Hub, where updates will be posted using the Nostr relays. This provides real-time access to project statuses and milestones. Notifications can be enabled to alert you to significant developments."},{question:"How do you select and vet crowdfunding projects?",answer:"Angor is a decentralized protocol, and developers do not participate in the selection or vetting of projects listed on the platform. The responsibility for choosing projects lies with the community and the protocol’s trustless design."}],h=()=>e.jsxs("section",{className:"relative -mt-8 sm:mt-0 pt-12 sm:pt-16 pb-16 bg-blueGray-50 overflow-hidden",children:[e.jsx("div",{className:"absolute -top-10",id:"FAQ"}),e.jsx(a.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.5,delay:.2},children:e.jsx("div",{className:"relative z-10 container px-2 sm:px-8 lg:px-4 mx-auto w-11/12 sm:w-full",children:e.jsxs("div",{className:"md:max-w-4xl mx-auto",children:[e.jsx("p",{className:"mb-7 block-subtitle text-center",children:"Have any questions?"}),e.jsx("h2",{className:"mb-16 block-big-title text-center",children:"Frequently Asked Questions"}),e.jsx("div",{className:"mb-11 flex flex-wrap -m-1",children:c.map((t,s)=>e.jsx("div",{className:"w-full p-1",children:e.jsx(d,{title:t.question,content:t.answer,defaultOpen:s===0},`${t.question}-${t.answer}`)},`${t.question}-${s}`))})]})})})]}),d=({defaultOpen:t,title:s,content:n})=>{const[o,r]=i.useState(t);return e.jsxs("div",{className:"pt-2 sm:pt-6 pb-2 px-3 sm:px-8 rounded-3xl bg-bgDark3 main-border-gray-darker mb-4 relative hover:bg-bgDark3Hover cursor-pointer transition",onClick:()=>r(!o),children:[e.jsxs("div",{className:"flex flex-col p-2 justify-center items-start",children:[e.jsx("h3",{className:" content-title pt-3 sm:pt-0 pr-8 sm:pr-0",children:s}),e.jsx("p",{className:`text-secondaryText pt-4 transition-height duration-300 overflow-hidden ${o?"max-h-96":"max-h-0"}`,children:n})]}),e.jsx("div",{className:"absolute top-6 right-4 sm:top-8 sm:right-8",children:e.jsx("svg",{width:"28px",height:"30px",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:`transition-all duration-500 ${o?"rotate-[180deg]":"rotate-[270deg]"}`,children:e.jsx("path",{d:"M4.16732 12.5L10.0007 6.66667L15.834 12.5",stroke:"#cbdde1",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})]})};export{h as FAQ}; diff --git a/_astro/Features1.CAnvY-_r.js b/_astro/Features1.nyX5-5_3.js similarity index 92% rename from _astro/Features1.CAnvY-_r.js rename to _astro/Features1.nyX5-5_3.js index 757d96a..ac27f11 100644 --- a/_astro/Features1.CAnvY-_r.js +++ b/_astro/Features1.nyX5-5_3.js @@ -1 +1 @@ -import{j as s}from"./jsx-runtime.aePpX4xZ.js";import{C as e}from"./CheckArrowIcon.gwA8e9SI.js";import{m as l}from"./proxy.C6YqNO2W.js";import"./index.CQPPKyn2.js";const t={src:"/_astro/bitcoin.BOw9xNCe.svg",width:351,height:349,format:"svg"},r={src:"/_astro/nostr.CImOXR4h.svg",width:351,height:349,format:"svg"},m=()=>s.jsx("section",{className:"w-full bg-bgDark2 pt-24 -mt-8 mb-8 sm:-mt-8 sm:mb-24 xl:-mt-8 2xl:mt-0 md:pt-[12vw] lg:pt-16",id:"features",children:s.jsx(l.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.5,delay:.2},children:s.jsxs("div",{className:"flex flex-wrap items-center 2xl:w-[1450px] xl:w-[1300px] w-11/12 mx-auto md:pl-4 xl:pr-16 xl:pl-16",children:[s.jsx("div",{className:"w-full lg:w-2/3 mb-12 lg:mb-0",children:s.jsxs("div",{className:"mx-auto lg:mx-auto w-11/12 sm:w-4/5 md:w-4/5 lg:w-unset",children:[s.jsx("span",{className:"block-subtitle",children:"Introduction"}),s.jsx("h2",{className:"mt-6 mb-8 text-4xl lg:text-5xl block-big-title",children:"Decentralized crowdfunding"}),s.jsx("p",{className:"mb-10 text-secondaryText leading-loose",children:"We're shaking up how Bitcoin crowdfunding works. Angor is a decentralized protocol, uniquely merging the security of Bitcoin with the transparency of Nostr. Investors funds are released in stages through time-lock contracts. Unspent funds can be recovered at any point, ensuring that investors maintain control and aligning the interests of investors and founders."}),s.jsxs("ul",{className:"mb-6 text-primaryText",children:[s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(e,{}),s.jsx("span",{children:"Investor Empowerment"})]}),s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(e,{}),s.jsx("span",{children:"Founder Advantage"})]}),s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(e,{}),s.jsx("span",{children:"Transparent Platform"})]})]})]})}),s.jsx("div",{className:"w-full lg:w-1/3 mx-auto flex flex-wrap lg:-mx-4 sm:pr-8 justify-center order-last",children:s.jsxs("div",{className:"mb-8 lg:mb-0 w-full px-2 lg:pl-16 flex flex-col justify-center md:pl-8",children:[s.jsx("div",{className:"mb-4 py-3 md:pl-20 lg:pl-12 md:pr-2 rounded hidden lg:flex",children:s.jsx("img",{src:t.src,alt:"bitcoin",className:"rounded-xl main-border-gray mx-auto w-2/3"})}),s.jsx("div",{className:"py-3 md:pl-3 md:pr-20 lg:pr-12 rounded hidden lg:flex",children:s.jsx("img",{src:r.src,alt:"nostr",className:"rounded-xl main-border-gray mx-auto w-2/3"})})]})})]})})});export{m as Features1}; +import{j as s}from"./jsx-runtime.7faW4zRM.js";import{C as e}from"./CheckArrowIcon.CxGWFn1k.js";import{m as l}from"./proxy.BGI24Kd2.js";import"./index.DhYZZe0J.js";const t={src:"/_astro/bitcoin.BOw9xNCe.svg",width:351,height:349,format:"svg"},r={src:"/_astro/nostr.CImOXR4h.svg",width:351,height:349,format:"svg"},m=()=>s.jsx("section",{className:"w-full bg-bgDark2 pt-24 -mt-8 mb-8 sm:-mt-8 sm:mb-24 xl:-mt-8 2xl:mt-0 md:pt-[12vw] lg:pt-16",id:"features",children:s.jsx(l.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.5,delay:.2},children:s.jsxs("div",{className:"flex flex-wrap items-center 2xl:w-[1450px] xl:w-[1300px] w-11/12 mx-auto md:pl-4 xl:pr-16 xl:pl-16",children:[s.jsx("div",{className:"w-full lg:w-2/3 mb-12 lg:mb-0",children:s.jsxs("div",{className:"mx-auto lg:mx-auto w-11/12 sm:w-4/5 md:w-4/5 lg:w-unset",children:[s.jsx("span",{className:"block-subtitle",children:"Introduction"}),s.jsx("h2",{className:"mt-6 mb-8 text-4xl lg:text-5xl block-big-title",children:"Decentralized crowdfunding"}),s.jsx("p",{className:"mb-10 text-secondaryText leading-loose",children:"We're shaking up how Bitcoin crowdfunding works. Angor is a decentralized protocol, uniquely merging the security of Bitcoin with the transparency of Nostr. Investors funds are released in stages through time-lock contracts. Unspent funds can be recovered at any point, ensuring that investors maintain control and aligning the interests of investors and founders."}),s.jsxs("ul",{className:"mb-6 text-primaryText",children:[s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(e,{}),s.jsx("span",{children:"Investor Empowerment"})]}),s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(e,{}),s.jsx("span",{children:"Founder Advantage"})]}),s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(e,{}),s.jsx("span",{children:"Transparent Platform"})]})]})]})}),s.jsx("div",{className:"w-full lg:w-1/3 mx-auto flex flex-wrap lg:-mx-4 sm:pr-8 justify-center order-last",children:s.jsxs("div",{className:"mb-8 lg:mb-0 w-full px-2 lg:pl-16 flex flex-col justify-center md:pl-8",children:[s.jsx("div",{className:"mb-4 py-3 md:pl-20 lg:pl-12 md:pr-2 rounded hidden lg:flex",children:s.jsx("img",{src:t.src,alt:"bitcoin",className:"rounded-xl main-border-gray mx-auto w-2/3"})}),s.jsx("div",{className:"py-3 md:pl-3 md:pr-20 lg:pr-12 rounded hidden lg:flex",children:s.jsx("img",{src:r.src,alt:"nostr",className:"rounded-xl main-border-gray mx-auto w-2/3"})})]})})]})})});export{m as Features1}; diff --git a/_astro/Features2.BEDdrkhw.js b/_astro/Features2.B_tR0UZa.js similarity index 90% rename from _astro/Features2.BEDdrkhw.js rename to _astro/Features2.B_tR0UZa.js index 1d92013..3652068 100644 --- a/_astro/Features2.BEDdrkhw.js +++ b/_astro/Features2.B_tR0UZa.js @@ -1 +1 @@ -import{j as s}from"./jsx-runtime.aePpX4xZ.js";import{h as e}from"./hub.Dpp5lBdb.js";import{C as l}from"./CheckArrowIcon.gwA8e9SI.js";import{m as r}from"./proxy.C6YqNO2W.js";import"./index.CQPPKyn2.js";const a={src:"/_astro/angor.BRIlo_ch.svg",width:351,height:349,format:"svg"},t=()=>s.jsx("section",{className:"w-full bg-bgDark2 mt-12 sm:mt-24 mb-12 lg:my-20 lg:mb-24 pt-4",children:s.jsx(r.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.5,delay:.2},children:s.jsxs("div",{className:"flex flex-wrap items-center 2xl:w-[1450px] xl:w-[1300px] w-11/12 mx-auto md:pl-4 xl:pr-16 xl:pl-16",children:[s.jsx("div",{className:"w-full lg:w-1/3 mx-auto flex flex-wrap lg:-mx-4 sm:pr-8 justify-center order-last lg:order-first",children:s.jsxs("div",{className:"mb-8 lg:mb-0 w-full px-2 lg:pl-16 flex flex-col justify-center md:pl-8",children:[s.jsx("div",{className:"mb-4 py-3 md:pl-3 md:pr-20 lg:pr-12 rounded hidden lg:flex",children:s.jsx("img",{src:a.src,alt:"angor",className:"rounded-xl main-border-gray mx-auto w-2/3"})}),s.jsx("div",{className:"py-3 md:pl-20 lg:pl-12 md:pr-2 rounded hidden lg:flex",children:s.jsx("img",{src:e.src,alt:"hub",className:"rounded-xl main-border-gray mx-auto w-2/3"})})]})}),s.jsx("div",{className:"w-full lg:w-2/3 mb-12 lg:mb-0 xl:pl-8",children:s.jsxs("div",{className:"mx-auto lg:mx-auto w-11/12 sm:w-4/5 md:w-3/4 lg:w-unset",children:[s.jsx("span",{className:"block-subtitle",children:"Behind the Tech"}),s.jsx("h2",{className:"mt-6 mb-8 text-4xl lg:text-5xl block-big-title",children:"Angor has no backend and is verifiable source code"}),s.jsx("p",{className:"mb-12 text-secondaryText leading-loose",children:"It relies on Bitcoin explorers and Nostr relays, which users can run on their own."}),s.jsxs("ul",{className:"mb-6 text-primaryText",children:[s.jsx("li",{className:"mb-4 flex",children:s.jsx("span",{children:"Tech stack:"})}),s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(l,{}),s.jsx("span",{children:"Multisig 2-of-2 for revocation"})]}),s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(l,{}),s.jsx("span",{children:"Taproot for efficiency"})]}),s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(l,{}),s.jsx("span",{children:"Time-lock contracts (CLTV, CSV) for milestones"})]}),s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(l,{}),s.jsx("span",{children:"Nostr protocol for comms and web of trust"})]}),s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(l,{}),s.jsx("span",{children:"Hash locks for group revocation"})]})]})]})})]})})});export{t as Features2}; +import{j as s}from"./jsx-runtime.7faW4zRM.js";import{h as e}from"./hub.Dpp5lBdb.js";import{C as l}from"./CheckArrowIcon.CxGWFn1k.js";import{m as r}from"./proxy.BGI24Kd2.js";import"./index.DhYZZe0J.js";const a={src:"/_astro/angor.BRIlo_ch.svg",width:351,height:349,format:"svg"},t=()=>s.jsx("section",{className:"w-full bg-bgDark2 mt-12 sm:mt-24 mb-12 lg:my-20 lg:mb-24 pt-4",children:s.jsx(r.div,{initial:{opacity:0},whileInView:{opacity:1},viewport:{once:!0},transition:{duration:.5,delay:.2},children:s.jsxs("div",{className:"flex flex-wrap items-center 2xl:w-[1450px] xl:w-[1300px] w-11/12 mx-auto md:pl-4 xl:pr-16 xl:pl-16",children:[s.jsx("div",{className:"w-full lg:w-1/3 mx-auto flex flex-wrap lg:-mx-4 sm:pr-8 justify-center order-last lg:order-first",children:s.jsxs("div",{className:"mb-8 lg:mb-0 w-full px-2 lg:pl-16 flex flex-col justify-center md:pl-8",children:[s.jsx("div",{className:"mb-4 py-3 md:pl-3 md:pr-20 lg:pr-12 rounded hidden lg:flex",children:s.jsx("img",{src:a.src,alt:"angor",className:"rounded-xl main-border-gray mx-auto w-2/3"})}),s.jsx("div",{className:"py-3 md:pl-20 lg:pl-12 md:pr-2 rounded hidden lg:flex",children:s.jsx("img",{src:e.src,alt:"hub",className:"rounded-xl main-border-gray mx-auto w-2/3"})})]})}),s.jsx("div",{className:"w-full lg:w-2/3 mb-12 lg:mb-0 xl:pl-8",children:s.jsxs("div",{className:"mx-auto lg:mx-auto w-11/12 sm:w-4/5 md:w-3/4 lg:w-unset",children:[s.jsx("span",{className:"block-subtitle",children:"Behind the Tech"}),s.jsx("h2",{className:"mt-6 mb-8 text-4xl lg:text-5xl block-big-title",children:"Angor has no backend and is verifiable source code"}),s.jsx("p",{className:"mb-12 text-secondaryText leading-loose",children:"It relies on Bitcoin explorers and Nostr relays, which users can run on their own."}),s.jsxs("ul",{className:"mb-6 text-primaryText",children:[s.jsx("li",{className:"mb-4 flex",children:s.jsx("span",{children:"Tech stack:"})}),s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(l,{}),s.jsx("span",{children:"Multisig 2-of-2 for revocation"})]}),s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(l,{}),s.jsx("span",{children:"Taproot for efficiency"})]}),s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(l,{}),s.jsx("span",{children:"Time-lock contracts (CLTV, CSV) for milestones"})]}),s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(l,{}),s.jsx("span",{children:"Nostr protocol for comms and web of trust"})]}),s.jsxs("li",{className:"mb-4 flex",children:[s.jsx(l,{}),s.jsx("span",{children:"Hash locks for group revocation"})]})]})]})})]})})});export{t as Features2}; diff --git a/_astro/FeaturesDiagonal.DvgJO4-y.js b/_astro/FeaturesDiagonal.DePiWVto.js similarity index 91% rename from _astro/FeaturesDiagonal.DvgJO4-y.js rename to _astro/FeaturesDiagonal.DePiWVto.js index e55feb5..b9ffd81 100644 --- a/_astro/FeaturesDiagonal.DvgJO4-y.js +++ b/_astro/FeaturesDiagonal.DePiWVto.js @@ -1 +1 @@ -import{j as e}from"./jsx-runtime.aePpX4xZ.js";import"./index.CQPPKyn2.js";import{h as s}from"./hub.Dpp5lBdb.js";import{m as t}from"./proxy.C6YqNO2W.js";const n=()=>e.jsxs("section",{className:"lg:mb-16 w-full flex flex-col justify-center items-center bg-bgDark1",children:[e.jsx("div",{className:"shape-divider-bottom-1665696614",children:e.jsx("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1200 120",preserveAspectRatio:"none",className:"bg-bgDark2 fill-bgDark2",children:e.jsx("path",{d:"M1200 120L0 16.48 0 0 1200 0 1200 120z",className:"bg-bgDark1 fill-bgDark1"})})}),e.jsx(t.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},children:e.jsxs("div",{className:"2xl:w-[1150px] xl:w-[1050px] md:w-4/5 flex justify-center bg-bgDark1 pt-12 lg:pt-24 pb-8 lg:pb-20 mx-auto lg:flex-row flex-col",children:[e.jsxs("div",{className:"w-3/4 lg:w-1/2 flex flex-col lg:mx-unset mx-auto",children:[e.jsx("span",{className:"block-subtitle",children:"Where connections happen"}),e.jsx("h2",{className:"mt-10 mb-8 text-2xl lg:text-3xl block-big-title",children:"Angor Hub"}),e.jsxs("p",{className:"mb-16 text-secondaryText leading-loose",children:["Angor Hub is a Nostr client built around the Angor protocol, offering tools to explore crowdfunding projects, connect with investors, and engage directly with founders. Whether you're seeking investment opportunities or funding for your project, Angor Hub provides secure messaging, project pages, and group channels for seamless interaction within a decentralized environment."," "]}),e.jsx("button",{className:"w-[210px] h-12 contained-button mr-10",onClick:()=>window.open("https://hub.angor.io","_blank"),"aria-label":"Angor Hub",children:"Angor Hub"})]}),e.jsx("div",{className:"w-3/5 lg:w-1/3 lg:pl-16 justify-center mx-auto pt-16 lg:pt-0 hidden lg:flex",children:e.jsx("img",{src:s.src,alt:"hub",className:"rounded-xl main-border-gray object-cover w-full h-auto",style:{maxHeight:"300px",objectFit:"cover"}})})]})}),e.jsx("div",{className:"shape-divider-top-1665696661 w-full",children:e.jsx("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1200 120",preserveAspectRatio:"none",className:"bg-bgDark2 fill-bgDark2",children:e.jsx("path",{d:"M1200 120L0 16.48 0 0 1200 0 1200 120z",className:"bg-bgDark1 fill-bgDark1"})})})]});export{n as FeaturesDiagonal}; +import{j as e}from"./jsx-runtime.7faW4zRM.js";import"./index.DhYZZe0J.js";import{h as s}from"./hub.Dpp5lBdb.js";import{m as t}from"./proxy.BGI24Kd2.js";const n=()=>e.jsxs("section",{className:"lg:mb-16 w-full flex flex-col justify-center items-center bg-bgDark1",children:[e.jsx("div",{className:"shape-divider-bottom-1665696614",children:e.jsx("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1200 120",preserveAspectRatio:"none",className:"bg-bgDark2 fill-bgDark2",children:e.jsx("path",{d:"M1200 120L0 16.48 0 0 1200 0 1200 120z",className:"bg-bgDark1 fill-bgDark1"})})}),e.jsx(t.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5,delay:.2},children:e.jsxs("div",{className:"2xl:w-[1150px] xl:w-[1050px] md:w-4/5 flex justify-center bg-bgDark1 pt-12 lg:pt-24 pb-8 lg:pb-20 mx-auto lg:flex-row flex-col",children:[e.jsxs("div",{className:"w-3/4 lg:w-1/2 flex flex-col lg:mx-unset mx-auto",children:[e.jsx("span",{className:"block-subtitle",children:"Where connections happen"}),e.jsx("h2",{className:"mt-10 mb-8 text-2xl lg:text-3xl block-big-title",children:"Angor Hub"}),e.jsxs("p",{className:"mb-16 text-secondaryText leading-loose",children:["Angor Hub is a Nostr client built around the Angor protocol, offering tools to explore crowdfunding projects, connect with investors, and engage directly with founders. Whether you're seeking investment opportunities or funding for your project, Angor Hub provides secure messaging, project pages, and group channels for seamless interaction within a decentralized environment."," "]}),e.jsx("button",{className:"w-[210px] h-12 contained-button mr-10",onClick:()=>window.open("https://hub.angor.io","_blank"),"aria-label":"Angor Hub",children:"Angor Hub"})]}),e.jsx("div",{className:"w-3/5 lg:w-1/3 lg:pl-16 justify-center mx-auto pt-16 lg:pt-0 hidden lg:flex",children:e.jsx("img",{src:s.src,alt:"hub",className:"rounded-xl main-border-gray object-cover w-full h-auto",style:{maxHeight:"300px",objectFit:"cover"}})})]})}),e.jsx("div",{className:"shape-divider-top-1665696661 w-full",children:e.jsx("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1200 120",preserveAspectRatio:"none",className:"bg-bgDark2 fill-bgDark2",children:e.jsx("path",{d:"M1200 120L0 16.48 0 0 1200 0 1200 120z",className:"bg-bgDark1 fill-bgDark1"})})})]});export{n as FeaturesDiagonal}; diff --git a/_astro/Hero.GCslgar4.js b/_astro/Hero.xnbbeM4j.js similarity index 90% rename from _astro/Hero.GCslgar4.js rename to _astro/Hero.xnbbeM4j.js index 8780681..7709b18 100644 --- a/_astro/Hero.GCslgar4.js +++ b/_astro/Hero.xnbbeM4j.js @@ -1,2 +1,2 @@ -import{j as k}from"./jsx-runtime.aePpX4xZ.js";import{a as gt,r as xt}from"./index.CQPPKyn2.js";import{m as V}from"./proxy.C6YqNO2W.js";var wt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function _t(F){return F&&F.__esModule&&Object.prototype.hasOwnProperty.call(F,"default")?F.default:F}const jt={src:"/_astro/dashboard.CPsU-PuY.gif",width:1910,height:913,format:"gif"};var lt={exports:{}};(function(F,et){(function(rt,J){F.exports=J(gt())})(typeof self<"u"?self:wt,rt=>(()=>{var J={7403:(e,o,t)=>{t.d(o,{default:()=>U});var r=t(4087),i=t.n(r);const a=function(_){return new RegExp(/<[a-z][\s\S]*>/i).test(_)},n=function(_,h){return Math.floor(Math.random()*(h-_+1))+_};var u="TYPE_CHARACTER",c="REMOVE_CHARACTER",l="REMOVE_ALL",f="REMOVE_LAST_VISIBLE_NODE",p="PAUSE_FOR",d="CALL_FUNCTION",y="ADD_HTML_TAG_ELEMENT",v="CHANGE_DELETE_SPEED",g="CHANGE_DELAY",x="CHANGE_CURSOR",E="PASTE_STRING",A="HTML_TAG";function O(_){return O=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},O(_)}function m(_,h){var T=Object.keys(_);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(_);h&&(j=j.filter(function(Q){return Object.getOwnPropertyDescriptor(_,Q).enumerable})),T.push.apply(T,j)}return T}function w(_){for(var h=1;h_.length)&&(h=_.length);for(var T=0,j=new Array(h);T1&&arguments[1]!==void 0?arguments[1]:null;if(a(b))return s.typeOutHTMLString(b,D);if(b){var M=(s.options||{}).stringSplitter,R=typeof M=="function"?M(b):b.split("");s.typeCharacters(R,D)}return s}),S(this,"pasteString",function(b){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return a(b)?s.typeOutHTMLString(b,D,!0):(b&&s.addEventToQueue(E,{character:b,node:D}),s)}),S(this,"typeOutHTMLString",function(b){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,M=arguments.length>2?arguments[2]:void 0,R=function($){var W=document.createElement("div");return W.innerHTML=$,W.childNodes}(b);if(R.length>0)for(var L=0;L0&&arguments[0]!==void 0?arguments[0]:"natural";return s.addEventToQueue(l,{speed:b}),s}),S(this,"changeDeleteSpeed",function(b){if(!b)throw new Error("Must provide new delete speed");return s.addEventToQueue(v,{speed:b}),s}),S(this,"changeDelay",function(b){if(!b)throw new Error("Must provide new delay");return s.addEventToQueue(g,{delay:b}),s}),S(this,"changeCursor",function(b){if(!b)throw new Error("Must provide new cursor");return s.addEventToQueue(x,{cursor:b}),s}),S(this,"deleteChars",function(b){if(!b)throw new Error("Must provide amount of characters to delete");for(var D=0;D1&&arguments[1]!==void 0?arguments[1]:null;if(!b||!Array.isArray(b))throw new Error("Characters must be an array");return b.forEach(function(M){s.addEventToQueue(u,{character:M,node:D})}),s}),S(this,"removeCharacters",function(b){if(!b||!Array.isArray(b))throw new Error("Characters must be an array");return b.forEach(function(){s.addEventToQueue(c)}),s}),S(this,"addEventToQueue",function(b,D){var M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return s.addEventToStateProperty(b,D,M,"eventQueue")}),S(this,"addReverseCalledEvent",function(b,D){var M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return s.options.loop?s.addEventToStateProperty(b,D,M,"reverseCalledEvents"):s}),S(this,"addEventToStateProperty",function(b,D){var M=arguments.length>2&&arguments[2]!==void 0&&arguments[2],R=arguments.length>3?arguments[3]:void 0,L={eventName:b,eventArgs:D||{}};return s.state[R]=M?[L].concat(N(s.state[R])):[].concat(N(s.state[R]),[L]),s}),S(this,"runEventLoop",function(){s.state.lastFrameTime||(s.state.lastFrameTime=Date.now());var b=Date.now(),D=b-s.state.lastFrameTime;if(!s.state.eventQueue.length){if(!s.options.loop)return;s.state.eventQueue=N(s.state.calledEvents),s.state.calledEvents=[],s.options=w({},s.state.initialOptions)}if(s.state.eventLoop=i()(s.runEventLoop),!s.state.eventLoopPaused){if(s.state.pauseUntil){if(b{var r=t(852)(t(5639),"DataView");e.exports=r},1989:(e,o,t)=>{var r=t(1789),i=t(401),a=t(7667),n=t(1327),u=t(1866);function c(l){var f=-1,p=l==null?0:l.length;for(this.clear();++f{var r=t(7040),i=t(4125),a=t(2117),n=t(7518),u=t(4705);function c(l){var f=-1,p=l==null?0:l.length;for(this.clear();++f{var r=t(852)(t(5639),"Map");e.exports=r},3369:(e,o,t)=>{var r=t(4785),i=t(1285),a=t(6e3),n=t(9916),u=t(5265);function c(l){var f=-1,p=l==null?0:l.length;for(this.clear();++f{var r=t(852)(t(5639),"Promise");e.exports=r},8525:(e,o,t)=>{var r=t(852)(t(5639),"Set");e.exports=r},8668:(e,o,t)=>{var r=t(3369),i=t(619),a=t(2385);function n(u){var c=-1,l=u==null?0:u.length;for(this.__data__=new r;++c{var r=t(8407),i=t(7465),a=t(3779),n=t(7599),u=t(4758),c=t(4309);function l(f){var p=this.__data__=new r(f);this.size=p.size}l.prototype.clear=i,l.prototype.delete=a,l.prototype.get=n,l.prototype.has=u,l.prototype.set=c,e.exports=l},2705:(e,o,t)=>{var r=t(5639).Symbol;e.exports=r},1149:(e,o,t)=>{var r=t(5639).Uint8Array;e.exports=r},577:(e,o,t)=>{var r=t(852)(t(5639),"WeakMap");e.exports=r},4963:e=>{e.exports=function(o,t){for(var r=-1,i=o==null?0:o.length,a=0,n=[];++r{var r=t(2545),i=t(5694),a=t(1469),n=t(4144),u=t(5776),c=t(6719),l=Object.prototype.hasOwnProperty;e.exports=function(f,p){var d=a(f),y=!d&&i(f),v=!d&&!y&&n(f),g=!d&&!y&&!v&&c(f),x=d||y||v||g,E=x?r(f.length,String):[],A=E.length;for(var O in f)!p&&!l.call(f,O)||x&&(O=="length"||v&&(O=="offset"||O=="parent")||g&&(O=="buffer"||O=="byteLength"||O=="byteOffset")||u(O,A))||E.push(O);return E}},2488:e=>{e.exports=function(o,t){for(var r=-1,i=t.length,a=o.length;++r{e.exports=function(o,t){for(var r=-1,i=o==null?0:o.length;++r{var r=t(7813);e.exports=function(i,a){for(var n=i.length;n--;)if(r(i[n][0],a))return n;return-1}},8866:(e,o,t)=>{var r=t(2488),i=t(1469);e.exports=function(a,n,u){var c=n(a);return i(a)?c:r(c,u(a))}},4239:(e,o,t)=>{var r=t(2705),i=t(9607),a=t(2333),n=r?r.toStringTag:void 0;e.exports=function(u){return u==null?u===void 0?"[object Undefined]":"[object Null]":n&&n in Object(u)?i(u):a(u)}},9454:(e,o,t)=>{var r=t(4239),i=t(7005);e.exports=function(a){return i(a)&&r(a)=="[object Arguments]"}},939:(e,o,t)=>{var r=t(2492),i=t(7005);e.exports=function a(n,u,c,l,f){return n===u||(n==null||u==null||!i(n)&&!i(u)?n!=n&&u!=u:r(n,u,c,l,a,f))}},2492:(e,o,t)=>{var r=t(6384),i=t(7114),a=t(8351),n=t(6096),u=t(4160),c=t(1469),l=t(4144),f=t(6719),p="[object Arguments]",d="[object Array]",y="[object Object]",v=Object.prototype.hasOwnProperty;e.exports=function(g,x,E,A,O,m){var w=c(g),N=c(x),C=w?d:u(g),P=N?d:u(x),S=(C=C==p?y:C)==y,H=(P=P==p?y:P)==y,U=C==P;if(U&&l(g)){if(!l(x))return!1;w=!0,S=!1}if(U&&!S)return m||(m=new r),w||f(g)?i(g,x,E,A,O,m):a(g,x,C,E,A,O,m);if(!(1&E)){var _=S&&v.call(g,"__wrapped__"),h=H&&v.call(x,"__wrapped__");if(_||h){var T=_?g.value():g,j=h?x.value():x;return m||(m=new r),O(T,j,E,A,m)}}return!!U&&(m||(m=new r),n(g,x,E,A,O,m))}},8458:(e,o,t)=>{var r=t(3560),i=t(5346),a=t(3218),n=t(346),u=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,f=c.toString,p=l.hasOwnProperty,d=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(y){return!(!a(y)||i(y))&&(r(y)?d:u).test(n(y))}},8749:(e,o,t)=>{var r=t(4239),i=t(1780),a=t(7005),n={};n["[object Float32Array]"]=n["[object Float64Array]"]=n["[object Int8Array]"]=n["[object Int16Array]"]=n["[object Int32Array]"]=n["[object Uint8Array]"]=n["[object Uint8ClampedArray]"]=n["[object Uint16Array]"]=n["[object Uint32Array]"]=!0,n["[object Arguments]"]=n["[object Array]"]=n["[object ArrayBuffer]"]=n["[object Boolean]"]=n["[object DataView]"]=n["[object Date]"]=n["[object Error]"]=n["[object Function]"]=n["[object Map]"]=n["[object Number]"]=n["[object Object]"]=n["[object RegExp]"]=n["[object Set]"]=n["[object String]"]=n["[object WeakMap]"]=!1,e.exports=function(u){return a(u)&&i(u.length)&&!!n[r(u)]}},280:(e,o,t)=>{var r=t(5726),i=t(6916),a=Object.prototype.hasOwnProperty;e.exports=function(n){if(!r(n))return i(n);var u=[];for(var c in Object(n))a.call(n,c)&&c!="constructor"&&u.push(c);return u}},2545:e=>{e.exports=function(o,t){for(var r=-1,i=Array(o);++r{e.exports=function(o){return function(t){return o(t)}}},4757:e=>{e.exports=function(o,t){return o.has(t)}},4429:(e,o,t)=>{var r=t(5639)["__core-js_shared__"];e.exports=r},7114:(e,o,t)=>{var r=t(8668),i=t(2908),a=t(4757);e.exports=function(n,u,c,l,f,p){var d=1&c,y=n.length,v=u.length;if(y!=v&&!(d&&v>y))return!1;var g=p.get(n),x=p.get(u);if(g&&x)return g==u&&x==n;var E=-1,A=!0,O=2&c?new r:void 0;for(p.set(n,u),p.set(u,n);++E{var r=t(2705),i=t(1149),a=t(7813),n=t(7114),u=t(8776),c=t(1814),l=r?r.prototype:void 0,f=l?l.valueOf:void 0;e.exports=function(p,d,y,v,g,x,E){switch(y){case"[object DataView]":if(p.byteLength!=d.byteLength||p.byteOffset!=d.byteOffset)return!1;p=p.buffer,d=d.buffer;case"[object ArrayBuffer]":return!(p.byteLength!=d.byteLength||!x(new i(p),new i(d)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+p,+d);case"[object Error]":return p.name==d.name&&p.message==d.message;case"[object RegExp]":case"[object String]":return p==d+"";case"[object Map]":var A=u;case"[object Set]":var O=1&v;if(A||(A=c),p.size!=d.size&&!O)return!1;var m=E.get(p);if(m)return m==d;v|=2,E.set(p,d);var w=n(A(p),A(d),v,g,x,E);return E.delete(p),w;case"[object Symbol]":if(f)return f.call(p)==f.call(d)}return!1}},6096:(e,o,t)=>{var r=t(8234),i=Object.prototype.hasOwnProperty;e.exports=function(a,n,u,c,l,f){var p=1&u,d=r(a),y=d.length;if(y!=r(n).length&&!p)return!1;for(var v=y;v--;){var g=d[v];if(!(p?g in n:i.call(n,g)))return!1}var x=f.get(a),E=f.get(n);if(x&&E)return x==n&&E==a;var A=!0;f.set(a,n),f.set(n,a);for(var O=p;++v{var r=typeof t.g=="object"&&t.g&&t.g.Object===Object&&t.g;e.exports=r},8234:(e,o,t)=>{var r=t(8866),i=t(9551),a=t(3674);e.exports=function(n){return r(n,a,i)}},5050:(e,o,t)=>{var r=t(7019);e.exports=function(i,a){var n=i.__data__;return r(a)?n[typeof a=="string"?"string":"hash"]:n.map}},852:(e,o,t)=>{var r=t(8458),i=t(7801);e.exports=function(a,n){var u=i(a,n);return r(u)?u:void 0}},9607:(e,o,t)=>{var r=t(2705),i=Object.prototype,a=i.hasOwnProperty,n=i.toString,u=r?r.toStringTag:void 0;e.exports=function(c){var l=a.call(c,u),f=c[u];try{c[u]=void 0;var p=!0}catch{}var d=n.call(c);return p&&(l?c[u]=f:delete c[u]),d}},9551:(e,o,t)=>{var r=t(4963),i=t(479),a=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols,u=n?function(c){return c==null?[]:(c=Object(c),r(n(c),function(l){return a.call(c,l)}))}:i;e.exports=u},4160:(e,o,t)=>{var r=t(8552),i=t(7071),a=t(3818),n=t(8525),u=t(577),c=t(4239),l=t(346),f="[object Map]",p="[object Promise]",d="[object Set]",y="[object WeakMap]",v="[object DataView]",g=l(r),x=l(i),E=l(a),A=l(n),O=l(u),m=c;(r&&m(new r(new ArrayBuffer(1)))!=v||i&&m(new i)!=f||a&&m(a.resolve())!=p||n&&m(new n)!=d||u&&m(new u)!=y)&&(m=function(w){var N=c(w),C=N=="[object Object]"?w.constructor:void 0,P=C?l(C):"";if(P)switch(P){case g:return v;case x:return f;case E:return p;case A:return d;case O:return y}return N}),e.exports=m},7801:e=>{e.exports=function(o,t){return o?.[t]}},1789:(e,o,t)=>{var r=t(4536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:e=>{e.exports=function(o){var t=this.has(o)&&delete this.__data__[o];return this.size-=t?1:0,t}},7667:(e,o,t)=>{var r=t(4536),i=Object.prototype.hasOwnProperty;e.exports=function(a){var n=this.__data__;if(r){var u=n[a];return u==="__lodash_hash_undefined__"?void 0:u}return i.call(n,a)?n[a]:void 0}},1327:(e,o,t)=>{var r=t(4536),i=Object.prototype.hasOwnProperty;e.exports=function(a){var n=this.__data__;return r?n[a]!==void 0:i.call(n,a)}},1866:(e,o,t)=>{var r=t(4536);e.exports=function(i,a){var n=this.__data__;return this.size+=this.has(i)?0:1,n[i]=r&&a===void 0?"__lodash_hash_undefined__":a,this}},5776:e=>{var o=/^(?:0|[1-9]\d*)$/;e.exports=function(t,r){var i=typeof t;return!!(r=r??9007199254740991)&&(i=="number"||i!="symbol"&&o.test(t))&&t>-1&&t%1==0&&t{e.exports=function(o){var t=typeof o;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?o!=="__proto__":o===null}},5346:(e,o,t)=>{var r,i=t(4429),a=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(n){return!!a&&a in n}},5726:e=>{var o=Object.prototype;e.exports=function(t){var r=t&&t.constructor;return t===(typeof r=="function"&&r.prototype||o)}},7040:e=>{e.exports=function(){this.__data__=[],this.size=0}},4125:(e,o,t)=>{var r=t(8470),i=Array.prototype.splice;e.exports=function(a){var n=this.__data__,u=r(n,a);return!(u<0||(u==n.length-1?n.pop():i.call(n,u,1),--this.size,0))}},2117:(e,o,t)=>{var r=t(8470);e.exports=function(i){var a=this.__data__,n=r(a,i);return n<0?void 0:a[n][1]}},7518:(e,o,t)=>{var r=t(8470);e.exports=function(i){return r(this.__data__,i)>-1}},4705:(e,o,t)=>{var r=t(8470);e.exports=function(i,a){var n=this.__data__,u=r(n,i);return u<0?(++this.size,n.push([i,a])):n[u][1]=a,this}},4785:(e,o,t)=>{var r=t(1989),i=t(8407),a=t(7071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||i),string:new r}}},1285:(e,o,t)=>{var r=t(5050);e.exports=function(i){var a=r(this,i).delete(i);return this.size-=a?1:0,a}},6e3:(e,o,t)=>{var r=t(5050);e.exports=function(i){return r(this,i).get(i)}},9916:(e,o,t)=>{var r=t(5050);e.exports=function(i){return r(this,i).has(i)}},5265:(e,o,t)=>{var r=t(5050);e.exports=function(i,a){var n=r(this,i),u=n.size;return n.set(i,a),this.size+=n.size==u?0:1,this}},8776:e=>{e.exports=function(o){var t=-1,r=Array(o.size);return o.forEach(function(i,a){r[++t]=[a,i]}),r}},4536:(e,o,t)=>{var r=t(852)(Object,"create");e.exports=r},6916:(e,o,t)=>{var r=t(5569)(Object.keys,Object);e.exports=r},1167:(e,o,t)=>{e=t.nmd(e);var r=t(1957),i=o&&!o.nodeType&&o,a=i&&e&&!e.nodeType&&e,n=a&&a.exports===i&&r.process,u=function(){try{return a&&a.require&&a.require("util").types||n&&n.binding&&n.binding("util")}catch{}}();e.exports=u},2333:e=>{var o=Object.prototype.toString;e.exports=function(t){return o.call(t)}},5569:e=>{e.exports=function(o,t){return function(r){return o(t(r))}}},5639:(e,o,t)=>{var r=t(1957),i=typeof self=="object"&&self&&self.Object===Object&&self,a=r||i||Function("return this")();e.exports=a},619:e=>{e.exports=function(o){return this.__data__.set(o,"__lodash_hash_undefined__"),this}},2385:e=>{e.exports=function(o){return this.__data__.has(o)}},1814:e=>{e.exports=function(o){var t=-1,r=Array(o.size);return o.forEach(function(i){r[++t]=i}),r}},7465:(e,o,t)=>{var r=t(8407);e.exports=function(){this.__data__=new r,this.size=0}},3779:e=>{e.exports=function(o){var t=this.__data__,r=t.delete(o);return this.size=t.size,r}},7599:e=>{e.exports=function(o){return this.__data__.get(o)}},4758:e=>{e.exports=function(o){return this.__data__.has(o)}},4309:(e,o,t)=>{var r=t(8407),i=t(7071),a=t(3369);e.exports=function(n,u){var c=this.__data__;if(c instanceof r){var l=c.__data__;if(!i||l.length<199)return l.push([n,u]),this.size=++c.size,this;c=this.__data__=new a(l)}return c.set(n,u),this.size=c.size,this}},346:e=>{var o=Function.prototype.toString;e.exports=function(t){if(t!=null){try{return o.call(t)}catch{}try{return t+""}catch{}}return""}},7813:e=>{e.exports=function(o,t){return o===t||o!=o&&t!=t}},5694:(e,o,t)=>{var r=t(9454),i=t(7005),a=Object.prototype,n=a.hasOwnProperty,u=a.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(l){return i(l)&&n.call(l,"callee")&&!u.call(l,"callee")};e.exports=c},1469:e=>{var o=Array.isArray;e.exports=o},8612:(e,o,t)=>{var r=t(3560),i=t(1780);e.exports=function(a){return a!=null&&i(a.length)&&!r(a)}},4144:(e,o,t)=>{e=t.nmd(e);var r=t(5639),i=t(5062),a=o&&!o.nodeType&&o,n=a&&e&&!e.nodeType&&e,u=n&&n.exports===a?r.Buffer:void 0,c=(u?u.isBuffer:void 0)||i;e.exports=c},8446:(e,o,t)=>{var r=t(939);e.exports=function(i,a){return r(i,a)}},3560:(e,o,t)=>{var r=t(4239),i=t(3218);e.exports=function(a){if(!i(a))return!1;var n=r(a);return n=="[object Function]"||n=="[object GeneratorFunction]"||n=="[object AsyncFunction]"||n=="[object Proxy]"}},1780:e=>{e.exports=function(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=9007199254740991}},3218:e=>{e.exports=function(o){var t=typeof o;return o!=null&&(t=="object"||t=="function")}},7005:e=>{e.exports=function(o){return o!=null&&typeof o=="object"}},6719:(e,o,t)=>{var r=t(8749),i=t(1717),a=t(1167),n=a&&a.isTypedArray,u=n?i(n):r;e.exports=u},3674:(e,o,t)=>{var r=t(4636),i=t(280),a=t(8612);e.exports=function(n){return a(n)?r(n):i(n)}},479:e=>{e.exports=function(){return[]}},5062:e=>{e.exports=function(){return!1}},75:function(e){(function(){var o,t,r,i,a,n;typeof performance<"u"&&performance!==null&&performance.now?e.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(e.exports=function(){return(o()-a)/1e6},t=process.hrtime,i=(o=function(){var u;return 1e9*(u=t())[0]+u[1]})(),n=1e9*process.uptime(),a=i-n):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(this)},4087:(e,o,t)=>{for(var r=t(75),i=typeof window>"u"?t.g:window,a=["moz","webkit"],n="AnimationFrame",u=i["request"+n],c=i["cancel"+n]||i["cancelRequest"+n],l=0;!u&&l{e.exports=rt}},nt={};function z(e){var o=nt[e];if(o!==void 0)return o.exports;var t=nt[e]={id:e,loaded:!1,exports:{}};return J[e].call(t.exports,t,t.exports,z),t.loaded=!0,t.exports}z.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return z.d(o,{a:o}),o},z.d=(e,o)=>{for(var t in o)z.o(o,t)&&!z.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},z.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),z.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),z.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var ot={};return(()=>{z.d(ot,{default:()=>d});var e=z(8156),o=z.n(e),t=z(7403),r=z(8446),i=z.n(r);function a(y){return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(v){return typeof v}:function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},a(y)}function n(y,v){for(var g=0;g"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var m,w=l(x);if(E){var N=l(this).constructor;m=Reflect.construct(w,arguments,N)}else m=w.apply(this,arguments);return function(C,P){if(P&&(a(P)==="object"||typeof P=="function"))return P;if(P!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return c(C)}(this,m)});function O(){var m,w,N,C;(function(U,_){if(!(U instanceof _))throw new TypeError("Cannot call a class as a function")})(this,O);for(var P=arguments.length,S=new Array(P),H=0;H{const[F,et]=xt.useState(!1);return k.jsx("section",{className:"w-screen flex justify-center items-center bg-bgDark1 mb-[28vw] md:mb-[18vw] lg:mb-[10vw] xl:mb-[13vw] 2xl:mb-60 hero-bg-gradient pb-24 sm:pb-32 md:pb-44 lg:pb-0",id:"home",children:k.jsxs("div",{className:"w-full md:w-[800px] xl:w-[900px] flex flex-col justify-center items-center pt-16 md:pt-16 lg:pt-20 text-center",children:[k.jsxs(V.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5,delay:.05},children:[k.jsx("div",{className:"rubik-moonrocks-regular text-3xl sm:text-4xl lg:text-5xl xl:text-5xl font-bold tracking-wide text-primaryText px-8 sm:px-8 md:px-20 lg:px-4 sm:mt-32 mt-16",children:k.jsx("h1",{children:"non custodial crowdfunding"})}),k.jsx("h1",{className:"rubik-moonrocks-regular mt-2 sm:mt-2 text-3xl sm:text-5xl lg:text-6xl xl:text-6xl font-bold tracking-wide text-secondaryColor px-8 sm:px-20 md:px-24 lg:px-24",children:"with Angor"})]}),k.jsx(V.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5,delay:.1},children:k.jsxs("h2",{className:"text-secondaryText text-sm lg:text-base xl:text-lg sm:text-base mt-10 px-12 sm:px-30 ",children:[k.jsx(Ot,{options:{strings:["A decentralized crowdfunding protocol built on Bitcoin and Nostr"],autoStart:!0,loop:!0}})," "]})}),k.jsx(V.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5,delay:.15},className:"flex justify-center mt-14 mb-40 sm:mb-40",children:k.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[k.jsx("a",{href:"https://hub.angor.io",className:"w-full sm:w-52 h-12 rounded-xl font-bold text-primaryText border border-solid flex justify-center items-center cursor-pointer bg-bgDark2 hover:bg-bgDark3 border-primaryColor transition","aria-label":"Mainnet",children:"Angor Hub"}),k.jsxs("div",{className:"relative w-52",children:[k.jsxs("button",{onClick:()=>et(!F),className:"w-full h-12 rounded-xl font-bold text-primaryText border border-solid flex justify-center items-center cursor-pointer bg-bgDark2 hover:bg-bgDark3 border-primaryColor transition px-4 relative","aria-expanded":F,"aria-label":"Angor App Dropdown",children:[k.jsx("span",{children:"Angor App"}),k.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:`h-5 w-5 absolute right-4 transition-transform ${F?"rotate-180":"rotate-0"}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:k.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),F&&k.jsxs(V.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3,ease:"easeOut"},className:"absolute top-full mt-2 left-0 w-full bg-bgDark2 border border-primaryColor rounded-lg shadow-lg z-10 overflow-hidden",children:[k.jsx("a",{href:"https://test.angor.io",className:"block px-4 py-2 text-primaryText hover:bg-bgDark3 transition text-center rounded-t-lg",children:"Testnet"}),k.jsx("a",{href:"#",className:"block px-4 py-2 text-primaryText opacity-50 cursor-not-allowed bg-bgDark2 text-center rounded-b-lg","aria-disabled":"true",children:"Mainnet"})]})]})]})}),k.jsx(V.div,{initial:{opacity:0,y:10,zIndex:20},animate:{opacity:1,y:0,zIndex:20},transition:{duration:.5,delay:.15},children:k.jsx("div",{className:"relative w-screen flex justify-center ",children:k.jsx("img",{src:jt.src,alt:"Dashboard image",className:"w-4/5 2xl:w-[1200px] mx-auto absolute z-10 rounded-xl main-border-gray hero-dashboard-border-gradient lg:top-6 xl:top-0"})})}),k.jsx("div",{className:"relative w-screen flex justify-center ",children:k.jsx("div",{className:"shape-divider-bottom-1665343298 mt-4 sm:mt-16 md:mt-52 hidden lg:block",children:k.jsx("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1200 120",preserveAspectRatio:"none",className:"bg-bgDark2",children:k.jsx("path",{d:"M1200 0L0 0 598.97 114.72 1200 0z",className:"shape-fill bg-bgDark1 fill-bgDark1"})})})})]})})};export{Nt as Hero}; +import{j as k}from"./jsx-runtime.7faW4zRM.js";import{r as lt}from"./index.DhYZZe0J.js";import{m as V}from"./proxy.BGI24Kd2.js";var xt=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function wt(F){return F&&F.__esModule&&Object.prototype.hasOwnProperty.call(F,"default")?F.default:F}const _t={src:"/_astro/dashboard.CPsU-PuY.gif",width:1910,height:913,format:"gif"};var pt={exports:{}};(function(F,et){(function(rt,J){F.exports=J(lt)})(typeof self<"u"?self:xt,rt=>(()=>{var J={7403:(e,o,t)=>{t.d(o,{default:()=>U});var r=t(4087),i=t.n(r);const a=function(_){return new RegExp(/<[a-z][\s\S]*>/i).test(_)},n=function(_,h){return Math.floor(Math.random()*(h-_+1))+_};var u="TYPE_CHARACTER",c="REMOVE_CHARACTER",l="REMOVE_ALL",f="REMOVE_LAST_VISIBLE_NODE",p="PAUSE_FOR",d="CALL_FUNCTION",y="ADD_HTML_TAG_ELEMENT",v="CHANGE_DELETE_SPEED",g="CHANGE_DELAY",x="CHANGE_CURSOR",E="PASTE_STRING",A="HTML_TAG";function O(_){return O=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(h){return typeof h}:function(h){return h&&typeof Symbol=="function"&&h.constructor===Symbol&&h!==Symbol.prototype?"symbol":typeof h},O(_)}function m(_,h){var T=Object.keys(_);if(Object.getOwnPropertySymbols){var j=Object.getOwnPropertySymbols(_);h&&(j=j.filter(function(Q){return Object.getOwnPropertyDescriptor(_,Q).enumerable})),T.push.apply(T,j)}return T}function w(_){for(var h=1;h_.length)&&(h=_.length);for(var T=0,j=new Array(h);T1&&arguments[1]!==void 0?arguments[1]:null;if(a(b))return s.typeOutHTMLString(b,D);if(b){var M=(s.options||{}).stringSplitter,R=typeof M=="function"?M(b):b.split("");s.typeCharacters(R,D)}return s}),S(this,"pasteString",function(b){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null;return a(b)?s.typeOutHTMLString(b,D,!0):(b&&s.addEventToQueue(E,{character:b,node:D}),s)}),S(this,"typeOutHTMLString",function(b){var D=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,M=arguments.length>2?arguments[2]:void 0,R=function($){var W=document.createElement("div");return W.innerHTML=$,W.childNodes}(b);if(R.length>0)for(var L=0;L0&&arguments[0]!==void 0?arguments[0]:"natural";return s.addEventToQueue(l,{speed:b}),s}),S(this,"changeDeleteSpeed",function(b){if(!b)throw new Error("Must provide new delete speed");return s.addEventToQueue(v,{speed:b}),s}),S(this,"changeDelay",function(b){if(!b)throw new Error("Must provide new delay");return s.addEventToQueue(g,{delay:b}),s}),S(this,"changeCursor",function(b){if(!b)throw new Error("Must provide new cursor");return s.addEventToQueue(x,{cursor:b}),s}),S(this,"deleteChars",function(b){if(!b)throw new Error("Must provide amount of characters to delete");for(var D=0;D1&&arguments[1]!==void 0?arguments[1]:null;if(!b||!Array.isArray(b))throw new Error("Characters must be an array");return b.forEach(function(M){s.addEventToQueue(u,{character:M,node:D})}),s}),S(this,"removeCharacters",function(b){if(!b||!Array.isArray(b))throw new Error("Characters must be an array");return b.forEach(function(){s.addEventToQueue(c)}),s}),S(this,"addEventToQueue",function(b,D){var M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return s.addEventToStateProperty(b,D,M,"eventQueue")}),S(this,"addReverseCalledEvent",function(b,D){var M=arguments.length>2&&arguments[2]!==void 0&&arguments[2];return s.options.loop?s.addEventToStateProperty(b,D,M,"reverseCalledEvents"):s}),S(this,"addEventToStateProperty",function(b,D){var M=arguments.length>2&&arguments[2]!==void 0&&arguments[2],R=arguments.length>3?arguments[3]:void 0,L={eventName:b,eventArgs:D||{}};return s.state[R]=M?[L].concat(N(s.state[R])):[].concat(N(s.state[R]),[L]),s}),S(this,"runEventLoop",function(){s.state.lastFrameTime||(s.state.lastFrameTime=Date.now());var b=Date.now(),D=b-s.state.lastFrameTime;if(!s.state.eventQueue.length){if(!s.options.loop)return;s.state.eventQueue=N(s.state.calledEvents),s.state.calledEvents=[],s.options=w({},s.state.initialOptions)}if(s.state.eventLoop=i()(s.runEventLoop),!s.state.eventLoopPaused){if(s.state.pauseUntil){if(b{var r=t(852)(t(5639),"DataView");e.exports=r},1989:(e,o,t)=>{var r=t(1789),i=t(401),a=t(7667),n=t(1327),u=t(1866);function c(l){var f=-1,p=l==null?0:l.length;for(this.clear();++f{var r=t(7040),i=t(4125),a=t(2117),n=t(7518),u=t(4705);function c(l){var f=-1,p=l==null?0:l.length;for(this.clear();++f{var r=t(852)(t(5639),"Map");e.exports=r},3369:(e,o,t)=>{var r=t(4785),i=t(1285),a=t(6e3),n=t(9916),u=t(5265);function c(l){var f=-1,p=l==null?0:l.length;for(this.clear();++f{var r=t(852)(t(5639),"Promise");e.exports=r},8525:(e,o,t)=>{var r=t(852)(t(5639),"Set");e.exports=r},8668:(e,o,t)=>{var r=t(3369),i=t(619),a=t(2385);function n(u){var c=-1,l=u==null?0:u.length;for(this.__data__=new r;++c{var r=t(8407),i=t(7465),a=t(3779),n=t(7599),u=t(4758),c=t(4309);function l(f){var p=this.__data__=new r(f);this.size=p.size}l.prototype.clear=i,l.prototype.delete=a,l.prototype.get=n,l.prototype.has=u,l.prototype.set=c,e.exports=l},2705:(e,o,t)=>{var r=t(5639).Symbol;e.exports=r},1149:(e,o,t)=>{var r=t(5639).Uint8Array;e.exports=r},577:(e,o,t)=>{var r=t(852)(t(5639),"WeakMap");e.exports=r},4963:e=>{e.exports=function(o,t){for(var r=-1,i=o==null?0:o.length,a=0,n=[];++r{var r=t(2545),i=t(5694),a=t(1469),n=t(4144),u=t(5776),c=t(6719),l=Object.prototype.hasOwnProperty;e.exports=function(f,p){var d=a(f),y=!d&&i(f),v=!d&&!y&&n(f),g=!d&&!y&&!v&&c(f),x=d||y||v||g,E=x?r(f.length,String):[],A=E.length;for(var O in f)!p&&!l.call(f,O)||x&&(O=="length"||v&&(O=="offset"||O=="parent")||g&&(O=="buffer"||O=="byteLength"||O=="byteOffset")||u(O,A))||E.push(O);return E}},2488:e=>{e.exports=function(o,t){for(var r=-1,i=t.length,a=o.length;++r{e.exports=function(o,t){for(var r=-1,i=o==null?0:o.length;++r{var r=t(7813);e.exports=function(i,a){for(var n=i.length;n--;)if(r(i[n][0],a))return n;return-1}},8866:(e,o,t)=>{var r=t(2488),i=t(1469);e.exports=function(a,n,u){var c=n(a);return i(a)?c:r(c,u(a))}},4239:(e,o,t)=>{var r=t(2705),i=t(9607),a=t(2333),n=r?r.toStringTag:void 0;e.exports=function(u){return u==null?u===void 0?"[object Undefined]":"[object Null]":n&&n in Object(u)?i(u):a(u)}},9454:(e,o,t)=>{var r=t(4239),i=t(7005);e.exports=function(a){return i(a)&&r(a)=="[object Arguments]"}},939:(e,o,t)=>{var r=t(2492),i=t(7005);e.exports=function a(n,u,c,l,f){return n===u||(n==null||u==null||!i(n)&&!i(u)?n!=n&&u!=u:r(n,u,c,l,a,f))}},2492:(e,o,t)=>{var r=t(6384),i=t(7114),a=t(8351),n=t(6096),u=t(4160),c=t(1469),l=t(4144),f=t(6719),p="[object Arguments]",d="[object Array]",y="[object Object]",v=Object.prototype.hasOwnProperty;e.exports=function(g,x,E,A,O,m){var w=c(g),N=c(x),C=w?d:u(g),P=N?d:u(x),S=(C=C==p?y:C)==y,H=(P=P==p?y:P)==y,U=C==P;if(U&&l(g)){if(!l(x))return!1;w=!0,S=!1}if(U&&!S)return m||(m=new r),w||f(g)?i(g,x,E,A,O,m):a(g,x,C,E,A,O,m);if(!(1&E)){var _=S&&v.call(g,"__wrapped__"),h=H&&v.call(x,"__wrapped__");if(_||h){var T=_?g.value():g,j=h?x.value():x;return m||(m=new r),O(T,j,E,A,m)}}return!!U&&(m||(m=new r),n(g,x,E,A,O,m))}},8458:(e,o,t)=>{var r=t(3560),i=t(5346),a=t(3218),n=t(346),u=/^\[object .+?Constructor\]$/,c=Function.prototype,l=Object.prototype,f=c.toString,p=l.hasOwnProperty,d=RegExp("^"+f.call(p).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(y){return!(!a(y)||i(y))&&(r(y)?d:u).test(n(y))}},8749:(e,o,t)=>{var r=t(4239),i=t(1780),a=t(7005),n={};n["[object Float32Array]"]=n["[object Float64Array]"]=n["[object Int8Array]"]=n["[object Int16Array]"]=n["[object Int32Array]"]=n["[object Uint8Array]"]=n["[object Uint8ClampedArray]"]=n["[object Uint16Array]"]=n["[object Uint32Array]"]=!0,n["[object Arguments]"]=n["[object Array]"]=n["[object ArrayBuffer]"]=n["[object Boolean]"]=n["[object DataView]"]=n["[object Date]"]=n["[object Error]"]=n["[object Function]"]=n["[object Map]"]=n["[object Number]"]=n["[object Object]"]=n["[object RegExp]"]=n["[object Set]"]=n["[object String]"]=n["[object WeakMap]"]=!1,e.exports=function(u){return a(u)&&i(u.length)&&!!n[r(u)]}},280:(e,o,t)=>{var r=t(5726),i=t(6916),a=Object.prototype.hasOwnProperty;e.exports=function(n){if(!r(n))return i(n);var u=[];for(var c in Object(n))a.call(n,c)&&c!="constructor"&&u.push(c);return u}},2545:e=>{e.exports=function(o,t){for(var r=-1,i=Array(o);++r{e.exports=function(o){return function(t){return o(t)}}},4757:e=>{e.exports=function(o,t){return o.has(t)}},4429:(e,o,t)=>{var r=t(5639)["__core-js_shared__"];e.exports=r},7114:(e,o,t)=>{var r=t(8668),i=t(2908),a=t(4757);e.exports=function(n,u,c,l,f,p){var d=1&c,y=n.length,v=u.length;if(y!=v&&!(d&&v>y))return!1;var g=p.get(n),x=p.get(u);if(g&&x)return g==u&&x==n;var E=-1,A=!0,O=2&c?new r:void 0;for(p.set(n,u),p.set(u,n);++E{var r=t(2705),i=t(1149),a=t(7813),n=t(7114),u=t(8776),c=t(1814),l=r?r.prototype:void 0,f=l?l.valueOf:void 0;e.exports=function(p,d,y,v,g,x,E){switch(y){case"[object DataView]":if(p.byteLength!=d.byteLength||p.byteOffset!=d.byteOffset)return!1;p=p.buffer,d=d.buffer;case"[object ArrayBuffer]":return!(p.byteLength!=d.byteLength||!x(new i(p),new i(d)));case"[object Boolean]":case"[object Date]":case"[object Number]":return a(+p,+d);case"[object Error]":return p.name==d.name&&p.message==d.message;case"[object RegExp]":case"[object String]":return p==d+"";case"[object Map]":var A=u;case"[object Set]":var O=1&v;if(A||(A=c),p.size!=d.size&&!O)return!1;var m=E.get(p);if(m)return m==d;v|=2,E.set(p,d);var w=n(A(p),A(d),v,g,x,E);return E.delete(p),w;case"[object Symbol]":if(f)return f.call(p)==f.call(d)}return!1}},6096:(e,o,t)=>{var r=t(8234),i=Object.prototype.hasOwnProperty;e.exports=function(a,n,u,c,l,f){var p=1&u,d=r(a),y=d.length;if(y!=r(n).length&&!p)return!1;for(var v=y;v--;){var g=d[v];if(!(p?g in n:i.call(n,g)))return!1}var x=f.get(a),E=f.get(n);if(x&&E)return x==n&&E==a;var A=!0;f.set(a,n),f.set(n,a);for(var O=p;++v{var r=typeof t.g=="object"&&t.g&&t.g.Object===Object&&t.g;e.exports=r},8234:(e,o,t)=>{var r=t(8866),i=t(9551),a=t(3674);e.exports=function(n){return r(n,a,i)}},5050:(e,o,t)=>{var r=t(7019);e.exports=function(i,a){var n=i.__data__;return r(a)?n[typeof a=="string"?"string":"hash"]:n.map}},852:(e,o,t)=>{var r=t(8458),i=t(7801);e.exports=function(a,n){var u=i(a,n);return r(u)?u:void 0}},9607:(e,o,t)=>{var r=t(2705),i=Object.prototype,a=i.hasOwnProperty,n=i.toString,u=r?r.toStringTag:void 0;e.exports=function(c){var l=a.call(c,u),f=c[u];try{c[u]=void 0;var p=!0}catch{}var d=n.call(c);return p&&(l?c[u]=f:delete c[u]),d}},9551:(e,o,t)=>{var r=t(4963),i=t(479),a=Object.prototype.propertyIsEnumerable,n=Object.getOwnPropertySymbols,u=n?function(c){return c==null?[]:(c=Object(c),r(n(c),function(l){return a.call(c,l)}))}:i;e.exports=u},4160:(e,o,t)=>{var r=t(8552),i=t(7071),a=t(3818),n=t(8525),u=t(577),c=t(4239),l=t(346),f="[object Map]",p="[object Promise]",d="[object Set]",y="[object WeakMap]",v="[object DataView]",g=l(r),x=l(i),E=l(a),A=l(n),O=l(u),m=c;(r&&m(new r(new ArrayBuffer(1)))!=v||i&&m(new i)!=f||a&&m(a.resolve())!=p||n&&m(new n)!=d||u&&m(new u)!=y)&&(m=function(w){var N=c(w),C=N=="[object Object]"?w.constructor:void 0,P=C?l(C):"";if(P)switch(P){case g:return v;case x:return f;case E:return p;case A:return d;case O:return y}return N}),e.exports=m},7801:e=>{e.exports=function(o,t){return o?.[t]}},1789:(e,o,t)=>{var r=t(4536);e.exports=function(){this.__data__=r?r(null):{},this.size=0}},401:e=>{e.exports=function(o){var t=this.has(o)&&delete this.__data__[o];return this.size-=t?1:0,t}},7667:(e,o,t)=>{var r=t(4536),i=Object.prototype.hasOwnProperty;e.exports=function(a){var n=this.__data__;if(r){var u=n[a];return u==="__lodash_hash_undefined__"?void 0:u}return i.call(n,a)?n[a]:void 0}},1327:(e,o,t)=>{var r=t(4536),i=Object.prototype.hasOwnProperty;e.exports=function(a){var n=this.__data__;return r?n[a]!==void 0:i.call(n,a)}},1866:(e,o,t)=>{var r=t(4536);e.exports=function(i,a){var n=this.__data__;return this.size+=this.has(i)?0:1,n[i]=r&&a===void 0?"__lodash_hash_undefined__":a,this}},5776:e=>{var o=/^(?:0|[1-9]\d*)$/;e.exports=function(t,r){var i=typeof t;return!!(r=r??9007199254740991)&&(i=="number"||i!="symbol"&&o.test(t))&&t>-1&&t%1==0&&t{e.exports=function(o){var t=typeof o;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?o!=="__proto__":o===null}},5346:(e,o,t)=>{var r,i=t(4429),a=(r=/[^.]+$/.exec(i&&i.keys&&i.keys.IE_PROTO||""))?"Symbol(src)_1."+r:"";e.exports=function(n){return!!a&&a in n}},5726:e=>{var o=Object.prototype;e.exports=function(t){var r=t&&t.constructor;return t===(typeof r=="function"&&r.prototype||o)}},7040:e=>{e.exports=function(){this.__data__=[],this.size=0}},4125:(e,o,t)=>{var r=t(8470),i=Array.prototype.splice;e.exports=function(a){var n=this.__data__,u=r(n,a);return!(u<0||(u==n.length-1?n.pop():i.call(n,u,1),--this.size,0))}},2117:(e,o,t)=>{var r=t(8470);e.exports=function(i){var a=this.__data__,n=r(a,i);return n<0?void 0:a[n][1]}},7518:(e,o,t)=>{var r=t(8470);e.exports=function(i){return r(this.__data__,i)>-1}},4705:(e,o,t)=>{var r=t(8470);e.exports=function(i,a){var n=this.__data__,u=r(n,i);return u<0?(++this.size,n.push([i,a])):n[u][1]=a,this}},4785:(e,o,t)=>{var r=t(1989),i=t(8407),a=t(7071);e.exports=function(){this.size=0,this.__data__={hash:new r,map:new(a||i),string:new r}}},1285:(e,o,t)=>{var r=t(5050);e.exports=function(i){var a=r(this,i).delete(i);return this.size-=a?1:0,a}},6e3:(e,o,t)=>{var r=t(5050);e.exports=function(i){return r(this,i).get(i)}},9916:(e,o,t)=>{var r=t(5050);e.exports=function(i){return r(this,i).has(i)}},5265:(e,o,t)=>{var r=t(5050);e.exports=function(i,a){var n=r(this,i),u=n.size;return n.set(i,a),this.size+=n.size==u?0:1,this}},8776:e=>{e.exports=function(o){var t=-1,r=Array(o.size);return o.forEach(function(i,a){r[++t]=[a,i]}),r}},4536:(e,o,t)=>{var r=t(852)(Object,"create");e.exports=r},6916:(e,o,t)=>{var r=t(5569)(Object.keys,Object);e.exports=r},1167:(e,o,t)=>{e=t.nmd(e);var r=t(1957),i=o&&!o.nodeType&&o,a=i&&e&&!e.nodeType&&e,n=a&&a.exports===i&&r.process,u=function(){try{return a&&a.require&&a.require("util").types||n&&n.binding&&n.binding("util")}catch{}}();e.exports=u},2333:e=>{var o=Object.prototype.toString;e.exports=function(t){return o.call(t)}},5569:e=>{e.exports=function(o,t){return function(r){return o(t(r))}}},5639:(e,o,t)=>{var r=t(1957),i=typeof self=="object"&&self&&self.Object===Object&&self,a=r||i||Function("return this")();e.exports=a},619:e=>{e.exports=function(o){return this.__data__.set(o,"__lodash_hash_undefined__"),this}},2385:e=>{e.exports=function(o){return this.__data__.has(o)}},1814:e=>{e.exports=function(o){var t=-1,r=Array(o.size);return o.forEach(function(i){r[++t]=i}),r}},7465:(e,o,t)=>{var r=t(8407);e.exports=function(){this.__data__=new r,this.size=0}},3779:e=>{e.exports=function(o){var t=this.__data__,r=t.delete(o);return this.size=t.size,r}},7599:e=>{e.exports=function(o){return this.__data__.get(o)}},4758:e=>{e.exports=function(o){return this.__data__.has(o)}},4309:(e,o,t)=>{var r=t(8407),i=t(7071),a=t(3369);e.exports=function(n,u){var c=this.__data__;if(c instanceof r){var l=c.__data__;if(!i||l.length<199)return l.push([n,u]),this.size=++c.size,this;c=this.__data__=new a(l)}return c.set(n,u),this.size=c.size,this}},346:e=>{var o=Function.prototype.toString;e.exports=function(t){if(t!=null){try{return o.call(t)}catch{}try{return t+""}catch{}}return""}},7813:e=>{e.exports=function(o,t){return o===t||o!=o&&t!=t}},5694:(e,o,t)=>{var r=t(9454),i=t(7005),a=Object.prototype,n=a.hasOwnProperty,u=a.propertyIsEnumerable,c=r(function(){return arguments}())?r:function(l){return i(l)&&n.call(l,"callee")&&!u.call(l,"callee")};e.exports=c},1469:e=>{var o=Array.isArray;e.exports=o},8612:(e,o,t)=>{var r=t(3560),i=t(1780);e.exports=function(a){return a!=null&&i(a.length)&&!r(a)}},4144:(e,o,t)=>{e=t.nmd(e);var r=t(5639),i=t(5062),a=o&&!o.nodeType&&o,n=a&&e&&!e.nodeType&&e,u=n&&n.exports===a?r.Buffer:void 0,c=(u?u.isBuffer:void 0)||i;e.exports=c},8446:(e,o,t)=>{var r=t(939);e.exports=function(i,a){return r(i,a)}},3560:(e,o,t)=>{var r=t(4239),i=t(3218);e.exports=function(a){if(!i(a))return!1;var n=r(a);return n=="[object Function]"||n=="[object GeneratorFunction]"||n=="[object AsyncFunction]"||n=="[object Proxy]"}},1780:e=>{e.exports=function(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=9007199254740991}},3218:e=>{e.exports=function(o){var t=typeof o;return o!=null&&(t=="object"||t=="function")}},7005:e=>{e.exports=function(o){return o!=null&&typeof o=="object"}},6719:(e,o,t)=>{var r=t(8749),i=t(1717),a=t(1167),n=a&&a.isTypedArray,u=n?i(n):r;e.exports=u},3674:(e,o,t)=>{var r=t(4636),i=t(280),a=t(8612);e.exports=function(n){return a(n)?r(n):i(n)}},479:e=>{e.exports=function(){return[]}},5062:e=>{e.exports=function(){return!1}},75:function(e){(function(){var o,t,r,i,a,n;typeof performance<"u"&&performance!==null&&performance.now?e.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(e.exports=function(){return(o()-a)/1e6},t=process.hrtime,i=(o=function(){var u;return 1e9*(u=t())[0]+u[1]})(),n=1e9*process.uptime(),a=i-n):Date.now?(e.exports=function(){return Date.now()-r},r=Date.now()):(e.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(this)},4087:(e,o,t)=>{for(var r=t(75),i=typeof window>"u"?t.g:window,a=["moz","webkit"],n="AnimationFrame",u=i["request"+n],c=i["cancel"+n]||i["cancelRequest"+n],l=0;!u&&l{e.exports=rt}},nt={};function z(e){var o=nt[e];if(o!==void 0)return o.exports;var t=nt[e]={id:e,loaded:!1,exports:{}};return J[e].call(t.exports,t,t.exports,z),t.loaded=!0,t.exports}z.n=e=>{var o=e&&e.__esModule?()=>e.default:()=>e;return z.d(o,{a:o}),o},z.d=(e,o)=>{for(var t in o)z.o(o,t)&&!z.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:o[t]})},z.g=function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}}(),z.o=(e,o)=>Object.prototype.hasOwnProperty.call(e,o),z.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var ot={};return(()=>{z.d(ot,{default:()=>d});var e=z(8156),o=z.n(e),t=z(7403),r=z(8446),i=z.n(r);function a(y){return a=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(v){return typeof v}:function(v){return v&&typeof Symbol=="function"&&v.constructor===Symbol&&v!==Symbol.prototype?"symbol":typeof v},a(y)}function n(y,v){for(var g=0;g"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}(),function(){var m,w=l(x);if(E){var N=l(this).constructor;m=Reflect.construct(w,arguments,N)}else m=w.apply(this,arguments);return function(C,P){if(P&&(a(P)==="object"||typeof P=="function"))return P;if(P!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return c(C)}(this,m)});function O(){var m,w,N,C;(function(U,_){if(!(U instanceof _))throw new TypeError("Cannot call a class as a function")})(this,O);for(var P=arguments.length,S=new Array(P),H=0;H{const[F,et]=lt.useState(!1);return k.jsx("section",{className:"w-screen flex justify-center items-center bg-bgDark1 mb-[28vw] md:mb-[18vw] lg:mb-[10vw] xl:mb-[13vw] 2xl:mb-60 hero-bg-gradient pb-24 sm:pb-32 md:pb-44 lg:pb-0",id:"home",children:k.jsxs("div",{className:"w-full md:w-[800px] xl:w-[900px] flex flex-col justify-center items-center pt-16 md:pt-16 lg:pt-20 text-center",children:[k.jsxs(V.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5,delay:.05},children:[k.jsx("div",{className:"rubik-moonrocks-regular text-3xl sm:text-4xl lg:text-5xl xl:text-5xl font-bold tracking-wide text-primaryText px-8 sm:px-8 md:px-20 lg:px-4 sm:mt-32 mt-16",children:k.jsx("h1",{children:"non custodial crowdfunding"})}),k.jsx("h1",{className:"rubik-moonrocks-regular mt-2 sm:mt-2 text-3xl sm:text-5xl lg:text-6xl xl:text-6xl font-bold tracking-wide text-secondaryColor px-8 sm:px-20 md:px-24 lg:px-24",children:"with Angor"})]}),k.jsx(V.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5,delay:.1},children:k.jsxs("h2",{className:"text-secondaryText text-sm lg:text-base xl:text-lg sm:text-base mt-10 px-12 sm:px-30 ",children:[k.jsx(Et,{options:{strings:["A decentralized crowdfunding protocol built on Bitcoin and Nostr"],autoStart:!0,loop:!0}})," "]})}),k.jsx(V.div,{initial:{opacity:0,y:10},animate:{opacity:1,y:0},transition:{duration:.5,delay:.15},className:"flex justify-center mt-14 mb-40 sm:mb-40",children:k.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[k.jsx("a",{href:"https://hub.angor.io",className:"w-full sm:w-52 h-12 rounded-xl font-bold text-primaryText border border-solid flex justify-center items-center cursor-pointer bg-bgDark2 hover:bg-bgDark3 border-primaryColor transition","aria-label":"Mainnet",children:"Angor Hub"}),k.jsxs("div",{className:"relative w-52",children:[k.jsxs("button",{onClick:()=>et(!F),className:"w-full h-12 rounded-xl font-bold text-primaryText border border-solid flex justify-center items-center cursor-pointer bg-bgDark2 hover:bg-bgDark3 border-primaryColor transition px-4 relative","aria-expanded":F,"aria-label":"Angor App Dropdown",children:[k.jsx("span",{children:"Angor App"}),k.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",className:`h-5 w-5 absolute right-4 transition-transform ${F?"rotate-180":"rotate-0"}`,fill:"none",viewBox:"0 0 24 24",stroke:"currentColor",children:k.jsx("path",{strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,d:"M19 9l-7 7-7-7"})})]}),F&&k.jsxs(V.div,{initial:{opacity:0,y:-10},animate:{opacity:1,y:0},exit:{opacity:0,y:-10},transition:{duration:.3,ease:"easeOut"},className:"absolute top-full mt-2 left-0 w-full bg-bgDark2 border border-primaryColor rounded-lg shadow-lg z-10 overflow-hidden",children:[k.jsx("a",{href:"https://test.angor.io",className:"block px-4 py-2 text-primaryText hover:bg-bgDark3 transition text-center rounded-t-lg",children:"Testnet"}),k.jsx("a",{href:"#",className:"block px-4 py-2 text-primaryText opacity-50 cursor-not-allowed bg-bgDark2 text-center rounded-b-lg","aria-disabled":"true",children:"Mainnet"})]})]})]})}),k.jsx(V.div,{initial:{opacity:0,y:10,zIndex:20},animate:{opacity:1,y:0,zIndex:20},transition:{duration:.5,delay:.15},children:k.jsx("div",{className:"relative w-screen flex justify-center ",children:k.jsx("img",{src:_t.src,alt:"Dashboard image",className:"w-4/5 2xl:w-[1200px] mx-auto absolute z-10 rounded-xl main-border-gray hero-dashboard-border-gradient lg:top-6 xl:top-0"})})}),k.jsx("div",{className:"relative w-screen flex justify-center ",children:k.jsx("div",{className:"shape-divider-bottom-1665343298 mt-4 sm:mt-16 md:mt-52 hidden lg:block",children:k.jsx("svg",{"data-name":"Layer 1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 1200 120",preserveAspectRatio:"none",className:"bg-bgDark2",children:k.jsx("path",{d:"M1200 0L0 0 598.97 114.72 1200 0z",className:"shape-fill bg-bgDark1 fill-bgDark1"})})})})]})})};export{St as Hero}; diff --git a/_astro/Navbar.TXAsqXew.js b/_astro/Navbar.DZnVScVp.js similarity index 98% rename from _astro/Navbar.TXAsqXew.js rename to _astro/Navbar.DZnVScVp.js index 4c032ba..4cfd35e 100644 --- a/_astro/Navbar.TXAsqXew.js +++ b/_astro/Navbar.DZnVScVp.js @@ -1,4 +1,4 @@ -import{j as e}from"./jsx-runtime.aePpX4xZ.js";import{r as i}from"./index.CQPPKyn2.js";import{M as I,u as D,P as B,a as P,L as A,m as b}from"./proxy.C6YqNO2W.js";class F extends i.Component{getSnapshotBeforeUpdate(o){const t=this.props.childRef.current;if(t&&o.isPresent&&!this.props.isPresent){const s=this.props.sizeRef.current;s.height=t.offsetHeight||0,s.width=t.offsetWidth||0,s.top=t.offsetTop,s.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function S({children:r,isPresent:o}){const t=i.useId(),s=i.useRef(null),c=i.useRef({width:0,height:0,top:0,left:0}),{nonce:m}=i.useContext(I);return i.useInsertionEffect(()=>{const{width:p,height:n,top:f,left:u}=c.current;if(o||!s.current||!p||!n)return;s.current.dataset.motionPopId=t;const d=document.createElement("style");return m&&(d.nonce=m),document.head.appendChild(d),d.sheet&&d.sheet.insertRule(` +import{j as e}from"./jsx-runtime.7faW4zRM.js";import{r as i}from"./index.DhYZZe0J.js";import{M as I,u as D,P as B,a as P,L as A,m as b}from"./proxy.BGI24Kd2.js";class F extends i.Component{getSnapshotBeforeUpdate(o){const t=this.props.childRef.current;if(t&&o.isPresent&&!this.props.isPresent){const s=this.props.sizeRef.current;s.height=t.offsetHeight||0,s.width=t.offsetWidth||0,s.top=t.offsetTop,s.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function S({children:r,isPresent:o}){const t=i.useId(),s=i.useRef(null),c=i.useRef({width:0,height:0,top:0,left:0}),{nonce:m}=i.useContext(I);return i.useInsertionEffect(()=>{const{width:p,height:n,top:f,left:u}=c.current;if(o||!s.current||!p||!n)return;s.current.dataset.motionPopId=t;const d=document.createElement("style");return m&&(d.nonce=m),document.head.appendChild(d),d.sheet&&d.sheet.insertRule(` [data-motion-pop-id="${t}"] { position: absolute !important; width: ${p}px !important; diff --git a/_astro/ScrollUpButton.C5LiQmpP.js b/_astro/ScrollUpButton.B5Qrhvqy.js similarity index 85% rename from _astro/ScrollUpButton.C5LiQmpP.js rename to _astro/ScrollUpButton.B5Qrhvqy.js index 7fbeb9d..01438c7 100644 --- a/_astro/ScrollUpButton.C5LiQmpP.js +++ b/_astro/ScrollUpButton.B5Qrhvqy.js @@ -1 +1 @@ -import{j as o}from"./jsx-runtime.aePpX4xZ.js";import{r}from"./index.CQPPKyn2.js";const a=()=>{const[s,e]=r.useState(!1);r.useEffect(()=>{window.addEventListener("scroll",i)},[]);const i=()=>{const t=document.documentElement.scrollTop;t>300?e(!0):t<=300&&e(!1)},n=()=>{window.scrollTo({top:0,behavior:"smooth"})};return o.jsx(o.Fragment,{children:s&&o.jsx("button",{className:"w-12 h-12 fixed bottom-6 right-6 main-border-gray rounded-xl bg-bgDark2 hover:bg-bgDark3 cursor-pointer flex justify-center items-center transition z-50",onClick:n,"aria-label":"Scroll to top",children:o.jsx("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"35px",height:"35px",viewBox:"0 0 20 20",children:o.jsx("path",{d:"M4.16732 12.5L10.0007 6.66667L15.834 12.5",stroke:"rgb(203, 221, 225)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})})};export{a as ScrollUpButton}; +import{j as o}from"./jsx-runtime.7faW4zRM.js";import{r}from"./index.DhYZZe0J.js";const a=()=>{const[s,e]=r.useState(!1);r.useEffect(()=>{window.addEventListener("scroll",i)},[]);const i=()=>{const t=document.documentElement.scrollTop;t>300?e(!0):t<=300&&e(!1)},n=()=>{window.scrollTo({top:0,behavior:"smooth"})};return o.jsx(o.Fragment,{children:s&&o.jsx("button",{className:"w-12 h-12 fixed bottom-6 right-6 main-border-gray rounded-xl bg-bgDark2 hover:bg-bgDark3 cursor-pointer flex justify-center items-center transition z-50",onClick:n,"aria-label":"Scroll to top",children:o.jsx("svg",{fill:"none",xmlns:"http://www.w3.org/2000/svg",width:"35px",height:"35px",viewBox:"0 0 20 20",children:o.jsx("path",{d:"M4.16732 12.5L10.0007 6.66667L15.834 12.5",stroke:"rgb(203, 221, 225)",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})})})};export{a as ScrollUpButton}; diff --git a/_astro/client.D9Ud3v75.js b/_astro/client.BIGLHmRd.js similarity index 77% rename from _astro/client.D9Ud3v75.js rename to _astro/client.BIGLHmRd.js index e50d9c8..f1891c7 100644 --- a/_astro/client.D9Ud3v75.js +++ b/_astro/client.BIGLHmRd.js @@ -1,4 +1,4 @@ -import{a as Da,r as Je}from"./index.CQPPKyn2.js";var Po={exports:{}},ve={},To={exports:{}},Lo={};/** +import{r as Ue}from"./index.DhYZZe0J.js";var Po={exports:{}},ve={},To={exports:{}},Lo={};/** * @license React * scheduler.production.min.js * @@ -6,7 +6,7 @@ import{a as Da,r as Je}from"./index.CQPPKyn2.js";var Po={exports:{}},ve={},To={e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */(function(e){function n(C,z){var P=C.length;C.push(z);e:for(;0>>1,Y=C[B];if(0>>1;Bl(al,P))vnl(Gt,al)?(C[B]=Gt,C[vn]=P,B=vn):(C[B]=al,C[mn]=P,B=mn);else if(vnl(Gt,P))C[B]=Gt,C[vn]=P,B=vn;else break e}}return z}function l(C,z){var P=C.sortIndex-z.sortIndex;return P!==0?P:C.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var u=Date,o=u.now();e.unstable_now=function(){return u.now()-o}}var s=[],d=[],v=1,m=null,p=3,g=!1,w=!1,k=!1,F=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(C){for(var z=t(d);z!==null;){if(z.callback===null)r(d);else if(z.startTime<=C)r(d),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(d)}}function h(C){if(k=!1,f(C),!w)if(t(s)!==null)w=!0,ol(E);else{var z=t(d);z!==null&&sl(h,z.startTime-C)}}function E(C,z){w=!1,k&&(k=!1,c(_),_=-1),g=!0;var P=p;try{for(f(z),m=t(s);m!==null&&(!(m.expirationTime>z)||C&&!Ce());){var B=m.callback;if(typeof B=="function"){m.callback=null,p=m.priorityLevel;var Y=B(m.expirationTime<=z);z=e.unstable_now(),typeof Y=="function"?m.callback=Y:m===t(s)&&r(s),f(z)}else r(s);m=t(s)}if(m!==null)var Xt=!0;else{var mn=t(d);mn!==null&&sl(h,mn.startTime-z),Xt=!1}return Xt}finally{m=null,p=P,g=!1}}var x=!1,N=null,_=-1,H=5,T=-1;function Ce(){return!(e.unstable_now()-TC||125B?(C.sortIndex=P,n(d,C),t(s)===null&&C===t(d)&&(k?(c(_),_=-1):k=!0,sl(h,P-B))):(C.sortIndex=Y,n(s,C),w||g||(w=!0,ol(E))),C},e.unstable_shouldYield=Ce,e.unstable_wrapCallback=function(C){var z=p;return function(){var P=p;p=z;try{return C.apply(this,arguments)}finally{p=P}}}})(Lo);To.exports=Lo;var Oa=To.exports;/** + */(function(e){function n(C,z){var P=C.length;C.push(z);e:for(;0>>1,Y=C[B];if(0>>1;Bl(al,P))vnl(Gt,al)?(C[B]=Gt,C[vn]=P,B=vn):(C[B]=al,C[mn]=P,B=mn);else if(vnl(Gt,P))C[B]=Gt,C[vn]=P,B=vn;else break e}}return z}function l(C,z){var P=C.sortIndex-z.sortIndex;return P!==0?P:C.id-z.id}if(typeof performance=="object"&&typeof performance.now=="function"){var i=performance;e.unstable_now=function(){return i.now()}}else{var u=Date,o=u.now();e.unstable_now=function(){return u.now()-o}}var s=[],d=[],v=1,m=null,p=3,g=!1,w=!1,k=!1,F=typeof setTimeout=="function"?setTimeout:null,c=typeof clearTimeout=="function"?clearTimeout:null,a=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function f(C){for(var z=t(d);z!==null;){if(z.callback===null)r(d);else if(z.startTime<=C)r(d),z.sortIndex=z.expirationTime,n(s,z);else break;z=t(d)}}function h(C){if(k=!1,f(C),!w)if(t(s)!==null)w=!0,ol(E);else{var z=t(d);z!==null&&sl(h,z.startTime-C)}}function E(C,z){w=!1,k&&(k=!1,c(_),_=-1),g=!0;var P=p;try{for(f(z),m=t(s);m!==null&&(!(m.expirationTime>z)||C&&!Ce());){var B=m.callback;if(typeof B=="function"){m.callback=null,p=m.priorityLevel;var Y=B(m.expirationTime<=z);z=e.unstable_now(),typeof Y=="function"?m.callback=Y:m===t(s)&&r(s),f(z)}else r(s);m=t(s)}if(m!==null)var Xt=!0;else{var mn=t(d);mn!==null&&sl(h,mn.startTime-z),Xt=!1}return Xt}finally{m=null,p=P,g=!1}}var x=!1,N=null,_=-1,H=5,T=-1;function Ce(){return!(e.unstable_now()-TC||125B?(C.sortIndex=P,n(d,C),t(s)===null&&C===t(d)&&(k?(c(_),_=-1):k=!0,sl(h,P-B))):(C.sortIndex=Y,n(s,C),w||g||(w=!0,ol(E))),C},e.unstable_shouldYield=Ce,e.unstable_wrapCallback=function(C){var z=p;return function(){var P=p;p=z;try{return C.apply(this,arguments)}finally{p=P}}}})(Lo);To.exports=Lo;var Ra=To.exports;/** * @license React * react-dom.production.min.js * @@ -14,11 +14,11 @@ import{a as Da,r as Je}from"./index.CQPPKyn2.js";var Po={exports:{}},ve={},To={e * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. - */var Fa=Da(),me=Oa;function y(e){for(var n="https://reactjs.org/docs/error-decoder.html?invariant="+e,t=1;t"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fl=Object.prototype.hasOwnProperty,Ia=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,wu={},ku={};function ja(e){return Fl.call(ku,e)?!0:Fl.call(wu,e)?!1:Ia.test(e)?ku[e]=!0:(wu[e]=!0,!1)}function Ua(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Aa(e,n,t,r){if(n===null||typeof n>"u"||Ua(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ie(e,n,t,r,l,i,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=i,this.removeEmptyString=u}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){q[e]=new ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];q[n]=new ie(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){q[e]=new ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){q[e]=new ie(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){q[e]=new ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){q[e]=new ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){q[e]=new ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){q[e]=new ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){q[e]=new ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var zi=/[\-:]([a-z])/g;function Pi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(zi,Pi);q[n]=new ie(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(zi,Pi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(zi,Pi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!1,!1)});q.xlinkHref=new ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ti(e,n,t,r){var l=q.hasOwnProperty(n)?q[n]:null;(l!==null?l.type!==0:r||!(2"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Fl=Object.prototype.hasOwnProperty,Fa=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,wu={},ku={};function Ia(e){return Fl.call(ku,e)?!0:Fl.call(wu,e)?!1:Fa.test(e)?ku[e]=!0:(wu[e]=!0,!1)}function ja(e,n,t,r){if(t!==null&&t.type===0)return!1;switch(typeof n){case"function":case"symbol":return!0;case"boolean":return r?!1:t!==null?!t.acceptsBooleans:(e=e.toLowerCase().slice(0,5),e!=="data-"&&e!=="aria-");default:return!1}}function Ua(e,n,t,r){if(n===null||typeof n>"u"||ja(e,n,t,r))return!0;if(r)return!1;if(t!==null)switch(t.type){case 3:return!n;case 4:return n===!1;case 5:return isNaN(n);case 6:return isNaN(n)||1>n}return!1}function ie(e,n,t,r,l,i,u){this.acceptsBooleans=n===2||n===3||n===4,this.attributeName=r,this.attributeNamespace=l,this.mustUseProperty=t,this.propertyName=e,this.type=n,this.sanitizeURL=i,this.removeEmptyString=u}var q={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){q[e]=new ie(e,0,!1,e,null,!1,!1)});[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var n=e[0];q[n]=new ie(n,1,!1,e[1],null,!1,!1)});["contentEditable","draggable","spellCheck","value"].forEach(function(e){q[e]=new ie(e,2,!1,e.toLowerCase(),null,!1,!1)});["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){q[e]=new ie(e,2,!1,e,null,!1,!1)});"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){q[e]=new ie(e,3,!1,e.toLowerCase(),null,!1,!1)});["checked","multiple","muted","selected"].forEach(function(e){q[e]=new ie(e,3,!0,e,null,!1,!1)});["capture","download"].forEach(function(e){q[e]=new ie(e,4,!1,e,null,!1,!1)});["cols","rows","size","span"].forEach(function(e){q[e]=new ie(e,6,!1,e,null,!1,!1)});["rowSpan","start"].forEach(function(e){q[e]=new ie(e,5,!1,e.toLowerCase(),null,!1,!1)});var zi=/[\-:]([a-z])/g;function Pi(e){return e[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var n=e.replace(zi,Pi);q[n]=new ie(n,1,!1,e,null,!1,!1)});"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var n=e.replace(zi,Pi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)});["xml:base","xml:lang","xml:space"].forEach(function(e){var n=e.replace(zi,Pi);q[n]=new ie(n,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)});["tabIndex","crossOrigin"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!1,!1)});q.xlinkHref=new ie("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1);["src","href","action","formAction"].forEach(function(e){q[e]=new ie(e,1,!1,e.toLowerCase(),null,!0,!0)});function Ti(e,n,t,r){var l=q.hasOwnProperty(n)?q[n]:null;(l!==null?l.type!==0:r||!(2o||l[u]!==i[o]){var s=` -`+l[u].replace(" at new "," at ");return e.displayName&&s.includes("")&&(s=s.replace("",e.displayName)),s}while(1<=u&&0<=o);break}}}finally{fl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?mt(e):""}function Va(e){switch(e.tag){case 5:return mt(e.type);case 16:return mt("Lazy");case 13:return mt("Suspense");case 19:return mt("SuspenseList");case 0:case 2:case 15:return e=dl(e.type,!1),e;case 11:return e=dl(e.type.render,!1),e;case 1:return e=dl(e.type,!0),e;default:return""}}function Al(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Rn:return"Fragment";case Mn:return"Portal";case Il:return"Profiler";case Li:return"StrictMode";case jl:return"Suspense";case Ul:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Do:return(e.displayName||"Context")+".Consumer";case Ro:return(e._context.displayName||"Context")+".Provider";case Mi:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Ri:return n=e.displayName||null,n!==null?n:Al(e.type)||"Memo";case Ye:n=e._payload,e=e._init;try{return Al(e(n))}catch{}}return null}function Ha(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Al(n);case 8:return n===Li?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function an(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Fo(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Ba(e){var n=Fo(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,i=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,i.call(this,u)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Jt(e){e._valueTracker||(e._valueTracker=Ba(e))}function Io(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Fo(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Er(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Vl(e,n){var t=n.checked;return A({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Eu(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=an(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function jo(e,n){n=n.checked,n!=null&&Ti(e,"checked",n,!1)}function Hl(e,n){jo(e,n);var t=an(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Bl(e,n.type,t):n.hasOwnProperty("defaultValue")&&Bl(e,n.type,an(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Cu(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Bl(e,n,t){(n!=="number"||Er(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var vt=Array.isArray;function Wn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=qt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Pt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var gt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Wa=["Webkit","ms","Moz","O"];Object.keys(gt).forEach(function(e){Wa.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),gt[n]=gt[e]})});function Ho(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||gt.hasOwnProperty(e)&>[e]?(""+n).trim():n+"px"}function Bo(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=Ho(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Qa=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function $l(e,n){if(n){if(Qa[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function Kl(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Yl=null;function Di(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Xl=null,Qn=null,$n=null;function _u(e){if(e=Kt(e)){if(typeof Xl!="function")throw Error(y(280));var n=e.stateNode;n&&(n=Zr(n),Xl(e.stateNode,e.type,n))}}function Wo(e){Qn?$n?$n.push(e):$n=[e]:Qn=e}function Qo(){if(Qn){var e=Qn,n=$n;if($n=Qn=null,_u(e),n)for(e=0;e>>=0,e===0?32:31-(nc(e)/tc|0)|0}var bt=64,er=4194304;function ht(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function _r(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,u=t&268435455;if(u!==0){var o=u&~l;o!==0?r=ht(o):(i&=u,i!==0&&(r=ht(i)))}else u=t&~l,u!==0?r=ht(u):i!==0&&(r=ht(i));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,i=n&-n,l>=i||l===16&&(i&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function Qt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Pe(n),e[n]=t}function uc(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=kt),Fu=" ",Iu=!1;function cs(e,n){switch(e){case"keyup":return Oc.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Dn=!1;function Ic(e,n){switch(e){case"compositionend":return fs(n);case"keypress":return n.which!==32?null:(Iu=!0,Fu);case"textInput":return e=n.data,e===Fu&&Iu?null:e;default:return null}}function jc(e,n){if(Dn)return e==="compositionend"||!Hi&&cs(e,n)?(e=ss(),pr=Ui=qe=null,Dn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Vu(t)}}function vs(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?vs(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function hs(){for(var e=window,n=Er();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Er(e.document)}return n}function Bi(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function Kc(e){var n=hs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&vs(t.ownerDocument.documentElement,t)){if(r!==null&&Bi(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Hu(t,i);var u=Hu(t,r);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,On=null,ei=null,Et=null,ni=!1;function Bu(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;ni||On==null||On!==Er(r)||(r=On,"selectionStart"in r&&Bi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Et&&Ot(Et,r)||(Et=r,r=Tr(ei,"onSelect"),0jn||(e.current=oi[jn],oi[jn]=null,jn--)}function R(e,n){jn++,oi[jn]=e.current,e.current=n}var cn={},te=dn(cn),se=dn(!1),Cn=cn;function Zn(e,n){var t=e.type.contextTypes;if(!t)return cn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in t)l[i]=n[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function ae(e){return e=e.childContextTypes,e!=null}function Mr(){O(se),O(te)}function Gu(e,n,t){if(te.current!==cn)throw Error(y(168));R(te,n),R(se,t)}function Ns(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Ha(e)||"Unknown",l));return A({},t,r)}function Rr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||cn,Cn=te.current,R(te,e),R(se,se.current),!0}function Zu(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=Ns(e,n,Cn),r.__reactInternalMemoizedMergedChildContext=e,O(se),O(te),R(te,e)):O(se),R(se,t)}var je=null,Jr=!1,_l=!1;function _s(e){je===null?je=[e]:je.push(e)}function lf(e){Jr=!0,_s(e)}function pn(){if(!_l&&je!==null){_l=!0;var e=0,n=M;try{var t=je;for(M=1;e>=u,l-=u,Ue=1<<32-Pe(n)+l|t<_?(H=N,N=null):H=N.sibling;var T=p(c,N,f[_],h);if(T===null){N===null&&(N=H);break}e&&N&&T.alternate===null&&n(c,N),a=i(T,a,_),x===null?E=T:x.sibling=T,x=T,N=H}if(_===f.length)return t(c,N),I&&hn(c,_),E;if(N===null){for(;__?(H=N,N=null):H=N.sibling;var Ce=p(c,N,T.value,h);if(Ce===null){N===null&&(N=H);break}e&&N&&Ce.alternate===null&&n(c,N),a=i(Ce,a,_),x===null?E=Ce:x.sibling=Ce,x=Ce,N=H}if(T.done)return t(c,N),I&&hn(c,_),E;if(N===null){for(;!T.done;_++,T=f.next())T=m(c,T.value,h),T!==null&&(a=i(T,a,_),x===null?E=T:x.sibling=T,x=T);return I&&hn(c,_),E}for(N=r(c,N);!T.done;_++,T=f.next())T=g(N,c,_,T.value,h),T!==null&&(e&&T.alternate!==null&&N.delete(T.key===null?_:T.key),a=i(T,a,_),x===null?E=T:x.sibling=T,x=T);return e&&N.forEach(function(lt){return n(c,lt)}),I&&hn(c,_),E}function F(c,a,f,h){if(typeof f=="object"&&f!==null&&f.type===Rn&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Zt:e:{for(var E=f.key,x=a;x!==null;){if(x.key===E){if(E=f.type,E===Rn){if(x.tag===7){t(c,x.sibling),a=l(x,f.props.children),a.return=c,c=a;break e}}else if(x.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Ye&&bu(E)===x.type){t(c,x.sibling),a=l(x,f.props),a.ref=ft(c,x,f),a.return=c,c=a;break e}t(c,x);break}else n(c,x);x=x.sibling}f.type===Rn?(a=En(f.props.children,c.mode,h,f.key),a.return=c,c=a):(h=Sr(f.type,f.key,f.props,null,c.mode,h),h.ref=ft(c,a,f),h.return=c,c=h)}return u(c);case Mn:e:{for(x=f.key;a!==null;){if(a.key===x)if(a.tag===4&&a.stateNode.containerInfo===f.containerInfo&&a.stateNode.implementation===f.implementation){t(c,a.sibling),a=l(a,f.children||[]),a.return=c,c=a;break e}else{t(c,a);break}else n(c,a);a=a.sibling}a=Ol(f,c.mode,h),a.return=c,c=a}return u(c);case Ye:return x=f._init,F(c,a,x(f._payload),h)}if(vt(f))return w(c,a,f,h);if(ut(f))return k(c,a,f,h);or(c,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,a!==null&&a.tag===6?(t(c,a.sibling),a=l(a,f),a.return=c,c=a):(t(c,a),a=Dl(f,c.mode,h),a.return=c,c=a),u(c)):t(c,a)}return F}var qn=Ls(!0),Ms=Ls(!1),Fr=dn(null),Ir=null,Vn=null,Ki=null;function Yi(){Ki=Vn=Ir=null}function Xi(e){var n=Fr.current;O(Fr),e._currentValue=n}function ci(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Yn(e,n){Ir=e,Ki=Vn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(oe=!0),e.firstContext=null)}function Se(e){var n=e._currentValue;if(Ki!==e)if(e={context:e,memoizedValue:n,next:null},Vn===null){if(Ir===null)throw Error(y(308));Vn=e,Ir.dependencies={lanes:0,firstContext:e}}else Vn=Vn.next=e;return n}var wn=null;function Gi(e){wn===null?wn=[e]:wn.push(e)}function Rs(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,Gi(n)):(t.next=l.next,l.next=t),n.interleaved=t,We(e,r)}function We(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var Xe=!1;function Zi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ds(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ve(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function ln(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,L&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,We(e,t)}return l=r.interleaved,l===null?(n.next=n,Gi(r)):(n.next=l.next,l.next=n),r.interleaved=n,We(e,t)}function vr(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Fi(e,t)}}function eo(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,i=null;if(t=t.firstBaseUpdate,t!==null){do{var u={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};i===null?l=i=u:i=i.next=u,t=t.next}while(t!==null);i===null?l=i=n:i=i.next=n}else l=i=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function jr(e,n,t,r){var l=e.updateQueue;Xe=!1;var i=l.firstBaseUpdate,u=l.lastBaseUpdate,o=l.shared.pending;if(o!==null){l.shared.pending=null;var s=o,d=s.next;s.next=null,u===null?i=d:u.next=d,u=s;var v=e.alternate;v!==null&&(v=v.updateQueue,o=v.lastBaseUpdate,o!==u&&(o===null?v.firstBaseUpdate=d:o.next=d,v.lastBaseUpdate=s))}if(i!==null){var m=l.baseState;u=0,v=d=s=null,o=i;do{var p=o.lane,g=o.eventTime;if((r&p)===p){v!==null&&(v=v.next={eventTime:g,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var w=e,k=o;switch(p=n,g=t,k.tag){case 1:if(w=k.payload,typeof w=="function"){m=w.call(g,m,p);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=k.payload,p=typeof w=="function"?w.call(g,m,p):w,p==null)break e;m=A({},m,p);break e;case 2:Xe=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[o]:p.push(o))}else g={eventTime:g,lane:p,tag:o.tag,payload:o.payload,callback:o.callback,next:null},v===null?(d=v=g,s=m):v=v.next=g,u|=p;if(o=o.next,o===null){if(o=l.shared.pending,o===null)break;p=o,o=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(v===null&&(s=m),l.baseState=s,l.firstBaseUpdate=d,l.lastBaseUpdate=v,n=l.shared.interleaved,n!==null){l=n;do u|=l.lane,l=l.next;while(l!==n)}else i===null&&(l.shared.lanes=0);_n|=u,e.lanes=u,e.memoizedState=m}}function no(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;nt?t:4,e(!0);var r=Pl.transition;Pl.transition={};try{e(!1),n()}finally{M=t,Pl.transition=r}}function Zs(){return Ee().memoizedState}function af(e,n,t){var r=on(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Js(e))qs(n,t);else if(t=Rs(e,n,t,r),t!==null){var l=le();Te(t,e,r,l),bs(t,n,r)}}function cf(e,n,t){var r=on(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Js(e))qs(n,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=n.lastRenderedReducer,i!==null))try{var u=n.lastRenderedState,o=i(u,t);if(l.hasEagerState=!0,l.eagerState=o,Le(o,u)){var s=n.interleaved;s===null?(l.next=l,Gi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=Rs(e,n,l,r),t!==null&&(l=le(),Te(t,e,r,l),bs(t,n,r))}}function Js(e){var n=e.alternate;return e===U||n!==null&&n===U}function qs(e,n){Ct=Ar=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function bs(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Fi(e,t)}}var Vr={readContext:Se,useCallback:b,useContext:b,useEffect:b,useImperativeHandle:b,useInsertionEffect:b,useLayoutEffect:b,useMemo:b,useReducer:b,useRef:b,useState:b,useDebugValue:b,useDeferredValue:b,useTransition:b,useMutableSource:b,useSyncExternalStore:b,useId:b,unstable_isNewReconciler:!1},ff={readContext:Se,useCallback:function(e,n){return Re().memoizedState=[e,n===void 0?null:n],e},useContext:Se,useEffect:ro,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,yr(4194308,4,$s.bind(null,n,e),t)},useLayoutEffect:function(e,n){return yr(4194308,4,e,n)},useInsertionEffect:function(e,n){return yr(4,2,e,n)},useMemo:function(e,n){var t=Re();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=Re();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=af.bind(null,U,e),[r.memoizedState,e]},useRef:function(e){var n=Re();return e={current:e},n.memoizedState=e},useState:to,useDebugValue:lu,useDeferredValue:function(e){return Re().memoizedState=e},useTransition:function(){var e=to(!1),n=e[0];return e=sf.bind(null,e[1]),Re().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=U,l=Re();if(I){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),G===null)throw Error(y(349));Nn&30||js(r,n,t)}l.memoizedState=t;var i={value:t,getSnapshot:n};return l.queue=i,ro(As.bind(null,r,i,e),[e]),r.flags|=2048,Bt(9,Us.bind(null,r,i,t,n),void 0,null),t},useId:function(){var e=Re(),n=G.identifierPrefix;if(I){var t=Ae,r=Ue;t=(r&~(1<<32-Pe(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Vt++,0")&&(s=s.replace("",e.displayName)),s}while(1<=u&&0<=o);break}}}finally{fl=!1,Error.prepareStackTrace=t}return(e=e?e.displayName||e.name:"")?mt(e):""}function Aa(e){switch(e.tag){case 5:return mt(e.type);case 16:return mt("Lazy");case 13:return mt("Suspense");case 19:return mt("SuspenseList");case 0:case 2:case 15:return e=dl(e.type,!1),e;case 11:return e=dl(e.type.render,!1),e;case 1:return e=dl(e.type,!0),e;default:return""}}function Al(e){if(e==null)return null;if(typeof e=="function")return e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case Dn:return"Fragment";case Mn:return"Portal";case Il:return"Profiler";case Li:return"StrictMode";case jl:return"Suspense";case Ul:return"SuspenseList"}if(typeof e=="object")switch(e.$$typeof){case Ro:return(e.displayName||"Context")+".Consumer";case Do:return(e._context.displayName||"Context")+".Provider";case Mi:var n=e.render;return e=e.displayName,e||(e=n.displayName||n.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case Di:return n=e.displayName||null,n!==null?n:Al(e.type)||"Memo";case Xe:n=e._payload,e=e._init;try{return Al(e(n))}catch{}}return null}function Va(e){var n=e.type;switch(e.tag){case 24:return"Cache";case 9:return(n.displayName||"Context")+".Consumer";case 10:return(n._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=n.render,e=e.displayName||e.name||"",n.displayName||(e!==""?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return n;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return Al(n);case 8:return n===Li?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof n=="function")return n.displayName||n.name||null;if(typeof n=="string")return n}return null}function an(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function Fo(e){var n=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(n==="checkbox"||n==="radio")}function Ha(e){var n=Fo(e)?"checked":"value",t=Object.getOwnPropertyDescriptor(e.constructor.prototype,n),r=""+e[n];if(!e.hasOwnProperty(n)&&typeof t<"u"&&typeof t.get=="function"&&typeof t.set=="function"){var l=t.get,i=t.set;return Object.defineProperty(e,n,{configurable:!0,get:function(){return l.call(this)},set:function(u){r=""+u,i.call(this,u)}}),Object.defineProperty(e,n,{enumerable:t.enumerable}),{getValue:function(){return r},setValue:function(u){r=""+u},stopTracking:function(){e._valueTracker=null,delete e[n]}}}}function Jt(e){e._valueTracker||(e._valueTracker=Ha(e))}function Io(e){if(!e)return!1;var n=e._valueTracker;if(!n)return!0;var t=n.getValue(),r="";return e&&(r=Fo(e)?e.checked?"true":"false":e.value),e=r,e!==t?(n.setValue(e),!0):!1}function Er(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function Vl(e,n){var t=n.checked;return A({},n,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:t??e._wrapperState.initialChecked})}function Eu(e,n){var t=n.defaultValue==null?"":n.defaultValue,r=n.checked!=null?n.checked:n.defaultChecked;t=an(n.value!=null?n.value:t),e._wrapperState={initialChecked:r,initialValue:t,controlled:n.type==="checkbox"||n.type==="radio"?n.checked!=null:n.value!=null}}function jo(e,n){n=n.checked,n!=null&&Ti(e,"checked",n,!1)}function Hl(e,n){jo(e,n);var t=an(n.value),r=n.type;if(t!=null)r==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+t):e.value!==""+t&&(e.value=""+t);else if(r==="submit"||r==="reset"){e.removeAttribute("value");return}n.hasOwnProperty("value")?Bl(e,n.type,t):n.hasOwnProperty("defaultValue")&&Bl(e,n.type,an(n.defaultValue)),n.checked==null&&n.defaultChecked!=null&&(e.defaultChecked=!!n.defaultChecked)}function Cu(e,n,t){if(n.hasOwnProperty("value")||n.hasOwnProperty("defaultValue")){var r=n.type;if(!(r!=="submit"&&r!=="reset"||n.value!==void 0&&n.value!==null))return;n=""+e._wrapperState.initialValue,t||n===e.value||(e.value=n),e.defaultValue=n}t=e.name,t!==""&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,t!==""&&(e.name=t)}function Bl(e,n,t){(n!=="number"||Er(e.ownerDocument)!==e)&&(t==null?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+t&&(e.defaultValue=""+t))}var vt=Array.isArray;function Wn(e,n,t,r){if(e=e.options,n){n={};for(var l=0;l"+n.valueOf().toString()+"",n=qt.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;n.firstChild;)e.appendChild(n.firstChild)}});function Pt(e,n){if(n){var t=e.firstChild;if(t&&t===e.lastChild&&t.nodeType===3){t.nodeValue=n;return}}e.textContent=n}var gt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},Ba=["Webkit","ms","Moz","O"];Object.keys(gt).forEach(function(e){Ba.forEach(function(n){n=n+e.charAt(0).toUpperCase()+e.substring(1),gt[n]=gt[e]})});function Ho(e,n,t){return n==null||typeof n=="boolean"||n===""?"":t||typeof n!="number"||n===0||gt.hasOwnProperty(e)&>[e]?(""+n).trim():n+"px"}function Bo(e,n){e=e.style;for(var t in n)if(n.hasOwnProperty(t)){var r=t.indexOf("--")===0,l=Ho(t,n[t],r);t==="float"&&(t="cssFloat"),r?e.setProperty(t,l):e[t]=l}}var Wa=A({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function $l(e,n){if(n){if(Wa[e]&&(n.children!=null||n.dangerouslySetInnerHTML!=null))throw Error(y(137,e));if(n.dangerouslySetInnerHTML!=null){if(n.children!=null)throw Error(y(60));if(typeof n.dangerouslySetInnerHTML!="object"||!("__html"in n.dangerouslySetInnerHTML))throw Error(y(61))}if(n.style!=null&&typeof n.style!="object")throw Error(y(62))}}function Kl(e,n){if(e.indexOf("-")===-1)return typeof n.is=="string";switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Yl=null;function Ri(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var Xl=null,Qn=null,$n=null;function _u(e){if(e=Kt(e)){if(typeof Xl!="function")throw Error(y(280));var n=e.stateNode;n&&(n=Zr(n),Xl(e.stateNode,e.type,n))}}function Wo(e){Qn?$n?$n.push(e):$n=[e]:Qn=e}function Qo(){if(Qn){var e=Qn,n=$n;if($n=Qn=null,_u(e),n)for(e=0;e>>=0,e===0?32:31-(ec(e)/nc|0)|0}var bt=64,er=4194304;function ht(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return e&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return e&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function _r(e,n){var t=e.pendingLanes;if(t===0)return 0;var r=0,l=e.suspendedLanes,i=e.pingedLanes,u=t&268435455;if(u!==0){var o=u&~l;o!==0?r=ht(o):(i&=u,i!==0&&(r=ht(i)))}else u=t&~l,u!==0?r=ht(u):i!==0&&(r=ht(i));if(r===0)return 0;if(n!==0&&n!==r&&!(n&l)&&(l=r&-r,i=n&-n,l>=i||l===16&&(i&4194240)!==0))return n;if(r&4&&(r|=t&16),n=e.entangledLanes,n!==0)for(e=e.entanglements,n&=r;0t;t++)n.push(e);return n}function Qt(e,n,t){e.pendingLanes|=n,n!==536870912&&(e.suspendedLanes=0,e.pingedLanes=0),e=e.eventTimes,n=31-Pe(n),e[n]=t}function ic(e,n){var t=e.pendingLanes&~n;e.pendingLanes=n,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=n,e.mutableReadLanes&=n,e.entangledLanes&=n,n=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0=kt),Fu=" ",Iu=!1;function cs(e,n){switch(e){case"keyup":return Rc.indexOf(n.keyCode)!==-1;case"keydown":return n.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function fs(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Rn=!1;function Fc(e,n){switch(e){case"compositionend":return fs(n);case"keypress":return n.which!==32?null:(Iu=!0,Fu);case"textInput":return e=n.data,e===Fu&&Iu?null:e;default:return null}}function Ic(e,n){if(Rn)return e==="compositionend"||!Hi&&cs(e,n)?(e=ss(),pr=Ui=qe=null,Rn=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(n.ctrlKey||n.altKey||n.metaKey)||n.ctrlKey&&n.altKey){if(n.char&&1=n)return{node:t,offset:n-e};e=r}e:{for(;t;){if(t.nextSibling){t=t.nextSibling;break e}t=t.parentNode}t=void 0}t=Vu(t)}}function vs(e,n){return e&&n?e===n?!0:e&&e.nodeType===3?!1:n&&n.nodeType===3?vs(e,n.parentNode):"contains"in e?e.contains(n):e.compareDocumentPosition?!!(e.compareDocumentPosition(n)&16):!1:!1}function hs(){for(var e=window,n=Er();n instanceof e.HTMLIFrameElement;){try{var t=typeof n.contentWindow.location.href=="string"}catch{t=!1}if(t)e=n.contentWindow;else break;n=Er(e.document)}return n}function Bi(e){var n=e&&e.nodeName&&e.nodeName.toLowerCase();return n&&(n==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||n==="textarea"||e.contentEditable==="true")}function $c(e){var n=hs(),t=e.focusedElem,r=e.selectionRange;if(n!==t&&t&&t.ownerDocument&&vs(t.ownerDocument.documentElement,t)){if(r!==null&&Bi(t)){if(n=r.start,e=r.end,e===void 0&&(e=n),"selectionStart"in t)t.selectionStart=n,t.selectionEnd=Math.min(e,t.value.length);else if(e=(n=t.ownerDocument||document)&&n.defaultView||window,e.getSelection){e=e.getSelection();var l=t.textContent.length,i=Math.min(r.start,l);r=r.end===void 0?i:Math.min(r.end,l),!e.extend&&i>r&&(l=r,r=i,i=l),l=Hu(t,i);var u=Hu(t,r);l&&u&&(e.rangeCount!==1||e.anchorNode!==l.node||e.anchorOffset!==l.offset||e.focusNode!==u.node||e.focusOffset!==u.offset)&&(n=n.createRange(),n.setStart(l.node,l.offset),e.removeAllRanges(),i>r?(e.addRange(n),e.extend(u.node,u.offset)):(n.setEnd(u.node,u.offset),e.addRange(n)))}}for(n=[],e=t;e=e.parentNode;)e.nodeType===1&&n.push({element:e,left:e.scrollLeft,top:e.scrollTop});for(typeof t.focus=="function"&&t.focus(),t=0;t=document.documentMode,On=null,ei=null,Et=null,ni=!1;function Bu(e,n,t){var r=t.window===t?t.document:t.nodeType===9?t:t.ownerDocument;ni||On==null||On!==Er(r)||(r=On,"selectionStart"in r&&Bi(r)?r={start:r.selectionStart,end:r.selectionEnd}:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection(),r={anchorNode:r.anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset}),Et&&Ot(Et,r)||(Et=r,r=Tr(ei,"onSelect"),0jn||(e.current=oi[jn],oi[jn]=null,jn--)}function D(e,n){jn++,oi[jn]=e.current,e.current=n}var cn={},te=dn(cn),se=dn(!1),Cn=cn;function Zn(e,n){var t=e.type.contextTypes;if(!t)return cn;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===n)return r.__reactInternalMemoizedMaskedChildContext;var l={},i;for(i in t)l[i]=n[i];return r&&(e=e.stateNode,e.__reactInternalMemoizedUnmaskedChildContext=n,e.__reactInternalMemoizedMaskedChildContext=l),l}function ae(e){return e=e.childContextTypes,e!=null}function Mr(){O(se),O(te)}function Gu(e,n,t){if(te.current!==cn)throw Error(y(168));D(te,n),D(se,t)}function Ns(e,n,t){var r=e.stateNode;if(n=n.childContextTypes,typeof r.getChildContext!="function")return t;r=r.getChildContext();for(var l in r)if(!(l in n))throw Error(y(108,Va(e)||"Unknown",l));return A({},t,r)}function Dr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||cn,Cn=te.current,D(te,e),D(se,se.current),!0}function Zu(e,n,t){var r=e.stateNode;if(!r)throw Error(y(169));t?(e=Ns(e,n,Cn),r.__reactInternalMemoizedMergedChildContext=e,O(se),O(te),D(te,e)):O(se),D(se,t)}var je=null,Jr=!1,_l=!1;function _s(e){je===null?je=[e]:je.push(e)}function rf(e){Jr=!0,_s(e)}function pn(){if(!_l&&je!==null){_l=!0;var e=0,n=M;try{var t=je;for(M=1;e>=u,l-=u,Ae=1<<32-Pe(n)+l|t<_?(H=N,N=null):H=N.sibling;var T=p(c,N,f[_],h);if(T===null){N===null&&(N=H);break}e&&N&&T.alternate===null&&n(c,N),a=i(T,a,_),x===null?E=T:x.sibling=T,x=T,N=H}if(_===f.length)return t(c,N),I&&hn(c,_),E;if(N===null){for(;__?(H=N,N=null):H=N.sibling;var Ce=p(c,N,T.value,h);if(Ce===null){N===null&&(N=H);break}e&&N&&Ce.alternate===null&&n(c,N),a=i(Ce,a,_),x===null?E=Ce:x.sibling=Ce,x=Ce,N=H}if(T.done)return t(c,N),I&&hn(c,_),E;if(N===null){for(;!T.done;_++,T=f.next())T=m(c,T.value,h),T!==null&&(a=i(T,a,_),x===null?E=T:x.sibling=T,x=T);return I&&hn(c,_),E}for(N=r(c,N);!T.done;_++,T=f.next())T=g(N,c,_,T.value,h),T!==null&&(e&&T.alternate!==null&&N.delete(T.key===null?_:T.key),a=i(T,a,_),x===null?E=T:x.sibling=T,x=T);return e&&N.forEach(function(lt){return n(c,lt)}),I&&hn(c,_),E}function F(c,a,f,h){if(typeof f=="object"&&f!==null&&f.type===Dn&&f.key===null&&(f=f.props.children),typeof f=="object"&&f!==null){switch(f.$$typeof){case Zt:e:{for(var E=f.key,x=a;x!==null;){if(x.key===E){if(E=f.type,E===Dn){if(x.tag===7){t(c,x.sibling),a=l(x,f.props.children),a.return=c,c=a;break e}}else if(x.elementType===E||typeof E=="object"&&E!==null&&E.$$typeof===Xe&&bu(E)===x.type){t(c,x.sibling),a=l(x,f.props),a.ref=ft(c,x,f),a.return=c,c=a;break e}t(c,x);break}else n(c,x);x=x.sibling}f.type===Dn?(a=En(f.props.children,c.mode,h,f.key),a.return=c,c=a):(h=Sr(f.type,f.key,f.props,null,c.mode,h),h.ref=ft(c,a,f),h.return=c,c=h)}return u(c);case Mn:e:{for(x=f.key;a!==null;){if(a.key===x)if(a.tag===4&&a.stateNode.containerInfo===f.containerInfo&&a.stateNode.implementation===f.implementation){t(c,a.sibling),a=l(a,f.children||[]),a.return=c,c=a;break e}else{t(c,a);break}else n(c,a);a=a.sibling}a=Ol(f,c.mode,h),a.return=c,c=a}return u(c);case Xe:return x=f._init,F(c,a,x(f._payload),h)}if(vt(f))return w(c,a,f,h);if(ut(f))return k(c,a,f,h);or(c,f)}return typeof f=="string"&&f!==""||typeof f=="number"?(f=""+f,a!==null&&a.tag===6?(t(c,a.sibling),a=l(a,f),a.return=c,c=a):(t(c,a),a=Rl(f,c.mode,h),a.return=c,c=a),u(c)):t(c,a)}return F}var qn=Ls(!0),Ms=Ls(!1),Fr=dn(null),Ir=null,Vn=null,Ki=null;function Yi(){Ki=Vn=Ir=null}function Xi(e){var n=Fr.current;O(Fr),e._currentValue=n}function ci(e,n,t){for(;e!==null;){var r=e.alternate;if((e.childLanes&n)!==n?(e.childLanes|=n,r!==null&&(r.childLanes|=n)):r!==null&&(r.childLanes&n)!==n&&(r.childLanes|=n),e===t)break;e=e.return}}function Yn(e,n){Ir=e,Ki=Vn=null,e=e.dependencies,e!==null&&e.firstContext!==null&&(e.lanes&n&&(oe=!0),e.firstContext=null)}function Se(e){var n=e._currentValue;if(Ki!==e)if(e={context:e,memoizedValue:n,next:null},Vn===null){if(Ir===null)throw Error(y(308));Vn=e,Ir.dependencies={lanes:0,firstContext:e}}else Vn=Vn.next=e;return n}var wn=null;function Gi(e){wn===null?wn=[e]:wn.push(e)}function Ds(e,n,t,r){var l=n.interleaved;return l===null?(t.next=t,Gi(n)):(t.next=l.next,l.next=t),n.interleaved=t,Qe(e,r)}function Qe(e,n){e.lanes|=n;var t=e.alternate;for(t!==null&&(t.lanes|=n),t=e,e=e.return;e!==null;)e.childLanes|=n,t=e.alternate,t!==null&&(t.childLanes|=n),t=e,e=e.return;return t.tag===3?t.stateNode:null}var Ge=!1;function Zi(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Rs(e,n){e=e.updateQueue,n.updateQueue===e&&(n.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function He(e,n){return{eventTime:e,lane:n,tag:0,payload:null,callback:null,next:null}}function ln(e,n,t){var r=e.updateQueue;if(r===null)return null;if(r=r.shared,L&2){var l=r.pending;return l===null?n.next=n:(n.next=l.next,l.next=n),r.pending=n,Qe(e,t)}return l=r.interleaved,l===null?(n.next=n,Gi(r)):(n.next=l.next,l.next=n),r.interleaved=n,Qe(e,t)}function vr(e,n,t){if(n=n.updateQueue,n!==null&&(n=n.shared,(t&4194240)!==0)){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Fi(e,t)}}function eo(e,n){var t=e.updateQueue,r=e.alternate;if(r!==null&&(r=r.updateQueue,t===r)){var l=null,i=null;if(t=t.firstBaseUpdate,t!==null){do{var u={eventTime:t.eventTime,lane:t.lane,tag:t.tag,payload:t.payload,callback:t.callback,next:null};i===null?l=i=u:i=i.next=u,t=t.next}while(t!==null);i===null?l=i=n:i=i.next=n}else l=i=n;t={baseState:r.baseState,firstBaseUpdate:l,lastBaseUpdate:i,shared:r.shared,effects:r.effects},e.updateQueue=t;return}e=t.lastBaseUpdate,e===null?t.firstBaseUpdate=n:e.next=n,t.lastBaseUpdate=n}function jr(e,n,t,r){var l=e.updateQueue;Ge=!1;var i=l.firstBaseUpdate,u=l.lastBaseUpdate,o=l.shared.pending;if(o!==null){l.shared.pending=null;var s=o,d=s.next;s.next=null,u===null?i=d:u.next=d,u=s;var v=e.alternate;v!==null&&(v=v.updateQueue,o=v.lastBaseUpdate,o!==u&&(o===null?v.firstBaseUpdate=d:o.next=d,v.lastBaseUpdate=s))}if(i!==null){var m=l.baseState;u=0,v=d=s=null,o=i;do{var p=o.lane,g=o.eventTime;if((r&p)===p){v!==null&&(v=v.next={eventTime:g,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var w=e,k=o;switch(p=n,g=t,k.tag){case 1:if(w=k.payload,typeof w=="function"){m=w.call(g,m,p);break e}m=w;break e;case 3:w.flags=w.flags&-65537|128;case 0:if(w=k.payload,p=typeof w=="function"?w.call(g,m,p):w,p==null)break e;m=A({},m,p);break e;case 2:Ge=!0}}o.callback!==null&&o.lane!==0&&(e.flags|=64,p=l.effects,p===null?l.effects=[o]:p.push(o))}else g={eventTime:g,lane:p,tag:o.tag,payload:o.payload,callback:o.callback,next:null},v===null?(d=v=g,s=m):v=v.next=g,u|=p;if(o=o.next,o===null){if(o=l.shared.pending,o===null)break;p=o,o=p.next,p.next=null,l.lastBaseUpdate=p,l.shared.pending=null}}while(!0);if(v===null&&(s=m),l.baseState=s,l.firstBaseUpdate=d,l.lastBaseUpdate=v,n=l.shared.interleaved,n!==null){l=n;do u|=l.lane,l=l.next;while(l!==n)}else i===null&&(l.shared.lanes=0);_n|=u,e.lanes=u,e.memoizedState=m}}function no(e,n,t){if(e=n.effects,n.effects=null,e!==null)for(n=0;nt?t:4,e(!0);var r=Pl.transition;Pl.transition={};try{e(!1),n()}finally{M=t,Pl.transition=r}}function Zs(){return Ee().memoizedState}function sf(e,n,t){var r=on(e);if(t={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null},Js(e))qs(n,t);else if(t=Ds(e,n,t,r),t!==null){var l=le();Te(t,e,r,l),bs(t,n,r)}}function af(e,n,t){var r=on(e),l={lane:r,action:t,hasEagerState:!1,eagerState:null,next:null};if(Js(e))qs(n,l);else{var i=e.alternate;if(e.lanes===0&&(i===null||i.lanes===0)&&(i=n.lastRenderedReducer,i!==null))try{var u=n.lastRenderedState,o=i(u,t);if(l.hasEagerState=!0,l.eagerState=o,Le(o,u)){var s=n.interleaved;s===null?(l.next=l,Gi(n)):(l.next=s.next,s.next=l),n.interleaved=l;return}}catch{}finally{}t=Ds(e,n,l,r),t!==null&&(l=le(),Te(t,e,r,l),bs(t,n,r))}}function Js(e){var n=e.alternate;return e===U||n!==null&&n===U}function qs(e,n){Ct=Ar=!0;var t=e.pending;t===null?n.next=n:(n.next=t.next,t.next=n),e.pending=n}function bs(e,n,t){if(t&4194240){var r=n.lanes;r&=e.pendingLanes,t|=r,n.lanes=t,Fi(e,t)}}var Vr={readContext:Se,useCallback:b,useContext:b,useEffect:b,useImperativeHandle:b,useInsertionEffect:b,useLayoutEffect:b,useMemo:b,useReducer:b,useRef:b,useState:b,useDebugValue:b,useDeferredValue:b,useTransition:b,useMutableSource:b,useSyncExternalStore:b,useId:b,unstable_isNewReconciler:!1},cf={readContext:Se,useCallback:function(e,n){return De().memoizedState=[e,n===void 0?null:n],e},useContext:Se,useEffect:ro,useImperativeHandle:function(e,n,t){return t=t!=null?t.concat([e]):null,yr(4194308,4,$s.bind(null,n,e),t)},useLayoutEffect:function(e,n){return yr(4194308,4,e,n)},useInsertionEffect:function(e,n){return yr(4,2,e,n)},useMemo:function(e,n){var t=De();return n=n===void 0?null:n,e=e(),t.memoizedState=[e,n],e},useReducer:function(e,n,t){var r=De();return n=t!==void 0?t(n):n,r.memoizedState=r.baseState=n,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:n},r.queue=e,e=e.dispatch=sf.bind(null,U,e),[r.memoizedState,e]},useRef:function(e){var n=De();return e={current:e},n.memoizedState=e},useState:to,useDebugValue:lu,useDeferredValue:function(e){return De().memoizedState=e},useTransition:function(){var e=to(!1),n=e[0];return e=of.bind(null,e[1]),De().memoizedState=e,[n,e]},useMutableSource:function(){},useSyncExternalStore:function(e,n,t){var r=U,l=De();if(I){if(t===void 0)throw Error(y(407));t=t()}else{if(t=n(),G===null)throw Error(y(349));Nn&30||js(r,n,t)}l.memoizedState=t;var i={value:t,getSnapshot:n};return l.queue=i,ro(As.bind(null,r,i,e),[e]),r.flags|=2048,Bt(9,Us.bind(null,r,i,t,n),void 0,null),t},useId:function(){var e=De(),n=G.identifierPrefix;if(I){var t=Ve,r=Ae;t=(r&~(1<<32-Pe(r)-1)).toString(32)+t,n=":"+n+"R"+t,t=Vt++,0<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[De]=n,e[jt]=r,aa(e,n,!1,!1),n.stateNode=e;e:{switch(u=Kl(t,r),t){case"dialog":D("cancel",e),D("close",e),l=r;break;case"iframe":case"object":case"embed":D("load",e),l=r;break;case"video":case"audio":for(l=0;lnt&&(n.flags|=128,r=!0,dt(i,!1),n.lanes=4194304)}else{if(!r)if(e=Ur(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),dt(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!I)return ee(n),null}else 2*W()-i.renderingStartTime>nt&&t!==1073741824&&(n.flags|=128,r=!0,dt(i,!1),n.lanes=4194304);i.isBackwards?(u.sibling=n.child,n.child=u):(t=i.last,t!==null?t.sibling=u:n.child=u,i.last=u)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=W(),n.sibling=null,t=j.current,R(j,r?t&1|2:t&1),n):(ee(n),null);case 22:case 23:return cu(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?fe&1073741824&&(ee(n),n.subtreeFlags&6&&(n.flags|=8192)):ee(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function wf(e,n){switch(Qi(n),n.tag){case 1:return ae(n.type)&&Mr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return bn(),O(se),O(te),bi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return qi(n),null;case 13:if(O(j),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));Jn()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return O(j),null;case 4:return bn(),null;case 10:return Xi(n.type._context),null;case 22:case 23:return cu(),null;case 24:return null;default:return null}}var ar=!1,ne=!1,kf=typeof WeakSet=="function"?WeakSet:Set,S=null;function Hn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){V(e,n,r)}else t.current=null}function wi(e,n,t){try{t()}catch(r){V(e,n,r)}}var vo=!1;function Sf(e,n){if(ti=zr,e=hs(),Bi(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var u=0,o=-1,s=-1,d=0,v=0,m=e,p=null;n:for(;;){for(var g;m!==t||l!==0&&m.nodeType!==3||(o=u+l),m!==i||r!==0&&m.nodeType!==3||(s=u+r),m.nodeType===3&&(u+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++d===l&&(o=u),p===i&&++v===r&&(s=u),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}t=o===-1||s===-1?null:{start:o,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(ri={focusedElem:e,selectionRange:t},zr=!1,S=n;S!==null;)if(n=S,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,S=e;else for(;S!==null;){n=S;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,F=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:Ne(n.type,k),F);c.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(h){V(n,n.return,h)}if(e=n.sibling,e!==null){e.return=n.return,S=e;break}S=n.return}return w=vo,vo=!1,w}function xt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&wi(n,t,i)}l=l.next}while(l!==r)}}function el(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function ki(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function da(e){var n=e.alternate;n!==null&&(e.alternate=null,da(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[De],delete n[jt],delete n[ui],delete n[tf],delete n[rf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function pa(e){return e.tag===5||e.tag===3||e.tag===4}function ho(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||pa(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Si(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Lr));else if(r!==4&&(e=e.child,e!==null))for(Si(e,n,t),e=e.sibling;e!==null;)Si(e,n,t),e=e.sibling}function Ei(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ei(e,n,t),e=e.sibling;e!==null;)Ei(e,n,t),e=e.sibling}var Z=null,_e=!1;function Ke(e,n,t){for(t=t.child;t!==null;)ma(e,n,t),t=t.sibling}function ma(e,n,t){if(Oe&&typeof Oe.onCommitFiberUnmount=="function")try{Oe.onCommitFiberUnmount(Kr,t)}catch{}switch(t.tag){case 5:ne||Hn(t,n);case 6:var r=Z,l=_e;Z=null,Ke(e,n,t),Z=r,_e=l,Z!==null&&(_e?(e=Z,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):Z.removeChild(t.stateNode));break;case 18:Z!==null&&(_e?(e=Z,t=t.stateNode,e.nodeType===8?Nl(e.parentNode,t):e.nodeType===1&&Nl(e,t),Rt(e)):Nl(Z,t.stateNode));break;case 4:r=Z,l=_e,Z=t.stateNode.containerInfo,_e=!0,Ke(e,n,t),Z=r,_e=l;break;case 0:case 11:case 14:case 15:if(!ne&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,u=i.destroy;i=i.tag,u!==void 0&&(i&2||i&4)&&wi(t,n,u),l=l.next}while(l!==r)}Ke(e,n,t);break;case 1:if(!ne&&(Hn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(o){V(t,n,o)}Ke(e,n,t);break;case 21:Ke(e,n,t);break;case 22:t.mode&1?(ne=(r=ne)||t.memoizedState!==null,Ke(e,n,t),ne=r):Ke(e,n,t);break;default:Ke(e,n,t)}}function yo(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new kf),n.forEach(function(r){var l=Lf.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function xe(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=u),r&=~i}if(r=l,r=W()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cf(r/1960))-r,10e?16:e,be===null)var r=!1;else{if(e=be,be=null,Wr=0,L&6)throw Error(y(331));var l=L;for(L|=4,S=e.current;S!==null;){var i=S,u=i.child;if(S.flags&16){var o=i.deletions;if(o!==null){for(var s=0;sW()-su?Sn(e,0):ou|=t),ce(e,n)}function Ea(e,n){n===0&&(e.mode&1?(n=er,er<<=1,!(er&130023424)&&(er=4194304)):n=1);var t=le();e=We(e,n),e!==null&&(Qt(e,n,t),ce(e,t))}function Tf(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),Ea(e,t)}function Lf(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),Ea(e,t)}var Ca;Ca=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||se.current)oe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return oe=!1,yf(e,n,t);oe=!!(e.flags&131072)}else oe=!1,I&&n.flags&1048576&&zs(n,Or,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;gr(e,n),e=n.pendingProps;var l=Zn(n,te.current);Yn(n,t),l=nu(null,n,r,e,l,t);var i=tu();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,ae(r)?(i=!0,Rr(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Zi(n),l.updater=br,n.stateNode=l,l._reactInternals=n,di(n,r,e,t),n=vi(null,n,r,!0,i,t)):(n.tag=0,I&&i&&Wi(n),re(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(gr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Rf(r),e=Ne(r,e),l){case 0:n=mi(null,n,r,e,t);break e;case 1:n=fo(null,n,r,e,t);break e;case 11:n=ao(null,n,r,e,t);break e;case 14:n=co(null,n,r,Ne(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),mi(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),fo(e,n,r,l,t);case 3:e:{if(ua(n),e===null)throw Error(y(387));r=n.pendingProps,i=n.memoizedState,l=i.element,Ds(e,n),jr(n,r,null,t);var u=n.memoizedState;if(r=u.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=et(Error(y(423)),n),n=po(e,n,r,t,l);break e}else if(r!==l){l=et(Error(y(424)),n),n=po(e,n,r,t,l);break e}else for(de=rn(n.stateNode.containerInfo.firstChild),pe=n,I=!0,ze=null,t=Ms(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Jn(),r===l){n=Qe(e,n,t);break e}re(e,n,r,t)}n=n.child}return n;case 5:return Os(n),e===null&&ai(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,u=l.children,li(r,l)?u=null:i!==null&&li(r,i)&&(n.flags|=32),ia(e,n),re(e,n,u,t),n.child;case 6:return e===null&&ai(n),null;case 13:return oa(e,n,t);case 4:return Ji(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=qn(n,null,r,t):re(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),ao(e,n,r,l,t);case 7:return re(e,n,n.pendingProps,t),n.child;case 8:return re(e,n,n.pendingProps.children,t),n.child;case 12:return re(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,i=n.memoizedProps,u=l.value,R(Fr,r._currentValue),r._currentValue=u,i!==null)if(Le(i.value,u)){if(i.children===l.children&&!se.current){n=Qe(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var o=i.dependencies;if(o!==null){u=i.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=Ve(-1,t&-t),s.tag=2;var d=i.updateQueue;if(d!==null){d=d.shared;var v=d.pending;v===null?s.next=s:(s.next=v.next,v.next=s),d.pending=s}}i.lanes|=t,s=i.alternate,s!==null&&(s.lanes|=t),ci(i.return,t,n),o.lanes|=t;break}s=s.next}}else if(i.tag===10)u=i.type===n.type?null:i.child;else if(i.tag===18){if(u=i.return,u===null)throw Error(y(341));u.lanes|=t,o=u.alternate,o!==null&&(o.lanes|=t),ci(u,t,n),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===n){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}re(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Yn(n,t),l=Se(l),r=r(l),n.flags|=1,re(e,n,r,t),n.child;case 14:return r=n.type,l=Ne(r,n.pendingProps),l=Ne(r.type,l),co(e,n,r,l,t);case 15:return ra(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),gr(e,n),n.tag=1,ae(r)?(e=!0,Rr(n)):e=!1,Yn(n,t),ea(n,r,l),di(n,r,l,t),vi(null,n,r,!0,e,t);case 19:return sa(e,n,t);case 22:return la(e,n,t)}throw Error(y(156,n.tag))};function xa(e,n){return Jo(e,n)}function Mf(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function we(e,n,t,r){return new Mf(e,n,t,r)}function du(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Rf(e){if(typeof e=="function")return du(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Mi)return 11;if(e===Ri)return 14}return 2}function sn(e,n){var t=e.alternate;return t===null?(t=we(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Sr(e,n,t,r,l,i){var u=2;if(r=e,typeof e=="function")du(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Rn:return En(t.children,l,i,n);case Li:u=8,l|=8;break;case Il:return e=we(12,t,n,l|2),e.elementType=Il,e.lanes=i,e;case jl:return e=we(13,t,n,l),e.elementType=jl,e.lanes=i,e;case Ul:return e=we(19,t,n,l),e.elementType=Ul,e.lanes=i,e;case Oo:return tl(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Ro:u=10;break e;case Do:u=9;break e;case Mi:u=11;break e;case Ri:u=14;break e;case Ye:u=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=we(u,t,n,l),n.elementType=e,n.type=r,n.lanes=i,n}function En(e,n,t,r){return e=we(7,e,r,n),e.lanes=t,e}function tl(e,n,t,r){return e=we(22,e,r,n),e.elementType=Oo,e.lanes=t,e.stateNode={isHidden:!1},e}function Dl(e,n,t){return e=we(6,e,null,n),e.lanes=t,e}function Ol(e,n,t){return n=we(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Df(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ml(0),this.expirationTimes=ml(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ml(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function pu(e,n,t,r,l,i,u,o,s){return e=new Df(e,n,t,o,s),n===1?(n=1,i===!0&&(n|=8)):n=0,i=we(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zi(i),e}function Of(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Pa)}catch(e){console.error(e)}}Pa(),Po.exports=ve;var Af=Po.exports,Ta,La,No=Af;La=No.createRoot,Ta=No.hydrateRoot;const yu=({value:e,name:n,hydrate:t=!0})=>{if(!e)return null;const r=t?"astro-slot":"astro-static-slot";return Je.createElement(r,{name:n,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:e}})};yu.shouldComponentUpdate=()=>!1;function Vf(e){for(const n in e)if(n.startsWith("__reactContainer"))return n}function Ma(e){let n={};for(const t of e.attributes)n[t.name]=t.value;return e.firstChild===null?Je.createElement(e.localName,n):Je.createElement(e.localName,n,Array.from(e.childNodes).map(t=>t.nodeType===Node.TEXT_NODE?t.data:t.nodeType===Node.ELEMENT_NODE?Ma(t):void 0).filter(t=>!!t))}function Hf(e,n){if(n&&e){let t=[],r=document.createElement("template");r.innerHTML=e;for(let l of r.content.children)t.push(Ma(l));return t}else return e?Je.createElement(yu,{value:e}):void 0}let _o=new WeakMap;const zo=(e,n)=>{let t=_o.get(e);return t||(t=n(),_o.set(e,t)),t},Wf=e=>(n,t,{default:r,...l},{client:i})=>{if(!e.hasAttribute("ssr"))return;const u=e.getAttribute("data-action-key"),o=e.getAttribute("data-action-name"),s=e.getAttribute("data-action-result"),d=u&&o&&s?[JSON.parse(s),u,o]:void 0,v={identifierPrefix:e.getAttribute("prefix"),formState:d};for(const[g,w]of Object.entries(l))t[g]=Je.createElement(yu,{value:w,name:g});const m=Je.createElement(n,t,Hf(r,e.hasAttribute("data-react-children"))),p=Vf(e);if(p&&delete e[p],i==="only")return Je.startTransition(()=>{zo(e,()=>{const w=La(e);return e.addEventListener("astro:unmount",()=>w.unmount(),{once:!0}),w}).render(m)});Je.startTransition(()=>{zo(e,()=>{const w=Ta(e,m,v);return e.addEventListener("astro:unmount",()=>w.unmount(),{once:!0}),w}).render(m)})};export{Wf as default}; +`+i.stack}return{value:e,source:n,stack:l,digest:null}}function Ml(e,n,t){return{value:e,source:null,stack:t??null,digest:n??null}}function pi(e,n){try{console.error(n.value)}catch(t){setTimeout(function(){throw t})}}var pf=typeof WeakMap=="function"?WeakMap:Map;function na(e,n,t){t=He(-1,t),t.tag=3,t.payload={element:null};var r=n.value;return t.callback=function(){Br||(Br=!0,Ci=r),pi(e,n)},t}function ta(e,n,t){t=He(-1,t),t.tag=3;var r=e.type.getDerivedStateFromError;if(typeof r=="function"){var l=n.value;t.payload=function(){return r(l)},t.callback=function(){pi(e,n)}}var i=e.stateNode;return i!==null&&typeof i.componentDidCatch=="function"&&(t.callback=function(){pi(e,n),typeof r!="function"&&(un===null?un=new Set([this]):un.add(this));var u=n.stack;this.componentDidCatch(n.value,{componentStack:u!==null?u:""})}),t}function uo(e,n,t){var r=e.pingCache;if(r===null){r=e.pingCache=new pf;var l=new Set;r.set(n,l)}else l=r.get(n),l===void 0&&(l=new Set,r.set(n,l));l.has(t)||(l.add(t),e=zf.bind(null,e,n,t),n.then(e,e))}function oo(e){do{var n;if((n=e.tag===13)&&(n=e.memoizedState,n=n!==null?n.dehydrated!==null:!0),n)return e;e=e.return}while(e!==null);return null}function so(e,n,t,r,l){return e.mode&1?(e.flags|=65536,e.lanes=l,e):(e===n?e.flags|=65536:(e.flags|=128,t.flags|=131072,t.flags&=-52805,t.tag===1&&(t.alternate===null?t.tag=17:(n=He(-1,1),n.tag=2,ln(t,n,1))),t.lanes|=1),e)}var mf=Ke.ReactCurrentOwner,oe=!1;function re(e,n,t,r){n.child=e===null?Ms(n,null,t,r):qn(n,e.child,t,r)}function ao(e,n,t,r,l){t=t.render;var i=n.ref;return Yn(n,l),r=nu(e,n,t,r,i,l),t=tu(),e!==null&&!oe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,$e(e,n,l)):(I&&t&&Wi(n),n.flags|=1,re(e,n,r,l),n.child)}function co(e,n,t,r,l){if(e===null){var i=t.type;return typeof i=="function"&&!du(i)&&i.defaultProps===void 0&&t.compare===null&&t.defaultProps===void 0?(n.tag=15,n.type=i,ra(e,n,i,r,l)):(e=Sr(t.type,null,r,n,n.mode,l),e.ref=n.ref,e.return=n,n.child=e)}if(i=e.child,!(e.lanes&l)){var u=i.memoizedProps;if(t=t.compare,t=t!==null?t:Ot,t(u,r)&&e.ref===n.ref)return $e(e,n,l)}return n.flags|=1,e=sn(i,r),e.ref=n.ref,e.return=n,n.child=e}function ra(e,n,t,r,l){if(e!==null){var i=e.memoizedProps;if(Ot(i,r)&&e.ref===n.ref)if(oe=!1,n.pendingProps=r=i,(e.lanes&l)!==0)e.flags&131072&&(oe=!0);else return n.lanes=e.lanes,$e(e,n,l)}return mi(e,n,t,r,l)}function la(e,n,t){var r=n.pendingProps,l=r.children,i=e!==null?e.memoizedState:null;if(r.mode==="hidden")if(!(n.mode&1))n.memoizedState={baseLanes:0,cachePool:null,transitions:null},D(Bn,fe),fe|=t;else{if(!(t&1073741824))return e=i!==null?i.baseLanes|t:t,n.lanes=n.childLanes=1073741824,n.memoizedState={baseLanes:e,cachePool:null,transitions:null},n.updateQueue=null,D(Bn,fe),fe|=e,null;n.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=i!==null?i.baseLanes:t,D(Bn,fe),fe|=r}else i!==null?(r=i.baseLanes|t,n.memoizedState=null):r=t,D(Bn,fe),fe|=r;return re(e,n,l,t),n.child}function ia(e,n){var t=n.ref;(e===null&&t!==null||e!==null&&e.ref!==t)&&(n.flags|=512,n.flags|=2097152)}function mi(e,n,t,r,l){var i=ae(t)?Cn:te.current;return i=Zn(n,i),Yn(n,l),t=nu(e,n,t,r,i,l),r=tu(),e!==null&&!oe?(n.updateQueue=e.updateQueue,n.flags&=-2053,e.lanes&=~l,$e(e,n,l)):(I&&r&&Wi(n),n.flags|=1,re(e,n,t,l),n.child)}function fo(e,n,t,r,l){if(ae(t)){var i=!0;Dr(n)}else i=!1;if(Yn(n,l),n.stateNode===null)gr(e,n),ea(n,t,r),di(n,t,r,l),r=!0;else if(e===null){var u=n.stateNode,o=n.memoizedProps;u.props=o;var s=u.context,d=t.contextType;typeof d=="object"&&d!==null?d=Se(d):(d=ae(t)?Cn:te.current,d=Zn(n,d));var v=t.getDerivedStateFromProps,m=typeof v=="function"||typeof u.getSnapshotBeforeUpdate=="function";m||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o!==r||s!==d)&&io(n,u,r,d),Ge=!1;var p=n.memoizedState;u.state=p,jr(n,r,u,l),s=n.memoizedState,o!==r||p!==s||se.current||Ge?(typeof v=="function"&&(fi(n,t,v,r),s=n.memoizedState),(o=Ge||lo(n,t,o,r,p,s,d))?(m||typeof u.UNSAFE_componentWillMount!="function"&&typeof u.componentWillMount!="function"||(typeof u.componentWillMount=="function"&&u.componentWillMount(),typeof u.UNSAFE_componentWillMount=="function"&&u.UNSAFE_componentWillMount()),typeof u.componentDidMount=="function"&&(n.flags|=4194308)):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),n.memoizedProps=r,n.memoizedState=s),u.props=r,u.state=s,u.context=d,r=o):(typeof u.componentDidMount=="function"&&(n.flags|=4194308),r=!1)}else{u=n.stateNode,Rs(e,n),o=n.memoizedProps,d=n.type===n.elementType?o:Ne(n.type,o),u.props=d,m=n.pendingProps,p=u.context,s=t.contextType,typeof s=="object"&&s!==null?s=Se(s):(s=ae(t)?Cn:te.current,s=Zn(n,s));var g=t.getDerivedStateFromProps;(v=typeof g=="function"||typeof u.getSnapshotBeforeUpdate=="function")||typeof u.UNSAFE_componentWillReceiveProps!="function"&&typeof u.componentWillReceiveProps!="function"||(o!==m||p!==s)&&io(n,u,r,s),Ge=!1,p=n.memoizedState,u.state=p,jr(n,r,u,l);var w=n.memoizedState;o!==m||p!==w||se.current||Ge?(typeof g=="function"&&(fi(n,t,g,r),w=n.memoizedState),(d=Ge||lo(n,t,d,r,p,w,s)||!1)?(v||typeof u.UNSAFE_componentWillUpdate!="function"&&typeof u.componentWillUpdate!="function"||(typeof u.componentWillUpdate=="function"&&u.componentWillUpdate(r,w,s),typeof u.UNSAFE_componentWillUpdate=="function"&&u.UNSAFE_componentWillUpdate(r,w,s)),typeof u.componentDidUpdate=="function"&&(n.flags|=4),typeof u.getSnapshotBeforeUpdate=="function"&&(n.flags|=1024)):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),n.memoizedProps=r,n.memoizedState=w),u.props=r,u.state=w,u.context=s,r=d):(typeof u.componentDidUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=4),typeof u.getSnapshotBeforeUpdate!="function"||o===e.memoizedProps&&p===e.memoizedState||(n.flags|=1024),r=!1)}return vi(e,n,t,r,i,l)}function vi(e,n,t,r,l,i){ia(e,n);var u=(n.flags&128)!==0;if(!r&&!u)return l&&Zu(n,t,!1),$e(e,n,i);r=n.stateNode,mf.current=n;var o=u&&typeof t.getDerivedStateFromError!="function"?null:r.render();return n.flags|=1,e!==null&&u?(n.child=qn(n,e.child,null,i),n.child=qn(n,null,o,i)):re(e,n,o,i),n.memoizedState=r.state,l&&Zu(n,t,!0),n.child}function ua(e){var n=e.stateNode;n.pendingContext?Gu(e,n.pendingContext,n.pendingContext!==n.context):n.context&&Gu(e,n.context,!1),Ji(e,n.containerInfo)}function po(e,n,t,r,l){return Jn(),$i(l),n.flags|=256,re(e,n,t,r),n.child}var hi={dehydrated:null,treeContext:null,retryLane:0};function yi(e){return{baseLanes:e,cachePool:null,transitions:null}}function oa(e,n,t){var r=n.pendingProps,l=j.current,i=!1,u=(n.flags&128)!==0,o;if((o=u)||(o=e!==null&&e.memoizedState===null?!1:(l&2)!==0),o?(i=!0,n.flags&=-129):(e===null||e.memoizedState!==null)&&(l|=1),D(j,l&1),e===null)return ai(n),e=n.memoizedState,e!==null&&(e=e.dehydrated,e!==null)?(n.mode&1?e.data==="$!"?n.lanes=8:n.lanes=1073741824:n.lanes=1,null):(u=r.children,e=r.fallback,i?(r=n.mode,i=n.child,u={mode:"hidden",children:u},!(r&1)&&i!==null?(i.childLanes=0,i.pendingProps=u):i=tl(u,r,0,null),e=En(e,r,t,null),i.return=n,e.return=n,i.sibling=e,n.child=i,n.child.memoizedState=yi(t),n.memoizedState=hi,e):iu(n,u));if(l=e.memoizedState,l!==null&&(o=l.dehydrated,o!==null))return vf(e,n,u,r,o,l,t);if(i){i=r.fallback,u=n.mode,l=e.child,o=l.sibling;var s={mode:"hidden",children:r.children};return!(u&1)&&n.child!==l?(r=n.child,r.childLanes=0,r.pendingProps=s,n.deletions=null):(r=sn(l,s),r.subtreeFlags=l.subtreeFlags&14680064),o!==null?i=sn(o,i):(i=En(i,u,t,null),i.flags|=2),i.return=n,r.return=n,r.sibling=i,n.child=r,r=i,i=n.child,u=e.child.memoizedState,u=u===null?yi(t):{baseLanes:u.baseLanes|t,cachePool:null,transitions:u.transitions},i.memoizedState=u,i.childLanes=e.childLanes&~t,n.memoizedState=hi,r}return i=e.child,e=i.sibling,r=sn(i,{mode:"visible",children:r.children}),!(n.mode&1)&&(r.lanes=t),r.return=n,r.sibling=null,e!==null&&(t=n.deletions,t===null?(n.deletions=[e],n.flags|=16):t.push(e)),n.child=r,n.memoizedState=null,r}function iu(e,n){return n=tl({mode:"visible",children:n},e.mode,0,null),n.return=e,e.child=n}function sr(e,n,t,r){return r!==null&&$i(r),qn(n,e.child,null,t),e=iu(n,n.pendingProps.children),e.flags|=2,n.memoizedState=null,e}function vf(e,n,t,r,l,i,u){if(t)return n.flags&256?(n.flags&=-257,r=Ml(Error(y(422))),sr(e,n,u,r)):n.memoizedState!==null?(n.child=e.child,n.flags|=128,null):(i=r.fallback,l=n.mode,r=tl({mode:"visible",children:r.children},l,0,null),i=En(i,l,u,null),i.flags|=2,r.return=n,i.return=n,r.sibling=i,n.child=r,n.mode&1&&qn(n,e.child,null,u),n.child.memoizedState=yi(u),n.memoizedState=hi,i);if(!(n.mode&1))return sr(e,n,u,null);if(l.data==="$!"){if(r=l.nextSibling&&l.nextSibling.dataset,r)var o=r.dgst;return r=o,i=Error(y(419)),r=Ml(i,r,void 0),sr(e,n,u,r)}if(o=(u&e.childLanes)!==0,oe||o){if(r=G,r!==null){switch(u&-u){case 4:l=2;break;case 16:l=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:l=32;break;case 536870912:l=268435456;break;default:l=0}l=l&(r.suspendedLanes|u)?0:l,l!==0&&l!==i.retryLane&&(i.retryLane=l,Qe(e,l),Te(r,e,l,-1))}return fu(),r=Ml(Error(y(421))),sr(e,n,u,r)}return l.data==="$?"?(n.flags|=128,n.child=e.child,n=Pf.bind(null,e),l._reactRetry=n,null):(e=i.treeContext,de=rn(l.nextSibling),pe=n,I=!0,ze=null,e!==null&&(ye[ge++]=Ae,ye[ge++]=Ve,ye[ge++]=xn,Ae=e.id,Ve=e.overflow,xn=n),n=iu(n,r.children),n.flags|=4096,n)}function mo(e,n,t){e.lanes|=n;var r=e.alternate;r!==null&&(r.lanes|=n),ci(e.return,n,t)}function Dl(e,n,t,r,l){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:n,rendering:null,renderingStartTime:0,last:r,tail:t,tailMode:l}:(i.isBackwards=n,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=t,i.tailMode=l)}function sa(e,n,t){var r=n.pendingProps,l=r.revealOrder,i=r.tail;if(re(e,n,r.children,t),r=j.current,r&2)r=r&1|2,n.flags|=128;else{if(e!==null&&e.flags&128)e:for(e=n.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&mo(e,t,n);else if(e.tag===19)mo(e,t,n);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===n)break e;for(;e.sibling===null;){if(e.return===null||e.return===n)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(D(j,r),!(n.mode&1))n.memoizedState=null;else switch(l){case"forwards":for(t=n.child,l=null;t!==null;)e=t.alternate,e!==null&&Ur(e)===null&&(l=t),t=t.sibling;t=l,t===null?(l=n.child,n.child=null):(l=t.sibling,t.sibling=null),Dl(n,!1,l,t,i);break;case"backwards":for(t=null,l=n.child,n.child=null;l!==null;){if(e=l.alternate,e!==null&&Ur(e)===null){n.child=l;break}e=l.sibling,l.sibling=t,t=l,l=e}Dl(n,!0,t,null,i);break;case"together":Dl(n,!1,null,null,void 0);break;default:n.memoizedState=null}return n.child}function gr(e,n){!(n.mode&1)&&e!==null&&(e.alternate=null,n.alternate=null,n.flags|=2)}function $e(e,n,t){if(e!==null&&(n.dependencies=e.dependencies),_n|=n.lanes,!(t&n.childLanes))return null;if(e!==null&&n.child!==e.child)throw Error(y(153));if(n.child!==null){for(e=n.child,t=sn(e,e.pendingProps),n.child=t,t.return=n;e.sibling!==null;)e=e.sibling,t=t.sibling=sn(e,e.pendingProps),t.return=n;t.sibling=null}return n.child}function hf(e,n,t){switch(n.tag){case 3:ua(n),Jn();break;case 5:Os(n);break;case 1:ae(n.type)&&Dr(n);break;case 4:Ji(n,n.stateNode.containerInfo);break;case 10:var r=n.type._context,l=n.memoizedProps.value;D(Fr,r._currentValue),r._currentValue=l;break;case 13:if(r=n.memoizedState,r!==null)return r.dehydrated!==null?(D(j,j.current&1),n.flags|=128,null):t&n.child.childLanes?oa(e,n,t):(D(j,j.current&1),e=$e(e,n,t),e!==null?e.sibling:null);D(j,j.current&1);break;case 19:if(r=(t&n.childLanes)!==0,e.flags&128){if(r)return sa(e,n,t);n.flags|=128}if(l=n.memoizedState,l!==null&&(l.rendering=null,l.tail=null,l.lastEffect=null),D(j,j.current),r)break;return null;case 22:case 23:return n.lanes=0,la(e,n,t)}return $e(e,n,t)}var aa,gi,ca,fa;aa=function(e,n){for(var t=n.child;t!==null;){if(t.tag===5||t.tag===6)e.appendChild(t.stateNode);else if(t.tag!==4&&t.child!==null){t.child.return=t,t=t.child;continue}if(t===n)break;for(;t.sibling===null;){if(t.return===null||t.return===n)return;t=t.return}t.sibling.return=t.return,t=t.sibling}};gi=function(){};ca=function(e,n,t,r){var l=e.memoizedProps;if(l!==r){e=n.stateNode,kn(Fe.current);var i=null;switch(t){case"input":l=Vl(e,l),r=Vl(e,r),i=[];break;case"select":l=A({},l,{value:void 0}),r=A({},r,{value:void 0}),i=[];break;case"textarea":l=Wl(e,l),r=Wl(e,r),i=[];break;default:typeof l.onClick!="function"&&typeof r.onClick=="function"&&(e.onclick=Lr)}$l(t,r);var u;t=null;for(d in l)if(!r.hasOwnProperty(d)&&l.hasOwnProperty(d)&&l[d]!=null)if(d==="style"){var o=l[d];for(u in o)o.hasOwnProperty(u)&&(t||(t={}),t[u]="")}else d!=="dangerouslySetInnerHTML"&&d!=="children"&&d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&d!=="autoFocus"&&(zt.hasOwnProperty(d)?i||(i=[]):(i=i||[]).push(d,null));for(d in r){var s=r[d];if(o=l?.[d],r.hasOwnProperty(d)&&s!==o&&(s!=null||o!=null))if(d==="style")if(o){for(u in o)!o.hasOwnProperty(u)||s&&s.hasOwnProperty(u)||(t||(t={}),t[u]="");for(u in s)s.hasOwnProperty(u)&&o[u]!==s[u]&&(t||(t={}),t[u]=s[u])}else t||(i||(i=[]),i.push(d,t)),t=s;else d==="dangerouslySetInnerHTML"?(s=s?s.__html:void 0,o=o?o.__html:void 0,s!=null&&o!==s&&(i=i||[]).push(d,s)):d==="children"?typeof s!="string"&&typeof s!="number"||(i=i||[]).push(d,""+s):d!=="suppressContentEditableWarning"&&d!=="suppressHydrationWarning"&&(zt.hasOwnProperty(d)?(s!=null&&d==="onScroll"&&R("scroll",e),i||o===s||(i=[])):(i=i||[]).push(d,s))}t&&(i=i||[]).push("style",t);var d=i;(n.updateQueue=d)&&(n.flags|=4)}};fa=function(e,n,t,r){t!==r&&(n.flags|=4)};function dt(e,n){if(!I)switch(e.tailMode){case"hidden":n=e.tail;for(var t=null;n!==null;)n.alternate!==null&&(t=n),n=n.sibling;t===null?e.tail=null:t.sibling=null;break;case"collapsed":t=e.tail;for(var r=null;t!==null;)t.alternate!==null&&(r=t),t=t.sibling;r===null?n||e.tail===null?e.tail=null:e.tail.sibling=null:r.sibling=null}}function ee(e){var n=e.alternate!==null&&e.alternate.child===e.child,t=0,r=0;if(n)for(var l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags&14680064,r|=l.flags&14680064,l.return=e,l=l.sibling;else for(l=e.child;l!==null;)t|=l.lanes|l.childLanes,r|=l.subtreeFlags,r|=l.flags,l.return=e,l=l.sibling;return e.subtreeFlags|=r,e.childLanes=t,n}function yf(e,n,t){var r=n.pendingProps;switch(Qi(n),n.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return ee(n),null;case 1:return ae(n.type)&&Mr(),ee(n),null;case 3:return r=n.stateNode,bn(),O(se),O(te),bi(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),(e===null||e.child===null)&&(ur(n)?n.flags|=4:e===null||e.memoizedState.isDehydrated&&!(n.flags&256)||(n.flags|=1024,ze!==null&&(_i(ze),ze=null))),gi(e,n),ee(n),null;case 5:qi(n);var l=kn(At.current);if(t=n.type,e!==null&&n.stateNode!=null)ca(e,n,t,r,l),e.ref!==n.ref&&(n.flags|=512,n.flags|=2097152);else{if(!r){if(n.stateNode===null)throw Error(y(166));return ee(n),null}if(e=kn(Fe.current),ur(n)){r=n.stateNode,t=n.type;var i=n.memoizedProps;switch(r[Re]=n,r[jt]=i,e=(n.mode&1)!==0,t){case"dialog":R("cancel",r),R("close",r);break;case"iframe":case"object":case"embed":R("load",r);break;case"video":case"audio":for(l=0;l<\/script>",e=e.removeChild(e.firstChild)):typeof r.is=="string"?e=u.createElement(t,{is:r.is}):(e=u.createElement(t),t==="select"&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,t),e[Re]=n,e[jt]=r,aa(e,n,!1,!1),n.stateNode=e;e:{switch(u=Kl(t,r),t){case"dialog":R("cancel",e),R("close",e),l=r;break;case"iframe":case"object":case"embed":R("load",e),l=r;break;case"video":case"audio":for(l=0;lnt&&(n.flags|=128,r=!0,dt(i,!1),n.lanes=4194304)}else{if(!r)if(e=Ur(u),e!==null){if(n.flags|=128,r=!0,t=e.updateQueue,t!==null&&(n.updateQueue=t,n.flags|=4),dt(i,!0),i.tail===null&&i.tailMode==="hidden"&&!u.alternate&&!I)return ee(n),null}else 2*W()-i.renderingStartTime>nt&&t!==1073741824&&(n.flags|=128,r=!0,dt(i,!1),n.lanes=4194304);i.isBackwards?(u.sibling=n.child,n.child=u):(t=i.last,t!==null?t.sibling=u:n.child=u,i.last=u)}return i.tail!==null?(n=i.tail,i.rendering=n,i.tail=n.sibling,i.renderingStartTime=W(),n.sibling=null,t=j.current,D(j,r?t&1|2:t&1),n):(ee(n),null);case 22:case 23:return cu(),r=n.memoizedState!==null,e!==null&&e.memoizedState!==null!==r&&(n.flags|=8192),r&&n.mode&1?fe&1073741824&&(ee(n),n.subtreeFlags&6&&(n.flags|=8192)):ee(n),null;case 24:return null;case 25:return null}throw Error(y(156,n.tag))}function gf(e,n){switch(Qi(n),n.tag){case 1:return ae(n.type)&&Mr(),e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 3:return bn(),O(se),O(te),bi(),e=n.flags,e&65536&&!(e&128)?(n.flags=e&-65537|128,n):null;case 5:return qi(n),null;case 13:if(O(j),e=n.memoizedState,e!==null&&e.dehydrated!==null){if(n.alternate===null)throw Error(y(340));Jn()}return e=n.flags,e&65536?(n.flags=e&-65537|128,n):null;case 19:return O(j),null;case 4:return bn(),null;case 10:return Xi(n.type._context),null;case 22:case 23:return cu(),null;case 24:return null;default:return null}}var ar=!1,ne=!1,wf=typeof WeakSet=="function"?WeakSet:Set,S=null;function Hn(e,n){var t=e.ref;if(t!==null)if(typeof t=="function")try{t(null)}catch(r){V(e,n,r)}else t.current=null}function wi(e,n,t){try{t()}catch(r){V(e,n,r)}}var vo=!1;function kf(e,n){if(ti=zr,e=hs(),Bi(e)){if("selectionStart"in e)var t={start:e.selectionStart,end:e.selectionEnd};else e:{t=(t=e.ownerDocument)&&t.defaultView||window;var r=t.getSelection&&t.getSelection();if(r&&r.rangeCount!==0){t=r.anchorNode;var l=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{t.nodeType,i.nodeType}catch{t=null;break e}var u=0,o=-1,s=-1,d=0,v=0,m=e,p=null;n:for(;;){for(var g;m!==t||l!==0&&m.nodeType!==3||(o=u+l),m!==i||r!==0&&m.nodeType!==3||(s=u+r),m.nodeType===3&&(u+=m.nodeValue.length),(g=m.firstChild)!==null;)p=m,m=g;for(;;){if(m===e)break n;if(p===t&&++d===l&&(o=u),p===i&&++v===r&&(s=u),(g=m.nextSibling)!==null)break;m=p,p=m.parentNode}m=g}t=o===-1||s===-1?null:{start:o,end:s}}else t=null}t=t||{start:0,end:0}}else t=null;for(ri={focusedElem:e,selectionRange:t},zr=!1,S=n;S!==null;)if(n=S,e=n.child,(n.subtreeFlags&1028)!==0&&e!==null)e.return=n,S=e;else for(;S!==null;){n=S;try{var w=n.alternate;if(n.flags&1024)switch(n.tag){case 0:case 11:case 15:break;case 1:if(w!==null){var k=w.memoizedProps,F=w.memoizedState,c=n.stateNode,a=c.getSnapshotBeforeUpdate(n.elementType===n.type?k:Ne(n.type,k),F);c.__reactInternalSnapshotBeforeUpdate=a}break;case 3:var f=n.stateNode.containerInfo;f.nodeType===1?f.textContent="":f.nodeType===9&&f.documentElement&&f.removeChild(f.documentElement);break;case 5:case 6:case 4:case 17:break;default:throw Error(y(163))}}catch(h){V(n,n.return,h)}if(e=n.sibling,e!==null){e.return=n.return,S=e;break}S=n.return}return w=vo,vo=!1,w}function xt(e,n,t){var r=n.updateQueue;if(r=r!==null?r.lastEffect:null,r!==null){var l=r=r.next;do{if((l.tag&e)===e){var i=l.destroy;l.destroy=void 0,i!==void 0&&wi(n,t,i)}l=l.next}while(l!==r)}}function el(e,n){if(n=n.updateQueue,n=n!==null?n.lastEffect:null,n!==null){var t=n=n.next;do{if((t.tag&e)===e){var r=t.create;t.destroy=r()}t=t.next}while(t!==n)}}function ki(e){var n=e.ref;if(n!==null){var t=e.stateNode;switch(e.tag){case 5:e=t;break;default:e=t}typeof n=="function"?n(e):n.current=e}}function da(e){var n=e.alternate;n!==null&&(e.alternate=null,da(n)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(n=e.stateNode,n!==null&&(delete n[Re],delete n[jt],delete n[ui],delete n[nf],delete n[tf])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function pa(e){return e.tag===5||e.tag===3||e.tag===4}function ho(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||pa(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function Si(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.nodeType===8?t.parentNode.insertBefore(e,n):t.insertBefore(e,n):(t.nodeType===8?(n=t.parentNode,n.insertBefore(e,t)):(n=t,n.appendChild(e)),t=t._reactRootContainer,t!=null||n.onclick!==null||(n.onclick=Lr));else if(r!==4&&(e=e.child,e!==null))for(Si(e,n,t),e=e.sibling;e!==null;)Si(e,n,t),e=e.sibling}function Ei(e,n,t){var r=e.tag;if(r===5||r===6)e=e.stateNode,n?t.insertBefore(e,n):t.appendChild(e);else if(r!==4&&(e=e.child,e!==null))for(Ei(e,n,t),e=e.sibling;e!==null;)Ei(e,n,t),e=e.sibling}var Z=null,_e=!1;function Ye(e,n,t){for(t=t.child;t!==null;)ma(e,n,t),t=t.sibling}function ma(e,n,t){if(Oe&&typeof Oe.onCommitFiberUnmount=="function")try{Oe.onCommitFiberUnmount(Kr,t)}catch{}switch(t.tag){case 5:ne||Hn(t,n);case 6:var r=Z,l=_e;Z=null,Ye(e,n,t),Z=r,_e=l,Z!==null&&(_e?(e=Z,t=t.stateNode,e.nodeType===8?e.parentNode.removeChild(t):e.removeChild(t)):Z.removeChild(t.stateNode));break;case 18:Z!==null&&(_e?(e=Z,t=t.stateNode,e.nodeType===8?Nl(e.parentNode,t):e.nodeType===1&&Nl(e,t),Dt(e)):Nl(Z,t.stateNode));break;case 4:r=Z,l=_e,Z=t.stateNode.containerInfo,_e=!0,Ye(e,n,t),Z=r,_e=l;break;case 0:case 11:case 14:case 15:if(!ne&&(r=t.updateQueue,r!==null&&(r=r.lastEffect,r!==null))){l=r=r.next;do{var i=l,u=i.destroy;i=i.tag,u!==void 0&&(i&2||i&4)&&wi(t,n,u),l=l.next}while(l!==r)}Ye(e,n,t);break;case 1:if(!ne&&(Hn(t,n),r=t.stateNode,typeof r.componentWillUnmount=="function"))try{r.props=t.memoizedProps,r.state=t.memoizedState,r.componentWillUnmount()}catch(o){V(t,n,o)}Ye(e,n,t);break;case 21:Ye(e,n,t);break;case 22:t.mode&1?(ne=(r=ne)||t.memoizedState!==null,Ye(e,n,t),ne=r):Ye(e,n,t);break;default:Ye(e,n,t)}}function yo(e){var n=e.updateQueue;if(n!==null){e.updateQueue=null;var t=e.stateNode;t===null&&(t=e.stateNode=new wf),n.forEach(function(r){var l=Tf.bind(null,e,r);t.has(r)||(t.add(r),r.then(l,l))})}}function xe(e,n){var t=n.deletions;if(t!==null)for(var r=0;rl&&(l=u),r&=~i}if(r=l,r=W()-r,r=(120>r?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Ef(r/1960))-r,10e?16:e,be===null)var r=!1;else{if(e=be,be=null,Wr=0,L&6)throw Error(y(331));var l=L;for(L|=4,S=e.current;S!==null;){var i=S,u=i.child;if(S.flags&16){var o=i.deletions;if(o!==null){for(var s=0;sW()-su?Sn(e,0):ou|=t),ce(e,n)}function Ea(e,n){n===0&&(e.mode&1?(n=er,er<<=1,!(er&130023424)&&(er=4194304)):n=1);var t=le();e=Qe(e,n),e!==null&&(Qt(e,n,t),ce(e,t))}function Pf(e){var n=e.memoizedState,t=0;n!==null&&(t=n.retryLane),Ea(e,t)}function Tf(e,n){var t=0;switch(e.tag){case 13:var r=e.stateNode,l=e.memoizedState;l!==null&&(t=l.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(y(314))}r!==null&&r.delete(n),Ea(e,t)}var Ca;Ca=function(e,n,t){if(e!==null)if(e.memoizedProps!==n.pendingProps||se.current)oe=!0;else{if(!(e.lanes&t)&&!(n.flags&128))return oe=!1,hf(e,n,t);oe=!!(e.flags&131072)}else oe=!1,I&&n.flags&1048576&&zs(n,Or,n.index);switch(n.lanes=0,n.tag){case 2:var r=n.type;gr(e,n),e=n.pendingProps;var l=Zn(n,te.current);Yn(n,t),l=nu(null,n,r,e,l,t);var i=tu();return n.flags|=1,typeof l=="object"&&l!==null&&typeof l.render=="function"&&l.$$typeof===void 0?(n.tag=1,n.memoizedState=null,n.updateQueue=null,ae(r)?(i=!0,Dr(n)):i=!1,n.memoizedState=l.state!==null&&l.state!==void 0?l.state:null,Zi(n),l.updater=br,n.stateNode=l,l._reactInternals=n,di(n,r,e,t),n=vi(null,n,r,!0,i,t)):(n.tag=0,I&&i&&Wi(n),re(null,n,l,t),n=n.child),n;case 16:r=n.elementType;e:{switch(gr(e,n),e=n.pendingProps,l=r._init,r=l(r._payload),n.type=r,l=n.tag=Mf(r),e=Ne(r,e),l){case 0:n=mi(null,n,r,e,t);break e;case 1:n=fo(null,n,r,e,t);break e;case 11:n=ao(null,n,r,e,t);break e;case 14:n=co(null,n,r,Ne(r.type,e),t);break e}throw Error(y(306,r,""))}return n;case 0:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),mi(e,n,r,l,t);case 1:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),fo(e,n,r,l,t);case 3:e:{if(ua(n),e===null)throw Error(y(387));r=n.pendingProps,i=n.memoizedState,l=i.element,Rs(e,n),jr(n,r,null,t);var u=n.memoizedState;if(r=u.element,i.isDehydrated)if(i={element:r,isDehydrated:!1,cache:u.cache,pendingSuspenseBoundaries:u.pendingSuspenseBoundaries,transitions:u.transitions},n.updateQueue.baseState=i,n.memoizedState=i,n.flags&256){l=et(Error(y(423)),n),n=po(e,n,r,t,l);break e}else if(r!==l){l=et(Error(y(424)),n),n=po(e,n,r,t,l);break e}else for(de=rn(n.stateNode.containerInfo.firstChild),pe=n,I=!0,ze=null,t=Ms(n,null,r,t),n.child=t;t;)t.flags=t.flags&-3|4096,t=t.sibling;else{if(Jn(),r===l){n=$e(e,n,t);break e}re(e,n,r,t)}n=n.child}return n;case 5:return Os(n),e===null&&ai(n),r=n.type,l=n.pendingProps,i=e!==null?e.memoizedProps:null,u=l.children,li(r,l)?u=null:i!==null&&li(r,i)&&(n.flags|=32),ia(e,n),re(e,n,u,t),n.child;case 6:return e===null&&ai(n),null;case 13:return oa(e,n,t);case 4:return Ji(n,n.stateNode.containerInfo),r=n.pendingProps,e===null?n.child=qn(n,null,r,t):re(e,n,r,t),n.child;case 11:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),ao(e,n,r,l,t);case 7:return re(e,n,n.pendingProps,t),n.child;case 8:return re(e,n,n.pendingProps.children,t),n.child;case 12:return re(e,n,n.pendingProps.children,t),n.child;case 10:e:{if(r=n.type._context,l=n.pendingProps,i=n.memoizedProps,u=l.value,D(Fr,r._currentValue),r._currentValue=u,i!==null)if(Le(i.value,u)){if(i.children===l.children&&!se.current){n=$e(e,n,t);break e}}else for(i=n.child,i!==null&&(i.return=n);i!==null;){var o=i.dependencies;if(o!==null){u=i.child;for(var s=o.firstContext;s!==null;){if(s.context===r){if(i.tag===1){s=He(-1,t&-t),s.tag=2;var d=i.updateQueue;if(d!==null){d=d.shared;var v=d.pending;v===null?s.next=s:(s.next=v.next,v.next=s),d.pending=s}}i.lanes|=t,s=i.alternate,s!==null&&(s.lanes|=t),ci(i.return,t,n),o.lanes|=t;break}s=s.next}}else if(i.tag===10)u=i.type===n.type?null:i.child;else if(i.tag===18){if(u=i.return,u===null)throw Error(y(341));u.lanes|=t,o=u.alternate,o!==null&&(o.lanes|=t),ci(u,t,n),u=i.sibling}else u=i.child;if(u!==null)u.return=i;else for(u=i;u!==null;){if(u===n){u=null;break}if(i=u.sibling,i!==null){i.return=u.return,u=i;break}u=u.return}i=u}re(e,n,l.children,t),n=n.child}return n;case 9:return l=n.type,r=n.pendingProps.children,Yn(n,t),l=Se(l),r=r(l),n.flags|=1,re(e,n,r,t),n.child;case 14:return r=n.type,l=Ne(r,n.pendingProps),l=Ne(r.type,l),co(e,n,r,l,t);case 15:return ra(e,n,n.type,n.pendingProps,t);case 17:return r=n.type,l=n.pendingProps,l=n.elementType===r?l:Ne(r,l),gr(e,n),n.tag=1,ae(r)?(e=!0,Dr(n)):e=!1,Yn(n,t),ea(n,r,l),di(n,r,l,t),vi(null,n,r,!0,e,t);case 19:return sa(e,n,t);case 22:return la(e,n,t)}throw Error(y(156,n.tag))};function xa(e,n){return Jo(e,n)}function Lf(e,n,t,r){this.tag=e,this.key=t,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=n,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function we(e,n,t,r){return new Lf(e,n,t,r)}function du(e){return e=e.prototype,!(!e||!e.isReactComponent)}function Mf(e){if(typeof e=="function")return du(e)?1:0;if(e!=null){if(e=e.$$typeof,e===Mi)return 11;if(e===Di)return 14}return 2}function sn(e,n){var t=e.alternate;return t===null?(t=we(e.tag,n,e.key,e.mode),t.elementType=e.elementType,t.type=e.type,t.stateNode=e.stateNode,t.alternate=e,e.alternate=t):(t.pendingProps=n,t.type=e.type,t.flags=0,t.subtreeFlags=0,t.deletions=null),t.flags=e.flags&14680064,t.childLanes=e.childLanes,t.lanes=e.lanes,t.child=e.child,t.memoizedProps=e.memoizedProps,t.memoizedState=e.memoizedState,t.updateQueue=e.updateQueue,n=e.dependencies,t.dependencies=n===null?null:{lanes:n.lanes,firstContext:n.firstContext},t.sibling=e.sibling,t.index=e.index,t.ref=e.ref,t}function Sr(e,n,t,r,l,i){var u=2;if(r=e,typeof e=="function")du(e)&&(u=1);else if(typeof e=="string")u=5;else e:switch(e){case Dn:return En(t.children,l,i,n);case Li:u=8,l|=8;break;case Il:return e=we(12,t,n,l|2),e.elementType=Il,e.lanes=i,e;case jl:return e=we(13,t,n,l),e.elementType=jl,e.lanes=i,e;case Ul:return e=we(19,t,n,l),e.elementType=Ul,e.lanes=i,e;case Oo:return tl(t,l,i,n);default:if(typeof e=="object"&&e!==null)switch(e.$$typeof){case Do:u=10;break e;case Ro:u=9;break e;case Mi:u=11;break e;case Di:u=14;break e;case Xe:u=16,r=null;break e}throw Error(y(130,e==null?e:typeof e,""))}return n=we(u,t,n,l),n.elementType=e,n.type=r,n.lanes=i,n}function En(e,n,t,r){return e=we(7,e,r,n),e.lanes=t,e}function tl(e,n,t,r){return e=we(22,e,r,n),e.elementType=Oo,e.lanes=t,e.stateNode={isHidden:!1},e}function Rl(e,n,t){return e=we(6,e,null,n),e.lanes=t,e}function Ol(e,n,t){return n=we(4,e.children!==null?e.children:[],e.key,n),n.lanes=t,n.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},n}function Df(e,n,t,r,l){this.tag=n,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=ml(0),this.expirationTimes=ml(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=ml(0),this.identifierPrefix=r,this.onRecoverableError=l,this.mutableSourceEagerHydrationData=null}function pu(e,n,t,r,l,i,u,o,s){return e=new Df(e,n,t,o,s),n===1?(n=1,i===!0&&(n|=8)):n=0,i=we(3,null,null,n),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:t,cache:null,transitions:null,pendingSuspenseBoundaries:null},Zi(i),e}function Rf(e,n,t){var r=3"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(Pa)}catch(e){console.error(e)}}Pa(),Po.exports=ve;var Uf=Po.exports,Ta,La,No=Uf;La=No.createRoot,Ta=No.hydrateRoot;const yu=({value:e,name:n,hydrate:t=!0})=>{if(!e)return null;const r=t?"astro-slot":"astro-static-slot";return Ue.createElement(r,{name:n,suppressHydrationWarning:!0,dangerouslySetInnerHTML:{__html:e}})};yu.shouldComponentUpdate=()=>!1;function Af(e){for(const n in e)if(n.startsWith("__reactContainer"))return n}function Ma(e){let n={};for(const t of e.attributes)n[t.name]=t.value;return e.firstChild===null?Ue.createElement(e.localName,n):Ue.createElement(e.localName,n,Array.from(e.childNodes).map(t=>t.nodeType===Node.TEXT_NODE?t.data:t.nodeType===Node.ELEMENT_NODE?Ma(t):void 0).filter(t=>!!t))}function Vf(e,n){if(n&&e){let t=[],r=document.createElement("template");r.innerHTML=e;for(let l of r.content.children)t.push(Ma(l));return t}else return e?Ue.createElement(yu,{value:e}):void 0}let _o=new WeakMap;const zo=(e,n)=>{let t=_o.get(e);return t||(t=n(),_o.set(e,t)),t},Bf=e=>(n,t,{default:r,...l},{client:i})=>{if(!e.hasAttribute("ssr"))return;const u=e.getAttribute("data-action-key"),o=e.getAttribute("data-action-name"),s=e.getAttribute("data-action-result"),d=u&&o&&s?[JSON.parse(s),u,o]:void 0,v={identifierPrefix:e.getAttribute("prefix"),formState:d};for(const[g,w]of Object.entries(l))t[g]=Ue.createElement(yu,{value:w,name:g});const m=Ue.createElement(n,t,Vf(r,e.hasAttribute("data-react-children"))),p=Af(e);if(p&&delete e[p],i==="only")return Ue.startTransition(()=>{zo(e,()=>{const w=La(e);return e.addEventListener("astro:unmount",()=>w.unmount(),{once:!0}),w}).render(m)});Ue.startTransition(()=>{zo(e,()=>{const w=Ta(e,m,v);return e.addEventListener("astro:unmount",()=>w.unmount(),{once:!0}),w}).render(m)})};export{Bf as default}; diff --git a/_astro/index.CQPPKyn2.js b/_astro/index.CQPPKyn2.js deleted file mode 100644 index a93e947..0000000 --- a/_astro/index.CQPPKyn2.js +++ /dev/null @@ -1,9 +0,0 @@ -var k={exports:{}},r={};/** - * @license React - * react.production.min.js - * - * Copyright (c) Facebook, Inc. and its affiliates. - * - * This source code is licensed under the MIT license found in the - * LICENSE file in the root directory of this source tree. - */var T;function X(){if(T)return r;T=1;var y=Symbol.for("react.element"),A=Symbol.for("react.portal"),D=Symbol.for("react.fragment"),U=Symbol.for("react.strict_mode"),F=Symbol.for("react.profiler"),L=Symbol.for("react.provider"),M=Symbol.for("react.context"),N=Symbol.for("react.forward_ref"),z=Symbol.for("react.suspense"),B=Symbol.for("react.memo"),H=Symbol.for("react.lazy"),w=Symbol.iterator;function W(e){return e===null||typeof e!="object"?null:(e=w&&e[w]||e["@@iterator"],typeof e=="function"?e:null)}var $={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},b=Object.assign,C={};function p(e,t,n){this.props=e,this.context=t,this.refs=C,this.updater=n||$}p.prototype.isReactComponent={},p.prototype.setState=function(e,t){if(typeof e!="object"&&typeof e!="function"&&e!=null)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},p.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")};function x(){}x.prototype=p.prototype;function v(e,t,n){this.props=e,this.context=t,this.refs=C,this.updater=n||$}var m=v.prototype=new x;m.constructor=v,b(m,p.prototype),m.isPureReactComponent=!0;var j=Array.isArray,O=Object.prototype.hasOwnProperty,S={current:null},g={key:!0,ref:!0,__self:!0,__source:!0};function P(e,t,n){var u,o={},c=null,s=null;if(t!=null)for(u in t.ref!==void 0&&(s=t.ref),t.key!==void 0&&(c=""+t.key),t)O.call(t,u)&&!g.hasOwnProperty(u)&&(o[u]=t[u]);var f=arguments.length-2;if(f===1)o.children=n;else if(1"u")return t;const e=new Map,n=(...s)=>t(...s);return new Proxy(n,{get:(s,i)=>i==="create"?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}function _t(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const ue=t=>Array.isArray(t);function vs(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let s=0;s{e[0][s]=n.get(),e[1][s]=n.getVelocity()}),e}function Ve(t,e,n,s){if(typeof e=="function"){const[i,r]=on(s);e=e(n!==void 0?n:t.custom,i,r)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,r]=on(s);e=e(n!==void 0?n:t.custom,i,r)}return e}function Kt(t,e,n){const s=t.getProps();return Ve(s,e,n!==void 0?n:s.custom,t)}const we=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ce=["initial",...we],Vt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],it=new Set(Vt),G=t=>t*1e3,$=t=>t/1e3,Hi={type:"spring",stiffness:500,damping:25,restSpeed:10},Xi=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Yi={type:"keyframes",duration:.8},qi={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Zi=(t,{keyframes:e})=>e.length>2?Yi:it.has(t)?t.startsWith("scale")?Xi(e[1]):Hi:qi;function Me(t,e){return t?t[e]||t.default||t:void 0}const Ji={skipAnimations:!1,useManualTiming:!1},Qi=t=>t!==null;function Wt(t,{repeat:e,repeatType:n="loop"},s){const i=t.filter(Qi),r=e&&n!=="loop"&&e%2===1?0:i.length-1;return!r||s===void 0?i[r]:s}const L=t=>t;function to(t){let e=new Set,n=new Set,s=!1,i=!1;const r=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(u){r.has(u)&&(l.schedule(u),t()),u(o)}const l={schedule:(u,c=!1,h=!1)=>{const d=h&&s?e:n;return c&&r.add(u),d.has(u)||d.add(u),u},cancel:u=>{n.delete(u),r.delete(u)},process:u=>{if(o=u,s){i=!0;return}s=!0,[e,n]=[n,e],n.clear(),e.forEach(a),s=!1,i&&(i=!1,l.process(u))}};return l}const Mt=["read","resolveKeyframes","update","preRender","render","postRender"],eo=40;function Ts(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,o=Mt.reduce((g,T)=>(g[T]=to(r),g),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:h,postRender:f}=o,d=()=>{const g=performance.now();n=!1,i.delta=s?1e3/60:Math.max(Math.min(g-i.timestamp,eo),1),i.timestamp=g,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),h.process(i),f.process(i),i.isProcessing=!1,n&&e&&(s=!1,t(d))},p=()=>{n=!0,s=!0,i.isProcessing||t(d)};return{schedule:Mt.reduce((g,T)=>{const y=o[T];return g[T]=(S,b=!1,M=!1)=>(n||p(),y.schedule(S,b,M)),g},{}),cancel:g=>{for(let T=0;T(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,no=1e-7,so=12;function io(t,e,n,s,i){let r,o,a=0;do o=e+(n-e)/2,r=xs(o,s,i)-t,r>0?n=o:e=o;while(Math.abs(r)>no&&++aio(r,0,1,t,n);return r=>r===0||r===1?r:xs(i(r),e,s)}const Ps=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Ss=t=>e=>1-t(1-e),As=wt(.33,1.53,.69,.99),De=Ss(As),bs=Ps(De),Vs=t=>(t*=2)<1?.5*De(t):.5*(2-Math.pow(2,-10*(t-1))),Re=t=>1-Math.sin(Math.acos(t)),ws=Ss(Re),Cs=Ps(Re),Ms=t=>/^0[^.\s]+$/u.test(t);function oo(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Ms(t):!0}let ce=L;const Ds=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),Rs=t=>e=>typeof e=="string"&&e.startsWith(t),Es=Rs("--"),ro=Rs("var(--"),Ee=t=>ro(t)?ao.test(t.split("/*")[0].trim()):!1,ao=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,lo=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function uo(t){const e=lo.exec(t);if(!e)return[,];const[,n,s,i]=e;return[`--${n??s}`,i]}function Ls(t,e,n=1){const[s,i]=uo(t);if(!s)return;const r=window.getComputedStyle(e).getPropertyValue(s);if(r){const o=r.trim();return Ds(o)?parseFloat(o):o}return Ee(i)?Ls(i,e,n+1):i}const q=(t,e,n)=>n>e?e:ntypeof t=="number",parse:parseFloat,transform:t=>t},St={...pt,transform:t=>q(0,1,t)},Dt={...pt,default:1},Ct=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),X=Ct("deg"),U=Ct("%"),x=Ct("px"),co=Ct("vh"),ho=Ct("vw"),rn={...U,parse:t=>U.parse(t)/100,transform:t=>U.transform(t*100)},fo=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),an=t=>t===pt||t===x,ln=(t,e)=>parseFloat(t.split(", ")[e]),un=(t,e)=>(n,{transform:s})=>{if(s==="none"||!s)return 0;const i=s.match(/^matrix3d\((.+)\)$/u);if(i)return ln(i[1],e);{const r=s.match(/^matrix\((.+)\)$/u);return r?ln(r[1],t):0}},po=new Set(["x","y","z"]),mo=Vt.filter(t=>!po.has(t));function go(t){const e=[];return mo.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}const ht={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:un(4,13),y:un(5,14)};ht.translateX=ht.x;ht.translateY=ht.y;const Fs=t=>e=>e.test(t),yo={test:t=>t==="auto",parse:t=>t},Bs=[pt,x,U,X,ho,co,yo],cn=t=>Bs.find(Fs(t)),st=new Set;let he=!1,fe=!1;function ks(){if(fe){const t=Array.from(st).filter(s=>s.needsMeasurement),e=new Set(t.map(s=>s.element)),n=new Map;e.forEach(s=>{const i=go(s);i.length&&(n.set(s,i),s.render())}),t.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const i=n.get(s);i&&i.forEach(([r,o])=>{var a;(a=s.getValue(r))===null||a===void 0||a.set(o)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}fe=!1,he=!1,st.forEach(t=>t.complete()),st.clear()}function Os(){st.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(fe=!0)})}function vo(){Os(),ks()}class Le{constructor(e,n,s,i,r,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=s,this.motionValue=i,this.element=r,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(st.add(this),he||(he=!0,V.read(Os),V.resolveKeyframes(ks))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:s,motionValue:i}=this;for(let r=0;rMath.round(t*1e5)/1e5,Fe=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function To(t){return t==null}const xo=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Be=(t,e)=>n=>!!(typeof n=="string"&&xo.test(n)&&n.startsWith(t)||e&&!To(n)&&Object.prototype.hasOwnProperty.call(n,e)),js=(t,e,n)=>s=>{if(typeof s!="string")return s;const[i,r,o,a]=s.match(Fe);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},Po=t=>q(0,255,t),qt={...pt,transform:t=>Math.round(Po(t))},nt={test:Be("rgb","red"),parse:js("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+qt.transform(t)+", "+qt.transform(e)+", "+qt.transform(n)+", "+vt(St.transform(s))+")"};function So(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const de={test:Be("#"),parse:So,transform:nt.transform},rt={test:Be("hsl","hue"),parse:js("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+U.transform(vt(e))+", "+U.transform(vt(n))+", "+vt(St.transform(s))+")"},R={test:t=>nt.test(t)||de.test(t)||rt.test(t),parse:t=>nt.test(t)?nt.parse(t):rt.test(t)?rt.parse(t):de.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?nt.transform(t):rt.transform(t)},Ao=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function bo(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(Fe))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(Ao))===null||n===void 0?void 0:n.length)||0)>0}const Is="number",Ns="color",Vo="var",wo="var(",hn="${}",Co=/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 At(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i=[];let r=0;const a=e.replace(Co,l=>(R.test(l)?(s.color.push(r),i.push(Ns),n.push(R.parse(l))):l.startsWith(wo)?(s.var.push(r),i.push(Vo),n.push(l)):(s.number.push(r),i.push(Is),n.push(parseFloat(l))),++r,hn)).split(hn);return{values:n,split:a,indexes:s,types:i}}function Us(t){return At(t).values}function _s(t){const{split:e,types:n}=At(t),s=e.length;return i=>{let r="";for(let o=0;otypeof t=="number"?0:t;function Do(t){const e=Us(t);return _s(t)(e.map(Mo))}const Z={test:bo,parse:Us,createTransformer:_s,getAnimatableNone:Do},Ro=new Set(["brightness","contrast","saturate","opacity"]);function Eo(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(Fe)||[];if(!s)return t;const i=n.replace(s,"");let r=Ro.has(e)?1:0;return s!==n&&(r*=100),e+"("+r+i+")"}const Lo=/\b([a-z-]*)\(.*?\)/gu,pe={...Z,getAnimatableNone:t=>{const e=t.match(Lo);return e?e.map(Eo).join(" "):t}},Fo={borderWidth:x,borderTopWidth:x,borderRightWidth:x,borderBottomWidth:x,borderLeftWidth:x,borderRadius:x,radius:x,borderTopLeftRadius:x,borderTopRightRadius:x,borderBottomRightRadius:x,borderBottomLeftRadius:x,width:x,maxWidth:x,height:x,maxHeight:x,top:x,right:x,bottom:x,left:x,padding:x,paddingTop:x,paddingRight:x,paddingBottom:x,paddingLeft:x,margin:x,marginTop:x,marginRight:x,marginBottom:x,marginLeft:x,backgroundPositionX:x,backgroundPositionY:x},Bo={rotate:X,rotateX:X,rotateY:X,rotateZ:X,scale:Dt,scaleX:Dt,scaleY:Dt,scaleZ:Dt,skew:X,skewX:X,skewY:X,distance:x,translateX:x,translateY:x,translateZ:x,x,y:x,z:x,perspective:x,transformPerspective:x,opacity:St,originX:rn,originY:rn,originZ:x},fn={...pt,transform:Math.round},ke={...Fo,...Bo,zIndex:fn,size:x,fillOpacity:St,strokeOpacity:St,numOctaves:fn},ko={...ke,color:R,backgroundColor:R,outlineColor:R,fill:R,stroke:R,borderColor:R,borderTopColor:R,borderRightColor:R,borderBottomColor:R,borderLeftColor:R,filter:pe,WebkitFilter:pe},Oe=t=>ko[t];function Ks(t,e){let n=Oe(t);return n!==pe&&(n=Z),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const Oo=new Set(["auto","none","0"]);function jo(t,e,n){let s=0,i;for(;s{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function je(t){return typeof t=="function"}let Et;function Io(){Et=void 0}const _={now:()=>(Et===void 0&&_.set(D.isProcessing||Ji.useManualTiming?D.timestamp:performance.now()),Et),set:t=>{Et=t,queueMicrotask(Io)}},dn=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Z.test(t)||t==="0")&&!t.startsWith("url("));function No(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n_o?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&vo(),this._resolved}onKeyframesResolved(e,n){this.resolvedAt=_.now(),this.hasAttemptedResolve=!0;const{name:s,type:i,velocity:r,delay:o,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!Uo(e,s,i,r))if(o)this.options.duration=0;else{l?.(Wt(e,this.options,n)),a?.(),this.resolveFinishedPromise();return}const c=this.initPlayback(e,n);c!==!1&&(this._resolved={keyframes:e,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(e,n){return this.currentFinishedPromise.then(e,n)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}function $s(t,e){return e?t*(1e3/e):0}const Ko=5;function zs(t,e,n){const s=Math.max(e-Ko,0);return $s(n-t(s),e-s)}const Zt=.001,Wo=.01,Go=10,$o=.05,zo=1;function Ho({duration:t=800,bounce:e=.25,velocity:n=0,mass:s=1}){let i,r,o=1-e;o=q($o,zo,o),t=q(Wo,Go,$(t)),o<1?(i=u=>{const c=u*o,h=c*t,f=c-n,d=me(u,o),p=Math.exp(-h);return Zt-f/d*p},r=u=>{const h=u*o*t,f=h*n+n,d=Math.pow(o,2)*Math.pow(u,2)*t,p=Math.exp(-h),m=me(Math.pow(u,2),o);return(-i(u)+Zt>0?-1:1)*((f-d)*p)/m}):(i=u=>{const c=Math.exp(-u*t),h=(u-n)*t+1;return-Zt+c*h},r=u=>{const c=Math.exp(-u*t),h=(n-u)*(t*t);return c*h});const a=5/t,l=Yo(i,r,a);if(t=G(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{const u=Math.pow(l,2)*s;return{stiffness:u,damping:o*2*Math.sqrt(s*u),duration:t}}}const Xo=12;function Yo(t,e,n){let s=n;for(let i=1;it[n]!==void 0)}function Jo(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!pn(t,Zo)&&pn(t,qo)){const n=Ho(t);e={...e,...n,mass:1},e.isResolvedFromDuration=!0}return e}function Hs({keyframes:t,restDelta:e,restSpeed:n,...s}){const i=t[0],r=t[t.length-1],o={done:!1,value:i},{stiffness:a,damping:l,mass:u,duration:c,velocity:h,isResolvedFromDuration:f}=Jo({...s,velocity:-$(s.velocity||0)}),d=h||0,p=l/(2*Math.sqrt(a*u)),m=r-i,v=$(Math.sqrt(a/u)),g=Math.abs(m)<5;n||(n=g?.01:2),e||(e=g?.005:.5);let T;if(p<1){const y=me(v,p);T=S=>{const b=Math.exp(-p*v*S);return r-b*((d+p*v*m)/y*Math.sin(y*S)+m*Math.cos(y*S))}}else if(p===1)T=y=>r-Math.exp(-v*y)*(m+(d+v*m)*y);else{const y=v*Math.sqrt(p*p-1);T=S=>{const b=Math.exp(-p*v*S),M=Math.min(y*S,300);return r-b*((d+p*v*m)*Math.sinh(M)+y*m*Math.cosh(M))/y}}return{calculatedDuration:f&&c||null,next:y=>{const S=T(y);if(f)o.done=y>=c;else{let b=0;p<1&&(b=y===0?G(d):zs(T,y,S));const M=Math.abs(b)<=n,N=Math.abs(r-S)<=e;o.done=M&&N}return o.value=o.done?r:S,o}}}function mn({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const h=t[0],f={done:!1,value:h},d=A=>a!==void 0&&Al,p=A=>a===void 0?l:l===void 0||Math.abs(a-A)-m*Math.exp(-A/s),y=A=>g+T(A),S=A=>{const k=T(A),O=y(A);f.done=Math.abs(k)<=u,f.value=f.done?g:O};let b,M;const N=A=>{d(f.value)&&(b=A,M=Hs({keyframes:[f.value,p(f.value)],velocity:zs(y,A,f.value),damping:i,stiffness:r,restDelta:u,restSpeed:c}))};return N(0),{calculatedDuration:null,next:A=>{let k=!1;return!M&&b===void 0&&(k=!0,S(A),N(A)),b!==void 0&&A>=b?M.next(A-b):(!k&&S(A),f)}}}const Qo=wt(.42,0,1,1),tr=wt(0,0,.58,1),Xs=wt(.42,0,.58,1),er=t=>Array.isArray(t)&&typeof t[0]!="number",Ie=t=>Array.isArray(t)&&typeof t[0]=="number",gn={linear:L,easeIn:Qo,easeInOut:Xs,easeOut:tr,circIn:Re,circInOut:Cs,circOut:ws,backIn:De,backInOut:bs,backOut:As,anticipate:Vs},yn=t=>{if(Ie(t)){ce(t.length===4);const[e,n,s,i]=t;return wt(e,n,s,i)}else if(typeof t=="string")return ce(gn[t]!==void 0),gn[t];return t},nr=(t,e)=>n=>e(t(n)),z=(...t)=>t.reduce(nr),ft=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s},w=(t,e,n)=>t+(e-t)*n;function Jt(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function sr({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,r=0,o=0;if(!e)i=r=o=n;else{const a=n<.5?n*(1+e):n+e-n*e,l=2*n-a;i=Jt(l,a,t+1/3),r=Jt(l,a,t),o=Jt(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(o*255),alpha:s}}function Bt(t,e){return n=>n>0?e:t}const Qt=(t,e,n)=>{const s=t*t,i=n*(e*e-s)+s;return i<0?0:Math.sqrt(i)},ir=[de,nt,rt],or=t=>ir.find(e=>e.test(t));function vn(t){const e=or(t);if(!e)return!1;let n=e.parse(t);return e===rt&&(n=sr(n)),n}const Tn=(t,e)=>{const n=vn(t),s=vn(e);if(!n||!s)return Bt(t,e);const i={...n};return r=>(i.red=Qt(n.red,s.red,r),i.green=Qt(n.green,s.green,r),i.blue=Qt(n.blue,s.blue,r),i.alpha=w(n.alpha,s.alpha,r),nt.transform(i))},ge=new Set(["none","hidden"]);function rr(t,e){return ge.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function ar(t,e){return n=>w(t,e,n)}function Ne(t){return typeof t=="number"?ar:typeof t=="string"?Ee(t)?Bt:R.test(t)?Tn:cr:Array.isArray(t)?Ys:typeof t=="object"?R.test(t)?Tn:lr:Bt}function Ys(t,e){const n=[...t],s=n.length,i=t.map((r,o)=>Ne(r)(r,e[o]));return r=>{for(let o=0;o{for(const r in s)n[r]=s[r](i);return n}}function ur(t,e){var n;const s=[],i={color:0,var:0,number:0};for(let r=0;r{const n=Z.createTransformer(e),s=At(t),i=At(e);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?ge.has(t)&&!i.values.length||ge.has(e)&&!s.values.length?rr(t,e):z(Ys(ur(s,i),i.values),n):Bt(t,e)};function qs(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?w(t,e,n):Ne(t)(t,e)}function hr(t,e,n){const s=[],i=n||qs,r=t.length-1;for(let o=0;oe[0];if(r===2&&t[0]===t[1])return()=>e[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());const o=hr(e,s,i),a=o.length,l=u=>{let c=0;if(a>1)for(;cl(q(t[0],t[r-1],u)):l}function dr(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=ft(0,e,s);t.push(w(n,1,i))}}function pr(t){const e=[0];return dr(e,t.length-1),e}function mr(t,e){return t.map(n=>n*e)}function gr(t,e){return t.map(()=>e||Xs).splice(0,t.length-1)}function kt({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=er(s)?s.map(yn):yn(s),r={done:!1,value:e[0]},o=mr(n&&n.length===e.length?n:pr(e),t),a=fr(o,e,{ease:Array.isArray(i)?i:gr(e,i)});return{calculatedDuration:t,next:l=>(r.value=a(l),r.done=l>=t,r)}}const xn=2e4;function yr(t){let e=0;const n=50;let s=t.next(e);for(;!s.done&&e=xn?1/0:e}const vr=t=>{const e=({timestamp:n})=>t(n);return{start:()=>V.update(e,!0),stop:()=>Y(e),now:()=>D.isProcessing?D.timestamp:_.now()}},Tr={decay:mn,inertia:mn,tween:kt,keyframes:kt,spring:Hs},xr=t=>t/100;class Ue extends Gs{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,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:s,element:i,keyframes:r}=this.options,o=i?.KeyframeResolver||Le,a=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new o(r,a,n,s,i),this.resolver.scheduleResolve()}initPlayback(e){const{type:n="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=this.options,a=je(n)?n:Tr[n]||kt;let l,u;a!==kt&&typeof e[0]!="number"&&(l=z(xr,qs(e[0],e[1])),e=[0,100]);const c=a({...this.options,keyframes:e});r==="mirror"&&(u=a({...this.options,keyframes:[...e].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=yr(c));const{calculatedDuration:h}=c,f=h+i,d=f*(s+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:h,resolvedDuration:f,totalDuration:d}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:s}=this;if(!s){const{keyframes:A}=this.options;return{done:!0,value:A[A.length-1]}}const{finalKeyframe:i,generator:r,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:h}=s;if(this.startTime===null)return r.next(0);const{delay:f,repeat:d,repeatType:p,repeatDelay:m,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const g=this.currentTime-f*(this.speed>=0?1:-1),T=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let y=this.currentTime,S=r;if(d){const A=Math.min(this.currentTime,c)/h;let k=Math.floor(A),O=A%1;!O&&A>=1&&(O=1),O===1&&k--,k=Math.min(k,d+1),!!(k%2)&&(p==="reverse"?(O=1-O,m&&(O-=m/h)):p==="mirror"&&(S=o)),y=q(0,1,O)*h}const b=T?{done:!1,value:l[0]}:S.next(y);a&&(b.value=a(b.value));let{done:M}=b;!T&&u!==null&&(M=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const N=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&M);return N&&i!==void 0&&(b.value=Wt(l,this.options,i)),v&&v(b.value),N&&this.finish(),b}get duration(){const{resolved:e}=this;return e?$(e.calculatedDuration):0}get time(){return $(this.currentTime)}set time(e){e=G(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=$(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=vr,onPlay:n,startTime:s}=this.options;this.driver||(this.driver=e(r=>this.tick(r))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=s??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&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 Pr=new Set(["opacity","clipPath","filter","transform"]),Sr=10,Ar=(t,e)=>{let n="";const s=Math.max(Math.round(e/Sr),2);for(let i=0;i(e===void 0&&(e=t()),e)}const br={linearEasing:void 0};function Vr(t,e){const n=_e(t);return()=>{var s;return(s=br[e])!==null&&s!==void 0?s:n()}}const Ot=Vr(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function Zs(t){return!!(typeof t=="function"&&Ot()||!t||typeof t=="string"&&(t in ye||Ot())||Ie(t)||Array.isArray(t)&&t.every(Zs))}const gt=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,ye={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:gt([0,.65,.55,1]),circOut:gt([.55,0,1,.45]),backIn:gt([.31,.01,.66,-.59]),backOut:gt([.33,1.53,.69,.99])};function Js(t,e){if(t)return typeof t=="function"&&Ot()?Ar(t,e):Ie(t)?gt(t):Array.isArray(t)?t.map(n=>Js(n,e)||ye.easeOut):ye[t]}function wr(t,e,n,{delay:s=0,duration:i=300,repeat:r=0,repeatType:o="loop",ease:a,times:l}={}){const u={[e]:n};l&&(u.offset=l);const c=Js(a,i);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:s,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:r+1,direction:o==="reverse"?"alternate":"normal"})}function Pn(t,e){t.timeline=e,t.onfinish=null}const Cr=_e(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),jt=10,Mr=2e4;function Dr(t){return je(t.type)||t.type==="spring"||!Zs(t.ease)}function Rr(t,e){const n=new Ue({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:t[0]};const i=[];let r=0;for(;!s.done&&rthis.onKeyframesResolved(o,a),n,s,i),this.resolver.scheduleResolve()}initPlayback(e,n){var s;let{duration:i=300,times:r,ease:o,type:a,motionValue:l,name:u,startTime:c}=this.options;if(!(!((s=l.owner)===null||s===void 0)&&s.current))return!1;if(typeof o=="string"&&Ot()&&Er(o)&&(o=Qs[o]),Dr(this.options)){const{onComplete:f,onUpdate:d,motionValue:p,element:m,...v}=this.options,g=Rr(e,v);e=g.keyframes,e.length===1&&(e[1]=e[0]),i=g.duration,r=g.times,o=g.ease,a="keyframes"}const h=wr(l.owner.current,u,e,{...this.options,duration:i,times:r,ease:o});return h.startTime=c??this.calcStartTime(),this.pendingTimeline?(Pn(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{const{onComplete:f}=this.options;l.set(Wt(e,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:i,times:r,type:a,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return $(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return $(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.currentTime=G(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:n}=e;return n.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return L;const{animation:s}=n;Pn(s,e)}return L}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:s,duration:i,type:r,ease:o,times:a}=e;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:h,element:f,...d}=this.options,p=new Ue({...d,keyframes:s,duration:i,type:r,ease:o,times:a,isGenerator:!0}),m=G(this.time);u.setWithVelocity(p.sample(m-jt).value,p.sample(m).value,jt)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:s,repeatDelay:i,repeatType:r,damping:o,type:a}=e;return Cr()&&s&&Pr.has(s)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&r!=="mirror"&&o!==0&&a!=="inertia"}}const Lr=_e(()=>window.ScrollTimeline!==void 0);class Fr{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,n){return Promise.all(this.animations).then(e).catch(n)}getAll(e){return this.animations[0][e]}setAll(e,n){for(let s=0;sLr()&&i.attachTimeline?i.attachTimeline(e):n(i));return()=>{s.forEach((i,r)=>{i&&i(),this.animations[r].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 n=0;nn[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function Br({when:t,delay:e,delayChildren:n,staggerChildren:s,staggerDirection:i,repeat:r,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const Ke=(t,e,n,s={},i,r)=>o=>{const a=Me(s,t)||{},l=a.delay||s.delay||0;let{elapsed:u=0}=s;u=u-G(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:f=>{e.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:r?void 0:i};Br(a)||(c={...c,...Zi(t,c)}),c.duration&&(c.duration=G(c.duration)),c.repeatDelay&&(c.repeatDelay=G(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let h=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(h=!0)),h&&!r&&e.get()!==void 0){const f=Wt(c.keyframes,a);if(f!==void 0)return V.update(()=>{c.onUpdate(f),c.onComplete()}),new Fr([])}return!r&&Sn.supports(c)?new Sn(c):new Ue(c)},kr=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),Or=t=>ue(t)?t[t.length-1]||0:t;function We(t,e){t.indexOf(e)===-1&&t.push(e)}function Ge(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class $e{constructor(){this.subscriptions=[]}add(e){return We(this.subscriptions,e),()=>Ge(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let r=0;r!isNaN(parseFloat(t));class Ir{constructor(e,n={}){this.version="11.11.10",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,i=!0)=>{const r=_.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=_.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=jr(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new $e);const s=this.events[e].add(n);return e==="change"?()=>{s(),V.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=_.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>An)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,An);return $s(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),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 bt(t,e){return new Ir(t,e)}function Nr(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,bt(n))}function Ur(t,e){const n=Kt(t,e);let{transitionEnd:s={},transition:i={},...r}=n||{};r={...r,...s};for(const o in r){const a=Or(r[o]);Nr(t,o,a)}}const ze=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),_r="framerAppearId",ti="data-"+ze(_r);function ei(t){return t.props[ti]}const E=t=>!!(t&&t.getVelocity);function Kr(t){return!!(E(t)&&t.add)}function ve(t,e){const n=t.getValue("willChange");if(Kr(n))return n.add(e)}function Wr({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}function ni(t,e,{delay:n=0,transitionOverride:s,type:i}={}){var r;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;s&&(o=s);const u=[],c=i&&t.animationState&&t.animationState.getState()[i];for(const h in l){const f=t.getValue(h,(r=t.latestValues[h])!==null&&r!==void 0?r:null),d=l[h];if(d===void 0||c&&Wr(c,h))continue;const p={delay:n,...Me(o||{},h)};let m=!1;if(window.MotionHandoffAnimation){const g=ei(t);if(g){const T=window.MotionHandoffAnimation(g,h,V);T!==null&&(p.startTime=T,m=!0)}}ve(t,h),f.start(Ke(h,f,d,t.shouldReduceMotion&&it.has(h)?{type:!1}:p,t,m));const v=f.animation;v&&u.push(v)}return a&&Promise.all(u).then(()=>{V.update(()=>{a&&Ur(t,a)})}),u}function Te(t,e,n={}){var s;const i=Kt(t,e,n.type==="exit"?(s=t.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:r=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const o=i?()=>Promise.all(ni(t,i,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:h,staggerDirection:f}=r;return Gr(t,e,c+u,h,f,n)}:()=>Promise.resolve(),{when:l}=r;if(l){const[u,c]=l==="beforeChildren"?[o,a]:[a,o];return u().then(()=>c())}else return Promise.all([o(),a(n.delay)])}function Gr(t,e,n=0,s=0,i=1,r){const o=[],a=(t.variantChildren.size-1)*s,l=i===1?(u=0)=>u*s:(u=0)=>a-u*s;return Array.from(t.variantChildren).sort($r).forEach((u,c)=>{u.notify("AnimationStart",e),o.push(Te(u,e,{...r,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",e)))}),Promise.all(o)}function $r(t,e){return t.sortNodePosition(e)}function zr(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const i=e.map(r=>Te(t,r,n));s=Promise.all(i)}else if(typeof e=="string")s=Te(t,e,n);else{const i=typeof e=="function"?Kt(t,e,n.custom):e;s=Promise.all(ni(t,i,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}const Hr=Ce.length;function si(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?si(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;nPromise.all(e.map(({animation:n,options:s})=>zr(t,n,s)))}function Zr(t){let e=qr(t),n=bn(),s=!0;const i=l=>(u,c)=>{var h;const f=Kt(t,c,l==="exit"?(h=t.presenceContext)===null||h===void 0?void 0:h.custom:void 0);if(f){const{transition:d,transitionEnd:p,...m}=f;u={...u,...m,...p}}return u};function r(l){e=l(t)}function o(l){const{props:u}=t,c=si(t.parent)||{},h=[],f=new Set;let d={},p=1/0;for(let v=0;vp&&S,k=!1;const O=Array.isArray(y)?y:[y];let ot=O.reduce(i(g),{});b===!1&&(ot={});const{prevResolvedValues:nn={}}=T,$i={...nn,...ot},sn=F=>{A=!0,f.has(F)&&(k=!0,f.delete(F)),T.needsAnimating[F]=!0;const K=t.getValue(F);K&&(K.liveStyle=!1)};for(const F in $i){const K=ot[F],Ht=nn[F];if(d.hasOwnProperty(F))continue;let Xt=!1;ue(K)&&ue(Ht)?Xt=!vs(K,Ht):Xt=K!==Ht,Xt?K!=null?sn(F):f.add(F):K!==void 0&&f.has(F)?sn(F):T.protectedKeys[F]=!0}T.prevProp=y,T.prevResolvedValues=ot,T.isActive&&(d={...d,...ot}),s&&t.blockInitialAnimation&&(A=!1),A&&(!(M&&N)||k)&&h.push(...O.map(F=>({animation:F,options:{type:g}})))}if(f.size){const v={};f.forEach(g=>{const T=t.getBaseTarget(g),y=t.getValue(g);y&&(y.liveStyle=!0),v[g]=T??null}),h.push({animation:v})}let m=!!h.length;return s&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(m=!1),s=!1,m?e(h):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=t.variantChildren)===null||c===void 0||c.forEach(f=>{var d;return(d=f.animationState)===null||d===void 0?void 0:d.setActive(l,u)}),n[l].isActive=u;const h=o(l);for(const f in n)n[f].protectedKeys={};return h}return{animateChanges:o,setActive:a,setAnimateFunction:r,getState:()=>n,reset:()=>{n=bn(),s=!0}}}function Jr(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!vs(e,t):!1}function Q(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function bn(){return{animate:Q(!0),whileInView:Q(),whileHover:Q(),whileTap:Q(),whileDrag:Q(),whileFocus:Q(),exit:Q()}}class J{constructor(e){this.isMounted=!1,this.node=e}update(){}}class Qr extends J{constructor(e){super(e),e.animationState||(e.animationState=Zr(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();_t(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let ta=0;class ea extends J{constructor(){super(...arguments),this.id=ta++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===s)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const na={animation:{Feature:Qr},exit:{Feature:ea}},ii=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function Gt(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}const sa=t=>e=>ii(e)&&t(e,Gt(e));function W(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}function H(t,e,n,s){return W(t,e,sa(n),s)}const Vn=(t,e)=>Math.abs(t-e);function ia(t,e){const n=Vn(t.x,e.x),s=Vn(t.y,e.y);return Math.sqrt(n**2+s**2)}class oi{constructor(e,n,{transformPagePoint:s,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 h=ee(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=ia(h.offset,{x:0,y:0})>=3;if(!f&&!d)return;const{point:p}=h,{timestamp:m}=D;this.history.push({...p,timestamp:m});const{onStart:v,onMove:g}=this.handlers;f||(v&&v(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,h)},this.handlePointerMove=(h,f)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=te(f,this.transformPagePoint),V.update(this.updatePoint,!0)},this.handlePointerUp=(h,f)=>{this.end();const{onEnd:d,onSessionEnd:p,resumeAnimation:m}=this.handlers;if(this.dragSnapToOrigin&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=ee(h.type==="pointercancel"?this.lastMoveEventInfo:te(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(h,v),p&&p(h,v)},!ii(e))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=s,this.contextWindow=i||window;const o=Gt(e),a=te(o,this.transformPagePoint),{point:l}=a,{timestamp:u}=D;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(e,ee(a,this.history)),this.removeListeners=z(H(this.contextWindow,"pointermove",this.handlePointerMove),H(this.contextWindow,"pointerup",this.handlePointerUp),H(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Y(this.updatePoint)}}function te(t,e){return e?{point:e(t.point)}:t}function wn(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ee({point:t},e){return{point:t,delta:wn(t,ri(e)),offset:wn(t,oa(e)),velocity:ra(e,.1)}}function oa(t){return t[0]}function ri(t){return t[t.length-1]}function ra(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const i=ri(t);for(;n>=0&&(s=t[n],!(i.timestamp-s.timestamp>G(e)));)n--;if(!s)return{x:0,y:0};const r=$(i.timestamp-s.timestamp);if(r===0)return{x:0,y:0};const o={x:(i.x-s.x)/r,y:(i.y-s.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function ai(t){let e=null;return()=>{const n=()=>{e=null};return e===null?(e=t,n):!1}}const Cn=ai("dragHorizontal"),Mn=ai("dragVertical");function li(t){let e=!1;if(t==="y")e=Mn();else if(t==="x")e=Cn();else{const n=Cn(),s=Mn();n&&s?e=()=>{n(),s()}:(n&&n(),s&&s())}return e}function ui(){const t=li(!0);return t?(t(),!1):!0}function at(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}const ci=1e-4,aa=1-ci,la=1+ci,hi=.01,ua=0-hi,ca=0+hi;function B(t){return t.max-t.min}function ha(t,e,n){return Math.abs(t-e)<=n}function Dn(t,e,n,s=.5){t.origin=s,t.originPoint=w(e.min,e.max,t.origin),t.scale=B(n)/B(e),t.translate=w(n.min,n.max,t.origin)-t.originPoint,(t.scale>=aa&&t.scale<=la||isNaN(t.scale))&&(t.scale=1),(t.translate>=ua&&t.translate<=ca||isNaN(t.translate))&&(t.translate=0)}function Tt(t,e,n,s){Dn(t.x,e.x,n.x,s?s.originX:void 0),Dn(t.y,e.y,n.y,s?s.originY:void 0)}function Rn(t,e,n){t.min=n.min+e.min,t.max=t.min+B(e)}function fa(t,e,n){Rn(t.x,e.x,n.x),Rn(t.y,e.y,n.y)}function En(t,e,n){t.min=e.min-n.min,t.max=t.min+B(e)}function xt(t,e,n){En(t.x,e.x,n.x),En(t.y,e.y,n.y)}function da(t,{min:e,max:n},s){return e!==void 0&&tn&&(t=s?w(n,t,s.max):Math.min(t,n)),t}function Ln(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function pa(t,{top:e,left:n,bottom:s,right:i}){return{x:Ln(t.x,n,i),y:Ln(t.y,e,s)}}function Fn(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.mins?n=ft(e.min,e.max-s,t.min):s>i&&(n=ft(t.min,t.max-i,e.min)),q(0,1,n)}function ya(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const xe=.35;function va(t=xe){return t===!1?t=0:t===!0&&(t=xe),{x:Bn(t,"left","right"),y:Bn(t,"top","bottom")}}function Bn(t,e,n){return{min:kn(t,e),max:kn(t,n)}}function kn(t,e){return typeof t=="number"?t:t[e]||0}const On=()=>({translate:0,scale:1,origin:0,originPoint:0}),lt=()=>({x:On(),y:On()}),jn=()=>({min:0,max:0}),C=()=>({x:jn(),y:jn()});function I(t){return[t("x"),t("y")]}function fi({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function Ta({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function xa(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function ne(t){return t===void 0||t===1}function Pe({scale:t,scaleX:e,scaleY:n}){return!ne(t)||!ne(e)||!ne(n)}function tt(t){return Pe(t)||di(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function di(t){return In(t.x)||In(t.y)}function In(t){return t&&t!=="0%"}function It(t,e,n){const s=t-n,i=e*s;return n+i}function Nn(t,e,n,s,i){return i!==void 0&&(t=It(t,i,s)),It(t,n,s)+e}function Se(t,e=0,n=1,s,i){t.min=Nn(t.min,e,n,s,i),t.max=Nn(t.max,e,n,s,i)}function pi(t,{x:e,y:n}){Se(t.x,e.translate,e.scale,e.originPoint),Se(t.y,n.translate,n.scale,n.originPoint)}const Un=.999999999999,_n=1.0000000000001;function Pa(t,e,n,s=!1){const i=n.length;if(!i)return;e.x=e.y=1;let r,o;for(let a=0;aUn&&(e.x=1),e.y<_n&&e.y>Un&&(e.y=1)}function ut(t,e){t.min=t.min+e,t.max=t.max+e}function Kn(t,e,n,s,i=.5){const r=w(t.min,t.max,i);Se(t,e,n,r,s)}function ct(t,e){Kn(t.x,e.x,e.scaleX,e.scale,e.originX),Kn(t.y,e.y,e.scaleY,e.scale,e.originY)}function mi(t,e){return fi(xa(t.getBoundingClientRect(),e))}function Sa(t,e,n){const s=mi(t,n),{scroll:i}=e;return i&&(ut(s.x,i.offset.x),ut(s.y,i.offset.y)),s}const gi=({current:t})=>t?t.ownerDocument.defaultView:null,Aa=new WeakMap;class ba{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=C(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Gt(c,"page").point)},r=(c,h)=>{const{drag:f,dragPropagation:d,onDragStart:p}=this.getProps();if(f&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=li(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),I(v=>{let g=this.getAxisMotionValue(v).get()||0;if(U.test(g)){const{projection:T}=this.visualElement;if(T&&T.layout){const y=T.layout.layoutBox[v];y&&(g=B(y)*(parseFloat(g)/100))}}this.originPoint[v]=g}),p&&V.postRender(()=>p(c,h)),ve(this.visualElement,"transform");const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},o=(c,h)=>{const{dragPropagation:f,dragDirectionLock:d,onDirectionLock:p,onDrag:m}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:v}=h;if(d&&this.currentDirection===null){this.currentDirection=Va(v),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",h.point,v),this.updateAxis("y",h.point,v),this.visualElement.render(),m&&m(c,h)},a=(c,h)=>this.stop(c,h),l=()=>I(c=>{var h;return this.getAnimationState(c)==="paused"&&((h=this.getAxisMotionValue(c).animation)===null||h===void 0?void 0:h.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new oi(e,{onSessionStart:i,onStart:r,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:gi(this.visualElement)})}stop(e,n){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:r}=this.getProps();r&&V.postRender(()=>r(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,s){const{drag:i}=this.getProps();if(!s||!Rt(e,i,this.currentDirection))return;const r=this.getAxisMotionValue(e);let o=this.originPoint[e]+s[e];this.constraints&&this.constraints[e]&&(o=da(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:s}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,r=this.constraints;n&&at(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=pa(i.layoutBox,n):this.constraints=!1,this.elastic=va(s),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&I(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=ya(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!at(e))return!1;const s=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=Sa(s,i.root,this.visualElement.getTransformPagePoint());let o=ma(i.layout.layoutBox,r);if(n){const a=n(Ta(o));this.hasMutatedConstraints=!!a,a&&(o=fi(a))}return o}startAnimation(e){const{drag:n,dragMomentum:s,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=I(c=>{if(!Rt(c,n,this.currentDirection))return;let h=l&&l[c]||{};o&&(h={min:0,max:0});const f=i?200:1e6,d=i?40:1e7,p={type:"inertia",velocity:s?e[c]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...r,...h};return this.startAxisValueAnimation(c,p)});return Promise.all(u).then(a)}startAxisValueAnimation(e,n){const s=this.getAxisMotionValue(e);return ve(this.visualElement,e),s.start(Ke(e,s,0,n,this.visualElement,!1))}stopAnimation(){I(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){I(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,s=this.visualElement.getProps(),i=s[n];return i||this.visualElement.getValue(e,(s.initial?s.initial[e]:void 0)||0)}snapToCursor(e){I(n=>{const{drag:s}=this.getProps();if(!Rt(n,s,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n];r.set(e[n]-w(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!at(n)||!s||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};I(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=ga({min:l,max:l},this.constraints[o])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),I(o=>{if(!Rt(o,e,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(w(l,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;Aa.set(this.visualElement,this);const e=this.visualElement.current,n=H(e,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),s=()=>{const{dragConstraints:l}=this.getProps();at(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",s);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),V.read(s);const o=W(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(I(c=>{const h=this.getAxisMotionValue(c);h&&(this.originPoint[c]+=l[c].translate,h.set(h.get()+l[c].translate))}),this.visualElement.render())});return()=>{o(),n(),r(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=xe,dragMomentum:a=!0}=e;return{...e,drag:n,dragDirectionLock:s,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:a}}}function Rt(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function Va(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class wa extends J{constructor(e){super(e),this.removeGroupControls=L,this.removeListeners=L,this.controls=new ba(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||L}unmount(){this.removeGroupControls(),this.removeListeners()}}const Wn=t=>(e,n)=>{t&&V.postRender(()=>t(e,n))};class Ca extends J{constructor(){super(...arguments),this.removePointerDownListener=L}onPointerDown(e){this.session=new oi(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:gi(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:s,onPanEnd:i}=this.node.getProps();return{onSessionStart:Wn(e),onStart:Wn(n),onMove:s,onEnd:(r,o)=>{delete this.session,i&&V.postRender(()=>i(r,o))}}}mount(){this.removePointerDownListener=H(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const He=P.createContext(null);function Ma(){const t=P.useContext(He);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:n,register:s}=t,i=P.useId();P.useEffect(()=>s(i),[]);const r=P.useCallback(()=>n&&n(i),[i,n]);return!e&&n?[!1,r]:[!0]}const yi=P.createContext({}),vi=P.createContext({}),Lt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Gn(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const mt={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(x.test(t))t=parseFloat(t);else return t;const n=Gn(t,e.target.x),s=Gn(t,e.target.y);return`${n}% ${s}%`}},Da={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,i=Z.parse(t);if(i.length>5)return s;const r=Z.createTransformer(t),o=typeof i[0]!="number"?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;i[0+o]/=a,i[1+o]/=l;const u=w(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),r(i)}},Nt={};function Ra(t){Object.assign(Nt,t)}const{schedule:Xe,cancel:xu}=Ts(queueMicrotask,!1);class Ea extends P.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s,layoutId:i}=this.props,{projection:r}=e;Ra(La),r&&(n.group&&n.group.add(r),s&&s.register&&i&&s.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Lt.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:s,drag:i,isPresent:r}=this.props,o=s.projection;return o&&(o.isPresent=r,i||e.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||V.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Xe.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),s&&s.deregister&&s.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Ti(t){const[e,n]=Ma(),s=P.useContext(yi);return le.jsx(Ea,{...t,layoutGroup:s,switchLayoutGroup:P.useContext(vi),isPresent:e,safeToRemove:n})}const La={borderRadius:{...mt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:mt,borderTopRightRadius:mt,borderBottomLeftRadius:mt,borderBottomRightRadius:mt,boxShadow:Da},xi=["TopLeft","TopRight","BottomLeft","BottomRight"],Fa=xi.length,$n=t=>typeof t=="string"?parseFloat(t):t,zn=t=>typeof t=="number"||x.test(t);function Ba(t,e,n,s,i,r){i?(t.opacity=w(0,n.opacity!==void 0?n.opacity:1,ka(s)),t.opacityExit=w(e.opacity!==void 0?e.opacity:1,0,Oa(s))):r&&(t.opacity=w(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,s));for(let o=0;ose?1:n(ft(t,e,s))}function Xn(t,e){t.min=e.min,t.max=e.max}function j(t,e){Xn(t.x,e.x),Xn(t.y,e.y)}function Yn(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function qn(t,e,n,s,i){return t-=e,t=It(t,1/n,s),i!==void 0&&(t=It(t,1/i,s)),t}function ja(t,e=0,n=1,s=.5,i,r=t,o=t){if(U.test(e)&&(e=parseFloat(e),e=w(o.min,o.max,e/100)-o.min),typeof e!="number")return;let a=w(r.min,r.max,s);t===r&&(a-=e),t.min=qn(t.min,e,n,a,i),t.max=qn(t.max,e,n,a,i)}function Zn(t,e,[n,s,i],r,o){ja(t,e[n],e[s],e[i],e.scale,r,o)}const Ia=["x","scaleX","originX"],Na=["y","scaleY","originY"];function Jn(t,e,n,s){Zn(t.x,e,Ia,n?n.x:void 0,s?s.x:void 0),Zn(t.y,e,Na,n?n.y:void 0,s?s.y:void 0)}function Qn(t){return t.translate===0&&t.scale===1}function Si(t){return Qn(t.x)&&Qn(t.y)}function ts(t,e){return t.min===e.min&&t.max===e.max}function Ua(t,e){return ts(t.x,e.x)&&ts(t.y,e.y)}function es(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Ai(t,e){return es(t.x,e.x)&&es(t.y,e.y)}function ns(t){return B(t.x)/B(t.y)}function ss(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class _a{constructor(){this.members=[]}add(e){We(this.members,e),e.scheduleRender()}remove(e){if(Ge(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let s;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){s=r;break}}return s?(this.promote(s),!0):!1}promote(e,n){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.instance&&s.scheduleRender(),e.scheduleRender(),e.resumeFrom=s,n&&(e.resumeFrom.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:s}=e;n.onExitComplete&&n.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Ka(t,e,n){let s="";const i=t.x.translate/e.x,r=t.y.translate/e.y,o=n?.z||0;if((i||r||o)&&(s=`translate3d(${i}px, ${r}px, ${o}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:h,rotateY:f,skewX:d,skewY:p}=n;u&&(s=`perspective(${u}px) ${s}`),c&&(s+=`rotate(${c}deg) `),h&&(s+=`rotateX(${h}deg) `),f&&(s+=`rotateY(${f}deg) `),d&&(s+=`skewX(${d}deg) `),p&&(s+=`skewY(${p}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return(a!==1||l!==1)&&(s+=`scale(${a}, ${l})`),s||"none"}const Wa=(t,e)=>t.depth-e.depth;class Ga{constructor(){this.children=[],this.isDirty=!1}add(e){We(this.children,e),this.isDirty=!0}remove(e){Ge(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Wa),this.isDirty=!1,this.children.forEach(e)}}function Ft(t){const e=E(t)?t.get():t;return kr(e)?e.toValue():e}function $a(t,e){const n=_.now(),s=({timestamp:i})=>{const r=i-n;r>=e&&(Y(s),t(r-e))};return V.read(s,!0),()=>Y(s)}function za(t){return t instanceof SVGElement&&t.tagName!=="svg"}function Ha(t,e,n){const s=E(t)?t:bt(t);return s.start(Ke("",s,e,n)),s.animation}const et={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},yt=typeof window<"u"&&window.MotionDebug!==void 0,se=["","X","Y","Z"],Xa={visibility:"hidden"},is=1e3;let Ya=0;function ie(t,e,n,s){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),s&&(s[t]=0))}function bi(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=ei(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",V,!(i||r))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&bi(s)}function Vi({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(o={},a=e?.()){this.id=Ya++,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,yt&&(et.totalNodes=et.resolvedTargetDeltas=et.recalculatedProjection=0),this.nodes.forEach(Ja),this.nodes.forEach(sl),this.nodes.forEach(il),this.nodes.forEach(Qa),yt&&window.MotionDebug.record(et)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;t(o,()=>{this.root.updateBlockedByResize=!0,h&&h(),h=$a(f,250),Lt.hasAnimatedSinceResize&&(Lt.hasAnimatedSinceResize=!1,this.nodes.forEach(rs))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:h,hasLayoutChanged:f,hasRelativeTargetChanged:d,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||c.getDefaultTransition()||ul,{onLayoutAnimationStart:v,onLayoutAnimationComplete:g}=c.getProps(),T=!this.targetLayout||!Ai(this.targetLayout,p)||d,y=!f&&d;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||y||f&&(T||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(h,y);const S={...Me(m,"layout"),onPlay:v,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else f||rs(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Y(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ol),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&bi(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const b=S/1e3;as(h.x,o.x,b),as(h.y,o.y,b),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(xt(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),al(this.relativeTarget,this.relativeTargetOrigin,f,b),y&&Ua(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=C()),j(y,this.relativeTarget)),m&&(this.animationValues=c,Ba(c,u,this.latestValues,b,T,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=b},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Y(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=V.update(()=>{Lt.hasAnimatedSinceResize=!0,this.currentAnimation=Ha(0,is,{...o,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onComplete:()=>{o.onComplete&&o.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 o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(is),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&wi(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||C();const h=B(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+h;const f=B(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}j(a,l),ct(a,c),Tt(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new _a),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&ie("z",o,u,this.animationValues);for(let c=0;c{var a;return(a=o.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(os),this.root.sharedNodes.clear()}}}function qa(t){t.updateLayout()}function Za(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:i}=t.layout,{animationType:r}=t.options,o=n.source!==t.layout.source;r==="size"?I(h=>{const f=o?n.measuredBox[h]:n.layoutBox[h],d=B(f);f.min=s[h].min,f.max=f.min+d}):wi(r,n.layoutBox,s)&&I(h=>{const f=o?n.measuredBox[h]:n.layoutBox[h],d=B(s[h]);f.max=f.min+d,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[h].max=t.relativeTarget[h].min+d)});const a=lt();Tt(a,s,n.layoutBox);const l=lt();o?Tt(l,t.applyTransform(i,!0),n.measuredBox):Tt(l,s,n.layoutBox);const u=!Si(a);let c=!1;if(!t.resumeFrom){const h=t.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:f,layout:d}=h;if(f&&d){const p=C();xt(p,n.layoutBox,f.layoutBox);const m=C();xt(m,s,d.layoutBox),Ai(p,m)||(c=!0),h.options.layoutRoot&&(t.relativeTarget=m,t.relativeTargetOrigin=p,t.relativeParent=h)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function Ja(t){yt&&et.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Qa(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tl(t){t.clearSnapshot()}function os(t){t.clearMeasurements()}function el(t){t.isLayoutDirty=!1}function nl(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function rs(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function sl(t){t.resolveTargetDelta()}function il(t){t.calcProjection()}function ol(t){t.resetSkewAndRotation()}function rl(t){t.removeLeadSnapshot()}function as(t,e,n){t.translate=w(e.translate,0,n),t.scale=w(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function ls(t,e,n,s){t.min=w(e.min,n.min,s),t.max=w(e.max,n.max,s)}function al(t,e,n,s){ls(t.x,e.x,n.x,s),ls(t.y,e.y,n.y,s)}function ll(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const ul={duration:.45,ease:[.4,0,.1,1]},us=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),cs=us("applewebkit/")&&!us("chrome/")?Math.round:L;function hs(t){t.min=cs(t.min),t.max=cs(t.max)}function cl(t){hs(t.x),hs(t.y)}function wi(t,e,n){return t==="position"||t==="preserve-aspect"&&!ha(ns(e),ns(n),.2)}function hl(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}const fl=Vi({attachResizeListener:(t,e)=>W(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),oe={current:void 0},Ci=Vi({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!oe.current){const t=new fl({});t.mount(window),t.setOptions({layoutScroll:!0}),oe.current=t}return oe.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),dl={pan:{Feature:Ca},drag:{Feature:wa,ProjectionNode:Ci,MeasureLayout:Ti}};function fs(t,e){const n=e?"pointerenter":"pointerleave",s=e?"onHoverStart":"onHoverEnd",i=(r,o)=>{if(r.pointerType==="touch"||ui())return;const a=t.getProps();t.animationState&&a.whileHover&&t.animationState.setActive("whileHover",e);const l=a[s];l&&V.postRender(()=>l(r,o))};return H(t.current,n,i,{passive:!t.getProps()[s]})}class pl extends J{mount(){this.unmount=z(fs(this.node,!0),fs(this.node,!1))}unmount(){}}class ml extends J{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=z(W(this.node.current,"focus",()=>this.onFocus()),W(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Mi=(t,e)=>e?t===e?!0:Mi(t,e.parentElement):!1;function re(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,Gt(n))}class gl extends J{constructor(){super(...arguments),this.removeStartListeners=L,this.removeEndListeners=L,this.removeAccessibleListeners=L,this.startPointerPress=(e,n)=>{if(this.isPressing)return;this.removeEndListeners();const s=this.node.getProps(),r=H(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:h}=this.node.getProps(),f=!h&&!Mi(this.node.current,a.target)?c:u;f&&V.update(()=>f(a,l))},{passive:!(s.onTap||s.onPointerUp)}),o=H(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(s.onTapCancel||s.onPointerCancel)});this.removeEndListeners=z(r,o),this.startPress(e,n)},this.startAccessiblePress=()=>{const e=r=>{if(r.key!=="Enter"||this.isPressing)return;const o=a=>{a.key!=="Enter"||!this.checkPressEnd()||re("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&V.postRender(()=>c(l,u))})};this.removeEndListeners(),this.removeEndListeners=W(this.node.current,"keyup",o),re("down",(a,l)=>{this.startPress(a,l)})},n=W(this.node.current,"keydown",e),s=()=>{this.isPressing&&re("cancel",(r,o)=>this.cancelPress(r,o))},i=W(this.node.current,"blur",s);this.removeAccessibleListeners=z(n,i)}}startPress(e,n){this.isPressing=!0;const{onTapStart:s,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),s&&V.postRender(()=>s(e,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!ui()}cancelPress(e,n){if(!this.checkPressEnd())return;const{onTapCancel:s}=this.node.getProps();s&&V.postRender(()=>s(e,n))}mount(){const e=this.node.getProps(),n=H(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),s=W(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=z(n,s)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Ae=new WeakMap,ae=new WeakMap,yl=t=>{const e=Ae.get(t.target);e&&e(t)},vl=t=>{t.forEach(yl)};function Tl({root:t,...e}){const n=t||document;ae.has(n)||ae.set(n,{});const s=ae.get(n),i=JSON.stringify(e);return s[i]||(s[i]=new IntersectionObserver(vl,{root:t,...e})),s[i]}function xl(t,e,n){const s=Tl(e);return Ae.set(t,n),s.observe(t),()=>{Ae.delete(t),s.unobserve(t)}}const Pl={some:0,all:1};class Sl extends J{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:s,amount:i="some",once:r}=e,o={root:n?n.current:void 0,rootMargin:s,threshold:typeof i=="number"?i:Pl[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,r&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:h}=this.node.getProps(),f=u?c:h;f&&f(l)};return xl(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(Al(e,n))&&this.startObserver()}unmount(){}}function Al({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const bl={inView:{Feature:Sl},tap:{Feature:gl},focus:{Feature:ml},hover:{Feature:pl}},Vl={layout:{ProjectionNode:Ci,MeasureLayout:Ti}},Di=P.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),$t=P.createContext({}),Ye=typeof window<"u",wl=Ye?P.useLayoutEffect:P.useEffect,Ri=P.createContext({strict:!1});function Cl(t,e,n,s,i){var r,o;const{visualElement:a}=P.useContext($t),l=P.useContext(Ri),u=P.useContext(He),c=P.useContext(Di).reducedMotion,h=P.useRef();s=s||l.renderer,!h.current&&s&&(h.current=s(t,{visualState:e,parent:a,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:c}));const f=h.current,d=P.useContext(vi);f&&!f.projection&&i&&(f.type==="html"||f.type==="svg")&&Ml(h.current,n,i,d),P.useInsertionEffect(()=>{f&&f.update(n,u)});const p=n[ti],m=P.useRef(!!p&&!(!((r=window.MotionHandoffIsComplete)===null||r===void 0)&&r.call(window,p))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,p)));return wl(()=>{f&&(window.MotionIsMounted=!0,f.updateFeatures(),Xe.render(f.render),m.current&&f.animationState&&f.animationState.animateChanges())}),P.useEffect(()=>{f&&(!m.current&&f.animationState&&f.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var v;(v=window.MotionHandoffMarkAsComplete)===null||v===void 0||v.call(window,p)}),m.current=!1))}),f}function Ml(t,e,n,s){const{layoutId:i,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:Ei(t.parent)),t.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!o||a&&at(a),visualElement:t,animationType:typeof r=="string"?r:"both",initialPromotionConfig:s,layoutScroll:l,layoutRoot:u})}function Ei(t){if(t)return t.options.allowProjection!==!1?t.projection:Ei(t.parent)}function Dl(t,e,n){return P.useCallback(s=>{s&&t.mount&&t.mount(s),e&&(s?e.mount(s):e.unmount()),n&&(typeof n=="function"?n(s):at(n)&&(n.current=s))},[e])}function zt(t){return _t(t.animate)||Ce.some(e=>Pt(t[e]))}function Li(t){return!!(zt(t)||t.variants)}function Rl(t,e){if(zt(t)){const{initial:n,animate:s}=t;return{initial:n===!1||Pt(n)?n:void 0,animate:Pt(s)?s:void 0}}return t.inherit!==!1?e:{}}function El(t){const{initial:e,animate:n}=Rl(t,P.useContext($t));return P.useMemo(()=>({initial:e,animate:n}),[ds(e),ds(n)])}function ds(t){return Array.isArray(t)?t.join(" "):t}const ps={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"]},dt={};for(const t in ps)dt[t]={isEnabled:e=>ps[t].some(n=>!!e[n])};function Ll(t){for(const e in t)dt[e]={...dt[e],...t[e]}}const Fl=Symbol.for("motionComponentSymbol");function Bl({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:s,Component:i}){t&&Ll(t);function r(a,l){let u;const c={...P.useContext(Di),...a,layoutId:kl(a)},{isStatic:h}=c,f=El(a),d=s(a,h);if(!h&&Ye){Ol();const p=jl(c);u=p.MeasureLayout,f.visualElement=Cl(i,d,c,e,p.ProjectionNode)}return le.jsxs($t.Provider,{value:f,children:[u&&f.visualElement?le.jsx(u,{visualElement:f.visualElement,...c}):null,n(i,a,Dl(d,f.visualElement,l),d,h,f.visualElement)]})}const o=P.forwardRef(r);return o[Fl]=i,o}function kl({layoutId:t}){const e=P.useContext(yi).id;return e&&t!==void 0?e+"-"+t:t}function Ol(t,e){P.useContext(Ri).strict}function jl(t){const{drag:e,layout:n}=dt;if(!e&&!n)return{};const s={...e,...n};return{MeasureLayout:e?.isEnabled(t)||n?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const Il=["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 qe(t){return typeof t!="string"||t.includes("-")?!1:!!(Il.indexOf(t)>-1||/[A-Z]/u.test(t))}function Fi(t,{style:e,vars:n},s,i){Object.assign(t.style,e,i&&i.getProjectionStyles(s));for(const r in n)t.style.setProperty(r,n[r])}const Bi=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 ki(t,e,n,s){Fi(t,e,void 0,s);for(const i in e.attrs)t.setAttribute(Bi.has(i)?i:ze(i),e.attrs[i])}function Oi(t,{layout:e,layoutId:n}){return it.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Nt[t]||t==="opacity")}function Ze(t,e,n){var s;const{style:i}=t,r={};for(const o in i)(E(i[o])||e.style&&E(e.style[o])||Oi(o,t)||((s=n?.getValue(o))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(r[o]=i[o]);return r}function ji(t,e,n){const s=Ze(t,e,n);for(const i in t)if(E(t[i])||E(e[i])){const r=Vt.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;s[r]=t[i]}return s}function Nl(t){const e=P.useRef(null);return e.current===null&&(e.current=t()),e.current}function Ul({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},s,i,r){const o={latestValues:_l(s,i,r,t),renderState:e()};return n&&(o.mount=a=>n(s,a,o)),o}const Ii=t=>(e,n)=>{const s=P.useContext($t),i=P.useContext(He),r=()=>Ul(t,e,s,i);return n?r():Nl(r)};function _l(t,e,n,s){const i={},r=s(t,{});for(const f in r)i[f]=Ft(r[f]);let{initial:o,animate:a}=t;const l=zt(t),u=Li(t);e&&u&&!l&&t.inherit!==!1&&(o===void 0&&(o=e.initial),a===void 0&&(a=e.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const h=c?a:o;if(h&&typeof h!="boolean"&&!_t(h)){const f=Array.isArray(h)?h:[h];for(let d=0;d({style:{},transform:{},transformOrigin:{},vars:{}}),Ni=()=>({...Je(),attrs:{}}),Ui=(t,e)=>e&&typeof t=="number"?e.transform(t):t,Kl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Wl=Vt.length;function Gl(t,e,n){let s="",i=!0;for(let r=0;rtypeof t=="string"&&t.toLowerCase()==="svg",Yl={useVisualState:Ii({scrapeMotionValuesFromProps:ji,createRenderState:Ni,onMount:(t,e,{renderState:n,latestValues:s})=>{V.read(()=>{try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),V.render(()=>{tn(n,s,en(e.tagName),t.transformTemplate),ki(e,n)})}})},ql={useVisualState:Ii({scrapeMotionValuesFromProps:Ze,createRenderState:Je})};function _i(t,e,n){for(const s in e)!E(e[s])&&!Oi(s,n)&&(t[s]=e[s])}function Zl({transformTemplate:t},e){return P.useMemo(()=>{const n=Je();return Qe(n,e,t),Object.assign({},n.vars,n.style)},[e])}function Jl(t,e){const n=t.style||{},s={};return _i(s,n,t),Object.assign(s,Zl(t,e)),s}function Ql(t,e){const n={},s=Jl(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n}const tu=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 Ut(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||tu.has(t)}let Ki=t=>!Ut(t);function eu(t){t&&(Ki=e=>e.startsWith("on")?!Ut(e):t(e))}try{eu(require("@emotion/is-prop-valid").default)}catch{}function nu(t,e,n){const s={};for(const i in t)i==="values"&&typeof t.values=="object"||(Ki(i)||n===!0&&Ut(i)||!e&&!Ut(i)||t.draggable&&i.startsWith("onDrag"))&&(s[i]=t[i]);return s}function su(t,e,n,s){const i=P.useMemo(()=>{const r=Ni();return tn(r,e,en(s),t.transformTemplate),{...r.attrs,style:{...r.style}}},[e]);if(t.style){const r={};_i(r,t.style,t),i.style={...r,...i.style}}return i}function iu(t=!1){return(n,s,i,{latestValues:r},o)=>{const l=(qe(n)?su:Ql)(s,r,o,n),u=nu(s,typeof n=="string",t),c=n!==P.Fragment?{...u,...l,ref:i}:{},{children:h}=s,f=P.useMemo(()=>E(h)?h.get():h,[h]);return P.createElement(n,{...c,children:f})}}function ou(t,e){return function(s,{forwardMotionProps:i}={forwardMotionProps:!1}){const o={...qe(s)?Yl:ql,preloadedFeatures:t,useRender:iu(i),createVisualElement:e,Component:s};return Bl(o)}}const be={current:null},Wi={current:!1};function ru(){if(Wi.current=!0,!!Ye)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>be.current=t.matches;t.addListener(e),e()}else be.current=!1}function au(t,e,n){for(const s in e){const i=e[s],r=n[s];if(E(i))t.addValue(s,i);else if(E(r))t.addValue(s,bt(i,{owner:t}));else if(r!==i)if(t.hasValue(s)){const o=t.getValue(s);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=t.getStaticValue(s);t.addValue(s,bt(o!==void 0?o:i,{owner:t}))}}for(const s in n)e[s]===void 0&&t.removeValue(s);return e}const gs=new WeakMap,lu=[...Bs,R,Z],uu=t=>lu.find(Fs(t)),ys=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class cu{scrapeMotionValuesFromProps(e,n,s){return{}}constructor({parent:e,props:n,presenceContext:s,reducedMotionConfig:i,blockInitialAnimation:r,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Le,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 f=_.now();this.renderScheduledAtthis.bindToMotionValue(s,n)),Wi.current||ru(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:be.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){gs.delete(this.current),this.projection&&this.projection.unmount(),Y(this.notifyUpdate),Y(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 n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const s=it.has(e),i=n.on("change",a=>{this.latestValues[e]=a,this.props.onUpdate&&V.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),r=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),r(),o&&o(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in dt){const n=dt[e];if(!n)continue;const{isEnabled:s,Feature:i}=n;if(!this.features[e]&&i&&s(this.props)&&(this.features[e]=new i(this)),this.features[e]){const r=this.features[e];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):C()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;sn.variantChildren.delete(e)}addValue(e,n){const s=this.values.get(e);n!==s&&(s&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&n!==void 0&&(s=bt(n===null?void 0:n,{owner:this}),this.addValue(e,s)),s}readValue(e,n){var s;let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(s=this.getBaseTargetFromProps(this.props,e))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&(Ds(i)||Ms(i))?i=parseFloat(i):!uu(i)&&Z.test(n)&&(i=Ks(e,n)),this.setBaseTarget(e,E(i)?i.get():i)),E(i)?i.get():i}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:s}=this.props;let i;if(typeof s=="string"||typeof s=="object"){const o=Ve(this.props,s,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(i=o[e])}if(s&&i!==void 0)return i;const r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!E(r)?r:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new $e),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class Gi extends cu{constructor(){super(...arguments),this.KeyframeResolver=Ws}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:s}){delete n[e],delete s[e]}}function hu(t){return window.getComputedStyle(t)}class fu extends Gi{constructor(){super(...arguments),this.type="html",this.renderInstance=Fi}readValueFromInstance(e,n){if(it.has(n)){const s=Oe(n);return s&&s.default||0}else{const s=hu(e),i=(Es(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return mi(e,n)}build(e,n,s){Qe(e,n,s.transformTemplate)}scrapeMotionValuesFromProps(e,n,s){return Ze(e,n,s)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;E(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class du extends Gi{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=C}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(it.has(n)){const s=Oe(n);return s&&s.default||0}return n=Bi.has(n)?n:ze(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,s){return ji(e,n,s)}build(e,n,s){tn(e,n,this.isSVGTag,s.transformTemplate)}renderInstance(e,n,s,i){ki(e,n,s,i)}mount(e){this.isSVGTag=en(e.tagName),super.mount(e)}}const pu=(t,e)=>qe(t)?new du(e):new fu(e,{allowProjection:t!==P.Fragment}),mu=ou({...na,...bl,...dl,...Vl},pu),Su=zi(mu);export{yi as L,Di as M,He as P,wl as a,Su as m,Nl as u}; +import{j as le}from"./jsx-runtime.7faW4zRM.js";import{r as P}from"./index.DhYZZe0J.js";function zi(t){if(typeof Proxy>"u")return t;const e=new Map,n=(...s)=>t(...s);return new Proxy(n,{get:(s,i)=>i==="create"?t:(e.has(i)||e.set(i,t(i)),e.get(i))})}function _t(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}const ue=t=>Array.isArray(t);function vs(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let s=0;s{e[0][s]=n.get(),e[1][s]=n.getVelocity()}),e}function Ve(t,e,n,s){if(typeof e=="function"){const[i,r]=on(s);e=e(n!==void 0?n:t.custom,i,r)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,r]=on(s);e=e(n!==void 0?n:t.custom,i,r)}return e}function Kt(t,e,n){const s=t.getProps();return Ve(s,e,n!==void 0?n:s.custom,t)}const we=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ce=["initial",...we],Vt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],it=new Set(Vt),G=t=>t*1e3,$=t=>t/1e3,Hi={type:"spring",stiffness:500,damping:25,restSpeed:10},Xi=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),Yi={type:"keyframes",duration:.8},qi={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Zi=(t,{keyframes:e})=>e.length>2?Yi:it.has(t)?t.startsWith("scale")?Xi(e[1]):Hi:qi;function Me(t,e){return t?t[e]||t.default||t:void 0}const Ji={skipAnimations:!1,useManualTiming:!1},Qi=t=>t!==null;function Wt(t,{repeat:e,repeatType:n="loop"},s){const i=t.filter(Qi),r=e&&n!=="loop"&&e%2===1?0:i.length-1;return!r||s===void 0?i[r]:s}const L=t=>t;function to(t){let e=new Set,n=new Set,s=!1,i=!1;const r=new WeakSet;let o={delta:0,timestamp:0,isProcessing:!1};function a(u){r.has(u)&&(l.schedule(u),t()),u(o)}const l={schedule:(u,c=!1,h=!1)=>{const d=h&&s?e:n;return c&&r.add(u),d.has(u)||d.add(u),u},cancel:u=>{n.delete(u),r.delete(u)},process:u=>{if(o=u,s){i=!0;return}s=!0,[e,n]=[n,e],n.clear(),e.forEach(a),s=!1,i&&(i=!1,l.process(u))}};return l}const Mt=["read","resolveKeyframes","update","preRender","render","postRender"],eo=40;function Ts(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,o=Mt.reduce((g,T)=>(g[T]=to(r),g),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:h,postRender:f}=o,d=()=>{const g=performance.now();n=!1,i.delta=s?1e3/60:Math.max(Math.min(g-i.timestamp,eo),1),i.timestamp=g,i.isProcessing=!0,a.process(i),l.process(i),u.process(i),c.process(i),h.process(i),f.process(i),i.isProcessing=!1,n&&e&&(s=!1,t(d))},p=()=>{n=!0,s=!0,i.isProcessing||t(d)};return{schedule:Mt.reduce((g,T)=>{const y=o[T];return g[T]=(S,b=!1,M=!1)=>(n||p(),y.schedule(S,b,M)),g},{}),cancel:g=>{for(let T=0;T(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,no=1e-7,so=12;function io(t,e,n,s,i){let r,o,a=0;do o=e+(n-e)/2,r=xs(o,s,i)-t,r>0?n=o:e=o;while(Math.abs(r)>no&&++aio(r,0,1,t,n);return r=>r===0||r===1?r:xs(i(r),e,s)}const Ps=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,Ss=t=>e=>1-t(1-e),As=wt(.33,1.53,.69,.99),De=Ss(As),bs=Ps(De),Vs=t=>(t*=2)<1?.5*De(t):.5*(2-Math.pow(2,-10*(t-1))),Re=t=>1-Math.sin(Math.acos(t)),ws=Ss(Re),Cs=Ps(Re),Ms=t=>/^0[^.\s]+$/u.test(t);function oo(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||Ms(t):!0}let ce=L;const Ds=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),Rs=t=>e=>typeof e=="string"&&e.startsWith(t),Es=Rs("--"),ro=Rs("var(--"),Ee=t=>ro(t)?ao.test(t.split("/*")[0].trim()):!1,ao=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,lo=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function uo(t){const e=lo.exec(t);if(!e)return[,];const[,n,s,i]=e;return[`--${n??s}`,i]}function Ls(t,e,n=1){const[s,i]=uo(t);if(!s)return;const r=window.getComputedStyle(e).getPropertyValue(s);if(r){const o=r.trim();return Ds(o)?parseFloat(o):o}return Ee(i)?Ls(i,e,n+1):i}const q=(t,e,n)=>n>e?e:ntypeof t=="number",parse:parseFloat,transform:t=>t},St={...pt,transform:t=>q(0,1,t)},Dt={...pt,default:1},Ct=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),X=Ct("deg"),U=Ct("%"),x=Ct("px"),co=Ct("vh"),ho=Ct("vw"),rn={...U,parse:t=>U.parse(t)/100,transform:t=>U.transform(t*100)},fo=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),an=t=>t===pt||t===x,ln=(t,e)=>parseFloat(t.split(", ")[e]),un=(t,e)=>(n,{transform:s})=>{if(s==="none"||!s)return 0;const i=s.match(/^matrix3d\((.+)\)$/u);if(i)return ln(i[1],e);{const r=s.match(/^matrix\((.+)\)$/u);return r?ln(r[1],t):0}},po=new Set(["x","y","z"]),mo=Vt.filter(t=>!po.has(t));function go(t){const e=[];return mo.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}const ht={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:un(4,13),y:un(5,14)};ht.translateX=ht.x;ht.translateY=ht.y;const Fs=t=>e=>e.test(t),yo={test:t=>t==="auto",parse:t=>t},Bs=[pt,x,U,X,ho,co,yo],cn=t=>Bs.find(Fs(t)),st=new Set;let he=!1,fe=!1;function ks(){if(fe){const t=Array.from(st).filter(s=>s.needsMeasurement),e=new Set(t.map(s=>s.element)),n=new Map;e.forEach(s=>{const i=go(s);i.length&&(n.set(s,i),s.render())}),t.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const i=n.get(s);i&&i.forEach(([r,o])=>{var a;(a=s.getValue(r))===null||a===void 0||a.set(o)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}fe=!1,he=!1,st.forEach(t=>t.complete()),st.clear()}function Os(){st.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(fe=!0)})}function vo(){Os(),ks()}class Le{constructor(e,n,s,i,r,o=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=s,this.motionValue=i,this.element=r,this.isAsync=o}scheduleResolve(){this.isScheduled=!0,this.isAsync?(st.add(this),he||(he=!0,V.read(Os),V.resolveKeyframes(ks))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:s,motionValue:i}=this;for(let r=0;rMath.round(t*1e5)/1e5,Fe=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function To(t){return t==null}const xo=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,Be=(t,e)=>n=>!!(typeof n=="string"&&xo.test(n)&&n.startsWith(t)||e&&!To(n)&&Object.prototype.hasOwnProperty.call(n,e)),js=(t,e,n)=>s=>{if(typeof s!="string")return s;const[i,r,o,a]=s.match(Fe);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},Po=t=>q(0,255,t),qt={...pt,transform:t=>Math.round(Po(t))},nt={test:Be("rgb","red"),parse:js("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+qt.transform(t)+", "+qt.transform(e)+", "+qt.transform(n)+", "+vt(St.transform(s))+")"};function So(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const de={test:Be("#"),parse:So,transform:nt.transform},rt={test:Be("hsl","hue"),parse:js("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+U.transform(vt(e))+", "+U.transform(vt(n))+", "+vt(St.transform(s))+")"},R={test:t=>nt.test(t)||de.test(t)||rt.test(t),parse:t=>nt.test(t)?nt.parse(t):rt.test(t)?rt.parse(t):de.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?nt.transform(t):rt.transform(t)},Ao=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function bo(t){var e,n;return isNaN(t)&&typeof t=="string"&&(((e=t.match(Fe))===null||e===void 0?void 0:e.length)||0)+(((n=t.match(Ao))===null||n===void 0?void 0:n.length)||0)>0}const Is="number",Ns="color",Vo="var",wo="var(",hn="${}",Co=/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 At(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i=[];let r=0;const a=e.replace(Co,l=>(R.test(l)?(s.color.push(r),i.push(Ns),n.push(R.parse(l))):l.startsWith(wo)?(s.var.push(r),i.push(Vo),n.push(l)):(s.number.push(r),i.push(Is),n.push(parseFloat(l))),++r,hn)).split(hn);return{values:n,split:a,indexes:s,types:i}}function Us(t){return At(t).values}function _s(t){const{split:e,types:n}=At(t),s=e.length;return i=>{let r="";for(let o=0;otypeof t=="number"?0:t;function Do(t){const e=Us(t);return _s(t)(e.map(Mo))}const Z={test:bo,parse:Us,createTransformer:_s,getAnimatableNone:Do},Ro=new Set(["brightness","contrast","saturate","opacity"]);function Eo(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(Fe)||[];if(!s)return t;const i=n.replace(s,"");let r=Ro.has(e)?1:0;return s!==n&&(r*=100),e+"("+r+i+")"}const Lo=/\b([a-z-]*)\(.*?\)/gu,pe={...Z,getAnimatableNone:t=>{const e=t.match(Lo);return e?e.map(Eo).join(" "):t}},Fo={borderWidth:x,borderTopWidth:x,borderRightWidth:x,borderBottomWidth:x,borderLeftWidth:x,borderRadius:x,radius:x,borderTopLeftRadius:x,borderTopRightRadius:x,borderBottomRightRadius:x,borderBottomLeftRadius:x,width:x,maxWidth:x,height:x,maxHeight:x,top:x,right:x,bottom:x,left:x,padding:x,paddingTop:x,paddingRight:x,paddingBottom:x,paddingLeft:x,margin:x,marginTop:x,marginRight:x,marginBottom:x,marginLeft:x,backgroundPositionX:x,backgroundPositionY:x},Bo={rotate:X,rotateX:X,rotateY:X,rotateZ:X,scale:Dt,scaleX:Dt,scaleY:Dt,scaleZ:Dt,skew:X,skewX:X,skewY:X,distance:x,translateX:x,translateY:x,translateZ:x,x,y:x,z:x,perspective:x,transformPerspective:x,opacity:St,originX:rn,originY:rn,originZ:x},fn={...pt,transform:Math.round},ke={...Fo,...Bo,zIndex:fn,size:x,fillOpacity:St,strokeOpacity:St,numOctaves:fn},ko={...ke,color:R,backgroundColor:R,outlineColor:R,fill:R,stroke:R,borderColor:R,borderTopColor:R,borderRightColor:R,borderBottomColor:R,borderLeftColor:R,filter:pe,WebkitFilter:pe},Oe=t=>ko[t];function Ks(t,e){let n=Oe(t);return n!==pe&&(n=Z),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const Oo=new Set(["auto","none","0"]);function jo(t,e,n){let s=0,i;for(;s{n.getValue(l).set(u)}),this.resolveNoneKeyframes()}}function je(t){return typeof t=="function"}let Et;function Io(){Et=void 0}const _={now:()=>(Et===void 0&&_.set(D.isProcessing||Ji.useManualTiming?D.timestamp:performance.now()),Et),set:t=>{Et=t,queueMicrotask(Io)}},dn=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(Z.test(t)||t==="0")&&!t.startsWith("url("));function No(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n_o?this.resolvedAt:this.createdAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&vo(),this._resolved}onKeyframesResolved(e,n){this.resolvedAt=_.now(),this.hasAttemptedResolve=!0;const{name:s,type:i,velocity:r,delay:o,onComplete:a,onUpdate:l,isGenerator:u}=this.options;if(!u&&!Uo(e,s,i,r))if(o)this.options.duration=0;else{l?.(Wt(e,this.options,n)),a?.(),this.resolveFinishedPromise();return}const c=this.initPlayback(e,n);c!==!1&&(this._resolved={keyframes:e,finalKeyframe:n,...c},this.onPostResolved())}onPostResolved(){}then(e,n){return this.currentFinishedPromise.then(e,n)}updateFinishedPromise(){this.currentFinishedPromise=new Promise(e=>{this.resolveFinishedPromise=e})}}function $s(t,e){return e?t*(1e3/e):0}const Ko=5;function zs(t,e,n){const s=Math.max(e-Ko,0);return $s(n-t(s),e-s)}const Zt=.001,Wo=.01,Go=10,$o=.05,zo=1;function Ho({duration:t=800,bounce:e=.25,velocity:n=0,mass:s=1}){let i,r,o=1-e;o=q($o,zo,o),t=q(Wo,Go,$(t)),o<1?(i=u=>{const c=u*o,h=c*t,f=c-n,d=me(u,o),p=Math.exp(-h);return Zt-f/d*p},r=u=>{const h=u*o*t,f=h*n+n,d=Math.pow(o,2)*Math.pow(u,2)*t,p=Math.exp(-h),m=me(Math.pow(u,2),o);return(-i(u)+Zt>0?-1:1)*((f-d)*p)/m}):(i=u=>{const c=Math.exp(-u*t),h=(u-n)*t+1;return-Zt+c*h},r=u=>{const c=Math.exp(-u*t),h=(n-u)*(t*t);return c*h});const a=5/t,l=Yo(i,r,a);if(t=G(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{const u=Math.pow(l,2)*s;return{stiffness:u,damping:o*2*Math.sqrt(s*u),duration:t}}}const Xo=12;function Yo(t,e,n){let s=n;for(let i=1;it[n]!==void 0)}function Jo(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!pn(t,Zo)&&pn(t,qo)){const n=Ho(t);e={...e,...n,mass:1},e.isResolvedFromDuration=!0}return e}function Hs({keyframes:t,restDelta:e,restSpeed:n,...s}){const i=t[0],r=t[t.length-1],o={done:!1,value:i},{stiffness:a,damping:l,mass:u,duration:c,velocity:h,isResolvedFromDuration:f}=Jo({...s,velocity:-$(s.velocity||0)}),d=h||0,p=l/(2*Math.sqrt(a*u)),m=r-i,v=$(Math.sqrt(a/u)),g=Math.abs(m)<5;n||(n=g?.01:2),e||(e=g?.005:.5);let T;if(p<1){const y=me(v,p);T=S=>{const b=Math.exp(-p*v*S);return r-b*((d+p*v*m)/y*Math.sin(y*S)+m*Math.cos(y*S))}}else if(p===1)T=y=>r-Math.exp(-v*y)*(m+(d+v*m)*y);else{const y=v*Math.sqrt(p*p-1);T=S=>{const b=Math.exp(-p*v*S),M=Math.min(y*S,300);return r-b*((d+p*v*m)*Math.sinh(M)+y*m*Math.cosh(M))/y}}return{calculatedDuration:f&&c||null,next:y=>{const S=T(y);if(f)o.done=y>=c;else{let b=0;p<1&&(b=y===0?G(d):zs(T,y,S));const M=Math.abs(b)<=n,N=Math.abs(r-S)<=e;o.done=M&&N}return o.value=o.done?r:S,o}}}function mn({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:l,restDelta:u=.5,restSpeed:c}){const h=t[0],f={done:!1,value:h},d=A=>a!==void 0&&Al,p=A=>a===void 0?l:l===void 0||Math.abs(a-A)-m*Math.exp(-A/s),y=A=>g+T(A),S=A=>{const k=T(A),O=y(A);f.done=Math.abs(k)<=u,f.value=f.done?g:O};let b,M;const N=A=>{d(f.value)&&(b=A,M=Hs({keyframes:[f.value,p(f.value)],velocity:zs(y,A,f.value),damping:i,stiffness:r,restDelta:u,restSpeed:c}))};return N(0),{calculatedDuration:null,next:A=>{let k=!1;return!M&&b===void 0&&(k=!0,S(A),N(A)),b!==void 0&&A>=b?M.next(A-b):(!k&&S(A),f)}}}const Qo=wt(.42,0,1,1),tr=wt(0,0,.58,1),Xs=wt(.42,0,.58,1),er=t=>Array.isArray(t)&&typeof t[0]!="number",Ie=t=>Array.isArray(t)&&typeof t[0]=="number",gn={linear:L,easeIn:Qo,easeInOut:Xs,easeOut:tr,circIn:Re,circInOut:Cs,circOut:ws,backIn:De,backInOut:bs,backOut:As,anticipate:Vs},yn=t=>{if(Ie(t)){ce(t.length===4);const[e,n,s,i]=t;return wt(e,n,s,i)}else if(typeof t=="string")return ce(gn[t]!==void 0),gn[t];return t},nr=(t,e)=>n=>e(t(n)),z=(...t)=>t.reduce(nr),ft=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s},w=(t,e,n)=>t+(e-t)*n;function Jt(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function sr({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,r=0,o=0;if(!e)i=r=o=n;else{const a=n<.5?n*(1+e):n+e-n*e,l=2*n-a;i=Jt(l,a,t+1/3),r=Jt(l,a,t),o=Jt(l,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(o*255),alpha:s}}function Bt(t,e){return n=>n>0?e:t}const Qt=(t,e,n)=>{const s=t*t,i=n*(e*e-s)+s;return i<0?0:Math.sqrt(i)},ir=[de,nt,rt],or=t=>ir.find(e=>e.test(t));function vn(t){const e=or(t);if(!e)return!1;let n=e.parse(t);return e===rt&&(n=sr(n)),n}const Tn=(t,e)=>{const n=vn(t),s=vn(e);if(!n||!s)return Bt(t,e);const i={...n};return r=>(i.red=Qt(n.red,s.red,r),i.green=Qt(n.green,s.green,r),i.blue=Qt(n.blue,s.blue,r),i.alpha=w(n.alpha,s.alpha,r),nt.transform(i))},ge=new Set(["none","hidden"]);function rr(t,e){return ge.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function ar(t,e){return n=>w(t,e,n)}function Ne(t){return typeof t=="number"?ar:typeof t=="string"?Ee(t)?Bt:R.test(t)?Tn:cr:Array.isArray(t)?Ys:typeof t=="object"?R.test(t)?Tn:lr:Bt}function Ys(t,e){const n=[...t],s=n.length,i=t.map((r,o)=>Ne(r)(r,e[o]));return r=>{for(let o=0;o{for(const r in s)n[r]=s[r](i);return n}}function ur(t,e){var n;const s=[],i={color:0,var:0,number:0};for(let r=0;r{const n=Z.createTransformer(e),s=At(t),i=At(e);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?ge.has(t)&&!i.values.length||ge.has(e)&&!s.values.length?rr(t,e):z(Ys(ur(s,i),i.values),n):Bt(t,e)};function qs(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?w(t,e,n):Ne(t)(t,e)}function hr(t,e,n){const s=[],i=n||qs,r=t.length-1;for(let o=0;oe[0];if(r===2&&t[0]===t[1])return()=>e[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());const o=hr(e,s,i),a=o.length,l=u=>{let c=0;if(a>1)for(;cl(q(t[0],t[r-1],u)):l}function dr(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=ft(0,e,s);t.push(w(n,1,i))}}function pr(t){const e=[0];return dr(e,t.length-1),e}function mr(t,e){return t.map(n=>n*e)}function gr(t,e){return t.map(()=>e||Xs).splice(0,t.length-1)}function kt({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=er(s)?s.map(yn):yn(s),r={done:!1,value:e[0]},o=mr(n&&n.length===e.length?n:pr(e),t),a=fr(o,e,{ease:Array.isArray(i)?i:gr(e,i)});return{calculatedDuration:t,next:l=>(r.value=a(l),r.done=l>=t,r)}}const xn=2e4;function yr(t){let e=0;const n=50;let s=t.next(e);for(;!s.done&&e=xn?1/0:e}const vr=t=>{const e=({timestamp:n})=>t(n);return{start:()=>V.update(e,!0),stop:()=>Y(e),now:()=>D.isProcessing?D.timestamp:_.now()}},Tr={decay:mn,inertia:mn,tween:kt,keyframes:kt,spring:Hs},xr=t=>t/100;class Ue extends Gs{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,this.state==="idle")return;this.teardown();const{onStop:l}=this.options;l&&l()};const{name:n,motionValue:s,element:i,keyframes:r}=this.options,o=i?.KeyframeResolver||Le,a=(l,u)=>this.onKeyframesResolved(l,u);this.resolver=new o(r,a,n,s,i),this.resolver.scheduleResolve()}initPlayback(e){const{type:n="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=this.options,a=je(n)?n:Tr[n]||kt;let l,u;a!==kt&&typeof e[0]!="number"&&(l=z(xr,qs(e[0],e[1])),e=[0,100]);const c=a({...this.options,keyframes:e});r==="mirror"&&(u=a({...this.options,keyframes:[...e].reverse(),velocity:-o})),c.calculatedDuration===null&&(c.calculatedDuration=yr(c));const{calculatedDuration:h}=c,f=h+i,d=f*(s+1)-i;return{generator:c,mirroredGenerator:u,mapPercentToKeyframes:l,calculatedDuration:h,resolvedDuration:f,totalDuration:d}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),this.pendingPlayState==="paused"||!e?this.pause():this.state=this.pendingPlayState}tick(e,n=!1){const{resolved:s}=this;if(!s){const{keyframes:A}=this.options;return{done:!0,value:A[A.length-1]}}const{finalKeyframe:i,generator:r,mirroredGenerator:o,mapPercentToKeyframes:a,keyframes:l,calculatedDuration:u,totalDuration:c,resolvedDuration:h}=s;if(this.startTime===null)return r.next(0);const{delay:f,repeat:d,repeatType:p,repeatDelay:m,onUpdate:v}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),n?this.currentTime=e:this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const g=this.currentTime-f*(this.speed>=0?1:-1),T=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=c);let y=this.currentTime,S=r;if(d){const A=Math.min(this.currentTime,c)/h;let k=Math.floor(A),O=A%1;!O&&A>=1&&(O=1),O===1&&k--,k=Math.min(k,d+1),!!(k%2)&&(p==="reverse"?(O=1-O,m&&(O-=m/h)):p==="mirror"&&(S=o)),y=q(0,1,O)*h}const b=T?{done:!1,value:l[0]}:S.next(y);a&&(b.value=a(b.value));let{done:M}=b;!T&&u!==null&&(M=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const N=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&M);return N&&i!==void 0&&(b.value=Wt(l,this.options,i)),v&&v(b.value),N&&this.finish(),b}get duration(){const{resolved:e}=this;return e?$(e.calculatedDuration):0}get time(){return $(this.currentTime)}set time(e){e=G(e),this.currentTime=e,this.holdTime!==null||this.speed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=$(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved){this.pendingPlayState="running";return}if(this.isStopped)return;const{driver:e=vr,onPlay:n,startTime:s}=this.options;this.driver||(this.driver=e(r=>this.tick(r))),n&&n();const i=this.driver.now();this.holdTime!==null?this.startTime=i-this.holdTime:this.startTime?this.state==="finished"&&(this.startTime=i):this.startTime=s??this.calcStartTime(),this.state==="finished"&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;if(!this._resolved){this.pendingPlayState="paused";return}this.state="paused",this.holdTime=(e=this.currentTime)!==null&&e!==void 0?e:0}complete(){this.state!=="running"&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){this.cancelTime!==null&&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 Pr=new Set(["opacity","clipPath","filter","transform"]),Sr=10,Ar=(t,e)=>{let n="";const s=Math.max(Math.round(e/Sr),2);for(let i=0;i(e===void 0&&(e=t()),e)}const br={linearEasing:void 0};function Vr(t,e){const n=_e(t);return()=>{var s;return(s=br[e])!==null&&s!==void 0?s:n()}}const Ot=Vr(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing");function Zs(t){return!!(typeof t=="function"&&Ot()||!t||typeof t=="string"&&(t in ye||Ot())||Ie(t)||Array.isArray(t)&&t.every(Zs))}const gt=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,ye={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:gt([0,.65,.55,1]),circOut:gt([.55,0,1,.45]),backIn:gt([.31,.01,.66,-.59]),backOut:gt([.33,1.53,.69,.99])};function Js(t,e){if(t)return typeof t=="function"&&Ot()?Ar(t,e):Ie(t)?gt(t):Array.isArray(t)?t.map(n=>Js(n,e)||ye.easeOut):ye[t]}function wr(t,e,n,{delay:s=0,duration:i=300,repeat:r=0,repeatType:o="loop",ease:a,times:l}={}){const u={[e]:n};l&&(u.offset=l);const c=Js(a,i);return Array.isArray(c)&&(u.easing=c),t.animate(u,{delay:s,duration:i,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:r+1,direction:o==="reverse"?"alternate":"normal"})}function Pn(t,e){t.timeline=e,t.onfinish=null}const Cr=_e(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),jt=10,Mr=2e4;function Dr(t){return je(t.type)||t.type==="spring"||!Zs(t.ease)}function Rr(t,e){const n=new Ue({...e,keyframes:t,repeat:0,delay:0,isGenerator:!0});let s={done:!1,value:t[0]};const i=[];let r=0;for(;!s.done&&rthis.onKeyframesResolved(o,a),n,s,i),this.resolver.scheduleResolve()}initPlayback(e,n){var s;let{duration:i=300,times:r,ease:o,type:a,motionValue:l,name:u,startTime:c}=this.options;if(!(!((s=l.owner)===null||s===void 0)&&s.current))return!1;if(typeof o=="string"&&Ot()&&Er(o)&&(o=Qs[o]),Dr(this.options)){const{onComplete:f,onUpdate:d,motionValue:p,element:m,...v}=this.options,g=Rr(e,v);e=g.keyframes,e.length===1&&(e[1]=e[0]),i=g.duration,r=g.times,o=g.ease,a="keyframes"}const h=wr(l.owner.current,u,e,{...this.options,duration:i,times:r,ease:o});return h.startTime=c??this.calcStartTime(),this.pendingTimeline?(Pn(h,this.pendingTimeline),this.pendingTimeline=void 0):h.onfinish=()=>{const{onComplete:f}=this.options;l.set(Wt(e,this.options,n)),f&&f(),this.cancel(),this.resolveFinishedPromise()},{animation:h,duration:i,times:r,type:a,ease:o,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:n}=e;return $(n)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:n}=e;return $(n.currentTime||0)}set time(e){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.currentTime=G(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:n}=e;return n.playbackRate}set speed(e){const{resolved:n}=this;if(!n)return;const{animation:s}=n;s.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:n}=e;return n.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:n}=e;return n.startTime}attachTimeline(e){if(!this._resolved)this.pendingTimeline=e;else{const{resolved:n}=this;if(!n)return L;const{animation:s}=n;Pn(s,e)}return L}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.playState==="finished"&&this.updateFinishedPromise(),n.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:n}=e;n.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,this.state==="idle")return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:n,keyframes:s,duration:i,type:r,ease:o,times:a}=e;if(n.playState==="idle"||n.playState==="finished")return;if(this.time){const{motionValue:u,onUpdate:c,onComplete:h,element:f,...d}=this.options,p=new Ue({...d,keyframes:s,duration:i,type:r,ease:o,times:a,isGenerator:!0}),m=G(this.time);u.setWithVelocity(p.sample(m-jt).value,p.sample(m).value,jt)}const{onStop:l}=this.options;l&&l(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:n,name:s,repeatDelay:i,repeatType:r,damping:o,type:a}=e;return Cr()&&s&&Pr.has(s)&&n&&n.owner&&n.owner.current instanceof HTMLElement&&!n.owner.getProps().onUpdate&&!i&&r!=="mirror"&&o!==0&&a!=="inertia"}}const Lr=_e(()=>window.ScrollTimeline!==void 0);class Fr{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,n){return Promise.all(this.animations).then(e).catch(n)}getAll(e){return this.animations[0][e]}setAll(e,n){for(let s=0;sLr()&&i.attachTimeline?i.attachTimeline(e):n(i));return()=>{s.forEach((i,r)=>{i&&i(),this.animations[r].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 n=0;nn[e]())}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}function Br({when:t,delay:e,delayChildren:n,staggerChildren:s,staggerDirection:i,repeat:r,repeatType:o,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length}const Ke=(t,e,n,s={},i,r)=>o=>{const a=Me(s,t)||{},l=a.delay||s.delay||0;let{elapsed:u=0}=s;u=u-G(l);let c={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:f=>{e.set(f),a.onUpdate&&a.onUpdate(f)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:r?void 0:i};Br(a)||(c={...c,...Zi(t,c)}),c.duration&&(c.duration=G(c.duration)),c.repeatDelay&&(c.repeatDelay=G(c.repeatDelay)),c.from!==void 0&&(c.keyframes[0]=c.from);let h=!1;if((c.type===!1||c.duration===0&&!c.repeatDelay)&&(c.duration=0,c.delay===0&&(h=!0)),h&&!r&&e.get()!==void 0){const f=Wt(c.keyframes,a);if(f!==void 0)return V.update(()=>{c.onUpdate(f),c.onComplete()}),new Fr([])}return!r&&Sn.supports(c)?new Sn(c):new Ue(c)},kr=t=>!!(t&&typeof t=="object"&&t.mix&&t.toValue),Or=t=>ue(t)?t[t.length-1]||0:t;function We(t,e){t.indexOf(e)===-1&&t.push(e)}function Ge(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class $e{constructor(){this.subscriptions=[]}add(e){return We(this.subscriptions,e),()=>Ge(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let r=0;r!isNaN(parseFloat(t));class Ir{constructor(e,n={}){this.version="11.11.10",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(s,i=!0)=>{const r=_.now();this.updatedAt!==r&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),i&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=_.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=jr(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new $e);const s=this.events[e].add(n);return e==="change"?()=>{s(),V.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e,n=!0){!n||!this.passiveEffect?this.updateAndNotify(e,n):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=_.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>An)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,An);return $s(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),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 bt(t,e){return new Ir(t,e)}function Nr(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,bt(n))}function Ur(t,e){const n=Kt(t,e);let{transitionEnd:s={},transition:i={},...r}=n||{};r={...r,...s};for(const o in r){const a=Or(r[o]);Nr(t,o,a)}}const ze=t=>t.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),_r="framerAppearId",ti="data-"+ze(_r);function ei(t){return t.props[ti]}const E=t=>!!(t&&t.getVelocity);function Kr(t){return!!(E(t)&&t.add)}function ve(t,e){const n=t.getValue("willChange");if(Kr(n))return n.add(e)}function Wr({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}function ni(t,e,{delay:n=0,transitionOverride:s,type:i}={}){var r;let{transition:o=t.getDefaultTransition(),transitionEnd:a,...l}=e;s&&(o=s);const u=[],c=i&&t.animationState&&t.animationState.getState()[i];for(const h in l){const f=t.getValue(h,(r=t.latestValues[h])!==null&&r!==void 0?r:null),d=l[h];if(d===void 0||c&&Wr(c,h))continue;const p={delay:n,...Me(o||{},h)};let m=!1;if(window.MotionHandoffAnimation){const g=ei(t);if(g){const T=window.MotionHandoffAnimation(g,h,V);T!==null&&(p.startTime=T,m=!0)}}ve(t,h),f.start(Ke(h,f,d,t.shouldReduceMotion&&it.has(h)?{type:!1}:p,t,m));const v=f.animation;v&&u.push(v)}return a&&Promise.all(u).then(()=>{V.update(()=>{a&&Ur(t,a)})}),u}function Te(t,e,n={}){var s;const i=Kt(t,e,n.type==="exit"?(s=t.presenceContext)===null||s===void 0?void 0:s.custom:void 0);let{transition:r=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(r=n.transitionOverride);const o=i?()=>Promise.all(ni(t,i,n)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(u=0)=>{const{delayChildren:c=0,staggerChildren:h,staggerDirection:f}=r;return Gr(t,e,c+u,h,f,n)}:()=>Promise.resolve(),{when:l}=r;if(l){const[u,c]=l==="beforeChildren"?[o,a]:[a,o];return u().then(()=>c())}else return Promise.all([o(),a(n.delay)])}function Gr(t,e,n=0,s=0,i=1,r){const o=[],a=(t.variantChildren.size-1)*s,l=i===1?(u=0)=>u*s:(u=0)=>a-u*s;return Array.from(t.variantChildren).sort($r).forEach((u,c)=>{u.notify("AnimationStart",e),o.push(Te(u,e,{...r,delay:n+l(c)}).then(()=>u.notify("AnimationComplete",e)))}),Promise.all(o)}function $r(t,e){return t.sortNodePosition(e)}function zr(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const i=e.map(r=>Te(t,r,n));s=Promise.all(i)}else if(typeof e=="string")s=Te(t,e,n);else{const i=typeof e=="function"?Kt(t,e,n.custom):e;s=Promise.all(ni(t,i,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}const Hr=Ce.length;function si(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?si(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;nPromise.all(e.map(({animation:n,options:s})=>zr(t,n,s)))}function Zr(t){let e=qr(t),n=bn(),s=!0;const i=l=>(u,c)=>{var h;const f=Kt(t,c,l==="exit"?(h=t.presenceContext)===null||h===void 0?void 0:h.custom:void 0);if(f){const{transition:d,transitionEnd:p,...m}=f;u={...u,...m,...p}}return u};function r(l){e=l(t)}function o(l){const{props:u}=t,c=si(t.parent)||{},h=[],f=new Set;let d={},p=1/0;for(let v=0;vp&&S,k=!1;const O=Array.isArray(y)?y:[y];let ot=O.reduce(i(g),{});b===!1&&(ot={});const{prevResolvedValues:nn={}}=T,$i={...nn,...ot},sn=F=>{A=!0,f.has(F)&&(k=!0,f.delete(F)),T.needsAnimating[F]=!0;const K=t.getValue(F);K&&(K.liveStyle=!1)};for(const F in $i){const K=ot[F],Ht=nn[F];if(d.hasOwnProperty(F))continue;let Xt=!1;ue(K)&&ue(Ht)?Xt=!vs(K,Ht):Xt=K!==Ht,Xt?K!=null?sn(F):f.add(F):K!==void 0&&f.has(F)?sn(F):T.protectedKeys[F]=!0}T.prevProp=y,T.prevResolvedValues=ot,T.isActive&&(d={...d,...ot}),s&&t.blockInitialAnimation&&(A=!1),A&&(!(M&&N)||k)&&h.push(...O.map(F=>({animation:F,options:{type:g}})))}if(f.size){const v={};f.forEach(g=>{const T=t.getBaseTarget(g),y=t.getValue(g);y&&(y.liveStyle=!0),v[g]=T??null}),h.push({animation:v})}let m=!!h.length;return s&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(m=!1),s=!1,m?e(h):Promise.resolve()}function a(l,u){var c;if(n[l].isActive===u)return Promise.resolve();(c=t.variantChildren)===null||c===void 0||c.forEach(f=>{var d;return(d=f.animationState)===null||d===void 0?void 0:d.setActive(l,u)}),n[l].isActive=u;const h=o(l);for(const f in n)n[f].protectedKeys={};return h}return{animateChanges:o,setActive:a,setAnimateFunction:r,getState:()=>n,reset:()=>{n=bn(),s=!0}}}function Jr(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!vs(e,t):!1}function Q(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function bn(){return{animate:Q(!0),whileInView:Q(),whileHover:Q(),whileTap:Q(),whileDrag:Q(),whileFocus:Q(),exit:Q()}}class J{constructor(e){this.isMounted=!1,this.node=e}update(){}}class Qr extends J{constructor(e){super(e),e.animationState||(e.animationState=Zr(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();_t(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),(e=this.unmountControls)===null||e===void 0||e.call(this)}}let ta=0;class ea extends J{constructor(){super(...arguments),this.id=ta++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===s)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>n(this.id))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}const na={animation:{Feature:Qr},exit:{Feature:ea}},ii=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function Gt(t,e="page"){return{point:{x:t[`${e}X`],y:t[`${e}Y`]}}}const sa=t=>e=>ii(e)&&t(e,Gt(e));function W(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}function H(t,e,n,s){return W(t,e,sa(n),s)}const Vn=(t,e)=>Math.abs(t-e);function ia(t,e){const n=Vn(t.x,e.x),s=Vn(t.y,e.y);return Math.sqrt(n**2+s**2)}class oi{constructor(e,n,{transformPagePoint:s,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 h=ee(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,d=ia(h.offset,{x:0,y:0})>=3;if(!f&&!d)return;const{point:p}=h,{timestamp:m}=D;this.history.push({...p,timestamp:m});const{onStart:v,onMove:g}=this.handlers;f||(v&&v(this.lastMoveEvent,h),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,h)},this.handlePointerMove=(h,f)=>{this.lastMoveEvent=h,this.lastMoveEventInfo=te(f,this.transformPagePoint),V.update(this.updatePoint,!0)},this.handlePointerUp=(h,f)=>{this.end();const{onEnd:d,onSessionEnd:p,resumeAnimation:m}=this.handlers;if(this.dragSnapToOrigin&&m&&m(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const v=ee(h.type==="pointercancel"?this.lastMoveEventInfo:te(f,this.transformPagePoint),this.history);this.startEvent&&d&&d(h,v),p&&p(h,v)},!ii(e))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=s,this.contextWindow=i||window;const o=Gt(e),a=te(o,this.transformPagePoint),{point:l}=a,{timestamp:u}=D;this.history=[{...l,timestamp:u}];const{onSessionStart:c}=n;c&&c(e,ee(a,this.history)),this.removeListeners=z(H(this.contextWindow,"pointermove",this.handlePointerMove),H(this.contextWindow,"pointerup",this.handlePointerUp),H(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),Y(this.updatePoint)}}function te(t,e){return e?{point:e(t.point)}:t}function wn(t,e){return{x:t.x-e.x,y:t.y-e.y}}function ee({point:t},e){return{point:t,delta:wn(t,ri(e)),offset:wn(t,oa(e)),velocity:ra(e,.1)}}function oa(t){return t[0]}function ri(t){return t[t.length-1]}function ra(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const i=ri(t);for(;n>=0&&(s=t[n],!(i.timestamp-s.timestamp>G(e)));)n--;if(!s)return{x:0,y:0};const r=$(i.timestamp-s.timestamp);if(r===0)return{x:0,y:0};const o={x:(i.x-s.x)/r,y:(i.y-s.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function ai(t){let e=null;return()=>{const n=()=>{e=null};return e===null?(e=t,n):!1}}const Cn=ai("dragHorizontal"),Mn=ai("dragVertical");function li(t){let e=!1;if(t==="y")e=Mn();else if(t==="x")e=Cn();else{const n=Cn(),s=Mn();n&&s?e=()=>{n(),s()}:(n&&n(),s&&s())}return e}function ui(){const t=li(!0);return t?(t(),!1):!0}function at(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}const ci=1e-4,aa=1-ci,la=1+ci,hi=.01,ua=0-hi,ca=0+hi;function B(t){return t.max-t.min}function ha(t,e,n){return Math.abs(t-e)<=n}function Dn(t,e,n,s=.5){t.origin=s,t.originPoint=w(e.min,e.max,t.origin),t.scale=B(n)/B(e),t.translate=w(n.min,n.max,t.origin)-t.originPoint,(t.scale>=aa&&t.scale<=la||isNaN(t.scale))&&(t.scale=1),(t.translate>=ua&&t.translate<=ca||isNaN(t.translate))&&(t.translate=0)}function Tt(t,e,n,s){Dn(t.x,e.x,n.x,s?s.originX:void 0),Dn(t.y,e.y,n.y,s?s.originY:void 0)}function Rn(t,e,n){t.min=n.min+e.min,t.max=t.min+B(e)}function fa(t,e,n){Rn(t.x,e.x,n.x),Rn(t.y,e.y,n.y)}function En(t,e,n){t.min=e.min-n.min,t.max=t.min+B(e)}function xt(t,e,n){En(t.x,e.x,n.x),En(t.y,e.y,n.y)}function da(t,{min:e,max:n},s){return e!==void 0&&tn&&(t=s?w(n,t,s.max):Math.min(t,n)),t}function Ln(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function pa(t,{top:e,left:n,bottom:s,right:i}){return{x:Ln(t.x,n,i),y:Ln(t.y,e,s)}}function Fn(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.mins?n=ft(e.min,e.max-s,t.min):s>i&&(n=ft(t.min,t.max-i,e.min)),q(0,1,n)}function ya(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const xe=.35;function va(t=xe){return t===!1?t=0:t===!0&&(t=xe),{x:Bn(t,"left","right"),y:Bn(t,"top","bottom")}}function Bn(t,e,n){return{min:kn(t,e),max:kn(t,n)}}function kn(t,e){return typeof t=="number"?t:t[e]||0}const On=()=>({translate:0,scale:1,origin:0,originPoint:0}),lt=()=>({x:On(),y:On()}),jn=()=>({min:0,max:0}),C=()=>({x:jn(),y:jn()});function I(t){return[t("x"),t("y")]}function fi({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function Ta({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function xa(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function ne(t){return t===void 0||t===1}function Pe({scale:t,scaleX:e,scaleY:n}){return!ne(t)||!ne(e)||!ne(n)}function tt(t){return Pe(t)||di(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function di(t){return In(t.x)||In(t.y)}function In(t){return t&&t!=="0%"}function It(t,e,n){const s=t-n,i=e*s;return n+i}function Nn(t,e,n,s,i){return i!==void 0&&(t=It(t,i,s)),It(t,n,s)+e}function Se(t,e=0,n=1,s,i){t.min=Nn(t.min,e,n,s,i),t.max=Nn(t.max,e,n,s,i)}function pi(t,{x:e,y:n}){Se(t.x,e.translate,e.scale,e.originPoint),Se(t.y,n.translate,n.scale,n.originPoint)}const Un=.999999999999,_n=1.0000000000001;function Pa(t,e,n,s=!1){const i=n.length;if(!i)return;e.x=e.y=1;let r,o;for(let a=0;aUn&&(e.x=1),e.y<_n&&e.y>Un&&(e.y=1)}function ut(t,e){t.min=t.min+e,t.max=t.max+e}function Kn(t,e,n,s,i=.5){const r=w(t.min,t.max,i);Se(t,e,n,r,s)}function ct(t,e){Kn(t.x,e.x,e.scaleX,e.scale,e.originX),Kn(t.y,e.y,e.scaleY,e.scale,e.originY)}function mi(t,e){return fi(xa(t.getBoundingClientRect(),e))}function Sa(t,e,n){const s=mi(t,n),{scroll:i}=e;return i&&(ut(s.x,i.offset.x),ut(s.y,i.offset.y)),s}const gi=({current:t})=>t?t.ownerDocument.defaultView:null,Aa=new WeakMap;class ba{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=C(),this.visualElement=e}start(e,{snapToCursor:n=!1}={}){const{presenceContext:s}=this.visualElement;if(s&&s.isPresent===!1)return;const i=c=>{const{dragSnapToOrigin:h}=this.getProps();h?this.pauseAnimation():this.stopAnimation(),n&&this.snapToCursor(Gt(c,"page").point)},r=(c,h)=>{const{drag:f,dragPropagation:d,onDragStart:p}=this.getProps();if(f&&!d&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=li(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),I(v=>{let g=this.getAxisMotionValue(v).get()||0;if(U.test(g)){const{projection:T}=this.visualElement;if(T&&T.layout){const y=T.layout.layoutBox[v];y&&(g=B(y)*(parseFloat(g)/100))}}this.originPoint[v]=g}),p&&V.postRender(()=>p(c,h)),ve(this.visualElement,"transform");const{animationState:m}=this.visualElement;m&&m.setActive("whileDrag",!0)},o=(c,h)=>{const{dragPropagation:f,dragDirectionLock:d,onDirectionLock:p,onDrag:m}=this.getProps();if(!f&&!this.openGlobalLock)return;const{offset:v}=h;if(d&&this.currentDirection===null){this.currentDirection=Va(v),this.currentDirection!==null&&p&&p(this.currentDirection);return}this.updateAxis("x",h.point,v),this.updateAxis("y",h.point,v),this.visualElement.render(),m&&m(c,h)},a=(c,h)=>this.stop(c,h),l=()=>I(c=>{var h;return this.getAnimationState(c)==="paused"&&((h=this.getAxisMotionValue(c).animation)===null||h===void 0?void 0:h.play())}),{dragSnapToOrigin:u}=this.getProps();this.panSession=new oi(e,{onSessionStart:i,onStart:r,onMove:o,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,contextWindow:gi(this.visualElement)})}stop(e,n){const s=this.isDragging;if(this.cancel(),!s)return;const{velocity:i}=n;this.startAnimation(i);const{onDragEnd:r}=this.getProps();r&&V.postRender(()=>r(e,n))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:s}=this.getProps();!s&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),n&&n.setActive("whileDrag",!1)}updateAxis(e,n,s){const{drag:i}=this.getProps();if(!s||!Rt(e,i,this.currentDirection))return;const r=this.getAxisMotionValue(e);let o=this.originPoint[e]+s[e];this.constraints&&this.constraints[e]&&(o=da(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){var e;const{dragConstraints:n,dragElastic:s}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,r=this.constraints;n&&at(n)?this.constraints||(this.constraints=this.resolveRefConstraints()):n&&i?this.constraints=pa(i.layoutBox,n):this.constraints=!1,this.elastic=va(s),r!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&I(o=>{this.constraints!==!1&&this.getAxisMotionValue(o)&&(this.constraints[o]=ya(i.layoutBox[o],this.constraints[o]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!at(e))return!1;const s=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=Sa(s,i.root,this.visualElement.getTransformPagePoint());let o=ma(i.layout.layoutBox,r);if(n){const a=n(Ta(o));this.hasMutatedConstraints=!!a,a&&(o=fi(a))}return o}startAnimation(e){const{drag:n,dragMomentum:s,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},u=I(c=>{if(!Rt(c,n,this.currentDirection))return;let h=l&&l[c]||{};o&&(h={min:0,max:0});const f=i?200:1e6,d=i?40:1e7,p={type:"inertia",velocity:s?e[c]:0,bounceStiffness:f,bounceDamping:d,timeConstant:750,restDelta:1,restSpeed:10,...r,...h};return this.startAxisValueAnimation(c,p)});return Promise.all(u).then(a)}startAxisValueAnimation(e,n){const s=this.getAxisMotionValue(e);return ve(this.visualElement,e),s.start(Ke(e,s,0,n,this.visualElement,!1))}stopAnimation(){I(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){I(e=>{var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.pause()})}getAnimationState(e){var n;return(n=this.getAxisMotionValue(e).animation)===null||n===void 0?void 0:n.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,s=this.visualElement.getProps(),i=s[n];return i||this.visualElement.getValue(e,(s.initial?s.initial[e]:void 0)||0)}snapToCursor(e){I(n=>{const{drag:s}=this.getProps();if(!Rt(n,s,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n];r.set(e[n]-w(o,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!at(n)||!s||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};I(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const l=a.get();i[o]=ga({min:l,max:l},this.constraints[o])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),I(o=>{if(!Rt(o,e,null))return;const a=this.getAxisMotionValue(o),{min:l,max:u}=this.constraints[o];a.set(w(l,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;Aa.set(this.visualElement,this);const e=this.visualElement.current,n=H(e,"pointerdown",l=>{const{drag:u,dragListener:c=!0}=this.getProps();u&&c&&this.start(l)}),s=()=>{const{dragConstraints:l}=this.getProps();at(l)&&l.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",s);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),V.read(s);const o=W(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",({delta:l,hasLayoutChanged:u})=>{this.isDragging&&u&&(I(c=>{const h=this.getAxisMotionValue(c);h&&(this.originPoint[c]+=l[c].translate,h.set(h.get()+l[c].translate))}),this.visualElement.render())});return()=>{o(),n(),r(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=xe,dragMomentum:a=!0}=e;return{...e,drag:n,dragDirectionLock:s,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:a}}}function Rt(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function Va(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class wa extends J{constructor(e){super(e),this.removeGroupControls=L,this.removeListeners=L,this.controls=new ba(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||L}unmount(){this.removeGroupControls(),this.removeListeners()}}const Wn=t=>(e,n)=>{t&&V.postRender(()=>t(e,n))};class Ca extends J{constructor(){super(...arguments),this.removePointerDownListener=L}onPointerDown(e){this.session=new oi(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:gi(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:s,onPanEnd:i}=this.node.getProps();return{onSessionStart:Wn(e),onStart:Wn(n),onMove:s,onEnd:(r,o)=>{delete this.session,i&&V.postRender(()=>i(r,o))}}}mount(){this.removePointerDownListener=H(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}const He=P.createContext(null);function Ma(){const t=P.useContext(He);if(t===null)return[!0,null];const{isPresent:e,onExitComplete:n,register:s}=t,i=P.useId();P.useEffect(()=>s(i),[]);const r=P.useCallback(()=>n&&n(i),[i,n]);return!e&&n?[!1,r]:[!0]}const yi=P.createContext({}),vi=P.createContext({}),Lt={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function Gn(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const mt={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(x.test(t))t=parseFloat(t);else return t;const n=Gn(t,e.target.x),s=Gn(t,e.target.y);return`${n}% ${s}%`}},Da={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,i=Z.parse(t);if(i.length>5)return s;const r=Z.createTransformer(t),o=typeof i[0]!="number"?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;i[0+o]/=a,i[1+o]/=l;const u=w(a,l,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),r(i)}},Nt={};function Ra(t){Object.assign(Nt,t)}const{schedule:Xe,cancel:xu}=Ts(queueMicrotask,!1);class Ea extends P.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s,layoutId:i}=this.props,{projection:r}=e;Ra(La),r&&(n.group&&n.group.add(r),s&&s.register&&i&&s.register(r),r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),Lt.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:s,drag:i,isPresent:r}=this.props,o=s.projection;return o&&(o.isPresent=r,i||e.layoutDependency!==n||n===void 0?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||V.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),Xe.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:i}=e;i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),s&&s.deregister&&s.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Ti(t){const[e,n]=Ma(),s=P.useContext(yi);return le.jsx(Ea,{...t,layoutGroup:s,switchLayoutGroup:P.useContext(vi),isPresent:e,safeToRemove:n})}const La={borderRadius:{...mt,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:mt,borderTopRightRadius:mt,borderBottomLeftRadius:mt,borderBottomRightRadius:mt,boxShadow:Da},xi=["TopLeft","TopRight","BottomLeft","BottomRight"],Fa=xi.length,$n=t=>typeof t=="string"?parseFloat(t):t,zn=t=>typeof t=="number"||x.test(t);function Ba(t,e,n,s,i,r){i?(t.opacity=w(0,n.opacity!==void 0?n.opacity:1,ka(s)),t.opacityExit=w(e.opacity!==void 0?e.opacity:1,0,Oa(s))):r&&(t.opacity=w(e.opacity!==void 0?e.opacity:1,n.opacity!==void 0?n.opacity:1,s));for(let o=0;ose?1:n(ft(t,e,s))}function Xn(t,e){t.min=e.min,t.max=e.max}function j(t,e){Xn(t.x,e.x),Xn(t.y,e.y)}function Yn(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function qn(t,e,n,s,i){return t-=e,t=It(t,1/n,s),i!==void 0&&(t=It(t,1/i,s)),t}function ja(t,e=0,n=1,s=.5,i,r=t,o=t){if(U.test(e)&&(e=parseFloat(e),e=w(o.min,o.max,e/100)-o.min),typeof e!="number")return;let a=w(r.min,r.max,s);t===r&&(a-=e),t.min=qn(t.min,e,n,a,i),t.max=qn(t.max,e,n,a,i)}function Zn(t,e,[n,s,i],r,o){ja(t,e[n],e[s],e[i],e.scale,r,o)}const Ia=["x","scaleX","originX"],Na=["y","scaleY","originY"];function Jn(t,e,n,s){Zn(t.x,e,Ia,n?n.x:void 0,s?s.x:void 0),Zn(t.y,e,Na,n?n.y:void 0,s?s.y:void 0)}function Qn(t){return t.translate===0&&t.scale===1}function Si(t){return Qn(t.x)&&Qn(t.y)}function ts(t,e){return t.min===e.min&&t.max===e.max}function Ua(t,e){return ts(t.x,e.x)&&ts(t.y,e.y)}function es(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Ai(t,e){return es(t.x,e.x)&&es(t.y,e.y)}function ns(t){return B(t.x)/B(t.y)}function ss(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class _a{constructor(){this.members=[]}add(e){We(this.members,e),e.scheduleRender()}remove(e){if(Ge(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let s;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){s=r;break}}return s?(this.promote(s),!0):!1}promote(e,n){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.instance&&s.scheduleRender(),e.scheduleRender(),e.resumeFrom=s,n&&(e.resumeFrom.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:i}=e.options;i===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:s}=e;n.onExitComplete&&n.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}function Ka(t,e,n){let s="";const i=t.x.translate/e.x,r=t.y.translate/e.y,o=n?.z||0;if((i||r||o)&&(s=`translate3d(${i}px, ${r}px, ${o}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:u,rotate:c,rotateX:h,rotateY:f,skewX:d,skewY:p}=n;u&&(s=`perspective(${u}px) ${s}`),c&&(s+=`rotate(${c}deg) `),h&&(s+=`rotateX(${h}deg) `),f&&(s+=`rotateY(${f}deg) `),d&&(s+=`skewX(${d}deg) `),p&&(s+=`skewY(${p}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return(a!==1||l!==1)&&(s+=`scale(${a}, ${l})`),s||"none"}const Wa=(t,e)=>t.depth-e.depth;class Ga{constructor(){this.children=[],this.isDirty=!1}add(e){We(this.children,e),this.isDirty=!0}remove(e){Ge(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Wa),this.isDirty=!1,this.children.forEach(e)}}function Ft(t){const e=E(t)?t.get():t;return kr(e)?e.toValue():e}function $a(t,e){const n=_.now(),s=({timestamp:i})=>{const r=i-n;r>=e&&(Y(s),t(r-e))};return V.read(s,!0),()=>Y(s)}function za(t){return t instanceof SVGElement&&t.tagName!=="svg"}function Ha(t,e,n){const s=E(t)?t:bt(t);return s.start(Ke("",s,e,n)),s.animation}const et={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},yt=typeof window<"u"&&window.MotionDebug!==void 0,se=["","X","Y","Z"],Xa={visibility:"hidden"},is=1e3;let Ya=0;function ie(t,e,n,s){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),s&&(s[t]=0))}function bi(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=ei(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",V,!(i||r))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&bi(s)}function Vi({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(o={},a=e?.()){this.id=Ya++,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,yt&&(et.totalNodes=et.resolvedTargetDeltas=et.recalculatedProjection=0),this.nodes.forEach(Ja),this.nodes.forEach(sl),this.nodes.forEach(il),this.nodes.forEach(Qa),yt&&window.MotionDebug.record(et)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;lthis.root.updateBlockedByResize=!1;t(o,()=>{this.root.updateBlockedByResize=!0,h&&h(),h=$a(f,250),Lt.hasAnimatedSinceResize&&(Lt.hasAnimatedSinceResize=!1,this.nodes.forEach(rs))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&c&&(l||u)&&this.addEventListener("didUpdate",({delta:h,hasLayoutChanged:f,hasRelativeTargetChanged:d,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const m=this.options.transition||c.getDefaultTransition()||ul,{onLayoutAnimationStart:v,onLayoutAnimationComplete:g}=c.getProps(),T=!this.targetLayout||!Ai(this.targetLayout,p)||d,y=!f&&d;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||y||f&&(T||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(h,y);const S={...Me(m,"layout"),onPlay:v,onComplete:g};(c.shouldReduceMotion||this.options.layoutRoot)&&(S.delay=0,S.type=!1),this.startAnimation(S)}else f||rs(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,Y(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(ol),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&bi(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let c=0;c{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l{const b=S/1e3;as(h.x,o.x,b),as(h.y,o.y,b),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(xt(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),al(this.relativeTarget,this.relativeTargetOrigin,f,b),y&&Ua(this.relativeTarget,y)&&(this.isProjectionDirty=!1),y||(y=C()),j(y,this.relativeTarget)),m&&(this.animationValues=c,Ba(c,u,this.latestValues,b,T,g)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=b},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(Y(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=V.update(()=>{Lt.hasAnimatedSinceResize=!0,this.currentAnimation=Ha(0,is,{...o,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onComplete:()=>{o.onComplete&&o.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 o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(is),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:l,layout:u,latestValues:c}=o;if(!(!a||!l||!u)){if(this!==o&&this.layout&&u&&wi(this.options.animationType,this.layout.layoutBox,u.layoutBox)){l=this.target||C();const h=B(this.layout.layoutBox.x);l.x.min=o.target.x.min,l.x.max=l.x.min+h;const f=B(this.layout.layoutBox.y);l.y.min=o.target.y.min,l.y.max=l.y.min+f}j(a,l),ct(a,c),Tt(this.projectionDeltaWithTransform,this.layoutCorrected,a,c)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new _a),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){var o;const{layoutId:a}=this.options;return a?((o=this.getStack())===null||o===void 0?void 0:o.lead)||this:this}getPrevLead(){var o;const{layoutId:a}=this.options;return a?(o=this.getStack())===null||o===void 0?void 0:o.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:l}={}){const u=this.getStack();u&&u.promote(this,l),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:l}=o;if((l.z||l.rotate||l.rotateX||l.rotateY||l.rotateZ||l.skewX||l.skewY)&&(a=!0),!a)return;const u={};l.z&&ie("z",o,u,this.animationValues);for(let c=0;c{var a;return(a=o.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(os),this.root.sharedNodes.clear()}}}function qa(t){t.updateLayout()}function Za(t){var e;const n=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&n&&t.hasListeners("didUpdate")){const{layoutBox:s,measuredBox:i}=t.layout,{animationType:r}=t.options,o=n.source!==t.layout.source;r==="size"?I(h=>{const f=o?n.measuredBox[h]:n.layoutBox[h],d=B(f);f.min=s[h].min,f.max=f.min+d}):wi(r,n.layoutBox,s)&&I(h=>{const f=o?n.measuredBox[h]:n.layoutBox[h],d=B(s[h]);f.max=f.min+d,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[h].max=t.relativeTarget[h].min+d)});const a=lt();Tt(a,s,n.layoutBox);const l=lt();o?Tt(l,t.applyTransform(i,!0),n.measuredBox):Tt(l,s,n.layoutBox);const u=!Si(a);let c=!1;if(!t.resumeFrom){const h=t.getClosestProjectingParent();if(h&&!h.resumeFrom){const{snapshot:f,layout:d}=h;if(f&&d){const p=C();xt(p,n.layoutBox,f.layoutBox);const m=C();xt(m,s,d.layoutBox),Ai(p,m)||(c=!0),h.options.layoutRoot&&(t.relativeTarget=m,t.relativeTargetOrigin=p,t.relativeParent=h)}}}t.notifyListeners("didUpdate",{layout:s,snapshot:n,delta:l,layoutDelta:a,hasLayoutChanged:u,hasRelativeTargetChanged:c})}else if(t.isLead()){const{onExitComplete:s}=t.options;s&&s()}t.options.transition=void 0}function Ja(t){yt&&et.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Qa(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function tl(t){t.clearSnapshot()}function os(t){t.clearMeasurements()}function el(t){t.isLayoutDirty=!1}function nl(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function rs(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function sl(t){t.resolveTargetDelta()}function il(t){t.calcProjection()}function ol(t){t.resetSkewAndRotation()}function rl(t){t.removeLeadSnapshot()}function as(t,e,n){t.translate=w(e.translate,0,n),t.scale=w(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function ls(t,e,n,s){t.min=w(e.min,n.min,s),t.max=w(e.max,n.max,s)}function al(t,e,n,s){ls(t.x,e.x,n.x,s),ls(t.y,e.y,n.y,s)}function ll(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const ul={duration:.45,ease:[.4,0,.1,1]},us=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),cs=us("applewebkit/")&&!us("chrome/")?Math.round:L;function hs(t){t.min=cs(t.min),t.max=cs(t.max)}function cl(t){hs(t.x),hs(t.y)}function wi(t,e,n){return t==="position"||t==="preserve-aspect"&&!ha(ns(e),ns(n),.2)}function hl(t){var e;return t!==t.root&&((e=t.scroll)===null||e===void 0?void 0:e.wasRoot)}const fl=Vi({attachResizeListener:(t,e)=>W(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),oe={current:void 0},Ci=Vi({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!oe.current){const t=new fl({});t.mount(window),t.setOptions({layoutScroll:!0}),oe.current=t}return oe.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),dl={pan:{Feature:Ca},drag:{Feature:wa,ProjectionNode:Ci,MeasureLayout:Ti}};function fs(t,e){const n=e?"pointerenter":"pointerleave",s=e?"onHoverStart":"onHoverEnd",i=(r,o)=>{if(r.pointerType==="touch"||ui())return;const a=t.getProps();t.animationState&&a.whileHover&&t.animationState.setActive("whileHover",e);const l=a[s];l&&V.postRender(()=>l(r,o))};return H(t.current,n,i,{passive:!t.getProps()[s]})}class pl extends J{mount(){this.unmount=z(fs(this.node,!0),fs(this.node,!1))}unmount(){}}class ml extends J{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=z(W(this.node.current,"focus",()=>this.onFocus()),W(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}const Mi=(t,e)=>e?t===e?!0:Mi(t,e.parentElement):!1;function re(t,e){if(!e)return;const n=new PointerEvent("pointer"+t);e(n,Gt(n))}class gl extends J{constructor(){super(...arguments),this.removeStartListeners=L,this.removeEndListeners=L,this.removeAccessibleListeners=L,this.startPointerPress=(e,n)=>{if(this.isPressing)return;this.removeEndListeners();const s=this.node.getProps(),r=H(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;const{onTap:u,onTapCancel:c,globalTapTarget:h}=this.node.getProps(),f=!h&&!Mi(this.node.current,a.target)?c:u;f&&V.update(()=>f(a,l))},{passive:!(s.onTap||s.onPointerUp)}),o=H(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(s.onTapCancel||s.onPointerCancel)});this.removeEndListeners=z(r,o),this.startPress(e,n)},this.startAccessiblePress=()=>{const e=r=>{if(r.key!=="Enter"||this.isPressing)return;const o=a=>{a.key!=="Enter"||!this.checkPressEnd()||re("up",(l,u)=>{const{onTap:c}=this.node.getProps();c&&V.postRender(()=>c(l,u))})};this.removeEndListeners(),this.removeEndListeners=W(this.node.current,"keyup",o),re("down",(a,l)=>{this.startPress(a,l)})},n=W(this.node.current,"keydown",e),s=()=>{this.isPressing&&re("cancel",(r,o)=>this.cancelPress(r,o))},i=W(this.node.current,"blur",s);this.removeAccessibleListeners=z(n,i)}}startPress(e,n){this.isPressing=!0;const{onTapStart:s,whileTap:i}=this.node.getProps();i&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),s&&V.postRender(()=>s(e,n))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!ui()}cancelPress(e,n){if(!this.checkPressEnd())return;const{onTapCancel:s}=this.node.getProps();s&&V.postRender(()=>s(e,n))}mount(){const e=this.node.getProps(),n=H(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),s=W(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=z(n,s)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}const Ae=new WeakMap,ae=new WeakMap,yl=t=>{const e=Ae.get(t.target);e&&e(t)},vl=t=>{t.forEach(yl)};function Tl({root:t,...e}){const n=t||document;ae.has(n)||ae.set(n,{});const s=ae.get(n),i=JSON.stringify(e);return s[i]||(s[i]=new IntersectionObserver(vl,{root:t,...e})),s[i]}function xl(t,e,n){const s=Tl(e);return Ae.set(t,n),s.observe(t),()=>{Ae.delete(t),s.unobserve(t)}}const Pl={some:0,all:1};class Sl extends J{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:s,amount:i="some",once:r}=e,o={root:n?n.current:void 0,rootMargin:s,threshold:typeof i=="number"?i:Pl[i]},a=l=>{const{isIntersecting:u}=l;if(this.isInView===u||(this.isInView=u,r&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:c,onViewportLeave:h}=this.node.getProps(),f=u?c:h;f&&f(l)};return xl(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(Al(e,n))&&this.startObserver()}unmount(){}}function Al({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const bl={inView:{Feature:Sl},tap:{Feature:gl},focus:{Feature:ml},hover:{Feature:pl}},Vl={layout:{ProjectionNode:Ci,MeasureLayout:Ti}},Di=P.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"}),$t=P.createContext({}),Ye=typeof window<"u",wl=Ye?P.useLayoutEffect:P.useEffect,Ri=P.createContext({strict:!1});function Cl(t,e,n,s,i){var r,o;const{visualElement:a}=P.useContext($t),l=P.useContext(Ri),u=P.useContext(He),c=P.useContext(Di).reducedMotion,h=P.useRef();s=s||l.renderer,!h.current&&s&&(h.current=s(t,{visualState:e,parent:a,props:n,presenceContext:u,blockInitialAnimation:u?u.initial===!1:!1,reducedMotionConfig:c}));const f=h.current,d=P.useContext(vi);f&&!f.projection&&i&&(f.type==="html"||f.type==="svg")&&Ml(h.current,n,i,d),P.useInsertionEffect(()=>{f&&f.update(n,u)});const p=n[ti],m=P.useRef(!!p&&!(!((r=window.MotionHandoffIsComplete)===null||r===void 0)&&r.call(window,p))&&((o=window.MotionHasOptimisedAnimation)===null||o===void 0?void 0:o.call(window,p)));return wl(()=>{f&&(window.MotionIsMounted=!0,f.updateFeatures(),Xe.render(f.render),m.current&&f.animationState&&f.animationState.animateChanges())}),P.useEffect(()=>{f&&(!m.current&&f.animationState&&f.animationState.animateChanges(),m.current&&(queueMicrotask(()=>{var v;(v=window.MotionHandoffMarkAsComplete)===null||v===void 0||v.call(window,p)}),m.current=!1))}),f}function Ml(t,e,n,s){const{layoutId:i,layout:r,drag:o,dragConstraints:a,layoutScroll:l,layoutRoot:u}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:Ei(t.parent)),t.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!o||a&&at(a),visualElement:t,animationType:typeof r=="string"?r:"both",initialPromotionConfig:s,layoutScroll:l,layoutRoot:u})}function Ei(t){if(t)return t.options.allowProjection!==!1?t.projection:Ei(t.parent)}function Dl(t,e,n){return P.useCallback(s=>{s&&t.mount&&t.mount(s),e&&(s?e.mount(s):e.unmount()),n&&(typeof n=="function"?n(s):at(n)&&(n.current=s))},[e])}function zt(t){return _t(t.animate)||Ce.some(e=>Pt(t[e]))}function Li(t){return!!(zt(t)||t.variants)}function Rl(t,e){if(zt(t)){const{initial:n,animate:s}=t;return{initial:n===!1||Pt(n)?n:void 0,animate:Pt(s)?s:void 0}}return t.inherit!==!1?e:{}}function El(t){const{initial:e,animate:n}=Rl(t,P.useContext($t));return P.useMemo(()=>({initial:e,animate:n}),[ds(e),ds(n)])}function ds(t){return Array.isArray(t)?t.join(" "):t}const ps={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"]},dt={};for(const t in ps)dt[t]={isEnabled:e=>ps[t].some(n=>!!e[n])};function Ll(t){for(const e in t)dt[e]={...dt[e],...t[e]}}const Fl=Symbol.for("motionComponentSymbol");function Bl({preloadedFeatures:t,createVisualElement:e,useRender:n,useVisualState:s,Component:i}){t&&Ll(t);function r(a,l){let u;const c={...P.useContext(Di),...a,layoutId:kl(a)},{isStatic:h}=c,f=El(a),d=s(a,h);if(!h&&Ye){Ol();const p=jl(c);u=p.MeasureLayout,f.visualElement=Cl(i,d,c,e,p.ProjectionNode)}return le.jsxs($t.Provider,{value:f,children:[u&&f.visualElement?le.jsx(u,{visualElement:f.visualElement,...c}):null,n(i,a,Dl(d,f.visualElement,l),d,h,f.visualElement)]})}const o=P.forwardRef(r);return o[Fl]=i,o}function kl({layoutId:t}){const e=P.useContext(yi).id;return e&&t!==void 0?e+"-"+t:t}function Ol(t,e){P.useContext(Ri).strict}function jl(t){const{drag:e,layout:n}=dt;if(!e&&!n)return{};const s={...e,...n};return{MeasureLayout:e?.isEnabled(t)||n?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}const Il=["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 qe(t){return typeof t!="string"||t.includes("-")?!1:!!(Il.indexOf(t)>-1||/[A-Z]/u.test(t))}function Fi(t,{style:e,vars:n},s,i){Object.assign(t.style,e,i&&i.getProjectionStyles(s));for(const r in n)t.style.setProperty(r,n[r])}const Bi=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 ki(t,e,n,s){Fi(t,e,void 0,s);for(const i in e.attrs)t.setAttribute(Bi.has(i)?i:ze(i),e.attrs[i])}function Oi(t,{layout:e,layoutId:n}){return it.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!Nt[t]||t==="opacity")}function Ze(t,e,n){var s;const{style:i}=t,r={};for(const o in i)(E(i[o])||e.style&&E(e.style[o])||Oi(o,t)||((s=n?.getValue(o))===null||s===void 0?void 0:s.liveStyle)!==void 0)&&(r[o]=i[o]);return r}function ji(t,e,n){const s=Ze(t,e,n);for(const i in t)if(E(t[i])||E(e[i])){const r=Vt.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;s[r]=t[i]}return s}function Nl(t){const e=P.useRef(null);return e.current===null&&(e.current=t()),e.current}function Ul({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:n},s,i,r){const o={latestValues:_l(s,i,r,t),renderState:e()};return n&&(o.mount=a=>n(s,a,o)),o}const Ii=t=>(e,n)=>{const s=P.useContext($t),i=P.useContext(He),r=()=>Ul(t,e,s,i);return n?r():Nl(r)};function _l(t,e,n,s){const i={},r=s(t,{});for(const f in r)i[f]=Ft(r[f]);let{initial:o,animate:a}=t;const l=zt(t),u=Li(t);e&&u&&!l&&t.inherit!==!1&&(o===void 0&&(o=e.initial),a===void 0&&(a=e.animate));let c=n?n.initial===!1:!1;c=c||o===!1;const h=c?a:o;if(h&&typeof h!="boolean"&&!_t(h)){const f=Array.isArray(h)?h:[h];for(let d=0;d({style:{},transform:{},transformOrigin:{},vars:{}}),Ni=()=>({...Je(),attrs:{}}),Ui=(t,e)=>e&&typeof t=="number"?e.transform(t):t,Kl={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Wl=Vt.length;function Gl(t,e,n){let s="",i=!0;for(let r=0;rtypeof t=="string"&&t.toLowerCase()==="svg",Yl={useVisualState:Ii({scrapeMotionValuesFromProps:ji,createRenderState:Ni,onMount:(t,e,{renderState:n,latestValues:s})=>{V.read(()=>{try{n.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}}),V.render(()=>{tn(n,s,en(e.tagName),t.transformTemplate),ki(e,n)})}})},ql={useVisualState:Ii({scrapeMotionValuesFromProps:Ze,createRenderState:Je})};function _i(t,e,n){for(const s in e)!E(e[s])&&!Oi(s,n)&&(t[s]=e[s])}function Zl({transformTemplate:t},e){return P.useMemo(()=>{const n=Je();return Qe(n,e,t),Object.assign({},n.vars,n.style)},[e])}function Jl(t,e){const n=t.style||{},s={};return _i(s,n,t),Object.assign(s,Zl(t,e)),s}function Ql(t,e){const n={},s=Jl(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n}const tu=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 Ut(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||tu.has(t)}let Ki=t=>!Ut(t);function eu(t){t&&(Ki=e=>e.startsWith("on")?!Ut(e):t(e))}try{eu(require("@emotion/is-prop-valid").default)}catch{}function nu(t,e,n){const s={};for(const i in t)i==="values"&&typeof t.values=="object"||(Ki(i)||n===!0&&Ut(i)||!e&&!Ut(i)||t.draggable&&i.startsWith("onDrag"))&&(s[i]=t[i]);return s}function su(t,e,n,s){const i=P.useMemo(()=>{const r=Ni();return tn(r,e,en(s),t.transformTemplate),{...r.attrs,style:{...r.style}}},[e]);if(t.style){const r={};_i(r,t.style,t),i.style={...r,...i.style}}return i}function iu(t=!1){return(n,s,i,{latestValues:r},o)=>{const l=(qe(n)?su:Ql)(s,r,o,n),u=nu(s,typeof n=="string",t),c=n!==P.Fragment?{...u,...l,ref:i}:{},{children:h}=s,f=P.useMemo(()=>E(h)?h.get():h,[h]);return P.createElement(n,{...c,children:f})}}function ou(t,e){return function(s,{forwardMotionProps:i}={forwardMotionProps:!1}){const o={...qe(s)?Yl:ql,preloadedFeatures:t,useRender:iu(i),createVisualElement:e,Component:s};return Bl(o)}}const be={current:null},Wi={current:!1};function ru(){if(Wi.current=!0,!!Ye)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>be.current=t.matches;t.addListener(e),e()}else be.current=!1}function au(t,e,n){for(const s in e){const i=e[s],r=n[s];if(E(i))t.addValue(s,i);else if(E(r))t.addValue(s,bt(i,{owner:t}));else if(r!==i)if(t.hasValue(s)){const o=t.getValue(s);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=t.getStaticValue(s);t.addValue(s,bt(o!==void 0?o:i,{owner:t}))}}for(const s in n)e[s]===void 0&&t.removeValue(s);return e}const gs=new WeakMap,lu=[...Bs,R,Z],uu=t=>lu.find(Fs(t)),ys=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class cu{scrapeMotionValuesFromProps(e,n,s){return{}}constructor({parent:e,props:n,presenceContext:s,reducedMotionConfig:i,blockInitialAnimation:r,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Le,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 f=_.now();this.renderScheduledAtthis.bindToMotionValue(s,n)),Wi.current||ru(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:be.current,this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){gs.delete(this.current),this.projection&&this.projection.unmount(),Y(this.notifyUpdate),Y(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 n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const s=it.has(e),i=n.on("change",a=>{this.latestValues[e]=a,this.props.onUpdate&&V.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0)}),r=n.on("renderRequest",this.scheduleRender);let o;window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),r(),o&&o(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in dt){const n=dt[e];if(!n)continue;const{isEnabled:s,Feature:i}=n;if(!this.features[e]&&i&&s(this.props)&&(this.features[e]=new i(this)),this.features[e]){const r=this.features[e];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):C()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;sn.variantChildren.delete(e)}addValue(e,n){const s=this.values.get(e);n!==s&&(s&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&n!==void 0&&(s=bt(n===null?void 0:n,{owner:this}),this.addValue(e,s)),s}readValue(e,n){var s;let i=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(s=this.getBaseTargetFromProps(this.props,e))!==null&&s!==void 0?s:this.readValueFromInstance(this.current,e,this.options);return i!=null&&(typeof i=="string"&&(Ds(i)||Ms(i))?i=parseFloat(i):!uu(i)&&Z.test(n)&&(i=Ks(e,n)),this.setBaseTarget(e,E(i)?i.get():i)),E(i)?i.get():i}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){var n;const{initial:s}=this.props;let i;if(typeof s=="string"||typeof s=="object"){const o=Ve(this.props,s,(n=this.presenceContext)===null||n===void 0?void 0:n.custom);o&&(i=o[e])}if(s&&i!==void 0)return i;const r=this.getBaseTargetFromProps(this.props,e);return r!==void 0&&!E(r)?r:this.initialValues[e]!==void 0&&i===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new $e),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}}class Gi extends cu{constructor(){super(...arguments),this.KeyframeResolver=Ws}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){return e.style?e.style[n]:void 0}removeValueFromRenderState(e,{vars:n,style:s}){delete n[e],delete s[e]}}function hu(t){return window.getComputedStyle(t)}class fu extends Gi{constructor(){super(...arguments),this.type="html",this.renderInstance=Fi}readValueFromInstance(e,n){if(it.has(n)){const s=Oe(n);return s&&s.default||0}else{const s=hu(e),i=(Es(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return mi(e,n)}build(e,n,s){Qe(e,n,s.transformTemplate)}scrapeMotionValuesFromProps(e,n,s){return Ze(e,n,s)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;E(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class du extends Gi{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=C}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(it.has(n)){const s=Oe(n);return s&&s.default||0}return n=Bi.has(n)?n:ze(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,s){return ji(e,n,s)}build(e,n,s){tn(e,n,this.isSVGTag,s.transformTemplate)}renderInstance(e,n,s,i){ki(e,n,s,i)}mount(e){this.isSVGTag=en(e.tagName),super.mount(e)}}const pu=(t,e)=>qe(t)?new du(e):new fu(e,{allowProjection:t!==P.Fragment}),mu=ou({...na,...bl,...dl,...Vl},pu),Su=zi(mu);export{yi as L,Di as M,He as P,wl as a,Su as m,Nl as u}; diff --git a/angor-logo.jpg b/angor-logo.jpg new file mode 100644 index 0000000000000000000000000000000000000000..26f2187f973f9679a4d369662242bc6889a29915 GIT binary patch literal 38185 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 literal 0 HcmV?d00001 diff --git a/blog/article/index.html b/blog/article/index.html index 0e0c210..4779816 100644 --- a/blog/article/index.html +++ b/blog/article/index.html @@ -1,4 +1,4 @@ - AI and Machine Learning
\ No newline at end of file diff --git a/btc-price/index.html b/btc-price/index.html index 39e42de..bad27a8 100644 --- a/btc-price/index.html +++ b/btc-price/index.html @@ -1,2 +1,2 @@ - Bitcoin Price

Bitcoin Price

Real-time BTC Price

Loading...
Loading...
\ No newline at end of file + Bitcoin Price

Bitcoin Price

Real-time BTC Price

Loading...
Loading...
\ No newline at end of file diff --git a/how-angor-works/index.html b/how-angor-works/index.html index 44e0e53..fac4997 100644 --- a/how-angor-works/index.html +++ b/how-angor-works/index.html @@ -1,2 +1,2 @@ - How Angor Works

How Angor Works

Understanding the Angor Process

Angor is a crowdfunding platform. Like all crowdfunding platforms, Angor allows founders to raise capital from a group of investors to finance various projects, such as innovative open source software for instance.

\ No newline at end of file + How Angor Works

How Angor Works

Understanding the Angor Process

Angor is a crowdfunding platform. Like all crowdfunding platforms, Angor allows founders to raise capital from a group of investors to finance various projects, such as innovative open source software for instance.

\ No newline at end of file diff --git a/index.html b/index.html index e1f29aa..6ad1e58 100644 --- a/index.html +++ b/index.html @@ -1,4 +1,4 @@ Angor

non custodial crowdfunding

with Angor

Angor Hub
Dashboard image
Introduction

Decentralized crowdfunding

We're shaking up how Bitcoin crowdfunding works. Angor is a decentralized protocol, uniquely merging the security of Bitcoin with the transparency of Nostr. Investors funds are released in stages through time-lock contracts. Unspent funds can be recovered at any point, ensuring that investors maintain control and aligning the interests of investors and founders.

  • Investor Empowerment
  • Founder Advantage
  • Transparent Platform
Behind the Tech

Angor has no backend and is verifiable source code

It relies on Bitcoin explorers and Nostr relays, which users can run on their own.

  • Tech stack:
  • Multisig 2-of-2 for revocation
  • Taproot for efficiency
  • Time-lock contracts (CLTV, CSV) for milestones
  • Nostr protocol for comms and web of trust
  • Hash locks for group revocation
Where connections happen

Angor Hub

Angor Hub is a Nostr client built around the Angor protocol, offering tools to explore crowdfunding projects, connect with investors, and engage directly with founders. Whether you're seeking investment opportunities or funding for your project, Angor Hub provides secure messaging, project pages, and group channels for seamless interaction within a decentralized environment.

Have any questions?

Frequently Asked Questions

What is Angor?

Angor is fully decentralized, with no middleman involved in the investment process. It has no backend and uses the Bitcoin and Nostr protocols to achieve this.

How does Angor work?

Angor leverages Bitcoin’s scripting language to program spending conditions like timelocks, hashlocks, and multisig. Each project milestone is represented as a UTXO, releasing funds over time using timelocks, while a 2-of-2 multisig allows investors to exit if needed, when an investor exists a project their Bitcoin becomes locked for the duration of a predefined penalty.

What role does Nostr play?

Nostr is used for storing project metadata and facilitating communication between founders and investors. Angor Hub allows you to create custom project views, search for projects, and get updates from founders.

How does Angor benefit investors?

Investor funds are time-locked, preventing rug pulls, and offering more control over unspent funds, which reduces financial risk.

What advantages does Angor offer to founders?

Founders benefit from a secure platform for investors, unlocking more capital. Investors are guaranteed that their funds are committed to the project, attracting serious backers.

Is Angor suitable for all types of crowdfunding projects?

Angor’s decentralized and secure nature makes it suitable for a wide range of crowdfunding projects.

What assets can I invest?

Angor only supports Bitcoin for investments.

Do I need permission to use Angor?

Angor is permissionless and censorship-resistant, just like Bitcoin.

How does Angor ensure the security of funds?

Angor uses Bitcoin’s time-lock contracts and a 2-of-2 multisig approach, ensuring the security of funds at each stage.

How do I recover my unspent funds?

If you want to exit a project you backed, you can initiate a recovery of any unspent funds through your Angor wallet. This process allows you to exit the project securely.

Are there any restrictions/charges for recovering unspent funds?

There are no charges, except for the miner fee. Angor’s protocol ensures you retain control over your contributions without additional platform fees.

How long does it take to recover unspent funds?

Recovering unspent funds is quick and processed via your Angor wallet. Ensure the recovery transaction fee rate is high enough to get into the target block.

What happens if the project is not fully funded?

If a project doesn’t reach full funding, there are two potential paths: if the founder consents, they can co-sign an exit transaction using the 2-of-2 multisig setup to return funds. If not, the investor may need to engage in a penalty process.

When and how are rewards/tokens paid to investors?

Angor does not manage rewards such as shares or token allocation; this is handled directly between the founder and investor.

How can I get updates on the projects' progress?

You can monitor project progress on Angor Hub, where updates will be posted using the Nostr relays. This provides real-time access to project statuses and milestones. Notifications can be enabled to alert you to significant developments.

How do you select and vet crowdfunding projects?

Angor is a decentralized protocol, and developers do not participate in the selection or vetting of projects listed on the platform. The responsibility for choosing projects lies with the community and the protocol’s trustless design.

\ No newline at end of file +

non custodial crowdfunding

with Angor

Angor Hub
Dashboard image
Introduction

Decentralized crowdfunding

We're shaking up how Bitcoin crowdfunding works. Angor is a decentralized protocol, uniquely merging the security of Bitcoin with the transparency of Nostr. Investors funds are released in stages through time-lock contracts. Unspent funds can be recovered at any point, ensuring that investors maintain control and aligning the interests of investors and founders.

  • Investor Empowerment
  • Founder Advantage
  • Transparent Platform
Behind the Tech

Angor has no backend and is verifiable source code

It relies on Bitcoin explorers and Nostr relays, which users can run on their own.

  • Tech stack:
  • Multisig 2-of-2 for revocation
  • Taproot for efficiency
  • Time-lock contracts (CLTV, CSV) for milestones
  • Nostr protocol for comms and web of trust
  • Hash locks for group revocation
Where connections happen

Angor Hub

Angor Hub is a Nostr client built around the Angor protocol, offering tools to explore crowdfunding projects, connect with investors, and engage directly with founders. Whether you're seeking investment opportunities or funding for your project, Angor Hub provides secure messaging, project pages, and group channels for seamless interaction within a decentralized environment.

Have any questions?

Frequently Asked Questions

What is Angor?

Angor is fully decentralized, with no middleman involved in the investment process. It has no backend and uses the Bitcoin and Nostr protocols to achieve this.

How does Angor work?

Angor leverages Bitcoin’s scripting language to program spending conditions like timelocks, hashlocks, and multisig. Each project milestone is represented as a UTXO, releasing funds over time using timelocks, while a 2-of-2 multisig allows investors to exit if needed, when an investor exists a project their Bitcoin becomes locked for the duration of a predefined penalty.

What role does Nostr play?

Nostr is used for storing project metadata and facilitating communication between founders and investors. Angor Hub allows you to create custom project views, search for projects, and get updates from founders.

How does Angor benefit investors?

Investor funds are time-locked, preventing rug pulls, and offering more control over unspent funds, which reduces financial risk.

What advantages does Angor offer to founders?

Founders benefit from a secure platform for investors, unlocking more capital. Investors are guaranteed that their funds are committed to the project, attracting serious backers.

Is Angor suitable for all types of crowdfunding projects?

Angor’s decentralized and secure nature makes it suitable for a wide range of crowdfunding projects.

What assets can I invest?

Angor only supports Bitcoin for investments.

Do I need permission to use Angor?

Angor is permissionless and censorship-resistant, just like Bitcoin.

How does Angor ensure the security of funds?

Angor uses Bitcoin’s time-lock contracts and a 2-of-2 multisig approach, ensuring the security of funds at each stage.

How do I recover my unspent funds?

If you want to exit a project you backed, you can initiate a recovery of any unspent funds through your Angor wallet. This process allows you to exit the project securely.

Are there any restrictions/charges for recovering unspent funds?

There are no charges, except for the miner fee. Angor’s protocol ensures you retain control over your contributions without additional platform fees.

How long does it take to recover unspent funds?

Recovering unspent funds is quick and processed via your Angor wallet. Ensure the recovery transaction fee rate is high enough to get into the target block.

What happens if the project is not fully funded?

If a project doesn’t reach full funding, there are two potential paths: if the founder consents, they can co-sign an exit transaction using the 2-of-2 multisig setup to return funds. If not, the investor may need to engage in a penalty process.

When and how are rewards/tokens paid to investors?

Angor does not manage rewards such as shares or token allocation; this is handled directly between the founder and investor.

How can I get updates on the projects' progress?

You can monitor project progress on Angor Hub, where updates will be posted using the Nostr relays. This provides real-time access to project statuses and milestones. Notifications can be enabled to alert you to significant developments.

How do you select and vet crowdfunding projects?

Angor is a decentralized protocol, and developers do not participate in the selection or vetting of projects listed on the platform. The responsibility for choosing projects lies with the community and the protocol’s trustless design.

\ No newline at end of file