"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[320],{6772:function(e,r,t){t.d(r,{V:function(){return M}});var o=t(7294),n=t(4761),a=t(3594),i=t(6768),l=t(6817),c=t(4258),s=Object.defineProperty,u=Object.defineProperties,d=Object.getOwnPropertyDescriptors,f=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,m=Object.prototype.propertyIsEnumerable,h=(e,r,t)=>r in e?s(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,b=(e,r)=>{for(var t in r||(r={}))p.call(r,t)&&h(e,t,r[t]);if(f)for(var t of f(r))m.call(r,t)&&h(e,t,r[t]);return e},y=(e,r)=>u(e,d(r));let g={xs:(0,i.h)(160),sm:(0,i.h)(200),md:(0,i.h)(340),lg:(0,i.h)(400),xl:(0,i.h)(500)};var w=(0,l.k)((e,r,{size:t})=>({root:y(b({},e.fn.fontStyles()),{color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,position:"relative",width:(0,c.a)({size:t,sizes:g}),maxWidth:`calc(100vw - ${e.spacing.xl} * 2)`,minHeight:(0,i.h)(50)}),closeButton:{position:"absolute",top:`calc(${e.spacing.md} / 2)`,right:`calc(${e.spacing.md} / 2)`}})),v=t(7818),O=t(8269),x=t(4523),k=Object.defineProperty,P=Object.defineProperties,S=Object.getOwnPropertyDescriptors,j=Object.getOwnPropertySymbols,E=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,I=(e,r,t)=>r in e?k(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,B=(e,r)=>{for(var t in r||(r={}))E.call(r,t)&&I(e,t,r[t]);if(j)for(var t of j(r))N.call(r,t)&&I(e,t,r[t]);return e},D=(e,r)=>P(e,S(r)),_=(e,r)=>{var t={};for(var o in e)E.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&j)for(var o of j(e))0>r.indexOf(o)&&N.call(e,o)&&(t[o]=e[o]);return t};let z={position:{bottom:0,right:0},zIndex:(0,a.w)("modal"),withinPortal:!0},C=(0,o.forwardRef)((e,r)=>{let t=(0,n.N4)("Affix",z,e),{target:a,position:i,zIndex:l,sx:c,withinPortal:s,portalProps:u}=t,d=_(t,["target","position","zIndex","sx","withinPortal","portalProps"]);return o.createElement(O.q,D(B({},u),{withinPortal:s,target:a}),o.createElement(x.x,B({sx:[B({position:"fixed",zIndex:l},i),...(0,v.R)(c)],ref:r},d)))});C.displayName="@mantine/core/Affix";var Z=t(8036),R=t(2623),W=t(971),X=Object.defineProperty,$=Object.getOwnPropertySymbols,q=Object.prototype.hasOwnProperty,F=Object.prototype.propertyIsEnumerable,V=(e,r,t)=>r in e?X(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,A=(e,r)=>{for(var t in r||(r={}))q.call(r,t)&&V(e,t,r[t]);if($)for(var t of $(r))F.call(r,t)&&V(e,t,r[t]);return e},H=(e,r)=>{var t={};for(var o in e)q.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&$)for(var o of $(e))0>r.indexOf(o)&&F.call(e,o)&&(t[o]=e[o]);return t};let T={shadow:"md",p:"md",withBorder:!1,size:"md",transition:"pop-top-right",transitionDuration:200};function G(e){let r=(0,n.N4)("Dialog",T,e),{withCloseButton:t,onClose:a,position:i,shadow:l,children:c,className:s,style:u,classNames:d,styles:f,opened:p,withBorder:m,size:h,transition:b,transitionDuration:y,transitionTimingFunction:g,unstyled:v,variant:O,keepMounted:x}=r,k=H(r,["withCloseButton","onClose","position","shadow","children","className","style","classNames","styles","opened","withBorder","size","transition","transitionDuration","transitionTimingFunction","unstyled","variant","keepMounted"]),{classes:P,cx:S}=w(null,{classNames:d,styles:f,unstyled:v,name:"Dialog",variant:O,size:h});return o.createElement(Z.u,{keepMounted:x,mounted:p,transition:b,duration:y,timingFunction:g},e=>o.createElement(R.X,A({className:S(P.root,s),style:A(A({},u),e),shadow:l,withBorder:m,unstyled:v},k),t&&o.createElement(W.P,{onClick:a,className:P.closeButton}),c))}let M=(0,o.forwardRef)((e,r)=>{var{zIndex:t=(0,a.w)("modal")}=e,i=H(e,["zIndex"]);let l=(0,n.rZ)();return o.createElement(C,{zIndex:t,position:i.position||{bottom:l.spacing.xl,right:l.spacing.xl},ref:r},o.createElement(G,A({},i)))});M.displayName="@mantine/core/Dialog"},2623:function(e,r,t){t.d(r,{X:function(){return w}});var o=t(7294),n=t(4761),a=t(8427),i=t(6817),l=t(6768),c=(0,i.k)((e,{radius:r,shadow:t})=>({root:{outline:0,WebkitTapHighlightColor:"transparent",display:"block",textDecoration:"none",color:"dark"===e.colorScheme?e.colors.dark[0]:e.black,backgroundColor:"dark"===e.colorScheme?e.colors.dark[7]:e.white,boxSizing:"border-box",borderRadius:e.fn.radius(r),boxShadow:e.shadows[t]||t||"none","&[data-with-border]":{border:`${(0,l.h)(1)} solid ${"dark"===e.colorScheme?e.colors.dark[4]:e.colors.gray[3]}`}}})),s=t(4523),u=Object.defineProperty,d=Object.getOwnPropertySymbols,f=Object.prototype.hasOwnProperty,p=Object.prototype.propertyIsEnumerable,m=(e,r,t)=>r in e?u(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t,h=(e,r)=>{for(var t in r||(r={}))f.call(r,t)&&m(e,t,r[t]);if(d)for(var t of d(r))p.call(r,t)&&m(e,t,r[t]);return e},b=(e,r)=>{var t={};for(var o in e)f.call(e,o)&&0>r.indexOf(o)&&(t[o]=e[o]);if(null!=e&&d)for(var o of d(e))0>r.indexOf(o)&&p.call(e,o)&&(t[o]=e[o]);return t};let y={},g=(0,o.forwardRef)((e,r)=>{let t=(0,n.N4)("Paper",y,e),{className:a,children:i,radius:l,withBorder:u,shadow:d,unstyled:f,variant:p}=t,m=b(t,["className","children","radius","withBorder","shadow","unstyled","variant"]),{classes:g,cx:w}=c({radius:l,shadow:d},{name:"Paper",unstyled:f,variant:p});return o.createElement(s.x,h({className:w(g.root,a),"data-with-border":u||void 0,ref:r},m),i)});g.displayName="@mantine/core/Paper";let w=(0,a.F)(g)},8320:function(e,r,t){t.r(r),t.d(r,{SurveyDialog:function(){return b}});var o=t(5944),n=t(6772),a=t(5117),i=t(6137),l=t(7841),c=t(1759),s=t(4304),u=t(7294),d=t(4306),f=t(8807),p=t(8725),m=t(8465),h=t(4437);function b(){let e=(0,h.VW)(f.m.successfulResolves),[r,{close:t}]=(0,c.q)((0,m.d)({time:{month:3},key:f.m.showSurvey})&&e>=5);return(0,u.useEffect)(()=>{r&&(0,s.B)("show_survey_dialog",{category:"survey_dialog",label:"show"})},[r]),(0,o.BX)(n.V,{shadow:"xl",withBorder:!0,opened:r,withCloseButton:!0,onClose:()=>{(0,m.e)(f.m.showSurvey),t()},size:"xl",radius:"md",children:[(0,o.tZ)(a.x,{weight:700,children:"Help us with a short Survey"}),(0,o.BX)(a.x,{size:"sm",mb:"lg",weight:500,children:["We are trying to improve our service and you can tell us what you think, if you have any ideas, suggestion or feature requests.",(0,o.tZ)("br",{}),"If this is too troublesome you can also join our Discord and tell us there."]}),(0,o.BX)(i.Z,{position:"right",children:[(0,o.tZ)(d.qD,{}),(0,o.tZ)(l.z,{id:"click_survey_button",component:"a",href:p.Z.survey_link,target:"_blank",color:"lime",children:"Go to Survey!"})]})]})}},4437:function(e,r,t){function o(e){let r=Number(localStorage.getItem(e)||0);localStorage.setItem(e,String(r+1))}t.d(r,{CE:function(){return o},VW:function(){return n},oF:function(){return i},zA:function(){return a}});let n=e=>Number(localStorage.getItem(e)||0),a=(e,r)=>{r?localStorage.setItem(e,"true"):localStorage.removeItem(e)},i=e=>!!localStorage.getItem(e)}}]);