1 line
1.6 KiB
JavaScript
1 line
1.6 KiB
JavaScript
import{_ as t}from"./iframe-ByhF-tYZ.js";import{r as e,i,b as l}from"./runtime-VldLyBWb.js";import"../sb-preview/runtime.js";import"./index-CmSOPqre.js";import"./utils-AUSSiI9x.js";import"./_commonjsHelpers-Cpj98o6Y.js";import"./tslib.es6-pJfR_DrR.js";const _="en";e("bg",()=>t(()=>import("./bg-GDbaIxF5.js"),[],import.meta.url));e("de",()=>t(()=>import("./de-Cg3jmEKR.js"),[],import.meta.url));e("en",()=>t(()=>import("./en-Cu9di5DM.js"),[],import.meta.url));e("he",()=>t(()=>import("./he-389ZJzSc.js"),[],import.meta.url));e("pl",()=>t(()=>import("./pl-boc8SZpr.js"),[],import.meta.url));i({fallbackLocale:_,initialLocale:window.navigator.language});function m(o){return["he"].includes(o)?"rtl":"ltr"}e("bg",()=>t(()=>import("./bg-GDbaIxF5.js"),[],import.meta.url));e("de",()=>t(()=>import("./de-Cg3jmEKR.js"),[],import.meta.url));e("en",()=>t(()=>import("./en-Cu9di5DM.js"),[],import.meta.url));e("he",()=>t(()=>import("./he-389ZJzSc.js"),[],import.meta.url));e("pl",()=>t(()=>import("./pl-boc8SZpr.js"),[],import.meta.url));i({fallbackLocale:"en",initialLocale:"en"});l.set("en");function n(o,a){const r=a.globals.locale;return l.set(r),document.dir=m(r),o()}const L={globalTypes:{locale:{description:"Internationalization locale",defaultValue:"en",toolbar:{icon:"globe",items:[{value:"bg",title:"Bulgarian"},{value:"de",title:"German"},{value:"en",title:"English"},{value:"he",title:"Hebrew"},{value:"pl",title:"Polish"}]}}},parameters:{actions:{argTypesRegex:"^on[A-Z].*"},controls:{matchers:{color:/(background|color)$/i,date:/Date$/i}}}},g=[n];export{g as decorators,L as default};
|