{"version":3,"sources":["webpack:///./src/components/NumberTicker.vue","webpack:///src/components/NumberTicker.vue","webpack:///./src/components/NumberTicker.vue?c700","webpack:///./src/components/NumberTicker.vue?7eee","webpack:///./src/mixins/addToCart.js","webpack:///./src/components/PageFooter.vue","webpack:///src/components/PageFooter.vue","webpack:///./src/components/PageFooter.vue?98d3","webpack:///./src/components/PageFooter.vue?046c","webpack:///./src/mixins/postTimeSelection.js","webpack:///./src/components/PostAddToCartModals.vue?888d","webpack:///./src/components/PostAddToCartModals.vue","webpack:///src/components/PostAddToCartModals.vue","webpack:///./src/components/PostAddToCartModals.vue?f7e7","webpack:///./src/components/PostAddToCartModals.vue?50d3"],"names":["render","_vm","this","_c","_self","staticClass","_v","_s","min","attrs","value","on","$event","preventDefault","decrement","apply","arguments","class","max","errorOverride","blue","disableAdd","disableAllAdds","increment","staticRenderFns","name","props","data","error","mounted","methods","valuePlus","$emit","valueMinus","computed","component","addToCartLoading","skipOverlap","overlappedActivitiesModal","show","hideHeader","takenTimesModal","modelErrorsModal","_objectSpread","mapActions","overlappedActivitiesModalNo","overlappedActivitiesModalYes","addToCart","takenTimesModalOk","modelErrorsModalOk","_this","self","ajaxAddToCart","modifiedActiveProductDetails","then","json","console","log","setTimeout","ModelErrors","TakenTimes","OverlappedActivities","$store","commit","ExceptionMessage","window","OnAddToCart","getters","simpleOrder","hj","orderKey","order","OrderKey","id","productType","$router","push","path","$route","params","client","err","mapState","mapGetters","modifyMixin","modify","isLargeGroupMixin","activeProductDetails","IsLargeGroup","_this2","copy","JSON","parse","stringify","Activities","forEach","act","AppointmentDate","$moment","format","ClientAgentKey","clientAgentKey","SkipOverlap","_t","timeSlotId","time","warn","activity","advancePostTimeSelection","comingFrom","route","timeMix","PackageKey","ShowFirstActivityOnly","p","find","timeSlotRequirements","ele","valid","required","ehk","EntityHierarchyKey","entityHierarchyKey","page","Value","allDone","mainClonedTimeslot","Times","clone","$set","TimesClone","PickupLocation","PickupLocations","Rates","AddOns","canAutoAddToCart","hasSelectedAddOns","Quantity","NeedTransportation","IsSelected","length","AddOnsSkipped","targetSeletedTime","guestValid","addOnsValid","timeHasPickupLocations","pickupLocationSelected","Participants","AddOnIsRequired","Skipped","HasAddons","some","a","IsTransportation","staticStyle","scopedSlots","_u","key","fn","button_loading","proxy","_e","postAddToCartJson","_l","taken","index","Name","Date","Time","i","val","n"],"mappings":"+KAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,iBAAiB,CAACF,EAAG,MAAM,CAACF,EAAIK,GAAGL,EAAIM,GAAGN,EAAIO,QAAQL,EAAG,SAAS,CAACE,YAAY,cAAcI,MAAM,CAAC,SAAwB,GAAbR,EAAIS,OAAcT,EAAIS,OAAST,EAAIO,KAAKG,GAAG,CAAC,MAAQ,SAASC,GAAgC,OAAxBA,EAAOC,iBAAwBZ,EAAIa,UAAUC,MAAM,KAAMC,eAAeb,EAAG,MAAM,CAACc,MAAM,CAC/V,2BAA4BhB,EAAIS,MAAQT,EAAIiB,KAAOjB,EAAIS,MAAQT,EAAIO,KAAOP,EAAIkB,cAC9EC,KAAMnB,EAAIS,OAAST,EAAIO,KAAOP,EAAIS,OAAST,EAAIiB,MAAQjB,EAAIkB,gBAC1D,CAAClB,EAAIK,GAAGL,EAAIM,GAAGN,EAAIS,UAAUP,EAAG,SAAS,CAACE,YAAY,mBAAmBI,MAAM,CAAC,SAAWR,EAAIoB,YAAcpB,EAAIqB,gBAAkBrB,EAAIS,OAAST,EAAIiB,KAAKP,GAAG,CAAC,MAAQ,SAASC,GAAgC,OAAxBA,EAAOC,iBAAwBZ,EAAIsB,UAAUR,MAAM,KAAMC,eAAeb,EAAG,MAAM,CAACF,EAAIK,GAAGL,EAAIM,GAAGN,EAAIoB,gBAAgB,IAE7SG,EAAkB,GCoBP,GACfC,KAAA,eACAC,MAAA,oEACAC,KAAA,WACA,OAEAC,OAAA,IAGAC,QAAA,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kBiH,YAAY1J,EAAI2J,GAAG,CAAC,CAACC,IAAI,SAASC,GAAG,WAAW,MAAO,CAAC3J,EAAG,SAAS,CAACE,YAAY,mBAAmBY,MAAM,CAAE8I,eAAgB9J,EAAImC,kBAAmBzB,GAAG,CAAC,MAAQ,SAASC,GAAgC,OAAxBA,EAAOC,iBAAwBZ,EAAI+B,MAAM,qBAAsB,OAAO,CAAC/B,EAAIK,GAAG,gCAAgC0J,OAAM,IAAO,MAAK,EAAM,aAAa,CAAC7J,EAAG,MAAM,CAACE,YAAY,yBAAyB,CAACF,EAAG,IAAI,CAACE,YAAY,6BAA6BqJ,YAAY,CAAC,YAAY,UAAU,CAACzJ,EAAIK,GAAG,WAAWH,EAAG,IAAI,CAACF,EAAIK,GAAG,2BAA2BL,EAAIkK,GAAIlK,EAAIyC,iBAAiBf,MAAM,SAASsD,EAAIwF,GAAG,OAAOtK,EAAG,MAAM,CAAC0J,IAAI,4BAA8BY,EAAEpK,YAAY,4BAA4BJ,EAAIkK,GAAIlF,EAAI2C,OAAO,SAAS8C,EAAIC,GAAG,OAAOxK,EAAG,MAAM,CAAC0J,IAAI,2BAA6BY,EAAI,IAAME,EAAEtK,YAAY,QAAQ,CAACJ,EAAIK,GAAG,iBAAiBL,EAAIM,GAAGmK,GAAK,qBAAoB,OAAM,KAAKzK,EAAIgK,MAAM,IAE5iHzI,EAAkB,GCgJtB,GACAC,KAAA,sBACAC,MAAA,CACA,oBACA,4BACA,kBACA,mBACA,mBACA,aAEAG,QAAA,cC5J4V,I,wBCQxVM,EAAY,eACd,EACAnC,EACAwB,GACA,EACA,KACA,KACA,MAIa,OAAAW,E","file":"js/package-product-details-start~product-details-addons~product-details-guests.6b0a2de8.js","sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"number_ticker\"},[_c('pre',[_vm._v(_vm._s(_vm.min))]),_c('button',{staticClass:\"button blue\",attrs:{\"disabled\":_vm.value == 0 || _vm.value <= _vm.min},on:{\"click\":function($event){$event.preventDefault();return _vm.decrement.apply(null, arguments)}}}),_c('big',{class:{\n 'text-red shake-animation': _vm.value > _vm.max || _vm.value < _vm.min || _vm.errorOverride,\n blue: _vm.value >= _vm.min && _vm.value <= _vm.max && !_vm.errorOverride\n }},[_vm._v(_vm._s(_vm.value))]),_c('button',{staticClass:\"button plus blue\",attrs:{\"disabled\":_vm.disableAdd || _vm.disableAllAdds || _vm.value >= _vm.max},on:{\"click\":function($event){$event.preventDefault();return _vm.increment.apply(null, arguments)}}}),_c('pre',[_vm._v(_vm._s(_vm.disableAdd))])],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--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NumberTicker.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./NumberTicker.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./NumberTicker.vue?vue&type=template&id=e911ae56\"\nimport script from \"./NumberTicker.vue?vue&type=script&lang=js\"\nexport * from \"./NumberTicker.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","/*\r\n\r\n This mixin will handle adding a product to the cart\r\n \r\n 1. add a new product\r\n 2. edit an exing product in the cart\r\n 3. handle any errors that come back from the server\r\n\r\n This mixin in used in conjuction with a PostAddToCartModals.vue commponent.\r\n\r\n*/\r\n\r\n// src/mixins/addToCart.js\r\n\r\nimport { mapActions, mapGetters, mapState } from 'vuex';\r\n\r\nexport default {\r\n\tdata: function() {\r\n\t\treturn {\r\n\t\t\taddToCartLoading: false,\r\n\t\t\tskipOverlap: false,\r\n\t\t\toverlappedActivitiesModal: {\r\n\t\t\t\tshow: false,\r\n\t\t\t\thideHeader: true,\r\n\t\t\t\tdata: null,\r\n\t\t\t},\r\n\t\t\ttakenTimesModal: {\r\n\t\t\t\tshow: false,\r\n\t\t\t\thideHeader: true,\r\n\t\t\t\tdata: null,\r\n\t\t\t},\r\n\t\t\tmodelErrorsModal: {\r\n\t\t\t\tshow: false,\r\n\t\t\t\thideHeader: true,\r\n\t\t\t\tdata: null,\r\n\t\t\t},\r\n\t\t};\r\n\t},\r\n\r\n\tmounted() {\r\n\t\t//this.mixinTest();\r\n\t\t// console.log (\"Mounted\",this.overlappedActivitiesModal, this)\r\n\t},\r\n\tmethods: {\r\n\t\t...mapActions(['ajaxAddToCart']),\r\n\r\n\t\toverlappedActivitiesModalNo() {\r\n\t\t\tthis.overlappedActivitiesModal.show = false;\r\n\t\t},\r\n\t\toverlappedActivitiesModalYes() {\r\n\t\t\tthis.skipOverlap = true;\r\n\t\t\tthis.addToCart();\r\n\t\t},\r\n\r\n\t\ttakenTimesModalOk() {\r\n\t\t\tthis.takenTimesModal.show = false;\r\n\t\t},\r\n\r\n\t\tmodelErrorsModalOk() {\r\n\t\t\tthis.modelErrorsModal.show = false;\r\n\t\t},\r\n\r\n\t\taddToCart() {\r\n\t\t\tthis.addToCartLoading = true;\r\n\t\t\tthis.$emit('updateConfirmLeave', true);\r\n\t\t\t//var backupSojernProductSnapshot = JSON.parse(JSON.stringify(this.sojernProductSnapshot));\r\n\t\t\tlet self = this;\r\n\t\t\t// returns a promise\r\n\t\t\tthis.ajaxAddToCart(this.modifiedActiveProductDetails).then(\r\n\t\t\t\t// eslint-disable-next-line no-unused-vars\r\n\t\t\t\t(json) => {\r\n\t\t\t\t\tconsole.log('[addToCart()]', json);\r\n\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\tthis.addToCartLoading = false;\r\n\t\t\t\t\t}, 700);\r\n\t\t\t\t\tself.overlappedActivitiesModal.show = false;\r\n\t\t\t\t\tself.skipOverlap = false;\r\n\t\t\t\t\tif (json.ModelErrors) {\r\n\t\t\t\t\t\tself.modelErrorsModal.show = true;\r\n\t\t\t\t\t\tself.modelErrorsModal.data = json.ModelErrors;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t//\r\n\t\t\t\t\telse if (json.TakenTimes) {\r\n\t\t\t\t\t\tself.takenTimesModal.data = json.TakenTimes;\r\n\t\t\t\t\t\tself.takenTimesModal.show = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t//\r\n\t\t\t\t\telse if (json.OverlappedActivities) {\r\n\t\t\t\t\t\t// console.log(\"Overlapped Activity\", json.OverlappedActivities, self.overlappedActivitiesModal, self)\r\n\t\t\t\t\t\tself.overlappedActivitiesModal.show = true;\r\n\t\t\t\t\t\tself.$store.commit(\r\n\t\t\t\t\t\t\t'updateOverlappedActivities',\r\n\t\t\t\t\t\t\tjson.OverlappedActivities\r\n\t\t\t\t\t\t);\r\n\t\t\t\t\t\tself.overlappedActivitiesModal.data = json.OverlappedActivities;\r\n\t\t\t\t\t}\r\n\t\t\t\t\t//\r\n\t\t\t\t\telse if (json.ExceptionMessage) {\r\n\t\t\t\t\t\t// alert(\r\n\t\t\t\t\t\t// \"Something went wrong on the server. See console for more error information.\"\r\n\t\t\t\t\t\t// );\r\n\t\t\t\t\t\tconsole.error(json.ExceptionMessage);\r\n\t\t\t\t\t}\r\n\t\t\t\t\t//\r\n\t\t\t\t\telse {\r\n\t\t\t\t\t\tif (typeof window.OnAddToCart != 'undefined') {\r\n\t\t\t\t\t\t\t//console.log(\"window.OnAddToCart()\");\r\n\t\t\t\t\t\t\twindow.OnAddToCart(\r\n\t\t\t\t\t\t\t\tthis.$store.getters.simpleOrder,\r\n\t\t\t\t\t\t\t\tthis.modifiedActiveProductDetails\r\n\t\t\t\t\t\t\t);\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\t//this.$store.commit(\"updateOrder\", json.Order);\r\n\r\n\t\t\t\t\t\t// add all to the sojern cart\r\n\t\t\t\t\t\t// if user completes purchase, they will be added to the conversion list later\r\n\t\t\t\t\t\t//this.sojernAddProductsToCart(backupSojernProductSnapshot);\r\n\t\t\t\t\t\t// I think this should just add the one that was just added to the cart?\r\n\t\t\t\t\t\t//alert('TODO: addSojernCartPixelId. Must use a snapshot. completely ignore the consept of a package. Iterate over each Activities[]');\r\n\r\n\t\t\t\t\t\t// this.addSojernCartPixelId({\r\n\t\t\t\t\t\t// departureDate: product.departureDate,\r\n\t\t\t\t\t\t// returnDate: product.returnDate,\r\n\t\t\t\t\t\t// name: product.name,\r\n\t\t\t\t\t\t// totalParticipants: product.quantity\r\n\t\t\t\t\t\t// });\r\n\r\n\t\t\t\t\t\t// in order to refresh the form data when a product detail page is accessed the second time\r\n\t\t\t\t\t\tsetTimeout(() => {\r\n\t\t\t\t\t\t\tthis.$store.commit('revertClient', {});\r\n\t\t\t\t\t\t\t// this.$store.dispatch(\"ajaxClient\", {\r\n\t\t\t\t\t\t\t// getOrderNext: false,\r\n\t\t\t\t\t\t\t// force: true,\r\n\t\t\t\t\t\t\t// client: this.$store.state.client.ClientLocationKey\r\n\t\t\t\t\t\t\t// });\r\n\r\n\t\t\t\t\t\t\t// reset activeProduct\r\n\t\t\t\t\t\t\t// TODO: this will break the needed product info for sojern\r\n\t\t\t\t\t\t\t// delay this so the background image stays around for\r\n\t\t\t\t\t\t\tif (window.hj) {\r\n\t\t\t\t\t\t\t\t// eslint-disable-next-line\r\n\t\t\t\t\t\t\t\twindow.hj('identify', null, { orderKey: this.order.OrderKey });\r\n\t\t\t\t\t\t\t}\r\n\t\t\t\t\t\t\tthis.$store.commit('updateActiveProductIds', {\r\n\t\t\t\t\t\t\t\tid: null,\r\n\t\t\t\t\t\t\t\tproductType: null,\r\n\t\t\t\t\t\t\t});\r\n\r\n\t\t\t\t\t\t\t// console.log(\"pushing \"+ \"/\" +\r\n\t\t\t\t\t\t\t// this.$route.params.client +\r\n\t\t\t\t\t\t\t// \"/cart/\" +\r\n\t\t\t\t\t\t\t// this.order.OrderKey)\r\n\t\t\t\t\t\t\tthis.$router.push({\r\n\t\t\t\t\t\t\t\tpath:\r\n\t\t\t\t\t\t\t\t\t'/' +\r\n\t\t\t\t\t\t\t\t\tthis.$route.params.client +\r\n\t\t\t\t\t\t\t\t\t'/cart/' +\r\n\t\t\t\t\t\t\t\t\tthis.order.OrderKey,\r\n\t\t\t\t\t\t\t});\r\n\t\t\t\t\t\t}, 500);\r\n\t\t\t\t\t}\r\n\t\t\t\t},\r\n\t\t\t\t(err) => {\r\n\t\t\t\t\tthis.addToCartLoading = false;\r\n\t\t\t\t\tthis.$emit('updateConfirmLeave', false);\r\n\t\t\t\t\tconsole.error(err);\r\n\t\t\t\t\t// \"Got nothing from server. Prompt user to check internet connection and try again\"\r\n\t\t\t\t\t// );\r\n\t\t\t\t}\r\n\t\t\t);\r\n\t\t},\r\n\t},\r\n\tcomputed: {\r\n\t\t...mapState(['order']),\r\n\r\n\t\t...mapGetters(['activeProductDetails', 'clientAgentKey']),\r\n\r\n\t\tmodifyMixin() {\r\n\t\t\treturn this.$route.params.modify == 'modify' ? true : false;\r\n\t\t},\r\n\r\n\t\tisLargeGroupMixin() {\r\n\t\t\treturn this.activeProductDetails.IsLargeGroup;\r\n\t\t},\r\n\r\n\t\t// showAddToCartFooter() {\r\n\t\t// if (this.isLargeGroupMixin || this.modifyMixin) {\r\n\t\t// return true;\r\n\t\t// }\r\n\t\t// return false;\r\n\t\t// },\r\n\r\n\t\tmodifiedActiveProductDetails() {\r\n\t\t\t// make a unique copy\r\n\t\t\tvar copy = JSON.parse(JSON.stringify(this.activeProductDetails));\r\n\r\n\t\t\tvar orderKey = this.order.OrderKey ? this.order.OrderKey : null;\r\n\r\n\t\t\tcopy.OrderKey = orderKey;\r\n\r\n\t\t\tcopy.Activities.forEach((act) => {\r\n\t\t\t\tact.OrderKey = orderKey;\r\n\t\t\t\tact.AppointmentDate = this.$moment(act.AppointmentDate).format(\r\n\t\t\t\t\t'YYYY-MM-DD'\r\n\t\t\t\t);\r\n\t\t\t});\r\n\r\n\t\t\t//alert(this.$route.params.clientAgentKey);\r\n\t\t\tcopy.ClientAgentKey = this.clientAgentKey;\r\n\r\n\t\t\t// copy.ClientAgentKey =\r\n\t\t\t// \tthis.$route.params.clientAgentKey == 'n'\r\n\t\t\t// \t\t? null\r\n\t\t\t// \t\t: this.$route.params.clientAgentKey;\r\n\r\n\t\t\tcopy.SkipOverlap = this.skipOverlap;\r\n\r\n\t\t\treturn copy;\r\n\t\t},\r\n\t},\r\n};\r\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('footer',{staticClass:\"page_footer\"},[_c('section',{staticClass:\"footer_container\"},[_c('div',[_vm._t(\"text\")],2),_c('div',{staticClass:\"buttons\"},[_vm._t(\"button\")],2)])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageFooter.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PageFooter.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PageFooter.vue?vue&type=template&id=7ae06575\"\nimport script from \"./PageFooter.vue?vue&type=script&lang=js\"\nexport * from \"./PageFooter.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","// src/mixins/postTimeSelection.js\r\n\r\nimport { mapGetters } from \"vuex\";\r\n\r\nexport default {\r\n data: function() {\r\n return {\r\n timeSlotId: null,\r\n //timeSlotRequirements: []\r\n };\r\n },\r\n mounted() {\r\n if (!this.time) {\r\n console.warn(\"this.time must be defined in the component that uses mixins/postTimeSelection.js\");\r\n }\r\n if (!this.activity) {\r\n //alert(\"this.activity must be defined for postTimeSelection.js\");\r\n }\r\n },\r\n\r\n methods: {\r\n //...mapMutations(['mutateTimeSlotRequirements']),\r\n\r\n advancePostTimeSelection(comingFrom, timeSlotId, route) {\r\n this.timeSlotId = timeSlotId;\r\n\r\n if (!this.timeMix) {\r\n console.log(\"no this.timeMix at advancePostTimeSelection()\");\r\n }\r\n var client = route.params.client;\r\n\r\n var productType = this.activeProductDetails.PackageKey && !this.activeProductDetails.ShowFirstActivityOnly ? \"/package/\" : \"/activity/\";\r\n\r\n var p = \"/\" + client + productType + route.params.modify + \"/\" + route.params.id + \"/\" + route.params.clientAgentKey;\r\n // console.log('p: ' + p);\r\n\r\n var find = this.timeSlotRequirements.find((ele) => {\r\n return ele.valid != true && ele.required == true;\r\n });\r\n\r\n console.log(\"find\", find);\r\n\r\n if (find) {\r\n // console.log ('need to select: ' + find.page);\r\n\r\n var ehk = this.activeProductDetails.EntityHierarchyKey ? this.activeProductDetails.EntityHierarchyKey : this.entityHierarchyKey;\r\n console.log(\"ehk :>>\", ehk);\r\n\r\n if (find.page == \"addOns\" && comingFrom != \"addOns\") {\r\n // go to addOns\r\n\r\n p = p + \"/addons/\" + ehk + \"/\" + this.timeMix.Value;\r\n\r\n this.$router.push({\r\n path: p,\r\n });\r\n } else if (find.page == \"pickupLocation\" && comingFrom != \"comingFrom\") {\r\n p = p + \"/transportation/\" + this.activeProductDetails.EntityHierarchyKey + \"/\" + this.timeMix.Value;\r\n\r\n //console.log('Browsing to: ' + p);\r\n\r\n this.$router.push({\r\n path: p,\r\n });\r\n } else if (find.page == \"pickupLocation\") {\r\n p =\r\n p +\r\n \"/transportation/\" +\r\n //this.activeProductDetails.EntityHierarchyKey + '/' +\r\n this.timeMix.Value;\r\n\r\n //alert('Browsing to: ' + p);\r\n\r\n this.$router.push({\r\n path: p,\r\n });\r\n }\r\n //\r\n else {\r\n this.allDone(p);\r\n }\r\n } // find\r\n else {\r\n this.allDone(p);\r\n }\r\n },\r\n\r\n // getTimeObjFromId(id) {\r\n\r\n // }\r\n // applyTimeSlotRequirements(timeSlotId, requirementsObject) {\r\n // //this.mutateTimeSlotRequirements({ timeSlotId, requirementsObject });\r\n // }\r\n\r\n allDone(p) {\r\n //console.log(\"All Done\")\r\n if (!this.activity) {\r\n console.error(\"this.activity must be defined for postTimeSelection.js\");\r\n }\r\n //\r\n else {\r\n // don't copy the entire clone\r\n // just ocy the specific time-slot from the clone\r\n\r\n // alert('time.Value' + this.time.Value);\r\n // debugger;\r\n\r\n // let findClonedTimeslot = this.activity.TimesClone.find(ele => {\r\n // return ele.Value === this.time.Value;\r\n // });\r\n\r\n let mainClonedTimeslot = this.activity.Times.find((ele) => {\r\n return ele.Value === this.time.Value;\r\n });\r\n\r\n if (!mainClonedTimeslot || !mainClonedTimeslot) {\r\n console.warn(\"no mainClonedTimeslot!\");\r\n }\r\n //\r\n else {\r\n //console.log(\"Attempting to clone\")\r\n let clone = JSON.parse(JSON.stringify(this.time));\r\n // console.log(\"Clone\",clone)\r\n // if this is SimpleTime, you need to unSelect the other times\r\n if (!this.activeProductDetails.IsLargeGroup) {\r\n //alert(\"not large grooup\");\r\n this.activity.Times.forEach((time) => {\r\n // console.log(\"changing IsSelected to false\");\r\n if (time.Value !== this.time.Value) {\r\n this.$set(time, \"IsSelected\", false);\r\n }\r\n });\r\n\r\n this.activity.TimesClone.forEach((time) => {\r\n if (time.Value !== this.time.Value) {\r\n this.$set(time, \"IsSelected\", false);\r\n }\r\n });\r\n }\r\n\r\n // clean up the SelectedTime to remove any times that are not selected\r\n\r\n /*\r\n console.log(\r\n \"clone.PickupLocation.LocationName: \" +\r\n clone.PickupLocation.LocationName\r\n );\r\n*/\r\n\r\n this.$set(mainClonedTimeslot, \"PickupLocation\", clone.PickupLocation);\r\n this.$set(mainClonedTimeslot, \"PickupLocations\", clone.PickupLocations);\r\n this.$set(mainClonedTimeslot, \"Rates\", clone.Rates);\r\n this.$set(mainClonedTimeslot, \"AddOns\", clone.AddOns);\r\n this.$set(mainClonedTimeslot, \"IsSelected\", true);\r\n this.$set(this.time, \"IsSelected\", true);\r\n\r\n /*\r\n console.log(\"time.Rates\", this.time.Rates);\r\n console.log(\"time.AddOns\", this.time.AddOns);\r\n console.log(\"\\n time.IsSelected\", this.time.IsSelected);\r\n\r\n console.log(\"mainClonedTimeslot.Rates\", mainClonedTimeslot.Rates);\r\n console.log(\"mainClonedTimeslot.AddOns\", mainClonedTimeslot.AddOns);\r\n*/\r\n }\r\n // console.log(\"canAutoAddToCart=\"+this.canAutoAddToCart)\r\n if (this.canAutoAddToCart) {\r\n this.addToCartLoading = true;\r\n setTimeout(() => {\r\n this.addToCart();\r\n }, 500);\r\n } //\r\n else {\r\n this.$router.push({\r\n path: p + \"/start\",\r\n });\r\n }\r\n }\r\n\r\n // update parent object\r\n },\r\n },\r\n computed: {\r\n //...mapActions(['ad'])\r\n ...mapGetters([\"activeProductDetails\"]),\r\n\r\n canAutoAddToCart() {\r\n if (\r\n this.$route.params.modify === \"modify\" ||\r\n (this.activeProductDetails.PackageKey && !this.activeProductDetails.ShowFirstActivityOnly) ||\r\n this.activeProductDetails.IsLargeGroup\r\n ) {\r\n return false;\r\n }\r\n return true;\r\n },\r\n\r\n timeMix() {\r\n if (this.activeProductDetails.PackageKey && !this.activeProductDetails.ShowFirstActivityOnly) {\r\n return this.time;\r\n }\r\n //\r\n else if (this.activeProductDetails.Activities && this.activeProductDetails.Activities[0].TimesClone) {\r\n return this.activeProductDetails.Activities[0].TimesClone.find((ele) => {\r\n return ele.Value == this.timeSlotId;\r\n });\r\n }\r\n return false;\r\n },\r\n\r\n timeSlotRequirements() {\r\n // this is a Package\r\n if (this.activeProductDetails.PackageKey && !this.activeProductDetails.ShowFirstActivityOnly) {\r\n //alert('timeSlotRequirements Package');\r\n if (!this.time) {\r\n //alert('this.time missing in postTimeSelection.js');\r\n }\r\n\r\n let hasSelectedAddOns = !this.time.AddOns\r\n ? false\r\n : this.time.AddOns.find((ele) => {\r\n return ele.Quantity > 0;\r\n });\r\n\r\n return [\r\n {\r\n page: \"guests\",\r\n required: false,\r\n valid: true,\r\n },\r\n {\r\n page: \"foo\",\r\n required: false,\r\n valid: false,\r\n },\r\n {\r\n page: \"pickupLocation\",\r\n required: this.activeProductDetails.NeedTransportation, //this.hasPickupLocations ? true : false,\r\n valid: !this.time.PickupLocations\r\n ? null\r\n : this.time.PickupLocations.find((ele) => {\r\n return ele.IsSelected;\r\n }),\r\n },\r\n {\r\n page: \"addOns\",\r\n required: this.timeMix.AddOns && this.timeMix.AddOns.length ? true : false,\r\n valid: hasSelectedAddOns || this.timeMix.AddOnsSkipped ? true : false,\r\n },\r\n ];\r\n }\r\n // not a package\r\n else if (this.activeProductDetails && this.activeProductDetails.Activities && this.activeProductDetails.Activities[0].TimesClone) {\r\n // debugger;\r\n console.log(this.activeProductDetails);\r\n let targetSeletedTime = this.time;\r\n\r\n let guestValid = null;\r\n let addOnsValid = null;\r\n let timeHasPickupLocations = null;\r\n let pickupLocationSelected = null;\r\n\r\n // when large group mode\r\n if (this.activeProductDetails.IsLargeGroup) {\r\n // guestValid\r\n //console.log(\"large group mode.\");\r\n if (targetSeletedTime) {\r\n guestValid = targetSeletedTime.Rates.find((ele) => {\r\n return ele.Participants > 0;\r\n });\r\n }\r\n }\r\n\r\n // simple time mode\r\n //else {\r\n\r\n if (targetSeletedTime && targetSeletedTime.AddOns) {\r\n //alert('targetSeletedTime');\r\n //console.log(\"else simple time mode.\");\r\n addOnsValid = targetSeletedTime.AddOns.find((ele) => {\r\n return (ele.Quantity > 0 && !ele.AddOnIsRequired) || ele.Skipped;\r\n });\r\n timeHasPickupLocations = targetSeletedTime.PickupLocations && targetSeletedTime.PickupLocations.length ? true : false;\r\n pickupLocationSelected = !targetSeletedTime.PickupLocations\r\n ? false\r\n : targetSeletedTime.PickupLocations.find((ele) => {\r\n return ele.IsSelected;\r\n });\r\n }\r\n //}\r\n\r\n addOnsValid = addOnsValid ? true : false;\r\n guestValid = guestValid ? true : false;\r\n pickupLocationSelected = pickupLocationSelected ? true : false;\r\n return [\r\n {\r\n page: \"guests\",\r\n required: this.activeProductDetails.IsLargeGroup ? true : false,\r\n valid: guestValid,\r\n },\r\n {\r\n page: \"pickupLocation\",\r\n required: this.activeProductDetails.NeedTransportation && timeHasPickupLocations, //this.hasPickupLocations ? true : false,\r\n valid: pickupLocationSelected,\r\n },\r\n {\r\n page: \"addOns\",\r\n // required: this.activeProductDetails.Activities[0].HasAddons, //this.time.AddOns ? true : false,\r\n required:\r\n this.activeProductDetails.Activities[0].HasAddons ||\r\n this.activeProductDetails.NeedTransportation ||\r\n this.activeProductDetails.Activities[0].AddOns.some((a) => !a.IsTransportation),\r\n valid: addOnsValid,\r\n },\r\n ];\r\n } else {\r\n console.warn(\"not returning timeSlotRequirements{} in postTimeSelection.js\");\r\n }\r\n },\r\n },\r\n};\r\n","export * from \"-!../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PostAddToCartModals.vue?vue&type=style&index=0&id=09000278&prod&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticStyle:{\"z-index\":\"999999\",\"position\":\"fixed\",\"display\":\"block\"}},[(_vm.overlappedActivitiesModal.show)?_c('modal',{attrs:{\"modal\":_vm.overlappedActivitiesModal},scopedSlots:_vm._u([{key:\"footer\",fn:function(){return [_c('button',{staticClass:\"button blue-outline\",attrs:{\"disabled\":_vm.addToCartLoading},on:{\"click\":function($event){$event.preventDefault();return _vm.$emit('overlappedActivitiesModalNo', {})}}},[_vm._v(\"\\n\\t\\t\\t\\t\\tCancel\\n\\t\\t\\t\\t\")]),_c('button',{staticClass:\"button blue-continue ml-1\",class:{ button_loading: _vm.addToCartLoading },attrs:{\"disabled\":_vm.addToCartLoading},on:{\"click\":function($event){$event.preventDefault();return _vm.$emit('overlappedActivitiesModalYes', {})}}},[_vm._v(\"\\n\\t\\t\\t\\t\\tContinue\\n\\t\\t\\t\\t\")])]},proxy:true}],null,false,4014751770)},[_c('div',{staticStyle:{\"margin\":\"20px auto\",\"max-width\":\"350px\"}},[_c('div',{staticClass:\"text-center mb-3\"},[_c('i',{staticClass:\"material-icons text-pencil\",staticStyle:{\"font-size\":\"100px\"}},[_vm._v(\"access_time\")]),_c('p',[_vm._v(\"\\n\\t\\t\\t\\t\\t\\tThis is a friendly alert letting you know this experience has an\\n\\t\\t\\t\\t\\t\\toverlapping time with another item already in your cart.\"),_c('br'),_c('br'),_vm._v(\"\\n\\t\\t\\t\\t\\t\\tIf this is intentional, you can continue on.\"),_c('br'),_c('br'),_vm._v(\"\\n\\t\\t\\t\\t\\t\\tIf this isn't intentional, you can cancel and select a different\\n\\t\\t\\t\\t\\t\\tdate/time.\\n\\t\\t\\t\\t\\t\\t\")])])])]):_vm._e(),(_vm.takenTimesModal.show)?_c('modal',{attrs:{\"modal\":_vm.takenTimesModal},scopedSlots:_vm._u([{key:\"footer\",fn:function(){return [_c('button',{staticClass:\"button blue ml-1\",class:{ button_loading: _vm.addToCartLoading },on:{\"click\":function($event){$event.preventDefault();return _vm.$emit('takenTimesModalOk', {})}}},[_vm._v(\"\\n\\t\\t\\t\\t\\tTry again\\n\\t\\t\\t\\t\")])]},proxy:true}],null,false,3778382003)},[_c('div',{staticStyle:{\"margin\":\"20px auto\",\"max-width\":\"350px\"}},[_c('div',{staticClass:\"text-center\"},[_c('i',{staticClass:\"material-icons text-pencil\",staticStyle:{\"font-size\":\"80px\"}},[_vm._v(\"access_time\")]),_c('p',[_vm._v(\"These times are no longer available.\")])]),(_vm.postAddToCartJson && _vm.postAddToCartJson.TakenTimes)?_c('pre',[_vm._v(\"postAddToCartJson: \"+_vm._s(_vm.postAddToCartJson.TakenTimes))]):_vm._e(),_c('div',{staticClass:\"pt-1\"},[_vm._l((_vm.takenTimesModal.data),function(taken,index){return [_c('div',{key:'taken-times-errors-' + index,staticClass:\"flex mt-1\"},[_c('section',[_c('span',{staticClass:\"text-blue\"},[_vm._v(_vm._s(taken.Name))]),_c('br'),_c('small',[_vm._v(_vm._s(taken.Date))])]),_c('strong',[_vm._v(\"@\"+_vm._s(taken.Time))])])]})],2)])]):_vm._e(),(_vm.modelErrorsModal.show)?_c('modal',{attrs:{\"modal\":_vm.modelErrorsModal},scopedSlots:_vm._u([{key:\"footer\",fn:function(){return [_c('button',{staticClass:\"button blue ml-1\",class:{ button_loading: _vm.addToCartLoading },on:{\"click\":function($event){$event.preventDefault();return _vm.$emit('modelErrorsModalOk', {})}}},[_vm._v(\"\\n\\t\\t\\t\\t\\tOK\\n\\t\\t\\t\\t\")])]},proxy:true}],null,false,2030692639)},[_c('div',{staticClass:\"text-center mt-2 mb-2\"},[_c('i',{staticClass:\"material-icons text-pencil\",staticStyle:{\"font-size\":\"100px\"}},[_vm._v(\"error\")]),_c('p',[_vm._v(\"Correct these errors.\")]),_vm._l((_vm.modelErrorsModal.data),function(err,i){return _c('div',{key:'add-to-cart-model-errors-' + i,staticClass:\"text-red shake-animation\"},_vm._l((err.Value),function(val,n){return _c('div',{key:'add-to-cart-model-error-' + i + '-' + n,staticClass:\"mb-1\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\\t\"+_vm._s(val)+\"\\n\\t\\t\\t\\t\\t\")])}),0)})],2)]):_vm._e()],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--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PostAddToCartModals.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../node_modules/vue-loader/lib/index.js??vue-loader-options!./PostAddToCartModals.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./PostAddToCartModals.vue?vue&type=template&id=09000278\"\nimport script from \"./PostAddToCartModals.vue?vue&type=script&lang=js\"\nexport * from \"./PostAddToCartModals.vue?vue&type=script&lang=js\"\nimport style0 from \"./PostAddToCartModals.vue?vue&type=style&index=0&id=09000278&prod&lang=css\"\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"],"sourceRoot":""}