(window.webpackJsonp=window.webpackJsonp||[]).push([[58],{1322:function(t,e,n){"use strict";n(869)},1323:function(t,e,n){var r=n(9)(!1);r.push([t.i,"@-webkit-keyframes GradientHype-data-v-c1eca8c0{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@keyframes GradientHype-data-v-c1eca8c0{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@-webkit-keyframes LivePulse-data-v-c1eca8c0{0%{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,.7)}70%{transform:scale(1);box-shadow:0 0 0 10px hsla(0,0%,100%,0)}to{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,0)}}@keyframes LivePulse-data-v-c1eca8c0{0%{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,.7)}70%{transform:scale(1);box-shadow:0 0 0 10px hsla(0,0%,100%,0)}to{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,0)}}.sharer-container.top-right[data-v-c1eca8c0]{width:38px;height:38px;position:absolute;top:0;right:0;border-radius:50%;font-size:15px}@media only screen and (max-width:1023px){.sharer-container.top-right[data-v-c1eca8c0]{width:28px;height:28px;top:-3px;font-size:12px}}.sharer-container.top-right .sharer-content[data-v-c1eca8c0]{position:absolute;top:28%;right:24%;padding-bottom:10px;color:#555}.sharer-container.background-hover.active[data-v-c1eca8c0]{box-shadow:0 3px 14px 0 rgba(37,37,37,.1);background-color:#fff;cursor:pointer}.sharer-container.background-hover .sharer-list[data-v-c1eca8c0]{margin-top:10px}.sharer-container .sharer-content[data-v-c1eca8c0]{position:relative;padding-bottom:10px;cursor:pointer}.sharer-container .sharer-content .share-label[data-v-c1eca8c0]{margin-left:5px}.sharer-container .sharer-content .sharer-list[data-v-c1eca8c0]{display:none;position:absolute;left:0;top:calc(100% + 8px);background:#fff;padding:10px;border-radius:8px;box-shadow:0 3px 14px 0 rgba(37,37,37,.1);z-index:9}.sharer-container .sharer-content .sharer-list.active[data-v-c1eca8c0]{display:block}.sharer-container .sharer-content .sharer-list ul[data-v-c1eca8c0]{width:-webkit-max-content;width:-moz-max-content;width:max-content}.sharer-container .sharer-content .sharer-list ul li[data-v-c1eca8c0]{display:inline}.sharer-container .sharer-content .sharer-list ul li a[data-v-c1eca8c0]{display:inline-block;padding:0 5px;text-align:center}.sharer-container .sharer-content .sharer-list ul li span[data-v-c1eca8c0]{font-size:24px;color:#eba1a1}.sharer-container .sharer-content .sharer-list ul li p[data-v-c1eca8c0]{font-size:10px;line-height:12px;color:#555;text-align:center}.sharer-container:hover .sharer-list[data-v-c1eca8c0]{display:block}.sharer-container:hover.background-hover[data-v-c1eca8c0]{box-shadow:0 3px 14px 0 rgba(37,37,37,.1);background-color:#fff;cursor:pointer}.sharer-container:hover.click .sharer-list[data-v-c1eca8c0]{display:none}.sharer-container:hover.click .sharer-list.active[data-v-c1eca8c0]{display:block}.storeitem__header__share .sharer-container.top-right[data-v-c1eca8c0]{top:15px;font-size:18px;width:42px;height:42px}",""]),t.exports=r},1324:function(t,e,n){"use strict";n(870)},1325:function(t,e,n){var r=n(9)(!1);r.push([t.i,'@-webkit-keyframes GradientHype-data-v-07d74090{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@keyframes GradientHype-data-v-07d74090{0%{background-position:0 50%}50%{background-position:100% 50%}to{background-position:0 50%}}@-webkit-keyframes LivePulse-data-v-07d74090{0%{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,.7)}70%{transform:scale(1);box-shadow:0 0 0 10px hsla(0,0%,100%,0)}to{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,0)}}@keyframes LivePulse-data-v-07d74090{0%{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,.7)}70%{transform:scale(1);box-shadow:0 0 0 10px hsla(0,0%,100%,0)}to{transform:scale(.95);box-shadow:0 0 0 0 hsla(0,0%,100%,0)}}.main-container[data-v-07d74090]{padding-top:105px;background:linear-gradient(0deg,#fff,rgba(255,228,228,.84) 100%,#ffdfdf 0)}@media only screen and (max-width:1023px){.main-container[data-v-07d74090]{padding-top:55px}}.content[data-v-07d74090]{margin:44px auto;max-width:752px}@media only screen and (max-width:1023px){.content[data-v-07d74090]{margin-top:27px}}.content .cover[data-v-07d74090]{text-align:center;margin:0 auto 34px}@media only screen and (max-width:1023px){.content .cover[data-v-07d74090]{margin:0 16px 32px}}.content .cover img[data-v-07d74090]{width:100%}.content .content-body[data-v-07d74090]{max-width:625px;margin:0 auto;padding-left:15px;padding-right:15px}.content .content-body .greeting[data-v-07d74090]{color:#252525;font-size:18px;font-family:"Figtree SemiBold","Helvetica",arial,sans-serif;text-align:center;letter-spacing:.18px;line-height:37.5px;margin-bottom:8px}.content .content-body .body-text[data-v-07d74090]{color:#252525;font-size:16px;font-family:"Figtree Reg","Helvetica",arial,sans-serif;text-align:center;letter-spacing:0;line-height:28px;white-space:pre-wrap}.content .content-body .body-text[data-v-07d74090] a{color:#eba1a1;font-family:"Figtree SemiBold","Helvetica",arial,sans-serif}.content .content-body .footer-separator[data-v-07d74090]{margin-top:8px;margin-bottom:18px}.content .content-body .footer-separator[data-v-07d74090],.content .content-body .footer-text[data-v-07d74090]{color:#252525;font-size:16px;font-family:"Figtree Reg","Helvetica",arial,sans-serif;text-align:center;letter-spacing:0;line-height:28px}.content .content-body .footer-text[data-v-07d74090]{white-space:pre-wrap}.content .content-body .footer-2[data-v-07d74090]{color:#252525;font-size:16px;font-family:"Figtree Reg","Helvetica",arial,sans-serif;text-align:center;line-height:31px}.header-1[data-v-07d74090]{color:#252525;font-family:"Figtree Bold","Helvetica",arial,sans-serif;font-size:20px;letter-spacing:.2px;line-height:37.5px;text-align:center;margin-bottom:28px}@media only screen and (max-width:1023px){.header-1[data-v-07d74090]{font-size:18px;letter-spacing:.18px;margin-bottom:16px;text-align:center}}.share-button[data-v-07d74090]{height:40px;width:234px;border-radius:20px;background-color:#eba1a1;color:#fff;font-size:16px;text-align:center;letter-spacing:.4px;line-height:20px;cursor:pointer;position:relative;padding-top:10px;margin:37px auto}.content-other[data-v-07d74090]{margin:0 auto 100px;max-width:1500px;border-top:1px solid #dedede;padding-top:50px}@media only screen and (max-width:1023px){.content-other[data-v-07d74090]{max-width:500px}}.content-other .other-label[data-v-07d74090]{color:#252525;font-family:"Figtree Bold","Helvetica",arial,sans-serif;font-size:24px;letter-spacing:.24px;line-height:37.5px;text-align:center;margin-bottom:30px}.content-other .banners-container[data-v-07d74090]{text-align:center}.content-other .banner-item[data-v-07d74090]{display:inline-block;margin-left:12px;margin-right:12px;margin-bottom:12px;max-width:390px}.content-other .banner-item img[data-v-07d74090]{width:100%}',""]),t.exports=r},1592:function(t,e,n){"use strict";n.r(e);var r=n(11),o=n(5),c=(n(7),n(22),n(23),n(20),n(46),n(47),n(34),n(54)),d=n(504),l=n(24),h=n(78),m=n(29);n(14);function v(t){return f.apply(this,arguments)}function f(){return(f=Object(o.a)(regeneratorRuntime.mark((function t(e){return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.abrupt("return",new Promise((function(t,n){e.then((function(e){return t({status:e.status,data:e.data,ok:!0})})).catch((function(e){e.response?t({status:e.response.status,data:e.response.data,ok:!1}):t({status:0,data:null,ok:!1})}))})));case 1:case"end":return t.stop()}}),t)})))).apply(this,arguments)}n(139);var x={name:"shareSocialMedia",props:["dataShare","label","behaviour","backgroundHover"],mixins:[n(200).a],data:function(){return{base_Url:"https://www.bridestory.com/",isShowSharingVia:!1}},computed:{dataShareStore:function(){return this.dataShare?this.dataShare:this.$store.getters.getDataShare}},methods:{shareContent:function(data,t){data.utmData&&data.utmData.replace(":socmed:",t),"facebook"==t?data.utmData?this.shareProject("https://www.facebook.com/sharer/sharer.php?quote=".concat(data.facebook.text,"&u=").concat(this.base_Url).concat(data.link,"?").concat(data.utmData)):this.shareProject("https://www.facebook.com/sharer/sharer.php?quote=".concat(data.facebook.text,"&u=").concat(this.base_Url).concat(data.link,"?utm_source=facebook&utm_medium=social&utm_campaign=website-share&utm_content=project")):"twitter"==t?data.utmData?this.shareProject("https://twitter.com/intent/tweet?text=".concat(data.twitter.text,"&url=").concat(this.base_Url).concat(data.link,"?").concat(data.utmData)):this.shareProject("https://twitter.com/intent/tweet?text=".concat(data.twitter.text,"&url=").concat(this.base_Url).concat(data.link,"?utm_source=twitter&utm_medium=social&utm_campaign=website-share&utm_content=project")):"whatsapp"==t?data.utmData?this.shareProject("https://api.whatsapp.com/send?phone=&text=".concat(encodeURIComponent(data.whatsapp.text+"\n")).concat(this.base_Url).concat(data.link,"?").concat(data.utmData,"&source=&data=")):this.shareProject("https://api.whatsapp.com/send?phone=&text=".concat(encodeURIComponent(data.whatsapp.text+"\n")).concat(this.base_Url).concat(data.link,"&source=&data=")):"line"==t&&(data.utmData?this.shareProject("line://msg/text/?".concat(encodeURIComponent(data.line.text)).concat(this.base_Url).concat(data.link,"?").concat(data.utmData)):this.shareProject("line://msg/text/?".concat(encodeURIComponent(data.line.text)).concat(this.base_Url).concat(data.link,"?utm_source=line&utm_medium=social&utm_campaign=website-share&utm_content=project}")))},openCloseSharingVia:function(){var t="".concat(this.dataShareStore.app.text," ").concat(this.base_Url).concat(this.dataShareStore.link);this.dataShareStore.utmData&&(t+="?".concat(this.dataShareStore.utmData));var e=new l.a;e.isWebView?e.setShare(t,""):this.isShowSharingVia=!this.isShowSharingVia},shareProject:function(t){this.PopupCenter(t)},copyLink:function(){var t=document.createElement("input"),text=window.location.href;if(this.dataShareStore.utmData){var e=this.dataShareStore.utmData.replace(":socmed:","copy");text=window.location.href+e}document.body.appendChild(t),t.value=text,t.select(),document.execCommand("copy"),document.body.removeChild(t)}}},w=(n(1322),n(3)),y=Object(w.a)(x,(function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"sharer-container",class:{"background-hover":"true"==t.backgroundHover,click:"click"==t.behaviour,active:t.isShowSharingVia},on:{click:t.openCloseSharingVia}},[n("div",{staticClass:"sharer-content"},[n("span",{staticClass:"icon-share-filled"}),n("span",{staticClass:"share-label"},[t._v(t._s(t.label))]),t._v(" "),n("div",{staticClass:"sharer-list",class:{active:t.isShowSharingVia&&"click"==t.behaviour}},[n("ul",[n("li",{directives:[{name:"show",rawName:"v-show",value:!!t.dataShareStore.facebook,expression:"!!dataShareStore.facebook"}]},[n("a",{on:{click:function(e){return t.shareContent(t.dataShareStore,"facebook")}}},[n("span",{staticClass:"icon icon-facebook-filled"}),t._v(" "),n("p",[t._v("Facebook")])])]),t._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:!!t.dataShareStore.twitter,expression:"!!dataShareStore.twitter"}]},[n("a",{on:{click:function(e){return t.shareContent(t.dataShareStore,"twitter")}}},[n("span",{staticClass:"icon icon-twitter-filled"}),t._v(" "),n("p",[t._v("Twitter")])])]),t._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:!!t.dataShareStore.whatsapp,expression:"!!dataShareStore.whatsapp"}]},[n("a",{on:{click:function(e){return t.shareContent(t.dataShareStore,"whatsapp")}}},[n("span",{staticClass:"icon icon-whatsapp-round-filled"}),t._v(" "),n("p",[t._v("Whatsapp")])])]),t._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:!!t.dataShareStore.line,expression:"!!dataShareStore.line"}]},[n("a",{on:{click:function(e){return t.shareContent(t.dataShareStore,"line")}}},[n("span",{staticClass:"icon icon-line-round-filled"}),t._v(" "),n("p",[t._v("Line")])])]),t._v(" "),n("li",{directives:[{name:"show",rawName:"v-show",value:!!t.dataShareStore.email,expression:"!!dataShareStore.email"}]},[n("a",{attrs:{target:"_blank",href:"mailto:?subject="+(t.dataShareStore&&t.dataShareStore.email&&t.dataShareStore.email.subject)+"&body="+(t.dataShareStore&&t.dataShareStore.email&&t.dataShareStore.email.body)+" "+t.base_Url+(t.dataShareStore&&t.dataShareStore.link)}},[n("span",{staticClass:"icon icon-email-filled"}),t._v(" "),n("p",[t._v("Email")])])]),t._v(" "),n("li",[n("a",{on:{click:t.copyLink}},[n("span",{staticClass:"icon icon-copy-url"}),t._v(" "),n("p",[t._v("Copy Link")])])])])])])])}),[],!1,null,"c1eca8c0",null).exports;function k(object,t){var e=Object.keys(object);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(object);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(object,t).enumerable}))),e.push.apply(e,n)}return e}var S={name:"EventTicket",layout:"defaultBridestory",mixins:[h.a,m.a],components:{Share:y},head:function(){var t=[{hid:"og:title",property:"og:title",content:this.$t("eventPass.meta_title")},{hid:"og:description",property:"og:description",content:this.$t("eventPass.meta_title")},{hid:"og:image",property:"og:image",itemprop:"image",content:this.eventPassData.head["og:image"]||this.eventPassData.cover},{hid:"twitter:title",name:"twitter:title",content:this.$t("eventPass.meta_title")},{hid:"twitter:description",name:"twitter:description",content:this.$t("eventPass.meta_title")},{hid:"twitter:image:src",property:"twitter:image:src",content:this.eventPassData.cover},{hid:"robots",name:"robots",content:"noindex, nofollow"}];return{title:this.$t("eventPass.meta_title"),meta:t}},data:function(){return{isLoaded:!1,accountsApi:new c.a(this.$axios),requestHeaders:{},currentUser:{},showShareMenu:!1,eventPassData:{}}},beforeMount:function(){this.pageView({v2_pageProperties:{category:"event_pass",subCategory:void 0,properties:void 0}})},mounted:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:t.loadCurrentUserData();case 1:case"end":return e.stop()}}),e)})))()},asyncData:function(t){return Object(o.a)(regeneratorRuntime.mark((function e(){var n,r,o,c,l,h,m,f,x;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t.app,n=t.redirect,r=t.req,o=t.params,c=t.$axios,l=r.headers||{},h={},m=o.eventslug,f=new d.a(c),e.next=7,v(f.getEventPasses());case 7:return(x=e.sent).ok?(x.data[m]||n(301,"/"),h=x.data[m]):n(301,"/"),e.abrupt("return",{requestHeaders:l,eventPassData:h});case 10:case"end":return e.stop()}}),e)})))()},methods:{isAndroidAppRequest:function(){return"com.bridestory.user"==this.requestHeaders["x-requested-with"]},isIOSAppRequest:function(){return"com.bridestory.app.user.prod"==this.requestHeaders["x-requested-with"]},loadCurrentUserData:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n=t.requestHeaders.authorization||t.$cookies.get("BSID")){e.next=4;break}return t.forceLogin(),e.abrupt("return");case 4:return e.next=6,v(t.accountsApi.getUser(n));case 6:(r=e.sent).ok?(t.currentUser=r.data.user,t.$nuxt.$loading.finish(),t.isLoaded=!0):t.forceLogin();case 8:case"end":return e.stop()}}),e)})))()},forceLogin:function(){var t=this;return Object(o.a)(regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:(n=new l.a).isWebView?n.inAppAction({action:"login",value:null}):window.location.href="/login?redirect_uri=/event-pass/"+t.$route.params.eventslug;case 2:case"end":return e.stop()}}),e)})))()},interpolateText:function(text){var t={user_name:this.currentUser.fullName||""};return text.replace(/{{([a-zA-Z0-9_]+)}}/g,(function(e,n){return t[n]}))},sosmed:function(){return function(t){for(var i=1;i0?n("div",{staticClass:"content-other"},[n("div",{staticClass:"other-label"},[t._v(t._s(t.$t("eventPass.other_info")))]),t._v(" "),n("div",{staticClass:"banners-container"},t._l(t.eventPassData.info_banners,(function(t){return n("div",{key:t.image,staticClass:"banner-item"},[n("a",{attrs:{href:t.target}},[n("img",{attrs:{src:t.image}})])])})),0)]):t._e()])}),[],!1,null,"07d74090",null));e.default=j.exports},504:function(t,e,n){"use strict";n.d(e,"a",(function(){return l}));var r=n(27),o=n(28),c="https://www.bridestory.com/static-api/event/",d="https://www.bridestory.com/static-api/giveaway/",l=function(){function t(e){Object(r.a)(this,t),this.$axios=e}return Object(o.a)(t,[{key:"getOnlineFairStats",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"19";return this.$axios.request({url:c+t+"/post-event-statistics.json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getCovidPrintables",value:function(){return this.$axios.request({url:"https://www.bridestory.com/static-api/covid/printables.json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getFairCategories",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"19";return this.$axios.request({url:c+t+"/categories.json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getHomeFeeds",value:function(t){var e=t.eventId,n=void 0===e?"19":e;return this.$axios.request({url:c+n+"/feeds.json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getFairStickyBanner",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"19",e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"banner";return this.$axios.request({url:"".concat(c).concat(t,"/").concat(e,".json"),method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getGiveawayPage",value:function(){return this.$axios.request({url:d+"before-you-say-i-do.json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getWptBanner",value:function(){return this.$axios.request({url:d+"wpt.json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getGiveawayResult",value:function(t){return this.$axios.request({url:d+t+".json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getAttributionBanner",value:function(t){return this.$axios.request({url:"https://www.bridestory.com/static-api/campaign/"+t+".json",method:"GET",headers:{"Content-Type":"application/json"}})}},{key:"getEventPasses",value:function(){return this.$axios.request({url:c+"event-pass.json",method:"GET",headers:{"Content-Type":"application/json"}})}}]),t}()},869:function(t,e,n){var content=n(1323);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("0999c632",content,!0,{manualInject:!0,ssrId:!0,sourceMap:!1})},870:function(t,e,n){var content=n(1325);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[t.i,content,""]]),content.locals&&(t.exports=content.locals);(0,n(10).default)("7dc6eb96",content,!0,{manualInject:!0,ssrId:!0,sourceMap:!1})}}]); //# sourceMappingURL=index.1726711333621.797e4e8dd74497ef3141.js.map