@dub/ui 0.0.46 → 0.0.47

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (260) hide show
  1. package/dist/accordion.mjs +1 -1
  2. package/dist/avatar.mjs +1 -1
  3. package/dist/background.mjs +1 -1
  4. package/dist/badge.d.ts +1 -1
  5. package/dist/badge.mjs +1 -1
  6. package/dist/button.mjs +1 -1
  7. package/dist/checkbox.mjs +1 -1
  8. package/dist/chunk-22FAWGI2.mjs +2 -0
  9. package/dist/chunk-22M5IZGY.mjs +2 -0
  10. package/dist/chunk-267YGSQX.mjs +2 -0
  11. package/dist/chunk-2BGWMG5R.mjs +2 -0
  12. package/dist/chunk-2C2AYRDJ.mjs +2 -0
  13. package/dist/chunk-2UB3RTVY.mjs +2 -0
  14. package/dist/chunk-2UIWEIL7.mjs +2 -0
  15. package/dist/chunk-367VJAPK.mjs +2 -0
  16. package/dist/chunk-3CH3RXR4.mjs +2 -0
  17. package/dist/chunk-3MY7WTOT.mjs +2 -0
  18. package/dist/chunk-3RKI3XCF.mjs +2 -0
  19. package/dist/chunk-3SV2MOBG.mjs +2 -0
  20. package/dist/chunk-3TPO7XOP.mjs +2 -0
  21. package/dist/chunk-43LROUB3.mjs +2 -0
  22. package/dist/chunk-44ET234E.mjs +2 -0
  23. package/dist/chunk-4AX5PQOH.mjs +2 -0
  24. package/dist/chunk-4C6HYHRC.mjs +2 -0
  25. package/dist/chunk-4CQOI7G4.mjs +2 -0
  26. package/dist/chunk-4H3MYKHQ.mjs +2 -0
  27. package/dist/chunk-4IDCC2MO.mjs +2 -0
  28. package/dist/chunk-4K2QOHTL.mjs +2 -0
  29. package/dist/chunk-4V3FDDS7.mjs +2 -0
  30. package/dist/chunk-52QRFDDW.mjs +2 -0
  31. package/dist/chunk-53MXGVW2.mjs +2 -0
  32. package/dist/chunk-5AGYPDNY.mjs +2 -0
  33. package/dist/chunk-5J5VQGTV.mjs +2 -0
  34. package/dist/chunk-5LM4LED7.mjs +2 -0
  35. package/dist/chunk-65DNVDPM.mjs +2 -0
  36. package/dist/chunk-673MYR5C.mjs +2 -0
  37. package/dist/chunk-67M2HR27.mjs +2 -0
  38. package/dist/chunk-6CVCG7XQ.mjs +2 -0
  39. package/dist/chunk-6SN52NSU.mjs +2 -0
  40. package/dist/chunk-72RJYZC4.mjs +2 -0
  41. package/dist/chunk-73LEGCYT.mjs +2 -0
  42. package/dist/chunk-75QKGFID.mjs +2 -0
  43. package/dist/chunk-7FW4FD6V.mjs +2 -0
  44. package/dist/chunk-7H2MFT6Y.mjs +2 -0
  45. package/dist/chunk-7HYKKWLC.mjs +2 -0
  46. package/dist/chunk-7NVV2SJ6.mjs +2 -0
  47. package/dist/chunk-7P6O55NM.mjs +2 -0
  48. package/dist/chunk-7TDANTOM.mjs +2 -0
  49. package/dist/chunk-7U4NK4ZB.mjs +2 -0
  50. package/dist/chunk-7V7XA4WQ.mjs +2 -0
  51. package/dist/chunk-A6ECBXEG.mjs +2 -0
  52. package/dist/chunk-AEV5DQWS.mjs +2 -0
  53. package/dist/chunk-AFEJXWYG.mjs +2 -0
  54. package/dist/chunk-AKLCD65K.mjs +2 -0
  55. package/dist/chunk-AOSOHEQG.mjs +2 -0
  56. package/dist/chunk-AVRDGUVP.mjs +2 -0
  57. package/dist/chunk-AXHFON4Y.mjs +2 -0
  58. package/dist/chunk-AYPMW36J.mjs +2 -0
  59. package/dist/chunk-BJQ2Z7ZZ.mjs +2 -0
  60. package/dist/chunk-BKZVVF77.mjs +2 -0
  61. package/dist/chunk-BO7CLV3L.mjs +2 -0
  62. package/dist/chunk-BQGOY32H.mjs +2 -0
  63. package/dist/chunk-BVQIENCS.mjs +2 -0
  64. package/dist/chunk-BZIDA6WD.mjs +2 -0
  65. package/dist/chunk-CA4NFNGT.mjs +2 -0
  66. package/dist/chunk-CF43BDDK.mjs +2 -0
  67. package/dist/chunk-CGLH53CQ.mjs +2 -0
  68. package/dist/chunk-CKA4WJHY.mjs +2 -0
  69. package/dist/chunk-CQBD5WSQ.mjs +2 -0
  70. package/dist/chunk-CWLVJJC5.mjs +2 -0
  71. package/dist/chunk-DAYCDRHY.mjs +2 -0
  72. package/dist/chunk-DHNCNEW2.mjs +2 -0
  73. package/dist/chunk-DNQ4SAP6.mjs +2 -0
  74. package/dist/chunk-DRJBOZBI.mjs +2 -0
  75. package/dist/chunk-E2LOV42D.mjs +2 -0
  76. package/dist/chunk-E7Z6BPCB.mjs +2 -0
  77. package/dist/chunk-EA2EL53P.mjs +2 -0
  78. package/dist/chunk-EKDIXFGM.mjs +2 -0
  79. package/dist/chunk-ENVYHCG2.mjs +2 -0
  80. package/dist/chunk-EQSIF2C5.mjs +2 -0
  81. package/dist/chunk-EWBMIRHE.mjs +2 -0
  82. package/dist/chunk-EWLUHKFM.mjs +2 -0
  83. package/dist/chunk-EY2SBVEL.mjs +2 -0
  84. package/dist/chunk-EY3SEZY2.mjs +2 -0
  85. package/dist/chunk-F7YA3Z4L.mjs +2 -0
  86. package/dist/chunk-FFEQJT42.mjs +2 -0
  87. package/dist/chunk-FJQPLAPE.mjs +2 -0
  88. package/dist/chunk-FNZQ2MCN.mjs +2 -0
  89. package/dist/chunk-FOY2FY3X.mjs +2 -0
  90. package/dist/chunk-G6TI3HO4.mjs +2 -0
  91. package/dist/chunk-GNND5QQK.mjs +2 -0
  92. package/dist/chunk-GYRZCMQY.mjs +2 -0
  93. package/dist/chunk-HHQL75WM.mjs +2 -0
  94. package/dist/chunk-HSAGDV77.mjs +2 -0
  95. package/dist/chunk-IEUEF2EK.mjs +2 -0
  96. package/dist/chunk-IRNPIUTH.mjs +2 -0
  97. package/dist/chunk-J4OA2NFT.mjs +2 -0
  98. package/dist/chunk-JJ4GRW7W.mjs +2 -0
  99. package/dist/chunk-JJCHEG5U.mjs +2 -0
  100. package/dist/chunk-JNMVTHFZ.mjs +2 -0
  101. package/dist/chunk-JOT4WLOU.mjs +2 -0
  102. package/dist/chunk-JTOSTRB4.mjs +2 -0
  103. package/dist/chunk-JUGL4JCI.mjs +2 -0
  104. package/dist/chunk-JW3C36JY.mjs +2 -0
  105. package/dist/chunk-JYPNGA7N.mjs +2 -0
  106. package/dist/chunk-JZVRI7PW.mjs +2 -0
  107. package/dist/chunk-K4B5KXEQ.mjs +2 -0
  108. package/dist/chunk-KBFAWZQN.mjs +2 -0
  109. package/dist/chunk-KG4NH3L7.mjs +2 -0
  110. package/dist/chunk-KHE2YIPC.mjs +2 -0
  111. package/dist/chunk-KQVRSKQR.mjs +2 -0
  112. package/dist/chunk-KTF3OUIM.mjs +2 -0
  113. package/dist/chunk-L7KZOXIA.mjs +2 -0
  114. package/dist/chunk-LI4QN2V5.mjs +2 -0
  115. package/dist/chunk-LJZJFUWJ.mjs +2 -0
  116. package/dist/chunk-LKJEU7RA.mjs +2 -0
  117. package/dist/chunk-LKPVF6UR.mjs +2 -0
  118. package/dist/chunk-LV6I3DWM.mjs +2 -0
  119. package/dist/chunk-LXWCAKW4.mjs +2 -0
  120. package/dist/chunk-M3QAM37L.mjs +2 -0
  121. package/dist/chunk-M67AWHVC.mjs +2 -0
  122. package/dist/chunk-MENG6ASM.mjs +2 -0
  123. package/dist/chunk-MGX4KHFA.mjs +2 -0
  124. package/dist/chunk-MHK6H4LU.mjs +2 -0
  125. package/dist/chunk-MMLSF5RG.mjs +2 -0
  126. package/dist/chunk-MNHUCXVQ.mjs +2 -0
  127. package/dist/chunk-MR4HQZXU.mjs +2 -0
  128. package/dist/chunk-MSE55EIC.mjs +2 -0
  129. package/dist/chunk-N6NWJGES.mjs +2 -0
  130. package/dist/chunk-N7GKWXYV.mjs +2 -0
  131. package/dist/chunk-NGUM4KJX.mjs +2 -0
  132. package/dist/chunk-NHNGGEPP.mjs +2 -0
  133. package/dist/chunk-NI2D6W3K.mjs +2 -0
  134. package/dist/chunk-NRYQ55IG.mjs +2 -0
  135. package/dist/chunk-O2RSQO4U.mjs +2 -0
  136. package/dist/chunk-OBOBCNC5.mjs +2 -0
  137. package/dist/chunk-OCDE5HD3.mjs +2 -0
  138. package/dist/chunk-OCXR6ZTM.mjs +2 -0
  139. package/dist/chunk-OFTUR7RA.mjs +2 -0
  140. package/dist/chunk-OGOJSOIZ.mjs +2 -0
  141. package/dist/chunk-OMIWHNGS.mjs +2 -0
  142. package/dist/chunk-OMZ7RHQA.mjs +2 -0
  143. package/dist/chunk-ONIFDLW7.mjs +2 -0
  144. package/dist/chunk-OU5IV6WN.mjs +2 -0
  145. package/dist/chunk-OYSBM6Y2.mjs +2 -0
  146. package/dist/chunk-P6HMN2YO.mjs +2 -0
  147. package/dist/chunk-PAX3QVWA.mjs +2 -0
  148. package/dist/chunk-PDFRSYDK.mjs +2 -0
  149. package/dist/chunk-PFJROC3Q.mjs +2 -0
  150. package/dist/chunk-PJ3PMPUN.mjs +2 -0
  151. package/dist/chunk-PJBLFLVF.mjs +2 -0
  152. package/dist/chunk-PQXAXZHA.mjs +2 -0
  153. package/dist/chunk-PQZGMMZI.mjs +2 -0
  154. package/dist/chunk-PRCWHNYA.mjs +2 -0
  155. package/dist/chunk-PUIMRFR2.mjs +2 -0
  156. package/dist/chunk-QA3JOW73.mjs +2 -0
  157. package/dist/chunk-QC2CWSVH.mjs +2 -0
  158. package/dist/chunk-QHLZENK2.mjs +2 -0
  159. package/dist/chunk-QRAEQK2Z.mjs +2 -0
  160. package/dist/chunk-QSH3VGIS.mjs +2 -0
  161. package/dist/chunk-QVZRJ3KC.mjs +2 -0
  162. package/dist/chunk-QYW5DKOZ.mjs +2 -0
  163. package/dist/chunk-R32XQAYH.mjs +2 -0
  164. package/dist/chunk-R5764YAL.mjs +2 -0
  165. package/dist/chunk-RFNKVEKJ.mjs +2 -0
  166. package/dist/chunk-RMBCXZ5T.mjs +2 -0
  167. package/dist/chunk-SI4RNU2N.mjs +2 -0
  168. package/dist/chunk-SNHEWIGF.mjs +2 -0
  169. package/dist/chunk-T3YJ7VYT.mjs +2 -0
  170. package/dist/chunk-TFGILEW6.mjs +2 -0
  171. package/dist/chunk-TOYA2L2G.mjs +2 -0
  172. package/dist/chunk-TVNNQ6PC.mjs +2 -0
  173. package/dist/chunk-U4EVZU3K.mjs +2 -0
  174. package/dist/chunk-U55RLJ2L.mjs +2 -0
  175. package/dist/chunk-U6YQBKYV.mjs +2 -0
  176. package/dist/chunk-UAG2I2ZX.mjs +2 -0
  177. package/dist/chunk-UFXJQZUG.mjs +2 -0
  178. package/dist/chunk-UJXOP3V6.mjs +2 -0
  179. package/dist/chunk-URAR7MLD.mjs +2 -0
  180. package/dist/chunk-UWD3FHAU.mjs +2 -0
  181. package/dist/chunk-UY6RJCJ5.mjs +2 -0
  182. package/dist/chunk-VJWB2AMS.mjs +2 -0
  183. package/dist/chunk-VKLCOSG7.mjs +2 -0
  184. package/dist/chunk-VMKBIADX.mjs +2 -0
  185. package/dist/chunk-VNBEMS6M.mjs +2 -0
  186. package/dist/chunk-VNORYA6V.mjs +2 -0
  187. package/dist/chunk-VPIGUJ2M.mjs +2 -0
  188. package/dist/chunk-VRP4D3OS.mjs +2 -0
  189. package/dist/chunk-VVQDMCWT.mjs +2 -0
  190. package/dist/chunk-W4WEZVNJ.mjs +2 -0
  191. package/dist/chunk-W5TTYZAV.mjs +2 -0
  192. package/dist/chunk-W7CWJE5U.mjs +2 -0
  193. package/dist/chunk-WDBAGP5C.mjs +2 -0
  194. package/dist/chunk-WDD3NO7Z.mjs +2 -0
  195. package/dist/chunk-WHSDAFAP.mjs +2 -0
  196. package/dist/chunk-WKVTOVNZ.mjs +2 -0
  197. package/dist/chunk-WLNX25NE.mjs +2 -0
  198. package/dist/chunk-WMDOBEIX.mjs +2 -0
  199. package/dist/chunk-WTRSWXCM.mjs +2 -0
  200. package/dist/chunk-X3HWNWVM.mjs +2 -0
  201. package/dist/chunk-X7U2SIFC.mjs +2 -0
  202. package/dist/chunk-XENJXRM3.mjs +2 -0
  203. package/dist/chunk-XFY4LB2J.mjs +2 -0
  204. package/dist/chunk-XLF2TF5G.mjs +2 -0
  205. package/dist/chunk-XLYPGKLK.mjs +2 -0
  206. package/dist/chunk-XP5DG5XQ.mjs +2 -0
  207. package/dist/chunk-Y34LSD3S.mjs +2 -0
  208. package/dist/chunk-Y3RPAWVA.mjs +2 -0
  209. package/dist/chunk-Y6B7LKES.mjs +2 -0
  210. package/dist/chunk-YAL2I474.mjs +2 -0
  211. package/dist/chunk-YD23GKOR.mjs +2 -0
  212. package/dist/chunk-YDKDYZOQ.mjs +2 -0
  213. package/dist/chunk-YJNNAGCX.mjs +2 -0
  214. package/dist/chunk-YNYR3CVJ.mjs +2 -0
  215. package/dist/chunk-YPNC4DKF.mjs +2 -0
  216. package/dist/chunk-YRKVHFSR.mjs +2 -0
  217. package/dist/chunk-YYRS4WEX.mjs +2 -0
  218. package/dist/chunk-ZGKS4AQK.mjs +2 -0
  219. package/dist/chunk-ZJLXNLVC.mjs +2 -0
  220. package/dist/chunk-ZL6TPPGJ.mjs +2 -0
  221. package/dist/chunk-ZUDT5JWU.mjs +2 -0
  222. package/dist/copy-button.mjs +1 -1
  223. package/dist/footer.mjs +1 -1
  224. package/dist/form.mjs +1 -1
  225. package/dist/hooks/use-toast-with-undo.mjs +1 -1
  226. package/dist/icon-menu.mjs +1 -1
  227. package/dist/icons/copy.mjs +1 -1
  228. package/dist/icons/expanding-arrow.mjs +1 -1
  229. package/dist/icons/facebook.mjs +1 -1
  230. package/dist/icons/github.mjs +1 -1
  231. package/dist/icons/google.mjs +1 -1
  232. package/dist/icons/index.mjs +1 -1
  233. package/dist/icons/linkedin.mjs +1 -1
  234. package/dist/icons/loading-circle.mjs +1 -1
  235. package/dist/icons/loading-dots.mjs +1 -1
  236. package/dist/icons/loading-spinner.mjs +1 -1
  237. package/dist/icons/logo.mjs +1 -1
  238. package/dist/icons/logotype.mjs +1 -1
  239. package/dist/icons/magic.mjs +1 -1
  240. package/dist/icons/photo.mjs +1 -1
  241. package/dist/icons/success.mjs +1 -1
  242. package/dist/icons/tick.mjs +1 -1
  243. package/dist/icons/twitter.mjs +1 -1
  244. package/dist/icons/unsplash.mjs +1 -1
  245. package/dist/index.css +1 -1
  246. package/dist/index.mjs +1 -1
  247. package/dist/inline-snippet.mjs +1 -1
  248. package/dist/label.mjs +1 -1
  249. package/dist/link-preview.mjs +1 -1
  250. package/dist/max-width-wrapper.mjs +1 -1
  251. package/dist/modal.mjs +1 -1
  252. package/dist/nav-mobile.mjs +1 -1
  253. package/dist/nav.mjs +1 -1
  254. package/dist/popover.mjs +1 -1
  255. package/dist/radio-group.mjs +1 -1
  256. package/dist/switch.mjs +1 -1
  257. package/dist/tab-select.mjs +1 -1
  258. package/dist/tooltip.d.ts +1 -1
  259. package/dist/tooltip.mjs +1 -1
  260. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as Ne,b as Re}from"./chunk-AUBFB4SI.mjs";var ce=Ne((Er,le)=>{var P=1e3,T=P*60,L=T*60,I=L*24,Ze=I*7,qe=I*365.25;le.exports=function(e,r){r=r||{};var t=typeof e;if(t==="string"&&e.length>0)return Ke(e);if(t==="number"&&isFinite(e))return r.long?Qe(e):Xe(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Ke(e){if(e=String(e),!(e.length>100)){var r=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!r){var t=parseFloat(r[1]),o=(r[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return t*qe;case"weeks":case"week":case"w":return t*Ze;case"days":case"day":case"d":return t*I;case"hours":case"hour":case"hrs":case"hr":case"h":return t*L;case"minutes":case"minute":case"mins":case"min":case"m":return t*T;case"seconds":case"second":case"secs":case"sec":case"s":return t*P;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return t;default:return}}}}function Xe(e){var r=Math.abs(e);return r>=I?Math.round(e/I)+"d":r>=L?Math.round(e/L)+"h":r>=T?Math.round(e/T)+"m":r>=P?Math.round(e/P)+"s":e+"ms"}function Qe(e){var r=Math.abs(e);return r>=I?B(e,r,I,"day"):r>=L?B(e,r,L,"hour"):r>=T?B(e,r,T,"minute"):r>=P?B(e,r,P,"second"):e+" ms"}function B(e,r,t,o){var n=r>=t*1.5;return Math.round(e/t)+" "+o+(n?"s":"")}});var W=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:"25 links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-redirect-root-domain"}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{name:"Business",tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:49,yearly:39,ids:["price_1LodLoAlJJEpqkPVJdwv5zrG","price_1LoyrCAlJJEpqkPVZ32BV3wm","price_1LodLoAlJJEpqkPV9rD0rlNL","price_1OTcRzAlJJEpqkPV6G9iP0Tb","price_1OZgmnAlJJEpqkPVOj4kV64R"]},limits:{links:5e3,clicks:25e4,domains:20,tags:150,users:15},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:"5,000 links/mo"},{text:"250K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:"https://dub.co/help/article/custom-qr-codes"}},{text:"Event callbacks (Beta)",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:null,clicks:null,domains:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],ze=W.find(e=>e.name==="free"),Ue=W.filter(e=>e.name==="Pro"||e.name==="Business");var H=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",De=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,Ge=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),Be=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",je=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",Ve=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${H}`,"api.localhost:8888"]),Fe=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",$e=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]);var R="cl7pj5kq4006835rbjlt2ofka";var Je=["stats","changelog","terms","privacy","abuse"],Ye=[{id:"clce1z7ch00j0rbstbjufva4j",slug:H,verified:!0,primary:!0,archived:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:R},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"],projectId:R},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es"],projectId:R},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:R}]:[]],We=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code API",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}];function He(e,r={digits:1}){if(!e)return"0";if(r.full)return Intl.NumberFormat("en-US").format(e);let t=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}],o=/\.0+$|(\.[0-9]*[1-9])0+$/;var n=t.slice().reverse().find(function(i){return e>=i.value});return n?(e/n.value).toFixed(r.digits).replace(o,"$1")+n.symbol:"0"}var de=Re(ce(),1),er=(e,{withAgo:r}={})=>{if(!e)return"Never";let t=Date.now()-new Date(e).getTime();return t<1e3?"Just now":t>828e5?new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:new Date(e).getFullYear()!==new Date().getFullYear()?"numeric":void 0}):`${(0,de.default)(t)}${r?" ago":""}`};var j=e=>{try{return new URL(e),!0}catch{return!1}},rr=e=>{if(j(e))return new URL(e).toString();try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).toString()}catch{return null}};var or=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),ar=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),sr=new RegExp(/^[a-zA-Z0-9\-]+$/);var nr=e=>{if(j(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}};async function ir(e,r){let t=await fetch(e,r);if(!t.ok){let o=await t.text(),n=new Error(o);throw n.status=t.status,n}return t.json()}function ue(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e))for(r=0;r<e.length;r++)e[r]&&(t=ue(e[r]))&&(o&&(o+=" "),o+=t);else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function pe(){for(var e,r,t=0,o="";t<arguments.length;)(e=arguments[t++])&&(r=ue(e))&&(o&&(o+=" "),o+=r);return o}function me(){for(var e=0,r,t,o="";e<arguments.length;)(r=arguments[e++])&&(t=fe(r))&&(o&&(o+=" "),o+=t);return o}function fe(e){if(typeof e=="string")return e;for(var r,t="",o=0;o<e.length;o++)e[o]&&(r=fe(e[o]))&&(t&&(t+=" "),t+=r);return t}var q="-";function be(e){var r=cr(e),t=e.conflictingClassGroups,o=e.conflictingClassGroupModifiers,n=o===void 0?{}:o;function i(s){var l=s.split(q);return l[0]===""&&l.length!==1&&l.shift(),ve(l,r)||lr(s)}function a(s,l){var d=t[s]||[];return l&&n[s]?[].concat(d,n[s]):d}return{getClassGroupId:i,getConflictingClassGroupIds:a}}function ve(e,r){var a;if(e.length===0)return r.classGroupId;var t=e[0],o=r.nextPart.get(t),n=o?ve(e.slice(1),o):void 0;if(n)return n;if(r.validators.length!==0){var i=e.join(q);return(a=r.validators.find(function(s){var l=s.validator;return l(i)}))==null?void 0:a.classGroupId}}var ge=/^\[(.+)\]$/;function lr(e){if(ge.test(e)){var r=ge.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}function cr(e){var r=e.theme,t=e.prefix,o={nextPart:new Map,validators:[]},n=ur(Object.entries(e.classGroups),t);return n.forEach(function(i){var a=i[0],s=i[1];Z(s,o,a,r)}),o}function Z(e,r,t,o){e.forEach(function(n){if(typeof n=="string"){var i=n===""?r:he(r,n);i.classGroupId=t;return}if(typeof n=="function"){if(dr(n)){Z(n(o),r,t,o);return}r.validators.push({validator:n,classGroupId:t});return}Object.entries(n).forEach(function(a){var s=a[0],l=a[1];Z(l,he(r,s),t,o)})})}function he(e,r){var t=e;return r.split(q).forEach(function(o){t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t}function dr(e){return e.isThemeGetter}function ur(e,r){return r?e.map(function(t){var o=t[0],n=t[1],i=n.map(function(a){return typeof a=="string"?r+a:typeof a=="object"?Object.fromEntries(Object.entries(a).map(function(s){var l=s[0],d=s[1];return[r+l,d]})):a});return[o,i]}):e}function ye(e){if(e<1)return{get:function(){},set:function(){}};var r=0,t=new Map,o=new Map;function n(i,a){t.set(i,a),r++,r>e&&(r=0,o=t,t=new Map)}return{get:function(a){var s=t.get(a);if(s!==void 0)return s;if((s=o.get(a))!==void 0)return n(a,s),s},set:function(a,s){t.has(a)?t.set(a,s):n(a,s)}}}var K="!";function xe(e){var r=e.separator||":",t=r.length===1,o=r[0],n=r.length;return function(a){for(var s=[],l=0,d=0,m,u=0;u<a.length;u++){var f=a[u];if(l===0){if(f===o&&(t||a.slice(u,u+n)===r)){s.push(a.slice(d,u)),d=u+n;continue}if(f==="/"){m=u;continue}}f==="["?l++:f==="]"&&l--}var h=s.length===0?a:a.substring(d),y=h.startsWith(K),g=y?h.substring(1):h,x=m&&m>d?m-d:void 0;return{modifiers:s,hasImportantModifier:y,baseClassName:g,maybePostfixModifierPosition:x}}}function we(e){if(e.length<=1)return e;var r=[],t=[];return e.forEach(function(o){var n=o[0]==="[";n?(r.push.apply(r,t.sort().concat([o])),t=[]):t.push(o)}),r.push.apply(r,t.sort()),r}function Ae(e){return{cache:ye(e.cacheSize),splitModifiers:xe(e),...be(e)}}var pr=/\s+/;function ke(e,r){var t=r.splitModifiers,o=r.getClassGroupId,n=r.getConflictingClassGroupIds,i=new Set;return e.trim().split(pr).map(function(a){var s=t(a),l=s.modifiers,d=s.hasImportantModifier,m=s.baseClassName,u=s.maybePostfixModifierPosition,f=o(u?m.substring(0,u):m),h=Boolean(u);if(!f){if(!u)return{isTailwindClass:!1,originalClassName:a};if(f=o(m),!f)return{isTailwindClass:!1,originalClassName:a};h=!1}var y=we(l).join(":"),g=d?y+K:y;return{isTailwindClass:!0,modifierId:g,classGroupId:f,originalClassName:a,hasPostfixModifier:h}}).reverse().filter(function(a){if(!a.isTailwindClass)return!0;var s=a.modifierId,l=a.classGroupId,d=a.hasPostfixModifier,m=s+l;return i.has(m)?!1:(i.add(m),n(l,d).forEach(function(u){return i.add(s+u)}),!0)}).reverse().map(function(a){return a.originalClassName}).join(" ")}function Ee(){for(var e=arguments.length,r=new Array(e),t=0;t<e;t++)r[t]=arguments[t];var o,n,i,a=s;function s(d){var m=r[0],u=r.slice(1),f=u.reduce(function(h,y){return y(h)},m());return o=Ae(f),n=o.cache.get,i=o.cache.set,a=l,l(d)}function l(d){var m=n(d);if(m)return m;var u=ke(d,o);return i(d,u),u}return function(){return a(me.apply(null,arguments))}}function c(e){var r=function(o){return o[e]||[]};return r.isThemeGetter=!0,r}var Ie=/^\[(?:([a-z-]+):)?(.+)\]$/i,mr=/^\d+\/\d+$/,fr=new Set(["px","full","screen"]),gr=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,hr=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|^0$/,br=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;function v(e){return S(e)||fr.has(e)||mr.test(e)||A(e)}function A(e){return C(e,"length",vr)}function Ce(e){return C(e,"size",_e)}function Pe(e){return C(e,"position",_e)}function Te(e){return C(e,"url",yr)}function z(e){return C(e,"number",S)}function S(e){return!Number.isNaN(Number(e))}function Le(e){return e.endsWith("%")&&S(e.slice(0,-1))}function M(e){return Se(e)||C(e,"number",Se)}function p(e){return Ie.test(e)}function _(){return!0}function k(e){return gr.test(e)}function Me(e){return C(e,"",xr)}function C(e,r,t){var o=Ie.exec(e);return o?o[1]?o[1]===r:t(o[2]):!1}function vr(e){return hr.test(e)}function _e(){return!1}function yr(e){return e.startsWith("url(")}function Se(e){return Number.isInteger(Number(e))}function xr(e){return br.test(e)}function Oe(){var e=c("colors"),r=c("spacing"),t=c("blur"),o=c("brightness"),n=c("borderColor"),i=c("borderRadius"),a=c("borderSpacing"),s=c("borderWidth"),l=c("contrast"),d=c("grayscale"),m=c("hueRotate"),u=c("invert"),f=c("gap"),h=c("gradientColorStops"),y=c("gradientColorStopPositions"),g=c("inset"),x=c("margin"),E=c("opacity"),w=c("padding"),Q=c("saturate"),V=c("scale"),ee=c("sepia"),re=c("skew"),te=c("space"),oe=c("translate"),F=function(){return["auto","contain","none"]},$=function(){return["auto","hidden","clip","visible","scroll"]},J=function(){return["auto",r]},ae=function(){return["",v]},U=function(){return["auto",S,p]},se=function(){return["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"]},D=function(){return["solid","dashed","dotted","double","none"]},ne=function(){return["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"]},Y=function(){return["start","end","center","between","around","evenly","stretch"]},O=function(){return["","0",p]},ie=function(){return["auto","avoid","all","avoid-page","page","left","right","column"]},N=function(){return[S,z]},G=function(){return[S,p]};return{cacheSize:500,theme:{colors:[_],spacing:[v],blur:["none","",k,A],brightness:N(),borderColor:[e],borderRadius:["none","","full",k,A],borderSpacing:[r],borderWidth:ae(),contrast:N(),grayscale:O(),hueRotate:G(),invert:O(),gap:[r],gradientColorStops:[e],gradientColorStopPositions:[Le,A],inset:J(),margin:J(),opacity:N(),padding:[r],saturate:N(),scale:N(),sepia:O(),skew:G(),space:[r],translate:[r]},classGroups:{aspect:[{aspect:["auto","square","video",p]}],container:["container"],columns:[{columns:[k]}],"break-after":[{"break-after":ie()}],"break-before":[{"break-before":ie()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none"]}],clear:[{clear:["left","right","both","none"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[].concat(se(),[p])}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[g]}],"inset-x":[{"inset-x":[g]}],"inset-y":[{"inset-y":[g]}],start:[{start:[g]}],end:[{end:[g]}],top:[{top:[g]}],right:[{right:[g]}],bottom:[{bottom:[g]}],left:[{left:[g]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",M]}],basis:[{basis:J()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",p]}],grow:[{grow:O()}],shrink:[{shrink:O()}],order:[{order:["first","last","none",M]}],"grid-cols":[{"grid-cols":[_]}],"col-start-end":[{col:["auto",{span:[M]},p]}],"col-start":[{"col-start":U()}],"col-end":[{"col-end":U()}],"grid-rows":[{"grid-rows":[_]}],"row-start-end":[{row:["auto",{span:[M]},p]}],"row-start":[{"row-start":U()}],"row-end":[{"row-end":U()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",p]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",p]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal"].concat(Y())}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal"].concat(Y(),["baseline"])}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[].concat(Y(),["baseline"])}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[w]}],px:[{px:[w]}],py:[{py:[w]}],ps:[{ps:[w]}],pe:[{pe:[w]}],pt:[{pt:[w]}],pr:[{pr:[w]}],pb:[{pb:[w]}],pl:[{pl:[w]}],m:[{m:[x]}],mx:[{mx:[x]}],my:[{my:[x]}],ms:[{ms:[x]}],me:[{me:[x]}],mt:[{mt:[x]}],mr:[{mr:[x]}],mb:[{mb:[x]}],ml:[{ml:[x]}],"space-x":[{"space-x":[te]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[te]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit",r]}],"min-w":[{"min-w":["min","max","fit",v]}],"max-w":[{"max-w":["0","none","full","min","max","fit","prose",{screen:[k]},k,A]}],h:[{h:[r,"auto","min","max","fit"]}],"min-h":[{"min-h":["min","max","fit",v]}],"max-h":[{"max-h":[r,"min","max","fit"]}],"font-size":[{text:["base",k,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",z]}],"font-family":[{font:[_]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",A]}],"line-clamp":[{"line-clamp":["none",S,z]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",v]}],"list-image":[{"list-image":["none",p]}],"list-style-type":[{list:["none","disc","decimal",p]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[E]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[E]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[].concat(D(),["wavy"])}],"text-decoration-thickness":[{decoration:["auto","from-font",v]}],"underline-offset":[{"underline-offset":["auto",v]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],indent:[{indent:[r]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",A]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",p]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[E]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[].concat(se(),[Pe])}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Ce]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Te]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[y]}],"gradient-via-pos":[{via:[y]}],"gradient-to-pos":[{to:[y]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[E]}],"border-style":[{border:[].concat(D(),["hidden"])}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[E]}],"divide-style":[{divide:D()}],"border-color":[{border:[n]}],"border-color-x":[{"border-x":[n]}],"border-color-y":[{"border-y":[n]}],"border-color-t":[{"border-t":[n]}],"border-color-r":[{"border-r":[n]}],"border-color-b":[{"border-b":[n]}],"border-color-l":[{"border-l":[n]}],"divide-color":[{divide:[n]}],"outline-style":[{outline:[""].concat(D())}],"outline-offset":[{"outline-offset":[v]}],"outline-w":[{outline:[v]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[E]}],"ring-offset-w":[{"ring-offset":[v]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",k,Me]}],"shadow-color":[{shadow:[_]}],opacity:[{opacity:[E]}],"mix-blend":[{"mix-blend":ne()}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",k,p]}],grayscale:[{grayscale:[d]}],"hue-rotate":[{"hue-rotate":[m]}],invert:[{invert:[u]}],saturate:[{saturate:[Q]}],sepia:[{sepia:[ee]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[d]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[m]}],"backdrop-invert":[{"backdrop-invert":[u]}],"backdrop-opacity":[{"backdrop-opacity":[E]}],"backdrop-saturate":[{"backdrop-saturate":[Q]}],"backdrop-sepia":[{"backdrop-sepia":[ee]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",p]}],duration:[{duration:G()}],ease:[{ease:["linear","in","out","in-out",p]}],delay:[{delay:G()}],animate:[{animate:["none","spin","ping","pulse","bounce",p]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[V]}],"scale-x":[{"scale-x":[V]}],"scale-y":[{"scale-y":[V]}],rotate:[{rotate:[M,p]}],"translate-x":[{"translate-x":[oe]}],"translate-y":[{"translate-y":[oe]}],"skew-x":[{"skew-x":[re]}],"skew-y":[{"skew-y":[re]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",p]}],accent:[{accent:["auto",e]}],appearance:["appearance-none"],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",p]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":[r]}],"scroll-mx":[{"scroll-mx":[r]}],"scroll-my":[{"scroll-my":[r]}],"scroll-ms":[{"scroll-ms":[r]}],"scroll-me":[{"scroll-me":[r]}],"scroll-mt":[{"scroll-mt":[r]}],"scroll-mr":[{"scroll-mr":[r]}],"scroll-mb":[{"scroll-mb":[r]}],"scroll-ml":[{"scroll-ml":[r]}],"scroll-p":[{"scroll-p":[r]}],"scroll-px":[{"scroll-px":[r]}],"scroll-py":[{"scroll-py":[r]}],"scroll-ps":[{"scroll-ps":[r]}],"scroll-pe":[{"scroll-pe":[r]}],"scroll-pt":[{"scroll-pt":[r]}],"scroll-pr":[{"scroll-pr":[r]}],"scroll-pb":[{"scroll-pb":[r]}],"scroll-pl":[{"scroll-pl":[r]}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","pinch-zoom","manipulation",{pan:["x","left","right","y","up","down"]}]}],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",p]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[v,z]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var X=Ee(Oe);function wr(...e){return X(pe(e))}export{Be as a,Je as b,We as c,He as d,er as e,rr as f,nr as g,ir as h,wr as i};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as Gr}from"./chunk-YD23GKOR.mjs";import{a as Ur,c as Js,e as Qs}from"./chunk-L7KZOXIA.mjs";function Va(t){var e={};return function(o){return e[o]===void 0&&(e[o]=t(o)),e[o]}}var mn,fn=Ur(()=>{mn=Va});var pn={};Js(pn,{default:()=>Ca});var ba,Sa,Ca,hn=Ur(()=>{fn();ba=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|inert|itemProp|itemScope|itemType|itemID|itemRef|on|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Sa=mn(function(t){return ba.test(t)||t.charCodeAt(0)===111&&t.charCodeAt(1)===110&&t.charCodeAt(2)<91}),Ca=Sa});import*as Ho from"react";import{forwardRef as ha,useContext as Fe}from"react";import{createContext as ta}from"react";var Me=ta({transformPagePoint:t=>t,isStatic:!1,reducedMotion:"never"});import{createContext as ea}from"react";var pt=ea({});import{useContext as Re,useRef as Hr,useInsertionEffect as aa,useEffect as la}from"react";import{createContext as oa}from"react";var jt=oa(null);import{useLayoutEffect as ra,useEffect as na}from"react";var ht=typeof document<"u";var zr=ht?ra:na;import{createContext as ia}from"react";var we=ia({strict:!1});var Nt=t=>t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();var sa="framerAppearId",De="data-"+Nt(sa);function Wr(t,e,o,r){let{visualElement:n}=Re(pt),s=Re(we),i=Re(jt),a=Re(Me).reducedMotion,l=Hr();r=r||s.renderer,!l.current&&r&&(l.current=r(t,{visualState:e,parent:n,props:o,presenceContext:i,blockInitialAnimation:i?i.initial===!1:!1,reducedMotionConfig:a}));let c=l.current;aa(()=>{c&&c.update(o,i)});let u=Hr(Boolean(o[De]&&!window.HandoffComplete));return zr(()=>{!c||(c.render(),u.current&&c.animationState&&c.animationState.animateChanges())}),la(()=>{!c||(c.updateFeatures(),!u.current&&c.animationState&&c.animationState.animateChanges(),u.current&&(u.current=!1,window.HandoffComplete=!0))}),c}import{useCallback as ca}from"react";function st(t){return t&&typeof t=="object"&&Object.prototype.hasOwnProperty.call(t,"current")}function $r(t,e,o){return ca(r=>{r&&t.mount&&t.mount(r),e&&(r?e.mount(r):e.unmount()),o&&(typeof o=="function"?o(r):st(o)&&(o.current=r))},[e])}import{useContext as ua,useMemo as ma}from"react";function at(t){return typeof t=="string"||Array.isArray(t)}function dt(t){return t!==null&&typeof t=="object"&&typeof t.start=="function"}var Le=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],pe=["initial",...Le];function St(t){return dt(t.animate)||pe.some(e=>at(t[e]))}function ke(t){return Boolean(St(t)||t.variants)}function Kr(t,e){if(St(t)){let{initial:o,animate:r}=t;return{initial:o===!1||at(o)?o:void 0,animate:at(r)?r:void 0}}return t.inherit!==!1?e:{}}function qr(t){let{initial:e,animate:o}=Kr(t,ua(pt));return ma(()=>({initial:e,animate:o}),[_r(e),_r(o)])}function _r(t){return Array.isArray(t)?t.join(" "):t}var Yr={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"]},Ct={};for(let t in Yr)Ct[t]={isEnabled:e=>Yr[t].some(o=>!!e[o])};function Xr(t){for(let e in t)Ct[e]={...Ct[e],...t[e]}}import{createContext as fa}from"react";var Ee=fa({});import{createContext as pa}from"react";var Be=pa({});var Zr=Symbol.for("motionComponentSymbol");function Jr({preloadedFeatures:t,createVisualElement:e,useRender:o,useVisualState:r,Component:n}){t&&Xr(t);function s(a,l){let c,u={...Fe(Me),...a,layoutId:da(a)},{isStatic:m}=u,f=qr(a),p=r(a,m);if(!m&&ht){f.visualElement=Wr(n,p,u,e);let h=Fe(Be),d=Fe(we).strict;f.visualElement&&(c=f.visualElement.loadFeatures(u,d,t,h))}return Ho.createElement(pt.Provider,{value:f},c&&f.visualElement?Ho.createElement(c,{visualElement:f.visualElement,...u}):null,o(n,a,$r(p,f.visualElement,l),p,m,f.visualElement))}let i=ha(s);return i[Zr]=n,i}function da({layoutId:t}){let e=Fe(Ee).id;return e&&t!==void 0?e+"-"+t:t}function Qr(t){function e(r,n={}){return Jr(t(r,n))}if(typeof Proxy>"u")return e;let o=new Map;return new Proxy(e,{get:(r,n)=>(o.has(n)||o.set(n,e(n)),o.get(n))})}var tn=["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 Ut(t){return typeof t!="string"||t.includes("-")?!1:!!(tn.indexOf(t)>-1||/[A-Z]/.test(t))}import{useMemo as Ra,createElement as La}from"react";import{useMemo as xa}from"react";var Gt={};function en(t){Object.assign(Gt,t)}var gt=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],W=new Set(gt);function Oe(t,{layout:e,layoutId:o}){return W.has(t)||t.startsWith("origin")||(e||o!==void 0)&&(!!Gt[t]||t==="opacity")}var M=t=>Boolean(t&&t.getVelocity);var ga={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},ya=gt.length;function on(t,{enableHardwareAcceleration:e=!0,allowTransformNone:o=!0},r,n){let s="";for(let i=0;i<ya;i++){let a=gt[i];t[a]!==void 0&&(s+=`${ga[a]||a}(${t[a]}) `)}return e&&!t.z&&(s+="translateZ(0)"),s=s.trim(),n?s=n(t,r?"":s):o&&r&&(s="none"),s}var rn=t=>e=>typeof e=="string"&&e.startsWith(t),Ie=rn("--"),je=rn("var(--"),nn=/var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g;var sn=(t,e)=>e&&typeof t=="number"?e.transform(t):t;var U=(t,e,o)=>Math.min(Math.max(o,t),e);var J={test:t=>typeof t=="number",parse:parseFloat,transform:t=>t},yt={...J,transform:t=>U(0,1,t)},he={...J,default:1};var xt=t=>Math.round(t*1e5)/1e5,At=/(-)?([\d]*\.?[\d])+/g,Wo=/(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,an=/^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;function lt(t){return typeof t=="string"}var de=t=>({test:e=>lt(e)&&e.endsWith(t)&&e.split(" ").length===1,parse:parseFloat,transform:e=>`${e}${t}`}),tt=de("deg"),G=de("%"),y=de("px"),ln=de("vh"),cn=de("vw"),$o={...G,parse:t=>G.parse(t)/100,transform:t=>G.transform(t*100)};var Ko={...J,transform:Math.round};var Ne={borderWidth:y,borderTopWidth:y,borderRightWidth:y,borderBottomWidth:y,borderLeftWidth:y,borderRadius:y,radius:y,borderTopLeftRadius:y,borderTopRightRadius:y,borderBottomRightRadius:y,borderBottomLeftRadius:y,width:y,maxWidth:y,height:y,maxHeight:y,size:y,top:y,right:y,bottom:y,left:y,padding:y,paddingTop:y,paddingRight:y,paddingBottom:y,paddingLeft:y,margin:y,marginTop:y,marginRight:y,marginBottom:y,marginLeft:y,rotate:tt,rotateX:tt,rotateY:tt,rotateZ:tt,scale:he,scaleX:he,scaleY:he,scaleZ:he,skew:tt,skewX:tt,skewY:tt,distance:y,translateX:y,translateY:y,translateZ:y,x:y,y,z:y,perspective:y,transformPerspective:y,opacity:yt,originX:$o,originY:$o,originZ:y,zIndex:Ko,fillOpacity:yt,strokeOpacity:yt,numOctaves:Ko};function zt(t,e,o,r){let{style:n,vars:s,transform:i,transformOrigin:a}=t,l=!1,c=!1,u=!0;for(let m in e){let f=e[m];if(Ie(m)){s[m]=f;continue}let p=Ne[m],h=sn(f,p);if(W.has(m)){if(l=!0,i[m]=h,!u)continue;f!==(p.default||0)&&(u=!1)}else m.startsWith("origin")?(c=!0,a[m]=h):n[m]=h}if(e.transform||(l||r?n.transform=on(t.transform,o,u,r):n.transform&&(n.transform="none")),c){let{originX:m="50%",originY:f="50%",originZ:p=0}=a;n.transformOrigin=`${m} ${f} ${p}`}}var Ht=()=>({style:{},transform:{},transformOrigin:{},vars:{}});function _o(t,e,o){for(let r in e)!M(e[r])&&!Oe(r,o)&&(t[r]=e[r])}function va({transformTemplate:t},e,o){return xa(()=>{let r=Ht();return zt(r,e,{enableHardwareAcceleration:!o},t),Object.assign({},r.vars,r.style)},[e])}function Pa(t,e,o){let r=t.style||{},n={};return _o(n,r,t),Object.assign(n,va(t,e,o)),t.transformValues?t.transformValues(n):n}function un(t,e,o){let r={},n=Pa(t,e,o);return t.drag&&t.dragListener!==!1&&(r.draggable=!1,n.userSelect=n.WebkitUserSelect=n.WebkitTouchCallout="none",n.touchAction=t.drag===!0?"none":`pan-${t.drag==="x"?"y":"x"}`),t.tabIndex===void 0&&(t.onTap||t.onTapStart||t.whileTap)&&(r.tabIndex=0),r.style=n,r}var Ta=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","transformValues","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function ge(t){return t.startsWith("while")||t.startsWith("drag")&&t!=="draggable"||t.startsWith("layout")||t.startsWith("onTap")||t.startsWith("onPan")||t.startsWith("onLayout")||Ta.has(t)}var dn=t=>!ge(t);function Aa(t){!t||(dn=e=>e.startsWith("on")?!ge(e):t(e))}try{Aa((hn(),Qs(pn)).default)}catch{}function gn(t,e,o){let r={};for(let n in t)n==="values"&&typeof t.values=="object"||(dn(n)||o===!0&&ge(n)||!e&&!ge(n)||t.draggable&&n.startsWith("onDrag"))&&(r[n]=t[n]);return r}import{useMemo as Da}from"react";function yn(t,e,o){return typeof t=="string"?t:y.transform(e+o*t)}function xn(t,e,o){let r=yn(e,t.x,t.width),n=yn(o,t.y,t.height);return`${r} ${n}`}var Ma={offset:"stroke-dashoffset",array:"stroke-dasharray"},wa={offset:"strokeDashoffset",array:"strokeDasharray"};function vn(t,e,o=1,r=0,n=!0){t.pathLength=1;let s=n?Ma:wa;t[s.offset]=y.transform(-r);let i=y.transform(e),a=y.transform(o);t[s.array]=`${i} ${a}`}function Wt(t,{attrX:e,attrY:o,attrScale:r,originX:n,originY:s,pathLength:i,pathSpacing:a=1,pathOffset:l=0,...c},u,m,f){if(zt(t,c,u,f),m){t.style.viewBox&&(t.attrs.viewBox=t.style.viewBox);return}t.attrs=t.style,t.style={};let{attrs:p,style:h,dimensions:d}=t;p.transform&&(d&&(h.transform=p.transform),delete p.transform),d&&(n!==void 0||s!==void 0||h.transform)&&(h.transformOrigin=xn(d,n!==void 0?n:.5,s!==void 0?s:.5)),e!==void 0&&(p.x=e),o!==void 0&&(p.y=o),r!==void 0&&(p.scale=r),i!==void 0&&vn(p,i,a,l,!1)}var Ue=()=>({...Ht(),attrs:{}});var $t=t=>typeof t=="string"&&t.toLowerCase()==="svg";function Pn(t,e,o,r){let n=Da(()=>{let s=Ue();return Wt(s,e,{enableHardwareAcceleration:!1},$t(r),t.transformTemplate),{...s.attrs,style:{...s.style}}},[e]);if(t.style){let s={};_o(s,t.style,t),n.style={...s,...n.style}}return n}function Tn(t=!1){return(o,r,n,{latestValues:s},i)=>{let l=(Ut(o)?Pn:un)(r,s,i,o),u={...gn(r,typeof o=="string",t),...l,ref:n},{children:m}=r,f=Ra(()=>M(m)?m.get():m,[m]);return La(o,{...u,children:f})}}function Ge(t,{style:e,vars:o},r,n){Object.assign(t.style,e,n&&n.getProjectionStyles(r));for(let s in o)t.style.setProperty(s,o[s])}var ze=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function He(t,e,o,r){Ge(t,e,void 0,r);for(let n in e.attrs)t.setAttribute(ze.has(n)?n:Nt(n),e.attrs[n])}function Kt(t,e){let{style:o}=t,r={};for(let n in o)(M(o[n])||e.style&&M(e.style[n])||Oe(n,t))&&(r[n]=o[n]);return r}function We(t,e){let o=Kt(t,e);for(let r in t)if(M(t[r])||M(e[r])){let n=gt.indexOf(r)!==-1?"attr"+r.charAt(0).toUpperCase()+r.substring(1):r;o[n]=t[r]}return o}import{useContext as Cn}from"react";function _t(t,e,o,r={},n={}){return typeof e=="function"&&(e=e(o!==void 0?o:t.custom,r,n)),typeof e=="string"&&(e=t.variants&&t.variants[e]),typeof e=="function"&&(e=e(o!==void 0?o:t.custom,r,n)),e}import{useRef as ka}from"react";function Vn(t){let e=ka(null);return e.current===null&&(e.current=t()),e.current}var Mt=t=>Array.isArray(t);var bn=t=>Boolean(t&&typeof t=="object"&&t.mix&&t.toValue),Sn=t=>Mt(t)?t[t.length-1]||0:t;function qt(t){let e=M(t)?t.get():t;return bn(e)?e.toValue():e}function Ea({scrapeMotionValuesFromProps:t,createRenderState:e,onMount:o},r,n,s){let i={latestValues:Ba(r,n,s,t),renderState:e()};return o&&(i.mount=a=>o(r,a,i)),i}var $e=t=>(e,o)=>{let r=Cn(pt),n=Cn(jt),s=()=>Ea(t,e,r,n);return o?s():Vn(s)};function Ba(t,e,o,r){let n={},s=r(t,{});for(let f in s)n[f]=qt(s[f]);let{initial:i,animate:a}=t,l=St(t),c=ke(t);e&&c&&!l&&t.inherit!==!1&&(i===void 0&&(i=e.initial),a===void 0&&(a=e.animate));let u=o?o.initial===!1:!1;u=u||i===!1;let m=u?a:i;return m&&typeof m!="boolean"&&!dt(m)&&(Array.isArray(m)?m:[m]).forEach(p=>{let h=_t(t,p);if(!h)return;let{transitionEnd:d,transition:x,...T}=h;for(let v in T){let g=T[v];if(Array.isArray(g)){let P=u?g.length-1:0;g=g[P]}g!==null&&(n[v]=g)}for(let v in d)n[v]=d[v]}),n}var S=t=>t;var Ke=class{constructor(){this.order=[],this.scheduled=new Set}add(e){if(!this.scheduled.has(e))return this.scheduled.add(e),this.order.push(e),!0}remove(e){let o=this.order.indexOf(e);o!==-1&&(this.order.splice(o,1),this.scheduled.delete(e))}clear(){this.order.length=0,this.scheduled.clear()}};function An(t){let e=new Ke,o=new Ke,r=0,n=!1,s=!1,i=new WeakSet,a={schedule:(l,c=!1,u=!1)=>{let m=u&&n,f=m?e:o;return c&&i.add(l),f.add(l)&&m&&n&&(r=e.order.length),l},cancel:l=>{o.remove(l),i.delete(l)},process:l=>{if(n){s=!0;return}if(n=!0,[e,o]=[o,e],o.clear(),r=e.order.length,r)for(let c=0;c<r;c++){let u=e.order[c];u(l),i.has(u)&&(a.schedule(u),t())}n=!1,s&&(s=!1,a.process(l))}};return a}var _e=["prepare","read","update","preRender","render","postRender"],Fa=40;function Mn(t,e){let o=!1,r=!0,n={delta:0,timestamp:0,isProcessing:!1},s=_e.reduce((m,f)=>(m[f]=An(()=>o=!0),m),{}),i=m=>s[m].process(n),a=()=>{let m=performance.now();o=!1,n.delta=r?1e3/60:Math.max(Math.min(m-n.timestamp,Fa),1),n.timestamp=m,n.isProcessing=!0,_e.forEach(i),n.isProcessing=!1,o&&e&&(r=!1,t(a))},l=()=>{o=!0,r=!0,n.isProcessing||t(a)};return{schedule:_e.reduce((m,f)=>{let p=s[f];return m[f]=(h,d=!1,x=!1)=>(o||l(),p.schedule(h,d,x)),m},{}),cancel:m=>_e.forEach(f=>s[f].cancel(m)),state:n,steps:s}}var{schedule:V,cancel:z,state:E,steps:qe}=Mn(typeof requestAnimationFrame<"u"?requestAnimationFrame:S,!0);var wn={useVisualState:$e({scrapeMotionValuesFromProps:We,createRenderState:Ue,onMount:(t,e,{renderState:o,latestValues:r})=>{V.read(()=>{try{o.dimensions=typeof e.getBBox=="function"?e.getBBox():e.getBoundingClientRect()}catch{o.dimensions={x:0,y:0,width:0,height:0}}}),V.render(()=>{Wt(o,r,{enableHardwareAcceleration:!1},$t(e.tagName),t.transformTemplate),He(e,o)})}})};var Dn={useVisualState:$e({scrapeMotionValuesFromProps:Kt,createRenderState:Ht})};function Rn(t,{forwardMotionProps:e=!1},o,r){return{...Ut(t)?wn:Dn,preloadedFeatures:o,useRender:Tn(e),createVisualElement:r,Component:t}}function $(t,e,o,r={passive:!0}){return t.addEventListener(e,o,r),()=>t.removeEventListener(e,o)}var Ye=t=>t.pointerType==="mouse"?typeof t.button!="number"||t.button<=0:t.isPrimary!==!1;function wt(t,e="page"){return{point:{x:t[e+"X"],y:t[e+"Y"]}}}var Ln=t=>e=>Ye(e)&&t(e,wt(e));function K(t,e,o,r){return $(t,e,Ln(o),r)}var Oa=(t,e)=>o=>e(t(o)),_=(...t)=>t.reduce(Oa);function Bn(t){let e=null;return()=>{let o=()=>{e=null};return e===null?(e=t,o):!1}}var kn=Bn("dragHorizontal"),En=Bn("dragVertical");function qo(t){let e=!1;if(t==="y")e=En();else if(t==="x")e=kn();else{let o=kn(),r=En();o&&r?e=()=>{o(),r()}:(o&&o(),r&&r())}return e}function Xe(){let t=qo(!0);return t?(t(),!1):!0}var O=class{constructor(e){this.isMounted=!1,this.node=e}update(){}};function Fn(t,e){let o="pointer"+(e?"enter":"leave"),r="onHover"+(e?"Start":"End"),n=(s,i)=>{if(s.pointerType==="touch"||Xe())return;let a=t.getProps();t.animationState&&a.whileHover&&t.animationState.setActive("whileHover",e),a[r]&&V.update(()=>a[r](s,i))};return K(t.current,o,n,{passive:!t.getProps()[r]})}var Ze=class extends O{mount(){this.unmount=_(Fn(this.node,!0),Fn(this.node,!1))}unmount(){}};var Je=class extends O{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=_($(this.node.current,"focus",()=>this.onFocus()),$(this.node.current,"blur",()=>this.onBlur()))}unmount(){}};var Yo=(t,e)=>e?t===e?!0:Yo(t,e.parentElement):!1;function Xo(t,e){if(!e)return;let o=new PointerEvent("pointer"+t);e(o,wt(o))}var Qe=class extends O{constructor(){super(...arguments),this.removeStartListeners=S,this.removeEndListeners=S,this.removeAccessibleListeners=S,this.startPointerPress=(e,o)=>{if(this.isPressing)return;this.removeEndListeners();let r=this.node.getProps(),s=K(window,"pointerup",(a,l)=>{if(!this.checkPressEnd())return;let{onTap:c,onTapCancel:u,globalTapTarget:m}=this.node.getProps();V.update(()=>{!m&&!Yo(this.node.current,a.target)?u&&u(a,l):c&&c(a,l)})},{passive:!(r.onTap||r.onPointerUp)}),i=K(window,"pointercancel",(a,l)=>this.cancelPress(a,l),{passive:!(r.onTapCancel||r.onPointerCancel)});this.removeEndListeners=_(s,i),this.startPress(e,o)},this.startAccessiblePress=()=>{let e=s=>{if(s.key!=="Enter"||this.isPressing)return;let i=a=>{a.key!=="Enter"||!this.checkPressEnd()||Xo("up",(l,c)=>{let{onTap:u}=this.node.getProps();u&&V.update(()=>u(l,c))})};this.removeEndListeners(),this.removeEndListeners=$(this.node.current,"keyup",i),Xo("down",(a,l)=>{this.startPress(a,l)})},o=$(this.node.current,"keydown",e),r=()=>{!this.isPressing||Xo("cancel",(s,i)=>this.cancelPress(s,i))},n=$(this.node.current,"blur",r);this.removeAccessibleListeners=_(o,n)}}startPress(e,o){this.isPressing=!0;let{onTapStart:r,whileTap:n}=this.node.getProps();n&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),r&&V.update(()=>r(e,o))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Xe()}cancelPress(e,o){if(!this.checkPressEnd())return;let{onTapCancel:r}=this.node.getProps();r&&V.update(()=>r(e,o))}mount(){let e=this.node.getProps(),o=K(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),r=$(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=_(o,r)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}};var Jo=new WeakMap,Zo=new WeakMap,Ia=t=>{let e=Jo.get(t.target);e&&e(t)},ja=t=>{t.forEach(Ia)};function Na({root:t,...e}){let o=t||document;Zo.has(o)||Zo.set(o,{});let r=Zo.get(o),n=JSON.stringify(e);return r[n]||(r[n]=new IntersectionObserver(ja,{root:t,...e})),r[n]}function On(t,e,o){let r=Na(e);return Jo.set(t,o),r.observe(t),()=>{Jo.delete(t),r.unobserve(t)}}var Ua={some:0,all:1},to=class extends O{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();let{viewport:e={}}=this.node.getProps(),{root:o,margin:r,amount:n="some",once:s}=e,i={root:o?o.current:void 0,rootMargin:r,threshold:typeof n=="number"?n:Ua[n]},a=l=>{let{isIntersecting:c}=l;if(this.isInView===c||(this.isInView=c,s&&!c&&this.hasEnteredView))return;c&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",c);let{onViewportEnter:u,onViewportLeave:m}=this.node.getProps(),f=c?u:m;f&&f(l)};return On(this.node.current,i,a)}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;let{props:e,prevProps:o}=this.node;["amount","margin","root"].some(Ga(e,o))&&this.startObserver()}unmount(){}};function Ga({viewport:t={}},{viewport:e={}}={}){return o=>t[o]!==e[o]}var In={inView:{Feature:to},tap:{Feature:Qe},focus:{Feature:Je},hover:{Feature:Ze}};function Qo(t,e){if(!Array.isArray(e))return!1;let o=e.length;if(o!==t.length)return!1;for(let r=0;r<o;r++)if(e[r]!==t[r])return!1;return!0}function za(t){let e={};return t.values.forEach((o,r)=>e[r]=o.get()),e}function Ha(t){let e={};return t.values.forEach((o,r)=>e[r]=o.getVelocity()),e}function vt(t,e,o){let r=t.getProps();return _t(r,e,o!==void 0?o:r.custom,za(t),Ha(t))}var ct=S,F=S;process.env.NODE_ENV!=="production"&&(ct=(t,e)=>{!t&&typeof console<"u"&&console.warn(e)},F=(t,e)=>{if(!t)throw new Error(e)});var X=t=>t*1e3,q=t=>t/1e3;var tr={current:!1};var er=t=>Array.isArray(t)&&typeof t[0]=="number";function or(t){return Boolean(!t||typeof t=="string"&&jn[t]||er(t)||Array.isArray(t)&&t.every(or))}var ye=([t,e,o,r])=>`cubic-bezier(${t}, ${e}, ${o}, ${r})`,jn={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:ye([0,.65,.55,1]),circOut:ye([.55,0,1,.45]),backIn:ye([.31,.01,.66,-.59]),backOut:ye([.33,1.53,.69,.99])};function rr(t){if(!!t)return er(t)?ye(t):Array.isArray(t)?t.map(rr):jn[t]}function Nn(t,e,o,{delay:r=0,duration:n,repeat:s=0,repeatType:i="loop",ease:a,times:l}={}){let c={[e]:o};l&&(c.offset=l);let u=rr(a);return Array.isArray(u)&&(c.easing=u),t.animate(c,{delay:r,duration:n,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:s+1,direction:i==="reverse"?"alternate":"normal"})}function Un(t,{repeat:e,repeatType:o="loop"}){let r=e&&o!=="loop"&&e%2===1?0:t.length-1;return t[r]}var Gn=(t,e,o)=>(((1-3*o+3*e)*t+(3*o-6*e))*t+3*e)*t,Wa=1e-7,$a=12;function Ka(t,e,o,r,n){let s,i,a=0;do i=e+(o-e)/2,s=Gn(i,r,n)-t,s>0?o=i:e=i;while(Math.abs(s)>Wa&&++a<$a);return i}function Pt(t,e,o,r){if(t===e&&o===r)return S;let n=s=>Ka(s,0,1,t,o);return s=>s===0||s===1?s:Gn(n(s),e,r)}var zn=Pt(.42,0,1,1),Hn=Pt(0,0,.58,1),eo=Pt(.42,0,.58,1);var Wn=t=>Array.isArray(t)&&typeof t[0]!="number";var oo=t=>e=>e<=.5?t(2*e)/2:(2-t(2*(1-e)))/2;var ro=t=>e=>1-t(1-e);var no=t=>1-Math.sin(Math.acos(t)),io=ro(no),$n=oo(no);var nr=Pt(.33,1.53,.69,.99),xe=ro(nr),Kn=oo(xe);var _n=t=>(t*=2)<1?.5*xe(t):.5*(2-Math.pow(2,-10*(t-1)));var qn={linear:S,easeIn:zn,easeInOut:eo,easeOut:Hn,circIn:no,circInOut:$n,circOut:io,backIn:xe,backInOut:Kn,backOut:nr,anticipate:_n},ir=t=>{if(Array.isArray(t)){F(t.length===4,"Cubic bezier arrays must contain four numerical values.");let[e,o,r,n]=t;return Pt(e,o,r,n)}else if(typeof t=="string")return F(qn[t]!==void 0,`Invalid easing type '${t}'`),qn[t];return t};var Yt=(t,e)=>o=>Boolean(lt(o)&&an.test(o)&&o.startsWith(t)||e&&Object.prototype.hasOwnProperty.call(o,e)),so=(t,e,o)=>r=>{if(!lt(r))return r;let[n,s,i,a]=r.match(At);return{[t]:parseFloat(n),[e]:parseFloat(s),[o]:parseFloat(i),alpha:a!==void 0?parseFloat(a):1}};var _a=t=>U(0,255,t),sr={...J,transform:t=>Math.round(_a(t))},et={test:Yt("rgb","red"),parse:so("red","green","blue"),transform:({red:t,green:e,blue:o,alpha:r=1})=>"rgba("+sr.transform(t)+", "+sr.transform(e)+", "+sr.transform(o)+", "+xt(yt.transform(r))+")"};function qa(t){let e="",o="",r="",n="";return t.length>5?(e=t.substring(1,3),o=t.substring(3,5),r=t.substring(5,7),n=t.substring(7,9)):(e=t.substring(1,2),o=t.substring(2,3),r=t.substring(3,4),n=t.substring(4,5),e+=e,o+=o,r+=r,n+=n),{red:parseInt(e,16),green:parseInt(o,16),blue:parseInt(r,16),alpha:n?parseInt(n,16)/255:1}}var ve={test:Yt("#"),parse:qa,transform:et.transform};var Tt={test:Yt("hsl","hue"),parse:so("hue","saturation","lightness"),transform:({hue:t,saturation:e,lightness:o,alpha:r=1})=>"hsla("+Math.round(t)+", "+G.transform(xt(e))+", "+G.transform(xt(o))+", "+xt(yt.transform(r))+")"};var B={test:t=>et.test(t)||ve.test(t)||Tt.test(t),parse:t=>et.test(t)?et.parse(t):Tt.test(t)?Tt.parse(t):ve.parse(t),transform:t=>lt(t)?t:t.hasOwnProperty("red")?et.transform(t):Tt.transform(t)};var C=(t,e,o)=>-o*t+o*e+t;function ar(t,e,o){return o<0&&(o+=1),o>1&&(o-=1),o<1/6?t+(e-t)*6*o:o<1/2?e:o<2/3?t+(e-t)*(2/3-o)*6:t}function Yn({hue:t,saturation:e,lightness:o,alpha:r}){t/=360,e/=100,o/=100;let n=0,s=0,i=0;if(!e)n=s=i=o;else{let a=o<.5?o*(1+e):o+e-o*e,l=2*o-a;n=ar(l,a,t+1/3),s=ar(l,a,t),i=ar(l,a,t-1/3)}return{red:Math.round(n*255),green:Math.round(s*255),blue:Math.round(i*255),alpha:r}}var lr=(t,e,o)=>{let r=t*t;return Math.sqrt(Math.max(0,o*(e*e-r)+r))},Ya=[ve,et,Tt],Xa=t=>Ya.find(e=>e.test(t));function Xn(t){let e=Xa(t);F(Boolean(e),`'${t}' is not an animatable color. Use the equivalent color code instead.`);let o=e.parse(t);return e===Tt&&(o=Yn(o)),o}var ao=(t,e)=>{let o=Xn(t),r=Xn(e),n={...o};return s=>(n.red=lr(o.red,r.red,s),n.green=lr(o.green,r.green,s),n.blue=lr(o.blue,r.blue,s),n.alpha=C(o.alpha,r.alpha,s),et.transform(n))};function Za(t){var e,o;return isNaN(t)&&lt(t)&&(((e=t.match(At))===null||e===void 0?void 0:e.length)||0)+(((o=t.match(Wo))===null||o===void 0?void 0:o.length)||0)>0}var Zn={regex:nn,countKey:"Vars",token:"${v}",parse:S},Jn={regex:Wo,countKey:"Colors",token:"${c}",parse:B.parse},Qn={regex:At,countKey:"Numbers",token:"${n}",parse:J.parse};function cr(t,{regex:e,countKey:o,token:r,parse:n}){let s=t.tokenised.match(e);!s||(t["num"+o]=s.length,t.tokenised=t.tokenised.replace(e,r),t.values.push(...s.map(n)))}function Pe(t){let e=t.toString(),o={value:e,tokenised:e,values:[],numVars:0,numColors:0,numNumbers:0};return o.value.includes("var(--")&&cr(o,Zn),cr(o,Jn),cr(o,Qn),o}function ti(t){return Pe(t).values}function ei(t){let{values:e,numColors:o,numVars:r,tokenised:n}=Pe(t),s=e.length;return i=>{let a=n;for(let l=0;l<s;l++)l<r?a=a.replace(Zn.token,i[l]):l<r+o?a=a.replace(Jn.token,B.transform(i[l])):a=a.replace(Qn.token,xt(i[l]));return a}}var Ja=t=>typeof t=="number"?0:t;function Qa(t){let e=ti(t);return ei(t)(e.map(Ja))}var H={test:Za,parse:ti,createTransformer:ei,getAnimatableNone:Qa};var oi=(t,e)=>o=>`${o>0?e:t}`;function ri(t,e){return typeof t=="number"?o=>C(t,e,o):B.test(t)?ao(t,e):t.startsWith("var(")?oi(t,e):mr(t,e)}var ur=(t,e)=>{let o=[...t],r=o.length,n=t.map((s,i)=>ri(s,e[i]));return s=>{for(let i=0;i<r;i++)o[i]=n[i](s);return o}},ni=(t,e)=>{let o={...t,...e},r={};for(let n in o)t[n]!==void 0&&e[n]!==void 0&&(r[n]=ri(t[n],e[n]));return n=>{for(let s in r)o[s]=r[s](n);return o}},mr=(t,e)=>{let o=H.createTransformer(e),r=Pe(t),n=Pe(e);return r.numVars===n.numVars&&r.numColors===n.numColors&&r.numNumbers>=n.numNumbers?_(ur(r.values,n.values),o):(ct(!0,`Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),oi(t,e))};var ut=(t,e,o)=>{let r=e-t;return r===0?1:(o-t)/r};var ii=(t,e)=>o=>C(t,e,o);function tl(t){return typeof t=="number"?ii:typeof t=="string"?B.test(t)?ao:mr:Array.isArray(t)?ur:typeof t=="object"?ni:ii}function el(t,e,o){let r=[],n=o||tl(t[0]),s=t.length-1;for(let i=0;i<s;i++){let a=n(t[i],t[i+1]);if(e){let l=Array.isArray(e)?e[i]||S:e;a=_(l,a)}r.push(a)}return r}function lo(t,e,{clamp:o=!0,ease:r,mixer:n}={}){let s=t.length;if(F(s===e.length,"Both input and output ranges must be the same length"),s===1)return()=>e[0];t[0]>t[s-1]&&(t=[...t].reverse(),e=[...e].reverse());let i=el(e,r,n),a=i.length,l=c=>{let u=0;if(a>1)for(;u<t.length-2&&!(c<t[u+1]);u++);let m=ut(t[u],t[u+1],c);return i[u](m)};return o?c=>l(U(t[0],t[s-1],c)):l}function si(t,e){let o=t[t.length-1];for(let r=1;r<=e;r++){let n=ut(0,e,r);t.push(C(o,1,n))}}function ai(t){let e=[0];return si(e,t.length-1),e}function li(t,e){return t.map(o=>o*e)}function ol(t,e){return t.map(()=>e||eo).splice(0,t.length-1)}function Te({duration:t=300,keyframes:e,times:o,ease:r="easeInOut"}){let n=Wn(r)?r.map(ir):ir(r),s={done:!1,value:e[0]},i=li(o&&o.length===e.length?o:ai(e),t),a=lo(i,e,{ease:Array.isArray(n)?n:ol(e,n)});return{calculatedDuration:t,next:l=>(s.value=a(l),s.done=l>=t,s)}}function co(t,e){return e?t*(1e3/e):0}var rl=5;function uo(t,e,o){let r=Math.max(e-rl,0);return co(o-t(r),e-r)}var fr=.001,nl=.01,ci=10,il=.05,sl=1;function ui({duration:t=800,bounce:e=.25,velocity:o=0,mass:r=1}){let n,s;ct(t<=X(ci),"Spring duration must be 10 seconds or less");let i=1-e;i=U(il,sl,i),t=U(nl,ci,q(t)),i<1?(n=c=>{let u=c*i,m=u*t,f=u-o,p=mo(c,i),h=Math.exp(-m);return fr-f/p*h},s=c=>{let m=c*i*t,f=m*o+o,p=Math.pow(i,2)*Math.pow(c,2)*t,h=Math.exp(-m),d=mo(Math.pow(c,2),i);return(-n(c)+fr>0?-1:1)*((f-p)*h)/d}):(n=c=>{let u=Math.exp(-c*t),m=(c-o)*t+1;return-fr+u*m},s=c=>{let u=Math.exp(-c*t),m=(o-c)*(t*t);return u*m});let a=5/t,l=ll(n,s,a);if(t=X(t),isNaN(l))return{stiffness:100,damping:10,duration:t};{let c=Math.pow(l,2)*r;return{stiffness:c,damping:i*2*Math.sqrt(r*c),duration:t}}}var al=12;function ll(t,e,o){let r=o;for(let n=1;n<al;n++)r=r-t(r)/e(r);return r}function mo(t,e){return t*Math.sqrt(1-e*e)}var cl=["duration","bounce"],ul=["stiffness","damping","mass"];function mi(t,e){return e.some(o=>t[o]!==void 0)}function ml(t){let e={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...t};if(!mi(t,ul)&&mi(t,cl)){let o=ui(t);e={...e,...o,mass:1},e.isResolvedFromDuration=!0}return e}function fo({keyframes:t,restDelta:e,restSpeed:o,...r}){let n=t[0],s=t[t.length-1],i={done:!1,value:n},{stiffness:a,damping:l,mass:c,duration:u,velocity:m,isResolvedFromDuration:f}=ml({...r,velocity:-q(r.velocity||0)}),p=m||0,h=l/(2*Math.sqrt(a*c)),d=s-n,x=q(Math.sqrt(a/c)),T=Math.abs(d)<5;o||(o=T?.01:2),e||(e=T?.005:.5);let v;if(h<1){let g=mo(x,h);v=P=>{let b=Math.exp(-h*x*P);return s-b*((p+h*x*d)/g*Math.sin(g*P)+d*Math.cos(g*P))}}else if(h===1)v=g=>s-Math.exp(-x*g)*(d+(p+x*d)*g);else{let g=x*Math.sqrt(h*h-1);v=P=>{let b=Math.exp(-h*x*P),k=Math.min(g*P,300);return s-b*((p+h*x*d)*Math.sinh(k)+g*d*Math.cosh(k))/g}}return{calculatedDuration:f&&u||null,next:g=>{let P=v(g);if(f)i.done=g>=u;else{let b=p;g!==0&&(h<1?b=uo(v,g,P):b=0);let k=Math.abs(b)<=o,D=Math.abs(s-P)<=e;i.done=k&&D}return i.value=i.done?s:P,i}}}function pr({keyframes:t,velocity:e=0,power:o=.8,timeConstant:r=325,bounceDamping:n=10,bounceStiffness:s=500,modifyTarget:i,min:a,max:l,restDelta:c=.5,restSpeed:u}){let m=t[0],f={done:!1,value:m},p=A=>a!==void 0&&A<a||l!==void 0&&A>l,h=A=>a===void 0?l:l===void 0||Math.abs(a-A)<Math.abs(l-A)?a:l,d=o*e,x=m+d,T=i===void 0?x:i(x);T!==x&&(d=T-m);let v=A=>-d*Math.exp(-A/r),g=A=>T+v(A),P=A=>{let L=v(A),nt=g(A);f.done=Math.abs(L)<=c,f.value=f.done?T:nt},b,k,D=A=>{!p(f.value)||(b=A,k=fo({keyframes:[f.value,h(f.value)],velocity:uo(g,A,f.value),damping:n,stiffness:s,restDelta:c,restSpeed:u}))};return D(0),{calculatedDuration:null,next:A=>{let L=!1;return!k&&b===void 0&&(L=!0,P(A),D(A)),b!==void 0&&A>b?k.next(A-b):(!L&&P(A),f)}}}var fi=t=>{let e=({timestamp:o})=>t(o);return{start:()=>V.update(e,!0),stop:()=>z(e),now:()=>E.isProcessing?E.timestamp:performance.now()}};function hr(t){let e=0,o=50,r=t.next(e);for(;!r.done&&e<2e4;)e+=o,r=t.next(e);return e>=2e4?1/0:e}var fl={decay:pr,inertia:pr,tween:Te,keyframes:Te,spring:fo};function Dt({autoplay:t=!0,delay:e=0,driver:o=fi,keyframes:r,type:n="keyframes",repeat:s=0,repeatDelay:i=0,repeatType:a="loop",onPlay:l,onStop:c,onComplete:u,onUpdate:m,...f}){let p=1,h=!1,d,x,T=()=>{x=new Promise(R=>{d=R})};T();let v,g=fl[n]||Te,P;g!==Te&&typeof r[0]!="number"&&(process.env.NODE_ENV!=="production"&&F(r.length===2,`Only two keyframes currently supported with spring and inertia animations. Trying to animate ${r}`),P=lo([0,100],r,{clamp:!1}),r=[0,100]);let b=g({...f,keyframes:r}),k;a==="mirror"&&(k=g({...f,keyframes:[...r].reverse(),velocity:-(f.velocity||0)}));let D="idle",A=null,L=null,nt=null;b.calculatedDuration===null&&s&&(b.calculatedDuration=hr(b));let{calculatedDuration:Ft}=b,Q=1/0,it=1/0;Ft!==null&&(Q=Ft+i,it=Q*(s+1)-i);let N=0,Ot=R=>{if(L===null)return;p>0&&(L=Math.min(L,R)),p<0&&(L=Math.min(R-it/p,L)),A!==null?N=A:N=Math.round(R-L)*p;let me=N-e*(p>=0?1:-1),Or=p>=0?me<0:me>it;N=Math.max(me,0),D==="finished"&&A===null&&(N=it);let Ir=N,jr=b;if(s){let zo=Math.min(N,it)/Q,Ae=Math.floor(zo),bt=zo%1;!bt&&zo>=1&&(bt=1),bt===1&&Ae--,Ae=Math.min(Ae,s+1),Boolean(Ae%2)&&(a==="reverse"?(bt=1-bt,i&&(bt-=i/Q)):a==="mirror"&&(jr=k)),Ir=U(0,1,bt)*Q}let fe=Or?{done:!1,value:r[0]}:jr.next(Ir);P&&(fe.value=P(fe.value));let{done:Nr}=fe;!Or&&Ft!==null&&(Nr=p>=0?N>=it:N<=0);let Zs=A===null&&(D==="finished"||D==="running"&&Nr);return m&&m(fe.value),Zs&&ue(),fe},I=()=>{v&&v.stop(),v=void 0},ft=()=>{D="idle",I(),d(),T(),L=nt=null},ue=()=>{D="finished",u&&u(),I(),d()},It=()=>{if(h)return;v||(v=o(Ot));let R=v.now();l&&l(),A!==null?L=R-A:(!L||D==="finished")&&(L=R),D==="finished"&&T(),nt=L,A=null,D="running",v.start()};t&&It();let Fr={then(R,me){return x.then(R,me)},get time(){return q(N)},set time(R){R=X(R),N=R,A!==null||!v||p===0?A=R:L=v.now()-R/p},get duration(){let R=b.calculatedDuration===null?hr(b):b.calculatedDuration;return q(R)},get speed(){return p},set speed(R){R===p||!v||(p=R,Fr.time=q(N))},get state(){return D},play:It,pause:()=>{D="paused",A=N},stop:()=>{h=!0,D!=="idle"&&(D="idle",c&&c(),ft())},cancel:()=>{nt!==null&&Ot(nt),ft()},complete:()=>{D="finished"},sample:R=>(L=0,Ot(R))};return Fr}function pi(t){let e;return()=>(e===void 0&&(e=t()),e)}var pl=pi(()=>Object.hasOwnProperty.call(Element.prototype,"animate")),hl=new Set(["opacity","clipPath","filter","transform","backgroundColor"]),po=10,dl=2e4,gl=(t,e)=>e.type==="spring"||t==="backgroundColor"||!or(e.ease);function hi(t,e,{onUpdate:o,onComplete:r,...n}){if(!(pl()&&hl.has(e)&&!n.repeatDelay&&n.repeatType!=="mirror"&&n.damping!==0&&n.type!=="inertia"))return!1;let i=!1,a,l,c=!1,u=()=>{l=new Promise(g=>{a=g})};u();let{keyframes:m,duration:f=300,ease:p,times:h}=n;if(gl(e,n)){let g=Dt({...n,repeat:0,delay:0}),P={done:!1,value:m[0]},b=[],k=0;for(;!P.done&&k<dl;)P=g.sample(k),b.push(P.value),k+=po;h=void 0,m=b,f=k-po,p="linear"}let d=Nn(t.owner.current,e,m,{...n,duration:f,ease:p,times:h}),x=()=>{c=!1,d.cancel()},T=()=>{c=!0,V.update(x),a(),u()};return d.onfinish=()=>{c||(t.set(Un(m,n)),r&&r(),T())},{then(g,P){return l.then(g,P)},attachTimeline(g){return d.timeline=g,d.onfinish=null,S},get time(){return q(d.currentTime||0)},set time(g){d.currentTime=X(g)},get speed(){return d.playbackRate},set speed(g){d.playbackRate=g},get duration(){return q(f)},play:()=>{i||(d.play(),z(x))},pause:()=>d.pause(),stop:()=>{if(i=!0,d.playState==="idle")return;let{currentTime:g}=d;if(g){let P=Dt({...n,autoplay:!1});t.setWithVelocity(P.sample(g-po).value,P.sample(g).value,po)}T()},complete:()=>{c||d.finish()},cancel:T}}function di({keyframes:t,delay:e,onUpdate:o,onComplete:r}){let n=()=>(o&&o(t[t.length-1]),r&&r(),{time:0,speed:1,duration:0,play:S,pause:S,stop:S,then:s=>(s(),Promise.resolve()),cancel:S,complete:S});return e?Dt({keyframes:[0,1],duration:0,delay:e,onComplete:n}):n()}var yl={type:"spring",stiffness:500,damping:25,restSpeed:10},xl=t=>({type:"spring",stiffness:550,damping:t===0?2*Math.sqrt(550):30,restSpeed:10}),vl={type:"keyframes",duration:.8},Pl={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},gi=(t,{keyframes:e})=>e.length>2?vl:W.has(t)?t.startsWith("scale")?xl(e[1]):yl:Pl;var Ve=(t,e)=>t==="zIndex"?!1:!!(typeof e=="number"||Array.isArray(e)||typeof e=="string"&&(H.test(e)||e==="0")&&!e.startsWith("url("));var Tl=new Set(["brightness","contrast","saturate","opacity"]);function Vl(t){let[e,o]=t.slice(0,-1).split("(");if(e==="drop-shadow")return t;let[r]=o.match(At)||[];if(!r)return t;let n=o.replace(r,""),s=Tl.has(e)?1:0;return r!==o&&(s*=100),e+"("+s+n+")"}var bl=/([a-z-]*)\(.*?\)/g,be={...H,getAnimatableNone:t=>{let e=t.match(bl);return e?e.map(Vl).join(" "):t}};var Sl={...Ne,color:B,backgroundColor:B,outlineColor:B,fill:B,stroke:B,borderColor:B,borderTopColor:B,borderRightColor:B,borderBottomColor:B,borderLeftColor:B,filter:be,WebkitFilter:be},Xt=t=>Sl[t];function ho(t,e){let o=Xt(t);return o!==be&&(o=H),o.getAnimatableNone?o.getAnimatableNone(e):void 0}var go=t=>/^0[^.\s]+$/.test(t);function yi(t){if(typeof t=="number")return t===0;if(t!==null)return t==="none"||t==="0"||go(t)}function xi(t,e,o,r){let n=Ve(e,o),s;Array.isArray(o)?s=[...o]:s=[null,o];let i=r.from!==void 0?r.from:t.get(),a,l=[];for(let c=0;c<s.length;c++)s[c]===null&&(s[c]=c===0?i:s[c-1]),yi(s[c])&&l.push(c),typeof s[c]=="string"&&s[c]!=="none"&&s[c]!=="0"&&(a=s[c]);if(n&&l.length&&a)for(let c=0;c<l.length;c++){let u=l[c];s[u]=ho(e,a)}return s}function vi({when:t,delay:e,delayChildren:o,staggerChildren:r,staggerDirection:n,repeat:s,repeatType:i,repeatDelay:a,from:l,elapsed:c,...u}){return!!Object.keys(u).length}function Zt(t,e){return t[e]||t.default||t}var Pi={skipAnimations:!1};var Jt=(t,e,o,r={})=>n=>{let s=Zt(r,t)||{},i=s.delay||r.delay||0,{elapsed:a=0}=r;a=a-X(i);let l=xi(e,t,o,s),c=l[0],u=l[l.length-1],m=Ve(t,c),f=Ve(t,u);ct(m===f,`You are trying to animate ${t} from "${c}" to "${u}". ${c} is not an animatable value - to enable this animation set ${c} to a value animatable to ${u} via the \`style\` property.`);let p={keyframes:l,velocity:e.getVelocity(),ease:"easeOut",...s,delay:-a,onUpdate:h=>{e.set(h),s.onUpdate&&s.onUpdate(h)},onComplete:()=>{n(),s.onComplete&&s.onComplete()}};if(vi(s)||(p={...p,...gi(t,p)}),p.duration&&(p.duration=X(p.duration)),p.repeatDelay&&(p.repeatDelay=X(p.repeatDelay)),!m||!f||tr.current||s.type===!1||Pi.skipAnimations)return di(tr.current?{...p,delay:0}:p);if(!r.isHandoff&&e.owner&&e.owner.current instanceof HTMLElement&&!e.owner.getProps().onUpdate){let h=hi(e,t,p);if(h)return h}return Dt(p)};function Rt(t){return Boolean(M(t)&&t.add)}var yo=t=>/^\-?\d*\.?\d+$/.test(t);function Qt(t,e){t.indexOf(e)===-1&&t.push(e)}function te(t,e){let o=t.indexOf(e);o>-1&&t.splice(o,1)}var Vt=class{constructor(){this.subscriptions=[]}add(e){return Qt(this.subscriptions,e),()=>te(this.subscriptions,e)}notify(e,o,r){let n=this.subscriptions.length;if(!!n)if(n===1)this.subscriptions[0](e,o,r);else for(let s=0;s<n;s++){let i=this.subscriptions[s];i&&i(e,o,r)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}};var Ti=new Set;function ee(t,e,o){t||Ti.has(e)||(console.warn(e),o&&console.warn(o),Ti.add(e))}var Cl=t=>!isNaN(parseFloat(t)),Vi={current:void 0},dr=class{constructor(e,o={}){this.version="10.18.0",this.timeDelta=0,this.lastUpdated=0,this.canTrackVelocity=!1,this.events={},this.updateAndNotify=(r,n=!0)=>{this.prev=this.current,this.current=r;let{delta:s,timestamp:i}=E;this.lastUpdated!==i&&(this.timeDelta=s,this.lastUpdated=i,V.postRender(this.scheduleVelocityCheck)),this.prev!==this.current&&this.events.change&&this.events.change.notify(this.current),this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()),n&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.scheduleVelocityCheck=()=>V.postRender(this.velocityCheck),this.velocityCheck=({timestamp:r})=>{r!==this.lastUpdated&&(this.prev=this.current,this.events.velocityChange&&this.events.velocityChange.notify(this.getVelocity()))},this.hasAnimated=!1,this.prev=this.current=e,this.canTrackVelocity=Cl(this.current),this.owner=o.owner}onChange(e){return process.env.NODE_ENV!=="production"&&ee(!1,'value.onChange(callback) is deprecated. Switch to value.on("change", callback).'),this.on("change",e)}on(e,o){this.events[e]||(this.events[e]=new Vt);let r=this.events[e].add(o);return e==="change"?()=>{r(),V.read(()=>{this.events.change.getSize()||this.stop()})}:r}clearListeners(){for(let e in this.events)this.events[e].clear()}attach(e,o){this.passiveEffect=e,this.stopPassiveEffect=o}set(e,o=!0){!o||!this.passiveEffect?this.updateAndNotify(e,o):this.passiveEffect(e,this.updateAndNotify)}setWithVelocity(e,o,r){this.set(o),this.prev=e,this.timeDelta=r}jump(e){this.updateAndNotify(e),this.prev=e,this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return Vi.current&&Vi.current.push(this),this.current}getPrevious(){return this.prev}getVelocity(){return this.canTrackVelocity?co(parseFloat(this.current)-parseFloat(this.prev),this.timeDelta):0}start(e){return this.stop(),new Promise(o=>{this.hasAnimated=!0,this.animation=e(o),this.events.animationStart&&this.events.animationStart.notify()}).then(()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()})}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}};function ot(t,e){return new dr(t,e)}var xo=t=>e=>e.test(t);var bi={test:t=>t==="auto",parse:t=>t};var gr=[J,y,G,tt,cn,ln,bi],oe=t=>gr.find(xo(t));var Al=[...gr,B,H],Si=t=>Al.find(xo(t));function Ml(t,e,o){t.hasValue(e)?t.getValue(e).set(o):t.addValue(e,ot(o))}function Ci(t,e){let o=vt(t,e),{transitionEnd:r={},transition:n={},...s}=o?t.makeTargetAnimatable(o,!1):{};s={...s,...r};for(let i in s){let a=Sn(s[i]);Ml(t,i,a)}}function Ai(t,e,o){var r,n;let s=Object.keys(e).filter(a=>!t.hasValue(a)),i=s.length;if(!!i)for(let a=0;a<i;a++){let l=s[a],c=e[l],u=null;Array.isArray(c)&&(u=c[0]),u===null&&(u=(n=(r=o[l])!==null&&r!==void 0?r:t.readValue(l))!==null&&n!==void 0?n:e[l]),u!=null&&(typeof u=="string"&&(yo(u)||go(u))?u=parseFloat(u):!Si(u)&&H.test(c)&&(u=ho(l,c)),t.addValue(l,ot(u,{owner:t})),o[l]===void 0&&(o[l]=u),u!==null&&t.setBaseTarget(l,u))}}function wl(t,e){return e?(e[t]||e.default||e).from:void 0}function Mi(t,e,o){let r={};for(let n in t){let s=wl(n,e);if(s!==void 0)r[n]=s;else{let i=o.getValue(n);i&&(r[n]=i.get())}}return r}function Dl({protectedKeys:t,needsAnimating:e},o){let r=t.hasOwnProperty(o)&&e[o]!==!0;return e[o]=!1,r}function Rl(t,e){let o=t.get();if(Array.isArray(e)){for(let r=0;r<e.length;r++)if(e[r]!==o)return!0}else return o!==e}function vo(t,e,{delay:o=0,transitionOverride:r,type:n}={}){let{transition:s=t.getDefaultTransition(),transitionEnd:i,...a}=t.makeTargetAnimatable(e),l=t.getValue("willChange");r&&(s=r);let c=[],u=n&&t.animationState&&t.animationState.getState()[n];for(let m in a){let f=t.getValue(m),p=a[m];if(!f||p===void 0||u&&Dl(u,m))continue;let h={delay:o,elapsed:0,...Zt(s||{},m)};if(window.HandoffAppearAnimations){let T=t.getProps()[De];if(T){let v=window.HandoffAppearAnimations(T,m,f,V);v!==null&&(h.elapsed=v,h.isHandoff=!0)}}let d=!h.isHandoff&&!Rl(f,p);if(h.type==="spring"&&(f.getVelocity()||h.velocity)&&(d=!1),f.animation&&(d=!1),d)continue;f.start(Jt(m,f,p,t.shouldReduceMotion&&W.has(m)?{type:!1}:h));let x=f.animation;Rt(l)&&(l.add(m),x.then(()=>l.remove(m))),c.push(x)}return i&&Promise.all(c).then(()=>{i&&Ci(t,i)}),c}function Po(t,e,o={}){let r=vt(t,e,o.custom),{transition:n=t.getDefaultTransition()||{}}=r||{};o.transitionOverride&&(n=o.transitionOverride);let s=r?()=>Promise.all(vo(t,r,o)):()=>Promise.resolve(),i=t.variantChildren&&t.variantChildren.size?(l=0)=>{let{delayChildren:c=0,staggerChildren:u,staggerDirection:m}=n;return Ll(t,e,c+l,u,m,o)}:()=>Promise.resolve(),{when:a}=n;if(a){let[l,c]=a==="beforeChildren"?[s,i]:[i,s];return l().then(()=>c())}else return Promise.all([s(),i(o.delay)])}function Ll(t,e,o=0,r=0,n=1,s){let i=[],a=(t.variantChildren.size-1)*r,l=n===1?(c=0)=>c*r:(c=0)=>a-c*r;return Array.from(t.variantChildren).sort(kl).forEach((c,u)=>{c.notify("AnimationStart",e),i.push(Po(c,e,{...s,delay:o+l(u)}).then(()=>c.notify("AnimationComplete",e)))}),Promise.all(i)}function kl(t,e){return t.sortNodePosition(e)}function wi(t,e,o={}){t.notify("AnimationStart",e);let r;if(Array.isArray(e)){let n=e.map(s=>Po(t,s,o));r=Promise.all(n)}else if(typeof e=="string")r=Po(t,e,o);else{let n=typeof e=="function"?vt(t,e,o.custom):e;r=Promise.all(vo(t,n,o))}return r.then(()=>t.notify("AnimationComplete",e))}var El=[...Le].reverse(),Bl=Le.length;function Fl(t){return e=>Promise.all(e.map(({animation:o,options:r})=>wi(t,o,r)))}function Di(t){let e=Fl(t),o=Il(),r=!0,n=(l,c)=>{let u=vt(t,c);if(u){let{transition:m,transitionEnd:f,...p}=u;l={...l,...p,...f}}return l};function s(l){e=l(t)}function i(l,c){let u=t.getProps(),m=t.getVariantContext(!0)||{},f=[],p=new Set,h={},d=1/0;for(let T=0;T<Bl;T++){let v=El[T],g=o[v],P=u[v]!==void 0?u[v]:m[v],b=at(P),k=v===c?g.isActive:null;k===!1&&(d=T);let D=P===m[v]&&P!==u[v]&&b;if(D&&r&&t.manuallyAnimateOnMount&&(D=!1),g.protectedKeys={...h},!g.isActive&&k===null||!P&&!g.prevProp||dt(P)||typeof P=="boolean")continue;let L=Ol(g.prevProp,P)||v===c&&g.isActive&&!D&&b||T>d&&b,nt=!1,Ft=Array.isArray(P)?P:[P],Q=Ft.reduce(n,{});k===!1&&(Q={});let{prevResolvedValues:it={}}=g,N={...it,...Q},Ot=I=>{L=!0,p.has(I)&&(nt=!0,p.delete(I)),g.needsAnimating[I]=!0};for(let I in N){let ft=Q[I],ue=it[I];if(h.hasOwnProperty(I))continue;let It=!1;Mt(ft)&&Mt(ue)?It=!Qo(ft,ue):It=ft!==ue,It?ft!==void 0?Ot(I):p.add(I):ft!==void 0&&p.has(I)?Ot(I):g.protectedKeys[I]=!0}g.prevProp=P,g.prevResolvedValues=Q,g.isActive&&(h={...h,...Q}),r&&t.blockInitialAnimation&&(L=!1),L&&(!D||nt)&&f.push(...Ft.map(I=>({animation:I,options:{type:v,...l}})))}if(p.size){let T={};p.forEach(v=>{let g=t.getBaseTarget(v);g!==void 0&&(T[v]=g)}),f.push({animation:T})}let x=Boolean(f.length);return r&&(u.initial===!1||u.initial===u.animate)&&!t.manuallyAnimateOnMount&&(x=!1),r=!1,x?e(f):Promise.resolve()}function a(l,c,u){var m;if(o[l].isActive===c)return Promise.resolve();(m=t.variantChildren)===null||m===void 0||m.forEach(p=>{var h;return(h=p.animationState)===null||h===void 0?void 0:h.setActive(l,c)}),o[l].isActive=c;let f=i(u,l);for(let p in o)o[p].protectedKeys={};return f}return{animateChanges:i,setActive:a,setAnimateFunction:s,getState:()=>o}}function Ol(t,e){return typeof e=="string"?e!==t:Array.isArray(e)?!Qo(e,t):!1}function Lt(t=!1){return{isActive:t,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function Il(){return{animate:Lt(!0),whileInView:Lt(),whileHover:Lt(),whileTap:Lt(),whileDrag:Lt(),whileFocus:Lt(),exit:Lt()}}var To=class extends O{constructor(e){super(e),e.animationState||(e.animationState=Di(e))}updateAnimationControlsSubscription(){let{animate:e}=this.node.getProps();this.unmount(),dt(e)&&(this.unmount=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){let{animate:e}=this.node.getProps(),{animate:o}=this.node.prevProps||{};e!==o&&this.updateAnimationControlsSubscription()}unmount(){}};var jl=0,Vo=class extends O{constructor(){super(...arguments),this.id=jl++}update(){if(!this.node.presenceContext)return;let{isPresent:e,onExitComplete:o,custom:r}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;let s=this.node.animationState.setActive("exit",!e,{custom:r??this.node.getProps().custom});o&&!e&&s.then(()=>o(this.id))}mount(){let{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}};var Ri={animation:{Feature:To},exit:{Feature:Vo}};var Li=(t,e)=>Math.abs(t-e);function ki(t,e){let o=Li(t.x,e.x),r=Li(t.y,e.y);return Math.sqrt(o**2+r**2)}var re=class{constructor(e,o,{transformPagePoint:r,contextWindow:n,dragSnapToOrigin:s=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let m=xr(this.lastMoveEventInfo,this.history),f=this.startEvent!==null,p=ki(m.offset,{x:0,y:0})>=3;if(!f&&!p)return;let{point:h}=m,{timestamp:d}=E;this.history.push({...h,timestamp:d});let{onStart:x,onMove:T}=this.handlers;f||(x&&x(this.lastMoveEvent,m),this.startEvent=this.lastMoveEvent),T&&T(this.lastMoveEvent,m)},this.handlePointerMove=(m,f)=>{this.lastMoveEvent=m,this.lastMoveEventInfo=yr(f,this.transformPagePoint),V.update(this.updatePoint,!0)},this.handlePointerUp=(m,f)=>{this.end();let{onEnd:p,onSessionEnd:h,resumeAnimation:d}=this.handlers;if(this.dragSnapToOrigin&&d&&d(),!(this.lastMoveEvent&&this.lastMoveEventInfo))return;let x=xr(m.type==="pointercancel"?this.lastMoveEventInfo:yr(f,this.transformPagePoint),this.history);this.startEvent&&p&&p(m,x),h&&h(m,x)},!Ye(e))return;this.dragSnapToOrigin=s,this.handlers=o,this.transformPagePoint=r,this.contextWindow=n||window;let i=wt(e),a=yr(i,this.transformPagePoint),{point:l}=a,{timestamp:c}=E;this.history=[{...l,timestamp:c}];let{onSessionStart:u}=o;u&&u(e,xr(a,this.history)),this.removeListeners=_(K(this.contextWindow,"pointermove",this.handlePointerMove),K(this.contextWindow,"pointerup",this.handlePointerUp),K(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),z(this.updatePoint)}};function yr(t,e){return e?{point:e(t.point)}:t}function Ei(t,e){return{x:t.x-e.x,y:t.y-e.y}}function xr({point:t},e){return{point:t,delta:Ei(t,Bi(e)),offset:Ei(t,Nl(e)),velocity:Ul(e,.1)}}function Nl(t){return t[0]}function Bi(t){return t[t.length-1]}function Ul(t,e){if(t.length<2)return{x:0,y:0};let o=t.length-1,r=null,n=Bi(t);for(;o>=0&&(r=t[o],!(n.timestamp-r.timestamp>X(e)));)o--;if(!r)return{x:0,y:0};let s=q(n.timestamp-r.timestamp);if(s===0)return{x:0,y:0};let i={x:(n.x-r.x)/s,y:(n.y-r.y)/s};return i.x===1/0&&(i.x=0),i.y===1/0&&(i.y=0),i}function j(t){return t.max-t.min}function bo(t,e=0,o=.01){return Math.abs(t-e)<=o}function Fi(t,e,o,r=.5){t.origin=r,t.originPoint=C(e.min,e.max,t.origin),t.scale=j(o)/j(e),(bo(t.scale,1,1e-4)||isNaN(t.scale))&&(t.scale=1),t.translate=C(o.min,o.max,t.origin)-t.originPoint,(bo(t.translate)||isNaN(t.translate))&&(t.translate=0)}function ne(t,e,o,r){Fi(t.x,e.x,o.x,r?r.originX:void 0),Fi(t.y,e.y,o.y,r?r.originY:void 0)}function Oi(t,e,o){t.min=o.min+e.min,t.max=t.min+j(e)}function ji(t,e,o){Oi(t.x,e.x,o.x),Oi(t.y,e.y,o.y)}function Ii(t,e,o){t.min=e.min-o.min,t.max=t.min+j(e)}function ie(t,e,o){Ii(t.x,e.x,o.x),Ii(t.y,e.y,o.y)}function Hi(t,{min:e,max:o},r){return e!==void 0&&t<e?t=r?C(e,t,r.min):Math.max(t,e):o!==void 0&&t>o&&(t=r?C(o,t,r.max):Math.min(t,o)),t}function Ni(t,e,o){return{min:e!==void 0?t.min+e:void 0,max:o!==void 0?t.max+o-(t.max-t.min):void 0}}function Wi(t,{top:e,left:o,bottom:r,right:n}){return{x:Ni(t.x,o,n),y:Ni(t.y,e,r)}}function Ui(t,e){let o=e.min-t.min,r=e.max-t.max;return e.max-e.min<t.max-t.min&&([o,r]=[r,o]),{min:o,max:r}}function $i(t,e){return{x:Ui(t.x,e.x),y:Ui(t.y,e.y)}}function Ki(t,e){let o=.5,r=j(t),n=j(e);return n>r?o=ut(e.min,e.max-r,t.min):r>n&&(o=ut(t.min,t.max-n,e.min)),U(0,1,o)}function _i(t,e){let o={};return e.min!==void 0&&(o.min=e.min-t.min),e.max!==void 0&&(o.max=e.max-t.min),o}var So=.35;function qi(t=So){return t===!1?t=0:t===!0&&(t=So),{x:Gi(t,"left","right"),y:Gi(t,"top","bottom")}}function Gi(t,e,o){return{min:zi(t,e),max:zi(t,o)}}function zi(t,e){return typeof t=="number"?t:t[e]||0}var Yi=()=>({translate:0,scale:1,origin:0,originPoint:0}),kt=()=>({x:Yi(),y:Yi()}),Xi=()=>({min:0,max:0}),w=()=>({x:Xi(),y:Xi()});function Y(t){return[t("x"),t("y")]}function Co({top:t,left:e,right:o,bottom:r}){return{x:{min:e,max:o},y:{min:t,max:r}}}function Zi({x:t,y:e}){return{top:e.min,right:t.max,bottom:e.max,left:t.min}}function Ji(t,e){if(!e)return t;let o=e({x:t.left,y:t.top}),r=e({x:t.right,y:t.bottom});return{top:o.y,left:o.x,bottom:r.y,right:r.x}}function vr(t){return t===void 0||t===1}function Ao({scale:t,scaleX:e,scaleY:o}){return!vr(t)||!vr(e)||!vr(o)}function mt(t){return Ao(t)||Pr(t)||t.z||t.rotate||t.rotateX||t.rotateY}function Pr(t){return Qi(t.x)||Qi(t.y)}function Qi(t){return t&&t!=="0%"}function Se(t,e,o){let r=t-o,n=e*r;return o+n}function ts(t,e,o,r,n){return n!==void 0&&(t=Se(t,n,r)),Se(t,o,r)+e}function Tr(t,e=0,o=1,r,n){t.min=ts(t.min,e,o,r,n),t.max=ts(t.max,e,o,r,n)}function Vr(t,{x:e,y:o}){Tr(t.x,e.translate,e.scale,e.originPoint),Tr(t.y,o.translate,o.scale,o.originPoint)}function rs(t,e,o,r=!1){let n=o.length;if(!n)return;e.x=e.y=1;let s,i;for(let a=0;a<n;a++){s=o[a],i=s.projectionDelta;let l=s.instance;l&&l.style&&l.style.display==="contents"||(r&&s.options.layoutScroll&&s.scroll&&s!==s.root&&Et(t,{x:-s.scroll.offset.x,y:-s.scroll.offset.y}),i&&(e.x*=i.x.scale,e.y*=i.y.scale,Vr(t,i)),r&&mt(s.latestValues)&&Et(t,s.latestValues))}e.x=es(e.x),e.y=es(e.y)}function es(t){return Number.isInteger(t)||t>1.0000000000001||t<.999999999999?t:1}function rt(t,e){t.min=t.min+e,t.max=t.max+e}function os(t,e,[o,r,n]){let s=e[n]!==void 0?e[n]:.5,i=C(t.min,t.max,s);Tr(t,e[o],e[r],i,e.scale)}var Gl=["x","scaleX","originX"],zl=["y","scaleY","originY"];function Et(t,e){os(t.x,e,Gl),os(t.y,e,zl)}function br(t,e){return Co(Ji(t.getBoundingClientRect(),e))}function ns(t,e,o){let r=br(t,o),{scroll:n}=e;return n&&(rt(r.x,n.offset.x),rt(r.y,n.offset.y)),r}var Mo=({current:t})=>t?t.ownerDocument.defaultView:null;var Hl=new WeakMap,Do=class{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic=w(),this.visualElement=e}start(e,{snapToCursor:o=!1}={}){let{presenceContext:r}=this.visualElement;if(r&&r.isPresent===!1)return;let n=u=>{let{dragSnapToOrigin:m}=this.getProps();m?this.pauseAnimation():this.stopAnimation(),o&&this.snapToCursor(wt(u,"page").point)},s=(u,m)=>{let{drag:f,dragPropagation:p,onDragStart:h}=this.getProps();if(f&&!p&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=qo(f),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Y(x=>{let T=this.getAxisMotionValue(x).get()||0;if(G.test(T)){let{projection:v}=this.visualElement;if(v&&v.layout){let g=v.layout.layoutBox[x];g&&(T=j(g)*(parseFloat(T)/100))}}this.originPoint[x]=T}),h&&V.update(()=>h(u,m),!1,!0);let{animationState:d}=this.visualElement;d&&d.setActive("whileDrag",!0)},i=(u,m)=>{let{dragPropagation:f,dragDirectionLock:p,onDirectionLock:h,onDrag:d}=this.getProps();if(!f&&!this.openGlobalLock)return;let{offset:x}=m;if(p&&this.currentDirection===null){this.currentDirection=Wl(x),this.currentDirection!==null&&h&&h(this.currentDirection);return}this.updateAxis("x",m.point,x),this.updateAxis("y",m.point,x),this.visualElement.render(),d&&d(u,m)},a=(u,m)=>this.stop(u,m),l=()=>Y(u=>{var m;return this.getAnimationState(u)==="paused"&&((m=this.getAxisMotionValue(u).animation)===null||m===void 0?void 0:m.play())}),{dragSnapToOrigin:c}=this.getProps();this.panSession=new re(e,{onSessionStart:n,onStart:s,onMove:i,onSessionEnd:a,resumeAnimation:l},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:c,contextWindow:Mo(this.visualElement)})}stop(e,o){let r=this.isDragging;if(this.cancel(),!r)return;let{velocity:n}=o;this.startAnimation(n);let{onDragEnd:s}=this.getProps();s&&V.update(()=>s(e,o))}cancel(){this.isDragging=!1;let{projection:e,animationState:o}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;let{dragPropagation:r}=this.getProps();!r&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),o&&o.setActive("whileDrag",!1)}updateAxis(e,o,r){let{drag:n}=this.getProps();if(!r||!wo(e,n,this.currentDirection))return;let s=this.getAxisMotionValue(e),i=this.originPoint[e]+r[e];this.constraints&&this.constraints[e]&&(i=Hi(i,this.constraints[e],this.elastic[e])),s.set(i)}resolveConstraints(){var e;let{dragConstraints:o,dragElastic:r}=this.getProps(),n=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):(e=this.visualElement.projection)===null||e===void 0?void 0:e.layout,s=this.constraints;o&&st(o)?this.constraints||(this.constraints=this.resolveRefConstraints()):o&&n?this.constraints=Wi(n.layoutBox,o):this.constraints=!1,this.elastic=qi(r),s!==this.constraints&&n&&this.constraints&&!this.hasMutatedConstraints&&Y(i=>{this.getAxisMotionValue(i)&&(this.constraints[i]=_i(n.layoutBox[i],this.constraints[i]))})}resolveRefConstraints(){let{dragConstraints:e,onMeasureDragConstraints:o}=this.getProps();if(!e||!st(e))return!1;let r=e.current;F(r!==null,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");let{projection:n}=this.visualElement;if(!n||!n.layout)return!1;let s=ns(r,n.root,this.visualElement.getTransformPagePoint()),i=$i(n.layout.layoutBox,s);if(o){let a=o(Zi(i));this.hasMutatedConstraints=!!a,a&&(i=Co(a))}return i}startAnimation(e){let{drag:o,dragMomentum:r,dragElastic:n,dragTransition:s,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),l=this.constraints||{},c=Y(u=>{if(!wo(u,o,this.currentDirection))return;let m=l&&l[u]||{};i&&(m={min:0,max:0});let f=n?200:1e6,p=n?40:1e7,h={type:"inertia",velocity:r?e[u]:0,bounceStiffness:f,bounceDamping:p,timeConstant:750,restDelta:1,restSpeed:10,...s,...m};return this.startAxisValueAnimation(u,h)});return Promise.all(c).then(a)}startAxisValueAnimation(e,o){let r=this.getAxisMotionValue(e);return r.start(Jt(e,r,0,o))}stopAnimation(){Y(e=>this.getAxisMotionValue(e).stop())}pauseAnimation(){Y(e=>{var o;return(o=this.getAxisMotionValue(e).animation)===null||o===void 0?void 0:o.pause()})}getAnimationState(e){var o;return(o=this.getAxisMotionValue(e).animation)===null||o===void 0?void 0:o.state}getAxisMotionValue(e){let o="_drag"+e.toUpperCase(),r=this.visualElement.getProps(),n=r[o];return n||this.visualElement.getValue(e,(r.initial?r.initial[e]:void 0)||0)}snapToCursor(e){Y(o=>{let{drag:r}=this.getProps();if(!wo(o,r,this.currentDirection))return;let{projection:n}=this.visualElement,s=this.getAxisMotionValue(o);if(n&&n.layout){let{min:i,max:a}=n.layout.layoutBox[o];s.set(e[o]-C(i,a,.5))}})}scalePositionWithinConstraints(){if(!this.visualElement.current)return;let{drag:e,dragConstraints:o}=this.getProps(),{projection:r}=this.visualElement;if(!st(o)||!r||!this.constraints)return;this.stopAnimation();let n={x:0,y:0};Y(i=>{let a=this.getAxisMotionValue(i);if(a){let l=a.get();n[i]=Ki({min:l,max:l},this.constraints[i])}});let{transformTemplate:s}=this.visualElement.getProps();this.visualElement.current.style.transform=s?s({},""):"none",r.root&&r.root.updateScroll(),r.updateLayout(),this.resolveConstraints(),Y(i=>{if(!wo(i,e,null))return;let a=this.getAxisMotionValue(i),{min:l,max:c}=this.constraints[i];a.set(C(l,c,n[i]))})}addListeners(){if(!this.visualElement.current)return;Hl.set(this.visualElement,this);let e=this.visualElement.current,o=K(e,"pointerdown",l=>{let{drag:c,dragListener:u=!0}=this.getProps();c&&u&&this.start(l)}),r=()=>{let{dragConstraints:l}=this.getProps();st(l)&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,s=n.addEventListener("measure",r);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),r();let i=$(window,"resize",()=>this.scalePositionWithinConstraints()),a=n.addEventListener("didUpdate",({delta:l,hasLayoutChanged:c})=>{this.isDragging&&c&&(Y(u=>{let m=this.getAxisMotionValue(u);!m||(this.originPoint[u]+=l[u].translate,m.set(m.get()+l[u].translate))}),this.visualElement.render())});return()=>{i(),o(),s(),a&&a()}}getProps(){let e=this.visualElement.getProps(),{drag:o=!1,dragDirectionLock:r=!1,dragPropagation:n=!1,dragConstraints:s=!1,dragElastic:i=So,dragMomentum:a=!0}=e;return{...e,drag:o,dragDirectionLock:r,dragPropagation:n,dragConstraints:s,dragElastic:i,dragMomentum:a}}};function wo(t,e,o){return(e===!0||e===t)&&(o===null||o===t)}function Wl(t,e=10){let o=null;return Math.abs(t.y)>e?o="y":Math.abs(t.x)>e&&(o="x"),o}var Ro=class extends O{constructor(e){super(e),this.removeGroupControls=S,this.removeListeners=S,this.controls=new Do(e)}mount(){let{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||S}unmount(){this.removeGroupControls(),this.removeListeners()}};var is=t=>(e,o)=>{t&&V.update(()=>t(e,o))},Lo=class extends O{constructor(){super(...arguments),this.removePointerDownListener=S}onPointerDown(e){this.session=new re(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:Mo(this.node)})}createPanHandlers(){let{onPanSessionStart:e,onPanStart:o,onPan:r,onPanEnd:n}=this.node.getProps();return{onSessionStart:is(e),onStart:is(o),onMove:r,onEnd:(s,i)=>{delete this.session,n&&V.update(()=>n(s,i))}}}mount(){this.removePointerDownListener=K(this.node.current,"pointerdown",e=>this.onPointerDown(e))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}};import us,{useContext as cs}from"react";import{useContext as $l,useId as Kl,useEffect as _l}from"react";function ss(){let t=$l(jt);if(t===null)return[!0,null];let{isPresent:e,onExitComplete:o,register:r}=t,n=Kl();return _l(()=>r(n),[]),!e&&o?[!1,()=>o&&o(n)]:[!0]}var se={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function as(t,e){return e.max===e.min?0:t/(e.max-e.min)*100}var ae={correct:(t,e)=>{if(!e.target)return t;if(typeof t=="string")if(y.test(t))t=parseFloat(t);else return t;let o=as(t,e.target.x),r=as(t,e.target.y);return`${o}% ${r}%`}};var ls={correct:(t,{treeScale:e,projectionDelta:o})=>{let r=t,n=H.parse(t);if(n.length>5)return r;let s=H.createTransformer(t),i=typeof n[0]!="number"?1:0,a=o.x.scale*e.x,l=o.y.scale*e.y;n[0+i]/=a,n[1+i]/=l;let c=C(a,l,.5);return typeof n[2+i]=="number"&&(n[2+i]/=c),typeof n[3+i]=="number"&&(n[3+i]/=c),s(n)}};var Sr=class extends us.Component{componentDidMount(){let{visualElement:e,layoutGroup:o,switchLayoutGroup:r,layoutId:n}=this.props,{projection:s}=e;en(ql),s&&(o.group&&o.group.add(s),r&&r.register&&n&&r.register(s),s.root.didUpdate(),s.addEventListener("animationComplete",()=>{this.safeToRemove()}),s.setOptions({...s.options,onExitComplete:()=>this.safeToRemove()})),se.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){let{layoutDependency:o,visualElement:r,drag:n,isPresent:s}=this.props,i=r.projection;return i&&(i.isPresent=s,n||e.layoutDependency!==o||o===void 0?i.willUpdate():this.safeToRemove(),e.isPresent!==s&&(s?i.promote():i.relegate()||V.postRender(()=>{let a=i.getStack();(!a||!a.members.length)&&this.safeToRemove()}))),null}componentDidUpdate(){let{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),queueMicrotask(()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()}))}componentWillUnmount(){let{visualElement:e,layoutGroup:o,switchLayoutGroup:r}=this.props,{projection:n}=e;n&&(n.scheduleCheckAfterUnmount(),o&&o.group&&o.group.remove(n),r&&r.deregister&&r.deregister(n))}safeToRemove(){let{safeToRemove:e}=this.props;e&&e()}render(){return null}};function ko(t){let[e,o]=ss(),r=cs(Ee);return us.createElement(Sr,{...t,layoutGroup:r,switchLayoutGroup:cs(Be),isPresent:e,safeToRemove:o})}var ql={borderRadius:{...ae,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:ae,borderTopRightRadius:ae,borderBottomLeftRadius:ae,borderBottomRightRadius:ae,boxShadow:ls};var hs=["TopLeft","TopRight","BottomLeft","BottomRight"],Yl=hs.length,ms=t=>typeof t=="string"?parseFloat(t):t,fs=t=>typeof t=="number"||y.test(t);function ds(t,e,o,r,n,s){n?(t.opacity=C(0,o.opacity!==void 0?o.opacity:1,Xl(r)),t.opacityExit=C(e.opacity!==void 0?e.opacity:1,0,Zl(r))):s&&(t.opacity=C(e.opacity!==void 0?e.opacity:1,o.opacity!==void 0?o.opacity:1,r));for(let i=0;i<Yl;i++){let a=`border${hs[i]}Radius`,l=ps(e,a),c=ps(o,a);if(l===void 0&&c===void 0)continue;l||(l=0),c||(c=0),l===0||c===0||fs(l)===fs(c)?(t[a]=Math.max(C(ms(l),ms(c),r),0),(G.test(c)||G.test(l))&&(t[a]+="%")):t[a]=c}(e.rotate||o.rotate)&&(t.rotate=C(e.rotate||0,o.rotate||0,r))}function ps(t,e){return t[e]!==void 0?t[e]:t.borderRadius}var Xl=gs(0,.5,io),Zl=gs(.5,.95,S);function gs(t,e,o){return r=>r<t?0:r>e?1:o(ut(t,e,r))}function ys(t,e){t.min=e.min,t.max=e.max}function Z(t,e){ys(t.x,e.x),ys(t.y,e.y)}function xs(t,e,o,r,n){return t-=e,t=Se(t,1/o,r),n!==void 0&&(t=Se(t,1/n,r)),t}function Jl(t,e=0,o=1,r=.5,n,s=t,i=t){if(G.test(e)&&(e=parseFloat(e),e=C(i.min,i.max,e/100)-i.min),typeof e!="number")return;let a=C(s.min,s.max,r);t===s&&(a-=e),t.min=xs(t.min,e,o,a,n),t.max=xs(t.max,e,o,a,n)}function vs(t,e,[o,r,n],s,i){Jl(t,e[o],e[r],e[n],e.scale,s,i)}var Ql=["x","scaleX","originX"],tc=["y","scaleY","originY"];function Cr(t,e,o,r){vs(t.x,e,Ql,o?o.x:void 0,r?r.x:void 0),vs(t.y,e,tc,o?o.y:void 0,r?r.y:void 0)}function Ps(t){return t.translate===0&&t.scale===1}function Ar(t){return Ps(t.x)&&Ps(t.y)}function Ts(t,e){return t.x.min===e.x.min&&t.x.max===e.x.max&&t.y.min===e.y.min&&t.y.max===e.y.max}function Mr(t,e){return Math.round(t.x.min)===Math.round(e.x.min)&&Math.round(t.x.max)===Math.round(e.x.max)&&Math.round(t.y.min)===Math.round(e.y.min)&&Math.round(t.y.max)===Math.round(e.y.max)}function wr(t){return j(t.x)/j(t.y)}var Eo=class{constructor(){this.members=[]}add(e){Qt(this.members,e),e.scheduleRender()}remove(e){if(te(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){let o=this.members[this.members.length-1];o&&this.promote(o)}}relegate(e){let o=this.members.findIndex(n=>e===n);if(o===0)return!1;let r;for(let n=o;n>=0;n--){let s=this.members[n];if(s.isPresent!==!1){r=s;break}}return r?(this.promote(r),!0):!1}promote(e,o){let r=this.lead;if(e!==r&&(this.prevLead=r,this.lead=e,e.show(),r)){r.instance&&r.scheduleRender(),e.scheduleRender(),e.resumeFrom=r,o&&(e.resumeFrom.preserveOpacity=!0),r.snapshot&&(e.snapshot=r.snapshot,e.snapshot.latestValues=r.animationValues||r.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);let{crossfade:n}=e.options;n===!1&&r.hide()}}exitAnimationComplete(){this.members.forEach(e=>{let{options:o,resumingFrom:r}=e;o.onExitComplete&&o.onExitComplete(),r&&r.options.onExitComplete&&r.options.onExitComplete()})}scheduleRender(){this.members.forEach(e=>{e.instance&&e.scheduleRender(!1)})}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}};function Dr(t,e,o){let r="",n=t.x.translate/e.x,s=t.y.translate/e.y;if((n||s)&&(r=`translate3d(${n}px, ${s}px, 0) `),(e.x!==1||e.y!==1)&&(r+=`scale(${1/e.x}, ${1/e.y}) `),o){let{rotate:l,rotateX:c,rotateY:u}=o;l&&(r+=`rotate(${l}deg) `),c&&(r+=`rotateX(${c}deg) `),u&&(r+=`rotateY(${u}deg) `)}let i=t.x.scale*e.x,a=t.y.scale*e.y;return(i!==1||a!==1)&&(r+=`scale(${i}, ${a})`),r||"none"}var Vs=(t,e)=>t.depth-e.depth;var Bo=class{constructor(){this.children=[],this.isDirty=!1}add(e){Qt(this.children,e),this.isDirty=!0}remove(e){te(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Vs),this.isDirty=!1,this.children.forEach(e)}};function bs(t,e){let o=performance.now(),r=({timestamp:n})=>{let s=n-o;s>=e&&(z(r),t(s-e))};return V.read(r,!0),()=>z(r)}function Ss(t){window.MotionDebug&&window.MotionDebug.record(t)}function Cs(t){return t instanceof SVGElement&&t.tagName!=="svg"}function As(t,e,o){let r=M(t)?t:ot(t);return r.start(Jt("",r,e,o)),r.animation}var Ms=["","X","Y","Z"],ec={visibility:"hidden"},ws=1e3,oc=0,Bt={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0};function Fo({attachResizeListener:t,defaultParent:e,measureScroll:o,checkIsScrollRoot:r,resetTransform:n}){return class{constructor(i={},a=e==null?void 0:e()){this.id=oc++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Bt.totalNodes=Bt.resolvedTargetDeltas=Bt.recalculatedProjection=0,this.nodes.forEach(ic),this.nodes.forEach(uc),this.nodes.forEach(mc),this.nodes.forEach(sc),Ss(Bt)},this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=i,this.root=a?a.root||a:this,this.path=a?[...a.path,a]:[],this.parent=a,this.depth=a?a.depth+1:0;for(let l=0;l<this.path.length;l++)this.path[l].shouldResetTransform=!0;this.root===this&&(this.nodes=new Bo)}addEventListener(i,a){return this.eventHandlers.has(i)||this.eventHandlers.set(i,new Vt),this.eventHandlers.get(i).add(a)}notifyListeners(i,...a){let l=this.eventHandlers.get(i);l&&l.notify(...a)}hasListeners(i){return this.eventHandlers.has(i)}mount(i,a=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=Cs(i),this.instance=i;let{layoutId:l,layout:c,visualElement:u}=this.options;if(u&&!u.current&&u.mount(i),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),a&&(c||l)&&(this.isLayoutDirty=!0),t){let m,f=()=>this.root.updateBlockedByResize=!1;t(i,()=>{this.root.updateBlockedByResize=!0,m&&m(),m=bs(f,250),se.hasAnimatedSinceResize&&(se.hasAnimatedSinceResize=!1,this.nodes.forEach(Rs))})}l&&this.root.registerSharedNode(l,this),this.options.animate!==!1&&u&&(l||c)&&this.addEventListener("didUpdate",({delta:m,hasLayoutChanged:f,hasRelativeTargetChanged:p,layout:h})=>{if(this.isTreeAnimationBlocked()){this.target=void 0,this.relativeTarget=void 0;return}let d=this.options.transition||u.getDefaultTransition()||gc,{onLayoutAnimationStart:x,onLayoutAnimationComplete:T}=u.getProps(),v=!this.targetLayout||!Mr(this.targetLayout,h)||p,g=!f&&p;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||g||f&&(v||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(m,g);let P={...Zt(d,"layout"),onPlay:x,onComplete:T};(u.shouldReduceMotion||this.options.layoutRoot)&&(P.delay=0,P.type=!1),this.startAnimation(P)}else f||Rs(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=h})}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);let i=this.getStack();i&&i.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,z(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(fc),this.animationId++)}getTransformTemplate(){let{visualElement:i}=this.options;return i&&i.getProps().transformTemplate}willUpdate(i=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked()){this.options.onExitComplete&&this.options.onExitComplete();return}if(!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let u=0;u<this.path.length;u++){let m=this.path[u];m.shouldResetTransform=!0,m.updateScroll("snapshot"),m.options.layoutRoot&&m.willUpdate(!1)}let{layoutId:a,layout:l}=this.options;if(a===void 0&&!l)return;let c=this.getTransformTemplate();this.prevTransformTemplateValue=c?c(this.latestValues,""):void 0,this.updateSnapshot(),i&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked()){this.unblockUpdate(),this.clearAllSnapshots(),this.nodes.forEach(Ds);return}this.isUpdating||this.nodes.forEach(lc),this.isUpdating=!1,this.nodes.forEach(cc),this.nodes.forEach(rc),this.nodes.forEach(nc),this.clearAllSnapshots();let a=performance.now();E.delta=U(0,1e3/60,a-E.timestamp),E.timestamp=a,E.isProcessing=!0,qe.update.process(E),qe.preRender.process(E),qe.render.process(E),E.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,queueMicrotask(()=>this.update()))}clearAllSnapshots(){this.nodes.forEach(ac),this.sharedNodes.forEach(pc)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,V.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){V.postRender(()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()})}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!this.instance||(this.updateScroll(),!(this.options.alwaysMeasureLayout&&this.isLead())&&!this.isLayoutDirty))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let l=0;l<this.path.length;l++)this.path[l].updateScroll();let i=this.layout;this.layout=this.measure(!1),this.layoutCorrected=w(),this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);let{visualElement:a}=this.options;a&&a.notify("LayoutMeasure",this.layout.layoutBox,i?i.layoutBox:void 0)}updateScroll(i="measure"){let a=Boolean(this.options.layoutScroll&&this.instance);this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===i&&(a=!1),a&&(this.scroll={animationId:this.root.animationId,phase:i,isRoot:r(this.instance),offset:o(this.instance)})}resetTransform(){if(!n)return;let i=this.isLayoutDirty||this.shouldResetTransform,a=this.projectionDelta&&!Ar(this.projectionDelta),l=this.getTransformTemplate(),c=l?l(this.latestValues,""):void 0,u=c!==this.prevTransformTemplateValue;i&&(a||mt(this.latestValues)||u)&&(n(this.instance,c),this.shouldResetTransform=!1,this.scheduleRender())}measure(i=!0){let a=this.measurePageBox(),l=this.removeElementScroll(a);return i&&(l=this.removeTransform(l)),yc(l),{animationId:this.root.animationId,measuredBox:a,layoutBox:l,latestValues:{},source:this.id}}measurePageBox(){let{visualElement:i}=this.options;if(!i)return w();let a=i.measureViewportBox(),{scroll:l}=this.root;return l&&(rt(a.x,l.offset.x),rt(a.y,l.offset.y)),a}removeElementScroll(i){let a=w();Z(a,i);for(let l=0;l<this.path.length;l++){let c=this.path[l],{scroll:u,options:m}=c;if(c!==this.root&&u&&m.layoutScroll){if(u.isRoot){Z(a,i);let{scroll:f}=this.root;f&&(rt(a.x,-f.offset.x),rt(a.y,-f.offset.y))}rt(a.x,u.offset.x),rt(a.y,u.offset.y)}}return a}applyTransform(i,a=!1){let l=w();Z(l,i);for(let c=0;c<this.path.length;c++){let u=this.path[c];!a&&u.options.layoutScroll&&u.scroll&&u!==u.root&&Et(l,{x:-u.scroll.offset.x,y:-u.scroll.offset.y}),mt(u.latestValues)&&Et(l,u.latestValues)}return mt(this.latestValues)&&Et(l,this.latestValues),l}removeTransform(i){let a=w();Z(a,i);for(let l=0;l<this.path.length;l++){let c=this.path[l];if(!c.instance||!mt(c.latestValues))continue;Ao(c.latestValues)&&c.updateSnapshot();let u=w(),m=c.measurePageBox();Z(u,m),Cr(a,c.latestValues,c.snapshot?c.snapshot.layoutBox:void 0,u)}return mt(this.latestValues)&&Cr(a,this.latestValues),a}setTargetDelta(i){this.targetDelta=i,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(i){this.options={...this.options,...i,crossfade:i.crossfade!==void 0?i.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!==E.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(i=!1){var a;let l=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=l.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=l.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=l.isSharedProjectionDirty);let c=Boolean(this.resumingFrom)||this!==l;if(!(i||c&&this.isSharedProjectionDirty||this.isProjectionDirty||((a=this.parent)===null||a===void 0?void 0:a.isProjectionDirty)||this.attemptToResolveRelativeTarget))return;let{layout:m,layoutId:f}=this.options;if(!(!this.layout||!(m||f))){if(this.resolvedRelativeTargetAt=E.timestamp,!this.targetDelta&&!this.relativeTarget){let p=this.getClosestProjectingParent();p&&p.layout&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=w(),this.relativeTargetOrigin=w(),ie(this.relativeTargetOrigin,this.layout.layoutBox,p.layout.layoutBox),Z(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(!(!this.relativeTarget&&!this.targetDelta)){if(this.target||(this.target=w(),this.targetWithTransforms=w()),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),ji(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(Boolean(this.resumingFrom)?this.target=this.applyTransform(this.layout.layoutBox):Z(this.target,this.layout.layoutBox),Vr(this.target,this.targetDelta)):Z(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;let p=this.getClosestProjectingParent();p&&Boolean(p.resumingFrom)===Boolean(this.resumingFrom)&&!p.options.layoutScroll&&p.target&&this.animationProgress!==1?(this.relativeParent=p,this.forceRelativeParentToResolveTarget(),this.relativeTarget=w(),this.relativeTargetOrigin=w(),ie(this.relativeTargetOrigin,this.target,p.target),Z(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Bt.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(!(!this.parent||Ao(this.parent.latestValues)||Pr(this.parent.latestValues)))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return Boolean((this.relativeTarget||this.targetDelta||this.options.layoutRoot)&&this.layout)}calcProjection(){var i;let a=this.getLead(),l=Boolean(this.resumingFrom)||this!==a,c=!0;if((this.isProjectionDirty||((i=this.parent)===null||i===void 0?void 0:i.isProjectionDirty))&&(c=!1),l&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(c=!1),this.resolvedRelativeTargetAt===E.timestamp&&(c=!1),c)return;let{layout:u,layoutId:m}=this.options;if(this.isTreeAnimating=Boolean(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!(u||m))return;Z(this.layoutCorrected,this.layout.layoutBox);let f=this.treeScale.x,p=this.treeScale.y;rs(this.layoutCorrected,this.treeScale,this.path,l),a.layout&&!a.target&&(this.treeScale.x!==1||this.treeScale.y!==1)&&(a.target=a.layout.layoutBox);let{target:h}=a;if(!h){this.projectionTransform&&(this.projectionDelta=kt(),this.projectionTransform="none",this.scheduleRender());return}this.projectionDelta||(this.projectionDelta=kt(),this.projectionDeltaWithTransform=kt());let d=this.projectionTransform;ne(this.projectionDelta,this.layoutCorrected,h,this.latestValues),this.projectionTransform=Dr(this.projectionDelta,this.treeScale),(this.projectionTransform!==d||this.treeScale.x!==f||this.treeScale.y!==p)&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",h)),Bt.recalculatedProjection++}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(i=!0){if(this.options.scheduleRender&&this.options.scheduleRender(),i){let a=this.getStack();a&&a.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}setAnimationOrigin(i,a=!1){let l=this.snapshot,c=l?l.latestValues:{},u={...this.latestValues},m=kt();(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!a;let f=w(),p=l?l.source:void 0,h=this.layout?this.layout.source:void 0,d=p!==h,x=this.getStack(),T=!x||x.members.length<=1,v=Boolean(d&&!T&&this.options.crossfade===!0&&!this.path.some(dc));this.animationProgress=0;let g;this.mixTargetDelta=P=>{let b=P/1e3;Ls(m.x,i.x,b),Ls(m.y,i.y,b),this.setTargetDelta(m),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(ie(f,this.layout.layoutBox,this.relativeParent.layout.layoutBox),hc(this.relativeTarget,this.relativeTargetOrigin,f,b),g&&Ts(this.relativeTarget,g)&&(this.isProjectionDirty=!1),g||(g=w()),Z(g,this.relativeTarget)),d&&(this.animationValues=u,ds(u,c,this.latestValues,b,v,T)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=b},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(i){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(z(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=V.update(()=>{se.hasAnimatedSinceResize=!0,this.currentAnimation=As(0,ws,{...i,onUpdate:a=>{this.mixTargetDelta(a),i.onUpdate&&i.onUpdate(a)},onComplete:()=>{i.onComplete&&i.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0})}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);let i=this.getStack();i&&i.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(ws),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){let i=this.getLead(),{targetWithTransforms:a,target:l,layout:c,latestValues:u}=i;if(!(!a||!l||!c)){if(this!==i&&this.layout&&c&&Os(this.options.animationType,this.layout.layoutBox,c.layoutBox)){l=this.target||w();let m=j(this.layout.layoutBox.x);l.x.min=i.target.x.min,l.x.max=l.x.min+m;let f=j(this.layout.layoutBox.y);l.y.min=i.target.y.min,l.y.max=l.y.min+f}Z(a,l),Et(a,u),ne(this.projectionDeltaWithTransform,this.layoutCorrected,a,u)}}registerSharedNode(i,a){this.sharedNodes.has(i)||this.sharedNodes.set(i,new Eo),this.sharedNodes.get(i).add(a);let c=a.options.initialPromotionConfig;a.promote({transition:c?c.transition:void 0,preserveFollowOpacity:c&&c.shouldPreserveFollowOpacity?c.shouldPreserveFollowOpacity(a):void 0})}isLead(){let i=this.getStack();return i?i.lead===this:!0}getLead(){var i;let{layoutId:a}=this.options;return a?((i=this.getStack())===null||i===void 0?void 0:i.lead)||this:this}getPrevLead(){var i;let{layoutId:a}=this.options;return a?(i=this.getStack())===null||i===void 0?void 0:i.prevLead:void 0}getStack(){let{layoutId:i}=this.options;if(i)return this.root.sharedNodes.get(i)}promote({needsReset:i,transition:a,preserveFollowOpacity:l}={}){let c=this.getStack();c&&c.promote(this,l),i&&(this.projectionDelta=void 0,this.needsReset=!0),a&&this.setOptions({transition:a})}relegate(){let i=this.getStack();return i?i.relegate(this):!1}resetRotation(){let{visualElement:i}=this.options;if(!i)return;let a=!1,{latestValues:l}=i;if((l.rotate||l.rotateX||l.rotateY||l.rotateZ)&&(a=!0),!a)return;let c={};for(let u=0;u<Ms.length;u++){let m="rotate"+Ms[u];l[m]&&(c[m]=l[m],i.setStaticValue(m,0))}i.render();for(let u in c)i.setStaticValue(u,c[u]);i.scheduleRender()}getProjectionStyles(i){var a,l;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ec;let c={visibility:""},u=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,c.opacity="",c.pointerEvents=qt(i==null?void 0:i.pointerEvents)||"",c.transform=u?u(this.latestValues,""):"none",c;let m=this.getLead();if(!this.projectionDelta||!this.layout||!m.target){let d={};return this.options.layoutId&&(d.opacity=this.latestValues.opacity!==void 0?this.latestValues.opacity:1,d.pointerEvents=qt(i==null?void 0:i.pointerEvents)||""),this.hasProjected&&!mt(this.latestValues)&&(d.transform=u?u({},""):"none",this.hasProjected=!1),d}let f=m.animationValues||m.latestValues;this.applyTransformsToTarget(),c.transform=Dr(this.projectionDeltaWithTransform,this.treeScale,f),u&&(c.transform=u(f,c.transform));let{x:p,y:h}=this.projectionDelta;c.transformOrigin=`${p.origin*100}% ${h.origin*100}% 0`,m.animationValues?c.opacity=m===this?(l=(a=f.opacity)!==null&&a!==void 0?a:this.latestValues.opacity)!==null&&l!==void 0?l:1:this.preserveOpacity?this.latestValues.opacity:f.opacityExit:c.opacity=m===this?f.opacity!==void 0?f.opacity:"":f.opacityExit!==void 0?f.opacityExit:0;for(let d in Gt){if(f[d]===void 0)continue;let{correct:x,applyTo:T}=Gt[d],v=c.transform==="none"?f[d]:x(f[d],m);if(T){let g=T.length;for(let P=0;P<g;P++)c[T[P]]=v}else c[d]=v}return this.options.layoutId&&(c.pointerEvents=m===this?qt(i==null?void 0:i.pointerEvents)||"":"none"),c}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach(i=>{var a;return(a=i.currentAnimation)===null||a===void 0?void 0:a.stop()}),this.root.nodes.forEach(Ds),this.root.sharedNodes.clear()}}}function rc(t){t.updateLayout()}function nc(t){var e;let o=((e=t.resumeFrom)===null||e===void 0?void 0:e.snapshot)||t.snapshot;if(t.isLead()&&t.layout&&o&&t.hasListeners("didUpdate")){let{layoutBox:r,measuredBox:n}=t.layout,{animationType:s}=t.options,i=o.source!==t.layout.source;s==="size"?Y(m=>{let f=i?o.measuredBox[m]:o.layoutBox[m],p=j(f);f.min=r[m].min,f.max=f.min+p}):Os(s,o.layoutBox,r)&&Y(m=>{let f=i?o.measuredBox[m]:o.layoutBox[m],p=j(r[m]);f.max=f.min+p,t.relativeTarget&&!t.currentAnimation&&(t.isProjectionDirty=!0,t.relativeTarget[m].max=t.relativeTarget[m].min+p)});let a=kt();ne(a,r,o.layoutBox);let l=kt();i?ne(l,t.applyTransform(n,!0),o.measuredBox):ne(l,r,o.layoutBox);let c=!Ar(a),u=!1;if(!t.resumeFrom){let m=t.getClosestProjectingParent();if(m&&!m.resumeFrom){let{snapshot:f,layout:p}=m;if(f&&p){let h=w();ie(h,o.layoutBox,f.layoutBox);let d=w();ie(d,r,p.layoutBox),Mr(h,d)||(u=!0),m.options.layoutRoot&&(t.relativeTarget=d,t.relativeTargetOrigin=h,t.relativeParent=m)}}}t.notifyListeners("didUpdate",{layout:r,snapshot:o,delta:l,layoutDelta:a,hasLayoutChanged:c,hasRelativeTargetChanged:u})}else if(t.isLead()){let{onExitComplete:r}=t.options;r&&r()}t.options.transition=void 0}function ic(t){Bt.totalNodes++,t.parent&&(t.isProjecting()||(t.isProjectionDirty=t.parent.isProjectionDirty),t.isSharedProjectionDirty||(t.isSharedProjectionDirty=Boolean(t.isProjectionDirty||t.parent.isProjectionDirty||t.parent.isSharedProjectionDirty)),t.isTransformDirty||(t.isTransformDirty=t.parent.isTransformDirty))}function sc(t){t.isProjectionDirty=t.isSharedProjectionDirty=t.isTransformDirty=!1}function ac(t){t.clearSnapshot()}function Ds(t){t.clearMeasurements()}function lc(t){t.isLayoutDirty=!1}function cc(t){let{visualElement:e}=t.options;e&&e.getProps().onBeforeLayoutMeasure&&e.notify("BeforeLayoutMeasure"),t.resetTransform()}function Rs(t){t.finishAnimation(),t.targetDelta=t.relativeTarget=t.target=void 0,t.isProjectionDirty=!0}function uc(t){t.resolveTargetDelta()}function mc(t){t.calcProjection()}function fc(t){t.resetRotation()}function pc(t){t.removeLeadSnapshot()}function Ls(t,e,o){t.translate=C(e.translate,0,o),t.scale=C(e.scale,1,o),t.origin=e.origin,t.originPoint=e.originPoint}function ks(t,e,o,r){t.min=C(e.min,o.min,r),t.max=C(e.max,o.max,r)}function hc(t,e,o,r){ks(t.x,e.x,o.x,r),ks(t.y,e.y,o.y,r)}function dc(t){return t.animationValues&&t.animationValues.opacityExit!==void 0}var gc={duration:.45,ease:[.4,0,.1,1]},Es=t=>typeof navigator<"u"&&navigator.userAgent.toLowerCase().includes(t),Bs=Es("applewebkit/")&&!Es("chrome/")?Math.round:S;function Fs(t){t.min=Bs(t.min),t.max=Bs(t.max)}function yc(t){Fs(t.x),Fs(t.y)}function Os(t,e,o){return t==="position"||t==="preserve-aspect"&&!bo(wr(e),wr(o),.2)}var Is=Fo({attachResizeListener:(t,e)=>$(t,"resize",e),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0});var Rr={current:void 0},Oo=Fo({measureScroll:t=>({x:t.scrollLeft,y:t.scrollTop}),defaultParent:()=>{if(!Rr.current){let t=new Is({});t.mount(window),t.setOptions({layoutScroll:!0}),Rr.current=t}return Rr.current},resetTransform:(t,e)=>{t.style.transform=e!==void 0?e:"none"},checkIsScrollRoot:t=>Boolean(window.getComputedStyle(t).position==="fixed")});var js={pan:{Feature:Lo},drag:{Feature:Ro,ProjectionNode:Oo,MeasureLayout:ko}};var xc=/var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;function vc(t){let e=xc.exec(t);if(!e)return[,];let[,o,r]=e;return[o,r]}var Pc=4;function Lr(t,e,o=1){F(o<=Pc,`Max CSS variable fallback depth detected in property "${t}". This may indicate a circular fallback dependency.`);let[r,n]=vc(t);if(!r)return;let s=window.getComputedStyle(e).getPropertyValue(r);if(s){let i=s.trim();return yo(i)?parseFloat(i):i}else return je(n)?Lr(n,e,o+1):n}function Ns(t,{...e},o){let r=t.current;if(!(r instanceof Element))return{target:e,transitionEnd:o};o&&(o={...o}),t.values.forEach(n=>{let s=n.get();if(!je(s))return;let i=Lr(s,r);i&&n.set(i)});for(let n in e){let s=e[n];if(!je(s))continue;let i=Lr(s,r);!i||(e[n]=i,o||(o={}),o[n]===void 0&&(o[n]=s))}return{target:e,transitionEnd:o}}var Tc=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),zs=t=>Tc.has(t),Vc=t=>Object.keys(t).some(zs),Io=t=>t===J||t===y,Us=(t,e)=>parseFloat(t.split(", ")[e]),Gs=(t,e)=>(o,{transform:r})=>{if(r==="none"||!r)return 0;let n=r.match(/^matrix3d\((.+)\)$/);if(n)return Us(n[1],e);{let s=r.match(/^matrix\((.+)\)$/);return s?Us(s[1],t):0}},bc=new Set(["x","y","z"]),Sc=gt.filter(t=>!bc.has(t));function Cc(t){let e=[];return Sc.forEach(o=>{let r=t.getValue(o);r!==void 0&&(e.push([o,r.get()]),r.set(o.startsWith("scale")?1:0))}),e.length&&t.render(),e}var le={width:({x:t},{paddingLeft:e="0",paddingRight:o="0"})=>t.max-t.min-parseFloat(e)-parseFloat(o),height:({y:t},{paddingTop:e="0",paddingBottom:o="0"})=>t.max-t.min-parseFloat(e)-parseFloat(o),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:Gs(4,13),y:Gs(5,14)};le.translateX=le.x;le.translateY=le.y;var Ac=(t,e,o)=>{let r=e.measureViewportBox(),n=e.current,s=getComputedStyle(n),{display:i}=s,a={};i==="none"&&e.setStaticValue("display",t.display||"block"),o.forEach(c=>{a[c]=le[c](r,s)}),e.render();let l=e.measureViewportBox();return o.forEach(c=>{let u=e.getValue(c);u&&u.jump(a[c]),t[c]=le[c](l,s)}),t},Mc=(t,e,o={},r={})=>{e={...e},r={...r};let n=Object.keys(e).filter(zs),s=[],i=!1,a=[];if(n.forEach(l=>{let c=t.getValue(l);if(!t.hasValue(l))return;let u=o[l],m=oe(u),f=e[l],p;if(Mt(f)){let h=f.length,d=f[0]===null?1:0;u=f[d],m=oe(u);for(let x=d;x<h&&f[x]!==null;x++)p?F(oe(f[x])===p,"All keyframes must be of the same type"):(p=oe(f[x]),F(p===m||Io(m)&&Io(p),"Keyframes must be of the same dimension as the current value"))}else p=oe(f);if(m!==p)if(Io(m)&&Io(p)){let h=c.get();typeof h=="string"&&c.set(parseFloat(h)),typeof f=="string"?e[l]=parseFloat(f):Array.isArray(f)&&p===y&&(e[l]=f.map(parseFloat))}else(m==null?void 0:m.transform)&&(p==null?void 0:p.transform)&&(u===0||f===0)?u===0?c.set(p.transform(u)):e[l]=m.transform(f):(i||(s=Cc(t),i=!0),a.push(l),r[l]=r[l]!==void 0?r[l]:e[l],c.jump(f))}),a.length){let l=a.indexOf("height")>=0?window.pageYOffset:null,c=Ac(e,t,a);return s.length&&s.forEach(([u,m])=>{t.getValue(u).set(m)}),t.render(),ht&&l!==null&&window.scrollTo({top:l}),{target:c,transitionEnd:r}}else return{target:e,transitionEnd:r}};function Hs(t,e,o,r){return Vc(e)?Mc(t,e,o,r):{target:e,transitionEnd:r}}var Ws=(t,e,o,r)=>{let n=Ns(t,e,r);return e=n.target,r=n.transitionEnd,Hs(t,e,o,r)};var Ce={current:null},jo={current:!1};function $s(){if(jo.current=!0,!!ht)if(window.matchMedia){let t=window.matchMedia("(prefers-reduced-motion)"),e=()=>Ce.current=t.matches;t.addListener(e),e()}else Ce.current=!1}function Ks(t,e,o){let{willChange:r}=e;for(let n in e){let s=e[n],i=o[n];if(M(s))t.addValue(n,s),Rt(r)&&r.add(n),process.env.NODE_ENV==="development"&&ee(s.version==="10.18.0",`Attempting to mix Framer Motion versions ${s.version} with 10.18.0 may not work as expected.`);else if(M(i))t.addValue(n,ot(s,{owner:t})),Rt(r)&&r.remove(n);else if(i!==s)if(t.hasValue(n)){let a=t.getValue(n);!a.hasAnimated&&a.set(s)}else{let a=t.getStaticValue(n);t.addValue(n,ot(a!==void 0?a:s,{owner:t}))}}for(let n in o)e[n]===void 0&&t.removeValue(n);return e}var kr=new WeakMap;var qs=Object.keys(Ct),wc=qs.length,_s=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"],Dc=pe.length,No=class{constructor({parent:e,props:o,presenceContext:r,reducedMotionConfig:n,visualState:s},i={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,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.scheduleRender=()=>V.render(this.render,!1,!0);let{latestValues:a,renderState:l}=s;this.latestValues=a,this.baseTarget={...a},this.initialValues=o.initial?{...a}:{},this.renderState=l,this.parent=e,this.props=o,this.presenceContext=r,this.depth=e?e.depth+1:0,this.reducedMotionConfig=n,this.options=i,this.isControllingVariants=St(o),this.isVariantNode=ke(o),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=Boolean(e&&e.current);let{willChange:c,...u}=this.scrapeMotionValuesFromProps(o,{});for(let m in u){let f=u[m];a[m]!==void 0&&M(f)&&(f.set(a[m],!1),Rt(c)&&c.add(m))}}scrapeMotionValuesFromProps(e,o){return{}}mount(e){this.current=e,kr.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((o,r)=>this.bindToMotionValue(r,o)),jo.current||$s(),this.shouldReduceMotion=this.reducedMotionConfig==="never"?!1:this.reducedMotionConfig==="always"?!0:Ce.current,process.env.NODE_ENV!=="production"&&ee(this.shouldReduceMotion!==!0,"You have Reduced Motion enabled on your device. Animations may not appear as expected."),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){kr.delete(this.current),this.projection&&this.projection.unmount(),z(this.notifyUpdate),z(this.render),this.valueSubscriptions.forEach(e=>e()),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(let e in this.events)this.events[e].clear();for(let e in this.features)this.features[e].unmount();this.current=null}bindToMotionValue(e,o){let r=W.has(e),n=o.on("change",i=>{this.latestValues[e]=i,this.props.onUpdate&&V.update(this.notifyUpdate,!1,!0),r&&this.projection&&(this.projection.isTransformDirty=!0)}),s=o.on("renderRequest",this.scheduleRender);this.valueSubscriptions.set(e,()=>{n(),s()})}sortNodePosition(e){return!this.current||!this.sortInstanceNodePosition||this.type!==e.type?0:this.sortInstanceNodePosition(this.current,e.current)}loadFeatures({children:e,...o},r,n,s){let i,a;if(process.env.NODE_ENV!=="production"&&n&&r){let l="You have rendered a `motion` component within a `LazyMotion` component. This will break tree shaking. Import and render a `m` component instead.";o.ignoreStrict?ct(!1,l):F(!1,l)}for(let l=0;l<wc;l++){let c=qs[l],{isEnabled:u,Feature:m,ProjectionNode:f,MeasureLayout:p}=Ct[c];f&&(i=f),u(o)&&(!this.features[c]&&m&&(this.features[c]=new m(this)),p&&(a=p))}if((this.type==="html"||this.type==="svg")&&!this.projection&&i){this.projection=new i(this.latestValues,this.parent&&this.parent.projection);let{layoutId:l,layout:c,drag:u,dragConstraints:m,layoutScroll:f,layoutRoot:p}=o;this.projection.setOptions({layoutId:l,layout:c,alwaysMeasureLayout:Boolean(u)||m&&st(m),visualElement:this,scheduleRender:()=>this.scheduleRender(),animationType:typeof c=="string"?c:"both",initialPromotionConfig:s,layoutScroll:f,layoutRoot:p})}return a}updateFeatures(){for(let e in this.features){let o=this.features[e];o.isMounted?o.update():(o.mount(),o.isMounted=!0)}}triggerBuild(){this.build(this.renderState,this.latestValues,this.options,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):w()}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,o){this.latestValues[e]=o}makeTargetAnimatable(e,o=!0){return this.makeTargetAnimatableFromInstance(e,this.props,o)}update(e,o){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=o;for(let r=0;r<_s.length;r++){let n=_s[r];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);let s=e["on"+n];s&&(this.propEventSubscriptions[n]=this.on(n,s))}this.prevMotionValues=Ks(this,this.scrapeMotionValuesFromProps(e,this.prevProps),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}getVariantContext(e=!1){if(e)return this.parent?this.parent.getVariantContext():void 0;if(!this.isControllingVariants){let r=this.parent?this.parent.getVariantContext()||{}:{};return this.props.initial!==void 0&&(r.initial=this.props.initial),r}let o={};for(let r=0;r<Dc;r++){let n=pe[r],s=this.props[n];(at(s)||s===!1)&&(o[n]=s)}return o}addVariantChild(e){let o=this.getClosestVariantNode();if(o)return o.variantChildren&&o.variantChildren.add(e),()=>o.variantChildren.delete(e)}addValue(e,o){o!==this.values.get(e)&&(this.removeValue(e),this.bindToMotionValue(e,o)),this.values.set(e,o),this.latestValues[e]=o.get()}removeValue(e){this.values.delete(e);let o=this.valueSubscriptions.get(e);o&&(o(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,o){if(this.props.values&&this.props.values[e])return this.props.values[e];let r=this.values.get(e);return r===void 0&&o!==void 0&&(r=ot(o,{owner:this}),this.addValue(e,r)),r}readValue(e){var o;return this.latestValues[e]!==void 0||!this.current?this.latestValues[e]:(o=this.getBaseTargetFromProps(this.props,e))!==null&&o!==void 0?o:this.readValueFromInstance(this.current,e,this.options)}setBaseTarget(e,o){this.baseTarget[e]=o}getBaseTarget(e){var o;let{initial:r}=this.props,n=typeof r=="string"||typeof r=="object"?(o=_t(this.props,r))===null||o===void 0?void 0:o[e]:void 0;if(r&&n!==void 0)return n;let s=this.getBaseTargetFromProps(this.props,e);return s!==void 0&&!M(s)?s:this.initialValues[e]!==void 0&&n===void 0?void 0:this.baseTarget[e]}on(e,o){return this.events[e]||(this.events[e]=new Vt),this.events[e].add(o)}notify(e,...o){this.events[e]&&this.events[e].notify(...o)}};var ce=class extends No{sortInstanceNodePosition(e,o){return e.compareDocumentPosition(o)&2?1:-1}getBaseTargetFromProps(e,o){return e.style?e.style[o]:void 0}removeValueFromRenderState(e,{vars:o,style:r}){delete o[e],delete r[e]}makeTargetAnimatableFromInstance({transition:e,transitionEnd:o,...r},{transformValues:n},s){let i=Mi(r,e||{},this);if(n&&(o&&(o=n(o)),r&&(r=n(r)),i&&(i=n(i))),s){Ai(this,r,i);let a=Ws(this,r,i,o);o=a.transitionEnd,r=a.target}return{transition:e,transitionEnd:o,...r}}};function Rc(t){return window.getComputedStyle(t)}var Uo=class extends ce{constructor(){super(...arguments),this.type="html"}readValueFromInstance(e,o){if(W.has(o)){let r=Xt(o);return r&&r.default||0}else{let r=Rc(e),n=(Ie(o)?r.getPropertyValue(o):r[o])||0;return typeof n=="string"?n.trim():n}}measureInstanceViewportBox(e,{transformPagePoint:o}){return br(e,o)}build(e,o,r,n){zt(e,o,r,n.transformTemplate)}scrapeMotionValuesFromProps(e,o){return Kt(e,o)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);let{children:e}=this.props;M(e)&&(this.childSubscription=e.on("change",o=>{this.current&&(this.current.textContent=`${o}`)}))}renderInstance(e,o,r,n){Ge(e,o,r,n)}};var Go=class extends ce{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1}getBaseTargetFromProps(e,o){return e[o]}readValueFromInstance(e,o){if(W.has(o)){let r=Xt(o);return r&&r.default||0}return o=ze.has(o)?o:Nt(o),e.getAttribute(o)}measureInstanceViewportBox(){return w()}scrapeMotionValuesFromProps(e,o){return We(e,o)}build(e,o,r,n){Wt(e,o,r,this.isSVGTag,n.transformTemplate)}renderInstance(e,o,r,n){He(e,o,r,n)}mount(e){this.isSVGTag=$t(e.tagName),super.mount(e)}};var Ys=(t,e)=>Ut(t)?new Go(e,{enableHardwareAcceleration:!1}):new Uo(e,{enableHardwareAcceleration:!0});var Xs={layout:{ProjectionNode:Oo,MeasureLayout:ko}};var Lc={...Ri,...In,...js,...Xs},Er=Qr((t,e)=>Rn(t,e,Lc,Ys));import{jsx as Br,jsxs as kc}from"react/jsx-runtime";function FT({options:t,selected:e,selectAction:o}){return Br("div",{className:"relative inline-flex items-center space-x-1",children:t.map(r=>kc("button",{className:Gr("relative z-10 px-3 py-1 text-sm font-medium capitalize",{"transition-all hover:text-gray-500":r!==e}),onClick:()=>o(r),children:[Br("p",{children:r}),r===e&&Br(Er.div,{layoutId:t.join("-"),className:"absolute left-0 top-0 h-full w-full rounded-lg border border-gray-200 bg-gray-50",style:{zIndex:-1},transition:{duration:.25}})]},r))})}export{FT as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i}from"./chunk-67M2HR27.mjs";import{jsx as e,jsxs as o}from"react/jsx-runtime";function t({className:l}){return o("svg",{width:"191",height:"191",viewBox:"0 0 191 191",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i("h-10 w-10 text-black",l),children:[e("g",{clipPath:"url(#clip0_1301_107)",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M122 -14H144 9.17859 129.788 5.96937 122 3.72462V-14ZM122 3.72462C113.586 1.29941 104.695 0 95.5 0C42.7568 0 0 42.7568 0 95.5C0 148.243 42.7568 191 95.5 191C148.243 191 191 148.243 191 95.5C191 60.462 172.131 29.8311 144 13.2146V100V148H122V140.897C114.258 146.018 104.977 149 95 149C67.938 149 46 127.062 46 100C46 72.938 67.938 51 95 51C104.977 51 114.258 53.982 122 59.1034V3.72462Z",fill:"currentColor",shapeRendering:"geometricPrecision"})}),e("defs",{children:e("clipPath",{id:"clip0_1301_107",children:e("rect",{width:"191",height:"191",rx:"95.5",fill:"white"})})})]})}export{t as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i}from"./chunk-OMIWHNGS.mjs";import{jsx as e,jsxs as o}from"react/jsx-runtime";function t({className:l}){return o("svg",{width:"191",height:"191",viewBox:"0 0 191 191",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i("h-10 w-10 text-black",l),children:[e("g",{clipPath:"url(#clip0_1301_107)",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M122 -14H144 9.17859 129.788 5.96937 122 3.72462V-14ZM122 3.72462C113.586 1.29941 104.695 0 95.5 0C42.7568 0 0 42.7568 0 95.5C0 148.243 42.7568 191 95.5 191C148.243 191 191 148.243 191 95.5C191 60.462 172.131 29.8311 144 13.2146V100V148H122V140.897C114.258 146.018 104.977 149 95 149C67.938 149 46 127.062 46 100C46 72.938 67.938 51 95 51C104.977 51 114.258 53.982 122 59.1034V3.72462Z",fill:"currentColor",shapeRendering:"geometricPrecision"})}),e("defs",{children:e("clipPath",{id:"clip0_1301_107",children:e("rect",{width:"191",height:"191",rx:"95.5",fill:"white"})})})]})}export{t as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{f as t}from"./chunk-JYPNGA7N.mjs";import{cva as o}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var i=o("max-w-fit rounded-full border px-2 py-px text-xs font-medium capitalize",{variants:{variant:{default:"border-gray-400 text-gray-500",violet:"border-violet-600 bg-violet-600 text-white",blue:"border-blue-500 bg-blue-500 text-white",sky:"border-sky-900 bg-sky-900 text-white",black:"border-black bg-black text-white",gray:"border-gray-200 bg-gray-200 text-gray-800",neutral:"border-gray-400 text-gray-500",rainbow:"bg-gradient-to-r from-violet-600 to-pink-600 text-white border-transparent"}},defaultVariants:{variant:"neutral"}});function g({className:e,variant:r,...a}){return n("span",{className:(void 0)(i({variant:r}),e),...a})}export{i as a,g as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as a}from"./chunk-P6HMN2YO.mjs";import{f as i}from"./chunk-JYPNGA7N.mjs";import*as t from"@radix-ui/react-switch";import{jsx as e}from"react/jsx-runtime";function f({fn:s,trackDimensions:c,thumbDimensions:l,thumbTranslate:r,checked:d=!0,disabled:o=!1,disabledTooltip:n}){return n?e(a,{content:n,children:e("div",{className:"radix-state-checked:bg-gray-300 relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200",children:e("div",{className:"h-3 w-3 transform rounded-full bg-white shadow-lg"})})}):e(t.Root,{checked:d,name:"switch",onCheckedChange:u=>s(u),disabled:o,className:(void 0)(o?"cursor-not-allowed bg-gray-300":"radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 cursor-pointer focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","relative inline-flex h-4 w-8 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",c),children:e(t.Thumb,{className:(void 0)(`radix-state-checked:${r}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",l,r)})})}export{f as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as p}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-LXWCAKW4.mjs";import{a as g}from"./chunk-VWVFVW4E.mjs";import{a as n}from"./chunk-FFEQJT42.mjs";import{a as c}from"./chunk-T4YFARK5.mjs";import{a as d}from"./chunk-5EWSH7PD.mjs";import{c as i}from"./chunk-BKZVVF77.mjs";import o from"@vercel/analytics";import m from"next/link";import{useParams as h}from"next/navigation";import{jsx as e,jsxs as r}from"react/jsx-runtime";var l={features:p.map(({shortTitle:t,slug:s})=>({name:t,href:`/${s}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:i.map(({name:t,slug:s})=>({name:t,href:`/tools/${s}`}))};function L(){let{domain:t="dub.co"}=h(),s=a=>t==="dub.co"?a:`https://dub.co${a}`;return e("footer",{className:"z-10 border-t border-gray-200 bg-white/50 py-8 backdrop-blur-lg",children:r(f,{className:"pt-10",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-8",children:[r(m,{href:s("/"),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(n,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("div",{className:"flex items-center space-x-2",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(g,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(c,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://www.linkedin.com/company/dubinc/",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(d,{className:"h-5 w-5",fill:"#52525B"})]})]})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]})]})]}),e("div",{className:"mt-16 border-t border-gray-900/10 pt-8 sm:mt-20 lg:mt-24",children:r("p",{className:"text-sm leading-5 text-gray-500",children:["\xA9 ",new Date().getFullYear()," ",process.env.NEXT_PUBLIC_APP_NAME,", Inc."]})})]})})}export{L as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as i}from"./chunk-7TDANTOM.mjs";import{i as d}from"./chunk-67M2HR27.mjs";import{useMemo as b,useState as m}from"react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function T({title:u,description:g,inputData:t,helpText:c,buttonText:f="Save Changes",disabledTooltip:s,handleSubmit:p}){let[r,y]=m(t.defaultValue),[l,n]=m(!1),x=b(()=>l||!r||r===t.defaultValue,[l,r,t.defaultValue]);return a("form",{onSubmit:async o=>{o.preventDefault(),n(!0),await p({[t.name]:r}),n(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[a("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[a("div",{className:"flex flex-col space-y-3",children:[e("h2",{className:"text-xl font-medium",children:u}),e("p",{className:"text-sm text-gray-500",children:g})]}),typeof t.defaultValue=="string"?e("input",{...t,type:"text",required:!0,disabled:!!s,onChange:o=>y(o.target.value),className:d("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-300 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":s})}):e("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),a("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[e("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:c||""}}),e("div",{className:"shrink-0",children:e(i,{text:f,loading:l,disabled:x,disabledTooltip:s})})]})]})}export{T as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b}from"./chunk-R32XQAYH.mjs";import{a as s}from"./chunk-EKDIXFGM.mjs";import{i as l}from"./chunk-NRYQ55IG.mjs";import{jsx as e,jsxs as g}from"react/jsx-runtime";function x({text:n,variant:t="primary",loading:i,icon:a,shortcut:o,disabledTooltip:d,...r}){return d?e(b,{content:d,children:g("div",{className:"flex h-10 w-full cursor-not-allowed items-center justify-center space-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",children:[e("p",{children:n}),o&&e("kbd",{className:"hidden rounded bg-zinc-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",children:o})]})}):g("button",{type:r.onClick?"button":"submit",className:(void 0)("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",r.disabled||i?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":t==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":t==="secondary","border-transparent text-gray-500 transition-all duration-75 hover:bg-gray-100":t==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":t==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":t==="danger"},r.className),disabled:r.disabled||i,...r,children:[i?e(s,{}):a||null,n&&e("p",{children:n}),o&&e("kbd",{className:"hidden rounded bg-zinc-700 px-2 py-0.5 text-xs font-light text-gray-400 transition-all duration-75 group-hover:bg-gray-100 group-hover:text-gray-500 md:inline-block",children:o})]})}export{x as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as y}from"./chunk-HYYV36TO.mjs";import{a as p}from"./chunk-2TGXECZQ.mjs";import{a as o}from"./chunk-VVQDMCWT.mjs";import{f as g,g as f,h as b}from"./chunk-67M2HR27.mjs";import{Link2 as v}from"lucide-react";import{useRouter as k,useSearchParams as R}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as j}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function I({defaultUrl:t}){let x=k(),l=R(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=j(g(i),500),d=P(()=>f(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${a}`,b,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},s=W(null);E(()=>{!t&&s.current&&s.current.select()},[t]);let{isMobile:L}=y();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:s,name:"url",id:"url",type:"url",autoFocus:!L,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:i,onChange:m=>x.replace(`/tools/metatags${m.target.value.length>0?`?url=${m.target.value}`:""}`),"aria-invalid":"true"})]}),r("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[w&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})}),c?e("img",{src:c,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):r("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(p,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})})})]})}export{I as a,O as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as l}from"./chunk-OMIWHNGS.mjs";import{jsx as C,jsxs as t}from"react/jsx-runtime";function e({className:r}){return t("svg",{width:"834",height:"236",viewBox:"0 0 834 236",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l("h-6 w-24",r),children:[C("path",{d:"M266 119.5C266 181.632 215.632 232 153.5 232C91.368 232 41 181.632 41 119.5C41 57.368 91.368 7 153.5 7C215.632 7 266 57.368 266 119.5Z",fill:"currentColor"}),C("mask",{id:"mask0_46_2",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"41",y:"7",width:"225",height:"225",children:C("path",{d:"M266 119.5C266 181.632 215.632 232 153.5 232C91.368 232 41 181.632 41 119.5C41 57.368 91.368 7 153.5 7C215.632 7 266 57.368 266 119.5Z",fill:"currentColor"})}),t("g",{mask:"url(#mask0_46_2)",children:[C("ellipse",{cx:"153",cy:"124.5",rx:"58",ry:"57.5",fill:"white"}),C("path",{d:"M185 -10H211V181H185V-10Z",fill:"white"})]}),C("path",{d:"M397.25 213.75C385.25 213.75 374.833 211.083 366 205.75C357.167 200.417 350.25 192.917 345.25 183.25C340.417 173.417 338 161.917 338 148.75C338 135.417 340.5 123.75 345.5 113.75C350.5 103.583 357.583 95.6667 366.75 90C376.083 84.3333 387.083 81.5 399.75 81.5C407.583 81.5 414.833 82.9167 421.5 85.75C428.333 88.5833 433.583 92.3333 437.25 97V22H475.75V210.5H439.5L437.5 194.5C434.167 200.167 428.833 204.833 421.5 208.5C414.333 212 406.25 213.75 397.25 213.75ZM406.5 178.5C412.5 178.5 417.75 177.25 422.25 174.75C426.917 172.083 430.5 168.417 433 163.75C435.667 158.917 437 153.417 437 147.25C437 140.917 435.667 135.417 433 130.75C430.5 126.083 426.917 122.5 422.25 120C417.75 117.333 412.5 116 406.5 116C400.5 116 395.25 117.333 390.75 120C386.25 122.667 382.75 126.333 380.25 131C377.917 135.667 376.75 141.083 376.75 147.25C376.75 153.417 377.917 158.833 380.25 163.5C382.75 168.167 386.25 171.833 390.75 174.5C395.25 177.167 400.5 178.5 406.5 178.5Z",fill:"currentColor"}),C("path",{d:"M587.662 85.5H626.162C626.162 85.5 626.162 148.5 626.162 164C626.162 179.5 623.786 191.5 616.5 200.5C609.214 209.5 594 213.75 582.162 213.75C570.324 213.75 564.412 213.75 564.412 213.75C564.412 213.75 556.662 213.75 549.162 213.75C534.995 213.75 523.745 209.333 515.412 200.5C507.245 191.5 503.162 179.333 503.162 164V85.5H541.662V150C541.662 160.167 543.495 167.667 547.162 172.5C550.829 177.167 556.579 179.5 564.412 179.5C572.745 179.5 578.662 177.25 582.162 172.75C585.829 168.083 587.662 160.667 587.662 150.5V85.5Z",fill:"currentColor"}),C("path",{d:"M691.303 210.5H655.053V22H693.553V100C697.386 94.3333 703.053 89.8333 710.553 86.5C718.219 83 726.553 81.25 735.553 81.25C747.219 81.25 757.303 84.0833 765.803 89.75C774.469 95.4167 781.136 103.333 785.803 113.5C790.469 123.667 792.803 135.583 792.803 149.25C792.803 162.083 790.219 173.417 785.053 183.25C780.053 192.917 772.969 200.417 763.803 205.75C754.803 211.083 744.386 213.75 732.553 213.75C723.886 213.75 715.969 212 708.803 208.5C701.803 204.833 696.636 200.167 693.303 194.5L691.303 210.5ZM693.803 147.25C693.803 153.417 695.053 158.917 697.553 163.75C700.219 168.417 703.803 172.083 708.303 174.75C712.969 177.25 718.303 178.5 724.303 178.5C730.469 178.5 735.719 177.167 740.053 174.5C744.553 171.833 747.969 168.167 750.303 163.5C752.803 158.833 754.053 153.417 754.053 147.25C754.053 141.083 752.803 135.667 750.303 131C747.969 126.333 744.553 122.667 740.053 120C735.719 117.333 730.469 116 724.303 116C718.303 116 712.969 117.333 708.303 120C703.803 122.5 700.219 126.083 697.553 130.75C695.053 135.417 693.803 140.917 693.803 147.25Z",fill:"currentColor"})]})}export{e as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as e}from"./chunk-67M2HR27.mjs";import{jsx as n}from"react/jsx-runtime";function l({user:a={},className:i}){return a?n("img",{alt:`Avatar for ${(a==null?void 0:a.name)||(a==null?void 0:a.email)}`,referrerPolicy:"no-referrer",src:(a==null?void 0:a.image)||`https://api.dicebear.com/7.x/micah/svg?seed=${a==null?void 0:a.email}`,className:e("h-10 w-10 rounded-full border border-gray-300",i),draggable:!1}):n("div",{className:e("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",i)})}function d({id:a}){return n("img",{src:`https://api.dicebear.com/7.x/shapes/svg?seed=${a}`,alt:"avatar",className:"h-10 w-10 rounded-full",draggable:!1})}export{l as a,d as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as r}from"./chunk-EHYVEIOL.mjs";import{a}from"./chunk-Z5P2KHPP.mjs";import{i as e}from"./chunk-NRYQ55IG.mjs";import{useState as u}from"react";import{toast as m}from"sonner";import{jsx as o,jsxs as g}from"react/jsx-runtime";function y({value:s,className:i,icon:n}){let[l,t]=u(!1),c=n||a;return g("button",{onClick:p=>{p.stopPropagation(),t(!0),navigator.clipboard.writeText(s).then(()=>{m.success("Copied to clipboard!")}),setTimeout(()=>t(!1),3e3)},className:(void 0)("group rounded-full bg-gray-100 p-1.5 transition-all duration-75 hover:scale-105 hover:bg-blue-100 active:scale-95",i),children:[o("span",{className:"sr-only",children:"Copy"}),l?o(r,{className:"text-gray-700 transition-all group-hover:text-blue-800"}):o(c,{className:"text-gray-700 transition-all group-hover:text-blue-800"})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i}from"./chunk-67M2HR27.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:i("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as a}from"./chunk-YD23GKOR.mjs";import*as i from"@radix-ui/react-radio-group";import{Circle as p}from"lucide-react";import*as m from"react";import{jsx as e}from"react/jsx-runtime";var s=m.forwardRef(({className:o,...r},t)=>e(i.Root,{className:a("grid gap-2",o),...r,ref:t}));s.displayName=i.Root.displayName;var d=m.forwardRef(({className:o,...r},t)=>e(i.Item,{ref:t,className:a("border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",o),...r,children:e(i.Indicator,{className:"flex items-center justify-center",children:e(p,{className:"h-2.5 w-2.5 fill-current text-current"})})}));d.displayName=i.Item.displayName;export{s as a,d as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as u}from"./chunk-N7GKWXYV.mjs";import{a as p}from"./chunk-A75RGEGE.mjs";import{a as t,h as d,i as n}from"./chunk-M67AWHVC.mjs";import{ChevronDown as N,Menu as v,X as w}from"lucide-react";import o from"next/link";import{useParams as x}from"next/navigation";import{useEffect as k,useState as b}from"react";import L from"swr";import{Fragment as h,jsx as e,jsxs as s}from"react/jsx-runtime";function E(){let{domain:r="dub.co"}=x(),[a,c]=b(!1),[m,y]=b(!1);k(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:f,isLoading:z}=L(r==="dub.co"&&"/api/auth/session",d,{dedupingInterval:6e4});return s(h,{children:[e("button",{onClick:()=>c(!a),className:n("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(w,{className:"h-5 w-5 text-gray-600"}):e(v,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:n("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200",children:[s("li",{className:"py-3",children:[s("button",{className:"flex w-full justify-between",onClick:()=>y(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(N,{className:n("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:p.map(({slug:l,icon:i,shortTitle:g})=>s(o,{href:r==="dub.co"?`/${l}`:`https://dub.co/${l}`,onClick:()=>c(!1),className:"flex w-full space-x-2",children:[e(i,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:g})]},l))})]}),u.map(({name:l,slug:i})=>e("li",{className:"py-3",children:e(o,{href:r==="dub.co"?`/${i}`:`https://dub.co/${i}`,onClick:()=>c(!1),className:"flex w-full font-semibold capitalize",children:l})},i)),f&&Object.keys(f).length>0?e("li",{className:"py-3",children:e(o,{href:t,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(h,{children:[e("li",{className:"py-3",children:e(o,{href:`${t}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(o,{href:`${t}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}export{E as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as e}from"./chunk-NRYQ55IG.mjs";import{jsx as o}from"react/jsx-runtime";function c({className:r,children:a}){return o("div",{className:(void 0)("mx-auto w-full max-w-screen-xl px-2.5 lg:px-20",r),children:a})}export{c as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as u}from"./chunk-PRCWHNYA.mjs";import{a as p}from"./chunk-A75RGEGE.mjs";import{a as t,h as d,i as n}from"./chunk-OMIWHNGS.mjs";import{ChevronDown as N,Menu as v,X as w}from"lucide-react";import o from"next/link";import{useParams as x}from"next/navigation";import{useEffect as k,useState as b}from"react";import L from"swr";import{Fragment as h,jsx as e,jsxs as s}from"react/jsx-runtime";function E(){let{domain:r="dub.co"}=x(),[a,c]=b(!1),[m,y]=b(!1);k(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:f,isLoading:z}=L(r==="dub.co"&&"/api/auth/session",d,{dedupingInterval:6e4});return s(h,{children:[e("button",{onClick:()=>c(!a),className:n("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(w,{className:"h-5 w-5 text-gray-600"}):e(v,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:n("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200",children:[s("li",{className:"py-3",children:[s("button",{className:"flex w-full justify-between",onClick:()=>y(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(N,{className:n("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:p.map(({slug:l,icon:i,shortTitle:g})=>s(o,{href:r==="dub.co"?`/${l}`:`https://dub.co/${l}`,onClick:()=>c(!1),className:"flex w-full space-x-2",children:[e(i,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:g})]},l))})]}),u.map(({name:l,slug:i})=>e("li",{className:"py-3",children:e(o,{href:r==="dub.co"?`/${i}`:`https://dub.co/${i}`,onClick:()=>c(!1),className:"flex w-full font-semibold capitalize",children:l})},i)),f&&Object.keys(f).length>0?e("li",{className:"py-3",children:e(o,{href:t,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(h,{children:[e("li",{className:"py-3",children:e(o,{href:`${t}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(o,{href:`${t}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}export{E as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as e}from"./chunk-NRYQ55IG.mjs";import{jsx as t}from"react/jsx-runtime";function n({className:i}){return t("div",{className:(void 0)("h-5 w-5",i),children:t("div",{style:{position:"relative",top:"50%",left:"50%"},className:(void 0)("loading-spinner","h-5 w-5",i),children:[...Array(12)].map((r,a)=>t("div",{style:{animationDelay:`${-1.2+.1*a}s`,background:"gray",position:"absolute",borderRadius:"1rem",width:"30%",height:"8%",left:"-10%",top:"-4%",transform:`rotate(${30*a}deg) translate(120%)`},className:"animate-spinner"},a))})})}export{n as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{d as s,e as p}from"./chunk-OMIWHNGS.mjs";import*as i from"@radix-ui/react-tooltip";import{HelpCircle as c}from"lucide-react";import x from"next/link";import{useState as d}from"react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function h({children:t}){return e(i.Provider,{delayDuration:100,children:t})}function m({children:t,content:o,side:r="top"}){let[n,l]=d(!1);return a(i.Root,{open:n,onOpenChange:l,children:[e(i.Trigger,{asChild:!0,onClick:()=>{l(!0)},onBlur:()=>{l(!1)},children:t}),e(i.Portal,{children:e(i.Content,{sideOffset:8,side:r,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:typeof o=="string"?e("span",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:o}):o})})]})}function T({title:t,cta:o,href:r,target:n,onClick:l}){return a("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[e("p",{className:"text-sm text-gray-700",children:t}),o&&(r?e(x,{href:r,...n?{target:n}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:o}):l?e("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:l,children:o}):null)]})}function y({title:t,cta:o,href:r}){return a("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",e("a",{href:r,target:"_blank",className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:o})]})}function N({content:t}){return e(m,{content:t,children:e(c,{className:"h-4 w-4 text-gray-500"})})}function P({value:t,unit:o="total clicks",children:r,lastClicked:n}){return(!t||t<1e3)&&!n?r:e(m,{content:a("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[a("p",{className:"text-sm font-semibold text-gray-700",children:[s(t||0,{full:!0})," ",o]}),n&&a("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",p(n,{withAgo:!0})]})]}),children:r})}export{h as a,m as b,T as c,y as d,N as e,P as f};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as l}from"./chunk-NRYQ55IG.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:(void 0)("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i}from"./chunk-NRYQ55IG.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:(void 0)("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{motion as r}from"framer-motion";import{jsx as t,jsxs as a}from"react/jsx-runtime";function s({options:i,selected:o,selectAction:l}){return t("div",{className:"relative inline-flex items-center space-x-3 rounded-lg border border-gray-200 bg-gray-50 px-2 py-1",children:i.map(e=>a("button",{className:"px-2 py-1 text-sm font-medium capitalize transition-all duration-75 hover:text-gray-500 sm:px-3",onClick:()=>l(e),children:[t("p",{children:e}),o&&t(r.div,{layoutId:"indicator",className:"absolute left-0 top-0 h-full w-full rounded-md bg-gray-100",style:{zIndex:-1}})]},e))})}export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as t}from"./chunk-OMIWHNGS.mjs";import{cva as o}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var i=o("max-w-fit rounded-full border px-2 py-px text-xs font-medium capitalize",{variants:{variant:{default:"border-gray-400 text-gray-500",violet:"border-violet-600 bg-violet-600 text-white",blue:"border-blue-500 bg-blue-500 text-white",sky:"border-sky-900 bg-sky-900 text-white",black:"border-black bg-black text-white",gray:"border-gray-200 bg-gray-200 text-gray-800",neutral:"border-gray-400 text-gray-500",rainbow:"bg-gradient-to-r from-violet-600 to-pink-600 text-white border-transparent"}},defaultVariants:{variant:"neutral"}});function g({className:e,variant:r,...a}){return n("span",{className:t(i({variant:r}),e),...a})}export{i as a,g as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as l}from"./chunk-M67AWHVC.mjs";import{jsx as C,jsxs as t}from"react/jsx-runtime";function e({className:r}){return t("svg",{width:"834",height:"236",viewBox:"0 0 834 236",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l("h-6 w-24",r),children:[C("path",{d:"M266 119.5C266 181.632 215.632 232 153.5 232C91.368 232 41 181.632 41 119.5C41 57.368 91.368 7 153.5 7C215.632 7 266 57.368 266 119.5Z",fill:"currentColor"}),C("mask",{id:"mask0_46_2",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"41",y:"7",width:"225",height:"225",children:C("path",{d:"M266 119.5C266 181.632 215.632 232 153.5 232C91.368 232 41 181.632 41 119.5C41 57.368 91.368 7 153.5 7C215.632 7 266 57.368 266 119.5Z",fill:"currentColor"})}),t("g",{mask:"url(#mask0_46_2)",children:[C("ellipse",{cx:"153",cy:"124.5",rx:"58",ry:"57.5",fill:"white"}),C("path",{d:"M185 -10H211V181H185V-10Z",fill:"white"})]}),C("path",{d:"M397.25 213.75C385.25 213.75 374.833 211.083 366 205.75C357.167 200.417 350.25 192.917 345.25 183.25C340.417 173.417 338 161.917 338 148.75C338 135.417 340.5 123.75 345.5 113.75C350.5 103.583 357.583 95.6667 366.75 90C376.083 84.3333 387.083 81.5 399.75 81.5C407.583 81.5 414.833 82.9167 421.5 85.75C428.333 88.5833 433.583 92.3333 437.25 97V22H475.75V210.5H439.5L437.5 194.5C434.167 200.167 428.833 204.833 421.5 208.5C414.333 212 406.25 213.75 397.25 213.75ZM406.5 178.5C412.5 178.5 417.75 177.25 422.25 174.75C426.917 172.083 430.5 168.417 433 163.75C435.667 158.917 437 153.417 437 147.25C437 140.917 435.667 135.417 433 130.75C430.5 126.083 426.917 122.5 422.25 120C417.75 117.333 412.5 116 406.5 116C400.5 116 395.25 117.333 390.75 120C386.25 122.667 382.75 126.333 380.25 131C377.917 135.667 376.75 141.083 376.75 147.25C376.75 153.417 377.917 158.833 380.25 163.5C382.75 168.167 386.25 171.833 390.75 174.5C395.25 177.167 400.5 178.5 406.5 178.5Z",fill:"currentColor"}),C("path",{d:"M587.662 85.5H626.162C626.162 85.5 626.162 148.5 626.162 164C626.162 179.5 623.786 191.5 616.5 200.5C609.214 209.5 594 213.75 582.162 213.75C570.324 213.75 564.412 213.75 564.412 213.75C564.412 213.75 556.662 213.75 549.162 213.75C534.995 213.75 523.745 209.333 515.412 200.5C507.245 191.5 503.162 179.333 503.162 164V85.5H541.662V150C541.662 160.167 543.495 167.667 547.162 172.5C550.829 177.167 556.579 179.5 564.412 179.5C572.745 179.5 578.662 177.25 582.162 172.75C585.829 168.083 587.662 160.667 587.662 150.5V85.5Z",fill:"currentColor"}),C("path",{d:"M691.303 210.5H655.053V22H693.553V100C697.386 94.3333 703.053 89.8333 710.553 86.5C718.219 83 726.553 81.25 735.553 81.25C747.219 81.25 757.303 84.0833 765.803 89.75C774.469 95.4167 781.136 103.333 785.803 113.5C790.469 123.667 792.803 135.583 792.803 149.25C792.803 162.083 790.219 173.417 785.053 183.25C780.053 192.917 772.969 200.417 763.803 205.75C754.803 211.083 744.386 213.75 732.553 213.75C723.886 213.75 715.969 212 708.803 208.5C701.803 204.833 696.636 200.167 693.303 194.5L691.303 210.5ZM693.803 147.25C693.803 153.417 695.053 158.917 697.553 163.75C700.219 168.417 703.803 172.083 708.303 174.75C712.969 177.25 718.303 178.5 724.303 178.5C730.469 178.5 735.719 177.167 740.053 174.5C744.553 171.833 747.969 168.167 750.303 163.5C752.803 158.833 754.053 153.417 754.053 147.25C754.053 141.083 752.803 135.667 750.303 131C747.969 126.333 744.553 122.667 740.053 120C735.719 117.333 730.469 116 724.303 116C718.303 116 712.969 117.333 708.303 120C703.803 122.5 700.219 126.083 697.553 130.75C695.053 135.417 693.803 140.917 693.803 147.25Z",fill:"currentColor"})]})}export{e as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as a}from"./chunk-BKZVVF77.mjs";import*as i from"@radix-ui/react-radio-group";import{Circle as p}from"lucide-react";import*as m from"react";import{jsx as e}from"react/jsx-runtime";var s=m.forwardRef(({className:o,...r},t)=>e(i.Root,{className:a("grid gap-2",o),...r,ref:t}));s.displayName=i.Root.displayName;var d=m.forwardRef(({className:o,...r},t)=>e(i.Item,{ref:t,className:a("border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",o),...r,children:e(i.Indicator,{className:"flex items-center justify-center",children:e(p,{className:"h-2.5 w-2.5 fill-current text-current"})})}));d.displayName=i.Item.displayName;export{s as a,d as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as l}from"./chunk-BKZVVF77.mjs";import{jsx as C,jsxs as t}from"react/jsx-runtime";function e({className:r}){return t("svg",{width:"834",height:"236",viewBox:"0 0 834 236",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l("h-6 w-24",r),children:[C("path",{d:"M266 119.5C266 181.632 215.632 232 153.5 232C91.368 232 41 181.632 41 119.5C41 57.368 91.368 7 153.5 7C215.632 7 266 57.368 266 119.5Z",fill:"currentColor"}),C("mask",{id:"mask0_46_2",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"41",y:"7",width:"225",height:"225",children:C("path",{d:"M266 119.5C266 181.632 215.632 232 153.5 232C91.368 232 41 181.632 41 119.5C41 57.368 91.368 7 153.5 7C215.632 7 266 57.368 266 119.5Z",fill:"currentColor"})}),t("g",{mask:"url(#mask0_46_2)",children:[C("ellipse",{cx:"153",cy:"124.5",rx:"58",ry:"57.5",fill:"white"}),C("path",{d:"M185 -10H211V181H185V-10Z",fill:"white"})]}),C("path",{d:"M397.25 213.75C385.25 213.75 374.833 211.083 366 205.75C357.167 200.417 350.25 192.917 345.25 183.25C340.417 173.417 338 161.917 338 148.75C338 135.417 340.5 123.75 345.5 113.75C350.5 103.583 357.583 95.6667 366.75 90C376.083 84.3333 387.083 81.5 399.75 81.5C407.583 81.5 414.833 82.9167 421.5 85.75C428.333 88.5833 433.583 92.3333 437.25 97V22H475.75V210.5H439.5L437.5 194.5C434.167 200.167 428.833 204.833 421.5 208.5C414.333 212 406.25 213.75 397.25 213.75ZM406.5 178.5C412.5 178.5 417.75 177.25 422.25 174.75C426.917 172.083 430.5 168.417 433 163.75C435.667 158.917 437 153.417 437 147.25C437 140.917 435.667 135.417 433 130.75C430.5 126.083 426.917 122.5 422.25 120C417.75 117.333 412.5 116 406.5 116C400.5 116 395.25 117.333 390.75 120C386.25 122.667 382.75 126.333 380.25 131C377.917 135.667 376.75 141.083 376.75 147.25C376.75 153.417 377.917 158.833 380.25 163.5C382.75 168.167 386.25 171.833 390.75 174.5C395.25 177.167 400.5 178.5 406.5 178.5Z",fill:"currentColor"}),C("path",{d:"M587.662 85.5H626.162C626.162 85.5 626.162 148.5 626.162 164C626.162 179.5 623.786 191.5 616.5 200.5C609.214 209.5 594 213.75 582.162 213.75C570.324 213.75 564.412 213.75 564.412 213.75C564.412 213.75 556.662 213.75 549.162 213.75C534.995 213.75 523.745 209.333 515.412 200.5C507.245 191.5 503.162 179.333 503.162 164V85.5H541.662V150C541.662 160.167 543.495 167.667 547.162 172.5C550.829 177.167 556.579 179.5 564.412 179.5C572.745 179.5 578.662 177.25 582.162 172.75C585.829 168.083 587.662 160.667 587.662 150.5V85.5Z",fill:"currentColor"}),C("path",{d:"M691.303 210.5H655.053V22H693.553V100C697.386 94.3333 703.053 89.8333 710.553 86.5C718.219 83 726.553 81.25 735.553 81.25C747.219 81.25 757.303 84.0833 765.803 89.75C774.469 95.4167 781.136 103.333 785.803 113.5C790.469 123.667 792.803 135.583 792.803 149.25C792.803 162.083 790.219 173.417 785.053 183.25C780.053 192.917 772.969 200.417 763.803 205.75C754.803 211.083 744.386 213.75 732.553 213.75C723.886 213.75 715.969 212 708.803 208.5C701.803 204.833 696.636 200.167 693.303 194.5L691.303 210.5ZM693.803 147.25C693.803 153.417 695.053 158.917 697.553 163.75C700.219 168.417 703.803 172.083 708.303 174.75C712.969 177.25 718.303 178.5 724.303 178.5C730.469 178.5 735.719 177.167 740.053 174.5C744.553 171.833 747.969 168.167 750.303 163.5C752.803 158.833 754.053 153.417 754.053 147.25C754.053 141.083 752.803 135.667 750.303 131C747.969 126.333 744.553 122.667 740.053 120C735.719 117.333 730.469 116 724.303 116C718.303 116 712.969 117.333 708.303 120C703.803 122.5 700.219 126.083 697.553 130.75C695.053 135.417 693.803 140.917 693.803 147.25Z",fill:"currentColor"})]})}export{e as a};