{"version":3,"sources":["components/Input/Label.jsx","components/RegEx/index.jsx","components/RegEx/ValidationMessage.jsx","hook/LocalStorage.jsx","config/BaseUrl.jsx","assets/images/logo/Haylo-logo-white.png","assets/images/login.jpg","pages/auth/login/Login.jsx","components/layouts/Footer.jsx","pages/events/createEvent/slice/createEventSlice.jsx","components/layouts/Header.jsx","assets/images/logo/Haylo-for-white-background.png","components/layouts/Sidebar.jsx","components/layouts/Layout.jsx","components/Rechart/Chart.jsx","pages/Dashboard/components/ShocialShareGraph/Email/EmailShare.jsx","pages/Dashboard/components/ShocialShareGraph/Sms/SmsShare.jsx","pages/Dashboard/components/ShocialShareGraph/Instagram/InstagramShare.jsx","components/Loader/Loader.jsx","components/Rechart/PieChart.jsx","pages/Dashboard/components/ShocialShareGraph/TotalPieChart/PieChart.jsx","components/Rechart/AreaChart.jsx","pages/Dashboard/components/ShocialShareGraph/AreaChart/Area.jsx","pages/Dashboard/slice/dashboardAnalytics.jsx","pages/Dashboard/Dashboard.jsx","pages/Dashboard/slice/dashboardAnalyticsAction.jsx","hook/useTimeFormat.jsx","pages/events/viewEvent/slice/viewEventSlice.jsx","pages/events/viewEvent/ViewEvent.jsx","pages/events/viewEvent/slice/viewEventAction.jsx","components/formWizard/NewFormWizard.jsx","pages/events/createEvent/EventFeatures.jsx","components/table/Table.jsx","components/table/TableFilter.jsx","components/table/TableHeader.jsx","components/table/TableBody.jsx","components/table/TableSearch.jsx","components/table/TablePagination.jsx","pages/events/liveEvent/slice/liveEventSlice.jsx","pages/events/components/EventItem/EventItem.jsx","components/Loader/ScreenLoader.jsx","pages/events/components/Modal/DuplicateForm.jsx","pages/events/components/Modal/DeleteModal.jsx","pages/events/components/Modal/MediaDownloadPublicLink.jsx","pages/events/liveEvent/TableLive.jsx","pages/events/liveEvent/slice/liveEventAction.jsx","pages/events/pastEvent/slice/pastEventSlice.jsx","pages/events/pastEvent/TablePast.jsx","pages/events/pastEvent/slice/pastEventAction.jsx","pages/events/upcomingEvent/slice/upcomingEventSlice.jsx","pages/events/upcomingEvent/TableUpcoming.jsx","pages/events/upcomingEvent/slice/upcomingEventAction.jsx","pages/events/createEvent/Draft/DraftProduct.jsx","pages/events/Event.jsx","components/base64Convert/Base64.jsx","hook/UploadFile.jsx","pages/events/createEvent/EventInfo.jsx","pages/events/createEvent/EventSummary.jsx","components/formWizard/FormWizardChild.jsx","pages/events/createEvent/createEventChild/AppExperience.jsx","components/formWizard/NewFormWziardChild.jsx","pages/events/components/Modal/EmailTemplate.jsx","pages/events/createEvent/createEventChild/Email.jsx","pages/events/createEvent/createEventChild/SocialMedia.jsx","pages/events/createEvent/EventType/PricingTableHeader.jsx","pages/events/createEvent/EventType/PricingTableTab.jsx","pages/events/createEvent/EventType/index.jsx","components/PaymentForm/Form.jsx","assets/images/payment/amx.png","assets/images/payment/mastercard.png","assets/images/payment/visa.png","pages/events/createEvent/PaymentPage.jsx","pages/events/createEvent/PaymentSuccessful.jsx","routes/ProtectedRoute.jsx","routes/PublicRoute.jsx","pages/auth/emailVerify/EmailVerify.jsx","pages/events/createEvent/EventOption.jsx","pages/auth/register/RegisterUser.jsx","assets/images/register.jpg","pages/events/createEvent/createEventChild/TextSms.jsx","pages/events/components/Modal/DigitalProps.jsx","pages/events/createEvent/createEventChild/DigitalSetting.jsx","pages/events/components/Modal/PropFilter.jsx","pages/events/createEvent/createEventChild/Filter.jsx","pages/events/components/Modal/MicrositeModal.jsx","pages/events/components/Modal/HeaderTrackingModal.jsx","pages/events/createEvent/createEventChild/MicroSite.jsx","pages/data-capture/components/DataCaptureTable.jsx","pages/data-capture/DataCapture.jsx","components/Checkbox/Checkbox.jsx","pages/data-capture/components/DataView.jsx","pages/data-capture/View.jsx","pages/data-capture/data-capture-payment/PaymentCapture.jsx","pages/data-capture/PaymentSuccessfulPage.jsx","pages/eventEdit/EventOptionEdit.jsx","pages/eventEdit/EventInfoEdit.jsx","pages/eventEdit/EmailEdit.jsx","pages/eventEdit/SocialMediaEdit.jsx","pages/eventEdit/TextSmsEdit.jsx","pages/eventEdit/MicroSiteEdit.jsx","pages/events/components/ShocialShareGraph/Email/EmailShare.jsx","pages/events/components/ShocialShareGraph/Sms/SmsShare.jsx","pages/events/components/ShocialShareGraph/Microsite/MicrositeShare.jsx","pages/events/components/ShocialShareGraph/Facebook/FacebookShare.jsx","pages/events/components/ShocialShareGraph/Twitter/TwitterShare.jsx","pages/events/components/ShocialShareGraph/Instagram/InstagramShare.jsx","pages/events/EventAnalytic/galleryItem/RecentPhoto.jsx","pages/events/EventAnalytic/Analytic.jsx","pages/events/ViewPhoto/ViewPhotos.jsx","components/Slider/icons/left-arrow.svg","components/Slider/icons/right-arrow.svg","components/Slider/BtnSlider.js","components/Slider/ThreeInOnePlayer.js","pages/events/ViewPhoto/3_In_1/ThreeInOne.jsx","components/Slider/ThreeInOnePlayerFast.js","pages/events/ViewPhoto/3_In_1_fast/ThreeInOneFast.jsx","components/Slider/SliderVideo.js","pages/events/ViewPhoto/BoomerangModal.jsx","pages/events/ViewPhoto/BoomerangGallery.jsx","pages/events/ViewPhoto/PhotoGalleryDetails.jsx","pages/events/ViewPhoto/PhotoGallery.jsx","components/Slider/VideoPlayer.js","pages/events/ViewPhoto/VideoGallery.jsx","pages/events/ViewPhoto/View.jsx","pages/events/ViewPhoto/FullScreenView.jsx","pages/events/components/Modal/EventFrame.jsx","pages/events/createEvent/createEventChild/EventFrame.jsx","pages/auth/forgot/ForgotPassword.jsx","pages/auth/forgot/ResetPassword.jsx","pages/auth/emailVerify/ResendEmail.jsx","pages/Social Gallery/SocialGallery.jsx","Error/Error.jsx","pages/eventEdit/DigitalProp.jsx","pages/events/components/Modal/FrameModal.jsx","pages/eventEdit/Frame.jsx","pages/auth/passwordChange/PasswordChange.jsx","pages/eventEdit/Filters.jsx","pages/PublicPage/Microsite/MicrositeDefault/index.jsx","pages/PublicPage/Microsite/MicrositeDefault/view.jsx","pages/PublicPage/Microsite/MicrositeDefault/Password.jsx","pages/PublicPage/Microsite/MicrositeOne/index.jsx","pages/PublicPage/components/EmailModal.jsx","pages/PublicPage/components/SMSModal.jsx","pages/PublicPage/Microsite/MicrositeOne/view.jsx","pages/PublicPage/Microsite/MicrositeOne/Password.jsx","pages/PublicPage/Microsite/MicrositeTwo/index.jsx","pages/PublicPage/Microsite/MicrositeTwo/View.jsx","pages/eventEdit/EventFeaturesEdit.jsx","Error/InternalErrorPage.jsx","routes/UnPaidRoute.jsx","assets/images/custom-branding-image.jpeg","pages/events/createEvent/createEventChild/WaterMark.jsx","pages/eventEdit/WaterMarkEdit.jsx","pages/Settings/MemberSettings.jsx","pages/events/EditTemplate/EmailTemplate/TemplateOne.jsx","pages/events/EditTemplate/EmailTemplate/TemplateTwo.jsx","pages/events/EditTemplate/EmailTemplate/TemplateThree.jsx","pages/events/EditTemplate/EditEmailTemplate.jsx","pages/events/EditTemplate/SocialGallery/TemplateOne.jsx","pages/events/EditTemplate/SocialGallery/TemplateThree.jsx","pages/events/EditTemplate/SocialGallery/TemplateTwo.jsx","pages/events/EditTemplate/EditSocialShare.jsx","pages/events/components/Modal/GifModal.jsx","pages/events/components/Modal/GifSettingsModal.jsx","pages/events/createEvent/createEventChild/Gif.jsx","components/CanvasEditor/helpers/defaultShapes.js","components/CanvasEditor/hooks/editor.jsx","components/CanvasEditor/Context/EditorProvider.jsx","pages/eventEdit/components/Gif/EditOptions/AddProps/index.jsx","pages/eventEdit/components/Gif/EditOptions/AddText/EditorProperties/Color.jsx","pages/eventEdit/components/Gif/EditOptions/AddText/EditorProperties/Fonts.jsx","pages/eventEdit/components/Gif/EditOptions/AddText/EditorProperties/FontSize.jsx","pages/eventEdit/components/Gif/EditOptions/AddText/EditorProperties/FontStyle.jsx","pages/eventEdit/components/Gif/EditOptions/AddText/EditorProperties/LineHeight.jsx","pages/eventEdit/components/Gif/EditOptions/AddText/EditorProperties/Position.jsx","pages/eventEdit/components/Gif/EditOptions/AddText/EditorProperties/StrokeWidth.jsx","pages/eventEdit/components/Gif/EditOptions/AddText/EditorProperties/Transform.jsx","pages/eventEdit/components/Gif/EditOptions/AddText/TextEditor.jsx","pages/eventEdit/components/Gif/EditOptions/AddText/index.jsx","pages/eventEdit/components/Gif/EditOptions/Layers/List.jsx","pages/eventEdit/components/Gif/EditOptions/UploadPhoto/index.jsx","pages/eventEdit/components/Gif/Sidebar.jsx","components/CanvasEditor/index.jsx","pages/eventEdit/components/Gif/GIFEditTabs.jsx","pages/eventEdit/GifEdit.jsx","pages/events/components/Modal/BrustGifModal.jsx","pages/events/components/Modal/BrustGifSettingsModal.jsx","pages/events/createEvent/createEventChild/BrustGif.jsx","pages/eventEdit/BrustGifEdit.jsx","pages/events/createEvent/createEventChild/module/incentiveOffer/IncentiveFormItem.jsx","pages/events/createEvent/createEventChild/IncentiveOffer.jsx","pages/FormBuilder/FormBuilderNew.jsx","pages/events/components/Modal/FormBuilderModal.jsx","pages/events/createEvent/createEventChild/EventFormBuilder.jsx","pages/eventEdit/EventFormBuilderEdit.jsx","pages/eventEdit/IncentiveOfferEdit.jsx","pages/events/Slideshow/Content/Images.jsx","pages/events/Slideshow/Content/Video.jsx","pages/events/Slideshow/Content/Gifs.jsx","pages/events/Slideshow/Content/All.jsx","pages/events/Slideshow/index.jsx","pages/events/createEvent/EventDevice.jsx","components/CountDown/CountDown.jsx","components/CountDown/CountDownDay.jsx","pages/PublicPage/offer/avail.jsx","pages/auth/profile/Component/AccountInfo.jsx","pages/auth/profile/Component/ChangePassword.jsx","pages/auth/profile/index.jsx","pages/SmsBilling/index.jsx","routes/AllRoutes.jsx","App.js","reportWebVitals.js","pages/eventEdit/slice/eventEditSlice.jsx","redux/rootReducers.jsx","redux/index.jsx","index.js"],"names":["Label","htmFor","props","htmfor","children","regExEmail","Required","patternEmail","patternMinLength","value","LocalStorage","localStorageInfo","window","localStorage","getItem","UserInfo","access_token","user","JSON","parse","downloadUrl","http","axios","create","baseURL","headers","httpUser","baseURLPublic","interceptors","response","use","data","token","setItem","stringify","error","status","removeItem","location","href","Promise","reject","URL_S3","Login","history","useHistory","useState","loading","setLoading","useForm","mode","reValidateMode","register","handleSubmit","errors","formState","setError","handelLogin","a","post","then","res","verify_status","user_info","userId","id","userEmail","email","setTimeout","expire","go","errorNames","Object","keys","errorMessages","values","forEach","err","indx","type","message","push","catch","console","log","className","src","Logo","alt","to","onSubmit","name","placeholder","required","pattern","password","minLength","class","check_promotion","role","year","Date","getFullYear","Footer","createEventSlice","createSlice","initialState","isLoading","eventId","event_info","feature","event_option","filters","digital_prop","watermark","data_capture","social","sms_sharing","micro_site","photo_template_frame","brust_gifs","app_experience_branding","event_gif","incentive_offer","form_builder","reducers","eventCreateReset","state","eventSharingReset","social_media","text_messaging","microsite","eventDraftToContinue","payload","eventIdSet","eventIsLoading","eventInfo","featureEvent","eventOptionItems","eventFilters","digitalProp","customBrandingState","dataCapture","eventSocial","eventEmail","eventSmsSharing","eventMicroSite","eventPhotoTemplateFrame","photo_frame","eventBrustGifs","eventAppExperienceBranding","eventGif","eventIncentiveOffers","eventFormBuilderAdd","actions","Header","toggleLayoutHeader","dispatch","useDispatch","sideToggle","setSideToggle","showUpgrade","setShowUpgrade","useEffect","membership","package_type","onClick","first_name","Sidebar","toggleLayoutSidebar","activeClassName","Layout","toggleLayout","setToggleLayout","toggleLayoutAction","Chart","clickWeekly","clickMonthly","clickYearly","sectionTitle","sectionName","dataSet","width","height","dataKey","navClass","dataKeyName","strokeColor","graphTotalText","TotalWeeklyCount","weeklyData","totalData","TotalMonthlyCount","monthlyData","TotalYearlyCount","yearlyData","LineChart","Line","stroke","XAxis","YAxis","Tooltip","undefined","week","month","ticks","autoSkip","EmailShare","setData","setIsLoading","fetchGraphData","get","graphData","SmsShare","SocialShare","Loader","style","display","alignItems","justifyContent","LoadingSpinner","color","classNames","renderActiveShape","RADIAN","Math","PI","cx","cy","midAngle","innerRadius","outerRadius","startAngle","endAngle","fill","percent","sin","cos","sx","sy","mx","my","ex","ey","textAnchor","x","y","dy","Sector","d","r","toFixed","PieChartDiv","dataHasValue","activeIndex","setActiveIndex","onPieEnter","useCallback","_","index","length","PieChart","Pie","activeShape","onMouseEnter","map","cellData","Cell","cursor","background","PieChartComponent","isNull","setCheckNull","setDataCapture","fetchGraphDataCapturePie","responseData","graphDataCapture","some","item","defaultValue","AreaChartDiv","dataValue","AreaChart","margin","top","right","left","bottom","CartesianGrid","strokeDasharray","Area","AreaComponent","dashboardAnalytics","isLoadingSocial","dashboard_analytics","socialShare","IsLoading","DashboardAnalyticsAll","Dashboard","useSelector","total_event","live_event","upcoming_event","capture_data","social_share","total_share","sms","useTimeFormat","formateLocalTime","time","moment","tz","clone","momentZone","guess","format","viewEventSlice","eventViewLoading","event_view","action","eventViewSingleItem","ViewEvent","useTimeFormate","packageTypes","setPackageTypes","toast","warn","replace","packageType","singleData","item_name","itemData","package_item_value","filter","filterItem","our_package","packageId","package_id","bindingItems","bindingObject","checkPackageBinding","reduce","result","key","packageData","bindingsData","findPackage","find","dataItem","our_package_id","custom_branding","useParams","event","EventViewItems","viewEvent","incentive_details","email_setting","text_message","gif_gallery","brust_gif_gallery","event_form_builder","checkServiceAvailable","service","water_mark","checkServiceAvailableForEvent","pathname","event_name","event_start_date","venue_name","event_end_date","event_details","time_zone","eventFeature","still_photo","three_in_one","video","boomerang","gallery","sharing","eventOption","gif","brust_gif","digital_props","frame","parseInt","qr_code","admin_password","download","micro_site_gallery","template_image","Base64","btoa","socialGallery","emailSetting","from_name","email_subject","TextMessage","country","SocialMedia","client_facebook","digitalPropsEdit","maxWidth","maxHeight","customBranding","align_x","align_y","photo","eventFrameEdit","eventFilterEdit","filter_photo","IncentiveOffer","incentiveDetails","minHeight","padding","offer_name","uses_limit","expire_in","formData","form_data","form_name","position","autoClose","hideProgressBar","newestOnTop","closeOnClick","rtl","pauseOnFocusLoss","draggable","pauseOnHover","NewFormWizard","useLocation","formStepOne","includes","formStepTwo","formStepThree","formStepFour","EventFeatures","createEvent","draftLoading","setDraftLoading","defaultValues","offer","trialData","checked","size","disabled","Table","TableFilter","TableHeader","TableBody","TableSearch","TablePagination","currentPage","total","perPage","onChange","from","activePage","totalItemsCount","Number","itemsCountPerPage","innerClass","itemClass","linkClass","activeClass","activeLinkClass","prevPageText","nextPageText","pageRangeDisplayed","hideFirstLastPages","liveEventSlice","loadedEvent","loadingEvent","loadingContent","duplicateEvent","liveEventLoading","liveEventItemList","liveEventError","setLoadedEvent","setLoadingEvent","setLoadingContent","setDuplicateEvent","EventItem","eventType","per_page","page","user_id","search","targetModalId","removeModalId","mediaDownloadPubliclink","isOpenMenu","setMenu","params","event_type","uuid","event_id","backgroundImage","event_info_image","backgroundSize","life_time","title","ScreenLoader","loaded","zIndex","fontSize","DuplicateForm","fetchItemList","modalId","eventName","setEventName","startDateDefault","setStartDateDefault","startDate","setStartDate","endDateDefault","setEndDateDefault","endDate","setEndDate","lifeTime","setLifeTime","htmlAttributes","clearErrors","submitDataForm","eDate","add","document","getElementById","click","reload","tabindex","e","target","cssClass","min","change","htmlFor","enabled","DeleteModal","selectedItem","MediaDownloadPublicLink","selectedUuid","paragraphRef","useRef","confirmCopied","modalElement","handleModalOpen","current","addEventListener","removeEventListener","copyDownloadLink","navigator","clipboard","writeText","copiedElement","classList","remove","opacity","tabIndex","ref","wordBreak","animation","TableLive","liveEvent","current_page","filterPerPage","setCurrentPage","searchKeyWord","useDebounce","searchKeyWordDebounce","LiveEventList","pastEventSlice","pastEvent","pastEventLoading","pastEventItemList","pastEventError","TablePast","param","hash","upcomingEventSlice","upcomingEvent","upcomingEventLoading","upcomingEventItemList","upcomingEventError","TableUpcoming","upcomingEventList","DraftProduct","fetchDraftProduct","draft_product","continueToPage","events","event_venue_name","event_time_zone","fileURL","lock","frame_option","adminPassword","instagram","email_message","reply_to","send","email_template","email_template_id","image","WaterMark","digitalItems","prop_id","digital_prop_frame","facebook","linked_in","twitter","gallery_button","meta_title","gallery_password","microSite_template","eventFrames","frame_id","filterItems","color_filter_id","duplicateEventAction","bind","Event","file","resolve","fileReader","FileReader","readAsDataURL","onload","onerror","UploadFile","setFileURL","fileName","setFileName","setRemove","onChangeFile","files","convertBase64File","removeId","removeFile","EventInfo","setTimeZone","submitFormData","startDt","endDt","hours","round","eventEndDate","nameArr","timeZone","text","selected","forHtml","EventSummary","handelSubmitEvent","preventDefault","goBack","FormWizardChild","eventTextSMS","eventDigitalProp","eventFilter","AppExperience","NewFormWziardChild","eventBrustGif","eventWaterMark","eventFrame","incentiveOffer","eventFormBuilder","EmailTemplate","template","setTemplate","submitClose","setSubmitClose","emailTemplatesImage","setEmailTemplatesImage","myTemplatesImage","setMyTemplatesImage","fetchEmailTemplate","fetchMyTempate","myTemplateData","customData","my_template_id","contents","changeValue","hasOwnProperty","oldItem","findIndex","email_id","email_my_template_id","Email","emailTemplate","emailTemplateErr","setTemplateErr","emailTemplateType","setEmailTemplateType","emailTemplateContents","setEmailTemplateContents","setEmailMyTemplateId","body","attach_file","link_image","email_suffixes","theData","editedData","saveAs","content","handelEmail","template_type","event_email","draft_status","instagramToggle","facebookToggle","setFacebookToggle","handelSocial","socialEvent","cols","rows","PricingTableHeader","checkActiveTab","tabId","targetTab","packages","PricingTableTab","checkActivePackage","packageSelect","isNaN","package","package_name","billed","price","EventType","selectType","setSelectType","setSelectPackage","packageItems","user_email","submittedData","configToken","Authorization","card_info","renderPackage","isTrialExpire","checkTrailActivity","tabName","logo","Form","cardValidation","watch","setValue","keyCode","cardNumber","setCardNumber","cardName","setCardName","expMonth","setExpMonth","expYear","setExpYear","cvv","setCvv","handleField","maxLength","split","fieldIndex","nextSibling","querySelector","focus","valued","trim","cardNumberSpacing","onKeyDown","this","cardholderName","isError","label","expiryMonth","cvvNumber","PaymentPage","handleSubmitForm","expiryYear","visa","masterCard","amx","PaymentSuccessful","seconds","setSeconds","ProtectedRoute","Component","component","rest","expired","expireAt","expire_at","currentDate","render","PublicRoute","EmailVerify","code","verifyEmail","userInfo","email_verified_code","verify","tokens","EventOption","Array","setAdminPassword","disableCustomBranding","setDisableCustomBranding","CreateArr","assign","handelEventOption","someTruthy","val","join","onKeyUp","previousSibling","handleKeyPress","element","idx","handleChange","onFocus","select","RegisterUser","userType","setUserType","businessCategory","setBusinessCategory","handelRegister","business_category","company_name","password_confirmation","validate","TextSms","errorMessage","setErrorMessage","textMessage","handelSMS","test","text_sms","DigitalProps","propsItems","setPropsItem","setDigitalProp","DigitalPropsItems","prop_digital","manipulateData","selectedAll","digitalPropsItem","selectAllData","copyData","choosenData","copyItem","prop","IndexOfItem","splice","propCategory","category_name","items","DigitalSetting","modalView","setModalView","setDigitalProps","handelDigitalProp","removeProps","copyProps","propItem","PropFilter","propFilter","setPropFilter","setSelectedAll","FetchColorFilterItems","filterColor","propFilterItem","filter_url","Filter","handelFilter","option_filters","MicrositeModal","microSiteTemplate","setMicroSiteTemplate","microSiteMyTemplate","setMicroSiteMyTemplate","fetchMicroSiteTemplate","social_template","my_social_gallery_id","HeaderTrackingModal","isOpen","closeModal","handleHeaderScript","headerData","setHeaderData","overlay","backgroundColor","marginRight","transform","overflow","closeBtn","border","contentLabel","MicroSite","microSite","setMicroSite","setSocialMyTemplateId","socialTemplateType","socialTemplateContents","openModal","setOpenModal","headerScript","setHeaderScript","socialGalleryOption","setSocialGalleryOption","handelMicroSite","tag_script","microsite_template","background_img","selectSocialGalleryItem","DataCaptureTable","setSearchKeyWord","fetchDataCapture","query","colSpan","data_capture_count","DataCapture","eventGraph","setEventGraph","Checkbox","handleClick","isChecked","Modal","setAppElement","customStyles","DataView","loadingEmail","setLoadingEmail","dataView","setDataView","editorRef","CKEditor","ClassicEditor","totalPages","setTotalPages","modalIsOpenEmail","setModalIsOpenEmail","modalIsOpenSMS","setModalIsOpenSMS","modalIsOpenAllSms","setModalIsOpenAllSms","modalIsOpenAllEmail","setModalIsOpenAllEmail","isCheckAll","setIsCheckAll","isCheck","setIsCheck","allSelect","setAllSelect","multipleSelect","setMultipleSelect","sendSMS","setSendSMS","smsMessage","setSmsMessage","sendEmail","setSendEmail","emailSubject","setEmailSubject","emailMessage","setEmailMessage","smsAllMessage","setAllSmsMessage","emailAllMessage","setAllEmailMessage","itemEmailPhone","multipleSmsEmail","findIndx","indexOf","handelSelectAllSmsEmail","sendAllSmsEmail","mobile","dataAllEmail","subject","select_type","dataMultipleEmail","singleSendSMS","itemSms","mobileArray","phone","ids","singleSendEmail","itemEmail","emailArray","fetchDataView","last_page","require","open","all","li","created_at","readOnly","dataSms","editor","config","toolbar","onReady","editing","view","writer","setStyle","getRoot","getData","dataEmail","View","PaymentCapture","PaymentSuccessfulPage","EventOptionEdit","eventOptionItem","handelEventOptionUpdate","EventInfoEdit","editEventInfo","setEditStartDate","stDate","enDate","checkFutureEvent","handelInfo","date","eventStartDate","ceil","EmailEdit","reset","emailUpdate","setEmailUpdate","setEventId","handelEmailUpdate","SocialMediaEdit","handelSocialUpdate","TextSmsEdit","MicroSiteEdit","microSiteData","setMicrositeData","microsite_gallery_id","microsite_template_photo","MicrositeShare","FacebookShare","TwitterShare","RecentPhoto","recentPhoto","event_photo","Analytic","recentGallery","setRecentGallery","setSocialShare","galleryTab","setGalleryTab","eventStatus","setStatus","fetchSocialShareSingle","single_social_share","fetchRecentGallery","gallery_photo_single","gallery_item","ViewPhotos","BtnSlider","direction","moveSlide","rightArrow","leftArrow","ThreeInOnePlayer","dataSlider","activeItemIndex","threeInOneShareDetails","slideIndex","setSlideIndex","threeInOneID","setThreeInOneID","threeInOneDetails","setThreeInOneDetails","threeInOneDetailsShare","previewImageDetails","media","indexNumber","load","resetVideoPlayer","obj","autoPlay","controls","email_shares_count","facebook_shares_count","instagram_shares_count","linkedin_shares_count","sms_shares_count","download_shares_count","shares_count","ReactModal","borderRadius","outline","ThreeInOne","modalIsOpen","setIsOpen","activeItem","setActiveItem","indexItem","downloadImage","file_name","ThreeInOnePlayerFast","threeInOneFastShareDetails","ThreeInOneFast","event_burst_gif","SliderVideo","boomerangShareDetails","boomerangID","setBoomerangID","boomerangDetails","setBoomerangDetails","boomerangDetailsShare","event_video","BoomerangModal","playVideo","setPlayVideo","BoomerangGallery","boomerang_url","PhotoGalleryDetails","photoShareDetails","photoID","setPhotoID","photoDetails","setPhotoDetails","photoDetailsShare","objectFit","PhotoGallery","photo_url","VideoPlayer","videoShareDetails","VideoGallery","videoDetails","setVideoDetails","video_url","eventGallery","setEventGallery","setEvent","fetchEventGallery","gallery_photo","downloadAllData","FullScreenView","EventFrameModal","setEventFrame","EventFrameItems","frames","selectedFrame","preview_image","EventFrame","setSelectedFrame","ForgotPassword","handelForgotPassword","ResetPassword","password_confirm","ResendEmail","setMessage","ResendCode","SocialGallery","Error","DigitalProp","propsItem","FrameModal","setCustomFrame","fileError","setFileError","currentFrameRatio","setCurrentFrameRatio","frameSize","setFrameSize","setImage","imgProps","Image","img","w","h","custom_frame","imageRatioGet","imgSrc","newImageWidth","newImageHeight","customImage","Frame","setFrame","handelTemplate","photo_frame_template","settingsOpen","frameData","dataIndex","PasswordChange","handelChangePassword","old_password","Filters","MicrositeDefault","atob","galleryItems","setGalleryItems","fetchMicroSiteGalleryItems","gallery_items","MicrositeDefaultView","fetchSocialGallery","share_gallery","shareUrl","EmailShareButton","FacebookShareButton","url","TwitterShareButton","LinkedinShareButton","MicroSiteDefaultPassword","for","MicrositeOne","setGallery","socialGalleryTemplate","setSocialGalleryTemplate","eventIds","stringToHTML","shareItem","templateName","template_name","str","frag","createRange","createContextualFragment","head","appendChild","imageClassDec","indexImage","media_type","logoThree","EmailModal","setCloseModal","isSuccess","setIsSuccess","handelEmailSend","shareEmail","media_id","sharing_platform","send_email","email_share","SMSModal","handelSMSSend","send_sms","sms_share","share_datetime","getTime","MicrositeOneView","viewItemId","previewItem","setPreviewItem","socialShareCount","setSocialShareCount","shareTemplate","setShareTemplate","setContents","fetchPreviewItem","share_gallery_preview","countType","storeShareCount","emailSendInfo","DesktopViewSocial","Helmet","property","SocialMenuStyle","MobileViewSocial","shareUrlMobile","whats_app","poster","parser","contentBodyText","buttonText","footerText","MicrositeOnePassword","setPassword","MicrositeTwo","MicrositeTwoView","EventFeaturesEdit","eventFeatureItem","handelFeatureUpdate","InternalErrorPage","UnPaidRoute","xAxis","setXAxis","yAxis","setYAxis","tAxis","setTAxis","lAxis","setlAxis","brandingLogoWidth","setLogoWidth","xCalculation","yCalculation","previewWaterMarkStyle","fontWeight","transition","marginBottom","setValueX","setValueY","waterMarkData","WaterMarkEdit","setWaterMarkType","setPhoto","put","MemberSettings","loadedContent","setMemberSetting","active_status","setActiveStatus","memberSettings","toString","TemplateOne","userName","markupText","emailTemplateContent","setContent","selectedState","setSelectedState","selectElement","stateName","theValue","setChangeState","changeStateData","copyEditedData","cellspacing","cellpadding","fontFamily","valign","align","bgcolor","textTransform","letterSpacing","borderBottom","textAlign","lineHeight","textDecoration","TemplateTwo","marginTop","TemplateThree","EditEmailTemplate","customizeText","setCustomizeText","customizeData","setCustomizeData","fromState","setFromState","templateDetail","setTemplateDetail","deviceView","setDeviceView","setReset","selectedTemplate","setSelectedTemplate","setTemplateName","templateNameError","setTemplateNameError","setModalIsOpen","apiKey","onInit","evt","initialValue","init","menubar","plugins","content_style","onEditorChange","newValue","buttonColor","socailShareContent","EditSocialShare","social_id","fromStateName","setFromStateName","logoError","setLogoError","microsite_template_id","GifModal","allGif","setAllGif","GifItemList","gifList","selectGifItems","settings","gifId","number_of_frame","interval_count_down","playback_speed","individual_photo","show_overlay","mirror_live","GifSettingsModal","submitTrigger","selectedSettings","setNumberOfFrame","setIntervalCountDown","setPlayBackSpeed","setIndividualPhoto","showOverLayPreview","setMirrorLive","max","marks","step","Gif","setSelectGifItems","setGifId","gifTemplateErr","setGifTemplateErr","gif_setting","STROKE","FILL","CIRCLE","radius","RECTANGLE","angle","LINE","points","options","TEXT","buildEditor","canvas","fillColor","_setFillColor","_setStrokeColor","scaleStep","addCircle","centerPosition","getCenter","object","fabric","Circle","addRectangle","Rect","addLine","addImage","imageFile","fromURL","set","crossOrigin","addText","Textbox","updateText","objects","getActiveObjects","renderAll","selectedCanvasObjects","getObjects","setActiveObject","deleteAll","discardActiveObject","deleteSelected","setFillColor","setStrokeColor","zoomIn","zoom","getZoom","setZoom","zoomOut","getAllObjects","toJSON","canvasPosition","centerX","centerY","downloadCanvas","dataURL","toDataURL","quality","link","createElement","EditorContext","createContext","EditorProvider","initState","fontStyle","underline","strokeWidth","defaultFillColor","defaultStrokeColor","setCanvas","selectedObjects","setSelectedObject","Canvas","on","bindEvents","canvasReady","selectObject","multiplier","useFabricJSEditor","textEditorOptions","setTextEditorOptions","contextValues","resetField","field","Provider","AddProps","Color","useContext","displayColorPalate","setDisplayColorPicker","boxShadow","Fonts","FontSize","FontStyle","LineHeight","Position","openPosition","setOpenPosition","pos","positions","StrokeWidth","openTransform","setOpenTransform","Transform","TextEditor","AddText","setText","editMode","setEditMode","List","activeLayers","slice","UploadPhoto","reader","activeTab","setActiveTab","CanvasEditor","canvasEl","canvasElParent","canvasWidth","canvasHeight","canvasWrapperWidth","clientWidth","setAttribute","canvasImg","getContext","drawImage","imgs","scaleFactor","originX","originY","scaleX","scaleY","setWidth","setHeight","setBackgroundImage","dispose","GIFEditTabs","closeItem","scroll","GifEdit","gifEditOpen","setGifEditOpen","setSelectedSettings","setSelectedItem","gifSetting","gif_id","gif_settings","BrustGifModal","brustGif","setBrustGif","BrustGifsItem","allGifs","selectedBrustGif","brustGifId","BrustGifSettingsModal","BrustGif","setSelectedBrustGif","setBrustGifId","brustGifTemplateErr","setBrustGifTemplateErr","BrustGifEdit","brust_gif_id","brust_gif_setting","IncentiveFormItem","control","offerData","countValue","setCountValue","rules","description","useFieldArray","fields","append","currentFields","extededItem","i","jQuery","$","FormBuilderNew","fb","createRef","form","setForm","options2","disableFields","disabledActionButtons","onClearAll","actionButtons","myxml","formBuilder","myxml2","fbTemplate","concat","subtype","access","formRender","alert","icon","controlConfig","autoUpload","userData","FormData","objs","getObj","fieldOption","getAll","toSendData","formSubmitHandler","FormBuilderModal","modalMessage","EventFormBuilder","selectFormBuilder","setSelectFormBuilder","modalTitle","customerFeedBack","FormBuilderData","eventFeedBack","pollFeedBack","memberFeedBack","setFormBuilder","areEquals","b","keys1","keys2","findNameIndex","findName1Index","defaultName","defaultData","disabledAttrs","formInputData","arr","checkArray","warning","success","removeChild","chooseFormBuilder","EventFormBuilderEdit","IncentiveOfferEdit","IncentiveOffers","setIncentive","fetchEditData","prepend","onSubmitUpdate","Images","photos","fullScreen","allItemBody","onDoubleClick","Video","videos","Gifs","gifs","All","SlideShow","fullscreenElement","webkitFullscreenElement","mozFullScreenElement","msFullscreenElement","exitFullscreen","mozCancelFullScreen","webkitExitFullscreen","msExitFullscreen","requestFullscreen","mozRequestFullScreen","webkitRequestFullscreen","Element","ALLOW_KEYBOARD_INPUT","msRequestFullscreen","EventDevice","device","PayWithDeviceEvent","sources","request","eventPayment","charge_id","DeviceItemValue","devicePrice","CountDownSimple","minutes","days","interval","setInterval","timeTillDate","timeFormat","currentTime","now","calculateDate","diff","floor","setState","clearInterval","CountDownDay","Avail","voucherNo","qrCode","setQrCode","claimMessage","setClaimMessage","getQrCode","user_name","owner_name","voucher","pageLoader","setPageLoader","claim","setClaim","qr_code_details","expireDate","is_used","CountDown","voucher_id","ClaimedOffer","textShadow","AccountInfo","last_name","ChangePassword","isCheckPreviousPassword","setIsCheckPreviousPassword","new_password","confirm_password","Profile","setUser","amount","gap","AllRoutes","exact","path","DataCaptureView","SmsBilling","PaymentSuccesful","App","reportWebVitals","onPerfEntry","Function","getCLS","getFID","getFCP","getLCP","getTTFB","eventEditSlice","eventEditOption","rootReducers","combineReducers","liveEventReducer","upcomingEventReducer","pastEventReducer","createEventReducer","viewEventReducer","eventEdit","eventEditReducer","dashboardAnalyticsReducer","persistConfig","storage","blacklist","persistedReducer","persistReducer","store","configureStore","reducer","middleware","getDefaultMiddleware","serializableCheck","check","devTools","persister","persistStore","ReactDOM","hydrate","StrictMode","persistor"],"mappings":"6pqBAUeA,EARD,SAAC,GAAwB,IAAvBC,EAAsB,EAAtBA,OAAWC,EAAW,iBAClC,OACI,mCACI,+CAAOC,OAAQF,G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CAAanrD,QAAS,KAAMgsD,UAAWL,GAAvC,SACE,cAAC,GAAD,UAIN5tC,SAASC,eAAe,SAI1B0rC,M","file":"static/js/main.b22f7f6f.chunk.js","sourcesContent":["import React from 'react'\n\nconst Label = ({htmFor, ...props}) => {\n return (\n <>\n \n \n )\n}\n\nexport default Label\n","export const regExEmail = /[A-Za-z0-9._%+-]{2,}@[a-zA-Z]{3,}([.]{1}[a-zA-Z]{2,}|[.]{1}[a-zA-Z]{2,}[.]{1}[a-zA-Z]{2,})/","export const Required = \"This field is required\";\nexport const patternEmail = \"Please type a valid email\";\nexport const patternMinLength = (value) => `This field should be minimum ${value} characters`","const LocalStorage = () => {\n const localStorageInfo = typeof window !== 'undefined' ? localStorage.getItem(\"token_verify\") : '';\n const UserInfo = typeof window !== 'undefined' ? localStorage.getItem(\"users\") : null;\n\n // const user_decodedStringAtoB = atob(localStorageInfo);\n // const user_info = JSON.parse(user_decodedStringAtoB);\n // console.log(user_info);\n const access_token = localStorageInfo;\n const user = JSON.parse(UserInfo);\n return { access_token, user };\n}\n\nexport default LocalStorage\n","import axios from 'axios';\nimport LocalStorage from '../hook/LocalStorage';\n\nconst { access_token } = LocalStorage()\n\n// export const downloadUrl = 'https://dev.thehaylo.com.au/api/'\nexport const downloadUrl = 'https://contents.thehaylo.com.au/api/'\n// export const downloadUrl = 'http://127.0.0.1:8000/api/'\n\nconst http = axios.create({\n // baseURL: \"https://dev.thehaylo.com.au/api/v1/\",\n baseURL: \"https://contents.thehaylo.com.au/api/v1/\",\n // baseURL: \"http://127.0.0.1:8000/api/v1/\",\n headers: {\n 'Authorization': `Bearer ${access_token}`,\n \"Content-type\": \"application/json\"\n }\n});\n\n\n\nexport const httpUser = axios.create({\n // baseURL: \"https://dev.thehaylo.com.au/api\",\n baseURL: \"https://contents.thehaylo.com.au/api\",\n // baseURL: \"http://127.0.0.1:8000/api\",\n headers: {\n 'Authorization': `Bearer ${access_token}`,\n \"Content-type\": \"application/json\"\n }\n})\n\nexport const baseURLPublic = axios.create({\n // baseURL: \"https://dev.thehaylo.com.au/api/v1/\",\n baseURL: \"https://contents.thehaylo.com.au/api/v1/\",\n // baseURL: \"http://127.0.0.1:8000/api/v1/\",\n headers: {\n \"Content-type\": \"application/json\"\n }\n});\n\n\nhttp.interceptors.response.use(\n function (response) {\n if (response.data.token) {\n localStorage.setItem(\"token_verify\", response.data.token);\n localStorage.setItem(\"users\", JSON.stringify(response.data.user));\n }\n return response;\n },\n function (error) {\n if (error.response.status === 500) {\n // window.location.href = '/error'\n }\n else if (error.response.status === 401) {\n localStorage.removeItem(\"token_verify\")\n localStorage.removeItem(\"users\")\n window.location.href = '/'\n }\n return Promise.reject(error);\n }\n)\n\n\n// export const mediaUrl = 'http://127.0.0.1:8000/storage';\n// export const mediaUrl = 'https://dev.thehaylo.com.au/storage';\n// export const imageURL = 'http://127.0.0.1:8000';\n// export const URL_S3 = 'https://haylo-test.s3.ap-southeast-2.amazonaws.com/';\nexport const URL_S3 = 'https://d1ezvqt1a90tu9.cloudfront.net/';\n\nexport default http;\n\n","export default __webpack_public_path__ + \"static/media/Haylo-logo-white.f3134552.png\";","export default __webpack_public_path__ + \"static/media/login.65178453.jpg\";","import React, { useState } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { Link, useHistory } from 'react-router-dom'\nimport { InputForm } from '../../../components/Input'\nimport { regExEmail } from '../../../components/RegEx'\nimport { Required, patternEmail, patternMinLength } from '../../../components/RegEx/ValidationMessage'\nimport http from '../../../config/BaseUrl'\nimport LoginImage from '../../../assets/images/login.jpg'\nimport Logo from '../../../assets/images/logo/Haylo-logo-white.png'\nimport classnames from 'classnames';\nimport '../style/style.css'\n\nconst Login = () => {\n const history = useHistory()\n const [loading, setLoading] = useState(false)\n const { register, handleSubmit, formState: { errors }, setError } = useForm({ mode: \"all\", reValidateMode: \"all\" })\n\n const handelLogin = async (data) => {\n\n try {\n setLoading(true)\n\n await http.post('login', data).then((res) => {\n\n let status = res.data.user.verify_status;\n let user_info = res.data.user;\n let userId = user_info.id;\n let userEmail = user_info.email;\n\n if (status === \"active\") {\n\n setTimeout(()=>{\n if (user_info.expire === 0) {\n window.location.href= '/event/type';\n } else if (user_info.expire === 1) {\n history.go('/dashboard')\n }\n }, 500)\n\n } else {\n let name = { email: [\"email\"] };\n let nameArr = [[\"Please verify your email\"]];\n const errorNames = Object.keys(name);\n const errorMessages = Object.values(nameArr);\n errorNames.forEach((err, indx) => {\n setError(err, { type: 'required', message: errorMessages[indx][0] })\n })\n history.push('/resend/email', { id: userId, email: userEmail })\n setLoading(false)\n }\n }).catch((err) => {\n const errorNames = Object.keys(err.response.data.errors);\n const errorMessages = Object.values(err.response.data.errors);\n errorNames.forEach((err, indx) => {\n setError(err, { type: 'required', message: errorMessages[indx][0] })\n })\n setLoading(false)\n })\n } catch (error) {\n console.log(error.message);\n }\n\n }\n return (\n <>\n
\n
\n\n
\n
\n
\n
\n
\n \"haylo\"\n
\n
\n
\n
\n
\n
\n
\n
\n
\n
\n

Don’t have an account? Sign up now

\n
\n
\n
\n
\n
\n

Sign in to The Haylo

\n
\n\n
\n
\n \n\n \n\n {/* */}\n
\n\n
\n \n \n {/* */}\n
\n
\n \n \n {errors.check_promotion && \"Please check the agreement.\"}\n \n
\n
\n \n
\n
\n
\n
\n
\n
\n

Forgot Password?

\n
\n
\n\n
\n
\n\n
\n
\n\n
\n\n \n )\n}\n\nexport default Login\n","import React from 'react'\n\nlet year = new Date().getFullYear()\n\nconst Footer = () => {\n return (<>\n
\n {/*end overlay*/}\n {/* eslint-disable-next-line no-script-url */}\n {/*Start Back To Top Button*/} {/* */}\n {/*End Back To Top Button*/}\n {/*footer */}\n
\n

Copyright © {year} The Haylo. All Right Reserved\n

\n
\n )\n}\n\nexport default Footer;","import { createSlice, current } from '@reduxjs/toolkit'\nconst initialState = {\n\n isLoading: false,\n eventId: null,\n event_info: {},\n feature: {},\n event_option: {},\n filters: {},\n digital_prop: {},\n watermark: {},\n data_capture: {},\n social: {},\n email: {},\n sms_sharing: {},\n micro_site: {},\n photo_template_frame: {},\n brust_gifs: {},\n app_experience_branding: {},\n event_gif: {},\n incentive_offer: [],\n form_builder: {}\n}\n\nconst createEventSlice = createSlice({\n name: \"create-event\",\n initialState,\n\n reducers: {\n\n eventCreateReset: (state) => {\n state.isLoading = false\n state.eventId = null\n state.event_info = {}\n state.feature = {}\n state.event_option = {}\n state.filters = {}\n state.digital_prop = {}\n state.watermark = {}\n state.data_capture = {}\n state.social = {}\n state.email = {}\n state.sms_sharing = {}\n state.micro_site = {}\n state.photo_template_frame = {}\n state.brust_gifs = {}\n state.app_experience_branding = {}\n state.event_gif = {}\n state.incentive_offer = []\n state.form_builder = {}\n },\n\n eventSharingReset: (state) => {\n state.event_option.social_media = false\n state.event_option.email = false\n state.event_option.text_messaging = false\n state.event_option.microsite = false\n },\n\n eventDraftToContinue: (state, { payload }) => {\n state.eventId = payload.eventId\n state.event_info = payload.event_info\n state.feature = payload.feature\n state.event_option = payload.event_option\n state.filters = payload.filters\n state.digital_prop = payload.digital_prop\n state.social = payload.social\n state.email = payload.email\n state.sms_sharing = payload.sms_sharing\n state.micro_site = payload.micro_site\n state.photo_template_frame = payload.photo_template_frame\n state.incentive_offer = payload.incentive_offer\n state.brust_gifs = payload.brust_gifs\n state.event_gif = payload.event_gif\n state.incentive_offer = payload.incentive_offer\n },\n\n eventIdSet: (state, { payload }) => {\n state.eventId = payload\n },\n\n eventIsLoading: (state, { payload }) => {\n state.isLoading = payload\n },\n\n eventInfo: (state, { payload }) => {\n state.event_info = payload\n },\n\n featureEvent: (state, { payload }) => {\n state.feature = payload\n },\n eventOptionItems: (state, { payload }) => {\n state.event_option = payload\n },\n\n\n // child start\n eventFilters: (state, { payload }) => {\n state.filters = payload\n },\n digitalProp: (state, { payload }) => {\n state.digital_prop = payload\n },\n customBrandingState: (state, { payload }) => {\n state.watermark = payload\n },\n dataCapture: (state, { payload }) => {\n state.data_capture = payload\n },\n eventSocial: (state, { payload }) => {\n state.social = payload\n },\n eventEmail: (state, { payload }) => {\n state.email = payload\n },\n eventSmsSharing: (state, { payload }) => {\n state.sms_sharing = payload\n },\n eventMicroSite: (state, { payload }) => {\n state.micro_site = payload\n },\n eventPhotoTemplateFrame: (state, { payload }) => {\n state.photo_template_frame = payload.photo_frame\n },\n eventBrustGifs: (state, { payload }) => {\n state.brust_gifs = payload\n },\n eventAppExperienceBranding: (state, { payload }) => {\n state.app_experience_branding = payload\n },\n eventGif: (state, { payload }) => {\n state.event_gif = payload\n },\n\n eventIncentiveOffers: (state, { payload }) => {\n state.incentive_offer = JSON.parse(payload)\n },\n eventFormBuilderAdd: (state, { payload }) => {\n state.form_builder = payload.data\n },\n\n // child end\n }\n})\n\nexport const {\n eventCreateReset,\n eventSharingReset,\n eventIsLoading,\n eventInfo,\n featureEvent,\n eventOptionItems,\n eventFilters,\n digitalProp,\n customBrandingState,\n dataCapture,\n eventSocial,\n eventEmail,\n eventSmsSharing,\n eventMicroSite,\n eventPhotoTemplateFrame,\n eventBrustGifs,\n eventAppExperienceBranding,\n eventDraftToContinue,\n eventIdSet,\n eventGif,\n eventIncentiveOffers,\n eventFormBuilderAdd\n} = createEventSlice.actions\nexport default createEventSlice.reducer","/* eslint-disable no-script-url */\n/* eslint-disable jsx-a11y/anchor-is-valid */\nimport React, { useState, useEffect } from \"react\";\nimport { Link, useHistory } from \"react-router-dom\";\nimport { FcBusinessman } from 'react-icons/fc';\nimport { useDispatch } from 'react-redux'\nimport { eventCreateReset } from '../../pages/events/createEvent/slice/createEventSlice'\nimport LocalStorage from \"../../hook/LocalStorage\";\nconst Header = ({ toggleLayoutHeader }) => {\n\n const history = useHistory();\n\n const { user } = LocalStorage()\n\n const dispatch = useDispatch()\n\n // Toggle Start\n const [sideToggle, setSideToggle] = useState(false);\n const [showUpgrade, setShowUpgrade] = useState(false)\n const toggleAction = () => {\n setSideToggle(!sideToggle);\n toggleLayoutHeader(!sideToggle);\n };\n // Toggle End\n\n const handelLogout = () => {\n localStorage.removeItem(\"token_verify\")\n localStorage.removeItem(\"users\")\n localStorage.removeItem(\"persist:root\")\n localStorage.removeItem(\"tokens_verifies\")\n localStorage.removeItem(\"user\")\n history.push('/')\n }\n\n const createEvent = () => {\n dispatch(eventCreateReset())\n\n history.push('/event/create')\n }\n\n useEffect(() => {\n if (user) {\n if (user.membership.package_type === \"trial\") {\n setShowUpgrade(true)\n }\n else {\n setShowUpgrade(false)\n }\n }\n }, [user])\n\n return (\n <>\n
\n \n
\n \n );\n};\n\nexport default Header;\n","export default __webpack_public_path__ + \"static/media/Haylo-for-white-background.e7d9bf17.png\";","import React from \"react\";\nimport { NavLink } from \"react-router-dom\";\nimport { MdEventNote, MdOutlineSms, MdSettings } from 'react-icons/md'\nimport { FiEdit } from 'react-icons/fi'\nimport { RiDashboard3Line } from 'react-icons/ri'\nimport Logo from '../../assets/images/logo/Haylo-for-white-background.png'\nconst Sidebar = ({ toggleLayoutSidebar }) => {\n\n // Toggle Start\n const sidebarAction = () => {\n toggleLayoutSidebar(false);\n };\n\n return (\n <>\n
\n
\n
\n \"logo\"\n
\n\n \n {\" \"}\n \n
\n\n
    \n
  • \n \n
    \n
    Dashboard
    \n
    \n
  • \n
  • Events
  • \n
  • \n \n
    \n
    Events
    \n
    \n
  • \n
  • \n \n
    \n
    Data Management
    \n
    \n
  • \n {/*
  • \n \n
    \n
    SMS Billing
    \n
    \n
  • */}\n {/*
  • \n \n
    \n
    Settings
    \n
    \n
  • */}\n {/*
  • \n \n
    \n
    Form Builder
    \n
    \n
  • */}\n
\n
\n \n );\n};\n\nexport default Sidebar;\n","import classNames from \"classnames\";\nimport React, { useState } from \"react\";\nimport Footer from \"./Footer\";\nimport Header from \"./Header\";\nimport Sidebar from \"./Sidebar\";\n\nconst Layout = ({ children, ...props }) => {\n // Toggle Start\n const [toggleLayout, setToggleLayout] = useState(false);\n const toggleLayoutAction = (value) => {\n setToggleLayout(value);\n };\n // Toggle End\n\n return (\n <>\n
\n \n
\n
\n
\n
{children}
\n
\n
\n
\n
\n \n );\n};\n\nexport default Layout;\n","import React from 'react'\nimport { LineChart, Line, XAxis, Tooltip, YAxis } from 'recharts';\n\n\n\n\nfunction Chart(props) {\n\n const { clickWeekly, loading, clickMonthly, clickYearly, sectionTitle, sectionName, dataSet, width, height, dataKey, dataKeyName, strokeColor, navClass, graphTotalText } = props\n const TotalWeeklyCount = dataSet.weeklyData && dataSet.weeklyData.totalData\n const TotalMonthlyCount = dataSet.monthlyData && dataSet.monthlyData.totalData\n const TotalYearlyCount = dataSet.yearlyData && dataSet.yearlyData.totalData\n \n return (\n <>\n
\n
\n
\n

{sectionTitle}

\n
\n
\n
    \n
  • \n \n Weekly\n \n
  • \n
  • \n \n Monthly\n \n
  • \n
  • \n \n Yearly\n \n
  • \n
\n
\n
\n
\n {loading && loading ? (\n
\n
\n Loading...\n
\n
\n )\n :\n (<>\n \n \n \n \n \n \n \n
{props.graphTotalText === undefined ? 'Captured Data This Week' : graphTotalText.week}: {TotalWeeklyCount}
\n
\n \n \n \n \n \n \n \n
{props.graphTotalText === undefined ? 'Captured Data This Month' : graphTotalText.month}: {TotalMonthlyCount}
\n
\n \n \n \n \n \n \n \n \n
{props.graphTotalText === undefined ? 'Captured Data This Week' : graphTotalText.year}: {TotalYearlyCount}
\n
\n )}\n \n \n\n\n\n \n )\n}\n\nexport default Chart\n","import React from 'react'\nimport { useState } from 'react'\nimport { useEffect } from 'react'\nimport Chart from '../../../../../components/Rechart/Chart'\nimport http from '../../../../../config/BaseUrl'\n\nfunction EmailShare() {\n\n const [data, setData] = useState(\"\");\n const [isLoading, setIsLoading] = useState(false);\n const fetchGraphData = async () => {\n try {\n setIsLoading(true)\n await http.get(`dashboard-graph/sharing/email`).then( res =>{\n if(res.data.graphData){\n setIsLoading(false)\n setData(res.data.graphData)\n }\n }).catch((err) => {\n setIsLoading(false)\n })\n } catch (error) {\n \n }\n }\n\n const graphTotalText = {\n week: `This Week`,\n month: 'This Month',\n year: 'This Year'\n }\n\n useEffect(()=>{\n fetchGraphData()\n }, [])\n\n\n return (\n \n )\n}\n\nexport default EmailShare\n","import React, { useEffect, useState } from 'react'\nimport Chart from '../../../../../components/Rechart/Chart';\nimport http from '../../../../../config/BaseUrl';\n\nfunction SmsShare() {\n\n const [data, setData] = useState([])\n const [isLoading, setIsLoading] = useState(false);\n const fetchGraphData = async () => {\n try {\n setIsLoading(true)\n await http.get(`dashboard-graph/sharing/sms`).then( res =>{\n if(res.data.graphData){\n setData(res.data.graphData)\n setIsLoading(false)\n }\n }).catch((err) => {\n console.log('fail');\n setIsLoading(false)\n })\n } catch (error) {\n \n }\n }\n\n\n useEffect(()=>{\n fetchGraphData()\n }, [])\n\n const graphTotalText = {\n week: `This Week`,\n month: 'This Month',\n year: 'This Year'\n }\n\n\n return (\n \n )\n}\n\nexport default SmsShare\n","import React, { useEffect, useState } from 'react'\nimport Chart from '../../../../../components/Rechart/Chart';\nimport http from '../../../../../config/BaseUrl';\n\nfunction SocialShare() {\n\n const [isLoading, setIsLoading] = useState(false);\n const [data, setData] = useState([])\n const fetchGraphData = async () => {\n try {\n setIsLoading(true)\n await http.get(`dashboard-graph/sharing/instagram`).then( res =>{\n if(res.data.graphData){\n setData(res.data.graphData)\n setIsLoading(false)\n }\n }).catch((err) => {\n console.log('fail');\n setIsLoading(false)\n })\n } catch (error) {\n \n }\n }\n\n useEffect(()=>{\n fetchGraphData()\n }, [])\n\n const graphTotalText = {\n week: `This Week`,\n month: 'This Month',\n year: 'This Year'\n }\n\n return (\n \n )\n}\n\nexport default SocialShare\n","import classNames from 'classnames'\nimport React from 'react'\n\nfunction Loader() {\n return (\n
\n \n
\n )\n}\n\nexport default Loader\n\n\nexport const LoadingSpinner = ({className, color}) =>{\n return (\n <>\n
\n Loading...\n
\n \n )\n}","import React, { useState, useCallback } from 'react'\nimport {\n PieChart, Pie,\n Sector,\n Cell\n} from \"recharts\";\nimport { LoadingSpinner } from '../Loader/Loader';\n\nconst renderActiveShape = (props) => {\n const RADIAN = Math.PI / 180;\n const {\n cx,\n cy,\n midAngle,\n innerRadius,\n outerRadius,\n startAngle,\n endAngle,\n fill,\n payload,\n percent,\n value,\n name\n } = props;\n const sin = Math.sin(-RADIAN * midAngle);\n const cos = Math.cos(-RADIAN * midAngle);\n const sx = cx + (outerRadius + 10) * cos;\n const sy = cy + (outerRadius + 10) * sin;\n const mx = cx + (outerRadius + 30) * cos;\n const my = cy + (outerRadius + 30) * sin;\n const ex = mx + (cos >= 0 ? 1 : -1) * 22;\n const ey = my;\n const textAnchor = cos >= 0 ? \"start\" : \"end\";\n\n return (\n \n \n {payload.name}\n \n \n \n \n \n = 0 ? 1 : -1) * 12}\n y={ey}\n textAnchor={textAnchor}\n fill=\"#333\"\n >{`${name} ${('defaultValue' in payload) ? payload.value : value}`}\n = 0 ? 1 : -1) * 12}\n y={ey}\n dy={18}\n textAnchor={textAnchor}\n fill=\"#999\"\n >\n {`(Rate ${(percent * 100).toFixed(2)}%)`}\n \n \n );\n};\n\nfunction PieChartDiv(props) {\n\n const { sectionTitle, sectionName, loading, dataSet, width, height, dataKey, dataKeyName, strokeColor, navClass, dataHasValue } = props\n\n\n const [activeIndex, setActiveIndex] = useState(0);\n const onPieEnter = useCallback(\n (_, index) => {\n setActiveIndex(index);\n },\n [setActiveIndex]\n );\n\n return (\n <>\n {!loading ?\n <>\n {\n dataSet.length > 0 ?\n \n \n {\n dataSet.map((cellData, index) => (\n \n ))\n }\n \n \n :\n
\n

No Data Found

\n
\n }\n\n \n : (\n
\n \n
\n )}\n \n )\n}\n\nexport default PieChartDiv\n","import React, { useEffect, useState } from 'react'\nimport PieChartDiv from '../../../../../components/Rechart/PieChart'\nimport http from '../../../../../config/BaseUrl';\n\nfunction PieChartComponent() {\n\n const [isLoading, setIsLoading] = useState(false);\n const [isNull, setCheckNull] = useState(false);\n const [dataCapture, setDataCapture] = useState([]);\n\n const fetchGraphDataCapturePie = async () => {\n try {\n setIsLoading(true)\n await http.get(`dashboard-graph/sharing-pie`).then(res => {\n let responseData = res.data.graphDataCapture\n\n if (responseData) {\n\n if (responseData.some(item => item.value > 0)) {\n setDataCapture(responseData)\n setCheckNull(true)\n }\n else {\n responseData.forEach(item => {\n return (\n item.defaultValue = 50\n )\n })\n setCheckNull(false)\n setDataCapture(responseData)\n }\n\n\n setIsLoading(false)\n }\n }).catch((err) => {\n setIsLoading(false)\n })\n } catch (error) {\n\n }\n }\n\n\n useEffect(() => {\n fetchGraphDataCapturePie()\n }, [])\n\n const data = [\n {\n name: \"Prints\",\n value: 3,\n },\n {\n name: \"Text Messages\",\n value: 2,\n pv: 967,\n amt: 1506,\n cnt: 590,\n background: 'rgba(140, 109, 57, .8)'\n },\n {\n name: \"Email\",\n value: 2,\n pv: 1098,\n amt: 989,\n cnt: 350,\n background: 'rgba(140, 109, 57, .8)'\n },\n {\n name: \"Facebook\",\n value: 2,\n pv: 1200,\n amt: 1228,\n cnt: 480,\n background: 'rgba(140, 109, 57, .8)'\n },\n {\n name: \"Twitter\",\n value: 2,\n pv: 1108,\n amt: 1100,\n cnt: 460,\n background: 'rgba(206,162,82,.8)'\n },\n {\n name: \"Instagram\",\n value: 2,\n pv: 680,\n amt: 1700,\n cnt: 380,\n background: 'rgba(206,162,82,.8)'\n }\n ];\n\n\n\n return (\n
\n
Social Sharing Stats
\n \n
\n )\n}\n\nexport default PieChartComponent\n","import React from 'react'\nimport {\n AreaChart,\n Area,\n XAxis,\n YAxis,\n CartesianGrid,\n Tooltip\n} from \"recharts\";\nimport { LoadingSpinner } from '../Loader/Loader';\n\nfunction AreaChartDiv(props) {\n\n const { dataSet, loading, dataKey, dataValue } = props\n return (\n <>\n {!loading ?\n \n \n \n \n \n :(\n
\n \n
\n )}\n \n )\n}\n\nexport default AreaChartDiv\n","import React, { useEffect, useState } from 'react'\nimport AreaChartDiv from '../../../../../components/Rechart/AreaChart'\nimport http from '../../../../../config/BaseUrl';\nfunction AreaComponent() {\n\n const [isLoading, setIsLoading] = useState(false);\n const [data, setData] = useState(\"\");\n\n const fetchGraphData = async () => {\n try {\n setIsLoading(true)\n await http.get(`dashboard-graph/data-capture`).then(res => {\n if (res.data) {\n setData(res.data.data)\n setIsLoading(false)\n }\n }).catch((err) => {\n console.log('fail');\n setIsLoading(false)\n })\n } catch (error) {\n\n }\n }\n\n const graphTotalText = {\n week: `This Week`,\n month: 'This Month',\n year: 'This Year'\n }\n\n useEffect(() => {\n fetchGraphData()\n }, [])\n\n // const data = [\n // { name: 'M 1', share: 100, pv: 2400, amt: 2400 },\n // { name: 'M 2', share: 250, pv: 2400, amt: 2400 },\n // { name: 'M 3', share: 150, pv: 2400, amt: 2400 },\n // { name: 'M 4', share: 300, pv: 2400, amt: 2400 },\n // { name: 'M 5', share: 300, pv: 2400, amt: 2400 },\n // { name: 'M 6', share: 800, pv: 2400, amt: 2400 },\n // { name: 'M 7', share: 1800, pv: 2400, amt: 2400 },\n // { name: 'M 8', share: 1300, pv: 2400, amt: 2400 },\n // { name: 'M 9', share: 300, pv: 2400, amt: 2400 },\n // { name: 'M 10', share: 500, pv: 2400, amt: 2400 },\n // { name: 'M 11', share: 1600, pv: 2400, amt: 2400 },\n // { name: 'M 12', share: 200, pv: 2400, amt: 2400 }\n // ]\n\n\n return (\n
\n
Data Capture Trends
\n \n
\n )\n}\n\nexport default AreaComponent\n","import {createSlice} from '@reduxjs/toolkit'\n\nconst initialState = {\n isLoading:false,\n isLoadingSocial:false,\n dashboard_analytics:\"\",\n socialShare:{}\n}\n\nconst dashboardAnalytics = createSlice({\n name:\"dashboard-analytics\",\n initialState,\n\n reducers:{\n IsLoading:(state) => {\n state.isLoading = true\n state.isLoadingSocial = true\n },\n DashboardAnalyticsAll:(state, {payload}) => {\n state.dashboard_analytics = payload\n state.isLoading = false\n },\n SocialShare:(state, {payload}) => {\n state.socialShare = payload\n state.isLoadingSocial = false\n }\n }\n})\n\nexport const {\n DashboardAnalyticsAll,\n SocialShare,\n IsLoading\n} = dashboardAnalytics.actions\nexport default dashboardAnalytics.reducer\n\n","import React, { useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { Link, useHistory, useLocation } from \"react-router-dom\";\nimport Layout from \"../../components/layouts/Layout\";\nimport EmailShare from './components/ShocialShareGraph/Email/EmailShare'\nimport SmsShare from './components/ShocialShareGraph/Sms/SmsShare'\nimport FacebookShare from './components/ShocialShareGraph/Facebook/FacebookShare'\nimport TwitterShare from './components/ShocialShareGraph/Twitter/TwitterShare'\nimport MicrositeShare from './components/ShocialShareGraph/Microsite/MicrositeShare'\nimport LinkedInShare from './components/ShocialShareGraph/LinkedIn/LinkedInShare'\nimport InstagramShare from './components/ShocialShareGraph/Instagram/InstagramShare'\nimport PieChartComponent from './components/ShocialShareGraph/TotalPieChart/PieChart'\nimport AreaComponent from './components/ShocialShareGraph/AreaChart/Area'\nimport './style/dashboard.css';\nimport { AllSocialShare, getAllDashboardAnalytics } from \"./slice/dashboardAnalyticsAction\";\nimport { LoadingSpinner } from \"../../components/Loader/Loader\";\n\n\nconst Dashboard = ({ children }) => {\n\n const dispatch = useDispatch();\n const { isLoading, dashboard_analytics } = useSelector(state => state.dashboardAnalytics);\n const { isLoadingSocial, socialShare } = useSelector(state => state.dashboardAnalytics);\n const { total_event, live_event, upcoming_event, capture_data } = dashboard_analytics && dashboard_analytics\n const { social_share } = socialShare && socialShare\n\n\n useEffect(() => {\n dispatch(getAllDashboardAnalytics())\n dispatch(AllSocialShare())\n }, [dispatch]);\n\n useEffect(()=>{\n \n })\n\n \n return (\n \n
\n
\n
\n
\n
\n
\n \n
\n

{!isLoading ? live_event ? live_event : 0 : }

\n

Live Events

\n
\n
\n
\n
\n
\n \n
\n

{!isLoading ? upcoming_event ? upcoming_event : 0 : }

\n

Upcoming Events

\n
\n
\n
\n
\n
\n \n
\n

{!isLoading ? capture_data ? capture_data : 0 : }

\n

Total captured media

\n
\n
\n
\n
\n
\n \n
\n

{!isLoading ? total_event ? total_event : 0 : }

\n

Total events

\n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n
Social Share
\n
\n
\n
\n Total Share:\n {!isLoadingSocial ? (social_share ? social_share.total_share : 0) : ()}\n \n
\n
\n
\n
\n\n
\n
\n
\n
\n
\n \n
\n
\n

{!isLoadingSocial ? (social_share ? social_share.email : 0) : ()}

\n

Email

\n
\n
\n
\n
\n
\n
\n \n
\n
\n

{!isLoadingSocial ? (social_share ? social_share.sms : 0) : ()}

\n

SMS

\n
\n
\n
\n {/*
\n
\n
\n \n
\n
\n

{!isLoadingSocial ? (social_share ? social_share.facebook : 0) : ()}

\n

Facebook

\n
\n
\n
*/}\n {/*
\n
\n
\n \n
\n
\n

{!isLoadingSocial ? (social_share ? social_share.twitter : 0) : ()}

\n

Twitter

\n
\n
\n
*/}\n {/*
\n
\n
\n \n
\n
\n

{!isLoadingSocial ? (social_share ? social_share.instagram : 0) : ()}

\n

Instagram

\n
\n
\n
*/}\n {/*
\n
\n
\n \n
\n
\n

{!isLoadingSocial ? (social_share ? social_share.linkedin ? social_share.linkedin : 0 : 0) : ()}

\n

Linkedin

\n
\n
\n
*/}\n\n
\n\n
\n\n
\n
\n
\n\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n {/*
\n
\n
\n \n
\n
\n
*/}\n {/*
\n
\n
\n \n
\n
\n
*/}\n {/*
\n
\n
\n \n
\n
\n
*/}\n {/*
\n
\n
\n \n
\n
\n
*/}\n\n
\n\n
\n
\n
\n
\n \n
\n
\n
\n
\n
\n
\n \n
\n
\n
\n
\n\n\n\n {/*
\n
\n
\n

Latest Session

\n

Loading...

\n
\n
\n \n \"\"\n
\n
\n
\n
\n

Calendar

\n

All your events will be added to the calendar

\n
\n
\n \n
\n
\n
*/}\n
\n );\n};\n\nexport default Dashboard;\n","import { DashboardAnalyticsAll, IsLoading, SocialShare } from \"./dashboardAnalytics\"\nimport http from '../../../config/BaseUrl'\n\nexport const getAllDashboardAnalytics = () => async (dispatch) => {\n try {\n dispatch(IsLoading())\n await http.get(\"dashboard-analytics\").then((res) => {\n dispatch(DashboardAnalyticsAll(res.data))\n }).catch((err) => err.data.message)\n } catch (error) {\n \n }\n}\n\nexport const AllSocialShare = () => async (dispatch) => {\n try {\n dispatch(IsLoading())\n await http.get(\"social-share\").then((res) => {\n dispatch(SocialShare(res.data))\n }).catch((err) => err.data.message)\n } catch (error) {\n \n }\n}","import moment from \"moment\";\nimport momentZone from \"moment-timezone\";\n\nconst useTimeFormat = () => {\n\n const formateLocalTime = (time) => {\n const australia = moment.tz(time, \"YYYY-MM-DD, HH:mm\", \"australia/sydney\");\n const currentTimeZone = australia.clone().tz(momentZone.tz.guess());\n return currentTimeZone.format(\"Do MMM YYYY hh:mm A\");\n };\n\n return { formateLocalTime };\n};\n\nexport default useTimeFormat;\n","import { createSlice } from '@reduxjs/toolkit'\nconst initialState = {\n eventViewLoading: false,\n event_view: null\n}\n\nconst viewEventSlice = createSlice({\n name: \"event-view\",\n initialState,\n\n reducers: {\n\n eventViewLoading: (state, action) => {\n state.eventViewLoading = action.payload\n },\n\n eventViewSingleItem: (state, { payload }) => {\n state.event_view = payload\n state.eventViewLoading = false\n }\n\n }\n})\n\nexport const {\n eventViewLoading,\n eventViewSingleItem\n} = viewEventSlice.actions\nexport default viewEventSlice.reducer","import { Base64 } from \"js-base64\";\nimport React, { useEffect, useState } from \"react\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { Link, useHistory, useParams } from \"react-router-dom\";\nimport { toast, ToastContainer } from \"react-toastify\";\nimport Layout from \"../../../components/layouts/Layout\";\nimport Loader from \"../../../components/Loader/Loader\";\nimport http, { URL_S3 } from \"../../../config/BaseUrl\";\nimport LocalStorage from \"../../../hook/LocalStorage\";\nimport useTimeFormate from \"../../../hook/useTimeFormat\";\nimport { EventViewItems } from \"./slice/viewEventAction\";\nconst ViewEvent = () => {\n const { user } = LocalStorage();\n const { formateLocalTime } = useTimeFormate();\n const [packageTypes, setPackageTypes] = useState(null);\n const [loading, setLoading] = useState(false);\n const history = useHistory();\n useEffect(() => {\n if (history.location.state) {\n toast.warn(history.location.state);\n history.replace();\n }\n }, []);\n\n useEffect(() => {\n setLoading(true);\n http\n .get(\"/package-type\")\n .then((res) => {\n let data = res.data.packageType;\n let monthlyData = [];\n let yearlyData = [];\n let singleData = [];\n data.forEach((item) => {\n monthlyData = [\n ...monthlyData,\n {\n item_name: item.item_name,\n itemData: item.package_item_value.filter(\n (filterItem) =>\n filterItem.our_package.package_type.type === \"monthly\"\n ),\n },\n ];\n yearlyData = [\n ...yearlyData,\n {\n item_name: item.item_name,\n itemData: item.package_item_value.filter(\n (filterItem) =>\n filterItem.our_package.package_type.type === \"yearly\"\n ),\n },\n ];\n singleData = [\n ...singleData,\n {\n item_name: item.item_name,\n itemData: item.package_item_value.filter(\n (filterItem) =>\n filterItem.our_package.package_type.type === \"single\"\n ),\n },\n ];\n });\n\n let packageId = user.membership.package_id;\n let packageType = user.membership.our_package.package_type.type;\n\n let bindingItems = [\n \"Data Capture\",\n \"Custom Branding\",\n \"Survey Creations\",\n \"Offers & Promotions\",\n \"Custom Text Messages\",\n \"Email Marketing\",\n \"Social Media Marketing\",\n ];\n let bindingsData;\n if (packageType === \"single\") {\n bindingsData = checkPackageBinding(\n bindingItems,\n singleData,\n packageId\n );\n } else if (packageType === \"monthly\") {\n bindingsData = checkPackageBinding(\n bindingItems,\n monthlyData,\n packageId\n );\n } else {\n bindingsData = checkPackageBinding(\n bindingItems,\n yearlyData,\n packageId\n );\n }\n\n let bindingObject = bindingsData.reduce(function (result, item) {\n var key = Object.keys(item)[0];\n result[key] = item[key];\n return result;\n }, {});\n\n setPackageTypes(bindingObject);\n setTimeout(() => {\n setLoading(false);\n }, 500);\n })\n .catch((err) => {});\n }, []);\n\n const checkPackageBinding = (bindingItems, packageData, packageId) => {\n let bindingsData = [];\n bindingItems.forEach((item) => {\n let findData = packageData.find((data) => data.item_name === item);\n let findPackage = findData.itemData.find(\n (dataItem) => dataItem.our_package_id === packageId\n );\n\n if (item === \"Custom Branding\") {\n bindingsData.push({\n custom_branding: findPackage.value === \"true\" ? 1 : 0,\n });\n }\n if (item === \"Custom Text Messages\") {\n bindingsData.push({\n text_messaging: findPackage.value === \"true\" ? 1 : 0,\n });\n }\n if (item === \"Email Marketing\") {\n bindingsData.push({ email: findPackage.value === \"true\" ? 1 : 0 });\n }\n if (item === \"Social Media Marketing\") {\n bindingsData.push({ microsite: findPackage.value === \"true\" ? 1 : 0 });\n }\n if (item === \"Offers & Promotions\") {\n bindingsData.push({\n incentive_offer: findPackage.value === \"true\" ? 1 : 0,\n });\n }\n if (item === \"Survey Creations\") {\n bindingsData.push({\n form_builder: findPackage.value === \"true\" ? 1 : 0,\n });\n }\n });\n\n return bindingsData;\n };\n\n const dispatch = useDispatch();\n const { id } = useParams();\n\n useEffect(() => {\n dispatch(EventViewItems(id));\n }, [id]);\n\n const { event_view, eventViewLoading } = useSelector(\n (state) => state.viewEvent\n );\n const {\n incentive_offer,\n incentive_details,\n feature,\n event_option,\n email_setting,\n social,\n text_message,\n microsite,\n digital_prop,\n photo_frame,\n filter,\n watermark,\n gif_gallery,\n brust_gif_gallery,\n event_form_builder,\n } = event_view ? event_view : {};\n\n const checkServiceAvailable = (service) => {\n if (packageTypes) {\n if (service === \"custom_branding\" && event_option.water_mark === 1) {\n return true;\n } else if (event_option[service] === 1 && packageTypes[service] === 1) {\n return true;\n } else {\n return false;\n }\n } else {\n return false;\n }\n };\n\n const checkServiceAvailableForEvent = (service) => {\n if (event_option) {\n if (event_option[service] === 1) {\n return true;\n } else {\n return false;\n }\n } else {\n return false;\n }\n };\n\n return (\n \n {eventViewLoading ? (\n \n ) : (\n event_view && (\n
\n
\n
\n
\n
Event Details
\n
\n {/*
\n \n
*/}\n
\n\n
\n
\n
\n
\n
\n Event Info\n \n Edit\n \n
\n
\n
\n
\n
\n
\n

Name

\n

\n {event_view.event_name}\n

\n
\n
\n

Start Date

\n

\n {formateLocalTime(event_view.event_start_date)}\n

\n
\n
\n\n
\n
\n

Venue Name

\n

\n {event_view.venue_name}\n

\n
\n
\n

End Date

\n

\n {formateLocalTime(event_view.event_end_date)}\n

\n
\n
\n\n
\n
\n

\n Extra Text/Subtitle\n

\n

\n {event_view.event_details}\n

\n
\n
\n

TimeZone

\n

\n {event_view.time_zone}\n

\n
\n
\n
\n
\n
\n
\n
\n\n
\n
\n {feature && (\n
\n
\n
\n
\n Event Feature\n \n Edit\n \n
\n
\n
\n
\n
\n
\n

Still Photo

\n

\n {feature &&\n feature.still_photo[0].status === true\n ? \"ON\"\n : \"OFF\"}\n

\n
\n
\n
\n
\n

3 In 1

\n

\n {feature &&\n feature.three_in_one.length > 0 &&\n feature.three_in_one[0].status === true\n ? \"ON\"\n : \"OFF\"}\n

\n
\n
\n
\n
\n

Video

\n

\n {feature && feature.video[0].status === true\n ? \"ON\"\n : \"OFF\"}\n

\n
\n
\n\n
\n
\n

Boomerang

\n

\n {feature &&\n feature.boomerang[0].status === true\n ? \"ON\"\n : \"OFF\"}\n

\n
\n
\n
\n
\n

Gallery

\n

\n {feature && feature.gallery[0].status === true\n ? \"ON\"\n : \"OFF\"}\n

\n
\n
\n\n
\n
\n

Sharing

\n

\n {feature && feature.sharing[0].status === true\n ? \"ON\"\n : \"OFF\"}\n

\n
\n
\n
\n
\n

\n Data Capture\n

\n

\n {feature &&\n feature.data_capture[0].status === true\n ? \"ON\"\n : \"OFF\"}\n

\n
\n
\n
\n
\n
\n
\n )}\n\n {event_option && (\n
\n
\n
\n
\n Event Options\n \n Edit\n \n
\n
\n
\n
\n
\n
\n

Social

\n

\n {event_option.social_media ? \"ON\" : \"OFF\"}\n

\n
\n
\n
\n
\n

\n 3 in 1 Animation\n

\n

\n {event_option.gif ? \"ON\" : \"OFF\"}\n

\n
\n
\n
\n
\n

3 in 1 Fast

\n

\n {event_option.brust_gif ? \"ON\" : \"OFF\"}\n

\n
\n
\n\n
\n
\n

Email

\n

\n {event_option.email ? \"ON\" : \"OFF\"}\n

\n
\n
\n
\n
\n

SMS Sharing

\n

\n {event_option.text_messaging ? \"ON\" : \"OFF\"}\n

\n
\n
\n
\n
\n

Props

\n

\n {event_option.digital_props ? \"ON\" : \"OFF\"}\n

\n
\n
\n
\n
\n

\n Custom Branding\n

\n

\n {event_option.water_mark ? \"ON\" : \"OFF\"}\n

\n
\n
\n
\n
\n

\n Social Gallery\n

\n

\n {event_option.microsite ? \"ON\" : \"OFF\"}\n

\n
\n
\n\n
\n
\n

Frame

\n

\n {event_option.frame ? \"ON\" : \"OFF\"}\n

\n
\n
\n
\n
\n

QR Code

\n

\n {parseInt(event_option.qr_code)\n ? \"ON\"\n : \"OFF\"}\n

\n
\n
\n
\n
\n

\n Incentives & Offers\n

\n

\n {event_option.incentive_offer ? \"ON\" : \"OFF\"}\n

\n
\n
\n\n
\n
\n

Filters

\n

\n {event_option.filters ? \"ON\" : \"OFF\"}\n

\n
\n
\n\n
\n
\n

\n Form Builder\n

\n

\n {parseInt(event_option.form_builder)\n ? \"ON\"\n : \"OFF\"}\n

\n
\n
\n\n
\n
\n

\n Admin Password\n

\n

\n {event_option.admin_password}\n

\n
\n
\n
\n
\n
\n
\n )}\n\n {checkServiceAvailable(\"microsite\") && microsite && (\n
\n
\n
\n
\n Social Gallery\n \n Edit\n \n {/* Edit */}\n
\n
\n
\n
\n
\n
\n

SMS

\n

\n {microsite.sms ? \"ON\" : \"OFF\"}\n

\n
\n
\n\n
\n
\n

Email

\n

\n {microsite.email ? \"ON\" : \"OFF\"}\n

\n
\n
\n\n {/*
\n
\n

Facebook

\n

{microsite.facebook ? 'ON' : 'OFF'}

\n
\n
\n\n
\n
\n

Twitter

\n

{microsite.twitter ? 'ON' : 'OFF'}

\n
\n
*/}\n {/*
\n
\n

Instagram

\n

{microsite.instagram ? 'ON' : 'OFF'}

\n
\n
*/}\n\n {/*
\n
\n

LinkedIn

\n

{microsite.linked_in ? 'ON' : 'OFF'}

\n
\n
\n\n
\n
\n

Snapchat

\n

{microsite.snapchat ? 'ON' : 'OFF'}

\n
\n
\n
\n
\n

TikTok

\n

{microsite.tiktok ? 'ON' : 'OFF'}

\n
\n
*/}\n {/*
\n
\n

Signal

\n

{microsite.signal ? 'ON' : 'OFF'}

\n
\n
*/}\n {/*
\n
\n

Telegram

\n

{microsite.telegram ? 'ON' : 'OFF'}

\n
\n
*/}\n\n
\n
\n

Download

\n

\n {microsite.download ? \"ON\" : \"OFF\"}\n

\n
\n
\n
\n
\n {microsite.micro_site_gallery && (\n
\n
\n \n
\n {/* View Gallery */}\n\n \n View Gallery\n \n
\n )}\n\n
\n \n Slideshow\n \n
\n
\n
\n
\n
\n
\n
\n )}\n
\n
\n\n
\n
Sharing
\n {email_setting && checkServiceAvailable(\"email\") && (\n
\n
\n
\n
\n
\n Email\n \n Edit\n \n
\n
\n
\n
\n {/*
\n
\n

\n \n

\n

Customizable emails not available on your package

\n
\n\n
*/}\n\n
\n
\n

From Name

\n

\n {email_setting.from_name}\n

\n
\n {/*
\n

Attach File

\n

{email_setting.attach_file ? 'ON' : 'OFF'}

\n
*/}\n
\n\n
\n
\n

\n Email Subject\n

\n

\n {email_setting.email_subject}\n

\n
\n
\n\n {/*
\n
\n

Email Link

\n

{email_setting.link_image ? 'Web' : ''}

\n
\n
*/}\n
\n
\n
\n
\n
\n )}\n\n
\n {text_message && checkServiceAvailable(\"text_messaging\") && (\n
\n
\n
\n
\n Text Messaging\n \n Edit\n \n
\n
\n
\n
\n
\n
\n

Message

\n

\n {text_message.text_message}\n

\n
\n
\n\n
\n
\n

\n Dialing Code\n

\n

\n {text_message.country}\n

\n
\n
\n\n {/*
\n
\n

Email Link

\n

{email_setting.send ? 'Web' : ''}

\n
\n
*/}\n
\n
\n
\n
\n )}\n {social && checkServiceAvailableForEvent(\"social_media\") && (\n
\n
\n
\n
\n Social\n \n Edit\n \n
\n
\n
\n
\n
\n
\n

\n Allow Guest To Share TO FB\n

\n

\n {social.client_facebook === \"1\"\n ? \"YES\"\n : \"NO\"}\n

\n
\n
\n\n {/*
\n
\n

Enable Instagram GIF Share

\n

{social.instagram === 1 ? 'YES' : 'NO'}

\n
\n
*/}\n
\n
\n
\n
\n )}\n
\n\n
\n {checkServiceAvailableForEvent(\"digital_props\") && (\n
\n
\n
\n
\n Props\n \n Edit\n \n
\n
\n
\n
\n
\n {digital_prop.map((item, index) => (\n \n \n
\n ))}\n
\n
\n
\n
\n
\n )}\n\n {watermark && checkServiceAvailable(\"custom_branding\") && (\n
\n
\n
\n
\n Custom Branding\n \n Edit\n \n
\n
\n
\n
\n
\n
\n

X Axis

\n

\n {watermark.align_x == \"50%\"\n ? \"center\"\n : watermark.align_x}\n

\n
\n
\n\n
\n
\n

Y Axis

\n

\n {watermark.align_y == \"50%\"\n ? \"center\"\n : watermark.align_y}\n

\n
\n
\n\n
\n
\n

\n Branding Image\n

\n \n \n
\n
\n
\n
\n
\n
\n
\n )}\n
\n\n
\n {checkServiceAvailableForEvent(\"gif\") && (\n
\n
\n
\n
\n 3 in 1 Animation\n \n Edit\n \n
\n
\n
\n
\n
\n {gif_gallery.map((item) => (\n \n \n
\n ))}\n
\n
\n
\n
\n
\n )}\n\n {checkServiceAvailableForEvent(\"brust_gif\") && (\n
\n
\n
\n
\n 3 in 1 Fast\n \n Edit\n \n
\n
\n
\n
\n
\n {brust_gif_gallery.map((item) => (\n \n \n
\n ))}\n
\n
\n
\n
\n \n )}\n \n\n
\n {checkServiceAvailableForEvent(\"frame\") && (\n
\n
\n
\n
\n Frame\n \n Edit\n \n
\n
\n
\n
\n
\n {photo_frame.map((item, index) => (\n \n \n
\n ))}\n
\n
\n
\n
\n
\n )}\n {checkServiceAvailableForEvent(\"filters\") && (\n
\n
\n
\n
\n Filter\n \n Edit\n \n
\n
\n
\n
\n
\n {filter.map((item, index) => (\n \n \n
\n ))}\n
\n
\n
\n
\n \n )}\n \n\n
\n {incentive_offer && checkServiceAvailable(\"incentive_offer\") && (\n
\n
\n
\n
\n \n Incentive & offer\n \n \n Edit\n \n
\n
\n
\n
\n
\n {incentive_offer.map((item, index) => (\n \n

{item.offer_name}

\n

{item.uses_limit}

\n

{formateLocalTime(item.expire_in)}

\n
\n ))}\n
\n
\n
\n
\n
\n )}\n {checkServiceAvailable(\"form_builder\") && (\n
\n
\n
\n
\n Form Builder\n \n Edit\n \n
\n
\n
\n
\n
\n {event_form_builder ? (\n \n

{event_form_builder.form_name}

\n
\n ) : (\n \n

No form choosen

\n
\n )}\n
\n
\n
\n \n \n )}\n \n \n \n \n )\n )}\n \n
\n );\n};\n\nexport default ViewEvent;\n","import http from \"../../../../config/BaseUrl\"\nimport { eventViewLoading, eventViewSingleItem } from \"./viewEventSlice\"\n\nexport const EventViewItems = (id) => async (dispatch) => {\n try {\n dispatch(eventViewLoading(true))\n await http.get(`show-event/${id}`).then((res) => {\n dispatch(eventViewSingleItem(res.data.event))\n setTimeout(() => {\n dispatch(eventViewLoading(false))\n\n }, 500)\n }).catch(err => {\n console.log(err.response.data.message);\n })\n } catch (error) {\n\n }\n}\n","import React from 'react'\n\nimport { useLocation } from 'react-router-dom';\n\n\nfunction NewFormWizard() {\n\n const location = useLocation()\n\n const formStepOne = location.pathname === '/event/create' ||\n location.pathname === '/event/feature' ||\n location.pathname === '/event/options' ||\n location.pathname === '/event/summary' ||\n location.pathname === '/event/social' ||\n location.pathname === '/event/email' ||\n location.pathname === '/event/sms' ||\n location.pathname === '/event/digital-prop' ||\n location.pathname === '/event/custom-branding' ||\n location.pathname === '/event/microsite' ||\n location.pathname === '/event/frame' ||\n location.pathname === '/event/incentive-offer' ||\n location.pathname === '/event/filter' ||\n location.pathname.includes('/event/info/edit/');\n\n const formStepTwo = location.pathname === '/event/feature' ||\n location.pathname === '/event/options' ||\n location.pathname === '/event/summary' ||\n location.pathname === '/event/social' ||\n location.pathname === '/event/email' ||\n location.pathname === '/event/sms' ||\n location.pathname === '/event/digital-prop' ||\n location.pathname === '/event/custom-branding' ||\n location.pathname === '/event/microsite' || \n location.pathname === '/event/frame' ||\n location.pathname === '/event/incentive-offer' ||\n location.pathname === '/event/filter' ||\n location.pathname.includes('/event/feature/edit/');\n\n const formStepThree = location.pathname === '/event/options' ||\n location.pathname === '/event/summary' ||\n location.pathname === '/event/social' ||\n location.pathname === '/event/email' ||\n location.pathname === '/event/sms' ||\n location.pathname === '/event/digital-prop' ||\n location.pathname === '/event/custom-branding' ||\n location.pathname === '/event/microsite' ||\n location.pathname === '/event/incentive-offer' ||\n location.pathname === '/event/filter' ||\n location.pathname === '/event/frame' ||\n location.pathname.includes('/event/options/edit/') ||\n location.pathname.includes('/event/sms/edit/') ||\n location.pathname.includes('/event/digital-prop/edit/') ||\n location.pathname.includes('/event/microsite/edit/') ||\n location.pathname.includes('/event/social/edit/') ||\n location.pathname.includes('/event/filter/edit/') ||\n location.pathname.includes('/event/edit/');\n location.pathname.includes('/event/edit/');\n\n const formStepFour = location.pathname === '/event/summary';\n\n return (\n
\n
\n
    \n
  • \n Event Info
    Add Event Info
    \n
  • \n
  • \n Event Feature
    Select features for your booth
    \n
  • \n
  • \n Event Options
    Select your photobooth options below
    \n
  • \n
  • \n Summary
    This is a summary of your event
    \n
  • \n
\n\n\n
\n
\n )\n}\n\nexport default NewFormWizard\n","import React, { useState, useEffect } from 'react'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { useForm } from 'react-hook-form'\nimport { Link, useHistory } from 'react-router-dom'\nimport { BsFillCameraVideoFill, BsImages } from 'react-icons/bs'\nimport { MdAddAPhoto, MdLocalOffer } from 'react-icons/md'\nimport { GiBoomerang, GiPerspectiveDiceThree } from 'react-icons/gi'\nimport Layout from '../../../components/layouts/Layout'\nimport { eventSharingReset, featureEvent } from './slice/createEventSlice'\nimport NewFormWizard from '../../../components/formWizard/NewFormWizard'\nimport { HiOutlineShare } from 'react-icons/hi'\nimport http from '../../../config/BaseUrl'\nimport { LoadingSpinner } from '../../../components/Loader/Loader'\nimport LocalStorage from '../../../hook/LocalStorage';\n\nconst EventFeatures = () => {\n\n const history = useHistory();\n const dispatch = useDispatch();\n\n const { user } = LocalStorage()\n // const eventId = history.location.state\n const { feature, eventId } = useSelector(state => state.createEvent);\n const [packageTypes, setPackageTypes] = useState(null)\n const [loading, setLoading] = useState(false)\n const [draftLoading, setDraftLoading] = useState(false)\n const { register, handleSubmit } = useForm({\n defaultValues: {\n still_photo: feature.still_photo,\n video: feature.video,\n boomerang: feature.boomerang,\n sharing: feature.sharing,\n gallery: feature.gallery,\n offer: feature.offer,\n three_in_one: feature.three_in_one,\n data_capture: feature.data_capture,\n }\n });\n\n useEffect(()=>{\n setLoading(true)\n http.get('/package-type')\n .then(res=>{\n\n let data = res.data.packageType\n \n let monthlyData = []\n let yearlyData = []\n let singleData = []\n let trialData = []\n data.forEach(item=>{\n monthlyData =[...monthlyData, {item_name: item.item_name, itemData: item.package_item_value.filter(filterItem=> filterItem.our_package.package_type.type === \"monthly\")}]\n yearlyData = [...yearlyData, {item_name: item.item_name, itemData: item.package_item_value.filter(filterItem=> filterItem.our_package.package_type.type === \"yearly\")}]\n trialData = [...trialData, {item_name: item.item_name, itemData: item.package_item_value.filter(filterItem=> filterItem.our_package.package_type.type === \"trial\")}]\n })\n\n \n\n \n let packageId = user.membership.package_id\n let packageType = user.membership.our_package.package_type.type\n \n let bindingItems = [\"Data Capture\"]\n let bindingsData\n \n if (packageType === 'trial') {\n bindingsData = checkPackageBinding(bindingItems, trialData, packageId)\n }\n else if (packageType === 'single') {\n bindingsData = checkPackageBinding(bindingItems, singleData, packageId)\n }\n else if(packageType === 'monthly'){\n bindingsData = checkPackageBinding(bindingItems, monthlyData, packageId)\n }\n else {\n bindingsData = checkPackageBinding(bindingItems, yearlyData, packageId)\n }\n \n \n let bindingObject = bindingsData.reduce(function(result, item) {\n var key = Object.keys(item)[0];\n result[key] = item[key];\n return result;\n }, {});\n\n\n setPackageTypes(bindingObject)\n \n setTimeout(()=>{\n setLoading(false)\n }, 500)\n })\n .catch(err=>{\n\n })\n }, [])\n\n const checkPackageBinding = (bindingItems, packageData, packageId) => {\n let bindingsData = []\n bindingItems.forEach(item=>{\n let findData = packageData.find(data => data.item_name === item)\n let findPackage = findData.itemData.find(dataItem => dataItem.our_package_id === packageId)\n if (item === \"Data Capture\") {\n bindingsData.push({\"data_capture\": findPackage.value == \"true\" ? 1 : 0}) \n }\n \n })\n\n return bindingsData\n }\n\n\n const handelFeature = (data) => {\n\n dispatch(featureEvent(data))\n\n if (data.sharing === false) {\n dispatch(eventSharingReset())\n }\n setLoading(true)\n http.post(\"event-feature\", { ...data, eventId })\n .then(res => {\n if (res.data.status === true) {\n history.push(\"/event/options\", eventId)\n setLoading(false)\n }\n }).catch(err => setLoading(false))\n\n }\n\n const saveAsDraft = () => {\n handleSubmit((data) => {\n dispatch(featureEvent(data))\n\n if (data.sharing === false) {\n dispatch(eventSharingReset())\n }\n setDraftLoading(true)\n http.post(\"event-feature\", { ...data, eventId })\n .then(res => {\n if (res.data.status === true) {\n setDraftLoading(false)\n }\n }).catch(err => setDraftLoading(false))\n })()\n }\n\n return (\n \n \n
\n
\n
\n
\n
\n
\n
\n
\n\n
\n \n
\n \n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n
\n \n
\n\n {/*
\n \n
*/}\n\n
\n \n
\n\n
\n
\n
\n
\n

Event Features

\n Select the features you want active.\n
\n
\n
\n
\n\n\n
\n
\n \n\n {loading ?\n ()\n : \n }\n\n {\n loading ?\n ()\n :\n \n }\n
\n
\n\n
\n
\n
\n )\n}\n\nexport default EventFeatures\n","import React from 'react'\n\nconst Table = ({ children }) => {\n return (\n
\n {children}
\n
\n\n )\n}\n\nexport default Table\n","import React from \"react\";\n\nconst TableFilter = ({ children }) => {\n return (\n <>\n
{children}
\n \n );\n};\n\nexport default TableFilter;\n","import React from 'react'\n\nconst TableHeader = ({children}) => {\n return (\n <>\n {children}\n \n )\n}\n\nexport default TableHeader\n","import React from 'react'\n\nconst TableBody = ({children}) => {\n return {children}\n}\n\nexport default TableBody\n","import React from 'react'\nimport { IoSearchOutline } from 'react-icons/io5'\n\nconst TableSearch = ({ ...props }) => {\n\n const handleSubmit = () => {\n\n }\n\n return (\n
\n
\n
\n \n \n
\n
\n
\n )\n}\n\nexport default TableSearch\n","import React from 'react'\nimport Pagination from 'react-js-pagination'\nimport { FiChevronLeft, FiChevronRight } from 'react-icons/fi'\nconst TablePagination = ({ currentPage, total, perPage, onChange, from, to }) => {\n return (\n
\n
\n
\n Showing {from} to {to} of {total} entries\n
\n
\n
\n
\n }\n nextPageText={}\n pageRangeDisplayed={10}\n hideFirstLastPages={true}\n // firstPageText=\"Fast\"\n // lastPageText=\"Last\"\n />\n
\n
\n
\n )\n}\n\nexport default TablePagination\n","import {createSlice} from '@reduxjs/toolkit'\n\nconst initialState = { \n isLoading:false,\n live_event:\"\",\n loadedEvent: false,\n loadingEvent: false,\n loadingContent: \"Loading Please Wait\",\n duplicateEvent: null,\n error:\"\" \n}\n\nconst liveEventSlice = createSlice({\n name:\"live-event\",\n initialState,\n reducers:{\n liveEventLoading:(state) => {\n state.isLoading = true\n },\n liveEventItemList:(state, {payload}) => {\n state.live_event = payload\n state.isLoading = false\n },\n liveEventError:(state, {payload}) => {\n state.error = payload\n },\n setLoadedEvent: (state, {payload}) => {\n state.loadedEvent = payload\n },\n setLoadingEvent: (state, {payload}) => {\n state.loadingEvent = payload\n },\n setLoadingContent: (state, {payload}) => {\n state.loadingContent = payload\n },\n setDuplicateEvent: (state, {payload}) => {\n state.duplicateEvent = payload\n }\n }\n})\n\nexport const { \n liveEventLoading,\n liveEventItemList,\n liveEventError,\n setLoadedEvent,\n setLoadingEvent,\n setLoadingContent,\n setDuplicateEvent\n} = liveEventSlice.actions\nexport default liveEventSlice.reducer","import React, { useState } from \"react\";\nimport { BsPlus, BsSubtract, BsTrash, BsLink } from \"react-icons/bs\";\nimport { useDispatch } from \"react-redux\";\nimport { Link } from \"react-router-dom\";\nimport { URL_S3 } from \"../../../../config/BaseUrl\";\nimport useTimeFormate from \"../../../../hook/useTimeFormat\";\nfunction EventItem({\n item,\n setDuplicateEvent,\n eventType,\n per_page,\n page,\n user_id,\n search,\n targetModalId,\n removeModalId,\n mediaDownloadPubliclink\n}) {\n const [isOpenMenu, setMenu] = useState(false);\n const { formateLocalTime } = useTimeFormate();\n const toggleMenu = () => {\n setMenu(!isOpenMenu);\n };\n\n const dispatch = useDispatch();\n\n const duplicateEvent = () => {\n const params = {\n per_page,\n page,\n user_id,\n search,\n event_type: eventType,\n uuid: item.uuid,\n event_id: item.id,\n };\n\n dispatch(setDuplicateEvent(params));\n };\n\n return (\n \n
\n

{item.event_name}

\n

@ {item.venue_name}

\n
\n
\n
\n

\n From: {formateLocalTime(item.event_start_date)}\n

\n {!item.life_time && (\n

To: {formateLocalTime(item.event_end_date)}

\n )}\n
\n
\n
\n
\n \n
\n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n
  • \n \n \n \n
  • \n
    \n
    \n
    \n \n );\n}\n\nexport default EventItem;\n","import React from 'react'\n\nfunction ScreenLoader({loadingContent, loaded}) {\n\n const style ={\n width: '100%',\n height: '100vh',\n top: '0',\n background: 'rgba(255,255,255,.95)',\n left: '0',\n position: 'fixed',\n zIndex: '100'\n }\n\n return (\n
    \n
    \n
    \n \n
    \n Loading...\n
    \n
    \n

    {loadingContent}

    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default ScreenLoader\n","import React, { useState } from 'react'\nimport { DateTimePickerComponent } from '@syncfusion/ej2-react-calendars';\nimport moment from 'moment'\nimport { useForm } from 'react-hook-form';\nimport { useDispatch } from 'react-redux';\nimport { Required } from '../../../../components/RegEx/ValidationMessage';\nimport http from '../../../../config/BaseUrl';\n\nfunction DuplicateForm({ duplicateEvent, setLoadingContent, setLoadingEvent, setLoadedEvent, fetchItemList, modalId }) {\n\n const dispatch = useDispatch()\n\n const [eventName, setEventName] = useState(null)\n const [startDateDefault, setStartDateDefault] = useState(null)\n const [startDate, setStartDate] = useState(null)\n const [endDateDefault, setEndDateDefault] = useState(null)\n const [endDate, setEndDate] = useState(null)\n const [lifeTime, setLifeTime] = useState(false)\n const htmlAttributes = { placeholder: \"Select a date and time\" };\n\n const { register, handleSubmit, setError, formState: { errors }, clearErrors } = useForm({\n mode: \"onChange\",\n reValidateMode: \"all\"\n });\n\n const dateStartTimeConverter = (value) => {\n setStartDate(moment(value).format('YYYY-MM-DD HH:mm'))\n setStartDateDefault(value)\n if (value) {\n clearErrors('event_start_date')\n }\n }\n const dateEndTimeConverter = (value) => {\n setEndDate(moment(value).format('YYYY-MM-DD HH:mm'))\n setEndDateDefault(value)\n if (value) {\n clearErrors('event_end_date')\n }\n }\n\n const checkDismisModal = () => {\n if (!eventName && !startDate && !endDate) {\n return false\n }\n else {\n return true\n }\n }\n\n const submitForm = (data) => {\n\n if (lifeTime) {\n if (!startDate || startDate === 'Invalid date') {\n setError(\"event_start_date\", {\n type: \"manual\",\n message: \"Event start date is required\",\n });\n setTimeout(()=>{\n clearErrors(['event_start_date'])\n }, 3000)\n }\n else { \n submitDataForm(data) \n } \n }\n else{\n if (!startDate || !endDate) {\n if (!startDate || startDate === 'Invalid date') {\n setError(\"event_start_date\", {\n type: \"manual\",\n message: \"Event start date is required\",\n });\n }\n\n if (!endDate || endDate === 'Invalid date') {\n setError(\"event_end_date\", {\n type: \"manual\",\n message: \"Event end date is required\",\n });\n }\n setTimeout(()=>{\n clearErrors(['event_start_date', 'event_end_date'])\n }, 3000)\n }\n else{\n submitDataForm(data)\n }\n }\n }\n\n const submitDataForm = (data) => {\n let eDate = lifeTime ? moment().add(200, 'y').format('YYYY-MM-DD HH:mm') : endDate\n const params = {\n ...duplicateEvent,\n event_name: data.event_name,\n event_start_date: startDate,\n event_end_date: eDate,\n life_time: lifeTime ? 1 : 0\n }\n document.getElementById(`close-${modalId}`).click();\n dispatch(setLoadingEvent(true))\n dispatch(setLoadingContent(\"Duplicating, Please Wait\"))\n http.post('duplicate/event', params)\n .then(res => {\n dispatch(setLoadingContent(\"Successfully Duplicated.\"))\n dispatch(setLoadedEvent(true))\n dispatch(fetchItemList(res.data.event))\n setTimeout(() => {\n dispatch(setLoadingEvent(false))\n window.location.reload()\n }, 1000)\n })\n .catch(err => {\n dispatch(setLoadingContent(\"Duplicated Error\"))\n dispatch(setLoadedEvent(true))\n setTimeout(() => {\n dispatch(setLoadingEvent(false))\n }, 5000)\n })\n }\n\n \n\n const checkLifeTime = (e) => {\n setLifeTime(e.target.checked)\n }\n\n return (\n
    \n
    \n
    \n
    \n
    \n
    Event Duplicate
    \n \n
    \n
    \n
    \n \n { setEventName(e.target.value) }}\n className={`form-control mb-2 ${errors.event_name && 'is-invalid'}`}\n {...register(\"event_name\", { required: Required })}\n />\n {errors.event_name && errors.event_name.message}\n
    \n\n
    \n \n { dateStartTimeConverter(e.value) }}\n />\n {errors.event_start_date && errors.event_start_date.message}\n
    \n\n
    \n
    \n \n
    \n \n \n
    \n
    \n { dateEndTimeConverter(e.value) }}\n />\n {errors.event_end_date && errors.event_end_date.message}\n\n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default DuplicateForm\n","import React from 'react'\nimport { useDispatch } from 'react-redux'\nimport http from '../../../../config/BaseUrl'\n\nconst DeleteModal = ({modalId, selectedItem, setLoadingEvent, setLoadedEvent, setLoadingContent}) => {\n \n const dispatch = useDispatch()\n\n const submitDataForm = () => {\n const params = {\n event_id: selectedItem.event_id,\n }\n document.getElementById(`close-${modalId}`).click();\n dispatch(setLoadingEvent(true))\n dispatch(setLoadingContent(\"Removing, Please Wait\"))\n http.post('delete/event', params)\n .then(res => {\n if (res.data.status !== 'error') {\n dispatch(setLoadingContent(\"Successfully Removed.\"))\n dispatch(setLoadedEvent(true))\n setTimeout(() => {\n dispatch(setLoadingEvent(false))\n window.location.reload()\n }, 1000)\n }\n else{\n dispatch(setLoadingContent(\"Error Occured.\"))\n dispatch(setLoadedEvent(true))\n setTimeout(() => {\n dispatch(setLoadingEvent(false))\n }, 5000)\n }\n })\n .catch(err => {\n dispatch(setLoadingContent(\"Error occurred while removing.\"))\n dispatch(setLoadedEvent(true))\n setTimeout(() => {\n dispatch(setLoadingEvent(false))\n }, 5000)\n })\n }\n\n return (\n
    \n
    \n
    \n
    \n
    Event Remove
    \n \n
    \n
    \n\n
    Are you sure?
    \n

    Deleting the event will remove all captures, data and settings related to this event.

    \n \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n )\n}\n\nexport default DeleteModal","import React, { useRef, useEffect } from 'react';\nimport { downloadUrl } from '../../../../config/BaseUrl';\n\nconst MediaDownloadPublicLink = ({ modalId, selectedUuid }) => {\n const paragraphRef = useRef(null);\n const confirmCopied = useRef(null);\n\n useEffect(() => {\n const modalElement = document.getElementById(modalId);\n const handleModalOpen = () => {\n const copiedElement = confirmCopied.current;\n copiedElement.style.display = \"none\"; // Hide element when modal opens\n };\n\n modalElement.addEventListener('show.bs.modal', handleModalOpen);\n\n return () => {\n modalElement.removeEventListener('show.bs.modal', handleModalOpen);\n };\n }, [modalId]);\n\n const copyDownloadLink = () => {\n // Copy the text to clipboard\n navigator.clipboard.writeText(`${downloadUrl}file/download?type=all&event_id=${selectedUuid}`);\n \n // Show the \"Copied\" message\n const copiedElement = confirmCopied.current;\n copiedElement.classList.remove(\"d-none\");\n copiedElement.classList.add(\"d-inline-block\");\n copiedElement.style.display = \"\"; // Show element\n copiedElement.style.opacity = 1;\n \n // Hide after 3 seconds\n setTimeout(() => {\n copiedElement.style.display = \"none\"; // Hide element again\n copiedElement.classList.remove(\"d-inline-block\");\n copiedElement.classList.add(\"d-none\");\n }, 3000);\n };\n\n return (\n
    \n
    \n
    \n {/* Modal Header */}\n
    \n
    Event Gallery Download Link
    \n \n
    \n \n {/* Modal Body */}\n
    \n
    Download Link
    \n copyDownloadLink()}\n data-toggle=\"tooltip\"\n data-placement=\"top\"\n title=\"Click to copy!\"\n >\n {`${downloadUrl}file/download?type=all&event_id=${selectedUuid}`}\n

    \n \n {/* Copied Message */}\n \n Copied to clipboard!\n
    \n
    \n \n {/* Modal Footer */}\n
    \n \n Cancel\n \n \n Copy The Link\n \n
    \n
    \n
    \n \n ); \n}\n\nexport default MediaDownloadPublicLink;","import React, { useEffect, useState } from \"react\";\nimport { TablePagination } from \"../../../components/table\";\nimport { LiveEventList } from \"./slice/liveEventAction\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useDebounce } from \"use-debounce\";\nimport EventItem from '../components/EventItem/EventItem'\nimport LocalStorage from \"../../../hook/LocalStorage\";\nimport {setLoadedEvent, setLoadingEvent, setLoadingContent, liveEventItemList, setDuplicateEvent} from './slice/liveEventSlice'\nimport ScreenLoader from \"../../../components/Loader/ScreenLoader\";\nimport DuplicateForm from \"../components/Modal/DuplicateForm\";\nimport DeleteModal from \"../components/Modal/DeleteModal\";\nimport MediaDownloadPublicLink from \"../components/Modal/MediaDownloadPublicLink\";\n\n\nconst TableLive = () => {\n\tconst dispatch = useDispatch();\n\tconst { data, current_page, total, per_page, from, to } = useSelector((state) => state.liveEvent.live_event);\n\n\tconst { isLoading, loadedEvent, loadingEvent, loadingContent, duplicateEvent } = useSelector(state => state.liveEvent)\n\t\n\tconst [filterPerPage, setFilterPerPage] = useState(6);\n\tconst [currentPage, setCurrentPage] = useState(1);\n\tconst [searchKeyWord, setSearchKeyWord] = useState(\"\");\n\tconst [searchKeyWordDebounce] = useDebounce(searchKeyWord, 1000);\n\tconst { user } = LocalStorage()\n\n\tconst handleSearch = (query) => {\n\t\tsetSearchKeyWord(query);\n\t\tsetCurrentPage(1);\n\t};\n\n\tconst handelFilterPerPage = (perPage) => {\n\t\tsetCurrentPage(1);\n\t\tsetFilterPerPage(perPage);\n\t};\n\n\tuseEffect(() => {\n\t\tconst params = {\n\t\t\tper_page: filterPerPage,\n\t\t\tpage: currentPage,\n\t\t\tuser_id: user.id,\n\t\t\tsearch: searchKeyWordDebounce\n\t\t};\n\t\tdispatch(LiveEventList(params));\n\t}, [dispatch, filterPerPage, currentPage, searchKeyWordDebounce]);\n\n\treturn (\n\t\t<>\n\t\t\t
    \n\t\t\t\t{!isLoading ?\n\t\t\t\t\tdata &&\n\t\t\t\t\t\tdata.length > 0 ?\n\t\t\t\t\t\tdata.map((res) => {\n\t\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t})\n\t\t\t\t\t\t:\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    No Events Found

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t:\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\n\t\t\t\t}\n\n\n\n\t\t\t{\n loadingEvent && \n \n }\n\n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\n\t\t\t
    \n\t\t\t setCurrentPage(page)}\n\t\t\t/>\n\t\t\n\t);\n};\n\nexport default TableLive;\n","import http from '../../../../config/BaseUrl'\nimport { liveEventItemList, liveEventLoading } from './liveEventSlice'\nexport const LiveEventList = (params) => async (dispatch) => {\n try{\n dispatch(liveEventLoading())\n await http.get('live-event', {params}).then((res) => {\n dispatch(liveEventItemList(res.data.event))\n }).catch((err) => {\n console.log(err.response.data.message);\n })\n }catch(error){\n\n }\n}","import {createSlice} from '@reduxjs/toolkit'\n\nconst initialState = { \n isLoading:false,\n loadedEvent: false,\n loadingEvent: false,\n loadingContent: \"Loading Please Wait\",\n pastEvent:\"\",\n duplicateEvent: null,\n error:\"\" \n}\n\nconst pastEventSlice = createSlice({\n name:\"past-event\",\n initialState,\n reducers:{\n pastEventLoading:(state) => {\n state.isLoading = true\n },\n pastEventItemList:(state, {payload}) => {\n state.pastEvent = payload\n state.isLoading = false\n },\n pastEventError:(state, {payload}) => {\n state.error = payload\n },\n setLoadedEvent: (state, {payload}) => {\n state.loadedEvent = payload\n },\n setLoadingEvent: (state, {payload}) => {\n state.loadingEvent = payload\n },\n setLoadingContent: (state, {payload}) => {\n state.loadingContent = payload\n },\n setDuplicateEvent: (state, {payload}) => {\n state.duplicateEvent = payload\n }\n }\n})\n\nexport const { \n pastEventLoading,\n pastEventItemList,\n pastEventError,\n setLoadedEvent,\n setLoadingEvent,\n setLoadingContent,\n setDuplicateEvent\n} = pastEventSlice.actions\nexport default pastEventSlice.reducer","import React, { useEffect, useState } from \"react\";\nimport { TablePagination } from \"../../../components/table\";\nimport EventItem from '../components/EventItem/EventItem'\nimport { useDebounce } from \"use-debounce\";\nimport { pastEventList } from \"./slice/pastEventAction\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport LocalStorage from \"../../../hook/LocalStorage\";\nimport ScreenLoader from \"../../../components/Loader/ScreenLoader\";\nimport { setLoadedEvent, setLoadingEvent, setLoadingContent, pastEventItemList, setDuplicateEvent } from './slice/pastEventSlice'\nimport DuplicateForm from \"../components/Modal/DuplicateForm\";\nimport { useHistory, useParams } from \"react-router-dom\";\nimport DeleteModal from \"../components/Modal/DeleteModal\";\nimport MediaDownloadPublicLink from \"../components/Modal/MediaDownloadPublicLink\";\n\n\nconst TablePast = () => {\n const dispatch = useDispatch();\n const { data, current_page, total, per_page, from, to } = useSelector(\n (state) => state.pastEvent.pastEvent\n );\n\n const { isLoading, loadedEvent, loadingEvent, loadingContent, duplicateEvent } = useSelector((state) => state.pastEvent);\n const [filterPerPage, setFilterPerPage] = useState(6);\n const [currentPage, setCurrentPage] = useState(1);\n const [searchKeyWord, setSearchKeyWord] = useState(\"\");\n const [searchKeyWordDebounce] = useDebounce(searchKeyWord, 1000);\n const { user } = LocalStorage()\n const history = useHistory()\n const { type } = useParams()\n const handleSearch = (query) => {\n setSearchKeyWord(query);\n setCurrentPage(1);\n };\n\n const handelFilterPerPage = (perPage) => {\n setCurrentPage(1);\n setFilterPerPage(perPage);\n };\n // const params = {\n // per_page: filterPerPage,\n // user_id: user.id,\n // page: currentPage,\n // search: searchKeyWordDebounce\n // };\n const param = history.location.search;\n useEffect(() => {\n dispatch(pastEventList(param));\n }, [param, filterPerPage, currentPage, searchKeyWordDebounce]);\n\n const cardStyle = {\n backgroundImage: `url(\"https://images.unsplash.com/photo-1505373877841-8d25f7d46678?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80\")`\n }\n\n return (\n <>\n\n
    \n {!isLoading ?\n data &&\n data.length > 0 ?\n data.map((res) => {\n return (\n
    \n \n
    \n );\n })\n :\n
    \n
    \n
    \n

    No Events Found

    \n
    \n
    \n
    \n :\n
    \n
    \n
    \n
    \n Loading...\n
    \n
    \n
    \n
    \n\n }\n
    \n\n {\n loadingEvent &&\n \n }\n\n \n\n \n\n \n\n history.push({\n hash: '#past',\n search: `?page=${page}&user_id=${user.id}&per_page=${6}`,\n })}\n />\n \n );\n};\n\nexport default TablePast;\n","import http from '../../../../config/BaseUrl'\nimport { pastEventItemList, pastEventLoading } from './pastEventSlice'\n\nexport const pastEventList = (params) => async (dispatch) => {\n try{\n dispatch(pastEventLoading())\n await http.get(`past-event${params}`)\n .then((res) => {\n dispatch(pastEventItemList(res.data.event))\n }).catch((err) => {\n console.log(err.response.data.message);\n })\n }catch(error){\n\n }\n}","import {createSlice} from '@reduxjs/toolkit'\n\nconst initialState = { \n isLoading:false,\n loadedEvent: false,\n loadingEvent: false,\n loadingContent: \"Loading Please Wait\",\n upcomingEvent:\"\",\n duplicateEvent: null,\n error:\"\" \n}\n\nconst upcomingEventSlice = createSlice({\n name:\"upcoming-event\",\n initialState,\n reducers:{\n upcomingEventLoading:(state) => {\n state.isLoading = true\n },\n upcomingEventItemList:(state, {payload}) => {\n state.upcomingEvent = payload\n state.isLoading = false\n },\n upcomingEventError:(state, {payload}) => {\n state.error = payload\n },\n setLoadedEvent: (state, {payload}) => {\n state.loadedEvent = payload\n },\n setLoadingEvent: (state, {payload}) => {\n state.loadingEvent = payload\n },\n setLoadingContent: (state, {payload}) => {\n state.loadingContent = payload\n },\n setDuplicateEvent: (state, {payload}) => {\n state.duplicateEvent = payload\n }\n }\n})\n\nexport const { \n upcomingEventLoading,\n upcomingEventItemList,\n upcomingEventError,\n setLoadedEvent,\n setLoadingEvent,\n setLoadingContent,\n setDuplicateEvent\n} = upcomingEventSlice.actions\nexport default upcomingEventSlice.reducer","import React, { useEffect, useState } from 'react'\nimport { TablePagination} from '../../../components/table'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { upcomingEventList } from './slice/upcomingEventAction'\nimport { useDebounce } from 'use-debounce'\nimport LocalStorage from '../../../hook/LocalStorage'\nimport EventItem from '../components/EventItem/EventItem'\nimport ScreenLoader from '../../../components/Loader/ScreenLoader'\nimport {setLoadedEvent, setLoadingEvent, setLoadingContent, upcomingEventItemList, setDuplicateEvent} from './slice/upcomingEventSlice'\nimport DuplicateForm from \"../components/Modal/DuplicateForm\";\nimport DeleteModal from '../components/Modal/DeleteModal'\nimport MediaDownloadPublicLink from '../components/Modal/MediaDownloadPublicLink'\n\nconst TableUpcoming = () => {\n\n\tconst dispatch = useDispatch()\n\tconst { data, current_page, total, per_page, from, to } = useSelector((state) => state.upcomingEvent.upcomingEvent)\n\tconst { isLoading, loadedEvent, loadingEvent, loadingContent, duplicateEvent } = useSelector((state) => state.upcomingEvent)\n\tconst [filterPerPage, setFilterPerPage] = useState(6)\n\tconst [currentPage, setCurrentPage] = useState(1)\n\tconst [searchKeyWord, setSearchKeyWord] = useState(\"\");\n\tconst [searchKeyWordDebounce] = useDebounce(searchKeyWord, 1000);\n\tconst { user } = LocalStorage()\n\n\tconst handleSearch = (query) => {\n\t\tsetSearchKeyWord(query)\n\t\tsetCurrentPage(1)\n\t}\n\n\tconst handelFilterPerPage = (perPage) => {\n\t\tsetCurrentPage(1)\n\t\tsetFilterPerPage(perPage)\n\t}\n\n\tuseEffect(() => {\n\t\tconst params = {\n\t\t\tper_page: filterPerPage,\n\t\t\tpage: currentPage,\n\t\t\tuser_id: user.id,\n\t\t\tsearch: searchKeyWordDebounce\n\t\t}\n\t\tdispatch(upcomingEventList(params))\n\t}, [dispatch, filterPerPage, currentPage, searchKeyWordDebounce])\n\n\n\tconst cardStyle = {\n\t\tbackgroundImage: `url(\"https://images.unsplash.com/photo-1505373877841-8d25f7d46678?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1000&q=80\")`\n\t}\n\n\n\treturn (<>\n\t\t
    \n\t\t\t{!isLoading ?\n\t\t\t\tdata &&\n\t\t\t\t\tdata.length > 0 ?\n\t\t\t\t\tdata.map((res) => {\n\t\t\t\t\t\treturn (\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t);\n\t\t\t\t\t})\n\t\t\t\t\t:\n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t

    No Events Found

    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t:\n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\tLoading...\n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t
    \n\n\t\t\t}\n\t\t
    \n\t\t\n\t\t{\n\t\t\tloadingEvent && \n\t\t\t\t\n\t\t}\n\n\t\t\t\n\n\t\t\t\n\n\t\t\t\n\n\t\t setCurrentPage(page)}\n\t\t/>\n\t)\n}\n\nexport default TableUpcoming\n","import http from '../../../../config/BaseUrl'\nimport { upcomingEventItemList, upcomingEventLoading } from './upcomingEventSlice'\n\nexport const upcomingEventList = (params) => async (dispatch) => {\n try{\n dispatch(upcomingEventLoading())\n await http.get('upcoming-event', {params})\n .then((res) => {\n dispatch(upcomingEventItemList(res.data.event))\n }).catch((err) => {\n console.log(err.response.data.message);\n })\n }catch(error){\n\n }\n}","import React, { useEffect, useState } from \"react\";\nimport { BsTrash } from \"react-icons/bs\";\nimport { useDispatch, useSelector } from \"react-redux\";\nimport { useHistory } from \"react-router-dom\";\nimport ScreenLoader from \"../../../../components/Loader/ScreenLoader\";\nimport http, { URL_S3 } from \"../../../../config/BaseUrl\";\nimport useTimeFormate from \"../../../../hook/useTimeFormat\";\nimport DeleteModal from \"../../components/Modal/DeleteModal\";\nimport {\n setDuplicateEvent,\n setLoadedEvent,\n setLoadingContent,\n setLoadingEvent,\n} from \"../../liveEvent/slice/liveEventSlice\";\nimport { eventDraftToContinue } from \"../slice/createEventSlice\";\nconst DraftProduct = () => {\n const { formateLocalTime } = useTimeFormate();\n const [isLoading, setIsLoading] = useState(false);\n const [data, setData] = useState([]);\n const history = useHistory();\n const dispatch = useDispatch();\n\n const { loadedEvent, loadingEvent, loadingContent, duplicateEvent } =\n useSelector((state) => state.liveEvent);\n\n const fetchDraftProduct = async () => {\n try {\n setIsLoading(true);\n await http.get(\"draft-event\").then((res) => {\n if (res) {\n setData(res.data.draft_product);\n }\n setIsLoading(false);\n });\n } catch (error) {\n setIsLoading(false);\n }\n };\n\n useEffect(() => {\n fetchDraftProduct();\n }, []);\n\n const continueToPage = (id) => {\n http\n .get(\"continue/draft-event\", { params: { eventId: id } })\n .then((res) => {\n let events = res.data.event;\n\n let event_info = {\n event_name: events.event_name,\n event_details: events.event_details,\n event_venue_name: events.venue_name,\n event_time_zone: events.time_zone,\n event_start_date: events.event_start_date,\n event_end_date: events.event_end_date,\n life_time: events.life_time,\n fileURL: \"\",\n };\n\n let feature = {\n still_photo: events.feature\n ? events.feature.still_photo[0].lock == \"enable\"\n ? true\n : false\n : false,\n video: events.feature\n ? events.feature.video[0].lock == \"enable\"\n ? true\n : false\n : false,\n boomerang: events.feature\n ? events.feature.boomerang[0].lock == \"enable\"\n ? true\n : false\n : false,\n gallery: events.feature\n ? events.feature.gallery[0].lock == \"enable\"\n ? true\n : false\n : false,\n sharing: events.feature\n ? events.feature.sharing[0].lock == \"enable\"\n ? true\n : false\n : false,\n data_capture: events.feature\n ? events.feature.data_capture[0].lock == \"enable\"\n ? true\n : false\n : false,\n };\n\n let event_option = {\n social_media: events.event_option\n ? events.event_option.social_media > 0\n ? true\n : false\n : false,\n email: events.event_option\n ? events.event_option.email > 0\n ? true\n : false\n : false,\n text_messaging: events.event_option\n ? events.event_option.text_messaging > 0\n ? true\n : false\n : false,\n digital_props: events.event_option\n ? events.event_option.digital_props > 0\n ? true\n : false\n : false,\n water_mark: events.event_option\n ? events.event_option.water_mark > 0\n ? true\n : false\n : false,\n microsite: events.event_option\n ? events.event_option.microsite > 0\n ? true\n : false\n : false,\n frame_option: events.event_option\n ? events.event_option.frame > 0\n ? true\n : false\n : false,\n filters: events.event_option\n ? events.event_option.filters > 0\n ? true\n : false\n : false,\n adminPassword: events.event_option\n ? events.event_option.admin_password\n : \"\",\n };\n\n let social = {\n instagram: events.social ? events.social.instagram : false,\n client_facebook: events.social\n ? events.social.client_facebook\n : false,\n email_message: events.social ? events.social.email_message : \"\",\n };\n\n let email = {\n from_name: events.email_setting\n ? events.email_setting.form_name\n : null,\n reply_to: events.email_setting ? events.email_setting.reply_to : null,\n email_subject: events.email_setting\n ? events.email_setting.email_subject\n : null,\n send: events.email_setting ? events.email_setting.send : null,\n email_template: events.email_setting\n ? {\n id: events.email_setting.email_template_id,\n image: events.email_setting.email_template,\n }\n : null,\n };\n\n let sms_sharing = {\n text_message: events.text_message\n ? events.text_message.text_message\n : \"\",\n send: events.text_message ? events.text_message.send : \"\",\n country: events.text_message ? events.text_message.country : \"\",\n };\n\n let WaterMark = {\n photo: events.WaterMark ? events.WaterMark.photo : \"\",\n align_x: events.WaterMark ? events.WaterMark.align_x : \"\",\n align_y: events.WaterMark ? events.WaterMark.align_y : \"\",\n };\n\n let digitalItems = [];\n\n if (events.digital_prop.length > 0) {\n events.digital_prop.forEach((item) => {\n digitalItems.push({ id: item.prop_id, image: item.photo_frame });\n });\n }\n\n let digital_prop = {\n digital_prop_frame: digitalItems,\n };\n\n let micro_site = {\n sms: events.microsite\n ? events.microsite.sms > 0\n ? true\n : false\n : false,\n email: events.microsite\n ? events.microsite.email > 0\n ? true\n : false\n : false,\n facebook: events.microsite\n ? events.microsite.facebook > 0\n ? true\n : false\n : false,\n instagram: events.microsite\n ? events.microsite.instagram > 0\n ? true\n : false\n : false,\n linked_in: events.microsite\n ? events.microsite.linked_in > 0\n ? true\n : false\n : false,\n twitter: events.microsite\n ? events.microsite.twitter > 0\n ? true\n : false\n : false,\n download: events.microsite\n ? events.microsite.download > 0\n ? true\n : false\n : false,\n gallery_button: events.microsite\n ? events.microsite.gallery_button > 0\n ? true\n : false\n : false,\n meta_title: events.microsite ? events.microsite.meta_title : \"\",\n gallery_password: events.microsite\n ? events.microsite.gallery_password\n : null,\n microSite_template: events.microsite\n ? events.microsite.micro_site_gallery\n : null,\n };\n\n let eventFrames = [];\n events.photo_frame.length > 0 &&\n events.photo_frame.forEach((item) => {\n eventFrames.push({ id: item.frame_id, image: item.photo_frame });\n });\n\n let photo_template_frame = eventFrames;\n\n let filterItems = [];\n events.filter.length > 0 &&\n events.filter.forEach((item) => {\n filterItems.push({\n id: item.color_filter_id,\n image: item.filter_photo,\n });\n });\n\n let filters = filterItems;\n\n dispatch(\n eventDraftToContinue({\n eventId: id,\n event_info,\n feature,\n event_option,\n social,\n email,\n sms_sharing,\n WaterMark,\n digital_prop,\n micro_site,\n photo_template_frame,\n filters,\n })\n );\n\n if (events.filter.length > 0) {\n history.push(\"/event/filter\");\n } else if (events.photo_frame.length > 0) {\n history.push(\"/event/frame\");\n } else if (events.microsite) {\n history.push(\"/event/microsite\");\n } else if (events.digital_prop.length > 0) {\n history.push(\"/event/digital-prop\");\n } else if (events.email_setting) {\n history.push(\"/event/email\");\n } else if (events.text_message) {\n history.push(\"/event/sms\");\n } else if (events.social) {\n history.push(\"/event/social\");\n } else if (events.WaterMark) {\n history.push(\"/event/custom-branding\");\n } else if (events.event_option) {\n history.push(\"/event/options\");\n } else if (events.feature) {\n history.push(\"/event/feature\");\n } else if (events) {\n history.push(\"/event/feature\");\n } else {\n history.push(\"/event/summary\");\n }\n })\n .catch((err) => {\n console.log(err.response.message);\n });\n };\n\n const duplicateEventAction = (item) => {\n const params = {\n uuid: item.uuid,\n event_id: item.id,\n };\n\n dispatch(setDuplicateEvent(params));\n };\n\n return (\n <>\n
    \n {!isLoading ? (\n data && data.length > 0 ? (\n data.map((res) => {\n return (\n
    \n \n
    \n

    \n {res.event_name}\n

    \n

    @ {res.venue_name}

    \n
    \n
    \n
    \n

    \n From: {formateLocalTime(res.event_start_date)}\n

    \n

    \n To: {formateLocalTime(res.event_end_date)}\n

    \n
    \n
    \n \n \n \n \n Continue{\" \"}\n \n \n
    \n
    \n
    \n
    \n );\n })\n ) : (\n
    \n
    \n
    \n

    No Events Found

    \n
    \n
    \n
    \n )\n ) : (\n
    \n
    \n
    \n
    \n Loading...\n
    \n
    \n
    \n
    \n )}\n \n\n {loadingEvent && (\n \n )}\n\n \n \n );\n};\n\nexport default DraftProduct;\n","import React, { useState ,useEffect } from \"react\";\nimport { Link, useHistory, useParams } from \"react-router-dom\";\nimport Layout from \"../../components/layouts/Layout\";\nimport TableLive from \"./liveEvent/TableLive\";\nimport TablePast from \"./pastEvent/TablePast\";\nimport TableUpcoming from \"./upcomingEvent/TableUpcoming\";\nimport './style/style.css'\nimport DraftProduct from \"./createEvent/Draft/DraftProduct\";\nimport LocalStorage from \"../../hook/LocalStorage\";\nconst Event = () => {\n\n\tconst history = useHistory()\n\tconst {type} = useParams()\n\tconst { user } = LocalStorage()\n\tconst [eventStatus, setStatus] = useState(\"live\")\n\n\n\t\t// if (eventStatus === 'live') {\n\t\t// \thistory.push('/event/live')\n\t\t// }else if(eventStatus === 'past'){\n\t\t\t\n\t\t// }else if(eventStatus === 'upcoming'){\n\t\t// \thistory.push('/event/upcoming')\n\t\t// }else if(eventStatus === 'draft'){\n\t\t// \thistory.push('/event/draft')\n\t\t// }\n\n\t\t// if (eventStatus === 'draft') {\n\t\t// \thistory.push('/event/draft')\n\t\t// }\n\t\t// else if (eventStatus === 'past') {\n\t\t// \thistory.push({\n\t\t// \t\tpathname: '/event/past',\n // \t\tsearch: `?user_id=${user.id}&per_page=${6}`,\n\t\t// \t})\n\t\t// }\n\t\t// else if (eventStatus === 'upcoming') {\n\t\t// \thistory.push('/event/upcoming')\n\t\t// }\n\t\t// else{\n\t\t// \thistory.push('/event/live')\n\t\t// }\n\n\n\treturn (\n\t\t\n\t\t\t
    \n\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t

    Status :

    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t history.push({\n\t\t\t\t\t\t\t\t\t\t\t\t\thash: '#live',\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t>Live Events\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t history.push({\n\t\t\t\t\t\t\t\t\t\t\t\t\thash: '#upcoming',\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t>Future Events\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t history.push({\n\t\t\t\t\t\t\t\t\t\t\t\t\thash: '#past',\n\t\t\t\t\t\t\t\t\t\t\t\t\tsearch: `?user_id=${user.id}&per_page=${6}`,\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t>Past Events\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t\t\t\t history.push({\n\t\t\t\t\t\t\t\t\t\t\t\t\thash: '#draft',\n\t\t\t\t\t\t\t\t\t\t\t\t})}\n\t\t\t\t\t\t\t\t\t\t\t>Draft Events\n\t\t\t\t\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t
    \n\n\t\t\t\t\t\t\n\t\t\t\t\t\t\t\n\t\t\t\t\t\t\n\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\n\t\t
    \n\t);\n};\n\nexport default Event;\n","const Base64 = (file) => {\n return new Promise((resolve, reject) => {\n const fileReader = new FileReader();\n fileReader.readAsDataURL(file)\n fileReader.onload = () => {\n resolve(fileReader.result);\n }\n fileReader.onerror = (error) => {\n reject(error);\n }\n });\n}\n\nexport default Base64;","import { useState } from 'react'\nimport Base64 from '../components/base64Convert/Base64'\nconst UploadFile = () => {\n const [fileURL, setFileURL] = useState(\"\");\n const [fileName, setFileName] = useState(\"\");\n const [remove, setRemove] = useState(\"\");\n const onChangeFile = async event => {\n const file = event.target.files[0];\n const fileName = event.target.files[0];\n const convertBase64File = await Base64(file)\n await setFileURL(convertBase64File)\n await setFileName(fileName);\n const removeId = event.target.id;\n await setRemove(removeId);\n }\n\n const removeFile = (event) => {\n setFileURL(\"\");\n setFileName(\"\");\n document.getElementById(`${remove}`).value = \"\";\n }\n\n return { fileURL, fileName, onChangeFile, removeFile, setFileURL }\n\n}\n\nexport default UploadFile","import React, { useEffect, useState } from 'react'\nimport classNames from 'classnames';\nimport { useForm } from 'react-hook-form';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { useHistory } from 'react-router-dom';\nimport { Label } from '../../../components/Input';\nimport Layout from '../../../components/layouts/Layout'\nimport { Required } from '../../../components/RegEx/ValidationMessage';\nimport timeZone from '../../../dbJson/timezones.json';\nimport UploadFile from '../../../hook/UploadFile';\nimport { eventCreateReset, eventInfo, eventIdSet } from './slice/createEventSlice';\nimport NewFormWizard from '../../../components/formWizard/NewFormWizard';\nimport { DateTimePickerComponent } from '@syncfusion/ej2-react-calendars';\nimport moment from 'moment'\nimport http from '../../../config/BaseUrl';\nimport { LoadingSpinner } from '../../../components/Loader/Loader';\n\nconst EventInfo = () => {\n\n const history = useHistory();\n const dispatch = useDispatch()\n const { event_info, eventId } = useSelector(state => state.createEvent)\n // const [eventId, setEventId] = useState(null)\n const [startDateDefault, setStartDateDefault] = useState(null)\n const [startDate, setStartDate] = useState(null)\n const [endDateDefault, setEndDateDefault] = useState(null)\n const [endDate, setEndDate] = useState(null)\n const [time_zone, setTimeZone] = useState(null)\n const [lifeTime, setLifeTime] = useState(false)\n const [event_image, setEventImage] = useState(null)\n const [loading, setLoading] = useState(false)\n\n const htmlAttributes = { placeholder: \"Select a date and time\" };\n\n // useEffect(() => {\n // // dispatch(eventCreateReset())\n // localStorage.removeItem(\"persist:root\")\n // }, [])\n\n\n const { register, handleSubmit, setError, formState: { errors }, clearErrors } = useForm({\n mode: \"onChange\",\n reValidateMode: \"all\",\n defaultValues: {\n event_name: event_info.event_name,\n event_start_date: event_info.event_start_date,\n event_details: event_info.event_details,\n event_end_date: event_info.event_end_date,\n event_venue_name: event_info.event_venue_name,\n event_time_zone: event_info.event_time_zone\n }\n });\n\n useEffect(() => {\n if (event_info) {\n let item = event_info\n if (Object.keys(item).length > 0) {\n setStartDate(item.event_start_date)\n setStartDateDefault(moment(item.event_start_date).format('DD-MM-YYYY HH:mm'))\n if (item.life_time) {\n setLifeTime(true)\n }\n else{\n setEndDate(item.event_end_date)\n setEndDateDefault(moment(item.event_end_date).format('DD-MM-YYYY HH:mm'))\n }\n setTimeZone(item.event_time_zone)\n setFileURL(item.fileURL)\n }\n }\n }, [])\n\n const dateStartTimeConverter = (value) => {\n setStartDate(moment(value).format('YYYY-MM-DD HH:mm'))\n setStartDateDefault(value)\n if (value) {\n clearErrors('event_start_date')\n }\n }\n const dateEndTimeConverter = (value) => {\n setEndDate(moment(value).format('YYYY-MM-DD HH:mm'))\n setEndDateDefault(value)\n if (value) {\n clearErrors('event_end_date')\n }\n }\n\n // custom hook\n const { fileURL, onChangeFile, setFileURL } = UploadFile()\n\n const handelInfo = (data) => {\n if (lifeTime) {\n if (!startDate || startDate === 'Invalid date') {\n setError(\"event_start_date\", {\n type: \"manual\",\n message: \"Event start date is required\",\n });\n setTimeout(()=>{\n clearErrors(['event_start_date'])\n }, 3000)\n }\n else { \n submitFormData(data) \n } \n }\n else{\n if (!startDate || !endDate) {\n if (!startDate || startDate === 'Invalid date') {\n setError(\"event_start_date\", {\n type: \"manual\",\n message: \"Event start date is required\",\n });\n }\n if (!endDate || endDate === 'Invalid date') {\n setError(\"event_end_date\", {\n type: \"manual\",\n message: \"Event end date is required\",\n });\n }\n\n setTimeout(()=>{\n clearErrors(['event_start_date', 'event_end_date'])\n }, 3000)\n \n } else {\n submitFormData(data)\n }\n }\n }\n\n const submitFormData = async (data) => {\n let startDt = new Date(startDateDefault);\n let endDt = new Date(endDateDefault);\n let hours = Math.round(endDt - startDt) / 36e5;\n\n if (lifeTime) {\n let eventEndDate = moment().add(200, 'y').format('YYYY-MM-DD HH:mm')\n\n dispatch(eventInfo({ ...data, fileURL, event_start_date: startDate, event_end_date: '', life_time: lifeTime }));\n setLoading(true)\n http.post(\"event-info\", { ...data, fileURL, event_start_date: startDate, event_end_date: eventEndDate, eventId, life_time: lifeTime ? 1 : 0 })\n .then((res) => {\n if (res.data.status === true) {\n let event_id = res.data.event.id\n dispatch(eventIdSet(event_id))\n history.push('/event/feature', { eventId: event_id })\n setLoading(false)\n }\n })\n .catch(err => {\n console.log(err.response.message)\n setLoading(false)\n });\n }\n else if (hours <= 48 && hours > 0) {\n dispatch(eventInfo({ ...data, fileURL, event_start_date: startDate, event_end_date: endDate, life_time: lifeTime }));\n setLoading(true)\n http.post(\"event-info\", { ...data, fileURL, event_start_date: startDate, event_end_date: endDate, eventId, life_time: lifeTime ? 1 : 0 })\n .then((res) => {\n console.log('hi')\n if (res.data.status === true) {\n let event_id = res.data.event.id\n dispatch(eventIdSet(event_id))\n history.push('/event/feature', { eventId: event_id })\n setLoading(false)\n }\n })\n .catch(err => {\n console.log(err.response.message)\n setLoading(false)\n });\n\n } else {\n let name = { event_end_date: [\"event_end_date\"] };\n let nameArr = [[\"Please select date & time below 48 hour\"]];\n const errorNames = Object.keys(name);\n const errorMessages = Object.values(nameArr);\n errorNames.forEach((err, indx) => {\n setError(err, { type: 'required', message: errorMessages[indx][0] })\n })\n\n setTimeout(() => {\n clearErrors(errorNames)\n }, 3000)\n\n }\n }\n\n const checkLifeTime = (e) => {\n setLifeTime(e.target.checked)\n }\n\n return (\n \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    Event Information

    \n Fill in the blanks\n
    \n
    \n\n
    \n
    \n \n \n {errors.event_name && errors.event_name.message}\n
    \n\n
    \n \n { dateStartTimeConverter(e.value) }}\n />\n {errors.event_start_date && errors.event_start_date.message}\n
    \n\n
    \n
    \n \n
    \n \n \n
    \n
    \n { dateEndTimeConverter(e.value) }}\n />\n {errors.event_end_date && errors.event_end_date.message}\n\n
    \n\n
    \n\n \n \n {errors.event_details && errors.event_details.message}\n\n
    \n\n
    \n \n \n {errors.event_venue_name && errors.event_venue_name.message}\n\n
    \n\n
    \n \n \n \n {timeZone && timeZone.map((res, index) => (\n \n ))}\n \n

    {errors.event_time_zone && errors.event_time_zone.message}

    \n
    \n\n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n
    \n\n\n
    \n\n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {loading ?\n ()\n : \n }\n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default EventInfo\n","import React, { useState } from 'react'\nimport { AiOutlineCalendar } from 'react-icons/ai'\nimport { IoKeyOutline } from 'react-icons/io5'\nimport { SiAcademia } from 'react-icons/si'\nimport { useHistory } from 'react-router-dom';\nimport { useDispatch, useSelector } from 'react-redux'\nimport NewFormWizard from '../../../components/formWizard/NewFormWizard'\nimport Layout from '../../../components/layouts/Layout'\nimport { storeEventData } from './slice/eventAction'\nimport LocalStorage from '../../../hook/LocalStorage';\nimport http from '../../../config/BaseUrl';\nimport { eventCreateReset } from './slice/createEventSlice';\n\nconst EventSummary = () => {\n const {\n eventId,\n isLoading,\n feature,\n event_info,\n social,\n event_option,\n email,\n sms_sharing,\n digital_prop,\n micro_site,\n photo_template_frame,\n filters\n } = useSelector(state => state.createEvent)\n const dispatch = useDispatch()\n const history = useHistory()\n const { user } = LocalStorage()\n const [loading, setLoading] = useState(false)\n\n const handelPayWithSubmitEvent = (e) => {\n e.preventDefault();\n if (user && user.membership.package_type === 'single') {\n history.push('/event/device')\n }\n }\n\n const handelSubmitEvent = async (e) => {\n e.preventDefault()\n try {\n setLoading(true)\n await http.post(`event/store/${eventId}`).then((res) => {\n if (res.data.status === true) {\n setLoading(false)\n dispatch(eventCreateReset())\n localStorage.removeItem(\"persist:root\")\n history.push('/event#live')\n }\n }).catch((err) => setLoading(false))\n } catch (error) {\n\n }\n }\n\n return (\n \n \n\n
    \n
    \n
    \n
    \n

    Event Summary

    \n
    \n
    \n
    \n
    \n
    \n
    \n

    event name

    \n

    {event_info.event_name}

    \n
    \n
    \n
    \n
    \n
    \n
    \n

    start Date

    \n

    {event_info.event_start_date}

    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Finish Date

    \n

    {event_info.event_end_date}

    \n
    \n
    \n
    \n\n
    \n
    \n
    \n

    venue name

    \n

    {event_info.event_venue_name}

    \n
    \n
    \n
    \n
    \n
    \n
    \n

    password

    \n

    {event_option.adminPassword}

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n \n\n {user && user.membership.package_type == 'single' ? (\n \n ) :\n \n }\n\n
    \n
    \n\n
    \n )\n}\n\nexport default EventSummary\n","import React from 'react'\nimport { AiOutlineMail, AiOutlineShareAlt } from 'react-icons/ai';\nimport { BiFilterAlt } from 'react-icons/bi';\nimport { BsChat } from 'react-icons/bs';\nimport { FiSettings } from 'react-icons/fi';\nimport { MdDesktopWindows } from 'react-icons/md';\nimport { FaChessQueen } from 'react-icons/fa';\nimport { useSelector } from 'react-redux';\nimport { useLocation } from 'react-router-dom';\n\nconst FormWizardChild = () => {\n\n const {event_option} = useSelector((state => state.createEvent))\n const location = useLocation()\n\n const eventOption = location.pathname === '/event/options'||\n location.pathname === '/event/social' ||\n location.pathname === '/event/email' ||\n location.pathname === '/event/sms' ||\n location.pathname === '/event/digital-prop' ||\n location.pathname === '/event/microsite' ||\n location.pathname === '/event/filter'\n\n const eventSocial = location.pathname === '/event/social'||\n location.pathname === '/event/email' ||\n location.pathname === '/event/sms' ||\n location.pathname === '/event/digital-prop'||\n location.pathname === '/event/microsite' ||\n location.pathname === '/event/filter'\n\n const eventEmail = location.pathname === '/event/email'||\n location.pathname === '/event/sms' ||\n location.pathname === '/event/digital-prop'||\n location.pathname === '/event/microsite' ||\n location.pathname === '/event/filter'\n\n const eventTextSMS = location.pathname === '/event/sms' ||\n location.pathname === '/event/digital-prop'||\n location.pathname === '/event/microsite' ||\n location.pathname === '/event/filter'\n\n const eventDigitalProp = location.pathname === '/event/digital-prop'||\n location.pathname === '/event/microsite' ||\n location.pathname === '/event/filter'\n\n const eventMicroSite = location.pathname === '/event/microsite' ||\n location.pathname === '/event/filter'\n \n const eventFilter = location.pathname === '/event/filter'\n\n \n return (\n <>\n
    \n
      \n {/* data_capture: false */}\n \n\n
    • \n \n \n \n
    • \n\n {event_option.social_media === true ? \n
    • \n \n \n \n
    • \n :\"\"}\n\n {event_option.email === true ? \n
    • \n \n \n \n
    • \n :\"\"}\n {event_option.text_messaging === true ? \n
    • \n \n \n \n
    • \n :\"\"}\n\n {event_option.digital_props === true ? \n
    • \n \n \n \n
    • \n :\"\"}\n\n {event_option.microsite === true ? \n
    • \n \n \n \n
    • \n :\"\"}\n\n {event_option.filters === true && (\n
    • \n \n \n \n
    • )}\n \n\n {/*
    • \n \n \n \n
    • \n\n
    • \n \n \n \n
    • */}\n
    \n
    \n \n \n )\n}\n\nexport default FormWizardChild\n","import React from 'react'\nimport { useForm } from 'react-hook-form'\nimport { useDispatch } from 'react-redux'\nimport { useHistory } from 'react-router-dom'\nimport NewFormWizard from '../../../../components/formWizard/NewFormWizard'\nimport FormWizardChild from '../../../../components/formWizard/FormWizardChild'\nimport Layout from '../../../../components/layouts/Layout'\nimport { eventAppExperienceBranding } from '../slice/createEventSlice'\n\nconst AppExperience = () => {\n const history = useHistory();\n const dispatch = useDispatch()\n const {register, handleSubmit} = useForm()\n const handleAppExperience = (data) => {\n dispatch(eventAppExperienceBranding(data))\n // history.push('/event/summary')\n }\n return (\n \n \n {/* */}\n
    \n
    \n
    \n
    \n

    App Experience

    \n

    Set your branding below

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Photo Booth

    \n
    \n
    \n

    Sharing Station

    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n upload animated background\n
    \n \n
    \n
    \n
    \n upload animated background\n
    \n \n
    \n
    \n
    \n upload animated background\n
    \n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default AppExperience\n","import React from 'react'\nimport { AiFillEdit, AiOutlineFileGif, AiOutlineMail, AiOutlineShareAlt } from 'react-icons/ai';\nimport { BiFilterAlt } from 'react-icons/bi';\nimport { BsChat } from 'react-icons/bs';\nimport { FiSettings } from 'react-icons/fi';\nimport { MdDesktopWindows, MdAspectRatio } from 'react-icons/md';\nimport { FaChessQueen, FaRegClosedCaptioning } from 'react-icons/fa';\nimport { useSelector } from 'react-redux';\nimport { useLocation } from 'react-router-dom';\nimport { ImFilm } from 'react-icons/im';\nimport { IoMdGift } from 'react-icons/io';\n\nfunction NewFormWziardChild() {\n\n const { event_option } = useSelector((state => state.createEvent))\n const location = useLocation()\n\n const eventOption = location.pathname === '/event/options' ||\n location.pathname === '/event/social' ||\n location.pathname === '/event/gif' ||\n location.pathname === '/event/brust-gif' ||\n location.pathname === '/event/email' ||\n location.pathname === '/event/sms' ||\n location.pathname === '/event/digital-prop' ||\n location.pathname === '/event/custom-branding' ||\n location.pathname === '/event/microsite' ||\n location.pathname === '/event/frame' ||\n location.pathname === '/event/incentive-offer' ||\n location.pathname === '/event/filter' ||\n location.pathname === '/event/form-builder' \n\n const eventSocial = location.pathname === '/event/social' ||\n location.pathname === '/event/gif' ||\n location.pathname === '/event/brust-gif' ||\n location.pathname === '/event/email' ||\n location.pathname === '/event/sms' ||\n location.pathname === '/event/digital-prop' ||\n location.pathname === '/event/custom-branding' ||\n location.pathname === '/event/microsite' ||\n location.pathname === '/event/frame' ||\n location.pathname === '/event/incentive-offer' ||\n location.pathname === '/event/filter' ||\n location.pathname === '/event/form-builder' \n\n const eventGif = location.pathname === '/event/gif' ||\n location.pathname === '/event/brust-gif' ||\n location.pathname === '/event/email' ||\n location.pathname === '/event/sms' ||\n location.pathname === '/event/digital-prop' ||\n location.pathname === '/event/custom-branding' ||\n location.pathname === '/event/microsite' ||\n location.pathname === '/event/frame' ||\n location.pathname === '/event/incentive-offer' ||\n location.pathname === '/event/filter' ||\n location.pathname === '/event/form-builder' \n\n const eventBrustGif = location.pathname === '/event/brust-gif' ||\n location.pathname === '/event/email' ||\n location.pathname === '/event/sms' ||\n location.pathname === '/event/digital-prop' ||\n location.pathname === '/event/custom-branding' ||\n location.pathname === '/event/microsite' ||\n location.pathname === '/event/frame' ||\n location.pathname === '/event/incentive-offer' ||\n location.pathname === '/event/filter' ||\n location.pathname === '/event/form-builder' \n\n const eventEmail = location.pathname === '/event/email' ||\n location.pathname === '/event/sms' ||\n location.pathname === '/event/digital-prop' ||\n location.pathname === '/event/custom-branding' ||\n location.pathname === '/event/microsite' ||\n location.pathname === '/event/frame' ||\n location.pathname === '/event/incentive-offer' ||\n location.pathname === '/event/filter' ||\n location.pathname === '/event/form-builder' \n\n const eventTextSMS = location.pathname === '/event/sms' ||\n location.pathname === '/event/digital-prop' ||\n location.pathname === '/event/custom-branding' ||\n location.pathname === '/event/microsite' ||\n location.pathname === '/event/frame' ||\n location.pathname === '/event/incentive-offer' ||\n location.pathname === '/event/filter' ||\n location.pathname === '/event/form-builder' \n\n const eventDigitalProp = location.pathname === '/event/digital-prop' ||\n location.pathname === '/event/custom-branding' ||\n location.pathname === '/event/microsite' ||\n location.pathname === '/event/frame' ||\n location.pathname === '/event/incentive-offer' ||\n location.pathname === '/event/filter' ||\n location.pathname === '/event/form-builder' \n\n const eventWaterMark = location.pathname === '/event/custom-branding' ||\n location.pathname === '/event/microsite' ||\n location.pathname === '/event/frame' ||\n location.pathname === '/event/incentive-offer' ||\n location.pathname === '/event/filter' ||\n location.pathname === '/event/form-builder' \n\n const eventMicroSite = location.pathname === '/event/microsite' ||\n location.pathname === '/event/frame' ||\n location.pathname === '/event/incentive-offer' ||\n location.pathname === '/event/filter' ||\n location.pathname === '/event/form-builder' \n\n const eventFrame = location.pathname === '/event/frame' ||\n location.pathname === '/event/incentive-offer' ||\n location.pathname === '/event/filter' ||\n location.pathname === '/event/form-builder' \n\n const incentiveOffer = location.pathname === '/event/incentive-offer' ||\n location.pathname === '/event/filter' ||\n location.pathname === '/event/form-builder' \n\n const eventFilter = location.pathname === '/event/filter' || location.pathname === '/event/form-builder'\n const eventFormBuilder = location.pathname === '/event/form-builder'\n\n\n return (\n <>\n
    \n
    \n
      \n
    • \n \n \n \n {\" \"}\n Event Option\n \n
    • \n\n {event_option.social_media === true ?\n
    • \n \n \n \n {\" \"}Social Media\n \n
    • \n : \"\"}\n \n {event_option.gif === true ?\n
    • \n \n \n \n {\" \"}\n 3 in 1 Animation\n \n
    • \n : \"\"}\n\n {event_option.brust_gif === true ?\n
    • \n \n \n \n {\" \"}\n 3 in 1 Fast\n \n
    • \n : \"\"}\n\n {event_option.email === true ?\n
    • \n \n \n \n {\" \"}\n Email\n \n
    • \n : \"\"}\n\n {event_option.text_messaging === true ?\n
    • \n \n \n \n {\" \"}\n SMS\n \n
    • \n : \"\"}\n\n {event_option.digital_props === true ?\n
    • \n \n \n \n {\" \"}\n Digital Props\n \n
    • \n : \"\"}\n\n {event_option.water_mark === true ?\n
    • \n \n \n \n {\" \"}\n Custom Branding\n \n
    • \n : \"\"}\n\n {event_option.microsite === true ?\n
    • \n \n \n \n {\" \"}\n Social Gallery\n \n
    • \n : \"\"}\n\n {event_option.frame_option === true ?\n
    • \n \n \n \n {\" \"}\n Frame\n \n
    • \n : \"\"}\n \n {event_option.incentive_offer === true && (\n
    • \n \n \n \n {\" \"}\n Incentive Offer\n \n
    • )}\n\n {event_option.filters === true && (\n
    • \n \n \n \n {\" \"}\n Event Filter\n \n
    • )}\n {event_option.form_builder === true && (\n
    • \n \n \n \n {\" \"}\n Form Builder\n \n
    • )}\n\n\n
    \n\n\n
    \n
    \n\n \n )\n}\n\nexport default NewFormWziardChild\n","import React, { useState, useEffect } from 'react'\nimport '../../style/style.css'\nimport emailTemplatesImage from '../../../../dbJson/MOCK_DATA.json'\nimport http, { imageURL, URL_S3 } from '../../../../config/BaseUrl'\nimport { Link, useHistory } from 'react-router-dom'\nfunction EmailTemplate(props) {\n\n const [template, setTemplate] = useState(null)\n const [submitClose, setSubmitClose] = useState(false)\n const [emailTemplatesImage, setEmailTemplatesImage] = useState([])\n const [myTemplatesImage, setMyTemplatesImage] = useState([])\n const [loading, setLoading] = useState(false)\n\n const fetchEmailTemplate = async () => {\n try {\n setLoading(true)\n await http.get(\"event-email-template\")\n .then((res) => {\n if (res.data.email_template) {\n setEmailTemplatesImage(res.data.email_template)\n setLoading(false)\n }\n }).catch((err) => {\n setLoading(false)\n })\n } catch (error) {\n setLoading(false)\n }\n }\n\n const fetchMyTempate = async () => {\n setLoading(true)\n try{\n await http.get('user/saved/email-template')\n .then(res=>{\n\n const responseData = res.data.data.data\n console.log(responseData)\n let myTemplateData = []\n responseData.forEach(data=>{\n let customData = {\n name: data.name,\n my_template_id: data.id,\n contents: data.contents,\n ...data.email_template\n }\n\n myTemplateData.push(customData)\n })\n setLoading(false)\n\n setMyTemplatesImage(myTemplateData)\n })\n .catch(err=>{\n console.log(err)\n })\n }\n catch{\n\n }\n \n }\n\n useEffect(() => {\n fetchEmailTemplate()\n }, [])\n\n\n const handleSubmit = () => {\n if (template) {\n props.setData(template)\n }\n }\n\n const changeValue = (item) => {\n setTemplate(item)\n setSubmitClose(true)\n }\n\n useEffect(() => {\n if (props.hasOwnProperty('oldItem')) {\n if (props.oldItem) {\n let indx = emailTemplatesImage.findIndex(item => item.id == props.oldItem)\n setTemplate(emailTemplatesImage[indx])\n }\n }\n }, [props])\n\n\n return (\n
    \n
    \n
    \n
    \n
    Select Your Email Template
    \n \n
    \n
    \n
    \n
      \n
    • \n \n Standard Template\n \n
    • \n
    • \n \n My Template\n \n
    • \n
    \n
    \n\n
    \n \n
    \n
    \n {loading ?\n
    \n \n
    \n : emailTemplatesImage && emailTemplatesImage.map((item) => {\n return (\n
    \n
    \n
    changeValue({ id: item.id, image: item.template_image })}>\n \"template-1\"\n
    \n\n \n
    \n
    \n )\n })}\n\n
    \n\n
    \n
    \n \n
    \n
    \n {loading ?\n
    \n \n
    \n : myTemplatesImage && \n myTemplatesImage.length > 0 ?\n myTemplatesImage.map((item) => {\n return (\n
    \n
    \n
    \n changeValue({ id: item.id, image: item.template_image, email_my_template_id: item.my_template_id ,\n contents: item.contents\n })}\n >\n \"template-1\"\n
    \n

    {item.name}

    \n \n
    \n
    \n )\n })\n :\n
    \n

    No template found.

    \n
    \n }\n\n
    \n\n
    \n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n \n \n )\n}\n\nexport default EmailTemplate\n","import React, { useState, useEffect } from 'react'\nimport { useForm, useFormState } from 'react-hook-form'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { useHistory } from 'react-router-dom'\nimport NewFormWizard from '../../../../components/formWizard/NewFormWizard'\nimport NewFormWizardChild from '../../../../components/formWizard/NewFormWziardChild'\nimport Layout from '../../../../components/layouts/Layout'\nimport EmailTemplate from '../../components/Modal/EmailTemplate'\nimport { eventEmail } from '../slice/createEventSlice'\nimport http, { imageURL, URL_S3 } from '../../../../config/BaseUrl'\nimport { LoadingSpinner } from '../../../../components/Loader/Loader'\n\nconst Email = () => {\n const [loading, setLoading] = useState(false)\n const [draftLoading, setDraftLoading] = useState(false)\n const [emailTemplate, setTemplate] = useState(null)\n const [emailTemplateErr, setTemplateErr] = useState(false)\n const [emailTemplateType, setEmailTemplateType] = useState(null)\n const [emailTemplateContents, setEmailTemplateContents] = useState(null)\n const [email_my_template_id, setEmailMyTemplateId] = useState(null)\n\n const history = useHistory()\n const dispatch = useDispatch()\n // const eventId = history.location.state\n const { event_option, email, eventId } = useSelector(state => state.createEvent)\n const { register, handleSubmit, formState: { errors } } = useForm({\n mode: \"all\",\n reValidateMode: \"onChange\",\n defaultValues: {\n from_name: email.from_name,\n reply_to: email.reply_to,\n email_subject: email.email_subject,\n body: email.body,\n attach_file: email.attach_file,\n link_image: email.link_image,\n email_suffixes: email.email_suffixes\n }\n\n });\n\n useEffect(() => {\n if (email) {\n setTemplate(email.email_template)\n }\n }, [email])\n\n useEffect(()=>{\n if (typeof history.location.state == \"object\" && \"editedData\" in history.location.state) {\n const theData = history.location.state.editedData\n setTemplate(theData.template)\n setEmailTemplateType(theData.saveAs)\n setEmailTemplateContents(theData.content)\n\n if (theData.saveAs == 'my_template') {\n setEmailMyTemplateId(theData.email_my_template_id)\n }\n else{\n setEmailMyTemplateId(null)\n }\n\n }\n }, [history])\n\n\n const handelEmail = async (data) => {\n\n if (emailTemplate) {\n dispatch(eventEmail({ ...data, email_template: emailTemplate }))\n setLoading(true)\n http.post(\"email\", { ...data, email_template: emailTemplate, eventId, template_type: emailTemplateType, email_my_template_id, contents: emailTemplateContents }).then(res => {\n setLoading(false)\n if (res.data.event_email.draft_status === 'draft') {\n if (event_option.text_messaging === true) { history.push('/event/sms', eventId) }\n else if (event_option.digital_props === true) { history.push('/event/digital-prop', eventId) }\n else if (event_option.water_mark === true) { history.push('/event/custom-branding', eventId) }\n else if (event_option.microsite === true) { history.push('/event/microsite', eventId) }\n else if (event_option.frame_option === true) { history.push('/event/frame', eventId) }\n else if (event_option.incentive_offer === true) { history.push('/event/incentive-offer', eventId) }\n else if (event_option.filters === true) { history.push('/event/filter', eventId) }\n else if (event_option.form_builder === true) { history.push('/event/form-builder', eventId) }\n else { history.push('/event/summary', eventId) }\n }\n }).catch(err => err.response.data.message)\n\n }\n else {\n setTemplateErr(true)\n }\n\n }\n\n const setEmailTemplateByProps = (data) => {\n \n if ('contents' in data) {\n setTemplate({id: data.id, image: data.image})\n setEmailTemplateContents(data.contents)\n setEmailTemplateType('my_template')\n setEmailMyTemplateId(data.email_my_template_id)\n }\n else{\n setTemplate(data)\n }\n setTemplateErr(false)\n }\n\n const saveAsDraft = () => {\n handleSubmit(async (data) => {\n if (emailTemplate) {\n dispatch(eventEmail({ ...data, email_template: emailTemplate }))\n setDraftLoading(true)\n http.post(\"email\", { ...data, email_template: emailTemplate, eventId, template_type: emailTemplateType, email_my_template_id, contents: emailTemplateContents }).then(res => {\n setDraftLoading(false)\n }).catch(err => {\n setDraftLoading(false)\n })\n }\n else {\n setTemplateErr(true)\n }\n\n })()\n }\n\n const BackToPreviousPage = (e) => {\n e.preventDefault()\n if (event_option.brust_gif === true) { history.push('/event/brust-gif') }\n else if (event_option.gif === true) { history.push('/event/gif') }\n else if (event_option.social_media === true) { history.push('/event/social') }\n else { history.push('/event/options') }\n }\n\n return (\n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Email Settings

    \n

    Setup email sharing for your event

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n {\n !emailTemplate ?\n
    \n

    Choose Email Template.

    \n
    \n :\n
    \n \"email-template\"\n
    \n }\n
    \n
    \n
    \n \n\n

    Choose any template

    \n \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n {errors.from_name && errors.from_name.message}\n
    \n
    \n \n \n
    \n
    \n \n \n {errors.email_subject && errors.email_subject.message}\n
    \n
    \n \n
    \n \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n {loading ?\n ()\n : \n }\n {\n loading ?\n ()\n :\n \n }\n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default Email\n","import React, { useState } from 'react'\nimport { useForm } from 'react-hook-form';\nimport { FaInstagram, FaRegRegistered } from 'react-icons/fa';\nimport { FiFacebook } from 'react-icons/fi';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { useHistory } from 'react-router-dom';\nimport NewFormWizard from '../../../../components/formWizard/NewFormWizard';\nimport NewFormWizardChild from '../../../../components/formWizard/NewFormWziardChild';\nimport Layout from '../../../../components/layouts/Layout'\nimport { LoadingSpinner } from '../../../../components/Loader/Loader';\nimport http from '../../../../config/BaseUrl';\nimport { eventSocial } from '../slice/createEventSlice'\n\nconst SocialMedia = () => {\n\n const dispatch = useDispatch()\n const history = useHistory()\n // const eventId = history.location.state\n const { event_option, social, eventId } = useSelector(state => state.createEvent)\n\n const [instagramToggle, setInstagramToggle] = useState(true);\n const InstagramToggle = () => setInstagramToggle(!instagramToggle)\n const [facebookToggle, setFacebookToggle] = useState(false);\n const FacebookToggle = () => setFacebookToggle(!facebookToggle)\n const [socialDetails, setSocialDetails] = useState(\"\")\n const [loading, setLoading] = useState(false)\n const [draftLoading, setDraftLoading] = useState(false)\n\n const { register, handleSubmit } = useForm({\n mode: 'all',\n defaultValues: {\n email_message: social.email_message\n }\n\n })\n\n const handelSocial = async (data) => {\n\n const socialEvent = {\n instagram: instagramToggle,\n client_facebook: facebookToggle,\n email_message: data.email_message\n }\n\n dispatch(eventSocial(socialEvent))\n setLoading(true)\n await http.post(\"social-media\", { ...data, instagramToggle, facebookToggle, eventId }).then((res => {\n setLoading(false)\n if (event_option) {\n if (event_option.gif === true) { history.push('/event/gif', eventId) }\n else if (event_option.brust_gif === true) { history.push('/event/brust-gif', eventId) }\n else if (event_option.email === true) { history.push('/event/email', eventId) }\n else if (event_option.text_messaging === true) { history.push('/event/sms', eventId) }\n else if (event_option.digital_props === true) { history.push('/event/digital-prop', eventId) }\n else if (event_option.water_mark === true) { history.push('/event/custom-branding', eventId) }\n else if (event_option.microsite === true) { history.push('/event/microsite', eventId) }\n else if (event_option.frame_option === true) { history.push('/event/frame', eventId) }\n else if (event_option.incentive_offer === true) { history.push('/event/incentive-offer', eventId) }\n else if (event_option.filters === true) { history.push('/event/filter', eventId) }\n else if (event_option.form_builder === true) { history.push('/event/form-builder', eventId) }\n else { history.push('/event/summary', eventId) }\n }\n })).catch(err => err.response.data.message)\n }\n\n const saveAsDraft = () => {\n handleSubmit(async (data) => {\n const socialEvent = {\n instagram: instagramToggle,\n client_facebook: facebookToggle,\n email_message: data.email_message\n }\n\n dispatch(eventSocial(socialEvent))\n setDraftLoading(true)\n await http.post(\"social-media\", { ...data, instagramToggle, facebookToggle, eventId }).then((res => {\n setDraftLoading(false)\n\n })).catch(err => {\n setDraftLoading(false)\n })\n\n })()\n }\n const BackToPreviousPage = (e) => {\n e.preventDefault()\n history.push('/event/options')\n }\n return (\n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Social

    \n

    All your social account settings

    \n
    \n
    \n
    \n\n
    \n {/*
    \n
    \n \n \n
    \n
    */}\n {/*
    \n
    \n

    Instagram Text {instagramToggle === false ? 'Disable' : 'Enable'}

    \n
    \n\n
    */}\n
    \n\n
    \n
    \n
    \n \n \n
    \n
    \n
    \n\n
    \n

    Facebook Text {facebookToggle === false ? 'Disable' : 'Enable'}

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n \n {loading ?\n ()\n : \n }\n {\n loading ?\n ()\n :\n \n }\n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default SocialMedia\n","import React from 'react'\n\nconst PricingTableHeader = ({checkActiveTab, tabId, targetTab, name, type, packages}) => {\n return (\n packages && packages.length > 0 &&\n
  • \n \n {name}\n \n
  • \n )\n}\n\nexport default PricingTableHeader","import React from 'react'\n\nconst PricingTableTab = ({checkActiveTab, targetTab, type, packages, checkActivePackage, packageSelect}) => {\n return (\n packages && packages.length > 0 &&\n \n
    \n
    \n
    \n

    Our Packages

    \n
    \n {packages && packages[0]?.itemData.map((itemData, index) => (\n \n
    {itemData.our_package.name}
    \n
    \n )\n )}\n
    \n \n\n
    \n {packages && packages.map((singleData, index) => (\n \n
    \n {singleData.item_name}\n
    \n {singleData.itemData.map((itemData, index) => (\n \n

    \n {isNaN(itemData.value) ? (\n itemData.value === \"true\" ? (\n \n \n \n ) : itemData.value === \"false\" ? (\n \n \n \n ) : (\n itemData.value\n )\n ) : (\n `$${itemData.value}`\n )}\n

    \n
    \n ))}\n \n ))}\n\n
    \n
    \n\n {packages && packages[0]?.itemData.map(\n (itemData, index) => (\n \n \n Process\n \n
    \n )\n )}\n \n \n \n )\n}\n\nexport default PricingTableTab","import React, { useState, useEffect } from \"react\";\nimport { useHistory } from \"react-router\";\nimport LocalStorage from \"../../../../hook/LocalStorage\";\nimport logo from \"../../../../assets/images/logo/Haylo-for-white-background.png\";\nimport http from \"../../../../config/BaseUrl\";\nimport Loader from \"../../../../components/Loader/Loader\";\nimport { BsArrowLeft } from \"react-icons/bs\";\nimport PricingTableHeader from \"./PricingTableHeader\";\nimport PricingTableTab from \"./PricingTableTab\";\n\nconst EventType = () => {\n const history = useHistory();\n const { access_token, user } = LocalStorage();\n\n const [packageTypes, setPackageTypes] = useState(null);\n const [selectType, setSelectType] = useState(null);\n const [selectPackage, setSelectPackage] = useState(null);\n\n const [loading, setLoading] = useState(false);\n\n const packageItems = [\n {\n name: 'Trial Package',\n type: 'trial',\n tabId: 'subscription-props-trial',\n targetTab: 'subscription-props-four'\n },\n {\n name: 'Single Package',\n type: 'single',\n tabId: 'subscription-props-single',\n targetTab: 'subscription-props-three'\n },\n {\n name: 'Monthly',\n type: 'monthly',\n tabId: 'subscription-props-monthly',\n targetTab: 'subscription-props-one'\n },\n {\n name: 'Yearly',\n type: 'yearly',\n tabId: 'subscription-props-yearly',\n targetTab: 'subscription-props-two'\n },\n ]\n\n const packageSelect = (data) => {\n setSelectType({\n type: data.billed,\n package_id: data.package,\n });\n setSelectPackage(data.package_name);\n\n if (data.billed === \"single\" || data.billed === \"trial\") {\n const formData = {\n user_id: user.id,\n user_email: user.email,\n submittedData: data,\n };\n const configToken = {\n headers: { Authorization: `Bearer ${access_token}` },\n };\n\n http.post(\"member-ship\", formData, configToken).then((res) => {\n if (res.data.card_info) {\n setLoading(false);\n localStorage.setItem(\"users\", JSON.stringify(res.data.user));\n history.push(\"/dashboard\");\n } else {\n history.goBack();\n }\n });\n } else if (access_token) {\n history.push(\"/event/payment\", { package: data });\n } else {\n history.go(\"/event/payment\", { package: data });\n }\n };\n\n useEffect(() => {\n setLoading(true);\n if (user) {\n if (user.membership && user.membership.our_package) {\n if (user.membership.our_package.package_type.type === 'trial') {\n setSelectType({\n type: 'single',\n package_id: user.membership.our_package.id,\n });\n }\n else{\n setSelectType({\n type: user.membership.our_package.package_type.type,\n package_id: user.membership.our_package.id,\n });\n }\n setSelectPackage(user.membership.our_package.name);\n }\n }\n http\n .get(\"/package-type\")\n .then(async (res) => {\n let data = res.data.packageType;\n\n let packageData = await renderPackage(data);\n\n setPackageTypes({ ...packageData });\n\n setTimeout(() => {\n setLoading(false);\n }, 500);\n })\n .catch((err) => {});\n }, []);\n\n const renderPackage = async (data) => {\n let monthlyData = [];\n let yearlyData = [];\n let singleData = [];\n let trialData = [];\n\n let isTrialExpire = checkTrailActivity();\n\n for await (let item of data) {\n monthlyData = [\n ...monthlyData,\n {\n item_name: item.item_name,\n itemData: item.package_item_value.filter(\n (filterItem) =>\n filterItem.our_package.package_type.type === \"monthly\"\n ),\n },\n ];\n yearlyData = [\n ...yearlyData,\n {\n item_name: item.item_name,\n itemData: item.package_item_value.filter(\n (filterItem) =>\n filterItem.our_package.package_type.type === \"yearly\"\n ),\n },\n ];\n singleData = [\n ...singleData,\n {\n item_name: item.item_name,\n itemData: item.package_item_value.filter(\n (filterItem) =>\n filterItem.our_package.package_type.type === \"single\"\n ),\n },\n ];\n if (!isTrialExpire) {\n trialData = [\n ...trialData,\n {\n item_name: item.item_name,\n itemData: item.package_item_value.filter(\n (filterItem) =>\n filterItem.our_package.package_type.type === \"trial\"\n ),\n },\n ];\n }\n }\n\n return {\n monthlyData,\n yearlyData,\n singleData,\n trialData,\n };\n };\n\n const checkTrailActivity = () => {\n if (user) {\n if (user.membership) {\n return true;\n } else {\n return false;\n }\n }\n };\n\n const checkActiveTab = (tabName) => {\n if (selectType) {\n if (tabName === selectType.type) {\n return true;\n } else {\n return false;\n }\n } else {\n if (tabName === \"single\") {\n return true;\n } else {\n return false;\n }\n }\n };\n\n const checkActivePackage = (packageId) => {\n if (selectType) {\n if (selectType.package_id === packageId) {\n return true;\n } else {\n return false;\n }\n } else {\n return false;\n }\n };\n\n return (\n <>\n {!loading ? (\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n\n
    \n
    \n history.goBack()}\n >\n \n \n \n Go Back\n
    \n
    \n
    \n
    \n \n {\n packageItems.map((item, index) => (\n \n ))\n }\n \n \n
    \n \n\n {packageItems.map((item, index) => (\n \n ))}\n\n \n
    \n
    \n \n\n
    \n
    \n
    \n \n
    \n\n
    \n

    \n \n \n \n www.thehaylo.com.au\n

    \n

    \n \n \n \n info.thehaylo.com.au\n

    \n
    \n
    \n
    \n \n
    \n ) : (\n \n )}\n \n );\n};\n\nexport default EventType;\n","import React, { useState } from \"react\";\nimport { Required } from \"../../components/RegEx/ValidationMessage\";\nimport { useHistory } from \"react-router-dom\";\nimport http from \"../../config/BaseUrl\";\nimport LocalStorage from \"../../hook/LocalStorage\";\n\nfunction Form(props) {\n\n const { user } = LocalStorage();\n \n // const { submittedData } = props\n const { register, errors, watch, setValue} = props\n const history = useHistory()\n\n const cardNumberSpacing = (e) => {\n let valued = e.replace(/[^\\dA-Z]/g, '').replace(/(.{4})/g, '$1 ').trim();\n \n setCardNumber(valued)\n }\n\n const cardValidation = (e) => {\n let flag;\n if (\n e.keyCode === 8 ||\n e.keyCode === 9 ||\n (e.keyCode === 16 && e.keyCode >= 9) ||\n e.keyCode === 37 ||\n e.keyCode === 39 ||\n e.keyCode === 46 ||\n (e.keyCode >= 48 && e.keyCode <= 57) ||\n (e.keyCode >= 96 && e.keyCode <= 105)\n ) {\n flag = false;\n } else {\n flag = true;\n }\n\n if (flag) {\n e.preventDefault();\n }\n };\n\n const [cardNumber, setCardNumber] = useState(\"\");\n const [cardName, setCardName] = useState(\"\");\n const [expMonth, setExpMonth] = useState(\"\");\n const [expYear, setExpYear] = useState(\"\");\n const [cvv, setCvv] = useState(\"\");\n\n const handleSubmitForm = (data) => {\n // const formData = {\n // cardNumber:data.cardNumber,\n // cardholderName:data.cardholderName,\n // cvvNumber:data.cvvNumber,\n // expiryMonth:data.expiryMonth,\n // expiryYear:data.expiryYear,\n // user_id:user.id,\n // user_email:user.email,\n // submittedData:submittedData\n // }\n // http.post(\"member-ship\", formData).then((res) =>{\n // if(res.data.card_info){\n // history.push('/dashboard')\n // }\n // })\n\n }\n\n const handleField = (e) => {\n const { maxLength, value, id } = e.target;\n const [fieldId, fieldIndex] = id.split(\"-\");\n\n // Check if they hit the max character length\n if (value.length >= maxLength) {\n // Check if it's not the last input field\n if (parseInt(fieldIndex, 10) < 3) {\n // Get the next input field\n const nextSibling = document.querySelector(\n `#field-${parseInt(fieldIndex, 10) + 1}`\n );\n\n // If found, focus the next field\n if (nextSibling !== null) {\n nextSibling.focus();\n }\n }\n }\n };\n return (\n <>\n\n \n\n
    \n \n {\n cardNumberSpacing(e.target.value)\n \n }}\n value={cardNumber}\n onKeyDown={cardValidation.bind(this)}\n />\n {errors.cardNumber && errors.cardNumber.message}\n
    \n\n
    \n \n {\n setCardName(e.target.value);\n }}\n value={cardName} \n />\n
    \n Full name as displayed on card\n
    \n
    \n\n
    \n
    \n \n
    \n
    \n {\n setExpMonth(e.target.value);\n handleField(e);\n }}\n value={expMonth}\n onKeyDown={cardValidation.bind(this)}\n />\n
    \n\n
    \n {\n setExpYear(e.target.value);\n handleField(e);\n }}\n value={expYear}\n onKeyDown={cardValidation.bind(this)}\n />\n
    \n\n
    \n {\n setCvv(e.target.value);\n }}\n value={cvv}\n onKeyDown={cardValidation.bind(this)}\n />\n
    \n
    \n\n \n );\n}\n\nexport default Form;\n","export default \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGYAAABACAYAAADoKgJJAAAACXBIWXMAAAu4AAALuAE+shgXAAAa7klEQVR4nNw8C1gW1bZrfn8eIgIqLxUVURQxEd9vU3xUmqWVhXWMymP5qPSa1jl1j6furW4vj2aWpZmpqZnPkz01SQRfKIqIikooCvIQEREBEZi79p6ZPXtm9vz8dM859353fQ6zZz/XXmuvx157/0qgweuvO6A8erIkS1NBkiJlkP1BwnyHQ60gcS/J9CZJCQxg/rYDWebS7I+SL5vrqO969Q9+SuY6rJ3pzedrfdWb29Xrw5jbmvumKPD5duPWG4Y0zE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6s9HrsJfKxpgaVIkH2gmRQfzTgiCkX8VEcqpBrYrW5w9rnZOXL4FLZ3s+/kC2qdLxN3OTp7cxBRi2gTzOHGbJ6IIXeRw9tNNY98w3B2mXVmsj26xg6sd46sKUyg1zT38NlnmhKrg5TUL+P1/MNIvSKY2EkLUwn90xxI42hm/CMbhCfgTDTGmOHNbvDyn2FgwX/Dewqn+ULdrruqnFjtgtnnHz1YQW6jgvb8vmmjbgMnN8l+s5F1wIbJfO8pPIlfO3eiCjYV0sOwL0/qWTP5C2m12gAOc5WVWNQmoMc/A8pqBHYB6I29BNBwintrib1Irbx9nr5anc+Z5FQrC+gx1bewHe74wrYIp8CKYTYU6wTIE0yIs0jxc5d+VZMDa5Vr+YZg34iODYN1jifDR5u/B3pfzICFqFn++u98MBxmxFVLqkVBlkZlIZwC6SKDpuYp8hausrDTk5uZ6D5G/I2Ac0kEi79tkYBzaDt1xFEqEQKZAjJw+fdp4X71XhplpzAqwEozftc8ovYkpUiTBiJT7SpXdT0grRqRIghEpkioTKdKKESmSYESKJBiRItkYkSKtGJEiCUakKDiOG5FUmbhAmeDLGAazmf0XXxLfPigLlInMZrNt7+jouPdHbhJ+AWWBMpHrdLrGyMjIYpVKNVetVks2Zwbp6emx6fX6KzU1NZv5dwv3798fHBYWdjw8PHyJRqMJDAoS5z8luF8ZGhoCg8Fg7uvrqzOZTONfuuBaoaqq6mmlUrnVbrfjq5HS15RMM46vKZHJZDctFsvra9ascX5Nyf8Ab6Gwmv3I8NYAAAAASUVORK5CYII=\"","import React, { useState } from 'react'\nimport { useHistory } from 'react-router-dom'\nimport Form from '../../../components/PaymentForm/Form'\nimport http from '../../../config/BaseUrl'\nimport LocalStorage from \"../../../hook/LocalStorage\";\nimport { useForm } from \"react-hook-form\";\nimport amx from '../../../assets/images/payment/amx.png'\nimport masterCard from '../../../assets/images/payment/mastercard.png'\nimport visa from '../../../assets/images/payment/visa.png'\nimport Logo from '../../../assets/images/logo/Haylo-logo-white.png'\n\nfunction PaymentPage() {\n\n const { access_token, user } = LocalStorage();\n const history = useHistory()\n const [loading, setLoading] = useState(false)\n\n const packageData = history.location.state.package\n\n const { register, handleSubmit, formState: { errors }, setError, watch, setValue } = useForm({ mode: \"all\", reValidateMode: \"all\" })\n\n const handleSubmitForm = async (data) => {\n const formData = {\n cardNumber: data.cardNumber,\n cardholderName: data.cardholderName,\n cvvNumber: data.cvvNumber,\n expiryMonth: data.expiryMonth,\n expiryYear: data.expiryYear,\n user_id: user.id,\n user_email: user.email,\n submittedData: packageData,\n // auto_renewal: data.auto_renewal\n }\n const configToken = {\n headers: { Authorization: `Bearer ${access_token}` }\n };\n try {\n\n setLoading(true)\n await http.post(\"member-ship\", formData, configToken).then((res) => {\n if (res.data.card_info) {\n setLoading(false)\n localStorage.setItem(\"users\", JSON.stringify(res.data.user))\n history.push('/event/payment-success')\n } else {\n history.goBack()\n }\n })\n\n\n } catch (error) {\n console.log(error.message);\n }\n\n }\n\n return (\n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \"haylo\"\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Summary

    \n
    \n
    \n
    \n
    {packageData.package_name} ({packageData.billed})
    \n
    \n
    \n
    $ {packageData.price}/{packageData.billed === \"yearly\" ? \"yr\" : \"mo\"}
    \n
    \n
    \n
    \n
    \n

    Card Information

    \n
    \n
    \n \"visa\"\n
    \n
    \n \"masterCard\"\n
    \n
    \n \"amx\"\n
    \n
    \n
    \n \n {/*
    \n \n \n
    */}\n
    \n \n {loading && loading ? ()\n : (\"Subscribe\")\n }\n \n
    \n
    \n
    \n\n
    \n

    history.goBack()} className=\"text-primary\" style={{ cursor: 'pointer' }}>Back To Previous Page

    \n
    \n\n
    \n\n\n\n
    \n
    \n\n
    \n
    \n\n
    \n
    \n\n
    \n )\n}\n\nexport default PaymentPage\n","import React, { useState, useEffect } from 'react'\nimport { FcOk } from 'react-icons/fc'\n\nfunction PaymentSuccessful() {\n\n const [seconds, setSeconds] = useState(3)\n\n useEffect(() => {\n\n setTimeout(() => {\n if (seconds > 0) {\n setSeconds(seconds - 1)\n }\n else {\n window.location.href = \"/dashboard\"\n }\n }, 1000)\n })\n\n return (\n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n

    Payment Successful

    \n

    Thank you! We have received your Payment

    \n

    The page will redirect in {seconds} seconds

    \n
    \n\n
    \n
    \n
    \n
    \n
    \n\n
    \n )\n}\n\nexport default PaymentSuccessful\n","import React from \"react\";\nimport { Route, Redirect } from \"react-router-dom\";\nimport LocalStorage from \"../hook/LocalStorage\";\n\nexport const ProtectedRoute = ({ component: Component, ...rest }) => {\n const { access_token, user } = LocalStorage();\n\n let expired = true;\n\n if (user) {\n if(user.membership){\n let expireAt = new Date(user.membership.expire_at);\n let currentDate = new Date();\n \n let hours = Math.round(expireAt - currentDate) / 36e5;\n \n if (hours > 0) {\n expired = false;\n }\n else{\n expired = true\n }\n }\n else{\n expired = true\n }\n }\n\n\n return (\n {\n if (access_token && user.expire === 1 && !expired) {\n return ;\n }\n else if (access_token && user.expire === 1 && expired) {\n return (\n \n );\n }\n else if (access_token && user.expire === 0 && expired) {\n return (\n \n );\n }\n else {\n return (\n \n );\n }\n }}\n />\n );\n};\n","import React from \"react\";\nimport { Route, Redirect } from \"react-router-dom\";\n\nexport const PublicRoute = ({ component: Component, ...rest }) => {\n const token = typeof window !== 'undefined' ? localStorage.getItem(\"token_verify\") : '';\n return (\n {\n if (!token) {\n return ;\n } else {\n return (\n \n );\n }\n }}\n />\n );\n};\n","import React, { useState } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { useHistory, useLocation, useParams } from 'react-router-dom'\nimport http from '../../../config/BaseUrl'\nimport LoginImage from '../../../assets/images/login.jpg'\nimport Logo from '../../../assets/images/logo/Haylo-logo-white.png'\nimport '../style/style.css'\nimport { useEffect } from 'react'\n\nconst EmailVerify = () => {\n const history = useHistory()\n const { code } = useParams()\n const [loading, setLoading] = useState(false)\n\n const verifyEmail = async () => {\n console.log(code)\n try {\n const userInfo = {\n email_verified_code: code,\n }\n setLoading(true)\n await http.post(\"email/verify\", userInfo).then((res) => {\n let value = res.data.verify;\n let tokens = res.data.token;\n if (value.verify_status === \"active\") {\n localStorage.removeItem(\"token_verify\");\n localStorage.removeItem(\"users\");\n localStorage.removeItem(\"persist:root\")\n setTimeout(() => {\n localStorage.setItem(\"token_verify\", tokens);\n localStorage.setItem(\"users\", JSON.stringify(value));\n setLoading(false)\n if (value.membership && value.membership.package_type === \"trial\") {\n history.go(\"/dashboard\")\n }\n else {\n history.go(\"/event/type\")\n }\n }, 1000)\n }\n\n }).catch((err) => {\n console.log(err.response.message);\n setLoading(false)\n })\n } catch (error) {\n\n }\n }\n\n useEffect(() => {\n verifyEmail()\n }, [code])\n\n\n\n\n return (\n <>\n\n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \"haylo\"\n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {/*

    Don’t have an account? Sign up now

    */}\n
    \n
    \n
    \n
    \n
    \n

    Email Verifying

    \n
    \n\n
    \n

    The page will redirect in some moment {loading ? : ''}

    \n
    \n\n
    \n
    \n
    \n
    \n

    \n
    \n
    \n\n
    \n
    \n\n
    \n
    \n\n
    \n\n \n )\n}\n\nexport default EmailVerify\n","import React, { useEffect, useState } from 'react'\nimport { useForm } from 'react-hook-form';\nimport { FaInstagram, FaRegClosedCaptioning } from 'react-icons/fa';\nimport { FiSmartphone } from 'react-icons/fi';\nimport { GiDigitalTrace } from 'react-icons/gi';\nimport { HiOutlineMail } from 'react-icons/hi';\nimport { MdDesktopWindows } from 'react-icons/md';\nimport { VscFileMedia } from 'react-icons/vsc';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { useHistory } from 'react-router';\nimport NewFormWizard from '../../../components/formWizard/NewFormWizard';\nimport Layout from '../../../components/layouts/Layout';\nimport { eventOptionItems } from './slice/createEventSlice';\nimport { BsAspectRatio } from 'react-icons/bs';\nimport http from '../../../config/BaseUrl';\nimport { LoadingSpinner } from '../../../components/Loader/Loader';\nimport { ImFilm, ImQrcode } from 'react-icons/im';\nimport LocalStorage from '../../../hook/LocalStorage';\nimport { AiOutlineFileGif, AiFillEdit } from 'react-icons/ai';\nimport { IoMdGift } from 'react-icons/io';\n\nconst EventOption = () => {\n const dispatch = useDispatch()\n const history = useHistory();\n\n const { user } = LocalStorage()\n\n\n // const eventId = history.location.state\n const [packageTypes, setPackageTypes] = useState(null)\n const [adminPassword, setAdminPassword] = useState(new Array(4).fill(\"\"));\n const [emailTemplateErr, setTemplateErr] = useState(false)\n const { event_option, feature, eventId } = useSelector(state => state.createEvent)\n const [loading, setLoading] = useState(false)\n const [draftLoading, setDraftLoading] = useState(false)\n const [disableCustomBranding, setDisableCustomBranding] = useState(false)\n\n const { register, handleSubmit } = useForm({\n defaultValues: {\n filters: event_option.filters,\n digital_props: event_option.digital_props,\n data_capture: event_option.data_capture,\n social_media: event_option.social_media,\n email: event_option.email,\n frame_option: event_option.frame_option,\n water_mark: event_option.water_mark,\n text_messaging: event_option.text_messaging,\n gif: event_option.gif,\n brust_gif: event_option.brust_gif,\n microsite: event_option.microsite,\n incentive_offer: event_option.incentive_offer,\n qr_code: event_option.qr_code,\n form_builder: event_option.form_builder,\n },\n mode: \"all\",\n reValidateMode: \"onChange\"\n })\n\n useEffect(() => {\n if (event_option) {\n if (event_option.adminPassword) {\n let CreateArr = Object.assign([], event_option.adminPassword);\n setAdminPassword(CreateArr)\n }\n }\n }, [event_option])\n\n useEffect(() => {\n\n\n if (packageTypes) {\n if (packageTypes.custom_branding) {\n setDisableCustomBranding(false)\n }\n else {\n setDisableCustomBranding(true)\n }\n }\n }, [user, packageTypes])\n\n\n useEffect(() => {\n setLoading(true)\n http.get('/package-type')\n .then(res => {\n let data = res.data.packageType\n let monthlyData = []\n let yearlyData = []\n let singleData = []\n let trialData = []\n data.forEach(item => {\n monthlyData = [...monthlyData, { item_name: item.item_name, itemData: item.package_item_value.filter(filterItem => filterItem.our_package.package_type.type === \"monthly\") }]\n yearlyData = [...yearlyData, { item_name: item.item_name, itemData: item.package_item_value.filter(filterItem => filterItem.our_package.package_type.type === \"yearly\") }]\n singleData = [...singleData, { item_name: item.item_name, itemData: item.package_item_value.filter(filterItem => filterItem.our_package.package_type.type === \"single\") }]\n trialData = [...trialData, { item_name: item.item_name, itemData: item.package_item_value.filter(filterItem => filterItem.our_package.package_type.type === \"trial\") }]\n })\n\n let packageId = user.membership.package_id\n let packageType = user.membership.our_package.package_type.type\n\n let bindingItems = [\"Data Capture\", \"Custom Branding\", \"Survey Creations\", \"Offers & Promotions\", \"Custom Text Messages\", \"Email Marketing\", \"Social Media Marketing\"]\n let bindingsData\n if (packageType === 'trial') {\n bindingsData = checkPackageBinding(bindingItems, trialData, packageId)\n }\n else if (packageType === 'single') {\n bindingsData = checkPackageBinding(bindingItems, singleData, packageId)\n }\n else if (packageType === 'monthly') {\n bindingsData = checkPackageBinding(bindingItems, monthlyData, packageId)\n }\n else {\n bindingsData = checkPackageBinding(bindingItems, yearlyData, packageId)\n }\n\n\n let bindingObject = bindingsData.reduce(function (result, item) {\n var key = Object.keys(item)[0];\n result[key] = item[key];\n return result;\n }, {});\n\n setPackageTypes(bindingObject)\n setTimeout(() => {\n setLoading(false)\n }, 500)\n })\n .catch(err => {\n\n })\n }, [])\n\n const checkPackageBinding = (bindingItems, packageData, packageId) => {\n let bindingsData = []\n bindingItems.forEach(item => {\n let findData = packageData.find(data => data.item_name === item)\n let findPackage = findData.itemData.find(dataItem => dataItem.our_package_id === packageId)\n\n if (item === \"Custom Branding\") {\n bindingsData.push({ \"custom_branding\": findPackage.value == \"true\" ? 1 : 0 })\n }\n if (item === \"Custom Text Messages\") {\n bindingsData.push({ \"text_messaging\": findPackage.value == \"true\" ? 1 : 0 })\n }\n if (item === \"Email Marketing\") {\n bindingsData.push({ \"email\": findPackage.value == \"true\" ? 1 : 0 })\n }\n if (item === \"Social Media Marketing\") {\n bindingsData.push({ \"microsite\": findPackage.value == \"true\" ? 1 : 0 })\n }\n if (item === \"Offers & Promotions\") {\n bindingsData.push({ \"incentive_offer\": findPackage.value == \"true\" ? 1 : 0 })\n }\n if (item === \"Survey Creations\") {\n bindingsData.push({ \"form_builder\": findPackage.value == \"true\" ? 1 : 0 })\n }\n })\n\n return bindingsData\n }\n\n\n const handleChange = (element, index) => {\n if (isNaN(element.value)) return false;\n setAdminPassword([...adminPassword.map((d, idx) => (idx === index ? element.value : d))]); \n };\n\n const handleKeyPress = (e, index) => {\n if(e.keyCode === 8){\n if(e.target.previousSibling){\n e.target.previousSibling.focus();\n }\n }\n else{\n if (e.target.nextSibling) {\n e.target.nextSibling.focus();\n }\n }\n }\n\n\n const handelEventOption = async (data) => {\n const someTruthy = Object.values(data).some(val => val === true);\n const password = adminPassword.join('')\n if (someTruthy) {\n await dispatch(eventOptionItems({ ...data, adminPassword }))\n setLoading(true)\n http.post(\"event-option\", { ...data, password, eventId })\n .then((res) => {\n setLoading(false)\n let dataItem = res.data.event_option;\n if (dataItem.social_media === true) { history.push('/event/social', eventId) }\n else if (dataItem.gif === true) { history.push('/event/gif', eventId) }\n else if (dataItem.brust_gif === true) { history.push('/event/brust-gif', eventId) }\n else if (dataItem.email === true) { history.push('/event/email', eventId) }\n else if (dataItem.text_messaging === true) { history.push('/event/sms', eventId) }\n else if (dataItem.digital_props === true) { history.push('/event/digital-prop', eventId) }\n else if (dataItem.water_mark === true) { history.push('/event/custom-branding', eventId) }\n else if (dataItem.microsite === true) { history.push('/event/microsite', eventId) }\n else if (dataItem.frame_option === true) { history.push('/event/frame', eventId) }\n else if (dataItem.incentive_offer === true) { history.push('/event/incentive-offer', eventId) }\n else if (dataItem.filters === true) { history.push('/event/filter', eventId) }\n\n })\n .catch(err => setLoading(false))\n }\n else {\n setTemplateErr(true)\n }\n }\n\n const saveAsDraft = () => {\n handleSubmit(async (data) => {\n const password = adminPassword.join('')\n await dispatch(eventOptionItems({ ...data, adminPassword }))\n setDraftLoading(true)\n http.post(\"event-option\", { ...data, password, eventId })\n .then((res) => {\n setDraftLoading(false)\n })\n .catch(err => setDraftLoading(false))\n\n })()\n }\n\n return (\n \n \n {/* */}\n
    \n
    \n\n\n
    \n
    \n
    \n
    \n

    Event Options

    \n Select the features you want active.\n
    \n
    \n

    Choose any option

    \n
    \n
    \n\n {feature.sharing === true && (<>\n
    \n \n
    \n )}\n\n {feature.three_in_one === true && (<>\n
    \n \n
    \n
    \n \n
    \n )}\n\n {feature.sharing === true && (<>\n
    \n \n
    \n\n
    \n \n
    \n )}\n\n
    \n \n
    \n\n
    \n
    \n {\n disableCustomBranding ?\n

    Upgrade your package

    \n :\n \"\"\n }\n \n
    \n\n {feature.sharing === true && (<>\n
    \n \n
    \n )}\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n {feature.data_capture === true && (<>\n
    \n \n
    \n )}\n\n\n
    \n
    \n\n
    \n
    \n
    \n

    Admin Password

    \n

    Keep your event safe by securing it with a numerical password.

    \n\n
    \n
    \n

    Password

    \n
    \n {adminPassword && adminPassword.map((data, index) => (\n handleKeyPress(e, index)}\n onChange={e => handleChange(e.target, index)}\n onFocus={e => e.target.select()}\n required\n />\n )\n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n\n\n\n
    \n
    \n \n {loading ?\n ()\n : \n }\n\n {\n loading ?\n ()\n :\n \n }\n\n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default EventOption\n","import axios from 'axios'\nimport classNames from 'classnames'\nimport React, { useRef, useState } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { Link, useHistory } from 'react-router-dom'\nimport { InputForm } from '../../../components/Input'\nimport { regExEmail } from '../../../components/RegEx'\nimport { patternEmail, patternMinLength, Required } from '../../../components/RegEx/ValidationMessage'\nimport http from '../../../config/BaseUrl'\nimport '../style/style.css'\nimport Logo from '../../../assets/images/logo/Haylo-logo-white.png'\nimport RegisterImage from '../../../assets/images/register.jpg'\n\n\nconst RegisterUser = () => {\n const history = useHistory()\n const [userType, setUserType] = useState(\"individual\")\n const [loading, setLoading] = useState(false)\n const [businessCategory, setBusinessCategory] = useState(\"\")\n const { register, handleSubmit, watch, setError, formState: { errors } } = useForm({ mode: \"all\", reValidateMode: \"all\" })\n const password = useRef({});\n password.current = watch(\"password\", \"\");\n \n const handelRegister = async (data) => {\n try {\n setLoading(true)\n await http.post('register', data).then((res) => {\n let user_info = res.data.user;\n if (res.data.access_token) {\n history.push('/resend/email', { id: user_info.id, email: user_info.email })\n setLoading(false)\n }\n }).catch((err) => {\n const errorNames = Object.keys(err.response.data.errors);\n const errorMessages = Object.values(err.response.data.errors);\n errorNames.forEach((err, indx) => {\n setError(err, { type: 'required', message: errorMessages[indx][0] })\n })\n setLoading(false)\n })\n } catch (error) {\n setLoading(false)\n }\n }\n\n return (\n <>\n\n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \"haylo\"\n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Sign up to The Haylo

    \n
    \n
    \n
    \n\n
    \n
    \n setUserType(e.target.value)}\n checked={userType === \"individual\" ? true : false}\n />\n \n
    \n
    \n setUserType(e.target.value)}\n checked={userType === \"business\" ? true : false}\n />\n \n
    \n
    \n\n {userType === \"individual\" ? (<>\n
    \n \n
    \n\n
    \n \n
    \n ) : \"\"}\n\n {userType === \"business\" ? (<>\n\n
    \n setBusinessCategory(e.target.value)}\n >\n \n \n \n \n \n \n \n \n \n \n
    \n\n {businessCategory === \"other\" ?\n (<>
    \n \n
    ) : \"\"\n }\n\n
    \n \n
    \n\n ) : \"\"}\n\n\n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n value === password.current || \"The passwords do not match\"\n })}\n />\n
    \n\n
    \n \n \n {errors.check_promotion && \"Please check the agreement.\"}\n \n
    \n\n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    Already have an account? Back to login

    \n
    \n
    \n\n
    \n
    \n\n
    \n
    \n\n
    \n\n \n )\n}\n\nexport default RegisterUser\n","export default __webpack_public_path__ + \"static/media/register.a09e80e3.jpg\";","import React from 'react'\nimport { useState } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { useHistory } from 'react-router'\nimport NewFormWizard from '../../../../components/formWizard/NewFormWizard'\nimport NewFormWizardChild from '../../../../components/formWizard/NewFormWziardChild'\nimport Layout from '../../../../components/layouts/Layout'\nimport { LoadingSpinner } from '../../../../components/Loader/Loader'\nimport http from '../../../../config/BaseUrl'\nimport countryDialList from '../../../../dbJson/countryDialList.json'\nimport { eventSmsSharing } from '../slice/createEventSlice'\n\nconst TextSms = () => {\n const history = useHistory()\n const dispatch = useDispatch()\n // const eventId = history.location.state\n const { event_option, sms_sharing, eventId } = useSelector(state => state.createEvent)\n const [loading, setLoading] = useState(false)\n const [errorMessage, setErrorMessage] = useState(\"\");\n const [draftLoading, setDraftLoading] = useState(false)\n const { register, handleSubmit, setValue, watch, formState: { errors } } = useForm({\n mode: \"all\",\n reValidateMode: \"onChange\",\n defaultValues: {\n text_message: sms_sharing.text_message\n }\n\n })\n const textMessage = watch(\"text_message\");\n\n const handleTextChange = (event) => {\n const value = event.target.value;\n const emojiRegex = /[\\p{Emoji_Presentation}\\p{Extended_Pictographic}]/gu; // Regex to match a wide range of emojis\n\n if (!emojiRegex.test(value)) {\n setValue(\"text_message\", value);\n } else {\n setErrorMessage(\"\");\n setValue(\"text_message\", value);\n }\n };\n const handelSMS = async (data) => {\n const emojiRegex = /[\\p{Emoji_Presentation}\\p{Extended_Pictographic}]/gu; // Regex to match a wide range of emojis\n\n if (emojiRegex.test(data.text_message)) {\n setErrorMessage(\"Emojis are not allowed in the text message.\");\n return;\n }\n\n setErrorMessage(\"\");\n\n dispatch(eventSmsSharing(data))\n setLoading(true)\n http.post(\"text-sms\", { ...data, eventId }).then(res => {\n if (res.data.text_sms.draft_status === 'draft') {\n setLoading(false)\n if (event_option.digital_props === true) { history.push('/event/digital-prop', eventId) }\n else if (event_option.water_mark === true) { history.push('/event/custom-branding', eventId) }\n else if (event_option.microsite === true) { history.push('/event/microsite', eventId) }\n else if (event_option.frame_option === true) { history.push('/event/frame', eventId) }\n else if (event_option.incentive_offer === true) { history.push('/event/incentive-offer', eventId) }\n else if (event_option.filters === true) { history.push('/event/filter', eventId) }\n else if (event_option.form_builder === true) { history.push('/event/form-builder', eventId) }\n else { history.push('/event/summary', eventId) }\n }\n }).catch()\n\n\n }\n\n const saveAsDraft = () => {\n handleSubmit(async (data) => {\n const emojiRegex = /[\\p{Emoji_Presentation}\\p{Extended_Pictographic}]/gu; // Regex to match a wide range of emojis\n\n if (emojiRegex.test(data.text_message)) {\n setErrorMessage(\"Emojis are not allowed in the text message.\");\n return;\n }\n\n setErrorMessage(\"\");\n\n dispatch(eventSmsSharing(data))\n setDraftLoading(true)\n http.post(\"text-sms\", { ...data, eventId }).then(res => {\n if (res.data.text_sms.draft_status === 'draft') {\n setDraftLoading(false)\n }\n }).catch(err => {\n setDraftLoading(false)\n })\n\n })()\n }\n const BackToPreviousPage = (e) => {\n e.preventDefault()\n if (event_option.email === true) { history.push('/event/email') }\n else if (event_option.brust_gif === true) { history.push('/event/brust-gif') }\n else if (event_option.gif === true) { history.push('/event/gif') }\n else if (event_option.social_media === true) { history.push('/event/social') }\n else { history.push('/event/options') }\n }\n\n return (\n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Text Messaging

    \n

    SMS settings

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n {errors.text_message && errors.text_message.message}\n {errorMessage}\n
    \n\n
    \n \n
    \n \n
    \n
    \n {/*
    \n \n
    \n \n
    \n
    */}\n
    \n
    \n
    \n
    \n\n\n
    \n
    \n \n {loading ?\n ()\n : \n }\n {\n loading ?\n ()\n :\n \n }\n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default TextSms\n","import React, { useEffect, useState } from 'react'\nimport http, { URL_S3 } from '../../../../config/BaseUrl'\nimport '../../style/style.css'\n\nfunction DigitalProps(props) {\n\n const [propsItems, setPropsItem] = useState([])\n const [submitClose, setSubmitClose] = useState(false)\n const [digitalProp, setDigitalProp] = useState([])\n const [loading, setLoading] = useState(false)\n\n const DigitalPropsItems = async () => {\n try {\n setLoading(true)\n await http.get(\"event-props\").then((res) => {\n if (res.data.prop_digital) {\n let responseData = [];\n res.data.prop_digital.forEach(props=>{\n let manipulateData = {\n ...props,\n selectedAll: false\n }\n responseData.push(manipulateData)\n })\n \n setDigitalProp(responseData)\n \n setLoading(false)\n }\n }).catch((err) => {\n setLoading(false)\n })\n } catch (error) {\n setLoading(false)\n }\n }\n\n const handleSubmit = (e) => {\n e.preventDefault();\n if (propsItems) {\n props.setData(propsItems)\n }\n }\n\n useEffect(() => {\n DigitalPropsItems()\n }, [])\n\n useEffect(() => {\n if (propsItems.length != props.digitalPropsItem.length) {\n setPropsItem(props.digitalPropsItem)\n }\n\n // if (props.digitalPropsItem.length > 0) {\n // if (digitalProp.length > 0) {\n // let copyDigitalProp = [...digitalProp]\n // let ids = []\n // props.digitalPropsItem.forEach(item=>{\n // ids.push(item.id)\n // })\n \n // copyDigitalProp = copyDigitalProp.forEach(propList=>{\n // let propItem = propList.prop\n // for (let i = 0; i < propItem.length; i++) {\n // if (ids.includes(propItem[i].id)) {\n // propList.selectedAll = true\n // break;\n // }\n // }\n // })\n // setDigitalProp(copyDigitalProp)\n // }\n // }\n\n }, [props])\n\n \n\n const changeValue = (item) => {\n\n let copyItem = [...propsItems]\n let IndexOfItem = copyItem.findIndex(data => data.id === item.id)\n\n if (IndexOfItem >= 0) {\n copyItem.splice(IndexOfItem, 1)\n setPropsItem(copyItem)\n }\n else {\n copyItem = [...copyItem, item]\n setPropsItem(copyItem)\n }\n\n if (copyItem.length > 0) {\n setSubmitClose(true)\n }\n else {\n setSubmitClose(false)\n }\n\n }\n\n\n const selectAllData = (index) => {\n let copyData = [...digitalProp]\n let choosenData = copyData[index] \n let copyItem = [...propsItems]\n\n if (!choosenData.selectedAll) {\n choosenData.prop.forEach(prop => {\n let item = { id: prop.id, image: prop.prop }\n\n let IndexOfItem = copyItem.findIndex(data => data.id === item.id)\n\n if (IndexOfItem < 0) {\n copyItem = [...copyItem, item]\n setPropsItem(copyItem)\n }\n })\n\n choosenData.selectedAll = true;\n copyData[index] = choosenData\n setDigitalProp(copyData)\n \n }\n else{\n choosenData.prop.forEach(prop => {\n let item = { id: prop.id, image: prop.prop }\n\n let IndexOfItem = copyItem.findIndex(data => data.id === item.id)\n\n if (IndexOfItem >= 0) {\n copyItem.splice(IndexOfItem, 1)\n setPropsItem(copyItem)\n }\n })\n\n choosenData.selectedAll = false;\n copyData[index] = choosenData\n setDigitalProp(copyData)\n }\n\n if (copyItem.length > 0) {\n setSubmitClose(true)\n }\n else {\n setSubmitClose(false)\n }\n\n \n }\n\n\n return (\n
    \n
    \n
    \n
    \n
    Select Digital Props
    \n \n
    \n
    \n
    \n
      \n {\n digitalProp &&\n digitalProp.map((propCategory, index) => (\n
    • \n \n {propCategory.category_name}\n \n
    • \n ))\n }\n\n\n
    \n
    \n
    \n\n {\n !loading ?\n digitalProp &&\n digitalProp.map((propCategory, index) => (\n \n
    \n
    \n\n {\n propCategory.prop.length > 0 ?\n propCategory.prop.map((items) => {\n return (\n
    changeValue({ id: items.id, image: items.prop })}>\n
    item.id === items.id) >= 0 && 'active-template'}`}>\n \"template-1\"\n
    \n
    \n )\n })\n :\n
    \n

    No Props Found

    \n
    \n }\n
    \n\n
    \n\n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n\n
    \n\n ))\n :\n
    \n \n
    \n }\n\n
    \n
    \n \n
    \n
    \n \n )\n}\n\nexport default DigitalProps\n","import React, { useState, useEffect } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { ImEqualizer2 } from 'react-icons/im'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { useHistory } from 'react-router-dom'\nimport NewFormWizard from '../../../../components/formWizard/NewFormWizard'\nimport NewFormWizardChild from '../../../../components/formWizard/NewFormWziardChild'\nimport Layout from '../../../../components/layouts/Layout'\nimport { digitalProp } from '../slice/createEventSlice'\nimport DigitalProps from '../../components/Modal/DigitalProps'\nimport { IoTrashSharp } from 'react-icons/io5'\nimport http, { URL_S3 } from '../../../../config/BaseUrl'\nimport { LoadingSpinner } from '../../../../components/Loader/Loader'\n\nconst DigitalSetting = () => {\n\n const history = useHistory();\n const dispatch = useDispatch()\n const { event_option, digital_prop, eventId } = useSelector(state => state.createEvent)\n const [emailTemplateErr, setTemplateErr] = useState(false)\n const [modalView, setModalView] = useState(false)\n const [loading, setLoading] = useState(false)\n const [draftLoading, setDraftLoading] = useState(false)\n const [digitalPropsItem, setDigitalProps] = useState([])\n const { register, handleSubmit } = useForm()\n\n const handelDigitalProp = async (data) => {\n\n if (digitalPropsItem.length > 0) {\n await dispatch(digitalProp({ digital_prop_frame: digitalPropsItem }))\n setLoading(true)\n http.post(\"digital-prop\", { digital_prop_frame: digitalPropsItem, eventId }).then(res => {\n if (res.data.digital_prop === 'success') {\n setLoading(false)\n if (event_option.water_mark === true) { history.push('/event/custom-branding', eventId) }\n else if (event_option.microsite === true) { history.push('/event/microsite', eventId) }\n else if (event_option.frame_option === true) { history.push('/event/frame', eventId) }\n else if (event_option.incentive_offer === true) { history.push('/event/incentive-offer', eventId) }\n else if (event_option.filters === true) { history.push('/event/filter', eventId) }\n else if (event_option.form_builder === true) { history.push('/event/form-builder', eventId) }\n else { history.push('/event/summary', eventId) }\n }\n }).catch(err => setLoading(false))\n }\n else {\n setTemplateErr(true)\n }\n }\n\n useEffect(() => {\n if (digital_prop) {\n console.log(digital_prop);\n if (digital_prop.digital_prop_frame && digital_prop.digital_prop_frame.length > 0) {\n setDigitalProps(digital_prop.digital_prop_frame)\n }\n }\n }, [digital_prop])\n\n const setDigitalPropsByProps = (data) => {\n setDigitalProps(data)\n setTemplateErr(false)\n }\n\n const removeProps = (id) => {\n let copyProps = [...digitalPropsItem]\n copyProps.splice(id, 1)\n setDigitalProps(copyProps)\n\n }\n\n const saveAsDraft = () => {\n handleSubmit(async (data) => {\n if (digitalPropsItem.length > 0) {\n await dispatch(digitalProp({ digital_prop_frame: digitalPropsItem }))\n setDraftLoading(true)\n http.post(\"digital-prop\", { digital_prop_frame: digitalPropsItem, eventId }).then(res => {\n if (res.data.digital_prop === 'success') {\n setDraftLoading(false)\n }\n }).catch(err => setDraftLoading(false))\n\n\n }\n else {\n setTemplateErr(true)\n }\n\n })()\n }\n\n const BackToPreviousPage = (e) => {\n e.preventDefault()\n if (event_option.text_messaging === true) { history.push('/event/sms') }\n else if (event_option.email === true) { history.push('/event/email') }\n else if (event_option.brust_gif === true) { history.push('/event/brust-gif') }\n else if (event_option.gif === true) { history.push('/event/gif') }\n else if (event_option.social_media === true) { history.push('/event/social') }\n else { history.push('/event/options') }\n }\n\n return (\n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Digital Prop Settings

    \n

    Manage your digital props

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n

    Prop Library

    \n
    \n
    \n \n {\n modalView &&\n \n }\n
    \n
    \n {\n emailTemplateErr &&\n

    Choose any library

    \n\n }\n
    \n
    \n {\n digitalPropsItem.length > 0 ?\n digitalPropsItem.map((propItem, index) => (\n
    \n \"props-data\"\n \n \n \n
    \n ))\n\n :\n
    \n

    No Props Selected.

    \n
    \n }\n\n
    \n\n
    \n
    \n
    \n
    \n\n
    \n
    \n \n {loading ?\n ()\n : \n }\n {\n loading ?\n ()\n :\n \n }\n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default DigitalSetting\n","import React, { useEffect, useState } from 'react'\nimport http, { URL_S3 } from '../../../../config/BaseUrl'\nimport '../../style/style.css'\n\n\nfunction PropFilter(props) {\n\n const [propsItems, setPropsItem] = useState([])\n const [propFilter, setPropFilter] = useState([])\n const [loading, setLoading] = useState(false)\n const [submitClose, setSubmitClose] = useState(false)\n const [selectedAll, setSelectedAll] = useState(false)\n\n const FetchColorFilterItems = async () => {\n try {\n setLoading(true)\n await http.get(\"event-color-filter\").then((res) => {\n if(res.data.filterColor){\n setPropFilter(res.data.filterColor)\n setLoading(false)\n }\n }).catch((err) => {\n setLoading(false)\n })\n } catch (error) {\n setLoading(false)\n }\n }\n\n const handleSubmit = () => {\n if (propsItems) {\n props.setData(propsItems)\n }\n }\n\n useEffect(() => {\n if (propsItems.length != props.propFilterItem.length) {\n setPropsItem(props.propFilterItem)\n }\n if (props.propFilterItem.length > 0) {\n setSelectedAll(true)\n }\n else{\n setSelectedAll(false)\n }\n FetchColorFilterItems()\n }, [props])\n\n const changeValue = (item) => {\n let copyItem = [...propsItems]\n let IndexOfItem = copyItem.findIndex(data => data.id === item.id)\n\n if (IndexOfItem >= 0) {\n copyItem.splice(IndexOfItem, 1)\n setPropsItem(copyItem)\n }\n else {\n setPropsItem([...copyItem, item])\n\n }\n\n setSubmitClose(true)\n\n }\n\n const selectAllData = () => {\n let copyItem = [...propsItems]\n let copyData = [...propFilter]\n if (!selectedAll) {\n copyData.forEach(itemData => {\n let dataSet = { id: itemData.id, image: itemData.filter_url }\n let IndexOfItem = copyItem.findIndex(data => data.id === dataSet.id)\n\n if (IndexOfItem < 0) {\n copyItem = [...copyItem, dataSet]\n setPropsItem(copyItem)\n }\n })\n setSelectedAll(true)\n\n }\n else{\n copyData.forEach(itemData => {\n let dataSet = { id: itemData.id, image: itemData.filter_url }\n let IndexOfItem = copyItem.findIndex(data => data.id === dataSet.id)\n\n if (IndexOfItem >= 0) {\n copyItem.splice(IndexOfItem, 1)\n setPropsItem(copyItem)\n }\n })\n\n setSelectedAll(false)\n }\n if (copyItem.length > 0) {\n setSubmitClose(true)\n }\n else {\n setSubmitClose(false)\n }\n \n }\n\n return (\n
    \n
    \n
    \n
    \n
    Select Filter
    \n \n
    \n
    \n\n
    \n \n
    \n
    \n {loading ? \n
    \n \n
    \n :propFilter.map((items) => (\n
    changeValue({ id: items.id, image: items.filter_url })}>\n
    item.id === items.id) >= 0 && 'active-template'}`}>\n \"template-1\"\n
    \n
    \n ))\n }\n
    \n\n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n )\n}\n\nexport default PropFilter\n","import React, { useEffect, useState } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { ImEqualizer2 } from 'react-icons/im'\nimport { IoTrashSharp } from 'react-icons/io5'\nimport { VscFilter } from 'react-icons/vsc'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { useHistory } from 'react-router-dom'\nimport NewFormWizard from '../../../../components/formWizard/NewFormWizard'\nimport NewFormWizardChild from '../../../../components/formWizard/NewFormWziardChild'\nimport Layout from '../../../../components/layouts/Layout'\nimport { LoadingSpinner } from '../../../../components/Loader/Loader'\nimport http, { URL_S3 } from '../../../../config/BaseUrl'\nimport PropFilter from '../../components/Modal/PropFilter'\nimport { eventFilters } from '../slice/createEventSlice'\n\nconst Filter = () => {\n\n\n const dispatch = useDispatch()\n const history = useHistory()\n // const eventId = history.location.state\n const [propFilterItem, setPropFilter] = useState([])\n const [emailTemplateErr, setTemplateErr] = useState(false)\n const { event_option, filters, eventId } = useSelector(state => state.createEvent)\n const [loading, setLoading] = useState(false)\n const [draftLoading, setDraftLoading] = useState(false)\n\n const quotationLoader = {\n position: 'fixed',\n zIndex: '1000',\n background: 'rgba(255,255,255, 0.78)',\n width: '100%',\n height: '100vh',\n top: '0',\n left: '0',\n display: 'grid',\n alignItems: 'center',\n textAlign: 'center',\n }\n\n const handelFilter = async (e, data) => {\n e.preventDefault();\n dispatch(eventFilters(propFilterItem))\n setLoading(true)\n http.post(\"event-filter\", { option_filters: propFilterItem, eventId }).then(res => {\n if (res.data.filters === 'success') {\n if (event_option) {\n if (event_option.form_builder === true) { history.push('/event/form-builder', eventId) }\n else { history.push('/event/summary', eventId) }\n }\n setLoading(false)\n }\n }).catch()\n\n }\n\n useEffect(() => {\n if (filters) {\n if (filters.length > 0) {\n setPropFilter(filters)\n }\n }\n }, [filters])\n\n\n const setPropFilterByProps = (data) => {\n setPropFilter(data)\n }\n\n const removeProps = (id) => {\n let copyProps = [...propFilterItem]\n copyProps.splice(id, 1)\n setPropFilter(copyProps)\n }\n\n const saveAsDraft = () => {\n dispatch(eventFilters(propFilterItem))\n setDraftLoading(true)\n http.post(\"event-filter\", { option_filters: propFilterItem, eventId }).then(res => {\n if (res.data.filters === 'success') {\n setDraftLoading(false)\n }\n }).catch(err => setDraftLoading(false))\n }\n\n \n const BackToPreviousPage = (e) => {\n e.preventDefault()\n if (event_option.incentive_offer === true) { history.push('/event/incentive-offer') }\n else if (event_option.frame_option === true) { history.push('/event/frame') }\n else if (event_option.microsite === true) { history.push('/event/microsite') }\n else if (event_option.water_mark === true) { history.push('/event/custom-branding') }\n else if (event_option.digital_props === true) { history.push('/event/digital-prop') }\n else if (event_option.text_messaging === true) { history.push('/event/sms') }\n else if (event_option.email === true) { history.push('/event/email') }\n else if (event_option.brust_gif === true) { history.push('/event/brust-gif') }\n else if (event_option.gif === true) { history.push('/event/gif') }\n else if (event_option.social_media === true) { history.push('/event/social') }\n else { history.push('/event/options') }\n }\n\n\n return (\n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Filters

    \n

    Set your filters

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n

    Filter Library

    \n
    \n {\n emailTemplateErr &&\n

    Choose any library

    \n }\n
    \n \n\n \n
    \n
    \n
    \n
    \n {\n propFilterItem.length > 0 ?\n propFilterItem.map((propItem, index) => (\n
    \n \"props-data\"\n \n \n \n
    \n ))\n\n :\n
    \n

    No Filter Selected.

    \n
    \n }\n\n
    \n
    \n\n
    \n
    \n
    \n\n
    \n\n
    \n
    \n \n {loading ?\n ()\n : \n }\n {\n loading ?\n ()\n :\n \n }\n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default Filter\n","import React, { useState, useEffect } from 'react'\nimport http, { URL_S3 } from '../../../../config/BaseUrl'\nimport '../../style/style.css'\n\nfunction MicrositeModal(props) {\n\n const [template, setTemplate] = useState(null)\n const [submitClose, setSubmitClose] = useState(false)\n const [microSiteTemplate, setMicroSiteTemplate] = useState([])\n const [microSiteMyTemplate, setMicroSiteMyTemplate] = useState([])\n const [loading, setLoading] = useState(false)\n\n const fetchMicroSiteTemplate = async () => {\n try {\n setLoading(true)\n await http.get(\"event-micro-site-template\")\n .then((res) => {\n if (res.data.micro_site) {\n setMicroSiteTemplate(res.data.micro_site)\n setLoading(false)\n }\n }).catch((err) => {\n setLoading(false)\n })\n } catch (error) {\n setLoading(false)\n }\n }\n\n useEffect(() => {\n fetchMicroSiteTemplate()\n },[])\n\n const handleSubmit = () => {\n if (template) {\n console.log(template)\n props.setData(template)\n }\n }\n\n const changeValue = (item) => {\n setTemplate(item)\n setSubmitClose(true)\n }\n\n useEffect(() => {\n if (props.hasOwnProperty('oldItem')) {\n if (props.oldItem) {\n let indx = microSiteTemplate.findIndex(item => item.id == props.oldItem)\n setTemplate(microSiteTemplate[indx])\n }\n\n console.log(template)\n }\n }, [props])\n\n const fetchMyTempate = async () => {\n setLoading(true)\n try {\n setLoading(true)\n await http.get(\"user/saved/social-gallery-template\")\n .then((res) => {\n const responseData = res.data.data.data\n let myTemplateData = []\n responseData.forEach(data=>{\n let customData = {\n name: data.name,\n my_template_id: data.id,\n contents: data.contents,\n ...data.social_template\n }\n\n myTemplateData.push(customData)\n })\n setMicroSiteMyTemplate(myTemplateData)\n setLoading(false)\n }).catch((err) => {\n setLoading(false)\n })\n } catch (error) {\n setLoading(false)\n }\n \n }\n\n\n return (\n
    \n
    \n
    \n
    \n
    Select Your Social Gallery
    \n \n
    \n
    \n
    \n
      \n
    • \n \n Standard Template\n \n
    • \n
    • \n \n My Template\n \n
    • \n
    \n
    \n\n
    \n \n
    \n
    \n {loading ? \n
    \n \n
    \n :microSiteTemplate.map((item, index) => (\n
    changeValue(item)} key={`microsite-template-image-${index}`}>\n
    \n \"template-1\"\n
    \n \n
    \n ))\n }\n\n
    \n\n
    \n
    \n \n
    \n {loading ? \n
    \n \n
    \n :microSiteMyTemplate && \n microSiteMyTemplate.length > 0 ?\n microSiteMyTemplate.map((item, index) => (\n
    \n changeValue({ id: item.id, template_image: item.template_image, my_social_gallery_id: item.my_template_id ,\n contents: item.contents\n })}\n key={`microsite-template-image-${index}`}\n >\n
    \n \"template-1\"\n
    \n

    {item.name}

    \n
    \n ))\n :\n
    \n

    No template found

    \n
    \n }\n
    \n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n \n \n )\n}\n\nexport default MicrositeModal\n","import React, { useState, useEffect, useRef } from 'react'\nimport Modal from 'react-modal'\nimport { Editor } from '@tinymce/tinymce-react';\n\nfunction HeaderTrackingModal({ isOpen, closeModal, handleHeaderScript }) {\n const [headerData, setHeaderData] = useState(null)\n const editorRef = useRef()\n const customStyles = {\n overlay: {\n position: 'fixed',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n backgroundColor: 'rgb(0 0 0 / 80%)',\n zIndex:100,\n width:'500x',\n height:'500x',\n },\n content: {\n position: 'relative',\n top: '50%',\n left: '50%',\n right: 'auto',\n bottom: 'auto',\n marginRight: '-50%',\n transform: 'translate(-50%, -50%)',\n width:'500px',\n height:'500',\n overflow: 'hidden'\n },\n closeBtn:{\n position: 'absolute',\n top:0,\n right:'-1%',\n background:'transparent',\n border:'none',\n color:'red'\n }\n \n \n };\n\n const saveChanges = () => {\n handleHeaderScript(headerData)\n closeModal(false)\n }\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n

    Js Header Tracking

    \n
    \n
    \n {/* editorRef.current = editor}\n initialValue=\"\"\n value={headerData}\n init={{\n height: 200,\n menubar: false,\n plugins: [\n 'advlist autolink lists link image charmap print preview anchor',\n 'searchreplace visualblocks code fullscreen',\n 'insertdatetime media table paste code help wordcount'\n ],\n toolbar: 'undo redo | formatselect | ' +\n 'bold italic backcolor | alignleft aligncenter ' +\n 'alignright alignjustify | bullist numlist outdent indent | ' +\n 'removeformat | help',\n content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px }'\n }}\n onEditorChange={(newValue, editor) => setHeaderData(newValue)}\n /> */}\n \n\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n \n )\n}\n\nexport default HeaderTrackingModal\n","import React, { useEffect, useState } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { useHistory } from 'react-router'\nimport NewFormWizard from '../../../../components/formWizard/NewFormWizard'\nimport NewFormWizardChild from '../../../../components/formWizard/NewFormWziardChild'\nimport Layout from '../../../../components/layouts/Layout'\nimport UploadFile from '../../../../hook/UploadFile'\nimport { eventMicroSite } from '../slice/createEventSlice'\nimport MicrositeModal from '../../components/Modal/MicrositeModal'\nimport http, { URL_S3 } from '../../../../config/BaseUrl'\nimport { LoadingSpinner } from '../../../../components/Loader/Loader'\nimport HeaderTrackingModal from '../../components/Modal/HeaderTrackingModal'\n\nconst MicroSite = () => {\n const history = useHistory()\n const dispatch = useDispatch()\n const [microSite, setMicroSite] = useState(null)\n const [emailTemplateErr, setTemplateErr] = useState(false)\n const { event_option, micro_site, eventId } = useSelector(state => state.createEvent)\n const [loading, setLoading] = useState(false)\n const [draftLoading, setDraftLoading] = useState(false)\n const [my_social_gallery_id, setSocialMyTemplateId] = useState(null)\n const [socialTemplateType, setEmailTemplateType] = useState(null)\n const [socialTemplateContents, setEmailTemplateContents] = useState(null)\n const [openModal, setOpenModal] = useState(false)\n const [headerScript, setHeaderScript] = useState(null)\n const [socialGalleryOption, setSocialGalleryOption] = useState({\n // instagram: false,\n sms: false,\n email: false,\n // linked_in: false,\n // facebook: false,\n // twitter: false,\n download: false,\n // snapchat:false, \n // tiktok:false, \n // signal:false, \n // telegram:false\n })\n const { register, handleSubmit, formState: { errors } } = useForm({\n mode: \"all\",\n reValidateMode: \"onChange\",\n defaultValues: {\n gallery_button: micro_site.gallery_button,\n meta_title: micro_site.meta_title,\n gallery_password: micro_site.gallery_password\n }\n\n })\n const { fileURL, onChangeFile, setFileURL } = UploadFile()\n\n useEffect(() => {\n if (micro_site) {\n setMicroSite(micro_site.microSite_template)\n setFileURL(micro_site.fileURL)\n setSocialGalleryOption({\n // instagram: micro_site.instagram,\n sms: micro_site.sms,\n email: micro_site.email,\n linked_in: micro_site.linked_in,\n // facebook: micro_site.facebook,\n // twitter: micro_site.twitter,\n download: micro_site.download,\n // snapchat:micro_site.snapchat, \n // tiktok:micro_site.tiktok, \n // signal:micro_site.signal, \n // telegram:micro_site.telegram\n })\n }\n }, [micro_site])\n\n const handleHeaderScript = (data) => {\n setHeaderScript(data)\n }\n\n const handelMicroSite = async (data) => {\n if (microSite) {\n await dispatch(eventMicroSite({ ...data, ...socialGalleryOption, microSite_template: microSite, fileURL: fileURL, tag_script: headerScript }));\n setLoading(true)\n http.post(\"social-gallery\", { ...data, ...socialGalleryOption, microsite_template: microSite, background_img: fileURL, eventId, template_type: socialTemplateType, my_social_gallery_id, contents: socialTemplateContents, tag_script: headerScript }).then(res => {\n setLoading(false)\n if (event_option.frame_option === true) { history.push('/event/frame', eventId) }\n else if (event_option.incentive_offer === true) { history.push('/event/incentive-offer', eventId) }\n else if (event_option.filters === true) { history.push('/event/filter', eventId) }\n else if (event_option.form_builder === true) { history.push('/event/form-builder', eventId) }\n else { history.push('/event/summary', eventId) }\n }).catch(err => setLoading(false))\n\n }\n else {\n setTemplateErr(true)\n }\n }\n\n\n const setMicrositeByProps = (data) => {\n if ('contents' in data) {\n setMicroSite({id: data.id, image: data.image})\n setEmailTemplateContents(data.contents)\n setEmailTemplateType('my_template')\n setSocialMyTemplateId(data.my_social_gallery_id)\n }\n else{\n setMicroSite(data)\n }\n setMicroSite(data)\n }\n\n const selectAllSocialSharign = () => {\n let checkbox = document.querySelector(\".select-all-item\");\n if (checkbox.checked) {\n setSocialGalleryOption({\n // instagram: true,\n sms: true,\n email: true,\n // linked_in: true,\n // facebook: true,\n // twitter: true,\n download: true,\n // snapchat:true,\n // tiktok:true,\n // signal:true,\n // telegram:true,\n })\n }\n else {\n setSocialGalleryOption({\n // instagram: false,\n sms: false,\n email: false,\n // linked_in: false,\n // facebook: false,\n // twitter: false,\n download: false,\n // snapchat:false,\n // tiktok:false,\n // signal:false,\n // telegram:false,\n })\n }\n\n }\n\n const selectSocialGalleryItem = (e) => {\n let checkbox = document.querySelector(`input[name='${e.target.name}']`)\n\n if (checkbox.checked) {\n setSocialGalleryOption({ ...socialGalleryOption, [e.target.name]: true })\n }\n else {\n setSocialGalleryOption({ ...socialGalleryOption, [e.target.name]: false })\n }\n }\n\n const saveAsDraft = () => {\n handleSubmit(async (data) => {\n if (microSite) {\n await dispatch(eventMicroSite({ ...data, ...socialGalleryOption, microSite_template: microSite, fileURL: fileURL, tag_script: headerScript }));\n setDraftLoading(true)\n http.post(\"social-gallery\", { ...data, ...socialGalleryOption, microsite_template: microSite, background_img: fileURL, eventId, tag_script: headerScript }).then(res => {\n setDraftLoading(false)\n }).catch(err => setDraftLoading(false))\n\n }\n else {\n setTemplateErr(true)\n }\n })()\n }\n\n useEffect(()=>{\n if (typeof history.location.state == \"object\" && \"editedData\" in history.location.state) {\n const theData = history.location.state.editedData\n setMicroSite({id: theData.template.id, template_image:theData.template.image})\n setEmailTemplateType(theData.saveAs)\n setEmailTemplateContents(theData.content)\n if (theData.saveAs == 'my_template') {\n setSocialMyTemplateId(theData.my_social_gallery_id)\n }\n else{\n setSocialMyTemplateId(null)\n }\n }\n }, [history])\n\n const BackToPreviousPage = (e) => {\n e.preventDefault()\n if (event_option.water_mark === true) { history.push('/event/custom-branding') }\n else if (event_option.digital_props === true) { history.push('/event/digital-prop') }\n else if (event_option.text_messaging === true) { history.push('/event/sms') }\n else if (event_option.email === true) { history.push('/event/email') }\n else if (event_option.brust_gif === true) { history.push('/event/brust-gif') }\n else if (event_option.gif === true) { history.push('/event/gif') }\n else if (event_option.social_media === true) { history.push('/event/social') }\n else { history.push('/event/options') }\n }\n return (\n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Social Gallery

    \n

    Edit gallery settings

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    Social Sharing Option
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n \n \n \n
    \n\n
    \n \n \n \n
    \n\n {/*
    \n \n \n \n
    \n\n
    \n \n \n \n
    \n\n\n\n
    \n \n \n \n
    \n\n
    \n \n \n \n
    \n\n
    \n \n \n \n
    \n
    \n \n \n \n
    \n \n
    \n \n \n \n
    */}\n\n {/*
    \n \n \n \n
    */}\n\n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    Gallery Option
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {\n !microSite ?\n
    \n

    Choose Email Template.

    \n
    \n :\n
    \n \"email-template\"\n
    \n }\n
    \n
    \n
    \n \n\n \n\n

    Choose any template

    \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {/*
    \n \n
    \n \n
    \n
    */}\n
    \n \n
    \n \n
    \n Leave blank if you don't want the gallery password protected\n
    \n\n
    \n
    \n
    \n
    \n\n
    \n
    \n \n {loading ?\n ()\n : \n }\n {\n loading ?\n ()\n :\n \n }\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default MicroSite\n","import React, { useEffect, useState } from \"react\";\nimport { Link } from \"react-router-dom\";\nimport { useDebounce } from \"use-debounce\";\nimport {\n Table,\n TableBody,\n TableFilter,\n TableHeader,\n TablePagination,\n TableSearch,\n} from \"../../../components/table\";\nimport http from \"../../../config/BaseUrl\";\nimport useTimeFormate from \"../../../hook/useTimeFormat\";\n\nfunction DataCaptureTable() {\n const { formateLocalTime } = useTimeFormate();\n const [loading, setLoading] = useState(false);\n const [dataCapture, setDataCapture] = useState([]);\n const [currentPage, setCurrentPage] = useState(1);\n const [searchKeyWord, setSearchKeyWord] = useState(\"\");\n const [searchKeyWordDebounce] = useDebounce(searchKeyWord, 1000);\n\n const handleSearch = (query) => {\n setSearchKeyWord(query);\n setCurrentPage(1);\n };\n\n const fetchDataCapture = async (params) => {\n try {\n setLoading(true);\n await http\n .get(\"data-capture/events\", { params })\n .then((res) => {\n if (res) {\n setDataCapture(res.data.events);\n setLoading(false);\n }\n })\n .catch((err) => {\n console.log(err.response.data.message);\n setLoading(false);\n });\n } catch (error) {}\n };\n\n useEffect(() => {\n const params = {\n page: currentPage,\n search: searchKeyWordDebounce,\n };\n fetchDataCapture(params);\n }, [currentPage, searchKeyWordDebounce]);\n\n return (\n
    \n \n handleSearch(e.target.value)}\n />\n \n \n \n \n \n \n \n \n \n {/* */}\n \n \n \n \n {/* {liveEvent && liveEvent.length === 0 ? () : (\"\")} */}\n {loading ? (\n \n \n \n ) : (\n dataCapture.data &&\n dataCapture.data.map((item) => {\n return (\n \n \n \n \n \n \n \n \n );\n })\n )}\n \n
    EventVenueStart Date & TimeEnd Date & TimeCaptured LeadsTotal CostAction
    items not found
    \n
    \n \n
    \n
    {item.event_name}{item.venue_name}{formateLocalTime(item.event_start_date)}{formateLocalTime(item.event_end_date)}{item.data_capture_count}\n {item.data_capture_count > 0 ? (\n \n View\n \n ) : (\n // item.data_capture_payment_status == \"unpaid\" ?\n // \n // Pay\n // \n // :\n // \n // View\n // \n \n View\n \n )}\n
    \n setCurrentPage(page)}\n />\n
    \n );\n}\n\nexport default DataCaptureTable;\n","import React, { useEffect, useState } from \"react\";\nimport Layout from \"../../components/layouts/Layout\";\nimport DataCaptureTable from './components/DataCaptureTable'\nimport Chart from \"../../components/Rechart/Chart\";\nimport http from \"../../config/BaseUrl\";\n\n\n\nconst DataCapture = () => {\n\n const [isLoading, setIsLoading] = useState(false);\n const [eventGraph, setEventGraph] = useState(\"\");\n\n const fetchGraphData = async () => {\n try {\n setIsLoading(true)\n await http.get(\"data-trend-graph/data-capture\").then(res => {\n if (res.data.graphData) {\n setIsLoading(false)\n setEventGraph(res.data.graphData)\n }\n }).catch((err) => {\n console.log('fail');\n setIsLoading(false)\n })\n } catch (error) {\n\n }\n }\n\n const graphTotalText = {\n week: `This Week`,\n month: 'This Month',\n year: 'This Year'\n }\n\n useEffect(() => {\n fetchGraphData()\n }, [])\n\n return (\n \n
    \n
    \n
    \n\n \n\n
    \n
    \n\n
    \n
    \n
    \n
    \n \n
    \n
    \n\n
    \n
    \n
    \n\n
    \n );\n};\n\nexport default DataCapture;\n","import React from \"react\";\n\nconst Checkbox = ({ id, type, name, handleClick, isChecked }) => {\n return (\n \n );\n};\n\nexport default Checkbox;","import React, { useEffect, useRef, useState } from \"react\";\nimport Modal from \"react-modal\";\nimport { useLocation, useParams } from \"react-router-dom\";\nimport { useDebounce } from \"use-debounce\";\n\nimport {\n Table,\n TableBody,\n TableFilter,\n TableHeader,\n TableSearch,\n} from \"../../../components/table\";\n\nimport Checkbox from \"../../../components/Checkbox/Checkbox\";\nimport { LoadingSpinner } from \"../../../components/Loader/Loader\";\nimport http, { downloadUrl } from \"../../../config/BaseUrl\";\nimport useTimeFormat from \"../../../hook/useTimeFormat\";\n\nModal.setAppElement(\"#root\");\n\nconst customStyles = {\n overlay: {\n position: \"fixed\",\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n backgroundColor: \"rgb(0 0 0 / 80%)\",\n zIndex: 100,\n width: \"700x\",\n height: \"500x\",\n },\n content: {\n position: \"relative\",\n top: \"50%\",\n left: \"50%\",\n right: \"auto\",\n bottom: \"auto\",\n marginRight: \"-50%\",\n transform: \"translate(-50%, -50%)\",\n width: \"700px\",\n height: \"500\",\n overflow: \"hidden\",\n },\n closeBtn: {\n position: \"absolute\",\n top: 0,\n right: \"-1%\",\n background: \"transparent\",\n border: \"none\",\n color: \"red\",\n },\n};\n\nfunction DataView() {\n const { formateLocalTime } = useTimeFormat();\n const perPage = 5;\n const { id } = useParams();\n const location = useLocation();\n const [loading, setLoading] = useState(false);\n const [loadingSMS, setLoadingSMS] = useState(false);\n const [loadingEmail, setLoadingEmail] = useState(false);\n const [dataView, setDataView] = useState([]);\n const editorRef = useRef();\n const { CKEditor, ClassicEditor } = editorRef.current || {};\n\n const [totalPages, setTotalPages] = useState(1);\n const [currentPage, setCurrentPage] = useState(1);\n\n const [searchKeyWord, setSearchKeyWord] = useState(\"\");\n const [searchKeyWordDebounce] = useDebounce(searchKeyWord, 1000);\n const [modalIsOpenEmail, setModalIsOpenEmail] = useState(false);\n const [modalIsOpenSMS, setModalIsOpenSMS] = useState(false);\n const [modalIsOpenAllSms, setModalIsOpenAllSms] = useState(false);\n const [modalIsOpenAllEmail, setModalIsOpenAllEmail] = useState(false);\n\n const [isCheckAll, setIsCheckAll] = useState(false);\n const [isCheck, setIsCheck] = useState([]);\n //\n const [allSelect, setAllSelect] = useState(\"\");\n const [multipleSelect, setMultipleSelect] = useState([]);\n // send sms\n const [sendSMS, setSendSMS] = useState([]);\n const [smsMessage, setSmsMessage] = useState(\"\");\n // send email\n const [sendEmail, setSendEmail] = useState([]);\n const [emailSubject, setEmailSubject] = useState(\"\");\n const [emailMessage, setEmailMessage] = useState(\"\");\n\n const [smsAllMessage, setAllSmsMessage] = useState(\"\");\n const [emailAllMessage, setAllEmailMessage] = useState(\"\");\n\n const handleSelectAll = (all) => {\n setAllSelect(all);\n setIsCheckAll(!isCheckAll);\n setIsCheck(dataView && dataView.map((li) => li.id));\n\n if (isCheckAll) {\n setIsCheck([]);\n setAllSelect(\"\");\n }\n };\n\n const handleClick = (id, itemEmailPhone) => {\n let multipleSmsEmail = [...multipleSelect, itemEmailPhone];\n setMultipleSelect(multipleSmsEmail);\n let copyItem = [...isCheck];\n let findIndx = copyItem.indexOf(parseInt(id));\n if (findIndx >= 0) {\n copyItem.splice(findIndx, 1);\n setIsCheck(copyItem);\n } else {\n copyItem = [...copyItem, parseInt(id)];\n setIsCheck(copyItem);\n }\n };\n\n // multiple sms/email\n const handelSelectAllSmsEmail = (itemData) => {\n if (itemData === \"sms\") {\n if (allSelect === \"all\") {\n setModalIsOpenAllSms(true);\n } else if (isCheck.length >= 1) {\n setModalIsOpenAllSms(true);\n }\n } else if (itemData === \"email\") {\n if (allSelect === \"all\") {\n setModalIsOpenAllEmail(true);\n } else if (isCheck.length >= 1) {\n setModalIsOpenAllEmail(true);\n }\n }\n };\n\n const sendAllSmsEmail = (status) => {\n if (status === \"sms\") {\n if (allSelect === \"all\") {\n let dataAllSms = {\n message: \"smsAllMessage All\",\n select_type: \"all\",\n type: \"sms\",\n event_id: id,\n };\n } else if (isCheck.length >= 1) {\n setModalIsOpenAllSms(true);\n let dataMultipleSms = {\n mobile: multipleSelect.map((value) => {\n return value.mobile;\n }),\n message: smsAllMessage,\n select_type: \"multiple\",\n type: \"sms\",\n event_id: id,\n };\n }\n } else if (status === \"email\") {\n if (allSelect === \"all\") {\n let dataAllEmail = {\n subject: emailSubject,\n message: emailAllMessage,\n select_type: \"all\",\n type: \"email\",\n event_id: id,\n };\n setLoadingEmail(true);\n http.post(\"leads/bulk/sms-email\", dataAllEmail).then((res) => {\n if (res.data.status === \"success\") {\n setLoadingEmail(false);\n setEmailSubject(\"\");\n setAllEmailMessage(\"\");\n setModalIsOpenAllEmail(false);\n }\n });\n } else if (isCheck.length >= 1) {\n setModalIsOpenAllEmail(true);\n let dataMultipleEmail = {\n email: multipleSelect.map((value) => {\n return value.email;\n }),\n subject: emailSubject,\n message: emailAllMessage,\n select_type: \"multiple\",\n type: \"email\",\n event_id: id,\n };\n setLoadingEmail(true);\n http.post(\"leads/bulk/sms-email\", dataMultipleEmail).then((res) => {\n if (res.data.status === \"success\") {\n setLoadingEmail(false);\n setEmailSubject(\"\");\n setAllEmailMessage(\"\");\n setModalIsOpenAllEmail(false);\n }\n });\n }\n }\n };\n\n // single sms start\n const singleSendSMS = (itemSms) => {\n let mobileArray = {\n phone: itemSms.mobile,\n };\n let isCheckID = isCheck.filter((ids) => ids === itemSms.id);\n if (isCheckID[0] === isCheck[0]) {\n setSendSMS(Object.values(mobileArray));\n setModalIsOpenSMS(true);\n }\n };\n\n const sendSMSToCustomer = () => {\n let dataSms = {\n mobile: sendSMS,\n message: smsMessage,\n select_type: \"single\",\n type: \"sms\",\n event_id: id,\n };\n console.log(\"send SMS single\", dataSms);\n };\n // single sms end\n\n // single email start\n const singleSendEmail = (itemEmail) => {\n let emailArray = {\n email: itemEmail.email,\n };\n let isCheckID = isCheck.filter((ids) => ids === itemEmail.id);\n if (isCheckID[0] === isCheck[0]) {\n setSendEmail(Object.values(emailArray));\n setModalIsOpenEmail(true);\n }\n };\n\n const sendEmailToCustomer = () => {\n let dataEmail = {\n email: sendEmail,\n subject: emailSubject,\n message: emailMessage,\n select_type: \"single\",\n type: \"email\",\n event_id: id,\n };\n try {\n setLoadingEmail(true);\n http.post(\"leads/bulk/sms-email\", dataEmail).then((res) => {\n if (res.data.status === \"success\") {\n setLoadingEmail(false);\n setEmailSubject(\"\");\n setEmailMessage(\"\");\n setModalIsOpenEmail(false);\n }\n });\n } catch (error) {}\n };\n // single email end\n\n const handleSearch = (query) => {\n setSearchKeyWord(query);\n };\n\n const fetchDataView = async (params) => {\n try {\n setLoading(true);\n await http\n .get(`data-capture-events-view/${id}`, { params })\n .then((res) => {\n setTotalPages(res.last_page);\n setDataView([...dataView, ...res.data.event.data]);\n setLoading(false);\n })\n .catch((err) => {\n setLoading(false);\n });\n } catch (error) {\n setLoading(false);\n }\n };\n\n useEffect(() => {\n const params = {\n per_page: perPage,\n page: currentPage,\n search: searchKeyWordDebounce,\n };\n fetchDataView(params);\n // eslint-disable-next-line react-hooks/exhaustive-deps\n }, [searchKeyWordDebounce, currentPage]);\n\n useEffect(() => {\n editorRef.current = {\n // CKEditor: require('@ckeditor/ckeditor5-react'), // depricated in v3\n CKEditor: require(\"@ckeditor/ckeditor5-react\").CKEditor,\n ClassicEditor: require(\"@ckeditor/ckeditor5-build-classic\"),\n };\n }, []);\n\n const downloadCsv = (uuid) => {\n window.open(`${downloadUrl}export-data-capture/${uuid}`);\n };\n\n return (\n
    \n \n handleSearch(e.target.value)}\n />\n \n
    \n \n {allSelect === \"all\"\n ? \"Send All SMS\"\n : isCheck.length <= 1\n ? \"Send All SMS \"\n : \"Send Marked SMS\"}\n \n \n {allSelect === \"all\"\n ? \"Send All Email\"\n : isCheck.length <= 1\n ? \"Send All Email\"\n : \"Send Marked Email\"}\n \n \n Export CSV\n \n
    \n \n \n \n \n \n \n \n {/* \n */}\n \n \n\n {/* \n \n */}\n {/* */}\n \n \n \n {loading ? (\n \n \n \n ) : (\n dataView &&\n dataView.map((item, index) => {\n return (\n \n \n \n \n \n \n \n \n );\n })\n )}\n
    \n \n
    \n \n NameEmailMobileSuburbFavorite DrinksCaptured Date & TimeSend SMS/Email#Form DataCaptured Date & TimeSend SMS/Email
    \n
    \n \n
    \n
    \n \n {item.name}{item.email}{item.mobile}{formateLocalTime(item.created_at)}\n \n Send SMS\n \n \n Send Email\n \n
    \n
    \n {totalPages !== currentPage && (\n setCurrentPage(currentPage + 1)}\n >\n {loading ? \"Loading...\" : \"Load More\"}\n \n )}\n
    \n {/*

    hello

    */}\n {/* setCurrentPage(page)}\n /> */}\n\n {/* Modal for SMS */}\n \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n \n setSmsMessage(e.target.value)}\n className=\"form-control\"\n id=\"\"\n cols=\"30\"\n rows=\"10\"\n >\n
    \n
    \n setModalIsOpenSMS(false)}\n >\n {\" \"}\n Cancel{\" \"}\n \n \n {\" \"}\n Send\n \n
    \n
    \n
    \n
    \n
    \n \n\n {/* Modal for Email */}\n \n
    \n
    \n
    \n
    \n
    \n \n setEmailSubject(e.target.value)}\n className=\"form-control\"\n />\n
    \n
    \n \n {\n editor.editing.view.change((writer) => {\n writer.setStyle(\n \"height\",\n \"300px\",\n editor.editing.view.document.getRoot()\n );\n });\n }}\n onChange={(event, editor) => {\n const data = editor.getData();\n setEmailMessage(data);\n }}\n />\n
    \n
    \n setModalIsOpenEmail(false)}\n >\n {\" \"}\n Cancel{\" \"}\n \n \n {loadingEmail ? (\n \n ) : (\n \"Send\"\n )}\n \n
    \n
    \n
    \n
    \n
    \n \n\n {/* Modal for AllSMSl */}\n \n
    \n
    \n
    \n
    \n \n setAllSmsMessage(e.target.value)}\n className=\"form-control\"\n id=\"\"\n cols=\"30\"\n rows=\"10\"\n >\n
    \n
    \n setModalIsOpenAllSms(false)}\n >\n {\" \"}\n Cancel{\" \"}\n \n \n Send\n \n
    \n
    \n
    \n
    \n \n\n {/* Modal for AllEmail */}\n \n
    \n
    \n
    \n
    \n
    \n \n setEmailSubject(e.target.value)}\n className=\"form-control\"\n />\n
    \n
    \n \n {\n editor.editing.view.change((writer) => {\n writer.setStyle(\n \"height\",\n \"300px\",\n editor.editing.view.document.getRoot()\n );\n });\n }}\n onChange={(event, editor) => {\n const data = editor.getData();\n setAllEmailMessage(data);\n }}\n />\n
    \n
    \n setModalIsOpenAllEmail(false)}\n >\n {\" \"}\n Cancel{\" \"}\n \n \n {loadingEmail ? (\n \n ) : (\n \"Send\"\n )}\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n );\n}\n\nexport default DataView;\n","import React from 'react'\nimport Layout from '../../components/layouts/Layout'\nimport DataView from './components/DataView'\n\nfunction View() {\n return (\n \n
    \n\n
    \n
    \n
    \n
    \n

    Data Capture List

    \n
    \n
    \n \n
    \n
    \n\n
    \n
    \n
    \n\n
    \n )\n}\n\nexport default View\n","import React, { useState } from 'react'\nimport { useHistory } from 'react-router-dom'\nimport Form from '../../../components/PaymentForm/Form'\nimport Layout from \"../../../components/layouts/Layout\";\nimport { useForm } from \"react-hook-form\";\nimport LocalStorage from \"../../../hook/LocalStorage\";\nimport amx from '../../../assets/images/payment/amx.png'\nimport masterCard from '../../../assets/images/payment/mastercard.png'\nimport visa from '../../../assets/images/payment/visa.png'\nimport http from '../../../config/BaseUrl';\nimport { useEffect } from 'react';\nimport Logo from '../../../assets/images/logo/Haylo-logo-white.png'\n\nfunction PaymentCapture() {\n\n const { user } = LocalStorage();\n const history = useHistory()\n\n const { register, handleSubmit, formState: { errors }, setError } = useForm({ mode: \"all\", reValidateMode: \"all\" })\n const [loading, setLoading] = useState(false)\n const handleSubmitForm = (data) => {\n const formData = {\n cardNumber: data.cardNumber,\n cardholderName: data.cardholderName,\n cvvNumber: data.cvvNumber,\n expiryMonth: data.expiryMonth,\n expiryYear: data.expiryYear,\n user_id: user.id,\n user_email: user.email,\n submittedData: history.location.state.item\n }\n try {\n http.post('data-capture-payment', formData).then((res) => {\n if (res) {\n history.push('/data-capture/payment/success')\n }\n\n }).then((err) => {\n\n })\n } catch (error) {\n\n }\n }\n\n return (\n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \"haylo\"\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Card Information

    \n
    \n
    \n \"visa\"\n
    \n
    \n \"masterCard\"\n
    \n
    \n \"amx\"\n
    \n
    \n
    \n \n
    \n \n {loading && loading ? ()\n : (\" Purchase Data\")\n }\n \n
    \n
    \n
    \n\n
    \n

    history.goBack()} className=\"text-primary\" style={{ cursor: 'pointer' }}>Back To Previous Page

    \n
    \n\n
    \n\n\n\n
    \n
    \n\n
    \n
    \n\n
    \n
    \n\n
    \n )\n}\n\nexport default PaymentCapture\n","import React, { useState, useEffect } from 'react'\nimport { FcOk } from 'react-icons/fc'\nimport Layout from '../../components/layouts/Layout'\n\nfunction PaymentSuccessfulPage() {\n\n const [seconds, setSeconds] = useState(3)\n\n useEffect(() => {\n\n setTimeout(() => {\n if (seconds > 0) {\n setSeconds(seconds - 1)\n }\n else {\n window.location.href = \"/data-capture\"\n }\n }, 1000)\n })\n\n return (\n \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n

    Payment Successful

    \n

    Thank you! We have received your Payment

    \n

    The page will redirect in {seconds} seconds

    \n
    \n\n
    \n
    \n
    \n
    \n
    \n\n
    \n )\n}\n\nexport default PaymentSuccessfulPage\n","import React, { useEffect, useState } from 'react'\nimport { useForm } from 'react-hook-form';\nimport { AiFillEdit, AiOutlineFileGif } from 'react-icons/ai';\nimport { BsAspectRatio } from 'react-icons/bs';\nimport { FaInstagram, FaRegClosedCaptioning } from 'react-icons/fa';\nimport { FiSmartphone } from 'react-icons/fi';\nimport { GiDigitalTrace } from 'react-icons/gi';\nimport { HiOutlineMail } from 'react-icons/hi';\nimport { ImFilm, ImQrcode } from 'react-icons/im';\nimport { IoMdGift } from 'react-icons/io';\nimport { MdDesktopWindows } from 'react-icons/md';\nimport { VscFileMedia } from 'react-icons/vsc';\nimport { useDispatch } from 'react-redux';\nimport { useHistory, useParams } from 'react-router';\nimport NewFormWizard from '../../components/formWizard/NewFormWizard';\nimport Layout from '../../components/layouts/Layout';\nimport http from '../../config/BaseUrl';\nimport LocalStorage from '../../hook/LocalStorage';\n\nconst EventOptionEdit = () => {\n const dispatch = useDispatch()\n const { id } = useParams();\n const history = useHistory();\n const { user } = LocalStorage()\n const eventOptionItem = history.location.state.eventOption\n const feature = history.location.state.eventFeature\n const [packageTypes, setPackageTypes] = useState(null)\n const [adminPassword, setAdminPassword] = useState(new Array(4).fill(\"\"));\n const [disableCustomBranding, setDisableCustomBranding] = useState(false)\n const [loading, setLoading] = useState(false);\n\n\n const { register, handleSubmit } = useForm({\n defaultValues: {\n gif: eventOptionItem.gif,\n brust_gif: eventOptionItem.brust_gif,\n filters: eventOptionItem.filters,\n digital_props: eventOptionItem.digital_props,\n data_capture: eventOptionItem.data_capture,\n social_media: eventOptionItem.social_media,\n email: eventOptionItem.email,\n text_messaging: eventOptionItem.text_messaging,\n filters: eventOptionItem.filters,\n water_mark: eventOptionItem.water_mark,\n microsite: eventOptionItem.microsite,\n incentive_offer: eventOptionItem.incentive_offer,\n qr_code: parseInt(eventOptionItem.qr_code),\n frame: eventOptionItem.frame ? eventOptionItem.frame : 0,\n form_builder: eventOptionItem.form_builder ? eventOptionItem.form_builder : 0\n },\n mode: \"all\",\n reValidateMode: \"onChange\"\n })\n\n useEffect(() => {\n if (eventOptionItem) {\n let CreateArr = Object.assign([], eventOptionItem.admin_password);\n\n setAdminPassword(CreateArr)\n }\n }, [eventOptionItem])\n\n useEffect(() => {\n if (packageTypes) {\n if (packageTypes.custom_branding) {\n setDisableCustomBranding(false)\n }\n else {\n setDisableCustomBranding(true)\n }\n }\n\n }, [user, packageTypes])\n\n\n useEffect(() => {\n setLoading(true)\n http.get('/package-type')\n .then(res => {\n let data = res.data.packageType\n let singleData = []\n let monthlyData = []\n let yearlyData = []\n let trialData = []\n data.forEach(item => {\n singleData = [...singleData, { item_name: item.item_name, itemData: item.package_item_value.filter(filterItem => filterItem.our_package.package_type.type === \"single\") }]\n monthlyData = [...monthlyData, { item_name: item.item_name, itemData: item.package_item_value.filter(filterItem => filterItem.our_package.package_type.type === \"monthly\") }]\n yearlyData = [...yearlyData, { item_name: item.item_name, itemData: item.package_item_value.filter(filterItem => filterItem.our_package.package_type.type === \"yearly\") }]\n trialData = [...trialData, { item_name: item.item_name, itemData: item.package_item_value.filter(filterItem => filterItem.our_package.package_type.type === \"trial\") }]\n })\n\n let packageId = user.membership.package_id\n let packageType = user.membership.our_package.package_type.type\n\n let bindingItems = [\"Data Capture\", \"Custom Branding\", \"Survey Creations\", \"Offers & Promotions\", \"Custom Text Messages\", \"Email Marketing\", \"Social Media Marketing\"]\n let bindingsData\n if (packageType === 'trial') {\n bindingsData = checkPackageBinding(bindingItems, trialData, packageId)\n }\n else if (packageType === 'monthly') {\n bindingsData = checkPackageBinding(bindingItems, monthlyData, packageId)\n }\n else if (packageType === 'single') {\n bindingsData = checkPackageBinding(bindingItems, singleData, packageId)\n }\n else {\n bindingsData = checkPackageBinding(bindingItems, yearlyData, packageId)\n }\n\n let bindingObject = bindingsData.reduce(function (result, item) {\n var key = Object.keys(item)[0];\n result[key] = item[key];\n return result;\n }, {});\n\n\n setPackageTypes(bindingObject)\n\n setTimeout(() => {\n setLoading(false)\n }, 500)\n })\n .catch(err => {\n\n })\n }, [])\n\n const checkPackageBinding = (bindingItems, packageData, packageId) => {\n let bindingsData = []\n bindingItems.forEach(item => {\n let findData = packageData.find(data => data.item_name === item)\n let findPackage = findData.itemData.find(dataItem => dataItem.our_package_id === packageId)\n\n if (item === \"Custom Branding\") {\n bindingsData.push({ \"custom_branding\": findPackage.value == \"true\" ? 1 : 0 })\n }\n if (item === \"Custom Text Messages\") {\n bindingsData.push({ \"text_messaging\": findPackage.value == \"true\" ? 1 : 0 })\n }\n if (item === \"Email Marketing\") {\n bindingsData.push({ \"email\": findPackage.value == \"true\" ? 1 : 0 })\n }\n if (item === \"Social Media Marketing\") {\n bindingsData.push({ \"microsite\": findPackage.value == \"true\" ? 1 : 0 })\n }\n if (item === \"Offers & Promotions\") {\n bindingsData.push({ \"incentive_offer\": findPackage.value == \"true\" ? 1 : 0 })\n }\n if (item === \"Survey Creations\") {\n bindingsData.push({ \"form_builder\": findPackage.value == \"true\" ? 1 : 0 })\n }\n })\n\n return bindingsData\n }\n\n\n\n const handleChange = (element, index) => {\n if (isNaN(element.value)) return false;\n setAdminPassword([...adminPassword.map((d, idx) => (idx === index ? element.value : d))]);\n };\n\n const handleKeyPress = (e, index) => {\n if(e.keyCode === 8){\n if(e.target.previousSibling){\n e.target.previousSibling.focus();\n }\n }\n else{\n if (e.target.nextSibling) {\n e.target.nextSibling.focus();\n }\n }\n }\n\n const handelEventOptionUpdate = async (data) => {\n setLoading(true)\n try {\n await http.post(`event/option/update/${id}`, { ...data, admin_password: adminPassword.join(\"\") }).then((res) => {\n if (res) {\n setLoading(false)\n history.push(`/show/event/${eventOptionItem.event_id}`, 'Information Updated.')\n }\n })\n } catch (error) {\n\n }\n }\n\n return (\n \n \n
    \n
    \n\n
    \n
    \n
    \n
    \n

    Event Option

    \n Choose the event option\n
    \n
    \n
    \n
    \n\n
    \n \n
    \n\n\n
    \n \n
    \n
    \n \n
    \n\n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n\n {\n feature.data_capture ?\n
    \n \n
    \n : \"\"\n }\n\n
    \n
    \n
    \n
    \n
    \n

    Admin Password

    \n

    Keep your event safe by securing it with a numerical password.

    \n\n
    \n
    \n

    Password

    \n
    \n {adminPassword && adminPassword.map((data, index) => (\n handleKeyPress(e, index)}\n onChange={e => handleChange(e.target, index)}\n onFocus={e => e.target.select()}\n required\n />\n )\n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n\n\n\n\n\n\n\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default EventOptionEdit\n","import React, { useEffect, useState } from 'react'\nimport classNames from 'classnames';\nimport { useForm } from 'react-hook-form';\nimport { useHistory, useParams } from 'react-router-dom';\nimport Layout from '../../components/layouts/Layout';\nimport timeZone from '../../dbJson/timezones.json';\nimport { Label } from '../../components/Input';\nimport UploadFile from '../../hook/UploadFile';\nimport http, { URL_S3 } from '../../config/BaseUrl';\nimport NewFormWizard from '../../components/formWizard/NewFormWizard';\nimport { DateTimePickerComponent } from '@syncfusion/ej2-react-calendars';\nimport moment from 'moment'\n\n\nconst EventInfoEdit = () => {\n const history = useHistory();\n const { id } = useParams();\n const editEventInfo = history.location.state.eventInfo\n const [loading, setLoading] = useState(false);\n const [startDateDefault, setStartDateDefault] = useState(null)\n const [startDate, setStartDate] = useState(null)\n const [endDateDefault, setEndDateDefault] = useState(null)\n const [endDate, setEndDate] = useState(null)\n const [editStartDate, setEditStartDate] = useState(false)\n const [lifeTime, setLifeTime] = useState(false)\n\n const htmlAttributes = { placeholder: \"Select a date and time\" };\n\n const { register, handleSubmit, setError, formState: { errors }, clearErrors } = useForm({\n mode: \"onChange\",\n reValidateMode: \"all\",\n defaultValues: {\n event_name: editEventInfo.event_name,\n event_start_date: editEventInfo.event_start_date,\n event_details: editEventInfo.event_details,\n event_end_date: editEventInfo.event_end_date,\n venue_name: editEventInfo.venue_name,\n time_zone: editEventInfo.time_zone\n }\n });\n\n useEffect(() => {\n let stDate = new Date(editEventInfo.event_start_date)\n let enDate = new Date(editEventInfo.event_end_date)\n setStartDate(editEventInfo.event_start_date)\n setStartDateDefault(stDate)\n\n if (editEventInfo.life_time) {\n setLifeTime(true)\n }\n else{\n setEndDate(editEventInfo.event_end_date)\n setEndDateDefault(enDate)\n }\n\n checkFutureEvent(stDate)\n\n }, [editEventInfo])\n\n const dateStartTimeConverter = (value) => {\n\n setStartDate(moment(value).format('YYYY-MM-DD HH:mm'))\n setStartDateDefault(value)\n if (value) {\n clearErrors('event_start_date')\n }\n }\n const dateEndTimeConverter = (value) => {\n\n setEndDate(moment(value).format('YYYY-MM-DD HH:mm'))\n setEndDateDefault(value)\n if (value) {\n clearErrors('event_end_date')\n }\n }\n\n // custom hook\n const { fileURL, onChangeFile } = UploadFile()\n\n const handelInfo = async (data) => {\n if (lifeTime) {\n if (!startDate || startDate === 'Invalid date') {\n setError(\"event_start_date\", {\n type: \"manual\",\n message: \"Event start date is required\",\n });\n setTimeout(()=>{\n clearErrors(['event_start_date'])\n }, 3000)\n }\n else { \n submitFormData(data) \n } \n }\n else{\n if (!startDate || !endDate) {\n if (!startDate || startDate === 'Invalid date') {\n setError(\"event_start_date\", {\n type: \"manual\",\n message: \"Event start date is required\",\n });\n }\n if (!endDate || endDate === 'Invalid date') {\n setError(\"event_end_date\", {\n type: \"manual\",\n message: \"Event end date is required\",\n });\n }\n\n setTimeout(()=>{\n clearErrors(['event_start_date', 'event_end_date'])\n }, 3000)\n \n } else {\n submitFormData(data)\n }\n }\n\n }\n\n const submitFormData = async (data) => {\n let startDt = new Date(startDate);\n let endDt = new Date(endDate);\n let currentDate = new Date();\n let hours = Math.round(endDt - currentDate) / 36e5;\n \n if (lifeTime) {\n let eDate = lifeTime ? moment().add(200, 'y').format('YYYY-MM-DD HH:mm') : endDate\n setLoading(true)\n try {\n await http.post(`/event/info/update/${id}`, { ...data, event_info_image: fileURL, event_start_date: startDate, event_end_date: eDate, life_time: lifeTime ? 1 : 0 })\n .then(res => {\n if (res.data == 'success') {\n setLoading(false)\n history.push(`/show/event/${id}`, 'Information Updated.')\n }\n })\n } catch (error) {\n\n }\n }\n else if (hours <= 48 && hours > 0) {\n setLoading(true)\n try {\n await http.post(`/event/info/update/${id}`, { ...data, event_info_image: fileURL, event_start_date: startDate, event_end_date: endDate, life_time: lifeTime ? 1 : 0 })\n .then(res => {\n if (res.data == 'success') {\n setLoading(false)\n history.push(`/show/event/${id}`, 'Information Updated.')\n }\n })\n } catch (error) {\n\n }\n } else {\n let name = { event_end_date: [\"event_end_date\"] };\n let nameArr = [[\"Please select date & time below 48 hour\"]];\n const errorNames = Object.keys(name);\n const errorMessages = Object.values(nameArr);\n errorNames.forEach((err, indx) => {\n setError(err, { type: 'required', message: errorMessages[indx][0] })\n })\n\n setTimeout(() => {\n clearErrors(errorNames)\n }, 3000)\n\n }\n }\n\n const checkFutureEvent = (date) => {\n let currentDate = new Date();\n let eventStartDate = new Date(date);\n let hours = Math.ceil(Math.round(currentDate - eventStartDate) / 36e5);\n if (hours > 0) {\n setEditStartDate(true)\n }\n else {\n setEditStartDate(false)\n }\n\n }\n\n const checkLifeTime = (e) => {\n setLifeTime(e.target.checked)\n }\n\n return (\n \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    Event Information

    \n Fill all the information\n
    \n
    \n\n
    \n
    \n \n \n
    \n\n
    \n \n { dateStartTimeConverter(e.value) }}\n />\n {errors.event_start_date && errors.event_start_date.message}\n
    \n
    \n
    \n \n
    \n \n \n
    \n
    \n { dateEndTimeConverter(e.value) }}\n />\n {errors.event_end_date && errors.event_end_date.message}\n
    \n
    \n \n \n
    \n\n
    \n \n \n
    \n\n
    \n \n \n \n {timeZone && timeZone.map((res, index) => (\n \n ))}\n \n

    {errors.time_zone && errors.time_zone.message}

    \n
    \n
    \n
    \n \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default EventInfoEdit\n","import React, { useEffect, useState } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { useHistory, useParams } from 'react-router-dom'\nimport NewFormWizard from '../../components/formWizard/NewFormWizard'\nimport Layout from '../../components/layouts/Layout'\nimport http, { URL_S3 } from '../../config/BaseUrl'\nimport EmailTemplate from '../events/components/Modal/EmailTemplate'\nimport ScreenLoader from '../../components/Loader/ScreenLoader'\n\nconst EmailEdit = () => {\n\n const { register, handleSubmit, reset } = useForm({\n mode: \"all\",\n reValidateMode: \"onChange\",\n\n });\n\n const history = useHistory()\n const { id } = useParams()\n const [loading, setLoading] = useState(false);\n const [emailTemplate, setTemplate] = useState(null)\n const [emailUpdate, setEmailUpdate] = useState(null)\n const [email_my_template_id, setEmailMyTemplateId] = useState(null)\n const [emailTemplateType, setEmailTemplateType] = useState(null)\n const [emailTemplateContents, setEmailTemplateContents] = useState(null)\n const [eventId, setEventId] = useState(null)\n\n useEffect(() => {\n http.get(`get-email-settings-data/${id}`)\n .then(res => {\n setEventId(res.data.emailSetting.event_id)\n setEmailUpdate(res.data.emailSetting);\n reset({\n from_name: res.data.emailSetting.from_name,\n reply_to: res.data.emailSetting.reply_to,\n email_subject: res.data.emailSetting.email_subject,\n })\n\n if (typeof history.location.state != \"undefined\" && \"editedData\" in history.location.state) {\n const theData = history.location.state.editedData\n setEmailUpdate({email_template_id: theData.template.id, email_template:theData.template.image})\n setEmailTemplateType(theData.saveAs)\n setEmailTemplateContents(theData.content)\n if (theData.saveAs == 'my_template') {\n setEmailMyTemplateId(theData.email_my_template_id)\n }\n else{\n setEmailMyTemplateId(null)\n }\n }\n })\n }, [])\n\n useEffect(() => {\n if (emailUpdate) {\n setTemplate({ id: emailUpdate.email_template_id, image: emailUpdate.email_template })\n }\n }, [emailUpdate])\n\n\n\n const handelEmailUpdate = async (data) => {\n const submittedData = { ...data, email_template: emailTemplate.image, email_template_id: emailTemplate.id, template_type: emailTemplateType, email_my_template_id, contents: emailTemplateContents }\n try {\n setLoading(true)\n await http.post(`/event/email/update/${id}`, submittedData)\n .then(res => {\n setLoading(false)\n history.push(`/show/event/${eventId}`, 'Information Updated.')\n })\n } catch (error) {\n console.log(error)\n }\n\n }\n\n const setEmailTemplateByProps = (data) => {\n \n if ('contents' in data) {\n setTemplate({id: data.id, image: data.image})\n setEmailTemplateContents(data.contents)\n setEmailTemplateType('my_template')\n setEmailMyTemplateId(data.email_my_template_id)\n }\n else{\n setTemplate(data)\n }\n }\n\n\n useEffect(()=>{\n if (typeof history.location.state != \"undefined\" && \"editedData\" in history.location.state) {\n const theData = history.location.state.editedData\n setEmailUpdate({email_template_id: theData.template.id, email_template:theData.template.image})\n setEmailTemplateType(theData.saveAs)\n setEmailTemplateContents(theData.content)\n if (theData.saveAs == 'my_template') {\n setEmailMyTemplateId(theData.email_my_template_id)\n }\n else{\n setEmailMyTemplateId(null)\n }\n }\n }, [history])\n\n\n return (\n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Email Settings

    \n

    Setup email sharing for your event

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {\n !emailTemplate ?\n
    \n

    Choose Email Template.

    \n
    \n :\n
    \n \"email-template\"\n
    \n }\n
    \n
    \n
    \n \n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n \n \n
    \n
    \n \n
    \n \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default EmailEdit\n","import React, { useState } from 'react'\nimport { useForm } from 'react-hook-form';\nimport { FaInstagram } from 'react-icons/fa';\nimport { FiFacebook } from 'react-icons/fi';\nimport { useHistory, useParams } from 'react-router-dom';\nimport NewFormWizard from '../../components/formWizard/NewFormWizard';\nimport Layout from '../../components/layouts/Layout';\nimport http from '../../config/BaseUrl';\n\n\nconst SocialMediaEdit = () => {\n\n\n const { id } = useParams()\n const history = useHistory()\n const SocialMediaEdit = history.location.state.SocialMedia\n\n const [instagramToggle, setInstagramToggle] = useState(true);\n const InstagramToggle = () => setInstagramToggle(!instagramToggle)\n\n const [facebookToggle, setFacebookToggle] = useState(false);\n const FacebookToggle = () => setFacebookToggle(!facebookToggle)\n const [loading, setLoading] = useState(false);\n\n const { register, handleSubmit } = useForm({\n defaultValues: {\n email_message: SocialMediaEdit.email_message\n }\n })\n\n\n const handelSocialUpdate = async (data) => {\n\n const socialEvent = {\n instagram: instagramToggle,\n client_facebook: facebookToggle,\n email_message: data.email_message\n }\n\n try {\n setLoading(true)\n await http.post(`/event/social/update/${id}`, socialEvent).then((res) => {\n if (res) {\n setLoading(false)\n history.push(`/show/event/${SocialMediaEdit.event_id}`, 'Information Updated.')\n }\n })\n } catch (error) {\n\n }\n }\n\n return (\n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Social

    \n

    All your social account settings

    \n
    \n
    \n
    \n\n
    \n {/*
    \n
    \n \n \n
    \n
    */}\n {/*
    \n
    \n

    Instagram Text {instagramToggle === false ? 'Disable' : 'Enable'}

    \n
    \n
    */}\n
    \n\n
    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n

    Facebook Text {facebookToggle === false ? 'Disable' : 'Enable'}

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default SocialMediaEdit\n","import React, { useState } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { useHistory, useParams } from 'react-router'\nimport NewFormWizard from '../../components/formWizard/NewFormWizard'\nimport Layout from '../../components/layouts/Layout'\nimport http from '../../config/BaseUrl'\nimport countryDialList from '../../dbJson/countryDialList.json'\n\nconst TextSmsEdit = () => {\n const history = useHistory()\n const {id} = useParams()\n const TextSmsEdit = history.location.state.TextMessage\n const [loading, setLoading] = useState(false);\n const [errorMessage, setErrorMessage] = useState(\"\");\n const {register, handleSubmit, setValue, watch, formState: { errors } } = useForm({\n mode: \"all\",\n reValidateMode: \"onChange\",\n defaultValues: {\n text_message: TextSmsEdit.text_message\n }\n });\n const textMessage = watch(\"text_message\");\n\n const handleTextChange = (event) => {\n const value = event.target.value;\n const emojiRegex = /[\\p{Emoji_Presentation}\\p{Extended_Pictographic}]/gu; // Regex to match a wide range of emojis\n\n if (!emojiRegex.test(value)) {\n setValue(\"text_message\", value);\n } else {\n setErrorMessage(\"\");\n setValue(\"text_message\", value);\n }\n };\n const handelSMS = async (data) => {\n const emojiRegex = /[\\p{Emoji_Presentation}\\p{Extended_Pictographic}]/gu; // Regex to match a wide range of emojis\n\n if (emojiRegex.test(data.text_message)) {\n setErrorMessage(\"Emojis are not allowed in the text message.\");\n return;\n }\n\n setErrorMessage(\"\");\n\n try {\n setLoading(true);\n await http.post(`/event/sms/update/${id}`, data).then((res) => {\n if (res) {\n setLoading(false);\n history.push(`/show/event/${TextSmsEdit.event_id}`, 'Information Updated.');\n }\n });\n } catch (error) {\n setLoading(false);\n console.error(error);\n }\n };\n\n return (\n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Text Messaging

    \n

    SMS settings

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n {errors.text_message && errors.text_message.message}\n {errorMessage}\n
    \n\n
    \n \n
    \n \n
    \n
    \n {/*
    \n \n
    \n \n
    \n
    */}\n\n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n )\n}\n\nexport default TextSmsEdit\n","import React, { useState, useEffect } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { useHistory, useParams } from 'react-router'\nimport Layout from '../../components/layouts/Layout'\nimport UploadFile from '../../hook/UploadFile'\nimport http, { URL_S3 } from '../../config/BaseUrl'\nimport MicrositeModal from '../events/components/Modal/MicrositeModal'\nimport NewFormWizard from '../../components/formWizard/NewFormWizard'\nimport HeaderTrackingModal from '../events/components/Modal/HeaderTrackingModal'\n\n\nconst MicroSiteEdit = () => {\n const history = useHistory()\n const { id } = useParams();\n const [loading, setLoading] = useState(false);\n const [microSite, setMicroSite] = useState(null)\n const [microSiteData, setMicrositeData] = useState(null)\n const [my_social_gallery_id, setSocialMyTemplateId] = useState(null)\n const [socialTemplateType, setEmailTemplateType] = useState(null)\n const [socialTemplateContents, setEmailTemplateContents] = useState(null)\n const [openModal, setOpenModal] = useState(false)\n const [headerScript, setHeaderScript] = useState(null)\n const [socialGalleryOption, setSocialGalleryOption] = useState({\n // instagram: false,\n sms: false,\n email: false,\n // linked_in: false,\n // facebook: false,\n // twitter: false,\n download: false,\n // snapchat:false, \n // tiktok:false, \n // signal:false, \n // telegram:false\n })\n // const micro_site = history.location.state.micro_site\n\n const { register, handleSubmit, reset } = useForm({\n mode: \"all\",\n reValidateMode: \"onChange\",\n \n\n })\n\n useEffect(()=>{\n \n http.get(`/event/microsite/get/${id}`)\n .then(res=>{\n let micro_site = res.data.microsite\n\n reset({\n gallery_button: micro_site.gallery_button,\n meta_title: micro_site.meta_title,\n gallery_password: micro_site.gallery_password\n })\n\n setMicrositeData(micro_site)\n setMicroSite({ id: micro_site.microsite_gallery_id, template_image: micro_site.microsite_template_photo })\n setSocialGalleryOption({\n // instagram: micro_site.instagram,\n sms: micro_site.sms,\n email: micro_site.email,\n // linked_in: micro_site.linked_in,\n // facebook: micro_site.facebook,\n // twitter: micro_site.twitter,\n download: micro_site.download,\n // snapchat:micro_site.snapchat, \n // tiktok:micro_site.tiktok, \n // signal:micro_site.signal, \n // telegram:micro_site.telegram\n })\n\n if (\"editedData\" in history.location.state) {\n const theData = history.location.state.editedData\n // console.log(theData)\n setMicroSite({id: theData.template.id, template_image:theData.template.image})\n setEmailTemplateType(theData.saveAs)\n setEmailTemplateContents(theData.content)\n if (theData.saveAs == 'my_template') {\n setSocialMyTemplateId(theData.my_social_gallery_id)\n }\n else{\n setSocialMyTemplateId(null)\n }\n }\n })\n .catch(err=>{\n console.log(err)\n })\n }, [id])\n\n\n const { fileURL, onChangeFile } = UploadFile()\n\n const handelMicroSite = async (data) => {\n const submittedData = { ...data, ...socialGalleryOption, microsite_gallery_id: microSite.id, microsite_template_photo: microSite.template_image, template_type: socialTemplateType, my_social_gallery_id, contents: socialTemplateContents, tag_script: headerScript }\n try {\n setLoading(true)\n await http.post(`/event/microsite/update/${id}`, submittedData).then((res) => {\n if (res) {\n setLoading(false)\n history.push(`/show/event/${microSiteData && microSiteData.event_id}`, 'Information Updated.')\n }\n })\n } catch (error) {\n\n }\n }\n\n\n const setMicrositeByProps = (data) => {\n if ('contents' in data) {\n setMicroSite({id: data.id, image: data.image})\n setEmailTemplateContents(data.contents)\n setEmailTemplateType('my_template')\n setSocialMyTemplateId(data.my_social_gallery_id)\n }\n else{\n setMicroSite(data)\n }\n setMicroSite(data)\n }\n\n const selectAllSocialSharign = () => {\n let checkbox = document.querySelector(\".select-all-item\");\n if (checkbox.checked) {\n setSocialGalleryOption({\n // instagram: true,\n sms: true,\n email: true,\n // linked_in: true,\n // facebook: true,\n // twitter: true,\n download: true,\n // snapchat:true,\n // tiktok:true,\n // signal:true,\n // telegram:true,\n })\n }\n else{\n setSocialGalleryOption({\n // instagram: false,\n sms: false,\n email: false,\n // linked_in: false,\n // facebook: false,\n // twitter: false,\n download: false,\n // snapchat:false, \n // tiktok:false, \n // signal:false, \n // telegram:false\n })\n }\n \n }\n\n useEffect(()=>{\n if (typeof(history.location.state) != \"undefined\" && \"editedData\" in history.location.state) {\n const theData = history.location.state.editedData\n setMicroSite({id: theData.template.id, template_image:theData.template.template_image})\n setEmailTemplateType(theData.saveAs)\n setEmailTemplateContents(theData.content)\n if (theData.saveAs == 'my_template') {\n setSocialMyTemplateId(theData.email_my_template_id)\n }\n else{\n setSocialMyTemplateId(null)\n }\n }\n }, [history])\n\n const selectSocialGalleryItem = (e) => {\n let checkbox = document.querySelector(`input[name='${e.target.name}']`)\n\n if (checkbox.checked) {\n setSocialGalleryOption({...socialGalleryOption, [e.target.name]: true})\n }\n else{\n setSocialGalleryOption({...socialGalleryOption, [e.target.name]: false})\n }\n }\n\n const handleHeaderScript = (data) => {\n setHeaderScript(data)\n }\n\n return (\n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Social Gallery

    \n

    Edit your online gallery settings

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    Social Sharing Option
    \n
    \n \n \n \n
    \n
    \n
    \n
    \n \n \n \n
    \n\n
    \n \n \n \n
    \n\n {/*
    \n \n \n \n
    \n\n
    \n \n \n \n
    \n\n\n\n
    \n \n \n \n
    \n\n
    \n \n \n \n
    \n \n
    \n \n \n \n
    */}\n {/*
    \n \n \n \n
    */}\n {/*
    \n \n \n \n
    */}\n {/*
    \n \n \n \n
    */}\n\n\n
    \n \n \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    Gallery Option
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {\n !microSite ?\n
    \n\n

    Choose Template.

    \n
    \n :\n
    \n \"email-template\"\n
    \n }\n
    \n
    \n
    \n \n \n\n \n\n \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n {/*
    \n
    \n
    \n

    Edit Social Messages

    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n\n
    \n
    \n
    \n

    Slide show background (1920x1280)

    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    */}\n {/*
    \n \n
    \n \n
    \n
    */}\n
    \n \n
    \n \n
    \n Leave blank if you don't want the gallery password protected\n
    \n\n
    \n
    \n
    \n
    \n\n
    \n
    \n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n )\n}\n\nexport default MicroSiteEdit\n","import React, { useEffect, useState } from 'react'\nimport Chart from '../../../../../components/Rechart/Chart'\nimport http from '../../../../../config/BaseUrl';\n\nfunction EmailShare({eventId}) {\n\n const [isLoading, setIsLoading] = useState(false);\n const [eventGraph, setEventGraph] = useState(\"\");\n\n const fetchGraphData = async () => {\n try {\n setIsLoading(true)\n await http.get(`event-graph/sharing/${'email'}/${eventId}`).then( res =>{\n if(res.data.graphData) {\n setIsLoading(false)\n setEventGraph(res.data.graphData)\n }\n }).catch((err) => {\n console.log('fail');\n setIsLoading(false)\n })\n } catch (error) {\n \n }\n }\n\n const graphTotalText = {\n week: `This Week`,\n month: 'This Month',\n year: 'This Year'\n }\n\n useEffect(()=>{\n fetchGraphData()\n }, [])\n\n return (\n \n )\n}\n\nexport default EmailShare\n","import React, { useEffect, useState } from 'react'\nimport Chart from '../../../../../components/Rechart/Chart';\nimport http from '../../../../../config/BaseUrl';\n\nfunction SmsShare({eventId}) {\n\n const smsData = {\n weeklyData: [\n { name: 'Day 1', share: 10, pv: 2400, amt: 2400 },\n { name: 'Day 2', share: 25, pv: 2400, amt: 2400 },\n { name: 'Day 3', share: 15, pv: 2400, amt: 2400 },\n { name: 'Day 4', share: 30, pv: 2400, amt: 2400 },\n { name: 'Day 5', share: 30, pv: 2400, amt: 2400 },\n { name: 'Day 6', share: 30, pv: 2400, amt: 2400 },\n { name: 'Day 7', share: 30, pv: 2400, amt: 2400 }\n ],\n monthlyData: [\n { name: 'Week 1', share: 25, pv: 2400, amt: 2400 },\n { name: 'Week 2', share: 50, pv: 2400, amt: 2400 },\n { name: 'Week 3', share: 18, pv: 2400, amt: 2400 },\n { name: 'Week 4', share: 55, pv: 2400, amt: 2400 },\n ],\n yearlyData: [\n { name: 'M 1', share: 100, pv: 2400, amt: 2400 },\n { name: 'M 2', share: 250, pv: 2400, amt: 2400 },\n { name: 'M 3', share: 150, pv: 2400, amt: 2400 },\n { name: 'M 4', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 5', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 6', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 7', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 8', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 9', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 10', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 11', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 12', share: 300, pv: 2400, amt: 2400 }\n ]\n }\n\n \n const [isLoading, setIsLoading] = useState(false);\n const [eventGraph, setEventGraph] = useState(\"\");\n\n const fetchGraphData = async () => {\n try {\n setIsLoading(true)\n await http.get(`event-graph/sharing/${'sms'}/${eventId}`).then( res =>{\n if(res.data.graphData){\n setIsLoading(false)\n setEventGraph(res.data.graphData)\n }\n \n \n }).catch((err) => {\n console.log('fail');\n setIsLoading(false)\n })\n } catch (error) {\n \n }\n }\n\n const graphTotalText = {\n week: `This Week`,\n month: 'This Month',\n year: 'This Year'\n }\n\n useEffect(()=>{\n fetchGraphData()\n }, [])\n\n return (\n \n )\n}\n\nexport default SmsShare\n","import React, { useEffect, useState } from 'react'\nimport { LineChart, Line, XAxis, Tooltip } from 'recharts';\nimport Chart from '../../../../../components/Rechart/Chart';\nimport http from '../../../../../config/BaseUrl';\n\nfunction MicrositeShare({ eventId }) {\n\n\n const [isLoading, setIsLoading] = useState(false);\n const [eventGraph, setEventGraph] = useState(\"\");\n\n const fetchGraphData = async () => {\n try {\n setIsLoading(true)\n await http.get(`event-graph/sharing/${'microsite'}/${eventId}`).then(res => {\n if (res.data.graphData) {\n setIsLoading(false)\n setEventGraph(res.data.graphData)\n }\n\n\n }).catch((err) => {\n console.log('fail');\n setIsLoading(false)\n })\n } catch (error) {\n\n }\n }\n\n const graphTotalText = {\n week: `This Week`,\n month: 'This Month',\n year: 'This Year'\n }\n\n useEffect(() => {\n fetchGraphData()\n }, [])\n\n\n return (\n \n )\n}\n\nexport default MicrositeShare\n","import React, { useEffect, useState } from 'react'\nimport Chart from '../../../../../components/Rechart/Chart';\nimport http from '../../../../../config/BaseUrl';\n\nfunction FacebookShare({eventId}) {\n\n const facebookData = {\n weeklyData: [\n { name: 'Day 1', share: 10, pv: 2400, amt: 2400 },\n { name: 'Day 2', share: 25, pv: 2400, amt: 2400 },\n { name: 'Day 3', share: 15, pv: 2400, amt: 2400 },\n { name: 'Day 4', share: 30, pv: 2400, amt: 2400 },\n { name: 'Day 5', share: 30, pv: 2400, amt: 2400 },\n { name: 'Day 6', share: 30, pv: 2400, amt: 2400 },\n { name: 'Day 7', share: 30, pv: 2400, amt: 2400 }\n ],\n monthlyData: [\n { name: 'Week 1', share: 25, pv: 2400, amt: 2400 },\n { name: 'Week 2', share: 50, pv: 2400, amt: 2400 },\n { name: 'Week 3', share: 18, pv: 2400, amt: 2400 },\n { name: 'Week 4', share: 55, pv: 2400, amt: 2400 },\n ],\n yearlyData: [\n { name: 'M 1', share: 100, pv: 2400, amt: 2400 },\n { name: 'M 2', share: 250, pv: 2400, amt: 2400 },\n { name: 'M 3', share: 150, pv: 2400, amt: 2400 },\n { name: 'M 4', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 5', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 6', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 7', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 8', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 9', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 10', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 11', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 12', share: 300, pv: 2400, amt: 2400 }\n ]\n }\n\n const [isLoading, setIsLoading] = useState(false);\n const [eventGraph, setEventGraph] = useState(\"\");\n\n const fetchGraphData = async () => {\n try {\n setIsLoading(true)\n await http.get(`event-graph/sharing/${'facebook'}/${eventId}`).then( res =>{\n if(res.data.graphData){\n setIsLoading(false)\n setEventGraph(res.data.graphData)\n }\n \n \n }).catch((err) => {\n console.log('fail');\n setIsLoading(false)\n })\n } catch (error) {\n \n }\n }\n\n const graphTotalText = {\n week: `This Week`,\n month: 'This Month',\n year: 'This Year'\n }\n\n useEffect(()=>{\n fetchGraphData()\n }, [])\n\n return (\n \n )\n}\n\nexport default FacebookShare\n","import React, { useEffect, useState } from 'react'\nimport { LineChart, Line, XAxis, Tooltip } from 'recharts';\nimport Chart from '../../../../../components/Rechart/Chart';\nimport http from '../../../../../config/BaseUrl';\n\nfunction TwitterShare({ eventId }) {\n\n const [isLoading, setIsLoading] = useState(false);\n const [eventGraph, setEventGraph] = useState(\"\");\n\n const fetchGraphData = async () => {\n try {\n setIsLoading(true)\n await http.get(`event-graph/sharing/${'facebook'}/${eventId}`).then( res =>{\n if(res.data.graphData){\n setIsLoading(false)\n setEventGraph(res.data.graphData)\n }\n \n \n }).catch((err) => {\n console.log('fail');\n setIsLoading(false)\n })\n } catch (error) {\n \n }\n }\n\n const graphTotalText = {\n week: `This Week`,\n month: 'This Month',\n year: 'This Year'\n }\n\n useEffect(()=>{\n fetchGraphData()\n }, [])\n\n return (\n \n )\n}\n\nexport default TwitterShare\n","import React, { useEffect, useState } from 'react'\nimport Chart from '../../../../../components/Rechart/Chart';\nimport http from '../../../../../config/BaseUrl';\n\nfunction SocialShare({eventId}) {\n\n const [isLoading, setIsLoading] = useState(false);\n const [eventGraph, setEventGraph] = useState(\"\");\n\n const fetchGraphData = async () => {\n try {\n setIsLoading(true)\n await http.get(`event-graph/sharing/${'instagram'}/${eventId}`).then( res =>{\n if(res.data.graphData){\n setIsLoading(false)\n setEventGraph(res.data.graphData)\n }\n \n \n }).catch((err) => {\n console.log('fail');\n setIsLoading(false)\n })\n } catch (error) {\n \n }\n }\n\n const graphTotalText = {\n week: `This Week`,\n month: 'This Month',\n year: 'This Year'\n }\n\n useEffect(()=>{\n fetchGraphData()\n }, [])\n\n\n return (\n \n )\n}\n\nexport default SocialShare\n","import React from 'react'\nimport { URL_S3 } from '../../../../config/BaseUrl'\n\nconst RecentPhoto = (prop) => {\n const {recentPhoto} = prop\n return (\n <>\n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    Recent Photo
    \n
    \n
    \n
    \n
    \n\n {recentPhoto.map((item) => {\n return (\n
    \n
    \n \"placeholder\"\n
    \n
    \n )\n })}\n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n \n \n )\n}\n\nexport default RecentPhoto\n","import React from \"react\";\nimport Layout from \"../../../components/layouts/Layout\";\nimport EmailShare from '../components/ShocialShareGraph/Email/EmailShare'\nimport SmsShare from '../components/ShocialShareGraph/Sms/SmsShare'\nimport MicrositeShare from '../components/ShocialShareGraph/Microsite/MicrositeShare'\nimport FacebookShare from '../components/ShocialShareGraph/Facebook/FacebookShare'\nimport TwitterShare from '../components/ShocialShareGraph/Twitter/TwitterShare'\nimport InstagramShare from '../components/ShocialShareGraph/Instagram/InstagramShare'\nimport { LineChart, Line, CartesianGrid, XAxis, YAxis, Tooltip } from 'recharts';\nimport '../style/dashboard.css';\nimport Chart from \"../../../components/Rechart/Chart\";\nimport { useEffect } from \"react\";\nimport { useState } from \"react\";\nimport http, { URL_S3 } from \"../../../config/BaseUrl\";\nimport { useParams } from \"react-router-dom\";\nimport RecentGifs from \"./galleryItem/RecentGifs\";\nimport RecentPhoto from \"./galleryItem/RecentPhoto\";\n\n\nfunction Analytic() {\n\n\n const data = {\n weeklyData: [\n { name: 'Day 1', share: 10, pv: 2400, amt: 2400 },\n { name: 'Day 2', share: 25, pv: 2400, amt: 2400 },\n { name: 'Day 3', share: 15, pv: 2400, amt: 2400 },\n { name: 'Day 4', share: 30, pv: 2400, amt: 2400 },\n { name: 'Day 5', share: 30, pv: 2400, amt: 2400 },\n { name: 'Day 6', share: 30, pv: 2400, amt: 2400 },\n { name: 'Day 7', share: 30, pv: 2400, amt: 2400 }\n ],\n monthlyData: [\n { name: 'Week 1', share: 25, pv: 2400, amt: 2400 },\n { name: 'Week 2', share: 50, pv: 2400, amt: 2400 },\n { name: 'Week 3', share: 18, pv: 2400, amt: 2400 },\n { name: 'Week 4', share: 55, pv: 2400, amt: 2400 },\n ],\n yearlyData: [\n { name: 'M 1', share: 100, pv: 2400, amt: 2400 },\n { name: 'M 2', share: 250, pv: 2400, amt: 2400 },\n { name: 'M 3', share: 150, pv: 2400, amt: 2400 },\n { name: 'M 4', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 5', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 6', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 7', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 8', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 9', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 10', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 11', share: 300, pv: 2400, amt: 2400 },\n { name: 'M 12', share: 300, pv: 2400, amt: 2400 }\n ]\n }\n\n const { id } = useParams()\n const [loading, setLoading] = useState(false);\n const [recentGallery, setRecentGallery] = useState([]);\n const [socialShare, setSocialShare] = useState([]);\n const [galleryTab, setGalleryTab] = useState(\"photo\");\n const [eventStatus, setStatus] = useState('most_viewed')\n\n\n // ================Social Share Api Fetch==================\n\n const fetchSocialShareSingle = async () => {\n try {\n http.get(`event-social-share/${id}`).then((res) => {\n if (res.data) {\n setSocialShare(res.data.single_social_share)\n }\n })\n } catch (error) {\n\n }\n }\n\n\n // ================Social Gallery Api Fetch================== \n\n const fetchRecentGallery = async (params) => {\n try {\n setLoading(true)\n http.get(`gallery-items-single/${id}`, { params }).then((res) => {\n if (res.data) {\n setRecentGallery(res.data.gallery_photo_single)\n setLoading(false)\n }\n }).catch((err) => {\n setLoading(false)\n })\n } catch (error) {\n setLoading(false)\n }\n }\n\n\n // =================================\n\n const [isLoading, setIsLoading] = useState(false);\n const [eventGraph, setEventGraph] = useState(\"\");\n\n const fetchGraphData = async () => {\n try {\n setIsLoading(true)\n await http.get(`event-analytics/sharing-graph/${id}`).then(res => {\n if (res.data.graphData) {\n setIsLoading(false)\n setEventGraph(res.data.graphData)\n }\n }).catch((err) => {\n console.log('fail');\n setIsLoading(false)\n })\n } catch (error) {\n\n }\n }\n\n const graphTotalText = {\n week: `This Week`,\n month: 'This Month',\n year: 'This Year'\n }\n\n\n useEffect(() => {\n const params = {\n gallery_item: galleryTab\n }\n fetchRecentGallery(params)\n fetchSocialShareSingle()\n fetchGraphData()\n }, [galleryTab])\n\n\n\n return (\n \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    Social Share
    \n
    \n
    \n

    \n Total Share: {socialShare && socialShare.total_share}\n

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n

    {socialShare && socialShare.email}

    \n

    Email

    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n

    {socialShare && socialShare.sms}

    \n

    SMS

    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n

    {socialShare && socialShare.facebook}

    \n

    Facebook

    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n

    {socialShare && socialShare.twitter}

    \n

    Twitter

    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n

    {socialShare && socialShare.instagram}

    \n

    Instagram

    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n

    {socialShare && socialShare.microsite}

    \n

    Linked In

    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    \n \n \n \n {\" \"}\n Gallery Overview\n

    \n
    \n\n
    \n
    \n\n
    \n
    \n
    \n

    Categories :

    \n
    \n
    \n
    \n\n
    \n { setStatus('most_viewed') }}\n >Most Viewed\n
    \n\n
    \n { setStatus('recent_photo'); setGalleryTab(\"photo\") }}\n >Recent Photos\n
    \n {/* \n
    \n { setStatus('recent_gifs'); setGalleryTab(\"gif\")}}\n >Recent Gifs\n
    */}\n\n
    \n { setStatus('recent_video'); setGalleryTab(\"video\") }}\n >Recent Video\n
    \n
    \n { setStatus('recent_boomerangs'); setGalleryTab(\"boomerangs\") }}\n >Recent Boomerangs\n
    \n\n
    \n
    \n
    \n
    \n
    \n\n
    \n \n
    \n Items Not Available\n
    \n
    \n \n\n {!loading ?\n recentGallery.length > 0 ?\n \n :\n
    \n Items Not Available\n
    \n :\n
    \n \n
    \n }\n\n
    \n\n\n\n\n \n\n {!loading ?\n recentGallery.length > 0 ?\n \"\"\n :\n
    \n Items Not Available\n
    \n :\n
    \n \n
    \n }\n
    \n\n \n\n {!loading ?\n recentGallery.length > 0 ?\n \"\"\n :\n
    \n Items Not Available\n
    \n :\n
    \n \n
    \n }\n
    \n\n\n
    \n\n {/*
    \n
      \n
    • \n \n Most Viewed\n \n
    • \n
    • \n setGalleryTab(\"photo\")}\n >\n Recent Photos\n \n
    • \n
    • \n setGalleryTab(\"gif\")}\n >\n Recent Gifs\n \n
    • \n
    \n
    \n \n
    \n
    \n
    \n
    \n\n
    \n
    \n Item Not Available\n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n\n {loading ? \n
    \n \n
    \n : }\n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n\n {loading ? \n
    \n \n
    \n : }\n\n
    \n
    \n
    \n
    \n
    \n
    \n
    */}\n
    \n\n \n \n \n \n \n \n\n \n\n
    \n )\n}\n\nexport default Analytic\n","import React from 'react'\nimport { useEffect } from 'react';\nimport { useState } from 'react'\nimport Layout from '../../../components/layouts/Layout'\nimport http, { URL_S3 } from '../../../config/BaseUrl';\n\nfunction ViewPhotos() {\n\n const [galleryPhoto, setGalleryPhoto] = useState([]);\n const [eventPhoto, setEventPhoto] = useState(\"photo\");\n const [eventVideo, setEventVideo] = useState(\"\");\n const [eventGif, setEventGif] = useState(\"\");\n\n const fetchGalleryPhoto = (params) => {\n try {\n http.get(\"gallery-items\", { params }).then((res) => {\n if (res.data) {\n setGalleryPhoto(res.data.gallery_photo)\n }\n }).catch((err) => {\n\n });\n } catch (error) {\n\n }\n }\n\n useEffect(() => {\n const params = {\n photo: eventPhoto,\n video: eventVideo,\n gif: eventGif\n }\n fetchGalleryPhoto(params)\n }, [eventPhoto,\n eventVideo,\n eventGif])\n return (\n \n
    \n
    \n
    \n
    \n
    \n
    \n

    Photos

    \n
    \n\n\n\n
    \n
    \n
    \n

    \n \n \n \n {\" \"}\n Photos\n

    \n
    \n\n
    \n
    \n
      \n
    • \n setEventPhoto('photo')}\n >\n Most Viewed\n \n
    • \n
    • \n { setEventVideo('video') }}\n >\n Recent Photos\n \n
    • \n
    • \n setEventGif('gif')}\n >\n Recent Gifs\n \n
    • \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n\n {galleryPhoto && galleryPhoto.map((item) => {\n return (\n
    \n
    \n \"placeholder\"\n
    \n
    \n )\n })}\n\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n {galleryPhoto && galleryPhoto.map((item) => {\n return (\n
    \n
    \n \"placeholder\"\n
    \n
    \n )\n })}\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \"placeholder\"\n
    \n
    \n
    \n
    \n \"placeholder\"\n
    \n
    \n
    \n
    \n \"placeholder\"\n
    \n
    \n
    \n
    \n \"placeholder\"\n
    \n
    \n
    \n
    \n \"placeholder\"\n
    \n
    \n
    \n
    \n \"placeholder\"\n
    \n
    \n
    \n
    \n \"placeholder\"\n
    \n
    \n
    \n
    \n \"placeholder\"\n
    \n
    \n
    \n
    \n \"placeholder\"\n
    \n
    \n
    \n
    \n \"placeholder\"\n
    \n
    \n
    \n
    \n \"placeholder\"\n
    \n
    \n
    \n
    \n \"placeholder\"\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n\n
    \n
    \n \n \n \n\n
    \n )\n}\n\nexport default ViewPhotos\n","export default __webpack_public_path__ + \"static/media/left-arrow.53878c51.svg\";","export default __webpack_public_path__ + \"static/media/right-arrow.8b8fb639.svg\";","import React from \"react\";\nimport \"./Slider.css\";\nimport leftArrow from \"./icons/left-arrow.svg\";\nimport rightArrow from \"./icons/right-arrow.svg\";\n\nexport default function BtnSlider({ direction, moveSlide }) {\n return (\n \n \"arrow\"\n \n );\n}\n","import React, { useState, useEffect } from 'react'\nimport './Slider.css'\nimport BtnSlider from './BtnSlider'\nimport http, { URL_S3 } from '../../config/BaseUrl';\nimport useTimeFormat from '../../hook/useTimeFormat'\nexport default function ThreeInOnePlayer(props) {\n\n const { dataSlider, activeItemIndex, threeInOneShareDetails } = props && props\n const { formateLocalTime } = useTimeFormat();\n const [loading, setLoading] = useState(false)\n const [slideIndex, setSlideIndex] = useState(activeItemIndex)\n const [threeInOneID, setThreeInOneID] = useState(null)\n const [threeInOneDetails, setThreeInOneDetails] = useState({})\n const threeInOneDetailsShare = dataSlider?.find((item, index) => index === slideIndex)\n\n const nextSlide = () => {\n if (slideIndex +1 === dataSlider.length) {\n setSlideIndex(0)\n }\n else{\n setSlideIndex(slideIndex +1 )\n }\n }\n\n const prevSlide = () => {\n if (slideIndex > 0) {\n setSlideIndex(slideIndex - 1)\n }\n else if (slideIndex === 0) {\n setSlideIndex(dataSlider.length - 1)\n }\n }\n\n const resetVideoPlayer = (indexNumber) => {\n let video = document.getElementById(`video_id_${indexNumber}`)\n if (video) {\n video.load();\n }\n }\n\n\n const previewImageDetails = async () => {\n setLoading(true)\n await http.get(`media/item-details?media_id=${threeInOneID}`).then((res) => {\n if (res.data.status === \"success\") {\n setThreeInOneDetails({ media: res.data.media });\n setLoading(false)\n }\n });\n };\n\n useEffect(() => {\n setThreeInOneDetails(threeInOneShareDetails)\n setThreeInOneID(threeInOneDetailsShare?.id)\n previewImageDetails()\n resetVideoPlayer(slideIndex)\n }, [threeInOneID, slideIndex])\n\n return (<>\n
    \n
    \n {dataSlider.map((obj, index) => {\n return (\n
    \n
    \n \n
    \n
    \n )\n })}\n \n \n
    \n
    \n
    \n {loading === true ? (\n
    \n \n
    ) :\n
      \n
    • \n \n 3 in 1 Sharing Stats\n \n
    • \n
    • \n \n Email Shares:\n {\" \"}\n {threeInOneDetails.media &&\n threeInOneDetails.media.email_shares_count}\n
    • \n
    • \n \n Facebook Shares:\n {\" \"}\n {threeInOneDetails.media &&\n threeInOneDetails.media.facebook_shares_count}\n
    • \n
    • \n \n Instagram Shares:\n {\" \"}\n {threeInOneDetails.media &&\n threeInOneDetails.media.instagram_shares_count}\n
    • \n
    • \n \n Linkedin Shares:\n {\" \"}\n {threeInOneDetails.media &&\n threeInOneDetails.media.linkedin_shares_count}\n
    • \n
    • \n \n SMS Shares:\n {\" \"}\n {threeInOneDetails.media &&\n threeInOneDetails.media.sms_shares_count}\n
    • \n
    • \n \n Total Downloads:\n {\" \"}\n {threeInOneDetails.media &&\n threeInOneDetails.media.download_shares_count}\n
    • \n
    • \n \n Total Shares:\n {\" \"}\n {threeInOneDetails.media &&\n threeInOneDetails.media.shares_count}\n
    • \n
    • \n \n Created:\n {\" \"}\n {threeInOneDetails.media &&\n formateLocalTime(threeInOneDetails.media.created_at)}\n
    • \n
    \n }\n
    \n )\n}\n","import React, { useState } from \"react\";\nimport { FiPlayCircle } from \"react-icons/fi\";\nimport { VscChromeClose } from \"react-icons/vsc\";\nimport ReactModal from \"react-modal\";\nimport ThreeInOnePlayer from \"../../../../components/Slider/ThreeInOnePlayer\";\nimport http, { downloadUrl, URL_S3 } from \"../../../../config/BaseUrl\";\n\nReactModal.setAppElement(\"#root\");\nconst customStyles = {\n overlay: {\n position: \"fixed\",\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n // background:'linear-gradient(to bottom right, red, yellow)',\n zIndex: 100,\n },\n content: {\n position: \"absolute\",\n top: 15,\n left: 15,\n right: 15,\n bottom: 15,\n borderRadius: \"0px\",\n outline: \"none\",\n border: 0,\n background: \"linear-gradient(to right bottom, #212529ab, #eeeeeea3);\",\n borderRadius: \"15px\",\n backdropFilter: \"blur(15px)\",\n border: \"1px solid rgb(206 162 82)\",\n },\n};\n\nconst ThreeInOne = (props) => {\n const { event_gif } = props && props;\n const [modalIsOpen, setIsOpen] = useState(false);\n const [threeInOneDetails, setThreeInOneDetails] = useState({});\n const [activeItem, setActiveItem] = useState(null);\n\n const previewImageDetails = async (id, event_gif, indexItem) => {\n setActiveItem(indexItem);\n await http.get(`media/item-details?media_id=${id}`).then((res) => {\n if (res.data.status === \"success\") {\n setThreeInOneDetails({ media: res.data.media, event_gif });\n }\n });\n setIsOpen(true);\n };\n\n const downloadImage = (id, file_name) => {\n window.open(`${downloadUrl}social-gallery-download/${id}`);\n };\n\n return (\n <>\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    3 in 1
    \n
    \n
    \n
    \n
    \n {event_gif && event_gif.length > 0 ? (\n event_gif.map((item, index) => {\n return (\n \n
    \n \n \n \n \n \n \n \n \n \n
    \n
    \n );\n })\n ) : (\n
    \n Items Not Available\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n\n \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n );\n};\n\nexport default ThreeInOne;\n","import React, { useState, useEffect } from 'react'\nimport './Slider.css'\nimport BtnSlider from './BtnSlider'\nimport http, { URL_S3 } from '../../config/BaseUrl';\nimport useTimeFormat from '../../hook/useTimeFormat'\nexport default function ThreeInOnePlayerFast(props) {\n\n const { dataSlider, activeItemIndex, threeInOneFastShareDetails } = props && props\n const { formateLocalTime } = useTimeFormat();\n const [loading, setLoading] = useState(false)\n const [slideIndex, setSlideIndex] = useState(activeItemIndex)\n const [threeInOneID, setThreeInOneID] = useState(null)\n const [threeInOneDetails, setThreeInOneDetails] = useState({})\n const threeInOneDetailsShare = dataSlider?.find((item, index) => index === slideIndex)\n\n const nextSlide = () => {\n if (slideIndex +1 === dataSlider.length) {\n setSlideIndex(0)\n }\n else{\n setSlideIndex(slideIndex +1 )\n }\n }\n\n const prevSlide = () => {\n if (slideIndex > 0) {\n setSlideIndex(slideIndex - 1)\n }\n else if (slideIndex === 0) {\n setSlideIndex(dataSlider.length - 1)\n }\n }\n\n const resetVideoPlayer = (indexNumber) => {\n let video = document.getElementById(`video_id_${indexNumber}`)\n if (video) {\n video.load();\n }\n }\n\n const previewImageDetails = async () => {\n setLoading(true)\n await http.get(`media/item-details?media_id=${threeInOneID}`).then((res) => {\n if (res.data.status === \"success\") {\n setThreeInOneDetails({ media: res.data.media });\n setLoading(false)\n }\n });\n };\n\n useEffect(() => {\n setThreeInOneDetails(threeInOneFastShareDetails)\n setThreeInOneID(threeInOneDetailsShare?.id)\n previewImageDetails()\n resetVideoPlayer(slideIndex)\n }, [threeInOneID, slideIndex])\n\n return (<>\n
    \n
    \n {dataSlider.map((obj, index) => {\n return (\n
    \n
    \n \n
    \n
    \n )\n })}\n \n \n
    \n
    \n
    \n {loading === true ? (\n
    \n \n
    ) :\n
      \n
    • \n \n 3 in 1 Fast Sharing Stats\n \n
    • \n
    • \n \n Email Shares:\n {\" \"}\n {threeInOneDetails.media &&\n threeInOneDetails.media.email_shares_count}\n
    • \n
    • \n \n Facebook Shares:\n {\" \"}\n {threeInOneDetails.media &&\n threeInOneDetails.media.facebook_shares_count}\n
    • \n
    • \n \n Instagram Shares:\n {\" \"}\n {threeInOneDetails.media &&\n threeInOneDetails.media.instagram_shares_count}\n
    • \n
    • \n \n Linkedin Shares:\n {\" \"}\n {threeInOneDetails.media &&\n threeInOneDetails.media.linkedin_shares_count}\n
    • \n
    • \n \n SMS Shares:\n {\" \"}\n {threeInOneDetails.media &&\n threeInOneDetails.media.sms_shares_count}\n
    • \n
    • \n \n Total Downloads:\n {\" \"}\n {threeInOneDetails.media &&\n threeInOneDetails.media.download_shares_count}\n
    • \n
    • \n \n Total Shares:\n {\" \"}\n {threeInOneDetails.media &&\n threeInOneDetails.media.shares_count}\n
    • \n
    • \n \n Created:\n {\" \"}\n {threeInOneDetails.media &&\n formateLocalTime(threeInOneDetails.media.created_at)}\n
    • \n
    \n }\n
    \n )\n}\n","import React, { useState } from \"react\";\nimport { FiPlayCircle } from \"react-icons/fi\";\nimport { VscChromeClose } from \"react-icons/vsc\";\nimport ReactModal from \"react-modal\";\nimport ThreeInOnePlayerFast from \"../../../../components/Slider/ThreeInOnePlayerFast\";\nimport http, { downloadUrl, URL_S3 } from \"../../../../config/BaseUrl\";\nimport useTimeFormat from \"../../../../hook/useTimeFormat\";\n\nReactModal.setAppElement(\"#root\");\nconst customStyles = {\n overlay: {\n position: \"fixed\",\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n // background:'linear-gradient(to bottom right, red, yellow)',\n zIndex: 100,\n },\n content: {\n position: \"absolute\",\n top: 15,\n left: 15,\n right: 15,\n bottom: 15,\n borderRadius: \"0px\",\n outline: \"none\",\n border: 0,\n background: \"linear-gradient(to right bottom, #212529ab, #eeeeeea3);\",\n borderRadius: \"15px\",\n backdropFilter: \"blur(15px)\",\n border: \"1px solid rgb(206 162 82)\",\n },\n};\n\nconst ThreeInOneFast = (props) => {\n\n const { event_burst_gif } = props && props;\n const { formateLocalTime } = useTimeFormat();\n\n const [modalIsOpen, setIsOpen] = useState(false);\n const [threeInOneDetails, setThreeInOneDetails] = useState({});\n const [activeItem, setActiveItem] = useState(null);\n\n const previewImageDetails = async (id, event_burst_gif, indexItem) => {\n setActiveItem(indexItem);\n await http.get(`media/item-details?media_id=${id}`).then((res) => {\n if (res.data.status === \"success\") {\n setThreeInOneDetails({ media: res.data.media, event_burst_gif });\n }\n });\n setIsOpen(true);\n };\n\n const downloadImage = (id, file_name) => {\n window.open(`${downloadUrl}social-gallery-download/${id}`);\n };\n\n return (\n <>\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    3 in 1 Fast
    \n
    \n
    \n
    \n
    \n {event_burst_gif && event_burst_gif.length > 0 ? (\n event_burst_gif.map((item, index) => {\n return (\n \n
    \n \n \n \n \n \n \n \n \n \n
    \n
    \n );\n })\n ) : (\n
    \n Items Not Available\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n\n \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n );\n};\n\nexport default ThreeInOneFast;\n","import React, { useState, useEffect } from 'react'\nimport './Slider.css'\nimport BtnSlider from './BtnSlider'\nimport http, { URL_S3 } from '../../config/BaseUrl';\nimport useTimeFormat from '../../hook/useTimeFormat'\nexport default function SliderVideo(props) {\n\n const { dataSlider, activeItemIndex, boomerangShareDetails } = props && props\n const { formateLocalTime } = useTimeFormat();\n const [loading, setLoading] = useState(false)\n const [slideIndex, setSlideIndex] = useState(activeItemIndex)\n const [boomerangID, setBoomerangID] = useState(null)\n const [boomerangDetails, setBoomerangDetails] = useState({});\n const boomerangDetailsShare = dataSlider?.find((item, index) => index === slideIndex)\n\n const nextSlide = () => {\n if (slideIndex +1 === dataSlider.length) {\n setSlideIndex(0)\n // resetVideoPlayer(slideIndex + 1)\n }\n else {\n setSlideIndex(slideIndex + 1)\n // resetVideoPlayer(0)\n }\n\n\n }\n\n const prevSlide = () => {\n // if (slideIndex > 0) {\n // setSlideIndex(slideIndex - 1)\n // resetVideoPlayer(slideIndex - 1)\n // }\n // else if (slideIndex === 1) {\n // setSlideIndex(dataSlider.length)\n // resetVideoPlayer(dataSlider.length)\n // }\n if (slideIndex > 0) {\n setSlideIndex(slideIndex - 1)\n }\n else if (slideIndex === 0) {\n setSlideIndex(dataSlider.length - 1)\n }\n }\n const resetVideoPlayer = (indexNumber) => {\n let video = document.getElementById(`video_id_${indexNumber}`)\n if (video) {\n video.load();\n }\n }\n\n const previewImageDetails = async () => {\n setLoading(true)\n await http.get(`media/item-details?media_id=${boomerangID}`).then((res) => {\n if (res.data.status === \"success\") {\n setBoomerangDetails({ media: res.data.media });\n setLoading(false)\n }\n });\n };\n\n useEffect(() => {\n setBoomerangDetails(boomerangShareDetails)\n setBoomerangID(boomerangDetailsShare?.id)\n previewImageDetails()\n resetVideoPlayer(slideIndex)\n }, [boomerangID, slideIndex])\n\n return (<>\n
    \n
    \n\n {dataSlider.map((obj, index) => {\n return (\n
    \n\n
    \n \n\n
    \n\n
    \n )\n })}\n\n \n \n\n\n
    \n
    \n
    \n {loading === true ? (\n
    \n \n
    ) :\n
      \n
    • \n \n Boomerang Sharing Stats\n \n
    • \n
    • \n \n {\" \"}\n {/* */} Email Shares:\n {\" \"}\n {boomerangDetails.media &&\n boomerangDetails.media.email_shares_count}\n
    • \n
    • \n \n {/* */}Facebook Shares:\n {\" \"}\n {boomerangDetails.media &&\n boomerangDetails.media.facebook_shares_count}\n
    • \n
    • \n \n Instagram Shares:\n {\" \"}\n {boomerangDetails.media &&\n boomerangDetails.media.instagram_shares_count}\n
    • \n
    • \n \n Linkedin Shares:\n {\" \"}\n {boomerangDetails.media &&\n boomerangDetails.media.linkedin_shares_count}\n
    • \n
    • \n \n SMS Shares:\n {\" \"}\n {boomerangDetails.media &&\n boomerangDetails.media.sms_shares_count}\n
    • \n
    • \n \n Total Downloads:\n {\" \"}\n {boomerangDetails.media &&\n boomerangDetails.media.download_shares_count}\n
    • \n
    • \n \n Total Shares:\n {\" \"}\n {boomerangDetails.media &&\n boomerangDetails.media.shares_count}\n
    • \n
    • \n \n Created:\n {\" \"}\n {boomerangDetails.media &&\n formateLocalTime(boomerangDetails.media.created_at)}\n
    • \n
    \n }\n
    \n\n )\n}\n","import React, {useState, useEffect} from 'react'\nimport { URL_S3 } from '../../../config/BaseUrl'\n\nfunction BoomerangModal(props) {\n\n const [playVideo, setPlayVideo] = useState(null)\n const [loading, setLoading] = useState(false)\n\n useEffect(()=>{\n setLoading(true)\n if (props.video && props.video !== playVideo) {\n setPlayVideo(props.video)\n setTimeout(()=>{\n setLoading(false)\n }, 1000)\n }\n }, [props])\n\n return (\n
    \n
    \n
    \n
    \n {\n !loading ?\n \n : \n
    \n
    \n Loading...\n
    \n
    \n }\n
    \n
    \n \n
    \n
    \n
    \n
    \n )\n}\n\nexport default BoomerangModal\n","import React, { useState } from \"react\";\nimport { FiPlayCircle } from \"react-icons/fi\";\nimport { VscChromeClose } from \"react-icons/vsc\";\nimport ReactModal from \"react-modal\";\nimport SliderVideo from \"../../../components/Slider/SliderVideo\";\nimport http, { downloadUrl, URL_S3 } from \"../../../config/BaseUrl\";\nimport useTimeFormat from \"../../../hook/useTimeFormat\";\nimport BoomerangModal from \"./BoomerangModal\";\n\nReactModal.setAppElement(\"#root\");\n\nconst customStyles = {\n overlay: {\n position: \"fixed\",\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n // background:'linear-gradient(to bottom right, red, yellow)',\n zIndex: 100,\n },\n content: {\n position: \"absolute\",\n top: 15,\n left: 15,\n right: 15,\n bottom: 15,\n borderRadius: \"0px\",\n outline: \"none\",\n border: 0,\n background: \"linear-gradient(to right bottom, #212529ab, #eeeeeea3);\",\n borderRadius: \"15px\",\n backdropFilter: \"blur(15px)\",\n border: \"1px solid rgb(206 162 82)\",\n },\n};\n\nconst BoomerangGallery = (prop) => {\n\n const { boomerang } = prop;\n const { formateLocalTime } = useTimeFormat();\n // MOdal\n const [modalIsOpen, setIsOpen] = useState(false);\n const [playVideo, setPlayVideo] = useState(null);\n\n const downloadImage = (id, file_name) => {\n window.open(`${downloadUrl}social-gallery-download/${id}`);\n // baseURLPublic.get(`social-gallery-download/${id}`, {\n // responseType: 'blob'\n // }).then((res) => {\n // fileDownload(res.data, file_name);\n // })\n };\n const [boomerangDetails, setBoomerangDetails] = useState({});\n const [activeItem, setActiveItem] = useState(null);\n\n const previewImageDetails = async (id, boomerang_url, indexItem) => {\n setActiveItem(indexItem);\n await http.get(`media/item-details?media_id=${id}`).then((res) => {\n if (res.data.status === \"success\") {\n setBoomerangDetails({ media: res.data.media, boomerang_url });\n }\n });\n setIsOpen(true);\n };\n // slider\n const settings = {\n dots: false,\n infinite: true,\n speed: 500,\n slidesToShow: 1,\n slidesToScroll: 1,\n nextArrow: ,\n prevArrow: ,\n };\n\n return (\n <>\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    Boomerang
    \n
    \n
    \n
    \n
    \n {boomerang && boomerang.length > 0 ? (\n boomerang.map((item, index) => {\n return (\n \n
    \n \n \"random-item\"\n\n \n \n \n \n \n \n \n
    \n
    \n );\n })\n ) : (\n
    \n Items Not Available\n
    \n )}\n\n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n\n \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n );\n};\n\nexport default BoomerangGallery;\n","import React, { useEffect, useState } from 'react'\nimport BtnSlider from '../../../components/Slider/BtnSlider';\nimport http, { URL_S3 } from '../../../config/BaseUrl';\nimport useTimeFormat from '../../../hook/useTimeFormat';\n\nconst PhotoGalleryDetails = (props) => {\n\n const { photoShareDetails, dataSlider, activeItemIndex } = props && props\n const { formateLocalTime } = useTimeFormat();\n\n const [loading, setLoading] = useState(false)\n const [slideIndex, setSlideIndex] = useState(activeItemIndex)\n const [photoID, setPhotoID] = useState(null)\n const [photoDetails, setPhotoDetails] = useState({})\n const photoDetailsShare = dataSlider?.find((item, index) => index === slideIndex)\n const nextSlide = () => {\n if (slideIndex < dataSlider.length) {\n if (slideIndex + 1 === dataSlider.length) {\n setSlideIndex(0)\n }\n else {\n setSlideIndex(slideIndex + 1)\n }\n }\n }\n\n const prevSlide = () => {\n if (slideIndex > 0) {\n setSlideIndex(slideIndex - 1)\n }\n else if (slideIndex === 0) {\n setSlideIndex(dataSlider.length - 1)\n }\n }\n\n const previewImageDetails = async () => {\n setLoading(true)\n await http.get(`media/item-details?media_id=${photoID}`).then((res) => {\n if (res.data.status === \"success\") {\n setPhotoDetails({ media: res.data.media });\n setLoading(false)\n }\n });\n };\n\n useEffect(() => {\n setPhotoDetails(photoShareDetails)\n setPhotoID(photoDetailsShare?.id)\n previewImageDetails()\n }, [photoID, slideIndex])\n\n return (\n <>\n
    \n
    \n
    \n\n {dataSlider.map((obj, index) => {\n return (\n
    \n \n
    \n )\n })}\n\n \n \n\n\n
    \n
    \n\n
    \n {loading === true ? (\n
    \n \n
    ) :\n
      \n
    • \n \n Photo Sharing Stats\n \n
    • \n
    • \n \n {\" \"}\n {/* */} Email Shares:\n {\" \"}\n {photoDetails.media &&\n photoDetails.media.email_shares_count}\n
    • \n
    • \n \n {/* */}Facebook Shares:\n {\" \"}\n {photoDetails.media &&\n photoDetails.media.facebook_shares_count}\n
    • \n
    • \n \n Instagram Shares:\n {\" \"}\n {photoDetails.media &&\n photoDetails.media.instagram_shares_count}\n
    • \n
    • \n \n Linkedin Shares:\n {\" \"}\n {photoDetails.media &&\n photoDetails.media.linkedin_shares_count}\n
    • \n
    • \n \n SMS Shares:\n {\" \"}\n {photoDetails.media && photoDetails.media.sms_shares_count}\n
    • \n
    • \n \n Total Downloads:\n {\" \"}\n {photoDetails.media &&\n photoDetails.media.download_shares_count}\n
    • \n
    • \n \n Total Shares:\n {\" \"}\n {photoDetails.media && photoDetails.media.shares_count}\n
    • \n
    • \n \n Created:\n {\" \"}\n {photoDetails.media &&\n formateLocalTime(photoDetails.media.created_at)}\n
    • \n
    \n }\n
    \n
    \n \n )\n}\n\nexport default PhotoGalleryDetails","/* eslint-disable jsx-a11y/alt-text */\nimport React, { useEffect, useState } from \"react\";\nimport { VscChromeClose } from \"react-icons/vsc\";\nimport ReactModal from \"react-modal\";\nimport Slider from \"../../../components/Slider/Slider\";\nimport http, { downloadUrl, URL_S3 } from \"../../../config/BaseUrl\";\nimport useTimeFormat from \"../../../hook/useTimeFormat\";\nimport PhotoGalleryDetails from \"./PhotoGalleryDetails\";\n\nReactModal.setAppElement(\"#root\");\n\nconst customStyles = {\n overlay: {\n position: \"fixed\",\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n // background:'linear-gradient(to bottom right, red, yellow)',\n zIndex: 100,\n },\n content: {\n position: \"absolute\",\n top: 15,\n left: 15,\n right: 15,\n bottom: 15,\n borderRadius: \"0px\",\n outline: \"none\",\n border: 0,\n background: \"linear-gradient(to right bottom, #212529ab, #eeeeeea3);\",\n borderRadius: \"15px\",\n backdropFilter: \"blur(15px)\",\n border: \"1px solid rgb(206 162 82)\",\n },\n};\n\nconst PhotoGallery = (prop) => {\n const { formateLocalTime } = useTimeFormat();\n // MOdal\n const [modalIsOpen, setIsOpen] = useState(false);\n\n const downloadImage = (id, file_name) => {\n window.open(`${downloadUrl}social-gallery-download/${id}`);\n\n // baseURLPublic.get(`social-gallery-download/${id}`, {\n // responseType: 'blob'\n // }).then((res) => {\n // fileDownload(res.data, file_name);\n // })\n };\n\n const { photo } = prop;\n\n const [photoDetails, setPhotoDetails] = useState({});\n const [activeItem, setActiveItem] = useState(null);\n\n const previewImageDetails = async (id, photo_url, indexItem) => {\n setActiveItem(indexItem);\n await http.get(`media/item-details?media_id=${id}`).then((res) => {\n if (res.data.status === \"success\") {\n setPhotoDetails({ media: res.data.media, photo_url });\n }\n });\n setIsOpen(true);\n };\n\n useEffect(() => {\n \n },[photoDetails])\n \n return (\n <>\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    Photo
    \n
    \n
    \n
    \n
    \n {photo && photo.length > 0 ? (\n photo.map((item, index) => {\n return (\n \n
    \n \n \n \n \n
    \n
    \n );\n })\n ) : (\n
    \n Items Not Available\n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n\n \n
    \n \n
    \n \n
    \n
    \n
    \n \n );\n};\n\nexport default PhotoGallery;\n","import React, { useState, useEffect } from 'react'\nimport './Slider.css'\nimport BtnSlider from './BtnSlider'\nimport http, { URL_S3 } from '../../config/BaseUrl';\nimport useTimeFormat from '../../hook/useTimeFormat'\n\nexport default function VideoPlayer(props) {\n\n const { dataSlider, activeItemIndex, videoShareDetails } = props && props\n const { formateLocalTime } = useTimeFormat();\n const [loading, setLoading] = useState(false)\n const [slideIndex, setSlideIndex] = useState(activeItemIndex)\n const [boomerangID, setBoomerangID] = useState(null)\n const [boomerangDetails, setBoomerangDetails] = useState({});\n const boomerangDetailsShare = dataSlider?.find((item, index) => index === slideIndex)\n\n const nextSlide = () => {\n if (slideIndex +1 === dataSlider.length) {\n setSlideIndex(0)\n }\n else {\n setSlideIndex(slideIndex + 1)\n }\n }\n\n const prevSlide = () => {\n if (slideIndex > 0) {\n setSlideIndex(slideIndex - 1)\n }\n else if (slideIndex === 0) {\n setSlideIndex(dataSlider.length - 1)\n }\n }\n \n const resetVideoPlayer = (indexNumber) => {\n let video = document.getElementById(`video_id_${indexNumber}`)\n if (video) {\n video.load();\n }\n }\n\n const previewImageDetails = async () => {\n setLoading(true)\n await http.get(`media/item-details?media_id=${boomerangID}`).then((res) => {\n if (res.data.status === \"success\") {\n setBoomerangDetails({ media: res.data.media });\n setLoading(false)\n }\n });\n };\n\n useEffect(() => {\n setBoomerangDetails(videoShareDetails)\n setBoomerangID(boomerangDetailsShare?.id)\n previewImageDetails()\n resetVideoPlayer(slideIndex)\n }, [boomerangID, slideIndex])\n\n return (<>\n
    \n
    \n\n {dataSlider.map((obj, index) => {\n return (\n
    \n\n
    \n \n\n
    \n\n
    \n )\n })}\n\n \n \n\n\n
    \n
    \n
    \n {loading === true ? (\n
    \n \n
    ) :\n
      \n
    • \n \n Video Sharing Stats\n \n
    • \n
    • \n \n {\" \"}\n {/* */} Email Shares:\n {\" \"}\n {boomerangDetails.media &&\n boomerangDetails.media.email_shares_count}\n
    • \n
    • \n \n {/* */}Facebook Shares:\n {\" \"}\n {boomerangDetails.media &&\n boomerangDetails.media.facebook_shares_count}\n
    • \n
    • \n \n Instagram Shares:\n {\" \"}\n {boomerangDetails.media &&\n boomerangDetails.media.instagram_shares_count}\n
    • \n
    • \n \n Linkedin Shares:\n {\" \"}\n {boomerangDetails.media &&\n boomerangDetails.media.linkedin_shares_count}\n
    • \n
    • \n \n SMS Shares:\n {\" \"}\n {boomerangDetails.media &&\n boomerangDetails.media.sms_shares_count}\n
    • \n
    • \n \n Total Downloads:\n {\" \"}\n {boomerangDetails.media &&\n boomerangDetails.media.download_shares_count}\n
    • \n
    • \n \n Total Shares:\n {\" \"}\n {boomerangDetails.media &&\n boomerangDetails.media.shares_count}\n
    • \n
    • \n \n Created:\n {\" \"}\n {boomerangDetails.media &&\n formateLocalTime(boomerangDetails.media.created_at)}\n
    • \n
    \n }\n
    \n\n )\n}\n\n","import React, { useState } from \"react\";\nimport { FiPlayCircle } from \"react-icons/fi\";\nimport http, { downloadUrl, URL_S3 } from \"../../../config/BaseUrl\";\n\nimport { VscChromeClose } from \"react-icons/vsc\";\nimport ReactModal from \"react-modal\";\nimport useTimeFormat from \"../../../hook/useTimeFormat\";\nimport VideoPlayer from \"../../../components/Slider/VideoPlayer\";\n\nReactModal.setAppElement(\"#root\");\n\nconst customStyles = {\n overlay: {\n position: \"fixed\",\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n // background:'linear-gradient(to bottom right, red, yellow)',\n zIndex: 100,\n },\n content: {\n position: \"absolute\",\n top: 15,\n left: 15,\n right: 15,\n bottom: 15,\n borderRadius: \"0px\",\n outline: \"none\",\n border: 0,\n background: \"linear-gradient(to right bottom, #212529ab, #eeeeeea3);\",\n borderRadius: \"15px\",\n backdropFilter: \"blur(15px)\",\n border: \"1px solid rgb(206 162 82)\",\n },\n};\n\nconst VideoGallery = (prop) => {\n\n const { video } = prop && prop;\n\n const [modalIsOpen, setIsOpen] = useState(false);\n const [playVideo, setPlayVideo] = useState(null);\n const [videoDetails, setVideoDetails] = useState({});\n const [activeItem, setActiveItem] = useState(null);\n\n const downloadImage = (id, file_name) => {\n window.open(`${downloadUrl}social-gallery-download/${id}`);\n };\n\n const previewImageDetails = async (id, video_url, indexItem) => {\n setActiveItem(indexItem);\n await http.get(`media/item-details?media_id=${id}`).then((res) => {\n if (res.data.status === \"success\") {\n setVideoDetails({ media: res.data.media, video_url });\n }\n });\n setIsOpen(true);\n };\n\n return (\n <>\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    Recent Videos
    \n
    \n
    \n
    \n
    \n {video && video.length > 0 ? (\n video.map((item, index) => {\n return (\n \n
    \n \n \n \n \n \n \n \n \n \n
    \n
    \n );\n })\n ) : (\n
    \n Items Not Available\n
    \n )}\n\n {/* */}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n\n \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n \n );\n};\n\nexport default VideoGallery;\n","import React, { useEffect, useState } from \"react\";\nimport { useLocation, useParams } from \"react-router-dom\";\nimport Layout from \"../../../components/layouts/Layout\";\nimport http, { downloadUrl } from \"../../../config/BaseUrl\";\nimport ThreeInOne from \"./3_In_1/ThreeInOne\";\nimport ThreeInOneFast from \"./3_In_1_fast/ThreeInOneFast\";\nimport BoomerangGallery from \"./BoomerangGallery\";\nimport PhotoGallery from \"./PhotoGallery\";\nimport \"./style/fullscreenview.css\";\nimport VideoGallery from \"./VideoGallery\";\nimport MediaDownloadPublicLink from \"../components/Modal/MediaDownloadPublicLink\";\n\nfunction View() {\n const { id } = useParams();\n const [eventStatus, setStatus] = useState(\"event_photo\");\n const [loading, setLoading] = useState(false);\n const [eventGallery, setEventGallery] = useState([]);\n const [event, setEvent] = useState(null);\n const location = useLocation();\n\n useEffect(() => {\n if (location.state) {\n setEvent(location.state);\n }\n }, []);\n\n const fetchEventGallery = async (params) => {\n try {\n setLoading(true);\n await http\n .get(\"gallery-items\", { params })\n .then((res) => {\n if (res.data) {\n setEventGallery(res.data.gallery_photo);\n setLoading(false);\n }\n })\n .catch(() => {\n setLoading(false);\n });\n } catch (error) {}\n };\n useEffect(() => {\n const params = {\n event_id: id,\n gallery_item: eventStatus,\n };\n fetchEventGallery(params);\n }, [eventStatus]);\n\n const downloadAllData = (type) => {\n console.log(\"gif\");\n window.open(\n `${downloadUrl}file/download?type=${type}&event_id=${event.uuid}`\n );\n };\n\n return (\n \n
    \n
    \n
    \n

    \n {event && event.event_name}\n

    \n

    \n Online Gallery\n

    \n
    \n
    \n
    \n
    \n
    \n

    Categories :

    \n
    \n
    \n
    \n
    \n setStatus(\"event_photo\")}\n >\n Photo\n \n
    \n\n
    \n setStatus(\"event_video\")}\n >\n Video\n \n
    \n\n
    \n setStatus(\"event_gif\")}\n >\n 3 in 1\n \n
    \n
    \n setStatus(\"event_burst_gif\")}\n >\n 3 in 1 fast\n \n
    \n
    \n setStatus(\"boomerang\")}\n >\n Boomerang\n \n
    \n
    \n\n
    \n {eventStatus === \"event_photo\" && (\n \n Download All Photos\n
    \n )}\n {eventStatus === \"event_video\" && (\n \n Download All Videos\n
    \n )}\n {eventStatus === \"event_gif\" && (\n \n Download All 3 in 1\n
    \n )}\n {eventStatus === \"event_burst_gif\" && (\n \n Download All 3 in 1 fast\n
    \n )}\n {eventStatus === \"boomerang\" && (\n \n Download All Boomerang\n
    \n )}\n\n \n Download All\n
    \n \n Event Gallery Link\n
    \n \n \n \n \n \n\n
    \n \n {loading && loading ? (\n
    \n \n
    \n ) : (\n \n )}\n
    \n\n \n {loading && loading ? (\n
    \n \n
    \n ) : (\n \n )}\n \n\n {/* \n {loading && loading ?\n
    \n \n
    \n :\n \n }\n\n */}\n\n \n {loading && loading ? (\n
    \n \n
    \n ) : (\n \n )}\n \n\n \n {loading && loading ? (\n
    \n \n
    \n ) : (\n \n )}\n \n\n \n {loading && loading ? (\n
    \n \n
    \n ) : (\n \n )}\n \n \n \n \n \n
    \n );\n}\n\nexport default View;\n","import React from 'react'\nimport Layout from '../../../components/layouts/Layout'\nimport './style/fullscreenview.css'\nconst FullScreenView = () => {\n return (\n \n
    \n
    \n \n Hello\n
    \n
    \n \n Hello bang\n
    \n
    \n
    \n )\n}\n\nexport default FullScreenView\n","import React, { useEffect, useState } from 'react'\nimport http, { URL_S3 } from '../../../../config/BaseUrl'\nimport '../../style/style.css'\n\nfunction EventFrameModal(props) {\n\n const [propsItems, setPropsItem] = useState([])\n const [submitClose, setSubmitClose] = useState(false)\n const [eventFrame, setEventFrame] = useState([])\n const [loading, setLoading] = useState(false)\n const [selectedAll, setSelectedAll] = useState(false)\n\n const EventFrameItems = async () => {\n try {\n setLoading(true)\n await http.get(\"event-frame\").then((res) => {\n if (res.data.frames) {\n setEventFrame(res.data.frames)\n setLoading(false)\n }\n }).catch((err) => {\n setLoading(false)\n })\n } catch (error) {\n setLoading(false)\n }\n }\n\n const handleSubmit = () => {\n if (propsItems) {\n props.setData(propsItems)\n }\n }\n\n useEffect(() => {\n if (propsItems.length !== props.selectedFrame.length) {\n setPropsItem(props.selectedFrame)\n\n }\n if (props.selectedFrame.length > 0) {\n setSelectedAll(true)\n }\n else{\n setSelectedAll(false)\n }\n EventFrameItems()\n }, [props])\n\n const changeValue = (item) => {\n let copyItem = [...propsItems]\n let IndexOfItem = copyItem.findIndex(data => data.id === item.id)\n\n if (IndexOfItem >= 0) {\n copyItem.splice(IndexOfItem, 1)\n setPropsItem(copyItem)\n }\n else {\n copyItem = [...copyItem, item]\n setPropsItem(copyItem)\n\n }\n\n if (copyItem.length > 0) {\n setSubmitClose(true)\n }\n else {\n setSubmitClose(false)\n }\n\n }\n\n const selectAllData = () => {\n let copyItem = [...propsItems]\n let copyData = [...eventFrame]\n if (!selectedAll) {\n copyData.forEach(itemData => {\n let dataSet = { id: itemData.id, image: itemData.preview_image }\n let IndexOfItem = copyItem.findIndex(data => data.id === dataSet.id)\n\n if (IndexOfItem < 0) {\n copyItem = [...copyItem, dataSet]\n setPropsItem(copyItem)\n }\n })\n setSelectedAll(true)\n\n }\n else{\n copyData.forEach(itemData => {\n let dataSet = { id: itemData.id, image: itemData.preview_image }\n let IndexOfItem = copyItem.findIndex(data => data.id === dataSet.id)\n\n if (IndexOfItem >= 0) {\n copyItem.splice(IndexOfItem, 1)\n setPropsItem(copyItem)\n }\n })\n\n setSelectedAll(false)\n }\n if (copyItem.length > 0) {\n setSubmitClose(true)\n }\n else {\n setSubmitClose(false)\n }\n \n }\n\n\n return (\n
    \n
    \n
    \n
    \n
    Select Event Frame
    \n \n
    \n
    \n\n
    \n \n
    \n
    \n\n {loading ?\n
    \n \n
    \n : eventFrame && eventFrame.map((items) => {\n return (\n
    changeValue({ id: items.id, image: items.preview_image })}>\n
    item.id === items.id) >= 0 && 'active-template'}`}>\n \"template-1\"\n
    \n
    \n )\n })\n }\n
    \n\n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n
    \n \n \n\n
    \n
    \n
    \n
    \n \n )\n}\n\nexport default EventFrameModal\n","import React, { useEffect } from 'react'\nimport { useState } from 'react'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { useHistory } from 'react-router'\nimport NewFormWizard from '../../../../components/formWizard/NewFormWizard'\nimport Layout from '../../../../components/layouts/Layout'\nimport { eventPhotoTemplateFrame } from '../slice/createEventSlice'\nimport NewFormWizardChild from '../../../../components/formWizard/NewFormWziardChild'\nimport EventFrameModal from '../../components/Modal/EventFrame'\nimport { IoTrashSharp } from 'react-icons/io5'\nimport http, { URL_S3 } from '../../../../config/BaseUrl'\nimport { ImEqualizer2 } from 'react-icons/im'\nimport { LoadingSpinner } from '../../../../components/Loader/Loader'\n\nconst EventFrame = () => {\n\n const history = useHistory()\n const dispatch = useDispatch()\n // const eventId = history.location.state\n const { event_option, photo_template_frame, eventId } = useSelector(state => state.createEvent)\n const [selectedFrame, setSelectedFrame] = useState([])\n const [loading, setLoading] = useState(false)\n const [draftLoading, setDraftLoading] = useState(false)\n\n const handelTemplate = (e) => {\n e.preventDefault();\n dispatch(eventPhotoTemplateFrame({ photo_frame: selectedFrame }))\n setLoading(true)\n http.post(\"event-photo-frame\", { photo_frame: selectedFrame, eventId }).then(res => {\n setLoading(true)\n if (res.data.photo_frame === 'success') {\n if (event_option.incentive_offer === true) { history.push('/event/incentive-offer', eventId) }\n else if (event_option.filters === true) { history.push('/event/filter', eventId) }\n else if (event_option.form_builder === true) { history.push('/event/form-builder', eventId) }\n else { history.push('/event/summary', eventId) }\n }\n }).catch()\n }\n\n useEffect(() => {\n if (photo_template_frame) {\n if (photo_template_frame.length > 0) {\n setSelectedFrame(photo_template_frame)\n }\n }\n }, [photo_template_frame])\n\n const setEventFrameByProps = (data) => {\n setSelectedFrame(data)\n }\n\n const removeProps = (id) => {\n let copyProps = [...selectedFrame]\n copyProps.splice(id, 1)\n setSelectedFrame(copyProps)\n\n }\n\n const saveAsDraft = () => {\n dispatch(eventPhotoTemplateFrame({ photo_frame: selectedFrame }))\n setDraftLoading(true)\n http.post(\"event-photo-frame\", { photo_frame: selectedFrame, eventId }).then(res => {\n setDraftLoading(false)\n }).catch(err => setDraftLoading(false))\n }\n\n const BackToPreviousPage = (e) => {\n e.preventDefault()\n if (event_option.microsite === true) { history.push('/event/microsite') }\n else if (event_option.water_mark === true) { history.push('/event/custom-branding') }\n else if (event_option.digital_props === true) { history.push('/event/digital-prop') }\n else if (event_option.text_messaging === true) { history.push('/event/sms') }\n else if (event_option.email === true) { history.push('/event/email') }\n else if (event_option.brust_gif === true) { history.push('/event/brust-gif') }\n else if (event_option.gif === true) { history.push('/event/gif') }\n else if (event_option.social_media === true) { history.push('/event/social') }\n else { history.push('/event/options') }\n }\n\n return (\n \n \n \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Photo Template Chooser

    \n

    Select an existing template from your library, or create a new one.

    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \n

    Template Library

    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n {\n selectedFrame.length > 0 ?\n selectedFrame.map((propItem, index) => (\n
    \n \"props-data\"\n \n \n \n
    \n ))\n\n :\n
    \n

    No Template Selected.

    \n
    \n }\n\n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n {loading ?\n ()\n : \n }\n\n {\n loading ?\n ()\n :\n \n }\n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default EventFrame\n","import React, { useState } from 'react'\nimport { useForm } from 'react-hook-form'\nimport LoginImage from '../../../assets/images/login.jpg'\nimport Logo from '../../../assets/images/logo/Haylo-logo-white.png'\nimport classNames from 'classnames'\nimport http from '../../../config/BaseUrl'\nimport { Link, useHistory } from 'react-router-dom'\nconst ForgotPassword = () => {\n\n const history = useHistory();\n const [loading, setLoading] = useState(false)\n const { register, handleSubmit, formState: { errors } } = useForm({ mode: 'all', reValidateMode: \"onChange\" })\n const handelForgotPassword = async (data) => {\n try {\n setLoading(true)\n await http.post('forgot', data).then((res) => {\n if (res.data.message) {\n history.push('/')\n setLoading(false)\n }\n }).catch((err) => {\n setLoading(false)\n })\n } catch (error) {\n setLoading(false)\n }\n }\n return (\n <>\n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \"haylo\"\n
    \n\n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Forgot Password

    \n
    \n\n
    \n
    \n\n \n \n {errors.email && errors.email.message}\n\n
    \n\n\n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    Already have an account? Back to login

    \n
    \n
    \n\n
    \n
    \n\n
    \n
    \n\n
    \n\n \n )\n}\n\nexport default ForgotPassword\n","import React, { useRef, useState } from 'react'\nimport { useForm } from 'react-hook-form'\nimport LoginImage from '../../../assets/images/login.jpg'\nimport Logo from '../../../assets/images/logo/Haylo-logo-white.png'\nimport classNames from 'classnames'\nimport http from '../../../config/BaseUrl'\nimport { useHistory, useParams } from 'react-router-dom'\nconst ResetPassword = () => {\n\n const history = useHistory();\n const { token } = useParams();\n const [loading, setLoading] = useState(false)\n const { register, handleSubmit, watch, formState: { errors } } = useForm({ mode: 'all', reValidateMode: \"onChange\" })\n const password = useRef({});\n password.current = watch(\"password\", \"\");\n const handelForgotPassword = async (data) => {\n try {\n setLoading(true)\n await http.post('reset', { ...data, token }).then((res) => {\n if (res.data.message) {\n history.push('/')\n setLoading(false)\n }\n }).catch((err) => {\n setLoading(false)\n })\n } catch (error) {\n setLoading(false)\n }\n }\n return (\n <>\n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \"haylo\"\n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Reset Password

    \n
    \n\n
    \n
    \n \n \n {errors.password && errors.password.message}\n
    \n
    \n \n \n value === password.current || \"The passwords do not match\"\n })}\n />\n
    \n\n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n\n
    \n
    \n\n
    \n\n \n )\n}\n\nexport default ResetPassword\n","import React, { useState } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { useHistory, useLocation } from 'react-router-dom'\nimport http from '../../../config/BaseUrl'\nimport LoginImage from '../../../assets/images/login.jpg'\nimport Logo from '../../../assets/images/logo/Haylo-logo-white.png'\nimport '../style/style.css'\nimport { FiCheckCircle } from 'react-icons/fi'\n\nconst ResendEmail = () => {\n const history = useHistory()\n const [loading, setLoading] = useState(false)\n const [message, setMessage] = useState(\"\")\n\n const { register, handleSubmit, setError, formState: { errors } } = useForm({ mode: \"all\", reValidateMode: \"onChange\" })\n\n const handelResendEmail = (data) => {\n\n }\n\n // Resend Code\n const ResendCode = async () => {\n try {\n const userInfo = {\n id: history.location.state.id,\n email: history.location.state.email,\n }\n setLoading(true)\n await http.post(\"email/resend\", userInfo).then((res) => {\n setMessage(res.data.message);\n setLoading(false)\n })\n } catch (error) {\n console.log(error.message);\n setLoading(false)\n }\n }\n return (\n // <>\n //
    \n //
    \n //
    \n //
    \n //
    \n //
    \n //
    \n //
    \n // \"\"\n //

    Resend Email

    \n //
    \n //
    \n // {message ? (\n //
    {message}\n // \n //
    \n // ) : (\"\")}\n //
    \n\n //
    \n //
    \n\n // \n //
    \n //
    \n //
    \n //
    \n //
    \n //
    \n //
    \n //
    \n //
    \n // \n\n <>\n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \"haylo\"\n
    \n\n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    {/* Don’t have an account? */} {/* Sign up now */}

    \n
    \n
    \n
    \n
    \n
    \n

    Resend Email

    \n
    \n
    \n {message ? (\n
    {message}\n \n
    \n ) : (\"\")}\n
    \n
    \n

    A verification link has been sent to your email account


    \n Please click on the link that has just been sent to your email account to verify your email and continue the registration process.\n
    \n
    \n\n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n

    {/* Forgot Password? */}

    \n
    \n
    \n\n
    \n
    \n\n
    \n
    \n\n
    \n\n \n )\n}\n\nexport default ResendEmail\n","import React from 'react'\nimport { AiOutlineMail } from 'react-icons/ai'\nimport { FaFacebook, FaInstagram, FaSms, FaSnapchat } from 'react-icons/fa'\nimport { GrLinkedin } from 'react-icons/gr'\nimport { ImDownload, ImTelegram } from 'react-icons/im'\nimport { IoLogoTiktok } from 'react-icons/io5'\nimport { SiSignal, SiWhatsapp } from 'react-icons/si'\nimport './sass/social_gallery.scss'\nconst SocialGallery = () => {\n return (<>\n
    \n
    \n

    Header

    \n
    \n
    \n
    \n
    \n
    \n

    Landing template for startups

    \n

    Our landing page template works on all devices, so you only have to set it up once, and get beautiful results forever.

    \n
    \n \n \n \n {/* */}\n \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n

    Gallery event © 2021

    \n
    \n
    \n \n )\n}\n\nexport default SocialGallery\n","import React from 'react'\n\nconst Error = () => {\n return (\n
    \n

    404 | Page not found!

    \n
    \n )\n}\n\nexport default Error\n","import React, { useState, useEffect } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { useDispatch } from 'react-redux'\nimport { useHistory, useParams } from 'react-router-dom'\nimport { ImEqualizer2 } from 'react-icons/im'\nimport { IoTrashSharp } from 'react-icons/io5'\nimport NewFormWizard from '../../components/formWizard/NewFormWizard'\nimport Layout from '../../components/layouts/Layout'\nimport DigitalProps from '../events/components/Modal/DigitalProps'\nimport http, { URL_S3 } from '../../config/BaseUrl'\n\nconst DigitalProp = (props) => {\n\n const { id } = useParams()\n const history = useHistory()\n const dispatch = useDispatch()\n const [emailTemplateErr, setTemplateErr] = useState(false)\n const [digitalPropsItem, setDigitalProps] = useState([])\n const [loading, setLoading] = useState(false);\n \n const digitalPropsEdit = history.location.state.digitalPropsEdit\n\n const { register, handleSubmit } = useForm()\n\n useEffect(() => {\n if (digitalPropsEdit) {\n let propsItem = []\n digitalPropsEdit.forEach(item => {\n propsItem.push({ id: item.prop_id, image: item.photo_frame })\n })\n\n setDigitalProps(propsItem)\n }\n }, [digitalPropsEdit])\n\n const handelDigitalProp = async (data) => {\n if (digitalPropsItem.length > 0) {\n const submittedData = {\n digital_prop_frame: digitalPropsItem\n }\n\n setLoading(true)\n await http.post(`/event/props/update/${id}`, submittedData).then((res) => {\n if (res) {\n setLoading(false)\n history.push(`/show/event/${id}`, 'Information Updated.')\n }\n })\n }\n else {\n setTemplateErr(true)\n }\n }\n\n const setDigitalPropsByProps = (data) => {\n setDigitalProps(data)\n setTemplateErr(false)\n }\n\n const removeProps = (id) => {\n let copyProps = [...digitalPropsItem]\n copyProps.splice(id, 1)\n setDigitalProps(copyProps)\n\n }\n\n return (\n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Digital Prop Settings

    \n

    Manage your digital props

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n

    Prop Library

    \n
    \n
    \n \n\n \n
    \n
    \n {\n emailTemplateErr &&\n

    Choose any library

    \n\n }\n
    \n
    \n {\n digitalPropsItem.length > 0 ?\n digitalPropsItem.map((propItem, index) => (\n
    \n \"props-data\"\n \n \n \n
    \n ))\n\n :\n
    \n

    No Props Selected.

    \n
    \n }\n\n
    \n\n
    \n
    \n
    \n
    \n\n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default DigitalProp\n","import React, { useState } from 'react'\nimport { useEffect } from 'react';\n// import { useForm } from 'react-hook-form';\nimport Modal from 'react-modal'\nimport { LoadingSpinner } from '../../../../components/Loader/Loader';\nimport http, { URL_S3 } from '../../../../config/BaseUrl';\n\nconst customStyles = {\n overlay: {\n position: 'fixed',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n backgroundColor: 'rgb(0 0 0 / 80%)',\n zIndex:100,\n width:'700x',\n height:'500x',\n },\n content: {\n position: 'relative',\n top: '50%',\n left: '50%',\n right: 'auto',\n bottom: 'auto',\n marginRight: '-50%',\n transform: 'translate(-50%, -50%)',\n width:'700px',\n height:'500',\n overflow: 'hidden'\n },\n closeBtn:{\n position: 'absolute',\n top:0,\n right:'-1%',\n background:'transparent',\n border:'none',\n color:'red'\n }\n\n \n};\n\nconst FrameModal = ({ isOpen, closeModal, eventId, setCustomFrame, selectedFrame }) => {\n const [loading, setLoading] = useState(false)\n const [fileError, setFileError] = useState(false)\n const [currentFrameRatio, setCurrentFrameRatio] = useState({width: 0, height: 0})\n const [frameSize, setFrameSize] = useState({width: 0, height: 0})\n const [image, setImage] = useState({src: '', width: 0, height: 0})\n\n const backgroundStyle = {\n width: '100%',\n height: '500px',\n backgroundColor: '#f1f1f1',\n position: 'relative'\n }\n\n useEffect(()=> {\n if (selectedFrame) {\n let imgProps = new Image()\n\n imgProps.onload = (img) => {\n \n let w = imgProps.width;\n let h = imgProps.height;\n\n let newImageWidth = (w / h) * 500\n let newImageHeight = (h / w) * 628\n\n setFrameSize({width: newImageWidth, height: newImageHeight})\n setCurrentFrameRatio({width: w, height: h})\n\n \n }\n\n imgProps.src = `${URL_S3}image/frame/preview_image/${selectedFrame.image}`;\n\n }\n }, [selectedFrame])\n\n useEffect(()=> {\n if (currentFrameRatio.width > 0) {\n if (selectedFrame.custom_frame) {\n imageRatioGet(`${URL_S3}image/frame/frame_image/custom_frame/${selectedFrame.custom_frame.frame}`)\n }\n }\n }, [currentFrameRatio, selectedFrame])\n\n const uploadCustomFrame = (event) => {\n const fileReader = new FileReader();\n\n fileReader.onload = (e) => {\n let imgProps = new Image()\n\n imgProps.onload = () => {\n \n let w = imgProps.width;\n let h = imgProps.height;\n\n if (w <= currentFrameRatio.width && h <= currentFrameRatio.height) {\n setFileError(false)\n let newImageWidth = (w / h) * (frameSize.height > 500 ? 500 : frameSize.height)\n let newImageHeight = (h / w) * (frameSize.width > 628 ? 628 : frameSize.width)\n\n setImage({\n src: e.target.result,\n width: newImageWidth,\n height: newImageHeight\n })\n }\n else{\n setImage({src: '', width: 0, height: 0})\n event.target.value = \"\"\n setFileError(true)\n }\n \n }\n\n imgProps.src = e.target.result;\n }\n\n fileReader.readAsDataURL(event.target.files[0])\n }\n\n const imageRatioGet = (imgSrc, event=null) => {\n let imgProps = new Image()\n\n imgProps.onload = () => {\n \n let w = imgProps.width;\n let h = imgProps.height;\n\n if (w <= currentFrameRatio.width && h <= currentFrameRatio.height) {\n setFileError(false)\n let newImageWidth = (w / h) * (frameSize.height > 500 ? 500 : frameSize.height)\n let newImageHeight = (h / w) * (frameSize.width > 628 ? 628 : frameSize.width)\n\n setImage({\n src: imgSrc,\n width: newImageWidth,\n height: newImageHeight\n })\n }\n else{\n setImage({src: '', width: 0, height: 0})\n if (event) {\n event.target.value = \"\"\n setFileError(true)\n }\n }\n \n }\n\n imgProps.src = imgSrc;\n }\n\n\n const updateCustomFrame = () => {\n if (image.src) {\n setLoading(true)\n const data = {\n customImage: image.src,\n event_id: eventId,\n frame_id: selectedFrame.id\n }\n http.post(\"create-custom-frame\", data)\n .then(res=> {\n setLoading(false)\n setCustomFrame(res.data.custom_frame, selectedFrame.id)\n closeModal()\n })\n .catch(err=> {\n console.log(err)\n })\n \n }\n }\n\n const removeCustomFrame = () => {\n if (selectedFrame.custom_frame) {\n setLoading(true)\n const data = {\n id: selectedFrame?.custom_frame?.id\n }\n http.post(\"removed-custom-frame\", data)\n .then(res=> {\n setLoading(false)\n setCustomFrame(null, selectedFrame.id)\n setImage({src: '', width: 0, height: 0})\n closeModal()\n })\n .catch(err=> {\n // setCustomFrame(null, selectedFrame.id)\n // setImage({src: '', width: 0, height: 0})\n console.log(err)\n })\n \n }\n }\n\n\n return (\n \n
    \n
    \n
    \n
    e.preventDefault()}>\n
    \n

    Custom Frame Upload

    \n
    \n
    \n \n \n {\n fileError &&\n Please upload file between the frame size\n }\n
    \n
    \n \n \"frame\"\n {\n image.src &&\n \"preview\"\n }\n
    \n\n
    \n {\n selectedFrame.custom_frame && \n \n\n }\n \n {\n loading ?\n \n :\n \n }\n
    \n
    \n
    \n
    \n
    \n \n )\n}\n\nexport default FrameModal","import React, { useState, useEffect } from 'react'\nimport { ImEqualizer2 } from 'react-icons/im'\nimport { IoIosSettings } from 'react-icons/io'\nimport { IoTrashSharp } from 'react-icons/io5'\nimport { useHistory, useParams } from 'react-router-dom'\nimport NewFormWizard from '../../components/formWizard/NewFormWizard'\nimport Layout from '../../components/layouts/Layout'\nimport http, { URL_S3 } from '../../config/BaseUrl'\nimport EventFrameModal from '../events/components/Modal/EventFrame'\nimport FrameModal from '../events/components/Modal/FrameModal'\n\nconst Frame = () => {\n\n const { id } = useParams()\n const history = useHistory()\n\n const [selectedFrame, setSelectedFrame] = useState([])\n const [loading, setLoading] = useState(false);\n const [frame, setFrame] = useState(null)\n const [openModal, setOpenModal] = useState(false)\n const eventFrameEdit = history.location.state.eventFrameEdit\n\n useEffect(() => {\n if (eventFrameEdit) {\n let propsItem = []\n eventFrameEdit.forEach(item => {\n propsItem.push({ id: item.frame_id, image: item.frames.preview_image, custom_frame: item.frames.custom_frame.length > 0 ? item.frames.custom_frame[0] : null })\n })\n setSelectedFrame(propsItem)\n }\n }, [eventFrameEdit])\n\n\n\n const handelTemplate = async (e) => {\n e.preventDefault();\n setLoading(true)\n const submittedData = {\n photo_frame_template: selectedFrame\n }\n await http.post(`/event/frame/update/${id}`, submittedData).then((res) => {\n if (res) {\n setLoading(false)\n history.push(`/show/event/${id}`, 'Information Updated.')\n }\n })\n\n }\n\n const setEventFrameByProps = (data) => {\n setSelectedFrame(data)\n }\n\n const removeProps = (id) => {\n let copyProps = [...selectedFrame]\n copyProps.splice(id, 1)\n setSelectedFrame(copyProps)\n\n }\n\n const settingsOpen = (item) => {\n setFrame(item)\n setOpenModal(true)\n }\n\n const customFrame = (data, id) => {\n let frameData = [...selectedFrame]\n let dataIndex = frameData.findIndex(item => item.id === id)\n\n frameData[dataIndex].custom_frame = data\n setSelectedFrame([...frameData])\n }\n\n const closeModal = () => {\n setOpenModal(false)\n }\n\n return (\n \n \n {/* */}\n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Photo Template Chooser

    \n

    Select an existing template from your library, or create a new one.

    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \n

    Template Library

    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n {\n selectedFrame.length > 0 ?\n selectedFrame.map((propItem, index) => (\n
    \n \"props-data\"\n {\n propItem.custom_frame &&\n no\n }\n
    \n \n \n \n \n \n \n
    \n
    \n ))\n\n :\n
    \n

    No Template Selected.

    \n
    \n }\n\n
    \n\n
    \n
    \n
    \n {\n openModal &&\n \n }\n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default Frame\n","import React, { useRef, useState } from 'react'\nimport { useForm } from 'react-hook-form'\nimport Logo from '../../../assets/images/logo/Haylo-logo-white.png'\nimport { Link, useHistory } from 'react-router-dom'\nimport Layout from '../../../components/layouts/Layout'\nimport classNames from 'classnames'\nimport http from '../../../config/BaseUrl'\n\nconst PasswordChange = () => {\n\n const history = useHistory();\n const [loading, setLoading] = useState(false)\n const [message, setMessage] = useState(\"\")\n const { register, handleSubmit, watch, reset, formState: { errors } } = useForm({ mode: 'all', reValidateMode: \"onChange\" })\n\n const password = useRef({});\n password.current = watch(\"password\", \"\");\n\nconsole.log(message);\n\n const handelChangePassword = async (data) => {\n \n try {\n await http.post('/password-change', data).then((res) => {\n if (res.data) {\n setMessage(res.data.message);\n reset()\n }\n })\n } catch (error) {\n \n }\n }\n\n return (\n \n
    \n
    \n\n
    \n\n
    \n
    \n
    \n
    \n \"haylo\"\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Change Password

    \n
    \n
    \n {message ? (\n
    {message}\n \n
    \n ) : (\"\")}\n
    \n
    \n
    \n \n \n {errors.old_password && errors.old_password.message}\n
    \n
    \n \n \n {errors.password && errors.password.message}\n
    \n
    \n \n \n value === password.current || \"The passwords do not match\"\n })}\n />\n
    \n\n\n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n\n
    \n
    \n\n
    \n\n
    \n )\n}\n\nexport default PasswordChange\n","import React, { useState, useEffect } from 'react'\nimport { ImEqualizer2 } from 'react-icons/im'\nimport { IoTrashSharp } from 'react-icons/io5'\nimport { useDispatch } from 'react-redux'\nimport { useHistory, useParams } from 'react-router-dom'\nimport NewFormWizard from '../../components/formWizard/NewFormWizard'\nimport Layout from '../../components/layouts/Layout'\nimport http, { URL_S3 } from '../../config/BaseUrl'\nimport PropFilter from '../events/components/Modal/PropFilter'\n\nconst Filters = (props) => {\n\n const [propFilterItem, setPropFilter] = useState([])\n const { id } = useParams()\n const history = useHistory()\n const dispatch = useDispatch()\n const [emailTemplateErr, setTemplateErr] = useState(false)\n const [loading, setLoading] = useState(false);\n\n const eventFilterEdit = history.location.state.eventFilterEdit\n\n useEffect(() => {\n if (eventFilterEdit) {\n let propsItem = []\n eventFilterEdit.forEach(item => {\n propsItem.push({ id: item.color_filter_id, image: item.filter_photo })\n })\n\n setPropFilter(propsItem)\n }\n }, [eventFilterEdit])\n\n\n const quotationLoader = {\n position: 'fixed',\n zIndex: '1000',\n background: 'rgba(255,255,255, 0.78)',\n width: '100%',\n height: '100vh',\n top: '0',\n left: '0',\n display: 'grid',\n alignItems: 'center',\n textAlign: 'center',\n }\n\n const handelFilter = async (e, data) => {\n e.preventDefault();\n setLoading(true)\n const submittedData = {\n option_filters: propFilterItem\n }\n await http.post(`/event/filter/update/${id}`, submittedData).then((res) => {\n if (res) {\n setLoading(false)\n history.push(`/show/event/${id}`, 'Information Updated.')\n }\n })\n\n }\n\n\n const setPropFilterByProps = (data) => {\n setPropFilter(data)\n }\n\n const removeProps = (id) => {\n let copyProps = [...propFilterItem]\n copyProps.splice(id, 1)\n setPropFilter(copyProps)\n\n }\n\n return (\n \n \n {/* */}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Filters

    \n

    Set your filters

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n

    Filter Library

    \n
    \n {\n emailTemplateErr &&\n

    Choose any library

    \n }\n
    \n \n\n \n
    \n
    \n
    \n
    \n {\n propFilterItem.length > 0 ?\n propFilterItem.map((propItem, index) => (\n
    \n \"props-data\"\n \n \n \n
    \n ))\n\n :\n
    \n

    No Filter Selected.

    \n
    \n }\n\n
    \n
    \n\n
    \n
    \n
    \n\n
    \n\n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default Filters\n","import { Base64 } from 'js-base64'\nimport React, { useEffect, useState } from 'react'\nimport { Link, useParams } from 'react-router-dom'\nimport logo from '../../../../assets/images/logo/Haylo-logo-white.png'\nimport http, { URL_S3 } from '../../../../config/BaseUrl'\nimport '../style/style.css'\n\nfunction MicrositeDefault() {\n\n const { id } = useParams()\n const eventId = Base64.atob(id);\n const [galleryItems, setGalleryItems] = useState([]);\n\n const fetchMicroSiteGalleryItems = async () => {\n try {\n await http.get(`social-gallery-item/${eventId}`).then((res) => {\n if (res) {\n setGalleryItems(res.data.gallery_items)\n }\n })\n } catch (error) {\n\n }\n }\n\n useEffect(() => {\n fetchMicroSiteGalleryItems()\n }, [])\n\n return (\n
    \n\n
    \n
    \n
    \n
    \n
    \n \"logo\"\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n {galleryItems && galleryItems.map((res) => (\n
    2 ? 'col-4' : 'col-6'}`}>\n
    \n \n \"random-item\"\n \n
    \n
    \n ))}\n\n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n

    Brought you by The Haylo

    \n
    \n
    \n
    \n
    \n\n
    \n )\n}\n\nexport default MicrositeDefault\n","import React from 'react'\nimport { Link, useParams } from 'react-router-dom'\nimport logo from '../../../../assets/images/logo/Haylo-logo-white.png'\nimport '../style/style.css'\nimport { FaFacebookF, FaTwitter, FaDownload } from 'react-icons/fa'\nimport { EmailShareButton, FacebookShareButton, LinkedinShareButton, TwitterShareButton } from 'react-share'\nimport http from '../../../../config/BaseUrl'\nimport { useEffect } from 'react'\nimport { useState } from 'react'\nimport { IoLogoLinkedin } from 'react-icons/io5'\nimport { FiMail } from 'react-icons/fi'\n\nfunction MicrositeDefaultView() {\n\n\n const { id } = useParams()\n const [socialShare, setSocialShare] = useState(\"\")\n\n const fetchSocialGallery = async () => {\n await http.get(`show-gallery-share/${id}`).then((res) => {\n setSocialShare(res.data.share_gallery)\n })\n }\n useEffect(() => {\n fetchSocialGallery()\n }, [])\n // ====================Social Share ======================\n // facebook\n let shareUrl = window.location.href\n let fbUrl = \"http://facebook.com\"\n // ====================Social Share ======================\n\n return (\n
    \n\n
    \n
    \n
    \n
    \n
    \n \"logo\"\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \"random-photos\"\n
    \n\n

    Share now with your family and friends

    \n\n
      \n {socialShare && socialShare.email === 1 && (\n
    • \n \n \n \n
    • \n )}\n\n {socialShare && socialShare.facebook === 1 && (\n
    • \n \n \n \n
    • \n )}\n\n {socialShare && socialShare.twitter === 1 && (\n
    • \n \n \n \n
    • \n )}\n\n {socialShare && socialShare.linked_in === 1 && (\n
    • \n \n \n \n
    • \n )}\n\n {socialShare && socialShare.download === 1 && (\n
    • \n \n
    • \n )}\n\n
    \n\n Gallery\n\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n

    Brought you by The Haylo

    \n
    \n
    \n
    \n
    \n\n
    \n\n )\n}\n\nexport default MicrositeDefaultView\n","import React from 'react'\nimport { Link } from 'react-router-dom'\nimport logo from '../../../../assets/images/logo/Haylo-logo-white.png'\nimport '../style/style.css'\n\nfunction MicroSiteDefaultPassword() {\n return (\n
    \n\n
    \n
    \n
    \n
    \n
    \n \"logo\"\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n

    Password Protection.

    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n

    Brought you by The Haylo

    \n
    \n
    \n
    \n
    \n\n
    \n )\n}\n\nexport default MicroSiteDefaultPassword\n","import { Base64 } from 'js-base64';\nimport React, { useState, useEffect } from 'react'\nimport { Link, useHistory, useParams } from 'react-router-dom';\nimport logo from '../../../../assets/images/logo/Haylo-for-white-background.png'\nimport logoThree from '../../../../assets/images/logo/Haylo-logo-white.png'\nimport { LoadingSpinner } from '../../../../components/Loader/Loader';\nimport { baseURLPublic, URL_S3 } from '../../../../config/BaseUrl';\nimport '../style/microsite-one.css'\nimport '../style/style.css'\nimport { FiPlayCircle } from 'react-icons/fi'\n\n\nfunction MicrositeOne() {\n\n window.addEventListener('beforeunload', function (e) {\n e.preventDefault()\n\n localStorage.removeItem('galleryPasswordCheck')\n })\n\n const { id } = useParams()\n const history = useHistory();\n const eventId = Base64.atob(id);\n // const socialGalleryTemplate = history.location.state.socialGallery\n\n const [loading, setLoading] = useState(false);\n const [galleryItems, setGalleryItems] = useState([]);\n const [galleryData, setGallery] = useState(null)\n const [socialGalleryTemplate, setSocialGalleryTemplate] = useState(null)\n const fetchMicroSiteGalleryItems = async () => {\n try {\n setLoading(true)\n await baseURLPublic.get(`social-gallery-item/${eventId}`).then((res) => {\n let gallery = null\n if (res) {\n gallery = res.data.gallery\n setGallery(gallery)\n setGalleryItems(res.data.gallery_items)\n }\n let eventIds = eventId\n if (gallery) {\n if (gallery.gallery_password) {\n if (!localStorage.getItem('galleryPasswordCheck')) {\n history.push(`/social/gallery/password/${id}`)\n }\n }\n\n if (gallery.tag_script) {\n stringToHTML(gallery.tag_script)\n }\n\n }\n baseURLPublic.get(`social-gallery-share-item/${eventIds}`)\n .then((res) => {\n let shareItem = res.data && res.data;\n let templateName = shareItem.share_gallery && shareItem.share_gallery.micro_site_gallery.template_name;\n if (templateName !== null) {\n setSocialGalleryTemplate(templateName)\n } else {\n setSocialGalleryTemplate(\"one\")\n }\n setLoading(false)\n })\n\n })\n } catch (error) {\n\n }\n }\n\n useEffect(() => {\n fetchMicroSiteGalleryItems()\n }, [])\n\n console.log(galleryItems);\n\n const stringToHTML = (str) => {\n const frag = document.createRange().createContextualFragment(str)\n\n document.head.appendChild(frag);\n return true;\n };\n\n const imageClassDec = (indexImage, type) => {\n if (type !== \"photo\") {\n return 'big'\n }\n else if (indexImage === 0) {\n return 'big'\n }\n else if (indexImage % 4 === 0) {\n return 'vertically-big'\n }\n else if (indexImage % 4 === 2) {\n return 'horizontally-big'\n }\n else {\n return 'small'\n }\n }\n\n\n\n return (<>\n\n {loading ?\n
    \n \n
    Please wait...
    \n
    \n : <>\n\n\n {socialGalleryTemplate === 'one' &&\n\n
    \n
    \n
    \n
    \n
    \n
    \n \"logo\"\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n {!loading ? galleryItems && galleryItems.map((res, index) => (\n
    \n \n {\n res.media_type === 'photo' ? \"random-item\" :\n res.media_type === 'video' ?\n (\n \"random-item\"\n \n )\n :\n res.media_type === 'gif' ?\n (\n \"random-item\"\n \n ) :\n res.media_type === 'burst_gif' ?\n (\n \"random-item\"\n \n ) :\n res.media_type === 'boomerang' ? (\n \"random-item\"\n \n ) : ''\n }\n \n
    \n )) : (\n \n )}\n
    \n
    \n\n
    \n\n
    \n
    \n\n
    \n
    \n
    \n

    Brought you by The Haylo

    \n
    \n
    \n
    \n\n
    \n\n }\n\n {socialGalleryTemplate === 'two' &&\n\n\n
    \n
    \n
    \n
    \n
    \n
    \n \"logo\"\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n {!loading ? galleryItems && galleryItems.map((res, index) => (\n
    \n \n {\n res.media_type === 'photo' ? \"random-item\" :\n res.media_type === 'video' ?\n (\n \"random-item\"\n \n )\n :\n res.media_type === 'gif' ?\n (\n \"random-item\"\n \n ) :\n res.media_type === 'burst_gif' ?\n (\n \"random-item\"\n \n ) :\n res.media_type === 'boomerang' ? (\n \"random-item\"\n \n ) : ''\n }\n \n
    \n )) : (\n \n )}\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n

    Brought you by The Haylo

    \n
    \n
    \n
    \n
    \n\n
    \n\n\n }\n\n {socialGalleryTemplate === 'three' &&\n\n
    \n\n
    \n
    \n
    \n
    \n
    \n \"logo\"\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n {!loading ? galleryItems && galleryItems.map((res, index) => (\n
    \n \n {\n res.media_type === 'photo' ? \"random-item\" :\n res.media_type === 'video' ?\n (\n \"random-item\"\n \n )\n :\n res.media_type === 'gif' ?\n (\n \"random-item\"\n \n ) :\n res.media_type === 'burst_gif' ?\n (\n \"random-item\"\n \n ) :\n res.media_type === 'boomerang' ? (\n \"random-item\"\n \n ) : ''\n }\n \n
    \n )) : (\n \n )}\n
    \n
    \n\n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n

    Brought you by The Haylo

    \n
    \n
    \n
    \n
    \n\n
    \n\n }\n\n\n }\n )\n}\n\nexport default MicrositeOne\n","import classNames from 'classnames'\nimport React from 'react'\nimport { useState } from 'react'\nimport { useForm } from 'react-hook-form'\nimport http, { baseURLPublic } from '../../../config/BaseUrl'\n\nconst EmailModal = ({sendEmail}) => {\n\n const [loading, setLoading] =useState(false)\n const [closeModal, setCloseModal] =useState(\"\")\n const [isSuccess, setIsSuccess] = useState(false)\n const {register, handleSubmit, formState:{errors}, reset } = useForm({mode:\"all\", reValidateMode:\"onChange\"})\n const handelEmailSend = async (data) => {\n const shareEmail = {\n event_id:sendEmail.event_id,\n media_id:sendEmail.media_id,\n sharing_platform:\"email\",\n email:data.send_email,\n email_share:\"email\"\n }\n\n setLoading(true)\n await baseURLPublic.post(\"share-gallery-count-email-sms\", shareEmail).then((res) => {\n if(res){\n setLoading(false)\n setCloseModal(\"modal\")\n reset()\n setIsSuccess(true)\n\n setTimeout(()=>{\n setIsSuccess(false)\n }, 2000)\n return \"success\"\n }\n }).catch((err) => {\n setLoading(false)\n })\n }\n return (\n
    \n
    \n
    \n
    \n
    Send Email
    \n \n
    \n
    \n
    \n {!loading ? \n (\n \n isSuccess ?\n

    Successfully shared

    \n :\n <>\n \n {errors.send_email && errors.send_email.message}\n \n )\n :

    Email Sharing...

    }\n\n \n \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n\n\n\n )\n}\n\nexport default EmailModal\n","import React, { useState } from 'react'\nimport classNames from 'classnames';\nimport { useForm } from 'react-hook-form';\nimport http, { baseURLPublic } from '../../../config/BaseUrl';\n\nconst SMSModal = ({ sendSMS }) => {\n const [loading, setLoading] = useState(false)\n const [closeModal, setCloseModal] = useState(\"\")\n const [isSuccess, setIsSuccess] = useState(false)\n const { register, handleSubmit, formState: { errors }, reset } = useForm({ mode: \"all\", reValidateMode: \"onChange\" })\n const handelSMSSend = async (data) => {\n const shareEmail = {\n event_id: sendSMS.event_id,\n media_id: sendSMS.media_id,\n sharing_platform: \"sms\",\n phone: data.send_sms,\n sms_share: \"sms\",\n share_datetime: new Date().getTime(),\n }\n\n setLoading(true)\n await baseURLPublic.post(\"share-gallery-count-email-sms\", shareEmail).then((res) => {\n if (res) {\n setLoading(false)\n setCloseModal(\"none\")\n reset()\n setIsSuccess(true)\n\n setTimeout(()=>{\n setIsSuccess(false)\n }, 2000)\n return \"success\"\n }\n }).catch((err) => {\n setLoading(false)\n })\n }\n\n\n\n\n return (\n
    \n
    \n
    \n
    \n
    Send SMS
    \n \n
    \n
    \n
    \n {!loading ? \n (\n isSuccess ?\n

    Successfully shared

    \n :\n <>\n \n {errors.send_sms && errors.send_sms.message}\n \n )\n :

    SMS Sharing...

    }\n
    \n
    \n \n \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default SMSModal\n","import axios from 'axios';\nimport parser from 'html-react-parser';\nimport { Base64 } from 'js-base64';\nimport React, { useEffect, useState } from 'react';\nimport {\n BrowserView,\n MobileView\n} from \"react-device-detect\";\nimport { Helmet } from \"react-helmet\";\nimport { AiOutlineWhatsApp } from 'react-icons/ai';\nimport { FaDownload, FaFacebookF, FaSms, FaTwitter } from 'react-icons/fa';\nimport { FiInstagram, FiMail } from 'react-icons/fi';\nimport { IoLogoLinkedin } from 'react-icons/io5';\nimport { Link, useHistory, useParams } from 'react-router-dom';\nimport {\n FacebookShareButton,\n LinkedinShareButton,\n TwitterShareButton\n} from \"react-share\";\nimport logo from '../../../../assets/images/logo/Haylo-for-white-background.png';\nimport logoThree from '../../../../assets/images/logo/Haylo-logo-white.png';\nimport { LoadingSpinner } from '../../../../components/Loader/Loader';\nimport { baseURLPublic, downloadUrl, URL_S3 } from '../../../../config/BaseUrl';\nimport EmailModal from '../../components/EmailModal';\nimport SMSModal from '../../components/SMSModal';\nimport '../style/microsite-one.css';\nimport '../style/style.css';\n\nfunction MicrositeOneView() {\n\n const history = useHistory();\n const { id } = useParams()\n const viewItemId = isNaN(id) === false ? id : Base64.atob(id);\n\n const [loading, setLoading] = useState(false)\n const [previewItem, setPreviewItem] = useState(\"\")\n const [socialShare, setSocialShare] = useState(\"\")\n const [socialShareCount, setSocialShareCount] = useState(\"\")\n const [shareTemplate, setShareTemplate] = useState(null)\n const [contents, setContents] = useState(null)\n const eventId = previewItem && previewItem.event_id\n\n //Fetch image video gif\n const fetchPreviewItem = async () => {\n setLoading(true)\n await baseURLPublic.get(`social-gallery-share-preview/${viewItemId}`)\n .then((res) => {\n setPreviewItem(res.data.share_gallery_preview)\n let eventIds = res.data.share_gallery_preview.event_id\n baseURLPublic.get(`social-gallery-share-item/${eventIds}`)\n .then((res) => {\n let shareItem = res.data && res.data;\n let templateName = shareItem.share_gallery && shareItem.share_gallery.micro_site_gallery.template_name;\n setSocialShare(res.data && res.data.share_gallery)\n if (shareItem && shareItem.contents.length > 0) {\n setContents(shareItem && shareItem.contents)\n console.log(\"shareItem\", shareItem && shareItem.contents);\n }\n if (templateName !== null) {\n setShareTemplate(templateName)\n } else {\n setShareTemplate(\"one\")\n }\n setLoading(false)\n })\n })\n }\n\n\n\n const downloadFile = () => {\n setSocialShareCount(\"download\")\n axios({\n url: `/logo192.png`,\n method: 'GET',\n headers: {\n 'Content-Type': 'application/octet-stream',\n },\n responseType: 'blob'\n })\n .then((response) => {\n const url = window.URL.createObjectURL(new Blob([response.data]))\n const link = document.createElement('a')\n link.href = link\n link.setAttribute('download', 'image.jpg')\n document.body.appendChild(link)\n link.click()\n })\n }\n\n const downloadImage = (countType) => {\n\n window.open(`${downloadUrl}social-gallery-download/${viewItemId}`)\n }\n\n\n //Fetch social gallery icon count\n const storeShareCount = async () => {\n const data = {\n event_id: eventId,\n media_id: '1',\n sharing_platform: socialShareCount ? socialShareCount : \"\",\n }\n await baseURLPublic.post(\"share-gallery-count\", data)\n }\n\n\n useEffect(() => {\n fetchPreviewItem()\n storeShareCount()\n }, [socialShareCount])\n\n\n const emailSendInfo = {\n event_id: eventId,\n media_id: previewItem.id\n }\n\n\n // ====================Social Share ======================\n\n // facebook\n const shareUrl = window.location.href\n // ====================Social Share ======================\n\n const DesktopViewSocial = () => {\n\n return (<>\n \n {/* \n \n \n \n \n */}\n\n The Haylo\n \n \n {/* Open Graph / Facebook */}\n \n \n \n \n \n\n {/* Twitter */}\n \n \n \n \n \n \n {socialShare && socialShare.email === 1 && (\n
  • \n \n
  • \n )}\n\n {socialShare && socialShare.sms === 1 && (\n
  • \n \n
  • \n )}\n\n {socialShare && socialShare.facebook === 1 && (\n
  • \n setSocialShareCount(\"facebook\")}\n >\n \n \n
  • \n )}\n\n {socialShare && socialShare.twitter === 1 && (\n
  • \n setSocialShareCount(\"twitter\")} >\n \n \n
  • \n )}\n\n {socialShare && socialShare.linked_in === 1 && (\n
  • \n setSocialShareCount(\"linkedin\")} >\n \n \n
  • \n )}\n\n {/* {socialShare && socialShare.instagram === 1 && (\n
  • \n \n
  • \n )} */}\n\n {socialShare && socialShare.download === 1 && (\n
  • \n \n
  • \n )}\n\n )\n }\n\n const MobileViewSocial = () => {\n let shareUrlMobile = window.location.href\n\n function telegramForwardButton($url, $text = '') {\n const share_url = 'https://t.me/share/url?url='.rawurlencode($url) + '&text='.rawurlencode($text);\n return Share;\n }\n\n return (<>\n {socialShare && socialShare.email === 1 && (\n
  • \n \n
  • \n )}\n\n {socialShare && socialShare.sms === 1 && (\n
  • \n \n
  • \n )}\n\n {socialShare && socialShare.facebook === 1 && (\n
  • \n {/* setSocialShareCount(\"facebook\")}\n > \n \n */}\n {/* */}\n \n {/* */}\n {/* */}\n {/*\n {/* fb://share?href=${shareUrl} */}\n
  • \n )}\n\n {socialShare && socialShare.twitter === 1 && (\n
  • \n setSocialShareCount(\"twitter\")} >\n \n \n
  • \n )}\n\n {socialShare && socialShare.linked_in === 1 && (\n
  • \n setSocialShareCount(\"linkedin\")} >\n \n \n
  • \n )}\n\n {/* {socialShare && socialShare.instagram === 1 && (\n
  • \n \n
  • \n )} */}\n\n {/* new */}\n\n {socialShare && socialShare.whats_app === 1 && (\n
  • \n \n
  • \n )}\n\n {/* {socialShare && socialShare.snapchat === 1 && (\n
  • \n \n
  • \n )} \n {socialShare && socialShare.telegram === 1 && (\n
  • \n \n \n
  • \n )}\n {socialShare && socialShare.tiktok === 1 && (\n
  • \n \n
  • \n )} */}\n\n {/* {socialShare && socialShare.signal === 1 && (\n
  • \n \n
  • \n )} */}\n\n {/* new end */}\n {socialShare && socialShare.download === 1 && (\n
  • \n \n
  • \n )}\n\n )\n }\n\n\n return (<>\n {loading ?\n
    \n \n
    Please wait...
    \n
    \n : <>\n {shareTemplate === 'one' && (\n
    \n
    \n
    \n
    \n
    \n
    \n \"logo\"\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n {!loading ?\n
    \n {previewItem.media_type === 'photo' ?\n (\"random-photos\") :\n previewItem.media_type === 'video' ?\n ()\n :\n previewItem.media_type === 'gif' ?\n () :\n previewItem.media_type === 'burst_gif' ?\n () :\n previewItem.media_type === 'boomerang' ?\n ()\n : ''\n }\n
    \n : ()}\n\n\n

    \n {\n contents ? parser(contents.contentBodyText) : \"Share now with your family and friends\"\n }\n

    \n\n
      \n\n {!loading ? (<>\n\n \n \n \n\n \n \n \n )\n : (\n \n )}\n
    \n\n \n {\n contents ? parser(contents.buttonText) : 'Gallery'\n }\n \n\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n {\n contents ?\n

    {parser(contents.footerText)}

    \n :\n

    Brought you by The Haylo

    \n }\n
    \n
    \n
    \n \n \n
    \n\n )}\n\n {shareTemplate === 'two' && (\n
    \n
    \n
    \n
    \n
    \n
    \n \"logo\"\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n {!loading ?\n
    \n {previewItem.media_type === 'photo' ?\n (\"random-photos\") :\n previewItem.media_type === 'video' ?\n ()\n :\n previewItem.media_type === 'gif' ?\n () :\n previewItem.media_type === 'burst_gif' ?\n () :\n previewItem.media_type === 'boomerang' ?\n ()\n : ''\n }\n
    \n : ()}\n\n\n

    \n {\n contents ? parser(contents.contentBodyText) : \"Share now with your family and friends\"\n }\n

    \n\n
      \n\n {!loading ? (<>\n\n \n \n \n\n \n \n \n\n )\n : (\n \n )}\n
    \n\n \n {\n contents ? parser(contents.buttonText) : 'Gallery'\n }\n \n\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n {\n contents ?\n

    {parser(contents.footerText)}

    \n :\n

    Brought you by The Haylo

    \n }\n
    \n
    \n
    \n \n \n
    \n\n )}\n\n {shareTemplate === 'three' && (\n
    \n\n
    \n
    \n
    \n
    \n
    \n \"logo\"\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n {!loading ?\n
    \n {\n previewItem.media_type === 'photo' ?\n (\"random-photos\") :\n previewItem.media_type === 'video' ?\n ()\n :\n previewItem.media_type === 'gif' ?\n () :\n previewItem.media_type === 'burst_gif' ?\n () :\n previewItem.media_type === 'boomerang' ?\n ()\n : ''\n }\n
    \n : ()}\n\n

    \n {\n contents ? parser(contents.contentBodyText) : \"Share now with your family and friends\"\n }\n

    \n\n
      \n\n {!loading ? (<>\n\n \n \n \n\n \n \n \n\n )\n : (\n \n )}\n
    \n\n \n {\n contents ? parser(contents.buttonText) : 'Gallery'\n }\n \n\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n {\n contents ?\n

    {parser(contents.footerText)}

    \n :\n

    Brought you by The Haylo

    \n }\n
    \n
    \n
    \n
    \n\n \n \n
    \n )}\n\n }\n )\n}\n\nexport default MicrositeOneView\n","import React, { useState } from 'react'\nimport { FaFacebookF } from 'react-icons/fa'\nimport { Link } from 'react-router-dom'\nimport { Base64 } from 'js-base64';\nimport { useHistory, useParams } from 'react-router-dom';\nimport logo from '../../../../assets/images/logo/Haylo-for-white-background.png'\nimport { baseURLPublic } from '../../../../config/BaseUrl'\n\nfunction MicrositeOnePassword() {\n\n const { id } = useParams()\n const history = useHistory();\n const eventId = Base64.atob(id);\n const [password, setPassword] = useState(\"\")\n const [error, setError] = useState(null)\n const [loading, setLoading] = useState(false)\n \n const checkPassword = (e) => {\n e.preventDefault()\n setLoading(true)\n const data = {\n password,\n eventId\n }\n\n baseURLPublic.post(`/check-gallery-password`, data)\n .then(res=>{\n if (res.data.message == 'success') {\n setLoading(false)\n setError(null)\n localStorage.setItem('galleryPasswordCheck', true)\n history.push(`/social/gallery/${id}`)\n }\n else{\n setLoading(false)\n setError(res.data.message)\n }\n })\n \n }\n\n return (\n\n\n
    \n\n
    \n
    \n
    \n
    \n
    \n \"logo\"\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n setPassword(e.target.value)} className=\"form-control\" id=\"exampleInputPassword1\" required />\n {error}\n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n

    Brought you by The Haylo

    \n
    \n
    \n
    \n
    \n\n
    \n )\n}\n\nexport default MicrositeOnePassword\n","import { Base64 } from 'js-base64';\nimport React, { useEffect, useState } from 'react'\nimport { Link, useParams } from 'react-router-dom'\nimport logo from '../../../../assets/images/logo/Haylo-for-white-background.png'\nimport http, { URL_S3 } from '../../../../config/BaseUrl';\n\nfunction MicrositeTwo() {\n\n\n const { id } = useParams()\n const eventId = Base64.atob(id);\n const [galleryItems, setGalleryItems] = useState([]);\n\n const fetchMicroSiteGalleryItems = async () => {\n try {\n await http.get(`social-gallery-item/${eventId}`).then((res) => {\n if (res) {\n setGalleryItems(res.data.gallery_items)\n }\n })\n } catch (error) {\n\n }\n }\n\n useEffect(() => {\n fetchMicroSiteGalleryItems()\n }, [])\n\n return (\n\n
    \n
    \n
    \n
    \n
    \n
    \n \"logo\"\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n {galleryItems && galleryItems.map((res) => (\n
    2 ? 'col-4' : 'col-6'}`}>\n
    \n \n \"random-item\"\n \n
    \n
    \n ))}\n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n

    Brought you by The Haylo

    \n
    \n
    \n
    \n
    \n\n
    \n\n )\n}\n\nexport default MicrositeTwo\n","import React, { useEffect, useState } from 'react'\nimport { FaDownload, FaFacebookF, FaTwitter } from 'react-icons/fa'\nimport { FiMail } from 'react-icons/fi'\nimport { IoLogoLinkedin } from 'react-icons/io5'\nimport { Link, useParams } from 'react-router-dom'\nimport { EmailShareButton, FacebookShareButton, LinkedinShareButton, TwitterShareButton } from 'react-share'\nimport logo from '../../../../assets/images/logo/Haylo-for-white-background.png'\nimport http from '../../../../config/BaseUrl'\n\nfunction MicrositeTwoView() {\n\n const { id } = useParams()\n const [socialShare, setSocialShare] = useState(\"\")\n\n const fetchSocialGallery = async () => {\n await http.get(`show-gallery-share/${id}`).then((res) => {\n setSocialShare(res.data.share_gallery)\n })\n }\n useEffect(() => {\n fetchSocialGallery()\n }, [])\n // ====================Social Share ======================\n // facebook\n let shareUrl = window.location.href\n let fbUrl = \"http://facebook.com\"\n // ====================Social Share ======================\n\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n \"logo\"\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \"random-photos\"\n
    \n\n

    Share now with your family and friends

    \n\n
      \n {socialShare && socialShare.email === 1 && (\n
    • \n \n \n \n
    • \n )}\n\n {socialShare && socialShare.facebook === 1 && (\n
    • \n \n \n \n
    • \n )}\n\n {socialShare && socialShare.twitter === 1 && (\n
    • \n \n \n \n
    • \n )}\n\n {socialShare && socialShare.linked_in === 1 && (\n
    • \n \n \n \n
    • \n )}\n\n {socialShare && socialShare.download === 1 && (\n
    • \n \n
    • \n )}\n
    \n\n Gallery\n\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n

    Brought you by The Haylo

    \n
    \n
    \n
    \n\n
    \n )\n}\n\nexport default MicrositeTwoView\n"," import React, { useState, useEffect } from 'react'\n import { useForm } from 'react-hook-form'\n import { Link, useHistory, useParams } from 'react-router-dom'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { BsFillCameraVideoFill, BsImages } from 'react-icons/bs'\nimport { MdAddAPhoto, MdLocalOffer } from 'react-icons/md'\nimport { GiBoomerang, GiPerspectiveDiceThree } from 'react-icons/gi'\nimport { HiOutlineShare } from 'react-icons/hi'\nimport Layout from '../../components/layouts/Layout'\nimport NewFormWizard from '../../components/formWizard/NewFormWizard'\nimport http from '../../config/BaseUrl'\nimport { LoadingSpinner } from '../../components/Loader/Loader'\nimport LocalStorage from '../../hook/LocalStorage';\n\nconst EventFeaturesEdit = () => {\n\n const dispatch = useDispatch();\n const history = useHistory();\n const { id } = useParams();\n\n const { user } = LocalStorage()\n\n const eventFeatureItem = history.location.state.eventFeature\n const [packageTypes, setPackageTypes] = useState(null)\n const [loading, setLoading] = useState(false)\n const { register, handleSubmit } = useForm({\n defaultValues: {\n still_photo: eventFeatureItem.still_photo[0].status,\n three_in_one: eventFeatureItem.three_in_one[0].status,\n video: eventFeatureItem.video[0].status,\n boomerang: eventFeatureItem.boomerang[0].status,\n sharing: eventFeatureItem.sharing[0].status,\n gallery: eventFeatureItem.gallery[0].status,\n data_capture: eventFeatureItem.data_capture[0].status,\n }\n });\n\n\n useEffect(()=>{\n setLoading(true)\n http.get('/package-type')\n .then(res=>{\n let data = res.data.packageType\n let singleData = []\n let monthlyData = []\n let yearlyData = []\n let trialData = []\n data.forEach(item=>{\n singleData = [...singleData, {item_name: item.item_name, itemData: item.package_item_value.filter(filterItem=> filterItem.our_package.package_type.type === \"single\")}]\n monthlyData =[...monthlyData, {item_name: item.item_name, itemData: item.package_item_value.filter(filterItem=> filterItem.our_package.package_type.type === \"monthly\")}]\n yearlyData = [...yearlyData, {item_name: item.item_name, itemData: item.package_item_value.filter(filterItem=> filterItem.our_package.package_type.type === \"yearly\")}]\n trialData = [...trialData, {item_name: item.item_name, itemData: item.package_item_value.filter(filterItem=> filterItem.our_package.package_type.type === \"trial\")}]\n })\n \n let packageId = user.membership.package_id\n let packageType = user.membership.our_package.package_type.type\n\n let bindingItems = [\"Data Capture\"]\n let bindingsData\n if (packageType === 'trial') {\n bindingsData = checkPackageBinding(bindingItems, trialData, packageId)\n }\n else if (packageType === 'monthly') {\n bindingsData = checkPackageBinding(bindingItems, monthlyData, packageId)\n }\n else if(packageType === 'single'){\n bindingsData = checkPackageBinding(bindingItems, singleData, packageId)\n }\n else{\n bindingsData = checkPackageBinding(bindingItems, yearlyData, packageId)\n }\n\n let bindingObject = bindingsData.reduce(function(result, item) {\n var key = Object.keys(item)[0];\n result[key] = item[key];\n return result;\n }, {});\n\n setPackageTypes(bindingObject)\n\n setTimeout(()=>{\n setLoading(false)\n }, 500)\n })\n .catch(err=>{\n\n })\n }, [])\n\n const checkPackageBinding = (bindingItems, packageData, packageId) => {\n let bindingsData = []\n bindingItems.forEach(item=>{\n let findData = packageData.find(data => data.item_name === item)\n let findPackage = findData.itemData.find(dataItem => dataItem.our_package_id === packageId)\n\n if (item === \"Data Capture\") {\n bindingsData.push({\"data_capture\": findPackage.value == \"true\" ? 1 : 0}) \n }\n \n })\n\n return bindingsData\n }\n\n\n const handelFeatureUpdate = async (data) => {\n setLoading(true)\n try {\n await http.post(`/event/feature/update/${id}`, {...data, eventId:eventFeatureItem.event_id} )\n .then((res) => {\n if (res) {\n setLoading(false)\n history.push(`/show/event/${eventFeatureItem.event_id}`, 'Information Updated.')\n }\n })\n } catch (error) {\n\n }\n }\n\n\n\n return (\n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n \n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n \n
    \n\n
    \n
    \n
    \n
    \n

    Event Features

    \n Select the features you want active.\n
    \n
    \n
    \n
    \n\n\n
    \n
    \n {!loading \n \n ? \n : \n }\n \n
    \n
    \n\n
    \n
    \n
    \n )\n}\n\nexport default EventFeaturesEdit\n","import React from 'react'\nimport '../assets/sass/errorPage.scss'\nimport { useHistory } from 'react-router-dom'\nfunction InternalErrorPage() {\n\n const history = useHistory()\n\n return (\n
    \n
    \n \"error-page\"\n\n

    \n 500
    \n Internal server error\n

    \n

    We are currently trying to fix the problem.

    \n \n
    \n
    \n )\n}\n\nexport default InternalErrorPage\n","import React from 'react'\nimport { Redirect, Route } from 'react-router-dom';\nimport LocalStorage from '../hook/LocalStorage';\n\nfunction UnPaidRoute({ component: Component, ...rest }) {\n const { access_token, user } = LocalStorage();\n\n let expired = true;\n\n if (user) {\n if(user.membership){\n let expireAt = new Date(user.membership.expire_at);\n let currentDate = new Date();\n \n let hours = Math.round(expireAt - currentDate) / 36e5;\n \n if (hours > 0) {\n expired = false;\n }\n else{\n expired = true\n }\n }\n else{\n expired = true\n }\n }\n\n return (\n {\n if (access_token && user.expire === 0 && user.membership && user.membership.package_type === \"trial\") {\n return ;\n }\n if (access_token && user.expire === 1 && user.membership && user.membership.package_type === \"trial\") {\n return ;\n }\n else if (access_token && user.expire === 1 && expired) {\n return ;\n }\n else if (access_token && user.expire === 0 && expired) {\n return ;\n }\n // else if (access_token && user.expire === 1) {\n // return (\n // \n // );\n // }\n else {\n return ;\n // return (\n // \n // );\n }\n }}\n />\n );\n}\n\nexport default UnPaidRoute\n","export default __webpack_public_path__ + \"static/media/custom-branding-image.a2bea802.jpeg\";","import React, { useState, useEffect } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { useHistory } from 'react-router-dom'\nimport NewFormWizard from '../../../../components/formWizard/NewFormWizard'\nimport NewFormWizardChild from '../../../../components/formWizard/NewFormWziardChild'\nimport Layout from '../../../../components/layouts/Layout'\nimport { LoadingSpinner } from '../../../../components/Loader/Loader'\nimport http, { URL_S3 } from '../../../../config/BaseUrl'\nimport UploadFile from '../../../../hook/UploadFile'\nimport { customBrandingState } from '../slice/createEventSlice'\nimport brandingImage from '../../../../assets/images/custom-branding-image.jpeg'\n\nfunction WaterMark() {\n\n const history = useHistory();\n\n const dispatch = useDispatch()\n\n const { event_option, watermark, eventId } = useSelector(state => state.createEvent)\n\n // custom hook\n const { fileURL, onChangeFile, setFileURL, fileName } = UploadFile()\n\n const [loading, setLoading] = useState(false)\n const [draftLoading, setDraftLoading] = useState(false)\n const [xAxis, setXAxis] = useState('top')\n const [yAxis, setYAxis] = useState('left')\n const [tAxis, setTAxis] = useState('5px')\n const [lAxis, setlAxis] = useState('5px')\n const [brandingLogoWidth, setLogoWidth] = useState(30)\n\n useEffect(() => {\n if (watermark) {\n setFileURL(watermark.photo)\n xCalculation(watermark.align_x)\n yCalculation(watermark.align_y)\n }\n }, [watermark])\n\n const previewWaterMarkImage = {\n width: '380px',\n maxWidth: '100%',\n height: '100%',\n maxHeight: '488px',\n backgroundSize: 'contain',\n position: 'relative',\n }\n\n const previewWaterMarkStyle = {\n fontSize: '12px',\n color: '#fff',\n height: '30px',\n fontWeight: 'bold',\n position: 'absolute',\n transition: 'all .8s linear',\n marginBottom: '0',\n top: tAxis,\n left: lAxis\n }\n\n const YAxisCalculate = (e) => {\n yCalculation(e.target.value)\n }\n const XAxisCalculate = (e) => {\n xCalculation(e.target.value)\n }\n\n const xCalculation = (value) => {\n if (value == \"left\") {\n setXAxis('left')\n setlAxis('20px')\n }\n else {\n setXAxis('right')\n setlAxis(`calc(100% - ${brandingLogoWidth + 20}px)`)\n }\n }\n\n const yCalculation = (value) => {\n if (value == \"top\") {\n setYAxis('top')\n setTAxis('20px')\n }\n else {\n setYAxis('bottom')\n setTAxis(`calc(100% - 50px)`)\n }\n }\n\n const setValueX = (value) => {\n xCalculation(value)\n }\n const setValueY = (value) => {\n yCalculation(value)\n }\n\n const saveWaterMark = (e) => {\n e.preventDefault();\n\n let waterMarkData = {\n photo: fileURL,\n align_x: xAxis,\n align_y: yAxis\n }\n\n dispatch(customBrandingState(waterMarkData))\n setLoading(true)\n try {\n http.post('watermark', { ...waterMarkData, event_id: eventId })\n .then(res => {\n setLoading(false)\n if (event_option.microsite === true) { history.push('/event/microsite', eventId) }\n else if (event_option.frame_option === true) { history.push('/event/frame', eventId) }\n else if (event_option.incentive_offer === true) { history.push('/event/incentive-offer', eventId) }\n else if (event_option.filters === true) { history.push('/event/filter', eventId) }\n else if (event_option.form_builder === true) { history.push('/event/form-builder', eventId) }\n else { history.push('/event/summary', eventId) }\n })\n } catch (error) {\n setLoading(false)\n }\n }\n\n const saveAsDraft = (e) => {\n e.preventDefault();\n\n let waterMarkData = {\n photo: fileURL,\n align_x: xAxis,\n align_y: yAxis\n }\n\n dispatch(customBrandingState(waterMarkData))\n setDraftLoading(true)\n try {\n http.post('watermark', { ...waterMarkData, event_id: eventId })\n .then(res => {\n setDraftLoading(false)\n })\n } catch (error) {\n setDraftLoading(false)\n }\n }\n\n\n useEffect(() => {\n if (fileURL) {\n let img = document.getElementById(\"branding-logo\")\n let src = img.src;\n\n let image = new Image();\n image.src = src\n\n image.onload = function () {\n setLogoWidth(img.width)\n }\n }\n }, [fileURL])\n const BackToPreviousPage = (e) => {\n e.preventDefault()\n if (event_option.digital_props === true) { history.push('/event/digital-prop') }\n else if (event_option.text_messaging === true) { history.push('/event/sms') }\n else if (event_option.email === true) { history.push('/event/email') }\n else if (event_option.brust_gif === true) { history.push('/event/brust-gif') }\n else if (event_option.gif === true) { history.push('/event/gif') }\n else if (event_option.social_media === true) { history.push('/event/social') }\n else { history.push('/event/options') }\n }\n return (\n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Custom Branding

    \n

    Watermark your content and choose it's position

    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n { onChangeFile(e) }}\n />\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    setValueX('left')}>\n Left\n
    \n
    setValueX('right')}>\n Right\n
    \n
    \n
    \n
    \n \n
    \n
    setValueY('top')}>\n Top\n
    \n
    setValueY('bottom')}>\n Bottom\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \"branding\"\n {\n fileURL &&\n
    \n \"custom-branding\"\n
    \n }\n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n \n {loading ?\n ()\n : \n }\n {\n loading ?\n ()\n :\n \n }\n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default WaterMark\n","import React, { useState, useEffect } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { useHistory, useParams } from 'react-router-dom'\nimport NewFormWizard from '../../components/formWizard/NewFormWizard'\nimport NewFormWizardChild from '../../components/formWizard/NewFormWziardChild'\nimport Layout from '../../components/layouts/Layout'\nimport { LoadingSpinner } from '../../components/Loader/Loader'\nimport http, { URL_S3 } from '../../config/BaseUrl'\nimport UploadFile from '../../hook/UploadFile'\nimport brandingImage from '../../assets/images/custom-branding-image.jpeg'\n\nfunction WaterMarkEdit() {\n\n const history = useHistory();\n const { id } = useParams()\n const dispatch = useDispatch()\n\n const customBranding = history.location.state.customBranding\n\n // custom hook\n const { fileURL, onChangeFile, setFileURL, fileName } = UploadFile()\n\n const [loading, setLoading] = useState(false)\n const [draftLoading, setDraftLoading] = useState(false)\n const [waterMark, setWaterMark] = useState('Watermark')\n const [waterMarkType, setWaterMarkType] = useState('text')\n const [xAxis, setXAxis] = useState('top')\n const [yAxis, setYAxis] = useState('left')\n const [tAxis, setTAxis] = useState('5px')\n const [lAxis, setlAxis] = useState('5px')\n const [photo, setPhoto] = useState('')\n const [brandingLogoWidth, setLogoWidth] = useState(30)\n\n useEffect(() => {\n if (customBranding) {\n setPhoto(`${URL_S3}image/watermark/${customBranding.photo}`)\n xCalculation(customBranding.align_x)\n yCalculation(customBranding.align_y)\n }\n }, [customBranding])\n\n const previewWaterMarkImage = {\n width: '380px',\n maxWidth: '100%',\n height: '100%',\n maxHeight: '488px',\n backgroundSize: 'contain',\n position: 'relative',\n }\n\n const previewWaterMarkStyle = {\n fontSize: '12px',\n color: '#fff',\n height: '30px',\n fontWeight: 'bold',\n position: 'absolute',\n transition: 'all .8s linear',\n marginBottom: '0',\n top: tAxis,\n left: lAxis,\n }\n\n const YAxisCalculate = (e) => {\n yCalculation(e.target.value)\n }\n const XAxisCalculate = (e) => {\n xCalculation(e.target.value)\n }\n\n\n\n const xCalculation = (value) => {\n if (value == \"left\") {\n setXAxis('left')\n setlAxis('20px')\n }\n else {\n setXAxis('right')\n setlAxis(`calc(100% - ${brandingLogoWidth + 20}px)`)\n }\n }\n\n const yCalculation = (value) => {\n if (value == \"top\") {\n setYAxis('top')\n setTAxis('20px')\n }\n else {\n setYAxis('bottom')\n setTAxis(`calc(100% - 50px)`)\n }\n }\n\n const setValueX = (value) => {\n xCalculation(value)\n }\n const setValueY = (value) => {\n yCalculation(value)\n }\n\n const saveWaterMark = (e) => {\n e.preventDefault();\n\n let waterMarkData = {\n photo: fileURL,\n align_x: xAxis,\n align_y: yAxis\n }\n\n setLoading(true)\n try {\n http.put(`watermark/${id}`, { ...waterMarkData, event_id: customBranding.event_id })\n .then(res => {\n setLoading(false)\n history.push(`/show/event/${customBranding.event_id}`, 'Information Updated.')\n })\n } catch (error) {\n setLoading(false)\n }\n }\n\n\n useEffect(() => {\n if (photo) {\n let img = document.getElementById(\"branding-logo\")\n let src = img.src;\n\n let image = new Image();\n image.src = src\n\n image.onload = function () {\n setLogoWidth(img.width)\n }\n }\n if (fileURL) {\n let img = document.getElementById(\"branding-logo\")\n let src = img.src;\n\n let image = new Image();\n image.src = src\n\n image.onload = function () {\n setLogoWidth(img.width)\n }\n }\n }, [fileURL, photo])\n\n\n return (\n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Custom Branding

    \n

    Watermark your content and choose it's position

    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n { setWaterMarkType('image'); onChangeFile(e) }}\n />\n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    setValueX('left')}>\n Left\n
    \n
    setValueX('right')}>\n Right\n
    \n
    \n
    \n
    \n \n
    \n
    setValueY('top')}>\n Top\n
    \n
    setValueY('bottom')}>\n Bottom\n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n \"branding\"\n
    \n \"custom-branding\"\n
    \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n
    \n\n\n\n
    \n
    \n {loading ?\n ()\n : \n }\n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default WaterMarkEdit\n","import React, { useState, useEffect } from 'react'\nimport http from '../../config/BaseUrl'\nimport Layout from '../../components/layouts/Layout'\nimport ScreenLoader from '../../components/Loader/ScreenLoader'\n\nfunction MemberSettings() {\n\n const [isLoading, setLoading] = useState(false)\n const [loadingContent, setLoadingContent] = useState(null)\n const [loadedContent, setLoadedContent] = useState(null)\n const [memberSetting, setMemberSetting] = useState(null)\n const [name, setName] = useState('exit_app')\n const [active_status, setActiveStatus] = useState(false)\n const [adminPassword, setAdminPassword] = useState(new Array(4).fill(\"\"));\n\n\n\n useEffect(() => {\n setLoading(true)\n setLoadingContent(\"Loading. Please Wait.\")\n http.get('get-member-settings')\n .then(res => {\n setLoadingContent(\"Loaded.\")\n if (res.data.memberSettings) {\n setActiveStatus(res.data.memberSettings.active_status)\n if (res.data.memberSettings.password) {\n setAdminPassword((res.data.memberSettings.password).split(\"\"))\n }\n }\n setMemberSetting(res.data.memberSettings)\n setTimeout(() => {\n setLoading(false)\n }, 1000)\n })\n\n\n }, [])\n\n const submitChanges = (e) => {\n e.preventDefault();\n setLoading(true)\n setLoadingContent(\"Saving. Please Wait.\")\n const submittedData = {\n name: name,\n active_status: active_status,\n password: adminPassword?.toString().replace(/,/g, \"\")\n }\n\n http.post('member-settings', submittedData)\n .then(res => {\n setLoadingContent(\"Saved.\")\n setTimeout(() => {\n setLoading(false)\n }, 1000)\n })\n .catch(err => {\n console.log(err.response)\n setLoadingContent(\"Somthing went wrong.\")\n setTimeout(() => {\n setLoading(false)\n }, 1000)\n })\n }\n\n const handleChange = (element, index) => {\n if (isNaN(element.value)) return false;\n setAdminPassword([...adminPassword.map((d, idx) => (idx === index ? element.value : d))]);\n };\n\n const handleKeyPress = (e, index) => {\n if(e.keyCode === 8){\n if(e.target.previousSibling){\n e.target.previousSibling.focus();\n }\n }\n else{\n if (e.target.nextSibling) {\n e.target.nextSibling.focus();\n }\n }\n }\n\n return (\n \n {\n !isLoading ?\n
    \n
    \n
    \n
    \n

    Member Settings

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    Exit From App
    \n \n
    \n
    \n {\n if (e.target.checked) {\n setActiveStatus(1)\n }\n else {\n setActiveStatus(0)\n }\n }}\n />\n \n
    \n
    \n
    \n
    \n
    PIN
    \n
    \n
    \n
    \n {adminPassword && adminPassword.map((data, index) => (\n < input\n className=\"form-control\"\n type=\"text\"\n maxLength=\"1\"\n key={index}\n value={data}\n onKeyUp={e => handleKeyPress(e, index)}\n onChange={e => handleChange(e.target, index)}\n onFocus={e => e.target.select()}\n />\n )\n )}\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n\n
    \n\n
    \n : \n }\n\n\n
    \n )\n}\n\nexport default MemberSettings\n","import React, { useState, useEffect } from 'react'\nimport parse from 'html-react-parser';\n\nfunction TemplateOne(props) {\n const initialState = {\n userName: \"Jhon Doe\",\n eventName: \"Girlfriend's Wedding\",\n contentBodyText: \"Here is your photo\",\n buttonText: \"Share Your Photo\",\n markupText: \"Brought you by Haylo\",\n footerText: `© 2021 The Haylo. All Rights Reserved`\n }\n const [emailTemplateContent, setContent] = useState({ ...initialState })\n\n const [selectedState, setSelectedState] = useState(null)\n\n const selectElement = (stateName, theValue) => {\n props.setChangeState(stateName, theValue)\n\n setSelectedState(stateName)\n\n }\n\n useEffect(() => {\n if (props.changeStateData !== emailTemplateContent[`${selectedState}`]) {\n if (props.changeStateData != '') {\n let content = { ...emailTemplateContent, [`${selectedState}`]: props.changeStateData }\n setContent(content)\n props.copyEditedData(content)\n }\n }\n\n if (props.reset === true) {\n setContent({ ...initialState })\n }\n\n }, [props])\n\n return (\n
    \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n {parse(emailTemplateContent.userName)}\n {parse(emailTemplateContent.eventName)}\n

    21-09-2021 18:00

    \n
    \n
    \n
    \n
    \n\n \n \n \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n
    \n

    {parse(emailTemplateContent.contentBodyText)}

    \n\n \n \"tt\"\n \n\n
    \n {parse(emailTemplateContent.buttonText)}\n
    \n
    \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n\n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n {parse(emailTemplateContent.markupText)}\n
    \n
    \n
    \n
    \n\n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n

    {parse(emailTemplateContent.footerText)}

    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n )\n}\n\nexport default TemplateOne\n","import React, { useState, useEffect } from 'react'\nimport parse from 'html-react-parser';\n\nfunction TemplateTwo(props) {\n\n const initialState = {\n userName: \"Jhon Doe\",\n eventName: \"Nick's Birthday\",\n contentBodyText: \"Share your experience with your friends and family.\",\n buttonText: \"Share Your Photo\",\n markupText: \"Thank you for joining with us.\",\n footerText: `© 2021 The Haylo. All Rights Reserved`\n }\n const [emailTemplateContent, setContent] = useState({ ...initialState })\n\n const [selectedState, setSelectedState] = useState(null)\n\n const selectElement = (stateName, theValue) => {\n props.setChangeState(stateName, theValue)\n\n setSelectedState(stateName)\n\n }\n\n useEffect(() => {\n if (props.changeStateData !== emailTemplateContent[`${selectedState}`]) {\n if (props.changeStateData != '') {\n let content = { ...emailTemplateContent, [`${selectedState}`]: props.changeStateData }\n setContent(content)\n props.copyEditedData(content)\n }\n }\n\n if (props.reset === true) {\n setContent({ ...initialState })\n }\n\n }, [props])\n\n return (\n
    \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n {parse(emailTemplateContent.userName)}\n
    \n
    \n
    \n
    \n\n \n \n \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n
    \n

    {parse(emailTemplateContent.markupText)}

    \n

    {parse(emailTemplateContent.contentBodyText)}

    \n\n \n \"template\"\n \n\n {parse(emailTemplateContent.eventName)}\n

    21-09-2021 18:00

    \n
    \n {parse(emailTemplateContent.buttonText)}\n
    \n
    \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n\n\n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n

    {parse(emailTemplateContent.footerText)}

    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n\n )\n}\n\nexport default TemplateTwo\n","import React, { useState, useEffect } from 'react'\nimport parse from 'html-react-parser';\n\nfunction TemplateThree(props) {\n\n const initialState = {\n userName: \"Jhon Doe\",\n eventName: \"Hotel Party\",\n contentBodyText: \"Here is your photo\",\n buttonText: \"Share Your Photo\",\n markupText: \"Brought you by The Haylo\",\n footerText: `© 2021 The Haylo. All Rights Reserved`\n }\n const [emailTemplateContent, setContent] = useState({ ...initialState })\n\n const [selectedState, setSelectedState] = useState(null)\n\n const selectElement = (stateName, theValue) => {\n props.setChangeState(stateName, theValue)\n\n setSelectedState(stateName)\n\n }\n\n useEffect(() => {\n if (props.changeStateData !== emailTemplateContent[`${selectedState}`]) {\n if (props.changeStateData != '') {\n let content = { ...emailTemplateContent, [`${selectedState}`]: props.changeStateData }\n setContent(content)\n props.copyEditedData(content)\n }\n }\n\n if (props.reset === true) {\n setContent({ ...initialState })\n }\n\n }, [props])\n\n return (\n
    \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n {parse(emailTemplateContent.userName)}\n {parse(emailTemplateContent.eventName)}\n

    21-09-2021 18:00

    \n
    \n
    \n
    \n
    \n\n \n \n \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n \n \n \n
    \n

    {parse(emailTemplateContent.contentBodyText)}

    \n\n \n \"s\"\n \n\n
    \n {parse(emailTemplateContent.buttonText)}\n
    \n
    \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n
    \n\n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n \n \n \n \n \n \n
    \n {parse(emailTemplateContent.markupText)}\n

    {parse(emailTemplateContent.footerText)}

    \n
    \n
    \n
    \n
    \n\n\n
    \n
    \n
    \n )\n}\n\nexport default TemplateThree\n","import React, { useState, useEffect, useRef } from 'react'\nimport { useParams } from 'react-router';\nimport { useDispatch } from 'react-redux';\nimport { BsFillDisplayFill, BsPhone, BsTablet } from 'react-icons/bs'\nimport { useHistory } from 'react-router-dom';\nimport http, { rootApi } from '../../../config/BaseUrl';\nimport ScreenLoader from '../../../components/Loader/ScreenLoader';\nimport TemplateOne from './EmailTemplate/TemplateOne';\nimport TemplateTwo from './EmailTemplate/TemplateTwo';\nimport TemplateThree from './EmailTemplate/TemplateThree';\nimport Modal from 'react-modal'\nimport { Editor } from '@tinymce/tinymce-react';\n\nimport './Style/style.css'\n\n\nfunction EditEmailTemplate() {\n\n const customStyles = {\n overlay: {\n position: 'fixed',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n backgroundColor: 'rgb(0 0 0 / 80%)',\n zIndex: 100,\n width: '500x',\n },\n content: {\n position: 'relative',\n top: '50%',\n left: '50%',\n right: 'auto',\n bottom: 'auto',\n marginRight: '-50%',\n transform: 'translate(-50%, -50%)',\n width: '500px',\n overflow: 'hidden'\n\n },\n closeBtn: {\n position: 'absolute',\n top: 0,\n right: '-1%',\n background: 'transparent',\n border: 'none',\n color: 'red'\n }\n\n\n };\n\n const { id, email_id } = useParams()\n const history = useHistory();\n\n const dispatch = useDispatch()\n\n const editorRef = useRef()\n // const { CKEditor, ClassicEditor } = editorRef.current || {}\n\n const [customizeText, setCustomizeText] = useState(null)\n const [customizeData, setCustomizeData] = useState(null)\n const [fromState, setFromState] = useState(null)\n const [templateDetail, setTemplateDetail] = useState(null)\n const [deviceView, setDeviceView] = useState('desktop-view')\n const [reset, setReset] = useState(false)\n const [loading, setLoading] = useState(false)\n const [loadingContent, setLoadingContent] = useState(false)\n const [selectedTemplate, setSelectedTemplate] = useState(null)\n const [templateName, setTemplateName] = useState(null)\n const [templateNameError, setTemplateNameError] = useState(false)\n const [modalIsOpen, setModalIsOpen] = useState(false)\n\n // useEffect(() => {\n // editorRef.current = {\n // // CKEditor: require('@ckeditor/ckeditor5-react'), // depricated in v3\n // CKEditor: require('@ckeditor/ckeditor5-react').CKEditor,\n // ClassicEditor: require('@ckeditor/ckeditor5-build-classic')\n // }\n // }, [])\n\n\n useEffect(() => {\n setLoading(true)\n setLoadingContent(\"Loading. Please Wait.\")\n http.get(`get-email-template-sample/${id}`)\n .then(res => {\n setTemplateDetail(res.data.template);\n setLoadingContent(\"Loaded.\")\n setLoading(false)\n\n let data = { id: res.data.template.id, image: res.data.template.template_image }\n\n setSelectedTemplate(data)\n\n })\n .catch(err => {\n console.log(err.response);\n })\n\n }, [])\n\n const resetEmailTemplate = () => {\n setReset(true);\n setCustomizeText('')\n setFromState('')\n setTimeout(() => {\n setReset(false)\n }, 1000)\n }\n\n const setChangeState = (stateName, theValue) => {\n setCustomizeText(theValue)\n setFromState(theValue)\n }\n\n useEffect(() => {\n if (customizeText && customizeText !== fromState) {\n setFromState(customizeText)\n }\n }, [customizeText])\n\n const copyEditedData = (data) => {\n setCustomizeData(data)\n }\n\n const saveTemplate = () => {\n setTimeout(() => {\n if (email_id) {\n history.push(`/event/email/edit/${email_id}`, { editedData: { content: customizeData, email_id: email_id, template: selectedTemplate, saveAs: 'edited' } })\n } else {\n history.push(`/event/email`, { editedData: { content: customizeData, email_id: null, template: selectedTemplate, saveAs: 'edited' } })\n }\n }, 1000)\n\n }\n\n\n const saveChanges = () => {\n if (templateName) {\n setModalIsOpen(true)\n }\n else {\n setTemplateNameError(true)\n setTimeout(() => {\n setTemplateNameError(false)\n }, 3000)\n }\n }\n\n\n const saveTemplateByName = () => {\n setModalIsOpen(false)\n setLoading(true)\n setLoadingContent(\"Loading. Please Wait.\")\n\n const submittedData = {\n name: templateName,\n email_template_id: id,\n contents: customizeData\n }\n\n http.post(`save/my/email-template`, submittedData)\n .then(res => {\n setLoadingContent(res.data.message)\n setTimeout(() => {\n setLoading(false)\n if (email_id) {\n history.push(`/event/email/edit/${email_id}`, { editedData: { content: customizeData, email_id: email_id, template: selectedTemplate, saveAs: 'my_template', email_my_template_id: res.data.data.id } })\n } else {\n history.push(`/event/email`, { editedData: { content: customizeData, email_id: null, template: selectedTemplate, saveAs: 'my_template', email_my_template_id: res.data.id } })\n }\n }, 3000)\n })\n .catch(err => {\n console.log(err.response);\n })\n\n }\n\n\n return (\n
    \n {\n !loading ?\n <>\n
    \n
    \n Save\n \n \n
    \n\n
    \n
    \n
    \n

    Save Changes

    \n
    \n
    \n

    Save this template and add it to your personal library

    \n
    \n setTemplateName(e.target.value)} value={templateName} />\n \n
    \n {\n templateNameError &&\n

    Name field is required.

    \n }\n
    \n
    \n
    \n\n
    \n
    \n
    \n

    Configure Layout

    \n
    \n
    \n
    \n

    Choose a preview layout

    \n
    \n setDeviceView('mobile-view')}>\n \n \n setDeviceView('tab-view')}>\n \n \n setDeviceView('desktop-view')}>\n \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n

    Customize Section

    \n
    \n\n
    \n

    \n Editable elements are denoted by the green-dotted borders. Images, text and video links can be customized, simply click on an element to begin editing.\n To preview your content without the green-dotted borders, click below:\n

    \n editorRef.current = editor}\n initialValue=\"\"\n value={customizeText}\n init={{\n height: 200,\n menubar: false,\n plugins: [\n 'advlist autolink lists link image charmap print preview anchor',\n 'searchreplace visualblocks code fullscreen',\n 'insertdatetime media table paste code help wordcount'\n ],\n toolbar: 'undo redo | formatselect | ' +\n 'bold italic backcolor | alignleft aligncenter ' +\n 'alignright alignjustify | bullist numlist outdent indent | ' +\n 'removeformat | help',\n content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px }'\n }}\n onEditorChange={(newValue, editor) => setCustomizeText(newValue)}\n />\n\n
    \n\n
    \n
    \n\n \n
    \n
    \n
    \n
    \n

    Are You Sure!

    \n

    This template will be selected as current template.

    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n\n
    \n
    \n
    \n
    \n {\n templateDetail && templateDetail.template_name == \"Email Template Three\" ?\n \n : templateDetail && templateDetail.template_name == \"Email Template Two\" ?\n \n :\n \n }\n
    \n
    \n
    \n \n : \n }\n\n\n
    \n )\n}\n\nexport default EditEmailTemplate\n","import React, { useState, useEffect } from 'react'\nimport { FaDownload, FaFacebookF, FaSms, FaTwitter } from 'react-icons/fa';\nimport { FiInstagram, FiMail } from 'react-icons/fi';\nimport { IoLogoLinkedin } from 'react-icons/io5';\nimport logo from '../../../../assets/images/logo/Haylo-for-white-background.png';\nimport parse from 'html-react-parser';\n\nfunction TemplateOne(props) {\n const initialState = {\n logo: logo,\n contentBodyText: \"Share now with your family and friends\",\n SocialMenuStyle: \"#CEA252\",\n buttonText: \"Gallery\",\n buttonColor: `rgb(206, 162, 82)`,\n footerText: `Brought you by The Haylo`,\n }\n const [socailShareContent, setContent] = useState({ ...initialState })\n\n const [selectedState, setSelectedState] = useState(null)\n\n const selectElement = (stateName, theValue) => {\n props.setChangeState(stateName, theValue)\n\n setSelectedState(stateName)\n\n }\n\n useEffect(() => {\n if (props.changeStateData !== socailShareContent[`${selectedState}`]) {\n if(props.changeStateData != ''){\n let content = { ...socailShareContent, [`${selectedState}`]: props.changeStateData }\n setContent(content)\n props.copyEditedData(content)\n }\n }\n\n if (props.reset === true) {\n setContent({ ...initialState })\n }\n\n }, [props])\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {\n socailShareContent.logo &&\n selectElement('logo', socailShareContent.logo)} className=\"img-fluid\" alt=\"logo\" style={{ width: \"250px\" }} />\n \n }\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \"random-photos\"\n
    \n\n\n

    selectElement('contentBodyText', socailShareContent.contentBodyText)}>{parse(socailShareContent.contentBodyText)}

    \n\n
      selectElement('SocialMenuStyle', socailShareContent.SocialMenuStyle)}>\n \n
    • \n \n
    • \n
    • \n \n
    • \n
    • \n \n
    • \n
    • \n \n
    • \n
    • \n \n
    • \n
    • \n \n
    • \n
    • \n \n
    • \n \n
    \n\n selectElement('buttonText', socailShareContent.buttonText)}\n >{parse(socailShareContent.buttonText)}\n\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n

    selectElement('footerText', socailShareContent.footerText)}>{parse(socailShareContent.footerText)}

    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default TemplateOne\n","import React, { useEffect, useState } from 'react'\nimport { FaDownload, FaFacebookF, FaSms, FaTwitter } from 'react-icons/fa'\nimport { FiInstagram, FiMail } from 'react-icons/fi'\nimport { IoLogoLinkedin } from 'react-icons/io5'\nimport logoThree from '../../../../assets/images/logo/Haylo-logo-white.png'\nimport parse from 'html-react-parser'\n\nfunction TemplateThree(props) {\n\n const initialState = {\n logo: logoThree,\n contentBodyText: \"Share now with your family and friends\",\n SocialMenuStyle: \"#CEA252\",\n buttonText: \"Gallery\",\n buttonColor: `rgb(206, 162, 82)`,\n footerText: `Brought you by The Haylo`,\n }\n const [socailShareContent, setContent] = useState({ ...initialState })\n\n const [selectedState, setSelectedState] = useState(null)\n\n const selectElement = (stateName, theValue) => {\n props.setChangeState(stateName, theValue)\n\n setSelectedState(stateName)\n\n }\n\n useEffect(() => {\n if (props.changeStateData !== socailShareContent[`${selectedState}`]) {\n if(props.changeStateData != ''){\n let content = { ...socailShareContent, [`${selectedState}`]: props.changeStateData }\n setContent(content)\n props.copyEditedData(content)\n }\n }\n\n if (props.reset === true) {\n setContent({ ...initialState })\n }\n\n }, [props])\n\n\n return (\n
    \n\n
    \n
    \n
    \n
    \n
    \n {\n socailShareContent.logo &&\n selectElement('logo', socailShareContent.logo)} className=\"img-fluid\" alt=\"logo\" style={{ width: \"250px\" }} />\n }\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \"random-photos\"\n
    \n\n

    selectElement('contentBodyText', socailShareContent.contentBodyText)}>{parse(socailShareContent.contentBodyText)}

    \n\n
      selectElement('SocialMenuStyle', socailShareContent.SocialMenuStyle)}>\n
    • \n \n
    • \n
    • \n \n
    • \n
    • \n \n
    • \n
    • \n \n
    • \n
    • \n \n
    • \n
    • \n \n
    • \n
    • \n \n
    • \n
    \n\n selectElement('buttonText', socailShareContent.buttonText)}>{parse(socailShareContent.buttonText)}\n\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n

    selectElement('footerText', socailShareContent.footerText)}>{parse(socailShareContent.footerText)}

    \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default TemplateThree\n","import React, { useEffect, useState } from 'react'\nimport { FaDownload, FaFacebookF, FaSms, FaTwitter } from 'react-icons/fa'\nimport { FiInstagram, FiMail } from 'react-icons/fi'\nimport { IoLogoLinkedin } from 'react-icons/io5'\nimport logo from '../../../../assets/images/logo/Haylo-for-white-background.png';\nimport parse from 'html-react-parser';\n\nfunction TemplateTwo(props) {\n\n const initialState = {\n logo: logo,\n contentBodyText: \"Share now with your family and friends\",\n SocialMenuStyle: \"#CEA252\",\n buttonText: \"Gallery\",\n buttonColor: `rgb(206, 162, 82)`,\n footerText: `Brought you by The Haylo`,\n }\n const [socailShareContent, setContent] = useState({ ...initialState })\n\n const [selectedState, setSelectedState] = useState(null)\n\n const selectElement = (stateName, theValue) => {\n props.setChangeState(stateName, theValue)\n\n setSelectedState(stateName)\n\n }\n\n useEffect(() => {\n if (props.changeStateData !== socailShareContent[`${selectedState}`]) {\n if(props.changeStateData != ''){\n let content = { ...socailShareContent, [`${selectedState}`]: props.changeStateData }\n setContent(content)\n props.copyEditedData(content)\n }\n }\n\n if (props.reset === true) {\n setContent({ ...initialState })\n }\n\n }, [props])\n\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n {\n socailShareContent.logo &&\n selectElement('logo', socailShareContent.logo)} class=\"img-fluid\" alt=\"logo\" style={{ width: \"250px\" }} />\n }\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \"random-photos\"\n
    \n\n\n

    selectElement('contentBodyText', socailShareContent.contentBodyText)}>{parse(socailShareContent.contentBodyText)}

    \n\n
      selectElement('SocialMenuStyle', socailShareContent.SocialMenuStyle)}>\n \n
    • \n \n
    • \n
    • \n \n
    • \n
    • \n \n
    • \n
    • \n \n
    • \n
    • \n \n
    • \n
    • \n \n
    • \n
    • \n \n
    • \n \n
    \n\n selectElement('buttonText', socailShareContent.buttonText)}\n >{parse(socailShareContent.buttonText)}\n\n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n

    selectElement('footerText', socailShareContent.footerText)}>{parse(socailShareContent.footerText)}

    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default TemplateTwo\n","import React, { useState, useEffect, useRef } from 'react'\nimport { useParams } from 'react-router';\nimport { useDispatch } from 'react-redux';\nimport { BsFillDisplayFill, BsPhone, BsTablet } from 'react-icons/bs'\nimport { useHistory } from 'react-router-dom';\nimport http, { rootApi } from '../../../config/BaseUrl';\nimport ScreenLoader from '../../../components/Loader/ScreenLoader';\nimport TemplateOne from './SocialGallery/TemplateOne';\n// import TemplateTwo from './SocialGallery/TemplateTwo';\n// import TemplateThree from './SocialGallery/TemplateThree';\nimport Modal from 'react-modal'\nimport './Style/style.css'\nimport { HexColorPicker } from \"react-colorful\";\nimport TemplateThree from './SocialGallery/TemplateThree';\nimport TemplateTwo from './SocialGallery/TemplateTwo';\nimport { Editor } from '@tinymce/tinymce-react';\n\n\nfunction EditSocialShare() {\n\n const customStyles = {\n overlay: {\n position: 'fixed',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n backgroundColor: 'rgb(0 0 0 / 80%)',\n zIndex: 100,\n width: '500x',\n },\n content: {\n position: 'relative',\n top: '50%',\n left: '50%',\n right: 'auto',\n bottom: 'auto',\n marginRight: '-50%',\n transform: 'translate(-50%, -50%)',\n width: '500px',\n overflow: 'hidden'\n\n },\n closeBtn: {\n position: 'absolute',\n top: 0,\n right: '-1%',\n background: 'transparent',\n border: 'none',\n color: 'red'\n }\n\n\n };\n const { id, social_id } = useParams()\n\n const history = useHistory();\n\n const dispatch = useDispatch()\n\n const editorRef = useRef()\n // const { CKEditor, ClassicEditor } = editorRef.current || {}\n\n const [customizeText, setCustomizeText] = useState(null)\n const [customizeData, setCustomizeData] = useState(null)\n const [fromStateName, setFromStateName] = useState(null)\n const [fromState, setFromState] = useState(null)\n const [templateDetail, setTemplateDetail] = useState(null)\n const [deviceView, setDeviceView] = useState('desktop-view')\n const [reset, setReset] = useState(false)\n const [loading, setLoading] = useState(false)\n const [loadingContent, setLoadingContent] = useState(false)\n const [selectedTemplate, setSelectedTemplate] = useState(null)\n const [templateName, setTemplateName] = useState(null)\n const [templateNameError, setTemplateNameError] = useState(false)\n const [logoError, setLogoError] = useState(false)\n const [modalIsOpen, setModalIsOpen] = useState(false)\n\n useEffect(() => {\n // editorRef.current = {\n // // CKEditor: require('@ckeditor/ckeditor5-react'), // depricated in v3\n // CKEditor: require('@ckeditor/ckeditor5-react').CKEditor,\n // ClassicEditor: require('@ckeditor/ckeditor5-build-classic')\n // }\n }, [])\n\n\n useEffect(() => {\n setLoading(true)\n setLoadingContent(\"Loading. Please Wait.\")\n http.get(`get-micro-site-template-sample/${id}`)\n .then(res => {\n setTemplateDetail(res.data.template);\n setLoadingContent(\"Loaded.\")\n setLoading(false)\n\n let data = { id: res.data.template.id, image: res.data.template.template_image }\n\n setSelectedTemplate(data)\n\n })\n .catch(err => {\n console.log(err.response);\n })\n\n }, [])\n\n const resetEmailTemplate = () => {\n setReset(true);\n setCustomizeText('')\n setFromState('')\n setTimeout(() => {\n setReset(false)\n }, 1000)\n }\n\n const setChangeState = (stateName, theValue) => {\n setCustomizeText(theValue)\n setFromState(theValue)\n setFromStateName(stateName)\n }\n\n useEffect(() => {\n if (customizeText && customizeText !== fromState) {\n setFromState(customizeText)\n }\n }, [customizeText])\n\n const copyEditedData = (data) => {\n setCustomizeData(data)\n }\n\n const saveTemplate = () => {\n setTimeout(() => {\n if (social_id) {\n history.push(`/event/microsite/edit/${social_id}`, { editedData: { content: customizeData, social_id: social_id, template: selectedTemplate, saveAs: 'edited' } })\n } else {\n history.push(`/event/microsite`, { editedData: { content: customizeData, social_id: null, template: selectedTemplate, saveAs: 'edited' } })\n }\n }, 1000)\n\n }\n\n\n const saveChanges = () => {\n if (templateName) {\n setModalIsOpen(true)\n }\n else {\n setTemplateNameError(true)\n setTimeout(() => {\n setTemplateNameError(false)\n }, 3000)\n }\n }\n\n\n const saveTemplateByName = () => {\n setModalIsOpen(false)\n setLoading(true)\n setLoadingContent(\"Loading. Please Wait.\")\n\n const submittedData = {\n name: templateName,\n microsite_template_id: id,\n contents: customizeData\n }\n\n http.post(`save/my/social-gallery-template`, submittedData)\n .then(res => {\n setLoadingContent(res.data.message)\n setTimeout(() => {\n setLoading(false)\n\n let editedData = {\n content: customizeData,\n social_id: social_id,\n template: { ...selectedTemplate, my_social_gallery_id: res.data.data.id },\n saveAs: 'my_template',\n my_social_gallery_id: res.data.data.id\n }\n\n if (social_id) {\n history.push(`/event/microsite/edit/${social_id}`, { editedData: editedData })\n } else {\n history.push(`/event/microsite`, { editedData: editedData })\n }\n }, 3000)\n })\n .catch(err => {\n console.log(err.response);\n })\n\n }\n\n const changeLogo = (e) => {\n let fileReader = new FileReader();\n\n if (e.target.files[0].size < 50000) {\n fileReader.readAsDataURL(e.target.files[0]);\n\n fileReader.onload = (e) => {\n setFromState(e.target.result)\n setLogoError(null)\n };\n }\n else {\n setLogoError('File size must be below to 50kb.')\n }\n\n }\n\n const removeImage = () => {\n setFromState(null)\n setLogoError(null)\n }\n\n\n return (\n
    \n {\n !loading ?\n <>\n
    \n
    \n Save\n \n \n
    \n\n
    \n
    \n
    \n

    Save Changes

    \n
    \n
    \n

    Save this template and add it to your personal library

    \n
    \n setTemplateName(e.target.value)} value={templateName} />\n \n
    \n {\n templateNameError &&\n

    Name field is required.

    \n }\n
    \n
    \n
    \n\n
    \n
    \n
    \n

    Configure Layout

    \n
    \n
    \n
    \n

    Choose a preview layout

    \n
    \n setDeviceView('mobile-view')}>\n \n \n setDeviceView('tab-view')}>\n \n \n setDeviceView('desktop-view')}>\n \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n

    Customize Section

    \n
    \n\n
    \n

    \n Editable elements are denoted by the green-dotted borders. Images, text and video links can be customized, simply click on an element to begin editing.\n To preview your content without the green-dotted borders, click below:\n

    \n {\n fromStateName !== 'logo' && fromStateName !== 'SocialMenuStyle' &&\n editorRef.current = editor}\n initialValue=\"\"\n value={customizeText}\n init={{\n height: 200,\n menubar: false,\n plugins: [\n 'advlist autolink lists link image charmap print preview anchor',\n 'searchreplace visualblocks code fullscreen',\n 'insertdatetime media table paste code help wordcount'\n ],\n toolbar: 'undo redo | formatselect | ' +\n 'bold italic backcolor | alignleft aligncenter ' +\n 'alignright alignjustify | bullist numlist outdent indent | ' +\n 'removeformat | help',\n content_style: 'body { font-family:Helvetica,Arial,sans-serif; font-size:14px }'\n }}\n onEditorChange={(newValue, editor) => setCustomizeText(newValue)}\n />\n }\n\n\n\n {\n fromStateName == 'SocialMenuStyle' &&\n
    \n

    Change Color

    \n \n
    \n }\n\n {\n fromStateName == 'logo' &&\n
    \n
    \n \"selected-item\"\n
    \n
    \n {\n logoError &&\n

    {logoError}

    \n }\n
    \n
    \n
    \n \n \n
    \n \n
    \n
    \n }\n\n\n
    \n\n
    \n
    \n\n \n
    \n
    \n
    \n
    \n

    Are You Sure!

    \n

    This template will be selected as current template.

    \n
    \n
    \n \n \n
    \n
    \n
    \n
    \n \n\n
    \n
    \n
    \n
    \n {\n templateDetail && templateDetail.template_name == \"three\" ?\n \n : templateDetail && templateDetail.template_name == \"two\" ?\n \n :\n \n }\n
    \n
    \n
    \n \n : \n }\n\n\n
    \n )\n}\n\nexport default EditSocialShare\n","import React, { useEffect, useState } from 'react'\nimport http, { URL_S3 } from '../../../../config/BaseUrl'\n\nconst GifModal = (props) => {\n const [propsItems, setPropsItem] = useState([])\n const [allGif, setAllGif] = useState([])\n const [submitClose, setSubmitClose] = useState(false)\n const [loading, setLoading] = useState(false)\n const [selectedAll, setSelectedAll] = useState(false)\n\n\n const GifItemList = async () => {\n try {\n setLoading(true)\n await http.get(\"gif-list\").then((res) => {\n if (res.data.status === true) {\n setAllGif(res.data.gifList)\n setLoading(false)\n }\n\n }).catch((err) => {\n setLoading(false)\n })\n } catch (error) {\n setLoading(false)\n }\n }\n\n const handleSubmit = () => {\n if (propsItems) {\n props.setData(propsItems)\n }\n }\n\n useEffect(() => {\n if (propsItems.length != props.selectGifItems.length) {\n setPropsItem(props.selectGifItems)\n\n }\n if (props.selectGifItems.length > 0) {\n setSelectedAll(true)\n }\n else {\n setSelectedAll(false)\n }\n\n GifItemList()\n\n }, [props])\n\n\n const changeValue = (item) => {\n let copyItem = [...propsItems]\n let IndexOfItem = copyItem.findIndex(data => data.id === item.id)\n\n if (IndexOfItem >= 0) {\n copyItem.splice(IndexOfItem, 1)\n setPropsItem(copyItem)\n }\n else {\n copyItem = [...copyItem, item]\n setPropsItem(copyItem)\n\n }\n\n if (copyItem.length > 0) {\n setSubmitClose(true)\n }\n else {\n setSubmitClose(false)\n }\n\n }\n\n const selectAllData = () => {\n let copyItem = [...propsItems]\n let copyData = [...allGif]\n if (!selectedAll) {\n copyData.forEach(itemData => {\n let dataSet = { id: itemData.id, photo: itemData.photo }\n let IndexOfItem = copyItem.findIndex(data => data.id === dataSet.id)\n\n if (IndexOfItem < 0) {\n copyItem = [...copyItem, dataSet]\n setPropsItem(copyItem)\n }\n })\n setSelectedAll(true)\n\n }\n else {\n copyData.forEach(itemData => {\n let dataSet = { id: itemData.id, photo: itemData.photo }\n let IndexOfItem = copyItem.findIndex(data => data.id === dataSet.id)\n\n if (IndexOfItem >= 0) {\n copyItem.splice(IndexOfItem, 1)\n setPropsItem(copyItem)\n }\n })\n\n setSelectedAll(false)\n }\n if (copyItem.length > 0) {\n setSubmitClose(true)\n }\n else {\n setSubmitClose(false)\n }\n\n }\n\n return (\n
    \n
    \n
    \n
    \n
    3 in 1 Animation
    \n \n
    \n
    \n
    \n \n
    \n
    \n\n {loading ?\n
    \n \n
    \n : allGif && allGif.map((items) => {\n return (\n changeValue({\n id: items.id,\n photo: items.photo,\n settings: {\n gifId: items.id,\n number_of_frame: 2,\n interval_count_down: 2,\n playback_speed: 2,\n individual_photo: \"disabled\",\n show_overlay: false,\n mirror_live: false,\n }\n })}\n >\n
    item.id === items.id) >= 0 && 'active-template'}`}>\n \"template-1\"\n
    \n
    \n )\n })\n }\n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n \n\n
    \n
    \n
    \n \n \n )\n}\n\nexport default GifModal\n","import React, { useState, useEffect } from 'react'\nimport Modal from 'react-modal'\nimport Slider, { Range } from 'rc-slider';\nimport 'rc-slider/assets/index.css';\n\n\nfunction GifSettingsModal({ isOpen, closeModal, gifId, submitTrigger, selectedSettings }) {\n const [number_of_frame, setNumberOfFrame] = useState(2)\n const [interval_count_down, setIntervalCountDown] = useState(3)\n const [playback_speed, setPlayBackSpeed] = useState(1)\n const [individual_photo, setIndividualPhoto] = useState('disabled')\n const [show_overlay, showOverLayPreview] = useState(false)\n const [mirror_live, setMirrorLive] = useState(false)\n\n const customStyles = {\n overlay: {\n position: 'fixed',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n backgroundColor: 'rgb(0 0 0 / 80%)',\n zIndex:100,\n width:'700x',\n height:'500x',\n },\n content: {\n position: 'relative',\n top: '50%',\n left: '50%',\n right: 'auto',\n bottom: 'auto',\n marginRight: '-50%',\n transform: 'translate(-50%, -50%)',\n width:'700px',\n height:'500',\n overflow: 'hidden'\n },\n closeBtn:{\n position: 'absolute',\n top:0,\n right:'-1%',\n background:'transparent',\n border:'none',\n color:'red'\n }\n \n \n };\n\n useEffect(()=>{\n\n if (selectedSettings) {\n setNumberOfFrame(selectedSettings.number_of_frame)\n setIntervalCountDown(selectedSettings.interval_count_down)\n setPlayBackSpeed(selectedSettings.playback_speed)\n setIndividualPhoto(selectedSettings.individual_photo)\n setMirrorLive(selectedSettings.mirror_live == 0 ? false : true)\n showOverLayPreview(selectedSettings.show_overlay == 0 ? false : true)\n }\n\n }, [selectedSettings])\n\n\n const saveChanges = () => {\n\n const data = {\n gifId, \n number_of_frame, \n interval_count_down, \n playback_speed, \n individual_photo, \n show_overlay, \n mirror_live\n }\n\n submitTrigger(data)\n\n setTimeout(()=>{\n closeModal(false)\n }, 300)\n \n setNumberOfFrame(2)\n setIntervalCountDown(3)\n setPlayBackSpeed(1)\n setIndividualPhoto('disabled')\n showOverLayPreview(false)\n setMirrorLive(false)\n\n }\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n

    3 in 1 Animation Settings

    \n
    \n
    \n

    Number of frames

    \n {setNumberOfFrame(e)}}\n />\n
    \n
    \n

    Interval Countdown

    \n {setIntervalCountDown(e)}}\n />\n
    \n
    \n

    Playback speed

    \n {setPlayBackSpeed(e)}}\n />\n
    \n {/*
    \n \n \n
    \n
    \n \n {showOverLayPreview(e.target.checked)}}/>\n
    \n
    \n \n {setMirrorLive(e.target.checked)}}/>\n
    */}\n
    \n \n \n
    \n
    \n
    \n
    \n
    \n \n )\n}\n\nexport default GifSettingsModal\n\n","import React, { useEffect, useState } from 'react'\nimport { AiOutlineFileGif} from 'react-icons/ai'\nimport { IoIosSettings } from 'react-icons/io'\nimport { IoTrashSharp } from 'react-icons/io5'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { useHistory } from 'react-router-dom'\nimport NewFormWizard from '../../../../components/formWizard/NewFormWizard'\nimport NewFormWizardChild from '../../../../components/formWizard/NewFormWziardChild'\nimport Layout from '../../../../components/layouts/Layout'\nimport { LoadingSpinner } from '../../../../components/Loader/Loader'\nimport http, { URL_S3 } from '../../../../config/BaseUrl'\nimport GifModal from '../../components/Modal/GifModal'\nimport GifSettingsModal from '../../components/Modal/GifSettingsModal'\nimport { eventGif } from '../slice/createEventSlice'\n\nconst Gif = () => {\n\n const history = useHistory()\n const dispatch = useDispatch()\n const { event_option, event_gif , eventId} = useSelector(state => state.createEvent)\n const [selectGifItems, setSelectGifItems] = useState([])\n const [loading, setLoading] = useState(false)\n const [draftLoading, setDraftLoading] = useState(false)\n const [openModal, setOpenModal] = useState(false)\n const [gifId, setGifId] = useState(null)\n const [gifTemplateErr, setGifTemplateErr] = useState(false)\n\n const handelSubmitGif = (e) => {\n e.preventDefault();\n if(selectGifItems.length > 0){\n dispatch(eventGif(JSON.stringify(selectGifItems)))\n setLoading(true)\n http.post('gif-setting',{ gif_setting: selectGifItems, eventId })\n .then(res => {\n setLoading(false)\n if (res.data.status === true) {\n if (event_option) {\n if (event_option.brust_gif === true) { history.push('/event/brust-gif', eventId) }\n else if (event_option.email === true) { history.push('/event/email', eventId) }\n else if (event_option.text_messaging === true) { history.push('/event/sms', eventId) }\n else if (event_option.digital_props === true) { history.push('/event/digital-prop', eventId) }\n else if (event_option.water_mark === true) { history.push('/event/custom-branding', eventId) }\n else if (event_option.microsite === true) { history.push('/event/microsite', eventId) }\n else if (event_option.frame_option === true) { history.push('/event/frame', eventId) }\n else if (event_option.incentive_offer === true) { history.push('/event/incentive-offer', eventId) }\n else if (event_option.filters === true) { history.push('/event/filter', eventId) }\n else if (event_option.form_builder === true) { history.push('/event/form-builder', eventId) }\n else { history.push('/event/summary', eventId) }\n }\n }\n \n })\n .catch()\n }else{\n setGifTemplateErr(true)\n }\n }\n\n useEffect(() => {\n if (event_gif) {\n if (event_gif.length > 0) {\n setSelectGifItems(JSON.parse(event_gif))\n }\n }\n }, [event_gif])\n\n \n const setGifByProps = (data) => {\n setSelectGifItems(data)\n setGifTemplateErr(false)\n }\n\n const removeProps = (id) => {\n let copyProps = [...selectGifItems]\n copyProps.splice(id, 1)\n setSelectGifItems(copyProps)\n \n }\n \n const saveAsDraft = () => {\n if(selectGifItems.length > 0){\n dispatch(eventGif(JSON.stringify(selectGifItems)))\n setDraftLoading(true)\n http.post('gif-setting',{ gif_setting: selectGifItems, eventId }).then(res => {\n if (res.data.gif_setting === 'success') {\n setDraftLoading(false)\n }\n }).catch(err => setDraftLoading(false))\n }else{\n setGifTemplateErr(true)\n }\n \n }\n\n const submitTrigger = (data) => {\n let copyData = [...selectGifItems]\n \n let indexItem = copyData.findIndex(item => item.id == data.gifId)\n delete copyData[indexItem].settings\n if (indexItem >= 0) {\n copyData[indexItem]['settings'] = data\n }\n \n setSelectGifItems(copyData)\n \n }\n\n const settingsOpen = (item) => {\n setGifId(item)\n setOpenModal(true)\n }\n const BackToPreviousPage = (e) => {\n e.preventDefault()\n if (event_option.social_media === true) { history.push('/event/social') }\n else { history.push('/event/options') }\n }\n\n return (\n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    3 in 1 Animation Chooser

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n

    Animation Library

    \n
    \n \n
    \n \n \n
    \n
    \n {gifTemplateErr &&\n

    Choose any animation

    \n }\n
    \n
    \n {\n selectGifItems.length > 0 ?\n selectGifItems.map((propItem, index) => (\n
    \n \"props-data\"\n
    \n \n \n \n \n \n \n
    \n
    \n ))\n\n :\n
    \n

    No 3 in 1 Animation Selected.

    \n
    \n }\n\n
    \n
    \n\n
    \n
    \n
    \n\n
    \n
    \n
    \n \n {loading ?\n ()\n : \n }\n\n {\n loading ?\n ()\n :\n \n }\n
    \n
    \n \n
    \n
    \n
    \n )\n}\n\nexport default Gif\n","export const STROKE = '#000000'\nexport const FILL = 'rgba(255, 255, 255, 0.0)'\n\nexport const CIRCLE = {\n radius: 20,\n left: 100,\n top: 100,\n fill: FILL,\n stroke: STROKE\n}\n\nexport const RECTANGLE = {\n left: 100,\n top: 100,\n fill: FILL,\n stroke: STROKE,\n width: 40,\n height: 40,\n angle: 0\n}\n\nexport const LINE = {\n points: [50, 100, 200, 200],\n options: {\n left: 170,\n top: 150,\n stroke: STROKE\n }\n}\n\nexport const TEXT = {\n type: 'text',\n left: 100,\n top: 100,\n fontSize: 16,\n fontFamily: 'Arial',\n fill: STROKE\n}","import { fabric } from 'fabric'\nimport { CIRCLE, RECTANGLE, LINE, TEXT, FILL, STROKE } from '../helpers/defaultShapes'\nimport { useEffect, useState } from 'react'\n\n\n/**\n * Creates editor\n */\n\nconst buildEditor = (\n canvas,\n fillColor,\n strokeColor,\n _setFillColor,\n _setStrokeColor,\n scaleStep\n) => {\n \n return {\n canvas,\n addCircle: () => {\n let centerPosition = canvas.getCenter()\n const object = new fabric.Circle({\n ...CIRCLE,\n fill: fillColor,\n ...centerPosition,\n stroke: strokeColor\n })\n canvas.add(object)\n },\n addRectangle: () => {\n let centerPosition = canvas.getCenter()\n const object = new fabric.Rect({\n ...RECTANGLE,\n ...centerPosition,\n fill: fillColor,\n stroke: strokeColor\n })\n canvas.add(object)\n },\n addLine: () => {\n let centerPosition = canvas.getCenter()\n const object = new fabric.Line(LINE.points, {\n ...LINE.options,\n ...centerPosition,\n stroke: strokeColor\n })\n canvas.add(object)\n },\n addImage: (image) => {\n let centerPosition = canvas.getCenter()\n const imageFile = new Image()\n imageFile.src = image\n fabric.Image.fromURL(image, (img) => {\n img.set({\n ...centerPosition,\n width: imageFile.width,\n height: imageFile.height,\n crossOrigin: 'anonymous'\n })\n canvas.add(img)\n })\n },\n addText: (text, settings) => {\n // use stroke in text fill, fill default is most of the time transparent\n let centerPosition = canvas.getCenter()\n const object = new fabric.Textbox(text, { ...TEXT, ...centerPosition, ...settings })\n object.set({ text: text })\n canvas.add(object)\n },\n updateText: (text, settings) => {\n const objects = canvas.getActiveObjects()\n if (objects.length && objects[0].type === TEXT.type) {\n const textObject = objects[0]\n textObject.set({ text, ...settings })\n canvas.renderAll()\n }\n },\n selectedCanvasObjects: (id) => {\n let items = canvas.getObjects()\n canvas.setActiveObject(items[id])\n canvas.renderAll();\n },\n deleteAll: () => {\n canvas.getObjects().forEach((object) => canvas.remove(object))\n canvas.discardActiveObject()\n canvas.renderAll()\n },\n deleteSelected: () => {\n canvas.getActiveObjects().forEach((object) => canvas.remove(object))\n canvas.discardActiveObject()\n canvas.renderAll()\n },\n fillColor,\n strokeColor,\n setFillColor: (fill) => {\n _setFillColor(fill)\n canvas.getActiveObjects().forEach((object) => object.set({ fill }))\n canvas.renderAll()\n },\n setStrokeColor: (stroke) => {\n _setStrokeColor(stroke)\n canvas.getActiveObjects().forEach((object) => {\n if (object.type === TEXT.type) {\n // use stroke in text fill\n object.set({ fill: stroke })\n return\n }\n object.set({ stroke })\n })\n canvas.renderAll()\n },\n zoomIn: () => {\n const zoom = canvas.getZoom()\n canvas.setZoom(zoom / scaleStep)\n },\n zoomOut: () => {\n const zoom = canvas.getZoom()\n canvas.setZoom(zoom * scaleStep)\n },\n getAllObjects: () => {\n let objectList = canvas.toJSON();\n\n return objectList.objects\n },\n canvasPosition: () => {\n let centerPosition = canvas.getCenter()\n let left = 20;\n let top = 20;\n let right = canvas.width - 20;\n let bottom = canvas.height - 20;\n let centerX = centerPosition.left;\n let centerY = centerPosition.top;\n\n return {\n left,\n top,\n right,\n bottom,\n centerX,\n centerY\n }\n },\n downloadCanvas: () => {\n console.log(canvas)\n let dataURL = canvas.toDataURL({\n format: 'png',\n quality: 1\n })\n console.log(dataURL)\n let link = document.createElement('a')\n link.href = dataURL\n link.download = 'canvas.png'\n link.click()\n }\n }\n}\n\nconst useFabricJSEditor = (\n props = {}\n) => {\n const scaleStep = props.scaleStep || 0.5\n const { defaultFillColor, defaultStrokeColor } = props\n const [canvas, setCanvas] = useState(null)\n const [fillColor, setFillColor] = useState(defaultFillColor || FILL)\n const [strokeColor, setStrokeColor] = useState(\n defaultStrokeColor || STROKE\n )\n const [selectedObjects, setSelectedObject] = useState([])\n useEffect(() => {\n const bindEvents = (canvas= fabric.Canvas) => {\n canvas.on('selection:cleared', () => {\n setSelectedObject([])\n })\n canvas.on('selection:created', (e) => {\n setSelectedObject(e.selected)\n })\n canvas.on('selection:updated', (e) => {\n setSelectedObject(e.selected)\n })\n }\n if (canvas) {\n bindEvents(canvas)\n }\n }, [canvas])\n\n return {\n selectedObjects,\n setSelectedObject,\n onReady: (canvasReady= fabric.Canvas) => {\n setCanvas(canvasReady)\n },\n selectObject: (object) => {\n canvas.setActiveObject(object)\n setSelectedObject([object])\n },\n download: () => {\n const dataURL = canvas.toDataURL({\n format: 'png',\n quality: 1,\n multiplier: 1\n })\n const link = document.createElement('a')\n link.href = dataURL\n link.download = 'canvas.png'\n link.click()\n },\n editor: canvas\n ? buildEditor(\n canvas,\n fillColor,\n strokeColor,\n setFillColor,\n setStrokeColor,\n scaleStep\n )\n : undefined\n }\n}\n\nexport { buildEditor, useFabricJSEditor }","import React, { createContext, useState } from 'react'\nimport { useEffect } from 'react'\nimport { useFabricJSEditor } from '../hooks/editor'\n\nexport const EditorContext = createContext({})\n\nconst EditorProvider = ({children}) => {\n\n let initState = {\n fill: '#000000',\n fontSize: 40,\n fontFamily: 'Arial',\n fontStyle: 'normal',\n fontWeight: 'normal',\n lineHeight: 1.12,\n textAlign: 'left',\n underline: false,\n stroke: \"#000000\",\n strokeWidth: 0,\n angle: 0,\n }\n\n const { onReady, editor, selectedObjects, selectObject, download } = useFabricJSEditor()\n const [textEditorOptions, setTextEditorOptions] = useState(initState)\n\n const resetField = (field) => {\n setTextEditorOptions(initState)\n }\n\n const contextValues = {\n onReady, editor, selectedObjects, textEditorOptions, setTextEditorOptions, resetField, selectObject, download\n }\n\n useEffect(()=> {\n if (selectedObjects.length > 0) {\n if (selectedObjects[0].type === 'text') {\n setTextEditorOptions({\n fill:selectedObjects[0].fill,\n fontSize:selectedObjects[0].fontSize,\n fontFamily:selectedObjects[0].fontFamily,\n fontStyle:selectedObjects[0].fontStyle,\n fontWeight:selectedObjects[0].fontWeight,\n lineHeight:selectedObjects[0].lineHeight,\n textAlign:selectedObjects[0].textAlign,\n textDecoration:selectedObjects[0].textDecoration,\n stroke:selectedObjects[0].stroke,\n angle:selectedObjects[0].angle,\n })\n }\n \n }\n }, [selectedObjects])\n\n return (\n \n {children}\n \n )\n}\n\nexport default EditorProvider","import React from 'react'\n\nconst AddProps = () => {\n return (\n
    \n
    \n Occasions\n
    \n
    \n Signs\n
    \n
    \n Others\n
    \n
    \n )\n}\n\nexport default AddProps","import React, { useState } from 'react'\nimport { useContext } from 'react';\nimport { HexColorPicker } from 'react-colorful';\nimport { EditorContext } from '../../../../../../../components/CanvasEditor/Context/EditorProvider';\n\nconst Color = () => {\n const { textEditorOptions, setTextEditorOptions } = useContext(EditorContext);\n const [displayColorPalate, setDisplayColorPicker] = useState(false);\n\n const handleClick = () => {\n setDisplayColorPicker(!displayColorPalate)\n }\n\n const handleChange = (color) => {\n setTextEditorOptions({ ...textEditorOptions, fill: color });\n }\n\n const handleClose = () => {\n setDisplayColorPicker(false)\n };\n\n\n return (\n
    \n
    \n
    \n
    \n { displayColorPalate ? \n
    \n
    \n \n
    \n : null \n }\n
    \n )\n}\n\nexport default Color","import React, { useContext } from 'react'\nimport { EditorContext } from '../../../../../../../components/CanvasEditor/Context/EditorProvider'\n\nconst Fonts = () => {\n\n const { textEditorOptions, setTextEditorOptions } = useContext(EditorContext);\n\n const handleChange = (e) => {\n setTextEditorOptions({ ...textEditorOptions, fontFamily: e.target.value });\n }\n\n return (\n
    \n \n
    \n )\n}\n\nexport default Fonts","import React, { useContext } from 'react'\nimport { BsType } from 'react-icons/bs'\nimport { EditorContext } from '../../../../../../../components/CanvasEditor/Context/EditorProvider'\n\nconst FontSize = () => {\n\n const { textEditorOptions, setTextEditorOptions } = useContext(EditorContext)\n\n const handleChange = (e) => {\n setTextEditorOptions({ ...textEditorOptions, fontSize: e.target.value });\n }\n\n return (\n
    \n \n \n
    \n )\n}\n\nexport default FontSize","import React, { useContext, useState } from 'react'\nimport { HexColorPicker } from 'react-colorful';\nimport { BsTypeBold, BsTypeItalic, BsTypeUnderline } from 'react-icons/bs';\nimport { EditorContext } from '../../../../../../../components/CanvasEditor/Context/EditorProvider';\n\nconst FontStyle = () => {\n\n const { textEditorOptions, setTextEditorOptions } = useContext(EditorContext);\n const [displayColorPalate, setDisplayColorPicker] = useState(false);\n\n const handleClick = () => {\n setDisplayColorPicker(!displayColorPalate)\n }\n\n const handleClose = () => {\n setDisplayColorPicker(false)\n };\n\n const handleChangeWeight = (e) => {\n if (textEditorOptions.fontWeight === 'bold') {\n setTextEditorOptions({ ...textEditorOptions, fontWeight: 'normal' });\n } else {\n setTextEditorOptions({ ...textEditorOptions, fontWeight: 'bold' });\n }\n }\n\n const handleStroke = (color) => {\n setTextEditorOptions({ ...textEditorOptions, stroke: color });\n }\n\n const handleTxtStyle = () => {\n if (textEditorOptions.fontStyle === 'italic') {\n setTextEditorOptions({ ...textEditorOptions, fontStyle: 'normal' });\n } else {\n setTextEditorOptions({ ...textEditorOptions, fontStyle: 'italic' });\n }\n }\n\n const handleTxtDecoration = () => {\n if (textEditorOptions.underline === true) {\n setTextEditorOptions({ ...textEditorOptions, underline: false });\n } else {\n setTextEditorOptions({ ...textEditorOptions, underline: true });\n }\n }\n\n return (\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n A\n { displayColorPalate ? \n
    \n
    \n \n
    \n : null \n }\n
    \n
    \n )\n}\n\nexport default FontStyle","import React, { useContext } from 'react'\nimport { BsBlockquoteRight } from 'react-icons/bs'\nimport { EditorContext } from '../../../../../../../components/CanvasEditor/Context/EditorProvider';\n\nconst LineHeight = () => {\n\n const { textEditorOptions, setTextEditorOptions } = useContext(EditorContext);\n\n const handleChange = (e) => {\n setTextEditorOptions({ ...textEditorOptions, lineHeight: e.target.value });\n }\n\n return (\n
    \n \n \n
    \n )\n}\n\nexport default LineHeight","import React, { useContext, useState } from 'react'\nimport { BsAlignBottom, BsAlignCenter, BsAlignEnd, BsAlignMiddle, BsAlignStart, BsAlignTop, BsBorderAll } from 'react-icons/bs'\nimport { EditorContext } from '../../../../../../../components/CanvasEditor/Context/EditorProvider';\n\nconst Position = () => {\n\n const { textEditorOptions, setTextEditorOptions, editor } = useContext(EditorContext);\n const [openPosition, setOpenPosition] = useState(false)\n\n const handleChange = (pos) => {\n let positions = editor.canvasPosition()\n const { left, right, bottom, top, centerX, centerY } = positions\n\n if (pos === 'left') {\n setTextEditorOptions({ ...textEditorOptions, left: left }) \n }\n else if(pos === 'right') {\n setTextEditorOptions({ ...textEditorOptions, left: right })\n }\n else if(pos === 'top') {\n setTextEditorOptions({ ...textEditorOptions, top: top })\n }\n else if(pos === 'bottom'){\n setTextEditorOptions({ ...textEditorOptions, top: bottom })\n }\n else if(pos === 'centerX'){\n setTextEditorOptions({ ...textEditorOptions, left: centerX })\n }\n else if(pos === 'centerY'){\n setTextEditorOptions({ ...textEditorOptions, top: centerY })\n }\n }\n\n return (\n
    \n
    setOpenPosition(!openPosition)} data-toggle=\"tooltip\" data-placement=\"top\" title=\"Position\">\n \n
    \n
    \n
    handleChange('top')}>\n \n
    \n
    handleChange('left')}>\n \n
    \n
    handleChange('bottom')}>\n \n
    \n
    handleChange('right')}>\n \n
    \n
    handleChange('centerY')}>\n \n
    \n \n
    handleChange('centerX')}>\n \n
    \n \n \n
    \n
    \n )\n}\n\nexport default Position","import React, { useContext, useState } from 'react'\nimport { FaTextWidth } from 'react-icons/fa'\nimport { EditorContext } from '../../../../../../../components/CanvasEditor/Context/EditorProvider';\n\nconst StrokeWidth = () => {\n\n const { textEditorOptions, setTextEditorOptions } = useContext(EditorContext);\n const [openTransform, setOpenTransform] = useState(false)\n\n const handleChange = (e) => {\n setTextEditorOptions({ ...textEditorOptions, strokeWidth: e.target.value });\n }\n\n return (\n
    \n
    setOpenTransform(!openTransform)} data-toggle=\"tooltip\" data-placement=\"top\" title=\"Stroke Width\">\n \n
    \n
    \n
    \n \n
    \n
    \n
    \n )\n}\n\nexport default StrokeWidth","import React, { useContext, useState } from 'react'\nimport { BsCrop } from 'react-icons/bs'\nimport { EditorContext } from '../../../../../../../components/CanvasEditor/Context/EditorProvider';\n\n\nconst Transform = () => {\n\n const { textEditorOptions, setTextEditorOptions } = useContext(EditorContext);\n const [openTransform, setOpenTransform] = useState(false)\n\n const handleChange = (e) => {\n setTextEditorOptions({ ...textEditorOptions, angle: e.target.value });\n }\n\n return (\n
    \n
    setOpenTransform(!openTransform)} data-toggle=\"tooltip\" data-placement=\"top\" title=\"Transform\">\n \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n )\n}\n\nexport default Transform","import React from 'react'\nimport Color from './EditorProperties/Color'\nimport Fonts from './EditorProperties/Fonts'\nimport FontSize from './EditorProperties/FontSize'\nimport FontStyle from './EditorProperties/FontStyle'\nimport LineHeight from './EditorProperties/LineHeight'\nimport Position from './EditorProperties/Position'\nimport StrokeWidth from './EditorProperties/StrokeWidth'\nimport Transform from './EditorProperties/Transform'\n\n\nconst TextEditor = () => {\n\n return (\n
    \n
    \n \n \n \n \n
    \n
    \n \n \n \n
    \n
    \n \n
    \n
    \n )\n}\n\nexport default TextEditor","import React, { useState, useContext } from 'react'\nimport { useEffect } from 'react'\nimport { EditorContext } from '../../../../../../components/CanvasEditor/Context/EditorProvider'\nimport TextEditor from './TextEditor'\n\nconst AddText = () => {\n\n const [text, setText] = useState('')\n const [editMode, setEditMode] = useState(false)\n const { editor, textEditorOptions, selectedObjects, resetField } = useContext(EditorContext)\n\n const addText = () => {\n editor.addText(text, textEditorOptions)\n setText('')\n }\n\n\n useEffect(()=>{\n if (selectedObjects.length > 0) {\n if (selectedObjects[0].type === 'text') {\n setEditMode(true)\n setText(selectedObjects[0].text)\n editor.updateText(selectedObjects[0].text, textEditorOptions)\n }\n }\n else{\n setEditMode(false)\n }\n\n // eslint-disable-next-line\n }, [textEditorOptions])\n\n useEffect(()=> {\n if (selectedObjects.length > 0) {\n setEditMode(true)\n }\n else{\n setEditMode(false)\n setText('')\n resetField()\n }\n // eslint-disable-next-line\n }, [selectedObjects])\n\n const handleChange = (e) => {\n if (editMode) {\n setText(e.target.value)\n editor.updateText(e.target.value, textEditorOptions)\n }\n else{\n setText(e.target.value)\n }\n }\n\n\n return (\n
    \n \n
    \n \n {\n !editMode &&\n \n }\n
    \n \n
    \n )\n}\n\nexport default AddText","import React, { useContext } from 'react'\nimport { AiOutlineCloseCircle, AiOutlineUnlock } from 'react-icons/ai'\nimport { EditorContext } from '../../../../../../components/CanvasEditor/Context/EditorProvider'\n\nconst List = () => {\n\n const { editor, selectedObjects } = useContext(EditorContext)\n\n const activeLayers = editor?.getAllObjects() || []\n\n const handleDelete = (id) => {\n editor.selectedCanvasObjects(id)\n editor.deleteSelected()\n }\n\n const selectCanvas = (id) => {\n editor.selectedCanvasObjects(id)\n }\n\n return (\n
    \n {\n editor &&\n activeLayers.map((obj, index)=>(\n
    selectCanvas(index)}>\n
    \n {\n obj.type === 'text' &&\n

    {obj.text.length > 20 ? `${obj.text.slice(0, 20)}...`: obj.text}

    \n }\n {\n obj.type === 'image' &&\n \"source\"\n }\n
    \n
    \n handleDelete(index)}>\n \n \n {/* \n \n */}\n
    \n
    \n ))\n }\n
    \n )\n}\n\nexport default List","import React, { useContext } from 'react'\nimport { RiUploadCloud2Fill } from 'react-icons/ri'\nimport { EditorContext } from '../../../../../../components/CanvasEditor/Context/EditorProvider'\n\nconst UploadPhoto = () => {\n\n const { editor } = useContext(EditorContext)\n const handleUpload = (e) => {\n let reader = new FileReader();\n reader.onload = (event) => {\n editor.addImage(event.target.result)\n }\n reader.readAsDataURL(e.target.files[0]);\n }\n\n return (\n
    \n
    \n \n
    \n
    \n \n Click Or Drop Image Here.\n
    \n
    \n )\n}\n\nexport default UploadPhoto","import React, { useContext, useEffect, useState } from 'react'\nimport { FaCameraRetro, FaLayerGroup } from 'react-icons/fa'\nimport { IoIosImages } from 'react-icons/io'\nimport { MdModeEditOutline } from 'react-icons/md'\nimport { EditorContext } from '../../../../components/CanvasEditor/Context/EditorProvider'\nimport AddProps from './EditOptions/AddProps'\nimport AddText from './EditOptions/AddText'\nimport List from './EditOptions/Layers/List'\nimport UploadPhoto from './EditOptions/UploadPhoto'\n\nconst Sidebar = () => {\n\n\n const { selectedObjects } = useContext(EditorContext)\n\n const [activeTab, setActiveTab] = useState('photo')\n\n useEffect(()=> {\n if (selectedObjects.length > 0) {\n if (selectedObjects[0].type === 'text') {\n setActiveTab('text')\n }\n }\n }, [selectedObjects])\n\n return (\n
    \n
    \n
      \n
    • setActiveTab('photo')}>\n \n \n \n
    • \n
    • setActiveTab('text')}>\n \n \n \n
    • \n
    • setActiveTab('layers')}>\n \n \n \n
    • \n
    • setActiveTab('props')}>\n \n \n \n
    • \n
    \n
    \n \n {\n activeTab === 'photo' &&\n \n }\n\n {\n activeTab === 'text' &&\n \n }\n {\n activeTab === 'layers' &&\n \n }\n {\n activeTab === 'props' &&\n \n }\n
    \n )\n}\n\nexport default Sidebar","import React, { useEffect, useRef } from 'react'\nimport { fabric } from 'fabric'\n\nconst CanvasEditor = ({classList, backgroundImage, onReady}) => {\n\n \n const canvasEl = useRef(null)\n const canvasElParent = useRef(null)\n\n useEffect(()=> {\n const canvas = new fabric.Canvas(canvasEl.current)\n\n let canvasWidth = 0\n let canvasHeight = 0\n\n let aspectRatio = 0;\n let canvasWrapperWidth = canvasElParent.current.clientWidth;\n\n if (backgroundImage) {\n\n const img = new Image();\n img.setAttribute('crossOrigin', 'anonymous');\n img.onload = () => {\n const canvasImg = document.createElement(\"canvas\");\n canvasImg.width = img.width;\n canvasImg.height = img.height;\n const ctx = canvasImg.getContext(\"2d\");\n ctx.drawImage(img, 0, 0);\n const dataURL = canvasImg.toDataURL(\"image/png\");\n\n fabric.Image.fromURL(dataURL, (imgs) => {\n let width = imgs.width;\n let height = imgs.height;\n \n aspectRatio = height / width;\n canvasWidth = canvasWrapperWidth;\n canvasHeight = canvasWrapperWidth * aspectRatio;\n \n let scaleFactor = canvasWidth / width;\n \n imgs.set({\n width: width, \n height: height, \n originX: 'left', \n originY: 'top',\n scaleX: scaleFactor,\n scaleY:scaleFactor,\n crossOrigin: 'anonymous'\n });\n \n canvas.setWidth(canvasWidth);\n canvas.setHeight(canvasHeight);\n canvas.setBackgroundImage(imgs, canvas.renderAll.bind(canvas))\n \n })\n \n }\n // img.src = 'https://cdn.pixabay.com/photo/2022/07/30/16/39/roe-deer-7354145_960_720.jpg';\n img.src = backgroundImage;\n \n\n if (onReady) {\n onReady(canvas)\n }\n \n }\n\n return () => {\n canvas.dispose()\n }\n }, [backgroundImage])\n\n \n \n return (\n <>\n
    \n \n
    \n \n )\n}\n\nexport default CanvasEditor","import React, { useEffect, useContext } from 'react'\nimport { URL_S3 } from '../../../../config/BaseUrl'\nimport '../styles/GifTabs.scss'\nimport Sidebar from './Sidebar'\nimport CanvasEditor from '../../../../components/CanvasEditor'\nimport { EditorContext } from '../../../../components/CanvasEditor/Context/EditorProvider'\n\nconst GIFEditTabs = ({item, closeItem}) => {\n\n useEffect(()=>{\n window.scroll(0,0)\n },[])\n\n const { onReady, download } = useContext(EditorContext)\n\n const downloadCanvas = () => {\n download()\n }\n\n\n return (\n
    \n
    \n
    \n
    \n \n \n \n \n \n \n
    \n
    \n
    \n
    \n \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default GIFEditTabs","import React, { useEffect, useState } from \"react\";\nimport { AiOutlineFileGif } from \"react-icons/ai\";\nimport { IoIosSettings } from \"react-icons/io\";\nimport { IoTrashSharp } from \"react-icons/io5\";\n// import { MdEditRoad } from \"react-icons/md\";\nimport { useHistory, useParams } from \"react-router-dom\";\nimport NewFormWizard from \"../../components/formWizard/NewFormWizard\";\nimport NewFormWizardChild from \"../../components/formWizard/NewFormWziardChild\";\nimport Layout from \"../../components/layouts/Layout\";\nimport http, { URL_S3 } from \"../../config/BaseUrl\";\nimport GifModal from \"../events/components/Modal/GifModal\";\nimport GifSettingsModal from \"../events/components/Modal/GifSettingsModal\";\nimport GIFEditTabs from \"./components/Gif/GIFEditTabs\";\nimport EditorProvider from \"../../components/CanvasEditor/Context/EditorProvider\";\nconst GifEdit = () => {\n const history = useHistory();\n const { id } = useParams();\n\n const [selectGifItems, setSelectGifItems] = useState([]);\n const [loading, setLoading] = useState(false);\n const [openModal, setOpenModal] = useState(false);\n const [gifId, setGifId] = useState(null);\n const [gifEditOpen, setGifEditOpen] = useState(false);\n const [selectedSettings, setSelectedSettings] = useState(null);\n const [gifTemplateErr, setGifTemplateErr] = useState(false);\n const [selectedItem, setSelectedItem] = useState(null);\n\n useEffect(() => {\n http\n .get(`gif-setting/${id}`)\n .then((res) => {\n let responseData = [];\n res.data.gifSetting.length > 0 &&\n res.data.gifSetting.forEach((item) => {\n responseData.push({\n id: item.gif_id,\n photo: item.photo,\n settings: item.gif_settings,\n });\n });\n setSelectGifItems(responseData);\n })\n .catch((err) => {\n console.log(err.response);\n });\n }, []);\n\n const handelSubmitGif = (e) => {\n e.preventDefault();\n if (selectGifItems.length > 0) {\n setLoading(true);\n http\n .post(`/event/gif-setting/update/${id}`, {\n gif_setting: selectGifItems,\n eventId: id,\n })\n .then((res) => {\n history.push(`/show/event/${id}`, \"Information Updated.\");\n setLoading(false);\n })\n .catch();\n } else {\n setGifTemplateErr(true);\n }\n };\n\n const setGifByProps = (data) => {\n setSelectGifItems(data);\n setGifTemplateErr(false);\n };\n\n const removeProps = (id) => {\n let copyProps = [...selectGifItems];\n copyProps.splice(id, 1);\n setSelectGifItems(copyProps);\n };\n\n const submitTrigger = (data) => {\n let copyData = [...selectGifItems];\n\n let indexItem = copyData.findIndex((item) => item.id == data.gifId);\n\n if (indexItem >= 0) {\n copyData[indexItem][\"settings\"] = data;\n }\n\n setSelectGifItems(copyData);\n };\n\n const settingsOpen = (item) => {\n setOpenModal(true);\n setGifId(item.id);\n setSelectedSettings(item.settings);\n };\n\n const openEditGif = (item) => {\n setGifEditOpen(true);\n setSelectedItem(item);\n };\n\n const closeEditGif = () => {\n setGifEditOpen(false);\n setSelectedItem(null);\n };\n\n return (\n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    \n 3 in 1 Animation Chooser\n

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n

    \n Animation Library\n

    \n
    \n\n
    \n \n Select 3 in 1 Animation\n \n \n
    \n
    \n {gifTemplateErr && (\n \n Choose any animation{\" \"}\n

    \n )}\n
    \n
    \n {selectGifItems.length > 0 ? (\n selectGifItems.map((propItem, index) => (\n \n \n
    \n \n \n \n {/* \n \n */}\n \n \n \n
    \n
    \n ))\n ) : (\n
    \n

    No 3 in 1 Animation Selected.

    \n
    \n )}\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n {loading ? (\n <>\n \n Updating...\n \n ) : (\n \"Update\"\n )}\n \n
    \n
    \n \n {gifEditOpen && (\n \n \n \n )}\n \n \n \n );\n};\n\nexport default GifEdit;\n","import React, { useEffect, useState } from 'react'\nimport http, { URL_S3 } from '../../../../config/BaseUrl'\nimport '../../style/style.css'\n\nfunction BrustGifModal(props) {\n \n const [propsItems, setPropsItem] = useState([])\n const [submitClose, setSubmitClose] = useState(false)\n const [brustGif, setBrustGif] = useState([])\n const [loading, setLoading] = useState(false)\n const [selectedAll, setSelectedAll] = useState(false)\n\n const BrustGifsItem = async () => {\n try {\n setLoading(true)\n await http.get(\"event-brust-gifs\").then((res) => {\n if (res.data.allGifs) {\n setBrustGif(res.data.allGifs)\n setLoading(false)\n }\n }).catch((err) => {\n setLoading(false)\n })\n } catch (error) {\n setLoading(false)\n }\n }\n\n const handleSubmit = () => {\n if (propsItems) {\n props.setData(propsItems)\n }\n }\n\n useEffect(() => {\n if (propsItems.length != props.selectedBrustGif.length) {\n setPropsItem(props.selectedBrustGif)\n\n }\n if (props.selectedBrustGif.length > 0) {\n setSelectedAll(true)\n }\n else{\n setSelectedAll(false)\n }\n BrustGifsItem()\n }, [props])\n \n\n const changeValue = (item) => {\n let copyItem = [...propsItems]\n let IndexOfItem = copyItem.findIndex(data => data.id === item.id)\n\n if (IndexOfItem >= 0) {\n copyItem.splice(IndexOfItem, 1)\n setPropsItem(copyItem)\n }\n else {\n copyItem = [...copyItem, item]\n setPropsItem(copyItem)\n\n }\n\n if (copyItem.length > 0) {\n setSubmitClose(true)\n }\n else {\n setSubmitClose(false)\n }\n\n }\n\n const selectAllData = () => {\n let copyItem = [...propsItems]\n let copyData = [...brustGif]\n if (!selectedAll) {\n copyData.forEach(itemData => {\n let dataSet = { id: itemData.id, photo: itemData.photo }\n let IndexOfItem = copyItem.findIndex(data => data.id === dataSet.id)\n\n if (IndexOfItem < 0) {\n copyItem = [...copyItem, dataSet]\n setPropsItem(copyItem)\n }\n })\n setSelectedAll(true)\n\n }\n else{\n copyData.forEach(itemData => {\n let dataSet = { id: itemData.id, photo: itemData.photo }\n let IndexOfItem = copyItem.findIndex(data => data.id === dataSet.id)\n\n if (IndexOfItem >= 0) {\n copyItem.splice(IndexOfItem, 1)\n setPropsItem(copyItem)\n }\n })\n\n setSelectedAll(false)\n }\n if (copyItem.length > 0) {\n setSubmitClose(true)\n }\n else {\n setSubmitClose(false)\n }\n \n }\n\n\n return (\n
    \n
    \n
    \n
    \n
    3 in 1 Fast
    \n \n
    \n
    \n\n
    \n \n
    \n
    \n\n {loading ?\n
    \n \n
    \n : brustGif && brustGif.map((items) => {\n return (\n
    changeValue({ \n id: items.id, \n photo: items.photo, \n settings:{\n brustGifId:items.id,\n number_of_frame:2,\n playback_speed:2,\n individual_photo:\"disabled\",\n show_overlay:false,\n mirror_live:false,\n } \n })}\n >\n\n
    item.id === items.id) >= 0 && 'active-template'}`}>\n \"template-1\"\n
    \n
    \n )\n })\n }\n
    \n\n
    \n
    \n
    \n\n
    \n
    \n
    \n \n
    \n
    \n \n \n\n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default BrustGifModal\n","import React, { useState, useEffect } from 'react'\nimport Modal from 'react-modal'\nimport Slider, { Range } from 'rc-slider';\nimport 'rc-slider/assets/index.css';\n\n\nfunction BrustGifSettingsModal({ isOpen, closeModal, brustGifId, submitTrigger, selectedSettings }) {\n\n const [number_of_frame, setNumberOfFrame] = useState(1)\n const [playback_speed, setPlayBackSpeed] = useState(1)\n const [individual_photo, setIndividualPhoto] = useState('disabled')\n const [show_overlay, showOverLayPreview] = useState(false)\n const [mirror_live, setMirrorLive] = useState(false)\n\n const customStyles = {\n overlay: {\n position: 'fixed',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n backgroundColor: 'rgb(0 0 0 / 80%)',\n zIndex:100,\n width:'700x',\n height:'500x',\n },\n content: {\n position: 'relative',\n top: '50%',\n left: '50%',\n right: 'auto',\n bottom: 'auto',\n marginRight: '-50%',\n transform: 'translate(-50%, -50%)',\n width:'700px',\n height:'500',\n overflow: 'hidden'\n \n },\n closeBtn:{\n position: 'absolute',\n top:0,\n right:'-1%',\n background:'transparent',\n border:'none',\n color:'red'\n }\n \n \n };\nconsole.log(number_of_frame);\n useEffect(()=>{\n if (selectedSettings) {\n setNumberOfFrame(selectedSettings.number_of_frame)\n setPlayBackSpeed(selectedSettings.playback_speed)\n setIndividualPhoto(selectedSettings.individual_photo)\n setMirrorLive(selectedSettings.mirror_live == 0 ? false : true)\n showOverLayPreview(selectedSettings.show_overlay == 0 ? false : true)\n }\n \n\n }, [selectedSettings])\n\n const saveChanges = () => {\n\n const data = {\n brustGifId, \n number_of_frame, \n playback_speed, \n individual_photo, \n show_overlay, \n mirror_live\n }\n\n submitTrigger(data)\n\n setTimeout(()=>{\n closeModal(false)\n }, 500)\n\n setNumberOfFrame(2)\n setPlayBackSpeed(1)\n setIndividualPhoto('disabled')\n showOverLayPreview(false)\n setMirrorLive(false)\n\n }\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n

    3 in 1 Fast Settings

    \n
    \n
    \n

    Number of frames

    \n {setNumberOfFrame(e)}}\n />\n
    \n
    \n

    Playback speed

    \n {setPlayBackSpeed(e)}}\n />\n
    \n {/*
    \n \n \n
    \n
    \n \n {showOverLayPreview(e.target.checked)}}/>\n
    \n
    \n \n {setMirrorLive(e.target.checked)}}/>\n
    */}\n
    \n \n \n
    \n
    \n
    \n
    \n
    \n \n )\n}\n\nexport default BrustGifSettingsModal\n","import React, { useState, useEffect } from 'react'\nimport { useDispatch, useSelector } from 'react-redux'\nimport { useHistory } from 'react-router'\nimport NewFormWizard from '../../../../components/formWizard/NewFormWizard'\nimport Layout from '../../../../components/layouts/Layout'\nimport { eventBrustGifs } from '../slice/createEventSlice'\nimport NewFormWizardChild from '../../../../components/formWizard/NewFormWziardChild'\nimport BrustGifModal from '../../components/Modal/BrustGifModal'\nimport { IoTrashSharp } from 'react-icons/io5'\nimport { IoIosSettings } from 'react-icons/io'\nimport http, { URL_S3 } from '../../../../config/BaseUrl'\nimport { ImEqualizer2 } from 'react-icons/im'\nimport { LoadingSpinner } from '../../../../components/Loader/Loader'\nimport BrustGifSettingsModal from '../../components/Modal/BrustGifSettingsModal'\n\nfunction BrustGif() {\n \n const history = useHistory()\n const dispatch = useDispatch()\n // const eventId = history.location.state\n const { event_option, brust_gifs, eventId } = useSelector(state => state.createEvent)\n const [selectedBrustGif, setSelectedBrustGif] = useState([])\n const [loading, setLoading] = useState(false)\n const [draftLoading, setDraftLoading] = useState(false)\n const [openModal, setOpenModal] = useState(false)\n const [brustGifId, setBrustGifId] = useState(null)\n const [brustGifTemplateErr, setBrustGifTemplateErr] = useState(false)\n\n\n\n const handelTemplate = (e) => {\n e.preventDefault();\n if(selectedBrustGif.length > 0){\n dispatch(eventBrustGifs(JSON.stringify(selectedBrustGif)))\n setLoading(true)\n http.post(\"event-brust-gif\", { brust_gif: selectedBrustGif, eventId }).then(res => {\n setLoading(true)\n if (res.data.brust_gif === 'success') {\n if (event_option) {\n if (event_option.email === true) { history.push('/event/email', eventId) }\n else if (event_option.text_messaging === true) { history.push('/event/sms', eventId) }\n else if (event_option.digital_props === true) { history.push('/event/digital-prop', eventId) }\n else if (event_option.water_mark === true) { history.push('/event/custom-branding', eventId) }\n else if (event_option.microsite === true) { history.push('/event/microsite', eventId) }\n else if (event_option.frame_option === true) { history.push('/event/frame', eventId) }\n else if (event_option.incentive_offer === true) { history.push('/event/incentive-offer', eventId) }\n else if (event_option.filters === true) { history.push('/event/filter', eventId) }\n else if (event_option.form_builder === true) { history.push('/event/form-builder', eventId) }\n else { history.push('/event/summary', eventId) }\n }\n }\n setLoading(false)\n }).catch((err) => console.log(\"err\", err.response.data))\n }else{\n setBrustGifTemplateErr(true)\n }\n }\n\n useEffect(() => {\n \n if(brust_gifs){\n if (brust_gifs.length > 0) {\n setSelectedBrustGif(JSON.parse(brust_gifs))\n }\n }\n \n }, [brust_gifs])\n\n const setBrustGifByProps = (data) => {\n setSelectedBrustGif(data)\n setBrustGifTemplateErr(false)\n }\n\n const removeProps = (id) => {\n let copyProps = [...selectedBrustGif]\n copyProps.splice(id, 1)\n setSelectedBrustGif(copyProps)\n\n }\n\n const saveAsDraft = () => {\n if(selectedBrustGif.length > 0){\n\n dispatch(eventBrustGifs(JSON.stringify(selectedBrustGif)))\n setDraftLoading(true)\n http.post(\"event-brust-gif\", { brust_gif: selectedBrustGif, eventId }).then(res => {\n setDraftLoading(false)\n }).catch(err => setDraftLoading(false))\n\n }else{\n setBrustGifTemplateErr(true)\n }\n }\n\n const submitTrigger = (data) => {\n let copyData = [...selectedBrustGif]\n let indexItem = copyData.findIndex(item => item.id == data.brustGifId)\n delete copyData[indexItem].settings\n if (indexItem >= 0) {\n copyData[indexItem]['settings'] = data\n }\n setSelectedBrustGif(copyData)\n\n }\n\n const settingsOpen = (item) => {\n setBrustGifId(item)\n setOpenModal(true)\n }\n \n const BackToPreviousPage = (e) => {\n e.preventDefault()\n if (event_option.gif === true) { history.push('/event/gif') }\n else if (event_option.social_media === true) { history.push('/event/social') }\n else { history.push('/event/options') }\n }\n\n return (\n \n \n \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    3 in 1 Fast Chooser

    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \n

    Animation Library

    \n
    \n
    \n \n \n
    \n
    \n {brustGifTemplateErr &&\n

    Choose any animation

    \n }\n
    \n
    \n {\n selectedBrustGif.length > 0 ?\n selectedBrustGif.map((propItem, index) => (\n
    \n \"props-data\"\n
    \n \n \n \n \n \n \n
    \n
    \n ))\n\n :\n
    \n

    No 3 in 1 Fast Selected.

    \n
    \n }\n\n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n {loading ?\n ()\n : \n }\n\n {\n loading ?\n ()\n :\n \n }\n
    \n
    \n\n \n\n
    \n
    \n
    \n )\n}\n\nexport default BrustGif\n","import React, { useState, useEffect } from 'react'\nimport { ImEqualizer2 } from 'react-icons/im'\nimport { IoIosSettings } from 'react-icons/io'\nimport { IoTrashSharp } from 'react-icons/io5'\nimport { useHistory, useParams } from 'react-router-dom'\nimport NewFormWizard from '../../components/formWizard/NewFormWizard'\nimport NewFormWizardChild from '../../components/formWizard/NewFormWziardChild'\nimport Layout from '../../components/layouts/Layout'\nimport http, { URL_S3 } from '../../config/BaseUrl'\nimport BrustGifModal from '../events/components/Modal/BrustGifModal'\nimport BrustGifSettingsModal from '../events/components/Modal/BrustGifSettingsModal'\n\nfunction BrustGifEdit() {\n const history = useHistory()\n const { id } = useParams()\n \n const [selectedBrustGif, setSelectedBrustGif] = useState([])\n const [loading, setLoading] = useState(false)\n const [openModal, setOpenModal] = useState(false)\n const [brustGifId, setBrustGifId] = useState(null)\n const [selectedSettings, setSelectedSettings] = useState(null)\n const [brustGifTemplateErr, setBrustGifTemplateErr] = useState(false)\n\n \n const handelTemplate = (e) => {\n e.preventDefault();\n if(selectedBrustGif.length > 0){\n setLoading(true)\n http.post(`event/brust-gif/update/${id}`, { brust_gif: selectedBrustGif, eventId: id }).then(res => {\n history.push(`/show/event/${id}`, 'Information Updated.')\n setLoading(false)\n }).catch()\n }else{\n setBrustGifTemplateErr(true)\n }\n }\n\n \n useEffect(() => {\n\n http.get(`event-brust-gif/${id}`)\n .then( res => {\n let responseData = [];\n res.data.galleryItems.length > 0 &&\n res.data.galleryItems.forEach( item =>{\n responseData.push({id: item.brust_gif_id, photo: item.photo, settings: item.brust_gif_setting})\n }) \n setSelectedBrustGif(responseData)\n })\n .catch(err=>{\n console.log(err.response)\n })\n\n }, [])\n\n const setBrustGifByProps = (data) => {\n setSelectedBrustGif(data)\n setBrustGifTemplateErr(false)\n }\n\n const removeProps = (id) => {\n let copyProps = [...selectedBrustGif]\n copyProps.splice(id, 1)\n setSelectedBrustGif(copyProps)\n\n }\n\n const submitTrigger = (data) => {\n let copyData = [...selectedBrustGif]\n\n let indexItem = copyData.findIndex(item=> item.id == data.brustGifId)\n\n if (indexItem >= 0) {\n copyData[indexItem].settings= data\n }\n\n setSelectedBrustGif(copyData)\n\n }\n\n const settingsOpen = (item) => {\n setOpenModal(true)\n setBrustGifId(item.id)\n setSelectedSettings(item.settings)\n }\n \n return (\n \n \n \n\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    3 in 1 Fast Chooser

    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n \n

    Animation Library

    \n
    \n
    \n \n \n
    \n
    \n {brustGifTemplateErr &&\n

    Choose any animation

    \n }\n
    \n
    \n {\n selectedBrustGif.length > 0 ?\n selectedBrustGif.map((propItem, index) => (\n
    \n \"props-data\"\n
    \n \n \n \n \n \n \n
    \n
    \n ))\n\n :\n
    \n

    No 3 in 1 Fast Selected.

    \n
    \n }\n\n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n\n \n\n
    \n
    \n
    \n )\n}\n\nexport default BrustGifEdit\n","import React, { useState, useEffect } from \"react\";\nimport { Controller } from 'react-hook-form'\nimport { DateTimePickerComponent } from '@syncfusion/ej2-react-calendars';\nimport moment from 'moment';\nimport { VscChromeClose } from 'react-icons/vsc';\n\nconst IncentiveFormItem = ({register, idx, errors, control, remove, offerData}) => {\n\n const htmlAttributes = { placeholder: \"When do they expire?\" };\n\n const [countValue, setCountValue] = useState(0)\n\n const checkCountDown = (e) => {\n let flag\n if (e.target.value.length < 60 || e.keyCode === 8 || e.keyCode === 46) {\n // setCountValue(e.target.value.length)\n flag = false\n }\n else {\n flag = true\n }\n\n if (flag) {\n e.preventDefault()\n }\n }\n\n useEffect(()=>{\n if (offerData) {\n setCountValue(offerData.offer_name.length)\n }\n }, [offerData])\n\n return (\n
    \n
    \n setCountValue(e.target.value.length)}\n placeholder=\"What's the unique deal?\"\n {...register(`incentive_offer.${idx}.offer_name`, {\n required: \"This is required.\",\n maxLength: {\n value: 60,\n message: \"Maximum character limit is 60\",\n },\n })}\n />\n
    \n \n {errors.incentive_offer &&\n errors.incentive_offer[idx]?.offer_name?.message}\n {\n countValue === 60 &&\n \"Maximum character limit is 60\"\n }\n \n {countValue}/60\n
    \n
    \n
    \n \n \n {errors.incentive_offer &&\n errors.incentive_offer[idx]?.uses_limit?.message}\n \n
    \n
    \n (\n \n field.onChange(\n moment(e.target.value).format(\"YYYY-MM-DD HH:mm\")\n )\n }\n />\n )}\n name={`incentive_offer.${idx}.expire_in`}\n control={control}\n rules={{ required: \"This is required.\" }}\n />\n \n {errors.incentive_offer &&\n errors.incentive_offer[idx]?.expire_in?.message}\n \n
    \n
    \n remove(idx)}\n className=\"btn btn-danger btn-sm\"\n >\n \n \n
    \n
    \n );\n};\n\nexport default IncentiveFormItem;\n","import React, { useState } from 'react'\nimport { useFieldArray, useForm } from 'react-hook-form'\nimport { IoMdGift } from 'react-icons/io';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { useHistory } from 'react-router';\nimport NewFormWizard from '../../../../components/formWizard/NewFormWizard';\nimport NewFormWizardChild from '../../../../components/formWizard/NewFormWziardChild';\nimport Layout from '../../../../components/layouts/Layout';\nimport { LoadingSpinner } from '../../../../components/Loader/Loader';\nimport http from '../../../../config/BaseUrl';\nimport { eventIncentiveOffers } from '../slice/createEventSlice';\nimport IncentiveFormItem from './module/incentiveOffer/IncentiveFormItem';\n\nconst IncentiveOffer = () => {\n\n const history = useHistory();\n const dispatch = useDispatch()\n const [loading, setLoading] = useState(false)\n const [draftLoading, setDraftLoading] = useState(false)\n\n const { incentive_offer, event_option, eventId } = useSelector(state => state.createEvent)\n\n const { register, handleSubmit, control, formState: { errors } } = useForm({\n defaultValues: {\n description: incentive_offer && incentive_offer.description ? incentive_offer.description : '',\n incentive_offer: incentive_offer && incentive_offer.incentive_offer ?\n incentive_offer.incentive_offer\n :\n [\n { offer_name: \"\", uses_limit: \"\", expire_in: \"\" },\n { offer_name: \"\", uses_limit: \"\", expire_in: \"\" },\n { offer_name: \"\", uses_limit: \"\", expire_in: \"\" }\n ]\n }\n })\n const { fields, append, remove, } = useFieldArray({ control, name: \"incentive_offer\" })\n\n const appendForm = () => {\n let totalFields = 12\n let currentFields = fields.length\n let extededItem = totalFields - currentFields\n if (currentFields < totalFields) {\n if (extededItem > 3) {\n for (let i = 0; i < 3; i++) {\n append({ offer_name: \"\", uses_limit: \"\", expire_in: \"\" })\n }\n }\n else {\n for (let i = 0; i < extededItem; i++) {\n append({ offer_name: \"\", uses_limit: \"\", expire_in: \"\" })\n }\n }\n }\n }\n\n const onSubmit = async (data) => {\n let offer = {\n eventId: eventId,\n incentive_offer: data.incentive_offer,\n description: data.description\n }\n // let dataItem = [...data.incentive_offer]\n dispatch(eventIncentiveOffers(JSON.stringify(data)))\n\n try {\n setLoading(true)\n await http.post('incentive-offer', offer).then((res) => {\n setLoading(true)\n if (res.data) {\n if (event_option.filters === true) { history.push('/event/filter', eventId) }\n else if (event_option.form_builder === true) { history.push('/event/form-builder', eventId) }\n else { history.push('/event/summary', eventId) }\n }\n }).catch((err) => {\n setLoading(false)\n })\n } catch (error) {\n setLoading(false)\n }\n };\n\n\n\n const saveAsDraft = () => {\n handleSubmit(async (data) => {\n let offer = {\n eventId: eventId,\n incentive_offer: data.incentive_offer\n }\n let dataItem = [...data.incentive_offer]\n dispatch(eventIncentiveOffers(JSON.stringify(dataItem)))\n setDraftLoading(true)\n http.post('incentive-offer', offer).then(res => {\n if (res.data) {\n setDraftLoading(false)\n }\n }).catch(err => {\n setDraftLoading(false)\n })\n\n })()\n }\n\n const BackToPreviousPage = (e) => {\n e.preventDefault()\n if (event_option.frame_option === true) { history.push('/event/frame') }\n else if (event_option.microsite === true) { history.push('/event/microsite') }\n else if (event_option.water_mark === true) { history.push('/event/custom-branding') }\n else if (event_option.digital_props === true) { history.push('/event/digital-prop') }\n else if (event_option.text_messaging === true) { history.push('/event/sms') }\n else if (event_option.email === true) { history.push('/event/email') }\n else if (event_option.brust_gif === true) { history.push('/event/brust-gif') }\n else if (event_option.gif === true) { history.push('/event/gif') }\n else if (event_option.social_media === true) { history.push('/event/social') }\n else { history.push('/event/options') }\n }\n\n return (\n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Incentives & Offers

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n

    Incentives & Offers

    \n
    \n
    \n ADD\n\n
    \n
    \n\n
    \n
    \n \n \n {errors.description && errors.description.message}\n
    \n
    \n\n
    \n
    \n {fields.map((item, index) => {\n return (\n \n )\n })}\n
    \n\n
    \n\n
    \n
    \n
    \n\n
    \n
    \n \n {loading ?\n ()\n : \n }\n {\n loading ?\n ()\n :\n \n }\n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default IncentiveOffer\n","import $ from \"jquery\";\nimport React, { createRef, useEffect, useState } from \"react\";\nimport Layout from \"../../components/layouts/Layout\";\n\n\nwindow.jQuery = $;\nwindow.$ = $;\nrequire(\"jquery-ui-sortable\");\nrequire(\"formBuilder\");\n// require(\"formBuilder/dist/form-render.min.js\");\n\nexport function FormBuilderNew() {\n const fb = createRef();\n const [form, setForm] = useState(null);\n const [data, setData] = useState(null);\n useEffect(() => {\n // Update the document title using the browser API\n let options2 = {\n //append: '',\n disableFields: [\"button\", \"header\", \"paragraph\", \"hidden\"],\n disabledActionButtons: [\"save\"],\n onClearAll: function (formData) {\n setForm(null);\n },\n actionButtons: [\n {\n id: \"seeform\",\n className: \"btn btn-primary\",\n label: \"See Form\",\n type: \"button\",\n events: {\n click: function () {\n $(() => {\n let myxml = formBuilder.actions.getData(\"json\", true);\n\n let submit_btn = {\n type: \"button\",\n label: \"Submit\",\n subtype: \"submit\",\n className: \"btn-light btn\",\n name: \"submituniquebutton\",\n access: false,\n style: \"light\"\n };\n let myxml2 = JSON.parse(myxml);\n if (myxml2.length > 0) {\n setForm(myxml);\n\n var fbTemplate = document.getElementById(\"build-wrap\"),\n options = {\n formData: myxml2.concat([submit_btn])\n };\n\n $(fbTemplate).formRender(options);\n } else {\n alert(\"Add atleast one Field\");\n }\n });\n }\n }\n }\n ],\n fields: [\n {\n label: \"File\",\n type: \"file\",\n subtype: \"file\",\n icon: \"✉\",\n\n }\n ],\n controlConfig: {\n 'file.fineuploader': {\n autoUpload: true\n // other fine uploader configuration options here\n }\n }\n };\n\n const formBuilder = $(fb.current).formBuilder(options2);\n\n\n }, []);\n\n\n const formSubmitHandler = e => {\n e.preventDefault();\n var fbTemplate = document.getElementById(\"build-wrap\");\n let userData = $(fbTemplate).formRender(\"userData\");\n\n var formData = new FormData(fbTemplate);\n\n function getObj(objs, key, val) {\n val = val.replace('[]', '');\n return objs.filter(function (obj) {\n var filter = false;\n if (val) {\n filter = (obj[key] === val);\n } else if (obj[key]) {\n filter = true;\n }\n return filter;\n });\n }\n\n function setValue(name, value) {\n let field = getObj(userData, 'name', name)[0];\n\n if (!field) {\n return;\n }\n\n if (['select', 'checkbox-group', 'radio-group'].indexOf(field.type) !== -1) {\n for (var fieldOption of field.values) {\n if (value.indexOf(fieldOption.value) !== -1) {\n fieldOption.selected = true;\n } else {\n delete fieldOption.selected;\n };\n }\n } else {\n field.value = value[0];\n }\n }\n\n\n for (var key of formData.keys()) {\n setValue(key, formData.getAll(key));\n }\n\n\n\n let toSendData = {};\n userData.forEach(item => {\n if (item.type === \"button\" && item.subtype === \"submit\") {\n return 0;\n } else if (item.type === \"file\" || item.subtype === \"file\") {\n let field = item.label;\n let value = item.value\n toSendData[field] = value;\n } else {\n let field = item.label;\n let value = item.userData[0];\n toSendData[field] = value;\n }\n });\n };\n\n\n\n return (\n \n
    \n
    \n {form && (\n formSubmitHandler(e)}\n />\n )}\n
    \n\n \n );\n}\n\nexport default FormBuilderNew;\n","import React, { useState, useEffect } from 'react'\nimport Modal from 'react-modal'\nimport Slider, { Range } from 'rc-slider';\nimport 'rc-slider/assets/index.css';\n\n\nfunction FormBuilderModal({isOpen, closeModal, modalMessage}) {\n\n const customStyles = {\n overlay: {\n position: 'fixed',\n top: 0,\n left: 0,\n right: 0,\n bottom: 0,\n backgroundColor: 'rgb(0 0 0 / 80%)',\n zIndex:100,\n width:'700x',\n height:'500x',\n },\n content: {\n position: 'relative',\n top: '50%',\n left: '50%',\n right: 'auto',\n bottom: 'auto',\n marginRight: '-50%',\n transform: 'translate(-50%, -50%)',\n width:'500px',\n height:'500',\n overflow: 'hidden'\n \n },\n closeBtn:{\n position: 'absolute',\n top:0,\n right:'-1%',\n background:'transparent',\n border:'none',\n color:'red'\n }\n \n \n };\n\n\n\n return (\n \n
    \n
    \n
    \n
    \n

    {modalMessage ? modalMessage.title : `Warning`}!

    \n

    {modalMessage ? modalMessage.message : `You have to save the form if you want to processed to next`}.

    \n \n
    \n
    \n
    \n
    \n \n )\n}\n\nexport default FormBuilderModal\n","import $ from \"jquery\";\nimport React, { useEffect, useState, useRef } from \"react\";\nimport NewFormWizard from \"../../../../components/formWizard/NewFormWizard\";\nimport NewFormWizardChild from '../../../../components/formWizard/NewFormWziardChild';\nimport Layout from \"../../../../components/layouts/Layout\";\nimport { useDispatch, useSelector } from 'react-redux';\nimport { useHistory } from 'react-router';\nimport { eventFormBuilderAdd } from '../slice/createEventSlice';\nimport { LoadingSpinner } from '../../../../components/Loader/Loader';\nimport http from '../../../../config/BaseUrl';\nimport FormBuilderModal from '../../components/Modal/FormBuilderModal'\nimport FormBuilderData from '../../../../dbJson/FormBuilderData.json'\nimport { AiOutlineForm } from 'react-icons/ai'\nimport { ToastContainer, toast } from \"react-toastify\";\n\n\nwindow.jQuery = $;\nwindow.$ = $;\nrequire(\"jquery-ui-sortable\");\nrequire(\"formBuilder\");\n// require(\"formBuilder/dist/form-render.min.js\");\n\nexport function EventFormBuilder() {\n // const fb = createRef();\n\n const fb = useRef(null);\n const [form, setForm] = useState(null);\n const [data, setData] = useState(null);\n const history = useHistory();\n const dispatch = useDispatch()\n const [loading, setLoading] = useState(false)\n const [draftLoading, setDraftLoading] = useState(false)\n const [openModal, setOpenModal] = useState(false)\n const [formMessage, setFormMessage] = useState(null)\n const {form_builder, event_option, eventId } = useSelector(state => state.createEvent)\n\n const [selectFormBuilder, setSelectFormBuilder] = useState(false)\n const [modalTitle, setModalTitle] = useState(null)\n const [modalMessage, setModalMessage] = useState(null)\n\n const { customerFeedBack, eventFeedBack, pollFeedBack, memberFeedBack } = FormBuilderData\n\n\n useEffect(()=>{\n if (form_builder && Object.keys(form_builder).length > 0) {\n if (selectFormBuilder) {\n if (selectFormBuilder.form_name != form_builder.form_name) {\n setFormBuilder(form_builder.form_name, form_builder.form_data)\n }\n }\n else{\n setFormBuilder(form_builder.form_name, form_builder.form_data)\n }\n }\n\n }, [form_builder])\n\n const BackToPreviousPage = (e) => {\n e.preventDefault()\n if (event_option.frame_option === true) { history.push('/event/frame') }\n else if (event_option.microsite === true) { history.push('/event/microsite') }\n else if (event_option.water_mark === true) { history.push('/event/custom-branding') }\n else if (event_option.digital_props === true) { history.push('/event/digital-prop') }\n else if (event_option.text_messaging === true) { history.push('/event/sms') }\n else if (event_option.email === true) { history.push('/event/email') }\n else if (event_option.brust_gif === true) { history.push('/event/brust-gif') }\n else if (event_option.gif === true) { history.push('/event/gif') }\n else if (event_option.social_media === true) { history.push('/event/social') }\n else { history.push('/event/options') }\n}\n\n\n const saveAsDraft = () => {\n if (form_builder && Object.keys(form_builder).length > 0 && form_builder.form_data?.length > 0) {\n setDraftLoading(true)\n let offer = {\n eventId:eventId,\n form_name: form_builder.form_name,\n form_data : form_builder.form_data\n }\n \n try {\n setLoading(true)\n http.post('form-data', offer ).then((res) => {\n if (res.data) {\n setLoading(false)\n setDraftLoading(false)\n }\n }).catch((err) => {\n setLoading(false)\n setDraftLoading(false)\n })\n } catch (error) {\n setLoading(false)\n setDraftLoading(false)\n }\n \n }\n else{\n toast.warning(\"Please save data before you submitted the form.\")\n }\n }\n\n const handleSubmit = () => {\n if (form_builder && Object.keys(form_builder).length > 0 && form_builder.form_data?.length > 0) {\n let offer = {\n eventId:eventId,\n form_name: form_builder.form_name,\n form_data : form_builder.form_data\n }\n \n try {\n setLoading(true)\n http.post('form-data', offer ).then((res) => {\n setLoading(true)\n if (res.data) {\n history.push('/event/summary', eventId)\n }\n }).catch((err) => {\n setLoading(false)\n })\n } catch (error) {\n setLoading(false)\n }\n \n }\n else{\n toast.warning(\"Please save data before you submitted the form.\")\n }\n }\n\n const areEquals = (a, b) => {\n var keys1 = Object.keys(a)\n var keys2 = Object.keys(b)\n let findNameIndex = keys1.findIndex(x => x === 'name')\n let findName1Index = keys2.findIndex(x => x === 'name')\n \n if (a[keys1[findNameIndex]] === b[keys2[findName1Index]]) {\n return true\n }else{\n return false\n }\n }\n const checkArray = (arr) => {\n for (var i = 1; i < arr.length; i++) {\n if (areEquals(arr[0], arr[i])) return true\n }\n return false\n }\n\n const setFormBuilder = (defaultName, defaultData) =>{\n setSelectFormBuilder({form_name: defaultName, form_data: defaultData})\n let options2 = {\n disabledAttrs: ['className', 'inline', 'access', 'max', 'min', 'maxlength', 'subtype', 'step', 'help-text', 'multiple', 'other', 'style', 'rows', 'value', 'description'],\n disableFields: [\"button\", \"header\", \"paragraph\", \"hidden\", \"file\", \"autocomplete\", \"date\"],\n disabledActionButtons: ['data', 'save', 'view'],\n onClearAll: function(formData) {\n setForm(null);\n },\n formData: defaultData || [],\n actionButtons: [\n {\n id: \"submit\",\n className: \"btn btn-primary\",\n label: \"Save Data\",\n type: \"button\",\n events: {\n click: function() {\n $(() => {\n let myxml = formBuilder.actions.getData(\"json\", true);\n let formInputData = JSON.parse(myxml)\n const checkSameNameInForm = checkArray(formInputData)\n if (checkSameNameInForm) {\n toast.warning(\"Same name is not allowed in multiple fields.\")\n }\n else{\n toast.success(\"Form have saved.\")\n dispatch(eventFormBuilderAdd({data: {form_name: defaultName, form_data: formInputData}}))\n }\n });\n }\n }\n }\n ],\n controlConfig: {\n 'file.fineuploader': {\n autoUpload: true\n // other fine uploader configuration options here\n }\n }\n };\n if (fb.current.children.length > 0) {\n fb.current.removeChild(fb.current.children[0])\n }\n const formBuilder = $(fb.current).formBuilder(options2);\n\n \n }\n\n \n\n const chooseFormBuilder = (defaultName, defaultData) => {\n setFormBuilder(defaultName, defaultData)\n dispatch(eventFormBuilderAdd({data: {form_name: defaultName, form_data: defaultData}}))\n }\n\n\n\n return (\n \n \n \n
    \n
    \n
    \n
    \n
    \n
    chooseFormBuilder('Customer Feedback', customerFeedBack)}>\n \n

    Customer Feedback

    \n
    \n
    chooseFormBuilder('Event Feedback', eventFeedBack)}>\n \n

    Event Feedback

    \n
    \n
    chooseFormBuilder('Poll Feedback', pollFeedBack)}>\n \n

    Poll Feedback

    \n
    \n
    chooseFormBuilder('Member Feedback', memberFeedBack)}>\n \n

    Member Feedback

    \n
    \n
    chooseFormBuilder('Custom Form', null)}>\n \n

    Custom Form

    \n
    \n
    \n
    \n
    \n
    \n

    Select any form

    \n
    \n
    \n
    \n
    \n\n
    \n\n
    \n
    \n \n {loading ?\n ()\n : \n }\n\n {\n loading ?\n ()\n :\n \n }\n\n \n
    \n
    \n
    \n \n \n\n
    \n\n
    \n );\n}\n\nexport default EventFormBuilder;\n","import $ from \"jquery\";\nimport React, { useRef, useEffect, useState } from \"react\";\nimport Layout from \"../../components/layouts/Layout\";\nimport { useHistory, useParams } from 'react-router';\nimport { LoadingSpinner } from '../../components/Loader/Loader';\nimport http from '../../config/BaseUrl';\nimport FormBuilderData from '../../dbJson/FormBuilderData.json'\nimport { AiOutlineForm } from 'react-icons/ai'\nimport { ToastContainer, toast } from \"react-toastify\";\n\nwindow.jQuery = $;\nwindow.$ = $;\nrequire(\"jquery-ui-sortable\");\nrequire(\"formBuilder\");\n// require(\"formBuilder/dist/form-render.min.js\");\n\nexport function EventFormBuilderEdit() {\n const fb = useRef(null);;\n const { id } = useParams()\n const [form, setForm] = useState(null);\n const history = useHistory();\n const formData = history.location.state.formData\n const [loading, setLoading] = useState(false)\n\n const [selectFormBuilder, setSelectFormBuilder] = useState(false)\n\n const { customerFeedBack, eventFeedBack, pollFeedBack, memberFeedBack } = FormBuilderData\n\n\n useEffect(() => {\n if (formData) {\n setSelectFormBuilder(formData)\n setFormBuilder(formData.form_name, formData.form_data)\n }\n }, [formData])\n\n\n\n const handleSubmit = () => {\n if (Object.keys(selectFormBuilder).length > 0 && selectFormBuilder.form_data.length > 0) {\n\n let offer = {\n eventId: id,\n form_name: selectFormBuilder.form_name,\n form_data: selectFormBuilder.form_data\n }\n\n try {\n setLoading(true)\n http.put(`form-data-update/${id}`, offer).then((res) => {\n setLoading(true)\n if (res.data) {\n history.push(`/show/event/${id}`, 'Information Updated.')\n }\n }).catch((err) => {\n setLoading(false)\n })\n } catch (error) {\n setLoading(false)\n }\n\n }\n else {\n toast.warning(\"Please save data before you submitted the form.\")\n }\n }\n\n const areEquals = (a, b) => {\n var keys1 = Object.keys(a)\n var keys2 = Object.keys(b)\n let findNameIndex = keys1.findIndex(x => x === 'name')\n let findName1Index = keys2.findIndex(x => x === 'name')\n \n if (a[keys1[findNameIndex]] === b[keys2[findName1Index]]) {\n return true\n }else{\n return false\n }\n }\n const checkArray = (arr) => {\n for (var i = 1; i < arr.length; i++) {\n if (areEquals(arr[0], arr[i])) return true\n }\n return false\n }\n\n const setFormBuilder = (defaultName, defaultData) => {\n setSelectFormBuilder({ form_name: defaultName, form_data: defaultData })\n let options2 = {\n disabledAttrs: ['className', 'inline', 'access', 'max', 'min', 'maxlength', 'subtype', 'step', 'help-text', 'multiple', 'other', 'style', 'rows', 'value', 'description'],\n disableFields: [\"button\", \"header\", \"paragraph\", \"hidden\", \"file\", \"autocomplete\", \"date\"],\n disabledActionButtons: ['data', 'save', 'view'],\n onClearAll: function (formData) {\n setForm(null);\n },\n\n formData: defaultData || [],\n actionButtons: [\n {\n id: \"submit\",\n className: \"btn btn-primary\",\n label: \"Save Data\",\n type: \"button\",\n events: {\n click: function () {\n $(() => {\n let myxml = formBuilder.actions.getData(\"json\", true);\n let formInputData = JSON.parse(myxml)\n const checkSameNameInForm = checkArray(formInputData)\n if (checkSameNameInForm) {\n toast.warning(\"Same name is not allowed in multiple fields.\")\n }else{\n toast.success(\"Form have saved.\")\n setSelectFormBuilder({ form_name: defaultName, form_data: JSON.parse(myxml) })\n }\n });\n }\n }\n }\n ],\n controlConfig: {\n 'file.fineuploader': {\n autoUpload: true\n // other fine uploader configuration options here\n }\n }\n };\n if (fb.current.children.length > 0) {\n fb.current.removeChild(fb.current.children[0])\n }\n const formBuilder = $(fb.current).formBuilder(options2);\n }\n\n\n const chooseFormBuilder = (defaultName, defaultData) => {\n setFormBuilder(defaultName, defaultData)\n }\n\n\n\n return (\n \n
    \n
    \n
    \n
    \n
    \n
    chooseFormBuilder('Customer Feedback', customerFeedBack)}>\n \n

    Customer Feedback

    \n
    \n
    chooseFormBuilder('Event Feedback', eventFeedBack)}>\n \n

    Event Feedback

    \n
    \n
    chooseFormBuilder('Poll Feedback', pollFeedBack)}>\n \n

    Poll Feedback

    \n
    \n
    chooseFormBuilder('Member Feedback', memberFeedBack)}>\n \n

    Member Feedback

    \n
    \n
    chooseFormBuilder('Custom Form', null)}>\n \n

    Custom Form

    \n
    \n
    \n
    \n
    \n
    \n

    Select any form

    \n
    \n
    \n
    \n\n
    \n\n
    \n {loading ?\n ()\n : \n }\n\n
    \n
    \n\n\n
    \n\n\n
    \n \n\n
    \n );\n}\n\nexport default EventFormBuilderEdit;\n","import React, { useState, useEffect } from 'react'\nimport { useFieldArray, useForm } from 'react-hook-form'\nimport { IoMdGift } from 'react-icons/io';\nimport { useDispatch, useSelector } from 'react-redux';\nimport { useHistory, useParams } from 'react-router';\nimport http from '../../config/BaseUrl';\nimport Layout from '../../components/layouts/Layout';\nimport NewFormWizard from '../../components/formWizard/NewFormWizard';\nimport NewFormWizardChild from '../../components/formWizard/FormWizardChild';\nimport { LoadingSpinner } from '../../components/Loader/Loader';\nimport IncentiveFormItem from '../events/createEvent/createEventChild/module/incentiveOffer/IncentiveFormItem';\n\nconst IncentiveOfferEdit = () => {\n\n const history = useHistory();\n const { id } = useParams();\n const IncentiveOffers = history.location.state.IncentiveOffer\n const incentiveDetails = history.location.state.incentiveDetails\n const [loading, setLoading] = useState(false)\n const [draftLoading, setDraftLoading] = useState(false)\n const [incentive, setIncentive] = useState([])\n\n const htmlAttributes = { placeholder: \"Expiry date\" };\n const { event_option, eventId } = useSelector(state => state.createEvent)\n\n const { register, handleSubmit, formState: { errors }, control, reset } = useForm({\n mode: \"all\",\n reValidateMode: \"onChange\",\n defaultValues: {\n description: incentiveDetails ? incentiveDetails.description : '',\n incentive_offer: IncentiveOffers\n }\n })\n const { fields, append, remove, prepend } = useFieldArray({ control, name: \"incentive_offer\" })\n\n\n const appendForm = () => {\n let totalFields = 12\n let currentFields = fields.length\n let extededItem = totalFields - currentFields\n if (currentFields < totalFields) {\n if (extededItem > 3) {\n for (let i = 0; i < 3; i++) {\n append({ offer_name: \"\", uses_limit: \"\", expire_in: \"\" })\n }\n }\n else {\n for (let i = 0; i < extededItem; i++) {\n append({ offer_name: \"\", uses_limit: \"\", expire_in: \"\" })\n }\n }\n }\n }\n\n\n const fetchEditData = async () => {\n try {\n setLoading(true)\n await http.get(`incentive-offer/${id}`)\n .then((res) => {\n if (res.data) {\n setIncentive(res.data.incentive_offer)\n reset({ incentive_offer: res.data.incentive_offer })\n setLoading(false)\n }\n }).catch((err) => {\n console.log(err);\n setLoading(false)\n })\n } catch (error) {\n\n }\n }\n\n useEffect(() => {\n fetchEditData()\n }, [])\n\n const onSubmitUpdate = async (data) => {\n let offer = {\n eventId: id,\n incentive_offer: data.incentive_offer,\n description: data.description\n }\n\n try {\n setLoading(true)\n await http.post(`incentive-offer/update/${id}`, offer).then((res) => {\n if (res.data) {\n setLoading(false)\n history.push(`/show/event/${id}`, 'Information Updated.')\n }\n }).catch((err) => {\n setLoading(false)\n console.log(err);\n })\n } catch (error) {\n setLoading(false)\n }\n };\n\n\n\n return (\n \n \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Incentives & Offers

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n
    \n
    \n \n

    Incentives & Offers

    \n
    \n
    \n ADD\n\n
    \n
    \n\n
    \n
    \n \n \n
    \n
    \n\n
    \n
    \n {fields.map((item, index) => {\n return (\n \n )\n })}\n
    \n\n
    \n
    \n
    \n
    \n\n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default IncentiveOfferEdit\n","import React, { useRef } from 'react'\nimport { URL_S3 } from '../../../../config/BaseUrl'\n\nfunction Images({ photos, fullScreen }) {\n\n const allItemBody = useRef(null)\n\n return (\n
    fullScreen(allItemBody)} data-title=\"Double click to open in fullscreen mode\">\n
    \n
    \n {\n photos && photos.length > 0 ?\n photos.map((photo, index) => (\n
    \n \"images\"\n
    \n ))\n :\n
    \n
    \n

    There is no items to show

    \n
    \n
    \n }\n
    \n \n \n Previous\n \n \n \n Next\n \n
    \n
    \n )\n}\n\nexport default Images\n","import React, { useRef } from 'react'\nimport { URL_S3 } from '../../../../config/BaseUrl'\n\nfunction Video({ videos, fullScreen }) {\n\n const allItemBody = useRef(null)\n\n return (\n
    fullScreen(allItemBody)} data-title=\"Double click to open in fullscreen mode\">\n
    \n
    \n {\n videos &&\n videos.length > 0 ?\n videos.map((video, index) => (\n
    \n \n
    \n ))\n :\n
    \n
    \n

    There is no items to show

    \n
    \n
    \n }\n
    \n \n \n Previous\n \n \n \n Next\n \n
    \n
    \n )\n}\n\nexport default Video\n","import React, { useRef } from 'react'\nimport { URL_S3 } from '../../../../config/BaseUrl'\n\nfunction Gifs({ gifs, fullScreen }) {\n const allItemBody = useRef(null)\n\n return (\n
    fullScreen(allItemBody)} data-title=\"Double click to open in fullscreen mode\">\n
    \n
    \n {\n gifs && gifs.length > 0 ?\n gifs.map((video, index) => (\n
    \n \n
    \n ))\n :\n
    \n
    \n

    There is no items to show

    \n
    \n
    \n }\n
    \n \n \n Previous\n \n \n \n Next\n \n
    \n
    \n )\n}\n\nexport default Gifs\n","import React, { useRef } from 'react'\nimport { URL_S3 } from '../../../../config/BaseUrl'\n\nfunction All({ galleryItems, fullScreen }) {\n\n const allItemBody = useRef(null)\n\n\n return (\n
    fullScreen(allItemBody)} data-title=\"Double click to open in fullscreen mode\">\n
    \n
    \n {\n galleryItems &&\n galleryItems.length > 0 ?\n galleryItems.map((item, index) => (\n item.media_type === 'video' || item.media_type === 'boomerang' ?\n
    \n \n
    \n :\n
    \n \"images\"\n
    \n ))\n :\n
    \n
    \n

    There is no items to show

    \n
    \n
    \n }\n
    \n \n \n Previous\n \n \n \n Next\n \n
    \n
    \n )\n}\n\nexport default All\n","import React, { useEffect, useState } from 'react'\nimport { useParams } from 'react-router-dom'\nimport Images from './Content/Images'\nimport Video from './Content/Video'\nimport { baseURLPublic } from '../../../config/BaseUrl'\nimport Gifs from './Content/Gifs'\nimport All from './Content/All'\n\nfunction SlideShow() {\n\n const { id } = useParams()\n\n const [galleryItems, setGalleryItems] = useState([])\n\n \n\n useEffect(() => {\n baseURLPublic.get(`social-gallery-slider/${id}`)\n .then(res => {\n setGalleryItems(res.data.gallery_items)\n })\n .catch(err => {\n console.log(err)\n })\n }, [])\n\n\n\n const fullScreen = (element) => {\n if (\n document.fullscreenElement ||\n document.webkitFullscreenElement ||\n document.mozFullScreenElement ||\n document.msFullscreenElement\n ) {\n if (document.exitFullscreen) {\n document.exitFullscreen();\n } else if (document.mozCancelFullScreen) {\n document.mozCancelFullScreen();\n } else if (document.webkitExitFullscreen) {\n document.webkitExitFullscreen();\n } else if (document.msExitFullscreen) {\n document.msExitFullscreen();\n }\n } else {\n \n if (element.current.requestFullscreen) {\n element.current.requestFullscreen();\n } else if (element.current.mozRequestFullScreen) {\n element.current.mozRequestFullScreen();\n } else if (element.current.webkitRequestFullscreen) {\n element.current.webkitRequestFullscreen(Element.ALLOW_KEYBOARD_INPUT);\n } else if (element.current.msRequestFullscreen) {\n element.current.msRequestFullscreen();\n }\n }\n }\n\n\n\n return (\n
    \n \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n item.media_type === 'photo')} fullScreen={fullScreen} />\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n item.media_type === 'boomerang')} fullScreen={fullScreen} />\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n \n \n \n
    \n
    \n )\n}\n\nexport default SlideShow\n","import React, { useState } from 'react'\nimport { useHistory } from 'react-router-dom'\nimport Layout from '../../../components/layouts/Layout'\nimport Form from '../../../components/PaymentForm/Form';\nimport LocalStorage from '../../../hook/LocalStorage';\nimport amx from '../../../assets/images/payment/amx.png'\nimport masterCard from '../../../assets/images/payment/mastercard.png'\nimport visa from '../../../assets/images/payment/visa.png'\nimport { useForm } from 'react-hook-form';\nimport { useDispatch, useSelector } from 'react-redux';\nimport http from '../../../config/BaseUrl';\nimport { eventCreateReset } from './slice/createEventSlice';\nconst EventDevice = () => {\n\n const { user } = LocalStorage();\n const dispatch = useDispatch()\n const history = useHistory()\n const { register, handleSubmit, formState: { errors }, setError, watch, setValue } = useForm({ mode: \"all\", reValidateMode: \"all\" })\n const [loading, setLoading] = useState(false)\n const { eventId } = useSelector(state => state.createEvent)\n\n const device = [\n {\n id: 1,\n name: \"device 1\",\n price: 50,\n },\n {\n id: 2,\n name: \"device 2\",\n price: 100,\n },\n {\n id: 3,\n name: \"device 3\",\n price: 150,\n },\n ];\n\n const PayWithDeviceEvent = async (data) => {\n const formData = {\n cardNumber: data.cardNumber,\n cardholderName: data.cardholderName,\n cvvNumber: data.cvvNumber,\n expiryMonth: data.expiryMonth,\n expiryYear: data.expiryYear,\n user_id: user.id,\n user_email: user.email,\n sources: user.membership.sources,\n package_id: user.membership.package_id,\n package_type: user.membership.package_type,\n event_id: eventId,\n submittedData: data\n }\n\n\n if (eventId !== null) {\n try {\n setLoading(true)\n const eventPayment = await http.post(\"event-payment\", formData)\n .then((res) => {\n if (res.data.card_info) {\n setLoading(false)\n return res.data.card_info\n } else {\n history.goBack()\n }\n })\n .catch((error) => {\n if (error.response) {\n console.log(error.response.data);\n console.log(error.response.status);\n console.log(error.response.headers);\n } else if (error.request) {\n console.log(error.request);\n } else {\n console.log('Error', error.message);\n }\n })\n\n if (eventPayment && eventPayment.charge_id !== null) {\n await http.post(`event/store/${eventId}`).then((res) => {\n if (res.data.status === true) {\n setLoading(false)\n dispatch(eventCreateReset())\n localStorage.removeItem(\"persist:root\")\n history.push('/event#live')\n }\n }).catch((err) => setLoading(false))\n } else {\n setLoading(false)\n history.goBack()\n }\n\n\n } catch (error) {\n console.log(error.message);\n }\n }\n\n\n }\n\n const DeviceItemValue = watch(\"device\");\n if (DeviceItemValue) {\n const devicePrice = device.filter(item => item.name === DeviceItemValue);\n const totalPrice = devicePrice && devicePrice[0]?.price\n setValue(\"price\", totalPrice)\n }\n return (\n \n
    \n
    \n
    \n
    \n

    Chose device and pay

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n

    Card Information

    \n
    \n
    \n \"visa\"\n
    \n
    \n \"masterCard\"\n
    \n
    \n \"amx\"\n
    \n
    \n
    \n {user && user.membership.package_type === 'single' && (\n
    \n
    \n \n \n
    \n\n
    \n \n \n
    \n\n
    \n )}\n \n
    \n \n {loading && loading ? ()\n : (\" Purchase Event\")\n }\n \n
    \n
    \n
    \n\n
    \n

    history.goBack()} className=\"text-primary\" style={{ cursor: 'pointer' }}>Back To Previous Page

    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default EventDevice\n","import React, { Component } from \"react\";\n\nimport moment from \"moment\";\nimport \"./style.css\";\nclass CountDownSimple extends Component {\n constructor(props) {\n super(props);\n this.state = {\n seconds: 0,\n minutes: 0,\n hours: 0,\n days: 0,\n };\n }\n\n componentDidMount() {\n this.interval = setInterval(() => {\n const { timeTillDate, timeFormat } = this.props;\n const then = moment(timeTillDate, timeFormat);\n\n const currentTime = moment(new Date()).format(\"MM DD YYYY, HH:mm:ss\");\n const now = moment(currentTime, timeFormat);\n let calculateDate = then.diff(now);\n\n const days = Math.floor(calculateDate / (1000 * 60 * 60 * 24));\n const hours = Math.floor(\n (calculateDate % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60)\n );\n const minutes = Math.floor(\n (calculateDate % (1000 * 60 * 60)) / (1000 * 60)\n );\n const seconds = Math.floor((calculateDate % (1000 * 60)) / 1000);\n\n this.setState({ days, hours, minutes, seconds });\n }, 1000);\n }\n\n componentWillUnmount() {\n if (this.interval < 0) {\n clearInterval(this.interval);\n }\n }\n render() {\n const { days, hours, minutes, seconds } = this.state;\n return (\n
      \n
    • \n {days > 0 ? days : `00`}d:\n
    • \n
    • \n {hours > 0 ? hours : `00`}h:\n
    • \n
    • \n \n {minutes > 0 ? minutes : `00`}m:\n \n
    • \n
    • \n \n {seconds > 0 ? seconds : `00`} seconds\n \n
    • \n
    \n );\n }\n}\n\nexport default CountDownSimple;\n","import React, { Component } from 'react';\n\nimport moment from 'moment';\nimport './style.css';\nclass CountDownDay extends Component {\n constructor(props) {\n super(props);\n this.state = {\n seconds: 0,\n minutes: 0,\n hours: 0,\n days: 0,\n };\n }\n\n componentDidMount() {\n this.interval = setInterval(() => {\n const { timeTillDate, timeFormat } = this.props;\n const then = moment(timeTillDate, timeFormat);\n\n const currentTime = moment(new Date()).format('MM DD YYYY, HH:mm:ss')\n const now = moment(currentTime, timeFormat);\n let calculateDate = then.diff(now);\n\n const days = Math.floor(calculateDate / (1000 * 60 * 60 * 24));\n const hours = Math.floor((calculateDate % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));\n const minutes = Math.floor((calculateDate % (1000 * 60 * 60)) / (1000 * 60));\n const seconds = Math.floor((calculateDate % (1000 * 60)) / 1000);\n\n this.setState({ days, hours, minutes, seconds });\n }, 1000);\n }\n\n componentWillUnmount() {\n if (this.interval) {\n clearInterval(this.interval);\n }\n }\n render() {\n const { days } = this.state;\n return ({days > 0 ? days : \"00\"} days left);\n }\n}\n\nexport default CountDownDay;\n","import React, { useState, useEffect } from \"react\";\nimport { Link, useParams } from \"react-router-dom\";\nimport logoThree from \"../../../assets/images/logo/Haylo-logo-white.png\";\nimport \"../Microsite/style/microsite-one.css\";\nimport \"../Microsite/style/style.css\";\nimport \"./qrStyle.css\";\nimport QRCode from \"react-qr-code\";\nimport { baseURLPublic } from \"../../../config/BaseUrl\";\nimport moment from \"moment\";\nimport CountDownSimple from \"../../../components/CountDown/CountDown\";\nimport CountDownDay from \"../../../components/CountDown/CountDownDay\";\nimport { LoadingSpinner } from \"../../../components/Loader/Loader\";\n\nfunction Avail() {\n const { eventId, uuid, voucherNo } = useParams();\n const [qrCode, setQrCode] = useState(\"\");\n const [claimMessage, setClaimMessage] = useState(\"\");\n const getQrCode = `\n Username: ${qrCode.user_name} \n Offer name: ${qrCode.offer_name}\n Expire in: ${qrCode.expire_in}\n Owner name: ${qrCode.owner_name}\n Voucher: ${qrCode.voucher}\n `;\n const [pageLoader, setPageLoader] = useState(false);\n const [claim, setClaim] = useState(false);\n\n useEffect(() => {\n setPageLoader(true);\n baseURLPublic\n .get(`offer/avail/${eventId}/qr-code/${uuid}/voucher_no/${voucherNo}`)\n .then((res) => {\n if (res.data) {\n setQrCode(res.data.qr_code_details);\n setPageLoader(false);\n }\n });\n return () => {\n setPageLoader(false);\n };\n }, [claim]);\n\n const ClaimedOffer = () => {\n try {\n baseURLPublic\n .post(`offer/claim/qr-code/${qrCode && qrCode.voucher_id}`)\n .then((res) => {\n if (res.data) {\n setClaimMessage(\"Voucher claimed successfully\");\n }\n });\n } catch (error) {\n console.log(error);\n }\n };\n\n const expireDate = Math.floor(\n new Date(qrCode && qrCode.expire_in).getTime() / 1000\n );\n const currentDate = Math.floor(new Date().getTime() / 1000);\n\n return (\n
    \n
    \n
    \n
    \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    \n\n
    \n
    \n
    \n {pageLoader ? (\n
    \n
    \n
    \n Loading...\n
    \n
    \n
    \n ) : (\n <>\n
    \n {claimMessage && (\n
    \n setClaimMessage(\"\")}\n className=\"close\"\n data-dismiss=\"alert\"\n >\n ×\n \n {claimMessage}\n
    \n )}\n
    \n
    \n
    \n

    Offer Name: {qrCode.offer_name}

    \n

    \n {qrCode && qrCode?.is_used === 1 ? (\n \"\"\n ) : expireDate > currentDate ? (\n \n ) : (\n \"\"\n )}\n

    \n
    \n
    \n
    \n
    \n
    \n {qrCode && qrCode?.is_used === 1 ? (\n

    \n Voucher already claimed\n

    \n ) : expireDate > currentDate ? (\n \n ) : (\n

    Voucher expired

    \n )}\n
    \n
    \n \n

    {qrCode.voucher}

    \n {qrCode && qrCode?.is_used === 1 ? (\n \"\"\n ) : expireDate > currentDate ? (\n <>\n {\n ClaimedOffer();\n setClaim(true);\n }}\n className=\"btn btn-primary mt-3 btn-sm\"\n // disabled={\n // qrCode && qrCode?.is_used === 1\n // ? true\n // : expireDate > currentDate\n // ? false\n // : true\n // }\n >\n {claim === true ? (\n \n ) : (\n \"Claim\"\n )}\n \n

    DO NOT CLAIM. STAFF USE ONLY.

    \n \n ) : (\n \"\"\n )}\n
    \n
    \n
    \n \n )}\n
    \n
    \n
    \n\n
    \n
    \n
    \n
    \n

    \n Brought you by{\" \"}\n \n The Haylo\n \n

    \n
    \n
    \n
    \n
    \n
    \n );\n}\n\nexport default Avail;\n","import React, { useEffect, useState } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { ToastContainer, toast } from 'react-toastify';\nimport { LoadingSpinner } from '../../../../components/Loader/Loader';\nimport http, { httpUser } from '../../../../config/BaseUrl'\n\nfunction AccountInfo({user}) {\n\n \n const { register, handleSubmit, formState: { errors }, reset } = useForm({\n mode: \"onChange\",\n reValidateMode: \"all\"\n });\n\n const [isLoading, setLoading] = useState(false)\n useEffect(()=>{\n if (user) {\n reset({\n first_name: user.first_name,\n last_name: user.last_name,\n })\n }\n }, [user])\n\n const handelInfo = (data) => {\n setLoading(true)\n const submittedData = {\n ...data,\n email: user.email\n }\n http.post('/update/user', submittedData)\n .then(res => {\n toast.success(\"Profile updated successfully\")\n setLoading(false)\n })\n .catch(err => {\n console.log(err)\n })\n }\n\n return (\n
    \n
    \n
    Account Information
    \n
    \n
    \n
    \n
    \n \n \n {errors.first_name && errors.first_name.message}\n
    \n
    \n \n \n {errors.last_name && errors.last_name.message}\n
    \n
    \n \n \n
    \n \n
    \n
    \n {isLoading ?\n ()\n : \n \n }\n
    \n
    \n \n
    \n )\n}\n\nexport default AccountInfo","import React, { useState, useEffect } from 'react'\nimport { useForm } from 'react-hook-form'\nimport { LoadingSpinner } from '../../../../components/Loader/Loader';\nimport http from '../../../../config/BaseUrl';\nimport { toast, ToastContainer } from 'react-toastify';\n\nfunction ChangePassword({ user }) {\n\n const { register, handleSubmit, formState: { errors }, setError, watch, reset } = useForm({\n mode: \"onChange\",\n reValidateMode: \"all\"\n });\n\n const [isCheckPreviousPassword, setIsCheckPreviousPassword] = useState(false)\n const [isLoading, setLoading] = useState(false)\n\n\n const changePassword = (data) => {\n\n setLoading(true)\n if (data.old_password) {\n const submittedData = {\n old_password: data.old_password,\n email: user.email\n }\n http.post('/check-password', submittedData)\n .then(res => {\n setLoading(false)\n if (res.data.status === 'success') {\n setIsCheckPreviousPassword(true)\n toast.success(res.data.message)\n }\n else {\n setError(\"old_password\", {\n type: \"manual\",\n message: res.data.message,\n });\n }\n })\n .catch(err => {\n console.log(err)\n })\n }\n else {\n const submittedData = {\n new_password: data.new_password,\n email: user.email\n }\n http.post('/update-password', submittedData)\n .then(res => {\n if (res.data.status === 'success') {\n toast.success(res.data.message)\n setIsCheckPreviousPassword(false)\n setLoading(false)\n reset({\n old_password: '',\n new_password: '',\n confirm_password: ''\n })\n }\n })\n .catch(err => {\n console.log(err)\n })\n }\n\n }\n\n const password = watch(\"new_password\", \"\")\n\n\n return (\n
    \n
    \n
    Change Password
    \n
    \n
    \n
    \n
    \n \n \n {errors.old_password && errors.old_password.message}\n
    \n
    \n
    \n \n \n {errors.new_password && errors.new_password.message}\n
    \n
    \n \n value === password || \"Password doesn't match\"\n\n })}\n type='password'\n className='form-control'\n placeholder='Confirm Password'\n />\n {errors.confirm_password && errors.confirm_password.message}\n
    \n
    \n\n
    \n
    \n {isLoading ?\n ()\n :\n \n }\n
    \n \n \n
    \n )\n}\n\nexport default ChangePassword","import React, { useEffect, useState } from 'react'\nimport { Link } from 'react-router-dom'\nimport Layout from '../../../components/layouts/Layout'\nimport { httpUser } from '../../../config/BaseUrl'\nimport AccountInfo from './Component/AccountInfo'\nimport ChangePassword from './Component/ChangePassword'\n\nfunction Profile() {\n\n const [user, setUser] = useState({})\n\n\n useEffect(() => {\n httpUser.get('/user')\n .then(res => {\n setUser(res.data)\n })\n }, [])\n\n\n\n return (\n \n
    \n
    \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n
    \n
    Membership
    \n
    \n
    \n
    \n
    \n

    Current Package Name: {user?.membership?.our_package?.name}

    \n

    Current Package Type: {user?.membership?.package_type}

    \n

    Current Package Amount: $ {user?.membership?.amount}

    \n
    \n
    \n Upgrade plan\n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n
    \n )\n}\n\nexport default Profile","import moment from \"moment/moment\";\nimport React from \"react\";\nimport Layout from \"../../components/layouts/Layout\";\nimport \"./style/sms-billing.css\";\nconst index = () => {\n return (\n \n
    \n
    \n
    \n
    \n SMS Billing Details\n
    \n
    \n\n
    \n
    \n \n
    \n
    \n \n
    \n
    \n \n
    \n
    \n
    \n\n
    \n {/*
    \n
    \n

    SMS Billing

    \n
    \n
    \n \n
    \n
    */}\n
    \n\n
    \n
    \n
    SMS Bill Summery
    \n
    \n
    \n
    \n
    \n

    your ID

    \n 0124584587\n
    \n
    \n
    \n
    \n

    sms billing period

    \n Sep 1 - Sep 30, 2022\n
    \n
    \n
    \n
    \n

    sms billing status

    \n pending, {moment().format(\"LLL\")}\n
    \n
    \n
    \n
    \n
    \n
    \n

    invoice currency

    \n AUD - AU dollars\n
    \n
    \n
    \n
    \n

    Total in invoice currency

    \n AUD 0\n
    \n
    \n
    \n
    \n

    total in AUD

    \n AUD 0\n
    \n
    \n
    \n
    \n
    \n

    grand total :

    \n AUD 0\n
    \n
    \n
    \n
    \n
    \n );\n};\n\nexport default index;\n","import React from \"react\";\nimport { Route, Switch } from \"react-router-dom\";\nimport Login from \"../pages/auth/login/Login\";\nimport Dashboard from \"../pages/Dashboard/Dashboard\";\nimport ViewEvent from \"../pages/events/viewEvent/ViewEvent\";\nimport EventFeatures from \"../pages/events/createEvent/EventFeatures\";\nimport Event from \"../pages/events/Event\";\nimport EventInfo from \"../pages/events/createEvent/EventInfo\";\nimport EventSummary from \"../pages/events/createEvent/EventSummary\";\nimport AppExperience from \"../pages/events/createEvent/createEventChild/AppExperience\";\nimport TableLive from \"../pages/events/liveEvent/TableLive\";\nimport TablePast from \"../pages/events/pastEvent/TablePast\";\nimport TableUpcoming from \"../pages/events/upcomingEvent/TableUpcoming\";\nimport Email from \"../pages/events/createEvent/createEventChild/Email\";\nimport SocialMedia from \"../pages/events/createEvent/createEventChild/SocialMedia\";\nimport EventType from \"../pages/events/createEvent/EventType\"\nimport PaymentPage from \"../pages/events/createEvent/PaymentPage\"\nimport PaymentSuccesful from \"../pages/events/createEvent/PaymentSuccessful\"\nimport { ProtectedRoute } from \"./ProtectedRoute\";\nimport { PublicRoute } from \"./PublicRoute\";\nimport EmailVerify from \"../pages/auth/emailVerify/EmailVerify\";\nimport EventOption from \"../pages/events/createEvent/EventOption\";\nimport RegisterUser from \"../pages/auth/register/RegisterUser\";\nimport TextSms from \"../pages/events/createEvent/createEventChild/TextSms\";\nimport DigitalSetting from \"../pages/events/createEvent/createEventChild/DigitalSetting\";\nimport Filter from \"../pages/events/createEvent/createEventChild/Filter\";\nimport MicroSite from \"../pages/events/createEvent/createEventChild/MicroSite\";\nimport DataCapture from '../pages/data-capture/DataCapture'\nimport DataCaptureView from '../pages/data-capture/View'\nimport PaymentCapture from '../pages/data-capture/data-capture-payment/PaymentCapture'\nimport PaymentSuccessfulPage from '../pages/data-capture/PaymentSuccessfulPage'\nimport EventOptionEdit from \"../pages/eventEdit/EventOptionEdit\";\nimport EventInfoEdit from \"../pages/eventEdit/EventInfoEdit\";\nimport EmailEdit from \"../pages/eventEdit/EmailEdit\";\nimport SocialMediaEdit from \"../pages/eventEdit/SocialMediaEdit\";\nimport TextSmsEdit from \"../pages/eventEdit/TextSmsEdit\";\nimport MicroSiteEdit from \"../pages/eventEdit/MicroSiteEdit\";\nimport Analytic from \"../pages/events/EventAnalytic/Analytic\";\nimport ViewPhotos from \"../pages/events/ViewPhoto/ViewPhotos\";\nimport View from '../pages/events/ViewPhoto/View'\nimport FullScreenView from '../pages/events/ViewPhoto/FullScreenView'\nimport AnalyticPage from \"../pages/events/EventAnalytic/AnalyticPage\";\nimport EventFrame from \"../pages/events/createEvent/createEventChild/EventFrame\";\nimport ForgotPassword from \"../pages/auth/forgot/ForgotPassword\";\nimport ResetPassword from \"../pages/auth/forgot/ResetPassword\";\nimport ResendEmail from \"../pages/auth/emailVerify/ResendEmail\";\nimport SocialGallery from \"../pages/Social Gallery/SocialGallery\";\nimport Error from \"../Error/Error\";\nimport DigitalProp from \"../pages/eventEdit/DigitalProp\";\nimport Frame from \"../pages/eventEdit/Frame\";\nimport PasswordChange from \"../pages/auth/passwordChange/PasswordChange\";\nimport Filters from \"../pages/eventEdit/Filters\";\nimport MicrositeDefault from \"../pages/PublicPage/Microsite/MicrositeDefault\";\nimport MicrositeDefaultView from \"../pages/PublicPage/Microsite/MicrositeDefault/view\";\nimport MicroSiteDefaultPassword from \"../pages/PublicPage/Microsite/MicrositeDefault/Password\";\nimport MicrositeOne from \"../pages/PublicPage/Microsite/MicrositeOne\";\nimport MicrositeOneView from \"../pages/PublicPage/Microsite/MicrositeOne/view\";\nimport MicrositeOnePassword from \"../pages/PublicPage/Microsite/MicrositeOne/Password\";\nimport MicrositeTwo from \"../pages/PublicPage/Microsite/MicrositeTwo\";\nimport MicrositeTwoView from \"../pages/PublicPage/Microsite/MicrositeTwo/View\";\nimport GalleryShareComponent from \"../pages/PublicPage/Microsite\"\nimport EventFeaturesEdit from \"../pages/eventEdit/EventFeaturesEdit\";\nimport InternalErrorPage from \"../Error/InternalErrorPage\";\nimport UnPaidRoute from \"./UnPaidRoute\";\nimport WaterMark from \"../pages/events/createEvent/createEventChild/WaterMark\";\nimport WaterMarkEdit from \"../pages/eventEdit/WaterMarkEdit\";\nimport MemberSettings from \"../pages/Settings/MemberSettings\";\nimport EditEmailTemplate from \"../pages/events/EditTemplate/EditEmailTemplate\";\nimport EditSocialShare from \"../pages/events/EditTemplate/EditSocialShare\";\nimport Gif from \"../pages/events/createEvent/createEventChild/Gif\";\nimport GifEdit from \"../pages/eventEdit/GifEdit\";\nimport BrustGif from \"../pages/events/createEvent/createEventChild/BrustGif\";\nimport BrustGifEdit from \"../pages/eventEdit/BrustGifEdit\";\nimport IncentiveOffer from \"../pages/events/createEvent/createEventChild/IncentiveOffer\";\nimport FormBuilderNew from \"../pages/FormBuilder/FormBuilderNew\";\nimport EventFormBuilder from \"../pages/events/createEvent/createEventChild/EventFormBuilder\";\nimport EventFormBuilderEdit from \"../pages/eventEdit/EventFormBuilderEdit\";\nimport IncentiveOfferEdit from \"../pages/eventEdit/IncentiveOfferEdit\";\nimport SlideShow from \"../pages/events/Slideshow\";\nimport EventDevice from \"../pages/events/createEvent/EventDevice\";\nimport Avail from \"../pages/PublicPage/offer/avail\";\nimport Profile from \"../pages/auth/profile\";\nimport SmsBilling from '../pages/SmsBilling'\nconst AllRoutes = () => {\n\n return (\n <>\n \n \n \n \n \n \n \n\n\n {/* Microsite template view */}\n {/* \n */}\n\n\n \n \n \n \n\n \n \n\n \n \n\n \n\n \n\n \n \n \n \n \n\n \n \n \n \n \n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n \n \n\n\n\n\n\n\n \n \n \n\n\n\n \n \n \n \n\n \n \n \n {/* social gallery template */}\n \n\n \n \n\n \n\n \n\n \n\n \n\n \n\n \n \n\n \n\n \n \n\n\n \n \n \n\n \n\n \n \n \n );\n};\nexport default AllRoutes;\n","import React from 'react'\nimport { BrowserRouter } from 'react-router-dom';\nimport AllRoutes from \"./routes/AllRoutes\";\n\nconst App = () => {\n return (\n \n \n \n );\n}\n\nexport default App;\n","const reportWebVitals = onPerfEntry => {\n if (onPerfEntry && onPerfEntry instanceof Function) {\n import('web-vitals').then(({ getCLS, getFID, getFCP, getLCP, getTTFB }) => {\n getCLS(onPerfEntry);\n getFID(onPerfEntry);\n getFCP(onPerfEntry);\n getLCP(onPerfEntry);\n getTTFB(onPerfEntry);\n });\n }\n};\n\nexport default reportWebVitals;\n","import {createSlice} from '@reduxjs/toolkit'\n\nconst initialState = {\n event_option:\"\"\n}\n\nconst eventEditSlice = createSlice({\n name:\"event-edit\",\n initialState,\n\n reducers:{\n eventEditOption:(state, {payload}) => {\n state.event_option = payload\n }\n }\n})\n\nexport const {\n eventEditOption\n} = eventEditSlice.actions\nexport default eventEditSlice.reducer","import {combineReducers} from '@reduxjs/toolkit'\nimport storage from 'redux-persist/lib/storage';\nimport { persistReducer } from 'redux-persist';\n\nimport liveEventReducer from '../pages/events/liveEvent/slice/liveEventSlice'\nimport upcomingEventReducer from '../pages/events/upcomingEvent/slice/upcomingEventSlice'\nimport pastEventReducer from '../pages/events/pastEvent/slice/pastEventSlice'\nimport createEventReducer from '../pages/events/createEvent/slice/createEventSlice'\nimport viewEventReducer from '../pages/events/viewEvent/slice/viewEventSlice'\nimport eventEditReducer from '../pages/eventEdit/slice/eventEditSlice'\nimport dashboardAnalyticsReducer from '../pages/Dashboard/slice/dashboardAnalytics'\n\n\nconst rootReducers = combineReducers({\n liveEvent:liveEventReducer,\n upcomingEvent:upcomingEventReducer,\n pastEvent:pastEventReducer,\n createEvent:createEventReducer,\n viewEvent:viewEventReducer,\n eventEdit:eventEditReducer,\n dashboardAnalytics:dashboardAnalyticsReducer,\n})\n\nconst persistConfig = {\n key: 'root',\n storage,\n blacklist: ['pastEvent', 'dashboardAnalytics']\n}\n\nexport const persistedReducer = persistReducer(persistConfig, rootReducers);","import { configureStore, getDefaultMiddleware } from '@reduxjs/toolkit'\nimport { persistedReducer } from './rootReducers'\n\nconst store = configureStore({\n reducer:persistedReducer,\n middleware: getDefaultMiddleware({\n serializableCheck: false,\n check: function(){\n console.log(\"Hello world\")\n }\n }),\n devTools: true,\n})\n\nexport default store\n\n\n// https://edvins.io/how-to-use-redux-persist-with-redux-toolkit","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport App from './App';\nimport reportWebVitals from './reportWebVitals';\nimport './assets/sass/main.scss'\nimport 'react-toastify/dist/ReactToastify.css';\nimport { PersistGate } from 'redux-persist/integration/react';\nimport { persistStore } from 'redux-persist';\nimport { Provider } from \"react-redux\";\nimport store from \"./redux/index\";\nlet persister = persistStore(store);\n\nReactDOM.hydrate(\n \n \n \n \n \n \n ,\n document.getElementById('root')\n);\n\n\nreportWebVitals();\n"],"sourceRoot":""}