1import{j as e,r as h}from"./react-Afnsq4RA.js";import{H as he}from"./react-helmet-async-DbjnCQUt.js";import{b as ge,S as xe,T as k,u as be,c as v,d as we,e as ae,f as je,g as K,h as ve,i as Ce,j as ne,k as Ne,l as G,m as X,n as ke,o as Se,p as Te,q as re,r as se,s as U,t as L,v as W,w as Y,W as ie,I as oe,x as le,y as J,V as Ie,A as ce,a as ue,B as D,z as V,D as B,C as z,E as _e,G as C,H as O,J as H,K as Oe,L as Ae,F as Pe,M as Ee,N as De,R as Z,O as ee,P as Re,Q as $,U as Fe}from"./index-DrLBkKzD.js";import{u as me,C as de,b as Le}from"./react-hook-form-nlrTBVx0.js";import{o as Me}from"./@hookform-DbGnOzTT.js";import{c as Ve,a as E,e as He,f as Ue,g as We}from"./yup-CuwAcXVK.js";import{_ as M,l as te}from"./lodash-Bgfj8OZ7.js";import"./moment-jalaali-DCz9tSil.js";import"./decimal.js-CNRKZ6of.js";import"./image-conversion-nlxg_I9_.js";import"./qr-scanner-OZedL0qH.js";import{u as pe}from"./use-kiosks-BEIR8gIC.js";import{_ as Ke}from"./file-dyHsTiv3.js";import{u as q}from"./react-i18next-CYpCSCW9.js";import{d as qe}from"./react-router-B-sKoVYf.js";import"./@neshan-maps-platform-BYsGTy0c.js";import"./react-fast-compare-D2bUkuns.js";import"./invariant-BfFOI3MH.js";import"./shallowequal-B0EYcxqC.js";import"./react-router-dom-DEcOK0rH.js";import"./react-dom-BaUhTWGj.js";import"./scheduler-DYLXRpC5.js";import"./@remix-run-EmyHsWjj.js";import"./google-libphonenumber-B2ky9HhN.js";import"./uuid-DGxouSIY.js";import"./react-phone-number-input-BA-kbLvc.js";import"./libphonenumber-js-DEgC51tD.js";import"./prop-types-CnV25TV_.js";import"./classnames-CkYBQuMh.js";import"./input-format-Mk7CM1HL.js";import"./country-flag-icons-D4lwPBzr.js";import"./ibantools-C_jdXXNm.js";import"./nprogress-CAT4Hibd.js";import"./clsx-B-dksMZM.js";import"./tailwind-merge-CSqCgoPn.js";import"./@iconify-DH6hIvJ1.js";import"./@reduxjs-6V0vSTu9.js";import"./redux-BXkGT1VS.js";import"./immer-BDzVaAxM.js";import"./redux-thunk-ClJT1hhx.js";import"./redux-persist-DL4f1xSU.js";import"./i18next-B2185GOa.js";import"./@tanstack-DDQiljJ1.js";import"./cmdk-BbCmhCeE.js";import"./@babel-CF3RwP-h.js";import"./tslib-CDuPK5Eb.js";import"./react-remove-scroll-bar-CeaptO4_.js";import"./react-style-singleton-B8PdEypK.js";import"./get-nonce-C-Z93AgS.js";import"./use-sidecar-Bv4Sgxy4.js";import"./use-callback-ref-Cg0-oM1N.js";import"./aria-hidden-DvXkyWUv.js";import"./@radix-ui-BNJyxf1O.js";import"./react-remove-scroll-iIO6tWo0.js";import"./@floating-ui-Bf07CSbV.js";import"./use-sync-external-store-DUKzQvAz.js";import"./class-variance-authority-B8k91cqS.js";import"./vaul-C9uWkRmi.js";import"./axios-B9ygI19o.js";import"./react-redux-qRnMlsuI.js";import"./lucide-react-BjlUAu9O.js";import"./input-otp-642phU8v.js";import"./react-qr-code-Dx9hcpdD.js";import"./qr.js-BVLGcLt3.js";/* empty css */import"./@turf-B_NmyriV.js";import"./point-in-polygon-hao-C1aFqb-f.js";import"./html-to-image-CCayPtYg.js";import"./swiper-Cpgef9Vo.js";import"./@simplewebauthn-BnTzSMk_.js";import"./moment-BOSXtSlL.js";import"./jalaali-js-D60YAWxD.js";import"./property-expr-DEi1ZLzV.js";import"./tiny-case-BJ7jYKNY.js";import"./toposort-BeARj8ER.js";function $e({name:a,label:i,required:l}){const{control:_}=me();return e.jsx(de,{name:a,control:_,render:({field:{onChange:c,value:t},fieldState:{error:n}})=>e.jsx(ge,{required:l,onChange:o=>c(o?[o]:[]),value:t[0],name:a,label:i,error:n?.message})})}function Be({name:a,label:i,...l}){const{control:_}=me();return e.jsx(de,{name:a,control:_,render:({field:{value:c,onChange:t,ref:n}})=>e.jsxs("div",{className:"flex items-center gap-3",children:[e.jsx(xe,{checked:c,ref:n,onCheckedChange:t,...l}),e.jsx(k,{variant:"body",children:i})]})})}function ze({currency_symbol:a,amount:i,kiosk:l,is_fast_payment:_,discount:c}){const{constrained_rial_Wallet:t,getConstrainedWallet:n}=be(),o=n(a),u=h.useMemo(()=>l?.currency_specs.currencies.find(y=>y.currency_symbol===a),[a,l?.currency_specs.currencies]),j=h.useMemo(()=>l?_?v.add(v.multiple(v.add(l.fast_payment_fee,l.sum_of_fees),+i),u.kiosk_constant_fee_in_currency):v.add(v.multiple(l.sum_of_fees,+i),u.kiosk_constant_fee_in_currency):0,[i,_,l,u]),g=+i+j,{convertCurrencyToRialWhenSellingCurrencyToUser:d,convertRialToCurrencyWhenSellingCurrencyToUser:x}=we({currency:a}),b=()=>c?c.amount:0,m=()=>t?.balance?t.balance:0,s=()=>o?.balance?o.balance:0,r=()=>v.sub(d(g),b()),w=()=>{const y=d(s()),P=v.sub(d(g),b());return y>=P?v.sub(g,x(b())):s()},N=()=>{const y=r();return v.sub(y,d(w()))},p=()=>m()>=N()?N():m(),f=()=>{const y=v.sub(N(),m());return y>0?y:0},T=()=>{const y=d(s()),P=d(g);return y>=P?g:s()},I=()=>{const y=v.add(r(),b());return v.sub(y,d(T()))},S=()=>m()>=I()?I():m(),A=()=>
1{const y=v.sub(I(),m());return y>0?y:0};return{with_discount:{online_charge_in_rial:f(),currency_payment_from_wallet:v.ceil(w(),2),rial_payment_from_wallet:p()},without_discount:{currency_payment_from_wallet:v.ceil(T(),2),rial_payment_from_wallet:S(),online_charge_in_rial:A()}}}const fe=({form:a,discount:i,gateway:l})=>{const _=ae(),{routers:c}=je(),t=K(f=>f.auth.user?.user_uid),{calculateRialDepositFee:n}=ve(),o=Ce(),{kiosks:u,isLoading:j}=pe({enabled:!0,delivery_type:ne.INTERNATIONAL_PAYMENT,select(f){return f.data.results}}),{startDeposit:g,isPendingStartDeposit:d}=Ne({onError:_.openError,onSuccess(f){o(ke({transactionType:Se.voucher_promise,transactionUid:f.uid,depositUid:f.uid,timestamp:new Date().getTime()}))}}),x=(f,T)=>u?.filter(I=>I.name===f&&I.currency_specs.currencies.find(S=>S.currency_symbol===T))[0],{without_discount:b,with_discount:m}=ze({amount:+a.watch("amount"),currency_symbol:a.watch("currency_symbol"),kiosk:x(a.watch("kiosk_name"),a.watch("currency_symbol")),is_fast_payment:a.watch("is_payment_fast")??!1,discount:i}),s=()=>M.ceil(b.online_charge_in_rial+n(b.online_charge_in_rial)),r=()=>M.ceil(m.online_charge_in_rial+n(m.online_charge_in_rial)),{mutate:w,isPending:N}=G({mutationKey:X.international_payment.key,mutationFn:X.international_payment.fn,onSuccess(f){if(f.data.status===Te.FULFILLED)c.goToVoucherDetailPage(f.data.uid);else{const T=i?.uid?r():s(),I=i?.uid?M.ceil(m.online_charge_in_rial):M.ceil(b.online_charge_in_rial);g({uid:f.data.uid,pay_amount:T,charge_amount:I,user_uid:t,tenant:re,...l?{stub_sku:l}:{}})}},onError(f){_.openError(f)}}),p=!!+a.watch("amount")&&!!a.watch("currency_symbol")&&!!a.watch("kiosk_name");return{isPending:N||d,createVoucher:w,user_uid:t,isLoadingKiosk:j,getSelectedKiosk:x,kiosks:u,with_discount:m,without_discount:b,create_voucher_error:_,final_gateway_in_rial:r(),final_gateway_in_rial_no_discount:s(),isShowBillValue:p,discount:i}},Ge=()=>{const[a,i]=h.useState(""),[l,_]=h.useState(),[c,t]=h.useState(!1),[n,o]=h.useState(!1),u=K(r=>r.auth.user.user_uid),{discounts:j,isLoadingDiscounts:g}=se({params:{use_case_sku__contains:U.voucher_promise,expires_at__gte:new Date().getTime(),is_foreign_currency:!1,used_at__isnull:!0,currency_symbol:L.currencyAbbreviation},key:[U.voucher_promise,"is_foreign_currency","used_at__isnull"]}),{isPending:d,mutate:x,error:b}=G({mutationKey:[W.instantiateOffCode.key],mutationFn:W.instantiateOffCode.fn,onSuccess(r){_(r.data),o(!1)},onError(){t(!0)}}),m=h.useCallback(r=>{if(j&&r){const w=j.results.filter(N=>N.code===r);if(w.length===1)return w[0]}},[j]),s=h.useCallback(()=>{a.length>0?m(a)?(_(m(a)),o(!1)):x({uid:Y(),code:a,generated_for:u}):o(!1)},[m,o,x,a,_,u]);return{isLoadingDiscounts:g,isPendingCheckOffCode:d,handleApplyingOffCode:s,error:b?.response?.data.__message,isOffCodeOpen:n,setOpenOffCode:o,isShowError:c,setIsShowError:t,selected_discount:l,off_code:a,set_off_code:i,setSelectedDiscount:_}};function Ye({discount:a,setDiscount:i,closeDrawer:l}){const _=K(p=>p.auth.user),{t:c}=q(),t=ae(),[n,o]=h.useState(a),[u,j]=h.useState(a?.code??""),[g,d]=h.useState(!1),{discounts:x,isLoadingDiscounts:b}=se({params:{use_case_sku__contains:U.voucher_promise,expires_at__gte:new Date().getTime(),is_foreign_currency:!1,used_at__isnull:!0,currency_symbol:L.currencyAbbreviation},key:[U.voucher_promise,"is_foreign_currency","used_at__isnull"]}),{isPending:m,mutate:s,error:r}=G({mutationKey:[W.instantiateOffCode.key],mutationFn:W.instantiateOffCode.fn,onSuccess(p){i(p.data),l()},onError:t.openError}),w=h.useCallback(p=>{if(x&&p){const f=x.results.filter(T=>T.code===p);if(f.length===1)return f[0]}},[x]),N=h.useCallback(()=>{u.length>0?w(u)?(i(w(u)),l()):s({uid:Y(),code:u,generated_for:_?.user_uid}):(i(n),l())},[w,l,s,u,n,i,_?.user_uid]);return e.jsxs(ie,{className:"gap-y-8",isLoading:b,children:[e.jsxs("div",{className:"flex flex-col justify-between gap-2",children:[e.jsx(k,{variant:"subtitle",children:c("pages.withdraw.subtitles.enter_off_code_if_you_have")}),e.jsx(oe,{helperText:g?r?.response?.data.__message:void 0,variant:r&&g?le.error:void 0,dir:"ltr",endIcon:u.length>0?e.jsx(J,{onClick:()=>{j(""),d(!1),i(void 0),o(void 0)},icon:"radix-icons:cross-2"}):void 0,className:"shadow-none",inputClassName:"border-none bg-grey-lighter shadow-none",parentClassName:"flex-1",value:u,onChange:p=>{o(void 0),d(!1),j(p.target.value)},placeholder:c("pages.withdraw.placeholders.enter_off_code")})]}),x&&x.count>0?e.jsxs("div",{className:"flex flex-col justify-between gap-2",children:[e.jsx(k,{variant:"subtitle",children:c("pages.withdraw.subtitles.also_you_can_choose_off_codes_from_below")}),x.results.map(p=>e.jsx(Ie,{isSelected:n?.uid===p.uid,onSelect:()=>{n?.uid===p.uid?(o(void 0),d(!1),u===p.code&&(i(void 0),j(""))):(o(p),j(""),d(!1))},discount:p},p.uid))]}):null,e.jsx(ce,{onOpenChange:t.setShowErrorSheet,isModal:!0,variant:ue.error,title:t.errorText??"",isOpen:t.
1isOpenError,children:e.jsx(D,{onClick:()=>t.closeError(),children:c("common.discard")})}),e.jsx(D,{loading:m,onClick:N,children:c("common.apply")})]})}function Je({setDiscount:a,discount:i}){const l=K(u=>u.setting.activeCountry),[_,c]=h.useState(!1),{t}=q(),n=()=>e.jsxs("div",{className:"flex items-center justify-between ",children:[e.jsx(k,{variant:"body2",children:t("pages.withdraw.subtitles.do_you_have_discount_code")}),e.jsx(C.Status,{onClick:()=>{c(!0)},variant:"info",value:t("pages.withdraw.buttons.import")})]}),o=()=>e.jsxs("div",{className:"space-y-2",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsx(k,{variant:"body2",children:t("pages.withdraw.subtitles.below_discount_code_is_selected")}),e.jsx(C.Status,{onClick:()=>{c(!0)},variant:"success",value:t("pages.withdraw.buttons.change")})]}),e.jsx(O,{amount:i.amount,iconSize:20,iconClassName:"text-black-main",currency:i?.is_foreign_currency?l.currencyAbbreviation:L.currencyAbbreviation})]});return e.jsxs("div",{children:[e.jsx("div",{className:V("rounded-[1.5rem] bg-white-light p-4",{"border-2 border-dashed border-success bg-green-100/5":!!i}),children:i?o():n()}),e.jsx(B,{modal:!0,open:_,onOpenChange:c,children:e.jsx(z,{className:"h-fit overflow-y-auto",children:e.jsxs("div",{className:"space-y-6 p-4",children:[e.jsx(_e,{children:t("pages.withdraw.titles.discounts")}),e.jsx(Ye,{discount:i,setDiscount:a,closeDrawer:()=>c(!1)})]})})})]})}function Qe({trigger:a=!1,setTrigger:i,form:l}){const[_,c]=h.useState(""),t=l.getValues(),{t:n}=q(),{isPendingCheckOffCode:o,setOpenOffCode:u,isOffCodeOpen:j,off_code:g,set_off_code:d,handleApplyingOffCode:x,error:b,isShowError:m,setIsShowError:s,selected_discount:r,setSelectedDiscount:w}=Ge(),{isPending:N,createVoucher:p,isLoadingKiosk:f,getSelectedKiosk:T,user_uid:I,without_discount:S,with_discount:A,create_voucher_error:y,final_gateway_in_rial:P,final_gateway_in_rial_no_discount:Q}=fe({form:l,discount:r,gateway:_}),ye=async()=>{if(t)try{const R=t.file?(await Ke(t.file))[0]:void 0;p({tenant:re,uid:Y(),delivery_value:+t.amount,kiosk_uid:T(t.kiosk_name,t.currency_symbol).uid,user_uid:I,off_code:r?.uid,wallet_payment_currency_amount:r?A.currency_payment_from_wallet:S.currency_payment_from_wallet,wallet_payment_rial_amount:r?te.ceil(A.rial_payment_from_wallet+A.online_charge_in_rial):te.ceil(S.rial_payment_from_wallet+S.online_charge_in_rial),currency_symbol:t.currency_symbol,receiver:{description:t.description,is_payment_fast:t.is_payment_fast,url:t.url&&/^(https?:\/\/)/i.test(t.url)?t.url:`https://${t.url}`,password:t.password,username:t.username,file:R}})}catch(R){console.error("Error transforming files:",R)}};return y.errorText?e.jsx(ce,{title:y.errorText,isOpen:y.isOpenError,isModal:!0,variant:ue.error,onOpenChange:y.setShowErrorSheet,children:e.jsx(D,{onClick:y.closeError,children:n("common.discard")})}):j?e.jsx(B,{onOpenChange:u,modal:!0,open:j,dismissible:!0,children:e.jsxs(z,{className:"h-fit gap-4 p-4",children:[e.jsx(_e,{className:"mb-2 mt-4",children:n("pages.international_payment.add_off_code")}),e.jsx(oe,{value:g,endIcon:g?e.jsx(J,{onClick:()=>{d(""),s(!1),w(void 0)},width:20,height:20,icon:"ic:baseline-clear",className:"text-black-main/75"}):void 0,autoFocus:!0,helperText:m?b:void 0,variant:b&&m?le.error:void 0,onChange:R=>{w(void 0),s(!1),d(R.target.value)},placeholder:n("pages.international_payment.write_off_code_here")}),e.jsxs("div",{className:"mt-2 flex flex-1 gap-2",children:[e.jsx(D,{variant:"outline",onClick:()=>{u(!1),w(void 0),s(!1)},children:n("pages.international_payment.cancel")}),e.jsx(D,{loading:o,disabled:!g,onClick:x,children:n("pages.international_payment.confirm")})]})]})}):e.jsx(B,{onOpenChange:i,modal:!0,open:a,dismissible:!0,children:e.jsxs(z,{className:"h-fit p-4",children:[e.jsxs("div",{className:"overflow-auto",children:[e.jsxs(C.Card,{children:[e.jsx(C.Title,{children:n("pages.international_payment.payment_confirmation")}),e.jsxs(C.Content,{children:[e.jsx(C.Property,{label:n("pages.international_payment.amount_paid"),value:e.jsx(O,{iconSize:20,currency:t.currency_symbol,amount:+t.amount})}),e.jsx(C.Property,{label:n("pages.international_payment.final_payable"),value:e.jsxs("div",{className:V({"flex items-center gap-x-2":r}),children:[r&&Q!==P?e.jsx(O,{className:"text-sm",wrapperClassName:"line-through",iconSize:16,currency:L.currencyAbbreviation,amount:Q}):null,e.jsx(O,{className:"text-lg",currency:L.currencyAbbreviation,amount:P})]})}),e.jsx(C.Property,{label:n("pages.international_payment.currency_pay_from_wallet"),value:e.jsxs("div",{className:V({"flex items-center gap-x-2":r}),children:[r&&A.currency_payment_from_wallet!==S.currency_payment_from_wallet?e.jsx(O,{className:"text-sm",wrapperClassName:"line-through",iconSize:16,currency:t.currency_symbol,amount:S.currency_payment_from_wallet}):null,e.jsx(O,{className:"text-lg",currency:t.currency_symbol,amount:A.currency_payment_from_wallet})]})}),e.jsx(C.Property,{label:n("pages.international_payment.rial_pay_from_wallet"),value:e.jsxs("div",{className:V({"flex items-center gap-x-2":r}),children:[r&&A.rial_payment_from_wallet!==S.rial_payment_from_wallet?e.jsx(O,{className:"text-sm",wrapperClassName:"line-through",iconSize:16,currency:H.rial,amount:S.r
1ial_payment_from_wallet}):null,e.jsx(O,{className:"text-lg",currency:H.rial,amount:A.rial_payment_from_wallet})]})}),e.jsx(C.Property,{label:n("pages.international_payment.kiosk_name"),value:e.jsx(k,{className:"text-grey-dark",variant:"body",children:t.kiosk_name})}),e.jsx(C.Property,{label:n("pages.international_payment.currency_type"),value:e.jsx(k,{className:"text-grey-dark",variant:"body",children:t.currency_symbol})}),t.description?e.jsx(C.Property,{label:n("pages.international_payment.description"),value:e.jsx(k,{className:"break-all text-grey-dark",variant:"body",children:t.description})}):null,t.is_payment_fast?e.jsx(C.Property,{label:n("pages.international_payment.priority_order"),value:e.jsx(k,{className:"text-grey-dark",variant:"body",children:t.is_payment_fast?n("pages.international_payment.yes"):n("pages.international_payment.no")})}):null,r?e.jsx(C.Property,{label:n("pages.international_payment.discount"),value:e.jsx(O,{className:"text-lg",currency:H.rial,amount:r.amount}),icon:e.jsx(k,{className:"rounded-full bg-green-600/15 px-3 py-1 text-green-600",variant:"body2",children:n("pages.international_payment.applied")})}):null]})]}),e.jsx(Je,{discount:r,setDiscount:w}),P>0?e.jsx(Oe,{value:_,onChange:c}):null]}),e.jsxs("div",{className:"mt-4 flex flex-col items-center gap-4",children:[e.jsx("div",{className:"flex w-full bg-white-light",children:e.jsx(D,{type:"submit",onClick:ye,loading:f||N,className:"flex-1",children:n("pages.international_payment.confirm_and_pay")})}),e.jsx(k,{className:"flex gap-1 text-info",variant:"subtitle",children:e.jsx("a",{href:Ae,target:"_blank",className:"text-center text-info",rel:"noreferrer",children:n("pages.international_payment.placing_an_order_constitutes_acceptance_of_the_rules_and_regulations")})})]})]})})}function F({children:a}){return e.jsx("div",{className:"flex flex-col items-start gap-2 md:flex-row",children:a})}function xa(){const{t:a}=q(),i=qe(),[l,_]=h.useState(!1),{kiosks:c,isLoading:t}=pe({enabled:!0,delivery_type:ne.INTERNATIONAL_PAYMENT,select(s){return s.data.results}}),n=Ve({url:E().required().matches(/^(https?:\/\/)?([\w-]+\.)+[\w-]+(\/[\w\-._~:/?#[\]@!$&'()*+,;=%]*)?$/,a("pages.international_payment.should_be_valid_url")),username:E().optional(),password:E().optional(),description:E().optional(),file:We().optional(),is_payment_fast:Ue().default(!1).optional(),kiosk_name:E().required(),currency_symbol:He().required(),amount:E().required()}),o=Le({resolver:Me(n),mode:"onChange",reValidateMode:"onChange",defaultValues:{is_payment_fast:!1,description:"",file:[],password:"",url:"",username:"",kiosk_name:"",amount:"",currency_symbol:""}}),u=o.watch("kiosk_name"),j=o.watch("is_payment_fast"),{final_gateway_in_rial_no_discount:g,isShowBillValue:d}=fe({form:o,discount:void 0}),x=h.useMemo(()=>{const s=new Set;return c?.forEach(r=>{r.name&&s.add(r.name)}),Array.from(s)},[c]),b=h.useMemo(()=>{const s=c?.filter(r=>r.name===u&&r.currency_specs.currencies.length>0);return s&&s.length>0?s[0].currency_specs.currencies.map(r=>r.currency_symbol).filter((r,w,N)=>N.indexOf(r)===w):[]},[c,u]);h.useEffect(()=>{o.resetField("currency_symbol")},[o,u]);const m=async()=>{_(!0)};return e.jsxs(ie,{className:"relative p-[1.5rem]",children:[e.jsx(he,{children:e.jsx("title",{children:a("pages.international_payment.title")})}),t?e.jsx(Pe,{}):null,e.jsx(Ee,{title:a("pages.international_payment.title"),leftElement:e.jsx(J,{onClick:()=>{i(-1)},icon:"solar:arrow-left-outline",className:"text-black-main active:rounded-full active:bg-grey-light",width:24,height:24})}),l?e.jsx(Qe,{form:o,trigger:l,setTrigger:_}):null,e.jsxs(De,{buttonTitle:a("pages.international_payment.place_an_order"),onSubmit:o.handleSubmit(m),methods:o,children:[e.jsxs(F,{children:[e.jsx(Z,{name:"kiosk_name",label:a("pages.international_payment.type_of_service"),required:!0,children:e.jsx("div",{className:"w-full",children:x.map(s=>e.jsx(ee,{value:s,children:s},s))})}),e.jsx(Z,{disabled:!u,name:"currency_symbol",label:a("pages.international_payment.currency_type"),required:!0,children:e.jsx("div",{className:"w-full",children:b.map(s=>e.jsx(ee,{value:s,children:s},s))})})]}),e.jsxs(F,{children:[e.jsx(Re,{parentClassName:"w-full",name:"amount",label:a("pages.international_payment.amount_paid"),char:",",step:3,required:!0}),e.jsx($,{parentClassName:"w-full",name:"url",required:!0,label:a("pages.international_payment.payment_page_url"),dir:"ltr"})]}),e.jsxs(F,{children:[e.jsx($,{parentClassName:"w-full",type:"text",name:"username",label:a("pages.international_payment.username"),dir:"ltr"}),e.jsx($,{parentClassName:"w-full",type:"text","aria-autocomplete":"none",name:"password",label:a("pages.international_payment.password"),dir:"ltr"})]}),e.jsx(F,{children:e.jsx(Fe,{name:"description",label:a("pages.international_payment.description")})}),e.jsx(F,{children:e.jsx($e,{name:"file",label:a("pages.international_payment.image_or_file")})}),e.jsxs("div",{className:"mt-2 flex flex-1 flex-col items-start justify-start gap-2",children:[e.jsx(Be,{name:"is_payment_fast",label:a("pages.international_payment.order_fulfillment_with_priority")}),e.jsx(k,{className:"text-xs",variant:j?"body":"subtitle",children:a("pages.international_payment.order_fulfillment_with_priority_description")})]}),d?e.jsxs("div",{className:"mt-4 flex items-center justify-between gap-2 rounded-full bg-info/10 p-4",children:[e.jsxs(k,{className:"text-info",variant:"body",children:[a("pages.international_payment.final_payable"),":"]}),e.jsx(O,{className:"text-info",iconClassName:"text-info",currency:H.rial,amount:g,variant:"title"})]}):null]})]})}export{xa 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.