"use strict";(globalThis.webpackChunkwp_event_solution=globalThis.webpackChunkwp_event_solution||[]).push([[658],{73296(e,t,n){n.d(t,{A:()=>v});var l=n(951609),a=n(986087),i=n(892911),r=n(760742),o=n(779888),s=n(790070),c=n(645708),m=n.n(c),d=n(173051),u=n(848842),_=n(406836),p=n(769815);const v=function(e){const{keyName:t,tooltip:n,label:c,initialValue:v,form:g,sx:h,emailPreset:E=["{%site_name%}","{%site_link%}","{%event_title%}","{%customer_name%}","{%customer_email%}","{%event_date%}","{%event_time%}","{%event_location%}"]}=e||{},f=(0,a.useRef)(),[b,y]=(0,a.useState)(""),A=({target:e})=>{const t=f.current.getEditor(),{index:n}=f?.current?.unprivilegedEditor.getSelection(!0);t?.insertText(n,e.value)},x=e=>{const{url:t}=e,n=f.current.getEditor();n.insertEmbed(n.getSelection().index,"image",t),n.setSelection(n.getSelection().index+1)},k=(0,a.useCallback)(()=>{(0,_.handleWpUploader)(x)},[]);(0,a.useEffect)(()=>{g.setFieldValue(t,v)},[]);const w=p.default.div`
		input {
			max-width: 180px;
			background-color: #f6f8f9;
			border-radius: 6px;
			padding: 5px;
			color: #6b7280;
			text-align: center;
			cursor: pointer;
			&:hover {
				background-color: #f6f8f9;
			}
		}
	`,S={toolbar:{container:[[{header:[1,2,3,4,5,!1]},{font:[]}],["bold","italic","underline","strike","blockquote"],[{list:"ordered"},{list:"bullet"},{indent:"-1"},{indent:"+1"}],["link","image"],["code-block"],[{color:[]},{background:[]}],["clean"]],handlers:{image:k}}};return(0,l.createElement)("div",{style:{borderRadius:"6px",backgroundColor:"white",padding:"15px"}},(0,l.createElement)(i.A,{alignItems:"center",style:{marginBottom:"20px"}},(0,l.createElement)(u.A,{style:{fontSize:"16px",color:"#414454",fontWeight:600}},c),n&&(0,l.createElement)(d.A,{title:n})),(0,l.createElement)(r.A.Item,{name:t},(0,l.createElement)(m(),{theme:"snow",modules:S,formats:["header","bold","italic","underline","strike","blockquote","list","bullet","indent","link","image","code-block","color","background"],value:b,onChange:e=>{y(e)},ref:f,style:{height:"300px",marginBottom:"65px",...h}})),(0,l.createElement)(s.A,{wrap:!0},E?.map((e,t)=>(0,l.createElement)(w,null,(0,l.createElement)(o.A,{readOnly:!0,key:t,value:e,onClick:A})))))}},361517(e,t,n){n.d(t,{A:()=>c});var l=n(951609),a=n(173051),i=n(892911),r=n(790070),o=n(167313);const{Text:s}=o.A;function c(e){const{title:t,description:n,tooltip:o}=e;return(0,l.createElement)(r.A,{direction:"vertical",size:0,style:{marginRight:"8px"}},(0,l.createElement)(i.A,{alignItems:"center"},(0,l.createElement)(s,{style:{fontSize:"16px",color:"#414454",fontWeight:600}},t),o&&(0,l.createElement)(a.A,{title:o})),(0,l.createElement)(s,{style:{fontSize:"14px",color:"#6B7280",fontWeight:400}},n))}},104936(e,t,n){n.d(t,{A:()=>m});var l=n(951609),a=n(62567),i=n(760742),r=n(43960),o=n(607638),s=n(361517),c=n(881810);function m(e){const{title:t,description:n,pro:m,form:d,keyName:u,tooltip:_,children:p,sx:v}=e,g=i.A.useWatch(u,{form:d,preserve:!0}),h=!!window.localized_data_obj.evnetin_pro_active,E=m&&!h,f=()=>{d.setFieldsValue({[u]:!g})},b=[{key:"1",label:(0,l.createElement)(s.A,{title:t,description:n,tooltip:_}),children:(0,l.createElement)(c.UH,null,p),showArrow:!1,extra:E?(0,l.createElement)(o.Jj,null):(0,l.createElement)(r.A,{onChange:f,checked:g})}];return(0,l.createElement)(a.A,{activeKey:E?[]:g?["1"]:[],items:b,onChange:f,style:v,collapsible:E?"disabled":"header"})}},664848(e,t,n){n.d(t,{A:()=>s});var l=n(951609),a=n(167313),i=n(881810);const{Title:r,Text:o}=a.A;function s(e){const{title:t,description:n,children:a}=e;return(0,l.createElement)(i.LK,null,(0,l.createElement)("div",{style:{marginBottom:"20px"}},(0,l.createElement)(r,{level:3,style:{fontSize:"18px",fontWeight:600,marginTop:"0px",color:"#101828"}},t),n&&(0,l.createElement)(o,{style:{fontSize:"14px",color:"#6B7280",fontWeight:400,marginBottom:"20px"}},n)),a)}},173051(e,t,n){n.d(t,{A:()=>r});var l=n(951609),a=n(354725),i=n(832099);function r(e){const{title:t,...n}=e;return(0,l.createElement)(i.A,{title:t,...n},(0,l.createElement)("span",null,"   ",(0,l.createElement)(a.InfoCircleFilled,{width:16,height:16,fill:"#747474"})))}},594733(e,t,n){n.d(t,{A:()=>_});var l=n(951609),a=n(16370),i=n(747152),r=n(790070),o=n(832099),s=n(354725),c=n(607638),m=n(848842),d=n(881810),u=n(110012);const _=e=>{const{title:t,description:n,form:_,keyName:p,sx:v,tooltipText:g,pro:h,type:E,placeholder:f}=e,b=h&&!window.localized_data_obj.evnetin_pro_active;return(0,l.createElement)(d.VV,{style:v},(0,l.createElement)(i.A,{gutter:[16,16],style:{alignItems:"center"}},(0,l.createElement)(a.A,{sm:24,md:16},(0,l.createElement)(r.A,{direction:"vertical",size:0},(0,l.createElement)(m.A,{sx:{color:"#334155",fontWeight:600,display:"flex",alignItems:"center",gap:"8px"}},t,b&&(0,l.createElement)(c.Jj,null),g&&(0,l.createElement)(o.A,{title:g},(0,l.createElement)("span",null,(0,l.createElement)(s.InfoCircleFilled,{width:15,height:15,fill:"#747474"})))),(0,l.createElement)(m.A,{sx:{fontSize:"14px",color:"#747474"}},n))),(0,l.createElement)(a.A,{sm:24,md:8,style:{width:"100%",height:"40px"}},(0,l.createElement)(u.ks,{name:p,placeholder:f,type:E,disabled:b}))))}},962929(e,t,n){n.d(t,{A:()=>p});var l=n(951609),a=n(16370),i=n(760742),r=n(747152),o=n(790070),s=n(832099),c=n(354725),m=n(607638),d=n(848842),u=n(881810),_=(n(110012),n(75093));const p=e=>{const{title:t,description:n,form:p,keyName:v,sx:g,tooltipText:h,pro:E,type:f,placeholder:b,initialValue:y="",rules:A=[],min:x=0}=e||{},k=E&&!window.localized_data_obj.evnetin_pro_active;return(0,l.createElement)(u.VV,{style:g},(0,l.createElement)(r.A,{gutter:[16,16],style:{alignItems:"center"}},(0,l.createElement)(a.A,{sm:24,md:16},(0,l.createElement)(o.A,{direction:"vertical",size:0},(0,l.createElement)(d.A,{sx:{color:"#334155",fontWeight:600,display:"flex",alignItems:"center",gap:"8px"}},t,k&&(0,l.createElement)(m.Jj,null),h&&(0,l.createElement)(s.A,{title:h},(0,l.createElement)("span",null,(0,l.createElement)(c.InfoCircleFilled,{width:15,height:15,fill:"#747474"})))),(0,l.createElement)(d.A,{sx:{fontSize:"14px",color:"#747474"}},n))),(0,l.createElement)(a.A,{sm:24,md:8,style:{width:"100%",height:"40px"}},(0,l.createElement)(i.A.Item,{label:"",name:v,rules:A,initialValue:y},(0,l.createElement)(_.NumberInput,{placeholder:b,min:x||0,defaultValue:y,disabled:k})))))}},822977(e,t,n){n.d(t,{A:()=>p});var l=n(951609),a=n(16370),i=n(760742),r=n(747152),o=n(236492),s=n(790070),c=n(832099),m=n(354725),d=n(607638),u=n(848842),_=n(881810);const p=e=>{const{title:t,description:n,form:p,keyName:v,sx:g,tooltipText:h,pro:E,options:f,multiple:b=!1,placeholder:y,rules:A=[]}=e,x=E&&!window.localized_data_obj.evnetin_pro_active;return(0,l.createElement)(_.VV,null,(0,l.createElement)(r.A,{gutter:[16,16],style:{alignItems:"center"}},(0,l.createElement)(a.A,{sm:24,md:16},(0,l.createElement)(s.A,{direction:"vertical",size:0},(0,l.createElement)(u.A,{sx:{color:"#334155",fontWeight:600,display:"flex",alignItems:"center",gap:"8px"}},t,x&&(0,l.createElement)(d.Jj,null),h&&(0,l.createElement)(c.A,{title:h},(0,l.createElement)("span",null,(0,l.createElement)(m.InfoCircleFilled,{width:15,height:15,fill:"#747474"})))),(0,l.createElement)(u.A,{sx:{fontSize:"14px",color:"#747474"}},n))),(0,l.createElement)(a.A,{sm:24,md:8,style:{width:"100%",minHeight:"40px"}},(0,l.createElement)(i.A.Item,{name:v,rules:A,style:{width:"100%"}},(0,l.createElement)(o.A,{options:f,mode:b?"multiple":"default",placeholder:y,disabled:x,style:{minHeight:"40px",width:"100%"}})))))}},100487(e,t,n){n.d(t,{A:()=>E});var l=n(951609),a=n(173051),i=n(769815),r=n(16370),o=n(760742),s=n(451643),c=n(747152),m=n(999506);const d=i.default.div`
	border: 1px solid #e6e6f0;
	border-radius: 8px;
	padding: 8px 16px;
	margin-bottom: 16px;
	background-color: white;
`,u=i.default.h3`
	font-size: 14px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: #334155;
	height: 20px;
`,_=(0,i.default)(s.Ay.Group)`
	width: 100%;
`,p=i.default.div`
	background-color: #ffffff;
	border: 1px solid #e8e8e8;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	height: 100%;
	cursor: pointer;
`,v=i.default.div`
	margin-left: 12px;
`,g=i.default.div`
	font-size: 14px;
	font-weight: 600;
	color: #334155;
	margin-bottom: 4px;
`,h=i.default.div`
	font-size: 14px;
	color: #747474;
	font-weight: 400;
`,E=({form:e,title:t,tooltipText:n,options:i,name:E,pro:f=!1})=>{const b=!!window.localized_data_obj.evnetin_pro_active,y=f&&!b;return(0,l.createElement)(d,null,(0,l.createElement)(u,null,t,n&&(0,l.createElement)(a.A,{title:n})),y?(0,l.createElement)(m.A,null):(0,l.createElement)(o.A.Item,{name:E,initialValue:i?.[0]?.value},(0,l.createElement)(_,{direction:"horizontal"},(0,l.createElement)(c.A,{gutter:[16,16]},i?.map((t,n)=>(0,l.createElement)(r.A,{sm:24,md:12,key:n},(0,l.createElement)(p,{onClick:()=>e.setFieldsValue({[E]:t.value})},(0,l.createElement)(s.Ay,{value:t.value}),(0,l.createElement)(v,null,(0,l.createElement)(g,null,t.label),(0,l.createElement)(h,null,t.description)))))))))}},251429(e,t,n){n.d(t,{A:()=>p});var l=n(951609),a=n(769815),i=n(62567),r=n(760742),o=n(790070),s=n(43960),c=n(832099),m=n(354725),d=n(607638),u=n(848842);const _=(0,a.default)(i.A)`
	.ant-collapse-content {
		display: none;
	}

	border: 1px solid #e6e6f0;
	border-radius: 6px;
	.ant-collapse-item {
		border-bottom: 1px solid transparent !important;
	}
	.ant-collapse-extra {
		margin-left: 10px;
	}
`,p=e=>{const{title:t,description:n,form:a,keyName:i,sx:p,tooltipText:v,pro:g}=e,h="on"===r.A.useWatch(i,{form:a,preserve:!0}),E=!!window.localized_data_obj.evnetin_pro_active,f=g&&!E,b=e=>{"boolean"==typeof e?a.setFieldsValue({[i]:e?"on":null}):a.setFieldsValue({[i]:Boolean(e?.length)?"on":null})},y=[{key:"1",label:(0,l.createElement)(o.A,{direction:"vertical",size:0},(0,l.createElement)(u.A,{sx:{color:"#334155",fontWeight:600,display:"flex",alignItems:"center"}},t,v&&(0,l.createElement)(c.A,{title:v},(0,l.createElement)("span",null,"   ",(0,l.createElement)(m.InfoCircleFilled,{width:15,height:15,fill:"#747474"})))),(0,l.createElement)(u.A,{sx:{fontSize:"14px",color:"#747474"}},n)),showArrow:!1,extra:f?(0,l.createElement)(d.Jj,null):(0,l.createElement)(r.A.Item,{name:i,valuePropName:"checked"},(0,l.createElement)(s.A,{onChange:b}))}];return(0,l.createElement)(_,{activeKey:h&&["1"],items:y,onChange:b,style:p,collapsible:f?"disabled":"header"})}},881810(e,t,n){n.d(t,{LK:()=>r,UH:()=>a,VV:()=>i});var l=n(769815);const a=l.default.div`
	background-color: '#F6F8F9';
	padding: '10px';
	@media ( max-width: 768px ) {
		padding: 10px 0px;
	}
`,i=l.default.div`
	background-color: #ffffff;
	border: 1px solid #e6e6f0;
	border-radius: 6px;
	margin: 10px 0;
	padding: 20px;
`,r=l.default.div`
	max-width: 780px;
	background-color: #f6f8f9;
	border-radius: 12px;
	padding: 24px 20px;
	.etn-settings-form {
		border: 1px solid #e6e6f0;
		border-radius: 6px;
		background-color: #ffffff;
		padding: 16px;

		.ant-form-item {
			margin-bottom: 10px;
		}
	}
	.etn-settings-inner-content {
		background-color: #ffffff;
		padding: 20px;
		border-radius: 8px;
	}
`},785982(e,t,n){n.d(t,{A:()=>p});var l=n(951609),a=n(769815),i=n(62567),r=n(760742),o=n(790070),s=n(43960),c=n(832099),m=n(354725),d=n(607638),u=n(848842);const _=(0,a.default)(i.A)`
	.ant-collapse-content {
		display: none;
	}

	border: 1px solid #e6e6f0;
	border-radius: 6px;
	.ant-collapse-item {
		border-bottom: 1px solid transparent !important;
	}
	.ant-collapse-extra {
		margin-left: 10px;
	}
`,p=e=>{const{title:t,description:n,form:a,keyName:i,sx:p,tooltipText:v,pro:g}=e,h=!0===r.A.useWatch(i,{form:a,preserve:!0}),E=!!window.localized_data_obj.evnetin_pro_active,f=g&&!E,b=e=>{"boolean"==typeof e?a.setFieldsValue({[i]:!!e||null}):a.setFieldsValue({[i]:!!Boolean(e?.length)||null})},y=[{key:"1",label:(0,l.createElement)(o.A,{direction:"vertical",size:0},(0,l.createElement)(u.A,{sx:{color:"#334155",fontWeight:600,display:"flex",alignItems:"center"}},t,v&&(0,l.createElement)(c.A,{title:v},(0,l.createElement)("span",null,"   ",(0,l.createElement)(m.InfoCircleFilled,{width:15,height:15,fill:"#747474"})))),(0,l.createElement)(u.A,{sx:{fontSize:"14px",color:"#747474"}},n)),showArrow:!1,extra:f?(0,l.createElement)(d.Jj,null):(0,l.createElement)(r.A.Item,{name:i,valuePropName:"checked"},(0,l.createElement)(s.A,{onChange:b}))}];return(0,l.createElement)(_,{activeKey:h&&["1"],items:y,onChange:b,style:p,collapsible:f?"disabled":"header"})}},60992(e,t,n){n.d(t,{A:()=>h});var l=n(951609),a=n(152619),i=n(527723),r=n(929491),o=n(547143),s=n(986087),c=n(313313),m=n(764016),d=n(864282),u=n(760742),_=n(675063),p=n(247767),v=n(219085);const g=(0,o.withDispatch)(e=>{const t=e("eventin/global");return{invalidateSettings:()=>t.invalidateResolution("getSettings")}}),h=(0,r.compose)(g)(function(e){const{invalidateSettings:t}=e,[n,r]=(0,s.useState)(!1),{form:o,isLoading:g,settings:h}=(0,c.EF)(),{setSaveButtonLoading:E}=(0,c.w6)();return(0,s.useEffect)(()=>{n&&(t(),r(!1))},[n]),g&&!h?(0,l.createElement)(_.A,{active:!0}):(0,l.createElement)(u.A,{form:o,name:"settings-form",layout:"vertical",autoComplete:"on",scrollToFirstError:!0,onFinishFailed:e=>{e.errorFields.length>0&&scrollToField(e.errorFields[0].name[0])},onFinish:async()=>{const e={...o.getFieldsValue(!0)};delete e?.webhook_list;const t=(0,v.A)(e);E(!0);try{await d.A.settings.updateSettings(t),r(!0),(0,a.doAction)("eventin_notification",{type:"success",message:(0,i.__)("Successfully updated settings!","eventin")})}catch(e){console.error("Error saving settings!"),console.error(e),(0,a.doAction)("eventin_notification",{type:"error",message:(0,i.__)("Couldn't save settings!","eventin")})}finally{E(!1)}}},(0,l.createElement)("div",null,(0,l.createElement)(m.A,null),(0,l.createElement)(p.Outlet,null)))})},360200(e,t,n){n.d(t,{A:()=>d});var l=n(951609),a=n(929491),i=n(547143),r=n(675063),o=n(313313),s=n(60992),c=n(761953);const m=(0,i.withSelect)(e=>{const t=e("eventin/global");return{userPermissions:t.getUserPermissions(),isUserPermissionListLoading:t.isResolving("getUserPermissions")}}),d=(0,a.compose)(m)(function(e){const{isUserPermissionListLoading:t}=e;return t?(0,l.createElement)(r.A,{active:!0}):(0,l.createElement)(c.wn,null,(0,l.createElement)(o.Ay,null,(0,l.createElement)(s.A,null)))})},764016(e,t,n){n.d(t,{A:()=>_});var l=n(951609),a=n(527723),i=n(340372),r=n(247767),o=n(607638),s=n(354725),c=n(313313),m=n(639435),d=n(761953);const{useBreakpoint:u}=i.Ay;function _(){const{saveButtonLoading:e}=(0,c.EF)(),t=(0,r.useLocation)().pathname?.split("/")[2],n=(0,r.useNavigate)(),i=m.f.map(e=>({key:e.slug,icon:e.icon,label:e.label,onClick:()=>n(e.slug)})),_=!u().sm;return(0,l.createElement)(d.xn,null,(0,l.createElement)(d.jl,{mode:"horizontal",selectedKeys:[t],items:i,overflowedIndicator:_?(0,l.createElement)(s.HamburgerIcon,null):(0,l.createElement)(s.MoreIconOutlined,null)}),(0,l.createElement)(o.Ay,{variant:o.zB,htmlType:"submit",loading:e},(0,a.__)("Save Changes","eventin")))}},219085(e,t,n){n.d(t,{A:()=>a});var l=n(406836);function a(e){const t={...e};t.attendee_registration=t.attendee_registration?"on":null,t.etn_zoom_api=t.etn_zoom_api?"on":null,t.etn_groundhogg_api=t.etn_groundhogg_api?"on":null,t.etn_googlemap_api=t.etn_googlemap_api?"on":null,t.etn_ai_api=t.etn_ai_api?"on":null,t.enable_purchase_email=t.enable_purchase_email?"on":"off",t.ticket_purchase_timer_enable="off"===t.ticket_purchase_timer_enable||"no"===t.ticket_purchase_timer_enable?t.ticket_purchase_timer_enable:t.ticket_purchase_timer_enable?"on":"off";const n="woocommerce"===t.payment_method?(0,l.getWCDefaultCurrencySettings)({etn_settings_country_currency:t.etn_settings_country_currency,currency_position:t.currency_position,decimal_separator:t.decimal_separator,decimals:t.decimals,currencySymbol:t.currency_symbol}):(0,l.getOtherDefaultCurrencySettings)({etn_settings_country_currency:t.etn_settings_country_currency,currency_position:t.currency_position,decimal_separator:t.decimal_separator,decimals:t.decimals,currencySymbol:t.currency_symbol});return{...t,...n}}},918028(e,t,n){n.d(t,{A:()=>p});var l=n(951609),a=n(929491),i=n(547143),r=n(340372),o=n(675063),s=n(247767),c=n(761953),m=n(31119),d=n(887878);const{useBreakpoint:u}=r.Ay,_=(0,i.withSelect)(e=>{const t=e("eventin/global");return{userPermissions:t.getUserPermissions(),isUserPermissionListLoading:t.isResolving("getUserPermissions")}}),p=(0,a.compose)(_)(function(e){const{menus:t,guidelinesLinks:n,userPermissions:a,isUserPermissionListLoading:i}=e,r=(0,s.useNavigate)(),_=(0,s.useLocation)().pathname.split("/").at(-1),p=!u().md,v=t.filter(e=>"manage-access"!==e.slug||a?.is_super_admin).map(e=>({label:e.label,key:e.slug,icon:e.icon,onClick:()=>r(e.slug)}));return i?(0,l.createElement)(o.A,{active:!0}):(0,l.createElement)("div",null,(0,l.createElement)(c.oe,null,v.map(e=>(0,l.createElement)(c.Dr,{key:e.key,onClick:e.onClick,active:_===e.key},e.icon&&React.cloneElement(e.icon),(0,l.createElement)("span",{className:"sidebar-menu-label"},e.label))),n?.length>0&&!p&&(0,l.createElement)(m.A,{links:n,supportUrl:d.yB})))})},761953(e,t,n){n.d(t,{Dr:()=>s,jl:()=>o,oe:()=>c,wn:()=>i,xn:()=>r});var l=n(769815),a=n(71431);const i=l.default.section`
	max-width: var( --etn-setting-content-width );
	margin: 0 auto;
`,r=(l.default.main`
	padding: 24px 16px;
	max-width: 732px;
	margin: 0 auto;
`,l.default.nav`
	position: sticky;
	top: 93px;
	z-index: 15;
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 0px 20px;
	background-color: #ffffff !important;
	border-bottom: 1px solid #e0e0e0;
	@media ( max-width: 768px ) {
		top: 103px;
		padding: '10px 20px';
	}
`),o=(0,l.default)(a.A)`
	border-bottom: none;
	width: 100% !important;
	.ant-menu-item {
		display: flex !important;
		align-items: center !important;
		font-size: 16px !important;
		font-weight: 400 !important;
		color: #334155;
		height: 70px;
	}
	@media ( max-width: 768px ) {
		width: 60px !important;
		margin-left: -20px;
	}
`,s=l.default.div`
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 16px;
	font-weight: 400;
	color: #334155;
	padding: 8px 16px;
	cursor: pointer;
	transition: all 0.3s ease;
	border-left: 2px solid transparent;

	@media ( max-width: 768px ) {
		padding: 8px 10px;
		border-left: 1px solid transparent;
	}

	${({active:e})=>e&&"\n\t\t\tcolor: #6b2ee5;\n\t\t\tborder-left: 2px solid #6b2ee5;\n\t\t\tbackground-color: #f5f3ff;\n\t\t"};

	&:hover {
		background-color: #f5f3ff;
		border-color: #6b2ee5;
	}

	&:hover span {
		color: #6b2ee5;
	}

	.sidebar-menu-label {
		font-size: 14px;
		${({active:e})=>e&&"\n\t\t\t\tcolor: #6b2ee5;\n\t\t\t"};

		@media ( max-width: 768px ) {
			display: none;
		}
	}
`,c=l.default.div`
	width: 250px;
	background-color: #ffffff;
	border-right: 1px solid #e0e0e0;
	position: sticky;
	top: 162px;
	min-height: calc( 100vh - 162px );
	display: flex;
	flex-direction: column;
	padding: 8px 6px;

	@media ( max-width: 768px ) {
		width: 50px !important;
		top: 160px;
		min-height: calc( 100vh - 160px );
		justify-content: flex-start;
		gap: 16px;
	}
`;(0,l.default)(a.A)`
	width: 100% !important;
	transition: none !important;
	padding-top: 30px;
	&.transitioning {
		opacity: 0;
	}

	.ant-menu-inline-collapsed {
		width: auto !important;
	}

	.ant-menu-item {
		border-left: 2px solid transparent;
		transition: none !important;
		animation: none !important;
	}

	.ant-menu-item-selected {
		border-left: 2px solid #6b2ee5;
		border-radius: 0px 6px 6px 0px;
		transition: none !important;
		animation: none !important;
	}

	/* Disable all Ant Design menu animations */
	* {
		transition: none !important;
		animation: none !important;
		animation-duration: 0s !important;
		animation-delay: 0s !important;
	}

	&&.ant-menu-inline-collapsed > .ant-menu-item,
	&&.ant-menu-inline-collapsed
		> .ant-menu-item-group
		> .ant-menu-item-group-list
		> .ant-menu-item,
	&&.ant-menu-inline-collapsed
		> .ant-menu-item-group
		> .ant-menu-item-group-list
		> .ant-menu-submenu
		> .ant-menu-submenu-title,
	&&.ant-menu-inline-collapsed > .ant-menu-submenu > .ant-menu-submenu-title {
		padding: 0 !important;
		text-overflow: clip;

		@media ( max-width: 768px ) {
			padding: 5px !important;
		}
	}
`},989191(e,t,n){n.d(t,{A:()=>s});var l=n(951609),a=n(918028),i=n(589348),r=n(247767),o=n(887878);function s(e){const{menus:t}=e;return(0,l.createElement)(i.VV,null,(0,l.createElement)(a.A,{menus:t,guidelinesLinks:o.eG}),(0,l.createElement)(r.Outlet,null))}},168484(e,t,n){n.d(t,{A:()=>_});var l=n(951609),a=n(929491),i=n(547143),r=n(527723),o=n(152619),s=n(664848),c=n(589348),m=n(75093);const d=!!window.localized_data_obj.evnetin_pro_active,u=(0,i.withSelect)(e=>{const t=e("eventin/global");return{userPermissions:t.getUserPermissions(),isUserPermissionListLoading:t.isResolving("getUserPermissions")}}),_=(0,a.compose)(u)(function(e){const{userPermissions:t}=e;return t?.is_super_admin?(0,l.createElement)(c.LK,null,(0,l.createElement)(s.A,{title:(0,r.__)("Manage Access","eventin")},(0,l.createElement)(c.zn,null,!d&&(0,l.createElement)(m.ProNoticePlaceholderComponent,null),(0,o.applyFilters)("control_access","")))):null})},668482(e,t,n){n.d(t,{A:()=>h});var l=n(951609),a=n(527723),i=n(16370),r=n(760742),o=n(747152),s=n(354725),c=n(607638),m=n(104936),d=n(664848),u=n(848842),_=n(110012),p=n(313313),v=n(768940),g=n(589348);function h(){const{form:e}=(0,p.EF)();return(0,l.createElement)(g.LK,null,(0,l.createElement)(d.A,{title:(0,a.__)("Domain Registration","eventin"),description:(0,a.__)("Allow event scenarios to be displayed on registered websites.","eventin")},(0,l.createElement)(g.zn,null,(0,l.createElement)(m.A,{title:(0,a.__)("Cross Website Event Display ","eventin"),description:(0,l.createElement)("span",null,(0,a.__)("Allow the event details page cross over to another website using a shortcode.","eventin")," ",(0,l.createElement)("a",{href:"https://support.themewinter.com/docs/plugins/plugin-docs/general-settings-eventin/embeddable-script/?utm_source=doc&utm_medium=eventin&utm_campaign=eventin+documentations",target:"_blank"},(0,a.__)("Read Documentation","eventin"))),pro:!0,form:e,keyName:"enable_domain_registration",sx:{margin:"10px 0"}},(0,l.createElement)(r.A.List,{name:"external_domain",initialValue:[]},(e,{add:t,remove:n},{errors:m})=>(0,l.createElement)(l.Fragment,null,e?.length<1&&(0,l.createElement)(u.A,{sx:{display:"block",marginBottom:"8px"}},(0,a.__)("No domain added yet!","eventin")),e.map(e=>(0,l.createElement)(o.A,{key:e.key,gutter:10,align:"middle"},(0,l.createElement)(i.A,{span:21},(0,l.createElement)(r.A.Item,{name:[e.name],label:(0,a.__)("Register Website URL","eventin")},(0,l.createElement)(_.ks,{placeholder:(0,a.__)("Enter external domain","eventin")}))),(0,l.createElement)(i.A,{span:3},(0,l.createElement)(c.Ay,{variant:c.Vt,icon:(0,l.createElement)(s.DeleteOutlined,null),onClick:()=>n(e.name)})))),(0,l.createElement)(c.Ay,{variant:c.Rm,onClick:()=>t(),icon:(0,l.createElement)(v.A,{width:16,height:16}),size:"middle",sx:{width:"100%",fontSize:"14px",fontWeight:500,height:"36px"}},(0,a.__)("Add Domain","eventin"))))))))}},128256(e,t,n){n.d(t,{A:()=>_});var l=n(951609),a=n(527723),i=n(16370),r=n(760742),o=n(779888),s=n(747152),c=n(607638),m=n(34932),d=n(664848),u=n(589348);function _(){const e=window.localized_data_obj?.admin_url+"/options-general.php#timezone_string",t=`${window.localized_data_obj?.date_format} ( ${window.localized_data_obj?.date_format_string})`,n=`${window.localized_data_obj?.time_format} ( ${window.localized_data_obj?.time_format_string})`;return(0,l.createElement)(u.LK,null,(0,l.createElement)(d.A,{title:(0,a.__)("General Settings","eventin")},(0,l.createElement)(u.zn,null,(0,l.createElement)(u.mc,null,(0,l.createElement)(s.A,{gutter:16},(0,l.createElement)(i.A,{span:24},(0,l.createElement)(r.A.Item,{label:(0,a.__)("Date Format","eventin")},(0,l.createElement)(o.A,{id:"eventin-date-format",defaultValue:t,disabled:!0,readOnly:!0,suffix:(0,l.createElement)(c.Ay,{variant:c.Vt,size:"default",sx:{height:"36px",padding:"5px 15px"},onClick:()=>window.open(e,"_blank")},(0,a.__)("Change","eventin"))}))),(0,l.createElement)(i.A,{span:24},(0,l.createElement)(r.A.Item,{label:(0,a.__)("Time Format","eventin")},(0,l.createElement)(o.A,{id:"eventin-time-format",defaultValue:n,disabled:!0,readOnly:!0,suffix:(0,l.createElement)(c.Ay,{variant:c.Vt,size:"default",sx:{height:"36px",padding:"5px 15px"},onClick:()=>window.open(e,"_blank")},(0,a.__)("Change","eventin"))}))))),(0,l.createElement)(u.mc,{style:{marginTop:"20px",marginBottom:"0"}},(0,l.createElement)(s.A,{gutter:16},(0,l.createElement)(i.A,{md:12,span:24},(0,l.createElement)(r.A.Item,{label:(0,a.__)("Primary Color","eventin"),getValueFromEvent:e=>"#"+e.toHex(),name:"etn_primary_color"},(0,l.createElement)(m.A,{sx:{width:"100%",justifyContent:"flex-start"}}))),(0,l.createElement)(i.A,{md:12,span:24},(0,l.createElement)(r.A.Item,{label:(0,a.__)("Secondary Color","eventin"),getValueFromEvent:e=>"#"+e.toHex(),name:"etn_secondary_color"},(0,l.createElement)(m.A,{sx:{width:"100%",justifyContent:"flex-start"}}))))))))}},860867(e,t,n){n.d(t,{A:()=>p});var l=n(951609),a=n(527723),i=n(16370),r=n(760742),o=n(747152),s=n(167313),c=n(313313),m=n(664848),d=n(110012),u=n(589348),_=n(769815);function p(){const{form:e}=(0,c.EF)(),t=window.localized_data_obj?.admin_url+"options-permalink.php",n=r.A.useWatch("event_slug",{form:e,preserve:!0}),p=r.A.useWatch("speaker_slug",{form:e,preserve:!0}),v=_.default.p`
		font-size: 14px;
		color: #6b7280;
		line-height: 14.4px;
		margin-top: 10px;
		font-weight: 400;
		overflow-wrap: break-word;
		span {
			color: #020617;
		}
	`;return(0,l.createElement)(u.LK,null,(0,l.createElement)(m.A,{title:(0,a.__)("Slug Settings","eventin")},(0,l.createElement)(s.A.Paragraph,{style:{fontSize:"14px",color:"#6B7280",fontWeight:400,marginBottom:"20px"}},(0,a.__)("A flash is required for the Permalink setting if the slug name changes.","eventin"),(0,l.createElement)("a",{href:t,target:"_blank"}," ",(0,a.__)("Click here","eventin"))),(0,l.createElement)(u.zn,null,(0,l.createElement)(u.mc,{style:{marginBottom:"0"}},(0,l.createElement)(o.A,{gutter:10},(0,l.createElement)(i.A,{md:12,span:24},(0,l.createElement)(r.A.Item,{label:(0,a.__)("Event Slug Name","eventin"),name:"event_slug"},(0,l.createElement)(d.ks,{size:"large",placeholder:(0,a.__)("Enter event slug","eventin")})),n?(0,l.createElement)(v,null,(0,a.__)("Example: http://eventin.com/","eventin"),(0,l.createElement)("span",null,n)):(0,l.createElement)(v,null,(0,a.__)("Example: http://eventin.com/","eventin"),(0,l.createElement)("span",null,(0,a.__)("etn","eventin")))),(0,l.createElement)(i.A,{md:12,span:24},(0,l.createElement)(r.A.Item,{label:(0,a.__)("Speaker Slug Name","eventin"),name:"speaker_slug"},(0,l.createElement)(d.ks,{size:"large",placeholder:(0,a.__)("Enter speaker slug ","eventin")})),p?(0,l.createElement)(v,null,(0,a.__)("Example: http://eventin.com/","eventin"),(0,l.createElement)("span",null,p)):(0,l.createElement)(v,null,(0,a.__)("Example: http://eventin.com/","eventin"),(0,l.createElement)("span",null,(0,a.__)("author","eventin")))))))))}},771431(e,t,n){n.d(t,{A:()=>y});var l=n(951609),a=n(986087),i=n(527723),r=n(152619),o=n(769815),s=n(16370),c=n(62567),m=n(892911),d=n(760742),u=n(779888),_=n(747152),p=n(236492),v=n(354725),g=n(607638),h=n(110012),E=n(80734),f=n(864282);const b=(0,o.default)(c.A)`
	.ant-collapse-content-box {
		background-color: #ffffff;
	}
`;function y(e){const{field:t,remove:n,form:o}=e,[c,y]=(0,a.useState)(!1),{name:x,id:k}=d.A.useWatch(["webhook_list",t.name],{form:o,preserve:!0})||{},w=!!k,S=async()=>{const e=o.getFieldValue(["webhook_list",t.name]);try{e?.id&&(await f.A.webhooks.deleteWebhook(e.id),n(t.name),(0,r.doAction)("eventin_notification",{type:"success",message:(0,i.__)("Successfully deleted the webhook!","eventin")}))}catch(e){console.log(e),(0,r.doAction)("eventin_notification",{type:"error",message:(0,i.__)("Couldn't delete the webhook!","eventin"),description:e?.message||null})}},C=[{key:1,label:x||(0,i.__)("New Webhook","eventin"),children:(0,l.createElement)(_.A,{gutter:[20,0]},(0,l.createElement)(s.A,{xs:24},(0,l.createElement)(d.A.Item,{name:[t.name,"name"],label:(0,i.__)("Webhook Name","eventin")},(0,l.createElement)(h.ks,{placeholder:(0,i.__)("Enter Webhook Name","eventin")}))),(0,l.createElement)(s.A,{md:12,xs:24},(0,l.createElement)(d.A.Item,{name:[t.name,"status"],label:(0,i.__)("Status","eventin")},(0,l.createElement)(p.A,{placeholder:(0,i.__)("Select Webhook status","eventin"),size:"large",options:[{value:"active",label:(0,i.__)("Active","eventin")},{value:"pending",label:(0,i.__)("Pending","eventin")},{value:"disabled",label:(0,i.__)("Disabled","eventin")}]}))),(0,l.createElement)(s.A,{md:12,xs:24},(0,l.createElement)(d.A.Item,{name:[t.name,"topic"],label:(0,i.__)("Topic","eventin")},(0,l.createElement)(p.A,{placeholder:(0,i.__)("Select Webhook Topic","eventin"),options:A,showSearch:!0,size:"large"}))),(0,l.createElement)(s.A,{md:12,xs:24},(0,l.createElement)(d.A.Item,{name:[t.name,"delivery_url"],label:(0,i.__)("Delivery URL","eventin")},(0,l.createElement)(h.ks,{placeholder:(0,i.__)("Enter Delivery URL","eventin")}))),(0,l.createElement)(s.A,{md:12,xs:24},(0,l.createElement)(d.A.Item,{name:[t.name,"secrete"],label:(0,i.__)("Secret Key","eventin")},(0,l.createElement)(h.h5,{size:"large",placeholder:(0,i.__)("Enter Secret Key","eventin")}))),(0,l.createElement)(s.A,{xs:24},(0,l.createElement)(d.A.Item,{name:[t.name,"description"],label:(0,i.__)("Description","eventin")},(0,l.createElement)(u.A.TextArea,{rows:3}))),(0,l.createElement)(s.A,{xs:24},(0,l.createElement)(m.A,{gap:15,align:"middle",justify:"end"},(0,l.createElement)(g.Ay,{variant:g.Rm},(0,i.__)("Cancel","eventin")),(0,l.createElement)(g.Ay,{variant:g.zB,onClick:async()=>{const e=o.getFieldValue(["webhook_list",t.name]);y(!0);try{if(e?.id)await f.A.webhooks.updateWebhook(e.id,e),(0,r.doAction)("eventin_notification",{type:"success",message:(0,i.__)("Successfully updated webhook!","eventin")});else{const n=await f.A.webhooks.createWebhook(e);(0,r.doAction)("eventin_notification",{type:"success",message:(0,i.__)("Successfully created webhook!","eventin")}),o.setFieldValue(["webhook_list",t.name],n)}}catch(e){(0,r.doAction)("eventin_notification",{type:"error",message:(0,i.__)("Couldn't create webhook!","eventin"),description:e?.message||null})}finally{y(!1)}},loading:c},(0,i.__)(w?"Update":"Create","eventin"))))),extra:(0,l.createElement)(g.Ay,{variant:g.qy,icon:(0,l.createElement)(v.DeleteOutlined,null),onClick:()=>{(0,E.A)({title:(0,i.__)("Are you sure?","eventin"),content:(0,i.__)("Are you sure you want to delete this webhook?","eventin"),onOk:S})},size:"small"})}];return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(b,{expandIconPosition:"end",items:C,style:{margin:"10px 0px"},defaultActiveKey:0===t?.name&&["1"]}))}const A=[{value:"event.created",label:(0,i.__)("Event Create","eventin")},{value:"event.updated",label:(0,i.__)("Event Update","eventin")},{value:"event.deleted",label:(0,i.__)("Event Delete","eventin")},{value:"event.restored",label:(0,i.__)("Event Restore","eventin")},{value:"speaker.created",label:(0,i.__)("Speaker Create","eventin")},{value:"speaker.updated",label:(0,i.__)("Speaker Update","eventin")},{value:"speaker.deleted",label:(0,i.__)("Speaker Delete","eventin")},{value:"speaker.restored",label:(0,i.__)("Speaker Restore","eventin")},{value:"attendee.created",label:(0,i.__)("Attendee Create","eventin")},{value:"attendee.updated",label:(0,i.__)("Attendee Update","eventin")},{value:"attendee.deleted",label:(0,i.__)("Attendee Delete","eventin")},{value:"attendee.restored",label:(0,i.__)("Attendee Restore","eventin")},{value:"schedule.created",label:(0,i.__)("Schedule Create","eventin")},{value:"schedule.updated",label:(0,i.__)("Schedule Update","eventin")},{value:"schedule.deleted",label:(0,i.__)("Schedule Delete","eventin")},{value:"schedule.restored",label:(0,i.__)("Schedule Restore","eventin")},{value:"order.created",label:(0,i.__)("Booking Create","eventin")},{value:"order.updated",label:(0,i.__)("Booking Update","eventin")},{value:"order.deleted",label:(0,i.__)("Booking Delete","eventin")},{value:"order.restored",label:(0,i.__)("Booking Restore","eventin")}]},114404(e,t,n){n.d(t,{A:()=>f});var l=n(951609),a=n(929491),i=n(547143),r=n(986087),o=n(527723),s=n(760742),c=n(675063),m=n(607638),d=n(104936),u=n(664848),_=n(848842),p=n(313313),v=n(768940),g=n(589348),h=n(771431);const E=(0,i.withSelect)(e=>{const t=e("eventin/global");return{webhooks:t.getWebhookList(),isWebhooksLoading:t.isResolving("getWebhookList")}}),f=(0,a.compose)(E)(function(e){const{webhooks:t,isWebhooksLoading:n}=e,{form:a}=(0,p.EF)();return(0,r.useEffect)(()=>{a.setFieldValue("webhook_list",t)},[t]),(0,l.createElement)(g.LK,null,(0,l.createElement)(u.A,{title:(0,o.__)("Webhook Settings","eventin")},(0,l.createElement)(c.A,{loading:n},(0,l.createElement)(g.zn,null,(0,l.createElement)(d.A,{title:(0,o.__)("Enable Webhooks?","eventin"),description:(0,l.createElement)("span",null,(0,o.__)("Webhooks are used to receive small amounts of data from events and automate workflows.","eventin")," ",(0,l.createElement)("a",{href:"https://support.themewinter.com/docs/plugins/plugin-docs/event/webhook/?utm_source=doc&utm_medium=eventin&utm_campaign=eventin+documentations",target:"_blank"},(0,o.__)("Read Documentation","eventin"))),pro:!0,form:a,keyName:"enable_webhooks",sx:{margin:"10px 0"}},(0,l.createElement)(s.A.List,{name:"webhook_list",initialValue:[]},(e,{add:t,remove:n},{errors:i})=>(0,l.createElement)(l.Fragment,null,e?.length<1&&(0,l.createElement)(_.A,{sx:{display:"block",marginBottom:"8px"}},(0,o.__)("No webhook topic added yet!","eventin")),e.map(e=>(0,l.createElement)(h.A,{key:e.key,field:e,remove:n,form:a})),(0,l.createElement)(m.Ay,{variant:m.Rm,onClick:()=>t(),icon:(0,l.createElement)(v.A,{width:16,height:16}),size:"middle",sx:{width:"100%",fontSize:"14px",fontWeight:500,height:"36px"}},(0,o.__)("Add Webhook","eventin")))))))))})},31119(e,t,n){n.d(t,{A:()=>d});var l=n(951609),a=n(527723),i=n(769815);const r=i.default.div`
	background-color: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 16px;
	width: 100%;
	margin-top: 20px;
`,o=i.default.h4`
	font-size: 13px;
	font-weight: 600;
	color: #202223;
	margin: 0 0 12px 0;
`,s=i.default.div`
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-bottom: 14px;
`,c=i.default.a`
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 13px;
	font-weight: 400;
	color: #202223;
	text-decoration: none;
	transition: color 0.15s ease;
	background:#F2F2F2;
	padding: 4px 8px;
	width: fit-content;
	border-radius: 20px;
	&::before {
		content: '';
		display: inline-block;
		width: 7px;
		height: 7px;
		border-radius: 50%;
		background-color: #9ea3ae;
		flex-shrink: 0;
	}

	&:hover {
		color: #4a3bd6;
	}
`,m=i.default.p`
	font-size: 13px;
	color: #6d7175;
	margin: 0;

	a {
		color: #4a3bd6;
		text-decoration: none;
		font-weight: 500;

		&:hover {
			text-decoration: underline;
		}
	}
`,d=({links:e=[],supportUrl:t})=>(0,l.createElement)(r,null,(0,l.createElement)(o,null,(0,a.__)("Guidelines & Resources","eventin")),e.length>0&&(0,l.createElement)(s,null,e.map((e,t)=>(0,l.createElement)(c,{key:t,href:e.url,target:"_blank",rel:"noopener noreferrer"},e.label))),(0,l.createElement)(m,null,(0,a.__)("Need assistance?","eventin")," ",(0,l.createElement)("a",{href:t,target:"_blank",rel:"noopener noreferrer"},(0,a.__)("Contact Support.","eventin"))))},70561(e,t,n){n.d(t,{A:()=>s});var l=n(951609),a=n(918028),i=n(589348),r=n(247767),o=n(887878);function s(e){const{menus:t}=e;return(0,l.createElement)(i.VV,null,(0,l.createElement)(a.A,{menus:t,guidelinesLinks:o.FQ}),(0,l.createElement)(r.Outlet,null))}},26536(e,t,n){n.d(t,{o:()=>s});var l=n(951609),a=(n(929491),n(547143),n(527723)),i=n(75093),r=n(769815),o=n(313313);function s(){const{settings:e}=(0,o.EF)();if("on"!==e?.modules?.automation)return null;const t=r.default.div`
		max-width: 780px;
		border-radius: 12px;
		margin-bottom: 25px;
	`;return(0,l.createElement)(t,null,(0,l.createElement)(i.AlertNotice,{title:(0,a.__)("Automation Modules are Currently Enabled","eventin"),description:(0,a.__)("You can manage emails using the Automation modules. Go to the Automation tab to get started.","eventin"),buttonText:(0,a.__)("Go to Automation","eventin"),redirectUrl:`${window.localized_data_obj.site_url}/wp-admin/admin.php?page=eventin#/automation`}))}},562027(e,t,n){n.d(t,{A:()=>p});var l=n(951609),a=n(527723),i=n(769815),r=n(892911),o=n(760742),s=n(790070),c=n(43960),m=n(354725),d=n(607638),u=n(848842);const _=i.default.div`
	background-color: white;
	border-radius: 6px;
	padding: 20px 16px;
	border: 1px solid #e6e6f0;
`,p=e=>{const{title:t,description:n,tooltipText:i,name:p,setModalOpen:v,isPro:g,children:h}=e,E=g&&!window.localized_data_obj.evnetin_pro_active;return(0,l.createElement)(l.Fragment,null,(0,l.createElement)(_,null,(0,l.createElement)(r.A,{justify:"space-between",align:"center",gap:10},(0,l.createElement)(s.A,{direction:"vertical",size:0},(0,l.createElement)(u.A,{sx:{color:"#334155",fontWeight:600,fontSize:"14px",display:"flex",alignItems:"center"}},t,i&&(0,l.createElement)(Tooltip,{title:i},(0,l.createElement)("span",null,"   ",(0,l.createElement)(m.InfoCircleFilled,{width:15,height:15,fill:"#747474"})))),(0,l.createElement)(u.A,{sx:{fontSize:"14px",fontWeight:400,color:"#6B7280"}},n)),(0,l.createElement)(o.A.Item,{name:p,valuePropName:"checked",noStyle:!0},E?(0,l.createElement)(d.Oc,null):(0,l.createElement)(c.A,{size:"large"}))),(0,l.createElement)(d.Ay,{variant:d.jK,onClick:()=>v(!0),style:{margin:"10px 0 0 0"},disabled:!!E},(0,a.__)("Configure","eventin"))),h)}},736862(e,t,n){n.d(t,{A:()=>p});var l=n(951609),a=n(986087),i=n(527723),r=n(664848),o=n(313313),s=n(698553),c=n(589348),m=n(562027),d=n(955390),u=n(892911),_=n(26536);const p=function(){const{form:e}=(0,o.EF)(),[t,n]=(0,a.useState)(!1),[p,v]=(0,a.useState)(!1);return(0,l.createElement)(c.LK,null,(0,l.createElement)(_.o,null),(0,l.createElement)(r.A,{title:(0,i.__)("Email Settings","eventin"),description:(0,l.createElement)("span",null,(0,i.__)("Manage how you want to utilize email settings.","eventin")," ",(0,l.createElement)("a",{href:"https://support.themewinter.com/docs/plugins/plugin-docs/event/eventin-notifications/?utm_source=doc&utm_medium=eventin&utm_campaign=eventin+documentations",target:"_blank"},(0,i.__)("Read Documentation","eventin")))},(0,l.createElement)(c.zn,null,(0,l.createElement)(u.A,{vertical:!0,gap:20},(0,l.createElement)(m.A,{title:(0,i.__)("Purchase Confirmation Email","eventin"),description:(0,i.__)("Send attendees ticket confirmation email with link to register on the event.","eventin"),name:"enable_purchase_email",setModalOpen:n},(0,l.createElement)(d.A,{modalOpen:t,setModalOpen:n,form:e})),(0,l.createElement)(m.A,{title:(0,i.__)("Event Reminder Email","eventin"),description:(0,i.__)("Send event reminder to the attendees.","eventin"),name:"off_remainder",setModalOpen:v,isPro:!0},(0,l.createElement)(s.A,{modalOpen:p,setModalOpen:v,form:e}))))))}},698553(e,t,n){n.d(t,{A:()=>f});var l=n(951609),a=n(527723),i=n(300500),r=n(73296),o=n(110012),s=n(340372),c=n(354725),m=n(75093),d=n(607638),u=n(785982),_=n(16370),p=n(892911),v=n(760742),g=n(747152),h=n(236492);const{useBreakpoint:E}=s.Ay,f=e=>{const{modalOpen:t,setModalOpen:n,form:s}=e,f=s.getFieldValue(["remainder_time"]),b=s.getFieldValue(["email","reminder_email","from"]),y=s.getFieldValue(["email","reminder_email","subject"]),A=s.getFieldValue(["email","reminder_email","body"]),x=!!E()?.md;return(0,l.createElement)(i.A,{title:(0,a.__)("Event Reminder Email Configuration","eventin"),open:t,onCancel:()=>{s.setFieldValue(["remainder_time"],f),s.setFieldValue(["email","reminder_email","from"],b),s.setFieldValue(["email","reminder_email","subject"],y),s.setFieldValue(["email","reminder_email","body"],A),n(!1)},cancelText:(0,a.__)("Cancel","eventin"),okText:(0,a.__)("Save","eventin"),onOk:()=>{n(!1)},destroyOnHidden:!0,width:x?"680px":"90%",styles:{body:{height:x?"700px":"auto",overflowY:"auto"}}},(0,l.createElement)("div",null,(0,l.createElement)(p.A,{vertical:!0,gap:20},(0,l.createElement)(u.A,{key:["email","reminder_email","send_to_admin"],title:(0,a.__)("Send Email to Admin","eventin"),description:(0,a.__)("Enable to send email to admin","eventin"),form:s,keyName:["email","reminder_email","send_to_admin"],sx:{margin:"10px 0"}}),(0,l.createElement)(v.A.List,{name:["remainder_time"],initialValue:[{"duration-time":1,custom_duration_type:"day"}]},(e,{add:t,remove:n},{errors:i})=>(0,l.createElement)("div",{style:{display:"flex",flexDirection:"column",gap:"10px",padding:"0px 15px"}},e.map(e=>(0,l.createElement)(g.A,{key:e.key,gutter:[16,16],align:"middle"},(0,l.createElement)(_.A,{xs:24,md:11},(0,l.createElement)("span",{style:{fontWeight:600,fontSize:16,color:"#414454"}},(0,a.__)("Set Custom Time","eventin")),(0,l.createElement)(v.A.Item,{name:[e.name,"duration-time"],rules:[{validator:(e,t)=>!t||Number.isInteger(t)?Promise.resolve():Promise.reject(new Error("Please enter an integer!"))}]},(0,l.createElement)(m.NumberInput,{placeholder:(0,a.__)("Enter Duration","eventin"),min:1,step:1,sx:{fontWeight:500,height:"40px",padding:"0px 11px"}}))),(0,l.createElement)(_.A,{xs:24,md:11},(0,l.createElement)("span",{style:{fontWeight:600,fontSize:16,color:"#414454"}},(0,a.__)("Time Type","eventin")),(0,l.createElement)(v.A.Item,{name:[e.name,"custom_duration_type"],style:{width:"100%"}},(0,l.createElement)(h.A,{placeholder:(0,a.__)("Select Time Type","eventin"),size:"large",options:[{label:(0,a.__)("Minute","eventin"),value:"minute"},{label:(0,a.__)("Hour","eventin"),value:"hour"},{label:(0,a.__)("Day","eventin"),value:"day"}],allowClear:!0,style:{height:"40px"}}))),(0,l.createElement)(_.A,{xs:24,md:2,style:{marginTop:"10px"}},0!==e?.key&&(0,l.createElement)(d.Ay,{variant:d.Rm,onClick:()=>n(e.name),icon:(0,l.createElement)(c.DeleteOutlined,null)})))),0===e?.length&&(0,a.__)("To set reminder time, click on Add button."),(0,l.createElement)(d.Ay,{variant:d.Vt,onClick:()=>t(),size:"middle",sx:{fontSize:"14px",marginTop:"-5px",padding:"0px 16px",width:"75px",color:"#6B2EE5",borderColor:"#6B2EE5"},disabled:0===e?.key},(0,a.__)("Add","eventin")))),(0,l.createElement)("div",{style:{display:"flex",flexDirection:"column",gap:"10px",padding:"0px 15px"}},(0,l.createElement)("span",{style:{fontWeight:600,fontSize:16,color:"#414454"}},(0,a.__)("From Email","eventin")),(0,l.createElement)(o.ks,{name:["email","reminder_email","from"],placeholder:(0,a.__)("Enter your email","eventin"),rules:[{type:"email",message:"Please enter a valid email address"}]})),(0,l.createElement)("div",{style:{display:"flex",flexDirection:"column",gap:"10px",padding:"0px 15px"}},(0,l.createElement)("span",{style:{fontWeight:600,fontSize:16,color:"#414454"}},(0,a.__)("Email Subject","eventin")),(0,l.createElement)(o.ks,{name:["email","reminder_email","subject"],placeholder:(0,a.__)("Enter email subject","eventin")})),(0,l.createElement)(r.A,{keyName:["email","reminder_email","body"],label:(0,a.__)("Email Body","eventin"),initialValue:A,form:s,sx:{height:"200px"}}))))}},429022(e,t,n){n.d(t,{A:()=>_});var l=n(951609),a=n(986087),i=n(527723),r=n(300500),o=n(73296),s=n(110012),c=n(760742),m=n(340372),d=n(236492);const{useBreakpoint:u}=m.Ay,_=e=>{const{modalOpen:t,setModalOpen:n,form:m}=e,[_,p]=(0,a.useState)({width:"95%",height:"auto"}),v=m.getFieldValue(["email","rsv_email","from"]),g=m.getFieldValue(["email","rsv_email","response_type"]),h=m.getFieldValue(["email","rsv_email","subject"]),E=m.getFieldValue(["email","rsv_email","body"]),f=!!u()?.md,b=!!u()?.xxl;return(0,a.useEffect)(()=>{p(b?{width:"680px",height:"700px"}:f?{width:"600px",height:"700px"}:{width:"95%",height:"auto"})},[f,b]),(0,l.createElement)(r.A,{title:(0,i.__)("RSVP Email Notification","eventin"),open:t,onCancel:()=>{m.setFieldValue(["email","rsv_email","from"],v),m.setFieldValue(["email","rsv_email","response_type"],g),m.setFieldValue(["email","rsv_email","subject"],h),m.setFieldValue(["email","rsv_email","body"],E),n(!1)},cancelText:(0,i.__)("Cancel","eventin"),okText:(0,i.__)("Save","eventin"),onOk:()=>{n(!1)},destroyOnHidden:!0,width:_?.width,styles:{body:{height:_?.height,overflowY:"auto"}}},(0,l.createElement)("div",{className:"ant-form ant-form-vertical"},(0,l.createElement)("div",{style:{display:"flex",flexDirection:"column",gap:"10px",padding:"0px 15px"}},(0,l.createElement)("span",{style:{fontWeight:600,fontSize:16,color:"#414454"}},(0,i.__)("From Email","eventin")),(0,l.createElement)(s.ks,{name:["email","rsv_email","from"],placeholder:(0,i.__)("Enter your email","eventin")})),(0,l.createElement)("div",{style:{display:"flex",flexDirection:"column",gap:"10px",padding:"0px 15px"}},(0,l.createElement)("span",{style:{fontWeight:600,fontSize:16,color:"#414454"}},(0,i.__)("RSVP Type","eventin")),(0,l.createElement)(c.A.Item,{name:["email","rsv_email","response_type"]},(0,l.createElement)(d.A,{options:[{label:(0,i.__)("Going","eventin"),value:"going"},{label:(0,i.__)("Not Going","eventin"),value:"not_going"},{label:(0,i.__)("Maybe","eventin"),value:"maybe"}],size:"large",style:{height:"40px",marginLeft:"5px"}}))),(0,l.createElement)("div",{style:{display:"flex",flexDirection:"column",gap:"10px",padding:"0px 15px"}},(0,l.createElement)("span",{style:{fontWeight:600,fontSize:16,color:"#414454"}},(0,i.__)("Email Subject","eventin")),(0,l.createElement)(s.ks,{name:["email","rsv_email","subject"],placeholder:(0,i.__)("Enter email subject","eventin")})),(0,l.createElement)(o.A,{keyName:["email","rsv_email","body"],label:(0,i.__)("Email Body","eventin"),initialValue:E,form:m,sx:{height:"200px"},emailPreset:["{%site_name%}","{%site_link%}","{%event_title%}","{%event_date%}","{%event_time%}","{%event_location%}"]})))}},639928(e,t,n){n.d(t,{A:()=>_});var l=n(951609),a=n(986087),i=n(527723),r=n(664848),o=n(313313),s=(n(600091),n(589348)),c=n(892911),m=n(562027),d=n(429022),u=n(26536);const _=function(){const{form:e}=(0,o.EF)(),[t,n]=(0,a.useState)(!1),[_,p]=(0,a.useState)(!1);return(0,l.createElement)(s.LK,null,(0,l.createElement)(u.o,null),(0,l.createElement)(r.A,{title:(0,i.__)("RSVP Email Settings","eventin"),description:(0,l.createElement)("span",null,(0,i.__)("Manage how you want to utilize email settings.","eventin")," ",(0,l.createElement)("a",{href:"https://support.themewinter.com/docs/plugins/plugin-docs/event/eventin-notifications/?utm_source=doc&utm_medium=eventin&utm_campaign=eventin+documentations",target:"_blank"},(0,i.__)("Read Documentation","eventin")))},(0,l.createElement)(s.zn,null,(0,l.createElement)(c.A,{vertical:!0,gap:20},(0,l.createElement)(m.A,{title:(0,i.__)("RSVP Invitation Email","eventin"),description:(0,i.__)("Invite attendees to confirm their attendance with personalized RSVP emails.","eventin"),name:"rsvp_auto_confirm",setModalOpen:n,isPro:!0},(0,l.createElement)(d.A,{form:e,modalOpen:t,setModalOpen:n}))))))}},600091(e,t,n){n(951609),n(527723),n(300500),n(73296),n(110012);var l=n(340372);n(354725),n(75093),n(607638),n(16370),n(892911),n(760742),n(747152),n(236492);const{useBreakpoint:a}=l.Ay},955390(e,t,n){n.d(t,{A:()=>u});var l=n(951609),a=n(986087),i=n(527723),r=n(300500),o=n(73296),s=n(785982),c=n(110012),m=n(340372);const{useBreakpoint:d}=m.Ay,u=e=>{const{modalOpen:t,setModalOpen:n,form:m}=e,[u,_]=(0,a.useState)({width:"95%",height:"auto"}),p=m.getFieldValue(["email","purchase_email","from"]),v=m.getFieldValue(["email","purchase_email","subject"]),g=m.getFieldValue(["email","purchase_email","body"]),h=!!d()?.md,E=!!d()?.xxl;return(0,a.useEffect)(()=>{_(E?{width:"680px",height:"700px"}:h?{width:"600px",height:"700px"}:{width:"95%",height:"auto"})},[h,E]),(0,l.createElement)(r.A,{title:(0,i.__)("Ticket Confirmation Email","eventin"),open:t,onCancel:()=>{m.setFieldValue(["email","purchase_email","from"],p),m.setFieldValue(["email","purchase_email","subject"],v),m.setFieldValue(["email","purchase_email","body"],g),n(!1)},cancelText:(0,i.__)("Cancel","eventin"),okText:(0,i.__)("Save","eventin"),onOk:()=>{n(!1)},destroyOnHidden:!0,width:u?.width,styles:{body:{height:u?.height,overflowY:"auto"}}},(0,l.createElement)("div",null,(0,l.createElement)("div",{style:{display:"flex",flexDirection:"column",gap:"10px",padding:"4px"}},(0,l.createElement)(s.A,{key:["email","purchase_email","send_to_admin"],title:(0,i.__)("Send Email to Admin","eventin"),description:(0,i.__)("Enable to send email to admin","eventin"),form:m,keyName:["email","purchase_email","send_to_admin"],sx:{margin:"10px 0"}}),(0,l.createElement)(s.A,{key:["email","purchase_email","send_email_to_attendees"],title:(0,i.__)("Send Email to Attendees","eventin"),description:(0,i.__)("Enable to send email to attendees","eventin"),form:m,keyName:["email","purchase_email","send_email_to_attendees"],sx:{margin:"10px 0"}}),(0,l.createElement)("span",{style:{fontWeight:600,fontSize:16,color:"#414454"}},(0,i.__)("From Email","eventin")),(0,l.createElement)(c.ks,{name:["email","purchase_email","from"],placeholder:(0,i.__)("Enter your email","eventin"),rules:[{type:"email",message:(0,i.__)("Please enter a valid email address","eventin")}]})),(0,l.createElement)("div",{style:{display:"flex",flexDirection:"column",gap:"10px",padding:"0px 15px"}},(0,l.createElement)("span",{style:{fontWeight:600,fontSize:16,color:"#414454"}},(0,i.__)("Email Subject","eventin")),(0,l.createElement)(c.ks,{name:["email","purchase_email","subject"],placeholder:(0,i.__)("Enter email subject","eventin")})),(0,l.createElement)(o.A,{keyName:["email","purchase_email","body"],label:(0,i.__)("Email Body","eventin"),initialValue:g,form:m,sx:{height:"200px"}})))}},562689(e,t,n){n.d(t,{A:()=>s});var l=n(951609),a=n(918028),i=n(589348),r=n(247767),o=n(887878);function s(e){const{menus:t}=e;return(0,l.createElement)(i.VV,null,(0,l.createElement)(a.A,{menus:t,guidelinesLinks:o.Nc}),(0,l.createElement)(r.Outlet,null))}},661817(e,t,n){n.d(t,{A:()=>d});var l=n(951609),a=n(527723),i=n(664848),r=n(594733),o=n(822977),s=n(100487),c=n(313313),m=n(589348);const d=function(){const{form:e}=(0,c.EF)();return(0,l.createElement)(m.LK,null,(0,l.createElement)(i.A,{title:(0,a.__)("Archive Settings","eventin")},(0,l.createElement)(m.zn,null,(0,l.createElement)(r.A,{title:(0,a.__)("Display Events Per Page","eventin"),description:(0,a.__)("In the Archive page, how many events to show.","eventin"),type:"number",placeholder:"01",pro:!1,form:e,keyName:"events_per_page",sx:{margin:"10px 0"}}),(0,l.createElement)(s.A,{form:e,name:"etn_include_from_search",title:(0,a.__)("Include Into Search","eventin"),tooltipText:(0,a.__)("Data from events will appear in search engine results.","eventin"),options:[{label:(0,a.__)("Yes","eventin"),description:(0,a.__)("Include event in search","eventin"),value:"on"},{label:(0,a.__)("No","eventin"),description:(0,a.__)("Do not Include event in search","eventin"),value:"off"}]}),(0,l.createElement)(o.A,{title:(0,a.__)("Sort Archive Events By","eventin"),description:(0,a.__)("Filter archived events based on the expired or upcoming date","eventin"),options:[{label:(0,a.__)("All","eventin"),value:"all"},{label:(0,a.__)("Expired","eventin"),value:"expire"},{label:(0,a.__)("Upcoming","eventin"),value:"upcoming"}],pro:!1,form:e,keyName:"archive_event_sorting",sx:{margin:"10px 0"}}),(0,l.createElement)(s.A,{form:e,name:"archive_event_sorting_order",title:(0,a.__)("Order Archive Events By","eventin"),tooltipText:(0,a.__)("Display archived events based on ascending or descending order","eventin"),options:[{label:(0,a.__)("Ascending","eventin"),description:(0,a.__)("Show in ascending order","eventin"),value:"ASC"},{label:(0,a.__)("Descending","eventin"),description:(0,a.__)("Show in descending order","eventin"),value:"DESC"}]}))))}},327743(e,t,n){n.d(t,{A:()=>s});var l=n(951609),a=n(527723),i=n(641276),r=n(313313),o=n(589348);function s(){window.localized_data_obj.evnetin_pro_active;const e=(0,r.EF)(),t=(0,r.w6)();return(0,l.createElement)(o.mc,null,(0,l.createElement)(o.hE,null,(0,a.__)("Additional Information Fields","eventin")),(0,l.createElement)("div",{style:{margin:"20px 0px"}},(0,l.createElement)(i.A,{formContextDispatcher:t,formContext:e,isGlobal:!0})))}},825076(e,t,n){n.d(t,{A:()=>p});var l=n(951609),a=n(527723),i=n(16370),r=n(104936),o=n(664848),s=n(100487),c=n(251429),m=n(313313),d=n(589348),u=n(327743),_=n(962929);function p(){const{form:e}=(0,m.EF)(),t=[{title:(0,a.__)("Require Last Name","eventin"),description:(0,a.__)("Make last name a required field for event registration and billing","eventin"),keyName:"require_last_name",requirePro:!1},{title:(0,a.__)("Enable Phone Field","eventin"),description:(0,a.__)("Add phone number field to the registration form for attendee contact","eventin"),keyName:"show_phone_number",requirePro:!1},{title:(0,a.__)("Require Phone Field","eventin"),description:(0,a.__)("Make phone number a required field for event registration and billing","eventin"),keyName:"require_phone_number",requirePro:!1},{title:(0,a.__)("Bulk Attendee Registration","eventin"),description:(0,a.__)("Enable automatic fill-up all attendee details by one click.","eventin"),keyName:"enable_attendee_bulk",requirePro:!1}];return(0,l.createElement)(d.LK,null,(0,l.createElement)(o.A,{title:(0,a.__)("Attendees Registration","eventin")},(0,l.createElement)(d.zn,null,(0,l.createElement)(r.A,{title:(0,a.__)("Enable Attendees Registration","eventin"),description:(0,a.__)("Allow attendance tracking and unique ticket management.","eventin"),pro:!1,form:e,keyName:"attendee_registration",sx:{margin:"10px 0"}},(0,l.createElement)("div",{className:"etn-settings-form"},t.map((t,n)=>(0,l.createElement)(i.A,{span:24,key:n},(0,l.createElement)(c.A,{title:t.title,description:t.description,pro:t.requirePro,form:e,keyName:t.keyName,sx:{margin:"10px 0"}}))),(0,l.createElement)(_.A,{title:(0,a.__)("Remove Attendees After Failed Payment","eventin"),description:(0,a.__)("Attendees with failed status will be removed from participant list. Given number will be calculated in days.","eventin"),type:"number",placeholder:(0,a.__)("Enter no. of days","eventin"),pro:!1,form:e,keyName:"attendee_remove",sx:{margin:"10px 0"},tooltipText:(0,a.__)("Given number will be calculated in days.","eventin"),initialValue:30}),(0,l.createElement)(s.A,{form:e,name:"attendee_verification_style",title:(0,a.__)("Attendee's Verification Process","eventin"),tooltipText:(0,a.__)("Select the preferred verification process for attendees.","eventin"),pro:!0,options:[{label:(0,a.__)("Single Step for Auto Check-in","eventin"),description:(0,a.__)("Include event automatically check-in","eventin"),value:"on"},{label:(0,a.__)("Two Step for Manual Check-in","eventin"),description:(0,a.__)("Include event manually check-in","eventin"),value:"off"}]}),(0,l.createElement)(s.A,{form:e,name:"certificate_preference",title:(0,a.__)("Certification Preference","eventin"),tooltipText:(0,a.__)("Send certificates to your preferred attendee groups.","eventin"),pro:!0,options:[{label:(0,a.__)('Send to "Checked-in Attendees"',"eventin"),description:(0,a.__)("Person who checked-in the event","eventin"),value:"on"},{label:(0,a.__)('Send to "All Attendees"',"eventin"),description:(0,a.__)("Sent everyone in the purchase list","eventin"),value:"off"}]}),(0,l.createElement)(u.A,null))))))}},876917(e,t,n){n.d(t,{A:()=>m});var l=n(951609),a=n(664848),i=n(594733),r=n(251429),o=n(313313),s=n(589348),c=n(527723);const m=function(){const{form:e}=(0,o.EF)(),t=[{title:(0,c.__)("Event Date","eventin"),description:(0,c.__)("Enable to hide event date on event page.","eventin"),keyName:"etn_hide_date_from_details",requirePro:!1},{title:(0,c.__)("Event Time","eventin"),description:(0,c.__)("Enable to hide event time on event page.","eventin"),keyName:"etn_hide_time_from_details",requirePro:!1},{title:(0,c.__)("Event Location","eventin"),description:(0,c.__)("Enable to hide event location on event page.","eventin"),keyName:"etn_hide_location_from_details",requirePro:!1},{title:(0,c.__)("Total Seats","eventin"),description:(0,c.__)("Enable to hide event seats on event page.","eventin"),keyName:"etn_hide_seats_from_details",requirePro:!1},{title:(0,c.__)("Ticket Sale End date","eventin"),description:(0,c.__)("Enable to show ticket sale end date on event page.","eventin"),keyName:"show_ticket_expiry_date",requirePro:!1},{title:(0,c.__)("Attendee Count","eventin"),description:(0,c.__)("Enable to hide event attendee count on event page.","eventin"),keyName:"etn_hide_attendee_count_from_details",requirePro:!1},{title:(0,c.__)("Event Organizers","eventin"),description:(0,c.__)("Enable to hide event organizers list on event page.","eventin"),keyName:"etn_hide_organizers_from_details",requirePro:!1},{title:(0,c.__)("Speakers Block","eventin"),description:(0,c.__)("Enable to hide event speakers list from event page.","eventin"),keyName:"etn_hide_speaker_from_details",requirePro:!1},{title:(0,c.__)("Organizer Email","eventin"),description:(0,c.__)("Enable the display of Organizer emails in the organizer list on the event page.","eventin"),keyName:"hide_oragnizer_email_from_events",requirePro:!1},{title:(0,c.__)("Event Schedule","eventin"),description:(0,c.__)("Enable to hide displaying schedule details from event Page.","eventin"),keyName:"etn_hide_schedule_from_details",requirePro:!1},{title:(0,c.__)("Schema Mark-up","eventin"),description:(0,c.__)("Activate to generate JSON schema markup for search ranking.","eventin"),keyName:"disable_rich_snippets_for_event",requirePro:!1},{title:(0,c.__)("Countdown Timer","eventin"),description:(0,c.__)("Enable to hide event countdown timer from event page.","eventin"),keyName:"checked_hide_countdown_from_details",requirePro:!0},{title:(0,c.__)("Event FAQ","eventin"),description:(0,c.__)("Enable to hide frequently asked questions option from event page.","eventin"),keyName:"hide_faq_from_details",requirePro:!0},{title:(0,c.__)("Social Media","eventin"),description:(0,c.__)("Enable to hide social media icons from event page.","eventin"),keyName:"hide_social_from_details",requirePro:!0},{title:(0,c.__)("Related Event","eventin"),description:(0,c.__)("Enable to hide Related Event on event page.","eventin"),keyName:"hide_related_event_from_details",requirePro:!0},{title:(0,c.__)("Dokan Event Publish Approval","eventin"),description:(0,c.__)("Automatically publish Dokan Vendor/Seller Event when an event is created.","eventin"),keyName:"dokan_event_auto_publish",requirePro:!0},{title:(0,c.__)("Enable AI module for Multivendor","eventin"),description:(0,c.__)("Enable or disable AI-powered features for multivendor event management on the frontend dashboard.","eventin"),keyName:"enable_ai_module_for_multivendor",requirePro:!0},{title:(0,c.__)("Vendor Event Category & Tags","eventin"),description:(0,c.__)("Enable to hide event category and tags on the event page for vendor-created events only","eventin"),keyName:"disable_category_and_tags",requirePro:!0}];return(0,l.createElement)(s.LK,null,(0,l.createElement)(a.A,{title:(0,c.__)("Event Details Settings","eventin")},(0,l.createElement)(s.zn,null,t.map(t=>(0,l.createElement)(r.A,{key:t.keyName,title:t.title,description:t.description,pro:t.requirePro,form:e,keyName:t.keyName,sx:{margin:"10px 0"},tooltipText:t?.tooltipText})),(0,l.createElement)(i.A,{title:(0,c.__)("Related Event Per Page","eventin"),description:(0,c.__)("Limit Number of related events to show in an single page.","eventin"),type:"number",placeholder:(0,c.__)("Set Number","eventin"),pro:!0,form:e,keyName:"related_events_per_page",sx:{margin:"10px 0"}}))))}},994758(e,t,n){n.d(t,{A:()=>c});var l=n(951609),a=n(664848),i=n(251429),r=n(313313),o=n(589348),s=n(527723);const c=function(){const{form:e}=(0,r.EF)(),t=[{title:(0,s.__)("Show Email","eventin"),description:(0,s.__)("Enable to show email on speaker details page.","eventin"),keyName:"show_speaker_email",requirePro:!1},{title:(0,s.__)("Send User Notification","eventin"),description:(0,s.__)("Send the new user an email about their account.","eventin"),keyName:"send_user_notification",requirePro:!1}];return(0,l.createElement)(o.LK,null,(0,l.createElement)(a.A,{title:(0,s.__)("Speaker Details Settings","eventin")},(0,l.createElement)(o.zn,null,t.map(t=>(0,l.createElement)(i.A,{key:t.keyName,title:t.title,description:t.description,pro:t.requirePro,form:e,keyName:t.keyName,sx:{margin:"10px 0"},tooltipText:t?.tooltipText})))))}},425627(e,t,n){n.d(t,{A:()=>c});var l=n(951609),a=n(527723),i=n(360200),r=n(338412),o=n(589348),s=n(75093);function c(){return(0,l.createElement)(o.ff,{className:"eventin-page-wrapper"},(0,l.createElement)(r.A,{title:(0,a.__)("Settings","eventin")}),(0,l.createElement)(i.A,null),(0,l.createElement)(s.FloatingHelpButton,null))}},639435(e,t,n){n.d(t,{f:()=>F});var l=n(951609),a=n(354725),i=n(932467),r=n(527723),o=n(989191),s=n(168484),c=n(668482),m=n(128256),d=n(860867),u=n(114404),_=n(70561),p=n(736862),v=n(639928),g=n(562689),h=n(661817),E=n(825076),f=n(876917),b=n(994758),y=n(554007),A=n(877027),x=n(465330),k=n(487318);const w=[{label:(0,r.__)("Event Details","eventin"),title:(0,r.__)("Event Details","eventin"),slug:"event-details",icon:(0,l.createElement)(a.CalendarOutlinedIcon,null),element:(0,l.createElement)(f.A,null)},{label:(0,r.__)("Archive Event","eventin"),title:(0,r.__)("Archive Event","eventin"),slug:"archive-event",icon:(0,l.createElement)(a.ArchiveOutlinedIcon,null),element:(0,l.createElement)(h.A,null)},{label:(0,r.__)("Attendees","eventin"),title:(0,r.__)("Attendees","eventin"),slug:"attendees",icon:(0,l.createElement)(i.A,null),element:(0,l.createElement)(E.A,null)},{label:(0,r.__)("Speaker Details","eventin"),title:(0,r.__)("Speaker Details","eventin"),slug:"speaker-details",icon:(0,l.createElement)(i.A,null),element:(0,l.createElement)(b.A,null)}],S=[{label:(0,r.__)("Payment Method","eventin"),title:(0,r.__)("Payment Method","eventin"),slug:"payment_method",icon:(0,l.createElement)(a.PaymentIcon,null),element:(0,l.createElement)(A.A,null)},{label:(0,r.__)("Checkout Settings","eventin"),title:(0,r.__)("Checkout","eventin"),slug:"checkout",icon:(0,l.createElement)(a.SettingsCircleIcon,null),element:(0,l.createElement)(x.A,null)},{label:(0,r.__)("Currency Settings","eventin"),title:(0,r.__)("Currency","eventin"),slug:"currency",icon:(0,l.createElement)(a.StripeOutlinedIcon,null),element:(0,l.createElement)(k.A,null)}],C=[{label:(0,r.__)("Purchase Email","eventin"),title:(0,r.__)("Purchase Email","eventin"),slug:"purchase-email",icon:(0,l.createElement)(a.EmailIcon,{width:16,height:17}),element:(0,l.createElement)(p.A,null)},{label:(0,r.__)("RSVP Invitation Email","eventin"),title:(0,r.__)("RSVP Invitation Email","eventin"),slug:"rsvp-invitations",icon:(0,l.createElement)(a.MailOpenOutlinedIcon,null),element:(0,l.createElement)(v.A,null)}],P=[{label:(0,r.__)("General","eventin"),title:(0,r.__)("General","eventin"),slug:"general",icon:(0,l.createElement)(a.GearIcon,null),element:(0,l.createElement)(m.A,null)},{label:(0,r.__)("Slug","eventin"),title:(0,r.__)("Slug","eventin"),slug:"slug",icon:(0,l.createElement)(a.SlugOutlinedIcon,null),element:(0,l.createElement)(d.A,null)},{label:(0,r.__)("Webhooks","eventin"),title:(0,r.__)("Webhooks","eventin"),slug:"webhooks",icon:(0,l.createElement)(a.WebhookIcon,null),element:(0,l.createElement)(u.A,null)},{label:(0,r.__)("Domain Registration","eventin"),title:(0,r.__)("Domain Registration","eventin"),slug:"domain-registration",icon:(0,l.createElement)(a.DomainOutlinedIcon,null),element:(0,l.createElement)(c.A,null)},{label:(0,r.__)("Manage Access","eventin"),title:(0,r.__)("Manage Access","eventin"),slug:"manage-access",icon:(0,l.createElement)(a.ControlAccessIcon,null),element:(0,l.createElement)(s.A,null)}],F=[{label:(0,r.__)("Event Settings","eventin"),title:(0,r.__)("Event Settings","eventin"),slug:"event-settings",icon:(0,l.createElement)(a.CalendarIcon,null),element:(0,l.createElement)(g.A,{menus:w}),children:w},{label:(0,r.__)("Payments","eventin"),title:(0,r.__)("Payments","eventin"),slug:"payments",icon:(0,l.createElement)(a.PaymentIcon,null),element:(0,l.createElement)(y.A,{menus:S}),children:S},{label:(0,r.__)("Email","eventin"),title:(0,r.__)("Email","eventin"),slug:"email",icon:(0,l.createElement)(a.EmailIcon,null),element:(0,l.createElement)(_.A,{menus:C}),children:C},{label:(0,r.__)("Advanced","eventin"),title:(0,r.__)("Advanced","eventin"),slug:"advanced",icon:(0,l.createElement)(a.GearIcon,null),element:(0,l.createElement)(o.A,{menus:P}),children:P}]},554007(e,t,n){n.d(t,{A:()=>s});var l=n(951609),a=n(918028),i=n(589348),r=n(247767),o=n(887878);function s(e){const{menus:t}=e;return(0,l.createElement)(i.VV,null,(0,l.createElement)(a.A,{menus:t,guidelinesLinks:o.a_}),(0,l.createElement)(r.Outlet,null))}},465330(e,t,n){n.d(t,{A:()=>g});var l=n(951609),a=n(527723),i=n(16370),r=n(62567),o=n(760742),s=n(747152),c=n(43960),m=n(75093),d=n(361517),u=n(664848),_=n(406836),p=n(313313),v=n(589348);function g(){const{form:e}=(0,p.EF)(),t=o.A.useWatch("ticket_purchase_timer_enable",{form:e,preserve:!0}),n=e=>{let t;return e&&"off"!=e?"on"!==e&&!0!==e||(t=!0):t=!1,t},g=[{key:"1",label:(0,l.createElement)(d.A,{title:(0,a.__)("Checkout Configuration","eventin"),description:(0,l.createElement)("span",null,(0,a.__)("After the time expires, tickets will be released and the user must restart the process.","eventin")," ")}),children:(0,l.createElement)("div",{className:"etn-settings-form"},(0,l.createElement)(s.A,{gutter:10},(0,l.createElement)(i.A,{md:12,sm:24,xs:24},(0,l.createElement)(o.A.Item,{label:(0,a.__)("Set Timeout (minutes)","eventin"),name:"ticket_purchase_timer"},(0,l.createElement)(m.NumberInput,{size:"large",max:10,placeholder:(0,a.__)("Enter timeout duration (in minutes)","eventin")}))))),showArrow:!1,extra:(0,l.createElement)(o.A.Item,{name:"ticket_purchase_timer_enable"},(0,l.createElement)(c.A,{checked:n(t),onChange:t=>e.setFieldsValue({ticket_purchase_timer_enable:!!t})}))}];return(0,l.createElement)(v.LK,null,(0,l.createElement)(u.A,{title:(0,a.__)("Checkout Configuration","eventin")},(0,l.createElement)(r.A,{activeKey:n(t)&&["1"],items:g,onChange:t=>{e.setFieldsValue({ticket_purchase_timer_enable:Boolean(t.length)}),(0,_.scrollToTop)()},style:{margin:"20px 0px"}})))}},487318(e,t,n){n.d(t,{A:()=>g});var l=n(951609),a=n(527723),i=n(16370),r=n(892911),o=n(760742),s=n(747152),c=n(236492),m=n(75093),d=n(749871),u=n(664848),_=n(848842),p=n(313313),v=n(589348);function g(){const{form:e,settings:t}=(0,p.EF)(),n=o.A.useWatch("sell_tickets",{form:e,preserve:!0}),g=o.A.useWatch("surecart_status",{form:e,preserve:!0}),h="woocommerce"===n,E=o.A.useWatch("fluentcart_status",{form:e,preserve:!0}),f=window?.localized_data_obj?.currency_list,b=window?.localized_data_obj?.admin_url+"/admin.php?page=wc-settings",y=window?.localized_data_obj?.admin_url+"/admin.php?page=sc-settings&tab=display_currency",A=window?.localized_data_obj?.admin_url+"/admin.php?page=fluent-cart#/settings/store-settings/",x=[{value:"right",label:(0,l.createElement)(r.A,{gap:5,align:"center",justify:"space-between"},(0,l.createElement)(_.A,null," ",(0,a.__)("Right","eventin")),(0,l.createElement)(_.A,null,(0,a.__)("100$","eventin")))},{value:"left",label:(0,l.createElement)(r.A,{gap:5,align:"center",justify:"space-between"},(0,l.createElement)(_.A,null," ",(0,a.__)("Left","eventin")),(0,l.createElement)(_.A,null,(0,a.__)("$100","eventin")))},{value:"right_space",label:(0,l.createElement)(r.A,{gap:5,align:"center",justify:"space-between"},(0,l.createElement)(_.A,null," ",(0,a.__)("Right with space","eventin")),(0,l.createElement)(_.A,null,(0,a.__)("100 $","eventin")))},{value:"left_space",label:(0,l.createElement)(r.A,{gap:5,align:"center",justify:"space-between"},(0,l.createElement)(_.A,null," ",(0,a.__)("Left with space","eventin")),(0,l.createElement)(_.A,null,(0,a.__)("$ 100","eventin")))}],k=[{value:"comma_dot",label:(0,l.createElement)(r.A,{gap:5,align:"center",justify:"space-between"},(0,l.createElement)(_.A,null," ",(0,a.__)("Comma-Dot","eventin")),(0,l.createElement)(_.A,null,(0,a.__)("15,000.00","eventin")))},{value:"dot_comma",label:(0,l.createElement)(r.A,{gap:5,align:"center",justify:"space-between"},(0,l.createElement)(_.A,null," ",(0,a.__)("Dot-Comma","eventin")),(0,l.createElement)(_.A,null,(0,a.__)("15.000,00","eventin")))},{value:"space_dot",label:(0,l.createElement)(r.A,{gap:5,align:"center",justify:"space-between"},(0,l.createElement)(_.A,null," ",(0,a.__)("Space-Dot","eventin")),(0,l.createElement)(_.A,null,(0,a.__)("15 000.00","eventin")))},{value:"space_comma",label:(0,l.createElement)(r.A,{gap:5,align:"center",justify:"space-between"},(0,l.createElement)(_.A,null," ",(0,a.__)("Space-Comma","eventin")),(0,l.createElement)(_.A,null,(0,a.__)("15 000,00","eventin")))}];return(0,l.createElement)(v.LK,null,(0,l.createElement)(u.A,{title:(0,a.__)("Currency Settings","eventin"),description:(0,l.createElement)("span",null,(0,a.__)("Choose your preferred currency and currency symbol.","eventin")," ",(0,l.createElement)("a",{href:"https://support.themewinter.com/docs/plugins/plugin-docs/payment-type?utm_source=documentations&utm_medium=eventin&utm_campaign=eventin+documentations",target:"_blank"},(0,a.__)("Read Documentation","eventin")),(0,l.createElement)("br",null),h&&(0,l.createElement)("strong",null,(0,a.__)("Note: When WooCommerce payment is enabled, this setting will be ignored","eventin")),g&&(0,l.createElement)("strong",null,(0,a.__)("Note: When SureCart payment is enabled, this setting will be ignored.","eventin")),E&&(0,l.createElement)("strong",null,(0,a.__)("Note: When FluentCart payment is enabled, this setting will be ignored.","eventin")))},(0,l.createElement)(v.zn,null,h&&(0,l.createElement)("div",{style:{marginBottom:16}},(0,l.createElement)(_.A,null," ",(0,a.__)("Currency settings is managed by ","eventin"),(0,l.createElement)(d.A,{href:b,target:"_blank"},(0,a.__)("WooCommerce Settings","eventin")))),g&&(0,l.createElement)("div",{style:{marginBottom:16}},(0,l.createElement)(_.A,null,(0,a.__)("Currency settings is managed by ","eventin"),(0,l.createElement)(d.A,{href:y,target:"_blank"},(0,a.__)("SureCart Settings","eventin")))),E&&(0,l.createElement)("div",{style:{marginBottom:16}},(0,l.createElement)(_.A,null,(0,a.__)("Currency settings is managed by ","eventin"),(0,l.createElement)(d.A,{href:A,target:"_blank"},(0,a.__)("FluentCart Settings","eventin")))),(0,l.createElement)(s.A,{gutter:16},(0,l.createElement)(i.A,{xl:12,span:24},(0,l.createElement)(o.A.Item,{label:(0,a.__)("Select Preferred Currency","eventin"),name:"etn_settings_country_currency",tooltip:(0,a.__)("When WooCommerce payment is enabled, this setting will be ignored.","eventin")},(0,l.createElement)(c.A,{showSearch:!0,size:"large",placeholder:(0,a.__)("Choose preferred currency","eventin"),filterOption:(e,t)=>{var n;return(null!==(n=t?.children[0]?.toLowerCase())&&void 0!==n?n:"")?.includes(e?.toLowerCase())},filterSort:(e,t)=>{var n,l;return(null!==(n=e?.children[0])&&void 0!==n?n:"")?.toLowerCase()?.localeCompare((null!==(l=t?.children[0])&&void 0!==l?l:"")?.toLowerCase())},disabled:h||g||E,onChange:t=>{e.setFieldsValue({etn_settings_country_currency:t})},style:{width:"100%"}},f?.map((e,t)=>(0,l.createElement)(c.A.Option,{key:`props.key-${t}`,value:e?.name},function(e){const t=document.createElement("textarea");return t.innerHTML=e,t.value}(e?.country),"--",(0,l.createElement)("span",{dangerouslySetInnerHTML:{__html:e?.name+"("+e?.symbol+")"}})))))),(0,l.createElement)(i.A,{xl:12,span:24},(0,l.createElement)(o.A.Item,{label:(0,a.__)("Price Symbol Position","eventin"),name:"currency_position",tooltip:(0,a.__)("This controls the position of the currency symbol.","eventin")},(0,l.createElement)(c.A,{size:"large",placeholder:(0,a.__)("Choose Price Symbol Position","eventin"),style:{width:"100%"},options:x,disabled:h||g||E}))),(0,l.createElement)(i.A,{xl:12,span:24},(0,l.createElement)(o.A.Item,{label:(0,a.__)("Price Separator","eventin"),name:"decimal_separator",tooltip:(0,a.__)("This sets the price separator of display is the price","eventin")},(0,l.createElement)(c.A,{size:"large",placeholder:(0,a.__)("Choose Price Separator","eventin"),style:{width:"100%"},options:k,disabled:h||g||E}))),(0,l.createElement)(i.A,{xl:12,span:24},(0,l.createElement)(o.A.Item,{label:(0,a.__)("Number of decimals","eventin"),name:"decimals",tooltip:(0,a.__)("This sets the number of decimal points shown in displayed prices","eventin")},(0,l.createElement)(m.NumberInput,{placeholder:(0,a.__)("Add number of decimals","eventin"),disabled:h||g||E})))))))}},616807(e,t,n){n.d(t,{A:()=>_});var l=n(951609),a=n(527723),i=n(62567),r=n(760742),o=n(43960),s=n(769815),c=(n(354725),n(361517)),m=(n(110012),n(406836)),d=n(313313);const u=(0,s.default)(i.A)`
	.ant-collapse-content {
		display: none;
	}
`;function _(){const{form:e}=(0,d.EF)(),t=r.A.useWatch("fluentcart_status",{form:e,preserve:!0});t&&e.setFieldsValue({sell_tickets:null,payment_method:"",etn_sells_engine_stripe:null,paypal_status:!1,surecart_status:!1,local_payment_status:!1});const n=[{key:"1",label:(0,l.createElement)(c.A,{title:(0,a.__)("FluentCart","eventin"),description:(0,l.createElement)("span",null,(0,a.__)("Enable FluentCart Payments.","eventin")," "," ",(0,l.createElement)("a",{href:"https://support.themewinter.com/docs/plugins/plugin-docs/payment-type/how-to-configure-fluentcart-with-eventin/",target:"_blank"},(0,a.__)("Read Documentation","eventin")))}),showArrow:!1,extra:(0,l.createElement)(r.A.Item,{name:"fluentcart_status",valuePropName:"checked"},(0,l.createElement)(o.A,{onChange:t=>e.setFieldsValue({fluentcart_status:!!t})}))}];return(0,l.createElement)(u,{activeKey:t&&["1"],items:n,onChange:t=>{e.setFieldsValue({fluentcart_status:Boolean(t.length)}),(0,m.scrollToTop)()},style:{margin:"20px 0px"},collapsible:"header"})}},877027(e,t,n){n.d(t,{A:()=>g});var l=n(951609),a=n(527723),i=n(929491),r=n(547143),o=n(664848),s=n(589348),c=n(914983),m=n(417526),d=n(490046),u=n(616807),_=n(271424),p=n(128984);const v=(0,r.withSelect)(e=>{const t=e("eventin/global");return{settings:t.getSettings(),isSettingsLoading:t.isResolving("getSettings")}}),g=(0,i.compose)(v)(function(e){const{settings:t,isSettingsLoading:n}=e||{},i=t?.etn_surecart_enabled,r=t?.etn_fluentcart_enabled;return(0,l.createElement)(s.LK,null,(0,l.createElement)(o.A,{title:(0,a.__)("Payment Settings","eventin")},(0,l.createElement)(p.A,null),i&&(0,l.createElement)(d.A,null),r&&(0,l.createElement)(u.A,null),(0,l.createElement)(_.A,null),(0,l.createElement)(m.A,null),(0,l.createElement)(c.A,null)))})},914983(e,t,n){n.d(t,{A:()=>u});var l=n(951609),a=n(527723),i=n(769815),r=n(62567),o=n(760742),s=n(43960),c=n(361517),m=n(313313);const d=(0,i.default)(r.A)`
	.ant-collapse-content {
		display: none;
	}
`;function u(){const{form:e}=(0,m.EF)(),t=o.A.useWatch("local_payment_status",{form:e,preserve:!0});t&&e.setFieldsValue({sell_tickets:null,payment_method:"",surecart_status:!1,fluentcart_status:!1});const n=[{key:"1",label:(0,l.createElement)(c.A,{title:(0,a.__)("Local Payment","eventin"),description:(0,l.createElement)("span",null,(0,a.__)("Enable Local Payment to allow customers to pay at the venue or through offline methods.","eventin")," ",(0,l.createElement)("br",null),(0,l.createElement)("a",{href:"https://support.themewinter.com/docs/plugins/plugin-docs/payment-type/how-to-configure-the-local-payment-in-eventin",target:"_blank"},(0,a.__)("Read Documentation","eventin")))}),children:null,showArrow:!1,extra:(0,l.createElement)(o.A.Item,{name:"local_payment_status",valuePropName:"checked"},(0,l.createElement)(s.A,{onChange:t=>e.setFieldsValue({local_payment_status:!!t})}))}];return(0,l.createElement)(d,{activeKey:t&&["1"],items:n,onChange:t=>{e.setFieldsValue({local_payment_status:Boolean(t.length)})},style:{margin:"20px 0px"},collapsible:"header"})}},417526(e,t,n){n.d(t,{A:()=>g});var l=n(951609),a=n(527723),i=n(938181),r=n(16370),o=n(62567),s=n(760742),c=n(747152),m=n(43960),d=n(607638),u=n(361517),_=n(110012),p=n(406836),v=n(313313);function g(){const{form:e}=(0,v.EF)(),t=s.A.useWatch("paypal_status",{form:e,preserve:!0}),n=!!window.localized_data_obj?.evnetin_pro_active;t&&e.setFieldsValue({sell_tickets:null,payment_method:"",surecart_status:!1,fluentcart_status:!1});const g=[{key:"1",label:(0,l.createElement)(u.A,{title:(0,a.__)("Paypal","eventin"),description:(0,l.createElement)("span",null,(0,a.__)("Enable Paypal Payments.","eventin")," "," ",(0,l.createElement)("a",{href:"https://support.themewinter.com/docs/plugins/plugin-docs/payment-type/paypal/?utm_source=documentations&utm_medium=eventin&utm_campaign=eventin+documentations",target:"_blank"},(0,a.__)("Read Documentation","eventin")))}),children:(0,l.createElement)("div",{className:"etn-settings-form"},(0,l.createElement)(c.A,{gutter:10},(0,l.createElement)(r.A,{md:12,sm:24,xs:24},(0,l.createElement)(s.A.Item,{label:(0,a.__)("PayPal Client Id","eventin"),name:"paypal_client_id"},(0,l.createElement)(_.h5,{size:"large",placeholder:(0,a.__)("Enter client id","eventin")}))),(0,l.createElement)(r.A,{md:12,sm:24,xs:24},(0,l.createElement)(s.A.Item,{label:(0,a.__)("PayPal Secret key","eventin"),name:"paypal_client_secret"},(0,l.createElement)(_.h5,{size:"large",placeholder:(0,a.__)("Enter secret key","eventin")})))),(0,l.createElement)(c.A,{gutter:10},(0,l.createElement)(r.A,{md:24,span:24},(0,l.createElement)(s.A.Item,{name:"paypal_sandbox",valuePropName:"checked"},(0,l.createElement)(i.A,null,(0,a.__)("Test payments with PayPal sandbox","timetics-pro")))))),showArrow:!1,extra:n?(0,l.createElement)(s.A.Item,{name:"paypal_status",valuePropName:"checked"},(0,l.createElement)(m.A,{onChange:t=>e.setFieldsValue({paypal_status:!!t})})):(0,l.createElement)(d.Oc,null)}];return(0,l.createElement)(o.A,{activeKey:t&&["1"],items:g,onChange:t=>{e.setFieldsValue({paypal_status:Boolean(t.length)}),(0,p.scrollToTop)()},style:{margin:"20px 0px"},collapsible:n?"header":"disabled"})}},271424(e,t,n){n.d(t,{A:()=>v});var l=n(951609),a=n(527723),i=n(16370),r=n(62567),o=n(760742),s=n(747152),c=n(43960),m=n(607638),d=n(361517),u=n(110012),_=n(406836),p=n(313313);function v(){const{form:e}=(0,p.EF)(),t=o.A.useWatch("etn_sells_engine_stripe",{form:e,preserve:!0}),n=!!window.localized_data_obj?.evnetin_pro_active,v="stripe"===t;v&&e.setFieldsValue({sell_tickets:null,payment_method:"",surecart_status:!1,fluentcart_status:!1});const g=[{key:"1",label:(0,l.createElement)(d.A,{title:(0,a.__)("Stripe","eventin"),description:(0,l.createElement)("span",null,(0,a.__)("Enable Stripe Payments.","eventin")," "," ",(0,l.createElement)("a",{href:"https://support.themewinter.com/docs/plugins/plugin-docs/payment-type/stripe/?utm_source=documentations&utm_medium=eventin&utm_campaign=eventin+documentations",target:"_blank"},(0,a.__)("Read Documentation","eventin")))}),children:(0,l.createElement)("div",{className:"etn-settings-form"},(0,l.createElement)(s.A,{gutter:10},(0,l.createElement)(i.A,{md:12,sm:24,xs:24},(0,l.createElement)(o.A.Item,{label:(0,a.__)("Publishable key","eventin"),name:"stripe_live_publishable_key"},(0,l.createElement)(u.h5,{size:"large",placeholder:(0,a.__)("Enter publishable key","eventin")}))),(0,l.createElement)(i.A,{md:12,sm:24,xs:24},(0,l.createElement)(o.A.Item,{label:(0,a.__)("Secret key","eventin"),name:"stripe_live_secret_key"},(0,l.createElement)(u.h5,{size:"large",placeholder:(0,a.__)("Enter secret key","eventin")})))),(0,l.createElement)(s.A,{gutter:10},(0,l.createElement)(i.A,{md:24,sm:24,xs:24},(0,l.createElement)(o.A.Item,{label:(0,a.__)("Webhook signing secret","eventin"),name:"etn_stripe_webhook_secret"},(0,l.createElement)(u.h5,{size:"large",placeholder:(0,a.__)("Enter webhook signing secret (whsec_...)","eventin")}))))),showArrow:!1,extra:n?(0,l.createElement)(o.A.Item,{name:"etn_sells_engine_stripe",valuePropName:"checked"},(0,l.createElement)(c.A,{onChange:t=>e.setFieldsValue({etn_sells_engine_stripe:t?"stripe":null})})):(0,l.createElement)(m.Oc,null)}];return(0,l.createElement)(r.A,{activeKey:v&&["1"],items:g,onChange:t=>{e.setFieldsValue({etn_sells_engine_stripe:Boolean(t.length)?"stripe":null}),(0,_.scrollToTop)()},style:{margin:"20px 0px"},collapsible:n?"header":"disabled"})}},490046(e,t,n){n.d(t,{A:()=>h});var l=n(951609),a=n(527723),i=n(938181),r=n(16370),o=n(62567),s=n(760742),c=n(747152),m=n(43960),d=n(354725),u=n(361517),_=n(110012),p=n(406836),v=n(313313);const g=window?.localized_data_obj?.site_url+"/wp-json/surecart/v1/webhook";function h(){const{form:e}=(0,v.EF)(),t=s.A.useWatch("surecart_status",{form:e,preserve:!0});t&&e.setFieldsValue({sell_tickets:null,payment_method:"",etn_sells_engine_stripe:null,paypal_status:!1,local_payment_status:!1,fluentcart_status:!1});const n=[{key:"1",label:(0,l.createElement)(u.A,{title:(0,a.__)("SureCart","eventin"),description:(0,l.createElement)("span",null,(0,a.__)("Enable SureCart Payments.","eventin")," "," ",(0,l.createElement)("a",{href:"https://support.themewinter.com/docs/plugins/plugin-docs/payment-type/how-to-configure-surecart-in-eventin/",target:"_blank"},(0,a.__)("Read Documentation","eventin")))}),children:(0,l.createElement)("div",{className:"etn-settings-form"},(0,l.createElement)(c.A,{gutter:10},(0,l.createElement)(r.A,{md:24,sm:24,xs:24},(0,l.createElement)(s.A.Item,{label:(0,a.__)("SureCart Webhook URL","eventin"),name:""},(0,l.createElement)(_.I3,{copyText:g||"",buttonTooltipText:(0,a.__)("Copy Webhook URL","eventin"),icon:(0,l.createElement)(d.CopyIconOutlined,null),placeholder:(0,a.__)("Enter webhook url","eventin")})))),(0,l.createElement)(c.A,{gutter:10},(0,l.createElement)(r.A,{md:24,span:24},(0,l.createElement)(s.A.Item,{name:"surecart_sandbox",valuePropName:"checked"},(0,l.createElement)(i.A,null,(0,a.__)("Test payments with SureCart sandbox","eventin")))))),showArrow:!1,extra:(0,l.createElement)(s.A.Item,{name:"surecart_status",valuePropName:"checked"},(0,l.createElement)(m.A,{onChange:t=>e.setFieldsValue({surecart_status:!!t})}))}];return(0,l.createElement)(o.A,{activeKey:t&&["1"],items:n,onChange:t=>{e.setFieldsValue({surecart_status:Boolean(t.length)}),(0,p.scrollToTop)()},style:{margin:"20px 0px"},collapsible:"header"})}},128984(e,t,n){n.d(t,{A:()=>p});var l=n(951609),a=n(527723),i=n(16370),r=n(62567),o=n(760742),s=n(747152),c=n(43960),m=n(361517),d=n(251429),u=(n(110012),n(313313)),_=n(822977);function p(){const{form:e}=(0,u.EF)(),t=o.A.useWatch("sell_tickets",{form:e,preserve:!0}),n=e.getFieldValue("wc_order_status_list",!0),p=n?Object.entries(n).map(([e,t])=>({label:t,value:e})):[],v="woocommerce"===t;v&&e.setFieldsValue({etn_sells_engine_stripe:null,paypal_status:!1,surecart_status:!1,local_payment_status:!1,fluentcart_status:!1});const g=[{title:(0,a.__)("Count Refunded / Failed Booking In Purchase Report","eventin"),description:(0,a.__)("Include cost for refunded / failed tickets in purchase history.","eventin"),keyName:"etn_count_refund_price",requirePro:!0},{title:(0,a.__)("Show Print and Download Invoice Button","eventin"),description:(0,a.__)("Show print and download invoice option after payment.","eventin"),keyName:"etn_show_print_download_on_thankyou",requirePro:!0},{title:(0,a.__)("Require Account Login","eventin"),description:(0,a.__)("Required login to the purchase of event tickets.","eventin"),keyName:"etn_purchase_login_required",requirePro:!1},{title:(0,a.__)("Show Billing Info","eventin"),description:(0,a.__)("Show billing info on woocommerce checkout page.","eventin"),keyName:"etn_show_woo_billing_info",requirePro:!1},{title:(0,a.__)("Include Event Details in Woocommerce Cart & Invoice E-mail","eventin"),description:(0,a.__)("Include event details page link in woocommerce cart and invoice email.","eventin"),keyName:"invoice_include_event_details",requirePro:!0}],h=[{key:"1",label:(0,l.createElement)(m.A,{title:(0,a.__)("WooCommerce","eventin"),description:(0,l.createElement)("span",null,(0,a.__)("Enable WooCommerce Payments.","eventin")," "," ",(0,l.createElement)("a",{href:"https://support.themewinter.com/docs/plugins/plugin-docs/payment-type/woocommerce/?utm_source=doc&utm_medium=eventin&utm_campaign=eventin+documentations",target:"_blank"},(0,a.__)("Read Documentation","eventin")))}),children:(0,l.createElement)("div",{className:"etn-settings-form"},(0,l.createElement)(s.A,null,(0,l.createElement)(i.A,{span:24,rules:[{required:!0}]},(0,l.createElement)(_.A,{title:(0,a.__)("After Adding to Cart, Redirect to ","eventin"),description:(0,a.__)("Select where to redirect after adding tickets to eventin cart.","eventin"),keyName:"add_to_cart_redirect",size:"large",placeholder:(0,a.__)("Select a option","eventin"),allowClear:!0,defaultValue:"checkout",options:[{value:"cart",label:(0,a.__)("Cart","eventin")},{value:"checkout",label:(0,a.__)("Checkout","eventin")}]}))),(0,l.createElement)(s.A,null,(0,l.createElement)(i.A,{span:24,rules:[{required:!0}]},(0,l.createElement)(_.A,{title:(0,a.__)("After Confirming the Order, Redirect To ","eventin"),description:(0,a.__)("Select where to redirect after confirming the order: Eventin thank-you page or WooCommerce thank-you page","eventin"),keyName:"order_thank_you_redirect",size:"large",placeholder:(0,a.__)("Select a option","eventin"),allowClear:!0,defaultValue:"eventin_thankyou",options:[{value:"eventin_thankyou",label:(0,a.__)("Eventin Thank you","eventin")},{value:"woo_thankyou",label:(0,a.__)("Woocommerce Thank you","eventin")}]}))),(0,l.createElement)(s.A,null,g.map((t,n)=>(0,l.createElement)(i.A,{span:24,key:n},(0,l.createElement)(d.A,{title:t.title,description:t.description,pro:t.requirePro,form:e,keyName:t.keyName,sx:{margin:"10px 0"}})))),(0,l.createElement)(s.A,null,(0,l.createElement)(i.A,{span:24},(0,l.createElement)(_.A,{multiple:!0,title:(0,a.__)("Confirm Ticket Based on Payment Status","eventin"),description:(0,a.__)("Select the payment statuses that will trigger ticket confirmation.","eventin"),keyName:"wc_order_statuses",options:p,rules:[{required:!0,message:(0,a.__)("Please select at least one status","eventin")}]})))),showArrow:!1,extra:(0,l.createElement)(o.A.Item,{name:"sell_tickets",valuePropName:"checked"},(0,l.createElement)(c.A,{onChange:t=>e.setFieldsValue({sell_tickets:t?"woocommerce":null,payment_method:t?"woocommerce":""})}))}];return(0,l.createElement)(r.A,{activeKey:v&&["1"],items:h,onChange:t=>{const n=Boolean(t.length)?"woocommerce":null;e.setFieldsValue({sell_tickets:n,payment_method:n?"woocommerce":""})},style:{margin:"20px 0px"}})}},887878(e,t,n){n.d(t,{FQ:()=>o,Nc:()=>i,a_:()=>r,eG:()=>s,yB:()=>a});var l=n(527723);const a="https://themewinter.com/support",i=[{label:(0,l.__)("Event Setup","eventin"),url:"https://support.themewinter.com/docs/plugins/plugin-docs/event/eventin-event/"},{label:(0,l.__)("Attendee Management","eventin"),url:"https://support.themewinter.com/docs/plugins/plugin-docs/attendee/event-attendee/"},{label:(0,l.__)("Speaker Setup","eventin"),url:"https://support.themewinter.com/docs/plugins/plugin-docs/speakers-and-organizers/how-to-create-eventin-speaker/"},{label:(0,l.__)("Recurring Events","eventin"),url:"https://support.themewinter.com/docs/plugins/plugin-docs/event/recurring-event/"}],r=[{label:(0,l.__)("Payment Gateways","eventin"),url:"https://support.themewinter.com/docs/plugins/plugin-docs/payment-type/"},{label:(0,l.__)("Stripe Setup","eventin"),url:"https://support.themewinter.com/docs/plugins/plugin-docs/payment-type/stripe/"},{label:(0,l.__)("PayPal Setup","eventin"),url:"https://support.themewinter.com/docs/plugins/plugin-docs/payment-type/paypal/"},{label:(0,l.__)("Currency Settings","eventin"),url:"https://support.themewinter.com/docs/plugins/plugin-docs/general-settings-eventin/general-settings/#currency-settings"}],o=[{label:(0,l.__)("Email Notifications","eventin"),url:"https://support.themewinter.com/docs/plugins/plugin-docs/email-settings/eventin-notifications/"},{label:(0,l.__)("RSVP Invitation Email","eventin"),url:"https://support.themewinter.com/docs/plugins/plugin-docs/rsvp-settings/single-event-settings/"}],s=[{label:(0,l.__)("General Settings","eventin"),url:"https://support.themewinter.com/docs/plugins/plugin-docs/general-settings-eventin/general-settings/"},{label:(0,l.__)("Webhook Configuration","eventin"),url:"https://support.themewinter.com/docs/plugins/plugin-docs/general-settings-eventin/webhook/"},{label:(0,l.__)("Domain Registration","eventin"),url:"https://support.themewinter.com/docs/plugins/plugin-docs/general-settings-eventin/embeddable-script/"},{label:(0,l.__)("Role & Access Control","eventin"),url:"https://support.themewinter.com/docs/plugins/plugin-docs/general-settings-eventin/user-roles-and-permissions/"}];(0,l.__)("Event Details Settings","eventin"),(0,l.__)("Schema Markup","eventin"),(0,l.__)("Countdown Timer","eventin"),(0,l.__)("Recurring Events","eventin"),(0,l.__)("Archive Event Display","eventin"),(0,l.__)("Event Shortcodes","eventin"),(0,l.__)("Attendee Management","eventin"),(0,l.__)("Extra Fields","eventin"),(0,l.__)("Certificates","eventin"),(0,l.__)("Speaker Setup","eventin"),(0,l.__)("Speaker Categories","eventin"),(0,l.__)("Payment Gateways","eventin"),(0,l.__)("Stripe Setup","eventin"),(0,l.__)("PayPal Setup","eventin"),(0,l.__)("WooCommerce","eventin"),(0,l.__)("Checkout Configuration","eventin"),(0,l.__)("RSVP Settings","eventin"),(0,l.__)("Currency Settings","eventin"),(0,l.__)("Purchase Email Notification","eventin"),(0,l.__)("Email Templates","eventin"),(0,l.__)("RSVP Invitation Email","eventin"),(0,l.__)("RSVP Settings","eventin"),(0,l.__)("General Settings","eventin"),(0,l.__)("Google Calendar","eventin"),(0,l.__)("Zoom Integration","eventin"),(0,l.__)("Custom Slug Settings","eventin"),(0,l.__)("Webhook Configuration","eventin"),(0,l.__)("Domain Registration","eventin"),(0,l.__)("Role & Access Control","eventin")},338412(e,t,n){n.d(t,{A:()=>s});var l=n(951609),a=n(892911),i=n(956427),r=n(818062),o=n(327154);function s(e){const{title:t}=e;return(0,l.createElement)(i.Fill,{name:o.PRIMARY_HEADER_NAME},(0,l.createElement)(a.A,{justify:"space-between",align:"center"},(0,l.createElement)(r.A,{title:t})))}},589348(e,t,n){n.d(t,{LK:()=>r,VV:()=>i,ff:()=>a,hE:()=>c,mc:()=>s,zn:()=>o});var l=n(769815);const a=l.default.div`
	background-color: #f4f6fa;
	padding: 0px 32px;
	min-height: 100vh;

	@media ( max-width: 768px ) {
		padding: 12px 5px;
	}
`,i=l.default.div`
	width: 100%;
	height: 100%;
	display: flex;
`,r=l.default.div`
	width: 100%;
	min-height: max-content;
	padding: 20px;
	padding-left: 40px;
	background-color: #ffffff;

	@media ( max-width: 768px ) {
		padding: 20px 0px;
	}
`,o=l.default.div`
	width: 100%;
	background-color: #ffffff;
	padding: 20px;
	border-radius: 8px;
	@media ( max-width: 768px ) {
		padding: 10px;
	}
	.ant-collapse
		> .ant-collapse-item
		.ant-collapse-collapsible-header
		.ant-collapse-header-text {
		flex: auto;
	}
`,s=l.default.div`
	border: 1px solid #e6e6f0;
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 16px;
	background-color: white;
	.ant-form-item {
		margin-bottom: 0;
	}
`,c=l.default.h3`
	font-size: 14px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	gap: 8px;
	font-weight: 600;
	color: #334155;
	height: 20px;
`},931658(e,t,n){n.r(t),n.d(t,{default:()=>o});var l=n(951609),a=n(247767),i=n(425627),r=n(639435);function o(){return(0,l.createElement)(a.Routes,null,(0,l.createElement)(a.Route,{path:"/*",element:(0,l.createElement)(i.A,null)},(0,l.createElement)(a.Route,{path:"*",element:(0,l.createElement)(a.Navigate,{replace:!0,to:r.f[0].slug})}),r.f?.map((e,t)=>(0,l.createElement)(a.Route,{key:t,path:`${e.slug}/*`,element:e.element},e.children?.map((e,t)=>(0,l.createElement)(a.Route,{key:t,path:`${e.slug}/*`,element:e.element})),(0,l.createElement)(a.Route,{path:"*",element:(0,l.createElement)(a.Navigate,{replace:!0,to:e.children[0]?.slug||""})})))))}}}]);