1import{d as u,j as p,a as c,o as a,k as t,l as m,p as b,y as i,u as l,n as y,A as _,t as r,q as k,e as f,T as g}from"./BHR2SXiT.js";import{a as h}from"./pYhbs1cJ.js";try{(function(){var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new o.Error().stack;n&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[n]="0ace9f42-cee8-4bed-a9a2-543036936e48",o._sentryDebugIdIdentifier="sentry-dbid-0ace9f42-cee8-4bed-a9a2-543036936e48")})()}catch{}const v={class:"flex flex-col"},x={class:"flex items-center gap-8 text-14 md:text-12"},I={class:"flex items-center gap-8 font-medium"},w={key:0},C={class:"text-14 md:text-12"},D={class:"text-12 mr-4"},N={key:0,class:"flex flex-col gap-8 px-16 text-10 font-medium text-blue mt-12"},T={key:0,class:"flex justify-between items-center"},j={class:"font-bold"},S={class:"font-normal"},B={key:1,class:"flex justify-between items-center"},M={class:"font-bold"},O=u({__name:"checkoutProfit",props:{prefactor:{},checkoutInfo:{}},setup(o){const n=p(!1);return(e,s)=>{const d=_;return a(),c("div",v,[t("div",{class:"flex justify-between items-center text-[#00A74E] md:text-blue cursor-pointer",onClick:s[0]||(s[0]=P=>n.value=!l(n))},[t("div",x,[s[1]||(s[1]=t("span",{class:"font-medium"},"Ø³ÙØ¯ Ø´Ù
ا از Ø®Ø±ÛØ¯",-1)),e.$device.isMobile?i("",!0):(a(),b(d,{key:0,class:y(["transition",{"-rotate-180":!l(n)}]),name:"general-caret-up",color:l(h),size:24},null,8,["color","class"]))]),t("div",I,[e.$device.isMobile?i("",!0):(a(),c("span",w,"("+r(Math.ceil(e.prefactor.profit/e.prefactor.price*100))+"%)",1)),t("span",null,[t("span",C,r(e.prefactor.profit.toLocaleString()),1),t("span",D,r(e.prefactor.currency),1)])])]),m(g,{name:"vertical"},{default:k(()=>[l(n)?(a(),c("div",N,[e.prefactor.percentage?(a(),c("div",T,[s[2]||(s[2]=t("span",{class:"font-medium"},"تخÙÛÙ Ø¯ÙØ±ÙâÙØ§",-1)),t("span",j,[f(r((e.prefactor.price-e.prefactor.discounted).toLocaleString())+" ",1),t("span",S,r(e.prefactor.currency),1)])])):i("",!0),e.checkoutInfo.cashback.cashback_amount&&e.checkoutInfo.currency==="TOOMAN"?(a(),c("div",B,[s[4]||(s[4]=t("span",{class:"font-medium"},"Ù
ÙØ¬ÙØ¯Û Ú©ÛÙ Ù¾ÙÙ",-1)),t("span",M,[f(r(e.checkoutInfo.cashback.cashback_amount.toLocaleString())+" ",1),s[3]||(s[3]=t("span",{class:"font-normal"},"تÙÙ
اÙ",-1))])])):i("",!0)])):i("",!0)]),_:1})])}}}),A=Object.assign(O,{__name:"CheckoutProfit"});export{A as default};
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.