import"./vue_common-B9ElEwLo.js";import{V as o}from"./vue-match-heights-Cb0o5Pgm.js";import{V as r,E as n}from"./EventListing-B-Q8Bu-x.js";import{m as l}from"./mixins-DAgvaSFB.js";import{n as c}from"./AlertComponent-CZRUfFVd.js";import{S as d}from"./Categories-tU6e8XCn.js";import{E as m}from"./EventSlider-SEy9Jqs9.js";import"./bootstrap-YS0Sgy2B.js";import"./lodash-DswApxO-.js";import"./_commonjsHelpers-D6-XlEtG.js";import"./vue.esm-DgrW8_ZC.js";import"./vue-countdown.esm-QwIWcZkV.js";import"./mixins-C42ajhct.js";Vue.prototype.base_url=window.base_url;const u={mixins:[l],components:{VueSlickCarousel:r},props:["banners","demo_mode","check_session","s_host"],data(){return{check:0,route,dir:!1}},methods:{getRoute(s){return route(s)},verifyD(){this.check=this.check_session?1:0,this.check==0&&axios.post("https://cblicense.classiebit.com/verifyd",{domain:window.location.hostname,s_host:this.s_host}).then(s=>{typeof s.data.status<"u"&&s.data.status!=0?this.checkSession():window.location.href=base_url+"/404"}).catch(s=>{})},checkSession(){axios.post(route("eventmie.check_session")).then(s=>{}).catch(s=>{})},getDirection(){document.documentElement.dir=="rtl"?this.dir=!0:this.dir=!1}},mounted(){this.verifyD(),this.getDirection(),console.log(document.documentElement.dir),this.hideSkeleton()}};var h=function(){var e=this,t=e._self._c;return t("VueSlickCarousel",{attrs:{autoplay:!0,autoplaySpeed:3e3,arrows:!0,dots:!0,infinite:!0,slidesToShow:1,paginationEnabled:!1,rtl:e.dir}},e._l(e.banners,function(a,i){return t("div",{key:i,class:"lgx-item-common",attrs:{item:a,index:i}},[t("section",[t("div",{staticClass:"container-fluid p-0"},[t("div",{staticClass:"cover-img-bg",style:{backgroundImage:`url(${e.getImageUrl(a.image)})`}},[a.button_url!=null?t("a",{attrs:{href:a.button_url}},[t("img",{staticClass:"cover-img prevent_draggable",attrs:{src:e.getImageUrl(a.image),alt:a.title}})]):t("img",{staticClass:"cover-img prevent_draggable",attrs:{src:e.getImageUrl(a.image),alt:a.title}}),e.demo_mode?t("div",{staticClass:"banner-slider-form"},[t("h1",{staticClass:"text-white mb-0 fw-bold display-5"},[e._v("Your Next Event. AI-Built. FullyLoaded 3.0")]),t("p",{staticClass:"fw-bold text-white"},[e._v("Create. Launch. Scale. Let AI Do the Heavy Lifting.")]),t("div",{staticClass:"d-flex mt-2"},[t("a",{staticClass:"btn btn-dark border border-1",attrs:{target:"_blank",href:"https://eventmie-pro-docs.classiebit.com/docs/3.0/fullyloaded/introduction"}},[t("i",{staticClass:"fas fa-book"}),e._v(" Get Started")]),e._v("   ")]),t("div",{staticClass:"d-flex mt-2 d-none d-sm-block"},[t("a",{staticClass:"btn btn-info text-white border border-1",attrs:{target:"_blank",href:"https://eventmie-pro-docs.classiebit.com/docs/3.0/changelog/changes"}},[t("i",{staticClass:"fas fa-wand-magic-sparkles"}),e._v(" New in v3.0")])])]):e._e()])])])])}),0)},p=[],f=c(u,h,p,!1,null,null);const g=f.exports;Vue.component("VueMatchHeights",o);window.app=new Vue({el:"#eventmie_app",components:{EventListing:n,BannerSlider:g,SingleCategory:d,EventSlider:m}});
