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,IAAPD,GAAwBA,EACtH,OAAOR,EAAAA,EAAAA,KAAgB,SAAUC,EAAkBS,GACT,kBAA3BT,EAAiBU,QACxBV,EAAiBU,MAAQb,OAAOc,OAAO,OAE3C,IAAID,EAAQV,EAAiBU,MACF,kBAAhBA,EAAMN,IAAuBX,MAAMC,QAAQgB,EAAMN,IAG5B,qBAAhBM,EAAMN,KAClBM,EAAMN,GAAQ,IAHdM,EAAMN,GAAQ,CAACM,EAAMN,IAKzBM,EAAMN,GAAMQ,KAAK,CAAEH,QAASA,EAASH,KAAMA,EAAME,UAAWA,GAChE,GACJ,C","sources":["webpack://sto-fm-manager/./src/components/LocaleSwitch.vue","webpack://sto-fm-manager/./src/components/LocaleSwitch.vue?35b6","webpack://sto-fm-manager/./src/components/LocaleSwitch.vue?0376","webpack://sto-fm-manager/./src/components/LocaleSwitch.vue?823d","webpack://sto-fm-manager/./src/components/LocaleSwitch.vue?00ff","webpack://sto-fm-manager/./src/layouts/auth.vue","webpack://sto-fm-manager/./src/components/layouts/AuthHeader.vue","webpack://sto-fm-manager/./src/components/layouts/AuthHeader.vue?f362","webpack://sto-fm-manager/./src/components/layouts/AuthHeader.vue?17ba","webpack://sto-fm-manager/./src/components/layouts/AuthHeader.vue?08fc","webpack://sto-fm-manager/./src/layouts/auth.vue?aae4","webpack://sto-fm-manager/./src/layouts/auth.vue?145f","webpack://sto-fm-manager/./src/layouts/auth.vue?0fbd","webpack://sto-fm-manager/./node_modules/vue-property-decorator/lib/helpers/metadata.js","webpack://sto-fm-manager/./node_modules/vue-property-decorator/lib/decorators/Prop.js","webpack://sto-fm-manager/./node_modules/vue-property-decorator/lib/decorators/Watch.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('dtt-context-menu',{scopedSlots:_vm._u([{key:\"content\",fn:function({ toggle }){return [_c('div',{class:_vm.$style['locale-wrapper']},_vm._l((_vm.locales),function(loc){return _c('div',{key:loc.value,class:[_vm.$style.locale, loc.value === _vm.locale && _vm.$style.active],on:{\"click\":function($event){_vm.handleClick(loc);\n toggle();}}},[_c('dtt-icon',{attrs:{\"width\":\"20px\",\"height\":\"20px\",\"view-box\":\"0 0 16 12\",\"name\":loc.icon}})],1)}),0)]}}])},[_c('div',{class:_vm.$style['lang-switch']},[_c('div',{class:_vm.$style.lang},[_c('dtt-icon',{attrs:{\"width\":\"20px\",\"height\":\"20px\",\"view-box\":\"0 0 16 12\",\"name\":_vm.selectedLocale?.icon}})],1),_c('dtt-icon',{attrs:{\"name\":\"arrow-down\",\"height\":\"2rem\",\"width\":\"2rem\"}})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { Component, Vue } from 'vue-property-decorator';\nimport { setI18nLanguage } from '@/i18n';\n\n@Component\nexport default class LocaleSwitch extends Vue {\n locale = 'ru';\n\n locales = [\n {\n icon: 'country-russia',\n value: 'ru',\n },\n {\n icon: 'country-uk',\n value: 'en',\n },\n ];\n\n get selectedLocale() {\n return this.locales.find((l) => l.value === this.locale);\n }\n\n handleClick(locale: (typeof this.locales)[0]) {\n this.locale = locale.value;\n setI18nLanguage(this.locale);\n }\n\n beforeMount() {\n this.locale = this.$i18n.locale;\n }\n}\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LocaleSwitch.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./LocaleSwitch.vue?vue&type=script&lang=ts&\"","// extracted by mini-css-extract-plugin\nexport default {\"lang-switch\":\"LocaleSwitch_lang-switch_yUVUT\",\"lang\":\"LocaleSwitch_lang_wof06\",\"locale-wrapper\":\"LocaleSwitch_locale-wrapper_YuKx4\",\"locale\":\"LocaleSwitch_locale_Kthhc\",\"active\":\"LocaleSwitch_active_X840y\"};","import { render, staticRenderFns } from \"./LocaleSwitch.vue?vue&type=template&id=48ce4373&\"\nimport script from \"./LocaleSwitch.vue?vue&type=script&lang=ts&\"\nexport * from \"./LocaleSwitch.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./LocaleSwitch.vue?vue&type=style&index=0&id=48ce4373&prod&lang=scss&module=true&\"\n\n\n\n\nfunction injectStyles (context) {\n \n this[\"$style\"] = (style0.locals || style0)\n\n}\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n injectStyles,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"layout-auth\"},[_c('AuthHeader'),_c('div',{staticClass:\"layout-auth__form\"},[_vm._t(\"default\")],2)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"auth-header\"},[_c('img',{staticClass:\"auth-header__logo\",attrs:{\"src\":require(\"@/assets/images/logo-white.svg\"),\"alt\":\"DTT\"}}),_c('div',{staticClass:\"auth-header__text\"},[_c('dtt-title',{staticClass:\"auth-header__title\",attrs:{\"tag\":\"h2\"}},[_vm._v(\" \"+_vm._s(_vm.$t('header.title'))+\" \")]),_c('span',{staticClass:\"auth-header__subtitle\"},[_vm._v(\" \"+_vm._s(_vm.$t('header.description'))+\" \")])],1),_c('locale-switch',{staticClass:\"auth-header__switch\"})],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport Component from 'vue-class-component';\nimport LocaleSwitch from '@/components/LocaleSwitch.vue';\nimport Vue from 'vue';\n\n@Component({\n name: 'AuthHeader',\n components: { LocaleSwitch },\n})\nexport default class AuthHeader extends Vue {}\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AuthHeader.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./AuthHeader.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./AuthHeader.vue?vue&type=template&id=2ec53208&scoped=true&\"\nimport script from \"./AuthHeader.vue?vue&type=script&lang=ts&\"\nexport * from \"./AuthHeader.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./AuthHeader.vue?vue&type=style&index=0&id=2ec53208&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"2ec53208\",\n null\n \n)\n\nexport default component.exports","\nimport Component from 'vue-class-component';\nimport Vue from 'vue';\nimport AuthHeader from '@/components/layouts/AuthHeader.vue';\n\n@Component({\n name: 'LayoutAuth',\n components: { AuthHeader },\n})\nexport default class LayoutAuth extends Vue {}\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./auth.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./auth.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./auth.vue?vue&type=template&id=5494c010&scoped=true&\"\nimport script from \"./auth.vue?vue&type=script&lang=ts&\"\nexport * from \"./auth.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./auth.vue?vue&type=style&index=0&id=5494c010&prod&lang=scss&scoped=true&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"5494c010\",\n null\n \n)\n\nexport default component.exports","/** @see {@link https://github.com/vuejs/vue-class-component/blob/master/src/reflect.ts} */\nvar reflectMetadataIsSupported = typeof Reflect !== 'undefined' && typeof Reflect.getMetadata !== 'undefined';\nexport function applyMetadata(options, target, key) {\n if (reflectMetadataIsSupported) {\n if (!Array.isArray(options) &&\n typeof options !== 'function' &&\n !options.hasOwnProperty('type') &&\n typeof options.type === 'undefined') {\n var type = Reflect.getMetadata('design:type', target, key);\n if (type !== Object) {\n options.type = type;\n }\n }\n }\n}\n","import { createDecorator } from 'vue-class-component';\nimport { applyMetadata } from '../helpers/metadata';\n/**\n * decorator of a prop\n * @param options the options for the prop\n * @return PropertyDecorator | void\n */\nexport function Prop(options) {\n if (options === void 0) { options = {}; }\n return function (target, key) {\n applyMetadata(options, target, key);\n createDecorator(function (componentOptions, k) {\n ;\n (componentOptions.props || (componentOptions.props = {}))[k] = options;\n })(target, key);\n };\n}\n","import { createDecorator } from 'vue-class-component';\n/**\n * decorator of a watch function\n * @param path the path or the expression to observe\n * @param WatchOption\n * @return MethodDecorator\n */\nexport function Watch(path, options) {\n if (options === void 0) { options = {}; }\n var _a = options.deep, deep = _a === void 0 ? false : _a, _b = options.immediate, immediate = _b === void 0 ? false : _b;\n return createDecorator(function (componentOptions, handler) {\n if (typeof componentOptions.watch !== 'object') {\n componentOptions.watch = Object.create(null);\n }\n var watch = componentOptions.watch;\n if (typeof watch[path] === 'object' && !Array.isArray(watch[path])) {\n watch[path] = [watch[path]];\n }\n else if (typeof watch[path] === 'undefined') {\n watch[path] = [];\n }\n watch[path].push({ handler: handler, deep: deep, immediate: immediate });\n });\n}\n"],"names":["render","_vm","this","_c","_self","_setupProxy","scopedSlots","_u","key","fn","toggle","class","$style","_l","locales","loc","value","locale","active","on","$event","handleClick","attrs","icon","lang","selectedLocale","staticRenderFns","LocaleSwitch","Vue","constructor","args","_defineProperty","find","l","setI18nLanguage","beforeMount","$i18n","__decorate","Component","injectStyles","context","locals","component","staticClass","_t","require","_v","_s","$t","AuthHeader","name","components","LayoutAuth","reflectMetadataIsSupported","Reflect","getMetadata","applyMetadata","options","target","Array","isArray","hasOwnProperty","type","Object","Prop","createDecorator","componentOptions","k","props","Watch","path","_a","deep","_b","immediate","handler","watch","create","push"],"sourceRoot":""}