PageSourceSearch

https://writeressay.com/_next/static/chunks/8471-d3da8a95014675a5.js

js writeressay.com collected 2026-10-05 11:40:13 UTC 356,934 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8471],{750:(e,s,t)=>{"use strict";t.d(s,{oC:()=>r,ut:()=>a,xC:()=>l});let r=0x2540be3ff,a=0x2540be3ff,l=1e10},894:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useAiGeneratorScript:()=>n});var r=t(7620),a=t(55917),l=t(86912),o=t(15805);let n=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a.$.WRITERESSAY_COM,[s,t]=(0,r.useState)(!1),{isProdEnvironment:n,EVIRONMENT:i,DOMAINNAME:c,scriptSrc:d}=(0,r.useMemo)(()=>{let s=(0,l.O.PROD),t=(0,o.Y)(s,e);return{isProdEnvironment:!0,EVIRONMENT:s,DOMAINNAME:t,scriptSrc:"https://".concat(t,"/packages/ai-generator/ai-generator.external.js")}},[e]);return(0,r.useEffect)(()=>{let e=()=>!!customElements.get("ai-generator")&&(t(!0),!0);if(!e()){let s=setInterval(()=>{e()&&clearInterval(s)},100);setTimeout(()=>{e()||(()=>{let e=document.createElement("script");e.src=d,e.setAttribute("data-env",n?"production":"dev"),e.async=!0,document.body.appendChild(e)})()},3e3),setTimeout(()=>clearInterval(s),5e3)}},[d,n]),{isLoaded:s,isProdEnvironment:n,EVIRONMENT:i,DOMAINNAME:c,scriptSrc:d}}},1399:(e,s,t)=>{"use strict";t.r(s),t.d(s,{Button:()=>r.$,IconButton:()=>a.K,LeftArrowButton:()=>n,UploadBadgeButton:()=>c.V,XButton:()=>i.b});var r=t(43165),a=t(55247),l=t(54568);t(7620);var o=t(86950);let n=e=>{let{variant:s="no-background",...t}=e;return(0,l.jsxs)("div",{...t,children:["no-background"===s&&(0,l.jsx)("div",{className:"cursor-pointer text-[--left-arrow-button-text]",children:(0,l.jsx)(o.NavArrowLeftIcon,{})}),"round-background"===s&&(0,l.jsx)("button",{className:"rounded-3xl bg-[--left-arrow-button-bg] text-[--left-arrow-button-text] p-2",children:(0,l.jsx)(o.NavArrowLeftIcon,{})})]})};var i=t(35192),c=t(25252)},1994:(e,s,t)=>{"use strict";t.r(s),t.d(s,{BottomDrawer:()=>i,ClipboardPermissionModal:()=>M,Modal:()=>d,ShareDrawer:()=>T,ShareModal:()=>L,getSocialLinks:()=>E});var r=t(54568),a=t(7620),l=t(91711),o=t(24568),n=t(750);let i=e=>{let{InputComponent:s,children:t,headerSlot:i,isDrawerOpen:c,closeDrawer:d,translateYClass:u="translate-y-[2dvh]",isAnimationEffect:p=!0,bottomPadding:h=20,errorMessage:x}=e,[m,f]=(0,a.useState)(!1),[j,C]=(0,a.useState)(0),[v,g]=(0,a.useState)(!1),b=()=>{d()};(0,a.useEffect)(()=>{if(c){if(f(!0),p){let e=setTimeout(()=>g(!0),300);return()=>clearTimeout(e)}g(!0)}else{if(g(!1),p){let e=setTimeout(()=>f(!1),300);return()=>clearTimeout(e)}f(!1)}},[c,p]),(0,l.useDisableBodyScroll)(c);let N=e=>{e?setTimeout(()=>{var e;C(window.innerHeight-((null==(e=window.visualViewport)?void 0:e.height)||0))},500):setTimeout(()=>C(0),0)},y=(0,a.useRef)(null);(0,o.useClickOutside)(y,()=>b&&b());let w=p?"transition-transform duration-300":"";return(0,r.jsx)(r.Fragment,{children:m&&(0,r.jsx)("div",{className:"fixed inset-0 min-h-[100dvh] translate-y-[0dvh] bg-black bg-opacity-[56%]",style:{zIndex:n.oC},children:(0,r.jsxs)("div",{ref:y,className:"fixed inset-0 flex flex-col rounded-t-2xl bg-white px-4 py-5 shadow-lg  \n             ".concat(w," ").concat(v?"".concat(u):"translate-y-[100dvh]"," rounded-t-none'"),style:{paddingBottom:j+h},children:[(0,r.jsx)("div",{className:"relative flex justify-center",children:(0,r.jsx)("div",{className:"absolute -top-3 left-1/2 h-1 w-12 -translate-x-1/2 transform rounded-full bg-[--bottom-drawer-thumb-bg]"})}),i&&i,s&&(0,r.jsx)(s,{onKeyboardShow:()=>N(!0),onKeyboardHide:()=>N(!1)}),x&&(0,r.jsx)("p",{className:"mb-4 max-w-full text-center text-sm leading-7 text-[--error]",children:x}),t&&t]})})})};var c=t(91979);let d=e=>{let{isOpen:s,onClose:t,children:l,title:n="Share result"}=e,[i,d]=(0,a.useState)(!1),u=(0,a.useRef)(null);return(0,o.useClickOutside)(u,()=>i&&t()),(0,a.useEffect)(()=>{d(s)},[s]),(0,r.jsx)(r.Fragment,{children:i&&(0,r.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-[--modal-wrapper-bg]",children:(0,r.jsxs)("div",{ref:u,className:"w-full max-w-[--modal-content-max-width] rounded-[--modal-content-rounded] bg-[--modal-content-bg] px-[--modal-content-padding-x] py-[--modal-content-padding-y]",children:[(0,r.jsxs)("div",{className:"mb-4 flex items-center justify-between",children:[(0,r.jsx)("h2",{className:"font-[--modal-header-title-weight] text-[--modal-header-title-size]",children:n}),(0,r.jsxs)("button",{"aria-label":"Close modal button","aria-labelledby":"
1close-modal-button",onClick:t,children:[(0,r.jsx)(c.XIcon,{}),(0,r.jsx)("span",{id:"close-modal-button",className:"sr-only",children:"Close modal button"})]})]}),l]})})})};var u=t(35192),p=t(87324),h=t(38824),x=t(21712),m=t(7769),f=t(6141),j=t(47165),C=t(31579),v=t(34837),g=t(7809),b=t(86950),N=t(79403);let y=e=>{let{width:s="20",height:t="20",className:a,...l}=e;return(0,r.jsx)("svg",{width:s,height:t,viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,...l,children:(0,r.jsx)("path",{d:"M12.5002 7.50001V3.83334C12.5002 3.5572 12.2763 3.33334 12.0002 3.33334H3.8335C3.55735 3.33334 3.3335 3.5572 3.3335 3.83334V12C3.3335 12.2762 3.55735 12.5 3.8335 12.5H7.50016M8.00016 16.6667H16.1668C16.443 16.6667 16.6668 16.4428 16.6668 16.1667V8.00001C16.6668 7.72387 16.443 7.50001 16.1668 7.50001H8.00016C7.72402 7.50001 7.50016 7.72387 7.50016 8.00001V16.1667C7.50016 16.4428 7.72402 16.6667 8.00016 16.6667Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})};var w=t(43165),k=t(56375),S=t(76073),A=t(31596),F=t(62753);function E(e,s){let t=[{name:"WhatsApp",url:"https://wa.me/?text=".concat(e),icon:(0,r.jsx)(k.Whatsapp64Icon,{})},{name:"X",url:"https://twitter.com/intent/tweet?url=".concat(e),icon:(0,r.jsx)(S.XTwitter64Icon,{})},{name:"Telegram",url:"https://telegram.me/share/url?url=".concat(e),icon:(0,r.jsx)(A.Telegram64Icon,{})}];return s||t.push({name:"Facebook",url:"https://www.facebook.com/sharer/sharer.php?u=".concat(e),icon:(0,r.jsx)(F.Facebook64Icon,{})}),t}let R=e=>{var s,t;let{shareUrl:a,showLink:l=!0,themeName:o,isMobile:n=!1}=e,{buttonProps:i,carouselProps:c,socialLinksProps:d,carouselItemProps:u,prevButtonProps:k,nextButtonProps:S,dividerProps:A}=null!=(t=(e=>{let{themeName:s}=e,t="outline",a=(0,r.jsx)(N.LinkIcon,{}),l="left",o=!1;switch(s){case p.g.ESSAYPRO:t="tertiary",l="right",a=(0,r.jsx)(y,{className:"size-4"}),o=!0;break;case p.g.ESSAYWRITER:t="tertiary";break;case p.g.ESSAYHUB:o=!0}return{carouselProps:{opts:{align:"start",dragFree:!0},className:"mb-6"},prevButtonProps:{className:"-left-0",hideOnCantScroll:!0},nextButtonProps:{className:"-right-0",hideOnCantScroll:!0},carouselItemProps:{className:"shrink-0 basis-auto"},buttonProps:{variant:t,iconPosition:l,IconComponent:a},socialLinksProps:{containerClass:"",iconContainerClass:"flex items-center justify-center",linkClass:"cursor-pointer flex flex-col items-center justify-start",nameClass:"mt-2 text-center text-xs"},dividerProps:{class:"mt-2 mb-6 h-[1px] w-full bg-[--share-modal-divider-bg]",isDivider:o}}})({themeName:o,isMobile:n}))?t:{};return(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)(f.Carousel,{opts:c.opts,className:c.className,children:[(0,r.jsx)(j.CarouselContent,{className:d.containerClass,children:null==(s=E(a,n))?void 0:s.map(e=>(0,r.jsx)(C.CarouselItem,{className:u.className,children:(0,r.jsxs)("a",{target:"_blank",href:e.url,className:d.linkClass,children:[(0,r.jsx)("div",{className:d.iconContainerClass,children:e.icon}),(0,r.jsx)("div",{className:d.nameClass,children:e.name})]})},e.name))}),(0,r.jsx)(v.CarouselPrevious,{className:k.className,hideOnCantScroll:k.hideOnCantScroll,children:(0,r.jsx)(b.NavArrowLeftIcon,{})}),(0,r.jsx)(g.CarouselNext,{className:S.className,hideOnCantScroll:S.hideOnCantScroll,children:(0,r.jsx)(b.NavArrowLeftIcon,{className:"rotate-180"})})]}),A.isDivider&&(0,r.jsx)("div",{className:A.class}),l&&(0,r.jsx)(x.p,{className:"mb-6",inputText:a,variant:"read-only",theme:o}),(0,r.jsx)("div",{children:(0,r.jsx)(w.$,{variant:i.variant,iconPosition:i.iconPosition,icon:i.IconComponent,onClick:function(){(0,h.writeToClipboard)(a).then(()=>(0,m.P)("Link copied","success"))},theme:o,className:"".concat(p.g.WRITERESSAY?"mt-8 no-shadow":""),children:"Copy link"})})]})},T=e=>{let{isDrawerOpen:s,closeDrawer:t,shareUrl:a,themeName:l,toolName:o}=e,{xButtonVariant:n,xButtonSize:c,headerText:d}=(e=>{let{themeName:s}=e,t="m";return s===p.g.ESSAYPRO&&(t="s"),{xButtonVariant:"round-background",xButtonSize:t,headerText:"Share result"}})({themeName:l,toolName:o}),h=(0,r.jsxs)("div",{className:"flex items-center justify-start gap-4 pb-4",children:[(0,r.jsx)(u.b,{onClick:t,variant:n,size:c}),(0,r.jsx)("h2",{className:"text-3xl",children:d})]});return(0,r.jsx)(i,{isDrawerOpen:s,closeDrawer:t,headerSlot:h,translateYClass:"translate-y-[60dvh]",children:(0,r.jsx)(R,{showLink:!1,shareUrl:a,themeName:l,isMobile:!0,toolName:o})})},L=e=>{let{isOpen:s,onClose:t,shareUrl:a,themeName:l,toolName:o,isMobile:n}=e;return(0,r.jsx)(d,{isOpen:s,onClose:t,themeName:l,children:(0,r.jsx)(R,{shareUrl:a,themeName:l,toolName:o,isMobile:n})})},M=e=>{let{isOpen:s,onClose:t}=e;return s?(0,r.jsx)("div",{className:"fixed inset-0 justify-end z-[1000] bg-gradient-to-b from-black/80 via-black/60 to-black/40 px-4 hidden md:flex",onClick:t,role:"dialog","aria-modal":"true",children:(0,r.jsxs)("div",{className:"flex w-1/2 lg:w-7/12 gap-5 mt-9 h-fit items-center",children:[(0,r.jsx)("svg",{width:"45",height:"15",viewBox:"0 0 45 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M44 8.36377C44.5523 8.36377 45 7.91605 45 7.36377C45 6.81148 44.5523 6.36377 44 6.36377V7.36377V8.36377ZM0.292892 6.65666C-0.0976295 7.04719 -0.0976295 7.68035 0.292892 8.07088L6.65685 14.4348C7.04738 14.8254 7.68054 14.8254 8.07107 14.4348C8.46159 14.0443 8.46159 13.4111 8.07107 13.0206L2.41422 7.36377L8.07107 1.70692C8.46159 1.31639 8.46159 0.683226 8.07107 0.292702C7.68054 -0.0978227 7.04738 -0.0978227 6.65685 0.292702L0.292892 6.65666ZM44 7.36377V6.36377L1 6.36377V7.36377V8.36377L44 8.36377V7.36377Z",fill:"white"})}),(0,r.jsx)("div",{className:" max-w-[234px]",children:(0,r.jsx)("p",{className:"text-white text-base font-semibold",children:'Click "Allow" so we can paste your text from the clipboard.'})})]})}):null}},2882:(e,s,t)=>{"use strict";t.d(s,{ExponentCalculator:()=>o});var r=t(54568),a=t(7620);let l=e=>""!==e&&/^-?\d*\.?\d+$/.test(e),o=e=>{let{app:s}=e,[t,o]=(0,a.useState)("2"),[n,i]=(0,a.useState)("5"),[c,d]=(0,a.useState)(""),[u,p]=(0,a.useState)(""),[h,x]=(0,a.useState)(""),m=e=>"".concat(s,"-").concat(e);return(0,r.jsx)("div",{children:(0,r.jsx)("div",{className:"white-box minus-m",children:(0,r.jsxs)("div",{className:m("exCalcWrap"),children:[(0,r.jsxs)("div",{className:m("exInputWrap"),children:[(0,r.jsx)("input",{className:m("exInputStyle"),type:"text",style:{textAlign:"right"},value:t,onChange:e=>{let s=e.target.value;o(s),l(s)?p(""):p("Please provide a numerical base value.")},required:!0}),(0,r.jsx)("span",{className:m("exMatSymbolx"),children:" ^ "}),(0,r.jsx)("input",{className:m("exInputStyle"),type:"text",value:n,onChange:e=>{let s=e.target.value;i(s),l(s)?p(""):p("Please provide a numerical exponent value.")},required:!0}),(0,r.jsxs)("div",{className:m("exMatResult"),children:[(0,r.jsx)("span",{className:m("exMatSymbol"),children:" = "}),(0,r.jsx)("input",{className:m("exInputStyleRes"),value:c,readOnly:!0})]})]}),(0,r.jsxs)("div",{className:m("exbtnWrap"),children:[(0,r.jsx)("button",{className:m("btnYellow"),onClick:()=>{let e=((e,s)=>{if(!l(e)||!l(s))return{error:"Both inputs must be numeric.",result:"",steps:""};let t=parseFloat(e),r=parseInt(s,10),a=Math.pow(t,r),o=" ";for(let e=1;e<=r;e++)o+=e<r?"".concat(t," x "):"".concat(t);return o+=" = ".concat(a),{error:"",result:a.toString(),steps:o}})(t,n);p(e.error),d(e.result),x(e.steps)},children:"Calculate"}),(0,r.jsx)("button",{className:m("btnGrey"),type:"button",onClick:()=>{o("0"),i("0"),d(""),p(""),x("")},children:"Clear"})]}),u&&(0,r.jsxs)("div",{className:m("resultError"),children:[(0,r.jsx)("div",{className:m("errorTitle"),children:"Result"}),(0,r.jsx)("div",{className:m("exErrMess"),children:u})]}),!u&&c&&(0,r.jsxs)("div",{className:m("resultSuccess"),children:[(0,r.jsx)("div",{className:m("resultTitle"),children:"calculatingApp"===s?"Result":"Calculation result"}),(0,r.jsx)("div",{className:m("result"),children:(0,r.jsxs)("div",{className:m("resultWrap"),children:[(0,r.jsxs)("p",{children:[t,(0,r.jsx)("sup",{children:n})," ="," ",(0,r.jsx)("span",{className:m("textSemibold"),children:c})]}),(0,r.jsxs)("p",{children:[t,(0,r.jsx)("sup",{children:n})," = ",h]})]})})]})]})})})}},2902:(e,s,t)=>{"use strict";t.r(s),t.d(s,{getThemeClassByDomain:()=>a});var r=t(87324);let a=e=>r.f[e]},4042:(e,s,t)=>{"use strict";t.r(s),t.d(s,{SparksExtraIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsxs)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M8.24976 1.37198L7.35498 4.9511C7.18038 5.6495 7.09308 5.9987 6.91125 6.28285C6.75042 6.53419 6.53697 6.74764 6.28563 6.90847C6.00148 7.0903 5.65228 7.1776 4.95388 7.3522L1.37476 8.24698L4.95388 9.14176C5.65228 9.31636 6.00148 9.40366 6.28563 9.58548C6.53697 9.74
1631 6.75042 9.95976 6.91125 10.2111C7.09308 10.4953 7.18038 10.8445 7.35498 11.5429L8.24976 15.122L9.14454 11.5429C9.31914 10.8445 9.40644 10.4953 9.58826 10.2111C9.74909 9.95976 9.96254 9.74631 10.2139 9.58548C10.498 9.40366 10.8472 9.31636 11.5456 9.14176L15.1248 8.24698L11.5456 7.3522C10.8472 7.1776 10.498 7.0903 10.2139 6.90847C9.96254 6.74764 9.74909 6.53419 9.58826 6.28285C9.40644 5.9987 9.31914 5.6495 9.14454 4.9511L8.24976 1.37198Z M8.24976 1.37198L7.35498 4.9511C7.18038 5.6495 7.09308 5.9987 6.91125 6.28285C6.75042 6.53419 6.53697 6.74764 6.28563 6.90847C6.00148 7.0903 5.65228 7.1776 4.95388 7.3522L1.37476 8.24698L4.95388 9.14176C5.65228 9.31636 6.00148 9.40366 6.28563 9.58548C6.53697 9.74631 6.75042 9.95976 6.91125 10.2111C7.09308 10.4953 7.18038 10.8445 7.35498 11.5429L8.24976 15.122L9.14454 11.5429C9.31914 10.8445 9.40644 10.4953 9.58826 10.2111C9.74909 9.95976 9.96254 9.74631 10.2139 9.58548C10.498 9.40366 10.8472 9.31636 11.5456 9.14176L15.1248 8.24698L11.5456 7.3522C10.8472 7.1776 10.498 7.0903 10.2139 6.90847C9.96254 6.74764 9.74909 6.53419 9.58826 6.28285C9.40644 5.9987 9.31914 5.6495 9.14454 4.9511L8.24976 1.37198Z M17.9996 13.0036L17.3489 15.6066C17.2219 16.1145 17.1584 16.3685 17.0262 16.5751C16.9092 16.7579 16.754 16.9131 16.5712 17.0301C16.3645 17.1623 16.1106 17.2258 15.6026 17.3528L12.9996 18.0036L15.6026 18.6543C16.1106 18.7813 16.3645 18.8448 16.5712 18.977C16.754 19.094 16.9092 19.2492 17.0262 19.432C17.1584 19.6387 17.2219 19.8926 17.3489 20.4006L17.9996 23.0036L18.6504 20.4006C18.7774 19.8926 18.8409 19.6387 18.9731 19.432C19.0901 19.2492 19.2453 19.094 19.4281 18.977C19.6347 18.8448 19.8887 18.7813 20.3966 18.6543L22.9996 18.0036L20.3966 17.3528C19.8887 17.2258 19.6347 17.1623 19.4281 17.0301C19.2453 16.9131 19.0901 16.7579 18.9731 16.5751C18.8409 16.3685 18.7774 16.1145 18.6504 15.6066L17.9996 13.0036Z M17.9996 13.0036L17.3489 15.6066C17.2219 16.1145 17.1584 16.3685 17.0262 16.5751C16.9092 16.7579 16.754 16.9131 16.5712 17.0301C16.3645 17.1623 16.1106 17.2258 15.6026 17.3528L12.9996 18.0036L15.6026 18.6543C16.1106 18.7813 16.3645 18.8448 16.5712 18.977C16.754 19.094 16.9092 19.2492 17.0262 19.432C17.1584 19.6387 17.2219 19.8926 17.3489 20.4006L17.9996 23.0036L18.6504 20.4006C18.7774 19.8926 18.8409 19.6387 18.9731 19.432C19.0901 19.2492 19.2453 19.094 19.4281 18.977C19.6347 18.8448 19.8887 18.7813 20.3966 18.6543L22.9996 18.0036L20.3966 17.3528C19.8887 17.2258 19.6347 17.1623 19.4281 17.0301C19.2453 16.9131 19.0901 16.7579 18.9731 16.5751C18.8409 16.3685 18.7774 16.1145 18.6504 15.6066L17.9996 13.0036Z",fill:"currentColor"}),(0,r.jsx)("ellipse",{cx:"19.5",cy:"7.5",rx:"1.5",ry:"1.5",fill:"currentColor"}),(0,r.jsx)("ellipse",{cx:"9.75",cy:"20.25",rx:"0.75",ry:"0.749999",fill:"currentColor"})]})},4986:(e,s,t)=>{"use strict";t.d(s,{BallSurfaceArea:()=>n});var r=t(54568),a=t(7620),l=t(16413),o=t(89856);let n=e=>{let{app:s,BallSurfaceImage:t}=e,[n,i]=(0,a.useState)(""),[c,d]=(0,a.useState)("meters"),[u,p]=(0,a.useState)(null),[h,x]=(0,a.useState)(null),m=()=>{if("string"==typeof n&&n.match(/^\d*\.?\d+$/)){let e=parseFloat(n);if(e>0){let s=e**2,t=4*Math.PI*s;p({radius:e,result:t,piTerm:4*s,resultString:t.toFixed(8)}),x(null)}else p(null),x("The radius needs to be positive.")}else p(null),x("The radius needs to be positive.")},f=e=>"".concat(s,"-").concat(e);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:f("calcWrap"),children:[(0,r.jsxs)("div",{className:f("surCalcWrap"),children:[(0,r.jsxs)("div",{className:f("surCalcCol"),children:[(0,r.jsxs)("div",{className:f("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:f("inputText"),children:"Radius (r)"}),(0,r.jsxs)("div",{className:f("surCalcInputRow"),children:[(0,r.jsx)("label",{className:f("inputWrap"),htmlFor:"radius",children:(0,r.jsx)("input",{className:f("surInputStyle"),type:"text",id:"radius",value:n,onChange:e=>i(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&m(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:f("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:c,setSelectedOption:d,app:s})})]})]}),(0,r.jsxs)("div",{className:f("btnWrap surfaceCalc"),children:[(0,r.jsx)("button",{className:f("btnYellow"),onClick:m,children:"Calculate"}),(0,r.jsx)("button",{className:f("btnGrey"),onClick:()=>{i(""),d("meters"),p(null),x(null)},children:"Clear"})]})]}),(0,r.jsx)("div",{className:f("pyImgWrap surImgWrap"),children:t})]}),(u||h)&&(0,r.jsxs)("div",{className:"".concat(f(u&&!h?"resultSuccess":"resultError")),children:[(0,r.jsx)("div",{className:"".concat(f(u&&!h?"resultTitle":"errorTitle")),children:"calculatingApp"===s?"Result":"Calculation result"}),u&&!h&&(0,r.jsx)("div",{className:f("resultWrap"),children:(0,r.jsxs)("div",{className:f("surResult"),children:[(0,r.jsx)("div",{children:(0,r.jsx)("p",{children:"Surface area"})}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{children:["= 4πr",(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["= 4\xd7π\xd7",u.radius,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["= ",u.piTerm,"π"]}),(0,r.jsxs)("p",{className:"font-bold",children:["= ","".concat(u.resultString," ").concat(c),(0,r.jsx)("sup",{children:"2"})]})]})]})}),h&&!u&&(0,r.jsx)("div",{className:f("redErrorText"),children:h})]})]})})}},5639:(e,s,t)=>{"use strict";t.d(s,{EasyComputationsCalc:()=>l});var r=t(54568),a=t(7620);let l=e=>{let{app:s}=e,[t,l]=(0,a.useState)(""),[o,n]=(0,a.useState)(""),[i,c]=(0,a.useState)(""),[d,u]=(0,a.useState)(""),[p,h]=(0,a.useState)(null),[x,m]=(0,a.useState)(""),f=e=>"".concat(s,"-").concat(e);return(0,r.jsx)("div",{className:f("pyWrap"),children:(0,r.jsx)("div",{className:"white-box",children:(0,r.jsxs)("form",{className:f("calcWrap"),onSubmit:e=>{e.preventDefault();let s=parseFloat(t),r=parseFloat(o),a=parseFloat(i),l=parseFloat(d);if(s<=0||r<=0||a<=0||l<=0){m("Please provide positive values to the following fields."),h(null);return}if(r<=s){m("Quantity remains must be smaller than the initial quantity."),h(null);return}if(r&&s&&l&&!a)h({quantityRemainsRes:null,timeValueRes:Math.log(r/s)/(Math.log(2)/l),initialQuantityRes:null,halfLifeRes:null});else if(r&&s&&a){let e=Math.log(2)/(Math.log(r/s)/a),t=1/(Math.log(2)/e),l=Math.log(2)/e;h({quantityRemainsRes:null,timeValueRes:null,initialQuantityRes:null,halfLifeRes:{halfLifeValRes:e,meanLifetimeRes:t,decayConstantRes:l}})}else r&&!s&&l&&a?h({quantityRemainsRes:r*Math.exp(-(Math.log(2)/l)*a),timeValueRes:null,initialQuantityRes:null,halfLifeRes:null}):!r&&s&&l&&a?h({quantityRemainsRes:null,timeValueRes:null,initialQuantityRes:s/Math.exp(-(Math.log(2)/l)*a),halfLifeRes:null}):(m("Please fill at least three fields."),h(null))},children:[(0,r.jsxs)("div",{className:f("hlCalcWrapInner"),children:[(0,r.jsxs)("label",{htmlFor:"quantityRemains",children:[(0,r.jsxs)("div",{className:f("inputText hlCalc"),children:[(0,r.jsx)("p",{children:"quantity remains"}),(0,r.jsxs)("p",{children:["N",(0,r.jsx)("sub",{children:"t"})]})]}),(0,r.jsx)("input",{className:f("inputStyle hlCalcSm"),type:"text",id:"quantityRemains",value:t,onChange:e=>{l(e.target.value),m("")}})]}),(0,r.jsxs)("label",{htmlFor:"initialQuantity",children:[(0,r.jsxs)("div",{className:f("inputText hlCalc"),children:[(0,r.jsx)("p",{children:"initial quantity"}),(0,r.jsxs)("p",{children:["N",(0,r.jsx)("sub",{children:"0"})]})]}),(0,r.jsx)("input",{className:f("inputStyle hlCalcSm"),type:"text",id:"initialQuantity",value:o,onChange:e=>{n(e.target.value),m("")}})]}),(0,r.jsxs)("label",{htmlFor:"time",children:[(0,r.jsxs)("div",{className:f("inputText hlCalc"),children:[(0,r.jsx)("p",{children:"time"}),(0,r.jsx)("p",{children:"t"})]}),(0,r.jsx)("input",{className:f("inputStyle hlCalcSm"),type:"text",id:"time",value:i,onChange:e=>{c(e.target.value),m("")}})]}),(0,r.jsxs)("label",{htmlFor:"time",children:[(0,r.jsxs)("div",{className:f("inputText hlCalc"),children:[(0,r.jsx)("p",{children:"half-life"}),(0,r.jsxs)("p",{children:["t",(0,r.jsx)("sub",{children:"1/2"})]})]}),(0,r.jsx)("input",{className:f("inputStyle hlCalcSm"),type:"text",id:"time",value:d,onChange:e=>{u(e.target.value),m("")}})]})]}),(0,r.jsxs)("div",{className:f("btnWrap hlCalcMod"),children:[(0,r.jsx)("button",{className:f("btnYellow"),type:"submit",children:"Calculate"}),(0,r.jsx)("button",{className:f("btnGrey"),type:"button",onClick:()=>{l(""),n(""),c(""),u(""),m(""),h(null)},children:"Clear"})]}),x&&(0,r.jsxs)("div",{className:f("resultError"),children:[(0,r.jsx)("div",{className:f("errorTitle"),children:"Calculation result"}),(0,r.jsx)("div",{className:f("prErrMess"),children:x})]}),null!==p&&(0,r.jsxs)("div",{className:f("resultSuccess"),children:[(0,r.jsx)("div",{className:f("resultTitle"),children:"calculatingApp"===s?"Result":"Calculation result"}),(0,r.jsx)("div",{className:f("result"),children:(0,r.jsxs)("div",{className:f("resultWrap"),children:[p.quantityRemainsRes&&(0,r.jsxs)("b",{children:["quantity remains, N",(0,r.jsx)("sub",{children:"t"})," ="," ",p.quantityRemainsRes]}),p.initialQuantityRes&&(0,r.jsxs)("b",{children:["initial quantity, N",(0,r.jsx)("sub",{children:"0"})," ="," ",p.initialQuantityRes]}
1),p.timeValueRes&&(0,r.jsxs)("b",{children:["time, t = ",p.timeValueRes]}),p.halfLifeRes&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("b",{children:["half-life, t",(0,r.jsx)("sub",{children:"1/2"})," ="," ",p.halfLifeRes.halfLifeValRes]}),"mean lifetime, τ = ",p.halfLifeRes.meanLifetimeRes," ",(0,r.jsx)("br",{}),"decay constant, λ = ",p.halfLifeRes.decayConstantRes]})]})})]})]})})})}},6141:(e,s,t)=>{"use strict";t.r(s),t.d(s,{Carousel:()=>c,useCarousel:()=>i});var r=t(54568),a=t(7620),l=t(1965),o=t(32901);let n=a.createContext(null);function i(){let e=a.useContext(n);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let c=a.forwardRef((e,s)=>{let{orientation:t="horizontal",opts:i,setApi:c,plugins:d,className:u,children:p,...h}=e,[x,m]=(0,l.A)({...i,axis:"horizontal"===t?"x":"y"},d),[f,j]=a.useState(!1),[C,v]=a.useState(!1),g=a.useCallback(e=>{e&&(j(e.canScrollPrev()),v(e.canScrollNext()))},[]),b=a.useCallback(()=>{null==m||m.scrollPrev()},[m]),N=a.useCallback(()=>{null==m||m.scrollNext()},[m]),y=a.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),b()):"ArrowRight"===e.key&&(e.preventDefault(),N())},[b,N]);return a.useEffect(()=>{m&&c&&c(m)},[m,c]),a.useEffect(()=>{if(m)return g(m),m.on("reInit",g),m.on("select",g),()=>{null==m||m.off("select",g)}},[m,g]),(0,r.jsx)(n.Provider,{value:{carouselRef:x,api:m,opts:i,orientation:t||((null==i?void 0:i.axis)==="y"?"vertical":"horizontal"),scrollPrev:b,scrollNext:N,canScrollPrev:f,canScrollNext:C},children:(0,r.jsx)("div",{ref:s,onKeyDownCapture:y,className:(0,o.cn)("relative",u),role:"region","aria-roledescription":"carousel",...h,children:p})})});c.displayName="Carousel"},7365:(e,s,t)=>{"use strict";t.r(s),t.d(s,{deleteCookie:()=>a});var r=t(81976);let a=e=>{let{name:s,domain:t}=e;(0,r.getCookie)(s)&&(document.cookie="".concat(s,"=; domain=").concat(t,"; expires=Thu, 01 Jan 1970 00:00:01 GMT; path=/"))}},7769:(e,s,t)=>{"use strict";t.d(s,{P:()=>n});var r=t(54568),a=t(69885),l=t(55699),o=t(91979);let n=(e,s)=>{let t={success:"bg-[--success]",error:"bg-[--error]",info:"",warning:""},n={success:(0,r.jsx)(l.CheckIcon,{}),error:"",info:"",warning:""},i={success:(0,r.jsx)(o.XIcon,{}),error:"",info:"",warning:""};a.oR.custom(()=>(0,r.jsxs)("div",{className:"".concat(t[s]," relative inline-flex w-full items-center justify-center gap-2 rounded-lg px-4 py-3 text-[--toast-text]"),children:[(0,r.jsx)("span",{className:"text-sm font-normal",children:e}),n[s],(0,r.jsx)("span",{className:"absolute right-3 top-3 cursor-pointer",onClick:()=>a.oR.dismiss(),children:i[s]})]}))}},7809:(e,s,t)=>{"use strict";t.r(s),t.d(s,{CarouselNext:()=>n});var r=t(54568),a=t(7620),l=t(32901),o=t(6141);let n=(0,a.forwardRef)((e,s)=>{let{className:t,children:a,hideOnCantScroll:n,...i}=e,{orientation:c,scrollNext:d,canScrollNext:u}=(0,o.useCarousel)();return(0,r.jsx)("button",{ref:s,type:"button",className:(0,l.cn)("absolute flex h-8 w-8 items-center justify-center rounded-[--carousel-button-radius] bg-[--carousel-button-bg] p-1.5 text-[--carousel-button-text]","horizontal"===c?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",n&&!u?"opacity-0":"opacity-100",t),disabled:!u,onClick:d,...i,children:a})});n.displayName="CarouselNext"},8066:(e,s,t)=>{"use strict";t.d(s,{HexCalcConvertToHex:()=>o});var r=t(54568),a=t(7620),l=t(36070);let o=e=>{let{app:s}=e,[t,o]=(0,a.useState)(170),[n,i]=(0,a.useState)(""),[c,d]=(0,a.useState)(null),u=()=>{(0,l.sD)(String(t))?(d("".concat((0,l.aJ)(t))),i("")):(d(null),i("The number need to be numeric."))},p=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("div",{className:p("calcWrap"),children:[(0,r.jsxs)("label",{className:p("inputWrap"),children:[(0,r.jsx)("div",{className:p("inputText"),children:"Decimal Value"}),(0,r.jsx)("input",{className:p("inputStyle"),type:"number",name:"decimal",value:isNaN(Number(t))?"":t,onChange:e=>o(""===e.target.value?NaN:Number(e.target.value)),onKeyDown:e=>"Enter"===e.key&&u(),inputMode:"numeric",required:!0})]}),(0,r.jsxs)("div",{className:p("btnWrap"),children:[(0,r.jsx)("button",{className:p("btnYellow"),onClick:u,children:"Calculate"}),(0,r.jsx)("button",{className:p("btnGrey"),onClick:()=>{o(0),i(""),d(null)},children:"Clear"})]}),n&&(0,r.jsxs)("div",{className:p("resultError"),children:[(0,r.jsx)("div",{className:p("errorTitle"),children:"Error"}),(0,r.jsx)("div",{className:p("errorText"),children:n})]}),c&&(0,r.jsxs)("div",{className:p("resultSuccess"),children:[(0,r.jsx)("div",{className:p("resultTitle"),children:"calculatingApp"===s?"Result":"Calculation result"}),(0,r.jsx)("div",{className:p("resultWrap"),children:(0,r.jsxs)("p",{children:["Hexadecimal value:",(0,r.jsxs)("span",{className:p("textSemibold"),children:[" ",c]})]})})]})]})}},8192:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useToggle:()=>a});var r=t(7620);function a(){let{initialState:e=!1}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},[s,t]=(0,r.useState)(e),a=(0,r.useCallback)(()=>t(e=>!e),[]),l=(0,r.useCallback)(e=>t(e),[]);return{isToggled:s,toggle:a,setToggledValue:l,close:(0,r.useCallback)(()=>t(!1),[]),open:(0,r.useCallback)(()=>t(!0),[])}}},8535:(e,s,t)=>{"use strict";t.d(s,{PercentageChangeCalc:()=>c});var r=t(54568),a=t(7620),l=t(62011),o=t(47221),n=t(9178),i=t(16413);let c=e=>{let{app:s}=e,[t,c]=(0,a.useState)(!1),[d,u]=(0,a.useState)("1"),[p,h]=(0,a.useState)("2"),[x,m]=(0,a.useState)("increase"),[f,j]=(0,a.useState)(null),[C,v]=(0,a.useState)(""),g=e=>{let s;e.preventDefault();let t=parseFloat(p),r=parseFloat(d);if(isNaN(t)||isNaN(r)){v("Please provide two numeric values in any fields below."),j(null);return}s="increase"===x?t*(1+r/100):t*(1-r/100),j({percentageResult:d,valueResult:p,typeCalc:x,calculatedResult:s}),v("")},b=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("div",{className:b("perWrap"),children:[(0,r.jsx)("form",{className:b("perCalcWrap"),onSubmit:g,children:(0,r.jsxs)("div",{className:b("pyInputsWrap perChaCalc"),children:[(0,r.jsxs)("div",{className:b("perInputWrap"),children:[(0,r.jsx)("label",{className:b("pyLabel"),htmlFor:"percentage",children:(0,r.jsx)("input",{className:b("pyInput perCalc"),value:isNaN(Number(p))?"":p,onChange:e=>h(e.target.value),onKeyDown:e=>"Enter"===e.key&&g(e),name:"percentage",id:"percentage",type:"number"})}),(0,r.jsx)(i.SelectOld,{options:["decrease","increase"],selectedOption:x,setSelectedOption:m,shouldCapitalize:!0,showCheckIcon:!0,app:s}),(0,r.jsxs)("label",{className:b("pyLabel icon"),htmlFor:"value",children:[(0,r.jsx)("input",{className:b("pyInput perCalc"),value:isNaN(Number(d))?"":d,onChange:e=>u(e.target.value),onKeyDown:e=>"Enter"===e.key&&g(e),name:"value",id:"value",type:"number"}),(0,r.jsx)("div",{className:b("inputPercentageIcon"),children:(0,r.jsx)(l.PercentageIcon,{})})]}),(0,r.jsx)("span",{className:b("pyInputText perCalc"),children:"="}),(0,r.jsx)("label",{className:b("pyLabel"),htmlFor:"result",children:(0,r.jsx)("input",{className:b("pyInput perCalc"),name:"result",id:"result",type:"number"})})]}),(0,r.jsxs)("div",{className:b("pyButtonsWrap"),children:[(0,r.jsx)("button",{className:b("pyButtonCalc"),children:"Calculate"}),(0,r.jsx)("a",{className:b("pyButtonClear cursor-pointer"),onClick:()=>{u(""),h(""),j(null)},children:"Clear"})]}),f&&(0,r.jsxs)("div",{className:b("resultSuccess"),children:[(0,r.jsx)("div",{className:b("resultTitle"),children:"Calculation result"}),(0,r.jsxs)("div",{className:b("resultWrap"),children:[(0,r.jsx)("p",{children:(0,r.jsx)("span",{className:b("textSemibold"),children:f.calculatedResult})}),(0,r.jsx)("p",{children:"".concat(f.valueResult," ").concat(f.typeCalc," ").concat(f.percentageResult,"% = ").concat(f.calculatedResult)})]})]}),C&&(0,r.jsxs)("div",{className:b("resultError"),children:[(0,r.jsx)("div",{className:b("errorTitle"),children:"Calculation result"}),(0,r.jsx)("div",{className:b("errorText"),children:C})]})]})}),f&&(0,r.jsxs)("div",{className:b("pyCalcSteps"),children:[(0,r.jsxs)("h3",{onClick:()=>{c(!t)},className:"".concat(b("pyStepsTitle")," ").concat(t?"active":""),children:["Show Calculation Steps",(0,r.jsx)("div",{className:"".concat(b("pyStepsArrow")," ").concat(t?"active":""),children:"calculatingApp"===s?(0,r.jsx)(o.ArrowLongIcon,{}):(0,r.jsx)(n.ArrowIcon,{})})]}),t&&(0,r.jsx)("div",{className:b("pyStepsInfo"),children:((e,s,t,r)=>"".concat(s," ").concat(t," ").concat(e,"% = ").concat(s," \xd7 (1 ").concat("increase"===t?"+":"-"," ").concat(e,"%) = ").concat(s," \xd7 (1 ").concat("increase"===t?"+":"-"," ").concat(parseFloat(e)/100,") = ").concat(r))(f.percentageResult,f.valueResult,f.typeCalc,f.calculatedResult)})]})]})}},8759:(e,s,t)=>{"use strict";t.r(s),t.d(s,{SearchIcon:()=>l});var r=t(54568),a=t(32901);let l=e=>{let{className:s,...t}=e;return(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,a.cn)("size-5 stroke-[#3B59CE]",s),...t,children:(0,r.jsx)("path",{d:"M17 17L21 21M11 19C6.58172 19 3 15.4183 3 11C3 6.58172 6.58172 3 11 3C15.4183 3 19 
16.58172 19 11C19 13.2053 18.1077 15.2022 16.6644 16.6493C15.2161 18.1015 13.213 19 11 19Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},9178:(e,s,t)=>{"use strict";t.r(s),t.d(s,{ArrowIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsxs)("svg",{width:"16",height:"17",viewBox:"0 0 16 17",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("g",{clipPath:"url(#clip0_335_38)",children:(0,r.jsx)("path",{d:"M6.6066 0.919669L3.99993 3.49967C3.93745 3.56165 3.88785 3.63538 3.85401 3.71662C3.82016 3.79786 3.80273 3.885 3.80273 3.973C3.80273 4.06101 3.82016 4.14815 3.85401 4.22939C3.88785 4.31063 3.93745 4.38436 3.99993 4.44634C4.12484 4.57051 4.29381 4.6402 4.46993 4.6402C4.64606 4.6402 4.81503 4.57051 4.93993 4.44634L7.33327 2.073L7.33327 15.6663C7.33327 15.8432 7.40351 16.0127 7.52853 16.1377C7.65355 16.2628 7.82312 16.333 7.99993 16.333C8.17674 16.333 8.34631 16.2628 8.47134 16.1377C8.59636 16.0127 8.6666 15.8432 8.6666 15.6663L8.6666 2.033L11.0733 4.44634C11.1352 4.50882 11.209 4.55842 11.2902 4.59227C11.3715 4.62611 11.4586 4.64354 11.5466 4.64354C11.6346 4.64354 11.7217 4.62611 11.803 4.59227C11.8842 4.55842 11.958 4.50882 12.0199 4.44634C12.0824 4.38436 12.132 4.31063 12.1659 4.22939C12.1997 4.14815 12.2171 4.06101 12.2171 3.973C12.2171 3.885 12.1997 3.79786 12.1659 3.71662C12.132 3.63538 12.0824 3.56165 12.0199 3.49967L9.43327 0.919669C9.05827 0.545135 8.54994 0.334763 8.01993 0.334763C7.48993 0.334763 6.9816 0.545135 6.6066 0.919669Z",fill:"currentColor"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_335_38",children:(0,r.jsx)("rect",{width:"16",height:"16",fill:"white",transform:"translate(0 16.333) rotate(-90)"})})})]})},9725:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useExternalBlockToggler:()=>a});var r=t(7620);let a=e=>{let{elements:s,shouldToggle:t=!0}=e;(0,r.useEffect)(()=>{t&&s.forEach(e=>{let s=document.getElementById(e.id);s&&Object.entries(e.style).forEach(e=>{let[t,r]=e;"string"==typeof r&&s.style.setProperty(t,r)})})},[s,t])}},9876:(e,s,t)=>{"use strict";t.r(s),t.d(s,{setCookie:()=>r});let r=e=>{let{name:s,value:t,domain:r}=e;document.cookie="".concat(s,"=").concat(t,"; domain=").concat(r,"; path=/")}},10102:(e,s,t)=>{"use strict";t.r(s),t.d(s,{SparkIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,r.jsx)("g",{clipPath:"url(#clip0_2337_523)",children:(0,r.jsx)("path",{d:"M1 10C7.26752 10 10 7.36306 10 1C10 7.36306 12.7134 10 19 10C12.7134 10 10 12.7134 10 19C10 12.7134 7.26752 10 1 10Z",fill:"currentColor",stroke:"currentColor",strokeWidth:"1.5",strokeLinejoin:"round"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_2337_523",children:(0,r.jsx)("rect",{width:"20",height:"20",fill:"white"})})})]})},10935:(e,s,t)=>{"use strict";t.r(s),t.d(s,{InfoIcon:()=>a});var r=t(54568);let a=e=>{let{width:s=16,height:t=16,stroke:a="#42445A",className:l,...o}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:t,viewBox:"0 0 16 16",fill:"none",className:l,...o,children:[(0,r.jsx)("g",{clipPath:"url(#clip0_2340_1109)",children:(0,r.jsx)("path",{d:"M8 7.66683V11.0002M8 5.00683L8.00666 4.99942M14.6667 8.00016C14.6667 11.6821 11.6819 14.6668 8 14.6668C4.3181 14.6668 1.33333 11.6821 1.33333 8.00016C1.33333 4.31826 4.3181 1.3335 8 1.3335C11.6819 1.3335 14.6667 4.31826 14.6667 8.00016Z",stroke:a,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_2340_1109",children:(0,r.jsx)("rect",{width:"16",height:"16",fill:"white"})})})]})}},10996:(e,s,t)=>{"use strict";t.r(s),t.d(s,{ResponsiveBreakpoints:()=>r,ResponsiveView:()=>a});var r=function(e){return e[e.SM=640]="SM",e[e.MD=820]="MD",e[e.LG=1024]="LG",e[e.XL=1280]="XL",e[e.XXL=1536]="XXL",e}({}),a=function(e){return e[e.MOBILE=640]="MOBILE",e[e.TABLET=820]="TABLET",e[e.DESKTOP_SMALL=1024]="DESKTOP_SMALL",e[e.DESKTOP_MEDIUM=1280]="DESKTOP_MEDIUM",e[e.DESKTOP_LARGE=1536]="DESKTOP_LARGE",e}({})},11668:(e,s,t)=>{"use strict";t.r(s),t.d(s,{TokensProvider:()=>u,useTokens:()=>p});var r=t(54568),a=t(7620),l=t(9876),o=t(7365),n=t(81976);let i="accessToken",c="refreshToken",d=(0,a.createContext)({accessToken:"",refreshToken:"",setTokens:()=>{throw Error("TokensContext is not defined")},invalidateTokens:()=>{throw Error("TokensContext is not defined")}}),u=e=>{let{children:s,sharedCookieDomain:t}=e,[u,p]=(0,a.useState)({accessToken:"",refreshToken:""}),h=(0,a.useCallback)(e=>{(0,l.setCookie)({name:i,value:e.accessToken,domain:t}),(0,l.setCookie)({name:c,value:e.refreshToken,domain:t}),p(e)},[t]),x=(0,a.useCallback)(()=>{(0,o.deleteCookie)({name:i,domain:t}),(0,o.deleteCookie)({name:c,domain:t}),p({accessToken:"",refreshToken:""})},[t]);(0,a.useEffect)(()=>{h({accessToken:(0,n.getCookie)(i)||"",refreshToken:(0,n.getCookie)(c)||""})}
1,[h]);let m=(0,a.useMemo)(()=>({accessToken:u.accessToken,refreshToken:u.refreshToken,setTokens:h,invalidateTokens:x}),[u,h,x]);return(0,r.jsx)(d.Provider,{value:m,children:s})},p=()=>(0,a.useContext)(d)},12046:(e,s,t)=>{"use strict";t.r(s),t.d(s,{default:()=>n});var r=t(54568),a=t(75362);function l(){return(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M17.25 8.25L21 12M21 12L17.25 15.75M21 12H3",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}function o(){return(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M15.75 6C15.75 6.99456 15.3549 7.94839 14.6516 8.65165C13.9484 9.35491 12.9945 9.75 12 9.75C11.0054 9.75 10.0516 9.35491 9.34833 8.65165C8.64506 7.94839 8.24998 6.99456 8.24998 6C8.24998 5.00544 8.64506 4.05161 9.34833 3.34835C10.0516 2.64509 11.0054 2.25 12 2.25C12.9945 2.25 13.9484 2.64509 14.6516 3.34835C15.3549 4.05161 15.75 5.00544 15.75 6ZM4.50098 20.118C4.53311 18.1504 5.33731 16.2742 6.74015 14.894C8.14299 13.5139 10.0321 12.7405 12 12.7405C13.9679 12.7405 15.857 13.5139 17.2598 14.894C18.6626 16.2742 19.4668 18.1504 19.499 20.118C17.1464 21.1968 14.5881 21.7535 12 21.75C9.32398 21.75 6.78398 21.166 4.50098 20.118Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}let n=e=>{let{className:s,text:t,arrow:n,angle:i,url:c,user:d,dataButtonGroup:u}=e;return(0,r.jsxs)("a",{className:s,href:c,"data-button-group":u,children:[t,n&&(0,r.jsx)(l,{}),d&&(0,r.jsx)(o,{}),i&&(0,r.jsx)("span",{className:"w-3.5 -rotate-90",children:(0,r.jsx)(a.A,{})})]})}},12840:(e,s,t)=>{"use strict";t.r(s),t.d(s,{BadgeSelect:()=>o,DropDownControlledSelect:()=>N,DropdownSelect:()=>g});var r=t(54568),a=t(7620),l=t(32901);let o=e=>{var s;let{title:t,options:o,onOptionSelected:n,currentOption:i,isDisabled:c,showMaxQuantity:d,showMoreText:u,titleClassName:p}=e,[h,x]=(0,a.useState)(!1),m=d&&d<(null==o?void 0:o.length);return(0,a.useEffect)(()=>{d&&i&&(null==o?void 0:o.map(e=>e.title).indexOf(i))>d&&x(!0)},[i,o,d]),(0,r.jsxs)("div",{className:"mb-4",children:[t&&(0,r.jsx)("div",{className:(0,l.cn)("mb-4 text-xl text-[--badge-select-text] ".concat(p)),children:t}),(0,r.jsx)("div",{className:"flex flex-wrap gap-x-2 gap-y-4",children:null==(s=!h&&m?null==o?void 0:o.slice(0,d):o)?void 0:s.map(e=>{let s,t;return(0,r.jsxs)("div",{className:"".concat((s=e.key,(0,l.cn)("group inline-flex min-w-max cursor-pointer h-[--badge-h] items-center justify-start gap-1 rounded-[--badge-radius] border px-[--badge-x] py-[--badge-y]\n      ".concat(s===i?"border-[--badge-active-border] bg-[--badge-active] hover:bg-[--badge-active-hover] hover:border-[--badge-active-border-hover]":"border-[--badge-inactive-border] bg-[--badge-inactive] hover:bg-[--badge-inactive-hover] hover:border-[--badge-inactive-border-hover] animation-default")))),onClick:()=>{var s;return s=e.title,void(!c&&n(s))},children:[(null==e?void 0:e.icon)&&(0,r.jsx)("span",{className:"relative h-5 w-5 overflow-hidden",children:e.icon}),(0,r.jsx)("div",{className:"".concat((t=e.key,(0,l.cn)("text-center text-base font-normal\n      ".concat(t===i?"text-[--badge-active-foreground] group-hover:text-[--badge-active-foreground-hover]":"text-[--badge-inactive-foreground] group-hover:text-[--badge-inactive-foreground-hover]")))),children:e.title})]},e.key)})}),m&&!h&&(0,r.jsx)("div",{onClick:function(){x(!h)},className:"mt-4 cursor-pointer text-base text-[--clickable-text-color]",children:u})]})};var n=t(8192),i=t(24568),c=t(53627),d=t(91979),u=t(8759),p=t(55699);let h={small:"h-[--dropdown-sm-height] py-[--dropdown-sm-padding-y] pl-[--dropdown-sm-padding-left] pr-[--dropdown-sm-padding-right] rounded-[--dropdown-sm-border-radius]",medium:"h-[--dropdown-md-height] py-[--dropdown-md-padding-y] pl-[--dropdown-md-padding-left] pr-[--dropdown-md-padding-right] rounded-[--dropdown-md-border-radius]",large:"h-[--dropdown-lg-height] py-[--dropdown-lg-padding-y] pl-[--dropdown-lg-padding-left] pr-[--dropdown-lg-padding-right] rounded-[--dropdown-lg-border-radius]"},x="flex-shrink-0 relative size-[--dropdown-icon-container-width] size-[--dropdown-icon-container-height]",m="w-[--dropdown-icon-width] h-[--dropdown-icon-height]",f={xs:"text-sm mb-1",s:"text-base",m:"text-lg",l:"text-xl mb-4"},j={small:"top-9 rounded-[--dropdown-menu-sm-border-radius]",medium:"top-11 rounded-[--dropdown-menu-md-border-radius]",large:"top-12 rounded-[--dropdown-menu-lg-border-radius]"},C={small:"p-2 gap-2",medium:"py-3 gap-2",large:"py-4 gap-2"},v={small:"px-3 py-2 text-base",medium:"px-4 text-base",large:"px-6 text-md"},g=e=>{let{size:s="small",dropdownOptions:t,activeItem:o,setActiveItem:g,onClick:b,title:N,showTitle:y=!1,titleSize:w="l",style:k,isDisabled:S=!1,canReset:A=!0,searchable:F=!1,combined:E=!1}=e,{buttonWidth:R="min-w-44",menuWidth:T="w-28",menuHeight:L="h-44"}=k||{},{isToggled:M,toggle:B,close:I}=(0,n.useToggle)({initialState:!1}),D=(0,a.useRef)(null);(0,i.useClickOutside)(D,()=>I());let W=Array.isArray(t[0]),[V,P]=(0,a.useState)(""),O=(0,a.useMemo)(()=>{let e=V.toLowerCase();return(W?t:[t]).map(s=>s.filter(s=>s.title.toLowerCase().includes(e)))},[t,W,V]),H=(0,a.useMemo)(()=>{var e;return null==(e=(W?t.flat():t).find(e=>e.key===(null==o?void 0:o.toString())))?void 0:e.title},[t,o,W]),_=(0,l.cn)("".concat(R," ").concat(h[s]," animation-default gap-1 inline-flex justify-between items-center border border-[length:var(--border-width)] border-[--dropdown-border-w] border-[--dropdown-border] bg-[--dropdown] hover:border-[--dropdown-border-hover] hover:text-[--dropdown-text-hover] ")),q=(0,l.cn)("".concat(L," ").concat(T," ").concat(j[s]," absolute cursor-pointer z-10 items-start justify-end border-[--dropdown-menu-border-w] border-[--dropdown-menu-border] bg-[--dropdown-menu] shadow-[0px_2px_8px_0px_rgba(0,0,0,0.25)] overflow-hidden ")),z=(0,l.cn)("".concat(L," w-full ").concat(C[s]," flex flex-col overflow-y-auto text-base text-gray-700 bg-[--dropdown-menu]")),G=(0,l.cn)("".concat(v[s]," gap-2 rounded-lg cursor-pointer block bg-[--dropdown-menu] hover:bg-[--dropdown-item-hovered]")),Y=H||N,K=A&&!M&&H;return(0,r.jsxs)("div",{children:[N&&y&&(0,r.jsx)("div",{className:(0,l.cn)(f[w]),children:N}),(0,r.jsxs)("div",{className:"relative cursor-pointer",ref:D,onClick:()=>{S||(B(),null==b||b())},children:[(0,r.jsxs)("button",{className:_,type:"button",children:[(0,r.jsx)("span",{className:(0,l.cn)("min-w-0 flex-grow text-start text-base whitespace-nowrap overflow-hidden font-normal leading-normal text-[--dropdown-text]"),style:{textOverflow:"ellipsis",overflow:"hidden",
1whiteSpace:"nowrap"},children:Y}),!K&&(0,r.jsx)("div",{className:x,children:(0,r.jsx)(c.O,{className:m})}),K&&(0,r.jsx)("div",{className:x,onClickCapture:e=>{e.stopPropagation(),S||g(null)},children:(0,r.jsx)(d.XIcon,{className:m})})]}),M&&(0,r.jsx)("div",{className:q,children:(0,r.jsxs)("div",{className:z,"aria-labelledby":"dropdownDefaultButton",children:[F&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("div",{className:"relative w-full px-3",children:[V.length>0?(0,r.jsx)("span",{className:"absolute right-[24px] top-[22px] -translate-y-1/2 cursor-pointer",onClick:e=>{e.stopPropagation(),P("")},children:(0,r.jsx)(d.XIcon,{})}):(0,r.jsx)("span",{className:"absolute right-[24px] text-[--input-icon] top-[22px] -translate-y-1/2 pointer-events-none",children:(0,r.jsx)(u.SearchIcon,{})}),(0,r.jsx)("input",{type:"text",value:V,onChange:e=>P(e.target.value),className:"w-full px-4 py-2 ".concat(E?"border-[2px]":"border-[1px]"," border-[--input-border] rounded-[--input-radius] bg-[--dropdown-search-input-bg] mb-3 placeholder:text-md outline-none focus:border-[--input-border-focused] focus-visible:border-[--input-border-focused]"),placeholder:"Find by name",onClick:e=>e.stopPropagation()})]}),(0,r.jsx)("div",{className:"h-px w-full bg-[--silver-grey]"})]}),0===O.flat().length&&(0,r.jsx)("div",{className:"px-4 py-2 text-[--stone-grey]",children:"No options found"}),O.map((e,s)=>{var t;return(0,r.jsxs)("div",{className:"flex flex-col gap-2",children:[e.map(e=>{let s=e.key===(null==o?void 0:o.toString()),t="dropdown-option-".concat(e.key.toString().replace(/\s+/g,"-").toLowerCase());return(0,r.jsxs)("div",{className:(0,l.cn)(G,s&&"bg-[--dropdown-item-bg-selected] flex items-center justify-between relative"),onClick:s=>{var t;return t=e.key,void(s.stopPropagation(),!S&&(g(t),I()))},"aria-label":e.title,"aria-labelledby":t,role:"option",children:[(0,r.jsx)("span",{id:t,children:e.title}),s&&(0,r.jsx)("span",{className:"text-[--dropdown-check]",children:(0,r.jsx)(p.CheckIcon,{})})]},e.key)}),W&&0===s&&(null==(t=O[0])?void 0:t.length)>0&&(0,r.jsx)("div",{className:"h-px w-full bg-[--gray-neutral]"})]},"group-".concat(s))})]})})]})]})};var b=t(83631);let N=e=>{let{control:s,name:t,options:a,onChange:l,...o}=e,{field:{onChange:n,onBlur:i,value:c}}=(0,b.as)({control:s,name:t});return(0,r.jsx)(g,{dropdownOptions:a,setActiveItem:e=>{n(e),null==l||l(e)},activeItem:c,onBlur:i,...o})};N.displayName="DropDownControlledSelect"},13363:(e,s,t)=>{"use strict";t.r(s),t.d(s,{CrossIcon:()=>l});var r=t(54568),a=t(32901);let l=e=>{let{className:s,...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:(0,a.cn)("size-6 stroke-current",s),...t,children:(0,r.jsx)("path",{d:"M5.63135 14.3691L10.0002 10.0002M10.0002 10.0002L14.3691 5.63135M10.0002 10.0002L5.63135 5.63135M10.0002 10.0002L14.3691 14.3691",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},15805:(e,s,t)=>{"use strict";t.d(s,{Y:()=>l});var r=t(86912),a=t(55917);let l=(e,s)=>e===r.O.PROD?"".concat(r.V[r.O.PROD],".").concat(s):a.l.find(e=>e.includes(s))||a.l[0]},16413:(e,s,t)=>{"use strict";t.d(s,{SelectOld:()=>i});var r=t(54568),a=t(7620),l=t(24568),o=t(96522),n=t(55699);let i=e=>{let{options:s,selectedOption:t,setSelectedOption:i,shouldCapitalize:c=!1,showCheckIcon:d=!1,app:u}=e,[p,h]=(0,a.useState)(!1),x=(0,a.useRef)(null),m=e=>"".concat(u,"-").concat(e);(0,l.useClickOutside)(x,()=>h(!1));let f=e=>c?(e=>e.charAt(0).toUpperCase()+e.slice(1))(e):e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:m("select"),onClick:()=>h(!p),children:[(0,r.jsxs)("div",{className:m("selectCurrentOption"),children:[f(t),(0,r.jsx)("div",{className:m("selectCurrentOptionArrow"),children:(0,r.jsx)(o.DropdownArrowIcon,{})})]}),p&&(0,r.jsx)("div",{ref:x,className:m("selectOptions"),children:s.map((e,a)=>(0,r.jsxs)("div",{className:"".concat(d?m("selectOption"):m("selectOptionMod")," ").concat(a===s.length-1?"last":""),onClick:()=>{i(e),h(!1)},children:[d&&e===t&&(0,r.jsx)("div",{className:m("selectOptionIcon"),children:(0,r.jsx)(n.CheckIcon,{})}),f(e)]},a))})]})})}},16669:(e,s,t)=>{"use strict";t.r(s),t.d(s,{SparksIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsx)("svg",{width:"22",height:"22",viewBox:"0 0 22 22",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("g",{id:"Application/sparks",children:(0,r.jsxs)("g",{id:"Vector",children:[(0,r.jsx)("path",{d:"M7 14C11.8747 14 14 11.949 14 7C14 11.949 16.1104 14 21 14C16.1104 14 14 16.1104 14 21C14 16.1104 11.8747 14 7 14Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M1 5.5C4.13376 5.5 5.5 4.18153 5.5 1C5.5 4.18153 6.85669 5.5 10 5.5C6.85669 5.5 5.5 6.85669 5.5 10C5.5 6.85669 4.13376 5.5 1 5.5Z",fill:"currentColor"}),(0,r.jsx)("path",{d:"M7 14C11.8747 14 14 11.949 14 7C14 11.949 16.1104 14 21 14C16.1104 14 14 16.1104 14 21C14 16.1104 11.8747 14 7 14Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M1 5.5C4.13376 5.5 5.5 4.18153 5.5 1C5.5 4.18153 6.85669 5.5 10 5.5C6.85669 5.5 5.5 6.85669 5.5 10C5.5 6.85669 4.13376 5.5 1 5.5Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinejoin:"round"})]})})})},16711:(e,s,t)=>{"use strict";t.r(s),t.d(s,{Input:()=>r.p,InputDropdownSelect:()=>j,NumberInput:()=>v,TextAreaField:()=>
1d,TextareaInput:()=>i,getTextAreaFieldViewConfig:()=>c});var r=t(21712),a=t(54568),l=t(7620),o=t(32901),n=t(35192);let i=e=>{let{placeholder:s,inputText:t,setInputText:r,onInputClick:i,onInputClear:c,isReadOnly:d=!1,textSizeClass:u="text-3xl",autoFocusInit:p=!1,...h}=e,x=(0,l.useRef)(null);return(0,l.useEffect)(()=>{p&&setTimeout(()=>{var e;return null==(e=x.current)?void 0:e.focus()},1e3)},[p]),(0,a.jsx)(a.Fragment,{children:(0,a.jsxs)("div",{className:"relative -mr-2 flex h-full",children:[(0,a.jsx)("textarea",{ref:x,readOnly:d,placeholder:s,value:t,onChange:e=>r(e.target.value),onClick:i,disabled:null==h?void 0:h.disabled,className:(0,o.cn)("".concat(u," ").concat("w-full flex-grow min-h-[--textarea-min-height] cursor-text resize-none pr-5 focus-visible:outline-none disabled:bg-[--area-bg]")),...h}),!!(null==t?void 0:t.length)&&(0,a.jsxs)("div",{className:"absolute right-1 top-0",children:[(0,a.jsx)(n.b,{disabled:null==h?void 0:h.disabled,"aria-label":"Input clear button","aria-labelledby":"input-clear-button",onClick:c}),(0,a.jsx)("span",{id:"input-clear-button",className:"sr-only",children:"Input clear button"})]})]})})},c=e=>{let{readOnly:s,disabled:t,isError:r,noBorder:a}=e;return{textAreaClasses:(0,o.cn)("textarea-reset h-full min-h-[295px] w-full rounded-[--textarea-field-border-radius] border-[1px] border-solid py-4 pl-4 pr-11 text-base font-normal focus:border-[1px] focus:border-solid focus:placeholder-transparent lg:py-6 lg:pl-6","border-[--textarea-field-border] bg-[--textarea-field-bg] text-[--textarea-field-text] placeholder-[--textarea-field-placeholder] focus:border-[--textarea-field-border-hover]",{"border-none bg-[--textarea-field-bg-readonly] p-4 font-normal text-[--textarea-field-text-readonly] focus:border-none":s,"opacity-50 cursor-not-allowed":t,"border-[--textarea-field-border-error] focus:border-[--textarea-field-border-error]":r,"border-none p-0 pr-0 pr-11 hover:border-none bg-transparent focus:border-none":a})}},d=(0,l.forwardRef)((e,s)=>{let{className:t,readOnly:r,disabled:l,allowFocus:n=!0,theme:i,isError:d,noBorder:u,...p}=e,{textAreaClasses:h}=c({readOnly:r,disabled:l,isError:d,theme:i,noBorder:u});return(0,a.jsx)("textarea",{className:(0,o.cn)(h,t),readOnly:r||!n,autoComplete:"off",disabled:l,ref:s,...p})});var u=t(8192),p=t(24568),h=t(91979),x=t(8759),m=t(53627),f=t(55699);let j=e=>{let{size:s="small",dropdownOptions:t,activeItem:r,setActiveItem:n,title:i,showTitle:c=!1,titleSize:d="l",isDisabled:j=!1,style:C,className:v,isSearchable:g=!1,combined:b=!1,onClick:N}=e,{isToggled:y,toggle:w,close:k}=(0,u.useToggle)({initialState:!1}),S=(0,l.useRef)(null),A=(0,l.useRef)(null);(0,p.useClickOutside)(S,k);let[F,E]=(0,l.useState)(""),[R,T]=(0,l.useState)(!1),L=(0,l.useMemo)(()=>{var e;return null==(e=(Array.isArray(t[0])?t.flat():t).find(e=>e.key===(null==r?void 0:r.toString())))?void 0:e.title},[t,r]),M=(0,l.useMemo)(()=>{let e=F.trim().toLowerCase(),s=s=>s.filter(s=>s.title.toLowerCase().includes(e));if(Array.isArray(t[0])){let[e,r]=t;return[s(e),s(r)]}return[t.filter(s=>s.title.toLowerCase().includes(e))]},[F,t]),B=g?F:"",I=g&&R?"Find by name":L||"Select...",D=g&&(R||F.length>0),{buttonWidth:W="min-w-44",menuWidth:V="w-28",menuHeight:P="h-44"}=C||{},O=(0,o.cn)("".concat(W," ").concat({small:"h-[--dropdown-sm-height] py-[--dropdown-sm-padding-y] pl-[--dropdown-sm-padding-left] pr-[--dropdown-sm-padding-right] rounded-[--dropdown-sm-border-radius]",medium:"h-[--dropdown-md-height] py-[--dropdown-md-padding-y] pl-[--dropdown-md-padding-left] pr-[--dropdown-md-padding-right] rounded-[--dropdown-md-border-radius]",large:"h-[--dropdown-lg-height] py-[--dropdown-lg-padding-y] pl-[--dropdown-lg-padding-left] pr-[--dropdown-lg-padding-right] rounded-[--dropdown-lg-border-radius]"}[s]," animation-default gap-1 inline-flex justify-between items-center border border-[--input-border-width] border-[--input-border] bg-[--input-bg]"),"hover:border-[--input-border-hover] focus:border-[--input-border-focused] focus:outline-none focus:ring-0",D?"placeholder-[--gray-stone-dark]":"placeholder:text-inherit","placeholder:font-inherit",b?"border-2":"",j&&"bg-gray-100 text-gray-500 cursor-not-allowed",!g&&!j&&"cursor-pointer"),H=(0,o.cn)("".concat(V," ").concat({small:"top-9 rounded-[--dropdown-menu-sm-border-radius]",medium:"top-11 rounded-[--dropdown-menu-md-border-radius]",large:"top-[73px] rounded-[--dropdown-menu-lg-border-radius]"}[s]," min-w-min absolute cursor-pointer z-10 items-start justify-end border-[--dropdown-menu-border-w] border-[--dropdown-menu-border] bg-[--dropdown-menu] shadow-[0px_2px_8px_0px_rgba(0,0,0,0.25)] overflow-hidden")),_=(0,o.cn)("".concat(P," w-full ").concat({small:"py-3 gap-2",medium:"py-3 gap-2",large:"py-4 gap-2"}[s]," flex flex-col overflow-y-auto text-base text-gray-700 bg-[--dropdown-menu] overflow-hidden-x")),q=(0,o.cn)("".concat({small:"px-4 text-base",medium:"px-4 text-base",large:"px-[12px] text-md"}[s]," min-h-8 cursor-pointer block bg-[--dropdown-menu] flex items-center"),"transition-colors duration-200 ease-in-out","hover:bg-[--dropdown-item-hovered] hover:text-[--dropdown-text-hovered]"),z=(0,o.cn)("w-4 h-4 text-gray-500 transform transition-transform duration-200 ease-in-out",y&&"rotate-180"),G=g&&R?F?(0,a.jsx)("div",{className:"absolute right-2 top-1/2 -translate-y-1/2 cursor-pointer",onClick:e=>{var s;e.stopPropagation(),j||(E(""),null==(s=A.current)||s.focus())},children:(0,a.jsx)(h.XIcon,{className:"w-4 h-4 text-gray-500"})}):(0,a.jsx)("div",{className:"absolute right-2 top-1/2 -translate-y-1/2 pointer-events-none",children:(0,a.jsx)(x.SearchIcon,{className:"w-4 h-4 text-gray-500"})}):(0,a.jsx)("div",{className:"absolute right-2 top-1/2 -translate-y-1/2 pointer-events-none",children:(0,a.jsx)(m.O,{className:z})});return(0,a.jsxs)("div",{className:(0,o.cn)("relative",v),ref:S,children:[i&&c&&(0,a.jsx)("div",{className:(0,o.cn)({xs:"text-sm mb-1",s:"text-base",m:"text-lg",l:"text-xl mb-4"}[d]),children:i}),(0,a.jsxs)("div",{className:"relative",children:[(0,a.jsx)("input",{ref:A,type:"text",value:B,onClick:()=>{j||(w(),null==N||N())},onChange:g?e=>{E(e.target.value),y||w()}:void 0,disabled:j,placeholder:I,className:O,readOnly:!g,onFocus:()=>T(!0),onBlur:()=>T(!1)}),G]}),y&&(0,a.jsx)("div",{className:H,children:(0,a.jsx)("div",{className:_,"aria-labelledby":"dropdownDefaultButton",children:0===M.flat().length?(0,a.jsx)("div",{className:"px-3 text-[--stone-grey]",children:"No options foun
1d"}):M.map((e,s)=>(0,a.jsxs)("div",{className:"grid gap-2",children:[e.map(e=>{let s=e.key===(null==r?void 0:r.toString());return(0,a.jsxs)("div",{onClick:s=>{var t;return t=e.key,void(s.stopPropagation(),!j&&(n(t),E(""),k()))},className:(0,o.cn)(q,s&&"bg-[--dropdown-item-bg-selected] flex items-center justify-between relative"),children:[e.title,s&&(0,a.jsx)("span",{className:"text-[--dropdown-check] pr-2",children:(0,a.jsx)(f.CheckIcon,{})})]},e.key)}),0===s&&2===M.length&&M[0].length>0&&M[1].length>0&&(0,a.jsx)("div",{className:"h-px w-full bg-[--silver-grey]"})]},s))})})]})};var C=t(83631);function v(e){let{control:s,name:t,disabled:r=!1,onInputClear:i,onInputClick:c,className:d,minwords:u,maxwords:p,wordCount:h,step:x=1}=e,[m,f]=(0,l.useState)(!1),{field:{onChange:j,value:v,ref:g},fieldState:{error:b}}=(0,C.as)({control:s,name:t}),N=v||"",y="Number of output words ".concat(h>u?"(50 up to ".concat(h>p?p:h,")"):""),w=(0,o.cn)("flex w-full flex-grow gap-1 break-words rounded-[--input-radius] border-2 py-2 text-sm font-normal outline-none text-md focus:outline-none focus:ring-0 placeholder:text-[--primary-text] placeholder:text-md px-4 box-border h-10","border-[--input-border] bg-[--input-bg] text-[--input-text] placeholder-[--input-placeholder] focus:border-[--input-border-focused]",r&&"opacity-50 cursor-not-allowed",b&&"border-[--alert-red] focus:border-[--alert-red]",d),k=!!N&&!r;return(0,a.jsxs)("div",{className:"relative w-full",children:[(0,a.jsx)("input",{ref:g,type:"text",inputMode:"numeric",className:w,placeholder:m?"":y,value:N,disabled:r,min:u,max:p,step:x,onKeyDown:e=>{/[0-9]/.test(e.key)||["Backspace","Delete","ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Tab","Enter"].includes(e.key)||e.preventDefault()},onInput:e=>{j(e.target.value.replace(/[^0-9]/g,""))},onClick:c,onFocus:()=>{f(!0)},onBlur:()=>{f(!1)}}),k&&(0,a.jsx)("div",{className:"absolute right-4 top-2.5 h-5",children:(0,a.jsx)(n.b,{onClick:()=>{i?i():j("")}})}),b&&(0,a.jsx)("div",{className:"mt-1 text-sm font-normal text-[--alert-red]",children:b.message})]})}},17139:(e,s,t)=>{"use strict";t.r(s),t.d(s,{ChevronRightIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"25",height:"24",viewBox:"0 0 25 24",fill:"none",children:(0,r.jsx)("path",{d:"M9.5 6L15.5 12L9.5 18",stroke:"white",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},17422:(e,s,t)=>{"use strict";t.d(s,{BinaryCalcConvertToDecimal:()=>o});var r=t(54568),a=t(7620),l=t(65006);let o=e=>{let{app:s}=e,[t,o]=(0,a.useState)("10101010"),[n,i]=(0,a.useState)(""),[c,d]=(0,a.useState)(null),u=()=>{(0,l.wN)(t,i,d)},p=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("div",{className:p("calcWrap"),children:[(0,r.jsxs)("label",{className:p("inputWrap"),children:[(0,r.jsx)("div",{className:p("inputText"),children:"Binary Value"}),(0,r.jsx)("input",{className:p("inputStyle"),type:"textfield",name:"binary",value:t,onChange:e=>o(e.target.value),onKeyDown:e=>"Enter"===e.key&&u(),required:!0})]}),(0,r.jsxs)("div",{className:p("btnWrap"),children:[(0,r.jsx)("button",{className:p("btnYellow"),onClick:u,children:"Calculate"}),(0,r.jsx)("button",{className:p("btnGrey"),onClick:()=>{o(""),i(""),d(null)},children:"Clear"})]}),n&&(0,r.jsxs)("div",{className:p("resultError"),children:[(0,r.jsx)("div",{className:p("errorTitle"),children:"Error"}),(0,r.jsx)("div",{className:p("errorText"),children:n})]}),c&&(0,r.jsxs)("div",{className:p("resultSuccess"),children:[(0,r.jsx)("div",{className:p("resultTitle"),children:"calculatingApp"===s?"Result":"Calculation result"}),(0,r.jsx)("div",{className:p("resultWrap"),children:(0,r.jsxs)("p",{children:["Decimal value:",(0,r.jsxs)("span",{className:p("textSemibold"),children:[" ",c]})]})})]})]})}},17448:(e,s,t)=>{"use strict";t.r(s),t.d(s,{buildRequestUrl:()=>a,getDomainWithCorrectSuffix:()=>o,sendOrderFormData:()=>c,sendOrderFormFile:()=>n,setLandingContextCookie:()=>l,submitOrderForm:()=>i});var r=t(9876);let a=e=>{let s=e.initialUrl,t="";return e.front_id&&(t+="front_id=".concat(e.front_id)),e.access_token&&(t&&(t+="&"),t+="access_token=".concat(e.access_token)),t&&(s+="?".concat(t)),s},l=(e,s)=>{let t=encodeURIComponent(JSON.stringify({context:"order-form",payload:{front_id:e}}));(0,r.setCookie)({name:"landing_context",value:t,domain:s})},o=e=>{var s;let t=!!((null==e||null==(s=e.split("."))?void 0:s.length)&&e.split(".").length>1);switch(e){case"humaniser":return"humaniser.ai";case"detector":return"detector.io";default:return t?e:"".concat(e,".com")}},n=async(e,s,t,r)=>{let a=o(e),n="https://app.".concat(a,"/api/unregistered/file/").concat(r,"/create-upload-link/"),i=await fetch(n,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({content_type:s,file_name:t,front_id:r})});if(!i.ok){let e="HTTP Error! Status: ".concat(i.status);try{let s=await i.json();s.detail&&(e=s.detail)}catch(e){console.error("Failed to parse error response")}throw Error(e)}l(r,".".concat(a))},i=async e=>{let{topic:s,selectedAssignmentType:t,selectedSubject:r,selectedDeadline:a,assignmentTypes:o,subjects:n,deadlines:i,academic_level_title:d="Bachelor's",words_count:u,instructions:p,has_file:h,appUrl:x,cookieDomain:m,frontId:f}=e,j=crypto.randomUUID(),C=t?null==o?void 0:o.find(e=>e.title===t):void 0,v=r?null==n?void 0:n.find(e=>e.title===r):void 0,g=a?null==i?void 0:i.find(e=>e.title===a):void 0,b={front_id:f||j,...s&&{topic:s},...C&&{assignment_type:C.value},...v&&{subject:v.title},...g&&{deadline:new Date(Date.now()+36e5*g.urgency).toISOString()},...d&&{academic_level_title:d},...u&&{words_count:u},...p&&{instructions:p},...h&&{has_file:h}};await c(x,b),f||l(j,m)},c=async(e,s)=>{let t=await fetch("".concat(e,"/api/order/order-form/"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(s)});if(!t.ok){let e="HTTP Error! Status: ".concat(t.status);try{let s=await t.json();s.detail&&(e=s.detail)}catch(e){console.error("Failed to parse error response")}throw Error(e)}}},17786:(e,s,t)=>{"use strict";t.r(s),t.d(s,{Toggle:()=>a});var r=t(54568);let a=e=>{let{size:s="small",text:t,setToggleState:a,defaultValue:l=!1,isDisabled:o=!1}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("label",{className:"inline-flex cursor-pointer items-center justify-between",children:[(0,r.jsx)("div",{className:{small:"text-center text-label text-base mr-2",medium:"",large:"text-center text-label text-xl mr-2"}[s],id:"ai-generator-toggle",children:t}),(0,r.jsx)("input",{type:"checkbox",checked:l,onChange:e=>!o&&a(e.target.checked),className:"peer sr-only"}),(0,r.jsx)("div",{className:"\n    relative\n    min-w-12 w-12 h-6\n    rounded-full\n   \
1n    bg-[--toggle-bg]\n    after:content-['']\n    after:absolute\n    after:top-[2px]\n    after:start-[2px]\n    after:bg-[--toggle-circle-inactive]\n    after:border-[--toggle-circle-inactive]\n    after:border\n    after:rounded-full\n    after:h-5\n    after:w-5\n    after:transition-all duration-300 ease-in-out\n    \n    peer\n    peer-checked:after:translate-x-6\n    rtl:peer-checked:after:-translate-x-6\n    peer-checked:after:border-[--toggle-circle-active]\n    peer-checked:after:bg-[--toggle-circle-active]\n    peer-checked:bg-[--toggle-bg]\n    peer-hover:ring-[--toggle-border-hover]]\n    \n    ring-1\n    ring-[--toggle-border]\n    hover:ring-[--toggle-border-hover]\n  ","aria-label":t,"aria-labelledby":"ai-generator-toggle",role:"switch"})]})})}},19484:(e,s,t)=>{"use strict";t.r(s),t.d(s,{Country:()=>a,useCountry:()=>l});var r=t(50705),a=function(e){return e.UK="GB",e.NewZealand="NZ",e.RepublicOfIreland="IE",e.Australia="AU",e}({});let l=()=>{let{timeZone:e}=Intl.DateTimeFormat().resolvedOptions(),s=(0,r.Md)(e);return(null==s?void 0:s.countries.find(e=>Object.values(a).includes(e)))||null}},21712:(e,s,t)=>{"use strict";t.d(s,{p:()=>o});var r=t(54568),a=t(35192),l=t(32901);let o=e=>{let{placeholder:s,inputText:t,disabled:o=!1,variant:n="editable",setInputText:i,onInputClear:c,onInputClick:d,icon:u,combined:p,className:h,isError:x,...m}=e,f=(e=>{let{variant:s="editable",hasIcon:t=!1,disabled:r=!1,isError:a=!1,combined:o=!1}=null!=e?e:{};return(0,l.cn)("flex w-full flex-grow gap-1 break-words rounded-[--input-radius] border py-3 text-sm font-normal outline-none text-md focus:outline-none focus:ring-0 placeholder:text-[--primary-text] placeholder:text-md pr-8",t?"pl-11":"px-4","editable"===s&&"border-[--input-border] bg-[--input-bg] text-[--input-text] placeholder-[--input-placeholder] focus:border-[--input-border-focused]","read-only"===s&&"items-center text-center border-[--input-border-readonly] bg-[--input-bg-readonly] text-[--default-label-text] focus:border-[--input-border-readonly]",a&&"border-[--alert-red] focus:border-[--alert-red] text-[--alert-red] placeholder-[--alert-red] bg-[--fade-red]",r&&"opacity-50 cursor-not-allowed",o?"border-2":"")})({variant:n,hasIcon:!!u,disabled:o,isError:x,combined:p}),j=!!t&&!o&&"read-only"!==n&&"function"==typeof c;return(0,r.jsxs)("div",{className:"relative w-full",children:[(0,r.jsx)("input",{...m,className:(0,l.cn)(f,h),placeholder:s,value:t,disabled:o,readOnly:"read-only"===n,onChange:e=>null==i?void 0:i(e.target.value),onClick:d}),u&&(0,r.jsx)("span",{className:(0,l.cn)("absolute left-4 top-1/2 -translate-y-1/2 text-[--input-icon]",x&&"text-[--alert-red]"),children:u}),j&&(0,r.jsx)("div",{className:"absolute right-2 top-1/2 -translate-y-1/2 h-5",children:(0,r.jsx)(a.b,{onClick:c})})]})}},22582:(e,s,t)=>{"use strict";t.d(s,{FibonacciSequenceCalc:()=>l});var r=t(54568),a=t(7620);let l=e=>{let{app:s}=e,[t,l]=(0,a.useState)(10),[o,n]=(0,a.useState)(null),[i,c]=(0,a.useState)(""),d=e=>{if(e.preventDefault(),t<=0){c("Please provide a positive integer as the number to obtain."),n(null);return}let s=[],r=0,a=1,l=0;for(let e=0;e<=t;e++){s.push(r),l+=r;let e=r+a;r=a,a=e}n({nthTerm:s[t],sum:l}),c("")},u=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("form",{className:u("calcWrap"),onSubmit:d,children:[(0,r.jsxs)("label",{className:u("inputWrap"),htmlFor:"firstNumber",children:[(0,r.jsx)("div",{className:u("inputText"),children:"the first number"}),(0,r.jsx)("input",{className:u("inputStyle"),type:"number",id:"firstNumber",value:isNaN(Number(t))?"":t,onChange:e=>l(""===e.target.value?NaN:Number(e.target.value)),onKeyDown:e=>"Enter"===e.key&&d(e),inputMode:"numeric",required:!0})]}),(0,r.jsxs)("div",{className:"".concat(u("btnWrap")," last"),children:[(0,r.jsx)("button",{className:u("btnYellow"),type:"submit",children:"Calculate"}),(0,r.jsx)("button",{className:u("btnGrey"),onClick:()=>{l(0),n(null),c("")},children:"Clear"})]}),i&&(0,r.jsxs)("div",{className:u("resultError"),children:[(0,r.jsx)("div",{className:u("errorTitle"),children:"Error"}),(0,r.jsx)("div",{className:u("errorText"),children:i})]}),o&&(0,r.jsxs)("div",{className:u("resultSuccess"),children:[(0,r.jsx)("div",{className:u("resultTitle"),children:"calculatingApp"===s?"Result":"Calculation result"}),(0,r.jsxs)("div",{className:u("resultWrap"),children:[(0,r.jsx)("p",{children:"Sequence: 1, 1, 2, 3, 5, 8, 13, 21, 34, 55, 89, ..."}),(0,r.jsxs)("p",{children:["calculatingApp"===s?"The ".concat(t,"th term in the sequence is"):(0,r.jsxs)(r.Fragment,{children:[t,(0,r.jsx)("sup",{children:"th"})," value:"]})," ",(0,r.jsx)("span",{className:u("textSemibold"),children:o.nthTerm})]}),(0,r.jsxs)("p",{children:["calculatingApp"===s?"The sum of the sequence through the ".concat(t,"th term is"):(0,r.jsxs)(r.Fragment,{children:["The sum of all numbers up through the ",t,(0,r.jsx)("sup",{children:"th"}),":"]})," ",(0,r.jsx)("span",{className:u("textSemibold"),children:o.sum})]})]})]})]})}},23220:(e,s,t)=>{"use strict";t.r(s),t.d(s,{createRemoteFileRetriever:()=>l});var r=t(86912),a=t(15805);function l(e,s,t){return{getFileUrl:function(l){if(e===r.O.LOCAL)return l;if(!s)return"";let o=(0,a.Y)(e,s);return"https://".concat(o).concat(t).concat(l)}}}},24568:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useClickOutside:()=>a});var r=t(7620);let a=(e,s)=>{let t=t=>{!e.current||e.current.contains(t.target)||t.composedPath().includes(e.current)||s()};(0,r.useEffect)(()=>(document.addEventListener("click",t),()=>{document.removeEventListener("click",t)}))}},25009:(e,s,t)=>{"use strict";t.d(s,{RectangularTankSurfaceArea:()=>n});var r=t(54568),a=t(7620),l=t(16413),o=t(89856);let n=e=>{let{app:s,RectangularTankSurfaceImage:t}=e,[n,i]=(0,a.useState)(""),[c,d]=(0,a.useState)(""),[u,p]=(0,a.useState)(""),[h,x]=(0,a.useState)({length:"meters",width:"meters",height:"meters"}),[m,f]=(0,a.useState)(null),[j,C]=(0,a.useState)([]),v=(e,s,t)=>{let r=parseFloat(e),a=parseFloat(s),l=parseFloat(t),o=[];return(isNaN(r)||r<=0)&&o.push("The length needs to be positive. "),(isNaN(a)||a<=0)&&o.push("The width needs to be positive."),(isNaN(l)||l<=0)&&o.push("The height needs to be positive."),C(o),0===o.length},g=(e,s)=>"meters"===s?e:(0,o.i)(e,s),b=()=>{if(C([]),f(null),!v(n,c,u))return;let e=parseFloat(n),s=parseFloat(c),t=parseFloat(u);if(v(n,c,u)){let r=(0,o.i)(e,h.length),a=((e,s,t)=>{let r=(0,o.i)(e.value,e.unit),a=(0,o.i)(s.value,s.unit),l=(0,o.i)(t.value,t.unit);return 2*(r*a+a*l+r*l)})({value:r,unit:"meters"},{value:(0,o.i)(s,h.width),unit:"meters"},{value:(0,o.i)(t,h.height),unit:"meters"}),l=(e,s)=>e/(0,o.i)(1,s)**2,n=l(a,h.length),i=l(a,h.width),c=l(a,h.height);f({lengthSurfaceArea:n.toString(),widthSurfaceArea:i.toString(),heightSurfaceArea:c.toString()})}},N=e=>"".concat(s,"-").concat(e),y=(e,s)=>{x(t=>({...t,[e]:s}))};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:N("calcWrap"),children:[(0,r.jsxs)("div",{className:N("surCalcWrap"),children:[(0,r.jsxs)("div",{className:N("surCalcCol"),children:[(0,r.jsxs)("div",{className:N("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:N("inputText"),children:"Length (l)"}),(0,r.jsxs)("div",{className:N("surCalcInputRow"),children:[(0,r.jsx)("label",{className:N("inputWrap"),htmlFor:"length",children:(0,r.jsx)("input",{className:N("surInputStyle"),type:"text",id:"length",value:n,onChange:e=>i(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&b(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:N("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:h.length,setSelectedOption:e=>y("length",e),app:s})})]})]}),(0,r.jsxs)("div",{className:N("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:N("inputText"),children:"Width (w)"}),(0,r.jsxs)("div",{className:N("surCalcInputRow"),children:[(0,r.jsx)("label",{className:N("inputWrap"),htmlFor:"width",children:(0,r.jsx)("input",{className:N("surInputStyle"),type:"text",id:"width",value:c,onChange:e=>d(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&b(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:N("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:h.width,setSelectedOption:e=>y("width",e),app:s})})]})]}),(0,r.jsxs)("div",{className:N("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:N("inputText"),children:"Height (h)"}),(0,r.jsxs)("div",{className:N("surCalcInputRow"),children:[(0,r.jsx)("label",{className:N("inputWrap"),htmlFor:"height",children:(0,r.jsx)("input",{className:N("surInputStyle"),type:"text",id:"rectangularHeight",value:u,onChange:e=>p(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&b(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:N("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:h.height,setSelectedOption:e=>y("height",e),app:s})})]})]}),(0,r.jsxs)("div",{className:N("btnWrap surfaceCalc"),children:[(0,r.jsx)("button",{className:N("btnYellow"),onClick:b,children:"Calculate"}),(0,r.jsx)("button",{className:N("btnGrey"),onClick:()=>{i(""),d(""),p(""),x({length:"meters",width:"meters",height:"meters"}),f(null),C([])},children:"Clear"})]})]}),(0,r.jsx)("div",{className:N("pyImgWrap surImgWrap"),children:t})]}),(m||j.length>0)&&(0,r.jsxs)("div",{className:"".concat(N(m&&0===j.length?"resultSuccess":"resultError")),children:[(0,r.jsx)("div",{className:"".concat(N(m&&0===j.length?"resultTitle":"errorTitle")),children:"calculatingApp"===s?"Result":"Calculation result"}),m&&0===j.length&&(0,r.jsxs)("div",{className:N("surResultWrap"),children:[(0,r.jsxs)("div",{className:N("surResult"),children:[(0,r.jsx)("p",{className:N("surResultText"),children:"Surface Area"}),(0,r.jsx)("div",{children:(0,r.jsxs)("p",{className:"mb-2",children:["= ",(()=>{let e=g(Number(n),h.length),s=g(Number(c),h.width),t=g(Number(u),h.height);return"2 \xd7 (".concat(e," \xd7 ").concat(s," + ").concat(e," \xd7 ").concat(t," + ").concat(s," \xd7 ").concat(t,")")})()," ="," ",(0,r.jsxs)("span",{className:"font-bold",children:[m.lengthSurfaceArea," ",h.length,(0,r.jsx)("sup",{children:"2"})]})]})})]}),h.length!==h.width&&(0,r.jsxs)("div",{className:N("surResult"),children:[(0,r.jsx)("p",{className:N("surResultText"),children:"Surface Area"}),(0,r.jsx)("div",{children:(0,r.jsxs)("p",{className:"mb-2",children:["= 2 \xd7 (",n," \xd7 ",c," + ",n," \xd7 ",u," +"," ",c," \xd7 ",u,") ="," ",(0,r.jsxs)("span",{className:"font-bold",children:[m.widthSurfaceArea," ",h.width,(0,r.jsx)("sup",{children:"2"})]})]})})]}),h.width!==h.height&&h.length!==h.height&&(0,r.jsxs)("div",{className:N("surResult"),children:[(0,r.jsx)("p",{className:N("surResultText"),children:"Surface Area"}),(0,r.jsx)("div",{children:(0,r.jsxs)("p",{className:"mb-2",children:["= 2 \xd7 (",n," \xd7 ",c," + ",n," \xd7 ",u," +"," ",c," \xd7 ",u,") ="," ",(0,r.jsxs)("span",{className:"font-bold",children:[m.heightSurfaceArea," ",h.height,(0,r.jsx)("sup",{children:"2"})]})]})})]})]}),j.length>0&&!m&&(0,r.jsx)("div",{className:N("redErrorText"),children:j.map((e,s)=>(0,r.jsx)("div",{children:e},s))})]})]})})}},25252:(e,s,t)=>{"use strict";
1t.d(s,{V:()=>o});var r=t(54568),a=t(7620),l=t(80512);let o=e=>{let{children:s,buttonProps:t,inputProps:o,onChange:n,onBlur:i,value:c,className:d,icon:u,variant:p,theme:h,size:x,isDisabled:m,...f}=e,j=(0,a.useRef)(null);return(0,r.jsxs)("div",{...f,children:[(0,r.jsx)("input",{type:"file",accept:".txt,.doc,.docx,.pdf",ref:j,hidden:!0,onChange:n,onBlur:i,value:c,disabled:m,...o}),(0,r.jsx)(l.K,{onClick:()=>{var e;null==(e=j.current)||e.click()},theme:h,variant:p,isDisabled:m,className:d,icon:u,size:x,...t,children:s})]})}},25301:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useBodyResizeObserver:()=>l,useContainerResizeObserver:()=>a});var r=t(7620);let a=()=>{let e=(0,r.useRef)(null),[s,t]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let s=new ResizeObserver(e=>{e[0]&&t(e[0].contentRect.width)});return e.current&&s.observe(e.current),()=>s.disconnect()},[]),{ref:e,width:s}},l=()=>{let[e,s]=(0,r.useState)(0);return(0,r.useEffect)(()=>{let e=new ResizeObserver(e=>{e[0]&&s(e[0].contentRect.width)});return document.body&&e.observe(document.body),()=>e.disconnect()},[]),{width:e}}},28487:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useLazyList:()=>a});var r=t(7620);function a(e){let{items:s,initialCount:t=10,loadCount:a=t}=e,[l,o]=(0,r.useState)(t),n=(0,r.useRef)(null);(0,r.useEffect)(()=>{o(t)},[s,t]);let i=(0,r.useCallback)(e=>{"undefined"!=typeof IntersectionObserver&&(n.current&&n.current.disconnect(),n.current=new IntersectionObserver(e=>{e[0].isIntersecting&&o(e=>Math.min(e+a,s.length))}),e&&n.current.observe(e))},[a,s.length]);return{visibleItems:(0,r.useMemo)(()=>s.slice(0,l),[s,l]),lastItemRef:i,hasMoreItems:l<s.length}}},31199:(e,s,t)=>{"use strict";t.r(s),t.d(s,{ReplyIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,r.jsx)("path",{d:"M1.66666 8.33333H13.3333C20 8.33333 20 17.5 13.3333 17.5M1.66666 8.33333L7.49999 2.5M1.66666 8.33333L7.49999 14.1667",stroke:"#42445A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},31579:(e,s,t)=>{"use strict";t.r(s),t.d(s,{CarouselItem:()=>n});var r=t(54568),a=t(7620),l=t(32901),o=t(6141);let n=a.forwardRef((e,s)=>{let{className:t,...a}=e,{orientation:n}=(0,o.useCarousel)();return(0,r.jsx)("div",{ref:s,role:"group","aria-roledescription":"slide",className:(0,l.cn)("min-w-0 shrink-0 grow-0 basis-full","horizontal"===n?"pl-4":"pt-4",t),...a})});n.displayName="CarouselItem"},31596:(e,s,t)=>{"use strict";t.r(s),t.d(s,{Telegram64Icon:()=>a});var r=t(54568);let a=()=>(0,r.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M32.0905 64.001H31.9073C14.2851 64.001 0 49.7158 0 32.0937V31.9105C0 14.2884 14.2851 0.000976562 31.9073 0.000976562H32.0905C49.7126 0.000976562 64 14.2884 64 31.9105V32.0937C64 49.7158 49.7126 64.001 32.0905 64.001Z",fill:"#4EB2E8"}),(0,r.jsx)("path",{d:"M12.1187 30.9085C12.2084 30.8637 12.2981 30.8226 12.3855 30.7816C13.905 30.0754 15.4465 29.4179 16.9858 28.7581C17.0694 28.7581 17.2093 28.6624 17.2876 28.6297C17.4061 28.5787 17.5247 28.5286 17.6433 28.4776C17.8713 28.3803 18.1009 28.2831 18.3282 28.1842C18.7835 27.9896 19.2411 27.795 19.6987 27.5982C20.6109 27.209 21.5238 26.8175 22.4367 26.4268C24.2618 25.6462 26.0891 24.8663 27.9142 24.0841C29.7393 23.3034 31.5666 22.5213 33.3917 21.7406C35.2175 20.9607 37.0426 20.1785 38.87 19.3979C40.695 18.618 42.5201 17.8358 44.3475 17.0552C44.7541 16.8803 45.1943 16.6196 45.626 16.5436C45.9916 16.479 46.3481 16.3528 46.716 16.2829C47.4146 16.1506 48.1831 16.0959 48.8505 16.384C49.0823 16.4851 49.2944 16.6272 49.473 16.8043C50.3198 17.6427 50.2012 19.0186 50.0219 20.1975C48.773 28.4191 47.5233 36.6407 46.2744 44.8623C46.1026 45.9895 45.8715 47.227 44.9799 47.9393C44.2266 48.5421 43.1548 48.6105 42.2244 48.3536C41.294 48.0966 40.4731 47.5554 39.6696 47.0226C36.3304 44.8121 32.9911 42.6016 29.6519 40.3904C28.8583 39.8652 27.9743 39.1788 27.9841 38.2271C27.9879 37.6532 28.3308 37.1431 28.6812 36.6878C31.5803 32.9031 35.7702 30.3012 38.8837 26.6913C39.3215 26.1836 39.6696 25.2631 39.0646 24.9689C38.7065 24.7963 38.2938 25.0312 37.9669 25.2593C33.8508 28.1196 29.734 30.9785 25.
16178 33.8389C24.2755 34.7708 22.8662 35.7323 21.2471 35.9596C19.7998 36.1664 18.3419 35.7635 16.9409 35.3507C15.7658 35.0064 14.5944 34.6499 13.4246 34.2866C12.8043 34.0935 12.1635 33.8852 11.6831 33.4474C11.2027 33.0118 10.9283 32.276 11.2164 31.6922C11.3973 31.3289 11.7493 31.0971 12.1187 30.9085Z",fill:"#FEFFFB"})]})},32022:(e,s,t)=>{"use strict";t.r(s),t.d(s,{ReloadIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,r.jsx)("g",{clipPath:"url(#clip0_2337_548)",children:(0,r.jsx)("path",{d:"M17.6402 6.6665C16.3542 3.72333 13.4174 1.6665 10.0002 1.6665C5.67912 1.6665 2.12616 4.9554 1.70806 9.1665M18.3336 2.49984V6.1665C18.3336 6.44265 18.1097 6.6665 17.8336 6.6665H14.1669M2.40146 13.3332C3.68739 16.2763 6.62419 18.3332 10.0414 18.3332C14.3625 18.3332 17.9155 15.0443 18.3336 10.8332M1.70801 17.4998V13.8332C1.70801 13.557 1.93187 13.3332 2.20801 13.3332H5.87467",stroke:"#42445A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_2337_548",children:(0,r.jsx)("rect",{width:"20",height:"20",fill:"white"})})})]})},32065:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useOutOfViewport:()=>a});var r=t(7620);function a(e,s){(0,r.useEffect)(()=>{let t=()=>{let t=e.current;t&&t.getBoundingClientRect().top>window.innerHeight&&s()};return window.addEventListener("scroll",t,{passive:!0}),()=>{window.removeEventListener("scroll",t)}},[e,s])}},32374:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useApplePlatformDetection:()=>a});var r=t(7620);let a=()=>({isApplePlatform:(0,r.useMemo)(()=>{let e=navigator.userAgent;return/iPad|iPhone|iPod|Macintosh/.test(e)||navigator.maxTouchPoints>1},[])})},32522:(e,s,t)=>{"use strict";t.r(s),t.d(s,{GraduationCapIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M22.4996 13V9.49998L20.4996 8.49998M4.49957 10.5V15.9121C4.49957 16.6843 4.94416 17.3876 5.64177 17.7188L10.6418 20.0927C11.1846 20.3505 11.8145 20.3505 12.3574 20.0927L17.3574 17.7188C18.055 17.3876 18.4996 16.6843 18.4996 15.9121V10.5M11.2312 4.13414L2.57288 8.46332C2.13065 8.68444 2.13065 9.31552 2.57288 9.53664L11.2312 13.8658C11.4002 13.9503 11.599 13.9503 11.7679 13.8658L20.4263 9.53664C20.8685 9.31552 20.8685 8.68444 20.4263 8.46332L11.7679 4.13414C11.599 4.04969 11.4002 4.04969 11.2312 4.13414Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},32574:(e,s,t)=>{"use strict";t.d(s,{ArithmeticSequenceCalc:()=>l});var r=t(54568),a=t(7620);let l=e=>{let{app:s}=e,[t,l]=(0,a.useState)(2),[o,n]=(0,a.useState)(5),[i,c]=(0,a.useState)(20),[d,u]=(0,a.useState)(null),[p,h]=(0,a.useState)(""),x=e=>{e.preventDefault();let s=Number(t),r=Number(o),a=Number(i);if(a<=0){h("Please provide a positive integer as the number to obtain."),u(null);return}let l=s+r*(a-1),n=Array.from({length:9},(e,t)=>s+t*r);u({nthTerm:l,sum:a*(s+l)/2,sequenceText:"Sequence: ".concat(n.join(", ")," ...")}),h("")},m=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("form",{className:m("calcWrap"),onSubmit:x,children:[(0,r.jsxs)("label",{className:m("inputWrap"),htmlFor:"firstNumber",children:[(0,r.jsx)("div",{className:m("inputText"),children:"the first number"}),(0,r.jsx)("input",{className:m("inputStyle"),type:"number",id:"firstNumber",value:isNaN(Number(t))?"":t,onChange:e=>l(""===e.target.value?NaN:Number(e.target.value)),onKeyDown:e=>"Enter"===e.key&&x(e),inputMode:"numeric",required:!0})]}),(0,r.jsxs)("label",{className:m("inputWrap"),htmlFor:"commonDifference",children:[(0,r.jsx)("div",{className:m("inputText"),children:"common difference(f)"}),(0,r.jsx)("input",{className:m("inputStyle"),type:"number",id:"commonDifference",value:isNaN(Number(o))?"":o,onChange:e=>n(""===e.target.value?NaN:Number(e.target.value)),onKeyDown:e=>"Enter"===e.key&&x(e),inputMode:"numeric",required:!0})]}),(0,r.jsxs)("label",{className:m("inputWrap"),htmlFor:"nthNumber",children:[(0,r.jsxs)("div",{className:m("inputText"),children:["the n",(0,r.jsx)("sup",{children:"th"})," number to obtain"]}),(0,r.jsx)("input",{className:m("inputStyle"),type:"number",id:"nthNumber",value:isNaN(Number(i))?"":i,onChange:e=>c(""===e.target.value?NaN:Number(e.target.value)),onKeyDown:e=>"Enter"===e.key&&x(e),inputMode:"numeric",required:!0})]}),(0,r.jsxs)("div",{className:m("btnWrap"),children:[(0,r.jsx)("button",{className:m("btnYellow"),type:"submit",children:"Calculate"}),(0,r.jsx)("button",{className:m("btnGrey"),onClick:()=>{l(0),n(0),c(0),u(null),h("")},children:"Clear"})]}),p&&(0,r.jsxs)("div",{className:m("resultError"),children:[(0,r.jsx)("div",{className:m("errorTitle"),children:"Error"}),(0,r.jsx)("div",{className:m("errorText"),children:p})]}),d&&(0,r.jsxs)("div",{className:m("resultSuccess"),children:[(0,r.jsx)("div",{className:m("resultTitle"),children:"calculatingApp"===s?"Result":"Calculation result"}),(0,r.jsxs)("div",{className:m("resultWrap"),children:[(0,r.jsx)("p",{children:d.sequenceText}),(0,r.jsxs)("p",{children:["calculatingApp"===s?"The ".concat(i,"th term in the sequence is"):(0,r.jsxs)(r.Fragment,{children:[i,(0,r.jsx)("sup",{children:"th"})," value:"]})," ",(0,r.jsx)("span",{className:m("textSemibold"),children:d.nthTerm})]}),(0,r.jsxs)("p",{children:["calculatingApp"===s?"The sum of the sequence through the ".concat(i,"th term is"):(0,r.jsxs)(r.Fragment,{children:["The sum of all numbers up through the ",i,(0,r.jsx)("sup",{children:"th"}),":"]})," ",(0,r.jsx)("span",{className:m("textSemibold"),children:d.sum})]})]})]})]})}},32901:(e,s,t)=>{"use strict";t.d(s,{cn:()=>l});var r=t(72902),a=t(13714);function l(){for(var e=arguments.length,s=Array(e),t=0;t<e;t++)s[t]=arguments[t];return(0,a.QP)((0,r.$)(s))}},34666:(e,s,t)=>{"use strict";t.r(s),t.d(s,{ArrowRight2Icon:()=>a});var r=t(54568);let a=e=>{let{className:s}=e;return(0,r.jsx)("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:s,children:(0,r.jsx)("path",{d:"M6 12H18.5M18.5 12L12.5 6M18.5 12L12.5 18",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})})}},34837:(e,s,t)=>{"use strict";t.r(s),t.d(s,{CarouselPrevious:()=>n});var r=t(54568),a=t(7620),l=t(32901),o=t(6141);let n=(0,a.forwardRef)((e,s)=>{let{className:t,children:a,hideOnCantScroll:n,...i}=e,{orientation:c,scrollPrev:d,canScrollPrev:u}=(0,o.useCarousel)();
1return(0,r.jsx)("button",{ref:s,type:"button",className:(0,l.cn)("text-[--gun-powder-grey absolute flex h-8 w-8 items-center justify-center rounded-full bg-[--light-fog-grey] p-1.5","horizontal"===c?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",n&&!u?"opacity-0":"opacity-100",t),disabled:!u,onClick:d,...i,children:a})});n.displayName="CarouselPrevious"},35192:(e,s,t)=>{"use strict";t.d(s,{b:()=>o});var r=t(54568),a=t(91979),l=t(55247);let o=e=>{let{variant:s="no-background",...t}=e;return(0,r.jsx)(l.K,{IconTypeComponent:a.XIcon,variant:s,...t})}},35656:(e,s,t)=>{"use strict";t.d(s,{HexCalcActions:()=>n});var r=t(54568),a=t(7620),l=t(16413),o=t(36070);let n=e=>{let{app:s}=e,[t,n]=(0,a.useState)("8AB"),[i,c]=(0,a.useState)("B78"),[d,u]=(0,a.useState)(""),[p,h]=(0,a.useState)(""),[x,m]=(0,a.useState)("+"),[f,j]=(0,a.useState)({resultError:!1,resultValueHex:null,resultValueDecimal:null,resultMessageHex:"",resultMessageDecimal:"",resultReminderHex:"",resultReminderDecimal:"",resultReminder:!1}),C=()=>{if((0,o.Am)(t)&&(0,o.Am)(i)){let e,s=(0,o.Ks)(t),r=(0,o.Ks)(i),a=s%r,l=!1;switch(x){case"+":e=s+r;break;case"-":e=s-r;break;case"\xd7":e=s*r;break;case"\xf7":if(0===r){h("The result of dividing by zero is undefined."),j({resultError:!0,resultValueHex:null,resultValueDecimal:null,resultMessageHex:"",resultMessageDecimal
1:"",resultReminderHex:"",resultReminderDecimal:"",resultReminder:!1});return}e=Math.floor(s/r),0!=a&&(l=!0);break;default:return}j({resultError:!1,resultValueHex:" ".concat((0,o.aJ)(e)),resultValueDecimal:" ".concat(e),resultMessageHex:"".concat((0,o.aJ)(s)," ").concat(x," ").concat((0,o.aJ)(r)),resultMessageDecimal:"".concat(s," ").concat(x," ").concat(r),resultReminderHex:" Reminder: ".concat((0,o.aJ)(a)),resultReminderDecimal:" Reminder: ".concat(a),resultReminder:l}),u(""),h("")}else{(0,o.Am)(t)||u("The first number need to contain 0-9 and A-F only."),(0,o.Am)(i)||h("The second number need to contain 0-9 and A-F only."),j({resultError:!0,resultValueHex:null,resultValueDecimal:null,resultMessageHex:"",resultMessageDecimal:"",resultReminderHex:"",resultReminderDecimal:"",resultReminder:!1});return}},v=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("div",{className:v("calcWrap"),children:[(0,r.jsxs)("label",{className:v("inputWrap"),children:[(0,r.jsx)("div",{className:v("inputText"),children:"the first number"}),(0,r.jsx)("input",{className:v("inputStyle"),type:"textfield",name:"firstHex",value:t,onChange:e=>n(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&C(),required:!0})]}),(0,r.jsxs)("div",{className:v("inputWrap"),children:[(0,r.jsx)("div",{className:v("inputText"),children:"operation"}),(0,r.jsx)("div",{className:v("selectWrap"),children:(0,r.jsx)(l.SelectOld,{options:["+","-","\xd7","\xf7"],selectedOption:x,setSelectedOption:m,app:"calculatorProfessional"})})]}),(0,r.jsxs)("label",{className:v("inputWrap"),children:[(0,r.jsx)("div",{className:v("inputText"),children:"the second number"}),(0,r.jsx)("input",{className:v("inputStyle"),type:"textfield",name:"firstHex",value:i,onChange:e=>c(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&C(),required:!0})]}),(0,r.jsxs)("div",{className:v("btnWrap"),children:[(0,r.jsx)("button",{className:v("btnYellow"),onClick:C,children:"Calculate"}),(0,r.jsx)("button",{className:v("btnGrey"),onClick:()=>{n(""),c(""),u(""),h(""),j({resultError:!1,resultValueHex:null,resultValueDecimal:null,resultMessageHex:"",resultMessageDecimal
1:"",resultReminderHex:"",resultReminderDecimal:"",resultReminder:!1})},children:"Clear"})]}),f.resultError&&(0,r.jsxs)("div",{className:v("resultError"),children:[(0,r.jsx)("div",{className:v("errorTitle"),children:"Error"}),(0,r.jsx)("div",{className:v("errorText"),children:d}),(0,r.jsx)("div",{className:v("errorText"),children:p})]}),f.resultValueHex&&(0,r.jsxs)("div",{className:v("resultSuccess"),children:[(0,r.jsx)("div",{className:v("resultTitle"),children:"calculatingApp"===s?"Result":"Calculation result"}),(0,r.jsxs)("div",{className:v("resultWrap"),children:[(0,r.jsx)("p",{children:"Hex value:"}),(0,r.jsxs)("p",{children:[f.resultMessageHex," =",(0,r.jsx)("span",{className:v("textSemibold"),children:f.resultValueHex}),f.resultReminder&&(0,r.jsx)("span",{className:v("textSemibold"),children:f.resultReminderHex})]}),(0,r.jsx)("p",{children:"Decimal value:"}),(0,r.jsxs)("p",{children:[f.resultMessageDecimal," =",(0,r.jsx)("span",{className:v("textSemibold"),children:f.resultValueDecimal}),f.resultReminder&&(0,r.jsx)("span",{className:v("textSemibold"),children:f.resultReminderDecimal})]})]})]})]})}},36070:(e,s,t)=>{"use strict";t.d(s,{Am:()=>r,Ks:()=>o,aJ:()=>l,sD:()=>a});let r=e=>/^[0-9A-Fa-f]+$/.test(e),a=e=>/^-?\d+$/.test(e),l=e=>e.toString(16).toUpperCase(),o=e=>parseInt(e,16)},36211:(e,s,t)=>{"use strict";t.r(s),t.d(s,{InputCharactersCounter:()=>a});var r=t(54568);let a=e=>{let{value:s,maxLength:t,minLenght:a,isError:l}=e,o=null==s?void 0:s.length,n=l?"border-[--error]":o>0?"border-[--progress]":"border-[--default-border]";return(0,r.jsxs)("div",{className:"relative",children:[(0,r.jsx)("div",{className:"border-b-[1px] ".concat(n," ").concat(l?"text-[--error]":"text-[--light-label-text]"," text-right text-sm"),"aria-label":"Characters counter","aria-labelledby":"characters-counter",role:"status",children:(0,r.jsxs)("span",{id:"characters-counter",children:[o,"/",t]})}),l&&(0,r.jsxs)("div",{className:"absolute -bottom-5 max-w-full text-ellipsis-no-wrap text-sm text-[--error]",children:["Enter from ",a," to ",t," characters to generate text"]})]})}},36262:(e,s,t)=>{"use strict";t.r(s),t.d(s,{ArrowLeftIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,r.jsx)("path",{d:"M15.4167 10H5M5 10L10 5M5 10L10 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})},37670:(e,s,t)=>{"use strict";t.d(s,{RandomNumberCompCalc:()=>o});var r=t(54568),a=t(7620),l=t(63301);let o=e=>{let{app:s}=e,[t,o]=(0,a.useState)({minValue:"0.2",maxValue:"112.5",generate:"1",precision:"50",duplicates:"no",sort:"nosort",showPrecision:!0}),[n,i]=(0,a.useState)({minValue:"",maxValue:"",generate:"",precision:""}),[c,d]=(0,a.useState)({resultError:!1,resultNumber:null}),[u,p]=(0,a.useState)(""),[h,x]=(0,a.useState)(""),[m,f]=(0,a.useState)(""),[j,C]=(0,a.useState)(""),[v,g]=(0,a.useState)(""),b=(e,s)=>{(0,l.Z)(e,i,o,s)},N=()=>{let e=Number(t.minValue),s=Number(t.maxValue),r=Number(t.generate),a=Number(t.precision),l=[];if(e>=s||""!=n.minValue||""!=n.maxValue||""!=n.generate||""!=n.precision){e>=s&&f("The lower limit value needs to be smaller than the upper limit value."),""!=n.minValue&&p("Please provide a valid integer as lower limit value."),""!=n.generate&&C("Please provide a positve integer as the amount of numbers to generate."),""!=n.precision&&g("Please provide a positve integer as the precision."),d({resultError:!0,resultNumber:null});return}{let o=()=>Math.max(Number((Math.random()*(s-e)+e).toFixed(a)));for(let e=0;e<r;e++){let e=o();for(;"no"===t.duplicates&&l.includes(e);)e=o();l.push(e)}"ascend"===t.sort?l.sort(function(e,s){return e-s}):"descend"===t.sort&&l.sort(function(e,s){return s-e}),d({resultError:!1,resultNumber:l.join("***")})}},y=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("div",{className:y("randCalcWrap"),children:[(0,r.jsxs)("div",{className:y("calcWrap"),children:[(0,r.jsxs)("label",{className:y("inputWrap"),htmlFor:"minValue",children:[(0,r.jsx)("div",{className:y("inputText"),children:"Lower Limit"}),(0,r.jsxs)("div",{className:y("randErrorWrap"),children:[(0,r.jsx)("input",{className:"".concat(""===n.minValue?"".concat(s,"-inputStyle"):"".concat(s,"-randErrorInput")),type:"textfield",name:"minValue",id:"minValue",value:isNaN(Number(t.minValue))?"":t.minValue,onChange:e=>b(e,"numbers"),onKeyDown:e=>"Enter"===e.key&&N,inputMode:"numeric",required:!0}),n.minValue&&(0,r.jsx)("div",{className:y("randErrorTip"),children:n.minValue})]})]}),(0,r.jsxs)("label",{className:y("inputWrap"),htmlFor:"maxValue",children:[(0,r.jsx)("div",{className:y("inputText"),children:"Upper Limit"}),(0,r.jsxs)("div",{className:y("randErrorWrap"),children:[(0,r.jsx)("input",{className:"".concat(""===n.maxValue?"".concat(s,"-inputStyle"):"".concat(s,"-randErrorInput")),type:"textfield",name:"maxValue",id:"maxValue",value:isNaN(Number(t.maxValue))?"":t.maxValue,onChange:e=>b(e,"numbers"),onKeyDown:e=>"Enter"===e.key&&N,inputMode:"numeric",required:!0}),n.maxValue&&(0,r.jsx)("div",{className:y("randErrorTip"),children:n.maxValue})]})]}),(0,r.jsxs)("label",{className:y("inputWrap"),htmlFor:"generate",children:[(0,r.jsx)("div",{className:y("inputText"),children:"Generate"}),(0,r.jsxs)("div",{className:y("randInputWrap"),children:[(0,r.jsxs)("div",{className:y("randErrorWrap"),children:[(0,r.jsx)("input",{className:"".concat(""===n.generate?"".concat(s,"-randInputSmall"):"".concat(s,"-randErrorInputSmall")),type:"textfield",name:"generate",id:"generate",value:isNaN(Number(t.generate))?"":t.generate,onChange:e=>b(e,"generate"),onKeyDown:e=>"Enter"===e.key&&N,inputMode:"numeric",required:!0}),n.generate&&(0,r.jsx)("div",{className:y("randErrorTip"),children:n.generate})]}),(0,r.jsx)("div",{className:y("inputText"),children:"numbers"})]})]})]}),Number(t.generate)>1&&(0,r.jsxs)("div",{className:y("randColumn"),children:[(0,r.jsx)("div",{className:y("inputText"),children:"Allow duplication in results?"}),(0,r.jsxs)("div",{className:y("randRadioButtonWrapper"),children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{type:"radio",name:"duplicates",id:"yes",value:"yes",className:"hidden",checked:"yes"===t.duplicates,onChange:b}),(0,r.jsxs)("label",{htmlFor:"yes",className:y("radioButtonLabel"),children:[(0,r.jsx)("div",{className:"".concat("yes"===t.duplicates?"".concat(s,"-radioActive"):"".concat(s,"-radioNonActive")),children:(0,r.jsx)("span",{className:"".concat("yes"===t.duplicates?"block":"hidden")})}),"Yes"]})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{type:"radio",name:"duplicates",id:"no",value:"no",className:"hidden",checked:"no"===t.duplicates,onChange:b}),(0,r.jsxs)("label",{htmlFor:"no",className:y("radioButtonLabel"),children:[(0,r.jsx)("div",{className:"".concat("no"===t.duplicates?"".concat(s,"-radioActive"):"".concat(s,"-radioNonActive")),children:(0,r.jsx)("span",{className:"".concat("no"===t.duplicates?"block":"hidden")})}),"No"]})]})]}),(0,r.jsx)("div",{className:y("inputText"),children:"Sort the results?"}),(0,r.jsxs)("div",{className:y("randRadioButtonWrapper"),children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{type:"radio",name:"sort",id:"ascend",value:"ascend",className:"hidden",checked:"ascend"===t.sort,onChange:b}),(0,r.jsxs)("label",{htmlFor:"ascend",className:y("radioButtonLabel"),children:[(0,r.jsx)("div",{className:"".concat("ascend"===t.sort?"".concat(s,"-radioActive"):"".concat(s,"-radioNonActive")),children:(0,r.jsx)("span",{className:"".concat("ascend"===t.sort?"block":"hidden")})}),"Ascend"]})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{type:"radio",name:"sort",id:"descend",value:"descend",className:"hidden",checked:"descend"===t.sort,onChange:b}),(0,r.jsxs)("label",{htmlFor:"descend",className:y("radioButtonLabel"),children:[(0,r.jsx)("div",{className:"".concat("descend"===t.sort?"".concat(s,"-radioActive"):"".concat(s,"-radioNonActive")),children:(0,r.jsx)("span",{className:"".concat("descend"===t.sort?"block":"hidden")})}),"Descend"]})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{type:"radio",name:"sort",id:"nosort",value:"nosort",className:"hidden",checked:"nosort"===t.sort,onChange:b}),(0,r.jsxs)("label",{htmlFor:"nosort",className:y("radioButtonLabel"),children:[(0,r.jsx)("div",{className:"".concat("nosort"===t.sort?"".concat(s,"-radioActive"):"".concat(s,"-radioNonActive")),children:(0,r.jsx)("span",{className:"".concat("nosort"===t.sort?"block":"hidden")})}),"No"]})]})]})]}),(0,r.jsxs)("div",{className:y("randColumn"),children:[(0,r.jsx)("div",{className:y("inputText"),children:"Type of result to generate?"}),(0,r.jsxs)("div",{className:y("randRadioButtonWrapper"),children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{type:"radio",id:"integer",value:"integer",className:"hidden",checked:!t.showPrecision,onChange:()=>
1o(e=>({...e,precision:"0",showPrecision:!1}))}),(0,r.jsxs)("label",{htmlFor:"integer",className:y("radioButtonLabel"),children:[(0,r.jsx)("div",{className:"".concat(t.showPrecision?"".concat(s,"-radioNonActive"):"".concat(s,"-radioActive")),children:(0,r.jsx)("span",{className:"".concat(t.showPrecision?"hidden":"block")})}),"Integer"]})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{type:"radio",id:"decimal",value:"decimal",className:"hidden",checked:t.showPrecision,onChange:()=>o(e=>({...e,showPrecision:!0}))}),(0,r.jsxs)("label",{htmlFor:"decimal",className:y("radioButtonLabel"),children:[(0,r.jsx)("div",{className:"".concat(t.showPrecision?"".concat(s,"-radioActive"):"".concat(s,"-radioNonActive")),children:(0,r.jsx)("span",{className:"".concat(t.showPrecision?"block":"hidden")})}),"Decimal"]})]})]})]}),t.showPrecision&&(0,r.jsxs)("label",{className:y("inputWrap"),htmlFor:"precision",children:[(0,r.jsx)("div",{className:y("inputText"),children:"Precision:"}),(0,r.jsxs)("div",{className:y("randInputWrap"),children:[(0,r.jsxs)("div",{className:y("randErrorWrap"),children:[(0,r.jsx)("input",{className:"".concat(""===n.precision?"".concat(s,"-randInputSmall"):"".concat(s,"-randErrorInputSmall")),type:"textfield",name:"precision",id:"precision",value:isNaN(Number(t.precision))?"":t.precision,onChange:e=>b(e,"precision"),onKeyDown:e=>"Enter"===e.key&&N,inputMode:"numeric",required:!0}),n.precision&&(0,r.jsx)("div",{className:y("randErrorTip"),children:n.precision})]}),(0,r.jsx)("div",{className:y("inputText"),children:"digits"})]})]}),(0,r.jsxs)("div",{className:y("btnWrap"),children:[(0,r.jsx)("button",{className:y("btnYellow"),onClick:N,children:"Generate"}),(0,r.jsx)("button",{className:y("btnGrey"),onClick:()=>{d({resultError:!1,resultNumber:null}),i({minValue:"",maxValue:"",generate:"",precision:""}),o({minValue:"0",maxValue:"0",generate:"1",precision:"0",duplicates:"yes",sort:"nosort",showPrecision:!1}),f(""),p(""),x(""),C(""),g("")},children:"Clear"})]}),c.resultError&&(0,r.jsxs)("div",{className:y("resultError"),children:[(0,r.jsx)("div",{className:y("errorTitle"),children:"Error"}),(0,r.jsx)("p",{className:y("textSemibold"),children:""!=m&&""!=t.minValue&&""!=t.maxValue?"min: ".concat(t.minValue,", max:").concat(t.maxValue):""}),(0,r.jsx)("div",{className:y("errorText"),children:u}),(0,r.jsx)("div",{className:y("errorText"),children:h}),(0,r.jsx)("div",{className:y("errorText"),children:j}),(0,r.jsx)("div",{className:y("errorText"),children:v}),(0,r.jsx)("div",{className:y("errorText"),children:m})]}),c.resultNumber&&(0,r.jsxs)("div",{className:y("resultSuccess"),children:[(0,r.jsx)("div",{className:y("resultTitle"),children:"Result"}),(0,r.jsx)("div",{className:y("resultWrap"),children:(0,r.jsx)("p",{className:y("textSemibold"),children:c.resultNumber})})]})]})}},38067:(e,s,t)=>{var r={"./detector-theme.css":[21537,7340,7506,1537],"./domyessay-theme.css":[81979,7340,5096,1979],"./essayhub-theme.css":[36677,7340,5646,6677],"./essaypro-theme.css":[75125,7340,6010,5125],"./essayservice-theme.css":[32357,7340,9298,2357],"./essaywriter-theme.css":[44745,7340,3214,4745],"./humaniser-theme.css":[51331,7340,8368,1331],"./nocramming-theme.css":[96926,7340,4653,6926],"./papertyper-theme.css":[30123,7340,4144,123],"./paperwriter-theme.css":[13400,7340,9867,3400],"./studyfy-theme.css":[2389,7340,4070,2389],"./writemyessay-theme.css":[85603,7340,4896,5603],"./writepaper-theme.css":[47712,7340,1587,7712],"./writeressay-theme.css":[66367,7340,7980,6367]};function a(e){if(!t.o(r,e))return Promise.resolve().then(()=>{var s=Error("Cannot find module '"+e+"'");throw s.code="MODULE_NOT_FOUND",s});var s=r[e],a=s[0];return Promise.all(s.slice(1).map(t.e)).then(()=>t.t(a,23))}a.keys=()=>Object.keys(r),a.id=38067,e.exports=a},38072:(e,s,t)=>{"use strict";t.d(s,{SquarePyramidSurfaceArea:()=>n});var r=t(54568),a=t(7620),l=t(16413),o=t(89856);let n=e=>{let{app:s,SquarePyramidSurfaceImage:t}=e,[n,i]=(0,a.useState)(""),[c,d]=(0,a.useState)(""),[u,p]=(0,a.useState)({baseEdge:"meters",height:"meters"}),[h,x]=(0,a.useState)(null),[m,f]=(0,a.useState)([]),j=e=>{if(e%1==0)return e<=Number.MAX_SAFE_INTEGER?e.toString():e.toExponential(1);{let s=parseFloat(e.toFixed(12));return s<=Number.MAX_SAFE_INTEGER?s.toString():s.toExponential(1)}},C=(e,s)=>{let t=e*e,r=2*e*Math.sqrt(e/2*(e/2)+s*s);return[t,r,t+r]},v=()=>{if(f([]),x(null),!((e,s)=>{let t=parseFloat(e),r=parseFloat(s),a=[];return(isNaN(t)||t<=0)&&a.push("The base edge needs to be a positive."),(isNaN(r)||r<=0)&&a.push("The height needs to be a positive."),f(a),0===a.length})(n,c))return;let e=parseFloat(n),s=parseFloat(c),t=(0,o.i)(e,u.baseEdge),r=(0,o.i)(s,u.height),[a,l,i]=C(t,r),[d,p,h]=C(t,r);if("meters"!==u.baseEdge){let e=(0,o.G0)(u.baseEdge);a/=e,l/=e,i/=e}if("meters"!==u.height){let e=(0,o.G0)(u.height);d=a/e,p=l/e,h=i/e}x({baseArea:j(a),lateralArea:j(l),totalArea:j(i),baseAreaHeight:j(d),lateraAreaHeight:j(p
1),totalAreaHeight:j(h)})},g=e=>"".concat(s,"-").concat(e),b=(e,s)=>{p(t=>({...t,[e]:s}))};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:g("calcWrap"),children:[(0,r.jsxs)("div",{className:g("surCalcWrap"),children:[(0,r.jsxs)("div",{className:g("surCalcCol"),children:[(0,r.jsxs)("div",{className:g("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:g("inputText"),children:"Base Edge (a)"}),(0,r.jsxs)("div",{className:g("surCalcInputRow"),children:[(0,r.jsx)("label",{className:g("inputWrap"),htmlFor:"baseEdge",children:(0,r.jsx)("input",{className:g("surInputStyle"),type:"text",id:"baseEdge",value:n,onChange:e=>i(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&v(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:g("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:u.baseEdge,setSelectedOption:e=>b("baseEdge",e),app:s})})]})]}),(0,r.jsxs)("div",{className:g("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:g("inputText"),children:"Height (h)"}),(0,r.jsxs)("div",{className:g("surCalcInputRow"),children:[(0,r.jsx)("label",{className:g("inputWrap"),htmlFor:"heightSquare",children:(0,r.jsx)("input",{className:g("surInputStyle"),type:"text",id:"heightSquare",value:c,onChange:e=>d(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&v(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:g("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:u.height,setSelectedOption:e=>b("height",e),app:s})})]})]}),(0,r.jsxs)("div",{className:g("btnWrap surfaceCalc"),children:[(0,r.jsx)("button",{className:g("btnYellow"),onClick:v,children:"Calculate"}),(0,r.jsx)("button",{className:g("btnGrey"),onClick:()=>{i(""),d(""),p({baseEdge:"meters",height:"meters"}),x(null),f([])},children:"Clear"})]})]}),(0,r.jsx)("div",{className:g("pyImgWrap surImgWrap"),children:t})]}),(h||m.length>0)&&(0,r.jsxs)("div",{className:"".concat(g(h&&0===m.length?"resultSuccess":"resultError")),children:[(0,r.jsx)("div",{className:"".concat(g(h&&0===m.length?"resultTitle":"errorTitle")),children:"calculatingApp"===s?"Result":"Calculation result"}),h&&0===m.length&&(0,r.jsxs)("div",{className:g("surResultWrap"),children:[(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{className:"font-primary",children:"Base Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= ",n,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.baseArea," ").concat(u.baseEdge),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Lateral Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2 flex",children:["= 2 \xd7 ",n," \xd7 √",(0,r.jsxs)("span",{className:"flex border-t border-solid",children:[(0,r.jsx)("span",{className:g("surResultBracket"),children:"("}),(0,r.jsxs)("span",{className:"flex flex-col text-center",children:[(0,r.jsx)("span",{children:n}),(0,r.jsx)("span",{className:"border-t border-solid",children:"2"})]}),(0,r.jsx)("span",{className:g("surResultBracket"),children:")"}),(0,r.jsx)("sup",{className:g("surResultSup"),children:"2"}),"+"," "+c+" ",(0,r.jsxs)("span",{children:[" "+u.height,(0,r.jsx)("sup",{children:"2"})]})]})]}),"=",(0,r.jsxs)("span",{className:"font-bold",children:[" "+h.lateralArea," "+u.baseEdge,(0,r.jsx)("sup",{children:"2"})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Total Surface Area ="}),(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.totalArea," ").concat(u.baseEdge),(0,r.jsx)("sup",{children:"2"})]})]}),u.height!==u.baseEdge&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"text-l mb-2 font-bold",children:["Or in square ",u.height,":"]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{className:"font-primary",children:"Base Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= ",n,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.baseAreaHeight," ").concat(u.height),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Lateral Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2 flex",children:["= 2 \xd7 ",n," \xd7 √",(0,r.jsxs)("span",{className:"flex border-t border-solid",children:[(0,r.jsx)("span",{className:g("surResultBracket"),children:"("}),(0,r.jsxs)("span",{className:"flex flex-col text-center",children:[(0,r.jsx)("span",{children:n}),(0,r.jsx)("span",{className:"border-t border-solid",children:"2"})]}),(0,r.jsx)("span",{className:g("surResultBracket"),children:")"}
1),(0,r.jsx)("sup",{className:g("surResultSup"),children:"2"}),"+"," "+c+" ",(0,r.jsxs)("span",{children:[" "+u.height,(0,r.jsx)("sup",{children:"2"})]})]})]}),"=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.lateraAreaHeight," ").concat(u.height),(0,r.jsx)("sup",{children:"2"})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Total Surface Area ="}),(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.totalAreaHeight," ").concat(u.height),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),m.length>0&&!h&&(0,r.jsx)("div",{className:g("redErrorText"),children:m.map((e,s)=>(0,r.jsx)("div",{children:e},s))})]})]})})}},38777:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useIsomorphicLayoutEffect:()=>r});let r=t(7620).useLayoutEffect},38824:(e,s,t)=>{"use strict";async function r(e){var s;if(!(null==(s=navigator)?void 0:s.clipboard))return!1;try{return await navigator.clipboard.writeText(e),!0}catch(e){return!1}}async function a(){var e;if(!(null==(e=navigator)?void 0:e.clipboard)||"visible"!==document.visibilityState)return null;try{return await navigator.clipboard.readText()}catch(e){return null}}t.r(s),t.d(s,{readFromClipboard:()=>a,writeToClipboard:()=>r})},40457:(e,s,t)=>{"use strict";t.r(s),t.d(s,{LocalStorage:()=>r});class r{constructor(e){this.key=e,this.save=e=>{try{let s=JSON.stringify(e);localStorage.setItem(this.key,s)}catch(e){console.error("Error saving to localStorage",e)}},this.retrieve=()=>{try{let e,s=localStorage.getItem(this.key);if(e=s,null==e)return null;return JSON.parse(s)}catch(e){return console.error("Error retrieving from localStorage",e),null}},this.update=e=>{let s=e(this.retrieve());this.save(s)},this.remove=()=>{try{localStorage.removeItem(this.key)}catch(e){console.error("Error removing from localStorage",e)}},this.clear=()=>{try{localStorage.clear()}catch(e){console.error("Error clearing localStorage",e)}}}}},40996:(e,s,t)=>{"use strict";t.r(s),t.d(s,{AiCheckingLoaderExact:()=>c,LoadingAnimation:()=>f,LoadingSpinner:()=>d});var r=t(54568),a=t(7620);let l={nm:"Loading-2",ddd:0,h:150,w:300,meta:{g:"@lottiefiles/toolkit-js 0.26.1"},layers:[{ty:4,nm:"icon",sr:1,st:0,op:40,ip:0,hd:!1,ddd:0,bm:0,hasMask:!1,ao:0,ks:{a:{a:0,k:[53,53,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{a:0,k:[150,75,0],ix:2},r:{a:1,k:[{o:{x:.333,y:0},i:{x:.667,y:1},s:[-90],t:0},{s:[270],t:40}],ix:10},sa:{a:0,k:0},o:{a:0,k:100,ix:11}},ef:[],shapes:[{ty:"gr",bm:0,hd:!1,mn:"ADBE Vector Group",nm:"Group 1",ix:1,cix:2,np:2,it:[{ty:"sh",bm:0,hd:!1,mn:"ADBE Vector Shape - Group",nm:"Path 1",ix:1,d:1,ks:{a:0,k:{c:!0,i:[[0,-15.464],[15.464,0],[0,15.464],[-15.464,0]],o:[[0,15.464],[-15.464,0],[0,-15.464],[15.464,0]],v:[[28,0],[0,28],[-28,0],[0,-28]]},ix:2}},{ty:"st",bm:0,hd:!1,mn:"ADBE Vector Graphic - Stroke",nm:"Stroke 1",lc:2,lj:1,ml:10,o:{a:0,k:100,ix:4},w:{a:0,k:10,ix:5},c:{a:0,k:[.1765,.1608,.149],ix:3}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[53,53],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]},{ty:"tm",bm:0,hd:!1,mn:"ADBE Vector Filter - Trim",nm:"Trim Paths 1",ix:2,e:{a:1,k:[{o:{x:.333,y:0},i:{x:.667,y:1},s:[0],t:0},{s:[100],t:25}],ix:2},o:{a:0,k:0,ix:3},s:{a:1,k:[{o:{x:.333,y:0},i:{x:.667,y:1},s:[0],t:12},{s:[100],t:40}],ix:1},m:1}],ind:1},{ty:4,nm:"icon 2",sr:1,st:39,op:79,ip:39,hd:!1,ddd:0,bm:0,hasMask:!1,ao:0,ks:{a:{a:0,k:[53,53,0],ix:1},s:{a:0,k:[100,100,100],ix:6},sk:{a:0,k:0},p:{a:0,k:[150,75,0],ix:2},r:{a:1,k:[{o:{x:.333,y:0},i:{x:.667,y:1},s:[-90],t:39},{s:[270],t:79}],ix:10},sa:{a:0,k:0},o:{a:0,k:100,ix:11}},ef:[],shapes:[{ty:"gr",bm:0,hd:!1,mn:"ADBE Vector Group",nm:"Group 1",ix:1,cix:2,np:2,it:[{ty:"sh",bm:0,hd:!1,mn:"ADBE Vector Shape - Group",nm:"Path 1",ix:1,d:1,ks:{a:0,k:{c:!0,i:[[0,-15.464],[15.464,0],[0,15.464],[-15.464,0]],o:[[0,15.464],[-15.464,0],[0,-15.464],[15.464,0]],v:[[28,0],[0,28],[-28,0],[0,-28]]},ix:2}},{ty:"st",bm:0,hd:!1,mn:"ADBE Vector Graphic - Stroke",nm:"Stroke 1",lc:2,lj:1,ml:10,o:{a:0,k:100,ix:4},w:{a:0,k:10,ix:5},c:{a:0,k:[.1765,.1608,.149],ix:3}},{ty:"tr",a:{a:0,k:[0,0],ix:1},s:{a:0,k:[100,100],ix:3},sk:{a:0,k:0,ix:4},p:{a:0,k:[53,53],ix:2},r:{a:0,k:0,ix:6},sa:{a:0,k:0,ix:5},o:{a:0,k:100,ix:7}}]},{ty:"tm",bm:0,hd:!1,mn:"ADBE Vector Filter - Trim",nm:"Trim Paths 1",ix:2,e:{a:1,k:[{o:{x:.333,y:0},i:{x:.667,y:1},s:[0],t:39},{s:[100],t:64}],ix:2},o:{a:0,k:0,ix:3},s:{a:1,k:[{o:{x:.333,y:0},i:{x:.667,y:1},s:[0],t:51},{s:[100],t:79}],ix:1},m:1}],ind:2}],v:"5.5.5",fr:25,op:79,ip:0,assets:[]},o=[0,8.33,16.67,25,33.33,41.67,50,58.33,66.67,75,83.33,91.67,100],n={orange:[[-17.67,11.33],[-17.08,12.09],[-12.49,10.12],[12.39,-9.28],[18.29,-7.01],[12.33,.98],[2.84,8.86],[-6.9,10.71],[-14.72,8.42],[-19.02,1.2],[-16.88,-7.67],[-6.34,-12.14],[-17.67,11.33]],green:[[19.81,-8.37],[16.67,-12.05],[9.26,-15.24],[-5.38,-13.08],[-13.17,-6.07],[-12.78,2.92],[-5.62,10.27],[3.58,12.19],[12.44,8.43],[18.44,1.33],[19.1,-6.96],[13.61,-12.22],[19.81,-8.37]],blue:[[8.97,22.06],[2.6,22.4],[-6.2,18.96],[-13.47,10.17],[-16.21,.57],[-13.01,-8.09],[-5.78,-14.19],[3.88,-15.52],[12.35,-11.69],[17.8,-4.57],[17.14,4.39],[11.01,12.31],[8.97,22.06]],purple:[[-13.12,-9.07],[-16.21,-4.64],[-16.27,4.66],[-10.74,12.45],[-1.9,16.18],[7.34,14.56],[14.47,8.45],[16.52,-.61],[13.1,-9.32],[5.7,-15.14],[-3.91,-15.32],[-11.88,-12.17],[-13.12,-9.07]]};function i(e,s,t){let r=t/100,a=o.map((e,t)=>{let[a,l]=s[t],o=(a*r).toFixed(2),n=(l*r).toFixed(2);return"".concat(e,"% { transform: translate(-50%, -50%) translate(").concat(o,"px, ").concat(n,"px); }")}).join("\n");return"@keyframes ".concat(e," {\n").concat(a,"\n}")}function c(e){let{size:s=100,duration:t=4,className:l}=e,o=(0,a.useMemo)(()=>{let e=i("ai_orange",n.orange,s),t=i("ai_green",n.green,s),r=i("ai_blue",n.blue,s),a=i("ai_purple",n.purple,s);return"\n      ".concat(e,"\n      ").concat(t,"\n      ").concat(r,"\n      ").concat(a,"\n    ")},[s]);
1return(0,r.jsxs)("div",{className:["ai-loader-exact",l].filter(Boolean).join(" "),style:{width:s,height:s,"--d":"".concat(t,"s")},role:"status","aria-label":"Loading",children:[(0,r.jsx)("span",{className:"blob purple"}),(0,r.jsx)("span",{className:"blob green"}),(0,r.jsx)("span",{className:"blob orange"}),(0,r.jsx)("span",{className:"blob blue"}),(0,r.jsx)("style",{children:"\n        .ai-loader-exact {\n          position: relative;\n          display: inline-block;\n          isolation: isolate;\n        }\n\n        .ai-loader-exact .blob {\n          position: absolute;\n          left: 50%;\n          top: 50%;\n          width: ".concat(Math.round(.2*s),"px;\n          height: ").concat(Math.round(.2*s),'px;\n          border-radius: 999px;\n\n          /* soft "ink" look like in the video */\n          background:\n            radial-gradient(circle at 35% 35%, rgba(255,255,255,0.35), rgba(255,255,255,0) 55%),\n            radial-gradient(circle, currentColor 0%, currentColor 56%, rgba(0,0,0,0) 72%);\n\n          filter: blur(').concat((.09*s).toFixed(1),"px);\n          opacity: 0.8;\n\n          /* closer to the WEBM blend */\n          mix-blend-mode: lighten;\n          box-shadow: 0 0 ").concat((.05*s).toFixed(0),"px currentColor, 0 0 ").concat((.05*s).toFixed(0),"px currentColor;\n\n          will-change: transform;\n        }\n\n        .ai-loader-exact .purple { color: #c084fc; animation: ai_purple var(--d) linear infinite; }\n        .ai-loader-exact .green  { color: #4ade80; animation: ai_green  var(--d) linear infinite; }\n        .ai-loader-exact .orange { color: #fb923c; animation: ai_orange var(--d) linear infinite; }\n        .ai-loader-exact .blue   { color: #60a5fa; animation: ai_blue   var(--d) linear infinite; }\n\n        @media (prefers-reduced-motion: reduce) {\n          .ai-loader-exact .blob { animation: none !important; transform: translate(-50%, -50%); }\n        }\n      ")}),(0,r.jsx)("style",{children:o})]})}let d=e=>{let{title:s,description:t,titleClassName:a="text-[16px]",descriptionClassName:l="text-[14px]"}=e;return(0,r.jsxs)("div",{className:"pointer-events-none flex h-full flex-col items-center justify-center ",children:[(0,r.jsx)(c,{size:80,duration:6,className:"relative inline-block"}),(0,r.jsx)("div",{className:"mt-4 text-center ".concat(a," text-[--default-label-text]"),children:s}),(0,r.jsx)("div",{className:"mt-2.5 text-center ".concat(l),style:{color:"var(--default-label-text, #747477)"},children:t})]})};var u=t(64712),p=t.n(u);function h(e){let{onComplete:s,infinite:t=!1,duration:o}=e,n=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(!t&&o&&s){let e=setTimeout(()=>{n.current&&n.current.pause(),s()},o);return()=>clearTimeout(e)}},[t,o,s]),(0,r.jsx)("div",{className:"w-full h-full flex-shrink-0 flex items-center justify-center overflow-visible",children:(0,r.jsx)(p(),{lottieRef:n,animationData:l,loop:t,autoplay:!0,style:{width:"12px",height:"12px",transform:"scale(5)"}})})}let x=()=>(0,r.jsxs)("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 animate-fade-in-scale",style:{animation:"fadeInScale 0.4s ease-out forwards"},children:[(0,r.jsx)("style",{children:"\n        @keyframes fadeInScale {\n          0% {\n            opacity: 0;\n            transform: translate(-50%, -50%) scale(0.5);\n          }\n          100% {\n            opacity: 1;\n            transform: translate(-50%, -50%) scale(1);\n          }\n        }\n      "}),(0,r.jsx)("path",{d:"M3 8.5L6.2 11.5L13 4.5",stroke:"#22C55E",strokeWidth:"2",strokeLinecap:"butt",strokeLinejoin:"round"})]});function m(e){let{stepNum:s,stepText:t,isLast:l,isActive:o,isLoading:n,onComplete:i}=e,[c,d]=(0,a.useState)(1===s&&o?"loading":"dot"),u="loading"===c,p="checkmark"===c&&!l;return(0,a.useEffect)(()=>{if(!o)return;if(1===s)return void d("loading");d("dot");let e=setTimeout(()=>{d("loading")},300);return()=>clearTimeout(e)},[o,s]),(0,r.jsxs)("li",{className:"flex items-center gap-2 ",children:[(0,r.jsxs)("div",{className:"relative w-6 h-6",children:[1!==s&&("dot"===c||"loading"===c)&&(0,r.jsx)("span",{className:"absolute top-1/2 left-1/2 -translate-x-1/2 -translate-y-1/2 w-[6px] h-[6px] bg-[#646464] rounded-full flex-shrink-0 transition-opacity duration-300",style:{opacity:+("loading"!==c)}}),u&&(0,r.jsx)(h,{infinite:l&&n,duration:l?void 0:3150,onComplete:()=>{l||(d("checkmark"),i())}}),p&&(0,r.jsx)(x,{})]}),(0,r.jsx)("span",{style:{color:u||p?"#3F3F46":void 0},children:t})]})}let f=e=>{let{title:s,steps:t,isLoading:l,onComplete:o,containerClassName:n}=e,[i,d]=(0,a.useState)(1),[u,p]=(0,a.useState)(!1),[h,x]=(0,a.useState)(!1),[f,j]=(0,a.useState)(0),C=(0,a.useRef)(null),v=(0,a.useRef)(null);return((0,a.useEffect)(()=>{l?(v.current&&(clearTimeout(v.current),v.current=null),d(1),p(!0),x(!1),j(e=>e+1),C.current=null):x(!0)},[l]),(0,a.useEffect)(()=>
1{if(!l&&h&&i===t.length){C.current||(C.current=Date.now());let e=Date.now()-C.current;e<2e3?(v.current&&clearTimeout(v.current),v.current=setTimeout(()=>{p(!1),C.current=null,null==o||o()},2e3-e)):(p(!1),C.current=null,null==o||o())}return()=>{v.current&&(clearTimeout(v.current),v.current=null)}},[l,h,i,t.length,o]),u)?(0,r.jsx)("div",{className:n,children:(0,r.jsxs)("div",{className:"flex flex-col items-center justify-center max-w-[566px] w-full mx-auto",children:[(0,r.jsx)(c,{size:100,duration:8}),(0,r.jsx)("div",{className:"my-6 text-base leading-6",children:s}),(0,r.jsx)("ul",{className:"w-full grid gap-4 text-sm leading-5 text-[#646464]",children:t.map((e,s)=>(0,r.jsx)(m,{stepNum:s+1,stepText:e,isLast:s===t.length-1,isActive:i>=s+1,isLoading:l,onComplete:()=>(e=>{e<t.length&&(d(e+1),e+1===t.length&&(C.current=Date.now(),l||(v.current=setTimeout(()=>{p(!1),C.current=null,null==o||o()},2e3))))})(s+1)},"".concat(f,"-").concat(s)))})]})}):null}},42756:(e,s,t)=>{"use strict";t.r(s),t.d(s,{ShareIcon:()=>l});var r=t(54568),a=t(32901);let l=e=>{let{className:s,...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",className:(0,a.cn)("size-5 stroke-[#3B59CE]",s),...t,children:(0,r.jsx)("path",{d:"M12.9167 5.4165L7.08333 8.74984M7.08333 11.2498L12.9167 14.5832M17.5 15.8332C17.5 17.2139 16.3807 18.3332 15 18.3332C13.6193 18.3332 12.5 17.2139 12.5 15.8332C12.5 14.4525 13.6193 13.3332 15 13.3332C16.3807 13.3332 17.5 14.4525 17.5 15.8332ZM17.5 4.1665C17.5 5.54722 16.3807 6.6665 15 6.6665C13.6193 6.6665 12.5 5.54722 12.5 4.1665C12.5 2.78579 13.6193 1.6665 15 1.6665C16.3807 1.6665 17.5 2.78579 17.5 4.1665ZM7.5 9.99984C7.5 11.3805 6.38071 12.4998 5 12.4998C3.61929 12.4998 2.5 11.3805 2.5 9.99984C2.5 8.61913 3.61929 7.49984 5 7.49984C6.38071 7.49984 7.5 8.61913 7.5 9.99984Z",stroke:"currentColor",strokeWidth:"1.5",strokeLinejoin:"round"})})}},43165:(e,s,t)=>{"use strict";t.d(s,{$:()=>n});var r=t(54568),a=t(87324),l=t(32901);let o={s:"h-8 px-[--button-sm-x-padding] py-[--button-sm-y-padding] gap-2 rounded-[--button-sm-border-radius]",m:"h-10 px-[--button-md-x-padding] py-[--button-md-y-padding] gap-2 rounded-[--button-md-border-radius]",l:"min-h-12 px-[--button-lg-x-padding] gap-2 py-[--button-lg-y-padding] rounded-[--button-lg-border-radius]"},n=e=>{let{size:s="m",variant:t,icon:n,children:i,buttonType:c="button",iconPosition:d="left",isDisabled:u=!1,className:p="",theme:h,href:x="",...m}=e,{buttonClasses:f,textClasses:j,iconClasses:C}=(e=>{let{theme:s,size:t,variant:r,isDisabled:n=!1}=e,i="solid",c="",d="",u="",p="",h="";switch(s){case a.g.ESSAYSERVICE:i="primary"===r?"gradient":"solid",c="double-gradient-button-primary",p="primary-custom-gradient-button",h="double-gradient-button-secondary-dark";break;case a.g.WRITERESSAY:i="gradient",c="bubble-gradient-button-primary",d="bubble-gradient-button-secondary",u="bubble-gradient-button-tertiary";break;case a.g.WRITEMYESSAY:i="secondary"===r?"gradient":"solid",d="secondary-color-custom-button",p="primary-color-custom-button";break;case a.g.HUMANISER:i="secondary"===r?"gradient":"solid",h="humaniser-gradient-button-secondary";break;case a.g.DETECTOR:i="secondary"===r?"gradient":"solid",d="detector-gradient-button-secondary"}let x="group text-ellipsis-no-wrap text-base border inline-flex justify-center flex-shrink-0 items-center button-transition \n    ".concat(n?"pointer-events-none":""),m=(0,l.cn)("border-[--button-primary-border]",s!==a.g.DETECTOR&&"shadow-button-primary hover:shadow-button-primary-hover active:shadow-button-primary-active",n?"bg-[--button-primary-muted] hover:bg-[--button-primary-muted-hover] border-[--button-primary-muted-border] shadow-none":"gradient"===i&&c||"solid"===i&&"animation-default bg-[--button-primary] hover:bg-[--button-primary-hover] active:bg-[--button-primary-active]",!n&&p&&p),f=(0,l.cn)("border-[--button-secondary-border] shadow-button-secondary hover:shadow-button-secondary-hover active:shadow-button-secondary-active",n?"bg-[--button-secondary-muted] hover:bg-[--button-secondary-muted-hover] border-[--button-secondary-muted-border]":"gradient"===i&&d||"solid"===i&&"animation-default bg-[--button-secondary] hover:bg-[--button-secondary-hover] active:bg-[--button-secondary-active]",!n&&h&&h),j=(0,l.cn)("border-[--button-tertiary-border] shadow-button-tertiary  hover:shadow-button-tertiary-hover active:shadow-button-tertiary-active",n?"bg-[--button-tertiary-muted] hover:bg-[--button-tertiary-muted-hover]":"gradient"===i&&u||"solid"===i&&"animation-default bg-[--button-tertiary] hover:bg-[--button-tertiary-hover]"),C=(0,l.cn)("animation-default bg-[--button-outline] hover:bg-[--button-outline-hover]",n?"border-[--button-outline-border-muted] hover:border-[--button-outline-border-muted-hover]":"border-[--button-outline-border] shadow-button-outline hover:border-[--button-outline-border-hover] hover:shadow-button-outline-hover active:shadow-button-outline-active"),v={primary:(0,l.cn)(o[t],x,m),secondary:(0,l.cn)(o[t],x,f),outline:(0,l.cn)(o[t],x,C),tertiary:(0,l.cn)(o[t],x,j)},g=(0,l.cn)(n?"text-[--button-primary-muted-foreground] group-hover:text-[--button-primary-muted-foreground-hover]":"text-[--button-primary-foreground] group-hover:text-[--button-primary-foreground-hover]"),b=(0,l.cn)(n?"text-[--button-secondary-muted-foreground] group-hover:text-[--button-secondary-muted-foreground-hover]":"text-[--button-secondary-foreground] group-hover:text-[--button-secondary-foreground-hover]"),N=(0,l.cn)(n?"text-[--button-tertiary-muted-foreground]":"text-[--button-tertiary-foreground] group-hover:text-[--button-tertiary-foreground-hover]"),y=(0,l.cn)(n?"text-[--button-outline-foreground-muted] group-hover:text-[--button-outline-foreground-muted-hover]":"text-[--button-outline-foreground] group-hover:text-[--button-outline-foreground-hover]"),w={s:"text-center text-base leading-[22px] font-[--button-sm-text-font-we
1ight]",m:"text-center text-base leading-[22px] font-[--button-md-text-font-weight]",l:"text-center text-base leading-[22px] font-[--button-lg-text-font-weight]"},k={primary:(0,l.cn)(w[t],g),secondary:(0,l.cn)(w[t],b),tertiary:(0,l.cn)(w[t],N),outline:(0,l.cn)(w[t],y)},S="relative";return{buttonClasses:v,textClasses:k,iconClasses:{primary:(0,l.cn)(S,g),secondary:(0,l.cn)(S,b),tertiary:(0,l.cn)(S,N),outline:(0,l.cn)(S,y)}}})({theme:h,size:s,variant:t,isDisabled:u}),v=(0,r.jsxs)(r.Fragment,{children:[n&&"left"===d&&(0,r.jsx)("span",{className:C[t],children:n}),i&&(0,r.jsx)("div",{className:j[t],children:i}),n&&"right"===d&&(0,r.jsx)("span",{className:C[t],children:n})]});return(0,r.jsxs)(r.Fragment,{children:[("button"===c||"submit"===c||"reset"===c)&&(0,r.jsx)("button",{type:c,disabled:u,className:(0,l.cn)("".concat(p," ").concat(f[t])),...m,children:v}),"link"===c&&(0,r.jsx)("a",{className:(0,l.cn)("".concat(p," ").concat(f[t])),href:x,target:"_blank",...m,children:v})]})}},44586:(e,s,t)=>{"use strict";t.r(s),t.d(s,{ToastNotification:()=>n,showToast:()=>r.P});var r=t(7769),a=t(54568),l=t(69885),o=t(750);let n=e=>{let{position:s="bottom-center",duration:t=3e3,width:r="328px",...n}=e;return(0,a.jsx)(l.l$,{expand:!0,toastOptions:{style:{minWidth:r}},style:{zIndex:o.xC},visibleToasts:3,duration:t,position:s,...n})}},46959:(e,s,t)=>{"use strict";t.d(s,{LogCalc:()=>l});var r=t(54568),a=t(7620);let l=e=>{let{app:s}=e,[t,l]=(0,a.useState)("100"),[o,n]=(0,a.useState)("e"),[i,c]=(0,a.useState)(""),[d,u]=(0,a.useState)(null),[p,h]=(0,a.useState)(null),x=()=>{let e,s,r={X:t,Y:i,Base:o},a=0;for(let[,e]of Object.entries(r))e||(a+=1);if(a>1){h("Please provide 2 values to calculate."),u(null);return}for(let[e,s]of Object.entries(r))if(s){if("Base"!==e){if(!/^-?\d*\.?\d+$/.test(s)){h("Please provide a numerical ".concat(e," value.")),u(null);return}if(0>=parseFloat(s)){h("Please provide a positive ".concat(e," value.")),u(null);return}}else if("Base"===e&&"e"!==s&&(isNaN(parseFloat(s))||0>=parseFloat(s))){h("Please provide a positive numerical ".concat(e," value or 'e'.")),u(null);return}}let l=function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:13;return parseFloat(e.toFixed(s))};if(t&&o&&!i){let e="e"===o?Math.E:parseFloat(o),s=Math.log(parseFloat(t))/Math.log(e);u({result:l(s),Y:l(s)}),h(null)}else if(!t&&o&&i){let e=Math.pow("e"===o?Math.E:parseFloat(o),parseFloat(i));u({result:l(e),X:l(e)}),h(null)}else if(t&&!o&&i){let e=Math.pow(parseFloat(t),1/parseFloat(i));u({result:l(e),Base:l(e)}),h(null)}void 0!==e&&s&&(u({result:e,[s]:e}),h(null))},m=(e,s)=>(0,r.jsx)("div",{className:f("resultLine"),children:(0,r.jsxs)("strong",{children:[e," = ",s]})}),f=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("div",{className:f("calcWrap"),children:[(0,r.jsxs)("div",{className:f("logWrap"),children:[(0,r.jsx)("div",{className:f("logLabelText"),children:"log"}),(0,r.jsxs)("div",{className:f("logInputWrap"),children:[(0,r.jsx)("label",{className:f("inputWrap"),htmlFor:"xValue",children:(0,r.jsx)("input",{className:f("inputStyle"),type:"text",id:"xValue",value:t,onChange:e=>l(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&x(),inputMode:"numeric",required:!0})}),(0,r.jsx)("label",{className:f("inputWrap"),htmlFor:"base",children:(0,r.jsx)("input",{className:f("inputStyle"),type:"text",id:"base",value:o,onChange:e=>n(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&x(),inputMode:"numeric",required:!0})})]}),(0,r.jsx)("div",{className:"".concat(f("logLabelText")," px-[14px]"),children:"="}),(0,r.jsx)("label",{className:f("inputWrap"),htmlFor:"yValue",children:(0,r.jsx)("input",{className:f("inputStyle"),type:"text",id:"yValue",value:i,onChange:e=>c(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&x(),inputMode:"numeric"})})]}),(0,r.jsxs)("div",{className:f("btnWrap"),children:[(0,r.jsx)("button",{className:f("btnYellow"),onClick:x,children:"Calculate"}),(0,r.jsx)("button",{className:f("btnGrey"),onClick:()=>{l("100"),n("e"),c(""),u(null),h(null)},children:"Clear"})]}),(d||p)&&(0,r.jsxs)("div",{className:"".concat(d&&!p?f("resultSuccess"):f("resultError")),children:[(0,r.jsx)("div",{className:"".concat(d&&!p?f("resultTitle"):f("errorTitle")),children:"calculatingApp"===s?"Result":"Calculation result"}),d&&!p&&(0,r.jsxs)("div",{className:f("resultWrap"),children:[(0,r.jsxs)("div",{className:f("resultLine"),children:[void 0!==d.Y&&m("y",d.Y),void 0!==d.X&&m("x",d.X),void 0!==d.Base&&m("base",d.Base)]}),(0,r.jsxs)("div",{className:f("resultLine"),children:[void 0!==d.Y&&(0,r.jsxs)("div",{className:f("resultLine"),children:["log",(0,r.jsx)("sub",{children:"e"}),"(",t,") = ",d.result]}),void 0!==d.X&&(0,r.jsxs)("div",{className:f("resultLine"),children:["log",(0,r.jsx)("sub",{children:o}),"(",d.result,") = ",i]}),void 0!==d.Base&&(0,r.jsxs)("div",{className:f("resultLine"),children:["log",(0,r.jsx)("sub",{children:d.result}),"(",t,") = ",i]})]}),(0,r.jsxs)(r.Fragment,{children:[void 0!==d.Y&&(0,r.jsxs)("div",{className:f("resultLine"),children:["e",(0,r.jsx)("sup",{children:d.Y})," = ",t]}),void 0!==d.X&&(0,r.jsxs)("div",{className:f("resultLine"),children:["e",(0,r.jsx)("sup",{children:i})," = ",d.result]}),void 0!==d.Base&&(0,r.jsxs)("div",{className:f("resultLine"),children:[d.result,(0,r.jsx)("sup",{children:i})," = ",t]})]})]}
1),p&&!d&&(0,r.jsx)("div",{className:f("errorText"),children:p})]})]})}},47165:(e,s,t)=>{"use strict";t.r(s),t.d(s,{CarouselContent:()=>n});var r=t(54568),a=t(7620),l=t(32901),o=t(6141);let n=a.forwardRef((e,s)=>{let{className:t,...a}=e,{carouselRef:n,orientation:i}=(0,o.useCarousel)();return(0,r.jsx)("div",{ref:n,className:"overflow-hidden",children:(0,r.jsx)("div",{ref:s,className:(0,l.cn)("flex","horizontal"===i?"-ml-4":"-mt-4 flex-col",t),...a})})});n.displayName="CarouselContent"},47221:(e,s,t)=>{"use strict";t.r(s),t.d(s,{ArrowLongIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsx)("svg",{width:"28",height:"28",viewBox:"0 0 28 28",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M15.1663 26.0094L21.7659 19.4097L20.666 18.3098L14.844 24.1318L14.844 1.53565L13.2886 1.53564L13.2886 24.1318L7.46664 18.3098L6.3667 19.4097L12.9664 26.0094C13.573 26.616 14.5596 26.616 15.1663 26.0094Z",fill:"currentColor"})})},47931:(e,s,t)=>{"use strict";t.r(s),t.d(s,{Instagram64Icon:()=>a});var r=t(54568);let a=()=>(0,r.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("mask",{id:"mask0_3415_588",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"64",height:"65",children:(0,r.jsx)("path",{d:"M0 0.000976562H64V64.001H0V0.000976562Z",fill:"white"})}),(0,r.jsxs)("g",{mask:"url(#mask0_3415_588)",children:[(0,r.jsx)("mask",{id:"mask1_3415_588",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"64",height:"64",children:(0,r.jsx)("path",{d:"M32.0971 63.9435H31.916C14.3524 63.9435 0.114502 49.7041 0.114502 32.1413V31.9587C0.114502 14.3958 14.3524 0.158691 31.916 0.158691H32.0971C49.6615 0.158691 63.9001 14.3958 63.9001 31.9587V32.1413C63.9001 49.7041 49.6615 63.9435 32.0971 63.9435Z",fill:"white"})}),(0,r.jsxs)("g",{mask:"url(#mask1_3415_588)",children:[(0,r.jsx)("mask",{id:"mask2_3415_588",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"64",height:"64",children:(0,r.jsx)("path",{d:"M32.0973 63.9431H31.9163C14.3526 63.9431 0.114746 49.7037 0.114746 32.1408V31.9582C0.114746 14.3953 14.3526 0.158203 31.9163 0.158203H32.0973C49.6617 0.158203 63.9003 14.3953 63.9003 31.9582V32.1408C63.9003 49.7037 49.6617 63.9431 32.0973 63.9431Z",fill:"white"})}),(0,r.jsx)("g",{mask:"url(#mask2_3415_588)",children:(0,r.jsx)("path",{d:"M-31.7781 32.0507L32.0068 95.8356L95.7924 32.0507L32.0068 -31.7349L-31.7781 32.0507Z",fill:"url(#paint0_linear_3415_588)"})})]})]}),(0,r.jsx)("path",{d:"M15.7379 23.0234C15.7379 19.4953 18.6083 16.6234 22.1371 16.6234H41.8742C45.403 16.6234 48.2735 19.4953 48.2735 23.0234V41.0787C48.2735 44.609 45.403 47.4787 41.8742 47.4787H22.1371C18.6083 47.4787 15.7379 44.609 15.7379 41.0787V23.0234ZM41.8742 13.1362H22.1371C16.6856 13.1362 12.25 17.5718 12.25 23.0234V41.0787C12.25 46.5324 16.6856 50.968 22.1371 50.968H41.8742C47.3265 50.968 51.7614 46.5324 51.7614 41.0787V23.0234C51.7614 17.5718 47.3265 13.1362 41.8742 13.1362Z",fill:"white"}),(0,r.jsx)("path",{d:"M32.0063 26.3421C35.154 26.3421 37.7154 28.9042 37.7154 32.0519C37.7154 35.1989 35.154 37.761 32.0063 37.761C28.8578 37.761 26.2972 35.1989 26.2972 32.0519C26.2972 28.9042 28.8578 26.3421 32.0063 26.3421ZM32.0063 41.2504C37.0775 41.2504 41.2033 37.1232 41.2033 32.0519C41.2033 26.98 37.0775 22.855 32.0063 22.855C26.9351 22.855 22.8086 26.98 22.8086 32.0519C22.8086 37.1232 26.9351 41.2504 32.0063 41.2504Z",fill:"white"}),(0,r.jsx)("path",{d:"M42.0562 24.3382C43.4228 24.3382 44.5342 23.2276 44.5342 21.8601C44.5342 20.495 43.4228 19.3813 42.0562 19.3813C40.6902 19.3813 39.5781 20.495 39.5781 21.8601C39.5781 23.2276 40.6902 24.3382 42.0562 24.3382Z",fill:"white"}),(0,r.jsx)("defs",{children:(0,r.jsxs)("linearGradient",{id:"paint0_linear_3415_588",x1:"0.113789",y1:"63.9428",x2:"63.8991",y2:"0.157481",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#F89E41"}),(0,r.jsx)("stop",{offset:"0.125",stopColor:"#F89E41"}),(0,r.jsx)("stop",{offset:"0.140625",stopColor:"#F89E41"}),(0,r.jsx)("stop",{offset:"0.144531",stopColor:"#F89D41"}),(0,r.jsx)("stop",{offset:"0.148438",stopColor:"#F89D41"}),(0,r.jsx)("stop",{offset:"0.152344",stopColor:"#F89A42"}),(0,r.jsx)("stop",{offset:"0.15625",stopColor:"#F79842"}),(0,r.jsx)("stop",{offset:"0.160156",stopColor:"#F79644"}),(0,r.jsx)("stop",{offset:"0.164062",stopColor:"#F79345"}),(0,r.jsx)("stop",{offset:"0.167969",stopColor:"#F79146"}),(0,r.jsx)("stop",{offset:"0.171875",stopColor:"#F78F47"}),(0,r.jsx)("stop",{offset:"0.175781",stopColor:"#F68C48"}),(0,r.jsx)("stop",{offset:"0.179687",stopColor:"#F68948"}),(0,r.jsx)("stop",{offset:"0.183594",stopColor:"#F68749"}),(0,r.jsx)("stop",{offset:"0.1875",stopColor:"#F68549"}),(0,r.jsx)("stop",{offset:"0.191406",stopColor:"#F6834B"}),(0,r.jsx)("stop",{offset:"0.195312",stopColor:"#F6814C"}),(0,r.jsx)("stop",{offset:"0.199219",stopColor:"#F57E4C"}),(0,r.jsx)("stop",{offset:"0.203125",stopColor:"#F57B4D"}),(0,r.jsx)("stop",{offset:"0.207031",stopColor:"#F5794E"}),(0,r.jsx)("stop",{offset:"0.210938",stopColor:"#F5774F"}),(0,r.jsx)("stop",{offset:"0.214844",stopColor:"#F57550"}),(0,r.jsx)("stop",{offset:"0.21875",stopColor:"#F47351"}),(0,r.jsx)("stop",{offset:"0.222656",stopColor:"#F47152"}),(0,r.jsx)("stop",{offset:"0.226562",stopColor:"#F46E53"}),(0,r.jsx)("stop",{offset:"0.230469",stopColor:"#F46C54"}),(0,r.jsx)("stop",{offset:"0.234375",stopColor:"#F46955"}),(0,r.jsx)("stop",{offset:"0.238281",stopColor:"#F46756"}),(0,r.jsx)("stop",{offset:"0.242187",stopColor:"#F36658"}),(0,r.jsx)("stop",{offset:"0.246094",stopColor:"#F36359"}),(0,r.jsx)("stop",{offset:"0.25",stopColor:"#F3615A"}),(0,r.jsx)("stop",{offset:"0.253906",stopColor:"#F35E5B"}),(0,r.jsx)("stop",{offset:"0.257812",stopColor:"#F35C5C"}),(0,r.jsx)("stop",{offset:"0.261719",stopColor:"#F25A5D"}),(0,r.jsx)("stop",{offset:"0.265625",stopColor:"#F2585F"}),(0,r.jsx)("stop",{offset:"0.269531",stopColor:"#F15660"}),(0,r.jsx)("stop",{offset:"0.273438",stopColor:"#F05360"}),(0,r.jsx)("stop",{offset:"0.277344",stopColor:"#EF5161"}),(0,r.jsx)("stop",{offset:"0.28125",stopColor:"#EE4F63"}),(0,r.jsx)("stop",{offset:"0.285156",stopColor:"#EE4D64"}),(0,r.jsx)("stop",{offset:"0.289062",stopColor:"#ED4B66"}),(0,r.jsx)("stop",{offset:"0.292969",stopColor:"#ED4967"}),(0,r.jsx)("stop",{offset:"0.296875",stopColor:"#ED4668"}),(0,r.jsx)("stop",{offset:"0.300781",stopColor:"#ED4569"}),(0,r.jsx)("stop",{offset:"0.304688",stopColor:"#EC436B"}),(0,r.jsx)("stop",{offset:"0.308594",stopColor:"#EC416C"}),(0,r.jsx)("stop",{offset:"0.3125",stopColor:"#EC3F6D"}),(0,r.jsx)("stop",{offset:"0.316406",stopColor:"#EB3C6E"}),(0,r.jsx)("stop",{offset:"0.320312",stopColor:"#EB3A6F"}),(0,r.jsx)("stop",{offset:"0.324219",stopColor:"#EA3871"}),(0,r.jsx)("stop",{offset:"0.328125",stopColor:"#E93672"}),(0,r.jsx)("stop",{offset:"0.332031",stopColor:"#E93574"}),(0,r.jsx)("stop",{offset:"0.335937",stopColor:"#E83475"}),(0,r.jsx)("stop",{offset:"0.339844",stopColor:"#E83276"}),(0,r.jsx)("stop",{offset:"0.34375",stopColor:"#E73077"}),(0,r.jsx)("stop",{offset:"0.347656",stopColor:"#E72D78"}),(0,r.jsx)("stop",{offset:"0.351562",stopColor:"#E72A79"}),(0,r.jsx)("stop",{offset:"0.355469",stopColor:"#E6297A"}),(0,r.jsx)("stop",{offset:"0.359375",stopColor:"#E6277C"}),(0,r.jsx)("stop",{offset:"0.363281",stopColor:"#E5257D"}),(0,r.jsx)("stop",{offset:"0.367188",stopColor:"#E4247D"}),(0,r.jsx)("stop",{offset:"0.371094",stopColor:"#E4217F"}),(0,r.jsx)("stop",{offset:"0.375",stopColor:"#E41F80"}),(0,r.jsx)("stop",{offset:"0.378906",stopColor:"#E31E81"}),(0,r.jsx)("stop",{offset:"0.382812",stopColor:"#E31C83"}),(0,r.jsx)("stop",{offset:"0.386719",stopColor:"#E21B84"}),(0,r.jsx)("stop",{offset:"0.390625",stopColor:"#E11A85"}),(0,r.jsx)("stop",{offset:"0.394531",stopColor:"#E01986"}),(0,r.jsx)("stop",{offset:"0.398438",stopColor:"#DE1987"}),(0,r.jsx)("stop",{offset:"0.402344",stopColor:"#DD1988"}),(0,r.jsx)("stop",{offset:"0.40625",stopColor:"#DB198A"}),(0,r.jsx)("stop",{offset:"0.410156",stopColor:"#D8198B"}),(0,r.jsx)("stop",{offset:"0.414062",stopColor:"#D61A8D"}),(0,r.jsx)("stop",{offset:"0.417969",stopColor:"#D41A8E"}),(0,r.jsx)("stop",{offset:"0.421875",stopColor:"#D31B90"}),(0,r.jsx)("stop",{offset:"0.425781",stopColor:"#D01B91"}),(0,r.jsx)("stop",{offset:"0.429687",stopColor:"#CE1C92"}),(0,r.jsx)("stop",{offset:"0.433594",stopColor:"#CD1C94"}),(0,r.jsx)("stop",{offset:"0.4375",stopColor:"#CB1D95"}),(0,r.jsx)("stop",{offset:"0.441406",stopColor:"#C91D96"}),(0,r.jsx)("stop",{offset:"0.445312",stopColor:"#C71D97"}),(0,r.jsx)("stop",{offset:"0.449219",stopColor:"#C51E97"}),(0,r.jsx)("stop",{offset:"0.453125",stopColor:"#C31F97"}),(0,r.jsx)("stop",{offset:"0.457031",stopColor:"#C02098"}),(0,r.jsx)("stop",{offset:"0.460938",stopColor:"#BD2198"}),(0,r.jsx)("stop",{offset:"0.464844",stopColor:"#BB2298"}),(0,r.jsx)("stop",{offset:"0.46875",stopColor:"#B92399"}),(0,r.jsx)("stop",{offset:"0.472656",stopColor:"#B62499"}),(0,r.jsx)("stop",{offset:"0.476562",stopColor:"#B32599"}),(0,r.jsx)("stop",{offset:"0.480469",stopColor:"#B1269A"}),(0,r.jsx)("stop",{offset:"0.484375",stopColor:"#AF279A"}),(0,r.jsx)("stop",{offset:"0.488281",stopColor:"#AC289A"}),(0,r.jsx)("stop",{offset:"0.492187",stopColor:"#AA2A9B"}),(0,r.jsx)("stop",{offset:"0.496094",stopColor:"#A72B9B"}),(0,r.jsx)("stop",{offset:"0.5",stopColor:"#A42C9B"}),(0,r.jsx)("stop",{offset:"0.503906",stopColor:"#A12D9C"}),(0,r.jsx)("stop",{offset:"0.507812",stopColor:"#9F2E9C"}
1),(0,r.jsx)("stop",{offset:"0.511719",stopColor:"#9C2F9C"}),(0,r.jsx)("stop",{offset:"0.515625",stopColor:"#9A2F9D"}),(0,r.jsx)("stop",{offset:"0.519531",stopColor:"#98309D"}),(0,r.jsx)("stop",{offset:"0.523438",stopColor:"#95319D"}),(0,r.jsx)("stop",{offset:"0.527344",stopColor:"#93329D"}),(0,r.jsx)("stop",{offset:"0.53125",stopColor:"#91329E"}),(0,r.jsx)("stop",{offset:"0.535156",stopColor:"#8F339E"}),(0,r.jsx)("stop",{offset:"0.539062",stopColor:"#8D349E"}),(0,r.jsx)("stop",{offset:"0.542969",stopColor:"#8B359E"}),(0,r.jsx)("stop",{offset:"0.546875",stopColor:"#89369F"}),(0,r.jsx)("stop",{offset:"0.550781",stopColor:"#87369F"}),(0,r.jsx)("stop",{offset:"0.554687",stopColor:"#85379F"}),(0,r.jsx)("stop",{offset:"0.558594",stopColor:"#8338A0"}),(0,r.jsx)("stop",{offset:"0.5625",stopColor:"#8138A0"}),(0,r.jsx)("stop",{offset:"0.566406",stopColor:"#7F39A0"}),(0,r.jsx)("stop",{offset:"0.570312",stopColor:"#7D39A0"}),(0,r.jsx)("stop",{offset:"0.574219",stopColor:"#7B3AA0"}),(0,r.jsx)("stop",{offset:"0.578125",stopColor:"#793AA0"}),(0,r.jsx)("stop",{offset:"0.582031",stopColor:"#773BA1"}),(0,r.jsx)("stop",{offset:"0.585938",stopColor:"#753BA1"}),(0,r.jsx)("stop",{offset:"0.589844",stopColor:"#743CA1"}),(0,r.jsx)("stop",{offset:"0.59375",stopColor:"#733CA1"}),(0,r.jsx)("stop",{offset:"0.597656",stopColor:"#723CA1"}),(0,r.jsx)("stop",{offset:"0.601562",stopColor:"#723DA1"}),(0,r.jsx)("stop",{offset:"0.605469",stopColor:"#713DA1"}),(0,r.jsx)("stop",{offset:"0.609375",stopColor:"#6F3DA2"}),(0,r.jsx)("stop",{offset:"0.613281",stopColor:"#6F3EA2"}),(0,r.jsx)("stop",{offset:"0.617187",stopColor:"#6E3EA2"}),(0,r.jsx)("stop",{offset:"0.621094",stopColor:"#6D3FA2"}),(0,r.jsx)("stop",{offset:"0.625",stopColor:"#6C3FA2"}),(0,r.jsx)("stop",{offset:"0.628906",stopColor:"#6B3FA2"}),(0,r.jsx)("stop",{offset:"0.632812",stopColor:"#6B3FA2"}),(0,r.jsx)("stop",{offset:"0.636719",stopColor:"#6A40A3"}),(0,r.jsx)("stop",{offset:"0.640625",stopColor:"#6940A3"}),(0,r.jsx)("stop",{offset:"0.644531",stopColor:"#6841A3"}),(0,r.jsx)("stop",{offset:"0.648438",stopColor:"#6841A3"}),(0,r.jsx)("stop",{offset:"0.652344",stopColor:"#6742A4"}),(0,r.jsx)("stop",{offset:"0.65625",stopColor:"#6642A4"}),(0,r.jsx)("stop",{offset:"0.660156",stopColor:"#6542A4"}),(0,r.jsx)("stop",{offset:"0.664062",stopColor:"#6443A4"}),(0,r.jsx)("stop",{offset:"0.667969",stopColor:"#6343A4"}),(0,r.jsx)("stop",{offset:"0.671875",stopColor:"#6244A5"}),(0,r.jsx)("stop",{offset:"0.675781",stopColor:"#6144A5"}),(0,r.jsx)("stop",{offset:"0.679687",stopColor:"#6045A5"}),(0,r.jsx)("stop",{offset:"0.683594",stopColor:"#6045A5"}),(0,r.jsx)("stop",{offset:"0.6875",stopColor:"#5F46A6"}),(0,r.jsx)("stop",{offset:"0.691406",stopColor:"#5E46A6"}),(0,r.jsx)("stop",{offset:"0.695312",stopColor:"#5C47A6"}),(0,r.jsx)("stop",{offset:"0.699219",stopColor:"#5C47A6"}),(0,r.jsx)("stop",{offset:"0.703125",stopColor:"#5C47A6"}),(0,r.jsx)("stop",{offset:"0.707031",stopColor:"#5B48A7"}),(0,r.jsx)("stop",{offset:"0.710938",stopColor:"#5B48A7"}),(0,r.jsx)("stop",{offset:"0.71875",stopColor:"#5A48A7"}),(0,r.jsx)("stop",{offset:"0.722656",stopColor:"#5949A7"}),(0,r.jsx)("stop",{offset:"0.726562",stopColor:"#5849A8"}),(0,r.jsx)("stop",{offset:"0.730469",stopColor:"#584AA8"}),(0,r.jsx)("stop",{offset:"0.734375",stopColor:"#574BA8"}),(0,r.jsx)("stop",{offset:"0.738281",stopColor:"#564BA8"}),(0,r.jsx)("stop",{offset:"0.742188",stopColor:"#554BA9"}),(0,r.jsx)("stop",{offset:"0.746094",stopColor:"#544CA9"}),(0,r.jsx)("stop",{offset:"0.75",stopColor:"#544CA9"}),(0,r.jsx)("stop",{offset:"0.753906",stopColor:"#534DAA"}),(0,r.jsx)("stop",{offset:"0.757812",stopColor:"#534EAA"}),(0,r.jsx)("stop",{offset:"0.761719",stopColor:"#524EAA"}),(0,r.jsx)("stop",{offset:"0.765625",stopColor:"#524FAB"}),(0,r.jsx)("stop",{offset:"0.773437",stopColor:"#514FAB"}),(0,r.jsx)("stop",{offset:"0.777344",stopColor:"#5050AB"}),(0,r.jsx)("stop",{offset:"0.78125",stopColor:"#5050AB"}),(0,r.jsx)("stop",{offset:"0.785156",stopColor:"#4F50AC"}),(0,r.jsx)("stop",{offset:"0.789062",stopColor:"#4F51AC"}),(0,r.jsx)("stop",{offset:"0.792969",stopColor:"#4F51AC"}),(0,r.jsx)("stop",{offset:"0.796875",stopColor:"#4F52AC"}),(0,r.jsx)("stop",{offset:"0.800781",stopColor:"#4E52AD"}),(0,r.jsx)("stop",{offset:"0.804688",stopColor:"#4E53AD"}),(0,r.jsx)("stop",{offset:"0.808594",stopColor:"#4E53AD"}),(0,r.jsx)("stop",{offset:"0.8125",stopColor:"#4D53AD"}),(0,r.jsx)("stop",{offset:"0.816406",stopColor:"#4D54AE"}),(0,r.jsx)("stop",{offset:"0.820312",stopColor:"#4D54AE"}),(0,r.jsx)("stop",{offset:"0.824219",stopColor:"#4C54AE"}),(0,r.jsx)("stop",{offset:"0.828125",stopColor:"#4B55AF"}),(0,r.jsx)("stop",{offset:"0.832031",stopColor:"#4A55AF"}),(0,r.jsx)("stop",{offset:"0.835938",stopColor:"#4A56AF"}),(0,r.jsx)("stop",{offset:"0.839844",stopColor:"#4A56AF"}),(0,r.jsx)("stop",{offset:"0.84375",stopColor:"#4A57B0"}),(0,r.jsx)("stop",{offset:"0.847656",stopColor:"#4957B0"}),(0,r.jsx)("stop",{offset:"0.851562",stopColor:"#4958B0"}),(0,r.jsx)("stop",{offset:"0.859375",stopColor:"#4858B0"}),(0,r.jsx)("stop",{offset:"0.875",stopColor:"#4858B0"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#4858B0"})]})})]})},48807:(e,s,t)=>{"use strict";t.r(s),t.d(s,{RequestApiErrorClass:()=>r});
1class r extends Error{static formatMessage(e){return"string"==typeof e?e:"object"==typeof e&&null!==e?Object.entries(e).map(e=>{let[s]=e;return Array.isArray(s)?"".concat(s.join(", ")):"".concat(String(s))}).join(" | "):"An unexpected error occurred."}constructor(e){super(r.formatMessage(e.message)),this.rawMessage=e.message,this.code=e.code,this.status=e.status}}},49031:(e,s,t)=>{"use strict";t.d(s,{SelectAdvanced:()=>n});var r=t(54568),a=t(7620),l=t(24568),o=t(96522);let n=e=>{var s;let{options:t,selectedOption:n,setSelectedOption:i,app:c}=e,[d,u]=(0,a.useState)(!1),p=(0,a.useRef)(null),h=e=>"".concat(c,"-").concat(e);(0,l.useClickOutside)(p,()=>u(!1));let x=null==(s=t.flatMap(e=>e.groupItems).find(e=>e.value===n))?void 0:s.label;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:h("select"),onClick:()=>u(!d),children:[(0,r.jsxs)("div",{className:h("selectCurrentOption"),children:[null!=x?x:n,(0,r.jsx)("div",{className:h("selectCurrentOptionArrow"),children:(0,r.jsx)(o.DropdownArrowIcon,{})})]}),d&&(0,r.jsx)("div",{ref:p,className:h("selectOptions list"),children:t.map((e,s)=>(0,r.jsxs)("div",{children:[(0,r.jsx)("p",{className:h("selectGroupTitle"),children:e.groupTitle}),e.groupItems.map((s,t)=>(0,r.jsx)("div",{className:"".concat(s.value===n?h("selectOption advanced isActive"):h("selectOption advanced")," ").concat(t===e.groupItems.length-1?"last":""),onClick:()=>{i(s.value),u(!1)},children:s.label},t))]},s))})]})})}},49575:(e,s,t)=>{"use strict";t.r(s),t.d(s,{requestApi:()=>r});let r=async(e,s,t)=>{var r;let a=new URL("".concat(e).concat(s));(null==t||null==(r=t.params)?void 0:r.length)&&t.params.forEach(e=>{a.searchParams.append(e.key,e.value.toString())});let{method:l,headers:o={},body:n}=t,i=await fetch(a,{method:l,headers:{"Content-Type":"application/json","Access-Control-Allow-Origin":"*",...o},body:n?JSON.stringify(n):void 0}),c=await i.json();if(!i.ok)throw c;return c}},50026:(e,s,t)=>{"use strict";t.r(s),t.d(s,{Messenger64Icon:()=>a});var r=t(54568);let a=()=>(0,r.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("mask",{id:"mask0_2428_2697",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"64",height:"65",children:(0,r.jsx)("path",{d:"M0 0.000976562H64V64.001H0V0.000976562Z",fill:"white"})}),(0,r.jsxs)("g",{mask:"url(#mask0_2428_2697)",children:[(0,r.jsx)("mask",{id:"mask1_2428_2697",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"64",height:"64",children:(0,r.jsx)("path",{d:"M32.0631 63.8163H31.8828C14.3199 63.8163 0.0812988 49.5792 0.0812988 32.014V31.8337C0.0812988 14.2686 14.3199 0.0322266 31.8828 0.0322266H32.0631C49.6283 0.0322266 63.8654 14.2686 63.8654 31.8337V32.014C63.8654 49.5792 49.6283 63.8163 32.0631 63.8163Z",fill:"white"})}),(0,r.jsxs)("g",{mask:"url(#mask1_2428_2697)",children:[(0,r.jsx)("mask",{id:"mask2_2428_2697",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"0",y:"0",width:"64",height:"64",children:(0,r.jsx)("path",{d:"M32.0629 63.8139H31.8826C14.3197 63.8139 0.0810547 49.5768 0.0810547 32.0116V31.8313C0.0810547 14.2661 14.3197 0.0297852 31.8826 0.0297852H32.0629C49.628 0.0297852 63.8651 14.2661 63.8651 31.8313V32.0116C63.8651 49.5768 49.628 63.8139 32.0629 63.8139Z",fill:"white"})}),(0,r.jsx)("g",{mask:"url(#mask2_2428_2697)",children:(0,r.jsx)("path",{d:"M-31.8113 31.9228L31.9728 95.7076L95.7577 31.9228L31.9728 -31.8613L-31.8113 31.9228Z",fill:"url(#paint0_linear_2428_2697)"})})]})]}),(0,r.jsx)("path",{d:"M50.9639 31.9256V32.0363C50.9116 41.1628 44.3836 48.7923 35.745 50.54C35.1616 50.6567 34.5677 50.7476 33.9647 50.8113C33.3132 50.8794 32.648 50.9166 31.9753 50.9166C29.3397 50.9166 26.826 50.3772 24.5435 49.4014L15.7306 50.34C14.2276 50.5014 13.1185 48.9673 13.7412 47.5885L16.1086 42.3438C14.1344 39.3514 12.9844 35.7696 12.9844 31.9256C12.9844 21.4567 21.5063 12.937 31.9753 12.937C41.876 12.937 50.0291 20.5529 50.8882 30.2325C50.9404 30.787 50.9639 31.3575 50.9639 31.9256Z",fill:"white"}),(0,r.jsx)("mask",{id:"mask3_2428_2697",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"25",width:"22",height:"13",children:(0,r.jsx)("path",{d:"M21.1396 25.9873H42.8609V37.8176H21.1396V25.9873Z",fill:"white"})}),(0,r.jsxs)("g",{mask:"url(#mask3_2428_2697)",children:[(0,r.jsx)("mask",{id:"mask4_2428_2697",
1style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"26",width:"22",height:"12",children:(0,r.jsx)("path",{d:"M41.103 26.3788C41.9538 25.6803 43.1219 26.7258 42.5227 27.6485L38.5348 33.7985L36.4265 37.053C35.9773 37.7455 35.0326 37.9099 34.375 37.4114L30.8765 34.7606L28.7219 33.1273C28.5469 32.9939 28.303 32.9993 28.1318 33.1371L22.8416 37.4546C21.9901 38.1508 20.8242 37.1053 21.4235 36.1841L25.1568 30.4258L27.2674 27.172C27.7151 26.4796 28.6598 26.3144 29.3174 26.8129L32.7129 29.3864L34.8674 31.0174C35.0439 31.1515 35.2863 31.1455 35.4568 31.0061L41.103 26.3788Z",fill:"white"})}),(0,r.jsxs)("g",{mask:"url(#mask4_2428_2697)",children:[(0,r.jsx)("mask",{id:"mask5_2428_2697",style:{maskType:"luminance"},maskUnits:"userSpaceOnUse",x:"21",y:"26",width:"22",height:"12",children:(0,r.jsx)("path",{d:"M41.1025 26.3803C41.9533 25.6818 43.1215 26.7272 42.5222 27.65L38.5343 33.8L36.426 37.0545C35.9768 37.7469 35.0321 37.9113 34.3745 37.4128L30.876 34.7621L28.7215 33.1287C28.5465 32.9954 28.3025 33.0007 28.1313 33.1386L22.8412 37.456C21.9896 38.1522 20.8237 37.1068 21.423 36.1856L25.1563 30.4272L27.2669 27.1734C27.7146 26.481 28.6593 26.3159 29.3169 26.8144L32.7124 29.3878L34.8669 31.0189C35.0434 31.153 35.2859 31.1469 35.4563 31.0075L41.1025 26.3803Z",fill:"white"})}),(0,r.jsx)("g",{mask:"url(#mask5_2428_2697)",children:(0,r.jsx)("path",{d:"M14.5891 31.916L31.9724 49.3001L49.3565 31.916L31.9724 14.5327L14.5891 31.916Z",fill:"url(#paint1_linear_2428_2697)"})})]})]}),(0,r.jsxs)("defs",{children:[(0,r.jsxs)("linearGradient",{id:"paint0_linear_2428_2697",x1:"0.0807616",y1:"63.8155",x2:"63.8655",y2:"0.0307204",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#4E8CD1"}),(0,r.jsx)("stop",{offset:"0.125",stopColor:"#4E8CD1"}),(0,r.jsx)("stop",{offset:"0.140625",stopColor:"#4E8CD1"}),(0,r.jsx)("stop",{offset:"0.148438",stopColor:"#4E8CD1"}),(0,r.jsx)("stop",{offset:"0.152344",stopColor:"#4E8BD0"}),(0,r.jsx)("stop",{offset:"0.15625",stopColor:"#4D8AD0"}),(0,r.jsx)("stop",{offset:"0.160156",stopColor:"#4D88CF"}),(0,r.jsx)("stop",{offset:"0.164062",stopColor:"#4D87CE"}),(0,r.jsx)("stop",{offset:"0.167969",stopColor:"#4D86CE"}),(0,r.jsx)("stop",{offset:"0.171875",stopColor:"#4D85CD"}),(0,r.jsx)("stop",{offset:"0.175781",stopColor:"#4D84CC"}),(0,r.jsx)("stop",{offset:"0.179688",stopColor:"#4D83CB"}),(0,r.jsx)("stop",{offset:"0.183594",stopColor:"#4C81CB"}),(0,r.jsx)("stop",{offset:"0.1875",stopColor:"#4C80CA"}),(0,r.jsx)("stop",{offset:"0.191406",stopColor:"#4B7FC9"}),(0,r.jsx)("stop",{offset:"0.195312",stopColor:"#4B7EC9"}),(0,r.jsx)("stop",{offset:"0.199219",stopColor:"#4A7EC8"}),(0,r.jsx)("stop",{offset:"0.203125",stopColor:"#4A7DC8"}),(0,r.jsx)("stop",{offset:"0.207031",stopColor:"#4B7CC7"}),(0,r.jsx)("stop",{offset:"0.210938",stopColor:"#4B7AC6"}),(0,r.jsx)("stop",{offset:"0.214844",stopColor:"#4B79C6"}),(0,r.jsx)("stop",{offset:"0.21875",stopColor:"#4A78C5"}),(0,r.jsx)("stop",{offset:"0.222656",stopColor:"#4A77C4"}),(0,r.jsx)("stop",{offset:"0.226562",stopColor:"#4976C4"}),(0,r.jsx)("stop",{offset:"0.230469",stopColor:"#4975C3"}),(0,r.jsx)("stop",{offset:"0.234375",stopColor:"#4974C3"}),(0,r.jsx)("stop",{offset:"0.238281",stopColor:"#4973C2"}),(0,r.jsx)("stop",{offset:"0.242188",stopColor:"#4972C1"}),(0,r.jsx)("stop",{offset:"0.246094",stopColor:"#4972C1"}),(0,r.jsx)("stop",{offset:"0.25",stopColor:"#4871C1"}),(0,r.jsx)("stop",{offset:"0.253906",stopColor:"#4870C0"}),(0,r.jsx)("stop",{offset:"0.257812",stopColor:"#486FBF"}),(0,r.jsx)("stop",{offset:"0.261719",stopColor:"#486FBF"}),(0,r.jsx)("stop",{offset:"0.265625",stopColor:"#486EBF"}),(0,r.jsx)("stop",{offset:"0.269531",stopColor:"#486DBE"}),(0,r.jsx)("stop",{offset:"0.273438",stopColor:"#486CBD"}),(0,r.jsx)("stop",{offset:"0.277344",stopColor:"#486BBD"}),(0,r.jsx)("stop",{offset:"0.28125",stopColor:"#486ABC"}),(0,r.jsx)("stop",{offset:"0.285156",stopColor:"#4769BC"}),(0,r.jsx)("stop",{offset:"0.289062",stopColor:"#4768BB"}),(0,r.jsx)("stop",{offset:"0.292969",stopColor:"#4767BA"}),(0,r.jsx)("stop",{offset:"0.296875",stopColor:"#4766BA"}),(0,r.jsx)("stop",{offset:"0.300781",stopColor:"#4866B9"}),(0,r.jsx)("stop",{offset:"0.304688",stopColor:"#4865B9"}),(0,r.jsx)("stop",{offset:"0.308594",stopColor:"#4865B9"}),(0,r.jsx)("stop",{offset:"0.3125",stopColor:"#4864B8"}),(0,r.jsx)("stop",{offset:"0.316406",stopColor:"#4864B8"}),(0,r.jsx)("stop",{offset:"0.320312",stopColor:"#4863B8"}),(0,r.jsx)("stop",{offset:"0.324219",stopColor:"#4862B7"}),(0,r.jsx)("stop",{offset:"0.328125",stopColor:"#4861B7"}),(0,r.jsx)("stop",{offset:"0.332031",stopColor:"#4861B6"}),(0,r.jsx)("stop",{offset:"0.335938",stopColor:"#4860B6"}),(0,r.jsx)("stop",{offset:"0.339844",stopColor:"#4860B5"}),(0,r.jsx)("stop",{offset:"0.34375",stopColor:"#495FB5"}),(0,r.jsx)("stop",{offset:"0.347656",stopColor:"#495EB5"}),(0,r.jsx)("stop",{offset:"0.351562",stopColor:"#495EB4"}),(0,r.jsx)("stop",{offset:"0.355469",stopColor:"#495DB4"}),(0,r.jsx)("stop",{offset:"0.359375",stopColor:"#495DB3"}),(0,r.jsx)("stop",{offset:"0.363281",stopColor:"#495CB3"}),(0,r.jsx)("stop",{offset:"0.367188",stopColor:"#495BB3"}),(0,r.jsx)("stop",{offset:"0.371094",stopColor:"#495BB2"}),(0,r.jsx)("stop",{offset:"0.375",stopColor:"#4A5AB2"}),(0,r.jsx)("stop",{offset:"0.378906",stopColor:"#4A59B1"}),(0,r.jsx)("stop",{offset:"0.382812",stopColor:"#4A59B1"}),(0,r.jsx)("stop",{offset:"0.386719",stopColor:"#4B58B1"}),(0,r.jsx)("stop",{offset:"0.390625",stopColor:"#4C58B0"}),(0,r.jsx)("stop",{offset:"0.394531",stopColor:"#4C57B0"}),(0,r.jsx)("stop",{offset:"0.398438",stopColor:"#4D57B0"}),(0,r.jsx)("stop",{offset:"0.402344",stopColor:"#4E56B0"}),(0,r.jsx)("stop",{offset:"0.40625",stopColor:"#4F56AF"}),(0,r.jsx)("stop",{offset:"0.410156",stopColor:"#5056AF"}),(0,r.jsx)("stop",{offset:"0.414062",stopColor:"#5155AF"}),(0,r.jsx)("stop",{offset:"0.417969",stopColor:"#5255AF"}),(0,r.jsx)("stop",{offset:"0.421875",stopColor:"#5355AF"}),(0,r.jsx)("stop",{offset:"0.425781",stopColor:"#5455AF"}),(0,r.jsx)("stop",{offset:"0.429688",stopColor:"#5655AF"}),(0,r.jsx)("stop",{offset:"0.433594",stopColor:"#5755AF"}),(0,r.jsx)("stop",{offset:"0.4375",stopColor:"#5855AF"}),(0,r.jsx)("stop",{offset:"0.441406",stopColor:"#5954AE"}),(0,r.jsx)("stop",{offset:"0.445312",stopColor:"#5B54AE"}),(0,r.jsx)("stop",{offset:"0.449219",stopColor:"#5C54AE"}),(0,r.jsx)("stop",{offset:"0.453125",stopColor:"#5E54AE"}),(0,r.jsx)("stop",{offset:"0.457031",stopColor:"#6054AE"}),(0,r.jsx)("stop",{offset:"0.460938",stopColor:"#6154AE"}),(0,r.jsx)("stop",{offset:"0.464844",stopColor:"#6353AE"}),(0,r.jsx)("stop",{offset:"0.46875",stopColor:"#6453AE"}),(0,r.jsx)("stop",{offset:"0.472656",stopColor:"#6653AE"}),(0,r.jsx)("stop",{offset:"0.476562",stopColor:"#6953AE"}),(0,r.jsx)("stop",{offset:"0.480469",stopColor:"#6A52AE"}),(0,r.jsx)("stop",{offset:"0.484375",stopColor:"#6C52AE"}),(0,r.jsx)("stop",{offset:"0.488281",stopColor:"#6E52AE"}),(0,r.jsx)("stop",{offset:"0.492188",stopColor:"#7051AE"}),(0,r.jsx)("stop",{offset:"0.496094",stopColor:"#7351AD"}),(0,r.jsx)("stop",{offset:"0.5",stopColor:"#7551AD"}),(0,r.jsx)("stop",{offset:"0.503906",stopColor:"#7650AD"}),(0,r.jsx)("stop",{offset:"0.507812",stopColor:"#7850AD"}),(0,r.jsx)("stop",{offset:"0.511719",stopColor:"#7A50AD"}
1),(0,r.jsx)("stop",{offset:"0.515625",stopColor:"#7C4FAD"}),(0,r.jsx)("stop",{offset:"0.519531",stopColor:"#7F4EAC"}),(0,r.jsx)("stop",{offset:"0.523438",stopColor:"#814EAC"}),(0,r.jsx)("stop",{offset:"0.527344",stopColor:"#844DAC"}),(0,r.jsx)("stop",{offset:"0.53125",stopColor:"#864DAC"}),(0,r.jsx)("stop",{offset:"0.535156",stopColor:"#894CAB"}),(0,r.jsx)("stop",{offset:"0.539062",stopColor:"#8B4CAB"}),(0,r.jsx)("stop",{offset:"0.542969",stopColor:"#8E4BAB"}),(0,r.jsx)("stop",{offset:"0.546875",stopColor:"#914BAB"}),(0,r.jsx)("stop",{offset:"0.550781",stopColor:"#944AAA"}),(0,r.jsx)("stop",{offset:"0.554688",stopColor:"#9649AA"}),(0,r.jsx)("stop",{offset:"0.558594",stopColor:"#9A48AA"}),(0,r.jsx)("stop",{offset:"0.5625",stopColor:"#9D47AA"}),(0,r.jsx)("stop",{offset:"0.566406",stopColor:"#A047A9"}),(0,r.jsx)("stop",{offset:"0.570312",stopColor:"#A346A9"}),(0,r.jsx)("stop",{offset:"0.574219",stopColor:"#A645A9"}),(0,r.jsx)("stop",{offset:"0.578125",stopColor:"#A945A8"}),(0,r.jsx)("stop",{offset:"0.582031",stopColor:"#AC44A8"}),(0,r.jsx)("stop",{offset:"0.585938",stopColor:"#B043A8"}),(0,r.jsx)("stop",{offset:"0.589844",stopColor:"#B341A7"}),(0,r.jsx)("stop",{offset:"0.59375",stopColor:"#B740A7"}),(0,r.jsx)("stop",{offset:"0.597656",stopColor:"#BA40A7"}),(0,r.jsx)("stop",{offset:"0.601562",stopColor:"#BE3FA7"}),(0,r.jsx)("stop",{offset:"0.605469",stopColor:"#C23EA6"}),(0,r.jsx)("stop",{offset:"0.609375",stopColor:"#C63CA5"}),(0,r.jsx)("stop",{offset:"0.613281",stopColor:"#CB3BA5"}),(0,r.jsx)("stop",{offset:"0.617188",stopColor:"#CF3AA5"}),(0,r.jsx)("stop",{offset:"0.621094",stopColor:"#D339A5"}),(0,r.jsx)("stop",{offset:"0.625",stopColor:"#D738A4"}),(0,r.jsx)("stop",{offset:"0.628906",stopColor:"#DB37A4"}),(0,r.jsx)("stop",{offset:"0.632812",stopColor:"#DE35A3"}),(0,r.jsx)("stop",{offset:"0.636719",stopColor:"#E335A3"}),(0,r.jsx)("stop",{offset:"0.640625",stopColor:"#E734A3"}),(0,r.jsx)("stop",{offset:"0.644531",stopColor:"#EA33A3"}),(0,r.jsx)("stop",{offset:"0.648438",stopColor:"#ED31A2"}),(0,r.jsx)("stop",{offset:"0.652344",stopColor:"#EE31A0"}),(0,r.jsx)("stop",{offset:"0.65625",stopColor:"#F0319E"}),(0,r.jsx)("stop",{offset:"0.660156",stopColor:"#F0319B"}),(0,r.jsx)("stop",{offset:"0.664062",stopColor:"#F03199"}),(0,r.jsx)("stop",{offset:"0.667969",stopColor:"#F03298"}),(0,r.jsx)("stop",{offset:"0.671875",stopColor:"#F03497"}),(0,r.jsx)("stop",{offset:"0.675781",stopColor:"#F03596"}),(0,r.jsx)("stop",{offset:"0.679688",stopColor:"#F03695"}),(0,r.jsx)("stop",{offset:"0.683594",stopColor:"#F03794"}),(0,r.jsx)("stop",{offset:"0.6875",stopColor:"#F03893"}),(0,r.jsx)("stop",{offset:"0.691406",stopColor:"#F03992"}),(0,r.jsx)("stop",{offset:"0.695312",stopColor:"#F03991"}),(0,r.jsx)("stop",{offset:"0.699219",stopColor:"#F03B90"}),(0,r.jsx)("stop",{offset:"0.703125",stopColor:"#F03C8F"}),(0,r.jsx)("stop",{offset:"0.707031",stopColor:"#F13E8F"}),(0,r.jsx)("stop",{offset:"0.710938",stopColor:"#F13F8E"}),(0,r.jsx)("stop",{offset:"0.714844",stopColor:"#F1408D"}),(0,r.jsx)("stop",{offset:"0.71875",stopColor:"#F1418D"}),(0,r.jsx)("stop",{offset:"0.722656",stopColor:"#F1428C"}),(0,r.jsx)("stop",{offset:"0.726562",stopColor:"#F1438B"}),(0,r.jsx)("stop",{offset:"0.730469",stopColor:"#F1448A"}),(0,r.jsx)("stop",{offset:"0.734375",stopColor:"#F14689"}),(0,r.jsx)("stop",{offset:"0.738281",stopColor:"#F14789"}),(0,r.jsx)("stop",{offset:"0.742188",stopColor:"#F14988"}),(0,r.jsx)("stop",{offset:"0.746094",stopColor:"#F14A87"}),(0,r.jsx)("stop",{offset:"0.75",stopColor:"#F14B86"}),(0,r.jsx)("stop",{offset:"0.753906",stopColor:"#F24D86"}),(0,r.jsx)("stop",{offset:"0.757812",stopColor:"#F24E85"}),(0,r.jsx)("stop",{offset:"0.761719",stopColor:"#F24F84"}),(0,r.jsx)("stop",{offset:"0.765625",stopColor:"#F25083"}),(0,r.jsx)("stop",{offset:"0.769531",stopColor:"#F25181"}),(0,r.jsx)("stop",{offset:"0.773438",stopColor:"#F25280"}),(0,r.jsx)("stop",{offset:"0.777344",stopColor:"#F2537F"}),(0,r.jsx)("stop",{offset:"0.78125",stopColor:"#F2557E"}),(0,r.jsx)("stop",{offset:"0.785156",stopColor:"#F2567E"}),(0,r.jsx)("stop",{offset:"0.789062",stopColor:"#F2587D"}),(0,r.jsx)("stop",{offset:"0.792969",stopColor:"#F2597C"}),(0,r.jsx)("stop",{offset:"0.796875",stopColor:"#F35A7B"}),(0,r.jsx)("stop",{offset:"0.800781",stopColor:"#F35B7A"}),(0,r.jsx)("stop",{offset:"0.804688",stopColor:"#F35D79"}),(0,r.jsx)("stop",{offset:"0.808594",stopColor:"#F35D79"}),(0,r.jsx)("stop",{offset:"0.8125",stopColor:"#F35E78"}),(0,r.jsx)("stop",{offset:"0.816406",stopColor:"#F36077"}),(0,r.jsx)("stop",{offset:"0.820312",stopColor:"#F36176"}),(0,r.jsx)("stop",{offset:"0.824219",stopColor:"#F36276"}),(0,r.jsx)("stop",{offset:"0.828125",stopColor:"#F36375"}),(0,r.jsx)("stop",{offset:"0.832031",stopColor:"#F36474"}),(0,r.jsx)("stop",{offset:"0.835937",stopColor:"#F36673"}),(0,r.jsx)("stop",{offset:"0.839844",stopColor:"#F46772"}),(0,r.jsx)("stop",{offset:"0.84375",stopColor:"#F46871"}),(0,r.jsx)("stop",{offset:"0.847656",stopColor:"#F46A70"}),(0,r.jsx)("stop",{offset:"0.851562",stopColor:"#F46B6F"}),(0,r.jsx)("stop",{offset:"0.859375",stopColor:"#F46C6F"}),(0,r.jsx)("stop",{offset:"0.875",stopColor:"#F46C6F"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F46C6F"})]}),(0,r.jsxs)("linearGradient",{id:"paint1_linear_2428_2697",x1:"23.3153",y1:"40.6426",x2:"40.6991",y2:"23.2589",gradientUnits:"userSpaceOnUse",children:[(0,r.jsx)("stop",{stopColor:"#4E8CD1"}),(0,r.jsx)("stop",{offset:"0.03125",stopColor:"#4E8CD1"}),(0,r.jsx)("stop",{offset:"0.046875",stopColor:"#4E8CD1"}),(0,r.jsx)("stop",{offset:"0.0507812",stopColor:"#4E8BD1"}),(0,r.jsx)("stop",{offset:"0.0546875",stopColor:"#4D8AD0"}),(0,r.jsx)("stop",{offset:"0.0585938",stopColor:"#4D89CF"}),(0,r.jsx)("stop",{offset:"0.0625",stopColor:"#4D88CF"}),(0,r.jsx)("stop",{offset:"0.0664062",stopColor:"#4D87CE"}),(0,r.jsx)("stop",{offset:"0.0703125",stopColor:"#4D86CE"}),(0,r.jsx)("stop",{offset:"0.0742188",stopColor:"#4D86CD"}),(0,r.jsx)("stop",{offset:"0.078125",stopColor:"#4D85CD"}),(0,r.jsx)("stop",{offset:"0.0820312",stopColor:"#4D84CC"}),(0,r.jsx)("stop",{offset:"0.0859375",stopColor:"#4D83CC"}),(0,r.jsx)("stop",{offset:"0.0898438",stopColor:"#4D82CB"}),(0,r.jsx)("stop",{offset:"0.09375",stopColor:"#4C81CA"}),(0,r.jsx)("stop",{offset:"0.0976562",stopColor:"#4C80CA"}),(0,r.jsx)("stop",{offset:"0.101562",stopColor:"#4B7FC9"}),(0,r.jsx)("stop",{offset:"0.105469",stopColor:"#4B7EC9"}),(0,r.jsx)("stop",{offset:"0.109375",stopColor:"#4A7EC8"}),(0,r.jsx)("stop",{offset:"0.113281",stopColor:"#4A7DC8"}
1),(0,r.jsx)("stop",{offset:"0.117188",stopColor:"#4A7DC8"}),(0,r.jsx)("stop",{offset:"0.121094",stopColor:"#4B7CC7"}),(0,r.jsx)("stop",{offset:"0.125",stopColor:"#4B7BC7"}),(0,r.jsx)("stop",{offset:"0.128906",stopColor:"#4A7AC6"}),(0,r.jsx)("stop",{offset:"0.132812",stopColor:"#4A79C6"}),(0,r.jsx)("stop",{offset:"0.136719",stopColor:"#4A78C5"}),(0,r.jsx)("stop",{offset:"0.140625",stopColor:"#4A77C5"}),(0,r.jsx)("stop",{offset:"0.144531",stopColor:"#4977C4"}),(0,r.jsx)("stop",{offset:"0.148438",stopColor:"#4976C4"}),(0,r.jsx)("stop",{offset:"0.152344",stopColor:"#4975C3"}),(0,r.jsx)("stop",{offset:"0.15625",stopColor:"#4975C3"}),(0,r.jsx)("stop",{offset:"0.160156",stopColor:"#4974C2"}),(0,r.jsx)("stop",{offset:"0.164062",stopColor:"#4973C2"}),(0,r.jsx)("stop",{offset:"0.167969",stopColor:"#4972C1"}),(0,r.jsx)("stop",{offset:"0.171875",stopColor:"#4972C1"}),(0,r.jsx)("stop",{offset:"0.175781",stopColor:"#4971C1"}),(0,r.jsx)("stop",{offset:"0.179688",stopColor:"#4870C0"}),(0,r.jsx)("stop",{offset:"0.183594",stopColor:"#4870C0"}),(0,r.jsx)("stop",{offset:"0.1875",stopColor:"#486FBF"}),(0,r.jsx)("stop",{offset:"0.191406",stopColor:"#486FBF"}),(0,r.jsx)("stop",{offset:"0.195312",stopColor:"#486EBF"}),(0,r.jsx)("stop",{offset:"0.199219",stopColor:"#486EBE"}),(0,r.jsx)("stop",{offset:"0.203125",stopColor:"#486DBE"}),(0,r.jsx)("stop",{offset:"0.207031",stopColor:"#486CBD"}),(0,r.jsx)("stop",{offset:"0.210938",stopColor:"#486BBD"}),(0,r.jsx)("stop",{offset:"0.214844",stopColor:"#476BBC"}),(0,r.jsx)("stop",{offset:"0.21875",stopColor:"#476ABC"}),(0,r.jsx)("stop",{offset:"0.222656",stopColor:"#4769BB"}),(0,r.jsx)("stop",{offset:"0.226562",stopColor:"#4768BB"}),(0,r.jsx)("stop",{offset:"0.230469",stopColor:"#4768BB"}),(0,r.jsx)("stop",{offset:"0.234375",stopColor:"#4767BA"}),(0,r.jsx)("stop",{offset:"0.238281",stopColor:"#4766BA"}),(0,r.jsx)("stop",{offset:"0.242188",stopColor:"#4866B9"}),(0,r.jsx)("stop",{offset:"0.246094",stopColor:"#4865B9"}),(0,r.jsx)("stop",{offset:"0.25",stopColor:"#4865B9"}),(0,r.jsx)("stop",{offset:"0.253906",stopColor:"#4864B9"}),(0,r.jsx)("stop",{offset:"0.257812",stopColor:"#4864B8"}),(0,r.jsx)("stop",{offset:"0.265625",stopColor:"#4864B8"}),(0,r.jsx)("stop",{offset:"0.269531",stopColor:"#4863B8"}),(0,r.jsx)("stop",{offset:"0.273438",stopColor:"#4863B7"}),(0,r.jsx)("stop",{offset:"0.277344",stopColor:"#4862B7"}),(0,r.jsx)("stop",{offset:"0.28125",stopColor:"#4861B6"}),(0,r.jsx)("stop",{offset:"0.285156",stopColor:"#4861B6"}),(0,r.jsx)("stop",{offset:"0.289063",stopColor:"#4860B6"}),(0,r.jsx)("stop",{offset:"0.292969",stopColor:"#4860B5"}),(0,r.jsx)("stop",{offset:"0.296875",stopColor:"#495FB5"}),(0,r.jsx)("stop",{offset:"0.300781",stopColor:"#495FB5"}),(0,r.jsx)("stop",{offset:"0.304688",stopColor:"#495EB4"}),(0,r.jsx)("stop",{offset:"0.308594",stopColor:"#495EB4"}),(0,r.jsx)("stop",{offset:"0.3125",stopColor:"#495DB4"}),(0,r.jsx)("stop",{offset:"0.316406",stopColor:"#495DB4"}),(0,r.jsx)("stop",{offset:"0.320312",stopColor:"#495CB3"}),(0,r.jsx)("stop",{offset:"0.324219",stopColor:"#495CB3"}),(0,r.jsx)("stop",{offset:"0.328125",stopColor:"#495BB3"}),(0,r.jsx)("stop",{offset:"0.332031",stopColor:"#495BB2"}),(0,r.jsx)("stop",{offset:"0.335937",stopColor:"#4A5AB2"}),(0,r.jsx)("stop",{offset:"0.339844",stopColor:"#4A5AB2"}),(0,r.jsx)("stop",{offset:"0.34375",stopColor:"#4A59B1"}),(0,r.jsx)("stop",{offset:"0.351563",stopColor:"#4A59B1"}),(0,r.jsx)("stop",{offset:"0.355469",stopColor:"#4B58B1"}),(0,r.jsx)("stop",{offset:"0.359375",stopColor:"#4C58B0"}),(0,r.jsx)("stop",{offset:"0.363281",stopColor:"#4C57B0"}),(0,r.jsx)("stop",{offset:"0.367188",stopColor:"#4D57B0"}),(0,r.jsx)("stop",{offset:"0.371094",stopColor:"#4D57B0"}),(0,r.jsx)("stop",{offset:"0.375",stopColor:"#4E57B0"}),(0,r.jsx)("stop",{offset:"0.378906",stopColor:"#4F56AF"}),(0,r.jsx)("stop",{offset:"0.382812",stopColor:"#5056AF"}),(0,r.jsx)("stop",{offset:"0.386719",stopColor:"#5156AF"}),(0,r.jsx)("stop",{offset:"0.390625",stopColor:"#5155AF"}),(0,r.jsx)("stop",{offset:"0.394531",stopColor:"#5255AF"}),(0,r.jsx)("stop",{offset:"0.398437",stopColor:"#5355AF"}),(0,r.jsx)("stop",{offset:"0.402344",stopColor:"#5455AF"}),(0,r.jsx)("stop",{offset:"0.40625",stopColor:"#5555AF"}),(0,r.jsx)("stop",{offset:"0.410156",stopColor:"#5655AF"}),(0,r.jsx)("stop",{offset:"0.414063",stopColor:"#5755AF"}),(0,r.jsx)("stop",{offset:"0.417969",stopColor:"#5854AF"}),(0,r.jsx)("stop",{offset:"0.421875",stopColor:"#5954AE"}),(0,r.jsx)("stop",{offset:"0.425781",stopColor:"#5A54AE"}),(0,r.jsx)("stop",{offset:"0.429688",stopColor:"#5B54AE"}),(0,r.jsx)("stop",{offset:"0.433594",stopColor:"#5C54AE"}),(0,r.jsx)("stop",{offset:"0.4375",stopColor:"#5D54AE"}),(0,r.jsx)("stop",{offset:"0.441406",stopColor:"#5E54AE"}),(0,r.jsx)("stop",{offset:"0.445312",stopColor:"#6054AE"}),(0,r.jsx)("stop",{offset:"0.449219",stopColor:"#6154AE"}),(0,r.jsx)("stop",{offset:"0.453125",stopColor:"#6253AE"}),(0,r.jsx)("stop",{offset:"0.457031",stopColor:"#6453AE"}),(0,r.jsx)("stop",{offset:"0.460937",stopColor:"#6553AE"}),(0,r.jsx)("stop",{offset:"0.464844",stopColor:"#6753AE"}),(0,r.jsx)("stop",{offset:"0.46875",stopColor:"#6853AE"}),(0,r.jsx)("stop",{offset:"0.472656",stopColor:"#6A52AE"}),(0,r.jsx)("stop",{offset:"0.476563",stopColor:"#6C52AE"}),(0,r.jsx)("stop",{offset:"0.480469",stopColor:"#6D52AE"}),(0,r.jsx)("stop",{offset:"0.484375",stopColor:"#6D52AE"}),(0,r.jsx)("stop",{offset:"0.488281",stopColor:"#6F52AE"}),(0,r.jsx)("stop",{offset:"0.492188",stopColor:"#7151AE"}),(0,r.jsx)("stop",{offset:"0.496094",stopColor:"#7351AD"}),(0,r.jsx)("stop",{offset:"0.5",stopColor:"#7551AD"}),(0,r.jsx)("stop",{offset:"0.503906",stopColor:"#7650AD"}),(0,r.jsx)("stop",{offset:"0.507812",stopColor:"#7850AD"}),(0,r.jsx)("stop",{offset:"0.511719",stopColor:"#7950AD"}
1),(0,r.jsx)("stop",{offset:"0.515625",stopColor:"#7A50AD"}),(0,r.jsx)("stop",{offset:"0.519531",stopColor:"#7C4FAD"}),(0,r.jsx)("stop",{offset:"0.523438",stopColor:"#7D4FAC"}),(0,r.jsx)("stop",{offset:"0.527344",stopColor:"#7F4EAC"}),(0,r.jsx)("stop",{offset:"0.53125",stopColor:"#814EAC"}),(0,r.jsx)("stop",{offset:"0.535156",stopColor:"#834DAC"}),(0,r.jsx)("stop",{offset:"0.539062",stopColor:"#854DAC"}),(0,r.jsx)("stop",{offset:"0.542969",stopColor:"#884CAB"}),(0,r.jsx)("stop",{offset:"0.546875",stopColor:"#8A4CAB"}),(0,r.jsx)("stop",{offset:"0.550781",stopColor:"#8C4CAB"}),(0,r.jsx)("stop",{offset:"0.554687",stopColor:"#8D4BAB"}),(0,r.jsx)("stop",{offset:"0.558594",stopColor:"#904BAB"}),(0,r.jsx)("stop",{offset:"0.5625",stopColor:"#924AAB"}),(0,r.jsx)("stop",{offset:"0.566406",stopColor:"#944AAB"}),(0,r.jsx)("stop",{offset:"0.570313",stopColor:"#9649AA"}),(0,r.jsx)("stop",{offset:"0.574219",stopColor:"#9949AA"}),(0,r.jsx)("stop",{offset:"0.578125",stopColor:"#9B48AA"}),(0,r.jsx)("stop",{offset:"0.582031",stopColor:"#9D48AA"}),(0,r.jsx)("stop",{offset:"0.585938",stopColor:"#A047A9"}),(0,r.jsx)("stop",{offset:"0.589844",stopColor:"#A247A9"}),(0,r.jsx)("stop",{offset:"0.59375",stopColor:"#A446A9"}),(0,r.jsx)("stop",{offset:"0.597656",stopColor:"#A745A9"}),(0,r.jsx)("stop",{offset:"0.601562",stopColor:"#A944A8"}),(0,r.jsx)("stop",{offset:"0.605469",stopColor:"#AC44A8"}),(0,r.jsx)("stop",{offset:"0.609375",stopColor:"#AE43A8"}),(0,r.jsx)("stop",{offset:"0.613281",stopColor:"#B142A8"}),(0,r.jsx)("stop",{offset:"0.617188",stopColor:"#B441A7"}),(0,r.jsx)("stop",{offset:"0.621094",stopColor:"#B741A7"}),(0,r.jsx)("stop",{offset:"0.625",stopColor:"#B940A7"}),(0,r.jsx)("stop",{offset:"0.628906",stopColor:"#BC3FA7"}),(0,r.jsx)("stop",{offset:"0.632812",stopColor:"#BF3FA6"}),(0,r.jsx)("stop",{offset:"0.636719",stopColor:"#C33DA6"}),(0,r.jsx)("stop",{offset:"0.640625",stopColor:"#C63CA5"}),(0,r.jsx)("stop",{offset:"0.644531",stopColor:"#C93CA5"}),(0,r.jsx)("stop",{offset:"0.648438",stopColor:"#CC3BA5"}),(0,r.jsx)("stop",{offset:"0.652344",stopColor:"#D03AA5"}),(0,r.jsx)("stop",{offset:"0.65625",stopColor:"#D339A5"}),(0,r.jsx)("stop",{offset:"0.660156",stopColor:"#D638A4"}),(0,r.jsx)("stop",{offset:"0.664062",stopColor:"#D937A4"}),(0,r.jsx)("stop",{offset:"0.667969",stopColor:"#DC36A4"}),(0,r.jsx)("stop",{offset:"0.671875",stopColor:"#DF35A3"}),(0,r.jsx)("stop",{offset:"0.675781",stopColor:"#E235A3"}),(0,r.jsx)("stop",{offset:"0.679687",stopColor:"#E534A3"}),(0,r.jsx)("stop",{offset:"0.683594",stopColor:"#E833A3"}),(0,r.jsx)("stop",{offset:"0.6875",stopColor:"#EB32A2"}),(0,r.jsx)("stop",{offset:"0.691406",stopColor:"#ED31A2"}),(0,r.jsx)("stop",{offset:"0.695313",stopColor:"#EF31A1"}),(0,r.jsx)("stop",{offset:"0.699219",stopColor:"#EF319F"}),(0,r.jsx)("stop",{offset:"0.703125",stopColor:"#F0319D"}),(0,r.jsx)("stop",{offset:"0.707031",stopColor:"#F0319B"}),(0,r.jsx)("stop",{offset:"0.710938",stopColor:"#F0319A"}),(0,r.jsx)("stop",{offset:"0.714844",stopColor:"#F03298"}),(0,r.jsx)("stop",{offset:"0.71875",stopColor:"#F03397"}),(0,r.jsx)("stop",{offset:"0.722656",stopColor:"#F03496"}),(0,r.jsx)("stop",{offset:"0.726562",stopColor:"#F03596"}),(0,r.jsx)("stop",{offset:"0.730469",stopColor:"#F03695"}),(0,r.jsx)("stop",{offset:"0.734375",stopColor:"#F03695"}),(0,r.jsx)("stop",{offset:"0.738281",stopColor:"#F03794"}),(0,r.jsx)("stop",{offset:"0.742188",stopColor:"#F03893"}),(0,r.jsx)("stop",{offset:"0.746094",stopColor:"#F03892"}),(0,r.jsx)("stop",{offset:"0.75",stopColor:"#F03992"}),(0,r.jsx)("stop",{offset:"0.753906",stopColor:"#F03A91"}),(0,r.jsx)("stop",{offset:"0.757812",stopColor:"#F03B90"}),(0,r.jsx)("stop",{offset:"0.761719",stopColor:"#F03C90"}),(0,r.jsx)("stop",{offset:"0.765625",stopColor:"#F03D8F"}),(0,r.jsx)("stop",{offset:"0.769531",stopColor:"#F13E8E"}),(0,r.jsx)("stop",{offset:"0.773438",stopColor:"#F13F8E"}),(0,r.jsx)("stop",{offset:"0.777344",stopColor:"#F1408D"}),(0,r.jsx)("stop",{offset:"0.78125",stopColor:"#F1418D"}),(0,r.jsx)("stop",{offset:"0.785156",stopColor:"#F1418C"}),(0,r.jsx)("stop",{offset:"0.789062",stopColor:"#F1428C"}),(0,r.jsx)("stop",{offset:"0.792969",stopColor:"#F1438B"}),(0,r.jsx)("stop",{offset:"0.796875",stopColor:"#F1448A"}),(0,r.jsx)("stop",{offset:"0.800781",stopColor:"#F1458A"}),(0,r.jsx)("stop",{offset:"0.804687",stopColor:"#F14689"}),(0,r.jsx)("stop",{offset:"0.808594",stopColor:"#F14788"}),(0,r.jsx)("stop",{offset:"0.8125",stopColor:"#F14888"}),(0,r.jsx)("stop",{offset:"0.816406",stopColor:"#F14A87"}),(0,r.jsx)("stop",{offset:"0.820313",stopColor:"#F14B87"}),(0,r.jsx)("stop",{offset:"0.824219",stopColor:"#F24C86"}),(0,r.jsx)("stop",{offset:"0.828125",stopColor:"#F24D85"}),(0,r.jsx)("stop",{offset:"0.832031",stopColor:"#F24E85"}),(0,r.jsx)("stop",{offset:"0.835938",stopColor:"#F24E84"}),(0,r.jsx)("stop",{offset:"0.839844",stopColor:"#F24F83"}),(0,r.jsx)("stop",{offset:"0.84375",stopColor:"#F25082"}),(0,r.jsx)("stop",{offset:"0.847656",stopColor:"#F25182"}),(0,r.jsx)("stop",{offset:"0.851562",stopColor:"#F25181"}),(0,r.jsx)("stop",{offset:"0.855469",stopColor:"#F25280"}),(0,r.jsx)("stop",{offset:"0.859375",stopColor:"#F2537F"}),(0,r.jsx)("stop",{offset:"0.863281",stopColor:"#F2557F"}),(0,r.jsx)("stop",{offset:"0.867188",stopColor:"#F2567E"}),(0,r.jsx)("stop",{offset:"0.871094",stopColor:"#F2577D"}),(0,r.jsx)("stop",{offset:"0.875",stopColor:"#F2597D"}),(0,r.jsx)("stop",{offset:"0.878906",stopColor:"#F3597C"}),(0,r.jsx)("stop",{offset:"0.882812",stopColor:"#F35A7B"}),(0,r.jsx)("stop",{offset:"0.886719",stopColor:"#F35B7B"}),(0,r.jsx)("stop",{offset:"0.890625",stopColor:"#F35C7A"}),(0,r.jsx)("stop",{offset:"0.894531",stopColor:"#F35D79"}),(0,r.jsx)("stop",{offset:"0.898438",stopColor:"#F35D78"}),(0,r.jsx)("stop",{offset:"0.902344",stopColor:"#F35E78"}),(0,r.jsx)("stop",{offset:"0.90625",stopColor:"#F35F78"}),(0,r.jsx)("stop",{offset:"0.910156",stopColor:"#F36077"}),(0,r.jsx)("stop",{offset:"0.914062",stopColor:"#F36176"}),(0,r.jsx)("stop",{offset:"0.917969",stopColor:"#F36276"}),(0,r.jsx)("stop",{offset:"0.921875",stopColor:"#F36275"}),(0,r.jsx)("stop",{offset:"0.925781",stopColor:"#F36475"}),(0,r.jsx)("stop",{offset:"0.929687",stopColor:"#F36574"}),(0,r.jsx)("stop",{offset:"0.933594",stopColor:"#F36673"}),(0,r.jsx)("stop",{offset:"0.9375",stopColor:"#F36672"}),(0,r.jsx)("stop",{offset:"0.941406",stopColor:"#F46772"}),(0,r.jsx)("stop",{offset:"0.945313",stopColor:"#F46871"}),(0,r.jsx)("stop",{offset:"0.949219",stopColor:"#F46A70"}),(0,r.jsx)("stop",{offset:"0.953125",stopColor:"#F46B6F"}),(0,r.jsx)("stop",{offset:"0.957031",stopColor:"#F46C6F"}),(0,r.jsx)("stop",{offset:"0.960938",stopColor:"#F46C6F"}
1),(0,r.jsx)("stop",{offset:"0.96875",stopColor:"#F46C6F"}),(0,r.jsx)("stop",{offset:"1",stopColor:"#F46C6F"})]})]})]})},50312:(e,s,t)=>{"use strict";t.d(s,{PercentagePhrasesCalc:()=>u});var r=t(54568),a=t(7620),l=t(47221),o=t(9178),n=t(62011);let i=e=>{let{app:s,sendResult:t,sendError:l}=e,[o,i]=(0,a.useState)("1"),[c,d]=(0,a.useState)("2"),u=e=>{e.preventDefault();let s=parseFloat(c),r=parseFloat(o);if(isNaN(s)||isNaN(r)){l("Please provide two numeric values."),t(null);return}let a=s*r/100,n="".concat(a," is ").concat(r,"% of ").concat(s),i="".concat(r,"% \xd7 ").concat(s," = ").concat(a);t({firstValueResult:o,secondValueResult:c,calculatedResult:a,calculatedResultFormula:n,calculationSteps:i}),l("")},p=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("div",{className:p("perInputWrap"),children:[(0,r.jsxs)("div",{className:p("perLabelsWrap"),children:[(0,r.jsxs)("label",{className:p("pyLabel phrCalc icon"),htmlFor:"percentage",children:[(0,r.jsx)("span",{className:p("pyInputText"),children:"what is"}),(0,r.jsx)("input",{className:p("pyInput phrCalc"),value:isNaN(Number(o))?"":o,onChange:e=>i(e.target.value),onKeyDown:e=>"Enter"===e.key&&u(e),name:"percentage",id:"percentage",type:"number"}),(0,r.jsx)("div",{className:p("inputPercentageIcon"),children:(0,r.jsx)(n.PercentageIcon,{})})]}),(0,r.jsxs)("label",{className:p("pyLabel phrCalc"),htmlFor:"value",children:[(0,r.jsx)("span",{className:p("pyInputText"),children:"of"}),(0,r.jsx)("input",{className:p("pyInput phrCalc"),value:isNaN(Number(c))?"":c,onChange:e=>d(e.target.value),onKeyDown:e=>"Enter"===e.key&&u(e),name:"value",id:"value",type:"number"})]})]}),(0,r.jsx)("div",{className:p("pyButtonsWrap phrCalc"),children:(0,r.jsx)("button",{className:p("pyButtonCalc"),onClick:u,children:"Calculate"})})]})},c=e=>{let{app:s,sendResult:t,sendError:l}=e,[o,n]=(0,a.useState)("1"),[i,c]=(0,a.useState)("2"),d=e=>{e.preventDefault();let s=parseFloat(o),r=parseFloat(i);if(0===s||0===r){l("Please provide non-zero values."),t(null);return}if(isNaN(s)||isNaN(r)){l("Please provide two numeric values."),t(null);return}let a=s/r*100,n="".concat(s," is ").concat(a,"% of ").concat(r),c="".concat(s," \xf7 ").concat(r," = ").concat(s/r," = ").concat(a,"%");t({firstValueResult:o,secondValueResult:i,calculatedResult:a,calculatedResultFormula:n,calculationSteps:c}),l("")},u=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("div",{className:u("perInputWrap"),children:[(0,r.jsxs)("div",{className:u("perLabelsWrap"),children:[(0,r.jsxs)("label",{className:u("pyLabel phrCalc"),htmlFor:"firstValue",children:[(0,r.jsx)("input",{className:u("pyInput phrCalcWidthMod"),value:isNaN(Number(o))?"":o,onChange:e=>n(e.target.value),onKeyDown:e=>"Enter"===e.key&&d(e),name:"firstValue",id:"firstValue",type:"number"}),(0,r.jsx)("span",{className:u("pyInputText"),children:"is what % of"})]}),(0,r.jsx)("label",{className:u("pyLabel phrCalc"),htmlFor:"secondValue",children:(0,r.jsx)("input",{className:u("pyInput phrCalc"),value:isNaN(Number(i))?"":i,onChange:e=>c(e.target.value),onKeyDown:e=>"Enter"===e.key&&d(e),name:"secondValue",id:"secondValue",type:"number"})})]}),(0,r.jsx)("div",{className:u("pyButtonsWrap phrCalc"),children:(0,r.jsx)("button",{className:u("pyButtonCalc"),onClick:d,children:"Calculate"})})]})},d=e=>{let{app:s,sendResult:t,sendError:l}=e,[o,i]=(0,a.useState)("1"),[c,d]=(0,a.useState)("2"),u=e=>{e.preventDefault();let s=parseFloat(o),r=parseFloat(c);if(isNaN(s)||isNaN(r)){l("Please provide two numeric values."),t(null);return}if(0===s||0===r){l("Please provide non-zero values."),t(null);return}let a=s/(r/100),n="".concat(s," is ").concat(r,"% of ").concat(a),i="".concat(s," \xf7 ").concat(r,"% = ").concat(a,"%");t({firstValueResult:o,secondValueResult:c,calculatedResult:a,calculatedResultFormula:n,calculationSteps:i}),l("")},p=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("div",{className:p("perInputWrap"),children:[(0,r.jsxs)("div",{className:p("perLabelsWrap"),children:[(0,r.jsxs)("label",{className:p("pyLabel phrCalc"),htmlFor:"firstValue",children:[(0,r.jsx)("input",{className:p("pyInput phrCalc"),value:isNaN(Number(o))?"":o,onChange:e=>i(e.target.value),onKeyDown:e=>
1"Enter"===e.key&&u(e),name:"firstValue",id:"firstValue",type:"number"}),(0,r.jsx)("span",{className:p("pyInputText"),children:"is"})]}),(0,r.jsxs)("label",{className:p("pyLabel phrCalc icon"),htmlFor:"secondValue",children:[(0,r.jsx)("input",{className:p("pyInput phrCalc"),value:isNaN(Number(c))?"":c,onChange:e=>d(e.target.value),onKeyDown:e=>"Enter"===e.key&&u(e),name:"secondValue",id:"secondValue",type:"number"}),(0,r.jsx)("div",{className:p("inputPercentageIcon"),children:(0,r.jsx)(n.PercentageIcon,{})})]}),(0,r.jsx)("span",{className:p("pyInputText perCalc"),children:"of what"})]}),(0,r.jsx)("div",{className:p("pyButtonsWrap phrCalc"),children:(0,r.jsx)("button",{className:p("pyButtonCalc"),onClick:u,children:"Calculate"})})]})},u=e=>{let{app:s}=e,[t,n]=(0,a.useState)(!1),[u,p]=(0,a.useState)(null),[h,x]=(0,a.useState)(""),m=e=>{p(e)},f=e=>{x(e)},j=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("div",{className:j("perWrap"),children:[(0,r.jsx)("div",{className:j("perCalcWrap"),children:(0,r.jsxs)("div",{className:j("pyInputsWrap phrCalc"),children:[(0,r.jsx)(i,{app:"calculatorProfessional",sendResult:m,sendError:f}),(0,r.jsx)(c,{app:"calculatorProfessional",sendResult:m,sendError:f}),(0,r.jsx)(d,{app:"calculatorProfessional",sendResult:m,sendError:f}),u&&(0,r.jsxs)("div",{className:j("resultSuccess"),children:[(0,r.jsx)("div",{className:j("resultTitle"),children:"Calculation result"}),(0,r.jsxs)("div",{className:j("resultWrap"),children:[(0,r.jsx)("p",{children:(0,r.jsx)("span",{className:j("textSemibold"),children:u.calculatedResult})}),(0,r.jsx)("p",{children:u.calculatedResultFormula})]})]}),h&&(0,r.jsxs)("div",{className:j("resultError"),children:[(0,r.jsx)("div",{className:j("errorTitle"),children:"Calculation result"}),(0,r.jsx)("div",{className:j("errorText"),children:h})]})]})}),u&&(0,r.jsxs)("div",{className:j("pyCalcSteps"),children:[(0,r.jsxs)("h3",{onClick:()=>{n(!t)},className:"".concat(j("pyStepsTitle")," ").concat(t?"active":""),children:["Show Calculation Steps",(0,r.jsx)("div",{className:"".concat(j("pyStepsArrow")," ").concat(t?"active":""),children:"calculatingApp"===s?(0,r.jsx)(l.ArrowLongIcon,{}):(0,r.jsx)(o.ArrowIcon,{})})]}),t&&(0,r.jsx)("div",{className:j("pyStepsInfo"),children:u.calculationSteps})]})]})}},51738:(e,s,t)=>{"use strict";t.r(s),t.d(s,{handleModalOutsideClick:()=>r,handleResizeForModal:()=>a});let r=(e,s)=>{let t=t=>{e.current&&!e.current.contains(t.target)&&s()};return document.addEventListener("mousedown",t),()=>{document.removeEventListener("mousedown",t)}},a=e=>{let s=()=>{window.innerWidth<768&&e?document.body.style.overflow="hidden":document.body.style.overflow="auto"};return s(),window.addEventListener("resize",s),()=>{document.body.style.overflow="auto",window.removeEventListener("resize",s)}}},51812:(e,s,t)=>{"use strict";t.d(s,{HexCalcConvertToDecimal:()=>o});var r=t(54568),a=t(7620),l=t(36070);let o=e=>{let{app:s}=e,[t,o]=(0,a.useState)("DAD"),[n,i]=(0,a.useState)(""),[c,d]=(0,a.useState)(null),u=()=>{(0,l.Am)(t)?(d("".concat((0,l.Ks)(t))),i("")):(d(null),i("The number need to contain 0-9 and A-F only."))},p=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("div",{className:p("calcWrap"),children:[(0,r.jsxs)("label",{className:p("inputWrap"),children:[(0,r.jsx)("div",{className:p("inputText"),children:"Hexadecimal Value"}),(0,r.jsx)("input",{className:p("inputStyle"),type:"textfield",name:"hex",value:t,onChange:e=>o(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&u(),required:!0})]}),(0,r.jsxs)("div",{className:p("btnWrap"),children:[(0,r.jsx)("button",{className:p("btnYellow"),onClick:u,children:"Calculate"}),(0,r.jsx)("button",{className:p("btnGrey"),onClick:()=>{o(""),i(""),d(null)},children:"Clear"})]}),n&&(0,r.jsxs)("div",{className:p("resultError"),children:[(0,r.jsx)("div",{className:p("errorTitle"),children:"Error"}),(0,r.jsx)("div",{className:p("errorText"),children:n})]}),c&&(0,r.jsxs)("div",{className:p("resultSuccess"),children:[(0,r.jsx)("div",{className:p("resultTitle"),children:"calculatingApp"===s?"Result":"Calculation result"}),(0,r.jsx)("div",{className:p("resultWrap"),children:(0,r.jsxs)("p",{children:["Decimal value:",(0,r.jsxs)("span",{className:p("textSemibold"),children:[" ",c]})]})})]})]})}},52195:(e,s,t)=>{"use strict";t.r(s),t.d(s,{StarIcon:()=>a});var r=t(54568);let a=e=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",...e,children:(0,r.jsx)("path",{d:"M5.72508 5.49048L7.45676 2.00234C7.67903 1.55456 8.3213 1.55456 8.54356 2.00234L10.27
152 5.49048L14.1478 6.05328C14.6447 6.12549 14.8427 6.73277 14.483 7.0811L11.6813 9.79437L12.3425 13.6274C12.4274 14.1197 11.9078 14.495 11.4632 14.2626L8.00016 12.4518L4.53714 14.2626C4.09256 14.495 3.57289 14.1197 3.6578 13.6274L4.319 9.79437L1.51733 7.0811C1.15761 6.73277 1.35564 6.12549 1.85251 6.05328L5.72508 5.49048Z",fill:"#FBBC05"})})},53627:(e,s,t)=>{"use strict";t.d(s,{O:()=>l});var r=t(54568),a=t(32901);let l=e=>{let{className:s,...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:(0,a.cn)("size-5 stroke-current",s),...t,children:(0,r.jsx)("path",{d:"M5 7.5L10 12.5L15 7.5",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},55247:(e,s,t)=>{"use strict";t.d(s,{K:()=>o});var r=t(54568),a=t(32901);let l={s:"p-[--icon-button-sm-padding]",m:"p-[--icon-button-md-padding]",l:"p-[--icon-button-lg-padding]"},o=e=>{let{IconTypeComponent:s,variant:t="no-background",theme:o,size:n="m",...i}=e,{iconButtonClasses:c}=(e=>{let{size:s,isDisabled:t=!1}=e,r="inline-flex items-center justify-center text-[--button-icon-color]",o=(0,a.cn)(r,t?"cursor-not-allowed opacity-50":"cursor-pointer"),n=(0,a.cn)(r,"rounded-[--icon-button-radius] bg-[--icon-button-bg]",t?"cursor-not-allowed opacity-50":"cursor-pointer hover:bg-[--icon-button-bg-hover]");return{iconButtonClasses:{"no-background":(0,a.cn)(o),"round-background":(0,a.cn)(s&&l[s],n)}}})({theme:o,size:n,variant:t,isDisabled:i.disabled});return(0,r.jsx)("button",{...i,type:"button",className:c[t],children:(0,r.jsx)(s,{})})}},55699:(e,s,t)=>{"use strict";t.r(s),t.d(s,{CheckIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",children:(0,r.jsx)("path",{d:"M3.83325 9.16675L6.49992 11.8334L13.1666 5.16675",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},55917:(e,s,t)=>{"use strict";t.d(s,{$:()=>a,l:()=>o});var r=t(86912),a=function(e){return e.ESSAYSERVICE_COM="essayservice.com",e.ESSAYPRO_COM="essaypro.com",e.DOMYESSAY_COM="domyessay.com",e.WRITERESSAY_COM="writeressay.com",e.WRITEPAPER_COM="writepaper.com",e.WRITEMYESSAY_COM="writemyessay.com",e.NOCRAMMING_COM="nocramming.com",e.ESSAYHUB_COM="essayhub.com",e.PAPERWRITER_COM="paperwriter.com",e.PAPERTYPER_AI="papertyper.ai",e.STUDYFY_COM="studyfy.com",e.ESSAYWRITER_COM="essaywriter.com",e.ESSAYWRITERS_COM="essaywriters.com",e.HUMANISER_AI="humaniser.ai",e.STUDASTIC_COM="studastic.com",e.DETECTOR_IO="detector.io",e.AI_HOMEWORK_HELPER_COM="aihomeworkhelper.com",e.HOMEWORK_AI_COM="homeworkai.com",e.HOMEWORK_APP_COM="homeworkapp.com",e.AI_SCANNER_IO="aiscanner.io",e}({});let l=r.V[r.O.DEV],o=["".concat(l,".essayservice.com"),"".concat(l,".writerpro.com"),"".concat(l,".essaypro.com"),"".concat(l,".domyessay.com"),"".concat(l,".savemygrade.com"),"".concat(l,".mypaperhelp.com"),"".concat(l,".studypro.com"),"".concat(l,".essayrewriter.ai"),"".concat(l,".gotaskme.com"),"".concat(l,".essaypro.money"),"".concat(l,".detector.io")]},56375:(e,s,t)=>{"use strict";t.r(s),t.d(s,{Whatsapp64Icon:()=>a});var r=t(54568);let a=()=>(0,r.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M32.0908 64.0007H31.9092C14.2865 64.0007 0 49.7157 0 32.0938V31.9106C0 14.2887 14.2865 0.00146484 31.9092 0.00146484H32.0908C49.7135 0.00146484 64 14.2887 64 31.9106V32.0938C64 49.7157 49.7135 64.0007 32.0908 64.0007Z",fill:"#53BF36"}),(0,r.jsx)("path",{d:"M38.2389 41.362C30.0486 41.3597 23.3839 34.6949 23.3816 26.5046C23.3846 24.4287 25.0736 22.7397 27.1465 22.7397C27.3608 22.7397 27.5706 22.7572 27.7713 22.7937C28.2152 22.8659 28.6356 23.018 29.0255 23.2437C29.0817 23.2764 29.1198 23.3311 29.1296 23.3935L29.9947 28.8496C30.0053 28.9142 29.9863 28.9781 29.943 29.0252C29.4648 29.5
1558 28.8545 29.9358 28.1772 30.1259L27.8503 30.2178L27.9742 30.5348C29.0916 33.3777 31.3644 35.6504 34.2088 36.7693L34.525 36.894L34.617 36.5671C34.8077 35.8883 35.1886 35.2772 35.7176 34.8006C35.7564 34.7656 35.8065 34.7459 35.859 34.7459L35.894 34.7497L41.3486 35.6139C41.4132 35.6231 41.4672 35.6603 41.5006 35.7188C41.7249 36.1057 41.8761 36.5284 41.9506 36.9723C41.9856 37.1707 42.0031 37.3789 42.0031 37.5963C42.0031 39.6707 40.3141 41.3597 38.2382 41.362H38.2389Z",fill:"#FEFEFE"}),(0,r.jsx)("path",{d:"M25.6001 46.4482L17.9039 47.2676L20.2033 42.1771L19.7434 41.5576C19.7092 41.5135 19.6757 41.4686 19.6385 41.4162C17.6432 38.6608 16.5889 35.4051 16.5889 32.0013C16.5889 23.1261 23.8085 15.9073 32.6837 15.9073C40.9979 15.9073 48.0435 22.3926 48.723 30.6726C48.7603 31.1165 48.7785 31.562 48.7785 32.0013C48.7785 32.126 48.7762 32.2506 48.774 32.3814C48.6029 39.8047 43.4159 46.1115 36.1605 47.7168C35.6071 47.8392 35.0401 47.9327 34.4738 47.9951C33.8862 48.0612 33.2834 48.0961 32.6837 48.0961C30.5516 48.0961 28.4802 47.6834 26.5214 46.8663C26.304 46.7789 26.0919 46.6854 25.8912 46.5881L25.6001 46.4482ZM52.7631 30.2036C52.3214 25.2119 50.035 20.5828 46.3241 17.1675C42.5919 13.731 37.7469 11.8398 32.6837 11.8398C21.5669 11.8398 12.5222 20.8845 12.5222 32.0013C12.5222 35.732 13.5507 39.3669 15.4996 42.5328L11.1555 52.1514L25.068 50.6707C27.4867 51.6588 30.0484 52.1628 32.6837 52.1628C33.3762 52.1628 34.0876 52.1263 34.7991 52.0526C35.427 51.9865 36.0617 51.8892 36.685 51.7622C45.9957 49.8809 52.7912 41.6161 52.8444 32.1085V32.0013C52.8444 31.3947 52.8171 30.7889 52.7631 30.2036Z",fill:"#FEFEFE"})]})},56470:(e,s,t)=>{"use strict";t.r(s),t.d(s,{SpinnerIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,r.jsx)("path",{d:"M18.2405 11.2498C17.6374 15.2592 14.1779 18.3332 10.0003 18.3332C5.39795 18.3332 1.66699 14.6022 1.66699 9.99984C1.66699 5.39746 5.39795 1.6665 10.0003 1.6665C13.4175 1.6665 16.3543 3.72333 17.6403 6.6665",stroke:"#8496B0",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},62011:(e,s,t)=>{"use strict";t.r(s),t.d(s,{PercentageIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsx)("svg",{width:"14",height:"15",viewBox:"0 0 14 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M0.0322266 4.20898C0.0322266 3.28906 0.263672 2.50684 0.726562 1.8623C1.18945 1.21777 1.86035 0.895508 2.73926 0.895508C3.54785 0.895508 4.21582 1.18555 4.74316 1.76562C5.27637 2.33984 5.54297 3.18652 5.54297 4.30566C5.54297 5.39551 5.27344 6.23633 4.73438 6.82812C4.20117 7.41406 3.54199 7.70703 2.75684 7.70703C1.97754 7.70703 1.32715 7.41699 0.805664 6.83691C0.290039 6.25684 0.0322266 5.38086 0.0322266 4.20898ZM2.7832 1.98535C2.39062 1.98535 2.0625 2.15527 1.79883 2.49512C1.54102 2.83496 1.41211 3.45898 1.41211 4.36719C1.41211 5.19336 1.54395 5.77637 1.80762 6.11621C2.07129 6.4502 2.39648 6.61719 2.7832 6.61719C3.18164 6.61719 3.50977 6.44727 3.76758 6.10742C4.03125 5.76758 4.16309 5.14648 4.16309 4.24414C4.16309 3.41211 4.03125 2.8291 3.76758 2.49512C3.50391 2.15527 3.17578 1.98535 2.7832 1.98535ZM2.79199 14.4746L9.84082 0.895508H11.124L4.10156 14.4746H2.79199ZM8.36426 10.9766C8.36426 10.0508 8.5957 9.26855 9.05859 8.62988C9.52148 7.98535 10.1953 7.66309 11.0801 7.66309C11.8887 7.66309 12.5566 7.95312 13.084 8.5332C13.6172 9.10742 13.8838 9.9541 13.8838 11.0732C13.8838 12.1631 13.6143 13.0039 13.0752 13.5957C12.542 14.1816 11.8799 14.4746 11.0889 14.4746C10.3096 14.4746 9.65918 14.1846 9.1377 13.6045C8.62207 13.0186 8.36426 12.1426 8.36426 10.9766ZM11.124 8.75293C10.7256 8.75293 10.3945 8.92285 10.1309 9.2627C9.87305 9.60254 9.74414 10.2266 9.74414 11.1348C9.74414 11.9551 9.87598 12.5352 10.1396 12.875C10.4033 13.2148 10.7285 13.3848 11.1152 13.3848C11.5195 13.3848 11.8506 13.2148 12.1084 12.875C12.3721 12.5352 12.5039 11.9141 12.5039 11.0117C12.5039 10.1797 12.3721 9.59668 12.1084 9.2627C11.8447 8.92285 11.5166 8.75293 11.124 8.75293Z",fill:"#101F22"})})},62141:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useScrollTo:()=>r});let r=e=>({scrollToAnchor:(s,t,r)=>{s.preventDefault();let a=document.getElementById(t);if(a){let s=a.getBoundingClientRect().top+window.scrollY+(r||0);window.scrollTo({top:s-e.current,behavior:"smooth"})}}})},62488:(e,s,t)=>{"use strict";t.r(s),t.d(s,{RepeatIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M17 17H8C6.33333 17 3 16 3 12C3 8 6.33333 7 8 7H16C17.6667 7 21 8 21 12C21 13.4943 20.5348 14.57 19.865 15.3312M17 17L14.5 14.5M17 17L14.5 19.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},62753:(e,s,t)=>{"use strict";t.r(s),t.d(s,{Facebook64Icon:()=>a});var r=t(54568);let a=()=>
1(0,r.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("path",{d:"M64 31.9076V32.0908C64 48.6452 51.3946 62.257 35.2545 63.8449C34.2131 63.9483 33.1588 64.0008 32.0908 64.0008H31.9092C29.9229 64.0008 27.977 63.8198 26.091 63.4709C11.2455 60.7375 0 47.7262 0 32.0908V31.9076C0 14.2853 14.2853 0 31.9092 0H32.0908C49.7147 0 64 14.2853 64 31.9076Z",fill:"#426CBE"}),(0,r.jsx)("path",{d:"M34.9705 29.3819V32.0127H44.2647L41.7624 38.6039H35.2548V63.8451C34.2134 63.9485 33.1591 64.0009 32.0911 64.0009H31.9094C29.9232 64.0009 27.9772 63.82 26.0913 63.4711V38.6039H20.166V32.0127H26.0913V29.3104C26.0913 25.2741 27.3151 21.9272 29.6351 19.6346C32.0265 17.2683 35.5953 16.0171 39.954 16.0171C42.8228 16.0171 45.481 16.572 47.2475 17.5252L45.0006 23.7196C43.8094 23.1373 42.4374 22.8264 41.0265 22.8264C37.1232 22.8264 34.9705 25.1555 34.9705 29.3819Z",fill:"white"})]})},63301:(e,s,t)=>{"use strict";t.d(s,{Z:()=>r});let r=(e,s,t,r)=>{let{name:a,value:l}=e.target,o=((e,s)=>{switch(s){case"integers":return/^-?\d+$/.test(e)?"":"integers only";case"numbers":return/^-?\d+(\.\d+)?$/.test(e)?"":"numbers only";case"generate":return!/^\d+$/.test(e)||1>Number(e)?"positive integers only":"";case"precision":return/^\d+$/.test(e)?"":"positive integers only";default:return""}})(l,r);s(e=>({...e,[a]:o})),t(e=>({...e,[a]:l}))}},64973:(e,s,t)=>{"use strict";t.r(s),t.d(s,{BooksIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{d:"M3.3335 15.8333V4.16667C3.3335 3.24619 4.07969 2.5 5.00016 2.5H16.1668C16.443 2.5 16.6668 2.72386 16.6668 3V13.9286M3.3335 15.8333C3.3335 16.7538 4.07969 17.5 5.00016 17.5H16.6668M3.3335 15.8333C3.3335 14.9129 4.07969 14.1667 5.00016 14.1667H16.6668M10.8335 2.5V9.16667L8.75016 7.83333L6.66683 9.16667V2.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},65006:(e,s,t)=>{"use strict";t.d(s,{WK:()=>i,c9:()=>o,wN:()=>n});let r=e=>/^[01]+$/.test(e),a=e=>parseInt(e,2),l=function(e){let s=Number(e);if(0===s)return"0";let t="",r=Math.abs(s);for(;r>0;)t=(r%2).toString()+t,r=Math.floor(r/2);return s<0&&(t="-"+t),t},o=(e,s,t)=>{/^-?\d+$/.test(e)?(t("".concat(l(e))),s("")):(t(null),s("The number need to be numeric."))},n=(e,s,t)=>{r(e)?(t("".concat(a(e))),s("")):(t(null),s("The number need to contain 0 and 1 only."))},i=(e,s,t,o,n,i)=>{if(r(e)&&r(s)){let r,c=a(e),d=a(s),u=c%d,p=!1;switch(t){case"+":r=c+d;break;case"-":r=c-d;break;case"\xd7":r=c*d;break;case"\xf7":if(0===d){n("The result of dividing by zero is undefined."),i({resultError:!0,resultValueHex:null,resultValueDecimal:null,resultMessageHex:"",resultMessageDecimal
1:"",resultReminderHex:"",resultReminderDecimal:"",resultReminder:!1});return}r=Math.floor(c/d),0!=u&&(p=!0);break;default:return}i({resultError:!1,resultValueHex:" ".concat(l(String(r))),resultValueDecimal:" ".concat(r),resultMessageHex:"".concat(l(String(c))," ").concat(t," ").concat(l(String(d))),resultMessageDecimal:"".concat(c," ").concat(t," ").concat(d),resultReminderHex:" Reminder: ".concat(l(String(u))),resultReminderDecimal:" Reminder: ".concat(u),resultReminder:p}),o(""),n("")}else{r(e)||o("The first number need to contain 0 and 1 only."),r(s)||n("The second number need to contain 0 and 1 only."),i({resultError:!0,resultValueHex:null,resultValueDecimal:null,resultMessageHex:"",resultMessageDecimal:"",resultReminderHex:"",resultReminderDecimal:"",resultReminder:!1});return}}},65102:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useIsFirstRender:()=>a});var r=t(7620);function a(){let e=(0,r.useRef)(!0);return!0===e.current?(e.current=!1,!0):e.current}},65292:(e,s,t)=>{"use strict";t.r(s),t.d(s,{ToolNavigation:()=>D});var r=t(54568),a=t(7620);let l=e=>{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{width:s,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,...l,children:[(0,r.jsx)("path",{d:"M8.64001 2.15997C8.64001 3.10549 8.82625 4.04175 9.18808 4.91529C9.54992 5.78884 10.0803 6.58256 10.7488 7.25114C11.4174 7.91972 12.2111 8.45007 13.0847 8.81191C13.9582 9.17374 14.8945 9.35997 15.84 9.35997",stroke:"#4C00FF",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M9.35999 16.2C9.35999 15.2545 9.17375 14.3182 8.81192 13.4447C8.45008 12.5711 7.91974 11.7774 7.25115 11.1088C6.58257 10.4403 5.78885 9.90991 4.91531 9.54808C4.04176 9.18625 3.1055 9.00001 2.15999 9.00001",stroke:"#9F76FF",strokeWidth:"3.6",strokeLinecap:"round"})]})},o=e=>{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{width:s,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,...l,children:[(0,r.jsx)("circle",{cx:"9",cy:"9",r:"2.52",fill:"#AC4E25"}),(0,r.jsx)("path",{d:"M1.8 9C1.8 9.9455 1.98628 10.8818 2.34812 11.7553C2.70995 12.6289 3.2403 13.4226 3.90888 14.0912C4.57746 14.7598 5.37118 15.2901 6.24473 15.6519C7.11827 16.0138 8.05453 16.2 9 16.2",stroke:"#F96B2D",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M16.2 9C16.2 8.0545 16.0137 7.11822 15.6519 6.24468C15.2901 5.37113 14.7597 4.57741 14.0911 3.90883C13.4225 3.24025 12.6288 2.7099 11.7553 2.34807C10.8817 1.98623 9.94547 1.8 9 1.8",stroke:"#F96B2D",strokeWidth:"3.6",strokeLinecap:"round"})]})},n=e=>{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{width:s,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,...l,children:[(0,r.jsx)("circle",{cx:"8.99998",cy:"8.99998",r:"2.52",fill:"#3F5517"}),(0,r.jsx)("path",{d:"M1.80005 9C1.80005 9.94552 1.98628 10.8818 2.34812 11.7553C2.70995 12.6289 3.2403 13.4226 3.90888 14.0912C4.57746 14.7598 5.37118 15.2901 6.24473 15.6519C7.11827 16.0138 8.05453 16.2 9.00005 16.2",stroke:"#749F23",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M16.2 9C16.2 8.05448 16.0137 7.11822 15.6519 6.24468C15.2901 5.37113 14.7597 4.57741 14.0911 3.90883C13.4225 3.24025 12.6288 2.7099 11.7553 2.34807C10.8817 1.98623 9.94547 1.8 8.99995 1.8",stroke:"#749F23",strokeWidth:"3.6",strokeLinecap:"round"})]})},i=e=>{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{width:s,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,...l,children:[(0,r.jsx)("path",{d:"M15.48 6.47998C14.629 7.33095 13.6188 8.00597 12.5069 8.46651C11.3951 8.92705 10.2034 9.16409 8.99998 9.16409C7.79653 9.16409 6.60487 8.92705 5.49303 8.46651C4.38119 8.00597 3.37095 7.33095 2.51998 6.47998",stroke:"#AA41FF",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M15.48 16.2002C14.629 15.3492 13.6188 14.6742 12.5069 14.2137C11.3951 13.7531 10.2034 13.5161 8.99998 13.5161C7.79653 13.5161 6.60487 13.7531 5.49303 14.2137C4.38119 14.6742 3.37095 15.3492 2.51998 16.2002",stroke:"#C689F8",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("circle",{cx:"8.99998",cy:"2.52",r:"2.52",fill:"#6B25A4"})]})},c=e=>(0,r.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("circle",{cx:"8.99998",cy:"4.13991",r:"2.52",transform:"rotate(-90 8.99998 4.13991)",fill:"#7D1627"}),(0,r.jsx)("path",{d:"M2.69995 10.44H15.48",stroke:"#E5405B",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M6.12 15.84H11.88",stroke:"#F48295",strokeWidth:"3.6",strokeLinecap:"round"})]}),d=e=>
1{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:t,viewBox:"0 0 18 18",fill:"none",className:a,...l,children:[(0,r.jsx)("rect",{width:"18",height:"18",fill:"#FFEEB8"}),(0,r.jsx)("path",{d:"M2.5 9L12.5 9",stroke:"#B69835",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M2.5 15L12.5 15",stroke:"#DCC474",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M2.5 3L15.5 3",stroke:"#5F5226",strokeWidth:"3.6",strokeLinecap:"round"})]})},u=e=>(0,r.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{d:"M4.33789 2.52002C3.53184 3.3844 2.90393 4.39909 2.49002 5.50614C2.07612 6.61319 1.88431 7.79092 1.92556 8.9721C1.9668 10.1533 2.2403 11.3148 2.73042 12.3902C3.22055 13.4657 3.9177 14.4341 4.78209 15.2402",stroke:"#4FE4C3",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M10.8179 2.52002C10.0118 3.3844 9.38391 4.39909 8.97 5.50614C8.5561 6.61319 8.36429 7.79092 8.40554 8.9721C8.44678 10.1533 8.72028 11.3148 9.2104 12.3902C9.70053 13.4657 10.3977 14.4341 11.2621 15.2402",stroke:"#2AC8A5",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("circle",{cx:"15.48",cy:"9.00002",r:"2.52",transform:"rotate(-90 15.48 9.00002)",fill:"#219C81"})]}),p=e=>{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{width:s,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,...l,children:[(0,r.jsx)("path",{d:"M15.12 6.73242C14.2854 5.89557 13.2941 5.23131 12.2028 4.77755C11.1115 4.32379 9.94148 4.08943 8.75958 4.08784C7.57768 4.08625 6.40705 4.31747 5.31451 4.7683C4.22198 5.21912 3.22893 5.88072 2.39208 6.71533",stroke:"#9F2D7D",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M14.9205 11.3383C14.4974 11.2938 14.0696 11.3331 13.6617 11.4539C13.2537 11.5748 12.8735 11.7748 12.5429 12.0426C12.2122 12.3103 11.9375 12.6406 11.7345 13.0145C11.5315 13.3884 11.4041 13.7987 11.3596 14.2218",stroke:"#EE9DD5",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M2.67029 11.4012C3.09163 11.342 3.52051 11.3663 3.93244 11.4729C4.34437 11.5794 4.73128 11.766 5.07109 12.0221C5.4109 12.2781 5.69694 12.5986 5.91289 12.9652C6.12884 13.3318 6.27046 13.7374 6.32968 14.1587",stroke:"#E44FB7",strokeWidth:"3.6",strokeLinecap:"round"})]})},h=e=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",...e,children:[(0,r.jsx)("circle",{cx:"8.99998",cy:"8.99998",r:"2.52",fill:"#333EC4"}),(0,r.jsx)("path",{d:"M1.7998 9C1.7998 9.94552 1.98604 10.8818 2.34787 11.7553C2.70971 12.6289 3.24005 13.4226 3.90864 14.0912C4.57722 14.7598 5.37094 15.2901 6.24448 15.6519C7.11803 16.0138 8.05429 16.2 8.9998 16.2",stroke:"#8894DD",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M16.2002 9C16.2002 8.05448 16.014 7.11822 15.6521 6.24468C15.2903 5.37113 14.7599 4.57741 14.0914 3.90883C13.4228 3.24025 12.6291 2.7099 11.7555 2.34807C10.882 1.98623 9.94571 1.8 9.0002 1.8",stroke:"#8894DD",strokeWidth:"3.6",strokeLinecap:"round"})]}),x=e=>{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:t,viewBox:"0 0 18 18",fill:"none",className:a,...l,children:[(0,r.jsx)("circle",{cx:"8.99998",cy:"4.14016",r:"2.52",transform:"rotate(-90 8.99998 4.14016)",fill:"#7D1627"}),(0,r.jsx)("path",{d:"M2.7002 10.4399H15.4802",stroke:"#E5405B",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M6.12012 15.8398H11.8801",stroke:"#F48295",strokeWidth:"3.6",strokeLinecap:"round"})]})},m=e=>{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:t,viewBox:"0 0 18 18",fill:"none",className:a,...l,children:[(0,r.jsx)("path",{d:"M8.63989 2.16003C8.63989 3.10555 8.82613 4.04181 9.18796 4.91536C9.54979 5.7889 10.0801 6.58262 10.7487 7.2512C11.4173 7.91979 12.211 8.45013 13.0846 8.81197C13.9581 9.1738 14.8944 9.36004 15.8399 9.36004",stroke:"#106965",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M9.36011 16.2C9.36011 15.2544 9.17387 14.3182 8.81204 13.4446C8.45021 12.5711 7.91986 11.7774 7.25128 11.1088C6.58269 10.4402 5.78897 9.90985 4.91543 9.54802C4.04188 9.18618 3.10563 8.99995 2.16011 8.99995",stroke:"#439B97",strokeWidth:"3.6",strokeLinecap:"round"})]})},f=e=>
1{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{width:s,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,...l,children:[(0,r.jsx)("path",{d:"M2.87988 2.88L9.71988 2.88001C12.7022 2.88001 15.1199 5.29767 15.1199 8.28001",stroke:"#314FC6",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M15.1199 15.12L8.27988 15.12C5.29754 15.12 2.87988 12.7023 2.87988 9.71997",stroke:"#7795FF",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M8.99995 7.19995C9.99406 7.19995 10.8 8.00584 10.8 8.99995C10.8 9.99406 9.99406 10.8 8.99995 10.8C8.00584 10.8 7.19995 9.99406 7.19995 8.99995C7.19995 8.00584 8.00584 7.19995 8.99995 7.19995Z",fill:"#2C45AC"})]})},j=e=>{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:t,viewBox:"0 0 18 18",fill:"none",className:a,...l,children:[(0,r.jsx)("path",{d:"M8.99995 8.99998L11.6999 8.99998C13.1911 8.99998 14.3999 7.79114 14.3999 6.29998C14.3999 4.80881 13.1911 3.59998 11.6999 3.59998L3.5999 3.59997",stroke:"#AA41FF",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M3.6001 14.4L3.6001 9",stroke:"#C174FF",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M9 14.4L9 14.3999",stroke:"#802FC1",strokeWidth:"3.6",strokeLinecap:"round"})]})},C=e=>{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:t,viewBox:"0 0 18 18",fill:"none",className:a,...l,children:[(0,r.jsx)("circle",{cx:"14.0405",cy:"13.3205",r:"2.52",fill:"#106965"}),(0,r.jsx)("circle",{cx:"5.40037",cy:"2.52049",r:"2.52",fill:"#106965"}),(0,r.jsx)("path",{d:"M16.2003 1.80049C7.02029 5.04044 7.02029 16.0204 7.02029 16.0204C7.02029 16.0204 7.02029 10.9804 1.80029 9.54044",stroke:"#439B97",strokeWidth:"3.6",strokeLinecap:"round",strokeLinejoin:"round"})]})},v=e=>{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:t,viewBox:"0 0 50 50",fill:"none",className:a,...l,children:[(0,r.jsx)("path",{d:"M10 11H26",stroke:"#528D0F",strokeWidth:"10",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M40 11H39.9999",stroke:"#488305",strokeWidth:"10",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M10 39H33C36.866 39 40 35.866 40 32C40 28.134 36.866 25 33 25H10",stroke:"#70AB2D",strokeWidth:"10",strokeLinecap:"round"})]})},g=e=>{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{width:s,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,...l,children:[(0,r.jsx)("path",{d:"M4 14H14",stroke:"#FFA769",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M4 8.99999L4 4.00001L14 4.00001",stroke:"#F96B2D",strokeWidth:"3.6",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M14 9L14 8.9999",stroke:"#F5894B",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M9 9L9 8.9999",stroke:"#F5894B",strokeWidth:"3.6",strokeLinecap:"round"})]})},b=e=>{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:t,viewBox:"0 0 18 18",fill:"none",className:a,...l,children:[(0,r.jsx)("path",{d:"M3 10.2727L3 3L10.2727 3.00001",stroke:"#5B3FD6",strokeWidth:"3.2",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M8 15L15 15L15 8L8 8L8 15Z",stroke:"#967EFF",strokeWidth:"3.2",strokeLinecap:"round",strokeLinejoin:"round"})]})},N=e=>{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{width:s,height:t,viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:a,...l,children:[(0,r.jsx)("path",{d:"M9 14L14 14",stroke:"#FFB0C5",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M9 4L14 4",stroke:"#E34D77",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M9 9L14 9",stroke:"#FF6C92",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M4 14H4.0001",stroke:"#FFB0C5",strokeWidth:"3.6",strokeLinecap:"round"}
1),(0,r.jsx)("path",{d:"M4 4H4.0001",stroke:"#E34D77",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M4 9H4.0001",stroke:"#FF6C92",strokeWidth:"3.6",strokeLinecap:"round"})]})},y={"AI text generator":["Plagiarism checker","AI detector","Humanizer"],"Plagiarism checker":["AI detector","Humanizer"],"AI detector":["Plagiarism checker","Humanizer"],Humanizer:["Plagiarism checker","AI detector"],"AI paragraph rewriter":["Plagiarism checker","AI detector","Humanizer"],"Article summarizer":["Plagiarism checker","AI detector","Humanizer"],"Citation generator":["Plagiarism checker","AI detector","Humanizer"],"Thesis statement generator":["Plagiarism checker","AI detector","Humanizer"],"Grammar checker":["Plagiarism checker","AI detector","Humanizer"],"Essay checker":["Plagiarism checker","AI detector","Humanizer"],"Essay shortener":["Plagiarism checker","AI detector","Humanizer"],"Essay extender":["Plagiarism checker","AI detector","Humanizer"],"Outline generator":["Plagiarism checker","AI detector","Humanizer"],"Homework helper":["Plagiarism checker","AI detector","Humanizer"],"Paraphrasing tool":["Plagiarism checker","AI detector","Humanizer"],"Essay grader":["Plagiarism checker","AI detector","Humanizer"],"AI essay grader":["Plagiarism checker","AI detector","Humanizer"],"College essay reviewer":["Plagiarism checker","AI detector","Humanizer"],"AI Quiz generator":["Plagiarism checker","AI detector","AI text generator"],"Flashcard maker":["Plagiarism checker","AI detector","Humanizer"],"Paragraph expander":["Plagiarism checker","AI detector","Humanizer"],"Paragraph generator":["Plagiarism checker","AI detector","Humanizer"],"AI notes generator":["Plagiarism checker","AI detector","Humanizer"],"Essay editor":["Plagiarism checker","AI detector","Humanizer"],"AI proofreader":["Plagiarism checker","AI detector","Humanizer"],"Essay proofreader":["Plagiarism checker","AI detector","Humanizer"],"Edit my essay":["Plagiarism checker","AI detector","Humanizer"]},w={essaypro:{en:[{name:"AI text generator",href:"/ai-text-generator",icon:(0,r.jsx)(l,{}),theme:"aiTextGenerator"},{name:"Plagiarism checker",href:"/plagiarism-checker",icon:(0,r.jsx)(o,{}),theme:"plagiarismChecker"},{name:"AI detector",href:"/ai-detector",icon:(0,r.jsx)(n,{}),theme:"aiDetector"},{name:"Humanizer",href:"/ai-humanizer",icon:(0,r.jsx)(i,{}),theme:"aiHumanizer"},{name:"AI paragraph rewriter",href:"/paragraph-rewriter",icon:(0,r.jsx)(c,{}),theme:"aiParagraphRewriter"},{name:"Article summarizer",href:"/article-summarizer",icon:(0,r.jsx)(d,{}),theme:"articleSummarizer"},{name:"Citation generator",href:"/citation-generator",icon:(0,r.jsx)(u,{}),theme:"citationGenerator"},{name:"Thesis statement generator",href:"/thesis-statement-generator",icon:(0,r.jsx)(p,{}),theme:"thesisStatement"},{name:"Grammar checker",href:"/grammar-checker",icon:(0,r.jsx)(h,{}),theme:"grammarChecker"},{name:"Essay shortener",href:"/essay-shortener",icon:(0,r.jsx)(x,{}),theme:"essayResizer"},{name:"Essay extender",href:"/essay-extender",icon:(0,r.jsx)(x,{}),theme:"essayResizer"},{name:"Outline generator",href:"/outline-generator",icon:(0,r.jsx)(m,{}),theme:"outlineGenerator"},{name:"Homework helper",href:"/ai-homework-helper",icon:(0,r.jsx)(f,{}),theme:"homeworkHelper"},{name:"Paraphrasing tool",href:"/paraphrasing-tool",icon:(0,r.jsx)(j,{}),theme:"paraphraserTool"},{name:"Essay grader",href:"/essay-grader",icon:(0,r.jsx)(C,{}),theme:"essayGrader"},{name:"AI Quiz generator",href:"/ai-quiz-generator",icon:(0,r.jsx)(v,{}),theme:"quizGenerator"},{name:"AI proofreader",href:"/ai-proofreader",icon:(0,r.jsx)(g,{}),theme:"aiProofreader"},{name:"Flashcard maker",href:"/ai-flashcard-maker",icon:(0,r.jsx)(b,{}),theme:"flashcardMaker"}],de:[{name:"Plagiatspr\xfcfer",href:"/plagiarism-checker",icon:(0,r.jsx)(o,{}),theme:"plagiarismChecker"}],fr:[{name:"D\xe9tecteur de plagiat",href:"/plagiarism-checker",icon:(0,r.jsx)(o,{}),theme:"plagiarismChecker"}],es:[{name:"Detector de plagio",href:"/plagiarism-checker",icon:(0,r.jsx)(o,{}),theme:"plagiarismChecker"}]},essayservice:{en:[{name:"AI text generator",href:"/ai-essay-writer",icon:(0,r.jsx)(l,{}),theme:"aiTextGenerator"},{name:"Plagiarism checker",href:"/plagiarism-checker",icon:(0,r.jsx)(o,{}),theme:"plagiarismChecker"},{name:"AI detector",href:"/ai-detector",icon:(0,r.jsx)(n,{}),theme:"aiDetector"},{name:"Humanizer",href:"/humanize-ai",icon:(0,r.jsx)(i,{}),theme:"aiHumanizer"},{name:"AI paragraph rewriter",href:"/rewrite-my-essay",icon:(0,r.jsx)(c,{}),theme:"aiParagraphRewriter"},{name:"Article summarizer",href:"/article-summarizer",icon:(0,r.jsx)(d,{}),theme:"articleSummarizer"},{name:"Citation generator",href:"/citation-generator",icon:(0,r.jsx)(u,{}),theme:"citationGenerator"},{name:"Thesis statement generator",href:"/thesis-statement-generator",icon:(0,r.jsx)(p,{}),theme:"thesisStatement"},{name:"Essay checker",href:"/essay-checker",icon:(0,r.jsx)(h,{}),theme:"grammarChecker"},{name:"College essay reviewer",href:"/college-essay-reviewer",icon:(0,r.jsx)(e=>(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",...e,children:[(0,r.jsx)("circle",{cx:"8.99998",cy:"8.99998",r:"2.52",fill:"#4917DF"}),(0,r.jsx)("path",{d:"M1.80005 9C1.80005 9.94552 1.98628 10.8818 2.34812 11.7553C2.70995 12.6289 3.2403 13.4226 3.90888 14.0912C4.57746 14.7598 5.37118 15.2901 6.24473 15.6519C7.11827 16.0138 8.05453 16.2 9.00005 16.2",stroke:"#9F87E8",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M16.2 9C16.2 8.05448 16.0137 7.11822 15.6519 6.24468C15.2901 5.37113 14.7597 4.57741 14.0911 3.90883C13.4225 3.24025 12.6288 2.7099 11.7553 2.34807C10.8817 1.98623 9.94547 1.8 8.99995 1.8",stroke:"#9F87E8",strokeWidth:"3.6",strokeLinecap:"round"})]}),{}),theme:"essayReviewer"},{name:"Essay shortener",href:"/essay-shortener",icon:(0,r.jsx)(x,{}),theme:"essayResizer"},{name:"Essay extender",href:"/essay-extender",icon:(0,r.jsx)(x,{}),theme:"essayResizer"},{name:"Paraphrasing tool",href:"/paraphrasing-tool",icon:(0,r.jsx)(j,{}),theme:"paraphraserTool"},{name:"Homework helper",href:"/ai-homework-helper",icon:(0,r.jsx)(f,{}),theme:"homeworkHelper"},{name:"Outline generator",href:"/outline-generator",icon:(0,r.jsx)(m,{}),theme:"outlineGenerator"},{name:"AI essay grader",href:"/essay-grader",icon:(0,r.jsx)(C,{}),theme:"essayGrader"},{name:"Paragraph generator",href:"/write-my-paragraph",icon:(0,r.jsx)(e=>(0,r.jsxs)("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:[(0,r.jsx)("path",{d:"M8.48047 2C8.48047 2.94552 8.6667 3.88178 9.02854 4.75532C9.39037 5.62887 9.92072 6.42259 10.5893 7.09117C11.2579 7.75975 12.0516 8.2901 12.9251 8.65193C13.7987 9.01377 14.735 9.2 15.6805 9.2",stroke:"#4C64DD",strokeWidth:"3.6",strokeLinecap:"round"}),(0,r.jsx)("path",{d:"M9.19922 16.04C9.19922 15.0945 9.01299 14.1583 8.65115 13.2847C8.28932 12.4112 7.75897 11.6175 7.09039 10.9489C6.42181 10.2803 5.62808 9.74994 4.75454 9.38811C3.881 9.02627 2.94474 8.84004 1.99922 8.84004",stroke:"#9AA8F2",strokeWidth:"3.6",strokeLinecap:"round"})]}),{}),theme:"paragraphGenerator"},{name:"AI notes generator",href:"/ai-notes-generator",icon:(0,r.jsx)(N,{}),theme:"aiNotesGenerator"},{name:"Paragraph expander",href:"/paragraph-expander",icon:(0,r.jsx)(e=>
1{let{width:s="18",height:t="18",className:a,...l}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:s,height:t,viewBox:"0 0 18 18",fill:"none",className:a,...l,children:[(0,r.jsx)("path",{d:"M3 10L3 3L10 3.00001",stroke:"#6549E0",strokeWidth:"3.6",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M15 8L15 15L8 15",stroke:"#967EFF",strokeWidth:"3.6",strokeLinecap:"round",strokeLinejoin:"round"}),(0,r.jsx)("path",{d:"M9 9L9 8.9999",stroke:"#472BB9",strokeWidth:"3.6",strokeLinecap:"round"})]})},{}),theme:"paragraphExpander"},{name:"Essay proofreader",href:"/essay-proofreader",icon:(0,r.jsx)(g,{}),theme:"aiProofreader"}]},essayhub:{en:[{name:"AI text generator",href:"/ai-essay-writer",icon:(0,r.jsx)(l,{}),theme:"aiTextGenerator"},{name:"Plagiarism checker",href:"/plagiarism-checker",icon:(0,r.jsx)(o,{}),theme:"plagiarismChecker"},{name:"AI detector",href:"/ai-detector",icon:(0,r.jsx)(n,{}),theme:"aiDetector"},{name:"Humanizer",href:"/ai-humanizer",icon:(0,r.jsx)(i,{}),theme:"aiHumanizer"},{name:"AI paragraph rewriter",href:"/ai-paragraph-rewriter",icon:(0,r.jsx)(c,{}),theme:"aiParagraphRewriter"},{name:"Article summarizer",href:"/article-summarizer",icon:(0,r.jsx)(d,{}),theme:"articleSummarizer"},{name:"Citation generator",href:"/free-citation-generator",icon:(0,r.jsx)(u,{}),theme:"citationGenerator"},{name:"Thesis statement generator",href:"/thesis-statement-generator",icon:(0,r.jsx)(p,{}),theme:"thesisStatement"},{name:"Grammar checker",href:"/grammar-checker",icon:(0,r.jsx)(h,{}),theme:"grammarChecker"},{name:"Essay shortener",href:"/essay-shortener",icon:(0,r.jsx)(x,{}),theme:"essayResizer"},{name:"Essay extender",href:"/essay-extender",icon:(0,r.jsx)(x,{}),theme:"essayResizer"},{name:"Outline generator",href:"/outline-generator",icon:(0,r.jsx)(m,{}),theme:"outlineGenerator"},{name:"Paraphrasing tool",href:"/paraphrasing-tool",icon:(0,r.jsx)(j,{}),theme:"paraphraserTool"},{name:"Homework helper",href:"/ai-homework-helper",icon:(0,r.jsx)(f,{}),theme:"homeworkHelper"},{name:"Essay grader",href:"/essay-grader",icon:(0,r.jsx)(C,{}),theme:"essayGrader"},{name:"AI Quiz generator",href:"/ai-quiz-generator",icon:(0,r.jsx)(v,{}),theme:"quizGenerator"},{name:"Flashcard maker",href:"/flashcard-maker",icon:(0,r.jsx)(b,{}),theme:"flashcardMaker"},{name:"AI notes generator",href:"/ai-notes-maker",icon:(0,r.jsx)(N,{}),theme:"aiNotesGenerator"},{name:"Essay editor",href:"/essay-editor",icon:(0,r.jsx)(h,{}),theme:"grammarChecker"}]},domyessay:{en:[{name:"AI text generator",href:"/ai-essay-writer",icon:(0,r.jsx)(l,{}),theme:"aiTextGenerator"},{name:"Plagiarism checker",href:"/plagiarism-checker",icon:(0,r.jsx)(o,{}),theme:"plagiarismChecker"},{name:"AI detector",href:"/ai-detector",icon:(0,r.jsx)(n,{}),theme:"aiDetector"},{name:"Humanizer",href:"/ai-humanizer",icon:(0,r.jsx)(i,{}),theme:"aiHumanizer"},{name:"AI paragraph rewriter",href:"/essay-rewriter",icon:(0,r.jsx)(c,{}),theme:"aiParagraphRewriter"},{name:"Article summarizer",href:"/article-summarizer",icon:(0,r.jsx)(d,{}),theme:"articleSummarizer"},{name:"Citation generator",href:"/citation-generator",icon:(0,r.jsx)(u,{}),theme:"citationGenerator"},{name:"Thesis statement generator",href:"/thesis-statement-generator",icon:(0,r.jsx)(p,{}),theme:"thesisStatement"},{name:"Essay checker",href:"/essay-checker",icon:(0,r.jsx)(h,{}),theme:"grammarChecker"},{name:"Essay shortener",href:"/essay-shortener",icon:(0,r.jsx)(x,{}),theme:"essayResizer"},{name:"Essay extender",href:"/essay-extender",icon:(0,r.jsx)(x,{}),theme:"essayResizer"},{name:"Outline generator",href:"/essay-outline-generator",icon:(0,r.jsx)(m,{}),theme:"outlineGenerator"},{name:"Paraphrasing tool",href:"/paraphrase-my-essay",icon:(0,r.jsx)(j,{}),theme:"paraphraserTool"},{name:"Homework helper",href:"/ai-homework-helper",icon:(0,r.jsx)(f,{}),theme:"homeworkHelper"},{name:"Essay grader",href:"/essay-grader",icon:(0,r.jsx)(C,{}),theme:"essayGrader"}]},writepaper:{en:[{name:"AI text generator",href:"/ai-text-generator",icon:(0,r.jsx)(l,{}),theme:"aiTextGenerator"},{name:"Plagiarism checker",href:"/plagiarism-checker",icon:(0,r.jsx)(o,{}),theme:"plagiarismChecker"},{name:"AI detector",href:"/ai-detector",icon:(0,r.jsx)(n,{}),theme:"aiDetector"},{name:"Humanizer",href:"/ai-humanizer",icon:(0,r.jsx)(i,{}),theme:"aiHumanizer"},{name:"AI paragraph rewriter",href:"/paragraph-rewriter",icon:(0,r.jsx)(c,{}),theme:"aiParagraphRewriter"},{name:"Citation generator",href:"/citation-generator",icon:(0,r.jsx)(u,{}),theme:"citationGenerator"},{name:"Thesis statement generator",href:"/thesis-statement-generator",icon:(0,r.jsx)(p,{}),theme:"thesisStatement"},{name:"Grammar checker",href:"/grammar-checker",icon:(0,r.jsx)(h,{}),theme:"grammarChecker"},{name:"Essay shortener",href:"/essay-shortener",icon:(0,r.jsx)(x,{}),theme:"essayResizer"},{name:"Essay extender",href:"/essay-extender",icon:(0,r.jsx)(x,{}),theme:"essayResizer"},{name:"Outline generator",href:"/outline-generator",icon:(0,r.jsx)(m,{}),theme:"outlineGenerator"},{name:"Homework helper",href:"/ai-homework-helper",icon:(0,r.jsx)(f,{}),theme:"homeworkHelper"},{name:"Essay grader",href:"/essay-grader",icon:(0,r.jsx)(C,{}),theme:"essayGrader"}]},paperwriter:{en:[{name:"AI text generator",href:"/ai-essay-writer",icon:(0,r.jsx)(l,{}),theme:"aiTextGenerator"},{name:"Plagiarism checker",href:"/plagiarism-checker",icon:(0,r.jsx)(o,{}),theme:"plagiarismChecker"},{name:"AI detector",href:"/ai-detector",icon:(0,r.jsx)(n,{}),theme:"aiDetector"},{name:"Humanizer",href:"/ai-humanizer",icon:(0,r.jsx)(i,{}),theme:"aiHumanizer"},{name:"AI paragraph rewriter",href:"/essay-rewriter",icon:(0,r.jsx)(c,{}),theme:"aiParagraphRewriter"},{name:"Article summarizer",href:"/article-summarizer",icon:(0,r.jsx)(d,{}),theme:"articleSummarizer"},{name:"Citation generator",href:"/citation-generator",icon:(0,r.jsx)(u,{}),theme:"citationGenerator"},{name:"Thesis statement generator",href:"/thesis-statement-generator",icon:(0,r.jsx)(p,{}),theme:"thesisStatement"},{name:"Grammar checker",href:"/grammar-checker",icon:(0,r.jsx)(h,{}),theme:"grammarChecker"},{name:"Essay shortener",href:"/essay-shortener",icon:(0,r.jsx)(x,{}),theme:"essayResizer"},{name:"Essay extender",href:"/essay-extender",icon:(0,r.jsx)(x,{}),theme:"essayResizer"},{name:"Outline generator",href:"/outline-generator",icon:(0,r.jsx)(m,{}),theme:"outlineGenerator"},{name:"Paraphrasing tool",href:"/paraphrasing-tool",icon:(0,r.jsx)(j,{}),theme:"paraphraserTool"},{name:"Homework helper",href:"/ai-homework-helper",icon:(0,r.jsx)(f,{}),theme:"homeworkHelper"},{name:"AI Quiz generator",href:"/quiz-generator",icon:(0,r.jsx)(v,{}),theme:"quizGenerator"}]},writemyessay:{en:[{name:"Plagiarism checker",href:"/plagiarism-checker",icon:(0,r.jsx)(o,{}),theme:"plagiarismChecker"},{name:"AI paragraph rewriter",href:"/essay-rewriter",icon:(0,r.jsx)(c,{}),theme:"aiParagraphRewriter"},{name:"Citation generator",href:"/citation-generator",icon:(0,r.jsx)(u,{}),theme:"citationGenerator"},{name:"AI detector",href:"/ai-detector",icon:(0,r.jsx)(n,{}),theme:"aiDetector"},{name:"Humanizer",href:"/ai-humanizer",icon:(0,r.jsx)(i,{}),theme:"aiHumanizer"},{name:"Essay checker",href:"/essay-checker",icon:(0,r.jsx)(h,{}),theme:"grammarChecker"},{name:"Essay shortener",href:"/essay-shortener",icon:(0,r.jsx)(x,{}),theme:"essayResizer"},{name:"Essay extender",href:"/essay-extender",icon:(0,r.jsx)(x,{}),theme:"essayResizer"},{name:"AI proofreader",href:"/proofread-my-essay",icon:(0,r.jsx)(g,{}),theme:"aiProofreader"},{name:"AI proofreader",href:"/edit-my-essay",icon:(0,r.jsx)(g,{}),theme:"aiProofreader",excludeFromToolsCatalog:!0},{name:"AI notes generator",href:"/ai-notes-generator",icon:(0,r.jsx)(N,{}),theme:"aiNotesGenerator"}]},studyfy:{en:[{name:"Plagiarism checker",href:"/plagiarism-checker",icon:(0,r.jsx)(o,{}),theme:"plagiarismChecker"},{name:"AI detector",href:"/ai-detector",icon:(0,r.jsx)(n,{}),theme:"aiDetector"},{name:"Essay shortener",href:"/essay-shortener",icon:(0,r.jsx)(x,{}),theme:"essayResizer"},{name:"Essay extender",href:"/essay-extender",icon:(0,r.jsx)(x,{}),theme:"essayResizer"}]},nocramming:{en:[{name:"AI text generator",href:"/ai-essay-writer",icon:(0,r.jsx)(l,{}),theme:"aiTextGenerator"},{name:"Plagiarism checker",href:"/plagiarism-checker",icon:(0,r.jsx)(o,{}),theme:"plagiarismChecker"},{name:"AI detector",href:"/ai-detector",icon:(0,r.jsx)(n,{}),theme:"aiDetector"}]},essaywriter:{en:[{name:"Humanizer",href:"/ai-humanizer",icon:(0,r.jsx)(i,{}),theme:"aiHumanizer"},{name:"Plagiarism checker",href:"/plagiarism-checker",icon:(0,r.jsx)(o,{}),theme:"plagiarismChecker"},{name:"AI detector",href:"/ai-detector",icon:(0,r.jsx)(n,{}),theme:"aiDetector"}]}},k={name:"AI paragraph rewriter",href:"/paragraph-rewriter",icon:(0,r.jsx)(c,{}),theme:"aiParagraphRewriter"},S={textDefault:"#42445A",borderDefault:"#EDEDED",hoverBorder:"#E8ECF9",hoverText:"#546DD4",hoverBg:"#F2F2F2",dropdownBg:"#E8ECF9",bgWhite:"#FFFFFF",dropdownShadow:"0 8px 16px rgba(0, 0, 0, 0.15)"},A={plagiarismChecker:{brandColor:"#FDD3C1",brandText:"#AC4E25"},aiDetector:{brandColor:"#D2DFBA",brandText:"#3F5517"},aiTextGenerator:{brandColor:"#E0D1F9",brandText:"#6925DC"},aiParagraphRewriter:{brandColor:"#FFCCD4",brandText:"#7D1627"},citationGenerator:{brandColor:"#CAECE5",brandText:"#219C80"},grammarChecker:{brandColor:"#D9DCFF",brandText:"#333EC4"},essayReviewer:{brandColor:"#E9E2FC",brandText:"#6D44E6"}
1,aiHumanizer:{brandColor:"#F0DDFF",brandText:"#6B25A4"},essayResizer:{brandColor:"#FFCCD4",brandText:"#7D1627"},thesisStatement:{brandColor:"#F1D7E9",brandText:"#9F2D7D"},outlineGenerator:{brandColor:"#CAE7E6",brandText:"#106965"},articleSummarizer:{brandColor:"#FFEEB8",brandText:"#5F5226"},homeworkHelper:{brandColor:"#E1E7FD",brandText:"#314FC6"},paraphraserTool:{brandColor:"#F3E4FF",brandText:"#AA41FF"},essayGrader:{brandColor:"#CAE7E6",brandText:"#106965"},quizGenerator:{brandColor:"#EEF4E7",brandText:"#427C00"},flashcardMaker:{brandColor:"#EFE9FF",brandText:"#5B3FD6"},paragraphExpander:{brandColor:"#EFE9FF",brandText:"#5B3FD6"},paragraphGenerator:{brandColor:"#E1E5FC",brandText:"#4C64DD"},aiNotesGenerator:{brandColor:"#ffe0e8",brandText:"#e34d77"},aiProofreader:{brandColor:"#ffede0",brandText:"#f96b2d"}},F=e=>{if(!e||!A[e])return{};let{brandColor:s,brandText:t}=A[e];return{backgroundColor:s,color:t,borderColor:s}};var E=t(96522);let R=e=>{let{isOpen:s,onToggle:t}=e;return(0,r.jsx)("div",{className:"border-[1px] cursor-pointer w-full text-[14px] rounded-[12px] transition-all",style:{borderColor:s?S.dropdownBg:S.borderDefault,backgroundColor:s?S.dropdownBg:S.bgWhite},onMouseEnter:e=>{s||(e.currentTarget.style.borderColor=S.hoverBorder,e.currentTarget.style.color=S.hoverText)},onMouseLeave:e=>{s||(e.currentTarget.style.borderColor=S.borderDefault,e.currentTarget.style.color="")},children:(0,r.jsxs)("div",{className:"flex w-full items-center justify-between px-4 py-3",onClick:t,children:[(0,r.jsx)("div",{className:"mr-3 whitespace-nowrap text-[14px]",children:"Tools catalog"}),(0,r.jsx)("div",{className:"transition-transform duration-300",style:{transform:s?"rotate(180deg)":"rotate(0deg)"},children:(0,r.jsx)(E.DropdownArrowIcon,{className:"h-[10px] w-[10px]"})})]})})},T=e=>{var s;if(!e.event)throw Error("The 'event' field is required in dataLayer payload.");window.dataLayer=null!=(s=window.dataLayer)?s:[],window.dataLayer.push(e)},L=e=>{e.currentTarget.style.borderColor=S.borderDefault,e.currentTarget.style.color=""},M=e=>{let{items:s,activeItem:t}=e,l=(0,a.useMemo)(()=>t?(y[t.name]||[]).map(e=>s.find(s=>s.name===e)).filter(e=>void 0!==e):[],[t,s]);return(0,r.jsx)(r.Fragment,{children:l.map(e=>{let s=(null==e?void 0:e.theme)?A[e.theme]:null;return(0,r.jsxs)("a",{href:e.href,onClick:()=>{T({event:"ai_tools_top_toolbar",click_text:e.name})},className:"flex shrink-0 gap-3 rounded-[12px] border px-4 py-3 text-[14px] transition",style:{backgroundColor:S.bgWhite,borderColor:S.borderDefault},onMouseEnter:e=>((e,s)=>{s&&(e.currentTarget.style.borderColor=s.brandColor,e.currentTarget.style.color=s.brandText)})(e,s),onMouseLeave:L,children:[e.icon&&(0,r.jsx)("span",{children:e.icon}),e.name]},e.name)})})};var B=t(32901);let I=e=>{let{items:s,activeItem:t,isOpen:a,onClose:l,isItemActive:o}=e;return(0,r.jsx)("div",{className:(0,B.cn)("absolute w-fit left-0 right-0 top-full z-50 mt-1 max-h-[485px]","rounded-[12px] bg-white","origin-top transition-transform duration-200",a?"pointer-events-auto scale-y-100 opacity-100":"pointer-events-none scale-y-0 opacity-0"),style:{boxShadow:S.dropdownShadow,overflowY:"scroll"},children:(0,r.jsx)("div",{className:"grid p-2",children:s.filter(e=>!e.excludeFromToolsCatalog).map(e=>{let s=o(e)||e.name===t.name?F(e.theme):void 0;return(0,r.jsxs)("a",{href:e.href,onClick:()=>{var s;return s=e.name,void(l(),T({event:"ai_tools_dropdown",click_text:s}))},className:(0,B.cn)("flex w-full rounded-lg items-center gap-3 px-3 py-[10px] text-[14px] font-medium transition last:mb-[6px]"),onMouseEnter:e=>{s||(e.currentTarget.style.backgroundColor=S.hoverBg)},onMouseLeave:e=>{s||(e.currentTarget.style.backgroundColor="")},style:s,children:[e.icon&&(0,r.jsx)("span",{children:e.icon}),e.name]},e.name)})})})},D=e=>{let{domain:s,locale:t="en"}=e,{isOpen:l,toggle:o,close:n,dropdownRef:i}=(()=>{let[e,s]=(0,a.useState)(!1),t=(0,a.useRef)(null);return(0,a.useEffect)(()=>{let r,a=e=>{let r=e.target;!t.current||t.current.contains(r)||r.closest("a")||s(!1)};return e&&(r=setTimeout(()=>{document.addEventListener("click",a)},0)),()=>{clearTimeout(r),document.removeEventListener("click",a)}},[e]),{isOpen:e,toggle:()=>s(e=>!e),close:()=>s(!1),dropdownRef:t}})(),c=(0,a.useRef)(null),d=window.location.pathname,{baseItems:u,defaultItem:p}=(e=>{let{domain:s,locale:t}=e;return{baseItems:(0,a.useMemo)(()=>{let e=w[s];if(e&&"object"==typeof e){var r,a;return null!=(a=null!=(r=e[t])?r:e.en)?a:[]}return Array.isArray(e)?e:[]},[s,t]),defaultItem:(0,a.useMemo)(()=>{let e={en:"Edit my essay"};return{name:e[t]||e.en,href:"/edit-my-essay",icon:(0,r.jsx)(g,{}),theme:"aiProofreader",excludeFromToolsCatalog:!0}},[t])}})({domain:s,locale:t}),{items:h,activeItem:x}=(e=>{let{baseItems:s,defaultItem:t,currentPath:r}=e,l=(0,a.useMemo)(()=>s.length>0?s:[t],[s,t]),o=(0,a.useMemo)(()=>{var e,s;return r.includes("/rewrite-my-essay")?null!=(e=l.find(e=>e.name===k.name||e.href===k.href))?e:k:null!=(s=l.find(e=>r.includes(e.href)))?s:t},[l,r]);return{items:l,activeItem:o}})({baseItems:u,defaultItem:p,currentPath:d});return"aiscanner.io"===s?(0,r.jsx)(r.Fragment,{}):(0,r.jsx)("div",{className:"z-1 absolute left-0 top-0 w-full",children:(0,r.jsxs)("div",{className:"relative w-full",style:{color:S.textDefault},ref:c,children:[(0,r.jsxs)("div",{className:"flex items-start gap-2 overflow-y-scroll [&::-webkit-scrollbar]:hidden",children:[(0,r.jsx)("div",{className:"relative",ref:i,children:(0,r.jsx)(R,{isOpen:l,onToggle:o})}),x&&(0,r.jsxs)("div",{className:"flex shrink-0 gap-3 rounded-[12px] border px-4 py-3 text-[14px] transition",style:{...F(x.theme)},children:[x.icon&&(0,r.jsx)("span",{children:x.icon}),x.name]},x.name),(0,r.jsx)(M,{items:h,activeItem:x})]}),(0,r.jsx)(I,{items:h,activeItem:x,isOpen:l,onClose:n,isItemActive:e=>d.includes(e.href)})]})})}},66992:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useClipboardAvailability:()=>c});var r=t(7620);let a=e=>"userAgentData"in e&&!!e.userAgentData,l=e=>(()=>{var e;return"undefined"!=typeof navigator&&a(navigator)&&null!=(e=navigator.userAgentData.brands)?e:[]})().some(s=>s.brand.toLowerCase()===e.toLowerCase()),o=()=>{let e=getComputedStyle(document.documentElement);return(e.getPropertyValue("--arc-palette-title")||e.getPropertyValue("--arc-palette-background")||e.getPropertyValue("--arc-background-simple")||"").trim().length>0},n=async()=>
1{if("undefined"==typeof navigator)return!1;let e=navigator;try{var s;if(null==(s=e.brave)?void 0:s.isBrave)return await e.brave.isBrave()===!0}catch(e){}return!1},i=async()=>{if("undefined"==typeof navigator||!(()=>{if("undefined"==typeof navigator)return!1;if(a(navigator))return!0!==navigator.userAgentData.mobile;let e=navigator.userAgent;return!/Mobi|Android|iPhone|iPad|iPod/i.test(e)})()||o()||window.vivaldi||await n())return!1;if(a(navigator)){let e=l("Google Chrome"),s=l("Microsoft Edge"),t=l("Opera"),r=l("Brave");return!!e&&!s&&!t&&!r}return(()=>{if("undefined"==typeof navigator)return!1;let e=navigator.userAgent,s=navigator.vendor,t=/Chrome\//i.test(e),r=!/Mobi|Android|iPhone|iPad|iPod/i.test(e),a=/Edg\//i.test(e),l=/OPR\//i.test(e)||window.opr,n=/CriOS/i.test(e),i=window.vivaldi,c=/Arc/i.test(e)||o(),d=navigator.brave;return t&&"Google Inc."===s&&r&&!n&&!a&&!l&&!i&&!c&&!d})()};function c(){let[e,s]=(0,r.useState)(!0),[t,a]=(0,r.useState)(!1),l=(0,r.useRef)(null),o=(0,r.useRef)(!1);return(0,r.useEffect)(()=>{let e=null,t=null,r=!0;return(async()=>{try{let e=await i();r&&(o.current=e)}catch(e){r&&(o.current=!1)}})(),(async()=>{if(!navigator.clipboard||!navigator.clipboard.readText){r&&s(!1);return}try{if("permissions"in navigator&&"query"in navigator.permissions){if(e=await navigator.permissions.query({name:"clipboard-read"}),"denied"===e.state){r&&s(!1);return}r&&s(!0),l.current=e.state,t=()=>{r&&e&&(s("denied"!==e.state),l.current=e.state,"prompt"!==e.state&&a(!1))},e.addEventListener("change",t)}else r&&s(!0)}catch(e){r&&s(!0)}})(),()=>{r=!1,e&&t&&e.removeEventListener("change",t)}},[]),{isAvailable:e,isPermissionModalOpen:t,registerClipboardPasteAttempt:()=>{o.current&&"prompt"===l.current&&a(!0)},closePermissionModal:()=>{a(!1)}}}},67879:(e,s,t)=>{"use strict";t.d(s,{RandomNumberCalc:()=>i});var r=t(54568),a=t(7620),l=t(95888),o=t(89978),n=t(63301);let i=e=>{let{app:s}=e,[t,i]=(0,a.useState)({minValue:"1",maxValue:"100"}),[c,d]=(0,a.useState)({minValue:"",maxValue:""}),[u,p]=(0,a.useState)({resultError:!1,resultNumber:null}),[h,x]=(0,a.useState)(""),[m,f]=(0,a.useState)(""),[j,C]=(0,a.useState)(""),[v,g]=(0,a.useState)(!1),[b,N]=(0,a.useState)(!1),y=e=>{i(s=>({...s,[e]:"".concat(Math.round(Number(s[e]))+1)})),d(s=>({...s,[e]:""}))},w=e=>{i(s=>({...s,[e]:"".concat(Math.round(Number(s[e]))-1)})),d(s=>({...s,[e]:""}))},k=(e,s)=>{(0,n.Z)(e,d,i,s)},S=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("div",{className:S("calcWrap"),children:[(0,r.jsxs)("label",{className:S("inputWrap"),children:[(0,r.jsx)("div",{className:S("inputText"),children:"Lower Limit"}),(0,r.jsxs)("div",{className:S("randErrorWrap"),onMouseEnter:()=>g(!0),onMouseLeave:()=>g(!1),children:[(0,r.jsx)("input",{className:"".concat(""===c.minValue?"".concat(s,"-randNormalInput"):"".concat(s,"-randErrorInput")),type:"number",name:"minValue",value:isNaN(Number(t.minValue))?"":t.minValue,onChange:e=>k(e,"integers"),inputMode:"numeric",required:!0}),v&&(0,r.jsxs)("div",{className:S("randArrowWrap"),children:[(0,r.jsx)("button",{className:S("randArrow"),onClick:()=>y("minValue"),children:(0,r.jsx)(l.ArrowTop,{})}),(0,r.jsx)("button",{className:S("randArrow"),onClick:()=>w("minValue"),children:(0,r.jsx)(o.ArrowBot,{})})]}),c.minValue&&(0,r.jsx)("div",{className:S("randErrorTip"),children:c.minValue})]})]}),(0,r.jsxs)("label",{className:S("inputWrap"),children:[(0,r.jsx)("div",{className:S("inputText"),children:"Upper Limit"}),(0,r.jsxs)("div",{className:S("randErrorWrap"),onMouseEnter:()=>N(!0),onMouseLeave:()=>N(!1),children:[(0,r.jsx)("input",{className:"".concat(""===c.maxValue?"".concat(s,"-randNormalInput"):"".concat(s,"-randErrorInput")),type:"number",name:"maxValue",value:isNaN(Number(t.maxValue))?"":t.maxValue,onChange:e=>k(e,"integers"),inputMode:"numeric",required:!0}),b&&(0,r.jsxs)("div",{className:S("randArrowWrap"),children:[(0,r.jsx)("button",{className:S("randArrow"),onClick:()=>y("maxValue"),children:(0,r.jsx)(l.ArrowTop,{})}),(0,r.jsx)("button",{className:S("randArrow"),onClick:()=>w("maxValue"),children:(0,r.jsx)(o.ArrowBot,{})})]}),c.maxValue&&(0,r.jsx)("div",{className:S("randErrorTip"),children:c.maxValue})]})]}),(0,r.jsxs)("div",{className:S("btnWrap"),children:[(0,r.jsx)("button",{className:S("btnYellow"),onClick:()=>{let e=Number(t.minValue),s=Number(t.maxValue);if(e>=s||""!=c.minValue||""!=c.maxValue){e>=s&&C("The lower limit value needs to be smaller than the upper limit value."),""!=c.minValue&&x("Please provide a valid integer as lower limit value."),""!=c.maxValue&&f("Please provide a valid integer as upper limit value."),p({resultError:!0,resultNumber:null});return}{let t=Math.round(Math.random()*(s-e)+e);p({resultError:!1,resultNumber:"".concat(t)})}},children:"Generate"}),(0,r.jsx)("button",{className:S("btnGrey"),onClick:()=>{p({resultError:!1,resultNumber:null}),d({minValue:"",maxValue:""}),i({minValue:"0",maxValue:"0"}),C(""),x(""),f("")},children:"Clear"})]}),u.resultError&&(0,r.jsxs)("div",{className:S("resultError"),children:[(0,r.jsx)("div",{className:S("errorTitle"),children:"Error"}),(0,r.jsx)("div",{className:S("errorText"),children:h}),(0,r.jsx)("div",{className:S("errorText"),children:m}),(0,r.jsx)("div",{className:S("errorText"),children:j})]}),u.resultNumber&&(0,r.jsxs)("div",{className:S("resultSuccess"),children:[(0,r.jsx)("div",{className:S("resultTitle"),children:"Result"}),(0,r.jsx)("div",{className:S("resultWrap"),children:(0,r.jsx)("p",{className:S("textSemibold"),children:u.resultNumber})})]})]})}},68671:(e,s,t)=>{"use strict";t.r(s),t.d(s,{BadgeButton:()=>u.K,BadgeTabs:()=>a,FloatingCardBadge:()=>l,IconBadge:()=>n,PasteClipboardBadge:()=>c,Tag:()=>d,UploadBadgeButton:()=>p.V});var r=t(54568);let a=e=>{let{tabs:s,onTabSelected:t,currentTabId:a,isDisabled:l}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"flex gap-4",children:null==s?void 0:s.map(e=>{var s,o;return(0,r.jsxs)("div",{className:"".concat((s=e.id,"".concat("inline-flex min-w-max cursor-pointer h-[30px] items-center justify-start gap-1 rounded-2xl border border-[length:var(--border-width)] px-2 py-1"," ").concat(s===a?"border-[--badge-bw-active-border] bg-[--badge-bw-active-bg] hover:border-[--badge-bw-active-border-hover]":"border-[--badge-bw-border] bg-[--badge-bw-bg] hover:border-[--badge-bw-border-hover] animation-default"))),onClick:()=>{var s;return s=e.id,void(!l&&t(s))},children:[(null==e?void 0:e.icon)&&(0,r.jsx)("span",{className:"relative h-5 w-5 overflow-hidden",children:e.icon}),(0,r.jsx)("div",{className:"".concat((o=e.id,"".concat("text-center text-base font-normal","               ").concat(o===a?"text-[--badge-bw-active-text]":"text-[--badge-bw-text]"))),children:e.title})]},e.id)})})})},l=e=>{let{text:s,label:t="Suggested topic: ",stateIconSlot:a,actionsSlot:l,onTextClick:o}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:"".concat("bg-[--floating-card-bg] border border-[--floating-card-border] rounded-2xl  shadow-floating px-2 py-1 justify-start items-center gap-4 inline-flex"),children:[(0,r.jsxs)("div",{className:"flex shrink grow basis-0 items-center justify-start gap-2",children:[a&&(0,r.jsx)("div",{className:"relative h-[20px] w-[20px] overflow-hidden",children:a}),(0,r.jsxs)("div",{className:"shrink grow basis-0",children:[t&&(0,r.jsx)("span",{className:"text-base text-[--floating-card-label]",children:t}),s&&(0,r.jsx)("span",{className:"text-base text-[--floating-card-foreground] cursor-pointer",onClick:o,"aria-label":"Ai promt text","aria-labelledby":"ai-promt-text",role:"textbox",children:(0,r.jsx)("span",{id:"ai-promt-text",children:s})})]})]}),l&&(0,r.jsx)("div",{className:"".concat("relative flex items-center justify-start gap-2"," relative"),children:l})]})})};var o=t(32901);let n=e=>{let{title:s,icon:t,iconClassName:a,badgeClassName:l,...n}=e,i=(0,o.cn)("animation-default hover:border-[--badge-bw-border-hover] inline-flex cursor-pointer h-[30px] items-center justify-start gap-1 rounded-2xl border border-[length:var(--border-width)] border-[--badge-bw-border] bg-[--badge-bw-bg] px-2 py-1",l),c=(0,o.cn)("relative h-5 w-5 overflow-hidden",a);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:i,...n,children:[t&&(0,r.jsx)("span",{className:c,children:t}),(0,r.jsx)("div",{className:"text-center text-base font-normal text-[--badge-bw-text]",children:s})]})})};var i=t(88380);let c=e=>{let{onClick:s}=e;return(0,r.jsx)(n,{title:"Paste",icon:(0,r.jsx)(i.PasteIcon,{}),onClick:()=>s()})},d=e=>{let{title:s,className:t}=e;return(0,r.jsx)(r.Fragment,{children:(0,r.jsx)("div",{className:"hover:border-[--tag-border-hover] inline-flex cursor-pointer h-[30px] items-center justify-start gap-1 rounded-2xl ".concat(t," px-2 py-1"),children:(0,r.jsx)("div",{className:"text-center text-base font-normal text-[--tag-text]",children:s})})})};var u=t(80512),p=t(25252)},69978:(e,s,t)=>{"use strict";t.d(s,{BinaryCalcActions:()=>n});var r=t(54568),a=t(7620),l=t(16413),o=t(65006);let n=e=>{let{app:s}=e,[t,n]=(0,a.useState)("10101010"),[i,c]=(0,a.useState)("11001100"),[d,u]=(0,a.useState)(""),[p,h]=(0,a.useState)(""),[x,m]=(0,a.useState)("+"),[f,j]=(0,a.useState)({resultError:!1,resultValueHex:null,resultValueDecimal
1:null,resultMessageHex:"",resultMessageDecimal:"",resultReminderHex:"",resultReminderDecimal:"",resultReminder:!1}),C=()=>{(0,o.WK)(t,i,x,u,h,j)},v=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("div",{className:v("calcWrap"),children:[(0,r.jsxs)("label",{className:v("inputWrap"),children:[(0,r.jsx)("div",{className:v("inputText"),children:"the first number"}),(0,r.jsx)("input",{className:v("inputStyle"),type:"textfield",name:"firstBinary",value:t,onChange:e=>n(e.target.value),onKeyDown:e=>"Enter"===e.key&&C(),required:!0})]}),(0,r.jsxs)("div",{className:v("inputWrap"),children:[(0,r.jsx)("div",{className:v("inputText"),children:"operation"}),(0,r.jsx)("div",{className:v("selectWrap"),children:(0,r.jsx)(l.SelectOld,{options:["+","-","\xd7","\xf7"],selectedOption:x,setSelectedOption:m,app:"calculatorProfessional"})})]}),(0,r.jsxs)("label",{className:v("inputWrap"),children:[(0,r.jsx)("div",{className:v("inputText"),children:"the second number"}),(0,r.jsx)("input",{className:v("inputStyle"),type:"textfield",name:"secondBinary",value:i,onChange:e=>c(e.target.value),onKeyDown:e=>"Enter"===e.key&&C(),required:!0})]}),(0,r.jsxs)("div",{className:v("btnWrap"),children:[(0,r.jsx)("button",{className:v("btnYellow"),onClick:C,children:"Calculate"}),(0,r.jsx)("button",{className:v("btnGrey"),onClick:()=>{n(""),c(""),u(""),h(""),j({resultError:!1,resultValueHex:null,resultValueDecimal:null,resultMessageHex:"",resultMessageDecimal
1:"",resultReminderHex:"",resultReminderDecimal:"",resultReminder:!1})},children:"Clear"})]}),f.resultError&&(0,r.jsxs)("div",{className:v("resultError"),children:[(0,r.jsx)("div",{className:v("errorTitle"),children:"Error"}),(0,r.jsx)("div",{className:v("errorText"),children:d}),(0,r.jsx)("div",{className:v("errorText"),children:p})]}),f.resultValueHex&&(0,r.jsxs)("div",{className:v("resultSuccess"),children:[(0,r.jsx)("div",{className:v("resultTitle"),children:"calculatingApp"===s?"Result":"Calculation result"}),(0,r.jsxs)("div",{className:v("resultWrap"),children:[(0,r.jsx)("p",{children:"Hex value:"}),(0,r.jsxs)("p",{children:[f.resultMessageHex," =",(0,r.jsx)("span",{className:v("textSemibold"),children:f.resultValueHex}),f.resultReminder&&(0,r.jsx)("span",{className:v("textSemibold"),children:f.resultReminderHex})]}),(0,r.jsx)("p",{children:"Decimal value:"}),(0,r.jsxs)("p",{children:[f.resultMessageDecimal," =",(0,r.jsx)("span",{className:v("textSemibold"),children:f.resultValueDecimal}),f.resultReminder&&(0,r.jsx)("span",{className:v("textSemibold"),children:f.resultReminderDecimal})]})]})]})]})}},72040:(e,s,t)=>{"use strict";t.r(s),t.d(s,{ContentHideGradient:()=>a,SeparatorLine:()=>o});var r=t(54568);let a=()=>(0,r.jsx)("div",{className:"sticky bottom-0 h-16 w-full bg-gradient-to-b from-[rgba(255,255,255,0)] to-[rgba(255,255,255,0.85)]"});var l=t(32901);let o=e=>{let{type:s="vertical",className:t}=e;return(0,r.jsxs)(r.Fragment,{children:["vertical"===s&&(0,r.jsx)("div",{className:(0,l.cn)("h-4 w-[1px] bg-[--gray-neutral]",t)}),"horizontal"===s&&(0,r.jsx)("div",{className:(0,l.cn)("h-px w-full bg-[--silver-grey]",t)})]})}},72073:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useDebounceCallback:()=>a});var r=t(7620);function a(e,s){let t=(0,r.useRef)(void 0);return(0,r.useCallback)(function(){for(var r=arguments.length,a=Array(r),l=0;l<r;l++)a[l]=arguments[l];t.current&&clearTimeout(t.current),t.current=window.setTimeout(()=>{e(...a)},s)},[e,s])}},72456:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useActiveSection:()=>a});var r=t(7620);function a(e){let{sectionRefs:s,observerOptions:t,enabled:a=!0}=e,[l,o]=(0,r.useState)(0);return(0,r.useEffect)(()=>{if(!s.length||"undefined"==typeof IntersectionObserver||!a)return;let e=new Map,r=new Map(s.map((e,s)=>[e.current,s])),l=new IntersectionObserver(s=>{s.forEach(s=>{let t=r.has(s.target)?r.get(s.target):-1;"number"==typeof t&&-1!==t&&(s.isIntersecting?e.set(s.target,t):e.delete(s.target))}),e.size>0&&o(Number(Math.min(...Array.from(e.values()))))},{rootMargin:"-180px 0px 0px 0px",threshold:0,...t});return s.forEach(e=>{e.current&&l.observe(e.current)}),()=>{l.disconnect()}},[s,t,a]),{activeSectionIndex:null!=l?l:0,setActiveSectionIndex:o}}},73594:(e,s,t)=>{"use strict";t.r(s),t.d(s,{DragAndDropZone:()=>l});var r=t(54568),a=t(7620);let l=e=>{let{onFileDrop:s,children:t,className:l}=e,[o,n]=(0,a.useState)(!1),i=async e=>{if(!(window.innerWidth>=768))return;e.preventDefault(),n(!1);let t=e.dataTransfer.files;if(!t||0===t.length)return;let r=t[0];await s(r)};return(0,r.jsx)("div",{onDragOver:e=>{window.innerWidth>=768&&e.dataTransfer.types.includes("Files")&&(e.preventDefault(),e.dataTransfer.dropEffect="copy",n(!0))},onDragLeave:e=>{window.innerWidth>=768&&(e.preventDefault(),e.relatedTarget&&e.currentTarget.contains(e.relatedTarget)||n(!1))},onDrop:i,className:l,children:t({isDragActive:o})})}},74200:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useIsOnline:()=>a});var r=t(7620);let a=e=>{let{name:s}=e,[t,a]=(0,r.useState)(!1),l=(0,r.useRef)(!0);return(0,r.useEffect)(()=>{let e=()=>{let e=Math.ceil(new Date().getMinutes()/8);a((s.length+e)%2==0)};l.current&&(e(),l.current=!1);let t=setInterval(()=>{e()},48e4);return()=>clearInterval(t)},[s]),{isOnline:t}}},75179:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useMediaQuery:()=>l});var r=t(7620),a=t(38777);function l(e){let{defaultValue:s=!1,initializeWithValue:t=!0}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=e=>window.matchMedia(e).matches,[o,n]=(0,r.useState)(()=>t?l(e):s);function i(){n(l(e))}return(0,a.useIsomorphicLayoutEffect)(()=>{let s=window.matchMedia(e);
1return i(),s.addEventListener("change",i),()=>{s.removeEventListener("change",i)}},[e]),o}},75362:(e,s,t)=>{"use strict";t.d(s,{A:()=>a});var r=t(54568);function a(){return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",children:(0,r.jsx)("path",{d:"M6 9L12 15L18 9",stroke:"#42445A",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},75561:(e,s,t)=>{"use strict";t.d(s,{CylindricalTankSurfaceArea:()=>n});var r=t(54568),a=t(7620),l=t(16413),o=t(89856);let n=e=>{let{app:s,CylindricalTankSurfaceImage:t}=e,[n,i]=(0,a.useState)(""),[c,d]=(0,a.useState)(""),[u,p]=(0,a.useState)({baseRadius:"meters",height:"meters"}),[h,x]=(0,a.useState)(null),[m,f]=(0,a.useState)([]),j=(e,s)=>{let t=parseFloat(e),r=parseFloat(s),a=[];return(isNaN(t)||t<=0)&&a.push("The base radius needs to be a positive."),(isNaN(r)||r<=0)&&a.push("The height needs to be a positive."),f(a),0===a.length},C=(e,s,t)=>{let r=o.tN[s],a=o.tN[t];return e*r*r/(a*a)},v=()=>{if(f([]),x(null),j(n,c)&&j(n,c)){let e=parseFloat(n),s=parseFloat(c);u.baseRadius!==u.height&&(s=s*o.tN[u.height]/o.tN[u.baseRadius]);let t=((e,s)=>{let t=parseFloat(e),r=parseFloat(s),a=Math.PI,l=a*t*t,o=2*a*t*r;return{topSurfaceArea:l,bottomSurfaceArea:l,lateralSurfaceArea:o,totalSurfaceArea:l+l+o}})(e,s);x({topSurfaceArea:t.topSurfaceArea.toFixed(8),bottomSurfaceArea:t.bottomSurfaceArea.toFixed(8),lateralSurfaceArea:t.lateralSurfaceArea.toFixed(8),totalSurfaceArea:t.totalSurfaceArea.toFixed(8),topSurfaceAreaConvert:u.baseRadius!==u.height?C(t.topSurfaceArea,u.baseRadius,u.height).toFixed(8):t.topSurfaceArea.toFixed(8),bottomSurfaceAreaConvert:u.baseRadius!==u.height?C(t.bottomSurfaceArea,u.baseRadius,u.height).toFixed(8):t.bottomSurfaceArea.toFixed(8),lateralSurfaceAreaConvert:u.baseRadius!==u.height?C(t.lateralSurfaceArea,u.baseRadius,u.height).toFixed(8):t.lateralSurfaceArea.toFixed(8),totalSurfaceAreaConvert:u.baseRadius!==u.height?C(t.totalSurfaceArea,u.baseRadius,u.height).toFixed(8):t.totalSurfaceArea.toFixed(8)})}},g=e=>"".concat(s,"-").concat(e),b=(e,s)=>{p(t=>({...t,[e]:s}))};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:g("calcWrap"),children:[(0,r.jsxs)("div",{className:g("surCalcWrap"),children:[(0,r.jsxs)("div",{className:g("surCalcCol"),children:[(0,r.jsxs)("div",{className:g("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:g("inputText"),children:"Base Radius (r)"}),(0,r.jsxs)("div",{className:g("surCalcInputRow"),children:[(0,r.jsx)("label",{className:g("inputWrap"),htmlFor:"cylindricalBaseRadius",children:(0,r.jsx)("input",{className:g("surInputStyle"),type:"text",id:"cylindricalBaseRadius",value:n,onChange:e=>i(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&v(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:g("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:u.baseRadius,setSelectedOption:e=>b("baseRadius",e),app:s})})]})]}),(0,r.jsxs)("div",{className:g("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:g("inputText"),children:"Height (h)"}),(0,r.jsxs)("div",{className:g("surCalcInputRow"),children:[(0,r.jsx)("label",{className:g("inputWrap"),htmlFor:"cylindricalHeight",children:(0,r.jsx)("input",{className:g("surInputStyle"),type:"text",id:"cylindricalHeight",value:c,onChange:e=>d(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&v(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:g("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:u.height,setSelectedOption:e=>b("height",e),app:s})})]})]}),(0,r.jsxs)("div",{className:g("btnWrap surfaceCalc"),children:[(0,r.jsx)("button",{className:g("btnYellow"),onClick:v,children:"Calculate"}),(0,r.jsx)("button",{className:g("btnGrey"),onClick:()=>{i(""),d(""),p({baseRadius:"meters",height:"meters"}),x(null),f([])},children:"Clear"})]})]}),(0,r.jsx)("div",{className:g("pyImgWrap surImgWrap"),children:t})]}),(h||m.length>0)&&(0,r.jsxs)("div",{className:"".concat(g(h&&0===m.length?"resultSuccess":"resultError")),children:[(0,r.jsx)("div",{className:"".concat(g(h&&0===m.length?"resultTitle":"errorTitle")),children:"calculatingApp"===s?"Result":"Calculation result"}),h&&0===m.length&&(0,r.jsxs)("div",{className:g("surResultWrap"),children:[(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{className:"font-primary",children:"Top Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 ",n,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.topSurfaceArea," ").concat(u.baseRadius),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Bottom Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 ",n,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.bottomSurfaceArea," ").concat(u.baseRadius),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Lateral Surface Area"}),(0,r.jsxs)("div",{className:"mb-2",children:[(0,r.jsxs)("p",{className:"mb-2",children:["= 2π \xd7 ",n," \xd7 ",c]}),(0,r.jsxs)("p",{className:"mb-2",children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.lateralSurfaceArea," ").concat(u.baseRadius),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Total Surface Area ="}),(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.totalSurfaceArea," ").concat(u.baseRadius),(0,r.jsx)("sup",{children:"2"})]})]}),u.height!==u.baseRadius&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"text-l mb-2 font-bold",children:["Or in square ",u.height,":"]}
1),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{className:"font-primary",children:"Top Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 ",n,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.topSurfaceAreaConvert," ").concat(u.height),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Bottom Surface Area"}),(0,r.jsxs)("div",{className:"mb-2",children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 ",n,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.bottomSurfaceAreaConvert," ").concat(u.height),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Lateral Surface Area"}),(0,r.jsxs)("div",{className:"mb-2",children:[(0,r.jsxs)("p",{className:"mb-2",children:["= 2π \xd7 ",n," \xd7 ",c]}),(0,r.jsxs)("p",{className:"mb-2",children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.lateralSurfaceAreaConvert," ").concat(u.height),(0,r.jsx)("sup",{children:"2 "})]})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Total Surface Area ="}),(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.totalSurfaceAreaConvert," ").concat(u.height),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),m.length>0&&!h&&(0,r.jsx)("div",{className:g("redErrorText"),children:m.map((e,s)=>(0,r.jsx)("div",{children:e},s))})]})]})})}},76073:(e,s,t)=>{"use strict";t.r(s),t.d(s,{XTwitter64Icon:()=>a});var r=t(54568);let a=()=>(0,r.jsxs)("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsxs)("g",{clipPath:"url(#clip0_3670_619)",children:[(0,r.jsx)("path",{d:"M28.5867 0.235798C17.3432 1.40913 7.29686 8.81137 2.72982 19.2865C-0.213327 26.0491 -0.703141 33.8358 1.38667 41.0042C3.96801 49.9425 10.6453 57.494 19.2853 61.2709C26.048 64.214 33.8347 64.7038 41.0035 62.614C51.7333 59.5207 60.1818 50.7109 62.9551 39.766C67.2849 22.6145 56.6613 5.07718 39.4667 0.982464C35.6898 0.0864642 32.3635 -0.148629 28.5867 0.235798ZM29.0133 20.0545C31.7432 23.6811 34.048 26.6678 34.1333 26.6678C34.2187 26.6678 37.0569 23.6811 40.4053 20.0545L46.528 13.4411H50.0053L49.2587 14.2313C48.832 14.6776 46.0587 17.686 43.0933 20.9078C40.128 24.1291 37.2267 27.2643 36.6498 27.8411L35.6267 28.9291L43.6267 39.5745C48.0213 45.4411 51.6267 50.3043 51.6267 50.3913C51.6267 50.498 49.0035 50.5611 45.8232 50.5611L40 50.5398L34.5813 43.2865C30.848 38.2731 29.0987 36.1172 28.928 36.2465C28.8 36.3531 25.7698 39.618 22.1867 43.4998L15.68 50.5611H14.0365C13.12 50.5611 12.3733 50.5176 12.3733 50.4545C12.3733 50.3913 15.7653 46.6776 19.9032 42.2198C24.0218 37.7611 27.4351 34.0278 27.4765 33.9646C27.4987 33.8776 24.1067 29.2491 19.9467 23.6811C15.7867 18.1345 12.3733 13.5478 12.3733 13.5043C12.3733 13.4629 14.9965 13.4411 18.2187 13.4411H24.0632L29.0133 20.0545Z",fill:"black"}),(0,r.jsx)("path",{d:"M17.6436 16.2996C17.7285 16.449 23.1032 23.6596 29.5467 32.2775L41.2801 47.9792L43.9032 48.001C45.525 48.001 46.5067 47.9156 46.4632 47.7876C46.4436 47.681 41.0885 40.4712 34.6036 31.7876L22.7832 16.001H20.1387C17.9422 16.001 17.4934 16.0445 17.6436 16.2996Z",fill:"black"})]}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_3670_619",children:(0,r.jsx)("rect",{width:"64",height:"64",fill:"white",transform:"translate(0 0.000976562)"})})})]})},76841:(e,s,t)=>{"use strict";t.d(s,{PercentageDifferenceCalc:()=>n});var r=t(54568),a=t(7620),l=t(47221),o=t(9178);let n=e=>{let s,t,{app:n}=e,[i,c]=(0,a.useState)(!1),[d,u]=(0,a.useState)(2),[p,h]=(0,a.useState)(5),[x,m]=(0,a.useState)(null),[f,j]=(0,a.useState)(""),C=e=>{if(e.preventDefault(),d<=0||p<=0||isNaN(d)||isNaN(p)){j("Please provide valid positive numbers."),m(null);return}let s=Math.abs(d-p),t=(d+p)/2;m({firstResultValue:d,secondResultValue:p,resultValue:s/t*100}),j("")},v=e=>"".concat(n,"-").concat(e),g=(e,s)=>"|".concat(e," - ").concat(s,"|"),b=(e,s)=>Math.abs(e-s),N=(e,s)=>b(e,s)/e*100;return(0,r.jsxs)("div",{className:v("perWrap"),children:[(0,r.jsx)("div",{className:v("perCalcWrap"),children:(0,r.jsxs)("form",{className:v("calcWrap"),onSubmit:C,children:[(0,r.jsxs)("label",{className:v("inputWrap perDiffCalc"),htmlFor:"first
1Value",children:[(0,r.jsx)("div",{className:v("inputText"),children:"Value 1"}),(0,r.jsx)("input",{className:v("inputStyle perDiffCalc"),type:"number",id:"firstValue",value:isNaN(Number(d))?"":d,onChange:e=>u(""===e.target.value?NaN:Number(e.target.value)),onKeyDown:e=>"Enter"===e.key&&C(e),inputMode:"numeric"})]}),(0,r.jsxs)("label",{className:v("inputWrap perDiffCalc"),htmlFor:"secondValue",children:[(0,r.jsx)("div",{className:v("inputText"),children:"Value 2"}),(0,r.jsx)("input",{className:v("inputStyle perDiffCalc"),type:"number",id:"secondValue",value:isNaN(Number(p))?"":p,onChange:e=>h(""===e.target.value?NaN:Number(e.target.value)),onKeyDown:e=>"Enter"===e.key&&C(e),inputMode:"numeric"})]}),(0,r.jsxs)("div",{className:v("btnWrap perDiffCalc"),children:[(0,r.jsx)("button",{className:v("btnYellow"),type:"submit",children:"Calculate"}),(0,r.jsx)("a",{className:v("btnGrey cursor-pointer"),onClick:()=>{u(0),h(0),m(null),j("")},children:"Clear"})]}),x&&(0,r.jsxs)("div",{className:v("resultSuccess"),children:[(0,r.jsx)("div",{className:v("resultTitle"),children:"Calculation result"}),(0,r.jsxs)("div",{className:v("resultWrap"),children:[(0,r.jsx)("p",{children:(0,r.jsx)("span",{className:v("textSemibold"),children:x.resultValue})}),(0,r.jsx)("p",{children:"Difference of ".concat(x.firstResultValue," and ").concat(x.secondResultValue," are ").concat(x.resultValue,"%")})]})]}),f&&(0,r.jsxs)("div",{className:v("resultError"),children:[(0,r.jsx)("div",{className:v("errorTitle"),children:"Calculation result"}),(0,r.jsx)("div",{className:v("errorText"),children:f})]})]})}),x&&(0,r.jsxs)("div",{className:v("pyCalcSteps"),children:[(0,r.jsxs)("h3",{onClick:()=>{c(!i)},className:"".concat(v("pyStepsTitle")," ").concat(i?"active":""),children:["Show Calculation Steps",(0,r.jsx)("div",{className:"".concat(v("pyStepsArrow")," ").concat(i?"active":""),children:"calculatingApp"===n?(0,r.jsx)(l.ArrowLongIcon,{}):(0,r.jsx)(o.ArrowIcon,{})})]}),i&&(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:v("perInfoWrap"),children:[(0,r.jsxs)("div",{className:v("perInfoWrapRow"),children:[(0,r.jsx)("div",{className:v("perInfoPadR"),children:"Difference of ".concat(x.firstResultValue," and ").concat(x.secondResultValue)}),(0,r.jsxs)("div",{className:"ml-10 text-xl font-medium",children:[(0,r.jsxs)("div",{className:"flex",children:["=",(0,r.jsxs)("div",{className:v("fraction"),children:[(0,r.jsx)("div",{className:v("fraction-top"),children:g(x.firstResultValue,x.secondResultValue)}),(0,r.jsx)("div",{className:v("fraction-top"),children:(s=x.firstResultValue,t=x.secondResultValue,"(".concat(s," + ").concat(t,")"))}),(0,r.jsx)("div",{className:v("fraction-bottom"),children:"2"})]})]}),(0,r.jsxs)("div",{className:"flex",children:["=",(0,r.jsxs)("div",{className:v("fraction"),children:[(0,r.jsx)("div",{className:v("fraction-top"),children:b(x.firstResultValue,x.secondResultValue)}),(0,r.jsx)("div",{className:v("fraction-bottom"),children:(x.firstResultValue+x.secondResultValue)/2})]})]}),(0,r.jsxs)("div",{className:v("perCalcRes"),children:[(0,r.jsx)("span",{children:"= "}),((e,s)=>b(e,s)/((e+s)/2))(x.firstResultValue,x.secondResultValue)]}),(0,r.jsxs)("div",{children:["= ","".concat(x.resultValue,"%")]})]})]}),(0,r.jsx)("div",{className:v("perInfoWrapRow"),children:(0,r.jsx)("p",{className:v("perCalcResText"),children:"".concat(x.secondResultValue," is a ").concat(N(x.firstResultValue,x.secondResultValue),"% decrease of ").concat(x.firstResultValue)})}),(0,r.jsxs)("div",{className:v("perInfoWrapRow"),children:[(0,r.jsx)("div",{className:v("perInfoPadR"),children:"Percentage of decrease"}),(0,r.jsxs)("div",{className:"ml-10 text-xl font-medium",children:[(0,r.jsxs)("div",{className:"flex",children:["=",(0,r.jsxs)("div",{className:v("fraction"),children:[(0,r.jsx)("div",{className:v("fraction-top"),children:g(x.firstResultValue,x.secondResultValue)}),(0,r.jsx)("div",{className:v("fraction-bottom"),children:x.firstResultValue})]})]}),(0,r.jsxs)("div",{className:"flex",children:["=",(0,r.jsxs)("div",{className:v("fraction"),children:[(0,r.jsx)("div",{className:v("fraction-top"),children:b(x.firstResultValue,x.secondResultValue)}),(0,r.jsx)("div",{className:v("fraction-bottom"),children:x.firstResultValue})]})]}),(0,r.jsxs)("div",{className:v("perCalcRes"),children:[(0,r.jsx)("span",{children:"= "}),((e,s)=>b(e,s)/e)(x.firstResultValue,x.secondResultValue)]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("span",{children:"= "}),N(x.firstResultValue,x.secondResultValue),"%"]})]})]})]})})]})]})}}
1,77820:(e,s,t)=>{"use strict";t.d(s,{ConeSurfaceArea:()=>n});var r=t(54568),a=t(7620),l=t(16413),o=t(89856);let n=e=>{let{app:s,ConeSurfaceImage:t}=e,[n,i]=(0,a.useState)(""),[c,d]=(0,a.useState)(""),[u,p]=(0,a.useState)({baseRadius:"meters",height:"meters"}),[h,x]=(0,a.useState)(""),[m,f]=(0,a.useState)(null),[j,C]=(0,a.useState)([]),v=(e,s)=>{let t=Math.PI*e*e,r=Math.PI*e*Math.sqrt(e*e+s*s);return[t,r,t+r]},g=()=>{if(C([]),f(null),!((e,s)=>{let t=parseFloat(e),r=parseFloat(s),a=[];return(isNaN(t)||t<=0)&&a.push("The base radius needs to be a positive."),(isNaN(r)||r<=0)&&a.push("The height needs to be a positive."),C(a),0===a.length})(n,c))return;let e=parseFloat(n),s=parseFloat(c),t=(0,o.i)(e,u.baseRadius),r=(0,o.i)(s,u.height),[a,l,i]=v(t,r),[d,p,h]=v(t,r);if("meters"!==u.baseRadius){let e=(0,o.G0)(u.baseRadius);a/=e,l/=e,i/=e}if("meters"!==u.height){let e=(0,o.G0)(u.height);d=a/e,p=l/e,h=i/e}x((t/Math.sqrt((0,o.G0)(u.height))).toFixed()),f({baseArea:a.toFixed(12),lateralArea:l.toFixed(12),totalArea:i.toFixed(12),baseAreaHeight:d.toFixed(12),lateraAreaHeight:p.toFixed(12),totalAreaHeight:h.toFixed(12)})},b=e=>"".concat(s,"-").concat(e),N=(e,s)=>{p(t=>({...t,[e]:s}))};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:b("calcWrap"),children:[(0,r.jsxs)("div",{className:b("surCalcWrap"),children:[(0,r.jsxs)("div",{className:b("surCalcCol"),children:[(0,r.jsxs)("div",{className:b("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:b("inputText"),children:"Base Radius (r)"}),(0,r.jsxs)("div",{className:b("surCalcInputRow"),children:[(0,r.jsx)("label",{className:b("inputWrap"),htmlFor:"baseRadius",children:(0,r.jsx)("input",{className:b("surInputStyle"),type:"text",id:"baseRadius",value:n,onChange:e=>i(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&g(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:b("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:u.baseRadius,setSelectedOption:e=>N("baseRadius",e),app:s})})]})]}),(0,r.jsxs)("div",{className:b("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:b("inputText"),children:"Height (h)"}),(0,r.jsxs)("div",{className:b("surCalcInputRow"),children:[(0,r.jsx)("label",{className:b("inputWrap"),htmlFor:"height",children:(0,r.jsx)("input",{className:b("surInputStyle"),type:"text",id:"height",value:c,onChange:e=>d(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&g(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:b("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:u.height,setSelectedOption:e=>N("height",e),app:s})})]})]}),(0,r.jsxs)("div",{className:b("btnWrap surfaceCalc"),children:[(0,r.jsx)("button",{className:b("btnYellow"),onClick:g,children:"Calculate"}),(0,r.jsx)("button",{className:b("btnGrey"),onClick:()=>{i(""),d(""),p({baseRadius:"meters",height:"meters"}),f(null),C([])},children:"Clear"})]})]}),(0,r.jsx)("div",{className:b("pyImgWrap surImgWrap"),children:t})]}),(m||j.length>0)&&(0,r.jsxs)("div",{className:"".concat(b(m&&0===j.length?"resultSuccess":"resultError")),children:[(0,r.jsx)("div",{className:"".concat(b(m&&0===j.length?"resultTitle":"errorTitle")),children:"calculatingApp"===s?"Result":"Calculation result"}),m&&0===j.length&&(0,r.jsxs)("div",{className:b("surResultWrap"),children:[(0,r.jsxs)("div",{className:b("surResult"),children:[(0,r.jsx)("p",{className:"font-primary",children:"Base Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 ",n,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(m.baseArea," ").concat(u.baseRadius),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:b("surResult"),children:[(0,r.jsx)("p",{children:"Lateral Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 ",n," \xd7 √",(0,r.jsxs)("span",{className:"border-t border-solid border-black",children:[n,(0,r.jsx)("sup",{children:"2"})," +"," ",u.height!==u.baseRadius?h:c,(0,r.jsx)("sup",{children:"2 "})]})]}),"=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(m.lateralArea," ").concat(u.baseRadius),(0,r.jsx)("sup",{children:"2"})]})]})]}),(0,r.jsxs)("div",{className:b("surResult"),children:[(0,r.jsx)("p",{children:"Total Surface Area ="}),(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(m.totalArea," ").concat(u.baseRadius),(0,r.jsx)("sup",{children:"2"})]})]}),u.height!==u.baseRadius&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"text-l mb-2 font-bold",children:["Or in square ",u.height,":"]}
1),(0,r.jsxs)("div",{className:b("surResult"),children:[(0,r.jsx)("p",{className:"font-primary",children:"Base Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 ",h,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(m.baseAreaHeight," ").concat(u.height),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:b("surResult"),children:[(0,r.jsx)("p",{children:"Lateral Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 ",h," \xd7 √",(0,r.jsxs)("span",{className:"border-t border-solid border-black",children:[h,(0,r.jsx)("sup",{children:"2"})," + ",c,(0,r.jsx)("sup",{children:"2 "})]})]}),"=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(m.lateraAreaHeight," ").concat(u.height),(0,r.jsx)("sup",{children:"2"})]})]})]}),(0,r.jsxs)("div",{className:b("surResult"),children:[(0,r.jsx)("p",{children:"Total Surface Area ="}),(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(m.totalAreaHeight," ").concat(u.height),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),j.length>0&&!m&&(0,r.jsx)("div",{className:b("redErrorText"),children:j.map((e,s)=>(0,r.jsx)("div",{children:e},s))})]})]})})}},78430:(e,s,t)=>{"use strict";t.d(s,{Calculator:()=>x});var r=t(54568),a=t(7620);let l=e=>{let{app:s,screenValue:t}=e;return(0,r.jsx)("div",{className:"".concat(s,"-display"),children:t})},o=e=>{let{value:s,type:t,buttonStyle:a,label:l,onClick:o}=e;return(0,r.jsx)("button",{className:a,name:s,onClick:()=>{o(s,t)},children:(0,r.jsx)("span",{dangerouslySetInnerHTML:{__html:l}})})},n=[{label:"7",value:"7",type:"numeric"},{label:"8",value:"8",type:"numeric"},{label:"9",value:"9",type:"numeric"},{label:"4",value:"4",type:"numeric"},{label:"5",value:"5",type:"numeric"},{label:"6",value:"6",type:"numeric"},{label:"1",value:"1",type:"numeric"},{label:"2",value:"2",type:"numeric"},{label:"3",value:"3",type:"numeric"},{label:"0",value:"0",type:"numeric"},{label:".",value:".",type:"fx"},{label:"=",value:"=",type:"operator"}],i=[{label:"+",value:"+",type:"operator"},{label:"-",value:"-",type:"operator"},{label:"\xd7",value:"x",type:"operator"},{label:"/",value:"/",type:"operator"}],c=[{label:"sin",value:"sin",type:"fx"},{label:"cos",value:"cos",type:"fx"},{label:"tan",value:"tan",type:"fx"},{label:"&#960;",value:"pi",type:"numeric"},{label:"e",value:"e",type:"numeric"},{label:"sin<sup>-1</sup>",value:"arcsin",type:"fx"},{label:"cos<sup>-1</sup>",value:"arccos",type:"fx"},{label:"tan<sup>-1</sup>",value:"arctan",type:"fx"},{label:"ln",value:"ln",type:"fx"},{label:"log",value:"log",type:"fx"},{label:"<sup>y</sup>&radic;x",value:"nthRoot",type:"operator"},{label:"<sup>3</sup>&radic;x",value:"cubeRoot",type:"fx"},{label:"&radic;x",value:"squareRoot",type:"fx"},{label:"e<sup>x</sup>",value:"eToXPower",type:"fx"},{label:"10<sup>x</sup>",value:"tenToXPower",type:"fx"},{label:"x<sup>y</sup>",value:"pow",type:"operator"},{label:"x<sup>3</sup>",value:"cube",type:"fx"},{label:"x<sup>2</sup>",value:"square",type:"fx"},{label:"(",value:"openParenthesis",buttonStyle:"last-row",type:"parenthesis"},{label:")",value:"closeParenthesis",buttonStyle:"last-row",type:"parenthesis"},{label:"1/x",value:"inverse",buttonStyle:"last-row",type:"fx"},{label:"%",value:"%",buttonStyle:"last-row",type:"fx"},{label:"n!",value:"factorial",buttonStyle:"last-row",type:"fx"}],d=[{label:'<svg width="32" height="18" viewBox="0 0 32 18" fill="none" xmlns="http://www.w3.org/2000/svg">\n      <path d="M30.7278 18H9.45507C9.34756 18.0002 9.24106 17.9792 9.14166 17.9382C9.04227 17.8972 8.95192 17.837 8.8758 17.7611L0.693985 9.57927C0.61779 9.50327 0.557339 9.41298 0.516092 9.31358C0.474845 9.21418 0.453613 9.10762 0.453613 9C0.453613 8.89238 0.474845 8.78582 0.516092 8.68642C0.557339 8.58702 0.61779 8.49673 0.693985 8.42073L8.8758 0.23891C8.95192 0.16298 9.04227 0.102798 9.14166 0.0618041C9.24106 0.0208104 9.34756 -0.000190718 9.45507 1.30499e-06H30.7278C30.9448 1.30499e-06 31.1529 0.0862025 31.3063 0.239641C31.4598 0.39308 31.546 0.601188 31.546 0.818183V17.1818C31.546 17.3988 31.4598 17.6069 31.3063 17.7604C31.1529 17.9138 30.9448 18 30.7278 18ZM9.7938 16.3636H29.9096V1.63636H9.7938L2.43017 9L9.7938 16.3636Z" fill="#0C0C0C"/>\n      <path d="M22.5458 13.0911C22.4383 13.0912 22.3318 13.0702 22.2324 13.0293C22.133 12.9883 22.0427 12.9281 21.9665 12.8521L15.4211 6.30669C15.2675 6.15306 15.1812 5.94469 15.1812 5.72742C15.1812 5.51015 15.2675 5.30178 15.4211 5.14815C15.5747 4.99451 15.7831 4.9082 16.0004 4.9082C16.2176 4.9082 16.426 4.99451 16.5796 5.14815L23.1251 11.693
16C23.2398 11.808 23.318 11.9539 23.3497 12.1129C23.3814 12.2718 23.3652 12.4365 23.3031 12.5862C23.2411 12.7359 23.136 12.8637 23.0011 12.9536C22.8663 13.0435 22.7079 13.0913 22.5458 13.0911Z" fill="#0C0C0C"/>\n      <path d="M16.0003 13.0911C15.8383 13.0913 15.6798 13.0435 15.545 12.9536C15.4102 12.8637 15.3051 12.7359 15.243 12.5862C15.181 12.4365 15.1648 12.2718 15.1965 12.1129C15.2282 11.9539 15.3063 11.808 15.421 11.6936L21.9665 5.14815C22.1201 4.99451 22.3285 4.9082 22.5458 4.9082C22.763 4.9082 22.9714 4.99451 23.125 5.14815C23.2787 5.30178 23.365 5.51015 23.365 5.72742C23.365 5.94469 23.2787 6.15306 23.125 6.30669L16.5796 12.8521C16.5035 12.9281 16.4131 12.9883 16.3137 13.0293C16.2143 13.0702 16.1078 13.0912 16.0003 13.0911Z" fill="#0C0C0C"/>\n      </svg>\n    ',value:"C",buttonStyle:"clear",type:"fx"},{label:"AC",value:"AC",buttonStyle:"clear",type:"fx"},{label:"M+",value:"memoryAdd",type:"fx"},{label:"M-",value:"memorySubtract",type:"fx"}],u=[{label:"\xb1",value:"+/-"},{label:"RND",value:"RND"},{label:"Ans",value:"Ans"},{label:"EXP",value:"EXP"},{label:"MR",value:"memoryRecall"}],p=e=>{let{actionToPerform:s,app:t,mode:a,setMode:l}=e,p=(e,t)=>{s(e,t)};return(0,r.jsxs)("div",{className:"".concat(t,"-buttonsWrapper"),children:[(0,r.jsxs)("div",{className:"".concat(t,"-complexButtonWrapper"),children:[(0,r.jsxs)("div",{className:"".concat(t,"-radioButtonWrapper"),children:[(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{type:"radio",id:"radio-1",className:"hidden",checked:"Deg"===a,value:"Deg",onChange:()=>l("Deg")}),(0,r.jsxs)("label",{htmlFor:"radio-1",className:"".concat(t,"-radioButtonLabel"),children:[(0,r.jsx)("div",{className:"".concat("Deg"===a?"".concat(t,"-radioActive"):"".concat(t,"-radioNonActive")),children:(0,r.jsx)("span",{className:"".concat("Deg"===a?"block":"hidden")})}),"Deg"]})]}),(0,r.jsxs)("div",{className:"flex items-center",children:[(0,r.jsx)("input",{type:"radio",id:"radio-2",className:"hidden",checked:"Rad"===a,value:"Rad",onChange:()=>l("Rad")}),(0,r.jsxs)("label",{htmlFor:"radio-2",className:"".concat(t,"-radioButtonLabel"),children:[(0,r.jsx)("div",{className:"".concat("Rad"===a?"".concat(t,"-radioActive"):"".concat(t,"-radioNonActive")),children:(0,r.jsx)("span",{className:"".concat("Rad"===a?"block":"hidden")})}),"Rad"]})]})]}),c.map(e=>(0,r.jsx)(o,{label:e.label,value:e.value,onClick:p,type:e.type,buttonStyle:"".concat(t,"-generalButton ").concat(t,"-complexActionButton ").concat(e.buttonStyle?e.buttonStyle:"")},e.label))]}),(0,r.jsxs)("div",{className:"".concat(t,"-simpleButtonWrapper"),children:[(0,r.jsx)("div",{className:"".concat(t,"-numericButtonWrapper"),children:n.map(e=>(0,r.jsx)(o,{label:e.label,value:e.value,buttonStyle:"".concat(t,"-generalButton ").concat(t,"-numberButton"),onClick:p,type:e.type},e.label))}),(0,r.jsx)("div",{className:"".concat(t,"-basicButtonWrapper"),children:i.map(e=>(0,r.jsx)(o,{label:e.label,value:e.value,onClick:p,type:e.type,buttonStyle:"".concat(t,"-generalButton ").concat(t,"-simpleActionButton")},e.label))}),(0,r.jsx)("div",{className:"".concat(t,"-functionButtonWrapper"),children:d.map(e=>(0,r.jsx)(o,{label:e.label,value:e.value,onClick:p,type:e.type,buttonStyle:"".concat(t,"-generalButton ").concat(t,"-simpleActionButton ").concat(e.buttonStyle?e.buttonStyle:"")},e.label))}),(0,r.jsx)("div",{className:"".concat(t,"-lastRowButtonWrapper"),children:u.map(e=>(0,r.jsx)(o,{label:e.label,value:e.value,onClick:p,type:"fx",buttonStyle:"".concat(t,"-generalButton ").concat(t,"-simpleActionButton")},e.label))})]})]})},h={value:null,operator:null,secondValue:null},x=e=>{let{app:s}=e,[t,o]=(0,a.useState)(h),[n,i]=(0,a.useState)("0"),[c,d]=(0,a.useState)(!1),[u,x]=(0,a.useState)(null),[m,f]=(0,a.useState)(null),[j,C]=(0,a.useState)("Deg"),v=e=>{let s=parseFloat(n);return e.value?(e.secondValue?e.secondValue=v(e.secondValue):e.secondValue={value:s,operator:null,secondValue:null},e):{value:s,operator:null,secondValue:h}},g=e=>{var s,t,r;if(null==e||null==(s=e.secondValue)?void 0:s.secondValue)return{...e,secondValue:g(e.secondValue)};let a=parseFloat(n);if(null==(t=e.secondValue)||!t.value)return e;if(null==(r=e.secondValue)?void 0:r.operator){let s=y(e.secondValue.operator,e.secondValue.value,a);return i(String(s)),{...e,secondValue:{...h,value:s}}}{let s=y(e.operator,e.secondValue.value,e.value);return i(String(s)),{...h,value:s}}},b=e=>(null==e?void 0:e.secondValue)?b(g(e)):e,N=(e,s)=>{let t=parseFloat(n);return(null==e?void 0:e.operator)?e.secondValue?(e.secondValue=N(e.secondValue,s),e):"x"===s||"/"===s?{...e,secondValue:{value:t,operator:s,secondValue:null}}:{value:y(e.operator,e.value,t),operator:"="===s?null:s,secondValue:null}:{value:t,operator:s,secondValue:null}},y=(e,s,t)=>{switch(e){case"+":return s+t;case"-":return s-t;case"x":return s*t;case"/":return s/t;case"nthRoot":return Math.pow(parseFloat(String(s)),1/parseFloat(String(t)));case"pow":return Math.pow(parseFloat(String(s)),parseFloat(String(t)));default:return t}},w=()=>{d(!0);let e=parseFloat(n);return e>=0?String(Math.sqrt(e)):"Error"},k=()=>null!=u?(d(!0),String(u)):n,S=()=>{null!==m&&(i(String(m)),d(!0))},A=()=>{null!==m&&f(m-parseFloat(n))},F=()=>{let e=parseFloat(n);isNaN(e)||(null===m?f(e):f(m+e))},E=()=>
1{if(c)return d(!1),"1";{let e=parseFloat(n);return d(!0),"1e".concat(e)}},R=()=>{let e=Math.random();return d(!0),String(e)},T=()=>{o(h),i("0"),d(!1)},L=()=>{if("0"!==n&&!(n.length<=1))return n.substring(0,n.length-1);return"0"},M=()=>{d(!0);let e=parseFloat(n);return e>=0?String(Math.pow(e,1/3)):"Error"},B=()=>String(-parseFloat(n)),I=()=>String(parseFloat(n)/100),D=()=>c?(d(!1),"0."):void 0===n||n.includes(".")?n||"0.":n+".",W=()=>{let e=parseFloat(n);return String(Math.cos("Deg"===j?e*Math.PI/180:e))},V=()=>{let e=parseFloat(n);return String(Math.sin("Deg"===j?e*Math.PI/180:e))},P=()=>{let e=parseFloat(n);return String(Math.tan("Deg"===j?e*Math.PI/180:e))},O=()=>{let e=parseFloat(n);return String("Deg"===j?180*Math.asin(e)/Math.PI:Math.asin(e))},H=()=>{let e=parseFloat(n);return String("Deg"===j?180*Math.acos(e)/Math.PI:Math.acos(e))},_=()=>{let e=parseFloat(n);return String("Deg"===j?180*Math.atan(e)/Math.PI:Math.atan(e))},q=()=>{let e=parseFloat(n);return e<=0?"Error":String(Math.log(e))},z=()=>{let e=parseFloat(n);return e<=0?"Error":String(Math.log10(e))},G=()=>String(Math.pow(parseFloat(n),2)),Y=()=>String(Math.pow(parseFloat(n),3)),K=()=>String(Math.pow(10,parseFloat(n))),Z=()=>{let e=parseFloat(n);return 0===e?"Error":String(1/e)},U=()=>String(Math.exp(parseFloat(n))),$=()=>{let e=parseFloat(n);if(d(!0),e<0||!Number.isInteger(e))return"Error";{if(0===e)return"1";let s=1;for(let t=2;t<=e;t++)s*=t;return String(s)}};return(0,r.jsxs)("div",{className:"".concat(s,"-calculatorWrapper"),children:[(0,r.jsx)(l,{app:s,screenValue:n}),(0,r.jsx)(p,{actionToPerform:(e,s)=>{switch(s){case"fx":(e=>{let s="";switch(e){case"AC":T();break;case"C":s=L();break;case"+/-":s=B();break;case"%":s=I();break;case".":s=D();break;case"cos":s=W();break;case"arccos":s=H();break;case"sin":s=V();break;case"arcsin":s=O();break;case"tan":s=P();break;case"arctan":s=_();break;case"ln":s=q();break;case"log":s=z();break;case"factorial":s=$();break;case"square":s=G();break;case"cube":s=Y();break;case"tenToXPower":s=K();break;case"inverse":s=Z();break;case"eToXPower":s=U();break;case"cubeRoot":s=M();break;case"squareRoot":s=w();break;case"RND":s=R();break;case"Ans":s=k();break;case"EXP":s=E();break;case"memoryRecall":S();break;case"memorySubtract":A();break;case"memoryAdd":F()}s&&i(s)})(e);break;case"numeric":(e=>{"e"===e&&(e=String(Math.E)),"pi"===e&&(e=String(Math.PI)),c?(i(String(e)),d(!1)):i("0"===n?String(e):n+e)})(e);break;case"operator":(e=>{if(d(!0),"="===e&&(null==t?void 0:t.secondValue))o(b(t));else{let s=N(t,e);o(s),s.secondValue||(x(s.value),i(String(s.value)))}})(e);break;case"parenthesis":(e=>{"openParenthesis"===e?o(v(t)):"closeParenthesis"===e&&t&&o(g(t))})(e)}},app:s,mode:j,setMode:C})]})}},79403:(e,s,t)=>{"use strict";t.r(s),t.d(s,{LinkIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,r.jsx)("path",{d:"M11.6667 9.99917C11.6667 7.92273 9.73594 5.83448 7.38103 5.83448L5.95246 5.83449C3.58553 5.83449 1.66675 7.69908 1.66675 9.99917C1.66675 11.9812 3.09152 13.6398 5.00008 14.0607C5.30638 14.1282 5.62513 14.1639 5.95246 14.1639M8.33342 9.99916C8.33342 12.0756 10.2642 14.1638 12.6191 14.1638L14.0477 14.1638C16.4146 14.1638 18.3334 12.2992 18.3334 9.99916C18.3334 8.01715 16.9086 6.35852 15.0001 5.93767C14.6938 5.87013 14.375 5.83447 14.0477 5.83447",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},79959:(e,s,t)=>{"use strict";t.d(s,{ConversionsHalfLifeCalc:()=>l});var r=t(54568),a=t(7620);let l=e=>{let s,t,l,{app:o}=e,[n,i]=(0,a.useState)(""),[c,d]=(0,a.useState)(""),[u,p]=(0,a.useState)(""),[h,x]=(0,a.useState)(null),[m,f]=(0,a.useState)(""),[j,C]=(0,a.useState)(""),v=(e,s,t)=>{x({halfLifeValue:e,meanLifetimeValue:s,decayConstantValue:t})},g=e=>"".concat(o,"-").concat(e);return(0,r.jsx)("div",{className:g("pyWrap"),children:(0,r.jsx)("div",{className:"white-box",children:(0,r.jsxs)("form",{className:g("calcWrap"),onSubmit:e=>{e.preventDefault();let s=parseFloat(n),t=parseFloat(c),r=parseFloat(u);if((isNaN(s)||s<=0)&&(isNaN(t)||t<=0)&&(isNaN(r)||r<=0)){x(null),C("Please provide a positive value in any of the following field.");return}""===n||isNaN(s)?""===c||isNaN(t)?""===u||isNaN(r)||(v(s=Math.log(2)/r,t=1/r,r),f("decayConstant")):(s=Math.log(2)/(1/t),r=1/t,v(s,t,r),f("meanLifetime")):(t=1/(Math.log(2)/s),r=M
1ath.log(2)/s,v(s,t,r),f("halfLife"))},children:[(0,r.jsxs)("div",{className:g("hlCalcWrapInner"),children:[(0,r.jsxs)("label",{htmlFor:"halfLife",children:[(0,r.jsxs)("div",{className:g("inputText hlCalc mobPadd"),children:[(0,r.jsx)("p",{children:"half-life"}),(0,r.jsxs)("p",{children:["t",(0,r.jsx)("sub",{children:"1/2"})]})]}),(0,r.jsxs)("div",{className:g("hlInputStyleWr"),children:[(0,r.jsx)("span",{className:g("inputText is-hide"),children:"="}),(0,r.jsx)("input",{className:g("inputStyle hlCalc"),type:"text",id:"halfLife",value:n,onChange:e=>{i(e.target.value),C("")}})]})]}),(0,r.jsxs)("label",{htmlFor:"meanLifetime",children:[(0,r.jsxs)("div",{className:g("inputText hlCalc mobPadd"),children:[(0,r.jsx)("p",{children:"mean lifetime"})," ",(0,r.jsx)("p",{children:"τ"})]}),(0,r.jsxs)("div",{className:g("hlInputStyleWr"),children:[(0,r.jsx)("span",{className:g("inputText"),children:"="}),(0,r.jsx)("input",{className:g("inputStyle hlCalc"),type:"text",id:"meanLifetime",value:c,onChange:e=>{d(e.target.value),C("")}})]})]}),(0,r.jsxs)("label",{htmlFor:"decayConstant",children:[(0,r.jsxs)("div",{className:g("inputText hlCalc mobPadd"),children:[(0,r.jsx)("p",{children:"decay constant"}),(0,r.jsx)("p",{children:"λ"})]}),(0,r.jsxs)("div",{className:g("hlInputStyleWr"),children:[(0,r.jsx)("span",{className:g("inputText "),children:"="}),(0,r.jsx)("input",{className:g("inputStyle hlCalc"),type:"text",id:"decayConstant",value:u,onChange:e=>{p(e.target.value),C("")}})]})]})]}),(0,r.jsxs)("div",{className:g("btnWrap hlCalc"),children:[(0,r.jsx)("button",{className:g("btnYellow"),type:"submit",children:"Calculate"}),(0,r.jsx)("button",{className:g("btnGrey"),type:"button",onClick:()=>{i(""),d(""),p(""),x(null),C(""),f("")},children:"Clear"})]}),j&&(0,r.jsxs)("div",{className:g("resultError"),children:[(0,r.jsx)("div",{className:g("errorTitle"),children:"Calculation result"}),(0,r.jsx)("div",{className:g("prErrMess"),children:j})]}),null!==h&&(0,r.jsxs)("div",{className:g("resultSuccess"),children:[(0,r.jsx)("div",{className:g("resultTitle"),children:"calculatingApp"===o?"Result":"Calculation result"}),(0,r.jsx)("div",{className:g("result"),children:(0,r.jsx)("div",{className:g("resultWrap hlCalc"),children:(s=h.halfLifeValue,t=h.meanLifetimeValue,l=h.decayConstantValue,(0,r.jsxs)(r.Fragment,{children:[(0,r.jsxs)("p",{className:"halfLife"===m?"is-active":"",children:["half-life (t",(0,r.jsx)("sub",{children:"1/2"}),"): ",s]}),(0,r.jsxs)("p",{className:"meanLifetime"===m?"is-active":"",children:["mean lifetime (τ): ",t]}),(0,r.jsxs)("p",{className:"decayConstant"===m?"is-active":"",children:["decay constant (λ): ",l]})]}))})})]})]})})})}},80110:(e,s,t)=>{"use strict";t.d(s,{BinaryCalcConvertToBinary:()=>o});var r=t(54568),a=t(7620),l=t(65006);let o=e=>{let{app:s}=e,[t,o]=(0,a.useState)("170"),[n,i]=(0,a.useState)(""),[c,d]=(0,a.useState)(null),u=()=>{(0,l.c9)(t,i,d)},p=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("div",{className:p("calcWrap"),children:[(0,r.jsxs)("label",{className:p("inputWrap"),children:[(0,r.jsx)("div",{className:p("inputText"),children:"Decimal Value"}),(0,r.jsx)("input",{className:p("inputStyle"),type:"textfield",name:"decimal",value:t,onChange:e=>o(e.target.value),onKeyDown:e=>"Enter"===e.key&&u(),inputMode:"numeric",required:!0})]}),(0,r.jsxs)("div",{className:p("btnWrap"),children:[(0,r.jsx)("button",{className:p("btnYellow"),onClick:u,children:"Calculate"}),(0,r.jsx)("button",{className:p("btnGrey"),onClick:()=>{o(""),i(""),d(null)},children:"Clear"})]}),n&&(0,r.jsxs)("div",{className:p("resultError"),children:[(0,r.jsx)("div",{className:p("errorTitle"),children:"Error"}),(0,r.jsx)("div",{className:p("errorText"),children:n})]}),c&&(0,r.jsxs)("div",{className:p("resultSuccess"),children:[(0,r.jsx)("div",{className:p("resultTitle"),children:"calculatingApp"===s?"Result":"Calculation result"}),(0,r.jsx)("div",{className:p("resultWrap"),children:(0,r.jsxs)("p",{children:["Binary value:",(0,r.jsxs)("span",{className:p("textSemibold"),children:[" ",c]})]})})]})]})}},80512:(e,s,t)=>{"use strict";t.d(s,{K:()=>o});var r=t(54568),a=t(32901);let l={s:"h-8 px-[--badge-button-sm-padding-x] py-[--badge-button-sm-padding-y] gap-2 rounded-[--badge-button-sm-rounded]",m:"h-10 px-[--badge-button-md-padding-x] py-[--badge-button-md-padding-y] gap-2 rounded-[--badge-button-md-rounded]",l:"rounded-[--button-lg-border-radius]"},o=e=>{let{size:s="m",variant:t,icon:o,children:n,buttonType:i="button",iconPosition:c="left",isDisabled:d=!1,className:u="",theme:p,href:h="",...x}
1=e,{buttonClasses:m,textClasses:f,iconClasses:j}=(e=>{let{size:s,isDisabled:t=!1}=e,r="group text-ellipsis-no-wrap text-base border inline-flex justify-center flex-shrink-0 items-center ".concat(t?"pointer-events-none":""),o=(0,a.cn)(t?"bg-[--badge-button-bg-light-muted] hover:bg-[--badge-button-bg-light-muted-hover] border-[--badge-button-border-light]":"animation-default bg-[--badge-button-bg-light] hover:bg-[--badge-button-bg-light-hover] hover:text-[--badge-button-text-light-hover] border-[--badge-button-border-light] hover:border-[--badge-button-border-light-hover]"),n=(0,a.cn)(t?"bg-[--badge-button-bg-dark-muted] hover:bg-[--badge-button-bg-dark-muted-hover] border-[--badge-button-border-dark]":"animation-default bg-[--badge-button-bg-dark] hover:bg-[--badge-button-bg-dark-hover] border-[--badge-button-border-dark] hover:border-[--badge-button-border-dark-hover]"),i={light:(0,a.cn)(l[s],r,o),dark:(0,a.cn)(l[s],r,n)},c=(0,a.cn)(t?"text-[--badge-button-text-light-muted] group-hover:text-[--badge-button-text-light-muted-hover]":"text-[--badge-button-text-light] group-hover:text-[--badge-button-text-light-hover]"),d=(0,a.cn)(t?"text-[--badge-button-text-dark-muted] group-hover:text-[--badge-button-text-dark-muted-hover]":"text-[--badge-button-text-dark] font-[--badge-font-weight] group-hover:text-[--badge-button-text-dark-hover]"),u="text-center text-md font-normal leading-normal",p={light:(0,a.cn)(u,c),dark:(0,a.cn)(u,d)},h="h-5 w-5 flex justify-center items-center";return{buttonClasses:i,textClasses:p,iconClasses:{light:(0,a.cn)(h,c),dark:(0,a.cn)(h,d)}}})({size:s,isDisabled:d,theme:p,variant:t}),C=(0,r.jsxs)(r.Fragment,{children:[o&&"left"===c&&(0,r.jsx)("span",{className:j[t],children:o}),n&&(0,r.jsx)("div",{className:f[t],children:n}),o&&"right"===c&&(0,r.jsx)("span",{className:j[t],children:o})]});return"link"===i?(0,r.jsx)("a",{className:(0,a.cn)(m[t],u),href:h,target:"_blank",...x,children:C}):(0,r.jsx)("button",{type:i,disabled:d,className:(0,a.cn)(m[t],u),...x,children:C})}},80688:(e,s,t)=>{"use strict";t.d(s,{EllipsoidSurfaceArea:()=>n});var r=t(54568),a=t(7620),l=t(16413),o=t(89856);let n=e=>{let{app:s,EllipsoidSurfaceImage:t}=e,[n,i]=(0,a.useState)(""),[c,d]=(0,a.useState)(""),[u,p]=(0,a.useState)(""),[h,x]=(0,a.useState)({axis1:"meters",axis2:"meters",axis3:"meters"}),[m,f]=(0,a.useState)(null),[j,C]=(0,a.useState)([]),v=(e,s,t)=>{let r=parseFloat(e),a=parseFloat(s),l=parseFloat(t),o=[];return(isNaN(r)||r<=0)&&o.push("The axis 1 needs to be positive. "),(isNaN(a)||a<=0)&&o.push("The axis 2 needs to be positive."),(isNaN(l)||l<=0)&&o.push("The axis 3 needs to be positive."),C(o),0===o.length},g=()=>{if(C([]),f(null),!v(n,c,u))return;let e=parseFloat(n),s=parseFloat(c),t=parseFloat(u);if(v(n,c,u)){let r=(0,o.i)(e,h.axis1),a=((e,s,t)=>{let r=(0,o.i)(e.value,e.unit),a=(0,o.i)(s.value,s.unit),l=(0,o.i)(t.value,t.unit);return 4*Math.PI*Math.pow((Math.pow(r*a,1.6075)+Math.pow(a*l,1.6075)+Math.pow(r*l,1.6075))/3,.6220839813374806)})({value:r,unit:"meters"},{value:(0,o.i)(s,h.axis2),unit:"meters"},{value:(0,o.i)(t,h.axis3),unit:"meters"}),l=(e,s)=>e/(0,o.i)(1,s)**2,n=l(a,h.axis1),i=l(a,h.axis2),c=l(a,h.axis3);f({axis1SurfaceArea:n.toString(),axis2SurfaceArea:i.toString(),axis3SurfaceArea:c.toString()})}},b=e=>"".concat(s,"-").concat(e),N=(e,s)=>{x(t=>({...t,[e]:s}))};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:b("calcWrap"),children:[(0,r.jsxs)("div",{className:b("surCalcWrap"),children:[(0,r.jsxs)("div",{className:b("surCalcCol"),children:[(0,r.jsxs)("div",{className:b("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:b("inputText"),children:"Axis 1 (a)"}),(0,r.jsxs)("div",{className:b("surCalcInputRow"),children:[(0,r.jsx)("label",{className:b("inputWrap"),htmlFor:"axis1",children:(0,r.jsx)("input",{className:b("surInputStyle"),type:"text",id:"axis1",value:n,onChange:e=>i(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&g(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:b("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:h.axis1,setSelectedOption:e=>N("axis1",e),app:s})})]})]}),(0,r.jsxs)("div",{className:b("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:b("inputText"),children:"Axis 2 (b)"}),(0,r.jsxs)("div",{className:b("surCalcInputRow"),children:[(0,r.jsx)("label",{className:b("inputWrap"),htmlFor:"axis2",children:(0,r.jsx)("input",{className:b("surInputStyle"),type:"text",id:"axis2",value:c,onChange:e=>d(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&g(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:b("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:h.axis2,setSelectedOption:e=>N("axis2",e),app:s})})]})]}),(0,r.jsxs)("div",{className:b("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:b("inputText"),children:"Axis 3 (c)"}),(0,r.jsxs)("div",{className:b("surCalcInputRow"),children:[(0,r.jsx)("label",{className:b("inputWrap"),htmlFor:"axis3",children:(0,r.jsx)("input",{className:b("surInputStyle"),type:"text",id:"axis3",value:u,onChange:e=>p(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&g(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:b("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:h.axis3,setSelectedOption:e=>N("axis3",e),app:s})})]})]}),(0,r.jsxs)("div",{className:b("btnWrap surfaceCalc"),children:[(0,r.jsx)("button",{className:b("btnYellow"),onClick:g,children:"Calculate"}),(0,r.jsx)("button",{className:b("btnGrey"),onClick:()=>{i(""),d(""),p(""),x({axis1:"meters",axis2:"meters",axis3:"meters"}),f(null),C([])},children:"Clear"})]})]}),(0,r.jsx)("div",{className:b("pyImgWrap surImgWrap"),children:t})]}),(m||j.length>0)&&(0,r.jsxs)("div",{className:"".concat(b(m&&0===j.length?"resultSuccess":"resultError")),children:[(0,r.jsx)("div",{className:"".concat(b(m&&0===j.length?"resultTitle":"errorTitle")),children:"calculatingApp"===s?"Result":"Calculation result"}),m&&0===j.length&&(0,r.jsxs)("div",{className:b("surResultWrap"),children:[(0,r.jsx)("div",{className:b("surResult"),children:(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)("p",{className:"mr-5",children:"Surface Area"}),(0,r.jsx)("p",{className:"mb-2",children:(0,r.jsxs)("span",{className:"flex flex-col",children:[(0,r.jsxs)("span",{className:"flex",children:[(0,r.jsxs)("span",{children:["≈ 4π \xd7 ",(0,r.jsx)("sup",{children:"1.6"}),"√"]}),(0,r.jsxs)("span",{className:"flex flex-col items-center text-center",children:[(0,r.jsxs)("span",{className:"border border-solid border-black",children:["(",n,"\xd7",c,")",(0,r.jsx)("sup",{children:"1.6"})," + (",n,"\xd7",u,")",(0,r.jsx)("sup",{children:"1.6"})," + (",c,"\xd7",u,")",(0,r.jsx)("sup",{children:"1.6"})]}),(0,r.jsx)("span",{children:"3"})]})]}),(0,r.jsxs)("span",{children:["≈",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(m.axis1SurfaceArea," ").concat(h.axis1),(0,r.jsx)("sup",{children:"2"})]})]})]})})]})}),h.axis1!==h.axis2&&(0,r.jsxs)("div",{className:"".concat(b("surResult")," flex-col"),children:[(0,r.jsxs)("p",{className:"text-l mb-2 font-bold",children:["Or in square ",h.axis2,":"]}
1),(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)("p",{className:"mr-5",children:"Surface Area"}),(0,r.jsx)("p",{className:"mb-2",children:(0,r.jsxs)("span",{className:"flex flex-col",children:[(0,r.jsxs)("span",{className:"flex",children:[(0,r.jsxs)("span",{children:["≈ 4π \xd7 ",(0,r.jsx)("sup",{children:"1.6"}),"√"]}),(0,r.jsxs)("span",{className:"flex flex-col items-center text-center",children:[(0,r.jsxs)("span",{className:"border border-solid border-black",children:["(",n,"\xd7",c,")",(0,r.jsx)("sup",{children:"1.6"})," + (",n,"\xd7",u,")",(0,r.jsx)("sup",{children:"1.6"})," + (",c,"\xd7",u,")",(0,r.jsx)("sup",{children:"1.6"})]}),(0,r.jsx)("span",{children:"3"})]})]}),(0,r.jsxs)("span",{children:["≈"," ",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(m.axis2SurfaceArea," ").concat(h.axis2),(0,r.jsx)("sup",{children:"2"})]})]})]})})]})]}),h.axis2!==h.axis3&&h.axis1!==h.axis3&&(0,r.jsxs)("div",{className:"".concat(b("surResult")," flex-col"),children:[(0,r.jsxs)("p",{className:"text-l mb-2 font-bold",children:["Or in square ",h.axis3,":"]}),(0,r.jsxs)("div",{className:"flex gap-2",children:[(0,r.jsx)("p",{className:"mr-5",children:"Surface Area"}),(0,r.jsx)("p",{className:"mb-2",children:(0,r.jsxs)("span",{className:"flex flex-col",children:[(0,r.jsxs)("span",{className:"flex",children:[(0,r.jsxs)("span",{children:["≈ 4π \xd7 ",(0,r.jsx)("sup",{children:"1.6"}),"√"]}),(0,r.jsxs)("span",{className:"flex flex-col items-center text-center",children:[(0,r.jsxs)("span",{className:"border border-solid border-black",children:["(",n,"\xd7",c,")",(0,r.jsx)("sup",{children:"1.6"})," + (",n,"\xd7",u,")",(0,r.jsx)("sup",{children:"1.6"})," + (",c,"\xd7",u,")",(0,r.jsx)("sup",{children:"1.6"})]}),(0,r.jsx)("span",{children:"3"})]})]}),(0,r.jsxs)("span",{children:["≈"," ",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(m.axis3SurfaceArea," ").concat(h.axis3),(0,r.jsx)("sup",{children:"2"})]})]})]})})]})]})]}),j.length>0&&!m&&(0,r.jsx)("div",{className:b("redErrorText"),children:j.map((e,s)=>(0,r.jsx)("div",{children:e},s))})]})]})})}},81194:(e,s,t)=>{"use strict";t.d(s,{CubeSurfaceArea:()=>n});var r=t(54568),a=t(7620),l=t(16413),o=t(89856);let n=e=>{let{app:s,CubeSurfaceImage:t}=e,[n,i]=(0,a.useState)(""),[c,d]=(0,a.useState)("meters"),[u,p]=(0,a.useState)(null),[h,x]=(0,a.useState)(null),m=()=>{if("string"==typeof n&&n.match(/^\d*\.?\d+$/)){let e=parseFloat(n);if(e>0){let s=6*e**2;p({edge:e,result:s,resultString:s.toFixed(8)}),x(null)}else p(null),x("The edge length needs to be positive.")}else p(null),x("The edge length needs to be positive.")},f=e=>"".concat(s,"-").concat(e);return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:f("calcWrap"),children:[(0,r.jsxs)("div",{className:f("surCalcWrap"),children:[(0,r.jsxs)("div",{className:f("surCalcCol"),children:[(0,r.jsxs)("div",{className:f("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:f("inputText"),children:"Edge Length (a)"}),(0,r.jsxs)("div",{className:f("surCalcInputRow"),children:[(0,r.jsx)("label",{className:f("inputWrap"),htmlFor:"edge",children:(0,r.jsx)("input",{className:f("surInputStyle"),type:"text",id:"edge",value:n,onChange:e=>i(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&m(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:f("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:c,setSelectedOption:d,app:s})})]})]}),(0,r.jsxs)("div",{className:f("btnWrap surfaceCalc"),children:[(0,r.jsx)("button",{className:f("btnYellow"),onClick:m,children:"Calculate"}),(0,r.jsx)("button",{className:f("btnGrey"),onClick:()=>{i(""),d("meters"),p(null),x(null)},children:"Clear"})]})]}),(0,r.jsx)("div",{className:f("pyImgWrap surImgWrap"),children:t})]}),(u||h)&&(0,r.jsxs)("div",{className:"".concat(f(u&&!h?"resultSuccess":"resultError")),children:[(0,r.jsx)("div",{className:"".concat(f(u&&!h?"resultTitle":"errorTitle")),children:"calculatingApp"===s?"Result":"Calculation result"}),u&&!h&&(0,r.jsx)("div",{className:f("resultWrap"),children:(0,r.jsx)("div",{className:f("surResult"),children:(0,r.jsx)("div",{children:(0,r.jsxs)("p",{children:["Surface area = 6 \xd7 ",n,(0,r.jsx)("sup",{children:"2"})," =",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(u.result)," ",c,(0,r.jsx)("sup",{children:"2"})]})]})})})}),h&&!u&&(0,r.jsx)("div",{className:f("redErrorText"),children:h})]})]})})}},81976:(e,s,t)=>{"use strict";t.r(s),t.d(s,{getCookie:()=>r});let r=e=>{let s=document.cookie.match(RegExp("(?:^|; )"+e.replace(/([.$?*|{}()[]\/+^])/g,"\\$1")+"=([^;]*)"));return s?decodeURIComponent(s[1]):null}},81991:(e,s,t)=>{"use strict";t.d(s,{PercentErrorCalculator:()=>n});var r=t(54568),a=t(7620),l=t(47221),o=t(9178);let n=e=>{let{app:s}=e,[t,n]=(0,a.useState)("10"),[i,c]=(0,a.useState)("11"),[d,u]=(0,a.useState)(null),[p,h]=(0,a.useState)(""),[x,m]=(0,a.useState)(!1),f=e=>/^-?\d*\.?\d*$/.test(e),j=e=>"".concat(s,"-").concat(e),C=((t-i)/i*100).toFixed(13);return(0,r.jsxs)("div",{className:j("pyWrap"),children:[(0,r.jsx)("div",{className:"white-box",children:(0,r.jsxs)("form",{className:j("calcWrap"),onSubmit:e=>{if(e.preventDefault(),!f(t)||!f(i)){h("The observed value need to be numeric."),u(null);return}let s=parseFloat(t),r=parseFloat(i);if(0===r){h("True value cannot be zero."),u(null);return}u(((s-r)/r*100).toFixed(4)),h("")},children:[(0,r.jsxs)("label",{className:j("inputWrap"),htmlFor:"observedValue",children:[(0,r.jsx)("div",{className:j("inputText"),children:"Observed Value"}),(0,r.jsx)("input",{className:j("inputStyle"),type:"text",id:"observedValue",value:t,onChange:e=>{n(e.target.value),h("")},required:!0})]}),(0,r.jsxs)("label",{className:j("inputWrap"),htmlFor:"trueValue",children:[(0,r.jsx)("div",{className:j("inputText"),children:"True Value"}),(0,r.jsx)("input",{className:j("inputStyle"),type:"text",id:"trueValue",value:i,onChange:e=>{c(e.target.value),h("")},required:!0})]}
1),(0,r.jsxs)("div",{className:j("btnWrap"),children:[(0,r.jsx)("button",{className:j("btnYellow"),type:"submit",children:"Calculate"}),(0,r.jsx)("button",{className:j("btnGrey"),type:"button",onClick:()=>{n("0"),c("0"),u(null),h("")},children:"Clear"})]}),p&&(0,r.jsxs)("div",{className:j("resultError"),children:[(0,r.jsx)("div",{className:j("errorTitle"),children:"Calculation result"}),(0,r.jsx)("div",{className:j("prErrMess"),children:p})]}),null!==d&&(0,r.jsxs)("div",{className:j("resultSuccess"),children:[(0,r.jsx)("div",{className:j("resultTitle"),children:"calculatingApp"===s?"Result":"Calculation result"}),(0,r.jsx)("div",{className:j("result"),children:(0,r.jsx)("div",{className:j("resultWrap"),children:(0,r.jsxs)("p",{className:j("textSemibold"),children:["Percent error: ",d,"%"]})})})]})]})}),null!==d&&(0,r.jsxs)("div",{className:j("pyCalcSteps"),children:[(0,r.jsxs)("h2",{onClick:()=>{m(!x)},className:"".concat(j("pyStepsTitle")," ").concat(x?"active":""),children:["Show Calculation Steps",(0,r.jsx)("div",{className:"".concat(j("pyStepsArrow")," ").concat(x?"active":""),children:"calculatingApp"===s?(0,r.jsx)(l.ArrowLongIcon,{}):(0,r.jsx)(o.ArrowIcon,{})})]}),x&&(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:j("prInfoWrap"),children:[(0,r.jsx)("div",{className:j("prInfoPadR"),children:"Percent Error "}),(0,r.jsxs)("div",{className:"ml-10 text-xl font-medium",children:[(0,r.jsxs)("div",{className:"flex",children:["=",(0,r.jsxs)("div",{className:j("prBorderBottomInfo"),children:["V",(0,r.jsx)("sub",{children:"observed"}),"-",(0,r.jsxs)("span",{children:["V",(0,r.jsx)("sub",{children:"true"})]})]})]}),(0,r.jsxs)("div",{className:j("prCalcTranslate"),children:["V",(0,r.jsx)("sub",{children:"true"})]}),(0,r.jsxs)("div",{className:"flex",children:["=",(0,r.jsxs)("div",{className:j("prBorderBottomInfo"),children:[t," - ",i]})]}),(0,r.jsx)("div",{className:j("prCalcTranslateSecond"),children:i}),(0,r.jsxs)("div",{className:"flex",children:["=",(0,r.jsx)("div",{className:j("prBorderBottomInfo"),children:t-i})]}),(0,r.jsx)("div",{className:j("prCalcTranslateLast"),children:i}),(0,r.jsxs)("div",{className:j("prCalcRes"),children:["= ",C]}),(0,r.jsxs)("div",{children:["= ",Math.abs(+C)," error"]})]})]})})]})]})}},82729:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useDebounce:()=>a});var r=t(7620);let a=(e,s)=>{let[t,a]=(0,r.useState)(e);return(0,r.useEffect)(()=>{let t=setTimeout(()=>{a(e)},s);return()=>{clearTimeout(t)}},[e,s]),t}},83443:(e,s,t)=>{"use strict";t.d(s,{PercentageCalc:()=>i});var r=t(54568),a=t(7620),l=t(62011),o=t(47221),n=t(9178);let i=e=>{let{app:s}=e,[t,i]=(0,a.useState)(!1),[c,d]=(0,a.useState)(""),[u,p]=(0,a.useState)(""),[h,x]=(0,a.useState)(null),[m,f]=(0,a.useState)(""),j=e=>{e.preventDefault();let s=parseFloat(u),t=parseFloat(c);if(isNaN(s)||isNaN(t)){f("Please provide two numeric values in any fields below."),x(null);return}x({percentageResult:c,valueResult:u,calculatedResult:s*t/100}),f("")},C=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("div",{className:C("perWrap"),children:[(0,r.jsxs)("form",{className:C("perCalcWrap"),onSubmit:j,children:[(0,r.jsxs)("div",{className:C("pyInputsWrap perCalc"),children:[(0,r.jsxs)("div",{className:C("pyInputWrap"),children:[(0,r.jsxs)("label",{className:C("pyLabel icon"),htmlFor:"percentage",children:[(0,r.jsx)("input",{className:C("pyInput perCalc"),value:isNaN(Number(c))?"":c,onChange:e=>d(e.target.value),onKeyDown:e=>"Enter"===e.key&&j(e),name:"percentage",id:"percentage",type:"number"}),(0,r.jsx)("div",{className:C("inputPercentageIcon"),children:(0,r.jsx)(l.PercentageIcon,{})})]}),(0,r.jsx)("span",{className:C("pyInputText perCalc"),children:"of"}),(0,r.jsx)("label",{className:C("pyLabel"),htmlFor:"value",children:(0,r.jsx)("input",{className:C("pyInput perCalc"),value:isNaN(Number(u))?"":u,onCh
1ange:e=>p(e.target.value),onKeyDown:e=>"Enter"===e.key&&j(e),name:"value",id:"value",type:"number"})}),(0,r.jsx)("span",{className:C("pyInputText perCalc"),children:"="}),(0,r.jsx)("label",{className:C("pyLabel"),htmlFor:"result",children:(0,r.jsx)("input",{className:C("pyInput perCalc"),name:"result",id:"result",type:"number"})})]}),(0,r.jsxs)("div",{className:C("pyButtonsWrap"),children:[(0,r.jsx)("button",{className:C("pyButtonCalc"),children:"Calculate"}),(0,r.jsx)("a",{className:C("pyButtonClear cursor-pointer"),onClick:()=>{d(""),p(""),x(null),f("")},children:"Clear"})]})]}),h&&(0,r.jsxs)("div",{className:C("resultSuccess"),children:[(0,r.jsx)("div",{className:C("resultTitle"),children:"Calculation result"}),(0,r.jsxs)("div",{className:C("resultWrap"),children:[(0,r.jsx)("p",{children:(0,r.jsx)("span",{className:C("textSemibold"),children:h.calculatedResult})}),(0,r.jsx)("p",{children:"".concat(h.percentageResult,"% of ").concat(h.valueResult," = ").concat(h.calculatedResult)})]})]}),m&&(0,r.jsxs)("div",{className:C("resultError"),children:[(0,r.jsx)("div",{className:C("errorTitle"),children:"Calculation result"}),(0,r.jsx)("div",{className:C("errorText"),children:m})]})]}),h&&(0,r.jsxs)("div",{className:C("pyCalcSteps"),children:[(0,r.jsxs)("h3",{onClick:()=>{i(!t)},className:"".concat(C("pyStepsTitle")," ").concat(t?"active":""),children:["Show Calculation Steps",(0,r.jsx)("div",{className:"".concat(C("pyStepsArrow")," ").concat(t?"active":""),children:"calculatingApp"===s?(0,r.jsx)(o.ArrowLongIcon,{}):(0,r.jsx)(n.ArrowIcon,{})})]}),t&&(0,r.jsx)("div",{className:C("pyStepsInfo"),children:((e,s,t)=>"".concat(e,"% of ").concat(s," = ").concat(parseFloat(e)/100," \xd7 ").concat(s," = ").concat(t))(h.percentageResult,h.valueResult,h.percentageResult)})]})]})}},84998:(e,s,t)=>{"use strict";t.d(s,{ConicalFrustumSurfaceArea:()=>n});var r=t(54568),a=t(7620),l=t(16413),o=t(89856);let n=e=>{var s,t,n,i,c,d,u;let{app:p,ConicalFrustumSurfaceImage:h}=e,[x,m]=(0,a.useState)(""),[f,j]=(0,a.useState)(""),[C,v]=(0,a.useState)(""),[g,b]=(0,a.useState)({topRadius:"meters",bottomRadius:"meters",height:"meters"}),[N,y]=(0,a.useState)(null),[w,k]=(0,a.useState)(null),[S,A]=(0,a.useState)([]),F=()=>{let e,s,t,r,a,l,n,i;A([]),y(null);let c=parseFloat(x),d=parseFloat(f),u=parseFloat(C);if(!((e,s,t)=>{let r=parseFloat(e),a=parseFloat(s),l=parseFloat(t),o=[];return(isNaN(r)||r<=0)&&o.push("The top radius needs to be a positive."),(isNaN(a)||a<=0)&&o.push("The bottom radius needs to be a positive."),(isNaN(l)||l<=0)&&o.push("The height needs to be a positive."),A(o),0===o.length})(x,f,C))return;let p=(0,o.i)(c,g.topRadius),[h,m,j,v]=((e,s,t)=>{let r=Math.PI*e**2,a=Math.PI*s**2,l=Math.PI*(e+s)*Math.sqrt((e-s)**2+t**2);return[r,a,l,r+a+l]})(p,(0,o.i)(d,g.bottomRadius),(0,o.i)(u,g.height)),b=h/(0,o.G0)(g.topRadius),N=m/(0,o.G0)(g.bottomRadius),w=j/(0,o.G0)(g.height),S=v/(0,o.G0)(g.bottomRadius);y({topArea:b.toFixed(10),bottomArea:N.toFixed(10),lateralArea:w.toFixed(10),totalArea:S.toFixed(10)}),(g.topRadius!==g.bottomRadius||g.topRadius!==g.height)&&(e=h/(0,o.G0)(g.bottomRadius),s=m/(0,o.G0)(g.bottomRadius),t=j/(0,o.G0)(g.bottomRadius),r=v/(0,o.G0)(g.bottomRadius)),g.height!==g.topRadius&&g.height!==g.bottomRadius&&(a=h/(0,o.G0)(g.height),l=m/(0,o.G0)(g.height),n=j/(0,o.G0)(g.height),i=v/(0,o.G0)(g.height)),k({secondTopArea:(null==e?void 0:e.toFixed(10))||"",secondBottomArea:(null==s?void 0:s.toFixed(10))||"",secondLateralArea:(null==t?void 0:t.toFixed(10))||"",secondTotalArea:(null==r?void 0:r.toFixed(10))||"",thirdTopArea:(null==a?void 0:a.toFixed(10))||"",thirdBottomArea:(null==l?void 0:l.toFixed(10))||"",thirdLateralArea:(null==n?void 0:n.toFixed(10))||"",thirdTotalArea:(null==i?void 0:i.toFixed(10))||""})},E=e=>"".concat(p,"-").concat(e),R=(e,s)=>{b(t=>({...t,[e]:s}))};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:E("calcWrap"),children:[(0,r.jsxs)("div",{className:E("surCalcWrap"),children:[(0,r.jsxs)("div",{className:E("surCalcCol"),children:[(0,r.jsxs)("div",{className:E("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:E("inputText"),children:"Top Radius (r)"}),(0,r.jsxs)("div",{className:E("surCalcInputRow"),children:[(0,r.jsx)("label",{className:E("inputWrap"),htmlFor:"topRadius",children:(0,r.jsx)("input",{className:E("surInputStyle"),type:"text",id:"topRadius",value:x,onChange:e=>m(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&F(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:E("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:g.topRadius,setSelectedOption:e=>R("topRadius",e),app:p})})]})]}),(0,r.jsxs)("div",{className:E("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:E("inputText"),children:"Bottom Radius (R)"}),(0,r.jsxs)("div",{className:E("surCalcInputRow"),children:[(0,r.jsx)("label",{className:E("inputWrap"),htmlFor:"bottomRadius",children:(0,r.jsx)("input",{className:E("surInputStyle"),type:"text",id:"bottomRadius",value:f,onChange:e=>j(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&F(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:E("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:g.bottomRadius,setSelectedOption:e=>R("bottomRadius",e),app:p})})]})]}),(0,r.jsxs)("div",{className:E("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:E("inputText"),children:"Height (h)"}),(0,r.jsxs)("div",{className:E("surCalcInputRow"),children:[(0,r.jsx)("label",{className:E("inputWrap"),htmlFor:"conicalHeight",children:(0,r.jsx)("input",{className:E("surInputStyle"),type:"text",id:"conicalHeight",value:C,onChange:e=>v(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&F(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:E("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:g.height,setSelectedOption:e=>R("height",e),app:p})})]})]}),(0,r.jsxs)("div",{className:E("btnWrap surfaceCalc"),children:[(0,r.jsx)("button",{className:E("btnYellow"),onClick:F,children:"Calculate"}),(0,r.jsx)("button",{className:E("btnGrey"),onClick:()=>{m(""),j(""),v(""),b({topRadius:"meters",bottomRadius:"meters",height:"meters"}),y(null),A([])},children:"Clear"})]})]}),(0,r.jsx)("div",{className:E("pyImgWrap surImgWrap"),children:h})]}),(N||S.length>0)&&(0,r.jsxs)("div",{className:"".concat(E(N&&0===S.length?"resultSuccess":"resultError")),children:[(0,r.jsx)("div",{className:"".concat(E(N&&0===S.length?"resultTitle":"errorTitle")),children:"calculatingApp"===p?"Result":"Calculation result"}),N&&0===S.length&&(0,r.jsxs)("div",{className:E("surResultWrap"),children:[(0,r.jsxs)("div",{className:E("surResult"),children:[(0,r.jsx)("p",{className:"font-primary",children:"Top Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 ",x,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(N.topArea," ").concat(g.topRadius),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:E("surResult"),children:[(0,r.jsx)("p",{children:"Bottom Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 ",f,(0,r.jsx)("sup",{children:"2"})]}),"=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(N.bottomArea," ").concat(g.topRadius),(0,r.jsx)("sup",{children:"2"})]})]})]}),(0,r.jsxs)("div",{className:E("surResult"),children:[(0,r.jsx)("p",{children:"Lateral Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 (",x,"+",f,") \xd7 √",(0,r.jsxs)("span",{className:"border-t border-solid border-black",children:[(0,r.jsxs)("span",{children:["(",x,"-",f,")",(0,r.jsx)("sup",{children:"2"})]})," ","+ ",x,(0,r.jsx)("sup",{children:"2"})]})]}),"=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(N.lateralArea," ").concat(g.topRadius),(0,r.jsx)("sup",{children:"2"})]})]})]}),(0,r.jsxs)("div",{className:E("surResult"),children:[(0,r.jsx)("p",{children:"Total Surface Area ="}),(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(N.totalArea," ").concat(g.topRadius),(0,r.jsx)("sup",{children:"2"})]})]}),g.bottomRadius!==g.topRadius&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"text-l mb-2 font-bold",children:["Or in square ",g.bottomRadius,":"]}),(0,r.jsxs)("div",{className:E("surResult"),children:[(0,r.jsx)("p",{className:"font-primary",children:"Top Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 ",f,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(null!=(s=null==w?void 0:w.secondTopArea)?s:""," "),g.bottomRadius,(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:E("surResult"),children:[(0,r.jsx)("p",{children:"Bottom Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 ",f,(0,r.jsx)("sup",{children:"2"})]}),"=",(0,r.jsxs)("span",{className:"mb-2 font-bold",children:[" ".concat(null!=(t=null==w?void 0:w.secondBottomArea)?t:""," "),g.bottomRadius,(0,r.jsx)("sup",{children:"2"})]})]})]}),(0,r.jsxs)("div",{className:E("surResult"),children:[(0,r.jsx)("p",{children:"Lateral Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 (",x,"+",f,") \xd7 √",(0,r.jsxs)("span",{className:"border-t border-solid border-black",children:[(0,r.jsxs)("span",{children:["(",x,"-",f,")",(0,r.jsx)("sup",{children:"2"})]})," ","+ ",x,(0,r.jsx)("sup",{children:"2"})]})]}),"=",(0,r.jsxs)("span",{className:"mb-2 font-bold",children:[" ".concat(null!=(n=null==w?void 0:w.secondLateralArea)?n:""," "),g.bottomRadius,(0,r.jsx)("sup",{children:"2"})]})]})]}),(0,r.jsxs)("div",{className:E("surResult"),children:[(0,r.jsx)("p",{children:"Total Surface Area ="}),(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(null!=(i=null==w?void 0:w.secondTotalArea)?i:""," "),g.bottomRadius,(0,r.jsx)("sup",{children:"2"})]})]})]}),g.height!==g.topRadius&&g.height!==g.bottomRadius&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"text-l mb-2 font-bold",children:["Or in square ",g.he
1ight,":"]}),(0,r.jsxs)("div",{className:E("surResult"),children:[(0,r.jsx)("p",{className:"font-primary",children:"Top Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 ",x,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(null!=(c=null==w?void 0:w.thirdTopArea)?c:""," "),g.height,(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:E("surResult"),children:[(0,r.jsx)("p",{children:"Bottom Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 ",f,(0,r.jsx)("sup",{children:"2"})]}),"=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(null!=(d=null==w?void 0:w.thirdBottomArea)?d:""," "),g.height,(0,r.jsx)("sup",{children:"2"})]})]})]}),(0,r.jsxs)("div",{className:E("surResult"),children:[(0,r.jsx)("p",{children:"Lateral Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= π \xd7 (",x,"+",f,") \xd7 √",(0,r.jsxs)("span",{className:"border-t border-solid border-black",children:[(0,r.jsxs)("span",{children:["(",x,"-",f,")",(0,r.jsx)("sup",{children:"2"})]})," ","+ ",x,(0,r.jsx)("sup",{children:"2"})]})]}),"="," ",(0,r.jsxs)("span",{className:"font-bold",children:[w&&w.thirdLateralArea," "+g.height,(0,r.jsx)("sup",{children:"2"})]})]})]}),(0,r.jsxs)("div",{className:E("surResult"),children:[(0,r.jsx)("p",{children:"Total Surface Area ="}),(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(null!=(u=null==w?void 0:w.thirdTotalArea)?u:""," "),g.height,(0,r.jsx)("sup",{children:"2"})]})]})]})]}),S.length>0&&!N&&(0,r.jsx)("div",{className:E("redErrorText"),children:S.map((e,s)=>(0,r.jsx)("div",{children:e},s))})]})]})})}},85556:(e,s,t)=>{"use strict";t.r(s),t.d(s,{Tooltip:()=>n});var r=t(54568),a=t(7620),l=t(32901),o=t(750);let n=e=>{let{content:s,position:t="top",backgroundColor:n,addBoxShadow:i,children:c}=e,[d,u]=(0,a.useState)(!1),p=n||"var(--default-bg)";return(0,r.jsxs)("div",{className:"relative inline-block",children:[(0,r.jsx)("div",{className:"flex items-center",onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),children:c}),d&&(0,r.jsxs)("div",{style:{zIndex:o.ut,backgroundColor:p,boxShadow:i?"0 2px 8px 0 rgba(0, 0, 0, 0.15)":""},className:(0,l.cn)("text-default absolute whitespace-nowrap rounded-lg px-2 py-1 text-sm ".concat(i?"":"shadow-floating","\n          ").concat("top"===t?"bottom-full left-1/2 mb-2 -translate-x-1/2":"","\n          ").concat("bottom"===t?"left-1/2 top-full mt-2 -translate-x-1/2":"","\n          ").concat("left"===t?"right-full top-1/2 mr-2 -translate-y-1/2":"","\n          ").concat("right"===t?"left-full top-1/2 ml-2 -translate-y-1/2":"","\n          ").concat("top-left"===t?"-left-3 bottom-full mb-2":"","\n            ").concat("top-right"===t?"-right-3 bottom-full mb-2":"","\n            ").concat("bottom-left"===t?"-left-3 top-full mt-2":"","\n            ").concat("bottom-right"===t?"-right-3 top-full mt-2":"","\n        ")),children:[s,(0,r.jsx)("div",{style:{borderTopColor:"top"===t||"top-left"===t||"top-right"===t?p:"transparent",borderBottomColor:"bottom"===t||"bottom-left"===t||"bottom-right"===t?p:"transparent",borderLeftColor:"left"===t?p:"transparent",borderRightColor:"right"===t?p:"transparent"},className:(0,l.cn)("absolute h-0 w-0 border-solid border-transparent\n              ".concat("top"===t?"left-1/2 top-full -translate-x-1/2 border-x-8 border-t-8 border-x-transparent":"","\n              ").concat("bottom"===t?"bottom-full left-1/2 -translate-x-1/2 border-x-8 border-b-8 border-x-transparent":"","\n              ").concat("left"===t?"left-full top-1/2 -translate-y-1/2 border-y-8 border-l-8 border-y-transparent":"","\n              ").concat("right"===t?"right-full top-1/2 -translate-y-1/2 border-y-8 border-r-8 border-y-transparent":"","\n              ").concat("top-left"===t?"left-3 top-full border-x-8 border-t-8 border-x-transparent":"","\n              ").concat("top-right"===t?"right-3 top-full border-x-8 border-t-8 border-x-transparent":"","\n              ").concat("bottom-left"===t?"bottom-full left-3 border-x-8 border-b-8 border-x-trans
1parent":"","\n              ").concat("bottom-right"===t?"bottom-full right-3 border-x-8 border-b-8 border-x-transparent":"","\n            "))})]})]})}},86581:(e,s,t)=>{"use strict";t.d(s,{GeometricSequenceCalc:()=>l});var r=t(54568),a=t(7620);let l=e=>{let{app:s}=e,[t,l]=(0,a.useState)(2),[o,n]=(0,a.useState)(5),[i,c]=(0,a.useState)(12),[d,u]=(0,a.useState)(null),[p,h]=(0,a.useState)(""),x=e=>{e.preventDefault();let s=Number(t),r=Number(o),a=Number(i);if(a<=0){h("Please provide a positive integer as the number to obtain."),u(null);return}let l=s*Math.pow(r,a-1),n=s*(1-Math.pow(r,a))/(1-r),c=Array.from({length:9},(e,t)=>s*Math.pow(r,t));u({nthTerm:l,sum:n,sequenceText:"Sequence: ".concat(c.join(", ")," ...")}),h("")},m=e=>"".concat(s,"-").concat(e);return(0,r.jsxs)("form",{className:m("calcWrap"),onSubmit:x,children:[(0,r.jsxs)("label",{className:m("inputWrap"),htmlFor:"firstNumber",children:[(0,r.jsx)("div",{className:m("inputText"),children:"the first number"}),(0,r.jsx)("input",{className:m("inputStyle"),type:"number",id:"firstNumber",value:isNaN(Number(t))?"":t,onChange:e=>l(""===e.target.value?NaN:Number(e.target.value)),onKeyDown:e=>"Enter"===e.key&&x(e),inputMode:"numeric",required:!0})]}),(0,r.jsxs)("label",{className:m("inputWrap"),htmlFor:"commonRatio",children:[(0,r.jsx)("div",{className:m("inputText"),children:"common ratio(r)"}),(0,r.jsx)("input",{className:m("inputStyle"),type:"number",id:"commonRatio",value:isNaN(Number(o))?"":o,onChange:e=>n(""===e.target.value?NaN:Number(e.target.value)),onKeyDown:e=>"Enter"===e.key&&x(e),inputMode:"numeric",required:!0})]}),(0,r.jsxs)("label",{className:m("inputWrap"),htmlFor:"nthNumber",children:[(0,r.jsxs)("div",{className:m("inputText"),children:["the n",(0,r.jsx)("sup",{children:"th"})," number to obtain"]}),(0,r.jsx)("input",{className:m("inputStyle"),type:"number",id:"nthNumber",value:isNaN(Number(i))?"":i,onChange:e=>c(""===e.target.value?NaN:Number(e.target.value)),onKeyDown:e=>"Enter"===e.key&&x(e),inputMode:"numeric",required:!0})]}),(0,r.jsxs)("div",{className:m("btnWrap"),children:[(0,r.jsx)("button",{type:"submit",className:m("btnYellow"),children:"Calculate"}),(0,r.jsx)("button",{className:m("btnGrey"),onClick:()=>{l(0),n(0),c(0),u(null),h("")},children:"Clear"})]}),p&&(0,r.jsxs)("div",{className:m("resultError"),children:[(0,r.jsx)("div",{className:m("errorTitle"),children:"Error"}),(0,r.jsx)("div",{className:m("errorText"),children:p})]}),d&&(0,r.jsxs)("div",{className:m("resultSuccess"),children:[(0,r.jsx)("div",{className:m("resultTitle"),children:"calculatingApp"===s?"Result":"Calculation result"}),(0,r.jsxs)("div",{className:m("resultWrap"),children:[(0,r.jsx)("p",{children:d.sequenceText}),(0,r.jsxs)("p",{children:["calculatingApp"===s?"The ".concat(i,"th term in the sequence is"):(0,r.jsxs)(r.Fragment,{children:[i,(0,r.jsx)("sup",{children:"th"})," value:"]})," ",(0,r.jsx)("span",{className:m("textSemibold"),children:d.nthTerm})]}),(0,r.jsxs)("p",{children:["calculatingApp"===s?"The sum of the sequence through the ".concat(i,"th term is"):(0,r.jsxs)(r.Fragment,{children:["The sum of all numbers up through the ",i,(0,r.jsx)("sup",{children:"th"}),":"]})," ",(0,r.jsx)("span",{className:m("textSemibold"),children:d.sum})]})]})]})]})}},86791:(e,s,t)=>{"use strict";t.r(s),t.d(s,{FullScreenIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,r.jsx)("path",{d:"M7.50016 7.49992L3.3335 3.33325M3.3335 3.33325V6.66659M3.3335 3.33325H6.66683M12.5002 7.49992L16.6668 3.33325M16.6668 3.33325V6.66659M16.6668 3.33325H13.3335M7.50016 12.4999L3.3335 16.6666M3.3335 16.6666V13.3333M3.3335 16.6666H6.66683M12.5002 12.4999L16.6668 16.6666M16.6668 16.6666V13.3333M16.6668 16.6666H13.3335",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})},86912:(e,s,t)=>{"use strict";t.d(s,{O:()=>r,V:()=>a});var r=function(e){return e.PROD="prod",e.DEV="dev",e.LOCAL="local",e}({});let a={prod:"app",dev:"app-dev",local:"app-dev"}},86950:(e,s,t)=>{"use strict";t.r(s),t.d(s,{NavArrowLeftIcon:()=>l});var r=t(54568),a=t(32901);let l=e=>{let{className:s,...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:(0,a.cn)("size-5 stroke-current",s),...t,children:(0,r.jsx)("path",{d:"M12.5 5L7.5 10L12.5 15",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},87324:(e,s,t)=>{"use strict";t.d(s,{f:()=>l,g:()=>a});var r=t(55917),a=function(e){return e.ESSAYSERVICE="essayservice-theme",e.ESSAYPRO="essaypro-theme",e.DOMYESSAY="domyessay-theme",e.WRITERESSAY="writeressay-theme",e.WRITEPAPER="writepaper-theme",e.WRITEMYESSAY="writemyessay-theme",e.NOCRAMMING="nocramming-theme",e.ESSAYHUB="essayhub-theme",e.PAPERWRITER="paperwriter-theme",e.PAPERTYPER="papertyper-theme",e.STUDYFY="studyfy-theme",e.ESSAYWRITER="essaywriter-theme",e.HUMANISER="humaniser-theme",e.DETECTOR="detector-theme",e}({});let l={[r.$.ESSAYSERVICE_COM]:"essayservice-theme",[r.$.ESSAYPRO_COM]:"essaypro-theme",[r.$.DOMYESSAY_COM]:"domyessay-theme",[r.$.WRITERESSAY_COM]:"writeressay-theme",[r.$.WRITEPAPER_COM]:"writepaper-theme",[r.$.WRITEMYESSAY_COM]:"writemyessay-theme",[r.$.NOCRAMMING_COM]:"nocramming-theme",[r.$.ESSAYHUB_COM]:"essayhub-theme",[r.$.PAPERWRITER_COM]:"paperwriter-theme",[r.$.PAPERTYPER_AI]:"papertyper-theme",[r.$.STUDYFY_COM]:"studyfy-theme",[r.$.ESSAYWRITER_COM]:"essaywriter-theme",[r.$.HUMANISER_AI]:"humaniser-theme",[r.$.DETECTOR_IO]:"detector-theme"}},88366:(e,s,t)=>{"use strict";t.d(s,{RoundingCalculator:()=>u});var r=t(54568),a=t(7620),l=t(49031);let o=[{value:"tenths",label:"Tenths (1)"},{value:"hundredths",label:"Hundredths (2)"},{value:"thousandths",label:"Thousandths (3)"},{value:"tenThousandths",label:"Ten Thousandths (4)"},{value:"hundredThousandths",label:"Hundred Thousandths (5)"},{value:"millionths",label:"Millionths (6)"}],n={tenths:10,hundredths:100,thousandths:1e3,tenThousandths:1e4,hundredThousandths:1e5,millionths:1e6},i=[{value:"2",label:"1/2"},{value:"4",label:"1/4"},{value:"8",label:"1/8"},{value:"16",label:"1/16"},{value:"32",label:"1/32"},{value:"64",label:"1/64"}],c=[{value:"ones",label:"Ones (0)"},{value:"tens",label:"Tens (-1)"},{value:"hundreds",label:"Hundreds (-2)"},{value:"thousands",label:"Thousands (-3)"},{value:"millions",label:"Millions (-6)"}],d={ones:1,tens:10,hundreds:100,thousands:1e3,millions:1e6},u=e=>{let{app:s}=e,[t,u]=(0,a.useState)(1),[p,h]=(0,a.useState)("tenths"),[x,m]=(0,a.useState)(null),[f,j]=(0,a.useState)(""),C=e=>{if(e.preventDefault(),isNaN(t)){j("Please provide a valid number to round."),m(null);return}j("");let s=o.find(e=>e.value===p);if(s)return void m(((e,s)=>{let t=n[s],r=(Math.round(e*t)/t).toFixed(t.toString().length-1),a="is the result of rounding ".concat(e," to the nearest ").concat(1/t,".");return{resultValue:r,inputValue:e,summaryResult:a}})(t,s.value));let r=c.find(e=>e.value===p);if(r)return void m(((e,s)=>{let t,r=d[s];t=0===r?Math.round(e):Math.round(e/r)*r;let a="is the result of rounding ".concat(e," to the nearest ").concat(r,".");return{resultValue:t.toString(),inputValue:e,summaryResult:a}})(t,r.value));let a=i.find(e=>e.value===p);if(a)return void m(((e,s)=>{let t=Math.floor(e),r=1/s*Math.round((e-t)/(1/s)),a="";return r>0&&(a="".concat(Math.floor(r*s),"/").concat(s)),{resultValue:"".concat(t," ").concat(a),inputValue:e,summaryResult:""}})(t,Number(a.value)))},v=e=>"".concat(s,"-").concat(e);return(0,r.jsx)("div",{className:v("perWrap"),children:(0,r.jsx)("div",{className:v("perCalcWrap"),children:(0,r.jsxs)("form",{className:v("calcWrap roundCalc"),onSubmit:C,children:[(0,r.jsxs)("label",{className:v("inputWrap roundCalc"),htmlFor:"number",children:[(0,r.jsx)("div",{className:v("inputText"),children:"Number"}),(0,r.jsx)("input",{className:v("inputStyle roundCalc"),type:"number",id:"number",value:isNaN(Number(t))?"":t,onChange:e=>u(""===e.target.value?NaN:Number(e.target.value)),onKeyDown:e=>"Enter"===e.key&&C(e),inputMode:"numeric"})]}),(0,r.jsxs)("div",{className:v("inputWrap roundCalc"),children:[(0,r.jsx)("div",{className:v("inputText"),children:"Precision"}),(0,r.jsx)(l.SelectAdvanced,{options:[{groupTitle:"Decimal",groupItems:o},{groupTitle:"Whole Number",groupItems:c},{groupTitle:"Fraction",groupItems:i}],selectedOption:p,setSelectedOption:h,app:s})]}),(0,r.jsxs)("div",{className:v("btnWrap roundCalc"),children:[(0,r.jsx)("button",{className:v("btnYellow"),type:"submit",children:"Calculate"}
1),(0,r.jsx)("a",{className:v("btnGrey cursor-pointer"),onClick:()=>{m(null),j(""),u(0)},children:"Clear"})]}),x&&(0,r.jsxs)("div",{className:v("resultSuccess"),children:[(0,r.jsx)("div",{className:v("resultTitle"),children:"calculatingApp"===s?"Result":"Calculation result"}),(0,r.jsxs)("div",{className:v("resultWrap"),children:[(0,r.jsx)("p",{children:(0,r.jsx)("span",{className:v("textSemibold"),children:x.resultValue})}),(0,r.jsx)("p",{className:v("resultWrapText"),children:x.summaryResult})]})]}),f&&(0,r.jsxs)("div",{className:v("resultError"),children:[(0,r.jsx)("div",{className:v("errorTitle"),children:"calculatingApp"===s?"Result":"Calculation result"}),(0,r.jsx)("div",{className:v("errorText"),children:f})]})]})})})}},88380:(e,s,t)=>{"use strict";t.r(s),t.d(s,{PasteIcon:()=>l});var r=t(54568),a=t(32901);let l=e=>{let{className:s,...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:(0,a.cn)("size-5",s),...t,children:(0,r.jsx)("path",{d:"M7.0835 3.3335H5.00016C4.07969 3.3335 3.3335 4.07969 3.3335 5.00016V16.6668C3.3335 17.5873 4.07969 18.3335 5.00016 18.3335H15.0002C15.9206 18.3335 16.6668 17.5873 16.6668 16.6668V5.00016C16.6668 4.07969 15.9206 3.3335 15.0002 3.3335H12.9168M7.0835 3.3335C7.31361 3.3335 7.50368 3.14687 7.54309 2.92015C7.66657 2.20992 8.14515 0.833496 10.0002 0.833496C11.8552 0.833496 12.3338 2.20992 12.4572 2.92015C12.4966 3.14687 12.6867 3.3335 12.9168 3.3335M7.0835 3.3335C6.85338 3.3335 6.66683 3.52004 6.66683 3.75016V5.3335C6.66683 5.60964 6.89069 5.8335 7.16683 5.8335H12.8335C13.1096 5.8335 13.3335 5.60964 13.3335 5.3335V3.75016C13.3335 3.52004 13.1469 3.3335 12.9168 3.3335",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round"})})}},89226:(e,s,t)=>{"use strict";t.d(s,{QuadraticFormulaCalc:()=>c});var r=t(54568),a=t(7620),l=t(47221),o=t(9178);let n=e=>{let[s,t]=e.split("/").map(Number);return t?s/t:s},i=(e,s)=>{if(""===e.trim())throw Error("Coefficient ".concat(s," cannot be empty."));let t=n(e);if(isNaN(t))throw Error("Please provide a valid ".concat(s," value."));return t},c=e=>{let{app:s}=e,[t,c]=(0,a.useState)(""),[d,u]=(0,a.useState)(""),[p,h]=(0,a.useState)(""),[x,m]=(0,a.useState)(""),[f,j]=(0,a.useState)(""),[C,v]=(0,a.useState)(""),[g,b]=(0,a.useState)(""),[N,y]=(0,a.useState)(!1),w=e=>"".concat(s,"-").concat(e);return(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:"white-box minus-m",children:[(0,r.jsxs)("div",{className:w("qfCalcWrap"),children:[(0,r.jsxs)("div",{className:w("qfInputWrap"),children:[(0,r.jsxs)("div",{className:w("qfInputBlock"),children:[(0,r.jsx)("div",{className:w("qfInputLabel"),children:"a ="}),(0,r.jsx)("input",{className:w("qfInputStyle"),type:"text",value:t,onChange:e=>c(e.target.value),required:!0})]}),(0,r.jsxs)("div",{className:w("qfInputBlock"),children:[(0,r.jsx)("div",{className:w("qfInputLabel"),children:"b ="}),(0,r.jsx)("input",{className:w("qfInputStyle"),type:"text",value:d,onChange:e=>u(e.target.value),required:!0})]}),(0,r.jsxs)("div",{className:w("qfInputBlock"),children:[(0,r.jsx)("div",{className:w("qfInputLabel"),children:"c ="}),(0,r.jsx)("input",{className:w("qfInputStyle"),type:"text",value:p,onChange:e=>h(e.target.value),required:!0})]})]}),(0,r.jsx)("div",{className:w("qfOptionalDescription"),children:"Fractional values such as 3/4 can be used"}),(0,r.jsxs)("div",{className:w("qfBtnWrap"),children:[(0,r.jsx)("button",{className:w("btnYellow"),onClick:()=>{try{let{discriminant:e,roots:s,resultInfo:r}=((e,s,t)=>{let r=i(e,"a"),a=i(s,"b"),l=i(t,"c");if(0===r)throw Error("Coefficient a cannot be zero.");let o=a**2-4*r*l,n="",c="";if(o>0){let e=(-a+Math.sqrt(o))/(2*r),s=(-a-Math.sqrt(o))/(2*r);c="".concat(e,", ").concat(s),n="There are two real solutions:"}else if(0===o)c="".concat(-a/(2*r)),n="There is one real solution:";else{let e=(-a/(2*r)).toFixed(14),s=(Math.sqrt(-o)/(2*r)).toFixed(14);c="".concat(e," \xb1 ").concat(s,"i"),n="There are two imaginary solutions:"}return{discriminant:o,roots:c,resultInfo:n}})(t,d,p);m(s),j(r),b(e.toString()),v("")}catch(e){e instanceof Error?v(e.message):v("An unexpected error occurred.")}},children:"Calculate"}),(0,r.jsx)("button",{className:w("btnGrey"),type:"button",onClick:()=>{c(""),u(""),h(""),m(""),v(""),j("")},children:"Clear"})]})]}),C&&(0,r.jsxs)("div",{className:w("resultError"),children:[(0,r.jsx)("div",{className:w("errorTitle"),children:"Calculation result"}),(0,r.jsx)("div",{className:w("qfErrMess"),children:C})]}),!C&&x&&(0,r.jsxs)("div",{className:w("resultSuccess"),children:[(0,r.jsx)("div",{className:w("resultTitle"),children:"calculatingApp"===s?"Result":"Calculation result"}),(0,r.jsx)("div",{className:w("result"),children:(0,r.jsxs)("div",{className:w("resultWrap"),children:[(0,r.jsx)("div",{children:"Equation: "}),(0,r.jsx)("div",{children:" x2 + x + 1 = 0"}),(0,r.jsx)("div",{children:f}),(0,r.jsx)("span",{className:w("textSemibold"),children:x})]})})]}),x&&(0,r.jsxs)("div",{className:w("pyCalcSteps"),children:[(0,r.jsxs)("h3",{onClick:()=>{y(!N)},className:"".concat(w("pyStepsTitle")," ").concat(N?"active":""),children:["Show Calculation Steps",(0,r.jsx)("div",{className:"".concat(w("pyStepsArrow")," ").concat(N?"active":""),children:"calculatingApp"===s?(0,r.jsx)(l.ArrowLongIcon,{}):(0,r.jsx)(o.ArrowIcon,{})})]}),N&&(0,r.jsx)("div",{children:(0,r.jsxs)("div",{className:w("qfInfoWrap"),children:[(0,r.jsx)("div",{className:w("qfInfoPadR"),children:"x"}),(0,r.jsxs)("div",{className:"ml-10 text-xl font-medium",children:[(0,r.jsxs)("div",{className:"flex",children:["=",(0,r.jsxs)("div",{className:w("qfBorderBottomInfo"),children:["-b \xb1 √",(0,r.jsxs)("span",{className:w("qfBorderTopInfo"),
1children:["b",(0,r.jsx)("sup",{children:"2"})," - 4ac"]})]})]}),(0,r.jsx)("div",{className:w("qfCalcTranslate"),children:"2a"}),(0,r.jsxs)("div",{className:"flex",children:["=",(0,r.jsxs)("div",{className:w("qfBorderBottomInfo"),children:[d," \xb1 √",(0,r.jsxs)("span",{className:w("qfBorderTopInfo"),children:[d,(0,r.jsx)("sup",{children:"2"})," - 4 \xd7",t," \xd7",p]})]})]}),(0,r.jsxs)("div",{className:w("qfCalcTranslate"),children:["2\xd7",t]}),(0,r.jsxs)("div",{className:"flex",children:["=",(0,r.jsxs)("div",{className:w("qfBorderBottomInfo"),children:[d," \xb1 √",(0,r.jsx)("span",{className:w("qfBorderTopInfo"),children:g})]})]}),(0,r.jsx)("div",{className:w("qfCalcTranslateSecond"),children:2*t}),+g>0&&(0,r.jsxs)(r.Fragment,{children:[" ",(0,r.jsxs)("div",{className:"flex",children:["=",(0,r.jsx)("div",{className:w("qfBorderBottomInfo"),children:n(d)+Math.sqrt(+g)})]}),(0,r.jsxs)("div",{className:w("qfCalcTranslateLast"),children:[2*n(t)," ",2*n(t)]})]}),(0,r.jsxs)("div",{className:w("qfCalcRes"),children:["= ",x]})]})]})})]})]})})}},89579:(e,s,t)=>{"use strict";t.r(s),t.d(s,{RootIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsx)("svg",{width:"22",height:"26",viewBox:"0 0 22 26",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg",children:(0,r.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M15.9386 0.916992H21.5209C21.7855 0.916992 22 1.14037 22 1.41591C22 1.69146 21.7855 1.91483 21.5209 1.91483H16.6284L8.91668 25.917L2.70284 15.4409H0.479126C0.214512 15.4409 0 15.2175 0 14.942C0 14.6665 0.214512 14.4431 0.479126 14.4431H3.23728L8.65699 23.5803L15.9386 0.916992Z",fill:"currentColor"})})},89797:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useAppendStylesToWebComponent:()=>o});var r=t(7620);let a=e=>Array.from(e.children).some(e=>"STYLE"===e.tagName),l=(e,s)=>{let t=document.createElement("style");t.textContent=s,e.appendChild(t)},o=(e,s,o,n)=>{(0,r.useLayoutEffect)(()=>{o&&t(38067)("./".concat(o,".css")).then(t=>{let{default:r}=t,i=document.querySelector(e);null==i||i.classList.add(o);let c=null==i?void 0:i.shadowRoot;c&&!a(c)&&(l(c,s),l(c,r)),c||!i||a(i)||(l(i,n),l(i,s),l(i,r))})},[e,s,n,o])}},89801:(e,s,t)=>{"use strict";t.r(s),t.d(s,{UndoIcon:()=>l});var r=t(54568),a=t(32901);let l=e=>{let{className:s,...t}=e;return(0,r.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(0,a.cn)("size-5 stroke-[#3B59CE]",s),...t,children:(0,r.jsx)("path",{d:"M3.74992 6.66667H12.4999C12.4999 6.66667 16.6666 6.66667 16.6666 10.5882C16.6666 15 12.4999 15 12.4999 15H5.23801M6.24992 9.58333L3.33325 6.66667L6.24992 3.75",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},89856:(e,s,t)=>{"use strict";t.d(s,{G0:()=>o,i:()=>l,sJ:()=>r,tN:()=>a});let r=["miles","yards","feet","inches","kilometers","meters","centimeters","millimeters","micrometers","nanometers","angstroms"],a={miles:1609.34,yards:.9144,feet:.3048,inches:.0254,kilometers:1e3,meters:1,centimeters:.01,millimeters:.001,micrometers:1e-6,nanometers:1e-9,angstroms:1e-10},l=(e,s)=>e*a[s],o=e=>a[e.toLowerCase()]||1},89978:(e,s,t)=>{"use strict";t.r(s),t.d(s,{ArrowBot:()=>a});var r=t(54568);let a=()=>(0,r.jsxs)("svg",{width:"10",height:"8",viewBox:"0 0 10 8",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{width:"10",height:"8",rx:"1",fill:"#A7B0C6"}),(0,r.jsx)("path",{d:"M5.00002 6C4.90702 6 4.81393 5.96742 4.74293 5.90233L1.10657 2.56902C0.964477 2.43877 0.964477 2.22785 1.10657 2.09769C1.24866 1.96752 1.47875 1.96744 1.62075 2.09769L5.00002 5.19534L8.37928 2.09769C8.52138 1.96744 8.75147 1.96744 8.89347 2.09769C9.03547 2.22794 9.03556 2.43885 8.89347 2.56902L5.25711 5.90233C5.18611 5.96742 5.09302 6 5.00002 6Z",fill:"CurrentColor"})]})},90404:(e,s,t)=>{"use strict";function r(e,s,t){if(!e||(null==e?void 0:e.length)<s||(null==e?void 0:e.length)>t)return!1;let r=e.replace(/[!@#$%^&*()_+\-=[\]{};':"\\|,.<>/?~\s]/g,"").length;return r>=s&&r<=t}t.r(s),t.d(s,{validateCharacterCount:()=>r})},90485:(e,s,t)=>{"use strict";t.r(s),t.d(s,{GreenCheckIcon:()=>a});var r=t(54568);let a=e=>{let{color:s}=e;return(0,r.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:[(0,r.jsx)("g",{clipPath:"url(#clip0_2337_564)",children:(0,r.jsx)("path",{d:"M5.83366 10.4165L8.33366 12.9165L14.167 7.08317M18.3337 9.99984C18.3337 14.6022 14.6027 18.3332 10.0003 18.3332C5.39795 18.3332 1.66699 14.6022 1.66699 9.99984C1.66699 5.39746 5.39795 1.6665 10.0003 1.6665C14.6027 1.6665 18.3337 5.39746 18.3337 9.99984Z",stroke:s,strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),(0,r.jsx)("defs",{children:(0,r.jsx)("clipPath",{id:"clip0_2337_564",children:(0,r.jsx)("rect",{width:"20",height:"20",fill:"white"})})})]})}},90621:(e,s,t)=>{"use strict";t.d(s,{CapSurfaceArea:()=>n});var r=t(54568),a=t(7620),l=t(16413),o=t(89856);let n=e=>{let{app:s,CapSurfaceImage:t}=e,[n,i]=(0,a.useState)(""),[c,d]=(0,a.useState)(""),[u,p]=(0,a.useState)(""),[h,x]=(0,a.useState)({baseRadius:"meters",ballRadius:"meters",height:"meters"}),[m,f]=(0,a.useState)(null),[j,C]=(0,a.useState)([]),v=(e,s)=>e*o.tN[s],g=()=>{if(C([]),f(null),!((e,s,t)=>{let r=parseFloat(e),a=parseFloat(s),l=parseFloat(t),o=[],n=[+(!isNaN(r)&&r>0),+(!isNaN(a)&&a>0),+(!isNaN(l)&&l>0)].reduce((e,s)=>e+s,0);if(n<2)o.push("Please provide at least two valid values below.");else{let e=v(r,h.baseRadius),s=v(a,h.ballRadius),t=v(l,h.height);e>s&&o.push("Base radius cannot be larger than ball radius."),3!==n&&t>2*s&&o.push("Height cannot be larger than twice of ball radius.")}return C(o),0===o.length})(n,c,u))return;let e=parseFloat(n||"0"),s=parseFloat(c||"0"),t=parseFloat(u||"0"),r="";!c&&u?(s=t,r+="Ball Radius (R) = ".concat(t," ").concat(h.baseRadius,".")):!u&&c?(t=s,r+="Height = R = ".concat(s," ").concat(h.baseRadius)):!n&&c&&(t=s,r+="Base Radius (r) = ".concat(s," ").concat(h.ballRadius,".")),c&&u&&!n&&(e=s,s!==t&&(e=Math.sqrt(2*s*t-t**2)));let a=Math.PI*e**2,l=2*Math.PI*s**2,o=(a/1).toFixed(10);f({message:r,baseSurfaceArea:o,capSurfaceArea:(l/1).toFixed(10),totalSurfaceArea:((a+l)/1).toFixed(10)})},b=e=>"".concat(s,"-").concat(e),N=(e,s)=>{x(t=>({...t,[e]:s}))};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:b("calcWrap"),children:[(0,r.jsxs)("div",{className:b("surCalcWrap"),children:[(0,r.jsxs)("div",{className:b("surCalcCol"),children:[(0,r.jsxs)("div",{className:b("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:b("inputText"),children:"Base Radius (r)"}),(0,r.jsxs)("div",{className:b("surCalcInputRow"),children:[(0,r.jsx)("label",{className:b("inputWrap"),htmlFor:"capBaseRadius",children:(0,r.jsx)("input",{className:b("surInputStyle"),type:"text",id:"capBaseRadius",value:n,onChange:e=>i(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&g(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:b("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:h.baseRadius,setSelectedOption:e=>N("baseRadius",e),app:s})})]})]}),(0,r.jsxs)("div",{className:b("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:b("inputText"),children:"Ball Radius (R)"}),(0,r.jsxs)("div",{className:b("surCalcInputRow"),children:[(0,r.jsx)("label",{className:b("inputWrap"),htmlFor:"capWidth",children:(0,r.jsx)("input",{className:b("surInputStyle"),type:"text",id:"capWidth",value:c,onChange:e=>d(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&g(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:b("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:h.ballRadius,setSelectedOption:e=>N("ballRadius",e),app:s})})]})]}),(0,r.jsxs)("div",{className:b("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:b("inputText"),children:"Height (h)"}),(0,r.jsxs)("div",{className:b("surCalcInputRow"),children:[(0,r.jsx)("label",{className:b("inputWrap"),htmlFor:"capHeight",children:(0,r.jsx)("input",{className:b("surInputStyle"),type:"text",id:"capHeight",value:u,onChange:e=>p(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&g(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:b("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:h.height,setSelectedOption:e=>N("height",e),app:s})})]})]}),(0,r.jsxs)("div",{className:b("btnWrap surfaceCalc"),children:[(0,r.jsx)("button",{className:b("btnYellow"),onClick:g,children:"Calculate"}),(0,r.jsx)("button",{className:b("btnGrey"),onClick:()=>{i(""),d(""),p(""),x({baseRadius:"meters",ballRadius:"meters",height:"meters"}),f(null),C([])},children:"Clear"})]})]}),(0,r.jsx)("div",{className:b("pyImgWrap surImgWrap"),children:t})]}),(m||j.length>0)&&(0,r.jsxs)("div",{className:"".concat(b(m&&0===j.length?"resultSuccess":"resultError")),children:[(0,r.jsx)("div",{className:"".concat(b(m&&0===j.length?"resultTitle":"errorTitle")),children:"calculatingApp"===s?"Result":"Calculation result"}),m&&0===j.length&&(0,r.jsxs)("div",{className:b("surResultWrap"),children:[(0,r.jsx)("div",{className:b("surResult"),children:m.message}),(0,r.jsxs)("div",{className:b("surResult"),children:[(0,r.jsxs)("p",{children:["Base Surface Area = πr",(0,r.jsx)("sup",{children:"2"})," ="]}),(0,r.jsxs)("span",{className:"font-bold",children:["".concat(m.baseSurfaceArea," ").concat(h.baseRadius),(0,r.jsx)("sup",{children:"2"})]})]}),(0,r.jsxs)("div",{className:b("surResult"),children:[(0,r.jsx)("p",{children:"Cap Surface Area = 2πR = "}),(0,r.jsxs)("span",{className:"font-bold",children:["".concat(m.capSurfaceArea,"  ").
1concat(h.baseRadius),(0,r.jsx)("sup",{children:"2"})]})]}),(0,r.jsxs)("div",{className:b("surResult"),children:[(0,r.jsx)("p",{children:"Total Surface Area = "}),(0,r.jsxs)("span",{className:"font-bold",children:["".concat(m.totalSurfaceArea," \n                      ").concat(h.baseRadius),(0,r.jsx)("sup",{children:"2"})]})]})]}),j.length>0&&!m&&(0,r.jsx)("div",{className:b("redErrorText"),children:j.map((e,s)=>(0,r.jsx)("div",{children:e},s))})]})]})})}},90685:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useSkeleton:()=>a});var r=t(7620);let a=function(e){let s=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},{minDisplayTime:t=300,maxWaitTime:a=5e3}=s,[l,o]=(0,r.useState)(!0),[n]=(0,r.useState)(Date.now());return(0,r.useEffect)(()=>{if(!e){let e=Date.now()-n;e<t?setTimeout(()=>{o(!1)},t-e):o(!1)}},[e,t,n]),(0,r.useEffect)(()=>{let e=setTimeout(()=>{o(!1)},a);return()=>clearTimeout(e)},[a]),l}},91711:(e,s,t)=>{"use strict";t.r(s),t.d(s,{useDisableBodyScroll:()=>a});var r=t(7620);let a=e=>{(0,r.useEffect)(()=>{if(e?document.body.style.overflow="hidden":document.body.style.overflow="",e){let e=window.scrollY;document.body.style.position="fixed",document.body.style.top="-".concat(e,"px"),document.body.style.width="100%"}else{let e=-1*parseInt(document.body.style.top||"0",10);document.body.style.position="",document.body.style.top="",document.body.style.width="",window.scrollTo(0,e)}return()=>{document.body.style.position="",document.body.style.top="",document.body.style.width="",document.body.style.overflow=""}},[e])}},91979:(e,s,t)=>{"use strict";t.r(s),t.d(s,{XIcon:()=>l});var r=t(54568),a=t(32901);let l=e=>{let{className:s,...t}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",fill:"none",className:(0,a.cn)("size-5 stroke-[var(--xmark-icon-color)]",s),...t,children:(0,r.jsx)("path",{d:"M5.63135 14.3691L10.0002 10.0002M10.0002 10.0002L14.3691 5.63135M10.0002 10.0002L5.63135 5.63135M10.0002 10.0002L14.3691 14.3691",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}},94970:(e,s,t)=>{"use strict";t.d(s,{CapsuleSurfaceArea:()=>n});var r=t(54568),a=t(7620),l=t(16413),o=t(89856);let n=e=>{let{app:s,CapsuleSurfaceImage:t}=e,[n,i]=(0,a.useState)(""),[c,d]=(0,a.useState)(""),[u,p]=(0,a.useState)({baseRadius:"meters",height:"meters"}),[h,x]=(0,a.useState)(null),[m,f]=(0,a.useState)([]),j=(e,s)=>{let t=parseFloat(e),r=parseFloat(s),a=[];return(isNaN(t)||t<=0)&&a.push("The base radius needs to be a positive."),(isNaN(r)||r<=0)&&a.push("The height needs to be a positive."),f(a),0===a.length},C=(e,s,t)=>{let r=o.tN[s],a=o.tN[t];return e*r*r/(a*a)},v=()=>{if(f([]),x(null),j(n,c)&&j(n,c)){let e=parseFloat(n),s=parseFloat(c);u.baseRadius!==u.height&&(s=s*o.tN[u.height]/o.tN[u.baseRadius]);let t=((e,s)=>{let t=parseFloat(e),r=parseFloat(s),a=Math.PI,l=2*a*t*t,o=2*a*t*r;return{topSurfaceArea:l,bottomSurfaceArea:l,lateralSurfaceArea:o,totalSurfaceArea:l+l+o}})(e,s);x({topSurfaceArea:t.topSurfaceArea.toFixed(8),bottomSurfaceArea:t.bottomSurfaceArea.toFixed(8),lateralSurfaceArea:t.lateralSurfaceArea.toFixed(8),totalSurfaceArea:t.totalSurfaceArea.toFixed(8),topSurfaceAreaConvert:u.baseRadius!==u.height?C(t.topSurfaceArea,u.baseRadius,u.height).toFixed(8):t.topSurfaceArea.toFixed(8),bottomSurfaceAreaConvert:u.baseRadius!==u.height?C(t.bottomSurfaceArea,u.baseRadius,u.height).toFixed(8):t.bottomSurfaceArea.toFixed(8),lateralSurfaceAreaConvert:u.baseRadius!==u.height?C(t.lateralSurfaceArea,u.baseRadius,u.height).toFixed(8):t.lateralSurfaceArea.toFixed(8),totalSurfaceAreaConvert:u.baseRadius!==u.height?C(t.totalSurfaceArea,u.baseRadius,u.height).toFixed(8):t.totalSurfaceArea.toFixed(8)})}},g=e=>"".concat(s,"-").concat(e),b=(e,s)=>{p(t=>({...t,[e]:s}))};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("div",{className:g("calcWrap"),children:[(0,r.jsxs)("div",{className:g("surCalcWrap"),children:[(0,r.jsxs)("div",{className:g("surCalcCol"),children:[(0,r.jsxs)("div",{className:g("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:g("inputText"),children:"Base Radius (r)"}),(0,r.jsxs)("div",{className:g("surCalcInputRow"),children:[(0,r.jsx)("label",{className:g("inputWrap"),htmlFor:"capsuleBaseRadius",children:(0,r.jsx)("input",{className:g("surInputStyle"),type:"text",id:"capsuleBaseRadius",value:n,onChange:e=>i(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&v(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:g("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:u.baseRadius,setSelectedOption:e=>b("baseRadius",e),app:s})})]})]}),(0,r.jsxs)("div",{className:g("surCalcInputWrap"),children:[(0,r.jsx)("div",{className:g("inputText"),children:"Height (h)"}),(0,r.jsxs)("div",{className:g("surCalcInputRow"),children:[(0,r.jsx)("label",{className:g("inputWrap"),htmlFor:"capsuleHeight",children:(0,r.jsx)("input",{className:g("surInputStyle"),type:"text",id:"capsuleHeight",value:c,onChange:e=>d(String(e.target.value)),onKeyDown:e=>"Enter"===e.key&&v(),inputMode:"numeric",required:!0})}),(0,r.jsx)("div",{className:g("surSelectWrap"),children:(0,r.jsx)(l.SelectOld,{options:o.sJ,selectedOption:u.height,setSelectedOption:e=>b("height",e),app:s})})]})]}),(0,r.jsxs)("div",{className:g("btnWrap surfaceCalc"),children:[(0,r.jsx)("button",{className:g("btnYellow"),onClick:v,children:"Calculate"}),(0,r.jsx)("button",{className:g("btnGrey"),onClick:()=>{i(""),d(""),p({baseRadius:"meters",height:"meters"}),x(null),f([])},children:"Clear"})]})]}),(0,r.jsx)("div",{className:g("pyImgWrap surImgWrap"),children:t})]}),(h||m.length>0)&&(0,r.jsxs)("div",{className:"".concat(g(h&&0===m.length?"resultSuccess":"resultError")),children:[(0,r.jsx)("div",{className:"".concat(g(h&&0===m.length?"resultTitle":"errorTitle")),children:"calculatingApp"===s?"Result":"Calculation result"}),h&&0===m.length&&(0,r.jsxs)("div",{className:g("surResultWrap"),children:[(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{className:"font-primary",children:"Top Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= 2 \xd7 π \xd7 ",n,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.topSurfaceArea," ").concat(u.baseRadius),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Bottom Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= 2 \xd7 π \xd7 ",n,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.bottomSurfaceArea," ").concat(u.baseRadius),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Lateral Surface Area"}),(0,r.jsxs)("div",{className:"mb-2",children:[(0,r.jsxs)("p",{className:"mb-2",children:["= 2π \xd7 ",n," \xd7 ",c]}),(0,r.jsxs)("p",{className:"mb-2",children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.lateralSurfaceArea," ").concat(u.baseRadius),(0,r.jsx)("sup",{children:"2 "})]})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Total Surface Area ="}),(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.totalSurfaceArea," ").concat(u.baseRadius),(0,r.jsx)("sup",{children:"2"})]})]}),u.height!==u.baseRadius&&(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"text-l mb-2 font-bold",children:["Or in square ",u.height,":"]}
1),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{className:"font-primary",children:"Top Surface Area"}),(0,r.jsxs)("div",{children:[(0,r.jsxs)("p",{className:"mb-2",children:["= 2 \xd7 π \xd7 ",n,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.topSurfaceAreaConvert," ").concat(u.height),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Bottom Surface Area"}),(0,r.jsxs)("div",{className:"mb-2",children:[(0,r.jsxs)("p",{className:"mb-2",children:["= 2 \xd7 π \xd7 ",n,(0,r.jsx)("sup",{children:"2"})]}),(0,r.jsxs)("p",{children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.bottomSurfaceAreaConvert," ").concat(u.height),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Lateral Surface Area"}),(0,r.jsxs)("div",{className:"mb-2",children:[(0,r.jsxs)("p",{className:"mb-2",children:["= 2π \xd7 ",n," \xd7 ",c]}),(0,r.jsxs)("p",{className:"mb-2",children:["=",(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.lateralSurfaceAreaConvert," ").concat(u.height),(0,r.jsx)("sup",{children:"2 "})]})]})]})]}),(0,r.jsxs)("div",{className:g("surResult"),children:[(0,r.jsx)("p",{children:"Total Surface Area ="}),(0,r.jsxs)("span",{className:"font-bold",children:[" ".concat(h.totalSurfaceAreaConvert," ").concat(u.height),(0,r.jsx)("sup",{children:"2"})]})]})]})]}),m.length>0&&!h&&(0,r.jsx)("div",{className:g("redErrorText"),children:m.map((e,s)=>(0,r.jsx)("div",{children:e},s))})]})]})})}},95825:(e,s,t)=>{"use strict";t.d(s,{PythagoreanTheoremCalc:()=>c});var r=t(54568),a=t(7620),l=t(89579),o=t(47221),n=t(9178);let i=e=>{let{area:s,c:t}=e;return(0,r.jsxs)("div",{className:"ui-flex ui-w-fit ui-flex-col ui-text-center",children:["2√",s,(0,r.jsx)("div",{className:"ui-border-t ui-border-current"}),t]})},c=e=>{let{triangleImage:s,triangleFilledImage:t,app:c}=e,[d,u]=(0,a.useState)(!1),[p,h]=(0,a.useState)(2),[x,m]=(0,a.useState)(3),[f,j]=(0,a.useState)(4),[C,v]=(0,a.useState)(2),[g,b]=(0,a.useState)(4),[N,y]=(0,a.useState)(4),[w,k]=(0,a.useState)(null),[S,A]=(0,a.useState)(null),F=e=>{let{name:s,value:t}=e.target;"a"===s?h(""===t?NaN:+t):"b"===s?m(""===t?NaN:+t):"c"===s?j(""===t?NaN:+t):"rootA"===s?v(""===t?NaN:+t):"rootB"===s?b(""===t?NaN:+t):"rootC"===s&&y(""===t?NaN:+t),k(null),A(null)},E=e=>"".concat(c,"-").concat(e);return(0,r.jsxs)("div",{className:E("pyWrap"),children:[(0,r.jsxs)("div",{className:E("pyCalcWrap"),children:[(0,r.jsxs)("div",{className:E("pyInputsWrap"),children:[(0,r.jsxs)("div",{className:E("pyInputWrap"),children:[(0,r.jsxs)("label",{className:E("pyLabel"),htmlFor:"a",children:[(0,r.jsx)("span",{className:E("pyInputText"),children:"a = "}),(0,r.jsx)("input",{className:E("pyInput"),value:isNaN(Number(p))?"":p,onChange:F,name:"a",id:"a",type:"number"})]}),(0,r.jsxs)("label",{className:E("pyLabel"),htmlFor:"rootA",children:[(0,r.jsx)("span",{className:E("pyInputText"),children:(0,r.jsx)(l.RootIcon,{})}),(0,r.jsx)("input",{className:E("pyInput"),value:isNaN(Number(C))?"":C,onChange:F,name:"rootA",id:"rootA",type:"number"})]})]}),(0,r.jsxs)("div",{className:E("pyInputWrap"),children:[(0,r.jsxs)("label",{className:E("pyLabel"),htmlFor:"b",children:[(0,r.jsx)("span",{className:E("pyInputText"),children:"b = "}),(0,r.jsx)("input",{className:E("pyInput"),value:isNaN(Number(x))?"":x,onChange:F,name:"b",id:"b",type:"number"})]}),(0,r.jsxs)("label",{className:E("pyLabel"),htmlFor:"rootB",children:[(0,r.jsx)("span",{className:E("pyInputText"),children:(0,r.jsx)(l.RootIcon,{})}),(0,r.jsx)("input",{className:E("pyInput"),value:isNaN(Number(g))?"":g,onChange:F,name:"rootB",id:"rootB",type:"number"})]})]}),(0,r.jsxs)("div",{className:E("pyInputWrap"),children:[(0,r.jsxs)("label",{className:E("pyLabel"),htmlFor:"c",children:[(0,r.jsx)("span",{className:E("pyInputText"),children:"c = "}),(0,r.jsx)("input",{className:E("pyInput"),id:"c",value:isNaN(Number(f))?"":f,onChange:F,name:"c",type:"number"})]}),(0,r.jsxs)("label",{className:E("pyLabel"),htmlFor:"rootC",children:[(0,r.jsx)("span",{className:E("pyInputText"),children:(0,r.jsx)(l.RootIcon,{})}),(0,r.jsx)("input",{className:E("pyInput"),id:"rootC",value:isNaN(Number(N))?"":N,onChange:F,name:"rootC",type:"number"})]})]}),(0,r.jsxs)("div",{className:E("pyButtonsWrap"),children:[(0,r.jsx)("button",{className:E("pyButtonCalc"),onClick:()=>
1{if(!p||!x){A("Error: 'a' and 'b' must have valid values."),k(null);return}f||A("The results below are based on a and b values only."),k((e=>{let{a:s,b:t,c:r,rootA:a,rootB:l,rootC:o}=e,n=[],i=0;r||o?!r&&o?(r=o*o,n.push("Calculate c by squaring the provided rootC:"),n.push("   c = (".concat(o,")^2 = ").concat(r))):r&&o&&(r*=Math.sqrt(o),n.push("Calculate using the Pythagorean theorem:"),n.push("   c = c * √(".concat(o,") = ").concat(r))):(r=Math.sqrt((a||s)**2+(l||t)**2),n.push("Calculate c using the Pythagorean theorem:"),n.push("   c = √(a^2 + b^2)"),n.push("   c = √((".concat(s,"^2) + (").concat(t,"^2))")),n.push("   c = √(".concat(s*s," + ").concat(t*t,")")),n.push("   c = √(".concat(s*s+t*t,")")),n.push("Calculate the square root:"),n.push("   c ≈ √(".concat(s*s+t*t,") ≈ ").concat(r))),a&&l||(void 0!==r&&(a=s/Math.sqrt(r),l=t/Math.sqrt(r)),void 0!==r&&(n.push("Calculate rootA and rootB using the Pythagorean theorem:"),n.push("   √a = a / √c"),n.push("   √a = ".concat(s," / √").concat(r)),n.push("   √a ≈ ".concat(a)),n.push("   √b = b / √c"),n.push("   √b = ".concat(t," / √").concat(r)),n.push("   √b ≈ ".concat(l))));let c=Math.atan2(s*a,t*l),d=Math.atan2(t*l,s*a),u=+(180/Math.PI*c).toFixed(5),p="".concat(Math.floor(u),"\xb0").concat(Math.floor(u%1*60),"'").concat(Math.round(u%1*60%1*60),'"'),h=+(180/Math.PI*d).toFixed(5),x="".concat(Math.floor(h),"\xb0").concat(Math.floor(h%1*60),"'").concat(Math.round(h%1*60%1*60),'"'),m=.5*s*a*t*l,f=s*a+t*l+Math.sqrt(s*a**2+t*l**2);return r&&(i=2*m/r),n.push("Calculate alpha in degrees:"),n.push("   α = atan2(a * √a, b * √b)"),n.push("   α ≈ ".concat(u,"\xb0 ≈ ").concat(p," ≈ ").concat(c," rad")),n.push("Calculate beta in degrees:"),n.push("   β = atan2(b * √b, a * √a)"),n.push("   β ≈ ".concat(h,"\xb0 ≈ ").concat(x," ≈ ").concat(d," rad")),n.push("Calculate area:"),n.push("   area = 0.5 * a * √a * b * √b"),n.push("   area ≈ ".concat(m)),n.push("Calculate perimeter:"),n.push("   perimeter = a * √a + b * √b + √(a * √a^2 + b * √b^2)"),n.push("   perimeter ≈ ".concat(f)),n.push("Calculate height:"),n.push("   height = (2 * area) / c"),i&&n.push("   height ≈ ".concat(i)),{alphaDeg:u.toFixed(3),betaDeg:h.toFixed(3),alphaRad:c.toFixed(5),betaRad:d.toFixed(5),alphaDegWithMinutes:p,betaDegWithMinutes:x,area:m,perimeter:f,height:i.toFixed(5),c:r,steps:n}})({a:p,b:x,c:f,rootA:C,rootB:g,rootC:N}))},children:"Calculate"}),(0,r.jsx)("button",{className:E("pyButtonClear"),onClick:()=>{h(0),m(0),j(0),v(0),b(0),y(0),k(null),A(null)},children:"Clear"})]})]}),(0,r.jsx)("div",{className:E("pyImgWrap"),children:s}),(w||S)&&(0,r.jsxs)("div",{className:"".concat(E("pyResultBlock")," ").concat(w&&!S?"success":"error"),children:[(0,r.jsx)("h3",{className:"".concat(E("pyResultTitle")," ").concat(w&&!S?"success":"error"),children:"calculatingApp"===c?"Result":"Calculation result"}),S&&w&&(0,r.jsx)("p",{className:"ui-mb-[20px] ui-text-[14px] ui-font-bold ui-text-red-400 md:ui-text-[18px]",children:"The results below are based on a and b values only."}),S&&!w&&(0,r.jsx)("div",{className:"ui-font-bold ui-text-red-400",children:S}),w&&(0,r.jsxs)("div",{className:E("pyCalcResult"),children:[(0,r.jsxs)("div",{className:E("pyCalcResultText"),children:[(0,r.jsxs)("p",{children:["Given"," ",p?(0,r.jsxs)(r.Fragment,{children:["a = ",p,C?(0,r.jsxs)("span",{children:["√",C]}):""]}):"",x?(0,r.jsxs)(r.Fragment,{children:[", b = ",x,g?(0,r.jsxs)("span",{children:["√",g]}):""]}):"",f?(0,r.jsxs)(r.Fragment,{children:[" ","and c = ",f,N?(0,r.jsxs)("span",{children:["√",N]}):""]}):""]}),(0,r.jsxs)("p",{children:["∠ α = ",null==w?void 0:w.alphaDeg,"\xb0 ="," ",null==w?void 0:w.alphaDegWithMinutes," = ",null==w?void 0:w.alphaRad," rad"]}),(0,r.jsxs)("p",{children:["∠ β = ",null==w?void 0:w.betaDeg,"\xb0 ="," ",null==w?void 0:w.betaDegWithMinutes," = ",null==w?void 0:w.betaRad," rad"]}),(0,r.jsxs)("p",{children:["area = ",null==w?void 0:w.area]}),(0,r.jsxs)("p",{children:["perimeter = ",null==w?void 0:w.perimeter]}),(0,r.jsxs)("div",{className:"ui-flex ui-items-center ui-gap-[2px]",children:["h=",(0,r.jsx)(i,{area:null==w?void 0:w.area,
1c:w.c})," ="," ",null==w?void 0:w.height]})]}),(0,r.jsx)("div",{className:E("pyCalcResultImg"),children:t})]})]})]}),w&&(0,r.jsxs)("div",{className:E("pyCalcSteps"),children:[(0,r.jsxs)("h3",{onClick:()=>{u(!d)},className:"".concat(E("pyStepsTitle")," ").concat(d?"active":""),children:["Show Calculation Steps",(0,r.jsx)("div",{className:"".concat(E("pyStepsArrow")," ").concat(d?"active":""),children:"calculatingApp"===c?(0,r.jsx)(o.ArrowLongIcon,{}):(0,r.jsx)(n.ArrowIcon,{})})]}),d&&(0,r.jsx)("div",{className:E("pyStepsInfo"),children:null==w?void 0:w.steps.map((e,s)=>(0,r.jsx)("p",{children:e},s))})]})]})}},95888:(e,s,t)=>{"use strict";t.r(s),t.d(s,{ArrowTop:()=>a});var r=t(54568);let a=()=>(0,r.jsxs)("svg",{width:"10",height:"8",viewBox:"0 0 10 8",xmlns:"http://www.w3.org/2000/svg",children:[(0,r.jsx)("rect",{x:"10",y:"8",width:"10",height:"8",rx:"1",transform:"rotate(180 10 8)",fill:"#A7B0C6"}),(0,r.jsx)("path",{d:"M4.99998 2C5.09298 2 5.18607 2.03258 5.25707 2.09767L8.89343 5.43098C9.03552 5.56123 9.03552 5.77215 8.89343 5.9
10231C8.75134 6.03248 8.52125 6.03256 8.37925 5.90231L4.99998 2.80466L1.62072 5.90231C1.47862 6.03256 1.24853 6.03256 1.10653 5.90231C0.964534 5.77206 0.964443 5.56115 1.10653 5.43098L4.74289 2.09767C4.81389 2.03258 4.90698 2 4.99998 2Z",fill:"CurrentColor"})]})},96069:(e,s,t)=>{"use strict";t.r(s),t.d(s,{isCountryInBlockedList:()=>a});var r=t(19484);let a=e=>Object.values(r.Country).includes(e)},96522:(e,s,t)=>{"use strict";t.r(s),t.d(s,{DropdownArrowIcon:()=>a});var r=t(54568);let a=e=>{let{className:s,style:t,...a}=e;return(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",className:s,style:t,...a,children:(0,r.jsx)("path",{d:"M8.99996 13.5C9.20921 13.5 9.41867 13.4267 9.57842 13.2803L17.7602 5.78029C18.0799 5.48723 18.0799 5.01267 17.7602 4.7198C17.4405 4.42692 16.9228 4.42673 16.6033 4.7198L8.99996 11.6895L1.39661 4.71979C1.07691 4.42673 0.5592 4.42673 0.2397 4.71979C-0.0797978 5.01286 -0.0800038 5.48741 0.2397 5.78029L8.42151 13.2803C8.58126 13.4267 8.79071 13.5 8.99996 13.5Z",fill:"currentColor"})})}},96593:(e,s,t)=>{"use strict";t.r(s),t.d(s,{ArrowRightIcon:()=>a});var r=t(54568);let a=()=>(0,r.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",children:(0,r.jsx)("path",{d:"M5 10H15.4167M15.4167 10L10.4167 5M15.4167 10L10.4167 15",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})}}]);

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.