@locusai/web 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/BUILD_ID +1 -1
- package/.next/app-build-manifest.json +37 -37
- package/.next/app-path-routes-manifest.json +7 -1
- package/.next/build-manifest.json +14 -14
- package/.next/cache/.previewinfo +1 -0
- package/.next/cache/.rscinfo +1 -1
- package/.next/cache/.tsbuildinfo +1 -1
- package/.next/cache/config.json +3 -3
- package/.next/cache/webpack/client-production/0.pack +0 -0
- package/.next/cache/webpack/client-production/index.pack +0 -0
- package/.next/cache/webpack/edge-server-production/index.pack +0 -0
- package/.next/cache/webpack/server-production/0.pack +0 -0
- package/.next/cache/webpack/server-production/index.pack +0 -0
- package/.next/diagnostics/framework.json +1 -1
- package/.next/export-detail.json +5 -1
- package/.next/export-marker.json +6 -1
- package/.next/images-manifest.json +57 -1
- package/.next/next-minimal-server.js.nft.json +1 -1
- package/.next/next-server.js.nft.json +1 -1
- package/.next/prerender-manifest.json +108 -1
- package/.next/react-loadable-manifest.json +14 -14
- package/.next/required-server-files.json +324 -1
- package/.next/routes-manifest.json +71 -1
- package/.next/server/app/_not-found/page.js +2 -1
- package/.next/server/app/_not-found/page.js.nft.json +1 -1
- package/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
- package/.next/server/app/_not-found.html +1 -1
- package/.next/server/app/_not-found.meta +1 -1
- package/.next/server/app/_not-found.rsc +15 -12
- package/.next/server/app/backlog/page.js +2 -1
- package/.next/server/app/backlog/page.js.nft.json +1 -1
- package/.next/server/app/backlog/page_client-reference-manifest.js +1 -1
- package/.next/server/app/backlog.html +1 -1
- package/.next/server/app/backlog.meta +1 -1
- package/.next/server/app/backlog.rsc +18 -15
- package/.next/server/app/docs/page.js +6 -5
- package/.next/server/app/docs/page.js.nft.json +1 -1
- package/.next/server/app/docs/page_client-reference-manifest.js +1 -1
- package/.next/server/app/docs.html +1 -1
- package/.next/server/app/docs.meta +1 -1
- package/.next/server/app/docs.rsc +19 -16
- package/.next/server/app/index.html +1 -1
- package/.next/server/app/index.meta +1 -1
- package/.next/server/app/index.rsc +18 -15
- package/.next/server/app/page.js +2 -1
- package/.next/server/app/page.js.nft.json +1 -1
- package/.next/server/app/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings/page.js +2 -1
- package/.next/server/app/settings/page.js.nft.json +1 -1
- package/.next/server/app/settings/page_client-reference-manifest.js +1 -1
- package/.next/server/app/settings.html +1 -1
- package/.next/server/app/settings.meta +1 -1
- package/.next/server/app/settings.rsc +18 -15
- package/.next/server/chunks/354.js +28 -0
- package/.next/server/chunks/496.js +6 -0
- package/.next/server/chunks/719.js +1 -0
- package/.next/server/chunks/927.js +1 -0
- package/.next/server/functions-config-manifest.json +4 -1
- package/.next/server/middleware-build-manifest.js +1 -1
- package/.next/server/middleware-react-loadable-manifest.js +1 -1
- package/.next/server/pages/404.html +1 -1
- package/.next/server/pages/500.html +1 -1
- package/.next/server/pages/_app.js +1 -1
- package/.next/server/pages/_app.js.nft.json +1 -1
- package/.next/server/pages/_document.js +1 -1
- package/.next/server/pages/_document.js.nft.json +1 -1
- package/.next/server/pages/_error.js +19 -1
- package/.next/server/pages/_error.js.nft.json +1 -1
- package/.next/server/pages-manifest.json +6 -1
- package/.next/server/server-reference-manifest.json +1 -1
- package/.next/server/webpack-runtime.js +1 -1
- package/.next/static/{mgA6xTBePiCXP1IVRWWME → QcceI_B55xOsryXxwZfhA}/_buildManifest.js +1 -1
- package/.next/static/chunks/138.b98511c56423f8bb.js +1 -0
- package/.next/static/chunks/337-d3bb75304d130513.js +1 -0
- package/.next/static/chunks/477.1a6ecfe53375bd9c.js +1 -0
- package/.next/static/chunks/487-1808785ba665f784.js +1 -0
- package/.next/static/chunks/544.e3db93036b5e0914.js +1 -0
- package/.next/static/chunks/795-10b9cf2562a5999c.js +1 -0
- package/.next/static/chunks/87c73c54-1f4741035a95c140.js +1 -0
- package/.next/static/chunks/902-d6926825a9fe8784.js +1 -0
- package/.next/static/chunks/955-c8f8f6235ae8f8c6.js +1 -0
- package/.next/static/chunks/996.e0a334e6ae90900e.js +1 -0
- package/.next/static/chunks/app/_not-found/page-44b1804abb44a34d.js +1 -0
- package/.next/static/chunks/app/backlog/page-2ea07643f5b6e06b.js +1 -0
- package/.next/static/chunks/app/docs/page-19686afe86f9756b.js +1 -0
- package/.next/static/chunks/app/layout-70b5f0deb13c27ef.js +1 -0
- package/.next/static/chunks/app/page-1682e21c1ab5320f.js +1 -0
- package/.next/static/chunks/app/settings/page-84e16c9638d657e4.js +1 -0
- package/.next/static/chunks/framework-152a1bc8c81c7458.js +1 -0
- package/.next/static/chunks/main-6c877f3851a8d718.js +1 -0
- package/.next/static/chunks/main-app-123e879c5a937a00.js +1 -0
- package/.next/static/chunks/pages/_app-a050a8e6e4fb04cf.js +1 -0
- package/.next/static/chunks/pages/_error-3e422ffd891594de.js +1 -0
- package/.next/static/chunks/webpack-03b96ab0f7ba7feb.js +1 -0
- package/.next/static/css/b301ab0424111664.css +1 -0
- package/.next/trace +45 -44
- package/.next/types/cache-life.d.ts +3 -3
- package/CHANGELOG.md +16 -0
- package/README.md +47 -0
- package/out/404.html +1 -1
- package/out/_next/static/{mgA6xTBePiCXP1IVRWWME → QcceI_B55xOsryXxwZfhA}/_buildManifest.js +1 -1
- package/out/_next/static/chunks/138.b98511c56423f8bb.js +1 -0
- package/out/_next/static/chunks/337-d3bb75304d130513.js +1 -0
- package/out/_next/static/chunks/477.1a6ecfe53375bd9c.js +1 -0
- package/out/_next/static/chunks/487-1808785ba665f784.js +1 -0
- package/out/_next/static/chunks/544.e3db93036b5e0914.js +1 -0
- package/out/_next/static/chunks/795-10b9cf2562a5999c.js +1 -0
- package/out/_next/static/chunks/87c73c54-1f4741035a95c140.js +1 -0
- package/out/_next/static/chunks/902-d6926825a9fe8784.js +1 -0
- package/out/_next/static/chunks/955-c8f8f6235ae8f8c6.js +1 -0
- package/out/_next/static/chunks/996.e0a334e6ae90900e.js +1 -0
- package/out/_next/static/chunks/app/_not-found/page-44b1804abb44a34d.js +1 -0
- package/out/_next/static/chunks/app/backlog/page-2ea07643f5b6e06b.js +1 -0
- package/out/_next/static/chunks/app/docs/page-19686afe86f9756b.js +1 -0
- package/out/_next/static/chunks/app/layout-70b5f0deb13c27ef.js +1 -0
- package/out/_next/static/chunks/app/page-1682e21c1ab5320f.js +1 -0
- package/out/_next/static/chunks/app/settings/page-84e16c9638d657e4.js +1 -0
- package/out/_next/static/chunks/framework-152a1bc8c81c7458.js +1 -0
- package/out/_next/static/chunks/main-6c877f3851a8d718.js +1 -0
- package/out/_next/static/chunks/main-app-123e879c5a937a00.js +1 -0
- package/out/_next/static/chunks/pages/_app-a050a8e6e4fb04cf.js +1 -0
- package/out/_next/static/chunks/pages/_error-3e422ffd891594de.js +1 -0
- package/out/_next/static/chunks/webpack-03b96ab0f7ba7feb.js +1 -0
- package/out/_next/static/css/b301ab0424111664.css +1 -0
- package/out/backlog.html +1 -1
- package/out/backlog.txt +18 -15
- package/out/docs.html +1 -1
- package/out/docs.txt +19 -16
- package/out/index.html +1 -1
- package/out/index.txt +18 -15
- package/out/settings.html +1 -1
- package/out/settings.txt +18 -15
- package/package.json +2 -2
- package/.next/server/chunks/295.js +0 -6
- package/.next/server/chunks/467.js +0 -1
- package/.next/server/chunks/533.js +0 -1
- package/.next/server/chunks/639.js +0 -15
- package/.next/static/chunks/140.d5e67b269d70c096.js +0 -1
- package/.next/static/chunks/142.82cd6bec804102b9.js +0 -1
- package/.next/static/chunks/18.1e768729d24d723d.js +0 -1
- package/.next/static/chunks/188.27288b5094867f29.js +0 -1
- package/.next/static/chunks/273-95c2836f1a6dfb23.js +0 -1
- package/.next/static/chunks/855-a193e1d785e334cf.js +0 -2
- package/.next/static/chunks/87c73c54-18883d7ce69be0ce.js +0 -1
- package/.next/static/chunks/892-70ddfae0f8c9ee9f.js +0 -1
- package/.next/static/chunks/954-73b5906ca7819e42.js +0 -1
- package/.next/static/chunks/972-efb0c31aeb3e1619.js +0 -1
- package/.next/static/chunks/app/_not-found/page-3884acf5e0397003.js +0 -1
- package/.next/static/chunks/app/backlog/page-ade60a21a3597509.js +0 -1
- package/.next/static/chunks/app/docs/page-5f69fffac832d77c.js +0 -1
- package/.next/static/chunks/app/layout-a0acefd9b75ec3b8.js +0 -1
- package/.next/static/chunks/app/page-cb3aec9c8077eab1.js +0 -1
- package/.next/static/chunks/app/settings/page-82693b6134aafc85.js +0 -1
- package/.next/static/chunks/framework-fdd4ff226e9057cd.js +0 -1
- package/.next/static/chunks/main-39090d49dd3cd8c7.js +0 -1
- package/.next/static/chunks/main-app-bb0a6e7769aa4668.js +0 -1
- package/.next/static/chunks/pages/_app-3e3e3e64529ea027.js +0 -1
- package/.next/static/chunks/pages/_error-8cfbe37f68950a2b.js +0 -1
- package/.next/static/chunks/webpack-a21f388d2a000173.js +0 -1
- package/.next/static/css/a979e4e0673642a5.css +0 -1
- package/out/_next/static/chunks/140.d5e67b269d70c096.js +0 -1
- package/out/_next/static/chunks/142.82cd6bec804102b9.js +0 -1
- package/out/_next/static/chunks/18.1e768729d24d723d.js +0 -1
- package/out/_next/static/chunks/188.27288b5094867f29.js +0 -1
- package/out/_next/static/chunks/273-95c2836f1a6dfb23.js +0 -1
- package/out/_next/static/chunks/855-a193e1d785e334cf.js +0 -2
- package/out/_next/static/chunks/87c73c54-18883d7ce69be0ce.js +0 -1
- package/out/_next/static/chunks/892-70ddfae0f8c9ee9f.js +0 -1
- package/out/_next/static/chunks/954-73b5906ca7819e42.js +0 -1
- package/out/_next/static/chunks/972-efb0c31aeb3e1619.js +0 -1
- package/out/_next/static/chunks/app/_not-found/page-3884acf5e0397003.js +0 -1
- package/out/_next/static/chunks/app/backlog/page-ade60a21a3597509.js +0 -1
- package/out/_next/static/chunks/app/docs/page-5f69fffac832d77c.js +0 -1
- package/out/_next/static/chunks/app/layout-a0acefd9b75ec3b8.js +0 -1
- package/out/_next/static/chunks/app/page-cb3aec9c8077eab1.js +0 -1
- package/out/_next/static/chunks/app/settings/page-82693b6134aafc85.js +0 -1
- package/out/_next/static/chunks/framework-fdd4ff226e9057cd.js +0 -1
- package/out/_next/static/chunks/main-39090d49dd3cd8c7.js +0 -1
- package/out/_next/static/chunks/main-app-bb0a6e7769aa4668.js +0 -1
- package/out/_next/static/chunks/pages/_app-3e3e3e64529ea027.js +0 -1
- package/out/_next/static/chunks/pages/_error-8cfbe37f68950a2b.js +0 -1
- package/out/_next/static/chunks/webpack-a21f388d2a000173.js +0 -1
- package/out/_next/static/css/a979e4e0673642a5.css +0 -1
- /package/.next/static/{mgA6xTBePiCXP1IVRWWME → QcceI_B55xOsryXxwZfhA}/_ssgManifest.js +0 -0
- /package/out/_next/static/{mgA6xTBePiCXP1IVRWWME → QcceI_B55xOsryXxwZfhA}/_ssgManifest.js +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[996],{250:(t,e,i)=>{i.d(e,{F6:()=>a,Nw:()=>s,_P:()=>o,my:()=>n,w4:()=>r});let n=6048e5,r=864e5,s=43200,a=1440,o=Symbol.for("constructDateFrom")},384:(t,e,i)=>{i.d(e,{G:()=>n});function n(t){return"object"==typeof t&&null!==t}},548:(t,e,i)=>{i.d(e,{t:()=>n});let n=(0,i(7620).createContext)(null)},1164:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8889).A)("Pen",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]])},1355:(t,e,i)=>{i.d(e,{N:()=>x});var n=i(4568),r=i(7620),s=i(8386),a=i(8094),o=i(6303),l=i(548),u=i(5840),h=i(3877);function d(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class c extends r.Component{getSnapshotBeforeUpdate(t){let e=this.props.childRef.current;if(e&&t.isPresent&&!this.props.isPresent){let t=e.offsetParent,i=(0,u.s)(t)&&t.offsetWidth||0,n=this.props.sizeRef.current;n.height=e.offsetHeight||0,n.width=e.offsetWidth||0,n.top=e.offsetTop,n.left=e.offsetLeft,n.right=i-n.width-n.left}return null}componentDidUpdate(){}render(){return this.props.children}}function p(t){var e,i;let{children:s,isPresent:a,anchorX:o,root:l}=t,u=(0,r.useId)(),p=(0,r.useRef)(null),m=(0,r.useRef)({width:0,height:0,top:0,left:0,right:0}),{nonce:f}=(0,r.useContext)(h.Q),y=function(...t){return r.useCallback(function(...t){return e=>{let i=!1,n=t.map(t=>{let n=d(t,e);return i||"function"!=typeof n||(i=!0),n});if(i)return()=>{for(let e=0;e<n.length;e++){let i=n[e];"function"==typeof i?i():d(t[e],null)}}}}(...t),t)}(p,null!=(i=null==(e=s.props)?void 0:e.ref)?i:null==s?void 0:s.ref);return(0,r.useInsertionEffect)(()=>{let{width:t,height:e,top:i,left:n,right:r}=m.current;if(a||!p.current||!t||!e)return;p.current.dataset.motionPopId=u;let s=document.createElement("style");f&&(s.nonce=f);let h=null!=l?l:document.head;return h.appendChild(s),s.sheet&&s.sheet.insertRule('\n [data-motion-pop-id="'.concat(u,'"] {\n position: absolute !important;\n width: ').concat(t,"px !important;\n height: ").concat(e,"px !important;\n ").concat("left"===o?"left: ".concat(n):"right: ".concat(r),"px !important;\n top: ").concat(i,"px !important;\n }\n ")),()=>{h.contains(s)&&h.removeChild(s)}},[a]),(0,n.jsx)(c,{isPresent:a,childRef:p,sizeRef:m,children:r.cloneElement(s,{ref:y})})}let m=t=>{let{children:e,initial:i,isPresent:s,onExitComplete:o,custom:u,presenceAffectsLayout:h,mode:d,anchorX:c,root:m}=t,y=(0,a.M)(f),g=(0,r.useId)(),v=!0,x=(0,r.useMemo)(()=>(v=!1,{id:g,initial:i,isPresent:s,custom:u,onExitComplete:t=>{for(let e of(y.set(t,!0),y.values()))if(!e)return;o&&o()},register:t=>(y.set(t,!1),()=>y.delete(t))}),[s,y,o]);return h&&v&&(x={...x}),(0,r.useMemo)(()=>{y.forEach((t,e)=>y.set(e,!1))},[s]),r.useEffect(()=>{s||y.size||!o||o()},[s]),"popLayout"===d&&(e=(0,n.jsx)(p,{isPresent:s,anchorX:c,root:m,children:e})),(0,n.jsx)(l.t.Provider,{value:x,children:e})};function f(){return new Map}var y=i(9219);let g=t=>t.key||"";function v(t){let e=[];return r.Children.forEach(t,t=>{(0,r.isValidElement)(t)&&e.push(t)}),e}let x=t=>{let{children:e,custom:i,initial:l=!0,onExitComplete:u,presenceAffectsLayout:h=!0,mode:d="sync",propagate:c=!1,anchorX:p="left",root:f}=t,[x,w]=(0,y.xQ)(c),b=(0,r.useMemo)(()=>v(e),[e]),_=c&&!x?[]:b.map(g),k=(0,r.useRef)(!0),T=(0,r.useRef)(b),S=(0,a.M)(()=>new Map),P=(0,r.useRef)(new Set),[M,A]=(0,r.useState)(b),[C,E]=(0,r.useState)(b);(0,o.E)(()=>{k.current=!1,T.current=b;for(let t=0;t<C.length;t++){let e=g(C[t]);_.includes(e)?(S.delete(e),P.current.delete(e)):!0!==S.get(e)&&S.set(e,!1)}},[C,_.length,_.join("-")]);let R=[];if(b!==M){let t=[...b];for(let e=0;e<C.length;e++){let i=C[e],n=g(i);_.includes(n)||(t.splice(e,0,i),R.push(i))}return"wait"===d&&R.length&&(t=R),E(v(t)),A(b),null}let{forceRender:D}=(0,r.useContext)(s.L);return(0,n.jsx)(n.Fragment,{children:C.map(t=>{let e=g(t),r=(!c||!!x)&&(b===C||_.includes(e));return(0,n.jsx)(m,{isPresent:r,initial:(!k.current||!!l)&&void 0,custom:i,presenceAffectsLayout:h,mode:d,root:f,onExitComplete:r?void 0:()=>{if(P.current.has(e)||(P.current.add(e),!S.has(e)))return;S.set(e,!0);let t=!0;S.forEach(e=>{e||(t=!1)}),t&&(null==D||D(),E(T.current),c&&(null==w||w()),u&&u())},anchorX:p,children:t},e)})})}},1377:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8889).A)("SquarePlus",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M8 12h8",key:"1wcyev"}],["path",{d:"M12 8v8",key:"napkw2"}]])},1690:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8889).A)("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])},2684:(t,e,i)=>{i.d(e,{c:()=>u});let n={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function r(t){return function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=e.width?String(e.width):t.defaultWidth;return t.formats[i]||t.formats[t.defaultWidth]}}let s={date:r({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:r({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:r({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},a={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function o(t){return(e,i)=>{let n;if("formatting"===((null==i?void 0:i.context)?String(i.context):"standalone")&&t.formattingValues){let e=t.defaultFormattingWidth||t.defaultWidth,r=(null==i?void 0:i.width)?String(i.width):e;n=t.formattingValues[r]||t.formattingValues[e]}else{let e=t.defaultWidth,r=(null==i?void 0:i.width)?String(i.width):t.defaultWidth;n=t.values[r]||t.values[e]}return n[t.argumentCallback?t.argumentCallback(e):e]}}function l(t){return function(e){let i,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,s=r&&t.matchPatterns[r]||t.matchPatterns[t.defaultMatchWidth],a=e.match(s);if(!a)return null;let o=a[0],l=r&&t.parsePatterns[r]||t.parsePatterns[t.defaultParseWidth],u=Array.isArray(l)?function(t,e){for(let i=0;i<t.length;i++)if(e(t[i]))return i}(l,t=>t.test(o)):function(t,e){for(let i in t)if(Object.prototype.hasOwnProperty.call(t,i)&&e(t[i]))return i}(l,t=>t.test(o));return i=t.valueCallback?t.valueCallback(u):u,{value:i=n.valueCallback?n.valueCallback(i):i,rest:e.slice(o.length)}}}let u={code:"en-US",formatDistance:(t,e,i)=>{let r,s=n[t];if(r="string"==typeof s?s:1===e?s.one:s.other.replace("{{count}}",e.toString()),null==i?void 0:i.addSuffix)if(i.comparison&&i.comparison>0)return"in "+r;else return r+" ago";return r},formatLong:s,formatRelative:(t,e,i,n)=>a[t],localize:{ordinalNumber:(t,e)=>{let i=Number(t),n=i%100;if(n>20||n<10)switch(n%10){case 1:return i+"st";case 2:return i+"nd";case 3:return i+"rd"}return i+"th"},era:o({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:o({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:t=>t-1}),month:o({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:o({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:o({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:function(t){return function(e){let i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(t.matchPattern);if(!n)return null;let r=n[0],s=e.match(t.parsePattern);if(!s)return null;let a=t.valueCallback?t.valueCallback(s[0]):s[0];return{value:a=i.valueCallback?i.valueCallback(a):a,rest:e.slice(r.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:t=>parseInt(t,10)}),era:l({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:l({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:t=>t+1}),month:l({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:l({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:l({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}}},2686:(t,e,i)=>{i.d(e,{x:()=>r});var n=i(9922);function r(t){for(var e=arguments.length,i=Array(e>1?e-1:0),r=1;r<e;r++)i[r-1]=arguments[r];let s=n.w.bind(null,t||i.find(t=>"object"==typeof t));return i.map(s)}},3297:(t,e,i)=>{i.d(e,{I:()=>w});var n=i(1229),r=i(494),s=i(2210),a=i(2327),o=i(2153),l=i(7703),u=i(124),h=class extends a.Q{constructor(t,e){super(),this.options=e,this.#t=t,this.#e=null,this.#i=(0,o.T)(),this.bindMethods(),this.setOptions(e)}#t;#n=void 0;#r=void 0;#s=void 0;#a;#o;#i;#e;#l;#u;#h;#d;#c;#p;#m=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#n.addObserver(this),d(this.#n,this.options)?this.#f():this.updateResult(),this.#y())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return c(this.#n,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return c(this.#n,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#g(),this.#v(),this.#n.removeObserver(this)}setOptions(t){let e=this.options,i=this.#n;if(this.options=this.#t.defaultQueryOptions(t),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof(0,l.Eh)(this.options.enabled,this.#n))throw Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#x(),this.#n.setOptions(this.options),e._defaulted&&!(0,l.f8)(this.options,e)&&this.#t.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#n,observer:this});let n=this.hasListeners();n&&p(this.#n,i,this.options,e)&&this.#f(),this.updateResult(),n&&(this.#n!==i||(0,l.Eh)(this.options.enabled,this.#n)!==(0,l.Eh)(e.enabled,this.#n)||(0,l.d2)(this.options.staleTime,this.#n)!==(0,l.d2)(e.staleTime,this.#n))&&this.#w();let r=this.#b();n&&(this.#n!==i||(0,l.Eh)(this.options.enabled,this.#n)!==(0,l.Eh)(e.enabled,this.#n)||r!==this.#p)&&this.#_(r)}getOptimisticResult(t){var e,i;let n=this.#t.getQueryCache().build(this.#t,t),r=this.createResult(n,t);return e=this,i=r,(0,l.f8)(e.getCurrentResult(),i)||(this.#s=r,this.#o=this.options,this.#a=this.#n.state),r}getCurrentResult(){return this.#s}trackResult(t,e){return new Proxy(t,{get:(t,i)=>(this.trackProp(i),e?.(i),"promise"===i&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#i.status||this.#i.reject(Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(t,i))})}trackProp(t){this.#m.add(t)}getCurrentQuery(){return this.#n}refetch({...t}={}){return this.fetch({...t})}fetchOptimistic(t){let e=this.#t.defaultQueryOptions(t),i=this.#t.getQueryCache().build(this.#t,e);return i.fetch().then(()=>this.createResult(i,e))}fetch(t){return this.#f({...t,cancelRefetch:t.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#s))}#f(t){this.#x();let e=this.#n.fetch(this.options,t);return t?.throwOnError||(e=e.catch(l.lQ)),e}#w(){this.#g();let t=(0,l.d2)(this.options.staleTime,this.#n);if(l.S$||this.#s.isStale||!(0,l.gn)(t))return;let e=(0,l.j3)(this.#s.dataUpdatedAt,t);this.#d=u.zs.setTimeout(()=>{this.#s.isStale||this.updateResult()},e+1)}#b(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#n):this.options.refetchInterval)??!1}#_(t){this.#v(),this.#p=t,!l.S$&&!1!==(0,l.Eh)(this.options.enabled,this.#n)&&(0,l.gn)(this.#p)&&0!==this.#p&&(this.#c=u.zs.setInterval(()=>{(this.options.refetchIntervalInBackground||n.m.isFocused())&&this.#f()},this.#p))}#y(){this.#w(),this.#_(this.#b())}#g(){this.#d&&(u.zs.clearTimeout(this.#d),this.#d=void 0)}#v(){this.#c&&(u.zs.clearInterval(this.#c),this.#c=void 0)}createResult(t,e){let i,n=this.#n,r=this.options,a=this.#s,u=this.#a,h=this.#o,c=t!==n?t.state:this.#r,{state:f}=t,y={...f},g=!1;if(e._optimisticResults){let i=this.hasListeners(),a=!i&&d(t,e),o=i&&p(t,n,e,r);(a||o)&&(y={...y,...(0,s.k)(f.data,t.options)}),"isRestoring"===e._optimisticResults&&(y.fetchStatus="idle")}let{error:v,errorUpdatedAt:x,status:w}=y;i=y.data;let b=!1;if(void 0!==e.placeholderData&&void 0===i&&"pending"===w){let t;a?.isPlaceholderData&&e.placeholderData===h?.placeholderData?(t=a.data,b=!0):t="function"==typeof e.placeholderData?e.placeholderData(this.#h?.state.data,this.#h):e.placeholderData,void 0!==t&&(w="success",i=(0,l.pl)(a?.data,t,e),g=!0)}if(e.select&&void 0!==i&&!b)if(a&&i===u?.data&&e.select===this.#l)i=this.#u;else try{this.#l=e.select,i=e.select(i),i=(0,l.pl)(a?.data,i,e),this.#u=i,this.#e=null}catch(t){this.#e=t}this.#e&&(v=this.#e,i=this.#u,x=Date.now(),w="error");let _="fetching"===y.fetchStatus,k="pending"===w,T="error"===w,S=k&&_,P=void 0!==i,M={status:w,fetchStatus:y.fetchStatus,isPending:k,isSuccess:"success"===w,isError:T,isInitialLoading:S,isLoading:S,data:i,dataUpdatedAt:y.dataUpdatedAt,error:v,errorUpdatedAt:x,failureCount:y.fetchFailureCount,failureReason:y.fetchFailureReason,errorUpdateCount:y.errorUpdateCount,isFetched:y.dataUpdateCount>0||y.errorUpdateCount>0,isFetchedAfterMount:y.dataUpdateCount>c.dataUpdateCount||y.errorUpdateCount>c.errorUpdateCount,isFetching:_,isRefetching:_&&!k,isLoadingError:T&&!P,isPaused:"paused"===y.fetchStatus,isPlaceholderData:g,isRefetchError:T&&P,isStale:m(t,e),refetch:this.refetch,promise:this.#i,isEnabled:!1!==(0,l.Eh)(e.enabled,t)};if(this.options.experimental_prefetchInRender){let e=void 0!==M.data,i="error"===M.status&&!e,r=t=>{i?t.reject(M.error):e&&t.resolve(M.data)},s=()=>{r(this.#i=M.promise=(0,o.T)())},a=this.#i;switch(a.status){case"pending":t.queryHash===n.queryHash&&r(a);break;case"fulfilled":(i||M.data!==a.value)&&s();break;case"rejected":i&&M.error===a.reason||s()}}return M}updateResult(){let t=this.#s,e=this.createResult(this.#n,this.options);if(this.#a=this.#n.state,this.#o=this.options,void 0!==this.#a.data&&(this.#h=this.#n),(0,l.f8)(e,t))return;this.#s=e;let i=()=>{if(!t)return!0;let{notifyOnChangeProps:e}=this.options,i="function"==typeof e?e():e;if("all"===i||!i&&!this.#m.size)return!0;let n=new Set(i??this.#m);return this.options.throwOnError&&n.add("error"),Object.keys(this.#s).some(e=>this.#s[e]!==t[e]&&n.has(e))};this.#k({listeners:i()})}#x(){let t=this.#t.getQueryCache().build(this.#t,this.options);if(t===this.#n)return;let e=this.#n;this.#n=t,this.#r=t.state,this.hasListeners()&&(e?.removeObserver(this),t.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#y()}#k(t){r.jG.batch(()=>{t.listeners&&this.listeners.forEach(t=>{t(this.#s)}),this.#t.getQueryCache().notify({query:this.#n,type:"observerResultsUpdated"})})}};function d(t,e){return!1!==(0,l.Eh)(e.enabled,t)&&void 0===t.state.data&&("error"!==t.state.status||!1!==e.retryOnMount)||void 0!==t.state.data&&c(t,e,e.refetchOnMount)}function c(t,e,i){if(!1!==(0,l.Eh)(e.enabled,t)&&"static"!==(0,l.d2)(e.staleTime,t)){let n="function"==typeof i?i(t):i;return"always"===n||!1!==n&&m(t,e)}return!1}function p(t,e,i,n){return(t!==e||!1===(0,l.Eh)(n.enabled,t))&&(!i.suspense||"error"!==t.state.status)&&m(t,i)}function m(t,e){return!1!==(0,l.Eh)(e.enabled,t)&&t.isStaleByTime((0,l.d2)(e.staleTime,t))}var f=i(7620),y=i(7606);i(4568);var g=f.createContext(function(){let t=!1;return{clearReset:()=>{t=!1},reset:()=>{t=!0},isReset:()=>t}}()),v=f.createContext(!1);v.Provider;var x=(t,e,i)=>e.fetchOptimistic(t).catch(()=>{i.clearReset()});function w(t,e){return function(t,e,i){var n,s,a,o;let u=f.useContext(v),h=f.useContext(g),d=(0,y.jE)(i),c=d.defaultQueryOptions(t);null==(s=d.getDefaultOptions().queries)||null==(n=s._experimental_beforeQuery)||n.call(s,c);let p=d.getQueryCache().get(c.queryHash);if(c._optimisticResults=u?"isRestoring":"optimistic",c.suspense){let t=t=>"static"===t?t:Math.max(t??1e3,1e3),e=c.staleTime;c.staleTime="function"==typeof e?(...i)=>t(e(...i)):t(e),"number"==typeof c.gcTime&&(c.gcTime=Math.max(c.gcTime,1e3))}let m=(null==p?void 0:p.state.error)&&"function"==typeof c.throwOnError?(0,l.GU)(c.throwOnError,[p.state.error,p]):c.throwOnError;(c.suspense||c.experimental_prefetchInRender||m)&&!h.isReset()&&(c.retryOnMount=!1),f.useEffect(()=>{h.clearReset()},[h]);let w=!d.getQueryCache().get(c.queryHash),[b]=f.useState(()=>new e(d,c)),_=b.getOptimisticResult(c),k=!u&&!1!==t.subscribed;if(f.useSyncExternalStore(f.useCallback(t=>{let e=k?b.subscribe(r.jG.batchCalls(t)):l.lQ;return b.updateResult(),e},[b,k]),()=>b.getCurrentResult(),()=>b.getCurrentResult()),f.useEffect(()=>{b.setOptions(c)},[c,b]),c?.suspense&&_.isPending)throw x(c,b,h);if((t=>{let{result:e,errorResetBoundary:i,throwOnError:n,query:r,suspense:s}=t;return e.isError&&!i.isReset()&&!e.isFetching&&r&&(s&&void 0===e.data||(0,l.GU)(n,[e.error,r]))})({result:_,errorResetBoundary:h,throwOnError:c.throwOnError,query:p,suspense:c.suspense}))throw _.error;if(null==(o=d.getDefaultOptions().queries)||null==(a=o._experimental_afterQuery)||a.call(o,c,_),c.experimental_prefetchInRender&&!l.S$&&_.isLoading&&_.isFetching&&!u){let t=w?x(c,b,h):null==p?void 0:p.promise;null==t||t.catch(l.lQ).finally(()=>{b.updateResult()})}return c.notifyOnChangeProps?_:b.trackResult(_)}(t,h,e)}},3877:(t,e,i)=>{i.d(e,{Q:()=>n});let n=(0,i(7620).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},3908:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8889).A)("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]])},3991:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8889).A)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])},4259:(t,e,i)=>{i.d(e,{q:()=>r});let n={};function r(){return n}},5191:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8889).A)("CircleCheckBig",[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]])},5256:(t,e,i)=>{let n;i.d(e,{P:()=>sw});let r=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=new Set(r),a=(t,e,i)=>i>e?e:i<t?t:i,o={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},l={...o,transform:t=>a(0,1,t)},u={...o,default:1},h=t=>Math.round(1e5*t)/1e5,d=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,c=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,p=(t,e)=>i=>!!("string"==typeof i&&c.test(i)&&i.startsWith(t)||e&&null!=i&&Object.prototype.hasOwnProperty.call(i,e)),m=(t,e,i)=>n=>{if("string"!=typeof n)return n;let[r,s,a,o]=n.match(d);return{[t]:parseFloat(r),[e]:parseFloat(s),[i]:parseFloat(a),alpha:void 0!==o?parseFloat(o):1}},f={...o,transform:t=>Math.round(a(0,255,t))},y={test:p("rgb","red"),parse:m("red","green","blue"),transform:({red:t,green:e,blue:i,alpha:n=1})=>"rgba("+f.transform(t)+", "+f.transform(e)+", "+f.transform(i)+", "+h(l.transform(n))+")"},g={test:p("#"),parse:function(t){let e="",i="",n="",r="";return t.length>5?(e=t.substring(1,3),i=t.substring(3,5),n=t.substring(5,7),r=t.substring(7,9)):(e=t.substring(1,2),i=t.substring(2,3),n=t.substring(3,4),r=t.substring(4,5),e+=e,i+=i,n+=n,r+=r),{red:parseInt(e,16),green:parseInt(i,16),blue:parseInt(n,16),alpha:r?parseInt(r,16)/255:1}},transform:y.transform},v=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),x=v("deg"),w=v("%"),b=v("px"),_=v("vh"),k=v("vw"),T={...w,parse:t=>w.parse(t)/100,transform:t=>w.transform(100*t)},S={test:p("hsl","hue"),parse:m("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:i,alpha:n=1})=>"hsla("+Math.round(t)+", "+w.transform(h(e))+", "+w.transform(h(i))+", "+h(l.transform(n))+")"},P={test:t=>y.test(t)||g.test(t)||S.test(t),parse:t=>y.test(t)?y.parse(t):S.test(t)?S.parse(t):g.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?y.transform(t):S.transform(t),getAnimatableNone:t=>{let e=P.parse(t);return e.alpha=0,P.transform(e)}},M=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,A="number",C="color",E=/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 R(t){let e=t.toString(),i=[],n={color:[],number:[],var:[]},r=[],s=0,a=e.replace(E,t=>(P.test(t)?(n.color.push(s),r.push(C),i.push(P.parse(t))):t.startsWith("var(")?(n.var.push(s),r.push("var"),i.push(t)):(n.number.push(s),r.push(A),i.push(parseFloat(t))),++s,"${}")).split("${}");return{values:i,split:a,indexes:n,types:r}}function D(t){return R(t).values}function O(t){let{split:e,types:i}=R(t),n=e.length;return t=>{let r="";for(let s=0;s<n;s++)if(r+=e[s],void 0!==t[s]){let e=i[s];e===A?r+=h(t[s]):e===C?r+=P.transform(t[s]):r+=t[s]}return r}}let j=t=>"number"==typeof t?0:P.test(t)?P.getAnimatableNone(t):t,V={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(d)?.length||0)+(t.match(M)?.length||0)>0},parse:D,createTransformer:O,getAnimatableNone:function(t){let e=D(t);return O(t)(e.map(j))}},I=new Set(["brightness","contrast","saturate","opacity"]);function F(t){let[e,i]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;let[n]=i.match(d)||[];if(!n)return t;let r=i.replace(n,""),s=+!!I.has(e);return n!==i&&(s*=100),e+"("+s+r+")"}let L=/\b([a-z-]*)\(.*?\)/gu,N={...V,getAnimatableNone:t=>{let e=t.match(L);return e?e.map(F).join(" "):t}},B={...o,transform:Math.round},Z={borderWidth:b,borderTopWidth:b,borderRightWidth:b,borderBottomWidth:b,borderLeftWidth:b,borderRadius:b,radius:b,borderTopLeftRadius:b,borderTopRightRadius:b,borderBottomRightRadius:b,borderBottomLeftRadius:b,width:b,maxWidth:b,height:b,maxHeight:b,top:b,right:b,bottom:b,left:b,inset:b,insetBlock:b,insetBlockStart:b,insetBlockEnd:b,insetInline:b,insetInlineStart:b,insetInlineEnd:b,padding:b,paddingTop:b,paddingRight:b,paddingBottom:b,paddingLeft:b,paddingBlock:b,paddingBlockStart:b,paddingBlockEnd:b,paddingInline:b,paddingInlineStart:b,paddingInlineEnd:b,margin:b,marginTop:b,marginRight:b,marginBottom:b,marginLeft:b,marginBlock:b,marginBlockStart:b,marginBlockEnd:b,marginInline:b,marginInlineStart:b,marginInlineEnd:b,backgroundPositionX:b,backgroundPositionY:b,rotate:x,rotateX:x,rotateY:x,rotateZ:x,scale:u,scaleX:u,scaleY:u,scaleZ:u,skew:x,skewX:x,skewY:x,distance:b,translateX:b,translateY:b,translateZ:b,x:b,y:b,z:b,perspective:b,transformPerspective:b,opacity:l,originX:T,originY:T,originZ:b,zIndex:B,fillOpacity:l,strokeOpacity:l,numOctaves:B},$={...Z,color:P,backgroundColor:P,outlineColor:P,fill:P,stroke:P,borderColor:P,borderTopColor:P,borderRightColor:P,borderBottomColor:P,borderLeftColor:P,filter:N,WebkitFilter:N},W=t=>$[t],U=()=>({translate:0,scale:1,origin:0,originPoint:0}),z=()=>({x:U(),y:U()}),Y=()=>({min:0,max:0}),Q=()=>({x:Y(),y:Y()}),q=t=>!!(t&&t.getVelocity),H=new Set(["width","height","top","left","right","bottom",...r]),X=t=>e=>e.test(t),K=[o,b,w,x,k,_,{test:t=>"auto"===t,parse:t=>t}],G=t=>K.find(X(t));i(4338);let J=()=>{},tt=()=>{},te=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),ti=t=>e=>"string"==typeof e&&e.startsWith(t),tn=ti("--"),tr=ti("var(--"),ts=t=>!!tr(t)&&ta.test(t.split("/*")[0].trim()),ta=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function to(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}let tl=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u,tu=t=>180*t/Math.PI,th=t=>tc(tu(Math.atan2(t[1],t[0]))),td={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:th,rotateZ:th,skewX:t=>tu(Math.atan(t[1])),skewY:t=>tu(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},tc=t=>((t%=360)<0&&(t+=360),t),tp=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),tm=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),tf={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:tp,scaleY:tm,scale:t=>(tp(t)+tm(t))/2,rotateX:t=>tc(tu(Math.atan2(t[6],t[5]))),rotateY:t=>tc(tu(Math.atan2(-t[2],t[0]))),rotateZ:th,rotate:th,skewX:t=>tu(Math.atan(t[4])),skewY:t=>tu(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function ty(t){return+!!t.includes("scale")}function tg(t,e){let i,n;if(!t||"none"===t)return ty(e);let r=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);if(r)i=tf,n=r;else{let e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=td,n=e}if(!n)return ty(e);let s=i[e],a=n[1].split(",").map(tv);return"function"==typeof s?s(a):a[s]}function tv(t){return parseFloat(t.trim())}let tx=t=>t===o||t===b,tw=new Set(["x","y","z"]),tb=r.filter(t=>!tw.has(t)),t_={width:({x:t},{paddingLeft:e="0",paddingRight:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),height:({y:t},{paddingTop:e="0",paddingBottom:i="0"})=>t.max-t.min-parseFloat(e)-parseFloat(i),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>tg(e,"x"),y:(t,{transform:e})=>tg(e,"y")};t_.translateX=t_.x,t_.translateY=t_.y;let tk=t=>t,tT={},tS=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],tP={value:null,addProjectionMetrics:null};function tM(t,e){let i=!1,n=!0,r={delta:0,timestamp:0,isProcessing:!1},s=()=>i=!0,a=tS.reduce((t,i)=>(t[i]=function(t,e){let i=new Set,n=new Set,r=!1,s=!1,a=new WeakSet,o={delta:0,timestamp:0,isProcessing:!1},l=0;function u(e){a.has(e)&&(h.schedule(e),t()),l++,e(o)}let h={schedule:(t,e=!1,s=!1)=>{let o=s&&r?i:n;return e&&a.add(t),o.has(t)||o.add(t),t},cancel:t=>{n.delete(t),a.delete(t)},process:t=>{if(o=t,r){s=!0;return}r=!0,[i,n]=[n,i],i.forEach(u),e&&tP.value&&tP.value.frameloop[e].push(l),l=0,i.clear(),r=!1,s&&(s=!1,h.process(t))}};return h}(s,e?i:void 0),t),{}),{setup:o,read:l,resolveKeyframes:u,preUpdate:h,update:d,preRender:c,render:p,postRender:m}=a,f=()=>{let s=tT.useManualTiming?r.timestamp:performance.now();i=!1,tT.useManualTiming||(r.delta=n?1e3/60:Math.max(Math.min(s-r.timestamp,40),1)),r.timestamp=s,r.isProcessing=!0,o.process(r),l.process(r),u.process(r),h.process(r),d.process(r),c.process(r),p.process(r),m.process(r),r.isProcessing=!1,i&&e&&(n=!1,t(f))};return{schedule:tS.reduce((e,s)=>{let o=a[s];return e[s]=(e,s=!1,a=!1)=>(!i&&(i=!0,n=!0,r.isProcessing||t(f)),o.schedule(e,s,a)),e},{}),cancel:t=>{for(let e=0;e<tS.length;e++)a[tS[e]].cancel(t)},state:r,steps:a}}let{schedule:tA,cancel:tC,state:tE,steps:tR}=tM("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:tk,!0),tD=new Set,tO=!1,tj=!1,tV=!1;function tI(){if(tj){let t=Array.from(tD).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),i=new Map;e.forEach(t=>{let e=function(t){let e=[];return tb.forEach(i=>{let n=t.getValue(i);void 0!==n&&(e.push([i,n.get()]),n.set(+!!i.startsWith("scale")))}),e}(t);e.length&&(i.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();let e=i.get(t);e&&e.forEach(([e,i])=>{t.getValue(e)?.set(i)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}tj=!1,tO=!1,tD.forEach(t=>t.complete(tV)),tD.clear()}function tF(){tD.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(tj=!0)})}class tL{constructor(t,e,i,n,r,s=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=i,this.motionValue=n,this.element=r,this.isAsync=s}scheduleResolve(){this.state="scheduled",this.isAsync?(tD.add(this),tO||(tO=!0,tA.read(tF),tA.resolveKeyframes(tI))):(this.readKeyframes(),this.complete())}readKeyframes(){let{unresolvedKeyframes:t,name:e,element:i,motionValue:n}=this;if(null===t[0]){let r=n?.get(),s=t[t.length-1];if(void 0!==r)t[0]=r;else if(i&&e){let n=i.readValue(e,s);null!=n&&(t[0]=n)}void 0===t[0]&&(t[0]=s),n&&void 0===r&&n.set(t[0])}for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),tD.delete(this)}cancel(){"scheduled"===this.state&&(tD.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}let tN=t=>/^0[^.\s]+$/u.test(t);function tB(t,e){let i=W(t);return i!==N&&(i=V),i.getAnimatableNone?i.getAnimatableNone(e):void 0}let tZ=new Set(["auto","none","0"]);class t$ extends tL{constructor(t,e,i,n,r){super(t,e,i,n,r,!0)}readKeyframes(){let{unresolvedKeyframes:t,element:e,name:i}=this;if(!e||!e.current)return;super.readKeyframes();for(let i=0;i<t.length;i++){let n=t[i];if("string"==typeof n&&ts(n=n.trim())){let r=function t(e,i,n=1){tt(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`,"max-css-var-depth");let[r,s]=function(t){let e=tl.exec(t);if(!e)return[,];let[,i,n,r]=e;return[`--${i??n}`,r]}(e);if(!r)return;let a=window.getComputedStyle(i).getPropertyValue(r);if(a){let t=a.trim();return te(t)?parseFloat(t):t}return ts(s)?t(s,i,n+1):s}(n,e.current);void 0!==r&&(t[i]=r),i===t.length-1&&(this.finalKeyframe=n)}}if(this.resolveNoneKeyframes(),!H.has(i)||2!==t.length)return;let[n,r]=t,s=G(n),a=G(r);if(to(n)!==to(r)&&t_[i]){this.needsMeasurement=!0;return}if(s!==a)if(tx(s)&&tx(a))for(let e=0;e<t.length;e++){let i=t[e];"string"==typeof i&&(t[e]=parseFloat(i))}else t_[i]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){let{unresolvedKeyframes:t,name:e}=this,i=[];for(let e=0;e<t.length;e++){var n;(null===t[e]||("number"==typeof(n=t[e])?0===n:null===n||"none"===n||"0"===n||tN(n)))&&i.push(e)}i.length&&function(t,e,i){let n,r=0;for(;r<t.length&&!n;){let e=t[r];"string"==typeof e&&!tZ.has(e)&&R(e).values.length&&(n=t[r]),r++}if(n&&i)for(let r of e)t[r]=tB(i,n)}(t,i,e)}measureInitialState(){let{element:t,unresolvedKeyframes:e,name:i}=this;if(!t||!t.current)return;"height"===i&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=t_[i](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;let n=e[e.length-1];void 0!==n&&t.getValue(i,n).jump(n,!1)}measureEndState(){let{element:t,name:e,unresolvedKeyframes:i}=this;if(!t||!t.current)return;let n=t.getValue(e);n&&n.jump(this.measuredOrigin,!1);let r=i.length-1,s=i[r];i[r]=t_[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==s&&void 0===this.finalKeyframe&&(this.finalKeyframe=s),this.removedTransforms?.length&&this.removedTransforms.forEach(([e,i])=>{t.getValue(e).set(i)}),this.resolveNoneKeyframes()}}function tW(t,e){-1===t.indexOf(e)&&t.push(e)}function tU(t,e){let i=t.indexOf(e);i>-1&&t.splice(i,1)}class tz{constructor(){this.subscriptions=[]}add(t){return tW(this.subscriptions,t),()=>tU(this.subscriptions,t)}notify(t,e,i){let n=this.subscriptions.length;if(n)if(1===n)this.subscriptions[0](t,e,i);else for(let r=0;r<n;r++){let n=this.subscriptions[r];n&&n(t,e,i)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}let{schedule:tY}=tM(queueMicrotask,!1);function tQ(){n=void 0}let tq={now:()=>(void 0===n&&tq.set(tE.isProcessing||tT.useManualTiming?tE.timestamp:performance.now()),n),set:t=>{n=t,queueMicrotask(tQ)}},tH={current:void 0};class tX{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{let e=tq.now();if(this.updatedAt!==e&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(t),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(let t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){this.current=t,this.updatedAt=tq.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=!isNaN(parseFloat(this.current)))}setPrevFrameValue(t=this.current){this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt}onChange(t){return this.on("change",t)}on(t,e){this.events[t]||(this.events[t]=new tz);let i=this.events[t].add(e);return"change"===t?()=>{i(),tA.read(()=>{this.events.change.getSize()||this.stop()})}:i}clearListeners(){for(let t in this.events)this.events[t].clear()}attach(t,e){this.passiveEffect=t,this.stopPassiveEffect=e}set(t){this.passiveEffect?this.passiveEffect(t,this.updateAndNotify):this.updateAndNotify(t)}setWithVelocity(t,e,i){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-i}jump(t,e=!0){this.updateAndNotify(t),this.prev=t,this.prevUpdatedAt=this.prevFrameValue=void 0,e&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(t){this.dependents||(this.dependents=new Set),this.dependents.add(t)}removeDependent(t){this.dependents&&this.dependents.delete(t)}get(){return tH.current&&tH.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){var t;let e=tq.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;let i=Math.min(this.updatedAt-this.prevUpdatedAt,30);return t=parseFloat(this.current)-parseFloat(this.prevFrameValue),i?1e3/i*t:0}start(t){return this.stop(),new Promise(e=>{this.hasAnimated=!0,this.animation=t(e),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function tK(t,e){return new tX(t,e)}let tG=[...K,P,V],tJ={current:null},t0={current:!1},t1="undefined"!=typeof window,t2=new WeakMap;function t9(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function t4(t){return"string"==typeof t||Array.isArray(t)}let t3=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],t5=["initial",...t3];function t8(t){return t9(t.animate)||t5.some(e=>t4(t[e]))}function t6(t){return!!(t8(t)||t.variants)}function t7(t){let e=[{},{}];return t?.values.forEach((t,i)=>{e[0][i]=t.get(),e[1][i]=t.getVelocity()}),e}function et(t,e,i,n){if("function"==typeof e){let[r,s]=t7(n);e=e(void 0!==i?i:t.custom,r,s)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){let[r,s]=t7(n);e=e(void 0!==i?i:t.custom,r,s)}return e}let ee=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],ei={};class en{scrapeMotionValuesFromProps(t,e,i){return{}}constructor({parent:t,props:e,presenceContext:i,reducedMotionConfig:n,blockInitialAnimation:r,visualState:s},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=tL,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{let t=tq.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,tA.render(this.render,!1,!0))};let{latestValues:o,renderState:l}=s;this.latestValues=o,this.baseTarget={...o},this.initialValues=e.initial?{...o}:{},this.renderState=l,this.parent=t,this.props=e,this.presenceContext=i,this.depth=t?t.depth+1:0,this.reducedMotionConfig=n,this.options=a,this.blockInitialAnimation=!!r,this.isControllingVariants=t8(e),this.isVariantNode=t6(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(t&&t.current);let{willChange:u,...h}=this.scrapeMotionValuesFromProps(e,{},this);for(let t in h){let e=h[t];void 0!==o[t]&&q(e)&&e.set(o[t])}}mount(t){this.current=t,t2.set(t,this),this.projection&&!this.projection.instance&&this.projection.mount(t),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((t,e)=>this.bindToMotionValue(e,t)),"never"===this.reducedMotionConfig?this.shouldReduceMotion=!1:"always"===this.reducedMotionConfig?this.shouldReduceMotion=!0:(t0.current||function(){if(t0.current=!0,t1)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>tJ.current=t.matches;t.addEventListener("change",e),e()}else tJ.current=!1}(),this.shouldReduceMotion=tJ.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){for(let t in this.projection&&this.projection.unmount(),tC(this.notifyUpdate),tC(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this),this.events)this.events[t].clear();for(let t in this.features){let e=this.features[t];e&&(e.unmount(),e.isMounted=!1)}this.current=null}addChild(t){this.children.add(t),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(t)}removeChild(t){this.children.delete(t),this.enteringChildren&&this.enteringChildren.delete(t)}bindToMotionValue(t,e){let i;this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)();let n=s.has(t);n&&this.onBindTransform&&this.onBindTransform();let r=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&tA.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});"undefined"!=typeof window&&window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{r(),i&&i(),e.owner&&e.stop()})}sortNodePosition(t){return this.current&&this.sortInstanceNodePosition&&this.type===t.type?this.sortInstanceNodePosition(this.current,t.current):0}updateFeatures(){let t="animation";for(t in ei){let e=ei[t];if(!e)continue;let{isEnabled:i,Feature:n}=e;if(!this.features[t]&&n&&i(this.props)&&(this.features[t]=new n(this)),this.features[t]){let e=this.features[t];e.isMounted?e.update():(e.mount(),e.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):Q()}getStaticValue(t){return this.latestValues[t]}setStaticValue(t,e){this.latestValues[t]=e}update(t,e){(t.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=t,this.prevPresenceContext=this.presenceContext,this.presenceContext=e;for(let e=0;e<ee.length;e++){let i=ee[e];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);let n=t["on"+i];n&&(this.propEventSubscriptions[i]=this.on(i,n))}this.prevMotionValues=function(t,e,i){for(let n in e){let r=e[n],s=i[n];if(q(r))t.addValue(n,r);else if(q(s))t.addValue(n,tK(r,{owner:t}));else if(s!==r)if(t.hasValue(n)){let e=t.getValue(n);!0===e.liveStyle?e.jump(r):e.hasAnimated||e.set(r)}else{let e=t.getStaticValue(n);t.addValue(n,tK(void 0!==e?e:r,{owner:t}))}}for(let n in i)void 0===e[n]&&t.removeValue(n);return e}(this,this.scrapeMotionValuesFromProps(t,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(t){return this.props.variants?this.props.variants[t]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(t){let e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){let i=this.values.get(t);e!==i&&(i&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);let e=this.valueSubscriptions.get(t);e&&(e(),this.valueSubscriptions.delete(t)),delete this.latestValues[t],this.removeValueFromRenderState(t,this.renderState)}hasValue(t){return this.values.has(t)}getValue(t,e){if(this.props.values&&this.props.values[t])return this.props.values[t];let i=this.values.get(t);return void 0===i&&void 0!==e&&(i=tK(null===e?void 0:e,{owner:this}),this.addValue(t,i)),i}readValue(t,e){let i=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];if(null!=i){if("string"==typeof i&&(te(i)||tN(i)))i=parseFloat(i);else{let n;n=i,!tG.find(X(n))&&V.test(e)&&(i=tB(t,e))}this.setBaseTarget(t,q(i)?i.get():i)}return q(i)?i.get():i}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){let e,{initial:i}=this.props;if("string"==typeof i||"object"==typeof i){let n=et(this.props,i,this.presenceContext?.custom);n&&(e=n[t])}if(i&&void 0!==e)return e;let n=this.getBaseTargetFromProps(this.props,t);return void 0===n||q(n)?void 0!==this.initialValues[t]&&void 0===e?void 0:this.baseTarget[t]:n}on(t,e){return this.events[t]||(this.events[t]=new tz),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){tY.render(this.render)}}class er extends en{constructor(){super(...arguments),this.KeyframeResolver=t$}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){let i=t.style;return i?i[e]:void 0}removeValueFromRenderState(t,{vars:e,style:i}){delete e[t],delete i[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:t}=this.props;q(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function es(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}let ea=(t,e)=>e&&"number"==typeof t?e.transform(t):t,eo={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},el=r.length;function eu(t,e,i){let{style:n,vars:a,transformOrigin:o}=t,l=!1,u=!1;for(let t in e){let i=e[t];if(s.has(t)){l=!0;continue}if(tn(t)){a[t]=i;continue}{let e=ea(i,Z[t]);t.startsWith("origin")?(u=!0,o[t]=e):n[t]=e}}if(!e.transform&&(l||i?n.transform=function(t,e,i){let n="",s=!0;for(let a=0;a<el;a++){let o=r[a],l=t[o];if(void 0===l)continue;let u=!0;if(!(u="number"==typeof l?l===+!!o.startsWith("scale"):0===parseFloat(l))||i){let t=ea(l,Z[o]);if(!u){s=!1;let e=eo[o]||o;n+=`${e}(${t}) `}i&&(e[o]=t)}}return n=n.trim(),i?n=i(e,s?"":n):s&&(n="none"),n}(e,t.transform,i):n.transform&&(n.transform="none")),u){let{originX:t="50%",originY:e="50%",originZ:i=0}=o;n.transformOrigin=`${t} ${e} ${i}`}}let eh={offset:"stroke-dashoffset",array:"stroke-dasharray"},ed={offset:"strokeDashoffset",array:"strokeDasharray"},ec=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function ep(t,{attrX:e,attrY:i,attrScale:n,pathLength:r,pathSpacing:s=1,pathOffset:a=0,...o},l,u,h){if(eu(t,o,u),l){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:d,style:c}=t;for(let t of(d.transform&&(c.transform=d.transform,delete d.transform),(c.transform||d.transformOrigin)&&(c.transformOrigin=d.transformOrigin??"50% 50%",delete d.transformOrigin),c.transform&&(c.transformBox=h?.transformBox??"fill-box",delete d.transformBox),ec))void 0!==d[t]&&(c[t]=d[t],delete d[t]);void 0!==e&&(d.x=e),void 0!==i&&(d.y=i),void 0!==n&&(d.scale=n),void 0!==r&&function(t,e,i=1,n=0,r=!0){t.pathLength=1;let s=r?eh:ed;t[s.offset]=b.transform(-n);let a=b.transform(e),o=b.transform(i);t[s.array]=`${a} ${o}`}(d,r,s,a,!1)}let em=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"]),ef=t=>"string"==typeof t&&"svg"===t.toLowerCase();function ey(t,{style:e,vars:i},n,r){let s,a=t.style;for(s in e)a[s]=e[s];for(s in r?.applyProjectionStyles(a,n),i)a.setProperty(s,i[s])}function eg(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}let ev={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t)if(!b.test(t))return t;else t=parseFloat(t);let i=eg(t,e.target.x),n=eg(t,e.target.y);return`${i}% ${n}%`}},ex=(t,e,i)=>t+(e-t)*i,ew={borderRadius:{...ev,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ev,borderTopRightRadius:ev,borderBottomLeftRadius:ev,borderBottomRightRadius:ev,boxShadow:{correct:(t,{treeScale:e,projectionDelta:i})=>{let n=V.parse(t);if(n.length>5)return t;let r=V.createTransformer(t),s=+("number"!=typeof n[0]),a=i.x.scale*e.x,o=i.y.scale*e.y;n[0+s]/=a,n[1+s]/=o;let l=ex(a,o,.5);return"number"==typeof n[2+s]&&(n[2+s]/=l),"number"==typeof n[3+s]&&(n[3+s]/=l),r(n)}}};function eb(t,{layout:e,layoutId:i}){return s.has(t)||t.startsWith("origin")||(e||void 0!==i)&&(!!ew[t]||"opacity"===t)}function e_(t,e,i){let n=t.style,r=e?.style,s={};if(!n)return s;for(let e in n)(q(n[e])||r&&q(r[e])||eb(e,t)||i?.getValue(e)?.liveStyle!==void 0)&&(s[e]=n[e]);return s}function ek(t,e,i){let n=e_(t,e,i);for(let i in t)(q(t[i])||q(e[i]))&&(n[-1!==r.indexOf(i)?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i]=t[i]);return n}class eT extends er{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Q}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(s.has(e)){let t=W(e);return t&&t.default||0}return e=em.has(e)?e:es(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,i){return ek(t,e,i)}build(t,e,i){ep(t,e,this.isSVGTag,i.transformTemplate,i.style)}renderInstance(t,e,i,n){for(let i in ey(t,e,void 0,n),e.attrs)t.setAttribute(em.has(i)?i:es(i),e.attrs[i])}mount(t){this.isSVGTag=ef(t.tagName),super.mount(t)}}function eS({top:t,left:e,right:i,bottom:n}){return{x:{min:e,max:i},y:{min:t,max:n}}}function eP(t){return void 0===t||1===t}function eM({scale:t,scaleX:e,scaleY:i}){return!eP(t)||!eP(e)||!eP(i)}function eA(t){return eM(t)||eC(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function eC(t){var e,i;return(e=t.x)&&"0%"!==e||(i=t.y)&&"0%"!==i}function eE(t,e,i,n,r){return void 0!==r&&(t=n+r*(t-n)),n+i*(t-n)+e}function eR(t,e=0,i=1,n,r){t.min=eE(t.min,e,i,n,r),t.max=eE(t.max,e,i,n,r)}function eD(t,{x:e,y:i}){eR(t.x,e.translate,e.scale,e.originPoint),eR(t.y,i.translate,i.scale,i.originPoint)}function eO(t,e){t.min=t.min+e,t.max=t.max+e}function ej(t,e,i,n,r=.5){let s=ex(t.min,t.max,r);eR(t,e,i,s,n)}function eV(t,e){ej(t.x,e.x,e.scaleX,e.scale,e.originX),ej(t.y,e.y,e.scaleY,e.scale,e.originY)}function eI(t,e){return eS(function(t,e){if(!e)return t;let i=e({x:t.left,y:t.top}),n=e({x:t.right,y:t.bottom});return{top:i.y,left:i.x,bottom:n.y,right:n.x}}(t.getBoundingClientRect(),e))}class eF extends er{constructor(){super(...arguments),this.type="html",this.renderInstance=ey}readValueFromInstance(t,e){if(s.has(e))return this.projection?.isProjecting?ty(e):((t,e)=>{let{transform:i="none"}=getComputedStyle(t);return tg(i,e)})(t,e);{let i=window.getComputedStyle(t),n=(tn(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof n?n.trim():n}}measureInstanceViewportBox(t,{transformPagePoint:e}){return eI(t,e)}build(t,e,i){eu(t,e,i.transformTemplate)}scrapeMotionValuesFromProps(t,e,i){return e_(t,e,i)}}var eL=i(7620);let eN=["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 eB(t){if("string"!=typeof t||t.includes("-"));else if(eN.indexOf(t)>-1||/[A-Z]/u.test(t))return!0;return!1}var eZ=i(4568),e$=i(8386);let eW=(0,eL.createContext)({strict:!1});var eU=i(3877);let ez=(0,eL.createContext)({});function eY(t){return Array.isArray(t)?t.join(" "):t}let eQ=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function eq(t,e,i){for(let n in e)q(e[n])||eb(n,i)||(t[n]=e[n])}let eH=()=>({...eQ(),attrs:{}}),eX=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 eK(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||eX.has(t)}let eG=t=>!eK(t);try{!function(t){"function"==typeof t&&(eG=e=>e.startsWith("on")?!eK(e):t(e))}(require("@emotion/is-prop-valid").default)}catch{}function eJ(t){return q(t)?t.get():t}var e0=i(548),e1=i(8094);let e2=t=>(e,i)=>{let n=(0,eL.useContext)(ez),r=(0,eL.useContext)(e0.t),s=()=>(function(t,e,i,n){let{scrapeMotionValuesFromProps:r,createRenderState:s}=t;return{latestValues:function(t,e,i,n){let r={},s=n(t,{});for(let t in s)r[t]=eJ(s[t]);let{initial:a,animate:o}=t,l=t8(t),u=t6(t);e&&u&&!l&&!1!==t.inherit&&(void 0===a&&(a=e.initial),void 0===o&&(o=e.animate));let h=!!i&&!1===i.initial,d=(h=h||!1===a)?o:a;if(d&&"boolean"!=typeof d&&!t9(d)){let e=Array.isArray(d)?d:[d];for(let i=0;i<e.length;i++){let n=et(t,e[i]);if(n){let{transitionEnd:t,transition:e,...i}=n;for(let t in i){let e=i[t];if(Array.isArray(e)){let t=h?e.length-1:0;e=e[t]}null!==e&&(r[t]=e)}for(let e in t)r[e]=t[e]}}}return r}(e,i,n,r),renderState:s()}})(t,e,n,r);return i?s():(0,e1.M)(s)},e9=e2({scrapeMotionValuesFromProps:e_,createRenderState:eQ}),e4=e2({scrapeMotionValuesFromProps:ek,createRenderState:eH});var e3=i(8416);let e5={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"]},e8=!1;function e6(){return!function(){if(e8)return;let t={};for(let e in e5)t[e]={isEnabled:t=>e5[e].some(e=>!!t[e])};ei=t,e8=!0}(),ei}let e7=Symbol.for("motionComponentSymbol"),it="data-"+es("framerAppearId"),ie=(0,eL.createContext)({});function ii(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var ir=i(6303);function is(t){var e,i;let{forwardMotionProps:n=!1,type:r}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=arguments.length>2?arguments[2]:void 0,a=arguments.length>3?arguments[3]:void 0;s&&function(t){let e=e6();for(let i in t)e[i]={...e[i],...t[i]};ei=e}(s);let o=r?"svg"===r:eB(t),l=o?e4:e9;function u(e,i){let r,s={...(0,eL.useContext)(eU.Q),...e,layoutId:function(t){let{layoutId:e}=t,i=(0,eL.useContext)(e$.L).id;return i&&void 0!==e?i+"-"+e:e}(e)},{isStatic:u}=s,h=function(t){let{initial:e,animate:i}=function(t,e){if(t8(t)){let{initial:e,animate:i}=t;return{initial:!1===e||t4(e)?e:void 0,animate:t4(i)?i:void 0}}return!1!==t.inherit?e:{}}(t,(0,eL.useContext)(ez));return(0,eL.useMemo)(()=>({initial:e,animate:i}),[eY(e),eY(i)])}(e),d=l(e,u);if(!u&&e3.B){(0,eL.useContext)(eW).strict;let e=function(t){let{drag:e,layout:i}=e6();if(!e&&!i)return{};let n={...e,...i};return{MeasureLayout:(null==e?void 0:e.isEnabled(t))||(null==i?void 0:i.isEnabled(t))?n.MeasureLayout:void 0,ProjectionNode:n.ProjectionNode}}(s);r=e.MeasureLayout,h.visualElement=function(t,e,i,n,r,s){var a,o,l,u;let{visualElement:h}=(0,eL.useContext)(ez),d=(0,eL.useContext)(eW),c=(0,eL.useContext)(e0.t),p=(0,eL.useContext)(eU.Q).reducedMotion,m=(0,eL.useRef)(null);n=n||d.renderer,!m.current&&n&&(m.current=n(t,{visualState:e,parent:h,props:i,presenceContext:c,blockInitialAnimation:!!c&&!1===c.initial,reducedMotionConfig:p,isSVG:s}));let f=m.current,y=(0,eL.useContext)(ie);f&&!f.projection&&r&&("html"===f.type||"svg"===f.type)&&function(t,e,i,n){let{layoutId:r,layout:s,drag:a,dragConstraints:o,layoutScroll:l,layoutRoot:u,layoutCrossfade:h}=e;t.projection=new i(t.latestValues,e["data-framer-portal-id"]?void 0:function t(e){if(e)return!1!==e.options.allowProjection?e.projection:t(e.parent)}(t.parent)),t.projection.setOptions({layoutId:r,layout:s,alwaysMeasureLayout:!!a||o&&ii(o),visualElement:t,animationType:"string"==typeof s?s:"both",initialPromotionConfig:n,crossfade:h,layoutScroll:l,layoutRoot:u})}(m.current,i,r,y);let g=(0,eL.useRef)(!1);(0,eL.useInsertionEffect)(()=>{f&&g.current&&f.update(i,c)});let v=i[it],x=(0,eL.useRef)(!!v&&!(null==(a=(o=window).MotionHandoffIsComplete)?void 0:a.call(o,v))&&(null==(l=(u=window).MotionHasOptimisedAnimation)?void 0:l.call(u,v)));return(0,ir.E)(()=>{f&&(g.current=!0,window.MotionIsMounted=!0,f.updateFeatures(),f.scheduleRenderMicrotask(),x.current&&f.animationState&&f.animationState.animateChanges())}),(0,eL.useEffect)(()=>{f&&(!x.current&&f.animationState&&f.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{var t,e;null==(t=(e=window).MotionHandoffMarkAsComplete)||t.call(e,v)}),x.current=!1),f.enteringChildren=void 0)}),f}(t,d,s,a,e.ProjectionNode,o)}return(0,eZ.jsxs)(ez.Provider,{value:h,children:[r&&h.visualElement?(0,eZ.jsx)(r,{visualElement:h.visualElement,...s}):null,function(t,e,i,n,r){let{latestValues:s}=n,a=arguments.length>5&&void 0!==arguments[5]&&arguments[5],o=arguments.length>6?arguments[6]:void 0,l=((null!=o?o:eB(t))?function(t,e,i,n){let r=(0,eL.useMemo)(()=>{let i=eH();return ep(i,e,ef(n),t.transformTemplate,t.style),{...i.attrs,style:{...i.style}}},[e]);if(t.style){let e={};eq(e,t.style,t),r.style={...e,...r.style}}return r}:function(t,e){let i={},n=function(t,e){let i=t.style||{},n={};return eq(n,i,t),Object.assign(n,function(t,e){let{transformTemplate:i}=t;return(0,eL.useMemo)(()=>{let t=eQ();return eu(t,e,i),Object.assign({},t.vars,t.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(i.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=!0===t.drag?"none":"pan-".concat("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(i.tabIndex=0),i.style=n,i})(e,s,r,t),u=function(t,e,i){let n={};for(let r in t)("values"!==r||"object"!=typeof t.values)&&(eG(r)||!0===i&&eK(r)||!e&&!eK(r)||t.draggable&&r.startsWith("onDrag"))&&(n[r]=t[r]);return n}(e,"string"==typeof t,a),h=t!==eL.Fragment?{...u,...l,ref:i}:{},{children:d}=e,c=(0,eL.useMemo)(()=>q(d)?d.get():d,[d]);return(0,eL.createElement)(t,{...h,children:c})}(t,e,function(t,e,i){let n=(0,eL.useRef)(i);(0,eL.useInsertionEffect)(()=>{n.current=i});let r=(0,eL.useRef)(null);return(0,eL.useCallback)(i=>{if(i){var s;null==(s=t.onMount)||s.call(t,i)}e&&(i?e.mount(i):e.unmount());let a=n.current;if("function"==typeof a)if(i){let t=a(i);"function"==typeof t&&(r.current=t)}else r.current?(r.current(),r.current=null):a(i);else a&&(a.current=i)},[e])}(d,h.visualElement,i),d,u,n,o)]})}u.displayName="motion.".concat("string"==typeof t?t:"create(".concat(null!=(i=null!=(e=t.displayName)?e:t.name)?i:"",")"));let h=(0,eL.forwardRef)(u);return h[e7]=t,h}class ia{constructor(t){this.isMounted=!1,this.node=t}update(){}}function io(t,e,i){let n=t.getProps();return et(n,e,void 0!==i?i:n.custom,t)}function il(t,e){return t?.[e]??t?.default??t}let iu=t=>Array.isArray(t);function ih(t,e){let i=t.getValue("willChange");if(q(i)&&i.add)return i.add(e);if(!i&&tT.WillChange){let i=new tT.WillChange("auto");t.addValue("willChange",i),i.add(e)}}let id=t=>1e3*t,ic=(t,e)=>i=>e(t(i)),ip=(...t)=>t.reduce(ic),im={layout:0,mainThread:0,waapi:0};function iy(t,e,i){return(i<0&&(i+=1),i>1&&(i-=1),i<1/6)?t+(e-t)*6*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t}function ig(t,e){return i=>i>0?e:t}let iv=(t,e,i)=>{let n=t*t,r=i*(e*e-n)+n;return r<0?0:Math.sqrt(r)},ix=[g,y,S];function iw(t){let e=ix.find(e=>e.test(t));if(J(!!e,`'${t}' is not an animatable color. Use the equivalent color code instead.`,"color-not-animatable"),!e)return!1;let i=e.parse(t);return e===S&&(i=function({hue:t,saturation:e,lightness:i,alpha:n}){t/=360,i/=100;let r=0,s=0,a=0;if(e/=100){let n=i<.5?i*(1+e):i+e-i*e,o=2*i-n;r=iy(o,n,t+1/3),s=iy(o,n,t),a=iy(o,n,t-1/3)}else r=s=a=i;return{red:Math.round(255*r),green:Math.round(255*s),blue:Math.round(255*a),alpha:n}}(i)),i}let ib=(t,e)=>{let i=iw(t),n=iw(e);if(!i||!n)return ig(t,e);let r={...i};return t=>(r.red=iv(i.red,n.red,t),r.green=iv(i.green,n.green,t),r.blue=iv(i.blue,n.blue,t),r.alpha=ex(i.alpha,n.alpha,t),y.transform(r))},i_=new Set(["none","hidden"]);function ik(t,e){return i=>ex(t,e,i)}function iT(t){return"number"==typeof t?ik:"string"==typeof t?ts(t)?ig:P.test(t)?ib:iM:Array.isArray(t)?iS:"object"==typeof t?P.test(t)?ib:iP:ig}function iS(t,e){let i=[...t],n=i.length,r=t.map((t,i)=>iT(t)(t,e[i]));return t=>{for(let e=0;e<n;e++)i[e]=r[e](t);return i}}function iP(t,e){let i={...t,...e},n={};for(let r in i)void 0!==t[r]&&void 0!==e[r]&&(n[r]=iT(t[r])(t[r],e[r]));return t=>{for(let e in n)i[e]=n[e](t);return i}}let iM=(t,e)=>{let i=V.createTransformer(e),n=R(t),r=R(e);return n.indexes.var.length===r.indexes.var.length&&n.indexes.color.length===r.indexes.color.length&&n.indexes.number.length>=r.indexes.number.length?i_.has(t)&&!r.values.length||i_.has(e)&&!n.values.length?function(t,e){return i_.has(t)?i=>i<=0?t:e:i=>i>=1?e:t}(t,e):ip(iS(function(t,e){let i=[],n={color:0,var:0,number:0};for(let r=0;r<e.values.length;r++){let s=e.types[r],a=t.indexes[s][n[s]],o=t.values[a]??0;i[r]=o,n[s]++}return i}(n,r),r.values),i):(J(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`,"complex-values-different"),ig(t,e))};function iA(t,e,i){return"number"==typeof t&&"number"==typeof e&&"number"==typeof i?ex(t,e,i):iT(t)(t,e)}let iC=t=>{let e=({timestamp:e})=>t(e);return{start:(t=!0)=>tA.update(e,t),stop:()=>tC(e),now:()=>tE.isProcessing?tE.timestamp:tq.now()}},iE=(t,e,i=10)=>{let n="",r=Math.max(Math.round(e/i),2);for(let e=0;e<r;e++)n+=Math.round(1e4*t(e/(r-1)))/1e4+", ";return`linear(${n.substring(0,n.length-2)})`};function iR(t){let e=0,i=t.next(e);for(;!i.done&&e<2e4;)e+=50,i=t.next(e);return e>=2e4?1/0:e}function iD(t,e,i){var n,r;let s=Math.max(e-5,0);return n=i-t(s),(r=e-s)?1e3/r*n:0}let iO={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1};function ij(t,e){return t*Math.sqrt(1-e*e)}let iV=["duration","bounce"],iI=["stiffness","damping","mass"];function iF(t,e){return e.some(e=>void 0!==t[e])}function iL(t=iO.visualDuration,e=iO.bounce){let i,n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t,{restSpeed:r,restDelta:s}=n,o=n.keyframes[0],l=n.keyframes[n.keyframes.length-1],u={done:!1,value:o},{stiffness:h,damping:d,mass:c,duration:p,velocity:m,isResolvedFromDuration:f}=function(t){let e={velocity:iO.velocity,stiffness:iO.stiffness,damping:iO.damping,mass:iO.mass,isResolvedFromDuration:!1,...t};if(!iF(t,iI)&&iF(t,iV))if(t.visualDuration){let i=2*Math.PI/(1.2*t.visualDuration),n=i*i,r=2*a(.05,1,1-(t.bounce||0))*Math.sqrt(n);e={...e,mass:iO.mass,stiffness:n,damping:r}}else{let i=function({duration:t=iO.duration,bounce:e=iO.bounce,velocity:i=iO.velocity,mass:n=iO.mass}){let r,s;J(t<=id(iO.maxDuration),"Spring duration must be 10 seconds or less","spring-duration-limit");let o=1-e;o=a(iO.minDamping,iO.maxDamping,o),t=a(iO.minDuration,iO.maxDuration,t/1e3),o<1?(r=e=>{let n=e*o,r=n*t;return .001-(n-i)/ij(e,o)*Math.exp(-r)},s=e=>{let n=e*o*t,s=Math.pow(o,2)*Math.pow(e,2)*t,a=Math.exp(-n),l=ij(Math.pow(e,2),o);return(n*i+i-s)*a*(-r(e)+.001>0?-1:1)/l}):(r=e=>-.001+Math.exp(-e*t)*((e-i)*t+1),s=e=>t*t*(i-e)*Math.exp(-e*t));let l=function(t,e,i){let n=i;for(let i=1;i<12;i++)n-=t(n)/e(n);return n}(r,s,5/t);if(t=id(t),isNaN(l))return{stiffness:iO.stiffness,damping:iO.damping,duration:t};{let e=Math.pow(l,2)*n;return{stiffness:e,damping:2*o*Math.sqrt(n*e),duration:t}}}(t);(e={...e,...i,mass:iO.mass}).isResolvedFromDuration=!0}return e}({...n,velocity:-((n.velocity||0)/1e3)}),y=m||0,g=d/(2*Math.sqrt(h*c)),v=l-o,x=Math.sqrt(h/c)/1e3,w=5>Math.abs(v);if(r||(r=w?iO.restSpeed.granular:iO.restSpeed.default),s||(s=w?iO.restDelta.granular:iO.restDelta.default),g<1){let t=ij(x,g);i=e=>l-Math.exp(-g*x*e)*((y+g*x*v)/t*Math.sin(t*e)+v*Math.cos(t*e))}else if(1===g)i=t=>l-Math.exp(-x*t)*(v+(y+x*v)*t);else{let t=x*Math.sqrt(g*g-1);i=e=>{let i=Math.exp(-g*x*e),n=Math.min(t*e,300);return l-i*((y+g*x*v)*Math.sinh(n)+t*v*Math.cosh(n))/t}}let b={calculatedDuration:f&&p||null,next:t=>{let e=i(t);if(f)u.done=t>=p;else{let n=0===t?y:0;g<1&&(n=0===t?id(y):iD(i,t,e));let a=Math.abs(l-e)<=s;u.done=Math.abs(n)<=r&&a}return u.value=u.done?l:e,u},toString:()=>{let t=Math.min(iR(b),2e4),e=iE(e=>b.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return b}function iN({keyframes:t,velocity:e=0,power:i=.8,timeConstant:n=325,bounceDamping:r=10,bounceStiffness:s=500,modifyTarget:a,min:o,max:l,restDelta:u=.5,restSpeed:h}){let d,c,p=t[0],m={done:!1,value:p},f=i*e,y=p+f,g=void 0===a?y:a(y);g!==y&&(f=g-p);let v=t=>-f*Math.exp(-t/n),x=t=>g+v(t),w=t=>{let e=v(t),i=x(t);m.done=Math.abs(e)<=u,m.value=m.done?g:i},b=t=>{let e;if(e=m.value,void 0!==o&&e<o||void 0!==l&&e>l){var i;d=t,c=iL({keyframes:[m.value,(i=m.value,void 0===o?l:void 0===l||Math.abs(o-i)<Math.abs(l-i)?o:l)],velocity:iD(x,t,m.value),damping:r,stiffness:s,restDelta:u,restSpeed:h})}};return b(0),{calculatedDuration:null,next:t=>{let e=!1;return(c||void 0!==d||(e=!0,w(t),b(t)),void 0!==d&&t>=d)?c.next(t-d):(e||w(t),m)}}}iL.applyToOptions=t=>{let e=function(t,e=100,i){let n=i({...t,keyframes:[0,e]}),r=Math.min(iR(n),2e4);return{type:"keyframes",ease:t=>n.next(r*t).value/e,duration:r/1e3}}(t,100,iL);return t.ease=e.ease,t.duration=id(e.duration),t.type="keyframes",t};let iB=(t,e,i)=>(((1-3*i+3*e)*t+(3*i-6*e))*t+3*e)*t;function iZ(t,e,i,n){return t===e&&i===n?tk:r=>0===r||1===r?r:iB(function(t,e,i,n,r){let s,a,o=0;do(s=iB(a=e+(i-e)/2,n,r)-t)>0?i=a:e=a;while(Math.abs(s)>1e-7&&++o<12);return a}(r,0,1,t,i),e,n)}let i$=iZ(.42,0,1,1),iW=iZ(0,0,.58,1),iU=iZ(.42,0,.58,1),iz=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,iY=t=>e=>1-t(1-e),iQ=iZ(.33,1.53,.69,.99),iq=iY(iQ),iH=iz(iq),iX=t=>(t*=2)<1?.5*iq(t):.5*(2-Math.pow(2,-10*(t-1))),iK=t=>1-Math.sin(Math.acos(t)),iG=iY(iK),iJ=iz(iK),i0=t=>Array.isArray(t)&&"number"==typeof t[0],i1={linear:tk,easeIn:i$,easeInOut:iU,easeOut:iW,circIn:iK,circInOut:iJ,circOut:iG,backIn:iq,backInOut:iH,backOut:iQ,anticipate:iX},i2=t=>{if(i0(t)){tt(4===t.length,"Cubic bezier arrays must contain four numerical values.","cubic-bezier-length");let[e,i,n,r]=t;return iZ(e,i,n,r)}return"string"==typeof t?(tt(void 0!==i1[t],`Invalid easing type '${t}'`,"invalid-easing-type"),i1[t]):t},i9=(t,e,i)=>{let n=e-t;return 0===n?1:(i-t)/n};function i4({duration:t=300,keyframes:e,times:i,ease:n="easeInOut"}){var r;let s=Array.isArray(n)&&"number"!=typeof n[0]?n.map(i2):i2(n),o={done:!1,value:e[0]},l=function(t,e,{clamp:i=!0,ease:n,mixer:r}={}){let s=t.length;if(tt(s===e.length,"Both input and output ranges must be the same length","range-length"),1===s)return()=>e[0];if(2===s&&e[0]===e[1])return()=>e[1];let o=t[0]===t[1];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let l=function(t,e,i){let n=[],r=i||tT.mix||iA,s=t.length-1;for(let i=0;i<s;i++){let s=r(t[i],t[i+1]);e&&(s=ip(Array.isArray(e)?e[i]||tk:e,s)),n.push(s)}return n}(e,n,r),u=l.length,h=i=>{if(o&&i<t[0])return e[0];let n=0;if(u>1)for(;n<t.length-2&&!(i<t[n+1]);n++);let r=i9(t[n],t[n+1],i);return l[n](r)};return i?e=>h(a(t[0],t[s-1],e)):h}((r=i&&i.length===e.length?i:function(t){let e=[0];return!function(t,e){let i=t[t.length-1];for(let n=1;n<=e;n++){let r=i9(0,e,n);t.push(ex(i,1,r))}}(e,t.length-1),e}(e),r.map(e=>e*t)),e,{ease:Array.isArray(s)?s:e.map(()=>s||iU).splice(0,e.length-1)});return{calculatedDuration:t,next:e=>(o.value=l(e),o.done=e>=t,o)}}let i3=t=>null!==t;function i5(t,{repeat:e,repeatType:i="loop"},n,r=1){let s=t.filter(i3),a=r<0||e&&"loop"!==i&&e%2==1?0:s.length-1;return a&&void 0!==n?n:s[a]}let i8={decay:iN,inertia:iN,tween:i4,keyframes:i4,spring:iL};function i6(t){"string"==typeof t.type&&(t.type=i8[t.type])}class i7{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(t=>{this.resolve=t})}notifyFinished(){this.resolve()}then(t,e){return this.finished.then(t,e)}}let nt=t=>t/100;class ne extends i7{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{let{motionValue:t}=this.options;t&&t.updatedAt!==tq.now()&&this.tick(tq.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},im.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){let{options:t}=this;i6(t);let{type:e=i4,repeat:i=0,repeatDelay:n=0,repeatType:r,velocity:s=0}=t,{keyframes:a}=t,o=e||i4;o!==i4&&"number"!=typeof a[0]&&(this.mixKeyframes=ip(nt,iA(a[0],a[1])),a=[0,100]);let l=o({...t,keyframes:a});"mirror"===r&&(this.mirroredGenerator=o({...t,keyframes:[...a].reverse(),velocity:-s})),null===l.calculatedDuration&&(l.calculatedDuration=iR(l));let{calculatedDuration:u}=l;this.calculatedDuration=u,this.resolvedDuration=u+n,this.totalDuration=this.resolvedDuration*(i+1)-n,this.generator=l}updateTime(t){let e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){let{generator:i,totalDuration:n,mixKeyframes:r,mirroredGenerator:s,resolvedDuration:o,calculatedDuration:l}=this;if(null===this.startTime)return i.next(0);let{delay:u=0,keyframes:h,repeat:d,repeatType:c,repeatDelay:p,type:m,onUpdate:f,finalKeyframe:y}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-n/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);let g=this.currentTime-u*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?g<0:g>n;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=n);let x=this.currentTime,w=i;if(d){let t=Math.min(this.currentTime,n)/o,e=Math.floor(t),i=t%1;!i&&t>=1&&(i=1),1===i&&e--,(e=Math.min(e,d+1))%2&&("reverse"===c?(i=1-i,p&&(i-=p/o)):"mirror"===c&&(w=s)),x=a(0,1,i)*o}let b=v?{done:!1,value:h[0]}:w.next(x);r&&(b.value=r(b.value));let{done:_}=b;v||null===l||(_=this.playbackSpeed>=0?this.currentTime>=n:this.currentTime<=0);let k=null===this.holdTime&&("finished"===this.state||"running"===this.state&&_);return k&&m!==iN&&(b.value=i5(h,this.options,y,this.speed)),f&&f(b.value),k&&this.finish(),b}then(t,e){return this.finished.then(t,e)}get duration(){return this.calculatedDuration/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return this.currentTime/1e3}set time(t){t=id(t),this.currentTime=t,null===this.startTime||null!==this.holdTime||0===this.playbackSpeed?this.holdTime=t:this.driver&&(this.startTime=this.driver.now()-t/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(t){this.updateTime(tq.now());let e=this.playbackSpeed!==t;this.playbackSpeed=t,e&&(this.time=this.currentTime/1e3)}play(){if(this.isStopped)return;let{driver:t=iC,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();let i=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=i):null!==this.holdTime?this.startTime=i-this.holdTime:this.startTime||(this.startTime=e??i),"finished"===this.state&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(tq.now()),this.holdTime=this.currentTime}complete(){"running"!==this.state&&this.play(),this.state="finished",this.holdTime=null}finish(){this.notifyFinished(),this.teardown(),this.state="finished",this.options.onComplete?.()}cancel(){this.holdTime=null,this.startTime=0,this.tick(0),this.teardown(),this.options.onCancel?.()}teardown(){this.state="idle",this.stopDriver(),this.startTime=this.holdTime=null,im.mainThread--}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(t){return this.startTime=0,this.tick(t,!0)}attachTimeline(t){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),t.observe(this)}}function ni(t){let e;return()=>(void 0===e&&(e=t()),e)}let nn=ni(()=>void 0!==window.ScrollTimeline),nr={},ns=function(t,e){let i=ni(t);return()=>nr[e]??i()}(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),na=([t,e,i,n])=>`cubic-bezier(${t}, ${e}, ${i}, ${n})`,no={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:na([0,.65,.55,1]),circOut:na([.55,0,1,.45]),backIn:na([.31,.01,.66,-.59]),backOut:na([.33,1.53,.69,.99])};function nl(t){return"function"==typeof t&&"applyToOptions"in t}class nu extends i7{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;let{element:e,name:i,keyframes:n,pseudoElement:r,allowFlatten:s=!1,finalKeyframe:a,onComplete:o}=t;this.isPseudoElement=!!r,this.allowFlatten=s,this.options=t,tt("string"!=typeof t.type,'Mini animate() doesn\'t support "type" as a string.',"mini-spring");let l=function({type:t,...e}){return nl(t)&&ns()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=function(t,e,i,{delay:n=0,duration:r=300,repeat:s=0,repeatType:a="loop",ease:o="easeOut",times:l}={},u){let h={[e]:i};l&&(h.offset=l);let d=function t(e,i){if(e)return"function"==typeof e?ns()?iE(e,i):"ease-out":i0(e)?na(e):Array.isArray(e)?e.map(e=>t(e,i)||no.easeOut):no[e]}(o,r);Array.isArray(d)&&(h.easing=d),tP.value&&im.waapi++;let c={delay:n,duration:r,easing:Array.isArray(d)?"linear":d,fill:"both",iterations:s+1,direction:"reverse"===a?"alternate":"normal"};u&&(c.pseudoElement=u);let p=t.animate(h,c);return tP.value&&p.finished.finally(()=>{im.waapi--}),p}(e,i,n,l,r),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){let t=i5(n,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(t):function(t,e,i){e.startsWith("--")?t.style.setProperty(e,i):t.style[e]=i}(e,i,t),this.animation.cancel()}o?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),"finished"===this.state&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch(t){}}stop(){if(this.isStopped)return;this.isStopped=!0;let{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){return Number(this.animation.effect?.getComputedTiming?.().duration||0)/1e3}get iterationDuration(){let{delay:t=0}=this.options||{};return this.duration+t/1e3}get time(){return(Number(this.animation.currentTime)||0)/1e3}set time(t){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=id(t)}get speed(){return this.animation.playbackRate}set speed(t){t<0&&(this.finishedTime=null),this.animation.playbackRate=t}get state(){return null!==this.finishedTime?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(t){this.manualStartTime=this.animation.startTime=t}attachTimeline({timeline:t,observe:e}){return(this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&nn())?(this.animation.timeline=t,tk):e(this)}}let nh={anticipate:iX,backInOut:iH,circInOut:iJ};class nd extends nu{constructor(t){!function(t){"string"==typeof t.ease&&t.ease in nh&&(t.ease=nh[t.ease])}(t),i6(t),super(t),void 0!==t.startTime&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){let{motionValue:e,onUpdate:i,onComplete:n,element:r,...s}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);let o=new ne({...s,autoplay:!1}),l=Math.max(10,tq.now()-this.startTime),u=a(0,10,l-10);e.setWithVelocity(o.sample(Math.max(0,l-u)).value,o.sample(l).value,u),o.stop()}}let nc=(t,e)=>"zIndex"!==e&&!!("number"==typeof t||Array.isArray(t)||"string"==typeof t&&(V.test(t)||"0"===t)&&!t.startsWith("url("));function np(t){t.duration=0,t.type="keyframes"}let nm=new Set(["opacity","clipPath","filter","transform"]),nf=ni(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class ny extends i7{constructor({autoplay:t=!0,delay:e=0,type:i="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:s="loop",keyframes:a,name:o,motionValue:l,element:u,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=tq.now();let d={autoplay:t,delay:e,type:i,repeat:n,repeatDelay:r,repeatType:s,name:o,motionValue:l,element:u,...h},c=u?.KeyframeResolver||tL;this.keyframeResolver=new c(a,(t,e,i)=>this.onKeyframesResolved(t,e,d,!i),o,l,u),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,i,n){this.keyframeResolver=void 0;let{name:r,type:s,velocity:a,delay:o,isHandoff:l,onUpdate:u}=i;this.resolvedAt=tq.now(),!function(t,e,i,n){let r=t[0];if(null===r)return!1;if("display"===e||"visibility"===e)return!0;let s=t[t.length-1],a=nc(r,e),o=nc(s,e);return J(a===o,`You are trying to animate ${e} from "${r}" to "${s}". "${a?s:r}" is not an animatable value.`,"value-not-animatable"),!!a&&!!o&&(function(t){let e=t[0];if(1===t.length)return!0;for(let i=0;i<t.length;i++)if(t[i]!==e)return!0}(t)||("spring"===i||nl(i))&&n)}(t,r,s,a)&&((tT.instantAnimations||!o)&&u?.(i5(t,i,e)),t[0]=t[t.length-1],np(i),i.repeat=0);let h={startTime:n?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...i,keyframes:t},d=!l&&function(t){let{motionValue:e,name:i,repeatDelay:n,repeatType:r,damping:s,type:a}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;let{onUpdate:o,transformTemplate:l}=e.owner.getProps();return nf()&&i&&nm.has(i)&&("transform"!==i||!l)&&!o&&!n&&"mirror"!==r&&0!==s&&"inertia"!==a}(h)?new nd({...h,element:h.motionValue.owner.current}):new ne(h);d.finished.then(()=>this.notifyFinished()).catch(tk),this.pendingTimeline&&(this.stopTimeline=d.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=d}get finished(){return this._animation?this.animation.finished:this._finished}then(t,e){return this.finished.finally(t).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),tV=!0,tF(),tI(),tV=!1),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(t){this.animation.time=t}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(t){this.animation.speed=t}get startTime(){return this.animation.startTime}attachTimeline(t){return this._animation?this.stopTimeline=this.animation.attachTimeline(t):this.pendingTimeline=t,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}let ng={type:"spring",stiffness:500,damping:25,restSpeed:10},nv={type:"keyframes",duration:.8},nx={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},nw=t=>null!==t,nb=(t,e,i,n={},r,a)=>o=>{let l=il(n,t)||{},u=l.delay||n.delay||0,{elapsed:h=0}=n;h-=id(u);let d={keyframes:Array.isArray(i)?i:[null,i],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{o(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:a?void 0:r};!function({when:t,delay:e,delayChildren:i,staggerChildren:n,staggerDirection:r,repeat:s,repeatType:a,repeatDelay:o,from:l,elapsed:u,...h}){return!!Object.keys(h).length}(l)&&Object.assign(d,((t,{keyframes:e})=>e.length>2?nv:s.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:ng:nx)(t,d)),d.duration&&(d.duration=id(d.duration)),d.repeatDelay&&(d.repeatDelay=id(d.repeatDelay)),void 0!==d.from&&(d.keyframes[0]=d.from);let c=!1;if(!1!==d.type&&(0!==d.duration||d.repeatDelay)||(np(d),0===d.delay&&(c=!0)),(tT.instantAnimations||tT.skipAnimations)&&(c=!0,np(d),d.delay=0),d.allowFlatten=!l.type&&!l.ease,c&&!a&&void 0!==e.get()){let t=function(t,{repeat:e,repeatType:i="loop"},n){let r=t.filter(nw),s=e&&"loop"!==i&&e%2==1?0:r.length-1;return r[s]}(d.keyframes,l);if(void 0!==t)return void tA.update(()=>{d.onUpdate(t),d.onComplete()})}return l.isSync?new ne(d):new ny(d)};function n_(t,e,{delay:i=0,transitionOverride:n,type:r}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:a,...o}=e;n&&(s=n);let l=[],u=r&&t.animationState&&t.animationState.getState()[r];for(let e in o){let n=t.getValue(e,t.latestValues[e]??null),r=o[e];if(void 0===r||u&&function({protectedKeys:t,needsAnimating:e},i){let n=t.hasOwnProperty(i)&&!0!==e[i];return e[i]=!1,n}(u,e))continue;let a={delay:i,...il(s||{},e)},h=n.get();if(void 0!==h&&!n.isAnimating&&!Array.isArray(r)&&r===h&&!a.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){let i=t.props[it];if(i){let t=window.MotionHandoffAnimation(i,e,tA);null!==t&&(a.startTime=t,d=!0)}}ih(t,e),n.start(nb(e,n,r,t.shouldReduceMotion&&H.has(e)?{type:!1}:a,t,d));let c=n.animation;c&&l.push(c)}return a&&Promise.all(l).then(()=>{tA.update(()=>{a&&function(t,e){let{transitionEnd:i={},transition:n={},...r}=io(t,e)||{};for(let e in r={...r,...i}){var s;let i=iu(s=r[e])?s[s.length-1]||0:s;t.hasValue(e)?t.getValue(e).set(i):t.addValue(e,tK(i))}}(t,a)})}),l}function nk(t,e,i,n=0,r=1){let s=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),a=t.size,o=(a-1)*n;return"function"==typeof i?i(s,a):1===r?s*n:o-s*n}function nT(t,e,i={}){let n=io(t,e,"exit"===i.type?t.presenceContext?.custom:void 0),{transition:r=t.getDefaultTransition()||{}}=n||{};i.transitionOverride&&(r=i.transitionOverride);let s=n?()=>Promise.all(n_(t,n,i)):()=>Promise.resolve(),a=t.variantChildren&&t.variantChildren.size?(n=0)=>{let{delayChildren:s=0,staggerChildren:a,staggerDirection:o}=r;return function(t,e,i=0,n=0,r=0,s=1,a){let o=[];for(let l of t.variantChildren)l.notify("AnimationStart",e),o.push(nT(l,e,{...a,delay:i+("function"==typeof n?0:n)+nk(t.variantChildren,l,n,r,s)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(o)}(t,e,n,s,a,o,i)}:()=>Promise.resolve(),{when:o}=r;if(!o)return Promise.all([s(),a(i.delay)]);{let[t,e]="beforeChildren"===o?[s,a]:[a,s];return t().then(()=>e())}}let nS=t5.length;function nP(t,e){if(!Array.isArray(e))return!1;let i=e.length;if(i!==t.length)return!1;for(let n=0;n<i;n++)if(e[n]!==t[n])return!1;return!0}let nM=[...t3].reverse(),nA=t3.length;function nC(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function nE(){return{animate:nC(!0),whileInView:nC(),whileHover:nC(),whileTap:nC(),whileDrag:nC(),whileFocus:nC(),exit:nC()}}class nR extends ia{constructor(t){super(t),t.animationState||(t.animationState=function(t){let e=e=>Promise.all(e.map(({animation:e,options:i})=>(function(t,e,i={}){let n;if(t.notify("AnimationStart",e),Array.isArray(e))n=Promise.all(e.map(e=>nT(t,e,i)));else if("string"==typeof e)n=nT(t,e,i);else{let r="function"==typeof e?io(t,e,i.custom):e;n=Promise.all(n_(t,r,i))}return n.then(()=>{t.notify("AnimationComplete",e)})})(t,e,i))),i=nE(),n=!0,r=e=>(i,n)=>{let r=io(t,n,"exit"===e?t.presenceContext?.custom:void 0);if(r){let{transition:t,transitionEnd:e,...n}=r;i={...i,...n,...e}}return i};function s(s){let{props:a}=t,o=function t(e){if(!e)return;if(!e.isControllingVariants){let i=e.parent&&t(e.parent)||{};return void 0!==e.props.initial&&(i.initial=e.props.initial),i}let i={};for(let t=0;t<nS;t++){let n=t5[t],r=e.props[n];(t4(r)||!1===r)&&(i[n]=r)}return i}(t.parent)||{},l=[],u=new Set,h={},d=1/0;for(let e=0;e<nA;e++){var c,p;let m=nM[e],f=i[m],y=void 0!==a[m]?a[m]:o[m],g=t4(y),v=m===s?f.isActive:null;!1===v&&(d=e);let x=y===o[m]&&y!==a[m]&&g;if(x&&n&&t.manuallyAnimateOnMount&&(x=!1),f.protectedKeys={...h},!f.isActive&&null===v||!y&&!f.prevProp||t9(y)||"boolean"==typeof y)continue;let w=(c=f.prevProp,"string"==typeof(p=y)?p!==c:!!Array.isArray(p)&&!nP(p,c)),b=w||m===s&&f.isActive&&!x&&g||e>d&&g,_=!1,k=Array.isArray(y)?y:[y],T=k.reduce(r(m),{});!1===v&&(T={});let{prevResolvedValues:S={}}=f,P={...S,...T},M=e=>{b=!0,u.has(e)&&(_=!0,u.delete(e)),f.needsAnimating[e]=!0;let i=t.getValue(e);i&&(i.liveStyle=!1)};for(let t in P){let e=T[t],i=S[t];if(!h.hasOwnProperty(t))(iu(e)&&iu(i)?nP(e,i):e===i)?void 0!==e&&u.has(t)?M(t):f.protectedKeys[t]=!0:null!=e?M(t):u.add(t)}f.prevProp=y,f.prevResolvedValues=T,f.isActive&&(h={...h,...T}),n&&t.blockInitialAnimation&&(b=!1);let A=x&&w,C=!A||_;b&&C&&l.push(...k.map(e=>{let i={type:m};if("string"==typeof e&&n&&!A&&t.manuallyAnimateOnMount&&t.parent){let{parent:n}=t,r=io(n,e);if(n.enteringChildren&&r){let{delayChildren:e}=r.transition||{};i.delay=nk(n.enteringChildren,t,e)}}return{animation:e,options:i}}))}if(u.size){let e={};if("boolean"!=typeof a.initial){let i=io(t,Array.isArray(a.initial)?a.initial[0]:a.initial);i&&i.transition&&(e.transition=i.transition)}u.forEach(i=>{let n=t.getBaseTarget(i),r=t.getValue(i);r&&(r.liveStyle=!0),e[i]=n??null}),l.push({animation:e})}let m=!!l.length;return n&&(!1===a.initial||a.initial===a.animate)&&!t.manuallyAnimateOnMount&&(m=!1),n=!1,m?e(l):Promise.resolve()}return{animateChanges:s,setActive:function(e,n){if(i[e].isActive===n)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,n)),i[e].isActive=n;let r=s(e);for(let t in i)i[t].protectedKeys={};return r},setAnimateFunction:function(i){e=i(t)},getState:()=>i,reset:()=>{i=nE()}}}(t))}updateAnimationControlsSubscription(){let{animate:t}=this.node.getProps();t9(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let nD=0;class nO extends ia{constructor(){super(...arguments),this.id=nD++}update(){if(!this.node.presenceContext)return;let{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:i}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===i)return;let n=this.node.animationState.setActive("exit",!t);e&&!t&&n.then(()=>{e(this.id)})}mount(){let{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}let nj={x:!1,y:!1};function nV(t){return[t("x"),t("y")]}function nI(t){return t.max-t.min}function nF(t,e,i,n=.5){t.origin=n,t.originPoint=ex(e.min,e.max,t.origin),t.scale=nI(i)/nI(e),t.translate=ex(i.min,i.max,t.origin)-t.originPoint,(t.scale>=.9999&&t.scale<=1.0001||isNaN(t.scale))&&(t.scale=1),(t.translate>=-.01&&t.translate<=.01||isNaN(t.translate))&&(t.translate=0)}function nL(t,e,i,n){nF(t.x,e.x,i.x,n?n.originX:void 0),nF(t.y,e.y,i.y,n?n.originY:void 0)}function nN(t,e,i){t.min=i.min+e.min,t.max=t.min+nI(e)}function nB(t,e,i){t.min=e.min-i.min,t.max=t.min+nI(e)}function nZ(t,e,i){nB(t.x,e.x,i.x),nB(t.y,e.y,i.y)}let n$=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function nW(t){return n$.has(t.tagName)||!0===t.isContentEditable}function nU(t,e,i,n={passive:!0}){return t.addEventListener(e,i,n),()=>t.removeEventListener(e,i)}let nz=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function nY(t){return{point:{x:t.pageX,y:t.pageY}}}function nQ(t,e,i,n){return nU(t,e,t=>nz(t)&&i(t,nY(t)),n)}let nq=({current:t})=>t?t.ownerDocument.defaultView:null,nH=(t,e)=>Math.abs(t-e),nX=new Set(["auto","scroll"]);class nK{constructor(t,e,{transformPagePoint:i,contextWindow:n=window,dragSnapToOrigin:r=!1,distanceThreshold:s=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=t=>{this.handleScroll(t.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let t=n0(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,i=function(t,e){return Math.sqrt(nH(t.x,e.x)**2+nH(t.y,e.y)**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!i)return;let{point:n}=t,{timestamp:r}=tE;this.history.push({...n,timestamp:r});let{onStart:s,onMove:a}=this.handlers;e||(s&&s(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastMoveEventInfo=nG(e,this.transformPagePoint),tA.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();let{onEnd:i,onSessionEnd:n,resumeAnimation:r}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&r&&r(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let s=n0("pointercancel"===t.type?this.lastMoveEventInfo:nG(e,this.transformPagePoint),this.history);this.startEvent&&i&&i(t,s),n&&n(t,s)},!nz(t))return;this.dragSnapToOrigin=r,this.handlers=e,this.transformPagePoint=i,this.distanceThreshold=s,this.contextWindow=n||window;let o=nG(nY(t),this.transformPagePoint),{point:l}=o,{timestamp:u}=tE;this.history=[{...l,timestamp:u}];let{onSessionStart:h}=e;h&&h(t,n0(o,this.history)),this.removeListeners=ip(nQ(this.contextWindow,"pointermove",this.handlePointerMove),nQ(this.contextWindow,"pointerup",this.handlePointerUp),nQ(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(t){let e=t.parentElement;for(;e;){let t=getComputedStyle(e);(nX.has(t.overflowX)||nX.has(t.overflowY))&&this.scrollPositions.set(e,{x:e.scrollLeft,y:e.scrollTop}),e=e.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){let e=this.scrollPositions.get(t);if(!e)return;let i=t===window,n=i?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},r={x:n.x-e.x,y:n.y-e.y};(0!==r.x||0!==r.y)&&(i?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(t,n),tA.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),tC(this.updatePoint)}}function nG(t,e){return e?{point:e(t.point)}:t}function nJ(t,e){return{x:t.x-e.x,y:t.y-e.y}}function n0({point:t},e){return{point:t,delta:nJ(t,n1(e)),offset:nJ(t,e[0]),velocity:function(t,e){if(t.length<2)return{x:0,y:0};let i=t.length-1,n=null,r=n1(t);for(;i>=0&&(n=t[i],!(r.timestamp-n.timestamp>id(.1)));)i--;if(!n)return{x:0,y:0};let s=(r.timestamp-n.timestamp)/1e3;if(0===s)return{x:0,y:0};let a={x:(r.x-n.x)/s,y:(r.y-n.y)/s};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}(e,.1)}}function n1(t){return t[t.length-1]}function n2(t,e,i){return{min:void 0!==e?t.min+e:void 0,max:void 0!==i?t.max+i-(t.max-t.min):void 0}}function n9(t,e){let i=e.min-t.min,n=e.max-t.max;return e.max-e.min<t.max-t.min&&([i,n]=[n,i]),{min:i,max:n}}function n4(t,e,i){return{min:n3(t,e),max:n3(t,i)}}function n3(t,e){return"number"==typeof t?t:t[e]||0}let n5=new WeakMap;class n8{constructor(t){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=Q(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:i}={}){let{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;let r=t=>{e?(this.stopAnimation(),this.snapToCursor(nY(t).point)):this.pauseAnimation()},s=(t,e)=>{this.stopAnimation();let{drag:i,dragPropagation:n,onDragStart:r}=this.getProps();if(i&&!n&&(this.openDragLock&&this.openDragLock(),this.openDragLock=function(t){if("x"===t||"y"===t)if(nj[t])return null;else return nj[t]=!0,()=>{nj[t]=!1};return nj.x||nj.y?null:(nj.x=nj.y=!0,()=>{nj.x=nj.y=!1})}(i),!this.openDragLock))return;this.latestPointerEvent=t,this.latestPanInfo=e,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),nV(t=>{let e=this.getAxisMotionValue(t).get()||0;if(w.test(e)){let{projection:i}=this.visualElement;if(i&&i.layout){let n=i.layout.layoutBox[t];n&&(e=nI(n)*(parseFloat(e)/100))}}this.originPoint[t]=e}),r&&tA.postRender(()=>r(t,e)),ih(this.visualElement,"transform");let{animationState:s}=this.visualElement;s&&s.setActive("whileDrag",!0)},a=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;let{dragPropagation:i,dragDirectionLock:n,onDirectionLock:r,onDrag:s}=this.getProps();if(!i&&!this.openDragLock)return;let{offset:a}=e;if(n&&null===this.currentDirection){this.currentDirection=function(t,e=10){let i=null;return Math.abs(t.y)>e?i="y":Math.abs(t.x)>e&&(i="x"),i}(a),null!==this.currentDirection&&r&&r(this.currentDirection);return}this.updateAxis("x",e.point,a),this.updateAxis("y",e.point,a),this.visualElement.render(),s&&s(t,e)},o=(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},l=()=>nV(t=>"paused"===this.getAnimationState(t)&&this.getAxisMotionValue(t).animation?.play()),{dragSnapToOrigin:u}=this.getProps();this.panSession=new nK(t,{onSessionStart:r,onStart:s,onMove:a,onSessionEnd:o,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:u,distanceThreshold:i,contextWindow:nq(this.visualElement),element:this.visualElement.current})}stop(t,e){let i=t||this.latestPointerEvent,n=e||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!n||!i)return;let{velocity:s}=n;this.startAnimation(s);let{onDragEnd:a}=this.getProps();a&&tA.postRender(()=>a(i,n))}cancel(){this.isDragging=!1;let{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:i}=this.getProps();!i&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}updateAxis(t,e,i){let{drag:n}=this.getProps();if(!i||!n6(t,n,this.currentDirection))return;let r=this.getAxisMotionValue(t),s=this.originPoint[t]+i[t];this.constraints&&this.constraints[t]&&(s=function(t,{min:e,max:i},n){return void 0!==e&&t<e?t=n?ex(e,t,n.min):Math.max(t,e):void 0!==i&&t>i&&(t=n?ex(i,t,n.max):Math.min(t,i)),t}(s,this.constraints[t],this.elastic[t])),r.set(s)}resolveConstraints(){let{dragConstraints:t,dragElastic:e}=this.getProps(),i=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,n=this.constraints;t&&ii(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):t&&i?this.constraints=function(t,{top:e,left:i,bottom:n,right:r}){return{x:n2(t.x,i,r),y:n2(t.y,e,n)}}(i.layoutBox,t):this.constraints=!1,this.elastic=function(t=.35){return!1===t?t=0:!0===t&&(t=.35),{x:n4(t,"left","right"),y:n4(t,"top","bottom")}}(e),n!==this.constraints&&i&&this.constraints&&!this.hasMutatedConstraints&&nV(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){let i={};return void 0!==e.min&&(i.min=e.min-t.min),void 0!==e.max&&(i.max=e.max-t.min),i}(i.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){var t;let{dragConstraints:e,onMeasureDragConstraints:i}=this.getProps();if(!e||!ii(e))return!1;let n=e.current;tt(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.","drag-constraints-ref");let{projection:r}=this.visualElement;if(!r||!r.layout)return!1;let s=function(t,e,i){let n=eI(t,i),{scroll:r}=e;return r&&(eO(n.x,r.offset.x),eO(n.y,r.offset.y)),n}(n,r.root,this.visualElement.getTransformPagePoint()),a=(t=r.layout.layoutBox,{x:n9(t.x,s.x),y:n9(t.y,s.y)});if(i){let t=i(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(a));this.hasMutatedConstraints=!!t,t&&(a=eS(t))}return a}startAnimation(t){let{drag:e,dragMomentum:i,dragElastic:n,dragTransition:r,dragSnapToOrigin:s,onDragTransitionEnd:a}=this.getProps(),o=this.constraints||{};return Promise.all(nV(a=>{if(!n6(a,e,this.currentDirection))return;let l=o&&o[a]||{};s&&(l={min:0,max:0});let u={type:"inertia",velocity:i?t[a]:0,bounceStiffness:n?200:1e6,bounceDamping:n?40:1e7,timeConstant:750,restDelta:1,restSpeed:10,...r,...l};return this.startAxisValueAnimation(a,u)})).then(a)}startAxisValueAnimation(t,e){let i=this.getAxisMotionValue(t);return ih(this.visualElement,t),i.start(nb(t,i,0,e,this.visualElement,!1))}stopAnimation(){nV(t=>this.getAxisMotionValue(t).stop())}pauseAnimation(){nV(t=>this.getAxisMotionValue(t).animation?.pause())}getAnimationState(t){return this.getAxisMotionValue(t).animation?.state}getAxisMotionValue(t){let e=`_drag${t.toUpperCase()}`,i=this.visualElement.getProps();return i[e]||this.visualElement.getValue(t,(i.initial?i.initial[t]:void 0)||0)}snapToCursor(t){nV(e=>{let{drag:i}=this.getProps();if(!n6(e,i,this.currentDirection))return;let{projection:n}=this.visualElement,r=this.getAxisMotionValue(e);if(n&&n.layout){let{min:i,max:s}=n.layout.layoutBox[e],a=r.get()||0;r.set(t[e]-ex(i,s,.5)+a)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:t,dragConstraints:e}=this.getProps(),{projection:i}=this.visualElement;if(!ii(e)||!i||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};nV(t=>{let e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){let i=e.get();n[t]=function(t,e){let i=.5,n=nI(t),r=nI(e);return r>n?i=i9(e.min,e.max-n,t.min):n>r&&(i=i9(t.min,t.max-r,e.min)),a(0,1,i)}({min:i,max:i},this.constraints[t])}});let{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",i.root&&i.root.updateScroll(),i.updateLayout(),this.resolveConstraints(),nV(e=>{if(!n6(e,t,null))return;let i=this.getAxisMotionValue(e),{min:r,max:s}=this.constraints[e];i.set(ex(r,s,n[e]))})}addListeners(){if(!this.visualElement.current)return;n5.set(this.visualElement,this);let t=nQ(this.visualElement.current,"pointerdown",t=>{let{drag:e,dragListener:i=!0}=this.getProps();e&&i&&!nW(t.target)&&this.start(t)}),e=()=>{let{dragConstraints:t}=this.getProps();ii(t)&&t.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,n=i.addEventListener("measure",e);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),tA.read(e);let r=nU(window,"resize",()=>this.scalePositionWithinConstraints()),s=i.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(nV(e=>{let i=this.getAxisMotionValue(e);i&&(this.originPoint[e]+=t[e].translate,i.set(i.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),t(),n(),s&&s()}}getProps(){let t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:i=!1,dragPropagation:n=!1,dragConstraints:r=!1,dragElastic:s=.35,dragMomentum:a=!0}=t;return{...t,drag:e,dragDirectionLock:i,dragPropagation:n,dragConstraints:r,dragElastic:s,dragMomentum:a}}}function n6(t,e,i){return(!0===e||e===t)&&(null===i||i===t)}class n7 extends ia{constructor(t){super(t),this.removeGroupControls=tk,this.removeListeners=tk,this.controls=new n8(t)}mount(){let{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||tk}update(){let{dragControls:t}=this.node.getProps(),{dragControls:e}=this.node.prevProps||{};t!==e&&(this.removeGroupControls(),t&&(this.removeGroupControls=t.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners()}}let rt=t=>(e,i)=>{t&&tA.postRender(()=>t(e,i))};class re extends ia{constructor(){super(...arguments),this.removePointerDownListener=tk}onPointerDown(t){this.session=new nK(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:nq(this.node)})}createPanHandlers(){let{onPanSessionStart:t,onPanStart:e,onPan:i,onPanEnd:n}=this.node.getProps();return{onSessionStart:rt(t),onStart:rt(e),onMove:i,onEnd:(t,e)=>{delete this.session,n&&tA.postRender(()=>n(t,e))}}}mount(){this.removePointerDownListener=nQ(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let ri={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var rn=i(9219);let rr=!1;class rs extends eL.Component{componentDidMount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i,layoutId:n}=this.props,{projection:r}=t;r&&(e.group&&e.group.add(r),i&&i.register&&n&&i.register(r),rr&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,onExitComplete:()=>this.safeToRemove()})),ri.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){let{layoutDependency:e,visualElement:i,drag:n,isPresent:r}=this.props,{projection:s}=i;return s&&(s.isPresent=r,rr=!0,n||t.layoutDependency!==e||void 0===e||t.isPresent!==r?s.willUpdate():this.safeToRemove(),t.isPresent!==r&&(r?s.promote():s.relegate()||tA.postRender(()=>{let t=s.getStack();t&&t.members.length||this.safeToRemove()}))),null}componentDidUpdate(){let{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),tY.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:t,layoutGroup:e,switchLayoutGroup:i}=this.props,{projection:n}=t;rr=!0,n&&(n.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(n),i&&i.deregister&&i.deregister(n))}safeToRemove(){let{safeToRemove:t}=this.props;t&&t()}render(){return null}}function ra(t){let[e,i]=(0,rn.xQ)(),n=(0,eL.useContext)(e$.L);return(0,eZ.jsx)(rs,{...t,layoutGroup:n,switchLayoutGroup:(0,eL.useContext)(ie),isPresent:e,safeToRemove:i})}function ro(t,e,i,n,r){return t-=e,t=n+1/i*(t-n),void 0!==r&&(t=n+1/r*(t-n)),t}function rl(t,e,[i,n,r],s,a){!function(t,e=0,i=1,n=.5,r,s=t,a=t){if(w.test(e)&&(e=parseFloat(e),e=ex(a.min,a.max,e/100)-a.min),"number"!=typeof e)return;let o=ex(s.min,s.max,n);t===s&&(o-=e),t.min=ro(t.min,e,i,o,r),t.max=ro(t.max,e,i,o,r)}(t,e[i],e[n],e[r],e.scale,s,a)}let ru=["x","scaleX","originX"],rh=["y","scaleY","originY"];function rd(t,e,i,n){rl(t.x,e,ru,i?i.x:void 0,n?n.x:void 0),rl(t.y,e,rh,i?i.y:void 0,n?n.y:void 0)}function rc(t,e){t.min=e.min,t.max=e.max}function rp(t,e){rc(t.x,e.x),rc(t.y,e.y)}function rm(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function rf(t){return 0===t.translate&&1===t.scale}function ry(t){return rf(t.x)&&rf(t.y)}function rg(t,e){return t.min===e.min&&t.max===e.max}function rv(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function rx(t,e){return rv(t.x,e.x)&&rv(t.y,e.y)}function rw(t){return nI(t.x)/nI(t.y)}function rb(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}let r_=["TopLeft","TopRight","BottomLeft","BottomRight"],rk=r_.length,rT=t=>"string"==typeof t?parseFloat(t):t,rS=t=>"number"==typeof t||b.test(t);function rP(t,e){return void 0!==t[e]?t[e]:t.borderRadius}let rM=rC(0,.5,iG),rA=rC(.5,.95,tk);function rC(t,e,i){return n=>n<t?0:n>e?1:i(i9(t,e,n))}var rE=i(384);function rR(t){return(0,rE.G)(t)&&"ownerSVGElement"in t}let rD=(t,e)=>t.depth-e.depth;class rO{constructor(){this.children=[],this.isDirty=!1}add(t){tW(this.children,t),this.isDirty=!0}remove(t){tU(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(rD),this.isDirty=!1,this.children.forEach(t)}}class rj{constructor(){this.members=[]}add(t){tW(this.members,t),t.scheduleRender()}remove(t){if(tU(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){let t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){let e,i=this.members.findIndex(e=>t===e);if(0===i)return!1;for(let t=i;t>=0;t--){let i=this.members[t];if(!1!==i.isPresent){e=i;break}}return!!e&&(this.promote(e),!0)}promote(t,e){let i=this.lead;if(t!==i&&(this.prevLead=i,this.lead=t,t.show(),i)){i.instance&&i.scheduleRender(),t.scheduleRender(),t.resumeFrom=i,e&&(t.resumeFrom.preserveOpacity=!0),i.snapshot&&(t.snapshot=i.snapshot,t.snapshot.latestValues=i.animationValues||i.latestValues),t.root&&t.root.isUpdating&&(t.isLayoutDirty=!0);let{crossfade:n}=t.options;!1===n&&i.hide()}}exitAnimationComplete(){this.members.forEach(t=>{let{options:e,resumingFrom:i}=t;e.onExitComplete&&e.onExitComplete(),i&&i.options.onExitComplete&&i.options.onExitComplete()})}scheduleRender(){this.members.forEach(t=>{t.instance&&t.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}let rV={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},rI=["","X","Y","Z"],rF=0;function rL(t,e,i,n){let{latestValues:r}=e;r[t]&&(i[t]=r[t],e.setStaticValue(t,0),n&&(n[t]=0))}function rN({attachResizeListener:t,defaultParent:e,measureScroll:i,checkIsScrollRoot:n,resetTransform:r}){return class{constructor(t={},i=e?.()){this.id=rF++,this.animationId=0,this.animationCommitId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.layoutVersion=0,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,tP.value&&(rV.nodes=rV.calculatedTargetDeltas=rV.calculatedProjections=0),this.nodes.forEach(r$),this.nodes.forEach(rH),this.nodes.forEach(rX),this.nodes.forEach(rW),tP.addProjectionMetrics&&tP.addProjectionMetrics(rV)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=i?i.root||i:this,this.path=i?[...i.path,i]:[],this.parent=i,this.depth=i?i.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new rO)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new tz),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){let i=this.eventHandlers.get(t);i&&i.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;this.isSVG=rR(e)&&!(rR(e)&&"svg"===e.tagName),this.instance=e;let{layoutId:i,layout:n,visualElement:r}=this.options;if(r&&!r.current&&r.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(n||i)&&(this.isLayoutDirty=!0),t){let i,n=0,r=()=>this.root.updateBlockedByResize=!1;tA.read(()=>{n=window.innerWidth}),t(e,()=>{let t=window.innerWidth;t!==n&&(n=t,this.root.updateBlockedByResize=!0,i&&i(),i=function(t,e){let i=tq.now(),n=({timestamp:e})=>{let r=e-i;r>=250&&(tC(n),t(r-250))};return tA.setup(n,!0),()=>tC(n)}(r,250),ri.hasAnimatedSinceResize&&(ri.hasAnimatedSinceResize=!1,this.nodes.forEach(rq)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&r&&(i||n)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:i,layout:n})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let s=this.options.transition||r.getDefaultTransition()||r2,{onLayoutAnimationStart:a,onLayoutAnimationComplete:o}=r.getProps(),l=!this.targetLayout||!rx(this.targetLayout,n),u=!e&&i;if(this.options.layoutRoot||this.resumeFrom||u||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);let e={...il(s,"layout"),onPlay:a,onComplete:o};(r.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,u)}else e||rq(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=n})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),tC(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(rK),this.animationId++)}getTransformTemplate(){let{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&function t(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;let{visualElement:i}=e.options;if(!i)return;let n=i.props[it];if(window.MotionHasOptimisedAnimation(n,"transform")){let{layout:t,layoutId:i}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",tA,!(t||i))}let{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&t(r)}(this),this.root.isUpdating||this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){let e=this.path[t];e.shouldResetTransform=!0,e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}let{layoutId:e,layout:i}=this.options;if(void 0===e&&!i)return;let n=this.getTransformTemplate();this.prevTransformTemplateValue=n?n(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(rz);return}if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(rY);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(rQ),this.nodes.forEach(rB),this.nodes.forEach(rZ)):this.nodes.forEach(rY),this.clearAllSnapshots();let t=tq.now();tE.delta=a(0,1e3/60,t-tE.timestamp),tE.timestamp=t,tE.isProcessing=!0,tR.update.process(tE),tR.preRender.process(tE),tR.render.process(tE),tE.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,tY.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(rU),this.sharedNodes.forEach(rG)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,tA.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){tA.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||nI(this.snapshot.measuredBox.x)||nI(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let t=0;t<this.path.length;t++)this.path[t].updateScroll();let t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=Q(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){let e=n(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:i(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!r)return;let t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!ry(this.projectionDelta),i=this.getTransformTemplate(),n=i?i(this.latestValues,""):void 0,s=n!==this.prevTransformTemplateValue;t&&this.instance&&(e||eA(this.latestValues)||s)&&(r(this.instance,n),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){var e;let i=this.measurePageBox(),n=this.removeElementScroll(i);return t&&(n=this.removeTransform(n)),r3((e=n).x),r3(e.y),{animationId:this.root.animationId,measuredBox:i,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:t}=this.options;if(!t)return Q();let e=t.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(r8))){let{scroll:t}=this.root;t&&(eO(e.x,t.offset.x),eO(e.y,t.offset.y))}return e}removeElementScroll(t){let e=Q();if(rp(e,t),this.scroll?.wasRoot)return e;for(let i=0;i<this.path.length;i++){let n=this.path[i],{scroll:r,options:s}=n;n!==this.root&&r&&s.layoutScroll&&(r.wasRoot&&rp(e,t),eO(e.x,r.offset.x),eO(e.y,r.offset.y))}return e}applyTransform(t,e=!1){let i=Q();rp(i,t);for(let t=0;t<this.path.length;t++){let n=this.path[t];!e&&n.options.layoutScroll&&n.scroll&&n!==n.root&&eV(i,{x:-n.scroll.offset.x,y:-n.scroll.offset.y}),eA(n.latestValues)&&eV(i,n.latestValues)}return eA(this.latestValues)&&eV(i,this.latestValues),i}removeTransform(t){let e=Q();rp(e,t);for(let t=0;t<this.path.length;t++){let i=this.path[t];if(!i.instance||!eA(i.latestValues))continue;eM(i.latestValues)&&i.updateSnapshot();let n=Q();rp(n,i.measurePageBox()),rd(e,i.latestValues,i.snapshot?i.snapshot.layoutBox:void 0,n)}return eA(this.latestValues)&&rd(e,this.latestValues),e}setTargetDelta(t){this.targetDelta=t,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(t){this.options={...this.options,...t,crossfade:void 0===t.crossfade||t.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==tE.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){let e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);let i=!!this.resumingFrom||this!==e;if(!(t||i&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;let{layout:n,layoutId:r}=this.options;if(!this.layout||!(n||r))return;this.resolvedRelativeTargetAt=tE.timestamp;let s=this.getClosestProjectingParent();if(s&&this.linkedParentVersion!==s.layoutVersion&&!s.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(s&&s.layout?this.createRelativeTarget(s,this.layout.layoutBox,s.layout.layoutBox):this.removeRelativeTarget()),this.relativeTarget||this.targetDelta){if(this.target||(this.target=Q(),this.targetWithTransforms=Q()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target){var a,o,l;this.forceRelativeParentToResolveTarget(),a=this.target,o=this.relativeTarget,l=this.relativeParent.target,nN(a.x,o.x,l.x),nN(a.y,o.y,l.y)}else this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):rp(this.target,this.layout.layoutBox),eD(this.target,this.targetDelta)):rp(this.target,this.layout.layoutBox);this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,s&&!!s.resumingFrom==!!this.resumingFrom&&!s.options.layoutScroll&&s.target&&1!==this.animationProgress?this.createRelativeTarget(s,this.target,s.target):this.relativeParent=this.relativeTarget=void 0),tP.value&&rV.calculatedTargetDeltas++}}getClosestProjectingParent(){if(!(!this.parent||eM(this.parent.latestValues)||eC(this.parent.latestValues)))if(this.parent.isProjecting())return this.parent;else return this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,i){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=Q(),this.relativeTargetOrigin=Q(),nZ(this.relativeTargetOrigin,e,i),rp(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){let t=this.getLead(),e=!!this.resumingFrom||this!==t,i=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(i=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(i=!1),this.resolvedRelativeTargetAt===tE.timestamp&&(i=!1),i)return;let{layout:n,layoutId:r}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(n||r))return;rp(this.layoutCorrected,this.layout.layoutBox);let s=this.treeScale.x,a=this.treeScale.y;!function(t,e,i,n=!1){let r,s,a=i.length;if(a){e.x=e.y=1;for(let o=0;o<a;o++){s=(r=i[o]).projectionDelta;let{visualElement:a}=r.options;(!a||!a.props.style||"contents"!==a.props.style.display)&&(n&&r.options.layoutScroll&&r.scroll&&r!==r.root&&eV(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),s&&(e.x*=s.x.scale,e.y*=s.y.scale,eD(t,s)),n&&eA(r.latestValues)&&eV(t,r.latestValues))}e.x<1.0000000000001&&e.x>.999999999999&&(e.x=1),e.y<1.0000000000001&&e.y>.999999999999&&(e.y=1)}}(this.layoutCorrected,this.treeScale,this.path,e),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms=Q());let{target:o}=t;if(!o){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}this.projectionDelta&&this.prevProjectionDelta?(rm(this.prevProjectionDelta.x,this.projectionDelta.x),rm(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),nL(this.projectionDelta,this.layoutCorrected,o,this.latestValues),this.treeScale.x===s&&this.treeScale.y===a&&rb(this.projectionDelta.x,this.prevProjectionDelta.x)&&rb(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",o)),tP.value&&rV.calculatedProjections++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){let t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=z(),this.projectionDelta=z(),this.projectionDeltaWithTransform=z()}setAnimationOrigin(t,e=!1){let i,n=this.snapshot,r=n?n.latestValues:{},s={...this.latestValues},a=z();this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;let o=Q(),l=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),u=this.getStack(),h=!u||u.members.length<=1,d=!!(l&&!h&&!0===this.options.crossfade&&!this.path.some(r1));this.animationProgress=0,this.mixTargetDelta=e=>{let n=e/1e3;if(rJ(a.x,t.x,n),rJ(a.y,t.y,n),this.setTargetDelta(a),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout){var u,c,p,m,f,y;nZ(o,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=o,y=n,r0(p.x,m.x,f.x,y),r0(p.y,m.y,f.y,y),i&&(u=this.relativeTarget,c=i,rg(u.x,c.x)&&rg(u.y,c.y))&&(this.isProjectionDirty=!1),i||(i=Q()),rp(i,this.relativeTarget)}l&&(this.animationValues=s,function(t,e,i,n,r,s){r?(t.opacity=ex(0,i.opacity??1,rM(n)),t.opacityExit=ex(e.opacity??1,0,rA(n))):s&&(t.opacity=ex(e.opacity??1,i.opacity??1,n));for(let r=0;r<rk;r++){let s=`border${r_[r]}Radius`,a=rP(e,s),o=rP(i,s);(void 0!==a||void 0!==o)&&(a||(a=0),o||(o=0),0===a||0===o||rS(a)===rS(o)?(t[s]=Math.max(ex(rT(a),rT(o),n),0),(w.test(o)||w.test(a))&&(t[s]+="%")):t[s]=o)}(e.rotate||i.rotate)&&(t.rotate=ex(e.rotate||0,i.rotate||0,n))}(s,r,this.latestValues,n,d,h)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(1e3*!!this.options.layoutRoot)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(tC(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=tA.update(()=>{ri.hasAnimatedSinceResize=!0,im.layout++,this.motionValue||(this.motionValue=tK(0)),this.currentAnimation=function(t,e,i){let n=q(t)?t:tK(t);return n.start(nb("",n,e,i)),n.animation}(this.motionValue,[0,1e3],{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{im.layout--},onComplete:()=>{im.layout--,t.onComplete&&t.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let t=this.getStack();t&&t.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let t=this.getLead(),{targetWithTransforms:e,target:i,layout:n,latestValues:r}=t;if(e&&i&&n){if(this!==t&&this.layout&&n&&r5(this.options.animationType,this.layout.layoutBox,n.layoutBox)){i=this.target||Q();let e=nI(this.layout.layoutBox.x);i.x.min=t.target.x.min,i.x.max=i.x.min+e;let n=nI(this.layout.layoutBox.y);i.y.min=t.target.y.min,i.y.max=i.y.min+n}rp(e,i),eV(e,r),nL(this.projectionDeltaWithTransform,this.layoutCorrected,e,r)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new rj),this.sharedNodes.get(t).add(e);let i=e.options.initialPromotionConfig;e.promote({transition:i?i.transition:void 0,preserveFollowOpacity:i&&i.shouldPreserveFollowOpacity?i.shouldPreserveFollowOpacity(e):void 0})}isLead(){let t=this.getStack();return!t||t.lead===this}getLead(){let{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){let{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){let{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:i}={}){let n=this.getStack();n&&n.promote(this,i),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){let t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){let{visualElement:t}=this.options;if(!t)return;let e=!1,{latestValues:i}=t;if((i.z||i.rotate||i.rotateX||i.rotateY||i.rotateZ||i.skewX||i.skewY)&&(e=!0),!e)return;let n={};i.z&&rL("z",t,n,this.animationValues);for(let e=0;e<rI.length;e++)rL(`rotate${rI[e]}`,t,n,this.animationValues),rL(`skew${rI[e]}`,t,n,this.animationValues);for(let e in t.render(),n)t.setStaticValue(e,n[e]),this.animationValues&&(this.animationValues[e]=n[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible){t.visibility="hidden";return}let i=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=eJ(e?.pointerEvents)||"",t.transform=i?i(this.latestValues,""):"none";return}let n=this.getLead();if(!this.projectionDelta||!this.layout||!n.target){this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=eJ(e?.pointerEvents)||""),this.hasProjected&&!eA(this.latestValues)&&(t.transform=i?i({},""):"none",this.hasProjected=!1);return}t.visibility="";let r=n.animationValues||n.latestValues;this.applyTransformsToTarget();let s=function(t,e,i){let n="",r=t.x.translate/e.x,s=t.y.translate/e.y,a=i?.z||0;if((r||s||a)&&(n=`translate3d(${r}px, ${s}px, ${a}px) `),(1!==e.x||1!==e.y)&&(n+=`scale(${1/e.x}, ${1/e.y}) `),i){let{transformPerspective:t,rotate:e,rotateX:r,rotateY:s,skewX:a,skewY:o}=i;t&&(n=`perspective(${t}px) ${n}`),e&&(n+=`rotate(${e}deg) `),r&&(n+=`rotateX(${r}deg) `),s&&(n+=`rotateY(${s}deg) `),a&&(n+=`skewX(${a}deg) `),o&&(n+=`skewY(${o}deg) `)}let o=t.x.scale*e.x,l=t.y.scale*e.y;return(1!==o||1!==l)&&(n+=`scale(${o}, ${l})`),n||"none"}(this.projectionDeltaWithTransform,this.treeScale,r);i&&(s=i(r,s)),t.transform=s;let{x:a,y:o}=this.projectionDelta;for(let e in t.transformOrigin=`${100*a.origin}% ${100*o.origin}% 0`,n.animationValues?t.opacity=n===this?r.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:r.opacityExit:t.opacity=n===this?void 0!==r.opacity?r.opacity:"":void 0!==r.opacityExit?r.opacityExit:0,ew){if(void 0===r[e])continue;let{correct:i,applyTo:a,isCSSVariable:o}=ew[e],l="none"===s?r[e]:i(r[e],n);if(a){let e=a.length;for(let i=0;i<e;i++)t[a[i]]=l}else o?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=n===this?eJ(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(rz),this.root.sharedNodes.clear()}}}function rB(t){t.updateLayout()}function rZ(t){let e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){let{layoutBox:i,measuredBox:n}=t.layout,{animationType:r}=t.options,s=e.source!==t.layout.source;"size"===r?nV(t=>{let n=s?e.measuredBox[t]:e.layoutBox[t],r=nI(n);n.min=i[t].min,n.max=n.min+r}):r5(r,e.layoutBox,i)&&nV(n=>{let r=s?e.measuredBox[n]:e.layoutBox[n],a=nI(i[n]);r.max=r.min+a,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[n].max=t.relativeTarget[n].min+a)});let a=z();nL(a,i,e.layoutBox);let o=z();s?nL(o,t.applyTransform(n,!0),e.measuredBox):nL(o,i,e.layoutBox);let l=!ry(a),u=!1;if(!t.resumeFrom){let n=t.getClosestProjectingParent();if(n&&!n.resumeFrom){let{snapshot:r,layout:s}=n;if(r&&s){let a=Q();nZ(a,e.layoutBox,r.layoutBox);let o=Q();nZ(o,i,s.layoutBox),rx(a,o)||(u=!0),n.options.layoutRoot&&(t.relativeTarget=o,t.relativeTargetOrigin=a,t.relativeParent=n)}}}t.notifyListeners("didUpdate",{layout:i,snapshot:e,delta:o,layoutDelta:a,hasLayoutChanged:l,hasRelativeLayoutChanged:u})}else if(t.isLead()){let{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function r$(t){tP.value&&rV.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function rW(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function rU(t){t.clearSnapshot()}function rz(t){t.clearMeasurements()}function rY(t){t.isLayoutDirty=!1}function rQ(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function rq(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function rH(t){t.resolveTargetDelta()}function rX(t){t.calcProjection()}function rK(t){t.resetSkewAndRotation()}function rG(t){t.removeLeadSnapshot()}function rJ(t,e,i){t.translate=ex(e.translate,0,i),t.scale=ex(e.scale,1,i),t.origin=e.origin,t.originPoint=e.originPoint}function r0(t,e,i,n){t.min=ex(e.min,i.min,n),t.max=ex(e.max,i.max,n)}function r1(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}let r2={duration:.45,ease:[.4,0,.1,1]},r9=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),r4=r9("applewebkit/")&&!r9("chrome/")?Math.round:tk;function r3(t){t.min=r4(t.min),t.max=r4(t.max)}function r5(t,e,i){return"position"===t||"preserve-aspect"===t&&!(.2>=Math.abs(rw(e)-rw(i)))}function r8(t){return t!==t.root&&t.scroll?.wasRoot}let r6=rN({attachResizeListener:(t,e)=>nU(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),r7={current:void 0},st=rN({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!r7.current){let t=new r6({});t.mount(window),t.setOptions({layoutScroll:!0}),r7.current=t}return r7.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>"fixed"===window.getComputedStyle(t).position});function se(t,e){let i=function(t,e,i){if(t instanceof EventTarget)return[t];if("string"==typeof t){let e=document,i=(void 0)??e.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t)}(t),n=new AbortController;return[i,{passive:!0,...e,signal:n.signal},()=>n.abort()]}function si(t){return!("touch"===t.pointerType||nj.x||nj.y)}function sn(t,e,i){let{props:n}=t;t.animationState&&n.whileHover&&t.animationState.setActive("whileHover","Start"===i);let r=n["onHover"+i];r&&tA.postRender(()=>r(e,nY(e)))}class sr extends ia{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=se(t,i),a=t=>{if(!si(t))return;let{target:i}=t,n=e(i,t);if("function"!=typeof n||!i)return;let s=t=>{si(t)&&(n(t),i.removeEventListener("pointerleave",s))};i.addEventListener("pointerleave",s,r)};return n.forEach(t=>{t.addEventListener("pointerenter",a,r)}),s}(t,(t,e)=>(sn(this.node,e,"Start"),t=>sn(this.node,t,"End"))))}unmount(){}}class ss extends ia{constructor(){super(...arguments),this.isActive=!1}onFocus(){let t=!1;try{t=this.node.current.matches(":focus-visible")}catch(e){t=!0}t&&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=ip(nU(this.node.current,"focus",()=>this.onFocus()),nU(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}var sa=i(5840);let so=(t,e)=>!!e&&(t===e||so(t,e.parentElement)),sl=new WeakSet;function su(t){return e=>{"Enter"===e.key&&t(e)}}function sh(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function sd(t){return nz(t)&&!(nj.x||nj.y)}function sc(t,e,i){let{props:n}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&n.whileTap&&t.animationState.setActive("whileTap","Start"===i);let r=n["onTap"+("End"===i?"":i)];r&&tA.postRender(()=>r(e,nY(e)))}class sp extends ia{mount(){let{current:t}=this.node;t&&(this.unmount=function(t,e,i={}){let[n,r,s]=se(t,i),a=t=>{let n=t.currentTarget;if(!sd(t))return;sl.add(n);let s=e(n,t),a=(t,e)=>{window.removeEventListener("pointerup",o),window.removeEventListener("pointercancel",l),sl.has(n)&&sl.delete(n),sd(t)&&"function"==typeof s&&s(t,{success:e})},o=t=>{a(t,n===window||n===document||i.useGlobalTarget||so(n,t.target))},l=t=>{a(t,!1)};window.addEventListener("pointerup",o,r),window.addEventListener("pointercancel",l,r)};return n.forEach(t=>{(i.useGlobalTarget?window:t).addEventListener("pointerdown",a,r),(0,sa.s)(t)&&(t.addEventListener("focus",t=>((t,e)=>{let i=t.currentTarget;if(!i)return;let n=su(()=>{if(sl.has(i))return;sh(i,"down");let t=su(()=>{sh(i,"up")});i.addEventListener("keyup",t,e),i.addEventListener("blur",()=>sh(i,"cancel"),e)});i.addEventListener("keydown",n,e),i.addEventListener("blur",()=>i.removeEventListener("keydown",n),e)})(t,r)),nW(t)||t.hasAttribute("tabindex")||(t.tabIndex=0))}),s}(t,(t,e)=>(sc(this.node,e,"Start"),(t,{success:e})=>sc(this.node,t,e?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}let sm=new WeakMap,sf=new WeakMap,sy=t=>{let e=sm.get(t.target);e&&e(t)},sg=t=>{t.forEach(sy)},sv={some:0,all:1};class sx extends ia{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:t={}}=this.node.getProps(),{root:e,margin:i,amount:n="some",once:r}=t,s={root:e?e.current:void 0,rootMargin:i,threshold:"number"==typeof n?n:sv[n]},a=t=>{let{isIntersecting:e}=t;if(this.isInView===e||(this.isInView=e,r&&!e&&this.hasEnteredView))return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);let{onViewportEnter:i,onViewportLeave:n}=this.node.getProps(),s=e?i:n;s&&s(t)};var o=this.node.current;let l=function({root:t,...e}){let i=t||document;sf.has(i)||sf.set(i,{});let n=sf.get(i),r=JSON.stringify(e);return n[r]||(n[r]=new IntersectionObserver(sg,{root:t,...e})),n[r]}(s);return sm.set(o,a),l.observe(o),()=>{sm.delete(o),l.unobserve(o)}}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;let{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return i=>t[i]!==e[i]}(t,e))&&this.startObserver()}unmount(){}}let sw=function(t,e){if("undefined"==typeof Proxy)return is;let i=new Map,n=(i,n)=>is(i,n,t,e);return new Proxy((t,e)=>n(t,e),{get:(r,s)=>"create"===s?n:(i.has(s)||i.set(s,is(s,void 0,t,e)),i.get(s))})}({animation:{Feature:nR},exit:{Feature:nO},inView:{Feature:sx},tap:{Feature:sp},focus:{Feature:ss},hover:{Feature:sr},pan:{Feature:re},drag:{Feature:n7,ProjectionNode:st,MeasureLayout:ra},layout:{ProjectionNode:st,MeasureLayout:ra}},(t,e)=>e.isSVG??eB(t)?new eT(e):new eF(e,{allowProjection:t!==eL.Fragment}))},5363:(t,e,i)=>{i.d(e,{G:()=>r});var n=i(6468);function r(t){let e=(0,n.a)(t),i=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return i.setUTCFullYear(e.getFullYear()),t-i}},5840:(t,e,i)=>{i.d(e,{s:()=>r});var n=i(384);function r(t){return(0,n.G)(t)&&"offsetHeight"in t}},6258:(t,e,i)=>{i.d(e,{n:()=>h});var n=i(7620),r=i(589),s=i(494),a=i(2327),o=i(7703),l=class extends a.Q{#t;#s=void 0;#T;#S;constructor(t,e){super(),this.#t=t,this.setOptions(e),this.bindMethods(),this.#P()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#t.defaultMutationOptions(t),(0,o.f8)(this.options,e)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#T,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,o.EN)(e.mutationKey)!==(0,o.EN)(this.options.mutationKey)?this.reset():this.#T?.state.status==="pending"&&this.#T.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#T?.removeObserver(this)}onMutationUpdate(t){this.#P(),this.#k(t)}getCurrentResult(){return this.#s}reset(){this.#T?.removeObserver(this),this.#T=void 0,this.#P(),this.#k()}mutate(t,e){return this.#S=e,this.#T?.removeObserver(this),this.#T=this.#t.getMutationCache().build(this.#t,this.options),this.#T.addObserver(this),this.#T.execute(t)}#P(){let t=this.#T?.state??(0,r.$)();this.#s={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#k(t){s.jG.batch(()=>{if(this.#S&&this.hasListeners()){let e=this.#s.variables,i=this.#s.context,n={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#S.onSuccess?.(t.data,e,i,n)}catch(t){Promise.reject(t)}try{this.#S.onSettled?.(t.data,null,e,i,n)}catch(t){Promise.reject(t)}}else if(t?.type==="error"){try{this.#S.onError?.(t.error,e,i,n)}catch(t){Promise.reject(t)}try{this.#S.onSettled?.(void 0,t.error,e,i,n)}catch(t){Promise.reject(t)}}}this.listeners.forEach(t=>{t(this.#s)})})}},u=i(7606);function h(t,e){let i=(0,u.jE)(e),[r]=n.useState(()=>new l(i,t));n.useEffect(()=>{r.setOptions(t)},[r,t]);let a=n.useSyncExternalStore(n.useCallback(t=>r.subscribe(s.jG.batchCalls(t)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),h=n.useCallback((t,e)=>{r.mutate(t,e).catch(o.lQ)},[r]);if(a.error&&(0,o.GU)(r.options.throwOnError,[a.error]))throw a.error;return{...a,mutate:h,mutateAsync:a.mutate}}},6303:(t,e,i)=>{i.d(e,{E:()=>r});var n=i(7620);let r=i(8416).B?n.useLayoutEffect:n.useEffect},6350:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8889).A)("Lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]])},6468:(t,e,i)=>{i.d(e,{a:()=>r});var n=i(9922);function r(t,e){return(0,n.w)(e||t,t)}},6481:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8889).A)("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]])},7281:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8889).A)("LockOpen",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 9.9-1",key:"1mm8w8"}]])},7303:(t,e,i)=>{i.d(e,{m:()=>d});var n=i(9922),r=i(2684),s=i(4259),a=i(5363),o=i(2686),l=i(6468);function u(t,e){let i=(0,l.a)(t)-(0,l.a)(e);return i<0?-1:i>0?1:i}var h=i(250);function d(t,e){return function(t,e,i){var n,d;let c,p=(0,s.q)(),m=null!=(d=null!=(n=null==i?void 0:i.locale)?n:p.locale)?d:r.c,f=u(t,e);if(isNaN(f))throw RangeError("Invalid time value");let y=Object.assign({},i,{addSuffix:null==i?void 0:i.addSuffix,comparison:f}),[g,v]=(0,o.x)(null==i?void 0:i.in,...f>0?[e,t]:[t,e]),x=function(t,e,i){var n;return(n=void 0,t=>{let e=(n?Math[n]:Math.trunc)(t);return 0===e?0:e})(((0,l.a)(t)-(0,l.a)(e))/1e3)}(v,g),w=Math.round((x-((0,a.G)(v)-(0,a.G)(g))/1e3)/60);if(w<2)if(null==i?void 0:i.includeSeconds)if(x<5)return m.formatDistance("lessThanXSeconds",5,y);else if(x<10)return m.formatDistance("lessThanXSeconds",10,y);else if(x<20)return m.formatDistance("lessThanXSeconds",20,y);else if(x<40)return m.formatDistance("halfAMinute",0,y);else if(x<60)return m.formatDistance("lessThanXMinutes",1,y);else return m.formatDistance("xMinutes",1,y);else if(0===w)return m.formatDistance("lessThanXMinutes",1,y);else return m.formatDistance("xMinutes",w,y);if(w<45)return m.formatDistance("xMinutes",w,y);if(w<90)return m.formatDistance("aboutXHours",1,y);if(w<h.F6){let t=Math.round(w/60);return m.formatDistance("aboutXHours",t,y)}if(w<2520)return m.formatDistance("xDays",1,y);else if(w<h.Nw){let t=Math.round(w/h.F6);return m.formatDistance("xDays",t,y)}else if(w<2*h.Nw)return c=Math.round(w/h.Nw),m.formatDistance("aboutXMonths",c,y);if((c=function(t,e,i){let[n,r,s]=(0,o.x)(void 0,t,t,e),a=u(r,s),h=Math.abs(function(t,e,i){let[n,r]=(0,o.x)(void 0,t,e);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}(r,s));if(h<1)return 0;1===r.getMonth()&&r.getDate()>27&&r.setDate(30),r.setMonth(r.getMonth()-a*h);let d=u(r,s)===-a;(function(t,e){let i=(0,l.a)(t,void 0);return+function(t,e){let i=(0,l.a)(t,null==e?void 0:e.in);return i.setHours(23,59,59,999),i}(i,void 0)==+function(t,e){let i=(0,l.a)(t,null==e?void 0:e.in),n=i.getMonth();return i.setFullYear(i.getFullYear(),n+1,0),i.setHours(23,59,59,999),i}(i,e)})(n)&&1===h&&1===u(n,s)&&(d=!1);let c=a*(h-d);return 0===c?0:c}(v,g))<12){let t=Math.round(w/h.Nw);return m.formatDistance("xMonths",t,y)}{let t=c%12,e=Math.trunc(c/12);return t<3?m.formatDistance("aboutXYears",e,y):t<9?m.formatDistance("overXYears",e,y):m.formatDistance("almostXYears",e+1,y)}}(t,(0,n.w)(t,Date.now()),e)}},8072:(t,e,i)=>{var n,r,s,a;let o;i.d(e,{YO:()=>tA,zM:()=>tM,fc:()=>tE,ai:()=>tP,Ik:()=>tC,Yj:()=>tS}),function(t){t.assertEqual=t=>{},t.assertIs=function(t){},t.assertNever=function(t){throw Error()},t.arrayToEnum=t=>{let e={};for(let i of t)e[i]=i;return e},t.getValidEnumValues=e=>{let i=t.objectKeys(e).filter(t=>"number"!=typeof e[e[t]]),n={};for(let t of i)n[t]=e[t];return t.objectValues(n)},t.objectValues=e=>t.objectKeys(e).map(function(t){return e[t]}),t.objectKeys="function"==typeof Object.keys?t=>Object.keys(t):t=>{let e=[];for(let i in t)Object.prototype.hasOwnProperty.call(t,i)&&e.push(i);return e},t.find=(t,e)=>{for(let i of t)if(e(i))return i},t.isInteger="function"==typeof Number.isInteger?t=>Number.isInteger(t):t=>"number"==typeof t&&Number.isFinite(t)&&Math.floor(t)===t,t.joinValues=function(t,e=" | "){return t.map(t=>"string"==typeof t?`'${t}'`:t).join(e)},t.jsonStringifyReplacer=(t,e)=>"bigint"==typeof e?e.toString():e}(n||(n={})),(r||(r={})).mergeShapes=(t,e)=>({...t,...e});let l=n.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),u=t=>{switch(typeof t){case"undefined":return l.undefined;case"string":return l.string;case"number":return Number.isNaN(t)?l.nan:l.number;case"boolean":return l.boolean;case"function":return l.function;case"bigint":return l.bigint;case"symbol":return l.symbol;case"object":if(Array.isArray(t))return l.array;if(null===t)return l.null;if(t.then&&"function"==typeof t.then&&t.catch&&"function"==typeof t.catch)return l.promise;if("undefined"!=typeof Map&&t instanceof Map)return l.map;if("undefined"!=typeof Set&&t instanceof Set)return l.set;if("undefined"!=typeof Date&&t instanceof Date)return l.date;return l.object;default:return l.unknown}},h=n.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class d extends Error{get errors(){return this.issues}constructor(t){super(),this.issues=[],this.addIssue=t=>{this.issues=[...this.issues,t]},this.addIssues=(t=[])=>{this.issues=[...this.issues,...t]};let e=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,e):this.__proto__=e,this.name="ZodError",this.issues=t}format(t){let e=t||function(t){return t.message},i={_errors:[]},n=t=>{for(let r of t.issues)if("invalid_union"===r.code)r.unionErrors.map(n);else if("invalid_return_type"===r.code)n(r.returnTypeError);else if("invalid_arguments"===r.code)n(r.argumentsError);else if(0===r.path.length)i._errors.push(e(r));else{let t=i,n=0;for(;n<r.path.length;){let i=r.path[n];n===r.path.length-1?(t[i]=t[i]||{_errors:[]},t[i]._errors.push(e(r))):t[i]=t[i]||{_errors:[]},t=t[i],n++}}};return n(this),i}static assert(t){if(!(t instanceof d))throw Error(`Not a ZodError: ${t}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,n.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(t=t=>t.message){let e={},i=[];for(let n of this.issues)if(n.path.length>0){let i=n.path[0];e[i]=e[i]||[],e[i].push(t(n))}else i.push(t(n));return{formErrors:i,fieldErrors:e}}get formErrors(){return this.flatten()}}d.create=t=>new d(t);let c=(t,e)=>{let i;switch(t.code){case h.invalid_type:i=t.received===l.undefined?"Required":`Expected ${t.expected}, received ${t.received}`;break;case h.invalid_literal:i=`Invalid literal value, expected ${JSON.stringify(t.expected,n.jsonStringifyReplacer)}`;break;case h.unrecognized_keys:i=`Unrecognized key(s) in object: ${n.joinValues(t.keys,", ")}`;break;case h.invalid_union:i="Invalid input";break;case h.invalid_union_discriminator:i=`Invalid discriminator value. Expected ${n.joinValues(t.options)}`;break;case h.invalid_enum_value:i=`Invalid enum value. Expected ${n.joinValues(t.options)}, received '${t.received}'`;break;case h.invalid_arguments:i="Invalid function arguments";break;case h.invalid_return_type:i="Invalid function return type";break;case h.invalid_date:i="Invalid date";break;case h.invalid_string:"object"==typeof t.validation?"includes"in t.validation?(i=`Invalid input: must include "${t.validation.includes}"`,"number"==typeof t.validation.position&&(i=`${i} at one or more positions greater than or equal to ${t.validation.position}`)):"startsWith"in t.validation?i=`Invalid input: must start with "${t.validation.startsWith}"`:"endsWith"in t.validation?i=`Invalid input: must end with "${t.validation.endsWith}"`:n.assertNever(t.validation):i="regex"!==t.validation?`Invalid ${t.validation}`:"Invalid";break;case h.too_small:i="array"===t.type?`Array must contain ${t.exact?"exactly":t.inclusive?"at least":"more than"} ${t.minimum} element(s)`:"string"===t.type?`String must contain ${t.exact?"exactly":t.inclusive?"at least":"over"} ${t.minimum} character(s)`:"number"===t.type||"bigint"===t.type?`Number must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${t.minimum}`:"date"===t.type?`Date must be ${t.exact?"exactly equal to ":t.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(t.minimum))}`:"Invalid input";break;case h.too_big:i="array"===t.type?`Array must contain ${t.exact?"exactly":t.inclusive?"at most":"less than"} ${t.maximum} element(s)`:"string"===t.type?`String must contain ${t.exact?"exactly":t.inclusive?"at most":"under"} ${t.maximum} character(s)`:"number"===t.type?`Number must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:"bigint"===t.type?`BigInt must be ${t.exact?"exactly":t.inclusive?"less than or equal to":"less than"} ${t.maximum}`:"date"===t.type?`Date must be ${t.exact?"exactly":t.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(t.maximum))}`:"Invalid input";break;case h.custom:i="Invalid input";break;case h.invalid_intersection_types:i="Intersection results could not be merged";break;case h.not_multiple_of:i=`Number must be a multiple of ${t.multipleOf}`;break;case h.not_finite:i="Number must be finite";break;default:i=e.defaultError,n.assertNever(t)}return{message:i}};!function(t){t.errToObj=t=>"string"==typeof t?{message:t}:t||{},t.toString=t=>"string"==typeof t?t:t?.message}(s||(s={}));let p=t=>{let{data:e,path:i,errorMaps:n,issueData:r}=t,s=[...i,...r.path||[]],a={...r,path:s};if(void 0!==r.message)return{...r,path:s,message:r.message};let o="";for(let t of n.filter(t=>!!t).slice().reverse())o=t(a,{data:e,defaultError:o}).message;return{...r,path:s,message:o}};function m(t,e){let i=p({issueData:e,data:t.data,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,c,void 0].filter(t=>!!t)});t.common.issues.push(i)}class f{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(t,e){let i=[];for(let n of e){if("aborted"===n.status)return y;"dirty"===n.status&&t.dirty(),i.push(n.value)}return{status:t.value,value:i}}static async mergeObjectAsync(t,e){let i=[];for(let t of e){let e=await t.key,n=await t.value;i.push({key:e,value:n})}return f.mergeObjectSync(t,i)}static mergeObjectSync(t,e){let i={};for(let n of e){let{key:e,value:r}=n;if("aborted"===e.status||"aborted"===r.status)return y;"dirty"===e.status&&t.dirty(),"dirty"===r.status&&t.dirty(),"__proto__"!==e.value&&(void 0!==r.value||n.alwaysSet)&&(i[e.value]=r.value)}return{status:t.value,value:i}}}let y=Object.freeze({status:"aborted"}),g=t=>({status:"dirty",value:t}),v=t=>({status:"valid",value:t}),x=t=>"undefined"!=typeof Promise&&t instanceof Promise;class w{constructor(t,e,i,n){this._cachedPath=[],this.parent=t,this.data=e,this._path=i,this._key=n}get path(){return this._cachedPath.length||(Array.isArray(this._key)?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}let b=(t,e)=>{if("valid"===e.status)return{success:!0,data:e.value};if(!t.common.issues.length)throw Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;let e=new d(t.common.issues);return this._error=e,this._error}}};function _(t){if(!t)return{};let{errorMap:e,invalid_type_error:i,required_error:n,description:r}=t;if(e&&(i||n))throw Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return e?{errorMap:e,description:r}:{errorMap:(e,r)=>{let{message:s}=t;return"invalid_enum_value"===e.code?{message:s??r.defaultError}:void 0===r.data?{message:s??n??r.defaultError}:"invalid_type"!==e.code?{message:r.defaultError}:{message:s??i??r.defaultError}},description:r}}class k{get description(){return this._def.description}_getType(t){return u(t.data)}_getOrReturnCtx(t,e){return e||{common:t.parent.common,data:t.data,parsedType:u(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}_processInputParams(t){return{status:new f,ctx:{common:t.parent.common,data:t.data,parsedType:u(t.data),schemaErrorMap:this._def.errorMap,path:t.path,parent:t.parent}}}_parseSync(t){let e=this._parse(t);if(x(e))throw Error("Synchronous parse encountered promise.");return e}_parseAsync(t){return Promise.resolve(this._parse(t))}parse(t,e){let i=this.safeParse(t,e);if(i.success)return i.data;throw i.error}safeParse(t,e){let i={common:{issues:[],async:e?.async??!1,contextualErrorMap:e?.errorMap},path:e?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:u(t)},n=this._parseSync({data:t,path:i.path,parent:i});return b(i,n)}"~validate"(t){let e={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:u(t)};if(!this["~standard"].async)try{let i=this._parseSync({data:t,path:[],parent:e});return"valid"===i.status?{value:i.value}:{issues:e.common.issues}}catch(t){t?.message?.toLowerCase()?.includes("encountered")&&(this["~standard"].async=!0),e.common={issues:[],async:!0}}return this._parseAsync({data:t,path:[],parent:e}).then(t=>"valid"===t.status?{value:t.value}:{issues:e.common.issues})}async parseAsync(t,e){let i=await this.safeParseAsync(t,e);if(i.success)return i.data;throw i.error}async safeParseAsync(t,e){let i={common:{issues:[],contextualErrorMap:e?.errorMap,async:!0},path:e?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:t,parsedType:u(t)},n=this._parse({data:t,path:i.path,parent:i});return b(i,await (x(n)?n:Promise.resolve(n)))}refine(t,e){return this._refinement((i,n)=>{let r=t(i),s=()=>n.addIssue({code:h.custom,..."string"==typeof e||void 0===e?{message:e}:"function"==typeof e?e(i):e});return"undefined"!=typeof Promise&&r instanceof Promise?r.then(t=>!!t||(s(),!1)):!!r||(s(),!1)})}refinement(t,e){return this._refinement((i,n)=>!!t(i)||(n.addIssue("function"==typeof e?e(i,n):e),!1))}_refinement(t){return new ty({schema:this,typeName:a.ZodEffects,effect:{type:"refinement",refinement:t}})}superRefine(t){return this._refinement(t)}constructor(t){this.spa=this.safeParseAsync,this._def=t,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:t=>this["~validate"](t)}}optional(){return tg.create(this,this._def)}nullable(){return tv.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return J.create(this)}promise(){return tf.create(this,this._def)}or(t){return te.create([this,t],this._def)}and(t){return tr.create(this,t,this._def)}transform(t){return new ty({..._(this._def),schema:this,typeName:a.ZodEffects,effect:{type:"transform",transform:t}})}default(t){return new tx({..._(this._def),innerType:this,defaultValue:"function"==typeof t?t:()=>t,typeName:a.ZodDefault})}brand(){return new t_({typeName:a.ZodBranded,type:this,..._(this._def)})}catch(t){return new tw({..._(this._def),innerType:this,catchValue:"function"==typeof t?t:()=>t,typeName:a.ZodCatch})}describe(t){return new this.constructor({...this._def,description:t})}pipe(t){return tk.create(this,t)}readonly(){return tT.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}let T=/^c[^\s-]{8,}$/i,S=/^[0-9a-z]+$/,P=/^[0-9A-HJKMNP-TV-Z]{26}$/i,M=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,A=/^[a-z0-9_-]{21}$/i,C=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,E=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,R=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i,D=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,O=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,j=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,V=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,I=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,F=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,L="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",N=RegExp(`^${L}$`);function B(t){let e="[0-5]\\d";t.precision?e=`${e}\\.\\d{${t.precision}}`:null==t.precision&&(e=`${e}(\\.\\d+)?`);let i=t.precision?"+":"?";return`([01]\\d|2[0-3]):[0-5]\\d(:${e})${i}`}class Z extends k{_parse(t){var e,i,r,s;let a;if(this._def.coerce&&(t.data=String(t.data)),this._getType(t)!==l.string){let e=this._getOrReturnCtx(t);return m(e,{code:h.invalid_type,expected:l.string,received:e.parsedType}),y}let u=new f;for(let l of this._def.checks)if("min"===l.kind)t.data.length<l.value&&(m(a=this._getOrReturnCtx(t,a),{code:h.too_small,minimum:l.value,type:"string",inclusive:!0,exact:!1,message:l.message}),u.dirty());else if("max"===l.kind)t.data.length>l.value&&(m(a=this._getOrReturnCtx(t,a),{code:h.too_big,maximum:l.value,type:"string",inclusive:!0,exact:!1,message:l.message}),u.dirty());else if("length"===l.kind){let e=t.data.length>l.value,i=t.data.length<l.value;(e||i)&&(a=this._getOrReturnCtx(t,a),e?m(a,{code:h.too_big,maximum:l.value,type:"string",inclusive:!0,exact:!0,message:l.message}):i&&m(a,{code:h.too_small,minimum:l.value,type:"string",inclusive:!0,exact:!0,message:l.message}),u.dirty())}else if("email"===l.kind)R.test(t.data)||(m(a=this._getOrReturnCtx(t,a),{validation:"email",code:h.invalid_string,message:l.message}),u.dirty());else if("emoji"===l.kind)o||(o=RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),o.test(t.data)||(m(a=this._getOrReturnCtx(t,a),{validation:"emoji",code:h.invalid_string,message:l.message}),u.dirty());else if("uuid"===l.kind)M.test(t.data)||(m(a=this._getOrReturnCtx(t,a),{validation:"uuid",code:h.invalid_string,message:l.message}),u.dirty());else if("nanoid"===l.kind)A.test(t.data)||(m(a=this._getOrReturnCtx(t,a),{validation:"nanoid",code:h.invalid_string,message:l.message}),u.dirty());else if("cuid"===l.kind)T.test(t.data)||(m(a=this._getOrReturnCtx(t,a),{validation:"cuid",code:h.invalid_string,message:l.message}),u.dirty());else if("cuid2"===l.kind)S.test(t.data)||(m(a=this._getOrReturnCtx(t,a),{validation:"cuid2",code:h.invalid_string,message:l.message}),u.dirty());else if("ulid"===l.kind)P.test(t.data)||(m(a=this._getOrReturnCtx(t,a),{validation:"ulid",code:h.invalid_string,message:l.message}),u.dirty());else if("url"===l.kind)try{new URL(t.data)}catch{m(a=this._getOrReturnCtx(t,a),{validation:"url",code:h.invalid_string,message:l.message}),u.dirty()}else"regex"===l.kind?(l.regex.lastIndex=0,l.regex.test(t.data)||(m(a=this._getOrReturnCtx(t,a),{validation:"regex",code:h.invalid_string,message:l.message}),u.dirty())):"trim"===l.kind?t.data=t.data.trim():"includes"===l.kind?t.data.includes(l.value,l.position)||(m(a=this._getOrReturnCtx(t,a),{code:h.invalid_string,validation:{includes:l.value,position:l.position},message:l.message}),u.dirty()):"toLowerCase"===l.kind?t.data=t.data.toLowerCase():"toUpperCase"===l.kind?t.data=t.data.toUpperCase():"startsWith"===l.kind?t.data.startsWith(l.value)||(m(a=this._getOrReturnCtx(t,a),{code:h.invalid_string,validation:{startsWith:l.value},message:l.message}),u.dirty()):"endsWith"===l.kind?t.data.endsWith(l.value)||(m(a=this._getOrReturnCtx(t,a),{code:h.invalid_string,validation:{endsWith:l.value},message:l.message}),u.dirty()):"datetime"===l.kind?(function(t){let e=`${L}T${B(t)}`,i=[];return i.push(t.local?"Z?":"Z"),t.offset&&i.push("([+-]\\d{2}:?\\d{2})"),e=`${e}(${i.join("|")})`,RegExp(`^${e}$`)})(l).test(t.data)||(m(a=this._getOrReturnCtx(t,a),{code:h.invalid_string,validation:"datetime",message:l.message}),u.dirty()):"date"===l.kind?N.test(t.data)||(m(a=this._getOrReturnCtx(t,a),{code:h.invalid_string,validation:"date",message:l.message}),u.dirty()):"time"===l.kind?RegExp(`^${B(l)}$`).test(t.data)||(m(a=this._getOrReturnCtx(t,a),{code:h.invalid_string,validation:"time",message:l.message}),u.dirty()):"duration"===l.kind?E.test(t.data)||(m(a=this._getOrReturnCtx(t,a),{validation:"duration",code:h.invalid_string,message:l.message}),u.dirty()):"ip"===l.kind?(e=t.data,!(("v4"===(i=l.version)||!i)&&D.test(e)||("v6"===i||!i)&&j.test(e))&&1&&(m(a=this._getOrReturnCtx(t,a),{validation:"ip",code:h.invalid_string,message:l.message}),u.dirty())):"jwt"===l.kind?!function(t,e){if(!C.test(t))return!1;try{let[i]=t.split(".");if(!i)return!1;let n=i.replace(/-/g,"+").replace(/_/g,"/").padEnd(i.length+(4-i.length%4)%4,"="),r=JSON.parse(atob(n));if("object"!=typeof r||null===r||"typ"in r&&r?.typ!=="JWT"||!r.alg||e&&r.alg!==e)return!1;return!0}catch{return!1}}(t.data,l.alg)&&(m(a=this._getOrReturnCtx(t,a),{validation:"jwt",code:h.invalid_string,message:l.message}),u.dirty()):"cidr"===l.kind?(r=t.data,!(("v4"===(s=l.version)||!s)&&O.test(r)||("v6"===s||!s)&&V.test(r))&&1&&(m(a=this._getOrReturnCtx(t,a),{validation:"cidr",code:h.invalid_string,message:l.message}),u.dirty())):"base64"===l.kind?I.test(t.data)||(m(a=this._getOrReturnCtx(t,a),{validation:"base64",code:h.invalid_string,message:l.message}),u.dirty()):"base64url"===l.kind?F.test(t.data)||(m(a=this._getOrReturnCtx(t,a),{validation:"base64url",code:h.invalid_string,message:l.message}),u.dirty()):n.assertNever(l);return{status:u.value,value:t.data}}_regex(t,e,i){return this.refinement(e=>t.test(e),{validation:e,code:h.invalid_string,...s.errToObj(i)})}_addCheck(t){return new Z({...this._def,checks:[...this._def.checks,t]})}email(t){return this._addCheck({kind:"email",...s.errToObj(t)})}url(t){return this._addCheck({kind:"url",...s.errToObj(t)})}emoji(t){return this._addCheck({kind:"emoji",...s.errToObj(t)})}uuid(t){return this._addCheck({kind:"uuid",...s.errToObj(t)})}nanoid(t){return this._addCheck({kind:"nanoid",...s.errToObj(t)})}cuid(t){return this._addCheck({kind:"cuid",...s.errToObj(t)})}cuid2(t){return this._addCheck({kind:"cuid2",...s.errToObj(t)})}ulid(t){return this._addCheck({kind:"ulid",...s.errToObj(t)})}base64(t){return this._addCheck({kind:"base64",...s.errToObj(t)})}base64url(t){return this._addCheck({kind:"base64url",...s.errToObj(t)})}jwt(t){return this._addCheck({kind:"jwt",...s.errToObj(t)})}ip(t){return this._addCheck({kind:"ip",...s.errToObj(t)})}cidr(t){return this._addCheck({kind:"cidr",...s.errToObj(t)})}datetime(t){return"string"==typeof t?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:t}):this._addCheck({kind:"datetime",precision:void 0===t?.precision?null:t?.precision,offset:t?.offset??!1,local:t?.local??!1,...s.errToObj(t?.message)})}date(t){return this._addCheck({kind:"date",message:t})}time(t){return"string"==typeof t?this._addCheck({kind:"time",precision:null,message:t}):this._addCheck({kind:"time",precision:void 0===t?.precision?null:t?.precision,...s.errToObj(t?.message)})}duration(t){return this._addCheck({kind:"duration",...s.errToObj(t)})}regex(t,e){return this._addCheck({kind:"regex",regex:t,...s.errToObj(e)})}includes(t,e){return this._addCheck({kind:"includes",value:t,position:e?.position,...s.errToObj(e?.message)})}startsWith(t,e){return this._addCheck({kind:"startsWith",value:t,...s.errToObj(e)})}endsWith(t,e){return this._addCheck({kind:"endsWith",value:t,...s.errToObj(e)})}min(t,e){return this._addCheck({kind:"min",value:t,...s.errToObj(e)})}max(t,e){return this._addCheck({kind:"max",value:t,...s.errToObj(e)})}length(t,e){return this._addCheck({kind:"length",value:t,...s.errToObj(e)})}nonempty(t){return this.min(1,s.errToObj(t))}trim(){return new Z({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new Z({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new Z({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find(t=>"datetime"===t.kind)}get isDate(){return!!this._def.checks.find(t=>"date"===t.kind)}get isTime(){return!!this._def.checks.find(t=>"time"===t.kind)}get isDuration(){return!!this._def.checks.find(t=>"duration"===t.kind)}get isEmail(){return!!this._def.checks.find(t=>"email"===t.kind)}get isURL(){return!!this._def.checks.find(t=>"url"===t.kind)}get isEmoji(){return!!this._def.checks.find(t=>"emoji"===t.kind)}get isUUID(){return!!this._def.checks.find(t=>"uuid"===t.kind)}get isNANOID(){return!!this._def.checks.find(t=>"nanoid"===t.kind)}get isCUID(){return!!this._def.checks.find(t=>"cuid"===t.kind)}get isCUID2(){return!!this._def.checks.find(t=>"cuid2"===t.kind)}get isULID(){return!!this._def.checks.find(t=>"ulid"===t.kind)}get isIP(){return!!this._def.checks.find(t=>"ip"===t.kind)}get isCIDR(){return!!this._def.checks.find(t=>"cidr"===t.kind)}get isBase64(){return!!this._def.checks.find(t=>"base64"===t.kind)}get isBase64url(){return!!this._def.checks.find(t=>"base64url"===t.kind)}get minLength(){let t=null;for(let e of this._def.checks)"min"===e.kind&&(null===t||e.value>t)&&(t=e.value);return t}get maxLength(){let t=null;for(let e of this._def.checks)"max"===e.kind&&(null===t||e.value<t)&&(t=e.value);return t}}Z.create=t=>new Z({checks:[],typeName:a.ZodString,coerce:t?.coerce??!1,..._(t)});class $ extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(t){let e;if(this._def.coerce&&(t.data=Number(t.data)),this._getType(t)!==l.number){let e=this._getOrReturnCtx(t);return m(e,{code:h.invalid_type,expected:l.number,received:e.parsedType}),y}let i=new f;for(let r of this._def.checks)"int"===r.kind?n.isInteger(t.data)||(m(e=this._getOrReturnCtx(t,e),{code:h.invalid_type,expected:"integer",received:"float",message:r.message}),i.dirty()):"min"===r.kind?(r.inclusive?t.data<r.value:t.data<=r.value)&&(m(e=this._getOrReturnCtx(t,e),{code:h.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),i.dirty()):"max"===r.kind?(r.inclusive?t.data>r.value:t.data>=r.value)&&(m(e=this._getOrReturnCtx(t,e),{code:h.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),i.dirty()):"multipleOf"===r.kind?0!==function(t,e){let i=(t.toString().split(".")[1]||"").length,n=(e.toString().split(".")[1]||"").length,r=i>n?i:n;return Number.parseInt(t.toFixed(r).replace(".",""))%Number.parseInt(e.toFixed(r).replace(".",""))/10**r}(t.data,r.value)&&(m(e=this._getOrReturnCtx(t,e),{code:h.not_multiple_of,multipleOf:r.value,message:r.message}),i.dirty()):"finite"===r.kind?Number.isFinite(t.data)||(m(e=this._getOrReturnCtx(t,e),{code:h.not_finite,message:r.message}),i.dirty()):n.assertNever(r);return{status:i.value,value:t.data}}gte(t,e){return this.setLimit("min",t,!0,s.toString(e))}gt(t,e){return this.setLimit("min",t,!1,s.toString(e))}lte(t,e){return this.setLimit("max",t,!0,s.toString(e))}lt(t,e){return this.setLimit("max",t,!1,s.toString(e))}setLimit(t,e,i,n){return new $({...this._def,checks:[...this._def.checks,{kind:t,value:e,inclusive:i,message:s.toString(n)}]})}_addCheck(t){return new $({...this._def,checks:[...this._def.checks,t]})}int(t){return this._addCheck({kind:"int",message:s.toString(t)})}positive(t){return this._addCheck({kind:"min",value:0,inclusive:!1,message:s.toString(t)})}negative(t){return this._addCheck({kind:"max",value:0,inclusive:!1,message:s.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:0,inclusive:!0,message:s.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:0,inclusive:!0,message:s.toString(t)})}multipleOf(t,e){return this._addCheck({kind:"multipleOf",value:t,message:s.toString(e)})}finite(t){return this._addCheck({kind:"finite",message:s.toString(t)})}safe(t){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:s.toString(t)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:s.toString(t)})}get minValue(){let t=null;for(let e of this._def.checks)"min"===e.kind&&(null===t||e.value>t)&&(t=e.value);return t}get maxValue(){let t=null;for(let e of this._def.checks)"max"===e.kind&&(null===t||e.value<t)&&(t=e.value);return t}get isInt(){return!!this._def.checks.find(t=>"int"===t.kind||"multipleOf"===t.kind&&n.isInteger(t.value))}get isFinite(){let t=null,e=null;for(let i of this._def.checks)if("finite"===i.kind||"int"===i.kind||"multipleOf"===i.kind)return!0;else"min"===i.kind?(null===e||i.value>e)&&(e=i.value):"max"===i.kind&&(null===t||i.value<t)&&(t=i.value);return Number.isFinite(e)&&Number.isFinite(t)}}$.create=t=>new $({checks:[],typeName:a.ZodNumber,coerce:t?.coerce||!1,..._(t)});class W extends k{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(t){let e;if(this._def.coerce)try{t.data=BigInt(t.data)}catch{return this._getInvalidInput(t)}if(this._getType(t)!==l.bigint)return this._getInvalidInput(t);let i=new f;for(let r of this._def.checks)"min"===r.kind?(r.inclusive?t.data<r.value:t.data<=r.value)&&(m(e=this._getOrReturnCtx(t,e),{code:h.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),i.dirty()):"max"===r.kind?(r.inclusive?t.data>r.value:t.data>=r.value)&&(m(e=this._getOrReturnCtx(t,e),{code:h.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),i.dirty()):"multipleOf"===r.kind?t.data%r.value!==BigInt(0)&&(m(e=this._getOrReturnCtx(t,e),{code:h.not_multiple_of,multipleOf:r.value,message:r.message}),i.dirty()):n.assertNever(r);return{status:i.value,value:t.data}}_getInvalidInput(t){let e=this._getOrReturnCtx(t);return m(e,{code:h.invalid_type,expected:l.bigint,received:e.parsedType}),y}gte(t,e){return this.setLimit("min",t,!0,s.toString(e))}gt(t,e){return this.setLimit("min",t,!1,s.toString(e))}lte(t,e){return this.setLimit("max",t,!0,s.toString(e))}lt(t,e){return this.setLimit("max",t,!1,s.toString(e))}setLimit(t,e,i,n){return new W({...this._def,checks:[...this._def.checks,{kind:t,value:e,inclusive:i,message:s.toString(n)}]})}_addCheck(t){return new W({...this._def,checks:[...this._def.checks,t]})}positive(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:s.toString(t)})}negative(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:s.toString(t)})}nonpositive(t){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:s.toString(t)})}nonnegative(t){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:s.toString(t)})}multipleOf(t,e){return this._addCheck({kind:"multipleOf",value:t,message:s.toString(e)})}get minValue(){let t=null;for(let e of this._def.checks)"min"===e.kind&&(null===t||e.value>t)&&(t=e.value);return t}get maxValue(){let t=null;for(let e of this._def.checks)"max"===e.kind&&(null===t||e.value<t)&&(t=e.value);return t}}W.create=t=>new W({checks:[],typeName:a.ZodBigInt,coerce:t?.coerce??!1,..._(t)});class U extends k{_parse(t){if(this._def.coerce&&(t.data=!!t.data),this._getType(t)!==l.boolean){let e=this._getOrReturnCtx(t);return m(e,{code:h.invalid_type,expected:l.boolean,received:e.parsedType}),y}return v(t.data)}}U.create=t=>new U({typeName:a.ZodBoolean,coerce:t?.coerce||!1,..._(t)});class z extends k{_parse(t){let e;if(this._def.coerce&&(t.data=new Date(t.data)),this._getType(t)!==l.date){let e=this._getOrReturnCtx(t);return m(e,{code:h.invalid_type,expected:l.date,received:e.parsedType}),y}if(Number.isNaN(t.data.getTime()))return m(this._getOrReturnCtx(t),{code:h.invalid_date}),y;let i=new f;for(let r of this._def.checks)"min"===r.kind?t.data.getTime()<r.value&&(m(e=this._getOrReturnCtx(t,e),{code:h.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),i.dirty()):"max"===r.kind?t.data.getTime()>r.value&&(m(e=this._getOrReturnCtx(t,e),{code:h.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),i.dirty()):n.assertNever(r);return{status:i.value,value:new Date(t.data.getTime())}}_addCheck(t){return new z({...this._def,checks:[...this._def.checks,t]})}min(t,e){return this._addCheck({kind:"min",value:t.getTime(),message:s.toString(e)})}max(t,e){return this._addCheck({kind:"max",value:t.getTime(),message:s.toString(e)})}get minDate(){let t=null;for(let e of this._def.checks)"min"===e.kind&&(null===t||e.value>t)&&(t=e.value);return null!=t?new Date(t):null}get maxDate(){let t=null;for(let e of this._def.checks)"max"===e.kind&&(null===t||e.value<t)&&(t=e.value);return null!=t?new Date(t):null}}z.create=t=>new z({checks:[],coerce:t?.coerce||!1,typeName:a.ZodDate,..._(t)});class Y extends k{_parse(t){if(this._getType(t)!==l.symbol){let e=this._getOrReturnCtx(t);return m(e,{code:h.invalid_type,expected:l.symbol,received:e.parsedType}),y}return v(t.data)}}Y.create=t=>new Y({typeName:a.ZodSymbol,..._(t)});class Q extends k{_parse(t){if(this._getType(t)!==l.undefined){let e=this._getOrReturnCtx(t);return m(e,{code:h.invalid_type,expected:l.undefined,received:e.parsedType}),y}return v(t.data)}}Q.create=t=>new Q({typeName:a.ZodUndefined,..._(t)});class q extends k{_parse(t){if(this._getType(t)!==l.null){let e=this._getOrReturnCtx(t);return m(e,{code:h.invalid_type,expected:l.null,received:e.parsedType}),y}return v(t.data)}}q.create=t=>new q({typeName:a.ZodNull,..._(t)});class H extends k{constructor(){super(...arguments),this._any=!0}_parse(t){return v(t.data)}}H.create=t=>new H({typeName:a.ZodAny,..._(t)});class X extends k{constructor(){super(...arguments),this._unknown=!0}_parse(t){return v(t.data)}}X.create=t=>new X({typeName:a.ZodUnknown,..._(t)});class K extends k{_parse(t){let e=this._getOrReturnCtx(t);return m(e,{code:h.invalid_type,expected:l.never,received:e.parsedType}),y}}K.create=t=>new K({typeName:a.ZodNever,..._(t)});class G extends k{_parse(t){if(this._getType(t)!==l.undefined){let e=this._getOrReturnCtx(t);return m(e,{code:h.invalid_type,expected:l.void,received:e.parsedType}),y}return v(t.data)}}G.create=t=>new G({typeName:a.ZodVoid,..._(t)});class J extends k{_parse(t){let{ctx:e,status:i}=this._processInputParams(t),n=this._def;if(e.parsedType!==l.array)return m(e,{code:h.invalid_type,expected:l.array,received:e.parsedType}),y;if(null!==n.exactLength){let t=e.data.length>n.exactLength.value,r=e.data.length<n.exactLength.value;(t||r)&&(m(e,{code:t?h.too_big:h.too_small,minimum:r?n.exactLength.value:void 0,maximum:t?n.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:n.exactLength.message}),i.dirty())}if(null!==n.minLength&&e.data.length<n.minLength.value&&(m(e,{code:h.too_small,minimum:n.minLength.value,type:"array",inclusive:!0,exact:!1,message:n.minLength.message}),i.dirty()),null!==n.maxLength&&e.data.length>n.maxLength.value&&(m(e,{code:h.too_big,maximum:n.maxLength.value,type:"array",inclusive:!0,exact:!1,message:n.maxLength.message}),i.dirty()),e.common.async)return Promise.all([...e.data].map((t,i)=>n.type._parseAsync(new w(e,t,e.path,i)))).then(t=>f.mergeArray(i,t));let r=[...e.data].map((t,i)=>n.type._parseSync(new w(e,t,e.path,i)));return f.mergeArray(i,r)}get element(){return this._def.type}min(t,e){return new J({...this._def,minLength:{value:t,message:s.toString(e)}})}max(t,e){return new J({...this._def,maxLength:{value:t,message:s.toString(e)}})}length(t,e){return new J({...this._def,exactLength:{value:t,message:s.toString(e)}})}nonempty(t){return this.min(1,t)}}J.create=(t,e)=>new J({type:t,minLength:null,maxLength:null,exactLength:null,typeName:a.ZodArray,..._(e)});class tt extends k{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;let t=this._def.shape(),e=n.objectKeys(t);return this._cached={shape:t,keys:e},this._cached}_parse(t){if(this._getType(t)!==l.object){let e=this._getOrReturnCtx(t);return m(e,{code:h.invalid_type,expected:l.object,received:e.parsedType}),y}let{status:e,ctx:i}=this._processInputParams(t),{shape:n,keys:r}=this._getCached(),s=[];if(!(this._def.catchall instanceof K&&"strip"===this._def.unknownKeys))for(let t in i.data)r.includes(t)||s.push(t);let a=[];for(let t of r){let e=n[t],r=i.data[t];a.push({key:{status:"valid",value:t},value:e._parse(new w(i,r,i.path,t)),alwaysSet:t in i.data})}if(this._def.catchall instanceof K){let t=this._def.unknownKeys;if("passthrough"===t)for(let t of s)a.push({key:{status:"valid",value:t},value:{status:"valid",value:i.data[t]}});else if("strict"===t)s.length>0&&(m(i,{code:h.unrecognized_keys,keys:s}),e.dirty());else if("strip"===t);else throw Error("Internal ZodObject error: invalid unknownKeys value.")}else{let t=this._def.catchall;for(let e of s){let n=i.data[e];a.push({key:{status:"valid",value:e},value:t._parse(new w(i,n,i.path,e)),alwaysSet:e in i.data})}}return i.common.async?Promise.resolve().then(async()=>{let t=[];for(let e of a){let i=await e.key,n=await e.value;t.push({key:i,value:n,alwaysSet:e.alwaysSet})}return t}).then(t=>f.mergeObjectSync(e,t)):f.mergeObjectSync(e,a)}get shape(){return this._def.shape()}strict(t){return s.errToObj,new tt({...this._def,unknownKeys:"strict",...void 0!==t?{errorMap:(e,i)=>{let n=this._def.errorMap?.(e,i).message??i.defaultError;return"unrecognized_keys"===e.code?{message:s.errToObj(t).message??n}:{message:n}}}:{}})}strip(){return new tt({...this._def,unknownKeys:"strip"})}passthrough(){return new tt({...this._def,unknownKeys:"passthrough"})}extend(t){return new tt({...this._def,shape:()=>({...this._def.shape(),...t})})}merge(t){return new tt({unknownKeys:t._def.unknownKeys,catchall:t._def.catchall,shape:()=>({...this._def.shape(),...t._def.shape()}),typeName:a.ZodObject})}setKey(t,e){return this.augment({[t]:e})}catchall(t){return new tt({...this._def,catchall:t})}pick(t){let e={};for(let i of n.objectKeys(t))t[i]&&this.shape[i]&&(e[i]=this.shape[i]);return new tt({...this._def,shape:()=>e})}omit(t){let e={};for(let i of n.objectKeys(this.shape))t[i]||(e[i]=this.shape[i]);return new tt({...this._def,shape:()=>e})}deepPartial(){return function t(e){if(e instanceof tt){let i={};for(let n in e.shape){let r=e.shape[n];i[n]=tg.create(t(r))}return new tt({...e._def,shape:()=>i})}if(e instanceof J)return new J({...e._def,type:t(e.element)});if(e instanceof tg)return tg.create(t(e.unwrap()));if(e instanceof tv)return tv.create(t(e.unwrap()));if(e instanceof ts)return ts.create(e.items.map(e=>t(e)));else return e}(this)}partial(t){let e={};for(let i of n.objectKeys(this.shape)){let n=this.shape[i];t&&!t[i]?e[i]=n:e[i]=n.optional()}return new tt({...this._def,shape:()=>e})}required(t){let e={};for(let i of n.objectKeys(this.shape))if(t&&!t[i])e[i]=this.shape[i];else{let t=this.shape[i];for(;t instanceof tg;)t=t._def.innerType;e[i]=t}return new tt({...this._def,shape:()=>e})}keyof(){return tc(n.objectKeys(this.shape))}}tt.create=(t,e)=>new tt({shape:()=>t,unknownKeys:"strip",catchall:K.create(),typeName:a.ZodObject,..._(e)}),tt.strictCreate=(t,e)=>new tt({shape:()=>t,unknownKeys:"strict",catchall:K.create(),typeName:a.ZodObject,..._(e)}),tt.lazycreate=(t,e)=>new tt({shape:t,unknownKeys:"strip",catchall:K.create(),typeName:a.ZodObject,..._(e)});class te extends k{_parse(t){let{ctx:e}=this._processInputParams(t),i=this._def.options;if(e.common.async)return Promise.all(i.map(async t=>{let i={...e,common:{...e.common,issues:[]},parent:null};return{result:await t._parseAsync({data:e.data,path:e.path,parent:i}),ctx:i}})).then(function(t){for(let e of t)if("valid"===e.result.status)return e.result;for(let i of t)if("dirty"===i.result.status)return e.common.issues.push(...i.ctx.common.issues),i.result;let i=t.map(t=>new d(t.ctx.common.issues));return m(e,{code:h.invalid_union,unionErrors:i}),y});{let t,n=[];for(let r of i){let i={...e,common:{...e.common,issues:[]},parent:null},s=r._parseSync({data:e.data,path:e.path,parent:i});if("valid"===s.status)return s;"dirty"!==s.status||t||(t={result:s,ctx:i}),i.common.issues.length&&n.push(i.common.issues)}if(t)return e.common.issues.push(...t.ctx.common.issues),t.result;let r=n.map(t=>new d(t));return m(e,{code:h.invalid_union,unionErrors:r}),y}}get options(){return this._def.options}}te.create=(t,e)=>new te({options:t,typeName:a.ZodUnion,..._(e)});let ti=t=>{if(t instanceof th)return ti(t.schema);if(t instanceof ty)return ti(t.innerType());if(t instanceof td)return[t.value];if(t instanceof tp)return t.options;if(t instanceof tm)return n.objectValues(t.enum);else if(t instanceof tx)return ti(t._def.innerType);else if(t instanceof Q)return[void 0];else if(t instanceof q)return[null];else if(t instanceof tg)return[void 0,...ti(t.unwrap())];else if(t instanceof tv)return[null,...ti(t.unwrap())];else if(t instanceof t_)return ti(t.unwrap());else if(t instanceof tT)return ti(t.unwrap());else if(t instanceof tw)return ti(t._def.innerType);else return[]};class tn extends k{_parse(t){let{ctx:e}=this._processInputParams(t);if(e.parsedType!==l.object)return m(e,{code:h.invalid_type,expected:l.object,received:e.parsedType}),y;let i=this.discriminator,n=e.data[i],r=this.optionsMap.get(n);return r?e.common.async?r._parseAsync({data:e.data,path:e.path,parent:e}):r._parseSync({data:e.data,path:e.path,parent:e}):(m(e,{code:h.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[i]}),y)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(t,e,i){let n=new Map;for(let i of e){let e=ti(i.shape[t]);if(!e.length)throw Error(`A discriminator value for key \`${t}\` could not be extracted from all schema options`);for(let r of e){if(n.has(r))throw Error(`Discriminator property ${String(t)} has duplicate value ${String(r)}`);n.set(r,i)}}return new tn({typeName:a.ZodDiscriminatedUnion,discriminator:t,options:e,optionsMap:n,..._(i)})}}class tr extends k{_parse(t){let{status:e,ctx:i}=this._processInputParams(t),r=(t,r)=>{if("aborted"===t.status||"aborted"===r.status)return y;let s=function t(e,i){let r=u(e),s=u(i);if(e===i)return{valid:!0,data:e};if(r===l.object&&s===l.object){let r=n.objectKeys(i),s=n.objectKeys(e).filter(t=>-1!==r.indexOf(t)),a={...e,...i};for(let n of s){let r=t(e[n],i[n]);if(!r.valid)return{valid:!1};a[n]=r.data}return{valid:!0,data:a}}if(r===l.array&&s===l.array){if(e.length!==i.length)return{valid:!1};let n=[];for(let r=0;r<e.length;r++){let s=t(e[r],i[r]);if(!s.valid)return{valid:!1};n.push(s.data)}return{valid:!0,data:n}}if(r===l.date&&s===l.date&&+e==+i)return{valid:!0,data:e};return{valid:!1}}(t.value,r.value);return s.valid?(("dirty"===t.status||"dirty"===r.status)&&e.dirty(),{status:e.value,value:s.data}):(m(i,{code:h.invalid_intersection_types}),y)};return i.common.async?Promise.all([this._def.left._parseAsync({data:i.data,path:i.path,parent:i}),this._def.right._parseAsync({data:i.data,path:i.path,parent:i})]).then(([t,e])=>r(t,e)):r(this._def.left._parseSync({data:i.data,path:i.path,parent:i}),this._def.right._parseSync({data:i.data,path:i.path,parent:i}))}}tr.create=(t,e,i)=>new tr({left:t,right:e,typeName:a.ZodIntersection,..._(i)});class ts extends k{_parse(t){let{status:e,ctx:i}=this._processInputParams(t);if(i.parsedType!==l.array)return m(i,{code:h.invalid_type,expected:l.array,received:i.parsedType}),y;if(i.data.length<this._def.items.length)return m(i,{code:h.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),y;!this._def.rest&&i.data.length>this._def.items.length&&(m(i,{code:h.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),e.dirty());let n=[...i.data].map((t,e)=>{let n=this._def.items[e]||this._def.rest;return n?n._parse(new w(i,t,i.path,e)):null}).filter(t=>!!t);return i.common.async?Promise.all(n).then(t=>f.mergeArray(e,t)):f.mergeArray(e,n)}get items(){return this._def.items}rest(t){return new ts({...this._def,rest:t})}}ts.create=(t,e)=>{if(!Array.isArray(t))throw Error("You must pass an array of schemas to z.tuple([ ... ])");return new ts({items:t,typeName:a.ZodTuple,rest:null,..._(e)})};class ta extends k{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:e,ctx:i}=this._processInputParams(t);if(i.parsedType!==l.object)return m(i,{code:h.invalid_type,expected:l.object,received:i.parsedType}),y;let n=[],r=this._def.keyType,s=this._def.valueType;for(let t in i.data)n.push({key:r._parse(new w(i,t,i.path,t)),value:s._parse(new w(i,i.data[t],i.path,t)),alwaysSet:t in i.data});return i.common.async?f.mergeObjectAsync(e,n):f.mergeObjectSync(e,n)}get element(){return this._def.valueType}static create(t,e,i){return new ta(e instanceof k?{keyType:t,valueType:e,typeName:a.ZodRecord,..._(i)}:{keyType:Z.create(),valueType:t,typeName:a.ZodRecord,..._(e)})}}class to extends k{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(t){let{status:e,ctx:i}=this._processInputParams(t);if(i.parsedType!==l.map)return m(i,{code:h.invalid_type,expected:l.map,received:i.parsedType}),y;let n=this._def.keyType,r=this._def.valueType,s=[...i.data.entries()].map(([t,e],s)=>({key:n._parse(new w(i,t,i.path,[s,"key"])),value:r._parse(new w(i,e,i.path,[s,"value"]))}));if(i.common.async){let t=new Map;return Promise.resolve().then(async()=>{for(let i of s){let n=await i.key,r=await i.value;if("aborted"===n.status||"aborted"===r.status)return y;("dirty"===n.status||"dirty"===r.status)&&e.dirty(),t.set(n.value,r.value)}return{status:e.value,value:t}})}{let t=new Map;for(let i of s){let n=i.key,r=i.value;if("aborted"===n.status||"aborted"===r.status)return y;("dirty"===n.status||"dirty"===r.status)&&e.dirty(),t.set(n.value,r.value)}return{status:e.value,value:t}}}}to.create=(t,e,i)=>new to({valueType:e,keyType:t,typeName:a.ZodMap,..._(i)});class tl extends k{_parse(t){let{status:e,ctx:i}=this._processInputParams(t);if(i.parsedType!==l.set)return m(i,{code:h.invalid_type,expected:l.set,received:i.parsedType}),y;let n=this._def;null!==n.minSize&&i.data.size<n.minSize.value&&(m(i,{code:h.too_small,minimum:n.minSize.value,type:"set",inclusive:!0,exact:!1,message:n.minSize.message}),e.dirty()),null!==n.maxSize&&i.data.size>n.maxSize.value&&(m(i,{code:h.too_big,maximum:n.maxSize.value,type:"set",inclusive:!0,exact:!1,message:n.maxSize.message}),e.dirty());let r=this._def.valueType;function s(t){let i=new Set;for(let n of t){if("aborted"===n.status)return y;"dirty"===n.status&&e.dirty(),i.add(n.value)}return{status:e.value,value:i}}let a=[...i.data.values()].map((t,e)=>r._parse(new w(i,t,i.path,e)));return i.common.async?Promise.all(a).then(t=>s(t)):s(a)}min(t,e){return new tl({...this._def,minSize:{value:t,message:s.toString(e)}})}max(t,e){return new tl({...this._def,maxSize:{value:t,message:s.toString(e)}})}size(t,e){return this.min(t,e).max(t,e)}nonempty(t){return this.min(1,t)}}tl.create=(t,e)=>new tl({valueType:t,minSize:null,maxSize:null,typeName:a.ZodSet,..._(e)});class tu extends k{constructor(){super(...arguments),this.validate=this.implement}_parse(t){let{ctx:e}=this._processInputParams(t);if(e.parsedType!==l.function)return m(e,{code:h.invalid_type,expected:l.function,received:e.parsedType}),y;function i(t,i){return p({data:t,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,c,c].filter(t=>!!t),issueData:{code:h.invalid_arguments,argumentsError:i}})}function n(t,i){return p({data:t,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,c,c].filter(t=>!!t),issueData:{code:h.invalid_return_type,returnTypeError:i}})}let r={errorMap:e.common.contextualErrorMap},s=e.data;if(this._def.returns instanceof tf){let t=this;return v(async function(...e){let a=new d([]),o=await t._def.args.parseAsync(e,r).catch(t=>{throw a.addIssue(i(e,t)),a}),l=await Reflect.apply(s,this,o);return await t._def.returns._def.type.parseAsync(l,r).catch(t=>{throw a.addIssue(n(l,t)),a})})}{let t=this;return v(function(...e){let a=t._def.args.safeParse(e,r);if(!a.success)throw new d([i(e,a.error)]);let o=Reflect.apply(s,this,a.data),l=t._def.returns.safeParse(o,r);if(!l.success)throw new d([n(o,l.error)]);return l.data})}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...t){return new tu({...this._def,args:ts.create(t).rest(X.create())})}returns(t){return new tu({...this._def,returns:t})}implement(t){return this.parse(t)}strictImplement(t){return this.parse(t)}static create(t,e,i){return new tu({args:t||ts.create([]).rest(X.create()),returns:e||X.create(),typeName:a.ZodFunction,..._(i)})}}class th extends k{get schema(){return this._def.getter()}_parse(t){let{ctx:e}=this._processInputParams(t);return this._def.getter()._parse({data:e.data,path:e.path,parent:e})}}th.create=(t,e)=>new th({getter:t,typeName:a.ZodLazy,..._(e)});class td extends k{_parse(t){if(t.data!==this._def.value){let e=this._getOrReturnCtx(t);return m(e,{received:e.data,code:h.invalid_literal,expected:this._def.value}),y}return{status:"valid",value:t.data}}get value(){return this._def.value}}function tc(t,e){return new tp({values:t,typeName:a.ZodEnum,..._(e)})}td.create=(t,e)=>new td({value:t,typeName:a.ZodLiteral,..._(e)});class tp extends k{_parse(t){if("string"!=typeof t.data){let e=this._getOrReturnCtx(t),i=this._def.values;return m(e,{expected:n.joinValues(i),received:e.parsedType,code:h.invalid_type}),y}if(this._cache||(this._cache=new Set(this._def.values)),!this._cache.has(t.data)){let e=this._getOrReturnCtx(t),i=this._def.values;return m(e,{received:e.data,code:h.invalid_enum_value,options:i}),y}return v(t.data)}get options(){return this._def.values}get enum(){let t={};for(let e of this._def.values)t[e]=e;return t}get Values(){let t={};for(let e of this._def.values)t[e]=e;return t}get Enum(){let t={};for(let e of this._def.values)t[e]=e;return t}extract(t,e=this._def){return tp.create(t,{...this._def,...e})}exclude(t,e=this._def){return tp.create(this.options.filter(e=>!t.includes(e)),{...this._def,...e})}}tp.create=tc;class tm extends k{_parse(t){let e=n.getValidEnumValues(this._def.values),i=this._getOrReturnCtx(t);if(i.parsedType!==l.string&&i.parsedType!==l.number){let t=n.objectValues(e);return m(i,{expected:n.joinValues(t),received:i.parsedType,code:h.invalid_type}),y}if(this._cache||(this._cache=new Set(n.getValidEnumValues(this._def.values))),!this._cache.has(t.data)){let t=n.objectValues(e);return m(i,{received:i.data,code:h.invalid_enum_value,options:t}),y}return v(t.data)}get enum(){return this._def.values}}tm.create=(t,e)=>new tm({values:t,typeName:a.ZodNativeEnum,..._(e)});class tf extends k{unwrap(){return this._def.type}_parse(t){let{ctx:e}=this._processInputParams(t);return e.parsedType!==l.promise&&!1===e.common.async?(m(e,{code:h.invalid_type,expected:l.promise,received:e.parsedType}),y):v((e.parsedType===l.promise?e.data:Promise.resolve(e.data)).then(t=>this._def.type.parseAsync(t,{path:e.path,errorMap:e.common.contextualErrorMap})))}}tf.create=(t,e)=>new tf({type:t,typeName:a.ZodPromise,..._(e)});class ty extends k{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===a.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(t){let{status:e,ctx:i}=this._processInputParams(t),r=this._def.effect||null,s={addIssue:t=>{m(i,t),t.fatal?e.abort():e.dirty()},get path(){return i.path}};if(s.addIssue=s.addIssue.bind(s),"preprocess"===r.type){let t=r.transform(i.data,s);if(i.common.async)return Promise.resolve(t).then(async t=>{if("aborted"===e.value)return y;let n=await this._def.schema._parseAsync({data:t,path:i.path,parent:i});return"aborted"===n.status?y:"dirty"===n.status||"dirty"===e.value?g(n.value):n});{if("aborted"===e.value)return y;let n=this._def.schema._parseSync({data:t,path:i.path,parent:i});return"aborted"===n.status?y:"dirty"===n.status||"dirty"===e.value?g(n.value):n}}if("refinement"===r.type){let t=t=>{let e=r.refinement(t,s);if(i.common.async)return Promise.resolve(e);if(e instanceof Promise)throw Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return t};if(!1!==i.common.async)return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(i=>"aborted"===i.status?y:("dirty"===i.status&&e.dirty(),t(i.value).then(()=>({status:e.value,value:i.value}))));{let n=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});return"aborted"===n.status?y:("dirty"===n.status&&e.dirty(),t(n.value),{status:e.value,value:n.value})}}if("transform"===r.type)if(!1!==i.common.async)return this._def.schema._parseAsync({data:i.data,path:i.path,parent:i}).then(t=>"valid"!==t.status?y:Promise.resolve(r.transform(t.value,s)).then(t=>({status:e.value,value:t})));else{let t=this._def.schema._parseSync({data:i.data,path:i.path,parent:i});if("valid"!==t.status)return y;let n=r.transform(t.value,s);if(n instanceof Promise)throw Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:e.value,value:n}}n.assertNever(r)}}ty.create=(t,e,i)=>new ty({schema:t,typeName:a.ZodEffects,effect:e,..._(i)}),ty.createWithPreprocess=(t,e,i)=>new ty({schema:e,effect:{type:"preprocess",transform:t},typeName:a.ZodEffects,..._(i)});class tg extends k{_parse(t){return this._getType(t)===l.undefined?v(void 0):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}tg.create=(t,e)=>new tg({innerType:t,typeName:a.ZodOptional,..._(e)});class tv extends k{_parse(t){return this._getType(t)===l.null?v(null):this._def.innerType._parse(t)}unwrap(){return this._def.innerType}}tv.create=(t,e)=>new tv({innerType:t,typeName:a.ZodNullable,..._(e)});class tx extends k{_parse(t){let{ctx:e}=this._processInputParams(t),i=e.data;return e.parsedType===l.undefined&&(i=this._def.defaultValue()),this._def.innerType._parse({data:i,path:e.path,parent:e})}removeDefault(){return this._def.innerType}}tx.create=(t,e)=>new tx({innerType:t,typeName:a.ZodDefault,defaultValue:"function"==typeof e.default?e.default:()=>e.default,..._(e)});class tw extends k{_parse(t){let{ctx:e}=this._processInputParams(t),i={...e,common:{...e.common,issues:[]}},n=this._def.innerType._parse({data:i.data,path:i.path,parent:{...i}});return x(n)?n.then(t=>({status:"valid",value:"valid"===t.status?t.value:this._def.catchValue({get error(){return new d(i.common.issues)},input:i.data})})):{status:"valid",value:"valid"===n.status?n.value:this._def.catchValue({get error(){return new d(i.common.issues)},input:i.data})}}removeCatch(){return this._def.innerType}}tw.create=(t,e)=>new tw({innerType:t,typeName:a.ZodCatch,catchValue:"function"==typeof e.catch?e.catch:()=>e.catch,..._(e)});class tb extends k{_parse(t){if(this._getType(t)!==l.nan){let e=this._getOrReturnCtx(t);return m(e,{code:h.invalid_type,expected:l.nan,received:e.parsedType}),y}return{status:"valid",value:t.data}}}tb.create=t=>new tb({typeName:a.ZodNaN,..._(t)}),Symbol("zod_brand");class t_ extends k{_parse(t){let{ctx:e}=this._processInputParams(t),i=e.data;return this._def.type._parse({data:i,path:e.path,parent:e})}unwrap(){return this._def.type}}class tk extends k{_parse(t){let{status:e,ctx:i}=this._processInputParams(t);if(i.common.async)return(async()=>{let t=await this._def.in._parseAsync({data:i.data,path:i.path,parent:i});return"aborted"===t.status?y:"dirty"===t.status?(e.dirty(),g(t.value)):this._def.out._parseAsync({data:t.value,path:i.path,parent:i})})();{let t=this._def.in._parseSync({data:i.data,path:i.path,parent:i});return"aborted"===t.status?y:"dirty"===t.status?(e.dirty(),{status:"dirty",value:t.value}):this._def.out._parseSync({data:t.value,path:i.path,parent:i})}}static create(t,e){return new tk({in:t,out:e,typeName:a.ZodPipeline})}}class tT extends k{_parse(t){let e=this._def.innerType._parse(t),i=t=>("valid"===t.status&&(t.value=Object.freeze(t.value)),t);return x(e)?e.then(t=>i(t)):i(e)}unwrap(){return this._def.innerType}}tT.create=(t,e)=>new tT({innerType:t,typeName:a.ZodReadonly,..._(e)}),tt.lazycreate,function(t){t.ZodString="ZodString",t.ZodNumber="ZodNumber",t.ZodNaN="ZodNaN",t.ZodBigInt="ZodBigInt",t.ZodBoolean="ZodBoolean",t.ZodDate="ZodDate",t.ZodSymbol="ZodSymbol",t.ZodUndefined="ZodUndefined",t.ZodNull="ZodNull",t.ZodAny="ZodAny",t.ZodUnknown="ZodUnknown",t.ZodNever="ZodNever",t.ZodVoid="ZodVoid",t.ZodArray="ZodArray",t.ZodObject="ZodObject",t.ZodUnion="ZodUnion",t.ZodDiscriminatedUnion="ZodDiscriminatedUnion",t.ZodIntersection="ZodIntersection",t.ZodTuple="ZodTuple",t.ZodRecord="ZodRecord",t.ZodMap="ZodMap",t.ZodSet="ZodSet",t.ZodFunction="ZodFunction",t.ZodLazy="ZodLazy",t.ZodLiteral="ZodLiteral",t.ZodEnum="ZodEnum",t.ZodEffects="ZodEffects",t.ZodNativeEnum="ZodNativeEnum",t.ZodOptional="ZodOptional",t.ZodNullable="ZodNullable",t.ZodDefault="ZodDefault",t.ZodCatch="ZodCatch",t.ZodPromise="ZodPromise",t.ZodBranded="ZodBranded",t.ZodPipeline="ZodPipeline",t.ZodReadonly="ZodReadonly"}(a||(a={}));let tS=Z.create,tP=$.create;tb.create,W.create;let tM=U.create;z.create,Y.create,Q.create,q.create,H.create,X.create,K.create,G.create;let tA=J.create,tC=tt.create;tt.strictCreate,te.create,tn.create,tr.create,ts.create,ta.create,to.create,tl.create,tu.create,th.create,td.create,tp.create;let tE=tm.create;tf.create,ty.create,tg.create,tv.create,ty.createWithPreprocess,tk.create},8094:(t,e,i)=>{i.d(e,{M:()=>r});var n=i(7620);function r(t){let e=(0,n.useRef)(null);return null===e.current&&(e.current=t()),e.current}},8191:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8889).A)("Tag",[["path",{d:"M12.586 2.586A2 2 0 0 0 11.172 2H4a2 2 0 0 0-2 2v7.172a2 2 0 0 0 .586 1.414l8.704 8.704a2.426 2.426 0 0 0 3.42 0l6.58-6.58a2.426 2.426 0 0 0 0-3.42z",key:"vktsd0"}],["circle",{cx:"7.5",cy:"7.5",r:".5",fill:"currentColor",key:"kqv944"}]])},8262:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8889).A)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},8386:(t,e,i)=>{i.d(e,{L:()=>n});let n=(0,i(7620).createContext)({})},8416:(t,e,i)=>{i.d(e,{B:()=>n});let n="undefined"!=typeof window},9219:(t,e,i)=>{i.d(e,{xQ:()=>s});var n=i(7620),r=i(548);function s(){let t=!(arguments.length>0)||void 0===arguments[0]||arguments[0],e=(0,n.useContext)(r.t);if(null===e)return[!0,null];let{isPresent:i,onExitComplete:s,register:a}=e,o=(0,n.useId)();(0,n.useEffect)(()=>{if(t)return a(o)},[t]);let l=(0,n.useCallback)(()=>t&&s&&s(o),[o,s,t]);return!i&&s?[!1,l]:[!0]}},9241:(t,e,i)=>{i.d(e,{GP:()=>O});var n=i(2684),r=i(4259),s=i(5363),a=i(2686),o=i(250),l=i(6468);function u(t,e){let i=(0,l.a)(t,null==e?void 0:e.in);return i.setHours(0,0,0,0),i}function h(t,e){var i,n,s,a,o,u,h,d;let c=(0,r.q)(),p=null!=(d=null!=(h=null!=(u=null!=(o=null==e?void 0:e.weekStartsOn)?o:null==e||null==(n=e.locale)||null==(i=n.options)?void 0:i.weekStartsOn)?u:c.weekStartsOn)?h:null==(a=c.locale)||null==(s=a.options)?void 0:s.weekStartsOn)?d:0,m=(0,l.a)(t,null==e?void 0:e.in),f=m.getDay();return m.setDate(m.getDate()-(7*(f<p)+f-p)),m.setHours(0,0,0,0),m}function d(t,e){return h(t,{...e,weekStartsOn:1})}var c=i(9922);function p(t,e){let i=(0,l.a)(t,null==e?void 0:e.in),n=i.getFullYear(),r=(0,c.w)(i,0);r.setFullYear(n+1,0,4),r.setHours(0,0,0,0);let s=d(r),a=(0,c.w)(i,0);a.setFullYear(n,0,4),a.setHours(0,0,0,0);let o=d(a);return i.getTime()>=s.getTime()?n+1:i.getTime()>=o.getTime()?n:n-1}function m(t,e){var i,n,s,a,o,u,d,p;let m=(0,l.a)(t,null==e?void 0:e.in),f=m.getFullYear(),y=(0,r.q)(),g=null!=(p=null!=(d=null!=(u=null!=(o=null==e?void 0:e.firstWeekContainsDate)?o:null==e||null==(n=e.locale)||null==(i=n.options)?void 0:i.firstWeekContainsDate)?u:y.firstWeekContainsDate)?d:null==(a=y.locale)||null==(s=a.options)?void 0:s.firstWeekContainsDate)?p:1,v=(0,c.w)((null==e?void 0:e.in)||t,0);v.setFullYear(f+1,0,g),v.setHours(0,0,0,0);let x=h(v,e),w=(0,c.w)((null==e?void 0:e.in)||t,0);w.setFullYear(f,0,g),w.setHours(0,0,0,0);let b=h(w,e);return+m>=+x?f+1:+m>=+b?f:f-1}function f(t,e){let i=Math.abs(t).toString().padStart(e,"0");return(t<0?"-":"")+i}let y={y(t,e){let i=t.getFullYear(),n=i>0?i:1-i;return f("yy"===e?n%100:n,e.length)},M(t,e){let i=t.getMonth();return"M"===e?String(i+1):f(i+1,2)},d:(t,e)=>f(t.getDate(),e.length),a(t,e){let i=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.toUpperCase();case"aaa":return i;case"aaaaa":return i[0];default:return"am"===i?"a.m.":"p.m."}},h:(t,e)=>f(t.getHours()%12||12,e.length),H:(t,e)=>f(t.getHours(),e.length),m:(t,e)=>f(t.getMinutes(),e.length),s:(t,e)=>f(t.getSeconds(),e.length),S(t,e){let i=e.length;return f(Math.trunc(t.getMilliseconds()*Math.pow(10,i-3)),e.length)}},g={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},v={G:function(t,e,i){let n=+(t.getFullYear()>0);switch(e){case"G":case"GG":case"GGG":return i.era(n,{width:"abbreviated"});case"GGGGG":return i.era(n,{width:"narrow"});default:return i.era(n,{width:"wide"})}},y:function(t,e,i){if("yo"===e){let e=t.getFullYear();return i.ordinalNumber(e>0?e:1-e,{unit:"year"})}return y.y(t,e)},Y:function(t,e,i,n){let r=m(t,n),s=r>0?r:1-r;return"YY"===e?f(s%100,2):"Yo"===e?i.ordinalNumber(s,{unit:"year"}):f(s,e.length)},R:function(t,e){return f(p(t),e.length)},u:function(t,e){return f(t.getFullYear(),e.length)},Q:function(t,e,i){let n=Math.ceil((t.getMonth()+1)/3);switch(e){case"Q":return String(n);case"QQ":return f(n,2);case"Qo":return i.ordinalNumber(n,{unit:"quarter"});case"QQQ":return i.quarter(n,{width:"abbreviated",context:"formatting"});case"QQQQQ":return i.quarter(n,{width:"narrow",context:"formatting"});default:return i.quarter(n,{width:"wide",context:"formatting"})}},q:function(t,e,i){let n=Math.ceil((t.getMonth()+1)/3);switch(e){case"q":return String(n);case"qq":return f(n,2);case"qo":return i.ordinalNumber(n,{unit:"quarter"});case"qqq":return i.quarter(n,{width:"abbreviated",context:"standalone"});case"qqqqq":return i.quarter(n,{width:"narrow",context:"standalone"});default:return i.quarter(n,{width:"wide",context:"standalone"})}},M:function(t,e,i){let n=t.getMonth();switch(e){case"M":case"MM":return y.M(t,e);case"Mo":return i.ordinalNumber(n+1,{unit:"month"});case"MMM":return i.month(n,{width:"abbreviated",context:"formatting"});case"MMMMM":return i.month(n,{width:"narrow",context:"formatting"});default:return i.month(n,{width:"wide",context:"formatting"})}},L:function(t,e,i){let n=t.getMonth();switch(e){case"L":return String(n+1);case"LL":return f(n+1,2);case"Lo":return i.ordinalNumber(n+1,{unit:"month"});case"LLL":return i.month(n,{width:"abbreviated",context:"standalone"});case"LLLLL":return i.month(n,{width:"narrow",context:"standalone"});default:return i.month(n,{width:"wide",context:"standalone"})}},w:function(t,e,i,n){let s=function(t,e){let i=(0,l.a)(t,null==e?void 0:e.in);return Math.round((h(i,e)-function(t,e){var i,n,s,a,o,l,u,d;let p=(0,r.q)(),f=null!=(d=null!=(u=null!=(l=null!=(o=null==e?void 0:e.firstWeekContainsDate)?o:null==e||null==(n=e.locale)||null==(i=n.options)?void 0:i.firstWeekContainsDate)?l:p.firstWeekContainsDate)?u:null==(a=p.locale)||null==(s=a.options)?void 0:s.firstWeekContainsDate)?d:1,y=m(t,e),g=(0,c.w)((null==e?void 0:e.in)||t,0);return g.setFullYear(y,0,f),g.setHours(0,0,0,0),h(g,e)}(i,e))/o.my)+1}(t,n);return"wo"===e?i.ordinalNumber(s,{unit:"week"}):f(s,e.length)},I:function(t,e,i){let n=function(t,e){let i=(0,l.a)(t,void 0);return Math.round((d(i)-function(t,e){let i=p(t,void 0),n=(0,c.w)(t,0);return n.setFullYear(i,0,4),n.setHours(0,0,0,0),d(n)}(i))/o.my)+1}(t);return"Io"===e?i.ordinalNumber(n,{unit:"week"}):f(n,e.length)},d:function(t,e,i){return"do"===e?i.ordinalNumber(t.getDate(),{unit:"date"}):y.d(t,e)},D:function(t,e,i){let n=function(t,e){let i=(0,l.a)(t,void 0);return function(t,e,i){let[n,r]=(0,a.x)(void 0,t,e),l=u(n),h=u(r);return Math.round((l-(0,s.G)(l)-(h-(0,s.G)(h)))/o.w4)}(i,function(t,e){let i=(0,l.a)(t,void 0);return i.setFullYear(i.getFullYear(),0,1),i.setHours(0,0,0,0),i}(i))+1}(t);return"Do"===e?i.ordinalNumber(n,{unit:"dayOfYear"}):f(n,e.length)},E:function(t,e,i){let n=t.getDay();switch(e){case"E":case"EE":case"EEE":return i.day(n,{width:"abbreviated",context:"formatting"});case"EEEEE":return i.day(n,{width:"narrow",context:"formatting"});case"EEEEEE":return i.day(n,{width:"short",context:"formatting"});default:return i.day(n,{width:"wide",context:"formatting"})}},e:function(t,e,i,n){let r=t.getDay(),s=(r-n.weekStartsOn+8)%7||7;switch(e){case"e":return String(s);case"ee":return f(s,2);case"eo":return i.ordinalNumber(s,{unit:"day"});case"eee":return i.day(r,{width:"abbreviated",context:"formatting"});case"eeeee":return i.day(r,{width:"narrow",context:"formatting"});case"eeeeee":return i.day(r,{width:"short",context:"formatting"});default:return i.day(r,{width:"wide",context:"formatting"})}},c:function(t,e,i,n){let r=t.getDay(),s=(r-n.weekStartsOn+8)%7||7;switch(e){case"c":return String(s);case"cc":return f(s,e.length);case"co":return i.ordinalNumber(s,{unit:"day"});case"ccc":return i.day(r,{width:"abbreviated",context:"standalone"});case"ccccc":return i.day(r,{width:"narrow",context:"standalone"});case"cccccc":return i.day(r,{width:"short",context:"standalone"});default:return i.day(r,{width:"wide",context:"standalone"})}},i:function(t,e,i){let n=t.getDay(),r=0===n?7:n;switch(e){case"i":return String(r);case"ii":return f(r,e.length);case"io":return i.ordinalNumber(r,{unit:"day"});case"iii":return i.day(n,{width:"abbreviated",context:"formatting"});case"iiiii":return i.day(n,{width:"narrow",context:"formatting"});case"iiiiii":return i.day(n,{width:"short",context:"formatting"});default:return i.day(n,{width:"wide",context:"formatting"})}},a:function(t,e,i){let n=t.getHours()/12>=1?"pm":"am";switch(e){case"a":case"aa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"aaa":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},b:function(t,e,i){let n,r=t.getHours();switch(n=12===r?g.noon:0===r?g.midnight:r/12>=1?"pm":"am",e){case"b":case"bb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"bbb":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},B:function(t,e,i){let n,r=t.getHours();switch(n=r>=17?g.evening:r>=12?g.afternoon:r>=4?g.morning:g.night,e){case"B":case"BB":case"BBB":return i.dayPeriod(n,{width:"abbreviated",context:"formatting"});case"BBBBB":return i.dayPeriod(n,{width:"narrow",context:"formatting"});default:return i.dayPeriod(n,{width:"wide",context:"formatting"})}},h:function(t,e,i){if("ho"===e){let e=t.getHours()%12;return 0===e&&(e=12),i.ordinalNumber(e,{unit:"hour"})}return y.h(t,e)},H:function(t,e,i){return"Ho"===e?i.ordinalNumber(t.getHours(),{unit:"hour"}):y.H(t,e)},K:function(t,e,i){let n=t.getHours()%12;return"Ko"===e?i.ordinalNumber(n,{unit:"hour"}):f(n,e.length)},k:function(t,e,i){let n=t.getHours();return(0===n&&(n=24),"ko"===e)?i.ordinalNumber(n,{unit:"hour"}):f(n,e.length)},m:function(t,e,i){return"mo"===e?i.ordinalNumber(t.getMinutes(),{unit:"minute"}):y.m(t,e)},s:function(t,e,i){return"so"===e?i.ordinalNumber(t.getSeconds(),{unit:"second"}):y.s(t,e)},S:function(t,e){return y.S(t,e)},X:function(t,e,i){let n=t.getTimezoneOffset();if(0===n)return"Z";switch(e){case"X":return w(n);case"XXXX":case"XX":return b(n);default:return b(n,":")}},x:function(t,e,i){let n=t.getTimezoneOffset();switch(e){case"x":return w(n);case"xxxx":case"xx":return b(n);default:return b(n,":")}},O:function(t,e,i){let n=t.getTimezoneOffset();switch(e){case"O":case"OO":case"OOO":return"GMT"+x(n,":");default:return"GMT"+b(n,":")}},z:function(t,e,i){let n=t.getTimezoneOffset();switch(e){case"z":case"zz":case"zzz":return"GMT"+x(n,":");default:return"GMT"+b(n,":")}},t:function(t,e,i){return f(Math.trunc(t/1e3),e.length)},T:function(t,e,i){return f(+t,e.length)}};function x(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=t>0?"-":"+",n=Math.abs(t),r=Math.trunc(n/60),s=n%60;return 0===s?i+String(r):i+String(r)+e+f(s,2)}function w(t,e){return t%60==0?(t>0?"-":"+")+f(Math.abs(t)/60,2):b(t,e)}function b(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=Math.abs(t);return(t>0?"-":"+")+f(Math.trunc(i/60),2)+e+f(i%60,2)}let _=(t,e)=>{switch(t){case"P":return e.date({width:"short"});case"PP":return e.date({width:"medium"});case"PPP":return e.date({width:"long"});default:return e.date({width:"full"})}},k=(t,e)=>{switch(t){case"p":return e.time({width:"short"});case"pp":return e.time({width:"medium"});case"ppp":return e.time({width:"long"});default:return e.time({width:"full"})}},T={p:k,P:(t,e)=>{let i,n=t.match(/(P+)(p+)?/)||[],r=n[1],s=n[2];if(!s)return _(t,e);switch(r){case"P":i=e.dateTime({width:"short"});break;case"PP":i=e.dateTime({width:"medium"});break;case"PPP":i=e.dateTime({width:"long"});break;default:i=e.dateTime({width:"full"})}return i.replace("{{date}}",_(r,e)).replace("{{time}}",k(s,e))}},S=/^D+$/,P=/^Y+$/,M=["D","DD","YY","YYYY"],A=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,C=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,E=/^'([^]*?)'?$/,R=/''/g,D=/[a-zA-Z]/;function O(t,e,i){var s,a,o,u,h,d,c,p,m,f,y,g,x,w,b,_,k,O;let j=(0,r.q)(),V=null!=(f=null!=(m=null==i?void 0:i.locale)?m:j.locale)?f:n.c,I=null!=(w=null!=(x=null!=(g=null!=(y=null==i?void 0:i.firstWeekContainsDate)?y:null==i||null==(a=i.locale)||null==(s=a.options)?void 0:s.firstWeekContainsDate)?g:j.firstWeekContainsDate)?x:null==(u=j.locale)||null==(o=u.options)?void 0:o.firstWeekContainsDate)?w:1,F=null!=(O=null!=(k=null!=(_=null!=(b=null==i?void 0:i.weekStartsOn)?b:null==i||null==(d=i.locale)||null==(h=d.options)?void 0:h.weekStartsOn)?_:j.weekStartsOn)?k:null==(p=j.locale)||null==(c=p.options)?void 0:c.weekStartsOn)?O:0,L=(0,l.a)(t,null==i?void 0:i.in);if(!(L instanceof Date||"object"==typeof L&&"[object Date]"===Object.prototype.toString.call(L))&&"number"!=typeof L||isNaN(+(0,l.a)(L)))throw RangeError("Invalid time value");let N=e.match(C).map(t=>{let e=t[0];return"p"===e||"P"===e?(0,T[e])(t,V.formatLong):t}).join("").match(A).map(t=>{if("''"===t)return{isToken:!1,value:"'"};let e=t[0];if("'"===e)return{isToken:!1,value:function(t){let e=t.match(E);return e?e[1].replace(R,"'"):t}(t)};if(v[e])return{isToken:!0,value:t};if(e.match(D))throw RangeError("Format string contains an unescaped latin alphabet character `"+e+"`");return{isToken:!1,value:t}});V.localize.preprocessor&&(N=V.localize.preprocessor(L,N));let B={firstWeekContainsDate:I,weekStartsOn:F,locale:V};return N.map(n=>{if(!n.isToken)return n.value;let r=n.value;return(!(null==i?void 0:i.useAdditionalWeekYearTokens)&&P.test(r)||!(null==i?void 0:i.useAdditionalDayOfYearTokens)&&S.test(r))&&function(t,e,i){let n=function(t,e,i){let n="Y"===t[0]?"years":"days of the month";return"Use `".concat(t.toLowerCase(),"` instead of `").concat(t,"` (in `").concat(e,"`) for formatting ").concat(n," to the input `").concat(i,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md")}(t,e,i);if(console.warn(n),M.includes(t))throw RangeError(n)}(r,e,String(t)),(0,v[r[0]])(L,r,V.localize,B)}).join("")}},9388:(t,e,i)=>{i.d(e,{A:()=>n});let n=(0,i(8889).A)("SquarePen",[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]])},9922:(t,e,i)=>{i.d(e,{w:()=>r});var n=i(250);function r(t,e){return"function"==typeof t?t(e):t&&"object"==typeof t&&n._P in t?t[n._P](e):t instanceof Date?new t.constructor(e):new Date(e)}}}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[492],{3534:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return o}});let r=l(4568),n=l(8904),o=function(){return(0,r.jsx)("html",{children:(0,r.jsx)("body",{children:(0,r.jsx)(n.HTTPAccessErrorFallback,{status:404,message:"This page could not be found."})})})};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},4010:(e,t,l)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/_not-found/page",function(){return l(3534)}])},8904:(e,t,l)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"HTTPAccessErrorFallback",{enumerable:!0,get:function(){return o}});let r=l(4568),n=l(8927);function o(e){let{status:t,message:l}=e;return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("title",{children:t+": "+l}),(0,r.jsx)("div",{style:n.styles.error,children:(0,r.jsxs)("div",{children:[(0,r.jsx)("style",{dangerouslySetInnerHTML:{__html:"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}),(0,r.jsx)("h1",{className:"next-error-h1",style:n.styles.h1,children:t}),(0,r.jsx)("div",{style:n.styles.desc,children:(0,r.jsx)("h2",{style:n.styles.h2,children:l})})]})})]})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},8927:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"styles",{enumerable:!0,get:function(){return l}});let l={error:{fontFamily:'system-ui,"Segoe UI",Roboto,Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji"',height:"100vh",textAlign:"center",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center"},desc:{display:"inline-block"},h1:{display:"inline-block",margin:"0 20px 0 0",padding:"0 23px 0 0",fontSize:24,fontWeight:500,verticalAlign:"top",lineHeight:"49px"},h2:{fontSize:14,fontWeight:400,lineHeight:"49px",margin:0}};("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)}},e=>{e.O(0,[587,902,358],()=>e(e.s=4010)),_N_E=e.O()}]);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[286],{931:(e,t,n)=>{"use strict";function r(e){let{reason:t,children:n}=e;return n}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"BailoutToCSR",{enumerable:!0,get:function(){return r}}),n(3159)},1039:(e,t,n)=>{"use strict";n.d(t,{default:()=>l.a});var r=n(7684),l=n.n(r)},2644:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return i}});let r=n(4568),l=n(7620),u=n(931);function o(e){return{default:e&&"default"in e?e.default:e}}n(4289);let a={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},i=function(e){let t={...a,...e},n=(0,l.lazy)(()=>t.loader().then(o)),i=t.loading;function s(e){let o=i?(0,r.jsx)(i,{isLoading:!0,pastDelay:!0,error:null}):null,a=!t.ssr||!!t.loading,s=a?l.Suspense:l.Fragment,c=t.ssr?(0,r.jsxs)(r.Fragment,{children:[null,(0,r.jsx)(n,{...e})]}):(0,r.jsx)(u.BailoutToCSR,{reason:"next/dynamic",children:(0,r.jsx)(n,{...e})});return(0,r.jsx)(s,{...a?{fallback:o}:{},children:c})}return s.displayName="LoadableComponent",s}},3418:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>u});var r=n(4568);let l=(0,n(1039).default)(()=>Promise.all([n.e(337),n.e(487),n.e(795),n.e(996),n.e(544),n.e(138)]).then(n.bind(n,3138)).then(e=>e.Backlog),{loadableGenerated:{webpack:()=>[3138]},ssr:!1,loading:()=>(0,r.jsx)("div",{className:"flex-1 flex items-center justify-center",children:(0,r.jsx)("div",{className:"animate-pulse text-muted-foreground",children:"Loading..."})})});function u(){return(0,r.jsx)(l,{})}},4289:(e,t,n)=>{"use strict";function r(e){let{moduleIds:t}=e;return null}Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"PreloadChunks",{enumerable:!0,get:function(){return r}}),n(4568),n(7509),n(9669),n(2252)},6035:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorageInstance",{enumerable:!0,get:function(){return r}});let r=(0,n(9113).createAsyncLocalStorage)()},7038:(e,t,n)=>{Promise.resolve().then(n.bind(n,3418))},7684:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return l}});let r=n(1510)._(n(2644));function l(e,t){var n;let l={};"function"==typeof e&&(l.loader=e);let u={...l,...t};return(0,r.default)({...u,modules:null==(n=u.loadableGenerated)?void 0:n.modules})}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},9113:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var n in t)Object.defineProperty(e,n,{enumerable:!0,get:t[n]})}(t,{bindSnapshot:function(){return o},createAsyncLocalStorage:function(){return u},createSnapshot:function(){return a}});let n=Object.defineProperty(Error("Invariant: AsyncLocalStorage accessed in runtime where it is not available"),"__NEXT_ERROR_CODE",{value:"E504",enumerable:!1,configurable:!0});class r{disable(){throw n}getStore(){}run(){throw n}exit(){throw n}enterWith(){throw n}static bind(e){return e}}let l="undefined"!=typeof globalThis&&globalThis.AsyncLocalStorage;function u(){return l?new l:new r}function o(e){return l?l.bind(e):r.bind(e)}function a(){return l?l.snapshot():function(e,...t){return e(...t)}}},9669:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"workAsyncStorage",{enumerable:!0,get:function(){return r.workAsyncStorageInstance}});let r=n(6035)}},e=>{e.O(0,[587,902,358],()=>e(e.s=7038)),_N_E=e.O()}]);
|