1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4103],{84103:function(e,a,n){n.r(a),n.d(a,{default:function(){return F}});var t=n(85893),r=n(45161),u=n(20307),i=n(35541),o=n(19778),l=n(14581),s=n(64859),d=n(66205),c=n(54346),p=n(71293),x=n(55281),h=(0,n(16554).G)((e,a)=>(0,t.jsx)(x.K,{align:"center",...e,direction:"row",ref:a}));h.displayName="HStack";var b=n(57169),g=n(14253),C=n(93108),f=n(58972),v=n(57747),D=n(4624),k=n(67294),m=n(13836),y=n(6306),w=n(55495),F=()=>{let e=(0,D.Z)(e=>e.showFeedbackModal),a=(0,D.Z)(e=>e.setShowFeedbackModal),n=()=>{a(!1)},[x,f]=(0,k.useState)(!1),v=async()=>{let e=m.Z.getState().userData,a={userId:e?e.userId:"anonymous",userEmail:e.email?e.email:"anonymous",type:P,description:R};f(!0),(await (0,y.qD)(a)).data.success?(0,w.C)("Feedback submitted \uD83D\uDC4Dï¸","We really appreciate your valuable input \uD83D\uDE4F!","success"):(0,w.C)("Faild to submit feedback","Something went wrong. Please try again or send via [email protected]","error"),n()},F=(0,r.ff)("#FFF","#262A2D"),B=(0,r.ff)("gray.500","#A1A2A4"),[P,E]=(0,k.useState)("\uD83D\uDCA1 Idea"),{getRootProps:M,getRadioProps:A}=(0,u.a)({name:"framework",defaultValue:"\uD83D\uDCA1 Idea",onChange:e=>E(e)}),I=M(),[R,z]=(0,k.useState)("");return(0,t.jsx)(t.Fragment,{children:(0,t.jsxs)(i.u_,{isOpen:e,onClose:n,size:"544px",children:[(0,t.jsx)(o.Z,{style:{backdropFilter:"blur(1px)"}}),(0,t.jsxs)(l.h,{rounded:"14px",bg:F,w:"432px",children:[(0,t.jsx)(s.x,{fontSize:"20px",fontWeight:"700",pt:"2rem",pb:"4px",px:"20px",children:"Send feedback"}),(0,t.jsx)(d.o,{size:"sm",mt:"4px",transition:"0s",rounded:"6px",color:B}),(0,t.jsxs)(c.f,{px:"20px",children:[(0,t.jsx)(p.x,{fontSize:"14px",color:"secondaryText",children:"Please share your feedback with us. We appreciated and value your input."}),(0,t.jsx)(h,{...I,mt:"16px",gap:"12px",children:["\uD83D\uDCA1 Idea","\uD83D\uDEA7 Issue/Bug","\uD83E\uDDE9 Other"].map(e=>{let a=A({value:e});return(0,t.jsx)(j,{...a,children:e},e)})}),(0,t.jsx)(b.g,{value:R,onChange:e=>{z(e.target.value)},placeholder:{"\uD83D\uDCA1 Idea":"Describe your idea and usecase","\uD83D\uDEA7 Issue/Bug":"Describe the issue/bug in detail","\uD83E\uDDE9 Other":"Other thoughts here"}[P],size:"sm",rounded:"8px",resize:"none",mt:"8px"})]}),(0,t.jsxs)(g.m,{p:"4px 20px 16px",children:[(0,t.jsx)(C.z,{onClick:n,transition:"0s",rounded:"8px",mr:"8px",children:"Cancel"}),(0,t.jsxs)(C.z,{onClick:()=>v(),isLoading:x,rounded:"8px",bg:"linear-gradient(145deg, #5DABFE 0%, #3391FF 100%)",boxShadow:"0 2px 3px -3px #287AD5, rgba(70, 94, 193, 0.25) -1px -1px 1px 0px inset",_hover:{bg:"",filter:"brightness(1.05)"},_active:{bg:"",filter:"brightness(0.98)"},transition:"0.1s",color:"#FFF",children:[(0,t.jsx)(S,{}),"Send"]})]})]})]})})};let S=()=>(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"#FFF",style:{width:"16px",height:"16px",marginRight:"8px"},children:(0,t.jsx)("path",{d:"M22.126 12.6649C22.3332 12.2459 22.3332 11.7543 22.126 11.3353C21.9436 10.9663 21.6235 10.7729 21.4576 10.6795C21.2791 10.5791 21.0503 10.4761 20.8221 10.3735L4.03833 2.82085C3.8049 2.71576 3.57218 2.61099 3.37587 2.54299C3.19564 2.48056 2.83277 2.36649 2.431 2.47828C1.97699 2.60461 1.60873 2.93697 1.43666 3.3757C1.2844 3.76393 1.36078 4.13656 1.40447 4.32223C1.45205 4.52448 1.5325 4.76673 1.61319 5.0097L3.23767 9.90402C3.36847 10.2981 3.43387 10.4951 3.55548 10.6408C3.66287 10.7695 3.80088 10.8691 3.95681 10.9305C4.13339 11 4.341 11 4.75621 11H11.9999C12.5522 11 12.9999 11.4477 12.9999 12C12.9999 12.5523 12.5522 13 11.9999 13H4.77512C4.36096 13 4.15387 13 3.97761 13.0692C3.82195 13.1304 3.68412 13.2296 3.57672 13.3578C3.4551 13.503 3.38936 13.6993 3.25788 14.0921L1.62033 18.9836C1.53876 19.2272 1.45752 19.4697 1.40932 19.6722C1.36513 19.8578 1.28747 20.2311 1.43932 20.6203C1.6108 21.0599 1.97909 21.3931 2.43353 21.52C2.83596 21.6323 3.19965 21.5178 3.37994 21.4553C3.57664 21.3872 3.80993 21.2822 4.04413 21.1767L20.8221 13.6267C21.0502 13.524 21.2791 13.4211 21.4577 13.3206C21.6235 13.2273 21.9436 13.0338 22.126 12.6649Z",fill:"currentColor"})});function j(e){let{getInputProps:a,getRadioProps:n}=(0,f.x)(e),r=a(),u=n();return(0,t.jsxs)(v.xu,{as:"label",children:[(0,t.jsx)("input",{...r}),(0,t.jsx)(v.xu,{...u,cursor:"pointer",borderWidth:"1px",borderRadius:"8px",_checked:{bg:"linear-gradient(145deg, #5DABFE 0%, #3391FF 100%)",color:"white",borderColor:"blue.400"},_focus:{boxShadow:"outline"},p:"6px 16px",fontWeight:600,fontSize:"14px",children:e.children})]})}},58972:function(e,a,n){n.d(a,{x:function(){return s}});var t=n(42669),r=n(85970),u=n(25432),i=n(12934),o=n(67294),l={border:"0",clip:"rect(0, 0, 0, 0)",height:"1px",width:"1px",margin:"-1px",padding:"0",overflow:"hidden",
1whiteSpace:"nowrap",position:"absolute"};function s(e={}){let{defaultChecked:a,isChecked:n,isFocusable:s,isDisabled:c,isReadOnly:p,isRequired:x,onChange:h,isInvalid:b,name:g,value:C,id:f,"data-radiogroup":v,"aria-describedby":D,...k}=e,m=`radio-${(0,o.useId)()}`,y=(0,r.NJ)(),w=(0,t.X)(),F=y&&!(w||v)?y.id:m;F=null!=f?f:F;let S=null!=c?c:null==y?void 0:y.isDisabled,j=null!=p?p:null==y?void 0:y.isReadOnly,B=null!=x?x:null==y?void 0:y.isRequired,P=null!=b?b:null==y?void 0:y.isInvalid,[E,M]=(0,o.useState)(!1),[A,I]=(0,o.useState)(!1),[R,z]=(0,o.useState)(!1),[_,q]=(0,o.useState)(!1),[L,K]=(0,o.useState)(!!a),O=void 0!==n,N=O?n:L;(0,o.useEffect)(()=>(0,i.BT)(M),[]);let W=(0,o.useCallback)(e=>{if(j||S){e.preventDefault();return}O||K(e.target.checked),null==h||h(e)},[O,S,j,h]),Z=(0,o.useCallback)(e=>{" "===e.key&&q(!0)},[q]),G=(0,o.useCallback)(e=>{" "===e.key&&q(!1)},[q]),U=(0,o.useCallback)((e={},a=null)=>({...e,ref:a,"data-active":(0,u.PB)(_),"data-hover":(0,u.PB)(R),"data-disabled":(0,u.PB)(S),"data-invalid":(0,u.PB)(P),"data-checked":(0,u.PB)(N),"data-focus":(0,u.PB)(A),"data-focus-visible":(0,u.PB)(A&&E),"data-readonly":(0,u.PB)(j),"aria-hidden":!0,onMouseDown:(0,u.v0)(e.onMouseDown,()=>q(!0)),onMouseUp:(0,u.v0)(e.onMouseUp,()=>q(!1)),onMouseEnter:(0,u.v0)(e.onMouseEnter,()=>z(!0)),onMouseLeave:(0,u.v0)(e.onMouseLeave,()=>z(!1))}),[_,R,S,P,N,A,j,E]),{onFocus:H,onBlur:Q}=null!=y?y:{},T=(0,o.useCallback)((e={},a=null)=>{let n=S&&!s;return{...e,id:F,ref:a,type:"radio",name:g,value:C,onChange:(0,u.v0)(e.onChange,W),onBlur:(0,u.v0)(Q,e.onBlur,()=>I(!1)),onFocus:(0,u.v0)(H,e.onFocus,()=>I(!0)),onKeyDown:(0,u.v0)(e.onKeyDown,Z),onKeyUp:(0,u.v0)(e.onKeyUp,G),checked:N,disabled:n,readOnly:j,required:B,"aria-invalid":(0,u.Qm)(P),"aria-disabled":(0,u.Qm)(n),"aria-required":(0,u.Qm)(B),"data-readonly":(0,u.PB)(j),"aria-describedby":D,style:l}},[S,s,F,g,C,W,Q,H,Z,G,N,j,B,P,D]);return{state:{isInvalid:P,isFocused:A,isChecked:N,isActive:_,isHovered:R,isDisabled:S,isReadOnly:j,isRequired:B},getCheckboxProps:U,getRadioProps:U,getInputProps:T,getLabelProps:(e={},a=null)=>({...e,ref:a,onMouseDown:(0,u.v0)(e.onMouseDown,d),"data-disabled":(0,u.PB)(S),"data-checked":(0,u.PB)(N),"data-invalid":(0,u.PB)(P)}),getRootProps:(e,a=null)=>({...e,ref:a,"data-disabled":(0,u.PB)(S),"data-checked":(0,u.PB)(N),"data-invalid":(0,u.PB)(P)}),htmlProps:k}}function d(e){e.preventDefault(),e.stopPropagation()}},42669:function(e,a,n){n.d(a,{E:function(){return p},X:function(){return c}});var t=n(20307),r=n(16554),u=n(69417),i=n(25432),o=n(55227),l=n(67294),s=n(85893),[d,c]=(0,o.k)({name:"RadioGroupContext",strict:!1}),p=(0,r.G)((e,a)=>{let{colorScheme:n,size:r,variant:o,children:c,className:p,isDisabled:x,isFocusable:h,...b}=e,{value:g,onChange:C,getRootProps:f,name:v,htmlProps:D}=(0,t.a)(b),k=(0,l.useMemo)(()=>({name:v,size:r,onChange:C,colorScheme:n,value:g,variant:o,isDisabled:x,isFocusable:h}),[v,r,C,n,g,o,x,h]);return(0,s.jsx)(d,{value:k,children:(0,s.jsx)(u.m.div,{...f(D,a),className:(0,i.cx)("chakra-radio-group",p),children:c})})});p.displayName="RadioGroup"},20307:function(e,a,n){n.d(a,{a:function(){return i}});var t=n(25432),r=n(81103),u=n(67294);function i(e={}){let{onChange:a,value:n,defaultValue:i,name:o,isDisabled:l,isFocusable:s,isNative:d,...c}=e,[p,x]=(0,u.useState)(i||""),h=void 0!==n,b=h?n:p,g=(0,u.useRef)(null),C=(0,u.useCallback)(()=>{let e=g.current;if(!e)return;let a="input:not(:disabled):checked",n=e.querySelector(a);if(n){n.focus();return}a="input:not(:disabled)";let t=e.querySelector(a);null==t||t.focus()},[]),f=(0,u.useId)(),v=`radio-${f}`,D=o||v,k=(0,u.useCallback)(e=>{let n=e&&(0,t.Kn)(e)&&(0,t.Kn)(e.target)?e.target.value:e;h||x(n),null==a||a(String(n))},[a,h]);return{getRootProps:(0,u.useCallback)((e={},a=null)=>({...e,ref:(0,r.lq)(a,g),role:"radiogroup"}),[]),getRadioProps:(0,u.useCallback)((e={},a=null)=>{let n=d?"checked":"isChecked";return{...e,ref:a,name:D,[n]:null!=b?e.value===b:void 0,onChange(e){k(e)},"data-radiogroup":!0}},[d,D,k,b]),name:D,ref:g,focus:C,setValue:x,value:b,onChange:k,isDisabled:l,isFocusable:s,htmlProps:c}}}}]); 2//# sourceMappingURL=4103.8bbef621943a3c32.js.map
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.