(globalThis.webpackChunkextendify=globalThis.webpackChunkextendify||[]).push([[746],{1984:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r=n(9307);const o=(0,r.forwardRef)((function({icon:e,size:t=24,...n},o){return(0,r.cloneElement)(e,{width:t,height:t,...n,ref:o})}))},9596:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M2 12c0 3.6 2.4 5.5 6 5.5h.5V19l3-2.5-3-2.5v2H8c-2.5 0-4.5-1.5-4.5-4s2-4.5 4.5-4.5h3.5V6H8c-3.6 0-6 2.4-6 6zm19.5-1h-8v1.5h8V11zm0 5h-8v1.5h8V16zm0-10h-8v1.5h8V6z"})})},1150:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M13 5.5H4V4h9v1.5Zm7 7H4V11h16v1.5Zm-7 7H4V18h9v1.5Z"})})},4022:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M19 5.5H5V4h14v1.5ZM19 20H5v-1.5h14V20ZM5 9h14v6H5V9Z"})})},2278:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M20 11.2H6.8l3.7-3.7-1-1L3.9 12l5.6 5.5 1-1-3.7-3.7H20z"})})},3708:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m14.5 6.5-1 1 3.7 3.7H4v1.6h13.2l-3.7 3.7 1 1 5.6-5.5z"})})},8184:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M16.7 7.1l-6.3 8.5-3.3-2.5-.9 1.2 4.5 3.4L17.9 8z"})})},3904:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})})},6282:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m13.1 16-3.4-4 3.4-4 1.1 1-2.6 3 2.6 3-1.1 1z"})})},4310:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M14.6 7l-1.2-1L8 12l5.4 6 1.2-1-4.6-5z"})})},2462:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M10.8622 8.04053L14.2805 12.0286L10.8622 16.0167L9.72327 15.0405L12.3049 12.0286L9.72327 9.01672L10.8622 8.04053Z"})})},5024:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M10.6 6L9.4 7l4.6 5-4.6 5 1.2 1 5.4-6z"})})},3968:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m12 20-4.5-3.6-.9 1.2L12 22l5.5-4.4-.9-1.2L12 20zm0-16 4.5 3.6.9-1.2L12 2 6.5 6.4l.9 1.2L12 4z"})})},6015:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{d:"M6.5 12.4L12 8l5.5 4.4-.9 1.2L12 10l-4.5 3.6-1-1.2z"})})},7231:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})})},5202:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m13.06 12 6.47-6.47-1.06-1.06L12 10.94 5.53 4.47 4.47 5.53 10.94 12l-6.47 6.47 1.06 1.06L12 13.06l6.47 6.47 1.06-1.06L13.06 12Z"})})},1525:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M18 20v-2h2v-1.5H7.75a.25.25 0 0 1-.25-.25V4H6v2H4v1.5h2v8.75c0 .966.784 1.75 1.75 1.75h8.75v2H18ZM9.273 7.5h6.977a.25.25 0 0 1 .25.25v6.977H18V7.75A1.75 1.75 0 0 0 16.25 6H9.273v1.5Z"})})},7157:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4zm.8-4l.7.7 2-2V12h1V9.2l2 2 .7-.7-2-2H12v-1H9.2l2-2-.7-.7-2 2V4h-1v2.8l-2-2-.7.7 2 2H4v1h2.8l-2 2z"})})},9540:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M8 7h2V5H8v2zm0 6h2v-2H8v2zm0 6h2v-2H8v2zm6-14v2h2V5h-2zm0 8h2v-2h-2v2zm0 6h2v-2h-2v2z"})})},7239:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{width:"24",height:"24",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M18 4H6c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm-4 14.5H6c-.3 0-.5-.2-.5-.5V6c0-.3.2-.5.5-.5h8v13zm4.5-.5c0 .3-.2.5-.5.5h-2.5v-13H18c.3 0 .5.2.5.5v12z"})})},4896:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=n(8824).Z},6755:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"})})},7267:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M12 4 4 19h16L12 4zm0 3.2 5.5 10.3H12V7.2z"})})},7559:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",d:"M18 5.5h-8v8h8.5V6a.5.5 0 00-.5-.5zm-9.5 8h-3V6a.5.5 0 01.5-.5h2.5v8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})})},618:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M14.7 11.3c1-.6 1.5-1.6 1.5-3 0-2.3-1.3-3.4-4-3.4H7v14h5.8c1.4 0 2.5-.3 3.3-1 .8-.7 1.2-1.7 1.2-2.9.1-1.9-.8-3.1-2.6-3.7zm-5.1-4h2.3c.6 0 1.1.1 1.4.4.3.3.5.7.5 1.2s-.2 1-.5 1.2c-.3.3-.8.4-1.4.4H9.6V7.3zm4.6 9c-.4.3-1 .4-1.7.4H9.6v-3.9h2.9c.7 0 1.3.2 1.7.5.4.3.6.8.6 1.5s-.2 1.2-.6 1.5z"})})},6362:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M12.5 5L10 19h1.9l2.5-14z"})})},8766:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M12 3.3c-4.8 0-8.8 3.9-8.8 8.8 0 4.8 3.9 8.8 8.8 8.8 4.8 0 8.8-3.9 8.8-8.8s-4-8.8-8.8-8.8zm6.5 5.5h-2.6C15.4 7.3 14.8 6 14 5c2 .6 3.6 2 4.5 3.8zm.7 3.2c0 .6-.1 1.2-.2 1.8h-2.9c.1-.6.1-1.2.1-1.8s-.1-1.2-.1-1.8H19c.2.6.2 1.2.2 1.8zM12 18.7c-1-.7-1.8-1.9-2.3-3.5h4.6c-.5 1.6-1.3 2.9-2.3 3.5zm-2.6-4.9c-.1-.6-.1-1.1-.1-1.8 0-.6.1-1.2.1-1.8h5.2c.1.6.1 1.1.1 1.8s-.1 1.2-.1 1.8H9.4zM4.8 12c0-.6.1-1.2.2-1.8h2.9c-.1.6-.1 1.2-.1 1.8 0 .6.1 1.2.1 1.8H5c-.2-.6-.2-1.2-.2-1.8zM12 5.3c1 .7 1.8 1.9 2.3 3.5H9.7c.5-1.6 1.3-2.9 2.3-3.5zM10 5c-.8 1-1.4 2.3-1.8 3.8H5.5C6.4 7 8 5.6 10 5zM5.5 15.3h2.6c.4 1.5 1 2.8 1.8 3.7-1.8-.6-3.5-2-4.4-3.7zM14 19c.8-1 1.4-2.2 1.8-3.7h2.6C17.6 17 16 18.4 14 19z"})})},304:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M18.5 10.5H10v8h8a.5.5 0 00.5-.5v-7.5zm-10 0h-3V18a.5.5 0 00.5.5h2.5v-8zM6 4h12a2 2 0 012 2v12a2 2 0 01-2 2H6a2 2 0 01-2-2V6a2 2 0 012-2z"})})},6329:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"24",height:"24",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 2C6.477 2 2 6.477 2 12s4.477 10 10 10 10-4.477 10-10S17.523 2 12 2zm-1 16v-2h2v2h-2zm2-3v-1.141A3.991 3.991 0 0016 10a4 4 0 00-8 0h2c0-1.103.897-2 2-2s2 .897 2 2-.897 2-2 2a1 1 0 00-1 1v2h2z"})})},6590:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zM5 4.5h14c.3 0 .5.2.5.5v8.4l-3-2.9c-.3-.3-.8-.3-1 0L11.9 14 9 12c-.3-.2-.6-.2-.8 0l-3.6 2.6V5c-.1-.3.1-.5.4-.5zm14 15H5c-.3 0-.5-.2-.5-.5v-2.4l4.1-3 3 1.9c.3.2.7.2.9-.1L16 12l3.5 3.4V19c0 .3-.2.5-.5.5z"})})},2913:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,o.jsx)(r.Path,{d:"M9 12h2v-2h2V8h-2V6H9v2H7v2h2v2zm1 4c3.9 0 7-3.1 7-7s-3.1-7-7-7-7 3.1-7 7 3.1 7 7 7zm0-12c2.8 0 5 2.2 5 5s-2.2 5-5 5-5-2.2-5-5 2.2-5 5-5zM3 19h14v-2H3v2z"})})},4461:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M17.5 10h-1.7l-3.7 10.5h1.7l.9-2.6h3.9l.9 2.6h1.7L17.5 10zm-2.2 6.3 1.4-4 1.4 4h-2.8zm-4.8-3.8c1.6-1.8 2.9-3.6 3.7-5.7H16V5.2h-5.8V3H8.8v2.2H3v1.5h9.6c-.7 1.6-1.8 3.1-3.1 4.6C8.6 10.2 7.8 9 7.2 8H5.6c.6 1.4 1.7 2.9 2.9 4.4l-2.4 2.4c-.3.4-.7.8-1.1 1.2l1 1 1.2-1.2c.8-.8 1.6-1.5 2.3-2.3.8.9 1.7 1.7 2.5 2.5l.6-1.5c-.7-.6-1.4-1.3-2.1-2z"})})},7724:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M5 11.25h14v1.5H5z"})})},8406:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M10 17.389H8.444A5.194 5.194 0 1 1 8.444 7H10v1.5H8.444a3.694 3.694 0 0 0 0 7.389H10v1.5ZM14 7h1.556a5.194 5.194 0 0 1 0 10.39H14v-1.5h1.556a3.694 3.694 0 0 0 0-7.39H14V7Zm-4.5 6h5v-1.5h-5V13Z"})})},7742:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{d:"M3 6h11v1.5H3V6Zm3.5 5.5h11V13h-11v-1.5ZM21 17H10v1.5h11V17Z"})})},3279:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M13 19h-2v-2h2v2zm0-6h-2v-2h2v2zm0-6h-2V5h2v2z"})})},497:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{d:"M12 4c-4.4 0-8 3.6-8 8s3.6 8 8 8 8-3.6 8-8-3.6-8-8-8zm0 14.5c-3.6 0-6.5-2.9-6.5-6.5S8.4 5.5 12 5.5s6.5 2.9 6.5 6.5-2.9 6.5-6.5 6.5zM9 16l4.5-3L15 8.4l-4.5 3L9 16z"})})},897:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsxs)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:[(0,o.jsx)(r.Path,{d:"M15.5 7.5h-7V9h7V7.5Zm-7 3.5h7v1.5h-7V11Zm7 3.5h-7V16h7v-1.5Z"}),(0,o.jsx)(r.Path,{d:"M17 4H7a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2ZM7 5.5h10a.5.5 0 0 1 .5.5v12a.5.5 0 0 1-.5.5H7a.5.5 0 0 1-.5-.5V6a.5.5 0 0 1 .5-.5Z"})]})},9454:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m9.99609 14v-.2251l.00391.0001v6.225h1.5v-14.5h2.5v14.5h1.5v-14.5h3v-1.5h-8.50391c-2.76142 0-5 2.23858-5 5 0 2.7614 2.23858 5 5 5z"})})},8824:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m19 7-3-3-8.5 8.5-1 4 4-1L19 7Zm-7 11.5H5V20h7v-1.5Z"})})},1941:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M10.5 4v4h3V4H15v4h1.5a1 1 0 011 1v4l-3 4v2a1 1 0 01-1 1h-3a1 1 0 01-1-1v-2l-3-4V9a1 1 0 011-1H9V4h1.5zm.5 12.5v2h2v-2l3-4v-3H8v3l3 4z"})})},5117:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M11 12.5V17.5H12.5V12.5H17.5V11H12.5V6H11V11H6V12.5H11Z"})})},7713:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M14 10.1V4c0-.6-.4-1-1-1H5c-.6 0-1 .4-1 1v8.3c0 .3.2.7.6.8.1.1.2.1.3.1.2 0 .5-.1.6-.3l1.8-1.8H13c.6 0 1-.4 1-1zm-1.5-.5H6.7l-1.2 1.2V4.5h7v5.1zM19 12h-8c-.6 0-1 .4-1 1v6.1c0 .6.4 1 1 1h5.7l1.8 1.8c.1.2.4.3.6.3.1 0 .2 0 .3-.1.4-.1.6-.5.6-.8V13c0-.6-.4-1-1-1zm-.5 7.8l-1.2-1.2h-5.8v-5.1h7v6.3z"})})},5621:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M4 6h12V4.5H4V6Zm16 4.5H4V9h16v1.5ZM4 15h16v-1.5H4V15Zm0 4.5h16V18H4v1.5Z"})})},3903:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"m7.3 9.7 1.4 1.4c.2-.2.3-.3.4-.5 0 0 0-.1.1-.1.3-.5.4-1.1.3-1.6L12 7 9 4 7.2 6.5c-.6-.1-1.1 0-1.6.3 0 0-.1 0-.1.1-.3.1-.4.2-.6.4l1.4 1.4L4 11v1h1l2.3-2.3zM4 20h9v-1.5H4V20zm0-5.5V16h16v-1.5H4z"})})},343:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{d:"M13 6v6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H13zm-9 6h5.2v4c0 .8-.2 1.4-.5 1.7-.6.6-1.6.6-2.5.5h-.3v1.5h.5c1 0 2.3-.1 3.3-1 .6-.6 1-1.6 1-2.8V6H4v6z"})})},1819:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M15.6 6.5l-1.1 1 2.9 3.3H8c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.3-.5h9.2L14.5 15l1.1 1.1 4.6-4.6-4.6-5z"})})},3970:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M16 10h4c.6 0 1-.4 1-1V5c0-.6-.4-1-1-1h-4c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1zm-8 4H4c-.6 0-1 .4-1 1v4c0 .6.4 1 1 1h4c.6 0 1-.4 1-1v-4c0-.6-.4-1-1-1zm10-2.6L14.5 15l1.1 1.1 1.7-1.7c-.1 1.1-.3 2.3-.9 2.9-.3.3-.7.5-1.3.5h-4.5v1.5H15c.9 0 1.7-.3 2.3-.9 1-1 1.3-2.7 1.4-4l1.8 1.8 1.1-1.1-3.6-3.7zM6.8 9.7c.1-1.1.3-2.3.9-2.9.4-.4.8-.6 1.3-.6h4.5V4.8H9c-.9 0-1.7.3-2.3.9-1 1-1.3 2.7-1.4 4L3.5 8l-1 1L6 12.6 9.5 9l-1-1-1.7 1.7z"})})},9526:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M7 11.5h10V13H7z"})})},793:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M7 7.2h8.2L13.5 9l1.1 1.1 3.6-3.6-3.5-4-1.1 1 1.9 2.3H7c-.9 0-1.7.3-2.3.9-1.4 1.5-1.4 4.2-1.4 5.6v.2h1.5v-.3c0-1.1 0-3.5 1-4.5.3-.3.7-.5 1.2-.5zm13.8 4V11h-1.5v.3c0 1.1 0 3.5-1 4.5-.3.3-.7.5-1.3.5H8.8l1.7-1.7-1.1-1.1L5.9 17l3.5 4 1.1-1-1.9-2.3H17c.9 0 1.7-.3 2.3-.9 1.5-1.4 1.5-4.2 1.5-5.6z"})})},7755:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M12 4V2.2L9 4.8l3 2.5V5.5c3.6 0 6.5 2.9 6.5 6.5 0 2.9-1.9 5.3-4.5 6.2v.2l-.1-.2c-.4.1-.7.2-1.1.2l.2 1.5c.3 0 .6-.1 1-.2 3.5-.9 6-4 6-7.7 0-4.4-3.6-8-8-8zm-7.9 7l1.5.2c.1-1.2.5-2.3 1.2-3.2l-1.1-.9C4.8 8.2 4.3 9.6 4.1 11zm1.5 1.8l-1.5.2c.1.7.3 1.4.5 2 .3.7.6 1.3 1 1.8l1.2-.8c-.3-.5-.6-1-.8-1.5s-.4-1.1-.4-1.7zm1.5 5.5c1.1.9 2.4 1.4 3.8 1.6l.2-1.5c-1.1-.1-2.2-.5-3.1-1.2l-.9 1.1z"})})},2395:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})})},3801:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M12 3c-5 0-9 4-9 9s4 9 9 9 9-4 9-9-4-9-9-9zm0 1.5c4.1 0 7.5 3.4 7.5 7.5v.1c-1.4-.8-3.3-1.7-3.4-1.8-.2-.1-.5-.1-.8.1l-2.9 2.1L9 11.3c-.2-.1-.4 0-.6.1l-3.7 2.2c-.1-.5-.2-1-.2-1.5 0-4.2 3.4-7.6 7.5-7.6zm0 15c-3.1 0-5.7-1.9-6.9-4.5l3.7-2.2 3.5 1.2c.2.1.5 0 .7-.1l2.9-2.1c.8.4 2.5 1.2 3.5 1.9-.9 3.3-3.9 5.8-7.4 5.8z"})})},5677:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M11.776 4.454a.25.25 0 01.448 0l2.069 4.192a.25.25 0 00.188.137l4.626.672a.25.25 0 01.139.426l-3.348 3.263a.25.25 0 00-.072.222l.79 4.607a.25.25 0 01-.362.263l-4.138-2.175a.25.25 0 00-.232 0l-4.138 2.175a.25.25 0 01-.363-.263l.79-4.607a.25.25 0 00-.071-.222L4.754 9.881a.25.25 0 01.139-.426l4.626-.672a.25.25 0 00.188-.137l2.069-4.192z"})})},544:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0Zm-1.5 0a6.5 6.5 0 0 1-6.5 6.5v-13a6.5 6.5 0 0 1 6.5 6.5Z"})})},9696:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M6.08 10.103h2.914L9.657 12h1.417L8.23 4H6.846L4 12h1.417l.663-1.897Zm1.463-4.137.994 2.857h-2l1.006-2.857ZM11 16H4v-1.5h7V16Zm1 0h8v-1.5h-8V16Zm-4 4H4v-1.5h4V20Zm7-1.5V20H9v-1.5h6Z"})})},5661:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{fillRule:"evenodd",clipRule:"evenodd",d:"M12 5.5A2.25 2.25 0 0 0 9.878 7h4.244A2.251 2.251 0 0 0 12 5.5ZM12 4a3.751 3.751 0 0 0-3.675 3H5v1.5h1.27l.818 8.997a2.75 2.75 0 0 0 2.739 2.501h4.347a2.75 2.75 0 0 0 2.738-2.5L17.73 8.5H19V7h-3.325A3.751 3.751 0 0 0 12 4Zm4.224 4.5H7.776l.806 8.861a1.25 1.25 0 0 0 1.245 1.137h4.347a1.25 1.25 0 0 0 1.245-1.137l.805-8.861Z"})})},802:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",children:(0,o.jsx)(r.Path,{d:"M18.3 11.7c-.6-.6-1.4-.9-2.3-.9H6.7l2.9-3.3-1.1-1-4.5 5L8.5 16l1-1-2.7-2.7H16c.5 0 .9.2 1.3.5 1 1 1 3.4 1 4.5v.3h1.5v-.2c0-1.5 0-4.3-1.5-5.7z"})})},7329:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,o.jsx)(r.Path,{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"})})},8562:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(444),o=n(5893);const i=(0,o.jsx)(r.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24",children:(0,o.jsx)(r.Path,{d:"M20 10c0-5.51-4.49-10-10-10C4.48 0 0 4.49 0 10c0 5.52 4.48 10 10 10 5.51 0 10-4.48 10-10zM7.78 15.37L4.37 6.22c.55-.02 1.17-.08 1.17-.08.5-.06.44-1.13-.06-1.11 0 0-1.45.11-2.37.11-.18 0-.37 0-.58-.01C4.12 2.69 6.87 1.11 10 1.11c2.33 0 4.45.87 6.05 2.34-.68-.11-1.65.39-1.65 1.58 0 .74.45 1.36.9 2.1.35.61.55 1.36.55 2.46 0 1.49-1.4 5-1.4 5l-3.03-8.37c.54-.02.82-.17.82-.17.5-.05.44-1.25-.06-1.22 0 0-1.44.12-2.38.12-.87 0-2.33-.12-2.33-.12-.5-.03-.56 1.2-.06 1.22l.92.08 1.26 3.41zM17.41 10c.24-.64.74-1.87.43-4.25.7 1.29 1.05 2.71 1.05 4.25 0 3.29-1.73 6.24-4.4 7.78.97-2.59 1.94-5.2 2.92-7.78zM6.1 18.09C3.12 16.65 1.11 13.53 1.11 10c0-1.3.23-2.48.72-3.59C3.25 10.3 4.67 14.2 6.1 18.09zm4.03-6.63l2.58 6.98c-.86.29-1.76.45-2.71.45-.79 0-1.57-.11-2.29-.33.81-2.38 1.62-4.74 2.42-7.1z"})})},9960:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},7915:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(9960),s=n(7790);o(n(7790),t);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=a),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:a,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new s.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new s.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new s.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(""),t=new s.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new s.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},7790:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=h;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(h);t.CDATA=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(h);t.Document=p;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?s.ElementType.Script:"style"===t?s.ElementType.Style:s.ElementType.Tag);var i=e.call(this,r)||this;return i.name=t,i.attribs=n,i.type=o,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(h);function v(e){return(0,s.isTag)(e)}function g(e){return e.type===s.ElementType.CDATA}function y(e){return e.type===s.ElementType.Text}function w(e){return e.type===s.ElementType.Comment}function b(e){return e.type===s.ElementType.Directive}function x(e){return e.type===s.ElementType.Root}function E(e,t){var n;if(void 0===t&&(t=!1),y(e))n=new u(e.data);else if(w(e))n=new c(e.data);else if(v(e)){var r=t?T(e.children):[],o=new m(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(g(e)){r=t?T(e.children):[];var s=new f(r);r.forEach((function(e){return e.parent=s})),n=s}else if(x(e)){r=t?T(e.children):[];var a=new p(r);r.forEach((function(e){return e.parent=a})),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),n=a}else{if(!b(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function T(e){for(var t=e.map((function(e){return E(e,!0)})),n=1;n{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{})},8276:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,c,d=e.match(i),h=d&&d[1]?d[1].toLowerCase():"";switch(h){case n:var p=u(e);return s.test(e)||null===(t=null==(v=p.querySelector(r))?void 0:v.parentNode)||void 0===t||t.removeChild(v),a.test(e)||null===(c=null==(v=p.querySelector(o))?void 0:v.parentNode)||void 0===c||c.removeChild(v),p.querySelectorAll(n);case r:case o:var m=l(e).querySelectorAll(h);return a.test(e)&&s.test(e)?m[0].parentNode.childNodes:m;default:return f?f(e):(v=l(e,o).querySelector(o)).childNodes;var v}};var n="html",r="head",o="body",i=/<([a-zA-Z]+[0-9]?)/,s=//i,a=//i,l=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},u=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},c="object"==typeof window&&window.DOMParser;if("function"==typeof c){var d=new c;l=u=function(e,t){return t&&(e="<".concat(t,">").concat(e,"")),d.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var h=document.implementation.createHTMLDocument();l=function(e,t){if(t){var n=h.documentElement.querySelector(t);return n&&(n.innerHTML=e),h}return h.documentElement.innerHTML=e,h}}var f,p="object"==typeof document&&document.createElement("template");p&&p.content&&(f=function(e){return p.innerHTML=e,p.content.childNodes})},4152:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(s),n=t?t[1]:void 0;return(0,i.formatDOM)((0,o.default)(e),null,n)};var o=r(n(8276)),i=n(1507),s=/<(![a-zA-Z\s]+)>/},1507:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=i,t.formatDOM=function e(t,n,o){void 0===n&&(n=null);for(var a,l=[],u=0,c=t.length;u{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e={});var n={},u=Boolean(e.type&&a[e.type]);for(var c in e){var d=e[c];if((0,r.isCustomAttribute)(c))n[c]=d;else{var h=c.toLowerCase(),f=l(h);if(f){var p=(0,r.getPropertyInfo)(f);switch(i.includes(f)&&s.includes(t)&&!u&&(f=l("default"+h)),n[f]=d,p&&p.type){case r.BOOLEAN:n[f]=!0;break;case r.OVERLOADED_BOOLEAN:""===d&&(n[f]=!0)}}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(n[c]=d)}}return(0,o.setStyleProp)(e.style,n),n};var r=n(5726),o=n(4606),i=["checked","value"],s=["input","select","textarea"],a={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}},3670:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){void 0===n&&(n={});for(var r=[],o="function"==typeof n.replace,u=n.transform||s.returnFirstArg,c=n.library||a,d=c.cloneElement,h=c.createElement,f=c.isValidElement,p=t.length,m=0;m1&&(g=d(g,{key:g.key||m})),r.push(u(g,v,m));continue}}if("text"!==v.type){var y=v,w={};l(y)?((0,s.setStyleProp)(y.attribs.style,y.attribs),w=y.attribs):y.attribs&&(w=(0,i.default)(y.attribs,y.name));var b=void 0;switch(v.type){case"script":case"style":v.children[0]&&(w.dangerouslySetInnerHTML={__html:v.children[0].data});break;case"tag":"textarea"===v.name&&v.children[0]?w.defaultValue=v.children[0].data:v.children&&v.children.length&&(b=e(v.children,n));break;default:continue}p>1&&(w.key=m),r.push(u(h(v.name,w,b),v,m))}else{var x=!v.data.trim().length;if(x&&v.parent&&!(0,s.canTextBeChildOfNode)(v.parent))continue;if(n.trim&&x)continue;r.push(u(v.data,v,m))}}return 1===r.length?r[0]:r};var o=n(9196),i=r(n(484)),s=n(4606),a={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement};function l(e){return s.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,s.isCustomComponent)(e.name,e.attribs)}},3426:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return e?(0,s.default)((0,o.default)(e,(null==t?void 0:t.htmlparser2)||l),t):[]};var o=r(n(4152));t.htmlToDOM=o.default;var i=r(n(484));t.attributesToProps=i.default;var s=r(n(3670));t.domToReact=s.default;var a=n(7915);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return a.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return a.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return a.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return a.Text}});var l={lowerCaseAttributeNames:!1}},4606:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=function(e,t){return e.includes("-")?!s.has(e):Boolean(t&&"string"==typeof t.is)},t.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,i.default)(e,a)}catch(e){t.style={}}else t.style={}};var o=n(9196),i=r(n(1476)),s=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),a={reactCompat:!0};t.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},8139:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,u="";function c(e){return e?e.replace(l,u):u}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,h=1;function f(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");h=~r?e.length-r:h+e.length}function p(){var e={line:d,column:h};return function(t){return t.position=new m(e),w(),t}}function m(e){this.start=e,this.end={line:d,column:h},this.source=l.source}m.prototype.content=e;var v=[];function g(t){var n=new Error(l.source+":"+d+":"+h+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=h,n.source=e,!l.silent)throw n;v.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function w(){y(r)}function b(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;u!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,u===e.charAt(n-1))return g("End of comment missing");var r=e.slice(2,n-2);return h+=2,f(r),e=e.slice(n),h+=2,t({type:"comment",comment:r})}}function E(){var e=p(),n=y(o);if(n){if(x(),!y(i))return g("property missing ':'");var r=y(s),l=e({type:"declaration",property:c(n[0].replace(t,u)),value:r?c(r[0].replace(t,u)):u});return y(a),l}}return w(),function(){var e,t=[];for(b(t);e=E();)!1!==e&&(t.push(e),b(t));return t}()}},827:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var r=n(9196),o=n.n(r);function i(){return i=Object.assign||function(e){for(var t=1;t{this.reCalculateColumnCount()}))):this.reCalculateColumnCount()}reCalculateColumnCount(){const e=window&&window.innerWidth||1/0;let t=this.props.breakpointCols;"object"!=typeof t&&(t={default:parseInt(t)||2});let n=1/0,r=t.default||2;for(let o in t){const i=parseInt(o);i>0&&e<=i&&io().createElement("div",i({},u,{key:t}),e)))}logDeprecated(e){console.error("[Masonry]",e)}render(){const e=this.props,{children:t,breakpointCols:n,columnClassName:r,columnAttrs:s,column:a,className:l}=e,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r=0||(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,["children","breakpointCols","columnClassName","columnAttrs","column","className"]);let c=l;return"string"!=typeof l&&(this.logDeprecated('The property "className" requires a string'),void 0===l&&(c="my-masonry-grid")),o().createElement("div",i({},u,{className:c}),this.renderColumns())}}u.defaultProps={breakpointCols:void 0,className:void 0,columnClassName:void 0,children:void 0,columnAttrs:void 0,column:void 0};const c=u},5726:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,s){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=s}const o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{o[e]=new r(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((([e,t])=>{o[e]=new r(e,1,!1,t,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{o[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{o[e]=new r(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"].forEach((e=>{o[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{o[e]=new r(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{o[e]=new r(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{o[e]=new r(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{o[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)}));const i=/[\-\:]([a-z])/g,s=e=>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"].forEach((e=>{const t=e.replace(i,s);o[t]=new r(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(i,s);o[t]=new r(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(i,s);o[t]=new r(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)})),o.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:a,SAME:l,possibleStandardNames:u}=n(8229),c=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[: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]*$")),d=Object.keys(u).reduce(((e,t)=>{const n=u[t];return n===l?e[t]=t:n===a?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},t.isCustomAttribute=c,t.possibleStandardNames=d},8229:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},5251:(e,t,n)=>{"use strict";var r=n(9196),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),s=Object.prototype.hasOwnProperty,a=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function u(e,t,n){var r,i={},u=null,c=null;for(r in void 0!==n&&(u=""+n),void 0!==t.key&&(u=""+t.key),void 0!==t.ref&&(c=t.ref),t)s.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:u,ref:c,props:i,_owner:a.current}}t.Fragment=i,t.jsx=u,t.jsxs=u},5893:(e,t,n)=>{"use strict";e.exports=n(5251)},1476:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(5174)),o=n(6678);function i(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,(function(e,r){e&&r&&(n[(0,o.camelCase)(e,t)]=r)})),n):n}i.default=i,e.exports=i},6678:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,l):e.replace(i,l)).replace(r,a))}},5174:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0});var o=r(n(8139));t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,o.default)(e),i="function"==typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}})),n}},3250:(e,t,n)=>{"use strict";var r=n(9196),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},i=r.useState,s=r.useEffect,a=r.useLayoutEffect,l=r.useDebugValue;function u(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=i({inst:{value:n,getSnapshot:t}}),o=r[0].inst,c=r[1];return a((function(){o.value=n,o.getSnapshot=t,u(o)&&c({inst:o})}),[e,n,t]),s((function(){return u(o)&&c({inst:o}),e((function(){u(o)&&c({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},139:(e,t,n)=>{"use strict";var r=n(9196),o=n(1688),i="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},s=o.useSyncExternalStore,a=r.useRef,l=r.useEffect,u=r.useMemo,c=r.useDebugValue;t.useSyncExternalStoreWithSelector=function(e,t,n,r,o){var d=a(null);if(null===d.current){var h={hasValue:!1,value:null};d.current=h}else h=d.current;d=u((function(){function e(e){if(!l){if(l=!0,s=e,e=r(e),void 0!==o&&h.hasValue){var t=h.value;if(o(t,e))return a=t}return a=e}if(t=a,i(s,e))return t;var n=r(e);return void 0!==o&&o(t,n)?t:(s=e,a=n)}var s,a,l=!1,u=void 0===n?null:n;return[function(){return e(t())},null===u?void 0:function(){return e(u())}]}),[t,n,r,o]);var f=s(e,d[0],d[1]);return l((function(){h.hasValue=!0,h.value=f}),[f]),c(f),f}},1688:(e,t,n)=>{"use strict";e.exports=n(3250)},2798:(e,t,n)=>{"use strict";e.exports=n(139)},3967:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t{"use strict";n.d(t,{Vq:()=>je,$N:()=>Ve});var r=n(9196),o=n(1363),i=n(3855);function s(e,t,n,o){let s=(0,i.E)(n);(0,r.useEffect)((()=>{function n(e){s.current(e)}return(e=null!=e?e:window).addEventListener(t,n,o),()=>e.removeEventListener(t,n,o)}),[e,t,o])}class a extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return void 0===t&&(t=this.factory(e),this.set(e,t)),t}}function l(e,t){let n=e(),r=new Set;return{getSnapshot:()=>n,subscribe:e=>(r.add(e),()=>r.delete(e)),dispatch(e,...o){let i=t[e].call(n,...o);i&&(n=i,r.forEach((e=>e())))}}}var u=n(6723);function c(e){return(0,r.useSyncExternalStore)(e.subscribe,e.getSnapshot,e.getSnapshot)}let d=new a((()=>l((()=>[]),{ADD(e){return this.includes(e)?this:[...this,e]},REMOVE(e){let t=this.indexOf(e);if(-1===t)return this;let n=this.slice();return n.splice(t,1),n}})));function h(e,t){let n=d.get(t),o=(0,r.useId)(),i=c(n);if((0,u.e)((()=>{if(e)return n.dispatch("ADD",o),()=>n.dispatch("REMOVE",o)}),[n,e]),!e)return!1;let s=i.indexOf(o),a=i.length;return-1===s&&(s=a,a+=1),s===a-1}var f=n(3781),p=n(9362),m=n(5466);let v=new Map,g=new Map;function y(e){var t;let n=null!=(t=g.get(e))?t:0;return g.set(e,n+1),0!==n||(v.set(e,{"aria-hidden":e.getAttribute("aria-hidden"),inert:e.inert}),e.setAttribute("aria-hidden","true"),e.inert=!0),()=>function(e){var t;let n=null!=(t=g.get(e))?t:1;if(1===n?g.delete(e):g.set(e,n-1),1!==n)return;let r=v.get(e);r&&(null===r["aria-hidden"]?e.removeAttribute("aria-hidden"):e.setAttribute("aria-hidden",r["aria-hidden"]),e.inert=r.inert,v.delete(e))}(e)}function w(e,{allowed:t,disallowed:n}={}){let r=h(e,"inert-others");(0,u.e)((()=>{var e,o;if(!r)return;let i=(0,p.k)();for(let t of null!=(e=null==n?void 0:n())?e:[])t&&i.add(y(t));let s=null!=(o=null==t?void 0:t())?o:[];for(let e of s){if(!e)continue;let t=(0,m.r)(e);if(!t)continue;let n=e.parentElement;for(;n&&n!==t.body;){for(let e of n.children)s.some((t=>e.contains(t)))||i.add(y(e));n=n.parentElement}}return i.dispose}),[r,t,n])}var b=n(8553),x=n(4575);function E(){return/iPhone/gi.test(window.navigator.platform)||/Mac/gi.test(window.navigator.platform)&&window.navigator.maxTouchPoints>0}function T(){return E()||/Android/gi.test(window.navigator.userAgent)}function S(e,t,n,o){let s=(0,i.E)(n);(0,r.useEffect)((()=>{if(e)return document.addEventListener(t,n,o),()=>document.removeEventListener(t,n,o);function n(e){s.current(e)}}),[e,t,o])}function P(e,t,n,o){let s=(0,i.E)(n);(0,r.useEffect)((()=>{if(e)return window.addEventListener(t,n,o),()=>window.removeEventListener(t,n,o);function n(e){s.current(e)}}),[e,t,o])}function C(...e){return(0,r.useMemo)((()=>(0,m.r)(...e)),[...e])}var R=n(6045);let A=(0,r.createContext)(null);function M({children:e,node:t}){let[n,o]=(0,r.useState)(null),i=O(null!=t?t:n);return r.createElement(A.Provider,{value:i},e,null===i&&r.createElement(R._,{features:R.x.Hidden,ref:e=>{var t,n;if(e)for(let r of null!=(n=null==(t=(0,m.r)(e))?void 0:t.querySelectorAll("html > *, body > *"))?n:[])if(r!==document.body&&r!==document.head&&r instanceof HTMLElement&&null!=r&&r.contains(e)){o(r);break}}}))}function O(e=null){var t;return null!=(t=(0,r.useContext)(A))?t:e}function k(){let e;return{before({doc:t}){var n;let r=t.documentElement,o=null!=(n=t.defaultView)?n:window;e=Math.max(0,o.innerWidth-r.clientWidth)},after({doc:t,d:n}){let r=t.documentElement,o=Math.max(0,r.clientWidth-r.offsetWidth),i=Math.max(0,e-o);n.style(r,"paddingRight",`${i}px`)}}}function L(){return E()?{before({doc:e,d:t,meta:n}){function r(e){return n.containers.flatMap((e=>e())).some((t=>t.contains(e)))}t.microTask((()=>{var n;if("auto"!==window.getComputedStyle(e.documentElement).scrollBehavior){let n=(0,p.k)();n.style(e.documentElement,"scrollBehavior","auto"),t.add((()=>t.microTask((()=>n.dispose()))))}let o=null!=(n=window.scrollY)?n:window.pageYOffset,i=null;t.addEventListener(e,"click",(t=>{if(t.target instanceof HTMLElement)try{let n=t.target.closest("a");if(!n)return;let{hash:o}=new URL(n.href),s=e.querySelector(o);s&&!r(s)&&(i=s)}catch{}}),!0),t.addEventListener(e,"touchstart",(e=>{if(e.target instanceof HTMLElement)if(r(e.target)){let n=e.target;for(;n.parentElement&&r(n.parentElement);)n=n.parentElement;t.style(n,"overscrollBehavior","contain")}else t.style(e.target,"touchAction","none")})),t.addEventListener(e,"touchmove",(e=>{if(e.target instanceof HTMLElement){if("INPUT"===e.target.tagName)return;if(r(e.target)){let t=e.target;for(;t.parentElement&&""!==t.dataset.headlessuiPortal&&!(t.scrollHeight>t.clientHeight||t.scrollWidth>t.clientWidth);)t=t.parentElement;""===t.dataset.headlessuiPortal&&e.preventDefault()}else e.preventDefault()}}),{passive:!1}),t.add((()=>{var e;let t=null!=(e=window.scrollY)?e:window.pageYOffset;o!==t&&window.scrollTo(0,o),i&&i.isConnected&&(i.scrollIntoView({block:"nearest"}),i=null)}))}))}}:{}}function V(e){let t={};for(let n of e)Object.assign(t,n(t));return t}let j=l((()=>new Map),{PUSH(e,t){var n;let r=null!=(n=this.get(e))?n:{doc:e,count:0,d:(0,p.k)(),meta:new Set};return r.count++,r.meta.add(t),this.set(e,r),this},POP(e,t){let n=this.get(e);return n&&(n.count--,n.meta.delete(t)),this},SCROLL_PREVENT({doc:e,d:t,meta:n}){let r={doc:e,d:t,meta:V(n)},o=[L(),k(),{before({doc:e,d:t}){t.style(e.documentElement,"overflow","hidden")}}];o.forEach((({before:e})=>null==e?void 0:e(r))),o.forEach((({after:e})=>null==e?void 0:e(r)))},SCROLL_ALLOW({d:e}){e.dispose()},TEARDOWN({doc:e}){this.delete(e)}});j.subscribe((()=>{let e=j.getSnapshot(),t=new Map;for(let[n]of e)t.set(n,n.documentElement.style.overflow);for(let n of e.values()){let e="hidden"===t.get(n.doc),r=0!==n.count;(r&&!e||!r&&e)&&j.dispatch(n.count>0?"SCROLL_PREVENT":"SCROLL_ALLOW",n),0===n.count&&j.dispatch("TEARDOWN",n)}}));var D=n(2180),F=n(3784),I=n(4782),N=n(6567);let B=(0,r.createContext)(!1);function _(){return(0,r.useContext)(B)}function z(e){return r.createElement(B.Provider,{value:e.force},e.children)}var H=n(2984),U=n(2351);let Z=(0,r.createContext)(void 0),W=(0,r.createContext)(null);function G(){let e=(0,r.useContext)(W);if(null===e){let e=new Error("You used a component, but it is not inside a relevant parent.");throw Error.captureStackTrace&&Error.captureStackTrace(e,G),e}return e}W.displayName="DescriptionContext";let $=(0,U.yV)((function(e,t){let n=(0,r.useId)(),o=(0,r.useContext)(Z),{id:i=`headlessui-description-${n}`,...s}=e,a=G(),l=(0,F.T)(t);(0,u.e)((()=>a.register(i)),[i,a.register]);let c=o||!1,d=(0,r.useMemo)((()=>({...a.slot,disabled:c})),[a.slot,c]),h={ref:l,...a.props,id:i};return(0,U.sY)({ourProps:h,theirProps:s,slot:d,defaultTag:"p",name:a.name||"Description"})})),q=Object.assign($,{});var Y=n(4192),K=n(4879),X=n(1021);function J(e){let t=(0,f.z)(e),n=(0,r.useRef)(!1);(0,r.useEffect)((()=>(n.current=!1,()=>{n.current=!0,(0,X.Y)((()=>{n.current&&t()}))})),[t])}var Q,ee=((Q=ee||{})[Q.Forwards=0]="Forwards",Q[Q.Backwards=1]="Backwards",Q);function te(e,t){let n=(0,r.useRef)([]),o=(0,f.z)(e);(0,r.useEffect)((()=>{let e=[...n.current];for(let[r,i]of t.entries())if(n.current[r]!==i){let r=o(t,e);return n.current=t,r}}),[o,...t])}let ne=[];function re(e){if(!e)return new Set;if("function"==typeof e)return new Set(e());let t=new Set;for(let n of e.current)n.current instanceof HTMLElement&&t.add(n.current);return t}!function(e){function t(){"loading"!==document.readyState&&((()=>{function e(e){if(!(e.target instanceof HTMLElement)||e.target===document.body||ne[0]===e.target)return;let t=e.target;t=t.closest(x.y),ne.unshift(null!=t?t:e.target),ne=ne.filter((e=>null!=e&&e.isConnected)),ne.splice(10)}window.addEventListener("click",e,{capture:!0}),window.addEventListener("mousedown",e,{capture:!0}),window.addEventListener("focus",e,{capture:!0}),document.body.addEventListener("click",e,{capture:!0}),document.body.addEventListener("mousedown",e,{capture:!0}),document.body.addEventListener("focus",e,{capture:!0})})(),document.removeEventListener("DOMContentLoaded",t))}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("DOMContentLoaded",t),t())}();var oe,ie=((oe=ie||{})[oe.None=0]="None",oe[oe.InitialFocus=1]="InitialFocus",oe[oe.TabLock=2]="TabLock",oe[oe.FocusLock=4]="FocusLock",oe[oe.RestoreFocus=8]="RestoreFocus",oe[oe.AutoFocus=16]="AutoFocus",oe);let se=(0,U.yV)((function(e,t){let n=(0,r.useRef)(null),o=(0,F.T)(n,t),{initialFocus:i,initialFocusFallback:a,containers:l,features:u=15,...c}=e;(0,D.H)()||(u=0);let d=C(n);!function(e,{ownerDocument:t}){let n=!!(8&e),o=function(e=!0){let t=(0,r.useRef)(ne.slice());return te((([e],[n])=>{!0===n&&!1===e&&(0,X.Y)((()=>{t.current.splice(0)})),!1===n&&!0===e&&(t.current=ne.slice())}),[e,ne,t]),(0,f.z)((()=>{var e;return null!=(e=t.current.find((e=>null!=e&&e.isConnected)))?e:null}))}(n);te((()=>{n||(null==t?void 0:t.activeElement)===(null==t?void 0:t.body)&&(0,x.C5)(o())}),[n]),J((()=>{n&&(0,x.C5)(o())}))}(u,{ownerDocument:d});let p=function(e,{ownerDocument:t,container:n,initialFocus:o,initialFocusFallback:i}){let s=(0,r.useRef)(null),a=h(!!(1&e),"focus-trap#initial-focus"),l=(0,K.t)();return te((()=>{if(0===e)return;if(!a)return void(null!=i&&i.current&&(0,x.C5)(i.current));let r=n.current;r&&(0,X.Y)((()=>{if(!l.current)return;let n=null==t?void 0:t.activeElement;if(null!=o&&o.current){if((null==o?void 0:o.current)===n)return void(s.current=n)}else if(r.contains(n))return void(s.current=n);if(null!=o&&o.current)(0,x.C5)(o.current);else{if(16&e){if((0,x.jA)(r,x.TO.First|x.TO.AutoFocus)!==x.fE.Error)return}else if((0,x.jA)(r,x.TO.First)!==x.fE.Error)return;if(null!=i&&i.current&&((0,x.C5)(i.current),(null==t?void 0:t.activeElement)===i.current))return;console.warn("There are no focusable elements inside the ")}s.current=null==t?void 0:t.activeElement}))}),[i,a,e]),s}(u,{ownerDocument:d,container:n,initialFocus:i,initialFocusFallback:a});!function(e,{ownerDocument:t,container:n,containers:r,previousActiveElement:o}){let i=(0,K.t)(),a=!!(4&e);s(null==t?void 0:t.defaultView,"focus",(e=>{if(!a||!i.current)return;let t=re(r);n.current instanceof HTMLElement&&t.add(n.current);let s=o.current;if(!s)return;let l=e.target;l&&l instanceof HTMLElement?le(t,l)?(o.current=l,(0,x.C5)(l)):(e.preventDefault(),e.stopPropagation(),(0,x.C5)(s)):(0,x.C5)(o.current)}),!0)}(u,{ownerDocument:d,container:n,containers:l,previousActiveElement:p});let m=function(){let e=(0,r.useRef)(0);return P(!0,"keydown",(t=>{"Tab"===t.key&&(e.current=t.shiftKey?1:0)}),!0),e}(),v=(0,f.z)((e=>{let t=n.current;t&&(0,H.E)(m.current,{[ee.Forwards]:()=>{(0,x.jA)(t,x.TO.First,{skipElements:[e.relatedTarget,a]})},[ee.Backwards]:()=>{(0,x.jA)(t,x.TO.Last,{skipElements:[e.relatedTarget,a]})}})})),g=h(!!(2&u),"focus-trap#tab-lock"),y=(0,Y.G)(),w=(0,r.useRef)(!1),b={ref:o,onKeyDown(e){"Tab"==e.key&&(w.current=!0,y.requestAnimationFrame((()=>{w.current=!1})))},onBlur(e){if(!(4&u))return;let t=re(l);n.current instanceof HTMLElement&&t.add(n.current);let r=e.relatedTarget;r instanceof HTMLElement&&"true"!==r.dataset.headlessuiFocusGuard&&(le(t,r)||(w.current?(0,x.jA)(n.current,(0,H.E)(m.current,{[ee.Forwards]:()=>x.TO.Next,[ee.Backwards]:()=>x.TO.Previous})|x.TO.WrapAround,{relativeTo:e.target}):e.target instanceof HTMLElement&&(0,x.C5)(e.target)))}};return r.createElement(r.Fragment,null,g&&r.createElement(R._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:v,features:R.x.Focusable}),(0,U.sY)({ourProps:b,theirProps:c,defaultTag:"div",name:"FocusTrap"}),g&&r.createElement(R._,{as:"button",type:"button","data-headlessui-focus-guard":!0,onFocus:v,features:R.x.Focusable}))})),ae=Object.assign(se,{features:ie});function le(e,t){for(let n of e)if(n.contains(t))return!0;return!1}var ue=n(1850),ce=n(7896);let de=r.Fragment,he=(0,U.yV)((function(e,t){let n=e,o=(0,r.useRef)(null),i=(0,F.T)((0,F.h)((e=>{o.current=e})),t),s=C(o),a=function(e){let t=_(),n=(0,r.useContext)(pe),o=C(e),[i,s]=(0,r.useState)((()=>{var e;if(!t&&null!==n)return null!=(e=n.current)?e:null;if(ce.O.isServer)return null;let r=null==o?void 0:o.getElementById("headlessui-portal-root");if(r)return r;if(null===o)return null;let i=o.createElement("div");return i.setAttribute("id","headlessui-portal-root"),o.body.appendChild(i)}));return(0,r.useEffect)((()=>{null!==i&&(null!=o&&o.body.contains(i)||null==o||o.body.appendChild(i))}),[i,o]),(0,r.useEffect)((()=>{t||null!==n&&s(n.current)}),[n,s,t]),i}(o),[l]=(0,r.useState)((()=>{var e;return ce.O.isServer?null:null!=(e=null==s?void 0:s.createElement("div"))?e:null})),c=(0,r.useContext)(me),d=(0,D.H)();return(0,u.e)((()=>{!a||!l||a.contains(l)||(l.setAttribute("data-headlessui-portal",""),a.appendChild(l))}),[a,l]),(0,u.e)((()=>{if(l&&c)return c.register(l)}),[c,l]),J((()=>{var e;!a||!l||(l instanceof Node&&a.contains(l)&&a.removeChild(l),a.childNodes.length<=0&&(null==(e=a.parentElement)||e.removeChild(a)))})),d&&a&&l?(0,ue.createPortal)((0,U.sY)({ourProps:{ref:i},theirProps:n,slot:{},defaultTag:de,name:"Portal"}),l):null})),fe=r.Fragment,pe=(0,r.createContext)(null),me=(0,r.createContext)(null);function ve(){let e=(0,r.useContext)(me),t=(0,r.useRef)([]),n=(0,f.z)((n=>(t.current.push(n),e&&e.register(n),()=>o(n)))),o=(0,f.z)((n=>{let r=t.current.indexOf(n);-1!==r&&t.current.splice(r,1),e&&e.unregister(n)})),i=(0,r.useMemo)((()=>({register:n,unregister:o,portals:t})),[n,o,t]);return[t,(0,r.useMemo)((()=>function({children:e}){return r.createElement(me.Provider,{value:i},e)}),[i])]}let ge=(0,U.yV)((function(e,t){let n=(0,F.T)(t),{enabled:o=!0,...i}=e;return o?r.createElement(he,{...i,ref:n}):(0,U.sY)({ourProps:{ref:n},theirProps:i,slot:{},defaultTag:de,name:"Portal"})})),ye=(0,U.yV)((function(e,t){let{target:n,...o}=e,i={ref:(0,F.T)(t)};return r.createElement(pe.Provider,{value:n},(0,U.sY)({ourProps:i,theirProps:o,defaultTag:fe,name:"Popover.Group"}))})),we=Object.assign(ge,{Group:ye});var be,xe=n(8687),Ee=((be=Ee||{})[be.Open=0]="Open",be[be.Closed=1]="Closed",be),Te=(e=>(e[e.SetTitleId=0]="SetTitleId",e))(Te||{});let Se={0:(e,t)=>e.titleId===t.id?e:{...e,titleId:t.id}},Pe=(0,r.createContext)(null);function Ce(e){let t=(0,r.useContext)(Pe);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,Ce),t}return t}function Re(e,t){return(0,H.E)(t.type,Se,e,t)}Pe.displayName="DialogContext";let Ae=(0,U.yV)((function(e,t){let n=(0,r.useId)(),{id:a=`headlessui-dialog-${n}`,open:l,onClose:d,initialFocus:p,role:m="dialog",autoFocus:v=!0,__demoMode:g=!1,unmount:y=!1,...E}=e,R=(0,r.useRef)(!1);m="dialog"===m||"alertdialog"===m?m:(R.current||(R.current=!0,console.warn(`Invalid role [${m}] passed to . Only \`dialog\` and and \`alertdialog\` are supported. Using \`dialog\` instead.`)),"dialog");let A=(0,N.oJ)();void 0===l&&null!==A&&(l=(A&N.ZM.Open)===N.ZM.Open);let M=(0,r.useRef)(null),k=(0,F.T)(M,t),L=C(M),V=l?0:1,[B,_]=(0,r.useReducer)(Re,{titleId:null,descriptionId:null,panelRef:(0,r.createRef)()}),H=(0,f.z)((()=>d(!1))),Z=(0,f.z)((e=>_({type:0,id:e}))),G=!!(0,D.H)()&&0===V,[$,q]=ve(),Y={get current(){var e;return null!=(e=B.panelRef.current)?e:M.current}},K=O(),{resolveContainers:X}=function({defaultContainers:e=[],portals:t,mainTreeNode:n}={}){let r=C(n),o=(0,f.z)((()=>{var o,i;let s=[];for(let t of e)null!==t&&(t instanceof HTMLElement?s.push(t):"current"in t&&t.current instanceof HTMLElement&&s.push(t.current));if(null!=t&&t.current)for(let e of t.current)s.push(e);for(let e of null!=(o=null==r?void 0:r.querySelectorAll("html > *, body > *"))?o:[])e!==document.body&&e!==document.head&&e instanceof HTMLElement&&"headlessui-portal-root"!==e.id&&(n&&(e.contains(n)||e.contains(null==(i=null==n?void 0:n.getRootNode())?void 0:i.host))||s.some((t=>e.contains(t)))||s.push(e));return s}));return{resolveContainers:o,contains:(0,f.z)((e=>o().some((t=>t.contains(e)))))}}({mainTreeNode:K,portals:$,defaultContainers:[Y]}),J=null!==A&&(A&N.ZM.Closing)===N.ZM.Closing;w(!g&&!J&&G,{allowed:(0,f.z)((()=>{var e,t;return[null!=(t=null==(e=M.current)?void 0:e.closest("[data-headlessui-portal]"))?t:null]})),disallowed:(0,f.z)((()=>{var e;return[null!=(e=null==K?void 0:K.closest("body > *:not(#headlessui-portal-root)"))?e:null]}))}),function(e,t,n){let o=h(e,"outside-click"),s=(0,i.E)(n),a=(0,r.useCallback)((function(e,n){if(e.defaultPrevented)return;let r=n(e);if(null===r||!r.getRootNode().contains(r)||!r.isConnected)return;let o=function e(t){return"function"==typeof t?e(t()):Array.isArray(t)||t instanceof Set?t:[t]}(t);for(let t of o){if(null===t)continue;let n=t instanceof HTMLElement?t:t.current;if(null!=n&&n.contains(r)||e.composed&&e.composedPath().includes(n))return}return!(0,x.sP)(r,x.tJ.Loose)&&-1!==r.tabIndex&&e.preventDefault(),s.current(e,r)}),[s]),l=(0,r.useRef)(null);S(o,"pointerdown",(e=>{var t,n;l.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target}),!0),S(o,"mousedown",(e=>{var t,n;l.current=(null==(n=null==(t=e.composedPath)?void 0:t.call(e))?void 0:n[0])||e.target}),!0),S(o,"click",(e=>{T()||l.current&&(a(e,(()=>l.current)),l.current=null)}),!0);let u=(0,r.useRef)({x:0,y:0});S(o,"touchstart",(e=>{u.current.x=e.touches[0].clientX,u.current.y=e.touches[0].clientY}),!0),S(o,"touchend",(e=>{let t=e.changedTouches[0].clientX,n=e.changedTouches[0].clientY;if(!(Math.abs(t-u.current.x)>=30||Math.abs(n-u.current.y)>=30))return a(e,(()=>e.target instanceof HTMLElement?e.target:null))}),!0),P(o,"blur",(e=>a(e,(()=>window.document.activeElement instanceof HTMLIFrameElement?window.document.activeElement:null))),!0)}(G,X,(e=>{e.preventDefault(),H()})),function(e,t=("undefined"!=typeof document?document.defaultView:null),n){let r=h(e,"escape");s(t,"keydown",(e=>{r&&(e.defaultPrevented||e.key===o.R.Escape&&n(e))}))}(G,null==L?void 0:L.defaultView,(e=>{e.preventDefault(),e.stopPropagation(),document.activeElement&&"blur"in document.activeElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur(),H()})),function(e,t,n=(()=>[document.body])){!function(e,t,n=(()=>({containers:[]}))){let r=c(j),o=t?r.get(t):void 0;o&&o.count,(0,u.e)((()=>{if(t&&e)return j.dispatch("PUSH",t,n),()=>j.dispatch("POP",t,n)}),[e,t])}(h(e,"scroll-lock"),t,(e=>{var t;return{containers:[...null!=(t=e.containers)?t:[],n]}}))}(!g&&!J&&G,L,X),(0,b.m)(G,M,H);let[Q,ee]=function(){let[e,t]=(0,r.useState)([]);return[e.length>0?e.join(" "):void 0,(0,r.useMemo)((()=>function(e){let n=(0,f.z)((e=>(t((t=>[...t,e])),()=>t((t=>{let n=t.slice(),r=n.indexOf(e);return-1!==r&&n.splice(r,1),n}))))),o=(0,r.useMemo)((()=>({register:n,slot:e.slot,name:e.name,props:e.props,value:e.value})),[n,e.slot,e.name,e.props,e.value]);return r.createElement(W.Provider,{value:o},e.children)}),[t])]}(),te=(0,r.useMemo)((()=>[{dialogState:V,close:H,setTitleId:Z,unmount:y},B]),[V,B,H,Z,y]),ne=(0,r.useMemo)((()=>({open:0===V})),[V]),re={ref:k,id:a,role:m,tabIndex:-1,"aria-modal":g?void 0:0===V||void 0,"aria-labelledby":B.titleId,"aria-describedby":Q,unmount:y},oe=!function(){var e;let[t]=(0,r.useState)((()=>"undefined"!=typeof window&&"function"==typeof window.matchMedia?window.matchMedia("(pointer: coarse)"):null)),[n,o]=(0,r.useState)(null!=(e=null==t?void 0:t.matches)&&e);return(0,u.e)((()=>{if(t)return t.addEventListener("change",e),()=>t.removeEventListener("change",e);function e(e){o(e.matches)}}),[t]),n}(),se=ie.None;return G&&!g&&(se|=ie.RestoreFocus,se|=ie.TabLock,v&&(se|=ie.AutoFocus),oe&&(se|=ie.InitialFocus)),r.createElement(N.uu,null,r.createElement(z,{force:!0},r.createElement(we,null,r.createElement(Pe.Provider,{value:te},r.createElement(ye,{target:M},r.createElement(z,{force:!1},r.createElement(ee,{slot:ne},r.createElement(q,null,r.createElement(ae,{initialFocus:p,initialFocusFallback:M,containers:X,features:se},r.createElement(I.Z,{value:H},(0,U.sY)({ourProps:re,theirProps:E,slot:ne,defaultTag:Me,features:Oe,visible:0===V,name:"Dialog"})))))))))))})),Me="div",Oe=U.VN.RenderStrategy|U.VN.Static,ke=(0,U.yV)((function(e,t){let{transition:n=!1,open:o,...i}=e,s=(0,N.oJ)(),a=e.hasOwnProperty("open")||null!==s,l=e.hasOwnProperty("onClose");if(!a&&!l)throw new Error("You have to provide an `open` and an `onClose` prop to the `Dialog` component.");if(!a)throw new Error("You provided an `onClose` prop to the `Dialog`, but forgot an `open` prop.");if(!l)throw new Error("You provided an `open` prop to the `Dialog`, but forgot an `onClose` prop.");if(!s&&"boolean"!=typeof e.open)throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${e.open}`);if("function"!=typeof e.onClose)throw new Error(`You provided an \`onClose\` prop to the \`Dialog\`, but the value is not a function. Received: ${e.onClose}`);return void 0===o&&!n||i.static?r.createElement(M,null,r.createElement(Ae,{ref:t,open:o,...i})):r.createElement(M,null,r.createElement(xe.u,{show:o,transition:n,unmount:i.unmount},r.createElement(Ae,{ref:t,...i})))})),Le=(0,U.yV)((function(e,t){let n=(0,r.useId)(),{id:o=`headlessui-dialog-panel-${n}`,transition:i=!1,...s}=e,[{dialogState:a,unmount:l},u]=Ce("Dialog.Panel"),c=(0,F.T)(t,u.panelRef),d=(0,r.useMemo)((()=>({open:0===a})),[a]),h={ref:c,id:o,onClick:(0,f.z)((e=>{e.stopPropagation()}))};return r.createElement(i?xe.x:r.Fragment,{...i?{unmount:l}:{}},(0,U.sY)({ourProps:h,theirProps:s,slot:d,defaultTag:"div",name:"Dialog.Panel"}))})),Ve=((0,U.yV)((function(e,t){let{transition:n=!1,...o}=e,[{dialogState:i,unmount:s}]=Ce("Dialog.Backdrop"),a=(0,r.useMemo)((()=>({open:0===i})),[i]),l={ref:t,"aria-hidden":!0};return r.createElement(n?xe.x:r.Fragment,{...n?{unmount:s}:{}},(0,U.sY)({ourProps:l,theirProps:o,slot:a,defaultTag:"div",name:"Dialog.Backdrop"}))})),(0,U.yV)((function(e,t){let n=(0,r.useId)(),{id:o=`headlessui-dialog-title-${n}`,...i}=e,[{dialogState:s,setTitleId:a}]=Ce("Dialog.Title"),l=(0,F.T)(t);(0,r.useEffect)((()=>(a(o),()=>a(null))),[o,a]);let u=(0,r.useMemo)((()=>({open:0===s})),[s]);return(0,U.sY)({ourProps:{ref:l,id:o},theirProps:i,slot:u,defaultTag:"h2",name:"Dialog.Title"})}))),je=Object.assign(ke,{Panel:Le,Title:Ve,Description:q})},6898:(e,t,n)=>{"use strict";n.d(t,{pJ:()=>j});var r=n(4408),o=n(8419),i=n(9196),s=n(3766),a=n(3781),l=n(4157),u=n(3784),c=n(5189),d=n(4782),h=n(6567);var f,p=n(2984),m=n(5466),v=n(2351);let g=null!=(f=i.startTransition)?f:function(e){e()};var y,w=n(1363),b=((y=b||{})[y.Open=0]="Open",y[y.Closed=1]="Closed",y),x=(e=>(e[e.ToggleDisclosure=0]="ToggleDisclosure",e[e.CloseDisclosure=1]="CloseDisclosure",e[e.SetButtonId=2]="SetButtonId",e[e.SetPanelId=3]="SetPanelId",e[e.LinkPanel=4]="LinkPanel",e[e.UnlinkPanel=5]="UnlinkPanel",e))(x||{});let E={0:e=>({...e,disclosureState:(0,p.E)(e.disclosureState,{0:1,1:0})}),1:e=>1===e.disclosureState?e:{...e,disclosureState:1},4:e=>!0===e.linkedPanel?e:{...e,linkedPanel:!0},5:e=>!1===e.linkedPanel?e:{...e,linkedPanel:!1},2:(e,t)=>e.buttonId===t.buttonId?e:{...e,buttonId:t.buttonId},3:(e,t)=>e.panelId===t.panelId?e:{...e,panelId:t.panelId}},T=(0,i.createContext)(null);function S(e){let t=(0,i.useContext)(T);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,S),t}return t}T.displayName="DisclosureContext";let P=(0,i.createContext)(null);function C(e){let t=(0,i.useContext)(P);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,C),t}return t}P.displayName="DisclosureAPIContext";let R=(0,i.createContext)(null);function A(e,t){return(0,p.E)(t.type,E,e,t)}R.displayName="DisclosurePanelContext";let M=i.Fragment,O=v.VN.RenderStrategy|v.VN.Static,k=(0,v.yV)((function(e,t){let{defaultOpen:n=!1,...r}=e,o=(0,i.useRef)(null),s=(0,u.T)(t,(0,u.h)((e=>{o.current=e}),void 0===e.as||e.as===i.Fragment)),l=(0,i.useRef)(null),c=(0,i.useRef)(null),f=(0,i.useReducer)(A,{disclosureState:n?0:1,linkedPanel:!1,buttonRef:c,panelRef:l,buttonId:null,panelId:null}),[{disclosureState:g,buttonId:y},w]=f,b=(0,a.z)((e=>{w({type:1});let t=(0,m.r)(o);if(!t||!y)return;let n=e?e instanceof HTMLElement?e:e.current instanceof HTMLElement?e.current:t.getElementById(y):t.getElementById(y);null==n||n.focus()})),x=(0,i.useMemo)((()=>({close:b})),[b]),E=(0,i.useMemo)((()=>({open:0===g,close:b})),[g,b]),S={ref:s};return i.createElement(T.Provider,{value:f},i.createElement(P.Provider,{value:x},i.createElement(d.Z,{value:b},i.createElement(h.up,{value:(0,p.E)(g,{0:h.ZM.Open,1:h.ZM.Closed})},(0,v.sY)({ourProps:S,theirProps:r,slot:E,defaultTag:M,name:"Disclosure"})))))})),L=(0,v.yV)((function(e,t){let n=(0,i.useId)(),{id:c=`headlessui-disclosure-button-${n}`,disabled:d=!1,autoFocus:h=!1,...f}=e,[p,m]=S("Disclosure.Button"),g=(0,i.useContext)(R),y=null!==g&&g===p.panelId,b=(0,i.useRef)(null),x=(0,u.T)(b,t,y?null:p.buttonRef),E=(0,v.Y2)();(0,i.useEffect)((()=>{if(!y)return m({type:2,buttonId:c}),()=>{m({type:2,buttonId:null})}}),[c,m,y]);let T=(0,a.z)((e=>{var t;if(y){if(1===p.disclosureState)return;switch(e.key){case w.R.Space:case w.R.Enter:e.preventDefault(),e.stopPropagation(),m({type:0}),null==(t=p.buttonRef.current)||t.focus()}}else switch(e.key){case w.R.Space:case w.R.Enter:e.preventDefault(),e.stopPropagation(),m({type:0})}})),P=(0,a.z)((e=>{e.key===w.R.Space&&e.preventDefault()})),C=(0,a.z)((e=>{var t;(function(e){let t=e.parentElement,n=null;for(;t&&!(t instanceof HTMLFieldSetElement);)t instanceof HTMLLegendElement&&(n=t),t=t.parentElement;let r=""===(null==t?void 0:t.getAttribute("disabled"));return(!r||!function(e){if(!e)return!1;let t=e.previousElementSibling;for(;null!==t;){if(t instanceof HTMLLegendElement)return!1;t=t.previousElementSibling}return!0}(n))&&r})(e.currentTarget)||d||(y?(m({type:0}),null==(t=p.buttonRef.current)||t.focus()):m({type:0}))})),{isFocusVisible:A,focusProps:M}=(0,r.F)({autoFocus:h}),{isHovered:O,hoverProps:k}=(0,o.X)({isDisabled:d}),{pressed:L,pressProps:V}=(0,s.x)({disabled:d}),j=(0,i.useMemo)((()=>({open:0===p.disclosureState,hover:O,active:L,disabled:d,focus:A,autofocus:h})),[p,O,L,A,d,h]),D=(0,l.f)(e,b),F=y?(0,v.dG)({ref:x,type:D,disabled:d||void 0,autoFocus:h,onKeyDown:T,onClick:C},M,k,V):(0,v.dG)({ref:x,id:c,type:D,"aria-expanded":0===p.disclosureState,"aria-controls":p.linkedPanel?p.panelId:void 0,disabled:d||void 0,autoFocus:h,onKeyDown:T,onKeyUp:P,onClick:C},M,k,V);return(0,v.sY)({mergeRefs:E,ourProps:F,theirProps:f,slot:j,defaultTag:"button",name:"Disclosure.Button"})})),V=(0,v.yV)((function(e,t){let n=(0,i.useId)(),{id:r=`headlessui-disclosure-panel-${n}`,transition:o=!1,...s}=e,[a,l]=S("Disclosure.Panel"),{close:d}=C("Disclosure.Panel"),f=(0,v.Y2)(),p=(0,u.T)(t,a.panelRef,(e=>{g((()=>l({type:e?4:5})))}));(0,i.useEffect)((()=>(l({type:3,panelId:r}),()=>{l({type:3,panelId:null})})),[r,l]);let m=(0,h.oJ)(),[y,w]=(0,c.Y)(o,a.panelRef,null!==m?(m&h.ZM.Open)===h.ZM.Open:0===a.disclosureState),b=(0,i.useMemo)((()=>({open:0===a.disclosureState,close:d})),[a.disclosureState,d]),x={ref:p,id:r,...(0,c.X)(w)};return i.createElement(h.uu,null,i.createElement(R.Provider,{value:a.panelId},(0,v.sY)({mergeRefs:f,ourProps:x,theirProps:s,slot:b,defaultTag:"div",features:O,visible:y,name:"Disclosure.Panel"})))})),j=Object.assign(k,{Button:L,Panel:V})},1363:(e,t,n)=>{"use strict";n.d(t,{R:()=>o});var r,o=((r=o||{}).Space=" ",r.Enter="Enter",r.Escape="Escape",r.Backspace="Backspace",r.Delete="Delete",r.ArrowLeft="ArrowLeft",r.ArrowUp="ArrowUp",r.ArrowRight="ArrowRight",r.ArrowDown="ArrowDown",r.Home="Home",r.End="End",r.PageUp="PageUp",r.PageDown="PageDown",r.Tab="Tab",r)},1466:(e,t,n)=>{"use strict";n.d(t,{OK:()=>H,v0:()=>N,td:()=>B,x4:()=>z,nP:()=>_});var r=n(4408),o=n(8419),i=n(9196),s=n(3766),a=n(3781),l=n(6723),u=n(3855),c=n(4157),d=n(3784),h=n(4879),f=n(6045);function p({onFocus:e}){let[t,n]=(0,i.useState)(!0),r=(0,h.t)();return t?i.createElement(f._,{as:"button",type:"button",features:f.x.Focusable,onFocus:t=>{t.preventDefault();let o,i=50;o=requestAnimationFrame((function t(){if(i--<=0)o&&cancelAnimationFrame(o);else if(e()){if(cancelAnimationFrame(o),!r.current)return;n(!1)}else o=requestAnimationFrame(t)}))}}):null}var m=n(4575),v=n(2984),g=n(1021),y=n(5466),w=n(2351);const b=i.createContext(null);function x({children:e}){let t=i.useRef({groups:new Map,get(e,t){var n;let r=this.groups.get(e);r||(r=new Map,this.groups.set(e,r));let o=null!=(n=r.get(t))?n:0;return r.set(t,o+1),[Array.from(r.keys()).indexOf(t),function(){let e=r.get(t);e>1?r.set(t,e-1):r.delete(t)}]}});return i.createElement(b.Provider,{value:t},e)}function E(e){let t=i.useContext(b);if(!t)throw new Error("You must wrap your component in a ");let n=i.useId(),[r,o]=t.current.get(e,n);return i.useEffect((()=>o),[]),r}var T,S,P,C=n(1363),R=((S=R||{})[S.Forwards=0]="Forwards",S[S.Backwards=1]="Backwards",S),A=((T=A||{})[T.Less=-1]="Less",T[T.Equal=0]="Equal",T[T.Greater=1]="Greater",T),M=((P=M||{})[P.SetSelectedIndex=0]="SetSelectedIndex",P[P.RegisterTab=1]="RegisterTab",P[P.UnregisterTab=2]="UnregisterTab",P[P.RegisterPanel=3]="RegisterPanel",P[P.UnregisterPanel=4]="UnregisterPanel",P);let O={0(e,t){var n;let r=(0,m.z2)(e.tabs,(e=>e.current)),o=(0,m.z2)(e.panels,(e=>e.current)),i=r.filter((e=>{var t;return!(null!=(t=e.current)&&t.hasAttribute("disabled"))})),s={...e,tabs:r,panels:o};if(t.index<0||t.index>r.length-1){let n=(0,v.E)(Math.sign(t.index-e.selectedIndex),{[-1]:()=>1,0:()=>(0,v.E)(Math.sign(t.index),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0});if(0===i.length)return s;let o=(0,v.E)(n,{0:()=>r.indexOf(i[0]),1:()=>r.indexOf(i[i.length-1])});return{...s,selectedIndex:-1===o?e.selectedIndex:o}}let a=r.slice(0,t.index),l=[...r.slice(t.index),...a].find((e=>i.includes(e)));if(!l)return s;let u=null!=(n=r.indexOf(l))?n:e.selectedIndex;return-1===u&&(u=e.selectedIndex),{...s,selectedIndex:u}},1(e,t){if(e.tabs.includes(t.tab))return e;let n=e.tabs[e.selectedIndex],r=(0,m.z2)([...e.tabs,t.tab],(e=>e.current)),o=e.selectedIndex;return e.info.current.isControlled||(o=r.indexOf(n),-1===o&&(o=e.selectedIndex)),{...e,tabs:r,selectedIndex:o}},2:(e,t)=>({...e,tabs:e.tabs.filter((e=>e!==t.tab))}),3:(e,t)=>e.panels.includes(t.panel)?e:{...e,panels:(0,m.z2)([...e.panels,t.panel],(e=>e.current))},4:(e,t)=>({...e,panels:e.panels.filter((e=>e!==t.panel))})},k=(0,i.createContext)(null);function L(e){let t=(0,i.useContext)(k);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,L),t}return t}k.displayName="TabsDataContext";let V=(0,i.createContext)(null);function j(e){let t=(0,i.useContext)(V);if(null===t){let t=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(t,j),t}return t}function D(e,t){return(0,v.E)(t.type,O,e,t)}V.displayName="TabsActionsContext";let F=w.VN.RenderStrategy|w.VN.Static,I=(0,w.yV)((function(e,t){var n,u;let h=(0,i.useId)(),{id:f=`headlessui-tabs-tab-${h}`,disabled:p=!1,autoFocus:b=!1,...x}=e,{orientation:T,activation:S,selectedIndex:P,tabs:R,panels:A}=L("Tab"),M=j("Tab"),O=L("Tab"),k=(0,i.useRef)(null),V=(0,d.T)(k,t);(0,l.e)((()=>M.registerTab(k)),[M,k]);let D=E("tabs"),F=R.indexOf(k);-1===F&&(F=D);let I=F===P,N=(0,a.z)((e=>{var t;let n=e();if(n===m.fE.Success&&"auto"===S){let e=null==(t=(0,y.r)(k))?void 0:t.activeElement,n=O.tabs.findIndex((t=>t.current===e));-1!==n&&M.change(n)}return n})),B=(0,a.z)((e=>{let t=R.map((e=>e.current)).filter(Boolean);if(e.key===C.R.Space||e.key===C.R.Enter)return e.preventDefault(),e.stopPropagation(),void M.change(F);switch(e.key){case C.R.Home:case C.R.PageUp:return e.preventDefault(),e.stopPropagation(),N((()=>(0,m.jA)(t,m.TO.First)));case C.R.End:case C.R.PageDown:return e.preventDefault(),e.stopPropagation(),N((()=>(0,m.jA)(t,m.TO.Last)))}return N((()=>(0,v.E)(T,{vertical:()=>e.key===C.R.ArrowUp?(0,m.jA)(t,m.TO.Previous|m.TO.WrapAround):e.key===C.R.ArrowDown?(0,m.jA)(t,m.TO.Next|m.TO.WrapAround):m.fE.Error,horizontal:()=>e.key===C.R.ArrowLeft?(0,m.jA)(t,m.TO.Previous|m.TO.WrapAround):e.key===C.R.ArrowRight?(0,m.jA)(t,m.TO.Next|m.TO.WrapAround):m.fE.Error})))===m.fE.Success?e.preventDefault():void 0})),_=(0,i.useRef)(!1),z=(0,a.z)((()=>{var e;_.current||(_.current=!0,null==(e=k.current)||e.focus({preventScroll:!0}),M.change(F),(0,g.Y)((()=>{_.current=!1})))})),H=(0,a.z)((e=>{e.preventDefault()})),{isFocusVisible:U,focusProps:Z}=(0,r.F)({autoFocus:b}),{isHovered:W,hoverProps:G}=(0,o.X)({isDisabled:p}),{pressed:$,pressProps:q}=(0,s.x)({disabled:p}),Y=(0,i.useMemo)((()=>({selected:I,hover:W,active:$,focus:U,autofocus:b,disabled:p})),[I,W,U,$,b,p]),K=(0,w.dG)({ref:V,onKeyDown:B,onMouseDown:H,onClick:z,id:f,role:"tab",type:(0,c.f)(e,k),"aria-controls":null==(u=null==(n=A[F])?void 0:n.current)?void 0:u.id,"aria-selected":I,tabIndex:I?0:-1,disabled:p||void 0,autoFocus:b},Z,G,q);return(0,w.sY)({ourProps:K,theirProps:x,slot:Y,defaultTag:"button",name:"Tabs.Tab"})})),N=(0,w.yV)((function(e,t){let{defaultIndex:n=0,vertical:r=!1,manual:o=!1,onChange:s,selectedIndex:c=null,...h}=e;const f=r?"vertical":"horizontal",v=o?"manual":"auto";let g=null!==c,y=(0,u.E)({isControlled:g}),b=(0,d.T)(t),[E,T]=(0,i.useReducer)(D,{info:y,selectedIndex:null!=c?c:n,tabs:[],panels:[]}),S=(0,i.useMemo)((()=>({selectedIndex:E.selectedIndex})),[E.selectedIndex]),P=(0,u.E)(s||(()=>{})),C=(0,u.E)(E.tabs),R=(0,i.useMemo)((()=>({orientation:f,activation:v,...E})),[f,v,E]),A=(0,a.z)((e=>(T({type:1,tab:e}),()=>T({type:2,tab:e})))),M=(0,a.z)((e=>(T({type:3,panel:e}),()=>T({type:4,panel:e})))),O=(0,a.z)((e=>{L.current!==e&&P.current(e),g||T({type:0,index:e})})),L=(0,u.E)(g?e.selectedIndex:E.selectedIndex),j=(0,i.useMemo)((()=>({registerTab:A,registerPanel:M,change:O})),[]);(0,l.e)((()=>{T({type:0,index:null!=c?c:n})}),[c]),(0,l.e)((()=>{if(void 0===L.current||E.tabs.length<=0)return;let e=(0,m.z2)(E.tabs,(e=>e.current));e.some(((e,t)=>E.tabs[t]!==e))&&O(e.indexOf(E.tabs[L.current]))}));let F={ref:b};return i.createElement(x,null,i.createElement(V.Provider,{value:j},i.createElement(k.Provider,{value:R},R.tabs.length<=0&&i.createElement(p,{onFocus:()=>{var e,t;for(let n of C.current)if(0===(null==(e=n.current)?void 0:e.tabIndex))return null==(t=n.current)||t.focus(),!0;return!1}}),(0,w.sY)({ourProps:F,theirProps:h,slot:S,defaultTag:"div",name:"Tabs"}))))})),B=(0,w.yV)((function(e,t){let{orientation:n,selectedIndex:r}=L("Tab.List"),o=(0,d.T)(t),s=(0,i.useMemo)((()=>({selectedIndex:r})),[r]);return(0,w.sY)({ourProps:{ref:o,role:"tablist","aria-orientation":n},theirProps:e,slot:s,defaultTag:"div",name:"Tabs.List"})})),_=(0,w.yV)((function(e,t){let{selectedIndex:n}=L("Tab.Panels"),r=(0,d.T)(t),o=(0,i.useMemo)((()=>({selectedIndex:n})),[n]);return(0,w.sY)({ourProps:{ref:r},theirProps:e,slot:o,defaultTag:"div",name:"Tabs.Panels"})})),z=(0,w.yV)((function(e,t){var n,o,s,a;let u=(0,i.useId)(),{id:c=`headlessui-tabs-panel-${u}`,tabIndex:h=0,...p}=e,{selectedIndex:m,tabs:v,panels:g}=L("Tab.Panel"),y=j("Tab.Panel"),b=(0,i.useRef)(null),x=(0,d.T)(b,t);(0,l.e)((()=>y.registerPanel(b)),[y,b]);let T=E("panels"),S=g.indexOf(b);-1===S&&(S=T);let P=S===m,{isFocusVisible:C,focusProps:R}=(0,r.F)(),A=(0,i.useMemo)((()=>({selected:P,focus:C})),[P,C]),M=(0,w.dG)({ref:x,id:c,role:"tabpanel","aria-labelledby":null==(o=null==(n=v[S])?void 0:n.current)?void 0:o.id,tabIndex:P?h:-1},R);return P||null!=(s=p.unmount)&&!s||null!=(a=p.static)&&a?(0,w.sY)({ourProps:M,theirProps:p,slot:A,defaultTag:"div",features:F,visible:P,name:"Tabs.Panel"}):i.createElement(f._,{"aria-hidden":"true",...M})})),H=Object.assign(I,{Group:N,List:B,Panels:_,Panel:z})},8687:(e,t,n)=>{"use strict";n.d(t,{u:()=>M,x:()=>A});var r=n(9196),o=n(4192),i=n(3781),s=n(4879),a=n(6723),l=n(3855),u=n(8553),c=n(2180),d=n(3784),h=n(5189),f=n(6567),p=n(4067),m=n(2984),v=n(2351);function g(e){var t;return!!(e.enter||e.enterFrom||e.enterTo||e.leave||e.leaveFrom||e.leaveTo)||(null!=(t=e.as)?t:S)!==r.Fragment||1===r.Children.count(e.children)}let y=(0,r.createContext)(null);y.displayName="TransitionContext";var w,b=((w=b||{}).Visible="visible",w.Hidden="hidden",w);let x=(0,r.createContext)(null);function E(e){return"children"in e?E(e.children):e.current.filter((({el:e})=>null!==e.current)).filter((({state:e})=>"visible"===e)).length>0}function T(e,t){let n=(0,l.E)(e),a=(0,r.useRef)([]),u=(0,s.t)(),c=(0,o.G)(),d=(0,i.z)(((e,t=v.l4.Hidden)=>{let r=a.current.findIndex((({el:t})=>t===e));-1!==r&&((0,m.E)(t,{[v.l4.Unmount](){a.current.splice(r,1)},[v.l4.Hidden](){a.current[r].state="hidden"}}),c.microTask((()=>{var e;!E(a)&&u.current&&(null==(e=n.current)||e.call(n))})))})),h=(0,i.z)((e=>{let t=a.current.find((({el:t})=>t===e));return t?"visible"!==t.state&&(t.state="visible"):a.current.push({el:e,state:"visible"}),()=>d(e,v.l4.Unmount)})),f=(0,r.useRef)([]),p=(0,r.useRef)(Promise.resolve()),g=(0,r.useRef)({enter:[],leave:[]}),y=(0,i.z)(((e,n,r)=>{f.current.splice(0),t&&(t.chains.current[n]=t.chains.current[n].filter((([t])=>t!==e))),null==t||t.chains.current[n].push([e,new Promise((e=>{f.current.push(e)}))]),null==t||t.chains.current[n].push([e,new Promise((e=>{Promise.all(g.current[n].map((([e,t])=>t))).then((()=>e()))}))]),"enter"===n?p.current=p.current.then((()=>null==t?void 0:t.wait.current)).then((()=>r(n))):r(n)})),w=(0,i.z)(((e,t,n)=>{Promise.all(g.current[t].splice(0).map((([e,t])=>t))).then((()=>{var e;null==(e=f.current.shift())||e()})).then((()=>n(t)))}));return(0,r.useMemo)((()=>({children:a,register:h,unregister:d,onStart:y,onStop:w,wait:p,chains:g})),[h,d,a,y,w,g,p])}x.displayName="NestingContext";let S=r.Fragment,P=v.VN.RenderStrategy,C=(0,v.yV)((function(e,t){let{show:n,appear:o=!1,unmount:s=!0,...l}=e,h=(0,r.useRef)(null),p=g(e),m=(0,d.T)(...p?[h,t]:null===t?[]:[t]);(0,c.H)();let w=(0,f.oJ)();if(void 0===n&&null!==w&&(n=(w&f.ZM.Open)===f.ZM.Open),void 0===n)throw new Error("A is used but it is missing a `show={true | false}` prop.");let[b,S]=(0,r.useState)(n?"visible":"hidden"),C=T((()=>{n||S("hidden")})),[A,M]=(0,r.useState)(!0),O=(0,r.useRef)([n]);(0,a.e)((()=>{!1!==A&&O.current[O.current.length-1]!==n&&(O.current.push(n),M(!1))}),[O,n]);let k=(0,r.useMemo)((()=>({show:n,appear:o,initial:A})),[n,o,A]);(0,u.m)(n,h,(()=>S("hidden"))),(0,a.e)((()=>{n?S("visible"):!E(C)&&null!==h.current&&S("hidden")}),[n,C]);let L={unmount:s},V=(0,i.z)((()=>{var t;A&&M(!1),null==(t=e.beforeEnter)||t.call(e)})),j=(0,i.z)((()=>{var t;A&&M(!1),null==(t=e.beforeLeave)||t.call(e)}));return r.createElement(x.Provider,{value:C},r.createElement(y.Provider,{value:k},(0,v.sY)({ourProps:{...L,as:r.Fragment,children:r.createElement(R,{ref:m,...L,...l,beforeEnter:V,beforeLeave:j})},theirProps:{},defaultTag:r.Fragment,features:P,visible:"visible"===b,name:"Transition"})))})),R=(0,v.yV)((function(e,t){var n,o;let{transition:s=!0,beforeEnter:l,afterEnter:u,beforeLeave:w,afterLeave:b,enter:C,enterFrom:R,enterTo:A,entered:M,leave:O,leaveFrom:k,leaveTo:L,...V}=e,j=(0,r.useRef)(null),D=g(e),F=(0,d.T)(...D?[j,t]:null===t?[]:[t]),I=null==(n=V.unmount)||n?v.l4.Unmount:v.l4.Hidden,{show:N,appear:B,initial:_}=function(){let e=(0,r.useContext)(y);if(null===e)throw new Error("A is used but it is missing a parent or .");return e}(),[z,H]=(0,r.useState)(N?"visible":"hidden"),U=function(){let e=(0,r.useContext)(x);if(null===e)throw new Error("A is used but it is missing a parent or .");return e}(),{register:Z,unregister:W}=U;(0,a.e)((()=>Z(j)),[Z,j]),(0,a.e)((()=>{if(I===v.l4.Hidden&&j.current)return N&&"visible"!==z?void H("visible"):(0,m.E)(z,{hidden:()=>W(j),visible:()=>Z(j)})}),[z,j,Z,W,N,I]);let G=(0,c.H)();(0,a.e)((()=>{if(D&&G&&"visible"===z&&null===j.current)throw new Error("Did you forget to passthrough the `ref` to the actual DOM node?")}),[j,z,G,D]);let $=_&&!B,q=B&&N&&_,Y=(0,r.useRef)(!1),K=T((()=>{Y.current||(H("hidden"),W(j))}),U),X=(0,i.z)((e=>{Y.current=!0;let t=e?"enter":"leave";K.onStart(j,t,(e=>{"enter"===e?null==l||l():"leave"===e&&(null==w||w())}))})),J=(0,i.z)((e=>{let t=e?"enter":"leave";Y.current=!1,K.onStop(j,t,(e=>{"enter"===e?null==u||u():"leave"===e&&(null==b||b())})),"leave"===t&&!E(K)&&(H("hidden"),W(j))}));(0,r.useEffect)((()=>{D&&s||(X(N),J(N))}),[N,D,s]);let Q=!(!s||!D||!G||$),[,ee]=(0,h.Y)(Q,j,N,{start:X,end:J}),te=(0,v.oA)({ref:F,className:(null==(o=(0,p.A)(V.className,q&&C,q&&R,ee.enter&&C,ee.enter&&ee.closed&&R,ee.enter&&!ee.closed&&A,ee.leave&&O,ee.leave&&!ee.closed&&k,ee.leave&&ee.closed&&L,!ee.transition&&N&&M))?void 0:o.trim())||void 0,...(0,h.X)(ee)}),ne=0;return"visible"===z&&(ne|=f.ZM.Open),"hidden"===z&&(ne|=f.ZM.Closed),ee.enter&&(ne|=f.ZM.Opening),ee.leave&&(ne|=f.ZM.Closing),r.createElement(x.Provider,{value:K},r.createElement(f.up,{value:ne},(0,v.sY)({ourProps:te,theirProps:V,defaultTag:S,features:P,visible:"visible"===z,name:"Transition.Child"})))})),A=(0,v.yV)((function(e,t){let n=null!==(0,r.useContext)(y),o=null!==(0,f.oJ)();return r.createElement(r.Fragment,null,!n&&o?r.createElement(C,{ref:t,...e}):r.createElement(R,{ref:t,...e}))})),M=Object.assign(C,{Child:A,Root:C})},3766:(e,t,n)=>{"use strict";n.d(t,{x:()=>a});var r=n(9196),o=n(5466),i=n(4192),s=n(3781);function a({disabled:e=!1}={}){let t=(0,r.useRef)(null),[n,a]=(0,r.useState)(!1),l=(0,i.G)(),u=(0,s.z)((()=>{t.current=null,a(!1),l.dispose()})),c=(0,s.z)((e=>{if(l.dispose(),null===t.current){t.current=e.currentTarget,a(!0);{let n=(0,o.r)(e.currentTarget);l.addEventListener(n,"pointerup",u,!1),l.addEventListener(n,"pointermove",(e=>{if(t.current){let n=function(e){let t=e.width/2,n=e.height/2;return{top:e.clientY-n,right:e.clientX+t,bottom:e.clientY+n,left:e.clientX-t}}(e);a(function(e,t){return!(!e||!t||e.rightt.right||e.bottomt.bottom)}(n,t.current.getBoundingClientRect()))}}),!1),l.addEventListener(n,"pointercancel",u,!1)}}}));return{pressed:n,pressProps:e?{}:{onPointerDown:c,onPointerUp:u,onClick:u}}}},4192:(e,t,n)=>{"use strict";n.d(t,{G:()=>i});var r=n(9196),o=n(9362);function i(){let[e]=(0,r.useState)(o.k);return(0,r.useEffect)((()=>()=>e.dispose()),[e]),e}},3781:(e,t,n)=>{"use strict";n.d(t,{z:()=>i});var r=n(9196),o=n(3855);let i=function(e){let t=(0,o.E)(e);return r.useCallback(((...e)=>t.current(...e)),[t])}},4879:(e,t,n)=>{"use strict";n.d(t,{t:()=>i});var r=n(9196),o=n(6723);function i(){let e=(0,r.useRef)(!1);return(0,o.e)((()=>(e.current=!0,()=>{e.current=!1})),[]),e}},6723:(e,t,n)=>{"use strict";n.d(t,{e:()=>i});var r=n(9196),o=n(7896);let i=(e,t)=>{o.O.isServer?(0,r.useEffect)(e,t):(0,r.useLayoutEffect)(e,t)}},3855:(e,t,n)=>{"use strict";n.d(t,{E:()=>i});var r=n(9196),o=n(6723);function i(e){let t=(0,r.useRef)(e);return(0,o.e)((()=>{t.current=e}),[e]),t}},8553:(e,t,n)=>{"use strict";n.d(t,{m:()=>s});var r=n(9196),o=n(9362),i=n(3855);function s(e,t,n){let s=(0,i.E)((e=>{let t=e.getBoundingClientRect();0===t.x&&0===t.y&&0===t.width&&0===t.height&&n()}));(0,r.useEffect)((()=>{if(!e)return;let n=null===t?null:t instanceof HTMLElement?t:t.current;if(!n)return;let r=(0,o.k)();if("undefined"!=typeof ResizeObserver){let e=new ResizeObserver((()=>s.current(n)));e.observe(n),r.add((()=>e.disconnect()))}if("undefined"!=typeof IntersectionObserver){let e=new IntersectionObserver((()=>s.current(n)));e.observe(n),r.add((()=>e.disconnect()))}return()=>r.dispose()}),[t,s,e])}},4157:(e,t,n)=>{"use strict";n.d(t,{f:()=>s});var r=n(9196),o=n(6723);function i(e){var t;if(e.type)return e.type;let n=null!=(t=e.as)?t:"button";return"string"==typeof n&&"button"===n.toLowerCase()?"button":void 0}function s(e,t){let[n,s]=(0,r.useState)((()=>i(e)));return(0,o.e)((()=>{s(i(e))}),[e.type,e.as]),(0,o.e)((()=>{n||t.current&&t.current instanceof HTMLButtonElement&&!t.current.hasAttribute("type")&&s("button")}),[n,t]),n}},2180:(e,t,n)=>{"use strict";var r;n.d(t,{H:()=>s});var o=n(9196),i=n(7896);function s(){let e=function(){let e="undefined"==typeof document;return"useSyncExternalStore"in(r||(r=n.t(o,2)))&&(r||(r=n.t(o,2))).useSyncExternalStore((()=>()=>{}),(()=>!1),(()=>!e))}(),[t,s]=o.useState(i.O.isHandoffComplete);return t&&!1===i.O.isHandoffComplete&&s(!1),o.useEffect((()=>{!0!==t&&s(!0)}),[t]),o.useEffect((()=>i.O.handoff()),[]),!e&&t}},3784:(e,t,n)=>{"use strict";n.d(t,{T:()=>a,h:()=>s});var r=n(9196),o=n(3781);let i=Symbol();function s(e,t=!0){return Object.assign(e,{[i]:t})}function a(...e){let t=(0,r.useRef)(e);(0,r.useEffect)((()=>{t.current=e}),[e]);let n=(0,o.z)((e=>{for(let n of t.current)null!=n&&("function"==typeof n?n(e):n.current=e)}));return e.every((e=>null==e||(null==e?void 0:e[i])))?void 0:n}},5189:(e,t,n)=>{"use strict";n.d(t,{X:()=>u,Y:()=>c});var r,o=n(9196),i=n(9362),s=n(4192),a=n(6723),l=((r=l||{})[r.None=0]="None",r[r.Closed=1]="Closed",r[r.Enter=2]="Enter",r[r.Leave=4]="Leave",r);function u(e){let t={};for(let n in e)!0===e[n]&&(t[`data-${n}`]="");return t}function c(e,t,n,r){let[l,u]=(0,o.useState)(n),{hasFlag:c,addFlag:d,removeFlag:h}=function(e=0){let[t,n]=(0,o.useState)(e),r=(0,o.useCallback)((e=>n(e)),[t]),i=(0,o.useCallback)((e=>n((t=>t|e))),[t]),s=(0,o.useCallback)((e=>(t&e)===e),[t]),a=(0,o.useCallback)((e=>n((t=>t&~e))),[n]),l=(0,o.useCallback)((e=>n((t=>t^e))),[n]);return{flags:t,setFlag:r,addFlag:i,hasFlag:s,removeFlag:a,toggleFlag:l}}(e&&l?3:0),f=(0,o.useRef)(!1),p=(0,o.useRef)(!1),m=(0,s.G)();return(0,a.e)((function o(){var s;if(!e)return;n&&u(!0);let a=t.current;return a?(null==(s=null==r?void 0:r.start)||s.call(r,n),function(e,{prepare:t,run:n,done:r,inFlight:o}){let s=(0,i.k)();return function(e,{inFlight:t,prepare:n}){if(null!=t&&t.current)return void n();let r=e.style.transition;e.style.transition="none",n(),e.offsetHeight,e.style.transition=r}(e,{prepare:t,inFlight:o}),s.nextFrame((()=>{s.add(function(e,t){let n=function(e){let t={called:!1};return(...n)=>{if(!t.called)return t.called=!0,e(...n)}}(t),r=(0,i.k)();if(!e)return r.dispose;let{transitionDuration:o,transitionDelay:s}=getComputedStyle(e),[a,l]=[o,s].map((e=>{let[t=0]=e.split(",").filter(Boolean).map((e=>e.includes("ms")?parseFloat(e):1e3*parseFloat(e))).sort(((e,t)=>t-e));return t})),u=a+l;if(0!==u){let t=r.group((r=>{let o=r.setTimeout((()=>{n(),r.dispose()}),u);r.addEventListener(e,"transitionrun",(i=>{i.target===i.currentTarget&&(o(),r.addEventListener(e,"transitioncancel",(e=>{e.target===e.currentTarget&&(n(),t())})))}))}));r.addEventListener(e,"transitionend",(e=>{e.target===e.currentTarget&&(n(),r.dispose())}))}else n();return r.dispose}(e,r)),n()})),s.dispose}(a,{inFlight:f,prepare(){p.current?p.current=!1:p.current=f.current,f.current=!0,!p.current&&(n?(d(3),h(4)):(d(4),h(2)))},run(){p.current?n?(h(3),d(4)):(h(4),d(3)):n?h(1):d(1)},done(){var e;p.current&&"function"==typeof a.getAnimations&&a.getAnimations().length>0||(f.current=!1,h(7),n||u(!1),null==(e=null==r?void 0:r.end)||e.call(r,n))}})):n?(d(3),m.nextFrame((()=>o()))):void 0}),[e,n,t,m]),e?[l,{closed:c(1),enter:c(2),leave:c(4),transition:c(2)||c(4)}]:[n,{closed:void 0,enter:void 0,leave:void 0,transition:void 0}]}},4782:(e,t,n)=>{"use strict";n.d(t,{Z:()=>i});var r=n(9196);let o=(0,r.createContext)((()=>{}));function i({value:e,children:t}){return r.createElement(o.Provider,{value:e},t)}},6045:(e,t,n)=>{"use strict";n.d(t,{_:()=>s,x:()=>i});var r,o=n(2351),i=((r=i||{})[r.None=1]="None",r[r.Focusable=2]="Focusable",r[r.Hidden=4]="Hidden",r);let s=(0,o.yV)((function(e,t){var n;let{features:r=1,...i}=e,s={ref:t,"aria-hidden":2==(2&r)||(null!=(n=i["aria-hidden"])?n:void 0),hidden:4==(4&r)||void 0,style:{position:"fixed",top:1,left:1,width:1,height:0,padding:0,margin:-1,overflow:"hidden",clip:"rect(0, 0, 0, 0)",whiteSpace:"nowrap",borderWidth:"0",...4==(4&r)&&2!=(2&r)&&{display:"none"}}};return(0,o.sY)({ourProps:s,theirProps:i,slot:{},defaultTag:"span",name:"Hidden"})}))},6567:(e,t,n)=>{"use strict";n.d(t,{ZM:()=>s,oJ:()=>a,up:()=>l,uu:()=>u});var r=n(9196);let o=(0,r.createContext)(null);o.displayName="OpenClosedContext";var i,s=((i=s||{})[i.Open=1]="Open",i[i.Closed=2]="Closed",i[i.Closing=4]="Closing",i[i.Opening=8]="Opening",i);function a(){return(0,r.useContext)(o)}function l({value:e,children:t}){return r.createElement(o.Provider,{value:e},t)}function u({children:e}){return r.createElement(o.Provider,{value:null},e)}},4067:(e,t,n)=>{"use strict";function r(...e){return Array.from(new Set(e.flatMap((e=>"string"==typeof e?e.split(" "):[])))).filter(Boolean).join(" ")}n.d(t,{A:()=>r})},9362:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(1021);function o(){let e=[],t={addEventListener:(e,n,r,o)=>(e.addEventListener(n,r,o),t.add((()=>e.removeEventListener(n,r,o)))),requestAnimationFrame(...e){let n=requestAnimationFrame(...e);return t.add((()=>cancelAnimationFrame(n)))},nextFrame:(...e)=>t.requestAnimationFrame((()=>t.requestAnimationFrame(...e))),setTimeout(...e){let n=setTimeout(...e);return t.add((()=>clearTimeout(n)))},microTask(...e){let n={current:!0};return(0,r.Y)((()=>{n.current&&e[0]()})),t.add((()=>{n.current=!1}))},style(e,t,n){let r=e.style.getPropertyValue(t);return Object.assign(e.style,{[t]:n}),this.add((()=>{Object.assign(e.style,{[t]:r})}))},group(e){let t=o();return e(t),this.add((()=>t.dispose()))},add:t=>(e.includes(t)||e.push(t),()=>{let n=e.indexOf(t);if(n>=0)for(let t of e.splice(n,1))t()}),dispose(){for(let t of e.splice(0))t()}};return t}},7896:(e,t,n)=>{"use strict";n.d(t,{O:()=>i});var r=Object.defineProperty,o=(e,t,n)=>(((e,t,n)=>{t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);let i=new class{constructor(){o(this,"current",this.detect()),o(this,"handoffState","pending"),o(this,"currentId",0)}set(e){this.current!==e&&(this.handoffState="pending",this.currentId=0,this.current=e)}reset(){this.set(this.detect())}nextId(){return++this.currentId}get isServer(){return"server"===this.current}get isClient(){return"client"===this.current}detect(){return"undefined"==typeof window||"undefined"==typeof document?"server":"client"}handoff(){"pending"===this.handoffState&&(this.handoffState="complete")}get isHandoffComplete(){return"complete"===this.handoffState}}},4575:(e,t,n)=>{"use strict";n.d(t,{C5:()=>v,TO:()=>c,fE:()=>d,jA:()=>w,sP:()=>p,tJ:()=>f,y:()=>i,z2:()=>y});var r=n(2984),o=n(5466);let i=["[contentEditable=true]","[tabindex]","a[href]","area[href]","button:not([disabled])","iframe","input:not([disabled])","select:not([disabled])","textarea:not([disabled])"].map((e=>`${e}:not([tabindex='-1'])`)).join(","),s=["[data-autofocus]"].map((e=>`${e}:not([tabindex='-1'])`)).join(",");var a,l,u,c=((u=c||{})[u.First=1]="First",u[u.Previous=2]="Previous",u[u.Next=4]="Next",u[u.Last=8]="Last",u[u.WrapAround=16]="WrapAround",u[u.NoScroll=32]="NoScroll",u[u.AutoFocus=64]="AutoFocus",u),d=((l=d||{})[l.Error=0]="Error",l[l.Overflow=1]="Overflow",l[l.Success=2]="Success",l[l.Underflow=3]="Underflow",l),h=((a=h||{})[a.Previous=-1]="Previous",a[a.Next=1]="Next",a);var f=(e=>(e[e.Strict=0]="Strict",e[e.Loose=1]="Loose",e))(f||{});function p(e,t=0){var n;return e!==(null==(n=(0,o.r)(e))?void 0:n.body)&&(0,r.E)(t,{0:()=>e.matches(i),1(){let t=e;for(;null!==t;){if(t.matches(i))return!0;t=t.parentElement}return!1}})}var m=(e=>(e[e.Keyboard=0]="Keyboard",e[e.Mouse=1]="Mouse",e))(m||{});function v(e){null==e||e.focus({preventScroll:!0})}"undefined"!=typeof window&&"undefined"!=typeof document&&(document.addEventListener("keydown",(e=>{e.metaKey||e.altKey||e.ctrlKey||(document.documentElement.dataset.headlessuiFocusVisible="")}),!0),document.addEventListener("click",(e=>{1===e.detail?delete document.documentElement.dataset.headlessuiFocusVisible:0===e.detail&&(document.documentElement.dataset.headlessuiFocusVisible="")}),!0));let g=["textarea","input"].join(",");function y(e,t=(e=>e)){return e.slice().sort(((e,n)=>{let r=t(e),o=t(n);if(null===r||null===o)return 0;let i=r.compareDocumentPosition(o);return i&Node.DOCUMENT_POSITION_FOLLOWING?-1:i&Node.DOCUMENT_POSITION_PRECEDING?1:0}))}function w(e,t,{sorted:n=!0,relativeTo:r=null,skipElements:o=[]}={}){let a=Array.isArray(e)?e.length>0?e[0].ownerDocument:document:e.ownerDocument,l=Array.isArray(e)?n?y(e):e:64&t?function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(s)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e):function(e=document.body){return null==e?[]:Array.from(e.querySelectorAll(i)).sort(((e,t)=>Math.sign((e.tabIndex||Number.MAX_SAFE_INTEGER)-(t.tabIndex||Number.MAX_SAFE_INTEGER))))}(e);o.length>0&&l.length>1&&(l=l.filter((e=>!o.some((t=>null!=t&&"current"in t?(null==t?void 0:t.current)===e:t===e))))),r=null!=r?r:a.activeElement;let u,c=(()=>{if(5&t)return 1;if(10&t)return-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),d=(()=>{if(1&t)return 0;if(2&t)return Math.max(0,l.indexOf(r))-1;if(4&t)return Math.max(0,l.indexOf(r))+1;if(8&t)return l.length-1;throw new Error("Missing Focus.First, Focus.Previous, Focus.Next or Focus.Last")})(),h=32&t?{preventScroll:!0}:{},f=0,p=l.length;do{if(f>=p||f+p<=0)return 0;let e=d+f;if(16&t)e=(e+p)%p;else{if(e<0)return 3;if(e>=p)return 1}u=l[e],null==u||u.focus(h),f+=c}while(u!==a.activeElement);return 6&t&&function(e){var t,n;return null!=(n=null==(t=null==e?void 0:e.matches)?void 0:t.call(e,g))&&n}(u)&&u.select(),2}},2984:(e,t,n)=>{"use strict";function r(e,t,...n){if(e in t){let r=t[e];return"function"==typeof r?r(...n):r}let o=new Error(`Tried to handle "${e}" but there is no handler defined. Only defined handlers are: ${Object.keys(t).map((e=>`"${e}"`)).join(", ")}.`);throw Error.captureStackTrace&&Error.captureStackTrace(o,r),o}n.d(t,{E:()=>r})},1021:(e,t,n)=>{"use strict";function r(e){"function"==typeof queueMicrotask?queueMicrotask(e):Promise.resolve().then(e).catch((e=>setTimeout((()=>{throw e}))))}n.d(t,{Y:()=>r})},5466:(e,t,n)=>{"use strict";n.d(t,{r:()=>o});var r=n(7896);function o(e){return r.O.isServer?null:e instanceof Node?e.ownerDocument:null!=e&&e.hasOwnProperty("current")&&e.current instanceof Node?e.current.ownerDocument:document}},2351:(e,t,n)=>{"use strict";n.d(t,{VN:()=>l,Y2:()=>h,dG:()=>m,l4:()=>u,oA:()=>g,sY:()=>c,yV:()=>v});var r,o,i=n(9196),s=n(4067),a=n(2984),l=((o=l||{})[o.None=0]="None",o[o.RenderStrategy=1]="RenderStrategy",o[o.Static=2]="Static",o),u=((r=u||{})[r.Unmount=0]="Unmount",r[r.Hidden=1]="Hidden",r);function c({ourProps:e,theirProps:t,slot:n,defaultTag:r,features:o,visible:i=!0,name:s,mergeRefs:l}){l=null!=l?l:f;let u=p(t,e);if(i)return d(u,n,r,s,l);let c=null!=o?o:0;if(2&c){let{static:e=!1,...t}=u;if(e)return d(t,n,r,s,l)}if(1&c){let{unmount:e=!0,...t}=u;return(0,a.E)(e?0:1,{0:()=>null,1:()=>d({...t,hidden:!0,style:{display:"none"}},n,r,s,l)})}return d(u,n,r,s,l)}function d(e,t={},n,r,o){let{as:a=n,children:l,refName:u="ref",...c}=y(e,["unmount","static"]),d=void 0!==e.ref?{[u]:e.ref}:{},h="function"==typeof l?l(t):l;"className"in c&&c.className&&"function"==typeof c.className&&(c.className=c.className(t)),c["aria-labelledby"]&&c["aria-labelledby"]===c.id&&(c["aria-labelledby"]=void 0);let f={};if(t){let e=!1,n=[];for(let[r,o]of Object.entries(t))"boolean"==typeof o&&(e=!0),!0===o&&n.push(r.replace(/([A-Z])/g,(e=>`-${e.toLowerCase()}`)));if(e){f["data-headlessui-state"]=n.join(" ");for(let e of n)f[`data-${e}`]=""}}if(a===i.Fragment&&(Object.keys(g(c)).length>0||Object.keys(g(f)).length>0)){if((0,i.isValidElement)(h)&&!(Array.isArray(h)&&h.length>1)){let e=h.props,t=null==e?void 0:e.className,n="function"==typeof t?(...e)=>(0,s.A)(t(...e),c.className):(0,s.A)(t,c.className),r=n?{className:n}:{},a=p(h.props,g(y(c,["ref"])));for(let e in f)e in a&&delete f[e];return(0,i.cloneElement)(h,Object.assign({},a,f,d,{ref:o(h.ref,d.ref)},r))}if(Object.keys(g(c)).length>0)throw new Error(['Passing props on "Fragment"!',"",`The current component <${r} /> is rendering a "Fragment".`,"However we need to passthrough the following props:",Object.keys(g(c)).concat(Object.keys(g(f))).map((e=>` - ${e}`)).join("\n"),"","You can apply a few solutions:",['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".',"Render a single element as the child so that we can forward the props onto that element."].map((e=>` - ${e}`)).join("\n")].join("\n"))}return(0,i.createElement)(a,Object.assign({},y(c,["ref"]),a!==i.Fragment&&d,a!==i.Fragment&&f),h)}function h(){let e=(0,i.useRef)([]),t=(0,i.useCallback)((t=>{for(let n of e.current)null!=n&&("function"==typeof n?n(t):n.current=t)}),[]);return(...n)=>{if(!n.every((e=>null==e)))return e.current=n,t}}function f(...e){return e.every((e=>null==e))?void 0:t=>{for(let n of e)null!=n&&("function"==typeof n?n(t):n.current=t)}}function p(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];if(t.disabled||t["aria-disabled"])for(let e in n)/^(on(?:Click|Pointer|Mouse|Key)(?:Down|Up|Press)?)$/.test(e)&&(n[e]=[e=>{var t;return null==(t=null==e?void 0:e.preventDefault)?void 0:t.call(e)}]);for(let e in n)Object.assign(t,{[e](t,...r){let o=n[e];for(let e of o){if((t instanceof Event||(null==t?void 0:t.nativeEvent)instanceof Event)&&t.defaultPrevented)return;e(t,...r)}}});return t}function m(...e){if(0===e.length)return{};if(1===e.length)return e[0];let t={},n={};for(let r of e)for(let e in r)e.startsWith("on")&&"function"==typeof r[e]?(null!=n[e]||(n[e]=[]),n[e].push(r[e])):t[e]=r[e];for(let e in n)Object.assign(t,{[e](...t){let r=n[e];for(let e of r)null==e||e(...t)}});return t}function v(e){var t;return Object.assign((0,i.forwardRef)(e),{displayName:null!=(t=e.displayName)?t:e.name})}function g(e){let t=Object.assign({},e);for(let e in t)void 0===t[e]&&delete t[e];return t}function y(e,t=[]){let n=Object.assign({},e);for(let e of t)e in n&&delete n[e];return n}},4408:(e,t,n)=>{"use strict";function r(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.brands.some((t=>e.test(t.brand))))||e.test(window.navigator.userAgent))}function o(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function i(e){let t=null;return()=>(null==t&&(t=e()),t)}n.d(t,{F:()=>j});const s=i((function(){return o(/^Mac/i)})),a=i((function(){return o(/^iPhone/i)})),l=i((function(){return o(/^iPad/i)||s()&&navigator.maxTouchPoints>1})),u=i((function(){return a()||l()})),c=(i((function(){return s()||u()})),i((function(){return r(/AppleWebKit/i)&&!c()})),i((function(){return r(/Chrome/i)}))),d=i((function(){return r(/Android/i)}));i((function(){return r(/Firefox/i)}));const h=e=>{var t;return null!==(t=null==e?void 0:e.ownerDocument)&&void 0!==t?t:document},f=e=>e&&"window"in e&&e.window===e?e:h(e).defaultView||window;var p=n(9196);let m=null,v=new Set,g=new Map,y=!1,w=!1;const b={Tab:!0,Escape:!0};function x(e,t){for(let n of v)n(e,t)}function E(e){y=!0,function(e){return!(e.metaKey||!s()&&e.altKey||e.ctrlKey||"Control"===e.key||"Shift"===e.key||"Meta"===e.key)}(e)&&(m="keyboard",x("keyboard",e))}function T(e){m="pointer","mousedown"!==e.type&&"pointerdown"!==e.type||(y=!0,x("pointer",e))}function S(e){var t;(0===(t=e).mozInputSource&&t.isTrusted||(d()&&t.pointerType?"click"===t.type&&1===t.buttons:0===t.detail&&!t.pointerType))&&(y=!0,m="virtual")}function P(e){e.target!==window&&e.target!==document&&(y||w||(m="virtual",x("virtual",e)),y=!1,w=!1)}function C(){y=!1,w=!0}function R(e){if("undefined"==typeof window||g.get(f(e)))return;const t=f(e),n=h(e);let r=t.HTMLElement.prototype.focus;t.HTMLElement.prototype.focus=function(){y=!0,r.apply(this,arguments)},n.addEventListener("keydown",E,!0),n.addEventListener("keyup",E,!0),n.addEventListener("click",S,!0),t.addEventListener("focus",P,!0),t.addEventListener("blur",C,!1),"undefined"!=typeof PointerEvent?(n.addEventListener("pointerdown",T,!0),n.addEventListener("pointermove",T,!0),n.addEventListener("pointerup",T,!0)):(n.addEventListener("mousedown",T,!0),n.addEventListener("mousemove",T,!0),n.addEventListener("mouseup",T,!0)),t.addEventListener("beforeunload",(()=>{A(e)}),{once:!0}),g.set(t,{focus:r})}const A=(e,t)=>{const n=f(e),r=h(e);t&&r.removeEventListener("DOMContentLoaded",t),g.has(n)&&(n.HTMLElement.prototype.focus=g.get(n).focus,r.removeEventListener("keydown",E,!0),r.removeEventListener("keyup",E,!0),r.removeEventListener("click",S,!0),n.removeEventListener("focus",P,!0),n.removeEventListener("blur",C,!1),"undefined"!=typeof PointerEvent?(r.removeEventListener("pointerdown",T,!0),r.removeEventListener("pointermove",T,!0),r.removeEventListener("pointerup",T,!0)):(r.removeEventListener("mousedown",T,!0),r.removeEventListener("mousemove",T,!0),r.removeEventListener("mouseup",T,!0)),g.delete(n))};function M(){return"pointer"!==m}"undefined"!=typeof document&&function(e){const t=h(e);let n;"loading"!==t.readyState?R(e):(n=()=>{R(e)},t.addEventListener("DOMContentLoaded",n))}();const O=new Set(["checkbox","radio","range","color","file","image","button","submit","reset"]);const k="undefined"!=typeof document?p.useLayoutEffect:()=>{};class L{isDefaultPrevented(){return this.nativeEvent.defaultPrevented}preventDefault(){this.defaultPrevented=!0,this.nativeEvent.preventDefault()}stopPropagation(){this.nativeEvent.stopPropagation(),this.isPropagationStopped=()=>!0}isPropagationStopped(){return!1}persist(){}constructor(e,t){this.nativeEvent=t,this.target=t.target,this.currentTarget=t.currentTarget,this.relatedTarget=t.relatedTarget,this.bubbles=t.bubbles,this.cancelable=t.cancelable,this.defaultPrevented=t.defaultPrevented,this.eventPhase=t.eventPhase,this.isTrusted=t.isTrusted,this.timeStamp=t.timeStamp,this.type=e}}function V(e){let t=(0,p.useRef)({isFocused:!1,observer:null});k((()=>{const e=t.current;return()=>{e.observer&&(e.observer.disconnect(),e.observer=null)}}),[]);let n=function(e){const t=(0,p.useRef)(null);return k((()=>{t.current=e}),[e]),(0,p.useCallback)(((...e)=>{const n=t.current;return null==n?void 0:n(...e)}),[])}((t=>{null==e||e(t)}));return(0,p.useCallback)((e=>{if(e.target instanceof HTMLButtonElement||e.target instanceof HTMLInputElement||e.target instanceof HTMLTextAreaElement||e.target instanceof HTMLSelectElement){t.current.isFocused=!0;let r=e.target,o=e=>{t.current.isFocused=!1,r.disabled&&n(new L("blur",e)),t.current.observer&&(t.current.observer.disconnect(),t.current.observer=null)};r.addEventListener("focusout",o,{once:!0}),t.current.observer=new MutationObserver((()=>{if(t.current.isFocused&&r.disabled){var e;null===(e=t.current.observer)||void 0===e||e.disconnect();let n=r===document.activeElement?null:document.activeElement;r.dispatchEvent(new FocusEvent("blur",{relatedTarget:n})),r.dispatchEvent(new FocusEvent("focusout",{bubbles:!0,relatedTarget:n}))}})),t.current.observer.observe(r,{attributes:!0,attributeFilter:["disabled"]})}}),[n])}function j(e={}){let{autoFocus:t=!1,isTextInput:n,within:r}=e,o=(0,p.useRef)({isFocused:!1,isFocusVisible:t||M()}),[i,s]=(0,p.useState)(!1),[a,l]=(0,p.useState)((()=>o.current.isFocused&&o.current.isFocusVisible)),u=(0,p.useCallback)((()=>l(o.current.isFocused&&o.current.isFocusVisible)),[]),c=(0,p.useCallback)((e=>{o.current.isFocused=e,s(e),u()}),[u]);var d,m,g;d=e=>{o.current.isFocusVisible=e,u()},m=[],g={isTextInput:n},R(),(0,p.useEffect)((()=>{let e=(e,t)=>{(function(e,t,n){var r;const o="undefined"!=typeof window?f(null==n?void 0:n.target).HTMLInputElement:HTMLInputElement,i="undefined"!=typeof window?f(null==n?void 0:n.target).HTMLTextAreaElement:HTMLTextAreaElement,s="undefined"!=typeof window?f(null==n?void 0:n.target).HTMLElement:HTMLElement,a="undefined"!=typeof window?f(null==n?void 0:n.target).KeyboardEvent:KeyboardEvent;return!((e=e||(null==n?void 0:n.target)instanceof o&&!O.has(null==n||null===(r=n.target)||void 0===r?void 0:r.type)||(null==n?void 0:n.target)instanceof i||(null==n?void 0:n.target)instanceof s&&(null==n?void 0:n.target.isContentEditable))&&"keyboard"===t&&n instanceof a&&!b[n.key])})(!!(null==g?void 0:g.isTextInput),e,t)&&d(M())};return v.add(e),()=>{v.delete(e)}}),m);let{focusProps:y}=function(e){let{isDisabled:t,onFocus:n,onBlur:r,onFocusChange:o}=e;const i=(0,p.useCallback)((e=>{if(e.target===e.currentTarget)return r&&r(e),o&&o(!1),!0}),[r,o]),s=V(i),a=(0,p.useCallback)((e=>{const t=h(e.target);e.target===e.currentTarget&&t.activeElement===e.target&&(n&&n(e),o&&o(!0),s(e))}),[o,n,s]);return{focusProps:{onFocus:!t&&(n||o||r)?a:void 0,onBlur:t||!r&&!o?void 0:i}}}({isDisabled:r,onFocusChange:c}),{focusWithinProps:w}=function(e){let{isDisabled:t,onBlurWithin:n,onFocusWithin:r,onFocusWithinChange:o}=e,i=(0,p.useRef)({isFocusWithin:!1}),s=(0,p.useCallback)((e=>{i.current.isFocusWithin&&!e.currentTarget.contains(e.relatedTarget)&&(i.current.isFocusWithin=!1,n&&n(e),o&&o(!1))}),[n,o,i]),a=V(s),l=(0,p.useCallback)((e=>{i.current.isFocusWithin||document.activeElement!==e.target||(r&&r(e),o&&o(!0),i.current.isFocusWithin=!0,a(e))}),[r,o,a]);return t?{focusWithinProps:{onFocus:void 0,onBlur:void 0}}:{focusWithinProps:{onFocus:l,onBlur:s}}}({isDisabled:!r,onFocusWithinChange:c});return{isFocused:i,isFocusVisible:a,focusProps:r?w:y}}},8419:(e,t,n)=>{"use strict";n.d(t,{X:()=>u});var r=n(9196);let o=!1,i=0;function s(){o=!0,setTimeout((()=>{o=!1}),50)}function a(e){"touch"===e.pointerType&&s()}function l(){if("undefined"!=typeof document)return"undefined"!=typeof PointerEvent?document.addEventListener("pointerup",a):document.addEventListener("touchend",s),i++,()=>{i--,i>0||("undefined"!=typeof PointerEvent?document.removeEventListener("pointerup",a):document.removeEventListener("touchend",s))}}function u(e){let{onHoverStart:t,onHoverChange:n,onHoverEnd:i,isDisabled:s}=e,[a,u]=(0,r.useState)(!1),c=(0,r.useRef)({isHovered:!1,ignoreEmulatedMouseEvents:!1,pointerType:"",target:null}).current;(0,r.useEffect)(l,[]);let{hoverProps:d,triggerHoverEnd:h}=(0,r.useMemo)((()=>{let e=(e,r)=>{if(c.pointerType=r,s||"touch"===r||c.isHovered||!e.currentTarget.contains(e.target))return;c.isHovered=!0;let o=e.currentTarget;c.target=o,t&&t({type:"hoverstart",target:o,pointerType:r}),n&&n(!0),u(!0)},r=(e,t)=>{if(c.pointerType="",c.target=null,"touch"===t||!c.isHovered)return;c.isHovered=!1;let r=e.currentTarget;i&&i({type:"hoverend",target:r,pointerType:t}),n&&n(!1),u(!1)},a={};return"undefined"!=typeof PointerEvent?(a.onPointerEnter=t=>{o&&"mouse"===t.pointerType||e(t,t.pointerType)},a.onPointerLeave=e=>{!s&&e.currentTarget.contains(e.target)&&r(e,e.pointerType)}):(a.onTouchStart=()=>{c.ignoreEmulatedMouseEvents=!0},a.onMouseEnter=t=>{c.ignoreEmulatedMouseEvents||o||e(t,"mouse"),c.ignoreEmulatedMouseEvents=!1},a.onMouseLeave=e=>{!s&&e.currentTarget.contains(e.target)&&r(e,"mouse")}),{hoverProps:a,triggerHoverEnd:r}}),[t,n,i,s,c]);return(0,r.useEffect)((()=>{s&&h({currentTarget:c.target},c.pointerType)}),[s]),{hoverProps:d,isHovered:a}}},238:(e,t,n)=>{"use strict";n.d(t,{Z:()=>wt});var r={};function o(e,t){return function(){return e.apply(t,arguments)}}n.r(r),n.d(r,{hasBrowserEnv:()=>fe,hasStandardBrowserEnv:()=>pe,hasStandardBrowserWebWorkerEnv:()=>ve,origin:()=>ge});const{toString:i}=Object.prototype,{getPrototypeOf:s}=Object,a=(l=Object.create(null),e=>{const t=i.call(e);return l[t]||(l[t]=t.slice(8,-1).toLowerCase())});var l;const u=e=>(e=e.toLowerCase(),t=>a(t)===e),c=e=>t=>typeof t===e,{isArray:d}=Array,h=c("undefined"),f=u("ArrayBuffer"),p=c("string"),m=c("function"),v=c("number"),g=e=>null!==e&&"object"==typeof e,y=e=>{if("object"!==a(e))return!1;const t=s(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||Symbol.toStringTag in e||Symbol.iterator in e)},w=u("Date"),b=u("File"),x=u("Blob"),E=u("FileList"),T=u("URLSearchParams"),[S,P,C,R]=["ReadableStream","Request","Response","Headers"].map(u);function A(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,o;if("object"!=typeof e&&(e=[e]),d(e))for(r=0,o=e.length;r0;)if(r=n[o],t===r.toLowerCase())return r;return null}const O="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:global,k=e=>!h(e)&&e!==O,L=(V="undefined"!=typeof Uint8Array&&s(Uint8Array),e=>V&&e instanceof V);var V;const j=u("HTMLFormElement"),D=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),F=u("RegExp"),I=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};A(n,((n,o)=>{let i;!1!==(i=t(n,o,e))&&(r[o]=i||n)})),Object.defineProperties(e,r)},N="abcdefghijklmnopqrstuvwxyz",B="0123456789",_={DIGIT:B,ALPHA:N,ALPHA_DIGIT:N+N.toUpperCase()+B},z=u("AsyncFunction"),H=(U="function"==typeof setImmediate,Z=m(O.postMessage),U?setImmediate:Z?(W=`axios@${Math.random()}`,G=[],O.addEventListener("message",(({source:e,data:t})=>{e===O&&t===W&&G.length&&G.shift()()}),!1),e=>{G.push(e),O.postMessage(W,"*")}):e=>setTimeout(e));var U,Z,W,G;const $="undefined"!=typeof queueMicrotask?queueMicrotask.bind(O):"undefined"!=typeof process&&process.nextTick||H,q={isArray:d,isArrayBuffer:f,isBuffer:function(e){return null!==e&&!h(e)&&null!==e.constructor&&!h(e.constructor)&&m(e.constructor.isBuffer)&&e.constructor.isBuffer(e)},isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||m(e.append)&&("formdata"===(t=a(e))||"object"===t&&m(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&f(e.buffer),t},isString:p,isNumber:v,isBoolean:e=>!0===e||!1===e,isObject:g,isPlainObject:y,isReadableStream:S,isRequest:P,isResponse:C,isHeaders:R,isUndefined:h,isDate:w,isFile:b,isBlob:x,isRegExp:F,isFunction:m,isStream:e=>g(e)&&m(e.pipe),isURLSearchParams:T,isTypedArray:L,isFileList:E,forEach:A,merge:function e(){const{caseless:t}=k(this)&&this||{},n={},r=(r,o)=>{const i=t&&M(n,o)||o;y(n[i])&&y(r)?n[i]=e(n[i],r):y(r)?n[i]=e({},r):d(r)?n[i]=r.slice():n[i]=r};for(let e=0,t=arguments.length;e(A(t,((t,r)=>{n&&m(t)?e[r]=o(t,n):e[r]=t}),{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),e.prototype.constructor=e,Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let o,i,a;const l={};if(t=t||{},null==e)return t;do{for(o=Object.getOwnPropertyNames(e),i=o.length;i-- >0;)a=o[i],r&&!r(a,e,t)||l[a]||(t[a]=e[a],l[a]=!0);e=!1!==n&&s(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:a,kindOfTest:u,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(d(e))return e;let t=e.length;if(!v(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Symbol.iterator]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:j,hasOwnProperty:D,hasOwnProp:D,reduceDescriptors:I,freezeMethods:e=>{I(e,((t,n)=>{if(m(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];m(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))}))},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach((e=>{n[e]=!0}))};return d(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,(function(e,t,n){return t.toUpperCase()+n})),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:M,global:O,isContextDefined:k,ALPHABET:_,generateString:(e=16,t=_.ALPHA_DIGIT)=>{let n="";const{length:r}=t;for(;e--;)n+=t[Math.random()*r|0];return n},isSpecCompliantForm:function(e){return!!(e&&m(e.append)&&"FormData"===e[Symbol.toStringTag]&&e[Symbol.iterator])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(g(e)){if(t.indexOf(e)>=0)return;if(!("toJSON"in e)){t[r]=e;const o=d(e)?[]:{};return A(e,((e,t)=>{const i=n(e,r+1);!h(i)&&(o[t]=i)})),t[r]=void 0,o}}return e};return n(e,0)},isAsyncFn:z,isThenable:e=>e&&(g(e)||m(e))&&m(e.then)&&m(e.catch),setImmediate:H,asap:$};function Y(e,t,n,r,o){Error.call(this),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack,this.message=e,this.name="AxiosError",t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),o&&(this.response=o)}q.inherits(Y,Error,{toJSON:function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:q.toJSONObject(this.config),code:this.code,status:this.response&&this.response.status?this.response.status:null}}});const K=Y.prototype,X={};["ERR_BAD_OPTION_VALUE","ERR_BAD_OPTION","ECONNABORTED","ETIMEDOUT","ERR_NETWORK","ERR_FR_TOO_MANY_REDIRECTS","ERR_DEPRECATED","ERR_BAD_RESPONSE","ERR_BAD_REQUEST","ERR_CANCELED","ERR_NOT_SUPPORT","ERR_INVALID_URL"].forEach((e=>{X[e]={value:e}})),Object.defineProperties(Y,X),Object.defineProperty(K,"isAxiosError",{value:!0}),Y.from=(e,t,n,r,o,i)=>{const s=Object.create(K);return q.toFlatObject(e,s,(function(e){return e!==Error.prototype}),(e=>"isAxiosError"!==e)),Y.call(s,e.message,t,n,r,o),s.cause=e,s.name=e.name,i&&Object.assign(s,i),s};const J=Y;function Q(e){return q.isPlainObject(e)||q.isArray(e)}function ee(e){return q.endsWith(e,"[]")?e.slice(0,-2):e}function te(e,t,n){return e?e.concat(t).map((function(e,t){return e=ee(e),!n&&t?"["+e+"]":e})).join(n?".":""):t}const ne=q.toFlatObject(q,{},null,(function(e){return/^is[A-Z]/.test(e)})),re=function(e,t,n){if(!q.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=q.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,(function(e,t){return!q.isUndefined(t[e])}))).metaTokens,o=n.visitor||u,i=n.dots,s=n.indexes,a=(n.Blob||"undefined"!=typeof Blob&&Blob)&&q.isSpecCompliantForm(t);if(!q.isFunction(o))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(q.isDate(e))return e.toISOString();if(!a&&q.isBlob(e))throw new J("Blob is not supported. Use a Buffer instead.");return q.isArrayBuffer(e)||q.isTypedArray(e)?a&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function u(e,n,o){let a=e;if(e&&!o&&"object"==typeof e)if(q.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(q.isArray(e)&&function(e){return q.isArray(e)&&!e.some(Q)}(e)||(q.isFileList(e)||q.endsWith(n,"[]"))&&(a=q.toArray(e)))return n=ee(n),a.forEach((function(e,r){!q.isUndefined(e)&&null!==e&&t.append(!0===s?te([n],r,i):null===s?n:n+"[]",l(e))})),!1;return!!Q(e)||(t.append(te(o,n,i),l(e)),!1)}const c=[],d=Object.assign(ne,{defaultVisitor:u,convertValue:l,isVisitable:Q});if(!q.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!q.isUndefined(n)){if(-1!==c.indexOf(n))throw Error("Circular reference detected in "+r.join("."));c.push(n),q.forEach(n,(function(n,i){!0===(!(q.isUndefined(n)||null===n)&&o.call(t,n,q.isString(i)?i.trim():i,r,d))&&e(n,r?r.concat(i):[i])})),c.pop()}}(e),t};function oe(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,(function(e){return t[e]}))}function ie(e,t){this._pairs=[],e&&re(e,this,t)}const se=ie.prototype;se.append=function(e,t){this._pairs.push([e,t])},se.toString=function(e){const t=e?function(t){return e.call(this,t,oe)}:oe;return this._pairs.map((function(e){return t(e[0])+"="+t(e[1])}),"").join("&")};const ae=ie;function le(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}function ue(e,t,n){if(!t)return e;const r=n&&n.encode||le,o=n&&n.serialize;let i;if(i=o?o(t,n):q.isURLSearchParams(t)?t.toString():new ae(t,n).toString(r),i){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+i}return e}const ce=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){q.forEach(this.handlers,(function(t){null!==t&&e(t)}))}},de={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},he={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:ae,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},fe="undefined"!=typeof window&&"undefined"!=typeof document,pe=(me="undefined"!=typeof navigator&&navigator.product,fe&&["ReactNative","NativeScript","NS"].indexOf(me)<0);var me;const ve="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,ge=fe&&window.location.href||"http://localhost",ye={...r,...he},we=function(e){function t(e,n,r,o){let i=e[o++];if("__proto__"===i)return!0;const s=Number.isFinite(+i),a=o>=e.length;return i=!i&&q.isArray(r)?r.length:i,a?(q.hasOwnProp(r,i)?r[i]=[r[i],n]:r[i]=n,!s):(r[i]&&q.isObject(r[i])||(r[i]=[]),t(e,n,r[i],o)&&q.isArray(r[i])&&(r[i]=function(e){const t={},n=Object.keys(e);let r;const o=n.length;let i;for(r=0;r{t(function(e){return q.matchAll(/\w+|\[(\w*)]/g,e).map((e=>"[]"===e[0]?"":e[1]||e[0]))}(e),r,n,0)})),n}return null},be={transitional:de,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,o=q.isObject(e);if(o&&q.isHTMLForm(e)&&(e=new FormData(e)),q.isFormData(e))return r?JSON.stringify(we(e)):e;if(q.isArrayBuffer(e)||q.isBuffer(e)||q.isStream(e)||q.isFile(e)||q.isBlob(e)||q.isReadableStream(e))return e;if(q.isArrayBufferView(e))return e.buffer;if(q.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let i;if(o){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return re(e,new ye.classes.URLSearchParams,Object.assign({visitor:function(e,t,n,r){return ye.isNode&&q.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)}},t))}(e,this.formSerializer).toString();if((i=q.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return re(i?{"files[]":e}:e,t&&new t,this.formSerializer)}}return o||r?(t.setContentType("application/json",!1),function(e,t,n){if(q.isString(e))try{return(0,JSON.parse)(e),q.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||be.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(q.isResponse(e)||q.isReadableStream(e))return e;if(e&&q.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e)}catch(e){if(n){if("SyntaxError"===e.name)throw J.from(e,J.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:ye.classes.FormData,Blob:ye.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};q.forEach(["delete","get","head","post","put","patch"],(e=>{be.headers[e]={}}));const xe=be,Ee=q.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),Te=Symbol("internals");function Se(e){return e&&String(e).trim().toLowerCase()}function Pe(e){return!1===e||null==e?e:q.isArray(e)?e.map(Pe):String(e)}function Ce(e,t,n,r,o){return q.isFunction(r)?r.call(this,t,n):(o&&(t=n),q.isString(t)?q.isString(r)?-1!==t.indexOf(r):q.isRegExp(r)?r.test(t):void 0:void 0)}class Re{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function o(e,t,n){const o=Se(t);if(!o)throw new Error("header name must be a non-empty string");const i=q.findKey(r,o);(!i||void 0===r[i]||!0===n||void 0===n&&!1!==r[i])&&(r[i||t]=Pe(e))}const i=(e,t)=>q.forEach(e,((e,n)=>o(e,n,t)));if(q.isPlainObject(e)||e instanceof this.constructor)i(e,t);else if(q.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))i((e=>{const t={};let n,r,o;return e&&e.split("\n").forEach((function(e){o=e.indexOf(":"),n=e.substring(0,o).trim().toLowerCase(),r=e.substring(o+1).trim(),!n||t[n]&&Ee[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)})),t})(e),t);else if(q.isHeaders(e))for(const[t,r]of e.entries())o(r,t,n);else null!=e&&o(t,e,n);return this}get(e,t){if(e=Se(e)){const n=q.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(q.isFunction(t))return t.call(this,e,n);if(q.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=Se(e)){const n=q.findKey(this,e);return!(!n||void 0===this[n]||t&&!Ce(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function o(e){if(e=Se(e)){const o=q.findKey(n,e);!o||t&&!Ce(0,n[o],o,t)||(delete n[o],r=!0)}}return q.isArray(e)?e.forEach(o):o(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const o=t[n];e&&!Ce(0,this[o],o,e,!0)||(delete this[o],r=!0)}return r}normalize(e){const t=this,n={};return q.forEach(this,((r,o)=>{const i=q.findKey(n,o);if(i)return t[i]=Pe(r),void delete t[o];const s=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,((e,t,n)=>t.toUpperCase()+n))}(o):String(o).trim();s!==o&&delete t[o],t[s]=Pe(r),n[s]=!0})),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return q.forEach(this,((n,r)=>{null!=n&&!1!==n&&(t[r]=e&&q.isArray(n)?n.join(", "):n)})),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map((([e,t])=>e+": "+t)).join("\n")}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach((e=>n.set(e))),n}static accessor(e){const t=(this[Te]=this[Te]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=Se(e);t[r]||(function(e,t){const n=q.toCamelCase(" "+t);["get","set","has"].forEach((r=>{Object.defineProperty(e,r+n,{value:function(e,n,o){return this[r].call(this,t,e,n,o)},configurable:!0})}))}(n,e),t[r]=!0)}return q.isArray(e)?e.forEach(r):r(e),this}}Re.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),q.reduceDescriptors(Re.prototype,(({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}})),q.freezeMethods(Re);const Ae=Re;function Me(e,t){const n=this||xe,r=t||n,o=Ae.from(r.headers);let i=r.data;return q.forEach(e,(function(e){i=e.call(n,i,o.normalize(),t?t.status:void 0)})),o.normalize(),i}function Oe(e){return!(!e||!e.__CANCEL__)}function ke(e,t,n){J.call(this,null==e?"canceled":e,J.ERR_CANCELED,t,n),this.name="CanceledError"}q.inherits(ke,J,{__CANCEL__:!0});const Le=ke;function Ve(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new J("Request failed with status code "+n.status,[J.ERR_BAD_REQUEST,J.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const je=(e,t,n=3)=>{let r=0;const o=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let o,i=0,s=0;return t=void 0!==t?t:1e3,function(a){const l=Date.now(),u=r[s];o||(o=l),n[i]=a,r[i]=l;let c=s,d=0;for(;c!==i;)d+=n[c++],c%=e;if(i=(i+1)%e,i===s&&(s=(s+1)%e),l-o{o=i,n=null,r&&(clearTimeout(r),r=null),e.apply(null,t)};return[(...e)=>{const t=Date.now(),a=t-o;a>=i?s(e,t):(n=e,r||(r=setTimeout((()=>{r=null,s(n)}),i-a)))},()=>n&&s(n)]}((n=>{const i=n.loaded,s=n.lengthComputable?n.total:void 0,a=i-r,l=o(a);r=i,e({loaded:i,total:s,progress:s?i/s:void 0,bytes:a,rate:l||void 0,estimated:l&&s&&i<=s?(s-i)/l:void 0,event:n,lengthComputable:null!=s,[t?"download":"upload"]:!0})}),n)},De=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Fe=e=>(...t)=>q.asap((()=>e(...t))),Ie=ye.hasStandardBrowserEnv?function(){const e=/(msie|trident)/i.test(navigator.userAgent),t=document.createElement("a");let n;function r(n){let r=n;return e&&(t.setAttribute("href",r),r=t.href),t.setAttribute("href",r),{href:t.href,protocol:t.protocol?t.protocol.replace(/:$/,""):"",host:t.host,search:t.search?t.search.replace(/^\?/,""):"",hash:t.hash?t.hash.replace(/^#/,""):"",hostname:t.hostname,port:t.port,pathname:"/"===t.pathname.charAt(0)?t.pathname:"/"+t.pathname}}return n=r(window.location.href),function(e){const t=q.isString(e)?r(e):e;return t.protocol===n.protocol&&t.host===n.host}}():function(){return!0},Ne=ye.hasStandardBrowserEnv?{write(e,t,n,r,o,i){const s=[e+"="+encodeURIComponent(t)];q.isNumber(n)&&s.push("expires="+new Date(n).toGMTString()),q.isString(r)&&s.push("path="+r),q.isString(o)&&s.push("domain="+o),!0===i&&s.push("secure"),document.cookie=s.join("; ")},read(e){const t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove(e){this.write(e,"",Date.now()-864e5)}}:{write(){},read:()=>null,remove(){}};function Be(e,t){return e&&!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const _e=e=>e instanceof Ae?{...e}:e;function ze(e,t){t=t||{};const n={};function r(e,t,n){return q.isPlainObject(e)&&q.isPlainObject(t)?q.merge.call({caseless:n},e,t):q.isPlainObject(t)?q.merge({},t):q.isArray(t)?t.slice():t}function o(e,t,n){return q.isUndefined(t)?q.isUndefined(e)?void 0:r(void 0,e,n):r(e,t,n)}function i(e,t){if(!q.isUndefined(t))return r(void 0,t)}function s(e,t){return q.isUndefined(t)?q.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function a(n,o,i){return i in t?r(n,o):i in e?r(void 0,n):void 0}const l={url:i,method:i,data:i,baseURL:s,transformRequest:s,transformResponse:s,paramsSerializer:s,timeout:s,timeoutMessage:s,withCredentials:s,withXSRFToken:s,adapter:s,responseType:s,xsrfCookieName:s,xsrfHeaderName:s,onUploadProgress:s,onDownloadProgress:s,decompress:s,maxContentLength:s,maxBodyLength:s,beforeRedirect:s,transport:s,httpAgent:s,httpsAgent:s,cancelToken:s,socketPath:s,responseEncoding:s,validateStatus:a,headers:(e,t)=>o(_e(e),_e(t),!0)};return q.forEach(Object.keys(Object.assign({},e,t)),(function(r){const i=l[r]||o,s=i(e[r],t[r],r);q.isUndefined(s)&&i!==a||(n[r]=s)})),n}const He=e=>{const t=ze({},e);let n,{data:r,withXSRFToken:o,xsrfHeaderName:i,xsrfCookieName:s,headers:a,auth:l}=t;if(t.headers=a=Ae.from(a),t.url=ue(Be(t.baseURL,t.url),e.params,e.paramsSerializer),l&&a.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?unescape(encodeURIComponent(l.password)):""))),q.isFormData(r))if(ye.hasStandardBrowserEnv||ye.hasStandardBrowserWebWorkerEnv)a.setContentType(void 0);else if(!1!==(n=a.getContentType())){const[e,...t]=n?n.split(";").map((e=>e.trim())).filter(Boolean):[];a.setContentType([e||"multipart/form-data",...t].join("; "))}if(ye.hasStandardBrowserEnv&&(o&&q.isFunction(o)&&(o=o(t)),o||!1!==o&&Ie(t.url))){const e=i&&s&&Ne.read(s);e&&a.set(i,e)}return t},Ue="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise((function(t,n){const r=He(e);let o=r.data;const i=Ae.from(r.headers).normalize();let s,a,l,u,c,{responseType:d,onUploadProgress:h,onDownloadProgress:f}=r;function p(){u&&u(),c&&c(),r.cancelToken&&r.cancelToken.unsubscribe(s),r.signal&&r.signal.removeEventListener("abort",s)}let m=new XMLHttpRequest;function v(){if(!m)return;const r=Ae.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Ve((function(e){t(e),p()}),(function(e){n(e),p()}),{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=v:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(v)},m.onabort=function(){m&&(n(new J("Request aborted",J.ECONNABORTED,e,m)),m=null)},m.onerror=function(){n(new J("Network Error",J.ERR_NETWORK,e,m)),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const o=r.transitional||de;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new J(t,o.clarifyTimeoutError?J.ETIMEDOUT:J.ECONNABORTED,e,m)),m=null},void 0===o&&i.setContentType(null),"setRequestHeader"in m&&q.forEach(i.toJSON(),(function(e,t){m.setRequestHeader(t,e)})),q.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),f&&([l,c]=je(f,!0),m.addEventListener("progress",l)),h&&m.upload&&([a,u]=je(h),m.upload.addEventListener("progress",a),m.upload.addEventListener("loadend",u)),(r.cancelToken||r.signal)&&(s=t=>{m&&(n(!t||t.type?new Le(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(s),r.signal&&(r.signal.aborted?s():r.signal.addEventListener("abort",s)));const g=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);g&&-1===ye.protocols.indexOf(g)?n(new J("Unsupported protocol "+g+":",J.ERR_BAD_REQUEST,e)):m.send(o||null)}))},Ze=(e,t)=>{let n,r=new AbortController;const o=function(e){if(!n){n=!0,s();const t=e instanceof Error?e:this.reason;r.abort(t instanceof J?t:new Le(t instanceof Error?t.message:t))}};let i=t&&setTimeout((()=>{o(new J(`timeout ${t} of ms exceeded`,J.ETIMEDOUT))}),t);const s=()=>{e&&(i&&clearTimeout(i),i=null,e.forEach((e=>{e&&(e.removeEventListener?e.removeEventListener("abort",o):e.unsubscribe(o))})),e=null)};e.forEach((e=>e&&e.addEventListener&&e.addEventListener("abort",o)));const{signal:a}=r;return a.unsubscribe=s,[a,()=>{i&&clearTimeout(i),i=null}]},We=function*(e,t){let n=e.byteLength;if(!t||n{const i=async function*(e,t,n){for await(const r of e)yield*We(ArrayBuffer.isView(r)?r:await n(String(r)),t)}(e,t,o);let s,a=0,l=e=>{s||(s=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return l(),void e.close();let o=r.byteLength;if(n){let e=a+=o;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw l(e),e}},cancel:e=>(l(e),i.return())},{highWaterMark:2})},$e="function"==typeof fetch&&"function"==typeof Request&&"function"==typeof Response,qe=$e&&"function"==typeof ReadableStream,Ye=$e&&("function"==typeof TextEncoder?(Ke=new TextEncoder,e=>Ke.encode(e)):async e=>new Uint8Array(await new Response(e).arrayBuffer()));var Ke;const Xe=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Je=qe&&Xe((()=>{let e=!1;const t=new Request(ye.origin,{body:new ReadableStream,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t})),Qe=qe&&Xe((()=>q.isReadableStream(new Response("").body))),et={stream:Qe&&(e=>e.body)};var tt;$e&&(tt=new Response,["text","arrayBuffer","blob","formData","stream"].forEach((e=>{!et[e]&&(et[e]=q.isFunction(tt[e])?t=>t[e]():(t,n)=>{throw new J(`Response type '${e}' is not supported`,J.ERR_NOT_SUPPORT,n)})})));const nt={http:null,xhr:Ue,fetch:$e&&(async e=>{let{url:t,method:n,data:r,signal:o,cancelToken:i,timeout:s,onDownloadProgress:a,onUploadProgress:l,responseType:u,headers:c,withCredentials:d="same-origin",fetchOptions:h}=He(e);u=u?(u+"").toLowerCase():"text";let f,p,[m,v]=o||i||s?Ze([o,i],s):[];const g=()=>{!f&&setTimeout((()=>{m&&m.unsubscribe()})),f=!0};let y;try{if(l&&Je&&"get"!==n&&"head"!==n&&0!==(y=await(async(e,t)=>{const n=q.toFiniteNumber(e.getContentLength());return null==n?(async e=>null==e?0:q.isBlob(e)?e.size:q.isSpecCompliantForm(e)?(await new Request(e).arrayBuffer()).byteLength:q.isArrayBufferView(e)||q.isArrayBuffer(e)?e.byteLength:(q.isURLSearchParams(e)&&(e+=""),q.isString(e)?(await Ye(e)).byteLength:void 0))(t):n})(c,r))){let e,n=new Request(t,{method:"POST",body:r,duplex:"half"});if(q.isFormData(r)&&(e=n.headers.get("content-type"))&&c.setContentType(e),n.body){const[e,t]=De(y,je(Fe(l)));r=Ge(n.body,65536,e,t,Ye)}}q.isString(d)||(d=d?"include":"omit"),p=new Request(t,{...h,signal:m,method:n.toUpperCase(),headers:c.normalize().toJSON(),body:r,duplex:"half",credentials:d});let o=await fetch(p);const i=Qe&&("stream"===u||"response"===u);if(Qe&&(a||i)){const e={};["status","statusText","headers"].forEach((t=>{e[t]=o[t]}));const t=q.toFiniteNumber(o.headers.get("content-length")),[n,r]=a&&De(t,je(Fe(a),!0))||[];o=new Response(Ge(o.body,65536,n,(()=>{r&&r(),i&&g()}),Ye),e)}u=u||"text";let s=await et[q.findKey(et,u)||"text"](o,e);return!i&&g(),v&&v(),await new Promise(((t,n)=>{Ve(t,n,{data:s,headers:Ae.from(o.headers),status:o.status,statusText:o.statusText,config:e,request:p})}))}catch(t){if(g(),t&&"TypeError"===t.name&&/fetch/i.test(t.message))throw Object.assign(new J("Network Error",J.ERR_NETWORK,e,p),{cause:t.cause||t});throw J.from(t,t&&t.code,e,p)}})};q.forEach(nt,((e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}}));const rt=e=>`- ${e}`,ot=e=>q.isFunction(e)||null===e||!1===e,it=e=>{e=q.isArray(e)?e:[e];const{length:t}=e;let n,r;const o={};for(let i=0;i`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build")));let n=t?e.length>1?"since :\n"+e.map(rt).join("\n"):" "+rt(e[0]):"as no adapter specified";throw new J("There is no suitable adapter to dispatch the request "+n,"ERR_NOT_SUPPORT")}return r};function st(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Le(null,e)}function at(e){return st(e),e.headers=Ae.from(e.headers),e.data=Me.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),it(e.adapter||xe.adapter)(e).then((function(t){return st(e),t.data=Me.call(e,e.transformResponse,t),t.headers=Ae.from(t.headers),t}),(function(t){return Oe(t)||(st(e),t&&t.response&&(t.response.data=Me.call(e,e.transformResponse,t.response),t.response.headers=Ae.from(t.response.headers))),Promise.reject(t)}))}const lt={};["object","boolean","number","function","string","symbol"].forEach(((e,t)=>{lt[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}}));const ut={};lt.transitional=function(e,t,n){function r(e,t){return"[Axios v1.7.4] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,o,i)=>{if(!1===e)throw new J(r(o," has been removed"+(t?" in "+t:"")),J.ERR_DEPRECATED);return t&&!ut[o]&&(ut[o]=!0,console.warn(r(o," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,o,i)}};const ct={assertOptions:function(e,t,n){if("object"!=typeof e)throw new J("options must be an object",J.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let o=r.length;for(;o-- >0;){const i=r[o],s=t[i];if(s){const t=e[i],n=void 0===t||s(t,i,e);if(!0!==n)throw new J("option "+i+" must be "+n,J.ERR_BAD_OPTION_VALUE)}else if(!0!==n)throw new J("Unknown option "+i,J.ERR_BAD_OPTION)}},validators:lt},dt=ct.validators;class ht{constructor(e){this.defaults=e,this.interceptors={request:new ce,response:new ce}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t;Error.captureStackTrace?Error.captureStackTrace(t={}):t=new Error;const n=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=ze(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:o}=t;void 0!==n&&ct.assertOptions(n,{silentJSONParsing:dt.transitional(dt.boolean),forcedJSONParsing:dt.transitional(dt.boolean),clarifyTimeoutError:dt.transitional(dt.boolean)},!1),null!=r&&(q.isFunction(r)?t.paramsSerializer={serialize:r}:ct.assertOptions(r,{encode:dt.function,serialize:dt.function},!0)),t.method=(t.method||this.defaults.method||"get").toLowerCase();let i=o&&q.merge(o.common,o[t.method]);o&&q.forEach(["delete","get","head","post","put","patch","common"],(e=>{delete o[e]})),t.headers=Ae.concat(i,o);const s=[];let a=!0;this.interceptors.request.forEach((function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(a=a&&e.synchronous,s.unshift(e.fulfilled,e.rejected))}));const l=[];let u;this.interceptors.response.forEach((function(e){l.push(e.fulfilled,e.rejected)}));let c,d=0;if(!a){const e=[at.bind(this),void 0];for(e.unshift.apply(e,s),e.push.apply(e,l),c=e.length,u=Promise.resolve(t);d{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null})),this.promise.then=e=>{let t;const r=new Promise((e=>{n.subscribe(e),t=e})).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e((function(e,r,o){n.reason||(n.reason=new Le(e,r,o),t(n.reason))}))}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}static source(){let e;return{token:new pt((function(t){e=t})),cancel:e}}}const mt=pt,vt={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511};Object.entries(vt).forEach((([e,t])=>{vt[t]=e}));const gt=vt,yt=function e(t){const n=new ft(t),r=o(ft.prototype.request,n);return q.extend(r,ft.prototype,n,{allOwnKeys:!0}),q.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(ze(t,n))},r}(xe);yt.Axios=ft,yt.CanceledError=Le,yt.CancelToken=mt,yt.isCancel=Oe,yt.VERSION="1.7.4",yt.toFormData=re,yt.AxiosError=J,yt.Cancel=yt.CanceledError,yt.all=function(e){return Promise.all(e)},yt.spread=function(e){return function(t){return e.apply(null,t)}},yt.isAxiosError=function(e){return q.isObject(e)&&!0===e.isAxiosError},yt.mergeConfig=ze,yt.AxiosHeaders=Ae,yt.formToJSON=e=>we(q.isHTMLForm(e)?new FormData(e):e),yt.getAdapter=it,yt.HttpStatusCode=gt,yt.default=yt;const wt=yt},9883:(e,t,n)=>{"use strict";n.d(t,{Z:()=>o});var r={};!function e(t,n,r,o){var i=!!(t.Worker&&t.Blob&&t.Promise&&t.OffscreenCanvas&&t.OffscreenCanvasRenderingContext2D&&t.HTMLCanvasElement&&t.HTMLCanvasElement.prototype.transferControlToOffscreen&&t.URL&&t.URL.createObjectURL),s="function"==typeof Path2D&&"function"==typeof DOMMatrix,a=function(){if(!t.OffscreenCanvas)return!1;var e=new OffscreenCanvas(1,1),n=e.getContext("2d");n.fillRect(0,0,1,1);var r=e.transferToImageBitmap();try{n.createPattern(r,"no-repeat")}catch(e){return!1}return!0}();function l(){}function u(e){var r=n.exports.Promise,o=void 0!==r?r:t.Promise;return"function"==typeof o?new o(e):(e(l,l),null)}var c,d,h,f,p,m,v,g,y,w,b,x=(c=a,d=new Map,{transform:function(e){if(c)return e;if(d.has(e))return d.get(e);var t=new OffscreenCanvas(e.width,e.height);return t.getContext("2d").drawImage(e,0,0),d.set(e,t),t},clear:function(){d.clear()}}),E=(p=Math.floor(1e3/60),m={},v=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(h=function(e){var t=Math.random();return m[t]=requestAnimationFrame((function n(r){v===r||v+p-1{"use strict";n.d(t,{Vi:()=>A});var r={grad:.9,turn:360,rad:360/(2*Math.PI)},o=function(e){return"string"==typeof e?e.length>0:"number"==typeof e},i=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=Math.pow(10,t)),Math.round(n*e)/n+0},s=function(e,t,n){return void 0===t&&(t=0),void 0===n&&(n=1),e>n?n:e>t?e:t},a=function(e){return(e=isFinite(e)?e%360:0)>0?e:e+360},l=function(e){return{r:s(e.r,0,255),g:s(e.g,0,255),b:s(e.b,0,255),a:s(e.a)}},u=function(e){return{r:i(e.r),g:i(e.g),b:i(e.b),a:i(e.a,3)}},c=/^#([0-9a-f]{3,8})$/i,d=function(e){var t=e.toString(16);return t.length<2?"0"+t:t},h=function(e){var t=e.r,n=e.g,r=e.b,o=e.a,i=Math.max(t,n,r),s=i-Math.min(t,n,r),a=s?i===t?(n-r)/s:i===n?2+(r-t)/s:4+(t-n)/s:0;return{h:60*(a<0?a+6:a),s:i?s/i*100:0,v:i/255*100,a:o}},f=function(e){var t=e.h,n=e.s,r=e.v,o=e.a;t=t/360*6,n/=100,r/=100;var i=Math.floor(t),s=r*(1-n),a=r*(1-(t-i)*n),l=r*(1-(1-t+i)*n),u=i%6;return{r:255*[r,a,s,s,l,r][u],g:255*[l,r,r,a,s,s][u],b:255*[s,s,l,r,r,a][u],a:o}},p=function(e){return{h:a(e.h),s:s(e.s,0,100),l:s(e.l,0,100),a:s(e.a)}},m=function(e){return{h:i(e.h),s:i(e.s),l:i(e.l),a:i(e.a,3)}},v=function(e){return f((n=(t=e).s,{h:t.h,s:(n*=((r=t.l)<50?r:100-r)/100)>0?2*n/(r+n)*100:0,v:r+n,a:t.a}));var t,n,r},g=function(e){return{h:(t=h(e)).h,s:(o=(200-(n=t.s))*(r=t.v)/100)>0&&o<200?n*r/100/(o<=100?o:200-o)*100:0,l:o/2,a:t.a};var t,n,r,o},y=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s*,\s*([+-]?\d*\.?\d+)%\s*,\s*([+-]?\d*\.?\d+)%\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,w=/^hsla?\(\s*([+-]?\d*\.?\d+)(deg|rad|grad|turn)?\s+([+-]?\d*\.?\d+)%\s+([+-]?\d*\.?\d+)%\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,b=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*,\s*([+-]?\d*\.?\d+)(%)?\s*(?:,\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,x=/^rgba?\(\s*([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s+([+-]?\d*\.?\d+)(%)?\s*(?:\/\s*([+-]?\d*\.?\d+)(%)?\s*)?\)$/i,E={string:[[function(e){var t=c.exec(e);return t?(e=t[1]).length<=4?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:4===e.length?i(parseInt(e[3]+e[3],16)/255,2):1}:6===e.length||8===e.length?{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:8===e.length?i(parseInt(e.substr(6,2),16)/255,2):1}:null:null},"hex"],[function(e){var t=b.exec(e)||x.exec(e);return t?t[2]!==t[4]||t[4]!==t[6]?null:l({r:Number(t[1])/(t[2]?100/255:1),g:Number(t[3])/(t[4]?100/255:1),b:Number(t[5])/(t[6]?100/255:1),a:void 0===t[7]?1:Number(t[7])/(t[8]?100:1)}):null},"rgb"],[function(e){var t=y.exec(e)||w.exec(e);if(!t)return null;var n,o,i=p({h:(n=t[1],o=t[2],void 0===o&&(o="deg"),Number(n)*(r[o]||1)),s:Number(t[3]),l:Number(t[4]),a:void 0===t[5]?1:Number(t[5])/(t[6]?100:1)});return v(i)},"hsl"]],object:[[function(e){var t=e.r,n=e.g,r=e.b,i=e.a,s=void 0===i?1:i;return o(t)&&o(n)&&o(r)?l({r:Number(t),g:Number(n),b:Number(r),a:Number(s)}):null},"rgb"],[function(e){var t=e.h,n=e.s,r=e.l,i=e.a,s=void 0===i?1:i;if(!o(t)||!o(n)||!o(r))return null;var a=p({h:Number(t),s:Number(n),l:Number(r),a:Number(s)});return v(a)},"hsl"],[function(e){var t=e.h,n=e.s,r=e.v,i=e.a,l=void 0===i?1:i;if(!o(t)||!o(n)||!o(r))return null;var u=function(e){return{h:a(e.h),s:s(e.s,0,100),v:s(e.v,0,100),a:s(e.a)}}({h:Number(t),s:Number(n),v:Number(r),a:Number(l)});return f(u)},"hsv"]]},T=function(e,t){for(var n=0;n=.5},e.prototype.toHex=function(){return t=(e=u(this.rgba)).r,n=e.g,r=e.b,s=(o=e.a)<1?d(i(255*o)):"","#"+d(t)+d(n)+d(r)+s;var e,t,n,r,o,s},e.prototype.toRgb=function(){return u(this.rgba)},e.prototype.toRgbString=function(){return t=(e=u(this.rgba)).r,n=e.g,r=e.b,(o=e.a)<1?"rgba("+t+", "+n+", "+r+", "+o+")":"rgb("+t+", "+n+", "+r+")";var e,t,n,r,o},e.prototype.toHsl=function(){return m(g(this.rgba))},e.prototype.toHslString=function(){return t=(e=m(g(this.rgba))).h,n=e.s,r=e.l,(o=e.a)<1?"hsla("+t+", "+n+"%, "+r+"%, "+o+")":"hsl("+t+", "+n+"%, "+r+"%)";var e,t,n,r,o},e.prototype.toHsv=function(){return e=h(this.rgba),{h:i(e.h),s:i(e.s),v:i(e.v),a:i(e.a,3)};var e},e.prototype.invert=function(){return A({r:255-(e=this.rgba).r,g:255-e.g,b:255-e.b,a:e.a});var e},e.prototype.saturate=function(e){return void 0===e&&(e=.1),A(S(this.rgba,e))},e.prototype.desaturate=function(e){return void 0===e&&(e=.1),A(S(this.rgba,-e))},e.prototype.grayscale=function(){return A(S(this.rgba,-1))},e.prototype.lighten=function(e){return void 0===e&&(e=.1),A(C(this.rgba,e))},e.prototype.darken=function(e){return void 0===e&&(e=.1),A(C(this.rgba,-e))},e.prototype.rotate=function(e){return void 0===e&&(e=15),this.hue(this.hue()+e)},e.prototype.alpha=function(e){return"number"==typeof e?A({r:(t=this.rgba).r,g:t.g,b:t.b,a:e}):i(this.rgba.a,3);var t},e.prototype.hue=function(e){var t=g(this.rgba);return"number"==typeof e?A({h:e,s:t.s,l:t.l,a:t.a}):i(t.h)},e.prototype.isEqual=function(e){return this.toHex()===A(e).toHex()},e}(),A=function(e){return e instanceof R?e:new R(e)}},3689:(e,t,n)=>{"use strict";n.d(t,{M:()=>g});var r=n(5893),o=n(9196),i=n(240),s=n(6681),a=n(6014);class l extends o.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function u({children:e,isPresent:t}){const n=(0,o.useId)(),i=(0,o.useRef)(null),s=(0,o.useRef)({width:0,height:0,top:0,left:0}),{nonce:u}=(0,o.useContext)(a._);return(0,o.useInsertionEffect)((()=>{const{width:e,height:r,top:o,left:a}=s.current;if(t||!i.current||!e||!r)return;i.current.dataset.motionPopId=n;const l=document.createElement("style");return u&&(l.nonce=u),document.head.appendChild(l),l.sheet&&l.sheet.insertRule(`\n [data-motion-pop-id="${n}"] {\n position: absolute !important;\n width: ${e}px !important;\n height: ${r}px !important;\n top: ${o}px !important;\n left: ${a}px !important;\n }\n `),()=>{document.head.removeChild(l)}}),[t]),(0,r.jsx)(l,{isPresent:t,childRef:i,sizeRef:s,children:o.cloneElement(e,{ref:i})})}const c=({children:e,initial:t,isPresent:n,onExitComplete:a,custom:l,presenceAffectsLayout:c,mode:h})=>{const f=(0,s.h)(d),p=(0,o.useId)(),m=(0,o.useMemo)((()=>({id:p,initial:t,isPresent:n,custom:l,onExitComplete:e=>{f.set(e,!0);for(const e of f.values())if(!e)return;a&&a()},register:e=>(f.set(e,!1),()=>f.delete(e))})),c?[Math.random()]:[n]);return(0,o.useMemo)((()=>{f.forEach(((e,t)=>f.set(t,!1)))}),[n]),o.useEffect((()=>{!n&&!f.size&&a&&a()}),[n]),"popLayout"===h&&(e=(0,r.jsx)(u,{isPresent:n,children:e})),(0,r.jsx)(i.O.Provider,{value:m,children:e})};function d(){return new Map}var h=n(5364),f=n(5487);const p=e=>e.key||"";function m(e){const t=[];return o.Children.forEach(e,(e=>{(0,o.isValidElement)(e)&&t.push(e)})),t}var v=n(8868);const g=({children:e,exitBeforeEnter:t,custom:n,initial:i=!0,onExitComplete:a,presenceAffectsLayout:l=!0,mode:u="sync"})=>{(0,f.k)(!t,"Replace exitBeforeEnter with mode='wait'");const d=(0,o.useMemo)((()=>m(e)),[e]),g=d.map(p),y=(0,o.useRef)(!0),w=(0,o.useRef)(d),b=(0,s.h)((()=>new Map)),[x,E]=(0,o.useState)(d),[T,S]=(0,o.useState)(d);(0,v.L)((()=>{y.current=!1,w.current=d;for(let e=0;e{const t=p(e),o=d===T||g.includes(t);return(0,r.jsx)(c,{isPresent:o,initial:!(y.current&&!i)&&void 0,custom:o?void 0:n,presenceAffectsLayout:l,mode:u,onExitComplete:o?void 0:()=>{if(!b.has(t))return;b.set(t,!0);let e=!0;b.forEach((t=>{t||(e=!1)})),e&&(null==C||C(),S(w.current),a&&a())},children:e},t)}))})}},5364:(e,t,n)=>{"use strict";n.d(t,{p:()=>r});const r=(0,n(9196).createContext)({})},6014:(e,t,n)=>{"use strict";n.d(t,{_:()=>r});const r=(0,n(9196).createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"})},240:(e,t,n)=>{"use strict";n.d(t,{O:()=>r});const r=(0,n(9196).createContext)(null)},3773:(e,t,n)=>{"use strict";n.d(t,{E:()=>ks});var r=n(5893),o=n(9196),i=n(6014);const s=(0,o.createContext)({});var a=n(240),l=n(8868);const u=(0,o.createContext)({strict:!1}),c=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),d="data-"+c("framerAppearId"),h=["read","resolveKeyframes","update","preRender","render","postRender"];function f(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,s=h.reduce(((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,o=!1;const i=new WeakSet;let s={delta:0,timestamp:0,isProcessing:!1};function a(t){i.has(t)&&(l.schedule(t),e()),t(s)}const l={schedule:(e,o=!1,s=!1)=>{const a=s&&r?t:n;return o&&i.add(e),a.has(e)||a.add(e),e},cancel:e=>{n.delete(e),i.delete(e)},process:e=>{s=e,r?o=!0:(r=!0,[t,n]=[n,t],n.clear(),t.forEach(a),r=!1,o&&(o=!1,l.process(e)))}};return l}(i),e)),{}),{read:a,resolveKeyframes:l,update:u,preRender:c,render:d,postRender:f}=s,p=()=>{const i=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(i-o.timestamp,40),1),o.timestamp=i,o.isProcessing=!0,a.process(o),l.process(o),u.process(o),c.process(o),d.process(o),f.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(p))};return{schedule:h.reduce(((t,i)=>{const a=s[i];return t[i]=(t,i=!1,s=!1)=>(n||(n=!0,r=!0,o.isProcessing||e(p)),a.schedule(t,i,s)),t}),{}),cancel:e=>{for(let t=0;t{T&&T.update(n,m)}));const P=(0,o.useRef)(Boolean(n[d]&&!window.HandoffComplete));return(0,l.L)((()=>{T&&(T.updateFeatures(),p.render(T.render),P.current&&T.animationState&&T.animationState.animateChanges())})),(0,o.useEffect)((()=>{T&&(!P.current&&T.animationState&&T.animationState.animateChanges(),P.current&&(P.current=!1,y||(y=!0,queueMicrotask(b))))})),T}function b(){window.HandoffComplete=!0}function x(e){if(e)return!1!==e.options.allowProjection?e.projection:x(e.parent)}function E(e,t,n){return(0,o.useCallback)((r=>{r&&e.mount&&e.mount(r),t&&(r?t.mount(r):t.unmount()),n&&("function"==typeof n?n(r):v(n)&&(n.current=r))}),[t])}function T(e){return"string"==typeof e||Array.isArray(e)}function S(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}const P=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],C=["initial",...P];function R(e){return S(e.animate)||C.some((t=>T(e[t])))}function A(e){return Boolean(R(e)||e.variants)}function M(e){return Array.isArray(e)?e.join(" "):e}const O={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"]},k={};for(const e in O)k[e]={isEnabled:t=>O[e].some((e=>!!t[e]))};var L=n(1741),V=n(5364);const j=Symbol.for("motionComponentSymbol");function D({preloadedFeatures:e,createVisualElement:t,useRender:n,useVisualState:a,Component:l}){e&&function(e){for(const t in e)k[t]={...k[t],...e[t]}}(e);const c=(0,o.forwardRef)((function(e,c){let d;const h={...(0,o.useContext)(i._),...e,layoutId:F(e)},{isStatic:f}=h,p=function(e){const{initial:t,animate:n}=function(e,t){if(R(e)){const{initial:t,animate:n}=e;return{initial:!1===t||T(t)?t:void 0,animate:T(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,o.useContext)(s));return(0,o.useMemo)((()=>({initial:t,animate:n})),[M(t),M(n)])}(e),m=a(e,f);if(!f&&L.j){(0,o.useContext)(u).strict;const e=function(e){const{drag:t,layout:n}=k;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:(null==t?void 0:t.isEnabled(e))||(null==n?void 0:n.isEnabled(e))?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(h);d=e.MeasureLayout,p.visualElement=w(l,m,h,t,e.ProjectionNode)}return(0,r.jsxs)(s.Provider,{value:p,children:[d&&p.visualElement?(0,r.jsx)(d,{visualElement:p.visualElement,...h}):null,n(l,e,E(m,p.visualElement,c),m,f,p.visualElement)]})}));return c[j]=l,c}function F({layoutId:e}){const t=(0,o.useContext)(V.p).id;return t&&void 0!==e?t+"-"+e:e}function I(e){function t(t,n={}){return D(e(t,n))}if("undefined"==typeof Proxy)return t;const n=new Map;return new Proxy(t,{get:(e,r)=>(n.has(r)||n.set(r,t(r)),n.get(r))})}const N=["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 B(e){return"string"==typeof e&&!e.includes("-")&&!!(N.indexOf(e)>-1||/[A-Z]/u.test(e))}const _={},z=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],H=new Set(z);function U(e,{layout:t,layoutId:n}){return H.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!_[e]||"opacity"===e)}const Z=e=>Boolean(e&&e.getVelocity),W=(e,t)=>t&&"number"==typeof e?t.transform(e):e,G=(e,t,n)=>n>t?t:n"number"==typeof e,parse:parseFloat,transform:e=>e},q={...$,transform:e=>G(0,1,e)},Y={...$,default:1},K=e=>Math.round(1e5*e)/1e5,X=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,J=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,Q=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu;function ee(e){return"string"==typeof e}const te=e=>({test:t=>ee(t)&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),ne=te("deg"),re=te("%"),oe=te("px"),ie=te("vh"),se=te("vw"),ae={...re,parse:e=>re.parse(e)/100,transform:e=>re.transform(100*e)},le={...$,transform:Math.round},ue={borderWidth:oe,borderTopWidth:oe,borderRightWidth:oe,borderBottomWidth:oe,borderLeftWidth:oe,borderRadius:oe,radius:oe,borderTopLeftRadius:oe,borderTopRightRadius:oe,borderBottomRightRadius:oe,borderBottomLeftRadius:oe,width:oe,maxWidth:oe,height:oe,maxHeight:oe,size:oe,top:oe,right:oe,bottom:oe,left:oe,padding:oe,paddingTop:oe,paddingRight:oe,paddingBottom:oe,paddingLeft:oe,margin:oe,marginTop:oe,marginRight:oe,marginBottom:oe,marginLeft:oe,rotate:ne,rotateX:ne,rotateY:ne,rotateZ:ne,scale:Y,scaleX:Y,scaleY:Y,scaleZ:Y,skew:ne,skewX:ne,skewY:ne,distance:oe,translateX:oe,translateY:oe,translateZ:oe,x:oe,y:oe,z:oe,perspective:oe,transformPerspective:oe,opacity:q,originX:ae,originY:ae,originZ:oe,zIndex:le,backgroundPositionX:oe,backgroundPositionY:oe,fillOpacity:q,strokeOpacity:q,numOctaves:le},ce={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},de=z.length,he=e=>t=>"string"==typeof t&&t.startsWith(e),fe=he("--"),pe=he("var(--"),me=e=>!!pe(e)&&ve.test(e.split("/*")[0].trim()),ve=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function ge(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let s=!1,a=!1;for(const e in t){const n=t[e];if(H.has(e))s=!0;else if(fe(e))o[e]=n;else{const t=W(n,ue[e]);e.startsWith("origin")?(a=!0,i[e]=t):r[e]=t}}if(t.transform||(s||n?r.transform=function(e,t,n){let r="",o=!0;for(let i=0;i({style:{},transform:{},transformOrigin:{},vars:{}});function we(e,t,n){for(const r in t)Z(t[r])||U(r,n)||(e[r]=t[r])}function be(e,t){const n={},r=function(e,t){const n={};return we(n,e.style||{},e),Object.assign(n,function({transformTemplate:e},t){return(0,o.useMemo)((()=>{const n=ye();return ge(n,t,e),Object.assign({},n.vars,n.style)}),[t])}(e,t)),n}(e,t);return e.drag&&!1!==e.dragListener&&(n.draggable=!1,r.userSelect=r.WebkitUserSelect=r.WebkitTouchCallout="none",r.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(n.tabIndex=0),n.style=r,n}const xe=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 Ee(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||xe.has(e)}let Te=e=>!Ee(e);try{(Se=require("@emotion/is-prop-valid").default)&&(Te=e=>e.startsWith("on")?!Ee(e):Se(e))}catch(e){}var Se;function Pe(e,t,n){return"string"==typeof e?e:oe.transform(t+n*e)}const Ce={offset:"stroke-dashoffset",array:"stroke-dasharray"},Re={offset:"strokeDashoffset",array:"strokeDasharray"};function Ae(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:s,pathSpacing:a=1,pathOffset:l=0,...u},c,d){if(ge(e,u,d),c)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:h,style:f,dimensions:p}=e;h.transform&&(p&&(f.transform=h.transform),delete h.transform),p&&(void 0!==o||void 0!==i||f.transform)&&(f.transformOrigin=function(e,t,n){return`${Pe(t,e.x,e.width)} ${Pe(n,e.y,e.height)}`}(p,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(h.x=t),void 0!==n&&(h.y=n),void 0!==r&&(h.scale=r),void 0!==s&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?Ce:Re;e[i.offset]=oe.transform(-r);const s=oe.transform(t),a=oe.transform(n);e[i.array]=`${s} ${a}`}(h,s,a,l,!1)}const Me=()=>({...ye(),attrs:{}}),Oe=e=>"string"==typeof e&&"svg"===e.toLowerCase();function ke(e,t,n,r){const i=(0,o.useMemo)((()=>{const n=Me();return Ae(n,t,Oe(r),e.transformTemplate),{...n.attrs,style:{...n.style}}}),[t]);if(e.style){const t={};we(t,e.style,e),i.style={...t,...i.style}}return i}function Le(e=!1){return(t,n,r,{latestValues:i},s)=>{const a=(B(t)?ke:be)(n,i,s,t),l=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(Te(o)||!0===n&&Ee(o)||!t&&!Ee(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(n,"string"==typeof t,e),u=t!==o.Fragment?{...l,...a,ref:r}:{},{children:c}=n,d=(0,o.useMemo)((()=>Z(c)?c.get():c),[c]);return(0,o.createElement)(t,{...u,children:d})}}function Ve(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const je=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 De(e,t,n,r){Ve(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(je.has(n)?n:c(n),t.attrs[n])}function Fe(e,t,n){var r;const{style:o}=e,i={};for(const s in o)(Z(o[s])||t.style&&Z(t.style[s])||U(s,e)||void 0!==(null===(r=null==n?void 0:n.getValue(s))||void 0===r?void 0:r.liveStyle))&&(i[s]=o[s]);return n&&o&&"string"==typeof o.willChange&&(n.applyWillChange=!1),i}function Ie(e,t,n){const r=Fe(e,t,n);for(const n in e)(Z(e[n])||Z(t[n]))&&(r[-1!==z.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}function Ne(e){const t=[{},{}];return null==e||e.values.forEach(((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()})),t}function Be(e,t,n,r){if("function"==typeof t){const[o,i]=Ne(r);t=t(void 0!==n?n:e.custom,o,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[o,i]=Ne(r);t=t(void 0!==n?n:e.custom,o,i)}return t}var _e=n(6681);const ze=e=>Array.isArray(e),He=e=>Boolean(e&&"object"==typeof e&&e.mix&&e.toValue),Ue=e=>ze(e)?e[e.length-1]||0:e;function Ze(e){const t=Z(e)?e.get():e;return He(t)?t.toValue():t}const We=new Set(["opacity","clipPath","filter","transform"]);function Ge(e){return H.has(e)?"transform":We.has(e)?c(e):void 0}function $e(e,t){-1===e.indexOf(t)&&e.push(t)}function qe(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const Ye=e=>(t,n)=>{const r=(0,o.useContext)(s),i=(0,o.useContext)(a.O),l=()=>function({applyWillChange:e=!1,scrapeMotionValuesFromProps:t,createRenderState:n,onMount:r},o,i,s,a){const l={latestValues:Je(o,i,s,!a&&e,t),renderState:n()};return r&&(l.mount=e=>r(o,e,l)),l}(e,t,r,i,n);return n?l():(0,_e.h)(l)};function Ke(e,t){const n=Ge(t);n&&$e(e,n)}function Xe(e,t,n){const r=Array.isArray(t)?t:[t];for(let t=0;t{for(const t in e){let n=e[t];Array.isArray(n)&&(n=n[p?n.length-1:0]),null!==n&&(s[t]=n)}for(const e in t)s[e]=t[e]})),l&&(d&&!1!==c&&!S(d)&&Xe(e,d,(e=>{for(const t in e)Ke(a,t)})),a.length&&(s.willChange=a.join(","))),s}var Qe=n(1662);const{schedule:et,cancel:tt,state:nt,steps:rt}=f("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:Qe.Z,!0),ot={useVisualState:Ye({scrapeMotionValuesFromProps:Ie,createRenderState:Me,onMount:(e,t,{renderState:n,latestValues:r})=>{et.read((()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch(e){n.dimensions={x:0,y:0,width:0,height:0}}})),et.render((()=>{Ae(n,r,Oe(t.tagName),e.transformTemplate),De(t,n)}))}})},it={useVisualState:Ye({applyWillChange:!0,scrapeMotionValuesFromProps:Fe,createRenderState:ye})};function st(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}const at=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function lt(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}const ut=e=>t=>at(t)&&e(t,lt(t));function ct(e,t,n,r){return st(e,t,ut(n),r)}const dt=(e,t)=>n=>t(e(n)),ht=(...e)=>e.reduce(dt);function ft(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}const pt=ft("dragHorizontal"),mt=ft("dragVertical");function vt(e){let t=!1;if("y"===e)t=mt();else if("x"===e)t=pt();else{const e=pt(),n=mt();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function gt(){const e=vt(!0);return!e||(e(),!1)}class yt{constructor(e){this.isMounted=!1,this.node=e}update(){}}function wt(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd";return ct(e.current,n,((n,o)=>{if("touch"===n.pointerType||gt())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t);const s=i[r];s&&et.postRender((()=>s(n,o)))}),{passive:!e.getProps()[r]})}const bt=(e,t)=>!!t&&(e===t||bt(e,t.parentElement));function xt(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,lt(n))}const Et=new WeakMap,Tt=new WeakMap,St=e=>{const t=Et.get(e.target);t&&t(e)},Pt=e=>{e.forEach(St)};const Ct={some:0,all:1},Rt={inView:{Feature:class extends yt{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:Ct[r]};return function(e,t,n){const r=function({root:e,...t}){const n=e||document;Tt.has(n)||Tt.set(n,{});const r=Tt.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(Pt,{root:e,...t})),r[o]}(t);return Et.set(e,n),r.observe(e),()=>{Et.delete(e),r.unobserve(e)}}(this.node.current,i,(e=>{const{isIntersecting:t}=e;if(this.isInView===t)return;if(this.isInView=t,o&&!t&&this.hasEnteredView)return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)}))}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends yt{constructor(){super(...arguments),this.removeStartListeners=Qe.Z,this.removeEndListeners=Qe.Z,this.removeAccessibleListeners=Qe.Z,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();const n=this.node.getProps(),r=ct(window,"pointerup",((e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r,globalTapTarget:o}=this.node.getProps(),i=o||bt(this.node.current,e.target)?n:r;i&&et.update((()=>i(e,t)))}),{passive:!(n.onTap||n.onPointerUp)}),o=ct(window,"pointercancel",((e,t)=>this.cancelPress(e,t)),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=ht(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=st(this.node.current,"keydown",(e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=st(this.node.current,"keyup",(e=>{"Enter"===e.key&&this.checkPressEnd()&&xt("up",((e,t)=>{const{onTap:n}=this.node.getProps();n&&et.postRender((()=>n(e,t)))}))})),xt("down",((e,t)=>{this.startPress(e,t)})))})),t=st(this.node.current,"blur",(()=>{this.isPressing&&xt("cancel",((e,t)=>this.cancelPress(e,t)))}));this.removeAccessibleListeners=ht(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&et.postRender((()=>n(e,t)))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!gt()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&et.postRender((()=>n(e,t)))}mount(){const e=this.node.getProps(),t=ct(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=st(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=ht(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends yt{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch(t){e=!0}e&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){this.isActive&&this.node.animationState&&(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=ht(st(this.node.current,"focus",(()=>this.onFocus())),st(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends yt{mount(){this.unmount=ht(wt(this.node,!0),wt(this.node,!1))}unmount(){}}}};function At(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r1e3*e,kt=e=>e/1e3,Lt={type:"spring",stiffness:500,damping:25,restSpeed:10},Vt={type:"keyframes",duration:.8},jt={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Dt=(e,{keyframes:t})=>t.length>2?Vt:H.has(e)?e.startsWith("scale")?{type:"spring",stiffness:550,damping:0===t[1]?2*Math.sqrt(550):30,restSpeed:10}:Lt:jt;function Ft(e,t){return e[t]||e.default||e}const It=e=>null!==e;function Nt(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(It),i=t&&"loop"!==n&&t%2==1?0:o.length-1;return i&&void 0!==r?r:o[i]}let Bt;function _t(){Bt=void 0}const zt={now:()=>(void 0===Bt&&zt.set(nt.isProcessing?nt.timestamp:performance.now()),Bt),set:e=>{Bt=e,queueMicrotask(_t)}},Ht=e=>/^0[^.\s]+$/u.test(e);var Ut=n(5487);const Zt=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),Wt=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function Gt(e,t,n=1){(0,Ut.k)(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function(e){const t=Wt.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${null!=n?n:r}`,o]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const e=i.trim();return Zt(e)?parseFloat(e):e}return me(o)?Gt(o,t,n+1):o}const $t=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),qt=e=>e===$||e===oe,Yt=(e,t)=>parseFloat(e.split(", ")[t]),Kt=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return Yt(o[1],t);{const t=r.match(/^matrix\((.+)\)$/u);return t?Yt(t[1],e):0}},Xt=new Set(["x","y","z"]),Jt=z.filter((e=>!Xt.has(e))),Qt={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Kt(4,13),y:Kt(5,14)};Qt.translateX=Qt.x,Qt.translateY=Qt.y;const en=e=>t=>t.test(e),tn=[$,oe,re,ne,se,ie,{test:e=>"auto"===e,parse:e=>e}],nn=e=>tn.find(en(e)),rn=new Set;let on=!1,sn=!1;function an(){if(sn){const e=Array.from(rn).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),n=new Map;t.forEach((e=>{const t=function(e){const t=[];return Jt.forEach((n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t}(e);t.length&&(n.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const t=n.get(e);t&&t.forEach((([t,n])=>{var r;null===(r=e.getValue(t))||void 0===r||r.set(n)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}sn=!1,on=!1,rn.forEach((e=>e.complete())),rn.clear()}function ln(){rn.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(sn=!0)}))}class un{constructor(e,t,n,r,o,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=o,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(rn.add(this),on||(on=!0,et.read(ln),et.resolveKeyframes(an))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let o=0;on=>Boolean(ee(n)&&Q.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),dn=(e,t,n)=>r=>{if(!ee(r))return r;const[o,i,s,a]=r.match(X);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(s),alpha:void 0!==a?parseFloat(a):1}},hn={...$,transform:e=>Math.round((e=>G(0,255,e))(e))},fn={test:cn("rgb","red"),parse:dn("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+hn.transform(e)+", "+hn.transform(t)+", "+hn.transform(n)+", "+K(q.transform(r))+")"},pn={test:cn("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:fn.transform},mn={test:cn("hsl","hue"),parse:dn("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+re.transform(K(t))+", "+re.transform(K(n))+", "+K(q.transform(r))+")"},vn={test:e=>fn.test(e)||pn.test(e)||mn.test(e),parse:e=>fn.test(e)?fn.parse(e):mn.test(e)?mn.parse(e):pn.parse(e),transform:e=>ee(e)?e:e.hasOwnProperty("red")?fn.transform(e):mn.transform(e)},gn="number",yn="color",wn="var",bn="var(",xn="${}",En=/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 Tn(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const s=t.replace(En,(e=>(vn.test(e)?(r.color.push(i),o.push(yn),n.push(vn.parse(e))):e.startsWith(bn)?(r.var.push(i),o.push(wn),n.push(e)):(r.number.push(i),o.push(gn),n.push(parseFloat(e))),++i,xn))).split(xn);return{values:n,split:s,indexes:r,types:o}}function Sn(e){return Tn(e).values}function Pn(e){const{split:t,types:n}=Tn(e),r=t.length;return e=>{let o="";for(let i=0;i"number"==typeof e?0:e,Rn={test:function(e){var t,n;return isNaN(e)&&ee(e)&&((null===(t=e.match(X))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(J))||void 0===n?void 0:n.length)||0)>0},parse:Sn,createTransformer:Pn,getAnimatableNone:function(e){const t=Sn(e);return Pn(e)(t.map(Cn))}},An=new Set(["brightness","contrast","saturate","opacity"]);function Mn(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(X)||[];if(!r)return e;const o=n.replace(r,"");let i=An.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const On=/\b([a-z-]*)\(.*?\)/gu,kn={...Rn,getAnimatableNone:e=>{const t=e.match(On);return t?t.map(Mn).join(" "):e}},Ln={...ue,color:vn,backgroundColor:vn,outlineColor:vn,fill:vn,stroke:vn,borderColor:vn,borderTopColor:vn,borderRightColor:vn,borderBottomColor:vn,borderLeftColor:vn,filter:kn,WebkitFilter:kn},Vn=e=>Ln[e];function jn(e,t){let n=Vn(e);return n!==kn&&(n=Rn),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const Dn=new Set(["auto","none","0"]);class Fn extends un{constructor(e,t,n,r){super(e,t,n,r,null==r?void 0:r.owner,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t.current)return;super.readKeyframes();for(let n=0;n{t.getValue(e).set(n)})),this.resolveNoneKeyframes()}}function In(e){let t;return()=>(void 0===t&&(t=e()),t)}const Nn=(e,t)=>!("zIndex"===t||"number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!Rn.test(e)&&"0"!==e||e.startsWith("url(")));class Bn{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i="loop",...s}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:o,repeatType:i,...s},this.updateFinishedPromise()}get resolved(){return this._resolved||this.hasAttemptedResolve||(ln(),an()),this._resolved}onKeyframesResolved(e,t){this.hasAttemptedResolve=!0;const{name:n,type:r,velocity:o,delay:i,onComplete:s,onUpdate:a,isGenerator:l}=this.options;if(!l&&!function(e,t,n,r){const o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;const i=e[e.length-1],s=Nn(o,t),a=Nn(i,t);return(0,Ut.K)(s===a,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!(!s||!a)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n{this.resolveFinishedPromise=e}))}}function zn(e,t){return t?e*(1e3/t):0}const Hn=5;function Un(e,t,n){const r=Math.max(t-Hn,0);return zn(n-e(r),t-r)}const Zn=.001,Wn=.01,Gn=10,$n=.05,qn=1;const Yn=12;function Kn(e,t){return e*Math.sqrt(1-t*t)}const Xn=["duration","bounce"],Jn=["stiffness","damping","mass"];function Qn(e,t){return t.some((t=>void 0!==e[t]))}function er({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],i=e[e.length-1],s={done:!1,value:o},{stiffness:a,damping:l,mass:u,duration:c,velocity:d,isResolvedFromDuration:h}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!Qn(e,Jn)&&Qn(e,Xn)){const n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;(0,Ut.K)(e<=Ot(Gn),"Spring duration must be 10 seconds or less");let s=1-t;s=G($n,qn,s),e=G(Wn,Gn,kt(e)),s<1?(o=t=>{const r=t*s,o=r*e,i=r-n,a=Kn(t,s),l=Math.exp(-o);return Zn-i/a*l},i=t=>{const r=t*s*e,i=r*n+n,a=Math.pow(s,2)*Math.pow(t,2)*e,l=Math.exp(-r),u=Kn(Math.pow(t,2),s);return(-o(t)+Zn>0?-1:1)*((i-a)*l)/u}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-Zn,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const a=function(e,t,n){let r=n;for(let n=1;n{const n=Math.exp(-p*v*t);return i-n*((f+p*v*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===p)y=e=>i-Math.exp(-v*e)*(m+(f+v*m)*e);else{const e=v*Math.sqrt(p*p-1);y=t=>{const n=Math.exp(-p*v*t),r=Math.min(e*t,300);return i-n*((f+p*v*m)*Math.sinh(r)+e*m*Math.cosh(r))/e}}return{calculatedDuration:h&&c||null,next:e=>{const r=y(e);if(h)s.done=e>=c;else{let o=f;0!==e&&(o=p<1?Un(y,e,r):0);const a=Math.abs(o)<=n,l=Math.abs(i-r)<=t;s.done=a&&l}return s.value=s.done?i:r,s}}}function tr({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:s,min:a,max:l,restDelta:u=.5,restSpeed:c}){const d=e[0],h={done:!1,value:d},f=e=>void 0===a?l:void 0===l||Math.abs(a-e)-p*Math.exp(-e/r),y=e=>v+g(e),w=e=>{const t=g(e),n=y(e);h.done=Math.abs(t)<=u,h.value=h.done?v:n};let b,x;const E=e=>{var t;t=h.value,(void 0!==a&&tl)&&(b=e,x=er({keyframes:[h.value,f(h.value)],velocity:Un(y,e,h.value),damping:o,stiffness:i,restDelta:u,restSpeed:c}))};return E(0),{calculatedDuration:null,next:e=>{let t=!1;return x||void 0!==b||(t=!0,w(e),E(e)),void 0!==b&&e>=b?x.next(e-b):(!t&&w(e),h)}}}const nr=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function rr(e,t,n,r){if(e===t&&n===r)return Qe.Z;return o=>0===o||1===o?o:nr(function(e,t,n,r,o){let i,s,a=0;do{s=t+(n-t)/2,i=nr(s,r,o)-e,i>0?n=s:t=s}while(Math.abs(i)>1e-7&&++a<12);return s}(o,0,1,e,n),t,r)}const or=rr(.42,0,1,1),ir=rr(0,0,.58,1),sr=rr(.42,0,.58,1),ar=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,lr=e=>t=>1-e(1-t),ur=e=>1-Math.sin(Math.acos(e)),cr=lr(ur),dr=ar(ur),hr=rr(.33,1.53,.69,.99),fr=lr(hr),pr=ar(fr),mr={linear:Qe.Z,easeIn:or,easeInOut:sr,easeOut:ir,circIn:ur,circInOut:dr,circOut:cr,backIn:fr,backInOut:pr,backOut:hr,anticipate:e=>(e*=2)<1?.5*fr(e):.5*(2-Math.pow(2,-10*(e-1)))},vr=e=>{if(Array.isArray(e)){(0,Ut.k)(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return rr(t,n,r,o)}return"string"==typeof e?((0,Ut.k)(void 0!==mr[e],`Invalid easing type '${e}'`),mr[e]):e},gr=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},yr=(e,t,n)=>e+(t-e)*n;function wr(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function br(e,t){return n=>n>0?t:e}const xr=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},Er=[pn,fn,mn];function Tr(e){const t=(n=e,Er.find((e=>e.test(n))));var n;if((0,Ut.K)(Boolean(t),`'${e}' is not an animatable color. Use the equivalent color code instead.`),!Boolean(t))return!1;let r=t.parse(e);return t===mn&&(r=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,s=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,a=2*n-r;o=wr(a,r,e+1/3),i=wr(a,r,e),s=wr(a,r,e-1/3)}else o=i=s=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*s),alpha:r}}(r)),r}const Sr=(e,t)=>{const n=Tr(e),r=Tr(t);if(!n||!r)return br(e,t);const o={...n};return e=>(o.red=xr(n.red,r.red,e),o.green=xr(n.green,r.green,e),o.blue=xr(n.blue,r.blue,e),o.alpha=yr(n.alpha,r.alpha,e),fn.transform(o))},Pr=new Set(["none","hidden"]);function Cr(e,t){return n=>yr(e,t,n)}function Rr(e){return"number"==typeof e?Cr:"string"==typeof e?me(e)?br:vn.test(e)?Sr:Or:Array.isArray(e)?Ar:"object"==typeof e?vn.test(e)?Sr:Mr:br}function Ar(e,t){const n=[...e],r=n.length,o=e.map(((e,n)=>Rr(e)(e,t[n])));return e=>{for(let t=0;t{for(const t in r)n[t]=r[t](e);return n}}const Or=(e,t)=>{const n=Rn.createTransformer(t),r=Tn(e),o=Tn(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?Pr.has(e)&&!o.values.length||Pr.has(t)&&!r.values.length?function(e,t){return Pr.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):ht(Ar(function(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;iArray.isArray(e)&&"number"!=typeof e[0])(r)?r.map(vr):vr(r),i={done:!1,value:t[0]},s=function(e,t){return e.map((e=>e*t))}(n&&n.length===t.length?n:function(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=gr(0,t,r);e.push(yr(n,1,o))}}(t,e.length-1),t}(t),e),a=function(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if((0,Ut.k)(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];if(2===i&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const s=function(e,t,n){const r=[],o=n||kr,i=e.length-1;for(let n=0;n{let n=0;if(a>1)for(;nl(G(e[0],e[i-1],t)):l}(s,t,{ease:Array.isArray(o)?o:(l=t,u=o,l.map((()=>u||sr)).splice(0,l.length-1))});var l,u;return{calculatedDuration:e,next:t=>(i.value=a(t),i.done=t>=e,i)}}const Vr=e=>{const t=({timestamp:t})=>e(t);return{start:()=>et.update(t,!0),stop:()=>tt(t),now:()=>nt.isProcessing?nt.timestamp:zt.now()}},jr={decay:tr,inertia:tr,tween:Lr,keyframes:Lr,spring:er},Dr=e=>e/100;class Fr extends Bn{constructor({KeyframeResolver:e=un,...t}){super(t),this.holdTime=null,this.startTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:n,motionValue:r,keyframes:o}=this.options,i=(e,t)=>this.onKeyframesResolved(e,t);n&&r&&r.owner?this.resolver=r.owner.resolveKeyframes(o,i,n,r):this.resolver=new e(o,i,n,r),this.resolver.scheduleResolve()}initPlayback(e){const{type:t="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:o,velocity:i=0}=this.options,s=jr[t]||Lr;let a,l;s!==Lr&&"number"!=typeof e[0]&&(a=ht(Dr,kr(e[0],e[1])),e=[0,100]);const u=s({...this.options,keyframes:e});"mirror"===o&&(l=s({...this.options,keyframes:[...e].reverse(),velocity:-i})),null===u.calculatedDuration&&(u.calculatedDuration=function(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}(u));const{calculatedDuration:c}=u,d=c+r;return{generator:u,mirroredGenerator:l,mapPercentToKeyframes:a,calculatedDuration:c,resolvedDuration:d,totalDuration:d*(n+1)-r}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:n}=this;if(!n){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:r,generator:o,mirroredGenerator:i,mapPercentToKeyframes:s,keyframes:a,calculatedDuration:l,totalDuration:u,resolvedDuration:c}=n;if(null===this.startTime)return o.next(0);const{delay:d,repeat:h,repeatType:f,repeatDelay:p,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-u/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const v=this.currentTime-d*(this.speed>=0?1:-1),g=this.speed>=0?v<0:v>u;this.currentTime=Math.max(v,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=u);let y=this.currentTime,w=o;if(h){const e=Math.min(this.currentTime,u)/c;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,h+1),Boolean(t%2)&&("reverse"===f?(n=1-n,p&&(n-=p/c)):"mirror"===f&&(w=i)),y=G(0,1,n)*c}const b=g?{done:!1,value:a[0]}:w.next(y);s&&(b.value=s(b.value));let{done:x}=b;g||null===l||(x=this.speed>=0?this.currentTime>=u:this.currentTime<=0);const E=null===this.holdTime&&("finished"===this.state||"running"===this.state&&x);return E&&void 0!==r&&(b.value=Nt(a,this.options,r)),m&&m(b.value),E&&this.finish(),b}get duration(){const{resolved:e}=this;return e?kt(e.calculatedDuration):0}get time(){return kt(this.currentTime)}set time(e){e=Ot(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=kt(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=Vr,onPlay:t}=this.options;this.driver||(this.driver=e((e=>this.tick(e)))),t&&t();const n=this.driver.now();null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime&&"finished"!==this.state||(this.startTime=n),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const Ir=e=>Array.isArray(e)&&"number"==typeof e[0];function Nr(e){return Boolean(!e||"string"==typeof e&&e in _r||Ir(e)||Array.isArray(e)&&e.every(Nr))}const Br=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,_r={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Br([0,.65,.55,1]),circOut:Br([.55,0,1,.45]),backIn:Br([.31,.01,.66,-.59]),backOut:Br([.33,1.53,.69,.99])};function zr(e){return Hr(e)||_r.easeOut}function Hr(e){return e?Ir(e)?Br(e):Array.isArray(e)?e.map(zr):_r[e]:void 0}const Ur=In((()=>Object.hasOwnProperty.call(Element.prototype,"animate")));class Zr extends Bn{constructor(e){super(e);const{name:t,motionValue:n,keyframes:r}=this.options;this.resolver=new Fn(r,((e,t)=>this.onKeyframesResolved(e,t)),t,n),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:r=300,times:o,ease:i,type:s,motionValue:a,name:l}=this.options;if(!(null===(n=a.owner)||void 0===n?void 0:n.current))return!1;if("spring"===(u=this.options).type||!Nr(u.ease)){const{onComplete:t,onUpdate:n,motionValue:a,...l}=this.options,u=function(e,t){const n=new Fr({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let i=0;for(;!r.done&&i<2e4;)r=n.sample(i),o.push(r.value),i+=10;return{times:void 0,keyframes:o,duration:i-10,ease:"linear"}}(e,l);1===(e=u.keyframes).length&&(e[1]=e[0]),r=u.duration,o=u.times,i=u.ease,s="keyframes"}var u;const c=function(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:s="loop",ease:a,times:l}={}){const u={[t]:n};l&&(u.offset=l);const c=Hr(a);return Array.isArray(c)&&(u.easing=c),e.animate(u,{delay:r,duration:o,easing:Array.isArray(c)?"linear":c,fill:"both",iterations:i+1,direction:"reverse"===s?"alternate":"normal"})}(a.owner.current,l,e,{...this.options,duration:r,times:o,ease:i});return c.startTime=zt.now(),this.pendingTimeline?(c.timeline=this.pendingTimeline,this.pendingTimeline=void 0):c.onfinish=()=>{const{onComplete:n}=this.options;a.set(Nt(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:c,duration:r,times:o,type:s,ease:i,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return kt(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return kt(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=Ot(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return Qe.Z;const{animation:n}=t;n.timeline=e,n.onfinish=null}else this.pendingTimeline=e;return Qe.Z}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:n,duration:r,type:o,ease:i,times:s}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){const{motionValue:e,onUpdate:t,onComplete:a,...l}=this.options,u=new Fr({...l,keyframes:n,duration:r,type:o,ease:i,times:s,isGenerator:!0}),c=Ot(this.time);e.setWithVelocity(u.sample(c-10).value,u.sample(c).value,10)}const{onStop:a}=this.options;a&&a(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:s}=e;return Ur()&&n&&We.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&"mirror"!==o&&0!==i&&"inertia"!==s}}const Wr=In((()=>void 0!==window.ScrollTimeline));class Gr{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n{if(!Wr()||!t.attachTimeline)return t.pause(),function(e,n){let r;const o=()=>{const{currentTime:e}=n,o=(null===e?0:e.value)/100;r!==o&&(e=>{t.time=t.duration*e})(o),r=o};return et.update(o,!0),()=>tt(o)}(0,e);t.attachTimeline(e)}));return()=>{t.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get duration(){let e=0;for(let t=0;tt[e]()))}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const $r=(e,t,n,r={},o,i,s)=>a=>{const l=Ft(r,e)||{},u=l.delay||r.delay||0;let{elapsed:c=0}=r;c-=Ot(u);let d={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...l,delay:-c,onUpdate:e=>{t.set(e),l.onUpdate&&l.onUpdate(e)},onComplete:()=>{a(),l.onComplete&&l.onComplete(),s&&s()},onStop:s,name:e,motionValue:t,element:i?void 0:o};(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:s,repeatDelay:a,from:l,elapsed:u,...c}){return!!Object.keys(c).length})(l)||(d={...d,...Dt(e,d)}),d.duration&&(d.duration=Ot(d.duration)),d.repeatDelay&&(d.repeatDelay=Ot(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let h=!1;if((!1===d.type||0===d.duration&&!d.repeatDelay)&&(d.duration=0,0===d.delay&&(h=!0)),h&&!i&&void 0!==t.get()){const e=Nt(d.keyframes,l);if(void 0!==e)return et.update((()=>{d.onUpdate(e),d.onComplete()})),new Gr([])}return!i&&Zr.supports(d)?new Zr(d):new Fr(d)};class qr{constructor(){this.subscriptions=[]}add(e){return $e(this.subscriptions,e),()=>qe(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o{const n=zt.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=zt.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new qr);const n=this.events[e].add(t);return"change"===e?()=>{n(),et.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Yr.current&&Yr.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const e=zt.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return zn(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Xr(e,t){return new Kr(e,t)}function Jr(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Xr(n))}function Qr(e){return e.getProps()[d]}class eo extends Kr{constructor(){super(...arguments),this.output=[],this.counts=new Map}add(e){const t=Ge(e);if(!t)return;const n=this.counts.get(t)||0;this.counts.set(t,n+1),0===n&&(this.output.push(t),this.update());let r=!1;return()=>{if(r)return;r=!0;const e=this.counts.get(t)-1;this.counts.set(t,e),0===e&&(qe(this.output,t),this.update())}}update(){this.set(this.output.length?this.output.join(", "):"auto")}}function to(e,t){var n;if(!e.applyWillChange)return;let r=e.getValue("willChange");return r||(null===(n=e.props.style)||void 0===n?void 0:n.willChange)||(r=new eo("auto"),e.addValue("willChange",r)),o=r,Boolean(Z(o)&&o.add)?r.add(t):void 0;var o}function no({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function ro(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var i;let{transition:s=e.getDefaultTransition(),transitionEnd:a,...l}=t;r&&(s=r);const u=[],c=o&&e.animationState&&e.animationState.getState()[o];for(const t in l){const r=e.getValue(t,null!==(i=e.latestValues[t])&&void 0!==i?i:null),o=l[t];if(void 0===o||c&&no(c,t))continue;const a={delay:n,elapsed:0,...Ft(s||{},t)};let d=!1;if(window.HandoffAppearAnimations){const n=Qr(e);if(n){const e=window.HandoffAppearAnimations(n,t,r,et);null!==e&&(a.elapsed=e,d=!0)}}r.start($r(t,r,o,e.shouldReduceMotion&&H.has(t)?{type:!1}:a,e,d,to(e,t)));const h=r.animation;h&&u.push(h)}return a&&Promise.all(u).then((()=>{et.update((()=>{a&&function(e,t){const n=Mt(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const t in i)Jr(e,t,Ue(i[t]))}(e,a)}))})),u}function oo(e,t,n={}){var r;const o=Mt(e,t,"exit"===n.type?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const s=o?()=>Promise.all(ro(e,o,n)):()=>Promise.resolve(),a=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:s,staggerDirection:a}=i;return function(e,t,n=0,r=0,o=1,i){const s=[],a=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>a-e*r;return Array.from(e.variantChildren).sort(io).forEach(((e,r)=>{e.notify("AnimationStart",t),s.push(oo(e,t,{...i,delay:n+l(r)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(s)}(e,t,o+r,s,a,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[e,t]="beforeChildren"===l?[s,a]:[a,s];return e().then((()=>t()))}return Promise.all([s(),a(n.delay)])}function io(e,t){return e.sortNodePosition(t)}const so=[...P].reverse(),ao=P.length;function lo(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function uo(){return{animate:lo(!0),whileInView:lo(),whileHover:lo(),whileTap:lo(),whileDrag:lo(),whileFocus:lo(),exit:lo()}}let co=0;const ho={animation:{Feature:class extends yt{constructor(e){super(e),e.animationState||(e.animationState=function(e){let t=function(e){return t=>Promise.all(t.map((({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map((t=>oo(e,t,n)));r=Promise.all(o)}else if("string"==typeof t)r=oo(e,t,n);else{const o="function"==typeof t?Mt(e,t,n.custom):t;r=Promise.all(ro(e,o,n))}return r.then((()=>{e.notify("AnimationComplete",t)}))}(e,t,n))))}(e),n=uo(),r=!0;const o=t=>(n,r)=>{var o;const i=Mt(e,r,"exit"===t?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);if(i){const{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function i(i){const s=e.getProps(),a=e.getVariantContext(!0)||{},l=[],u=new Set;let c={},d=1/0;for(let t=0;td&&g),x=!1;const E=Array.isArray(v)?v:[v];let P=E.reduce(o(p),{});!1===y&&(P={});const{prevResolvedValues:C={}}=m,R={...C,...P},A=t=>{b=!0,u.has(t)&&(x=!0,u.delete(t)),m.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in R){const t=P[e],n=C[e];if(c.hasOwnProperty(e))continue;let r=!1;r=ze(t)&&ze(n)?!At(t,n):t!==n,r?null!=t?A(e):u.add(e):void 0!==t&&u.has(e)?A(e):m.protectedKeys[e]=!0}m.prevProp=v,m.prevResolvedValues=P,m.isActive&&(c={...c,...P}),r&&e.blockInitialAnimation&&(b=!1),!b||w&&!x||l.push(...E.map((e=>({animation:e,options:{type:p}}))))}var h,f;if(u.size){const t={};u.forEach((n=>{const r=e.getBaseTarget(n),o=e.getValue(n);o&&(o.liveStyle=!0),t[n]=null!=r?r:null})),l.push({animation:t})}let p=Boolean(l.length);return!r||!1!==s.initial&&s.initial!==s.animate||e.manuallyAnimateOnMount||(p=!1),r=!1,p?t(l):Promise.resolve()}return{animateChanges:i,setActive:function(t,r){var o;if(n[t].isActive===r)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach((e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;const s=i(t);for(const e in n)n[e].protectedKeys={};return s},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=uo(),r=!0}}}(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();S(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}},exit:{Feature:class extends yt{constructor(){super(...arguments),this.id=co++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},fo=(e,t)=>Math.abs(e-t);class po{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=go(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=fo(e.x,t.x),r=fo(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=nt;this.history.push({...r,timestamp:o});const{onStart:i,onMove:s}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),s&&s(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=mo(t,this.transformPagePoint),et.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=go("pointercancel"===e.type?this.lastMoveEventInfo:mo(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!at(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;const i=mo(lt(e),this.transformPagePoint),{point:s}=i,{timestamp:a}=nt;this.history=[{...s,timestamp:a}];const{onSessionStart:l}=t;l&&l(e,go(i,this.history)),this.removeListeners=ht(ct(this.contextWindow,"pointermove",this.handlePointerMove),ct(this.contextWindow,"pointerup",this.handlePointerUp),ct(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),tt(this.updatePoint)}}function mo(e,t){return t?{point:t(e.point)}:e}function vo(e,t){return{x:e.x-t.x,y:e.y-t.y}}function go({point:e},t){return{point:e,delta:vo(e,wo(t)),offset:vo(e,yo(t)),velocity:bo(t,.1)}}function yo(e){return e[0]}function wo(e){return e[e.length-1]}function bo(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=wo(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Ot(t)));)n--;if(!r)return{x:0,y:0};const i=kt(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const s={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return s.x===1/0&&(s.x=0),s.y===1/0&&(s.y=0),s}const xo=.9999,Eo=1.0001,To=-.01,So=.01;function Po(e){return e.max-e.min}function Co(e,t,n,r=.5){e.origin=r,e.originPoint=yr(t.min,t.max,e.origin),e.scale=Po(n)/Po(t),e.translate=yr(n.min,n.max,e.origin)-e.originPoint,(e.scale>=xo&&e.scale<=Eo||isNaN(e.scale))&&(e.scale=1),(e.translate>=To&&e.translate<=So||isNaN(e.translate))&&(e.translate=0)}function Ro(e,t,n,r){Co(e.x,t.x,n.x,r?r.originX:void 0),Co(e.y,t.y,n.y,r?r.originY:void 0)}function Ao(e,t,n){e.min=n.min+t.min,e.max=e.min+Po(t)}function Mo(e,t,n){e.min=t.min-n.min,e.max=e.min+Po(t)}function Oo(e,t,n){Mo(e.x,t.x,n.x),Mo(e.y,t.y,n.y)}function ko(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Lo(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min({x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}),Io=()=>({x:{min:0,max:0},y:{min:0,max:0}});function No(e){return[e("x"),e("y")]}function Bo({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function _o(e){return void 0===e||1===e}function zo({scale:e,scaleX:t,scaleY:n}){return!_o(e)||!_o(t)||!_o(n)}function Ho(e){return zo(e)||Uo(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Uo(e){return Zo(e.x)||Zo(e.y)}function Zo(e){return e&&"0%"!==e}function Wo(e,t,n){return n+t*(e-n)}function Go(e,t,n,r,o){return void 0!==o&&(e=Wo(e,o,r)),Wo(e,n,r)+t}function $o(e,t=0,n=1,r,o){e.min=Go(e.min,t,n,r,o),e.max=Go(e.max,t,n,r,o)}function qo(e,{x:t,y:n}){$o(e.x,t.translate,t.scale,t.originPoint),$o(e.y,n.translate,n.scale,n.originPoint)}const Yo=.999999999999,Ko=1.0000000000001;function Xo(e,t){e.min=e.min+t,e.max=e.max+t}function Jo(e,t,n,r,o=.5){$o(e,t,n,yr(e.min,e.max,o),r)}function Qo(e,t){Jo(e.x,t.x,t.scaleX,t.scale,t.originX),Jo(e.y,t.y,t.scaleY,t.scale,t.originY)}function ei(e,t){return Bo(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const ti=({current:e})=>e?e.ownerDocument.defaultView:null,ni=new WeakMap;class ri{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=Io(),this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:r}=this.getProps();this.panSession=new po(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(lt(e,"page").point)},onStart:(e,t)=>{var n;const{drag:r,dragPropagation:o,onDragStart:i}=this.getProps();if(r&&!o&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=vt(r),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),No((e=>{let t=this.getAxisMotionValue(e).get()||0;if(re.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];r&&(t=Po(r)*(parseFloat(t)/100))}}this.originPoint[e]=t})),i&&et.postRender((()=>i(e,t))),null===(n=this.removeWillChange)||void 0===n||n.call(this),this.removeWillChange=to(this.visualElement,"transform");const{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:s}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(s),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,s),this.updateAxis("y",t.point,s),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>No((e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:ti(this.visualElement)})}stop(e,t){var n;null===(n=this.removeWillChange)||void 0===n||n.call(this);const r=this.isDragging;if(this.cancel(),!r)return;const{velocity:o}=t;this.startAnimation(o);const{onDragEnd:i}=this.getProps();i&&et.postRender((()=>i(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!oi(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&en&&(e=r?yr(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&v(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!r)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:ko(e.x,n,o),y:ko(e.y,t,r)}}(r.layoutBox,t),this.elastic=function(e=Vo){return!1===e?e=0:!0===e&&(e=Vo),{x:jo(e,"left","right"),y:jo(e,"top","bottom")}}(n),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&No((e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!v(e))return!1;const n=e.current;(0,Ut.k)(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=ei(e,n),{scroll:o}=t;return o&&(Xo(r.x,o.offset.x),Xo(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Lo(e.x,t.x),y:Lo(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Bo(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:s}=this.getProps(),a=this.constraints||{},l=No((s=>{if(!oi(s,t,this.currentDirection))return;let l=a&&a[s]||{};i&&(l={min:0,max:0});const u=r?200:1e6,c=r?40:1e7,d={type:"inertia",velocity:n?e[s]:0,bounceStiffness:u,bounceDamping:c,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(s,d)}));return Promise.all(l).then(s)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return n.start($r(e,n,0,t,this.visualElement,!1,to(this.visualElement,e)))}stopAnimation(){No((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){No((e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()}))}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){No((t=>{const{drag:n}=this.getProps();if(!oi(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-yr(n,i,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!v(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};No((e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=function(e,t){let n=.5;const r=Po(e),o=Po(t);return o>r?n=gr(t.min,t.max-r,e.min):r>o&&(n=gr(e.min,e.max-o,t.min)),G(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),No((t=>{if(!oi(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(yr(o,i,r[t]))}))}addListeners(){if(!this.visualElement.current)return;ni.set(this.visualElement,this);const e=ct(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();v(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),et.read(t);const o=st(window,"resize",(()=>this.scalePositionWithinConstraints())),i=n.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(No((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{o(),e(),r(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=Vo,dragMomentum:s=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:s}}}function oi(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const ii=e=>(t,n)=>{e&&et.postRender((()=>e(t,n)))},si={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function ai(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const li={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!oe.test(e))return e;e=parseFloat(e)}return`${ai(e,t.target.x)}% ${ai(e,t.target.y)}%`}},ui={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=Rn.parse(e);if(o.length>5)return r;const i=Rn.createTransformer(e),s="number"!=typeof o[0]?1:0,a=n.x.scale*t.x,l=n.y.scale*t.y;o[0+s]/=a,o[1+s]/=l;const u=yr(a,l,.5);return"number"==typeof o[2+s]&&(o[2+s]/=u),"number"==typeof o[3+s]&&(o[3+s]/=u),i(o)}};class ci extends o.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var i;i=hi,Object.assign(_,i),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),si.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i?(i.isPresent=o,r||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||et.postRender((()=>{const e=i.getStack();e&&e.members.length||this.safeToRemove()}))),null):null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),p.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function di(e){const[t,n]=function(){const e=(0,o.useContext)(a.O);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:n,register:r}=e,i=(0,o.useId)();(0,o.useEffect)((()=>r(i)),[]);const s=(0,o.useCallback)((()=>n&&n(i)),[i,n]);return!t&&n?[!1,s]:[!0]}(),i=(0,o.useContext)(V.p);return(0,r.jsx)(ci,{...e,layoutGroup:i,switchLayoutGroup:(0,o.useContext)(g),isPresent:t,safeToRemove:n})}const hi={borderRadius:{...li,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:li,borderTopRightRadius:li,borderBottomLeftRadius:li,borderBottomRightRadius:li,boxShadow:ui},fi=["TopLeft","TopRight","BottomLeft","BottomRight"],pi=fi.length,mi=e=>"string"==typeof e?parseFloat(e):e,vi=e=>"number"==typeof e||oe.test(e);function gi(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const yi=bi(0,.5,cr),wi=bi(.5,.95,Qe.Z);function bi(e,t,n){return r=>rt?1:n(gr(e,t,r))}function xi(e,t){e.min=t.min,e.max=t.max}function Ei(e,t){xi(e.x,t.x),xi(e.y,t.y)}function Ti(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Si(e,t,n,r,o){return e=Wo(e-=t,1/n,r),void 0!==o&&(e=Wo(e,1/o,r)),e}function Pi(e,t,[n,r,o],i,s){!function(e,t=0,n=1,r=.5,o,i=e,s=e){if(re.test(t)&&(t=parseFloat(t),t=yr(s.min,s.max,t/100)-s.min),"number"!=typeof t)return;let a=yr(i.min,i.max,r);e===i&&(a-=t),e.min=Si(e.min,t,n,a,o),e.max=Si(e.max,t,n,a,o)}(e,t[n],t[r],t[o],t.scale,i,s)}const Ci=["x","scaleX","originX"],Ri=["y","scaleY","originY"];function Ai(e,t,n,r){Pi(e.x,t,Ci,n?n.x:void 0,r?r.x:void 0),Pi(e.y,t,Ri,n?n.y:void 0,r?r.y:void 0)}function Mi(e){return 0===e.translate&&1===e.scale}function Oi(e){return Mi(e.x)&&Mi(e.y)}function ki(e,t){return e.min===t.min&&e.max===t.max}function Li(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Vi(e,t){return Li(e.x,t.x)&&Li(e.y,t.y)}function ji(e){return Po(e.x)/Po(e.y)}function Di(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Fi{constructor(){this.members=[]}add(e){$e(this.members,e),e.scheduleRender()}remove(e){if(qe(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Ii=(e,t)=>e.depth-t.depth;class Ni{constructor(){this.children=[],this.isDirty=!1}add(e){$e(this.children,e),this.isDirty=!0}remove(e){qe(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Ii),this.isDirty=!1,this.children.forEach(e)}}const Bi={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},_i="undefined"!=typeof window&&void 0!==window.MotionDebug,zi=["","X","Y","Z"],Hi={visibility:"hidden"};let Ui=0;function Zi(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function Wi(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return!1;const{visualElement:t}=e.options;return!!t&&(!!Qr(t)||!(!e.parent||e.parent.hasCheckedOptimisedAppear)&&Wi(e.parent))}function Gi({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=Ui++,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,_i&&(Bi.totalNodes=Bi.resolvedTargetDeltas=Bi.recalculatedProjection=0),this.nodes.forEach(Yi),this.nodes.forEach(ns),this.nodes.forEach(rs),this.nodes.forEach(Ki),_i&&window.MotionDebug.record(Bi)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;ethis.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e,t){const n=zt.now(),r=({timestamp:t})=>{const o=t-n;o>=250&&(tt(r),e(o-250))};return et.read(r,!0),()=>tt(r)}(r),si.hasAnimatedSinceResize&&(si.hasAnimatedSinceResize=!1,this.nodes.forEach(ts))}))}o&&this.root.registerSharedNode(o,this),!1!==this.options.animate&&s&&(o||i)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||s.getDefaultTransition()||us,{onLayoutAnimationStart:i,onLayoutAnimationComplete:a}=s.getProps(),l=!this.targetLayout||!Vi(this.targetLayout,r)||n,u=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||u||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,u);const t={...Ft(o,"layout"),onPlay:i,onComplete:a};(s.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||ts(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,tt(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(os),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.HandoffCancelAllAnimations&&Wi(this)&&window.HandoffCancelAllAnimations(),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure())}updateLayout(){if(!this.instance)return;if(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;eYo&&(t.x=1),t.yYo&&(t.y=1)}(this.layoutCorrected,this.treeScale,this.path,n),!t.layout||t.target||1===this.treeScale.x&&1===this.treeScale.y||(t.target=t.layout.layoutBox,t.targetWithTransforms=Io());const{target:l}=t;l?(this.projectionDelta&&this.prevProjectionDelta?(Ti(this.prevProjectionDelta.x,this.projectionDelta.x),Ti(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),Ro(this.projectionDelta,this.layoutCorrected,l,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&Di(this.projectionDelta.x,this.prevProjectionDelta.x)&&Di(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),_i&&Bi.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=Fo(),this.projectionDelta=Fo(),this.projectionDeltaWithTransform=Fo()}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},i=Fo();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const s=Io(),a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),u=!l||l.members.length<=1,c=Boolean(a&&!u&&!0===this.options.crossfade&&!this.path.some(ls));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;var l,h,f,p,m,v;ss(i.x,e.x,n),ss(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Oo(s,this.layout.layoutBox,this.relativeParent.layout.layoutBox),f=this.relativeTarget,p=this.relativeTargetOrigin,m=s,v=n,as(f.x,p.x,m.x,v),as(f.y,p.y,m.y,v),d&&(l=this.relativeTarget,h=d,ki(l.x,h.x)&&ki(l.y,h.y))&&(this.isProjectionDirty=!1),d||(d=Io()),Ei(d,this.relativeTarget)),a&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=yr(0,void 0!==n.opacity?n.opacity:1,yi(r)),e.opacityExit=yr(void 0!==t.opacity?t.opacity:1,0,wi(r))):i&&(e.opacity=yr(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o{si.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=Z(0)?0:Xr(0);return r.start($r("",r,1e3,n)),r.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&fs(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||Io();const t=Po(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=Po(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Ei(t,n),Qo(t,o),Ro(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Fi),this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const r={};n.z&&Zi("z",e,r,this.animationValues);for(let t=0;t{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(Ji),this.root.sharedNodes.clear()}}}function $i(e){e.updateLayout()}function qi(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,i=n.source!==e.layout.source;"size"===o?No((e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=Po(r);r.min=t[e].min,r.max=r.min+o})):fs(o,n.layoutBox,t)&&No((r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],s=Po(t[r]);o.max=o.min+s,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+s)}));const s=Fo();Ro(s,t,n.layoutBox);const a=Fo();i?Ro(a,e.applyTransform(r,!0),n.measuredBox):Ro(a,t,n.layoutBox);const l=!Oi(s);let u=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const s=Io();Oo(s,n.layoutBox,o.layoutBox);const a=Io();Oo(a,t,i.layoutBox),Vi(s,a)||(u=!0),r.options.layoutRoot&&(e.relativeTarget=a,e.relativeTargetOrigin=s,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:a,layoutDelta:s,hasLayoutChanged:l,hasRelativeTargetChanged:u})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function Yi(e){_i&&Bi.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=Boolean(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function Ki(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function Xi(e){e.clearSnapshot()}function Ji(e){e.clearMeasurements()}function Qi(e){e.isLayoutDirty=!1}function es(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function ts(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function ns(e){e.resolveTargetDelta()}function rs(e){e.calcProjection()}function os(e){e.resetSkewAndRotation()}function is(e){e.removeLeadSnapshot()}function ss(e,t,n){e.translate=yr(t.translate,0,n),e.scale=yr(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function as(e,t,n,r){e.min=yr(t.min,n.min,r),e.max=yr(t.max,n.max,r)}function ls(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const us={duration:.45,ease:[.4,0,.1,1]},cs=e=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),ds=cs("applewebkit/")&&!cs("chrome/")?Math.round:Qe.Z;function hs(e){e.min=ds(e.min),e.max=ds(e.max)}function fs(e,t,n){return"position"===e||"preserve-aspect"===e&&(r=ji(t),o=ji(n),.2,!(Math.abs(r-o)<=.2));var r,o}function ps(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}const ms=Gi({attachResizeListener:(e,t)=>st(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),vs={current:void 0},gs=Gi({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!vs.current){const e=new ms({});e.mount(window),e.setOptions({layoutScroll:!0}),vs.current=e}return vs.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>Boolean("fixed"===window.getComputedStyle(e).position)}),ys={pan:{Feature:class extends yt{constructor(){super(...arguments),this.removePointerDownListener=Qe.Z}onPointerDown(e){this.session=new po(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ti(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:ii(e),onStart:ii(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&et.postRender((()=>r(e,t)))}}}mount(){this.removePointerDownListener=ct(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends yt{constructor(e){super(e),this.removeGroupControls=Qe.Z,this.removeListeners=Qe.Z,this.controls=new ri(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||Qe.Z}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:gs,MeasureLayout:di}},ws={current:null},bs={current:!1},xs=new WeakMap,Es=[...tn,vn,Rn],Ts=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Ss=C.length;class Ps{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:o,visualState:i},s={}){this.applyWillChange=!1,this.resolveKeyframes=(e,t,n,r)=>new this.KeyframeResolver(e,t,n,r,this),this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=un,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.isRenderScheduled=!1,this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.isRenderScheduled=!1,this.scheduleRender=()=>{this.isRenderScheduled||(this.isRenderScheduled=!0,et.render(this.render,!1,!0))};const{latestValues:a,renderState:l}=i;this.latestValues=a,this.baseTarget={...a},this.initialValues=t.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=s,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=R(t),this.isVariantNode=A(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);const{willChange:u,...c}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in c){const t=c[e];void 0!==a[e]&&Z(t)&&t.set(a[e],!1)}}mount(e){this.current=e,xs.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),bs.current||function(){if(bs.current=!0,L.j)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>ws.current=e.matches;e.addListener(t),t()}else ws.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||ws.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){xs.delete(this.current),this.projection&&this.projection.unmount(),tt(this.notifyUpdate),tt(this.render),this.valueSubscriptions.forEach((e=>e())),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){const n=H.has(e),r=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&et.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)})),o=t.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,(()=>{r(),o(),t.owner&&t.stop()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in k){const t=k[e];if(!t)continue;const{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Io()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;tt.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Xr(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];var o;return null!=r&&("string"==typeof r&&(Zt(r)||Ht(r))?r=parseFloat(r):(o=r,!Es.find(en(o))&&Rn.test(t)&&(r=jn(e,t))),this.setBaseTarget(e,Z(r)?r.get():r)),Z(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props;let r;if("string"==typeof n||"object"==typeof n){const o=Be(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);o&&(r=o[e])}if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||Z(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new qr),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Cs extends Ps{constructor(){super(...arguments),this.KeyframeResolver=Fn}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}}class Rs extends Cs{constructor(){super(...arguments),this.type="html",this.applyWillChange=!0,this.renderInstance=Ve}readValueFromInstance(e,t){if(H.has(t)){const e=Vn(t);return e&&e.default||0}{const r=(n=e,window.getComputedStyle(n)),o=(fe(t)?r.getPropertyValue(t):r[t])||0;return"string"==typeof o?o.trim():o}var n}measureInstanceViewportBox(e,{transformPagePoint:t}){return ei(e,t)}build(e,t,n){ge(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return Fe(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Z(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}}class As extends Cs{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Io}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(H.has(t)){const e=Vn(t);return e&&e.default||0}return t=je.has(t)?t:c(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return Ie(e,t,n)}build(e,t,n){Ae(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){De(e,t,0,r)}mount(e){this.isSVGTag=Oe(e.tagName),super.mount(e)}}const Ms=(e,t)=>B(e)?new As(t):new Rs(t,{allowProjection:e!==o.Fragment}),Os={...ho,...Rt,...ys,layout:{ProjectionNode:gs,MeasureLayout:di}},ks=I(((e,t)=>function(e,{forwardMotionProps:t=!1},n,r){return{...B(e)?ot:it,preloadedFeatures:n,useRender:Le(t),createVisualElement:r,Component:e}}(e,t,Os,Ms)))},5487:(e,t,n)=>{"use strict";n.d(t,{K:()=>o,k:()=>i});var r=n(1662);let o=r.Z,i=r.Z},1741:(e,t,n)=>{"use strict";n.d(t,{j:()=>r});const r="undefined"!=typeof window},1662:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});const r=e=>e},6681:(e,t,n)=>{"use strict";n.d(t,{h:()=>o});var r=n(9196);function o(e){const t=(0,r.useRef)(null);return null===t.current&&(t.current=e()),t.current}},8868:(e,t,n)=>{"use strict";n.d(t,{L:()=>o});var r=n(9196);const o=n(1741).j?r.useLayoutEffect:r.useEffect},7311:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>o});var r=n(3426);const o=r.default||r},8357:(e,t,n)=>{"use strict";n.d(t,{YD:()=>u});var r=n(9196),o=(Object.defineProperty,new Map),i=new WeakMap,s=0,a=void 0;function l(e,t,n={},r=a){if(void 0===window.IntersectionObserver&&void 0!==r){const o=e.getBoundingClientRect();return t(r,{isIntersecting:r,target:e,intersectionRatio:"number"==typeof n.threshold?n.threshold:0,time:0,boundingClientRect:o,intersectionRect:o,rootBounds:o}),()=>{}}const{id:l,observer:u,elements:c}=function(e){const t=function(e){return Object.keys(e).sort().filter((t=>void 0!==e[t])).map((t=>{return`${t}_${"root"===t?(n=e.root,n?(i.has(n)||(s+=1,i.set(n,s.toString())),i.get(n)):"0"):e[t]}`;var n})).toString()}(e);let n=o.get(t);if(!n){const r=new Map;let i;const s=new IntersectionObserver((t=>{t.forEach((t=>{var n;const o=t.isIntersecting&&i.some((e=>t.intersectionRatio>=e));e.trackVisibility&&void 0===t.isVisible&&(t.isVisible=o),null==(n=r.get(t.target))||n.forEach((e=>{e(o,t)}))}))}),e);i=s.thresholds||(Array.isArray(e.threshold)?e.threshold:[e.threshold||0]),n={id:t,observer:s,elements:r},o.set(t,n)}return n}(n),d=c.get(e)||[];return c.has(e)||c.set(e,d),d.push(t),u.observe(e),function(){d.splice(d.indexOf(t),1),0===d.length&&(c.delete(e),u.unobserve(e)),0===c.size&&(u.disconnect(),o.delete(l))}}function u({threshold:e,delay:t,trackVisibility:n,rootMargin:o,root:i,triggerOnce:s,skip:a,initialInView:u,fallbackInView:c,onChange:d}={}){var h;const[f,p]=r.useState(null),m=r.useRef(),[v,g]=r.useState({inView:!!u,entry:void 0});m.current=d,r.useEffect((()=>{if(a||!f)return;let r;return r=l(f,((e,t)=>{g({inView:e,entry:t}),m.current&&m.current(e,t),t.isIntersecting&&s&&r&&(r(),r=void 0)}),{root:i,rootMargin:o,threshold:e,trackVisibility:n,delay:t},c),()=>{r&&r()}}),[Array.isArray(e)?e.toString():e,f,i,o,s,a,n,c,t]);const y=null==(h=v.entry)?void 0:h.target,w=r.useRef();f||!y||s||a||w.current===y||(w.current=y,g({inView:!!u,entry:void 0}));const b=[p,v.inView,v.entry];return b.ref=b[0],b.inView=b[1],b.entry=b[2],b}r.Component},46:(e,t,n)=>{"use strict";n.d(t,{$l:()=>s,BN:()=>I,DY:()=>p,Fs:()=>_,J$:()=>W,JN:()=>b,LI:()=>M,PM:()=>u,UG:()=>G,W6:()=>R,i_:()=>i,kY:()=>K,ko:()=>Q,kw:()=>A,mf:()=>l,o8:()=>a,qC:()=>L,s6:()=>J,sj:()=>F,u3:()=>j,u_:()=>H,w6:()=>C,xD:()=>ee});var r=n(9196);const o=()=>{},i=o(),s=Object,a=e=>e===i,l=e=>"function"==typeof e,u=(e,t)=>({...e,...t}),c=e=>l(e.then),d=new WeakMap;let h=0;const f=e=>{const t=typeof e,n=e&&e.constructor,r=n==Date;let o,i;if(s(e)!==e||r||n==RegExp)o=r?e.toJSON():"symbol"==t?e.toString():"string"==t?JSON.stringify(e):""+e;else{if(o=d.get(e),o)return o;if(o=++h+"~",d.set(e,o),n==Array){for(o="@",i=0;i{const n=p.get(e);return[()=>!a(t)&&e.get(t)||m,r=>{if(!a(t)){const o=e.get(t);t in v||(v[t]=o),n[5](t,u(o,r),o||m)}},n[6],()=>!a(t)&&t in v?v[t]:!a(t)&&e.get(t)||m]};let x=!0;const[E,T]=y&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[o,o],S={isOnline:()=>x,isVisible:()=>{const e=w&&document.visibilityState;return a(e)||"hidden"!==e}},P={initFocus:e=>(w&&document.addEventListener("visibilitychange",e),E("focus",e),()=>{w&&document.removeEventListener("visibilitychange",e),T("focus",e)}),initReconnect:e=>{const t=()=>{x=!0,e()},n=()=>{x=!1};return E("online",t),E("offline",n),()=>{T("online",t),T("offline",n)}}},C=!r.useId,R=!y||"Deno"in window,A=e=>y&&typeof window.requestAnimationFrame!=g?window.requestAnimationFrame(e):setTimeout(e,1),M=R?r.useEffect:r.useLayoutEffect,O="undefined"!=typeof navigator&&navigator.connection,k=!R&&O&&(["slow-2g","2g"].includes(O.effectiveType)||O.saveData),L=e=>{if(l(e))try{e=e()}catch(t){e=""}const t=e;return[e="string"==typeof e?e:(Array.isArray(e)?e.length:e)?f(e):"",t]};let V=0;const j=()=>++V,D=2;var F={__proto__:null,ERROR_REVALIDATE_EVENT:3,FOCUS_EVENT:0,MUTATE_EVENT:D,RECONNECT_EVENT:1};async function I(...e){const[t,n,r,o]=e,s=u({populateCache:!0,throwOnError:!0},"boolean"==typeof o?{revalidate:o}:o||{});let d=s.populateCache;const h=s.rollbackOnError;let f=s.optimisticData;const m=s.throwOnError;if(l(n)){const e=n,r=[],o=t.keys();for(const n of o)!/^\$(inf|sub)\$/.test(n)&&e(t.get(n)._k)&&r.push(n);return Promise.all(r.map(v))}return v(n);async function v(n){const[o]=L(n);if(!o)return;const[u,v]=b(t,o),[g,y,w,x]=p.get(t),E=()=>{const e=g[o];return(l(s.revalidate)?s.revalidate(u().data,n):!1!==s.revalidate)&&(delete w[o],delete x[o],e&&e[0])?e[0](D).then((()=>u().data)):u().data};if(e.length<3)return E();let T,S=r;const P=j();y[o]=[P,0];const C=!a(f),R=u(),A=R.data,M=R._c,O=a(M)?A:M;if(C&&(f=l(f)?f(O,A):f,v({data:f,_c:O})),l(S))try{S=S(O)}catch(e){T=e}if(S&&c(S)){if(S=await S.catch((e=>{T=e})),P!==y[o][0]){if(T)throw T;return S}T&&C&&(e=>"function"==typeof h?h(e):!1!==h)(T)&&(d=!0,v({data:O,_c:i}))}if(d&&!T)if(l(d)){const e=d(S,O);v({data:e,error:i,_c:i})}else v({data:S,error:i,_c:i});if(y[o][1]=j(),Promise.resolve(E()).then((()=>{v({_c:i})})),!T)return S;if(m)throw T}}const N=(e,t)=>{for(const n in e)e[n][0]&&e[n][0](t)},B=(e,t)=>{if(!p.has(e)){const n=u(P,t),r={},s=I.bind(i,e);let a=o;const l={},c=(e,t)=>{const n=l[e]||[];return l[e]=n,n.push(t),()=>n.splice(n.indexOf(t),1)},d=(t,n,r)=>{e.set(t,n);const o=l[t];if(o)for(const e of o)e(n,r)},h=()=>{if(!p.has(e)&&(p.set(e,[r,{},{},{},s,d,c]),!R)){const t=n.initFocus(setTimeout.bind(i,N.bind(i,r,0))),o=n.initReconnect(setTimeout.bind(i,N.bind(i,r,1)));a=()=>{t&&t(),o&&o(),p.delete(e)}}};return h(),[e,s,h,a]}return[e,p.get(e)[4]]},[_,z]=B(new Map),H=u({onLoadingSlow:o,onSuccess:o,onError:o,onErrorRetry:(e,__,t,n,r)=>{const o=t.errorRetryCount,i=r.retryCount,s=~~((Math.random()+.5)*(1<<(i<8?i:8)))*t.errorRetryInterval;!a(o)&&i>o||setTimeout(n,s,r)},onDiscarded:o,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:k?1e4:5e3,focusThrottleInterval:5e3,dedupingInterval:2e3,loadingTimeout:k?5e3:3e3,compare:(e,t)=>f(e)==f(t),isPaused:()=>!1,cache:_,mutate:z,fallback:{}},S),U=(e,t)=>{const n=u(e,t);if(t){const{use:r,fallback:o}=e,{use:i,fallback:s}=t;r&&i&&(n.use=r.concat(i)),o&&s&&(n.fallback=u(o,s))}return n},Z=(0,r.createContext)({}),W=e=>{const{value:t}=e,n=(0,r.useContext)(Z),o=l(t),s=(0,r.useMemo)((()=>o?t(n):t),[o,n,t]),a=(0,r.useMemo)((()=>o?s:U(n,s)),[o,n,s]),c=s&&s.provider,d=(0,r.useRef)(i);c&&!d.current&&(d.current=B(c(a.cache||_),s));const h=d.current;return h&&(a.cache=h[0],a.mutate=h[1]),M((()=>{if(h)return h[2]&&h[2](),h[3]}),[]),(0,r.createElement)(Z.Provider,u(e,{value:a}))},G="$inf$",$=y&&window.__SWR_DEVTOOLS_USE__,q=$?window.__SWR_DEVTOOLS_USE__:[],Y=e=>l(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}],K=()=>u(H,(0,r.useContext)(Z)),X=q.concat((e=>(t,n,r)=>e(t,n&&((...e)=>{const[r]=L(t),[,,,o]=p.get(_);if(r.startsWith(G))return n(...e);const i=o[r];return a(i)?n(...e):(delete o[r],i)}),r))),J=e=>function(...t){const n=K(),[r,o,i]=Y(t),s=U(n,i);let a=e;const{use:l}=s,u=(l||[]).concat(X);for(let e=u.length;e--;)a=u[e](a);return a(r,o||s.fetcher||null,s)},Q=(e,t,n)=>{const r=t[e]||(t[e]=[]);return r.push(n),()=>{const e=r.indexOf(n);e>=0&&(r[e]=r[r.length-1],r.pop())}},ee=(e,t)=>(...n)=>{const[r,o,i]=Y(n),s=(i.use||[]).concat(t);return e(r,o,{...i,use:s})};$&&(window.__SWR_DEVTOOLS_REACT__=r)},9820:(e,t,n)=>{"use strict";n.d(t,{J$:()=>l,ZP:()=>u,kY:()=>i.kY});var r=n(9196),o=n(1688),i=n(46);const s=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),a={dedupe:!0},l=i.$l.defineProperty(i.J$,"defaultValue",{value:i.u_}),u=(0,i.s6)(((e,t,n)=>{const{cache:l,compare:u,suspense:c,fallbackData:d,revalidateOnMount:h,revalidateIfStale:f,refreshInterval:p,refreshWhenHidden:m,refreshWhenOffline:v,keepPreviousData:g}=n,[y,w,b,x]=i.DY.get(l),[E,T]=(0,i.qC)(e),S=(0,r.useRef)(!1),P=(0,r.useRef)(!1),C=(0,r.useRef)(E),R=(0,r.useRef)(t),A=(0,r.useRef)(n),M=()=>A.current,O=()=>M().isVisible()&&M().isOnline(),[k,L,V,j]=(0,i.JN)(l,E),D=(0,r.useRef)({}).current,F=(0,i.o8)(d)?n.fallback[E]:d,I=(e,t)=>{for(const n in D){const r=n;if("data"===r){if(!u(e[r],t[r])){if(!(0,i.o8)(e[r]))return!1;if(!u(G,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},N=(0,r.useMemo)((()=>{const e=!!E&&!!t&&((0,i.o8)(h)?!M().isPaused()&&!c&&(!!(0,i.o8)(f)||f):h),n=t=>{const n=(0,i.PM)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=k(),o=j(),s=n(r),a=r===o?s:n(o);let l=s;return[()=>{const e=n(k());return I(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>a]}),[l,E]),B=(0,o.useSyncExternalStore)((0,r.useCallback)((e=>V(E,((t,n)=>{I(n,t)||e()}))),[l,E]),N[0],N[1]),_=!S.current,z=y[E]&&y[E].length>0,H=B.data,U=(0,i.o8)(H)?F:H,Z=B.error,W=(0,r.useRef)(U),G=g?(0,i.o8)(H)?W.current:H:U,$=!(z&&!(0,i.o8)(Z))&&(_&&!(0,i.o8)(h)?h:!M().isPaused()&&(c?!(0,i.o8)(U)&&f:(0,i.o8)(U)||f)),q=!!(E&&t&&_&&$),Y=(0,i.o8)(B.isValidating)?q:B.isValidating,K=(0,i.o8)(B.isLoading)?q:B.isLoading,X=(0,r.useCallback)((async e=>{const t=R.current;if(!E||!t||P.current||M().isPaused())return!1;let r,o,s=!0;const a=e||{},l=!b[E]||!a.dedupe,c=()=>i.w6?!P.current&&E===C.current&&S.current:E===C.current,d={isValidating:!1,isLoading:!1},h=()=>{L(d)},f=()=>{const e=b[E];e&&e[1]===o&&delete b[E]},p={isValidating:!0};(0,i.o8)(k().data)&&(p.isLoading=!0);try{if(l&&(L(p),n.loadingTimeout&&(0,i.o8)(k().data)&&setTimeout((()=>{s&&c()&&M().onLoadingSlow(E,n)}),n.loadingTimeout),b[E]=[t(T),(0,i.u3)()]),[r,o]=b[E],r=await r,l&&setTimeout(f,n.dedupingInterval),!b[E]||b[E][1]!==o)return l&&c()&&M().onDiscarded(E),!1;d.error=i.i_;const e=w[E];if(!(0,i.o8)(e)&&(o<=e[0]||o<=e[1]||0===e[1]))return h(),l&&c()&&M().onDiscarded(E),!1;const a=k().data;d.data=u(a,r)?a:r,l&&c()&&M().onSuccess(r,E,n)}catch(e){f();const t=M(),{shouldRetryOnError:n}=t;t.isPaused()||(d.error=e,l&&c()&&(t.onError(e,E,t),(!0===n||(0,i.mf)(n)&&n(e))&&(M().revalidateOnFocus&&M().revalidateOnReconnect&&!O()||t.onErrorRetry(e,E,t,(e=>{const t=y[E];t&&t[0]&&t[0](i.sj.ERROR_REVALIDATE_EVENT,e)}),{retryCount:(a.retryCount||0)+1,dedupe:!0}))))}return s=!1,h(),!0}),[E,l]),J=(0,r.useCallback)(((...e)=>(0,i.BN)(l,C.current,...e)),[]);if((0,i.LI)((()=>{R.current=t,A.current=n,(0,i.o8)(H)||(W.current=H)})),(0,i.LI)((()=>{if(!E)return;const e=X.bind(i.i_,a);let t=0;const n=(0,i.ko)(E,y,((n,r={})=>{if(n==i.sj.FOCUS_EVENT){const n=Date.now();M().revalidateOnFocus&&n>t&&O()&&(t=n+M().focusThrottleInterval,e())}else if(n==i.sj.RECONNECT_EVENT)M().revalidateOnReconnect&&O()&&e();else{if(n==i.sj.MUTATE_EVENT)return X();if(n==i.sj.ERROR_REVALIDATE_EVENT)return X(r)}}));return P.current=!1,C.current=E,S.current=!0,L({_k:T}),$&&((0,i.o8)(U)||i.W6?e():(0,i.kw)(e)),()=>{P.current=!0,n()}}),[E]),(0,i.LI)((()=>{let e;function t(){const t=(0,i.mf)(p)?p(k().data):p;t&&-1!==e&&(e=setTimeout(n,t))}function n(){k().error||!m&&!M().isVisible()||!v&&!M().isOnline()?t():X(a).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[p,m,v,E]),(0,r.useDebugValue)(G),c&&(0,i.o8)(U)&&E){if(!i.w6&&i.W6)throw new Error("Fallback data is required when using suspense in SSR.");R.current=t,A.current=n,P.current=!1;const e=x[E];if(!(0,i.o8)(e)){const t=J(e);s(t)}if(!(0,i.o8)(Z))throw Z;{const e=X(a);(0,i.o8)(G)||(e.status="fulfilled",e.value=!0),s(e)}}return{mutate:J,get data(){return D.data=!0,G},get error(){return D.error=!0,Z},get isValidating(){return D.isValidating=!0,Y},get isLoading(){return D.isLoading=!0,K}}}))},9870:(e,t,n)=>{"use strict";n.d(t,{Z:()=>u});var r=n(9196),o=n(1688),i=n(46);const s=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),a={dedupe:!0};i.$l.defineProperty(i.J$,"defaultValue",{value:i.u_});const l=(0,i.s6)(((e,t,n)=>{const{cache:l,compare:u,suspense:c,fallbackData:d,revalidateOnMount:h,revalidateIfStale:f,refreshInterval:p,refreshWhenHidden:m,refreshWhenOffline:v,keepPreviousData:g}=n,[y,w,b,x]=i.DY.get(l),[E,T]=(0,i.qC)(e),S=(0,r.useRef)(!1),P=(0,r.useRef)(!1),C=(0,r.useRef)(E),R=(0,r.useRef)(t),A=(0,r.useRef)(n),M=()=>A.current,O=()=>M().isVisible()&&M().isOnline(),[k,L,V,j]=(0,i.JN)(l,E),D=(0,r.useRef)({}).current,F=(0,i.o8)(d)?n.fallback[E]:d,I=(e,t)=>{for(const n in D){const r=n;if("data"===r){if(!u(e[r],t[r])){if(!(0,i.o8)(e[r]))return!1;if(!u(G,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},N=(0,r.useMemo)((()=>{const e=!!E&&!!t&&((0,i.o8)(h)?!M().isPaused()&&!c&&(!!(0,i.o8)(f)||f):h),n=t=>{const n=(0,i.PM)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=k(),o=j(),s=n(r),a=r===o?s:n(o);let l=s;return[()=>{const e=n(k());return I(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>a]}),[l,E]),B=(0,o.useSyncExternalStore)((0,r.useCallback)((e=>V(E,((t,n)=>{I(n,t)||e()}))),[l,E]),N[0],N[1]),_=!S.current,z=y[E]&&y[E].length>0,H=B.data,U=(0,i.o8)(H)?F:H,Z=B.error,W=(0,r.useRef)(U),G=g?(0,i.o8)(H)?W.current:H:U,$=!(z&&!(0,i.o8)(Z))&&(_&&!(0,i.o8)(h)?h:!M().isPaused()&&(c?!(0,i.o8)(U)&&f:(0,i.o8)(U)||f)),q=!!(E&&t&&_&&$),Y=(0,i.o8)(B.isValidating)?q:B.isValidating,K=(0,i.o8)(B.isLoading)?q:B.isLoading,X=(0,r.useCallback)((async e=>{const t=R.current;if(!E||!t||P.current||M().isPaused())return!1;let r,o,s=!0;const a=e||{},l=!b[E]||!a.dedupe,c=()=>i.w6?!P.current&&E===C.current&&S.current:E===C.current,d={isValidating:!1,isLoading:!1},h=()=>{L(d)},f=()=>{const e=b[E];e&&e[1]===o&&delete b[E]},p={isValidating:!0};(0,i.o8)(k().data)&&(p.isLoading=!0);try{if(l&&(L(p),n.loadingTimeout&&(0,i.o8)(k().data)&&setTimeout((()=>{s&&c()&&M().onLoadingSlow(E,n)}),n.loadingTimeout),b[E]=[t(T),(0,i.u3)()]),[r,o]=b[E],r=await r,l&&setTimeout(f,n.dedupingInterval),!b[E]||b[E][1]!==o)return l&&c()&&M().onDiscarded(E),!1;d.error=i.i_;const e=w[E];if(!(0,i.o8)(e)&&(o<=e[0]||o<=e[1]||0===e[1]))return h(),l&&c()&&M().onDiscarded(E),!1;const a=k().data;d.data=u(a,r)?a:r,l&&c()&&M().onSuccess(r,E,n)}catch(e){f();const t=M(),{shouldRetryOnError:n}=t;t.isPaused()||(d.error=e,l&&c()&&(t.onError(e,E,t),(!0===n||(0,i.mf)(n)&&n(e))&&(M().revalidateOnFocus&&M().revalidateOnReconnect&&!O()||t.onErrorRetry(e,E,t,(e=>{const t=y[E];t&&t[0]&&t[0](i.sj.ERROR_REVALIDATE_EVENT,e)}),{retryCount:(a.retryCount||0)+1,dedupe:!0}))))}return s=!1,h(),!0}),[E,l]),J=(0,r.useCallback)(((...e)=>(0,i.BN)(l,C.current,...e)),[]);if((0,i.LI)((()=>{R.current=t,A.current=n,(0,i.o8)(H)||(W.current=H)})),(0,i.LI)((()=>{if(!E)return;const e=X.bind(i.i_,a);let t=0;const n=(0,i.ko)(E,y,((n,r={})=>{if(n==i.sj.FOCUS_EVENT){const n=Date.now();M().revalidateOnFocus&&n>t&&O()&&(t=n+M().focusThrottleInterval,e())}else if(n==i.sj.RECONNECT_EVENT)M().revalidateOnReconnect&&O()&&e();else{if(n==i.sj.MUTATE_EVENT)return X();if(n==i.sj.ERROR_REVALIDATE_EVENT)return X(r)}}));return P.current=!1,C.current=E,S.current=!0,L({_k:T}),$&&((0,i.o8)(U)||i.W6?e():(0,i.kw)(e)),()=>{P.current=!0,n()}}),[E]),(0,i.LI)((()=>{let e;function t(){const t=(0,i.mf)(p)?p(k().data):p;t&&-1!==e&&(e=setTimeout(n,t))}function n(){k().error||!m&&!M().isVisible()||!v&&!M().isOnline()?t():X(a).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[p,m,v,E]),(0,r.useDebugValue)(G),c&&(0,i.o8)(U)&&E){if(!i.w6&&i.W6)throw new Error("Fallback data is required when using suspense in SSR.");R.current=t,A.current=n,P.current=!1;const e=x[E];if(!(0,i.o8)(e)){const t=J(e);s(t)}if(!(0,i.o8)(Z))throw Z;{const e=X(a);(0,i.o8)(G)||(e.status="fulfilled",e.value=!0),s(e)}}return{mutate:J,get data(){return D.data=!0,G},get error(){return D.error=!0,Z},get isValidating(){return D.isValidating=!0,Y},get isLoading(){return D.isLoading=!0,K}}})),u=(0,i.xD)(l,(e=>(t,n,r)=>(r.revalidateOnFocus=!1,r.revalidateIfStale=!1,r.revalidateOnReconnect=!1,e(t,n,r))))},6607:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>c});var r=n(9196),o=n(1688),i=n(46);const s=r.use||(e=>{if("pending"===e.status)throw e;if("fulfilled"===e.status)return e.value;throw"rejected"===e.status?e.reason:(e.status="pending",e.then((t=>{e.status="fulfilled",e.value=t}),(t=>{e.status="rejected",e.reason=t})),e)}),a={dedupe:!0};i.$l.defineProperty(i.J$,"defaultValue",{value:i.u_});const l=(0,i.s6)(((e,t,n)=>{const{cache:l,compare:u,suspense:c,fallbackData:d,revalidateOnMount:h,revalidateIfStale:f,refreshInterval:p,refreshWhenHidden:m,refreshWhenOffline:v,keepPreviousData:g}=n,[y,w,b,x]=i.DY.get(l),[E,T]=(0,i.qC)(e),S=(0,r.useRef)(!1),P=(0,r.useRef)(!1),C=(0,r.useRef)(E),R=(0,r.useRef)(t),A=(0,r.useRef)(n),M=()=>A.current,O=()=>M().isVisible()&&M().isOnline(),[k,L,V,j]=(0,i.JN)(l,E),D=(0,r.useRef)({}).current,F=(0,i.o8)(d)?n.fallback[E]:d,I=(e,t)=>{for(const n in D){const r=n;if("data"===r){if(!u(e[r],t[r])){if(!(0,i.o8)(e[r]))return!1;if(!u(G,t[r]))return!1}}else if(t[r]!==e[r])return!1}return!0},N=(0,r.useMemo)((()=>{const e=!!E&&!!t&&((0,i.o8)(h)?!M().isPaused()&&!c&&(!!(0,i.o8)(f)||f):h),n=t=>{const n=(0,i.PM)(t);return delete n._k,e?{isValidating:!0,isLoading:!0,...n}:n},r=k(),o=j(),s=n(r),a=r===o?s:n(o);let l=s;return[()=>{const e=n(k());return I(e,l)?(l.data=e.data,l.isLoading=e.isLoading,l.isValidating=e.isValidating,l.error=e.error,l):(l=e,e)},()=>a]}),[l,E]),B=(0,o.useSyncExternalStore)((0,r.useCallback)((e=>V(E,((t,n)=>{I(n,t)||e()}))),[l,E]),N[0],N[1]),_=!S.current,z=y[E]&&y[E].length>0,H=B.data,U=(0,i.o8)(H)?F:H,Z=B.error,W=(0,r.useRef)(U),G=g?(0,i.o8)(H)?W.current:H:U,$=!(z&&!(0,i.o8)(Z))&&(_&&!(0,i.o8)(h)?h:!M().isPaused()&&(c?!(0,i.o8)(U)&&f:(0,i.o8)(U)||f)),q=!!(E&&t&&_&&$),Y=(0,i.o8)(B.isValidating)?q:B.isValidating,K=(0,i.o8)(B.isLoading)?q:B.isLoading,X=(0,r.useCallback)((async e=>{const t=R.current;if(!E||!t||P.current||M().isPaused())return!1;let r,o,s=!0;const a=e||{},l=!b[E]||!a.dedupe,c=()=>i.w6?!P.current&&E===C.current&&S.current:E===C.current,d={isValidating:!1,isLoading:!1},h=()=>{L(d)},f=()=>{const e=b[E];e&&e[1]===o&&delete b[E]},p={isValidating:!0};(0,i.o8)(k().data)&&(p.isLoading=!0);try{if(l&&(L(p),n.loadingTimeout&&(0,i.o8)(k().data)&&setTimeout((()=>{s&&c()&&M().onLoadingSlow(E,n)}),n.loadingTimeout),b[E]=[t(T),(0,i.u3)()]),[r,o]=b[E],r=await r,l&&setTimeout(f,n.dedupingInterval),!b[E]||b[E][1]!==o)return l&&c()&&M().onDiscarded(E),!1;d.error=i.i_;const e=w[E];if(!(0,i.o8)(e)&&(o<=e[0]||o<=e[1]||0===e[1]))return h(),l&&c()&&M().onDiscarded(E),!1;const a=k().data;d.data=u(a,r)?a:r,l&&c()&&M().onSuccess(r,E,n)}catch(e){f();const t=M(),{shouldRetryOnError:n}=t;t.isPaused()||(d.error=e,l&&c()&&(t.onError(e,E,t),(!0===n||(0,i.mf)(n)&&n(e))&&(M().revalidateOnFocus&&M().revalidateOnReconnect&&!O()||t.onErrorRetry(e,E,t,(e=>{const t=y[E];t&&t[0]&&t[0](i.sj.ERROR_REVALIDATE_EVENT,e)}),{retryCount:(a.retryCount||0)+1,dedupe:!0}))))}return s=!1,h(),!0}),[E,l]),J=(0,r.useCallback)(((...e)=>(0,i.BN)(l,C.current,...e)),[]);if((0,i.LI)((()=>{R.current=t,A.current=n,(0,i.o8)(H)||(W.current=H)})),(0,i.LI)((()=>{if(!E)return;const e=X.bind(i.i_,a);let t=0;const n=(0,i.ko)(E,y,((n,r={})=>{if(n==i.sj.FOCUS_EVENT){const n=Date.now();M().revalidateOnFocus&&n>t&&O()&&(t=n+M().focusThrottleInterval,e())}else if(n==i.sj.RECONNECT_EVENT)M().revalidateOnReconnect&&O()&&e();else{if(n==i.sj.MUTATE_EVENT)return X();if(n==i.sj.ERROR_REVALIDATE_EVENT)return X(r)}}));return P.current=!1,C.current=E,S.current=!0,L({_k:T}),$&&((0,i.o8)(U)||i.W6?e():(0,i.kw)(e)),()=>{P.current=!0,n()}}),[E]),(0,i.LI)((()=>{let e;function t(){const t=(0,i.mf)(p)?p(k().data):p;t&&-1!==e&&(e=setTimeout(n,t))}function n(){k().error||!m&&!M().isVisible()||!v&&!M().isOnline()?t():X(a).then(t)}return t(),()=>{e&&(clearTimeout(e),e=-1)}}),[p,m,v,E]),(0,r.useDebugValue)(G),c&&(0,i.o8)(U)&&E){if(!i.w6&&i.W6)throw new Error("Fallback data is required when using suspense in SSR.");R.current=t,A.current=n,P.current=!1;const e=x[E];if(!(0,i.o8)(e)){const t=J(e);s(t)}if(!(0,i.o8)(Z))throw Z;{const e=X(a);(0,i.o8)(G)||(e.status="fulfilled",e.value=!0),s(e)}}return{mutate:J,get data(){return D.data=!0,G},get error(){return D.error=!0,Z},get isValidating(){return D.isValidating=!0,Y},get isLoading(){return D.isLoading=!0,K}}})),u=Promise.resolve(),c=(0,i.xD)(l,(e=>(t,n,s)=>{const a=(0,r.useRef)(!1),{cache:l,initialSize:c=1,revalidateAll:d=!1,persistSize:h=!1,revalidateFirstPage:f=!0,revalidateOnMount:p=!1,parallel:m=!1}=s,[,,,v]=i.DY.get(i.Fs);let g;try{g=(e=>(0,i.qC)(e?e(0,null):null)[0])(t),g&&(g=i.UG+g)}catch(e){}const[y,w,b]=(0,i.JN)(l,g),x=(0,r.useCallback)((()=>(0,i.o8)(y()._l)?c:y()._l),[l,g,c]);(0,o.useSyncExternalStore)((0,r.useCallback)((e=>g?b(g,(()=>{e()})):()=>{}),[l,g]),x,x);const E=(0,r.useCallback)((()=>{const e=y()._l;return(0,i.o8)(e)?c:e}),[g,c]),T=(0,r.useRef)(E());(0,i.LI)((()=>{a.current?g&&w({_l:h?T.current:E()}):a.current=!0}),[g,l]);const S=p&&!a.current,P=e(g,(async e=>{const r=y()._i,o=y()._r;w({_r:i.i_});const a=[],u=E(),[c]=(0,i.JN)(l,e),h=c().data,p=[];let g=null;for(let e=0;e{if(u in v){const e=v[u];delete v[u],b=await e}else b=await n(c);w({data:b,_k:c}),a[e]=b};m?p.push(t):await t()}else a[e]=b;m||(g=b)}return m&&await Promise.all(p.map((e=>e()))),w({_i:i.i_}),a}),s),C=(0,r.useCallback)((function(e,t){const n="boolean"==typeof t?{revalidate:t}:t||{},r=!1!==n.revalidate;return g?(r&&((0,i.o8)(e)?w({_i:!0,_r:n.revalidate}):w({_i:!1,_r:n.revalidate})),arguments.length?P.mutate(e,{...n,revalidate:r}):P.mutate()):u}),[g,l]),R=(0,r.useCallback)((e=>{if(!g)return u;const[,n]=(0,i.JN)(l,g);let r;if((0,i.mf)(e)?r=e(E()):"number"==typeof e&&(r=e),"number"!=typeof r)return u;n({_l:r}),T.current=r;const o=[],[s]=(0,i.JN)(l,g);let a=null;for(let e=0;e{"use strict";n.d(t,{Ue:()=>d});const r=e=>{let t;const n=new Set,r=(e,r)=>{const o="function"==typeof e?e(t):e;if(!Object.is(o,t)){const e=t;t=(null!=r?r:"object"!=typeof o||null===o)?o:Object.assign({},t,o),n.forEach((n=>n(t,e)))}},o=()=>t,i={setState:r,getState:o,getInitialState:()=>s,subscribe:e=>(n.add(e),()=>n.delete(e)),destroy:()=>{console.warn("[DEPRECATED] The `destroy` method will be unsupported in a future version. Instead use unsubscribe function returned by subscribe. Everything will be garbage-collected if store is garbage-collected."),n.clear()}},s=t=e(r,o,i);return i};var o=n(9196),i=n(2798);const{useDebugValue:s}=o,{useSyncExternalStoreWithSelector:a}=i;let l=!1;const u=e=>e,c=e=>{"function"!=typeof e&&console.warn("[DEPRECATED] Passing a vanilla store will be unsupported in a future version. Instead use `import { useStore } from 'zustand'`.");const t="function"==typeof e?(e=>e?r(e):r)(e):e,n=(e,n)=>function(e,t=u,n){n&&!l&&(console.warn("[DEPRECATED] Use `createWithEqualityFn` instead of `create` or use `useStoreWithEqualityFn` instead of `useStore`. They can be imported from 'zustand/traditional'. https://github.com/pmndrs/zustand/discussions/1937"),l=!0);const r=a(e.subscribe,e.getState,e.getServerState||e.getInitialState,t,n);return s(r),r}(t,e,n);return Object.assign(n,t),n},d=e=>e?c(e):c},782:(e,t,n)=>{"use strict";n.d(t,{FL:()=>a,mW:()=>i,tJ:()=>u});const r=new Map,o=e=>{const t=r.get(e);return t?Object.fromEntries(Object.entries(t.stores).map((([e,t])=>[e,t.getState()]))):{}},i=(e,t={})=>(n,i,a)=>{const{enabled:l,anonymousActionType:u,store:c,...d}=t;let h;try{h=(null==l||l)&&window.__REDUX_DEVTOOLS_EXTENSION__}catch(e){}if(!h)return l&&console.warn("[zustand devtools middleware] Please install/enable Redux devtools extension"),e(n,i,a);const{connection:f,...p}=((e,t,n)=>{if(void 0===e)return{type:"untracked",connection:t.connect(n)};const o=r.get(n.name);if(o)return{type:"tracked",store:e,...o};const i={connection:t.connect(n),stores:{}};return r.set(n.name,i),{type:"tracked",store:e,...i}})(c,h,d);let m=!0;a.setState=(e,t,r)=>{const s=n(e,t);if(!m)return s;const l=void 0===r?{type:u||"anonymous"}:"string"==typeof r?{type:r}:r;return void 0===c?(null==f||f.send(l,i()),s):(null==f||f.send({...l,type:`${c}/${l.type}`},{...o(d.name),[c]:a.getState()}),s)};const v=(...e)=>{const t=m;m=!1,n(...e),m=t},g=e(a.setState,i,a);if("untracked"===p.type?null==f||f.init(g):(p.stores[p.store]=a,null==f||f.init(Object.fromEntries(Object.entries(p.stores).map((([e,t])=>[e,e===p.store?g:t.getState()]))))),a.dispatchFromDevtools&&"function"==typeof a.dispatch){let e=!1;const t=a.dispatch;a.dispatch=(...n)=>{"__setState"!==n[0].type||e||(console.warn('[zustand devtools middleware] "__setState" action type is reserved to set state from the devtools. Avoid using it.'),e=!0),t(...n)}}return f.subscribe((e=>{var t;switch(e.type){case"ACTION":return"string"!=typeof e.payload?void console.error("[zustand devtools middleware] Unsupported action format"):s(e.payload,(e=>{if("__setState"!==e.type)a.dispatchFromDevtools&&"function"==typeof a.dispatch&&a.dispatch(e);else{if(void 0===c)return void v(e.state);1!==Object.keys(e.state).length&&console.error('\n [zustand devtools middleware] Unsupported __setState action format. \n When using \'store\' option in devtools(), the \'state\' should have only one key, which is a value of \'store\' that was passed in devtools(),\n and value of this only key should be a state object. Example: { "type": "__setState", "state": { "abc123Store": { "foo": "bar" } } }\n ');const t=e.state[c];if(null==t)return;JSON.stringify(a.getState())!==JSON.stringify(t)&&v(t)}}));case"DISPATCH":switch(e.payload.type){case"RESET":return v(g),void 0===c?null==f?void 0:f.init(a.getState()):null==f?void 0:f.init(o(d.name));case"COMMIT":return void 0===c?void(null==f||f.init(a.getState())):null==f?void 0:f.init(o(d.name));case"ROLLBACK":return s(e.state,(e=>{if(void 0===c)return v(e),void(null==f||f.init(a.getState()));v(e[c]),null==f||f.init(o(d.name))}));case"JUMP_TO_STATE":case"JUMP_TO_ACTION":return s(e.state,(e=>{void 0!==c?JSON.stringify(a.getState())!==JSON.stringify(e[c])&&v(e[c]):v(e)}));case"IMPORT_STATE":{const{nextLiftedState:n}=e.payload,r=null==(t=n.computedStates.slice(-1)[0])?void 0:t.state;if(!r)return;return v(void 0===c?r:r[c]),void(null==f||f.send(null,n))}case"PAUSE_RECORDING":return m=!m}return}})),g},s=(e,t)=>{let n;try{n=JSON.parse(e)}catch(e){console.error("[zustand devtools middleware] Could not parse the received json",e)}void 0!==n&&t(n)};function a(e,t){let n;try{n=e()}catch(e){return}return{getItem:e=>{var r;const o=e=>null===e?null:JSON.parse(e,null==t?void 0:t.reviver),i=null!=(r=n.getItem(e))?r:null;return i instanceof Promise?i.then(o):o(i)},setItem:(e,r)=>n.setItem(e,JSON.stringify(r,null==t?void 0:t.replacer)),removeItem:e=>n.removeItem(e)}}const l=e=>t=>{try{const n=e(t);return n instanceof Promise?n:{then:e=>l(e)(n),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>l(t)(e)}}},u=(e,t)=>"getStorage"in t||"serialize"in t||"deserialize"in t?(console.warn("[DEPRECATED] `getStorage`, `serialize` and `deserialize` options are deprecated. Use `storage` option instead."),((e,t)=>(n,r,o)=>{let i={getStorage:()=>localStorage,serialize:JSON.stringify,deserialize:JSON.parse,partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},s=!1;const a=new Set,u=new Set;let c;try{c=i.getStorage()}catch(e){}if(!c)return e(((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...e)}),r,o);const d=l(i.serialize),h=()=>{const e=i.partialize({...r()});let t;const n=d({state:e,version:i.version}).then((e=>c.setItem(i.name,e))).catch((e=>{t=e}));if(t)throw t;return n},f=o.setState;o.setState=(e,t)=>{f(e,t),h()};const p=e(((...e)=>{n(...e),h()}),r,o);let m;const v=()=>{var e;if(!c)return;s=!1,a.forEach((e=>e(r())));const t=(null==(e=i.onRehydrateStorage)?void 0:e.call(i,r()))||void 0;return l(c.getItem.bind(c))(i.name).then((e=>{if(e)return i.deserialize(e)})).then((e=>{if(e){if("number"!=typeof e.version||e.version===i.version)return e.state;if(i.migrate)return i.migrate(e.state,e.version);console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}})).then((e=>{var t;return m=i.merge(e,null!=(t=r())?t:p),n(m,!0),h()})).then((()=>{null==t||t(m,void 0),s=!0,u.forEach((e=>e(m)))})).catch((e=>{null==t||t(void 0,e)}))};return o.persist={setOptions:e=>{i={...i,...e},e.getStorage&&(c=e.getStorage())},clearStorage:()=>{null==c||c.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>v(),hasHydrated:()=>s,onHydrate:e=>(a.add(e),()=>{a.delete(e)}),onFinishHydration:e=>(u.add(e),()=>{u.delete(e)})},v(),m||p})(e,t)):((e,t)=>(n,r,o)=>{let i={storage:a((()=>localStorage)),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},s=!1;const u=new Set,c=new Set;let d=i.storage;if(!d)return e(((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${i.name}', the given storage is currently unavailable.`),n(...e)}),r,o);const h=()=>{const e=i.partialize({...r()});return d.setItem(i.name,{state:e,version:i.version})},f=o.setState;o.setState=(e,t)=>{f(e,t),h()};const p=e(((...e)=>{n(...e),h()}),r,o);let m;o.getInitialState=()=>p;const v=()=>{var e,t;if(!d)return;s=!1,u.forEach((e=>{var t;return e(null!=(t=r())?t:p)}));const o=(null==(t=i.onRehydrateStorage)?void 0:t.call(i,null!=(e=r())?e:p))||void 0;return l(d.getItem.bind(d))(i.name).then((e=>{if(e){if("number"!=typeof e.version||e.version===i.version)return[!1,e.state];if(i.migrate)return[!0,i.migrate(e.state,e.version)];console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]})).then((e=>{var t;const[o,s]=e;if(m=i.merge(s,null!=(t=r())?t:p),n(m,!0),o)return h()})).then((()=>{null==o||o(m,void 0),m=r(),s=!0,c.forEach((e=>e(m)))})).catch((e=>{null==o||o(void 0,e)}))};return o.persist={setOptions:e=>{i={...i,...e},e.storage&&(d=e.storage)},clearStorage:()=>{null==d||d.removeItem(i.name)},getOptions:()=>i,rehydrate:()=>v(),hasHydrated:()=>s,onHydrate:e=>(u.add(e),()=>{u.delete(e)}),onFinishHydration:e=>(c.add(e),()=>{c.delete(e)})},i.skipHydration||v(),m||p})(e,t)}}]);