{"version":3,"sources":["webpack:///./node_modules/core-js/modules/es.promise.finally.js","webpack:///./resources/js/src/app/components/category/StepByStepNavigation.vue?9623","webpack:///./resources/js/src/app/components/category/StepByStepNavigation.vue","webpack:///./resources/js/src/app/components/category/StepByStepNavigation.vue?15af","webpack:///./resources/js/src/app/components/category/StepByStepNavigation.vue?358d"],"names":["$","IS_PURE","NativePromise","fails","getBuiltIn","speciesConstructor","promiseResolve","redefine","target","proto","real","forced","prototype","call","then","onFinally","C","this","isFunction","x","e","render","_vm","_h","$createElement","_c","_self","isInitiallyLoaded","_e","_t","_v","staticClass","_l","categoryChildren","category","attrs","href","getCategoryUrl","url","title","details","metaTitle","name","_s","_withStripped","props","categoryId","type","Number","required","chunkSize","default","imageSource","String","columns","columnsMax","childrenCount","data","isWaiting","computed","columnDivider","mapState","state","navigation","created","loadChunk","methods","$store","dispatch","size","finally","trailingSlash","App","urls","includeLanguage","language","component","options","__file"],"mappings":"2FACA,IAAIA,EAAI,EAAQ,GACZC,EAAU,EAAQ,IAClBC,EAAgB,EAAQ,KACxBC,EAAQ,EAAQ,IAChBC,EAAa,EAAQ,IACrBC,EAAqB,EAAQ,KAC7BC,EAAiB,EAAQ,KACzBC,EAAW,EAAQ,IASvBP,EAAE,CAAEQ,OAAQ,UAAWC,OAAO,EAAMC,MAAM,EAAMC,SAN5BT,GAAiBC,GAAM,WACzCD,EAAcU,UAAmB,QAAEC,KAAK,CAAEC,KAAM,eAA+B,mBAKV,CACrE,QAAW,SAAUC,GACnB,IAAIC,EAAIX,EAAmBY,KAAMb,EAAW,YACxCc,EAAiC,mBAAbH,EACxB,OAAOE,KAAKH,KACVI,EAAa,SAAUC,GACrB,OAAOb,EAAeU,EAAGD,KAAaD,MAAK,WAAc,OAAOK,MAC9DJ,EACJG,EAAa,SAAUE,GACrB,OAAOd,EAAeU,EAAGD,KAAaD,MAAK,WAAc,MAAMM,MAC7DL,MAMLd,GAAmC,mBAAjBC,GAAgCA,EAAcU,UAAmB,SACtFL,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ACO,WAEHhD,KAAKyC,YAENzC,KAAKyC,WAAY,EAEjBzC,KAAKkD,OAAOC,SAAS,4BACjB,CAAEtB,WAAY7B,KAAK6B,WAAYuB,KAAMpD,KAAKiC,YACzCoB,SAAQ,WAEL,EAAKZ,WAAY,EACjB,EAAK/B,mBAAoB,OAKzCU,eAjBK,SAiBUC,GAEX,IAAMiC,EAA2B,MAAXjC,EAAI,GAAa,GAAK,IAG5C,OAFekC,IAAIC,KAAKC,gBAAT,WAA+BF,IAAIG,UAAnC,OAA8CJ,GAAkB,IAE/DjC,K,QE7FxBsC,EAAY,YACd,EACAvD,EH8CoB,IG5CpB,EACA,KACA,KACA,MAuBFuD,EAAUC,QAAQC,OAAS,oEACZ,UAAAF,E","file":"chunks/ceres-client-14.min.js","sourcesContent":["'use strict';\nvar $ = require('../internals/export');\nvar IS_PURE = require('../internals/is-pure');\nvar NativePromise = require('../internals/native-promise-constructor');\nvar fails = require('../internals/fails');\nvar getBuiltIn = require('../internals/get-built-in');\nvar speciesConstructor = require('../internals/species-constructor');\nvar promiseResolve = require('../internals/promise-resolve');\nvar redefine = require('../internals/redefine');\n\n// Safari bug https://bugs.webkit.org/show_bug.cgi?id=200829\nvar NON_GENERIC = !!NativePromise && fails(function () {\n NativePromise.prototype['finally'].call({ then: function () { /* empty */ } }, function () { /* empty */ });\n});\n\n// `Promise.prototype.finally` method\n// https://tc39.github.io/ecma262/#sec-promise.prototype.finally\n$({ target: 'Promise', proto: true, real: true, forced: NON_GENERIC }, {\n 'finally': function (onFinally) {\n var C = speciesConstructor(this, getBuiltIn('Promise'));\n var isFunction = typeof onFinally == 'function';\n return this.then(\n isFunction ? function (x) {\n return promiseResolve(C, onFinally()).then(function () { return x; });\n } : onFinally,\n isFunction ? function (e) {\n return promiseResolve(C, onFinally()).then(function () { throw e; });\n } : onFinally\n );\n }\n});\n\n// patch native Promise.prototype for native async functions\nif (!IS_PURE && typeof NativePromise == 'function' && !NativePromise.prototype['finally']) {\n redefine(NativePromise.prototype, 'finally', getBuiltIn('Promise').prototype['finally']);\n}\n","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\n \"div\",\n [\n !_vm.isInitiallyLoaded ? _vm._t(\"default\") : _vm._e(),\n _vm._v(\" \"),\n _c(\n \"div\",\n { staticClass: \"row\" },\n _vm._l(_vm.categoryChildren, function(category) {\n return _c(\"div\", { staticClass: \"mb-3 col-6 col-md-3\" }, [\n _c(\n \"a\",\n {\n attrs: {\n href: _vm.getCategoryUrl(category.url),\n title:\n category.details[0].metaTitle || category.details[0].name\n }\n },\n [\n _c(\"div\", { staticClass: \"nav-item border d-flex\" }, [\n _c(\n \"div\",\n { staticClass: \"nav-text d-flex align-center p-2\" },\n [\n _c(\n \"span\",\n {\n staticClass: \"text-appearance mx-auto text-truncate\"\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(category.details[0].name) +\n \"\\n \"\n )\n ]\n )\n ]\n )\n ])\n ]\n )\n ])\n }),\n 0\n )\n ],\n 2\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n\nimport {mapState} from \"vuex\";\n\nexport default {\n props: {\n categoryId:\n {\n type: Number,\n required: true\n },\n chunkSize:\n {\n type: Number,\n default: 15\n },\n imageSource:\n {\n type: String,\n default: \"imagePath\"\n },\n columns:\n {\n type: Number,\n default: 4\n },\n columnsMax:\n {\n type: Number,\n default: 12\n },\n childrenCount:\n {\n type: Number,\n required: true\n }\n },\n\n data() {\n return {\n isWaiting: false,\n isInitiallyLoaded: false\n };\n },\n\n computed: {\n columnDivider() {\n return this.columnsMax / this.columns;\n },\n\n ...mapState({\n categoryChildren: state => state.navigation.categoryChildren\n })\n },\n\n created() {\n this.loadChunk();\n },\n\n methods: {\n loadChunk() {\n\n if (!this.isWaiting) {\n\n this.isWaiting = true;\n\n this.$store.dispatch(\"loadCategoryChildrenChunk\",\n { categoryId: this.categoryId, size: this.chunkSize })\n .finally(() =>\n {\n this.isWaiting = false;\n this.isInitiallyLoaded = true;\n });\n }\n },\n\n getCategoryUrl(url) {\n\n const trailingSlash = url[0] === \"/\" ? \"\" : \"/\";\n const prefix = App.urls.includeLanguage ? `/${App.language}${trailingSlash}` : \"\";\n\n return prefix + url;\n }\n }\n}\n","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StepByStepNavigation.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./StepByStepNavigation.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./StepByStepNavigation.vue?vue&type=template&id=1c90b572&\"\nimport script from \"./StepByStepNavigation.vue?vue&type=script&lang=js&\"\nexport * from \"./StepByStepNavigation.vue?vue&type=script&lang=js&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"/Users/fhartwig/Sites/pp-heySilvity/node_modules/vue-hot-reload-api/dist/index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('1c90b572')) {\n api.createRecord('1c90b572', component.options)\n } else {\n api.reload('1c90b572', component.options)\n }\n module.hot.accept(\"./StepByStepNavigation.vue?vue&type=template&id=1c90b572&\", function () {\n api.rerender('1c90b572', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"resources/js/src/app/components/category/StepByStepNavigation.vue\"\nexport default component.exports"],"sourceRoot":""}