PageSourceSearch

https://socialnarratives.ai/assets/ui-vendor-XNsX7NFl.js

js socialnarratives.ai collected 2026-10-05 15:07:52 UTC 165,964 bytes, 185 lines download raw bytes

vendor: 8,815 bytes, line 1
1import{a as m}from"./i18n-BCZ_8xSB.js";var ge={exports:{}},St={};var zn;function tr(){if(zn)return St;zn=1;var t=Symbol.for("react.transitional.element"),e=Symbol.for("react.fragment");function n(s,i,r){var o=null;if(r!==void 0&&(o=""+r),i.key!==void 0&&(o=""+i.key),"key"in i){r={};for(var a in i)a!=="key"&&(r[a]=i[a])}else r=i;return i=r.ref,{$$typeof:t,type:s,key:o,ref:i!==void 0?i:null,props:r}}return St.Fragment=e,St.jsx=n,St.jsxs=n,St}var Hn;function er(){return Hn||(Hn=1,ge.exports=tr()),ge.exports}var X=er();const nr=t=>t.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),sr=t=>t.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,n,s)=>s?s.toUpperCase():n.toLowerCase()),Un=t=>{const e=sr(t);return e.charAt(0).toUpperCase()+e.slice(1)},ai=(...t)=>t.filter((e,n,s)=>!!e&&e.trim()!==""&&s.indexOf(e)===n).join(" ").trim(),ir=t=>{for(const e in t)if(e.startsWith("aria-")||e==="role"||e==="title")return!0};var or={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 rr=m.forwardRef(({color:t="currentColor",size:e=24,strokeWidth:n=2,absoluteStrokeWidth:s,className:i="",children:r,iconNode:o,...a},c)=>m.createElement("svg",{ref:c,...or,width:e,height:e,stroke:t,strokeWidth:s?Number(n)*24/Number(e):n,className:ai("lucide",i),...!r&&!ir(a)&&{"aria-hidden":"true"},...a},[...o.map(([u,l])=>m.createElement(u,l)),...Array.isArray(r)?r:[r]]));const f=(t,e)=>{const n=m.forwardRef(({className:s,...i},r)=>m.createElement(rr,{ref:r,iconNode:e,className:ai(`lucide-${nr(Un(t))}`,`lucide-${t}`,s),...i}));return n.displayName=Un(t),n};const ar=[["circle",{cx:"16",cy:"4",r:"1",key:"1grugj"}],["path",{d:"m18 19 1-7-6 1",key:"r0i19z"}],["path",{d:"m5 8 3-3 5.5 3-2.36 3.5",key:"9ptxx2"}],["path",{d:"M4.24 14.5a5 5 0 0 0 6.88 6",key:"10kmtu"}],["path",{d:"M13.76 17.5a5 5 0 0 0-6.88-6",key:"2qq6rc"}]],s1=f("accessibility",ar);const cr=[["path",{d:"m3 16 4 4 4-4",key:"1co6wj"}],["path",{d:"M7 20V4",key:"1yoxec"}],["path",{d:"m21 8-4-4-4 4",key:"1c9v7m"}],["path",{d:"M17 4v16",key:"7dpous"}]],i1=f("arrow-down-up",cr);const lr=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],o1=f("arrow-left",lr);const ur=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],r1=f("arrow-right",ur);const hr=[["path",{d:"m15.477 12.89 1.515 8.526a.5.5 0 0 1-.81.47l-3.58-2.687a1 1 0 0 0-1.197 0l-3.586 2.686a.5.5 0 0 1-.81-.469l1.514-8.526",key:"1yiouv"}],["circle",{cx:"12",cy:"8",r:"6",key:"1vp47v"}]],a1=f("award",hr);const dr=[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],c1=f("badge-check",dr);const fr=[["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M8.62 9.8A2.25 2.25 0 1 1 12 6.836a2.25 2.25 0 1 1 3.38 2.966l-2.626 2.856a.998.998 0 0 1-1.507 0z",key:"9v40y5"}]],l1=f("book-heart",fr);const pr=[["path",{d:"M18 6V4a2 2 0 1 0-4 0v2",key:"1aquzs"}],["path",{d:"M20 15v6a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"1rkj32"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H10",key:"18wgow"}],["rect",{x:"12",y:"6",width:"8",height:"5",rx:"1",key:"73l30o"}]],u1=f("book-lock",pr);const mr=[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}]],h1=f("book-open",mr);const yr=[["path",{d:"M12 7v6",key:"lw1j43"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}],["path",{d:"M9 10h6",key:"9gxzsh"}]],d1=f("book-plus",yr);const gr=[["path",{d:"M10 12h4",key:"a56b0p"}],["path",{d:"M10 8h4",key:"1sr2af"}],["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M6 10H4a2 2 0 0 0-2 2v7a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2V9a2 2 0 0 0-2-2h-2",key:"secmi2"}],["path",{d:"M6 21V5a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v16",key:"16ra0t"}]],f1=f("building-2",gr);const vr=[["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"}],["path",{d:"m9 16 2 2 4-4",key:"19s6y9"}]],p1=f("calendar-check",vr);const xr=[["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"}],["path",{d:"M8 14h.01",key:"6423bh"}],["path",{d:"M12 14h.01",key:"1etili"}],["path",{d:"M16 14h.01",key:"1gbofw"}],["path",{d:"M8 18h.01",key:"lrp35t"}],["path",{d:"M12 18h.01",key:"mhygvu"}],["path",{d:"M16 18h.01",key:"kzsmim"}]],m1=f("calendar-days",xr);const kr=[["path",{d:"M16 19h6",key:"xwg31i"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M19 16v6",key:"tddt3s"}],["path",{d:"M21 12.598V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8.5",key:"1glfrc"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"M8 2v4",key:"1cmpym"}]],y1=f("calendar-plus",kr);const Mr=[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["path",{d:"M21 13V6a2 2 0 0 0-2-2H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h8",key:"3spt84"}],["path",{d:"M3 10h18",key:"8toen8"}],["path",{d:"m17 22 5-5",key:"1k6ppv"}],["path",{d:"m17 17 5 5",key:"p7ous7"}]],g1=f("calendar-x-2",Mr);const wr=[["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"}]],v1=f("calendar",wr);const br=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],x1=f("camera",br);const Tr=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],k1=f("chart-column",Tr);const Pr=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],M1=f("chart-line",Pr);const Sr=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],w1=f("check",Sr);const Ar=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],b1=f("chevron-down",Ar);const Cr=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],T1=f("chevron-left",Cr);const Vr=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],P1=f("chevron-right",Vr);const Dr=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],S1=f("chevron-up",Dr);const _r=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],A1=f("circle-alert",_r);const Er=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],C1=f("circle-check-big",Er);const Rr=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],V1=f("circle-check",Rr);const Lr=[["path",{d:"M10.1 2.182a10 10 0 0 1 3.8 0",key:"5ilxe3"}],["path",{d:"M13.9 21.818a10 10 0 0 1-3.8 0",key:"11zvb9"}],["path",{d:"M17.609 3.721a10 10 0 0 1 2.69 2.7",key:"1iw5b2"}],["path",{d:"M2.182 13.9a10 10 0 0 1 0-3.8",key:"c0bmvh"}],["path",{d:"M20.279 17.609a10 10 0 0 1-2.7 2.69",key:"1ruxm7"}],["path",{d:"M21.818 10.1a10 10 0 0 1 0 3.8",key:"qkgqxc"}],["path",{d:"M3.721 6.391a10 10 0 0 1 2.7-2.69",key:"1mcia2"}],["path",{d:"M6.391 20.279a10 10 0 0 1-2.69-2.7",key:"1fvljs"}]],D1=f("circle-dashed",Lr);const Nr=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}],["path",{d:"M7 20.662V19a2 2 0 0 1 2-2h6a2 2 0 0 1 2 2v1.662",key:"154egf"}]],_1=f("circle-user",Nr);const jr=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],E1=f("circle",jr);const $r=[["path",{d:"M12 6v6l4 2",key:"mmk7yg"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],R1=f("clock",$r);const Ir=[["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M5.782 5.782A7 7 0 0 0 9 19h8.5a4.5 4.5 0 0 0 1.307-.193",key:"yfwify"}],["path",{d:"M21.532 16.5A4.5 4.5 0 0 0 17.5 10h-1.79A7.008 7.008 0 0 0 10 5.07",key:"jlfiyv"}]],L1=f("cloud-off",Ir);const Fr=[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]],N1=f("coins",Fr);const Br=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 3v18",key:"108xh3"}]],j1=f("columns-2",Br);const Or=[["path",{d:"m16.24 7.76-1.804 5.411a2 2 0 0 1-1.265 1.265L7.76 16.24l1.804-5.411a2 2 0 0 1 1.265-1.265z",ke
1y:"9ktpf1"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],$1=f("compass",Or);const zr=[["line",{x1:"15",x2:"15",y1:"12",y2:"18",key:"1p7wdc"}],["line",{x1:"12",x2:"18",y1:"15",y2:"15",key:"1nscbv"}],["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],I1=f("copy-plus",zr);const Hr=[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]],F1=f("copy",Hr);const Ur=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],B1=f("download",Ur);const Wr=[["path",{d:"M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0",key:"1dfaln"}],["path",{d:"M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4",key:"1qnva7"}]],O1=f("ear",Wr);const qr=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],z1=f("ellipsis",qr);const Kr=[["path",{d:"M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",key:"ct8e1f"}],["path",{d:"M14.084 14.158a3 3 0 0 1-4.242-4.242",key:"151rxh"}],["path",{d:"M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",key:"13bj9a"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],H1=f("eye-off",Kr);const Gr=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],U1=f("eye",Gr);const Xr=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]],W1=f("file-down",Xr);const Yr=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],q1=f("file-text",Yr);const Zr=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M7 3v18",key:"bbkbws"}],["path",{d:"M3 7.5h4",key:"zfgn84"}],["path",{d:"M3 12h18",key:"1i2n21"}],["path",{d:"M3 16.5h4",key:"1230mu"}],["path",{d:"M17 3v18",key:"in4fa5"}],["path",{d:"M17 7.5h4",key:"myr1c1"}],["path",{d:"M17 16.5h4",key:"go4c1d"}]],K1=f("film",Zr);const Jr=[["path",{d:"M4 16v-2.38C4 11.5 2.97 10.5 3 8c.03-2.72 1.49-6 4.5-6C9.37 2 10 3.8 10 5.5c0 3.11-2 5.66-2 8.68V16a2 2 0 1 1-4 0Z",key:"1dudjm"}],["path",{d:"M20 20v-2.38c0-2.12 1.03-3.12 1-5.62-.03-2.72-1.49-6-4.5-6C14.63 6 14 7.8 14 9.5c0 3.11 2 5.66 2 8.68V20a2 2 0 1 0 4 0Z",key:"l2t8xc"}],["path",{d:"M16 17h4",key:"1dejxt"}],["path",{d:"M4 13h4",key:"1bwh8b"}]],G1=f("footprints",Jr);const Qr=[["path",{d:"M10 20a1 1 0 0 0 .553.895l2 1A1 1 0 0 0 14 21v-7a2 2 0 0 1 .517-1.341L21.74 4.67A1 1 0 0 0 21 3H3a1 1 0 0 0-.742 1.67l7.225 7.989A2 2 0 0 1 10 14z",key:"sc7q7i"}]],X1=f("funnel",Qr);const ta=[["rect",{x:"3",y:"8",width:"18",height:"4",rx:"1",key:"bkv52"}],["path",{d:"M12 8v13",key:"1c76mn"}],["path",{d:"M19 12v7a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2v-7",key:"6wjy6b"}],["path",{d:"M7.5 8a2.5 2.5 0 0 1 0-5A4.8 8 0 0 1 12 8a4.8 8 0 0 1 4.5-5 2.5 2.5 0 0 1 0 5",key:"1ihvrl"}]],Y1=f("gift",ta);const ea=[["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"}]],Z1=f("globe",ea);const na=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"M15 3v18",key:"14nvp0"}]],J1=f("grid-3x3",na);const sa=[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]],Q1=f("grip-vertical",sa);const ia=[["path",{d:"M18 11V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2",key:"1fvzgz"}],["path",{d:"M14 10V4a2 2 0 0 0-2-2a2 2 0 0 0-2 2v2",key:"1kc0my"}],["path",{d:"M10 10.5V6a2 2 0 0 0-2-2a2 2 0 0 0-2 2v8",key:"10h0bg"}],["path",{d:"M18 8a2 2 0 1 1 4 0v6a8 8 0 0 1-8 8h-2c-2.8 0-4.5-.86-5.99-2.34l-3.6-3.6a2 2 0 0 1 2.83-2.82L7 15",key:"1s1gnw"}]],tp=f("hand",ia);const oa=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],ep=f("heart",oa);const ra=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}],["path",{d:"M12 7v5l4 2",key:"1fdv2h"}]],np=f("history",ra);const aa=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],sp=f("house",aa);const ca=[["path",{d:"M16 5h6",key:"1vod17"}],["path",{d:"M19 2v6",key:"4bpg5p"}],["path",{d:"M21 11.5V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h7.5",key:"1ue2ih"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]],ip=f("image-plus",ca);const la=[["path",{d:"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21",key:"9csbqa"}],["path",{d:"m14 19.5 3-3 3 3",key:"9vmjn0"}],["path",{d:"M17 22v-5.5",key:"1aa6fl"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]],op=f("image-up",la);const ua=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",ry:"2",key:"1m3agn"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}],["path",{d:"m21 15-3.086-3.086a2 2 0 0 0-2.828 0L6 21",key:"1xmnt7"}]],rp=f("image",ua);const ha=[["path",{d:"m22 11-1.296-1.296a2.4 2.4 0 0 0-3.408 0L11 16",key:"9kzy35"}],["path",{d:"M4 8a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2",ke
1y:"1t0f0t"}],["circle",{cx:"13",cy:"7",r:"1",fill:"currentColor",key:"1obus6"}],["rect",{x:"8",y:"2",width:"14",height:"14",rx:"2",key:"1gvhby"}]],ap=f("images",ha);const da=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],cp=f("inbox",da);const fa=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],lp=f("info",fa);const pa=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],up=f("key-round",pa);const ma=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],hp=f("layers",ma);const ya=[["rect",{width:"7",height:"7",x:"3",y:"3",rx:"1",key:"1g98yp"}],["rect",{width:"7",height:"7",x:"14",y:"3",rx:"1",key:"6d4xhi"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}]],dp=f("layout-grid",ya);const ga=[["path",{d:"m16 6 4 14",key:"ji33uf"}],["path",{d:"M12 6v14",key:"1n7gus"}],["path",{d:"M8 8v12",key:"1gg7y9"}],["path",{d:"M4 4v16",key:"6qkkli"}]],fp=f("library",ga);const va=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],pp=f("lightbulb",va);const xa=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],mp=f("link-2",xa);const ka=[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]],yp=f("list-checks",ka);const Ma=[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]],gp=f("list-ordered",Ma);const wa=[["path",{d:"M16 5H3",key:"m91uny"}],["path",{d:"M11 12H3",key:"51ecnj"}],["path",{d:"M16 19H3",key:"zzsher"}],["path",{d:"M18 9v6",key:"1twb98"}],["path",{d:"M21 12h-6",key:"bt1uis"}]],vp=f("list-plus",wa);const ba=[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]],xp=f("loader-circle",ba);const Ta=[["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"}]],kp=f("lock",Ta);const Pa=[["path",{d:"m10 17 5-5-5-5",key:"1bsop3"}],["path",{d:"M15 12H3",key:"6jk70r"}],["path",{d:"M15 3h4a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-4",key:"u53s6r"}]],Mp=f("log-in",Pa);const Sa=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],wp=f("log-out",Sa);const Aa=[["path",{d:"M22 13V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v12c0 1.1.9 2 2 2h8",key:"12jkf8"}],["path",{d:"m22 7-8.97 5.7a1.94 1.94 0 0 1-2.06 0L2 7",key:"1ocrg3"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]],bp=f("mail-check",Aa);const Ca=[["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"}]],Tp=f("mail",Ca);const Va=[["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"}]],Pp=f("map-pin",Va);const Da=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"m21 3-7 7",key:"1l2asr"}],["path",{d:"m3 21 7-7",key:"tjx5ai"}],["path",{d:"M9 21H3v-6",key:"wtvkvv"}]],Sp=f("maximize-2",Da);const _a=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],Ap=f("message-circle",_a);const Ea=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],Cp=f("message-square",Ea);const Ra=[["path",{d:"M12 19v3",key:"npa21l"}],["path",{d:"M19 10v2a7 7 0 0 1-14 0v-2",key:"1vc78b"}],["rect",{x:"9",y:"2",width:"6",height:"13",rx:"3",key:"s6n7sd"}]],Vp=f("mic",Ra);const La=[["path",{d:"M5 12h14",key:"1ays0h"}]],Dp=f("minus",La);const Na=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],_p=f("moon",Na);const ja=[["path",{d:"m14.622 17.897-10.68-2.913",key:"vj2p1u"}],["path",{d:"M18.376 2.622a1 1 0 1 1 3.002 3.002L17.36 9.643a.5.5 0 0 0 0 .707l.944.944a2.41 2.41 0 0 1 0 3.408l-.944.944a.5.5 0 0 1-.707 0L8.354 7.348a.5.5 0 0 1 0-.707l.944-.944a2.41 2.41 0 0 1 3.408 0l.944.944a.5.5 0 0 0 .707 0z",ke
1y:"18tc5c"}],["path",{d:"M9 8c-1.804 2.71-3.97 3.46-6.583 3.948a.507.507 0 0 0-.302.819l7.32 8.883a1 1 0 0 0 1.185.204C12.735 20.405 16 16.792 16 15",key:"ytzfxy"}]],Ep=f("paintbrush",ja);const $a=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],Rp=f("palette",$a);const Ia=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M9 21V9",key:"1oto5p"}]],Lp=f("panels-top-left",Ia);const Fa=[["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"}]],Np=f("pen-line",Fa);const Ba=[["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"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],jp=f("pencil",Ba);const Oa=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],$p=f("play",Oa);const za=[["path",{d:"M12 22v-5",key:"1ega77"}],["path",{d:"M15 8V2",key:"18g5xt"}],["path",{d:"M17 8a1 1 0 0 1 1 1v4a4 4 0 0 1-4 4h-4a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1z",key:"1xoxul"}],["path",{d:"M9 8V2",key:"14iosj"}]],Ip=f("plug",za);const Ha=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Fp=f("plus",Ha);const Ua=[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]],Bp=f("printer",Ua);const Wa=[["path",{d:"M15.39 4.39a1 1 0 0 0 1.68-.474 2.5 2.5 0 1 1 3.014 3.015 1 1 0 0 0-.474 1.68l1.683 1.682a2.414 2.414 0 0 1 0 3.414L19.61 15.39a1 1 0 0 1-1.68-.474 2.5 2.5 0 1 0-3.014 3.015 1 1 0 0 1 .474 1.68l-1.683 1.682a2.414 2.414 0 0 1-3.414 0L8.61 19.61a1 1 0 0 0-1.68.474 2.5 2.5 0 1 1-3.014-3.015 1 1 0 0 0 .474-1.68l-1.683-1.682a2.414 2.414 0 0 1 0-3.414L4.39 8.61a1 1 0 0 1 1.68.474 2.5 2.5 0 1 0 3.014-3.015 1 1 0 0 1-.474-1.68l1.683-1.682a2.414 2.414 0 0 1 3.414 0z",key:"w46dr5"}]],Op=f("puzzle",Wa);const qa=[["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"}]],zp=f("refresh-cw",qa);const Ka=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]],Hp=f("repeat",Ka);const Ga=[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]],Up=f("rotate-ccw",Ga);const Xa=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M21 9H3",key:"1338ky"}],["path",{d:"M21 15H3",key:"9uk58r"}]],Wp=f("rows-3",Xa);const Ya=[["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"}]],qp=f("save",Ya);const Za=[["path",{d:"M12 3v18",key:"108xh3"}],["path",{d:"m19 8 3 8a5 5 0 0 1-6 0zV7",key:"zcdpyk"}],["path",{d:"M3 7h1a17 17 0 0 0 8-2 17 17 0 0 0 8 2h1",key:"1yorad"}],["path",{d:"m5 8 3 8a5 5 0 0 1-6 0zV7",key:"eua70x"}],["path",{d:"M7 21h10",key:"1b0cd5"}]],Kp=f("scale",Za);const Ja=[["path",{d:"M14 21v-3a2 2 0 0 0-4 0v3",key:"1rgiei"}],["path",{d:"M18 5v16",key:"1ethyx"}],["path",{d:"m4 6 7.106-3.79a2 2 0 0 1 1.788 0L20 6",key:"zywc2d"}],["path",{d:"m6 11-3.52 2.147a1 1 0 0 0-.48.854V19a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-5a1 1 0 0 0-.48-.853L18 11",key:"1d4ql0"}],["path",{d:"M6 5v16",key:"1sn0nx"}],["circle",{cx:"12",cy:"9",r:"2",key:"1092wv"}]],Gp=f("school",Ja);const Qa=[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],Xp=f("search-x",Qa);const tc=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],Yp=f("search",tc);const ec=[["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"}]],Zp=f("share-2",ec);const nc=[["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",ke
1y:"oel41y"}],["path",{d:"M12 8v4",key:"1got3b"}],["path",{d:"M12 16h.01",key:"1drbdi"}]],Jp=f("shield-alert",nc);const sc=[["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"}]],Qp=f("shield-check",sc);const ic=[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]],t0=f("sliders-horizontal",ic);const oc=[["rect",{width:"14",height:"20",x:"5",y:"2",rx:"2",ry:"2",key:"1yt0o3"}],["path",{d:"M12 18h.01",key:"mhygvu"}]],e0=f("smartphone",oc);const rc=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["line",{x1:"9",x2:"9.01",y1:"9",y2:"9",key:"yxxnd0"}],["line",{x1:"15",x2:"15.01",y1:"9",y2:"9",key:"1p4y9e"}]],n0=f("smile",rc);const ac=[["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"}
1],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],s0=f("sparkles",ac);const cc=[["path",{d:"M21 10.656V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h12.344",key:"2acyp4"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],i0=f("square-check-big",cc);const lc=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],o0=f("square-pen",lc);const uc=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],r0=f("square",uc);const hc=[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]],a0=f("star",hc);const dc=[["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M14.837 16.385a6 6 0 1 1-7.223-7.222c.624-.147.97.66.715 1.248a4 4 0 0 0 5.26 5.259c.589-.255 1.396.09 1.248.715",key:"xlf6rm"}],["path",{d:"M16 12a4 4 0 0 0-4-4",key:"6vsxu"}],["path",{d:"m19 5-1.256 1.256",key:"1yg6a6"}],["path",{d:"M20 12h2",key:"1q8mjw"}]],c0=f("sun-moon",dc);const fc=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]],l0=f("sun",fc);const pc=[["path",{d:"M12 2v8",key:"1q4o3n"}],["path",{d:"m4.93 10.93 1.41 1.41",key:"2a7f42"}],["path",{d:"M2 18h2",key:"j10viu"}],["path",{d:"M20 18h2",key:"wocana"}],["path",{d:"m19.07 10.93-1.41 1.41",key:"15zs5n"}],["path",{d:"M22 22H2",key:"19qnx5"}],["path",{d:"m8 6 4-4 4 4",key:"ybng9g"}],["path",{d:"M16 18a4 4 0 0 0-8 0",key:"1lzouq"}]],u0=f("sunrise",pc);const mc=[["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"}]],h0=f("trash-2",mc);const yc=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],d0=f("triangle-alert",yc);const gc=[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]],f0=f("type",gc);const vc=[["path",{d:"M9 14 4 9l5-5",key:"102s5s"}],["path",{d:"M4 9h10.5a5.5 5.5 0 0 1 5.5 5.5a5.5 5.5 0 0 1-5.5 5.5H11",key:"f3b9sd"}]],p0=f("undo-2",vc);const xc=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],m0=f("upload",xc);const kc=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],y0=f("user-plus",kc);const Mc=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],g0=f("user-round",Mc);const wc=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"17",x2:"22",y1:"8",y2:"13",key:"3nzzx3"}],["line",{x1:"22",x2:"17",y1:"8",y2:"13",key:"1swrse"}]],v0=f("user-x",wc);const bc=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],x0=f("user",bc);const Tc=[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]],k0=f("users-round",Tc);const Pc=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],M0=f("users",Pc);const Sc=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],w0=f("volume-2",Sc);const Ac=[["path",{d:"M2 6c.6.5 1.2 1 2.5 1C7 7 7 5 9.5 5c2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"knzxuh"}],["path",{d:"M2 12c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"2jd2cc"}],["path",{d:"M2 18c.6.5 1.2 1 2.5 1 2.5 0 2.5-2 5-2 2.6 0 2.4 2 5 2 2.5 0 2.5-2 5-2 1.3 0 1.9.5 2.5 1",key:"rd2r6e"}]],b0=f("waves",Ac);const Cc=[["path",{d:"M12 20h.01",key:"zekei9"}],["path",{d:"M8.5 16.429a5 5 0 0 1 7 0",key:"1bycff"}],["path",{d:"M5 12.859a10 10 0 0 1 5.17-2.69",key:"1dl1wf"}],["path",{d:"M19 12.859a10 10 0 0 0-2.007-1.523",key:"4k23kn"}
vendor: 118,403 bytes, lines 1-9
1],["path",{d:"M2 8.82a15 15 0 0 1 4.177-2.643",key:"1grhjp"}],["path",{d:"M22 8.82a15 15 0 0 0-11.288-3.764",key:"z3jwby"}],["path",{d:"m2 2 20 20",key:"1ooewy"}]],T0=f("wifi-off",Cc);const Vc=[["path",{d:"M12.8 19.6A2 2 0 1 0 14 16H2",key:"148xed"}],["path",{d:"M17.5 8a2.5 2.5 0 1 1 2 4H2",key:"1u4tom"}],["path",{d:"M9.8 4.4A2 2 0 1 1 11 8H2",key:"75valh"}]],P0=f("wind",Vc);const Dc=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],S0=f("x",Dc),an=m.createContext({});function Bt(t){const e=m.useRef(null);return e.current===null&&(e.current=t()),e.current}const ci=typeof window<"u",cn=ci?m.useLayoutEffect:m.useEffect,ue=m.createContext(null);function ln(t,e){t.indexOf(e)===-1&&t.push(e)}function un(t,e){const n=t.indexOf(e);n>-1&&t.splice(n,1)}const Z=(t,e,n)=>n>e?e:n<t?t:n;let hn=()=>{};const tt={},li=t=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t);function ui(t){return typeof t=="object"&&t!==null}const hi=t=>/^0[^.\s]+$/u.test(t);function dn(t){let e;return()=>(e===void 0&&(e=t()),e)}const U=t=>t,_c=(t,e)=>n=>e(t(n)),Ot=(...t)=>t.reduce(_c),Lt=(t,e,n)=>{const s=e-t;return s===0?1:(n-t)/s};class fn{constructor(){this.subscriptions=[]}add(e){return ln(this.subscriptions,e),()=>un(this.subscriptions,e)}notify(e,n,s){const i=this.subscriptions.length;if(i)if(i===1)this.subscriptions[0](e,n,s);else for(let r=0;r<i;r++){const o=this.subscriptions[r];o&&o(e,n,s)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}const Q=t=>t*1e3,H=t=>t/1e3;function di(t,e){return e?t*(1e3/e):0}const fi=(t,e,n)=>(((1-3*n+3*e)*t+(3*n-6*e))*t+3*e)*t,Ec=1e-7,Rc=12;function Lc(t,e,n,s,i){let r,o,a=0;do o=e+(n-e)/2,r=fi(o,s,i)-t,r>0?n=o:e=o;while(Math.abs(r)>Ec&&++a<Rc);return o}function zt(t,e,n,s){if(t===e&&n===s)return U;const i=r=>Lc(r,0,1,t,n);return r=>r===0||r===1?r:fi(i(r),e,s)}const pi=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2,mi=t=>e=>1-t(1-e),yi=zt(.33,1.53,.69,.99),pn=mi(yi),gi=pi(pn),vi=t=>(t*=2)<1?.5*pn(t):.5*(2-Math.pow(2,-10*(t-1))),mn=t=>1-Math.sin(Math.acos(t)),xi=mi(mn),ki=pi(mn),Nc=zt(.42,0,1,1),jc=zt(0,0,.58,1),Mi=zt(.42,0,.58,1),$c=t=>Array.isArray(t)&&typeof t[0]!="number",wi=t=>Array.isArray(t)&&typeof t[0]=="number",Ic={linear:U,easeIn:Nc,easeInOut:Mi,easeOut:jc,circIn:mn,circInOut:ki,circOut:xi,backIn:pn,backInOut:gi,backOut:yi,anticipate:vi},Fc=t=>typeof t=="string",Wn=t=>{if(wi(t)){hn(t.length===4);const[e,n,s,i]=t;return zt(e,n,s,i)}else if(Fc(t))return Ic[t];return t},qt=["setup","read","resolveKeyframes","preUpdate","update","preRender","render","postRender"];function Bc(t,e){let n=new Set,s=new Set,i=!1,r=!1;const o=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function c(l){o.has(l)&&(u.schedule(l),t()),l(a)}const u={schedule:(l,h=!1,d=!1)=>{const y=d&&i?n:s;return h&&o.add(l),y.has(l)||y.add(l),l},cancel:l=>{s.delete(l),o.delete(l)},process:l=>{if(a=l,i){r=!0;return}i=!0,[n,s]=[s,n],n.forEach(c),n.clear(),i=!1,r&&(r=!1,u.process(l))}};return u}const Oc=40;function bi(t,e){let n=!1,s=!0;const i={delta:0,timestamp:0,isProcessing:!1},r=()=>n=!0,o=qt.reduce((g,b)=>(g[b]=Bc(r),g),{}),{setup:a,read:c,resolveKeyframes:u,preUpdate:l,update:h,preRender:d,render:p,postRender:y}=o,v=()=>{const g=tt.useManualTiming?i.timestamp:performance.now();n=!1,tt.useManualTiming||(i.delta=s?1e3/60:Math.max(Math.min(g-i.timestamp,Oc),1)),i.timestamp=g,i.isProcessing=!0,a.process(i),c.process(i),u.process(i),l.process(i),h.process(i),d.process(i),p.process(i),y.process(i),i.isProcessing=!1,n&&e&&(s=!1,t(v))},x=()=>{n=!0,s=!0,i.isProcessing||t(v)};return{schedule:qt.reduce((g,b)=>{const T=o[b];return g[b]=(A,_=!1,P=!1)=>(n||x(),T.schedule(A,_,P)),g},{}),cancel:g=>{for(let b=0;b<qt.length;b++)o[qt[b]].cancel(g)},state:i,steps:o}}const{schedule:C,cancel:ot,state:$,steps:ve}=bi(typeof requestAnimationFrame<"u"?requestAnimationFrame:U,!0);let Zt;function zc(){Zt=void 0}const F={now:()=>(Zt===void 0&&F.set($.isProcessing||tt.useManualTiming?$.timestamp:performance.now()),Zt),set:t=>{Zt=t,queueMicrotask(zc)}},Ti=t=>e=>typeof e=="string"&&e.startsWith(t),Pi=Ti("--"),Hc=Ti("var(--"),yn=t=>Hc(t)?Uc.test(t.split("/*")[0].trim()):!1,Uc=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu;function qn(t){return typeof t!="string"?!1:t.split("/*")[0].includes("var(--")}const wt={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},Nt={...wt,transform:t=>Z(0,1,t)},Kt={...wt,default:1},Dt=t=>Math.round(t*1e5)/1e5,gn=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu;function Wc(t){return t==null}const qc=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,vn=(t,e)=>n=>!!(typeof n=="string"&&qc.test(n)&&n.startsWith(t)||e&&!Wc(n)&&Object.prototype.hasOwnProperty.call(n,e)),Si=(t,e,n)=>s=>{if(typeof s!="string")return s;const[i,r,o,a]=s.match(gn);return{[t]:parseFloat(i),[e]:parseFloat(r),[n]:parseFloat(o),alpha:a!==void 0?parseFloat(a):1}},Kc=t=>Z(0,255,t),xe={...wt,transform:t=>Math.round(Kc(t))},dt={test:vn("rgb","red"),parse:Si("red","green","blue"),transform:({red:t,green:e,blue:n,alpha:s=1})=>"rgba("+xe.transform(t)+", "+xe.transform(e)+", "+xe.transform(n)+", "+Dt(Nt.transform(s))+")"};function Gc(t){let e="",n="",s="",i="";return t.length>5?(e=t.substring(1,3),n=t.substring(3,5),s=t.substring(5,7),i=t.substring(7,9)):(e=t.substring(1,2),n=t.substring(2,3),s=t.substring(3,4),i=t.substring(4,5),e+=e,n+=n,s+=s,i+=i),{red:parseInt(e,16),green:parseInt(n,16),blue:parseInt(s,16),alpha:i?parseInt(i,16)/255:1}}const Le={test:vn("#"),parse:Gc,transform:dt.transform},Ht=t=>({test:e=>typeof e=="string"&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),nt=Ht("deg"),Y=Ht("%"),M=Ht("px"),Xc=Ht("vh"),Yc=Ht("vw"),Kn={...Y,parse:t=>Y.parse(t)/100,transform:t=>Y.transform(t*100)},yt={test:vn("hsl","hue"),parse:Si("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:n,alpha:s=1})=>"hsla("+Math.round(t)+", "+Y.transform(Dt(e))+", "+Y.transform(Dt(n))+", "+Dt(Nt.transform(s))+")"},E={test:t=>dt.test(t)||Le.test(t)||yt.test(t),parse:t=>dt.test(t)?dt.parse(t):yt.test(t)?yt.parse(t):Le.parse(t),transform:t=>typeof t=="string"?t:t.hasOwnProperty("red")?dt.transform(t):yt.transform(t),getAnimatableNone:t=>{const e=E.parse(t);return e.alpha=0,E.transform(e)}},Zc=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu;function Jc(t){return isNaN(t)&&typeof t=="string"&&(t.match(gn)?.length||0)+(t.match(Zc)?.length||0)>0}const Ai="number",Ci="color",Qc="var",tl="var(",Gn="${}",el=/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 jt(t){const e=t.toString(),n=[],s={color:[],number:[],var:[]},i=[];let r=0;const a=e.replace(el,c=>(E.test(c)?(s.color.push(r),i.push(Ci),n.push(E.parse(c))):c.startsWith(tl)?(s.var.push(r),i.push(Qc),n.push(c)):(s.number.push(r),i.push(Ai),n.push(parseFloat(c))),++r,Gn)).split(Gn);return{values:n,split:a,indexes:s,types:i}}function Vi(t){return jt(t).values}function Di(t){const{split:e,types:n}=jt(t),s=e.length;return i=>{let r="";for(let o=0;o<s;o++)if(r+=e[o],i[o]!==void 0){const a=n[o];a===Ai?r+=Dt(i[o]):a===Ci?r+=E.transform(i[o]):r+=i[o]}return r}}const nl=t=>typeof t=="number"?0:E.test(t)?E.getAnimatableNone(t):t;function sl(t){const e=Vi(t);return Di(t)(e.map(nl))}const rt={test:Jc,parse:Vi,createTransformer:Di,getAnimatableNone:sl};function ke(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+(e-t)*6*n:n<1/2?e:n<2/3?t+(e-t)*(2/3-n)*6:t}function il({hue:t,saturation:e,lightness:n,alpha:s}){t/=360,e/=100,n/=100;let i=0,r=0,o=0;if(!e)i=r=o=n;else{const a=n<.5?n*(1+e):n+e-n*e,c=2*n-a;i=ke(c,a,t+1/3),r=ke(c,a,t),o=ke(c,a,t-1/3)}return{red:Math.round(i*255),green:Math.round(r*255),blue:Math.round(o*255),alpha:s}}function ne(t,e){return n=>n>0?e:t}const V=(t,e,n)=>t+(e-t)*n,Me=(t,e,n)=>{const s=t*t,i=n*(e*e-s)+s;return i<0?0:Math.sqrt(i)},ol=[Le,dt,yt],rl=t=>ol.find(e=>e.test(t));function Xn(t){const e=rl(t);if(!e)return!1;let n=e.parse(t);return e===yt&&(n=il(n)),n}const Yn=(t,e)=>{const n=Xn(t),s=Xn(e);if(!n||!s)return ne(t,e);const i={...n};return r=>(i.red=Me(n.red,s.red,r),i.green=Me(n.green,s.green,r),i.blue=Me(n.blue,s.blue,r),i.alpha=V(n.alpha,s.alpha,r),dt.transform(i))},Ne=new Set(["none","hidden"]);function al(t,e){return Ne.has(t)?n=>n<=0?t:e:n=>n>=1?e:t}function cl(t,e){return n=>V(t,e,n)}function xn(t){return typeof t=="number"?cl:typeof t=="string"?yn(t)?ne:E.test(t)?Yn:hl:Array.isArray(t)?_i:typeof t=="object"?E.test(t)?Yn:ll:ne}function _i(t,e){const n=[...t],s=n.length,i=t.map((r,o)=>xn(r)(r,e[o]));return r=>{for(let o=0;o<s;o++)n[o]=i[o](r);return n}}function ll(t,e){const n={...t,...e},s={};for(const i in n)t[i]!==void 0&&e[i]!==void 0&&(s[i]=xn(t[i])(t[i],e[i]));return i=>{for(const r in s)n[r]=s[r](i);return n}}function ul(t,e){const n=[],s={color:0,var:0,number:0};for(let i=0;i<e.values.length;i++){const r=e.types[i],o=t.indexes[r][s[r]],a=t.values[o]??0;n[i]=a,s[r]++}return n}const hl=(t,e)=>{const n=rt.createTransformer(e),s=jt(t),i=jt(e);return s.indexes.var.length===i.indexes.var.length&&s.indexes.color.length===i.indexes.color.length&&s.indexes.number.length>=i.indexes.number.length?Ne.has(t)&&!i.values.length||Ne.has(e)&&!s.values.length?al(t,e):Ot(_i(ul(s,i),i.values),n):ne(t,e)};function Ei(t,e,n){return typeof t=="number"&&typeof e=="number"&&typeof n=="number"?V(t,e,n):xn(t)(t,e)}const dl=t=>{const e=({timestamp:n})=>t(n);return{start:(n=!0)=>C.update(e,n),stop:()=>ot(e),now:()=>$.isProcessing?$.timestamp:F.now()}},Ri=(t,e,n=10)=>{let s="";const i=Math.max(Math.round(e/n),2);for(let r=0;r<i;r++)s+=Math.round(t(r/(i-1))*1e4)/1e4+", ";return`linear(${s.substring(0,s.length-2)})`},se=2e4;function kn(t){let e=0;const n=50;let s=t.next(e);for(;!s.done&&e<se;)e+=n,s=t.next(e);return e>=se?1/0:e}function fl(t,e=100,n){const s=n({...t,keyframes:[0,e]}),i=Math.min(kn(s),se);return{type:"keyframes",ease:r=>s.next(i*r).value/e,duration:H(i)}}const pl=5;function Li(t,e,n){const s=Math.max(e-pl,0);return di(n-t(s),e-s)}const D={stiffness:100,damping:10,mass:1,velocity:0,duration:800,bounce:.3,visualDuration:.3,restSpeed:{granular:.01,default:2},restDelta:{granular:.005,default:.5},minDuration:.01,maxDuration:10,minDamping:.05,maxDamping:1},we=.001;function ml({duration:t=D.duration,bounce:e=D.bounce,velocity:n=D.velocity,mass:s=D.mass}){let i,r,o=1-e;o=Z(D.minDamping,D.maxDamping,o),t=Z(D.minDuration,D.maxDuration,H(t)),o<1?(i=u=>{const l=u*o,h=l*t,d=l-n,p=je(u,o),y=Math.exp(-h);return we-d/p*y},r=u=>{const h=u*o*t,d=h*n+n,p=Math.pow(o,2)*Math.pow(u,2)*t,y=Math.exp(-h),v=je(Math.pow(u,2),o);return(-i(u)+we>0?-1:1)*((d-p)*y)/v}):(i=u=>{const l=Math.exp(-u*t),h=(u-n)*t+1;return-we+l*h},r=u=>{const l=Math.exp(-u*t),h=(n-u)*(t*t);return l*h});const a=5/t,c=gl(i,r,a);if(t=Q(t),isNaN(c))return{stiffness:D.stiffness,damping:D.damping,duration:t};{const u=Math.pow(c,2)*s;return{stiffness:u,damping:o*2*Math.sqrt(s*u),duration:t}}}const yl=12;function gl(t,e,n){let s=n;for(let i=1;i<yl;i++)s=s-t(s)/e(s);return s}function je(t,e){return t*Math.sqrt(1-e*e)}const vl=["duration","bounce"],xl=["stiffness","damping","mass"];function Zn(t,e){return e.some(n=>t[n]!==void 0)}function kl(t){let e={velocity:D.velocity,stiffness:D.stiffness,damping:D.damping,mass:D.mass,isResolvedFromDuration:!1,...t};if(!Zn(t,xl)&&Zn(t,vl))if(t.visualDuration){const n=t.visualDuration,s=2*Math.PI/(n*1.2),i=s*s,r=2*Z(.05,1,1-(t.bounce||0))*Math.sqrt(i);e={...e,mass:D.mass,stiffness:i,damping:r}}else{const n=ml(t);e={...e,...n,mass:D.mass},e.isResolvedFromDuration=!0}return e}function ie(t=D.visualDuration,e=D.bounce){const n=typeof t!="object"?{visualDuration:t,keyframes:[0,1],bounce:e}:t;let{restSpeed:s,restDelta:i}=n;const r=n.keyframes[0],o=n.keyframes[n.keyframes.length-1],a={done:!1,value:r},{stiffness:c,damping:u,mass:l,duration:h,velocity:d,isResolvedFromDuration:p}=kl({...n,velocity:-H(n.velocity||0)}),y=d||0,v=u/(2*Math.sqrt(c*l)),x=o-r,k=H(Math.sqrt(c/l)),w=Math.abs(x)<5;s||(s=w?D.restSpeed.granular:D.restSpeed.default),i||(i=w?D.restDelta.granular:D.restDelta.default);let g;if(v<1){const T=je(k,v);g=A=>{const _=Math.exp(-v*k*A);return o-_*((y+v*k*x)/T*Math.sin(T*A)+x*Math.cos(T*A))}}else if(v===1)g=T=>o-Math.exp(-k*T)*(x+(y+k*x)*T);else{const T=k*Math.sqrt(v*v-1);g=A=>{const _=Math.exp(-v*k*A),P=Math.min(T*A,300);return o-_*((y+v*k*x)*Math.sinh(P)+T*x*Math.cosh(P))/T}}const b={calculatedDuration:p&&h||null,next:T=>{const A=g(T);if(p)a.done=T>=h;else{let _=T===0?y:0;v<1&&(_=T===0?Q(y):Li(g,T,A));const P=Math.abs(_)<=s,S=Math.abs(o-A)<=i;a.done=P&&S}return a.value=a.done?o:A,a},toString:()=>{const T=Math.min(kn(b),se),A=Ri(_=>b.next(T*_).value,T,30);return T+"ms "+A},toTransition:()=>{}};return b}ie.applyToOptions=t=>{const e=fl(t,100,ie);return t.ease=e.ease,t.duration=Q(e.duration),t.type="keyframes",t};function $e({keyframes:t,velocity:e=0,power:n=.8,timeConstant:s=325,bounceDamping:i=10,bounceStiffness:r=500,modifyTarget:o,min:a,max:c,restDelta:u=.5,restSpeed:l}){const h=t[0],d={done:!1,value:h},p=P=>a!==void 0&&P<a||c!==void 0&&P>c,y=P=>a===void 0?c:c===void 0||Math.abs(a-P)<Math.abs(c-P)?a:c;let v=n*e;const x=h+v,k=o===void 0?x:o(x);k!==x&&(v=k-h);const w=P=>-v*Math.exp(-P/s),g=P=>k+w(P),b=P=>{const S=w(P),R=g(P);d.done=Math.abs(S)<=u,d.value=d.done?k:R};let T,A;const _=P=>{p(d.value)&&(T=P,A=ie({keyframes:[d.value,y(d.value)],velocity:Li(g,P,d.value),damping:i,stiffness:r,restDelta:u,restSpeed:l}))};return _(0),{calculatedDuration:null,next:P=>{let S=!1;return!A&&T===void 0&&(S=!0,b(P),_(P)),T!==void 0&&P>=T?A.next(P-T):(!S&&b(P),d)}}}function Ml(t,e,n){const s=[],i=n||tt.mix||Ei,r=t.length-1;for(let o=0;o<r;o++){let a=i(t[o],t[o+1]);if(e){const c=Array.isArray(e)?e[o]||U:e;a=Ot(c,a)}s.push(a)}return s}function wl(t,e,{clamp:n=!0,ease:s,mixer:i}={}){const r=t.length;if(hn(r===e.length),r===1)return()=>e[0];if(r===2&&e[0]===e[1])return()=>e[1];const o=t[0]===t[1];t[0]>t[r-1]&&(t=[...t].reverse(),e=[...e].reverse());const a=Ml(e,s,i),c=a.length,u=l=>{if(o&&l<t[0])return e[0];let h=0;if(c>1)for(;h<t.length-2&&!(l<t[h+1]);h++);const d=Lt(t[h],t[h+1],l);return a[h](d)};return n?l=>u(Z(t[0],t[r-1],l)):u}function bl(t,e){const n=t[t.length-1];for(let s=1;s<=e;s++){const i=Lt(0,e,s);t.push(V(n,1,i))}}function Tl(t){const e=[0];return bl(e,t.length-1),e}function Pl(t,e){return t.map(n=>n*e)}function Sl(t,e){return t.map(()=>e||Mi).splice(0,t.length-1)}function _t({duration:t=300,keyframes:e,times:n,ease:s="easeInOut"}){const i=$c(s)?s.map(Wn):Wn(s),r={done:!1,value:e[0]},o=Pl(n&&n.length===e.length?n:Tl(e),t),a=wl(o,e,{ease:Array.isArray(i)?i:Sl(e,i)});return{calculatedDuration:t,next:c=>(r.value=a(c),r.done=c>=t,r)}}const Al=t=>t!==null;function Mn(t,{repeat:e,repeatType:n="loop"},s,i=1){const r=t.filter(Al),a=i<0||e&&n!=="loop"&&e%2===1?0:r.length-1;return!a||s===void 0?r[a]:s}const Cl={decay:$e,inertia:$e,tween:_t,keyframes:_t,spring:ie};function Ni(t){typeof t.type=="string"&&(t.type=Cl[t.type])}class wn{constructor(){this.updateFinished()}get finished(){return this._finished}updateFinished(){this._finished=new Promise(e=>{this.resolve=e})}notifyFinished(){this.resolve()}then(e,n){return this.finished.then(e,n)}}const Vl=t=>t/100;class bn extends wn{constructor(e){super(),this.state="idle",this.startTime=null,this.isStopped=!1,this.currentTime=0,this.holdTime=null,this.playbackSpeed=1,this.stop=()=>{const{motionValue:n}=this.options;n&&n.updatedAt!==F.now()&&this.tick(F.now()),this.isStopped=!0,this.state!=="idle"&&(this.teardown(),this.options.onStop?.())},this.options=e,this.initAnimation(),this.play(),e.autoplay===!1&&this.pause()}initAnimation(){const{options:e}=this;Ni(e);const{type:n=_t,repeat:s=0,repeatDelay:i=0,repeatType:r,velocity:o=0}=e;let{keyframes:a}=e;const c=n||_t;c!==_t&&typeof a[0]!="number"&&(this.mixKeyframes=Ot(Vl,Ei(a[0],a[1])),a=[0,100]);const u=c({...e,keyframes:a});r==="mirror"&&(this.mirroredGenerator=c({...e,keyframes:[...a].reverse(),velocity:-o})),u.calculatedDuration===null&&(u.calculatedDuration=kn(u));const{calculatedDuration:l}=u;this.calculatedDuration=l,this.resolvedDuration=l+i,this.totalDuration=this.resolvedDuration*(s+1)-i,this.generator=u}updateTime(e){const n=Math.round(e-this.startTime)*this.playbackSpeed;this.holdTime!==null?this.currentTime=this.holdTime:this.currentTime=n}tick(e,n=!1){const{generator:s,totalDuration:i,mixKeyframes:r,mirroredGenerator:o,resolvedDuration:a,calculatedDuration:c}=this;if(this.startTime===null)return s.next(0);const{delay:u=0,keyframes:l,repeat:h,repeatType:d,repeatDelay:p,type:y,onUpdate:v,finalKeyframe:x}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-i/this.speed,this.startTime)),n?this.currentTime=e:this.updateTime(e);const k=this.currentTime-u*(this.playbackSpeed>=0?1:-1),w=this.playbackSpeed>=0?k<0:k>i;this.currentTime=Math.max(k,0),this.state==="finished"&&this.holdTime===null&&(this.currentTime=i);let g=this.currentTime,b=s;if(h){const P=Math.min(this.currentTime,i)/a;let S=Math.floor(P),R=P%1;!R&&P>=1&&(R=1),R===1&&S--,S=Math.min(S,h+1),S%2&&(d==="reverse"?(R=1-R,p&&(R-=p/a)):d==="mirror"&&(b=o)),g=Z(0,1,R)*a}const T=w?{done:!1,value:l[0]}:b.next(g);r&&(T.value=r(T.value));let{done:A}=T;!w&&c!==null&&(A=this.playbackSpeed>=0?this.currentTime>=i:this.currentTime<=0);const _=this.holdTime===null&&(this.state==="finished"||this.state==="running"&&A);return _&&y!==$e&&(T.value=Mn(l,this.options,x,this.speed)),v&&v(T.value),_&&this.finish(),T}then(e,n){return this.finished.then(e,n)}get duration(){return H(this.calculatedDuration)}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+H(e)}get time(){return H(this.currentTime)}set time(e){e=Q(e),this.currentTime=e,this.startTime===null||this.holdTime!==null||this.playbackSpeed===0?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.playbackSpeed),this.driver?.start(!1)}get speed(){return this.playbackSpeed}set speed(e){this.updateTime(F.now());const n=this.playbackSpeed!==e;this.playbackSpeed=e,n&&(this.time=H(this.currentTime))}play(){if(this.isStopped)return;const{driver:e=dl,startTime:n}=this.options;this.driver||(this.driver=e(i=>this.tick(i))),this.options.onPlay?.();const s=this.driver.now();this.state==="finished"?(this.updateFinished(),this.startTime=s):this.holdTime!==null?this.startTime=s-this.holdTime:this.startTime||(this.startTime=n??s),this.state==="finished"&&this.speed<0&&(this.startTime+=this.calculatedDuration),this.holdTime=null,this.state="running",this.driver.start()}pause(){this.state="paused",this.updateTime(F.now()),this.holdTime=this.currentTime}complete(){this.state!=="running"&&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}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}attachTimeline(e){return this.options.allowFlatten&&(this.options.type="keyframes",this.options.ease="linear",this.initAnimation()),this.driver?.stop(),e.observe(this)}}function Dl(t){for(let e=1;e<t.length;e++)t[e]??(t[e]=t[e-1])}const ft=t=>t*180/Math.PI,Ie=t=>{const e=ft(Math.atan2(t[1],t[0]));return Fe(e)},_l={x:4,y:5,translateX:4,translateY:5,scaleX:0,scaleY:3,scale:t=>(Math.abs(t[0])+Math.abs(t[3]))/2,rotate:Ie,rotateZ:Ie,skewX:t=>ft(Math.atan(t[1])),skewY:t=>ft(Math.atan(t[2])),skew:t=>(Math.abs(t[1])+Math.abs(t[2]))/2},Fe=t=>(t=t%360,t<0&&(t+=360),t),Jn=Ie,Qn=t=>Math.sqrt(t[0]*t[0]+t[1]*t[1]),ts=t=>Math.sqrt(t[4]*t[4]+t[5]*t[5]),El={x:12,y:13,z:14,translateX:12,translateY:13,translateZ:14,scaleX:Qn,scaleY:ts,scale:t=>(Qn(t)+ts(t))/2,rotateX:t=>Fe(ft(Math.atan2(t[6],t[5]))),rotateY:t=>Fe(ft(Math.atan2(-t[2],t[0]))),rotateZ:Jn,rotate:Jn,skewX:t=>ft(Math.atan(t[4])),skewY:t=>ft(Math.atan(t[1])),skew:t=>(Math.abs(t[1])+Math.abs(t[4]))/2};function Be(t){return t.includes("scale")?1:0}function Oe(t,e){if(!t||t==="none")return Be(e);const n=t.match(/^matrix3d\(([-\d.e\s,]+)\)$/u);let s,i;if(n)s=El,i=n;else{const a=t.match(/^matrix\(([-\d.e\s,]+)\)$/u);s=_l,i=a}if(!i)return Be(e);const r=s[e],o=i[1].split(",").map(Ll);return typeof r=="function"?r(o):o[r]}const Rl=(t,e)=>{const{transform:n="none"}=getComputedStyle(t);return Oe(n,e)};function Ll(t){return parseFloat(t.trim())}const bt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Tt=new Set(bt),es=t=>t===wt||t===M,Nl=new Set(["x","y","z"]),jl=bt.filter(t=>!Nl.has(t));function $l(t){const e=[];return jl.forEach(n=>{const s=t.getValue(n);s!==void 0&&(e.push([n,s.get()]),s.set(n.startsWith("scale")?1:0))}),e}const it={width:({x:t},{paddingLeft:e="0",paddingRight:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),height:({y:t},{paddingTop:e="0",paddingBottom:n="0"})=>t.max-t.min-parseFloat(e)-parseFloat(n),top:(t,{top:e})=>parseFloat(e),left:(t,{left:e})=>parseFloat(e),bottom:({y:t},{top:e})=>parseFloat(e)+(t.max-t.min),right:({x:t},{left:e})=>parseFloat(e)+(t.max-t.min),x:(t,{transform:e})=>Oe(e,"x"),y:(t,{transform:e})=>Oe(e,"y")};it.translateX=it.x;it.translateY=it.y;const pt=new Set;let ze=!1,He=!1,Ue=!1;function ji(){if(He){const t=Array.from(pt).filter(s=>s.needsMeasurement),e=new Set(t.map(s=>s.element)),n=new Map;e.forEach(s=>{const i=$l(s);i.length&&(n.set(s,i),s.render())}),t.forEach(s=>s.measureInitialState()),e.forEach(s=>{s.render();const i=n.get(s);i&&i.forEach(([r,o])=>{s.getValue(r)?.set(o)})}),t.forEach(s=>s.measureEndState()),t.forEach(s=>{s.suspendedScrollY!==void 0&&window.scrollTo(0,s.suspendedScrollY)})}He=!1,ze=!1,pt.forEach(t=>t.complete(Ue)),pt.clear()}function $i(){pt.forEach(t=>{t.readKeyframes(),t.needsMeasurement&&(He=!0)})}function Il(){Ue=!0,$i(),ji(),Ue=!1}class Tn{constructor(e,n,s,i,r,o=!1){this.state="pending",this.isAsync=!1,this.needsMeasurement=!1,this.unresolvedKeyframes=[...e],this.onComplete=n,this.name=s,this.motionValue=i,this.element=r,this.isAsync=o}scheduleResolve(){this.state="scheduled",this.isAsync?(pt.add(this),ze||(ze=!0,C.read($i),C.resolveKeyframes(ji))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:n,element:s,motionValue:i}=this;if(e[0]===null){const r=i?.get(),o=e[e.length-1];if(r!==void 0)e[0]=r;else if(s&&n){const a=s.readValue(n,o);a!=null&&(e[0]=a)}e[0]===void 0&&(e[0]=o),i&&r===void 0&&i.set(e[0])}Dl(e)}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(e=!1){this.state="complete",this.onComplete(this.unresolvedKeyframes,this.finalKeyframe,e),pt.delete(this)}cancel(){this.state==="scheduled"&&(pt.delete(this),this.state="pending")}resume(){this.state==="pending"&&this.scheduleResolve()}}const Fl=t=>t.startsWith("--");function Bl(t,e,n){Fl(e)?t.style.setProperty(e,n):t.style[e]=n}const Ol=dn(()=>window.ScrollTimeline!==void 0),zl={};function Hl(t,e){const n=dn(t);return()=>zl[e]??n()}const Ii=Hl(()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0},"linearEasing"),Ct=([t,e,n,s])=>`cubic-bezier(${t}, ${e}, ${n}, ${s})`,ns={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Ct([0,.65,.55,1]),circOut:Ct([.55,0,1,.45]),backIn:Ct([.31,.01,.66,-.59]),backOut:Ct([.33,1.53,.69,.99])};function Fi(t,e){if(t)return typeof t=="function"?Ii()?Ri(t,e):"ease-out":wi(t)?Ct(t):Array.isArray(t)?t.map(n=>Fi(n,e)||ns.easeOut):ns[t]}function Ul(t,e,n,{delay:s=0,duration:i=300,repeat:r=0,repeatType:o="loop",ease:a="easeOut",times:c}={},u=void 0){const l={[e]:n};c&&(l.offset=c);const h=Fi(a,i);Array.isArray(h)&&(l.easing=h);const d={delay:s,duration:i,easing:Array.isArray(h)?"linear":h,fill:"both",iterations:r+1,direction:o==="reverse"?"alternate":"normal"};return u&&(d.pseudoElement=u),t.animate(l,d)}function Bi(t){return typeof t=="function"&&"applyToOptions"in t}function Wl({type:t,...e}){return Bi(t)&&Ii()?t.applyToOptions(e):(e.duration??(e.duration=300),e.ease??(e.ease="easeOut"),e)}class ql extends wn{constructor(e){if(super(),this.finishedTime=null,this.isStopped=!1,this.manualStartTime=null,!e)return;const{element:n,name:s,keyframes:i,pseudoElement:r,allowFlatten:o=!1,finalKeyframe:a,onComplete:c}=e;this.isPseudoElement=!!r,this.allowFlatten=o,this.options=e,hn(typeof e.type!="string");const u=Wl(e);this.animation=Ul(n,s,i,u,r),u.autoplay===!1&&this.animation.pause(),this.animation.onfinish=()=>{if(this.finishedTime=this.time,!r){const l=Mn(i,this.options,a,this.speed);this.updateMotionValue?this.updateMotionValue(l):Bl(n,s,l),this.animation.cancel()}c?.(),this.notifyFinished()}}play(){this.isStopped||(this.manualStartTime=null,this.animation.play(),this.state==="finished"&&this.updateFinished())}pause(){this.animation.pause()}complete(){this.animation.finish?.()}cancel(){try{this.animation.cancel()}catch{}}stop(){if(this.isStopped)return;this.isStopped=!0;const{state:e}=this;e==="idle"||e==="finished"||(this.updateMotionValue?this.updateMotionValue():this.commitStyles(),this.isPseudoElement||this.cancel())}commitStyles(){this.isPseudoElement||this.animation.commitStyles?.()}get duration(){const e=this.animation.effect?.getComputedTiming?.().duration||0;return H(Number(e))}get iterationDuration(){const{delay:e=0}=this.options||{};return this.duration+H(e)}get time(){return H(Number(this.animation.currentTime)||0)}set time(e){this.manualStartTime=null,this.finishedTime=null,this.animation.currentTime=Q(e)}get speed(){return this.animation.playbackRate}set speed(e){e<0&&(this.finishedTime=null),this.animation.playbackRate=e}get state(){return this.finishedTime!==null?"finished":this.animation.playState}get startTime(){return this.manualStartTime??Number(this.animation.startTime)}set startTime(e){this.manualStartTime=this.animation.startTime=e}attachTimeline({timeline:e,observe:n}){return this.allowFlatten&&this.animation.effect?.updateTiming({easing:"linear"}),this.animation.onfinish=null,e&&Ol()?(this.animation.timeline=e,U):n(this)}}const Oi={anticipate:vi,backInOut:gi,circInOut:ki};function Kl(t){return t in Oi}function Gl(t){typeof t.ease=="string"&&Kl(t.ease)&&(t.ease=Oi[t.ease])}const be=10;class Xl extends ql{constructor(e){Gl(e),Ni(e),super(e),e.startTime!==void 0&&(this.startTime=e.startTime),this.options=e}updateMotionValue(e){const{motionValue:n,onUpdate:s,onComplete:i,element:r,...o}=this.options;if(!n)return;if(e!==void 0){n.set(e);return}const a=new bn({...o,autoplay:!1}),c=Math.max(be,F.now()-this.startTime),u=Z(0,be,c-be);n.setWithVelocity(a.sample(Math.max(0,c-u)).value,a.sample(c).value,u),a.stop()}}const ss=(t,e)=>e==="zIndex"?!1:!!(typeof t=="number"||Array.isArray(t)||typeof t=="string"&&(rt.test(t)||t==="0")&&!t.startsWith("url("));function Yl(t){const e=t[0];if(t.length===1)return!0;for(let n=0;n<t.length;n++)if(t[n]!==e)return!0}function Zl(t,e,n,s){const i=t[0];if(i===null)return!1;if(e==="display"||e==="visibility")return!0;const r=t[t.length-1],o=ss(i,e),a=ss(r,e);return!o||!a?!1:Yl(t)||(n==="spring"||Bi(n))&&s}function We(t){t.duration=0,t.type="keyframes"}const Jl=new Set(["opacity","clipPath","filter","transform"]),Ql=dn(()=>Object.hasOwnProperty.call(Element.prototype,"animate"));function tu(t){const{motionValue:e,name:n,repeatDelay:s,repeatType:i,damping:r,type:o}=t;if(!(e?.owner?.current instanceof HTMLElement))return!1;const{onUpdate:c,transformTemplate:u}=e.owner.getProps();return Ql()&&n&&Jl.has(n)&&(n!=="transform"||!u)&&!c&&!s&&i!=="mirror"&&r!==0&&o!=="inertia"}const eu=40;class nu extends wn{constructor({autoplay:e=!0,delay:n=0,type:s="keyframes",repeat:i=0,repeatDelay:r=0,repeatType:o="loop",keyframes:a,name:c,motionValue:u,element:l,...h}){super(),this.stop=()=>{this._animation&&(this._animation.stop(),this.stopTimeline?.()),this.keyframeResolver?.cancel()},this.createdAt=F.now();const d={autoplay:e,delay:n,type:s,repeat:i,repeatDelay:r,repeatType:o,name:c,motionValue:u,element:l,...h},p=l?.KeyframeResolver||Tn;this.keyframeResolver=new p(a,(y,v,x)=>this.onKeyframesResolved(y,v,d,!x),c,u,l),this.keyframeResolver?.scheduleResolve()}onKeyframesResolved(e,n,s,i){this.keyframeResolver=void 0;const{name:r,type:o,velocity:a,delay:c,isHandoff:u,onUpdate:l}=s;this.resolvedAt=F.now(),Zl(e,r,o,a)||((tt.instantAnimations||!c)&&l?.(Mn(e,s,n)),e[0]=e[e.length-1],We(s),s.repeat=0);const d={startTime:i?this.resolvedAt?this.resolvedAt-this.createdAt>eu?this.resolvedAt:this.createdAt:this.createdAt:void 0,finalKeyframe:n,...s,keyframes:e},p=!u&&tu(d),y=d.motionValue?.owner?.current,v=p?new Xl({...d,element:y}):new bn(d);v.finished.then(()=>{this.notifyFinished()}).catch(U),this.pendingTimeline&&(this.stopTimeline=v.attachTimeline(this.pendingTimeline),this.pendingTimeline=void 0),this._animation=v}get finished(){return this._animation?this.animation.finished:this._finished}then(e,n){return this.finished.finally(e).then(()=>{})}get animation(){return this._animation||(this.keyframeResolver?.resume(),Il()),this._animation}get duration(){return this.animation.duration}get iterationDuration(){return this.animation.iterationDuration}get time(){return this.animation.time}set time(e){this.animation.time=e}get speed(){return this.animation.speed}get state(){return this.animation.state}set speed(e){this.animation.speed=e}get startTime(){return this.animation.startTime}attachTimeline(e){return this._animation?this.stopTimeline=this.animation.attachTimeline(e):this.pendingTimeline=e,()=>this.stop()}play(){this.animation.play()}pause(){this.animation.pause()}complete(){this.animation.complete()}cancel(){this._animation&&this.animation.cancel(),this.keyframeResolver?.cancel()}}function zi(t,e,n,s=0,i=1){const r=Array.from(t).sort((u,l)=>u.sortNodePosition(l)).indexOf(e),o=t.size,a=(o-1)*s;return typeof n=="function"?n(r,o):i===1?r*s:a-r*s}const su=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function iu(t){const e=su.exec(t);if(!e)return[,];const[,n,s,i]=e;return[`--${n??s}`,i]}function Hi(t,e,n=1){const[s,i]=iu(t);if(!s)return;const r=window.getComputedStyle(e).getPropertyValue(s);if(r){const o=r.trim();return li(o)?parseFloat(o):o}return yn(i)?Hi(i,e,n+1):i}const ou={type:"spring",stiffness:500,damping:25,restSpeed:10},ru=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),au={type:"keyframes",duration:.8},cu={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},lu=(t,{keyframes:e})=>e.length>2?au:Tt.has(t)?t.startsWith("scale")?ru(e[1]):ou:cu,uu=t=>t!==null;function hu(t,{repeat:e,repeatType:n="loop"},s){const i=t.filter(uu),r=e&&n!=="loop"&&e%2===1?0:i.length-1;return i[r]}function Pn(t,e){return t?.[e]??t?.default??t}function du({when:t,delay:e,delayChildren:n,staggerChildren:s,staggerDirection:i,repeat:r,repeatType:o,repeatDelay:a,from:c,elapsed:u,...l}){return!!Object.keys(l).length}const Sn=(t,e,n,s={},i,r)=>o=>{const a=Pn(s,t)||{},c=a.delay||s.delay||0;let{elapsed:u=0}=s;u=u-Q(c);const l={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:e.getVelocity(),...a,delay:-u,onUpdate:d=>{e.set(d),a.onUpdate&&a.onUpdate(d)},onComplete:()=>{o(),a.onComplete&&a.onComplete()},name:t,motionValue:e,element:r?void 0:i};du(a)||Object.assign(l,lu(t,l)),l.duration&&(l.duration=Q(l.duration)),l.repeatDelay&&(l.repeatDelay=Q(l.repeatDelay)),l.from!==void 0&&(l.keyframes[0]=l.from);let h=!1;if((l.type===!1||l.duration===0&&!l.repeatDelay)&&(We(l),l.delay===0&&(h=!0)),(tt.instantAnimations||tt.skipAnimations)&&(h=!0,We(l),l.delay=0),l.allowFlatten=!a.type&&!a.ease,h&&!r&&e.get()!==void 0){const d=hu(l.keyframes,a);if(d!==void 0){C.update(()=>{l.onUpdate(d),l.onComplete()});return}}return a.isSync?new bn(l):new nu(l)};function is(t){const e=[{},{}];return t?.values.forEach((n,s)=>{e[0][s]=n.get(),e[1][s]=n.getVelocity()}),e}function An(t,e,n,s){if(typeof e=="function"){const[i,r]=is(s);e=e(n!==void 0?n:t.custom,i,r)}if(typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"){const[i,r]=is(s);e=e(n!==void 0?n:t.custom,i,r)}return e}function kt(t,e,n){const s=t.getProps();return An(s,e,n!==void 0?n:s.custom,t)}const Ui=new Set(["width","height","top","left","right","bottom",...bt]),os=30,fu=t=>!isNaN(parseFloat(t));class pu{constructor(e,n={}){this.canTrackVelocity=null,this.events={},this.updateAndNotify=s=>{const i=F.now();if(this.updatedAt!==i&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(s),this.current!==this.prev&&(this.events.change?.notify(this.current),this.dependents))for(const r of this.dependents)r.dirty()},this.hasAnimated=!1,this.setCurrent(e),this.owner=n.owner}setCurrent(e){this.current=e,this.updatedAt=F.now(),this.canTrackVelocity===null&&e!==void 0&&(this.canTrackVelocity=fu(this.current))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,n){this.events[e]||(this.events[e]=new fn);const s=this.events[e].add(n);return e==="change"?()=>{s(),C.read(()=>{this.events.change.getSize()||this.stop()})}:s}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,n){this.passiveEffect=e,this.stopPassiveEffect=n}set(e){this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e)}setWithVelocity(e,n,s){this.set(n),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-s}jump(e,n=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,n&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}dirty(){this.events.change?.notify(this.current)}addDependent(e){this.dependents||(this.dependents=new Set),this.dependents.add(e)}removeDependent(e){this.dependents&&this.dependents.delete(e)}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=F.now();if(!this.canTrackVelocity||this.prevFrameValue===void 0||e-this.updatedAt>os)return 0;const n=Math.min(this.updatedAt-this.prevUpdatedAt,os);return di(parseFloat(this.current)-parseFloat(this.prevFrameValue),n)}start(e){return this.stop(),new Promise(n=>{this.hasAnimated=!0,this.animation=e(n),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.dependents?.clear(),this.events.destroy?.notify(),this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Mt(t,e){return new pu(t,e)}const qe=t=>Array.isArray(t);function mu(t,e,n){t.hasValue(e)?t.getValue(e).set(n):t.addValue(e,Mt(n))}function yu(t){return qe(t)?t[t.length-1]||0:t}function Cn(t,e){const n=kt(t,e);let{transitionEnd:s={},transition:i={},...r}=n||{};r={...r,...s};for(const o in r){const a=yu(r[o]);mu(t,o,a)}}const I=t=>!!(t&&t.getVelocity);function gu(t){return!!(I(t)&&t.add)}function Ke(t,e){const n=t.getValue("willChange");if(gu(n))return n.add(e);if(!n&&tt.WillChange){const s=new tt.WillChange("auto");t.addValue("willChange",s),s.add(e)}}function Vn(t){return t.replace(/([A-Z])/g,e=>`-${e.toLowerCase()}`)}const vu="framerAppearId",Wi="data-"+Vn(vu);function qi(t){return t.props[Wi]}function xu({protectedKeys:t,needsAnimating:e},n){const s=t.hasOwnProperty(n)&&e[n]!==!0;return e[n]=!1,s}function Ki(t,e,{delay:n=0,transitionOverride:s,type:i}={}){let{transition:r=t.getDefaultTransition(),transitionEnd:o,...a}=e;const c=r?.reduceMotion;s&&(r=s);const u=[],l=i&&t.animationState&&t.animationState.getState()[i];for(const h in a){const d=t.getValue(h,t.latestValues[h]??null),p=a[h];if(p===void 0||l&&xu(l,h))continue;const y={delay:n,...Pn(r||{},h)},v=d.get();if(v!==void 0&&!d.isAnimating&&!Array.isArray(p)&&p===v&&!y.velocity)continue;let x=!1;if(window.MotionHandoffAnimation){const g=qi(t);if(g){const b=window.MotionHandoffAnimation(g,h,C);b!==null&&(y.startTime=b,x=!0)}}Ke(t,h);const k=c??t.shouldReduceMotion;d.start(Sn(h,d,p,k&&Ui.has(h)?{type:!1}:y,t,x));const w=d.animation;w&&u.push(w)}return o&&Promise.all(u).then(()=>{C.update(()=>{o&&Cn(t,o)})}),u}function Ge(t,e,n={}){const s=kt(t,e,n.type==="exit"?t.presenceContext?.custom:void 0);let{transition:i=t.getDefaultTransition()||{}}=s||{};n.transitionOverride&&(i=n.transitionOverride);const r=s?()=>Promise.all(Ki(t,s,n)):()=>Promise.resolve(),o=t.variantChildren&&t.variantChildren.size?(c=0)=>{const{delayChildren:u=0,staggerChildren:l,staggerDirection:h}=i;return ku(t,e,c,u,l,h,n)}:()=>Promise.resolve(),{when:a}=i;if(a){const[c,u]=a==="beforeChildren"?[r,o]:[o,r];return c().then(()=>u())}else return Promise.all([r(),o(n.delay)])}function ku(t,e,n=0,s=0,i=0,r=1,o){const a=[];for(const c of t.variantChildren)c.notify("AnimationStart",e),a.push(Ge(c,e,{...o,delay:n+(typeof s=="function"?0:s)+zi(t.variantChildren,c,s,i,r)}).then(()=>c.notify("AnimationComplete",e)));return Promise.all(a)}function Gi(t,e,n={}){t.notify("AnimationStart",e);let s;if(Array.isArray(e)){const i=e.map(r=>Ge(t,r,n));s=Promise.all(i)}else if(typeof e=="string")s=Ge(t,e,n);else{const i=typeof e=="function"?kt(t,e,n.custom):e;s=Promise.all(Ki(t,i,n))}return s.then(()=>{t.notify("AnimationComplete",e)})}const Mu={test:t=>t==="auto",parse:t=>t},Xi=t=>e=>e.test(t),Yi=[wt,M,Y,nt,Yc,Xc,Mu],rs=t=>Yi.find(Xi(t));function wu(t){return typeof t=="number"?t===0:t!==null?t==="none"||t==="0"||hi(t):!0}const bu=new Set(["brightness","contrast","saturate","opacity"]);function Tu(t){const[e,n]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;const[s]=n.match(gn)||[];if(!s)return t;const i=n.replace(s,"");let r=bu.has(e)?1:0;return s!==n&&(r*=100),e+"("+r+i+")"}const Pu=/\b([a-z-]*)\(.*?\)/gu,Xe={...rt,getAnimatableNone:t=>{const e=t.match(Pu);return e?e.map(Tu).join(" "):t}},as={...wt,transform:Math.round},Su={rotate:nt,rotateX:nt,rotateY:nt,rotateZ:nt,scale:Kt,scaleX:Kt,scaleY:Kt,scaleZ:Kt,skew:nt,skewX:nt,skewY:nt,distance:M,translateX:M,translateY:M,translateZ:M,x:M,y:M,z:M,perspective:M,transformPerspective:M,opacity:Nt,originX:Kn,originY:Kn,originZ:M},Dn={borderWidth:M,borderTopWidth:M,borderRightWidth:M,borderBottomWidth:M,borderLeftWidth:M,borderRadius:M,borderTopLeftRadius:M,borderTopRightRadius:M,borderBottomRightRadius:M,borderBottomLeftRadius:M,width:M,maxWidth:M,height:M,maxHeight:M,top:M,right:M,bottom:M,left:M,inset:M,insetBlock:M,insetBlockStart:M,insetBlockEnd:M,insetInline:M,insetInlineStart:M,insetInlineEnd:M,padding:M,paddingTop:M,paddingRight:M,paddingBottom:M,paddingLeft:M,paddingBlock:M,paddingBlockStart:M,paddingBlockEnd:M,paddingInline:M,paddingInlineStart:M,paddingInlineEnd:M,margin:M,marginTop:M,marginRight:M,marginBottom:M,marginLeft:M,marginBlock:M,marginBlockStart:M,marginBlockEnd:M,marginInline:M,marginInlineStart:M,marginInlineEnd:M,fontSize:M,backgroundPositionX:M,backgroundPositionY:M,...Su,zIndex:as,fillOpacity:Nt,strokeOpacity:Nt,numOctaves:as},Au={...Dn,color:E,backgroundColor:E,outlineColor:E,fill:E,stroke:E,borderColor:E,borderTopColor:E,borderRightColor:E,borderBottomColor:E,borderLeftColor:E,filter:Xe,WebkitFilter:Xe},Zi=t=>Au[t];function Ji(t,e){let n=Zi(t);return n!==Xe&&(n=rt),n.getAnimatableNone?n.getAnimatableNone(e):void 0}const Cu=new Set(["auto","none","0"]);function Vu(t,e,n){let s=0,i;for(;s<t.length&&!i;){const r=t[s];typeof r=="string"&&!Cu.has(r)&&jt(r).values.length&&(i=t[s]),s++}if(i&&n)for(const r of e)t[r]=Ji(n,i)}class Du extends Tn{constructor(e,n,s,i,r){super(e,n,s,i,r,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:n,name:s}=this;if(!n||!n.current)return;super.readKeyframes();for(let l=0;l<e.length;l++){let h=e[l];if(typeof h=="string"&&(h=h.trim(),yn(h))){const d=Hi(h,n.current);d!==void 0&&(e[l]=d),l===e.length-1&&(this.finalKeyframe=h)}}if(this.resolveNoneKeyframes(),!Ui.has(s)||e.length!==2)return;const[i,r]=e,o=rs(i),a=rs(r),c=qn(i),u=qn(r);if(c!==u&&it[s]){this.needsMeasurement=!0;return}if(o!==a)if(es(o)&&es(a))for(let l=0;l<e.length;l++){const h=e[l];typeof h=="string"&&(e[l]=parseFloat(h))}else it[s]&&(this.needsMeasurement=!0)}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:n}=this,s=[];for(let i=0;i<e.length;i++)(e[i]===null||wu(e[i]))&&s.push(i);s.length&&Vu(e,s,n)}measureInitialState(){const{element:e,unresolvedKeyframes:n,name:s}=this;if(!e||!e.current)return;s==="height"&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=it[s](e.measureViewportBox(),window.getComputedStyle(e.current)),n[0]=this.measuredOrigin;const i=n[n.length-1];i!==void 0&&e.getValue(s,i).jump(i,!1)}measureEndState(){const{element:e,name:n,unresolvedKeyframes:s}=this;if(!e||!e.current)return;const i=e.getValue(n);i&&i.jump(this.measuredOrigin,!1);const r=s.length-1,o=s[r];s[r]=it[n](e.measureViewportBox(),window.getComputedStyle(e.current)),o!==null&&this.finalKeyframe===void 0&&(this.finalKeyframe=o),this.removedTransforms?.length&&this.removedTransforms.forEach(([a,c])=>{e.getValue(a).set(c)}),this.resolveNoneKeyframes()}}function _u(t,e,n){if(t==null)return[];if(t instanceof EventTarget)return[t];if(typeof t=="string"){let s=document;const i=n?.[t]??s.querySelectorAll(t);return i?Array.from(i):[]}return Array.from(t).filter(s=>s!=null)}const Qi=(t,e)=>e&&typeof t=="number"?e.transform(t):t;function Ye(t){return ui(t)&&"offsetHeight"in t}const{schedule:_n}=bi(queueMicrotask,!1),q={x:!1,y:!1};function to(){return q.x||q.y}function Eu(t){return t==="x"||t==="y"?q[t]?null:(q[t]=!0,()=>{q[t]=!1}):q.x||q.y?null:(q.x=q.y=!0,()=>{q.x=q.y=!1})}function eo(t,e){const n=_u(t),s=new AbortController,i={passive:!0,...e,signal:s.signal};return[n,i,()=>s.abort()]}function cs(t){return!(t.pointerType==="touch"||to())}function Ru(t,e,n={}){const[s,i,r]=eo(t,n),o=a=>{if(!cs(a))return;const{target:c}=a,u=e(c,a);if(typeof u!="function"||!c)return;const l=h=>{cs(h)&&(u(h),c.removeEventListener("pointerleave",l))};c.addEventListener("pointerleave",l,i)};return s.forEach(a=>{a.addEventListener("pointerenter",o,i)}),r}const no=(t,e)=>e?t===e?!0:no(t,e.parentElement):!1,En=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1,Lu=new Set(["BUTTON","INPUT","SELECT","TEXTAREA","A"]);function so(t){return Lu.has(t.tagName)||t.isContentEditable===!0}const Jt=new WeakSet;function ls(t){return e=>{e.key==="Enter"&&t(e)}}function Te(t,e){t.dispatchEvent(new PointerEvent("pointer"+e,{isPrimary:!0,bubbles:!0}))}const Nu=(t,e)=>{const n=t.currentTarget;if(!n)return;const s=ls(()=>{if(Jt.has(n))return;Te(n,"down");const i=ls(()=>{Te(n,"up")}),r=()=>Te(n,"cancel");n.addEventListener("keyup",i,e),n.addEventListener("blur",r,e)});n.addEventListener("keydown",s,e),n.addEventListener("blur",()=>n.removeEventListener("keydown",s),e)};function us(t){return En(t)&&!to()}function ju(t,e,n={}){const[s,i,r]=eo(t,n),o=a=>{const c=a.currentTarget;if(!us(a))return;Jt.add(c);const u=e(c,a),l=(p,y)=>{window.removeEventListener("pointerup",h),window.removeEventListener("pointercancel",d),Jt.has(c)&&Jt.delete(c),us(p)&&typeof u=="function"&&u(p,{success:y})},h=p=>{l(p,c===window||c===document||n.useGlobalTarget||no(c,p.target))},d=p=>{l(p,!1)};window.addEventListener("pointerup",h,i),window.addEventListener("pointercancel",d,i)};return s.forEach(a=>{(n.useGlobalTarget?window:a).addEventListener("pointerdown",o,i),Ye(a)&&(a.addEventListener("focus",u=>Nu(u,i)),!so(a)&&!a.hasAttribute("tabindex")&&(a.tabIndex=0))}),r}function io(t){return ui(t)&&"ownerSVGElement"in t}function $u(t){return io(t)&&t.tagName==="svg"}const Iu=[...Yi,E,rt],Fu=t=>Iu.find(Xi(t)),hs=()=>({translate:0,scale:1,origin:0,originPoint:0}),gt=()=>({x:hs(),y:hs()}),ds=()=>({min:0,max:0}),L=()=>({x:ds(),y:ds()}),Ze={current:null},oo={current:!1},Bu=typeof window<"u";function Ou(){if(oo.current=!0,!!Bu)if(window.matchMedia){const t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Ze.current=t.matches;t.addEventListener("change",e),e()}else Ze.current=!1}const zu=new WeakMap;function he(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}function $t(t){return typeof t=="string"||Array.isArray(t)}const Rn=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Ln=["initial",...Rn];function de(t){return he(t.animate)||Ln.some(e=>$t(t[e]))}function ro(t){return!!(de(t)||t.variants)}function Hu(t,e,n){for(const s in e){const i=e[s],r=n[s];if(I(i))t.addValue(s,i);else if(I(r))t.addValue(s,Mt(i,{owner:t}));else if(r!==i)if(t.hasValue(s)){const o=t.getValue(s);o.liveStyle===!0?o.jump(i):o.hasAnimated||o.set(i)}else{const o=t.getStaticValue(s);t.addValue(s,Mt(o!==void 0?o:i,{owner:t}))}}for(const s in n)e[s]===void 0&&t.removeValue(s);return e}const fs=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];let oe={};function ao(t){oe=t}function Uu(){return oe}class Wu{scrapeMotionValuesFromProps(e,n,s){return{}}constructor({parent:e,props:n,presenceContext:s,reducedMotionConfig:i,blockInitialAnimation:r,visualState:o},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=Tn,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const d=F.now();this.renderScheduledAt<d&&(this.renderScheduledAt=d,C.render(this.render,!1,!0))};const{latestValues:c,renderState:u}=o;this.latestValues=c,this.baseTarget={...c},this.initialValues=n.initial?{...c}:{},this.renderState=u,this.parent=e,this.props=n,this.presenceContext=s,this.depth=e?e.depth+1:0,this.reducedMotionConfig=i,this.options=a,this.blockInitialAnimation=!!r,this.isControllingVariants=de(n),this.isVariantNode=ro(n),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!!(e&&e.current);const{willChange:l,...h}=this.scrapeMotionValuesFromProps(n,{},this);for(const d in h){const p=h[d];c[d]!==void 0&&I(p)&&p.set(c[d])}}mount(e){this.current=e,zu.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach((n,s)=>this.bindToMotionValue(s,n)),this.reducedMotionConfig==="never"?this.shouldReduceMotion=!1:this.reducedMotionConfig==="always"?this.shouldReduceMotion=!0:(oo.current||Ou(),this.shouldReduceMotion=Ze.current),this.parent?.addChild(this),this.update(this.props,this.presenceContext)}unmount(){this.projection&&this.projection.unmount(),ot(this.notifyUpdate),ot(this.render),this.valueSubscriptions.forEach(e=>e()),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent?.removeChild(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const n=this.features[e];n&&(n.unmount(),n.isMounted=!1)}this.current=null}addChild(e){this.children.add(e),this.enteringChildren??(this.enteringChildren=new Set),this.enteringChildren.add(e)}removeChild(e){this.children.delete(e),this.enteringChildren&&this.enteringChildren.delete(e)}bindToMotionValue(e,n){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const s=Tt.has(e);s&&this.onBindTransform&&this.onBindTransform();const i=n.on("change",o=>{this.latestValues[e]=o,this.props.onUpdate&&C.preRender(this.notifyUpdate),s&&this.projection&&(this.projection.isTransformDirty=!0),this.scheduleRender()});let r;typeof window<"u"&&window.MotionCheckAppearSync&&(r=window.MotionCheckAppearSync(this,e,n)),this.valueSubscriptions.set(e,()=>{i(),r&&r(),n.owner&&n.stop()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}updateFeatures(){let e="animation";for(e in oe){const n=oe[e];if(!n)continue;const{isEnabled:s,Feature:i}=n;if(!this.features[e]&&i&&s(this.props)&&(this.features[e]=new i(this)),this.features[e]){const r=this.features[e];r.isMounted?r.update():(r.mount(),r.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):L()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,n){this.latestValues[e]=n}update(e,n){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=n;for(let s=0;s<fs.length;s++){const i=fs[s];this.propEventSubscriptions[i]&&(this.propEventSubscriptions[i](),delete this.propEventSubscriptions[i]);const r="on"+i,o=e[r];o&&(this.propEventSubscriptions[i]=this.on(i,o))}this.prevMotionValues=Hu(this,this.scrapeMotionValuesFromProps(e,this.prevProps||{},this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const n=this.getClosestVariantNode();if(n)return n.variantChildren&&n.variantChildren.add(e),()=>n.variantChildren.delete(e)}addValue(e,n){const s=this.values.get(e);n!==s&&(s&&this.removeValue(e),this.bindToMotionValue(e,n),this.values.set(e,n),this.latestValues[e]=n.get())}removeValue(e){this.values.delete(e);const n=this.valueSubscriptions.get(e);n&&(n(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,n){if(this.props.values&&this.props.values[e])return this.props.values[e];let s=this.values.get(e);return s===void 0&&n!==void 0&&(s=Mt(n===null?void 0:n,{owner:this}),this.addValue(e,s)),s}readValue(e,n){let s=this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:this.getBaseTargetFromProps(this.props,e)??this.readValueFromInstance(this.current,e,this.options);return s!=null&&(typeof s=="string"&&(li(s)||hi(s))?s=parseFloat(s):!Fu(s)&&rt.test(n)&&(s=Ji(e,n)),this.setBaseTarget(e,I(s)?s.get():s)),I(s)?s.get():s}setBaseTarget(e,n){this.baseTarget[e]=n}getBaseTarget(e){const{initial:n}=this.props;let s;if(typeof n=="string"||typeof n=="object"){const r=An(this.props,n,this.presenceContext?.custom);r&&(s=r[e])}if(n&&s!==void 0)return s;const i=this.getBaseTargetFromProps(this.props,e);return i!==void 0&&!I(i)?i:this.initialValues[e]!==void 0&&s===void 0?void 0:this.baseTarget[e]}on(e,n){return this.events[e]||(this.events[e]=new fn),this.events[e].add(n)}notify(e,...n){this.events[e]&&this.events[e].notify(...n)}scheduleRenderMicrotask(){_n.render(this.render)}}class co extends Wu{constructor(){super(...arguments),this.KeyframeResolver=Du}sortInstanceNodePosition(e,n){return e.compareDocumentPosition(n)&2?1:-1}getBaseTargetFromProps(e,n){const s=e.style;return s?s[n]:void 0}removeValueFromRenderState(e,{vars:n,style:s}){delete n[e],delete s[e]}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;I(e)&&(this.childSubscription=e.on("change",n=>{this.current&&(this.current.textContent=`${n}`)}))}}class at{constructor(e){this.isMounted=!1,this.node=e}update(){}}function lo({top:t,left:e,right:n,bottom:s}){return{x:{min:e,max:n},y:{min:t,max:s}}}function qu({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function Ku(t,e){if(!e)return t;const n=e({x:t.left,y:t.top}),s=e({x:t.right,y:t.bottom});return{top:n.y,left:n.x,bottom:s.y,right:s.x}}function Pe(t){return t===void 0||t===1}function Je({scale:t,scaleX:e,scaleY:n}){return!Pe(t)||!Pe(e)||!Pe(n)}function ht(t){return Je(t)||uo(t)||t.z||t.rotate||t.rotateX||t.rotateY||t.skewX||t.skewY}function uo(t){return ps(t.x)||ps(t.y)}function ps(t){return t&&t!=="0%"}function re(t,e,n){const s=t-n,i=e*s;return n+i}function ms(t,e,n,s,i){return i!==void 0&&(t=re(t,i,s)),re(t,n,s)+e}function Qe(t,e=0,n=1,s,i){t.min=ms(t.min,e,n,s,i),t.max=ms(t.max,e,n,s,i)}function ho(t,{x:e,y:n}){Qe(t.x,e.translate,e.scale,e.originPoint),Qe(t.y,n.translate,n.scale,n.originPoint)}const ys=.999999999999,gs=1.0000000000001;function Gu(t,e,n,s=!1){const i=n.length;if(!i)return;e.x=e.y=1;let r,o;for(let a=0;a<i;a++){r=n[a],o=r.projectionDelta;const{visualElement:c}=r.options;c&&c.props.style&&c.props.style.display==="contents"||(s&&r.options.layoutScroll&&r.scroll&&r!==r.root&&xt(t,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),o&&(e.x*=o.x.scale,e.y*=o.y.scale,ho(t,o)),s&&ht(r.latestValues)&&xt(t,r.latestValues))}e.x<gs&&e.x>ys&&(e.x=1),e.y<gs&&e.y>ys&&(e.y=1)}function vt(t,e){t.min=t.min+e,t.max=t.max+e}function vs(t,e,n,s,i=.5){const r=V(t.min,t.max,i);Qe(t,e,n,r,s)}function xt(t,e){vs(t.x,e.x,e.scaleX,e.scale,e.originX),vs(t.y,e.y,e.scaleY,e.scale,e.originY)}function fo(t,e){return lo(Ku(t.getBoundingClientRect(),e))}function Xu(t,e,n){const s=fo(t,n),{scroll:i}=e;return i&&(vt(s.x,i.offset.x),vt(s.y,i.offset.y)),s}const Yu={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},Zu=bt.length;function Ju(t,e,n){let s="",i=!0;for(let r=0;r<Zu;r++){const o=bt[r],a=t[o];if(a===void 0)continue;let c=!0;if(typeof a=="number")c=a===(o.startsWith("scale")?1:0);else{const u=parseFloat(a);c=o.startsWith("scale")?u===1:u===0}if(!c||n){const u=Qi(a,Dn[o]);if(!c){i=!1;const l=Yu[o]||o;s+=`${l}(${u}) `}n&&(e[o]=u)}}return s=s.trim(),n?s=n(e,i?"":s):i&&(s="none"),s}function Nn(t,e,n){const{style:s,vars:i,transformOrigin:r}=t;let o=!1,a=!1;for(const c in e){const u=e[c];if(Tt.has(c)){o=!0;continue}else if(Pi(c)){i[c]=u;continue}else{const l=Qi(u,Dn[c]);c.startsWith("origin")?(a=!0,r[c]=l):s[c]=l}}if(e.transform||(o||n?s.transform=Ju(e,t.transform,n):s.transform&&(s.transform="none")),a){const{originX:c="50%",originY:u="50%",originZ:l=0}=r;s.transformOrigin=`${c} ${u} ${l}`}}function po(t,{style:e,vars:n},s,i){const r=t.style;let o;for(o in e)r[o]=e[o];i?.applyProjectionStyles(r,s);for(o in n)r.setProperty(o,n[o])}function xs(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}const At={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(M.test(t))t=parseFloat(t);else return t;const n=xs(t,e.target.x),s=xs(t,e.target.y);return`${n}% ${s}%`}},Qu={correct:(t,{treeScale:e,projectionDelta:n})=>{const s=t,i=rt.parse(t);if(i.length>5)return s;const r=rt.createTransformer(t),o=typeof i[0]!="number"?1:0,a=n.x.scale*e.x,c=n.y.scale*e.y;i[0+o]/=a,i[1+o]/=c;const u=V(a,c,.5);return typeof i[2+o]=="number"&&(i[2+o]/=u),typeof i[3+o]=="number"&&(i[3+o]/=u),r(i)}},tn={borderRadius:{...At,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:At,borderTopRightRadius:At,borderBottomLeftRadius:At,borderBottomRightRadius:At,boxShadow:Qu};function mo(t,{layout:e,layoutId:n}){return Tt.has(t)||t.startsWith("origin")||(e||n!==void 0)&&(!!tn[t]||t==="opacity")}function jn(t,e,n){const s=t.style,i=e?.style,r={};if(!s)return r;for(const o in s)(I(s[o])||i&&I(i[o])||mo(o,t)||n?.getValue(o)?.liveStyle!==void 0)&&(r[o]=s[o]);return r}function th(t){return window.getComputedStyle(t)}class eh extends co{constructor(){super(...arguments),this.type="html",this.renderInstance=po}readValueFromInstance(e,n){if(Tt.has(n))return this.projection?.isProjecting?Be(n):Rl(e,n);{const s=th(e),i=(Pi(n)?s.getPropertyValue(n):s[n])||0;return typeof i=="string"?i.trim():i}}measureInstanceViewportBox(e,{transformPagePoint:n}){return fo(e,n)}build(e,n,s){Nn(e,n,s.transformTemplate)}scrapeMotionValuesFromProps(e,n,s){return jn(e,n,s)}}const nh={offset:"stroke-dashoffset",array:"stroke-dasharray"},sh={offset:"strokeDashoffset",array:"strokeDasharray"};function ih(t,e,n=1,s=0,i=!0){t.pathLength=1;const r=i?nh:sh;t[r.offset]=`${-s}`,t[r.array]=`${e} ${n}`}const oh=["offsetDistance","offsetPath","offsetRotate","offsetAnchor"];function yo(t,{attrX:e,attrY:n,attrScale:s,pathLength:i,pathSpacing:r=1,pathOffset:o=0,...a},c,u,l){if(Nn(t,a,u),c){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};const{attrs:h,style:d}=t;h.transform&&(d.transform=h.transform,delete h.transform),(d.transform||h.transformOrigin)&&(d.transformOrigin=h.transformOrigin??"50% 50%",delete h.transformOrigin),d.transform&&(d.transformBox=l?.transformBox??"fill-box",delete h.transformBox);for(const p of oh)h[p]!==void 0&&(d[p]=h[p],delete h[p]);e!==void 0&&(h.x=e),n!==void 0&&(h.y=n),s!==void 0&&(h.scale=s),i!==void 0&&ih(h,i,r,o,!1)}const go=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"]),vo=t=>typeof t=="string"&&t.toLowerCase()==="svg";function rh(t,e,n,s){po(t,e,void 0,s);for(const i in e.attrs)t.setAttribute(go.has(i)?i:Vn(i),e.attrs[i])}function xo(t,e,n){const s=jn(t,e,n);for(const i in t)if(I(t[i])||I(e[i])){const r=bt.indexOf(i)!==-1?"attr"+i.charAt(0).toUpperCase()+i.substring(1):i;s[r]=t[i]}return s}class ah extends co{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=L}getBaseTargetFromProps(e,n){return e[n]}readValueFromInstance(e,n){if(Tt.has(n)){const s=Zi(n);return s&&s.default||0}return n=go.has(n)?n:Vn(n),e.getAttribute(n)}scrapeMotionValuesFromProps(e,n,s){return xo(e,n,s)}build(e,n,s){yo(e,n,this.isSVGTag,s.transformTemplate,s.style)}renderInstance(e,n,s,i){rh(e,n,s,i)}mount(e){this.isSVGTag=vo(e.tagName),super.mount(e)}}const ch=Ln.length;function ko(t){if(!t)return;if(!t.isControllingVariants){const n=t.parent?ko(t.parent)||{}:{};return t.props.initial!==void 0&&(n.initial=t.props.initial),n}const e={};for(let n=0;n<ch;n++){const s=Ln[n],i=t.props[s];($t(i)||i===!1)&&(e[s]=i)}return e}function Mo(t,e){if(!Array.isArray(e))return!1;const n=e.length;if(n!==t.length)return!1;for(let s=0;s<n;s++)if(e[s]!==t[s])return!1;return!0}const lh=[...Rn].reverse(),uh=Rn.length;function hh(t){return e=>Promise.all(e.map(({animation:n,options:s})=>Gi(t,n,s)))}function dh(t){let e=hh(t),n=ks(),s=!0;const i=c=>(u,l)=>{const h=kt(t,l,c==="exit"?t.presenceContext?.custom:void 0);if(h){const{transition:d,transitionEnd:p,...y}=h;u={...u,...y,...p}}return u};function r(c){e=c(t)}function o(c){const{props:u}=t,l=ko(t.parent)||{},h=[],d=new Set;let p={},y=1/0;for(let x=0;x<uh;x++){const k=lh[x],w=n[k],g=u[k]!==void 0?u[k]:l[k],b=$t(g),T=k===c?w.isActive:null;T===!1&&(y=x);let A=g===l[k]&&g!==u[k]&&b;if(A&&s&&t.manuallyAnimateOnMount&&(A=!1),w.protectedKeys={...p},!w.isActive&&T===null||!g&&!w.prevProp||he(g)||typeof g=="boolean")continue;const _=fh(w.prevProp,g);let P=_||k===c&&w.isActive&&!A&&b||x>y&&b,S=!1;const R=Array.isArray(g)?g:[g];let K=R.reduce(i(k),{});T===!1&&(K={});const{prevResolvedValues:Pt={}}=w,ye={...Pt,...K},Bn=j=>{P=!0,d.has(j)&&(S=!0,d.delete(j)),w.needsAnimating[j]=!0;const O=t.getValue(j);O&&(O.liveStyle=!1)};for(const j in ye){const O=K[j],lt=Pt[j];if(p.hasOwnProperty(j))continue;let mt=!1;qe(O)&&qe(lt)?mt=!Mo(O,lt):mt=O!==lt,mt?O!=null?Bn(j):d.add(j):O!==void 0&&d.has(j)?Bn(j):w.protectedKeys[j]=!0}w.prevProp=g,w.prevResolvedValues=K,w.isActive&&(p={...p,...K}),s&&t.blockInitialAnimation&&(P=!1);const On=A&&_;P&&(!On||S)&&h.push(...R.map(j=>{const O={type:k};if(typeof j=="string"&&s&&!On&&t.manuallyAnimateOnMount&&t.parent){const{parent:lt}=t,mt=kt(lt,j);if(lt.enteringChildren&&mt){const{delayChildren:Qo}=mt.transition||{};O.delay=zi(lt.enteringChildren,t,Qo)}}return{animation:j,options:O}}))}if(d.size){const x={};if(typeof u.initial!="boolean"){const k=kt(t,Array.isArray(u.initial)?u.initial[0]:u.initial);k&&k.transition&&(x.transition=k.transition)}d.forEach(k=>{const w=t.getBaseTarget(k),g=t.getValue(k);g&&(g.liveStyle=!0),x[k]=w??null}),h.push({animation:x})}let v=!!h.length;return s&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(v=!1),s=!1,v?e(h):Promise.resolve()}function a(c,u){if(n[c].isActive===u)return Promise.resolve();t.variantChildren?.forEach(h=>h.animationState?.setActive(c,u)),n[c].isActive=u;const l=o(c);for(const h in n)n[h].protectedKeys={};return l}return{animateChanges:o,setActive:a,setAnimateFunction:r,getState:()=>n,reset:()=>{n=ks()}}}function fh(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Mo(e,t):!1}function ut(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function ks(){return{animate:ut(!0),whileInView:ut(),whileHover:ut(),whileTap:ut(),whileDrag:ut(),whileFocus:ut(),exit:ut()}}function Ms(t,e){t.min=e.min,t.max=e.max}function W(t,e){Ms(t.x,e.x),Ms(t.y,e.y)}function ws(t,e){t.translate=e.translate,t.scale=e.scale,t.originPoint=e.originPoint,t.origin=e.origin}const wo=1e-4,ph=1-wo,mh=1+wo,bo=.01,yh=0-bo,gh=0+bo;function B(t){return t.max-t.min}function vh(t,e,n){return Math.abs(t-e)<=n}function bs(t,e,n,s=.5){t.origin=s,t.originPoint=V(e.min,e.max,t.origin),t.scale=B(n)/B(e),t.translate=V(n.min,n.max,t.origin)-t.originPoint,(t.scale>=ph&&t.scale<=mh||isNaN(t.scale))&&(t.scale=1),(t.translate>=yh&&t.translate<=gh||isNaN(t.translate))&&(t.translate=0)}function Et(t,e,n,s){bs(t.x,e.x,n.x,s?s.originX:void 0),bs(t.y,e.y,n.y,s?s.originY:void 0)}function Ts(t,e,n){t.min=n.min+e.min,t.max=t.min+B(e)}function xh(t,e,n){Ts(t.x,e.x,n.x),Ts(t.y,e.y,n.y)}function Ps(t,e,n){t.min=e.min-n.min,t.max=t.min+B(e)}function ae(t,e,n){Ps(t.x,e.x,n.x),Ps(t.y,e.y,n.y)}function Ss(t,e,n,s,i){return t-=e,t=re(t,1/n,s),i!==void 0&&(t=re(t,1/i,s)),t}function kh(t,e=0,n=1,s=.5,i,r=t,o=t){if(Y.test(e)&&(e=parseFloat(e),e=V(o.min,o.max,e/100)-o.min),typeof e!="number")return;let a=V(r.min,r.max,s);t===r&&(a-=e),t.min=Ss(t.min,e,n,a,i),t.max=Ss(t.max,e,n,a,i)}function As(t,e,[n,s,i],r,o){kh(t,e[n],e[s],e[i],e.scale,r,o)}const Mh=["x","scaleX","originX"],wh=["y","scaleY","originY"];function Cs(t,e,n,s){As(t.x,e,Mh,n?n.x:void 0,s?s.x:void 0),As(t.y,e,wh,n?n.y:void 0,s?s.y:void 0)}function Vs(t){return t.translate===0&&t.scale===1}function To(t){return Vs(t.x)&&Vs(t.y)}function Ds(t,e){return t.min===e.min&&t.max===e.max}function bh(t,e){return Ds(t.x,e.x)&&Ds(t.y,e.y)}function _s(t,e){return Math.round(t.min)===Math.round(e.min)&&Math.round(t.max)===Math.round(e.max)}function Po(t,e){return _s(t.x,e.x)&&_s(t.y,e.y)}function Es(t){return B(t.x)/B(t.y)}function Rs(t,e){return t.translate===e.translate&&t.scale===e.scale&&t.originPoint===e.originPoint}function z(t){return[t("x"),t("y")]}function Th(t,e,n){let s="";const i=t.x.translate/e.x,r=t.y.translate/e.y,o=n?.z||0;if((i||r||o)&&(s=`translate3d(${i}px, ${r}px, ${o}px) `),(e.x!==1||e.y!==1)&&(s+=`scale(${1/e.x}, ${1/e.y}) `),n){const{transformPerspective:u,rotate:l,rotateX:h,rotateY:d,skewX:p,skewY:y}=n;u&&(s=`perspective(${u}px) ${s}`),l&&(s+=`rotate(${l}deg) `),h&&(s+=`rotateX(${h}deg) `),d&&(s+=`rotateY(${d}deg) `),p&&(s+=`skewX(${p}deg) `),y&&(s+=`skewY(${y}deg) `)}const a=t.x.scale*e.x,c=t.y.scale*e.y;return(a!==1||c!==1)&&(s+=`scale(${a}, ${c})`),s||"none"}const So=["TopLeft","TopRight","BottomLeft","BottomRight"],Ph=So.length,Ls=t=>typeof t=="string"?parseFloat(t):t,Ns=t=>typeof t=="number"||M.test(t);function Sh(t,e,n,s,i,r){i?(t.opacity=V(0,n.opacity??1,Ah(s)),t.opacityExit=V(e.opacity??1,0,Ch(s))):r&&(t.opacity=V(e.opacity??1,n.opacity??1,s));for(let o=0;o<Ph;o++){const a=`border${So[o]}Radius`;let c=js(e,a),u=js(n,a);if(c===void 0&&u===void 0)continue;c||(c=0),u||(u=0),c===0||u===0||Ns(c)===Ns(u)?(t[a]=Math.max(V(Ls(c),Ls(u),s),0),(Y.test(u)||Y.test(c))&&(t[a]+="%")):t[a]=u}(e.rotate||n.rotate)&&(t.rotate=V(e.rotate||0,n.rotate||0,s))}function js(t,e){return t[e]!==void 0?t[e]:t.borderRadius}const Ah=Ao(0,.5,xi),Ch=Ao(.5,.95,U);function Ao(t,e,n){return s=>s<t?0:s>e?1:n(Lt(t,e,s))}function Vh(t,e,n){const s=I(t)?t:Mt(t);return s.start(Sn("",s,e,n)),s.animation}function It(t,e,n,s={passive:!0}){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n)}const Dh=(t,e)=>t.depth-e.depth;class _h{constructor(){this.children=[],this.isDirty=!1}add(e){ln(this.children,e),this.isDirty=!0}remove(e){un(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Dh),this.isDirty=!1,this.children.forEach(e)}}function Eh(t,e){const n=F.now(),s=({timestamp:i})=>{const r=i-n;r>=e&&(ot(s),t(r-e))};return C.setup(s,!0),()=>ot(s)}function Qt(t){return I(t)?t.get():t}class Rh{constructor(){this.members=[]}add(e){ln(this.members,e),e.scheduleRender()}remove(e){if(un(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const n=this.members[this.members.length-1];n&&this.promote(n)}}relegate(e){const n=this.members.findIndex(i=>e===i);if(n===0)return!1;let s;for(let i=n;i>=0;i--){const r=this.members[i];if(r.isPresent!==!1){s=r;break}}return s?(this.promote(s),!0):!1}promote(e,n){const s=this.lead;if(e!==s&&(this.prevLead=s,this.lead=e,e.show(),s)){s.instance&&s.scheduleRender(),e.scheduleRender();const i=s.options.layoutDependency,r=e.options.layoutDependency;i!==void 0&&r!==void 0&&i===r||(e.resumeFrom=s,n&&(e.resumeFrom.preserveOpacity=!0),s.snapshot&&(e.snapshot=s.snapshot,e.snapshot.latestValues=s.animationValues||s.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0));const{crossfade:a}=e.options;a===!1&&s.hide()}}exitAnimationComplete(){this.members.forEach(e=>{const{options:n,resumingFrom:s}=e;n.onExitComplete&&n.onExitComplete(),s&&s.options.onExitComplete&&s.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const te={hasAnimatedSinceResize:!0,hasEverUpdated:!1},Se=["","X","Y","Z"],Lh=1e3;let Nh=0;function Ae(t,e,n,s){const{latestValues:i}=e;i[t]&&(n[t]=i[t],e.setStaticValue(t,0),s&&(s[t]=0))}function Co(t){if(t.hasCheckedOptimisedAppear=!0,t.root===t)return;const{visualElement:e}=t.options;if(!e)return;const n=qi(e);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:i,layoutId:r}=t.options;window.MotionCancelOptimisedAnimation(n,"transform",C,!(i||r))}const{parent:s}=t;s&&!s.hasCheckedOptimisedAppear&&Co(s)}function Vo({attachResizeListener:t,defaultParent:e,measureScroll:n,checkIsScrollRoot:s,resetTransform:i}){return class{constructor(o={},a=e?.()){this.id=Nh++,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,this.nodes.forEach(Ih),this.nodes.forEach(zh),this.nodes.forEach(Hh),this.nodes.forEach(Fh)},this.resolvedRelativeTargetAt=0,this.linkedParentVersion=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=o,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let c=0;c<this.path.length;c++)this.path[c].shouldResetTransform=!0;this.root===this&&(this.nodes=new _h)}addEventListener(o,a){return this.eventHandlers.has(o)||this.eventHandlers.set(o,new fn),this.eventHandlers.get(o).add(a)}notifyListeners(o,...a){const c=this.eventHandlers.get(o);c&&c.notify(...a)}hasListeners(o){return this.eventHandlers.has(o)}mount(o){if(this.instance)return;this.isSVG=io(o)&&!$u(o),this.instance=o;const{layoutId:a,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(o),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),this.root.hasTreeAnimated&&(c||a)&&(this.isLayoutDirty=!0),t){let l,h=0;const d=()=>this.root.updateBlockedByResize=!1;C.read(()=>{h=window.innerWidth}),t(o,()=>{const p=window.innerWidth;p!==h&&(h=p,this.root.updateBlockedByResize=!0,l&&l(),l=Eh(d,250),te.hasAnimatedSinceResize&&(te.hasAnimatedSinceResize=!1,this.nodes.forEach(Fs)))})}a&&this.root.registerSharedNode(a,this),this.options.animate!==!1&&u&&(a||c)&&this.addEventListener("didUpdate",({delta:l,hasLayoutChanged:h,hasRelativeLayoutChanged:d,layout:p})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}const y=this.options.transition||u.getDefaultTransition()||Gh,{onLayoutAnimationStart:v,onLayoutAnimationComplete:x}=u.getProps(),k=!this.targetLayout||!Po(this.targetLayout,p),w=!h&&d;if(this.options.layoutRoot||this.resumeFrom||w||h&&(k||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0);const g={...Pn(y,"layout"),onPlay:v,onComplete:x};(u.shouldReduceMotion||this.options.layoutRoot)&&(g.delay=0,g.type=!1),this.startAnimation(g),this.setAnimationOrigin(l,w)}else h||Fs(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=p})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const o=this.getStack();o&&o.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,this.eventHandlers.clear(),ot(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(Uh),this.animationId++)}getTransformTemplate(){const{visualElement:o}=this.options;return o&&o.getProps().transformTemplate}willUpdate(o=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&Co(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let l=0;l<this.path.length;l++){const h=this.path[l];h.shouldResetTransform=!0,h.updateScroll("snapshot"),h.options.layoutRoot&&h.willUpdate(!1)}const{layoutId:a,layout:c}=this.options;if(a===void 0&&!c)return;const u=this.getTransformTemplate();this.prevTransformTemplateValue=u?u(this.latestValues,""):void 0,this.updateSnapshot(),o&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach($s);return}if(this.animationId<=this.animationCommitId){this.nodes.forEach(Is);return}this.animationCommitId=this.animationId,this.isUpdating?(this.isUpdating=!1,this.nodes.forEach(Oh),this.nodes.forEach(jh),this.nodes.forEach($h)):this.nodes.forEach(Is),this.clearAllSnapshots();const a=F.now();$.delta=Z(0,1e3/60,a-$.timestamp),$.timestamp=a,$.isProcessing=!0,ve.update.process($),ve.preRender.process($),ve.render.process($),$.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,_n.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(Bh),this.sharedNodes.forEach(Wh)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,C.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){C.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure(),this.snapshot&&!B(this.snapshot.measuredBox.x)&&!B(this.snapshot.measuredBox.y)&&(this.snapshot=void 0))}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let c=0;c<this.path.length;c++)this.path[c].updateScroll();const o=this.layout;this.layout=this.measure(!1),this.layoutVersion++,this.layoutCorrected=L(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,o?o.layoutBox:void 0)}updateScroll(o="measure"){let a=!!(this.options.layoutScroll&&this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===o&&(a=!1),a&&this.instance){const c=s(this.instance);this.scroll={animationId:this.root.animationId,phase:o,isRoot:c,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:c}}}resetTransform(){if(!i)return;const o=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,a=this.projectionDelta&&!To(this.projectionDelta),c=this.getTransformTemplate(),u=c?c(this.latestValues,""):void 0,l=u!==this.prevTransformTemplateValue;o&&this.instance&&(a||ht(this.latestValues)||l)&&(i(this.instance,u),this.shouldResetTransform=!1,this.scheduleRender())}measure(o=!0){const a=this.measurePageBox();let c=this.removeElementScroll(a);return o&&(c=this.removeTransform(c)),Xh(c),{animationId:this.root.animationId,measuredBox:a,layoutBox:c,latestValues:{},source:this.id}}measurePageBox(){const{visualElement:o}=this.options;if(!o)return L();const a=o.measureViewportBox();if(!(this.scroll?.wasRoot||this.path.some(Yh))){const{scroll:u}=this.root;u&&(vt(a.x,u.offset.x),vt(a.y,u.offset.y))}return a}removeElementScroll(o){const a=L();if(W(a,o),this.scroll?.wasRoot)return a;for(let c=0;c<this.path.length;c++){const u=this.path[c],{scroll:l,options:h}=u;u!==this.root&&l&&h.layoutScroll&&(l.wasRoot&&W(a,o),vt(a.x,l.offset.x),vt(a.y,l.offset.y))}return a}applyTransform(o,a=!1){const c=L();W(c,o);for(let u=0;u<this.path.length;u++){const l=this.path[u];!a&&l.options.layoutScroll&&l.scroll&&l!==l.root&&xt(c,{x:-l.scroll.offset.x,y:-l.scroll.offset.y}),ht(l.latestValues)&&xt(c,l.latestValues)}return ht(this.latestValues)&&xt(c,this.latestValues),c}removeTransform(o){const a=L();W(a,o);for(let c=0;c<this.path.length;c++){const u=this.path[c];if(!u.instance||!ht(u.latestValues))continue;Je(u.latestValues)&&u.updateSnapshot();const l=L(),h=u.measurePageBox();W(l,h),Cs(a,u.latestValues,u.snapshot?u.snapshot.layoutBox:void 0,l)}return ht(this.latestValues)&&Cs(a,this.latestValues),a}setTargetDelta(o){this.targetDelta=o,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(o){this.options={...this.options,...o,crossfade:o.crossfade!==void 0?o.crossfade:!0}}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!==$.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(o=!1){const a=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=a.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=a.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=a.isSharedProjectionDirty);const c=!!this.resumingFrom||this!==a;if(!(o||c&&this.isSharedProjectionDirty||this.isProjectionDirty||this.parent?.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:l,layoutId:h}=this.options;if(!this.layout||!(l||h))return;this.resolvedRelativeTargetAt=$.timestamp;const d=this.getClosestProjectingParent();d&&this.linkedParentVersion!==d.layoutVersion&&!d.options.layoutRoot&&this.removeRelativeTarget(),!this.targetDelta&&!this.relativeTarget&&(d&&d.layout?this.createRelativeTarget(d,this.layout.layoutBox,d.layout.layoutBox):this.removeRelativeTarget()),!(!this.relativeTarget&&!this.targetDelta)&&(this.target||(this.target=L(),this.targetWithTransforms=L()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),xh(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):W(this.target,this.layout.layoutBox),ho(this.target,this.targetDelta)):W(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget&&(this.attemptToResolveRelativeTarget=!1,d&&!!d.resumingFrom==!!this.resumingFrom&&!d.options.layoutScroll&&d.target&&this.animationProgress!==1?this.createRelativeTarget(d,this.target,d.target):this.relativeParent=this.relativeTarget=void 0))}getClosestProjectingParent(){if(!(!this.parent||Je(this.parent.latestValues)||uo(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!!((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}createRelativeTarget(o,a,c){this.relativeParent=o,this.linkedParentVersion=o.layoutVersion,this.forceRelativeParentToResolveTarget(),this.relativeTarget=L(),this.relativeTargetOrigin=L(),ae(this.relativeTargetOrigin,a,c),W(this.relativeTarget,this.relativeTargetOrigin)}removeRelativeTarget(){this.relativeParent=this.relativeTarget=void 0}calcProjection(){const o=this.getLead(),a=!!this.resumingFrom||this!==o;let c=!0;if((this.isProjectionDirty||this.parent?.isProjectionDirty)&&(c=!1),a&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===$.timestamp&&(c=!1),c)return;const{layout:u,layoutId:l}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||l))return;W(this.layoutCorrected,this.layout.layoutBox);const h=this.treeScale.x,d=this.treeScale.y;Gu(this.layoutCorrected,this.treeScale,this.path,a),o.layout&&!o.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(o.target=o.layout.layoutBox,o.targetWithTransforms=L());const{target:p}=o;if(!p){this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender());return}!this.projectionDelta||!this.prevProjectionDelta?this.createProjectionDeltas():(ws(this.prevProjectionDelta.x,this.projectionDelta.x),ws(this.prevProjectionDelta.y,this.projectionDelta.y)),Et(this.projectionDelta,this.layoutCorrected,p,this.latestValues),(this.treeScale.x!==h||this.treeScale.y!==d||!Rs(this.projectionDelta.x,this.prevProjectionDelta.x)||!Rs(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",p))}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(o=!0){if(this.options.visualElement?.scheduleRender(),o){const a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta=gt(),this.projectionDelta=gt(),this.projectionDeltaWithTransform=gt()}setAnimationOrigin(o,a=!1){const c=this.snapshot,u=c?c.latestValues:{},l={...this.latestValues},h=gt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;const d=L(),p=c?c.source:void 0,y=this.layout?this.layout.source:void 0,v=p!==y,x=this.getStack(),k=!x||x.members.length<=1,w=!!(v&&!k&&this.options.crossfade===!0&&!this.path.some(Kh));this.animationProgress=0;let g;this.mixTargetDelta=b=>{const T=b/1e3;Bs(h.x,o.x,T),Bs(h.y,o.y,T),this.setTargetDelta(h),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ae(d,this.layout.layoutBox,this.relativeParent.layout.layoutBox),qh(this.relativeTarget,this.relativeTargetOrigin,d,T),g&&bh(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=L()),W(g,this.relativeTarget)),v&&(this.animationValues=l,Sh(l,u,this.latestValues,T,w,k)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=T},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(o){this.notifyListeners("animationStart"),this.currentAnimation?.stop(),this.resumingFrom?.currentAnimation?.stop(),this.pendingAnimation&&(ot(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=C.update(()=>{te.hasAnimatedSinceResize=!0,this.motionValue||(this.motionValue=Mt(0)),this.currentAnimation=Vh(this.motionValue,[0,1e3],{...o,velocity:0,isSync:!0,onUpdate:a=>{this.mixTargetDelta(a),o.onUpdate&&o.onUpdate(a)},onStop:()=>{},onComplete:()=>{o.onComplete&&o.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const o=this.getStack();o&&o.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(Lh),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const o=this.getLead();let{targetWithTransforms:a,target:c,layout:u,latestValues:l}=o;if(!(!a||!c||!u)){if(this!==o&&this.layout&&u&&Do(this.options.animationType,this.layout.layoutBox,u.layoutBox)){c=this.target||L();const h=B(this.layout.layoutBox.x);c.x.min=o.target.x.min,c.x.max=c.x.min+h;const d=B(this.layout.layoutBox.y);c.y.min=o.target.y.min,c.y.max=c.y.min+d}W(a,c),xt(a,l),Et(this.projectionDeltaWithTransform,this.layoutCorrected,a,l)}}registerSharedNode(o,a){this.sharedNodes.has(o)||this.sharedNodes.set(o,new Rh),this.sharedNodes.get(o).add(a);const u=a.options.initialPromotionConfig;a.promote({transition:u?u.transition:void 0,preserveFollowOpacity:u&&u.shouldPreserveFollowOpacity?u.shouldPreserveFollowOpacity(a):void 0})}isLead(){const o=this.getStack();return o?o.lead===this:!0}getLead(){const{layoutId:o}=this.options;return o?this.getStack()?.lead||this:this}getPrevLead(){const{layoutId:o}=this.options;return o?this.getStack()?.prevLead:void 0}getStack(){const{layoutId:o}=this.options;if(o)return this.root.sharedNodes.get(o)}promote({needsReset:o,transition:a,preserveFollowOpacity:c}={}){const u=this.getStack();u&&u.promote(this,c),o&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){const o=this.getStack();return o?o.relegate(this):!1}resetSkewAndRotation(){const{visualElement:o}=this.options;if(!o)return;let a=!1;const{latestValues:c}=o;if((c.z||c.rotate||c.rotateX||c.rotateY||c.rotateZ||c.skewX||c.skewY)&&(a=!0),!a)return;const u={};c.z&&Ae("z",o,u,this.animationValues);for(let l=0;l<Se.length;l++)Ae(`rotate${Se[l]}`,o,u,this.animationValues),Ae(`skew${Se[l]}`,o,u,this.animationValues);o.render();for(const l in u)o.setStaticValue(l,u[l]),this.animationValues&&(this.animationValues[l]=u[l]);o.scheduleRender()}applyProjectionStyles(o,a){if(!this.instance||this.isSVG)return;if(!this.isVisible){o.visibility="hidden";return}const c=this.getTransformTemplate();if(this.needsReset){this.needsReset=!1,o.visibility="",o.opacity="",o.pointerEvents=Qt(a?.pointerEvents)||"",o.transform=c?c(this.latestValues,""):"none";return}const u=this.getLead();if(!this.projectionDelta||!this.layout||!u.target){this.options.layoutId&&(o.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,o.pointerEvents=Qt(a?.pointerEvents)||""),this.hasProjected&&!ht(this.latestValues)&&(o.transform=c?c({},""):"none",this.hasProjected=!1);return}o.visibility="";const l=u.animationValues||u.latestValues;this.applyTransformsToTarget();let h=Th(this.projectionDeltaWithTransform,this.treeScale,l);c&&(h=c(l,h)),o.transform=h;const{x:d,y:p}=this.projectionDelta;o.transformOrigin=`${d.origin*100}% ${p.origin*100}% 0`,u.animationValues?o.opacity=u===this?l.opacity??this.latestValues.opacity??1:this.preserveOpacity?this.latestValues.opacity:l.opacityExit:o.opacity=u===this?l.opacity!==void 0?l.opacity:"":l.opacityExit!==void 0?l.opacityExit:0;for(const y in tn){if(l[y]===void 0)continue;const{correct:v,applyTo:x,isCSSVariable:k}=tn[y],w=h==="none"?l[y]:v(l[y],u);if(x){const g=x.length;for(let b=0;b<g;b++)o[x[b]]=w}else k?this.options.visualElement.renderState.vars[y]=w:o[y]=w}this.options.layoutId&&(o.pointerEvents=u===this?Qt(a?.pointerEvents)||"":"none")}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(o=>o.currentAnimation?.stop()),this.root.nodes.forEach($s),this.root.sharedNodes.clear()}}}function jh(t){t.updateLayout()}function $h(t){const e=t.resumeFrom?.snapshot||t.snapshot;if(t.isLead()&&t.layout&&e&&t.hasListeners("didUpdate")){const{layoutBox:n,measuredBox:s}=t.layout,{animationType:i}=t.options,r=e.source!==t.layout.source;i==="size"?z(l=>{const h=r?e.measuredBox[l]:e.layoutBox[l],d=B(h);h.min=n[l].min,h.max=h.min+d}):Do(i,e.layoutBox,n)&&z(l=>{const h=r?e.measuredBox[l]:e.layoutBox[l],d=B(n[l]);h.max=h.min+d,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[l].max=t.relativeTarget[l].min+d)});const o=gt();Et(o,n,e.layoutBox);const a=gt();r?Et(a,t.applyTransform(s,!0),e.measuredBox):Et(a,n,e.layoutBox);const c=!To(o);let u=!1;if(!t.resumeFrom){const l=t.getClosestProjectingParent();if(l&&!l.resumeFrom){const{snapshot:h,layout:d}=l;if(h&&d){const p=L();ae(p,e.layoutBox,h.layoutBox);const y=L();ae(y,n,d.layoutBox),Po(p,y)||(u=!0),l.options.layoutRoot&&(t.relativeTarget=y,t.relativeTargetOrigin=p,t.relativeParent=l)}}}t.notifyListeners("didUpdate",{layout:n,snapshot:e,delta:a,layoutDelta:o,hasLayoutChanged:c,hasRelativeLayoutChanged:u})}else if(t.isLead()){const{onExitComplete:n}=t.options;n&&n()}t.options.transition=void 0}function Ih(t){t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=!!(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function Fh(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function Bh(t){t.clearSnapshot()}function $s(t){t.clearMeasurements()}function Is(t){t.isLayoutDirty=!1}function Oh(t){const{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Fs(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function zh(t){t.resolveTargetDelta()}function Hh(t){t.calcProjection()}function Uh(t){t.resetSkewAndRotation()}function Wh(t){t.removeLeadSnapshot()}function Bs(t,e,n){t.translate=V(e.translate,0,n),t.scale=V(e.scale,1,n),t.origin=e.origin,t.originPoint=e.originPoint}function Os(t,e,n,s){t.min=V(e.min,n.min,s),t.max=V(e.max,n.max,s)}function qh(t,e,n,s){Os(t.x,e.x,n.x,s),Os(t.y,e.y,n.y,s)}function Kh(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}const Gh={duration:.45,ease:[.4,0,.1,1]},zs=t=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(t),Hs=zs("applewebkit/")&&!zs("chrome/")?Math.round:U;function Us(t){t.min=Hs(t.min),t.max=Hs(t.max)}function Xh(t){Us(t.x),Us(t.y)}function Do(t,e,n){return t==="position"||t==="preserve-aspect"&&!vh(Es(e),Es(n),.2)}function Yh(t){return t!==t.root&&t.scroll?.wasRoot}const Zh=Vo({attachResizeListener:(t,e)=>It(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body?.scrollLeft||0,y:document.documentElement.scrollTop||document.body?.scrollTop||0}),checkIsScrollRoot:()=>!0}),Ce={current:void 0},_o=Vo({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Ce.current){const t=new Zh({});t.mount(window),t.setOptions({layoutScroll:!0}),Ce.current=t}return Ce.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>window.getComputedStyle(t).position==="fixed"}),Ft=m.createContext({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});function Ws(t,e){if(typeof t=="function")return t(e);t!=null&&(t.current=e)}function Jh(...t){return e=>{let n=!1;const s=t.map(i=>{const r=Ws(i,e);return!n&&typeof r=="function"&&(n=!0),r});if(n)return()=>{for(let i=0;i<s.length;i++){const r=s[i];typeof r=="function"?r():Ws(t[i],null)}}}}function Qh(...t){return m.useCallback(Jh(...t),t)}class td extends m.Component{getSnapshotBeforeUpdate(e){const n=this.props.childRef.current;if(n&&e.isPresent&&!this.props.isPresent){const s=n.offsetParent,i=Ye(s)&&s.offsetWidth||0,r=Ye(s)&&s.offsetHeight||0,o=this.props.sizeRef.current;o.height=n.offsetHeight||0,o.width=n.offsetWidth||0,o.top=n.offsetTop,o.left=n.offsetLeft,o.right=i-o.width-o.left,o.bottom=r-o.height-o.top}return null}componentDidUpdate(){}render(){return this.props.children}}function ed({children:t,isPresent:e,anchorX:n,anchorY:s,root:i}){const r=m.useId(),o=m.useRef(null),a=m.useRef({width:0,height:0,top:0,left:0,right:0,bottom:0}),{nonce:c}=m.useContext(Ft),u=t.props?.ref??t?.ref,l=Qh(o,u);return m.useInsertionEffect(()=>{const{width:h,height:d,top:p,left:y,right:v,bottom:x}=a.current;if(e||!o.current||!h||!d)return;const k=n==="left"?`left: ${y}`:`right: ${v}`,w=s==="bottom"?`bottom: ${x}`:`top: ${p}`;o.current.dataset.motionPopId=r;const g=document.createElement("style");c&&(g.nonce=c);const b=i??document.head;return b.appendChild(g),g.sheet&&g.sheet.insertRule(`
2          [data-motion-pop-id="${r}"] {
3            position: absolute !important;
4            width: ${h}px !important;
5            height: ${d}px !important;
6            ${k}px !important;
7            ${w}px !important;
8          }
9        `),()=>{b.contains(g)&&b.removeChild(g)}},[e]),X.jsx(td,{isPresent:e,childRef:o,sizeRef:a,children:m.cloneElement(t,{ref:l})})}const nd=({children:t,initial:e,isPresent:n,onExitComplete:s,custom:i,presenceAffectsLayout:r,mode:o,anchorX:a,anchorY:c,root:u})=>{const l=Bt(sd),h=m.useId();let d=!0,p=m.useMemo(()=>(d=!1,{id:h,initial:e,isPresent:n,custom:i,onExitComplete:y=>{l.set(y,!0);for(const v of l.values())if(!v)return;s&&s()},register:y=>(l.set(y,!1),()=>l.delete(y))}),[n,l,s]);return r&&d&&(p={...p}),m.useMemo(()=>{l.forEach((y,v)=>l.set(v,!1))},[n]),m.useEffect(()=>{!n&&!l.size&&s&&s()},[n]),o==="popLayout"&&(t=X.jsx(ed,{isPresent:n,anchorX:a,anchorY:c,root:u,children:t})),X.jsx(ue.Provider,{value:p,children:t})};function sd(){return new Map}function Eo(t=!0){const e=m.useContext(ue);if(e===null)return[!0,null];const{isPresent:n,onExitComplete:s,register:i}=e,r=m.useId();m.useEffect(()=>{if(t)return i(r)},[t]);const o=m.useCallback(()=>t&&s&&s(r),[r,s,t]);return!n&&s?[!1,o]:[!0]}const Gt=t=>t.key||"";function qs(t){const e=[];return m.Children.forEach(t,n=>{m.isValidElement(n)&&e.push(n)}),e}const C0=({children:t,custom:e,initial:n=!0,onExitComplete:s,presenceAffectsLayout:i=!0,mode:r="sync",propagate:o=!1,anchorX:a="left",anchorY:c="top",root:u})=>{const[l,h]=Eo(o),d=m.useMemo(()=>qs(t),[t]),p=o&&!l?[]:d.map(Gt),y=m.useRef(!0),v=m.useRef(d),x=Bt(()=>new Map),k=m.useRef(new Set),[w,g]=m.useState(d),[b,T]=m.useState(d);cn(()=>{y.current=!1,v.current=d;for(let P=0;P<b.length;P++){const S=Gt(b[P]);p.includes(S)?(x.delete(S),k.current.delete(S)):x.get(S)!==!0&&x.set(S,!1)}},[b,p.length,p.join("-")]);const A=[];if(d!==w){let P=[...d];for(let S=0;S<b.length;S++){const R=b[S],K=Gt(R);p.includes(K)||(P.splice(S,0,R),A.push(R))}return r==="wait"&&A.length&&(P=A),T(qs(P)),g(d),null}const{forceRender:_}=m.useContext(an);return X.jsx(X.Fragment,{children:b.map(P=>{const S=Gt(P),R=o&&!l?!1:d===b||p.includes(S),K=()=>{if(k.current.has(S))return;if(k.current.add(S),x.has(S))x.set(S,!0);else return;let Pt=!0;x.forEach(ye=>{ye||(Pt=!1)}),Pt&&(_?.(),T(v.current),o&&h?.(),s&&s())};return X.jsx(nd,{isPresent:R,initial:!y.current||n?void 0:!1,custom:e,presenceAffectsLayout:i,mode:r,root:u,onExitComplete:R?void 0:K,anchorX:a,anchorY:c,children:P},S)})})},Ro=m.createContext({strict:!1}),Ks={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 Gs=!1;function id(){if(Gs)return;const t={};for(const e in Ks)t[e]={isEnabled:n=>Ks[e].some(s=>!!n[s])};ao(t),Gs=!0}function Lo(){return id(),Uu()}function od(t){const e=Lo();for(const n in t)e[n]={...e[n],...t[n]};ao(e)}const rd=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ce(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||rd.has(t)}let No=t=>!ce(t);function jo(t){typeof t=="function"&&(No=e=>e.startsWith("on")?!ce(e):t(e))}try{jo(require("@emotion/is-prop-valid").default)}catch{}function ad(t,e,n){const s={};for(const i in t)i==="values"&&typeof t.values=="object"||(No(i)||n===!0&&ce(i)||!e&&!ce(i)||t.draggable&&i.startsWith("onDrag"))&&(s[i]=t[i]);return s}function V0({children:t,isValidProp:e,...n}){e&&jo(e),n={...m.useContext(Ft),...n},n.isStatic=Bt(()=>n.isStatic);const s=m.useMemo(()=>n,[JSON.stringify(n.transition),n.transformPagePoint,n.reducedMotion]);return X.jsx(Ft.Provider,{value:s,children:t})}const fe=m.createContext({});function cd(t,e){if(de(t)){const{initial:n,animate:s}=t;return{initial:n===!1||$t(n)?n:void 0,animate:$t(s)?s:void 0}}return t.inherit!==!1?e:{}}function ld(t){const{initial:e,animate:n}=cd(t,m.useContext(fe));return m.useMemo(()=>({initial:e,animate:n}),[Xs(e),Xs(n)])}function Xs(t){return Array.isArray(t)?t.join(" "):t}const $n=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function $o(t,e,n){for(const s in e)!I(e[s])&&!mo(s,n)&&(t[s]=e[s])}function ud({transformTemplate:t},e){return m.useMemo(()=>{const n=$n();return Nn(n,e,t),Object.assign({},n.vars,n.style)},[e])}function hd(t,e){const n=t.style||{},s={};return $o(s,n,t),Object.assign(s,ud(t,e)),s}function dd(t,e){const n={},s=hd(t,e);return t.drag&&t.dragListener!==!1&&(n.draggable=!1,s.userSelect=s.WebkitUserSelect=s.WebkitTouchCallout="none",s.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(n.tabIndex=0),n.style=s,n}const Io=()=>({...$n(),attrs:{}});function fd(t,e,n,s){const i=m.useMemo(()=>{const r=Io();return yo(r,e,vo(s),t.transformTemplate,t.style),{...r.attrs,style:{...r.style}}},[e]);if(t.style){const r={};$o(r,t.style,t),i.style={...r,...i.style}}return i}const pd=["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 In(t){return typeof t!="string"||t.includes("-")?!1:!!(pd.indexOf(t)>-1||/[A-Z]/u.test(t))}function md(t,e,n,{latestValues:s},i,r=!1,o){const c=(o??In(t)?fd:dd)(e,s,i,t),u=ad(e,typeof t=="string",r),l=t!==m.Fragment?{...u,...c,ref:n}:{},{children:h}=e,d=m.useMemo(()=>I(h)?h.get():h,[h]);return m.createElement(t,{...l,children:d})}function yd({scrapeMotionValuesFromProps:t,createRenderState:e},n,s,i){return{latestValues:gd(n,s,i,t),renderState:e()}}function gd(t,e,n,s){const i={},r=s(t,{});for(const d in r)i[d]=Qt(r[d]);let{initial:o,animate:a}=t;const c=de(t),u=ro(t);e&&u&&!c&&t.inherit!==!1&&(o===void 0&&(o=e.initial),a===void 0&&(a=e.animate));let l=n?n.initial===!1:!1;l=l||o===!1;const h=l?a:o;if(h&&typeof h!="boolean"&&!he(h)){const d=Array.isArray(h)?h:[h];for(let p=0;p<d.length;p++){const y=An(t,d[p]);if(y){const{transitionEnd:v,transition:x,...k}=y;for(const w in k){let g=k[w];if(Array.isArray(g)){const b=l?g.length-1:0;g=g[b]}g!==null&&(i[w]=g)}for(const w in v)i[w]=v[w]}}}return i}const Fo=t=>(e,n)=>{const s=m.useContext(fe),i=m.useContext(ue),r=()=>yd(t,e,s,i);return n?r():Bt(r)},vd=Fo({scrapeMotionValuesFromProps:jn,createRenderState:$n}),xd=Fo({scrapeMotionValuesFromProps:xo,createRenderState:Io}),kd=Symbol.for("motionComponentSymbol");function Md(t,e,n){const s=m.useRef(n);m.useInsertionEffect(()=>{s.current=n});const i=m.useRef(null);return m.useCallback(r=>{r&&t.onMount?.(r),e&&(r?e.mount(r):e.unmount());const o=s.current;if(typeof o=="function")if(r){const a=o(r);typeof a=="function"&&(i.current=a)}else i.current?(i.current(),i.current=null):o(r);else o&&(o.current=r)},[e])}const Bo=m.createContext({});function Vt(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function wd(t,e,n,s,i,r){const{visualElement:o}=m.useContext(fe),a=m.useContext(Ro),c=m.useContext(ue),u=m.useContext(Ft).reducedMotion,l=m.useRef(null),h=m.useRef(!1);s=s||a.renderer,!l.current&&s&&(l.current=s(t,{visualState:e,parent:o,props:n,presenceContext:c,blockInitialAnimation:c?c.initial===!1:!1,reducedMotionConfig:u,isSVG:r}),h.current&&l.current&&(l.current.manuallyAnimateOnMount=!0));const d=l.current,p=m.useContext(Bo);d&&!d.projection&&i&&(d.type==="html"||d.type==="svg")&&bd(l.current,n,i,p);const y=m.useRef(!1);m.useInsertionEffect(()=>{d&&y.current&&d.update(n,c)});const v=n[Wi],x=m.useRef(!!v&&!window.MotionHandoffIsComplete?.(v)&&window.MotionHasOptimisedAnimation?.(v));return cn(()=>{h.current=!0,d&&(y.current=!0,window.MotionIsMounted=!0,d.updateFeatures(),d.scheduleRenderMicrotask(),x.current&&d.animationState&&d.animationState.animateChanges())}),m.useEffect(()=>{d&&(!x.current&&d.animationState&&d.animationState.animateChanges(),x.current&&(queueMicrotask(()=>{window.MotionHandoffMarkAsComplete?.(v)}),x.current=!1),d.enteringChildren=void 0)}),d}function bd(t,e,n,s){const{layoutId:i,layout:r,drag:o,dragConstraints:a,layoutScroll:c,layoutRoot:u,layoutCrossfade:l}=e;t.projection=new n(t.latestValues,e["data-framer-portal-id"]?void 0:Oo(t.parent)),t.projection.setOptions({layoutId:i,layout:r,alwaysMeasureLayout:!!o||a&&Vt(a),visualElement:t,animationType:typeof r=="string"?r:"both",initialPromotionConfig:s,crossfade:l,layoutScroll:c,layoutRoot:u})}function Oo(t){if(t)return t.options.allowProjection!==!1?t.projection:Oo(t.parent)}function Ve(t,{forwardMotionProps:e=!1,type:n}={},s,i){s&&od(s);const r=n?n==="svg":In(t),o=r?xd:vd;function a(u,l){let h;const d={...m.useContext(Ft),...u,layoutId:Td(u)},{isStatic:p}=d,y=ld(u),v=o(u,p);if(!p&&ci){Pd();const x=Sd(d);h=x.MeasureLayout,y.visualElement=wd(t,v,d,i,x.ProjectionNode,r)}return X.jsxs(fe.Provider,{value:y,children:[h&&y.visualElement?X.jsx(h,{visualElement:y.visualElement,...d}):null,md(t,u,Md(v,y.visualElement,l),v,p,e,r)]})}a.displayName=`motion.${typeof t=="string"?t:`create(${t.displayName??t.name??""})`}`;const c=m.forwardRef(a);return c[kd]=t,c}function Td({layoutId:t}){const e=m.useContext(an).id;return e&&t!==void 0?e+"-"+t:t}function Pd(t,e){m.useContext(Ro).strict}function Sd(t){const e=Lo(),{drag:n,layout:s}=e;if(!n&&!s)return{};const i={...n,...s};return{MeasureLayout:n?.isEnabled(t)||s?.isEnabled(t)?i.MeasureLayout:void 0,ProjectionNode:i.ProjectionNode}}function Ad(t,e){if(typeof Proxy>"u")return Ve;const n=new Map,s=(r,o)=>Ve(r,o,t,e),i=(r,o)=>s(r,o);return new Proxy(i,{get:(r,o)=>o==="create"?s:(n.has(o)||n.set(o,Ve(o,void 0,t,e)),n.get(o))})}const Cd=(t,e)=>e.isSVG??In(t)?new ah(e):new eh(e,{allowProjection:t!==m.Fragment});class Vd extends at{constructor(e){super(e),e.animationState||(e.animationState=dh(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();he(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:n}=this.node.prevProps||{};e!==n&&this.updateAnimationControlsSubscription()}unmount(){this.node.animationState.reset(),this.unmountControls?.()}}let Dd=0;class _d extends at{constructor(){super(...arguments),this.id=Dd++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:n}=this.node.presenceContext,{isPresent:s}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===s)return;const i=this.node.animationState.setActive("exit",!e);n&&!e&&i.then(()=>{n(this.id)})}mount(){const{register:e,onExitComplete:n}=this.node.presenceContext||{};n&&n(this.id),e&&(this.unmount=e(this.id))}unmount(){}}const Ed={animation:{Feature:Vd},exit:{Feature:_d}};function Ut(t){return{point:{x:t.pageX,y:t.pageY}}}const Rd=t=>e=>En(e)&&t(e,Ut(e));function Rt(t,e,n,s){return It(t,e,Rd(n),s)}const zo=({current:t})=>t?t.ownerDocument.defaultView:null,Ys=(t,e)=>Math.abs(t-e);function Ld(t,e){const n=Ys(t.x,e.x),s=Ys(t.y,e.y);return Math.sqrt(n**2+s**2)}const Zs=new Set(["auto","scroll"]);class Ho{constructor(e,n,{transformPagePoint:s,contextWindow:i=window,dragSnapToOrigin:r=!1,distanceThreshold:o=3,element:a}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.scrollPositions=new Map,this.removeScrollListeners=null,this.onElementScroll=p=>{this.handleScroll(p.target)},this.onWindowScroll=()=>{this.handleScroll(window)},this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const p=_e(this.lastMoveEventInfo,this.history),y=this.startEvent!==null,v=Ld(p.offset,{x:0,y:0})>=this.distanceThreshold;if(!y&&!v)return;const{point:x}=p,{timestamp:k}=$;this.history.push({...x,timestamp:k});const{onStart:w,onMove:g}=this.handlers;y||(w&&w(this.lastMoveEvent,p),this.startEvent=this.lastMoveEvent),g&&g(this.lastMoveEvent,p)},this.handlePointerMove=(p,y)=>{this.lastMoveEvent=p,this.lastMoveEventInfo=De(y,this.transformPagePoint),C.update(this.updatePoint,!0)},this.handlePointerUp=(p,y)=>{this.end();const{onEnd:v,onSessionEnd:x,resumeAnimation:k}=this.handlers;if((this.dragSnapToOrigin||!this.startEvent)&&k&&k(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;const w=_e(p.type==="pointercancel"?this.lastMoveEventInfo:De(y,this.transformPagePoint),this.history);this.startEvent&&v&&v(p,w),x&&x(p,w)},!En(e))return;this.dragSnapToOrigin=r,this.handlers=n,this.transformPagePoint=s,this.distanceThreshold=o,this.contextWindow=i||window;const c=Ut(e),u=De(c,this.transformPagePoint),{point:l}=u,{timestamp:h}=$;this.history=[{...l,timestamp:h}];const{onSessionStart:d}=n;d&&d(e,_e(u,this.history)),this.removeListeners=Ot(Rt(this.contextWindow,"pointermove",this.handlePointerMove),Rt(this.contextWindow,"pointerup",this.handlePointerUp),Rt(this.contextWindow,"pointercancel",this.handlePointerUp)),a&&this.startScrollTracking(a)}startScrollTracking(e){let n=e.parentElement;for(;n;){const s=getComputedStyle(n);(Zs.has(s.overflowX)||Zs.has(s.overflowY))&&this.scrollPositions.set(n,{x:n.scrollLeft,y:n.scrollTop}),n=n.parentElement}this.scrollPositions.set(window,{x:window.scrollX,y:window.scrollY}),window.addEventListener("scroll",this.onElementScroll,{capture:!0,passive:!0}),window.addEventListener("scroll",this.onWindowScroll,{passive:!0}),this.removeScrollListeners=()=>{window.removeEventListener("scroll",this.onElementScroll,{capture:!0}),window.removeEventListener("scroll",this.onWindowScroll)}}handleScroll(e){const n=this.scrollPositions.get(e);if(!n)return;const s=e===window,i=s?{x:window.scrollX,y:window.scrollY}:{x:e.scrollLeft,y:e.scrollTop},r={x:i.x-n.x,y:i.y-n.y};r.x===0&&r.y===0||(s?this.lastMoveEventInfo&&(this.lastMoveEventInfo.point.x+=r.x,this.lastMoveEventInfo.point.y+=r.y):this.history.length>0&&(this.history[0].x-=r.x,this.history[0].y-=r.y),this.scrollPositions.set(e,i),C.update(this.updatePoint,!0))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),this.removeScrollListeners&&this.removeScrollListeners(),this.scrollPositions.clear(),ot(this.updatePoint)}}function De(t,e){return e?{point:e(t.point)}:t}function Js(t,e){return{x:t.x-e.x,y:t.y-e.y}}function _e({point:t},e){return{point:t,delta:Js(t,Uo(e)),offset:Js(t,Nd(e)),velocity:jd(e,.1)}}function Nd(t){return t[0]}function Uo(t){return t[t.length-1]}function jd(t,e){if(t.length<2)return{x:0,y:0};let n=t.length-1,s=null;const i=Uo(t);for(;n>=0&&(s=t[n],!(i.timestamp-s.timestamp>Q(e)));)n--;if(!s)return{x:0,y:0};const r=H(i.timestamp-s.timestamp);if(r===0)return{x:0,y:0};const o={x:(i.x-s.x)/r,y:(i.y-s.y)/r};return o.x===1/0&&(o.x=0),o.y===1/0&&(o.y=0),o}function $d(t,{min:e,max:n},s){return e!==void 0&&t<e?t=s?V(e,t,s.min):Math.max(t,e):n!==void 0&&t>n&&(t=s?V(n,t,s.max):Math.min(t,n)),t}function Qs(t,e,n){return{min:e!==void 0?t.min+e:void 0,max:n!==void 0?t.max+n-(t.max-t.min):void 0}}function Id(t,{top:e,left:n,bottom:s,right:i}){return{x:Qs(t.x,n,i),y:Qs(t.y,e,s)}}function ti(t,e){let n=e.min-t.min,s=e.max-t.max;return e.max-e.min<t.max-t.min&&([n,s]=[s,n]),{min:n,max:s}}function Fd(t,e){return{x:ti(t.x,e.x),y:ti(t.y,e.y)}}function Bd(t,e){let n=.5;const s=B(t),i=B(e);return i>s?n=Lt(e.min,e.max-s,t.min):s>i&&(n=Lt(t.min,t.max-i,e.min)),Z(0,1,n)}function Od(t,e){const n={};return e.min!==void 0&&(n.min=e.min-t.min),e.max!==void 0&&(n.max=e.max-t.min),n}const en=.35;function zd(t=en){return t===!1?t=0:t===!0&&(t=en),{x:ei(t,"left","right"),y:ei(t,"top","bottom")}}function ei(t,e,n){return{min:ni(t,e),max:ni(t,n)}}function ni(t,e){return typeof t=="number"?t:t[e]||0}const Hd=new WeakMap;class Ud{constructor(e){this.openDragLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=L(),this.latestPointerEvent=null,this.latestPanInfo=null,this.visualElement=e}start(e,{snapToCursor:n=!1,distanceThreshold:s}={}){const{presenceContext:i}=this.visualElement;if(i&&i.isPresent===!1)return;const r=h=>{n?(this.stopAnimation(),this.snapToCursor(Ut(h).point)):this.pauseAnimation()},o=(h,d)=>{this.stopAnimation();const{drag:p,dragPropagation:y,onDragStart:v}=this.getProps();if(p&&!y&&(this.openDragLock&&this.openDragLock(),this.openDragLock=Eu(p),!this.openDragLock))return;this.latestPointerEvent=h,this.latestPanInfo=d,this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),z(k=>{let w=this.getAxisMotionValue(k).get()||0;if(Y.test(w)){const{projection:g}=this.visualElement;if(g&&g.layout){const b=g.layout.layoutBox[k];b&&(w=B(b)*(parseFloat(w)/100))}}this.originPoint[k]=w}),v&&C.postRender(()=>v(h,d)),Ke(this.visualElement,"transform");const{animationState:x}=this.visualElement;x&&x.setActive("whileDrag",!0)},a=(h,d)=>{this.latestPointerEvent=h,this.latestPanInfo=d;const{dragPropagation:p,dragDirectionLock:y,onDirectionLock:v,onDrag:x}=this.getProps();if(!p&&!this.openDragLock)return;const{offset:k}=d;if(y&&this.currentDirection===null){this.currentDirection=Wd(k),this.currentDirection!==null&&v&&v(this.currentDirection);return}this.updateAxis("x",d.point,k),this.updateAxis("y",d.point,k),this.visualElement.render(),x&&x(h,d)},c=(h,d)=>{this.latestPointerEvent=h,this.latestPanInfo=d,this.stop(h,d),this.latestPointerEvent=null,this.latestPanInfo=null},u=()=>z(h=>this.getAnimationState(h)==="paused"&&this.getAxisMotionValue(h).animation?.play()),{dragSnapToOrigin:l}=this.getProps();this.panSession=new Ho(e,{onSessionStart:r,onStart:o,onMove:a,onSessionEnd:c,resumeAnimation:u},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:l,distanceThreshold:s,contextWindow:zo(this.visualElement),element:this.visualElement.current})}stop(e,n){const s=e||this.latestPointerEvent,i=n||this.latestPanInfo,r=this.isDragging;if(this.cancel(),!r||!i||!s)return;const{velocity:o}=i;this.startAnimation(o);const{onDragEnd:a}=this.getProps();a&&C.postRender(()=>a(s,i))}cancel(){this.isDragging=!1;const{projection:e,animationState:n}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.endPanSession();const{dragPropagation:s}=this.getProps();!s&&this.openDragLock&&(this.openDragLock(),this.openDragLock=null),n&&n.setActive("whileDrag",!1)}endPanSession(){this.panSession&&this.panSession.end(),this.panSession=void 0}updateAxis(e,n,s){const{drag:i}=this.getProps();if(!s||!Xt(e,i,this.currentDirection))return;const r=this.getAxisMotionValue(e);let o=this.originPoint[e]+s[e];this.constraints&&this.constraints[e]&&(o=$d(o,this.constraints[e],this.elastic[e])),r.set(o)}resolveConstraints(){const{dragConstraints:e,dragElastic:n}=this.getProps(),s=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):this.visualElement.projection?.layout,i=this.constraints;e&&Vt(e)?this.constraints||(this.constraints=this.resolveRefConstraints()):e&&s?this.constraints=Id(s.layoutBox,e):this.constraints=!1,this.elastic=zd(n),i!==this.constraints&&s&&this.constraints&&!this.hasMutatedConstraints&&z(r=>{this.constraints!==!1&&this.getAxisMotionValue(r)&&(this.constraints[r]=Od(s.layoutBox[r],this.constraints[r]))})}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:n}=this.getProps();if(!e||!Vt(e))return!1;const s=e.current,{projection:i}=this.visualElement;if(!i||!i.layout)return!1;const r=Xu(s,i.root,this.visualElement.getTransformPagePoint());let o=Fd(i.layout.layoutBox,r);if(n){const a=n(qu(o));this.hasMutatedConstraints=!!a,a&&(o=lo(a))}return o}startAnimation(e){const{drag:n,dragMomentum:s,dragElastic:i,dragTransition:r,dragSnapToOrigin:o,onDragTransitionEnd:a}=this.getProps(),c=this.constraints||{},u=z(l=>{if(!Xt(l,n,this.currentDirection))return;let h=c&&c[l]||{};o&&(h={min:0,max:0});const d=i?200:1e6,p=i?40:1e7,y={type:"inertia",velocity:s?e[l]:0,bounceStiffness:d,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...r,...h};return this.startAxisValueAnimation(l,y)});return Promise.all(u).then(a)}startAxisValueAnimation(e,n){const s=this.getAxisMotionValue(e);return Ke(this.visualElement,e),s.start(Sn(e,s,0,n,this.visualElement,!1))}stopAnimation(){z(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){z(e=>this.getAxisMotionValue(e).animation?.pause())}getAnimationState(e){return this.getAxisMotionValue(e).animation?.state}getAxisMotionValue(e){const n=`_drag${e.toUpperCase()}`,s=this.visualElement.getProps(),i=s[n];return i||this.visualElement.getValue(e,(s.initial?s.initial[e]:void 0)||0)}snapToCursor(e){z(n=>{const{drag:s}=this.getProps();if(!Xt(n,s,this.currentDirection))return;const{projection:i}=this.visualElement,r=this.getAxisMotionValue(n);if(i&&i.layout){const{min:o,max:a}=i.layout.layoutBox[n],c=r.get()||0;r.set(e[n]-V(o,a,.5)+c)}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:n}=this.getProps(),{projection:s}=this.visualElement;if(!Vt(n)||!s||!this.constraints)return;this.stopAnimation();const i={x:0,y:0};z(o=>{const a=this.getAxisMotionValue(o);if(a&&this.constraints!==!1){const c=a.get();i[o]=Bd({min:c,max:c},this.constraints[o])}});const{transformTemplate:r}=this.visualElement.getProps();this.visualElement.current.style.transform=r?r({},""):"none",s.root&&s.root.updateScroll(),s.updateLayout(),this.resolveConstraints(),z(o=>{if(!Xt(o,e,null))return;const a=this.getAxisMotionValue(o),{min:c,max:u}=this.constraints[o];a.set(V(c,u,i[o]))})}addListeners(){if(!this.visualElement.current)return;Hd.set(this.visualElement,this);const e=this.visualElement.current,n=Rt(e,"pointerdown",c=>{const{drag:u,dragListener:l=!0}=this.getProps(),h=c.target,d=h!==e&&so(h);u&&l&&!d&&this.start(c)}),s=()=>{const{dragConstraints:c}=this.getProps();Vt(c)&&c.current&&(this.constraints=this.resolveRefConstraints())},{projection:i}=this.visualElement,r=i.addEventListener("measure",s);i&&!i.layout&&(i.root&&i.root.updateScroll(),i.updateLayout()),C.read(s);const o=It(window,"resize",()=>this.scalePositionWithinConstraints()),a=i.addEventListener("didUpdate",(({delta:c,hasLayoutChanged:u})=>{this.isDragging&&u&&(z(l=>{const h=this.getAxisMotionValue(l);h&&(this.originPoint[l]+=c[l].translate,h.set(h.get()+c[l].translate))}),this.visualElement.render())}));return()=>{o(),n(),r(),a&&a()}}getProps(){const e=this.visualElement.getProps(),{drag:n=!1,dragDirectionLock:s=!1,dragPropagation:i=!1,dragConstraints:r=!1,dragElastic:o=en,dragMomentum:a=!0}=e;return{...e,drag:n,dragDirectionLock:s,dragPropagation:i,dragConstraints:r,dragElastic:o,dragMomentum:a}}}function Xt(t,e,n){return(e===!0||e===t)&&(n===null||n===t)}function Wd(t,e=10){let n=null;return Math.abs(t.y)>e?n="y":Math.abs(t.x)>e&&(n="x"),n}class qd extends at{constructor(e){super(e),this.removeGroupControls=U,this.removeListeners=U,this.controls=new Ud(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||U}update(){const{dragControls:e}=this.node.getProps(),{dragControls:n}=this.node.prevProps||{};e!==n&&(this.removeGroupControls(),e&&(this.removeGroupControls=e.subscribe(this.controls)))}unmount(){this.removeGroupControls(),this.removeListeners(),this.controls.isDragging||this.controls.endPanSession()}}const si=t=>(e,n)=>{t&&C.postRender(()=>t(e,n))};class Kd extends at{constructor(){super(...arguments),this.removePointerDownListener=U}onPointerDown(e){this.session=new Ho(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:zo(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:n,onPan:s,onPanEnd:i}=this.node.getProps();return{onSessionStart:si(e),onStart:si(n),onMove:s,onEnd:(r,o)=>{delete this.session,i&&C.postRender(()=>i(r,o))}}}mount(){this.removePointerDownListener=Rt(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}let Ee=!1;class Gd extends m.Component{componentDidMount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s,layoutId:i}=this.props,{projection:r}=e;r&&(n.group&&n.group.add(r),s&&s.register&&i&&s.register(r),Ee&&r.root.didUpdate(),r.addEventListener("animationComplete",()=>{this.safeToRemove()}),r.setOptions({...r.options,layoutDependency:this.props.layoutDependency,onExitComplete:()=>this.safeToRemove()})),te.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:n,visualElement:s,drag:i,isPresent:r}=this.props,{projection:o}=s;return o&&(o.isPresent=r,e.layoutDependency!==n&&o.setOptions({...o.options,layoutDependency:n}),Ee=!0,i||e.layoutDependency!==n||n===void 0||e.isPresent!==r?o.willUpdate():this.safeToRemove(),e.isPresent!==r&&(r?o.promote():o.relegate()||C.postRender(()=>{const a=o.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),_n.postRender(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){const{visualElement:e,layoutGroup:n,switchLayoutGroup:s}=this.props,{projection:i}=e;Ee=!0,i&&(i.scheduleCheckAfterUnmount(),n&&n.group&&n.group.remove(i),s&&s.deregister&&s.deregister(i))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Wo(t){const[e,n]=Eo(),s=m.useContext(an);return X.jsx(Gd,{...t,layoutGroup:s,switchLayoutGroup:m.useContext(Bo),isPresent:e,safeToRemove:n})}const Xd={pan:{Feature:Kd},drag:{Feature:qd,ProjectionNode:_o,MeasureLayout:Wo}};function ii(t,e,n){const{props:s}=t;t.animationState&&s.whileHover&&t.animationState.setActive("whileHover",n==="Start");const i="onHover"+n,r=s[i];r&&C.postRender(()=>r(e,Ut(e)))}class Yd extends at{mount(){const{current:e}=this.node;e&&(this.unmount=Ru(e,(n,s)=>(ii(this.node,s,"Start"),i=>ii(this.node,i,"End"))))}unmount(){}}class Zd extends at{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=Ot(It(this.node.current,"focus",()=>this.onFocus()),It(this.node.current,"blur",()=>this.onBlur()))}unmount(){}}function oi(t,e,n){const{props:s}=t;if(t.current instanceof HTMLButtonElement&&t.current.disabled)return;t.animationState&&s.whileTap&&t.animationState.setActive("whileTap",n==="Start");const i="onTap"+(n==="End"?"":n),r=s[i];r&&C.postRender(()=>r(e,Ut(e)))}class Jd extends at{mount(){const{current:e}=this.node;e&&(this.unmount=ju(e,(n,s)=>(oi(this.node,s,"Start"),(i,{success:r})=>oi(this.node,i,r?"End":"Cancel")),{useGlobalTarget:this.node.props.globalTapTarget}))}unmount(){}}const nn=new WeakMap,Re=new WeakMap,Qd=t=>{const e=nn.get(t.target);e&&e(t)}
9,tf=t=>{t.forEach(Qd)};function ef({root:t,...e}){const n=t||document;Re.has(n)||Re.set(n,{});const s=Re.get(n),i=JSON.stringify(e);return s[i]||(s[i]=new IntersectionObserver(tf,{root:t,...e})),s[i]}function nf(t,e,n){const s=ef(e);return nn.set(t,n),s.observe(t),()=>{nn.delete(t),s.unobserve(t)}}const sf={some:0,all:1};class of extends at{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:n,margin:s,amount:i="some",once:r}=e,o={root:n?n.current:void 0,rootMargin:s,threshold:typeof i=="number"?i:sf[i]},a=c=>{const{isIntersecting:u}=c;if(this.isInView===u||(this.isInView=u,r&&!u&&this.hasEnteredView))return;u&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",u);const{onViewportEnter:l,onViewportLeave:h}=this.node.getProps(),d=u?l:h;d&&d(c)};return nf(this.node.current,o,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:n}=this.node;["amount","margin","root"].some(rf(e,n))&&this.startObserver()}unmount(){}}function rf({viewport:t={}},{viewport:e={}}={}){return n=>t[n]!==e[n]}const af={inView:{Feature:of},tap:{Feature:Jd},focus:{Feature:Zd},hover:{Feature:Yd}},cf={layout:{ProjectionNode:_o,MeasureLayout:Wo}},lf={...Ed,...af,...Xd,...cf},D0=Ad(lf,Cd);function uf(t){t.values.forEach(e=>e.stop())}function sn(t,e){[...e].reverse().forEach(s=>{const i=t.getVariant(s);i&&Cn(t,i),t.variantChildren&&t.variantChildren.forEach(r=>{sn(r,e)})})}function hf(t,e){if(Array.isArray(e))return sn(t,e);if(typeof e=="string")return sn(t,[e]);Cn(t,e)}function df(){const t=new Set,e={subscribe(n){return t.add(n),()=>{t.delete(n)}},start(n,s){const i=[];return t.forEach(r=>{i.push(Gi(r,n,{transitionOverride:s}))}),Promise.all(i)},set(n){return t.forEach(s=>{hf(s,n)})},stop(){t.forEach(n=>{uf(n)})},mount(){return()=>{e.stop()}}};return e}function ff(){const t=Bt(df);return cn(t.mount,[]),t}const _0=ff;let pf={data:""},mf=t=>{if(typeof window=="object"){let e=(t?t.querySelector("#_goober"):window._goober)||Object.assign(document.createElement("style"),{innerHTML:" ",id:"_goober"});return e.nonce=window.__nonce__,e.parentNode||(t||document.head).appendChild(e),e.firstChild}return t||pf},yf=/(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g,gf=/\/\*[^]*?\*\/|  +/g,ri=/\n+/g,st=(t,e)=>{let n="",s="",i="";for(let r in t){let o=t[r];r[0]=="@"?r[1]=="i"?n=r+" "+o+";":s+=r[1]=="f"?st(o,r):r+"{"+st(o,r[1]=="k"?"":e)+"}":typeof o=="object"?s+=st(o,e?e.replace(/([^,])+/g,a=>r.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g,c=>/&/.test(c)?c.replace(/&/g,a):a?a+" "+c:c)):r):o!=null&&(r=/^--/.test(r)?r:r.replace(/[A-Z]/g,"-$&").toLowerCase(),i+=st.p?st.p(r,o):r+":"+o+";")}return n+(e&&i?e+"{"+i+"}":i)+s},J={},qo=t=>{if(typeof t=="object"){let e="";for(let n in t)e+=n+qo(t[n]);return e}return t},vf=(t,e,n,s,i)=>{let r=qo(t),o=J[r]||(J[r]=(c=>{let u=0,l=11;for(;u<c.length;)l=101*l+c.charCodeAt(u++)>>>0;return"go"+l})(r));if(!J[o]){let c=r!==t?t:(u=>{let l,h,d=[{}];for(;l=yf.exec(u.replace(gf,""));)l[4]?d.shift():l[3]?(h=l[3].replace(ri," ").trim(),d.unshift(d[0][h]=d[0][h]||{})):d[0][l[1]]=l[2].replace(ri," ").trim();return d[0]})(t);J[o]=st(i?{["@keyframes "+o]:c}:c,n?"":"."+o)}let a=n&&J.g?J.g:null;return n&&(J.g=J[o]),((c,u,l,h)=>{h?u.data=u.data.replace(h,c):u.data.indexOf(c)===-1&&(u.data=l?c+u.data:u.data+c)})(J[o],e,s,a),o},xf=(t,e,n)=>t.reduce((s,i,r)=>{let o=e[r];if(o&&o.call){let a=o(n),c=a&&a.props&&a.props.className||/^go/.test(a)&&a;o=c?"."+c:a&&typeof a=="object"?a.props?"":st(a,""):a===!1?"":a}return s+i+(o??"")},"");function pe(t){let e=this||{},n=t.call?t(e.p):t;return vf(n.unshift?n.raw?xf(n,[].slice.call(arguments,1),e.p):n.reduce((s,i)=>Object.assign(s,i&&i.call?i(e.p):i),{}):n,mf(e.target),e.g,e.o,e.k)}let Ko,on,rn;pe.bind({g:1});let et=pe.bind({k:1});function kf(t,e,n,s){st.p=e,Ko=t,on=n,rn=s}function ct(t,e){let n=this||{};return function(){let s=arguments;function i(r,o){let a=Object.assign({},r),c=a.className||i.className;n.p=Object.assign({theme:on&&on()},a),n.o=/ *go\d+/.test(c),a.className=pe.apply(n,s)+(c?" "+c:"");let u=t;return t[0]&&(u=a.as||t,delete a.as),rn&&u[0]&&rn(a),Ko(u,a)}return i}}var Mf=t=>typeof t=="function",le=(t,e)=>Mf(t)?t(e):t,wf=(()=>{let t=0;return()=>(++t).toString()})(),Go=(()=>{let t;return()=>{if(t===void 0&&typeof window<"u"){let e=matchMedia("(prefers-reduced-motion: reduce)");t=!e||e.matches}return t}})(),bf=20,Fn="default",Xo=(t,e)=>{let{toastLimit:n}=t.settings;switch(e.type){case 0:return{...t,toasts:[e.toast,...t.toasts].slice(0,n)};case 1:return{...t,toasts:t.toasts.map(o=>o.id===e.toast.id?{...o,...e.toast}:o)};case 2:let{toast:s}=e;return Xo(t,{type:t.toasts.find(o=>o.id===s.id)?1:0,toast:s});case 3:let{toastId:i}=e;return{...t,toasts:t.toasts.map(o=>o.id===i||i===void 0?{...o,dismissed:!0,visible:!1}:o)};case 4:return e.toastId===void 0?{...t,toasts:[]}:{...t,toasts:t.toasts.filter(o=>o.id!==e.toastId)};case 5:return{...t,pausedAt:e.time};case 6:let r=e.time-(t.pausedAt||0);return{...t,pausedAt:void 0,toasts:t.toasts.map(o=>({...o,pauseDuration:o.pauseDuration+r}))}}},ee=[],Yo={toasts:[],pausedAt:void 0,settings:{toastLimit:bf}},G={},Zo=(t,e=Fn)=>{G[e]=Xo(G[e]||Yo,t),ee.forEach(([n,s])=>{n===e&&s(G[e])})},Jo=t=>
9Object.keys(G).forEach(e=>Zo(t,e)),Tf=t=>Object.keys(G).find(e=>G[e].toasts.some(n=>n.id===t)),me=(t=Fn)=>e=>{Zo(e,t)},Pf={blank:4e3,error:4e3,success:2e3,loading:1/0,custom:4e3},Sf=(t={},e=Fn)=>{let[n,s]=m.useState(G[e]||Yo),i=m.useRef(G[e]);m.useEffect(()=>(i.current!==G[e]&&s(G[e]),ee.push([e,s]),()=>{let o=ee.findIndex(([a])=>a===e);o>-1&&ee.splice(o,1)}),[e]);let r=n.toasts.map(o=>{var a,c,u;return{...t,...t[o.type],...o,removeDelay:o.removeDelay||((a=t[o.type])==null?void 0:a.removeDelay)||t?.removeDelay,duration:o.duration||((c=t[o.type])==null?void 0:c.duration)||t?.duration||Pf[o.type],style:{...t.style,...(u=t[o.type])==null?void 0:u.style,...o.style}}});return{...n,toasts:r}},Af=(t,e="blank",n)=>({createdAt:Date.now(),visible:!0,dismissed:!1,type:e,ariaProps:{role:"status","aria-live":"polite"},message:t,pauseDuration:0,...n,id:n?.id||wf()}),Wt=t=>(e,n)=>{let s=Af(e,t,n);return me(s.toasterId||Tf(s.id))({type:2,toast:s}),s.id},N=(t,e)=>Wt("blank")(t,e);N.error=Wt("error");N.success=Wt("success");N.loading=Wt("loading");N.custom=Wt("custom");N.dismiss=(t,e)=>{let n={type:3,toastId:t};e?me(e)(n):Jo(n)};N.dismissAll=t=>N.dismiss(void 0,t);N.remove=(t,e)=>{let n={type:4,toastId:t};e?me(e)(n):Jo(n)};N.removeAll=t=>N.remove(void 0,t);N.promise=(t,e,n)=>{let s=N.loading(e.loading,{...n,...n?.loading});return typeof t=="function"&&(t=t()),t.then(i=>{let r=e.success?le(e.success,i):void 0;return r?N.success(r,{id:s,...n,...n?.success}):N.dismiss(s),i}).catch(i=>{let r=e.error?le(e.error,i):void 0;r?N.error(r,{id:s,...n,...n?.error}):N.dismiss(s)}),t};var Cf=1e3,Vf=(t,e="default")=>{let{toasts:n,pausedAt:s}=Sf(t,e),i=m.useRef(new Map).current,r=m.useCallback((h,d=Cf)=>{if(i.has(h))return;let p=setTimeout(()=>{i.delete(h),o({type:4,toastId:h})},d);i.set(h,p)},[]);m.useEffect(()=>{if(s)return;let h=Date.now(),d=n.map(p=>{if(p.duration===1/0)return;let y=(p.duration||0)+p.pauseDuration-(h-p.createdAt);if(y<0){p.visible&&N.dismiss(p.id);return}return setTimeout(()=>N.dismiss(p.id,e),y)});return()=>{d.forEach(p=>p&&clearTimeout(p))}},[n,s,e]);let o=m.useCallback(me(e),[e]),a=m.useCallback(()=>{o({type:5,time:Date.now()})},[o]),c=m.useCallback((h,d)=>{o({type:1,toast:{id:h,height:d}})},[o]),u=m.useCallback(()=>{s&&o({type:6,time:Date.now()})},[s,o]),l=m.useCallback((h,d)=>{let{reverseOrder:p=!1,gutter:y=8,defaultPosition:v}=d||{},x=n.filter(g=>(g.position||v)===(h.position||v)&&g.height),k=x.findIndex(g=>g.id===h.id),w=x.filter((g,b)=>b<k&&g.visible).length;return x.filter(g=>g.visible).slice(...p?[w+1]:[0,w]).reduce((g,b)=>g+(b.height||0)+y,0)},[n]);return m.useEffect(()=>{n.forEach(h=>{if(h.dismissed)r(h.id,h.removeDelay);else{let d=i.get(h.id);d&&(clearTimeout(d),i.delete(h.id))}})},[n,r]),{toasts:n,handlers:{updateHeight:c,startPause:a,endPause:u,calculateOffset:l}}},Df=et`
10from {
11  transform: scale(0) rotate(45deg);
12	opacity: 0;
13}
14to {
15 transform: scale(1) rotate(45deg);
16  opacity: 1;
17}`,_f=et`
18from {
19  transform: scale(0);
20  opacity: 0;
21}
22to {
23  transform: scale(1);
24  opacity: 1;
25}`,Ef=et`
26from {
27  transform: scale(0) rotate(90deg);
28	opacity: 0;
29}
30to {
31  transform: scale(1) rotate(90deg);
32	opacity: 1;
33}`,Rf=ct("div")`
34  width: 20px;
35  opacity: 0;
36  height: 20px;
37  border-radius: 10px;
38  background: ${t=>t.primary||"#ff4b4b"};
39  position: relative;
40  transform: rotate(45deg);
41
42  animation: ${Df} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
43    forwards;
44  animation-delay: 100ms;
45
46  &:after,
47  &:before {
48    content: '';
49    animation: ${_f} 0.15s ease-out forwards;
50    animation-delay: 150ms;
51    position: absolute;
52    border-radius: 3px;
53    opacity: 0;
54    background: ${t=>t.secondary||"#fff"};
55    bottom: 9px;
56    left: 4px;
57    height: 2px;
58    width: 12px;
59  }
60
61  &:before {
62    animation: ${Ef} 0.15s ease-out forwards;
63    animation-delay: 180ms;
64    transform: rotate(90deg);
65  }
66`,Lf=et`
67  from {
68    transform: rotate(0deg);
69  }
70  to {
71    transform: rotate(360deg);
72  }
73`,Nf=ct("div")`
74  width: 12px;
75  height: 12px;
76  box-sizing: border-box;
77  border: 2px solid;
78  border-radius: 100%;
79  border-color: ${t=>t.secondary||"#e0e0e0"};
80  border-right-color: ${t=>t.primary||"#616161"};
81  animation: ${Lf} 1s linear infinite;
82`,jf=et`
83from {
84  transform: scale(0) rotate(45deg);
85	opacity: 0;
86}
87to {
88  transform: scale(1) rotate(45deg);
89	opacity: 1;
90}`,$f=et`
910% {
92	height: 0;
93	width: 0;
94	opacity: 0;
95}
9640% {
97  height: 0;
98	width: 6px;
99	opacity: 1;
100}
101100% {
102  opacity: 1;
103  height: 10px;
104}`,If=ct("div")`
105  width: 20px;
106  opacity: 0;
107  height: 20px;
108  border-radius: 10px;
109  background: ${t=>t.primary||"#61d345"};
110  position: relative;
111  transform: rotate(45deg);
112
113  animation: ${jf} 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275)
114    forwards;
115  animation-delay: 100ms;
116  &:after {
117    content: '';
118    box-sizing: border-box;
119    animation: ${$f} 0.2s ease-out forwards;
120    opacity: 0;
121    animation-delay: 200ms;
122    position: absolute;
123    border-right: 2px solid;
124    border-bottom: 2px solid;
125    border-color: ${t=>t.secondary||"#fff"};
126    bottom: 6px;
127    left: 6px;
128    height: 10px;
129    width: 6px;
130  }
131`,Ff=ct("div")`
132  position: absolute;
133`,Bf=ct("div")`
134  position: relative;
135  display: flex;
136  justify-content: center;
137  align-items: center;
138  min-width: 20px;
139  min-height: 20px;
140`,Of=et`
141from {
142  transform: scale(0.6);
143  opacity: 0.4;
144}
145to {
146  transform: scale(1);
147  opacity: 1;
148}`,zf=ct("div")`
149  position: relative;
150  transform: scale(0.6);
151  opacity: 0.4;
152  min-width: 20px;
153  animation: ${Of} 0.3s 0.12s cubic-bezier(0.175, 0.885, 0.32, 1.275)
154    forwards;
155`,Hf=({toast:t})=>{let{icon:e,type:n,iconTheme:s}=t;return e!==void 0?typeof e=="string"?m.createElement(zf,null,e):e:n==="blank"?null:m.createElement(Bf,null,m.createElement(Nf,{...s}),n!=="loading"&&m.createElement(Ff,null,n==="error"?m.createElement(Rf,{...s}):m.createElement(If,{...s})))},Uf=t=>`
1560% {transform: translate3d(0,${t*-200}%,0) scale(.6); opacity:.5;}
157100% {transform: translate3d(0,0,0) scale(1); opacity:1;}
158`,Wf=t=>`
1590% {transform: translate3d(0,0,-1px) scale(1); opacity:1;}
160100% {transform: translate3d(0,${t*-150}%,-1px) scale(.6); opacity:0;}
161`,qf="0%{opacity:0;} 100%{opacity:1;}",Kf="0%{opacity:1;} 100%{opacity:0;}",Gf=ct("div")`
162  display: flex;
163  align-items: center;
164  background: #fff;
165  color: #363636;
166  line-height: 1.3;
167  will-change: transform;
168  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1), 0 3px 3px rgba(0, 0, 0, 0.05);
169  max-width: 350px;
170  pointer-events: auto;
171  padding: 8px 10px;
172  border-radius: 8px;
173`,Xf=ct("div")`
174  display: flex;
175  justify-content: center;
176  margin: 4px 10px;
177  color: inherit;
178  flex: 1 1 auto;
179  white-space: pre-line;
180`,Yf=(t,e)=>{let n=t.includes("top")?1:-1,[s,i]=Go()?[qf,Kf]:[Uf(n),Wf(n)];return{animation:e?`${et(s)} 0.35s cubic-bezier(.21,1.02,.73,1) forwards`:`${et(i)} 0.4s forwards cubic-bezier(.06,.71,.55,1)`}},Zf=m.memo(({toast:t,position:e,style:n,children:s})=>{let i=t.height?Yf(t.position||e||"top-center",t.visible):{opacity:0},r=m.createElement(Hf,{toast:t}),o=m.createElement(Xf,{...t.ariaProps},le(t.message,t));return m.createElement(Gf,{className:t.className,style:{...i,...n,...t.style}},typeof s=="function"?s({icon:r,message:o}):m.createElement(m.Fragment,null,r,o))});kf(m.createElement);var Jf=({id:t,className:e,style:n,onHeightUpdate:s,children:i})=>{let r=m.useCallback(o=>{if(o){let a=()=>{let c=o.getBoundingClientRect().height;s(t,c)};a(),new MutationObserver(a).observe(o,{subtree:!0,childList:!0,characterData:!0})}},[t,s]);return m.createElement("div",{ref:r,className:e,style:n},i)},Qf=(t,e)=>{let n=t.includes("top"),s=n?{top:0}:{bottom:0},i=t.includes("center")?{justifyContent:"center"}:t.includes("right")?{justifyContent:"flex-end"}:{};return{left:0,right:0,display:"flex",position:"absolute",transition:Go()?void 0:"all 230ms cubic-bezier(.21,1.02,.73,1)",transform:`translateY(${e*(n?1:-1)}px)`,...s,...i}},t1=pe`
181  z-index: 9999;
182  > * {
183    pointer-events: auto;
184  }
185`,Yt=16,E0=({reverseOrder:t,position:e="top-center",toastOptions:n,gutter:s,children:i,toasterId:r,containerStyle:o,containerClassName:a})=>{let{toasts:c,handlers:u}=Vf(n,r);return m.createElement("div",{"data-rht-toaster":r||"",style:{position:"fixed",zIndex:9999,top:Yt,left:Yt,right:Yt,bottom:Yt,pointerEvents:"none",...o},className:a,onMouseEnter:u.startPause,onMouseLeave:u.endPause},c.map(l=>{let h=l.position||e,d=u.calculateOffset(l,{reverseOrder:t,gutter:s,defaultPosition:e}),p=Qf(h,d);return m.createElement(Jf,{id:l.id,key:l.id,onHeightUpdate:u.updateHeight,className:l.visible?t1:"",style:p},l.type==="custom"?le(l.message,l):i?i(l):m.createElement(Zf,{toast:l,position:h}
185))}))},R0=N;export{yp as $,C0 as A,h1 as B,V1 as C,Gp as D,U1 as E,q1 as F,$1 as G,sp as H,lp as I,Np as J,Qp as K,dp as L,V0 as M,Ap as N,Hp as O,Fp as P,Op as Q,zp as R,l0 as S,Cp as T,pp as U,g0 as V,P0 as W,S0 as X,e0 as Y,hp as Z,u0 as _,_p as a,o1 as a$,i0 as a0,W1 as a1,Kp as a2,j1 as a3,tp as a4,N1 as a5,n0 as a6,Up as a7,Q1 as a8,Vp as a9,B1 as aA,T0 as aB,d0 as aC,_0 as aD,Xp as aE,cp as aF,Y1 as aG,s1 as aH,t0 as aI,Tp as aJ,f1 as aK,op as aL,a1 as aM,a0 as aN,p1 as aO,Ip as aP,Jp as aQ,m0 as aR,v1 as aS,x0 as aT,d1 as aU,M0 as aV,k1 as aW,np as aX,z1 as aY,k0 as aZ,v0 as a_,M1 as aa,Dp as ab,D1 as ac,O1 as ad,b0 as ae,gp as af,r0 as ag,xp as ah,bp as ai,up as aj,H1 as ak,Rp as al,s0 as am,h0 as an,u1 as ao,Yp as ap,K1 as aq,F1 as ar,y0 as as,rp as at,Ep as au,w0 as av,Zp as aw,Z1 as ax,f0 as ay,jp as az,c0 as b,vp as b0,p0 as b1,E1 as b2,T1 as b3,o0 as b4,Sp as b5,ip as b6,$p as b7,I1 as b8,g1 as b9,X1 as ba,S1 as bb,Wp as bc,i1 as bd,qp as be,A1 as bf,L1 as bg,C1 as bh,Bp as bi,J1 as bj,Lp as bk,ff as bl,w1 as c,b1 as d,y1 as e,fp as f,m1 as g,_1 as h,R1 as i,X as j,wp as k,r1 as l,D0 as m,c1 as n,kp as o,P1 as p,x1 as q,Pp as r,l1 as s,G1 as t,ep as u,E0 as v,mp as w,Mp as x,ap as y,R0 as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.