Created
December 13, 2024 03:26
-
-
Save sean-mcclure/df06d776fcde53d1ce859e6cdad8d022 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /*! Azle v1.1.2 | (c) Kedion Inc. | Created by Sean McClure - MIT License */ | |
| function dynamo_load(e,a,t){script=document.createElement("script"),document.head.appendChild(script),script.type=void 0===t?"text/javascript":t,script.src=e,script.onload=function(){a()}}function create_azle(e){"undefined"!=typeof az?e():setTimeout(function(){create_azle(e)},100)}dynamo_load("libs/jquery331.js",function(){az={assert:function(e){var a={};return a.title=e.title,e.function()!==e.should_return?a.message="test failed!":a.message="test passed!",a},load_font:function(e){google_style="https://fonts.googleapis.com/css?family="+e,$("head").append("<link rel='stylesheet' type='text/css' href="+google_style+">")},load_fonts:function(e){$.each(e,function(e,a){google_style="https://fonts.googleapis.com/css?family="+a,$("head").append("<link rel='stylesheet' type='text/css' href="+google_style+">")})},load_script:function(e,a){dynamo_load(e,function(){},a)},load_scripts:function(e,a){$.each(e,function(e,t){az.load_script(t,a)})},load_style:function(e){$("head").append("<link rel='stylesheet' type='text/css' href='"+e+"'>")},load_styles:function(e){$.each(e,function(e,a){az.load_style(a)})},load_meta:function(e){$("head").append("<meta name='"+e.name+"' content='"+e.content+"'>")},load_metas:function(e){$.each(e,function(e,a){az.load_meta(a)})},load_link:function(e){void 0!==e.sizes?$("head").append("<link rel='"+e.rel+"' href='"+e.href+"' sizes='"+e.sizes+"'>"):void 0!==e.type?$("head").append("<link rel='"+e.rel+"' href='"+e.href+"' type='"+e.type+"'>"):$("head").append("<link rel='"+e.rel+"' href='"+e.href+"'>")},load_links:function(e){$.each(e,function(e,a){az.load_link(a)})},load_title:function(e){$("head").append("<title>"+e+"</title>")},load_fontface:function(e){new_font=new FontFace(e.name,"url("+e.url+")"),new_font.load().then(function(e){document.fonts.add(e)}).catch(function(e){console.log("Error loading font. Check path.")})},preload_images:function(e){var a=new Array;for(i=0;i<e.length;i++)a[i]=new Image,a[i].src=e[i]},style_page:function(e){$("html").css(e)},style_body:function(e){$("body").css(e),e.hasOwnProperty("align")&&($("body").wrap("<div class='hold_body_9f87s9sd'></div>"),"center"==e.align&&az.align_element("hold_body_9f87s9sd",1,"center"),"left"==e.align&&az.align_element("hold_body_9f87s9sd",1,"left"),"right"==e.align&&az.align_element("hold_body_9f87s9sd",1,"right"))},add_navigation_bar:function(e){az.add_navigation({this_class:e.this_class,this_id:e.this_id})},add_navigation:function(e){e.hasOwnProperty("this_id")?nav_id=e.this_id:nav_id="nav_"+az.makeid(),$("body").append("<div class="+e.this_class+" id="+nav_id+"></div>"),az.style_navigation(e.this_class,az.get_target_instance(nav_id),az.nav_defaults)},style_navigation_bar:function(e,a,t){$("."+e).eq(a-1).css(t)},style_navigation:function(e,a,t){$("."+e).eq(a-1).css(t)},add_sections:function(e){for(i=1;i<=e.sections;i++)e.hasOwnProperty("this_id")?div_id=e.this_id:div_id="section_"+az.makeid(),$("body").append("<div id="+div_id+" class="+e.this_class+"></div><br class='section_breaks_s8f90d'>"),az.style_sections(e.this_class,az.get_target_instance(div_id),az.sections_defaults)},all_add_sections:function(){alert("The function all_add_sections() is not supported. An Azle application should only have one set of sections.")},style_sections:function(e,a,t){$("."+e).eq(a-1).css(t),t.hasOwnProperty("flush")&&t.flush&&az.flush_element(e,a)},all_style_sections:function(e,a){$("."+e).each(function(t){az.style_sections(e,t,a)})},flush_element:function(e,a,t){void 0!==t?"horizontal"==t.direction?$("."+e).eq(a-1).css("width","100%").css("top",0).css("left",0).css("margin",0).css("margin-left","-10px"):$(".section_breaks_s8f90d").remove():$("."+e).eq(a-1).css("width","100%").css("top",0).css("left",0).css("margin",0).css("margin-left","-10px")},all_flush_element:function(e,a){$("."+e).each(function(t){az.flush_element(e,t,a)})},add_html:function(e,a,t){t.hasOwnProperty("prepend")?t.prepend&&$("."+e).eq(a-1).prepend(t.html):$("."+e).eq(a-1).append(t.html)},all_add_html:function(e,a){$("."+e).each(function(t){az.add_html(e,t,a)})},style_html:function(e,a,t){$("."+e).eq(a-1).css(t),t.hasOwnProperty("align")&&az.align_element(e,a,t.align)},all_style_html:function(e,a){$("."+e).each(function(t){az.style_html(e,t,a)})},add_text:function(e,a,t){t.hasOwnProperty("this_id")?text_id=t.this_id:text_id="text_"+az.makeid(),$("."+e).eq(a-1).append("<a class="+t.this_class+" id="+text_id+">"+t.text+"</a>"),t.hasOwnProperty("contenteditable")&&($("#"+text_id).attr("contenteditable",t.contenteditable),$("#"+text_id).click(function(){$(this).focus()})),t.hasOwnProperty("spellcheck")&&$("."+t.this_class).eq($("."+t.this_class).length-1).attr("spellcheck",t.spellcheck),$("#"+text_id).css("text-decoration","none")},all_add_text:function(e,a){$("."+e).each(function(t){az.add_text(e,t,a)})},style_text:function(e,a,t){div_id="div_"+az.makeid(),$("."+e).eq(a-1).wrap("<div id="+div_id+"></div>"),$("#"+div_id).css(t),$("#"+div_id).css("text-decoration","none"),t.hasOwnProperty("align")&&az.align_element(e,a,t.align),t.hasOwnProperty("override")&&t.override&&az.override_all_styles(e,a,t)},all_style_text:function(e,a){$("."+e).each(function(t){az.style_text(e,t,a)})},add_button:function(e,a,t){t.hasOwnProperty("this_id")?button_id=t.this_id:button_id="button_"+az.makeid(),$("."+e).eq(a-1).append("<button class="+t.this_class+" id="+button_id+">"+t.text+"</button>"),az.style_button(t.this_class,az.get_target_instance(button_id),az.button_defaults)},all_add_button:function(e,a){$("."+e).each(function(t){az.add_button(e,t,a),az.all_style_button(a.this_class,az.button_defaults)})},style_button:function(e,a,t){$("."+e).eq(a-1).css(t),t.hasOwnProperty("align")&&az.align_element(e,a,t.align)},all_style_button:function(e,a){$("."+e).each(function(t){az.style_button(e,t,a)})},add_radiobutton:function(e,a,t){layout_id="hold_radio_"+az.makeid(),text_id="radio_label_"+az.makeid(),radio_id="radio_"+az.makeid(),az.add_layout(e,a,{this_class:t.this_class+"_layout",row_class:t.this_class+"_layout_rows",cell_class:t.this_class+"_layout_cells",this_id:layout_id,number_of_rows:1,number_of_columns:2}),az.style_layout(t.this_class+"_layout",az.get_target_instance(layout_id),{height:"auto",width:"auto",border:0}),az.add_text(t.this_class+"_layout_cells",2*az.get_target_instance(layout_id)-1,{this_class:t.text_class,this_id:text_id,text:t.text}),az.style_text(t.text_class,az.get_target_instance(text_id),{cursor:"pointer"}),az.add_html(t.this_class+"_layout_cells",2*az.get_target_instance(layout_id)-0,{html:"<input class='"+t.this_class+"' id="+radio_id+" type='radio' name="+t.name+">"}),az.add_event(t.text_class,az.get_target_instance(text_id),{type:"click",function:"az.click_element('"+t.this_class+"', az.get_target_instance('"+radio_id+"'))"})},all_add_radiobutton:function(e,a){$("."+e).each(function(t){az.add_radiobutton(e,t,a)})},style_radiobutton:function(e,a,t){$("."+e).eq(a-1).css(t),t.hasOwnProperty("align")&&az.align_element(e,a,t.align)},all_style_radiobutton:function(e,a){$("."+e).each(function(t){az.style_radiobutton(e,t,a)})},add_slider:function(e,a,t){t.hasOwnProperty("this_id")?slider_id=t.this_id:slider_id="slider_"+az.makeid(),t.hasOwnProperty("text_class")?user_slider_class=t.text_class:user_slider_class="slider_label",layout_id="hold_slider_"+az.makeid(),text_id="slider_label_"+az.makeid(),slider_id="slider_"+az.makeid(),t.hasOwnProperty("show_label")&&0==t.show_label?(az.hold_value.use_slider_row=1,az.hold_value.use_slider_col=1):(az.hold_value.use_slider_row=1,az.hold_value.use_slider_col=2),az.add_layout(e,a,{this_class:t.this_class+"_layout",row_class:t.this_class+"_layout_rows",cell_class:t.this_class+"_layout_cells",this_id:layout_id,number_of_rows:az.hold_value.use_slider_row,number_of_columns:az.hold_value.use_slider_col}),az.style_layout(t.this_class+"_layout",az.get_target_instance(layout_id),{height:"auto",width:"auto",column_widths:["90%","10%"],border:0}),az.add_html(t.this_class+"_layout_cells",2*az.get_target_instance(layout_id)-1,{html:"<input class="+t.this_class+" id="+slider_id+" type='range' value="+t.default_value+" min="+t.min_value+" max="+t.max_value+">"}),az.style_html(t.this_class,az.get_target_instance(slider_id),{width:"100%"}),az.add_text(t.this_class+"_layout_cells",2*az.get_target_instance(layout_id),{this_class:t.text_class,this_id:text_id,text:""}),az.style_text(t.text_class,az.get_target_instance(text_id),{align:"center","font-size":"18px","font-family":"Arial"}),t.hasOwnProperty("prepend")||t.hasOwnProperty("append")?t.hasOwnProperty("prepend")?az.add_event(t.this_class,az.get_target_instance(slider_id),{type:"as_change",function:function(e){$("."+t.text_class).eq(az.get_target_instance(e)-1).text(t.prepend+$("#"+e).val())}}):az.add_event(t.this_class,az.get_target_instance(slider_id),{type:"as_change",function:function(e){$("."+t.text_class).eq(az.get_target_instance(e)-1).text($("#"+e).val()+t.append)}}):az.add_event(t.this_class,az.get_target_instance(slider_id),{type:"as_change",function:function(e){$("."+t.text_class).eq(az.get_target_instance(e)-1).text($("#"+e).val())}}),t.hasOwnProperty("default_value")?$("#"+text_id).text(t.default_value):$("#"+text_id).text("50"),t.hasOwnProperty("show_label")&&0==t.show_label&&$("#"+slider_id).css("margin",0),t.hasOwnProperty("prepend")&&$("."+t.text_class).eq(az.get_target_instance(slider_id)-1).prepend(t.prepend),t.hasOwnProperty("append")&&$("."+t.text_class).eq(az.get_target_instance(slider_id)-1).append(t.append),az.style_slider(t.this_class,az.get_target_instance(slider_id),az.slider_defaults)},all_add_slider:function(e,a){$("."+e).each(function(t){az.add_slider(e,t,a),az.all_style_slider(a.this_class,az.slider_defaults)})},style_slider:function(e,a,t){az.style_layout(e+"_layout",a,t)},all_style_slider:function(e,a){$("."+e).each(function(t){az.style_slider(e,t,a)})},add_input:function(e,a,t){t.hasOwnProperty("this_id")?input_id=t.this_id:input_id="input_"+az.makeid(),t.hasOwnProperty("type")?$("."+e).eq(a-1).append("<input class="+t.this_class+" id="+input_id+" type="+t.type+">"):$("."+e).eq(a-1).append("<input class="+t.this_class+" id="+input_id+" type='text'>"),az.style_input(t.this_class,az.get_target_instance(input_id),input_defaults),$("#"+input_id).attr("placeholder",t.placeholder),$("#"+input_id).val(t.default_value),$("#"+input_id).prop("spellcheck",t.spellcheck),$("#"+input_id).attr("maxlength",t.maxlength)},all_add_input:function(e,a){$("."+e).each(function(t){az.add_input(e,t,a),all_style_input(a.this_class,input_defaults)})},style_input:function(e,a,t){$("."+e).eq(a-1).css(t),t.hasOwnProperty("border")&&(0==t.border?$("."+e).eq(a-1).css("border","0px solid black"):$("."+e).eq(a-1).css("border",t.border+"px solid black")),t.hasOwnProperty("transition")&&($("."+e).eq(a-1).css("-webkit-transition",t.transition).css("transition",t.transition),$("."+e).eq(a-1).focus(function(){$(this).css("width","100%")})),t.hasOwnProperty("background-image")&&$("."+e).eq(a-1).css("background-position","5px 5px").css("background-repeat","no-repeat").css("padding-left","40px").css("background-size","30px"),t.hasOwnProperty("align")&&az.align_element(e,a,t.align)},all_style_input:function(e,a){$("."+e).each(function(t){az.style_input(e,t,a)})},add_dropdown:function(e,a,t){t.hasOwnProperty("this_id")?select_id=t.this_id:select_id="select_"+az.makeid(),$("."+e).eq(a-1).append("<select class="+t.this_class+" id="+select_id+">"),$.each(t.options,function(e,a){t.hasOwnProperty("values")?$("#"+select_id).append($("<option/>").val(t.values[e]).text(a)):$("#"+select_id).append($("<option/>").val(a).text(a))}),t.hasOwnProperty("title")&&($("<option selected disabled/>").val(t.title).html(t.title).prependTo("#"+select_id),$("#"+select_id).css("color","darkslategrey"),$("#"+select_id).change(function(){$(this).css("color","black")})),az.style_dropdown(t.this_class,az.get_target_instance(select_id),az.dropdown_defaults)},all_add_dropdown:function(e,a){$("."+e).each(function(t){az.add_dropdown(e,t,a),az.all_style_dropdown(a.this_class,az.dropdown_defaults)})},style_dropdown:function(e,a,t){$("."+e).eq(a-1).css(t),t.hasOwnProperty("align")&&az.align_element(e,a,t.align)},all_style_dropdown:function(e,a){$("."+e).each(function(t){az.style_dropdown(e,t,a)})},add_textarea:function(e,a,t){t.hasOwnProperty("this_id")?textarea_id=t.this_id:textarea_id="textarea_"+az.makeid(),$("."+e).eq(a-1).append("<textarea id="+textarea_id+" class="+t.this_class+" rows="+t.row_count+" cols="+t.column_count+"></textarea>"),az.style_textarea(t.this_class,az.get_target_instance(textarea_id),az.textarea_defaults),t.hasOwnProperty("placeholder")&&$("."+t.this_class).eq($("."+t.this_class).length-1).prop("placeholder",t.placeholder),t.hasOwnProperty("maxlength")&&$("."+t.this_class).eq($("."+t.this_class).length-1).prop("maxlength",t.maxlength),t.hasOwnProperty("spellcheck")&&$("."+t.this_class).eq($("."+t.this_class).length-1).attr("spellcheck",t.spellcheck)},all_add_textarea:function(e,a){$("."+e).each(function(t){az.add_textarea(e,t,a),az.all_style_textarea(a.this_class,az.textarea_defaults)})},style_textarea:function(e,a,t){$("."+e).eq(a-1).css(t),t.hasOwnProperty("align")&&az.align_element(e,a,t.align)},all_style_textarea:function(e,a){$("."+e).each(function(t){az.style_textarea(e,t,a)})},add_top_button:function(e){e.hasOwnProperty("this_id")?button_id=e.this_id:button_id="button_"+az.makeid(),$("body").append("<button class="+e.this_class+" id="+button_id+">"+e.text+"</button>"),az.style_button(e.this_class,az.get_target_instance(button_id),az.button_defaults),az.style_button(e.this_class,az.get_target_instance(button_id),{width:"50px",position:"fixed",background:"rgba(0,0,0,0.5)",top:200,visibility:"hidden","z-index":99999,outline:0}),"left"==e.side&&az.style_button(e.this_class,az.get_target_instance(button_id),{left:7}),"right"==e.side&&az.style_button(e.this_class,az.get_target_instance(button_id),{right:7}),e.hasOwnProperty("bottom")&&e.bottom&&az.call_on_scroll({greater_than_height:"300px",function:"az.style_button('"+e.this_class+"', 1, {'display' : 'block', 'top' : '90%'})"}),e.hasOwnProperty("spin")&&e.spin&&az.add_event(e.this_class,1,{type:"click",function:"az.animate_element('"+e.this_class+"', 1, {'type' : 'spin'})"}),az.add_event(e.this_class,az.get_target_instance(button_id),{type:"click",function:"$('html, body').animate({scrollTop: 0}, 'slow')"}),$(document).scroll(function(){y=$(this).scrollTop(),y>800?($("."+e.this_class).css("visibility","visible"),$("."+e.this_class).fadeIn(),az.check_for_mobile()&&$("."+e.this_class).css("visibility","hidden")):$("."+e.this_class).fadeOut()})},add_layout:function(e,a,t){for(t.hasOwnProperty("this_id")?table_id=t.this_id:table_id="table_"+az.makeid(),table=$("<table class="+t.this_class+" id="+table_id+"></table>"),i=0;i<t.number_of_rows;i++)for(row_id="row_"+az.makeid(),row=$("<tr class="+t.row_class+" id="+row_id+"></tr>"),table.append(row),j=0;j<t.number_of_columns;j++)cell_id="cell_"+az.makeid(),col=$("<td class="+t.cell_class+" id="+cell_id+"></td>"),row.append(col);$("."+e).eq(a-1).append(table),az.style_layout(t.this_class,az.get_target_instance(table_id),az.layout_defaults)},all_add_layout:function(e,a){$("."+e).each(function(t){az.add_layout(e,t,a),az.all_style_layout(a.this_class,az.layout_defaults)})},style_layout:function(e,a,t){if($("."+e).eq(a-1).css(t),t.hasOwnProperty("colspan")&&($("."+e).eq(a-1).attr("colspan",t.colspan),$("."+e).each(function(e,n){min=Number(a-1),max=Number(t.colspan)+Number(a)-1,e>min&&e<max&&$(this).remove()})),t.hasOwnProperty("rowspan"))for(num_rows=$("."+e).eq(a-1).closest("table").find("tr").length,num_cells=$("."+e).eq(a-1).closest("table").find("td").length,num_cols=$("."+e).eq(a-1).closest("table").find("tr:first > td").length,current_col=$("."+e).eq(a-1).parent().children().index($("."+e).eq(a-1))+1,current_row=$("."+e).eq(a-1).parent().parent().children().index($("."+e).eq(a-1).parent())+1,num_rows_below=num_rows-current_row,row_class=$("."+e).eq(a-1).parent("tr").attr("class"),$("."+e).eq(a-1).attr("rowspan",t.rowspan),i=0;i<t.rowspan-1;i++)$("."+row_class).eq(current_row+i).children("td").eq(current_col-1).remove();if(t.hasOwnProperty("column_widths"))for(col_nums=t.column_widths.length,widths=t.column_widths,i=0;i<col_nums;i++)$("."+e).eq(a-1).find("td").eq(i).css("width",widths[i]);if(t.hasOwnProperty("row_heights"))for(row_nums=t.row_heights.length,heights=t.row_heights,i=0;i<row_nums;i++)$("."+e).eq(a-1).find("td").eq(i).css("height",heights[i]);t.hasOwnProperty("border-style")&&($("."+e).eq(a-1).css("border-collapse","collapse"),$("."+e).eq(a-1).find("tr td").css("border","2px "+t["border-style"])),t.hasOwnProperty("width")&&$("."+e).eq(a-1).prop("width",t.width),t.hasOwnProperty("align")&&az.align_element(e,a,t.align),t.hasOwnProperty("valign")&&$("."+e).eq(a-1).attr("valign",t.valign),t.hasOwnProperty("halign")&&$("."+e).eq(a-1).attr("align",t.halign),t.hasOwnProperty("border")&&($("."+e).eq(a-1).css("border",t.border+"px solid black").css("border-collapse","collapse"),$("."+e).eq(a-1).find("td").css("border",t.border+"px solid black")),t.hasOwnProperty("override")&&t.override&&az.override_all_styles(e,a,t)},all_style_layout:function(e,a){$("."+e).each(function(t){az.style_layout(e,t,a)})},clone_layout:function(e,a,t){clone_id="clone_"+az.makeid(),$("."+t.copy_class).eq(t.copy_instance-1).clone().attr("class",t.this_class).prop("id",clone_id).appendTo($("."+e).eq(a-1)),$("#"+clone_id).children().find("button").map(function(){$(this).attr("id","clone_"+az.makeid())}),$("#"+clone_id).children().find("a").map(function(){$(this).attr("id","clone_"+az.makeid())}),$("#"+clone_id).children().find("div").map(function(){$(this).attr("id","clone_"+az.makeid())}),$("#"+clone_id).children().find("table").map(function(){$(this).attr("id","clone_"+az.makeid())}),$("#"+clone_id).children().find("tr").map(function(){$(this).attr("id","clone_"+az.makeid())}),$("#"+clone_id).children().find("td").map(function(){$(this).attr("id","clone_"+az.makeid())}),$("#"+clone_id).children().find("input").map(function(){$(this).attr("id","clone_"+az.makeid())}),$("#"+clone_id).children().find("pre").map(function(){$(this).attr("id","clone_"+az.makeid())}),t.hasOwnProperty("row_class")&&$("#"+clone_id).children().find("tr").map(function(){$(this).addClass(t.row_class)}),t.hasOwnProperty("row_class")&&$("#"+clone_id).children().find("td").map(function(){$(this).addClass(t.cell_class)})},fill_column:function fill_column(target_class,target_instance,options){for(fill_col_cnt=0,options.hasOwnProperty("cell_number")?use_column_num=options.cell_number:use_column_num=options.column_number,1==options.header?starting_pnt=1:options.hasOwnProperty("header")?starting_pnt=0:starting_pnt=1,i=starting_pnt;i<=az.get_row_count(target_class,target_instance);i++)cell_instance=i*az.get_column_count(target_class,target_instance)+az.get_column_count(target_class,target_instance),current_instance=cell_instance-az.get_column_count(target_class,target_instance)+1*use_column_num,cell_instance=current_instance,options.hasOwnProperty("function")?eval(options.function):az.add_text(options.cell_class,current_instance,{this_class:options.text_class,text:options.array[fill_col_cnt]}),fill_col_cnt++},fill_row:function(e,a,t){for(i=0;i<=az.get_column_count(e,a);i++)1==t.header?use_row_count=t.row_number+1:use_row_count=t.row_number,cell_instance=i+(az.get_column_count(e,a)*use_row_count-az.get_column_count(e,a))+1,i<az.get_column_count(e,a)&&az.add_text(t.cell_class,cell_instance,{this_class:t.text_class,text:t.array[i]})},style_column:function(e,a,t){for(fill_col_cnt=0,t.hasOwnProperty("cell_number")?use_column_num=t.cell_number:use_column_num=t.column_number,1==t.header?starting_pnt=1:t.hasOwnProperty("header")?starting_pnt=0:starting_pnt=1,i=starting_pnt;i<=az.get_row_count(e,a);i++)cell_instance=i*az.get_column_count(e,a)+az.get_column_count(e,a),az.style_layout(t.cell_class,cell_instance-az.get_column_count(e,a)+1*use_column_num,t.styles),fill_col_cnt++},keep_ids_cols:keep_ids_cols={},highlight_row_on_click:function(e,a,t){az.add_wrapped_function({name:"h_r_rgb_48432",function:function(e,a,t){t.toLowerCase().includes("rgb")?az.hold_value.use_highlight_color=t.toLowerCase().replace(/ /g,""):az.hold_value.use_highlight_color=az.find_color(t.toLowerCase().replace(/ /g,"")),this_back=az.get_style(a,az.get_target_instance(e),{style:"background-color"}).replace(/ /g,""),this_back!=az.hold_value.use_highlight_color&&(az.keep_ids_cols[e]=this_back),this_back==az.hold_value.use_highlight_color?az.style_layout(a,az.get_target_instance(e),{background:az.keep_ids_cols[e]}):az.style_layout(a,az.get_target_instance(e),{background:az.hold_value.use_highlight_color})}}),row_class=$("."+e).eq(a-1).find("tr").attr("class"),az.all_add_event(row_class,{type:"click",function:"az.call_wrapped_function.h_r_rgb_48432(this.id, '"+row_class+"', '"+t+"')"})},outline_on_click:function(e,a,t){$("."+e).css("outline","none"),$("#"+a).css("outline",t)},alternate_row_color:function(e,a,t,n,o,i,s){check_header=s,this_row_class=$("."+e).find("tr").attr("class"),color_1_=t,color_2_=n,color_3_=o,color_4_=i,az.call_multiple({iterations:az.get_row_count(e,a),function:"if(check_header == true) {use_ind=index+2} else {use_ind=index+1}; if((index%2)==0) {az.style_layout(this_row_class, use_ind, {'background' : color_1_, 'color' : color_3_})} else {az.style_layout(this_row_class, use_ind, {'background' : color_2_, 'color' : color_4_})}"})},hold_toggle_clicks:hold_toggle_clicks={},highlight_on_click:function(e,a){az.all_add_event(e,{type:"click",once:!0,function:function(t){void 0!==az.hold_toggle_clicks[t]&&1==az.hold_toggle_clicks[t]?(az.style_button(e,az.get_target_instance(t),{background:a.background_color}),az.hold_toggle_clicks[t]=!1):("exclusive"==a.type&&(az.all_style_button(e,{background:a.background_color}),Object.keys(az.hold_toggle_clicks).forEach(function(e){az.hold_toggle_clicks[e]=!1})),az.style_button(e,az.get_target_instance(t),{background:a.highlight_color}),az.hold_toggle_clicks[t]=!0)}})},select_text:function(e,a){var t=$("."+e).eq(a-1).attr("id"),n=document.getElementById(t);if(document.createTextRange)(o=document.body.createTextRange()).moveToElementText(n),o.select();else if(window.getSelection){var o,i=window.getSelection();(o=document.createRange()).selectNodeContents(n),i.removeAllRanges(),i.addRange(o)}},text_to_clipboard:function(e){var a=document.createElement("textarea");a.value=e.text,a.setAttribute("readonly",""),a.style={position:"absolute",left:"-9999px"},document.body.appendChild(a),a.select(),document.execCommand("copy"),document.body.removeChild(a)},add_spinner:function add_spinner(content){spinner_id="spinner_"+az.makeid(),content.hasOwnProperty("image_path")?($("body").append("<img class="+content.this_class+" id="+spinner_id+" src='"+content.image_path+"'>"),az.style_spinner(content.this_class,az.get_target_instance(spinner_id),az.spinner_image_defaults)):($("body").append("<div class="+content.this_class+" id="+spinner_id+"></div>"),az.style_spinner(content.this_class,az.get_target_instance(spinner_id),az.spinner_defaults)),az.animate_element(content.this_class,az.get_target_instance(spinner_id),{type:"spin",iterations:"infinite",speed:content.speed}),content.hasOwnProperty("duration")&&setTimeout(function(){az.remove_element(content.this_class,$("."+content.this_class).length),eval(content.function)},content.duration),content.hasOwnProperty("condition")&&az.call_once_satisfied({condition:content.condition,function:"az.remove_element('"+content.this_class+"', $('.' + '"+content.this_class+"').length)"}),content.hasOwnProperty("z_index")&&$("."+content.this_class).css("z-index",content.z_index)},all_add_spinner:function(){alert("The function all_add_spinner() is not supported.")},style_spinner:function(e,a,t){az.call_once_satisfied({condition:"az.check_exists('"+e+"', 1)",function:function(){$("."+e).eq(a-1).css(t),t.hasOwnProperty("section_color")&&$("."+e).eq(a-1).css("border-top","16px solid "+t.section_color).css("z-index","9999"),t.hasOwnProperty("circle_color")&&$("."+e).eq(a-1).css("border","16px solid "+t.circle_color).css("z-index","99")}})},all_style_spinner:function(){alert("The function all_style_spinner() not supported.")},add_image:function(e,a,t){t.hasOwnProperty("this_id")?image_id=t.this_id:image_id="img_"+az.makeid(),$("."+e).eq(a-1).append("<img class="+t.this_class+" id="+image_id+" src="+t.image_path+" onerror='az.handle_img_error(this.id)'>"),t.hasOwnProperty("image_data")&&(t.image_data.includes("data:image/")?$("#"+image_id).attr("src",t.image_data):$("#"+image_id).attr("src","data:image/png;base64,"+t.image_data)),az.style_image(t.this_class,az.get_target_instance(image_id),image_defaults)},all_add_image:function(e,a){$("."+e).each(function(t){az.add_image(e,t,a),az.all_style_image(a.this_class,image_defaults)})},style_image:function(e,a,t){$("."+e).eq(a-1).css(t),div_id="div_"+az.makeid(),$("."+e).eq(a-1).wrap("<div id="+div_id+"></div>"),$("#"+div_id).attr("align",t.align),t.hasOwnProperty("blur")&&$("."+e).eq(a-1).css("-webkit-filter",t.blur).css("filter",t.blur),t.hasOwnProperty("brightness")&&$("."+e).eq(a-1).css("-webkit-filter",t.brightness).css("filter",t.brightness),t.hasOwnProperty("contrast")&&$("."+e).eq(a-1).css("-webkit-filter",t.contrast).css("filter",t.contrast),t.hasOwnProperty("grayscale")&&$("."+e).eq(a-1).css("-webkit-filter",t.grayscale).css("filter",t.grayscale),t.hasOwnProperty("huerotate")&&$("."+e).eq(a-1).css("-webkit-filter",t.huerotate).css("filter",t.huerotate),t.hasOwnProperty("invert")&&$("."+e).eq(a-1).css("-webkit-filter",t.invert).css("filter",t.invert),t.hasOwnProperty("saturate")&&$("."+e).eq(a-1).css("-webkit-filter",t.saturate).css("filter",t.saturate),t.hasOwnProperty("sepia")&&$("."+e).eq(a-1).css("-webkit-filter",t.sepia).css("filter",t.sepia),t.hasOwnProperty("shadow")&&$("."+e).eq(a-1).css("-webkit-filter",t.shadow).css("filter",t.shadow)},all_style_image:function(e,a){$("."+e).each(function(t){az.style_image(e,t,a)})},add_video:function(e,a,t){t.hasOwnProperty("this_id")?video_id=t.this_id:video_id="video_"+az.makeid(),$("."+e).eq(a-1).append("<video autoplay muted loop preload playsinline class="+t.this_class+" id="+video_id+"><source src="+t.video_path+" type='video/mp4'></video>")},all_add_video:function(e,a){$("."+e).each(function(t){az.add_video(e,t,a)})},style_video:function(e,a,t){$("."+e).eq(a-1).css(t),t.hasOwnProperty("align")&&az.align_element(e,a,t.align)},all_style_video:function(e,a){$("."+e).each(function(t){az.style_video(e,t,a)})},add_code:function(e,a,t){t.hasOwnProperty("this_id")?code_id=t.this_id:code_id="code_"+az.makeid(),void 0===t.code?use_code_text="":use_code_text=t.code,$("."+e).eq(a-1).append("<pre class="+t.this_class+" id="+code_id+">"+use_code_text+"</pre>"),az.style_code(t.this_class,az.get_target_instance(code_id),code_defaults),$("#"+code_id).attr("contenteditable",t.contenteditable),$("#"+code_id).attr("spellcheck",t.spellcheck),t.hasOwnProperty("nowrap")&&1==t.nowrap&&$("#"+code_id).css("white-space","nowrap"),az.hold_value.paste_cnt_sfd6789a=0,t.hasOwnProperty("strip_on_paste")&&t.strip_on_paste&&$("."+e).eq(a-1).on("paste",function(e){e.preventDefault(),az.hold_value.paste_cnt_sfd6789a++;var a="";e.clipboardData||e.originalEvent.clipboardData?a=(e.originalEvent||e).clipboardData.getData("text/plain"):window.clipboardData&&(a=window.clipboardData.getData("Text")),document.queryCommandSupported("insertText")?1===az.hold_value.paste_cnt_sfd6789a&&(document.execCommand("insertText",!1,a),setTimeout(function(){az.hold_value.paste_cnt_sfd6789a=0},1e3)):document.execCommand("paste",!1,a)})},all_add_code:function(){$("."+target_class).each(function(e){az.add_code(target_class,e,content),az.all_style_code(content.this_class,az.code_defaults)})},style_code:function(e,a,t){$("."+e).eq(a-1).css(t),t.hasOwnProperty("align")&&az.align_element(e,a,t.align)},all_style_code:function(e,a){$("."+e).each(function(t){az.style_code(e,t,a)})},add_icon:function(e,a,t){t.hasOwnProperty("this_id")?icon_id=t.this_id:icon_id="icon_"+az.makeid(),icon_class_use="fa "+t.icon_class,$("."+e).eq(a-1).append("<i class='"+icon_class_use+" "+t.this_class+"' id="+icon_id+" aria-hidden='true'></i>")},all_add_icon:function(e,a){$("."+e).each(function(t){add_icon(e,t,a)})},style_icon:function(e,a,t){$("."+e).eq(a-1).css(t),t.hasOwnProperty("align")&&az.align_element(e,a,t.align)},all_style_icon:function(e,a){$("."+e).each(function(t){az.style_icon(e,t,a)})},add_checkbox:function(e,a,t){t.hasOwnProperty("this_id")?checkbox_id=t.this_id:checkbox_id="checkbox_"+az.makeid(),az.add_wrapped_function({name:"add_check_to_check",function:function(e,a){check_if_check_is_there=$("."+e).eq(a-1).contents().length,1==check_if_check_is_there?az.empty_contents(e,a):(az.empty_contents(e,a),check_id="check_"+az.makeid(),az.add_icon(e,a,{this_class:"check_icon_added",icon_class:"fa-check",this_id:check_id}),void 0!==az.hold_value.check_color_dsf78d7fsd?use_check_col=az.hold_value.check_color_dsf78d7fsd[az.get_target_id(e,a)]:use_check_col="black",az.style_icon("check_icon_added",az.get_target_instance(check_id),{color:use_check_col,align:"center"}))}}),az.hold_value.hold_check_id="hold_check_"+az.makeid(),az.add_html(e,a,{html:"<div id="+az.hold_value.hold_check_id+" class="+t.this_class+"></div>"}),az.style_html(t.this_class,az.get_target_instance(az.hold_value.hold_check_id),{border:"1px solid black",width:"20px",height:"20px",color:"transparent",cursor:"pointer"}),az.add_event(t.this_class,az.get_target_instance(az.hold_value.hold_check_id),{type:"click",function:"az.call_wrapped_function.add_check_to_check('"+t.this_class+"', az.get_target_instance(this.id))"}),t.checked&&setTimeout(function(){az.call_wrapped_function.add_check_to_check(t.this_class,az.get_target_instance(az.hold_value.hold_check_id))},400),t.hasOwnProperty("onclick")&&("function"==typeof t.onclick?az.add_event(t.this_class,az.get_target_instance(az.hold_value.hold_check_id),{type:"click",function:az.call_callback(t.onclick())}):az.add_event(t.this_class,az.get_target_instance(az.hold_value.hold_check_id),{type:"click",function:t.onclick})),t.hasOwnProperty("exclusive")&&t.exclusive&&az.add_event(t.this_class,az.get_target_instance(az.hold_value.hold_check_id),{type:"click",function:function(e){az.hold_value.clicked_check_sdf6dsfdso=e,az.call_multiple({iterations:az.number_of_elements(t.this_class),function:function(e,a){var n=a+1;n!==az.get_target_instance(az.hold_value.clicked_check_sdf6dsfdso)&&az.uncheck_checkbox(t.this_class,n)}})}})},all_add_checkbox:function(){$("."+target_class).each(function(e){az.add_checkbox(target_class,e,content),az.all_style_checkbox(content.this_class,az.checkbox_defaults)})},style_checkbox:function(e,a,t){$("."+e).eq(a-1).css(t),t.hasOwnProperty("align")&&az.align_element(e,a,t.align),t.hasOwnProperty("color")&&(void 0!==az.hold_value.check_color_dsf78d7fsd?(use_check_id=$("."+e).eq(a-1).attr("id"),az.hold_value.check_color_dsf78d7fsd[use_check_id]=t.color):(az.hold_value.check_color_dsf78d7fsd={},use_check_id=$("."+e).eq(a-1).attr("id"),az.hold_value.check_color_dsf78d7fsd[use_check_id]=t.color))},all_style_checkbox:function(e,a){$("."+e).each(function(t){az.style_checkbox(e,t,a)})},add_iframe:function(e,a,t){t.hasOwnProperty("this_id")?frame_id=t.this_id:frame_id="frame_"+az.makeid(),t.hasOwnProperty("scrolling")?t.scrolling?$("."+e).eq(a-1).append("<iframe id="+frame_id+" class="+t.this_class+" src="+t.source+" scrolling='yes'></iframe>"):$("."+e).eq(a-1).append("<iframe id="+frame_id+" class="+t.this_class+" src="+t.source+" scrolling='no'></iframe>"):$("."+e).eq(a-1).append("<iframe id="+frame_id+" class="+t.this_class+" src="+t.source+"></iframe>"),az.style_iframe(t.this_class,az.get_target_instance(frame_id),az.iframe_defaults)},all_add_iframe:function(){$("."+target_class).each(function(e){az.add_iframe(target_class,e,content),az.all_style_iframe(content.this_class,az.iframe_defaults)})},style_iframe:function(e,a,t){$("."+e).eq(a-1).css(t),t.hasOwnProperty("align")&&az.align_element(e,a,t.align)},all_style_iframe:function(e,a){$("."+e).each(function(t){az.style_iframe(e,t,a)})},reload_iframe:function(e,a){$("."+e).eq(a-1).attr("src",$("."+e).eq(a-1).attr("src"))},hold_tooltip_styles:hold_tooltip_styles={},add_tooltip:function add_tooltip(target_class,target_instance,tooltip){tooltip_id="tooltip_"+az.makeid(),img_id="img_"+az.makeid(),$("."+target_class).eq(target_instance-1).on("mouseenter",function(){$(this).append("<span class="+tooltip.this_class+" id="+tooltip_id+" style='background: "+tooltip.background+"; color: white; border-radius: 3px; padding: 4px; margin: 4px' >"+tooltip.text+"</span>"),tooltip.hasOwnProperty("image_path")&&$("#"+tooltip_id).append("<img class="+tooltip.image_class+" id="+img_id+" src='"+tooltip.image_path+"' width=50 style='border-radius:4px'>"),$("#"+tooltip_id).css("font-size","18px").css("position","absolute"),$("#"+tooltip_id).css("margin-top",tooltip["margin-top"]).css("margin-left",tooltip["margin-left"]).css("text-align",tooltip["text-align"]),check_in_styles=tooltip.this_class+"******"+az.get_target_instance(tooltip_id),check_in_styles_img=tooltip.image_class+"******"+az.get_target_instance(tooltip_id),Object.keys(az.hold_tooltip_styles).includes(check_in_styles)&&(az.style_tooltip_call(tooltip.this_class,az.get_target_instance(tooltip_id),az.hold_tooltip_styles[check_in_styles].styles),Object.keys(az.hold_tooltip_styles).includes(check_in_styles_img)&&az.style_tooltip_call(tooltip.image_class,az.get_target_instance(img_id),az.hold_tooltip_styles[check_in_styles_img].styles)),tooltip.hasOwnProperty("function")&&eval(tooltip.function)}),$("."+target_class).eq(target_instance-1).on("mouseleave",function(){$("#"+tooltip_id).remove(),tooltip.hasOwnProperty("image_path")&&$("#"+img_id).remove()})},all_add_tooltip:function(e,a){$("."+e).each(function(t){az.add_tooltip(e,t,a)})},style_tooltip:function(e,a,t){hold_these_styles={},hold_these_styles.target=e+"******"+a,hold_these_styles.styles=t,az.hold_tooltip_styles[e+"******"+a]=hold_these_styles},style_tooltip_call:function(e,a,t){$("."+e).eq(a-1).css(t),t.hasOwnProperty("align")&&az.align_element(e,a,t.align)},download_text_as_file:function(e){element=document.createElement("a"),element.setAttribute("href","data:text/plain;charset=utf-8,"+encodeURIComponent(e.text)),element.setAttribute("download",e.filename),element.style.display="none",document.body.appendChild(element),element.click(),document.body.removeChild(element)},download_file:function(e){var a=document.createElement("a");a.download=e.filename,a.href=e.file_path,a.click()},download_object_as_csv:function(e){var a=e.data;e.hasOwnProperty("header")&&a.unshift(e.header);var t="";a.forEach(function(e,n){dataString=e.join(";"),t+=n<a.length?dataString+"\n":dataString});var n,o,i,s;n=t,o=e.filename,i="text/csv;encoding:utf-8",s=document.createElement("a"),i=i||"application/octet-stream",navigator.msSaveBlob?navigator.msSaveBlob(new Blob([n],{type:i}),o):URL&&"download"in s?(s.href=URL.createObjectURL(new Blob([n],{type:i})),s.setAttribute("download",o),document.body.appendChild(s),s.click(),document.body.removeChild(s)):location.href="data:application/octet-stream,"+encodeURIComponent(n)},add_modal:function(e){az.add_overlay({this_class:e.this_class,center_screen:!0,outside_close:!0}),az.add_html(e.this_class,1,{html:"<div class="+e.content_class+"></div>"}),az.style_overlay(e.this_class,1,{width:"auto",height:"auto","border-radius":"4px",padding:"20px"})},all_add_modal:function(){alert("The function all_add_modal() is not supported.")},style_modal:function(e,a,t){$("."+e).eq(a-1).css(t)},all_style_modal:function(){alert("The function all_style_modal() is not supported.")},close_modal:function(e,a){az.close_overlay(e,a),void 0===e&&(high_z_data=az.show_highest_z(),$.each(high_z_data,function(e,a){az.close_overlay(a.class,az.get_target_instance(a.id))}))},add_overlay:function(e){az.remove_element(e.this_class,1),overlay_id="overlay_"+az.makeid(),e.hasOwnProperty("speed")?az.hold_value.overlay_speed_fd78ssf64=e.speed/1e3+"s":az.hold_value.overlay_speed_fd78ssf64="0s",$("body").append("<div class="+e.this_class+" id="+overlay_id+"></div>"),$("."+e.this_class).css("height","50%").css("width","50%").css("z-index",999999).css("top",0).css("background","white").css("overflow-x","hidden").css("-webkit-transition",az.hold_value.overlay_speed_fd78ssf64).css("left",0).css("position","fixed").css("padding","5px").css("font-family","arial"),$("."+e.this_class).css("visibility","visible"),e.hasOwnProperty("close_text_class")?use_close_class=e.close_text_class:use_close_class="x_out_overlay",az.add_text(e.this_class,az.get_target_instance(overlay_id),{this_class:use_close_class,text:"X"}),az.style_text(use_close_class,az.get_target_instance(overlay_id),{color:"black",cursor:"pointer","font-size":"20px",float:"right","margin-right":"0px"}),az.add_event(use_close_class,az.get_target_instance(overlay_id),{type:"click",function:"az.close_overlay('"+e.this_class+"')"}),e.hasOwnProperty("center_screen")&&1==e.center_screen&&$("#"+overlay_id).css("position","fixed").css("top","50%").css("left","50%").css("-webkit-transform","translate(-50%, -50%)").css("transform","translate(-50%, -50%)"),e.hasOwnProperty("outside_close")&&1==e.outside_close&&(az.hold_value.content_speed=e.speed,az.style_text(use_close_class,az.last_class_instance(use_close_class),{display:"none"}),az.add_overlay({this_class:"background_dark_23kjh423",close_text_class:"close_text_23kjh423"}),az.style_overlay("background_dark_23kjh423",1,{background:"rgba(0,0,0,0.5)",width:"100%",height:"100%","z-index":1}),az.all_add_event("background_dark_23kjh423",{type:"click",function:"az.close_overlay('"+e.this_class+"', az.get_target_instance('"+overlay_id+"'), {'speed' : '"+az.hold_value.content_speed+"'}); az.close_overlay('background_dark_23kjh423', az.last_class_instance('background_dark_23kjh423'))"}),az.style_text("close_text_23kjh423",az.last_class_instance("close_text_23kjh423"),{display:"none"}))},all_add_overlay:function(){alert("The function all_add_overlay() is not supported.")},style_overlay:function(e,a,t){$("."+e).eq(a-1).css(t)},all_style_overlay:function(){alert("The function all_style_overlay() is not supported.")},close_overlay:function(e,a){void 0!==a?(a.hasOwnProperty("speed")&&(az.hold_value.overlay_speed_fd78ssf34=a.speed/1e3+"s"),$("."+e).css("width","0%").css("-webkit-transition",az.hold_value.overlay_speed_fd78ssf34)):$("."+e).css("width","0%"),$("."+e).css("visibility","hidden"),$(".background_dark_23kjh423").remove(),setTimeout(function(){$("."+e).remove()},200)},open_overlay:function(e,a){$("."+e).css("width",a),$("."+e).css("visibility","visible")},add_upload_button:function(e,a,t){t.hasOwnProperty("this_id")?input_id=t.this_id:input_id="input_"+az.makeid(),$("."+e).eq(a-1).append("<input id="+input_id+" class="+t.this_class+" type='file'>")},all_add_upload_button:function(){alert("The function all_add_upload_button() is not supported.")},style_upload_button:function(e,a,t){$("."+e).eq(a-1).css(t),t.hasOwnProperty("align")&&az.align_element(e,a,t.align)},all_style_upload_button:function(){alert("The function all_style_upload_button() is not supported.")},add_scrollable_container:function(e,a,t){t.hasOwnProperty("this_id")?outer_div_id=t.this_id:outer_div_id="scroll_con_"+az.makeid(),"horizontal"==t.direction?($("."+e).eq(a-1).append("<div id="+outer_div_id+" class="+t.this_class+"></div>"),containing_width=az.get_style(e,a,{style:"width"}),$("#"+outer_div_id).css("width",containing_width).css("overflow-x","auto").css("overflow-y","hidden").css("white-space","nowrap").css("-webkit-overflow-scrolling","touch")):($("."+e).eq(a-1).append("<div id="+outer_div_id+" class="+t.this_class+"></div>"),$("#"+outer_div_id).css("height","100%").css("overflow","auto")),az.style_scrollable_container(t.this_class,az.get_target_instance(outer_div_id),az.scrollable_container_defaults)},style_scrollable_container:function(e,a,t){$("."+e).eq(a-1).css(t),t.hasOwnProperty("align")&&az.align_element(e,a,t.align)},all_style_scrollable_container:function(e,a){$("."+e).each(function(t){az.style_scrollable_container(e,t,a)})},scroll_container:function(e,a,t){t.hasOwnProperty("speed")?use_speed=t.speed:use_speed=800,"left"==t.direction?$("."+e).eq(a-1).animate({scrollLeft:-5e3},use_speed):$("."+e).eq(a-1).animate({scrollLeft:5e3},use_speed)},check_exists:function(e,a){return 1==$("."+e).eq(a-1).length?res=!0:res=!1,res},check_function_exists:function(e){return res="function"==typeof e,res},call_once_iframe_loaded:function call_once_iframe_loaded(target_class,target_instance,options){var iframe=$("."+target_class).eq(target_instance-1).get(0);iframe.contentWindow.onload=function(){"function"==typeof options.function?az.call_callback(options.function()):eval(options.function)}},loop_concatenate:function(e){return az.hold_value.eval_loop_str_f7a98sd="",az.call_multiple({iterations:e.length,function:function(a,t){az.hold_value.eval_loop_str_f7a98sd+=e[t]}}),az.hold_value.eval_loop_str_f7a98sd},add_event:function add_event(target_class,target_instance,events){events.hasOwnProperty("track")&&("function"==events.track&&az.store_data(target_class,target_instance,{key:"event_listener_added",value:events.function}),"boolean"==events.track&&az.store_data(target_class,target_instance,{key:"event_listener_added",value:"true"})),setTimeout(function(){void 0!==events.type&&void 0!==events.function&&("click"==events.type&&(events.hasOwnProperty("once")&&1==events.once?$("."+target_class).eq(target_instance-1).off("click").on("click",function(evt){var this_id=evt.target.id;"function"==typeof events.function?az.call_callback(events.function(this_id,evt)):eval(events.function)}):$("."+target_class).eq(target_instance-1).on("click",function(evt){var this_id=evt.target.id;"function"==typeof events.function?az.call_callback(events.function(this_id,evt)):eval(events.function)})),"double_click"==events.type&&$("."+target_class).eq(target_instance-1).dblclick(function(evt){var this_id=evt.target.id;"function"==typeof events.function?az.call_callback(events.function(this_id,evt)):eval(events.function)}),"triple_click"==events.type&&$("."+target_class).eq(target_instance-1).click(function(evt){if(3===evt.detail){var this_id=evt.target.id;"function"==typeof events.function?az.call_callback(events.function(this_id,evt)):eval(events.function)}}),"right_click"==events.type&&$("."+target_class).eq(target_instance-1).contextmenu(function(evt){var this_id=evt.target.id;return"function"==typeof events.function?az.call_callback(events.function(this_id,evt)):eval(events.function),!1}),"hover"==events.type&&(events.hasOwnProperty("once")&&1==events.once?$("."+target_class).eq(target_instance-1).off("mouseover").on("mouseover",function(evt){var this_id=evt.target.id;"function"==typeof events.function?az.call_callback(events.function(this_id,evt)):eval(events.function)}):$("."+target_class).eq(target_instance-1).on("mouseover",function(evt){var this_id=evt.target.id;"function"==typeof events.function?az.call_callback(events.function(this_id,evt)):eval(events.function)})),"unhover"==events.type&&$("."+target_class).eq(target_instance-1).on("mouseleave",function(evt){var this_id=evt.target.id;"function"==typeof events.function?az.call_callback(events.function(this_id,evt)):eval(events.function)}),"change"==events.type&&$("."+target_class).eq(target_instance-1).change(function(evt){var this_id=evt.target.id;"function"==typeof events.function?az.call_callback(events.function(this_id,evt)):eval(events.function)}),"as_change"==events.type&&$("."+target_class).eq(target_instance-1).on("input change",function(evt){var this_id=evt.target.id;"function"==typeof events.function?az.call_callback(events.function(this_id,evt)):eval(events.function)}),"enter key"==events.type&&(events.key_choice="enter",az.add_keypress(target_class,target_instance,events)),"enter_key"==events.type&&(events.key_choice="enter",az.add_keypress(target_class,target_instance,events)),"focus"==events.type&&$("."+target_class).eq(target_instance-1).on("focus",function(evt){var this_id=evt.target.id;"function"==typeof events.function?az.call_callback(events.function(this_id,evt)):eval(events.function)}),"blur"==events.type&&$("."+target_class).eq(target_instance-1).on("blur",function(evt){var this_id=evt.target.id;"function"==typeof events.function?az.call_callback(events.function(this_id,evt)):eval(events.function)}),"paste"==events.type&&$("."+target_class).eq(target_instance-1).on("paste",function(evt){var this_id=evt.target.id;"function"==typeof events.function?az.call_callback(events.function(this_id,evt)):eval(events.function)}),"mouseup"==events.type&&$("."+target_class).eq(target_instance-1).on("mouseup",function(evt){var this_id=evt.target.id;"function"==typeof events.function?az.call_callback(events.function(this_id,evt)):eval(events.function)}),"mousedown"==events.type&&$("."+target_class).eq(target_instance-1).on("mousedown",function(evt){var this_id=evt.target.id;"function"==typeof events.function?az.call_callback(events.function(this_id,evt)):eval(events.function)}),"upload"==events.type&&$("."+target_class).eq(target_instance-1).on("change",function(event){var file_types=["json","csv","png","jpg","jpeg"];file_id=$("."+target_class).eq(target_instance-1).attr("id");var extension=document.getElementById(file_id).files[0].name.split(".").pop().toLowerCase();if(is_success=file_types.indexOf(extension)>-1,is_success){var reader=new FileReader;reader.onload=function(event){if("pdf"==extension&&(az.hold_value.file_upload_data_f678sdfa=reader.response),"json"==extension&&(az.hold_value.file_upload_data_f678sdfa=JSON.parse(event.target.result)),"csv"==extension){var lines=event.target.result.split("\n");az.hold_value.csv_result=[];for(var headers=lines[0].split(","),i=1;i<lines.length;i++){for(var obj={},currentline=lines[i].split(","),j=0;j<headers.length;j++)obj[headers[j]]=currentline[j];az.hold_value.csv_result.push(obj)}az.call_once_satisfied({condition:"az.hold_value.csv_result.length>1",function:"az.hold_value.file_upload_data_f678sdfa = az.hold_value.csv_result"})}"png"!=extension&&"jpg"!=extension&&"jpeg"!=extension||(az.hold_value.file_upload_data_f678sdfa=event.target.result),setTimeout(function(){data=az.hold_value.file_upload_data_f678sdfa,"function"==typeof events.function?az.call_callback(events.function(data)):eval(events.function)},1e3)},"png"!=extension&&"jpg"!=extension&&"jpeg"!=extension&&reader.readAsText(event.target.files[0]),"png"!=extension&&"jpg"!=extension&&"jpeg"!=extension||reader.readAsDataURL(event.target.files[0])}else alert("File extension not supported. Accepts 'json', 'csv', 'png', 'jpg', and 'jpeg'")}))},100)},all_add_event:function(e,a){$("."+e).each(function(t){az.add_event(e,t,a)})},add_events_from_object:function(e,a,t){$.each(t,function(t,n){az.add_event(e,a,{type:t,function:n})})},add_keypress:function add_keypress(target_class,target_instance,key_choice){$("."+target_class).eq(target_instance-1).keypress(function(evt){if("enter"==key_choice.key_choice&&13==evt.which){evt.preventDefault();var this_id=evt.target.id;"function"==typeof key_choice.function?az.call_callback(key_choice.function(this_id,evt)):eval(key_choice.function)}})},keep_tog_functs:keep_tog_functs={},toggle_functions:function toggle_functions(function_1,function_2){"object"==typeof function_1&&(options=function_1),void 0===az.keep_tog_functs[function_1]&&(az.keep_tog_functs[function_1]=0),az.keep_tog_functs[function_1]%2==0?"function"==typeof options.function1?az.call_callback(options.function1()):eval(options.function1):"function"==typeof options.function2?az.call_callback(options.function2()):eval(options.function2),az.keep_tog_functs[function_1]++},empty_contents:function(e,a){$("."+e).eq(a-1).empty()},all_empty_contents:function(e){$("."+e).each(function(a){az.empty_contents(e,a)})},override_all_styles:function(e,a,t){for(var n in t)$("."+e).eq(a-1).each(function(){this.style.setProperty(n,t[n],"important")})},get_style:function(e,a,t){return res=$("."+e).eq(a-1).css(t.style),res},show_highest_z:function(){for(z_inds=[],ids=[],classes=[],res=[],$.map($("body *"),function(e,a){"static"!=$(e).css("position")&&(z_inds.push(parseFloat($(e).css("z-index"))||1),ids.push($(e).attr("id")),classes.push($(e).attr("class")))}),max_z=Math.max.apply(null,z_inds),i=0;i<z_inds.length;i++)z_inds[i]==max_z&&(inner={},inner.id=ids[i],inner.class=classes[i],inner.z_index=z_inds[i],res.push(inner));return res},animate_element:function(e,a,t){"infinite"==t.iterations?$("."+e).eq(a-1).addClass("animated "+t.type+" infinite").one("animationend webkitAnimationEnd oAnimationEnd",function(){$("."+e).eq(a-1).removeClass("animated "+t.type+" infinite")}):($("."+e).eq(a-1).addClass("animated "+t.type).one("animationend webkitAnimationEnd oAnimationEnd",function(){$("."+e).eq(a-1).removeClass("animated "+t.type)}),$("."+e).eq(a-1).css("animation-iteration-count",t.iterations)),"spin"==t.type&&az.spin_element(e,a,t)},all_animate_element:function(e,a){$("."+e).each(function(t){az.animate_element(e,t,a)})},navigate_to:function(e,a,t){use_url=void 0!==t?e+"?"+t.name+"="+t.value:e,"same_tab"==a&&(window.location.href=use_url),"new_tab"==a&&(win=window.open(use_url,"_blank"),win.focus())},scroll_to:function(e,a,t){"chrome"!==az.check_browser()?($container=$("html,body"),$scrollTo=$("."+e).eq(a-1),use_speed=void 0!==t?t.speed:700,$container.animate({scrollTop:$scrollTo.offset().top-$container.offset().top+$container.scrollTop(),scrollLeft:0},use_speed)):(document.documentElement.style.scrollBehavior="smooth",element=document.createElement("a"),target=document.getElementsByClassName(e)[a-1],element.setAttribute("href","#"+target.id),element.click())},listen_for_value:function(e,a){return elem_type=$("."+e).eq(a-1).prop("nodeName"),tag_type=$("."+e).eq(a-1).prop("tagName"),elem=document.body,"PRE"==elem_type&&(res=$("."+e).eq(a-1).text()),"CODE"==elem_type&&(res=$("."+e).eq(a-1).text()),"INPUT"==elem_type&&(res=$("."+e).eq(a-1).val()),"SELECT"==elem_type&&(res=$("."+e).eq(a-1).val()),"A"==tag_type&&(res=$("."+e).eq(a-1).html()),"TEXTAREA"==tag_type&&(res=$("."+e).eq(a-1).val()),"LABEL"==tag_type&&(res=$("."+e).eq(a-1).html()),res},grab_value:function(e,a){return elem_type=$("."+e).eq(a-1).prop("nodeName"),tag_type=$("."+e).eq(a-1).prop("tagName"),elem=document.body,"PRE"==elem_type&&(res=$("."+e).eq(a-1).text()),"CODE"==elem_type&&(res=$("."+e).eq(a-1).text()),"INPUT"==elem_type&&(res=$("."+e).eq(a-1).val()),"SELECT"==elem_type&&(res=$("."+e).eq(a-1).val()),"A"==tag_type&&(res=$("."+e).eq(a-1).html()),"TEXTAREA"==tag_type&&(res=$("."+e).eq(a-1).val()),"LABEL"==tag_type&&(res=$("."+e).eq(a-1).html()),"undefined"==typeof res&&alert("Target element not found. Check the target class name in your az.grab_value() function."),res},grab_text_from_dropdown:function(e,a){return res=$("."+e+" option:selected").eq(a-1).text(),res},call_every:function call_every(option){ev_cnt=0,global_this_interval=setInterval(function(){index=ev_cnt++,"function"==typeof option.function?az.call_callback(option.function()):eval(option.function)},option.every)},stop_call_every:function(){clearInterval(global_this_interval)},always_call:function always_call(always_options){$(document).on("click",function(e){clicked_id=e.target.id,""!=e.target.id&&(clicked_class=$("#"+e.target.id).attr("class"),"undefined"!=typeof clicked_class&&eval(always_options.function))})},delay_multiple:function delay_multiple(options){var index=0;function delayed_loop(){setTimeout(function(){"function"==typeof options.function?az.call_callback(options.function()):eval(options.function),index++,index<options.iterations&&delayed_loop()},options.delay)}delayed_loop()},when_not_typing:function(e,a,t){sit_timer=null,$("."+e).eq(a-1).keydown(function(){clearTimeout(sit_timer),sit_timer=setTimeout(t.function,t.wait_time)})},makeid:function(){for(var e="",a="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=0;t<15;t++)e+=a.charAt(Math.floor(Math.random()*a.length));return e},handle_img_error:function(e){return console.log("Image with path "+$("#"+e).attr("src")+" not found!"),!0},get_row_count:function(e,a){return row_count=$("."+e).eq(a-1).find("tr").length,row_count},get_column_count:function(e,a){return column_count=$("."+e).eq(a-1).find("td").length/az.get_row_count(e,a),column_count},get_cell_count:function(e,a){return res=az.get_row_count(e,a)*az.get_column_count(e,a),res},add_word_counter:function add_word_counter(target_class,target_instance,options){az.add_event(options.words_target_class,options.words_target_instance,{type:"as_change",function:function(this_id){az.all_remove_element(options.this_class),options.countdown?az.add_text(target_class,target_instance,{this_class:options.this_class,text:options.warning_length_2-$("#"+this_id).val().length}):az.add_text(target_class,target_instance,{this_class:options.this_class,text:$("#"+this_id).val().length}),az.grab_value(options.words_target_class,options.words_target_instance).length>options.warning_length_1&&az.grab_value(options.words_target_class,options.words_target_instance).length<options.warning_length_2?az.all_style_text(options.this_class,{color:options.warning_color_1,"font-size":options["font-size"]}):az.grab_value(options.words_target_class,options.words_target_instance).length==options.warning_length_2?az.all_style_text(options.this_class,{color:options.warning_color_2,"font-size":options["font-size"]}):az.all_style_text(options.this_class,{color:options.color,"font-size":options["font-size"]}),options.hasOwnProperty("call_functions")&&("function"==typeof options.call_functions?az.call_callback(options.call_functions()):eval(options.call_functions))}})},click_element:function(e,a){$("."+e).eq(a-1).click()},check_checkbox:function(e,a){az.call_wrapped_function.add_check_to_check(e,a)},uncheck_checkbox:function(e,a){az.empty_contents(e,a)},all_uncheck_checkbox:function(e){az.call_multiple({iterations:az.number_of_elements(e),function:function(a,t){az.uncheck_checkbox(e,t+1)}})},all_check_checkbox:function(e){az.call_multiple({iterations:az.number_of_elements(e),function:function(a,t){az.check_checkbox(e,t+1)}})},check_if_checked:function(e,a){return check_checked=$("."+e).eq(a-1).contents().length,check_checked>0?res=!0:res=!1,res},focus_element:function(e,a){$("."+e).eq(a-1).focus()},blur_element:function(e,a){$("."+e).eq(a-1).blur()},trigger_event:function(e,a,t){$("."+e).eq(a-1).trigger(t.event)},choose_from_dropdown:function(e,a,t){$("."+e).eq(a-1).val(t.option).trigger("change")},add_class:function(e,a,t){$("."+e).eq(a-1).addClass(t.class)},all_add_class:function(e,a){$("."+e).each(function(t){az.add_class(e,t,a)})},go_back:function(){window.history.back()},random_integer:function(e){return res=az.create_array(1,1,"random",e-1)[0],res},loop_array:function loop_array(content){content.array.map(function(elem,index){content.hasOwnProperty("new_array")?(new_elem=eval(content.function),content.new_array.push(new_elem)):"function"==typeof content.function?az.call_callback(content.function(elem,index)):eval(content.function)})},remove_from_array:function(e,a){return new_arr=e.filter(function(e){return e!==a}),new_arr},remove_every_from_array:function(e,a){return new_arr=e.filter(function(e){return e!==a}),new_arr},get_from_array_if:function get_from_array_if(arr,condition){return hold_test=[],arr.map(function(elem,index){eval(condition)&&hold_test.push(elem)}),hold_test},dedupe_array:function(e){return new_arr=e.filter(function(a,t){return e.indexOf(a)==t}),new_arr},swap_elements_in_array:function(e,a,t){var n=e.indexOf(a),o=e.indexOf(t),i=e[n];return e[n]=e[o],e[o]=i,e},create_array:function(e,a,t,n){for(arr=[],i=e;i<=a;i++)void 0===t?arr.push(i):"object"==typeof t?arr.push(t):"random"==t?(use_rand=void 0===n?10:n,arr.push(Math.round(Math.random()*use_rand))):arr.push(t);return arr},remove_empties_from_obj:function(e){for(var a in e)null!==e[a]&&void 0!==e[a]&&""!==e[a]||delete e[a];return e},remove_from_object:function(e,a){if(a.hasOwnProperty("value"))for(prop_name in e)e[prop_name]===a.value&&delete e[prop_name];return a.hasOwnProperty("key")&&delete e[a.key],e},sort_object:function(e){return items=Object.keys(e).map(function(a){return[a,e[a]]}),items.sort(function(e,a){return a[1]-e[1]}),sorted_obj={},$.each(items,function(e,a){use_key=a[0],use_value=a[1],sorted_obj[use_key]=use_value}),sorted_obj},filter_object_by_value:function(e,a,t,n){if("includes"==n)var o=$.grep(e,function(e,n){return e[a].includes(t)});else o=$.grep(e,function(e,n){return e[a]===t});return o},get_unique_keys_from_object:function(e,a){var t=[];return $.each(Object.values(e),function(e,n){t.push(n[a])}),fin_res=az.dedupe_array(t),fin_res},chunk_object:function(e,a){var t=Object.values(e),n=[],o=0,i={};for(var s in e)0!==o&&o%a==0&&(n.push(i),i={}),i[s]=t[o],o++;return n.push(i),n},get_everything_before:function(e,a){return new_str=e.substr(0,e.indexOf(a)),new_str},get_everything_after:function(e,a){return new_str=e.split(a).pop(),new_str},get_everything_between:function(e,a,t){return pre_res=az.get_everything_before(e,t),res=az.get_everything_after(pre_res,a).trim(),res},get_fuzzy_match:function(e){var a=e.array,t=e.search_term;return $(a).map(function(e,a){if(-1!=a.toLowerCase().indexOf(t.toLowerCase()))return a}).get()},insert_before_character:function(e,a,t){return az.get_everything_before(e,a)+t+a+az.get_everything_after(e,a)},insert_after_character:function(e,a,t){return az.get_everything_before(e,a)+a+t+az.get_everything_after(e,a)},lorem_ipsum:function(){return res="It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy.",res},add_value:function(e,a,t){$("."+e).eq(a-1).val(t.value)},all_add_value:function(e,a){$("."+e).each(function(t){az.add_value(e,t,a)})},remove_element:function(e,a){$("."+e).eq(a-1).remove()},all_remove_element:function(e){$("."+e).remove()},clear_input:function(e,a){az.add_value(e,a,{value:""})},move_up_down:function(a,t,n){e=$("."+a).eq(t-1),"up"==n?e.prev().insertAfter(e):e.next().insertBefore(e)},align_element:function(e,a,t){div_id="div_"+az.makeid(),$("."+e).eq(a-1).wrap("<div id="+div_id+"></div>"),$("#"+div_id).attr("align",t),"center_screen"==t&&$("."+e).eq(a-1).css("position","fixed").css("top","50%").css("left","50%").css("-webkit-transform","translate(-50%, -50%)").css("transform","translate(-50%, -50%)")},call_multiple:function call_multiple(function_choice){dummy_arr=Array(function_choice.iterations).fill("dummy"),dummy_arr.map(function(elem,index){"function"==typeof function_choice.function?az.call_callback(function_choice.function(elem,index)):eval(function_choice.function)})},call_callback:function(e){},rotate_element:function(e,a,t,n){$("."+e).eq(a-1).css("transform","rotate("+t+"deg)")},flip_element:function(e,a,t){"horizontal"==t&&$("."+e).eq(a-1).css("-moz-transform","scaleX(-1)").css("-o-transform","scaleX(-1)").css("-webkit-transform","scaleX(-1)").css("transform","scaleX(-1)").css("filter","FlipH").css("-ms-filter","FlipH"),"vertical"==t&&$("."+e).eq(a-1).css("-moz-transform","scaleY(-1)").css("-o-transform","scaleY(-1)").css("-webkit-transform","scaleY(-1)").css("transform","scaleY(-1)").css("filter","FlipV").css("-ms-filter","FlipV")},replace_text:function(e,a,t){wrapping_div_id="wrapped_"+az.makeid(),hold_onto_class=$("."+e).eq(a-1).attr("class"),hold_onto_style=az.get_style(e,a,{style:"font-family"}),$("."+e).eq(a-1).wrap("<div class='wrapping_div' id="+wrapping_div_id+"></div>"),az.add_text("wrapping_div",az.get_target_instance(wrapping_div_id),{this_class:hold_onto_class,text:t.text}),az.style_text(hold_onto_class,az.get_target_instance(wrapping_div_id),hold_onto_style),az.remove_element(e,a)},replace_value:function(e,a,t){$("."+e).eq(a-1).val(t.value)},replace_property:function(e,a,t){t.hasOwnProperty("value")&&$("."+e).eq(a-1).val(t.value),t.hasOwnProperty("text")&&$("."+e).eq(a-1).text(t.text)},replace_dropdown_options:function(e,a,t){var n=az.get_target_id(e,a);$("#"+n+" option").each(function(e,a){$("#"+n+" option")[0].remove()}),setTimeout(function(){$.each(t.options,function(e,a){$("#"+n).append($("<option/>").val(t.values[e]).text(a))})},10)},last_class_instance:function(e){return this_class_num=$("."+e).length,this_class_num},get_target_instance:function(e){if(target_instance=0,void 0!==$("#"+e).attr("class"))return target_class=$("#"+e).attr("class").split(" ").pop(),$("."+target_class).each(function(a){e==$(this).attr("id")&&(target_instance=a+1)}),0==target_instance?1:target_instance},get_target_id:function(e,a){return target_id=$("."+e).eq(a-1).attr("id"),target_id},get_id_by_text:function(e,a){return id_by_text=$("."+e+":contains('"+a+"')").attr("id"),id_by_text},not_this_instance:function not_this_instance(target_class,target_instance,choice){$("."+target_class).each(function(index){new_index=index+1,new_index!=target_instance&&("function"==typeof choice.function?az.call_callback(choice.function()):eval(choice.function))})},store_data:function(e,a,t){"browser"==e?localStorage.setItem(t.key,JSON.stringify(t.value)):$("."+e).eq(a-1).attr("data-"+t.key,t.value)},fetch_data:function(e,a,t){return"browser"==e?"undefined"!==localStorage.getItem(t.key)?res_data=JSON.parse(localStorage.getItem(t.key)):res_data=null:res_data=$("."+e).eq(a-1).attr("data-"+t.key),res_data},remove_data:function(e,a,t){"browser"==e?localStorage.removeItem(t.key):$("."+e).eq(a-1).removeAttr("data-"+t.key)},call_api:function call_api(api_args){api_args.hasOwnProperty("type")||api_args.hasOwnProperty("data")||api_args.hasOwnProperty("headers")||api_args.hasOwnProperty("dataType")?$.ajax({url:api_args.url,type:api_args.type,data:api_args.data,headers:api_args.headers,dataType:api_args.dataType,success:function(data){"function"==typeof api_args.done?az.call_callback(api_args.done(data)):eval(api_args.done)}}):("object"==typeof api_args.parameters?use_params=api_args.parameters:use_params=JSON.parse(api_args.parameters),$.getJSON(api_args.url,use_params,function(){}).done(function(data){"function"==typeof api_args.done?az.call_callback(api_args.done(data)):eval(api_args.done)}).fail(function(error){eval(api_args.fail)}).always(function(e){}),eval(api_args.always))},read_local_file:function read_local_file(file_args){$.getJSON(file_args.file_path,function(e){}).done(function(data){"function"==typeof file_args.done?az.call_callback(file_args.done(data)):eval(file_args.done)}).fail(function(error){eval(file_args.fail)}).always(function(e){}),eval(file_args.always)},get_property:function(e,a,t){return res_prop=$("."+e).eq(a-1).prop(t.property),res_prop},set_property:function(e,a,t){$("."+e).eq(a-1).prop(t.property,t.value)},set_slider_value:function(e,a,t){$("."+e).eq(a-1).val(t),setTimeout(function(){$("."+e).eq(a-1).next(".slider_label").text(t),$("."+e).eq(a-1).trigger("change")},200)},number_of_contents:function(e,a){return contents_num=$("."+e).eq(a-1).contents().length,contents_num},number_of_elements:function(e){return res=$("."+e).length,res},is_even:function(e){return res=e%2==0,res},delay_event:function delay_event(delay){void 0===delay.delay?global_this_timeout=setTimeout(function(){"function"==typeof delay.function?az.call_callback(delay.function()):eval(delay.function)},100):global_this_timeout=setTimeout(function(){"function"==typeof delay.function?az.call_callback(delay.function()):eval(delay.function)},delay.delay)},stop_delay_event:function(){clearTimeout(global_this_timeout)},show_instance:function(e){"button"==e&&$("button").click(function(){this_class=$(this).attr("class").split(" ").pop(),this_id=$(this).attr("id"),$("."+this_class).each(function(e,a){a.id==this_id&&(class_instance=e+1,alert("this_class: "+this_class+"\nclass_instance: "+class_instance))})}),"text"==e&&$("a").click(function(){this_class=$(this).attr("class").split(" ").pop(),this_id=$(this).attr("id"),$("."+this_class).each(function(e,a){a.id==this_id&&(class_instance=e+1,alert("this_class: "+this_class+"\nclass_instance: "+class_instance))})}),"input"==e&&$("input").click(function(){this_class=$(this).attr("class").split(" ").pop(),this_id=$(this).attr("id"),$("."+this_class).each(function(e,a){a.id==this_id&&(class_instance=e+1,alert("this_class: "+this_class+"\nclass_instance: "+class_instance))})}),"image"==e&&$("img").click(function(){this_class=$(this).attr("class").split(" ").pop(),this_id=$(this).attr("id"),$("."+this_class).each(function(e,a){a.id==this_id&&(class_instance=e+1,alert("this_class: "+this_class+"\nclass_instance: "+class_instance))})}),"code"==e&&$("pre").click(function(){this_class=$(this).attr("class").split(" ").pop(),this_id=$(this).attr("id"),$("."+this_class).each(function(e,a){a.id==this_id&&(class_instance=e+1,alert("this_class: "+this_class+"\nclass_instance: "+class_instance))})}),"layout"==e&&$("table").click(function(){this_class=$(this).attr("class").split(" ").pop(),this_id=$(this).attr("id"),$("."+this_class).each(function(e,a){a.id==this_id&&(class_instance=e+1,alert("this_class: "+this_class+"\nclass_instance: "+class_instance))})}),"cell"==e&&$("table td").click(function(){this_class=$(this).attr("class").split(" ").pop(),this_id=$(this).attr("id"),$("."+this_class).each(function(e,a){a.id==this_id&&(class_instance=e+1,alert("this_class: "+this_class+"\nclass_instance: "+class_instance))})}),"icon"==e&&$('[id^="icon_"]').click(function(){this_class=$(this).attr("class").split(" ").pop(),this_id=$(this).attr("id"),$(".fa").each(function(e,a){a.id==this_id&&(class_instance=e+1,alert("this_class: "+$("#"+this_id).attr("class")+"\nclass_instance: "+class_instance))})}),"section"==e&&$('[id^="section_"]').click(function(){this_class=$(this).attr("class").split(" ").pop(),this_id=$(this).attr("id"),$("."+this_class).each(function(e,a){a.id==this_id&&(class_instance=e+1,alert("this_class: "+$("#"+this_id).attr("class")+"\nclass_instance: "+class_instance))})}),"dropdown"==e&&$("select").click(function(){this_class=$(this).attr("class").split(" ").pop(),this_id=$(this).attr("id"),$("."+this_class).each(function(e,a){a.id==this_id&&(class_instance=e+1,alert("this_class: "+$("#"+this_id).attr("class")+"\nclass_instance: "+class_instance))})}),"visual"==e&&$("canvas").click(function(){this_class=$(this).attr("class").split(" ").pop(),this_id=$(this).attr("id"),$("."+this_class).each(function(e,a){a.id==this_id&&(class_instance=e+1,alert("this_class: "+$("#"+this_id).attr("class")+"\nclass_instance: "+class_instance))})}),"textarea"==e&&$("textarea").click(function(){this_class=$(this).attr("class").split(" ").pop(),this_id=$(this).attr("id"),$("."+this_class).each(function(e,a){a.id==this_id&&(class_instance=e+1,alert("this_class: "+$("#"+this_id).attr("class")+"\nclass_instance: "+class_instance))})}),"label"==e&&$("label").click(function(){this_class=$(this).attr("class").split(" ").pop(),this_id=$(this).attr("id"),$("."+this_class).each(function(e,a){a.id==this_id&&(class_instance=e+1,alert("this_class: "+$("#"+this_id).attr("class")+"\nclass_instance: "+class_instance))})})},check_for_mobile:function(){return!!/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)},check_browser:function(){var e=navigator.userAgent.indexOf("Opera")||navigator.userAgent.indexOf("OPR"),a=-1!=navigator.userAgent.indexOf("Firefox"),t=-1!=navigator.userAgent.indexOf("Safari"),n=-1!=navigator.userAgent.indexOf("MSIE")||1==!!document.documentMode,o=-1!=navigator.userAgent.indexOf("Chrome");return 1==e&&(res="opera"),1==a&&(res="firefox"),1==t&&(res="safari"),1==n&&(res="ie"),1==o&&(res="chrome"),res},call_on_scroll:function call_on_scroll(options){$(document).scroll(function(){var h=$(this).scrollTop();options.hasOwnProperty("less_than_height")&&(use_h=options.less_than_height.replace("px",""),h<use_h&&("function"==typeof options.function?az.call_callback(options.function()):eval(options.function))),options.hasOwnProperty("greater_than_height")&&(use_h=options.greater_than_height.replace("px",""),h>use_h&&("function"==typeof options.function?az.call_callback(options.function()):eval(options.function))),options.hasOwnProperty("at_height")&&(use_h=options.at_height.replace("px",""),h==use_h&&("function"==typeof options.function?az.call_callback(options.function()):eval(options.function)))})},lazy_load_array:function(e,a,t){az.hold_value.chunks_f7sd9=az.chunk_object(t.array,t.chunk_size),az.hold_value.target_class_f7sd9=e,az.hold_value.target_instance_f7sd9=a,az.add_text(e,a,{this_class:t.element_class,text:Object.values(az.hold_value.chunks_f7sd9[0]).join("<br><br>")+"<br><br>"}),az.style_text(t.element_class,1,t.text_styles),$("."+e).eq(a-1).on("scroll",function(){$("."+e).eq(a-1).scrollTop()%Number(t.every.replace("px",""))==0&&az.show_this_chunk(az.hold_value.chunks_f7sd9,az.hold_value.chunk_cnt,t)}),az.hold_value.chunk_cnt=1},show_this_chunk:function(e,a,t){az.hold_value.chunk_cnt++,void 0!==e[a]&&(az.add_text(az.hold_value.target_class_f7sd9,az.hold_value.target_instance_f7sd9,{this_class:t.element_class,text:Object.values(e[a]).join("<br><br>")+"<br><br>"}),az.all_style_text(t.element_class,t.text_styles))},create_proxy:function(){return new Proxy({},{set:function(e,a,t){return console.log(`${a} set to ${t}`),e[a]=t,!0}})},call_on_window_resize:function call_on_window_resize(options){$(window).resize(function(){var w=$(window).width(),h=$(window).height();options.hasOwnProperty("less_than_width")&&(use_w=options.less_than_width.replace("px",""),w<use_w&&("function"==typeof options.function?az.call_callback(options.function()):eval(options.function))),options.hasOwnProperty("greater_than_width")&&(use_w=options.greater_than_width.replace("px",""),w>use_w&&("function"==typeof options.function?az.call_callback(options.function()):eval(options.function))),options.hasOwnProperty("less_than_height")&&(use_h=options.less_than_height.replace("px",""),h<use_h&&("function"==typeof options.function?az.call_callback(options.function()):eval(options.function))),options.hasOwnProperty("greater_than_height")&&(use_h=options.greater_than_height.replace("px",""),h>use_h&&("function"==typeof options.function?az.call_callback(options.function()):eval(options.function))),options.hasOwnProperty("at_height")&&(use_h=options.at_height.replace("px",""),h==use_h&&("function"==typeof options.function?az.call_callback(options.function()):eval(options.function))),options.hasOwnProperty("at_width")&&(use_w=options.at_width.replace("px",""),w==use_w&&("function"==typeof options.function?az.call_callback(option.function()):eval(options.function)))}).resize()},get_window_width:function(){return res=$(window).width(),res},get_window_height:function(){return res=$(window).height(),res},get_viewport_width:function(){return res=window.innerWidth,res},get_viewport_height:function(){return res=window.innerHeight,res},get_document_width:function(){return res=document.documentElement.clientWidth,res},get_document_height:function(){return res=document.documentElement.clientHeight,res},style_word:function(e,a,t){void 0===t.word?console.log("Missing 'word' parameter in style_word function."):setTimeout(function(){html=$("."+e).eq(a-1).html(),replace=t.word,re=new RegExp(replace,"gi"),"undefined"!=typeof html&&($("."+e).eq(a-1).html(html.replace(re,"<span class="+t.this_class+">"+t.word+"</span>")),t.hasOwnProperty("word_instance")?($("."+t.this_class).eq(t.word_instance-1).css(t),$("."+t.this_class).eq(t.word_instance-1).attr("contenteditable",t.contenteditable)):$.each($("."+t.this_class),function(e){$("."+t.this_class).eq(e).css(t),$("."+t.this_class).eq(e).attr("contenteditable",t.contenteditable)}))},100)},all_style_word:function(e,a){$("."+e).each(function(t){az.style_word(e,t,a)})},enable_bold:function(){$(window).keydown(function(e){e.keyCode>=65&&e.keyCode<=90&&("⌘-B"==(e.metaKey?"⌘-":"")+String.fromCharCode(e.keyCode)&&document.execCommand("bold"))})},enable_italics:function(){$(window).keydown(function(e){e.keyCode>=65&&e.keyCode<=90&&("⌘-I"==(e.metaKey?"⌘-":"")+String.fromCharCode(e.keyCode)&&document.execCommand("italics"))})},enable_underline:function(){$(window).keydown(function(e){e.keyCode>=65&&e.keyCode<=90&&("⌘-U"==(e.metaKey?"⌘-":"")+String.fromCharCode(e.keyCode)&&document.execCommand("underline"))})},call_once_satisfied:function call_once_satisfied(props){eval(props.condition)?"function"==typeof props.function?az.call_callback(props.function()):eval(props.function):setTimeout(function(){call_once_satisfied(props)},100)},parse_extra_functions:function(e,a){$.each(JSON.parse(a),function(a,t){az.call_once_satisfied({condition:"typeof($('."+e+"').eq(1 - 1)[0].contentWindow.az) == 'object'",function:'setTimeout(function() {$(".'+e+'").eq(1 - 1)[0].contentWindow.az.azle_d3("'+t+'")},500)'})})},add_d3_visual:function(e,a,t){az.hold_value.frame_id_ew356rjkrw="frame_"+az.makeid(),az.add_iframe(e,a,{this_class:t.this_class,source:t.html_path,this_id:az.hold_value.frame_id_ew356rjkrw}),az.style_iframe(t.this_class,az.last_class_instance(t.this_class),{width:"100%",height:"500px"}),$("."+t.this_class).eq(az.get_target_instance(az.hold_value.frame_id_ew356rjkrw)-1)[0].setAttribute("scrolling","no"),t.hasOwnProperty("wrapper_arguments")&&az.call_once_satisfied({condition:"typeof($('."+t.this_class+"').eq(az.get_target_instance(az.hold_value.frame_id_ew356rjkrw) - 1)[0].contentWindow.az) == 'object'",function:"$('."+t.this_class+"').eq(az.get_target_instance(az.hold_value.frame_id_ew356rjkrw) - 1)[0].contentWindow.az.azle_d3('draw_visual("+JSON.stringify(t.wrapper_arguments)+")')"}),t.hasOwnProperty("extra_functions")&&(a_tc=t.this_class,b_ef=JSON.stringify(t.extra_functions),az.call_once_satisfied({condition:"$('."+t.this_class+"').length > 0",function:"az.parse_extra_functions(a_tc, b_ef)"}))},all_add_d3_visual:function(e,a){$("."+e).each(function(t){az.add_d3_visual(e,t,a)})},style_d3_visual:function(e,a,t){az.style_iframe(e,a,t)},call_d3_wrapper:function(e,a,t){full_wrapper_keys=Object.keys(t),full_wrapper_values=Object.values(t),full_wrapper_obj=t.wrapper_arguments,$.each(t,function(e,a){"wrapper_arguments"!=e&&"extra_functions"!=e&&(full_wrapper_obj[e]=a)}),$("."+e).eq(a-1)[0].contentWindow.az.azle_d3("$('svg').empty(); draw_visual("+JSON.stringify(full_wrapper_obj)+"); if($('svg').length>1){$('svg').eq(0).remove()};"),t.hasOwnProperty("extra_functions")&&setTimeout(function(){$.each(t.extra_functions,function(t,n){$("."+e).eq(a-1)[0].contentWindow.az.azle_d3(n)})},100)},call_d3_extra:function call_d3_extra(target_class,target_instance,content){extra_keys=Object.keys(content),extra_values=Object.values(content),full_extra_obj=content.extra_functions,$.each(content,function(e,a){"extra_functions"!=e&&(full_extra_obj[e]=a),$.each(full_extra_obj,function(e,a){$("."+target_class).eq(target_instance-1)[0].contentWindow.az.azle_d3(a)})}),eval(content.extra_functions=full_extra_obj)},current_d3_extras_value:function(e,a,t){return style_num=az.get_everything_after(e[a],t).match(/\d+/)[0],style_num},click_d3:function(e,a){az.d3_click_possible(),$("."+e).eq(a-1).d3Click()},azle_d3:function azle_d3(func){eval(func)},apply_id:function(e,a){$("."+e).eq(a-1).each(function(){use_id="new_id_"+az.makeid(),$(this).attr("id",use_id)})},all_apply_id:function(e){$("."+e).each(function(a){az.apply_id(e,a)})},style_d3:function(e,a,t){$("."+e).eq(a-1).css(t),$(e).eq(a-1).css(t),t.hasOwnProperty("align")&&az.align_element(e,a,t.align)},all_style_d3:function(e,a){$("."+e).each(function(t){az.style_d3(e,t,a)}),$(e).each(function(t){az.style_d3(e,t,a)})},call_function_inside_frame:function(e,a,t){$("."+e).eq(a-1)[0].contentWindow.az.azle_d3(t.function)},post_message_to_frame:function(e,a,t){var n=document.getElementById(az.get_target_id(e,a));"function"==typeof t.function?n.contentWindow.postMessage(encodeURI(t.function.toString()),"*"):n.contentWindow.postMessage(t.function,"*"),t.hasOwnProperty("data")&&n.contentWindow.postMessage(t.data,"*")},get_message_inside_frame:function get_message_inside_frame(){window.addEventListener("message",function(e){eval("("+decodeURI(e.data)+")();")},!1)},no_ui_draggy:function(){var e;(e=jQuery).fn.drags=function(a){if(""===(a=e.extend({handle:"",cursor:"move"},a)).handle)var t=this;else t=this.find(a.handle);return t.css("cursor",a.cursor).on("mousedown",function(t){if(""===a.handle)var n=e(this).addClass("draggable");else n=e(this).addClass("active-handle").parent().addClass("draggable");var o=n.css("z-index"),i=n.outerHeight(),s=n.outerWidth(),r=n.offset().top+i-t.pageY,l=n.offset().left+s-t.pageX;n.css("z-index",1e3).parents().on("mousemove",function(a){e(".draggable").offset({top:a.pageY+r-i,left:a.pageX+l-s}).on("mouseup",function(){e(this).removeClass("draggable").css("z-index",o)})}),t.preventDefault()}).on("mouseup",function(){""===a.handle?e(this).removeClass("draggable"):e(this).removeClass("active-handle").parent().removeClass("draggable")})}},make_draggable:function(e,a){az.no_ui_draggy(),setTimeout(function(){$("."+e).eq(a-1).drags()},400)},all_make_draggable:function(e){$("."+e).each(function(a){az.make_draggable(e,a)})},get_element_position:function(e,a,t){var n={};return"window"==t.with_respect_to&&(n.left=$("."+e).eq(a-1)[0].getBoundingClientRect().left+$(window).scrollLeft(),n.right=$("."+e).eq(a-1)[0].getBoundingClientRect().right+$(window).scrollLeft(),n.top=$("."+e).eq(a-1)[0].getBoundingClientRect().top+$(window).scrollTop(),n.bottom=$("."+e).eq(a-1)[0].getBoundingClientRect().bottom+$(window).scrollTop()),"parent"==t.with_respect_to&&(n.top=$("."+e).eq(a-1).position().top,n.left=$("."+e).eq(a-1).position().left),n},set_element_position:function(e,a,t){var n=$("."+e).eq(a-1).get(0);n.style.position="absolute",n.style.left=t.left+"px",n.style.top=t.top+"px"},make_sortable:function make_sortable(target_class,target_instance,content){void 0!==content&&content.hasOwnProperty("stop_function")?$(function(){$("."+target_class).eq(target_instance-1).sortable({stop:function(event,ui){eval(content.stop_function)}}),$("."+target_class).eq(target_instance-1).disableSelection()}):$(function(){$("."+target_class).eq(target_instance-1).sortable(),$("."+target_class).eq(target_instance-1).disableSelection()})},hide_and_seek:function(e,a,t){$("."+e).eq(a-1).keyup(function(){val=$.trim(this.value),""===val?$("."+t.show_class).show():($("."+t.show_class).hide(),$("."+t.show_class+":contains("+val+")").show())}),az.make_case_insensitive()},make_case_insensitive:function(){$.expr[":"].contains=$.expr.createPseudo(function(e){return function(a){return $(a).text().toUpperCase().indexOf(e.toUpperCase())>=0}})},animate_possible:function(){$.fn.extend({animateCss:function(e){animationEnd="webkitAnimationEnd mozAnimationEnd MSAnimationEnd oanimationend animationend",this.addClass("animated "+e).one(animationEnd,function(){$(this).removeClass("animated "+e)})}})},random_color:function(){for(letters="0123456789ABCDEF",color="#",i=0;i<6;i++)color+=letters[Math.floor(16*Math.random())];return color},random_color_array:function(e){for(colors=[],r=0;r<e;r++)colors.push(az.random_color());return colors},get_datetime:function(){return res=new Date,res},d3_click_possible:function(){$.fn.d3Click=function(){this.each(function(e,a){var t=new MouseEvent("click");a.dispatchEvent(t)})}},rotate_possible:function(){$.fn.animateRotate=function(e,a,t,n){return args=$.speed(a,t,n),step=args.step,this.each(function(a,t){args.complete=$.proxy(args.complete,t),args.step=function(e){if($.style(t,"transform","rotate("+e+"deg)"),step)return step.apply(t,arguments)},$({deg:0}).animate({deg:e},args)})}},spin_element:function(e,a,t){spin_count=0,az.rotate_possible(),$("."+e).eq(a-1).animateRotate(360,{duration:t.speed,easing:"linear",complete:function(){spin_count++,"infinite"==t.iterations?az.spin_element(e,a,t):spin_count<t.iterations&&az.spin_element(e,a,t)},step:function(){}})},text_defaults:text_defaults={"font-family":"Arial"},image_defaults:image_defaults={width:"200px"},checkbox_defaults:checkbox_defaults={width:"16px",height:"16px",cursor:"pointer","font-size":"18px"},checkbox_label_defaults:checkbox_label_defaults={display:"block","padding-left":"15px","text-indent":"-15px"},iframe_defaults:iframe_defaults={width:"400px",height:"300px",border:0},input_defaults:input_defaults={display:"inline-block",height:"30px",border:"1px solid black","border-radius":"3px",color:"black",background:"white","font-size":"17px",padding:"5px",spellcheck:!1,placeholder:"...",outline:0},radiobutton_defaults:radiobutton_defaults={"vertical-align":"baseline","margin-right":"5px",cursor:"pointer"},code_defaults:code_defaults={background:"darkslategrey",color:"whitesmoke",height:"auto",width:"auto",border:"none","border-radius":"3px","font-size":"17px",padding:"10px","text-align":"left","font-size":"16px","white-space":"nowrap",overflow:"auto","font-weight":"normal","font-family":"andale mono"},spinner_defaults:spinner_defaults={border:"16px solid black","border-top":"16px solid #33AADE","border-radius":"50%",position:"fixed",top:0,bottom:0,left:0,right:0,margin:"auto",width:"100px",height:"100px"},spinner_image_defaults:spinner_image_defaults={position:"fixed",top:0,bottom:0,left:0,right:0,margin:"auto",width:"auto",height:"auto"},nav_defaults:nav_defaults={background:"white",padding:"5px",height:"90px",width:"90.8%","margin-left":"auto","margin-right":"auto"},sections_defaults:sections_defaults={background:"#33AADE",width:"90%",height:"500px",padding:"10px","margin-left":"auto","margin-right":"auto"},layout_defaults:layout_defaults={width:"100%",height:"300px",border:2,"border-collapse":"collapse","table-layout":"fixed"},button_defaults:button_defaults={background:"steelblue",color:"white",width:"auto",height:"40px",display:"inline-block",border:"none","border-radius":"3px","font-size":"17px",cursor:"pointer"},dropdown_defaults:dropdown_defaults={width:"150px",padding:"0px 0px 0px 5px","font-size":"17px",border:"1px solid black","border-radius":"3px",height:"40px","-webkit-appearance":"none","-moz-appearance":"none",appearance:"none","margin-right":"5px","margin-top":"0px",cursor:"pointer"},slider_defaults:slider_defaults={width:"200px",color:"white"},swal_defaults:swal_defaults={modal_width:"500px",modal_color:"white",confirm_button_choice:!0,confirm_button_text:"OK"},textarea_defaults:textarea_defaults={border:0,"border-radius":"4px",width:"50%",height:"100px",padding:"10px","font-size":"17px"},scrollable_container_defaults:scrollable_container_defaults={border:"1px solid black",background:"whitesmoke",width:"300px",height:"200px"},colors_rgb_hex:colors_rgb_hex=[{name:"Grey",rgb:"84;84;84",hex:"545454"},{name:"Grey, Silver",rgb:"192;192;192",hex:"C0C0C0"},{name:"grey",rgb:"190;190;190",hex:"BEBEBE"},{name:"LightGray",rgb:"211;211;211",hex:"D3D3D3"},{name:"LightSlateGrey",rgb:"119;136;153",hex:"778899"},{name:"SlateGray",rgb:"112;128;144",hex:"708090"},{name:"SlateGray1",rgb:"198;226;255",hex:"C6E2FF"},{name:"SlateGray2",rgb:"185;211;238",hex:"B9D3EE"},{name:"SlateGray3",rgb:"159;182;205",hex:"9FB6CD"},{name:"SlateGray4",rgb:"108;123;139",hex:"6C7B8B"},{name:"black",rgb:"0;0;0",hex:"0"},{name:"grey0",rgb:"0;0;0",hex:"0"},{name:"grey1",rgb:"3;3;3",hex:"30303"},{name:"grey2",rgb:"5;5;5",hex:"50505"},{name:"grey3",rgb:"8;8;8",hex:"80808"},{name:"grey4",rgb:"10;10;10",hex:"0A0A0A"},{name:"grey5",rgb:"13;13;13",hex:"0D0D0D"},{name:"grey6",rgb:"15;15;15",hex:"0F0F0F"},{name:"grey7",rgb:"18;18;18",hex:"121212"},{name:"grey8",rgb:"20;20;20",hex:"141414"},{name:"grey9",rgb:"23;23;23",hex:"171717"},{name:"grey10",rgb:"26;26;26",hex:"1A1A1A"},{name:"grey11",rgb:"28;28;28",hex:"1C1C1C"},{name:"grey12",rgb:"31;31;31",hex:"1F1F1F"},{name:"grey13",rgb:"33;33;33",hex:"212121"},{name:"",rgb:"34;34;34",hex:"222222"},{name:"grey14",rgb:"36;36;36",hex:"242424"},{name:"grey15",rgb:"38;38;38",hex:"262626"},{name:"grey16",rgb:"41;41;41",hex:"292929"},{name:"grey17",rgb:"43;43;43",hex:"2B2B2B"},{name:"grey18",rgb:"46;46;46",hex:"2E2E2E"},{name:"grey19",rgb:"48;48;48",hex:"303030"},{name:"grey20",rgb:"51;51;51",hex:"333333"},{name:"grey21",rgb:"54;54;54",hex:"363636"},{name:"grey22",rgb:"56;56;56",hex:"383838"},{name:"grey23",rgb:"59;59;59",hex:"3B3B3B"},{name:"grey24",rgb:"61;61;61",hex:"3D3D3D"},{name:"grey25",rgb:"64;64;64",hex:"404040"},{name:"grey26",rgb:"66;66;66",hex:"424242"},{name:"grey27",rgb:"69;69;69",hex:"454545"},{name:"grey28",rgb:"71;71;71",hex:"474747"},{name:"grey29",rgb:"74;74;74",hex:"4A4A4A"},{name:"grey30",rgb:"77;77;77",hex:"4D4D4D"},{name:"grey31",rgb:"79;79;79",hex:"4F4F4F"},{name:"grey32",rgb:"82;82;82",hex:"525252"},{name:"grey33",rgb:"84;84;84",hex:"545454"},{name:"",rgb:"85;85;85",hex:"555555"},{name:"grey34",rgb:"87;87;87",hex:"575757"},{name:"grey35",rgb:"89;89;89",hex:"595959"},{name:"grey36",rgb:"92;92;92",hex:"5C5C5C"},{name:"grey37",rgb:"94;94;94",hex:"5E5E5E"},{name:"grey38",rgb:"97;97;97",hex:"616161"},{name:"grey39",rgb:"99;99;99",hex:"636363"},{name:"grey40",rgb:"102;102;102",hex:"666666"},{name:"grey41, DimGrey",rgb:"105;105;105",hex:"696969"},{name:"grey42",rgb:"107;107;107",hex:"6B6B6B"},{name:"grey43",rgb:"110;110;110",hex:"6E6E6E"},{name:"grey44",rgb:"112;112;112",hex:"707070"},{name:"grey45",rgb:"115;115;115",hex:"737373"},{name:"grey46",rgb:"117;117;117",hex:"757575"},{name:"",rgb:"119;119;119",hex:"777777"},{name:"grey47",rgb:"120;120;120",hex:"787878"},{name:"grey48",rgb:"122;122;122",hex:"7A7A7A"},{name:"grey49",rgb:"125;125;125",hex:"7D7D7D"},{name:"grey50",rgb:"127;127;127",hex:"7F7F7F"},{name:"grey51",rgb:"130;130;130",hex:"828282"},{name:"grey52",rgb:"133;133;133",hex:"858585"},{name:"grey53",rgb:"135;135;135",hex:"878787"},{name:"",rgb:"136;136;136",hex:"888888"},{name:"grey54",rgb:"138;138;138",hex:"8A8A8A"},{name:"grey55",rgb:"140;140;140",hex:"8C8C8C"},{name:"grey56",rgb:"143;143;143",hex:"8F8F8F"},{name:"grey57",rgb:"145;145;145",hex:"919191"},{name:"grey58",rgb:"148;148;148",hex:"949494"},{name:"grey59",rgb:"150;150;150",hex:"969696"},{name:"grey60",rgb:"153;153;153",hex:"999999"},{name:"grey61",rgb:"156;156;156",hex:"9C9C9C"},{name:"grey62",rgb:"158;158;158",hex:"9E9E9E"},{name:"grey63",rgb:"161;161;161",hex:"A1A1A1"},{name:"grey64",rgb:"163;163;163",hex:"A3A3A3"},{name:"grey65",rgb:"166;166;166",hex:"A6A6A6"},{name:"grey66",rgb:"168;168;168",hex:"A8A8A8"},{name:"grey67",rgb:"171;171;171",hex:"ABABAB"},{name:"grey68",rgb:"173;173;173",hex:"ADADAD"},{name:"grey69",rgb:"176;176;176",hex:"B0B0B0"},{name:"grey70",rgb:"179;179;179",hex:"B3B3B3"},{name:"grey71",rgb:"181;181;181",hex:"B5B5B5"},{name:"grey72",rgb:"184;184;184",hex:"B8B8B8"},{name:"",rgb:"187;187;187",hex:"BBBBBB"},{name:"grey73",rgb:"186;186;186",hex:"BABABA"},{name:"grey74",rgb:"189;189;189",hex:"BDBDBD"},{name:"grey75",rgb:"191;191;191",hex:"BFBFBF"},{name:"grey76",rgb:"194;194;194",hex:"C2C2C2"},{name:"grey77",rgb:"196;196;196",hex:"C4C4C4"},{name:"grey78",rgb:"199;199;199",hex:"C7C7C7"},{name:"grey79",rgb:"201;201;201",hex:"C9C9C9"},{name:"grey80",rgb:"204;204;204",hex:"CCCCCC"},{name:"grey81",rgb:"207;207;207",hex:"CFCFCF"},{name:"grey82",rgb:"209;209;209",hex:"D1D1D1"},{name:"grey83",rgb:"212;212;212",hex:"D4D4D4"},{name:"grey84",rgb:"214;214;214",hex:"D6D6D6"},{name:"grey85",rgb:"217;217;217",hex:"D9D9D9"},{name:"grey86",rgb:"219;219;219",hex:"DBDBDB"},{name:"grey87",rgb:"222;222;222",hex:"DEDEDE"},{name:"",rgb:"221;221;221",hex:"DDDDDD"},{name:"grey88",rgb:"224;224;224",hex:"E0E0E0"},{name:"grey89",rgb:"227;227;227",hex:"E3E3E3"},{name:"grey90",rgb:"229;229;229",hex:"E5E5E5"},{name:"grey91",rgb:"232;232;232",hex:"E8E8E8"},{name:"grey92",rgb:"235;235;235",hex:"EBEBEB"},{name:"grey93",rgb:"237;237;237",hex:"EDEDED"},{name:"",rgb:"238;238;238",hex:"EEEEEE"},{name:"grey94",rgb:"240;240;240",hex:"F0F0F0"},{name:"grey95",rgb:"242;242;242",hex:"F2F2F2"},{name:"grey96",rgb:"245;245;245",hex:"F5F5F5"},{name:"grey97",rgb:"247;247;247",hex:"F7F7F7"},{name:"grey98",rgb:"250;250;250",hex:"FAFAFA"},{name:"grey99",rgb:"252;252;252",hex:"FCFCFC"},{name:"grey100, White",rgb:"255;255;255",hex:"FFFFFF"},{name:"Dark Slate Grey",rgb:"47;79;79",hex:"2F4F4F"},{name:"Dim Grey",rgb:"84;84;84",hex:"545454"},{name:"Very Light Grey",rgb:"205;205;205",hex:"CDCDCD"},{name:"Free Speech Grey",rgb:"99;86;136",hex:"635688"},{name:"[Click for top]",rgb:"",hex:""},{name:"Shades of Blue",rgb:"",hex:""},{name:"Color Name",rgb:"R;G;B Dec",hex:"RGB Hex"},{name:"AliceBlue",rgb:"240;248;255",hex:"F0F8FF"},{name:"BlueViolet",rgb:"138;43;226",hex:"8A2BE2"},{name:"Cadet Blue",rgb:"95;159;159",hex:"5F9F9F"},{name:"CadetBlue",rgb:"95;158;160",hex:"5F9EA0"},{name:"CadetBlue",rgb:"95;158;160",hex:"5F9EA0"},{name:"CadetBlue1",rgb:"152;245;255",hex:"98F5FF"},{name:"CadetBlue2",rgb:"142;229;238",hex:"8EE5EE"},{name:"CadetBlue3",rgb:"122;197;205",hex:"7AC5CD"},{name:"CadetBlue4",rgb:"83;134;139",hex:"53868B"},{name:"Corn Flower Blue",rgb:"66;66;111",hex:"42426F"},{name:"CornflowerBlue",rgb:"100;149;237",hex:"6495ED"},{name:"DarkSlateBlue",rgb:"72;61;139",hex:"483D8B"},{name:"DarkTurquoise",rgb:"0;206;209",hex:"00CED1"},{name:"DeepSkyBlue",rgb:"0;191;255",hex:"00BFFF"},{name:"DeepSkyBlue1",rgb:"0;191;255",hex:"00BFFF"},{name:"DeepSkyBlue2",rgb:"0;178;238",hex:"00B2EE"},{name:"DeepSkyBlue3",rgb:"0;154;205",hex:"009ACD"},{name:"DeepSkyBlue4",rgb:"0;104;139",hex:"00688B"},{name:"DodgerBlue",rgb:"30;144;255",hex:"1E90FF"},{name:"DodgerBlue1",rgb:"30;144;255",hex:"1E90FF"},{name:"DodgerBlue2",rgb:"28;134;238",hex:"1C86EE"},{name:"DodgerBlue3",rgb:"24;116;205",hex:"1874CD"},{name:"DodgerBlue4",rgb:"16;78;139",hex:"104E8B"},{name:"",rgb:"170;187;204",hex:"AABBCC"},{name:"LightBlue",rgb:"173;216;230",hex:"ADD8E6"},{name:"LightBlue1",rgb:"191;239;255",hex:"BFEFFF"},{name:"LightBlue2",rgb:"178;223;238",hex:"B2DFEE"},{name:"LightBlue3",rgb:"154;192;205",hex:"9AC0CD"},{name:"LightBlue4",rgb:"104;131;139",hex:"68838B"},{name:"LightCyan",rgb:"224;255;255",hex:"E0FFFF"},{name:"LightCyan1",rgb:"224;255;255",hex:"E0FFFF"},{name:"LightCyan2",rgb:"209;238;238",hex:"D1EEEE"},{name:"LightCyan3",rgb:"180;205;205",hex:"B4CDCD"},{name:"LightCyan4",rgb:"122;139;139",hex:"7A8B8B"},{name:"LightSkyBlue",rgb:"135;206;250",hex:"87CEFA"},{name:"LightSkyBlue1",rgb:"176;226;255",hex:"B0E2FF"},{name:"LightSkyBlue2",rgb:"164;211;238",hex:"A4D3EE"},{name:"LightSkyBlue3",rgb:"141;182;205",hex:"8DB6CD"},{name:"LightSkyBlue4",rgb:"96;123;139",hex:"607B8B"},{name:"LightSlateBlue",rgb:"132;112;255",hex:"8470FF"},{name:"",rgb:"153;204;255",hex:"99CCFF"},{name:"LightSteelBlue",rgb:"176;196;222",hex:"B0C4DE"},{name:"LightSteelBlue1",rgb:"202;225;255",hex:"CAE1FF"},{name:"LightSteelBlue2",rgb:"188;210;238",hex:"BCD2EE"},{name:"LightSteelBlue3",rgb:"162;181;205",hex:"A2B5CD"},{name:"LightSteelBlue4",rgb:"110;123;139",hex:"6E7B8B"},{name:"Aquamarine",rgb:"112;219;147",hex:"70DB93"},{name:"MediumBlue",rgb:"0;0;205",hex:"0000CD"},{name:"MediumSlateBlue",rgb:"123;104;238",hex:"7B68EE"},{name:"MediumTurquoise",rgb:"72;209;204",hex:"48D1CC"},{name:"MidnightBlue",rgb:"25;25;112",hex:"191970"},{name:"NavyBlue",rgb:"0;0;128",hex:"80"},{name:"PaleTurquoise",rgb:"175;238;238",hex:"AFEEEE"},{name:"PaleTurquoise1",rgb:"187;255;255",hex:"BBFFFF"},{name:"PaleTurquoise2",rgb:"174;238;238",hex:"AEEEEE"},{name:"PaleTurquoise3",rgb:"150;205;205",hex:"96CDCD"},{name:"PaleTurquoise4",rgb:"102;139;139",hex:"668B8B"},{name:"PowderBlue",rgb:"176;224;230",hex:"B0E0E6"},{name:"RoyalBlue",rgb:"65;105;225",hex:"4.17E+04"},{name:"RoyalBlue1",rgb:"72;118;255",hex:"4876FF"},{name:"RoyalBlue2",rgb:"67;110;238",hex:"436EEE"},{name:"RoyalBlue3",rgb:"58;95;205",hex:"3A5FCD"},{name:"RoyalBlue4",rgb:"39;64;139",hex:"27408B"},{name:"RoyalBlue5",rgb:"0;34;102",hex:"2266"},{name:"SkyBlue",rgb:"135;206;235",hex:"87CEEB"},{name:"SkyBlue1",rgb:"135;206;255",hex:"87CEFF"},{name:"SkyBlue2",rgb:"126;192;238",hex:"7EC0EE"},{name:"SkyBlue3",rgb:"108;166;205",hex:"6CA6CD"},{name:"SkyBlue4",rgb:"74;112;139",hex:"4A708B"},{name:"SlateBlue",rgb:"106;90;205",hex:"6A5ACD"},{name:"SlateBlue1",rgb:"131;111;255",hex:"836FFF"},{name:"SlateBlue2",rgb:"122;103;238",hex:"7A67EE"},{name:"SlateBlue3",rgb:"105;89;205",hex:"6959CD"},{name:"SlateBlue4",rgb:"71;60;139",hex:"473C8B"},{name:"SteelBlue",rgb:"70;130;180",hex:"4682B4"},{name:"SteelBlue1",rgb:"99;184;255",hex:"63B8FF"},{name:"SteelBlue2",rgb:"92;172;238",hex:"5CACEE"},{name:"SteelBlue3",rgb:"79;148;205",hex:"4F94CD"},{name:"SteelBlue4",rgb:"54;100;139",hex:"36648B"},{name:"",rgb:"51;102;153",hex:"336699"},{name:"",rgb:"51;153;204",hex:"3399CC"},{name:"",rgb:"102;153;204",hex:"6699CC"},{name:"aquamarine",rgb:"127;255;212",hex:"7FFFD4"},{name:"aquamarine1",rgb:"127;255;212",hex:"7FFFD4"},{name:"aquamarine2",rgb:"118;238;198",hex:"76EEC6"},{name:"aquamarine3, MediumAquamarine",rgb:"102;205;170",hex:"66CDAA"},{name:"aquamarine4",rgb:"69;139;116",hex:"458B74"},{name:"azure",rgb:"240;255;255",hex:"F0FFFF"},{name:"azure1",rgb:"240;255;255",hex:"F0FFFF"},{name:"azure2",rgb:"224;238;238",hex:"E0EEEE"},{name:"azure3",rgb:"193;205;205",hex:"C1CDCD"},{name:"azure4",rgb:"131;139;139",hex:"838B8B"},{name:"blue",rgb:"0;0;255",hex:"0000FF"},{name:"blue1",rgb:"0;0;255",hex:"0000FF"},{name:"blue2",rgb:"0;0;238",hex:"0000EE"},{name:"blue3",rgb:"0;0;205",hex:"0000CD"},{name:"blue4",rgb:"0;0;139",hex:"00008B"},{name:"aqua",rgb:"0;255;255",hex:"00FFFF"},{name:"True Iris Blue",rgb:"3;180;204",hex:"03B4CC"},{name:"cyan",rgb:"0;255;255",hex:"00FFFF"},{name:"cyan1",rgb:"0;255;255",hex:"00FFFF"},{name:"cyan2",rgb:"0;238;238",hex:"00EEEE"},{name:"cyan3",rgb:"0;205;205",hex:"00CDCD"},{name:"cyan4",rgb:"0;139;139",hex:"008B8B"},{name:"navy",rgb:"0;0;128",hex:"80"},{name:"teal",rgb:"0;128;128",hex:"8080"},{name:"turquoise",rgb:"64;224;208",hex:"40E0D0"},{name:"turquoise1",rgb:"0;245;255",hex:"00F5FF"},{name:"turquoise2",rgb:"0;229;238",hex:"00E5EE"},{name:"turquoise3",rgb:"0;197;205",hex:"00C5CD"},{name:"turquoise4",rgb:"0;134;139",hex:"00868B"},{name:"DarkSlateGray",rgb:"47;79;79",hex:"2F4F4F"},{name:"DarkSlateGray1",rgb:"151;255;255",hex:"97FFFF"},{name:"DarkSlateGray2",rgb:"141;238;238",hex:"8DEEEE"},{name:"DarkSlateGray3",rgb:"121;205;205",hex:"79CDCD"},{name:"DarkSlateGray4",rgb:"82;139;139",hex:"528B8B"},{name:"Dark Slate Blue",rgb:"36;24;130",hex:"241882"},{name:"Dark Turquoise",rgb:"112;147;219",hex:"7093DB"},{name:"Medium Slate Blue",rgb:"127;0;255",hex:"7F00FF"},{name:"Medium Turquoise",rgb:"112;219;219",hex:"70DBDB"},{name:"Midnight Blue",rgb:"47;47;79",hex:"2F2F4F"},{name:"Navy Blue",rgb:"35;35;142",hex:"23238E"},{name:"Neon Blue",rgb:"77;77;255",hex:"4D4DFF"},{name:"New Midnight Blue",rgb:"0;0;156",hex:"00009C"},{name:"Rich Blue",rgb:"89;89;171",hex:"5959AB"},{name:"Sky Blue",rgb:"50;153;204",hex:"3299CC"},{name:"Slate Blue",rgb:"0;127;255",hex:"007FFF"},{name:"Summer Sky",rgb:"56;176;222",hex:"38B0DE"},{name:"Iris Blue",rgb:"3;180;200",hex:"03B4C8"},{name:"Free Speech Blue",rgb:"65;86;197",hex:"4156C5"},{name:"[Click for top]",rgb:"",hex:""},{name:"Shades of Brown",rgb:"",hex:""},{name:"Color Name",rgb:"R;G;B Dec",hex:"RGB Hex"},{name:"RosyBrown",rgb:"188;143;143",hex:"BC8F8F"},{name:"RosyBrown1",rgb:"255;193;193",hex:"FFC1C1"},{name:"RosyBrown2",rgb:"238;180;180",hex:"EEB4B4"},{name:"RosyBrown3",rgb:"205;155;155",hex:"CD9B9B"},{name:"RosyBrown4",rgb:"139;105;105",hex:"8B6969"},{name:"SaddleBrown",rgb:"139;69;19",hex:"8B4513"},{name:"SandyBrown",rgb:"244;164;96",hex:"F4A460"},{name:"beige",rgb:"245;245;220",hex:"F5F5DC"},{name:"brown",rgb:"165;42;42",hex:"A52A2A"},{name:"brown",rgb:"166;42;42",hex:"A62A2A"},{name:"brown1",rgb:"255;64;64",hex:"FF4040"},{name:"brown2",rgb:"238;59;59",hex:"EE3B3B"},{name:"brown3",rgb:"205;51;51",hex:"CD3333"},{name:"brown4",rgb:"139;35;35",hex:"8B2323"},{name:"dark brown",rgb:"92;64;51",hex:"5C4033"},{name:"burlywood",rgb:"222;184;135",hex:"DEB887"},{name:"burlywood1",rgb:"255;211;155",hex:"FFD39B"},{name:"burlywood2",rgb:"238;197;145",hex:"EEC591"},{name:"burlywood3",rgb:"205;170;125",hex:"CDAA7D"},{name:"burlywood4",rgb:"139;115;85",hex:"8B7355"},{name:"baker's chocolate",rgb:"92;51;23",hex:"5C3317"},{name:"chocolate",rgb:"210;105;30",hex:"D2691E"},{name:"chocolate1",rgb:"255;127;36",hex:"FF7F24"},{name:"chocolate2",rgb:"238;118;33",hex:"EE7621"},{name:"chocolate3",rgb:"205;102;29",hex:"CD661D"},{name:"chocolate4",rgb:"139;69;19",hex:"8B4513"},{name:"peru",rgb:"205;133;63",hex:"CD853F"},{name:"tan",rgb:"210;180;140",hex:"D2B48C"},{name:"tan1",rgb:"255;165;79",hex:"FFA54F"},{name:"tan2",rgb:"238;154;73",hex:"EE9A49"},{name:"tan3",rgb:"205;133;63",hex:"CD853F"},{name:"tan4",rgb:"139;90;43",hex:"8B5A2B"},{name:"Dark Tan",rgb:"151;105;79",hex:"97694F"},{name:"Dark Wood",rgb:"133;94;66",hex:"8.55E+44"},{name:"Light Wood",rgb:"133;99;99",hex:"856363"},{name:"Medium Wood",rgb:"166;128;100",hex:"A68064"},{name:"New Tan",rgb:"235;199;158",hex:"EBC79E"},{name:"Semi-Sweet Chocolate",rgb:"107;66;38",hex:"6B4226"},{name:"Sienna",rgb:"142;107;35",hex:"8E6B23"},{name:"Tan",rgb:"219;147;112",hex:"DB9370"},{name:"Very Dark Brown",rgb:"92;64;51",hex:"5C4033"},{name:"[Click for top]",rgb:"",hex:""},{name:"Shades of Green",rgb:"",hex:""},{name:"Color Name",rgb:"R;G;B Dec",hex:"RGB Hex"},{name:"Dark Green",rgb:"47;79;47",hex:"2F4F2F"},{name:"DarkGreen",rgb:"0;100;0",hex:"6400"},{name:"dark green copper",rgb:"74;118;110",hex:"4A766E"},{name:"DarkKhaki",rgb:"189;183;107",hex:"BDB76B"},{name:"DarkOliveGreen",rgb:"85;107;47",hex:"556B2F"},{name:"DarkOliveGreen1",rgb:"202;255;112",hex:"CAFF70"},{name:"DarkOliveGreen2",rgb:"188;238;104",hex:"BCEE68"},{name:"DarkOliveGreen3",rgb:"162;205;90",hex:"A2CD5A"},{name:"DarkOliveGreen4",rgb:"110;139;61",hex:"6E8B3D"},{name:"olive",rgb:"128;128;0",hex:"808000"},{name:"DarkSeaGreen",rgb:"143;188;143",hex:"8FBC8F"},{name:"DarkSeaGreen1",rgb:"193;255;193",hex:"C1FFC1"},{name:"DarkSeaGreen2",rgb:"180;238;180",hex:"B4EEB4"},{name:"DarkSeaGreen3",rgb:"155;205;155",hex:"9BCD9B"},{name:"DarkSeaGreen4",rgb:"105;139;105",hex:"698B69"},{name:"ForestGreen",rgb:"34;139;34",hex:"228B22"},{name:"GreenYellow",rgb:"173;255;47",hex:"ADFF2F"},{name:"LawnGreen",rgb:"124;252;0",hex:"7CFC00"},{name:"LightSeaGreen",rgb:"32;178;170",hex:"20B2AA"},{name:"LimeGreen",rgb:"50;205;50",hex:"32CD32"},{name:"MediumSeaGreen",rgb:"60;179;113",hex:"3CB371"},{name:"MediumSpringGreen",rgb:"0;250;154",hex:"00FA9A"},{name:"MintCream",rgb:"245;255;250",hex:"F5FFFA"},{name:"OliveDrab",rgb:"107;142;35",hex:"6B8E23"},{name:"OliveDrab1",rgb:"192;255;62",hex:"C0FF3E"},{name:"OliveDrab2",rgb:"179;238;58",hex:"B3EE3A"},{name:"OliveDrab3",rgb:"154;205;50",hex:"9ACD32"},{name:"OliveDrab4",rgb:"105;139;34",hex:"698B22"},{name:"PaleGreen",rgb:"152;251;152",hex:"98FB98"},{name:"PaleGreen1",rgb:"154;255;154",hex:"9AFF9A"},{name:"PaleGreen2",rgb:"144;238;144",hex:"90EE90"},{name:"PaleGreen3",rgb:"124;205;124",hex:"7CCD7C"},{name:"PaleGreen4",rgb:"84;139;84",hex:"548B54"},{name:"SeaGreen, SeaGreen4",rgb:"46;139;87",hex:"2E8B57"},{name:"SeaGreen1",rgb:"84;255;159",hex:"54FF9F"},{name:"SeaGreen2",rgb:"78;238;148",hex:"4EEE94"},{name:"SeaGreen3",rgb:"67;205;128",hex:"43CD80"},{name:"SpringGreen",rgb:"0;255;127",hex:"00FF7F"},{name:"SpringGreen1",rgb:"0;255;127",hex:"00FF7F"},{name:"SpringGreen2",rgb:"0;238;118",hex:"00EE76"},{name:"SpringGreen3",rgb:"0;205;102",hex:"00CD66"},{name:"SpringGreen4",rgb:"0;139;69",hex:"008B45"},{name:"YellowGreen",rgb:"154;205;50",hex:"9ACD32"},{name:"chartreuse",rgb:"127;255;0",hex:"7FFF00"},{name:"chartreuse1",rgb:"127;255;0",hex:"7FFF00"},{name:"chartreuse2",rgb:"118;238;0",hex:"76EE00"},{name:"chartreuse3",rgb:"102;205;0",hex:"66CD00"},{name:"chartreuse4",rgb:"69;139;0",hex:"458B00"},{name:"green",rgb:"0;255;0",hex:"00FF00"},{name:"green",rgb:"0;128;0",hex:"8000"},{name:"lime",rgb:"0;255;0",hex:"00FF00"},{name:"green1",rgb:"0;255;0",hex:"00FF00"},{name:"green2",rgb:"0;238;0",hex:"00EE00"},{name:"green3",rgb:"0;205;0",hex:"00CD00"},{name:"green4",rgb:"0;139;0",hex:"008B00"},{name:"khaki",rgb:"240;230;140",hex:"F0E68C"},{name:"khaki1",rgb:"255;246;143",hex:"FFF68F"},{name:"khaki2",rgb:"238;230;133",hex:"EEE685"},{name:"khaki3",rgb:"205;198;115",hex:"CDC673"},{name:"khaki4",rgb:"139;134;78",hex:"8B864E"},{name:"Dark Olive Green",rgb:"79;79;47",hex:"4F4F2F"},{name:"Green Yellow [sic]",rgb:"209;146;117",hex:"D19275"},{name:"Hunter Green [sic]",rgb:"142;35;35",hex:"8E2323"},{name:"Forest Green, Khaki, Medium Aquamarine",rgb:"35;142;35",hex:"2.38E+25"},{name:"Medium Forest Green",rgb:"219;219;112",hex:"DBDB70"},{name:"Medium Sea Green",rgb:"66;111;66",hex:"426F42"},{name:"Medium Spring Green",rgb:"127;255;0",hex:"7FFF00"},{name:"Pale Green",rgb:"143;188;143",hex:"8FBC8F"},{name:"Sea Green",rgb:"35;142;104",hex:"2.38E+70"},{name:"Spring Green",rgb:"0;255;127",hex:"00FF7F"},{name:"Free Speech Green",rgb:"9;249;17",hex:"09F911"},{name:"Free Speech Aquamarine",rgb:"2;157;116",hex:"029D74"},{name:"[Click for top]",rgb:"",hex:""},{name:"Shades of Orange",rgb:"",hex:""},{name:"Color Name",rgb:"R;G;B Dec",hex:"RGB Hex"},{name:"DarkOrange",rgb:"255;140;0",hex:"FF8C00"},{name:"DarkOrange1",rgb:"255;127;0",hex:"FF7F00"},{name:"DarkOrange2",rgb:"238;118;0",hex:"EE7600"},{name:"DarkOrange3",rgb:"205;102;0",hex:"CD6600"},{name:"DarkOrange4",rgb:"139;69;0",hex:"8B4500"},{name:"DarkSalmon",rgb:"233;150;122",hex:"E9967A"},{name:"LightCoral",rgb:"240;128;128",hex:"F08080"},{name:"LightSalmon",rgb:"255;160;122",hex:"FFA07A"},{name:"LightSalmon1",rgb:"255;160;122",hex:"FFA07A"},{name:"LightSalmon2",rgb:"238;149;114",hex:"EE9572"},{name:"LightSalmon3",rgb:"205;129;98",hex:"CD8162"},{name:"LightSalmon4",rgb:"139;87;66",hex:"8B5742"},{name:"PeachPuff",rgb:"255;218;185",hex:"FFDAB9"},{name:"PeachPuff1",rgb:"255;218;185",hex:"FFDAB9"},{name:"PeachPuff2",rgb:"238;203;173",hex:"EECBAD"},{name:"PeachPuff3",rgb:"205;175;149",hex:"CDAF95"},{name:"PeachPuff4",rgb:"139;119;101",hex:"8B7765"},{name:"bisque",rgb:"255;228;196",hex:"FFE4C4"},{name:"bisque1",rgb:"255;228;196",hex:"FFE4C4"},{name:"bisque2",rgb:"238;213;183",hex:"EED5B7"},{name:"bisque3",rgb:"205;183;158",hex:"CDB79E"},{name:"bisque4",rgb:"139;125;107",hex:"8B7D6B"},{name:"coral",rgb:"255;127;0",hex:"FF7F00"},{name:"coral",rgb:"255;127;80",hex:"FF7F50"},{name:"coral1",rgb:"255;114;86",hex:"FF7256"},{name:"coral2",rgb:"238;106;80",hex:"EE6A50"},{name:"coral3",rgb:"205;91;69",hex:"CD5B45"},{name:"coral4",rgb:"139;62;47",hex:"8B3E2F"},{name:"honeydew",rgb:"240;255;240",hex:"F0FFF0"},{name:"honeydew1",rgb:"240;255;240",hex:"F0FFF0"},{name:"honeydew2",rgb:"224;238;224",hex:"E0EEE0"},{name:"honeydew3",rgb:"193;205;193",hex:"C1CDC1"},{name:"honeydew4",rgb:"131;139;131",hex:"838B83"},{name:"orange",rgb:"255;165;0",hex:"FFA500"},{name:"orange1",rgb:"255;165;0",hex:"FFA500"},{name:"orange2",rgb:"238;154;0",hex:"EE9A00"},{name:"orange3",rgb:"205;133;0",hex:"CD8500"},{name:"orange4",rgb:"139;90;0",hex:"8B5A00"},{name:"salmon",rgb:"250;128;114",hex:"FA8072"},{name:"salmon1",rgb:"255;140;105",hex:"FF8C69"},{name:"salmon2",rgb:"238;130;98",hex:"EE8262"},{name:"salmon3",rgb:"205;112;84",hex:"CD7054"},{name:"salmon4",rgb:"139;76;57",hex:"8B4C39"},{name:"sienna",rgb:"160;82;45",hex:"A0522D"},{name:"sienna1",rgb:"255;130;71",hex:"FF8247"},{name:"sienna2",rgb:"238;121;66",hex:"EE7942"},{name:"sienna3",rgb:"205;104;57",hex:"CD6839"},{name:"sienna4",rgb:"139;71;38",hex:"8B4726"},{name:"Mandarian Orange",rgb:"142;35;35",hex:"8E2323"},{name:"Orange",rgb:"255;127;0",hex:"FF7F00"},{name:"Orange Red",rgb:"255;36;0",hex:"FF2400"},{name:"[Click for top]",rgb:"",hex:""},{name:"Shades of Red",rgb:"",hex:""},{name:"Color Name",rgb:"R;G;B Dec",hex:"RGB Hex"},{name:"DeepPink",rgb:"255;20;147",hex:"FF1493"},{name:"DeepPink1",rgb:"255;20;147",hex:"FF1493"},{name:"DeepPink2",rgb:"238;18;137",hex:"EE1289"},{name:"DeepPink3",rgb:"205;16;118",hex:"CD1076"},{name:"DeepPink4",rgb:"139;10;80",hex:"8B0A50"},{name:"HotPink",rgb:"255;105;180",hex:"FF69B4"},{name:"HotPink1",rgb:"255;110;180",hex:"FF6EB4"},{name:"HotPink2",rgb:"238;106;167",hex:"EE6AA7"},{name:"HotPink3",rgb:"205;96;144",hex:"CD6090"},{name:"HotPink4",rgb:"139;58;98",hex:"8B3A62"},{name:"IndianRed",rgb:"205;92;92",hex:"CD5C5C"},{name:"IndianRed1",rgb:"255;106;106",hex:"FF6A6A"},{name:"IndianRed2",rgb:"238;99;99",hex:"EE6363"},{name:"IndianRed3",rgb:"205;85;85",hex:"CD5555"},{name:"IndianRed4",rgb:"139;58;58",hex:"8B3A3A"},{name:"LightPink",rgb:"255;182;193",hex:"FFB6C1"},{name:"LightPink1",rgb:"255;174;185",hex:"FFAEB9"},{name:"LightPink2",rgb:"238;162;173",hex:"EEA2AD"},{name:"LightPink3",rgb:"205;140;149",hex:"CD8C95"},{name:"LightPink4",rgb:"139;95;101",hex:"8B5F65"},{name:"MediumVioletRed",rgb:"199;21;133",hex:"C71585"},{name:"MistyRose",rgb:"255;228;225",hex:"FFE4E1"},{name:"MistyRose1",rgb:"255;228;225",hex:"FFE4E1"},{name:"MistyRose2",rgb:"238;213;210",hex:"EED5D2"},{name:"MistyRose3",rgb:"205;183;181",hex:"CDB7B5"},{name:"MistyRose4",rgb:"139;125;123",hex:"8B7D7B"},{name:"OrangeRed",rgb:"255;69;0",hex:"FF4500"},{name:"OrangeRed1",rgb:"255;69;0",hex:"FF4500"},{name:"OrangeRed2",rgb:"238;64;0",hex:"EE4000"},{name:"OrangeRed3",rgb:"205;55;0",hex:"CD3700"},{name:"OrangeRed4",rgb:"139;37;0",hex:"8B2500"},{name:"PaleVioletRed",rgb:"219;112;147",hex:"DB7093"},{name:"PaleVioletRed1",rgb:"255;130;171",hex:"FF82AB"},{name:"PaleVioletRed2",rgb:"238;121;159",hex:"EE799F"},{name:"PaleVioletRed3",rgb:"205;104;137",hex:"CD6889"},{name:"PaleVioletRed4",rgb:"139;71;93",hex:"8B475D"},{name:"VioletRed",rgb:"208;32;144",hex:"D02090"},{name:"VioletRed1",rgb:"255;62;150",hex:"FF3E96"},{name:"VioletRed2",rgb:"238;58;140",hex:"EE3A8C"},{name:"VioletRed3",rgb:"205;50;120",hex:"CD3278"},{name:"VioletRed4",rgb:"139;34;82",hex:"8B2252"},{name:"firebrick",rgb:"178;34;34",hex:"B22222"},{name:"firebrick1",rgb:"255;48;48",hex:"FF3030"},{name:"firebrick2",rgb:"238;44;44",hex:"EE2C2C"},{name:"firebrick3",rgb:"205;38;38",hex:"CD2626"},{name:"firebrick4",rgb:"139;26;26",hex:"8B1A1A"},{name:"pink",rgb:"255;192;203",hex:"FFC0CB"},{name:"pink1",rgb:"255;181;197",hex:"FFB5C5"},{name:"pink2",rgb:"238;169;184",hex:"EEA9B8"},{name:"pink3",rgb:"205;145;158",hex:"CD919E"},{name:"pink4",rgb:"139;99;108",hex:"8B636C"},{name:"Flesh",rgb:"245;204;176",hex:"F5CCB0"},{name:"Feldspar",rgb:"209;146;117",hex:"D19275"},{name:"",rgb:"204;51;51",hex:"CC3333"},{name:"red",rgb:"255;0;0",hex:"FF0000"},{name:"red1",rgb:"255;0;0",hex:"FF0000"},{name:"red2",rgb:"238;0;0",hex:"EE0000"},{name:"red3",rgb:"205;0;0",hex:"CD0000"},{name:"red4",rgb:"139;0;0",hex:"8B0000"},{name:"tomato",rgb:"255;99;71",hex:"FF6347"},{name:"tomato1",rgb:"255;99;71",hex:"FF6347"},{name:"tomato2",rgb:"238;92;66",hex:"EE5C42"},{name:"tomato3",rgb:"205;79;57",hex:"CD4F39"},{name:"tomato4",rgb:"139;54;38",hex:"8B3626"},{name:"Dusty Rose",rgb:"133;99;99",hex:"856363"},{name:"Firebrick",rgb:"142;35;35",hex:"8E2323"},{name:"Indian Red",rgb:"245;204;176",hex:"F5CCB0"},{name:"Pink",rgb:"188;143;143",hex:"BC8F8F"},{name:"Salmon",rgb:"111;66;66",hex:"6F4242"},{name:"Scarlet",rgb:"140;23;23",hex:"8C1717"},{name:"Spicy Pink",rgb:"255;28;174",hex:"FF1CAE"},{name:"Free Speech Magenta",rgb:"227;91;216",hex:"E35BD8"},{name:"Free Speech Red",rgb:"192;0;0",hex:"C00000"},{name:"[Click for top]",rgb:"",hex:""},{name:"Shades of Violet",rgb:"",hex:""},{name:"Color Name",rgb:"R;G;B Dec",hex:"RGB Hex"},{name:"DarkOrchid",rgb:"153;50;204",hex:"9932CC"},{name:"DarkOrchid1",rgb:"191;62;255",hex:"BF3EFF"},{name:"DarkOrchid2",rgb:"178;58;238",hex:"B23AEE"},{name:"DarkOrchid3",rgb:"154;50;205",hex:"9A32CD"},{name:"DarkOrchid4",rgb:"104;34;139",hex:"68228B"},{name:"DarkViolet",rgb:"148;0;211",hex:"9400D3"},{name:"LavenderBlush",rgb:"255;240;245",hex:"FFF0F5"},{name:"LavenderBlush1",rgb:"255;240;245",hex:"FFF0F5"},{name:"LavenderBlush2",rgb:"238;224;229",hex:"EEE0E5"},{name:"LavenderBlush3",rgb:"205;193;197",hex:"CDC1C5"},{name:"LavenderBlush4",rgb:"139;131;134",hex:"8B8386"},{name:"MediumOrchid",rgb:"186;85;211",hex:"BA55D3"},{name:"MediumOrchid1",rgb:"224;102;255",hex:"E066FF"},{name:"MediumOrchid2",rgb:"209;95;238",hex:"D15FEE"},{name:"MediumOrchid3",rgb:"180;82;205",hex:"B452CD"},{name:"MediumOrchid4",rgb:"122;55;139",hex:"7A378B"},{name:"MediumPurple",rgb:"147;112;219",hex:"9370DB"},{name:"Medium Orchid",rgb:"147;112;219",hex:"9370DB"},{name:"MediumPurple1",rgb:"171;130;255",hex:"AB82FF"},{name:"Dark Orchid",rgb:"153;50;205",hex:"9932CD"},{name:"MediumPurple2",rgb:"159;121;238",hex:"9F79EE"},{name:"MediumPurple3",rgb:"137;104;205",hex:"8968CD"},{name:"MediumPurple4",rgb:"93;71;139",hex:"5D478B"},{name:"lavender",rgb:"230;230;250",hex:"E6E6FA"},{name:"magenta",rgb:"255;0;255",hex:"FF00FF"},{name:"fuchsia",rgb:"255;0;255",hex:"FF00FF"},{name:"magenta1",rgb:"255;0;255",hex:"FF00FF"},{name:"magenta2",rgb:"238;0;238",hex:"EE00EE"},{name:"magenta3",rgb:"205;0;205",hex:"CD00CD"},{name:"magenta4",rgb:"139;0;139",hex:"8B008B"},{name:"maroon",rgb:"176;48;96",hex:"B03060"},{name:"maroon1",rgb:"255;52;179",hex:"FF34B3"},{name:"maroon2",rgb:"238;48;167",hex:"EE30A7"},{name:"maroon3",rgb:"205;41;144",hex:"CD2990"},{name:"maroon4",rgb:"139;28;98",hex:"8B1C62"},{name:"orchid",rgb:"218;112;214",hex:"DA70D6"},{name:"Orchid",rgb:"219;112;219",hex:"DB70DB"},{name:"orchid1",rgb:"255;131;250",hex:"FF83FA"},{name:"orchid2",rgb:"238;122;233",hex:"EE7AE9"},{name:"orchid3",rgb:"205;105;201",hex:"CD69C9"},{name:"orchid4",rgb:"139;71;137",hex:"8B4789"},{name:"plum",rgb:"221;160;221",hex:"DDA0DD"},{name:"plum1",rgb:"255;187;255",hex:"FFBBFF"},{name:"plum2",rgb:"238;174;238",hex:"EEAEEE"},{name:"plum3",rgb:"205;150;205",hex:"CD96CD"},{name:"plum4",rgb:"139;102;139",hex:"8B668B"},{name:"",rgb:"153;102;204",hex:"9966CC"},{name:"purple",rgb:"160;32;240",hex:"A020F0"},{name:"purple",rgb:"128;0;128",hex:"800080"},{name:"purple1",rgb:"155;48;255",hex:"9B30FF"},{name:"purple2",rgb:"145;44;238",hex:"912CEE"},{name:"purple3",rgb:"125;38;205",hex:"7D26CD"},{name:"purple4",rgb:"85;26;139",hex:"551A8B"},{name:"thistle",rgb:"216;191;216",hex:"D8BFD8"},{name:"thistle1",rgb:"255;225;255",hex:"FFE1FF"},{name:"thistle2",rgb:"238;210;238",hex:"EED2EE"},{name:"thistle3",rgb:"205;181;205",hex:"CDB5CD"},{name:"thistle4",rgb:"139;123;139",hex:"8B7B8B"},{name:"violet",rgb:"238;130;238",hex:"EE82EE"},{name:"violet blue",rgb:"159;95;159",hex:"9F5F9F"},{name:"Dark Purple",rgb:"135;31;120",hex:"871F78"},{name:"Maroon",rgb:"128;0;0",hex:"800000"},{name:"Medium Violet Red",rgb:"219;112;147",hex:"DB7093"},{name:"Neon Pink",rgb:"255;110;199",hex:"FF6EC7"},{name:"Plum",rgb:"234;173;234",hex:"EAADEA"},{name:"Thistle",rgb:"216;191;216",hex:"D8BFD8"},{name:"Turquoise",rgb:"173;234;234",hex:"ADEAEA"},{name:"Violet",rgb:"79;47;79",hex:"4F2F4F"},{name:"Violet Red",rgb:"204;50;153",hex:"CC3299"},{name:"[Click for top]",rgb:"",hex:""},{name:"Shades of White",rgb:"",hex:""},{name:"Color Name",rgb:"R;G;B Dec",hex:"RGB Hex"},{name:"AntiqueWhite",rgb:"250;235;215",hex:"FAEBD7"},{name:"AntiqueWhite1",rgb:"255;239;219",hex:"FFEFDB"},{name:"AntiqueWhite2",rgb:"238;223;204",hex:"EEDFCC"},{name:"AntiqueWhite3",rgb:"205;192;176",hex:"CDC0B0"},{name:"AntiqueWhite4",rgb:"139;131;120",hex:"8B8378"},{name:"FloralWhite",rgb:"255;250;240",hex:"FFFAF0"},{name:"GhostWhite",rgb:"248;248;255",hex:"F8F8FF"},{name:"NavajoWhite",rgb:"255;222;173",hex:"FFDEAD"},{name:"NavajoWhite1",rgb:"255;222;173",hex:"FFDEAD"},{name:"NavajoWhite2",rgb:"238;207;161",hex:"EECFA1"},{name:"NavajoWhite3",rgb:"205;179;139",hex:"CDB38B"},{name:"NavajoWhite4",rgb:"139;121;94",hex:"8B795E"},{name:"OldLace",rgb:"253;245;230",hex:"FDF5E6"},{name:"WhiteSmoke",rgb:"245;245;245",hex:"F5F5F5"},{name:"gainsboro",rgb:"220;220;220",hex:"DCDCDC"},{name:"ivory",rgb:"255;255;240",hex:"FFFFF0"},{name:"ivory1",rgb:"255;255;240",hex:"FFFFF0"},{name:"ivory2",rgb:"238;238;224",hex:"EEEEE0"},{name:"ivory3",rgb:"205;205;193",hex:"CDCDC1"},{name:"ivory4",rgb:"139;139;131",hex:"8B8B83"},{name:"linen",rgb:"250;240;230",hex:"FAF0E6"},{name:"seashell",rgb:"255;245;238",hex:"FFF5EE"},{name:"seashell1",rgb:"255;245;238",hex:"FFF5EE"},{name:"seashell2",rgb:"238;229;222",hex:"EEE5DE"},{name:"seashell3",rgb:"205;197;191",hex:"CDC5BF"},{name:"seashell4",rgb:"139;134;130",hex:"8B8682"},{name:"snow",rgb:"255;250;250",hex:"FFFAFA"},{name:"snow1",rgb:"255;250;250",hex:"FFFAFA"},{name:"snow2",rgb:"238;233;233",hex:"EEE9E9"},{name:"snow3",rgb:"205;201;201",hex:"CDC9C9"},{name:"snow4",rgb:"139;137;137",hex:"8B8989"},{name:"wheat",rgb:"245;222;179",hex:"F5DEB3"},{name:"wheat1",rgb:"255;231;186",hex:"FFE7BA"},{name:"wheat2",rgb:"238;216;174",hex:"EED8AE"},{name:"wheat3",rgb:"205;186;150",hex:"CDBA96"},{name:"wheat4",rgb:"139;126;102",hex:"8B7E66"},{name:"white",rgb:"255;255;255",hex:"FFFFFF"},{name:"Quartz",rgb:"217;217;243",hex:"D9D9F3"},{name:"Wheat",rgb:"216;216;191",hex:"D8D8BF"},{name:"[Click for top]",rgb:"",hex:""},{name:"Shades of Yellow",rgb:"",hex:""},{name:"Color Name",rgb:"R;G;B Dec",hex:"RGB Hex"},{name:"BlanchedAlmond",rgb:"255;235;205",hex:"FFEBCD"},{name:"DarkGoldenrod",rgb:"184;134;11",hex:"B8860B"},{name:"DarkGoldenrod1",rgb:"255;185;15",hex:"FFB90F"},{name:"DarkGoldenrod2",rgb:"238;173;14",hex:"EEAD0E"},{name:"DarkGoldenrod3",rgb:"205;149;12",hex:"CD950C"},{name:"DarkGoldenrod4",rgb:"139;101;8",hex:"8B6508"},{name:"LemonChiffon",rgb:"255;250;205",hex:"FFFACD"},{name:"LemonChiffon1",rgb:"255;250;205",hex:"FFFACD"},{name:"LemonChiffon2",rgb:"238;233;191",hex:"EEE9BF"},{name:"LemonChiffon3",rgb:"205;201;165",hex:"CDC9A5"},{name:"LemonChiffon4",rgb:"139;137;112",hex:"8B8970"},{name:"LightGoldenrod",rgb:"238;221;130",hex:"EEDD82"},{name:"LightGoldenrod1",rgb:"255;236;139",hex:"FFEC8B"},{name:"LightGoldenrod2",rgb:"238;220;130",hex:"EEDC82"},{name:"LightGoldenrod3",rgb:"205;190;112",hex:"CDBE70"},{name:"LightGoldenrod4",rgb:"139;129;76",hex:"8B814C"},{name:"LightGoldenrodYellow",rgb:"250;250;210",hex:"FAFAD2"},{name:"LightYellow",rgb:"255;255;224",hex:"FFFFE0"},{name:"LightYellow1",rgb:"255;255;224",hex:"FFFFE0"},{name:"LightYellow2",rgb:"238;238;209",hex:"EEEED1"},{name:"LightYellow3",rgb:"205;205;180",hex:"CDCDB4"},{name:"LightYellow4",rgb:"139;139;122",hex:"8B8B7A"},{name:"PaleGoldenrod",rgb:"238;232;170",hex:"EEE8AA"},{name:"PapayaWhip",rgb:"255;239;213",hex:"FFEFD5"},{name:"cornsilk",rgb:"255;248;220",hex:"FFF8DC"},{name:"cornsilk1",rgb:"255;248;220",hex:"FFF8DC"},{name:"cornsilk2",rgb:"238;232;205",hex:"EEE8CD"},{name:"cornsilk3",rgb:"205;200;177",hex:"CDC8B1"},{name:"cornsilk4",rgb:"139;136;120",hex:"8B8878"},{name:"goldenrod",rgb:"218;165;32",hex:"DAA520"},{name:"goldenrod1",rgb:"255;193;37",hex:"FFC125"},{name:"goldenrod2",rgb:"238;180;34",hex:"EEB422"},{name:"goldenrod3",rgb:"205;155;29",hex:"CD9B1D"},{name:"goldenrod4",rgb:"139;105;20",hex:"8B6914"},{name:"moccasin",rgb:"255;228;181",hex:"FFE4B5"},{name:"yellow",rgb:"255;255;0",hex:"FFFF00"},{name:"yellow1",rgb:"255;255;0",hex:"FFFF00"},{name:"yellow2",rgb:"238;238;0",hex:"EEEE00"},{name:"yellow3",rgb:"205;205;0",hex:"CDCD00"},{name:"yellow4",rgb:"139;139;0",hex:"8B8B00"},{name:"gold",rgb:"255;215;0",hex:"FFD700"},{name:"gold1",rgb:"255;215;0",hex:"FFD700"},{name:"gold2",rgb:"238;201;0",hex:"EEC900"},{name:"gold3",rgb:"205;173;0",hex:"CDAD00"},{name:"gold4",rgb:"139;117;0",hex:"8B7500"},{name:"Goldenrod",rgb:"219;219;112",hex:"DBDB70"},{name:"Medium Goldenrod",rgb:"234;234;174",hex:"EAEAAE"},{name:"Yellow Green",rgb:"153;204;50",hex:"99CC32"}],name_to_rgb:name_to_rgb={},hex_to_rgb:hex_to_rgb={},rgb_to_name:rgb_to_name={},create_name_to_rgb:function(){$.each(az.colors_rgb_hex,function(e,a){az.name_to_rgb[a.name.toLowerCase()]=a.rgb.replace(/;/g,","),az.hex_to_rgb["#"+a.hex]=a.rgb.replace(/;/g,","),az.rgb_to_name[a.rgb.replace(/;/g,",")]=a.name}),setTimeout(function(){delete az.name_to_rgb["[Click for top]"]},1e3)},find_color:function(e){return color_pass_name=e.toLowerCase(),color_pass_hex=e.toUpperCase(),color_pass_rgb=color_pass_name.replace("rgb(","").replace(")",""),void 0===az.name_to_rgb[color_pass_name]&&void 0===az.hex_to_rgb[color_pass_hex]&&void 0===rgb_to_name[color_pass_rgb]&&(res="color not found"),e.includes("#")&&(res="rgb("+az.hex_to_rgb[color_pass_hex]+")"),color_pass_name.includes("rgb")&&(res=az.rgb_to_name[color_pass_rgb]),e.includes("#")||e.toLowerCase().includes("rgb")||(res="rgb("+az.name_to_rgb[color_pass_name]+")"),"rgb(undefined)"!=res&&"undefined"!=res&&"undefined"!=typeof res||(res="color not found"),res},hold_all_cols:hold_all_cols={},make_col:function(e){make_color="",make_color="rgb("+az.listen_for_value("color_slider",1)+", "+az.listen_for_value("color_slider",2)+", "+az.listen_for_value("color_slider",3)+")",az.style_html("hold_final_col",1,{background:make_color}),az.remove_element("show_rgb",1),az.remove_element("set_color",1),az.add_text(e.this_class,1,{this_class:"show_rgb",text:make_color,contenteditable:!1}),az.style_text("show_rgb",1,{"margin-top":"10px","margin-bottom":"10px",align:"center",color:"black"}),az.hold_all_cols[e.this_class]=make_color},global_current_color:global_current_color="",set_color_on_class_change:function(e){if(az.check_last_class(e)){var a=az.global_current_color.replace(/^\D+/g,"").replace(")","").replace("rgb(","").split(",");setTimeout(function(){$("."+e).find(".color_slider").eq(0).val(Number(a[0].trim())).change(),$("."+e).find(".color_slider").eq(1).val(Number(a[1].trim())).change(),$("."+e).find(".color_slider").eq(2).val(Number(a[2].trim())).change()},300)}else{a="rgb(70, 130, 180)".replace(/^\D+/g,"").replace(")","").replace("rgb(","").split(",");setTimeout(function(){$("."+e).find(".color_slider").eq(0).val(Number(a[0].trim())).change(),$("."+e).find(".color_slider").eq(1).val(Number(a[1].trim())).change(),$("."+e).find(".color_slider").eq(2).val(Number(a[2].trim())).change()},300)}},global_color_options:global_color_options={},add_color_picker:function(e){az.create_name_to_rgb(),az.global_color_options=e,Object.keys(az.hold_all_cols).includes(e.this_class)?make_color=az.hold_all_cols[e.this_class]:make_color="rgb(70, 130, 180)",az.all_remove_element(e.this_class),az.empty_contents(e.this_class,1),az.all_remove_element("color_layout"),az.all_remove_element("color_input"),az.all_remove_element("color_slider"),az.all_remove_element("hold_color"),az.all_remove_element("hold_final_col"),az.all_remove_element("show_rgb"),e.hasOwnProperty("type")&&"modal"!==e.type?(az.add_html(e.target_class,e.target_instance,{html:"<div class='"+e.this_class+"'></div>"}),az.style_html(e.this_class,1,{width:"auto",height:"auto","border-radius":"4px",padding:"20px"})):(az.add_overlay({this_class:e.this_class,center_screen:!0,outside_close:!0}),az.style_overlay(e.this_class,1,{width:"auto",height:"auto","border-radius":"4px",padding:"20px"})),az.add_input(e.this_class,1,{this_class:"color_input",placeholder:"color...",spellcheck:!1}),az.style_input("color_input",1,{height:"20px",width:"96%","margin-bottom":"10px","margin-top":"5px"}),az.add_event("color_input",1,{type:"enter key",function:"az.search_color_enter()"}),az.add_layout(e.this_class,1,{this_class:"color_layout",number_of_columns:3,number_of_rows:3,row_class:"color_layout_row",cell_class:"color_layout_cell"}),az.style_layout("color_layout",1,{height:"100px",width:"auto",align:"center",border:0}),az.add_slider("color_layout_cell",2,{this_class:"color_slider",text_class:"color_slider_text",min_value:0,max_value:255,default_value:70}),az.add_slider("color_layout_cell",5,{this_class:"color_slider",text_class:"color_slider_text",min_value:0,max_value:255,default_value:130}),az.add_slider("color_layout_cell",8,{this_class:"color_slider",text_class:"color_slider_text",min_value:0,max_value:255,default_value:180}),az.all_style_slider("color_slider",{color:"black",width:"300px"}),az.add_html("color_layout_cell",3,{html:"<div class='hold_color'>.......</div>"}),az.add_html("color_layout_cell",6,{html:"<div class='hold_color'>.......</div>"}),az.add_html("color_layout_cell",9,{html:"<div class='hold_color'>.......</div>"}),az.style_html("hold_color",1,{background:"red",color:"red","border-radius":"3px"}),az.style_html("hold_color",2,{background:"green",color:"green","border-radius":"3px"}),az.style_html("hold_color",3,{background:"blue",color:"blue","border-radius":"3px"}),e.hasOwnProperty("function")&&(void 0===az.global_current_color&&(az.global_current_color="steelblue"),az.add_event("color_slider",1,{type:"as_change",function:function(e){az.color_slider_as_change(e)}}),az.add_event("color_slider",2,{type:"as_change",function:function(e){az.color_slider_as_change(e)}}),az.add_event("color_slider",3,{type:"as_change",function:function(e){az.color_slider_as_change(e)}})),az.add_event("color_slider",1,{type:"as_change",function:"az.make_col("+JSON.stringify(e)+")"}),az.add_event("color_slider",2,{type:"as_change",function:"az.make_col("+JSON.stringify(e)+")"}),az.add_event("color_slider",3,{type:"as_change",function:"az.make_col("+JSON.stringify(e)+")"}),az.add_html(e.this_class,1,{html:"<div class='hold_final_col'>...</div>"}),""==make_color?use_set_col="steelblue":use_set_col=make_color,az.style_html("hold_final_col",1,{background:use_set_col,"font-size":"0px",height:"50px","border-radius":"3px","margin-top":"10px"}),az.add_text("color_layout_cell",1,{this_class:"rgb_text",text:"R "}),az.add_text("color_layout_cell",4,{this_class:"rgb_text",text:"G "}),az.add_text("color_layout_cell",7,{this_class:"rgb_text",text:"B "}),az.all_style_text("rgb_text",{"margin-top":"-8px"}),""==make_color&&(make_color="rgb(70, 130, 180)"),az.add_text(e.this_class,1,{this_class:"show_rgb",text:make_color,contenteditable:!1}),az.style_text("show_rgb",1,{"margin-top":"10px","margin-bottom":"10px",align:"center",color:"black"});var a=make_color.replace(/^\D+/g,"").replace(")","").replace("rgb(","").split(",");$(".color_slider").eq(0).val(Number(a[0].trim())).change(),$(".color_slider").eq(1).val(Number(a[1].trim())).change(),$(".color_slider").eq(2).val(Number(a[2].trim())).change()},color_slider_as_change:function color_slider_as_change(id){az.global_current_color="rgb("+az.listen_for_value("color_slider",1)+", "+az.listen_for_value("color_slider",2)+", "+az.listen_for_value("color_slider",3)+")",az.hold_value.global_current_color_slider_id=id,"function"==typeof az.global_color_options.function?az.call_callback(az.global_color_options.function()):eval(az.global_color_options.function)},search_color_enter:function(){0==az.listen_for_value("color_input",1).includes("rgb")&&0==az.listen_for_value("color_input",1).includes("#")&&(void 0!==az.name_to_rgb[az.listen_for_value("color_input",1).toLowerCase()]?make_color=az.name_to_rgb[az.listen_for_value("color_input",1).toLowerCase()]:alert("color not found")),0==az.listen_for_value("color_input",1).includes("rgb")&&1==az.listen_for_value("color_input",1).includes("#")&&(void 0!==az.hex_to_rgb[az.listen_for_value("color_input",1).toUpperCase()]?make_color=az.hex_to_rgb[az.listen_for_value("color_input",1).toUpperCase()]:alert("color not found")),1==az.listen_for_value("color_input",1).includes("rgb")&&(make_color=az.listen_for_value("color_input",1));var e=make_color.replace(/^\D+/g,"").replace(")","").replace("rgb(","").split(",");$(".color_slider").eq(0).val(Number(e[0].trim())).change(),$(".color_slider").eq(1).val(Number(e[1].trim())).change(),$(".color_slider").eq(2).val(Number(e[2].trim())).change()},check_last_class:function(e){return hold_last_class=[],e!=hold_last_class[0]?(res_class_check=!1,hold_last_class=[]):res_class_check=!0,hold_last_class.push(e),res_class_check},show_icons:function(){for(awesome_fonts=["fa-glass","fa-music","fa-search","fa-envelope-o","fa-heart","fa-star","fa-star-o","fa-user","fa-film","fa-th-large","fa-th","fa-th-list","fa-check","fa-times","fa-search-plus","fa-search-minus","fa-power-off","fa-signal","fa-cog","fa-trash-o","fa-home","fa-file-o","fa-clock-o","fa-road","fa-download","fa-arrow-circle-o-down","fa-arrow-circle-o-up","fa-inbox","fa-play-circle-o","fa-repeat","fa-refresh","fa-list-alt","fa-lock","fa-flag","fa-headphones","fa-volume-off","fa-volume-down","fa-volume-up","fa-qrcode","fa-barcode","fa-tag","fa-tags","fa-book","fa-bookmark","fa-print","fa-camera","fa-font","fa-bold","fa-italic","fa-text-height","fa-text-width","fa-align-left","fa-align-center","fa-align-right","fa-align-justify","fa-list","fa-outdent","fa-indent","fa-video-camera","fa-picture-o","fa-pencil","fa-map-marker","fa-adjust","fa-tint","fa-pencil-square-o","fa-share-square-o","fa-check-square-o","fa-arrows","fa-step-backward","fa-fast-backward","fa-backward","fa-play","fa-pause","fa-stop","fa-forward","fa-fast-forward","fa-step-forward","fa-eject","fa-chevron-left","fa-chevron-right","fa-plus-circle","fa-minus-circle","fa-times-circle","fa-check-circle","fa-question-circle","fa-info-circle","fa-crosshairs","fa-times-circle-o","fa-check-circle-o","fa-ban","fa-arrow-left","fa-arrow-right","fa-arrow-up","fa-arrow-down","fa-share","fa-expand","fa-compress","fa-plus","fa-minus","fa-asterisk","fa-exclamation-circle","fa-gift","fa-leaf","fa-fire","fa-eye","fa-eye-slash","fa-exclamation-triangle","fa-plane","fa-calendar","fa-random","fa-comment","fa-magnet","fa-chevron-up","fa-chevron-down","fa-retweet","fa-shopping-cart","fa-folder","fa-folder-open","fa-arrows-v","fa-arrows-h","fa-bar-chart","fa-twitter-square","fa-facebook-square","fa-camera-retro","fa-key","fa-cogs","fa-comments","fa-thumbs-o-up","fa-thumbs-o-down","fa-star-half","fa-heart-o","fa-sign-out","fa-linkedin-square","fa-thumb-tack","fa-external-link","fa-sign-in","fa-trophy","fa-github-square","fa-upload","fa-lemon-o","fa-phone","fa-square-o","fa-bookmark-o","fa-phone-square","fa-twitter","fa-facebook","fa-github","fa-unlock","fa-credit-card","fa-rss","fa-hdd-o","fa-bullhorn","fa-bell","fa-certificate","fa-hand-o-right","fa-hand-o-left","fa-hand-o-up","fa-hand-o-down","fa-arrow-circle-left","fa-arrow-circle-right","fa-arrow-circle-up","fa-arrow-circle-down","fa-globe","fa-wrench","fa-tasks","fa-filter","fa-briefcase","fa-arrows-alt","fa-users","fa-link","fa-cloud","fa-flask","fa-scissors","fa-files-o","fa-paperclip","fa-floppy-o","fa-square","fa-bars","fa-list-ul","fa-list-ol","fa-strikethrough","fa-underline","fa-table","fa-magic","fa-truck","fa-pinterest","fa-pinterest-square","fa-google-plus-square","fa-google-plus","fa-money","fa-caret-down","fa-caret-up","fa-caret-left","fa-caret-right","fa-columns","fa-sort","fa-sort-desc","fa-sort-asc","fa-envelope","fa-linkedin","fa-undo","fa-gavel","fa-tachometer","fa-comment-o","fa-comments-o","fa-bolt","fa-sitemap","fa-umbrella","fa-clipboard","fa-lightbulb-o","fa-exchange","fa-cloud-download","fa-cloud-upload","fa-user-md","fa-stethoscope","fa-suitcase","fa-bell-o","fa-coffee","fa-cutlery","fa-file-text-o","fa-building-o","fa-hospital-o","fa-ambulance","fa-medkit","fa-fighter-jet","fa-beer","fa-h-square","fa-plus-square","fa-angle-double-left","fa-angle-double-right","fa-angle-double-up","fa-angle-double-down","fa-angle-left","fa-angle-right","fa-angle-up","fa-angle-down","fa-desktop","fa-laptop","fa-tablet","fa-mobile","fa-circle-o","fa-quote-left","fa-quote-right","fa-spinner","fa-circle","fa-reply","fa-github-alt","fa-folder-o","fa-folder-open-o","fa-smile-o","fa-frown-o","fa-meh-o","fa-gamepad","fa-keyboard-o","fa-flag-o","fa-flag-checkered","fa-terminal","fa-code","fa-reply-all","fa-star-half-o","fa-location-arrow","fa-crop","fa-code-fork","fa-chain-broken","fa-question","fa-info","fa-exclamation","fa-superscript","fa-subscript","fa-eraser","fa-puzzle-piece","fa-microphone","fa-microphone-slash","fa-shield","fa-calendar-o","fa-fire-extinguisher","fa-rocket","fa-maxcdn","fa-chevron-circle-left","fa-chevron-circle-right","fa-chevron-circle-up","fa-chevron-circle-down","fa-html5","fa-css3","fa-anchor","fa-unlock-alt","fa-bullseye","fa-ellipsis-h","fa-ellipsis-v","fa-rss-square","fa-play-circle","fa-ticket","fa-minus-square","fa-minus-square-o","fa-level-up","fa-level-down","fa-check-square","fa-pencil-square","fa-external-link-square","fa-share-square","fa-compass","fa-caret-square-o-down","fa-caret-square-o-up","fa-caret-square-o-right","fa-eur","fa-gbp","fa-usd","fa-inr","fa-jpy","fa-rub","fa-krw","fa-btc","fa-file","fa-file-text","fa-sort-alpha-asc","fa-sort-alpha-desc","fa-sort-amount-asc","fa-sort-amount-desc","fa-sort-numeric-asc","fa-sort-numeric-desc","fa-thumbs-up","fa-thumbs-down","fa-youtube-square","fa-youtube","fa-xing","fa-xing-square","fa-youtube-play","fa-dropbox","fa-stack-overflow","fa-instagram","fa-flickr","fa-adn","fa-bitbucket","fa-bitbucket-square","fa-tumblr","fa-tumblr-square","fa-long-arrow-down","fa-long-arrow-up","fa-long-arrow-left","fa-long-arrow-right","fa-apple","fa-windows","fa-android","fa-linux","fa-dribbble","fa-skype","fa-foursquare","fa-trello","fa-female","fa-male","fa-gratipay","fa-sun-o","fa-moon-o","fa-archive","fa-bug","fa-vk","fa-weibo","fa-renren","fa-pagelines","fa-stack-exchange","fa-arrow-circle-o-right","fa-arrow-circle-o-left","fa-caret-square-o-left","fa-dot-circle-o","fa-wheelchair","fa-vimeo-square","fa-try","fa-plus-square-o","fa-space-shuttle","fa-slack","fa-envelope-square","fa-wordpress","fa-openid","fa-university","fa-graduation-cap","fa-yahoo","fa-google","fa-reddit","fa-reddit-square","fa-stumbleupon-circle","fa-stumbleupon","fa-delicious","fa-digg","fa-pied-piper","fa-pied-piper-alt","fa-drupal","fa-joomla","fa-language","fa-fax","fa-building","fa-child","fa-paw","fa-spoon","fa-cube","fa-cubes","fa-behance","fa-behance-square","fa-steam","fa-steam-square","fa-recycle","fa-car","fa-taxi","fa-tree","fa-spotify","fa-deviantart","fa-soundcloud","fa-database","fa-file-pdf-o","fa-file-word-o","fa-file-excel-o","fa-file-powerpoint-o","fa-file-image-o","fa-file-archive-o","fa-file-audio-o","fa-file-video-o","fa-file-code-o","fa-vine","fa-codepen","fa-jsfiddle","fa-life-ring","fa-circle-o-notch","fa-rebel","fa-empire","fa-git-square","fa-git","fa-hacker-news","fa-tencent-weibo","fa-qq","fa-weixin","fa-paper-plane","fa-paper-plane-o","fa-history","fa-circle-thin","fa-header","fa-paragraph","fa-sliders","fa-share-alt","fa-share-alt-square","fa-bomb","fa-futbol-o","fa-tty","fa-binoculars","fa-plug","fa-slideshare","fa-twitch","fa-yelp","fa-newspaper-o","fa-wifi","fa-calculator","fa-paypal","fa-google-wallet","fa-cc-visa","fa-cc-mastercard","fa-cc-discover","fa-cc-amex","fa-cc-paypal","fa-cc-stripe","fa-bell-slash","fa-bell-slash-o","fa-trash","fa-copyright","fa-at","fa-eyedropper","fa-paint-brush","fa-birthday-cake","fa-area-chart","fa-pie-chart","fa-line-chart","fa-lastfm","fa-lastfm-square","fa-toggle-off","fa-toggle-on","fa-bicycle","fa-bus","fa-ioxhost","fa-angellist","fa-cc","fa-ils","fa-meanpath","fa-buysellads","fa-connectdevelop","fa-dashcube","fa-forumbee","fa-leanpub","fa-sellsy","fa-shirtsinbulk","fa-simplybuilt","fa-skyatlas","fa-cart-plus","fa-cart-arrow-down","fa-diamond","fa-ship","fa-user-secret","fa-motorcycle","fa-street-view","fa-heartbeat","fa-venus","fa-mars","fa-mercury","fa-transgender","fa-transgender-alt","fa-venus-double","fa-mars-double","fa-venus-mars","fa-mars-stroke","fa-mars-stroke-v","fa-mars-stroke-h","fa-neuter","fa-genderless","fa-facebook-official","fa-pinterest-p","fa-whatsapp","fa-server","fa-user-plus","fa-user-times","fa-bed","fa-viacoin","fa-train","fa-subway","fa-medium","fa-y-combinator","fa-optin-monster","fa-opencart","fa-expeditedssl","fa-battery-full","fa-battery-three-quarters","fa-battery-half","fa-battery-quarter","fa-battery-empty","fa-mouse-pointer","fa-i-cursor","fa-object-group","fa-object-ungroup","fa-sticky-note","fa-sticky-note-o","fa-cc-jcb","fa-cc-diners-club","fa-clone","fa-balance-scale","fa-hourglass-o","fa-hourglass-start","fa-hourglass-half","fa-hourglass-end","fa-hourglass","fa-hand-rock-o","fa-hand-paper-o","fa-hand-scissors-o","fa-hand-lizard-o","fa-hand-spock-o","fa-hand-pointer-o","fa-hand-peace-o","fa-trademark","fa-registered","fa-creative-commons","fa-gg","fa-gg-circle","fa-tripadvisor","fa-odnoklassniki","fa-odnoklassniki-square","fa-get-pocket","fa-wikipedia-w","fa-safari","fa-chrome","fa-firefox","fa-opera","fa-internet-explorer","fa-television","fa-contao","fa-500px","fa-amazon","fa-calendar-plus-o","fa-calendar-minus-o","fa-calendar-times-o","fa-calendar-check-o","fa-industry","fa-map-pin","fa-map-signs","fa-map-o","fa-map","fa-commenting","fa-commenting-o","fa-houzz","fa-vimeo","fa-black-tie","fa-fonticons"],az.add_modal({this_class:"show_icons_modal_sdfo7sd9fds",content_class:"show_icons_modal_sdfo7sd9fds_content"}),az.add_html("show_icons_modal_sdfo7sd9fds_content",1,{html:"<div align='center' class='hold_fonts_sdfo7sd9fds' id='hold_fonts' style='width: 100%; height: 300'></div>"}),az.style_html("show_icons_modal_sdfo7sd9fds_content",1,{"overflow-y":"scroll",color:"black",height:"500px"}),i=0;i<awesome_fonts.length;i++)$("#hold_fonts").append("<table width='70%' border='0'><col width='50%'><col='50%'><tr class='show_row'><td class='font_here' align='center'></td><td align='center'>"+awesome_fonts[i]+"</td></tr></table><br>"),az.add_icon("font_here",i+1,{icon_class:awesome_fonts[i]}),az.style_icon(awesome_fonts[i],$("."+awesome_fonts[i]).length,{"font-size":"40px",color:"black"})},strip_html:function(e){var a=document.createElement("div");return a.innerHTML=e,a.textContent||a.innerText||""},show_events:function(){for(hold_azle_events=["click","double_click","triple_click","right_click","hover","unhover","change","as_change","enter_key","focus","blur","paste","upload"],hold_azle_events_funct={show_fired_text:function(e,a){a<6?az.add_text("my_cells",2*a+2,{this_class:"show_text",text:"Event Fired!<br>"}):a>5&&a<8?(7!=a&&""!=az.grab_value("event_element",e)||az.all_remove_element("show_text"),7==a?az.add_text("my_cells",2*a+2,{this_class:"show_text",text:az.grab_value("event_element",e)+"<br>"}):az.add_text("my_cells",2*a+2,{this_class:"show_text",text:"Event Fired!<br>"})):az.add_text("my_cells",2*a+2,{this_class:"show_text",text:"Event Fired!<br>"})}},az.add_modal({this_class:"show_events_modal",content_class:"show_events_modal_content"}),az.add_scrollable_container("show_events_modal_content",1,{this_class:"hold_events",direction:"vertical"}),az.style_scrollable_container("hold_events",1,{height:"500px"}),az.add_layout("hold_events",1,{this_class:"my_layout",row_class:"my_rows",cell_class:"my_cells",number_of_rows:hold_azle_events.length,number_of_columns:2}),az.style_layout("my_layout",1,{height:"auto",width:"100%","table-layout":"fixed",border:0}),az.all_style_layout("my_cells",{halign:"center"}),i=0;i<hold_azle_events.length;i++)i<6&&(az.add_button("my_cells",2*i+1,{this_class:"event_element",text:hold_azle_events[i]}),az.all_style_button("event_element",{display:"block",outline:0,"margin-top":"10px"})),i>5&&i<11&&(6==i?az.add_dropdown("my_cells",2*i+1,{this_class:"event_element",title:hold_azle_events[i],options:["networks","security","programming","machine code","protocols"]}):(az.add_input("my_cells",2*i+1,{this_class:"event_element",placeholder:hold_azle_events[i]}),az.all_style_input("event_element",{display:"block",outline:0,"margin-top":"10px"}))),11==i&&(az.add_textarea("my_cells",2*i+1,{this_class:"event_element",placeholder:hold_azle_events[i]}),az.all_style_textarea("event_element",{width:"95%",border:"2px solid black","margin-top":"5px"})),12==i&&az.add_upload_button("my_cells",2*i+1,{this_class:"event_element"}),12==i?az.add_event("event_element",az.last_class_instance("event_element"),{type:hold_azle_events[i],function:"alert(JSON.stringify(data))"}):az.add_event("event_element",az.last_class_instance("event_element"),{type:hold_azle_events[i],function:"hold_azle_events_funct.show_fired_text('"+az.last_class_instance("event_element")+"', "+i+")"})},call_wrapped_function:call_wrapped_function={},add_wrapped_function:function(e){az.call_wrapped_function[e.name]=e.function},hold_value:hold_value={},components:components={},add_component:function add_component(target_class,target_instance,options){setTimeout(function(){call_funct="az.call_wrapped_function."+options.name+"('"+target_class+"', "+target_instance+", "+JSON.stringify(options)+")",eval(call_funct)},500)},show_animations:function(){animations=["spin","bounceOutDown","bounceOutLeft","bounceOutRight","bounceOutUp","fadeIn","fadeInDown","fadeInDownBig","fadeInLeft","fadeInLeftBig","fadeInRight","fadeInRightBig","fadeInUp","fadeInUpBig","fadeOut","fadeOutDown","fadeOutDownBig","fadeOutLeft","fadeOutLeftBig","fadeOutRight","fadeOutRightBig","fadeOutUp","fadeOutUpBig","flipInX","flipInY","flipOutX","flipOutY","lightSpeedIn","lightSpeedOut","rotateIn","rotateInDownLeft","rotateInDownRight","rotateInUpLeft","rotateInUpRight","rotateOut","rotateOutDownLeft","rotateOutDownRight","rotateOutUpLeft","rotateOutUpRight","hinge","jackInTheBox rollIn","rollOut","zoomIn","zoomInDown","zoomInLeft","zoomInRight","zoomInUp","zoomOut","zoomOutDown","zoomOutLeft","zoomOutRight","zoomOutUp","slideInDown","slideInLeft","slideInRight","slideInUp","slideOutDown","slideOutLeft","slideOutRight","slideOutUp"],az.add_modal({this_class:"show_anims_modal",content_class:"show_anims_modal_content"}),az.style_modal("show_anims_modal",1,{width:"400px",height:"500px",background:"rgb(115, 191, 172)"}),az.add_wrapped_function({name:"slow_add_anims",function:function(e){anim_butt_id=az.makeid(),az.add_button("show_anims_modal_content",1,{this_class:"anim_show_button",text:animations[e],this_id:anim_butt_id}),az.style_button("anim_show_button",az.get_target_instance(anim_butt_id),{outline:0,width:"90%",align:"center","margin-bottom":"5px",background:"gold",color:"#141414"}),az.add_event("anim_show_button",az.get_target_instance(anim_butt_id),{type:"click",function:"az.animate_element('anim_show_button', "+az.get_target_instance(anim_butt_id)+", {'type': '"+animations[e]+"'})"})}}),az.delay_multiple({iterations:animations.length-1,delay:10,function:"az.call_wrapped_function.slow_add_anims(index)"})}},az.create_name_to_rgb(),az.load_styles(["https://azlejs.com/libs/animate.css","https://azlejs.com/libs/fontawesome/css/font-awesome.min.css"])}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment