зеркало из https://github.com/nextcloud/activity.git
1 строка
94 KiB
Plaintext
1 строка
94 KiB
Plaintext
{"version":3,"file":"settings-store-Ce8jp8fS.chunk.mjs","sources":["../node_modules/vuex/dist/vuex.esm.js","../node_modules/@nextcloud/vue/dist/chunks/NcSettingsSection-V9DkkSuI.mjs","../node_modules/vue-material-design-icons/CheckboxBlankOutline.vue","../node_modules/vue-material-design-icons/CheckboxBlank.vue","../node_modules/vue-material-design-icons/MinusBox.vue","../node_modules/vue-material-design-icons/CheckboxMarked.vue","../src/components/Checkbox.vue","../src/utils/settings.ts","../src/components/ActivityGrid.vue","../src/store/settings-store.js"],"sourcesContent":["/*!\n * vuex v3.6.2\n * (c) 2021 Evan You\n * @license MIT\n */\nfunction applyMixin (Vue) {\n var version = Number(Vue.version.split('.')[0]);\n\n if (version >= 2) {\n Vue.mixin({ beforeCreate: vuexInit });\n } else {\n // override init and inject vuex init procedure\n // for 1.x backwards compatibility.\n var _init = Vue.prototype._init;\n Vue.prototype._init = function (options) {\n if ( options === void 0 ) options = {};\n\n options.init = options.init\n ? [vuexInit].concat(options.init)\n : vuexInit;\n _init.call(this, options);\n };\n }\n\n /**\n * Vuex init hook, injected into each instances init hooks list.\n */\n\n function vuexInit () {\n var options = this.$options;\n // store injection\n if (options.store) {\n this.$store = typeof options.store === 'function'\n ? options.store()\n : options.store;\n } else if (options.parent && options.parent.$store) {\n this.$store = options.parent.$store;\n }\n }\n}\n\nvar target = typeof window !== 'undefined'\n ? window\n : typeof global !== 'undefined'\n ? global\n : {};\nvar devtoolHook = target.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n\nfunction devtoolPlugin (store) {\n if (!devtoolHook) { return }\n\n store._devtoolHook = devtoolHook;\n\n devtoolHook.emit('vuex:init', store);\n\n devtoolHook.on('vuex:travel-to-state', function (targetState) {\n store.replaceState(targetState);\n });\n\n store.subscribe(function (mutation, state) {\n devtoolHook.emit('vuex:mutation', mutation, state);\n }, { prepend: true });\n\n store.subscribeAction(function (action, state) {\n devtoolHook.emit('vuex:action', action, state);\n }, { prepend: true });\n}\n\n/**\n * Get the first item that pass the test\n * by second argument function\n *\n * @param {Array} list\n * @param {Function} f\n * @return {*}\n */\nfunction find (list, f) {\n return list.filter(f)[0]\n}\n\n/**\n * Deep copy the given object considering circular structure.\n * This function caches all nested objects and its copies.\n * If it detects circular structure, use cached copy to avoid infinite loop.\n *\n * @param {*} obj\n * @param {Array<Object>} cache\n * @return {*}\n */\nfunction deepCopy (obj, cache) {\n if ( cache === void 0 ) cache = [];\n\n // just return if obj is immutable value\n if (obj === null || typeof obj !== 'object') {\n return obj\n }\n\n // if obj is hit, it is in circular structure\n var hit = find(cache, function (c) { return c.original === obj; });\n if (hit) {\n return hit.copy\n }\n\n var copy = Array.isArray(obj) ? [] : {};\n // put the copy into cache at first\n // because we want to refer it in recursive deepCopy\n cache.push({\n original: obj,\n copy: copy\n });\n\n Object.keys(obj).forEach(function (key) {\n copy[key] = deepCopy(obj[key], cache);\n });\n\n return copy\n}\n\n/**\n * forEach for object\n */\nfunction forEachValue (obj, fn) {\n Object.keys(obj).forEach(function (key) { return fn(obj[key], key); });\n}\n\nfunction isObject (obj) {\n return obj !== null && typeof obj === 'object'\n}\n\nfunction isPromise (val) {\n return val && typeof val.then === 'function'\n}\n\nfunction assert (condition, msg) {\n if (!condition) { throw new Error((\"[vuex] \" + msg)) }\n}\n\nfunction partial (fn, arg) {\n return function () {\n return fn(arg)\n }\n}\n\n// Base data struct for store's module, package with some attribute and method\nvar Module = function Module (rawModule, runtime) {\n this.runtime = runtime;\n // Store some children item\n this._children = Object.create(null);\n // Store the origin module object which passed by programmer\n this._rawModule = rawModule;\n var rawState = rawModule.state;\n\n // Store the origin module's state\n this.state = (typeof rawState === 'function' ? rawState() : rawState) || {};\n};\n\nvar prototypeAccessors = { namespaced: { configurable: true } };\n\nprototypeAccessors.namespaced.get = function () {\n return !!this._rawModule.namespaced\n};\n\nModule.prototype.addChild = function addChild (key, module) {\n this._children[key] = module;\n};\n\nModule.prototype.removeChild = function removeChild (key) {\n delete this._children[key];\n};\n\nModule.prototype.getChild = function getChild (key) {\n return this._children[key]\n};\n\nModule.prototype.hasChild = function hasChild (key) {\n return key in this._children\n};\n\nModule.prototype.update = function update (rawModule) {\n this._rawModule.namespaced = rawModule.namespaced;\n if (rawModule.actions) {\n this._rawModule.actions = rawModule.actions;\n }\n if (rawModule.mutations) {\n this._rawModule.mutations = rawModule.mutations;\n }\n if (rawModule.getters) {\n this._rawModule.getters = rawModule.getters;\n }\n};\n\nModule.prototype.forEachChild = function forEachChild (fn) {\n forEachValue(this._children, fn);\n};\n\nModule.prototype.forEachGetter = function forEachGetter (fn) {\n if (this._rawModule.getters) {\n forEachValue(this._rawModule.getters, fn);\n }\n};\n\nModule.prototype.forEachAction = function forEachAction (fn) {\n if (this._rawModule.actions) {\n forEachValue(this._rawModule.actions, fn);\n }\n};\n\nModule.prototype.forEachMutation = function forEachMutation (fn) {\n if (this._rawModule.mutations) {\n forEachValue(this._rawModule.mutations, fn);\n }\n};\n\nObject.defineProperties( Module.prototype, prototypeAccessors );\n\nvar ModuleCollection = function ModuleCollection (rawRootModule) {\n // register root module (Vuex.Store options)\n this.register([], rawRootModule, false);\n};\n\nModuleCollection.prototype.get = function get (path) {\n return path.reduce(function (module, key) {\n return module.getChild(key)\n }, this.root)\n};\n\nModuleCollection.prototype.getNamespace = function getNamespace (path) {\n var module = this.root;\n return path.reduce(function (namespace, key) {\n module = module.getChild(key);\n return namespace + (module.namespaced ? key + '/' : '')\n }, '')\n};\n\nModuleCollection.prototype.update = function update$1 (rawRootModule) {\n update([], this.root, rawRootModule);\n};\n\nModuleCollection.prototype.register = function register (path, rawModule, runtime) {\n var this$1 = this;\n if ( runtime === void 0 ) runtime = true;\n\n if ((process.env.NODE_ENV !== 'production')) {\n assertRawModule(path, rawModule);\n }\n\n var newModule = new Module(rawModule, runtime);\n if (path.length === 0) {\n this.root = newModule;\n } else {\n var parent = this.get(path.slice(0, -1));\n parent.addChild(path[path.length - 1], newModule);\n }\n\n // register nested modules\n if (rawModule.modules) {\n forEachValue(rawModule.modules, function (rawChildModule, key) {\n this$1.register(path.concat(key), rawChildModule, runtime);\n });\n }\n};\n\nModuleCollection.prototype.unregister = function unregister (path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n var child = parent.getChild(key);\n\n if (!child) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\n \"[vuex] trying to unregister module '\" + key + \"', which is \" +\n \"not registered\"\n );\n }\n return\n }\n\n if (!child.runtime) {\n return\n }\n\n parent.removeChild(key);\n};\n\nModuleCollection.prototype.isRegistered = function isRegistered (path) {\n var parent = this.get(path.slice(0, -1));\n var key = path[path.length - 1];\n\n if (parent) {\n return parent.hasChild(key)\n }\n\n return false\n};\n\nfunction update (path, targetModule, newModule) {\n if ((process.env.NODE_ENV !== 'production')) {\n assertRawModule(path, newModule);\n }\n\n // update target module\n targetModule.update(newModule);\n\n // update nested modules\n if (newModule.modules) {\n for (var key in newModule.modules) {\n if (!targetModule.getChild(key)) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\n \"[vuex] trying to add a new module '\" + key + \"' on hot reloading, \" +\n 'manual reload is needed'\n );\n }\n return\n }\n update(\n path.concat(key),\n targetModule.getChild(key),\n newModule.modules[key]\n );\n }\n }\n}\n\nvar functionAssert = {\n assert: function (value) { return typeof value === 'function'; },\n expected: 'function'\n};\n\nvar objectAssert = {\n assert: function (value) { return typeof value === 'function' ||\n (typeof value === 'object' && typeof value.handler === 'function'); },\n expected: 'function or object with \"handler\" function'\n};\n\nvar assertTypes = {\n getters: functionAssert,\n mutations: functionAssert,\n actions: objectAssert\n};\n\nfunction assertRawModule (path, rawModule) {\n Object.keys(assertTypes).forEach(function (key) {\n if (!rawModule[key]) { return }\n\n var assertOptions = assertTypes[key];\n\n forEachValue(rawModule[key], function (value, type) {\n assert(\n assertOptions.assert(value),\n makeAssertionMessage(path, key, type, value, assertOptions.expected)\n );\n });\n });\n}\n\nfunction makeAssertionMessage (path, key, type, value, expected) {\n var buf = key + \" should be \" + expected + \" but \\\"\" + key + \".\" + type + \"\\\"\";\n if (path.length > 0) {\n buf += \" in module \\\"\" + (path.join('.')) + \"\\\"\";\n }\n buf += \" is \" + (JSON.stringify(value)) + \".\";\n return buf\n}\n\nvar Vue; // bind on install\n\nvar Store = function Store (options) {\n var this$1 = this;\n if ( options === void 0 ) options = {};\n\n // Auto install if it is not done yet and `window` has `Vue`.\n // To allow users to avoid auto-installation in some cases,\n // this code should be placed here. See #731\n if (!Vue && typeof window !== 'undefined' && window.Vue) {\n install(window.Vue);\n }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(Vue, \"must call Vue.use(Vuex) before creating a store instance.\");\n assert(typeof Promise !== 'undefined', \"vuex requires a Promise polyfill in this browser.\");\n assert(this instanceof Store, \"store must be called with the new operator.\");\n }\n\n var plugins = options.plugins; if ( plugins === void 0 ) plugins = [];\n var strict = options.strict; if ( strict === void 0 ) strict = false;\n\n // store internal state\n this._committing = false;\n this._actions = Object.create(null);\n this._actionSubscribers = [];\n this._mutations = Object.create(null);\n this._wrappedGetters = Object.create(null);\n this._modules = new ModuleCollection(options);\n this._modulesNamespaceMap = Object.create(null);\n this._subscribers = [];\n this._watcherVM = new Vue();\n this._makeLocalGettersCache = Object.create(null);\n\n // bind commit and dispatch to self\n var store = this;\n var ref = this;\n var dispatch = ref.dispatch;\n var commit = ref.commit;\n this.dispatch = function boundDispatch (type, payload) {\n return dispatch.call(store, type, payload)\n };\n this.commit = function boundCommit (type, payload, options) {\n return commit.call(store, type, payload, options)\n };\n\n // strict mode\n this.strict = strict;\n\n var state = this._modules.root.state;\n\n // init root module.\n // this also recursively registers all sub-modules\n // and collects all module getters inside this._wrappedGetters\n installModule(this, state, [], this._modules.root);\n\n // initialize the store vm, which is responsible for the reactivity\n // (also registers _wrappedGetters as computed properties)\n resetStoreVM(this, state);\n\n // apply plugins\n plugins.forEach(function (plugin) { return plugin(this$1); });\n\n var useDevtools = options.devtools !== undefined ? options.devtools : Vue.config.devtools;\n if (useDevtools) {\n devtoolPlugin(this);\n }\n};\n\nvar prototypeAccessors$1 = { state: { configurable: true } };\n\nprototypeAccessors$1.state.get = function () {\n return this._vm._data.$$state\n};\n\nprototypeAccessors$1.state.set = function (v) {\n if ((process.env.NODE_ENV !== 'production')) {\n assert(false, \"use store.replaceState() to explicit replace store state.\");\n }\n};\n\nStore.prototype.commit = function commit (_type, _payload, _options) {\n var this$1 = this;\n\n // check object-style commit\n var ref = unifyObjectStyle(_type, _payload, _options);\n var type = ref.type;\n var payload = ref.payload;\n var options = ref.options;\n\n var mutation = { type: type, payload: payload };\n var entry = this._mutations[type];\n if (!entry) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] unknown mutation type: \" + type));\n }\n return\n }\n this._withCommit(function () {\n entry.forEach(function commitIterator (handler) {\n handler(payload);\n });\n });\n\n this._subscribers\n .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n .forEach(function (sub) { return sub(mutation, this$1.state); });\n\n if (\n (process.env.NODE_ENV !== 'production') &&\n options && options.silent\n ) {\n console.warn(\n \"[vuex] mutation type: \" + type + \". Silent option has been removed. \" +\n 'Use the filter functionality in the vue-devtools'\n );\n }\n};\n\nStore.prototype.dispatch = function dispatch (_type, _payload) {\n var this$1 = this;\n\n // check object-style dispatch\n var ref = unifyObjectStyle(_type, _payload);\n var type = ref.type;\n var payload = ref.payload;\n\n var action = { type: type, payload: payload };\n var entry = this._actions[type];\n if (!entry) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] unknown action type: \" + type));\n }\n return\n }\n\n try {\n this._actionSubscribers\n .slice() // shallow copy to prevent iterator invalidation if subscriber synchronously calls unsubscribe\n .filter(function (sub) { return sub.before; })\n .forEach(function (sub) { return sub.before(action, this$1.state); });\n } catch (e) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\"[vuex] error in before action subscribers: \");\n console.error(e);\n }\n }\n\n var result = entry.length > 1\n ? Promise.all(entry.map(function (handler) { return handler(payload); }))\n : entry[0](payload);\n\n return new Promise(function (resolve, reject) {\n result.then(function (res) {\n try {\n this$1._actionSubscribers\n .filter(function (sub) { return sub.after; })\n .forEach(function (sub) { return sub.after(action, this$1.state); });\n } catch (e) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\"[vuex] error in after action subscribers: \");\n console.error(e);\n }\n }\n resolve(res);\n }, function (error) {\n try {\n this$1._actionSubscribers\n .filter(function (sub) { return sub.error; })\n .forEach(function (sub) { return sub.error(action, this$1.state, error); });\n } catch (e) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.warn(\"[vuex] error in error action subscribers: \");\n console.error(e);\n }\n }\n reject(error);\n });\n })\n};\n\nStore.prototype.subscribe = function subscribe (fn, options) {\n return genericSubscribe(fn, this._subscribers, options)\n};\n\nStore.prototype.subscribeAction = function subscribeAction (fn, options) {\n var subs = typeof fn === 'function' ? { before: fn } : fn;\n return genericSubscribe(subs, this._actionSubscribers, options)\n};\n\nStore.prototype.watch = function watch (getter, cb, options) {\n var this$1 = this;\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(typeof getter === 'function', \"store.watch only accepts a function.\");\n }\n return this._watcherVM.$watch(function () { return getter(this$1.state, this$1.getters); }, cb, options)\n};\n\nStore.prototype.replaceState = function replaceState (state) {\n var this$1 = this;\n\n this._withCommit(function () {\n this$1._vm._data.$$state = state;\n });\n};\n\nStore.prototype.registerModule = function registerModule (path, rawModule, options) {\n if ( options === void 0 ) options = {};\n\n if (typeof path === 'string') { path = [path]; }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n assert(path.length > 0, 'cannot register the root module by using registerModule.');\n }\n\n this._modules.register(path, rawModule);\n installModule(this, this.state, path, this._modules.get(path), options.preserveState);\n // reset store to update getters...\n resetStoreVM(this, this.state);\n};\n\nStore.prototype.unregisterModule = function unregisterModule (path) {\n var this$1 = this;\n\n if (typeof path === 'string') { path = [path]; }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n }\n\n this._modules.unregister(path);\n this._withCommit(function () {\n var parentState = getNestedState(this$1.state, path.slice(0, -1));\n Vue.delete(parentState, path[path.length - 1]);\n });\n resetStore(this);\n};\n\nStore.prototype.hasModule = function hasModule (path) {\n if (typeof path === 'string') { path = [path]; }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(Array.isArray(path), \"module path must be a string or an Array.\");\n }\n\n return this._modules.isRegistered(path)\n};\n\nStore.prototype.hotUpdate = function hotUpdate (newOptions) {\n this._modules.update(newOptions);\n resetStore(this, true);\n};\n\nStore.prototype._withCommit = function _withCommit (fn) {\n var committing = this._committing;\n this._committing = true;\n fn();\n this._committing = committing;\n};\n\nObject.defineProperties( Store.prototype, prototypeAccessors$1 );\n\nfunction genericSubscribe (fn, subs, options) {\n if (subs.indexOf(fn) < 0) {\n options && options.prepend\n ? subs.unshift(fn)\n : subs.push(fn);\n }\n return function () {\n var i = subs.indexOf(fn);\n if (i > -1) {\n subs.splice(i, 1);\n }\n }\n}\n\nfunction resetStore (store, hot) {\n store._actions = Object.create(null);\n store._mutations = Object.create(null);\n store._wrappedGetters = Object.create(null);\n store._modulesNamespaceMap = Object.create(null);\n var state = store.state;\n // init all modules\n installModule(store, state, [], store._modules.root, true);\n // reset vm\n resetStoreVM(store, state, hot);\n}\n\nfunction resetStoreVM (store, state, hot) {\n var oldVm = store._vm;\n\n // bind store public getters\n store.getters = {};\n // reset local getters cache\n store._makeLocalGettersCache = Object.create(null);\n var wrappedGetters = store._wrappedGetters;\n var computed = {};\n forEachValue(wrappedGetters, function (fn, key) {\n // use computed to leverage its lazy-caching mechanism\n // direct inline function use will lead to closure preserving oldVm.\n // using partial to return function with only arguments preserved in closure environment.\n computed[key] = partial(fn, store);\n Object.defineProperty(store.getters, key, {\n get: function () { return store._vm[key]; },\n enumerable: true // for local getters\n });\n });\n\n // use a Vue instance to store the state tree\n // suppress warnings just in case the user has added\n // some funky global mixins\n var silent = Vue.config.silent;\n Vue.config.silent = true;\n store._vm = new Vue({\n data: {\n $$state: state\n },\n computed: computed\n });\n Vue.config.silent = silent;\n\n // enable strict mode for new vm\n if (store.strict) {\n enableStrictMode(store);\n }\n\n if (oldVm) {\n if (hot) {\n // dispatch changes in all subscribed watchers\n // to force getter re-evaluation for hot reloading.\n store._withCommit(function () {\n oldVm._data.$$state = null;\n });\n }\n Vue.nextTick(function () { return oldVm.$destroy(); });\n }\n}\n\nfunction installModule (store, rootState, path, module, hot) {\n var isRoot = !path.length;\n var namespace = store._modules.getNamespace(path);\n\n // register in namespace map\n if (module.namespaced) {\n if (store._modulesNamespaceMap[namespace] && (process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] duplicate namespace \" + namespace + \" for the namespaced module \" + (path.join('/'))));\n }\n store._modulesNamespaceMap[namespace] = module;\n }\n\n // set state\n if (!isRoot && !hot) {\n var parentState = getNestedState(rootState, path.slice(0, -1));\n var moduleName = path[path.length - 1];\n store._withCommit(function () {\n if ((process.env.NODE_ENV !== 'production')) {\n if (moduleName in parentState) {\n console.warn(\n (\"[vuex] state field \\\"\" + moduleName + \"\\\" was overridden by a module with the same name at \\\"\" + (path.join('.')) + \"\\\"\")\n );\n }\n }\n Vue.set(parentState, moduleName, module.state);\n });\n }\n\n var local = module.context = makeLocalContext(store, namespace, path);\n\n module.forEachMutation(function (mutation, key) {\n var namespacedType = namespace + key;\n registerMutation(store, namespacedType, mutation, local);\n });\n\n module.forEachAction(function (action, key) {\n var type = action.root ? key : namespace + key;\n var handler = action.handler || action;\n registerAction(store, type, handler, local);\n });\n\n module.forEachGetter(function (getter, key) {\n var namespacedType = namespace + key;\n registerGetter(store, namespacedType, getter, local);\n });\n\n module.forEachChild(function (child, key) {\n installModule(store, rootState, path.concat(key), child, hot);\n });\n}\n\n/**\n * make localized dispatch, commit, getters and state\n * if there is no namespace, just use root ones\n */\nfunction makeLocalContext (store, namespace, path) {\n var noNamespace = namespace === '';\n\n var local = {\n dispatch: noNamespace ? store.dispatch : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n\n if (!options || !options.root) {\n type = namespace + type;\n if ((process.env.NODE_ENV !== 'production') && !store._actions[type]) {\n console.error((\"[vuex] unknown local action type: \" + (args.type) + \", global type: \" + type));\n return\n }\n }\n\n return store.dispatch(type, payload)\n },\n\n commit: noNamespace ? store.commit : function (_type, _payload, _options) {\n var args = unifyObjectStyle(_type, _payload, _options);\n var payload = args.payload;\n var options = args.options;\n var type = args.type;\n\n if (!options || !options.root) {\n type = namespace + type;\n if ((process.env.NODE_ENV !== 'production') && !store._mutations[type]) {\n console.error((\"[vuex] unknown local mutation type: \" + (args.type) + \", global type: \" + type));\n return\n }\n }\n\n store.commit(type, payload, options);\n }\n };\n\n // getters and state object must be gotten lazily\n // because they will be changed by vm update\n Object.defineProperties(local, {\n getters: {\n get: noNamespace\n ? function () { return store.getters; }\n : function () { return makeLocalGetters(store, namespace); }\n },\n state: {\n get: function () { return getNestedState(store.state, path); }\n }\n });\n\n return local\n}\n\nfunction makeLocalGetters (store, namespace) {\n if (!store._makeLocalGettersCache[namespace]) {\n var gettersProxy = {};\n var splitPos = namespace.length;\n Object.keys(store.getters).forEach(function (type) {\n // skip if the target getter is not match this namespace\n if (type.slice(0, splitPos) !== namespace) { return }\n\n // extract local getter type\n var localType = type.slice(splitPos);\n\n // Add a port to the getters proxy.\n // Define as getter property because\n // we do not want to evaluate the getters in this time.\n Object.defineProperty(gettersProxy, localType, {\n get: function () { return store.getters[type]; },\n enumerable: true\n });\n });\n store._makeLocalGettersCache[namespace] = gettersProxy;\n }\n\n return store._makeLocalGettersCache[namespace]\n}\n\nfunction registerMutation (store, type, handler, local) {\n var entry = store._mutations[type] || (store._mutations[type] = []);\n entry.push(function wrappedMutationHandler (payload) {\n handler.call(store, local.state, payload);\n });\n}\n\nfunction registerAction (store, type, handler, local) {\n var entry = store._actions[type] || (store._actions[type] = []);\n entry.push(function wrappedActionHandler (payload) {\n var res = handler.call(store, {\n dispatch: local.dispatch,\n commit: local.commit,\n getters: local.getters,\n state: local.state,\n rootGetters: store.getters,\n rootState: store.state\n }, payload);\n if (!isPromise(res)) {\n res = Promise.resolve(res);\n }\n if (store._devtoolHook) {\n return res.catch(function (err) {\n store._devtoolHook.emit('vuex:error', err);\n throw err\n })\n } else {\n return res\n }\n });\n}\n\nfunction registerGetter (store, type, rawGetter, local) {\n if (store._wrappedGetters[type]) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error((\"[vuex] duplicate getter key: \" + type));\n }\n return\n }\n store._wrappedGetters[type] = function wrappedGetter (store) {\n return rawGetter(\n local.state, // local state\n local.getters, // local getters\n store.state, // root state\n store.getters // root getters\n )\n };\n}\n\nfunction enableStrictMode (store) {\n store._vm.$watch(function () { return this._data.$$state }, function () {\n if ((process.env.NODE_ENV !== 'production')) {\n assert(store._committing, \"do not mutate vuex store state outside mutation handlers.\");\n }\n }, { deep: true, sync: true });\n}\n\nfunction getNestedState (state, path) {\n return path.reduce(function (state, key) { return state[key]; }, state)\n}\n\nfunction unifyObjectStyle (type, payload, options) {\n if (isObject(type) && type.type) {\n options = payload;\n payload = type;\n type = type.type;\n }\n\n if ((process.env.NODE_ENV !== 'production')) {\n assert(typeof type === 'string', (\"expects string as the type, but found \" + (typeof type) + \".\"));\n }\n\n return { type: type, payload: payload, options: options }\n}\n\nfunction install (_Vue) {\n if (Vue && _Vue === Vue) {\n if ((process.env.NODE_ENV !== 'production')) {\n console.error(\n '[vuex] already installed. Vue.use(Vuex) should be called only once.'\n );\n }\n return\n }\n Vue = _Vue;\n applyMixin(Vue);\n}\n\n/**\n * Reduce the code which written in Vue.js for getting the state.\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} states # Object's item can be a function which accept state and getters for param, you can do something for state and getters in it.\n * @param {Object}\n */\nvar mapState = normalizeNamespace(function (namespace, states) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(states)) {\n console.error('[vuex] mapState: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(states).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedState () {\n var state = this.$store.state;\n var getters = this.$store.getters;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapState', namespace);\n if (!module) {\n return\n }\n state = module.context.state;\n getters = module.context.getters;\n }\n return typeof val === 'function'\n ? val.call(this, state, getters)\n : state[val]\n };\n // mark vuex getter for devtools\n res[key].vuex = true;\n });\n return res\n});\n\n/**\n * Reduce the code which written in Vue.js for committing the mutation\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} mutations # Object's item can be a function which accept `commit` function as the first param, it can accept another params. You can commit mutation and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\nvar mapMutations = normalizeNamespace(function (namespace, mutations) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(mutations)) {\n console.error('[vuex] mapMutations: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(mutations).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedMutation () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n // Get the commit method from store\n var commit = this.$store.commit;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapMutations', namespace);\n if (!module) {\n return\n }\n commit = module.context.commit;\n }\n return typeof val === 'function'\n ? val.apply(this, [commit].concat(args))\n : commit.apply(this.$store, [val].concat(args))\n };\n });\n return res\n});\n\n/**\n * Reduce the code which written in Vue.js for getting the getters\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} getters\n * @return {Object}\n */\nvar mapGetters = normalizeNamespace(function (namespace, getters) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(getters)) {\n console.error('[vuex] mapGetters: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(getters).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n // The namespace has been mutated by normalizeNamespace\n val = namespace + val;\n res[key] = function mappedGetter () {\n if (namespace && !getModuleByNamespace(this.$store, 'mapGetters', namespace)) {\n return\n }\n if ((process.env.NODE_ENV !== 'production') && !(val in this.$store.getters)) {\n console.error((\"[vuex] unknown getter: \" + val));\n return\n }\n return this.$store.getters[val]\n };\n // mark vuex getter for devtools\n res[key].vuex = true;\n });\n return res\n});\n\n/**\n * Reduce the code which written in Vue.js for dispatch the action\n * @param {String} [namespace] - Module's namespace\n * @param {Object|Array} actions # Object's item can be a function which accept `dispatch` function as the first param, it can accept anthor params. You can dispatch action and do any other things in this function. specially, You need to pass anthor params from the mapped function.\n * @return {Object}\n */\nvar mapActions = normalizeNamespace(function (namespace, actions) {\n var res = {};\n if ((process.env.NODE_ENV !== 'production') && !isValidMap(actions)) {\n console.error('[vuex] mapActions: mapper parameter must be either an Array or an Object');\n }\n normalizeMap(actions).forEach(function (ref) {\n var key = ref.key;\n var val = ref.val;\n\n res[key] = function mappedAction () {\n var args = [], len = arguments.length;\n while ( len-- ) args[ len ] = arguments[ len ];\n\n // get dispatch function from store\n var dispatch = this.$store.dispatch;\n if (namespace) {\n var module = getModuleByNamespace(this.$store, 'mapActions', namespace);\n if (!module) {\n return\n }\n dispatch = module.context.dispatch;\n }\n return typeof val === 'function'\n ? val.apply(this, [dispatch].concat(args))\n : dispatch.apply(this.$store, [val].concat(args))\n };\n });\n return res\n});\n\n/**\n * Rebinding namespace param for mapXXX function in special scoped, and return them by simple object\n * @param {String} namespace\n * @return {Object}\n */\nvar createNamespacedHelpers = function (namespace) { return ({\n mapState: mapState.bind(null, namespace),\n mapGetters: mapGetters.bind(null, namespace),\n mapMutations: mapMutations.bind(null, namespace),\n mapActions: mapActions.bind(null, namespace)\n}); };\n\n/**\n * Normalize the map\n * normalizeMap([1, 2, 3]) => [ { key: 1, val: 1 }, { key: 2, val: 2 }, { key: 3, val: 3 } ]\n * normalizeMap({a: 1, b: 2, c: 3}) => [ { key: 'a', val: 1 }, { key: 'b', val: 2 }, { key: 'c', val: 3 } ]\n * @param {Array|Object} map\n * @return {Object}\n */\nfunction normalizeMap (map) {\n if (!isValidMap(map)) {\n return []\n }\n return Array.isArray(map)\n ? map.map(function (key) { return ({ key: key, val: key }); })\n : Object.keys(map).map(function (key) { return ({ key: key, val: map[key] }); })\n}\n\n/**\n * Validate whether given map is valid or not\n * @param {*} map\n * @return {Boolean}\n */\nfunction isValidMap (map) {\n return Array.isArray(map) || isObject(map)\n}\n\n/**\n * Return a function expect two param contains namespace and map. it will normalize the namespace and then the param's function will handle the new namespace and the map.\n * @param {Function} fn\n * @return {Function}\n */\nfunction normalizeNamespace (fn) {\n return function (namespace, map) {\n if (typeof namespace !== 'string') {\n map = namespace;\n namespace = '';\n } else if (namespace.charAt(namespace.length - 1) !== '/') {\n namespace += '/';\n }\n return fn(namespace, map)\n }\n}\n\n/**\n * Search a special module from store by namespace. if module not exist, print error message.\n * @param {Object} store\n * @param {String} helper\n * @param {String} namespace\n * @return {Object}\n */\nfunction getModuleByNamespace (store, helper, namespace) {\n var module = store._modulesNamespaceMap[namespace];\n if ((process.env.NODE_ENV !== 'production') && !module) {\n console.error((\"[vuex] module namespace not found in \" + helper + \"(): \" + namespace));\n }\n return module\n}\n\n// Credits: borrowed code from fcomb/redux-logger\n\nfunction createLogger (ref) {\n if ( ref === void 0 ) ref = {};\n var collapsed = ref.collapsed; if ( collapsed === void 0 ) collapsed = true;\n var filter = ref.filter; if ( filter === void 0 ) filter = function (mutation, stateBefore, stateAfter) { return true; };\n var transformer = ref.transformer; if ( transformer === void 0 ) transformer = function (state) { return state; };\n var mutationTransformer = ref.mutationTransformer; if ( mutationTransformer === void 0 ) mutationTransformer = function (mut) { return mut; };\n var actionFilter = ref.actionFilter; if ( actionFilter === void 0 ) actionFilter = function (action, state) { return true; };\n var actionTransformer = ref.actionTransformer; if ( actionTransformer === void 0 ) actionTransformer = function (act) { return act; };\n var logMutations = ref.logMutations; if ( logMutations === void 0 ) logMutations = true;\n var logActions = ref.logActions; if ( logActions === void 0 ) logActions = true;\n var logger = ref.logger; if ( logger === void 0 ) logger = console;\n\n return function (store) {\n var prevState = deepCopy(store.state);\n\n if (typeof logger === 'undefined') {\n return\n }\n\n if (logMutations) {\n store.subscribe(function (mutation, state) {\n var nextState = deepCopy(state);\n\n if (filter(mutation, prevState, nextState)) {\n var formattedTime = getFormattedTime();\n var formattedMutation = mutationTransformer(mutation);\n var message = \"mutation \" + (mutation.type) + formattedTime;\n\n startMessage(logger, message, collapsed);\n logger.log('%c prev state', 'color: #9E9E9E; font-weight: bold', transformer(prevState));\n logger.log('%c mutation', 'color: #03A9F4; font-weight: bold', formattedMutation);\n logger.log('%c next state', 'color: #4CAF50; font-weight: bold', transformer(nextState));\n endMessage(logger);\n }\n\n prevState = nextState;\n });\n }\n\n if (logActions) {\n store.subscribeAction(function (action, state) {\n if (actionFilter(action, state)) {\n var formattedTime = getFormattedTime();\n var formattedAction = actionTransformer(action);\n var message = \"action \" + (action.type) + formattedTime;\n\n startMessage(logger, message, collapsed);\n logger.log('%c action', 'color: #03A9F4; font-weight: bold', formattedAction);\n endMessage(logger);\n }\n });\n }\n }\n}\n\nfunction startMessage (logger, message, collapsed) {\n var startMessage = collapsed\n ? logger.groupCollapsed\n : logger.group;\n\n // render\n try {\n startMessage.call(logger, message);\n } catch (e) {\n logger.log(message);\n }\n}\n\nfunction endMessage (logger) {\n try {\n logger.groupEnd();\n } catch (e) {\n logger.log('—— log end ——');\n }\n}\n\nfunction getFormattedTime () {\n var time = new Date();\n return (\" @ \" + (pad(time.getHours(), 2)) + \":\" + (pad(time.getMinutes(), 2)) + \":\" + (pad(time.getSeconds(), 2)) + \".\" + (pad(time.getMilliseconds(), 3)))\n}\n\nfunction repeat (str, times) {\n return (new Array(times + 1)).join(str)\n}\n\nfunction pad (num, maxLength) {\n return repeat('0', maxLength - num.toString().length) + num\n}\n\nvar index = {\n Store: Store,\n install: install,\n version: '3.6.2',\n mapState: mapState,\n mapMutations: mapMutations,\n mapGetters: mapGetters,\n mapActions: mapActions,\n createNamespacedHelpers: createNamespacedHelpers,\n createLogger: createLogger\n};\n\nexport default index;\nexport { Store, createLogger, createNamespacedHelpers, install, mapActions, mapGetters, mapMutations, mapState };\n","import '../assets/NcSettingsSection-CGaCS1X0.css';\nimport { r as register, u as t24, a as t } from \"./_l10n-JYjUKekn.mjs\";\nimport { n as normalizeComponent } from \"./_plugin-vue2_normalizer-DU4iP6Vu.mjs\";\nregister(t24);\nconst _sfc_main$1 = {\n name: \"HelpCircleIcon\",\n emits: [\"click\"],\n props: {\n title: {\n type: String\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n};\nvar _sfc_render$1 = function render() {\n var _vm = this, _c = _vm._self._c;\n return _c(\"span\", _vm._b({ staticClass: \"material-design-icon help-circle-icon\", attrs: { \"aria-hidden\": _vm.title ? null : true, \"aria-label\": _vm.title, \"role\": \"img\" }, on: { \"click\": function($event) {\n return _vm.$emit(\"click\", $event);\n } } }, \"span\", _vm.$attrs, false), [_c(\"svg\", { staticClass: \"material-design-icon__svg\", attrs: { \"fill\": _vm.fillColor, \"width\": _vm.size, \"height\": _vm.size, \"viewBox\": \"0 0 24 24\" } }, [_c(\"path\", { attrs: { \"d\": \"M15.07,11.25L14.17,12.17C13.45,12.89 13,13.5 13,15H11V14.5C11,13.39 11.45,12.39 12.17,11.67L13.41,10.41C13.78,10.05 14,9.55 14,9C14,7.89 13.1,7 12,7A2,2 0 0,0 10,9H8A4,4 0 0,1 12,5A4,4 0 0,1 16,9C16,9.88 15.64,10.67 15.07,11.25M13,19H11V17H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12C22,6.47 17.5,2 12,2Z\" } }, [_vm.title ? _c(\"title\", [_vm._v(_vm._s(_vm.title))]) : _vm._e()])])]);\n};\nvar _sfc_staticRenderFns$1 = [];\nvar __component__$1 = /* @__PURE__ */ normalizeComponent(\n _sfc_main$1,\n _sfc_render$1,\n _sfc_staticRenderFns$1,\n false,\n null,\n null\n);\nconst HelpCircle = __component__$1.exports;\nconst _sfc_main = {\n name: \"NcSettingsSection\",\n components: {\n HelpCircle\n },\n props: {\n name: {\n type: String,\n required: true\n },\n description: {\n type: String,\n default: \"\"\n },\n docUrl: {\n type: String,\n default: \"\"\n },\n /**\n * Limit the width of the setting's content\n *\n * Setting this to false allows unrestricted (width) settings content.\n * Note that the name and description have always a width limit.\n * @deprecated Will be removed with next version and will not be used on Nextcloud 30+ (always forced to true)\n */\n limitWidth: {\n type: Boolean,\n default: true\n }\n },\n data() {\n return {\n docNameTranslated: t(\"External documentation for {name}\", {\n name: this.name\n })\n };\n },\n computed: {\n forceLimitWidth() {\n var _a, _b;\n if (this.limitWidth) {\n return true;\n }\n const [major] = (_b = (_a = window._oc_config) == null ? void 0 : _a.version.split(\".\", 2)) != null ? _b : [];\n return major && Number.parseInt(major) >= 30;\n },\n hasDescription() {\n return this.description.length > 0;\n },\n hasDocUrl() {\n return this.docUrl.length > 0;\n }\n }\n};\nvar _sfc_render = function render2() {\n var _vm = this, _c = _vm._self._c;\n return _c(\"div\", { staticClass: \"settings-section\", class: { \"settings-section--limit-width\": _vm.forceLimitWidth } }, [_c(\"h2\", { staticClass: \"settings-section__name\" }, [_vm._v(\" \" + _vm._s(_vm.name) + \" \"), _vm.hasDocUrl ? _c(\"a\", { staticClass: \"settings-section__info\", attrs: { \"href\": _vm.docUrl, \"title\": _vm.docNameTranslated, \"aria-label\": _vm.docNameTranslated, \"target\": \"_blank\", \"rel\": \"noreferrer nofollow\" } }, [_c(\"HelpCircle\", { attrs: { \"size\": 20 } })], 1) : _vm._e()]), _vm.hasDescription ? _c(\"p\", { staticClass: \"settings-section__desc\" }, [_vm._v(\" \" + _vm._s(_vm.description) + \" \")]) : _vm._e(), _vm._t(\"default\")], 2);\n};\nvar _sfc_staticRenderFns = [];\nvar __component__ = /* @__PURE__ */ normalizeComponent(\n _sfc_main,\n _sfc_render,\n _sfc_staticRenderFns,\n false,\n null,\n \"0974f50a\"\n);\nconst NcSettingsSection = __component__.exports;\nexport {\n NcSettingsSection as N\n};\n","<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"title ? null : true\"\n :aria-label=\"title\"\n class=\"material-design-icon checkbox-blank-outline-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3M19,5V19H5V5H19Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"CheckboxBlankOutlineIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>","<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"title ? null : true\"\n :aria-label=\"title\"\n class=\"material-design-icon checkbox-blank-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"CheckboxBlankIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>","<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"title ? null : true\"\n :aria-label=\"title\"\n class=\"material-design-icon minus-box-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M17,13H7V11H17M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"MinusBoxIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>","<template>\n <span v-bind=\"$attrs\"\n :aria-hidden=\"title ? null : true\"\n :aria-label=\"title\"\n class=\"material-design-icon checkbox-marked-icon\"\n role=\"img\"\n @click=\"$emit('click', $event)\">\n <svg :fill=\"fillColor\"\n class=\"material-design-icon__svg\"\n :width=\"size\"\n :height=\"size\"\n viewBox=\"0 0 24 24\">\n <path d=\"M10,17L5,12L6.41,10.58L10,14.17L17.59,6.58L19,8M19,3H5C3.89,3 3,3.89 3,5V19A2,2 0 0,0 5,21H19A2,2 0 0,0 21,19V5C21,3.89 20.1,3 19,3Z\">\n <title v-if=\"title\">{{ title }}</title>\n </path>\n </svg>\n </span>\n</template>\n\n<script>\nexport default {\n name: \"CheckboxMarkedIcon\",\n emits: ['click'],\n props: {\n title: {\n type: String,\n },\n fillColor: {\n type: String,\n default: \"currentColor\"\n },\n size: {\n type: Number,\n default: 24\n }\n }\n}\n</script>","<!--\n - SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<template>\n\t<element :is=\"wrapperElement\"\n\t\t:class=\"{\n\t\t\t'checkbox-radio-switch--checked': isChecked,\n\t\t\t'checkbox-radio-switch--disabled': disabled,\n\t\t\t'checkbox-radio-switch--indeterminate': indeterminate,\n\t\t}\"\n\t\t:style=\"cssVars\"\n\t\tclass=\"checkbox-radio-switch checkbox-radio-switch-checkbox\">\n\t\t<input :id=\"id\"\n\t\t\t:checked=\"isChecked\"\n\t\t\t:disabled=\"disabled\"\n\t\t\t:indeterminate=\"indeterminate\"\n\t\t\t:name=\"name\"\n\t\t\ttype=\"checkbox\"\n\t\t\t:value=\"value\"\n\t\t\tclass=\"checkbox-radio-switch__input\"\n\t\t\t@change=\"onToggle\">\n\n\t\t<label :for=\"id\" class=\"checkbox-radio-switch__label\">\n\t\t\t<component :is=\"checkboxRadioIconElement\"\n\t\t\t\t:size=\"size\"\n\t\t\t\tclass=\"checkbox-radio-switch__icon\"\n\t\t\t\taria-hidden=\"true\" />\n\t\t\t<span class=\"sr-only\">\n\t\t\t\t<slot />\n\t\t\t</span>\n\t\t</label>\n\t</element>\n</template>\n\n<script>\nimport CheckboxBlankOutline from 'vue-material-design-icons/CheckboxBlankOutline.vue'\nimport CheckboxBlank from 'vue-material-design-icons/CheckboxBlank.vue'\nimport MinusBox from 'vue-material-design-icons/MinusBox.vue'\nimport CheckboxMarked from 'vue-material-design-icons/CheckboxMarked.vue'\n\nexport default {\n\tname: 'Checkbox',\n\n\tprops: {\n\n\t\t/**\n\t\t * Unique id attribute of the input\n\t\t */\n\t\tid: {\n\t\t\ttype: String,\n\t\t\trequired: true,\n\t\t\tvalidator: id => id.trim() !== '',\n\t\t},\n\n\t\t/**\n\t\t * Checked state. To be used with `:value.sync`\n\t\t */\n\t\tchecked: {\n\t\t\ttype: [Boolean, Array, String],\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Value to be synced on check\n\t\t */\n\t\tvalue: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\n\t\t/**\n\t\t * Disabled state\n\t\t */\n\t\tdisabled: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Indeterminate state\n\t\t */\n\t\tindeterminate: {\n\t\t\ttype: Boolean,\n\t\t\tdefault: false,\n\t\t},\n\n\t\t/**\n\t\t * Wrapping element tag\n\t\t */\n\t\twrapperElement: {\n\t\t\ttype: String,\n\t\t\tdefault: 'span',\n\t\t},\n\n\t\t/**\n\t\t * Input name. Required for radio, optional for checkbox\n\t\t */\n\t\tname: {\n\t\t\ttype: String,\n\t\t\tdefault: null,\n\t\t},\n\t},\n\n\tcomputed: {\n\t\t/**\n\t\t * Icon size\n\t\t *\n\t\t @return {number}\n\t\t */\n\t\tsize() {\n\t\t\treturn 24\n\t\t},\n\n\t\t/**\n\t\t * Css local variables for this component\n\t\t *\n\t\t * @return {object}\n\t\t */\n\t\tcssVars() {\n\t\t\treturn {\n\t\t\t\t'--icon-size': this.size + 'px',\n\t\t\t}\n\t\t},\n\n\t\tisChecked() {\n\t\t\treturn [...this.checked].indexOf(this.value) > -1\n\t\t},\n\n\t\t/**\n\t\t * Returns the proper Material icon depending on the select case\n\t\t *\n\t\t * @return {Component}\n\t\t */\n\t\tcheckboxRadioIconElement() {\n\t\t\tif (this.indeterminate) {\n\t\t\t\treturn MinusBox\n\t\t\t}\n\t\t\tif (this.disabled && !this.isChecked) {\n\t\t\t\treturn CheckboxBlank\n\t\t\t}\n\t\t\tif (this.isChecked) {\n\t\t\t\treturn CheckboxMarked\n\t\t\t}\n\t\t\treturn CheckboxBlankOutline\n\t\t},\n\t},\n\n\tmethods: {\n\t\tonToggle() {\n\t\t\tif (this.disabled) {\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\t// If the initial value was a boolean, let's keep it that way\n\t\t\tif (typeof this.checked === 'boolean') {\n\t\t\t\tthis.$emit('update:checked', !this.isChecked)\n\t\t\t\treturn\n\t\t\t}\n\n\t\t\t// Dispatch the checked values as an array if multiple, or single value otherwise\n\t\t\tconst values = this.getInputsSet()\n\t\t\t\t.filter(input => input.checked)\n\t\t\t\t.map(input => input.value)\n\t\t\tthis.$emit('update:checked', values)\n\t\t},\n\n\t\t/**\n\t\t * Get the input set based on this name\n\t\t *\n\t\t * @return {Node[]}\n\t\t */\n\t\tgetInputsSet() {\n\t\t\treturn [...document.getElementsByName(this.name)]\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n$spacing: 4px;\n\n.checkbox-radio-switch {\n\tdisplay: flex;\n\n\t&__input {\n\t\tposition: fixed;\n\t\tz-index: -1;\n\t\ttop: -5000px;\n\t\tleft: -5000px;\n\t\topacity: 0;\n\t}\n\n\t&__label {\n\t\tdisplay: flex;\n\t\talign-items: center;\n\t\tuser-select: none;\n\t\theight: 32px;\n\t\twidth: 32px;\n\t\tborder-radius: 44px;\n\t\tpadding: 0;\n\t\tmargin: 2px;\n\n\t\t&, * {\n\t\t\tcursor: pointer;\n\t\t}\n\t}\n\n\t&__icon {\n\t\tmargin-right: $spacing;\n\t\tmargin-left: $spacing;\n\t\tcolor: var(--color-primary-element);\n\t\twidth: var(--icon-size);\n\t\theight: var(--icon-size);\n\t}\n\n\t&--disabled &__label {\n\t\topacity: 0.7;\n\t\t.checkbox-radio-switch__icon {\n\t\t\tcolor: var(--color-text-light)\n\t\t}\n\t}\n\n\t&:not(&--disabled) &__input:hover + &__label,\n\t&:not(&--disabled) &__input:focus + &__label {\n\t\tbackground-color: var(--color-primary-element-light);\n\t}\n\n\t// Increase focus effect\n\t&:not(&--disabled) &__input:focus + &__label {\n\t\tbox-shadow: 0 0 0 2px var(--color-primary-element);\n\t}\n\n\t// Switch specific rules\n\t&-switch:not(&--checked) &__icon {\n\t\tcolor: var(--color-text-lighter);\n\t}\n\n\t// If switch is checked AND disabled, use the fade primary colour\n\t&-switch.checkbox-radio-switch--disabled.checkbox-radio-switch--checked &__icon {\n\t\tcolor: var(--color-primary-element-light);\n\t}\n\n\t.sr-only {\n\t\tposition:absolute;\n\t\tleft:-10000px;\n\t\ttop:auto;\n\t\twidth:1px;\n\t\theight:1px;\n\t\toverflow:hidden;\n\t}\n}\n\n</style>\n","/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport type { IActivityType } from '../models/ActivitySettings.js'\n\n/**\n * Return wether the notification method can be checked for the activity\n *\n * @param activity - the concerned activity\n * @param methodKey - the concerned method\n * @return {boolean}\n */\nexport function isActivityEnabled(activity: IActivityType, methodKey: string) {\n\treturn activity.methods.includes(methodKey)\n}\n\n/**\n * @param activities - List of the activities to check\n * @param methodKey - the method key for which to verify the checked value\n * @return {boolean} Wether at least one input is checked for the given set of activities\n */\nexport function isOneInputUnChecked(activities: IActivityType[], methodKey: string) {\n\tfor (const activity of activities) {\n\t\tif (isActivityEnabled(activity, methodKey) && !activity[methodKey]) {\n\t\t\treturn true\n\t\t}\n\t}\n\n\treturn false\n}\n","<!--\n - SPDX-FileCopyrightText: 2022 Nextcloud GmbH and Nextcloud contributors\n - SPDX-License-Identifier: AGPL-3.0-or-later\n-->\n\n<template>\n\t<table class=\"grid activitysettings\">\n\t\t<caption class=\"sr-only\">\n\t\t\t{{ t('activity', 'Activity notification configuration') }}\n\t\t</caption>\n\t\t<tbody v-for=\"(group, groupKey) in activityGroups\" :key=\"groupKey\">\n\t\t\t<tr class=\"group-header\">\n\t\t\t\t<th class=\"group-header-section\">\n\t\t\t\t\t{{ group.name }}\n\t\t\t\t</th>\n\t\t\t\t<th v-for=\"(methodName, methodKey) in methods\"\n\t\t\t\t\t:key=\"methodKey\"\n\t\t\t\t\tclass=\"activity_select_group\">\n\t\t\t\t\t{{ methodName }}\n\t\t\t\t</th>\n\t\t\t</tr>\n\t\t\t<tr v-for=\"(activity, activityKey) in group.activities\" :key=\"activityKey\">\n\t\t\t\t<th scope=\"row\">\n\t\t\t\t\t<!-- eslint-disable vue/no-v-html -->\n\t\t\t\t\t<span v-html=\"activity.desc\" />\n\t\t\t\t\t<!-- eslint-enable vue/no-v-html -->\n\t\t\t\t</th>\n\t\t\t\t<td v-for=\"(methodName, methodKey) in methods\" :key=\"methodKey\">\n\t\t\t\t\t<Checkbox :id=\"`${activityKey}_${methodKey}`\"\n\t\t\t\t\t\t:disabled=\"!isActivityEnabled(activity, methodKey)\"\n\t\t\t\t\t\t:checked=\"checkedActivities\"\n\t\t\t\t\t\t:value=\"`${activityKey}_${methodKey}`\"\n\t\t\t\t\t\t@update:checked=\"toggleMethodForMethodAndActivity({groupKey, activityKey, methodKey})\">\n\t\t\t\t\t\t{{ actionName(methodKey) }}\n\t\t\t\t\t</Checkbox>\n\t\t\t\t</td>\n\t\t\t</tr>\n\t\t</tbody>\n\t</table>\n</template>\n\n<script>\nimport { mapActions, mapGetters, mapState } from 'vuex'\nimport Checkbox from './Checkbox.vue'\nimport { isActivityEnabled } from '../utils/settings.ts'\n\nexport default {\n\tname: 'ActivityGrid',\n\tcomponents: {\n\t\tCheckbox,\n\t},\n\tcomputed: {\n\t\t...mapGetters([\n\t\t\t'checkedActivities',\n\t\t]),\n\t\t...mapState([\n\t\t\t'methods',\n\t\t\t'activityGroups',\n\t\t\t'emailEnabled',\n\t\t\t'isEmailSet',\n\t\t\t'settingBatchtime',\n\t\t]),\n\t},\n\tmethods: {\n\t\tisActivityEnabled,\n\t\t...mapActions([\n\t\t\t'toggleMethodForMethodAndActivity',\n\t\t\t'toggleMethodForGroup',\n\t\t]),\n\t\tactionName(method) {\n\t\t\tif (method === 'email') {\n\t\t\t\treturn t('activity', 'Send email')\n\t\t\t} else {\n\t\t\t\treturn t('activity', 'Send push notification')\n\t\t\t}\n\t\t},\n\t},\n}\n</script>\n\n<style lang=\"scss\" scoped>\n\ntable.grid th {\n\tcolor: var(--color-text-light);\n\theight: 44px;\n}\n\ntable.grid .group-header {\n\tth {\n\t\tpadding-top: 16px;\n\t\theight: 60px;\n\t}\n}\n\ntable.grid th.group-header-section {\n\t// Copy of core/apps.scss h3 styles\n\tfont-size: 16px;\n\tfont-weight: bold;\n}\n\ntable.grid th.activity_select_group {\n\tcolor: var(--color-main-text);\n}\n\n.sr-only {\n\tposition:absolute;\n\tleft:-10000px;\n\ttop:auto;\n\twidth:1px;\n\theight:1px;\n\toverflow:hidden;\n}\n</style>\n","/**\n * SPDX-FileCopyrightText: 2021 Nextcloud GmbH and Nextcloud contributors\n * SPDX-License-Identifier: AGPL-3.0-or-later\n */\n\nimport Vue from 'vue'\nimport Vuex from 'vuex'\nimport { translate as t } from '@nextcloud/l10n'\n\nimport axios from '@nextcloud/axios'\nimport { generateUrl } from '@nextcloud/router'\nimport { loadState } from '@nextcloud/initial-state'\nimport { showSuccess, showError } from '@nextcloud/dialogs'\n\nimport { isActivityEnabled, isOneInputUnChecked } from '../utils/settings.ts'\nimport logger from '../utils/logger.ts'\n\nVue.use(Vuex)\n\n/**\n * @typedef {object} SettingsState\n * @property {object} setting .\n * @property {Object<string, ActivityGroup>} activityGroups Activity setting groups that should be shown (Files, Calendar, ...)\n * @property {boolean} isEmailSet Whether the user has a valid email address set\n * @property {boolean} emailEnabled Whether activity emails should be sent\n * @property {boolean} activityDigestEnabled Whether the daily digest should be sent\n * @property {0|1|2|3} settingBatchtime How to group the activity emails\n * @property {Array<string>} methods Available methods for activity (push, mail, ...)\n * @property {string} endpoint API endpoint to talk to (user or admin settings)\n */\n\nconst store = new Vuex.Store({\n\tstrict: true,\n\t/** @type {SettingsState} */\n\tstate: {\n\t\tsetting: loadState('activity', 'setting'),\n\t\tactivityGroups: loadState('activity', 'activity_groups'),\n\t\tisEmailSet: loadState('activity', 'is_email_set'),\n\t\temailEnabled: loadState('activity', 'email_enabled'),\n\t\tactivityDigestEnabled: loadState('activity', 'activity_digest_enabled', false),\n\t\tsettingBatchtime: loadState('activity', 'setting_batchtime'),\n\t\tmethods: loadState('activity', 'methods'),\n\t\tendpoint: '',\n\t},\n\tgetters: {\n\t\t/**\n\t\t * Return an array of checked activities.\n\t\t *\n\t\t * @param {SettingsState} state - The current state.\n\t\t * @return {Array<string>}\n\t\t */\n\t\tcheckedActivities(state) {\n\t\t\tconst methodsEnabled = (activityKey, activity) => {\n\t\t\t\tconst methods = []\n\t\t\t\tif (activity.email) {\n\t\t\t\t\tmethods.push({ activityKey, method: 'email', activity })\n\t\t\t\t}\n\t\t\t\tif (activity.notification) {\n\t\t\t\t\tmethods.push({ activityKey, method: 'notification', activity })\n\t\t\t\t}\n\t\t\t\treturn methods\n\t\t\t}\n\n\t\t\treturn Object.values(state.activityGroups)\n\t\t\t\t.map(group => Object.entries(group.activities)) // [[[activityKey, activity], ...], [[activityKey, activity], ...]]\n\t\t\t\t.reduce((acc, val) => acc.concat(val), []) // [[activityKey, activity], ...]\n\t\t\t\t.map(([activityKey, activity]) => methodsEnabled(activityKey, activity)) // [[{activityKey, method, activity}, ...], ...]\n\t\t\t\t.reduce((acc, val) => acc.concat(val), [])\n\t\t\t\t.filter(({ activity, method }) => activity[method])\n\t\t\t\t.map(({ activityKey, method }) => `${activityKey}_${method}`) // ['enabled_activity_key', ...]\n\t\t},\n\t},\n\tmutations: {\n\t\t/**\n\t\t * Update the 'enabled' state of a notification method for a given group/activity/method tuple\n\t\t *\n\t\t * @param {SettingsState} state - The current state.\n\t\t * @param {object} payload - The payload.\n\t\t * @param {string} payload.groupKey - The targeted group\n\t\t * @param {string} payload.activityKey - The targeted activity\n\t\t * @param {string} payload.methodKey - The targeted method\n\t\t * @param {string} payload.value - The value to set\n\t\t */\n\t\tSET_METHOD_FOR_METHOD_AND_ACTIVITY(state, { groupKey, activityKey, methodKey, value }) {\n\t\t\tconst group = state.activityGroups[groupKey]\n\t\t\tconst activity = group.activities[activityKey]\n\n\t\t\tif (isActivityEnabled(activity, methodKey)) {\n\t\t\t\tactivity[methodKey] = value\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Set the endpoint used to save the settings.\n\t\t *\n\t\t * @param {SettingsState} state - The current state.\n\t\t * @param {object} payload - The payload.\n\t\t * @param {string} payload.endpoint - Where to POST the saveSettings request.\n\t\t */\n\t\tSET_ENDPOINT(state, { endpoint }) {\n\t\t\tstate.endpoint = endpoint\n\t\t},\n\t\t/**\n\t\t * Set the batch time.\n\t\t *\n\t\t * @param {SettingsState} state - The current state.\n\t\t * @param {object} payload - The payload.\n\t\t * @param {0|1|2|3} payload.settingBatchtime - The selected batch time.\n\t\t */\n\t\tSET_SETTING_BATCHTIME(state, { settingBatchtime }) {\n\t\t\tstate.settingBatchtime = settingBatchtime\n\t\t},\n\t\t/**\n\t\t * Toggle activity digest.\n\t\t *\n\t\t * @param {SettingsState} state - The current state.\n\t\t * @param {object} payload - The payload.\n\t\t * @param {boolean} payload.activityDigestEnabled - Enabled status of the activity digest.\n\t\t */\n\t\tTOGGLE_ACTIVITY_DIGEST(state, { activityDigestEnabled }) {\n\t\t\tstate.activityDigestEnabled = activityDigestEnabled\n\t\t},\n\t\t/**\n\t\t * Toggle the availability of mail notifications\n\t\t *\n\t\t * @param {SettingsState} state - The current state.\n\t\t * @param {object} payload - The payload.\n\t\t * @param {boolean} payload.emailEnabled - Enabled status of the email notifications.\n\t\t */\n\t\tTOGGLE_EMAIL_ENABLED(state, { emailEnabled }) {\n\t\t\tstate.emailEnabled = emailEnabled\n\t\t},\n\t},\n\tactions: {\n\t\t/**\n\t\t * Set the endpoint used to save the settings.\n\t\t *\n\t\t * @param {object} _ - Action context\n\t\t * @param {Function} _.commit - State modifying function\n\t\t * @param {object} payload - The payload.\n\t\t * @param {string} payload.endpoint - Where to POST the saveSettings request.\n\t\t */\n\t\tsetEndpoint({ commit }, { endpoint }) {\n\t\t\tcommit('SET_ENDPOINT', { endpoint })\n\t\t},\n\n\t\t/**\n\t\t * Toggle the 'enabled' state of a notification method for a given group/activity/method tuple\n\t\t *\n\t\t * @param {object} _ - Action context\n\t\t * @param {Function} _.commit - State modifying function\n\t\t * @param {Function} _.dispatch - Function to dispatch another action\n\t\t * @param {object} _.state - Current state\n\t\t * @param {object} payload - The payload.\n\t\t * @param {string} payload.groupKey - The targeted group\n\t\t * @param {string} payload.activityKey - The targeted activity\n\t\t * @param {string} payload.methodKey - The targeted method\n\t\t */\n\t\ttoggleMethodForMethodAndActivity({ commit, state, dispatch }, { groupKey, activityKey, methodKey }) {\n\t\t\tconst activity = state.activityGroups[groupKey].activities[activityKey]\n\t\t\tconst oneInputIsChecked = isOneInputUnChecked([activity], methodKey)\n\n\t\t\tcommit(\n\t\t\t\t'SET_METHOD_FOR_METHOD_AND_ACTIVITY',\n\t\t\t\t{\n\t\t\t\t\tgroupKey,\n\t\t\t\t\tactivityKey,\n\t\t\t\t\tmethodKey,\n\t\t\t\t\tvalue: oneInputIsChecked,\n\t\t\t\t})\n\n\t\t\tdispatch('saveSettings')\n\t\t},\n\n\t\t/**\n\t\t * Toggle the 'enabled' state of a notification method for a given group/method tuple\n\t\t *\n\t\t * @param {object} _ - Action context\n\t\t * @param {Function} _.commit - State modifying function\n\t\t * @param {Function} _.dispatch - Function to dispatch another action\n\t\t * @param {object} _.state - Current state\n\t\t * @param {object} payload - The payload.\n\t\t * @param {string} payload.groupKey - The targeted group\n\t\t * @param {string} payload.methodKey - The targeted method\n\t\t */\n\t\ttoggleMethodForGroup({ commit, state, dispatch }, { groupKey, methodKey }) {\n\t\t\tconst activities = Object.values(state.activityGroups[groupKey].activities)\n\t\t\tconst oneInputIsChecked = isOneInputUnChecked(activities, methodKey)\n\n\t\t\tfor (const activityKey in state.activityGroups[groupKey].activities) {\n\t\t\t\tcommit(\n\t\t\t\t\t'SET_METHOD_FOR_METHOD_AND_ACTIVITY',\n\t\t\t\t\t{\n\t\t\t\t\t\tgroupKey,\n\t\t\t\t\t\tactivityKey,\n\t\t\t\t\t\tmethodKey,\n\t\t\t\t\t\tvalue: oneInputIsChecked,\n\t\t\t\t\t})\n\t\t\t}\n\n\t\t\tdispatch('saveSettings')\n\t\t},\n\n\t\t/**\n\t\t * Toggle the 'enabled' state of a notification method for a given group/activity tuple\n\t\t *\n\t\t * @param {object} _ - Action context\n\t\t * @param {Function} _.commit - State modifying function\n\t\t * @param {Function} _.dispatch - Function to dispatch another action\n\t\t * @param {object} _.state - Current state\n\t\t * @param {object} payload - The payload.\n\t\t * @param {string} payload.groupKey - The targeted group\n\t\t * @param {string} payload.activityKey - The targeted activity\n\t\t */\n\t\ttoggleMethodsForActivity({ commit, state, dispatch }, { groupKey, activityKey }) {\n\t\t\tconst activity = state.activityGroups[groupKey].activities[activityKey]\n\t\t\tconst oneInputIsChecked = activity.methods.map(method => isOneInputUnChecked([activity], method)).includes(true)\n\n\t\t\tfor (const methodKey of activity.methods) {\n\t\t\t\tcommit(\n\t\t\t\t\t'SET_METHOD_FOR_METHOD_AND_ACTIVITY',\n\t\t\t\t\t{\n\t\t\t\t\t\tgroupKey,\n\t\t\t\t\t\tactivityKey,\n\t\t\t\t\t\tmethodKey,\n\t\t\t\t\t\tvalue: oneInputIsChecked,\n\t\t\t\t\t})\n\t\t\t}\n\n\t\t\tdispatch('saveSettings')\n\t\t},\n\n\t\t/**\n\t\t * Set the batch time.\n\t\t *\n\t\t * @param {object} _ - Action context\n\t\t * @param {Function} _.commit - State modifying function\n\t\t * @param {Function} _.dispatch - Function to dispatch another action\n\t\t * @param {object} payload - The payload.\n\t\t * @param {0|1|2|3} payload.settingBatchtime - The selected batch time.\n\t\t */\n\t\tsetSettingBatchtime({ commit, dispatch }, { settingBatchtime }) {\n\t\t\tcommit(\n\t\t\t\t'SET_SETTING_BATCHTIME',\n\t\t\t\t{\n\t\t\t\t\tsettingBatchtime,\n\t\t\t\t})\n\n\t\t\tdispatch('saveSettings')\n\t\t},\n\n\t\t/**\n\t\t * Toggle the activity digest.\n\t\t *\n\t\t * @param {object} _ - Action context\n\t\t * @param {Function} _.commit - State modifying function\n\t\t * @param {Function} _.dispatch - Function to dispatch another action\n\t\t * @param {object} payload - The payload.\n\t\t * @param {boolean} payload.activityDigestEnabled - Enabled status of the activity digest.\n\t\t */\n\t\ttoggleActivityDigestEnabled({ commit, dispatch }, { activityDigestEnabled }) {\n\t\t\tcommit(\n\t\t\t\t'TOGGLE_ACTIVITY_DIGEST',\n\t\t\t\t{\n\t\t\t\t\tactivityDigestEnabled,\n\t\t\t\t})\n\n\t\t\tdispatch('saveSettings')\n\t\t},\n\n\t\t/**\n\t\t * Toggle the availability of mail notifications\n\t\t *\n\t\t * @param {object} _ - Action context\n\t\t * @param {Function} _.commit - State modifying function\n\t\t * @param {object} payload - The payload.\n\t\t * @param {boolean} payload.emailEnabled - Enabled status of the email notifications.\n\t\t */\n\t\ttoggleEmailEnabled({ commit }, { emailEnabled }) {\n\t\t\tcommit(\n\t\t\t\t'TOGGLE_EMAIL_ENABLED',\n\t\t\t\t{\n\t\t\t\t\temailEnabled,\n\t\t\t\t})\n\n\t\t\ttry {\n\n\t\t\t\tOCP.AppConfig.setValue(\n\t\t\t\t\t'activity', 'enable_email',\n\t\t\t\t\temailEnabled ? 'yes' : 'no'\n\t\t\t\t)\n\n\t\t\t\tshowSuccess(t('activity', 'Your settings have been updated.'))\n\t\t\t} catch (error) {\n\t\t\t\tshowError(t('activity', 'Unable to save the settings'))\n\t\t\t\tlogger.error('An error occurred while saving the activity settings', error)\n\t\t\t}\n\t\t},\n\n\t\t/**\n\t\t * Save the currently displayed settings\n\t\t *\n\t\t * @param {object} _ - Action context\n\t\t * @param {object} _.state - Current state\n\t\t * @param {object} _.getters - Getter functions for the state\n\t\t */\n\t\tasync saveSettings({ state, getters }) {\n\t\t\ttry {\n\t\t\t\tconst form = new FormData()\n\t\t\t\tgetters.checkedActivities.forEach(activity => {\n\t\t\t\t\tform.append(activity, '1')\n\t\t\t\t})\n\n\t\t\t\tform.append('notify_setting_batchtime', `${state.settingBatchtime}`)\n\t\t\t\tform.append('activity_digest', `${state.activityDigestEnabled ? 1 : 0}`)\n\n\t\t\t\tconst response = await axios.post(generateUrl(state.endpoint), form)\n\n\t\t\t\tshowSuccess(response.data.data.message)\n\t\t\t} catch (error) {\n\t\t\t\tshowError(t('activity', 'Unable to save the settings'))\n\t\t\t\tlogger.error('An error occurred while saving the activity settings', error)\n\t\t\t}\n\t\t},\n\t},\n})\n\nexport default store\n"],"names":["applyMixin","Vue","version","vuexInit","_init","options","target","global","devtoolHook","devtoolPlugin","store","targetState","mutation","state","action","find","list","f","deepCopy","obj","cache","hit","c","copy","key","forEachValue","fn","isObject","isPromise","val","partial","arg","Module","rawModule","runtime","rawState","prototypeAccessors","module","ModuleCollection","rawRootModule","path","namespace","update","this$1","newModule","parent","rawChildModule","child","targetModule","Store","install","plugins","strict","ref","dispatch","commit","type","payload","installModule","resetStoreVM","plugin","useDevtools","prototypeAccessors$1","v","_type","_payload","_options","unifyObjectStyle","entry","handler","sub","result","resolve","reject","res","error","genericSubscribe","subs","getter","cb","parentState","getNestedState","resetStore","newOptions","committing","i","hot","oldVm","wrappedGetters","computed","silent","enableStrictMode","rootState","isRoot","moduleName","local","makeLocalContext","namespacedType","registerMutation","registerAction","registerGetter","noNamespace","args","makeLocalGetters","gettersProxy","splitPos","localType","err","rawGetter","_Vue","mapState","normalizeNamespace","states","normalizeMap","getters","getModuleByNamespace","mapMutations","mutations","len","mapGetters","mapActions","actions","createNamespacedHelpers","map","isValidMap","helper","createLogger","collapsed","filter","stateBefore","stateAfter","transformer","mutationTransformer","mut","actionFilter","actionTransformer","act","logMutations","logActions","logger","prevState","nextState","formattedTime","getFormattedTime","formattedMutation","message","startMessage","endMessage","formattedAction","time","pad","repeat","str","times","num","maxLength","index","register","t24","_sfc_main$1","_sfc_render$1","_vm","_c","$event","_sfc_staticRenderFns$1","__component__$1","normalizeComponent","HelpCircle","_sfc_main","t","_a","_b","major","_sfc_render","_sfc_staticRenderFns","__component__","NcSettingsSection","id","MinusBox","CheckboxBlank","CheckboxMarked","CheckboxBlankOutline","values","input","isActivityEnabled","activity","methodKey","isOneInputUnChecked","activities","Checkbox","method","Vuex","loadState","methodsEnabled","activityKey","methods","group","acc","groupKey","value","endpoint","settingBatchtime","activityDigestEnabled","emailEnabled","oneInputIsChecked","showSuccess","showError","form","response","axios","generateUrl"],"mappings":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AC,EAAIA,EAAI,KAAMA,EAAI,GAAG,SAAS,CAAC,EAAG,CAAC,CACtoB,EACIa,GAAuB,CAAA,EACvBC,GAAgCT,EAClCE,GACAK,GACAC,GACA,GACA,KACA,UACF,EACK,MAACE,GAAoBD,GAAc,QCpFxCP,GAAA,CACA,KAAA,2BACA,MAAA,CAAA,OAAA,EACA,MAAA,CACA,MAAA,CACA,KAAA,MACA,EACA,UAAA,CACA,KAAA,OACA,QAAA,cACA,EACA,KAAA,CACA,KAAA,OACA,QAAA,EACA,CACA,CACA,onBChBAA,GAAA,CACA,KAAA,oBACA,MAAA,CAAA,OAAA,EACA,MAAA,CACA,MAAA,CACA,KAAA,MACA,EACA,UAAA,CACA,KAAA,OACA,QAAA,cACA,EACA,KAAA,CACA,KAAA,OACA,QAAA,EACA,CACA,CACA,6lBChBAA,GAAA,CACA,KAAA,eACA,MAAA,CAAA,OAAA,EACA,MAAA,CACA,MAAA,CACA,KAAA,MACA,EACA,UAAA,CACA,KAAA,OACA,QAAA,cACA,EACA,KAAA,CACA,KAAA,OACA,QAAA,EACA,CACA,CACA,smBChBAA,GAAA,CACA,KAAA,qBACA,MAAA,CAAA,OAAA,EACA,MAAA,CACA,MAAA,CACA,KAAA,MACA,EACA,UAAA,CACA,KAAA,OACA,QAAA,cACA,EACA,KAAA,CACA,KAAA,OACA,QAAA,EACA,CACA,CACA,6oBCMAA,GAAA,CACA,KAAA,WAEA,MAAA,CAKA,GAAA,CACA,KAAA,OACA,SAAA,GACA,UAAAS,GAAAA,EAAA,KAAA,IAAA,EACA,EAKA,QAAA,CACA,KAAA,CAAA,QAAA,MAAA,MAAA,EACA,QAAA,EACA,EAKA,MAAA,CACA,KAAA,OACA,QAAA,IACA,EAKA,SAAA,CACA,KAAA,QACA,QAAA,EACA,EAKA,cAAA,CACA,KAAA,QACA,QAAA,EACA,EAKA,eAAA,CACA,KAAA,OACA,QAAA,MACA,EAKA,KAAA,CACA,KAAA,OACA,QAAA,IACA,CACA,EAEA,S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