1import y from"./Modal-Bjrjs-hG.js";import{H as _}from"./Hydrated-CXMyZhhT.js";import{r,o as a,c as g,w as o,b,e as s,f as w,t as h,h as V,a as S,m as k,j as C}from"./vendor-vue-DIYad8M1.js";import{a as F}from"./index-f-847hR-.js";import"./HtmlContent-A9AczmG8.js";import"./fullscreen-u8WF8tFM.js";import"./modulepreload-polyfill-CX_K8GS1.js";import"./vendor-howler-CJqtEv0-.js";import"./vendor-socket-C1FSkFaK.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"66e1116"};var t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a86f5620-a738-4325-889f-5b708d4eec1a",e._sentryDebugIdIdentifier="sentry-dbid-a86f5620-a738-4325-889f-5b708d4eec1a")}catch{}})();const x={name:"ModalsCurrencySwitchInfo",components:{Modal:y},mixins:[_],computed:{...C("currency",["prices","fiat","secondary_fiat","previousCurrencyView"]),currencyViewState:{get(){return this.isHydrated&&this.previousCurrencyView},set(e){e!==this.previousCurrencyView&&this.toggleCurrencyView()}},currentFiat:{get(){return this.fiat},set(e){e==="usd"?(this.setSecondaryFiat(this.fiat),this.setFiat(e)):(this.setFiat(e),this.setSecondaryFiat("usd"))}}},methods:{...k("currency",["setFiat","setSecondaryFiat","toggleCurrencyView"])}},I={key:0,class:"d-flex row align-items-center pl-2 mb-4"};function v(e,t,c,E,D,i){const l=r("ui-checkbox"),u=r("ui-select"),d=r("ui-form-group"),p=r("i18n-t"),m=r("ui-alert"),f=r("modal");return a(),g(f,{class:"cs-info",title:e.$t("settings.currency_switch.title"),size:"md","ok-title":e.$t("general.done"),"show-footer":!0},{default:o(()=>[e.prices?(a(),b("div",I,[s(l,{modelValue:i.currencyViewState,"onUpdate:modelValue":t[0]||(t[0]=n=>i.currencyViewState=n)},{default:o(()=>[w(h(e.$t("general.display_local_currency")),1)]),_:1},8,["modelValue"]),s(d,{class:"cs-info-form d-flex mb-0 pl-2","input-selector":"input"},{default:o(()=>[s(u,{modelValue:i.currentFiat,"onUpdate:modelValue":t[1]||(t[1]=n=>i.currentFiat=n),class:"text-uppercase",options:Object.keys(e.prices.btc)},null,8,["modelValue","options"])]),_:1})])):V("",!0),s(m,{class:"text-center mb-0",show:"",variant:"primary"},{default:o(()=>[s(p,{keypath:"settings.currency_switch.info",scope:"global",tag:"span"},{br:o(()=>[...t[2]||(t[2]=[S("br",null,null,-1)])]),_:1})]),_:1})]),_:1},8,["title","ok-title"])}const z=F(x,[["render",v]]);export{z 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.