1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9982],{1531:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>W});var a=s(6029),l=s(55729),n=s(8588),i=s.n(n),o=s(44005);let r=e=>{let{step:t,index:s,progress:l}=e;return(0,a.jsxs)("div",{className:"ml-0 mt-10 md:mt-0 md:mb-[1.375rem] md:ml-[10%] pb-4 px-3 bg-white",children:[(0,a.jsxs)("p",{className:"md:text-xl text-[#474747] font-semibold font-inter py-4 ",children:[s+1,". ",t.title]}),(0,a.jsx)("div",{className:"w-full h-2 bg-[#f1f1f1]",children:(0,a.jsx)("div",{style:{width:"".concat(l,"%")},className:"h-2 bg-[#25bbaa]"})})]})},c=e=>{let{step:t,index:s}=e;return(0,a.jsx)("div",{className:"ml-0 mt-10 md:mt-0 md:mb-[1.375rem] md:ml-[10%]",children:(0,a.jsxs)("p",{className:"text-sm md:text-base text-[#6c6c6c] font-inter font-medium",children:[s+1,". ",t.title]})})},d=e=>{var t;let{data:s,delay:n=3e3,tax:d}=e,m=(0,l.useRef)(null),[x,u]=(0,l.useState)(!1);(0,l.useEffect)(()=>{let e=new IntersectionObserver(e=>{u(e[0].isIntersecting)});return m.current&&e.observe(m.current),()=>{m.current&&e.unobserve(m.current)}},[]);let[h,p]=(0,l.useState)(0),[f,y]=(0,l.useState)(0);return(0,l.useEffect)(()=>{if(x){y(0),p(0);let e=setInterval(()=>{y(0),p(e=>e<s.length-1?e+1:0)},n),t=setInterval(()=>{y(e=>e+400/n)},1);return()=>{clearInterval(t),clearInterval(e)}}},[x,n,s.length]),(0,a.jsx)("div",{className:!0===d?"flex flex-col my-10 md:my-32 bg-cover bg-center bg-no-repeat bg-[url('https://images.mudrex.com/tax-calculator/gradient-2.webp')]":"flex flex-col my-16 bg-none",children:(0,a.jsxs)("div",{className:"relative container text-left",children:[!0===d?(0,a.jsx)("h2",{className:"hidden md:block m-0 font-inter text-[2rem] font-semibold text-[#0b0b0b] text-center mb-20",children:"How to Use Mudrex Cryptocurrency Tax Calculator?"}):null,(0,a.jsxs)("div",{className:"",children:[(0,a.jsxs)("div",{ref:m,className:"flex flex-col md:flex-row items-center mx-[10%]",children:[(0,a.jsx)("div",{className:"md:w-1/4 md:min-w-[18.75rem]",children:(0,a.jsx)(i(),{src:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/").concat(null==(t=s[h])?void 0:t.image),alt:"mudrex crypto tax calculator in mobile view",width:300,height:570})}),(0,a.jsx)("div",{children:s.map((e,t)=>t===h?(0,a.jsx)(r,{step:e,index:t,progress:f},t):(0,a.jsx)(c,{step:e,index:t},t))})]}),(0,a.jsx)("div",{className:!0===d?"flex flex-col items-start bg-[#fff5dc] p-7 gap-3 rounded-xl mt-12 font-inter font-medium text-sm md:text-xl text-black":"hidden",children:"Disclaimer: You will have to pay a cess of 4% on your tax liability and surcharge, if applicable. In case you face a loss in your crypto sales, you are not liable to pay taxes on it. But keep in mind that this loss cannot be used to set off against the profit from another crypto asset, nor can it be carried forward any number of years."})]})]})})},m=e=>(0,a.jsx)("div",{className:"px-8 md:mx-0 md:py-32 bg-cover bg-center bg-no-repeat bg-[url('https://images.mudrex.com/tax-calculator/gradient-2.webp')]",children:(0,a.jsxs)("div",{className:"container flex flex-col gap-8 items-center justify-between ",children:[(0,a.jsx)("h2",{className:"text-[#0B0B0B] font-inter text-[1.375rem] md:text-[2rem] font-semibold md:text-left",children:"What are the benefits of using Mudrex Cryptocurrency Tax Calculator?"}),(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-12",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-8 w-full flex-wrap bg-white/50 rounded-xl p-5",children:[(0,a.jsx)("div",{className:"w-[120px] h-[120px] bg-green-500 rounded",children:(0,a.jsx)(i(),{src:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/tax-calculator/accurate.webp"),alt:"",width:120,height:120})}),(0,a.jsx)("p",{className:"font-inter text-black ",children:"It applies all relevant tax provisions and gives you an accurate answer every time, leaving no room for human error."})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-8 w-full flex-wrap bg-white/50 rounded-xl p-5",children:[(0,a.jsx)("div",{className:"w-[120px] h-[120px] bg-green-500 rounded",children:(0,a.jsx)(i(),{src:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/tax-calculator/user-fr
1iendly.webp"),alt:"",width:120,height:120})}),(0,a.jsx)("p",{className:"font-inter text-black ",children:"It is user-friendly and allows all investors to calculate their taxes, even those who may not have complete knowledge of the tax levied on cryptocurrencies."})]}),(0,a.jsxs)("div",{className:"flex flex-col gap-8 w-full flex-wrap bg-white/50 rounded-xl p-5",children:[(0,a.jsx)("div",{className:"w-[120px] h-[120px] bg-green-500 rounded",children:(0,a.jsx)(i(),{src:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/tax-calculator/time-saving.webp"),alt:"",width:120,height:120})}),(0,a.jsx)("p",{className:"font-inter text-black",children:"It is free to use, and it saves you valuable time that you could be using to make more investments and grow your wealth."})]})]})]})}),x=e=>(0,a.jsxs)("div",{className:"container flex flex-col gap-6 py-8 md:py-36 items-center",children:[(0,a.jsx)("p",{className:"text-[1.375rem] font-semibold font-inter text-[#3C3B41] text-center md:hidden",children:"How Is Cryptocurrency Taxed?"}),(0,a.jsxs)("div",{className:"flex flex-col md:flex-row-reverse gap-6 md:gap-20 items-center",children:[(0,a.jsx)("div",{className:"w-[207px] md:w-[276px] md:h-[383px] h-[288px] flex-shrink-0",children:(0,a.jsx)(i(),{src:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/tax-calculator/calculator.webp"),alt:"",width:359,height:498})}),(0,a.jsxs)("div",{className:"px-8 md:px-0 flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-[2rem] font-semibold font-inter text-[#3C3B41] hidden md:block",children:"How Is Cryptocurrency Taxed?"}),(0,a.jsxs)("p",{className:"text-[#6C6C6C] text-lg font-inter font-medium",children:["The crypto tax regime introduced in February 2022 states that a flat rate of 30% is applicable on profits realized from crypto assets, allowing for no deductions except for the cost of acquisition.",(0,a.jsx)("br",{}),(0,a.jsx)("br",{}),"Additionally, the individual will also owe a surcharge (if applicable) and a cess of 4% on the tax, along with a 1% TDS (tax deducted at source) applicable on all crypto transfers."]})]})]})]});var u=s(36272),h=s(87780);let p=[{text:"Learn how your cryptocurrency investments will be taxed, how you can optimize your taxes while staying compliant with Indian regulations here",vidID:"6hK2QG6R9mo"},{text:" Discover valuable insights from experts on optimizing your investment planning and crypto tax filing for this year's IT returns.",vidID:"ylzDskJReUg"}],f=e=>{let{data:t}=e;return(0,a.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,a.jsx)(h.A,{iframeClassName:"w-full h-60 md:h-80",videoId:null==t?void 0:t.vidID,onReady:e=>{e.target.pauseVideo()},onPlay:()=>{(0,u.dX)({event_name:"Video Played",page_section:"learn_from_experts_section",lps:"indian_tax_calculator"})}}),(0,a.jsx)("p",{className:"text-[#6c6c6c] md:text-xl",children:null==t?void 0:t.text})]})},y=()=>(0,a.jsxs)("section",{className:"container md:mb-36 py-12 md:py-0 flex flex-col gap-12",children:[(0,a.jsx)("h2",{className:"text-[#0b0b0b] text-[1.375rem] md:text-4xl text-center font-semibold",children:"Learn from the experts"}),(0,a.jsx)("div",{className:"flex flex-col mx-8 md:mx-0 md:flex-row gap-8",children:null==p?void 0:p.map((e,t)=>(0,a.jsx)(f,{data:e},t))})]}),g=e=>(0,a.jsxs)("section",{className:"container flex flex-col gap-6 py-16 items-center",children:[(0,a.jsx)("p",{className:"text-[1.375rem] font-semibold text-[#3C3B41] md:hidden",children:"How Can I Reduce the Tax I Pay?"}),(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-6 md:gap-20 items-center",children:[(0,a.jsx)("div",{className:"w-[326px] md:w-[384px] h-[164px] md:h-[216px] flex-shrink-0",children:(0,a.jsx)(i(),{src:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/tax-calculator/reduce-tax.webp"),alt:"",width:384,height:164})}),(0,a.jsxs)("div",{className:"px-8 md:px-0 mt-8 md:mt-0 flex flex-col gap-4",children:[(0,a.jsx)("p",{className:"text-[2rem] font-semibold font-inter text-[#3C3B41] hidden md:block",children:"How Can I Reduce the Tax I Pay?"}),(0,a.jsxs)("p",{className:"text-[#6C6C6C] text-sm md:text-lg font-inter font-medium",children:["There is one way to save on crypto taxes, and that is investing your profits in stablecoins. When you exchange other crypto assets for stablecoins, you will pay a 1% TDS during the exchange. With this, you also secure your investment in the long term. And you only have to pay the flat 30% tax when you cash in your stablecoins for fiat currency.",(0,a.jsx)("br",{}),(0,a.jsx)("br",{})," Unlike other crypto, stablecoins have their value pegged to real-world assets like fiat currency, taking volatility out of the equation. For example, USDTâs value is tied to the US Dollar; 1 USDT = 1 USD. So practically speaking, there is almost no chance of you incurring a loss in the long term by investing in them."]})]})]})]}),v=e=>(0,a.jsx)("div",{className:"py-9 bg-cover bg-[url('https://images.mudrex.com/tax-calculator/backgr
1nd-img.webp')] bg-center bg-no-repeat",children:(0,a.jsxs)("div",{className:" px-8 md:px-0 container flex flex-col items-center",children:[(0,a.jsxs)("p",{className:"text-white text-xl md:text-[2rem] leading-normal font-semibold mb-10 text-center",children:["Crypto Tax Calculation: Will You Have to Pay Tax on Both"," ",(0,a.jsx)("span",{style:{color:"rgba(98, 211, 136, 1)"},children:"Gains"})," and"," ",(0,a.jsx)("span",{style:{color:"rgba(229, 109, 109, 1)"},children:"Losses"})," From Crypto?"]}),(0,a.jsxs)("div",{className:"flex flex-col gap-11",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-6 items-center justify-center",children:[(0,a.jsx)("div",{className:"hidden w-full h-[235px] rounded md:flex items-center justify-center",children:(0,a.jsx)(i(),{src:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/tax-calculator/crypto-table.webp"),alt:"",width:840,height:210})}),(0,a.jsx)("div",{className:"w-full h-[235px] rounded md:hidden",children:(0,a.jsx)(i(),{src:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/tax-calculator/btc-mobile.webp"),alt:"",width:840,height:210})}),(0,a.jsx)("div",{className:"w-full h-[235px] rounded md:hidden",children:(0,a.jsx)(i(),{src:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/tax-calculator/eth-mobile.webp"),alt:"",width:840,height:210})})]}),(0,a.jsxs)("p",{className:"text-[#E4E4E4] font-inter text-sm md:text-lg font-medium",children:["According to the latest crypto tax act, you are liable to pay taxes only on your crypto profits. If you face losses in your crypto sales, you need not pay taxes on these sales.",(0,a.jsx)("br",{}),(0,a.jsx)("br",{})," But can you use the loss from one crypto to set off against the profit from another crypto to effectively reduce your taxable income? Simply put, no. You will have to pay taxes on all your profits realized from crypto assets, irrespective of the losses you incurred from other crypto assets."]}),(0,a.jsxs)("p",{className:"text-[#E4E4E4] font-inter text-sm md:text-xl font-medium bg-[#4B4B4B] rounded-xl p-7",children:["Say you buy Bitcoin for â¹10,000 and sell it for â¹15,000. On the other hand, you also buy Ethereum for â¹10,000 and sell it for â¹8,000. You cannot offset the loss of â¹2000 against the â¹5000 profit you made to effectively pay taxes on a net â¹3000 profit.",(0,a.jsx)("br",{}),"You will not have to pay taxes on the Ethereum sale, but you will have to pay taxes on the entire profit margin from the Bitcoin sale."]})]})]})});var b=s(55932),j=s(82203),w=s.n(j);let N=e=>{let{img:t,link:s,title:l}=e;return(0,a.jsx)(w(),{href:s,target:"_blank",onClick:()=>{(0,u.dX)({event_name:"Video card Clicked",page_section:"taxation_guide_section",lps:"indian_tax_calculator"})},children:(0,a.jsxs)("div",{className:"w-full h-[310px] bg-stroke rounded p-2 pb-6 flex flex-col gap-4 cursor-pointer",children:[(0,a.jsx)("div",{className:"w-full h-full rounded",children:(0,a.jsx)(i(),{src:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/tax-calculator/").concat(t),alt:"",width:380,height:216})}),(0,a.jsx)("p",{className:"font-semibold text-[#333] font-inter md:text-2xl max-w-[250px] md:max-w-[300px] pl-2",children:l})]})})},A=e=>(0,a.jsxs)("section",{className:"px-8 md:px-0 container flex flex-col items-center gap-6 md:gap-12 py-16 pt-6",children:[(0,a.jsxs)("div",{className:"flex flex-col gap-3 items-center text-center",children:[(0,a.jsx)("p",{className:"text-2xl md:text-[2rem] font-semibold font-inter text-[#3C3B41]",children:"Crypto taxation guide 2026"}),(0,a.jsx)("p",{className:"text-sm md:text-lg font-medium font-inter text-[#6C6C6C]",children:"Explore our Crypto Tax Calculation Series by Mudrex! Get answers to your burning questions about crypto taxation in India 2026 in this comprehensive video playlist. Your complete guide to filing crypto taxes with ease."})]}),(0,a.jsxs)("div",{className:"flex flex-col w-full items-center gap-12",children:[(0,a.jsxs)("div",{className:"flex flex-col w-full md:flex-row gap-6",children:[(0,a.jsx)(N,{img:"vid-1.webp",link:"https://youtu.be/x9RDaK-o_bY",title:"How does Crypto Taxation work in India"}),(0,a.jsx)(N,{img:"vid-2.webp",link:"https://youtu.be/hW6STfW38Xg",title:"How to avoid tax on crypto"}),(0,a.jsx)(N,{img:"vid-3.webp",link:"https://youtu.be/y5WA8QEC0Sw",title:"Can you write off crypto losses on your taxes"})]}),(0,a.jsx)(w(),{href:"https://www.youtube.com/playlist?list=PLwbuLZiicYdqfhNvU6VFJkECwB2NGl5Mc",target:"_blank",onClick:()=>{(0,u.KK)({event_name:"explore more videos clicked",page_section:"taxation_guide_section",lps:"indian_tax_calculator"})},children:(0,a.jsx)(b.A,{className:"max-w-[225px]",children:"Explore more Videos"})})]})]}),_=e=>(0,a.jsxs)("div",{className:"container flex flex-col gap-6 md:mb-20 md:mt-10",children:[(0,a.jsx)("p",{className:"text-[1.375rem] md:text-[32px] font-semibold text-[#3C3B41] text-center",children:"What Is Cryptocurrency Tax?"}),(0,a.jsxs)("div",{className:"flex flex-col md:flex-row gap-6 md:gap-11 items-center",children:[(0,a.jsx)("div",{className:"w-[75%] h-[220px]",children:(0,a.jsx)(i(),{src:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/tax-calculator/law.webp"),alt:"",width:350,height:220})}),(0,a.jsxs)("div",{className:"relative m-12",children:[(0,a.jsxs)("p",{className:"text-[#6C6C6C] text-lg font-inter font-medium",children:["The Indian government recognizes crypto as a âvirtual digital asset,â (VDA) among other blockchain assets like NFTs and other virtual assets. This means these assets can act as a store of value and can be used in investments and transactions.",(0,a.jsx)("br",{}),(0,a.jsx)("br",{})," This also means that any profits you realize from these assets are taxable, and the tax you pay on your crypto assets is cryptocurrency tax."]}),(0,a.jsx)(i(),{className:"hidden md:block md:w-[50%] absolute -right-[100px]",src:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/tax-calculator/arrow.webp"),alt:"arrow showing direction",width:401,height:116})]})]})]}),C=[{image:"tax-calculator/step-1.webp",title:"Enter the entire amount received from the sale of your crypto assets."},{image:"tax-calculator/step-2.webp",title:"Enter the initial investment amount (no deduction benefits are available except for the cost of acquisition)"},{image:"tax-calculator/step-3.webp",title:"Your net profit will be displayed on your screen along with the tax you are liable to pay, as per the provisions of section 15BBH"}],B=[{question:"Is the payment of cess on the tax mandatory?",answer:"Yes, cess on the tax liability at a flat rate of 4% is mandatory for all crypto sales. Using the Mudrex Crypto Tax Calculator, you can get the accurate amount for your tax liability. The 4% cess is calculated on this tax liability and not on the overall taxable income."},{question:"What is the tax rate applicable to crypto in India?",answer:"Crypto is taxed at a flat rate of 30%. This allows for no deductions except for the cost of acquisition. Additionally, the individual will also owe a surcharge (if applicable) and a cess of 4% on the tax, along with a 1% TDS (tax deducted at source) applicable on all crypto transfers."}],P=e=>{let{}=e;return(0,a.jsx)("div",{className:"my-10",children:(0,a.jsxs)("div",{className:"flex flex-col items-center container ",children:[(0,a.jsx)("h3",{className:"m-0 font-inter font-semibold mb-5 text-2xl md:text-[32px] text-[#3c3b41]",children:"Download your detailed tax report and file seamlessly."}),(0,a.jsx)(w(),{href:"https://web.koinx.com/Mudrex-freecalculator",target:"_blank",rel:"noopener noreferrer",className:"all:unset cursor-pointer",children:(0,a.jsx)("h4",{className:"m-0 font-inter font-semibold mb-5 text-2xl md:text-6xl text-[#4b2880]",children:"Calculate & File Your Taxes"})}),(0,a.jsxs)("div",{className:"flex flex-col gap-4 items-center",children:[(0,a.jsx)("h3",{className:"font-medium text-3xl text-[#3948CB]",children:"Powered by"}),(0,a.jsx)(i(),{src:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/tax-p
1artner/koinx-full-logo.webp"),alt:"",width:200,height:150})]})]})})};var T=s(84497);s(29216);let k=e=>{let{handleAddAsset:t}=e;return(0,a.jsxs)("div",{onClick:()=>{t(),(0,u.bZ)({event_name:"Asset added",page_section:"tax_calculator_section",lps:"indian_tax_calculator"})},className:"addAsset",children:[(0,a.jsx)("div",{children:"+"}),(0,a.jsx)("span",{children:"Add Assets"})]})},S=e=>{let{label:t,value:s,handlePriceChange:l,index:n}=e;return(0,a.jsxs)("div",{className:"flex flex-col md:mr-8",children:[(0,a.jsx)("span",{className:"label",children:t}),(0,a.jsxs)("div",{className:"input__container flex flex-row items-center w-full",children:[(0,a.jsx)("span",{className:"input__font",children:"â¹"}),(0,a.jsx)("input",{type:"number",className:"textInput outline-none",min:0,value:s,onChange:e=>l({e,index:n})})]})]})};var E=s(92744);let R=e=>{let{coin:t,name:s,options:n=T.rp,handleAssetChange:r,index:c}=e,[d,m]=(0,l.useState)([]);return(0,l.useEffect)(()=>{m(n)},[n]),(0,l.useEffect)(()=>{let e=e=>{e.stopPropagation();let t=Array.from(e.target.classList);0>t.indexOf("dropdown__button")&&0>t.indexOf("dropdown__list")&&0>t.indexOf("dropdown__assetItem")&&0>t.indexOf("dropdown__assetList")&&0>t.indexOf("dropdown__search")&&Array.from(document.getElementsByClassName("dropdown__list")).map(e=>{var t;return null==(t=e.classList)?void 0:t.remove("show")})};return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}},[]),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"label",children:"Select Asset"}),(0,a.jsxs)("div",{className:"dropdown__container",children:[(0,a.jsxs)("div",{onClick:e=>{var t,s,a,l,i,o,r;e.stopPropagation(),Array.from(document.getElementsByClassName("dropdown__search")).forEach(e=>{e.value=""}),m(n);let c=null==(t=Array.from(null==e||null==(l=e.target)||null==(a=l.closest(".dropdown__button"))||null==(s=a.nextElementSibling)?void 0:s.classList))?void 0:t.indexOf("show");if(Array.from(document.getElementsByClassName("dropdown__list")).map(e=>{var t;return null==(t=e.classList)?void 0:t.remove("show")}),-1===c)return null==e||null==(r=e.target)||null==(o=r.closest(".dropdown__button"))||null==(i=o.nextElementSibling)?void 0:i.classList.toggle("show")},className:"dropdown__button",children:[(0,a.jsxs)("div",{className:"flex flex-row items-center gap-2",children:[(0,a.jsx)("div",{className:"w-8 md:h-8 h-auto",children:(0,a.jsx)(i(),{src:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/").concat(t,".png"),alt:"".concat(s," logo"),width:30,height:30})}),(0,a.jsx)("span",{className:"font-inter",children:t})]}),(0,a.jsx)(E.zAG,{color:"#9f9f9f"})]}),(0,a.jsxs)("div",{className:"dropdown__list",children:[(0,a.jsx)("input",{onChange:e=>{let{value:t}=e.target;m(n.filter(e=>{var s;return(null==(s=e.name)?void 0:s.toLowerCase().includes(null==t?void 0:t.toLowerCase()))||e.symbol.toLowerCase().includes(null==t?void 0:t.toLowerCase())}))},className:"dropdown__search",placeholder:"\uD83D\uDD0E Search"}),(0,a.jsx)("div",{className:"dropdown__assetList",children:d.map(e=>(0,a.jsxs)("div",{onClick:s=>{((e,t)=>{var s,a;return e.stopPropagation(),r({index:c,coin:t}),null==e||null==(a=e.target)||null==(s=a.closest(".dropdown"))||s.classList.toggle("show")})(s,e),(0,u.Sb)({event_name:"Asset Changed to ".concat(t),page_section:"tax_calculator_section",lps:"indian_tax_calculator"})},className:"dropdown__assetItem flex flex-row items-center",children:[(0,a.jsx)(i(),{className:"dropdown__assetItem",src:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/").concat(e.symbol,".png"),alt:"".concat(e.symbol," logo"),width:30,height:30}),(0,a.jsx)("p",{className:"dropdown__assetItem",children:e.symbol})]},e.symbol))})]})]})]})},U=e=>{let{handleRemoveAsset:t,index:s}=e;return(0,a.jsx)("div",{onClick:()=>t({index:s}),className:"flex items-center justify-center w-5 h-5 rounded-full mb-6 bg-[#cfb1ff] font-inter font-medium text-xl text-[#a863ff] cursor-pointer",children:"-"})},L=e=>{let{coin:t,buyPrice:s,sellPrice:n,changeAssetBuyPrice:i,changeAssetSellPrice:o,handleRemoveAsset:r,handleAssetChange:c,index:d,showRemoveIcon:m}=e,[x,u]=(0,l.useState)(n-s),[h,p]=(0,l.useState)(0);return(0,l.useEffect)(()=>{u(n-s)},[n,s]),(0,l.useEffect)(()=>{x>0?p(.3*x):p(0)},[x]),(0,a.jsxs)("div",{className:"assetInput--tablet",children:[m&&(0,a.jsx)("div",{style:{position:"absolute",right:"2.5rem"},children:(0,a.jsx)(U,{handleRemoveAsset:r,index:d})}),(0,a.jsx)("div",{className:"mb-12",children:(0,a.jsx)(R,{coin:t.symbol,handleAssetChange:c,index:d})}),(0,a.jsxs)("div",{className:"flex flex-row gap-20 items-center",children:[(0,a.jsx)("div",{children:(0,a.jsx)(S,{label:"Buy Price",value:s,handlePriceChange:i,index:d})}),(0,a.jsx)("div",{children:(0,a.jsx)(S,{label:"Sell Price",value:n,handlePriceChange:o,index:d})})]}),(0,a.jsx)("div",{style:{marginBlock:"1.5rem",height:"1px",width:"100%",backgroundColor:"#f0f0f0"}}),(0,a.jsxs)("div",{className:"flex flex-row gap-20 justify-around",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"label--gain",children:"Gain or Loss"}),(0,a.jsxs)("span",{className:"number",children:["â¹"," ",(0,a.jsx)("span",{className:0===x?"number":x<0?"number--red":"number--green",children:Math.round(x)})]})]}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"label",children:"TAX"}),(0,a.jsxs)("span",{className:"number",children:["â¹ ",Math.round(h)]})]})]})]})},I=e=>{let{coin:t,buyPrice:s=0,sellPrice:n=0,changeAssetBuyPrice:i,changeAssetSellPrice:o,handleRemoveAsset:r,handleAssetChange:c,index:d,showRemoveIcon:m}=e,[x,h]=(0,l.useState)(n-s),[p,f]=(0,l.useState)(0);return(0,l.useEffect)(()=>{h(n-s)},[s,n]),(0,l.useEffect)(()=>{x>0?f(.3*x):f(0)},[x]),(0,a.jsx)("div",{className:"w-full flex flex-row mb-16",children:(0,a.jsxs)("div",{className:"w-full flex flex-row items-end",children:[(0,a.jsx)("div",{className:"w-3/4",children:(0,a.jsx)(R,{coin:t.symbol,n
1ame:t.name,handleAssetChange:e=>{c(e),(0,u.Sb)({event_name:"Asset Changed to ".concat(null==t?void 0:t.name),page_section:"tax_calculator_section",lps:"indian_tax_calculator"})},index:d})}),(0,a.jsx)("div",{className:"w-full ms-12",children:(0,a.jsx)(S,{label:"Buy Price",value:s,handlePriceChange:i,index:d})}),(0,a.jsx)("div",{className:"w-full ms-12",children:(0,a.jsx)(S,{label:"Sell Price",value:n,handlePriceChange:o,index:d})}),m&&(0,a.jsx)("div",{className:"ms-12",children:(0,a.jsx)(U,{handleRemoveAsset:r,index:d})}),(0,a.jsx)("div",{style:{width:"1px",height:"6rem",backgroundColor:"#dadada",marginInline:"1rem"}}),(0,a.jsxs)("div",{className:"w-3/4 ms-12 flex flex-col",children:[(0,a.jsx)("span",{className:"label--gain",children:"Gain or Loss"}),(0,a.jsxs)("span",{className:"number",children:["â¹"," ",(0,a.jsx)("span",{className:0===x?"number":x<0?"number--red":"number--green",children:isNaN(Math.round(x))?"0":Math.round(x)})]})]}),(0,a.jsxs)("div",{className:"w-3/4 ms-12 flex flex-col",children:[(0,a.jsx)("span",{className:"label",children:"TAX"}),(0,a.jsxs)("span",{className:"number",children:["â¹ ",(0,a.jsx)("span",{children:Math.round(p)})]})]})]})})},D=e=>{let t=0,s=0;return e.map(e=>{let{sellPrice:a,buyPrice:l}=e,n=a-l;t+=n,n>0&&(s+=.3*n)}),{totalGain:t,totalTax:s}},M=e=>{let{assets:t,changeAssetBuyPrice:s,changeAssetSellPrice:n,handleAddAsset:i,handleRemoveAsset:o,handleAssetChange:r}=e,{totalGain:c,totalTax:d}=(0,l.useMemo)(()=>D(t),[t]);return(0,a.jsxs)("div",{className:"w-full bg-[#FDFDFD80] border-2 border-[#ffffff] rounded-xl py-[3.875rem] px-[5.25rem] backdrop-blur-[37.5px]",children:[(0,a.jsxs)("div",{className:"pb-8 border-b-[1px] border-[#dadada]",children:[(0,a.jsx)("h1",{className:"font-inter font-semibold text-4xl mb-11 text-[#4B2880]",children:"Crypto Tax Calculator"}),t.map((e,l)=>(0,a.jsx)(I,{index:l,coin:e.coin,buyPrice:e.buyPrice,sellPrice:e.sellPrice,changeAssetBuyPrice:s,changeAssetSellPrice:n,handleRemoveAsset:o,handleAssetChange:r,showRemoveIcon:t.length>1},l)),(0,a.jsx)("div",{style:{width:"60%"},children:(0,a.jsx)(k,{handleAddAsset:i})})]}),(0,a.jsxs)("div",{className:"pt-8 flex flex-row items-center justify-end",children:[(0,a.jsxs)("div",{className:"flex flex-col me-20",children:[(0,a.jsxs)("span",{className:"label",children:["Total ",(0,a.jsx)("span",{className:"label--gain",children:"Gain or Loss"})]}),(0,a.jsxs)("span",{className:"number",children:["â¹"," ",(0,a.jsx)("span",{className:0===c?"number":c<0?"number--red":"number--green",children:isNaN(Math.round(c))?"0":Math.round(c)})]})]}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsxs)("span",{className:"label",children:["The ",(0,a.jsx)("span",{className:"label--gain",children:"tax"})," you need to pay*"]}),(0,a.jsxs)("span",{className:"number",children:["â¹ ",Math.round(d)]})]})]})]})},G=e=>{let{assets:t,changeAssetBuyPrice:s,changeAssetSellPrice:n,handleAddAsset:i,handleRemoveAsset:o,handleAssetChange:r}=e,{totalGain:c,totalTax:d}=(0,l.useMemo)(()=>D(t),[t]);return(0,a.jsxs)("div",{className:"w-full px-[7%] py-10",children:[(0,a.jsxs)("div",{className:"calculator__asset",children:[(0,a.jsx)("h1",{className:"text-3xl font-inter font-semibold ml-2 text-[#4B2880] mb-8",children:"Crypto Tax Calculator"}),t.map((e,l)=>(0,a.jsx)(L,{index:l,coin:e.coin,buyPrice:e.buyPrice,sellPrice:e.sellPrice,changeAssetBuyPrice:s,changeAssetSellPrice:n,handleRemoveAsset:o,handleAssetChange:r,showRemoveIcon:t.length>1},l))]}),(0,a.jsx)("div",{children:(0,a.jsx)(k,{handleAddAsset:i})}),(0,a.jsxs)("div",{className:"w-full p-4 mt-4 bg-white rounded-xl flex flex-row justify-around",children:[(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"label--gain",children:"Total Gain or Loss"}),(0,a.jsxs)("span",{className:"number",children:["â¹"," ",(0,a.jsx)("span",{className:0===c?"number":c<0?"number--red":"number--green",children:Math.round(c)})]})]}),(0,a.jsxs)("div",{className:"flex flex-col",children:[(0,a.jsx)("span",{className:"label--gain",children:"Total TAX"}),(0,a.jsxs)("span",{className:"number",children:["â¹ ",Math.round(d)]})]})]})]})},q=[{coin:T.rp[0],buyPrice:1e4,sellPrice:15e3}],H=()=>{let[e,t]=(0,l.useState)(q),s=s=>{let{e:a,index:l}=s,n={...e[l],buyPrice:parseFloat(a.target.value)},i=[...e];i[l]=n,t(i)},n=s=>{let{e:a,index:l}=s,n={...e[l],sellPrice:parseFloat(a.target.value)},i=[...e];i[l]=n,t(i)},i=()=>{e.length>=T.rp.length?t([...e,{coin:{name:"bitcoin",symbol:"BTC",iconURL:"".concat(null===o.Ay||void 0===o.Ay?void 0:o.Ay.imageBase,"/BTC.png")},buyPrice:1e3,sellPrice:1500}]):t([...e,{coin:T.rp[e.length],buyPrice:1e3,sellPrice:1500}])},r=s=>{let{index:a}=s,l=[...e];l.splice(a,1),t(l)},c=s=>{let{index:a,coin:l}=s,n={...e[a],coin:l},i=[...e];i[a]=n,t(i)},{totalGain:d,totalTax:m}=D(e);return(0,a.jsxs)("div",{className:"container md:py-10 bg-white",children:[(0,a.jsx)("div",{className:"hidden md:flex",children:(0,a.jsx)(M,{assets:e,changeAssetBuyPrice:s,changeAssetSellPrice:n,handleAddAsset:i,handleRemoveAsset:r,handleAssetChange:c,totalGain:d,totalTax:m})}),(0,a.jsx)("div",{className:"md:hidden",children:(0,a.jsx)(G,{assets:e,changeAssetBuyPrice:s,changeAssetSellPrice:n,handleAddAsset:i,handleRemoveAsset:r,handleAssetChange:c})})]})};var Y=s(28475),F=s(5679),O=s(27885),X=s(96079),z=s(4326);let W=e=>{let t={"@context":"https://schema.org","@type":"FAQPage",mainEntity:B.map((e,t)=>
1({"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:e.answer},position:t+1}))};return(0,a.jsxs)("div",{className:"relative overflow-hidden",children:[(0,a.jsx)("div",{className:"ellipse_1-1"}),(0,a.jsx)("div",{className:"ellipse_1-2"}),(0,a.jsx)("div",{className:"ellipse_2"}),(0,a.jsx)("div",{className:"ellipse_3"}),(0,a.jsx)(F.A,{data:null===O.RH||void 0===O.RH?void 0:O.RH.data}),(0,a.jsx)(X.A,{}),(0,a.jsx)(H,{}),(0,a.jsx)(P,{}),(0,a.jsx)(A,{}),(0,a.jsx)(_,{}),(0,a.jsx)(x,{}),(0,a.jsx)(y,{}),(0,a.jsx)(v,{}),(0,a.jsx)(d,{data:C,tax:!0}),(0,a.jsx)(m,{}),(0,a.jsx)(g,{}),(0,a.jsx)(Y.A,{data:B,title:"FAQ about Crypto Tax Calculator"}),(0,a.jsx)(z.A,{data:t})]})}},28475:(e,t,s)=>{"use strict";s.d(t,{A:()=>m});var a=s(6029),l=s(55729),n=s(97895),i=s(81807),o=s(36272),r=s(81278);let c=e=>{let{question:t,answer:s}=e,[c,d]=(0,l.useState)(!1),{pathname:m}=(0,r.useRouter)();return(0,a.jsxs)("div",{onClick:()=>{d(!c),(null==m?void 0:m.includes("convertor"))&&(0,o.mq)({event_name:"FAQ clicked",page_section:"faq_section",lps:"convertor"})},className:"p-4 md:px-6 md:py-5 rounded-lg flex flex-col gap-3 shadow-md bg-white/50 border border-white/75 backdrop-blur-md cursor-pointer",children:[(0,a.jsxs)("div",{className:"flex items-center justify-between gap-9",children:[(0,a.jsx)("h3",{className:"body-16-r font-semibold text-gray-700",children:t}),(0,a.jsx)("div",{className:"flex-shrink-0",children:c?(0,a.jsx)(n.A,{icon:"Minus",size:32,color:i.A["Text/Greys/Grey_Light"]}):(0,a.jsx)(n.A,{icon:"Plus",size:32,color:i.A["Text/Greys/Grey_Light"]})})]}),c?(0,a.jsx)("p",{className:"body-16-r text-gray-700",children:s}):null]})};c.defaultProps={question:"Question goes here?",answer:"Answer goes here..."};let d=e=>{let{data:t}=e;return(0,a.jsx)("div",{className:"flex flex-col gap-5 md:gap-4",children:t.map((e,t)=>(0,a.jsx)(c,{question:e.question,answer:e.answer},t))})},m=e=>{let{data:t,title:s,showEmail:l=!0}=e;return(0,a.jsx)("div",{className:"bg-gradient-faq",children:(0,a.jsxs)("section",{className:"container flex flex-col md:flex-row md:justify-between gap-6 md:gap-32 py-8 md:py-16",children:[(0,a.jsxs)("div",{className:"max-w-[280px] md:max-w-[400px] flex flex-col gap-6 md:mt-9",children:[s?(0,a.jsx)("p",{className:"font-semibold text-2xl md:text-3xl",children:s}):null,l&&(0,a.jsx)("a",{href:"mailto:[email protected]",className:"body-16-r",target:"_blank",rel:"noreferrer",children:"Have a question that is not answered? You can contact us at [email protected]"})]}),t?(0,a.jsx)("div",{className:"max-w-[715px] w-full",children:(0,a.jsx)(d,{data:t})}):null]})})}},29216:()=>{},64492:(e,t,s)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/crypto-tax-calculator-india",function(){return s(1531)}])},84497:(e,t,s)=>{"use strict";s.d(t,{Ub:()=>n,_U:()=>l,bt:()=>i,rp:()=>o});var a=s(44005);let l=[{name:"Indian Rupee",symbol:"INR",iconURL:"".concat(null===a.Ay||void 0===a.Ay?void 0:a.Ay.imageBase,"/INR.svg")},{name:"Dollar",symbol:"USD",iconURL:"".concat(null===a.Ay||void 0===a.Ay?void 0:a.Ay.imageBase,"/USD.svg")},{name:"Euro",symbol:"EUR",iconURL:"".concat(null===a.Ay||void 0===a.Ay?void 0:a.Ay.imageBase,"/EUR.svg")},{name:"Yen",symbol:"JPY",iconURL:"".concat(null===a.Ay||void 0===a.Ay?void 0:a.Ay.imageBase,"/JPY.svg")},{name:"Pound",symbol:"GBP",iconURL:"".concat(null===a.Ay||void 0===a.Ay?void 0:a.Ay.imageBase,"/GBP.svg")}],n=["inr","jpy","gbp","eur","usd"],i=[{title:"Solana Price Prediction",imageUrl:"https://mudrex.com/learn/solana-sol-price-prediction-2025-2026-2027-2028-20292030/",date:"2026",image:"https://mudrex.com/blog/wp-content/uploads/2022/09/Top-Solana-Projects-1.png"},{title:"Ethereum Price Prediction",imageUrl:"https://mudrex.com/learn/ethereum-price-prediction/",date:"2026",image:"https://mudrex.com/blog/wp-content/uploads/2022/10/What-is-Etherium_.png"},{title:"Bitcoin Price Prediction",imageUrl:"https://mudrex.com/blog/bitcoin-price-prediction/",date:"2026",image:"https://mudrex.com/blog/wp-content/uploads/2022/09/Cover-Image-27.png"},{title:"Dogecoin Price Prediction",imageUrl:"https://mudrex.com/learn/dogecoin-doge-price-prediction-2024-2025-2030-and-beyond/",date:"2026",image:"https://mudrex.com/blog/wp-content/uploads/2023/11/Blog-273.png"},{title:"Binance Price Prediction",imageUrl:"https://mudrex.com/blog/binance-coin-prediction/",date:"November 15, 2023",image:"https://mudrex.com/blog/wp-content/uploads/2023/11/Blog-269.png"},{title:"Cardano Price Prediction",imageUrl:"https://mudrex.com/blog/cardano-price-prediction/",date:"November 15, 2023",image:"https://mudrex.com/blog/wp-content/uploads/2023/11/Blog-270.png"},{title:"Litecoin Price Prediction",imageUrl:"https://mudrex.com/blog/litecoin-price-prediction/",date:"November 24, 2023",image:"https://mudrex.com/blog/wp-content/uploads/2022/09/To
1p-Solana-Projects-1.png"},{title:"Polygon Price Prediction",imageUrl:"https://mudrex.com/blog/polygon-price-prediction/",date:"November 21, 2023",image:"https://mudrex.com/blog/wp-content/uploads/2023/11/Blog-271-1.png"},{title:"Ripple Price Prediction",imageUrl:"https://mudrex.com/blog/ripple-xrp-price-prediction/",date:"November 21, 2023",image:"https://mudrex.com/blog/wp-content/uploads/2023/11/Blog-274.png"}];null===a.Ay||void 0===a.Ay||a.Ay.imageBase,null===a.Ay||void 0===a.Ay||a.Ay.imageBase,null===a.Ay||void 0===a.Ay||a.Ay.imageBase;let o=[{name:"bitcoin",symbol:"BTC",iconURL:"".concat(null===a.Ay||void 0===a.Ay?void 0:a.Ay.imageBase,"/BTC.png")},{name:"ethereum",symbol:"ETH",iconURL:"".concat(null===a.Ay||void 0===a.Ay?void 0:a.Ay.imageBase,"/ETH.png")},{name:"binancecoin",symbol:"BNB",iconURL:"".concat(null===a.Ay||void 0===a.Ay?void 0:a.Ay.imageBase,"/BNB.png")},{name:"tether",symbol:"USDT",iconURL:"".concat(null===a.Ay||void 0===a.Ay?void 0:a.Ay.imageBase,"/USDT.png")},{name:"ripple",symbol:"XRP",iconURL:"".concat(null===a.Ay||void 0===a.Ay?void 0:a.Ay.imageBase,"/XRP.png")},{name:"cardano",symbol:"ADA",iconURL:"".concat(null===a.Ay||void 0===a.Ay?void 0:a.Ay.imageBase,"/ADA.png")},{name:"solana",symbol:"SOL",iconURL:"".concat(null===a.Ay||void 0===a.Ay?void 0:a.Ay.imageBase,"/SOL.png")},{name:"USDC",symbol:"USDC",iconURL:"".concat(null===a.Ay||void 0===a.Ay?void 0:a.Ay.imageBase,"/USDC.png")},{name:"dogecoin",symbol:"DOGE",iconURL:"".concat(null===a.Ay||void 0===a.Ay?void 0:a.Ay.imageBase,"/DOGE.png")},{name:"tron",symbol:"TRX",iconURL:"".concat(null===a.Ay||void 0===a.Ay?void 0:a.Ay.imageBase,"/TRX.png")}]},95669:(e,t,s)=>{e.exports=s(25874)}},e=>{e.O(0,[8851,636,6593,8792],()=>e(e.s=64492)),_N_E=e.O()}]);
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.