!function(o){function t(s){if(e[s])return e[s].exports;var n=e[s]={exports:{},id:s,loaded:!1};return o[s].call(n.exports,n,n.exports,t),n.loaded=!0,n.exports}var e={};return t.m=o,t.c=e,t.p="",t(0)}([function(o,t,e){window.Settings={el:"#settings",data:function(){return window.$settings},ready:function(){UIkit.tab(this.$els.tab,{connect:this.$els.content})},computed:{sections:function(){var o=[];return _.forIn(this.$options.components,function(t,e){var s=t.options||{},n=s.section;n&&(n.name=e,o.push(n))}),o}},methods:{save:function(){this.$broadcast("save",this.$data),this.$resource("admin/system/settings/save").save({config:this.config,options:this.options}).then(function(){this.$notify("Settings saved.")},function(o){this.$notify(o.data,"danger")})}},components:{locale:e(5),system:e(6)}},Vue.ready(window.Settings)},function(o,t){"use strict";o.exports={section:{label:"Localization",icon:"pk-icon-large-pin",priority:20},props:["config","options"],data:function(){return{locales:window.$system.locales}},computed:{link:function(){return'<a href="https://www.transifex.com/pagekit/pagekit-cms/">Transifex</a>'},option:function(){return this.$root.$get("options.system")}}}},function(o,t){"use strict";o.exports={section:{label:"System",icon:"pk-icon-large-settings",priority:10},props:["config","options"],data:function(){return window.$system}}},function(o,t){o.exports=" <div class=\"uk-margin uk-flex uk-flex-space-between uk-flex-wrap\" data-uk-margin> <div data-uk-margin> <h2 class=uk-margin-remove>{{ 'Localization' | trans }}</h2> </div> <div data-uk-margin> <button class=\"uk-button uk-button-primary\" type=submit>{{ 'Save' | trans }}</button> </div> </div> <div class=uk-form-row> <label for=form-sitelocale class=uk-form-label>{{ 'Site Locale' | trans }}</label> <div class=uk-form-controls> <select id=form-sitelocale class=uk-form-width-large v-model=option.site.locale> <option v-for=\"lang in locales\" :value=$key>{{ lang }}</option> </select> </div> </div> <div class=uk-form-row> <label for=form-adminlocale class=uk-form-label>{{ 'Admin Locale' | trans }}</label> <div class=uk-form-controls> <select id=form-adminlocale class=uk-form-width-large v-model=option.admin.locale> <option v-for=\"lang in locales\" :value=$key>{{ lang }}</option> </select> </div> </div> <p>{{{ 'Is your language not available? Please help out by translating Pagekit into your own language on %link%.' | trans {link:link} }}}</p> "},function(o,t){o.exports=" <div class=\"uk-margin uk-flex uk-flex-space-between uk-flex-wrap\" data-uk-margin> <div data-uk-margin> <h2 class=uk-margin-remove>{{ 'System' | trans }}</h2> </div> <div data-uk-margin> <button class=\"uk-button uk-button-primary\" type=submit>{{ 'Save' | trans }}</button> </div> </div> <div class=uk-form-row> <label for=form-storage class=uk-form-label>{{ 'Storage' | trans }}</label> <div class=uk-form-controls> <input id=form-storage class=uk-form-width-large type=text placeholder=/storage v-model=\"$root.config['system/finder'].storage\"> </div> </div> <div class=uk-form-row> <label for=form-fileextensions class=uk-form-label>{{ 'File Extensions' | trans }}</label> <div class=uk-form-controls> <input id=form-fileextensions class=uk-form-width-large type=text v-model=\"$root.options['system/finder']['extensions']\"> <p class=uk-form-help-block>{{ 'Allowed file extensions for the storage upload.' | trans }}</p> </div> </div> <div class=uk-form-row> <span class=uk-form-label>{{ 'Developer' | trans }}</span> <div class=\"uk-form-controls uk-form-controls-text\"> <p class=uk-form-controls-condensed> <label><input type=checkbox value=1 v-model=$root.config.application.debug> {{ 'Enable debug mode' | trans }}</label> </p> <p class=uk-form-controls-condensed> <label><input type=checkbox value=1 v-model=$root.config.debug.enabled :disabled=!sqlite> {{ 'Enable debug toolbar' | trans }}</label> </p> <p class=uk-form-help-block v-if=!sqlite>{{ 'Please enable the SQLite database extension.' | trans }}</p> </div> </div> "},function(o,t,e){var s,n;s=e(1),n=e(3),o.exports=s||{},o.exports.__esModule&&(o.exports=o.exports["default"]),n&&(("function"==typeof o.exports?o.exports.options||(o.exports.options={}):o.exports).template=n)},function(o,t,e){var s,n;s=e(2),n=e(4),o.exports=s||{},o.exports.__esModule&&(o.exports=o.exports["default"]),n&&(("function"==typeof o.exports?o.exports.options||(o.exports.options={}):o.exports).template=n)}]);