import{S as a}from"./SvgIcon-unOD6nfS.js";import{a4 as s,o,b as e,q as t,h as c,u as n}from"./vendor-jA_NIjzi.js";import{u as r,l as i,q as m,F as l}from"./common-utils-8H8K2JPG.js";import{_ as u}from"./common-store-e_1WBubm.js";const p={class:"order-page-back-button"},f=["src"],d=u({__name:"OrderPageBackButton",emits:["left"],setup(u,{emit:d}){const k=d,g=s(),{theme:b}=r(),_=()=>{m()?l("home"):g.push("/")};return(s,r)=>(o(),e("div",p,[t(a,{name:"backIcon",class:"back-icon",onClick:r[0]||(r[0]=a=>{m()?"/fundDetails"==window.history.state.back?k("left"):l("back"):k("left")})}),r[1]||(r[1]=c("i",{class:"line"},null,-1)),c("img",{src:n(i)("recharge/front-page-icon-".concat(n(b),".png")),alt:"",onClick:_},null,8,f)]))}},[["__scopeId","data-v-a36aa06e"],["__file","OrderPageBackButton.vue"]]);export{d as O};
