import{u as k,b as d,A as l}from"./index-_04Sks9N.js";import{y as p,A as g,o as f,e as b,f as o,m as t,k as v,l as h,C as c,t as i}from"./vendor-wgE37vvX.js";function m(a){const r=a;r.__i18n=r.__i18n||[],r.__i18n.push({locale:"",resource:{cs:{close:n=>{const{normalize:e}=n;return e(["OdmĂtnout"])},cookie_use_agreement:n=>{const{normalize:e}=n;return e(["Mixit potĹ™ebuje váš souhlas s pouĹľitĂm souborĹŻ cookies, aby se vám mohli zobrazovat informace v souladu s vašimi zájmy."])},more_information:n=>{const{normalize:e}=n;return e(["Dalšà informace"])},ok:n=>{const{normalize:e}=n;return e(["SouhlasĂm"])},settings:n=>{const{normalize:e}=n;return e(["NastavenĂ"])}},sk:{close:n=>{const{normalize:e}=n;return e(["ZavrieĹĄ"])},cookie_use_agreement:n=>{const{normalize:e}=n;return e(["Mixit potrebuje Váš sĂşhlas s pouĹľitĂm sĂşborov cookies, aby sa Vám mohli zobrazovaĹĄ informácie v sĂşlade s Vašimi záujmami."])},more_information:n=>{const{normalize:e}=n;return e(["ÄŽalšie informácie"])},ok:n=>{const{normalize:e}=n;return e(["OK"])},settings:n=>{const{normalize:e}=n;return e(["Nastavenia"])}},pl:{close:n=>{const{normalize:e}=n;return e(["Zrezygnuj"])},cookie_use_agreement:n=>{const{normalize:e}=n;return e(["Mixit potrzebuje Twojej zgody na korzystanie z plikĂłw cookies, aby mĂłc wyĹ›wietlać informacje zgodnie z Twoimi zainteresowaniami."])},more_information:n=>{const{normalize:e}=n;return e(["WiÄ™cej informacji"])},ok:n=>{const{normalize:e}=n;return e(["Ok"])},settings:n=>{const{normalize:e}=n;return e(["Ustawienia"])}},hu:{close:n=>{const{normalize:e}=n;return e(["VisszautasĂtani"])},cookie_use_agreement:n=>{const{normalize:e}=n;return e(["A Mixitnek szĂĽksĂ©ge van a hozzájárulásodra ahhoz, hogy a sĂĽtiket a te Ă©rdeklĹ‘dĂ©si körödnek megfelelĹ‘ informáciĂłk megjelenĂtĂ©sĂ©hez használhassa."])},more_information:n=>{const{normalize:e}=n;return e(["További informáciĂł"])},ok:n=>{const{normalize:e}=n;return e(["OK"])},settings:n=>{const{normalize:e}=n;return e(["BeállĂtások"])}},de:{close:n=>{const{normalize:e}=n;return e(["Ablehnen"])},cookie_use_agreement:n=>{const{normalize:e}=n;return e(["Mixit benötigt Deine Zustimmung zur Verwendung von Cookies, um Dir Informationen zu zeigen, die Deinen Interessen entsprechen."])},more_information:n=>{const{normalize:e}=n;return e(["Weitere Informationen"])},ok:n=>{const{normalize:e}=n;return e(["Ok"])},settings:n=>{const{normalize:e}=n;return e(["Einstellungen"])}},at:{close:n=>{const{normalize:e}=n;return e(["Ablehnen"])},cookie_use_agreement:n=>{const{normalize:e}=n;return e(["Mixit benötigt Deine Zustimmung zur Verwendung von Cookies, um Dir Informationen zu zeigen, die Deinen Interessen entsprechen."])},more_information:n=>{const{normalize:e}=n;return e(["Weitere Informationen"])},ok:n=>{const{normalize:e}=n;return e(["Ok"])},settings:n=>{const{normalize:e}=n;return e(["Einstellungen"])}},ro:{close:n=>{const{normalize:e}=n;return e(["RefuzaČ›i"])},cookie_use_agreement:n=>{const{normalize:e}=n;return e(["Mixit are nevoie de consimČ›Ämântul dvs. pentru utilizarea cookie-urilor, astfel Ă®ncât acestea sÄ vÄ poatÄ afiČ™a informaČ›ii Ă®n conformitate cu interesele dvs."])},more_information:n=>{const{normalize:e}=n;return e(["Mai multe informaČ›ii"])},ok:n=>{const{normalize:e}=n;return e(["OK"])},settings:n=>{const{normalize:e}=n;return e(["SetÄri"])}}}})}const y={class:"cookie-bar shadow"},x={class:"bar-container text-center"},C=o("div",{class:"bar-title font-bold mb-lg-3 mb-2"},[o("i",{class:"mi-cookies icon-32px mr-1 mi-lh-1"}),c(" Cookies ")],-1),j=["innerHTML"],w={__name:"CookieBar",setup(a){const{openModal:r}=k(),{setCookieConsentSettings:n}=d(),{t:e}=p(),u=async()=>{n(["analytic","personal","advertisement"]),await l.post("cookie_consent_stats",{advertisment_agreed:!0,personalized_agreed:!0,analytics_agreed:!0})},z=async()=>{n([]),await l.post("cookie_consent_stats",{advertisment_agreed:!1,personalized_agreed:!1,analytics_agreed:!1})};return(M,s)=>{const _=g("router-link");return f(),b("div",y,[o("div",x,[C,o("p",null,[o("span",{class:"px-1",innerHTML:t(e)("cookie_use_agreement")},null,8,j),v(_,{to:{name:"cookiesPath"}},{default:h(()=>[c(i(t(e)("more_information")),1)]),_:1})]),o("button",{type:"button",class:"btn btn-success py-3 px-6 rounded-pill mr-3",onClick:u},i(t(e)("ok")),1),o("button",{type:"button",class:"btn btn-outline-primary py-3 px-4 mr-1 rounded-pill",onClick:s[0]||(s[0]=V=>t(r)({id:"modal-cookies"}))},i(t(e)("settings")),1),o("button",{type:"button",class:"btn py-3 px-4 rounded-pill underline",onClick:z},i(t(e)("close")),1)])])}}};typeof m=="function"&&m(w);export{w as default};