{"version":3,"sources":["webpack:///./resources/js/src/app/components/pageDesign/CookieBar.vue?d98a","webpack:///resources/js/src/app/components/pageDesign/CookieBar.vue","webpack:///./resources/js/src/app/components/pageDesign/CookieBar.vue?85c7","webpack:///./resources/js/src/app/components/pageDesign/CookieBar.vue"],"names":["render","_vm","this","_h","$createElement","_c","_self","directives","name","rawName","value","$ceres","isSSR","expression","staticClass","class","out","isVisible","isShopBuilder","isExpanded","classes","style","styles","domProps","innerHTML","_s","text","_v","_l","consentGroups","consentGroup","consents","length","key","attrs","type","id","_uid","disabled","necessary","checked","isConsented","on","change","$event","toggleConsent","for","label","$translate","_e","href","click","preventDefault","stopPropagation","acceptAll","close","storeConsents","isCollapsed","_withStripped","component","options","__file"],"mappings":"kGAAA,IAAIA,EAAS,WACX,IAAIC,EAAMC,KACNC,EAAKF,EAAIG,eACTC,EAAKJ,EAAIK,MAAMD,IAAMF,EACzB,OAAOE,EACL,MACA,CACEE,WAAY,CACV,CACEC,KAAM,OACNC,QAAS,SACTC,OAAQT,EAAIU,OAAOC,MACnBC,WAAY,kBAGhBC,YAAa,aACbC,MAAO,CACLC,KAAMf,EAAIgB,UACV,sBAAuBhB,EAAIgB,UAC3B,gBAAiBhB,EAAIiB,gBAAiB,IAG1C,CACEjB,EAAIgB,UACAZ,EAAG,MAAO,CAAES,YAAa,iBAAmB,CAC1CT,EACE,MACA,CACEE,WAAY,CACV,CACEC,KAAM,OACNC,QAAS,SACTC,OAAQT,EAAIkB,WACZN,WAAY,gBAGhBC,YAAa,WACbC,MAAOd,EAAImB,QACXC,MAAOpB,EAAIqB,QAEb,CACEjB,EAAG,MAAO,CAAES,YAAa,mBAAqB,CAC5CT,EAAG,IAAK,CAAEkB,SAAU,CAAEC,UAAWvB,EAAIwB,GAAGxB,EAAIyB,SAC5CzB,EAAI0B,GAAG,KACPtB,EACE,MACA,CACEJ,EAAI2B,GAAG3B,EAAI4B,eAAe,SAASC,GACjC,MAAO,CACLA,EAAaC,SAASC,OAAS,EA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,GAAI,CACFS,MAAO,SAASP,GACdA,EAAOQ,iBACPR,EAAOS,kBACPpD,EAAIwD,aAAc,KAIxB,CACEpD,EAAG,IAAK,CAAES,YAAa,4BACvBb,EAAI0B,GAAG,KACPtB,EAAG,OAAQ,CAAES,YAAa,4BAA8B,CACtDb,EAAI0B,GACF1B,EAAIwB,GACFxB,EAAI+C,WAAW,uDAWrChD,EAAO0D,eAAgB,E,quBClPvB,ICvGiN,EDuGjN,CACE,MACF,CACI,OAAJ,OACI,QAAJ,OACI,cAAJ,QAGE,KARF,WAUI,MAAJ,CACM,aAAN,EACM,YAAN,IAIE,SACF,CACI,UADJ,WAGM,OAAN,+EAGI,cANJ,WAQM,OAAN,mBAGI,KAXJ,WAaM,IAAN,GACQ,IAAR,4HACQ,aAAR,kJAAU,OAAV,iBACQ,OAAR,yIAAU,OAAV,iBACQ,MAAR,mJAGM,OAAN,yDAIE,QAAF,OAEA,aACA,gBACA,eAJA,IAOI,MAPJ,WASM,KAAN,eACM,KAAN,eAGI,KAbJ,WAeM,KAAN,gBAGI,YAlBJ,SAkBA,GAEM,OAAN,yCAGI,cAvBJ,SAuBA,GAEM,KAAN,0C,OElKIC,EAAY,YACd,EACA3D,EH+UoB,IG7UpB,EACA,KACA,KACA,MAuBF2D,EAAUC,QAAQC,OAAS,2DACZ,UAAAF,E","file":"chunks/ceres-45.min.js","sourcesContent":["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 directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.$ceres.isSSR,\n expression: \"!$ceres.isSSR\"\n }\n ],\n staticClass: \"cookie-bar\",\n class: {\n out: !_vm.isVisible,\n \"border-top bg-white\": _vm.isVisible,\n \"fixed-bottom\": !_vm.isShopBuilder || false\n }\n },\n [\n _vm.isVisible\n ? _c(\"div\", { staticClass: \"container-max\" }, [\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: !_vm.isExpanded,\n expression: \"!isExpanded\"\n }\n ],\n staticClass: \"row py-3\",\n class: _vm.classes,\n style: _vm.styles\n },\n [\n _c(\"div\", { staticClass: \"col-12 col-md-8\" }, [\n _c(\"p\", { domProps: { innerHTML: _vm._s(_vm.text) } }),\n _vm._v(\" \"),\n _c(\n \"div\",\n [\n _vm._l(_vm.consentGroups, function(consentGroup) {\n return [\n consentGroup.consents.length > 0\n ? _c(\n \"span\",\n {\n key: consentGroup.key,\n staticClass:\n \"custom-control custom-switch custom-control-appearance d-md-inline-block mr-3\"\n },\n [\n _c(\"input\", {\n staticClass: \"custom-control-input\",\n attrs: {\n type: \"checkbox\",\n id:\n _vm._uid + \"-group-\" + consentGroup.key,\n disabled: consentGroup.necessary\n },\n domProps: {\n checked:\n _vm.isConsented(consentGroup.key) ||\n consentGroup.necessary\n },\n on: {\n change: function($event) {\n return _vm.toggleConsent(\n consentGroup.key\n )\n }\n }\n }),\n _vm._v(\" \"),\n _c(\n \"label\",\n {\n staticClass: \"custom-control-label\",\n attrs: {\n for:\n _vm._uid +\n \"-group-\" +\n consentGroup.key\n }\n },\n [\n consentGroup.label.length > 0\n ? [\n _vm._v(\n \"\\n \" +\n _vm._s(consentGroup.label) +\n \"\\n \"\n )\n ]\n : [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.privacySettingsDefaultGroup\"\n )\n ) +\n \"\\n \"\n )\n ]\n ],\n 2\n )\n ]\n )\n : _vm._e()\n ]\n }),\n _vm._v(\" \"),\n _c(\n \"a\",\n {\n staticClass:\n \"text-primary text-appearance d-block d-md-inline-block\",\n attrs: {\n href: \"#\",\n \"data-testing\": \"cookie-bar-show-more-information\"\n },\n on: {\n click: function($event) {\n $event.preventDefault()\n $event.stopPropagation()\n _vm.isExpanded = true\n }\n }\n },\n [\n _vm._v(\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.cookieBarMoreSettings\"\n )\n )\n )\n ]\n )\n ],\n 2\n )\n ]),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"col-12 col-md-4 pt-3 pt-md-0\" }, [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-primary btn-block btn-appearance\",\n attrs: { \"data-testing\": \"cookie-bar-accept-all\" },\n on: {\n click: function($event) {\n _vm.acceptAll()\n _vm.close()\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.cookieBarAcceptAll\")\n ) +\n \"\\n \"\n )\n ]\n ),\n _vm._v(\" \"),\n _c(\n \"button\",\n {\n staticClass: \"btn btn-default btn-block\",\n attrs: { \"data-testing\": \"cookie-bar-save\" },\n on: {\n click: function($event) {\n _vm.storeConsents()\n _vm.close()\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.cookieBarSave\")\n ) +\n \"\\n \"\n )\n ]\n )\n ])\n ]\n ),\n _vm._v(\" \"),\n _vm.isExpanded\n ? _c(\n \"div\",\n {\n staticClass: \"row py-3\",\n class: _vm.classes,\n style: _vm.styles\n },\n [\n _c(\n \"div\",\n { staticClass: \"col-12 mb-3\" },\n [\n _c(\"privacy-settings\", {\n attrs: { \"consent-groups\": _vm.consentGroups }\n })\n ],\n 1\n ),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"col-12 col-md-6\" }, [\n _c(\n \"a\",\n {\n staticClass:\n \"text-primary text-appearance d-inline-block mb-3\",\n attrs: {\n href: \"#\",\n \"data-testing\": \"cookie-bar-hide-more-information\"\n },\n on: {\n click: function($event) {\n $event.preventDefault()\n $event.stopPropagation()\n _vm.isExpanded = false\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.cookieBarBack\")\n ) +\n \"\\n \"\n )\n ]\n )\n ]),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"col-6 col-md-3\" }, [\n _c(\n \"button\",\n {\n staticClass:\n \"btn btn-block btn-primary btn-appearance\",\n attrs: {\n \"data-testing\": \"cookie-bar-expanded-accept-all\"\n },\n on: {\n click: function($event) {\n _vm.acceptAll()\n _vm.close()\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\n \"Ceres::Template.cookieBarAcceptAll\"\n )\n ) +\n \"\\n \"\n )\n ]\n )\n ]),\n _vm._v(\" \"),\n _c(\"div\", { staticClass: \"col-6 col-md-3\" }, [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-block btn-block btn-default\",\n attrs: { \"data-testing\": \"cookie-bar-expanded-save\" },\n on: {\n click: function($event) {\n _vm.storeConsents()\n _vm.close()\n }\n }\n },\n [\n _vm._v(\n \"\\n \" +\n _vm._s(\n _vm.$translate(\"Ceres::Template.cookieBarSave\")\n ) +\n \"\\n \"\n )\n ]\n )\n ])\n ]\n )\n : _vm._e()\n ])\n : _c(\"div\", [\n _c(\n \"button\",\n {\n staticClass: \"btn btn-primary btn-appearance\",\n attrs: {\n \"aria-label\": _vm.$translate(\n \"Ceres::Template.cookieBarPrivacySettings\"\n )\n },\n on: {\n click: function($event) {\n $event.preventDefault()\n $event.stopPropagation()\n _vm.isCollapsed = false\n }\n }\n },\n [\n _c(\"i\", { staticClass: \"fa fa-shield float-none\" }),\n _vm._v(\" \"),\n _c(\"span\", { staticClass: \"d-none d-sm-inline-block\" }, [\n _vm._v(\n _vm._s(\n _vm.$translate(\"Ceres::Template.cookieBarPrivacySettings\")\n )\n )\n ])\n ]\n )\n ])\n ]\n )\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","\n\n\n","import mod from \"-!../../../../../../node_modules/babel-loader/lib/index.js!../../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CookieBar.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!./CookieBar.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./CookieBar.vue?vue&type=template&id=cb92f282&\"\nimport script from \"./CookieBar.vue?vue&type=script&lang=js&\"\nexport * from \"./CookieBar.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(\"/home/jenkins/workspace/Ceres_Build_Stable/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('cb92f282')) {\n api.createRecord('cb92f282', component.options)\n } else {\n api.reload('cb92f282', component.options)\n }\n module.hot.accept(\"./CookieBar.vue?vue&type=template&id=cb92f282&\", function () {\n api.rerender('cb92f282', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"resources/js/src/app/components/pageDesign/CookieBar.vue\"\nexport default component.exports"],"sourceRoot":""}