{"version":3,"sources":["webpack:///./src/mixins/professional-kitchen-equipment.js","webpack:///./src/components/ui/snippet.vue?6955","webpack:///./src/services/google-map.js","webpack:///./src/consts/delivery-truck-types.js","webpack:///./src/assets/ambiance/bowl-pile.svg","webpack:///./src/components/pages/alert/list.vue?7565","webpack:///./src/consts/professional-kitchen-equipment.js","webpack:///./src/components/pages/alert/list.vue?3f47","webpack:///./src/mixins/ad-delivery-truck-type.js","webpack:///./src/mixins/ad-category.js","webpack:///./src/components/pages/alert/list.vue","webpack:///./src/components/alert/no-content.vue","webpack:///src/components/alert/no-content.vue","webpack:///./src/components/alert/no-content.vue?133a","webpack:///./src/components/alert/no-content.vue?5145","webpack:///./src/components/alert/snippet.vue","webpack:///src/components/alert/snippet.vue","webpack:///./src/components/alert/snippet.vue?74f2","webpack:///./src/components/alert/snippet.vue?e5d6","webpack:///src/components/pages/alert/list.vue","webpack:///./src/components/pages/alert/list.vue?178a","webpack:///./src/components/pages/alert/list.vue?1416","webpack:///./src/services/alert.graphql","webpack:///./src/components/pages/alert/list.vue?4cb4","webpack:///./src/components/alert/snippet.vue?8ea1","webpack:///./src/components/ui/snippet.vue","webpack:///src/components/ui/snippet.vue","webpack:///./src/components/ui/snippet.vue?0d1f","webpack:///./src/components/ui/snippet.vue?8130","webpack:///./src/services/alert.js","webpack:///./src/assets/icons/invisible.svg"],"names":["ProfessionalKitchenEquipment","data","professionalKitchenEquipmentOptions","value","PROFESSIONAL_KITCHEN_EQUIPMENT_STOVE","text","this","$t","PROFESSIONAL_KITCHEN_EQUIPMENT_OVEN","PROFESSIONAL_KITCHEN_EQUIPMENT_WORKPLAN","PROFESSIONAL_KITCHEN_EQUIPMENT_MICROWAVES","PROFESSIONAL_KITCHEN_EQUIPMENT_SINK_DISHWASHER","PROFESSIONAL_KITCHEN_EQUIPMENT_COOKING_TOOLS","PROFESSIONAL_KITCHEN_EQUIPMENT_DRY_STORAGE_SPACE","PROFESSIONAL_KITCHEN_EQUIPMENT_FRIDGE","PROFESSIONAL_KITCHEN_EQUIPMENT_COLD_ROOM","PROFESSIONAL_KITCHEN_EQUIPMENT_FREEZER","PROFESSIONAL_KITCHEN_EQUIPMENT_OTHER","methods","getProfessionalKitchenEquipmentLabel","equipment","filter","x","first","getAddressFromGooglePlace","_x","_getAddressFromGooglePlace","apply","arguments","_asyncToGenerator","place","reverseGeocodeResult","reverseGeocode","latitude","longitude","address","raw","JSON","stringify","undefined","locality","postal_code","postalCode","route","street_number","streetNumber","neighborhood","sublocality","_x2","_x3","_reverseGeocode","geocoder","window","google","maps","Geocoder","latlng","lat","parseFloat","lng","geocoded","geocode","location","i","results","length","result","findComponent","type","types","find","components","address_components","j","component","long_name","TRUCK_TYPE_VAN","TRUCK_TYPE_CUBE_12_FOOT","TRUCK_TYPE_CUBE_14_FOOT","TRUCK_TYPE_CUBE_16_FOOT_AND_MORE","TRUCK_TYPE_OTHER","module","exports","AdDeliveryTruckType","deliveryTruckTypesOptions","getDeliveryTruckTypeLabel","AdCategory","categoryOptions","CATEGORY_PROFESSIONAL_KITCHEN","shortText","CATEGORY_DELIVERY_TRUCK","CATEGORY_STORAGE_SPACE","CATEGORY_PROFESSIONAL_COOKING_EQUIPMENT","CATEGORY_PREP_EQUIPMENT","CATEGORY_REFRIGERATION_EQUIPMENT","CATEGORY_HEAVY_EQUIPMENT","CATEGORY_SURPLUS","CATEGORY_OTHER","getCategoryLabel","category","getCategoryShortLabel","render","_vm","_c","_self","userProfile","staticClass","_v","_s","alerts","_l","alert","key","id","attrs","me","email","on","$event","refreshAlerts","_e","name","$consts","urls","URL_AD_ALERT_ADD","staticRenderFns","require","URL_AD_ALERT_EDIT","params","scopedSlots","_u","fn","description","radius","proxy","deleteAlert","mixins","UiSnippet","props","Object","required","String","computed","content","dayAvailability","push","eveningAvailability","professionalKitchenEquipment","deliveryTruckType","canHaveDriver","canSharedRoad","refrigerated","join","_this","NotificationService","showSuccess","$emit","AlertNoContent","AlertSnippet","profileId","profile","user","$apollo","queries","refetch","apollo","query","$options","Me","UserProfileById","variables","skip","doc","loc","source","collectFragmentReferences","node","refs","kind","add","selectionSet","selections","forEach","selection","variableDefinitions","def","definitions","definitionRefs","findOperation","element","oneQuery","operationName","newDoc","hasOwnProperty","opRefs","Set","allRefs","newRefs","refName","size","prevRefs","has","childRefs","childRef","op","gqlDocs","handler","default","snippetIsLink","tag","class","mainRoute","imageSrc","concat","imageAlt","isAdminOnly","_t","suptitle","titleTag","noWrapTitle","smallTitle","title","hideActions","mainRouteLabel","Boolean","createAlert","_createAlert","input","isConnected","mutationInput","addMaybeValue","Apollo","instance","defaultClient","mutate","mutation","CreateAlert","AuthentificationService","renewToken","updateAlert","_updateAlert","alertId","keys","UpdateAlert","_x4","_x5","_deleteAlert","DeleteAlert","confirmAlert","_x6","_x7","_confirmAlert","ConfirmAlert"],"mappings":"gHAAA,kDAcO,MAAMA,EAA+B,CAC1CC,OACE,MAAO,CACLC,oCAAqC,CACnC,CAAEC,MAAOC,OAAsCC,KAAMC,KAAKC,GAAG,gDAC7D,CAAEJ,MAAOK,OAAqCH,KAAMC,KAAKC,GAAG,+CAC5D,CAAEJ,MAAOM,OAAyCJ,KAAMC,KAAKC,GAAG,mDAChE,CAAEJ,MAAOO,OAA2CL,KAAMC,KAAKC,GAAG,qDAClE,CACEJ,MAAOQ,OACPN,KAAMC,KAAKC,GAAG,0DAEhB,CACEJ,MAAOS,OACPP,KAAMC,KAAKC,GAAG,wDAEhB,CACEJ,MAAOU,OACPR,KAAMC,KAAKC,GAAG,4DAEhB,CAAEJ,MAAOW,OAAuCT,KAAMC,KAAKC,GAAG,iDAC9D,CAAEJ,MAAOY,OAA0CV,KAAMC,KAAKC,GAAG,oDACjE,CAAEJ,MAAOa,OAAwCX,KAAMC,KAAKC,GAAG,kDAC/D,CAAEJ,MAAOc,OAAsCZ,KAAMC,KAAKC,GAAG,mDAInEW,QAAS,CACPC,qCAAsC,SAASC,GAC7C,OAAOd,KAAKJ,oCAAoCmB,OAAQC,GAAMA,EAA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Y,iBACV7E,UAAW,CACTyD,MAAOE,KAIX,OAAOnK,KACRoL,EAAA3N,MAAA,KAAAC,WAEM,SAAe4N,EAAYC,EAAAC,GAAA,OAAAC,EAAAhO,MAAC,KAADC,WAcjC,SAAA+N,IAAA,OAAAA,EAAA9N,gBAdM,UAA4BoN,EAAS7H,GAC1C,IAAIiH,EAAgB,CAClBY,UACA7H,SAGElD,QAAeqK,OAAOC,SAASC,cAAcC,OAAO,CACtDC,SAAUiB,kBACVlF,UAAW,CACTyD,MAAOE,KAIX,OAAOnK,KACRyL,EAAAhO,MAAA,KAAAC,a,qBCjGDqD,EAAOC,QAAU,IAA0B","file":"js/chunk-0ca15301.3510823a.js","sourcesContent":["import {\r\n PROFESSIONAL_KITCHEN_EQUIPMENT_STOVE,\r\n PROFESSIONAL_KITCHEN_EQUIPMENT_OVEN,\r\n PROFESSIONAL_KITCHEN_EQUIPMENT_WORKPLAN,\r\n PROFESSIONAL_KITCHEN_EQUIPMENT_MICROWAVES,\r\n PROFESSIONAL_KITCHEN_EQUIPMENT_SINK_DISHWASHER,\r\n PROFESSIONAL_KITCHEN_EQUIPMENT_COOKING_TOOLS,\r\n PROFESSIONAL_KITCHEN_EQUIPMENT_DRY_STORAGE_SPACE,\r\n PROFESSIONAL_KITCHEN_EQUIPMENT_FRIDGE,\r\n PROFESSIONAL_KITCHEN_EQUIPMENT_COLD_ROOM,\r\n PROFESSIONAL_KITCHEN_EQUIPMENT_FREEZER,\r\n PROFESSIONAL_KITCHEN_EQUIPMENT_OTHER\r\n} from \"@/consts/professional-kitchen-equipment\";\r\n\r\nexport const ProfessionalKitchenEquipment = {\r\n data() {\r\n return {\r\n professionalKitchenEquipmentOptions: [\r\n { value: PROFESSIONAL_KITCHEN_EQUIPMENT_STOVE, text: this.$t(\"select.professional-kitchen-equipment-STOVE\") },\r\n { value: PROFESSIONAL_KITCHEN_EQUIPMENT_OVEN, text: this.$t(\"select.professional-kitchen-equipment-OVEN\") },\r\n { value: PROFESSIONAL_KITCHEN_EQUIPMENT_WORKPLAN, text: this.$t(\"select.professional-kitchen-equipment-WORKPLAN\") },\r\n { value: PROFESSIONAL_KITCHEN_EQUIPMENT_MICROWAVES, text: this.$t(\"select.professional-kitchen-equipment-MICROWAVES\") },\r\n {\r\n value: PROFESSIONAL_KITCHEN_EQUIPMENT_SINK_DISHWASHER,\r\n text: this.$t(\"select.professional-kitchen-equipment-SINK_DISHWASHER\")\r\n },\r\n {\r\n value: PROFESSIONAL_KITCHEN_EQUIPMENT_COOKING_TOOLS,\r\n text: this.$t(\"select.professional-kitchen-equipment-COOKING_TOOLS\")\r\n },\r\n {\r\n value: PROFESSIONAL_KITCHEN_EQUIPMENT_DRY_STORAGE_SPACE,\r\n text: this.$t(\"select.professional-kitchen-equipment-DRY_STORAGE_SPACE\")\r\n },\r\n { value: PROFESSIONAL_KITCHEN_EQUIPMENT_FRIDGE, text: this.$t(\"select.professional-kitchen-equipment-FRIDGE\") },\r\n { value: PROFESSIONAL_KITCHEN_EQUIPMENT_COLD_ROOM, text: this.$t(\"select.professional-kitchen-equipment-COLD_ROOM\") },\r\n { value: PROFESSIONAL_KITCHEN_EQUIPMENT_FREEZER, text: this.$t(\"select.professional-kitchen-equipment-FREEZER\") },\r\n { value: PROFESSIONAL_KITCHEN_EQUIPMENT_OTHER, text: this.$t(\"select.professional-kitchen-equipment-OTHER\") }\r\n ]\r\n };\r\n },\r\n methods: {\r\n getProfessionalKitchenEquipmentLabel: function(equipment) {\r\n return this.professionalKitchenEquipmentOptions.filter((x) => x.value === equipment).first().text;\r\n }\r\n }\r\n};\r\n","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./snippet.vue?vue&type=style&index=0&id=c4e79f5a&prod&lang=scss\"","export async function getAddressFromGooglePlace(place) {\r\n let reverseGeocodeResult = await reverseGeocode(place.latitude, place.longitude);\r\n let address = { raw: JSON.stringify(place), latitude: place.latitude, longitude: place.longitude };\r\n\r\n if (place.locality !== undefined) {\r\n address.locality = { value: place.locality };\r\n }\r\n\r\n if (place.postal_code !== undefined) {\r\n address.postalCode = { value: place.postal_code };\r\n }\r\n\r\n if (place.route !== undefined) {\r\n address.route = { value: place.route };\r\n }\r\n\r\n if (place.street_number !== undefined) {\r\n address.streetNumber = { value: place.street_number };\r\n }\r\n\r\n if (reverseGeocodeResult.neighborhood !== undefined) {\r\n address.neighborhood = { value: reverseGeocodeResult.neighborhood };\r\n }\r\n\r\n if (reverseGeocodeResult.sublocality !== undefined) {\r\n address.sublocality = { value: reverseGeocodeResult.sublocality };\r\n }\r\n\r\n return address;\r\n}\r\n\r\nasync function reverseGeocode(latitude, longitude) {\r\n const geocoder = new window.google.maps.Geocoder();\r\n const latlng = {\r\n lat: parseFloat(latitude),\r\n lng: parseFloat(longitude)\r\n };\r\n\r\n let neighborhood = \"\";\r\n let sublocality = \"\";\r\n\r\n let geocoded = await geocoder.geocode({ location: latlng });\r\n\r\n for (let i = 0; i < geocoded.results.length; i++) {\r\n let result = geocoded.results[i];\r\n\r\n if (neighborhood === \"\") {\r\n neighborhood = findComponent(result, \"neighborhood\");\r\n }\r\n if (sublocality === \"\") {\r\n sublocality = findComponent(result, \"sublocality\");\r\n }\r\n }\r\n\r\n return { neighborhood, sublocality };\r\n}\r\n\r\nfunction findComponent(result, type) {\r\n if (result.types.find((x) => x === type)) {\r\n let components = result.address_components;\r\n for (let j = 0; j < components.length; j++) {\r\n let component = components[j];\r\n if (component.types.find((x) => x === type)) {\r\n return component.long_name;\r\n }\r\n }\r\n }\r\n return \"\";\r\n}\r\n","export const TRUCK_TYPE_VAN = \"VAN\";\r\nexport const TRUCK_TYPE_CUBE_12_FOOT = \"CUBE_TRUCK12_FOOT\";\r\nexport const TRUCK_TYPE_CUBE_14_FOOT = \"CUBE_TRUCK14_FOOT\";\r\nexport const TRUCK_TYPE_CUBE_16_FOOT_AND_MORE = \"CUBE_TRUCK16_FOOT_AND_MORE\";\r\nexport const TRUCK_TYPE_OTHER = \"OTHER\";\r\n","module.exports = __webpack_public_path__ + \"img/bowl-pile.819e0b73.svg\";","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./list.vue?vue&type=style&index=0&id=6e24bbe3&prod&lang=scss\"","export const PROFESSIONAL_KITCHEN_EQUIPMENT_STOVE = \"STOVE\";\r\nexport const PROFESSIONAL_KITCHEN_EQUIPMENT_OVEN = \"OVEN\";\r\nexport const PROFESSIONAL_KITCHEN_EQUIPMENT_WORKPLAN = \"WORKPLAN\";\r\nexport const PROFESSIONAL_KITCHEN_EQUIPMENT_MICROWAVES = \"MICROWAVES\";\r\nexport const PROFESSIONAL_KITCHEN_EQUIPMENT_SINK_DISHWASHER = \"SINK_DISHWASHER\";\r\nexport const PROFESSIONAL_KITCHEN_EQUIPMENT_COOKING_TOOLS = \"COOKING_TOOLS\";\r\nexport const PROFESSIONAL_KITCHEN_EQUIPMENT_DRY_STORAGE_SPACE = \"DRY_STORAGE_SPACE\";\r\nexport const PROFESSIONAL_KITCHEN_EQUIPMENT_FRIDGE = \"FRIDGE\";\r\nexport const PROFESSIONAL_KITCHEN_EQUIPMENT_COLD_ROOM = \"COLD_ROOM\";\r\nexport const PROFESSIONAL_KITCHEN_EQUIPMENT_FREEZER = \"FREEZER\";\r\nexport const PROFESSIONAL_KITCHEN_EQUIPMENT_OTHER = \"OTHER\";\r\n","import mod from \"-!../../../../node_modules/vue-graphql-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./list.vue?vue&type=custom&index=0&blockType=graphql\"; export default mod; export * from \"-!../../../../node_modules/vue-graphql-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./list.vue?vue&type=custom&index=0&blockType=graphql\"","import {\r\n TRUCK_TYPE_VAN,\r\n TRUCK_TYPE_CUBE_12_FOOT,\r\n TRUCK_TYPE_CUBE_14_FOOT,\r\n TRUCK_TYPE_CUBE_16_FOOT_AND_MORE,\r\n TRUCK_TYPE_OTHER\r\n} from \"@/consts/delivery-truck-types\";\r\n\r\nexport const AdDeliveryTruckType = {\r\n data() {\r\n return {\r\n deliveryTruckTypesOptions: [\r\n { value: TRUCK_TYPE_VAN, text: this.$t(\"select.delivery-truck-type-van\") },\r\n { value: TRUCK_TYPE_CUBE_12_FOOT, text: this.$t(\"select.delivery-truck-type-cube-12\") },\r\n { value: TRUCK_TYPE_CUBE_14_FOOT, text: this.$t(\"select.delivery-truck-type-cube-14\") },\r\n { value: TRUCK_TYPE_CUBE_16_FOOT_AND_MORE, text: this.$t(\"select.delivery-truck-type-cube-16\") },\r\n { value: TRUCK_TYPE_OTHER, text: this.$t(\"select.delivery-truck-type-other\") }\r\n ]\r\n };\r\n },\r\n methods: {\r\n getDeliveryTruckTypeLabel: function(type) {\r\n return this.deliveryTruckTypesOptions.filter((x) => x.value === type).first().text;\r\n }\r\n }\r\n};\r\n","import {\r\n CATEGORY_PROFESSIONAL_KITCHEN,\r\n CATEGORY_DELIVERY_TRUCK,\r\n CATEGORY_STORAGE_SPACE,\r\n CATEGORY_PROFESSIONAL_COOKING_EQUIPMENT,\r\n CATEGORY_PREP_EQUIPMENT,\r\n CATEGORY_REFRIGERATION_EQUIPMENT,\r\n CATEGORY_HEAVY_EQUIPMENT,\r\n CATEGORY_SURPLUS,\r\n CATEGORY_OTHER\r\n} from \"@/consts/categories\";\r\n\r\nexport const AdCategory = {\r\n data() {\r\n return {\r\n categoryOptions: [\r\n {\r\n value: CATEGORY_PROFESSIONAL_KITCHEN,\r\n text: this.$t(\"select.category-professional-kitchen\"),\r\n shortText: this.$t(\"select.category-professional-kitchen\")\r\n },\r\n {\r\n value: CATEGORY_DELIVERY_TRUCK,\r\n text: this.$t(\"select.category-delivery-truck\"),\r\n shortText: this.$t(\"select.category-delivery-truck\")\r\n },\r\n {\r\n value: CATEGORY_STORAGE_SPACE,\r\n text: this.$t(\"select.category-storage-space\"),\r\n shortText: this.$t(\"select.category-storage-space\")\r\n },\r\n {\r\n value: CATEGORY_PROFESSIONAL_COOKING_EQUIPMENT,\r\n text: this.$t(\"select.category-professional-cooking-equipment\"),\r\n shortText: this.$t(\"select.category-professional-cooking-equipment-short\")\r\n },\r\n {\r\n value: CATEGORY_PREP_EQUIPMENT,\r\n text: this.$t(\"select.category-prep-equipment\"),\r\n shortText: this.$t(\"select.category-prep-equipment\")\r\n },\r\n {\r\n value: CATEGORY_REFRIGERATION_EQUIPMENT,\r\n text: this.$t(\"select.category-refrigeration-equipment\"),\r\n shortText: this.$t(\"select.category-refrigeration-equipment-short\")\r\n },\r\n {\r\n value: CATEGORY_HEAVY_EQUIPMENT,\r\n text: this.$t(\"select.category-heavy-equipment\"),\r\n shortText: this.$t(\"select.category-heavy-equipment\")\r\n },\r\n {\r\n value: CATEGORY_SURPLUS,\r\n text: this.$t(\"select.category-surplus\"),\r\n shortText: this.$t(\"select.category-surplus\")\r\n },\r\n { value: CATEGORY_OTHER, text: this.$t(\"select.category-other\"), shortText: this.$t(\"select.category-other\") }\r\n ]\r\n };\r\n },\r\n methods: {\r\n getCategoryLabel: function (category) {\r\n return this.categoryOptions.filter((x) => x.value === category).first().text;\r\n },\r\n getCategoryShortLabel: function (category) {\r\n return this.categoryOptions.filter((x) => x.value === category).first().shortText;\r\n }\r\n }\r\n};\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return (_vm.userProfile)?_c('div',{staticClass:\"alert-list w-100 mt-4 mt-md-5\"},[_c('div',{staticClass:\"section section--sm mb-4\"},[_c('h1',[_vm._v(_vm._s(_vm.$t(\"title.manage-my-alerts\")))])]),(_vm.alerts.length > 0)?[_c('div',{staticClass:\"mb-5 pt-3\"},_vm._l((_vm.alerts),function(alert){return _c('alert-snippet',{key:alert.id,attrs:{\"alert\":alert,\"email\":_vm.me.email,\"sectionWidth\":\"sm\",\"smallTitle\":\"\"},on:{\"deleted\":function($event){return _vm.refreshAlerts()}}})}),1)]:_vm._e(),(_vm.alerts.length === 0)?_c('alert-no-content',{staticClass:\"my-5 py-sm-5\"}):_c('div',{staticClass:\"alert-list__bottom section section--md\"},[_c('div',{staticClass:\"mx-4\"},[_c('b-button',{attrs:{\"variant\":\"admin\",\"size\":\"lg\",\"block\":\"\",\"to\":{ name: _vm.$consts.urls.URL_AD_ALERT_ADD }}},[_vm._v(_vm._s(_vm.$t(\"nav.create-alert\")))])],1)])],2):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"no-content my-5 py-sm-4\"},[_c('img',{staticClass:\"no-content__img mb-4\",attrs:{\"alt\":\"\",\"src\":require('@/assets/ambiance/bowl-pile.svg')}}),_c('p',[_vm._v(_vm._s(_vm.$t(\"profile-detail.no-alerts\")))]),_c('b-button',{attrs:{\"variant\":\"primary\",\"to\":{ name: _vm.$consts.urls.URL_AD_ALERT_ADD }}},[_vm._v(_vm._s(_vm.$t(\"nav.create-alert\"))+\" \")])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./no-content.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./no-content.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./no-content.vue?vue&type=template&id=1c439296\"\nimport script from \"./no-content.vue?vue&type=script&lang=js\"\nexport * from \"./no-content.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\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"alert-snippet focus-overflow w-100\"},[_c('div',{staticClass:\"section section--full-width-mobile section--sm\"},[_c('UiSnippet',{attrs:{\"snippetIsLink\":false,\"hideActions\":false,\"title\":_vm.getCategoryLabel(_vm.alert.category),\"noWrapTitle\":false,\"smallTitle\":false,\"mainRoute\":{ name: _vm.$consts.urls.URL_AD_ALERT_EDIT, params: { id: _vm.alert.id } },\"mainRouteLabel\":_vm.$t('btn.alert-edit')},scopedSlots:_vm._u([{key:\"description\",fn:function(){return [_c('p',{staticClass:\"text-muted mb-0 mt-1\"},[_vm._v(\" \"+_vm._s(_vm.description)+\" \")]),_c('p',{staticClass:\"text-muted mb-0 mt-1\"},[_vm._v(\" \"+_vm._s(_vm.$t(\"text.alert-radius\", { radius: _vm.alert.radius }))+\" \")])]},proxy:true},{key:\"actions\",fn:function(){return [_c('b-button',{staticClass:\"mt-2 ml-2\",attrs:{\"variant\":\"outline-primary\",\"size\":\"sm\"},on:{\"click\":_vm.deleteAlert}},[_c('b-icon',{staticClass:\"mr-1\",attrs:{\"icon\":\"trash-fill\",\"aria-hidden\":\"true\"}}),_vm._v(\" \"+_vm._s(_vm.$t(\"btn.alert-delete\"))+\" \")],1)]},proxy:true}])})],1)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./snippet.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./snippet.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./snippet.vue?vue&type=template&id=51578dfe\"\nimport script from \"./snippet.vue?vue&type=script&lang=js\"\nexport * from \"./snippet.vue?vue&type=script&lang=js\"\nimport style0 from \"./snippet.vue?vue&type=style&index=0&id=51578dfe&prod&lang=scss\"\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\nexport default component.exports","\r\n\r\n\r\n\r\nquery Me {\r\n me {\r\n id\r\n email\r\n profile {\r\n id\r\n }\r\n }\r\n}\r\nquery UserProfileById($id: ID!) {\r\n userProfile(id: $id) {\r\n id\r\n user {\r\n alerts {\r\n id\r\n category\r\n radius\r\n dayAvailability\r\n eveningAvailability\r\n professionalKitchenEquipment\r\n deliveryTruckType\r\n refrigerated\r\n canSharedRoad\r\n canHaveDriver\r\n }\r\n }\r\n }\r\n}\r\n\r\n\r\n\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./list.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./list.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./list.vue?vue&type=template&id=6e24bbe3\"\nimport script from \"./list.vue?vue&type=script&lang=js\"\nexport * from \"./list.vue?vue&type=script&lang=js\"\nimport style0 from \"./list.vue?vue&type=style&index=0&id=6e24bbe3&prod&lang=scss\"\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/* custom blocks */\nimport block0 from \"./list.vue?vue&type=custom&index=0&blockType=graphql\"\nif (typeof block0 === 'function') block0(component)\n\nexport default component.exports","\n var doc = {\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"CreateAlert\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"CreateAlertInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"createAlert\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"alert\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"UpdateAlert\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"UpdateAlertInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"updateAlert\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"alert\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"DeleteAlert\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"DeleteAlertInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"deleteAlert\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"success\"},\"arguments\":[],\"directives\":[]}]}}]}},{\"kind\":\"OperationDefinition\",\"operation\":\"mutation\",\"name\":{\"kind\":\"Name\",\"value\":\"ConfirmAlert\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ConfirmAlertInput\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"confirmAlert\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"input\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"alert\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":476}};\n doc.loc.source = {\"body\":\"mutation CreateAlert($input: CreateAlertInput!) {\\r\\n createAlert(input: $input) {\\r\\n alert {\\r\\n id\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\nmutation UpdateAlert($input: UpdateAlertInput!) {\\r\\n updateAlert(input: $input) {\\r\\n alert {\\r\\n id\\r\\n }\\r\\n }\\r\\n}\\r\\n\\r\\nmutation DeleteAlert($input: DeleteAlertInput!) {\\r\\n deleteAlert(input: $input) {\\r\\n success\\r\\n }\\r\\n}\\r\\n\\r\\nmutation ConfirmAlert($input: ConfirmAlertInput!) {\\r\\n confirmAlert(input: $input) {\\r\\n alert {\\r\\n id\\r\\n }\\r\\n }\\r\\n}\\r\\n\",\"name\":\"GraphQL request\",\"locationOffset\":{\"line\":1,\"column\":1}};\n \r\n\n var names = {};\n function unique(defs) {\n return defs.filter(\n function(def) {\n if (def.kind !== 'FragmentDefinition') return true;\n var name = def.name.value\n if (names[name]) {\n return false;\n } else {\n names[name] = true;\n return true;\n }\n }\n )\n }\n \r\n\n // Collect any fragment/type references from a node, adding them to the refs Set\n function collectFragmentReferences(node, refs) {\n if (node.kind === \"FragmentSpread\") {\n refs.add(node.name.value);\n } else if (node.kind === \"VariableDefinition\") {\n var type = node.type;\n if (type.kind === \"NamedType\") {\n refs.add(type.name.value);\n }\n }\n\n if (node.selectionSet) {\n node.selectionSet.selections.forEach(function(selection) {\n collectFragmentReferences(selection, refs);\n });\n }\n\n if (node.variableDefinitions) {\n node.variableDefinitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n\n if (node.definitions) {\n node.definitions.forEach(function(def) {\n collectFragmentReferences(def, refs);\n });\n }\n }\n\n var definitionRefs = {};\n (function extractReferences() {\n doc.definitions.forEach(function(def) {\n if (def.name) {\n var refs = new Set();\n collectFragmentReferences(def, refs);\n definitionRefs[def.name.value] = refs;\n }\n });\n })();\n\n function findOperation(doc, name) {\n for (var i = 0; i < doc.definitions.length; i++) {\n var element = doc.definitions[i];\n if (element.name && element.name.value == name) {\n return element;\n }\n }\n }\n\n function oneQuery(doc, operationName) {\n // Copy the DocumentNode, but clear out the definitions\n var newDoc = {\n kind: doc.kind,\n definitions: [findOperation(doc, operationName)]\n };\n if (doc.hasOwnProperty(\"loc\")) {\n newDoc.loc = doc.loc;\n }\n\n // Now, for the operation we're running, find any fragments referenced by\n // it or the fragments it references\n var opRefs = definitionRefs[operationName] || new Set();\n var allRefs = new Set();\n var newRefs = new Set();\n\n // IE 11 doesn't support \"new Set(iterable)\", so we add the members of opRefs to newRefs one by one\n opRefs.forEach(function(refName) {\n newRefs.add(refName);\n });\n\n while (newRefs.size > 0) {\n var prevRefs = newRefs;\n newRefs = new Set();\n\n prevRefs.forEach(function(refName) {\n if (!allRefs.has(refName)) {\n allRefs.add(refName);\n var childRefs = definitionRefs[refName] || new Set();\n childRefs.forEach(function(childRef) {\n newRefs.add(childRef);\n });\n }\n });\n }\n\n allRefs.forEach(function(refName) {\n var op = findOperation(doc, refName);\n if (op) {\n newDoc.definitions.push(op);\n }\n });\n\n return newDoc;\n }\n \n module.exports = doc;\n \n module.exports[\"CreateAlert\"] = oneQuery(doc, \"CreateAlert\");\n \n module.exports[\"UpdateAlert\"] = oneQuery(doc, \"UpdateAlert\");\n \n module.exports[\"DeleteAlert\"] = oneQuery(doc, \"DeleteAlert\");\n \n module.exports[\"ConfirmAlert\"] = oneQuery(doc, \"ConfirmAlert\");\n \r\n","\n let gqlDocs = [{\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"Me\"},\"variableDefinitions\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"me\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"email\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"profile\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":435}},{\"kind\":\"Document\",\"definitions\":[{\"kind\":\"OperationDefinition\",\"operation\":\"query\",\"name\":{\"kind\":\"Name\",\"value\":\"UserProfileById\"},\"variableDefinitions\":[{\"kind\":\"VariableDefinition\",\"variable\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"}},\"type\":{\"kind\":\"NonNullType\",\"type\":{\"kind\":\"NamedType\",\"name\":{\"kind\":\"Name\",\"value\":\"ID\"}}},\"directives\":[]}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"userProfile\"},\"arguments\":[{\"kind\":\"Argument\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"value\":{\"kind\":\"Variable\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"}}}],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"user\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"alerts\"},\"arguments\":[],\"directives\":[],\"selectionSet\":{\"kind\":\"SelectionSet\",\"selections\":[{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"id\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"category\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"radius\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"dayAvailability\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"eveningAvailability\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"professionalKitchenEquipment\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"deliveryTruckType\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"refrigerated\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"canSharedRoad\"},\"arguments\":[],\"directives\":[]},{\"kind\":\"Field\",\"name\":{\"kind\":\"Name\",\"value\":\"canHaveDriver\"},\"arguments\":[],\"directives\":[]}]}}]}}]}}]}}],\"loc\":{\"start\":0,\"end\":435}}];\n let attrs = {\"noAnonymousOperations\":false,\"vue\":true,\"type\":\"custom\",\"index\":\"0\",\"blockType\":\"graphql\"} || {};\n let handler = require(\"D:\\\\a\\\\1\\\\s\\\\YellowDuck.FE\\\\node_modules\\\\vue-graphql-loader\\\\lib\\\\handler\");\n\n if (handler.default) {\n handler = handler.default;\n }\n module.exports = function vueGraphqlLoader(component) {\n handler(component, gqlDocs, attrs);\n }","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--9-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--9-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--9-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--9-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./snippet.vue?vue&type=style&index=0&id=51578dfe&prod&lang=scss\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c(_vm.snippetIsLink ? 'RouterLink' : 'div',{tag:\"component\",staticClass:\"ui-snippet\",class:{ 'ui-snippet--link': _vm.snippetIsLink },attrs:{\"to\":_vm.mainRoute}},[(_vm.imageSrc)?_c('div',{staticClass:\"ui-snippet__img-container\"},[_c('img',{staticClass:\"ui-snippet__img\",attrs:{\"src\":`${_vm.imageSrc}?mode=crop&width=200&height=200`,\"alt\":_vm.imageAlt ? _vm.imageAlt : ''}}),(_vm.isAdminOnly)?_c('div',{staticClass:\"ui-snippet__overlay-admin\"}):_vm._e(),(_vm.isAdminOnly)?_c('b-img',{staticClass:\"ui-snippet__icon-invisible\",attrs:{\"src\":require('@/assets/icons/invisible.svg'),\"alt\":\"\",\"height\":\"30\",\"block\":\"\"}}):_vm._e()],1):_vm._e(),_c('div',{staticClass:\"ui-snippet__content\"},[_vm._t(\"suptitle\",function(){return [(_vm.suptitle)?_c('p',{staticClass:\"my-0 text-uppercase font-weight-bold letter-spacing-wide smaller\"},[_vm._v(\" \"+_vm._s(_vm.suptitle)+\" \")]):_vm._e()]}),_vm._t(\"title\",function(){return [_c(_vm.titleTag,{tag:\"component\",staticClass:\"ui-snippet__title h6\",class:[{ 'ui-snippet__title--ellipse': _vm.noWrapTitle }, _vm.smallTitle ? 'h6 ui-snippet__title--small' : 'h2']},[_vm._v(\" \"+_vm._s(_vm.title)+\" \")])]}),_vm._t(\"description\"),(!_vm.hideActions)?_c('div',[(!_vm.snippetIsLink)?_c('b-button',{staticClass:\"mt-2\",attrs:{\"variant\":\"primary\",\"size\":\"sm\",\"to\":_vm.mainRoute}},[_vm._v(\" \"+_vm._s(_vm.mainRouteLabel)+\" \")]):_c('span',{staticClass:\"btn mt-2 btn-primary btn-sm\"},[_vm._v(_vm._s(_vm.mainRouteLabel))]),(!_vm.snippetIsLink)?_vm._t(\"actions\"):_vm._e()],2):_vm._e()],2)])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n\r\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./snippet.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./snippet.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./snippet.vue?vue&type=template&id=c4e79f5a\"\nimport script from \"./snippet.vue?vue&type=script&lang=js\"\nexport * from \"./snippet.vue?vue&type=script&lang=js\"\nimport style0 from \"./snippet.vue?vue&type=style&index=0&id=c4e79f5a&prod&lang=scss\"\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\nexport default component.exports","import Apollo from \"@/graphql/vue-apollo\";\r\nimport { CreateAlert, UpdateAlert, DeleteAlert, ConfirmAlert } from \"./alert.graphql\";\r\nimport { addMaybeValue } from \"@/helpers/graphql\";\r\n\r\nimport { getAddressFromGooglePlace } from \"@/services/google-map\";\r\nimport AuthentificationService from \"./authentification\";\r\n\r\nexport async function createAlert(input, isConnected) {\r\n let mutationInput = {\r\n category: input.category,\r\n address: await getAddressFromGooglePlace(input.address),\r\n radius: input.radius\r\n };\r\n\r\n addMaybeValue(input, mutationInput, \"professionalKitchenEquipment\");\r\n addMaybeValue(input, mutationInput, \"deliveryTruckType\");\r\n addMaybeValue(input, mutationInput, \"dayAvailability\");\r\n addMaybeValue(input, mutationInput, \"eveningAvailability\");\r\n addMaybeValue(input, mutationInput, \"refrigerated\");\r\n addMaybeValue(input, mutationInput, \"canSharedRoad\");\r\n addMaybeValue(input, mutationInput, \"canHaveDriver\");\r\n addMaybeValue(input, mutationInput, \"email\");\r\n\r\n let result = await Apollo.instance.defaultClient.mutate({\r\n mutation: CreateAlert,\r\n variables: {\r\n input: mutationInput\r\n }\r\n });\r\n\r\n if (isConnected) {\r\n // Renew the token since we want the new alert in our\r\n await AuthentificationService.renewToken();\r\n }\r\n\r\n return result;\r\n}\r\n\r\nexport async function updateAlert(input) {\r\n let mutationInput = {\r\n alertId: input.alertId\r\n };\r\n\r\n addMaybeValue(input, mutationInput, \"category\");\r\n await addMaybeValue(input, mutationInput, \"address\", getAddressFromGooglePlace);\r\n addMaybeValue(input, mutationInput, \"radius\");\r\n addMaybeValue(input, mutationInput, \"professionalKitchenEquipment\");\r\n addMaybeValue(input, mutationInput, \"deliveryTruckType\");\r\n addMaybeValue(input, mutationInput, \"dayAvailability\");\r\n addMaybeValue(input, mutationInput, \"eveningAvailability\");\r\n addMaybeValue(input, mutationInput, \"refrigerated\");\r\n addMaybeValue(input, mutationInput, \"canSharedRoad\");\r\n addMaybeValue(input, mutationInput, \"canHaveDriver\");\r\n addMaybeValue(input, mutationInput, \"email\");\r\n\r\n if (Object.keys(mutationInput).length > 1) {\r\n let result = await Apollo.instance.defaultClient.mutate({\r\n mutation: UpdateAlert,\r\n variables: {\r\n input: mutationInput\r\n }\r\n });\r\n\r\n return result;\r\n }\r\n}\r\n\r\nexport async function deleteAlert(alertId, email) {\r\n let mutationInput = {\r\n alertId,\r\n email\r\n };\r\n\r\n let result = await Apollo.instance.defaultClient.mutate({\r\n mutation: DeleteAlert,\r\n variables: {\r\n input: mutationInput\r\n }\r\n });\r\n\r\n return result;\r\n}\r\n\r\nexport async function confirmAlert(alertId, email) {\r\n let mutationInput = {\r\n alertId,\r\n email\r\n };\r\n\r\n let result = await Apollo.instance.defaultClient.mutate({\r\n mutation: ConfirmAlert,\r\n variables: {\r\n input: mutationInput\r\n }\r\n });\r\n\r\n return result;\r\n}\r\n","module.exports = __webpack_public_path__ + \"img/invisible.e683c175.svg\";"],"sourceRoot":""}