Файловый менеджер - Редактировать - /var/www/portal.bdu.ac.bd/public_html/wp-content/plugins/the-events-calendar/src/resources/js/events-dynamic.min.js
Назад
/** * This JS file was auto-generated via Terser. * * Contributors should avoid editing this file, but instead edit the associated * non minified file file. For more information, check out our engineering docs * on how we handle JS minification in our engineering docs. * * @see: https://evnt.is/dev-docs-minification */ var tribe_dynamic_helper_text=tribe_dynamic_helper_text||{};!function($,obj){"use strict";obj.field_class=".event-dynamic-helper-text",obj.date_fmt_settings={dateSettings:{days:tribe_dynamic_help_text.days,daysShort:tribe_dynamic_help_text.daysShort,months:tribe_dynamic_help_text.months,monthsShort:tribe_dynamic_help_text.monthsShort}},obj.date_fmt=new DateFormatter(obj.date_fmt_settings),obj.text=JSON.parse(tribe_dynamic_help_text.msgs),obj.date_with_year=tribe_dynamic_help_text.date_with_year,obj.date_no_year=tribe_dynamic_help_text.date_no_year,obj.datepicker_format=tribe_dynamic_help_text.datepicker_format,obj.dynamic_text,obj.start_date,obj.start_time,obj.end_date,obj.end_time,obj.all_day="",obj.init=function(){obj.setup_and_display_text(),obj.event_date_change()},obj.setup_and_display_text=function(){obj.update(),obj.msg_logic(),obj.parse_and_display_text()},obj.update=function(){(obj.start_date=$("#EventStartDate").val(),obj.start_time=$("#EventStartTime").val(),obj.end_date=$("#EventEndDate").val(),obj.end_time=$("#EventEndTime").val(),obj.all_day=!!$("#allDayCheckbox").prop("checked")||"",obj.start_date===obj.end_date)&&(moment(obj.start_time,"h:mm a").format("HH:mm")>moment(obj.end_time,"h:mm a").format("HH:mm")&&(void 0!==$.fn.tribeTimepicker?$("#EventEndTime").tribeTimepicker("setTime",obj.start_time):$("#EventEndTime").timepicker("setTime",obj.start_time),obj.end_time=obj.start_time))},obj.msg_logic=function(){obj.start_date!=obj.end_date||obj.all_day||obj.start_time==obj.end_time?obj.start_date!=obj.end_date||obj.all_day||obj.start_time!=obj.end_time?obj.start_date==obj.end_date&&obj.all_day?obj.dynamic_text=obj.text[2]:obj.start_date==obj.end_date||obj.all_day||obj.start_time==obj.end_time?obj.start_date==obj.end_date||obj.all_day||obj.start_time!=obj.end_time?obj.start_date!=obj.end_date&&obj.all_day&&(obj.dynamic_text=obj.text[5]):obj.dynamic_text=obj.text[4]:obj.dynamic_text=obj.text[3]:obj.dynamic_text=obj.text[1]:obj.dynamic_text=obj.text[0]},obj.parse_and_display_text=function(){obj.dynamic_text=obj.dynamic_text.replace("%%starttime%%",obj.start_time),obj.dynamic_text=obj.dynamic_text.replace("%%endtime%%",obj.end_time),obj.dynamic_text=obj.dynamic_text.replace("%%startdatewithyear%%",obj.date_formatter(obj.start_date,obj.datepicker_format,obj.date_with_year)),obj.dynamic_text=obj.dynamic_text.replace("%%enddatewithyear%%",obj.date_formatter(obj.end_date,obj.datepicker_format,obj.date_with_year)),obj.dynamic_text=obj.dynamic_text.replace("%%startdatenoyear%%",obj.date_formatter(obj.start_date,obj.datepicker_format,obj.date_no_year)),obj.dynamic_text=obj.dynamic_text.replace("%%enddatenoyear%%",obj.date_formatter(obj.end_date,obj.datepicker_format,obj.date_no_year)),$(obj.field_class).html(obj.dynamic_text)},obj.date_formatter=function(date,datepicker,dateformat){return obj.date_fmt.formatDate(obj.date_fmt.parseDate(date,datepicker),dateformat)},obj.event_date_change=function(){$("#EventStartDate, #EventStartTime, #EventEndDate, #EventEndTime, #allDayCheckbox").on("change",(function(){obj.setup_and_display_text()}))},$((function(){$("#eventDetails, #event_datepickers").hasClass("eventForm")&&obj.init()}))}(jQuery,tribe_dynamic_helper_text);
| ver. 1.4 |
Github
|
.
| PHP 7.4.3-4ubuntu2.28 | Генерация страницы: 0.01 |
proxy
|
phpinfo
|
Настройка