/*!
 * xivado-web
 * Version: master-0e1b7c58
 * Author: Anna Hiden
 * License: proprietary
 */
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["Events"],{1147:function(t,a,e){"use strict";function n(t){return null!=t&&"object"==typeof t}a["a"]=n},1799:function(t,a,e){"use strict";var n=function(){var t=this,a=t.$createElement,n=t._self._c||a;return t.last_page>1||0===t.last_page&&t.to>=t.per_page?n("nav",{staticClass:"d-flex"},[n("transition",{attrs:{name:"fade"}},[t.isFirstPage&&t.isLastPage?t._e():n("ul",{staticClass:"mx-auto mb-0 pagination align-items-center",class:t.$style.pagination},[n("li",{staticClass:"page-item",class:{disabled:t.isFirstPage}},[n("a",{class:["page-link px-2",t.linkCls],attrs:{tabindex:!!t.isFirstPage&&-1,"aria-disabled":!!t.isFirstPage&&"true",href:"#"},on:{click:function(a){a.preventDefault(),t.page-=1}}},[n("icon",{staticStyle:{"margin-top":"-2px"},attrs:{src:e("93ff"),sm:""}}),n("span",{staticClass:"d-none d-md-inline sr-only"},[t._v(t._s(t.btnPrev))])],1)]),t._t("default",[n("li",{staticClass:"page-item"},[n("span",{staticClass:"mr-2"},[t._v(t._s(t.$t("pagination.page")))]),n("select-field",{class:["mb-0 d-inline-block",t.$style.indicator],attrs:{label:t.$t("pagination.page"),name:"page",items:t.elements},scopedSlots:t._u([{key:"option:label",fn:function(a){var e=a.item;return[t._v(" "+t._s(e)+" ")]}}],null,!1,3943655754),model:{value:t.page,callback:function(a){t.page=a},expression:"page"}}),n("span",{staticClass:"ml-2"},[t._v("/ "+t._s(t.last_page))])],1)],null,t.$props),n("li",{staticClass:"page-item",class:{disabled:t.isLastPage}},[n("a",{class:["page-link px-2",t.linkCls],attrs:{tabindex:!!t.isLastPage&&-1,"aria-disabled":!!t.isLastPage&&"true",href:"#"},on:{click:function(a){a.preventDefault(),t.page+=1}}},[n("span",{staticClass:"d-none d-md-inline sr-only"},[t._v(t._s(t.btnNext))]),n("icon",{staticStyle:{"margin-top":"-2px"},attrs:{src:e("89d2"),sm:""}})],1)])],2)])],1):t._e()},i=[],r=e("5e1b"),s={name:"Pagination",inheritAttrs:!1,props:{current_page:{type:Number,required:!0},from:{type:Number,default:0},to:{type:Number,default:0},last_page:{type:Number,default:0},total:{type:Number,default:0},per_page:{type:Number,default:0},btnPrev:{type:String,default:"Prev"},btnNext:{type:String,default:"Next"},linkCls:{type:[Object,Number,String],default:void 0}},computed:{page:{get(){return this.current_page},set(t){this.$emit("navigate",t)}},isFirstPage(){return this.page<=1},isLastPage(){return this.page===this.last_page},elements(){return Object(r["a"])(1,this.last_page+1)}}},o=s,l=e("862e"),c=e("2877");function u(t){this["$style"]=l["default"].locals||l["default"]}var g=Object(c["a"])(o,n,i,!1,u,null,null);a["a"]=g.exports},"1bc6":function(t,a,e){"use strict";var n=e("f0ce"),i=e("1147"),r="[object Symbol]";function s(t){return"symbol"==typeof t||Object(i["a"])(t)&&Object(n["a"])(t)==r}a["a"]=s},"1cf1":function(t,a,e){t.exports={"w-0":"Pagination_w-0_2QpM7","w-25":"Pagination_w-25_1Deaq","w-50":"Pagination_w-50_FkKBi","w-75":"Pagination_w-75_ChOJs","w-100":"Pagination_w-100_BTYVF","w-auto":"Pagination_w-auto_1Z0qD","w-sm-0":"Pagination_w-sm-0_3-VMT","w-sm-25":"Pagination_w-sm-25_2bKJ6","w-sm-50":"Pagination_w-sm-50_1qb7m","w-sm-75":"Pagination_w-sm-75_2sZlb","w-sm-100":"Pagination_w-sm-100_1MxcB","w-sm-auto":"Pagination_w-sm-auto_1s9wC","w-md-0":"Pagination_w-md-0_3x9ie","w-md-25":"Pagination_w-md-25_1LJ1S","w-md-50":"Pagination_w-md-50_2Jef6","w-md-75":"Pagination_w-md-75_3K49a","w-md-100":"Pagination_w-md-100_30G2S","w-md-auto":"Pagination_w-md-auto_jTP2H","w-lg-0":"Pagination_w-lg-0_tOKrW","w-lg-25":"Pagination_w-lg-25_esLc4","w-lg-50":"Pagination_w-lg-50_3uTKi","w-lg-75":"Pagination_w-lg-75_2Wnfw","w-lg-100":"Pagination_w-lg-100_11Jkh","w-lg-auto":"Pagination_w-lg-auto_ABS2e","w-xl-0":"Pagination_w-xl-0_32UfM","w-xl-25":"Pagination_w-xl-25_1RcmP","w-xl-50":"Pagination_w-xl-50_ZkQl7","w-xl-75":"Pagination_w-xl-75_1AHsP","w-xl-100":"Pagination_w-xl-100_1D6uD","w-xl-auto":"Pagination_w-xl-auto_3cVKT",lightbox:"Pagination_lightbox_czt3I","modal-inner":"Pagination_modal-inner_3duFm","rdb-btn":"Pagination_rdb-btn_2jiMr","rdb-btn-dropdown":"Pagination_rdb-btn-dropdown_1vs6E",dropdown:"Pagination_dropdown_39V74","dropdown-menu":"Pagination_dropdown-menu_1jsLC","page-title":"Pagination_page-title_3Dujf","card-body":"Pagination_card-body_3xCWO","card-title":"Pagination_card-title_18E5V","card-date":"Pagination_card-date_1qirO","card-flag":"Pagination_card-flag_Y9zVE","b-toaster":"Pagination_b-toaster_1mXFM","b-toaster-top-right":"Pagination_b-toaster-top-right_3wGKk","b-toaster-top-left":"Pagination_b-toaster-top-left_2t6PZ","b-toaster-top-center":"Pagination_b-toaster-top-center_6WJsc","b-toaster-top-full":"Pagination_b-toaster-top-full_1nWpN","b-toaster-bottom-right":"Pagination_b-toaster-bottom-right_2_Izd","b-toaster-bottom-left":"Pagination_b-toaster-bottom-left_m_MAw","b-toaster-bottom-center":"Pagination_b-toaster-bottom-center_20Mq0","b-toaster-bottom-full":"Pagination_b-toaster-bottom-full_1dsre","b-toaster-slot":"Pagination_b-toaster-slot_1z4Kh","b-toast":"Pagination_b-toast_2saCt","rounded-md":"Pagination_rounded-md_1ZY-M",pagination:"Pagination_pagination_2v60Q",indicator:"Pagination_indicator_2ZxI5"}},"1d73":function(t,a,e){"use strict";var n=function(t,a){var e=a._c;return e("span",{class:[a.data.class,a.data.staticClass,a.props.short&&"text-uppercase"]},[e("flag",{staticClass:"mr-1",attrs:{iso:a.props.iso.toLowerCase(),title:a.props.name,squared:!1}}),a._t("default",[a._v(a._s(a.props[a.props.short?"ioc":"name"]))])],2)},i=[],r={name:"CountryFlag",props:{iso:{type:String,required:!0},name:{type:String,required:!0},short:{type:Boolean,default:!1}}},s=r,o=e("2877"),l=Object(o["a"])(s,n,i,!0,null,null,null);a["a"]=l.exports},2332:function(t,a,e){"use strict";function n(t){var a=typeof t;return null!=t&&("object"==a||"function"==a)}a["a"]=n},"26ce":function(t,a,e){"use strict";var n=9007199254740991;function i(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=n}a["a"]=i},"26ee":function(t,a,e){"use strict";var n=e("5ea3"),i="object"==typeof self&&self&&self.Object===Object&&self,r=n["a"]||i||Function("return this")();a["a"]=r},"4a24":function(t,a,e){"use strict";var n=e("2332"),i=e("1bc6"),r=NaN,s=/^\s+|\s+$/g,o=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;function g(t){if("number"==typeof t)return t;if(Object(i["a"])(t))return r;if(Object(n["a"])(t)){var a="function"==typeof t.valueOf?t.valueOf():t;t=Object(n["a"])(a)?a+"":a}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(s,"");var e=l.test(t);return e||c.test(t)?u(t.slice(2),e?2:8):o.test(t)?r:+t}a["a"]=g},"5c59":function(t,a,e){"use strict";var n=e("6071"),i=e("e56b"),r=e("7129"),s=e("2332");function o(t,a,e){if(!Object(s["a"])(e))return!1;var o=typeof a;return!!("number"==o?Object(i["a"])(e)&&Object(r["a"])(a,e.length):"string"==o&&a in e)&&Object(n["a"])(e[a],t)}a["a"]=o},"5e1b":function(t,a,e){"use strict";var n=e("787a"),i=Object(n["a"])();a["a"]=i},"5ea3":function(t,a,e){"use strict";(function(t){var e="object"==typeof t&&t&&t.Object===Object&&t;a["a"]=e}).call(this,e("c8ba"))},6071:function(t,a,e){"use strict";function n(t,a){return t===a||t!==t&&a!==a}a["a"]=n},7129:function(t,a,e){"use strict";var n=9007199254740991,i=/^(?:0|[1-9]\d*)$/;function r(t,a){var e=typeof t;return a=null==a?n:a,!!a&&("number"==e||"symbol"!=e&&i.test(t))&&t>-1&&t%1==0&&t<a}a["a"]=r},"787a":function(t,a,e){"use strict";var n=Math.ceil,i=Math.max;function r(t,a,e,r){var s=-1,o=i(n((a-t)/(e||1)),0),l=Array(o);while(o--)l[r?o:++s]=t,t+=e;return l}var s=r,o=e("5c59"),l=e("cb09");function c(t){return function(a,e,n){return n&&"number"!=typeof n&&Object(o["a"])(a,e,n)&&(e=n=void 0),a=Object(l["a"])(a),void 0===e?(e=a,a=0):e=Object(l["a"])(e),n=void 0===n?a<e?1:-1:Object(l["a"])(n),s(a,e,n,t)}}a["a"]=c},"862e":function(t,a,e){"use strict";var n=e("1cf1"),i=e.n(n);a["default"]=i.a},"89d2":function(t,a,e){"use strict";e.r(a);var n=e("92fa"),i=e.n(n);a["default"]={name:"ArrowRight",functional:!0,render:function(t,a){return t("svg",i()([{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},a.data]),[t("path",{attrs:{d:"M16.45 11.38l-5.83-5.82a.48.48 0 00-.7 0l-.36.35a.51.51 0 000 .71l5.12 5.12-5.12 5.11a.51.51 0 000 .71l.36.35a.48.48 0 00.7 0l5.83-5.82a.51.51 0 000-.71z",fill:"currentColor"}})])}}},"93ff":function(t,a,e){"use strict";e.r(a);var n=e("92fa"),i=e.n(n);a["default"]={name:"ArrowLeft",functional:!0,render:function(t,a){return t("svg",i()([{attrs:{width:"24",height:"24",viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"}},a.data]),[t("path",{attrs:{d:"M7.56 12.09l5.83 5.82a.5.5 0 00.71 0l.35-.35a.51.51 0 000-.71l-5.12-5.12 5.12-5.11a.51.51 0 000-.71l-.35-.35a.5.5 0 00-.71 0l-5.83 5.82a.51.51 0 000 .71z",fill:"currentColor"}})])}}},"9db7":function(t,a,e){"use strict";var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return e("span",[t._v(t._s(t.date))])},i=[],r=(e("5319"),e("a4fc"));function s(t){return t instanceof Date?t:new Date(t)}var o={name:"DateRange",props:{start:{type:[String,Number,Date],required:!0},end:{type:[String,Number,Date],default:void 0}},computed:{$start(){return s(this.start)},$end(){return s(this.end)},date(){if(!this.end)return Object(r["a"])(this.$start);const t=[Object(r["a"])(this.$start),Object(r["a"])(this.$end)];return this.$start.getFullYear()===this.$end.getFullYear()&&(t[0]=t[0].replace(this.$start.getFullYear(),"").replace(/, $/,"")),t.join(" - ")}}},l=o,c=e("2877"),u=Object(c["a"])(l,n,i,!1,null,null,null);a["a"]=u.exports},aa9c:function(t,a,e){"use strict";e.r(a);var n=function(){var t=this,a=t.$createElement,e=t._self._c||a;return t.events&&t.events.data?e("div",{staticClass:"container my-5 my-lg-6 my-xxl-7 p-5"},[t._l(t.events.data,(function(a,n){var i=a.slug,r=a.parentSlug,s=a.name,o=a.locationCountry,l=a.eventDateStartAt,c=a.eventDateEndAt;return e("div",{key:n,staticClass:"card flex-md-row bg-transparent mb-5"},[e("div",{class:["card-header bg-dark text-muted text-uppercase font-weight-bold d-flex align-items-center","punch-out-bottom punch-out-md-right"],staticStyle:{"min-width":"240px"}},[e("DateRange",{attrs:{start:l,end:c}})],1),e("div",{staticClass:"card-body punch-out-top punch-out-md-left bg-white"},[e("h3",{staticClass:"mt-0"},[[t._v(t._s(s))]],2),e("ul",{staticClass:"list-unstyled"},[e("li",[e("CountryFlag",t._b({},"CountryFlag",o,!1))],1)]),e("div",{class:["rounded"]},[e("div",[e("router-link",{staticClass:"btn btn-primary btn-block full-width",attrs:{to:{name:"events.detail",params:{parentSlug:r,slug:i}}}},[t._v(" "+t._s(t.$t("events.showEventDetails"))+" ")])],1)])])])})),e("div",{staticClass:"container-xxl"},[e("page-switch-transition",[e("router-view",{attrs:{event:t.events.data}})],1)],1),t.events.meta?e("Pagination",t._b({staticClass:"mt-5",on:{navigate:t.onNavigate}},"Pagination",t.events.meta,!1)):t._e()],2):t._e()},i=[],r=e("1962"),s=e("9db7"),o=e("1d73"),l=e("1799"),c={name:"Events",components:{DateRange:s["a"],CountryFlag:o["a"],Pagination:l["a"]},data(){return{events:null}},computed:{page:{get(){const{page:t=1}=this.$route.query;return t},set(t){this.$router.push({query:{...this.$route.query,page:t}})}}},async mounted(){await this.fetch()},methods:{async fetch(){let t="";t=this.$route.query;const a=await Object(r["m"])(t);this.events=a.data},onNavigate(t){this.page=t,this.fetch()}}},u=c,g=e("2877"),d=Object(g["a"])(u,n,i,!1,null,null,null);a["default"]=d.exports},bc9b:function(t,a,e){"use strict";var n=e("f0ce"),i=e("2332"),r="[object AsyncFunction]",s="[object Function]",o="[object GeneratorFunction]",l="[object Proxy]";function c(t){if(!Object(i["a"])(t))return!1;var a=Object(n["a"])(t);return a==s||a==o||a==r||a==l}a["a"]=c},ca54:function(t,a,e){"use strict";var n=e("26ee"),i=n["a"].Symbol;a["a"]=i},cb09:function(t,a,e){"use strict";var n=e("4a24"),i=1/0,r=17976931348623157e292;function s(t){if(!t)return 0===t?t:0;if(t=Object(n["a"])(t),t===i||t===-i){var a=t<0?-1:1;return a*r}return t===t?t:0}a["a"]=s},e56b:function(t,a,e){"use strict";var n=e("bc9b"),i=e("26ce");function r(t){return null!=t&&Object(i["a"])(t.length)&&!Object(n["a"])(t)}a["a"]=r},f0ce:function(t,a,e){"use strict";var n=e("ca54"),i=Object.prototype,r=i.hasOwnProperty,s=i.toString,o=n["a"]?n["a"].toStringTag:void 0;function l(t){var a=r.call(t,o),e=t[o];try{t[o]=void 0;var n=!0}catch(l){}var i=s.call(t);return n&&(a?t[o]=e:delete t[o]),i}var c=l,u=Object.prototype,g=u.toString;function d(t){return g.call(t)}var p=d,f="[object Null]",b="[object Undefined]",_=n["a"]?n["a"].toStringTag:void 0;function m(t){return null==t?void 0===t?b:f:_&&_ in Object(t)?c(t):p(t)}a["a"]=m}}]);