@jhits/plugin-website 0.0.15 → 0.0.17
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/dist/131._entry.js +2 -0
- package/dist/131._entry.js.LICENSE.txt +6 -0
- package/dist/303._entry.js +1 -0
- package/dist/_entry.js +2 -0
- package/dist/_entry.js.LICENSE.txt +6 -0
- package/dist/api/handler.d.ts.map +1 -1
- package/dist/api/handler.js +16 -31
- package/dist/remoteEntry.js +1 -0
- package/dist/server.js +232 -0
- package/dist/types/settings.d.ts +18 -11
- package/dist/types/settings.d.ts.map +1 -1
- package/dist/views/Settings/components/ContactInfoSection.d.ts +12 -0
- package/dist/views/Settings/components/ContactInfoSection.d.ts.map +1 -0
- package/dist/views/Settings/components/ContactInfoSection.js +14 -0
- package/dist/views/Settings/components/DomainLanguagesCard.d.ts +8 -0
- package/dist/views/Settings/components/DomainLanguagesCard.d.ts.map +1 -0
- package/dist/views/Settings/components/DomainLanguagesCard.js +12 -0
- package/dist/views/Settings/components/DomainLanguagesModal.d.ts +12 -0
- package/dist/views/Settings/components/DomainLanguagesModal.d.ts.map +1 -0
- package/dist/views/Settings/components/DomainLanguagesModal.js +38 -0
- package/dist/views/Settings/components/FlagIcon.d.ts +6 -0
- package/dist/views/Settings/components/FlagIcon.d.ts.map +1 -0
- package/dist/views/Settings/components/FlagIcon.js +11 -0
- package/dist/views/Settings/components/LaunchDateSection.d.ts +8 -0
- package/dist/views/Settings/components/LaunchDateSection.d.ts.map +1 -0
- package/dist/views/Settings/components/LaunchDateSection.js +22 -0
- package/dist/views/Settings/components/LocalesManagementCard.d.ts +8 -0
- package/dist/views/Settings/components/LocalesManagementCard.d.ts.map +1 -0
- package/dist/views/Settings/components/LocalesManagementCard.js +66 -0
- package/dist/views/Settings/components/LocalizedContentSection.d.ts +12 -0
- package/dist/views/Settings/components/LocalizedContentSection.d.ts.map +1 -0
- package/dist/views/Settings/components/LocalizedContentSection.js +17 -0
- package/dist/views/Settings/components/SeoIdentitySection.d.ts +9 -0
- package/dist/views/Settings/components/SeoIdentitySection.d.ts.map +1 -0
- package/dist/views/Settings/components/SeoIdentitySection.js +12 -0
- package/dist/views/Settings/components/SocialLinksSection.d.ts +13 -0
- package/dist/views/Settings/components/SocialLinksSection.d.ts.map +1 -0
- package/dist/views/Settings/components/SocialLinksSection.js +13 -0
- package/dist/views/Settings/components/StatusSection.d.ts +8 -0
- package/dist/views/Settings/components/StatusSection.d.ts.map +1 -0
- package/dist/views/Settings/components/StatusSection.js +27 -0
- package/dist/views/Settings/constants.d.ts +12 -0
- package/dist/views/Settings/constants.d.ts.map +1 -0
- package/dist/views/Settings/constants.js +23 -0
- package/dist/views/Settings/hooks/useWebsiteSettings.d.ts +24 -0
- package/dist/views/Settings/hooks/useWebsiteSettings.d.ts.map +1 -0
- package/dist/views/Settings/hooks/useWebsiteSettings.js +217 -0
- package/dist/views/Settings/types.d.ts +5 -0
- package/dist/views/Settings/types.d.ts.map +1 -0
- package/dist/views/Settings/types.js +1 -0
- package/dist/views/SettingsView.d.ts +3 -6
- package/dist/views/SettingsView.d.ts.map +1 -1
- package/dist/views/SettingsView.js +59 -262
- package/package.json +14 -10
- package/src/api/handler.ts +42 -34
- package/src/types/settings.ts +28 -12
- package/src/views/Settings/components/ContactInfoSection.tsx +109 -0
- package/src/views/Settings/components/DomainLanguagesCard.tsx +91 -0
- package/src/views/Settings/components/DomainLanguagesModal.tsx +216 -0
- package/src/views/Settings/components/FlagIcon.tsx +20 -0
- package/src/views/Settings/components/LaunchDateSection.tsx +111 -0
- package/src/views/Settings/components/LocalesManagementCard.tsx +198 -0
- package/src/views/Settings/components/LocalizedContentSection.tsx +155 -0
- package/src/views/Settings/components/SeoIdentitySection.tsx +98 -0
- package/src/views/Settings/components/SocialLinksSection.tsx +98 -0
- package/src/views/Settings/components/StatusSection.tsx +181 -0
- package/src/views/Settings/constants.ts +26 -0
- package/src/views/Settings/hooks/useWebsiteSettings.ts +240 -0
- package/src/views/Settings/types.ts +4 -0
- package/src/views/SettingsView.tsx +226 -674
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
/*! For license information please see 131._entry.js.LICENSE.txt */
|
|
2
|
+
"use strict";(self.webpackChunkpluginWebsite=self.webpackChunkpluginWebsite||[]).push([[131],{406(t,e,n){n.d(e,{A:()=>c});var i=n(594);const s=(...t)=>t.filter((t,e,n)=>Boolean(t)&&""!==t.trim()&&n.indexOf(t)===e).join(" ").trim(),o=t=>{const e=(t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,e,n)=>n?n.toUpperCase():e.toLowerCase()))(t);return e.charAt(0).toUpperCase()+e.slice(1)};var r={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const a=t=>{for(const e in t)if(e.startsWith("aria-")||"role"===e||"title"===e)return!0;return!1},l=(0,i.forwardRef)(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:o,className:l="",children:c,iconNode:h,...u},d)=>(0,i.createElement)("svg",{ref:d,...r,width:e,height:e,stroke:t,strokeWidth:o?24*Number(n)/Number(e):n,className:s("lucide",l),...!c&&!a(u)&&{"aria-hidden":"true"},...u},[...h.map(([t,e])=>(0,i.createElement)(t,e)),...Array.isArray(c)?c:[c]])),c=(t,e)=>{const n=(0,i.forwardRef)(({className:n,...r},a)=>{return(0,i.createElement)(l,{ref:a,iconNode:e,className:s(`lucide-${c=o(t),c.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${t}`,n),...r});var c});return n.displayName=o(t),n}},265(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("arrow-right",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]])},841(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).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"}]])},855(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]])},885(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("cpu",[["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M17 20v2",key:"1rnc9c"}],["path",{d:"M17 2v2",key:"11trls"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M2 17h2",key:"7oei6x"}],["path",{d:"M2 7h2",key:"asdhe0"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"M20 17h2",key:"1fpfkl"}],["path",{d:"M20 7h2",key:"1o8tra"}],["path",{d:"M7 20v2",key:"4gnj0m"}],["path",{d:"M7 2v2",key:"1i4yhu"}],["rect",{x:"4",y:"4",width:"16",height:"16",rx:"2",key:"1vbyd7"}],["rect",{x:"8",y:"8",width:"8",height:"8",rx:"1",key:"z9xiuo"}]])},883(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("earth",[["path",{d:"M21.54 15H17a2 2 0 0 0-2 2v4.54",key:"1djwo0"}],["path",{d:"M7 3.34V5a3 3 0 0 0 3 3a2 2 0 0 1 2 2c0 1.1.9 2 2 2a2 2 0 0 0 2-2c0-1.1.9-2 2-2h3.17",key:"1tzkfa"}],["path",{d:"M11 21.95V18a2 2 0 0 0-2-2a2 2 0 0 1-2-2v-1a2 2 0 0 0-2-2H2.05",key:"14pb5j"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]])},360(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("fingerprint-pattern",[["path",{d:"M12 10a2 2 0 0 0-2 2c0 1.02-.1 2.51-.26 4",key:"1nerag"}],["path",{d:"M14 13.12c0 2.38 0 6.38-1 8.88",key:"o46ks0"}],["path",{d:"M17.29 21.02c.12-.6.43-2.3.5-3.02",key:"ptglia"}],["path",{d:"M2 12a10 10 0 0 1 18-6",key:"ydlgp0"}],["path",{d:"M2 16h.01",key:"1gqxmh"}],["path",{d:"M21.8 16c.2-2 .131-5.354 0-6",key:"drycrb"}],["path",{d:"M5 19.5C5.5 18 6 15 6 12a6 6 0 0 1 .34-2",key:"1tidbn"}],["path",{d:"M8.65 22c.21-.66.45-1.32.57-2",key:"13wd9y"}],["path",{d:"M9 6.8a6 6 0 0 1 9 5.2v2",key:"1fr1j5"}]])},846(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]])},323(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])},781(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]])},172(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).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"}]])},68(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("mail",[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]])},775(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("map-pin",[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]])},599(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("pen-line",[["path",{d:"M13 21h8",key:"1jsn5i"}],["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"}]])},215(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]])},555(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("refresh-cw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},487(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("rocket",[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]])},398(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("save",[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]])},571(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("search",[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]])},145(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("settings-2",[["path",{d:"M14 17H5",key:"gfn3mx"}],["path",{d:"M19 7h-9",key:"6i9tg"}],["circle",{cx:"17",cy:"17",r:"3",key:"18b49y"}],["circle",{cx:"7",cy:"7",r:"3",key:"dfmy0x"}]])},191(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("share-2",[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]])},189(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("shield-alert",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]])},387(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("shield-check",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]])},82(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]])},168(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("smartphone",[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]])},696(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]])},218(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]])},246(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("trash-2",[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]])},572(t,e,n){n.d(e,{A:()=>i});const i=(0,n(406).A)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},851(t,e,n){function i(t){var e,n,s="";if("string"==typeof t||"number"==typeof t)s+=t;else if("object"==typeof t)if(Array.isArray(t)){var o=t.length;for(e=0;e<o;e++)t[e]&&(n=i(t[e]))&&(s&&(s+=" "),s+=n)}else for(n in t)t[n]&&(s&&(s+=" "),s+=n);return s}function s(){for(var t,e,n=0,s="",o=arguments.length;n<o;n++)(t=arguments[n])&&(e=i(t))&&(s&&(s+=" "),s+=e);return s}n.d(e,{$:()=>s})},109(t,e,n){n.d(e,{N:()=>x});var i=n(713),s=n(594),o=n(74),r=n(302),a=n(428),l=n(350),c=n(231),h=n(391);function u(t,e){if("function"==typeof t)return t(e);null!=t&&(t.current=e)}class d extends s.Component{getSnapshotBeforeUpdate(t){const e=this.props.childRef.current;if((0,c.s)(e)&&t.isPresent&&!this.props.isPresent&&!1!==this.props.pop){const t=e.offsetParent,n=(0,c.s)(t)&&t.offsetWidth||0,i=(0,c.s)(t)&&t.offsetHeight||0,s=getComputedStyle(e),o=this.props.sizeRef.current;o.height=parseFloat(s.height),o.width=parseFloat(s.width),o.top=e.offsetTop,o.left=e.offsetLeft,o.right=n-o.width-o.left,o.bottom=i-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:t,isPresent:e,anchorX:n,anchorY:o,root:r,pop:a}){const l=(0,s.useId)(),c=(0,s.useRef)(null),p=(0,s.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:m}=(0,s.useContext)(h.Q),f=t.props?.ref??t?.ref,g=function(...t){return s.useCallback(function(...t){return e=>{let n=!1;const i=t.map(t=>{const i=u(t,e);return n||"function"!=typeof i||(n=!0),i});if(n)return()=>{for(let e=0;e<i.length;e++){const n=i[e];"function"==typeof n?n():u(t[e],null)}}}}(...t),t)}(c,f);return(0,s.useInsertionEffect)(()=>{const{width:t,height:i,top:s,left:h,right:u,bottom:d}=p.current;if(e||!1===a||!c.current||!t||!i)return;const f="left"===n?`left: ${h}`:`right: ${u}`,g="bottom"===o?`bottom: ${d}`:`top: ${s}`;c.current.dataset.motionPopId=l;const y=document.createElement("style");m&&(y.nonce=m);const v=r??document.head;return v.appendChild(y),y.sheet&&y.sheet.insertRule(`\n [data-motion-pop-id="${l}"] {\n position: absolute !important;\n width: ${t}px !important;\n height: ${i}px !important;\n ${f}px !important;\n ${g}px !important;\n }\n `),()=>{c.current?.removeAttribute("data-motion-pop-id"),v.contains(y)&&v.removeChild(y)}},[e]),(0,i.jsx)(d,{isPresent:e,childRef:c,sizeRef:p,pop:a,children:!1===a?t:s.cloneElement(t,{ref:g})})}const m=({children:t,initial:e,isPresent:n,onExitComplete:o,custom:a,presenceAffectsLayout:c,mode:h,anchorX:u,anchorY:d,root:m})=>{const g=(0,r.M)(f),y=(0,s.useId)();let v=!0,x=(0,s.useMemo)(()=>(v=!1,{id:y,initial:e,isPresent:n,custom:a,onExitComplete:t=>{g.set(t,!0);for(const t of g.values())if(!t)return;o&&o()},register:t=>(g.set(t,!1),()=>g.delete(t))}),[n,g,o]);return c&&v&&(x={...x}),(0,s.useMemo)(()=>{g.forEach((t,e)=>g.set(e,!1))},[n]),s.useEffect(()=>{!n&&!g.size&&o&&o()},[n]),t=(0,i.jsx)(p,{pop:"popLayout"===h,isPresent:n,anchorX:u,anchorY:d,root:m,children:t}),(0,i.jsx)(l.t.Provider,{value:x,children:t})};function f(){return new Map}var g=n(745);const y=t=>t.key||"";function v(t){const e=[];return s.Children.forEach(t,t=>{(0,s.isValidElement)(t)&&e.push(t)}),e}const x=({children:t,custom:e,initial:n=!0,onExitComplete:l,presenceAffectsLayout:c=!0,mode:h="sync",propagate:u=!1,anchorX:d="left",anchorY:p="top",root:f})=>{const[x,b]=(0,g.xQ)(u),w=(0,s.useMemo)(()=>v(t),[t]),k=u&&!x?[]:w.map(y),P=(0,s.useRef)(!0),T=(0,s.useRef)(w),S=(0,r.M)(()=>new Map),M=(0,s.useRef)(new Set),[A,E]=(0,s.useState)(w),[C,V]=(0,s.useState)(w);(0,a.E)(()=>{P.current=!1,T.current=w;for(let t=0;t<C.length;t++){const e=y(C[t]);k.includes(e)?(S.delete(e),M.current.delete(e)):!0!==S.get(e)&&S.set(e,!1)}},[C,k.length,k.join("-")]);const D=[];if(w!==A){let t=[...w];for(let e=0;e<C.length;e++){const n=C[e],i=y(n);k.includes(i)||(t.splice(e,0,n),D.push(n))}return"wait"===h&&D.length&&(t=D),V(v(t)),E(w),null}const{forceRender:j}=(0,s.useContext)(o.L);return(0,i.jsx)(i.Fragment,{children:C.map(t=>{const s=y(t),o=!(u&&!x)&&(w===C||k.includes(s));return(0,i.jsx)(m,{isPresent:o,initial:!(P.current&&!n)&&void 0,custom:e,presenceAffectsLayout:c,mode:h,root:f,onExitComplete:o?void 0:()=>{if(M.current.has(s))return;if(!S.has(s))return;M.current.add(s),S.set(s,!0);let t=!0;S.forEach(e=>{e||(t=!1)}),t&&(j?.(),V(T.current),u&&b?.(),l&&l())},anchorX:d,anchorY:p,children:t},s)})})}},745(t,e,n){n.d(e,{xQ:()=>o});var i=n(594),s=n(350);function o(t=!0){const e=(0,i.useContext)(s.t);if(null===e)return[!0,null];const{isPresent:n,onExitComplete:o,register:r}=e,a=(0,i.useId)();(0,i.useEffect)(()=>{if(t)return r(a)},[t]);const l=(0,i.useCallback)(()=>t&&o&&o(a),[a,o,t]);return!n&&o?[!1,l]:[!0]}},74(t,e,n){n.d(e,{L:()=>i});const i=(0,n(594).createContext)({})},391(t,e,n){n.d(e,{Q:()=>i});const i=(0,n(594).createContext)({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"})},350(t,e,n){n.d(e,{t:()=>i});const i=(0,n(594).createContext)(null)},818(t,e,n){n.d(e,{P:()=>ra});const i=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],s=(()=>new Set(i))(),o=(t,e,n)=>n>e?e:n<t?t:n,r={test:t=>"number"==typeof t,parse:parseFloat,transform:t=>t},a={...r,transform:t=>o(0,1,t)},l={...r,default:1},c=t=>Math.round(1e5*t)/1e5,h=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,u=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,d=(t,e)=>n=>Boolean("string"==typeof n&&u.test(n)&&n.startsWith(t)||e&&!function(t){return null==t}(n)&&Object.prototype.hasOwnProperty.call(n,e)),p=(t,e,n)=>i=>{if("string"!=typeof i)return i;const[s,o,r,a]=i.match(h);return{[t]:parseFloat(s),[e]:parseFloat(o),[n]:parseFloat(r),alpha:void 0!==a?parseFloat(a):1}},m={...r,transform:t=>Math.round((t=>o(0,255,t))(t))},f={test:d("rgb","red"),parse:p("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:i=1})=>"rgba("+m.transform(t)+", "+m.transform(e)+", "+m.transform(n)+", "+c(a.transform(i))+")"},g={test:d("#"),parse:function(t){let e="",n="",i="",s="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),i=t.substring(5,7),s=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),i=t.substring(3,4),s=t.substring(4,5),e+=e,n+=n,i+=i,s+=s),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(i,16),alpha:s?parseInt(s,16)/255:1}},transform:f.transform},y=t=>({test:e=>"string"==typeof e&&e.endsWith(t)&&1===e.split(" ").length,parse:parseFloat,transform:e=>`${e}${t}`}),v=y("deg"),x=y("%"),b=y("px"),w=y("vh"),k=y("vw"),P=(()=>({...x,parse:t=>x.parse(t)/100,transform:t=>x.transform(100*t)}))(),T={test:d("hsl","hue"),parse:p("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:i=1})=>"hsla("+Math.round(t)+", "+x.transform(c(e))+", "+x.transform(c(n))+", "+c(a.transform(i))+")"},S={test:t=>f.test(t)||g.test(t)||T.test(t),parse:t=>f.test(t)?f.parse(t):T.test(t)?T.parse(t):g.parse(t),transform:t=>"string"==typeof t?t:t.hasOwnProperty("red")?f.transform(t):T.transform(t),getAnimatableNone:t=>{const e=S.parse(t);return e.alpha=0,S.transform(e)}},M=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,A="number",E="color",C=/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 V(t){const e=t.toString(),n=[],i={color:[],number:[],var:[]},s=[];let o=0;const r=e.replace(C,t=>(S.test(t)?(i.color.push(o),s.push(E),n.push(S.parse(t))):t.startsWith("var(")?(i.var.push(o),s.push("var"),n.push(t)):(i.number.push(o),s.push(A),n.push(parseFloat(t))),++o,"${}")).split("${}");return{values:n,split:r,indexes:i,types:s}}function D({split:t,types:e}){const n=t.length;return i=>{let s="";for(let o=0;o<n;o++)if(s+=t[o],void 0!==i[o]){const t=e[o];s+=t===A?c(i[o]):t===E?S.transform(i[o]):i[o]}return s}}const j={test:function(t){return isNaN(t)&&"string"==typeof t&&(t.match(h)?.length||0)+(t.match(M)?.length||0)>0},parse:function(t){return V(t).values},createTransformer:function(t){return D(V(t))},getAnimatableNone:function(t){const e=V(t);return D(e)(e.values.map((t,n)=>((t,e)=>{return"number"==typeof t?e?.trim().endsWith("/")?t:0:"number"==typeof(n=t)?0:S.test(n)?S.getAnimatableNone(n):n;var n})(t,e.split[n])))}},R=new Set(["brightness","contrast","saturate","opacity"]);function L(t){const[e,n]=t.slice(0,-1).split("(");if("drop-shadow"===e)return t;const[i]=n.match(h)||[];if(!i)return t;const s=n.replace(i,"");let o=R.has(e)?1:0;return i!==n&&(o*=100),e+"("+o+s+")"}const B=/\b([a-z-]*)\(.*?\)/gu,O={...j,getAnimatableNone:t=>{const e=t.match(B);return e?e.map(L).join(" "):t}},z={...j,getAnimatableNone:t=>{const e=j.parse(t);return j.createTransformer(t)(e.map(t=>"number"==typeof t?0:"object"==typeof t?{...t,alpha:1}:t))}},I={...r,transform:Math.round},F={borderWidth:b,borderTopWidth:b,borderRightWidth:b,borderBottomWidth:b,borderLeftWidth:b,borderRadius: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,fontSize:b,backgroundPositionX:b,backgroundPositionY:b,rotate:v,rotateX:v,rotateY:v,rotateZ:v,scale:l,scaleX:l,scaleY:l,scaleZ:l,skew:v,skewX:v,skewY:v,distance:b,translateX:b,translateY:b,translateZ:b,x:b,y:b,z:b,perspective:b,transformPerspective:b,opacity:a,originX:P,originY:P,originZ:b,zIndex:I,fillOpacity:a,strokeOpacity:a,numOctaves:I},N={...F,color:S,backgroundColor:S,outlineColor:S,fill:S,stroke:S,borderColor:S,borderTopColor:S,borderRightColor:S,borderBottomColor:S,borderLeftColor:S,filter:O,WebkitFilter:O,mask:z,WebkitMask:z},U=t=>N[t],W=()=>({x:{min:0,max:0},y:{min:0,max:0}}),$=t=>Boolean(t&&t.getVelocity),H=new Set(["width","height","top","left","right","bottom",...i]),Y=t=>e=>e.test(t),X=[r,b,x,v,k,w,{test:t=>"auto"===t,parse:t=>t}],G=t=>X.find(Y(t)),K=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t),q=t=>e=>"string"==typeof e&&e.startsWith(t),Z=q("--"),_=q("var(--"),Q=t=>!!_(t)&&J.test(t.split("/*")[0].trim()),J=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function tt(t){return"string"==typeof t&&t.split("/*")[0].includes("var(--")}const et=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function nt(t,e,n=1){const[i,s]=function(t){const e=et.exec(t);if(!e)return[,];const[,n,i,s]=e;return[`--${n??i}`,s]}(t);if(!i)return;const o=window.getComputedStyle(e).getPropertyValue(i);if(o){const t=o.trim();return K(t)?parseFloat(t):t}return Q(s)?nt(s,e,n+1):s}const it=t=>180*t/Math.PI,st=t=>{const e=it(Math.atan2(t[1],t[0]));return rt(e)},ot={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:st,rotateZ:st,skewX:t=>it(Math.atan(t[1])),skewY:t=>it(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},rt=t=>((t%=360)<0&&(t+=360),t),at=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),lt=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),ct={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:at,scaleY:lt,scale:t=>(at(t)+lt(t))/2,rotateX:t=>rt(it(Math.atan2(t[6],t[5]))),rotateY:t=>rt(it(Math.atan2(-t[2],t[0]))),rotateZ:st,rotate:st,skewX:t=>it(Math.atan(t[4])),skewY:t=>it(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function ht(t){return t.includes("scale")?1:0}function ut(t,e){if(!t||"none"===t)return ht(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let i,s;if(n)i=ct,s=n;else{const e=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);i=ot,s=e}if(!s)return ht(e);const o=i[e],r=s[1].split(",").map(dt);return"function"==typeof o?o(r):r[o]}function dt(t){return parseFloat(t.trim())}const pt=t=>t===r||t===b,mt=new Set(["x","y","z"]),ft=i.filter(t=>!mt.has(t)),gt={width:({x:t},{paddingLeft:e="0",paddingRight:n="0",boxSizing:i})=>{const s=t.max-t.min;return"border-box"===i?s:s-parseFloat(e)-parseFloat(n)},height:({y:t},{paddingTop:e="0",paddingBottom:n="0",boxSizing:i})=>{const s=t.max-t.min;return"border-box"===i?s:s-parseFloat(e)-parseFloat(n)},top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>ut(e,"x"),y:(t,{transform:e})=>ut(e,"y")};gt.translateX=gt.x,gt.translateY=gt.y;const yt=t=>t,vt={},xt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"],bt={value:null,addProjectionMetrics:null};function wt(t,e){let n=!1,i=!0;const s={delta:0,timestamp:0,isProcessing:!1},o=()=>n=!0,r=xt.reduce((t,n)=>(t[n]=function(t,e){let n=new Set,i=new Set,s=!1,o=!1;const r=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1},l=0;function c(e){r.has(e)&&(h.schedule(e),t()),l++,e(a)}const h={schedule:(t,e=!1,o=!1)=>{const a=o&&s?n:i;return e&&r.add(t),a.add(t),t},cancel:t=>{i.delete(t),r.delete(t)},process:t=>{if(a=t,s)return void(o=!0);s=!0;const r=n;n=i,i=r,n.forEach(c),e&&bt.value&&bt.value.frameloop[e].push(l),l=0,n.clear(),s=!1,o&&(o=!1,h.process(t))}};return h}(o,e?n:void 0),t),{}),{setup:a,read:l,resolveKeyframes:c,preUpdate:h,update:u,preRender:d,render:p,postRender:m}=r,f=()=>{const o=vt.useManualTiming,r=o?s.timestamp:performance.now();n=!1,o||(s.delta=i?1e3/60:Math.max(Math.min(r-s.timestamp,40),1)),s.timestamp=r,s.isProcessing=!0,a.process(s),l.process(s),c.process(s),h.process(s),u.process(s),d.process(s),p.process(s),m.process(s),s.isProcessing=!1,n&&e&&(i=!1,t(f))};return{schedule:xt.reduce((e,o)=>{const a=r[o];return e[o]=(e,o=!1,r=!1)=>(n||(n=!0,i=!0,s.isProcessing||t(f)),a.schedule(e,o,r)),e},{}),cancel:t=>{for(let e=0;e<xt.length;e++)r[xt[e]].cancel(t)},state:s,steps:r}}const{schedule:kt,cancel:Pt,state:Tt,steps:St}=wt("undefined"!=typeof requestAnimationFrame?requestAnimationFrame:yt,!0),Mt=new Set;let At=!1,Et=!1,Ct=!1;function Vt(){if(Et){const t=Array.from(Mt).filter(t=>t.needsMeasurement),e=new Set(t.map(t=>t.element)),n=new Map;e.forEach(t=>{const e=function(t){const e=[];return ft.forEach(n=>{const i=t.getValue(n);void 0!==i&&(e.push([n,i.get()]),i.set(n.startsWith("scale")?1:0))}),e}(t);e.length&&(n.set(t,e),t.render())}),t.forEach(t=>t.measureInitialState()),e.forEach(t=>{t.render();const e=n.get(t);e&&e.forEach(([e,n])=>{t.getValue(e)?.set(n)})}),t.forEach(t=>t.measureEndState()),t.forEach(t=>{void 0!==t.suspendedScrollY&&window.scrollTo(0,t.suspendedScrollY)})}Et=!1,At=!1,Mt.forEach(t=>t.complete(Ct)),Mt.clear()}function Dt(){Mt.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(Et=!0)})}class jt{constructor(t,e,n,i,s,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...t],this.onComplete=e,this.name=n,this.motionValue=i,this.element=s,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(Mt.add(this),At||(At=!0,kt.read(Dt),kt.resolveKeyframes(Vt))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:t,name:e,element:n,motionValue:i}=this;if(null===t[0]){const s=i?.get(),o=t[t.length-1];if(void 0!==s)t[0]=s;else if(n&&e){const i=n.readValue(e,o);null!=i&&(t[0]=i)}void 0===t[0]&&(t[0]=o),i&&void 0===s&&i.set(t[0])}!function(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}(t)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(t=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,t),Mt.delete(this)}cancel(){"scheduled"===this.state&&(Mt.delete(this),this.state="pending")}resume(){"pending"===this.state&&this.scheduleResolve()}}const Rt=t=>/^0[^.\s]+$/u.test(t);function Lt(t){return"number"==typeof t?0===t:null===t||"none"===t||"0"===t||Rt(t)}const Bt=new Set([O,z]);function Ot(t,e){let n=U(t);return Bt.has(n)||(n=j),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const zt=new Set(["auto","none","0"]);class It extends jt{constructor(t,e,n,i,s){super(t,e,n,i,s,!0)}readKeyframes(){const{unresolvedKeyframes:t,element:e,name:n}=this;if(!e||!e.current)return;super.readKeyframes();for(let n=0;n<t.length;n++){let i=t[n];if("string"==typeof i&&(i=i.trim(),Q(i))){const s=nt(i,e.current);void 0!==s&&(t[n]=s),n===t.length-1&&(this.finalKeyframe=i)}}if(this.resolveNoneKeyframes(),!H.has(n)||2!==t.length)return;const[i,s]=t,o=G(i),r=G(s);if(tt(i)!==tt(s)&>[n])this.needsMeasurement=!0;else if(o!==r)if(pt(o)&&pt(r))for(let e=0;e<t.length;e++){const n=t[e];"string"==typeof n&&(t[e]=parseFloat(n))}else gt[n]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:t,name:e}=this,n=[];for(let e=0;e<t.length;e++)(null===t[e]||Lt(t[e]))&&n.push(e);n.length&&function(t,e,n){let i,s=0;for(;s<t.length&&!i;){const e=t[s];"string"==typeof e&&!zt.has(e)&&V(e).values.length&&(i=t[s]),s++}if(i&&n)for(const s of e)t[s]=Ot(n,i)}(t,n,e)}measureInitialState(){const{element:t,unresolvedKeyframes:e,name:n}=this;if(!t||!t.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=gt[n](t.measureViewportBox(),window.getComputedStyle(t.current)),e[0]=this.measuredOrigin;const i=e[e.length-1];void 0!==i&&t.getValue(n,i).jump(i,!1)}measureEndState(){const{element:t,name:e,unresolvedKeyframes:n}=this;if(!t||!t.current)return;const i=t.getValue(e);i&&i.jump(this.measuredOrigin,!1);const s=n.length-1,o=n[s];n[s]=gt[e](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==o&&void 0===this.finalKeyframe&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEach(([e,n])=>{t.getValue(e).set(n)}),this.resolveNoneKeyframes()}}const Ft=t=>1e3*t,Nt=t=>t/1e3;function Ut(t,e){-1===t.indexOf(e)&&t.push(e)}function Wt(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}class $t{constructor(){this.subscriptions=[]}add(t){return Ut(this.subscriptions,t),()=>Wt(this.subscriptions,t)}notify(t,e,n){const i=this.subscriptions.length;if(i)if(1===i)this.subscriptions[0](t,e,n);else for(let s=0;s<i;s++){const i=this.subscriptions[s];i&&i(t,e,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}function Ht(t,e,n){(t=>t.startsWith("--"))(e)?t.style.setProperty(e,n):t.style[e]=n}function Yt(t){let e;return()=>(void 0===e&&(e=t()),e)}const Xt={};function Gt(t,e){const n=Yt(t);return()=>Xt[e]??n()}const Kt=Gt(()=>void 0!==window.ScrollTimeline,"scrollTimeline"),qt=t=>null!==t;function Zt(t,{repeat:e,repeatType:n="loop"},i,s=1){const o=t.filter(qt),r=s<0||e&&"loop"!==n&&e%2==1?0:o.length-1;return r&&void 0!==i?i:o[r]}class _t{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)}}const Qt={layout:0,mainThread:0,waapi:0},Jt=t=>Array.isArray(t)&&"number"==typeof t[0],te=Gt(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch(t){return!1}return!0},"linearEasing"),ee=(t,e,n=10)=>{let i="";const s=Math.max(Math.round(e/n),2);for(let e=0;e<s;e++)i+=Math.round(1e4*t(e/(s-1)))/1e4+", ";return`linear(${i.substring(0,i.length-2)})`},ne=([t,e,n,i])=>`cubic-bezier(${t}, ${e}, ${n}, ${i})`,ie={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ne([0,.65,.55,1]),circOut:ne([.55,0,1,.45]),backIn:ne([.31,.01,.66,-.59]),backOut:ne([.33,1.53,.69,.99])};function se(t,e){return t?"function"==typeof t?te()?ee(t,e):"ease-out":Jt(t)?ne(t):Array.isArray(t)?t.map(t=>se(t,e)||ie.easeOut):ie[t]:void 0}function oe(t,e,n,{delay:i=0,duration:s=300,repeat:o=0,repeatType:r="loop",ease:a="easeOut",times:l}={},c=void 0){const h={[e]:n};l&&(h.offset=l);const u=se(a,s);Array.isArray(u)&&(h.easing=u),bt.value&&Qt.waapi++;const d={delay:i,duration:s,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:o+1,direction:"reverse"===r?"alternate":"normal"};c&&(d.pseudoElement=c);const p=t.animate(h,d);return bt.value&&p.finished.finally(()=>{Qt.waapi--}),p}function re(t){return"function"==typeof t&&"applyToOptions"in t}class ae extends _t{constructor(t){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!t)return;const{element:e,name:n,keyframes:i,pseudoElement:s,allowFlatten:o=!1,finalKeyframe:r,onComplete:a}=t;this.isPseudoElement=Boolean(s),this.allowFlatten=o,this.options=t,t.type;const l=function({type:t,...e}){return re(t)&&te()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}(t);this.animation=oe(e,n,i,l,s),!1===l.autoplay&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!s){const t=Zt(i,this.options,r,this.speed);this.updateMotionValue&&this.updateMotionValue(t),Ht(e,n,t),this.animation.cancel()}a?.(),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;const{state:t}=this;"idle"!==t&&"finished"!==t&&(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){const t=this.options?.element;!this.isPseudoElement&&t?.isConnected&&this.animation.commitStyles?.()}get duration(){const t=this.animation.effect?.getComputedTiming?.().duration||0;return Nt(Number(t))}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Nt(t)}get time(){return Nt(Number(this.animation.currentTime)||0)}set time(t){const e=null!==this.finishedTime;this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Ft(t),e&&this.animation.pause()}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,rangeStart:e,rangeEnd:n,observe:i}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,t&&Kt()?(this.animation.timeline=t,e&&(this.animation.rangeStart=e),n&&(this.animation.rangeEnd=n),yt):i(this)}}const le=new Set(["opacity","clipPath","filter","transform"]),{schedule:ce,cancel:he}=wt(queueMicrotask,!1);let ue;function de(){ue=void 0}const pe={now:()=>(void 0===ue&&pe.set(Tt.isProcessing||vt.useManualTiming?Tt.timestamp:performance.now()),ue),set:t=>{ue=t,queueMicrotask(de)}};function me(t,e){return e?t*(1e3/e):0}const fe={current:void 0};class ge{constructor(t,e={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=t=>{const e=pe.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(const t of this.dependents)t.dirty()},this.hasAnimated=!1,this.setCurrent(t),this.owner=e.owner}setCurrent(t){var e;this.current=t,this.updatedAt=pe.now(),null===this.canTrackVelocity&&void 0!==t&&(this.canTrackVelocity=(e=this.current,!isNaN(parseFloat(e))))}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 $t);const n=this.events[t].add(e);return"change"===t?()=>{n(),kt.read(()=>{this.events.change.getSize()||this.stop()})}:n}clearListeners(){for(const 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,n){this.set(e),this.prev=void 0,this.prevFrameValue=t,this.prevUpdatedAt=this.updatedAt-n}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 fe.current&&fe.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){const t=pe.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||t-this.updatedAt>30)return 0;const e=Math.min(this.updatedAt-this.prevUpdatedAt,30);return me(parseFloat(this.current)-parseFloat(this.prevFrameValue),e)}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 ye(t,e){return new ge(t,e)}const ve=[...X,S,j],xe=new WeakMap;function be(t){return null!==t&&"object"==typeof t&&"function"==typeof t.start}function we(t){return"string"==typeof t||Array.isArray(t)}const ke=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Pe=["initial",...ke];function Te(t){return be(t.animate)||Pe.some(e=>we(t[e]))}function Se(t){return Boolean(Te(t)||t.variants)}const Me={current:null},Ae={current:!1},Ee="undefined"!=typeof window;function Ce(t){const e=[{},{}];return t?.values.forEach((t,n)=>{e[0][n]=t.get(),e[1][n]=t.getVelocity()}),e}function Ve(t,e,n,i){if("function"==typeof e){const[s,o]=Ce(i);e=e(void 0!==n?n:t.custom,s,o)}if("string"==typeof e&&(e=t.variants&&t.variants[e]),"function"==typeof e){const[s,o]=Ce(i);e=e(void 0!==n?n:t.custom,s,o)}return e}const De=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let je={};function Re(t){je=t}class Le{scrapeMotionValuesFromProps(t,e,n){return{}}constructor({parent:t,props:e,presenceContext:n,reducedMotionConfig:i,skipAnimations:s,blockInitialAnimation:o,visualState:r},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.shouldSkipAnimations=!1,this.values=new Map,this.KeyframeResolver=jt,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.hasBeenMounted=!1,this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const t=pe.now();this.renderScheduledAt<t&&(this.renderScheduledAt=t,kt.render(this.render,!1,!0))};const{latestValues:l,renderState:c}=r;this.latestValues=l,this.baseTarget={...l},this.initialValues=e.initial?{...l}:{},this.renderState=c,this.parent=t,this.props=e,this.presenceContext=n,this.depth=t?t.depth+1:0,this.reducedMotionConfig=i,this.skipAnimationsConfig=s,this.options=a,this.blockInitialAnimation=Boolean(o),this.isControllingVariants=Te(e),this.isVariantNode=Se(e),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(t&&t.current);const{willChange:h,...u}=this.scrapeMotionValuesFromProps(e,{},this);for(const t in u){const e=u[t];void 0!==l[t]&&$(e)&&e.set(l[t])}}mount(t){if(this.hasBeenMounted)for(const t in this.initialValues)this.values.get(t)?.jump(this.initialValues[t]),this.latestValues[t]=this.initialValues[t];this.current=t,xe.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:(Ae.current||function(){if(Ae.current=!0,Ee)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Me.current=t.matches;t.addEventListener("change",e),e()}else Me.current=!1}(),this.shouldReduceMotion=Me.current),this.shouldSkipAnimations=this.skipAnimationsConfig??!1,this.parent?.addChild(this),this.update(this.props,this.presenceContext),this.hasBeenMounted=!0}unmount(){this.projection&&this.projection.unmount(),Pt(this.notifyUpdate),Pt(this.render),this.valueSubscriptions.forEach(t=>t()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const t in this.events)this.events[t].clear();for(const t in this.features){const 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){if(this.valueSubscriptions.has(t)&&this.valueSubscriptions.get(t)(),e.accelerate&&le.has(t)&&this.current instanceof HTMLElement){const{factory:n,keyframes:i,times:s,ease:o,duration:r}=e.accelerate,a=new ae({element:this.current,name:t,keyframes:i,times:s,ease:o,duration:Ft(r)}),l=n(a);return void this.valueSubscriptions.set(t,()=>{l(),a.cancel()})}const n=s.has(t);n&&this.onBindTransform&&this.onBindTransform();const i=e.on("change",e=>{this.latestValues[t]=e,this.props.onUpdate&&kt.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let o;"undefined"!=typeof window&&window.MotionCheckAppearSync&&(o=window.MotionCheckAppearSync(this,t,e)),this.valueSubscriptions.set(t,()=>{i(),o&&o(),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 je){const e=je[t];if(!e)continue;const{isEnabled:n,Feature:i}=e;if(!this.features[t]&&i&&n(this.props)&&(this.features[t]=new i(this)),this.features[t]){const 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):{x:{min:0,max:0},y:{min:0,max:0}}}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<De.length;e++){const n=De[e];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const i=t["on"+n];i&&(this.propEventSubscriptions[n]=this.on(n,i))}this.prevMotionValues=function(t,e,n){for(const i in e){const s=e[i],o=n[i];if($(s))t.addValue(i,s);else if($(o))t.addValue(i,ye(s,{owner:t}));else if(o!==s)if(t.hasValue(i)){const e=t.getValue(i);!0===e.liveStyle?e.jump(s):e.hasAnimated||e.set(s)}else{const e=t.getStaticValue(i);t.addValue(i,ye(void 0!==e?e:s,{owner:t}))}}for(const i in n)void 0===e[i]&&t.removeValue(i);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){const e=this.getClosestVariantNode();if(e)return e.variantChildren&&e.variantChildren.add(t),()=>e.variantChildren.delete(t)}addValue(t,e){const n=this.values.get(t);e!==n&&(n&&this.removeValue(t),this.bindToMotionValue(t,e),this.values.set(t,e),this.latestValues[t]=e.get())}removeValue(t){this.values.delete(t);const 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 n=this.values.get(t);return void 0===n&&void 0!==e&&(n=ye(null===e?void 0:e,{owner:this}),this.addValue(t,n)),n}readValue(t,e){let n=void 0===this.latestValues[t]&&this.current?this.getBaseTargetFromProps(this.props,t)??this.readValueFromInstance(this.current,t,this.options):this.latestValues[t];var i;return null!=n&&("string"==typeof n&&(K(n)||Rt(n))?n=parseFloat(n):(i=n,!ve.find(Y(i))&&j.test(e)&&(n=Ot(t,e))),this.setBaseTarget(t,$(n)?n.get():n)),$(n)?n.get():n}setBaseTarget(t,e){this.baseTarget[t]=e}getBaseTarget(t){const{initial:e}=this.props;let n;if("string"==typeof e||"object"==typeof e){const i=Ve(this.props,e,this.presenceContext?.custom);i&&(n=i[t])}if(e&&void 0!==n)return n;const i=this.getBaseTargetFromProps(this.props,t);return void 0===i||$(i)?void 0!==this.initialValues[t]&&void 0===n?void 0:this.baseTarget[t]:i}on(t,e){return this.events[t]||(this.events[t]=new $t),this.events[t].add(e)}notify(t,...e){this.events[t]&&this.events[t].notify(...e)}scheduleRenderMicrotask(){ce.render(this.render)}}class Be extends Le{constructor(){super(...arguments),this.KeyframeResolver=It}sortInstanceNodePosition(t,e){return 2&t.compareDocumentPosition(e)?1:-1}getBaseTargetFromProps(t,e){const n=t.style;return n?n[e]:void 0}removeValueFromRenderState(t,{vars:e,style:n}){delete e[t],delete n[t]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:t}=this.props;$(t)&&(this.childSubscription=t.on("change",t=>{this.current&&(this.current.textContent=`${t}`)}))}}function Oe(t){return t.replace(/([A-Z])/g,t=>`-${t.toLowerCase()}`)}const ze=(t,e)=>e&&"number"==typeof t?e.transform(t):t,Ie={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Fe=i.length;function Ne(t,e,n){const{style:o,vars:r,transformOrigin:a}=t;let l=!1,c=!1;for(const t in e){const n=e[t];if(s.has(t))l=!0;else if(Z(t))r[t]=n;else{const e=ze(n,F[t]);t.startsWith("origin")?(c=!0,a[t]=e):o[t]=e}}if(e.transform||(l||n?o.transform=function(t,e,n){let s="",o=!0;for(let r=0;r<Fe;r++){const a=i[r],l=t[a];if(void 0===l)continue;let c=!0;if("number"==typeof l)c=l===(a.startsWith("scale")?1:0);else{const t=parseFloat(l);c=a.startsWith("scale")?1===t:0===t}if(!c||n){const t=ze(l,F[a]);c||(o=!1,s+=`${Ie[a]||a}(${t}) `),n&&(e[a]=t)}}return s=s.trim(),n?s=n(e,o?"":s):o&&(s="none"),s}(e,t.transform,n):o.transform&&(o.transform="none")),c){const{originX:t="50%",originY:e="50%",originZ:n=0}=a;o.transformOrigin=`${t} ${e} ${n}`}}const Ue={offset:"stroke-dashoffset",array:"stroke-dasharray"},We={offset:"strokeDashoffset",array:"strokeDasharray"},$e=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function He(t,{attrX:e,attrY:n,attrScale:i,pathLength:s,pathSpacing:o=1,pathOffset:r=0,...a},l,c,h){if(Ne(t,a,c),l)return void(t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox));t.attrs=t.style,t.style={};const{attrs:u,style:d}=t;u.transform&&(d.transform=u.transform,delete u.transform),(d.transform||u.transformOrigin)&&(d.transformOrigin=u.transformOrigin??"50% 50%",delete u.transformOrigin),d.transform&&(d.transformBox=h?.transformBox??"fill-box",delete u.transformBox);for(const t of $e)void 0!==u[t]&&(d[t]=u[t],delete u[t]);void 0!==e&&(u.x=e),void 0!==n&&(u.y=n),void 0!==i&&(u.scale=i),void 0!==s&&function(t,e,n=1,i=0,s=!0){t.pathLength=1;const o=s?Ue:We;t[o.offset]=""+-i,t[o.array]=`${e} ${n}`}(u,s,o,r,!1)}const Ye=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"]),Xe=t=>"string"==typeof t&&"svg"===t.toLowerCase();function Ge(t,{style:e,vars:n},i,s){const o=t.style;let r;for(r in e)o[r]=e[r];for(r in s?.applyProjectionStyles(o,i),n)o.setProperty(r,n[r])}function Ke(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const qe={correct:(t,e)=>{if(!e.target)return t;if("string"==typeof t){if(!b.test(t))return t;t=parseFloat(t)}return`${Ke(t,e.target.x)}% ${Ke(t,e.target.y)}%`}},Ze=(t,e,n)=>t+(e-t)*n,_e={correct:(t,{treeScale:e,projectionDelta:n})=>{const i=t,s=j.parse(t);if(s.length>5)return i;const o=j.createTransformer(t),r="number"!=typeof s[0]?1:0,a=n.x.scale*e.x,l=n.y.scale*e.y;s[0+r]/=a,s[1+r]/=l;const c=Ze(a,l,.5);return"number"==typeof s[2+r]&&(s[2+r]/=c),"number"==typeof s[3+r]&&(s[3+r]/=c),o(s)}},Qe={borderRadius:{...qe,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:qe,borderTopRightRadius:qe,borderBottomLeftRadius:qe,borderBottomRightRadius:qe,boxShadow:_e};function Je(t,{layout:e,layoutId:n}){return s.has(t)||t.startsWith("origin")||(e||void 0!==n)&&(!!Qe[t]||"opacity"===t)}function tn(t,e,n){const i=t.style,s=e?.style,o={};if(!i)return o;for(const e in i)($(i[e])||s&&$(s[e])||Je(e,t)||void 0!==n?.getValue(e)?.liveStyle)&&(o[e]=i[e]);return o}function en(t,e,n){const s=tn(t,e,n);for(const n in t)($(t[n])||$(e[n]))&&(s[-1!==i.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=t[n]);return s}class nn extends Be{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=W}getBaseTargetFromProps(t,e){return t[e]}readValueFromInstance(t,e){if(s.has(e)){const t=U(e);return t&&t.default||0}return e=Ye.has(e)?e:Oe(e),t.getAttribute(e)}scrapeMotionValuesFromProps(t,e,n){return en(t,e,n)}build(t,e,n){He(t,e,this.isSVGTag,n.transformTemplate,n.style)}renderInstance(t,e,n,i){!function(t,e,n,i){Ge(t,e,void 0,i);for(const n in e.attrs)t.setAttribute(Ye.has(n)?n:Oe(n),e.attrs[n])}(t,e,0,i)}mount(t){this.isSVGTag=Xe(t.tagName),super.mount(t)}}function sn({top:t,left:e,right:n,bottom:i}){return{x:{min:e,max:n},y:{min:t,max:i}}}function on(t){return void 0===t||1===t}function rn({scale:t,scaleX:e,scaleY:n}){return!on(t)||!on(e)||!on(n)}function an(t){return rn(t)||ln(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function ln(t){return cn(t.x)||cn(t.y)}function cn(t){return t&&"0%"!==t}function hn(t,e,n){return n+e*(t-n)}function un(t,e,n,i,s){return void 0!==s&&(t=hn(t,s,i)),hn(t,n,i)+e}function dn(t,e=0,n=1,i,s){t.min=un(t.min,e,n,i,s),t.max=un(t.max,e,n,i,s)}function pn(t,{x:e,y:n}){dn(t.x,e.translate,e.scale,e.originPoint),dn(t.y,n.translate,n.scale,n.originPoint)}const mn=.999999999999,fn=1.0000000000001;function gn(t,e){t.min=t.min+e,t.max=t.max+e}function yn(t,e,n,i,s=.5){dn(t,e,n,Ze(t.min,t.max,s),i)}function vn(t,e){return"string"==typeof t?parseFloat(t)/100*(e.max-e.min):t}function xn(t,e,n){const i=n??t;yn(t.x,vn(e.x,i.x),e.scaleX,e.scale,e.originX),yn(t.y,vn(e.y,i.y),e.scaleY,e.scale,e.originY)}function bn(t,e){return sn(function(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),i=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:i.y,right:i.x}}(t.getBoundingClientRect(),e))}class wn extends Be{constructor(){super(...arguments),this.type="html",this.renderInstance=Ge}readValueFromInstance(t,e){if(s.has(e))return this.projection?.isProjecting?ht(e):((t,e)=>{const{transform:n="none"}=getComputedStyle(t);return ut(n,e)})(t,e);{const i=(n=t,window.getComputedStyle(n)),s=(Z(e)?i.getPropertyValue(e):i[e])||0;return"string"==typeof s?s.trim():s}var n}measureInstanceViewportBox(t,{transformPagePoint:e}){return bn(t,e)}build(t,e,n){Ne(t,e,n.transformTemplate)}scrapeMotionValuesFromProps(t,e,n){return tn(t,e,n)}}var kn=n(594);const Pn=["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 Tn(t){return"string"==typeof t&&!t.includes("-")&&!!(Pn.indexOf(t)>-1||/[A-Z]/u.test(t))}const Sn=(t,e)=>e.isSVG??Tn(t)?new nn(e):new wn(e,{allowProjection:t!==kn.Fragment});var Mn=n(713),An=n(74);const En=(0,kn.createContext)({strict:!1});var Cn=n(391);const Vn=(0,kn.createContext)({});function Dn(t){return Array.isArray(t)?t.join(" "):t}function jn(t,e,n){for(const i in e)$(e[i])||Je(i,n)||(t[i]=e[i])}function Rn(t,e){const n={},i=function(t,e){const n={};return jn(n,t.style||{},t),Object.assign(n,function({transformTemplate:t},e){return(0,kn.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return Ne(n,e,t),Object.assign({},n.vars,n.style)},[e])}(t,e)),n}(t,e);return t.drag&&!1!==t.dragListener&&(n.draggable=!1,i.userSelect=i.WebkitUserSelect=i.WebkitTouchCallout="none",i.touchAction=!0===t.drag?"none":"pan-"+("x"===t.drag?"y":"x")),void 0===t.tabIndex&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=i,n}function Ln(t,e,n,i){const s=(0,kn.useMemo)(()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return He(n,e,Xe(i),t.transformTemplate,t.style),{...n.attrs,style:{...n.style}}},[e]);if(t.style){const e={};jn(e,t.style,t),s.style={...e,...s.style}}return s}const Bn=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","propagate","ignoreStrict","viewport"]);function On(t){return t.startsWith("while")||t.startsWith("drag")&&"draggable"!==t||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Bn.has(t)}let zn=t=>!On(t);try{"function"==typeof(In=require("@emotion/is-prop-valid").default)&&(zn=t=>t.startsWith("on")?!On(t):In(t))}catch{}var In;function Fn(t,e,n,{latestValues:i},s,o=!1,r){const a=(r??Tn(t)?Ln:Rn)(e,i,s,t),l=function(t,e,n){const i={};for(const s in t)"values"===s&&"object"==typeof t.values||$(t[s])||(zn(s)||!0===n&&On(s)||!e&&!On(s)||t.draggable&&s.startsWith("onDrag"))&&(i[s]=t[s]);return i}(e,"string"==typeof t,o),c=t!==kn.Fragment?{...l,...a,ref:n}:{},{children:h}=e,u=(0,kn.useMemo)(()=>$(h)?h.get():h,[h]);return(0,kn.createElement)(t,{...c,children:u})}function Nn(t){return $(t)?t.get():t}var Un=n(350),Wn=n(302);function $n(t,e,n,i){const s={},o=i(t,{});for(const t in o)s[t]=Nn(o[t]);let{initial:r,animate:a}=t;const l=Te(t),c=Se(t);e&&c&&!l&&!1!==t.inherit&&(void 0===r&&(r=e.initial),void 0===a&&(a=e.animate));let h=!!n&&!1===n.initial;h=h||!1===r;const u=h?a:r;if(u&&"boolean"!=typeof u&&!be(u)){const e=Array.isArray(u)?u:[u];for(let n=0;n<e.length;n++){const i=Ve(t,e[n]);if(i){const{transitionEnd:t,transition:e,...n}=i;for(const t in n){let e=n[t];Array.isArray(e)&&(e=e[h?e.length-1:0]),null!==e&&(s[t]=e)}for(const e in t)s[e]=t[e]}}}return s}const Hn=t=>(e,n)=>{const i=(0,kn.useContext)(Vn),s=(0,kn.useContext)(Un.t),o=()=>function({scrapeMotionValuesFromProps:t,createRenderState:e},n,i,s){return{latestValues:$n(n,i,s,t),renderState:e()}}(t,e,i,s);return n?o():(0,Wn.M)(o)},Yn=Hn({scrapeMotionValuesFromProps:tn,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{}})}),Xn=Hn({scrapeMotionValuesFromProps:en,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}})}),Gn={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"]};let Kn=!1;function qn(){return function(){if(Kn)return;const t={};for(const e in Gn)t[e]={isEnabled:t=>Gn[e].some(e=>!!t[e])};Re(t),Kn=!0}(),je}const Zn=Symbol.for("motionComponentSymbol");function _n(t,e,n){const i=(0,kn.useRef)(n);(0,kn.useInsertionEffect)(()=>{i.current=n});const s=(0,kn.useRef)(null);return(0,kn.useCallback)(n=>{n&&t.onMount?.(n);const o=i.current;if("function"==typeof o)if(n){const t=o(n);"function"==typeof t&&(s.current=t)}else s.current?(s.current(),s.current=null):o(n);else o&&(o.current=n);e&&(n?e.mount(n):e.unmount())},[e])}const Qn="data-"+Oe("framerAppearId"),Jn=(0,kn.createContext)({});function ti(t){return t&&"object"==typeof t&&Object.prototype.hasOwnProperty.call(t,"current")}var ei=n(428);function ni(t,e,n,i,s,o){const{visualElement:r}=(0,kn.useContext)(Vn),a=(0,kn.useContext)(En),l=(0,kn.useContext)(Un.t),c=(0,kn.useContext)(Cn.Q),h=c.reducedMotion,u=c.skipAnimations,d=(0,kn.useRef)(null),p=(0,kn.useRef)(!1);i=i||a.renderer,!d.current&&i&&(d.current=i(t,{visualState:e,parent:r,props:n,presenceContext:l,blockInitialAnimation:!!l&&!1===l.initial,reducedMotionConfig:h,skipAnimations:u,isSVG:o}),p.current&&d.current&&(d.current.manuallyAnimateOnMount=!0));const m=d.current,f=(0,kn.useContext)(Jn);!m||m.projection||!s||"html"!==m.type&&"svg"!==m.type||function(t,e,n,i){const{layoutId:s,layout:o,drag:r,dragConstraints:a,layoutScroll:l,layoutRoot:c,layoutCrossfade:h}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:ii(t.parent)),t.projection.setOptions({layoutId:s,layout:o,alwaysMeasureLayout:Boolean(r)||a&&ti(a),visualElement:t,animationType:"string"==typeof o?o:"both",initialPromotionConfig:i,crossfade:h,layoutScroll:l,layoutRoot:c})}(d.current,n,s,f);const g=(0,kn.useRef)(!1);(0,kn.useInsertionEffect)(()=>{m&&g.current&&m.update(n,l)});const y=n[Qn],v=(0,kn.useRef)(Boolean(y)&&"undefined"!=typeof window&&!window.MotionHandoffIsComplete?.(y)&&window.MotionHasOptimisedAnimation?.(y));return(0,ei.E)(()=>{p.current=!0,m&&(g.current=!0,window.MotionIsMounted=!0,m.updateFeatures(),m.scheduleRenderMicrotask(),v.current&&m.animationState&&m.animationState.animateChanges())}),(0,kn.useEffect)(()=>{m&&(!v.current&&m.animationState&&m.animationState.animateChanges(),v.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(y)}),v.current=!1),m.enteringChildren=void 0)}),m}function ii(t){if(t)return!1!==t.options.allowProjection?t.projection:ii(t.parent)}function si(t,{forwardMotionProps:e=!1,type:n}={},i,s){i&&function(t){const e=qn();for(const n in t)e[n]={...e[n],...t[n]};Re(e)}(i);const o=n?"svg"===n:Tn(t),r=o?Xn:Yn;function a(n,i){let a;const l={...(0,kn.useContext)(Cn.Q),...n,layoutId:oi(n)},{isStatic:c}=l,h=function(t){const{initial:e,animate:n}=function(t,e){if(Te(t)){const{initial:e,animate:n}=t;return{initial:!1===e||we(e)?e:void 0,animate:we(n)?n:void 0}}return!1!==t.inherit?e:{}}(t,(0,kn.useContext)(Vn));return(0,kn.useMemo)(()=>({initial:e,animate:n}),[Dn(e),Dn(n)])}(n),u=r(n,c);if(!c&&"undefined"!=typeof window){(0,kn.useContext)(En).strict;const e=function(t){const e=qn(),{drag:n,layout:i}=e;if(!n&&!i)return{};const s={...n,...i};return{MeasureLayout:n?.isEnabled(t)||i?.isEnabled(t)?s.MeasureLayout:void 0,ProjectionNode:s.ProjectionNode}}(l);a=e.MeasureLayout,h.visualElement=ni(t,u,l,s,e.ProjectionNode,o)}return(0,Mn.jsxs)(Vn.Provider,{value:h,children:[a&&h.visualElement?(0,Mn.jsx)(a,{visualElement:h.visualElement,...l}):null,Fn(t,n,_n(u,h.visualElement,i),u,c,e,o)]})}a.displayName=`motion.${"string"==typeof t?t:`create(${t.displayName??t.name??""})`}`;const l=(0,kn.forwardRef)(a);return l[Zn]=t,l}function oi({layoutId:t}){const e=(0,kn.useContext)(An.L).id;return e&&void 0!==t?e+"-"+t:t}function ri(t,e){if("undefined"==typeof Proxy)return si;const n=new Map,i=(n,i)=>si(n,i,t,e);return new Proxy((t,e)=>i(t,e),{get:(s,o)=>"create"===o?i:(n.has(o)||n.set(o,si(o,void 0,t,e)),n.get(o))})}class ai{constructor(t){this.isMounted=!1,this.node=t}update(){}}function li(t,e,n){const i=t.getProps();return Ve(i,e,void 0!==n?n:i.custom,t)}function ci(t,e){if(t?.inherit&&e){const{inherit:n,...i}=t;return{...e,...i}}return t}function hi(t,e){const n=t?.[e]??t?.default??t;return n!==t?ci(n,t):n}const ui=t=>Array.isArray(t);function di(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,ye(n))}function pi(t){return ui(t)?t[t.length-1]||0:t}function mi(t,e){const n=t.getValue("willChange");if(i=n,Boolean($(i)&&i.add))return n.add(e);if(!n&&vt.WillChange){const n=new vt.WillChange("auto");t.addValue("willChange",n),n.add(e)}var i}function fi(t){return t.props[Qn]}const gi=(t,e)=>n=>e(t(n)),yi=(...t)=>t.reduce(gi);function vi(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function xi(t,e){return n=>n>0?e:t}const bi=(t,e,n)=>{const i=t*t,s=n*(e*e-i)+i;return s<0?0:Math.sqrt(s)},wi=[g,f,T];function ki(t){const e=(n=t,wi.find(t=>t.test(n)));var n;if(Boolean(e),!Boolean(e))return!1;let i=e.parse(t);return e===T&&(i=function({hue:t,saturation:e,lightness:n,alpha:i}){t/=360,n/=100;let s=0,o=0,r=0;if(e/=100){const i=n<.5?n*(1+e):n+e-n*e,a=2*n-i;s=vi(a,i,t+1/3),o=vi(a,i,t),r=vi(a,i,t-1/3)}else s=o=r=n;return{red:Math.round(255*s),green:Math.round(255*o),blue:Math.round(255*r),alpha:i}}(i)),i}const Pi=(t,e)=>{const n=ki(t),i=ki(e);if(!n||!i)return xi(t,e);const s={...n};return t=>(s.red=bi(n.red,i.red,t),s.green=bi(n.green,i.green,t),s.blue=bi(n.blue,i.blue,t),s.alpha=Ze(n.alpha,i.alpha,t),f.transform(s))},Ti=new Set(["none","hidden"]);function Si(t,e){return n=>Ze(t,e,n)}function Mi(t){return"number"==typeof t?Si:"string"==typeof t?Q(t)?xi:S.test(t)?Pi:Ci:Array.isArray(t)?Ai:"object"==typeof t?S.test(t)?Pi:Ei:xi}function Ai(t,e){const n=[...t],i=n.length,s=t.map((t,n)=>Mi(t)(t,e[n]));return t=>{for(let e=0;e<i;e++)n[e]=s[e](t);return n}}function Ei(t,e){const n={...t,...e},i={};for(const s in n)void 0!==t[s]&&void 0!==e[s]&&(i[s]=Mi(t[s])(t[s],e[s]));return t=>{for(const e in i)n[e]=i[e](t);return n}}const Ci=(t,e)=>{const n=j.createTransformer(e),i=V(t),s=V(e);return i.indexes.var.length===s.indexes.var.length&&i.indexes.color.length===s.indexes.color.length&&i.indexes.number.length>=s.indexes.number.length?Ti.has(t)&&!s.values.length||Ti.has(e)&&!i.values.length?function(t,e){return Ti.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}(t,e):yi(Ai(function(t,e){const n=[],i={color:0,var:0,number:0};for(let s=0;s<e.values.length;s++){const o=e.types[s],r=t.indexes[o][i[o]],a=t.values[r]??0;n[s]=a,i[o]++}return n}(i,s),s.values),n):xi(t,e)};function Vi(t,e,n){return"number"==typeof t&&"number"==typeof e&&"number"==typeof n?Ze(t,e,n):Mi(t)(t,e)}const Di=t=>{const e=({timestamp:e})=>t(e);return{start:(t=!0)=>kt.update(e,t),stop:()=>Pt(e),now:()=>Tt.isProcessing?Tt.timestamp:pe.now()}},ji=2e4;function Ri(t){let e=0,n=t.next(e);for(;!n.done&&e<ji;)e+=50,n=t.next(e);return e>=ji?1/0:e}const Li=.01,Bi=2,Oi=.005,zi=.5;function Ii(t,e){return t*Math.sqrt(1-e*e)}const Fi=["duration","bounce"],Ni=["stiffness","damping","mass"];function Ui(t,e){return e.some(e=>void 0!==t[e])}function Wi(t=.3,e=.3){const n="object"!=typeof t?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:i,restDelta:s}=n;const r=n.keyframes[0],a=n.keyframes[n.keyframes.length-1],l={done:!1,value:r},{stiffness:c,damping:h,mass:u,duration:d,velocity:p,isResolvedFromDuration:m}=function(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!Ui(t,Ni)&&Ui(t,Fi))if(e.velocity=0,t.visualDuration){const n=t.visualDuration,i=2*Math.PI/(1.2*n),s=i*i,r=2*o(.05,1,1-(t.bounce||0))*Math.sqrt(s);e={...e,mass:1,stiffness:s,damping:r}}else{const n=function({duration:t=800,bounce:e=.3,velocity:n=0,mass:i=1}){let s,r;Ft(10);let a=1-e;a=o(.05,1,a),t=o(.01,10,Nt(t)),a<1?(s=e=>{const i=e*a,s=i*t;return.001-(i-n)/Ii(e,a)*Math.exp(-s)},r=e=>{const i=e*a*t,o=i*n+n,r=Math.pow(a,2)*Math.pow(e,2)*t,l=Math.exp(-i),c=Ii(Math.pow(e,2),a);return(.001-s(e)>0?-1:1)*((o-r)*l)/c}):(s=e=>Math.exp(-e*t)*((e-n)*t+1)-.001,r=e=>Math.exp(-e*t)*(t*t*(n-e)));const l=function(t,e,n){let i=n;for(let n=1;n<12;n++)i-=t(i)/e(i);return i}(s,r,5/t);if(t=Ft(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{const e=Math.pow(l,2)*i;return{stiffness:e,damping:2*a*Math.sqrt(i*e),duration:t}}}({...t,velocity:0});e={...e,...n,mass:1},e.isResolvedFromDuration=!0}return e}({...n,velocity:-Nt(n.velocity||0)}),f=p||0,g=h/(2*Math.sqrt(c*u)),y=a-r,v=Nt(Math.sqrt(c/u)),x=Math.abs(y)<5;let b,w,k,P,T,S;if(i||(i=x?Li:Bi),s||(s=x?Oi:zi),g<1)k=Ii(v,g),P=(f+g*v*y)/k,b=t=>{const e=Math.exp(-g*v*t);return a-e*(P*Math.sin(k*t)+y*Math.cos(k*t))},T=g*v*P+y*k,S=g*v*y-P*k,w=t=>Math.exp(-g*v*t)*(T*Math.sin(k*t)+S*Math.cos(k*t));else if(1===g){b=t=>a-Math.exp(-v*t)*(y+(f+v*y)*t);const t=f+v*y;w=e=>Math.exp(-v*e)*(v*t*e-f)}else{const t=v*Math.sqrt(g*g-1);b=e=>{const n=Math.exp(-g*v*e),i=Math.min(t*e,300);return a-n*((f+g*v*y)*Math.sinh(i)+t*y*Math.cosh(i))/t};const e=(f+g*v*y)/t,n=g*v*e-y*t,i=g*v*y-e*t;w=e=>{const s=Math.exp(-g*v*e),o=Math.min(t*e,300);return s*(n*Math.sinh(o)+i*Math.cosh(o))}}const M={calculatedDuration:m&&d||null,velocity:t=>Ft(w(t)),next:t=>{if(!m&&g<1){const e=Math.exp(-g*v*t),n=Math.sin(k*t),o=Math.cos(k*t),r=a-e*(P*n+y*o),c=Ft(e*(T*n+S*o));return l.done=Math.abs(c)<=i&&Math.abs(a-r)<=s,l.value=l.done?a:r,l}const e=b(t);if(m)l.done=t>=d;else{const n=Ft(w(t));l.done=Math.abs(n)<=i&&Math.abs(a-e)<=s}return l.value=l.done?a:e,l},toString:()=>{const t=Math.min(Ri(M),ji),e=ee(e=>M.next(t*e).value,t,30);return t+"ms "+e},toTransition:()=>{}};return M}function $i(t,e,n){const i=Math.max(e-5,0);return me(n-t(i),e-i)}function Hi({keyframes:t,velocity:e=0,power:n=.8,timeConstant:i=325,bounceDamping:s=10,bounceStiffness:o=500,modifyTarget:r,min:a,max:l,restDelta:c=.5,restSpeed:h}){const u=t[0],d={done:!1,value:u},p=t=>void 0===a?l:void 0===l||Math.abs(a-t)<Math.abs(l-t)?a:l;let m=n*e;const f=u+m,g=void 0===r?f:r(f);g!==f&&(m=g-u);const y=t=>-m*Math.exp(-t/i),v=t=>g+y(t),x=t=>{const e=y(t),n=v(t);d.done=Math.abs(e)<=c,d.value=d.done?g:n};let b,w;const k=t=>{var e;e=d.value,(void 0!==a&&e<a||void 0!==l&&e>l)&&(b=t,w=Wi({keyframes:[d.value,p(d.value)],velocity:$i(v,t,d.value),damping:s,stiffness:o,restDelta:c,restSpeed:h}))};return k(0),{calculatedDuration:null,next:t=>{let e=!1;return w||void 0!==b||(e=!0,x(t),k(t)),void 0!==b&&t>=b?w.next(t-b):(!e&&x(t),d)}}}Wi.applyToOptions=t=>{const e=function(t,e=100,n){const i=n({...t,keyframes:[0,e]}),s=Math.min(Ri(i),ji);return{type:"keyframes",ease:t=>i.next(s*t).value/e,duration:Nt(s)}}(t,100,Wi);return t.ease=e.ease,t.duration=Ft(e.duration),t.type="keyframes",t};const Yi=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t;function Xi(t,e,n,i){if(t===e&&n===i)return yt;return s=>0===s||1===s?s:Yi(function(t,e,n,i,s){let o,r,a=0;do{r=e+(n-e)/2,o=Yi(r,i,s)-t,o>0?n=r:e=r}while(Math.abs(o)>1e-7&&++a<12);return r}(s,0,1,t,n),e,i)}const Gi=Xi(.42,0,1,1),Ki=Xi(0,0,.58,1),qi=Xi(.42,0,.58,1),Zi=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,_i=t=>e=>1-t(1-e),Qi=Xi(.33,1.53,.69,.99),Ji=_i(Qi),ts=Zi(Ji),es=t=>t>=1?1:(t*=2)<1?.5*Ji(t):.5*(2-Math.pow(2,-10*(t-1))),ns=t=>1-Math.sin(Math.acos(t)),is=_i(ns),ss=Zi(ns),os={linear:yt,easeIn:Gi,easeInOut:qi,easeOut:Ki,circIn:ns,circInOut:ss,circOut:is,backIn:Ji,backInOut:ts,backOut:Qi,anticipate:es},rs=t=>{if(Jt(t)){t.length;const[e,n,i,s]=t;return Xi(e,n,i,s)}return"string"==typeof t?os[t]:t},as=(t,e,n)=>{const i=e-t;return 0===i?1:(n-t)/i};function ls({duration:t=300,keyframes:e,times:n,ease:i="easeInOut"}){const s=(t=>Array.isArray(t)&&"number"!=typeof t[0])(i)?i.map(rs):rs(i),r={done:!1,value:e[0]},a=function(t,e){return t.map(t=>t*e)}(n&&n.length===e.length?n:function(t){const e=[0];return function(t,e){const n=t[t.length-1];for(let i=1;i<=e;i++){const s=as(0,e,i);t.push(Ze(n,1,s))}}(e,t.length-1),e}(e),t),l=function(t,e,{clamp:n=!0,ease:i,mixer:s}={}){const r=t.length;if(e.length,1===r)return()=>e[0];if(2===r&&e[0]===e[1])return()=>e[1];const a=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());const l=function(t,e,n){const i=[],s=n||vt.mix||Vi,o=t.length-1;for(let n=0;n<o;n++){let o=s(t[n],t[n+1]);if(e){const t=Array.isArray(e)?e[n]||yt:e;o=yi(t,o)}i.push(o)}return i}(e,i,s),c=l.length,h=n=>{if(a&&n<t[0])return e[0];let i=0;if(c>1)for(;i<t.length-2&&!(n<t[i+1]);i++);const s=as(t[i],t[i+1],n);return l[i](s)};return n?e=>h(o(t[0],t[r-1],e)):h}(a,e,{ease:Array.isArray(s)?s:(c=e,h=s,c.map(()=>h||qi).splice(0,c.length-1))});var c,h;return{calculatedDuration:t,next:e=>(r.value=l(e),r.done=e>=t,r)}}const cs={decay:Hi,inertia:Hi,tween:ls,keyframes:ls,spring:Wi};function hs(t){"string"==typeof t.type&&(t.type=cs[t.type])}const us=t=>t/100;class ds extends _t{constructor(t){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:t}=this.options;t&&t.updatedAt!==pe.now()&&this.tick(pe.now()),this.isStopped=!0,"idle"!==this.state&&(this.teardown(),this.options.onStop?.())},Qt.mainThread++,this.options=t,this.initAnimation(),this.play(),!1===t.autoplay&&this.pause()}initAnimation(){const{options:t}=this;hs(t);const{type:e=ls,repeat:n=0,repeatDelay:i=0,repeatType:s,velocity:o=0}=t;let{keyframes:r}=t;const a=e||ls;a!==ls&&"number"!=typeof r[0]&&(this.mixKeyframes=yi(us,Vi(r[0],r[1])),r=[0,100]);const l=a({...t,keyframes:r});"mirror"===s&&(this.mirroredGenerator=a({...t,keyframes:[...r].reverse(),velocity:-o})),null===l.calculatedDuration&&(l.calculatedDuration=Ri(l));const{calculatedDuration:c}=l;this.calculatedDuration=c,this.resolvedDuration=c+i,this.totalDuration=this.resolvedDuration*(n+1)-i,this.generator=l}updateTime(t){const e=Math.round(t-this.startTime)*this.playbackSpeed;null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=e}tick(t,e=!1){const{generator:n,totalDuration:i,mixKeyframes:s,mirroredGenerator:r,resolvedDuration:a,calculatedDuration:l}=this;if(null===this.startTime)return n.next(0);const{delay:c=0,keyframes:h,repeat:u,repeatType:d,repeatDelay:p,type:m,onUpdate:f,finalKeyframe:g}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,t):this.speed<0&&(this.startTime=Math.min(t-i/this.speed,this.startTime)),e?this.currentTime=t:this.updateTime(t);const y=this.currentTime-c*(this.playbackSpeed>=0?1:-1),v=this.playbackSpeed>=0?y<0:y>i;this.currentTime=Math.max(y,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=i);let x=this.currentTime,b=n;if(u){const t=Math.min(this.currentTime,i)/a;let e=Math.floor(t),n=t%1;!n&&t>=1&&(n=1),1===n&&e--,e=Math.min(e,u+1),Boolean(e%2)&&("reverse"===d?(n=1-n,p&&(n-=p/a)):"mirror"===d&&(b=r)),x=o(0,1,n)*a}const w=v?{done:!1,value:h[0]}:b.next(x);s&&!v&&(w.value=s(w.value));let{done:k}=w;v||null===l||(k=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const P=null===this.holdTime&&("finished"===this.state||"running"===this.state&&k);return P&&m!==Hi&&(w.value=Zt(h,this.options,g,this.speed)),f&&f(w.value),P&&this.finish(),w}then(t,e){return this.finished.then(t,e)}get duration(){return Nt(this.calculatedDuration)}get iterationDuration(){const{delay:t=0}=this.options||{};return this.duration+Nt(t)}get time(){return Nt(this.currentTime)}set time(t){t=Ft(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?this.driver.start(!1):(this.startTime=0,this.state="paused",this.holdTime=t,this.tick(t))}getGeneratorVelocity(){const t=this.currentTime;return t<=0?this.options.velocity||0:this.generator.velocity?this.generator.velocity(t):$i(t=>this.generator.next(t).value,t,this.generator.next(t).value)}get speed(){return this.playbackSpeed}set speed(t){const e=this.playbackSpeed!==t;e&&this.driver&&this.updateTime(pe.now()),this.playbackSpeed=t,e&&this.driver&&(this.time=Nt(this.currentTime))}play(){if(this.isStopped)return;const{driver:t=Di,startTime:e}=this.options;this.driver||(this.driver=t(t=>this.tick(t))),this.options.onPlay?.();const n=this.driver.now();"finished"===this.state?(this.updateFinished(),this.startTime=n):null!==this.holdTime?this.startTime=n-this.holdTime:this.startTime||(this.startTime=e??n),"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(pe.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,Qt.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)}}const ps={anticipate:es,backInOut:ts,circInOut:ss};class ms extends ae{constructor(t){var e;"string"==typeof(e=t).ease&&e.ease in ps&&(e.ease=ps[e.ease]),hs(t),super(t),void 0!==t.startTime&&!1!==t.autoplay&&(this.startTime=t.startTime),this.options=t}updateMotionValue(t){const{motionValue:e,onUpdate:n,onComplete:i,element:s,...r}=this.options;if(!e)return;if(void 0!==t)return void e.set(t);const a=new ds({...r,autoplay:!1}),l=Math.max(10,pe.now()-this.startTime),c=o(0,10,l-10),h=a.sample(l).value,{name:u}=this.options;s&&u&&Ht(s,u,h),e.setWithVelocity(a.sample(Math.max(0,l-c)).value,h,c),a.stop()}}const fs=(t,e)=>!("zIndex"===e||"number"!=typeof t&&!Array.isArray(t)&&("string"!=typeof t||!j.test(t)&&"0"!==t||t.startsWith("url(")));function gs(t){t.duration=0,t.type="keyframes"}const ys=new Set(["opacity","clipPath","filter","transform"]),vs=Yt(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));class xs extends _t{constructor({autoplay:t=!0,delay:e=0,type:n="keyframes",repeat:i=0,repeatDelay:s=0,repeatType:o="loop",keyframes:r,name:a,motionValue:l,element:c,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=pe.now();const u={autoplay:t,delay:e,type:n,repeat:i,repeatDelay:s,repeatType:o,name:a,motionValue:l,element:c,...h},d=c?.KeyframeResolver||jt;this.keyframeResolver=new d(r,(t,e,n)=>this.onKeyframesResolved(t,e,u,!n),a,l,c),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(t,e,n,i){this.keyframeResolver=void 0;const{name:s,type:o,velocity:r,delay:a,isHandoff:l,onUpdate:c}=n;this.resolvedAt=pe.now();let h=!0;(function(t,e,n,i){const s=t[0];if(null===s)return!1;if("display"===e||"visibility"===e)return!0;const o=t[t.length-1],r=fs(s,e),a=fs(o,e);return!(!r||!a)&&(function(t){const e=t[0];if(1===t.length)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}(t)||("spring"===n||re(n))&&i)})(t,s,o,r)||(h=!1,!vt.instantAnimations&&a||c?.(Zt(t,n,e)),t[0]=t[t.length-1],gs(n),n.repeat=0);const u={startTime:i?this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt:void 0,finalKeyframe:e,...n,keyframes:t},d=h&&!l&&function(t){const{motionValue:e,name:n,repeatDelay:i,repeatType:s,damping:o,type:r}=t,a=e?.owner?.current;if(!(a instanceof HTMLElement))return!1;const{onUpdate:l,transformTemplate:c}=e.owner.getProps();return vs()&&n&&ys.has(n)&&("transform"!==n||!c)&&!l&&!i&&"mirror"!==s&&0!==o&&"inertia"!==r}(u),p=u.motionValue?.owner?.current,m=d?new ms({...u,element:p}):new ds(u);m.finished.then(()=>{this.notifyFinished()}).catch(yt),this.pendingTimeline&&(this.stopTimeline=m.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=m}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(),Ct=!0,Dt(),Vt(),Ct=!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()}}const bs={type:"spring",stiffness:500,damping:25,restSpeed:10},ws={type:"keyframes",duration:.8},ks={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Ps=t=>null!==t,Ts=(t,e,n,i={},o,r)=>a=>{const l=hi(i,t)||{},c=l.delay||i.delay||0;let{elapsed:h=0}=i;h-=Ft(c);const u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...l,delay:-h,onUpdate:t=>{e.set(t),l.onUpdate&&l.onUpdate(t)},onComplete:()=>{a(),l.onComplete&&l.onComplete()},name:t,motionValue:e,element:r?void 0:o};(function({when:t,delay:e,delayChildren:n,staggerChildren:i,staggerDirection:s,repeat:o,repeatType:r,repeatDelay:a,from:l,elapsed:c,...h}){return!!Object.keys(h).length})(l)||Object.assign(u,((t,{keyframes:e})=>e.length>2?ws:s.has(t)?t.startsWith("scale")?{type:"spring",stiffness:550,damping:0===e[1]?2*Math.sqrt(550):30,restSpeed:10}:bs:ks)(t,u)),u.duration&&(u.duration=Ft(u.duration)),u.repeatDelay&&(u.repeatDelay=Ft(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if((!1===u.type||0===u.duration&&!u.repeatDelay)&&(gs(u),0===u.delay&&(d=!0)),(vt.instantAnimations||vt.skipAnimations||o?.shouldSkipAnimations)&&(d=!0,gs(u),u.delay=0),u.allowFlatten=!l.type&&!l.ease,d&&!r&&void 0!==e.get()){const t=function(t,{repeat:e,repeatType:n="loop"},i){const s=t.filter(Ps),o=e&&"loop"!==n&&e%2==1?0:s.length-1;return o&&void 0!==i?i:s[o]}(u.keyframes,l);if(void 0!==t)return void kt.update(()=>{u.onUpdate(t),u.onComplete()})}return l.isSync?new ds(u):new xs(u)};function Ss({protectedKeys:t,needsAnimating:e},n){const i=t.hasOwnProperty(n)&&!0!==e[n];return e[n]=!1,i}function Ms(t,e,{delay:n=0,transitionOverride:i,type:s}={}){let{transition:o,transitionEnd:r,...a}=e;const l=t.getDefaultTransition();o=o?ci(o,l):l;const c=o?.reduceMotion;i&&(o=i);const h=[],u=s&&t.animationState&&t.animationState.getState()[s];for(const e in a){const i=t.getValue(e,t.latestValues[e]??null),s=a[e];if(void 0===s||u&&Ss(u,e))continue;const r={delay:n,...hi(o||{},e)},l=i.get();if(void 0!==l&&!i.isAnimating&&!Array.isArray(s)&&s===l&&!r.velocity)continue;let d=!1;if(window.MotionHandoffAnimation){const n=fi(t);if(n){const t=window.MotionHandoffAnimation(n,e,kt);null!==t&&(r.startTime=t,d=!0)}}mi(t,e);const p=c??t.shouldReduceMotion;i.start(Ts(e,i,s,p&&H.has(e)?{type:!1}:r,t,d));const m=i.animation;m&&h.push(m)}if(r){const e=()=>kt.update(()=>{r&&function(t,e){const n=li(t,e);let{transitionEnd:i={},transition:s={},...o}=n||{};o={...o,...i};for(const e in o)di(t,e,pi(o[e]))}(t,r)});h.length?Promise.all(h).then(e):e()}return h}function As(t,e,n,i=0,s=1){const o=Array.from(t).sort((t,e)=>t.sortNodePosition(e)).indexOf(e),r=t.size,a=(r-1)*i;return"function"==typeof n?n(o,r):1===s?o*i:a-o*i}function Es(t,e,n={}){const i=li(t,e,"exit"===n.type?t.presenceContext?.custom:void 0);let{transition:s=t.getDefaultTransition()||{}}=i||{};n.transitionOverride&&(s=n.transitionOverride);const o=i?()=>Promise.all(Ms(t,i,n)):()=>Promise.resolve(),r=t.variantChildren&&t.variantChildren.size?(i=0)=>{const{delayChildren:o=0,staggerChildren:r,staggerDirection:a}=s;return function(t,e,n=0,i=0,s=0,o=1,r){const a=[];for(const l of t.variantChildren)l.notify("AnimationStart",e),a.push(Es(l,e,{...r,delay:n+("function"==typeof i?0:i)+As(t.variantChildren,l,i,s,o)}).then(()=>l.notify("AnimationComplete",e)));return Promise.all(a)}(t,e,i,o,r,a,n)}:()=>Promise.resolve(),{when:a}=s;if(a){const[t,e]="beforeChildren"===a?[o,r]:[r,o];return t().then(()=>e())}return Promise.all([o(),r(n.delay)])}const Cs=Pe.length;function Vs(t){if(!t)return;if(!t.isControllingVariants){const e=t.parent&&Vs(t.parent)||{};return void 0!==t.props.initial&&(e.initial=t.props.initial),e}const e={};for(let n=0;n<Cs;n++){const i=Pe[n],s=t.props[i];(we(s)||!1===s)&&(e[i]=s)}return e}function Ds(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let i=0;i<n;i++)if(e[i]!==t[i])return!1;return!0}const js=[...ke].reverse(),Rs=ke.length;function Ls(t){let e=function(t){return e=>Promise.all(e.map(({animation:e,options:n})=>function(t,e,n={}){let i;if(t.notify("AnimationStart",e),Array.isArray(e)){const s=e.map(e=>Es(t,e,n));i=Promise.all(s)}else if("string"==typeof e)i=Es(t,e,n);else{const s="function"==typeof e?li(t,e,n.custom):e;i=Promise.all(Ms(t,s,n))}return i.then(()=>{t.notify("AnimationComplete",e)})}(t,e,n)))}(t),n=zs(),i=!0,s=!1;const o=e=>(n,i)=>{const s=li(t,i,"exit"===e?t.presenceContext?.custom:void 0);if(s){const{transition:t,transitionEnd:e,...i}=s;n={...n,...i,...e}}return n};function r(r){const{props:a}=t,l=Vs(t.parent)||{},c=[],h=new Set;let u={},d=1/0;for(let e=0;e<Rs;e++){const p=js[e],m=n[p],f=void 0!==a[p]?a[p]:l[p],g=we(f),y=p===r?m.isActive:null;!1===y&&(d=e);let v=f===l[p]&&f!==a[p]&&g;if(v&&(i||s)&&t.manuallyAnimateOnMount&&(v=!1),m.protectedKeys={...u},!m.isActive&&null===y||!f&&!m.prevProp||be(f)||"boolean"==typeof f)continue;if("exit"===p&&m.isActive&&!0!==y){m.prevResolvedValues&&(u={...u,...m.prevResolvedValues});continue}const x=Bs(m.prevProp,f);let b=x||p===r&&m.isActive&&!v&&g||e>d&&g,w=!1;const k=Array.isArray(f)?f:[f];let P=k.reduce(o(p),{});!1===y&&(P={});const{prevResolvedValues:T={}}=m,S={...T,...P},M=e=>{b=!0,h.has(e)&&(w=!0,h.delete(e)),m.needsAnimating[e]=!0;const n=t.getValue(e);n&&(n.liveStyle=!1)};for(const t in S){const e=P[t],n=T[t];if(u.hasOwnProperty(t))continue;let i=!1;i=ui(e)&&ui(n)?!Ds(e,n):e!==n,i?null!=e?M(t):h.add(t):void 0!==e&&h.has(t)?M(t):m.protectedKeys[t]=!0}m.prevProp=f,m.prevResolvedValues=P,m.isActive&&(u={...u,...P}),(i||s)&&t.blockInitialAnimation&&(b=!1);const A=v&&x;b&&(!A||w)&&c.push(...k.map(e=>{const n={type:p};if("string"==typeof e&&(i||s)&&!A&&t.manuallyAnimateOnMount&&t.parent){const{parent:i}=t,s=li(i,e);if(i.enteringChildren&&s){const{delayChildren:e}=s.transition||{};n.delay=As(i.enteringChildren,t,e)}}return{animation:e,options:n}}))}if(h.size){const e={};if("boolean"!=typeof a.initial){const n=li(t,Array.isArray(a.initial)?a.initial[0]:a.initial);n&&n.transition&&(e.transition=n.transition)}h.forEach(n=>{const i=t.getBaseTarget(n),s=t.getValue(n);s&&(s.liveStyle=!0),e[n]=i??null}),c.push({animation:e})}let p=Boolean(c.length);return!i||!1!==a.initial&&a.initial!==a.animate||t.manuallyAnimateOnMount||(p=!1),i=!1,s=!1,p?e(c):Promise.resolve()}return{animateChanges:r,setActive:function(e,i){if(n[e].isActive===i)return Promise.resolve();t.variantChildren?.forEach(t=>t.animationState?.setActive(e,i)),n[e].isActive=i;const s=r(e);for(const t in n)n[t].protectedKeys={};return s},setAnimateFunction:function(n){e=n(t)},getState:()=>n,reset:()=>{n=zs(),s=!0}}}function Bs(t,e){return"string"==typeof e?e!==t:!!Array.isArray(e)&&!Ds(e,t)}function Os(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function zs(){return{animate:Os(!0),whileInView:Os(),whileHover:Os(),whileTap:Os(),whileDrag:Os(),whileFocus:Os(),exit:Os()}}let Is=0;const Fs={animation:{Feature:class extends ai{constructor(t){super(t),t.animationState||(t.animationState=Ls(t))}updateAnimationControlsSubscription(){const{animate:t}=this.node.getProps();be(t)&&(this.unmountControls=t.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:t}=this.node.getProps(),{animate:e}=this.node.prevProps||{};t!==e&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}},exit:{Feature:class extends ai{constructor(){super(...arguments),this.id=Is++,this.isExitComplete=!1}update(){if(!this.node.presenceContext)return;const{isPresent:t,onExitComplete:e}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||t===n)return;if(t&&!1===n){if(this.isExitComplete){const{initial:t,custom:e}=this.node.getProps();if("string"==typeof t){const n=li(this.node,t,e);if(n){const{transition:t,transitionEnd:e,...i}=n;for(const t in i)this.node.getValue(t)?.jump(i[t])}}this.node.animationState.reset(),this.node.animationState.animateChanges()}else this.node.animationState.setActive("exit",!1);return void(this.isExitComplete=!1)}const i=this.node.animationState.setActive("exit",!t);e&&!t&&i.then(()=>{this.isExitComplete=!0,e(this.id)})}mount(){const{register:t,onExitComplete:e}=this.node.presenceContext||{};e&&e(this.id),t&&(this.unmount=t(this.id))}unmount(){}}}},Ns={x:!1,y:!1};function Us(){return Ns.x||Ns.y}function Ws(t){return[t("x"),t("y")]}function $s(t){return t.max-t.min}function Hs(t,e,n,i=.5){t.origin=i,t.originPoint=Ze(e.min,e.max,t.origin),t.scale=$s(n)/$s(e),t.translate=Ze(n.min,n.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 Ys(t,e,n,i){Hs(t.x,e.x,n.x,i?i.originX:void 0),Hs(t.y,e.y,n.y,i?i.originY:void 0)}function Xs(t,e,n){t.min=n.min+e.min,t.max=t.min+$s(e)}function Gs(t,e,n){t.min=e.min-n.min,t.max=t.min+$s(e)}function Ks(t,e,n){Gs(t.x,e.x,n.x),Gs(t.y,e.y,n.y)}const qs=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]),Zs=new Set(["INPUT","SELECT","TEXTAREA"]);function _s(t,e,n,i={passive:!0}){return t.addEventListener(e,n,i),()=>t.removeEventListener(e,n)}var Qs=n(612);function Js(t){return(0,Qs.G)(t)&&"ownerSVGElement"in t}function to(t,e,n){if(null==t)return[];if(t instanceof EventTarget)return[t];if("string"==typeof t){let i=document;e&&(i=e.current);const s=n?.[t]??i.querySelectorAll(t);return s?Array.from(s):[]}return Array.from(t).filter(t=>null!=t)}const eo=new WeakMap;let no;const io=(t,e,n)=>(i,s)=>s&&s[0]?s[0][t+"Size"]:Js(i)&&"getBBox"in i?i.getBBox()[e]:i[n],so=io("inline","width","offsetWidth"),oo=io("block","height","offsetHeight");function ro({target:t,borderBoxSize:e}){eo.get(t)?.forEach(n=>{n(t,{get width(){return so(t,e)},get height(){return oo(t,e)}})})}function ao(t){t.forEach(ro)}const lo=new Set;let co;function ho(t,e){return"function"==typeof t?(n=t,lo.add(n),co||(co=()=>{const t={get width(){return window.innerWidth},get height(){return window.innerHeight}};lo.forEach(e=>e(t))},window.addEventListener("resize",co)),()=>{lo.delete(n),lo.size||"function"!=typeof co||(window.removeEventListener("resize",co),co=void 0)}):function(t,e){no||"undefined"!=typeof ResizeObserver&&(no=new ResizeObserver(ao));const n=to(t);return n.forEach(t=>{let n=eo.get(t);n||(n=new Set,eo.set(t,n)),n.add(e),no?.observe(t)}),()=>{n.forEach(t=>{const n=eo.get(t);n?.delete(e),n?.size||no?.unobserve(t)})}}(t,e);var n}const uo=t=>"mouse"===t.pointerType?"number"!=typeof t.button||t.button<=0:!1!==t.isPrimary;function po(t){return{point:{x:t.pageX,y:t.pageY}}}function mo(t,e,n,i){return _s(t,e,(t=>e=>uo(e)&&t(e,po(e)))(n),i)}const fo=({current:t})=>t?t.ownerDocument.defaultView:null,go=(t,e)=>Math.abs(t-e),yo=new Set(["auto","scroll"]);class vo{constructor(t,e,{transformPagePoint:n,contextWindow:i=window,dragSnapToOrigin:s=!1,distanceThreshold:o=3,element:r}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.lastRawMoveEventInfo=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;this.lastRawMoveEventInfo&&(this.lastMoveEventInfo=xo(this.lastRawMoveEventInfo,this.transformPagePoint));const t=wo(this.lastMoveEventInfo,this.history),e=null!==this.startEvent,n=function(t,e){const n=go(t.x,e.x),i=go(t.y,e.y);return Math.sqrt(n**2+i**2)}(t.offset,{x:0,y:0})>=this.distanceThreshold;if(!e&&!n)return;const{point:i}=t,{timestamp:s}=Tt;this.history.push({...i,timestamp:s});const{onStart:o,onMove:r}=this.handlers;e||(o&&o(this.lastMoveEvent,t),this.startEvent=this.lastMoveEvent),r&&r(this.lastMoveEvent,t)},this.handlePointerMove=(t,e)=>{this.lastMoveEvent=t,this.lastRawMoveEventInfo=e,this.lastMoveEventInfo=xo(e,this.transformPagePoint),kt.update(this.updatePoint,!0)},this.handlePointerUp=(t,e)=>{this.end();const{onEnd:n,onSessionEnd:i,resumeAnimation:s}=this.handlers;if(!this.dragSnapToOrigin&&this.startEvent||s&&s(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const o=wo("pointercancel"===t.type?this.lastMoveEventInfo:xo(e,this.transformPagePoint),this.history);this.startEvent&&n&&n(t,o),i&&i(t,o)},!uo(t))return;this.dragSnapToOrigin=s,this.handlers=e,this.transformPagePoint=n,this.distanceThreshold=o,this.contextWindow=i||window;const a=xo(po(t),this.transformPagePoint),{point:l}=a,{timestamp:c}=Tt;this.history=[{...l,timestamp:c}];const{onSessionStart:h}=e;h&&h(t,wo(a,this.history)),this.removeListeners=yi(mo(this.contextWindow,"pointermove",this.handlePointerMove),mo(this.contextWindow,"pointerup",this.handlePointerUp),mo(this.contextWindow,"pointercancel",this.handlePointerUp)),r&&this.startScrollTracking(r)}startScrollTracking(t){let e=t.parentElement;for(;e;){const t=getComputedStyle(e);(yo.has(t.overflowX)||yo.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}),window.addEventListener("scroll",this.onWindowScroll),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(t){const e=this.scrollPositions.get(t);if(!e)return;const n=t===window,i=n?{x:window.scrollX,y:window.scrollY}:{x:t.scrollLeft,y:t.scrollTop},s=i.x-e.x,o=i.y-e.y;0===s&&0===o||(n?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=s,this.lastMoveEventInfo.point.y+=o):this.history.length>0&&(this.history[0].x-=s,this.history[0].y-=o),this.scrollPositions.set(t,i),kt.update(this.updatePoint,!0))}updateHandlers(t){this.handlers=t}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),Pt(this.updatePoint)}}function xo(t,e){return e?{point:e(t.point)}:t}function bo(t,e){return{x:t.x-e.x,y:t.y-e.y}}function wo({point:t},e){return{point:t,delta:bo(t,Po(e)),offset:bo(t,ko(e)),velocity:To(e,.1)}}function ko(t){return t[0]}function Po(t){return t[t.length-1]}function To(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,i=null;const s=Po(t);for(;n>=0&&(i=t[n],!(s.timestamp-i.timestamp>Ft(e)));)n--;if(!i)return{x:0,y:0};i===t[0]&&t.length>2&&s.timestamp-i.timestamp>2*Ft(e)&&(i=t[1]);const o=Nt(s.timestamp-i.timestamp);if(0===o)return{x:0,y:0};const r={x:(s.x-i.x)/o,y:(s.y-i.y)/o};return r.x===1/0&&(r.x=0),r.y===1/0&&(r.y=0),r}function So(t,e,n){return{min:void 0!==e?t.min+e:void 0,max:void 0!==n?t.max+n-(t.max-t.min):void 0}}function Mo(t,e){let n=e.min-t.min,i=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,i]=[i,n]),{min:n,max:i}}const Ao=.35;function Eo(t,e,n){return{min:Co(t,e),max:Co(t,n)}}function Co(t,e){return"number"==typeof t?t:t[e]||0}const Vo=new WeakMap;class Do{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={x:{min:0,max:0},y:{min:0,max:0}},this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=t}start(t,{snapToCursor:e=!1,distanceThreshold:n}={}){const{presenceContext:i}=this.visualElement;if(i&&!1===i.isPresent)return;const{dragSnapToOrigin:s}=this.getProps();this.panSession=new vo(t,{onSessionStart:t=>{e&&this.snapToCursor(po(t).point),this.stopAnimation()},onStart:(t,e)=>{const{drag:n,dragPropagation:i,onDragStart:s}=this.getProps();if(n&&!i&&(this.openDragLock&&this.openDragLock(),this.openDragLock="x"===(o=n)||"y"===o?Ns[o]?null:(Ns[o]=!0,()=>{Ns[o]=!1}):Ns.x||Ns.y?null:(Ns.x=Ns.y=!0,()=>{Ns.x=Ns.y=!1}),!this.openDragLock))return;var o;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),Ws(t=>{let e=this.getAxisMotionValue(t).get()||0;if(x.test(e)){const{projection:n}=this.visualElement;if(n&&n.layout){const i=n.layout.layoutBox[t];i&&(e=$s(i)*(parseFloat(e)/100))}}this.originPoint[t]=e}),s&&kt.update(()=>s(t,e),!1,!0),mi(this.visualElement,"transform");const{animationState:r}=this.visualElement;r&&r.setActive("whileDrag",!0)},onMove:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e;const{dragPropagation:n,dragDirectionLock:i,onDirectionLock:s,onDrag:o}=this.getProps();if(!n&&!this.openDragLock)return;const{offset:r}=e;if(i&&null===this.currentDirection)return this.currentDirection=function(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}(r),void(null!==this.currentDirection&&s&&s(this.currentDirection));this.updateAxis("x",e.point,r),this.updateAxis("y",e.point,r),this.visualElement.render(),o&&kt.update(()=>o(t,e),!1,!0)},onSessionEnd:(t,e)=>{this.latestPointerEvent=t,this.latestPanInfo=e,this.stop(t,e),this.latestPointerEvent=null,this.latestPanInfo=null},resumeAnimation:()=>{const{dragSnapToOrigin:t}=this.getProps();(t||this.constraints)&&this.startAnimation({x:0,y:0})}},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:s,distanceThreshold:n,contextWindow:fo(this.visualElement),element:this.visualElement.current})}stop(t,e){const n=t||this.latestPointerEvent,i=e||this.latestPanInfo,s=this.isDragging;if(this.cancel(),!s||!i||!n)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:r}=this.getProps();r&&kt.postRender(()=>r(n,i))}cancel(){this.isDragging=!1;const{projection:t,animationState:e}=this.visualElement;t&&(t.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:n}=this.getProps();!n&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),e&&e.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(t,e,n){const{drag:i}=this.getProps();if(!n||!Ro(t,i,this.currentDirection))return;const s=this.getAxisMotionValue(t);let o=this.originPoint[t]+n[t];this.constraints&&this.constraints[t]&&(o=function(t,{min:e,max:n},i){return void 0!==e&&t<e?t=i?Ze(e,t,i.min):Math.max(t,e):void 0!==n&&t>n&&(t=i?Ze(n,t,i.max):Math.min(t,n)),t}(o,this.constraints[t],this.elastic[t])),s.set(o)}resolveConstraints(){const{dragConstraints:t,dragElastic:e}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;t&&ti(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!n)&&function(t,{top:e,left:n,bottom:i,right:s}){return{x:So(t.x,n,s),y:So(t.y,e,i)}}(n.layoutBox,t),this.elastic=function(t=Ao){return!1===t?t=0:!0===t&&(t=Ao),{x:Eo(t,"left","right"),y:Eo(t,"top","bottom")}}(e),i!==this.constraints&&!ti(t)&&n&&this.constraints&&!this.hasMutatedConstraints&&Ws(t=>{!1!==this.constraints&&this.getAxisMotionValue(t)&&(this.constraints[t]=function(t,e){const n={};return void 0!==e.min&&(n.min=e.min-t.min),void 0!==e.max&&(n.max=e.max-t.min),n}(n.layoutBox[t],this.constraints[t]))})}resolveRefConstraints(){const{dragConstraints:t,onMeasureDragConstraints:e}=this.getProps();if(!t||!ti(t))return!1;const n=t.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const s=function(t,e,n){const i=bn(t,n),{scroll:s}=e;return s&&(gn(i.x,s.offset.x),gn(i.y,s.offset.y)),i}(n,i.root,this.visualElement.getTransformPagePoint());let o=function(t,e){return{x:Mo(t.x,e.x),y:Mo(t.y,e.y)}}(i.layout.layoutBox,s);if(e){const t=e(function({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}(o));this.hasMutatedConstraints=!!t,t&&(o=sn(t))}return o}startAnimation(t){const{drag:e,dragMomentum:n,dragElastic:i,dragTransition:s,dragSnapToOrigin:o,onDragTransitionEnd:r}=this.getProps(),a=this.constraints||{},l=Ws(r=>{if(!Ro(r,e,this.currentDirection))return;let l=a&&a[r]||{};!0!==o&&o!==r||(l={min:0,max:0});const c=i?200:1e6,h=i?40:1e7,u={type:"inertia",velocity:n?t[r]:0,bounceStiffness:c,bounceDamping:h,timeConstant:750,restDelta:1,restSpeed:10,...s,...l};return this.startAxisValueAnimation(r,u)});return Promise.all(l).then(r)}startAxisValueAnimation(t,e){const n=this.getAxisMotionValue(t);return mi(this.visualElement,t),n.start(Ts(t,n,0,e,this.visualElement,!1))}stopAnimation(){Ws(t=>this.getAxisMotionValue(t).stop())}getAxisMotionValue(t){const e=`_drag${t.toUpperCase()}`,n=this.visualElement.getProps();return n[e]||this.visualElement.getValue(t,(n.initial?n.initial[t]:void 0)||0)}snapToCursor(t){Ws(e=>{const{drag:n}=this.getProps();if(!Ro(e,n,this.currentDirection))return;const{projection:i}=this.visualElement,s=this.getAxisMotionValue(e);if(i&&i.layout){const{min:n,max:o}=i.layout.layoutBox[e],r=s.get()||0;s.set(t[e]-Ze(n,o,.5)+r)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:t,dragConstraints:e}=this.getProps(),{projection:n}=this.visualElement;if(!ti(e)||!n||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};Ws(t=>{const e=this.getAxisMotionValue(t);if(e&&!1!==this.constraints){const n=e.get();i[t]=function(t,e){let n=.5;const i=$s(t),s=$s(e);return s>i?n=as(e.min,e.max-i,t.min):i>s&&(n=as(t.min,t.max-s,e.min)),o(0,1,n)}({min:n,max:n},this.constraints[t])}});const{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.constraints=!1,this.resolveConstraints(),Ws(e=>{if(!Ro(e,t,null))return;const n=this.getAxisMotionValue(e),{min:s,max:o}=this.constraints[e];n.set(Ze(s,o,i[e]))}),this.visualElement.render()}addListeners(){if(!this.visualElement.current)return;Vo.set(this.visualElement,this);const t=this.visualElement.current,e=mo(t,"pointerdown",e=>{const{drag:n,dragListener:i=!0}=this.getProps(),s=e.target,o=s!==t&&function(t){return Zs.has(t.tagName)||!0===t.isContentEditable}(s);n&&i&&!o&&this.start(e)});let n;const i=()=>{const{dragConstraints:e}=this.getProps();ti(e)&&e.current&&(this.constraints=this.resolveRefConstraints(),n||(n=function(t,e,n){const i=ho(t,jo(n)),s=ho(e,jo(n));return()=>{i(),s()}}(t,e.current,()=>this.scalePositionWithinConstraints())))},{projection:s}=this.visualElement,o=s.addEventListener("measure",i);s&&!s.layout&&(s.root&&s.root.updateScroll(),s.updateLayout()),kt.read(i);const r=_s(window,"resize",()=>this.scalePositionWithinConstraints()),a=s.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e})=>{this.isDragging&&e&&(Ws(e=>{const n=this.getAxisMotionValue(e);n&&(this.originPoint[e]+=t[e].translate,n.set(n.get()+t[e].translate))}),this.visualElement.render())});return()=>{r(),e(),o(),a&&a(),n&&n()}}getProps(){const t=this.visualElement.getProps(),{drag:e=!1,dragDirectionLock:n=!1,dragPropagation:i=!1,dragConstraints:s=!1,dragElastic:o=Ao,dragMomentum:r=!0}=t;return{...t,drag:e,dragDirectionLock:n,dragPropagation:i,dragConstraints:s,dragElastic:o,dragMomentum:r}}}function jo(t){let e=!0;return()=>{e?e=!1:t()}}function Ro(t,e,n){return!(!0!==e&&e!==t||null!==n&&n!==t)}const Lo=t=>(e,n)=>{t&&kt.update(()=>t(e,n),!1,!0)},Bo={hasAnimatedSinceResize:!0,hasEverUpdated:!1};var Oo=n(745);let zo=!1;class Io extends kn.Component{componentDidMount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n,layoutId:i}=this.props,{projection:s}=t;s&&(e.group&&e.group.add(s),n&&n.register&&i&&n.register(s),zo&&s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),Bo.hasEverUpdated=!0}getSnapshotBeforeUpdate(t){const{layoutDependency:e,visualElement:n,drag:i,isPresent:s}=this.props,{projection:o}=n;return o?(o.isPresent=s,t.layoutDependency!==e&&o.setOptions({...o.options,layoutDependency:e}),zo=!0,i||t.layoutDependency!==e||void 0===e||t.isPresent!==s?o.willUpdate():this.safeToRemove(),t.isPresent!==s&&(s?o.promote():o.relegate()||kt.postRender(()=>{const t=o.getStack();t&&t.members.length||this.safeToRemove()})),null):null}componentDidUpdate(){const{projection:t}=this.props.visualElement;t&&(t.root.didUpdate(),ce.postRender(()=>{!t.currentAnimation&&t.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:t,layoutGroup:e,switchLayoutGroup:n}=this.props,{projection:i}=t;zo=!0,i&&(i.scheduleCheckAfterUnmount(),e&&e.group&&e.group.remove(i),n&&n.deregister&&n.deregister(i))}safeToRemove(){const{safeToRemove:t}=this.props;t&&t()}render(){return null}}function Fo(t){const[e,n]=(0,Oo.xQ)(),i=(0,kn.useContext)(An.L);return(0,Mn.jsx)(Io,{...t,layoutGroup:i,switchLayoutGroup:(0,kn.useContext)(Jn),isPresent:e,safeToRemove:n})}const No=["TopLeft","TopRight","BottomLeft","BottomRight"],Uo=No.length,Wo=t=>"string"==typeof t?parseFloat(t):t,$o=t=>"number"==typeof t||b.test(t);function Ho(t,e){return void 0!==t[e]?t[e]:t.borderRadius}const Yo=Go(0,.5,is),Xo=Go(.5,.95,yt);function Go(t,e,n){return i=>i<t?0:i>e?1:n(as(t,e,i))}function Ko(t,e){t.min=e.min,t.max=e.max}function qo(t,e){Ko(t.x,e.x),Ko(t.y,e.y)}function Zo(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}function _o(t,e,n,i,s){return t=hn(t-=e,1/n,i),void 0!==s&&(t=hn(t,1/s,i)),t}function Qo(t,e,[n,i,s],o,r){!function(t,e=0,n=1,i=.5,s,o=t,r=t){if(x.test(e)&&(e=parseFloat(e),e=Ze(r.min,r.max,e/100)-r.min),"number"!=typeof e)return;let a=Ze(o.min,o.max,i);t===o&&(a-=e),t.min=_o(t.min,e,n,a,s),t.max=_o(t.max,e,n,a,s)}(t,e[n],e[i],e[s],e.scale,o,r)}const Jo=["x","scaleX","originX"],tr=["y","scaleY","originY"];function er(t,e,n,i){Qo(t.x,e,Jo,n?n.x:void 0,i?i.x:void 0),Qo(t.y,e,tr,n?n.y:void 0,i?i.y:void 0)}function nr(t){return 0===t.translate&&1===t.scale}function ir(t){return nr(t.x)&&nr(t.y)}function sr(t,e){return t.min===e.min&&t.max===e.max}function or(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function rr(t,e){return or(t.x,e.x)&&or(t.y,e.y)}function ar(t){return $s(t.x)/$s(t.y)}function lr(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}class cr{constructor(){this.members=[]}add(t){Ut(this.members,t);for(let e=this.members.length-1;e>=0;e--){const n=this.members[e];if(n===t||n===this.lead||n===this.prevLead)continue;const i=n.instance;i&&!1!==i.isConnected||n.snapshot||(Wt(this.members,n),n.unmount())}t.scheduleRender()}remove(t){if(Wt(this.members,t),t===this.prevLead&&(this.prevLead=void 0),t===this.lead){const t=this.members[this.members.length-1];t&&this.promote(t)}}relegate(t){for(let e=this.members.indexOf(t)-1;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent&&!1!==t.instance?.isConnected)return this.promote(t),!0}return!1}promote(t,e){const n=this.lead;if(t!==n&&(this.prevLead=n,this.lead=t,t.show(),n)){n.updateSnapshot(),t.scheduleRender();const{layoutDependency:i}=n.options,{layoutDependency:s}=t.options;void 0!==i&&i===s||(t.resumeFrom=n,e&&(n.preserveOpacity=!0),n.snapshot&&(t.snapshot=n.snapshot,t.snapshot.latestValues=n.animationValues||n.latestValues),t.root?.isUpdating&&(t.isLayoutDirty=!0)),!1===t.options.crossfade&&n.hide()}}exitAnimationComplete(){this.members.forEach(t=>{t.options.onExitComplete?.(),t.resumingFrom?.options.onExitComplete?.()})}scheduleRender(){this.members.forEach(t=>t.instance&&t.scheduleRender(!1))}removeLeadSnapshot(){this.lead?.snapshot&&(this.lead.snapshot=void 0)}}const hr=(t,e)=>t.depth-e.depth;class ur{constructor(){this.children=[],this.isDirty=!1}add(t){Ut(this.children,t),this.isDirty=!0}remove(t){Wt(this.children,t),this.isDirty=!0}forEach(t){this.isDirty&&this.children.sort(hr),this.isDirty=!1,this.children.forEach(t)}}const dr={nodes:0,calculatedTargetDeltas:0,calculatedProjections:0},pr=["","X","Y","Z"];let mr=0;function fr(t,e,n,i){const{latestValues:s}=e;s[t]&&(n[t]=s[t],e.setStaticValue(t,0),i&&(i[t]=0))}function gr(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=fi(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:e,layoutId:i}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",kt,!(e||i))}const{parent:i}=t;i&&!i.hasCheckedOptimisedAppear&&gr(i)}function yr({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:i,resetTransform:s}){return class{constructor(t={},n=e?.()){this.id=mr++,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,bt.value&&(dr.nodes=dr.calculatedTargetDeltas=dr.calculatedProjections=0),this.nodes.forEach(br),this.nodes.forEach(Ar),this.nodes.forEach(Er),this.nodes.forEach(wr),bt.addProjectionMetrics&&bt.addProjectionMetrics(dr)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=t,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let t=0;t<this.path.length;t++)this.path[t].shouldResetTransform=!0;this.root===this&&(this.nodes=new ur)}addEventListener(t,e){return this.eventHandlers.has(t)||this.eventHandlers.set(t,new $t),this.eventHandlers.get(t).add(e)}notifyListeners(t,...e){const n=this.eventHandlers.get(t);n&&n.notify(...e)}hasListeners(t){return this.eventHandlers.has(t)}mount(e){if(this.instance)return;var n;this.isSVG=Js(e)&&!(Js(n=e)&&"svg"===n.tagName),this.instance=e;const{layoutId:i,layout:s,visualElement:o}=this.options;if(o&&!o.current&&o.mount(e),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(s||i)&&(this.isLayoutDirty=!0),t){let n,i=0;const s=()=>this.root.updateBlockedByResize=!1;kt.read(()=>{i=window.innerWidth}),t(e,()=>{const t=window.innerWidth;t!==i&&(i=t,this.root.updateBlockedByResize=!0,n&&n(),n=function(t,e){const n=pe.now(),i=({timestamp:s})=>{const o=s-n;o>=e&&(Pt(i),t(o-e))};return kt.setup(i,!0),()=>Pt(i)}(s,250),Bo.hasAnimatedSinceResize&&(Bo.hasAnimatedSinceResize=!1,this.nodes.forEach(Mr)))})}i&&this.root.registerSharedNode(i,this),!1!==this.options.animate&&o&&(i||s)&&this.addEventListener("didUpdate",({delta:t,hasLayoutChanged:e,hasRelativeLayoutChanged:n,layout:i})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const s=this.options.transition||o.getDefaultTransition()||Lr,{onLayoutAnimationStart:r,onLayoutAnimationComplete:a}=o.getProps(),l=!this.targetLayout||!rr(this.targetLayout,i),c=!e&&n;if(this.options.layoutRoot||this.resumeFrom||c||e&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const e={...hi(s,"layout"),onPlay:r,onComplete:a};(o.shouldReduceMotion||this.options.layoutRoot)&&(e.delay=0,e.type=!1),this.startAnimation(e),this.setAnimationOrigin(t,c)}else e||Mr(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=i})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const t=this.getStack();t&&t.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),Pt(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(Cr),this.animationId++)}getTransformTemplate(){const{visualElement:t}=this.options;return t&&t.getProps().transformTemplate}willUpdate(t=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&gr(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let t=0;t<this.path.length;t++){const e=this.path[t];e.shouldResetTransform=!0,"string"!=typeof e.latestValues.x&&"string"!=typeof e.latestValues.y||(e.isLayoutDirty=!0),e.updateScroll("snapshot"),e.options.layoutRoot&&e.willUpdate(!1)}const{layoutId:e,layout:n}=this.options;if(void 0===e&&!n)return;const i=this.getTransformTemplate();this.prevTransformTemplateValue=i?i(this.latestValues,""):void 0,this.updateSnapshot(),t&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(Pr);if(this.animationId<=this.animationCommitId)return void this.nodes.forEach(Tr);this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Sr),this.nodes.forEach(vr),this.nodes.forEach(xr)):this.nodes.forEach(Tr),this.clearAllSnapshots();const t=pe.now();Tt.delta=o(0,1e3/60,t-Tt.timestamp),Tt.timestamp=t,Tt.isProcessing=!0,St.update.process(Tt),St.preRender.process(Tt),St.render.process(Tt),Tt.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,ce.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(kr),this.sharedNodes.forEach(Vr)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,kt.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){kt.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){!this.snapshot&&this.instance&&(this.snapshot=this.measure(),!this.snapshot||$s(this.snapshot.measuredBox.x)||$s(this.snapshot.measuredBox.y)||(this.snapshot=void 0))}updateLayout(){if(!this.instance)return;if(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();const t=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:e}=this.options;e&&e.notify("LayoutMeasure",this.layout.layoutBox,t?t.layoutBox:void 0)}updateScroll(t="measure"){let e=Boolean(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===t&&(e=!1),e&&this.instance){const e=i(this.instance);this.scroll={animationId:this.root.animationId,phase:t,isRoot:e,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:e}}}resetTransform(){if(!s)return;const t=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,e=this.projectionDelta&&!ir(this.projectionDelta),n=this.getTransformTemplate(),i=n?n(this.latestValues,""):void 0,o=i!==this.prevTransformTemplateValue;t&&this.instance&&(e||an(this.latestValues)||o)&&(s(this.instance,i),this.shouldResetTransform=!1,this.scheduleRender())}measure(t=!0){const e=this.measurePageBox();let n=this.removeElementScroll(e);var i;return t&&(n=this.removeTransform(n)),zr((i=n).x),zr(i.y),{animationId:this.root.animationId,measuredBox:e,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const e=t.measureViewportBox();if(!this.scroll?.wasRoot&&!this.path.some(Fr)){const{scroll:t}=this.root;t&&(gn(e.x,t.offset.x),gn(e.y,t.offset.y))}return e}removeElementScroll(t){const e={x:{min:0,max:0},y:{min:0,max:0}};if(qo(e,t),this.scroll?.wasRoot)return e;for(let n=0;n<this.path.length;n++){const i=this.path[n],{scroll:s,options:o}=i;i!==this.root&&s&&o.layoutScroll&&(s.wasRoot&&qo(e,t),gn(e.x,s.offset.x),gn(e.y,s.offset.y))}return e}applyTransform(t,e=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};qo(n,t);for(let t=0;t<this.path.length;t++){const i=this.path[t];!e&&i.options.layoutScroll&&i.scroll&&i!==i.root&&xn(n,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),an(i.latestValues)&&xn(n,i.latestValues,i.layout?.layoutBox)}return an(this.latestValues)&&xn(n,this.latestValues,this.layout?.layoutBox),n}removeTransform(t){const e={x:{min:0,max:0},y:{min:0,max:0}};qo(e,t);for(let t=0;t<this.path.length;t++){const n=this.path[t];if(!an(n.latestValues))continue;let i;n.instance&&(rn(n.latestValues)&&n.updateSnapshot(),i=W(),qo(i,n.measurePageBox())),er(e,n.latestValues,n.snapshot?.layoutBox,i)}return an(this.latestValues)&&er(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!==Tt.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(t=!1){const e=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=e.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=e.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=e.isSharedProjectionDirty);const n=Boolean(this.resumingFrom)||this!==e;if(!(t||n&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:i,layoutId:s}=this.options;if(!this.layout||!i&&!s)return;this.resolvedRelativeTargetAt=Tt.timestamp;const o=this.getClosestProjectingParent();var r,a,l;o&&this.linkedParentVersion!==o.layoutVersion&&!o.options.layoutRoot&&this.removeRelativeTarget(),this.targetDelta||this.relativeTarget||(o&&o.layout?this.createRelativeTarget(o,this.layout.layoutBox,o.layout.layoutBox):this.removeRelativeTarget()),(this.relativeTarget||this.targetDelta)&&(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),r=this.target,a=this.relativeTarget,l=this.relativeParent.target,Xs(r.x,a.x,l.x),Xs(r.y,a.y,l.y)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):qo(this.target,this.layout.layoutBox),pn(this.target,this.targetDelta)):qo(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,o&&Boolean(o.resumingFrom)===Boolean(this.resumingFrom)&&!o.options.layoutScroll&&o.target&&1!==this.animationProgress?this.createRelativeTarget(o,this.target,o.target):this.relativeParent=this.relativeTarget=void 0),bt.value&&dr.calculatedTargetDeltas++)}getClosestProjectingParent(){if(this.parent&&!rn(this.parent.latestValues)&&!ln(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(t,e,n){this.relativeParent=t,this.linkedParentVersion=t.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Ks(this.relativeTargetOrigin,e,n),qo(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const t=this.getLead(),e=Boolean(this.resumingFrom)||this!==t;let n=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(n=!1),e&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(n=!1),this.resolvedRelativeTargetAt===Tt.timestamp&&(n=!1),n)return;const{layout:i,layoutId:s}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!i&&!s)return;qo(this.layoutCorrected,this.layout.layoutBox);const o=this.treeScale.x,r=this.treeScale.y;!function(t,e,n,i=!1){const s=n.length;if(!s)return;let o,r;e.x=e.y=1;for(let a=0;a<s;a++){o=n[a],r=o.projectionDelta;const{visualElement:s}=o.options;s&&s.props.style&&"contents"===s.props.style.display||(i&&o.options.layoutScroll&&o.scroll&&o!==o.root&&xn(t,{x:-o.scroll.offset.x,y:-o.scroll.offset.y}),r&&(e.x*=r.x.scale,e.y*=r.y.scale,pn(t,r)),i&&an(o.latestValues)&&xn(t,o.latestValues,o.layout?.layoutBox))}e.x<fn&&e.x>mn&&(e.x=1),e.y<fn&&e.y>mn&&(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={x:{min:0,max:0},y:{min:0,max:0}});const{target:a}=t;a?(this.projectionDelta&&this.prevProjectionDelta?(Zo(this.prevProjectionDelta.x,this.projectionDelta.x),Zo(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),Ys(this.projectionDelta,this.layoutCorrected,a,this.latestValues),this.treeScale.x===o&&this.treeScale.y===r&&lr(this.projectionDelta.x,this.prevProjectionDelta.x)&&lr(this.projectionDelta.y,this.prevProjectionDelta.y)||(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",a)),bt.value&&dr.calculatedProjections++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(t=!0){if(this.options.visualElement?.scheduleRender(),t){const t=this.getStack();t&&t.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(t,e=!1){const n=this.snapshot,i=n?n.latestValues:{},s={...this.latestValues},o={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};this.relativeParent&&this.relativeParent.options.layoutRoot||(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!e;const r={x:{min:0,max:0},y:{min:0,max:0}},a=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,h=Boolean(a&&!c&&!0===this.options.crossfade&&!this.path.some(Rr));let u;this.animationProgress=0,this.mixTargetDelta=e=>{const n=e/1e3;var l,d,p,m,f,g;Dr(o.x,t.x,n),Dr(o.y,t.y,n),this.setTargetDelta(o),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Ks(r,this.layout.layoutBox,this.relativeParent.layout.layoutBox),p=this.relativeTarget,m=this.relativeTargetOrigin,f=r,g=n,jr(p.x,m.x,f.x,g),jr(p.y,m.y,f.y,g),u&&(l=this.relativeTarget,d=u,sr(l.x,d.x)&&sr(l.y,d.y))&&(this.isProjectionDirty=!1),u||(u={x:{min:0,max:0},y:{min:0,max:0}}),qo(u,this.relativeTarget)),a&&(this.animationValues=s,function(t,e,n,i,s,o){s?(t.opacity=Ze(0,n.opacity??1,Yo(i)),t.opacityExit=Ze(e.opacity??1,0,Xo(i))):o&&(t.opacity=Ze(e.opacity??1,n.opacity??1,i));for(let s=0;s<Uo;s++){const o=`border${No[s]}Radius`;let r=Ho(e,o),a=Ho(n,o);void 0===r&&void 0===a||(r||(r=0),a||(a=0),0===r||0===a||$o(r)===$o(a)?(t[o]=Math.max(Ze(Wo(r),Wo(a),i),0),(x.test(a)||x.test(r))&&(t[o]+="%")):t[o]=a)}(e.rotate||n.rotate)&&(t.rotate=Ze(e.rotate||0,n.rotate||0,i))}(s,i,this.latestValues,n,h,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(t){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(Pt(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=kt.update(()=>{Bo.hasAnimatedSinceResize=!0,Qt.layout++,this.motionValue||(this.motionValue=ye(0)),this.motionValue.jump(0,!1),this.currentAnimation=function(t,e,n){const i=$(t)?t:ye(t);return i.start(Ts("",i,[0,1e3],n)),i.animation}(this.motionValue,0,{...t,velocity:0,isSync:!0,onUpdate:e=>{this.mixTargetDelta(e),t.onUpdate&&t.onUpdate(e)},onStop:()=>{Qt.layout--},onComplete:()=>{Qt.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);const 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(){const t=this.getLead();let{targetWithTransforms:e,target:n,layout:i,latestValues:s}=t;if(e&&n&&i){if(this!==t&&this.layout&&i&&Ir(this.options.animationType,this.layout.layoutBox,i.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const e=$s(this.layout.layoutBox.x);n.x.min=t.target.x.min,n.x.max=n.x.min+e;const i=$s(this.layout.layoutBox.y);n.y.min=t.target.y.min,n.y.max=n.y.min+i}qo(e,n),xn(e,s),Ys(this.projectionDeltaWithTransform,this.layoutCorrected,e,s)}}registerSharedNode(t,e){this.sharedNodes.has(t)||this.sharedNodes.set(t,new cr),this.sharedNodes.get(t).add(e);const n=e.options.initialPromotionConfig;e.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(e):void 0})}isLead(){const t=this.getStack();return!t||t.lead===this}getLead(){const{layoutId:t}=this.options;return t&&this.getStack()?.lead||this}getPrevLead(){const{layoutId:t}=this.options;return t?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:t}=this.options;if(t)return this.root.sharedNodes.get(t)}promote({needsReset:t,transition:e,preserveFollowOpacity:n}={}){const i=this.getStack();i&&i.promote(this,n),t&&(this.projectionDelta=void 0,this.needsReset=!0),e&&this.setOptions({transition:e})}relegate(){const t=this.getStack();return!!t&&t.relegate(this)}resetSkewAndRotation(){const{visualElement:t}=this.options;if(!t)return;let e=!1;const{latestValues:n}=t;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(e=!0),!e)return;const i={};n.z&&fr("z",t,i,this.animationValues);for(let e=0;e<pr.length;e++)fr(`rotate${pr[e]}`,t,i,this.animationValues),fr(`skew${pr[e]}`,t,i,this.animationValues);t.render();for(const e in i)t.setStaticValue(e,i[e]),this.animationValues&&(this.animationValues[e]=i[e]);t.scheduleRender()}applyProjectionStyles(t,e){if(!this.instance||this.isSVG)return;if(!this.isVisible)return void(t.visibility="hidden");const n=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,t.visibility="",t.opacity="",t.pointerEvents=Nn(e?.pointerEvents)||"",void(t.transform=n?n(this.latestValues,""):"none");const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target)return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Nn(e?.pointerEvents)||""),void(this.hasProjected&&!an(this.latestValues)&&(t.transform=n?n({},""):"none",this.hasProjected=!1));t.visibility="";const s=i.animationValues||i.latestValues;this.applyTransformsToTarget();let o=function(t,e,n){let i="";const s=t.x.translate/e.x,o=t.y.translate/e.y,r=n?.z||0;if((s||o||r)&&(i=`translate3d(${s}px, ${o}px, ${r}px) `),1===e.x&&1===e.y||(i+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:t,rotate:e,rotateX:s,rotateY:o,skewX:r,skewY:a}=n;t&&(i=`perspective(${t}px) ${i}`),e&&(i+=`rotate(${e}deg) `),s&&(i+=`rotateX(${s}deg) `),o&&(i+=`rotateY(${o}deg) `),r&&(i+=`skewX(${r}deg) `),a&&(i+=`skewY(${a}deg) `)}const a=t.x.scale*e.x,l=t.y.scale*e.y;return 1===a&&1===l||(i+=`scale(${a}, ${l})`),i||"none"}(this.projectionDeltaWithTransform,this.treeScale,s);n&&(o=n(s,o)),t.transform=o;const{x:r,y:a}=this.projectionDelta;t.transformOrigin=`${100*r.origin}% ${100*a.origin}% 0`,i.animationValues?t.opacity=i===this?s.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:s.opacityExit:t.opacity=i===this?void 0!==s.opacity?s.opacity:"":void 0!==s.opacityExit?s.opacityExit:0;for(const e in Qe){if(void 0===s[e])continue;const{correct:n,applyTo:r,isCSSVariable:a}=Qe[e],l="none"===o?s[e]:n(s[e],i);if(r){const e=r.length;for(let n=0;n<e;n++)t[r[n]]=l}else a?this.options.visualElement.renderState.vars[e]=l:t[e]=l}this.options.layoutId&&(t.pointerEvents=i===this?Nn(e?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(t=>t.currentAnimation?.stop()),this.root.nodes.forEach(Pr),this.root.sharedNodes.clear()}}}function vr(t){t.updateLayout()}function xr(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:i}=t.layout,{animationType:s}=t.options,o=e.source!==t.layout.source;if("size"===s)Ws(t=>{const i=o?e.measuredBox[t]:e.layoutBox[t],s=$s(i);i.min=n[t].min,i.max=i.min+s});else if("x"===s||"y"===s){const t="x"===s?"y":"x";Ko(o?e.measuredBox[t]:e.layoutBox[t],n[t])}else Ir(s,e.layoutBox,n)&&Ws(i=>{const s=o?e.measuredBox[i]:e.layoutBox[i],r=$s(n[i]);s.max=s.min+r,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[i].max=t.relativeTarget[i].min+r)});const r={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Ys(r,n,e.layoutBox);const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};o?Ys(a,t.applyTransform(i,!0),e.measuredBox):Ys(a,n,e.layoutBox);const l=!ir(r);let c=!1;if(!t.resumeFrom){const i=t.getClosestProjectingParent();if(i&&!i.resumeFrom){const{snapshot:s,layout:o}=i;if(s&&o){const r={x:{min:0,max:0},y:{min:0,max:0}};Ks(r,e.layoutBox,s.layoutBox);const a={x:{min:0,max:0},y:{min:0,max:0}};Ks(a,n,o.layoutBox),rr(r,a)||(c=!0),i.options.layoutRoot&&(t.relativeTarget=a,t.relativeTargetOrigin=r,t.relativeParent=i)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:a,layoutDelta:r,hasLayoutChanged:l,hasRelativeLayoutChanged:c})}else if(t.isLead()){const{onExitComplete:e}=t.options;e&&e()}t.options.transition=void 0}function br(t){bt.value&&dr.nodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function wr(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function kr(t){t.clearSnapshot()}function Pr(t){t.clearMeasurements()}function Tr(t){t.isLayoutDirty=!1}function Sr(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Mr(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function Ar(t){t.resolveTargetDelta()}function Er(t){t.calcProjection()}function Cr(t){t.resetSkewAndRotation()}function Vr(t){t.removeLeadSnapshot()}function Dr(t,e,n){t.translate=Ze(e.translate,0,n),t.scale=Ze(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function jr(t,e,n,i){t.min=Ze(e.min,n.min,i),t.max=Ze(e.max,n.max,i)}function Rr(t){return t.animationValues&&void 0!==t.animationValues.opacityExit}const Lr={duration:.45,ease:[.4,0,.1,1]},Br=t=>"undefined"!=typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Or=Br("applewebkit/")&&!Br("chrome/")?Math.round:yt;function zr(t){t.min=Or(t.min),t.max=Or(t.max)}function Ir(t,e,n){return"position"===t||"preserve-aspect"===t&&(i=ar(e),s=ar(n),!(Math.abs(i-s)<=.2));var i,s}function Fr(t){return t!==t.root&&t.scroll?.wasRoot}const Nr=yr({attachResizeListener:(t,e)=>_s(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Ur={current:void 0},Wr=yr({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Ur.current){const t=new Nr({});t.mount(window),t.setOptions({layoutScroll:!0}),Ur.current=t}return Ur.current},resetTransform:(t,e)=>{t.style.transform=void 0!==e?e:"none"},checkIsScrollRoot:t=>Boolean("fixed"===window.getComputedStyle(t).position)}),$r={pan:{Feature:class extends ai{constructor(){super(...arguments),this.removePointerDownListener=yt}onPointerDown(t){this.session=new vo(t,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:fo(this.node)})}createPanHandlers(){const{onPanSessionStart:t,onPanStart:e,onPan:n,onPanEnd:i}=this.node.getProps();return{onSessionStart:Lo(t),onStart:Lo(e),onMove:Lo(n),onEnd:(t,e)=>{delete this.session,i&&kt.postRender(()=>i(t,e))}}}mount(){this.removePointerDownListener=mo(this.node.current,"pointerdown",t=>this.onPointerDown(t))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends ai{constructor(t){super(t),this.removeGroupControls=yt,this.removeListeners=yt,this.controls=new Do(t)}mount(){const{dragControls:t}=this.node.getProps();t&&(this.removeGroupControls=t.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||yt}update(){const{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(),this.controls.isDragging||this.controls.endPanSession()}},ProjectionNode:Wr,MeasureLayout:Fo}};function Hr(t,e){const n=to(t),i=new AbortController;return[n,{passive:!0,...e,signal:i.signal},()=>i.abort()]}function Yr(t,e,n){const{props:i}=t;t.animationState&&i.whileHover&&t.animationState.setActive("whileHover","Start"===n);const s=i["onHover"+n];s&&kt.postRender(()=>s(e,po(e)))}var Xr=n(231);const Gr=(t,e)=>!!e&&(t===e||Gr(t,e.parentElement)),Kr=new WeakSet;function qr(t){return e=>{"Enter"===e.key&&t(e)}}function Zr(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}function _r(t){return uo(t)&&!Us()}const Qr=new WeakSet;function Jr(t,e,n){const{props:i}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&i.whileTap&&t.animationState.setActive("whileTap","Start"===n);const s=i["onTap"+("End"===n?"":n)];s&&kt.postRender(()=>s(e,po(e)))}const ta=new WeakMap,ea=new WeakMap,na=t=>{const e=ta.get(t.target);e&&e(t)},ia=t=>{t.forEach(na)};const sa={some:0,all:1},oa={inView:{Feature:class extends ai{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:t={}}=this.node.getProps(),{root:e,margin:n,amount:i="some",once:s}=t,o={root:e?e.current:void 0,rootMargin:n,threshold:"number"==typeof i?i:sa[i]};return function(t,e,n){const i=function({root:t,...e}){const n=t||document;ea.has(n)||ea.set(n,{});const i=ea.get(n),s=JSON.stringify(e);return i[s]||(i[s]=new IntersectionObserver(ia,{root:t,...e})),i[s]}(e);return ta.set(t,n),i.observe(t),()=>{ta.delete(t),i.unobserve(t)}}(this.node.current,o,t=>{const{isIntersecting:e}=t;if(this.isInView===e)return;if(this.isInView=e,s&&!e&&this.hasEnteredView)return;e&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",e);const{onViewportEnter:n,onViewportLeave:i}=this.node.getProps(),o=e?n:i;o&&o(t)})}mount(){this.startObserver()}update(){if("undefined"==typeof IntersectionObserver)return;const{props:t,prevProps:e}=this.node;["amount","margin","root"].some(function({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}(t,e))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends ai{mount(){const{current:t}=this.node;if(!t)return;const{globalTapTarget:e,propagate:n}=this.node.props;this.unmount=function(t,e,n={}){const[i,s,o]=Hr(t,n),r=t=>{const i=t.currentTarget;if(!_r(t))return;if(Qr.has(t))return;Kr.add(i),n.stopPropagation&&Qr.add(t);const o=e(i,t),r=(t,e)=>{window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",l),Kr.has(i)&&Kr.delete(i),_r(t)&&"function"==typeof o&&o(t,{success:e})},a=t=>{r(t,i===window||i===document||n.useGlobalTarget||Gr(i,t.target))},l=t=>{r(t,!1)};window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",l,s)};return i.forEach(t=>{var e;(n.useGlobalTarget?window:t).addEventListener("pointerdown",r,s),(0,Xr.s)(t)&&(t.addEventListener("focus",t=>((t,e)=>{const n=t.currentTarget;if(!n)return;const i=qr(()=>{if(Kr.has(n))return;Zr(n,"down");const t=qr(()=>{Zr(n,"up")});n.addEventListener("keyup",t,e),n.addEventListener("blur",()=>Zr(n,"cancel"),e)});n.addEventListener("keydown",i,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",i),e)})(t,s)),e=t,qs.has(e.tagName)||!0===e.isContentEditable||t.hasAttribute("tabindex")||(t.tabIndex=0))}),o}(t,(t,e)=>(Jr(this.node,e,"Start"),(t,{success:e})=>Jr(this.node,t,e?"End":"Cancel")),{useGlobalTarget:e,stopPropagation:!1===n?.tap})}unmount(){}}},focus:{Feature:class extends ai{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=yi(_s(this.node.current,"focus",()=>this.onFocus()),_s(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}},hover:{Feature:class extends ai{mount(){const{current:t}=this.node;t&&(this.unmount=function(t,e,n={}){const[i,s,o]=Hr(t,n);return i.forEach(t=>{let n,i=!1,o=!1;const r=e=>{n&&(n(e),n=void 0),t.removeEventListener("pointerleave",l)},a=t=>{i=!1,window.removeEventListener("pointerup",a),window.removeEventListener("pointercancel",a),o&&(o=!1,r(t))},l=t=>{"touch"!==t.pointerType&&(i?o=!0:r(t))};t.addEventListener("pointerenter",i=>{if("touch"===i.pointerType||Us())return;o=!1;const r=e(t,i);"function"==typeof r&&(n=r,t.addEventListener("pointerleave",l,s))},s),t.addEventListener("pointerdown",()=>{i=!0,window.addEventListener("pointerup",a,s),window.addEventListener("pointercancel",a,s)},s)}),o}(t,(t,e)=>(Yr(this.node,e,"Start"),t=>Yr(this.node,t,"End"))))}unmount(){}}}},ra=ri({...Fs,...oa,...$r,layout:{ProjectionNode:Wr,MeasureLayout:Fo}},Sn)},302(t,e,n){n.d(e,{M:()=>s});var i=n(594);function s(t){const e=(0,i.useRef)(null);return null===e.current&&(e.current=t()),e.current}},428(t,e,n){n.d(e,{E:()=>s});var i=n(594);const s="undefined"!=typeof window?i.useLayoutEffect:i.useEffect},231(t,e,n){n.d(e,{s:()=>s});var i=n(612);function s(t){return(0,i.G)(t)&&"offsetHeight"in t&&!("ownerSVGElement"in t)}},612(t,e,n){function i(t){return"object"==typeof t&&null!==t}n.d(e,{G:()=>i})},587(t,e,n){n.d(e,{QEs:()=>r,ao$:()=>a,iYk:()=>l,kkU:()=>s,oCJ:()=>o});var i=n(897);function s(t){return(0,i.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M448,209.91a210.06,210.06,0,0,1-122.77-39.25V349.38A162.55,162.55,0,1,1,185,188.31V278.2a74.62,74.62,0,1,0,52.23,71.18V0l88,0a121.18,121.18,0,0,0,1.86,22.17h0A122.18,122.18,0,0,0,381,102.39a121.43,121.43,0,0,0,67,20.14Z"},child:[]}]})(t)}function o(t){return(0,i.k5)({tag:"svg",attr:{viewBox:"0 0 496 512"},child:[{tag:"path",attr:{d:"M496 256c0 137-111 248-248 248-25.6 0-50.2-3.9-73.4-11.1 10.1-16.5 25.2-43.5 30.8-65 3-11.6 15.4-59 15.4-59 8.1 15.4 31.7 28.5 56.8 28.5 74.8 0 128.7-68.8 128.7-154.3 0-81.9-66.9-143.2-152.9-143.2-107 0-163.9 71.8-163.9 150.1 0 36.4 19.4 81.7 50.3 96.1 4.7 2.2 7.2 1.2 8.3-3.3.8-3.4 5-20.3 6.9-28.1.6-2.5.3-4.7-1.7-7.1-10.1-12.5-18.3-35.3-18.3-56.6 0-54.7 41.4-107.6 112-107.6 60.9 0 103.6 41.5 103.6 100.9 0 67.1-33.9 113.6-78 113.6-24.3 0-42.6-20.1-36.7-44.8 7-29.5 20.5-61.3 20.5-82.6 0-19-10.2-34.9-31.4-34.9-24.9 0-44.9 25.7-44.9 60.2 0 22 7.4 36.8 7.4 36.8s-24.5 103.8-29 123.2c-5 21.4-3 51.6-.9 71.2C65.4 450.9 0 361.1 0 256 0 119 111 8 248 8s248 111 248 248z"},child:[]}]})(t)}function r(t){return(0,i.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M416 32H31.9C14.3 32 0 46.5 0 64.3v383.4C0 465.5 14.3 480 31.9 480H416c17.6 0 32-14.5 32-32.3V64.3c0-17.8-14.4-32.3-32-32.3zM135.4 416H69V202.2h66.5V416zm-33.2-243c-21.3 0-38.5-17.3-38.5-38.5S80.9 96 102.2 96c21.2 0 38.5 17.3 38.5 38.5 0 21.3-17.2 38.5-38.5 38.5zm282.1 243h-66.4V312c0-24.8-.5-56.7-34.5-56.7-34.6 0-39.9 27-39.9 54.9V416h-66.4V202.2h63.7v29.2h.9c8.9-16.8 30.6-34.5 62.9-34.5 67.2 0 79.7 44.3 79.7 101.9V416z"},child:[]}]})(t)}function a(t){return(0,i.k5)({tag:"svg",attr:{viewBox:"0 0 448 512"},child:[{tag:"path",attr:{d:"M224.1 141c-63.6 0-114.9 51.3-114.9 114.9s51.3 114.9 114.9 114.9S339 319.5 339 255.9 287.7 141 224.1 141zm0 189.6c-41.1 0-74.7-33.5-74.7-74.7s33.5-74.7 74.7-74.7 74.7 33.5 74.7 74.7-33.6 74.7-74.7 74.7zm146.4-194.3c0 14.9-12 26.8-26.8 26.8-14.9 0-26.8-12-26.8-26.8s12-26.8 26.8-26.8 26.8 12 26.8 26.8zm76.1 27.2c-1.7-35.9-9.9-67.7-36.2-93.9-26.2-26.2-58-34.4-93.9-36.2-37-2.1-147.9-2.1-184.9 0-35.8 1.7-67.6 9.9-93.9 36.1s-34.4 58-36.2 93.9c-2.1 37-2.1 147.9 0 184.9 1.7 35.9 9.9 67.7 36.2 93.9s58 34.4 93.9 36.2c37 2.1 147.9 2.1 184.9 0 35.9-1.7 67.7-9.9 93.9-36.2 26.2-26.2 34.4-58 36.2-93.9 2.1-37 2.1-147.8 0-184.8zM398.8 388c-7.8 19.6-22.9 34.7-42.6 42.6-29.5 11.7-99.5 9-132.1 9s-102.7 2.6-132.1-9c-19.6-7.8-34.7-22.9-42.6-42.6-11.7-29.5-9-99.5-9-132.1s-2.6-102.7 9-132.1c7.8-19.6 22.9-34.7 42.6-42.6 29.5-11.7 99.5-9 132.1-9s102.7-2.6 132.1 9c19.6 7.8 34.7 22.9 42.6 42.6 11.7 29.5 9 99.5 9 132.1s2.7 102.7-9 132.1z"},child:[]}]})(t)}function l(t){return(0,i.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M504 256C504 119 393 8 256 8S8 119 8 256c0 123.78 90.69 226.38 209.25 245V327.69h-63V256h63v-54.64c0-62.15 37-96.48 93.67-96.48 27.14 0 55.52 4.84 55.52 4.84v61h-31.28c-30.8 0-40.41 19.12-40.41 38.73V256h68.78l-11 71.69h-57.78V501C413.31 482.38 504 379.78 504 256z"},child:[]}]})(t)}},301(t,e,n){n.d(e,{TCj:()=>s});var i=n(897);function s(t){return(0,i.k5)({tag:"svg",attr:{viewBox:"0 0 512 512"},child:[{tag:"path",attr:{d:"M389.2 48h70.6L305.6 224.2 487 464H345L233.7 318.6 106.5 464H35.8L200.7 275.5 26.8 48H172.4L272.9 180.9 389.2 48zM364.4 421.8h39.1L151.1 88h-42L364.4 421.8z"},child:[]}]})(t)}},897(t,e,n){n.d(e,{k5:()=>d});var i=n(594),s={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},o=i.createContext&&i.createContext(s),r=["attr","size","title"];function a(){return a=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)({}).hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},a.apply(null,arguments)}function l(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter(function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable})),n.push.apply(n,i)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?l(Object(n),!0).forEach(function(e){h(t,e,n[e])}):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):l(Object(n)).forEach(function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))})}return t}function h(t,e,n){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var n=e.call(t,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function u(t){return t&&t.map((t,e)=>i.createElement(t.tag,c({key:e},t.attr),u(t.child)))}function d(t){return e=>i.createElement(p,a({attr:c({},t.attr)},e),u(t.child))}function p(t){var e=e=>{var n,{attr:s,size:o,title:l}=t,h=function(t,e){if(null==t)return{};var n,i,s=function(t,e){if(null==t)return{};var n={};for(var i in t)if({}.hasOwnProperty.call(t,i)){if(-1!==e.indexOf(i))continue;n[i]=t[i]}return n}(t,e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(t);for(i=0;i<o.length;i++)n=o[i],-1===e.indexOf(n)&&{}.propertyIsEnumerable.call(t,n)&&(s[n]=t[n])}return s}(t,r),u=o||e.size||"1em";return e.className&&(n=e.className),t.className&&(n=(n?n+" ":"")+t.className),i.createElement("svg",a({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},e.attr,s,h,{className:n,style:c(c({color:t.color||e.color},e.style),t.style),height:u,width:u,xmlns:"http://www.w3.org/2000/svg"}),l&&i.createElement("title",null,l),t.children)};return void 0!==o?i.createElement(o.Consumer,null,t=>e(t)):e(s)}},840(t,e,n){n.d(e,{QP:()=>xt});const i=(t=new Map,e=null,n)=>({nextPart:t,validators:e,classGroupId:n}),s="-",o=[],r=t=>{const e=c(t),{conflictingClassGroups:n,conflictingClassGroupModifiers:i}=t;return{getClassGroupId:t=>{if(t.startsWith("[")&&t.endsWith("]"))return l(t);const n=t.split(s),i=""===n[0]&&n.length>1?1:0;return a(n,i,e)},getConflictingClassGroupIds:(t,e)=>{if(e){const e=i[t],s=n[t];return e?s?((t,e)=>{const n=new Array(t.length+e.length);for(let e=0;e<t.length;e++)n[e]=t[e];for(let i=0;i<e.length;i++)n[t.length+i]=e[i];return n})(s,e):e:s||o}return n[t]||o}}},a=(t,e,n)=>{if(0===t.length-e)return n.classGroupId;const i=t[e],o=n.nextPart.get(i);if(o){const n=a(t,e+1,o);if(n)return n}const r=n.validators;if(null===r)return;const l=0===e?t.join(s):t.slice(e).join(s),c=r.length;for(let t=0;t<c;t++){const e=r[t];if(e.validator(l))return e.classGroupId}},l=t=>-1===t.slice(1,-1).indexOf(":")?void 0:(()=>{const e=t.slice(1,-1),n=e.indexOf(":"),i=e.slice(0,n);return i?"arbitrary.."+i:void 0})(),c=t=>{const{theme:e,classGroups:n}=t;return h(n,e)},h=(t,e)=>{const n=i();for(const i in t){const s=t[i];u(s,n,i,e)}return n},u=(t,e,n,i)=>{const s=t.length;for(let o=0;o<s;o++){const s=t[o];d(s,e,n,i)}},d=(t,e,n,i)=>{"string"!=typeof t?"function"!=typeof t?f(t,e,n,i):m(t,e,n,i):p(t,e,n)},p=(t,e,n)=>{(""===t?e:g(e,t)).classGroupId=n},m=(t,e,n,i)=>{y(t)?u(t(i),e,n,i):(null===e.validators&&(e.validators=[]),e.validators.push(((t,e)=>({classGroupId:t,validator:e}))(n,t)))},f=(t,e,n,i)=>{const s=Object.entries(t),o=s.length;for(let t=0;t<o;t++){const[o,r]=s[t];u(r,g(e,o),n,i)}},g=(t,e)=>{let n=t;const o=e.split(s),r=o.length;for(let t=0;t<r;t++){const e=o[t];let s=n.nextPart.get(e);s||(s=i(),n.nextPart.set(e,s)),n=s}return n},y=t=>"isThemeGetter"in t&&!0===t.isThemeGetter,v=t=>{if(t<1)return{get:()=>{},set:()=>{}};let e=0,n=Object.create(null),i=Object.create(null);const s=(s,o)=>{n[s]=o,e++,e>t&&(e=0,i=n,n=Object.create(null))};return{get(t){let e=n[t];return void 0!==e?e:void 0!==(e=i[t])?(s(t,e),e):void 0},set(t,e){t in n?n[t]=e:s(t,e)}}},x=[],b=(t,e,n,i,s)=>({modifiers:t,hasImportantModifier:e,baseClassName:n,maybePostfixModifierPosition:i,isExternal:s}),w=t=>{const{prefix:e,experimentalParseClassName:n}=t;let i=t=>{const e=[];let n,i=0,s=0,o=0;const r=t.length;for(let a=0;a<r;a++){const r=t[a];if(0===i&&0===s){if(":"===r){e.push(t.slice(o,a)),o=a+1;continue}if("/"===r){n=a;continue}}"["===r?i++:"]"===r?i--:"("===r?s++:")"===r&&s--}const a=0===e.length?t:t.slice(o);let l=a,c=!1;return a.endsWith("!")?(l=a.slice(0,-1),c=!0):a.startsWith("!")&&(l=a.slice(1),c=!0),b(e,c,l,n&&n>o?n-o:void 0)};if(e){const t=e+":",n=i;i=e=>e.startsWith(t)?n(e.slice(t.length)):b(x,!1,e,void 0,!0)}if(n){const t=i;i=e=>n({className:e,parseClassName:t})}return i},k=t=>{const e=new Map;return t.orderSensitiveModifiers.forEach((t,n)=>{e.set(t,1e6+n)}),t=>{const n=[];let i=[];for(let s=0;s<t.length;s++){const o=t[s],r="["===o[0],a=e.has(o);r||a?(i.length>0&&(i.sort(),n.push(...i),i=[]),n.push(o)):i.push(o)}return i.length>0&&(i.sort(),n.push(...i)),n}},P=/\s+/,T=t=>{if("string"==typeof t)return t;let e,n="";for(let i=0;i<t.length;i++)t[i]&&(e=T(t[i]))&&(n&&(n+=" "),n+=e);return n},S=[],M=t=>{const e=e=>e[t]||S;return e.isThemeGetter=!0,e},A=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,E=/^\((?:(\w[\w-]*):)?(.+)\)$/i,C=/^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/,V=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,D=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,j=/^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/,R=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,L=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,B=t=>C.test(t),O=t=>!!t&&!Number.isNaN(Number(t)),z=t=>!!t&&Number.isInteger(Number(t)),I=t=>t.endsWith("%")&&O(t.slice(0,-1)),F=t=>V.test(t),N=()=>!0,U=t=>D.test(t)&&!j.test(t),W=()=>!1,$=t=>R.test(t),H=t=>L.test(t),Y=t=>!G(t)&&!et(t),X=t=>ct(t,pt,W),G=t=>A.test(t),K=t=>ct(t,mt,U),q=t=>ct(t,ft,O),Z=t=>ct(t,yt,N),_=t=>ct(t,gt,W),Q=t=>ct(t,ut,W),J=t=>ct(t,dt,H),tt=t=>ct(t,vt,$),et=t=>E.test(t),nt=t=>ht(t,mt),it=t=>ht(t,gt),st=t=>ht(t,ut),ot=t=>ht(t,pt),rt=t=>ht(t,dt),at=t=>ht(t,vt,!0),lt=t=>ht(t,yt,!0),ct=(t,e,n)=>{const i=A.exec(t);return!!i&&(i[1]?e(i[1]):n(i[2]))},ht=(t,e,n=!1)=>{const i=E.exec(t);return!!i&&(i[1]?e(i[1]):n)},ut=t=>"position"===t||"percentage"===t,dt=t=>"image"===t||"url"===t,pt=t=>"length"===t||"size"===t||"bg-size"===t,mt=t=>"length"===t,ft=t=>"number"===t,gt=t=>"family-name"===t,yt=t=>"number"===t||"weight"===t,vt=t=>"shadow"===t,xt=((t,...e)=>{let n,i,s,o;const a=t=>{const e=i(t);if(e)return e;const o=((t,e)=>{const{parseClassName:n,getClassGroupId:i,getConflictingClassGroupIds:s,sortModifiers:o}=e,r=[],a=t.trim().split(P);let l="";for(let t=a.length-1;t>=0;t-=1){const e=a[t],{isExternal:c,modifiers:h,hasImportantModifier:u,baseClassName:d,maybePostfixModifierPosition:p}=n(e);if(c){l=e+(l.length>0?" "+l:l);continue}let m=!!p,f=i(m?d.substring(0,p):d);if(!f){if(!m){l=e+(l.length>0?" "+l:l);continue}if(f=i(d),!f){l=e+(l.length>0?" "+l:l);continue}m=!1}const g=0===h.length?"":1===h.length?h[0]:o(h).join(":"),y=u?g+"!":g,v=y+f;if(r.indexOf(v)>-1)continue;r.push(v);const x=s(f,m);for(let t=0;t<x.length;++t){const e=x[t];r.push(y+e)}l=e+(l.length>0?" "+l:l)}return l})(t,n);return s(t,o),o};return o=l=>{const c=e.reduce((t,e)=>e(t),t());return n=(t=>({cache:v(t.cacheSize),parseClassName:w(t),sortModifiers:k(t),...r(t)}))(c),i=n.cache.get,s=n.cache.set,o=a,a(l)},(...t)=>o(((...t)=>{let e,n,i=0,s="";for(;i<t.length;)(e=t[i++])&&(n=T(e))&&(s&&(s+=" "),s+=n);return s})(...t))})((Symbol.toStringTag,()=>{const t=M("color"),e=M("font"),n=M("text"),i=M("font-weight"),s=M("tracking"),o=M("leading"),r=M("breakpoint"),a=M("container"),l=M("spacing"),c=M("radius"),h=M("shadow"),u=M("inset-shadow"),d=M("text-shadow"),p=M("drop-shadow"),m=M("blur"),f=M("perspective"),g=M("aspect"),y=M("ease"),v=M("animate"),x=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",et,G],b=()=>[et,G,l],w=()=>[B,"full","auto",...b()],k=()=>[z,"none","subgrid",et,G],P=()=>["auto",{span:["full",z,et,G]},z,et,G],T=()=>[z,"auto",et,G],S=()=>["auto","min","max","fr",et,G],A=()=>["auto",...b()],E=()=>[B,"auto","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",...b()],C=()=>[B,"screen","full","dvw","lvw","svw","min","max","fit",...b()],V=()=>[B,"screen","full","lh","dvh","lvh","svh","min","max","fit",...b()],D=()=>[t,et,G],j=()=>["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom",st,Q,{position:[et,G]}],R=()=>["auto","cover","contain",ot,X,{size:[et,G]}],L=()=>[I,nt,K],U=()=>["","none","full",c,et,G],W=()=>["",O,nt,K],$=()=>[O,I,st,Q],H=()=>["","none",m,et,G],ct=()=>["none",O,et,G],ht=()=>["none",O,et,G],ut=()=>[O,et,G],dt=()=>[B,"full",...b()];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[F],breakpoint:[F],color:[N],container:[F],"drop-shadow":[F],ease:["in","out","in-out"],font:[Y],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[F],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[F],shadow:[F],spacing:["px",O],text:[F],"text-shadow":[F],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",B,G,et,g]}],container:["container"],columns:[{columns:[O,G,et,a]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:x()}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:w()}],"inset-x":[{"inset-x":w()}],"inset-y":[{"inset-y":w()}],start:[{"inset-s":w(),start:w()}],end:[{"inset-e":w(),end:w()}],"inset-bs":[{"inset-bs":w()}],"inset-be":[{"inset-be":w()}],top:[{top:w()}],right:[{right:w()}],bottom:[{bottom:w()}],left:[{left:w()}],visibility:["visible","invisible","collapse"],z:[{z:[z,"auto",et,G]}],basis:[{basis:[B,"full","auto",a,...b()]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[O,B,"auto","initial","none",G]}],grow:[{grow:["",O,et,G]}],shrink:[{shrink:["",O,et,G]}],order:[{order:[z,"first","last","none",et,G]}],"grid-cols":[{"grid-cols":k()}],"col-start-end":[{col:P()}],"col-start":[{"col-start":T()}],"col-end":[{"col-end":T()}],"grid-rows":[{"grid-rows":k()}],"row-start-end":[{row:P()}],"row-start":[{"row-start":T()}],"row-end":[{"row-end":T()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":S()}],"auto-rows":[{"auto-rows":S()}],gap:[{gap:b()}],"gap-x":[{"gap-x":b()}],"gap-y":[{"gap-y":b()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","center-safe","end-safe","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"align-items":[{items:["start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"align-self":[{self:["auto","start","end","center","stretch","center-safe","end-safe",{baseline:["","last"]}]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline","center-safe","end-safe"]}],"place-items":[{"place-items":["start","end","center","stretch","center-safe","end-safe","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch","center-safe","end-safe"]}],p:[{p:b()}],px:[{px:b()}],py:[{py:b()}],ps:[{ps:b()}],pe:[{pe:b()}],pbs:[{pbs:b()}],pbe:[{pbe:b()}],pt:[{pt:b()}],pr:[{pr:b()}],pb:[{pb:b()}],pl:[{pl:b()}],m:[{m:A()}],mx:[{mx:A()}],my:[{my:A()}],ms:[{ms:A()}],me:[{me:A()}],mbs:[{mbs:A()}],mbe:[{mbe:A()}],mt:[{mt:A()}],mr:[{mr:A()}],mb:[{mb:A()}],ml:[{ml:A()}],"space-x":[{"space-x":b()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":b()}],"space-y-reverse":["space-y-reverse"],size:[{size:E()}],"inline-size":[{inline:["auto",...C()]}],"min-inline-size":[{"min-inline":["auto",...C()]}],"max-inline-size":[{"max-inline":["none",...C()]}],"block-size":[{block:["auto",...V()]}],"min-block-size":[{"min-block":["auto",...V()]}],"max-block-size":[{"max-block":["none",...V()]}],w:[{w:[a,"screen",...E()]}],"min-w":[{"min-w":[a,"screen","none",...E()]}],"max-w":[{"max-w":[a,"screen","none","prose",{screen:[r]},...E()]}],h:[{h:["screen","lh",...E()]}],"min-h":[{"min-h":["screen","lh","none",...E()]}],"max-h":[{"max-h":["screen","lh",...E()]}],"font-size":[{text:["base",n,nt,K]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[i,lt,Z]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",I,G]}],"font-family":[{font:[it,_,e]}],"font-features":[{"font-features":[G]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[s,et,G]}],"line-clamp":[{"line-clamp":[O,"none",et,q]}],leading:[{leading:[o,...b()]}],"list-image":[{"list-image":["none",et,G]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",et,G]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:D()}],"text-color":[{text:D()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[O,"from-font","auto",et,K]}],"text-decoration-color":[{decoration:D()}],"underline-offset":[{"underline-offset":[O,"auto",et,G]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:b()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",et,G]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],wrap:[{wrap:["break-word","anywhere","normal"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",et,G]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:j()}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:R()}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},z,et,G],radial:["",et,G],conic:[z,et,G]},rt,J]}],"bg-color":[{bg:D()}],"gradient-from-pos":[{from:L()}],"gradient-via-pos":[{via:L()}],"gradient-to-pos":[{to:L()}],"gradient-from":[{from:D()}],"gradient-via":[{via:D()}],"gradient-to":[{to:D()}],rounded:[{rounded:U()}],"rounded-s":[{"rounded-s":U()}],"rounded-e":[{"rounded-e":U()}],"rounded-t":[{"rounded-t":U()}],"rounded-r":[{"rounded-r":U()}],"rounded-b":[{"rounded-b":U()}],"rounded-l":[{"rounded-l":U()}],"rounded-ss":[{"rounded-ss":U()}],"rounded-se":[{"rounded-se":U()}],"rounded-ee":[{"rounded-ee":U()}],"rounded-es":[{"rounded-es":U()}],"rounded-tl":[{"rounded-tl":U()}],"rounded-tr":[{"rounded-tr":U()}],"rounded-br":[{"rounded-br":U()}],"rounded-bl":[{"rounded-bl":U()}],"border-w":[{border:W()}],"border-w-x":[{"border-x":W()}],"border-w-y":[{"border-y":W()}],"border-w-s":[{"border-s":W()}],"border-w-e":[{"border-e":W()}],"border-w-bs":[{"border-bs":W()}],"border-w-be":[{"border-be":W()}],"border-w-t":[{"border-t":W()}],"border-w-r":[{"border-r":W()}],"border-w-b":[{"border-b":W()}],"border-w-l":[{"border-l":W()}],"divide-x":[{"divide-x":W()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":W()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:D()}],"border-color-x":[{"border-x":D()}],"border-color-y":[{"border-y":D()}],"border-color-s":[{"border-s":D()}],"border-color-e":[{"border-e":D()}],"border-color-bs":[{"border-bs":D()}],"border-color-be":[{"border-be":D()}],"border-color-t":[{"border-t":D()}],"border-color-r":[{"border-r":D()}],"border-color-b":[{"border-b":D()}],"border-color-l":[{"border-l":D()}],"divide-color":[{divide:D()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[O,et,G]}],"outline-w":[{outline:["",O,nt,K]}],"outline-color":[{outline:D()}],shadow:[{shadow:["","none",h,at,tt]}],"shadow-color":[{shadow:D()}],"inset-shadow":[{"inset-shadow":["none",u,at,tt]}],"inset-shadow-color":[{"inset-shadow":D()}],"ring-w":[{ring:W()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:D()}],"ring-offset-w":[{"ring-offset":[O,K]}],"ring-offset-color":[{"ring-offset":D()}],"inset-ring-w":[{"inset-ring":W()}],"inset-ring-color":[{"inset-ring":D()}],"text-shadow":[{"text-shadow":["none",d,at,tt]}],"text-shadow-color":[{"text-shadow":D()}],opacity:[{opacity:[O,et,G]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],"mask-clip":[{"mask-clip":["border","padding","content","fill","stroke","view"]},"mask-no-clip"],"mask-composite":[{mask:["add","subtract","intersect","exclude"]}],"mask-image-linear-pos":[{"mask-linear":[O]}],"mask-image-linear-from-pos":[{"mask-linear-from":$()}],"mask-image-linear-to-pos":[{"mask-linear-to":$()}],"mask-image-linear-from-color":[{"mask-linear-from":D()}],"mask-image-linear-to-color":[{"mask-linear-to":D()}],"mask-image-t-from-pos":[{"mask-t-from":$()}],"mask-image-t-to-pos":[{"mask-t-to":$()}],"mask-image-t-from-color":[{"mask-t-from":D()}],"mask-image-t-to-color":[{"mask-t-to":D()}],"mask-image-r-from-pos":[{"mask-r-from":$()}],"mask-image-r-to-pos":[{"mask-r-to":$()}],"mask-image-r-from-color":[{"mask-r-from":D()}],"mask-image-r-to-color":[{"mask-r-to":D()}],"mask-image-b-from-pos":[{"mask-b-from":$()}],"mask-image-b-to-pos":[{"mask-b-to":$()}],"mask-image-b-from-color":[{"mask-b-from":D()}],"mask-image-b-to-color":[{"mask-b-to":D()}],"mask-image-l-from-pos":[{"mask-l-from":$()}],"mask-image-l-to-pos":[{"mask-l-to":$()}],"mask-image-l-from-color":[{"mask-l-from":D()}],"mask-image-l-to-color":[{"mask-l-to":D()}],"mask-image-x-from-pos":[{"mask-x-from":$()}],"mask-image-x-to-pos":[{"mask-x-to":$()}],"mask-image-x-from-color":[{"mask-x-from":D()}],"mask-image-x-to-color":[{"mask-x-to":D()}],"mask-image-y-from-pos":[{"mask-y-from":$()}],"mask-image-y-to-pos":[{"mask-y-to":$()}],"mask-image-y-from-color":[{"mask-y-from":D()}],"mask-image-y-to-color":[{"mask-y-to":D()}],"mask-image-radial":[{"mask-radial":[et,G]}],"mask-image-radial-from-pos":[{"mask-radial-from":$()}],"mask-image-radial-to-pos":[{"mask-radial-to":$()}],"mask-image-radial-from-color":[{"mask-radial-from":D()}],"mask-image-radial-to-color":[{"mask-radial-to":D()}],"mask-image-radial-shape":[{"mask-radial":["circle","ellipse"]}],"mask-image-radial-size":[{"mask-radial":[{closest:["side","corner"],farthest:["side","corner"]}]}],"mask-image-radial-pos":[{"mask-radial-at":["center","top","bottom","left","right","top-left","left-top","top-right","right-top","bottom-right","right-bottom","bottom-left","left-bottom"]}],"mask-image-conic-pos":[{"mask-conic":[O]}],"mask-image-conic-from-pos":[{"mask-conic-from":$()}],"mask-image-conic-to-pos":[{"mask-conic-to":$()}],"mask-image-conic-from-color":[{"mask-conic-from":D()}],"mask-image-conic-to-color":[{"mask-conic-to":D()}],"mask-mode":[{mask:["alpha","luminance","match"]}],"mask-origin":[{"mask-origin":["border","padding","content","fill","stroke","view"]}],"mask-position":[{mask:j()}],"mask-repeat":[{mask:["no-repeat",{repeat:["","x","y","space","round"]}]}],"mask-size":[{mask:R()}],"mask-type":[{"mask-type":["alpha","luminance"]}],"mask-image":[{mask:["none",et,G]}],filter:[{filter:["","none",et,G]}],blur:[{blur:H()}],brightness:[{brightness:[O,et,G]}],contrast:[{contrast:[O,et,G]}],"drop-shadow":[{"drop-shadow":["","none",p,at,tt]}],"drop-shadow-color":[{"drop-shadow":D()}],grayscale:[{grayscale:["",O,et,G]}],"hue-rotate":[{"hue-rotate":[O,et,G]}],invert:[{invert:["",O,et,G]}],saturate:[{saturate:[O,et,G]}],sepia:[{sepia:["",O,et,G]}],"backdrop-filter":[{"backdrop-filter":["","none",et,G]}],"backdrop-blur":[{"backdrop-blur":H()}],"backdrop-brightness":[{"backdrop-brightness":[O,et,G]}],"backdrop-contrast":[{"backdrop-contrast":[O,et,G]}],"backdrop-grayscale":[{"backdrop-grayscale":["",O,et,G]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[O,et,G]}],"backdrop-invert":[{"backdrop-invert":["",O,et,G]}],"backdrop-opacity":[{"backdrop-opacity":[O,et,G]}],"backdrop-saturate":[{"backdrop-saturate":[O,et,G]}],"backdrop-sepia":[{"backdrop-sepia":["",O,et,G]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":b()}],"border-spacing-x":[{"border-spacing-x":b()}],"border-spacing-y":[{"border-spacing-y":b()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",et,G]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[O,"initial",et,G]}],ease:[{ease:["linear","initial",y,et,G]}],delay:[{delay:[O,et,G]}],animate:[{animate:["none",v,et,G]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[f,et,G]}],"perspective-origin":[{"perspective-origin":x()}],rotate:[{rotate:ct()}],"rotate-x":[{"rotate-x":ct()}],"rotate-y":[{"rotate-y":ct()}],"rotate-z":[{"rotate-z":ct()}],scale:[{scale:ht()}],"scale-x":[{"scale-x":ht()}],"scale-y":[{"scale-y":ht()}],"scale-z":[{"scale-z":ht()}],"scale-3d":["scale-3d"],skew:[{skew:ut()}],"skew-x":[{"skew-x":ut()}],"skew-y":[{"skew-y":ut()}],transform:[{transform:[et,G,"","none","gpu","cpu"]}],"transform-origin":[{origin:x()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:dt()}],"translate-x":[{"translate-x":dt()}],"translate-y":[{"translate-y":dt()}],"translate-z":[{"translate-z":dt()}],"translate-none":["translate-none"],accent:[{accent:D()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:D()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",et,G]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":b()}],"scroll-mx":[{"scroll-mx":b()}],"scroll-my":[{"scroll-my":b()}],"scroll-ms":[{"scroll-ms":b()}],"scroll-me":[{"scroll-me":b()}],"scroll-mbs":[{"scroll-mbs":b()}],"scroll-mbe":[{"scroll-mbe":b()}],"scroll-mt":[{"scroll-mt":b()}],"scroll-mr":[{"scroll-mr":b()}],"scroll-mb":[{"scroll-mb":b()}],"scroll-ml":[{"scroll-ml":b()}],"scroll-p":[{"scroll-p":b()}],"scroll-px":[{"scroll-px":b()}],"scroll-py":[{"scroll-py":b()}],"scroll-ps":[{"scroll-ps":b()}],"scroll-pe":[{"scroll-pe":b()}],"scroll-pbs":[{"scroll-pbs":b()}],"scroll-pbe":[{"scroll-pbe":b()}],"scroll-pt":[{"scroll-pt":b()}],"scroll-pr":[{"scroll-pr":b()}],"scroll-pb":[{"scroll-pb":b()}],"scroll-pl":[{"scroll-pl":b()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",et,G]}],fill:[{fill:["none",...D()]}],"stroke-w":[{stroke:[O,nt,K,q]}],stroke:[{stroke:["none",...D()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","inset-bs","inset-be","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pbs","pbe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mbs","mbe","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-x","border-w-y","border-w-s","border-w-e","border-w-bs","border-w-be","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-x","border-color-y","border-color-s","border-color-e","border-color-bs","border-color-be","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mbs","scroll-mbe","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pbs","scroll-pbe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["*","**","after","backdrop","before","details-content","file","first-letter","first-line","marker","placeholder","selection"]}}))}}]);
|