PageSourceSearch

https://www.globkurier.pl/_nuxt/AUeqlGs8.js

js globkurier.pl collected 2026-10-02 05:03:56 UTC 4,008 bytes, 1 lines download raw bytes

1import{_ as R}from"./DOb6vruo.js";import{t as A,_ as F}from"./B1XUO2sV.js";import{e as H,j as J,q as M,L as K,o as m,m as P,b as n,w as p,c as x,g as V,n as o,f as e,a as l,t as c,G as B,h as C,d as S,T as N,Q as W,i as f}from"./BHP4PUT6.js";import{a as X}from"./BI_fQaD7.js";import{u as Y}from"./C65kc4rl.js";import"./Dgpxn816.js";import"./qQEE2MF3.js";import"./Dzxr87d_.js";import"./CoYAnD4J.js";const Z=H({__name:"LocaleCurrencyModal",props:{open:{type:Boolean,default:!1}},emits:["update:open"],setup(y,{emit:O}){const T=A({slots:{overlay:"fixed inset-0 z-50 h-screen overflow-x-hidden overflow-y-auto outline-none",dialog:"absolute left-4 right-4 top-1/2 w-auto -translate-y-1/2 p-0 sm:left-1/2 sm:right-auto sm:w-full sm:max-w-md sm:-translate-x-1/2",content:"relative bg-white outline-none",header:"px-10 pb-4 pt-8 sm:pb-6 sm:pt-12",title:"m-0 text-left text-lg font-bold leading-tight text-gk-text-strong sm:text-2xl",body:"px-10 pb-10 pt-6 sm:pb-8",field:"mx-auto mb-6 max-w-xs",label:"mb-2 block text-left text-sm font-bold text-gk-text-menu",hint:"mt-1.5 block text-xs text-gk-text-muted",actions:"mx-auto mt-8 grid max-w-xs grid-cols-1 gap-4 sm:grid-cols-2",backdrop:"fixed inset-0 z-40 bg-gk-menu-panel opacity-95"}}),k=y,U=O,{t:s}=J(),{currenciesLoading:z,currencyOptions:I,currentLocation:_,loadCurrencies:j,localeCurrencyLocations:D,saveSettings:q,selectedCurrency:h}=X(),r=M(_.value.code),i=M(h.value),a=T(),v=f({get:()=>r.value,set:t=>{r.value=t}}),g=f({get:()=>i.value,set:t=>{i.value=t}}),E=f(()=>D.map(t=>({label:t.label,value:t.code,flagIsoCode:t.flagIsoCode}))),G=f(()=>I.value.map(t=>({label:t.key,value:t.value}))),u=()=>{U("update:open",!1)},Q=async()=>{await q(r.value,i.value)||u()};return Y(()=>k.open,u),K(()=>k.open,t=>{t&&(r.value=_.value.code,i.value=h.value,j())},{immediate:!0}),(t,d)=>{const w=R,L=F;return m(),P(W,{to:"body"},[n(N,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:p(()=>[y.open?(m(),x("div",{key:0,class:o(e(a).overlay()),role:"dialog",tabindex:"-1",onClick:V(u,["self"])},[l("div",{class:o(e(a).dialog())},[l("div",{class:o(e(a).content())},[l("header",{class:o(e(a).header())},[l("h2",{class:o(e(a).title())},c(e(s)("localeCurrency.settings.title")),3)],2),l("form",{class:o(e(a).body()),onSubmit:V(Q,["prevent"])},[l("div",{class:o(e(a).field())},[l("label",{class:o(e(a).label()),for:"locale-currency-location"},c(e(s)("localeCurrency.settings.countryLabel")),3),n(w,{id:"locale-currency-location",modelValue:e(v),"onUpdate:modelValue":d[0]||(d[0]=b=>B(v)?v.value=b:null),options:e(E)},null,8,["modelValue","options"])],2),l("div",{class:o(e(a).field())},[l("label",{class:o(e(a).label()),for:"locale-currency-currency"},c(e(s)("localeCurrency.settings.currencyLabel")),3),n(w,{id:"locale-currency-currency",modelValue:e(g),"onUpdate:modelValue":d[1]||(d[1]=b=>B(g)?g.value=b:null),options:e(G)},null,8,["modelValue","options"]),e(z)?(m(),x("span",{key:0,class:o(e(a).hint())},c(e(s)("localeCurrency.loadingCurrencies")),3)):C("",!0)],2),l("div",{class:o(e(a).actions())},[n(L,{class:"min-h-12 w-full",color:"primary",compact:"",type:"submit"},{default:p(()=>[S(c(e(s)("localeCurrency.settingsChangeModal.okButton")),1)]),_:1}),n(L,{class:"min-h-12 w-full",compact:"",type:"button",variant:"outline",onClick:u},{default:p(()=>[S(c(e(s)("localeCurrency.settingsChangeModal.cancelButton")),1)]),_:1})],2)],34)],2)],2)],2)):C("",!0)]),_:1}),n(N,{"enter-active-class":"transition duration-200 ease-out","enter-from-class":"opacity-0","enter-to-class":"opacity-100","leave-active-class":"transition duration-150 ease-in","leave-from-class":"opacity-100","leave-to-class":"opacity-0"},{default:p(()=>[y.open?(m(),x("div",{key:0,class:o(e(a).backdrop())},null,2)):C("",!0)]),_:1})])}}}),re=Object.assign(Z,{__name:"LocaleCurrencyModal"});export{re 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.