/****** js combine: 34 total file(s) ******/ if (typeof loaded_js_combine_list === 'undefined') {loaded_js_combine_list=[];} loaded_js_combine_list.push("qSixgVLNpAa6sBocXO6_u_yZGIU"); /****** js file: main.js ******/ /****** full path: /home/carc7600/public_html/system/themes/autostrada/js/main.js ******/ /****** last modified: 1519316100 (2018-02-22 10:15:00) ******/ $(function(){if($(".back_to_top").length){$(".back_to_top").click(function(){$("html, body").animate({scrollTop:0},"slow");return!1});$(window).scroll(function(){var height=$(window).scrollTop();if(height>300){$(".back_to_top").fadeIn()}else{$(".back_to_top").fadeOut()}})}}); /****** end js file: main.js ******/ /****** js file: dl_script.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/plugins/dynamic_lists/dl_script.js ******/ /****** last modified: 1663866135 (2022-09-22 12:02:15) ******/ $(document).ready(function(){$(document).on('click','.dl_menu_button',function(e){var key=$(this).attr('data-key');var name=$(this).attr('data-name');dl_menu(name,key,e)}).click(dl_menu_close).keyup(function(e){if(e.keyCode===27)dl_menu_close});addtoImage=new Image();addtoImage.src='images/icons/circ_add_16.png'});var layout_image_struct=[];dynamic_list_movement={active:!1};function Dl_ajax(id,name,authkey,cmd){if(!(this instanceof Dl_ajax))return new Dl_ajax(id,name,authkey,cmd);var menu=$('#dl_menu_'+name+'_'+id);var draw_func=menu.attr('data-draw-func');var loaded_widgets='';if(typeof(ai_widgets)!="undefined"&&typeof(ai_widgets.generate_query_string)==="function"&&draw_func=='widgets'){loaded_widgets='&'+ai_widgets.generate_query_string()} this.method='POST';this.url='dynamic_lists?ai_skin=full_page&te_class=dynamic_lists&te_mode=ajax&ajax_cmd='+cmd+loaded_widgets;this.data={id:id,name:name,authkey:authkey,draw_func:draw_func,draw_options:menu.attr('data-fn-options')}} function dl_insert(name,id,authkey){$('#dl_move_ajax__'+name+'__'+id).fadeIn("fast");var ajax=new Dl_ajax(id,name,authkey,'dl_insert');ajax.success=function(data){if(data.substr(0,3)=='OK|'){$('#dynalist_'+name).replaceWith(data.substr(3))}else jonbox_alert(data);$('#dl_move_ajax__'+name+'__'+id).fadeOut("fast")};$.ajax(ajax)} function dl_delete(name,id,authkey){$('#dl_move_ajax__'+name+'__'+id).fadeIn("fast");$.ajax({url:'dynamic_lists?ai_skin=full_page&te_class=dynamic_lists&te_mode=ajax&ajax_cmd=dl_delete&del_id='+id+'&name='+encodeURIComponent(name)+'&authkey='+encodeURIComponent(authkey),success:function(data){if(data.substr(0,2)=='OK')$('#dl_entry_'+name+'_'+id).hide(200).remove();else jonbox_alert(data);$('#dl_move_ajax__'+name+'__'+id).fadeOut("fast")}})} function dl_restore(name,id,authkey){$('#dl_move_ajax__'+name+'__'+id).fadeIn("fast");$.ajax({url:'dynamic_lists?ai_skin=full_page&te_class=dynamic_lists&te_mode=ajax&ajax_cmd=dl_restore&res_id='+id+'&name='+encodeURIComponent(name)+'&authkey='+encodeURIComponent(authkey),success:function(data){if(data.substr(0,2)=='OK')$('#dl_entry_'+name+'_'+id).hide(200).remove();else jonbox_alert(data);$('#dl_move_ajax__'+name+'__'+id).fadeOut("fast")}})} function dl_move_init(name,id,authkey){dynamic_list_movement={name:name,id:id,authkey:authkey,active:!0};$('.dl_buttons').each(function(){var menu=$(this).children('.dynamic_list_menu');var menu_button=$(this).children('.dl_menu_button');var addButton=$('').attr('class','dl_button dl_add_here_button').data('name',menu_button.attr('data-name')).attr('href','javascript:void(0)').attr('title','Move Here').data('id',menu_button.attr('data-key')).data('authkey',menu.attr('data-auth-insert')).append('Move Here').click(dl_move);$(this).prepend(addButton)})} function dl_move(){$this=$(this);var id=$this.data('id');var name=$this.data('name');$('#dl_move_ajax__'+name+'__'+id).fadeIn("fast");var ajax=new Dl_ajax(id,name,$this.data('authkey'),'dl_move');ajax.data.src_name=dynamic_list_movement.name;ajax.data.src_id=dynamic_list_movement.id;ajax.data.src_authkey=dynamic_list_movement.authkey;ajax.success=function(data){$("#dl_entry_"+dynamic_list_movement.name+"_"+dynamic_list_movement.id).remove();if(data.substr(0,3)=='OK|')$('#dynalist_'+name).replaceWith(data.substr(3));else jonbox_alert(data);dynamic_list_movement.active=!1;$('.dl_add_here_button').remove()};$.ajax(ajax)} function dl_link(name,key,authkey){$('#dl_move_ajax__'+name+'__'+key).fadeIn("fast");var ajax=new Dl_ajax(key,name,authkey,'dl_link');ajax.success=function(data){if(data.substr(0,3)=='OK|')$('#dynalist_'+name).replaceWith(data.substr(3));else jonbox_alert(data)};$.ajax(ajax)} function dl_menu(name,key,e){e.stopPropagation();var menu=$('#dl_menu_'+name+'_'+key);dl_menu_close();if(!menu.parent().is('body')){menu.appendTo($(document.body))} if(!menu.hasClass('dl_menu_open')){menu.show(200);menu.offset({left:e.pageX,top:e.pageY});menu.on('click','.dl_create',function(e){dl_insert(name,key,menu.attr('data-auth-insert'),menu.attr('data-fn-options'));dl_menu_close(e)});menu.on('click','.dl_delete',function(e){dl_delete(name,key,menu.attr('data-auth-delete'));dl_menu_close(e)});menu.on('click','.dl_restore',function(e){dl_restore(name,key,menu.attr('data-auth-restore'));dl_menu_close(e)});menu.on('click','.dl_move',function(e){dl_move_init(name,key,menu.attr('data-auth-move'));dl_menu_close(e)});menu.on('click','.dl_link',function(e){dl_link(name,key,menu.attr('data-auth-link'));dl_menu_close(e)});menu.on('click','.dl_copy_contents_local',function(e){dl_copy(name,key,menu.attr('data-auth-copy'),'dl_copy_contents_local');dl_menu_close(e)});menu.on('click','.dl_copy_list_local',function(e){dl_copy(name,key,menu.attr('data-auth-copy'),'dl_copy_list_local');dl_menu_close(e)});menu.on('click','.dl_copy_contents_foreign',function(e){dl_copy(name,key,menu.attr('data-auth-copy'),'dl_copy_contents_foreign');dl_menu_close(e)});menu.on('click','.dl_copy_list_foreign',function(e){dl_copy(name,key,menu.attr('data-auth-copy'),'dl_copy_list_foreign');dl_menu_close(e)});menu.on('click','.dl_import_local',function(e){dl_copy(name,key,menu.attr('data-auth-copy'),'dl_paste_local');dl_menu_close(e)});menu.on('click','.dl_paste_local_restore',function(e){dl_paste_local_restore(name,key,menu.attr('data-auth-copy'),'dl_paste_local_restore');dl_menu_close(e)});menu.on('click','.dl_import_foreign',function(e){dl_copy(name,key,menu.attr('data-auth-copy'),'dl_paste_foreign');dl_menu_close(e)});menu.on('click','.dl_export_layout_local',function(e){dl_export_layout(name,key,menu.attr('data-auth-layout'),'local',menu.attr('data-tag'));dl_menu_close(e)});menu.on('click','.dl_export_layout_global',function(e){dl_export_layout(name,key,menu.attr('data-auth-layout'),'global',menu.attr('data-tag'));dl_menu_close(e)});menu.on('click','.dl_import_layout_local',function(e){dl_import_layout(name,key,menu.attr('data-auth-layout'),'local',menu.attr('data-tag'));dl_menu_close(e)});menu.on('click','.dl_import_layout_global',function(e){dl_import_layout(name,key,menu.attr('data-auth-layout'),'global',menu.attr('data-tag'));dl_menu_close(e)});menu.addClass('dl_menu_open')}else dl_menu_close()} function dl_menu_close(e){var menus=$('.dynamic_list_menu.dl_menu_open');menus.hide(200);menus.parent().css('z-index','');menus.attr('data-open','closed');var off_arr=['.dl_create','.dl_delete','.dl_move','.dl_link','.dl_copy_contents','.dl_copy_list_local','.dl_copy_contents_foreign','.dl_copy_list_foreign','.dl_paste_local','.dl_paste_local_restore','.dl_paste_foreign','.dl_export_layout_local','.dl_import_layout_local','.dl_export_layout_global','.dl_import_layout_local','.dl_import_layout_global','dl_restore'];for(var i=0;i
');else if(darr[0]=='OK_Paste'){$('#dynalist_'+name).replaceWith(data.substr(9))}else jonbox_alert(data);$('#dl_move_ajax__'+name+'__'+key).fadeOut("fast")};if(button=='dl_paste_foreign'){jonbox_form('jonbox_copy_menu_form_container',function(frm){ajax.data.import_url=$(frm).find('#dl_copy_menu_foreign_url').val();$.ajax(ajax);close_jonbox()})}else $.ajax(ajax)} function dl_paste_local_restore(name,key,authkey,button){$('#dl_move_ajax__'+name+'__'+key).fadeIn("fast");var ajax=new Dl_ajax(key,name,authkey,button);ajax.success=function(data){var darr=data.split('|');if(darr[1]=='OK_Copy')ai.notification.success('dynamic list copy','copied successfully');else if(darr[1]=='OK_Copy_Foreign')jonbox_info('export url:

');else if(darr[0]=='OK_Paste'){$('#dynalist_'+name).replaceWith(data.substr(9))}else jonbox_alert(data);$('#dl_move_ajax__'+name+'__'+key).fadeOut("fast")};if(button=='dl_paste_foreign'){jonbox_form('jonbox_copy_menu_form_container',function(frm){ajax.data.import_url=$(frm).find('#dl_copy_menu_foreign_url').val();$.ajax(ajax);close_jonbox()})}else $.ajax(ajax)} $(document).ready(function(){$(document).on('change','.dl_tag_creation_action_selector',function(){var id=$(this).attr('data-id');var dlname=$(this).attr('data-name');var tag=$(this).attr('data-tag');var theme=$(this).attr('data-theme');var authkey=$(this).attr('data-key');var tagactionvalue=$(this).val();$('#dl_tag_creation_action_indicator_'+id).html('').show();$.ajax({url:'dynamic_lists?ai_skin=full_page&te_class=dynamic_lists&te_mode=ajax&ajax_cmd=dl_set_tag_creation_action&te_key='+id+'&name='+encodeURIComponent(dlname)+'&tag='+encodeURIComponent(tag)+'&theme='+encodeURIComponent(theme)+'&authkey='+encodeURIComponent(authkey)+'&tagactionvalue='+encodeURIComponent(tagactionvalue),success:function(data){if(data.substr(0,2)=='OK'){$('#dl_tag_creation_action_indicator_'+id).fadeOut("slow")}else jonbox_alert(data)}})})});function dl_export_layout(name,key,authkey,mode,tag){$(document).on("jonbox-showComplete",function(){$('#jonbox_content #dl_export_layout_tag').val(tag.trim());$(document).off("jonbox-showComplete")});jonbox_form('jonbox_export_layout_container',function(frm){var frmdata=$(frm);var layout_name=$(frm).find('#dl_export_layout_name').val();var layout_tag=$(frm).find('#dl_export_layout_tag').val();var layout_images=$(frm).find('#dl_export_layout_images').val();if(layout_name.trim()==''||layout_tag.trim()==''||layout_images.trim()==''){jonbox_form_error('all fields must be filled out');return!1} var ajax=new Dl_ajax(key,name,authkey,'dl_export_layout_'+mode);ajax.data.layout_name=layout_name;ajax.data.layout_tag=layout_tag;ajax.data.layout_images=layout_images;ajax.success=function(data){ai.notification.success('Export Layout',data)};$.ajax(ajax);close_jonbox()})} function dl_import_layout(name,key,authkey,mode,tag){var load_ajax=new Dl_ajax(key,name,authkey,'dl_list_'+mode+'_layouts');load_ajax.dataType='json';load_ajax.success=function(data){$(document).on("jonbox-showComplete",function(){draw_layout_preview(data,tag);$('#jonbox_content .dl_import_layout_constrain_by_tag').on('change',function(){draw_layout_preview(data,tag)});$(document).off("jonbox-showComplete")});jonbox_form('jonbox_import_layout_container',function(frm){$('#dl_move_ajax__'+name+'__'+key).fadeIn("fast");$('#jonbox_content .dl_import_layout_constrain_by_tag').off('change');var $selected=$(frm).find('.layout_preview_panel.selected');if($selected.length<1){close_jonbox();return} var layout_id=$selected.first().data('layout_id');layout_id=parseInt(layout_id);var ajax_submit=new Dl_ajax(key,name,authkey,'dl_import_layout_'+mode);ajax_submit.data.layout_id=layout_id;ajax_submit.data.link=($('#jonbox_content .dl_import_layout_link').prop('checked')?'yes':'no');ajax_submit.success=function(data_submit){if(data_submit.substr(0,10)=='OK_Import|')$('#dynalist_'+name).replaceWith(data_submit.substr(10));else jonbox_alert(data_submit);$('#dl_move_ajax__'+name+'__'+key).fadeOut("fast")};$.ajax(ajax_submit);close_jonbox()})};$.ajax(load_ajax)} function draw_layout_preview(data,tag){$container=$('#jonbox_content .dl_import_preview_pane').empty();var show_all=!$('#jonbox_content .dl_import_layout_constrain_by_tag').prop('checked');for(var i=0,drawn=0;i').addClass('row');$container.append($row)}else $row=$container.children('.row:last');var $div=$('
').addClass('layout_preview_panel col-sm-4').data('layout_id',data[i].id).append($('

').text(data[i].display_name)).append($('').addClass('helper')).append($('').attr('src',data[i].images.split(';')[0])).on('click',function(){$('.layout_preview_panel').removeClass('selected');$(this).addClass('selected')});$row.append($div)}}; /****** end js file: dl_script.js ******/ /****** js file: dynamic_areas.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/plugins/dynamic_areas/js/dynamic_areas.js ******/ /****** last modified: 1663866125 (2022-09-22 12:02:05) ******/ var dyna_area_elements=[];var edit_pencil_size=18;var edit_pencil_url="images/dynamic_edit.14.png";var fade_duration=400;var listener_delay=1000;var dyna_areas_on="off";var temp_mouse_flag=!1;var dyna_area_edit_pencils=[];var dyna_area_resize_timer;var dyna_area_mousemove_timer;var da_pencil_update_timer=null;var da_pencils_on=!1;$(document).ready(function(){if(typeof current_edit_mode_state!=="undefined"&¤t_edit_mode_state){update_dyna_area_pencils()}});function dyna_area_edit_on(){"use strict";if(!da_pencils_on){timer_update_edit_pencils();$("body").on("mousemove.dynamic_areas",dyna_area_onmove_handler);$(window).on("resize.dynamic_areas",dyna_area_window_resize_handler)} da_pencils_on=!0;setTimeout(update_dyna_area_pencils,250)} function dyna_area_edit_off(){"use strict";if(da_pencils_on){$("body").off("mousemove.dynamic_areas");$(window).off("resize.dynamic_areas");destroy_edit_pencils();clearTimeout(da_pencil_update_timer)} da_pencils_on=!1} function dyna_area_onmove_handler(e){"use strict";clearTimeout(dyna_area_mousemove_timer);dyna_area_mousemove_timer=setTimeout(function(){determine_which_dyna_areas_are_hovered(e.pageX,e.pageY);temp_mouse_flag=!0},100)} function timer_update_edit_pencils(){"use strict";update_dyna_area_pencils();da_pencil_update_timer=setTimeout(timer_update_edit_pencils,10000)} function dyna_area_window_resize_handler(){"use strict";clearTimeout(dyna_area_resize_timer);dyna_area_resize_timer=setTimeout(function(){update_dyna_area_pencils()},250)} function activate_all_dyna_areas(){dyna_areas_on="on";for(elem=0;elem

")} function disable_dynamic_area(area){let da=document.getElementById(area) if(da!=null){da.dataset.state="disabled"}} function enable_dynamic_area(area){let da=document.getElementById(area) if(da!=null){da.dataset.state="enabled"}} function enable_all_dynamic_areas(){$(".dynamic_area_content").each(function(){this.dataset.state="enabled"})} function disable_all_dynamic_areas_not_part_of_jonbox(){$('div.dynamic_area_content:not(#jonbox_content .dynamic_area_content)').each(function(){disable_dynamic_area($(this).attr("id"))})} function update_dynamic_areas_NOW(){update_dyna_area_pencils()} function update_dyna_area_pencils(){"use strict";let still_exists=new Array();$('div.dynamic_area_content:not(#jonbox_content .dynamic_area_content)').each(function(){add_update_dyna_edit_pencil(this);if(typeof this.dataset.struct_index!="undefined"){still_exists.push(parseInt(this.dataset.struct_index))}});$('#jonbox_content .dynamic_area_content').each(function(){add_update_dyna_edit_pencil(this);if(typeof this.dataset.struct_index!="undefined"){still_exists.push(parseInt(this.dataset.struct_index))}});for(let i=0;i=dyna_area_elements[elem].edit_pos.top&&dyna_struct.edit_pos.left<=dyna_area_elements[elem].edit_pos.left+offset&&dyna_struct.edit_pos.left+offset>=dyna_area_elements[elem].edit_pos.left+offset){let edit_position_left=(dyna_area_elements[elem].edit_pos.left+offset+1);dyna_struct.edit_pos.left=edit_position_left;dyna_struct.edit_pos.right=(edit_position_left+edit_pencil_size);elem=-1}} if(creating_new){dyna_struct.edit_elem=document.createElement("img");dyna_struct.edit_elem.src=edit_pencil_url;dyna_struct.edit_elem.id="dynamic_area_"+dyna.id;dyna_struct.edit_elem.classList.add("dynamic_area_edit_link");dyna_struct.edit_elem.dataset.name=dyna.dataset.name;dyna_struct.edit_elem.setAttribute("rel",dyna.id);let styles={"cursor":"pointer","width":edit_pencil_size+"px","height":edit_pencil_size+"px","min-width":edit_pencil_size+"px","min-height":edit_pencil_size+"px","max-width":edit_pencil_size+"px","max-height":edit_pencil_size+"px","position":"absolute","top":dyna_struct.edit_pos.top+"px","left":dyna_struct.edit_pos.left+"px"} Object.assign(dyna_struct.edit_elem.style,styles);document.body.appendChild(dyna_struct.edit_elem);dyna_area_elements.push(dyna_struct);dyna.dataset.struct_index=dyna_area_elements.length-1}else{dyna_struct.edit_elem.style.top=dyna_struct.edit_pos.top+"px";dyna_struct.edit_elem.style.left=dyna_struct.edit_pos.left+"px"}} function dyna_area_id_exists(dyna_area_id){for(elem=0;elem<(dyna_area_elements.length-1);elem++){if(dyna_area_elements[elem]!==null&&dyna_area_elements[elem].id==dyna_area_id){return elem}} return 0} function determine_which_dyna_areas_are_hovered(x,y){if(dyna_areas_on=="on"){return} for(elem=0;elemdyna_area_elements[elem].pos.top&&ydyna_area_elements[elem].pos.left&&xdyna_area_elements[elem].edit_pos.top&&ydyna_area_elements[elem].edit_pos.left&&x '+element_type+widgetrow).prepend('')} if($('.dynamic_styles_edit_controls').length==0){$("HTML").append('
')} $(".dynamic_styles_edit_link").show(0);$(".status_saved_message").delay("2000").fadeOut("slow")} function close_dynamic_styles_popup(){$(".dynamic_styles_edit_controls").empty();$(".dynamic_styles_edit_link").show(0);$(".status_saved_message").delay("2000").fadeOut("slow")} function init_history_jeditable(anchor_point,id){direction_class="history_dropdown";direction_class_indentifier="."+direction_class;var history_drop_point=$("
");var html="";html+="
";html+="";html+="
";history_drop_point.html(html);history_drop_point.addClass('history_drop_point');$(anchor_point).append(history_drop_point);var history_dropdown=$("
");history_dropdown.addClass(direction_class);$("#view_history_"+id).append(history_dropdown);var updated=!1;$("#view_history_"+id+".history_drop IMG.history").on('click',function(event){if($("#view_history_"+id+" "+direction_class_indentifier).hasClass('dropped_down')){$("#view_history_"+id+" "+direction_class_indentifier).removeClass('dropped_down').slideUp(125)}else{if($("#view_history_"+id+" "+direction_class_indentifier).hasClass('has_content')){reset_history_page();$("#view_history_"+id+" "+direction_class_indentifier).addClass('dropped_down').slideDown(125)}else{$("#view_history_"+id+" IMG").attr("src","includes/plugins/dynamic_areas/images/loading_white_on_blue.gif");$.get("dynamic_area_history?ai_skin=full_page&te_class=dynamic_area_history&te_mode=ajax&ajax_cmd=lookup_history&hide_style=true&id="+id,function(data){$("#view_history_"+id+" "+direction_class_indentifier).html(data).addClass('dropped_down has_content').slideDown(125,function(){$("#view_history_"+id+" IMG").attr("src","includes/plugins/dynamic_areas/images/history.png")});$("#view_history_"+id+" "+direction_class_indentifier+" DIV").on('mouseover',function(event){$(".history_content").hide(0);$(this).children('SPAN').show(0).on('mouseout',function(event){$(this).hide(0)});$(this).children('SPAN').on('click','BUTTON',function(event){event.preventDefault();var id=$(this).attr('rel');if(id>0&&!updated){var updated=!0;var dynamic_id=$(".history_content_content_"+id).attr('rel');$(".dynamic_area_"+dynamic_id+" FORM.jeditable_input INPUT").val($('.history_content_content_'+id).html());$(".dynamic_area_"+dynamic_id+" FORM.jeditable_input TEXTAREA").val($('.history_content_content_'+id).html());$("#view_history_"+dynamic_id+" "+direction_class_indentifier).removeClass('dropped_down').slideUp(125)}})})})}}})} function init_history(anchor_point,id){direction_class="history_dropup";direction_class_indentifier="."+direction_class;$(anchor_point).addClass('history_drop wysiwyg_history_drop_point').attr("id","view_history_"+id);$('body').click(function(){$(".history_content").hide(0)}).keyup(function(e){if(e.keyCode===27)$(".history_content").hide(0)});var history_dropdown=$("
");history_dropdown.addClass(direction_class);$("#view_history_"+id).append(history_dropdown);var updated=!1;$("#view_history_"+id).on('click',function(){if($("#view_history_"+id+" "+direction_class_indentifier).hasClass('dropped_down')){$("#view_history_"+id+" "+direction_class_indentifier).removeClass('dropped_down').slideDown(125)}else{if($("#view_history_"+id+" "+direction_class_indentifier).hasClass('has_content')){reset_history_page();$("#view_history_"+id+" "+direction_class_indentifier).addClass('dropped_down').slideUp(125)}else{$("#view_history_"+id+" IMG.history").attr("src","includes/plugins/dynamic_areas/images/loading_white_on_blue.gif");$.get("dynamic_area_history?ai_skin=full_page&te_class=dynamic_area_history&te_mode=ajax&ajax_cmd=lookup_history&hide_style=true&id="+id,function(data){$("#view_history_"+id+" "+direction_class_indentifier).html(data).slideDown(125,function(){$("#view_history_"+id+" "+direction_class_indentifier).addClass('has_content');$("#view_history_"+id+" IMG.history").attr("src","includes/plugins/dynamic_areas/images/history.png")});$("#view_history_"+id+" "+direction_class_indentifier+" DIV").on('mouseover',function(event){$(".history_content").hide(0);var $this=$(this);$this.children('SPAN').show(0);if($this.data('drawn')!='true'){$(this).children('SPAN').on('click','BUTTON',function(event){event.preventDefault();var id=$(this).attr('rel');if(id>0&&!updated){var updated=!0;var dynamic_id=$(".history_content_content_"+id).attr('rel');o_content.value=$('.history_content_content_'+id).html();wysiwyg_doc_write($('.history_content_content_'+id).html());$("#view_history_"+dynamic_id+" "+direction_class_indentifier).removeClass('dropped_down').slideDown(125)}});$this.data('drawn','true')}})})}}})} $(document).on("click","#history_next_page",function(event){$("#history_next_page, #history_prev_page").show(0);var page=parseInt($("#history_page_indicator").text());var max_page=parseInt($("#history_page_total").text());$(".history_content").hide(0);$("#history_page_indicator").text(page+1);$("#history_page_"+page).slideUp(125);$("#history_page_"+(page+1)).slideDown(125);if((page+1)==max_page){$("#history_next_page").hide(0)}});$(document).on("click","#history_prev_page",function(event){$("#history_next_page, #history_prev_page").show(0);var page=parseInt($("#history_page_indicator").text());var max_page=parseInt($("#history_page_total").text());$(".history_content").hide(0);$("#history_page_indicator").text(page-1);$("#history_page_"+page).slideUp(125);$("#history_page_"+(page-1)).slideDown(125);if((page-1)==1){$("#history_prev_page").hide(0)}});function reset_history_page(){$("#history_prev_page").hide(0);$(".history_content").hide(0);$("#history_page_indicator").text("1");$(".history_page").slideUp(125);$("#history_page_1").slideDown(125)} function display_link_table(id){$("#link_table_content_"+id).slideUp(125);$("#link_table_empty_"+id).slideUp(125);$("#link_table_"+id).slideDown(125);$("#upload_file_container_"+id).slideDown(125)} $('.wysiwyg_link_table BUTTON[type="submit"]').click(function(event){event.preventDefault();var id=$(this).closest("div").attr("rel");$("#link_table_"+id+" IMG").show(0);var mode=$("#link_table_"+id+" #mode").val();var saved_url=$("#link_table_"+id+" #url").val();var text=$("#link_table_"+id+" #text").val();var target=$("#link_table_"+id+" #target").val();var original_content=$("#link_table_"+id+" #original_content").val();var url="dynamic_areas?ai_skin=full_page&te_class=dynamic_areas&te_mode=ajax&ajax_cmd=inline_post_save";var data={id:id,mode:mode,original_content:original_content,url:encodeURIComponent(saved_url),text:encodeURIComponent(text),target:encodeURIComponent(target)};$.post(url,data,function(response){$("#link_table_content_"+id).html(response).slideDown(125);$("#link_table_"+id+" IMG").hide(0);$("#link_table_"+id).slideUp(125);$("#upload_file_container_"+id).slideUp(125);enable_all_dynamic_areas()})});function close_table(id){$("#link_table_"+id+" IMG").hide(0);$("#link_table_content_"+id).slideDown(125);$("#link_table_"+id+" IMG").hide(0);$("#link_table_"+id).slideUp(125);$("#upload_file_container_"+id).slideUp(125);enable_all_dynamic_areas()}; /****** end js file: dynamic_areas.js ******/ /****** js file: chosen.jquery.min.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/core/js/chosen/chosen.jquery.min.js ******/ /****** last modified: 1663866156 (2022-09-22 12:02:36) ******/ /* Chosen v1.8.7 | (c) 2011-2018 by Harvest | MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md */ !function(){var t,e,s,i,n=function(t,e){return function(){return t.apply(e,arguments)}},r=function(t,e){function s(){this.constructor=t}for(var i in e)o.call(e,i)&&(t[i]=e[i]);return s.prototype=e.prototype,t.prototype=new s,t.__super__=e.prototype,t},o={}.hasOwnProperty;(i=function(){function t(){this.options_index=0,this.parsed=[]}return t.prototype.add_node=function(t){return"OPTGROUP"===t.nodeName.toUpperCase()?this.add_group(t):this.add_option(t)},t.prototype.add_group=function(t){var e,s,i,n,r,o;for(e=this.parsed.length,this.parsed.push({array_index:e,group:!0,label:t.label,title:t.title?t.title:void 0,children:0,disabled:t.disabled,classes:t.className}),o=[],s=0,i=(r=t.childNodes).length;s"+this.escape_html(t.group_label)+""+t.html:t.html},t.prototype.mouse_enter=function(){return this.mouse_on_container=!0},t.prototype.mouse_leave=function(){return this.mouse_on_container=!1},t.prototype.input_focus=function(t){if(this.is_multiple){if(!this.active_field)return setTimeout(function(t){return function(){return t.container_mousedown()}}(this),50)}else if(!this.active_field)return this.activate_field()},t.prototype.input_blur=function(t){if(!this.mouse_on_container)return this.active_field=!1,setTimeout(function(t){return function(){return t.blur_test()}}(this),100)},t.prototype.label_click_handler=function(t){return this.is_multiple?this.container_mousedown(t):this.activate_field()},t.prototype.results_option_build=function(t){var e,s,i,n,r,o,h;for(e="",h=0,n=0,r=(o=this.results_data).length;n=this.max_shown_results));n++);return e},t.prototype.result_add_option=function(t){var e,s;return t.search_match&&this.include_option_in_results(t)?(e=[],t.disabled||t.selected&&this.is_multiple||e.push("active-result"),!t.disabled||t.selected&&this.is_multiple||e.push("disabled-result"),t.selected&&e.push("result-selected"),null!=t.group_array_index&&e.push("group-option"),""!==t.classes&&e.push(t.classes),s=document.createElement("li"),s.className=e.join(" "),t.style&&(s.style.cssText=t.style),s.setAttribute("data-option-array-index",t.array_index),s.innerHTML=t.highlighted_html||t.html,t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.result_add_group=function(t){var e,s;return(t.search_match||t.group_match)&&t.active_options>0?((e=[]).push("group-result"),t.classes&&e.push(t.classes),s=document.createElement("li"),s.className=e.join(" "),s.innerHTML=t.highlighted_html||this.escape_html(t.label),t.title&&(s.title=t.title),this.outerHTML(s)):""},t.prototype.results_update_field=function(){if(this.set_default_text(),this.is_multiple||this.results_reset_cleanup(),this.result_clear_highlight(),this.results_build(),this.results_showing)return this.winnow_results()},t.prototype.reset_single_select_options=function(){var t,e,s,i,n;for(n=[],t=0,e=(s=this.results_data).length;t"+this.escape_html(s)+""+this.escape_html(p)),null!=a&&(a.group_match=!0)):null!=r.group_array_index&&this.results_data[r.group_array_index].search_match&&(r.search_match=!0)));return this.result_clear_highlight(),_<1&&h.length?(this.update_results_content(""),this.no_results(h)):(this.update_results_content(this.results_option_build()),(null!=t?t.skip_highlight:void 0)?void 0:this.winnow_results_set_highlight())},t.prototype.get_search_regex=function(t){var e,s;return s=this.search_contains?t:"(^|\\s|\\b)"+t+"[^\\s]*",this.enable_split_word_search||this.search_contains||(s="^"+s),e=this.case_sensitive_search?"":"i",new RegExp(s,e)},t.prototype.search_string_match=function(t,e){var s;return s=e.exec(t),!this.search_contains&&(null!=s?s[1]:void 0)&&(s.index+=1),s},t.prototype.choices_count=function(){var t,e,s;if(null!=this.selected_option_count)return this.selected_option_count;for(this.selected_option_count=0,t=0,e=(s=this.form_field.options).length;t0?this.keydown_backstroke():this.pending_backstroke||(this.result_clear_highlight(),this.results_search());break;case 13:t.preventDefault(),this.results_showing&&this.result_select(t);break;case 27:this.results_showing&&this.results_hide();break;case 9:case 16:case 17:case 18:case 38:case 40:case 91:break;default:this.results_search()}},t.prototype.clipboard_event_checker=function(t){if(!this.is_disabled)return setTimeout(function(t){return function(){return t.results_search()}}(this),50)},t.prototype.container_width=function(){return null!=this.options.width?this.options.width:this.form_field.offsetWidth+"px"},t.prototype.include_option_in_results=function(t){return!(this.is_multiple&&!this.display_selected_options&&t.selected)&&(!(!this.display_disabled_options&&t.disabled)&&!t.empty)},t.prototype.search_results_touchstart=function(t){return this.touch_started=!0,this.search_results_mouseover(t)},t.prototype.search_results_touchmove=function(t){return this.touch_started=!1,this.search_results_mouseout(t)},t.prototype.search_results_touchend=function(t){if(this.touch_started)return this.search_results_mouseup(t)},t.prototype.outerHTML=function(t){var e;return t.outerHTML?t.outerHTML:((e=document.createElement("div")).appendChild(t),e.innerHTML)},t.prototype.get_single_html=function(){return'\n '+this.default_text+'\n
\n
\n
\n \n
    \n
    '},t.prototype.get_multi_html=function(){return'
      \n
    • \n \n
    • \n
    \n
    \n
      \n
      '},t.prototype.get_no_results_html=function(t){return'
    • \n '+this.results_none_found+" "+this.escape_html(t)+"\n
    • "},t.browser_is_supported=function(){return"Microsoft Internet Explorer"===window.navigator.appName?document.documentMode>=8:!(/iP(od|hone)/i.test(window.navigator.userAgent)||/IEMobile/i.test(window.navigator.userAgent)||/Windows Phone/i.test(window.navigator.userAgent)||/BlackBerry/i.test(window.navigator.userAgent)||/BB10/i.test(window.navigator.userAgent)||/Android.*Mobile/i.test(window.navigator.userAgent))},t.default_multiple_text="Select Some Options",t.default_single_text="Select an Option",t.default_no_result_text="No results match",t}(),(t=jQuery).fn.extend({chosen:function(i){return e.browser_is_supported()?this.each(function(e){var n,r;r=(n=t(this)).data("chosen"),"destroy"!==i?r instanceof s||n.data("chosen",new s(this,i)):r instanceof s&&r.destroy()}):this}}),s=function(s){function n(){return n.__super__.constructor.apply(this,arguments)}return r(n,e),n.prototype.setup=function(){return this.form_field_jq=t(this.form_field),this.current_selectedIndex=this.form_field.selectedIndex},n.prototype.set_up_html=function(){var e,s;return(e=["chosen-container"]).push("chosen-container-"+(this.is_multiple?"multi":"single")),this.inherit_select_classes&&this.form_field.className&&e.push(this.form_field.className),this.is_rtl&&e.push("chosen-rtl"),s={"class":e.join(" "),title:this.form_field.title},this.form_field.id.length&&(s.id=this.form_field.id.replace(/[^\w]/g,"_")+"_chosen"),this.container=t("
      ",s),this.container.width(this.container_width()),this.is_multiple?this.container.html(this.get_multi_html()):this.container.html(this.get_single_html()),this.form_field_jq.hide().after(this.container),this.dropdown=this.container.find("div.chosen-drop").first(),this.search_field=this.container.find("input").first(),this.search_results=this.container.find("ul.chosen-results").first(),this.search_field_scale(),this.search_no_results=this.container.find("li.no-results").first(),this.is_multiple?(this.search_choices=this.container.find("ul.chosen-choices").first(),this.search_container=this.container.find("li.search-field").first()):(this.search_container=this.container.find("div.chosen-search").first(),this.selected_item=this.container.find(".chosen-single").first()),this.results_build(),this.set_tab_index(),this.set_label_behavior()},n.prototype.on_ready=function(){return this.form_field_jq.trigger("chosen:ready",{chosen:this})},n.prototype.register_observers=function(){return this.container.on("touchstart.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.container.on("touchend.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mousedown.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.container.on("mouseup.chosen",function(t){return function(e){t.container_mouseup(e)}}(this)),this.container.on("mouseenter.chosen",function(t){return function(e){t.mouse_enter(e)}}(this)),this.container.on("mouseleave.chosen",function(t){return function(e){t.mouse_leave(e)}}(this)),this.search_results.on("mouseup.chosen",function(t){return function(e){t.search_results_mouseup(e)}}(this)),this.search_results.on("mouseover.chosen",function(t){return function(e){t.search_results_mouseover(e)}}(this)),this.search_results.on("mouseout.chosen",function(t){return function(e){t.search_results_mouseout(e)}}(this)),this.search_results.on("mousewheel.chosen DOMMouseScroll.chosen",function(t){return function(e){t.search_results_mousewheel(e)}}(this)),this.search_results.on("touchstart.chosen",function(t){return function(e){t.search_results_touchstart(e)}}(this)),this.search_results.on("touchmove.chosen",function(t){return function(e){t.search_results_touchmove(e)}}(this)),this.search_results.on("touchend.chosen",function(t){return function(e){t.search_results_touchend(e)}}(this)),this.form_field_jq.on("chosen:updated.chosen",function(t){return function(e){t.results_update_field(e)}}(this)),this.form_field_jq.on("chosen:activate.chosen",function(t){return function(e){t.activate_field(e)}}(this)),this.form_field_jq.on("chosen:open.chosen",function(t){return function(e){t.container_mousedown(e)}}(this)),this.form_field_jq.on("chosen:close.chosen",function(t){return function(e){t.close_field(e)}}(this)),this.search_field.on("blur.chosen",function(t){return function(e){t.input_blur(e)}}(this)),this.search_field.on("keyup.chosen",function(t){return function(e){t.keyup_checker(e)}}(this)),this.search_field.on("keydown.chosen",function(t){return function(e){t.keydown_checker(e)}}(this)),this.search_field.on("focus.chosen",function(t){return function(e){t.input_focus(e)}}(this)),this.search_field.on("cut.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.search_field.on("paste.chosen",function(t){return function(e){t.clipboard_event_checker(e)}}(this)),this.is_multiple?this.search_choices.on("click.chosen",function(t){return function(e){t.choices_click(e)}}(this)):this.container.on("click.chosen",function(t){t.preventDefault()})},n.prototype.destroy=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.form_field_label.length>0&&this.form_field_label.off("click.chosen"),this.search_field[0].tabIndex&&(this.form_field_jq[0].tabIndex=this.search_field[0].tabIndex),this.container.remove(),this.form_field_jq.removeData("chosen"),this.form_field_jq.show()},n.prototype.search_field_disabled=function(){return this.is_disabled=this.form_field.disabled||this.form_field_jq.parents("fieldset").is(":disabled"),this.container.toggleClass("chosen-disabled",this.is_disabled),this.search_field[0].disabled=this.is_disabled,this.is_multiple||this.selected_item.off("focus.chosen",this.activate_field),this.is_disabled?this.close_field():this.is_multiple?void 0:this.selected_item.on("focus.chosen",this.activate_field)},n.prototype.container_mousedown=function(e){var s;if(!this.is_disabled)return!e||"mousedown"!==(s=e.type)&&"touchstart"!==s||this.results_showing||e.preventDefault(),null!=e&&t(e.target).hasClass("search-choice-close")?void 0:(this.active_field?this.is_multiple||!e||t(e.target)[0]!==this.selected_item[0]&&!t(e.target).parents("a.chosen-single").length||(e.preventDefault(),this.results_toggle()):(this.is_multiple&&this.search_field.val(""),t(this.container[0].ownerDocument).on("click.chosen",this.click_test_action),this.results_show()),this.activate_field())},n.prototype.container_mouseup=function(t){if("ABBR"===t.target.nodeName&&!this.is_disabled)return this.results_reset(t)},n.prototype.search_results_mousewheel=function(t){var e;if(t.originalEvent&&(e=t.originalEvent.deltaY||-t.originalEvent.wheelDelta||t.originalEvent.detail),null!=e)return t.preventDefault(),"DOMMouseScroll"===t.type&&(e*=40),this.search_results.scrollTop(e+this.search_results.scrollTop())},n.prototype.blur_test=function(t){if(!this.active_field&&this.container.hasClass("chosen-container-active"))return this.close_field()},n.prototype.close_field=function(){return t(this.container[0].ownerDocument).off("click.chosen",this.click_test_action),this.active_field=!1,this.results_hide(),this.container.removeClass("chosen-container-active"),this.clear_backstroke(),this.show_search_field_default(),this.search_field_scale(),this.search_field.blur()},n.prototype.activate_field=function(){if(!this.is_disabled)return this.container.addClass("chosen-container-active"),this.active_field=!0,this.search_field.val(this.search_field.val()),this.search_field.focus()},n.prototype.test_active_click=function(e){var s;return(s=t(e.target).closest(".chosen-container")).length&&this.container[0]===s[0]?this.active_field=!0:this.close_field()},n.prototype.results_build=function(){return this.parsing=!0,this.selected_option_count=null,this.results_data=i.select_to_array(this.form_field),this.is_multiple?this.search_choices.find("li.search-choice").remove():(this.single_set_selected_text(),this.disable_search||this.form_field.options.length<=this.disable_search_threshold?(this.search_field[0].readOnly=!0,this.container.addClass("chosen-container-single-nosearch")):(this.search_field[0].readOnly=!1,this.container.removeClass("chosen-container-single-nosearch"))),this.update_results_content(this.results_option_build({first:!0})),this.search_field_disabled(),this.show_search_field_default(),this.search_field_scale(),this.parsing=!1},n.prototype.result_do_highlight=function(t){var e,s,i,n,r;if(t.length){if(this.result_clear_highlight(),this.result_highlight=t,this.result_highlight.addClass("highlighted"),i=parseInt(this.search_results.css("maxHeight"),10),r=this.search_results.scrollTop(),n=i+r,s=this.result_highlight.position().top+this.search_results.scrollTop(),(e=s+this.result_highlight.outerHeight())>=n)return this.search_results.scrollTop(e-i>0?e-i:0);if(s0)return this.form_field_label.on("click.chosen",this.label_click_handler)},n.prototype.show_search_field_default=function(){return this.is_multiple&&this.choices_count()<1&&!this.active_field?(this.search_field.val(this.default_text),this.search_field.addClass("default")):(this.search_field.val(""),this.search_field.removeClass("default"))},n.prototype.search_results_mouseup=function(e){var s;if((s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first()).length)return this.result_highlight=s,this.result_select(e),this.search_field.focus()},n.prototype.search_results_mouseover=function(e){var s;if(s=t(e.target).hasClass("active-result")?t(e.target):t(e.target).parents(".active-result").first())return this.result_do_highlight(s)},n.prototype.search_results_mouseout=function(e){if(t(e.target).hasClass("active-result")||t(e.target).parents(".active-result").first())return this.result_clear_highlight()},n.prototype.choice_build=function(e){var s,i;return s=t("
    • ",{"class":"search-choice"}).html(""+this.choice_label(e)+""),e.disabled?s.addClass("search-choice-disabled"):((i=t("",{"class":"search-choice-close","data-option-array-index":e.array_index})).on("click.chosen",function(t){return function(e){return t.choice_destroy_link_click(e)}}(this)),s.append(i)),this.search_container.before(s)},n.prototype.choice_destroy_link_click=function(e){if(e.preventDefault(),e.stopPropagation(),!this.is_disabled)return this.choice_destroy(t(e.target))},n.prototype.choice_destroy=function(t){if(this.result_deselect(t[0].getAttribute("data-option-array-index")))return this.active_field?this.search_field.focus():this.show_search_field_default(),this.is_multiple&&this.choices_count()>0&&this.get_search_field_value().length<1&&this.results_hide(),t.parents("li").first().remove(),this.search_field_scale()},n.prototype.results_reset=function(){if(this.reset_single_select_options(),this.form_field.options[0].selected=!0,this.single_set_selected_text(),this.show_search_field_default(),this.results_reset_cleanup(),this.trigger_form_field_change(),this.active_field)return this.results_hide()},n.prototype.results_reset_cleanup=function(){return this.current_selectedIndex=this.form_field.selectedIndex,this.selected_item.find("abbr").remove()},n.prototype.result_select=function(t){var e,s;if(this.result_highlight)return e=this.result_highlight,this.result_clear_highlight(),this.is_multiple&&this.max_selected_options<=this.choices_count()?(this.form_field_jq.trigger("chosen:maxselected",{chosen:this}),!1):(this.is_multiple?e.removeClass("active-result"):this.reset_single_select_options(),e.addClass("result-selected"),s=this.results_data[e[0].getAttribute("data-option-array-index")],s.selected=!0,this.form_field.options[s.options_index].selected=!0,this.selected_option_count=null,this.is_multiple?this.choice_build(s):this.single_set_selected_text(this.choice_label(s)),this.is_multiple&&(!this.hide_results_on_select||t.metaKey||t.ctrlKey)?t.metaKey||t.ctrlKey?this.winnow_results({skip_highlight:!0}):(this.search_field.val(""),this.winnow_results()):(this.results_hide(),this.show_search_field_default()),(this.is_multiple||this.form_field.selectedIndex!==this.current_selectedIndex)&&this.trigger_form_field_change({selected:this.form_field.options[s.options_index].value}),this.current_selectedIndex=this.form_field.selectedIndex,t.preventDefault(),this.search_field_scale())},n.prototype.single_set_selected_text=function(t){return null==t&&(t=this.default_text),t===this.default_text?this.selected_item.addClass("chosen-default"):(this.single_deselect_control_build(),this.selected_item.removeClass("chosen-default")),this.selected_item.find("span").html(t)},n.prototype.result_deselect=function(t){var e;return e=this.results_data[t],!this.form_field.options[e.options_index].disabled&&(e.selected=!1,this.form_field.options[e.options_index].selected=!1,this.selected_option_count=null,this.result_clear_highlight(),this.results_showing&&this.winnow_results(),this.trigger_form_field_change({deselected:this.form_field.options[e.options_index].value}),this.search_field_scale(),!0)},n.prototype.single_deselect_control_build=function(){if(this.allow_single_deselect)return this.selected_item.find("abbr").length||this.selected_item.find("span").first().after(''),this.selected_item.addClass("chosen-single-with-deselect")},n.prototype.get_search_field_value=function(){return this.search_field.val()},n.prototype.get_search_text=function(){return t.trim(this.get_search_field_value())},n.prototype.escape_html=function(e){return t("
      ").text(e).html()},n.prototype.winnow_results_set_highlight=function(){var t,e;if(e=this.is_multiple?[]:this.search_results.find(".result-selected.active-result"),null!=(t=e.length?e.first():this.search_results.find(".active-result").first()))return this.result_do_highlight(t)},n.prototype.no_results=function(t){var e;return e=this.get_no_results_html(t),this.search_results.append(e),this.form_field_jq.trigger("chosen:no_results",{chosen:this})},n.prototype.no_results_clear=function(){return this.search_results.find(".no-results").remove()},n.prototype.keydown_arrow=function(){var t;return this.results_showing&&this.result_highlight?(t=this.result_highlight.nextAll("li.active-result").first())?this.result_do_highlight(t):void 0:this.results_show()},n.prototype.keyup_arrow=function(){var t;return this.results_showing||this.is_multiple?this.result_highlight?(t=this.result_highlight.prevAll("li.active-result")).length?this.result_do_highlight(t.first()):(this.choices_count()>0&&this.results_hide(),this.result_clear_highlight()):void 0:this.results_show()},n.prototype.keydown_backstroke=function(){var t;return this.pending_backstroke?(this.choice_destroy(this.pending_backstroke.find("a").first()),this.clear_backstroke()):(t=this.search_container.siblings("li.search-choice").last()).length&&!t.hasClass("search-choice-disabled")?(this.pending_backstroke=t,this.single_backstroke_delete?this.keydown_backstroke():this.pending_backstroke.addClass("search-choice-focus")):void 0},n.prototype.clear_backstroke=function(){return this.pending_backstroke&&this.pending_backstroke.removeClass("search-choice-focus"),this.pending_backstroke=null},n.prototype.search_field_scale=function(){var e,s,i,n,r,o,h;if(this.is_multiple){for(r={position:"absolute",left:"-1000px",top:"-1000px",display:"none",whiteSpace:"pre"},s=0,i=(o=["fontSize","fontStyle","fontWeight","fontFamily","lineHeight","textTransform","letterSpacing"]).length;s").css(r)).text(this.get_search_field_value()),t("body").append(e),h=e.width()+25,e.remove(),this.container.is(":visible")&&(h=Math.min(this.container.outerWidth()-10,h)),this.search_field.width(h)}},n.prototype.trigger_form_field_change=function(t){return this.form_field_jq.trigger("input",t),this.form_field_jq.trigger("change",t)},n}()}(); /****** end js file: chosen.jquery.min.js ******/ /****** js file: aos.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/core/js/aos/aos.js ******/ /****** last modified: 1663866156 (2022-09-22 12:02:36) ******/ !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.AOS=t():e.AOS=t()}(this,function(){return function(e){function t(o){if(n[o])return n[o].exports;var i=n[o]={exports:{},id:o,loaded:!1};return e[o].call(i.exports,i,i.exports,t),i.loaded=!0,i.exports}var n={};return t.m=e,t.c=n,t.p="dist/",t(0)}([function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}var i=Object.assign||function(e){for(var t=1;t0&&void 0!==arguments[0]&&arguments[0];if(e&&(k=!0),k)return w=(0,y.default)(w,x),(0,b.default)(w,x.once),w},O=function(){w=(0,h.default)(),j()},M=function(){w.forEach(function(e,t){e.node.removeAttribute("data-aos"),e.node.removeAttribute("data-aos-easing"),e.node.removeAttribute("data-aos-duration"),e.node.removeAttribute("data-aos-delay")})},S=function(e){return e===!0||"mobile"===e&&p.default.mobile()||"phone"===e&&p.default.phone()||"tablet"===e&&p.default.tablet()||"function"==typeof e&&e()===!0},_=function(e){x=i(x,e),w=(0,h.default)();var t=document.all&&!window.atob;return S(x.disable)||t?M():(x.disableMutationObserver||d.default.isSupported()||(console.info('\n aos: MutationObserver is not supported on this browser,\n code mutations observing has been disabled.\n You may have to call "refreshHard()" by yourself.\n '),x.disableMutationObserver=!0),document.querySelector("body").setAttribute("data-aos-easing",x.easing),document.querySelector("body").setAttribute("data-aos-duration",x.duration),document.querySelector("body").setAttribute("data-aos-delay",x.delay),"DOMContentLoaded"===x.startEvent&&["complete","interactive"].indexOf(document.readyState)>-1?j(!0):"load"===x.startEvent?window.addEventListener(x.startEvent,function(){j(!0)}):document.addEventListener(x.startEvent,function(){j(!0)}),window.addEventListener("resize",(0,s.default)(j,x.debounceDelay,!0)),window.addEventListener("orientationchange",(0,s.default)(j,x.debounceDelay,!0)),window.addEventListener("scroll",(0,u.default)(function(){(0,b.default)(w,x.once)},x.throttleDelay)),x.disableMutationObserver||d.default.ready("[data-aos]",O),w)};e.exports={init:_,refresh:j,refreshHard:O}},function(e,t){},,,,,function(e,t){(function(t){"use strict";function n(e,t,n){function o(t){var n=b,o=v;return b=v=void 0,k=t,g=e.apply(o,n)}function r(e){return k=e,h=setTimeout(f,t),M?o(e):g}function a(e){var n=e-w,o=e-k,i=t-n;return S?j(i,y-o):i}function c(e){var n=e-w,o=e-k;return void 0===w||n>=t||n<0||S&&o>=y}function f(){var e=O();return c(e)?d(e):void(h=setTimeout(f,a(e)))}function d(e){return h=void 0,_&&b?o(e):(b=v=void 0,g)}function l(){void 0!==h&&clearTimeout(h),k=0,b=w=v=h=void 0}function p(){return void 0===h?g:d(O())}function m(){var e=O(),n=c(e);if(b=arguments,v=this,w=e,n){if(void 0===h)return r(w);if(S)return h=setTimeout(f,t),o(w)}return void 0===h&&(h=setTimeout(f,t)),g}var b,v,y,g,h,w,k=0,M=!1,S=!1,_=!0;if("function"!=typeof e)throw new TypeError(s);return t=u(t)||0,i(n)&&(M=!!n.leading,S="maxWait"in n,y=S?x(u(n.maxWait)||0,t):y,_="trailing"in n?!!n.trailing:_),m.cancel=l,m.flush=p,m}function o(e,t,o){var r=!0,a=!0;if("function"!=typeof e)throw new TypeError(s);return i(o)&&(r="leading"in o?!!o.leading:r,a="trailing"in o?!!o.trailing:a),n(e,t,{leading:r,maxWait:t,trailing:a})}function i(e){var t="undefined"==typeof e?"undefined":c(e);return!!e&&("object"==t||"function"==t)}function r(e){return!!e&&"object"==("undefined"==typeof e?"undefined":c(e))}function a(e){return"symbol"==("undefined"==typeof e?"undefined":c(e))||r(e)&&k.call(e)==d}function u(e){if("number"==typeof e)return e;if(a(e))return f;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(l,"");var n=m.test(e);return n||b.test(e)?v(e.slice(2),n?2:8):p.test(e)?f:+e}var c="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},s="Expected a function",f=NaN,d="[object Symbol]",l=/^\s+|\s+$/g,p=/^[-+]0x[0-9a-f]+$/i,m=/^0b[01]+$/i,b=/^0o[0-7]+$/i,v=parseInt,y="object"==("undefined"==typeof t?"undefined":c(t))&&t&&t.Object===Object&&t,g="object"==("undefined"==typeof self?"undefined":c(self))&&self&&self.Object===Object&&self,h=y||g||Function("return this")(),w=Object.prototype,k=w.toString,x=Math.max,j=Math.min,O=function(){return h.Date.now()};e.exports=o}).call(t,function(){return this}())},function(e,t){(function(t){"use strict";function n(e,t,n){function i(t){var n=b,o=v;return b=v=void 0,O=t,g=e.apply(o,n)}function r(e){return O=e,h=setTimeout(f,t),M?i(e):g}function u(e){var n=e-w,o=e-O,i=t-n;return S?x(i,y-o):i}function s(e){var n=e-w,o=e-O;return void 0===w||n>=t||n<0||S&&o>=y}function f(){var e=j();return s(e)?d(e):void(h=setTimeout(f,u(e)))}function d(e){return h=void 0,_&&b?i(e):(b=v=void 0,g)}function l(){void 0!==h&&clearTimeout(h),O=0,b=w=v=h=void 0}function p(){return void 0===h?g:d(j())}function m(){var e=j(),n=s(e);if(b=arguments,v=this,w=e,n){if(void 0===h)return r(w);if(S)return h=setTimeout(f,t),i(w)}return void 0===h&&(h=setTimeout(f,t)),g}var b,v,y,g,h,w,O=0,M=!1,S=!1,_=!0;if("function"!=typeof e)throw new TypeError(c);return t=a(t)||0,o(n)&&(M=!!n.leading,S="maxWait"in n,y=S?k(a(n.maxWait)||0,t):y,_="trailing"in n?!!n.trailing:_),m.cancel=l,m.flush=p,m}function o(e){var t="undefined"==typeof e?"undefined":u(e);return!!e&&("object"==t||"function"==t)}function i(e){return!!e&&"object"==("undefined"==typeof e?"undefined":u(e))}function r(e){return"symbol"==("undefined"==typeof e?"undefined":u(e))||i(e)&&w.call(e)==f}function a(e){if("number"==typeof e)return e;if(r(e))return s;if(o(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=o(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=e.replace(d,"");var n=p.test(e);return n||m.test(e)?b(e.slice(2),n?2:8):l.test(e)?s:+e}var u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},c="Expected a function",s=NaN,f="[object Symbol]",d=/^\s+|\s+$/g,l=/^[-+]0x[0-9a-f]+$/i,p=/^0b[01]+$/i,m=/^0o[0-7]+$/i,b=parseInt,v="object"==("undefined"==typeof t?"undefined":u(t))&&t&&t.Object===Object&&t,y="object"==("undefined"==typeof self?"undefined":u(self))&&self&&self.Object===Object&&self,g=v||y||Function("return this")(),h=Object.prototype,w=h.toString,k=Math.max,x=Math.min,j=function(){return g.Date.now()};e.exports=n}).call(t,function(){return this}())},function(e,t){"use strict";function n(e){var t=void 0,o=void 0,i=void 0;for(t=0;te.position?e.node.classList.add("aos-animate"):"undefined"!=typeof o&&("false"===o||!n&&"true"!==o)&&e.node.classList.remove("aos-animate")},o=function(e,t){var o=window.pageYOffset,i=window.innerHeight;e.forEach(function(e,r){n(e,i+o,t)})};t.default=o},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(12),r=o(i),a=function(e,t){return e.forEach(function(e,n){e.node.classList.add("aos-init"),e.position=(0,r.default)(e.node,t.offset)}),e};t.default=a},function(e,t,n){"use strict";function o(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var i=n(13),r=o(i),a=function(e,t){var n=0,o=0,i=window.innerHeight,a={offset:e.getAttribute("data-aos-offset"),anchor:e.getAttribute("data-aos-anchor"),anchorPlacement:e.getAttribute("data-aos-anchor-placement")};switch(a.offset&&!isNaN(a.offset)&&(o=parseInt(a.offset)),a.anchor&&document.querySelectorAll(a.anchor)&&(e=document.querySelectorAll(a.anchor)[0]),n=(0,r.default)(e).top,a.anchorPlacement){case"top-bottom":break;case"center-bottom":n+=e.offsetHeight/2;break;case"bottom-bottom":n+=e.offsetHeight;break;case"top-center":n+=i/2;break;case"bottom-center":n+=i/2+e.offsetHeight;break;case"center-center":n+=i/2+e.offsetHeight/2;break;case"top-top":n+=i;break;case"bottom-top":n+=e.offsetHeight+i;break;case"center-top":n+=e.offsetHeight/2+i}return a.anchorPlacement||a.offset||isNaN(t)||(o=t),n+o};t.default=a},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){for(var t=0,n=0;e&&!isNaN(e.offsetLeft)&&!isNaN(e.offsetTop);)t+=e.offsetLeft-("BODY"!=e.tagName?e.scrollLeft:0),n+=e.offsetTop-("BODY"!=e.tagName?e.scrollTop:0),e=e.offsetParent;return{top:n,left:t}};t.default=n},function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=function(e){return e=e||document.querySelectorAll("[data-aos]"),Array.prototype.map.call(e,function(e){return{node:e}})};t.default=n}])}); /****** end js file: aos.js ******/ /****** js file: bootstrap_menu_tree.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/plugins/menu_tree/bootstrap_menu_tree.js ******/ /****** last modified: 1663866125 (2022-09-22 12:02:05) ******/ var navbar_li_clicked=!1;var navbar=document.getElementsByClassName('navbar')[0];if(navbar!==undefined){var navbar_classes=navbar.getAttribute('class').split(/\s+/);var screen_size_min=991;navbar_classes.forEach(function(v){var index=v.lastIndexOf('-')+1;var size=v.substring(index,v.length);switch(size){case 'sm':screen_size_min=576;break;case 'md':screen_size_min=767;break;case 'lg':screen_size_min=991;break;case 'xl':screen_size_min=1199;break}})} var navbar_li='';var navabar_links=document.querySelectorAll('.navbar .nav a');navabar_links.forEach(link=>{link.addEventListener('click',function(e){if($(window).width()<=screen_size_min){var link_parent=link.parentElement;var dropdown_menus='';if(link_parent.classList.contains('haschild')){e.preventDefault();e.stopPropagation();if(typeof link_parent.dataset.open!="undefined"&&link_parent.dataset.open=="yes"){link_parent.getElementsByClassName('dropdown-menu')[0].style.display='none';link_parent.dataset.open="no"}else{link_parent.getElementsByClassName('dropdown-menu')[0].style.display='block';link_parent.dataset.open="yes"}}}else if(link.getAttribute('href')=='#'){e.preventDefault();e.stopPropagation()}})});$(document).ready(update_menu_directions);$(window).resize(update_menu_directions);function update_menu_directions(){"use strict";let menus=document.getElementsByClassName("navbar-nav");for(let i=0;ihalf){menus[i].classList.add("left-menu")}}}; /****** end js file: bootstrap_menu_tree.js ******/ /****** js file: w.c.header_navigation.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/plugins/widgets/widgets/w.c.header_navigation.js ******/ /****** last modified: 1663866130 (2022-09-22 12:02:10) ******/ $(function(){var $navigation=$('.ai_header_navigation');if(typeof current_edit_mode_state==='undefined'){current_edit_mode_state=!1}else{if($("#ai_top_bar").length){$navigation.addClass('admin_bar');$('body').addClass('admin_bar')}} $('.edit_toggle_button').click(function(){if(current_edit_mode_state){$navigation.css({'position':'unset'});$('body').removeClass('ai_header_navigation_in_front');$navigation.addClass('navigation_edit');$('body').addClass('ai_edit')}else{$navigation.css({'position':''});$navigation.removeClass('navigation_edit');$('body').removeClass('ai_edit');if(!$('.ai_header_navigation').hasClass('in_front')&&$('.ai_header_navigation').hasClass('fixed-top')){$('body').addClass('ai_header_navigation_in_front')}}});$('body').on('click','[id*="edit_toggle_button"]',function(){if(current_edit_mode_state){$navigation.css({'position':'unset'});$('body').removeClass('ai_header_navigation_in_front');$navigation.addClass('navigation_edit');$('body').addClass('ai_edit')}else{$navigation.css({'position':''});$navigation.removeClass('navigation_edit');$('body').removeClass('ai_edit');if(!$('.ai_header_navigation').hasClass('in_front')&&$('.ai_header_navigation').hasClass('fixed-top')){$('body').addClass('ai_header_navigation_in_front')}}});if(current_edit_mode_state){$navigation.css({'position':'unset'})}else{$navigation.css({'position':''})} if(!$('.ai_header_navigation').hasClass('in_front')&&$('.ai_header_navigation').hasClass('fixed-top')){$('body').addClass('ai_header_navigation_in_front')}else if($('.ai_header_navigation').hasClass('in_front')&&$('.ai_header_navigation').hasClass('fixed-top')){$('body').addClass('ai_header_navigation_fixed_top')} if($('.ai_header_navigation .toolbar').length>0){$('body').addClass('ai_header_navigation_toolbar')}else if($('.ai_header_navigation .toolbar').length==0){$('body').addClass('ai_header_navigation_no_toolbar')}}); /****** end js file: w.c.header_navigation.js ******/ /****** js file: display.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/plugins/dynamic_areas/crep/bootstrap_carousel/display.js ******/ /****** last modified: 1715356753 (2024-05-10 10:59:13) ******/ var video_class='.bootstrap_carousel .slide-1 .carousel-video-inner';if($(video_class).length){var video=$(video_class+' #video-player')[0];createVideo(video)} $(window).load(function(){var $dynamic_area=$('.bootstrap_carousel .dynamic_area');if(typeof current_edit_mode_state==='undefined')current_edit_mode_state=!1;$('.edit_toggle_button').click(function(){if(current_edit_mode_state){$dynamic_area.css({'outline':'1px dotted rgb(255, 0, 0)'})}else{$dynamic_area.css({'outline':''})}});$('body').on('click','[id*="edit_toggle_button"]',function(){if(current_edit_mode_state){$dynamic_area.css({'outline':'1px dotted rgb(255, 0, 0)'})}else{$dynamic_area.css({'outline':''})}});if(current_edit_mode_state){$dynamic_area.css({'outline':'1px dotted rgb(255, 0, 0)'})}else{$dynamic_area.css({'outline':''})} $('carousel-item[data-url]').click(function(){window.location.href=$(this).attr('data-url')});$('.bootstrap_carousel').on('slide.bs.carousel',function(e){var next=$(e.relatedTarget).index();var video=$('#video-player')[0];var videoSlide=$('#video-player').closest('.carousel-item').index();if(next===videoSlide&&video==='undefined'){if(video.tagName=='IFRAME'){player.playVideo()}else{createVideo(video)}}else if(video==='undefined'){if(typeof player!=='undefined'){player.pauseVideo()}}})});function createVideo(video){var youtubeScriptId="youtube-api";var youtubeScript=document.getElementById(youtubeScriptId);var videoId=video.getAttribute("data-video-id");if(youtubeScript===null){var tag=document.createElement("script");var firstScript=document.getElementsByTagName("script")[0];tag.src="https://www.youtube.com/iframe_api";tag.id=youtubeScriptId;firstScript.parentNode.insertBefore(tag,firstScript)} window.onYouTubeIframeAPIReady=function(){window.player=new window.YT.Player(video,{videoId:videoId,playerVars:{autoplay:1,modestbranding:1,rel:0}})}}; /****** end js file: display.js ******/ /****** js file: landing_pages.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/plugins/landing_pages/landing_pages.js ******/ /****** last modified: 1693423471 (2023-08-30 14:24:31) ******/ Date.prototype.stdTimezoneOffset=function(){var jan=new Date(this.getFullYear(),0,1);var jul=new Date(this.getFullYear(),6,1);return Math.max(jan.getTimezoneOffset(),jul.getTimezoneOffset())};$(function(){"use strict";var d=new Date();var gmt_hundred_hours=Math.floor(d.stdTimezoneOffset()/60)*100;var gmt_minutes=d.stdTimezoneOffset()%60;var gmt_formated=-1*(gmt_hundred_hours+gmt_minutes);$('input[name=gmt_offset]').val(gmt_formated);let lp_phones=document.getElementsByClassName("lp_phone_format");for(const phone_input of lp_phones){phone_input.addEventListener("blur",(event)=>{let field=event.currentTarget;field.value=lp_format_phone_number(field.value)})}});var prev_user='';var prev_pass='';function check_username(usrname){if(usrname.length>2&&usrname!=prev_user){prev_user=usrname;$.ajax({type:'GET',url:'landing_page_ajax.php?lp_ajax=check_username&username='+escape(usrname),success:function(data){err=(data.length>50)?'Error in response!':data;if(data.substr(0,2)=='OK')username_result(!0);else username_result(!1,err)}})}else if(usrname.length<3){var msg="Username must be at least 3 characters.";var $err=$("#landing_pages_js_msgs");if($err.length){msg2=$err.data("username_3_char");if(typeof(msg2)!="undefined"){msg=msg2}} username_result(!1,msg)}} function check_password(passwd){if(passwd.length>2&&passwd!=prev_user){prev_pass=passwd;$.ajax({type:'GET',url:'landing_page_ajax.php?lp_ajax=check_password&password='+escape(passwd),success:function(data){err=(data.length>50)?'Error in response!':data;if(data.substr(0,2)=='OK')password_result(!0);else password_result(!1,err)}})}else if(passwd.length<7){var msg="Password must be at least 7 characters.";var $err=$("#landing_pages_js_msgs");if($err.length){msg2=$err.data("password_7_char");if(typeof(msg2)!="undefined"){msg=msg2}} password_result(!1,msg)}} function check_retype_password(passwd,repasswd){if(passwd!=repasswd){if($('#password_confirm_output_bootstrap').length>0){$('#password_confirm_output_bootstrap').addClass('invalid-feedback').removeClass('valid-feedback').html('Passwords do not match');$('#password_confirm_output_bootstrap').parent().find('.form-control').addClass('is-invalid').removeClass('is-valid')}else{password_result(!1,'Passwords do not match')}}else{if($('#password_confirm_output_bootstrap').length>0){$('#password_confirm_output_bootstrap').removeClass('invalid-feedback').html('');$('#password_confirm_output_bootstrap').parent().find('.form-control').removeClass('is-invalid').addClass('is-valid')} check_password(passwd)}} function username_result(isgood,whyfail){$("#sign_up_error")[(isgood?'hide':'show')](0);$("#sign_up_error_top")[(isgood?'hide':'show')](0);var msg_good="Username passes validation.";var msg_fail="The username is unavailable, please select another.";var $custom_msgs=$("#landing_pages_js_msgs");if($custom_msgs.length){var msg_good_alt=$custom_msgs.data("username_good");if(typeof(msg_good_alt)!="undefined"){msg_good=msg_good_alt} var msg_fail_alt=$custom_msgs.data("username_fail");if(typeof(msg_fail_alt)!="undefined"){msg_fail=msg_fail_alt}} if(isgood){if($('#username_output_bootstrap').length>0){$('#username_output_bootstrap').removeClass('invalid-feedback').html('');$('#username_output_bootstrap').parent().find('.form-control').removeClass('is-invalid').addClass('is-valid')}else{$("#username_output").html('OK
      '+msg_good+'
      ').show()}}else{if($('#username_output_bootstrap').length>0){$('#username_output_bootstrap').addClass('invalid-feedback').removeClass('valid-feedback').html(whyfail||msg_fail);$('#username_output_bootstrap').parent().find('.form-control').addClass('is-invalid').removeClass('is-valid')}else{$("#username_output").html('!
      '+(whyfail||msg_fail)+'
      ').show()}}} function password_result(isgood,whyfail){$("#sign_up_error")[(isgood?'hide':'show')](0);$("#sign_up_error_top")[(isgood?'hide':'show')](0);var msg_good="Password passes validation.";var msg_fail="Should be 7 characters long, and have at least 1 number.";var $custom_msgs=$("#landing_pages_js_msgs");if($custom_msgs.length){var msg_good_alt=$custom_msgs.data("password_good");if(typeof(msg_good_alt)!="undefined"){msg_good=msg_good_alt} var msg_fail_alt=$custom_msgs.data("password_fail");if(typeof(msg_fail_alt)!="undefined"){msg_fail=msg_fail_alt}} if(isgood){if($('#password_output_bootstrap').length>0){$('#password_output_bootstrap').removeClass('invalid-feedback').html('');$('#password_output_bootstrap').parent().find('.form-control').removeClass('is-invalid').addClass('is-valid')}else{$("#password_output").html('OK
      '+msg_good+'
      ').show()}}else{if($('#password_output_bootstrap').length>0){$('#password_output_bootstrap').addClass('invalid-feedback').removeClass('valid-feedback').html(whyfail||msg_fail);$('#password_output_bootstrap').parent().find('.form-control').addClass('is-invalid').removeClass('is-valid')}else{$("#password_output").html('!
      '+(whyfail||msg_fail)+'
      ').show()}} if(isgood){$("#password_output").html('OK
      '+msg_good+'
      ').show()}else{$("#password_output").html('!
      '+(whyfail||msg_fail)+'
      ').show()}} function lp_format_phone_number(orig_phone){"use strict";let phone_num=orig_phone;let new_phone="";phone_num=phone_num.replace(/[^0-9x]/g,"");let ext_pos=phone_num.indexOf("x") let ext="";if(ext_pos!=-1){ext=phone_num.substr(ext_pos+1);phone_num=phone_num.substr(0,ext_pos)} if(phone_num.length>10){let country_code=phone_num.substr(0,phone_num.length-10);phone_num=phone_num.substr(phone_num.length-10);if(country_code!="1"){new_phone="+"+country_code+" "}} if(phone_num.length==10){let area_code=phone_num.substr(0,3);new_phone+="("+area_code+") ";phone_num=phone_num.substr(3)} if(phone_num.length==7){let first_three=phone_num.substr(0,3);let last_four=phone_num.substr(3);new_phone+=first_three+"-"+last_four} if(ext!=""){new_phone+=" x "+ext} if(new_phone==""){return orig_phone} return new_phone}; /****** end js file: landing_pages.js ******/ /****** js file: aitips.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/plugins/tips/aitips.js ******/ /****** last modified: 1663866124 (2022-09-22 12:02:04) ******/ ; /****** end js file: aitips.js ******/ /****** js file: ai_tracking.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/plugins/ai_tracking/ai_tracking.js ******/ /****** last modified: 1663866141 (2022-09-22 12:02:21) ******/ var ai_track_response='unused';var ai_track_asynchronous=!0;function ai_track(event_name,key_type,key,owner_id,subkey,lead_tag_list,lead_status,lead_note){if(typeof(key_type)=='undefined')key_type='';if(typeof(key)=='undefined')key_type=0;if(typeof(owner_id)=='undefined')owner_id=0;if(typeof(subkey)=='undefined')subkey=0;if(typeof(lead_tag_list)=='undefined')lead_tag_list='';if(typeof(lead_status)=='undefined')lead_status='';if(typeof(lead_note)=='undefined')lead_note='';current_page_request=window.location.href.replace(/^(?:\/\/|[^\/]+)*\//,"");$.ajax({async:ai_track_asynchronous,url:'ai_tracking_trigger?event_name='+encodeURIComponent(event_name)+'&key_type='+encodeURIComponent(key_type)+'&key='+encodeURIComponent(key)+'&owner_id='+encodeURIComponent(owner_id)+'&subkey='+encodeURIComponent(subkey)+'&lead_tag_list='+encodeURIComponent(lead_tag_list)+'&lead_status='+encodeURIComponent(lead_status)+'&lead_note='+encodeURIComponent(lead_note)+'¤t_page_request='+encodeURIComponent(current_page_request),success:function(data){ai_track_response=data},fail:function(){alert("error")}})}; /****** end js file: ai_tracking.js ******/ /****** js file: jarallax.min.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/js/jarallax/dist/jarallax.min.js ******/ /****** last modified: 1663866015 (2022-09-22 12:00:15) ******/ /*! * Name : Just Another Parallax [Jarallax] * Version : 1.12.8 * Author : nK * GitHub : https://github.com/nk-o/jarallax */!function(){var n={2:function(e,t,n){n="undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};e.exports=n},1:function(e){e.exports=function(e){"complete"===document.readyState||"interactive"===document.readyState?e.call():document.attachEvent?document.attachEvent("onreadystatechange",function(){"interactive"===document.readyState&&e.call()}):document.addEventListener&&document.addEventListener("DOMContentLoaded",e)}},8:function(e,t,n){"use strict";n.r(t);var o=n(1),o=n.n(o),f=n(2);function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var o,i,a=[],r=!0,l=!1;try{for(n=n.call(e);!(r=(o=n.next()).done)&&(a.push(o.value),!t||a.length!==t);r=!0);}catch(e){l=!0,i=e}finally{try{r||null==n.return||n.return()}finally{if(l)throw i}}return a}}(e,t)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Map"===(n="Object"===n&&e.constructor?e.constructor.name:n)||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};s.jQueryDetection(),e.fn.emulateTransitionEnd=r,e.event.special[s.TRANSITION_END]={bindType:"transitionend",delegateType:"transitionend",handle:function(t){if(e(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var a="alert",l=e.fn[a],c=function(){function t(t){this._element=t}var n=t.prototype;return n.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},n.dispose=function(){e.removeData(this._element,"bs.alert"),this._element=null},n._getRootElement=function(t){var n=s.getSelectorFromElement(t),i=!1;return n&&(i=document.querySelector(n)),i||(i=e(t).closest(".alert")[0]),i},n._triggerCloseEvent=function(t){var n=e.Event("close.bs.alert");return e(t).trigger(n),n},n._removeElement=function(t){var n=this;if(e(t).removeClass("show"),e(t).hasClass("fade")){var i=s.getTransitionDurationFromElement(t);e(t).one(s.TRANSITION_END,(function(e){return n._destroyElement(t,e)})).emulateTransitionEnd(i)}else this._destroyElement(t)},n._destroyElement=function(t){e(t).detach().trigger("closed.bs.alert").remove()},t._jQueryInterface=function(n){return this.each((function(){var i=e(this),o=i.data("bs.alert");o||(o=new t(this),i.data("bs.alert",o)),"close"===n&&o[n](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},i(t,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),t}();e(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',c._handleDismiss(new c)),e.fn[a]=c._jQueryInterface,e.fn[a].Constructor=c,e.fn[a].noConflict=function(){return e.fn[a]=l,c._jQueryInterface};var h=e.fn.button,u=function(){function t(t){this._element=t}var n=t.prototype;return n.toggle=function(){var t=!0,n=!0,i=e(this._element).closest('[data-toggle="buttons"]')[0];if(i){var o=this._element.querySelector('input:not([type="hidden"])');if(o){if("radio"===o.type)if(o.checked&&this._element.classList.contains("active"))t=!1;else{var r=i.querySelector(".active");r&&e(r).removeClass("active")}t&&("checkbox"!==o.type&&"radio"!==o.type||(o.checked=!this._element.classList.contains("active")),e(o).trigger("change")),o.focus(),n=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(n&&this._element.setAttribute("aria-pressed",!this._element.classList.contains("active")),t&&e(this._element).toggleClass("active"))},n.dispose=function(){e.removeData(this._element,"bs.button"),this._element=null},t._jQueryInterface=function(n){return this.each((function(){var i=e(this).data("bs.button");i||(i=new t(this),e(this).data("bs.button",i)),"toggle"===n&&i[n]()}))},i(t,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),t}();e(document).on("click.bs.button.data-api",'[data-toggle^="button"]',(function(t){var n=t.target,i=n;if(e(n).hasClass("btn")||(n=e(n).closest(".btn")[0]),!n||n.hasAttribute("disabled")||n.classList.contains("disabled"))t.preventDefault();else{var o=n.querySelector('input:not([type="hidden"])');if(o&&(o.hasAttribute("disabled")||o.classList.contains("disabled")))return void t.preventDefault();("LABEL"!==i.tagName||o&&"checkbox"!==o.type)&&u._jQueryInterface.call(e(n),"toggle")}})).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',(function(t){var n=e(t.target).closest(".btn")[0];e(n).toggleClass("focus",/^focus(in)?$/.test(t.type))})),e(window).on("load.bs.button.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),e=0,n=t.length;e0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var n=t.prototype;return n.next=function(){this._isSliding||this._slide("next")},n.nextWhenVisible=function(){!document.hidden&&e(this._element).is(":visible")&&"hidden"!==e(this._element).css("visibility")&&this.next()},n.prev=function(){this._isSliding||this._slide("prev")},n.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(s.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},n.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},n.to=function(t){var n=this;this._activeElement=this._element.querySelector(".active.carousel-item");var i=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)e(this._element).one("slid.bs.carousel",(function(){return n.to(t)}));else{if(i===t)return this.pause(),void this.cycle();var o=t>i?"next":"prev";this._slide(o,this._items[t])}},n.dispose=function(){e(this._element).off(d),e.removeData(this._element,"bs.carousel"),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},n._getConfig=function(t){return t=o({},m,t),s.typeCheckConfig(f,t,g),t},n._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},n._addEventListeners=function(){var t=this;this._config.keyboard&&e(this._element).on("keydown.bs.carousel",(function(e){return t._keydown(e)})),"hover"===this._config.pause&&e(this._element).on("mouseenter.bs.carousel",(function(e){return t.pause(e)})).on("mouseleave.bs.carousel",(function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},n._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var n=function(e){t._pointerEvent&&_[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},i=function(e){t._pointerEvent&&_[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(e){return t.cycle(e)}),500+t._config.interval))};e(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(function(t){return t.preventDefault()})),this._pointerEvent?(e(this._element).on("pointerdown.bs.carousel",(function(t){return n(t)})),e(this._element).on("pointerup.bs.carousel",(function(t){return i(t)})),this._element.classList.add("pointer-event")):(e(this._element).on("touchstart.bs.carousel",(function(t){return n(t)})),e(this._element).on("touchmove.bs.carousel",(function(e){return function(e){e.originalEvent.touches&&e.originalEvent.touches.length>1?t.touchDeltaX=0:t.touchDeltaX=e.originalEvent.touches[0].clientX-t.touchStartX}(e)})),e(this._element).on("touchend.bs.carousel",(function(t){return i(t)})))}},n._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},n._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},n._getItemByDirection=function(t,e){var n="next"===t,i="prev"===t,o=this._getItemIndex(e),r=this._items.length-1;if((i&&0===o||n&&o===r)&&!this._config.wrap)return e;var s=(o+("prev"===t?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},n._triggerSlideEvent=function(t,n){var i=this._getItemIndex(t),o=this._getItemIndex(this._element.querySelector(".active.carousel-item")),r=e.Event("slide.bs.carousel",{relatedTarget:t,direction:n,from:o,to:i});return e(this._element).trigger(r),r},n._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var n=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));e(n).removeClass("active");var i=this._indicatorsElement.children[this._getItemIndex(t)];i&&e(i).addClass("active")}},n._slide=function(t,n){var i,o,r,a=this,l=this._element.querySelector(".active.carousel-item"),c=this._getItemIndex(l),h=n||l&&this._getItemByDirection(t,l),u=this._getItemIndex(h),f=Boolean(this._interval);if("next"===t?(i="carousel-item-left",o="carousel-item-next",r="left"):(i="carousel-item-right",o="carousel-item-prev",r="right"),h&&e(h).hasClass("active"))this._isSliding=!1;else if(!this._triggerSlideEvent(h,r).isDefaultPrevented()&&l&&h){this._isSliding=!0,f&&this.pause(),this._setActiveIndicatorElement(h);var d=e.Event("slid.bs.carousel",{relatedTarget:h,direction:r,from:c,to:u});if(e(this._element).hasClass("slide")){e(h).addClass(o),s.reflow(h),e(l).addClass(i),e(h).addClass(i);var p=parseInt(h.getAttribute("data-interval"),10);p?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=p):this._config.interval=this._config.defaultInterval||this._config.interval;var m=s.getTransitionDurationFromElement(l);e(l).one(s.TRANSITION_END,(function(){e(h).removeClass(i+" "+o).addClass("active"),e(l).removeClass("active "+o+" "+i),a._isSliding=!1,setTimeout((function(){return e(a._element).trigger(d)}),0)})).emulateTransitionEnd(m)}else e(l).removeClass("active"),e(h).addClass("active"),this._isSliding=!1,e(this._element).trigger(d);f&&this.cycle()}},t._jQueryInterface=function(n){return this.each((function(){var i=e(this).data("bs.carousel"),r=o({},m,e(this).data());"object"==typeof n&&(r=o({},r,n));var s="string"==typeof n?n:r.slide;if(i||(i=new t(this,r),e(this).data("bs.carousel",i)),"number"==typeof n)i.to(n);else if("string"==typeof s){if("undefined"==typeof i[s])throw new TypeError('No method named "'+s+'"');i[s]()}else r.interval&&r.ride&&(i.pause(),i.cycle())}))},t._dataApiClickHandler=function(n){var i=s.getSelectorFromElement(this);if(i){var r=e(i)[0];if(r&&e(r).hasClass("carousel")){var a=o({},e(r).data(),e(this).data()),l=this.getAttribute("data-slide-to");l&&(a.interval=!1),t._jQueryInterface.call(e(r),a),l&&e(r).data("bs.carousel").to(l),n.preventDefault()}}},i(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return m}}]),t}();e(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",v._dataApiClickHandler),e(window).on("load.bs.carousel.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),n=0,i=t.length;n0&&(this._selector=a,this._triggerArray.push(r))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var n=t.prototype;return n.toggle=function(){e(this._element).hasClass("show")?this.hide():this.show()},n.show=function(){var n,i,o=this;if(!this._isTransitioning&&!e(this._element).hasClass("show")&&(this._parent&&0===(n=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function(t){return"string"==typeof o._config.parent?t.getAttribute("data-parent")===o._config.parent:t.classList.contains("collapse")}))).length&&(n=null),!(n&&(i=e(n).not(this._selector).data("bs.collapse"))&&i._isTransitioning))){var r=e.Event("show.bs.collapse");if(e(this._element).trigger(r),!r.isDefaultPrevented()){n&&(t._jQueryInterface.call(e(n).not(this._selector),"hide"),i||e(n).data("bs.collapse",null));var a=this._getDimension();e(this._element).removeClass("collapse").addClass("collapsing"),this._element.style[a]=0,this._triggerArray.length&&e(this._triggerArray).removeClass("collapsed").attr("aria-expanded",!0),this.setTransitioning(!0);var l="scroll"+(a[0].toUpperCase()+a.slice(1)),c=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,(function(){e(o._element).removeClass("collapsing").addClass("collapse show"),o._element.style[a]="",o.setTransitioning(!1),e(o._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(c),this._element.style[a]=this._element[l]+"px"}}},n.hide=function(){var t=this;if(!this._isTransitioning&&e(this._element).hasClass("show")){var n=e.Event("hide.bs.collapse");if(e(this._element).trigger(n),!n.isDefaultPrevented()){var i=this._getDimension();this._element.style[i]=this._element.getBoundingClientRect()[i]+"px",s.reflow(this._element),e(this._element).addClass("collapsing").removeClass("collapse show");var o=this._triggerArray.length;if(o>0)for(var r=0;r=0)return 1;return 0}();var D=C&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then((function(){e=!1,t()})))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout((function(){e=!1,t()}),S))}};function N(t){return t&&"[object Function]"==={}.toString.call(t)}function k(t,e){if(1!==t.nodeType)return[];var n=t.ownerDocument.defaultView.getComputedStyle(t,null);return e?n[e]:n}function A(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function I(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=k(t),n=e.overflow,i=e.overflowX,o=e.overflowY;return/(auto|scroll|overlay)/.test(n+o+i)?t:I(A(t))}function O(t){return t&&t.referenceNode?t.referenceNode:t}var x=C&&!(!window.MSInputMethodContext||!document.documentMode),j=C&&/MSIE 10/.test(navigator.userAgent);function L(t){return 11===t?x:10===t?j:x||j}function P(t){if(!t)return document.documentElement;for(var e=L(10)?document.body:null,n=t.offsetParent||null;n===e&&t.nextElementSibling;)n=(t=t.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TH","TD","TABLE"].indexOf(n.nodeName)&&"static"===k(n,"position")?P(n):n:t?t.ownerDocument.documentElement:document.documentElement}function F(t){return null!==t.parentNode?F(t.parentNode):t}function R(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,r=document.createRange();r.setStart(i,0),r.setEnd(o,0);var s,a,l=r.commonAncestorContainer;if(t!==l&&e!==l||i.contains(o))return"BODY"===(a=(s=l).nodeName)||"HTML"!==a&&P(s.firstElementChild)!==s?P(l):l;var c=F(t);return c.host?R(c.host,e):R(t,F(e).host)}function H(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top",n="top"===e?"scrollTop":"scrollLeft",i=t.nodeName;if("BODY"===i||"HTML"===i){var o=t.ownerDocument.documentElement,r=t.ownerDocument.scrollingElement||o;return r[n]}return t[n]}function M(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=H(e,"top"),o=H(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}function B(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"])+parseFloat(t["border"+i+"Width"])}function q(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],L(10)?parseInt(n["offset"+t])+parseInt(i["margin"+("Height"===t?"Top":"Left")])+parseInt(i["margin"+("Height"===t?"Bottom":"Right")]):0)}function Q(t){var e=t.body,n=t.documentElement,i=L(10)&&getComputedStyle(n);return{height:q("Height",e,n,i),width:q("Width",e,n,i)}}var W=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},U=function(){function t(t,e){for(var n=0;n2&&void 0!==arguments[2]&&arguments[2],i=L(10),o="HTML"===e.nodeName,r=X(t),s=X(e),a=I(t),l=k(e),c=parseFloat(l.borderTopWidth),h=parseFloat(l.borderLeftWidth);n&&o&&(s.top=Math.max(s.top,0),s.left=Math.max(s.left,0));var u=z({top:r.top-s.top-c,left:r.left-s.left-h,width:r.width,height:r.height});if(u.marginTop=0,u.marginLeft=0,!i&&o){var f=parseFloat(l.marginTop),d=parseFloat(l.marginLeft);u.top-=c-f,u.bottom-=c-f,u.left-=h-d,u.right-=h-d,u.marginTop=f,u.marginLeft=d}return(i&&!n?e.contains(a):e===a&&"BODY"!==a.nodeName)&&(u=M(u,e)),u}function G(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=t.ownerDocument.documentElement,i=K(t,n),o=Math.max(n.clientWidth,window.innerWidth||0),r=Math.max(n.clientHeight,window.innerHeight||0),s=e?0:H(n),a=e?0:H(n,"left"),l={top:s-i.top+i.marginTop,left:a-i.left+i.marginLeft,width:o,height:r};return z(l)}function $(t){var e=t.nodeName;if("BODY"===e||"HTML"===e)return!1;if("fixed"===k(t,"position"))return!0;var n=A(t);return!!n&&$(n)}function J(t){if(!t||!t.parentElement||L())return document.documentElement;for(var e=t.parentElement;e&&"none"===k(e,"transform");)e=e.parentElement;return e||document.documentElement}function Z(t,e,n,i){var o=arguments.length>4&&void 0!==arguments[4]&&arguments[4],r={top:0,left:0},s=o?J(t):R(t,O(e));if("viewport"===i)r=G(s,o);else{var a=void 0;"scrollParent"===i?"BODY"===(a=I(A(e))).nodeName&&(a=t.ownerDocument.documentElement):a="window"===i?t.ownerDocument.documentElement:i;var l=K(a,s,o);if("HTML"!==a.nodeName||$(s))r=l;else{var c=Q(t.ownerDocument),h=c.height,u=c.width;r.top+=l.top-l.marginTop,r.bottom=h+l.top,r.left+=l.left-l.marginLeft,r.right=u+l.left}}var f="number"==typeof(n=n||0);return r.left+=f?n:n.left||0,r.top+=f?n:n.top||0,r.right-=f?n:n.right||0,r.bottom-=f?n:n.bottom||0,r}function tt(t){return t.width*t.height}function et(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=Z(n,i,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map((function(t){return Y({key:t},a[t],{area:tt(a[t])})})).sort((function(t,e){return e.area-t.area})),c=l.filter((function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight})),h=c.length>0?c[0].key:l[0].key,u=t.split("-")[1];return h+(u?"-"+u:"")}function nt(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,o=i?J(e):R(e,O(n));return K(n,o,i)}function it(t){var e=t.ownerDocument.defaultView.getComputedStyle(t),n=parseFloat(e.marginTop||0)+parseFloat(e.marginBottom||0),i=parseFloat(e.marginLeft||0)+parseFloat(e.marginRight||0);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function ot(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,(function(t){return e[t]}))}function rt(t,e,n){n=n.split("-")[0];var i=it(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",c=r?"width":"height";return o[s]=e[s]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[c]:e[ot(a)],o}function st(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function at(t,e,n){return(void 0===n?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex((function(t){return t[e]===n}));var i=st(t,(function(t){return t[e]===n}));return t.indexOf(i)}(t,"name",n))).forEach((function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var n=t.function||t.fn;t.enabled&&N(n)&&(e.offsets.popper=z(e.offsets.popper),e.offsets.reference=z(e.offsets.reference),e=n(e,t))})),e}function lt(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=nt(this.state,this.popper,this.reference,this.options.positionFixed),t.placement=et(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.positionFixed=this.options.positionFixed,t.offsets.popper=rt(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position=this.options.positionFixed?"fixed":"absolute",t=at(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}function ct(t,e){return t.some((function(t){var n=t.name;return t.enabled&&n===e}))}function ht(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i1&&void 0!==arguments[1]&&arguments[1],n=wt.indexOf(t),i=wt.slice(n+1).concat(wt.slice(0,n));return e?i.reverse():i}var Tt="flip",Ct="clockwise",St="counterclockwise";function Dt(t,e,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),s=t.split(/(\+|\-)/).map((function(t){return t.trim()})),a=s.indexOf(st(s,(function(t){return-1!==t.search(/,|\s/)})));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,c=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(c=c.map((function(t,i){var o=(1===i?!r:r)?"height":"width",s=!1;return t.reduce((function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)}),[]).map((function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return z(a)[e]/100*r}if("vh"===s||"vw"===s){return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r}return r}(t,o,e,n)}))}))).forEach((function(t,e){t.forEach((function(n,i){gt(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))}))})),o}var Nt={placement:"bottom",positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(t){var e=t.placement,n=e.split("-")[0],i=e.split("-")[1];if(i){var o=t.offsets,r=o.reference,s=o.popper,a=-1!==["bottom","top"].indexOf(n),l=a?"left":"top",c=a?"width":"height",h={start:V({},l,r[l]),end:V({},l,r[l]+r[c]-s[c])};t.offsets.popper=Y({},s,h[i])}return t}},offset:{order:200,enabled:!0,fn:function(t,e){var n=e.offset,i=t.placement,o=t.offsets,r=o.popper,s=o.reference,a=i.split("-")[0],l=void 0;return l=gt(+n)?[+n,0]:Dt(n,r,s,a),"left"===a?(r.top+=l[0],r.left-=l[1]):"right"===a?(r.top+=l[0],r.left+=l[1]):"top"===a?(r.left+=l[0],r.top-=l[1]):"bottom"===a&&(r.left+=l[0],r.top+=l[1]),t.popper=r,t},offset:0},preventOverflow:{order:300,enabled:!0,fn:function(t,e){var n=e.boundariesElement||P(t.instance.popper);t.instance.reference===n&&(n=P(n));var i=ht("transform"),o=t.instance.popper.style,r=o.top,s=o.left,a=o[i];o.top="",o.left="",o[i]="";var l=Z(t.instance.popper,t.instance.reference,e.padding,n,t.positionFixed);o.top=r,o.left=s,o[i]=a,e.boundaries=l;var c=e.priority,h=t.offsets.popper,u={primary:function(t){var n=h[t];return h[t]l[t]&&!e.escapeWithreference&&(i=Math.min(h[n],l[t]-("right"===t?h.width:h.height))),V({},n,i)}};return c.forEach((function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";h=Y({},h,u[e](t))})),t.offsets.popper=h,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",c=s?"width":"height";return n[a]r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var n;if(!bt(t.instance.modifiers,"arrow","keepTogether"))return t;var i=e.element;if("string"==typeof i){if(!(i=t.instance.popper.querySelector(i)))return t}else if(!t.instance.popper.contains(i))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var o=t.placement.split("-")[0],r=t.offsets,s=r.popper,a=r.reference,l=-1!==["left","right"].indexOf(o),c=l?"height":"width",h=l?"Top":"Left",u=h.toLowerCase(),f=l?"left":"top",d=l?"bottom":"right",p=it(i)[c];a[d]-ps[d]&&(t.offsets.popper[u]+=a[u]+p-s[d]),t.offsets.popper=z(t.offsets.popper);var m=a[u]+a[c]/2-p/2,g=k(t.instance.popper),_=parseFloat(g["margin"+h]),v=parseFloat(g["border"+h+"Width"]),b=m-t.offsets.popper[u]-_-v;return b=Math.max(Math.min(s[c]-p,b),0),t.arrowElement=i,t.offsets.arrow=(V(n={},u,Math.round(b)),V(n,f,""),n),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(ct(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=Z(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement,t.positionFixed),i=t.placement.split("-")[0],o=ot(i),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case Tt:s=[i,o];break;case Ct:s=Et(i);break;case St:s=Et(i,!0);break;default:s=e.behavior}return s.forEach((function(a,l){if(i!==a||s.length===l+1)return t;i=t.placement.split("-")[0],o=ot(i);var c=t.offsets.popper,h=t.offsets.reference,u=Math.floor,f="left"===i&&u(c.right)>u(h.left)||"right"===i&&u(c.left)u(h.top)||"bottom"===i&&u(c.top)u(n.right),m=u(c.top)u(n.bottom),_="left"===i&&d||"right"===i&&p||"top"===i&&m||"bottom"===i&&g,v=-1!==["top","bottom"].indexOf(i),b=!!e.flipVariations&&(v&&"start"===r&&d||v&&"end"===r&&p||!v&&"start"===r&&m||!v&&"end"===r&&g),y=!!e.flipVariationsByContent&&(v&&"start"===r&&p||v&&"end"===r&&d||!v&&"start"===r&&g||!v&&"end"===r&&m),w=b||y;(f||_||w)&&(t.flipped=!0,(f||_)&&(i=s[l+1]),w&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=Y({},t.offsets.popper,rt(t.instance.popper,t.offsets.reference,t.placement)),t=at(t.instance.modifiers,t,"flip"))})),t},behavior:"flip",padding:5,boundariesElement:"viewport",flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),t.placement=ot(e),t.offsets.popper=z(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!bt(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=st(t.instance.modifiers,(function(t){return"preventOverflow"===t.name})).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};W(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=D(this.update.bind(this)),this.options=Y({},t.Defaults,o),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=e&&e.jquery?e[0]:e,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(Y({},t.Defaults.modifiers,o.modifiers)).forEach((function(e){i.options.modifiers[e]=Y({},t.Defaults.modifiers[e]||{},o.modifiers?o.modifiers[e]:{})})),this.modifiers=Object.keys(this.options.modifiers).map((function(t){return Y({name:t},i.options.modifiers[t])})).sort((function(t,e){return t.order-e.order})),this.modifiers.forEach((function(t){t.enabled&&N(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)})),this.update();var r=this.options.eventsEnabled;r&&this.enableEventListeners(),this.state.eventsEnabled=r}return U(t,[{key:"update",value:function(){return lt.call(this)}},{key:"destroy",value:function(){return ut.call(this)}},{key:"enableEventListeners",value:function(){return pt.call(this)}},{key:"disableEventListeners",value:function(){return mt.call(this)}}]),t}();kt.Utils=("undefined"!=typeof window?window:global).PopperUtils,kt.placements=yt,kt.Defaults=Nt;var At="dropdown",It=e.fn[At],Ot=new RegExp("38|40|27"),xt={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},jt={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},Lt=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var n=t.prototype;return n.toggle=function(){if(!this._element.disabled&&!e(this._element).hasClass("disabled")){var n=e(this._menu).hasClass("show");t._clearMenus(),n||this.show(!0)}},n.show=function(n){if(void 0===n&&(n=!1),!(this._element.disabled||e(this._element).hasClass("disabled")||e(this._menu).hasClass("show"))){var i={relatedTarget:this._element},o=e.Event("show.bs.dropdown",i),r=t._getParentFromElement(this._element);if(e(r).trigger(o),!o.isDefaultPrevented()){if(!this._inNavbar&&n){if("undefined"==typeof kt)throw new TypeError("Bootstrap's dropdowns require Popper.js (https://popper.js.org/)");var a=this._element;"parent"===this._config.reference?a=r:s.isElement(this._config.reference)&&(a=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(a=this._config.reference[0])),"scrollParent"!==this._config.boundary&&e(r).addClass("position-static"),this._popper=new kt(a,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===e(r).closest(".navbar-nav").length&&e(document.body).children().on("mouseover",null,e.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),e(this._menu).toggleClass("show"),e(r).toggleClass("show").trigger(e.Event("shown.bs.dropdown",i))}}},n.hide=function(){if(!this._element.disabled&&!e(this._element).hasClass("disabled")&&e(this._menu).hasClass("show")){var n={relatedTarget:this._element},i=e.Event("hide.bs.dropdown",n),o=t._getParentFromElement(this._element);e(o).trigger(i),i.isDefaultPrevented()||(this._popper&&this._popper.destroy(),e(this._menu).toggleClass("show"),e(o).toggleClass("show").trigger(e.Event("hidden.bs.dropdown",n)))}},n.dispose=function(){e.removeData(this._element,"bs.dropdown"),e(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},n.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},n._addEventListeners=function(){var t=this;e(this._element).on("click.bs.dropdown",(function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}))},n._getConfig=function(t){return t=o({},this.constructor.Default,e(this._element).data(),t),s.typeCheckConfig(At,t,this.constructor.DefaultType),t},n._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(".dropdown-menu"))}return this._menu},n._getPlacement=function(){var t=e(this._element.parentNode),n="bottom-start";return t.hasClass("dropup")?n=e(this._menu).hasClass("dropdown-menu-right")?"top-end":"top-start":t.hasClass("dropright")?n="right-start":t.hasClass("dropleft")?n="left-start":e(this._menu).hasClass("dropdown-menu-right")&&(n="bottom-end"),n},n._detectNavbar=function(){return e(this._element).closest(".navbar").length>0},n._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=o({},e.offsets,t._config.offset(e.offsets,t._element)||{}),e}:e.offset=this._config.offset,e},n._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),o({},t,this._config.popperConfig)},t._jQueryInterface=function(n){return this.each((function(){var i=e(this).data("bs.dropdown");if(i||(i=new t(this,"object"==typeof n?n:null),e(this).data("bs.dropdown",i)),"string"==typeof n){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}}))},t._clearMenus=function(n){if(!n||3!==n.which&&("keyup"!==n.type||9===n.which))for(var i=[].slice.call(document.querySelectorAll('[data-toggle="dropdown"]')),o=0,r=i.length;o0&&s--,40===n.which&&sdocument.documentElement.clientHeight;i||(this._element.style.overflowY="hidden"),this._element.classList.add("modal-static");var o=s.getTransitionDurationFromElement(this._dialog);e(this._element).off(s.TRANSITION_END),e(this._element).one(s.TRANSITION_END,(function(){t._element.classList.remove("modal-static"),i||e(t._element).one(s.TRANSITION_END,(function(){t._element.style.overflowY=""})).emulateTransitionEnd(t._element,o)})).emulateTransitionEnd(o),this._element.focus()}else this.hide()},n._showElement=function(t){var n=this,i=e(this._element).hasClass("fade"),o=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),e(this._dialog).hasClass("modal-dialog-scrollable")&&o?o.scrollTop=0:this._element.scrollTop=0,i&&s.reflow(this._element),e(this._element).addClass("show"),this._config.focus&&this._enforceFocus();var r=e.Event("shown.bs.modal",{relatedTarget:t}),a=function(){n._config.focus&&n._element.focus(),n._isTransitioning=!1,e(n._element).trigger(r)};if(i){var l=s.getTransitionDurationFromElement(this._dialog);e(this._dialog).one(s.TRANSITION_END,a).emulateTransitionEnd(l)}else a()},n._enforceFocus=function(){var t=this;e(document).off("focusin.bs.modal").on("focusin.bs.modal",(function(n){document!==n.target&&t._element!==n.target&&0===e(t._element).has(n.target).length&&t._element.focus()}))},n._setEscapeEvent=function(){var t=this;this._isShown?e(this._element).on("keydown.dismiss.bs.modal",(function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()})):this._isShown||e(this._element).off("keydown.dismiss.bs.modal")},n._setResizeEvent=function(){var t=this;this._isShown?e(window).on("resize.bs.modal",(function(e){return t.handleUpdate(e)})):e(window).off("resize.bs.modal")},n._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){e(document.body).removeClass("modal-open"),t._resetAdjustments(),t._resetScrollbar(),e(t._element).trigger("hidden.bs.modal")}))},n._removeBackdrop=function(){this._backdrop&&(e(this._backdrop).remove(),this._backdrop=null)},n._showBackdrop=function(t){var n=this,i=e(this._element).hasClass("fade")?"fade":"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",i&&this._backdrop.classList.add(i),e(this._backdrop).appendTo(document.body),e(this._element).on("click.dismiss.bs.modal",(function(t){n._ignoreBackdropClick?n._ignoreBackdropClick=!1:t.target===t.currentTarget&&n._triggerBackdropTransition()})),i&&s.reflow(this._backdrop),e(this._backdrop).addClass("show"),!t)return;if(!i)return void t();var o=s.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(s.TRANSITION_END,t).emulateTransitionEnd(o)}else if(!this._isShown&&this._backdrop){e(this._backdrop).removeClass("show");var r=function(){n._removeBackdrop(),t&&t()};if(e(this._element).hasClass("fade")){var a=s.getTransitionDurationFromElement(this._backdrop);e(this._backdrop).one(s.TRANSITION_END,r).emulateTransitionEnd(a)}else r()}else t&&t()},n._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},n._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},n._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)
      ',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",sanitize:!0,sanitizeFn:null,whiteList:Bt,popperConfig:null},$t={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Jt=function(){function t(t,e){if("undefined"==typeof kt)throw new TypeError("Bootstrap's tooltips require Popper.js (https://popper.js.org/)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var n=t.prototype;return n.enable=function(){this._isEnabled=!0},n.disable=function(){this._isEnabled=!1},n.toggleEnabled=function(){this._isEnabled=!this._isEnabled},n.toggle=function(t){if(this._isEnabled)if(t){var n=this.constructor.DATA_KEY,i=e(t.currentTarget).data(n);i||(i=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(n,i)),i._activeTrigger.click=!i._activeTrigger.click,i._isWithActiveTrigger()?i._enter(null,i):i._leave(null,i)}else{if(e(this.getTipElement()).hasClass("show"))return void this._leave(null,this);this._enter(null,this)}},n.dispose=function(){clearTimeout(this._timeout),e.removeData(this.element,this.constructor.DATA_KEY),e(this.element).off(this.constructor.EVENT_KEY),e(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&e(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},n.show=function(){var t=this;if("none"===e(this.element).css("display"))throw new Error("Please use show on visible elements");var n=e.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){e(this.element).trigger(n);var i=s.findShadowRoot(this.element),o=e.contains(null!==i?i:this.element.ownerDocument.documentElement,this.element);if(n.isDefaultPrevented()||!o)return;var r=this.getTipElement(),a=s.getUID(this.constructor.NAME);r.setAttribute("id",a),this.element.setAttribute("aria-describedby",a),this.setContent(),this.config.animation&&e(r).addClass("fade");var l="function"==typeof this.config.placement?this.config.placement.call(this,r,this.element):this.config.placement,c=this._getAttachment(l);this.addAttachmentClass(c);var h=this._getContainer();e(r).data(this.constructor.DATA_KEY,this),e.contains(this.element.ownerDocument.documentElement,this.tip)||e(r).appendTo(h),e(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new kt(this.element,r,this._getPopperConfig(c)),e(r).addClass("show"),"ontouchstart"in document.documentElement&&e(document.body).children().on("mouseover",null,e.noop);var u=function(){t.config.animation&&t._fixTransition();var n=t._hoverState;t._hoverState=null,e(t.element).trigger(t.constructor.Event.SHOWN),"out"===n&&t._leave(null,t)};if(e(this.tip).hasClass("fade")){var f=s.getTransitionDurationFromElement(this.tip);e(this.tip).one(s.TRANSITION_END,u).emulateTransitionEnd(f)}else u()}},n.hide=function(t){var n=this,i=this.getTipElement(),o=e.Event(this.constructor.Event.HIDE),r=function(){"show"!==n._hoverState&&i.parentNode&&i.parentNode.removeChild(i),n._cleanTipClass(),n.element.removeAttribute("aria-describedby"),e(n.element).trigger(n.constructor.Event.HIDDEN),null!==n._popper&&n._popper.destroy(),t&&t()};if(e(this.element).trigger(o),!o.isDefaultPrevented()){if(e(i).removeClass("show"),"ontouchstart"in document.documentElement&&e(document.body).children().off("mouseover",null,e.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,e(this.tip).hasClass("fade")){var a=s.getTransitionDurationFromElement(i);e(i).one(s.TRANSITION_END,r).emulateTransitionEnd(a)}else r();this._hoverState=""}},n.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},n.isWithContent=function(){return Boolean(this.getTitle())},n.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-tooltip-"+t)},n.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},n.setContent=function(){var t=this.getTipElement();this.setElementContent(e(t.querySelectorAll(".tooltip-inner")),this.getTitle()),e(t).removeClass("fade show")},n.setElementContent=function(t,n){"object"!=typeof n||!n.nodeType&&!n.jquery?this.config.html?(this.config.sanitize&&(n=Wt(n,this.config.whiteList,this.config.sanitizeFn)),t.html(n)):t.text(n):this.config.html?e(n).parent().is(t)||t.empty().append(n):t.text(e(n).text())},n.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},n._getPopperConfig=function(t){var e=this;return o({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},n._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=o({},e.offsets,t.config.offset(e.offsets,t.element)||{}),e}:e.offset=this.config.offset,e},n._getContainer=function(){return!1===this.config.container?document.body:s.isElement(this.config.container)?e(this.config.container):e(document).find(this.config.container)},n._getAttachment=function(t){return Kt[t.toUpperCase()]},n._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(n){if("click"===n)e(t.element).on(t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if("manual"!==n){var i="hover"===n?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,o="hover"===n?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;e(t.element).on(i,t.config.selector,(function(e){return t._enter(e)})).on(o,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},e(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=o({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},n._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},n._enter=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusin"===t.type?"focus":"hover"]=!0),e(n.getTipElement()).hasClass("show")||"show"===n._hoverState?n._hoverState="show":(clearTimeout(n._timeout),n._hoverState="show",n.config.delay&&n.config.delay.show?n._timeout=setTimeout((function(){"show"===n._hoverState&&n.show()}),n.config.delay.show):n.show())},n._leave=function(t,n){var i=this.constructor.DATA_KEY;(n=n||e(t.currentTarget).data(i))||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),e(t.currentTarget).data(i,n)),t&&(n._activeTrigger["focusout"===t.type?"focus":"hover"]=!1),n._isWithActiveTrigger()||(clearTimeout(n._timeout),n._hoverState="out",n.config.delay&&n.config.delay.hide?n._timeout=setTimeout((function(){"out"===n._hoverState&&n.hide()}),n.config.delay.hide):n.hide())},n._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},n._getConfig=function(t){var n=e(this.element).data();return Object.keys(n).forEach((function(t){-1!==zt.indexOf(t)&&delete n[t]})),"number"==typeof(t=o({},this.constructor.Default,n,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),s.typeCheckConfig(Ut,t,this.constructor.DefaultType),t.sanitize&&(t.template=Wt(t.template,t.whiteList,t.sanitizeFn)),t},n._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},n._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(Yt);null!==n&&n.length&&t.removeClass(n.join(""))},n._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},n._fixTransition=function(){var t=this.getTipElement(),n=this.config.animation;null===t.getAttribute("x-placement")&&(e(t).removeClass("fade"),this.config.animation=!1,this.hide(),this.show(),this.config.animation=n)},t._jQueryInterface=function(n){return this.each((function(){var i=e(this).data("bs.tooltip"),o="object"==typeof n&&n;if((i||!/dispose|hide/.test(n))&&(i||(i=new t(this,o),e(this).data("bs.tooltip",i)),"string"==typeof n)){if("undefined"==typeof i[n])throw new TypeError('No method named "'+n+'"');i[n]()}}))},i(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return Gt}},{key:"NAME",get:function(){return Ut}},{key:"DATA_KEY",get:function(){return"bs.tooltip"}},{key:"Event",get:function(){return $t}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Xt}}]),t}();e.fn[Ut]=Jt._jQueryInterface,e.fn[Ut].Constructor=Jt,e.fn[Ut].noConflict=function(){return e.fn[Ut]=Vt,Jt._jQueryInterface};var Zt="popover",te=e.fn[Zt],ee=new RegExp("(^|\\s)bs-popover\\S+","g"),ne=o({},Jt.Default,{placement:"right",trigger:"click",content:"",template:''}),ie=o({},Jt.DefaultType,{content:"(string|element|function)"}),oe={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},re=function(t){var n,o;function r(){return t.apply(this,arguments)||this}o=t,(n=r).prototype=Object.create(o.prototype),n.prototype.constructor=n,n.__proto__=o;var s=r.prototype;return s.isWithContent=function(){return this.getTitle()||this._getContent()},s.addAttachmentClass=function(t){e(this.getTipElement()).addClass("bs-popover-"+t)},s.getTipElement=function(){return this.tip=this.tip||e(this.config.template)[0],this.tip},s.setContent=function(){var t=e(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var n=this._getContent();"function"==typeof n&&(n=n.call(this.element)),this.setElementContent(t.find(".popover-body"),n),t.removeClass("fade show")},s._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},s._cleanTipClass=function(){var t=e(this.getTipElement()),n=t.attr("class").match(ee);null!==n&&n.length>0&&t.removeClass(n.join(""))},r._jQueryInterface=function(t){return this.each((function(){var n=e(this).data("bs.popover"),i="object"==typeof t?t:null;if((n||!/dispose|hide/.test(t))&&(n||(n=new r(this,i),e(this).data("bs.popover",n)),"string"==typeof t)){if("undefined"==typeof n[t])throw new TypeError('No method named "'+t+'"');n[t]()}}))},i(r,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"Default",get:function(){return ne}},{key:"NAME",get:function(){return Zt}},{key:"DATA_KEY",get:function(){return"bs.popover"}},{key:"Event",get:function(){return oe}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return ie}}]),r}(Jt);e.fn[Zt]=re._jQueryInterface,e.fn[Zt].Constructor=re,e.fn[Zt].noConflict=function(){return e.fn[Zt]=te,re._jQueryInterface};var se="scrollspy",ae=e.fn[se],le={offset:10,method:"auto",target:""},ce={offset:"number",method:"string",target:"(string|element)"},he=function(){function t(t,n){var i=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(n),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,e(this._scrollElement).on("scroll.bs.scrollspy",(function(t){return i._process(t)})),this.refresh(),this._process()}var n=t.prototype;return n.refresh=function(){var t=this,n=this._scrollElement===this._scrollElement.window?"offset":"position",i="auto"===this._config.method?n:this._config.method,o="position"===i?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(t){var n,r=s.getSelectorFromElement(t);if(r&&(n=document.querySelector(r)),n){var a=n.getBoundingClientRect();if(a.width||a.height)return[e(n)[i]().top+o,r]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},n.dispose=function(){e.removeData(this._element,"bs.scrollspy"),e(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},n._getConfig=function(t){if("string"!=typeof(t=o({},le,"object"==typeof t&&t?t:{})).target&&s.isElement(t.target)){var n=e(t.target).attr("id");n||(n=s.getUID(se),e(t.target).attr("id",n)),t.target="#"+n}return s.typeCheckConfig(se,t,ce),t},n._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},n._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},n._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},n._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;){this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t li > .active":".active";i=(i=e.makeArray(e(o).find(a)))[i.length-1]}var l=e.Event("hide.bs.tab",{relatedTarget:this._element}),c=e.Event("show.bs.tab",{relatedTarget:i});if(i&&e(i).trigger(l),e(this._element).trigger(c),!c.isDefaultPrevented()&&!l.isDefaultPrevented()){r&&(n=document.querySelector(r)),this._activate(this._element,o);var h=function(){var n=e.Event("hidden.bs.tab",{relatedTarget:t._element}),o=e.Event("shown.bs.tab",{relatedTarget:i});e(i).trigger(n),e(t._element).trigger(o)};n?this._activate(n,n.parentNode,h):h()}}},n.dispose=function(){e.removeData(this._element,"bs.tab"),this._element=null},n._activate=function(t,n,i){var o=this,r=(!n||"UL"!==n.nodeName&&"OL"!==n.nodeName?e(n).children(".active"):e(n).find("> li > .active"))[0],a=i&&r&&e(r).hasClass("fade"),l=function(){return o._transitionComplete(t,r,i)};if(r&&a){var c=s.getTransitionDurationFromElement(r);e(r).removeClass("show").one(s.TRANSITION_END,l).emulateTransitionEnd(c)}else l()},n._transitionComplete=function(t,n,i){if(n){e(n).removeClass("active");var o=e(n.parentNode).find("> .dropdown-menu .active")[0];o&&e(o).removeClass("active"),"tab"===n.getAttribute("role")&&n.setAttribute("aria-selected",!1)}if(e(t).addClass("active"),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),s.reflow(t),t.classList.contains("fade")&&t.classList.add("show"),t.parentNode&&e(t.parentNode).hasClass("dropdown-menu")){var r=e(t).closest(".dropdown")[0];if(r){var a=[].slice.call(r.querySelectorAll(".dropdown-toggle"));e(a).addClass("active")}t.setAttribute("aria-expanded",!0)}i&&i()},t._jQueryInterface=function(n){return this.each((function(){var i=e(this),o=i.data("bs.tab");if(o||(o=new t(this),i.data("bs.tab",o)),"string"==typeof n){if("undefined"==typeof o[n])throw new TypeError('No method named "'+n+'"');o[n]()}}))},i(t,null,[{key:"VERSION",get:function(){return"4.5.2"}}]),t}();e(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(t){t.preventDefault(),fe._jQueryInterface.call(e(this),"show")})),e.fn.tab=fe._jQueryInterface,e.fn.tab.Constructor=fe,e.fn.tab.noConflict=function(){return e.fn.tab=ue,fe._jQueryInterface};var de=e.fn.toast,pe={animation:"boolean",autohide:"boolean",delay:"number"},me={animation:!0,autohide:!0,delay:500},ge=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var n=t.prototype;return n.show=function(){var t=this,n=e.Event("show.bs.toast");if(e(this._element).trigger(n),!n.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var i=function(){t._element.classList.remove("showing"),t._element.classList.add("show"),e(t._element).trigger("shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove("hide"),s.reflow(this._element),this._element.classList.add("showing"),this._config.animation){var o=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,i).emulateTransitionEnd(o)}else i()}},n.hide=function(){if(this._element.classList.contains("show")){var t=e.Event("hide.bs.toast");e(this._element).trigger(t),t.isDefaultPrevented()||this._close()}},n.dispose=function(){this._clearTimeout(),this._element.classList.contains("show")&&this._element.classList.remove("show"),e(this._element).off("click.dismiss.bs.toast"),e.removeData(this._element,"bs.toast"),this._element=null,this._config=null},n._getConfig=function(t){return t=o({},me,e(this._element).data(),"object"==typeof t&&t?t:{}),s.typeCheckConfig("toast",t,this.constructor.DefaultType),t},n._setListeners=function(){var t=this;e(this._element).on("click.dismiss.bs.toast",'[data-dismiss="toast"]',(function(){return t.hide()}))},n._close=function(){var t=this,n=function(){t._element.classList.add("hide"),e(t._element).trigger("hidden.bs.toast")};if(this._element.classList.remove("show"),this._config.animation){var i=s.getTransitionDurationFromElement(this._element);e(this._element).one(s.TRANSITION_END,n).emulateTransitionEnd(i)}else n()},n._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t._jQueryInterface=function(n){return this.each((function(){var i=e(this),o=i.data("bs.toast");if(o||(o=new t(this,"object"==typeof n&&n),i.data("bs.toast",o)),"string"==typeof n){if("undefined"==typeof o[n])throw new TypeError('No method named "'+n+'"');o[n](this)}}))},i(t,null,[{key:"VERSION",get:function(){return"4.5.2"}},{key:"DefaultType",get:function(){return pe}},{key:"Default",get:function(){return me}}]),t}();e.fn.toast=ge._jQueryInterface,e.fn.toast.Constructor=ge,e.fn.toast.noConflict=function(){return e.fn.toast=de,ge._jQueryInterface},t.Alert=c,t.Button=u,t.Carousel=v,t.Collapse=T,t.Dropdown=Lt,t.Modal=Ht,t.Popover=re,t.Scrollspy=he,t.Tab=fe,t.Toast=ge,t.Tooltip=Jt,t.Util=s,Object.defineProperty(t,"__esModule",{value:!0})})); //# sourceMappingURL=includes/plugins/bootstrap/v4/js/bootstrap.bundle.min.js.map /****** end js file: bootstrap.bundle.min.js ******/ /****** js file: scripts.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/plugins/bootstrap/v4/js/scripts.js ******/ /****** last modified: 1677701935 (2023-03-01 14:18:55) ******/ var checkField=function(fld){var isRequired=$(fld).prop('required');var isValid=$(fld).prop("validity").valid;var isEmpty=$(fld).val()=="";$(fld).removeClass("is-valid").removeClass("is-invalid");if(isRequired){if(isValid){if(!isEmpty)$(fld).addClass("is-valid");return!0}else{$(fld).addClass("is-invalid");return!1}}};$(function(){var progress_bar_animate='.progress-bar[data-animate-percent="true"]';if($(progress_bar_animate).length>0){$(progress_bar_animate).each(function(){$(this).animate({textIndent:$(this).attr('aria-valuenow')+'%'},{duration:1500,easing:'linear',step:function(){$(this).css({'width':$(this).attr('aria-valuenow')+'%'})}})})} var scolltop=$(document).scrollTop();$(document).on('show.bs.modal',function(){$(this).find('.modal.show').css({padding:0});scolltop=$(document).scrollTop();$('html').addClass('modal-open').css({overflow:'hidden',left:0,right:0,top:0,bottom:0,position:'fixed',});if($(this).find(".disable_dynamic_areas")){}else if(typeof dyna_area_edit_on!="undefined"){dyna_area_edit_on()}}).on('hide.bs.modal',function(){$('html').removeAttr('class').removeAttr('style');$(document).scrollTop(scolltop)});$('[data-toggle="tooltip"]').tooltip();$('[data-toggle="popover"]').popover();$('body').on('click',function(e){"use strict";let target=$(e.target);if(!target.is('[data-toggle="popover"]')&&$('.popover').length!==0&&typeof target.popover!=="undefined"){$('[data-toggle="popover"]').popover('hide')} if(!target.is('[data-toggle="tooltip"]')&&$('.tooltip')!=0&&typeof target.tooltip!=="undefined"){$('[data-toggle="tooltip"]').tooltip('hide')}});$('[data-toggle="tooltip"][data-hover="true"][data-trigger="click"]').hover(function(){$(this).tooltip('show')});$('[data-toggle="popover"][data-hover="true"]').hover(function(){$(this).popover('show')});$('.needs-validation :input').change(function(){checkField(this)});$('body').on('change','.needs-validation :input',function(){checkField(this)});$('.needs-validation').submit(function(e){if(this.checkValidity()===!1){e.preventDefault();e.stopPropagation()} $(this).find(':input').each(function(i,e){checkField(e)})});$('.modal').on('shown.bs.modal',function(){$(document).off('focusin.modal')})}); /****** end js file: scripts.js ******/ /****** js file: sweetalert2.min.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/plugins/sweetalert2/js/sweetalert2.min.js ******/ /****** last modified: 1663866137 (2022-09-22 12:02:17) ******/ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t=t||self).Sweetalert2=e()}(this,function(){"use strict";function r(t){return(r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}function a(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function o(t,e){for(var n=0;nt.clientHeight)}function ct(t){var e=window.getComputedStyle(t),n=parseFloat(e.getPropertyValue("animation-duration")||"0"),o=parseFloat(e.getPropertyValue("transition-duration")||"0");return 0\n
      \n
        \n
        \n
        \n
        \n
        \n
        \n \n

        \n \n
        \n
        \n
        \n \n \n
        \n \n \n
        \n \n
        \n \n \n
        \n
        \n
        \n \n \n
        \n
        \n
        \n
        \n
        \n
      • \n').replace(/(^|\n)\s*/g,""),yt=function(t){var e,n,o,i,r,a,c,s,u,l,d,p,f,m,h,g=!!(e=Q())&&(e.parentNode.removeChild(e),ht([document.documentElement,document.body],[Y["no-backdrop"],Y["toast-shown"],Y["has-column"]]),!0);ut()?F("SweetAlert2 requires document to initialize"):((n=document.createElement("div")).className=Y.container,g&&mt(n,Y["no-transition"]),H(n,bt),(o="string"==typeof(i=t.target)?document.querySelector(i):i).appendChild(n),r=t,(a=$()).setAttribute("role",r.toast?"alert":"dialog"),a.setAttribute("aria-live",r.toast?"polite":"assertive"),r.toast||a.setAttribute("aria-modal","true"),c=o,"rtl"===window.getComputedStyle(c).direction&&mt(Q(),Y.rtl),s=P(),u=gt(s,Y.input),l=gt(s,Y.file),d=s.querySelector(".".concat(Y.range," input")),p=s.querySelector(".".concat(Y.range," output")),f=gt(s,Y.select),m=s.querySelector(".".concat(Y.checkbox," input")),h=gt(s,Y.textarea),u.oninput=lt,l.onchange=lt,f.onchange=lt,m.onchange=lt,h.oninput=lt,d.oninput=function(t){lt(t),p.value=d.value},d.onchange=function(t){lt(t),d.nextSibling.value=d.value})},wt=function(t,e){t.jquery?Ct(e,t):H(e,t.toString())},Ct=function(t,e){if(t.textContent="",0 in e)for(var n=0;n in e;n++)t.appendChild(e[n].cloneNode(!0));else t.appendChild(e.cloneNode(!0))},kt=function(){if(ut())return!1;var t=document.createElement("div"),e={WebkitAnimation:"webkitAnimationEnd",OAnimation:"oAnimationEnd oanimationend",animation:"animationend"};for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)&&void 0!==t.style[n])return e[n];return!1}();function xt(t,e,n){var o;rt(t,n["show".concat((o=e).charAt(0).toUpperCase()+o.slice(1),"Button")],"inline-block"),H(t,n["".concat(e,"ButtonText")]),t.setAttribute("aria-label",n["".concat(e,"ButtonAriaLabel")]),t.className=Y[e],N(t,n,"".concat(e,"Button")),mt(t,n["".concat(e,"ButtonClass")])}function Pt(t,e){var n,o,i,r,a,c,s,u,l=Q();l&&(n=l,"string"==typeof(o=e.backdrop)?n.style.background=o:o||mt([document.documentElement,document.body],Y["no-backdrop"]),!e.backdrop&&e.allowOutsideClick&&_('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`'),i=l,(r=e.position)in Y?mt(i,Y[r]):(_('The "position" parameter is not valid, defaulting to "center"'),mt(i,Y.center)),a=l,!(c=e.grow)||"string"!=typeof c||(s="grow-".concat(c))in Y&&mt(a,Y[s]),N(l,e,"container"),(u=document.body.getAttribute("data-swal2-queue-step"))&&(l.setAttribute("data-queue-step",u),document.body.removeAttribute("data-swal2-queue-step")))}function At(t,e){t.placeholder&&!e.inputPlaceholder||(t.placeholder=e.inputPlaceholder)}var Bt={promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap},St=["input","file","range","select","radio","checkbox","textarea"],Et=function(t){if(!jt[t.input])return F('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(t.input,'"'));var e=Lt(t.input),n=jt[t.input](e,t);ot(n),setTimeout(function(){tt(n)})},Ot=function(t,e){var n=G(P(),t);if(n)for(var o in!function(t){for(var e=0;e=s.progressSteps.length&&_("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),s.progressSteps.forEach(function(t,e){var n,o,i,r,a,c=(n=t,o=document.createElement("li"),mt(o,Y["progress-step"]),H(o,n),o);u.appendChild(c),e===l&&mt(c,Y["active-progress-step"]),e!==s.progressSteps.length-1&&(r=s,a=document.createElement("li"),mt(a,Y["progress-step-line"]),r.progressStepsDistance&&(a.style.width=r.progressStepsDistance),i=a,u.appendChild(i))})}function Mt(t,e){var n,o,i,r,a,c,s,u,l=L();N(l,e,"header"),Vt(0,e),n=t,o=e,(r=Bt.innerParams.get(n))&&o.icon===r.icon&&k()?N(k(),o,"icon"):(Dt(),o.icon&&(-1!==Object.keys(Z).indexOf(o.icon)?(i=C(".".concat(Y.icon,".").concat(Z[o.icon])),ot(i),Ut(i,o),Nt(),N(i,o,"icon"),mt(i,o.showClass.icon)):F('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(o.icon,'"')))),function(t){var e=A();if(!t.imageUrl)return it(e);ot(e,""),e.setAttribute("src",t.imageUrl),e.setAttribute("alt",t.imageAlt),nt(e,"width",t.imageWidth),nt(e,"height",t.imageHeight),e.className=Y.image,N(e,t,"image")}(e),a=e,c=x(),rt(c,a.title||a.titleText),a.title&&dt(a.title,c),a.titleText&&(c.innerText=a.titleText),N(c,a,"title"),s=e,u=I(),H(u,s.closeButtonHtml),N(u,s,"closeButton"),rt(u,s.showCloseButton),u.setAttribute("aria-label",s.closeButtonAriaLabel)}function Rt(t,e){var n,o,i,r;n=e,o=$(),nt(o,"width",n.width),nt(o,"padding",n.padding),n.background&&(o.style.background=n.background),zt(o,n),Pt(0,e),Mt(t,e),qt(t,e),pt(0,e),i=e,r=j(),rt(r,i.footer),i.footer&&dt(i.footer,r),N(r,i,"footer"),"function"==typeof e.onRender&&e.onRender($())}function Ht(){return E()&&E().click()}var Dt=function(){for(var t=n(),e=0;e
        \n \n
        \n
        \n '):"error"===e.icon?H(t,'\n \n \n \n \n '):H(t,_t({question:"?",warning:"!",info:"i"}[e.icon]))},_t=function(t){return'
        ').concat(t,"
        ")},Ft=[],zt=function(t,e){t.className="".concat(Y.popup," ").concat(vt(t)?e.showClass.popup:""),e.toast?(mt([document.documentElement,document.body],Y["toast-shown"]),mt(t,Y.toast)):mt(t,Y.modal),N(t,e,"popup"),"string"==typeof e.customClass&&mt(t,e.customClass),e.icon&&mt(t,Y["icon-".concat(e.icon)])};function Wt(){var t=$();t||sn.fire(),t=$();var e=T(),n=E();ot(e),ot(n,"inline-block"),mt([t,e],Y.loading),n.disabled=!0,t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()}function Kt(){return new Promise(function(t){var e=window.scrollX,n=window.scrollY;Xt.restoreFocusTimeout=setTimeout(function(){Xt.previousActiveElement&&Xt.previousActiveElement.focus?(Xt.previousActiveElement.focus(),Xt.previousActiveElement=null):document.body&&document.body.focus(),t()},100),void 0!==e&&void 0!==n&&window.scrollTo(e,n)})}function Yt(){if(Xt.timeout)return function(){var t=q(),e=parseInt(window.getComputedStyle(t).width);t.style.removeProperty("transition"),t.style.width="100%";var n=parseInt(window.getComputedStyle(t).width),o=parseInt(e/n*100);t.style.removeProperty("transition"),t.style.width="".concat(o,"%")}(),Xt.timeout.stop()}function Zt(){if(Xt.timeout){var t=Xt.timeout.start();return st(t),t}}function Qt(t){return Object.prototype.hasOwnProperty.call(Gt,t)}function $t(t){return ee[t]}function Jt(t){for(var e in t)Qt(i=e)||_('Unknown parameter "'.concat(i,'"')),t.toast&&(o=e,-1!==ne.indexOf(o)&&_('The parameter "'.concat(o,'" is incompatible with toasts'))),$t(n=e)&&g(n,$t(n));var n,o,i}var Xt={},Gt={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconHtml:void 0,toast:!1,animation:!0,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:void 0,target:"body",backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showCancelButton:!1,preConfirm:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusCancel:!1,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",showLoaderOnConfirm:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,onBeforeOpen:void 0,onOpen:void 0,onRender:void 0,onClose:void 0,onAfterClose:void 0,onDestroy:void 0,scrollbarPadding:!0},te=["title","titleText","text","html","footer","icon","hideClass","customClass","allowOutsideClick","allowEscapeKey","showConfirmButton","showCancelButton","confirmButtonText","confirmButtonAriaLabel","confirmButtonColor","cancelButtonText","cancelButtonAriaLabel","cancelButtonColor","buttonsStyling","reverseButtons","showCloseButton","closeButtonHtml","closeButtonAriaLabel","imageUrl","imageWidth","imageHeight","imageAlt","progressSteps","currentProgressStep","onClose","onAfterClose","onDestroy"],ee={animation:'showClass" and "hideClass'},ne=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusCancel","heightAuto","keydownListenerCapture"],oe=Object.freeze({isValidParameter:Qt,isUpdatableParameter:function(t){return-1!==te.indexOf(t)},isDeprecatedParameter:$t,argsToParams:function(o){var i={};return"object"!==r(o[0])||w(o[0])?["title","html","icon"].forEach(function(t,e){var n=o[e];"string"==typeof n||w(n)?i[t]=n:void 0!==n&&F("Unexpected type of ".concat(t,'! Expected "string" or "Element", got ').concat(r(n)))}):s(i,o[0]),i},isVisible:function(){return vt($())},clickConfirm:Ht,clickCancel:function(){return O()&&O().click()},getContainer:Q,getPopup:$,getTitle:x,getContent:P,getHtmlContainer:function(){return e(Y["html-container"])},getImage:A,getIcon:k,getIcons:n,getCloseButton:I,getActions:T,getConfirmButton:E,getCancelButton:O,getHeader:L,getFooter:j,getTimerProgressBar:q,getFocusableElements:V,getValidationMessage:S,isLoading:R,fire:function(){for(var t=arguments.length,e=new Array(t),n=0;nwindow.innerHeight&&(X.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(X.previousBodyPadding+function(){var t=document.createElement("div");t.className=Y["scrollbar-measure"],document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e}(),"px"))}function ae(){return!!window.MSInputMethodContext&&!!document.documentMode}function ce(){var t=Q(),e=$();t.style.removeProperty("align-items"),e.offsetTop<0&&(t.style.alignItems="flex-start")}var se=function(){navigator.userAgent.match(/(CriOS|FxiOS|EdgiOS|YaBrowser|UCBrowser)/i)||$().scrollHeight>window.innerHeight-44&&(Q().style.paddingBottom="".concat(44,"px"))},ue=function(){var e,t=Q();t.ontouchstart=function(t){e=le(t.target)},t.ontouchmove=function(t){e&&(t.preventDefault(),t.stopPropagation())}},le=function(t){var e=Q();return t===e||!(at(e)||"INPUT"===t.tagName||at(P())&&P().contains(t))},de={swalPromiseResolve:new WeakMap};function pe(t,e,n,o){var i;n?he(t,o):(Kt().then(function(){return he(t,o)}),Xt.keydownTarget.removeEventListener("keydown",Xt.keydownHandler,{capture:Xt.keydownListenerCapture}),Xt.keydownHandlerAdded=!1),e.parentNode&&!document.body.getAttribute("data-swal2-queue-step")&&e.parentNode.removeChild(e),M()&&(null!==X.previousBodyPadding&&(document.body.style.paddingRight="".concat(X.previousBodyPadding,"px"),X.previousBodyPadding=null),D(document.body,Y.iosfix)&&(i=parseInt(document.body.style.top,10),ht(document.body,Y.iosfix),document.body.style.top="",document.body.scrollTop=-1*i),"undefined"!=typeof window&&ae()&&window.removeEventListener("resize",ce),h(document.body.children).forEach(function(t){t.hasAttribute("data-previous-aria-hidden")?(t.setAttribute("aria-hidden",t.getAttribute("data-previous-aria-hidden")),t.removeAttribute("data-previous-aria-hidden")):t.removeAttribute("aria-hidden")})),ht([document.documentElement,document.body],[Y.shown,Y["height-auto"],Y["no-backdrop"],Y["toast-shown"],Y["toast-column"]])}function fe(t){var e,n,o,i=$();i&&(e=Bt.innerParams.get(this))&&!D(i,e.hideClass.popup)&&(n=de.swalPromiseResolve.get(this),ht(i,e.showClass.popup),mt(i,e.hideClass.popup),o=Q(),ht(o,e.showClass.backdrop),mt(o,e.hideClass.backdrop),function(t,e,n){var o=Q(),i=kt&&ct(e),r=n.onClose,a=n.onAfterClose;if(r!==null&&typeof r==="function"){r(e)}if(i){me(t,e,o,a)}else{pe(t,o,J(),a)}}(this,i,e),void 0!==t?(t.isDismissed=void 0!==t.dismiss,t.isConfirmed=void 0===t.dismiss):t={isDismissed:!0,isConfirmed:!1},n(t||{}))}var me=function(t,e,n,o){Xt.swalCloseEventFinishedCallback=pe.bind(null,t,n,J(),o),e.addEventListener(kt,function(t){t.target===e&&(Xt.swalCloseEventFinishedCallback(),delete Xt.swalCloseEventFinishedCallback)})},he=function(t,e){setTimeout(function(){"function"==typeof e&&e(),t._destroy()})};function ge(t,e,n){var o=Bt.domCache.get(t);e.forEach(function(t){o[t].disabled=n})}function ve(t,e){if(!t)return!1;if("radio"===t.type)for(var n=t.parentNode.parentNode.querySelectorAll("input"),o=0;o")),yt(t)}function Ce(t){var e=Q(),n=$();"function"==typeof t.onBeforeOpen&&t.onBeforeOpen(n);var o=window.getComputedStyle(document.body).overflowY;je(e,n,t),Te(e,n),M()&&(Le(e,t.scrollbarPadding,o),h(document.body.children).forEach(function(t){t===Q()||function(t,e){if("function"==typeof t.contains)return t.contains(e)}(t,Q())||(t.hasAttribute("aria-hidden")&&t.setAttribute("data-previous-aria-hidden",t.getAttribute("aria-hidden")),t.setAttribute("aria-hidden","true"))})),J()||Xt.previousActiveElement||(Xt.previousActiveElement=document.activeElement),"function"==typeof t.onOpen&&setTimeout(function(){return t.onOpen(n)}),ht(e,Y["no-transition"])}function ke(t){var e,n=$();t.target===n&&(e=Q(),n.removeEventListener(kt,ke),e.style.overflowY="auto")}function xe(t,e){"select"===e.input||"radio"===e.input?Me(t,e):-1!==["text","email","number","tel","textarea"].indexOf(e.input)&&(v(e.inputValue)||y(e.inputValue))&&Re(t,e)}function Pe(t,e){t.disableButtons(),e.input?Ne(t,e):Ue(t,e,!0)}function Ae(t,e){t.disableButtons(),e(K.cancel)}function Be(t,e){t.closePopup({value:e})}function Se(e,t,n,o){t.keydownTarget&&t.keydownHandlerAdded&&(t.keydownTarget.removeEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!1),n.toast||(t.keydownHandler=function(t){return ze(e,t,o)},t.keydownTarget=n.keydownListenerCapture?window:$(),t.keydownListenerCapture=n.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)}function Ee(t,e,n){var o=V(),i=0;if(i
        ');let do_hide=(minable_settings[head_id]=="hide");if(do_hide)self.do_showhide($(this),!1,!0)})} do_showhide(card_head,do_setting_save=!1,force_hide=!1){let head_id=card_head.attr('id');let body_sel=$(card_head).data('card-body-selector');let sib_body=card_head.siblings('.card-body');if(typeof(body_sel)=="string"&&$(body_sel).length>0)sib_body=$(body_sel);if(sib_body.length==0)alert('No Body found for minimization');if(sib_body.length>0){let is_visible=$(sib_body).is(':visible');let do_hide=(is_visible||force_hide);if(do_hide){$(sib_body).hide();if(do_setting_save)ai.user.set_setting("minable."+head_id,"hide");$(card_head).find("div.minable_icon i").removeClass("freycon-minus-square-o").addClass("freycon-plus-square-o")}else{$(sib_body).show();if(do_setting_save)ai.user.set_setting("minable."+head_id,"1");$(card_head).find("div.minable_icon i").removeClass("freycon-plus-square-o").addClass("freycon-minus-square-o")}}}} var mincards=new MinableCards();mincards.init();$(document).ready(function(){mincards.init()});$(document).on('click','.minable_icon',function(){let card_head=$(this).parent('.card-header');if(card_head.length!=1){alert('Card Header not found to minimize!');return!1} mincards.do_showhide(card_head,!0)}); /****** end js file: minable_cards.js ******/ /****** js file: match_height.min.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/js/match_height.min.js ******/ /****** last modified: 1663866016 (2022-09-22 12:00:16) ******/ /* * jquery-match-height 0.7.2 by @liabru * http://brm.io/jquery-match-height/ * License MIT */ !function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):"undefined"!=typeof module&&module.exports?module.exports=t(require("jquery")):t(jQuery)}(function(t){var e=-1,o=-1,n=function(t){return parseFloat(t)||0},a=function(e){var o=1,a=t(e),i=null,r=[];return a.each(function(){var e=t(this),a=e.offset().top-n(e.css("margin-top")),s=r.length>0?r[r.length-1]:null;null===s?r.push(e):Math.floor(Math.abs(i-a))<=o?r[r.length-1]=s.add(e):r.push(e),i=a}),r},i=function(e){var o={ byRow:!0,property:"height",target:null,remove:!1};return"object"==typeof e?t.extend(o,e):("boolean"==typeof e?o.byRow=e:"remove"===e&&(o.remove=!0),o)},r=t.fn.matchHeight=function(e){var o=i(e);if(o.remove){var n=this;return this.css(o.property,""),t.each(r._groups,function(t,e){e.elements=e.elements.not(n)}),this}return this.length<=1&&!o.target?this:(r._groups.push({elements:this,options:o}),r._apply(this,o),this)};r.version="0.7.2",r._groups=[],r._throttle=80,r._maintainScroll=!1,r._beforeUpdate=null, r._afterUpdate=null,r._rows=a,r._parse=n,r._parseOptions=i,r._apply=function(e,o){var s=i(o),h=t(e),l=[h],c=t(window).scrollTop(),p=t("html").outerHeight(!0),u=h.parents().filter(":hidden");return u.each(function(){var e=t(this);e.data("style-cache",e.attr("style"))}),u.css("display","block"),s.byRow&&!s.target&&(h.each(function(){var e=t(this),o=e.css("display");"inline-block"!==o&&"flex"!==o&&"inline-flex"!==o&&(o="block"),e.data("style-cache",e.attr("style")),e.css({display:o,"padding-top":"0", "padding-bottom":"0","margin-top":"0","margin-bottom":"0","border-top-width":"0","border-bottom-width":"0",height:"100px",overflow:"hidden"})}),l=a(h),h.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||"")})),t.each(l,function(e,o){var a=t(o),i=0;if(s.target)i=s.target.outerHeight(!1);else{if(s.byRow&&a.length<=1)return void a.css(s.property,"");a.each(function(){var e=t(this),o=e.attr("style"),n=e.css("display");"inline-block"!==n&&"flex"!==n&&"inline-flex"!==n&&(n="block");var a={ display:n};a[s.property]="",e.css(a),e.outerHeight(!1)>i&&(i=e.outerHeight(!1)),o?e.attr("style",o):e.css("display","")})}a.each(function(){var e=t(this),o=0;s.target&&e.is(s.target)||("border-box"!==e.css("box-sizing")&&(o+=n(e.css("border-top-width"))+n(e.css("border-bottom-width")),o+=n(e.css("padding-top"))+n(e.css("padding-bottom"))),e.css(s.property,i-o+"px"))})}),u.each(function(){var e=t(this);e.attr("style",e.data("style-cache")||null)}),r._maintainScroll&&t(window).scrollTop(c/p*t("html").outerHeight(!0)), this},r._applyDataApi=function(){var e={};t("[data-match-height], [data-mh]").each(function(){var o=t(this),n=o.attr("data-mh")||o.attr("data-match-height");n in e?e[n]=e[n].add(o):e[n]=o}),t.each(e,function(){this.matchHeight(!0)})};var s=function(e){r._beforeUpdate&&r._beforeUpdate(e,r._groups),t.each(r._groups,function(){r._apply(this.elements,this.options)}),r._afterUpdate&&r._afterUpdate(e,r._groups)};r._update=function(n,a){if(a&&"resize"===a.type){var i=t(window).width();if(i===e)return;e=i; }n?o===-1&&(o=setTimeout(function(){s(a),o=-1},r._throttle)):s(a)},t(r._applyDataApi);var h=t.fn.on?"on":"bind";t(window)[h]("load",function(t){r._update(!1,t)}),t(window)[h]("resize orientationchange",function(t){r._update(!0,t)})}); /****** end js file: match_height.min.js ******/ /****** js file: ai_match_height.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/js/ai_match_height.js ******/ /****** last modified: 1663866016 (2022-09-22 12:00:16) ******/ $(document).ready(function(){var match_groups=[];var match_groups_mobile=[];var ops={byRow:!1,property:'min-height'};$('.ai_match_height').each(function(){group=$(this).attr('match-group');group_mobile=$(this).attr('match-group-mobile');if(group!=null){var index=-1;var len=match_groups.length;for(var i=0;i749&&group[1]=='off')){$('.ai_match_height[match-group="'+group[0]+'"]').matchHeight(ops)}});$(window).resize(function(){$.each(match_groups,function(i,group){if(group[1]=='on'||($(window).width()>749&&group[1]=='off')){$('.ai_match_height[match-group="'+group[0]+'"]').matchHeight(ops)}else{$('.ai_match_height[match-group="'+group[0]+'"]').matchHeight({remove:!0})}})})}); /****** end js file: ai_match_height.js ******/ /****** js file: jquery.jonbox.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/plugins/jonbox/jquery.jonbox.js ******/ /****** last modified: 1663866112 (2022-09-22 12:01:52) ******/ var jonbox_close_image="includes/plugins/jonbox/images/jonbox_close.png";var jonbox_close_hot_image="includes/plugins/jonbox/images/jonbox_close_hot.png";var jonbox_loading_image="includes/plugins/jonbox/images/jonbox_loading.gif";var jonbox_persistent=!1;var draw_form_around_content=!0;if(typeof jQuery!='undefined'){$(document).ready(init_jonbox);var css_link=$("",{rel:"preload",as:"style",type:"text/css",href:"includes/plugins/jonbox/jquery.jonbox.css",onload:"this.onload=null;this.rel=\'stylesheet\'"});css_link.appendTo('head')}else{} function init_jonbox(e){init_links();var img1=new Image();img1.src=jonbox_close_image;var img2=new Image();img2.src=jonbox_close_hot_image;var img_load=new Image();img_load=jonbox_loading_image;if($('#jonbox_jblock').length<=0){$("
        ").attr("id","jonbox_jblock").appendTo("body").hide().click(close_jonbox)} if($('#jonbox_loading').length<=0){$("
        ").attr("id","jonbox_loading").appendTo("body").hide().html($("").attr({'src':jonbox_loading_image,alt:"Loading",title:"Loading"})).click(close_jonbox)} if($('#jonbox').length<=0){$("
        ").attr("id","jonbox").appendTo("body").hide()} var element="#jonbox";if(draw_form_around_content){if($('#jonbox_form').length<=0){$("
        ").attr("id","jonbox_form").appendTo("#jonbox");$("#jonbox_form").attr('name','jonbox_form').attr('action','#').attr('method','GET').attr('onsubmit','if(callback(this)){close_jonbox();}return false;')} element="#jonbox_form"}else{$("#jonbox").empty()} if($('#jonbox_titlebar').length<=0){$("
        ").attr("id","jonbox_titlebar").appendTo(element)} if($('#jonbox_content').length<=0){$("
        ").attr("id","jonbox_content").appendTo(element)} if($('#jonbox_footer').length<=0){$("
        ").attr("id","jonbox_footer").appendTo(element)} if($('#jonbox_close_x').length<=0){$("").attr({'src':jonbox_close_image,alt:"x",title:"Close"}).attr('id','jonbox_close_x').hover(function(){this.src=jonbox_close_hot_image},function(){this.src=jonbox_close_image}).appendTo("#jonbox_titlebar").click(close_jonbox)} if($('#jonbox_title').length<=0){$("
        ").attr("id","jonbox_title").html(" ").appendTo("#jonbox_titlebar")} if($("#jonbox_quick_content").length<=0){$("
        ").attr("id","jonbox_quick_content").appendTo("body").hide()}} function init_links(){if(window.ran_body_a_rel_jonbox==undefined){$("body").on("click",'a[rel="jonbox"]',function(e){window.ran_body_a_rel_jonbox=!0;e.data={aobj:this};draw_form_around_content=!1;open_jonbox_from_object(e);return!1})} $('[rel="jonbox_delegator"]').on("click",'a[rel="jonbox_delegated"]',function(e){e.data={aobj:this};draw_form_around_content=!1;open_jonbox_from_object(e);return!1})} function open_jonbox_from_object(e){init_jonbox();e.preventDefault();var opts={};if($(e.data.aobj).data("jonboxWidth")){opts.width=$(e.data.aobj).data("jonboxWidth")} if($(e.data.aobj).data("jonboxHeight")){opts.height=$(e.data.aobj).data("jonboxHeight")} return open_jonbox(e.data.aobj.href,"",opts)} function open_jonbox(url,post_str,opts){$("#jonbox_jblock").css({height:$(document).height()}).show(1,function(){$(this).animate({opacity:0.80},200,null,function(){show_loading();if($.isPlainObject(opts)){if(typeof opts.width!="undefined"){$("#jonbox_content").css({"width":"100%"})}else{$("#jonbox_content").css({"width":"auto"})} if(typeof opts.height!="undefined"){$("#jonbox_content").css({"height":opts.height})}else{$("#jonbox_content").css({"height":"auto"})}} if(typeof post_str=="undefined"||post_str==""){ajax_get_request(url,jonbox_ajax_call_return)}else{ajax_post_request(url,post_str,jonbox_ajax_call_return)}})});return!1} function jonbox_ajax_call_return(ajax_http){var sep_loc=ajax_http.responseText.indexOf('|');var response_name='';var response_value='';if(sep_loc>0&&sep_loc<256){response_name=ajax_trim_str(ajax_http.responseText.substr(0,sep_loc));response_value=ajax_http.responseText.substr(1+sep_loc);if(response_name=='ajax_error'){var err_msg='';err_msg+='';$("#jonbox_content").html(err_msg);$("#jonbox_title").html("ERROR!");$("#jonbox_footer").html('
        ')}else if(response_name=='ajax_run_script'){close_jonbox();ajax_run_script(response_value)}else{try{$("#jonbox_content").html(response_value)}catch(e){console.log(e)}}}else{try{$("#jonbox_content").html(ajax_http.responseText);if($("#jonbox_content .te_buttons").length>0){$("#jonbox_footer").hide()}}catch(e){console.log(e)}} $.event.trigger({type:"jonbox-ajaxStop",message:"JonBox has finished AJAX",time:new Date()});show_jonbox()} function show_jonbox(hide_frame_and_maximize){$.event.trigger({type:"jonbox-showStart",message:"JonBox is beginning to show",time:new Date()});$("#jonbox_loading").fadeOut("fast",function(){$("#jonbox").show(1,function(){position("jonbox");var top=$(this).css('top');top=parseInt(top);$(this).css({top:(top-20)+"px"}).animate({top:(top+20)+"px",opacity:1},0);if(hide_frame_and_maximize==!0){if($('#jonbox').length>0){$("#jonbox").css({background:"none",width:"90%",height:"90%","border-radius":"0px","border":"none","box-shadow":"none"})} if($('#jonbox_content').length>0){$("#jonbox_content").css({padding:0})}} jonbox_reposition_resize();$(window).resize(jonbox_reposition_resize).scroll(jonbox_reposition_scroll);$.event.trigger({type:"jonbox-showComplete",message:"JonBox is finished showing",time:new Date()});if(typeof disable_all_dynamic_areas_not_part_of_jonbox!="undefined"){disable_all_dynamic_areas_not_part_of_jonbox()} dyna_area_edit_on()})})} function show_loading(){position("jonbox_loading");$("#jonbox_loading").fadeIn("fast")} function position(div_id){set_position(div_id,!1)} var reposition_active=!1;var scroll_x=0;var scroll_y=0;var vp_x=0;var vp_y=0;function jonbox_reposition_resize(e){var win=get_window_sizes();scroll_offset_x=win.scroll_offset_x;scroll_offset_y=win.scroll_offset_y;vp_width=win.vp_width;vp_height=win.vp_height;if(navigator.userAgent.indexOf("MSIE")==-1||(win.scroll_offset_x==scroll_x&&win.scroll_offset_y==scroll_y&&win.vp_width==vp_x&&win.vp_height==vp_y)){$("#jonbox_jblock").css({height:$(document).height()});set_position('jonbox',!0)}else{reposition_active=!0;scroll_x=win.scroll_offset_x;scroll_y=win.scroll_offset_y;vp_x=win.vp_width;vp_y=win.vp_height}} var timer=!1;function jonbox_reposition_scroll(e){var win=get_window_sizes();scroll_offset_x=win.scroll_offset_x;scroll_offset_y=win.scroll_offset_y;vp_width=win.vp_width;vp_height=win.vp_height;if(win.scroll_offset_x==scroll_x&&win.scroll_offset_y==scroll_y&&win.vp_width==vp_x&&win.vp_height==vp_y){$("#jonbox_jblock").css({height:$(document).height(),width:$(document).width()});set_position('jonbox',!0);timer=!1}else{reposition_active=!0;scroll_x=win.scroll_offset_x;scroll_y=win.scroll_offset_y;vp_x=win.vp_width;vp_y=win.vp_height;if(!timer){setTimeout(jonbox_reposition_scroll,400);timer=!0}}} function set_position(div_id,animate){var jonbox=document.getElementById(div_id);var scroll_offset_x,scroll_offset_y,vp_width,vp_height,jonbox_height,jonbox_width;var win=get_window_sizes();scroll_offset_x=win.scroll_offset_x;scroll_offset_y=win.scroll_offset_y;vp_width=win.vp_width;vp_height=win.vp_height;jonbox_height=jonbox.offsetHeight;jonbox_width=jonbox.offsetWidth;var jonbox_x=parseInt((vp_width-jonbox.offsetWidth)/2+scroll_offset_x);var jonbox_y=0;var static_pos=!1;if(jonbox_height+25>vp_height){if(jonbox.style.top=="0pt"||jonbox.style.top=="0"||jonbox.style.top=="0px"){jonbox_y=parseInt(25+scroll_offset_y)}else{static_pos=!0}}else if(jonbox_height>(vp_height-(vp_height*(1/3)))){jonbox_y=parseInt(25+scroll_offset_y)}else{jonbox_y=parseInt((2*vp_height-3*jonbox_height)/6+scroll_offset_y)} if(jonbox_y<25){jonbox_y=25} if(!static_pos){jonbox.style.top=(jonbox_y+25)+"px";jonbox.style.left=jonbox_x+"px"}else{jonbox.style.left=jonbox_x+"px"}};function get_window_sizes(){if(self.pageYOffset){scroll_offset_x=self.pageXOffset;scroll_offset_y=self.pageYOffset}else if(document.documentElement&&document.documentElement.scrollTop){scroll_offset_x=document.documentElement.scrollLeft;scroll_offset_y=document.documentElement.scrollTop}else if(document.body){scroll_offset_x=document.body.scrollLeft;scroll_offset_y=document.body.scrollTop} if(self.innerHeight){vp_width=self.innerWidth;vp_height=self.innerHeight}else if(document.documentElement&&document.documentElement.clientHeight){vp_width=document.documentElement.clientWidth;vp_height=document.documentElement.clientHeight}else if(document.body){vp_width=document.body.clientWidth;vp_height=document.body.clientHeight} return{'scroll_offset_y':scroll_offset_y,'scroll_offset_x':scroll_offset_x,'vp_width':vp_width,'vp_height':vp_height}} function jonbox_alert(msg){jonbox_display_message(msg,"alert")} function jonbox_info(msg){jonbox_display_message(msg,"information")} function jonbox_checkmark(msg){jonbox_display_message(msg,"check")} function jonbox_display_message(msg,type){var full_msg='
        ';err_msg+=response_value+'
        ';full_msg+='';$("#jonbox_jblock").css({height:$(document).height()}).show(1,function(){$(this).animate({opacity:0.80},100,null,function(){$("#jonbox_content").html(full_msg);$("#jonbox_footer").html('
        ');show_jonbox()})});return!1} var callback='';function jonbox_form(form_id,passed_callback,title){show_loading();tagtype=$('#'+form_id).prop("tagName");var form=(tagtype!==undefined&&tagtype.toLowerCase()=='textarea')?$('#'+form_id).val():$('#'+form_id).html();callback=passed_callback;if(tagtype!==undefined){form=form.replace("","textarea>")} var full_form='';full_form+='

        ';full_form+=form;var form_footer='';form_footer+='';form_footer+=' ';$("#jonbox_jblock").css({height:$(document).height()}).show(1,function(){$(this).animate({opacity:0.80},100,null,function(){if(title!==undefined){$("#jonbox_title").html(title)} $("#jonbox_content").html(full_form);$("#jonbox_footer").html(form_footer);show_jonbox()})});return!1} var callback='';function jonbox_full_form(form_id,passed_callback){var full_form=$('#'+form_id).html();callback=passed_callback;$("#jonbox_jblock").css({height:$(document).height()}).show(1,function(){$(this).animate({opacity:0.80},100,null,function(){$("#jonbox_content").html(full_form);show_jonbox()})});return!1} function jonbox_open_div(div_id,hide_frame_and_maximize,reset_jonbox_form_contents){reset_jonbox_form_contents=(reset_jonbox_form_contents===undefined)?!0:reset_jonbox_form_contents;var div_contents=$("#"+div_id).html();$("#"+div_id).addClass("jonbox_converted_to_text").text(div_contents).html();$("#jonbox_jblock").css({height:$(document).height()}).show(1,function(){$(this).animate({opacity:0.80},100,null,function(){if(reset_jonbox_form_contents){$("#jonbox_content").html('');$("#jonbox_footer").html('')} $("#jonbox_content").data("jonbox_original_div",div_id).html(div_contents);show_jonbox(hide_frame_and_maximize)})})} var image=null;function jonbox_open_img(img_src){$("#jonbox_jblock").css({height:$(document).height()}).show(1,function(){$(this).animate({opacity:0.80},200,null,function(){show_loading();image=new Image();image.src=img_src;setTimeout(jonbox_img_delay,'300')})});return!1} function jonbox_img_delay(){if(!image.complete){setTimeout(jonbox_img_delay,'300')}else{$("#jonbox_content").html("");$("").attr({src:image.src}).appendTo("#jonbox_content");show_jonbox()}} function jonbox_form_error(msg){$('#jonbox_form_error').html(msg)} function close_jonbox(e){if(jonbox_persistent){return!1} $(window).unbind("resize",jonbox_reposition_resize).unbind("scroll",jonbox_reposition_scroll);$.event.trigger({type:"jonbox-hideStart",message:"JonBox is beginning to hide",time:new Date()});$("#jonbox_loading").fadeOut("Fast",function(){var top=$("#jonbox").css('top');top=parseInt(top);$("#jonbox").animate({top:(top+20)+"px",opacity:0},0,null,function(){$(this).hide();$("#jonbox_jblock").animate({opacity:0},200,null,function(){var original_div=$("#jonbox_content").data("jonbox_original_div");if(typeof original_div!="undefined"){$("#"+original_div).html($("#"+original_div).text()).removeClass("jonbox_converted_to_text")} $(this).hide();$('.jonbox_hide').css('visibility','visible');if(typeof jonbox!="undefined"&&jonbox.current_open_div!==null){jonbox.close_div()} $("#jonbox_content").empty();$.event.trigger({type:"jonbox-hideComplete",message:"JonBox is finished hiding",time:new Date()})})})});enable_all_dynamic_areas();if(typeof current_edit_mode_state!=="undefined"&¤t_edit_mode_state){update_dyna_area_pencils()}else{dyna_area_edit_off()} return!1} jonbox={noop:function(){},current_open_div:null,set_and_show:function(quick_html){$("#jonbox_quick_content").html(quick_html);this.open_div("jonbox_quick_content")},open_div:function(div_id){var $div=$("#"+div_id);$("#jonbox_jblock").css({height:$(document).height()}).show(1,function(){$(this).animate({opacity:0.80},100,null,function(){$("#jonbox_content").html("");$("#jonbox_content").append($div);$div.show();show_jonbox();jonbox.current_open_div=$div})});return!1},close_div:function(){if(jonbox_persistent){return!1} if(this.current_open_div!=null){this.current_open_div.hide();$("body").append(this.current_open_div);this.current_open_div=null}}};(function($){$.fn.jonbox=function(options){var defaults={"alert":"","content":"","href":"","info":"","selector":null,"target":""};var globalOpts=$.extend(defaults,options);return this.each(function(){var $$=globalOpts.selector===null?$(this):$(globalOpts.selector,this);var attrs={};if($$.is("a")&&$.type($$.attr("href"))!="undefined"){attrs.href=$$.attr("href")} var datum={"alert":$$.data("alert"),"content":$$.data("content"),"href":$$.data("href"),"info":$$.data("info"),"target":$$.data("target")};var opts=$.extend(globalOpts,datum,attrs);if(opts.href!=""&&opts.href!="#"){$(this).on("click",opts.selector,function(e){e.preventDefault();open_jonbox(opts.href)})}else if(opts.target!=""){$(this).on("click",opts.selector,function(e){e.preventDefault();jonbox.open_div(opts.target)})}else if(opts.content!=""){var rand=Math.round(Math.random()*8999)+1000;var id='jonbox_cached_content_'+rand;$("body").append('');$(this).on("click",opts.selector,function(e){e.preventDefault();jonbox.open_div(id)})}else if(opts.alert!=""){$(this).on("click",opts.selector,function(e){e.preventDefault();jonbox_alert(opts.alert)})}else if(opts.info!=""){$(this).on("click",opts.selector,function(e){e.preventDefault();jonbox_info(opts.info)})}})}}(jQuery)); /****** end js file: jquery.jonbox.js ******/ /****** js file: scripts.js ******/ /****** full path: /home/carc7600/public_html/system/themes/autostrada/js/scripts.js ******/ /****** last modified: 1732011051 (2024-11-19 04:10:51) ******/ ; /****** end js file: scripts.js ******/ /****** js code: ******/ ai_widgets.has_drawn.wysiwyg=!0;$("#draw_once_wysiwyg").appendTo("body") /****** end js code ******/ /****** js code: ******/ ai_widgets.has_drawn.rcolumns=!0;$("#draw_once_rcolumns").appendTo("body") /****** end js code ******/ /****** js code: ******/ ai_widgets.has_drawn.header_navigation=!0;$("#draw_once_header_navigation").appendTo("body") /****** end js code ******/ /****** js code: ******/ ai_widgets.has_drawn.raw_embed_code=!0;$("#draw_once_raw_embed_code").appendTo("body") /****** end js code ******/ /****** js code: ******/ ai_widgets.has_drawn.bootstrap_carousel=!0;$("#draw_once_bootstrap_carousel").appendTo("body") /****** end js code ******/ /****** js code: ******/ var google_site_key='6LcLSKIUAAAAAJAtNCDtMc4N6Jl0UQt5Gk9Pekfs' /****** end js code ******/ /****** js file: ai_recaptcha.js ******/ /****** full path: /home/aicore/public_html/stable/backbone/includes/plugins/recaptcha/ai_recaptcha.js ******/ /****** last modified: 1715831349 (2024-05-15 22:49:09) ******/ var captcha_move_badge_interval;$(()=>load_grecaptcha());async function load_grecaptcha(){"use strict";move_captchas();let element=document.createElement("script");element.src="https://www.google.com/recaptcha/api.js";element.async=!1;document.head.appendChild(element);let result=await new Promise((accept,reject)=>{element.addEventListener("load",accept)});do{if(typeof grecaptcha.render!="undefined"){break} await new Promise((accept,reject)=>grecaptcha.ready(accept))}while(!0);$('input.g-recaptcha-response').each(function(k,v){var submit=$(v).closest("form").find('[type="submit"]');var already_redered=($(v).closest("form").find('.grecaptcha-badge').length>0);if(!already_redered&&submit.length>0){var badge=$(v).data('badge');try{grecaptcha.render(submit[0],{'sitekey':google_site_key,'badge':badge,'callback':function(token){$(v).closest("form").find('input.g-recaptcha-response').val(token);$(v).closest("form").submit()}})}catch(error){console.error(error);console.error(submit[0])}}})} function move_captchas(){"use strict";let placeholder_id=document.getElementById("captcha_placeholder");let placeholder_classes=document.getElementsByClassName("captcha_placeholder");if(placeholder_classes===null){placeholder_classes=[]} setTimeout(()=>move_captchas_impl(placeholder_classes,placeholder_id),300)} function move_captchas_impl(placeholder_classes,placeholder_id){if(placeholder_classes.length==0&&placeholder_id==null){return} if(placeholder_id!==null&&placeholder_id.getElementsByClassName("grecaptcha-badge").length>0){return} let placeholder_classes_recurs=[];if(placeholder_id!==null){let badges=document.getElementsByClassName("grecaptcha-badge");placeholder_id.append(...badges)}else{for(let i=placeholder_classes.length-1;i>=0;i-=1){let parent_form=placeholder_classes[i].closest("form");if(parent_form==null){continue} let badges=parent_form.getElementsByClassName("grecaptcha-badge");if(badges.length>0){placeholder_classes[i].append(...badges);continue} placeholder_classes_recurs.push(placeholder_classes[i])}} setTimeout(()=>move_captchas_impl(placeholder_classes_recurs,placeholder_id),300)}; /****** end js file: ai_recaptcha.js ******/ /****** js code: ******/ ai_widgets.has_drawn.contact_form=!0;$("#draw_once_contact_form").appendTo("body") /****** end js code ******/ /****** js code: ******/ ai_widgets.has_drawn.facebook=!0;$("#draw_once_facebook").appendTo("body") /****** end js code ******/ /****** js code: ******/ ai_widgets.has_drawn.testimonials_feedback_v2=!0;$("#draw_once_testimonials_feedback_v2").appendTo("body") /****** end js code ******/ /****** js code: ******/ ai_widgets.has_drawn.back_to_top=!0;$("#draw_once_back_to_top").appendTo("body") /****** end js code ******/ /****** js code: ******/ ai_widgets.has_drawn.php_script=!0;$("#draw_once_php_script").appendTo("body") /****** end js code ******/
        ';switch(type){case "check":full_msg+='';break;case "danger":full_msg+='';break;case "information":full_msg+='';break;default:full_msg+='';break} full_msg+=''+msg+'