"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[180],{4180:function(e,t,o){o.r(t),o.d(t,{DonateModal:function(){return y}});var n=o(5944),r=o(5044),l=o(9236),a=o(5117),i=o(4777),c=o(9876),d=o(7841),s=o(1759),u=o(434),m=o(4304),f=o(7294),h=o(7116),g=o(2911),p=o(8807),k=o(8725),Z=o(8588),w=o(8465),_=o(4437);let b=p.m.modalShown;function y(){let e=(0,_.VW)(p.m.successfulResolves),[t,{close:o}]=(0,s.q)((0,w.d)({time:{month:1},key:b})&&e>=3);(0,f.useEffect)(()=>{t&&(0,m.B)("show_donate_modal",{category:"donate_modal",label:"show"})},[t]);let y=()=>{(0,w.e)(b),o()};return(0,n.BX)(g.Z,{open:t,onClose:y,topIcon:(0,n.tZ)(r.k,{radius:"xl",size:"3rem",variant:"gradient",gradient:{from:"red",to:"purple"},children:(0,n.tZ)(u.Z,{size:"1.5rem"})}),children:[(0,n.tZ)(l.D,{order:3,mb:"sm",children:"Consider helping the project !"}),(0,n.tZ)(a.x,{fz:"sm",children:"We are a small team of developers working on this project in our free time. To keep the lights on we would kindly ask you to consider donating to the project."}),(0,n.tZ)(h.y,{total:Z.M.goal,ads:Z.M.ads,patreon:Z.M.patreon,showInfo:!1}),(0,n.tZ)(i.i,{variant:"solid",my:"md"}),(0,n.BX)(c.k,{mt:"xl",justify:"space-between",align:"center",direction:"row",children:[(0,n.tZ)(d.z,{variant:"outline",color:"red",component:"a",target:"_blank",id:"donate_modal_donate_button",href:k.Z.donate_link,leftIcon:(0,n.tZ)(u.Z,{size:"1rem",stroke:1.5}),children:"Donate"}),(0,n.tZ)(d.z,{onClick:y,variant:"outline",color:"gray",children:"Close"})]})]})}},2911:function(e,t,o){var n=o(5944),r=o(2642),l=o(9876);o(7294),t.Z=function(e){let{topIcon:t,onClose:o,open:a,children:i}=e;return(0,n.BX)(r.u,{overlayProps:{opacity:.55,blur:3},opened:a,onClose:o,size:"md",withCloseButton:!1,centered:!0,children:[(0,n.tZ)(l.k,{gap:"md",mb:"md",justify:"center",align:"center",direction:"column",wrap:"wrap",children:t}),i]})}},4437:function(e,t,o){function n(e){let t=Number(localStorage.getItem(e)||0);localStorage.setItem(e,String(t+1))}o.d(t,{CE:function(){return n},VW:function(){return r},oF:function(){return a},zA:function(){return l}});let r=e=>Number(localStorage.getItem(e)||0),l=(e,t)=>{t?localStorage.setItem(e,"true"):localStorage.removeItem(e)},a=e=>!!localStorage.getItem(e)}}]);