1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[488],{7187:function(e,r,t){var n=t(5893),a=t(7294),i=t(2139),o=t(5331);r.Z=function(){var e=(0,a.useState)("Free"),r=e[0],t=e[1],s=(0,o.a)().user;if((0,a.useEffect)((function(){(null===s||void 0===s?void 0:s.teamId)&&!r&&(0,i.W)(s).then((function(e){return t(e)}))}),[null===s||void 0===s?void 0:s.teamId,r,s]),!s)return null;return(0,n.jsx)("span",{className:"inline-flex items-center px-3 py-0.5 rounded-full text-sm font-medium leading-5 ".concat(r&&"Free"!==r?"Hobby"===r||"Pro"===r?"bg-green-100 text-green-800":"":"bg-indigo-100 text-indigo-800"),children:r})}},2808:function(e,r,t){var n=t(6042),a=t(9396),i=t(5893);r.Z=function(e){return(0,i.jsx)("svg",(0,a.Z)((0,n.Z)({viewBox:"0 0 100 100",fill:"currentColor"},e),{children:(0,i.jsx)("path",{d:"M90.9 58.2c-3.8 18.9-20.1 32.7-39.7 33-22 .4-40.7-17-41.9-39C8 28.5 26.9 8.8 50.4 8.8c19 0 35.5 13.1 40 31.2.3 1.2 1.4 2.1 2.7 2.1 1.8 0 3.1-1.7 2.7-3.5C90.6 18.1 72 3.3 50.4 3.3c-27.2 0-49 23.4-46.6 51.1 2.1 23 21 41.2 44 42.4C71.6 98 91.7 81.9 96.2 59.4c.3-1.7-1-3.3-2.7-3.3-1.3-.1-2.4.8-2.6 2.1z"})}))}},4894:function(e,r,t){t.d(r,{M:function(){return l}});var n=t(5893),a=t(5331),i=t(6042),o=t(9396),s=function(e){return(0,n.jsx)("svg",(0,o.Z)((0,i.Z)({fill:"currentColor",viewBox:"0 0 24 24"},e),{children:(0,n.jsx)("path",{d:"M24 20.993V24H0v-2.996A14.977 14.977 0 0112.004 15c4.904 0 9.26 2.354 11.996 5.993zM16.002 8.999a4 4 0 11-8 0 4 4 0 018 0z"})}))},l=function(e){var r=e.size,t=void 0===r?"md":r,i=e.onClick,o=(0,a.a)().user,l="md"===t?8:12;return(0,n.jsx)("button",{onClick:i,className:"flex items-center max-w-xs text-sm text-white rounded-full focus:outline-none focus:shadow-solid",children:(0,n.jsx)("span",{className:"inline-block w-".concat(l," h-").concat(l," overflow-hidden bg-gray-200 rounded-full"),children:(null===o||void 0===o?void 0:o.avatarUrl)?(0,n.jsx)("img",{className:"object-cover w-full h-full rounded",src:o.avatarUrl,alt:o.name}):(0,n.jsx)(s,{className:"w-".concat(l," h-").concat(l)})})})}},4129:function(e,r,t){t.d(r,{d:function(){return f},k:function(){return b}});var n=t(7568),a=t(655),i=t(5893),o=t(7294),s=t(1355),l=t(5331),d=t(1664),c=t.n(d),u=t(4894),g=t(6514),h=t(5668),b=function(e){var r=e.href,t=e.title,n=e.onClick;return(0,i.jsx)(c(),{href:r,children:(0,i.jsx)("a",{onClick:n,className:"block px-4 py-2 text-sm text-gray-600 hover:text-gray-900 hover:bg-gray-100",children:t})})},f=function(){var e=(0,l.a)(),r=e.user,t=e.signOut,d=(0,o.useRef)(),c=(0,o.useState)(!1),f=c[0],x=c[1],m=(0,h.p)().addToast;(0,g.t)(d,(function(){return x(!1)}));var v=function(){var e=(0,n.Z)((function(){return(0,a.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,t()];case 1:return e.sent(),m({title:"Until next time!\ud83d\udc4b",description:"You are successfully signed out.",type:"success"}),[3,3];case 2:return e.sent(),m({title:"Something went wrong!",description:"Please try again later.",type:"error"}),[3,3];case 3:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}();return(0,i.jsx)("div",{className:"flex items-center ml-4 md:ml-6",children:(0,i.jsxs)("div",{className:"relative ml-3",ref:d,children:[(0,i.jsx)(u.M,{onClick:function(){return x(!f)}}),(0,i.jsx)(s.u,{show:f,enter:"transition ease-out duration-100 transform",enterFrom:"opacity-0 scale-95",enterTo:"opacity-100 scale-100",leave:"transition ease-in duration-75 transform",leaveFrom:"opacity-100 scale-100",leaveTo:"opacity-0 scale-95",children:(0,i.jsx)("div",{className:"absolute right-0 w-48 mt-2 origin-top-right rounded-lg shadow-xl",children:(0,i.jsxs)("div",{className:"py-1 bg-white rounded shadow-xs",children:[(0,i.jsx)(b,{href:"/dashboard",title:"Dashboard"}),(0,i.jsx)(b,{href:"/account",title:"Account"}),(0,i.jsx)(b,{href:"/account/team",title:"Team"}),(0,i.jsx)(b,{href:"/account/billing",title:"Billing"}),(null===r||void 0===r?void 0:r.isAdmin)&&(0,i.jsx)(b,{href:"/admin",title:"Admin"}),(0,i.jsx)(b,{href:"/",title:"Sign out",onClick:v})]})})})]})})}},6091:function(e,r,t){var n=t(5893),a=t(7294),i=function(e){var r=e.children,t=e.pill,i=e.outline,o=(0,a.useMemo)((function(){return a.Children.map(r,(function(e,n){return(0,a.cloneElement)(e,{pill:t,outline:i,positionInGroup:0===n?"start":n===r.length-1?"end":"middle"})}))}),[r,i,t]);return(0,n.jsx)("div",{className:"inline-flex",role:"group",children:o})};i.displayName="Button.Group",r.Z=i},3602:function(e,r,t){t.d(r,{z:function(){return p}});var n=t(4924),a=t(6042),i=t(9396),o=t(9534),s=t(5893),l=t(4184),d=t.n(l),c=t(6091),u=t(2808),g={blue:"text-white bg-blue-700 border border-transparent hover:bg-blue-800 focus:ring-4 focus:ring-blue-300 disabled:hover:bg-blue-700 dark:bg-blue-600 dark:hover:bg-blue-700 dark:focus:ring-blue-800 dark:disabled:hover:bg-blue-600",royalblue:"text-white bg-royal-blue-700 border border-transparent hover:bg-royal-blue-800 focus:ring-4 focus:ring-royal-blue-300 disabled:hover:bg-royal-blue-700 dark:bg-royal-blue-600 dark:hover:bg-royal-blue-700 dark:focus:ring-royal-blue-800 dark:disabled:hover:bg-royal-blue-600",alternative:"text-gray-900 bg-white border border-gray-200 hover:bg-gray-100 hover:text-blue-700 disabled:hover:bg-white focus:ring-blue-700 focus:text-blue-700 dark:bg-transparent dark:text-gray-400 dark:border-gray-600 dark:hover:text-white dark:hover:bg-gray-700 focus:ring-2 dark:disabled:hover:bg-gray-800",dark:"text-white bg-gray-800 border border-transparent hover:bg-gray-900 focus:ring-4 focus:ring-gray-300 disabled:hover:bg-gray-800 dark:bg-gray-800 dark:hover:bg-gray-700 dark:focus:ring-gray-800 dark:border-gray-700 dark:disabled:hover:bg-gray-800",light:"text-gray-900 bg-white border border-gray-300 hover:bg-gray-100 focus:ring-4 focus:ring-blue-300 disabled:hover:bg-white dark:bg-gray-600 dark:text-white dark:border-gray-600 dark:hover:bg-gray-700 dark:hover:border-gray-700 dark:focus:ring-gray-700",green:"text-white bg-green-700 border border-transparent hover:bg-green-800 focus:ring-4 focus:ring-green-300 disabled:hover:bg-green-700 dark:bg-green-600 dark:hover:bg-green-700 dark:focus:ring-green-800 dark:disabled:hover:bg-green-600",lime:"bg-lime-300 border border-transparent hover:bg-lime-400 focus:ring-4 focus:ring-lime-300 disabled:hover:bg-lime-700 dark:bg-lime-600 dark:hover:bg-lime-700 dark:focus:ring-lime-800 dark:disabled:hover:bg-lime-600",red:"text-white bg-red-700 border border-transparent hover:bg-red-800 focus:ring-4 focus:ring-red-300 disabled:hover:bg-red-800 dark:bg-red-600 dark:hover:bg-red-700 dark:focus:ring-red-900 dark:disabled:hover:bg-red-600",yellow:"text-white bg-yellow-400 border border-transparent hover:bg-yellow-500 focus:ring-4 focus:ring-yellow-300 disabled:hover:bg-yellow-400 dark:focus:ring-yellow-900 dark:disabled:hover:bg-yellow-400",purple:"text-white bg-purple-700 border border-transparent hover:bg-purple-800 focus:ring-4 focus:ring-purple-300 disabled:hover:bg-purple-700 dark:bg-purple-600 dark:hover:bg-purple-700 dark:focus:ring-purple-900 dark:disabled:hover:bg-purple-600"},h={blue:"text-white bg-gradient-to-r from-blue-500 via-blue-600 to-blue-700 hover:bg-gradient-to-br focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-800 ",green:"text-white bg-gradient-to-r from-green-400 via-green-500 to-green-600 hover:bg-gradient-to-br focus:ring-4 focus:ring-green-300 dark:focus:ring-green-800",cyan:"text-white bg-gradient-to-r from-cyan-400 via-cyan-500 to-cyan-600 hover:bg-gradient-to-br focus:ring-4 focus:ring-cyan-300 dark:focus:ring-cyan-800",teal:"text-white bg-gradient-to-r from-teal-400 via-teal-500 to-teal-600 hover:bg-gradient-to-br focus:ring-4 focus:ring-teal-300 dark:focus:ring-teal-800",lime:"text-gray-900 bg-gradient-to-r from-lime-200 via-lime-400 to-lime-500 hover:bg-gradient-to-br focus:ring-4 focus:ring-lime-300 dark:focus:ring-lime-800",red:"text-white bg-gradient-to-r from-red-400 via-red-500 to-red-600 hover:bg-gradient-to-br focus:ring-4 focus:ring-red-300 dark:focus:ring-red-800",pink:"text-white bg-gradient-to-r from-pink-400 via-pink-500 to-pink-600 hover:bg-gradient-to-br focus:ring-4 focus:ring-pink-300 dark:focus:ring-pink-800",purple:"text-white bg-gradient-to-r from-purple-500 via-purple-600 to-purple-700 hover:bg-gradient-to-br focus:ring-4 focus:ring-purple-300 dark:focus:ring-purple-800"},b={purpleToBlue:"text-white bg-gradient-to-br from-purple-600 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:ring-blue-300 dark:focus:ring-blue-800",cyanToBlue:"text-white bg-gradient-to-r from-cyan-500 to-blue-500 hover:bg-gradient-to-bl focus:ring-4 focus:ring-cyan-300 dark:focus:ring-cyan-800",greenToBlue:"text-white bg-gradient-to-br from-green-400 to-blue-600 hover:bg-gradient-to-bl focus:ring-4 focus:ring-green-200 dark:focus:ring-green-800",purpleToPink:"text-white bg-gradient-to-r from-purple-500 to-pink-500 hover:bg-gradient-to-l focus:ring-4 focus:ring-purple-200 dark:focus:ring-purple-800",pinkToOrange:"text-white bg-gradient-to-br from-pink-500 to-orange-400 hover:bg-gradient-to-bl focus:ring-4 focus:ring-pink-200 dark:focus:ring-pink-800",tealToLime:"text-gray-900 bg-gradient-to-r from-teal-200 to-lime-200 hover:bg-gradient-to-l hover:from-teal-200 hover:to-lime-200 hover:!text-gray-900 focus:ring-4 focus:ring-lime-200 dark:focus:ring-teal-700",redToYellow:"text-gray-900 bg-gradient-to-r from-red-200 via-red-300 to-yellow-200 hover:bg-gradient-to-bl focus:ring-4 focus:ring-red-100 dark:focus:ring-red-400"},f={xs:"text-xs px-1 py-1",sm:"text-sm px-3 py-1.5",md:"text-sm px-4 py-2",lg:"text-base px-5 py-2.5",xl:"text-base px-6 py-3"},x={xs:"!px-0.1",sm:"!px-1.5",md:"!px-2",lg:"!p-2.5",xl:"!p-3"},m={xs:"w-2 h-2",sm:"w-4 h-4",md:"w-5 h-5",lg:"w-6 h-6",xl:"w-7 h-7"},v=function(e){var r=e.children,t=e.className,l=e.label,c=e.pill,v=e.outline,p=e.disabled,y=void 0!==p&&p,j=e.size,k=void 0===j?"md":j,w=e.icon,N=e.color,M=void 0===N?"blue":N,Z=e.gradientMonochrome,H=e.gradientDuoTone,V=e.positionInGroup,q=e.isLoading,z
1=void 0!==q&&q,I=(0,o.Z)(e,["children","className","label","pill","outline","disabled","size","icon","color","gradientMonochrome","gradientDuoTone","positionInGroup","isLoading"]);return(0,s.jsx)("button",(0,i.Z)((0,a.Z)({"data-testid":"button-element",disabled:y,className:d()("group flex h-min w-fit items-center justify-center p-0.5 text-center font-medium focus:z-10",c?"rounded-full":"rounded-lg",!Z&&!H&&g[M],!H&&Z&&h[Z],H&&b[H],{"border border-gray-900 dark:border-white":"alternative"===M&&v,"cursor-not-allowed opacity-50":y,"focus:!ring-2":!!V,"rounded-r-none":"start"===V,"!rounded-none border-l-0 pl-0":"middle"===V,"rounded-l-none border-l-0 pl-0":"end"===V},t),type:"button"},I),{children:(0,s.jsxs)("span",{className:d()("flex items-center",f[k],v&&c?"rounded-full":"rounded-md",(0,n.Z)({"bg-white text-gray-900 transition-all duration-75 ease-in group-hover:bg-opacity-0 group-hover:text-inherit dark:bg-gray-900 dark:text-white":v,"rounded-r-none":"start"===V,"!rounded-none":"middle"===V,"rounded-l-none":"end"===V},x[k],!!w)),children:[z&&(0,s.jsx)(u.Z,{className:d()(m[k],"animate-spin")}),!z&&w&&(0,s.jsx)(w,{className:m[k]}),r,l&&(0,s.jsx)("span",{className:"ml-4 inline-flex h-4 w-4 items-center justify-center rounded-full bg-blue-200 text-xs font-semibold text-blue-800",children:l})]})}))};v.displayName="Button";var p=Object.assign(v,{Group:c.Z})},8488:function(e,r,t){t.d(r,{Z:function(){return T},B:function(){return q}});var n=t(5893),a=t(7294),i=t(1664),o=t.n(i),s=t(1163),l=t(5159),d=t(7187),c=t(3602),u=t(6042),g=t(9396),h=t(9534),b=function(e){var r=e.width,t=void 0===r?200:r,a=e.height,i=void 0===a?38:a,o=(0,h.Z)(e,["width","height"]);return(0,n.jsxs)("svg",(0,g.Z)((0,u.Z)({width:t,height:i,viewBox:"0 0 400 76"},o),{children:[(0,n.jsx)("path",{className:"cls-1",fill:"#FFF",d:"M400,25.75H389.87v-10l-9.24,2.79v7.24h-4.2v8.88h4.2v14.9q0,7.38,3.91,10.25T398,61.57V53.19a41.73,41.73,0,0,1-4.44,0,4.24,4.24,0,0,1-2.73-1,3.52,3.52,0,0,1-.93-2.72V34.63H400Zm-39.78,0H351V61.57h9.24V44.45q0-5.16,3.33-7.38a10.86,10.86,0,0,1,7.56-1.72V25a13,13,0,0,0-6.63,1.72,9.68,9.68,0,0,0-4.26,5.16ZM313.51,43.66a9.91,9.91,0,0,1,2.79-7.27,10.35,10.35,0,0,1,14.22,0,9.82,9.82,0,0,1,2.83,7.27,9.83,9.83,0,0,1-2.83,7.27,10.35,10.35,0,0,1-14.22,0,9.92,9.92,0,0,1-2.79-7.27M333.35,30q-4.16-5.22-11.68-5.23a16.21,16.21,0,0,0-12.28,5.49,18.9,18.9,0,0,0-5.12,13.43,18.9,18.9,0,0,0,5.12,13.43,16.23,16.23,0,0,0,12.28,5.48q7.53,0,11.68-5.23v4.23h9.24V25.75h-9.24ZM274,29.76V15.82l-9.25,2.71v43H274V42.23q0-4.45,2.14-6.67a7.64,7.64,0,0,1,5.74-2.22,7,7,0,0,1,5.15,1.9A7.34,7.34,0,0,1,289,40.72V61.57h9.24v-22q0-6.94-3.83-10.89a13,13,0,0,0-9.71-3.94q-7.31,0-10.67,5M253.26,60a17.88,17.88,0,0,0,6.66-6.77l-8-4.59a7.94,7.94,0,0,1-3.26,3.48,9.9,9.9,0,0,1-5,1.25,9.27,9.27,0,0,1-6.88-2.76,9.54,9.54,0,0,1-2.72-7,9.64,9.64,0,0,1,2.72-7.06,9.27,9.27,0,0,1,6.88-2.76,9.5,9.5,0,0,1,4.91,1.29,8.11,8.11,0,0,1,3.26,3.51L259.78,34a16.63,16.63,0,0,0-6.52-6.74,18.56,18.56,0,0,0-9.53-2.51,18.55,18.55,0,0,0-18.91,18.92A19,19,0,0,0,253.26,60"}),(0,n.jsx)("path",{className:"cls-1",fill:"#FFF",d:"M197.35,65.72a9.33,9.33,0,0,1-5.91,1.58v8.6a17,17,0,0,0,11.48-3.13q4.62-3.47,7.41-11.15l13.06-35.87H213.5l-7.92,24.07-7.39-19.06-6.26,8.65,8.9,21a11,11,0,0,1-3.48,5.3"}),(0,n.jsx)("path",{className:"cls-1",fill:"#FFF",d:"M99.88,40.29H81.61A9.09,9.09,0,0,1,84.83,35,9.77,9.77,0,0,1,91,33.05a9.34,9.34,0,0,1,5.63,1.8,8.64,8.64,0,0,1,3.26,5.44m8.88,7.16a21.43,21.43,0,0,0,.36-3.79A18.93,18.93,0,0,0,104,30.19a17.1,17.1,0,0,0-13-5.45,18.26,18.26,0,0,0-13.61,5.41,18.55,18.55,0,0,0-5.3,13.51A18.37,18.37,0,0,0,77.45,57.2q5.39,5.37,14.26,5.37c5.7,0,10.24-1.78,13.64-5.3l-7.68-4.68a10.4,10.4,0,0,1-5.82,1.6q-8.23,0-10.1-6.74Zm33.74-3.79a9.83,9.83,0,0,1-2.83,7.27,9.65,9.65,0,0,1-7.13,2.83,9.53,9.53,0,0,1-7.09-2.83,9.92,9.92,0,0,1-2.79-7.27,9.91,9.91,0,0,1,2.79-7.27,9.53,9.53,0,0,1,7.09-2.83,9.65,9.65,0,0,1,7.13,2.83,9.82,9.82,0,0,1,2.83,7.27m0,17.91h9.24V25.75H142.5V30q-4.16-5.22-11.67-5.23a16.24,16.24,0,0,0-12.29,5.48,19,19,0,0,0-5.12,13.44,18.9,18.9,0,0,0,5.12,13.43,16.24,16.24,0,0,0,12.29,5.48q7.51,0,11.67-5.23Zm44-29.68V25.75H159.69v8.67h14.4l-15.1,21v6.15h26.89l-3.72-8.67H171.33Z"}),(0,n.jsx)("path",{className:"cls-2",fill:"#afca0b",d:"M44.24,18.33,25.92,0a25.92,25.92,0,0,0,0,36.65h0L44.24,55a25.92,25.92,0,0,0,0-36.65"}),(0,n.jsx)("path",{className:"cls-3",fill:"#88cdd3",d:"M7.59,55,25.92,36.65,44.24,55A25.92,25.92,0,0,1,7.59,55"}),(0,n.jsx)("path",{className:"cls-4",fill:"#009ba4",d:"M7.59,18.33,25.92,36.65,7.59,55a25.92,25.92,0,0,1,0-36.65"})]}))},f=function(e){var r=e.width,t=void 0===r?200:r,a=e.height,i=void 0===a?38:a,o=(0,h.Z)(e,["width","height"]);return(0,n.jsxs)("svg",(0,g.Z)((0,u.Z)({width:t,height:i,viewBox:"0 0 400 76"},o),{children:[(0,n.jsx)("path",{className:"cls-1",fill:"#00354e",d:"M400,25.75H389.87v-10l-9.24,2.79v7.24h-4.2v8.88h4.2v14.9q0,7.38,3.91,10.25T398,61.57V53.19a41.73,41.73,0,0,1-4.44,0,4.24,4.24,0,0,1-2.73-1,3.52,3.52,0,0,1-.93-2.72V34.63H400Zm-39.78,0H351V61.57h9.24V44.45q0-5.16,3.33-7.38a10.86,10.86,0,0,1,7.56-1.72V25a13,13,0,0,0-6.63,1.72,9.68,9.68,0,0,0-4.26,5.16ZM313.51,43.66a9.91,9.91,0,0,1,2.79-7.27,10.35,10.35,0,0,1,14.22,0,9.82,9.82,0,0,1,2.83,7.27,9.83,9.83,0,0,1-2.83,7.27,10.35,10.35,0,0,1-14.22,0,9.92,9.92,0,0,1-2.79-7.27M333.35,30q-4.16-5.22-11.68-5.23a16.21,16.21,0,0,0-12.28,5.49,18.9,18.9,0,0,0-5.12,13.43,18.9,18.9,0,0,0,5.12,13.43,16.23,16.23,0,0,0,12.28,5.48q7.53,0,11.68-5.23v4.23h9.24V25.75h-9.24ZM274,29.76V15.82l-9.25,2.71v43H274V42.23q0-4.45,2.14-6.67a7.64,7.64,0,0,1,5.74-2.22,7,7,0,0,1,5.15,1.9A7.34,7.34,0,0,1,289,40.72V61.57h9.24v-22q0-6.94-3.83-10.89a13,13,0,0,0-9.71-3.94q-7.31,0-10.67,5M253.26,60a17.88,17.88,0,0,0,6.66-6.77l-8-4.59a7.94,7.94,0,0,1-3.26,3.48,9.9,9.9,0,0,1-5,1.25,9.27,9.27,0,0,1-6.88-2.76,9.54,9.54,0,0,1-2.72-7,9.64,9.64,0,0,1,2.72-7.06,9.27,9.27,0,0,1,6.88-2.76,9.5,9.5,0,0,1,4.91,1.29,8.11,8.11,0,0,1,3.26,3.51L259.78,34a16.63,16.63,0,0,0-6.52-6.74,18.56,18.56,0,0,0-9.53-2.51,18.55,18.55,0,0,0-18.91,18.92A19,19,0,0,0,253.26,60"}),(0,n.jsx)("path",{className:"cls-1",fill:"#00354e",d:"M197.35,65.72a9.33,9.33,0,0,1-5.91,1.58v8.6a17,17,0,0,0,11.48-3.13q4.62-3.47,7.41-11.15l13.06-35.87H213.5l-7.92,24.07-7.39-19.06-6.26,8.65,8.9,21a11,11,0,0,1-3.48,5.3"}),(0,n.jsx)("path",{className:"cls-1",fill:"#00354e",d:"M99.88,40.29H81.61A9.09,9.09,0,0,1,84.83,35,9.77,9.77,0,0,1,91,33.05a9.34,9.34,0,0,1,5.63,1.8,8.64,8.64,0,0,1,3.26,5.44m8.88,7.16a21.43,21.43,0,0,0,.36-3.79A18.93,18.93,0,0,0,104,30.19a17.1,17.1,0,0,0-13-5.45,18.26,18.26,0,0,0-13.61,5.41,18.55,18.55,0,0,0-5.3,13.51A18.37,18.37,0,0,0,77.45,57.2q5.39,5.37,14.26,5.37c5.7,0,10.24-1.78,13.64-5.3l-7.68-4.68a10.4,10.4,0,0,1-5.82,1.6q-8.23,0-10.1-6.74Zm33.74-3.79a9.83,9.83,0,0,1-2.83,7.27,9.65,9.65,0,0,1-7.13,2.83,9.53,9.53,0,0,1-7.09-2.83,9.92,9.92,0,0,1-2.79-7.27,9.91,9.91,0,0,1,2.79-7.27,9.53,9.53,0,0,1,7.09-2.83,9.65,9.65,0,0,1,7.13,2.83,9.82,9.82,0,0,1,2.83,7.27m0,17.91h9.24V25.75H142.5V30q-4.16-5.22-11.67-5.23a16.24,16.24,0,0,0-12.29,5.48,19,19,0,0,0-5.12,13.44,18.9,18.9,0,0,0,5.12,13.43,16.24,16.24,0,0,0,12.29,5.48q7.51,0,11.67-5.23Zm44-29.68V25.75H159.69v8.67h14.4l-15.1,21v6.15h26.89l-3.72-8.67H171.33Z"}),(0,n.jsx)("path",{className:"cls-2",fill:"#afca0b",d:"M44.24,18.33,25.92,0a25.92,25.92,0,0,0,0,36.65h0L44.24,55a25.92,25.92,0,0,0,0-36.65"}),(0,n.jsx)("path",{className:"cls-3",fill:"#88cdd3",d:"M7.59,55,25.92,36.65,44.24,55A25.92,25.92,0,0,1,7.59,55"}),(0,n.jsx)("path",{className:"cls-4",fill:"#009ba4",d:"M7.59,18.33,25.92,36.65,7.59,55a25.92,25.92,0,0,1,0-36.65"})]}))},x=function(e){var r=e.isInverted,t=void 0!==r&&r;return(0,n.jsx)(o(),{href:"/",children:(0,n.jsx)("a",{children:t?(0,n.jsx)(b,{}):(0,n.jsx)(f,{})})})},m=t(4129),v=function(e){var r=e.isOpen,t=(0,h.Z)(e,["isOpen"]);return(0,n.jsx)("svg",(0,g.Z)((0,u.Z)({stroke:"currentColor",fill:"none",viewBox:"0 0 24 24"}
1,t),{children:(0,n.jsx)("path",{className:"inline-flex",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"2",d:r?"M6 18L18 6M6 6l12 12":"M4 6h16M4 12h16M4 18h16"})}))},p=t(5331),y=t(7568),j=t(655),k=t(5668),w=t(4389),N=t(4894),M=function(e){var r=e.href,t=e.title,a=e.setIsMobileNavbarOpen,i=(0,s.useRouter)().pathname===r;return(0,n.jsx)(o(),{href:r,children:(0,n.jsx)("a",{onClick:function(){i&&a(!1)},className:"block px-3 py-2 rounded text-base font-medium focus:outline-none focus:text-white focus:bg-gray-100 ".concat(i?"text-gray-900 bg-gray-200":"text-gray-600 hover:text-gray-900 hover:bg-gray-100"),children:t})})},Z=function(e){var r=e.isOpen,t=void 0!==r&&r,a=e.setIsMobileNavbarOpen,i=(0,w.S)().isFeatureEnabled,o=(0,p.a)(),s=o.isAuthenticated,l=o.user,d=o.signOut,c=(0,k.p)().addToast,u=function(){var e=(0,y.Z)((function(){return(0,j.__generator)(this,(function(e){switch(e.label){case 0:return e.trys.push([0,2,,3]),[4,d()];case 1:return e.sent(),c({title:"Until next time!\ud83d\udc4b",description:"You are successfully signed out.",type:"success"}),[3,3];case 2:return e.sent(),c({title:"Unable to sign you out!",description:"Please try again later ...",type:"error"}),[3,3];case 3:return[2]}}
1))}));return function(){return e.apply(this,arguments)}}();return t?(0,n.jsxs)("div",{className:"block border-b border-gray-200 md:hidden",children:[(0,n.jsx)("div",{className:"px-2 py-3 sm:px-3",children:(0,n.jsx)(M,{href:"/",title:"Home",setIsMobileNavbarOpen:a})}),(0,n.jsx)("div",{className:"pt-4 pb-3 border-t border-gray-200",children:i("auth")?s?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)("div",{className:"flex items-center px-5",children:[(0,n.jsx)(N.M,{size:"lg"}),(0,n.jsxs)("div",{className:"ml-3",children:[(0,n.jsx)("div",{className:"text-base font-medium leading-none text-white",children:l.name}),(0,n.jsx)("div",{className:"mt-1 text-sm font-medium leading-none text-gray-600",children:l.email})]})]}),(0,n.jsx)("div",{className:"px-2 mt-3",children:(0,n.jsx)("a",{href:"/#",className:"block px-3 py-2 mt-1 text-base font-medium text-gray-600 rounded hover:text-gray-900 hover:bg-gray-100 focus:outline-none focus:text-white focus:bg-gray-100",onClick:u,children:"Sign out"})})]}):(0,n.jsxs)("div",{className:"px-2 mt-3",children:[(0,n.jsx)(M,{href:"/login",title:"Log In",setIsMobileNavbarOpen:a}),(0,n.jsx)(M,{href:"/signup",title:"Sign up",setIsMobileNavbarOpen:a})]}):(0,n.jsx)("div",{className:"px-2 mt-3",children:q.map((function(e){var r=e.title,t=e.href;return(0,n.jsx)(M,{href:t,title:r,setIsMobileNavbarOpen:a},r)}))})})]}):null},H=t(2719),V=function(e){var r=e.href,t=e.title,a=e.isInverted,i=void 0!==a&&a,l=(0,s.useRouter)().pathname===r,d=i?{active:"text-white bg-royal-blue-800 focus:text-white",inactive:"text-gray-100 hover:text-white hover:bg-royal-blue-800 focus:outline-none"}:{active:"text-gray-900 bg-gray-200 focus:text-gray-600",inactive:"text-gray-600 hover:text-gray-900 hover:bg-gray-100 focus:outline-none"};return(0,n.jsx)(o(),{href:r,children:(0,n.jsx)("a",{className:"mr-4 px-3 py-2 rounded text-sm font-medium focus:outline-none ".concat(l?d.active:d.inactive),children:t})})},q=[{title:"Get Started",href:"https://docs.eazychart.com"},{title:"Docs",href:"https://docs.eazychart.com/#docs"},{title:"Demos",href:"https://docs.eazychart.com/#demos"},{title:"Blog",href:"/blog"}],z=[{title:"Dashboard",href:"/dashboard"},{title:"Account",href:"/account"}],I=[{title:"Features",href:"/#features"},{title:"Pricing",href:"/#pricing"},{title:"Team",href:"/#team"},{title:"Blog",href:"/blog"}],A=function(){return(0,n.jsxs)("div",{children:[(0,n.jsx)(o(),{href:"/login",children:(0,n.jsx)(c.z,{color:"lime",outline:!1,size:"md",className:"inline-flex mx-1",children:"Login"})}),(0,n.jsx)(o(),{href:"/signup",children:(0,n.jsx)(c.z,{gradientMonochrome:"blue",outline:!1,size:"md",className:"inline-flex mx-1",children:"Sign Up"})})]})},F=function(e){var r=e.isInverted,t=(0,w.S)().isFeatureEnabled,a=(0,p.a)().isAuthenticated,i="/"===(0,s.useRouter)().pathname,o=t("auth")?a&&!i?z:I:q;return(0,n.jsx)("div",{className:"flex items-baseline ml-10",children:o.map((function(e){var t=e.title,a=e.href;return(0,n.jsx)(V,{href:a,title:t,isInverted:r},t)}))})},C=function(){var e=(0,s.useRouter)().pathname.startsWith("/app");return(0,n.jsxs)("div",{className:"flex-row items-center hidden md:flex",children:[!e&&(0,n.jsx)("div",{children:(0,n.jsx)(o(),{href:"/app",children:(0,n.jsx)(c.z,{className:"mx-4",color:"lime",icon:l.Z,children:"Create chart"})})}),(0,n.jsx)("div",{children:(0,n.jsx)(d.Z,{})}),(0,n.jsx)(m.d,{})]})},T=function(e){var r=e.isFluid,t=void 0!==r&&r,i=e.isInverted,o=void 0!==i&&i,s=(0,w.S)().isFeatureEnabled,l=(0,p.a)().isAuthenticated,d=(0,a.useState)(!1),c=d[0],u=d[1];return(0,n.jsxs)("nav",{className:"".concat(o?"bg-royal-blue-900 text-gray-700 body-font":"bg-white"," shadow-md z-10"),children:[(0,n.jsx)("div",{className:"sm:px-6 lg:px-8 ".concat(!t&&"mx-auto max-w-7xl"),children:(0,n.jsx)("div",{className:"",children:(0,n.jsxs)("div",{className:"flex items-center justify-between h-16 px-4 sm:px-0",children:[(0,n.jsxs)("div",{className:"flex items-center",children:[(0,n.jsx)(x,{isInverted:o}),(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(F,{isInverted:o})})]}),s("auth")?l?(0,n.jsx)(C,{}):(0,n.jsx)(A,{}):(0,n.jsx)("div",{className:"hidden md:block",children:(0,n.jsx)(H.Z,{href:"https://github.com/Hexastack/eazychart","data-color-scheme":"no-preference: light; light: light;
1 dark: dark;","data-size":"large","data-show-count":"true","data-icon":"octicon-star","aria-label":"Star Hexastack/eazychart on GitHub",children:"Github"})}),(0,n.jsx)("div",{className:"flex -mr-2 md:hidden",children:(0,n.jsx)("button",{onClick:function(){return u(!c)},className:"inline-flex items-center justify-center p-2 text-gray-600 rounded hover:text-gray-900 hover:bg-gray-100 focus:outline-none focus:bg-gray-200 focus:text-gray-600",children:(0,n.jsx)(v,{className:"w-6 h-6",isOpen:c})})})]})})}),(0,n.jsx)(Z,{isOpen:c,setIsMobileNavbarOpen:u})]})}},6514:function(e,r,t){t.d(r,{t:function(){return a}});var n=t(7294),a=function(e,r){(0,n.useEffect)((function(){var t=function(t){e.current&&!e.current.contains(t.target)&&r(t)};return document.addEventListener("mousedown",t),document.addEventListener("touchstart",t),function(){document.removeEventListener("mousedown",t),document.removeEventListener("touchstart",t)}}),[e,r])}},2139:function(e,r,t){t.d(r,{W:function(){return o}});var n=t(7568),a=t(655),i=t(3547),o=function(){var e=(0,n.Z)((function(e){var r;return(0,a.__generator)(this,(function(t){switch(t.label){case 0:return e.isTeamOwner?(r=e,[3,3]):[3,1];case 1:return[4,(n=e.teamId,i.db.collection("users").doc(n).get().then((function(e){return e.data()})))];case 2:r=t.sent(),t.label=3;case 3:return r.isPro?[2,"Pro"]:r.isHobby?[2,"Hobby"]:[2,"Free"]}var n}))}));return function(r){return e.apply(this,arguments)}}()}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.