XCloner – Backup and Restore - Version 4.4.8

Version Description

  • fix: https://github.com/watchfulli/XCloner-Wordpress/issues/242
Download this release

Release Info

Developer watchful
Plugin Icon 128x128 XCloner – Backup and Restore
Version 4.4.8
Comparing to
See all releases

Code changes from version 4.4.7 to 4.4.8

README.txt CHANGED
@@ -5,7 +5,7 @@ Tags: backup, database backup, cloud backup, WordPress backup, WordPress migrati
5
  Requires at least: 5.1
6
  Requires PHP: 7.3
7
  Tested up to: 6.0
8
- Stable tag: 4.4.7
9
 
10
 
11
  XCloner is a backup plugin that allows you to safely back up and restore your WordPress sites. You can send site backups to SFTP, Dropbox, Amazon, Google Drive, Backblaze and other locations.
@@ -117,6 +117,9 @@ Of course, schedules can be adjusted accordingly to how often you update your si
117
 
118
  == Changelog ==
119
 
 
 
 
120
  = 4.4.7 =
121
  * fix: https://github.com/watchfulli/XCloner-Wordpress/issues/239
122
 
5
  Requires at least: 5.1
6
  Requires PHP: 7.3
7
  Tested up to: 6.0
8
+ Stable tag: 4.4.8
9
 
10
 
11
  XCloner is a backup plugin that allows you to safely back up and restore your WordPress sites. You can send site backups to SFTP, Dropbox, Amazon, Google Drive, Backblaze and other locations.
117
 
118
  == Changelog ==
119
 
120
+ = 4.4.8 =
121
+ * fix: https://github.com/watchfulli/XCloner-Wordpress/issues/242
122
+
123
  = 4.4.7 =
124
  * fix: https://github.com/watchfulli/XCloner-Wordpress/issues/239
125
 
admin/js/index.min.js CHANGED
@@ -4,5 +4,5 @@
4
 
5
  To view source code please see https://github.com/watchfulli/XCloner-Wordpress/
6
  */
7
- !function(e){var t={};function i(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)i.d(n,s,function(t){return e[t]}.bind(null,s));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=4)}([function(e,t,i){"use strict";i.r(t),i.d(t,"error_modal",(function(){return o})),i.d(t,"next_tab",(function(){return r})),i.d(t,"doShortText",(function(){return l})),i.d(t,"show_ajax_error",(function(){return u})),i.d(t,"ID",(function(){return d})),i.d(t,"getUrlParam",(function(){return c}));var n=i(2),s=i(3),a=i(1);let o;document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("#error_modal");o=M.Modal.init(e)})),jQuery,jQuery(document).ready((function(){jQuery(".tooltipped").tooltip(),jQuery(".collapsible").collapsible(),jQuery("span.shorten_string").click((function(){jQuery(this).toggleClass("full"),l(jQuery(this))})),jQuery("span.shorten_string").each((function(){l(jQuery(this))})),jQuery("#xcloner_regex_exclude").on("focus",(function(){jQuery("ul.xcloner_regex_exclude_limit li").fadeIn()})),jQuery(".regex_pattern").on("click",(function(){jQuery(this).select()})),jQuery(".btn.system_info_toggle").on("click",(function(){jQuery(".additional_system_info").toggle()})),jQuery("a.download-logger").on("click",(function(e){var t=new a.Xcloner_Manage_Backups,i=jQuery(this).attr("href").substr(1);i&&t.download_backup_by_name(i),e.preventDefault()})),jQuery(".nav-tab-wrapper.content li").on("click",(function(e){jQuery(".nav-tab-wrapper li a").removeClass("nav-tab-active"),jQuery(this).find("a").addClass("nav-tab-active"),jQuery(".nav-tab-wrapper-content .tab-content").removeClass("active"),jQuery(".nav-tab-wrapper-content "+jQuery(this).find("a").attr("href")).addClass("active"),e.preventDefault(),location.hash=jQuery(this).find("a").attr("href")+"_hash"}));var e=window.location.hash;e&&r(e.replace("_hash",""))}));const r=function(e){jQuery(".nav-tab-wrapper").find("li a[href='"+e+"']").trigger("click"),location.hash=e},l=function(e){if(e.hasClass("full"))e.text(e.attr("data-text"));else{var t=e.text(),i=t.length,n=t.substr(0,10),s=t.substr(i-20,i);e.attr("data-text",t).text(n+"..."+s)}},u=function(e,t,i){"undefined"!=typeof xcloner_backup&&xcloner_backup.cancel_backup(),i&&void 0!==i.responseText&&(t=t+": "+i.responseText),jQuery("#error_modal .title").text(e),jQuery("#error_modal .msg").text(t),i&&i.status&&jQuery("#error_modal .status").text(i.status+" "+i.statusText),jQuery("#error_modal .body").text(JSON.stringify(i)),o.open()},d=function(){return"_"+Math.random().toString(36).substr(2,9)},c=function(e){return(location.search.split(e+"=")[1]||"").split("&")[0]};jQuery(document).ready((function(){window.remote_storage=new n.Xcloner_Remote_Storage,window.xcloner_backup=new s.Xcloner_Backup,window.xcloner_manage_backups=new a.Xcloner_Manage_Backups,window.ID=d,window.getUrlParam=c,window.show_ajax_error=u,window.doShortText=l,window.dataTable=null,window.next_tab=r}))},function(e,t,i){"use strict";i.r(t),i.d(t,"Xcloner_Manage_Backups",(function(){return l}));var n,s,a,o,r;i(0);document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("#backup_cotent_modal");n=M.Modal.init(e);e=document.querySelector("#backup_encryption_modal");s=M.Modal.init(e);e=document.querySelector("#backup_decryption_modal");a=M.Modal.init(e);e=document.querySelector("#remote_storage_modal");o=M.Modal.init(e);e=document.querySelector("#local_storage_upload_modal");r=M.Modal.init(e)}));class l{constructor(){this.file_counter=0,this.storage_selection="",this.dataTable=""}download_backup_by_name(e){return window.open(XCLONER_AJAXURL+"&action=download_backup_by_name&name="+e+"&storage_selection="+this.storage_selection),!1}delete_backup_by_name(e,t,i){e&&jQuery.ajax({url:XCLONER_AJAXURL,method:"post",data:{action:"delete_backup_by_name",name:e,storage_selection:this.storage_selection},success:function(e){e.finished?i.row(jQuery(t).parents("tr")).remove().draw():alert("There was an error deleting the file")},dataType:"json"})}list_backup_content_callback(e,t=0,i=0){var n=this;e&&jQuery.ajax({url:XCLONER_AJAXURL,method:"post",data:{action:"list_backup_files",file:e,start:t,part:i},success:function(t){if(t.error)return jQuery("#backup_cotent_modal .files-list").addClass("error").prepend(t.message),void jQuery("#backup_cotent_modal .progress > div").addClass("determinate").removeClass(".indeterminate").css("width","100%");var i=[];for(var s in t.files){if(void 0!==t.total_size)parseInt(100*t.start),parseInt(t.total_size);n.file_counter++,i[s]="<li>"+n.file_counter+". <span title='"+t.files[s].mtime+"'>"+t.files[s].path+"</span> ("+t.files[s].size+" bytes)</li>"}jQuery("#backup_cotent_modal .modal-content .files-list").prepend(i.reverse().join("\n")),!t.finished&&jQuery("#backup_cotent_modal").is(":visible")?n.list_backup_content_callback(e,t.start,t.part):jQuery("#backup_cotent_modal .progress > div").addClass("determinate").removeClass(".indeterminate").css("width","100%")},error:function(e,t,i){jQuery("#backup_cotent_modal .files-list").addClass("error").prepend(t+i)},dataType:"json"})}list_backup_content(e){this.file_counter=0,jQuery("#backup_cotent_modal .modal-content .files-list").text("").removeClass("error"),jQuery("#backup_cotent_modal .modal-content .backup-name").text(e),n.open(),jQuery("#backup_cotent_modal .progress > div").removeClass("determinate").addClass("indeterminate"),this.list_backup_content_callback(e)}backup_encryption_callback(e,t=0,i=0,n=0){var s=this;e&&jQuery.ajax({url:XCLONER_AJAXURL,method:"post",data:{action:"backup_encryption",file:e,start:t,part:i,iv:n},success:function(t){if(void 0!==t.total_size){jQuery("#backup_encryption_modal .progress > div").removeClass("indeterminate").addClass("determinate");var i=parseInt(100*t.start)/parseInt(t.total_size);jQuery("#backup_encryption_modal .progress .determinate").css("width",parseInt(i)+"%"),jQuery("#backup_encryption_modal .modal-content .files-list").text("Encrypting "+t.processing_file+" "+parseInt(i)+"%")}if(t.error)return jQuery("#backup_encryption_modal .notice").show(),jQuery("#backup_encryption_modal .files-list").addClass("error").prepend(t.message+" "),void jQuery("#backup_encryption_modal .progress > div").addClass("determinate").removeClass("indeterminate").css("width","100%");!t.finished&&jQuery("#backup_encryption_modal").is(":visible")?s.backup_encryption_callback(e,t.start,t.part,t.iv):(jQuery("#backup_encryption_modal .progress > div").addClass("determinate").removeClass("indeterminate").css("width","100%"),jQuery("#backup_encryption_modal .modal-content .files-list").text("Done Encrypting."),dataTable.ajax.reload())},error:function(e,t,i){jQuery("#backup_encryption_modal .files-list").addClass("error").prepend(t+i)},dataType:"json"})}backup_encryption(e,t=0){this.file_counter=0,jQuery("#backup_encryption_modal .modal-content .backup-name").text(e),s.open(),jQuery("#backup_encryption_modal .progress > div"),jQuery("#backup_encryption_modal .notice").show(),jQuery("#backup_encryption_modal a.btn").attr("onclick","xcloner_manage_backups.backup_encryption('"+e+"', true)"),jQuery("#backup_encryption_modal .modal-content .files-list").text("").removeClass("error"),t&&(jQuery("#backup_encryption_modal .notice").hide(),this.backup_encryption_callback(e))}backup_decryption_callback(e,t=0,i=0,n=0){var s=this,a=jQuery("#backup_decryption_modal #decryption_key").val();e&&jQuery.ajax({url:XCLONER_AJAXURL,method:"post",data:{action:"backup_decryption",file:e,start:t,part:i,iv:n,decryption_key:a},success:function(t){if(t.start||(t.start=0),void 0!==t.total_size){jQuery("#backup_decryption_modal .progress > div").removeClass("indeterminate").addClass("determinate");var i=parseInt(100*t.start)/parseInt(t.total_size);jQuery("#backup_decryption_modal .progress .determinate").css("width",parseInt(i)+"%"),jQuery("#backup_decryption_modal .modal-content .files-list").text("Decrypting "+t.processing_file+" "+parseInt(i)+"%")}if(t.error)return jQuery("#backup_decryption_modal .files-list").addClass("error").prepend(t.message+" "),jQuery("#backup_decryption_modal .progress > div").addClass("determinate").removeClass("indeterminate").css("width","100%"),void jQuery("#backup_decryption_modal .notice").show();!t.finished&&jQuery("#backup_decryption_modal").is(":visible")?s.backup_decryption_callback(e,t.start,t.part,t.iv):(jQuery("#backup_decryption_modal .progress > div").addClass("determinate").removeClass("indeterminate").css("width","100%"),jQuery("#backup_decryption_modal .modal-content .files-list").text("Done Decrypting."),dataTable.ajax.reload())},error:function(e,t,i){jQuery("#backup_decryption_modal .files-list").addClass("error").prepend(t+i)},dataType:"json"})}backup_decryption(e,t=0){this.file_counter=0,jQuery("#backup_decryption_modal .modal-content .backup-name").text(e),a.open(),jQuery("#backup_decryption_modal .progress > div"),jQuery("#backup_decryption_modal .notice").show(),jQuery("#backup_decryption_modal a.btn").attr("onclick","xcloner_manage_backups.backup_decryption('"+e+"', true)"),jQuery("#backup_decryption_modal .modal-content .files-list").text("").removeClass("error"),t&&(jQuery("#backup_decryption_modal .notice").hide(),this.backup_decryption_callback(e))}cloud_upload(e,t){t=t||0,jQuery("#remote_storage_modal").find(".backup_name").text(e),jQuery("#remote_storage_modal").find("input.backup_name").val(e),M.updateTextFields(),jQuery(".col select").formSelect(),o.open(),jQuery("#remote_storage_modal .status").hide(),jQuery(".remote-storage-form").off("submit").on("submit",(function(){jQuery("#remote_storage_modal .status").show(),jQuery("#remote_storage_modal .status .progress .indeterminate").removeClass("determinate").css("width","0%"),jQuery("#remote_storage_modal .status-text").removeClass("error").text("");var i=jQuery("#remote_storage_modal select").val();return e&&jQuery.ajax({url:XCLONER_AJAXURL,method:"post",data:{action:"upload_backup_to_remote",file:e,storage_type:i,delete_after_transfer:t},success:function(e){e.error?jQuery("#remote_storage_modal .status-text").addClass("error").text(e.message):jQuery("#remote_storage_modal .status-text").removeClass("error").text("done"),jQuery("#remote_storage_modal .status .progress .indeterminate").addClass("determinate").css("width","100%")},error:function(e,t,i){jQuery("#remote_storage_modal .status-text").addClass("error").text(t+i)},dataType:"json"}),!1}))}copy_remote_to_local(e){r.open(),jQuery("#local_storage_upload_modal .modal-content .backup-name").text(e),jQuery("#local_storage_upload_modal .status-text").removeClass("error").text(""),jQuery("#local_storage_upload_modal .status .progress .indeterminate").removeClass("determinate").css("width","0%"),e&&jQuery.ajax({url:XCLONER_AJAXURL,method:"post",data:{action:"copy_backup_remote_to_local",file:e,storage_type:this.storage_selection},success:function(e){e.error?jQuery("#local_storage_upload_modal .status-text").addClass("error").text(e.message):jQuery("#local_storage_upload_modal .status-text").removeClass("error").text("done"),jQuery("#local_storage_upload_modal .status .progress .indeterminate").addClass("determinate").css("width","100%")},error:function(e,t,i){jQuery("#local_storage_upload_modal .status-text").addClass("error").text(t+i)},dataType:"json"})}}},function(e,t,i){"use strict";i.r(t),i.d(t,"Xcloner_Remote_Storage",(function(){return n}));class n{constructor(){}toggle_status(e){var t=jQuery(e).attr("name"),i=0;jQuery(e).is(":checked")&&(i=1),t&&jQuery.ajax({url:XCLONER_AJAXURL,method:"post",data:{action:"remote_storage_save_status",id:t,value:i},success:function(e){e.finished||alert("Error changing status")},dataType:"json"})}}},function(e,t,i){"use strict";i.r(t),i.d(t,"Xcloner_Backup",(function(){return n}));class n{constructor(){this.cancel=0,this.params={},this.last_dumpfile="",this.last_backup_file="",this.backup_part=0,this.backup_size_total=0,this.resume={}}get_form_params(){var e=[],t=[];jQuery.each(jQuery("#jstree_database_container").jstree("get_checked",!0),(function(){var t={};t.id=this.id,t.parent=this.parent;var i=e.length;e[i]=t})),jQuery.each(jQuery("#jstree_files_container").jstree("get_checked",!0),(function(){var e={};e.id=this.id,e.parent=this.parent;var i=t.length;t[i]=e}));var i={};return i.table_params=e,i.files_params=t,i.backup_params=jQuery("#generate_backup_form").serializeArray(),i}do_backup_database_callback(e,t,i){if(i.extra&&(this.params.extra=i.extra),i.extra.stats&&(void 0!==i.extra.stats.tables_count&&jQuery(e).find(".table-counter").text(parseInt(i.extra.stats.tables_count)),void 0!==i.extra.stats.database_count&&jQuery(e).find(".database-counter").text(parseInt(i.extra.stats.database_count)),void 0!==i.extra.stats.total_records&&jQuery(e).find(".total-records").text(parseInt(i.extra.stats.total_records))),i.extra.tableName&&jQuery(e).find(".last-logged-table").text(i.extra.databaseName+"."+i.extra.tableName+" ("+i.extra.processedRecords+" records)"),void 0!==i.extra.processedRecords&&!i.extra.startAtRecord&&!i.extra.endDump){var n=parseInt(jQuery(e).find(".total-records").attr("data-processed"))+parseInt(i.extra.processedRecords),s=100*parseInt(n)/parseInt(jQuery(e).find(".total-records").text());jQuery(e).find(".progress .determinate").css("width",s+"%"),jQuery(e).find(".total-records").attr("data-processed",n),jQuery(e).find(".status-body ul.logged-tables").prepend(jQuery("<li>").text(i.extra.databaseName+"."+i.extra.tableName+" ("+i.extra.processedRecords+" records)"))}if(void 0!==i.extra.dumpfile){var a=i.extra.dumpfile+" ("+this.getSize(i.extra.dumpsize,1024)+" KB)";jQuery(this.last_dumpfile).hasClass(i.extra.dumpfile)?jQuery(this.last_dumpfile).html(a):this.last_dumpfile=jQuery("<li>").addClass(i.extra.dumpfile).html(a).prependTo("ul.logged-databases")}if(!i.finished)return this.do_ajax(e,t),!1;jQuery(e).find(".last-logged-table").text("done"),jQuery(e).find(".progress .determinate").css("width","100%"),this.do_backup_files()}do_backup_database(){if(jQuery("#jstree_database_container").length){var e="#generate_backup ul.backup-status li.database-backup";jQuery(e).show(),jQuery(e).find(".collapsible-header").trigger("click"),jQuery(e).find(".total-records").text(0),jQuery(e).find(".total-records").attr("data-processed",0),jQuery(e).find(".table-counter").text(0),jQuery(e).find(".database-counter").text(0),jQuery(e).find(".logged-databases").html(""),jQuery(e).find(".logged-tables").html(""),this.last_dumpfile=0,jQuery(e).find(".progress .determinate").css("width","0%"),this.do_ajax(e,"backup_database",1)}else this.do_backup_files()}do_scan_filesystem_callback(e,t,i){if(i.total_files_num&&jQuery(".file-system .file-counter").text(parseInt(i.total_files_num)+parseInt(jQuery(".file-system .file-counter").text())),i.total_files_size){var n=parseFloat(i.total_files_size)+parseFloat(jQuery(".file-system .file-size-total").text());jQuery(".file-system .file-size-total").text(n.toFixed(2))}if(i.last_logged_file&&jQuery(".file-system .last-logged-file").text(i.last_logged_file),!i.finished)return this.do_ajax(e,t),!1;jQuery(e).find(".progress .indeterminate").removeClass("indeterminate").addClass("determinate").css("width","100%"),jQuery(".file-system .last-logged-file").text("done"),this.do_backup_database()}do_scan_filesystem(){var e="#generate_backup ul.backup-status li.file-system";jQuery(e).show(),jQuery(e+" .status-body").show(),jQuery(e).find(".collapsible-header").trigger("click"),jQuery(".file-system .file-counter").text(0),jQuery(".file-system .last-logged-file").text(""),jQuery(".file-system .file-size-total").text(0),jQuery(".file-system .progress div").removeClass("determinate").addClass("indeterminate").css("width","0%"),this.do_ajax(e,"scan_filesystem",1)}do_backup_files_callback(e,t,i){if(i.extra&&(this.params.extra=i.extra),i.extra&&(void 0!==i.extra.start_at_line&&jQuery(e).find(".file-counter").text(parseInt(i.extra.start_at_line)),void 0!==i.extra.start_at_line&&jQuery(e).find(".file-size-total").text(this.getSize(this.backup_size_total+parseInt(i.extra.backup_size)))),i.extra.processed_file){if(void 0!==i.extra.start_at_byte&&i.extra.start_at_byte)var n=i.extra.start_at_byte;else n=i.extra.processed_file_size;jQuery(e).find(".last-logged-file").text(i.extra.processed_file+" ("+this.getSize(n,1024)+" KB)")}if(void 0!==i.extra.processed_file){var s=i.extra.backup_archive_name_full+" ("+this.getSize(i.extra.backup_size)+") MB";this.backup_part!=i.extra.backup_part&&(this.backup_part=i.extra.backup_part,this.backup_size_total=this.backup_size_total+i.extra.backup_size),jQuery(this.last_backup_file).hasClass(i.extra.backup_archive_name)||(this.last_backup_file=jQuery("<li>").addClass(i.extra.backup_archive_name).html(s).prependTo(jQuery(e).find(".status-body .backup-name"))),jQuery(this.last_backup_file).html(s)}if(i.extra.lines_total){var a=100*parseInt(i.extra.start_at_line)/parseInt(i.extra.lines_total);jQuery(e).find(".progress .determinate").css("width",a+"%")}if(!i.finished)return this.do_ajax(e,t),!1;jQuery(e).find(".last-logged-file").text("done"),jQuery(".backup-done .cloud-upload").attr("href","#"+i.extra.backup_parent),jQuery(".backup-done .download").attr("href","#"+i.extra.backup_parent),jQuery(".backup-done .list-backup-content").attr("href","#"+i.extra.backup_parent),this.do_backup_encryption()||this.do_remote_storage_upload(i.extra.backup_parent)||this.do_backup_done(i.extra.backup_parent)}do_backup_files(){if(this.cancel)return!1;var e="#generate_backup ul.backup-status li.files-backup";jQuery(e).show(),jQuery(e+" .status-body").show(),jQuery(e).find(".collapsible-header").trigger("click"),jQuery(e).find(".file-size-total").text(0),jQuery(e).find(".file-size-total").attr("data-processed",0),jQuery(e).find(".file-counter").text(0),jQuery(e).find(".last-logged-file").text(""),jQuery(e).find(".progress .determinate").css("width","0%"),this.do_ajax(e,"backup_files",1)}do_backup_encryption_callback(e,t,i){if(i.extra&&(this.params.extra=i.extra),jQuery(".backup-encryption .last-logged-file").text("encrypting "+i.processing_file+" ..."),void 0!==i.total_size){jQuery(".backup-encryption .progress > div").removeClass("indeterminate").addClass("determinate");var n=parseInt(100*i.start)/parseInt(i.total_size);jQuery(".backup-encryption .progress .determinate").css("width",parseInt(n)+"%")}return i.error?(jQuery(".backup-encryption .status-body").show(),jQuery(".backup-encryption .status-body").addClass("error").prepend(i.message+" "),void jQuery(".backup-encryption .progress > div").addClass("determinate").removeClass("indeterminate").css("width","100%")):i.finished?(jQuery(e).find(".progress > div").css("width","100%"),jQuery(".backup-encryption .last-logged-file").text("done"),void(this.do_remote_storage_upload(i.processing_file)||this.do_backup_done(i.processing_file))):(this.do_ajax(e,t),!1)}do_backup_encryption(){if(this.cancel)return!1;if(!jQuery("#backup_options #backup_encrypt").is(":checked"))return!1;var e="#generate_backup ul.backup-status li.backup-encryption";return jQuery(e).show(),jQuery(e+" .status-body").show(),jQuery(e).find(".collapsible-header").trigger("click"),jQuery(e).find(".progress .determinate").removeClass("determinate").addClass("indeterminate"),this.do_ajax(e,"backup_encryption",1),!0}do_upload_backup_to_remote_callback(e,t,i){!i||i.error?(jQuery(e).find(".status").text(i.message),jQuery(e).find(".progress .indeterminate").removeClass("indeterminate").addClass("determinate").css("width","0%")):(jQuery(e).find(".status").text("done"),jQuery(e).find(".progress .indeterminate").removeClass("indeterminate").addClass("determinate").css("width","100%")),this.do_backup_done()}do_remote_storage_upload(e){if(this.cancel)return!1;var t=jQuery("#schedule_storage").val();if(!t)return!1;var i=Number(jQuery("#backup_delete_after_remote_transfer").is(":checked"));jQuery("#remote_storage_modal #transfer_storage").val(t);var n="#generate_backup ul.backup-status li.remote-storage-transfer";return jQuery(n).show(),jQuery(n+" .status-body").show(),jQuery(n).find(".collapsible-header").trigger("click"),jQuery(n).find(".progress .determinate").removeClass("determinate").addClass("indeterminate"),this.params.file=e,this.params.storage_type=t,this.params.delete_after_transfer=i,this.do_ajax(n,"upload_backup_to_remote",1),!0}do_backup_done(e){var t="#generate_backup ul.backup-status li.backup-done";jQuery(t).show(),jQuery(t+" .status-body").show(),jQuery(t).find(".collapsible-header").trigger("click"),this.set_cancel(!1),jQuery("#generate_backup .action-buttons a").hide(),jQuery("#generate_backup .action-buttons .start").css("display","inline-block")}do_save_schedule_callback(e,t,i){jQuery("#schedule_backup_success").show()}cancel_backup(){this.set_cancel(!0),jQuery("#generate_backup .action-buttons a").hide(),jQuery("#generate_backup .action-buttons .start").css("display","inline-block"),jQuery("#generate_backup .action-buttons .restart").css("display","inline-block")}restart_backup(){if(this.set_cancel(!1),jQuery("#generate_backup .action-buttons a").hide(),jQuery("#generate_backup .action-buttons .cancel").css("display","inline-block"),this.resume.action)return this.do_ajax(this.resume.elem,this.resume.action,this.resume.params),void(this.resume={});this.start_backup()}start_backup(){this.resume={},this.set_cancel(!1),jQuery("#generate_backup .action-buttons a").hide(),jQuery("#generate_backup .action-buttons .cancel").css("display","inline-block"),this.backup_size_total=0,this.last_backup_file="",this.backup_part=0,jQuery("#generate_backup ul.backup-name li").remove(),jQuery("#generate_backup ul.backup-status > li").hide(),jQuery("#generate_backup .backup-status").show(),this.params=this.get_form_params(),this.do_scan_filesystem()}set_cancel(e){this.cancel=e}get_cancel(e){return this.cancel}init_resume(e,t,i){this.resume.elem=e,this.resume.action=t,this.resume.init=i}do_ajax(e,t,i=0){let n=this.params.hash?this.params.hash:"generate_hash";if(1!=this.cancel){var s="do_"+t+"_callback",a=JSON.stringify(this.params),o=this;jQuery.ajax({url:XCLONER_AJAXURL,dataType:"json",type:"POST",data:{action:t,data:a,init:i,hash:n,API_ID:ID()},error:function(n){show_ajax_error("Communication Error","",n),o.init_resume(e,t,i)}}).done((function(n){if(n.hash&&(o.params.hash=n.hash),void 0!==n.error)return show_ajax_error("Communication Error","",n.error_message),void o.init_resume(e,t,i);o.resume={},o[s](e,t,n)}))}else this.init_resume(e,t,i)}getSize(e,t=1048576){return(e/t).toFixed(2)}}},function(e,t,i){i(5),i(0),i(3),i(1),i(2),i(7),i(8)},function(e,t,i){(function(i){var n,s=function e(t,i,n){null===t&&(t=Function.prototype);var s=Object.getOwnPropertyDescriptor(t,i);if(void 0===s){var a=Object.getPrototypeOf(t);return null===a?void 0:e(a,i,n)}if("value"in s)return s.value;var o=s.get;return void 0!==o?o.call(n):void 0},a=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}();function o(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}window.cash=function(){var e,t=document,i=window,n=Array.prototype,s=n.slice,a=n.filter,o=n.push,r=function(){},l=function(e){return typeof e==typeof r&&e.call},u=function(e){return"string"==typeof e},d=/^#[\w-]*$/,c=/^\.[\w-]*$/,h=/<.+>/,p=/^\w+$/;function v(e,i){return i=i||t,c.test(e)?i.getElementsByClassName(e.slice(1)):p.test(e)?i.getElementsByTagName(e):i.querySelectorAll(e)}function f(i){if(!e){var n=(e=t.implementation.createHTMLDocument(null)).createElement("base");n.href=t.location.href,e.head.appendChild(n)}return e.body.innerHTML=i,e.body.childNodes}function _(e){"loading"!==t.readyState?e():t.addEventListener("DOMContentLoaded",e)}function m(e,n){if(!e)return this;if(e.cash&&e!==i)return e;var s,a=e,o=0;if(u(e))a=d.test(e)?t.getElementById(e.slice(1)):h.test(e)?f(e):v(e,n);else if(l(e))return _(e),this;if(!a)return this;if(a.nodeType||a===i)this[0]=a,this.length=1;else for(s=this.length=a.length;o<s;o++)this[o]=a[o];return this}function y(e,t){return new m(e,t)}var g=y.fn=y.prototype=m.prototype={cash:!0,length:0,push:o,splice:n.splice,map:n.map,init:m};function b(e,t){for(var i=e.length,n=0;n<i&&!1!==t.call(e[n],e[n],n,e);n++);}function k(e,t){var i=e&&(e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector);return!!i&&i.call(e,t)}function w(e){return u(e)?k:e.cash?function(t){return e.is(t)}:function(e,t){return e===t}}function C(e){return y(s.call(e).filter((function(e,t,i){return i.indexOf(e)===t})))}Object.defineProperty(g,"constructor",{value:y}),y.parseHTML=f,y.noop=r,y.isFunction=l,y.isString=u,y.extend=g.extend=function(e){e=e||{};var t=s.call(arguments),i=t.length,n=1;for(1===t.length&&(e=this,n=0);n<i;n++)if(t[n])for(var a in t[n])t[n].hasOwnProperty(a)&&(e[a]=t[n][a]);return e},y.extend({merge:function(e,t){for(var i=+t.length,n=e.length,s=0;s<i;n++,s++)e[n]=t[s];return e.length=n,e},each:b,matches:k,unique:C,isArray:Array.isArray,isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)}});var x=y.uid="_cash"+Date.now();function E(e){return e[x]=e[x]||{}}function M(e,t,i){return E(e)[t]=i}function T(e,t){var i=E(e);return void 0===i[t]&&(i[t]=e.dataset?e.dataset[t]:y(e).attr("data-"+t)),i[t]}function j(e,t){var i=E(e);i?delete i[t]:e.dataset?delete e.dataset[t]:y(e).removeAttr("data-"+name)}g.extend({data:function(e,t){if(u(e))return void 0===t?T(this[0],e):this.each((function(i){return M(i,e,t)}));for(var i in e)this.data(i,e[i]);return this},removeData:function(e){return this.each((function(t){return j(t,e)}))}});var O=/\S+/g;function L(e){return u(e)&&e.match(O)}function D(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className)}function B(e,t,i){e.classList?e.classList.add(t):i.indexOf(" "+t+" ")&&(e.className+=" "+t)}function $(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(t,"")}g.extend({addClass:function(e){var t=L(e);return t?this.each((function(e){var i=" "+e.className+" ";b(t,(function(t){B(e,t,i)}))})):this},attr:function(e,t){if(e){if(u(e))return void 0===t?this[0]?this[0].getAttribute?this[0].getAttribute(e):this[0][e]:void 0:this.each((function(i){i.setAttribute?i.setAttribute(e,t):i[e]=t}));for(var i in e)this.attr(i,e[i]);return this}},hasClass:function(e){var t=!1,i=L(e);return i&&i.length&&this.each((function(e){return!(t=D(e,i[0]))})),t},prop:function(e,t){if(u(e))return void 0===t?this[0][e]:this.each((function(i){i[e]=t}));for(var i in e)this.prop(i,e[i]);return this},removeAttr:function(e){return this.each((function(t){t.removeAttribute?t.removeAttribute(e):delete t[e]}))},removeClass:function(e){if(!arguments.length)return this.attr("class","");var t=L(e);return t?this.each((function(e){b(t,(function(t){$(e,t)}))})):this},removeProp:function(e){return this.each((function(t){delete t[e]}))},toggleClass:function(e,t){if(void 0!==t)return this[t?"addClass":"removeClass"](e);var i=L(e);return i?this.each((function(e){var t=" "+e.className+" ";b(i,(function(i){D(e,i)?$(e,i):B(e,i,t)}))})):this}}),g.extend({add:function(e,t){return C(y.merge(this,y(e,t)))},each:function(e){return b(this,e),this},eq:function(e){return y(this.get(e))},filter:function(e){if(!e)return this;var t=l(e)?e:w(e);return y(a.call(this,(function(i){return t(i,e)})))},first:function(){return this.eq(0)},get:function(e){return void 0===e?s.call(this):e<0?this[e+this.length]:this[e]},index:function(e){var t=e?y(e)[0]:this[0],i=e?this:y(t).parent().children();return s.call(i).indexOf(t)},last:function(){return this.eq(-1)}});var S,I,Q,A,R=(Q=/(?:^\w|[A-Z]|\b\w)/g,A=/[\s-_]+/g,function(e){return e.replace(Q,(function(e,t){return e[0===t?"toLowerCase":"toUpperCase"]()})).replace(A,"")}),P=(S={},I=document.createElement("div").style,function(e){if(e=R(e),S[e])return S[e];var t=e.charAt(0).toUpperCase()+e.slice(1);return b((e+" "+["webkit","moz","ms","o"].join(t+" ")+t).split(" "),(function(t){if(t in I)return S[t]=e=S[e]=t,!1})),S[e]});function H(e,t){return parseInt(i.getComputedStyle(e[0],null)[t],10)||0}function W(e,t,i){var n=T(e,"_cashEvents")||M(e,"_cashEvents",{});n[t]=n[t]||[],n[t].push(i),e.addEventListener(t,i)}function q(e,t,i){var n,s=T(e,"_cashEvents"),a=s&&s[t];a&&(i?(e.removeEventListener(t,i),(n=a.indexOf(i))>=0&&a.splice(n,1)):(b(a,(function(i){e.removeEventListener(t,i)})),a=[]))}function z(e,t){return"&"+encodeURIComponent(e)+"="+encodeURIComponent(t).replace(/%20/g,"+")}function F(e){var t=[];return b(e.options,(function(e){e.selected&&t.push(e.value)})),t.length?t:null}function N(e){var t=e.selectedIndex;return t>=0?e.options[t].value:null}function X(e){var t=e.type;if(!t)return null;switch(t.toLowerCase()){case"select-one":return N(e);case"select-multiple":return F(e);case"radio":case"checkbox":return e.checked?e.value:null;default:return e.value?e.value:null}}function V(e,t,i){if(i){var n=e.childNodes[0];e.insertBefore(t,n)}else e.appendChild(t)}function Y(e,t,i){var n=u(t);n||!t.length?b(e,n?function(e){return e.insertAdjacentHTML(i?"afterbegin":"beforeend",t)}:function(e,n){return V(e,0===n?t:t.cloneNode(!0),i)}):b(t,(function(t){return Y(e,t,i)}))}y.prefixedProp=P,y.camelCase=R,g.extend({css:function(e,t){if(u(e))return e=P(e),arguments.length>1?this.each((function(i){return i.style[e]=t})):i.getComputedStyle(this[0])[e];for(var n in e)this.css(n,e[n]);return this}}),b(["Width","Height"],(function(e){var t=e.toLowerCase();g[t]=function(){return this[0].getBoundingClientRect()[t]},g["inner"+e]=function(){return this[0]["client"+e]},g["outer"+e]=function(t){return this[0]["offset"+e]+(t?H(this,"margin"+("Width"===e?"Left":"Top"))+H(this,"margin"+("Width"===e?"Right":"Bottom")):0)}})),g.extend({off:function(e,t){return this.each((function(i){return q(i,e,t)}))},on:function(e,t,i,n){var s;if(!u(e)){for(var a in e)this.on(a,t,e[a]);return this}return l(t)&&(i=t,t=null),"ready"===e?(_(i),this):(t&&(s=i,i=function(e){for(var i=e.target;!k(i,t);){if(i===this||null===i)return!1;i=i.parentNode}i&&s.call(i,e)}),this.each((function(t){var s=i;n&&(s=function(){i.apply(this,arguments),q(t,e,s)}),W(t,e,s)})))},one:function(e,t,i){return this.on(e,t,i,!0)},ready:_,trigger:function(e,t){if(document.createEvent){var i=document.createEvent("HTMLEvents");return i.initEvent(e,!0,!1),i=this.extend(i,t),this.each((function(e){return e.dispatchEvent(i)}))}}}),g.extend({serialize:function(){var e="";return b(this[0].elements||this,(function(t){if(!t.disabled&&"FIELDSET"!==t.tagName){var i=t.name;switch(t.type.toLowerCase()){case"file":case"reset":case"submit":case"button":break;case"select-multiple":var n=X(t);null!==n&&b(n,(function(t){e+=z(i,t)}));break;default:var s=X(t);null!==s&&(e+=z(i,s))}}})),e.substr(1)},val:function(e){return void 0===e?X(this[0]):this.each((function(t){return t.value=e}))}}),g.extend({after:function(e){return y(e).insertAfter(this),this},append:function(e){return Y(this,e),this},appendTo:function(e){return Y(y(e),this),this},before:function(e){return y(e).insertBefore(this),this},clone:function(){return y(this.map((function(e){return e.cloneNode(!0)})))},empty:function(){return this.html(""),this},html:function(e){if(void 0===e)return this[0].innerHTML;var t=e.nodeType?e[0].outerHTML:e;return this.each((function(e){return e.innerHTML=t}))},insertAfter:function(e){var t=this;return y(e).each((function(e,i){var n=e.parentNode,s=e.nextSibling;t.each((function(e){n.insertBefore(0===i?e:e.cloneNode(!0),s)}))})),this},insertBefore:function(e){var t=this;return y(e).each((function(e,i){var n=e.parentNode;t.each((function(t){n.insertBefore(0===i?t:t.cloneNode(!0),e)}))})),this},prepend:function(e){return Y(this,e,!0),this},prependTo:function(e){return Y(y(e),this,!0),this},remove:function(){return this.each((function(e){if(e.parentNode)return e.parentNode.removeChild(e)}))},text:function(e){return void 0===e?this[0].textContent:this.each((function(t){return t.textContent=e}))}});var K=t.documentElement;return g.extend({position:function(){var e=this[0];return{left:e.offsetLeft,top:e.offsetTop}},offset:function(){var e=this[0].getBoundingClientRect();return{top:e.top+i.pageYOffset-K.clientTop,left:e.left+i.pageXOffset-K.clientLeft}},offsetParent:function(){return y(this[0].offsetParent)}}),g.extend({children:function(e){var t=[];return this.each((function(e){o.apply(t,e.children)})),t=C(t),e?t.filter((function(t){return k(t,e)})):t},closest:function(e){return!e||this.length<1?y():this.is(e)?this.filter(e):this.parent().closest(e)},is:function(e){if(!e)return!1;var t=!1,i=w(e);return this.each((function(n){return!(t=i(n,e))})),t},find:function(e){if(!e||e.nodeType)return y(e&&this.has(e).length?e:null);var t=[];return this.each((function(i){o.apply(t,v(e,i))})),C(t)},has:function(e){var t=u(e)?function(t){return 0!==v(e,t).length}:function(t){return t.contains(e)};return this.filter(t)},next:function(){return y(this[0].nextElementSibling)},not:function(e){if(!e)return this;var t=w(e);return this.filter((function(i){return!t(i,e)}))},parent:function(){var e=[];return this.each((function(t){t&&t.parentNode&&e.push(t.parentNode)})),C(e)},parents:function(e){var i,n=[];return this.each((function(s){for(i=s;i&&i.parentNode&&i!==t.body.parentNode;)i=i.parentNode,(!e||e&&k(i,e))&&n.push(i)})),C(n)},prev:function(){return y(this[0].previousElementSibling)},siblings:function(e){var t=this.parent().children(e),i=this[0];return t.filter((function(e){return e!==i}))}}),y}();var u=function(){function e(t,i,n){l(this,e),i instanceof Element||console.error(Error(i+" is not an HTML Element"));var s=t.getInstance(i);s&&s.destroy(),this.el=i,this.$el=cash(i)}return a(e,null,[{key:"init",value:function(e,t,i){var n=null;if(t instanceof Element)n=new e(t,i);else if(t&&(t.jquery||t.cash||t instanceof NodeList)){for(var s=[],a=0;a<t.length;a++)s.push(new e(t[a],i));n=s}return n}}]),e}();!function(e){e.Package?M={}:e.M={},M.jQueryLoaded=!!e.jQuery}(window),void 0===(n=function(){return M}.apply(t,[]))||(e.exports=n),M.version="1.0.0",M.keys={TAB:9,ENTER:13,ESC:27,ARROW_UP:38,ARROW_DOWN:40},M.tabPressed=!1,M.keyDown=!1;document.addEventListener("keydown",(function(e){M.keyDown=!0,e.which!==M.keys.TAB&&e.which!==M.keys.ARROW_DOWN&&e.which!==M.keys.ARROW_UP||(M.tabPressed=!0)}),!0),document.addEventListener("keyup",(function(e){M.keyDown=!1,e.which!==M.keys.TAB&&e.which!==M.keys.ARROW_DOWN&&e.which!==M.keys.ARROW_UP||(M.tabPressed=!1)}),!0),document.addEventListener("focus",(function(e){M.keyDown&&document.body.classList.add("keyboard-focused")}),!0),document.addEventListener("blur",(function(e){document.body.classList.remove("keyboard-focused")}),!0),M.initializeJqueryWrapper=function(e,t,i){jQuery.fn[t]=function(n){if(e.prototype[n]){var s=Array.prototype.slice.call(arguments,1);if("get"===n.slice(0,3)){var a=this.first()[0][i];return a[n].apply(a,s)}return this.each((function(){var e=this[i];e[n].apply(e,s)}))}if("object"==typeof n||!n)return e.init(this,arguments[0]),this;jQuery.error("Method "+n+" does not exist on jQuery."+t)}},M.AutoInit=function(e){var t=e||document.body,i={Autocomplete:t.querySelectorAll(".autocomplete:not(.no-autoinit)"),Carousel:t.querySelectorAll(".carousel:not(.no-autoinit)"),Chips:t.querySelectorAll(".chips:not(.no-autoinit)"),Collapsible:t.querySelectorAll(".collapsible:not(.no-autoinit)"),Datepicker:t.querySelectorAll(".datepicker:not(.no-autoinit)"),Dropdown:t.querySelectorAll(".dropdown-trigger:not(.no-autoinit)"),Materialbox:t.querySelectorAll(".materialboxed:not(.no-autoinit)"),Modal:t.querySelectorAll(".modal:not(.no-autoinit)"),Parallax:t.querySelectorAll(".parallax:not(.no-autoinit)"),Pushpin:t.querySelectorAll(".pushpin:not(.no-autoinit)"),ScrollSpy:t.querySelectorAll(".scrollspy:not(.no-autoinit)"),FormSelect:t.querySelectorAll("select:not(.no-autoinit)"),Sidenav:t.querySelectorAll(".sidenav:not(.no-autoinit)"),Tabs:t.querySelectorAll(".tabs:not(.no-autoinit)"),TapTarget:t.querySelectorAll(".tap-target:not(.no-autoinit)"),Timepicker:t.querySelectorAll(".timepicker:not(.no-autoinit)"),Tooltip:t.querySelectorAll(".tooltipped:not(.no-autoinit)"),FloatingActionButton:t.querySelectorAll(".fixed-action-btn:not(.no-autoinit)")};for(var n in i){M[n].init(i[n])}},M.objectSelectorString=function(e){return((e.prop("tagName")||"")+(e.attr("id")||"")+(e.attr("class")||"")).replace(/\s/g,"")},M.guid=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}}(),M.escapeHash=function(e){return e.replace(/(:|\.|\[|\]|,|=|\/)/g,"\\$1")},M.elementOrParentIsFixed=function(e){var t=$(e),i=t.add(t.parents()),n=!1;return i.each((function(){if("fixed"===$(this).css("position"))return n=!0,!1})),n},M.checkWithinContainer=function(e,t,i){var n={top:!1,right:!1,bottom:!1,left:!1},s=e.getBoundingClientRect(),a=e===document.body?Math.max(s.bottom,window.innerHeight):s.bottom,o=e.scrollLeft,r=e.scrollTop,l=t.left-o,u=t.top-r;return(l<s.left+i||l<i)&&(n.left=!0),(l+t.width>s.right-i||l+t.width>window.innerWidth-i)&&(n.right=!0),(u<s.top+i||u<i)&&(n.top=!0),(u+t.height>a-i||u+t.height>window.innerHeight-i)&&(n.bottom=!0),n},M.checkPossibleAlignments=function(e,t,i,n){var s={top:!0,right:!0,bottom:!0,left:!0,spaceOnTop:null,spaceOnRight:null,spaceOnBottom:null,spaceOnLeft:null},a="visible"===getComputedStyle(t).overflow,o=t.getBoundingClientRect(),r=Math.min(o.height,window.innerHeight),l=Math.min(o.width,window.innerWidth),u=e.getBoundingClientRect(),d=t.scrollLeft,c=t.scrollTop,h=i.left-d,p=i.top-c,v=i.top+u.height-c;return s.spaceOnRight=a?window.innerWidth-(u.left+i.width):l-(h+i.width),s.spaceOnRight<0&&(s.left=!1),s.spaceOnLeft=a?u.right-i.width:h-i.width+u.width,s.spaceOnLeft<0&&(s.right=!1),s.spaceOnBottom=a?window.innerHeight-(u.top+i.height+n):r-(p+i.height+n),s.spaceOnBottom<0&&(s.top=!1),s.spaceOnTop=a?u.bottom-(i.height+n):v-(i.height-n),s.spaceOnTop<0&&(s.bottom=!1),s},M.getOverflowParent=function(e){return null==e?null:e===document.body||"visible"!==getComputedStyle(e).overflow?e:M.getOverflowParent(e.parentElement)},M.getIdFromTrigger=function(e){var t=e.getAttribute("data-target");return t||(t=(t=e.getAttribute("href"))?t.slice(1):""),t},M.getDocumentScrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},M.getDocumentScrollLeft=function(){return window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0};var d=Date.now||function(){return(new Date).getTime()};M.throttle=function(e,t,i){var n=void 0,s=void 0,a=void 0,o=null,r=0;i||(i={});var l=function(){r=!1===i.leading?0:d(),o=null,a=e.apply(n,s),n=s=null};return function(){var u=d();r||!1!==i.leading||(r=u);var c=t-(u-r);return n=this,s=arguments,c<=0?(clearTimeout(o),o=null,r=u,a=e.apply(n,s),n=s=null):o||!1===i.trailing||(o=setTimeout(l,c)),a}};var c={scope:{}};c.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,i){if(i.get||i.set)throw new TypeError("ES3 does not support getters and setters.");e!=Array.prototype&&e!=Object.prototype&&(e[t]=i.value)},c.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:void 0!==i&&null!=i?i:e},c.global=c.getGlobal(this),c.SYMBOL_PREFIX="jscomp_symbol_",c.initSymbol=function(){c.initSymbol=function(){},c.global.Symbol||(c.global.Symbol=c.Symbol)},c.symbolCounter_=0,c.Symbol=function(e){return c.SYMBOL_PREFIX+(e||"")+c.symbolCounter_++},c.initSymbolIterator=function(){c.initSymbol();var e=c.global.Symbol.iterator;e||(e=c.global.Symbol.iterator=c.global.Symbol("iterator")),"function"!=typeof Array.prototype[e]&&c.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return c.arrayIterator(this)}}),c.initSymbolIterator=function(){}},c.arrayIterator=function(e){var t=0;return c.iteratorPrototype((function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}))},c.iteratorPrototype=function(e){return c.initSymbolIterator(),(e={next:e})[c.global.Symbol.iterator]=function(){return this},e},c.array=c.array||{},c.iteratorFromArray=function(e,t){c.initSymbolIterator(),e instanceof String&&(e+="");var i=0,n={next:function(){if(i<e.length){var s=i++;return{value:t(s,e[s]),done:!1}}return n.next=function(){return{done:!0,value:void 0}},n.next()}};return n[Symbol.iterator]=function(){return n},n},c.polyfill=function(e,t,i,n){if(t){for(i=c.global,e=e.split("."),n=0;n<e.length-1;n++){var s=e[n];s in i||(i[s]={}),i=i[s]}(t=t(n=i[e=e[e.length-1]]))!=n&&null!=t&&c.defineProperty(i,e,{configurable:!0,writable:!0,value:t})}},c.polyfill("Array.prototype.keys",(function(e){return e||function(){return c.iteratorFromArray(this,(function(e){return e}))}}),"es6-impl","es3");var h=this;M.anime=function(){function e(e){if(!R.col(e))try{return document.querySelectorAll(e)}catch(e){}}function t(e,t){for(var i=e.length,n=2<=arguments.length?arguments[1]:void 0,s=[],a=0;a<i;a++)if(a in e){var o=e[a];t.call(n,o,a,e)&&s.push(o)}return s}function i(e){return e.reduce((function(e,t){return e.concat(R.arr(t)?i(t):t)}),[])}function n(t){return R.arr(t)?t:(R.str(t)&&(t=e(t)||t),t instanceof NodeList||t instanceof HTMLCollection?[].slice.call(t):[t])}function s(e,t){return e.some((function(e){return e===t}))}function a(e){var t,i={};for(t in e)i[t]=e[t];return i}function o(e,t){var i,n=a(e);for(i in e)n[i]=t.hasOwnProperty(i)?t[i]:e[i];return n}function r(e,t){var i,n=a(e);for(i in t)n[i]=R.und(e[i])?t[i]:e[i];return n}function l(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,i,n){return t+t+i+i+n+n}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return"rgba("+(e=parseInt(t[1],16))+","+parseInt(t[2],16)+","+(t=parseInt(t[3],16))+",1)"}function u(e){function t(e,t,i){return 0>i&&(i+=1),1<i&&--i,i<1/6?e+6*(t-e)*i:.5>i?t:i<2/3?e+(t-e)*(2/3-i)*6:e}var i=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e);e=parseInt(i[1])/360;var n=parseInt(i[2])/100,s=parseInt(i[3])/100;if(i=i[4]||1,0==n)s=n=e=s;else{var a=.5>s?s*(1+n):s+n-s*n,o=2*s-a;s=t(o,a,e+1/3),n=t(o,a,e),e=t(o,a,e-1/3)}return"rgba("+255*s+","+255*n+","+255*e+","+i+")"}function d(e){if(e=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e))return e[2]}function c(e){return-1<e.indexOf("translate")||"perspective"===e?"px":-1<e.indexOf("rotate")||-1<e.indexOf("skew")?"deg":void 0}function p(e,t){return R.fnc(e)?e(t.target,t.id,t.total):e}function v(e,t){if(t in e.style)return getComputedStyle(e).getPropertyValue(t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function f(e,t){return R.dom(e)&&s(A,t)?"transform":R.dom(e)&&(e.getAttribute(t)||R.svg(e)&&e[t])?"attribute":R.dom(e)&&"transform"!==t&&v(e,t)?"css":null!=e[t]?"object":void 0}function _(e,i){var n=c(i);if(n=-1<i.indexOf("scale")?1:0+n,!(e=e.style.transform))return n;for(var s=[],a=[],o=[],r=/(\w+)\((.+?)\)/g;s=r.exec(e);)a.push(s[1]),o.push(s[2]);return e=t(o,(function(e,t){return a[t]===i})),e.length?e[0]:n}function m(e,t){switch(f(e,t)){case"transform":return _(e,t);case"css":return v(e,t);case"attribute":return e.getAttribute(t)}return e[t]||0}function y(e,t){var i=/^(\*=|\+=|-=)/.exec(e);if(!i)return e;var n=d(e)||0;switch(t=parseFloat(t),e=parseFloat(e.replace(i[0],"")),i[0][0]){case"+":return t+e+n;case"-":return t-e+n;case"*":return t*e+n}}function g(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function b(e){e=e.points;for(var t,i=0,n=0;n<e.numberOfItems;n++){var s=e.getItem(n);0<n&&(i+=g(t,s)),t=s}return i}function k(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return 2*Math.PI*e.getAttribute("r");case"rect":return 2*e.getAttribute("width")+2*e.getAttribute("height");case"line":return g({x:e.getAttribute("x1"),y:e.getAttribute("y1")},{x:e.getAttribute("x2"),y:e.getAttribute("y2")});case"polyline":return b(e);case"polygon":var t=e.points;return b(e)+g(t.getItem(t.numberOfItems-1),t.getItem(0))}}function w(e,t){function i(i){return i=void 0===i?0:i,e.el.getPointAtLength(1<=t+i?t+i:0)}var n=i(),s=i(-1),a=i(1);switch(e.property){case"x":return n.x;case"y":return n.y;case"angle":return 180*Math.atan2(a.y-s.y,a.x-s.x)/Math.PI}}function C(e,t){var i,n=/-?\d*\.?\d+/g;if(i=R.pth(e)?e.totalLength:e,R.col(i))if(R.rgb(i)){var s=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(i);i=s?"rgba("+s[1]+",1)":i}else i=R.hex(i)?l(i):R.hsl(i)?u(i):void 0;else s=(s=d(i))?i.substr(0,i.length-s.length):i,i=t&&!/\s/g.test(i)?s+t:s;return{original:i+="",numbers:i.match(n)?i.match(n).map(Number):[0],strings:R.str(e)||t?i.split(n):[]}}function x(e){return t(e=e?i(R.arr(e)?e.map(n):n(e)):[],(function(e,t,i){return i.indexOf(e)===t}))}function E(e){var t=x(e);return t.map((function(e,i){return{target:e,id:i,total:t.length}}))}function M(e,t){var i=a(t);if(R.arr(e)){var s=e.length;2!==s||R.obj(e[0])?R.fnc(t.duration)||(i.duration=t.duration/s):e={value:e}}return n(e).map((function(e,i){return i=i?0:t.delay,e=R.obj(e)&&!R.pth(e)?e:{value:e},R.und(e.delay)&&(e.delay=i),e})).map((function(e){return r(e,i)}))}function T(e,t){var i,n={};for(i in e){var s=p(e[i],t);R.arr(s)&&(s=s.map((function(e){return p(e,t)})),1===s.length&&(s=s[0])),n[i]=s}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}function j(e){return R.arr(e)?P.apply(this,e):H[e]}function O(e,t){var i;return e.tweens.map((function(n){var s=(n=T(n,t)).value,a=m(t.target,e.name),o=i?i.to.original:a,r=(o=R.arr(s)?s[0]:o,y(R.arr(s)?s[1]:s,o));return a=d(r)||d(o)||d(a),n.from=C(o,a),n.to=C(r,a),n.start=i?i.end:e.offset,n.end=n.start+n.delay+n.duration,n.easing=j(n.easing),n.elasticity=(1e3-Math.min(Math.max(n.elasticity,1),999))/1e3,n.isPath=R.pth(s),n.isColor=R.col(n.from.original),n.isColor&&(n.round=1),i=n}))}function L(e,n){return t(i(e.map((function(e){return n.map((function(t){var i=f(e.target,t.name);if(i){var n=O(t,e);t={type:i,property:t.name,animatable:e,tweens:n,duration:n[n.length-1].end,delay:n[0].delay}}else t=void 0;return t}))}))),(function(e){return!R.und(e)}))}function D(e,t,i,n){var s="delay"===e;return t.length?(s?Math.min:Math.max).apply(Math,t.map((function(t){return t[e]}))):s?n.delay:i.offset+n.delay+n.duration}function B(e){var t,i=o(I,e),n=o(Q,e),s=E(e.targets),a=[],l=r(i,n);for(t in e)l.hasOwnProperty(t)||"targets"===t||a.push({name:t,offset:l.offset,tweens:M(e[t],n)});return r(i,{children:[],animatables:s,animations:e=L(s,a),duration:D("duration",e,i,n),delay:D("delay",e,i,n)})}function $(e){function i(){return window.Promise&&new Promise((function(e){return c=e}))}function n(e){return p.reversed?p.duration-e:e}function s(e){for(var i=0,n={},s=p.animations,a=s.length;i<a;){var o=s[i],r=o.animatable,l=(u=o.tweens)[h=u.length-1];h&&(l=t(u,(function(t){return e<t.end}))[0]||l);for(var u=Math.min(Math.max(e-l.start-l.delay,0),l.duration)/l.duration,d=isNaN(u)?1:l.easing(u,l.elasticity),c=(u=l.to.strings,l.round),h=[],f=void 0,_=(f=l.to.numbers.length,0);_<f;_++){var m=void 0,y=(m=l.to.numbers[_],l.from.numbers[_]);m=l.isPath?w(l.value,d*m):y+d*(m-y),c&&(l.isColor&&2<_||(m=Math.round(m*c)/c)),h.push(m)}if(l=u.length)for(f=u[0],d=0;d<l;d++)c=u[d+1],_=h[d],isNaN(_)||(f=c?f+(_+c):f+(_+" "));else f=h[0];W[o.type](r.target,o.property,f,n,r.id),o.currentValue=f,i++}if(i=Object.keys(n).length)for(s=0;s<i;s++)S||(S=v(document.body,"transform")?"transform":"-webkit-transform"),p.animatables[s].target.style[S]=n[s].join(" ");p.currentTime=e,p.progress=e/p.duration*100}function a(e){p[e]&&p[e](p)}function o(){p.remaining&&!0!==p.remaining&&p.remaining--}function r(e){var t=p.duration,r=p.offset,v=r+p.delay,f=p.currentTime,_=p.reversed,m=n(e);if(p.children.length){var y=p.children,g=y.length;if(m>=p.currentTime)for(var b=0;b<g;b++)y[b].seek(m);else for(;g--;)y[g].seek(m)}(m>=v||!t)&&(p.began||(p.began=!0,a("begin")),a("run")),m>r&&m<t?s(m):(m<=r&&0!==f&&(s(0),_&&o()),(m>=t&&f!==t||!t)&&(s(t),_||o())),a("update"),e>=t&&(p.remaining?(u=l,"alternate"===p.direction&&(p.reversed=!p.reversed)):(p.pause(),p.completed||(p.completed=!0,a("complete"),"Promise"in window&&(c(),h=i()))),d=0)}e=void 0===e?{}:e;var l,u,d=0,c=null,h=i(),p=B(e);return p.reset=function(){var e=p.direction,t=p.loop;for(p.currentTime=0,p.progress=0,p.paused=!0,p.began=!1,p.completed=!1,p.reversed="reverse"===e,p.remaining="alternate"===e&&1===t?2:t,s(0),e=p.children.length;e--;)p.children[e].reset()},p.tick=function(e){l=e,u||(u=l),r((d+l-u)*$.speed)},p.seek=function(e){r(n(e))},p.pause=function(){var e=q.indexOf(p);-1<e&&q.splice(e,1),p.paused=!0},p.play=function(){p.paused&&(p.paused=!1,u=0,d=n(p.currentTime),q.push(p),z||F())},p.reverse=function(){p.reversed=!p.reversed,u=0,d=n(p.currentTime)},p.restart=function(){p.pause(),p.reset(),p.play()},p.finished=h,p.reset(),p.autoplay&&p.play(),p}var S,I={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},Q={duration:1e3,delay:0,easing:"easeOutElastic",elasticity:500,round:0},A="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective".split(" "),R={arr:function(e){return Array.isArray(e)},obj:function(e){return-1<Object.prototype.toString.call(e).indexOf("Object")},pth:function(e){return R.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},dom:function(e){return e.nodeType||R.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return R.hex(e)||R.rgb(e)||R.hsl(e)}},P=function(){function e(e,t,i){return(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e}return function(t,i,n,s){if(0<=t&&1>=t&&0<=n&&1>=n){var a=new Float32Array(11);if(t!==i||n!==s)for(var o=0;11>o;++o)a[o]=e(.1*o,t,n);return function(o){if(t===i&&n===s)return o;if(0===o)return 0;if(1===o)return 1;for(var r=0,l=1;10!==l&&a[l]<=o;++l)r+=.1;--l,l=r+(o-a[l])/(a[l+1]-a[l])*.1;var u=3*(1-3*n+3*t)*l*l+2*(3*n-6*t)*l+3*t;if(.001<=u){for(r=0;4>r&&0!=(u=3*(1-3*n+3*t)*l*l+2*(3*n-6*t)*l+3*t);++r){var d=e(l,t,n)-o;l-=d/u}o=l}else if(0===u)o=l;else{l=r,r+=.1;var c=0;do{0<(u=e(d=l+(r-l)/2,t,n)-o)?r=d:l=d}while(1e-7<Math.abs(u)&&10>++c);o=d}return e(o,i,s)}}}}(),H=function(){function e(e,t){return 0===e||1===e?e:-Math.pow(2,10*(e-1))*Math.sin(2*(e-1-t/(2*Math.PI)*Math.asin(1))*Math.PI/t)}var t,i="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),n={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],e],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(t,i){return 1-e(1-t,i)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(t,i){return.5>t?e(2*t,i)/2:1-e(-2*t+2,i)/2}]},s={linear:P(.25,.25,.75,.75)},a={};for(t in n)a.type=t,n[a.type].forEach(function(e){return function(t,n){s["ease"+e.type+i[n]]=R.fnc(t)?t:P.apply(h,t)}}(a)),a={type:a.type};return s}(),W={css:function(e,t,i){return e.style[t]=i},attribute:function(e,t,i){return e.setAttribute(t,i)},object:function(e,t,i){return e[t]=i},transform:function(e,t,i,n,s){n[s]||(n[s]=[]),n[s].push(t+"("+i+")")}},q=[],z=0,F=function(){function e(){z=requestAnimationFrame(t)}function t(t){var i=q.length;if(i){for(var n=0;n<i;)q[n]&&q[n].tick(t),n++;e()}else cancelAnimationFrame(z),z=0}return e}();return $.version="2.2.0",$.speed=1,$.running=q,$.remove=function(e){e=x(e);for(var t=q.length;t--;)for(var i=q[t],n=i.animations,a=n.length;a--;)s(e,n[a].animatable.target)&&(n.splice(a,1),n.length||i.pause())},$.getValue=m,$.path=function(t,i){var n=R.str(t)?e(t)[0]:t,s=i||100;return function(e){return{el:n,property:e,totalLength:k(n)*(s/100)}}},$.setDashoffset=function(e){var t=k(e);return e.setAttribute("stroke-dasharray",t),t},$.bezier=P,$.easings=H,$.timeline=function(e){var t=$(e);return t.pause(),t.duration=0,t.add=function(i){return t.children.forEach((function(e){e.began=!0,e.completed=!0})),n(i).forEach((function(i){var n=r(i,o(Q,e||{}));n.targets=n.targets||e.targets,i=t.duration;var s=n.offset;n.autoplay=!1,n.direction=t.direction,n.offset=R.und(s)?i:y(s,i),t.began=!0,t.completed=!0,t.seek(n.offset),(n=$(n)).began=!0,n.completed=!0,n.duration>i&&(t.duration=n.duration),t.children.push(n)})),t.seek(0),t.reset(),t.autoplay&&t.restart(),t},t},$.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e},$}(),function(e,t){"use strict";var i={accordion:!0,onOpenStart:void 0,onOpenEnd:void 0,onCloseStart:void 0,onCloseEnd:void 0,inDuration:300,outDuration:300},n=function(n){function u(t,i){l(this,u);var n=o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));n.el.M_Collapsible=n,n.options=e.extend({},u.defaults,i),n.$headers=n.$el.children("li").children(".collapsible-header"),n.$headers.attr("tabindex",0),n._setupEventHandlers();var s=n.$el.children("li.active").children(".collapsible-body");return n.options.accordion?s.first().css("display","block"):s.css("display","block"),n}return r(u,n),a(u,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_Collapsible=void 0}},{key:"_setupEventHandlers",value:function(){var e=this;this._handleCollapsibleClickBound=this._handleCollapsibleClick.bind(this),this._handleCollapsibleKeydownBound=this._handleCollapsibleKeydown.bind(this),this.el.addEventListener("click",this._handleCollapsibleClickBound),this.$headers.each((function(t){t.addEventListener("keydown",e._handleCollapsibleKeydownBound)}))}},{key:"_removeEventHandlers",value:function(){var e=this;this.el.removeEventListener("click",this._handleCollapsibleClickBound),this.$headers.each((function(t){t.removeEventListener("keydown",e._handleCollapsibleKeydownBound)}))}},{key:"_handleCollapsibleClick",value:function(t){var i=e(t.target).closest(".collapsible-header");if(t.target&&i.length){var n=i.closest(".collapsible");if(n[0]===this.el){var s=i.closest("li"),a=n.children("li"),o=s[0].classList.contains("active"),r=a.index(s);o?this.close(r):this.open(r)}}}},{key:"_handleCollapsibleKeydown",value:function(e){13===e.keyCode&&this._handleCollapsibleClickBound(e)}},{key:"_animateIn",value:function(e){var i=this,n=this.$el.children("li").eq(e);if(n.length){var s=n.children(".collapsible-body");t.remove(s[0]),s.css({display:"block",overflow:"hidden",height:0,paddingTop:"",paddingBottom:""});var a=s.css("padding-top"),o=s.css("padding-bottom"),r=s[0].scrollHeight;s.css({paddingTop:0,paddingBottom:0}),t({targets:s[0],height:r,paddingTop:a,paddingBottom:o,duration:this.options.inDuration,easing:"easeInOutCubic",complete:function(e){s.css({overflow:"",paddingTop:"",paddingBottom:"",height:""}),"function"==typeof i.options.onOpenEnd&&i.options.onOpenEnd.call(i,n[0])}})}}},{key:"_animateOut",value:function(e){var i=this,n=this.$el.children("li").eq(e);if(n.length){var s=n.children(".collapsible-body");t.remove(s[0]),s.css("overflow","hidden"),t({targets:s[0],height:0,paddingTop:0,paddingBottom:0,duration:this.options.outDuration,easing:"easeInOutCubic",complete:function(){s.css({height:"",overflow:"",padding:"",display:""}),"function"==typeof i.options.onCloseEnd&&i.options.onCloseEnd.call(i,n[0])}})}}},{key:"open",value:function(t){var i=this,n=this.$el.children("li").eq(t);if(n.length&&!n[0].classList.contains("active")){if("function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,n[0]),this.options.accordion){var s=this.$el.children("li");this.$el.children("li.active").each((function(t){var n=s.index(e(t));i.close(n)}))}n[0].classList.add("active"),this._animateIn(t)}}},{key:"close",value:function(e){var t=this.$el.children("li").eq(e);t.length&&t[0].classList.contains("active")&&("function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,t[0]),t[0].classList.remove("active"),this._animateOut(e))}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Collapsible}},{key:"defaults",get:function(){return i}}]),u}(u);M.Collapsible=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"collapsible","M_Collapsible")}(cash,M.anime),function(e,t){"use strict";var i={alignment:"left",autoFocus:!0,constrainWidth:!0,container:null,coverTrigger:!0,closeOnClick:!0,hover:!1,inDuration:150,outDuration:250,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,onItemClick:null},n=function(n){function u(t,i){l(this,u);var n=o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_Dropdown=n,u._dropdowns.push(n),n.id=M.getIdFromTrigger(t),n.dropdownEl=document.getElementById(n.id),n.$dropdownEl=e(n.dropdownEl),n.options=e.extend({},u.defaults,i),n.isOpen=!1,n.isScrollable=!1,n.isTouchMoving=!1,n.focusedIndex=-1,n.filterQuery=[],n.options.container?e(n.options.container).append(n.dropdownEl):n.$el.after(n.dropdownEl),n._makeDropdownFocusable(),n._resetFilterQueryBound=n._resetFilterQuery.bind(n),n._handleDocumentClickBound=n._handleDocumentClick.bind(n),n._handleDocumentTouchmoveBound=n._handleDocumentTouchmove.bind(n),n._handleDropdownClickBound=n._handleDropdownClick.bind(n),n._handleDropdownKeydownBound=n._handleDropdownKeydown.bind(n),n._handleTriggerKeydownBound=n._handleTriggerKeydown.bind(n),n._setupEventHandlers(),n}return r(u,n),a(u,[{key:"destroy",value:function(){this._resetDropdownStyles(),this._removeEventHandlers(),u._dropdowns.splice(u._dropdowns.indexOf(this),1),this.el.M_Dropdown=void 0}},{key:"_setupEventHandlers",value:function(){this.el.addEventListener("keydown",this._handleTriggerKeydownBound),this.dropdownEl.addEventListener("click",this._handleDropdownClickBound),this.options.hover?(this._handleMouseEnterBound=this._handleMouseEnter.bind(this),this.el.addEventListener("mouseenter",this._handleMouseEnterBound),this._handleMouseLeaveBound=this._handleMouseLeave.bind(this),this.el.addEventListener("mouseleave",this._handleMouseLeaveBound),this.dropdownEl.addEventListener("mouseleave",this._handleMouseLeaveBound)):(this._handleClickBound=this._handleClick.bind(this),this.el.addEventListener("click",this._handleClickBound))}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("keydown",this._handleTriggerKeydownBound),this.dropdownEl.removeEventListener("click",this._handleDropdownClickBound),this.options.hover?(this.el.removeEventListener("mouseenter",this._handleMouseEnterBound),this.el.removeEventListener("mouseleave",this._handleMouseLeaveBound),this.dropdownEl.removeEventListener("mouseleave",this._handleMouseLeaveBound)):this.el.removeEventListener("click",this._handleClickBound)}},{key:"_setupTemporaryEventHandlers",value:function(){document.body.addEventListener("click",this._handleDocumentClickBound,!0),document.body.addEventListener("touchend",this._handleDocumentClickBound),document.body.addEventListener("touchmove",this._handleDocumentTouchmoveBound),this.dropdownEl.addEventListener("keydown",this._handleDropdownKeydownBound)}},{key:"_removeTemporaryEventHandlers",value:function(){document.body.removeEventListener("click",this._handleDocumentClickBound,!0),document.body.removeEventListener("touchend",this._handleDocumentClickBound),document.body.removeEventListener("touchmove",this._handleDocumentTouchmoveBound),this.dropdownEl.removeEventListener("keydown",this._handleDropdownKeydownBound)}},{key:"_handleClick",value:function(e){e.preventDefault(),this.open()}},{key:"_handleMouseEnter",value:function(){this.open()}},{key:"_handleMouseLeave",value:function(t){var i=t.toElement||t.relatedTarget,n=!!e(i).closest(".dropdown-content").length,s=!1,a=e(i).closest(".dropdown-trigger");a.length&&a[0].M_Dropdown&&a[0].M_Dropdown.isOpen&&(s=!0),s||n||this.close()}},{key:"_handleDocumentClick",value:function(t){var i=this,n=e(t.target);this.options.closeOnClick&&n.closest(".dropdown-content").length&&!this.isTouchMoving?setTimeout((function(){i.close()}),0):!n.closest(".dropdown-trigger").length&&n.closest(".dropdown-content").length||setTimeout((function(){i.close()}),0),this.isTouchMoving=!1}},{key:"_handleTriggerKeydown",value:function(e){e.which!==M.keys.ARROW_DOWN&&e.which!==M.keys.ENTER||this.isOpen||(e.preventDefault(),this.open())}},{key:"_handleDocumentTouchmove",value:function(t){e(t.target).closest(".dropdown-content").length&&(this.isTouchMoving=!0)}},{key:"_handleDropdownClick",value:function(t){if("function"==typeof this.options.onItemClick){var i=e(t.target).closest("li")[0];this.options.onItemClick.call(this,i)}}},{key:"_handleDropdownKeydown",value:function(t){if(t.which===M.keys.TAB)t.preventDefault(),this.close();else if(t.which!==M.keys.ARROW_DOWN&&t.which!==M.keys.ARROW_UP||!this.isOpen)if(t.which===M.keys.ENTER&&this.isOpen){var i=this.dropdownEl.children[this.focusedIndex],n=e(i).find("a, button").first();n.length?n[0].click():i&&i.click()}else t.which===M.keys.ESC&&this.isOpen&&(t.preventDefault(),this.close());else{t.preventDefault();var s=t.which===M.keys.ARROW_DOWN?1:-1,a=this.focusedIndex,o=!1;do{if(a+=s,this.dropdownEl.children[a]&&-1!==this.dropdownEl.children[a].tabIndex){o=!0;break}}while(a<this.dropdownEl.children.length&&a>=0);o&&(this.focusedIndex=a,this._focusFocusedItem())}var r=String.fromCharCode(t.which).toLowerCase();if(r&&-1===[9,13,27,38,40].indexOf(t.which)){this.filterQuery.push(r);var l=this.filterQuery.join(""),u=e(this.dropdownEl).find("li").filter((function(t){return 0===e(t).text().toLowerCase().indexOf(l)}))[0];u&&(this.focusedIndex=e(u).index(),this._focusFocusedItem())}this.filterTimeout=setTimeout(this._resetFilterQueryBound,1e3)}},{key:"_resetFilterQuery",value:function(){this.filterQuery=[]}},{key:"_resetDropdownStyles",value:function(){this.$dropdownEl.css({display:"",width:"",height:"",left:"",top:"","transform-origin":"",transform:"",opacity:""})}},{key:"_makeDropdownFocusable",value:function(){this.dropdownEl.tabIndex=0,e(this.dropdownEl).children().each((function(e){e.getAttribute("tabindex")||e.setAttribute("tabindex",0)}))}},{key:"_focusFocusedItem",value:function(){this.focusedIndex>=0&&this.focusedIndex<this.dropdownEl.children.length&&this.options.autoFocus&&this.dropdownEl.children[this.focusedIndex].focus()}},{key:"_getDropdownPosition",value:function(){this.el.offsetParent.getBoundingClientRect();var e=this.el.getBoundingClientRect(),t=this.dropdownEl.getBoundingClientRect(),i=t.height,n=t.width,s=e.left-t.left,a=e.top-t.top,o={left:s,top:a,height:i,width:n},r=this.dropdownEl.offsetParent?this.dropdownEl.offsetParent:this.dropdownEl.parentNode,l=M.checkPossibleAlignments(this.el,r,o,this.options.coverTrigger?0:e.height),u="top",d=this.options.alignment;if(a+=this.options.coverTrigger?0:e.height,this.isScrollable=!1,l.top||(l.bottom?u="bottom":(this.isScrollable=!0,l.spaceOnTop>l.spaceOnBottom?(u="bottom",i+=l.spaceOnTop,a-=l.spaceOnTop):i+=l.spaceOnBottom)),!l[d]){var c="left"===d?"right":"left";l[c]?d=c:l.spaceOnLeft>l.spaceOnRight?(d="right",n+=l.spaceOnLeft,s-=l.spaceOnLeft):(d="left",n+=l.spaceOnRight)}return"bottom"===u&&(a=a-t.height+(this.options.coverTrigger?e.height:0)),"right"===d&&(s=s-t.width+e.width),{x:s,y:a,verticalAlignment:u,horizontalAlignment:d,height:i,width:n}}},{key:"_animateIn",value:function(){var e=this;t.remove(this.dropdownEl),t({targets:this.dropdownEl,opacity:{value:[0,1],easing:"easeOutQuad"},scaleX:[.3,1],scaleY:[.3,1],duration:this.options.inDuration,easing:"easeOutQuint",complete:function(t){e.options.autoFocus&&e.dropdownEl.focus(),"function"==typeof e.options.onOpenEnd&&e.options.onOpenEnd.call(e,e.el)}})}},{key:"_animateOut",value:function(){var e=this;t.remove(this.dropdownEl),t({targets:this.dropdownEl,opacity:{value:0,easing:"easeOutQuint"},scaleX:.3,scaleY:.3,duration:this.options.outDuration,easing:"easeOutQuint",complete:function(t){e._resetDropdownStyles(),"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e,e.el)}})}},{key:"_placeDropdown",value:function(){var e=this.options.constrainWidth?this.el.getBoundingClientRect().width:this.dropdownEl.getBoundingClientRect().width;this.dropdownEl.style.width=e+"px";var t=this._getDropdownPosition();this.dropdownEl.style.left=t.x+"px",this.dropdownEl.style.top=t.y+"px",this.dropdownEl.style.height=t.height+"px",this.dropdownEl.style.width=t.width+"px",this.dropdownEl.style.transformOrigin=("left"===t.horizontalAlignment?"0":"100%")+" "+("top"===t.verticalAlignment?"0":"100%")}},{key:"open",value:function(){this.isOpen||(this.isOpen=!0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el),this._resetDropdownStyles(),this.dropdownEl.style.display="block",this._placeDropdown(),this._animateIn(),this._setupTemporaryEventHandlers())}},{key:"close",value:function(){this.isOpen&&(this.isOpen=!1,this.focusedIndex=-1,"function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,this.el),this._animateOut(),this._removeTemporaryEventHandlers(),this.options.autoFocus&&this.el.focus())}},{key:"recalculateDimensions",value:function(){this.isOpen&&(this.$dropdownEl.css({width:"",height:"",left:"",top:"","transform-origin":""}),this._placeDropdown())}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Dropdown}},{key:"defaults",get:function(){return i}}]),u}(u);n._dropdowns=[],M.Dropdown=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"dropdown","M_Dropdown")}(cash,M.anime),function(e,t){"use strict";var i={opacity:.5,inDuration:250,outDuration:250,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,preventScrolling:!0,dismissible:!0,startingTop:"4%",endingTop:"10%"},n=function(n){function u(t,i){l(this,u);var n=o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_Modal=n,n.options=e.extend({},u.defaults,i),n.isOpen=!1,n.id=n.$el.attr("id"),n._openingTrigger=void 0,n.$overlay=e('<div class="modal-overlay"></div>'),n.el.tabIndex=0,n._nthModalOpened=0,u._count++,n._setupEventHandlers(),n}return r(u,n),a(u,[{key:"destroy",value:function(){u._count--,this._removeEventHandlers(),this.el.removeAttribute("style"),this.$overlay.remove(),this.el.M_Modal=void 0}},{key:"_setupEventHandlers",value:function(){this._handleOverlayClickBound=this._handleOverlayClick.bind(this),this._handleModalCloseClickBound=this._handleModalCloseClick.bind(this),1===u._count&&document.body.addEventListener("click",this._handleTriggerClick),this.$overlay[0].addEventListener("click",this._handleOverlayClickBound),this.el.addEventListener("click",this._handleModalCloseClickBound)}},{key:"_removeEventHandlers",value:function(){0===u._count&&document.body.removeEventListener("click",this._handleTriggerClick),this.$overlay[0].removeEventListener("click",this._handleOverlayClickBound),this.el.removeEventListener("click",this._handleModalCloseClickBound)}},{key:"_handleTriggerClick",value:function(t){var i=e(t.target).closest(".modal-trigger");if(i.length){var n=M.getIdFromTrigger(i[0]),s=document.getElementById(n).M_Modal;s&&s.open(i),t.preventDefault()}}},{key:"_handleOverlayClick",value:function(){this.options.dismissible&&this.close()}},{key:"_handleModalCloseClick",value:function(t){e(t.target).closest(".modal-close").length&&this.close()}},{key:"_handleKeydown",value:function(e){27===e.keyCode&&this.options.dismissible&&this.close()}},{key:"_handleFocus",value:function(e){this.el.contains(e.target)||this._nthModalOpened!==u._modalsOpen||this.el.focus()}},{key:"_animateIn",value:function(){var i=this;e.extend(this.el.style,{display:"block",opacity:0}),e.extend(this.$overlay[0].style,{display:"block",opacity:0}),t({targets:this.$overlay[0],opacity:this.options.opacity,duration:this.options.inDuration,easing:"easeOutQuad"});var n={targets:this.el,duration:this.options.inDuration,easing:"easeOutCubic",complete:function(){"function"==typeof i.options.onOpenEnd&&i.options.onOpenEnd.call(i,i.el,i._openingTrigger)}};this.el.classList.contains("bottom-sheet")?(e.extend(n,{bottom:0,opacity:1}),t(n)):(e.extend(n,{top:[this.options.startingTop,this.options.endingTop],opacity:1,scaleX:[.8,1],scaleY:[.8,1]}),t(n))}},{key:"_animateOut",value:function(){var i=this;t({targets:this.$overlay[0],opacity:0,duration:this.options.outDuration,easing:"easeOutQuart"});var n={targets:this.el,duration:this.options.outDuration,easing:"easeOutCubic",complete:function(){i.el.style.display="none",i.$overlay.remove(),"function"==typeof i.options.onCloseEnd&&i.options.onCloseEnd.call(i,i.el)}};this.el.classList.contains("bottom-sheet")?(e.extend(n,{bottom:"-100%",opacity:0}),t(n)):(e.extend(n,{top:[this.options.endingTop,this.options.startingTop],opacity:0,scaleX:.8,scaleY:.8}),t(n))}},{key:"open",value:function(e){if(!this.isOpen)return this.isOpen=!0,u._modalsOpen++,this._nthModalOpened=u._modalsOpen,this.$overlay[0].style.zIndex=1e3+2*u._modalsOpen,this.el.style.zIndex=1e3+2*u._modalsOpen+1,this._openingTrigger=e?e[0]:void 0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el,this._openingTrigger),this.options.preventScrolling&&(document.body.style.overflow="hidden"),this.el.classList.add("open"),this.el.insertAdjacentElement("afterend",this.$overlay[0]),this.options.dismissible&&(this._handleKeydownBound=this._handleKeydown.bind(this),this._handleFocusBound=this._handleFocus.bind(this),document.addEventListener("keydown",this._handleKeydownBound),document.addEventListener("focus",this._handleFocusBound,!0)),t.remove(this.el),t.remove(this.$overlay[0]),this._animateIn(),this.el.focus(),this}},{key:"close",value:function(){if(this.isOpen)return this.isOpen=!1,u._modalsOpen--,this._nthModalOpened=0,"function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,this.el),this.el.classList.remove("open"),0===u._modalsOpen&&(document.body.style.overflow=""),this.options.dismissible&&(document.removeEventListener("keydown",this._handleKeydownBound),document.removeEventListener("focus",this._handleFocusBound,!0)),t.remove(this.el),t.remove(this.$overlay[0]),this._animateOut(),this}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Modal}},{key:"defaults",get:function(){return i}}]),u}(u);n._modalsOpen=0,n._count=0,M.Modal=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"modal","M_Modal")}(cash,M.anime),function(e,t){"use strict";var i={inDuration:275,outDuration:200,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null},n=function(n){function u(t,i){l(this,u);var n=o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_Materialbox=n,n.options=e.extend({},u.defaults,i),n.overlayActive=!1,n.doneAnimating=!0,n.placeholder=e("<div></div>").addClass("material-placeholder"),n.originalWidth=0,n.originalHeight=0,n.originInlineStyles=n.$el.attr("style"),n.caption=n.el.getAttribute("data-caption")||"",n.$el.before(n.placeholder),n.placeholder.append(n.$el),n._setupEventHandlers(),n}return r(u,n),a(u,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_Materialbox=void 0,e(this.placeholder).after(this.el).remove(),this.$el.removeAttr("style")}},{key:"_setupEventHandlers",value:function(){this._handleMaterialboxClickBound=this._handleMaterialboxClick.bind(this),this.el.addEventListener("click",this._handleMaterialboxClickBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleMaterialboxClickBound)}},{key:"_handleMaterialboxClick",value:function(e){!1===this.doneAnimating||this.overlayActive&&this.doneAnimating?this.close():this.open()}},{key:"_handleWindowScroll",value:function(){this.overlayActive&&this.close()}},{key:"_handleWindowResize",value:function(){this.overlayActive&&this.close()}},{key:"_handleWindowEscape",value:function(e){27===e.keyCode&&this.doneAnimating&&this.overlayActive&&this.close()}},{key:"_makeAncestorsOverflowVisible",value:function(){this.ancestorsChanged=e();for(var t=this.placeholder[0].parentNode;null!==t&&!e(t).is(document);){var i=e(t);"visible"!==i.css("overflow")&&(i.css("overflow","visible"),void 0===this.ancestorsChanged?this.ancestorsChanged=i:this.ancestorsChanged=this.ancestorsChanged.add(i)),t=t.parentNode}}},{key:"_animateImageIn",value:function(){var e=this,i={targets:this.el,height:[this.originalHeight,this.newHeight],width:[this.originalWidth,this.newWidth],left:M.getDocumentScrollLeft()+this.windowWidth/2-this.placeholder.offset().left-this.newWidth/2,top:M.getDocumentScrollTop()+this.windowHeight/2-this.placeholder.offset().top-this.newHeight/2,duration:this.options.inDuration,easing:"easeOutQuad",complete:function(){e.doneAnimating=!0,"function"==typeof e.options.onOpenEnd&&e.options.onOpenEnd.call(e,e.el)}};this.maxWidth=this.$el.css("max-width"),this.maxHeight=this.$el.css("max-height"),"none"!==this.maxWidth&&(i.maxWidth=this.newWidth),"none"!==this.maxHeight&&(i.maxHeight=this.newHeight),t(i)}},{key:"_animateImageOut",value:function(){var e=this,i={targets:this.el,width:this.originalWidth,height:this.originalHeight,left:0,top:0,duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){e.placeholder.css({height:"",width:"",position:"",top:"",left:""}),e.attrWidth&&e.$el.attr("width",e.attrWidth),e.attrHeight&&e.$el.attr("height",e.attrHeight),e.$el.removeAttr("style"),e.originInlineStyles&&e.$el.attr("style",e.originInlineStyles),e.$el.removeClass("active"),e.doneAnimating=!0,e.ancestorsChanged.length&&e.ancestorsChanged.css("overflow",""),"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e,e.el)}};t(i)}},{key:"_updateVars",value:function(){this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight,this.caption=this.el.getAttribute("data-caption")||""}},{key:"open",value:function(){var i=this;this._updateVars(),this.originalWidth=this.el.getBoundingClientRect().width,this.originalHeight=this.el.getBoundingClientRect().height,this.doneAnimating=!1,this.$el.addClass("active"),this.overlayActive=!0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el),this.placeholder.css({width:this.placeholder[0].getBoundingClientRect().width+"px",height:this.placeholder[0].getBoundingClientRect().height+"px",position:"relative",top:0,left:0}),this._makeAncestorsOverflowVisible(),this.$el.css({position:"absolute","z-index":1e3,"will-change":"left, top, width, height"}),this.attrWidth=this.$el.attr("width"),this.attrHeight=this.$el.attr("height"),this.attrWidth&&(this.$el.css("width",this.attrWidth+"px"),this.$el.removeAttr("width")),this.attrHeight&&(this.$el.css("width",this.attrHeight+"px"),this.$el.removeAttr("height")),this.$overlay=e('<div id="materialbox-overlay"></div>').css({opacity:0}).one("click",(function(){i.doneAnimating&&i.close()})),this.$el.before(this.$overlay);var n=this.$overlay[0].getBoundingClientRect();this.$overlay.css({width:this.windowWidth+"px",height:this.windowHeight+"px",left:-1*n.left+"px",top:-1*n.top+"px"}),t.remove(this.el),t.remove(this.$overlay[0]),t({targets:this.$overlay[0],opacity:1,duration:this.options.inDuration,easing:"easeOutQuad"}),""!==this.caption&&(this.$photocaption&&t.remove(this.$photoCaption[0]),this.$photoCaption=e('<div class="materialbox-caption"></div>'),this.$photoCaption.text(this.caption),e("body").append(this.$photoCaption),this.$photoCaption.css({display:"inline"}),t({targets:this.$photoCaption[0],opacity:1,duration:this.options.inDuration,easing:"easeOutQuad"}));var s=0,a=this.originalWidth/this.windowWidth,o=this.originalHeight/this.windowHeight;this.newWidth=0,this.newHeight=0,a>o?(s=this.originalHeight/this.originalWidth,this.newWidth=.9*this.windowWidth,this.newHeight=.9*this.windowWidth*s):(s=this.originalWidth/this.originalHeight,this.newWidth=.9*this.windowHeight*s,this.newHeight=.9*this.windowHeight),this._animateImageIn(),this._handleWindowScrollBound=this._handleWindowScroll.bind(this),this._handleWindowResizeBound=this._handleWindowResize.bind(this),this._handleWindowEscapeBound=this._handleWindowEscape.bind(this),window.addEventListener("scroll",this._handleWindowScrollBound),window.addEventListener("resize",this._handleWindowResizeBound),window.addEventListener("keyup",this._handleWindowEscapeBound)}},{key:"close",value:function(){var e=this;this._updateVars(),this.doneAnimating=!1,"function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,this.el),t.remove(this.el),t.remove(this.$overlay[0]),""!==this.caption&&t.remove(this.$photoCaption[0]),window.removeEventListener("scroll",this._handleWindowScrollBound),window.removeEventListener("resize",this._handleWindowResizeBound),window.removeEventListener("keyup",this._handleWindowEscapeBound),t({targets:this.$overlay[0],opacity:0,duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){e.overlayActive=!1,e.$overlay.remove()}}),this._animateImageOut(),""!==this.caption&&t({targets:this.$photoCaption[0],opacity:0,duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){e.$photoCaption.remove()}})}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Materialbox}},{key:"defaults",get:function(){return i}}]),u}(u);M.Materialbox=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"materialbox","M_Materialbox")}(cash,M.anime),function(e){"use strict";var t={responsiveThreshold:0},i=function(i){function n(t,i){l(this,n);var s=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_Parallax=s,s.options=e.extend({},n.defaults,i),s._enabled=window.innerWidth>s.options.responsiveThreshold,s.$img=s.$el.find("img").first(),s.$img.each((function(){this.complete&&e(this).trigger("load")})),s._updateParallax(),s._setupEventHandlers(),s._setupStyles(),n._parallaxes.push(s),s}return r(n,i),a(n,[{key:"destroy",value:function(){n._parallaxes.splice(n._parallaxes.indexOf(this),1),this.$img[0].style.transform="",this._removeEventHandlers(),this.$el[0].M_Parallax=void 0}},{key:"_setupEventHandlers",value:function(){this._handleImageLoadBound=this._handleImageLoad.bind(this),this.$img[0].addEventListener("load",this._handleImageLoadBound),0===n._parallaxes.length&&(n._handleScrollThrottled=M.throttle(n._handleScroll,5),window.addEventListener("scroll",n._handleScrollThrottled),n._handleWindowResizeThrottled=M.throttle(n._handleWindowResize,5),window.addEventListener("resize",n._handleWindowResizeThrottled))}},{key:"_removeEventHandlers",value:function(){this.$img[0].removeEventListener("load",this._handleImageLoadBound),0===n._parallaxes.length&&(window.removeEventListener("scroll",n._handleScrollThrottled),window.removeEventListener("resize",n._handleWindowResizeThrottled))}},{key:"_setupStyles",value:function(){this.$img[0].style.opacity=1}},{key:"_handleImageLoad",value:function(){this._updateParallax()}},{key:"_updateParallax",value:function(){var e=this.$el.height()>0?this.el.parentNode.offsetHeight:500,t=this.$img[0].offsetHeight-e,i=this.$el.offset().top+e,n=this.$el.offset().top,s=M.getDocumentScrollTop(),a=window.innerHeight,o=t*((s+a-n)/(e+a));this._enabled?i>s&&n<s+a&&(this.$img[0].style.transform="translate3D(-50%, "+o+"px, 0)"):this.$img[0].style.transform=""}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Parallax}},{key:"_handleScroll",value:function(){for(var e=0;e<n._parallaxes.length;e++){var t=n._parallaxes[e];t._updateParallax.call(t)}}},{key:"_handleWindowResize",value:function(){for(var e=0;e<n._parallaxes.length;e++){var t=n._parallaxes[e];t._enabled=window.innerWidth>t.options.responsiveThreshold}}},{key:"defaults",get:function(){return t}}]),n}(u);i._parallaxes=[],M.Parallax=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"parallax","M_Parallax")}(cash),function(e,t){"use strict";var i={duration:300,onShow:null,swipeable:!1,responsiveThreshold:1/0},n=function(n){function u(t,i){l(this,u);var n=o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_Tabs=n,n.options=e.extend({},u.defaults,i),n.$tabLinks=n.$el.children("li.tab").children("a"),n.index=0,n._setupActiveTabLink(),n.options.swipeable?n._setupSwipeableTabs():n._setupNormalTabs(),n._setTabsAndTabWidth(),n._createIndicator(),n._setupEventHandlers(),n}return r(u,n),a(u,[{key:"destroy",value:function(){this._removeEventHandlers(),this._indicator.parentNode.removeChild(this._indicator),this.options.swipeable?this._teardownSwipeableTabs():this._teardownNormalTabs(),this.$el[0].M_Tabs=void 0}},{key:"_setupEventHandlers",value:function(){this._handleWindowResizeBound=this._handleWindowResize.bind(this),window.addEventListener("resize",this._handleWindowResizeBound),this._handleTabClickBound=this._handleTabClick.bind(this),this.el.addEventListener("click",this._handleTabClickBound)}},{key:"_removeEventHandlers",value:function(){window.removeEventListener("resize",this._handleWindowResizeBound),this.el.removeEventListener("click",this._handleTabClickBound)}},{key:"_handleWindowResize",value:function(){this._setTabsAndTabWidth(),0!==this.tabWidth&&0!==this.tabsWidth&&(this._indicator.style.left=this._calcLeftPos(this.$activeTabLink)+"px",this._indicator.style.right=this._calcRightPos(this.$activeTabLink)+"px")}},{key:"_handleTabClick",value:function(t){var i=this,n=e(t.target).closest("li.tab"),s=e(t.target).closest("a");if(s.length&&s.parent().hasClass("tab"))if(n.hasClass("disabled"))t.preventDefault();else if(!s.attr("target")){this.$activeTabLink.removeClass("active");var a=this.$content;this.$activeTabLink=s,this.$content=e(M.escapeHash(s[0].hash)),this.$tabLinks=this.$el.children("li.tab").children("a"),this.$activeTabLink.addClass("active");var o=this.index;this.index=Math.max(this.$tabLinks.index(s),0),this.options.swipeable?this._tabsCarousel&&this._tabsCarousel.set(this.index,(function(){"function"==typeof i.options.onShow&&i.options.onShow.call(i,i.$content[0])})):this.$content.length&&(this.$content[0].style.display="block",this.$content.addClass("active"),"function"==typeof this.options.onShow&&this.options.onShow.call(this,this.$content[0]),a.length&&!a.is(this.$content)&&(a[0].style.display="none",a.removeClass("active"))),this._setTabsAndTabWidth(),this._animateIndicator(o),t.preventDefault()}}},{key:"_createIndicator",value:function(){var e=this,t=document.createElement("li");t.classList.add("indicator"),this.el.appendChild(t),this._indicator=t,setTimeout((function(){e._indicator.style.left=e._calcLeftPos(e.$activeTabLink)+"px",e._indicator.style.right=e._calcRightPos(e.$activeTabLink)+"px"}),0)}},{key:"_setupActiveTabLink",value:function(){this.$activeTabLink=e(this.$tabLinks.filter('[href="'+location.hash+'"]')),0===this.$activeTabLink.length&&(this.$activeTabLink=this.$el.children("li.tab").children("a.active").first()),0===this.$activeTabLink.length&&(this.$activeTabLink=this.$el.children("li.tab").children("a").first()),this.$tabLinks.removeClass("active"),this.$activeTabLink[0].classList.add("active"),this.index=Math.max(this.$tabLinks.index(this.$activeTabLink),0),this.$activeTabLink.length&&(this.$content=e(M.escapeHash(this.$activeTabLink[0].hash)),this.$content.addClass("active"))}},{key:"_setupSwipeableTabs",value:function(){var t=this;window.innerWidth>this.options.responsiveThreshold&&(this.options.swipeable=!1);var i=e();this.$tabLinks.each((function(t){var n=e(M.escapeHash(t.hash));n.addClass("carousel-item"),i=i.add(n)}));var n=e('<div class="tabs-content carousel carousel-slider"></div>');i.first().before(n),n.append(i),i[0].style.display="";var s=this.$activeTabLink.closest(".tab").index();this._tabsCarousel=M.Carousel.init(n[0],{fullWidth:!0,noWrap:!0,onCycleTo:function(i){var n=t.index;t.index=e(i).index(),t.$activeTabLink.removeClass("active"),t.$activeTabLink=t.$tabLinks.eq(t.index),t.$activeTabLink.addClass("active"),t._animateIndicator(n),"function"==typeof t.options.onShow&&t.options.onShow.call(t,t.$content[0])}}),this._tabsCarousel.set(s)}},{key:"_teardownSwipeableTabs",value:function(){var e=this._tabsCarousel.$el;this._tabsCarousel.destroy(),e.after(e.children()),e.remove()}},{key:"_setupNormalTabs",value:function(){this.$tabLinks.not(this.$activeTabLink).each((function(t){if(t.hash){var i=e(M.escapeHash(t.hash));i.length&&(i[0].style.display="none")}}))}},{key:"_teardownNormalTabs",value:function(){this.$tabLinks.each((function(t){if(t.hash){var i=e(M.escapeHash(t.hash));i.length&&(i[0].style.display="")}}))}},{key:"_setTabsAndTabWidth",value:function(){this.tabsWidth=this.$el.width(),this.tabWidth=Math.max(this.tabsWidth,this.el.scrollWidth)/this.$tabLinks.length}},{key:"_calcRightPos",value:function(e){return Math.ceil(this.tabsWidth-e.position().left-e[0].getBoundingClientRect().width)}},{key:"_calcLeftPos",value:function(e){return Math.floor(e.position().left)}},{key:"updateTabIndicator",value:function(){this._setTabsAndTabWidth(),this._animateIndicator(this.index)}},{key:"_animateIndicator",value:function(e){var i=0,n=0;this.index-e>=0?i=90:n=90;var s={targets:this._indicator,left:{value:this._calcLeftPos(this.$activeTabLink),delay:i},right:{value:this._calcRightPos(this.$activeTabLink),delay:n},duration:this.options.duration,easing:"easeOutQuad"};t.remove(this._indicator),t(s)}},{key:"select",value:function(e){var t=this.$tabLinks.filter('[href="#'+e+'"]');t.length&&t.trigger("click")}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Tabs}},{key:"defaults",get:function(){return i}}]),u}(u);M.Tabs=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"tabs","M_Tabs")}(cash,M.anime),function(e,t){"use strict";var i={exitDelay:200,enterDelay:0,html:null,margin:5,inDuration:250,outDuration:200,position:"bottom",transitionMovement:10},n=function(n){function u(t,i){l(this,u);var n=o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_Tooltip=n,n.options=e.extend({},u.defaults,i),n.isOpen=!1,n.isHovered=!1,n.isFocused=!1,n._appendTooltipEl(),n._setupEventHandlers(),n}return r(u,n),a(u,[{key:"destroy",value:function(){e(this.tooltipEl).remove(),this._removeEventHandlers(),this.el.M_Tooltip=void 0}},{key:"_appendTooltipEl",value:function(){var e=document.createElement("div");e.classList.add("material-tooltip"),this.tooltipEl=e;var t=document.createElement("div");t.classList.add("tooltip-content"),t.innerHTML=this.options.html,e.appendChild(t),document.body.appendChild(e)}},{key:"_updateTooltipContent",value:function(){this.tooltipEl.querySelector(".tooltip-content").innerHTML=this.options.html}},{key:"_setupEventHandlers",value:function(){this._handleMouseEnterBound=this._handleMouseEnter.bind(this),this._handleMouseLeaveBound=this._handleMouseLeave.bind(this),this._handleFocusBound=this._handleFocus.bind(this),this._handleBlurBound=this._handleBlur.bind(this),this.el.addEventListener("mouseenter",this._handleMouseEnterBound),this.el.addEventListener("mouseleave",this._handleMouseLeaveBound),this.el.addEventListener("focus",this._handleFocusBound,!0),this.el.addEventListener("blur",this._handleBlurBound,!0)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("mouseenter",this._handleMouseEnterBound),this.el.removeEventListener("mouseleave",this._handleMouseLeaveBound),this.el.removeEventListener("focus",this._handleFocusBound,!0),this.el.removeEventListener("blur",this._handleBlurBound,!0)}},{key:"open",value:function(t){this.isOpen||(t=void 0===t||void 0,this.isOpen=!0,this.options=e.extend({},this.options,this._getAttributeOptions()),this._updateTooltipContent(),this._setEnterDelayTimeout(t))}},{key:"close",value:function(){this.isOpen&&(this.isHovered=!1,this.isFocused=!1,this.isOpen=!1,this._setExitDelayTimeout())}},{key:"_setExitDelayTimeout",value:function(){var e=this;clearTimeout(this._exitDelayTimeout),this._exitDelayTimeout=setTimeout((function(){e.isHovered||e.isFocused||e._animateOut()}),this.options.exitDelay)}},{key:"_setEnterDelayTimeout",value:function(e){var t=this;clearTimeout(this._enterDelayTimeout),this._enterDelayTimeout=setTimeout((function(){(t.isHovered||t.isFocused||e)&&t._animateIn()}),this.options.enterDelay)}},{key:"_positionTooltip",value:function(){var t,i=this.el,n=this.tooltipEl,s=i.offsetHeight,a=i.offsetWidth,o=n.offsetHeight,r=n.offsetWidth,l=this.options.margin,u=void 0,d=void 0;this.xMovement=0,this.yMovement=0,u=i.getBoundingClientRect().top+M.getDocumentScrollTop(),d=i.getBoundingClientRect().left+M.getDocumentScrollLeft(),"top"===this.options.position?(u+=-o-l,d+=a/2-r/2,this.yMovement=-this.options.transitionMovement):"right"===this.options.position?(u+=s/2-o/2,d+=a+l,this.xMovement=this.options.transitionMovement):"left"===this.options.position?(u+=s/2-o/2,d+=-r-l,this.xMovement=-this.options.transitionMovement):(u+=s+l,d+=a/2-r/2,this.yMovement=this.options.transitionMovement),t=this._repositionWithinScreen(d,u,r,o),e(n).css({top:t.y+"px",left:t.x+"px"})}},{key:"_repositionWithinScreen",value:function(e,t,i,n){var s=M.getDocumentScrollLeft(),a=M.getDocumentScrollTop(),o=e-s,r=t-a,l={left:o,top:r,width:i,height:n},u=this.options.margin+this.options.transitionMovement,d=M.checkWithinContainer(document.body,l,u);return d.left?o=u:d.right&&(o-=o+i-window.innerWidth),d.top?r=u:d.bottom&&(r-=r+n-window.innerHeight),{x:o+s,y:r+a}}},{key:"_animateIn",value:function(){this._positionTooltip(),this.tooltipEl.style.visibility="visible",t.remove(this.tooltipEl),t({targets:this.tooltipEl,opacity:1,translateX:this.xMovement,translateY:this.yMovement,duration:this.options.inDuration,easing:"easeOutCubic"})}},{key:"_animateOut",value:function(){t.remove(this.tooltipEl),t({targets:this.tooltipEl,opacity:0,translateX:0,translateY:0,duration:this.options.outDuration,easing:"easeOutCubic"})}},{key:"_handleMouseEnter",value:function(){this.isHovered=!0,this.isFocused=!1,this.open(!1)}},{key:"_handleMouseLeave",value:function(){this.isHovered=!1,this.isFocused=!1,this.close()}},{key:"_handleFocus",value:function(){M.tabPressed&&(this.isFocused=!0,this.open(!1))}},{key:"_handleBlur",value:function(){this.isFocused=!1,this.close()}},{key:"_getAttributeOptions",value:function(){var e={},t=this.el.getAttribute("data-tooltip"),i=this.el.getAttribute("data-position");return t&&(e.html=t),i&&(e.position=i),e}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Tooltip}},{key:"defaults",get:function(){return i}}]),u}(u);M.Tooltip=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"tooltip","M_Tooltip")}(cash,M.anime),function(e){"use strict";var t=t||{},i=document.querySelectorAll.bind(document);function n(e){var t="";for(var i in e)e.hasOwnProperty(i)&&(t+=i+":"+e[i]+";");return t}var s={duration:750,show:function(e,t){if(2===e.button)return!1;var i=t||this,a=document.createElement("div");a.className="waves-ripple",i.appendChild(a);var o,r,l,u,d,c=(u={top:0,left:0},d=(o=i)&&o.ownerDocument,r=d.documentElement,void 0!==o.getBoundingClientRect&&(u=o.getBoundingClientRect()),l=function(e){return null!==(t=e)&&t===t.window?e:9===e.nodeType&&e.defaultView;var t}(d),{top:u.top+l.pageYOffset-r.clientTop,left:u.left+l.pageXOffset-r.clientLeft}),h=e.pageY-c.top,p=e.pageX-c.left,v="scale("+i.clientWidth/100*10+")";"touches"in e&&(h=e.touches[0].pageY-c.top,p=e.touches[0].pageX-c.left),a.setAttribute("data-hold",Date.now()),a.setAttribute("data-scale",v),a.setAttribute("data-x",p),a.setAttribute("data-y",h);var f={top:h+"px",left:p+"px"};a.className=a.className+" waves-notransition",a.setAttribute("style",n(f)),a.className=a.className.replace("waves-notransition",""),f["-webkit-transform"]=v,f["-moz-transform"]=v,f["-ms-transform"]=v,f["-o-transform"]=v,f.transform=v,f.opacity="1",f["-webkit-transition-duration"]=s.duration+"ms",f["-moz-transition-duration"]=s.duration+"ms",f["-o-transition-duration"]=s.duration+"ms",f["transition-duration"]=s.duration+"ms",f["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",f["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",f["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",f["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",a.setAttribute("style",n(f))},hide:function(e){a.touchup(e);var t=this,i=(t.clientWidth,null),o=t.getElementsByClassName("waves-ripple");if(!(o.length>0))return!1;var r=(i=o[o.length-1]).getAttribute("data-x"),l=i.getAttribute("data-y"),u=i.getAttribute("data-scale"),d=350-(Date.now()-Number(i.getAttribute("data-hold")));d<0&&(d=0),setTimeout((function(){var e={top:l+"px",left:r+"px",opacity:"0","-webkit-transition-duration":s.duration+"ms","-moz-transition-duration":s.duration+"ms","-o-transition-duration":s.duration+"ms","transition-duration":s.duration+"ms","-webkit-transform":u,"-moz-transform":u,"-ms-transform":u,"-o-transform":u,transform:u};i.setAttribute("style",n(e)),setTimeout((function(){try{t.removeChild(i)}catch(e){return!1}}),s.duration)}),d)},wrapInput:function(e){for(var t=0;t<e.length;t++){var i=e[t];if("input"===i.tagName.toLowerCase()){var n=i.parentNode;if("i"===n.tagName.toLowerCase()&&-1!==n.className.indexOf("waves-effect"))continue;var s=document.createElement("i");s.className=i.className+" waves-input-wrapper";var a=i.getAttribute("style");a||(a=""),s.setAttribute("style",a),i.className="waves-button-input",i.removeAttribute("style"),n.replaceChild(s,i),s.appendChild(i)}}}},a={touches:0,allowEvent:function(e){var t=!0;return"touchstart"===e.type?a.touches+=1:"touchend"===e.type||"touchcancel"===e.type?setTimeout((function(){a.touches>0&&(a.touches-=1)}),500):"mousedown"===e.type&&a.touches>0&&(t=!1),t},touchup:function(e){a.allowEvent(e)}};function o(t){var i=function(e){if(!1===a.allowEvent(e))return null;for(var t=null,i=e.target||e.srcElement;null!==i.parentNode;){if(!(i instanceof SVGElement)&&-1!==i.className.indexOf("waves-effect")){t=i;break}i=i.parentNode}return t}(t);null!==i&&(s.show(t,i),"ontouchstart"in e&&(i.addEventListener("touchend",s.hide,!1),i.addEventListener("touchcancel",s.hide,!1)),i.addEventListener("mouseup",s.hide,!1),i.addEventListener("mouseleave",s.hide,!1),i.addEventListener("dragend",s.hide,!1))}t.displayEffect=function(t){"duration"in(t=t||{})&&(s.duration=t.duration),s.wrapInput(i(".waves-effect")),"ontouchstart"in e&&document.body.addEventListener("touchstart",o,!1),document.body.addEventListener("mousedown",o,!1)},t.attach=function(t){"input"===t.tagName.toLowerCase()&&(s.wrapInput([t]),t=t.parentNode),"ontouchstart"in e&&t.addEventListener("touchstart",o,!1),t.addEventListener("mousedown",o,!1)},e.Waves=t,document.addEventListener("DOMContentLoaded",(function(){t.displayEffect()}),!1)}(window),function(e,t){"use strict";var i={html:"",displayLength:4e3,inDuration:300,outDuration:375,classes:"",completeCallback:null,activationPercent:.8},n=function(){function n(t){l(this,n),this.options=e.extend({},n.defaults,t),this.message=this.options.html,this.panning=!1,this.timeRemaining=this.options.displayLength,0===n._toasts.length&&n._createContainer(),n._toasts.push(this);var i=this._createToast();i.M_Toast=this,this.el=i,this.$el=e(i),this._animateIn(),this._setTimer()}return a(n,[{key:"_createToast",value:function(){var t=document.createElement("div");return t.classList.add("toast"),this.options.classes.length&&e(t).addClass(this.options.classes),("object"==typeof HTMLElement?this.message instanceof HTMLElement:this.message&&"object"==typeof this.message&&null!==this.message&&1===this.message.nodeType&&"string"==typeof this.message.nodeName)?t.appendChild(this.message):this.message.jquery?e(t).append(this.message[0]):t.innerHTML=this.message,n._container.appendChild(t),t}},{key:"_animateIn",value:function(){t({targets:this.el,top:0,opacity:1,duration:this.options.inDuration,easing:"easeOutCubic"})}},{key:"_setTimer",value:function(){var e=this;this.timeRemaining!==1/0&&(this.counterInterval=setInterval((function(){e.panning||(e.timeRemaining-=20),e.timeRemaining<=0&&e.dismiss()}),20))}},{key:"dismiss",value:function(){var e=this;window.clearInterval(this.counterInterval);var i=this.el.offsetWidth*this.options.activationPercent;this.wasSwiped&&(this.el.style.transition="transform .05s, opacity .05s",this.el.style.transform="translateX("+i+"px)",this.el.style.opacity=0),t({targets:this.el,opacity:0,marginTop:-40,duration:this.options.outDuration,easing:"easeOutExpo",complete:function(){"function"==typeof e.options.completeCallback&&e.options.completeCallback(),e.$el.remove(),n._toasts.splice(n._toasts.indexOf(e),1),0===n._toasts.length&&n._removeContainer()}})}}],[{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Toast}},{key:"_createContainer",value:function(){var e=document.createElement("div");e.setAttribute("id","toast-container"),e.addEventListener("touchstart",n._onDragStart),e.addEventListener("touchmove",n._onDragMove),e.addEventListener("touchend",n._onDragEnd),e.addEventListener("mousedown",n._onDragStart),document.addEventListener("mousemove",n._onDragMove),document.addEventListener("mouseup",n._onDragEnd),document.body.appendChild(e),n._container=e}},{key:"_removeContainer",value:function(){document.removeEventListener("mousemove",n._onDragMove),document.removeEventListener("mouseup",n._onDragEnd),e(n._container).remove(),n._container=null}},{key:"_onDragStart",value:function(t){if(t.target&&e(t.target).closest(".toast").length){var i=e(t.target).closest(".toast")[0].M_Toast;i.panning=!0,n._draggedToast=i,i.el.classList.add("panning"),i.el.style.transition="",i.startingXPos=n._xPos(t),i.time=Date.now(),i.xPos=n._xPos(t)}}},{key:"_onDragMove",value:function(e){if(n._draggedToast){e.preventDefault();var t=n._draggedToast;t.deltaX=Math.abs(t.xPos-n._xPos(e)),t.xPos=n._xPos(e),t.velocityX=t.deltaX/(Date.now()-t.time),t.time=Date.now();var i=t.xPos-t.startingXPos,s=t.el.offsetWidth*t.options.activationPercent;t.el.style.transform="translateX("+i+"px)",t.el.style.opacity=1-Math.abs(i/s)}}},{key:"_onDragEnd",value:function(){if(n._draggedToast){var e=n._draggedToast;e.panning=!1,e.el.classList.remove("panning");var t=e.xPos-e.startingXPos,i=e.el.offsetWidth*e.options.activationPercent;Math.abs(t)>i||e.velocityX>1?(e.wasSwiped=!0,e.dismiss()):(e.el.style.transition="transform .2s, opacity .2s",e.el.style.transform="",e.el.style.opacity=""),n._draggedToast=null}}},{key:"_xPos",value:function(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}},{key:"dismissAll",value:function(){for(var e in n._toasts)n._toasts[e].dismiss()}},{key:"defaults",get:function(){return i}}]),n}();n._toasts=[],n._container=null,n._draggedToast=null,M.Toast=n,M.toast=function(e){return new n(e)}}(cash,M.anime),function(e,t){"use strict";var i={edge:"left",draggable:!0,inDuration:250,outDuration:200,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,preventScrolling:!0},n=function(n){function u(t,i){l(this,u);var n=o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_Sidenav=n,n.id=n.$el.attr("id"),n.options=e.extend({},u.defaults,i),n.isOpen=!1,n.isFixed=n.el.classList.contains("sidenav-fixed"),n.isDragged=!1,n.lastWindowWidth=window.innerWidth,n.lastWindowHeight=window.innerHeight,n._createOverlay(),n._createDragTarget(),n._setupEventHandlers(),n._setupClasses(),n._setupFixed(),u._sidenavs.push(n),n}return r(u,n),a(u,[{key:"destroy",value:function(){this._removeEventHandlers(),this._enableBodyScrolling(),this._overlay.parentNode.removeChild(this._overlay),this.dragTarget.parentNode.removeChild(this.dragTarget),this.el.M_Sidenav=void 0,this.el.style.transform="";var e=u._sidenavs.indexOf(this);e>=0&&u._sidenavs.splice(e,1)}},{key:"_createOverlay",value:function(){var e=document.createElement("div");this._closeBound=this.close.bind(this),e.classList.add("sidenav-overlay"),e.addEventListener("click",this._closeBound),document.body.appendChild(e),this._overlay=e}},{key:"_setupEventHandlers",value:function(){0===u._sidenavs.length&&document.body.addEventListener("click",this._handleTriggerClick),this._handleDragTargetDragBound=this._handleDragTargetDrag.bind(this),this._handleDragTargetReleaseBound=this._handleDragTargetRelease.bind(this),this._handleCloseDragBound=this._handleCloseDrag.bind(this),this._handleCloseReleaseBound=this._handleCloseRelease.bind(this),this._handleCloseTriggerClickBound=this._handleCloseTriggerClick.bind(this),this.dragTarget.addEventListener("touchmove",this._handleDragTargetDragBound),this.dragTarget.addEventListener("touchend",this._handleDragTargetReleaseBound),this._overlay.addEventListener("touchmove",this._handleCloseDragBound),this._overlay.addEventListener("touchend",this._handleCloseReleaseBound),this.el.addEventListener("touchmove",this._handleCloseDragBound),this.el.addEventListener("touchend",this._handleCloseReleaseBound),this.el.addEventListener("click",this._handleCloseTriggerClickBound),this.isFixed&&(this._handleWindowResizeBound=this._handleWindowResize.bind(this),window.addEventListener("resize",this._handleWindowResizeBound))}},{key:"_removeEventHandlers",value:function(){1===u._sidenavs.length&&document.body.removeEventListener("click",this._handleTriggerClick),this.dragTarget.removeEventListener("touchmove",this._handleDragTargetDragBound),this.dragTarget.removeEventListener("touchend",this._handleDragTargetReleaseBound),this._overlay.removeEventListener("touchmove",this._handleCloseDragBound),this._overlay.removeEventListener("touchend",this._handleCloseReleaseBound),this.el.removeEventListener("touchmove",this._handleCloseDragBound),this.el.removeEventListener("touchend",this._handleCloseReleaseBound),this.el.removeEventListener("click",this._handleCloseTriggerClickBound),this.isFixed&&window.removeEventListener("resize",this._handleWindowResizeBound)}},{key:"_handleTriggerClick",value:function(t){var i=e(t.target).closest(".sidenav-trigger");if(t.target&&i.length){var n=M.getIdFromTrigger(i[0]),s=document.getElementById(n).M_Sidenav;s&&s.open(i),t.preventDefault()}}},{key:"_startDrag",value:function(e){var i=e.targetTouches[0].clientX;this.isDragged=!0,this._startingXpos=i,this._xPos=this._startingXpos,this._time=Date.now(),this._width=this.el.getBoundingClientRect().width,this._overlay.style.display="block",this._initialScrollTop=this.isOpen?this.el.scrollTop:M.getDocumentScrollTop(),this._verticallyScrolling=!1,t.remove(this.el),t.remove(this._overlay)}},{key:"_dragMoveUpdate",value:function(e){var t=e.targetTouches[0].clientX,i=this.isOpen?this.el.scrollTop:M.getDocumentScrollTop();this.deltaX=Math.abs(this._xPos-t),this._xPos=t,this.velocityX=this.deltaX/(Date.now()-this._time),this._time=Date.now(),this._initialScrollTop!==i&&(this._verticallyScrolling=!0)}},{key:"_handleDragTargetDrag",value:function(e){if(this.options.draggable&&!this._isCurrentlyFixed()&&!this._verticallyScrolling){this.isDragged||this._startDrag(e),this._dragMoveUpdate(e);var t=this._xPos-this._startingXpos,i=t>0?"right":"left";t=Math.min(this._width,Math.abs(t)),this.options.edge===i&&(t=0);var n=t,s="translateX(-100%)";"right"===this.options.edge&&(s="translateX(100%)",n=-n),this.percentOpen=Math.min(1,t/this._width),this.el.style.transform=s+" translateX("+n+"px)",this._overlay.style.opacity=this.percentOpen}}},{key:"_handleDragTargetRelease",value:function(){this.isDragged&&(this.percentOpen>.2?this.open():this._animateOut(),this.isDragged=!1,this._verticallyScrolling=!1)}},{key:"_handleCloseDrag",value:function(e){if(this.isOpen){if(!this.options.draggable||this._isCurrentlyFixed()||this._verticallyScrolling)return;this.isDragged||this._startDrag(e),this._dragMoveUpdate(e);var t=this._xPos-this._startingXpos,i=t>0?"right":"left";t=Math.min(this._width,Math.abs(t)),this.options.edge!==i&&(t=0);var n=-t;"right"===this.options.edge&&(n=-n),this.percentOpen=Math.min(1,1-t/this._width),this.el.style.transform="translateX("+n+"px)",this._overlay.style.opacity=this.percentOpen}}},{key:"_handleCloseRelease",value:function(){this.isOpen&&this.isDragged&&(this.percentOpen>.8?this._animateIn():this.close(),this.isDragged=!1,this._verticallyScrolling=!1)}},{key:"_handleCloseTriggerClick",value:function(t){e(t.target).closest(".sidenav-close").length&&!this._isCurrentlyFixed()&&this.close()}},{key:"_handleWindowResize",value:function(){this.lastWindowWidth!==window.innerWidth&&(window.innerWidth>992?this.open():this.close()),this.lastWindowWidth=window.innerWidth,this.lastWindowHeight=window.innerHeight}},{key:"_setupClasses",value:function(){"right"===this.options.edge&&(this.el.classList.add("right-aligned"),this.dragTarget.classList.add("right-aligned"))}},{key:"_removeClasses",value:function(){this.el.classList.remove("right-aligned"),this.dragTarget.classList.remove("right-aligned")}},{key:"_setupFixed",value:function(){this._isCurrentlyFixed()&&this.open()}},{key:"_isCurrentlyFixed",value:function(){return this.isFixed&&window.innerWidth>992}},{key:"_createDragTarget",value:function(){var e=document.createElement("div");e.classList.add("drag-target"),document.body.appendChild(e),this.dragTarget=e}},{key:"_preventBodyScrolling",value:function(){document.body.style.overflow="hidden"}},{key:"_enableBodyScrolling",value:function(){document.body.style.overflow=""}},{key:"open",value:function(){!0!==this.isOpen&&(this.isOpen=!0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el),this._isCurrentlyFixed()?(t.remove(this.el),t({targets:this.el,translateX:0,duration:0,easing:"easeOutQuad"}),this._enableBodyScrolling(),this._overlay.style.display="none"):(this.options.preventScrolling&&this._preventBodyScrolling(),this.isDragged&&1==this.percentOpen||this._animateIn()))}},{key:"close",value:function(){if(!1!==this.isOpen)if(this.isOpen=!1,"function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,this.el),this._isCurrentlyFixed()){var e="left"===this.options.edge?"-105%":"105%";this.el.style.transform="translateX("+e+")"}else this._enableBodyScrolling(),this.isDragged&&0==this.percentOpen?this._overlay.style.display="none":this._animateOut()}},{key:"_animateIn",value:function(){this._animateSidenavIn(),this._animateOverlayIn()}},{key:"_animateSidenavIn",value:function(){var e=this,i="left"===this.options.edge?-1:1;this.isDragged&&(i="left"===this.options.edge?i+this.percentOpen:i-this.percentOpen),t.remove(this.el),t({targets:this.el,translateX:[100*i+"%",0],duration:this.options.inDuration,easing:"easeOutQuad",complete:function(){"function"==typeof e.options.onOpenEnd&&e.options.onOpenEnd.call(e,e.el)}})}},{key:"_animateOverlayIn",value:function(){var i=0;this.isDragged?i=this.percentOpen:e(this._overlay).css({display:"block"}),t.remove(this._overlay),t({targets:this._overlay,opacity:[i,1],duration:this.options.inDuration,easing:"easeOutQuad"})}},{key:"_animateOut",value:function(){this._animateSidenavOut(),this._animateOverlayOut()}},{key:"_animateSidenavOut",value:function(){var e=this,i="left"===this.options.edge?-1:1,n=0;this.isDragged&&(n="left"===this.options.edge?i+this.percentOpen:i-this.percentOpen),t.remove(this.el),t({targets:this.el,translateX:[100*n+"%",105*i+"%"],duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e,e.el)}})}},{key:"_animateOverlayOut",value:function(){var i=this;t.remove(this._overlay),t({targets:this._overlay,opacity:0,duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){e(i._overlay).css("display","none")}})}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Sidenav}},{key:"defaults",get:function(){return i}}]),u}(u);n._sidenavs=[],M.Sidenav=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"sidenav","M_Sidenav")}(cash,M.anime),function(e,t){"use strict";var i={throttle:100,scrollOffset:200,activeClass:"active",getActiveElement:function(e){return'a[href="#'+e+'"]'}},n=function(n){function u(t,i){l(this,u);var n=o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_ScrollSpy=n,n.options=e.extend({},u.defaults,i),u._elements.push(n),u._count++,u._increment++,n.tickId=-1,n.id=u._increment,n._setupEventHandlers(),n._handleWindowScroll(),n}return r(u,n),a(u,[{key:"destroy",value:function(){u._elements.splice(u._elements.indexOf(this),1),u._elementsInView.splice(u._elementsInView.indexOf(this),1),u._visibleElements.splice(u._visibleElements.indexOf(this.$el),1),u._count--,this._removeEventHandlers(),e(this.options.getActiveElement(this.$el.attr("id"))).removeClass(this.options.activeClass),this.el.M_ScrollSpy=void 0}},{key:"_setupEventHandlers",value:function(){var e=M.throttle(this._handleWindowScroll,200);this._handleThrottledResizeBound=e.bind(this),this._handleWindowScrollBound=this._handleWindowScroll.bind(this),1===u._count&&(window.addEventListener("scroll",this._handleWindowScrollBound),window.addEventListener("resize",this._handleThrottledResizeBound),document.body.addEventListener("click",this._handleTriggerClick))}},{key:"_removeEventHandlers",value:function(){0===u._count&&(window.removeEventListener("scroll",this._handleWindowScrollBound),window.removeEventListener("resize",this._handleThrottledResizeBound),document.body.removeEventListener("click",this._handleTriggerClick))}},{key:"_handleTriggerClick",value:function(i){for(var n=e(i.target),s=u._elements.length-1;s>=0;s--){var a=u._elements[s];if(n.is('a[href="#'+a.$el.attr("id")+'"]')){i.preventDefault();var o=a.$el.offset().top+1;t({targets:[document.documentElement,document.body],scrollTop:o-a.options.scrollOffset,duration:400,easing:"easeOutCubic"});break}}}},{key:"_handleWindowScroll",value:function(){u._ticks++;for(var e=M.getDocumentScrollTop(),t=M.getDocumentScrollLeft(),i=t+window.innerWidth,n=e+window.innerHeight,s=u._findElements(e,i,n,t),a=0;a<s.length;a++){var o=s[a];o.tickId<0&&o._enter(),o.tickId=u._ticks}for(var r=0;r<u._elementsInView.length;r++){var l=u._elementsInView[r],d=l.tickId;d>=0&&d!==u._ticks&&(l._exit(),l.tickId=-1)}u._elementsInView=s}},{key:"_enter",value:function(){u._visibleElements=u._visibleElements.filter((function(e){return 0!=e.height()})),u._visibleElements[0]?(e(this.options.getActiveElement(u._visibleElements[0].attr("id"))).removeClass(this.options.activeClass),u._visibleElements[0][0].M_ScrollSpy&&this.id<u._visibleElements[0][0].M_ScrollSpy.id?u._visibleElements.unshift(this.$el):u._visibleElements.push(this.$el)):u._visibleElements.push(this.$el),e(this.options.getActiveElement(u._visibleElements[0].attr("id"))).addClass(this.options.activeClass)}},{key:"_exit",value:function(){var t=this;u._visibleElements=u._visibleElements.filter((function(e){return 0!=e.height()})),u._visibleElements[0]&&(e(this.options.getActiveElement(u._visibleElements[0].attr("id"))).removeClass(this.options.activeClass),u._visibleElements=u._visibleElements.filter((function(e){return e.attr("id")!=t.$el.attr("id")})),u._visibleElements[0]&&e(this.options.getActiveElement(u._visibleElements[0].attr("id"))).addClass(this.options.activeClass))}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_ScrollSpy}},{key:"_findElements",value:function(e,t,i,n){for(var s=[],a=0;a<u._elements.length;a++){var o=u._elements[a],r=e+o.options.scrollOffset||200;if(o.$el.height()>0){var l=o.$el.offset().top,d=o.$el.offset().left,c=d+o.$el.width(),h=l+o.$el.height();!(d>t||c<n||l>i||h<r)&&s.push(o)}}return s}},{key:"defaults",get:function(){return i}}]),u}(u);n._elements=[],n._elementsInView=[],n._visibleElements=[],n._count=0,n._increment=0,n._ticks=0,M.ScrollSpy=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"scrollSpy","M_ScrollSpy")}(cash,M.anime),function(e){"use strict";var t={data:{},limit:1/0,onAutocomplete:null,minLength:1,sortFunction:function(e,t,i){return e.indexOf(i)-t.indexOf(i)}},i=function(i){function n(t,i){l(this,n);var s=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_Autocomplete=s,s.options=e.extend({},n.defaults,i),s.isOpen=!1,s.count=0,s.activeIndex=-1,s.oldVal,s.$inputField=s.$el.closest(".input-field"),s.$active=e(),s._mousedown=!1,s._setupDropdown(),s._setupEventHandlers(),s}return r(n,i),a(n,[{key:"destroy",value:function(){this._removeEventHandlers(),this._removeDropdown(),this.el.M_Autocomplete=void 0}},{key:"_setupEventHandlers",value:function(){this._handleInputBlurBound=this._handleInputBlur.bind(this),this._handleInputKeyupAndFocusBound=this._handleInputKeyupAndFocus.bind(this),this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),this._handleContainerMousedownAndTouchstartBound=this._handleContainerMousedownAndTouchstart.bind(this),this._handleContainerMouseupAndTouchendBound=this._handleContainerMouseupAndTouchend.bind(this),this.el.addEventListener("blur",this._handleInputBlurBound),this.el.addEventListener("keyup",this._handleInputKeyupAndFocusBound),this.el.addEventListener("focus",this._handleInputKeyupAndFocusBound),this.el.addEventListener("keydown",this._handleInputKeydownBound),this.el.addEventListener("click",this._handleInputClickBound),this.container.addEventListener("mousedown",this._handleContainerMousedownAndTouchstartBound),this.container.addEventListener("mouseup",this._handleContainerMouseupAndTouchendBound),void 0!==window.ontouchstart&&(this.container.addEventListener("touchstart",this._handleContainerMousedownAndTouchstartBound),this.container.addEventListener("touchend",this._handleContainerMouseupAndTouchendBound))}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("blur",this._handleInputBlurBound),this.el.removeEventListener("keyup",this._handleInputKeyupAndFocusBound),this.el.removeEventListener("focus",this._handleInputKeyupAndFocusBound),this.el.removeEventListener("keydown",this._handleInputKeydownBound),this.el.removeEventListener("click",this._handleInputClickBound),this.container.removeEventListener("mousedown",this._handleContainerMousedownAndTouchstartBound),this.container.removeEventListener("mouseup",this._handleContainerMouseupAndTouchendBound),void 0!==window.ontouchstart&&(this.container.removeEventListener("touchstart",this._handleContainerMousedownAndTouchstartBound),this.container.removeEventListener("touchend",this._handleContainerMouseupAndTouchendBound))}},{key:"_setupDropdown",value:function(){var t=this;this.container=document.createElement("ul"),this.container.id="autocomplete-options-"+M.guid(),e(this.container).addClass("autocomplete-content dropdown-content"),this.$inputField.append(this.container),this.el.setAttribute("data-target",this.container.id),this.dropdown=M.Dropdown.init(this.el,{autoFocus:!1,closeOnClick:!1,coverTrigger:!1,onItemClick:function(i){t.selectOption(e(i))}}),this.el.removeEventListener("click",this.dropdown._handleClickBound)}},{key:"_removeDropdown",value:function(){this.container.parentNode.removeChild(this.container)}},{key:"_handleInputBlur",value:function(){this._mousedown||(this.close(),this._resetAutocomplete())}},{key:"_handleInputKeyupAndFocus",value:function(e){"keyup"===e.type&&(n._keydown=!1),this.count=0;var t=this.el.value.toLowerCase();13!==e.keyCode&&38!==e.keyCode&&40!==e.keyCode&&(this.oldVal===t||!M.tabPressed&&"focus"===e.type||this.open(),this.oldVal=t)}},{key:"_handleInputKeydown",value:function(t){n._keydown=!0;var i=t.keyCode,s=void 0,a=e(this.container).children("li").length;i===M.keys.ENTER&&this.activeIndex>=0?(s=e(this.container).children("li").eq(this.activeIndex)).length&&(this.selectOption(s),t.preventDefault()):i!==M.keys.ARROW_UP&&i!==M.keys.ARROW_DOWN||(t.preventDefault(),i===M.keys.ARROW_UP&&this.activeIndex>0&&this.activeIndex--,i===M.keys.ARROW_DOWN&&this.activeIndex<a-1&&this.activeIndex++,this.$active.removeClass("active"),this.activeIndex>=0&&(this.$active=e(this.container).children("li").eq(this.activeIndex),this.$active.addClass("active")))}},{key:"_handleInputClick",value:function(e){this.open()}},{key:"_handleContainerMousedownAndTouchstart",value:function(e){this._mousedown=!0}},{key:"_handleContainerMouseupAndTouchend",value:function(e){this._mousedown=!1}},{key:"_highlight",value:function(e,t){var i=t.find("img"),n=t.text().toLowerCase().indexOf(""+e.toLowerCase()),s=n+e.length-1,a=t.text().slice(0,n),o=t.text().slice(n,s+1),r=t.text().slice(s+1);t.html("<span>"+a+"<span class='highlight'>"+o+"</span>"+r+"</span>"),i.length&&t.prepend(i)}},{key:"_resetCurrentElement",value:function(){this.activeIndex=-1,this.$active.removeClass("active")}},{key:"_resetAutocomplete",value:function(){e(this.container).empty(),this._resetCurrentElement(),this.oldVal=null,this.isOpen=!1,this._mousedown=!1}},{key:"selectOption",value:function(e){var t=e.text().trim();this.el.value=t,this.$el.trigger("change"),this._resetAutocomplete(),this.close(),"function"==typeof this.options.onAutocomplete&&this.options.onAutocomplete.call(this,t)}},{key:"_renderDropdown",value:function(t,i){var n=this;this._resetAutocomplete();var s=[];for(var a in t)if(t.hasOwnProperty(a)&&-1!==a.toLowerCase().indexOf(i)){if(this.count>=this.options.limit)break;var o={data:t[a],key:a};s.push(o),this.count++}if(this.options.sortFunction){s.sort((function(e,t){return n.options.sortFunction(e.key.toLowerCase(),t.key.toLowerCase(),i.toLowerCase())}))}for(var r=0;r<s.length;r++){var l=s[r],u=e("<li></li>");l.data?u.append('<img src="'+l.data+'" class="right circle"><span>'+l.key+"</span>"):u.append("<span>"+l.key+"</span>"),e(this.container).append(u),this._highlight(i,u)}}},{key:"open",value:function(){var e=this.el.value.toLowerCase();this._resetAutocomplete(),e.length>=this.options.minLength&&(this.isOpen=!0,this._renderDropdown(this.options.data,e)),this.dropdown.isOpen?this.dropdown.recalculateDimensions():this.dropdown.open()}},{key:"close",value:function(){this.dropdown.close()}},{key:"updateData",value:function(e){var t=this.el.value.toLowerCase();this.options.data=e,this.isOpen&&this._renderDropdown(e,t)}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Autocomplete}},{key:"defaults",get:function(){return t}}]),n}(u);i._keydown=!1,M.Autocomplete=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"autocomplete","M_Autocomplete")}(cash),function(e){M.updateTextFields=function(){e("input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], input[type=date], input[type=time], textarea").each((function(t,i){var n=e(this);t.value.length>0||e(t).is(":focus")||t.autofocus||null!==n.attr("placeholder")?n.siblings("label").addClass("active"):t.validity?n.siblings("label").toggleClass("active",!0===t.validity.badInput):n.siblings("label").removeClass("active")}))},M.validate_field=function(e){var t=null!==e.attr("data-length"),i=parseInt(e.attr("data-length")),n=e[0].value.length;0!==n||!1!==e[0].validity.badInput||e.is(":required")?e.hasClass("validate")&&(e.is(":valid")&&t&&n<=i||e.is(":valid")&&!t?(e.removeClass("invalid"),e.addClass("valid")):(e.removeClass("valid"),e.addClass("invalid"))):e.hasClass("validate")&&(e.removeClass("valid"),e.removeClass("invalid"))},M.textareaAutoResize=function(t){if(t instanceof Element&&(t=e(t)),t.length){var i=e(".hiddendiv").first();i.length||(i=e('<div class="hiddendiv common"></div>'),e("body").append(i));var n=t.css("font-family"),s=t.css("font-size"),a=t.css("line-height"),o=t.css("padding-top"),r=t.css("padding-right"),l=t.css("padding-bottom"),u=t.css("padding-left");s&&i.css("font-size",s),n&&i.css("font-family",n),a&&i.css("line-height",a),o&&i.css("padding-top",o),r&&i.css("padding-right",r),l&&i.css("padding-bottom",l),u&&i.css("padding-left",u),t.data("original-height")||t.data("original-height",t.height()),"off"===t.attr("wrap")&&i.css("overflow-wrap","normal").css("white-space","pre"),i.text(t[0].value+"\n");var d=i.html().replace(/\n/g,"<br>");i.html(d),t[0].offsetWidth>0&&t[0].offsetHeight>0?i.css("width",t.width()+"px"):i.css("width",window.innerWidth/2+"px"),t.data("original-height")<=i.innerHeight()?t.css("height",i.innerHeight()+"px"):t[0].value.length<t.data("previous-length")&&t.css("height",t.data("original-height")+"px"),t.data("previous-length",t[0].value.length)}else console.error("No textarea element found")},e(document).ready((function(){var t="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], input[type=date], input[type=time], textarea";e(document).on("change",t,(function(){0===this.value.length&&null===e(this).attr("placeholder")||e(this).siblings("label").addClass("active"),M.validate_field(e(this))})),e(document).ready((function(){M.updateTextFields()})),e(document).on("reset",(function(i){var n=e(i.target);n.is("form")&&(n.find(t).removeClass("valid").removeClass("invalid"),n.find(t).each((function(t){this.value.length&&e(this).siblings("label").removeClass("active")})),setTimeout((function(){n.find("select").each((function(){this.M_FormSelect&&e(this).trigger("change")}))}),0))})),document.addEventListener("focus",(function(i){e(i.target).is(t)&&e(i.target).siblings("label, .prefix").addClass("active")}),!0),document.addEventListener("blur",(function(i){var n=e(i.target);if(n.is(t)){var s=".prefix";0===n[0].value.length&&!0!==n[0].validity.badInput&&null===n.attr("placeholder")&&(s+=", label"),n.siblings(s).removeClass("active"),M.validate_field(n)}}),!0);e(document).on("keyup","input[type=radio], input[type=checkbox]",(function(t){if(t.which===M.keys.TAB)return e(this).addClass("tabbed"),void e(this).one("blur",(function(t){e(this).removeClass("tabbed")}))}));var i=".materialize-textarea";e(i).each((function(){var t=e(this);t.data("original-height",t.height()),t.data("previous-length",this.value.length),M.textareaAutoResize(t)})),e(document).on("keyup",i,(function(){M.textareaAutoResize(e(this))})),e(document).on("keydown",i,(function(){M.textareaAutoResize(e(this))})),e(document).on("change",'.file-field input[type="file"]',(function(){for(var t=e(this).closest(".file-field").find("input.file-path"),i=e(this)[0].files,n=[],s=0;s<i.length;s++)n.push(i[s].name);t[0].value=n.join(", "),t.trigger("change")}))}))}(cash),function(e,t){"use strict";var i={indicators:!0,height:400,duration:500,interval:6e3},n=function(n){function u(i,n){l(this,u);var s=o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,i,n));return s.el.M_Slider=s,s.options=e.extend({},u.defaults,n),s.$slider=s.$el.find(".slides"),s.$slides=s.$slider.children("li"),s.activeIndex=s.$slides.filter((function(t){return e(t).hasClass("active")})).first().index(),-1!=s.activeIndex&&(s.$active=s.$slides.eq(s.activeIndex)),s._setSliderHeight(),s.$slides.find(".caption").each((function(e){s._animateCaptionIn(e,0)})),s.$slides.find("img").each((function(t){var i="data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";e(t).attr("src")!==i&&(e(t).css("background-image",'url("'+e(t).attr("src")+'")'),e(t).attr("src",i))})),s._setupIndicators(),s.$active?s.$active.css("display","block"):(s.$slides.first().addClass("active"),t({targets:s.$slides.first()[0],opacity:1,duration:s.options.duration,easing:"easeOutQuad"}),s.activeIndex=0,s.$active=s.$slides.eq(s.activeIndex),s.options.indicators&&s.$indicators.eq(s.activeIndex).addClass("active")),s.$active.find("img").each((function(e){t({targets:s.$active.find(".caption")[0],opacity:1,translateX:0,translateY:0,duration:s.options.duration,easing:"easeOutQuad"})})),s._setupEventHandlers(),s.start(),s}return r(u,n),a(u,[{key:"destroy",value:function(){this.pause(),this._removeIndicators(),this._removeEventHandlers(),this.el.M_Slider=void 0}},{key:"_setupEventHandlers",value:function(){var e=this;this._handleIntervalBound=this._handleInterval.bind(this),this._handleIndicatorClickBound=this._handleIndicatorClick.bind(this),this.options.indicators&&this.$indicators.each((function(t){t.addEventListener("click",e._handleIndicatorClickBound)}))}},{key:"_removeEventHandlers",value:function(){var e=this;this.options.indicators&&this.$indicators.each((function(t){t.removeEventListener("click",e._handleIndicatorClickBound)}))}},{key:"_handleIndicatorClick",value:function(t){var i=e(t.target).index();this.set(i)}},{key:"_handleInterval",value:function(){var e=this.$slider.find(".active").index();this.$slides.length===e+1?e=0:e+=1,this.set(e)}},{key:"_animateCaptionIn",value:function(i,n){var s={targets:i,opacity:0,duration:n,easing:"easeOutQuad"};e(i).hasClass("center-align")?s.translateY=-100:e(i).hasClass("right-align")?s.translateX=100:e(i).hasClass("left-align")&&(s.translateX=-100),t(s)}},{key:"_setSliderHeight",value:function(){this.$el.hasClass("fullscreen")||(this.options.indicators?this.$el.css("height",this.options.height+40+"px"):this.$el.css("height",this.options.height+"px"),this.$slider.css("height",this.options.height+"px"))}},{key:"_setupIndicators",value:function(){var t=this;this.options.indicators&&(this.$indicators=e('<ul class="indicators"></ul>'),this.$slides.each((function(i,n){var s=e('<li class="indicator-item"></li>');t.$indicators.append(s[0])})),this.$el.append(this.$indicators[0]),this.$indicators=this.$indicators.children("li.indicator-item"))}},{key:"_removeIndicators",value:function(){this.$el.find("ul.indicators").remove()}},{key:"set",value:function(e){var i=this;if(e>=this.$slides.length?e=0:e<0&&(e=this.$slides.length-1),this.activeIndex!=e){this.$active=this.$slides.eq(this.activeIndex);var n=this.$active.find(".caption");this.$active.removeClass("active"),t({targets:this.$active[0],opacity:0,duration:this.options.duration,easing:"easeOutQuad",complete:function(){i.$slides.not(".active").each((function(e){t({targets:e,opacity:0,translateX:0,translateY:0,duration:0,easing:"easeOutQuad"})}))}}),this._animateCaptionIn(n[0],this.options.duration),this.options.indicators&&(this.$indicators.eq(this.activeIndex).removeClass("active"),this.$indicators.eq(e).addClass("active")),t({targets:this.$slides.eq(e)[0],opacity:1,duration:this.options.duration,easing:"easeOutQuad"}),t({targets:this.$slides.eq(e).find(".caption")[0],opacity:1,translateX:0,translateY:0,duration:this.options.duration,delay:this.options.duration,easing:"easeOutQuad"}),this.$slides.eq(e).addClass("active"),this.activeIndex=e,this.start()}}},{key:"pause",value:function(){clearInterval(this.interval)}},{key:"start",value:function(){clearInterval(this.interval),this.interval=setInterval(this._handleIntervalBound,this.options.duration+this.options.interval)}},{key:"next",value:function(){var e=this.activeIndex+1;e>=this.$slides.length?e=0:e<0&&(e=this.$slides.length-1),this.set(e)}},{key:"prev",value:function(){var e=this.activeIndex-1;e>=this.$slides.length?e=0:e<0&&(e=this.$slides.length-1),this.set(e)}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Slider}},{key:"defaults",get:function(){return i}}]),u}(u);M.Slider=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"slider","M_Slider")}(cash,M.anime),function(e,t){e(document).on("click",".card",(function(i){if(e(this).children(".card-reveal").length){var n=e(i.target).closest(".card");void 0===n.data("initialOverflow")&&n.data("initialOverflow",void 0===n.css("overflow")?"":n.css("overflow"));var s=e(this).find(".card-reveal");e(i.target).is(e(".card-reveal .card-title"))||e(i.target).is(e(".card-reveal .card-title i"))?t({targets:s[0],translateY:0,duration:225,easing:"easeInOutQuad",complete:function(t){var i=t.animatables[0].target;e(i).css({display:"none"}),n.css("overflow",n.data("initialOverflow"))}}):(e(i.target).is(e(".card .activator"))||e(i.target).is(e(".card .activator i")))&&(n.css("overflow","hidden"),s.css({display:"block"}),t({targets:s[0],translateY:"-100%",duration:300,easing:"easeInOutQuad"}))}}))}(cash,M.anime),function(e){"use strict";var t={data:[],placeholder:"",secondaryPlaceholder:"",autocompleteOptions:{},limit:1/0,onChipAdd:null,onChipSelect:null,onChipDelete:null},i=function(i){function n(t,i){l(this,n);var s=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_Chips=s,s.options=e.extend({},n.defaults,i),s.$el.addClass("chips input-field"),s.chipsData=[],s.$chips=e(),s._setupInput(),s.hasAutocomplete=Object.keys(s.options.autocompleteOptions).length>0,s.$input.attr("id")||s.$input.attr("id",M.guid()),s.options.data.length&&(s.chipsData=s.options.data,s._renderChips(s.chipsData)),s.hasAutocomplete&&s._setupAutocomplete(),s._setPlaceholder(),s._setupLabel(),s._setupEventHandlers(),s}return r(n,i),a(n,[{key:"getData",value:function(){return this.chipsData}},{key:"destroy",value:function(){this._removeEventHandlers(),this.$chips.remove(),this.el.M_Chips=void 0}},{key:"_setupEventHandlers",value:function(){this._handleChipClickBound=this._handleChipClick.bind(this),this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputFocusBound=this._handleInputFocus.bind(this),this._handleInputBlurBound=this._handleInputBlur.bind(this),this.el.addEventListener("click",this._handleChipClickBound),document.addEventListener("keydown",n._handleChipsKeydown),document.addEventListener("keyup",n._handleChipsKeyup),this.el.addEventListener("blur",n._handleChipsBlur,!0),this.$input[0].addEventListener("focus",this._handleInputFocusBound),this.$input[0].addEventListener("blur",this._handleInputBlurBound),this.$input[0].addEventListener("keydown",this._handleInputKeydownBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleChipClickBound),document.removeEventListener("keydown",n._handleChipsKeydown),document.removeEventListener("keyup",n._handleChipsKeyup),this.el.removeEventListener("blur",n._handleChipsBlur,!0),this.$input[0].removeEventListener("focus",this._handleInputFocusBound),this.$input[0].removeEventListener("blur",this._handleInputBlurBound),this.$input[0].removeEventListener("keydown",this._handleInputKeydownBound)}},{key:"_handleChipClick",value:function(t){var i=e(t.target).closest(".chip"),n=e(t.target).is(".close");if(i.length){var s=i.index();n?(this.deleteChip(s),this.$input[0].focus()):this.selectChip(s)}else this.$input[0].focus()}},{key:"_handleInputFocus",value:function(){this.$el.addClass("focus")}},{key:"_handleInputBlur",value:function(){this.$el.removeClass("focus")}},{key:"_handleInputKeydown",value:function(e){if(n._keydown=!0,13===e.keyCode){if(this.hasAutocomplete&&this.autocomplete&&this.autocomplete.isOpen)return;e.preventDefault(),this.addChip({tag:this.$input[0].value}),this.$input[0].value=""}else 8!==e.keyCode&&37!==e.keyCode||""!==this.$input[0].value||!this.chipsData.length||(e.preventDefault(),this.selectChip(this.chipsData.length-1))}},{key:"_renderChip",value:function(t){if(t.tag){var i=document.createElement("div"),n=document.createElement("i");if(i.classList.add("chip"),i.textContent=t.tag,i.setAttribute("tabindex",0),e(n).addClass("material-icons close"),n.textContent="close",t.image){var s=document.createElement("img");s.setAttribute("src",t.image),i.insertBefore(s,i.firstChild)}return i.appendChild(n),i}}},{key:"_renderChips",value:function(){this.$chips.remove();for(var e=0;e<this.chipsData.length;e++){var t=this._renderChip(this.chipsData[e]);this.$el.append(t),this.$chips.add(t)}this.$el.append(this.$input[0])}},{key:"_setupAutocomplete",value:function(){var e=this;this.options.autocompleteOptions.onAutocomplete=function(t){e.addChip({tag:t}),e.$input[0].value="",e.$input[0].focus()},this.autocomplete=M.Autocomplete.init(this.$input[0],this.options.autocompleteOptions)}},{key:"_setupInput",value:function(){this.$input=this.$el.find("input"),this.$input.length||(this.$input=e("<input></input>"),this.$el.append(this.$input)),this.$input.addClass("input")}},{key:"_setupLabel",value:function(){this.$label=this.$el.find("label"),this.$label.length&&this.$label.setAttribute("for",this.$input.attr("id"))}},{key:"_setPlaceholder",value:function(){void 0!==this.chipsData&&!this.chipsData.length&&this.options.placeholder?e(this.$input).prop("placeholder",this.options.placeholder):(void 0===this.chipsData||this.chipsData.length)&&this.options.secondaryPlaceholder&&e(this.$input).prop("placeholder",this.options.secondaryPlaceholder)}},{key:"_isValid",value:function(e){if(e.hasOwnProperty("tag")&&""!==e.tag){for(var t=!1,i=0;i<this.chipsData.length;i++)if(this.chipsData[i].tag===e.tag){t=!0;break}return!t}return!1}},{key:"addChip",value:function(t){if(this._isValid(t)&&!(this.chipsData.length>=this.options.limit)){var i=this._renderChip(t);this.$chips.add(i),this.chipsData.push(t),e(this.$input).before(i),this._setPlaceholder(),"function"==typeof this.options.onChipAdd&&this.options.onChipAdd.call(this,this.$el,i)}}},{key:"deleteChip",value:function(t){var i=this.$chips.eq(t);this.$chips.eq(t).remove(),this.$chips=this.$chips.filter((function(t){return e(t).index()>=0})),this.chipsData.splice(t,1),this._setPlaceholder(),"function"==typeof this.options.onChipDelete&&this.options.onChipDelete.call(this,this.$el,i[0])}},{key:"selectChip",value:function(e){var t=this.$chips.eq(e);this._selectedChip=t,t[0].focus(),"function"==typeof this.options.onChipSelect&&this.options.onChipSelect.call(this,this.$el,t[0])}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Chips}},{key:"_handleChipsKeydown",value:function(t){n._keydown=!0;var i=e(t.target).closest(".chips"),s=t.target&&i.length;if(!e(t.target).is("input, textarea")&&s){var a=i[0].M_Chips;if(8===t.keyCode||46===t.keyCode){t.preventDefault();var o=a.chipsData.length;if(a._selectedChip){var r=a._selectedChip.index();a.deleteChip(r),a._selectedChip=null,o=Math.max(r-1,0)}a.chipsData.length&&a.selectChip(o)}else if(37===t.keyCode){if(a._selectedChip){var l=a._selectedChip.index()-1;if(l<0)return;a.selectChip(l)}}else if(39===t.keyCode&&a._selectedChip){var u=a._selectedChip.index()+1;u>=a.chipsData.length?a.$input[0].focus():a.selectChip(u)}}}},{key:"_handleChipsKeyup",value:function(e){n._keydown=!1}},{key:"_handleChipsBlur",value:function(t){n._keydown||(e(t.target).closest(".chips")[0].M_Chips._selectedChip=null)}},{key:"defaults",get:function(){return t}}]),n}(u);i._keydown=!1,M.Chips=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"chips","M_Chips"),e(document).ready((function(){e(document.body).on("click",".chip .close",(function(){var t=e(this).closest(".chips");t.length&&t[0].M_Chips||e(this).closest(".chip").remove()}))}))}(cash),function(e){"use strict";var t={top:0,bottom:1/0,offset:0,onPositionChange:null},i=function(i){function n(t,i){l(this,n);var s=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_Pushpin=s,s.options=e.extend({},n.defaults,i),s.originalOffset=s.el.offsetTop,n._pushpins.push(s),s._setupEventHandlers(),s._updatePosition(),s}return r(n,i),a(n,[{key:"destroy",value:function(){this.el.style.top=null,this._removePinClasses(),this._removeEventHandlers();var e=n._pushpins.indexOf(this);n._pushpins.splice(e,1)}},{key:"_setupEventHandlers",value:function(){document.addEventListener("scroll",n._updateElements)}},{key:"_removeEventHandlers",value:function(){document.removeEventListener("scroll",n._updateElements)}},{key:"_updatePosition",value:function(){var e=M.getDocumentScrollTop()+this.options.offset;this.options.top<=e&&this.options.bottom>=e&&!this.el.classList.contains("pinned")&&(this._removePinClasses(),this.el.style.top=this.options.offset+"px",this.el.classList.add("pinned"),"function"==typeof this.options.onPositionChange&&this.options.onPositionChange.call(this,"pinned")),e<this.options.top&&!this.el.classList.contains("pin-top")&&(this._removePinClasses(),this.el.style.top=0,this.el.classList.add("pin-top"),"function"==typeof this.options.onPositionChange&&this.options.onPositionChange.call(this,"pin-top")),e>this.options.bottom&&!this.el.classList.contains("pin-bottom")&&(this._removePinClasses(),this.el.classList.add("pin-bottom"),this.el.style.top=this.options.bottom-this.originalOffset+"px","function"==typeof this.options.onPositionChange&&this.options.onPositionChange.call(this,"pin-bottom"))}},{key:"_removePinClasses",value:function(){this.el.classList.remove("pin-top"),this.el.classList.remove("pinned"),this.el.classList.remove("pin-bottom")}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Pushpin}},{key:"_updateElements",value:function(){for(var e in n._pushpins){n._pushpins[e]._updatePosition()}}},{key:"defaults",get:function(){return t}}]),n}(u);i._pushpins=[],M.Pushpin=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"pushpin","M_Pushpin")}(cash),function(e,t){"use strict";var i={direction:"top",hoverEnabled:!0,toolbarEnabled:!1};e.fn.reverse=[].reverse;var n=function(n){function u(t,i){l(this,u);var n=o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_FloatingActionButton=n,n.options=e.extend({},u.defaults,i),n.isOpen=!1,n.$anchor=n.$el.children("a").first(),n.$menu=n.$el.children("ul").first(),n.$floatingBtns=n.$el.find("ul .btn-floating"),n.$floatingBtnsReverse=n.$el.find("ul .btn-floating").reverse(),n.offsetY=0,n.offsetX=0,n.$el.addClass("direction-"+n.options.direction),"top"===n.options.direction?n.offsetY=40:"right"===n.options.direction?n.offsetX=-40:"bottom"===n.options.direction?n.offsetY=-40:n.offsetX=40,n._setupEventHandlers(),n}return r(u,n),a(u,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_FloatingActionButton=void 0}},{key:"_setupEventHandlers",value:function(){this._handleFABClickBound=this._handleFABClick.bind(this),this._handleOpenBound=this.open.bind(this),this._handleCloseBound=this.close.bind(this),this.options.hoverEnabled&&!this.options.toolbarEnabled?(this.el.addEventListener("mouseenter",this._handleOpenBound),this.el.addEventListener("mouseleave",this._handleCloseBound)):this.el.addEventListener("click",this._handleFABClickBound)}},{key:"_removeEventHandlers",value:function(){this.options.hoverEnabled&&!this.options.toolbarEnabled?(this.el.removeEventListener("mouseenter",this._handleOpenBound),this.el.removeEventListener("mouseleave",this._handleCloseBound)):this.el.removeEventListener("click",this._handleFABClickBound)}},{key:"_handleFABClick",value:function(){this.isOpen?this.close():this.open()}},{key:"_handleDocumentClick",value:function(t){e(t.target).closest(this.$menu).length||this.close()}},{key:"open",value:function(){this.isOpen||(this.options.toolbarEnabled?this._animateInToolbar():this._animateInFAB(),this.isOpen=!0)}},{key:"close",value:function(){this.isOpen&&(this.options.toolbarEnabled?(window.removeEventListener("scroll",this._handleCloseBound,!0),document.body.removeEventListener("click",this._handleDocumentClickBound,!0),this._animateOutToolbar()):this._animateOutFAB(),this.isOpen=!1)}},{key:"_animateInFAB",value:function(){var e=this;this.$el.addClass("active");var i=0;this.$floatingBtnsReverse.each((function(n){t({targets:n,opacity:1,scale:[.4,1],translateY:[e.offsetY,0],translateX:[e.offsetX,0],duration:275,delay:i,easing:"easeInOutQuad"}),i+=40}))}},{key:"_animateOutFAB",value:function(){var e=this;this.$floatingBtnsReverse.each((function(i){t.remove(i),t({targets:i,opacity:0,scale:.4,translateY:e.offsetY,translateX:e.offsetX,duration:175,easing:"easeOutQuad",complete:function(){e.$el.removeClass("active")}})}))}},{key:"_animateInToolbar",value:function(){var t,i=this,n=window.innerWidth,s=window.innerHeight,a=this.el.getBoundingClientRect(),o=e('<div class="fab-backdrop"></div>'),r=this.$anchor.css("background-color");this.$anchor.append(o),this.offsetX=a.left-n/2+a.width/2,this.offsetY=s-a.bottom,t=n/o[0].clientWidth,this.btnBottom=a.bottom,this.btnLeft=a.left,this.btnWidth=a.width,this.$el.addClass("active"),this.$el.css({"text-align":"center",width:"100%",bottom:0,left:0,transform:"translateX("+this.offsetX+"px)",transition:"none"}),this.$anchor.css({transform:"translateY("+-this.offsetY+"px)",transition:"none"}),o.css({"background-color":r}),setTimeout((function(){i.$el.css({transform:"",transition:"transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530), background-color 0s linear .2s"}),i.$anchor.css({overflow:"visible",transform:"",transition:"transform .2s"}),setTimeout((function(){i.$el.css({overflow:"hidden","background-color":r}),o.css({transform:"scale("+t+")",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"}),i.$menu.children("li").children("a").css({opacity:1}),i._handleDocumentClickBound=i._handleDocumentClick.bind(i),window.addEventListener("scroll",i._handleCloseBound,!0),document.body.addEventListener("click",i._handleDocumentClickBound,!0)}),100)}),0)}},{key:"_animateOutToolbar",value:function(){var e=this,t=window.innerWidth,i=window.innerHeight,n=this.$el.find(".fab-backdrop"),s=this.$anchor.css("background-color");this.offsetX=this.btnLeft-t/2+this.btnWidth/2,this.offsetY=i-this.btnBottom,this.$el.removeClass("active"),this.$el.css({"background-color":"transparent",transition:"none"}),this.$anchor.css({transition:"none"}),n.css({transform:"scale(0)","background-color":s}),this.$menu.children("li").children("a").css({opacity:""}),setTimeout((function(){n.remove(),e.$el.css({"text-align":"",width:"",bottom:"",left:"",overflow:"","background-color":"",transform:"translate3d("+-e.offsetX+"px,0,0)"}),e.$anchor.css({overflow:"",transform:"translate3d(0,"+e.offsetY+"px,0)"}),setTimeout((function(){e.$el.css({transform:"translate3d(0,0,0)",transition:"transform .2s"}),e.$anchor.css({transform:"translate3d(0,0,0)",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"})}),20)}),200)}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_FloatingActionButton}},{key:"defaults",get:function(){return i}}]),u}(u);M.FloatingActionButton=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"floatingActionButton","M_FloatingActionButton")}(cash,M.anime),function(e){"use strict";var t={autoClose:!1,format:"mmm dd, yyyy",parse:null,defaultDate:null,setDefaultDate:!1,disableWeekends:!1,disableDayFn:null,firstDay:0,minDate:null,maxDate:null,yearRange:10,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,container:null,showClearBtn:!1,i18n:{cancel:"Cancel",clear:"Clear",done:"Ok",previousMonth:"‹",nextMonth:"›",months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysAbbrev:["S","M","T","W","T","F","S"]},events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null},i=function(i){function n(t,i){l(this,n);var s=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));s.el.M_Datepicker=s,s.options=e.extend({},n.defaults,i),i&&i.hasOwnProperty("i18n")&&"object"==typeof i.i18n&&(s.options.i18n=e.extend({},n.defaults.i18n,i.i18n)),s.options.minDate&&s.options.minDate.setHours(0,0,0,0),s.options.maxDate&&s.options.maxDate.setHours(0,0,0,0),s.id=M.guid(),s._setupVariables(),s._insertHTMLIntoDOM(),s._setupModal(),s._setupEventHandlers(),s.options.defaultDate||(s.options.defaultDate=new Date(Date.parse(s.el.value)));var a=s.options.defaultDate;return n._isDate(a)?s.options.setDefaultDate?(s.setDate(a,!0),s.setInputValue()):s.gotoDate(a):s.gotoDate(new Date),s.isOpen=!1,s}return r(n,i),a(n,[{key:"destroy",value:function(){this._removeEventHandlers(),this.modal.destroy(),e(this.modalEl).remove(),this.destroySelects(),this.el.M_Datepicker=void 0}},{key:"destroySelects",value:function(){var e=this.calendarEl.querySelector(".orig-select-year");e&&M.FormSelect.getInstance(e).destroy();var t=this.calendarEl.querySelector(".orig-select-month");t&&M.FormSelect.getInstance(t).destroy()}},{key:"_insertHTMLIntoDOM",value:function(){this.options.showClearBtn&&(e(this.clearBtn).css({visibility:""}),this.clearBtn.innerHTML=this.options.i18n.clear),this.doneBtn.innerHTML=this.options.i18n.done,this.cancelBtn.innerHTML=this.options.i18n.cancel,this.options.container?this.$modalEl.appendTo(this.options.container):this.$modalEl.insertBefore(this.el)}},{key:"_setupModal",value:function(){var e=this;this.modalEl.id="modal-"+this.id,this.modal=M.Modal.init(this.modalEl,{onCloseEnd:function(){e.isOpen=!1}})}},{key:"toString",value:function(e){var t=this;return e=e||this.options.format,n._isDate(this.date)?e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g).map((function(e){return t.formats[e]?t.formats[e]():e})).join(""):""}},{key:"setDate",value:function(e,t){if(!e)return this.date=null,this._renderDateDisplay(),this.draw();if("string"==typeof e&&(e=new Date(Date.parse(e))),n._isDate(e)){var i=this.options.minDate,s=this.options.maxDate;n._isDate(i)&&e<i?e=i:n._isDate(s)&&e>s&&(e=s),this.date=new Date(e.getTime()),this._renderDateDisplay(),n._setToStartOfDay(this.date),this.gotoDate(this.date),t||"function"!=typeof this.options.onSelect||this.options.onSelect.call(this,this.date)}}},{key:"setInputValue",value:function(){this.el.value=this.toString(),this.$el.trigger("change",{firedBy:this})}},{key:"_renderDateDisplay",value:function(){var e=n._isDate(this.date)?this.date:new Date,t=this.options.i18n,i=t.weekdaysShort[e.getDay()],s=t.monthsShort[e.getMonth()],a=e.getDate();this.yearTextEl.innerHTML=e.getFullYear(),this.dateTextEl.innerHTML=i+", "+s+" "+a}},{key:"gotoDate",value:function(e){var t=!0;if(n._isDate(e)){if(this.calendars){var i=new Date(this.calendars[0].year,this.calendars[0].month,1),s=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),a=e.getTime();s.setMonth(s.getMonth()+1),s.setDate(s.getDate()-1),t=a<i.getTime()||s.getTime()<a}t&&(this.calendars=[{month:e.getMonth(),year:e.getFullYear()}]),this.adjustCalendars()}}},{key:"adjustCalendars",value:function(){this.calendars[0]=this.adjustCalendar(this.calendars[0]),this.draw()}},{key:"adjustCalendar",value:function(e){return e.month<0&&(e.year-=Math.ceil(Math.abs(e.month)/12),e.month+=12),e.month>11&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e}},{key:"nextMonth",value:function(){this.calendars[0].month++,this.adjustCalendars()}},{key:"prevMonth",value:function(){this.calendars[0].month--,this.adjustCalendars()}},{key:"render",value:function(e,t,i){var s=this.options,a=new Date,o=n._getDaysInMonth(e,t),r=new Date(e,t,1).getDay(),l=[],u=[];n._setToStartOfDay(a),s.firstDay>0&&(r-=s.firstDay)<0&&(r+=7);for(var d=0===t?11:t-1,c=11===t?0:t+1,h=0===t?e-1:e,p=11===t?e+1:e,v=n._getDaysInMonth(h,d),f=o+r,_=f;_>7;)_-=7;f+=7-_;for(var m=!1,y=0,g=0;y<f;y++){var b=new Date(e,t,y-r+1),k=!!n._isDate(this.date)&&n._compareDates(b,this.date),w=n._compareDates(b,a),C=-1!==s.events.indexOf(b.toDateString()),x=y<r||y>=o+r,E=y-r+1,M=t,T=e,j=s.startRange&&n._compareDates(s.startRange,b),O=s.endRange&&n._compareDates(s.endRange,b),L=s.startRange&&s.endRange&&s.startRange<b&&b<s.endRange;x&&(y<r?(E=v+E,M=d,T=h):(E-=o,M=c,T=p));var D={day:E,month:M,year:T,hasEvent:C,isSelected:k,isToday:w,isDisabled:s.minDate&&b<s.minDate||s.maxDate&&b>s.maxDate||s.disableWeekends&&n._isWeekend(b)||s.disableDayFn&&s.disableDayFn(b),isEmpty:x,isStartRange:j,isEndRange:O,isInRange:L,showDaysInNextAndPreviousMonths:s.showDaysInNextAndPreviousMonths};u.push(this.renderDay(D)),7==++g&&(l.push(this.renderRow(u,s.isRTL,m)),u=[],g=0,m=!1)}return this.renderTable(s,l,i)}},{key:"renderDay",value:function(e){var t=[],i="false";if(e.isEmpty){if(!e.showDaysInNextAndPreviousMonths)return'<td class="is-empty"></td>';t.push("is-outside-current-month"),t.push("is-selection-disabled")}return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&(t.push("is-selected"),i="true"),e.hasEvent&&t.push("has-event"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),'<td data-day="'+e.day+'" class="'+t.join(" ")+'" aria-selected="'+i+'"><button class="datepicker-day-button" type="button" data-year="'+e.year+'" data-month="'+e.month+'" data-day="'+e.day+'">'+e.day+"</button></td>"}},{key:"renderRow",value:function(e,t,i){return'<tr class="datepicker-row'+(i?" is-selected":"")+'">'+(t?e.reverse():e).join("")+"</tr>"}},{key:"renderTable",value:function(e,t,i){return'<div class="datepicker-table-wrapper"><table cellpadding="0" cellspacing="0" class="datepicker-table" role="grid" aria-labelledby="'+i+'">'+this.renderHead(e)+this.renderBody(t)+"</table></div>"}},{key:"renderHead",value:function(e){var t=void 0,i=[];for(t=0;t<7;t++)i.push('<th scope="col"><abbr title="'+this.renderDayName(e,t)+'">'+this.renderDayName(e,t,!0)+"</abbr></th>");return"<thead><tr>"+(e.isRTL?i.reverse():i).join("")+"</tr></thead>"}},{key:"renderBody",value:function(e){return"<tbody>"+e.join("")+"</tbody>"}},{key:"renderTitle",value:function(t,i,n,s,a,o){var r,l,u=void 0,d=void 0,c=void 0,h=this.options,p=n===h.minYear,v=n===h.maxYear,f='<div id="'+o+'" class="datepicker-controls" role="heading" aria-live="assertive">',_=!0,m=!0;for(c=[],u=0;u<12;u++)c.push('<option value="'+(n===a?u-i:12+u-i)+'"'+(u===s?' selected="selected"':"")+(p&&u<h.minMonth||v&&u>h.maxMonth?'disabled="disabled"':"")+">"+h.i18n.months[u]+"</option>");for(r='<select class="datepicker-select orig-select-month" tabindex="-1">'+c.join("")+"</select>",e.isArray(h.yearRange)?(u=h.yearRange[0],d=h.yearRange[1]+1):(u=n-h.yearRange,d=1+n+h.yearRange),c=[];u<d&&u<=h.maxYear;u++)u>=h.minYear&&c.push('<option value="'+u+'" '+(u===n?'selected="selected"':"")+">"+u+"</option>");l='<select class="datepicker-select orig-select-year" tabindex="-1">'+c.join("")+"</select>";f+='<button class="month-prev'+(_?"":" is-disabled")+'" type="button"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/><path d="M0-.5h24v24H0z" fill="none"/></svg></button>',f+='<div class="selects-container">',h.showMonthAfterYear?f+=l+r:f+=r+l,f+="</div>",p&&(0===s||h.minMonth>=s)&&(_=!1),v&&(11===s||h.maxMonth<=s)&&(m=!1);return(f+='<button class="month-next'+(m?"":" is-disabled")+'" type="button"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/><path d="M0-.25h24v24H0z" fill="none"/></svg></button>')+"</div>"}},{key:"draw",value:function(e){if(this.isOpen||e){var t,i=this.options,n=i.minYear,s=i.maxYear,a=i.minMonth,o=i.maxMonth,r="";this._y<=n&&(this._y=n,!isNaN(a)&&this._m<a&&(this._m=a)),this._y>=s&&(this._y=s,!isNaN(o)&&this._m>o&&(this._m=o)),t="datepicker-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2);for(var l=0;l<1;l++)this._renderDateDisplay(),r+=this.renderTitle(this,l,this.calendars[l].year,this.calendars[l].month,this.calendars[0].year,t)+this.render(this.calendars[l].year,this.calendars[l].month,t);this.destroySelects(),this.calendarEl.innerHTML=r;var u=this.calendarEl.querySelector(".orig-select-year"),d=this.calendarEl.querySelector(".orig-select-month");M.FormSelect.init(u,{classes:"select-year",dropdownOptions:{container:document.body,constrainWidth:!1}}),M.FormSelect.init(d,{classes:"select-month",dropdownOptions:{container:document.body,constrainWidth:!1}}),u.addEventListener("change",this._handleYearChange.bind(this)),d.addEventListener("change",this._handleMonthChange.bind(this)),"function"==typeof this.options.onDraw&&this.options.onDraw(this)}}},{key:"_setupEventHandlers",value:function(){this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),this._handleInputChangeBound=this._handleInputChange.bind(this),this._handleCalendarClickBound=this._handleCalendarClick.bind(this),this._finishSelectionBound=this._finishSelection.bind(this),this._handleMonthChange=this._handleMonthChange.bind(this),this._closeBound=this.close.bind(this),this.el.addEventListener("click",this._handleInputClickBound),this.el.addEventListener("keydown",this._handleInputKeydownBound),this.el.addEventListener("change",this._handleInputChangeBound),this.calendarEl.addEventListener("click",this._handleCalendarClickBound),this.doneBtn.addEventListener("click",this._finishSelectionBound),this.cancelBtn.addEventListener("click",this._closeBound),this.options.showClearBtn&&(this._handleClearClickBound=this._handleClearClick.bind(this),this.clearBtn.addEventListener("click",this._handleClearClickBound))}},{key:"_setupVariables",value:function(){var t=this;this.$modalEl=e(n._template),this.modalEl=this.$modalEl[0],this.calendarEl=this.modalEl.querySelector(".datepicker-calendar"),this.yearTextEl=this.modalEl.querySelector(".year-text"),this.dateTextEl=this.modalEl.querySelector(".date-text"),this.options.showClearBtn&&(this.clearBtn=this.modalEl.querySelector(".datepicker-clear")),this.doneBtn=this.modalEl.querySelector(".datepicker-done"),this.cancelBtn=this.modalEl.querySelector(".datepicker-cancel"),this.formats={d:function(){return t.date.getDate()},dd:function(){var e=t.date.getDate();return(e<10?"0":"")+e},ddd:function(){return t.options.i18n.weekdaysShort[t.date.getDay()]},dddd:function(){return t.options.i18n.weekdays[t.date.getDay()]},m:function(){return t.date.getMonth()+1},mm:function(){var e=t.date.getMonth()+1;return(e<10?"0":"")+e},mmm:function(){return t.options.i18n.monthsShort[t.date.getMonth()]},mmmm:function(){return t.options.i18n.months[t.date.getMonth()]},yy:function(){return(""+t.date.getFullYear()).slice(2)},yyyy:function(){return t.date.getFullYear()}}}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleInputClickBound),this.el.removeEventListener("keydown",this._handleInputKeydownBound),this.el.removeEventListener("change",this._handleInputChangeBound),this.calendarEl.removeEventListener("click",this._handleCalendarClickBound)}},{key:"_handleInputClick",value:function(){this.open()}},{key:"_handleInputKeydown",value:function(e){e.which===M.keys.ENTER&&(e.preventDefault(),this.open())}},{key:"_handleCalendarClick",value:function(t){if(this.isOpen){var i=e(t.target);i.hasClass("is-disabled")||(!i.hasClass("datepicker-day-button")||i.hasClass("is-empty")||i.parent().hasClass("is-disabled")?i.closest(".month-prev").length?this.prevMonth():i.closest(".month-next").length&&this.nextMonth():(this.setDate(new Date(t.target.getAttribute("data-year"),t.target.getAttribute("data-month"),t.target.getAttribute("data-day"))),this.options.autoClose&&this._finishSelection()))}}},{key:"_handleClearClick",value:function(){this.date=null,this.setInputValue(),this.close()}},{key:"_handleMonthChange",value:function(e){this.gotoMonth(e.target.value)}},{key:"_handleYearChange",value:function(e){this.gotoYear(e.target.value)}},{key:"gotoMonth",value:function(e){isNaN(e)||(this.calendars[0].month=parseInt(e,10),this.adjustCalendars())}},{key:"gotoYear",value:function(e){isNaN(e)||(this.calendars[0].year=parseInt(e,10),this.adjustCalendars())}},{key:"_handleInputChange",value:function(e){var t=void 0;e.firedBy!==this&&(t=this.options.parse?this.options.parse(this.el.value,this.options.format):new Date(Date.parse(this.el.value)),n._isDate(t)&&this.setDate(t))}},{key:"renderDayName",value:function(e,t,i){for(t+=e.firstDay;t>=7;)t-=7;return i?e.i18n.weekdaysAbbrev[t]:e.i18n.weekdays[t]}},{key:"_finishSelection",value:function(){this.setInputValue(),this.close()}},{key:"open",value:function(){if(!this.isOpen)return this.isOpen=!0,"function"==typeof this.options.onOpen&&this.options.onOpen.call(this),this.draw(),this.modal.open(),this}},{key:"close",value:function(){if(this.isOpen)return this.isOpen=!1,"function"==typeof this.options.onClose&&this.options.onClose.call(this),this.modal.close(),this}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"_isDate",value:function(e){return/Date/.test(Object.prototype.toString.call(e))&&!isNaN(e.getTime())}},{key:"_isWeekend",value:function(e){var t=e.getDay();return 0===t||6===t}},{key:"_setToStartOfDay",value:function(e){n._isDate(e)&&e.setHours(0,0,0,0)}},{key:"_getDaysInMonth",value:function(e,t){return[31,n._isLeapYear(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]}},{key:"_isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"_compareDates",value:function(e,t){return e.getTime()===t.getTime()}},{key:"_setToStartOfDay",value:function(e){n._isDate(e)&&e.setHours(0,0,0,0)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Datepicker}},{key:"defaults",get:function(){return t}}]),n}(u);i._template=['<div class= "modal datepicker-modal">','<div class="modal-content datepicker-container">','<div class="datepicker-date-display">','<span class="year-text"></span>','<span class="date-text"></span>',"</div>",'<div class="datepicker-calendar-container">','<div class="datepicker-calendar"></div>','<div class="datepicker-footer">','<button class="btn-flat datepicker-clear waves-effect" style="visibility: hidden;" type="button"></button>','<div class="confirmation-btns">','<button class="btn-flat datepicker-cancel waves-effect" type="button"></button>','<button class="btn-flat datepicker-done waves-effect" type="button"></button>',"</div>","</div>","</div>","</div>","</div>"].join(""),M.Datepicker=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"datepicker","M_Datepicker")}(cash),function(e){"use strict";var t={dialRadius:135,outerRadius:105,innerRadius:70,tickRadius:20,duration:350,container:null,defaultTime:"now",fromNow:0,showClearBtn:!1,i18n:{cancel:"Cancel",clear:"Clear",done:"Ok"},autoClose:!1,twelveHour:!0,vibrate:!0,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,onSelect:null},i=function(i){function n(t,i){l(this,n);var s=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_Timepicker=s,s.options=e.extend({},n.defaults,i),s.id=M.guid(),s._insertHTMLIntoDOM(),s._setupModal(),s._setupVariables(),s._setupEventHandlers(),s._clockSetup(),s._pickerSetup(),s}return r(n,i),a(n,[{key:"destroy",value:function(){this._removeEventHandlers(),this.modal.destroy(),e(this.modalEl).remove(),this.el.M_Timepicker=void 0}},{key:"_setupEventHandlers",value:function(){this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),this._handleClockClickStartBound=this._handleClockClickStart.bind(this),this._handleDocumentClickMoveBound=this._handleDocumentClickMove.bind(this),this._handleDocumentClickEndBound=this._handleDocumentClickEnd.bind(this),this.el.addEventListener("click",this._handleInputClickBound),this.el.addEventListener("keydown",this._handleInputKeydownBound),this.plate.addEventListener("mousedown",this._handleClockClickStartBound),this.plate.addEventListener("touchstart",this._handleClockClickStartBound),e(this.spanHours).on("click",this.showView.bind(this,"hours")),e(this.spanMinutes).on("click",this.showView.bind(this,"minutes"))}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleInputClickBound),this.el.removeEventListener("keydown",this._handleInputKeydownBound)}},{key:"_handleInputClick",value:function(){this.open()}},{key:"_handleInputKeydown",value:function(e){e.which===M.keys.ENTER&&(e.preventDefault(),this.open())}},{key:"_handleClockClickStart",value:function(e){e.preventDefault();var t=this.plate.getBoundingClientRect(),i=t.left,s=t.top;this.x0=i+this.options.dialRadius,this.y0=s+this.options.dialRadius,this.moved=!1;var a=n._Pos(e);this.dx=a.x-this.x0,this.dy=a.y-this.y0,this.setHand(this.dx,this.dy,!1),document.addEventListener("mousemove",this._handleDocumentClickMoveBound),document.addEventListener("touchmove",this._handleDocumentClickMoveBound),document.addEventListener("mouseup",this._handleDocumentClickEndBound),document.addEventListener("touchend",this._handleDocumentClickEndBound)}},{key:"_handleDocumentClickMove",value:function(e){e.preventDefault();var t=n._Pos(e),i=t.x-this.x0,s=t.y-this.y0;this.moved=!0,this.setHand(i,s,!1,!0)}},{key:"_handleDocumentClickEnd",value:function(t){var i=this;t.preventDefault(),document.removeEventListener("mouseup",this._handleDocumentClickEndBound),document.removeEventListener("touchend",this._handleDocumentClickEndBound);var s=n._Pos(t),a=s.x-this.x0,o=s.y-this.y0;this.moved&&a===this.dx&&o===this.dy&&this.setHand(a,o),"hours"===this.currentView?this.showView("minutes",this.options.duration/2):this.options.autoClose&&(e(this.minutesView).addClass("timepicker-dial-out"),setTimeout((function(){i.done()}),this.options.duration/2)),"function"==typeof this.options.onSelect&&this.options.onSelect.call(this,this.hours,this.minutes),document.removeEventListener("mousemove",this._handleDocumentClickMoveBound),document.removeEventListener("touchmove",this._handleDocumentClickMoveBound)}},{key:"_insertHTMLIntoDOM",value:function(){this.$modalEl=e(n._template),this.modalEl=this.$modalEl[0],this.modalEl.id="modal-"+this.id;var t=document.querySelector(this.options.container);this.options.container&&t?this.$modalEl.appendTo(t):this.$modalEl.insertBefore(this.el)}},{key:"_setupModal",value:function(){var e=this;this.modal=M.Modal.init(this.modalEl,{onOpenStart:this.options.onOpenStart,onOpenEnd:this.options.onOpenEnd,onCloseStart:this.options.onCloseStart,onCloseEnd:function(){"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e),e.isOpen=!1}})}},{key:"_setupVariables",value:function(){this.currentView="hours",this.vibrate=navigator.vibrate?"vibrate":navigator.webkitVibrate?"webkitVibrate":null,this._canvas=this.modalEl.querySelector(".timepicker-canvas"),this.plate=this.modalEl.querySelector(".timepicker-plate"),this.hoursView=this.modalEl.querySelector(".timepicker-hours"),this.minutesView=this.modalEl.querySelector(".timepicker-minutes"),this.spanHours=this.modalEl.querySelector(".timepicker-span-hours"),this.spanMinutes=this.modalEl.querySelector(".timepicker-span-minutes"),this.spanAmPm=this.modalEl.querySelector(".timepicker-span-am-pm"),this.footer=this.modalEl.querySelector(".timepicker-footer"),this.amOrPm="PM"}},{key:"_pickerSetup",value:function(){var t=e('<button class="btn-flat timepicker-clear waves-effect" style="visibility: hidden;" type="button" tabindex="'+(this.options.twelveHour?"3":"1")+'">'+this.options.i18n.clear+"</button>").appendTo(this.footer).on("click",this.clear.bind(this));this.options.showClearBtn&&t.css({visibility:""});var i=e('<div class="confirmation-btns"></div>');e('<button class="btn-flat timepicker-close waves-effect" type="button" tabindex="'+(this.options.twelveHour?"3":"1")+'">'+this.options.i18n.cancel+"</button>").appendTo(i).on("click",this.close.bind(this)),e('<button class="btn-flat timepicker-close waves-effect" type="button" tabindex="'+(this.options.twelveHour?"3":"1")+'">'+this.options.i18n.done+"</button>").appendTo(i).on("click",this.done.bind(this)),i.appendTo(this.footer)}},{key:"_clockSetup",value:function(){this.options.twelveHour&&(this.$amBtn=e('<div class="am-btn">AM</div>'),this.$pmBtn=e('<div class="pm-btn">PM</div>'),this.$amBtn.on("click",this._handleAmPmClick.bind(this)).appendTo(this.spanAmPm),this.$pmBtn.on("click",this._handleAmPmClick.bind(this)).appendTo(this.spanAmPm)),this._buildHoursView(),this._buildMinutesView(),this._buildSVGClock()}},{key:"_buildSVGClock",value:function(){var e=this.options.dialRadius,t=this.options.tickRadius,i=2*e,s=n._createSVGEl("svg");s.setAttribute("class","timepicker-svg"),s.setAttribute("width",i),s.setAttribute("height",i);var a=n._createSVGEl("g");a.setAttribute("transform","translate("+e+","+e+")");var o=n._createSVGEl("circle");o.setAttribute("class","timepicker-canvas-bearing"),o.setAttribute("cx",0),o.setAttribute("cy",0),o.setAttribute("r",4);var r=n._createSVGEl("line");r.setAttribute("x1",0),r.setAttribute("y1",0);var l=n._createSVGEl("circle");l.setAttribute("class","timepicker-canvas-bg"),l.setAttribute("r",t),a.appendChild(r),a.appendChild(l),a.appendChild(o),s.appendChild(a),this._canvas.appendChild(s),this.hand=r,this.bg=l,this.bearing=o,this.g=a}},{key:"_buildHoursView",value:function(){var t=e('<div class="timepicker-tick"></div>');if(this.options.twelveHour)for(var i=1;i<13;i+=1){var n=t.clone(),s=i/6*Math.PI,a=this.options.outerRadius;n.css({left:this.options.dialRadius+Math.sin(s)*a-this.options.tickRadius+"px",top:this.options.dialRadius-Math.cos(s)*a-this.options.tickRadius+"px"}),n.html(0===i?"00":i),this.hoursView.appendChild(n[0])}else for(var o=0;o<24;o+=1){var r=t.clone(),l=o/6*Math.PI,u=o>0&&o<13?this.options.innerRadius:this.options.outerRadius;r.css({left:this.options.dialRadius+Math.sin(l)*u-this.options.tickRadius+"px",top:this.options.dialRadius-Math.cos(l)*u-this.options.tickRadius+"px"}),r.html(0===o?"00":o),this.hoursView.appendChild(r[0])}}},{key:"_buildMinutesView",value:function(){for(var t=e('<div class="timepicker-tick"></div>'),i=0;i<60;i+=5){var s=t.clone(),a=i/30*Math.PI;s.css({left:this.options.dialRadius+Math.sin(a)*this.options.outerRadius-this.options.tickRadius+"px",top:this.options.dialRadius-Math.cos(a)*this.options.outerRadius-this.options.tickRadius+"px"}),s.html(n._addLeadingZero(i)),this.minutesView.appendChild(s[0])}}},{key:"_handleAmPmClick",value:function(t){var i=e(t.target);this.amOrPm=i.hasClass("am-btn")?"AM":"PM",this._updateAmPmView()}},{key:"_updateAmPmView",value:function(){this.options.twelveHour&&(this.$amBtn.toggleClass("text-primary","AM"===this.amOrPm),this.$pmBtn.toggleClass("text-primary","PM"===this.amOrPm))}},{key:"_updateTimeFromInput",value:function(){var e=((this.el.value||this.options.defaultTime||"")+"").split(":");if(this.options.twelveHour&&void 0!==e[1]&&(e[1].toUpperCase().indexOf("AM")>0?this.amOrPm="AM":this.amOrPm="PM",e[1]=e[1].replace("AM","").replace("PM","")),"now"===e[0]){var t=new Date(+new Date+this.options.fromNow);e=[t.getHours(),t.getMinutes()],this.options.twelveHour&&(this.amOrPm=e[0]>=12&&e[0]<24?"PM":"AM")}this.hours=+e[0]||0,this.minutes=+e[1]||0,this.spanHours.innerHTML=this.hours,this.spanMinutes.innerHTML=n._addLeadingZero(this.minutes),this._updateAmPmView()}},{key:"showView",value:function(t,i){"minutes"===t&&e(this.hoursView).css("visibility");var n="hours"===t,s=n?this.hoursView:this.minutesView,a=n?this.minutesView:this.hoursView;this.currentView=t,e(this.spanHours).toggleClass("text-primary",n),e(this.spanMinutes).toggleClass("text-primary",!n),a.classList.add("timepicker-dial-out"),e(s).css("visibility","visible").removeClass("timepicker-dial-out"),this.resetClock(i),clearTimeout(this.toggleViewTimer),this.toggleViewTimer=setTimeout((function(){e(a).css("visibility","hidden")}),this.options.duration)}},{key:"resetClock",value:function(t){var i=this.currentView,n=this[i],s="hours"===i,a=n*(Math.PI/(s?6:30)),o=s&&n>0&&n<13?this.options.innerRadius:this.options.outerRadius,r=Math.sin(a)*o,l=-Math.cos(a)*o,u=this;t?(e(this.canvas).addClass("timepicker-canvas-out"),setTimeout((function(){e(u.canvas).removeClass("timepicker-canvas-out"),u.setHand(r,l)}),t)):this.setHand(r,l)}},{key:"setHand",value:function(e,t,i){var s=this,a=Math.atan2(e,-t),o="hours"===this.currentView,r=Math.PI/(o||i?6:30),l=Math.sqrt(e*e+t*t),u=o&&l<(this.options.outerRadius+this.options.innerRadius)/2,d=u?this.options.innerRadius:this.options.outerRadius;this.options.twelveHour&&(d=this.options.outerRadius),a<0&&(a=2*Math.PI+a);var c=Math.round(a/r);a=c*r,this.options.twelveHour?o?0===c&&(c=12):(i&&(c*=5),60===c&&(c=0)):o?(12===c&&(c=0),c=u?0===c?12:c:0===c?0:c+12):(i&&(c*=5),60===c&&(c=0)),this[this.currentView]!==c&&this.vibrate&&this.options.vibrate&&(this.vibrateTimer||(navigator[this.vibrate](10),this.vibrateTimer=setTimeout((function(){s.vibrateTimer=null}),100))),this[this.currentView]=c,o?this.spanHours.innerHTML=c:this.spanMinutes.innerHTML=n._addLeadingZero(c);var h=Math.sin(a)*(d-this.options.tickRadius),p=-Math.cos(a)*(d-this.options.tickRadius),v=Math.sin(a)*d,f=-Math.cos(a)*d;this.hand.setAttribute("x2",h),this.hand.setAttribute("y2",p),this.bg.setAttribute("cx",v),this.bg.setAttribute("cy",f)}},{key:"open",value:function(){this.isOpen||(this.isOpen=!0,this._updateTimeFromInput(),this.showView("hours"),this.modal.open())}},{key:"close",value:function(){this.isOpen&&(this.isOpen=!1,this.modal.close())}},{key:"done",value:function(e,t){var i=this.el.value,s=t?"":n._addLeadingZero(this.hours)+":"+n._addLeadingZero(this.minutes);this.time=s,!t&&this.options.twelveHour&&(s=s+" "+this.amOrPm),this.el.value=s,s!==i&&this.$el.trigger("change"),this.close(),this.el.focus()}},{key:"clear",value:function(){this.done(null,!0)}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"_addLeadingZero",value:function(e){return(e<10?"0":"")+e}},{key:"_createSVGEl",value:function(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}},{key:"_Pos",value:function(e){return e.targetTouches&&e.targetTouches.length>=1?{x:e.targetTouches[0].clientX,y:e.targetTouches[0].clientY}:{x:e.clientX,y:e.clientY}}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Timepicker}},{key:"defaults",get:function(){return t}}]),n}(u);i._template=['<div class= "modal timepicker-modal">','<div class="modal-content timepicker-container">','<div class="timepicker-digital-display">','<div class="timepicker-text-container">','<div class="timepicker-display-column">','<span class="timepicker-span-hours text-primary"></span>',":",'<span class="timepicker-span-minutes"></span>',"</div>",'<div class="timepicker-display-column timepicker-display-am-pm">','<div class="timepicker-span-am-pm"></div>',"</div>","</div>","</div>",'<div class="timepicker-analog-display">','<div class="timepicker-plate">','<div class="timepicker-canvas"></div>','<div class="timepicker-dial timepicker-hours"></div>','<div class="timepicker-dial timepicker-minutes timepicker-dial-out"></div>',"</div>",'<div class="timepicker-footer"></div>',"</div>","</div>","</div>"].join(""),M.Timepicker=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"timepicker","M_Timepicker")}(cash),function(e){"use strict";var t={},i=function(i){function n(t,i){l(this,n);var s=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_CharacterCounter=s,s.options=e.extend({},n.defaults,i),s.isInvalid=!1,s.isValidLength=!1,s._setupCounter(),s._setupEventHandlers(),s}return r(n,i),a(n,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.CharacterCounter=void 0,this._removeCounter()}},{key:"_setupEventHandlers",value:function(){this._handleUpdateCounterBound=this.updateCounter.bind(this),this.el.addEventListener("focus",this._handleUpdateCounterBound,!0),this.el.addEventListener("input",this._handleUpdateCounterBound,!0)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("focus",this._handleUpdateCounterBound,!0),this.el.removeEventListener("input",this._handleUpdateCounterBound,!0)}},{key:"_setupCounter",value:function(){this.counterEl=document.createElement("span"),e(this.counterEl).addClass("character-counter").css({float:"right","font-size":"12px",height:1}),this.$el.parent().append(this.counterEl)}},{key:"_removeCounter",value:function(){e(this.counterEl).remove()}},{key:"updateCounter",value:function(){var t=+this.$el.attr("data-length"),i=this.el.value.length;this.isValidLength=i<=t;var n=i;t&&(n+="/"+t,this._validateInput()),e(this.counterEl).html(n)}},{key:"_validateInput",value:function(){this.isValidLength&&this.isInvalid?(this.isInvalid=!1,this.$el.removeClass("invalid")):this.isValidLength||this.isInvalid||(this.isInvalid=!0,this.$el.removeClass("valid"),this.$el.addClass("invalid"))}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_CharacterCounter}},{key:"defaults",get:function(){return t}}]),n}(u);M.CharacterCounter=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"characterCounter","M_CharacterCounter")}(cash),function(e){"use strict";var t={duration:200,dist:-100,shift:0,padding:0,numVisible:5,fullWidth:!1,indicators:!1,noWrap:!1,onCycleTo:null},i=function(i){function n(t,i){l(this,n);var s=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_Carousel=s,s.options=e.extend({},n.defaults,i),s.hasMultipleSlides=s.$el.find(".carousel-item").length>1,s.showIndicators=s.options.indicators&&s.hasMultipleSlides,s.noWrap=s.options.noWrap||!s.hasMultipleSlides,s.pressed=!1,s.dragged=!1,s.offset=s.target=0,s.images=[],s.itemWidth=s.$el.find(".carousel-item").first().innerWidth(),s.itemHeight=s.$el.find(".carousel-item").first().innerHeight(),s.dim=2*s.itemWidth+s.options.padding||1,s._autoScrollBound=s._autoScroll.bind(s),s._trackBound=s._track.bind(s),s.options.fullWidth&&(s.options.dist=0,s._setCarouselHeight(),s.showIndicators&&s.$el.find(".carousel-fixed-item").addClass("with-indicators")),s.$indicators=e('<ul class="indicators"></ul>'),s.$el.find(".carousel-item").each((function(t,i){if(s.images.push(t),s.showIndicators){var n=e('<li class="indicator-item"></li>');0===i&&n[0].classList.add("active"),s.$indicators.append(n)}})),s.showIndicators&&s.$el.append(s.$indicators),s.count=s.images.length,s.options.numVisible=Math.min(s.count,s.options.numVisible),s.xform="transform",["webkit","Moz","O","ms"].every((function(e){var t=e+"Transform";return void 0===document.body.style[t]||(s.xform=t,!1)})),s._setupEventHandlers(),s._scroll(s.offset),s}return r(n,i),a(n,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_Carousel=void 0}},{key:"_setupEventHandlers",value:function(){var e=this;this._handleCarouselTapBound=this._handleCarouselTap.bind(this),this._handleCarouselDragBound=this._handleCarouselDrag.bind(this),this._handleCarouselReleaseBound=this._handleCarouselRelease.bind(this),this._handleCarouselClickBound=this._handleCarouselClick.bind(this),void 0!==window.ontouchstart&&(this.el.addEventListener("touchstart",this._handleCarouselTapBound),this.el.addEventListener("touchmove",this._handleCarouselDragBound),this.el.addEventListener("touchend",this._handleCarouselReleaseBound)),this.el.addEventListener("mousedown",this._handleCarouselTapBound),this.el.addEventListener("mousemove",this._handleCarouselDragBound),this.el.addEventListener("mouseup",this._handleCarouselReleaseBound),this.el.addEventListener("mouseleave",this._handleCarouselReleaseBound),this.el.addEventListener("click",this._handleCarouselClickBound),this.showIndicators&&this.$indicators&&(this._handleIndicatorClickBound=this._handleIndicatorClick.bind(this),this.$indicators.find(".indicator-item").each((function(t,i){t.addEventListener("click",e._handleIndicatorClickBound)})));var t=M.throttle(this._handleResize,200);this._handleThrottledResizeBound=t.bind(this),window.addEventListener("resize",this._handleThrottledResizeBound)}},{key:"_removeEventHandlers",value:function(){var e=this;void 0!==window.ontouchstart&&(this.el.removeEventListener("touchstart",this._handleCarouselTapBound),this.el.removeEventListener("touchmove",this._handleCarouselDragBound),this.el.removeEventListener("touchend",this._handleCarouselReleaseBound)),this.el.removeEventListener("mousedown",this._handleCarouselTapBound),this.el.removeEventListener("mousemove",this._handleCarouselDragBound),this.el.removeEventListener("mouseup",this._handleCarouselReleaseBound),this.el.removeEventListener("mouseleave",this._handleCarouselReleaseBound),this.el.removeEventListener("click",this._handleCarouselClickBound),this.showIndicators&&this.$indicators&&this.$indicators.find(".indicator-item").each((function(t,i){t.removeEventListener("click",e._handleIndicatorClickBound)})),window.removeEventListener("resize",this._handleThrottledResizeBound)}},{key:"_handleCarouselTap",value:function(t){"mousedown"===t.type&&e(t.target).is("img")&&t.preventDefault(),this.pressed=!0,this.dragged=!1,this.verticalDragged=!1,this.reference=this._xpos(t),this.referenceY=this._ypos(t),this.velocity=this.amplitude=0,this.frame=this.offset,this.timestamp=Date.now(),clearInterval(this.ticker),this.ticker=setInterval(this._trackBound,100)}},{key:"_handleCarouselDrag",value:function(e){var t=void 0,i=void 0,n=void 0;if(this.pressed)if(t=this._xpos(e),i=this._ypos(e),n=this.reference-t,Math.abs(this.referenceY-i)<30&&!this.verticalDragged)(n>2||n<-2)&&(this.dragged=!0,this.reference=t,this._scroll(this.offset+n));else{if(this.dragged)return e.preventDefault(),e.stopPropagation(),!1;this.verticalDragged=!0}if(this.dragged)return e.preventDefault(),e.stopPropagation(),!1}},{key:"_handleCarouselRelease",value:function(e){if(this.pressed)return this.pressed=!1,clearInterval(this.ticker),this.target=this.offset,(this.velocity>10||this.velocity<-10)&&(this.amplitude=.9*this.velocity,this.target=this.offset+this.amplitude),this.target=Math.round(this.target/this.dim)*this.dim,this.noWrap&&(this.target>=this.dim*(this.count-1)?this.target=this.dim*(this.count-1):this.target<0&&(this.target=0)),this.amplitude=this.target-this.offset,this.timestamp=Date.now(),requestAnimationFrame(this._autoScrollBound),this.dragged&&(e.preventDefault(),e.stopPropagation()),!1}},{key:"_handleCarouselClick",value:function(t){if(this.dragged)return t.preventDefault(),t.stopPropagation(),!1;if(!this.options.fullWidth){var i=e(t.target).closest(".carousel-item").index();0!==this._wrap(this.center)-i&&(t.preventDefault(),t.stopPropagation()),this._cycleTo(i)}}},{key:"_handleIndicatorClick",value:function(t){t.stopPropagation();var i=e(t.target).closest(".indicator-item");i.length&&this._cycleTo(i.index())}},{key:"_handleResize",value:function(e){this.options.fullWidth?(this.itemWidth=this.$el.find(".carousel-item").first().innerWidth(),this.imageHeight=this.$el.find(".carousel-item.active").height(),this.dim=2*this.itemWidth+this.options.padding,this.offset=2*this.center*this.itemWidth,this.target=this.offset,this._setCarouselHeight(!0)):this._scroll()}},{key:"_setCarouselHeight",value:function(e){var t=this,i=this.$el.find(".carousel-item.active").length?this.$el.find(".carousel-item.active").first():this.$el.find(".carousel-item").first(),n=i.find("img").first();if(n.length)if(n[0].complete){var s=n.height();if(s>0)this.$el.css("height",s+"px");else{var a=n[0].naturalWidth,o=n[0].naturalHeight,r=this.$el.width()/a*o;this.$el.css("height",r+"px")}}else n.one("load",(function(e,i){t.$el.css("height",e.offsetHeight+"px")}));else if(!e){var l=i.height();this.$el.css("height",l+"px")}}},{key:"_xpos",value:function(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}},{key:"_ypos",value:function(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}},{key:"_wrap",value:function(e){return e>=this.count?e%this.count:e<0?this._wrap(this.count+e%this.count):e}},{key:"_track",value:function(){var e,t,i,n;t=(e=Date.now())-this.timestamp,this.timestamp=e,i=this.offset-this.frame,this.frame=this.offset,n=1e3*i/(1+t),this.velocity=.8*n+.2*this.velocity}},{key:"_autoScroll",value:function(){var e=void 0,t=void 0;this.amplitude&&(e=Date.now()-this.timestamp,(t=this.amplitude*Math.exp(-e/this.options.duration))>2||t<-2?(this._scroll(this.target-t),requestAnimationFrame(this._autoScrollBound)):this._scroll(this.target))}},{key:"_scroll",value:function(t){var i=this;this.$el.hasClass("scrolling")||this.el.classList.add("scrolling"),null!=this.scrollingTimeout&&window.clearTimeout(this.scrollingTimeout),this.scrollingTimeout=window.setTimeout((function(){i.$el.removeClass("scrolling")}),this.options.duration);var n,s,a,o,r=void 0,l=void 0,u=void 0,d=void 0,c=void 0,h=void 0,p=this.center,v=1/this.options.numVisible;if(this.offset="number"==typeof t?t:this.offset,this.center=Math.floor((this.offset+this.dim/2)/this.dim),o=-(a=(s=this.offset-this.center*this.dim)<0?1:-1)*s*2/this.dim,n=this.count>>1,this.options.fullWidth?(u="translateX(0)",h=1):(u="translateX("+(this.el.clientWidth-this.itemWidth)/2+"px) ",u+="translateY("+(this.el.clientHeight-this.itemHeight)/2+"px)",h=1-v*o),this.showIndicators){var f=this.center%this.count,_=this.$indicators.find(".indicator-item.active");_.index()!==f&&(_.removeClass("active"),this.$indicators.find(".indicator-item").eq(f)[0].classList.add("active"))}if(!this.noWrap||this.center>=0&&this.center<this.count){l=this.images[this._wrap(this.center)],e(l).hasClass("active")||(this.$el.find(".carousel-item").removeClass("active"),l.classList.add("active"));var m=u+" translateX("+-s/2+"px) translateX("+a*this.options.shift*o*r+"px) translateZ("+this.options.dist*o+"px)";this._updateItemStyle(l,h,0,m)}for(r=1;r<=n;++r){if(this.options.fullWidth?(d=this.options.dist,c=r===n&&s<0?1-o:1):(d=this.options.dist*(2*r+o*a),c=1-v*(2*r+o*a)),!this.noWrap||this.center+r<this.count){l=this.images[this._wrap(this.center+r)];var y=u+" translateX("+(this.options.shift+(this.dim*r-s)/2)+"px) translateZ("+d+"px)";this._updateItemStyle(l,c,-r,y)}if(this.options.fullWidth?(d=this.options.dist,c=r===n&&s>0?1-o:1):(d=this.options.dist*(2*r-o*a),c=1-v*(2*r-o*a)),!this.noWrap||this.center-r>=0){l=this.images[this._wrap(this.center-r)];var g=u+" translateX("+(-this.options.shift+(-this.dim*r-s)/2)+"px) translateZ("+d+"px)";this._updateItemStyle(l,c,-r,g)}}if(!this.noWrap||this.center>=0&&this.center<this.count){l=this.images[this._wrap(this.center)];var b=u+" translateX("+-s/2+"px) translateX("+a*this.options.shift*o+"px) translateZ("+this.options.dist*o+"px)";this._updateItemStyle(l,h,0,b)}var k=this.$el.find(".carousel-item").eq(this._wrap(this.center));p!==this.center&&"function"==typeof this.options.onCycleTo&&this.options.onCycleTo.call(this,k[0],this.dragged),"function"==typeof this.oneTimeCallback&&(this.oneTimeCallback.call(this,k[0],this.dragged),this.oneTimeCallback=null)}},{key:"_updateItemStyle",value:function(e,t,i,n){e.style[this.xform]=n,e.style.zIndex=i,e.style.opacity=t,e.style.visibility="visible"}},{key:"_cycleTo",value:function(e,t){var i=this.center%this.count-e;this.noWrap||(i<0?Math.abs(i+this.count)<Math.abs(i)&&(i+=this.count):i>0&&Math.abs(i-this.count)<i&&(i-=this.count)),this.target=this.dim*Math.round(this.offset/this.dim),i<0?this.target+=this.dim*Math.abs(i):i>0&&(this.target-=this.dim*i),"function"==typeof t&&(this.oneTimeCallback=t),this.offset!==this.target&&(this.amplitude=this.target-this.offset,this.timestamp=Date.now(),requestAnimationFrame(this._autoScrollBound))}},{key:"next",value:function(e){(void 0===e||isNaN(e))&&(e=1);var t=this.center+e;if(t>=this.count||t<0){if(this.noWrap)return;t=this._wrap(t)}this._cycleTo(t)}},{key:"prev",value:function(e){(void 0===e||isNaN(e))&&(e=1);var t=this.center-e;if(t>=this.count||t<0){if(this.noWrap)return;t=this._wrap(t)}this._cycleTo(t)}},{key:"set",value:function(e,t){if((void 0===e||isNaN(e))&&(e=0),e>this.count||e<0){if(this.noWrap)return;e=this._wrap(e)}this._cycleTo(e,t)}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Carousel}},{key:"defaults",get:function(){return t}}]),n}(u);M.Carousel=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"carousel","M_Carousel")}(cash),function(e){"use strict";var t={onOpen:void 0,onClose:void 0},i=function(i){function n(t,i){l(this,n);var s=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_TapTarget=s,s.options=e.extend({},n.defaults,i),s.isOpen=!1,s.$origin=e("#"+s.$el.attr("data-target")),s._setup(),s._calculatePositioning(),s._setupEventHandlers(),s}return r(n,i),a(n,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.TapTarget=void 0}},{key:"_setupEventHandlers",value:function(){this._handleDocumentClickBound=this._handleDocumentClick.bind(this),this._handleTargetClickBound=this._handleTargetClick.bind(this),this._handleOriginClickBound=this._handleOriginClick.bind(this),this.el.addEventListener("click",this._handleTargetClickBound),this.originEl.addEventListener("click",this._handleOriginClickBound);var e=M.throttle(this._handleResize,200);this._handleThrottledResizeBound=e.bind(this),window.addEventListener("resize",this._handleThrottledResizeBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleTargetClickBound),this.originEl.removeEventListener("click",this._handleOriginClickBound),window.removeEventListener("resize",this._handleThrottledResizeBound)}},{key:"_handleTargetClick",value:function(e){this.open()}},{key:"_handleOriginClick",value:function(e){this.close()}},{key:"_handleResize",value:function(e){this._calculatePositioning()}},{key:"_handleDocumentClick",value:function(t){e(t.target).closest(".tap-target-wrapper").length||(this.close(),t.preventDefault(),t.stopPropagation())}},{key:"_setup",value:function(){this.wrapper=this.$el.parent()[0],this.waveEl=e(this.wrapper).find(".tap-target-wave")[0],this.originEl=e(this.wrapper).find(".tap-target-origin")[0],this.contentEl=this.$el.find(".tap-target-content")[0],e(this.wrapper).hasClass(".tap-target-wrapper")||(this.wrapper=document.createElement("div"),this.wrapper.classList.add("tap-target-wrapper"),this.$el.before(e(this.wrapper)),this.wrapper.append(this.el)),this.contentEl||(this.contentEl=document.createElement("div"),this.contentEl.classList.add("tap-target-content"),this.$el.append(this.contentEl)),this.waveEl||(this.waveEl=document.createElement("div"),this.waveEl.classList.add("tap-target-wave"),this.originEl||(this.originEl=this.$origin.clone(!0,!0),this.originEl.addClass("tap-target-origin"),this.originEl.removeAttr("id"),this.originEl.removeAttr("style"),this.originEl=this.originEl[0],this.waveEl.append(this.originEl)),this.wrapper.append(this.waveEl))}},{key:"_calculatePositioning",value:function(){var t="fixed"===this.$origin.css("position");if(!t)for(var i=this.$origin.parents(),n=0;n<i.length&&!(t="fixed"==e(i[n]).css("position"));n++);var s=this.$origin.outerWidth(),a=this.$origin.outerHeight(),o=t?this.$origin.offset().top-M.getDocumentScrollTop():this.$origin.offset().top,r=t?this.$origin.offset().left-M.getDocumentScrollLeft():this.$origin.offset().left,l=window.innerWidth,u=window.innerHeight,d=l/2,c=u/2,h=r<=d,p=r>d,v=o<=c,f=o>c,_=r>=.25*l&&r<=.75*l,m=this.$el.outerWidth(),y=this.$el.outerHeight(),g=o+a/2-y/2,b=r+s/2-m/2,k=t?"fixed":"absolute",w=_?m:m/2+s,C=y/2,x=v?y/2:0,E=h&&!_?m/2-s:0,T=s,j=f?"bottom":"top",O=2*s,L=O,D=y/2-L/2,B=m/2-O/2,$={};$.top=v?g+"px":"",$.right=p?l-b-m+"px":"",$.bottom=f?u-g-y+"px":"",$.left=h?b+"px":"",$.position=k,e(this.wrapper).css($),e(this.contentEl).css({width:w+"px",height:C+"px",top:x+"px",right:"0px",bottom:"0px",left:E+"px",padding:T+"px",verticalAlign:j}),e(this.waveEl).css({top:D+"px",left:B+"px",width:O+"px",height:L+"px"})}},{key:"open",value:function(){this.isOpen||("function"==typeof this.options.onOpen&&this.options.onOpen.call(this,this.$origin[0]),this.isOpen=!0,this.wrapper.classList.add("open"),document.body.addEventListener("click",this._handleDocumentClickBound,!0),document.body.addEventListener("touchend",this._handleDocumentClickBound))}},{key:"close",value:function(){this.isOpen&&("function"==typeof this.options.onClose&&this.options.onClose.call(this,this.$origin[0]),this.isOpen=!1,this.wrapper.classList.remove("open"),document.body.removeEventListener("click",this._handleDocumentClickBound,!0),document.body.removeEventListener("touchend",this._handleDocumentClickBound))}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_TapTarget}},{key:"defaults",get:function(){return t}}]),n}(u);M.TapTarget=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"tapTarget","M_TapTarget")}(cash),function(e){"use strict";var t={classes:"",dropdownOptions:{}},i=function(i){function n(t,i){l(this,n);var s=o(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.$el.hasClass("browser-default")?o(s):(s.el.M_FormSelect=s,s.options=e.extend({},n.defaults,i),s.isMultiple=s.$el.prop("multiple"),s.el.tabIndex=-1,s._keysSelected={},s._valueDict={},s._setupDropdown(),s._setupEventHandlers(),s)}return r(n,i),a(n,[{key:"destroy",value:function(){this._removeEventHandlers(),this._removeDropdown(),this.el.M_FormSelect=void 0}},{key:"_setupEventHandlers",value:function(){var t=this;this._handleSelectChangeBound=this._handleSelectChange.bind(this),this._handleOptionClickBound=this._handleOptionClick.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),e(this.dropdownOptions).find("li:not(.optgroup)").each((function(e){e.addEventListener("click",t._handleOptionClickBound)})),this.el.addEventListener("change",this._handleSelectChangeBound),this.input.addEventListener("click",this._handleInputClickBound)}},{key:"_removeEventHandlers",value:function(){var t=this;e(this.dropdownOptions).find("li:not(.optgroup)").each((function(e){e.removeEventListener("click",t._handleOptionClickBound)})),this.el.removeEventListener("change",this._handleSelectChangeBound),this.input.removeEventListener("click",this._handleInputClickBound)}},{key:"_handleSelectChange",value:function(e){this._setValueToInput()}},{key:"_handleOptionClick",value:function(t){t.preventDefault();var i=e(t.target).closest("li")[0],n=i.id;if(!e(i).hasClass("disabled")&&!e(i).hasClass("optgroup")&&n.length){var s=!0;if(this.isMultiple){var a=e(this.dropdownOptions).find("li.disabled.selected");a.length&&(a.removeClass("selected"),a.find('input[type="checkbox"]').prop("checked",!1),this._toggleEntryFromArray(a[0].id)),s=this._toggleEntryFromArray(n)}else e(this.dropdownOptions).find("li").removeClass("selected"),e(i).toggleClass("selected",s);e(this._valueDict[n].el).prop("selected")!==s&&(e(this._valueDict[n].el).prop("selected",s),this.$el.trigger("change"))}t.stopPropagation()}},{key:"_handleInputClick",value:function(){this.dropdown&&this.dropdown.isOpen&&(this._setValueToInput(),this._setSelectedStates())}},{key:"_setupDropdown",value:function(){var t=this;this.wrapper=document.createElement("div"),e(this.wrapper).addClass("select-wrapper "+this.options.classes),this.$el.before(e(this.wrapper)),this.wrapper.appendChild(this.el),this.el.disabled&&this.wrapper.classList.add("disabled"),this.$selectOptions=this.$el.children("option, optgroup"),this.dropdownOptions=document.createElement("ul"),this.dropdownOptions.id="select-options-"+M.guid(),e(this.dropdownOptions).addClass("dropdown-content select-dropdown "+(this.isMultiple?"multiple-select-dropdown":"")),this.$selectOptions.length&&this.$selectOptions.each((function(i){if(e(i).is("option")){var n=void 0;n=t.isMultiple?t._appendOptionWithIcon(t.$el,i,"multiple"):t._appendOptionWithIcon(t.$el,i),t._addOptionToValueDict(i,n)}else if(e(i).is("optgroup")){var s=e(i).children("option");e(t.dropdownOptions).append(e('<li class="optgroup"><span>'+i.getAttribute("label")+"</span></li>")[0]),s.each((function(e){var i=t._appendOptionWithIcon(t.$el,e,"optgroup-option");t._addOptionToValueDict(e,i)}))}})),this.$el.after(this.dropdownOptions),this.input=document.createElement("input"),e(this.input).addClass("select-dropdown dropdown-trigger"),this.input.setAttribute("type","text"),this.input.setAttribute("readonly","true"),this.input.setAttribute("data-target",this.dropdownOptions.id),this.el.disabled&&e(this.input).prop("disabled","true"),this.$el.before(this.input),this._setValueToInput();var i=e('<svg class="caret" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');if(this.$el.before(i[0]),!this.el.disabled){var n=e.extend({},this.options.dropdownOptions);n.onOpenEnd=function(i){var n=e(t.dropdownOptions).find(".selected").first();if(n.length&&(M.keyDown=!0,t.dropdown.focusedIndex=n.index(),t.dropdown._focusFocusedItem(),M.keyDown=!1,t.dropdown.isScrollable)){var s=n[0].getBoundingClientRect().top-t.dropdownOptions.getBoundingClientRect().top;s-=t.dropdownOptions.clientHeight/2,t.dropdownOptions.scrollTop=s}},this.isMultiple&&(n.closeOnClick=!1),this.dropdown=M.Dropdown.init(this.input,n)}this._setSelectedStates()}},{key:"_addOptionToValueDict",value:function(e,t){var i=Object.keys(this._valueDict).length,n=this.dropdownOptions.id+i,s={};t.id=n,s.el=e,s.optionEl=t,this._valueDict[n]=s}},{key:"_removeDropdown",value:function(){e(this.wrapper).find(".caret").remove(),e(this.input).remove(),e(this.dropdownOptions).remove(),e(this.wrapper).before(this.$el),e(this.wrapper).remove()}},{key:"_appendOptionWithIcon",value:function(t,i,n){var s=i.disabled?"disabled ":"",a="optgroup-option"===n?"optgroup-option ":"",o=this.isMultiple?'<label><input type="checkbox"'+s+'"/><span>'+i.innerHTML+"</span></label>":i.innerHTML,r=e("<li></li>"),l=e("<span></span>");l.html(o),r.addClass(s+" "+a),r.append(l);var u=i.getAttribute("data-icon");if(u){var d=e('<img alt="" src="'+u+'">');r.prepend(d)}return e(this.dropdownOptions).append(r[0]),r[0]}},{key:"_toggleEntryFromArray",value:function(t){var i=!this._keysSelected.hasOwnProperty(t),n=e(this._valueDict[t].optionEl);return i?this._keysSelected[t]=!0:delete this._keysSelected[t],n.toggleClass("selected",i),n.find('input[type="checkbox"]').prop("checked",i),n.prop("selected",i),i}},{key:"_setValueToInput",value:function(){var t=[];if(this.$el.find("option").each((function(i){if(e(i).prop("selected")){var n=e(i).text();t.push(n)}})),!t.length){var i=this.$el.find("option:disabled").eq(0);i.length&&""===i[0].value&&t.push(i.text())}this.input.value=t.join(", ")}},{key:"_setSelectedStates",value:function(){for(var t in this._keysSelected={},this._valueDict){var i=this._valueDict[t],n=e(i.el).prop("selected");e(i.optionEl).find('input[type="checkbox"]').prop("checked",n),n?(this._activateOption(e(this.dropdownOptions),e(i.optionEl)),this._keysSelected[t]=!0):e(i.optionEl).removeClass("selected")}}},{key:"_activateOption",value:function(t,i){i&&(this.isMultiple||t.find("li.selected").removeClass("selected"),e(i).addClass("selected"))}},{key:"getSelectedValues",value:function(){var e=[];for(var t in this._keysSelected)e.push(this._valueDict[t].el.value);return e}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_FormSelect}},{key:"defaults",get:function(){return t}}]),n}(u);M.FormSelect=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"formSelect","M_FormSelect")}(cash),function(e,t){"use strict";var i={},n=function(n){function u(t,i){l(this,u);var n=o(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_Range=n,n.options=e.extend({},u.defaults,i),n._mousedown=!1,n._setupThumb(),n._setupEventHandlers(),n}return r(u,n),a(u,[{key:"destroy",value:function(){this._removeEventHandlers(),this._removeThumb(),this.el.M_Range=void 0}},{key:"_setupEventHandlers",value:function(){this._handleRangeChangeBound=this._handleRangeChange.bind(this),this._handleRangeMousedownTouchstartBound=this._handleRangeMousedownTouchstart.bind(this),this._handleRangeInputMousemoveTouchmoveBound=this._handleRangeInputMousemoveTouchmove.bind(this),this._handleRangeMouseupTouchendBound=this._handleRangeMouseupTouchend.bind(this),this._handleRangeBlurMouseoutTouchleaveBound=this._handleRangeBlurMouseoutTouchleave.bind(this),this.el.addEventListener("change",this._handleRangeChangeBound),this.el.addEventListener("mousedown",this._handleRangeMousedownTouchstartBound),this.el.addEventListener("touchstart",this._handleRangeMousedownTouchstartBound),this.el.addEventListener("input",this._handleRangeInputMousemoveTouchmoveBound),this.el.addEventListener("mousemove",this._handleRangeInputMousemoveTouchmoveBound),this.el.addEventListener("touchmove",this._handleRangeInputMousemoveTouchmoveBound),this.el.addEventListener("mouseup",this._handleRangeMouseupTouchendBound),this.el.addEventListener("touchend",this._handleRangeMouseupTouchendBound),this.el.addEventListener("blur",this._handleRangeBlurMouseoutTouchleaveBound),this.el.addEventListener("mouseout",this._handleRangeBlurMouseoutTouchleaveBound),this.el.addEventListener("touchleave",this._handleRangeBlurMouseoutTouchleaveBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("change",this._handleRangeChangeBound),this.el.removeEventListener("mousedown",this._handleRangeMousedownTouchstartBound),this.el.removeEventListener("touchstart",this._handleRangeMousedownTouchstartBound),this.el.removeEventListener("input",this._handleRangeInputMousemoveTouchmoveBound),this.el.removeEventListener("mousemove",this._handleRangeInputMousemoveTouchmoveBound),this.el.removeEventListener("touchmove",this._handleRangeInputMousemoveTouchmoveBound),this.el.removeEventListener("mouseup",this._handleRangeMouseupTouchendBound),this.el.removeEventListener("touchend",this._handleRangeMouseupTouchendBound),this.el.removeEventListener("blur",this._handleRangeBlurMouseoutTouchleaveBound),this.el.removeEventListener("mouseout",this._handleRangeBlurMouseoutTouchleaveBound),this.el.removeEventListener("touchleave",this._handleRangeBlurMouseoutTouchleaveBound)}},{key:"_handleRangeChange",value:function(){e(this.value).html(this.$el.val()),e(this.thumb).hasClass("active")||this._showRangeBubble();var t=this._calcRangeOffset();e(this.thumb).addClass("active").css("left",t+"px")}},{key:"_handleRangeMousedownTouchstart",value:function(t){if(e(this.value).html(this.$el.val()),this._mousedown=!0,this.$el.addClass("active"),e(this.thumb).hasClass("active")||this._showRangeBubble(),"input"!==t.type){var i=this._calcRangeOffset();e(this.thumb).addClass("active").css("left",i+"px")}}},{key:"_handleRangeInputMousemoveTouchmove",value:function(){if(this._mousedown){e(this.thumb).hasClass("active")||this._showRangeBubble();var t=this._calcRangeOffset();e(this.thumb).addClass("active").css("left",t+"px"),e(this.value).html(this.$el.val())}}},{key:"_handleRangeMouseupTouchend",value:function(){this._mousedown=!1,this.$el.removeClass("active")}},{key:"_handleRangeBlurMouseoutTouchleave",value:function(){if(!this._mousedown){var i=7+parseInt(this.$el.css("padding-left"))+"px";e(this.thumb).hasClass("active")&&(t.remove(this.thumb),t({targets:this.thumb,height:0,width:0,top:10,easing:"easeOutQuad",marginLeft:i,duration:100})),e(this.thumb).removeClass("active")}}},{key:"_setupThumb",value:function(){this.thumb=document.createElement("span"),this.value=document.createElement("span"),e(this.thumb).addClass("thumb"),e(this.value).addClass("value"),e(this.thumb).append(this.value),this.$el.after(this.thumb)}},{key:"_removeThumb",value:function(){e(this.thumb).remove()}},{key:"_showRangeBubble",value:function(){var i=-7+parseInt(e(this.thumb).parent().css("padding-left"))+"px";t.remove(this.thumb),t({targets:this.thumb,height:30,width:30,top:-30,marginLeft:i,duration:300,easing:"easeOutQuint"})}},{key:"_calcRangeOffset",value:function(){var e=this.$el.width()-15,t=parseFloat(this.$el.attr("max"))||100,i=parseFloat(this.$el.attr("min"))||0;return(parseFloat(this.$el.val())-i)/(t-i)*e}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Range}},{key:"defaults",get:function(){return i}}]),u}(u);M.Range=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"range","M_Range"),n.init(e("input[type=range]"))}(cash,M.anime)}).call(this,i(6))},function(e,t){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t,i){"use strict";i.r(t);var n=i(0);class s{constructor(e){this.steps=["restore-script-upload-step","backup-upload-step","restore-remote-backup-step","restore-remote-database-step","restore-finish-step"],this.ajaxurl=ajaxurl+"?action=restore_backup",this.cancel=!1,this.upload_file_event=new Event("upload_file_event"),this.resume={},this.hash=e,this.file_counter=0,document.addEventListener("backup_upload_finish",(function(e){jQuery(".xcloner-restore .backup-upload-step .toggler").removeClass("cancel")}),!1),document.addEventListener("remote_restore_backup_finish",(function(e){jQuery(".xcloner-restore .restore-remote-backup-step .toggler").removeClass("cancel")}),!1),document.addEventListener("remote_restore_mysql_backup_finish",(function(e){jQuery(".xcloner-restore .restore-remote-database-step .toggler").removeClass("cancel")}),!1),document.addEventListener("xcloner_populate_remote_backup_files_list",(function(e){var t=e.detail.files,i=jQuery(".xcloner-restore #remote_backup_file").val();for(var n in jQuery(".xcloner-restore #remote_backup_file").find("option").not(":first").remove(),t){var s="not-selected";(t[n].selected||i==t[n].path)&&(s="selected"),jQuery(".xcloner-restore #remote_backup_file").append("<option value='"+t[n].path+"' "+s+">"+t[n].path+"("+e.detail.$this.getSize(t[n].size)+" MB)</option>").addClass("file")}}),!1),document.addEventListener("xcloner_populate_remote_mysqldump_files_list",(function(e){var t=e.detail.files,i=jQuery(".xcloner-restore #remote_database_file").val();for(var n in jQuery(".xcloner-restore #remote_database_file").find("option").not(":first").remove(),t){if(t[n].selected||i==t[n].path)var s="selected";else s="not-selected";jQuery(".xcloner-restore #remote_database_file").append("<option value='"+t[n].path+"' "+s+">"+t[n].path+"("+e.detail.$this.getSize(t[n].size)+" MB) "+t[n].timestamp+"</option>").addClass("file")}}),!1),document.addEventListener("xcloner_restore_next_step",(function(e){if(void 0!==e.detail.$this){var t=e.detail.$this;jQuery(".xcloner-restore li."+t.steps[t.set_current_step]).show().find(".collapsible-header").trigger("click")}}),!1),document.addEventListener("xcloner_restore_update_progress",(function(e){void 0!==e.detail.percent&&(jQuery(".xcloner-restore .steps.active .progress").show(),"indeterminate"==e.detail.class&&jQuery(".xcloner-restore .steps.active .progress > div").addClass(e.detail.class).removeClass("determinate"),"determinate"==e.detail.class&&jQuery(".xcloner-restore .steps.active .progress > div").addClass(e.detail.class).removeClass("indeterminate"),100==e.detail.percent?jQuery(".xcloner-restore .steps.active .progress > div").removeClass("indeterminate").addClass("determinate").css("width",e.detail.percent+"%"):jQuery(".xcloner-restore .steps.active .progress .determinate").css("width",e.detail.percent+"%"))}),!1),document.addEventListener("xcloner_restore_display_status_text",(function(e){void 0===e.detail.status&&(e.detail.status="updated"),void 0!==e.detail.message&&jQuery(".xcloner-restore .steps.active .status").html("<div class='"+e.detail.status+"'>"+e.detail.message+"</div>")}),!1),document.addEventListener("remote_restore_update_files_list",(function(e){if(void 0!==e.detail.files&&e.detail.files.length){for(var t=[],i=0;i<e.detail.files.length;i++)t[i]="<li>"+e.detail.files[i]+"</li>";jQuery(".xcloner-restore .restore-remote-backup-step .files-list").is(":hidden")||jQuery(".xcloner-restore .restore-remote-backup-step .files-list").html(t.reverse().join("\n"))}else jQuery.isArray(e.detail.files)||jQuery(".xcloner-restore .restore-remote-backup-step .files-list").html("")}),!1),document.addEventListener("xcloner_restore_display_query_box",(function(e){e.detail.query?(jQuery(".xcloner-restore .query-box").show(),jQuery(".xcloner-restore .query-list").val(e.detail.query)):(jQuery(".xcloner-restore .query-box").hide(),jQuery(".xcloner-restore .query-list").val(""))}),!1),document.addEventListener("xcloner_restore_finish",(function(e){jQuery(".xcloner-restore #xcloner_restore_finish").show(),jQuery("#restore_finish").hide()}),!1)}get_remote_backup_files_callback(e,t){if(t){var i=e.statusText.files;document.dispatchEvent(new CustomEvent("xcloner_populate_remote_backup_files_list",{detail:{files:i,$this:this}}))}}get_remote_backup_files(){this.set_cancel(!1);var e={};e.local_backup_file=jQuery(".xcloner-restore .backup-upload-step #backup_file").val(),this.do_ajax("get_remote_backup_files_callback","list_backup_archives",e)}get_remote_mysqldump_files_callback(e,t){if(t){var i=e.statusText.files;document.dispatchEvent(new CustomEvent("xcloner_populate_remote_mysqldump_files_list",{detail:{files:i,$this:this}}))}}get_remote_mysqldump_files(){if(this.set_cancel(!1),this.resume.callback="","get_remote_mysqldump_files_callback"==this.resume.callback)return this.do_ajax(this.resume.callback,this.resume.action,this.resume.params),void(this.resume={});var e={};e.backup_file=this.get_backup_file(),this.do_ajax("get_remote_mysqldump_files_callback","list_mysqldump_backups",e)}get_backup_file(){return jQuery(".xcloner-restore #remote_backup_file").val()}remote_restore_backup_file_callback(e,t,i={}){if(!t)return document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:e.status+" "+e.statusText}})),document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:100}})),void document.dispatchEvent(new CustomEvent("remote_restore_backup_finish"));var n=parseInt(e.statusText.start)+parseInt(e.statusText.processed);if(e.statusText.extracted_files&&document.dispatchEvent(new CustomEvent("remote_restore_update_files_list",{detail:{files:e.statusText.extracted_files}})),!e.statusText.finished)return i.start=e.statusText.start,i.part=e.statusText.part,i.processed=e.statusText.processed,document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:"Processing <strong>"+e.statusText.backup_file+"</strong>- processed "+this.getSize(n,1024)+" KB from archive"}})),void this.do_ajax("remote_restore_backup_file_callback","restore_backup_to_path",i);document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:100}})),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:"Done restoring <strong>"+e.statusText.backup_file+"</strong>."}})),document.dispatchEvent(new CustomEvent("remote_restore_backup_finish")),this.cancel=!1}remote_restore_backup_file(e){var t={};if(t.backup_file=e,t.filter_files=jQuery(".xcloner-restore input[name=filter_files]:checked").val(),"remote_restore_backup_file_callback"==this.resume.callback)return this.do_ajax(this.resume.callback,this.resume.action,this.resume.params),void(this.resume={});document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0,class:"indeterminate"}})),document.dispatchEvent(new CustomEvent("remote_restore_update_files_list",{detail:{files:""}})),this.do_ajax("remote_restore_backup_file_callback","restore_backup_to_path",t)}remote_restore_mysql_backup_file_callback(e,t,i={}){if(!e)return this.set_cancel(!0),void document.dispatchEvent(new CustomEvent("remote_restore_mysql_backup_finish"));if(!t)return this.start=e.statusText.start,document.dispatchEvent(new CustomEvent("xcloner_restore_display_query_box",{detail:{query:e.statusText.query}})),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:e.status+" "+e.statusText.message}})),void document.dispatchEvent(new CustomEvent("remote_restore_mysql_backup_finish"));document.dispatchEvent(new CustomEvent("xcloner_restore_display_query_box",{detail:{query:""}})),i.query="";parseInt(e.statusText.start),parseInt(e.statusText.processed);if(!e.statusText.finished){i.start=e.statusText.start,i.processed=e.statusText.processed,this.start=i.start;var n=0;return e.statusText.backup_size&&(n=100*parseInt(e.statusText.start)/parseInt(e.statusText.backup_size)),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:"Processing <strong>"+e.statusText.backup_file+"</strong>- wrote "+this.getSize(e.statusText.start,1024)+" KB of data"}})),document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:n}})),void this.do_ajax("remote_restore_mysql_backup_file_callback","restore_mysql_backup",i)}document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:100}})),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:"Done restoring <strong>"+e.statusText.backup_file+"</strong>."}})),document.dispatchEvent(new CustomEvent("remote_restore_mysql_backup_finish")),this.cancel=!1}remote_restore_mysql_backup_file(e){this.set_cancel(!1);var t={};if(t.mysqldump_file=e,t.query="",t.start=0,jQuery(".xcloner-restore .query-box .query-list").val()&&(t.query=jQuery(".xcloner-restore .query-box .query-list").val(),t.start=this.start),document.dispatchEvent(new CustomEvent("xcloner_restore_display_query_box",{detail:{query:""}})),"remote_restore_mysql_backup_file_callback"==this.resume.callback)return this.do_ajax(this.resume.callback,this.resume.action,this.resume.params),void(this.resume={});this.do_ajax("remote_restore_mysql_backup_file_callback","restore_mysql_backup",t)}restore_finish_callback(e,t,i={}){if(!t)return document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:e.statusText,$this:this}})),!1;document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:e.statusText,$this:this}})),document.dispatchEvent(new CustomEvent("xcloner_restore_finish",{detail:{message:e.statusText,$this:this}}))}restore_finish(){this.set_cancel(!1);var e={};e.backup_archive=jQuery(".xcloner-restore #remote_backup_file").val(),e.delete_backup_temporary_folder=0,e.delete_restore_script=0,e.update_remote_site_url=0,jQuery(".xcloner-restore #delete_backup_temporary_folder").is(":checked")&&(e.delete_backup_temporary_folder=1),jQuery(".xcloner-restore #delete_restore_script").is(":checked")&&(e.delete_restore_script=1),jQuery(".xcloner-restore #update_remote_site_url").is(":checked")&&(e.update_remote_site_url=1),jQuery(".xcloner-restore #delete_backup_archive").is(":checked")&&(e.delete_backup_archive=1),this.do_ajax("restore_finish_callback","restore_finish",e)}upload_backup_file(e){var t={};if(this.set_cancel(!1),"upload_backup_file_callback"==this.resume.callback)return this.do_ajax(this.resume.callback,this.resume.action,this.resume.params),void(this.resume={});t.file=e,t.start=0,document.dispatchEvent(new CustomEvent("backup_upload_start")),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:"Uploading backup 0%"}})),document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0}})),this.do_ajax("upload_backup_file_callback","restore_upload_backup",t)}upload_backup_file_callback(e,t,i={}){if(!t)return document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:e.status+" "+e.statusText}})),void document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:100}}));if(e&&(!1!==e.start||e.part<e.total_parts)){var n=0;if(e.total_size){e.start||(e.start=0);var s=parseInt(e.start)+parseInt(e.uploaded_size);n=100*parseInt(s)/parseInt(e.total_size)}var a="";e.part>0&&(a="part "+e.part+" - "),document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:n}})),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:"Uploading backup "+a+parseFloat(n).toFixed(2)+"%"}})),i.start=e.start,i.part=e.part,i.uploaded_size=e.uploaded_size,this.do_ajax("upload_backup_file_callback","restore_upload_backup",i)}else this.cancel=!1,document.dispatchEvent(new CustomEvent("backup_upload_finish")),document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:100}})),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:"Done."}}))}open_target_site(e){var t=jQuery(".xcloner-restore #remote_restore_url").val();t||jQuery(".xcloner-restore #wp_home_url").val(),jQuery(e).attr("href",t)}next_step(e=0){this.set_current_step=jQuery(".xcloner-restore li.active").attr("data-step"),this.set_current_step=parseInt(this.set_current_step)+parseInt(e),document.dispatchEvent(new CustomEvent("xcloner_restore_next_step",{detail:{$this:this}}))}list_backup_content_callback(e,t,i={}){if(e.error)return jQuery("#backup_cotent_modal .files-list").addClass("error").prepend(e.statusText),void jQuery("#backup_cotent_modal .progress > div").addClass("determinate").removeClass(".indeterminate").css("width","100%");var n=[];for(var s in e.files)this.file_counter++,n[s]="<li>"+this.file_counter+". <span title='"+e.files[s].mtime+"'>"+e.files[s].path+"</span> ("+e.files[s].size+" bytes)</li>";jQuery("#backup_cotent_modal .modal-content .files-list").prepend(n.reverse().join("\n")),!e.finished&&jQuery("#backup_cotent_modal").is(":visible")?(i.start=e.start,i.part=e.part,this.do_ajax("list_backup_content_callback","list_backup_files",i)):jQuery("#backup_cotent_modal .progress > div").addClass("determinate").removeClass(".indeterminate").css("width","100%")}list_backup_content(e){this.file_counter=0,jQuery("#backup_cotent_modal .modal-content .files-list").text("").removeClass("error"),jQuery("#backup_cotent_modal .modal-content .backup-name").text(e);var t=document.querySelector("#backup_cotent_modal");M.Modal.init(t).open(),jQuery("#backup_cotent_modal .progress > div").removeClass("determinate").addClass("indeterminate");var i={};i.file=e,i.start=0,i.part=0,this.do_ajax("list_backup_content_callback","list_backup_files",i)}init_resume(){this.resume={},jQuery(".xcloner-restore .steps.active .progress").is(":visible")&&document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0}})),jQuery(".xcloner-restore .steps.active .status").html()&&document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:""}})),document.dispatchEvent(new CustomEvent("remote_restore_update_files_list",{detail:{files:""}}))}do_ajax(e,t="",i={}){if("restore_upload_backup"==t&&(i.action="restore_upload_backup"),i.xcloner_action=t,i.hash=this.hash,i.API_ID=Object(n.ID)(),void 0!==typeof XCLONER_WPNONCE&&(i._wpnonce=XCLONER_WPNONCE),!0===this.cancel)return this.resume.callback=e,this.resume.action=t,void(this.resume.params=i);var s=this;jQuery(".xcloner-restore .steps.active").addClass("active_status"),this.request=jQuery.ajax({url:this.ajaxurl,dataType:"json",type:"POST",crossDomain:!0,data:i,error:function(n,a,o){s.resume.callback=e,s.resume.action=t,s.resume.params=i,document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:n.status+" "+n.statusText}})),s[e](n,!1)}}).done((function(n){n||(s.resume.callback=e,s.resume.action=t,s.resume.params=i,document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:"Lost connection with the API, please try and authentificate again"}}))),n&&200!=n.status?n.error?document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:n.message}})):s[e](n,!1,i):s[e](n,!0,i)}))}set_current_step(e){this.set_current_step=e}set_cancel(e){e&&document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0,class:"determinate"}})),this.cancel=e}get_cancel(e){return this.cancel}getSize(e,t=1048576){return(e/t).toFixed(2)}}jQuery(document).ready((function(){if("undefined"!=typeof xcloner_auth_key)var e=new s(xcloner_auth_key);else e=new s;e.set_current_step(0),jQuery(".col select").formSelect(),jQuery(".xcloner-restore .upload-backup.cancel").on("click",(function(){e.set_cancel(!0)})),jQuery(".xcloner-restore .upload-backup").on("click",(function(){jQuery(this).hasClass("cancel")?e.set_cancel(!0):e.set_cancel(!1);var t=jQuery(".xcloner-restore #backup_file").val();t?(jQuery(this).parent().toggleClass("cancel"),e.get_cancel()||e.upload_backup_file(t)):document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:"Please select a backup file from the list above"}}))})),jQuery(".xcloner-restore #skip_upload_backup").on("click",(function(){e.set_cancel(!0),e.next_step()})),jQuery(".xcloner-restore #skip_restore_remote_database_step").on("click",(function(){e.set_cancel(!0),e.next_step()})),jQuery(".xcloner-restore li.steps").on("click",(function(){e.set_current_step=jQuery(this).attr("data-step")-1})),jQuery(".xcloner-restore #skip_remote_backup_step").on("click",(function(){e.set_cancel(!0),e.next_step()})),jQuery(".xcloner-restore .restore-remote-backup-step .collapsible-header").click((function(){e.get_remote_backup_files()})),jQuery(".xcloner-restore .restore-remote-database-step .collapsible-header").click((function(){e.get_remote_mysqldump_files()})),jQuery(".xcloner-restore #remote_backup_file").on("change",(function(){e.init_resume()})),jQuery(".xcloner-restore #backup_file").on("change",(function(){e.init_resume()})),jQuery(".xcloner-restore #restore_finish").click((function(){e.restore_finish()})),jQuery(".xcloner-restore #open_target_site a").click((function(){e.open_target_site(this)})),jQuery(".xcloner-restore #refresh_remote_backup_file").on("click",(function(t){document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0}})),e.resume={},e.get_remote_backup_files(),t.stopPropagation()})),jQuery(".xcloner-restore #refresh_database_file").on("click",(function(t){document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0}})),e.resume={},e.get_remote_mysqldump_files(),t.stopPropagation()})),jQuery(".xcloner-restore #toggle_file_restore_display").on("click",(function(e){jQuery(".xcloner-restore .restore-remote-backup-step .files-list").toggle()})),jQuery(".xcloner-restore .restore_remote_mysqldump").on("click",(function(t){jQuery(this).hasClass("cancel")?e.set_cancel(!0):e.set_cancel(!1),this.remote_database_file=jQuery(".xcloner-restore #remote_database_file").val(),this.remote_database_file?(jQuery(this).parent().toggleClass("cancel"),e.get_cancel()||(document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0,class:"determinate"}})),e.remote_restore_mysql_backup_file(this.remote_database_file))):document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:"Please select a mysqld backup file from the list"}}))})),jQuery(".xcloner-restore .list-backup-content").on("click",(function(t){var i=jQuery(".xcloner-restore #remote_backup_file").val();i&&e.list_backup_content(i),t.preventDefault()})),jQuery(".xcloner-restore .restore-remote-backup-step .restore_remote_backup").click((function(){e.set_cancel(jQuery(this).hasClass("cancel")),this.backup_file=jQuery(".xcloner-restore #remote_backup_file").val(),this.backup_file?(jQuery(this).parent().toggleClass("cancel"),e.get_cancel()||(document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0,class:"indeterminate"}})),e.remote_restore_backup_file(this.backup_file))):document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:"Please select a backup file from the list above"}}))}))}))},function(e,t,i){"use strict";i.r(t);var n,s=i(0);document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("#edit_schedule");n=M.Modal.init(e)})),jQuery(document).ready((function(){var e=new class{constructor(){this.edit_modal=jQuery("#edit_schedule")}get_form_params(){}get_schedule_by_id(e){var t=this;e&&jQuery.ajax({url:XCLONER_AJAXURL,data:{action:"get_schedule_by_id",id:e},success:function(i){i.id==e&&t.create_modal(i)},dataType:"json"})}delete_schedule_by_id(e,t,i){e&&jQuery.ajax({url:XCLONER_AJAXURL,data:{action:"delete_schedule_by_id",id:e},success:function(e){jQuery(t).parents("tr").remove(),i.row(jQuery(t).parents("tr")).remove().draw()},dataType:"json"})}create_modal(e){this.edit_modal.find("#schedule_id").text(e.id),1==e.status?this.edit_modal.find("#status").attr("checked","checked"):this.edit_modal.find("#status").removeAttr("checked"),this.edit_modal.find("#schedule_id").text(e.id),this.edit_modal.find("#schedule_id_hidden").val(e.id),this.edit_modal.find("#schedule_name").val(e.name),this.edit_modal.find("#backup_name").val(e.backup_params.backup_name),this.edit_modal.find("#email_notification").val(e.backup_params.email_notification),this.edit_modal.find("#diff_start_date").val(e.backup_params.diff_start_date),this.edit_modal.find('#schedule_frequency>option[value="'+e.recurrence+'"]').prop("selected",!0),this.edit_modal.find('#backup_type>option[value="'+e.backup_type+'"]').prop("selected",!0),this.edit_modal.find('#schedule_storage>option[value="'+e.remote_storage+'"]').prop("selected",!0),this.edit_modal.find("#schedule_start_date").val(e.start_at),void 0!==e.backup_params.backup_encrypt&&1==e.backup_params.backup_encrypt&&this.edit_modal.find("#backup_encrypt").attr("checked","checked"),void 0!==e.backup_params.backup_delete_after_remote_transfer&&1==e.backup_params.backup_delete_after_remote_transfer&&this.edit_modal.find("#backup_delete_after_remote_transfer").attr("checked","checked");var t=jQuery.parseJSON(e.table_params),i="";for(var s in t)for(var a in t[s])i+=s+"."+t[s][a]+"\n";this.edit_modal.find("#table_params").val(i);var o=jQuery.parseJSON(e.excluded_files),r="";for(var a in o)r+=o[a]+"\n";this.edit_modal.find("#excluded_files").val(r),jQuery(".col select").formSelect(),M.updateTextFields(),n.open()}save_schedule(e,t){var i=jQuery(e).serialize();jQuery.ajax({url:XCLONER_AJAXURL,dataType:"json",type:"POST",data:i,error:function(e){alert("Error saving schedule!")}}).done((function(e){void 0===e.error?(n.close(),t.ajax.reload()):alert("Error saving schedule!"+e.error)}))}IsJsonString(e){try{JSON.parse(e)}catch(e){return!1}return!0}};jQuery("select[required]").css({display:"block",height:0,padding:0,width:0,position:"absolute"});let t=jQuery("#scheduled_backups").DataTable({responsive:!0,bFilter:!1,order:[[3,"desc"]],buttons:["selectAll","selectNone"],language:{emptyTable:"No schedules available",buttons:{selectAll:"Select all items",selectNone:"Select none"}},columnDefs:[{targets:"no-sort",orderable:!1},{className:"hide-on-med-and-down",targets:[3,5]}],ajax:XCLONER_AJAXURL+"&action=get_scheduler_list",fnDrawCallback:function(i){jQuery(this).off("click",".edit").on("click",".edit",(function(){var t=jQuery(this).attr("href").substr(1);e.get_schedule_by_id(t)})),jQuery(this).off("click",".delete").on("click",".delete",(function(){var i=jQuery(this).attr("href").substr(1);if(confirm("Are you sure you want to delete it?"))e.delete_schedule_by_id(i,this,t)})),jQuery("span.shorten_string").each((function(){Object(s.doShortText)(jQuery(this))})),jQuery("span.shorten_string").click((function(){jQuery(this).toggleClass("full"),Object(s.doShortText)(jQuery(this))}))}});jQuery("#save_schedule").on("submit",(function(){return e.save_schedule(jQuery(this),t),!1})),"function"==typeof jQuery(".timepicker").pickatime&&jQuery(".timepicker").pickatime({default:"now",min:[7,30],twelvehour:!1,donetext:"OK",autoclose:!1,vibrate:!0}),"function"==typeof jQuery(".timepicker").pickadate&&(jQuery(".datepicker").pickadate({format:"d mmmm yyyy",selectMonths:!0,selectYears:15,min:.1,onSet:function(){}}),jQuery(".datepicker_max_today").pickadate({format:"yyyy-mm-dd",selectMonths:!0,selectYears:15,max:.1,onSet:function(){}}))}))}]);
8
  //# sourceMappingURL=index.min.js.map
4
 
5
  To view source code please see https://github.com/watchfulli/XCloner-Wordpress/
6
  */
7
+ !function(e){var t={};function i(n){if(t[n])return t[n].exports;var s=t[n]={i:n,l:!1,exports:{}};return e[n].call(s.exports,s,s.exports,i),s.l=!0,s.exports}i.m=e,i.c=t,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var s in e)i.d(n,s,function(t){return e[t]}.bind(null,s));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i(i.s=4)}([function(e,t,i){"use strict";i.r(t),i.d(t,"error_modal",(function(){return a})),i.d(t,"next_tab",(function(){return r})),i.d(t,"doShortText",(function(){return l})),i.d(t,"show_ajax_error",(function(){return u})),i.d(t,"ID",(function(){return d})),i.d(t,"getUrlParam",(function(){return c}));var n=i(2),s=i(3),o=i(1);let a;document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("#error_modal");a=M.Modal.init(e)})),jQuery,jQuery(document).ready((function(){jQuery(".tooltipped").tooltip(),jQuery(".collapsible").collapsible(),jQuery("span.shorten_string").click((function(){jQuery(this).toggleClass("full"),l(jQuery(this))})),jQuery("span.shorten_string").each((function(){l(jQuery(this))})),jQuery("#xcloner_regex_exclude").on("focus",(function(){jQuery("ul.xcloner_regex_exclude_limit li").fadeIn()})),jQuery(".regex_pattern").on("click",(function(){jQuery(this).select()})),jQuery(".btn.system_info_toggle").on("click",(function(){jQuery(".additional_system_info").toggle()})),jQuery("a.download-logger").on("click",(function(e){var t=new o.Xcloner_Manage_Backups,i=jQuery(this).attr("href").substr(1);i&&t.download_backup_by_name(i),e.preventDefault()})),jQuery(".nav-tab-wrapper.content li").on("click",(function(e){jQuery(".nav-tab-wrapper li a").removeClass("nav-tab-active"),jQuery(this).find("a").addClass("nav-tab-active"),jQuery(".nav-tab-wrapper-content .tab-content").removeClass("active"),jQuery(".nav-tab-wrapper-content "+jQuery(this).find("a").attr("href")).addClass("active"),e.preventDefault(),location.hash=jQuery(this).find("a").attr("href")+"_hash"}));var e=window.location.hash;e&&r(e.replace("_hash",""))}));const r=function(e){jQuery(".nav-tab-wrapper").find("li a[href='"+e+"']").trigger("click"),location.hash=e},l=function(e){if(e.hasClass("full"))e.text(e.attr("data-text"));else{var t=e.text(),i=t.length,n=t.substr(0,10),s=t.substr(i-20,i);e.attr("data-text",t).text(n+"..."+s)}},u=function(e,t,i){"undefined"!=typeof xcloner_backup&&xcloner_backup.cancel_backup(),i&&void 0!==i.responseText&&(t=t+": "+i.responseText),jQuery("#error_modal .title").text(e),jQuery("#error_modal .msg").text(t),i&&i.status&&jQuery("#error_modal .status").text(i.status+" "+i.statusText),jQuery("#error_modal .body").text(JSON.stringify(i)),a.open()},d=function(){return"_"+Math.random().toString(36).substr(2,9)},c=function(e){return(location.search.split(e+"=")[1]||"").split("&")[0]};jQuery(document).ready((function(){window.remote_storage=new n.Xcloner_Remote_Storage,window.xcloner_backup=new s.Xcloner_Backup,window.xcloner_manage_backups=new o.Xcloner_Manage_Backups,window.ID=d,window.getUrlParam=c,window.show_ajax_error=u,window.doShortText=l,window.dataTable=null,window.next_tab=r}))},function(e,t,i){"use strict";i.r(t),i.d(t,"Xcloner_Manage_Backups",(function(){return l}));var n,s,o,a,r;i(0);document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("#backup_cotent_modal");n=M.Modal.init(e);e=document.querySelector("#backup_encryption_modal");s=M.Modal.init(e);e=document.querySelector("#backup_decryption_modal");o=M.Modal.init(e);e=document.querySelector("#remote_storage_modal");a=M.Modal.init(e);e=document.querySelector("#local_storage_upload_modal");r=M.Modal.init(e)}));class l{constructor(){this.file_counter=0,this.storage_selection="",this.dataTable=""}download_backup_by_name(e){return window.open(XCLONER_AJAXURL+"&action=download_backup_by_name&name="+e+"&storage_selection="+this.storage_selection),!1}delete_backup_by_name(e,t,i){e&&jQuery.ajax({url:XCLONER_AJAXURL,method:"post",data:{action:"delete_backup_by_name",name:e,storage_selection:this.storage_selection},success:function(e){e.finished?i.row(jQuery(t).parents("tr")).remove().draw():alert("There was an error deleting the file")},dataType:"json"})}list_backup_content_callback(e,t=0,i=0){var n=this;e&&jQuery.ajax({url:XCLONER_AJAXURL,method:"post",data:{action:"list_backup_files",file:e,start:t,part:i},success:function(t){if(t.error)return jQuery("#backup_cotent_modal .files-list").addClass("error").prepend(t.message),void jQuery("#backup_cotent_modal .progress > div").addClass("determinate").removeClass(".indeterminate").css("width","100%");var i=[];for(var s in t.files){if(void 0!==t.total_size)parseInt(100*t.start),parseInt(t.total_size);n.file_counter++,i[s]="<li>"+n.file_counter+". <span title='"+t.files[s].mtime+"'>"+t.files[s].path+"</span> ("+t.files[s].size+" bytes)</li>"}jQuery("#backup_cotent_modal .modal-content .files-list").prepend(i.reverse().join("\n")),!t.finished&&jQuery("#backup_cotent_modal").is(":visible")?n.list_backup_content_callback(e,t.start,t.part):jQuery("#backup_cotent_modal .progress > div").addClass("determinate").removeClass(".indeterminate").css("width","100%")},error:function(e,t,i){jQuery("#backup_cotent_modal .files-list").addClass("error").prepend(t+i)},dataType:"json"})}list_backup_content(e){this.file_counter=0,jQuery("#backup_cotent_modal .modal-content .files-list").text("").removeClass("error"),jQuery("#backup_cotent_modal .modal-content .backup-name").text(e),n.open(),jQuery("#backup_cotent_modal .progress > div").removeClass("determinate").addClass("indeterminate"),this.list_backup_content_callback(e)}backup_encryption_callback(e,t=0,i=0,n=0){var s=this;e&&jQuery.ajax({url:XCLONER_AJAXURL,method:"post",data:{action:"backup_encryption",file:e,start:t,part:i,iv:n},success:function(t){if(void 0!==t.total_size){jQuery("#backup_encryption_modal .progress > div").removeClass("indeterminate").addClass("determinate");var i=parseInt(100*t.start)/parseInt(t.total_size);jQuery("#backup_encryption_modal .progress .determinate").css("width",parseInt(i)+"%"),jQuery("#backup_encryption_modal .modal-content .files-list").text("Encrypting "+t.processing_file+" "+parseInt(i)+"%")}if(t.error)return jQuery("#backup_encryption_modal .notice").show(),jQuery("#backup_encryption_modal .files-list").addClass("error").prepend(t.message+" "),void jQuery("#backup_encryption_modal .progress > div").addClass("determinate").removeClass("indeterminate").css("width","100%");!t.finished&&jQuery("#backup_encryption_modal").is(":visible")?s.backup_encryption_callback(e,t.start,t.part,t.iv):(jQuery("#backup_encryption_modal .progress > div").addClass("determinate").removeClass("indeterminate").css("width","100%"),jQuery("#backup_encryption_modal .modal-content .files-list").text("Done Encrypting."),dataTable.ajax.reload())},error:function(e,t,i){jQuery("#backup_encryption_modal .files-list").addClass("error").prepend(t+i)},dataType:"json"})}backup_encryption(e,t=0){this.file_counter=0,jQuery("#backup_encryption_modal .modal-content .backup-name").text(e),s.open(),jQuery("#backup_encryption_modal .progress > div"),jQuery("#backup_encryption_modal .notice").show(),jQuery("#backup_encryption_modal a.btn").attr("onclick","xcloner_manage_backups.backup_encryption('"+e+"', true)"),jQuery("#backup_encryption_modal .modal-content .files-list").text("").removeClass("error"),t&&(jQuery("#backup_encryption_modal .notice").hide(),this.backup_encryption_callback(e))}backup_decryption_callback(e,t=0,i=0,n=0){var s=this,o=jQuery("#backup_decryption_modal #decryption_key").val();e&&jQuery.ajax({url:XCLONER_AJAXURL,method:"post",data:{action:"backup_decryption",file:e,start:t,part:i,iv:n,decryption_key:o},success:function(t){if(t.start||(t.start=0),void 0!==t.total_size){jQuery("#backup_decryption_modal .progress > div").removeClass("indeterminate").addClass("determinate");var i=parseInt(100*t.start)/parseInt(t.total_size);jQuery("#backup_decryption_modal .progress .determinate").css("width",parseInt(i)+"%"),jQuery("#backup_decryption_modal .modal-content .files-list").text("Decrypting "+t.processing_file+" "+parseInt(i)+"%")}if(t.error)return jQuery("#backup_decryption_modal .files-list").addClass("error").prepend(t.message+" "),jQuery("#backup_decryption_modal .progress > div").addClass("determinate").removeClass("indeterminate").css("width","100%"),void jQuery("#backup_decryption_modal .notice").show();!t.finished&&jQuery("#backup_decryption_modal").is(":visible")?s.backup_decryption_callback(e,t.start,t.part,t.iv):(jQuery("#backup_decryption_modal .progress > div").addClass("determinate").removeClass("indeterminate").css("width","100%"),jQuery("#backup_decryption_modal .modal-content .files-list").text("Done Decrypting."),dataTable.ajax.reload())},error:function(e,t,i){jQuery("#backup_decryption_modal .files-list").addClass("error").prepend(t+i)},dataType:"json"})}backup_decryption(e,t=0){this.file_counter=0,jQuery("#backup_decryption_modal .modal-content .backup-name").text(e),o.open(),jQuery("#backup_decryption_modal .progress > div"),jQuery("#backup_decryption_modal .notice").show(),jQuery("#backup_decryption_modal a.btn").attr("onclick","xcloner_manage_backups.backup_decryption('"+e+"', true)"),jQuery("#backup_decryption_modal .modal-content .files-list").text("").removeClass("error"),t&&(jQuery("#backup_decryption_modal .notice").hide(),this.backup_decryption_callback(e))}cloud_upload(e,t){t=t||0,jQuery("#remote_storage_modal").find(".backup_name").text(e),jQuery("#remote_storage_modal").find("input.backup_name").val(e),M.updateTextFields(),jQuery(".col select").formSelect(),a.open(),jQuery("#remote_storage_modal .status").hide(),jQuery(".remote-storage-form").off("submit").on("submit",(function(){jQuery("#remote_storage_modal .status").show(),jQuery("#remote_storage_modal .status .progress .indeterminate").removeClass("determinate").css("width","0%"),jQuery("#remote_storage_modal .status-text").removeClass("error").text("");var i=jQuery("#remote_storage_modal select").val();return e&&jQuery.ajax({url:XCLONER_AJAXURL,method:"post",data:{action:"upload_backup_to_remote",file:e,storage_type:i,delete_after_transfer:t},success:function(e){e.error?jQuery("#remote_storage_modal .status-text").addClass("error").text(e.message):jQuery("#remote_storage_modal .status-text").removeClass("error").text("done"),jQuery("#remote_storage_modal .status .progress .indeterminate").addClass("determinate").css("width","100%")},error:function(e,t,i){jQuery("#remote_storage_modal .status-text").addClass("error").text(t+i)},dataType:"json"}),!1}))}copy_remote_to_local(e){r.open(),jQuery("#local_storage_upload_modal .modal-content .backup-name").text(e),jQuery("#local_storage_upload_modal .status-text").removeClass("error").text(""),jQuery("#local_storage_upload_modal .status .progress .indeterminate").removeClass("determinate").css("width","0%"),e&&jQuery.ajax({url:XCLONER_AJAXURL,method:"post",data:{action:"copy_backup_remote_to_local",file:e,storage_type:this.storage_selection},success:function(e){e.error?jQuery("#local_storage_upload_modal .status-text").addClass("error").text(e.message):jQuery("#local_storage_upload_modal .status-text").removeClass("error").text("done"),jQuery("#local_storage_upload_modal .status .progress .indeterminate").addClass("determinate").css("width","100%")},error:function(e,t,i){jQuery("#local_storage_upload_modal .status-text").addClass("error").text(t+i)},dataType:"json"})}}},function(e,t,i){"use strict";i.r(t),i.d(t,"Xcloner_Remote_Storage",(function(){return n}));class n{constructor(){}toggle_status(e){var t=jQuery(e).attr("name"),i=0;jQuery(e).is(":checked")&&(i=1),t&&jQuery.ajax({url:XCLONER_AJAXURL,method:"post",data:{action:"remote_storage_save_status",id:t,value:i},success:function(e){e.finished||alert("Error changing status")},dataType:"json"})}}},function(e,t,i){"use strict";i.r(t),i.d(t,"Xcloner_Backup",(function(){return n}));class n{constructor(){this.cancel=0,this.params={},this.last_dumpfile="",this.last_backup_file="",this.backup_part=0,this.backup_size_total=0,this.resume={}}get_form_params(){var e=[],t=[];jQuery.each(jQuery("#jstree_database_container").jstree("get_checked",!0),(function(){var t={};t.id=this.id,t.parent=this.parent;var i=e.length;e[i]=t})),jQuery.each(jQuery("#jstree_files_container").jstree("get_checked",!0),(function(){var e={};e.id=this.id,e.parent=this.parent;var i=t.length;t[i]=e}));var i={};return i.table_params=e,i.files_params=t,i.backup_params=jQuery("#generate_backup_form").serializeArray(),i}do_backup_database_callback(e,t,i){if(i.extra&&(this.params.extra=i.extra),i.extra.stats&&(void 0!==i.extra.stats.tables_count&&jQuery(e).find(".table-counter").text(parseInt(i.extra.stats.tables_count)),void 0!==i.extra.stats.database_count&&jQuery(e).find(".database-counter").text(parseInt(i.extra.stats.database_count)),void 0!==i.extra.stats.total_records&&jQuery(e).find(".total-records").text(parseInt(i.extra.stats.total_records))),i.extra.tableName&&jQuery(e).find(".last-logged-table").text(i.extra.databaseName+"."+i.extra.tableName+" ("+i.extra.processedRecords+" records)"),void 0!==i.extra.processedRecords&&!i.extra.startAtRecord&&!i.extra.endDump){var n=parseInt(jQuery(e).find(".total-records").attr("data-processed"))+parseInt(i.extra.processedRecords),s=100*parseInt(n)/parseInt(jQuery(e).find(".total-records").text());jQuery(e).find(".progress .determinate").css("width",s+"%"),jQuery(e).find(".total-records").attr("data-processed",n),jQuery(e).find(".status-body ul.logged-tables").prepend(jQuery("<li>").text(i.extra.databaseName+"."+i.extra.tableName+" ("+i.extra.processedRecords+" records)"))}if(void 0!==i.extra.dumpfile){var o=i.extra.dumpfile+" ("+this.getSize(i.extra.dumpsize,1024)+" KB)";jQuery(this.last_dumpfile).hasClass(i.extra.dumpfile)?jQuery(this.last_dumpfile).html(o):this.last_dumpfile=jQuery("<li>").addClass(i.extra.dumpfile).html(o).prependTo("ul.logged-databases")}if(!i.finished)return this.do_ajax(e,t),!1;jQuery(e).find(".last-logged-table").text("done"),jQuery(e).find(".progress .determinate").css("width","100%"),this.do_backup_files()}do_backup_database(){if(jQuery("#jstree_database_container").length){var e="#generate_backup ul.backup-status li.database-backup";jQuery(e).show(),jQuery(e).find(".collapsible-header").trigger("click"),jQuery(e).find(".total-records").text(0),jQuery(e).find(".total-records").attr("data-processed",0),jQuery(e).find(".table-counter").text(0),jQuery(e).find(".database-counter").text(0),jQuery(e).find(".logged-databases").html(""),jQuery(e).find(".logged-tables").html(""),this.last_dumpfile=0,jQuery(e).find(".progress .determinate").css("width","0%"),this.do_ajax(e,"backup_database",1)}else this.do_backup_files()}do_scan_filesystem_callback(e,t,i){if(i.total_files_num&&jQuery(".file-system .file-counter").text(parseInt(i.total_files_num)+parseInt(jQuery(".file-system .file-counter").text())),i.total_files_size){var n=parseFloat(i.total_files_size)+parseFloat(jQuery(".file-system .file-size-total").text());jQuery(".file-system .file-size-total").text(n.toFixed(2))}if(i.last_logged_file&&jQuery(".file-system .last-logged-file").text(i.last_logged_file),!i.finished)return this.do_ajax(e,t),!1;jQuery(e).find(".progress .indeterminate").removeClass("indeterminate").addClass("determinate").css("width","100%"),jQuery(".file-system .last-logged-file").text("done"),this.do_backup_database()}do_scan_filesystem(){var e="#generate_backup ul.backup-status li.file-system";jQuery(e).show(),jQuery(e+" .status-body").show(),jQuery(e).find(".collapsible-header").trigger("click"),jQuery(".file-system .file-counter").text(0),jQuery(".file-system .last-logged-file").text(""),jQuery(".file-system .file-size-total").text(0),jQuery(".file-system .progress div").removeClass("determinate").addClass("indeterminate").css("width","0%"),this.do_ajax(e,"scan_filesystem",1)}do_backup_files_callback(e,t,i){if(i.extra&&(this.params.extra=i.extra),i.extra&&(void 0!==i.extra.start_at_line&&jQuery(e).find(".file-counter").text(parseInt(i.extra.start_at_line)),void 0!==i.extra.start_at_line&&jQuery(e).find(".file-size-total").text(this.getSize(this.backup_size_total+parseInt(i.extra.backup_size)))),i.extra.processed_file){if(void 0!==i.extra.start_at_byte&&i.extra.start_at_byte)var n=i.extra.start_at_byte;else n=i.extra.processed_file_size;jQuery(e).find(".last-logged-file").text(i.extra.processed_file+" ("+this.getSize(n,1024)+" KB)")}if(void 0!==i.extra.processed_file){var s=i.extra.backup_archive_name_full+" ("+this.getSize(i.extra.backup_size)+") MB";this.backup_part!=i.extra.backup_part&&(this.backup_part=i.extra.backup_part,this.backup_size_total=this.backup_size_total+i.extra.backup_size),jQuery(this.last_backup_file).hasClass(i.extra.backup_archive_name)||(this.last_backup_file=jQuery("<li>").addClass(i.extra.backup_archive_name).html(s).prependTo(jQuery(e).find(".status-body .backup-name"))),jQuery(this.last_backup_file).html(s)}if(i.extra.lines_total){var o=100*parseInt(i.extra.start_at_line)/parseInt(i.extra.lines_total);jQuery(e).find(".progress .determinate").css("width",o+"%")}if(!i.finished)return this.do_ajax(e,t),!1;jQuery(e).find(".last-logged-file").text("done"),jQuery(".backup-done .cloud-upload").attr("href","#"+i.extra.backup_parent),jQuery(".backup-done .download").attr("href","#"+i.extra.backup_parent),jQuery(".backup-done .list-backup-content").attr("href","#"+i.extra.backup_parent),this.do_backup_encryption()||this.do_remote_storage_upload(i.extra.backup_parent)||this.do_backup_done(i.extra.backup_parent)}do_backup_files(){if(this.cancel)return!1;var e="#generate_backup ul.backup-status li.files-backup";jQuery(e).show(),jQuery(e+" .status-body").show(),jQuery(e).find(".collapsible-header").trigger("click"),jQuery(e).find(".file-size-total").text(0),jQuery(e).find(".file-size-total").attr("data-processed",0),jQuery(e).find(".file-counter").text(0),jQuery(e).find(".last-logged-file").text(""),jQuery(e).find(".progress .determinate").css("width","0%"),this.do_ajax(e,"backup_files",1)}do_backup_encryption_callback(e,t,i){if(i.extra&&(this.params.extra=i.extra),jQuery(".backup-encryption .last-logged-file").text("encrypting "+i.processing_file+" ..."),void 0!==i.total_size){jQuery(".backup-encryption .progress > div").removeClass("indeterminate").addClass("determinate");var n=parseInt(100*i.start)/parseInt(i.total_size);jQuery(".backup-encryption .progress .determinate").css("width",parseInt(n)+"%")}return i.error?(jQuery(".backup-encryption .status-body").show(),jQuery(".backup-encryption .status-body").addClass("error").prepend(i.message+" "),void jQuery(".backup-encryption .progress > div").addClass("determinate").removeClass("indeterminate").css("width","100%")):i.finished?(jQuery(e).find(".progress > div").css("width","100%"),jQuery(".backup-encryption .last-logged-file").text("done"),void(this.do_remote_storage_upload(i.processing_file)||this.do_backup_done(i.processing_file))):(this.do_ajax(e,t),!1)}do_backup_encryption(){if(this.cancel)return!1;if(!jQuery("#backup_options #backup_encrypt").is(":checked"))return!1;var e="#generate_backup ul.backup-status li.backup-encryption";return jQuery(e).show(),jQuery(e+" .status-body").show(),jQuery(e).find(".collapsible-header").trigger("click"),jQuery(e).find(".progress .determinate").removeClass("determinate").addClass("indeterminate"),this.do_ajax(e,"backup_encryption",1),!0}do_upload_backup_to_remote_callback(e,t,i){!i||i.error?(jQuery(e).find(".status").text(i.message),jQuery(e).find(".progress .indeterminate").removeClass("indeterminate").addClass("determinate").css("width","0%")):(jQuery(e).find(".status").text("done"),jQuery(e).find(".progress .indeterminate").removeClass("indeterminate").addClass("determinate").css("width","100%")),this.do_backup_done()}do_remote_storage_upload(e){if(this.cancel)return!1;var t=jQuery("#schedule_storage").val();if(!t)return!1;var i=Number(jQuery("#backup_delete_after_remote_transfer").is(":checked"));jQuery("#remote_storage_modal #transfer_storage").val(t);var n="#generate_backup ul.backup-status li.remote-storage-transfer";return jQuery(n).show(),jQuery(n+" .status-body").show(),jQuery(n).find(".collapsible-header").trigger("click"),jQuery(n).find(".progress .determinate").removeClass("determinate").addClass("indeterminate"),this.params.file=e,this.params.storage_type=t,this.params.delete_after_transfer=i,this.do_ajax(n,"upload_backup_to_remote",1),!0}do_backup_done(e){var t="#generate_backup ul.backup-status li.backup-done";jQuery(t).show(),jQuery(t+" .status-body").show(),jQuery(t).find(".collapsible-header").trigger("click"),this.set_cancel(!1),jQuery("#generate_backup .action-buttons a").hide(),jQuery("#generate_backup .action-buttons .start").css("display","inline-block")}do_save_schedule_callback(e,t,i){jQuery("#schedule_backup_success").show()}cancel_backup(){this.set_cancel(!0),jQuery("#generate_backup .action-buttons a").hide(),jQuery("#generate_backup .action-buttons .start").css("display","inline-block"),jQuery("#generate_backup .action-buttons .restart").css("display","inline-block")}restart_backup(){if(this.set_cancel(!1),jQuery("#generate_backup .action-buttons a").hide(),jQuery("#generate_backup .action-buttons .cancel").css("display","inline-block"),this.resume.action)return this.do_ajax(this.resume.elem,this.resume.action,this.resume.params),void(this.resume={});this.start_backup()}start_backup(){this.resume={},this.set_cancel(!1),jQuery("#generate_backup .action-buttons a").hide(),jQuery("#generate_backup .action-buttons .cancel").css("display","inline-block"),this.backup_size_total=0,this.last_backup_file="",this.backup_part=0,jQuery("#generate_backup ul.backup-name li").remove(),jQuery("#generate_backup ul.backup-status > li").hide(),jQuery("#generate_backup .backup-status").show(),this.params=this.get_form_params(),this.do_scan_filesystem()}set_cancel(e){this.cancel=e}get_cancel(e){return this.cancel}init_resume(e,t,i){this.resume.elem=e,this.resume.action=t,this.resume.init=i}do_ajax(e,t,i=0){let n=this.params.hash?this.params.hash:"generate_hash";if(1!=this.cancel){var s="do_"+t+"_callback",o=JSON.stringify(this.params),a=this;jQuery.ajax({url:XCLONER_AJAXURL,dataType:"json",type:"POST",data:{action:t,data:o,init:i,hash:n,API_ID:ID()},error:function(n){show_ajax_error("Communication Error","",n),a.init_resume(e,t,i)}}).done((function(n){if(n.hash&&(a.params.hash=n.hash),void 0!==n.error)return show_ajax_error("Communication Error","",n.error_message),void a.init_resume(e,t,i);a.resume={},a[s](e,t,n)}))}else this.init_resume(e,t,i)}getSize(e,t=1048576){return(e/t).toFixed(2)}}},function(e,t,i){i(5),i(0),i(3),i(1),i(2),i(7),i(8)},function(e,t,i){(function(i){var n,s=function e(t,i,n){null===t&&(t=Function.prototype);var s=Object.getOwnPropertyDescriptor(t,i);if(void 0===s){var o=Object.getPrototypeOf(t);return null===o?void 0:e(o,i,n)}if("value"in s)return s.value;var a=s.get;return void 0!==a?a.call(n):void 0},o=function(){function e(e,t){for(var i=0;i<t.length;i++){var n=t[i];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}return function(t,i,n){return i&&e(t.prototype,i),n&&e(t,n),t}}();function a(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}function r(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}window.cash=function(){var e,t=document,i=window,n=Array.prototype,s=n.slice,o=n.filter,a=n.push,r=function(){},l=function(e){return typeof e==typeof r&&e.call},u=function(e){return"string"==typeof e},d=/^#[\w-]*$/,c=/^\.[\w-]*$/,h=/<.+>/,p=/^\w+$/;function v(e,i){return i=i||t,c.test(e)?i.getElementsByClassName(e.slice(1)):p.test(e)?i.getElementsByTagName(e):i.querySelectorAll(e)}function _(i){if(!e){var n=(e=t.implementation.createHTMLDocument(null)).createElement("base");n.href=t.location.href,e.head.appendChild(n)}return e.body.innerHTML=i,e.body.childNodes}function f(e){"loading"!==t.readyState?e():t.addEventListener("DOMContentLoaded",e)}function m(e,n){if(!e)return this;if(e.cash&&e!==i)return e;var s,o=e,a=0;if(u(e))o=d.test(e)?t.getElementById(e.slice(1)):h.test(e)?_(e):v(e,n);else if(l(e))return f(e),this;if(!o)return this;if(o.nodeType||o===i)this[0]=o,this.length=1;else for(s=this.length=o.length;a<s;a++)this[a]=o[a];return this}function y(e,t){return new m(e,t)}var g=y.fn=y.prototype=m.prototype={cash:!0,length:0,push:a,splice:n.splice,map:n.map,init:m};function b(e,t){for(var i=e.length,n=0;n<i&&!1!==t.call(e[n],e[n],n,e);n++);}function k(e,t){var i=e&&(e.matches||e.webkitMatchesSelector||e.mozMatchesSelector||e.msMatchesSelector||e.oMatchesSelector);return!!i&&i.call(e,t)}function w(e){return u(e)?k:e.cash?function(t){return e.is(t)}:function(e,t){return e===t}}function C(e){return y(s.call(e).filter((function(e,t,i){return i.indexOf(e)===t})))}Object.defineProperty(g,"constructor",{value:y}),y.parseHTML=_,y.noop=r,y.isFunction=l,y.isString=u,y.extend=g.extend=function(e){e=e||{};var t=s.call(arguments),i=t.length,n=1;for(1===t.length&&(e=this,n=0);n<i;n++)if(t[n])for(var o in t[n])t[n].hasOwnProperty(o)&&(e[o]=t[n][o]);return e},y.extend({merge:function(e,t){for(var i=+t.length,n=e.length,s=0;s<i;n++,s++)e[n]=t[s];return e.length=n,e},each:b,matches:k,unique:C,isArray:Array.isArray,isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)}});var x=y.uid="_cash"+Date.now();function E(e){return e[x]=e[x]||{}}function M(e,t,i){return E(e)[t]=i}function j(e,t){var i=E(e);return void 0===i[t]&&(i[t]=e.dataset?e.dataset[t]:y(e).attr("data-"+t)),i[t]}function T(e,t){var i=E(e);i?delete i[t]:e.dataset?delete e.dataset[t]:y(e).removeAttr("data-"+name)}g.extend({data:function(e,t){if(u(e))return void 0===t?j(this[0],e):this.each((function(i){return M(i,e,t)}));for(var i in e)this.data(i,e[i]);return this},removeData:function(e){return this.each((function(t){return T(t,e)}))}});var O=/\S+/g;function L(e){return u(e)&&e.match(O)}function D(e,t){return e.classList?e.classList.contains(t):new RegExp("(^| )"+t+"( |$)","gi").test(e.className)}function B(e,t,i){e.classList?e.classList.add(t):i.indexOf(" "+t+" ")&&(e.className+=" "+t)}function Q(e,t){e.classList?e.classList.remove(t):e.className=e.className.replace(t,"")}g.extend({addClass:function(e){var t=L(e);return t?this.each((function(e){var i=" "+e.className+" ";b(t,(function(t){B(e,t,i)}))})):this},attr:function(e,t){if(e){if(u(e))return void 0===t?this[0]?this[0].getAttribute?this[0].getAttribute(e):this[0][e]:void 0:this.each((function(i){i.setAttribute?i.setAttribute(e,t):i[e]=t}));for(var i in e)this.attr(i,e[i]);return this}},hasClass:function(e){var t=!1,i=L(e);return i&&i.length&&this.each((function(e){return!(t=D(e,i[0]))})),t},prop:function(e,t){if(u(e))return void 0===t?this[0][e]:this.each((function(i){i[e]=t}));for(var i in e)this.prop(i,e[i]);return this},removeAttr:function(e){return this.each((function(t){t.removeAttribute?t.removeAttribute(e):delete t[e]}))},removeClass:function(e){if(!arguments.length)return this.attr("class","");var t=L(e);return t?this.each((function(e){b(t,(function(t){Q(e,t)}))})):this},removeProp:function(e){return this.each((function(t){delete t[e]}))},toggleClass:function(e,t){if(void 0!==t)return this[t?"addClass":"removeClass"](e);var i=L(e);return i?this.each((function(e){var t=" "+e.className+" ";b(i,(function(i){D(e,i)?Q(e,i):B(e,i,t)}))})):this}}),g.extend({add:function(e,t){return C(y.merge(this,y(e,t)))},each:function(e){return b(this,e),this},eq:function(e){return y(this.get(e))},filter:function(e){if(!e)return this;var t=l(e)?e:w(e);return y(o.call(this,(function(i){return t(i,e)})))},first:function(){return this.eq(0)},get:function(e){return void 0===e?s.call(this):e<0?this[e+this.length]:this[e]},index:function(e){var t=e?y(e)[0]:this[0],i=e?this:y(t).parent().children();return s.call(i).indexOf(t)},last:function(){return this.eq(-1)}});var $,S,I,A,R=(I=/(?:^\w|[A-Z]|\b\w)/g,A=/[\s-_]+/g,function(e){return e.replace(I,(function(e,t){return e[0===t?"toLowerCase":"toUpperCase"]()})).replace(A,"")}),P=($={},S=document.createElement("div").style,function(e){if(e=R(e),$[e])return $[e];var t=e.charAt(0).toUpperCase()+e.slice(1);return b((e+" "+["webkit","moz","ms","o"].join(t+" ")+t).split(" "),(function(t){if(t in S)return $[t]=e=$[e]=t,!1})),$[e]});function H(e,t){return parseInt(i.getComputedStyle(e[0],null)[t],10)||0}function W(e,t,i){var n=j(e,"_cashEvents")||M(e,"_cashEvents",{});n[t]=n[t]||[],n[t].push(i),e.addEventListener(t,i)}function q(e,t,i){var n,s=j(e,"_cashEvents"),o=s&&s[t];o&&(i?(e.removeEventListener(t,i),(n=o.indexOf(i))>=0&&o.splice(n,1)):(b(o,(function(i){e.removeEventListener(t,i)})),o=[]))}function z(e,t){return"&"+encodeURIComponent(e)+"="+encodeURIComponent(t).replace(/%20/g,"+")}function F(e){var t=[];return b(e.options,(function(e){e.selected&&t.push(e.value)})),t.length?t:null}function N(e){var t=e.selectedIndex;return t>=0?e.options[t].value:null}function X(e){var t=e.type;if(!t)return null;switch(t.toLowerCase()){case"select-one":return N(e);case"select-multiple":return F(e);case"radio":case"checkbox":return e.checked?e.value:null;default:return e.value?e.value:null}}function V(e,t,i){if(i){var n=e.childNodes[0];e.insertBefore(t,n)}else e.appendChild(t)}function Y(e,t,i){var n=u(t);n||!t.length?b(e,n?function(e){return e.insertAdjacentHTML(i?"afterbegin":"beforeend",t)}:function(e,n){return V(e,0===n?t:t.cloneNode(!0),i)}):b(t,(function(t){return Y(e,t,i)}))}y.prefixedProp=P,y.camelCase=R,g.extend({css:function(e,t){if(u(e))return e=P(e),arguments.length>1?this.each((function(i){return i.style[e]=t})):i.getComputedStyle(this[0])[e];for(var n in e)this.css(n,e[n]);return this}}),b(["Width","Height"],(function(e){var t=e.toLowerCase();g[t]=function(){return this[0].getBoundingClientRect()[t]},g["inner"+e]=function(){return this[0]["client"+e]},g["outer"+e]=function(t){return this[0]["offset"+e]+(t?H(this,"margin"+("Width"===e?"Left":"Top"))+H(this,"margin"+("Width"===e?"Right":"Bottom")):0)}})),g.extend({off:function(e,t){return this.each((function(i){return q(i,e,t)}))},on:function(e,t,i,n){var s;if(!u(e)){for(var o in e)this.on(o,t,e[o]);return this}return l(t)&&(i=t,t=null),"ready"===e?(f(i),this):(t&&(s=i,i=function(e){for(var i=e.target;!k(i,t);){if(i===this||null===i)return!1;i=i.parentNode}i&&s.call(i,e)}),this.each((function(t){var s=i;n&&(s=function(){i.apply(this,arguments),q(t,e,s)}),W(t,e,s)})))},one:function(e,t,i){return this.on(e,t,i,!0)},ready:f,trigger:function(e,t){if(document.createEvent){var i=document.createEvent("HTMLEvents");return i.initEvent(e,!0,!1),i=this.extend(i,t),this.each((function(e){return e.dispatchEvent(i)}))}}}),g.extend({serialize:function(){var e="";return b(this[0].elements||this,(function(t){if(!t.disabled&&"FIELDSET"!==t.tagName){var i=t.name;switch(t.type.toLowerCase()){case"file":case"reset":case"submit":case"button":break;case"select-multiple":var n=X(t);null!==n&&b(n,(function(t){e+=z(i,t)}));break;default:var s=X(t);null!==s&&(e+=z(i,s))}}})),e.substr(1)},val:function(e){return void 0===e?X(this[0]):this.each((function(t){return t.value=e}))}}),g.extend({after:function(e){return y(e).insertAfter(this),this},append:function(e){return Y(this,e),this},appendTo:function(e){return Y(y(e),this),this},before:function(e){return y(e).insertBefore(this),this},clone:function(){return y(this.map((function(e){return e.cloneNode(!0)})))},empty:function(){return this.html(""),this},html:function(e){if(void 0===e)return this[0].innerHTML;var t=e.nodeType?e[0].outerHTML:e;return this.each((function(e){return e.innerHTML=t}))},insertAfter:function(e){var t=this;return y(e).each((function(e,i){var n=e.parentNode,s=e.nextSibling;t.each((function(e){n.insertBefore(0===i?e:e.cloneNode(!0),s)}))})),this},insertBefore:function(e){var t=this;return y(e).each((function(e,i){var n=e.parentNode;t.each((function(t){n.insertBefore(0===i?t:t.cloneNode(!0),e)}))})),this},prepend:function(e){return Y(this,e,!0),this},prependTo:function(e){return Y(y(e),this,!0),this},remove:function(){return this.each((function(e){if(e.parentNode)return e.parentNode.removeChild(e)}))},text:function(e){return void 0===e?this[0].textContent:this.each((function(t){return t.textContent=e}))}});var K=t.documentElement;return g.extend({position:function(){var e=this[0];return{left:e.offsetLeft,top:e.offsetTop}},offset:function(){var e=this[0].getBoundingClientRect();return{top:e.top+i.pageYOffset-K.clientTop,left:e.left+i.pageXOffset-K.clientLeft}},offsetParent:function(){return y(this[0].offsetParent)}}),g.extend({children:function(e){var t=[];return this.each((function(e){a.apply(t,e.children)})),t=C(t),e?t.filter((function(t){return k(t,e)})):t},closest:function(e){return!e||this.length<1?y():this.is(e)?this.filter(e):this.parent().closest(e)},is:function(e){if(!e)return!1;var t=!1,i=w(e);return this.each((function(n){return!(t=i(n,e))})),t},find:function(e){if(!e||e.nodeType)return y(e&&this.has(e).length?e:null);var t=[];return this.each((function(i){a.apply(t,v(e,i))})),C(t)},has:function(e){var t=u(e)?function(t){return 0!==v(e,t).length}:function(t){return t.contains(e)};return this.filter(t)},next:function(){return y(this[0].nextElementSibling)},not:function(e){if(!e)return this;var t=w(e);return this.filter((function(i){return!t(i,e)}))},parent:function(){var e=[];return this.each((function(t){t&&t.parentNode&&e.push(t.parentNode)})),C(e)},parents:function(e){var i,n=[];return this.each((function(s){for(i=s;i&&i.parentNode&&i!==t.body.parentNode;)i=i.parentNode,(!e||e&&k(i,e))&&n.push(i)})),C(n)},prev:function(){return y(this[0].previousElementSibling)},siblings:function(e){var t=this.parent().children(e),i=this[0];return t.filter((function(e){return e!==i}))}}),y}();var u=function(){function e(t,i,n){l(this,e),i instanceof Element||console.error(Error(i+" is not an HTML Element"));var s=t.getInstance(i);s&&s.destroy(),this.el=i,this.$el=cash(i)}return o(e,null,[{key:"init",value:function(e,t,i){var n=null;if(t instanceof Element)n=new e(t,i);else if(t&&(t.jquery||t.cash||t instanceof NodeList)){for(var s=[],o=0;o<t.length;o++)s.push(new e(t[o],i));n=s}return n}}]),e}();!function(e){e.Package?M={}:e.M={},M.jQueryLoaded=!!e.jQuery}(window),void 0===(n=function(){return M}.apply(t,[]))||(e.exports=n),M.version="1.0.0",M.keys={TAB:9,ENTER:13,ESC:27,ARROW_UP:38,ARROW_DOWN:40},M.tabPressed=!1,M.keyDown=!1;document.addEventListener("keydown",(function(e){M.keyDown=!0,e.which!==M.keys.TAB&&e.which!==M.keys.ARROW_DOWN&&e.which!==M.keys.ARROW_UP||(M.tabPressed=!0)}),!0),document.addEventListener("keyup",(function(e){M.keyDown=!1,e.which!==M.keys.TAB&&e.which!==M.keys.ARROW_DOWN&&e.which!==M.keys.ARROW_UP||(M.tabPressed=!1)}),!0),document.addEventListener("focus",(function(e){M.keyDown&&document.body.classList.add("keyboard-focused")}),!0),document.addEventListener("blur",(function(e){document.body.classList.remove("keyboard-focused")}),!0),M.initializeJqueryWrapper=function(e,t,i){jQuery.fn[t]=function(n){if(e.prototype[n]){var s=Array.prototype.slice.call(arguments,1);if("get"===n.slice(0,3)){var o=this.first()[0][i];return o[n].apply(o,s)}return this.each((function(){var e=this[i];e[n].apply(e,s)}))}if("object"==typeof n||!n)return e.init(this,arguments[0]),this;jQuery.error("Method "+n+" does not exist on jQuery."+t)}},M.AutoInit=function(e){var t=e||document.body,i={Autocomplete:t.querySelectorAll(".autocomplete:not(.no-autoinit)"),Carousel:t.querySelectorAll(".carousel:not(.no-autoinit)"),Chips:t.querySelectorAll(".chips:not(.no-autoinit)"),Collapsible:t.querySelectorAll(".collapsible:not(.no-autoinit)"),Datepicker:t.querySelectorAll(".datepicker:not(.no-autoinit)"),Dropdown:t.querySelectorAll(".dropdown-trigger:not(.no-autoinit)"),Materialbox:t.querySelectorAll(".materialboxed:not(.no-autoinit)"),Modal:t.querySelectorAll(".modal:not(.no-autoinit)"),Parallax:t.querySelectorAll(".parallax:not(.no-autoinit)"),Pushpin:t.querySelectorAll(".pushpin:not(.no-autoinit)"),ScrollSpy:t.querySelectorAll(".scrollspy:not(.no-autoinit)"),FormSelect:t.querySelectorAll("select:not(.no-autoinit)"),Sidenav:t.querySelectorAll(".sidenav:not(.no-autoinit)"),Tabs:t.querySelectorAll(".tabs:not(.no-autoinit)"),TapTarget:t.querySelectorAll(".tap-target:not(.no-autoinit)"),Timepicker:t.querySelectorAll(".timepicker:not(.no-autoinit)"),Tooltip:t.querySelectorAll(".tooltipped:not(.no-autoinit)"),FloatingActionButton:t.querySelectorAll(".fixed-action-btn:not(.no-autoinit)")};for(var n in i){M[n].init(i[n])}},M.objectSelectorString=function(e){return((e.prop("tagName")||"")+(e.attr("id")||"")+(e.attr("class")||"")).replace(/\s/g,"")},M.guid=function(){function e(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)}return function(){return e()+e()+"-"+e()+"-"+e()+"-"+e()+"-"+e()+e()+e()}}(),M.escapeHash=function(e){return e.replace(/(:|\.|\[|\]|,|=|\/)/g,"\\$1")},M.elementOrParentIsFixed=function(e){var t=$(e),i=t.add(t.parents()),n=!1;return i.each((function(){if("fixed"===$(this).css("position"))return n=!0,!1})),n},M.checkWithinContainer=function(e,t,i){var n={top:!1,right:!1,bottom:!1,left:!1},s=e.getBoundingClientRect(),o=e===document.body?Math.max(s.bottom,window.innerHeight):s.bottom,a=e.scrollLeft,r=e.scrollTop,l=t.left-a,u=t.top-r;return(l<s.left+i||l<i)&&(n.left=!0),(l+t.width>s.right-i||l+t.width>window.innerWidth-i)&&(n.right=!0),(u<s.top+i||u<i)&&(n.top=!0),(u+t.height>o-i||u+t.height>window.innerHeight-i)&&(n.bottom=!0),n},M.checkPossibleAlignments=function(e,t,i,n){var s={top:!0,right:!0,bottom:!0,left:!0,spaceOnTop:null,spaceOnRight:null,spaceOnBottom:null,spaceOnLeft:null},o="visible"===getComputedStyle(t).overflow,a=t.getBoundingClientRect(),r=Math.min(a.height,window.innerHeight),l=Math.min(a.width,window.innerWidth),u=e.getBoundingClientRect(),d=t.scrollLeft,c=t.scrollTop,h=i.left-d,p=i.top-c,v=i.top+u.height-c;return s.spaceOnRight=o?window.innerWidth-(u.left+i.width):l-(h+i.width),s.spaceOnRight<0&&(s.left=!1),s.spaceOnLeft=o?u.right-i.width:h-i.width+u.width,s.spaceOnLeft<0&&(s.right=!1),s.spaceOnBottom=o?window.innerHeight-(u.top+i.height+n):r-(p+i.height+n),s.spaceOnBottom<0&&(s.top=!1),s.spaceOnTop=o?u.bottom-(i.height+n):v-(i.height-n),s.spaceOnTop<0&&(s.bottom=!1),s},M.getOverflowParent=function(e){return null==e?null:e===document.body||"visible"!==getComputedStyle(e).overflow?e:M.getOverflowParent(e.parentElement)},M.getIdFromTrigger=function(e){var t=e.getAttribute("data-target");return t||(t=(t=e.getAttribute("href"))?t.slice(1):""),t},M.getDocumentScrollTop=function(){return window.pageYOffset||document.documentElement.scrollTop||document.body.scrollTop||0},M.getDocumentScrollLeft=function(){return window.pageXOffset||document.documentElement.scrollLeft||document.body.scrollLeft||0};var d=Date.now||function(){return(new Date).getTime()};M.throttle=function(e,t,i){var n=void 0,s=void 0,o=void 0,a=null,r=0;i||(i={});var l=function(){r=!1===i.leading?0:d(),a=null,o=e.apply(n,s),n=s=null};return function(){var u=d();r||!1!==i.leading||(r=u);var c=t-(u-r);return n=this,s=arguments,c<=0?(clearTimeout(a),a=null,r=u,o=e.apply(n,s),n=s=null):a||!1===i.trailing||(a=setTimeout(l,c)),o}};var c={scope:{}};c.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(e,t,i){if(i.get||i.set)throw new TypeError("ES3 does not support getters and setters.");e!=Array.prototype&&e!=Object.prototype&&(e[t]=i.value)},c.getGlobal=function(e){return"undefined"!=typeof window&&window===e?e:void 0!==i&&null!=i?i:e},c.global=c.getGlobal(this),c.SYMBOL_PREFIX="jscomp_symbol_",c.initSymbol=function(){c.initSymbol=function(){},c.global.Symbol||(c.global.Symbol=c.Symbol)},c.symbolCounter_=0,c.Symbol=function(e){return c.SYMBOL_PREFIX+(e||"")+c.symbolCounter_++},c.initSymbolIterator=function(){c.initSymbol();var e=c.global.Symbol.iterator;e||(e=c.global.Symbol.iterator=c.global.Symbol("iterator")),"function"!=typeof Array.prototype[e]&&c.defineProperty(Array.prototype,e,{configurable:!0,writable:!0,value:function(){return c.arrayIterator(this)}}),c.initSymbolIterator=function(){}},c.arrayIterator=function(e){var t=0;return c.iteratorPrototype((function(){return t<e.length?{done:!1,value:e[t++]}:{done:!0}}))},c.iteratorPrototype=function(e){return c.initSymbolIterator(),(e={next:e})[c.global.Symbol.iterator]=function(){return this},e},c.array=c.array||{},c.iteratorFromArray=function(e,t){c.initSymbolIterator(),e instanceof String&&(e+="");var i=0,n={next:function(){if(i<e.length){var s=i++;return{value:t(s,e[s]),done:!1}}return n.next=function(){return{done:!0,value:void 0}},n.next()}};return n[Symbol.iterator]=function(){return n},n},c.polyfill=function(e,t,i,n){if(t){for(i=c.global,e=e.split("."),n=0;n<e.length-1;n++){var s=e[n];s in i||(i[s]={}),i=i[s]}(t=t(n=i[e=e[e.length-1]]))!=n&&null!=t&&c.defineProperty(i,e,{configurable:!0,writable:!0,value:t})}},c.polyfill("Array.prototype.keys",(function(e){return e||function(){return c.iteratorFromArray(this,(function(e){return e}))}}),"es6-impl","es3");var h=this;M.anime=function(){function e(e){if(!R.col(e))try{return document.querySelectorAll(e)}catch(e){}}function t(e,t){for(var i=e.length,n=2<=arguments.length?arguments[1]:void 0,s=[],o=0;o<i;o++)if(o in e){var a=e[o];t.call(n,a,o,e)&&s.push(a)}return s}function i(e){return e.reduce((function(e,t){return e.concat(R.arr(t)?i(t):t)}),[])}function n(t){return R.arr(t)?t:(R.str(t)&&(t=e(t)||t),t instanceof NodeList||t instanceof HTMLCollection?[].slice.call(t):[t])}function s(e,t){return e.some((function(e){return e===t}))}function o(e){var t,i={};for(t in e)i[t]=e[t];return i}function a(e,t){var i,n=o(e);for(i in e)n[i]=t.hasOwnProperty(i)?t[i]:e[i];return n}function r(e,t){var i,n=o(e);for(i in t)n[i]=R.und(e[i])?t[i]:e[i];return n}function l(e){e=e.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,(function(e,t,i,n){return t+t+i+i+n+n}));var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return"rgba("+(e=parseInt(t[1],16))+","+parseInt(t[2],16)+","+(t=parseInt(t[3],16))+",1)"}function u(e){function t(e,t,i){return 0>i&&(i+=1),1<i&&--i,i<1/6?e+6*(t-e)*i:.5>i?t:i<2/3?e+(t-e)*(2/3-i)*6:e}var i=/hsl\((\d+),\s*([\d.]+)%,\s*([\d.]+)%\)/g.exec(e)||/hsla\((\d+),\s*([\d.]+)%,\s*([\d.]+)%,\s*([\d.]+)\)/g.exec(e);e=parseInt(i[1])/360;var n=parseInt(i[2])/100,s=parseInt(i[3])/100;if(i=i[4]||1,0==n)s=n=e=s;else{var o=.5>s?s*(1+n):s+n-s*n,a=2*s-o;s=t(a,o,e+1/3),n=t(a,o,e),e=t(a,o,e-1/3)}return"rgba("+255*s+","+255*n+","+255*e+","+i+")"}function d(e){if(e=/([\+\-]?[0-9#\.]+)(%|px|pt|em|rem|in|cm|mm|ex|ch|pc|vw|vh|vmin|vmax|deg|rad|turn)?$/.exec(e))return e[2]}function c(e){return-1<e.indexOf("translate")||"perspective"===e?"px":-1<e.indexOf("rotate")||-1<e.indexOf("skew")?"deg":void 0}function p(e,t){return R.fnc(e)?e(t.target,t.id,t.total):e}function v(e,t){if(t in e.style)return getComputedStyle(e).getPropertyValue(t.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase())||"0"}function _(e,t){return R.dom(e)&&s(A,t)?"transform":R.dom(e)&&(e.getAttribute(t)||R.svg(e)&&e[t])?"attribute":R.dom(e)&&"transform"!==t&&v(e,t)?"css":null!=e[t]?"object":void 0}function f(e,i){var n=c(i);if(n=-1<i.indexOf("scale")?1:0+n,!(e=e.style.transform))return n;for(var s=[],o=[],a=[],r=/(\w+)\((.+?)\)/g;s=r.exec(e);)o.push(s[1]),a.push(s[2]);return e=t(a,(function(e,t){return o[t]===i})),e.length?e[0]:n}function m(e,t){switch(_(e,t)){case"transform":return f(e,t);case"css":return v(e,t);case"attribute":return e.getAttribute(t)}return e[t]||0}function y(e,t){var i=/^(\*=|\+=|-=)/.exec(e);if(!i)return e;var n=d(e)||0;switch(t=parseFloat(t),e=parseFloat(e.replace(i[0],"")),i[0][0]){case"+":return t+e+n;case"-":return t-e+n;case"*":return t*e+n}}function g(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function b(e){e=e.points;for(var t,i=0,n=0;n<e.numberOfItems;n++){var s=e.getItem(n);0<n&&(i+=g(t,s)),t=s}return i}function k(e){if(e.getTotalLength)return e.getTotalLength();switch(e.tagName.toLowerCase()){case"circle":return 2*Math.PI*e.getAttribute("r");case"rect":return 2*e.getAttribute("width")+2*e.getAttribute("height");case"line":return g({x:e.getAttribute("x1"),y:e.getAttribute("y1")},{x:e.getAttribute("x2"),y:e.getAttribute("y2")});case"polyline":return b(e);case"polygon":var t=e.points;return b(e)+g(t.getItem(t.numberOfItems-1),t.getItem(0))}}function w(e,t){function i(i){return i=void 0===i?0:i,e.el.getPointAtLength(1<=t+i?t+i:0)}var n=i(),s=i(-1),o=i(1);switch(e.property){case"x":return n.x;case"y":return n.y;case"angle":return 180*Math.atan2(o.y-s.y,o.x-s.x)/Math.PI}}function C(e,t){var i,n=/-?\d*\.?\d+/g;if(i=R.pth(e)?e.totalLength:e,R.col(i))if(R.rgb(i)){var s=/rgb\((\d+,\s*[\d]+,\s*[\d]+)\)/g.exec(i);i=s?"rgba("+s[1]+",1)":i}else i=R.hex(i)?l(i):R.hsl(i)?u(i):void 0;else s=(s=d(i))?i.substr(0,i.length-s.length):i,i=t&&!/\s/g.test(i)?s+t:s;return{original:i+="",numbers:i.match(n)?i.match(n).map(Number):[0],strings:R.str(e)||t?i.split(n):[]}}function x(e){return t(e=e?i(R.arr(e)?e.map(n):n(e)):[],(function(e,t,i){return i.indexOf(e)===t}))}function E(e){var t=x(e);return t.map((function(e,i){return{target:e,id:i,total:t.length}}))}function M(e,t){var i=o(t);if(R.arr(e)){var s=e.length;2!==s||R.obj(e[0])?R.fnc(t.duration)||(i.duration=t.duration/s):e={value:e}}return n(e).map((function(e,i){return i=i?0:t.delay,e=R.obj(e)&&!R.pth(e)?e:{value:e},R.und(e.delay)&&(e.delay=i),e})).map((function(e){return r(e,i)}))}function j(e,t){var i,n={};for(i in e){var s=p(e[i],t);R.arr(s)&&(s=s.map((function(e){return p(e,t)})),1===s.length&&(s=s[0])),n[i]=s}return n.duration=parseFloat(n.duration),n.delay=parseFloat(n.delay),n}function T(e){return R.arr(e)?P.apply(this,e):H[e]}function O(e,t){var i;return e.tweens.map((function(n){var s=(n=j(n,t)).value,o=m(t.target,e.name),a=i?i.to.original:o,r=(a=R.arr(s)?s[0]:a,y(R.arr(s)?s[1]:s,a));return o=d(r)||d(a)||d(o),n.from=C(a,o),n.to=C(r,o),n.start=i?i.end:e.offset,n.end=n.start+n.delay+n.duration,n.easing=T(n.easing),n.elasticity=(1e3-Math.min(Math.max(n.elasticity,1),999))/1e3,n.isPath=R.pth(s),n.isColor=R.col(n.from.original),n.isColor&&(n.round=1),i=n}))}function L(e,n){return t(i(e.map((function(e){return n.map((function(t){var i=_(e.target,t.name);if(i){var n=O(t,e);t={type:i,property:t.name,animatable:e,tweens:n,duration:n[n.length-1].end,delay:n[0].delay}}else t=void 0;return t}))}))),(function(e){return!R.und(e)}))}function D(e,t,i,n){var s="delay"===e;return t.length?(s?Math.min:Math.max).apply(Math,t.map((function(t){return t[e]}))):s?n.delay:i.offset+n.delay+n.duration}function B(e){var t,i=a(S,e),n=a(I,e),s=E(e.targets),o=[],l=r(i,n);for(t in e)l.hasOwnProperty(t)||"targets"===t||o.push({name:t,offset:l.offset,tweens:M(e[t],n)});return r(i,{children:[],animatables:s,animations:e=L(s,o),duration:D("duration",e,i,n),delay:D("delay",e,i,n)})}function Q(e){function i(){return window.Promise&&new Promise((function(e){return c=e}))}function n(e){return p.reversed?p.duration-e:e}function s(e){for(var i=0,n={},s=p.animations,o=s.length;i<o;){var a=s[i],r=a.animatable,l=(u=a.tweens)[h=u.length-1];h&&(l=t(u,(function(t){return e<t.end}))[0]||l);for(var u=Math.min(Math.max(e-l.start-l.delay,0),l.duration)/l.duration,d=isNaN(u)?1:l.easing(u,l.elasticity),c=(u=l.to.strings,l.round),h=[],_=void 0,f=(_=l.to.numbers.length,0);f<_;f++){var m=void 0,y=(m=l.to.numbers[f],l.from.numbers[f]);m=l.isPath?w(l.value,d*m):y+d*(m-y),c&&(l.isColor&&2<f||(m=Math.round(m*c)/c)),h.push(m)}if(l=u.length)for(_=u[0],d=0;d<l;d++)c=u[d+1],f=h[d],isNaN(f)||(_=c?_+(f+c):_+(f+" "));else _=h[0];W[a.type](r.target,a.property,_,n,r.id),a.currentValue=_,i++}if(i=Object.keys(n).length)for(s=0;s<i;s++)$||($=v(document.body,"transform")?"transform":"-webkit-transform"),p.animatables[s].target.style[$]=n[s].join(" ");p.currentTime=e,p.progress=e/p.duration*100}function o(e){p[e]&&p[e](p)}function a(){p.remaining&&!0!==p.remaining&&p.remaining--}function r(e){var t=p.duration,r=p.offset,v=r+p.delay,_=p.currentTime,f=p.reversed,m=n(e);if(p.children.length){var y=p.children,g=y.length;if(m>=p.currentTime)for(var b=0;b<g;b++)y[b].seek(m);else for(;g--;)y[g].seek(m)}(m>=v||!t)&&(p.began||(p.began=!0,o("begin")),o("run")),m>r&&m<t?s(m):(m<=r&&0!==_&&(s(0),f&&a()),(m>=t&&_!==t||!t)&&(s(t),f||a())),o("update"),e>=t&&(p.remaining?(u=l,"alternate"===p.direction&&(p.reversed=!p.reversed)):(p.pause(),p.completed||(p.completed=!0,o("complete"),"Promise"in window&&(c(),h=i()))),d=0)}e=void 0===e?{}:e;var l,u,d=0,c=null,h=i(),p=B(e);return p.reset=function(){var e=p.direction,t=p.loop;for(p.currentTime=0,p.progress=0,p.paused=!0,p.began=!1,p.completed=!1,p.reversed="reverse"===e,p.remaining="alternate"===e&&1===t?2:t,s(0),e=p.children.length;e--;)p.children[e].reset()},p.tick=function(e){l=e,u||(u=l),r((d+l-u)*Q.speed)},p.seek=function(e){r(n(e))},p.pause=function(){var e=q.indexOf(p);-1<e&&q.splice(e,1),p.paused=!0},p.play=function(){p.paused&&(p.paused=!1,u=0,d=n(p.currentTime),q.push(p),z||F())},p.reverse=function(){p.reversed=!p.reversed,u=0,d=n(p.currentTime)},p.restart=function(){p.pause(),p.reset(),p.play()},p.finished=h,p.reset(),p.autoplay&&p.play(),p}var $,S={update:void 0,begin:void 0,run:void 0,complete:void 0,loop:1,direction:"normal",autoplay:!0,offset:0},I={duration:1e3,delay:0,easing:"easeOutElastic",elasticity:500,round:0},A="translateX translateY translateZ rotate rotateX rotateY rotateZ scale scaleX scaleY scaleZ skewX skewY perspective".split(" "),R={arr:function(e){return Array.isArray(e)},obj:function(e){return-1<Object.prototype.toString.call(e).indexOf("Object")},pth:function(e){return R.obj(e)&&e.hasOwnProperty("totalLength")},svg:function(e){return e instanceof SVGElement},dom:function(e){return e.nodeType||R.svg(e)},str:function(e){return"string"==typeof e},fnc:function(e){return"function"==typeof e},und:function(e){return void 0===e},hex:function(e){return/(^#[0-9A-F]{6}$)|(^#[0-9A-F]{3}$)/i.test(e)},rgb:function(e){return/^rgb/.test(e)},hsl:function(e){return/^hsl/.test(e)},col:function(e){return R.hex(e)||R.rgb(e)||R.hsl(e)}},P=function(){function e(e,t,i){return(((1-3*i+3*t)*e+(3*i-6*t))*e+3*t)*e}return function(t,i,n,s){if(0<=t&&1>=t&&0<=n&&1>=n){var o=new Float32Array(11);if(t!==i||n!==s)for(var a=0;11>a;++a)o[a]=e(.1*a,t,n);return function(a){if(t===i&&n===s)return a;if(0===a)return 0;if(1===a)return 1;for(var r=0,l=1;10!==l&&o[l]<=a;++l)r+=.1;--l,l=r+(a-o[l])/(o[l+1]-o[l])*.1;var u=3*(1-3*n+3*t)*l*l+2*(3*n-6*t)*l+3*t;if(.001<=u){for(r=0;4>r&&0!=(u=3*(1-3*n+3*t)*l*l+2*(3*n-6*t)*l+3*t);++r){var d=e(l,t,n)-a;l-=d/u}a=l}else if(0===u)a=l;else{l=r,r+=.1;var c=0;do{0<(u=e(d=l+(r-l)/2,t,n)-a)?r=d:l=d}while(1e-7<Math.abs(u)&&10>++c);a=d}return e(a,i,s)}}}}(),H=function(){function e(e,t){return 0===e||1===e?e:-Math.pow(2,10*(e-1))*Math.sin(2*(e-1-t/(2*Math.PI)*Math.asin(1))*Math.PI/t)}var t,i="Quad Cubic Quart Quint Sine Expo Circ Back Elastic".split(" "),n={In:[[.55,.085,.68,.53],[.55,.055,.675,.19],[.895,.03,.685,.22],[.755,.05,.855,.06],[.47,0,.745,.715],[.95,.05,.795,.035],[.6,.04,.98,.335],[.6,-.28,.735,.045],e],Out:[[.25,.46,.45,.94],[.215,.61,.355,1],[.165,.84,.44,1],[.23,1,.32,1],[.39,.575,.565,1],[.19,1,.22,1],[.075,.82,.165,1],[.175,.885,.32,1.275],function(t,i){return 1-e(1-t,i)}],InOut:[[.455,.03,.515,.955],[.645,.045,.355,1],[.77,0,.175,1],[.86,0,.07,1],[.445,.05,.55,.95],[1,0,0,1],[.785,.135,.15,.86],[.68,-.55,.265,1.55],function(t,i){return.5>t?e(2*t,i)/2:1-e(-2*t+2,i)/2}]},s={linear:P(.25,.25,.75,.75)},o={};for(t in n)o.type=t,n[o.type].forEach(function(e){return function(t,n){s["ease"+e.type+i[n]]=R.fnc(t)?t:P.apply(h,t)}}(o)),o={type:o.type};return s}(),W={css:function(e,t,i){return e.style[t]=i},attribute:function(e,t,i){return e.setAttribute(t,i)},object:function(e,t,i){return e[t]=i},transform:function(e,t,i,n,s){n[s]||(n[s]=[]),n[s].push(t+"("+i+")")}},q=[],z=0,F=function(){function e(){z=requestAnimationFrame(t)}function t(t){var i=q.length;if(i){for(var n=0;n<i;)q[n]&&q[n].tick(t),n++;e()}else cancelAnimationFrame(z),z=0}return e}();return Q.version="2.2.0",Q.speed=1,Q.running=q,Q.remove=function(e){e=x(e);for(var t=q.length;t--;)for(var i=q[t],n=i.animations,o=n.length;o--;)s(e,n[o].animatable.target)&&(n.splice(o,1),n.length||i.pause())},Q.getValue=m,Q.path=function(t,i){var n=R.str(t)?e(t)[0]:t,s=i||100;return function(e){return{el:n,property:e,totalLength:k(n)*(s/100)}}},Q.setDashoffset=function(e){var t=k(e);return e.setAttribute("stroke-dasharray",t),t},Q.bezier=P,Q.easings=H,Q.timeline=function(e){var t=Q(e);return t.pause(),t.duration=0,t.add=function(i){return t.children.forEach((function(e){e.began=!0,e.completed=!0})),n(i).forEach((function(i){var n=r(i,a(I,e||{}));n.targets=n.targets||e.targets,i=t.duration;var s=n.offset;n.autoplay=!1,n.direction=t.direction,n.offset=R.und(s)?i:y(s,i),t.began=!0,t.completed=!0,t.seek(n.offset),(n=Q(n)).began=!0,n.completed=!0,n.duration>i&&(t.duration=n.duration),t.children.push(n)})),t.seek(0),t.reset(),t.autoplay&&t.restart(),t},t},Q.random=function(e,t){return Math.floor(Math.random()*(t-e+1))+e},Q}(),function(e,t){"use strict";var i={accordion:!0,onOpenStart:void 0,onOpenEnd:void 0,onCloseStart:void 0,onCloseEnd:void 0,inDuration:300,outDuration:300},n=function(n){function u(t,i){l(this,u);var n=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));n.el.M_Collapsible=n,n.options=e.extend({},u.defaults,i),n.$headers=n.$el.children("li").children(".collapsible-header"),n.$headers.attr("tabindex",0),n._setupEventHandlers();var s=n.$el.children("li.active").children(".collapsible-body");return n.options.accordion?s.first().css("display","block"):s.css("display","block"),n}return r(u,n),o(u,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_Collapsible=void 0}},{key:"_setupEventHandlers",value:function(){var e=this;this._handleCollapsibleClickBound=this._handleCollapsibleClick.bind(this),this._handleCollapsibleKeydownBound=this._handleCollapsibleKeydown.bind(this),this.el.addEventListener("click",this._handleCollapsibleClickBound),this.$headers.each((function(t){t.addEventListener("keydown",e._handleCollapsibleKeydownBound)}))}},{key:"_removeEventHandlers",value:function(){var e=this;this.el.removeEventListener("click",this._handleCollapsibleClickBound),this.$headers.each((function(t){t.removeEventListener("keydown",e._handleCollapsibleKeydownBound)}))}},{key:"_handleCollapsibleClick",value:function(t){var i=e(t.target).closest(".collapsible-header");if(t.target&&i.length){var n=i.closest(".collapsible");if(n[0]===this.el){var s=i.closest("li"),o=n.children("li"),a=s[0].classList.contains("active"),r=o.index(s);a?this.close(r):this.open(r)}}}},{key:"_handleCollapsibleKeydown",value:function(e){13===e.keyCode&&this._handleCollapsibleClickBound(e)}},{key:"_animateIn",value:function(e){var i=this,n=this.$el.children("li").eq(e);if(n.length){var s=n.children(".collapsible-body");t.remove(s[0]),s.css({display:"block",overflow:"hidden",height:0,paddingTop:"",paddingBottom:""});var o=s.css("padding-top"),a=s.css("padding-bottom"),r=s[0].scrollHeight;s.css({paddingTop:0,paddingBottom:0}),t({targets:s[0],height:r,paddingTop:o,paddingBottom:a,duration:this.options.inDuration,easing:"easeInOutCubic",complete:function(e){s.css({overflow:"",paddingTop:"",paddingBottom:"",height:""}),"function"==typeof i.options.onOpenEnd&&i.options.onOpenEnd.call(i,n[0])}})}}},{key:"_animateOut",value:function(e){var i=this,n=this.$el.children("li").eq(e);if(n.length){var s=n.children(".collapsible-body");t.remove(s[0]),s.css("overflow","hidden"),t({targets:s[0],height:0,paddingTop:0,paddingBottom:0,duration:this.options.outDuration,easing:"easeInOutCubic",complete:function(){s.css({height:"",overflow:"",padding:"",display:""}),"function"==typeof i.options.onCloseEnd&&i.options.onCloseEnd.call(i,n[0])}})}}},{key:"open",value:function(t){var i=this,n=this.$el.children("li").eq(t);if(n.length&&!n[0].classList.contains("active")){if("function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,n[0]),this.options.accordion){var s=this.$el.children("li");this.$el.children("li.active").each((function(t){var n=s.index(e(t));i.close(n)}))}n[0].classList.add("active"),this._animateIn(t)}}},{key:"close",value:function(e){var t=this.$el.children("li").eq(e);t.length&&t[0].classList.contains("active")&&("function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,t[0]),t[0].classList.remove("active"),this._animateOut(e))}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Collapsible}},{key:"defaults",get:function(){return i}}]),u}(u);M.Collapsible=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"collapsible","M_Collapsible")}(cash,M.anime),function(e,t){"use strict";var i={alignment:"left",autoFocus:!0,constrainWidth:!0,container:null,coverTrigger:!0,closeOnClick:!0,hover:!1,inDuration:150,outDuration:250,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,onItemClick:null},n=function(n){function u(t,i){l(this,u);var n=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_Dropdown=n,u._dropdowns.push(n),n.id=M.getIdFromTrigger(t),n.dropdownEl=document.getElementById(n.id),n.$dropdownEl=e(n.dropdownEl),n.options=e.extend({},u.defaults,i),n.isOpen=!1,n.isScrollable=!1,n.isTouchMoving=!1,n.focusedIndex=-1,n.filterQuery=[],n.options.container?e(n.options.container).append(n.dropdownEl):n.$el.after(n.dropdownEl),n._makeDropdownFocusable(),n._resetFilterQueryBound=n._resetFilterQuery.bind(n),n._handleDocumentClickBound=n._handleDocumentClick.bind(n),n._handleDocumentTouchmoveBound=n._handleDocumentTouchmove.bind(n),n._handleDropdownClickBound=n._handleDropdownClick.bind(n),n._handleDropdownKeydownBound=n._handleDropdownKeydown.bind(n),n._handleTriggerKeydownBound=n._handleTriggerKeydown.bind(n),n._setupEventHandlers(),n}return r(u,n),o(u,[{key:"destroy",value:function(){this._resetDropdownStyles(),this._removeEventHandlers(),u._dropdowns.splice(u._dropdowns.indexOf(this),1),this.el.M_Dropdown=void 0}},{key:"_setupEventHandlers",value:function(){this.el.addEventListener("keydown",this._handleTriggerKeydownBound),this.dropdownEl.addEventListener("click",this._handleDropdownClickBound),this.options.hover?(this._handleMouseEnterBound=this._handleMouseEnter.bind(this),this.el.addEventListener("mouseenter",this._handleMouseEnterBound),this._handleMouseLeaveBound=this._handleMouseLeave.bind(this),this.el.addEventListener("mouseleave",this._handleMouseLeaveBound),this.dropdownEl.addEventListener("mouseleave",this._handleMouseLeaveBound)):(this._handleClickBound=this._handleClick.bind(this),this.el.addEventListener("click",this._handleClickBound))}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("keydown",this._handleTriggerKeydownBound),this.dropdownEl.removeEventListener("click",this._handleDropdownClickBound),this.options.hover?(this.el.removeEventListener("mouseenter",this._handleMouseEnterBound),this.el.removeEventListener("mouseleave",this._handleMouseLeaveBound),this.dropdownEl.removeEventListener("mouseleave",this._handleMouseLeaveBound)):this.el.removeEventListener("click",this._handleClickBound)}},{key:"_setupTemporaryEventHandlers",value:function(){document.body.addEventListener("click",this._handleDocumentClickBound,!0),document.body.addEventListener("touchend",this._handleDocumentClickBound),document.body.addEventListener("touchmove",this._handleDocumentTouchmoveBound),this.dropdownEl.addEventListener("keydown",this._handleDropdownKeydownBound)}},{key:"_removeTemporaryEventHandlers",value:function(){document.body.removeEventListener("click",this._handleDocumentClickBound,!0),document.body.removeEventListener("touchend",this._handleDocumentClickBound),document.body.removeEventListener("touchmove",this._handleDocumentTouchmoveBound),this.dropdownEl.removeEventListener("keydown",this._handleDropdownKeydownBound)}},{key:"_handleClick",value:function(e){e.preventDefault(),this.open()}},{key:"_handleMouseEnter",value:function(){this.open()}},{key:"_handleMouseLeave",value:function(t){var i=t.toElement||t.relatedTarget,n=!!e(i).closest(".dropdown-content").length,s=!1,o=e(i).closest(".dropdown-trigger");o.length&&o[0].M_Dropdown&&o[0].M_Dropdown.isOpen&&(s=!0),s||n||this.close()}},{key:"_handleDocumentClick",value:function(t){var i=this,n=e(t.target);this.options.closeOnClick&&n.closest(".dropdown-content").length&&!this.isTouchMoving?setTimeout((function(){i.close()}),0):!n.closest(".dropdown-trigger").length&&n.closest(".dropdown-content").length||setTimeout((function(){i.close()}),0),this.isTouchMoving=!1}},{key:"_handleTriggerKeydown",value:function(e){e.which!==M.keys.ARROW_DOWN&&e.which!==M.keys.ENTER||this.isOpen||(e.preventDefault(),this.open())}},{key:"_handleDocumentTouchmove",value:function(t){e(t.target).closest(".dropdown-content").length&&(this.isTouchMoving=!0)}},{key:"_handleDropdownClick",value:function(t){if("function"==typeof this.options.onItemClick){var i=e(t.target).closest("li")[0];this.options.onItemClick.call(this,i)}}},{key:"_handleDropdownKeydown",value:function(t){if(t.which===M.keys.TAB)t.preventDefault(),this.close();else if(t.which!==M.keys.ARROW_DOWN&&t.which!==M.keys.ARROW_UP||!this.isOpen)if(t.which===M.keys.ENTER&&this.isOpen){var i=this.dropdownEl.children[this.focusedIndex],n=e(i).find("a, button").first();n.length?n[0].click():i&&i.click()}else t.which===M.keys.ESC&&this.isOpen&&(t.preventDefault(),this.close());else{t.preventDefault();var s=t.which===M.keys.ARROW_DOWN?1:-1,o=this.focusedIndex,a=!1;do{if(o+=s,this.dropdownEl.children[o]&&-1!==this.dropdownEl.children[o].tabIndex){a=!0;break}}while(o<this.dropdownEl.children.length&&o>=0);a&&(this.focusedIndex=o,this._focusFocusedItem())}var r=String.fromCharCode(t.which).toLowerCase();if(r&&-1===[9,13,27,38,40].indexOf(t.which)){this.filterQuery.push(r);var l=this.filterQuery.join(""),u=e(this.dropdownEl).find("li").filter((function(t){return 0===e(t).text().toLowerCase().indexOf(l)}))[0];u&&(this.focusedIndex=e(u).index(),this._focusFocusedItem())}this.filterTimeout=setTimeout(this._resetFilterQueryBound,1e3)}},{key:"_resetFilterQuery",value:function(){this.filterQuery=[]}},{key:"_resetDropdownStyles",value:function(){this.$dropdownEl.css({display:"",width:"",height:"",left:"",top:"","transform-origin":"",transform:"",opacity:""})}},{key:"_makeDropdownFocusable",value:function(){this.dropdownEl.tabIndex=0,e(this.dropdownEl).children().each((function(e){e.getAttribute("tabindex")||e.setAttribute("tabindex",0)}))}},{key:"_focusFocusedItem",value:function(){this.focusedIndex>=0&&this.focusedIndex<this.dropdownEl.children.length&&this.options.autoFocus&&this.dropdownEl.children[this.focusedIndex].focus()}},{key:"_getDropdownPosition",value:function(){this.el.offsetParent.getBoundingClientRect();var e=this.el.getBoundingClientRect(),t=this.dropdownEl.getBoundingClientRect(),i=t.height,n=t.width,s=e.left-t.left,o=e.top-t.top,a={left:s,top:o,height:i,width:n},r=this.dropdownEl.offsetParent?this.dropdownEl.offsetParent:this.dropdownEl.parentNode,l=M.checkPossibleAlignments(this.el,r,a,this.options.coverTrigger?0:e.height),u="top",d=this.options.alignment;if(o+=this.options.coverTrigger?0:e.height,this.isScrollable=!1,l.top||(l.bottom?u="bottom":(this.isScrollable=!0,l.spaceOnTop>l.spaceOnBottom?(u="bottom",i+=l.spaceOnTop,o-=l.spaceOnTop):i+=l.spaceOnBottom)),!l[d]){var c="left"===d?"right":"left";l[c]?d=c:l.spaceOnLeft>l.spaceOnRight?(d="right",n+=l.spaceOnLeft,s-=l.spaceOnLeft):(d="left",n+=l.spaceOnRight)}return"bottom"===u&&(o=o-t.height+(this.options.coverTrigger?e.height:0)),"right"===d&&(s=s-t.width+e.width),{x:s,y:o,verticalAlignment:u,horizontalAlignment:d,height:i,width:n}}},{key:"_animateIn",value:function(){var e=this;t.remove(this.dropdownEl),t({targets:this.dropdownEl,opacity:{value:[0,1],easing:"easeOutQuad"},scaleX:[.3,1],scaleY:[.3,1],duration:this.options.inDuration,easing:"easeOutQuint",complete:function(t){e.options.autoFocus&&e.dropdownEl.focus(),"function"==typeof e.options.onOpenEnd&&e.options.onOpenEnd.call(e,e.el)}})}},{key:"_animateOut",value:function(){var e=this;t.remove(this.dropdownEl),t({targets:this.dropdownEl,opacity:{value:0,easing:"easeOutQuint"},scaleX:.3,scaleY:.3,duration:this.options.outDuration,easing:"easeOutQuint",complete:function(t){e._resetDropdownStyles(),"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e,e.el)}})}},{key:"_placeDropdown",value:function(){var e=this.options.constrainWidth?this.el.getBoundingClientRect().width:this.dropdownEl.getBoundingClientRect().width;this.dropdownEl.style.width=e+"px";var t=this._getDropdownPosition();this.dropdownEl.style.left=t.x+"px",this.dropdownEl.style.top=t.y+"px",this.dropdownEl.style.height=t.height+"px",this.dropdownEl.style.width=t.width+"px",this.dropdownEl.style.transformOrigin=("left"===t.horizontalAlignment?"0":"100%")+" "+("top"===t.verticalAlignment?"0":"100%")}},{key:"open",value:function(){this.isOpen||(this.isOpen=!0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el),this._resetDropdownStyles(),this.dropdownEl.style.display="block",this._placeDropdown(),this._animateIn(),this._setupTemporaryEventHandlers())}},{key:"close",value:function(){this.isOpen&&(this.isOpen=!1,this.focusedIndex=-1,"function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,this.el),this._animateOut(),this._removeTemporaryEventHandlers(),this.options.autoFocus&&this.el.focus())}},{key:"recalculateDimensions",value:function(){this.isOpen&&(this.$dropdownEl.css({width:"",height:"",left:"",top:"","transform-origin":""}),this._placeDropdown())}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Dropdown}},{key:"defaults",get:function(){return i}}]),u}(u);n._dropdowns=[],M.Dropdown=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"dropdown","M_Dropdown")}(cash,M.anime),function(e,t){"use strict";var i={opacity:.5,inDuration:250,outDuration:250,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,preventScrolling:!0,dismissible:!0,startingTop:"4%",endingTop:"10%"},n=function(n){function u(t,i){l(this,u);var n=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_Modal=n,n.options=e.extend({},u.defaults,i),n.isOpen=!1,n.id=n.$el.attr("id"),n._openingTrigger=void 0,n.$overlay=e('<div class="modal-overlay"></div>'),n.el.tabIndex=0,n._nthModalOpened=0,u._count++,n._setupEventHandlers(),n}return r(u,n),o(u,[{key:"destroy",value:function(){u._count--,this._removeEventHandlers(),this.el.removeAttribute("style"),this.$overlay.remove(),this.el.M_Modal=void 0}},{key:"_setupEventHandlers",value:function(){this._handleOverlayClickBound=this._handleOverlayClick.bind(this),this._handleModalCloseClickBound=this._handleModalCloseClick.bind(this),1===u._count&&document.body.addEventListener("click",this._handleTriggerClick),this.$overlay[0].addEventListener("click",this._handleOverlayClickBound),this.el.addEventListener("click",this._handleModalCloseClickBound)}},{key:"_removeEventHandlers",value:function(){0===u._count&&document.body.removeEventListener("click",this._handleTriggerClick),this.$overlay[0].removeEventListener("click",this._handleOverlayClickBound),this.el.removeEventListener("click",this._handleModalCloseClickBound)}},{key:"_handleTriggerClick",value:function(t){var i=e(t.target).closest(".modal-trigger");if(i.length){var n=M.getIdFromTrigger(i[0]),s=document.getElementById(n).M_Modal;s&&s.open(i),t.preventDefault()}}},{key:"_handleOverlayClick",value:function(){this.options.dismissible&&this.close()}},{key:"_handleModalCloseClick",value:function(t){e(t.target).closest(".modal-close").length&&this.close()}},{key:"_handleKeydown",value:function(e){27===e.keyCode&&this.options.dismissible&&this.close()}},{key:"_handleFocus",value:function(e){this.el.contains(e.target)||this._nthModalOpened!==u._modalsOpen||this.el.focus()}},{key:"_animateIn",value:function(){var i=this;e.extend(this.el.style,{display:"block",opacity:0}),e.extend(this.$overlay[0].style,{display:"block",opacity:0}),t({targets:this.$overlay[0],opacity:this.options.opacity,duration:this.options.inDuration,easing:"easeOutQuad"});var n={targets:this.el,duration:this.options.inDuration,easing:"easeOutCubic",complete:function(){"function"==typeof i.options.onOpenEnd&&i.options.onOpenEnd.call(i,i.el,i._openingTrigger)}};this.el.classList.contains("bottom-sheet")?(e.extend(n,{bottom:0,opacity:1}),t(n)):(e.extend(n,{top:[this.options.startingTop,this.options.endingTop],opacity:1,scaleX:[.8,1],scaleY:[.8,1]}),t(n))}},{key:"_animateOut",value:function(){var i=this;t({targets:this.$overlay[0],opacity:0,duration:this.options.outDuration,easing:"easeOutQuart"});var n={targets:this.el,duration:this.options.outDuration,easing:"easeOutCubic",complete:function(){i.el.style.display="none",i.$overlay.remove(),"function"==typeof i.options.onCloseEnd&&i.options.onCloseEnd.call(i,i.el)}};this.el.classList.contains("bottom-sheet")?(e.extend(n,{bottom:"-100%",opacity:0}),t(n)):(e.extend(n,{top:[this.options.endingTop,this.options.startingTop],opacity:0,scaleX:.8,scaleY:.8}),t(n))}},{key:"open",value:function(e){if(!this.isOpen)return this.isOpen=!0,u._modalsOpen++,this._nthModalOpened=u._modalsOpen,this.$overlay[0].style.zIndex=1e3+2*u._modalsOpen,this.el.style.zIndex=1e3+2*u._modalsOpen+1,this._openingTrigger=e?e[0]:void 0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el,this._openingTrigger),this.options.preventScrolling&&(document.body.style.overflow="hidden"),this.el.classList.add("open"),this.el.insertAdjacentElement("afterend",this.$overlay[0]),this.options.dismissible&&(this._handleKeydownBound=this._handleKeydown.bind(this),this._handleFocusBound=this._handleFocus.bind(this),document.addEventListener("keydown",this._handleKeydownBound),document.addEventListener("focus",this._handleFocusBound,!0)),t.remove(this.el),t.remove(this.$overlay[0]),this._animateIn(),this.el.focus(),this}},{key:"close",value:function(){if(this.isOpen)return this.isOpen=!1,u._modalsOpen--,this._nthModalOpened=0,"function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,this.el),this.el.classList.remove("open"),0===u._modalsOpen&&(document.body.style.overflow=""),this.options.dismissible&&(document.removeEventListener("keydown",this._handleKeydownBound),document.removeEventListener("focus",this._handleFocusBound,!0)),t.remove(this.el),t.remove(this.$overlay[0]),this._animateOut(),this}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Modal}},{key:"defaults",get:function(){return i}}]),u}(u);n._modalsOpen=0,n._count=0,M.Modal=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"modal","M_Modal")}(cash,M.anime),function(e,t){"use strict";var i={inDuration:275,outDuration:200,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null},n=function(n){function u(t,i){l(this,u);var n=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_Materialbox=n,n.options=e.extend({},u.defaults,i),n.overlayActive=!1,n.doneAnimating=!0,n.placeholder=e("<div></div>").addClass("material-placeholder"),n.originalWidth=0,n.originalHeight=0,n.originInlineStyles=n.$el.attr("style"),n.caption=n.el.getAttribute("data-caption")||"",n.$el.before(n.placeholder),n.placeholder.append(n.$el),n._setupEventHandlers(),n}return r(u,n),o(u,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_Materialbox=void 0,e(this.placeholder).after(this.el).remove(),this.$el.removeAttr("style")}},{key:"_setupEventHandlers",value:function(){this._handleMaterialboxClickBound=this._handleMaterialboxClick.bind(this),this.el.addEventListener("click",this._handleMaterialboxClickBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleMaterialboxClickBound)}},{key:"_handleMaterialboxClick",value:function(e){!1===this.doneAnimating||this.overlayActive&&this.doneAnimating?this.close():this.open()}},{key:"_handleWindowScroll",value:function(){this.overlayActive&&this.close()}},{key:"_handleWindowResize",value:function(){this.overlayActive&&this.close()}},{key:"_handleWindowEscape",value:function(e){27===e.keyCode&&this.doneAnimating&&this.overlayActive&&this.close()}},{key:"_makeAncestorsOverflowVisible",value:function(){this.ancestorsChanged=e();for(var t=this.placeholder[0].parentNode;null!==t&&!e(t).is(document);){var i=e(t);"visible"!==i.css("overflow")&&(i.css("overflow","visible"),void 0===this.ancestorsChanged?this.ancestorsChanged=i:this.ancestorsChanged=this.ancestorsChanged.add(i)),t=t.parentNode}}},{key:"_animateImageIn",value:function(){var e=this,i={targets:this.el,height:[this.originalHeight,this.newHeight],width:[this.originalWidth,this.newWidth],left:M.getDocumentScrollLeft()+this.windowWidth/2-this.placeholder.offset().left-this.newWidth/2,top:M.getDocumentScrollTop()+this.windowHeight/2-this.placeholder.offset().top-this.newHeight/2,duration:this.options.inDuration,easing:"easeOutQuad",complete:function(){e.doneAnimating=!0,"function"==typeof e.options.onOpenEnd&&e.options.onOpenEnd.call(e,e.el)}};this.maxWidth=this.$el.css("max-width"),this.maxHeight=this.$el.css("max-height"),"none"!==this.maxWidth&&(i.maxWidth=this.newWidth),"none"!==this.maxHeight&&(i.maxHeight=this.newHeight),t(i)}},{key:"_animateImageOut",value:function(){var e=this,i={targets:this.el,width:this.originalWidth,height:this.originalHeight,left:0,top:0,duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){e.placeholder.css({height:"",width:"",position:"",top:"",left:""}),e.attrWidth&&e.$el.attr("width",e.attrWidth),e.attrHeight&&e.$el.attr("height",e.attrHeight),e.$el.removeAttr("style"),e.originInlineStyles&&e.$el.attr("style",e.originInlineStyles),e.$el.removeClass("active"),e.doneAnimating=!0,e.ancestorsChanged.length&&e.ancestorsChanged.css("overflow",""),"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e,e.el)}};t(i)}},{key:"_updateVars",value:function(){this.windowWidth=window.innerWidth,this.windowHeight=window.innerHeight,this.caption=this.el.getAttribute("data-caption")||""}},{key:"open",value:function(){var i=this;this._updateVars(),this.originalWidth=this.el.getBoundingClientRect().width,this.originalHeight=this.el.getBoundingClientRect().height,this.doneAnimating=!1,this.$el.addClass("active"),this.overlayActive=!0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el),this.placeholder.css({width:this.placeholder[0].getBoundingClientRect().width+"px",height:this.placeholder[0].getBoundingClientRect().height+"px",position:"relative",top:0,left:0}),this._makeAncestorsOverflowVisible(),this.$el.css({position:"absolute","z-index":1e3,"will-change":"left, top, width, height"}),this.attrWidth=this.$el.attr("width"),this.attrHeight=this.$el.attr("height"),this.attrWidth&&(this.$el.css("width",this.attrWidth+"px"),this.$el.removeAttr("width")),this.attrHeight&&(this.$el.css("width",this.attrHeight+"px"),this.$el.removeAttr("height")),this.$overlay=e('<div id="materialbox-overlay"></div>').css({opacity:0}).one("click",(function(){i.doneAnimating&&i.close()})),this.$el.before(this.$overlay);var n=this.$overlay[0].getBoundingClientRect();this.$overlay.css({width:this.windowWidth+"px",height:this.windowHeight+"px",left:-1*n.left+"px",top:-1*n.top+"px"}),t.remove(this.el),t.remove(this.$overlay[0]),t({targets:this.$overlay[0],opacity:1,duration:this.options.inDuration,easing:"easeOutQuad"}),""!==this.caption&&(this.$photocaption&&t.remove(this.$photoCaption[0]),this.$photoCaption=e('<div class="materialbox-caption"></div>'),this.$photoCaption.text(this.caption),e("body").append(this.$photoCaption),this.$photoCaption.css({display:"inline"}),t({targets:this.$photoCaption[0],opacity:1,duration:this.options.inDuration,easing:"easeOutQuad"}));var s=0,o=this.originalWidth/this.windowWidth,a=this.originalHeight/this.windowHeight;this.newWidth=0,this.newHeight=0,o>a?(s=this.originalHeight/this.originalWidth,this.newWidth=.9*this.windowWidth,this.newHeight=.9*this.windowWidth*s):(s=this.originalWidth/this.originalHeight,this.newWidth=.9*this.windowHeight*s,this.newHeight=.9*this.windowHeight),this._animateImageIn(),this._handleWindowScrollBound=this._handleWindowScroll.bind(this),this._handleWindowResizeBound=this._handleWindowResize.bind(this),this._handleWindowEscapeBound=this._handleWindowEscape.bind(this),window.addEventListener("scroll",this._handleWindowScrollBound),window.addEventListener("resize",this._handleWindowResizeBound),window.addEventListener("keyup",this._handleWindowEscapeBound)}},{key:"close",value:function(){var e=this;this._updateVars(),this.doneAnimating=!1,"function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,this.el),t.remove(this.el),t.remove(this.$overlay[0]),""!==this.caption&&t.remove(this.$photoCaption[0]),window.removeEventListener("scroll",this._handleWindowScrollBound),window.removeEventListener("resize",this._handleWindowResizeBound),window.removeEventListener("keyup",this._handleWindowEscapeBound),t({targets:this.$overlay[0],opacity:0,duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){e.overlayActive=!1,e.$overlay.remove()}}),this._animateImageOut(),""!==this.caption&&t({targets:this.$photoCaption[0],opacity:0,duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){e.$photoCaption.remove()}})}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Materialbox}},{key:"defaults",get:function(){return i}}]),u}(u);M.Materialbox=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"materialbox","M_Materialbox")}(cash,M.anime),function(e){"use strict";var t={responsiveThreshold:0},i=function(i){function n(t,i){l(this,n);var s=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_Parallax=s,s.options=e.extend({},n.defaults,i),s._enabled=window.innerWidth>s.options.responsiveThreshold,s.$img=s.$el.find("img").first(),s.$img.each((function(){this.complete&&e(this).trigger("load")})),s._updateParallax(),s._setupEventHandlers(),s._setupStyles(),n._parallaxes.push(s),s}return r(n,i),o(n,[{key:"destroy",value:function(){n._parallaxes.splice(n._parallaxes.indexOf(this),1),this.$img[0].style.transform="",this._removeEventHandlers(),this.$el[0].M_Parallax=void 0}},{key:"_setupEventHandlers",value:function(){this._handleImageLoadBound=this._handleImageLoad.bind(this),this.$img[0].addEventListener("load",this._handleImageLoadBound),0===n._parallaxes.length&&(n._handleScrollThrottled=M.throttle(n._handleScroll,5),window.addEventListener("scroll",n._handleScrollThrottled),n._handleWindowResizeThrottled=M.throttle(n._handleWindowResize,5),window.addEventListener("resize",n._handleWindowResizeThrottled))}},{key:"_removeEventHandlers",value:function(){this.$img[0].removeEventListener("load",this._handleImageLoadBound),0===n._parallaxes.length&&(window.removeEventListener("scroll",n._handleScrollThrottled),window.removeEventListener("resize",n._handleWindowResizeThrottled))}},{key:"_setupStyles",value:function(){this.$img[0].style.opacity=1}},{key:"_handleImageLoad",value:function(){this._updateParallax()}},{key:"_updateParallax",value:function(){var e=this.$el.height()>0?this.el.parentNode.offsetHeight:500,t=this.$img[0].offsetHeight-e,i=this.$el.offset().top+e,n=this.$el.offset().top,s=M.getDocumentScrollTop(),o=window.innerHeight,a=t*((s+o-n)/(e+o));this._enabled?i>s&&n<s+o&&(this.$img[0].style.transform="translate3D(-50%, "+a+"px, 0)"):this.$img[0].style.transform=""}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Parallax}},{key:"_handleScroll",value:function(){for(var e=0;e<n._parallaxes.length;e++){var t=n._parallaxes[e];t._updateParallax.call(t)}}},{key:"_handleWindowResize",value:function(){for(var e=0;e<n._parallaxes.length;e++){var t=n._parallaxes[e];t._enabled=window.innerWidth>t.options.responsiveThreshold}}},{key:"defaults",get:function(){return t}}]),n}(u);i._parallaxes=[],M.Parallax=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"parallax","M_Parallax")}(cash),function(e,t){"use strict";var i={duration:300,onShow:null,swipeable:!1,responsiveThreshold:1/0},n=function(n){function u(t,i){l(this,u);var n=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_Tabs=n,n.options=e.extend({},u.defaults,i),n.$tabLinks=n.$el.children("li.tab").children("a"),n.index=0,n._setupActiveTabLink(),n.options.swipeable?n._setupSwipeableTabs():n._setupNormalTabs(),n._setTabsAndTabWidth(),n._createIndicator(),n._setupEventHandlers(),n}return r(u,n),o(u,[{key:"destroy",value:function(){this._removeEventHandlers(),this._indicator.parentNode.removeChild(this._indicator),this.options.swipeable?this._teardownSwipeableTabs():this._teardownNormalTabs(),this.$el[0].M_Tabs=void 0}},{key:"_setupEventHandlers",value:function(){this._handleWindowResizeBound=this._handleWindowResize.bind(this),window.addEventListener("resize",this._handleWindowResizeBound),this._handleTabClickBound=this._handleTabClick.bind(this),this.el.addEventListener("click",this._handleTabClickBound)}},{key:"_removeEventHandlers",value:function(){window.removeEventListener("resize",this._handleWindowResizeBound),this.el.removeEventListener("click",this._handleTabClickBound)}},{key:"_handleWindowResize",value:function(){this._setTabsAndTabWidth(),0!==this.tabWidth&&0!==this.tabsWidth&&(this._indicator.style.left=this._calcLeftPos(this.$activeTabLink)+"px",this._indicator.style.right=this._calcRightPos(this.$activeTabLink)+"px")}},{key:"_handleTabClick",value:function(t){var i=this,n=e(t.target).closest("li.tab"),s=e(t.target).closest("a");if(s.length&&s.parent().hasClass("tab"))if(n.hasClass("disabled"))t.preventDefault();else if(!s.attr("target")){this.$activeTabLink.removeClass("active");var o=this.$content;this.$activeTabLink=s,this.$content=e(M.escapeHash(s[0].hash)),this.$tabLinks=this.$el.children("li.tab").children("a"),this.$activeTabLink.addClass("active");var a=this.index;this.index=Math.max(this.$tabLinks.index(s),0),this.options.swipeable?this._tabsCarousel&&this._tabsCarousel.set(this.index,(function(){"function"==typeof i.options.onShow&&i.options.onShow.call(i,i.$content[0])})):this.$content.length&&(this.$content[0].style.display="block",this.$content.addClass("active"),"function"==typeof this.options.onShow&&this.options.onShow.call(this,this.$content[0]),o.length&&!o.is(this.$content)&&(o[0].style.display="none",o.removeClass("active"))),this._setTabsAndTabWidth(),this._animateIndicator(a),t.preventDefault()}}},{key:"_createIndicator",value:function(){var e=this,t=document.createElement("li");t.classList.add("indicator"),this.el.appendChild(t),this._indicator=t,setTimeout((function(){e._indicator.style.left=e._calcLeftPos(e.$activeTabLink)+"px",e._indicator.style.right=e._calcRightPos(e.$activeTabLink)+"px"}),0)}},{key:"_setupActiveTabLink",value:function(){this.$activeTabLink=e(this.$tabLinks.filter('[href="'+location.hash+'"]')),0===this.$activeTabLink.length&&(this.$activeTabLink=this.$el.children("li.tab").children("a.active").first()),0===this.$activeTabLink.length&&(this.$activeTabLink=this.$el.children("li.tab").children("a").first()),this.$tabLinks.removeClass("active"),this.$activeTabLink[0].classList.add("active"),this.index=Math.max(this.$tabLinks.index(this.$activeTabLink),0),this.$activeTabLink.length&&(this.$content=e(M.escapeHash(this.$activeTabLink[0].hash)),this.$content.addClass("active"))}},{key:"_setupSwipeableTabs",value:function(){var t=this;window.innerWidth>this.options.responsiveThreshold&&(this.options.swipeable=!1);var i=e();this.$tabLinks.each((function(t){var n=e(M.escapeHash(t.hash));n.addClass("carousel-item"),i=i.add(n)}));var n=e('<div class="tabs-content carousel carousel-slider"></div>');i.first().before(n),n.append(i),i[0].style.display="";var s=this.$activeTabLink.closest(".tab").index();this._tabsCarousel=M.Carousel.init(n[0],{fullWidth:!0,noWrap:!0,onCycleTo:function(i){var n=t.index;t.index=e(i).index(),t.$activeTabLink.removeClass("active"),t.$activeTabLink=t.$tabLinks.eq(t.index),t.$activeTabLink.addClass("active"),t._animateIndicator(n),"function"==typeof t.options.onShow&&t.options.onShow.call(t,t.$content[0])}}),this._tabsCarousel.set(s)}},{key:"_teardownSwipeableTabs",value:function(){var e=this._tabsCarousel.$el;this._tabsCarousel.destroy(),e.after(e.children()),e.remove()}},{key:"_setupNormalTabs",value:function(){this.$tabLinks.not(this.$activeTabLink).each((function(t){if(t.hash){var i=e(M.escapeHash(t.hash));i.length&&(i[0].style.display="none")}}))}},{key:"_teardownNormalTabs",value:function(){this.$tabLinks.each((function(t){if(t.hash){var i=e(M.escapeHash(t.hash));i.length&&(i[0].style.display="")}}))}},{key:"_setTabsAndTabWidth",value:function(){this.tabsWidth=this.$el.width(),this.tabWidth=Math.max(this.tabsWidth,this.el.scrollWidth)/this.$tabLinks.length}},{key:"_calcRightPos",value:function(e){return Math.ceil(this.tabsWidth-e.position().left-e[0].getBoundingClientRect().width)}},{key:"_calcLeftPos",value:function(e){return Math.floor(e.position().left)}},{key:"updateTabIndicator",value:function(){this._setTabsAndTabWidth(),this._animateIndicator(this.index)}},{key:"_animateIndicator",value:function(e){var i=0,n=0;this.index-e>=0?i=90:n=90;var s={targets:this._indicator,left:{value:this._calcLeftPos(this.$activeTabLink),delay:i},right:{value:this._calcRightPos(this.$activeTabLink),delay:n},duration:this.options.duration,easing:"easeOutQuad"};t.remove(this._indicator),t(s)}},{key:"select",value:function(e){var t=this.$tabLinks.filter('[href="#'+e+'"]');t.length&&t.trigger("click")}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Tabs}},{key:"defaults",get:function(){return i}}]),u}(u);M.Tabs=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"tabs","M_Tabs")}(cash,M.anime),function(e,t){"use strict";var i={exitDelay:200,enterDelay:0,html:null,margin:5,inDuration:250,outDuration:200,position:"bottom",transitionMovement:10},n=function(n){function u(t,i){l(this,u);var n=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_Tooltip=n,n.options=e.extend({},u.defaults,i),n.isOpen=!1,n.isHovered=!1,n.isFocused=!1,n._appendTooltipEl(),n._setupEventHandlers(),n}return r(u,n),o(u,[{key:"destroy",value:function(){e(this.tooltipEl).remove(),this._removeEventHandlers(),this.el.M_Tooltip=void 0}},{key:"_appendTooltipEl",value:function(){var e=document.createElement("div");e.classList.add("material-tooltip"),this.tooltipEl=e;var t=document.createElement("div");t.classList.add("tooltip-content"),t.innerHTML=this.options.html,e.appendChild(t),document.body.appendChild(e)}},{key:"_updateTooltipContent",value:function(){this.tooltipEl.querySelector(".tooltip-content").innerHTML=this.options.html}},{key:"_setupEventHandlers",value:function(){this._handleMouseEnterBound=this._handleMouseEnter.bind(this),this._handleMouseLeaveBound=this._handleMouseLeave.bind(this),this._handleFocusBound=this._handleFocus.bind(this),this._handleBlurBound=this._handleBlur.bind(this),this.el.addEventListener("mouseenter",this._handleMouseEnterBound),this.el.addEventListener("mouseleave",this._handleMouseLeaveBound),this.el.addEventListener("focus",this._handleFocusBound,!0),this.el.addEventListener("blur",this._handleBlurBound,!0)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("mouseenter",this._handleMouseEnterBound),this.el.removeEventListener("mouseleave",this._handleMouseLeaveBound),this.el.removeEventListener("focus",this._handleFocusBound,!0),this.el.removeEventListener("blur",this._handleBlurBound,!0)}},{key:"open",value:function(t){this.isOpen||(t=void 0===t||void 0,this.isOpen=!0,this.options=e.extend({},this.options,this._getAttributeOptions()),this._updateTooltipContent(),this._setEnterDelayTimeout(t))}},{key:"close",value:function(){this.isOpen&&(this.isHovered=!1,this.isFocused=!1,this.isOpen=!1,this._setExitDelayTimeout())}},{key:"_setExitDelayTimeout",value:function(){var e=this;clearTimeout(this._exitDelayTimeout),this._exitDelayTimeout=setTimeout((function(){e.isHovered||e.isFocused||e._animateOut()}),this.options.exitDelay)}},{key:"_setEnterDelayTimeout",value:function(e){var t=this;clearTimeout(this._enterDelayTimeout),this._enterDelayTimeout=setTimeout((function(){(t.isHovered||t.isFocused||e)&&t._animateIn()}),this.options.enterDelay)}},{key:"_positionTooltip",value:function(){var t,i=this.el,n=this.tooltipEl,s=i.offsetHeight,o=i.offsetWidth,a=n.offsetHeight,r=n.offsetWidth,l=this.options.margin,u=void 0,d=void 0;this.xMovement=0,this.yMovement=0,u=i.getBoundingClientRect().top+M.getDocumentScrollTop(),d=i.getBoundingClientRect().left+M.getDocumentScrollLeft(),"top"===this.options.position?(u+=-a-l,d+=o/2-r/2,this.yMovement=-this.options.transitionMovement):"right"===this.options.position?(u+=s/2-a/2,d+=o+l,this.xMovement=this.options.transitionMovement):"left"===this.options.position?(u+=s/2-a/2,d+=-r-l,this.xMovement=-this.options.transitionMovement):(u+=s+l,d+=o/2-r/2,this.yMovement=this.options.transitionMovement),t=this._repositionWithinScreen(d,u,r,a),e(n).css({top:t.y+"px",left:t.x+"px"})}},{key:"_repositionWithinScreen",value:function(e,t,i,n){var s=M.getDocumentScrollLeft(),o=M.getDocumentScrollTop(),a=e-s,r=t-o,l={left:a,top:r,width:i,height:n},u=this.options.margin+this.options.transitionMovement,d=M.checkWithinContainer(document.body,l,u);return d.left?a=u:d.right&&(a-=a+i-window.innerWidth),d.top?r=u:d.bottom&&(r-=r+n-window.innerHeight),{x:a+s,y:r+o}}},{key:"_animateIn",value:function(){this._positionTooltip(),this.tooltipEl.style.visibility="visible",t.remove(this.tooltipEl),t({targets:this.tooltipEl,opacity:1,translateX:this.xMovement,translateY:this.yMovement,duration:this.options.inDuration,easing:"easeOutCubic"})}},{key:"_animateOut",value:function(){t.remove(this.tooltipEl),t({targets:this.tooltipEl,opacity:0,translateX:0,translateY:0,duration:this.options.outDuration,easing:"easeOutCubic"})}},{key:"_handleMouseEnter",value:function(){this.isHovered=!0,this.isFocused=!1,this.open(!1)}},{key:"_handleMouseLeave",value:function(){this.isHovered=!1,this.isFocused=!1,this.close()}},{key:"_handleFocus",value:function(){M.tabPressed&&(this.isFocused=!0,this.open(!1))}},{key:"_handleBlur",value:function(){this.isFocused=!1,this.close()}},{key:"_getAttributeOptions",value:function(){var e={},t=this.el.getAttribute("data-tooltip"),i=this.el.getAttribute("data-position");return t&&(e.html=t),i&&(e.position=i),e}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Tooltip}},{key:"defaults",get:function(){return i}}]),u}(u);M.Tooltip=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"tooltip","M_Tooltip")}(cash,M.anime),function(e){"use strict";var t=t||{},i=document.querySelectorAll.bind(document);function n(e){var t="";for(var i in e)e.hasOwnProperty(i)&&(t+=i+":"+e[i]+";");return t}var s={duration:750,show:function(e,t){if(2===e.button)return!1;var i=t||this,o=document.createElement("div");o.className="waves-ripple",i.appendChild(o);var a,r,l,u,d,c=(u={top:0,left:0},d=(a=i)&&a.ownerDocument,r=d.documentElement,void 0!==a.getBoundingClientRect&&(u=a.getBoundingClientRect()),l=function(e){return null!==(t=e)&&t===t.window?e:9===e.nodeType&&e.defaultView;var t}(d),{top:u.top+l.pageYOffset-r.clientTop,left:u.left+l.pageXOffset-r.clientLeft}),h=e.pageY-c.top,p=e.pageX-c.left,v="scale("+i.clientWidth/100*10+")";"touches"in e&&(h=e.touches[0].pageY-c.top,p=e.touches[0].pageX-c.left),o.setAttribute("data-hold",Date.now()),o.setAttribute("data-scale",v),o.setAttribute("data-x",p),o.setAttribute("data-y",h);var _={top:h+"px",left:p+"px"};o.className=o.className+" waves-notransition",o.setAttribute("style",n(_)),o.className=o.className.replace("waves-notransition",""),_["-webkit-transform"]=v,_["-moz-transform"]=v,_["-ms-transform"]=v,_["-o-transform"]=v,_.transform=v,_.opacity="1",_["-webkit-transition-duration"]=s.duration+"ms",_["-moz-transition-duration"]=s.duration+"ms",_["-o-transition-duration"]=s.duration+"ms",_["transition-duration"]=s.duration+"ms",_["-webkit-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",_["-moz-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",_["-o-transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",_["transition-timing-function"]="cubic-bezier(0.250, 0.460, 0.450, 0.940)",o.setAttribute("style",n(_))},hide:function(e){o.touchup(e);var t=this,i=(t.clientWidth,null),a=t.getElementsByClassName("waves-ripple");if(!(a.length>0))return!1;var r=(i=a[a.length-1]).getAttribute("data-x"),l=i.getAttribute("data-y"),u=i.getAttribute("data-scale"),d=350-(Date.now()-Number(i.getAttribute("data-hold")));d<0&&(d=0),setTimeout((function(){var e={top:l+"px",left:r+"px",opacity:"0","-webkit-transition-duration":s.duration+"ms","-moz-transition-duration":s.duration+"ms","-o-transition-duration":s.duration+"ms","transition-duration":s.duration+"ms","-webkit-transform":u,"-moz-transform":u,"-ms-transform":u,"-o-transform":u,transform:u};i.setAttribute("style",n(e)),setTimeout((function(){try{t.removeChild(i)}catch(e){return!1}}),s.duration)}),d)},wrapInput:function(e){for(var t=0;t<e.length;t++){var i=e[t];if("input"===i.tagName.toLowerCase()){var n=i.parentNode;if("i"===n.tagName.toLowerCase()&&-1!==n.className.indexOf("waves-effect"))continue;var s=document.createElement("i");s.className=i.className+" waves-input-wrapper";var o=i.getAttribute("style");o||(o=""),s.setAttribute("style",o),i.className="waves-button-input",i.removeAttribute("style"),n.replaceChild(s,i),s.appendChild(i)}}}},o={touches:0,allowEvent:function(e){var t=!0;return"touchstart"===e.type?o.touches+=1:"touchend"===e.type||"touchcancel"===e.type?setTimeout((function(){o.touches>0&&(o.touches-=1)}),500):"mousedown"===e.type&&o.touches>0&&(t=!1),t},touchup:function(e){o.allowEvent(e)}};function a(t){var i=function(e){if(!1===o.allowEvent(e))return null;for(var t=null,i=e.target||e.srcElement;null!==i.parentNode;){if(!(i instanceof SVGElement)&&-1!==i.className.indexOf("waves-effect")){t=i;break}i=i.parentNode}return t}(t);null!==i&&(s.show(t,i),"ontouchstart"in e&&(i.addEventListener("touchend",s.hide,!1),i.addEventListener("touchcancel",s.hide,!1)),i.addEventListener("mouseup",s.hide,!1),i.addEventListener("mouseleave",s.hide,!1),i.addEventListener("dragend",s.hide,!1))}t.displayEffect=function(t){"duration"in(t=t||{})&&(s.duration=t.duration),s.wrapInput(i(".waves-effect")),"ontouchstart"in e&&document.body.addEventListener("touchstart",a,!1),document.body.addEventListener("mousedown",a,!1)},t.attach=function(t){"input"===t.tagName.toLowerCase()&&(s.wrapInput([t]),t=t.parentNode),"ontouchstart"in e&&t.addEventListener("touchstart",a,!1),t.addEventListener("mousedown",a,!1)},e.Waves=t,document.addEventListener("DOMContentLoaded",(function(){t.displayEffect()}),!1)}(window),function(e,t){"use strict";var i={html:"",displayLength:4e3,inDuration:300,outDuration:375,classes:"",completeCallback:null,activationPercent:.8},n=function(){function n(t){l(this,n),this.options=e.extend({},n.defaults,t),this.message=this.options.html,this.panning=!1,this.timeRemaining=this.options.displayLength,0===n._toasts.length&&n._createContainer(),n._toasts.push(this);var i=this._createToast();i.M_Toast=this,this.el=i,this.$el=e(i),this._animateIn(),this._setTimer()}return o(n,[{key:"_createToast",value:function(){var t=document.createElement("div");return t.classList.add("toast"),this.options.classes.length&&e(t).addClass(this.options.classes),("object"==typeof HTMLElement?this.message instanceof HTMLElement:this.message&&"object"==typeof this.message&&null!==this.message&&1===this.message.nodeType&&"string"==typeof this.message.nodeName)?t.appendChild(this.message):this.message.jquery?e(t).append(this.message[0]):t.innerHTML=this.message,n._container.appendChild(t),t}},{key:"_animateIn",value:function(){t({targets:this.el,top:0,opacity:1,duration:this.options.inDuration,easing:"easeOutCubic"})}},{key:"_setTimer",value:function(){var e=this;this.timeRemaining!==1/0&&(this.counterInterval=setInterval((function(){e.panning||(e.timeRemaining-=20),e.timeRemaining<=0&&e.dismiss()}),20))}},{key:"dismiss",value:function(){var e=this;window.clearInterval(this.counterInterval);var i=this.el.offsetWidth*this.options.activationPercent;this.wasSwiped&&(this.el.style.transition="transform .05s, opacity .05s",this.el.style.transform="translateX("+i+"px)",this.el.style.opacity=0),t({targets:this.el,opacity:0,marginTop:-40,duration:this.options.outDuration,easing:"easeOutExpo",complete:function(){"function"==typeof e.options.completeCallback&&e.options.completeCallback(),e.$el.remove(),n._toasts.splice(n._toasts.indexOf(e),1),0===n._toasts.length&&n._removeContainer()}})}}],[{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Toast}},{key:"_createContainer",value:function(){var e=document.createElement("div");e.setAttribute("id","toast-container"),e.addEventListener("touchstart",n._onDragStart),e.addEventListener("touchmove",n._onDragMove),e.addEventListener("touchend",n._onDragEnd),e.addEventListener("mousedown",n._onDragStart),document.addEventListener("mousemove",n._onDragMove),document.addEventListener("mouseup",n._onDragEnd),document.body.appendChild(e),n._container=e}},{key:"_removeContainer",value:function(){document.removeEventListener("mousemove",n._onDragMove),document.removeEventListener("mouseup",n._onDragEnd),e(n._container).remove(),n._container=null}},{key:"_onDragStart",value:function(t){if(t.target&&e(t.target).closest(".toast").length){var i=e(t.target).closest(".toast")[0].M_Toast;i.panning=!0,n._draggedToast=i,i.el.classList.add("panning"),i.el.style.transition="",i.startingXPos=n._xPos(t),i.time=Date.now(),i.xPos=n._xPos(t)}}},{key:"_onDragMove",value:function(e){if(n._draggedToast){e.preventDefault();var t=n._draggedToast;t.deltaX=Math.abs(t.xPos-n._xPos(e)),t.xPos=n._xPos(e),t.velocityX=t.deltaX/(Date.now()-t.time),t.time=Date.now();var i=t.xPos-t.startingXPos,s=t.el.offsetWidth*t.options.activationPercent;t.el.style.transform="translateX("+i+"px)",t.el.style.opacity=1-Math.abs(i/s)}}},{key:"_onDragEnd",value:function(){if(n._draggedToast){var e=n._draggedToast;e.panning=!1,e.el.classList.remove("panning");var t=e.xPos-e.startingXPos,i=e.el.offsetWidth*e.options.activationPercent;Math.abs(t)>i||e.velocityX>1?(e.wasSwiped=!0,e.dismiss()):(e.el.style.transition="transform .2s, opacity .2s",e.el.style.transform="",e.el.style.opacity=""),n._draggedToast=null}}},{key:"_xPos",value:function(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}},{key:"dismissAll",value:function(){for(var e in n._toasts)n._toasts[e].dismiss()}},{key:"defaults",get:function(){return i}}]),n}();n._toasts=[],n._container=null,n._draggedToast=null,M.Toast=n,M.toast=function(e){return new n(e)}}(cash,M.anime),function(e,t){"use strict";var i={edge:"left",draggable:!0,inDuration:250,outDuration:200,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,preventScrolling:!0},n=function(n){function u(t,i){l(this,u);var n=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_Sidenav=n,n.id=n.$el.attr("id"),n.options=e.extend({},u.defaults,i),n.isOpen=!1,n.isFixed=n.el.classList.contains("sidenav-fixed"),n.isDragged=!1,n.lastWindowWidth=window.innerWidth,n.lastWindowHeight=window.innerHeight,n._createOverlay(),n._createDragTarget(),n._setupEventHandlers(),n._setupClasses(),n._setupFixed(),u._sidenavs.push(n),n}return r(u,n),o(u,[{key:"destroy",value:function(){this._removeEventHandlers(),this._enableBodyScrolling(),this._overlay.parentNode.removeChild(this._overlay),this.dragTarget.parentNode.removeChild(this.dragTarget),this.el.M_Sidenav=void 0,this.el.style.transform="";var e=u._sidenavs.indexOf(this);e>=0&&u._sidenavs.splice(e,1)}},{key:"_createOverlay",value:function(){var e=document.createElement("div");this._closeBound=this.close.bind(this),e.classList.add("sidenav-overlay"),e.addEventListener("click",this._closeBound),document.body.appendChild(e),this._overlay=e}},{key:"_setupEventHandlers",value:function(){0===u._sidenavs.length&&document.body.addEventListener("click",this._handleTriggerClick),this._handleDragTargetDragBound=this._handleDragTargetDrag.bind(this),this._handleDragTargetReleaseBound=this._handleDragTargetRelease.bind(this),this._handleCloseDragBound=this._handleCloseDrag.bind(this),this._handleCloseReleaseBound=this._handleCloseRelease.bind(this),this._handleCloseTriggerClickBound=this._handleCloseTriggerClick.bind(this),this.dragTarget.addEventListener("touchmove",this._handleDragTargetDragBound),this.dragTarget.addEventListener("touchend",this._handleDragTargetReleaseBound),this._overlay.addEventListener("touchmove",this._handleCloseDragBound),this._overlay.addEventListener("touchend",this._handleCloseReleaseBound),this.el.addEventListener("touchmove",this._handleCloseDragBound),this.el.addEventListener("touchend",this._handleCloseReleaseBound),this.el.addEventListener("click",this._handleCloseTriggerClickBound),this.isFixed&&(this._handleWindowResizeBound=this._handleWindowResize.bind(this),window.addEventListener("resize",this._handleWindowResizeBound))}},{key:"_removeEventHandlers",value:function(){1===u._sidenavs.length&&document.body.removeEventListener("click",this._handleTriggerClick),this.dragTarget.removeEventListener("touchmove",this._handleDragTargetDragBound),this.dragTarget.removeEventListener("touchend",this._handleDragTargetReleaseBound),this._overlay.removeEventListener("touchmove",this._handleCloseDragBound),this._overlay.removeEventListener("touchend",this._handleCloseReleaseBound),this.el.removeEventListener("touchmove",this._handleCloseDragBound),this.el.removeEventListener("touchend",this._handleCloseReleaseBound),this.el.removeEventListener("click",this._handleCloseTriggerClickBound),this.isFixed&&window.removeEventListener("resize",this._handleWindowResizeBound)}},{key:"_handleTriggerClick",value:function(t){var i=e(t.target).closest(".sidenav-trigger");if(t.target&&i.length){var n=M.getIdFromTrigger(i[0]),s=document.getElementById(n).M_Sidenav;s&&s.open(i),t.preventDefault()}}},{key:"_startDrag",value:function(e){var i=e.targetTouches[0].clientX;this.isDragged=!0,this._startingXpos=i,this._xPos=this._startingXpos,this._time=Date.now(),this._width=this.el.getBoundingClientRect().width,this._overlay.style.display="block",this._initialScrollTop=this.isOpen?this.el.scrollTop:M.getDocumentScrollTop(),this._verticallyScrolling=!1,t.remove(this.el),t.remove(this._overlay)}},{key:"_dragMoveUpdate",value:function(e){var t=e.targetTouches[0].clientX,i=this.isOpen?this.el.scrollTop:M.getDocumentScrollTop();this.deltaX=Math.abs(this._xPos-t),this._xPos=t,this.velocityX=this.deltaX/(Date.now()-this._time),this._time=Date.now(),this._initialScrollTop!==i&&(this._verticallyScrolling=!0)}},{key:"_handleDragTargetDrag",value:function(e){if(this.options.draggable&&!this._isCurrentlyFixed()&&!this._verticallyScrolling){this.isDragged||this._startDrag(e),this._dragMoveUpdate(e);var t=this._xPos-this._startingXpos,i=t>0?"right":"left";t=Math.min(this._width,Math.abs(t)),this.options.edge===i&&(t=0);var n=t,s="translateX(-100%)";"right"===this.options.edge&&(s="translateX(100%)",n=-n),this.percentOpen=Math.min(1,t/this._width),this.el.style.transform=s+" translateX("+n+"px)",this._overlay.style.opacity=this.percentOpen}}},{key:"_handleDragTargetRelease",value:function(){this.isDragged&&(this.percentOpen>.2?this.open():this._animateOut(),this.isDragged=!1,this._verticallyScrolling=!1)}},{key:"_handleCloseDrag",value:function(e){if(this.isOpen){if(!this.options.draggable||this._isCurrentlyFixed()||this._verticallyScrolling)return;this.isDragged||this._startDrag(e),this._dragMoveUpdate(e);var t=this._xPos-this._startingXpos,i=t>0?"right":"left";t=Math.min(this._width,Math.abs(t)),this.options.edge!==i&&(t=0);var n=-t;"right"===this.options.edge&&(n=-n),this.percentOpen=Math.min(1,1-t/this._width),this.el.style.transform="translateX("+n+"px)",this._overlay.style.opacity=this.percentOpen}}},{key:"_handleCloseRelease",value:function(){this.isOpen&&this.isDragged&&(this.percentOpen>.8?this._animateIn():this.close(),this.isDragged=!1,this._verticallyScrolling=!1)}},{key:"_handleCloseTriggerClick",value:function(t){e(t.target).closest(".sidenav-close").length&&!this._isCurrentlyFixed()&&this.close()}},{key:"_handleWindowResize",value:function(){this.lastWindowWidth!==window.innerWidth&&(window.innerWidth>992?this.open():this.close()),this.lastWindowWidth=window.innerWidth,this.lastWindowHeight=window.innerHeight}},{key:"_setupClasses",value:function(){"right"===this.options.edge&&(this.el.classList.add("right-aligned"),this.dragTarget.classList.add("right-aligned"))}},{key:"_removeClasses",value:function(){this.el.classList.remove("right-aligned"),this.dragTarget.classList.remove("right-aligned")}},{key:"_setupFixed",value:function(){this._isCurrentlyFixed()&&this.open()}},{key:"_isCurrentlyFixed",value:function(){return this.isFixed&&window.innerWidth>992}},{key:"_createDragTarget",value:function(){var e=document.createElement("div");e.classList.add("drag-target"),document.body.appendChild(e),this.dragTarget=e}},{key:"_preventBodyScrolling",value:function(){document.body.style.overflow="hidden"}},{key:"_enableBodyScrolling",value:function(){document.body.style.overflow=""}},{key:"open",value:function(){!0!==this.isOpen&&(this.isOpen=!0,"function"==typeof this.options.onOpenStart&&this.options.onOpenStart.call(this,this.el),this._isCurrentlyFixed()?(t.remove(this.el),t({targets:this.el,translateX:0,duration:0,easing:"easeOutQuad"}),this._enableBodyScrolling(),this._overlay.style.display="none"):(this.options.preventScrolling&&this._preventBodyScrolling(),this.isDragged&&1==this.percentOpen||this._animateIn()))}},{key:"close",value:function(){if(!1!==this.isOpen)if(this.isOpen=!1,"function"==typeof this.options.onCloseStart&&this.options.onCloseStart.call(this,this.el),this._isCurrentlyFixed()){var e="left"===this.options.edge?"-105%":"105%";this.el.style.transform="translateX("+e+")"}else this._enableBodyScrolling(),this.isDragged&&0==this.percentOpen?this._overlay.style.display="none":this._animateOut()}},{key:"_animateIn",value:function(){this._animateSidenavIn(),this._animateOverlayIn()}},{key:"_animateSidenavIn",value:function(){var e=this,i="left"===this.options.edge?-1:1;this.isDragged&&(i="left"===this.options.edge?i+this.percentOpen:i-this.percentOpen),t.remove(this.el),t({targets:this.el,translateX:[100*i+"%",0],duration:this.options.inDuration,easing:"easeOutQuad",complete:function(){"function"==typeof e.options.onOpenEnd&&e.options.onOpenEnd.call(e,e.el)}})}},{key:"_animateOverlayIn",value:function(){var i=0;this.isDragged?i=this.percentOpen:e(this._overlay).css({display:"block"}),t.remove(this._overlay),t({targets:this._overlay,opacity:[i,1],duration:this.options.inDuration,easing:"easeOutQuad"})}},{key:"_animateOut",value:function(){this._animateSidenavOut(),this._animateOverlayOut()}},{key:"_animateSidenavOut",value:function(){var e=this,i="left"===this.options.edge?-1:1,n=0;this.isDragged&&(n="left"===this.options.edge?i+this.percentOpen:i-this.percentOpen),t.remove(this.el),t({targets:this.el,translateX:[100*n+"%",105*i+"%"],duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e,e.el)}})}},{key:"_animateOverlayOut",value:function(){var i=this;t.remove(this._overlay),t({targets:this._overlay,opacity:0,duration:this.options.outDuration,easing:"easeOutQuad",complete:function(){e(i._overlay).css("display","none")}})}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Sidenav}},{key:"defaults",get:function(){return i}}]),u}(u);n._sidenavs=[],M.Sidenav=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"sidenav","M_Sidenav")}(cash,M.anime),function(e,t){"use strict";var i={throttle:100,scrollOffset:200,activeClass:"active",getActiveElement:function(e){return'a[href="#'+e+'"]'}},n=function(n){function u(t,i){l(this,u);var n=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_ScrollSpy=n,n.options=e.extend({},u.defaults,i),u._elements.push(n),u._count++,u._increment++,n.tickId=-1,n.id=u._increment,n._setupEventHandlers(),n._handleWindowScroll(),n}return r(u,n),o(u,[{key:"destroy",value:function(){u._elements.splice(u._elements.indexOf(this),1),u._elementsInView.splice(u._elementsInView.indexOf(this),1),u._visibleElements.splice(u._visibleElements.indexOf(this.$el),1),u._count--,this._removeEventHandlers(),e(this.options.getActiveElement(this.$el.attr("id"))).removeClass(this.options.activeClass),this.el.M_ScrollSpy=void 0}},{key:"_setupEventHandlers",value:function(){var e=M.throttle(this._handleWindowScroll,200);this._handleThrottledResizeBound=e.bind(this),this._handleWindowScrollBound=this._handleWindowScroll.bind(this),1===u._count&&(window.addEventListener("scroll",this._handleWindowScrollBound),window.addEventListener("resize",this._handleThrottledResizeBound),document.body.addEventListener("click",this._handleTriggerClick))}},{key:"_removeEventHandlers",value:function(){0===u._count&&(window.removeEventListener("scroll",this._handleWindowScrollBound),window.removeEventListener("resize",this._handleThrottledResizeBound),document.body.removeEventListener("click",this._handleTriggerClick))}},{key:"_handleTriggerClick",value:function(i){for(var n=e(i.target),s=u._elements.length-1;s>=0;s--){var o=u._elements[s];if(n.is('a[href="#'+o.$el.attr("id")+'"]')){i.preventDefault();var a=o.$el.offset().top+1;t({targets:[document.documentElement,document.body],scrollTop:a-o.options.scrollOffset,duration:400,easing:"easeOutCubic"});break}}}},{key:"_handleWindowScroll",value:function(){u._ticks++;for(var e=M.getDocumentScrollTop(),t=M.getDocumentScrollLeft(),i=t+window.innerWidth,n=e+window.innerHeight,s=u._findElements(e,i,n,t),o=0;o<s.length;o++){var a=s[o];a.tickId<0&&a._enter(),a.tickId=u._ticks}for(var r=0;r<u._elementsInView.length;r++){var l=u._elementsInView[r],d=l.tickId;d>=0&&d!==u._ticks&&(l._exit(),l.tickId=-1)}u._elementsInView=s}},{key:"_enter",value:function(){u._visibleElements=u._visibleElements.filter((function(e){return 0!=e.height()})),u._visibleElements[0]?(e(this.options.getActiveElement(u._visibleElements[0].attr("id"))).removeClass(this.options.activeClass),u._visibleElements[0][0].M_ScrollSpy&&this.id<u._visibleElements[0][0].M_ScrollSpy.id?u._visibleElements.unshift(this.$el):u._visibleElements.push(this.$el)):u._visibleElements.push(this.$el),e(this.options.getActiveElement(u._visibleElements[0].attr("id"))).addClass(this.options.activeClass)}},{key:"_exit",value:function(){var t=this;u._visibleElements=u._visibleElements.filter((function(e){return 0!=e.height()})),u._visibleElements[0]&&(e(this.options.getActiveElement(u._visibleElements[0].attr("id"))).removeClass(this.options.activeClass),u._visibleElements=u._visibleElements.filter((function(e){return e.attr("id")!=t.$el.attr("id")})),u._visibleElements[0]&&e(this.options.getActiveElement(u._visibleElements[0].attr("id"))).addClass(this.options.activeClass))}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_ScrollSpy}},{key:"_findElements",value:function(e,t,i,n){for(var s=[],o=0;o<u._elements.length;o++){var a=u._elements[o],r=e+a.options.scrollOffset||200;if(a.$el.height()>0){var l=a.$el.offset().top,d=a.$el.offset().left,c=d+a.$el.width(),h=l+a.$el.height();!(d>t||c<n||l>i||h<r)&&s.push(a)}}return s}},{key:"defaults",get:function(){return i}}]),u}(u);n._elements=[],n._elementsInView=[],n._visibleElements=[],n._count=0,n._increment=0,n._ticks=0,M.ScrollSpy=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"scrollSpy","M_ScrollSpy")}(cash,M.anime),function(e){"use strict";var t={data:{},limit:1/0,onAutocomplete:null,minLength:1,sortFunction:function(e,t,i){return e.indexOf(i)-t.indexOf(i)}},i=function(i){function n(t,i){l(this,n);var s=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_Autocomplete=s,s.options=e.extend({},n.defaults,i),s.isOpen=!1,s.count=0,s.activeIndex=-1,s.oldVal,s.$inputField=s.$el.closest(".input-field"),s.$active=e(),s._mousedown=!1,s._setupDropdown(),s._setupEventHandlers(),s}return r(n,i),o(n,[{key:"destroy",value:function(){this._removeEventHandlers(),this._removeDropdown(),this.el.M_Autocomplete=void 0}},{key:"_setupEventHandlers",value:function(){this._handleInputBlurBound=this._handleInputBlur.bind(this),this._handleInputKeyupAndFocusBound=this._handleInputKeyupAndFocus.bind(this),this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),this._handleContainerMousedownAndTouchstartBound=this._handleContainerMousedownAndTouchstart.bind(this),this._handleContainerMouseupAndTouchendBound=this._handleContainerMouseupAndTouchend.bind(this),this.el.addEventListener("blur",this._handleInputBlurBound),this.el.addEventListener("keyup",this._handleInputKeyupAndFocusBound),this.el.addEventListener("focus",this._handleInputKeyupAndFocusBound),this.el.addEventListener("keydown",this._handleInputKeydownBound),this.el.addEventListener("click",this._handleInputClickBound),this.container.addEventListener("mousedown",this._handleContainerMousedownAndTouchstartBound),this.container.addEventListener("mouseup",this._handleContainerMouseupAndTouchendBound),void 0!==window.ontouchstart&&(this.container.addEventListener("touchstart",this._handleContainerMousedownAndTouchstartBound),this.container.addEventListener("touchend",this._handleContainerMouseupAndTouchendBound))}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("blur",this._handleInputBlurBound),this.el.removeEventListener("keyup",this._handleInputKeyupAndFocusBound),this.el.removeEventListener("focus",this._handleInputKeyupAndFocusBound),this.el.removeEventListener("keydown",this._handleInputKeydownBound),this.el.removeEventListener("click",this._handleInputClickBound),this.container.removeEventListener("mousedown",this._handleContainerMousedownAndTouchstartBound),this.container.removeEventListener("mouseup",this._handleContainerMouseupAndTouchendBound),void 0!==window.ontouchstart&&(this.container.removeEventListener("touchstart",this._handleContainerMousedownAndTouchstartBound),this.container.removeEventListener("touchend",this._handleContainerMouseupAndTouchendBound))}},{key:"_setupDropdown",value:function(){var t=this;this.container=document.createElement("ul"),this.container.id="autocomplete-options-"+M.guid(),e(this.container).addClass("autocomplete-content dropdown-content"),this.$inputField.append(this.container),this.el.setAttribute("data-target",this.container.id),this.dropdown=M.Dropdown.init(this.el,{autoFocus:!1,closeOnClick:!1,coverTrigger:!1,onItemClick:function(i){t.selectOption(e(i))}}),this.el.removeEventListener("click",this.dropdown._handleClickBound)}},{key:"_removeDropdown",value:function(){this.container.parentNode.removeChild(this.container)}},{key:"_handleInputBlur",value:function(){this._mousedown||(this.close(),this._resetAutocomplete())}},{key:"_handleInputKeyupAndFocus",value:function(e){"keyup"===e.type&&(n._keydown=!1),this.count=0;var t=this.el.value.toLowerCase();13!==e.keyCode&&38!==e.keyCode&&40!==e.keyCode&&(this.oldVal===t||!M.tabPressed&&"focus"===e.type||this.open(),this.oldVal=t)}},{key:"_handleInputKeydown",value:function(t){n._keydown=!0;var i=t.keyCode,s=void 0,o=e(this.container).children("li").length;i===M.keys.ENTER&&this.activeIndex>=0?(s=e(this.container).children("li").eq(this.activeIndex)).length&&(this.selectOption(s),t.preventDefault()):i!==M.keys.ARROW_UP&&i!==M.keys.ARROW_DOWN||(t.preventDefault(),i===M.keys.ARROW_UP&&this.activeIndex>0&&this.activeIndex--,i===M.keys.ARROW_DOWN&&this.activeIndex<o-1&&this.activeIndex++,this.$active.removeClass("active"),this.activeIndex>=0&&(this.$active=e(this.container).children("li").eq(this.activeIndex),this.$active.addClass("active")))}},{key:"_handleInputClick",value:function(e){this.open()}},{key:"_handleContainerMousedownAndTouchstart",value:function(e){this._mousedown=!0}},{key:"_handleContainerMouseupAndTouchend",value:function(e){this._mousedown=!1}},{key:"_highlight",value:function(e,t){var i=t.find("img"),n=t.text().toLowerCase().indexOf(""+e.toLowerCase()),s=n+e.length-1,o=t.text().slice(0,n),a=t.text().slice(n,s+1),r=t.text().slice(s+1);t.html("<span>"+o+"<span class='highlight'>"+a+"</span>"+r+"</span>"),i.length&&t.prepend(i)}},{key:"_resetCurrentElement",value:function(){this.activeIndex=-1,this.$active.removeClass("active")}},{key:"_resetAutocomplete",value:function(){e(this.container).empty(),this._resetCurrentElement(),this.oldVal=null,this.isOpen=!1,this._mousedown=!1}},{key:"selectOption",value:function(e){var t=e.text().trim();this.el.value=t,this.$el.trigger("change"),this._resetAutocomplete(),this.close(),"function"==typeof this.options.onAutocomplete&&this.options.onAutocomplete.call(this,t)}},{key:"_renderDropdown",value:function(t,i){var n=this;this._resetAutocomplete();var s=[];for(var o in t)if(t.hasOwnProperty(o)&&-1!==o.toLowerCase().indexOf(i)){if(this.count>=this.options.limit)break;var a={data:t[o],key:o};s.push(a),this.count++}if(this.options.sortFunction){s.sort((function(e,t){return n.options.sortFunction(e.key.toLowerCase(),t.key.toLowerCase(),i.toLowerCase())}))}for(var r=0;r<s.length;r++){var l=s[r],u=e("<li></li>");l.data?u.append('<img src="'+l.data+'" class="right circle"><span>'+l.key+"</span>"):u.append("<span>"+l.key+"</span>"),e(this.container).append(u),this._highlight(i,u)}}},{key:"open",value:function(){var e=this.el.value.toLowerCase();this._resetAutocomplete(),e.length>=this.options.minLength&&(this.isOpen=!0,this._renderDropdown(this.options.data,e)),this.dropdown.isOpen?this.dropdown.recalculateDimensions():this.dropdown.open()}},{key:"close",value:function(){this.dropdown.close()}},{key:"updateData",value:function(e){var t=this.el.value.toLowerCase();this.options.data=e,this.isOpen&&this._renderDropdown(e,t)}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Autocomplete}},{key:"defaults",get:function(){return t}}]),n}(u);i._keydown=!1,M.Autocomplete=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"autocomplete","M_Autocomplete")}(cash),function(e){M.updateTextFields=function(){e("input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], input[type=date], input[type=time], textarea").each((function(t,i){var n=e(this);t.value.length>0||e(t).is(":focus")||t.autofocus||null!==n.attr("placeholder")?n.siblings("label").addClass("active"):t.validity?n.siblings("label").toggleClass("active",!0===t.validity.badInput):n.siblings("label").removeClass("active")}))},M.validate_field=function(e){var t=null!==e.attr("data-length"),i=parseInt(e.attr("data-length")),n=e[0].value.length;0!==n||!1!==e[0].validity.badInput||e.is(":required")?e.hasClass("validate")&&(e.is(":valid")&&t&&n<=i||e.is(":valid")&&!t?(e.removeClass("invalid"),e.addClass("valid")):(e.removeClass("valid"),e.addClass("invalid"))):e.hasClass("validate")&&(e.removeClass("valid"),e.removeClass("invalid"))},M.textareaAutoResize=function(t){if(t instanceof Element&&(t=e(t)),t.length){var i=e(".hiddendiv").first();i.length||(i=e('<div class="hiddendiv common"></div>'),e("body").append(i));var n=t.css("font-family"),s=t.css("font-size"),o=t.css("line-height"),a=t.css("padding-top"),r=t.css("padding-right"),l=t.css("padding-bottom"),u=t.css("padding-left");s&&i.css("font-size",s),n&&i.css("font-family",n),o&&i.css("line-height",o),a&&i.css("padding-top",a),r&&i.css("padding-right",r),l&&i.css("padding-bottom",l),u&&i.css("padding-left",u),t.data("original-height")||t.data("original-height",t.height()),"off"===t.attr("wrap")&&i.css("overflow-wrap","normal").css("white-space","pre"),i.text(t[0].value+"\n");var d=i.html().replace(/\n/g,"<br>");i.html(d),t[0].offsetWidth>0&&t[0].offsetHeight>0?i.css("width",t.width()+"px"):i.css("width",window.innerWidth/2+"px"),t.data("original-height")<=i.innerHeight()?t.css("height",i.innerHeight()+"px"):t[0].value.length<t.data("previous-length")&&t.css("height",t.data("original-height")+"px"),t.data("previous-length",t[0].value.length)}else console.error("No textarea element found")},e(document).ready((function(){var t="input[type=text], input[type=password], input[type=email], input[type=url], input[type=tel], input[type=number], input[type=search], input[type=date], input[type=time], textarea";e(document).on("change",t,(function(){0===this.value.length&&null===e(this).attr("placeholder")||e(this).siblings("label").addClass("active"),M.validate_field(e(this))})),e(document).ready((function(){M.updateTextFields()})),e(document).on("reset",(function(i){var n=e(i.target);n.is("form")&&(n.find(t).removeClass("valid").removeClass("invalid"),n.find(t).each((function(t){this.value.length&&e(this).siblings("label").removeClass("active")})),setTimeout((function(){n.find("select").each((function(){this.M_FormSelect&&e(this).trigger("change")}))}),0))})),document.addEventListener("focus",(function(i){e(i.target).is(t)&&e(i.target).siblings("label, .prefix").addClass("active")}),!0),document.addEventListener("blur",(function(i){var n=e(i.target);if(n.is(t)){var s=".prefix";0===n[0].value.length&&!0!==n[0].validity.badInput&&null===n.attr("placeholder")&&(s+=", label"),n.siblings(s).removeClass("active"),M.validate_field(n)}}),!0);e(document).on("keyup","input[type=radio], input[type=checkbox]",(function(t){if(t.which===M.keys.TAB)return e(this).addClass("tabbed"),void e(this).one("blur",(function(t){e(this).removeClass("tabbed")}))}));var i=".materialize-textarea";e(i).each((function(){var t=e(this);t.data("original-height",t.height()),t.data("previous-length",this.value.length),M.textareaAutoResize(t)})),e(document).on("keyup",i,(function(){M.textareaAutoResize(e(this))})),e(document).on("keydown",i,(function(){M.textareaAutoResize(e(this))})),e(document).on("change",'.file-field input[type="file"]',(function(){for(var t=e(this).closest(".file-field").find("input.file-path"),i=e(this)[0].files,n=[],s=0;s<i.length;s++)n.push(i[s].name);t[0].value=n.join(", "),t.trigger("change")}))}))}(cash),function(e,t){"use strict";var i={indicators:!0,height:400,duration:500,interval:6e3},n=function(n){function u(i,n){l(this,u);var s=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,i,n));return s.el.M_Slider=s,s.options=e.extend({},u.defaults,n),s.$slider=s.$el.find(".slides"),s.$slides=s.$slider.children("li"),s.activeIndex=s.$slides.filter((function(t){return e(t).hasClass("active")})).first().index(),-1!=s.activeIndex&&(s.$active=s.$slides.eq(s.activeIndex)),s._setSliderHeight(),s.$slides.find(".caption").each((function(e){s._animateCaptionIn(e,0)})),s.$slides.find("img").each((function(t){var i="data:image/gif;base64,R0lGODlhAQABAIABAP///wAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==";e(t).attr("src")!==i&&(e(t).css("background-image",'url("'+e(t).attr("src")+'")'),e(t).attr("src",i))})),s._setupIndicators(),s.$active?s.$active.css("display","block"):(s.$slides.first().addClass("active"),t({targets:s.$slides.first()[0],opacity:1,duration:s.options.duration,easing:"easeOutQuad"}),s.activeIndex=0,s.$active=s.$slides.eq(s.activeIndex),s.options.indicators&&s.$indicators.eq(s.activeIndex).addClass("active")),s.$active.find("img").each((function(e){t({targets:s.$active.find(".caption")[0],opacity:1,translateX:0,translateY:0,duration:s.options.duration,easing:"easeOutQuad"})})),s._setupEventHandlers(),s.start(),s}return r(u,n),o(u,[{key:"destroy",value:function(){this.pause(),this._removeIndicators(),this._removeEventHandlers(),this.el.M_Slider=void 0}},{key:"_setupEventHandlers",value:function(){var e=this;this._handleIntervalBound=this._handleInterval.bind(this),this._handleIndicatorClickBound=this._handleIndicatorClick.bind(this),this.options.indicators&&this.$indicators.each((function(t){t.addEventListener("click",e._handleIndicatorClickBound)}))}},{key:"_removeEventHandlers",value:function(){var e=this;this.options.indicators&&this.$indicators.each((function(t){t.removeEventListener("click",e._handleIndicatorClickBound)}))}},{key:"_handleIndicatorClick",value:function(t){var i=e(t.target).index();this.set(i)}},{key:"_handleInterval",value:function(){var e=this.$slider.find(".active").index();this.$slides.length===e+1?e=0:e+=1,this.set(e)}},{key:"_animateCaptionIn",value:function(i,n){var s={targets:i,opacity:0,duration:n,easing:"easeOutQuad"};e(i).hasClass("center-align")?s.translateY=-100:e(i).hasClass("right-align")?s.translateX=100:e(i).hasClass("left-align")&&(s.translateX=-100),t(s)}},{key:"_setSliderHeight",value:function(){this.$el.hasClass("fullscreen")||(this.options.indicators?this.$el.css("height",this.options.height+40+"px"):this.$el.css("height",this.options.height+"px"),this.$slider.css("height",this.options.height+"px"))}},{key:"_setupIndicators",value:function(){var t=this;this.options.indicators&&(this.$indicators=e('<ul class="indicators"></ul>'),this.$slides.each((function(i,n){var s=e('<li class="indicator-item"></li>');t.$indicators.append(s[0])})),this.$el.append(this.$indicators[0]),this.$indicators=this.$indicators.children("li.indicator-item"))}},{key:"_removeIndicators",value:function(){this.$el.find("ul.indicators").remove()}},{key:"set",value:function(e){var i=this;if(e>=this.$slides.length?e=0:e<0&&(e=this.$slides.length-1),this.activeIndex!=e){this.$active=this.$slides.eq(this.activeIndex);var n=this.$active.find(".caption");this.$active.removeClass("active"),t({targets:this.$active[0],opacity:0,duration:this.options.duration,easing:"easeOutQuad",complete:function(){i.$slides.not(".active").each((function(e){t({targets:e,opacity:0,translateX:0,translateY:0,duration:0,easing:"easeOutQuad"})}))}}),this._animateCaptionIn(n[0],this.options.duration),this.options.indicators&&(this.$indicators.eq(this.activeIndex).removeClass("active"),this.$indicators.eq(e).addClass("active")),t({targets:this.$slides.eq(e)[0],opacity:1,duration:this.options.duration,easing:"easeOutQuad"}),t({targets:this.$slides.eq(e).find(".caption")[0],opacity:1,translateX:0,translateY:0,duration:this.options.duration,delay:this.options.duration,easing:"easeOutQuad"}),this.$slides.eq(e).addClass("active"),this.activeIndex=e,this.start()}}},{key:"pause",value:function(){clearInterval(this.interval)}},{key:"start",value:function(){clearInterval(this.interval),this.interval=setInterval(this._handleIntervalBound,this.options.duration+this.options.interval)}},{key:"next",value:function(){var e=this.activeIndex+1;e>=this.$slides.length?e=0:e<0&&(e=this.$slides.length-1),this.set(e)}},{key:"prev",value:function(){var e=this.activeIndex-1;e>=this.$slides.length?e=0:e<0&&(e=this.$slides.length-1),this.set(e)}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Slider}},{key:"defaults",get:function(){return i}}]),u}(u);M.Slider=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"slider","M_Slider")}(cash,M.anime),function(e,t){e(document).on("click",".card",(function(i){if(e(this).children(".card-reveal").length){var n=e(i.target).closest(".card");void 0===n.data("initialOverflow")&&n.data("initialOverflow",void 0===n.css("overflow")?"":n.css("overflow"));var s=e(this).find(".card-reveal");e(i.target).is(e(".card-reveal .card-title"))||e(i.target).is(e(".card-reveal .card-title i"))?t({targets:s[0],translateY:0,duration:225,easing:"easeInOutQuad",complete:function(t){var i=t.animatables[0].target;e(i).css({display:"none"}),n.css("overflow",n.data("initialOverflow"))}}):(e(i.target).is(e(".card .activator"))||e(i.target).is(e(".card .activator i")))&&(n.css("overflow","hidden"),s.css({display:"block"}),t({targets:s[0],translateY:"-100%",duration:300,easing:"easeInOutQuad"}))}}))}(cash,M.anime),function(e){"use strict";var t={data:[],placeholder:"",secondaryPlaceholder:"",autocompleteOptions:{},limit:1/0,onChipAdd:null,onChipSelect:null,onChipDelete:null},i=function(i){function n(t,i){l(this,n);var s=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_Chips=s,s.options=e.extend({},n.defaults,i),s.$el.addClass("chips input-field"),s.chipsData=[],s.$chips=e(),s._setupInput(),s.hasAutocomplete=Object.keys(s.options.autocompleteOptions).length>0,s.$input.attr("id")||s.$input.attr("id",M.guid()),s.options.data.length&&(s.chipsData=s.options.data,s._renderChips(s.chipsData)),s.hasAutocomplete&&s._setupAutocomplete(),s._setPlaceholder(),s._setupLabel(),s._setupEventHandlers(),s}return r(n,i),o(n,[{key:"getData",value:function(){return this.chipsData}},{key:"destroy",value:function(){this._removeEventHandlers(),this.$chips.remove(),this.el.M_Chips=void 0}},{key:"_setupEventHandlers",value:function(){this._handleChipClickBound=this._handleChipClick.bind(this),this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputFocusBound=this._handleInputFocus.bind(this),this._handleInputBlurBound=this._handleInputBlur.bind(this),this.el.addEventListener("click",this._handleChipClickBound),document.addEventListener("keydown",n._handleChipsKeydown),document.addEventListener("keyup",n._handleChipsKeyup),this.el.addEventListener("blur",n._handleChipsBlur,!0),this.$input[0].addEventListener("focus",this._handleInputFocusBound),this.$input[0].addEventListener("blur",this._handleInputBlurBound),this.$input[0].addEventListener("keydown",this._handleInputKeydownBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleChipClickBound),document.removeEventListener("keydown",n._handleChipsKeydown),document.removeEventListener("keyup",n._handleChipsKeyup),this.el.removeEventListener("blur",n._handleChipsBlur,!0),this.$input[0].removeEventListener("focus",this._handleInputFocusBound),this.$input[0].removeEventListener("blur",this._handleInputBlurBound),this.$input[0].removeEventListener("keydown",this._handleInputKeydownBound)}},{key:"_handleChipClick",value:function(t){var i=e(t.target).closest(".chip"),n=e(t.target).is(".close");if(i.length){var s=i.index();n?(this.deleteChip(s),this.$input[0].focus()):this.selectChip(s)}else this.$input[0].focus()}},{key:"_handleInputFocus",value:function(){this.$el.addClass("focus")}},{key:"_handleInputBlur",value:function(){this.$el.removeClass("focus")}},{key:"_handleInputKeydown",value:function(e){if(n._keydown=!0,13===e.keyCode){if(this.hasAutocomplete&&this.autocomplete&&this.autocomplete.isOpen)return;e.preventDefault(),this.addChip({tag:this.$input[0].value}),this.$input[0].value=""}else 8!==e.keyCode&&37!==e.keyCode||""!==this.$input[0].value||!this.chipsData.length||(e.preventDefault(),this.selectChip(this.chipsData.length-1))}},{key:"_renderChip",value:function(t){if(t.tag){var i=document.createElement("div"),n=document.createElement("i");if(i.classList.add("chip"),i.textContent=t.tag,i.setAttribute("tabindex",0),e(n).addClass("material-icons close"),n.textContent="close",t.image){var s=document.createElement("img");s.setAttribute("src",t.image),i.insertBefore(s,i.firstChild)}return i.appendChild(n),i}}},{key:"_renderChips",value:function(){this.$chips.remove();for(var e=0;e<this.chipsData.length;e++){var t=this._renderChip(this.chipsData[e]);this.$el.append(t),this.$chips.add(t)}this.$el.append(this.$input[0])}},{key:"_setupAutocomplete",value:function(){var e=this;this.options.autocompleteOptions.onAutocomplete=function(t){e.addChip({tag:t}),e.$input[0].value="",e.$input[0].focus()},this.autocomplete=M.Autocomplete.init(this.$input[0],this.options.autocompleteOptions)}},{key:"_setupInput",value:function(){this.$input=this.$el.find("input"),this.$input.length||(this.$input=e("<input></input>"),this.$el.append(this.$input)),this.$input.addClass("input")}},{key:"_setupLabel",value:function(){this.$label=this.$el.find("label"),this.$label.length&&this.$label.setAttribute("for",this.$input.attr("id"))}},{key:"_setPlaceholder",value:function(){void 0!==this.chipsData&&!this.chipsData.length&&this.options.placeholder?e(this.$input).prop("placeholder",this.options.placeholder):(void 0===this.chipsData||this.chipsData.length)&&this.options.secondaryPlaceholder&&e(this.$input).prop("placeholder",this.options.secondaryPlaceholder)}},{key:"_isValid",value:function(e){if(e.hasOwnProperty("tag")&&""!==e.tag){for(var t=!1,i=0;i<this.chipsData.length;i++)if(this.chipsData[i].tag===e.tag){t=!0;break}return!t}return!1}},{key:"addChip",value:function(t){if(this._isValid(t)&&!(this.chipsData.length>=this.options.limit)){var i=this._renderChip(t);this.$chips.add(i),this.chipsData.push(t),e(this.$input).before(i),this._setPlaceholder(),"function"==typeof this.options.onChipAdd&&this.options.onChipAdd.call(this,this.$el,i)}}},{key:"deleteChip",value:function(t){var i=this.$chips.eq(t);this.$chips.eq(t).remove(),this.$chips=this.$chips.filter((function(t){return e(t).index()>=0})),this.chipsData.splice(t,1),this._setPlaceholder(),"function"==typeof this.options.onChipDelete&&this.options.onChipDelete.call(this,this.$el,i[0])}},{key:"selectChip",value:function(e){var t=this.$chips.eq(e);this._selectedChip=t,t[0].focus(),"function"==typeof this.options.onChipSelect&&this.options.onChipSelect.call(this,this.$el,t[0])}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Chips}},{key:"_handleChipsKeydown",value:function(t){n._keydown=!0;var i=e(t.target).closest(".chips"),s=t.target&&i.length;if(!e(t.target).is("input, textarea")&&s){var o=i[0].M_Chips;if(8===t.keyCode||46===t.keyCode){t.preventDefault();var a=o.chipsData.length;if(o._selectedChip){var r=o._selectedChip.index();o.deleteChip(r),o._selectedChip=null,a=Math.max(r-1,0)}o.chipsData.length&&o.selectChip(a)}else if(37===t.keyCode){if(o._selectedChip){var l=o._selectedChip.index()-1;if(l<0)return;o.selectChip(l)}}else if(39===t.keyCode&&o._selectedChip){var u=o._selectedChip.index()+1;u>=o.chipsData.length?o.$input[0].focus():o.selectChip(u)}}}},{key:"_handleChipsKeyup",value:function(e){n._keydown=!1}},{key:"_handleChipsBlur",value:function(t){n._keydown||(e(t.target).closest(".chips")[0].M_Chips._selectedChip=null)}},{key:"defaults",get:function(){return t}}]),n}(u);i._keydown=!1,M.Chips=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"chips","M_Chips"),e(document).ready((function(){e(document.body).on("click",".chip .close",(function(){var t=e(this).closest(".chips");t.length&&t[0].M_Chips||e(this).closest(".chip").remove()}))}))}(cash),function(e){"use strict";var t={top:0,bottom:1/0,offset:0,onPositionChange:null},i=function(i){function n(t,i){l(this,n);var s=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_Pushpin=s,s.options=e.extend({},n.defaults,i),s.originalOffset=s.el.offsetTop,n._pushpins.push(s),s._setupEventHandlers(),s._updatePosition(),s}return r(n,i),o(n,[{key:"destroy",value:function(){this.el.style.top=null,this._removePinClasses(),this._removeEventHandlers();var e=n._pushpins.indexOf(this);n._pushpins.splice(e,1)}},{key:"_setupEventHandlers",value:function(){document.addEventListener("scroll",n._updateElements)}},{key:"_removeEventHandlers",value:function(){document.removeEventListener("scroll",n._updateElements)}},{key:"_updatePosition",value:function(){var e=M.getDocumentScrollTop()+this.options.offset;this.options.top<=e&&this.options.bottom>=e&&!this.el.classList.contains("pinned")&&(this._removePinClasses(),this.el.style.top=this.options.offset+"px",this.el.classList.add("pinned"),"function"==typeof this.options.onPositionChange&&this.options.onPositionChange.call(this,"pinned")),e<this.options.top&&!this.el.classList.contains("pin-top")&&(this._removePinClasses(),this.el.style.top=0,this.el.classList.add("pin-top"),"function"==typeof this.options.onPositionChange&&this.options.onPositionChange.call(this,"pin-top")),e>this.options.bottom&&!this.el.classList.contains("pin-bottom")&&(this._removePinClasses(),this.el.classList.add("pin-bottom"),this.el.style.top=this.options.bottom-this.originalOffset+"px","function"==typeof this.options.onPositionChange&&this.options.onPositionChange.call(this,"pin-bottom"))}},{key:"_removePinClasses",value:function(){this.el.classList.remove("pin-top"),this.el.classList.remove("pinned"),this.el.classList.remove("pin-bottom")}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Pushpin}},{key:"_updateElements",value:function(){for(var e in n._pushpins){n._pushpins[e]._updatePosition()}}},{key:"defaults",get:function(){return t}}]),n}(u);i._pushpins=[],M.Pushpin=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"pushpin","M_Pushpin")}(cash),function(e,t){"use strict";var i={direction:"top",hoverEnabled:!0,toolbarEnabled:!1};e.fn.reverse=[].reverse;var n=function(n){function u(t,i){l(this,u);var n=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_FloatingActionButton=n,n.options=e.extend({},u.defaults,i),n.isOpen=!1,n.$anchor=n.$el.children("a").first(),n.$menu=n.$el.children("ul").first(),n.$floatingBtns=n.$el.find("ul .btn-floating"),n.$floatingBtnsReverse=n.$el.find("ul .btn-floating").reverse(),n.offsetY=0,n.offsetX=0,n.$el.addClass("direction-"+n.options.direction),"top"===n.options.direction?n.offsetY=40:"right"===n.options.direction?n.offsetX=-40:"bottom"===n.options.direction?n.offsetY=-40:n.offsetX=40,n._setupEventHandlers(),n}return r(u,n),o(u,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_FloatingActionButton=void 0}},{key:"_setupEventHandlers",value:function(){this._handleFABClickBound=this._handleFABClick.bind(this),this._handleOpenBound=this.open.bind(this),this._handleCloseBound=this.close.bind(this),this.options.hoverEnabled&&!this.options.toolbarEnabled?(this.el.addEventListener("mouseenter",this._handleOpenBound),this.el.addEventListener("mouseleave",this._handleCloseBound)):this.el.addEventListener("click",this._handleFABClickBound)}},{key:"_removeEventHandlers",value:function(){this.options.hoverEnabled&&!this.options.toolbarEnabled?(this.el.removeEventListener("mouseenter",this._handleOpenBound),this.el.removeEventListener("mouseleave",this._handleCloseBound)):this.el.removeEventListener("click",this._handleFABClickBound)}},{key:"_handleFABClick",value:function(){this.isOpen?this.close():this.open()}},{key:"_handleDocumentClick",value:function(t){e(t.target).closest(this.$menu).length||this.close()}},{key:"open",value:function(){this.isOpen||(this.options.toolbarEnabled?this._animateInToolbar():this._animateInFAB(),this.isOpen=!0)}},{key:"close",value:function(){this.isOpen&&(this.options.toolbarEnabled?(window.removeEventListener("scroll",this._handleCloseBound,!0),document.body.removeEventListener("click",this._handleDocumentClickBound,!0),this._animateOutToolbar()):this._animateOutFAB(),this.isOpen=!1)}},{key:"_animateInFAB",value:function(){var e=this;this.$el.addClass("active");var i=0;this.$floatingBtnsReverse.each((function(n){t({targets:n,opacity:1,scale:[.4,1],translateY:[e.offsetY,0],translateX:[e.offsetX,0],duration:275,delay:i,easing:"easeInOutQuad"}),i+=40}))}},{key:"_animateOutFAB",value:function(){var e=this;this.$floatingBtnsReverse.each((function(i){t.remove(i),t({targets:i,opacity:0,scale:.4,translateY:e.offsetY,translateX:e.offsetX,duration:175,easing:"easeOutQuad",complete:function(){e.$el.removeClass("active")}})}))}},{key:"_animateInToolbar",value:function(){var t,i=this,n=window.innerWidth,s=window.innerHeight,o=this.el.getBoundingClientRect(),a=e('<div class="fab-backdrop"></div>'),r=this.$anchor.css("background-color");this.$anchor.append(a),this.offsetX=o.left-n/2+o.width/2,this.offsetY=s-o.bottom,t=n/a[0].clientWidth,this.btnBottom=o.bottom,this.btnLeft=o.left,this.btnWidth=o.width,this.$el.addClass("active"),this.$el.css({"text-align":"center",width:"100%",bottom:0,left:0,transform:"translateX("+this.offsetX+"px)",transition:"none"}),this.$anchor.css({transform:"translateY("+-this.offsetY+"px)",transition:"none"}),a.css({"background-color":r}),setTimeout((function(){i.$el.css({transform:"",transition:"transform .2s cubic-bezier(0.550, 0.085, 0.680, 0.530), background-color 0s linear .2s"}),i.$anchor.css({overflow:"visible",transform:"",transition:"transform .2s"}),setTimeout((function(){i.$el.css({overflow:"hidden","background-color":r}),a.css({transform:"scale("+t+")",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"}),i.$menu.children("li").children("a").css({opacity:1}),i._handleDocumentClickBound=i._handleDocumentClick.bind(i),window.addEventListener("scroll",i._handleCloseBound,!0),document.body.addEventListener("click",i._handleDocumentClickBound,!0)}),100)}),0)}},{key:"_animateOutToolbar",value:function(){var e=this,t=window.innerWidth,i=window.innerHeight,n=this.$el.find(".fab-backdrop"),s=this.$anchor.css("background-color");this.offsetX=this.btnLeft-t/2+this.btnWidth/2,this.offsetY=i-this.btnBottom,this.$el.removeClass("active"),this.$el.css({"background-color":"transparent",transition:"none"}),this.$anchor.css({transition:"none"}),n.css({transform:"scale(0)","background-color":s}),this.$menu.children("li").children("a").css({opacity:""}),setTimeout((function(){n.remove(),e.$el.css({"text-align":"",width:"",bottom:"",left:"",overflow:"","background-color":"",transform:"translate3d("+-e.offsetX+"px,0,0)"}),e.$anchor.css({overflow:"",transform:"translate3d(0,"+e.offsetY+"px,0)"}),setTimeout((function(){e.$el.css({transform:"translate3d(0,0,0)",transition:"transform .2s"}),e.$anchor.css({transform:"translate3d(0,0,0)",transition:"transform .2s cubic-bezier(0.550, 0.055, 0.675, 0.190)"})}),20)}),200)}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_FloatingActionButton}},{key:"defaults",get:function(){return i}}]),u}(u);M.FloatingActionButton=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"floatingActionButton","M_FloatingActionButton")}(cash,M.anime),function(e){"use strict";var t={autoClose:!1,format:"mmm dd, yyyy",parse:null,defaultDate:null,setDefaultDate:!1,disableWeekends:!1,disableDayFn:null,firstDay:0,minDate:null,maxDate:null,yearRange:10,minYear:0,maxYear:9999,minMonth:void 0,maxMonth:void 0,startRange:null,endRange:null,isRTL:!1,showMonthAfterYear:!1,showDaysInNextAndPreviousMonths:!1,container:null,showClearBtn:!1,i18n:{cancel:"Cancel",clear:"Clear",done:"Ok",previousMonth:"‹",nextMonth:"›",months:["January","February","March","April","May","June","July","August","September","October","November","December"],monthsShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],weekdaysShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],weekdaysAbbrev:["S","M","T","W","T","F","S"]},events:[],onSelect:null,onOpen:null,onClose:null,onDraw:null},i=function(i){function n(t,i){l(this,n);var s=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));s.el.M_Datepicker=s,s.options=e.extend({},n.defaults,i),i&&i.hasOwnProperty("i18n")&&"object"==typeof i.i18n&&(s.options.i18n=e.extend({},n.defaults.i18n,i.i18n)),s.options.minDate&&s.options.minDate.setHours(0,0,0,0),s.options.maxDate&&s.options.maxDate.setHours(0,0,0,0),s.id=M.guid(),s._setupVariables(),s._insertHTMLIntoDOM(),s._setupModal(),s._setupEventHandlers(),s.options.defaultDate||(s.options.defaultDate=new Date(Date.parse(s.el.value)));var o=s.options.defaultDate;return n._isDate(o)?s.options.setDefaultDate?(s.setDate(o,!0),s.setInputValue()):s.gotoDate(o):s.gotoDate(new Date),s.isOpen=!1,s}return r(n,i),o(n,[{key:"destroy",value:function(){this._removeEventHandlers(),this.modal.destroy(),e(this.modalEl).remove(),this.destroySelects(),this.el.M_Datepicker=void 0}},{key:"destroySelects",value:function(){var e=this.calendarEl.querySelector(".orig-select-year");e&&M.FormSelect.getInstance(e).destroy();var t=this.calendarEl.querySelector(".orig-select-month");t&&M.FormSelect.getInstance(t).destroy()}},{key:"_insertHTMLIntoDOM",value:function(){this.options.showClearBtn&&(e(this.clearBtn).css({visibility:""}),this.clearBtn.innerHTML=this.options.i18n.clear),this.doneBtn.innerHTML=this.options.i18n.done,this.cancelBtn.innerHTML=this.options.i18n.cancel,this.options.container?this.$modalEl.appendTo(this.options.container):this.$modalEl.insertBefore(this.el)}},{key:"_setupModal",value:function(){var e=this;this.modalEl.id="modal-"+this.id,this.modal=M.Modal.init(this.modalEl,{onCloseEnd:function(){e.isOpen=!1}})}},{key:"toString",value:function(e){var t=this;return e=e||this.options.format,n._isDate(this.date)?e.split(/(d{1,4}|m{1,4}|y{4}|yy|!.)/g).map((function(e){return t.formats[e]?t.formats[e]():e})).join(""):""}},{key:"setDate",value:function(e,t){if(!e)return this.date=null,this._renderDateDisplay(),this.draw();if("string"==typeof e&&(e=new Date(Date.parse(e))),n._isDate(e)){var i=this.options.minDate,s=this.options.maxDate;n._isDate(i)&&e<i?e=i:n._isDate(s)&&e>s&&(e=s),this.date=new Date(e.getTime()),this._renderDateDisplay(),n._setToStartOfDay(this.date),this.gotoDate(this.date),t||"function"!=typeof this.options.onSelect||this.options.onSelect.call(this,this.date)}}},{key:"setInputValue",value:function(){this.el.value=this.toString(),this.$el.trigger("change",{firedBy:this})}},{key:"_renderDateDisplay",value:function(){var e=n._isDate(this.date)?this.date:new Date,t=this.options.i18n,i=t.weekdaysShort[e.getDay()],s=t.monthsShort[e.getMonth()],o=e.getDate();this.yearTextEl.innerHTML=e.getFullYear(),this.dateTextEl.innerHTML=i+", "+s+" "+o}},{key:"gotoDate",value:function(e){var t=!0;if(n._isDate(e)){if(this.calendars){var i=new Date(this.calendars[0].year,this.calendars[0].month,1),s=new Date(this.calendars[this.calendars.length-1].year,this.calendars[this.calendars.length-1].month,1),o=e.getTime();s.setMonth(s.getMonth()+1),s.setDate(s.getDate()-1),t=o<i.getTime()||s.getTime()<o}t&&(this.calendars=[{month:e.getMonth(),year:e.getFullYear()}]),this.adjustCalendars()}}},{key:"adjustCalendars",value:function(){this.calendars[0]=this.adjustCalendar(this.calendars[0]),this.draw()}},{key:"adjustCalendar",value:function(e){return e.month<0&&(e.year-=Math.ceil(Math.abs(e.month)/12),e.month+=12),e.month>11&&(e.year+=Math.floor(Math.abs(e.month)/12),e.month-=12),e}},{key:"nextMonth",value:function(){this.calendars[0].month++,this.adjustCalendars()}},{key:"prevMonth",value:function(){this.calendars[0].month--,this.adjustCalendars()}},{key:"render",value:function(e,t,i){var s=this.options,o=new Date,a=n._getDaysInMonth(e,t),r=new Date(e,t,1).getDay(),l=[],u=[];n._setToStartOfDay(o),s.firstDay>0&&(r-=s.firstDay)<0&&(r+=7);for(var d=0===t?11:t-1,c=11===t?0:t+1,h=0===t?e-1:e,p=11===t?e+1:e,v=n._getDaysInMonth(h,d),_=a+r,f=_;f>7;)f-=7;_+=7-f;for(var m=!1,y=0,g=0;y<_;y++){var b=new Date(e,t,y-r+1),k=!!n._isDate(this.date)&&n._compareDates(b,this.date),w=n._compareDates(b,o),C=-1!==s.events.indexOf(b.toDateString()),x=y<r||y>=a+r,E=y-r+1,M=t,j=e,T=s.startRange&&n._compareDates(s.startRange,b),O=s.endRange&&n._compareDates(s.endRange,b),L=s.startRange&&s.endRange&&s.startRange<b&&b<s.endRange;x&&(y<r?(E=v+E,M=d,j=h):(E-=a,M=c,j=p));var D={day:E,month:M,year:j,hasEvent:C,isSelected:k,isToday:w,isDisabled:s.minDate&&b<s.minDate||s.maxDate&&b>s.maxDate||s.disableWeekends&&n._isWeekend(b)||s.disableDayFn&&s.disableDayFn(b),isEmpty:x,isStartRange:T,isEndRange:O,isInRange:L,showDaysInNextAndPreviousMonths:s.showDaysInNextAndPreviousMonths};u.push(this.renderDay(D)),7==++g&&(l.push(this.renderRow(u,s.isRTL,m)),u=[],g=0,m=!1)}return this.renderTable(s,l,i)}},{key:"renderDay",value:function(e){var t=[],i="false";if(e.isEmpty){if(!e.showDaysInNextAndPreviousMonths)return'<td class="is-empty"></td>';t.push("is-outside-current-month"),t.push("is-selection-disabled")}return e.isDisabled&&t.push("is-disabled"),e.isToday&&t.push("is-today"),e.isSelected&&(t.push("is-selected"),i="true"),e.hasEvent&&t.push("has-event"),e.isInRange&&t.push("is-inrange"),e.isStartRange&&t.push("is-startrange"),e.isEndRange&&t.push("is-endrange"),'<td data-day="'+e.day+'" class="'+t.join(" ")+'" aria-selected="'+i+'"><button class="datepicker-day-button" type="button" data-year="'+e.year+'" data-month="'+e.month+'" data-day="'+e.day+'">'+e.day+"</button></td>"}},{key:"renderRow",value:function(e,t,i){return'<tr class="datepicker-row'+(i?" is-selected":"")+'">'+(t?e.reverse():e).join("")+"</tr>"}},{key:"renderTable",value:function(e,t,i){return'<div class="datepicker-table-wrapper"><table cellpadding="0" cellspacing="0" class="datepicker-table" role="grid" aria-labelledby="'+i+'">'+this.renderHead(e)+this.renderBody(t)+"</table></div>"}},{key:"renderHead",value:function(e){var t=void 0,i=[];for(t=0;t<7;t++)i.push('<th scope="col"><abbr title="'+this.renderDayName(e,t)+'">'+this.renderDayName(e,t,!0)+"</abbr></th>");return"<thead><tr>"+(e.isRTL?i.reverse():i).join("")+"</tr></thead>"}},{key:"renderBody",value:function(e){return"<tbody>"+e.join("")+"</tbody>"}},{key:"renderTitle",value:function(t,i,n,s,o,a){var r,l,u=void 0,d=void 0,c=void 0,h=this.options,p=n===h.minYear,v=n===h.maxYear,_='<div id="'+a+'" class="datepicker-controls" role="heading" aria-live="assertive">',f=!0,m=!0;for(c=[],u=0;u<12;u++)c.push('<option value="'+(n===o?u-i:12+u-i)+'"'+(u===s?' selected="selected"':"")+(p&&u<h.minMonth||v&&u>h.maxMonth?'disabled="disabled"':"")+">"+h.i18n.months[u]+"</option>");for(r='<select class="datepicker-select orig-select-month" tabindex="-1">'+c.join("")+"</select>",e.isArray(h.yearRange)?(u=h.yearRange[0],d=h.yearRange[1]+1):(u=n-h.yearRange,d=1+n+h.yearRange),c=[];u<d&&u<=h.maxYear;u++)u>=h.minYear&&c.push('<option value="'+u+'" '+(u===n?'selected="selected"':"")+">"+u+"</option>");l='<select class="datepicker-select orig-select-year" tabindex="-1">'+c.join("")+"</select>";_+='<button class="month-prev'+(f?"":" is-disabled")+'" type="button"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M15.41 16.09l-4.58-4.59 4.58-4.59L14 5.5l-6 6 6 6z"/><path d="M0-.5h24v24H0z" fill="none"/></svg></button>',_+='<div class="selects-container">',h.showMonthAfterYear?_+=l+r:_+=r+l,_+="</div>",p&&(0===s||h.minMonth>=s)&&(f=!1),v&&(11===s||h.maxMonth<=s)&&(m=!1);return(_+='<button class="month-next'+(m?"":" is-disabled")+'" type="button"><svg fill="#000000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M8.59 16.34l4.58-4.59-4.58-4.59L10 5.75l6 6-6 6z"/><path d="M0-.25h24v24H0z" fill="none"/></svg></button>')+"</div>"}},{key:"draw",value:function(e){if(this.isOpen||e){var t,i=this.options,n=i.minYear,s=i.maxYear,o=i.minMonth,a=i.maxMonth,r="";this._y<=n&&(this._y=n,!isNaN(o)&&this._m<o&&(this._m=o)),this._y>=s&&(this._y=s,!isNaN(a)&&this._m>a&&(this._m=a)),t="datepicker-title-"+Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,2);for(var l=0;l<1;l++)this._renderDateDisplay(),r+=this.renderTitle(this,l,this.calendars[l].year,this.calendars[l].month,this.calendars[0].year,t)+this.render(this.calendars[l].year,this.calendars[l].month,t);this.destroySelects(),this.calendarEl.innerHTML=r;var u=this.calendarEl.querySelector(".orig-select-year"),d=this.calendarEl.querySelector(".orig-select-month");M.FormSelect.init(u,{classes:"select-year",dropdownOptions:{container:document.body,constrainWidth:!1}}),M.FormSelect.init(d,{classes:"select-month",dropdownOptions:{container:document.body,constrainWidth:!1}}),u.addEventListener("change",this._handleYearChange.bind(this)),d.addEventListener("change",this._handleMonthChange.bind(this)),"function"==typeof this.options.onDraw&&this.options.onDraw(this)}}},{key:"_setupEventHandlers",value:function(){this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),this._handleInputChangeBound=this._handleInputChange.bind(this),this._handleCalendarClickBound=this._handleCalendarClick.bind(this),this._finishSelectionBound=this._finishSelection.bind(this),this._handleMonthChange=this._handleMonthChange.bind(this),this._closeBound=this.close.bind(this),this.el.addEventListener("click",this._handleInputClickBound),this.el.addEventListener("keydown",this._handleInputKeydownBound),this.el.addEventListener("change",this._handleInputChangeBound),this.calendarEl.addEventListener("click",this._handleCalendarClickBound),this.doneBtn.addEventListener("click",this._finishSelectionBound),this.cancelBtn.addEventListener("click",this._closeBound),this.options.showClearBtn&&(this._handleClearClickBound=this._handleClearClick.bind(this),this.clearBtn.addEventListener("click",this._handleClearClickBound))}},{key:"_setupVariables",value:function(){var t=this;this.$modalEl=e(n._template),this.modalEl=this.$modalEl[0],this.calendarEl=this.modalEl.querySelector(".datepicker-calendar"),this.yearTextEl=this.modalEl.querySelector(".year-text"),this.dateTextEl=this.modalEl.querySelector(".date-text"),this.options.showClearBtn&&(this.clearBtn=this.modalEl.querySelector(".datepicker-clear")),this.doneBtn=this.modalEl.querySelector(".datepicker-done"),this.cancelBtn=this.modalEl.querySelector(".datepicker-cancel"),this.formats={d:function(){return t.date.getDate()},dd:function(){var e=t.date.getDate();return(e<10?"0":"")+e},ddd:function(){return t.options.i18n.weekdaysShort[t.date.getDay()]},dddd:function(){return t.options.i18n.weekdays[t.date.getDay()]},m:function(){return t.date.getMonth()+1},mm:function(){var e=t.date.getMonth()+1;return(e<10?"0":"")+e},mmm:function(){return t.options.i18n.monthsShort[t.date.getMonth()]},mmmm:function(){return t.options.i18n.months[t.date.getMonth()]},yy:function(){return(""+t.date.getFullYear()).slice(2)},yyyy:function(){return t.date.getFullYear()}}}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleInputClickBound),this.el.removeEventListener("keydown",this._handleInputKeydownBound),this.el.removeEventListener("change",this._handleInputChangeBound),this.calendarEl.removeEventListener("click",this._handleCalendarClickBound)}},{key:"_handleInputClick",value:function(){this.open()}},{key:"_handleInputKeydown",value:function(e){e.which===M.keys.ENTER&&(e.preventDefault(),this.open())}},{key:"_handleCalendarClick",value:function(t){if(this.isOpen){var i=e(t.target);i.hasClass("is-disabled")||(!i.hasClass("datepicker-day-button")||i.hasClass("is-empty")||i.parent().hasClass("is-disabled")?i.closest(".month-prev").length?this.prevMonth():i.closest(".month-next").length&&this.nextMonth():(this.setDate(new Date(t.target.getAttribute("data-year"),t.target.getAttribute("data-month"),t.target.getAttribute("data-day"))),this.options.autoClose&&this._finishSelection()))}}},{key:"_handleClearClick",value:function(){this.date=null,this.setInputValue(),this.close()}},{key:"_handleMonthChange",value:function(e){this.gotoMonth(e.target.value)}},{key:"_handleYearChange",value:function(e){this.gotoYear(e.target.value)}},{key:"gotoMonth",value:function(e){isNaN(e)||(this.calendars[0].month=parseInt(e,10),this.adjustCalendars())}},{key:"gotoYear",value:function(e){isNaN(e)||(this.calendars[0].year=parseInt(e,10),this.adjustCalendars())}},{key:"_handleInputChange",value:function(e){var t=void 0;e.firedBy!==this&&(t=this.options.parse?this.options.parse(this.el.value,this.options.format):new Date(Date.parse(this.el.value)),n._isDate(t)&&this.setDate(t))}},{key:"renderDayName",value:function(e,t,i){for(t+=e.firstDay;t>=7;)t-=7;return i?e.i18n.weekdaysAbbrev[t]:e.i18n.weekdays[t]}},{key:"_finishSelection",value:function(){this.setInputValue(),this.close()}},{key:"open",value:function(){if(!this.isOpen)return this.isOpen=!0,"function"==typeof this.options.onOpen&&this.options.onOpen.call(this),this.draw(),this.modal.open(),this}},{key:"close",value:function(){if(this.isOpen)return this.isOpen=!1,"function"==typeof this.options.onClose&&this.options.onClose.call(this),this.modal.close(),this}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"_isDate",value:function(e){return/Date/.test(Object.prototype.toString.call(e))&&!isNaN(e.getTime())}},{key:"_isWeekend",value:function(e){var t=e.getDay();return 0===t||6===t}},{key:"_setToStartOfDay",value:function(e){n._isDate(e)&&e.setHours(0,0,0,0)}},{key:"_getDaysInMonth",value:function(e,t){return[31,n._isLeapYear(e)?29:28,31,30,31,30,31,31,30,31,30,31][t]}},{key:"_isLeapYear",value:function(e){return e%4==0&&e%100!=0||e%400==0}},{key:"_compareDates",value:function(e,t){return e.getTime()===t.getTime()}},{key:"_setToStartOfDay",value:function(e){n._isDate(e)&&e.setHours(0,0,0,0)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Datepicker}},{key:"defaults",get:function(){return t}}]),n}(u);i._template=['<div class= "modal datepicker-modal">','<div class="modal-content datepicker-container">','<div class="datepicker-date-display">','<span class="year-text"></span>','<span class="date-text"></span>',"</div>",'<div class="datepicker-calendar-container">','<div class="datepicker-calendar"></div>','<div class="datepicker-footer">','<button class="btn-flat datepicker-clear waves-effect" style="visibility: hidden;" type="button"></button>','<div class="confirmation-btns">','<button class="btn-flat datepicker-cancel waves-effect" type="button"></button>','<button class="btn-flat datepicker-done waves-effect" type="button"></button>',"</div>","</div>","</div>","</div>","</div>"].join(""),M.Datepicker=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"datepicker","M_Datepicker")}(cash),function(e){"use strict";var t={dialRadius:135,outerRadius:105,innerRadius:70,tickRadius:20,duration:350,container:null,defaultTime:"now",fromNow:0,showClearBtn:!1,i18n:{cancel:"Cancel",clear:"Clear",done:"Ok"},autoClose:!1,twelveHour:!0,vibrate:!0,onOpenStart:null,onOpenEnd:null,onCloseStart:null,onCloseEnd:null,onSelect:null},i=function(i){function n(t,i){l(this,n);var s=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_Timepicker=s,s.options=e.extend({},n.defaults,i),s.id=M.guid(),s._insertHTMLIntoDOM(),s._setupModal(),s._setupVariables(),s._setupEventHandlers(),s._clockSetup(),s._pickerSetup(),s}return r(n,i),o(n,[{key:"destroy",value:function(){this._removeEventHandlers(),this.modal.destroy(),e(this.modalEl).remove(),this.el.M_Timepicker=void 0}},{key:"_setupEventHandlers",value:function(){this._handleInputKeydownBound=this._handleInputKeydown.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),this._handleClockClickStartBound=this._handleClockClickStart.bind(this),this._handleDocumentClickMoveBound=this._handleDocumentClickMove.bind(this),this._handleDocumentClickEndBound=this._handleDocumentClickEnd.bind(this),this.el.addEventListener("click",this._handleInputClickBound),this.el.addEventListener("keydown",this._handleInputKeydownBound),this.plate.addEventListener("mousedown",this._handleClockClickStartBound),this.plate.addEventListener("touchstart",this._handleClockClickStartBound),e(this.spanHours).on("click",this.showView.bind(this,"hours")),e(this.spanMinutes).on("click",this.showView.bind(this,"minutes"))}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleInputClickBound),this.el.removeEventListener("keydown",this._handleInputKeydownBound)}},{key:"_handleInputClick",value:function(){this.open()}},{key:"_handleInputKeydown",value:function(e){e.which===M.keys.ENTER&&(e.preventDefault(),this.open())}},{key:"_handleClockClickStart",value:function(e){e.preventDefault();var t=this.plate.getBoundingClientRect(),i=t.left,s=t.top;this.x0=i+this.options.dialRadius,this.y0=s+this.options.dialRadius,this.moved=!1;var o=n._Pos(e);this.dx=o.x-this.x0,this.dy=o.y-this.y0,this.setHand(this.dx,this.dy,!1),document.addEventListener("mousemove",this._handleDocumentClickMoveBound),document.addEventListener("touchmove",this._handleDocumentClickMoveBound),document.addEventListener("mouseup",this._handleDocumentClickEndBound),document.addEventListener("touchend",this._handleDocumentClickEndBound)}},{key:"_handleDocumentClickMove",value:function(e){e.preventDefault();var t=n._Pos(e),i=t.x-this.x0,s=t.y-this.y0;this.moved=!0,this.setHand(i,s,!1,!0)}},{key:"_handleDocumentClickEnd",value:function(t){var i=this;t.preventDefault(),document.removeEventListener("mouseup",this._handleDocumentClickEndBound),document.removeEventListener("touchend",this._handleDocumentClickEndBound);var s=n._Pos(t),o=s.x-this.x0,a=s.y-this.y0;this.moved&&o===this.dx&&a===this.dy&&this.setHand(o,a),"hours"===this.currentView?this.showView("minutes",this.options.duration/2):this.options.autoClose&&(e(this.minutesView).addClass("timepicker-dial-out"),setTimeout((function(){i.done()}),this.options.duration/2)),"function"==typeof this.options.onSelect&&this.options.onSelect.call(this,this.hours,this.minutes),document.removeEventListener("mousemove",this._handleDocumentClickMoveBound),document.removeEventListener("touchmove",this._handleDocumentClickMoveBound)}},{key:"_insertHTMLIntoDOM",value:function(){this.$modalEl=e(n._template),this.modalEl=this.$modalEl[0],this.modalEl.id="modal-"+this.id;var t=document.querySelector(this.options.container);this.options.container&&t?this.$modalEl.appendTo(t):this.$modalEl.insertBefore(this.el)}},{key:"_setupModal",value:function(){var e=this;this.modal=M.Modal.init(this.modalEl,{onOpenStart:this.options.onOpenStart,onOpenEnd:this.options.onOpenEnd,onCloseStart:this.options.onCloseStart,onCloseEnd:function(){"function"==typeof e.options.onCloseEnd&&e.options.onCloseEnd.call(e),e.isOpen=!1}})}},{key:"_setupVariables",value:function(){this.currentView="hours",this.vibrate=navigator.vibrate?"vibrate":navigator.webkitVibrate?"webkitVibrate":null,this._canvas=this.modalEl.querySelector(".timepicker-canvas"),this.plate=this.modalEl.querySelector(".timepicker-plate"),this.hoursView=this.modalEl.querySelector(".timepicker-hours"),this.minutesView=this.modalEl.querySelector(".timepicker-minutes"),this.spanHours=this.modalEl.querySelector(".timepicker-span-hours"),this.spanMinutes=this.modalEl.querySelector(".timepicker-span-minutes"),this.spanAmPm=this.modalEl.querySelector(".timepicker-span-am-pm"),this.footer=this.modalEl.querySelector(".timepicker-footer"),this.amOrPm="PM"}},{key:"_pickerSetup",value:function(){var t=e('<button class="btn-flat timepicker-clear waves-effect" style="visibility: hidden;" type="button" tabindex="'+(this.options.twelveHour?"3":"1")+'">'+this.options.i18n.clear+"</button>").appendTo(this.footer).on("click",this.clear.bind(this));this.options.showClearBtn&&t.css({visibility:""});var i=e('<div class="confirmation-btns"></div>');e('<button class="btn-flat timepicker-close waves-effect" type="button" tabindex="'+(this.options.twelveHour?"3":"1")+'">'+this.options.i18n.cancel+"</button>").appendTo(i).on("click",this.close.bind(this)),e('<button class="btn-flat timepicker-close waves-effect" type="button" tabindex="'+(this.options.twelveHour?"3":"1")+'">'+this.options.i18n.done+"</button>").appendTo(i).on("click",this.done.bind(this)),i.appendTo(this.footer)}},{key:"_clockSetup",value:function(){this.options.twelveHour&&(this.$amBtn=e('<div class="am-btn">AM</div>'),this.$pmBtn=e('<div class="pm-btn">PM</div>'),this.$amBtn.on("click",this._handleAmPmClick.bind(this)).appendTo(this.spanAmPm),this.$pmBtn.on("click",this._handleAmPmClick.bind(this)).appendTo(this.spanAmPm)),this._buildHoursView(),this._buildMinutesView(),this._buildSVGClock()}},{key:"_buildSVGClock",value:function(){var e=this.options.dialRadius,t=this.options.tickRadius,i=2*e,s=n._createSVGEl("svg");s.setAttribute("class","timepicker-svg"),s.setAttribute("width",i),s.setAttribute("height",i);var o=n._createSVGEl("g");o.setAttribute("transform","translate("+e+","+e+")");var a=n._createSVGEl("circle");a.setAttribute("class","timepicker-canvas-bearing"),a.setAttribute("cx",0),a.setAttribute("cy",0),a.setAttribute("r",4);var r=n._createSVGEl("line");r.setAttribute("x1",0),r.setAttribute("y1",0);var l=n._createSVGEl("circle");l.setAttribute("class","timepicker-canvas-bg"),l.setAttribute("r",t),o.appendChild(r),o.appendChild(l),o.appendChild(a),s.appendChild(o),this._canvas.appendChild(s),this.hand=r,this.bg=l,this.bearing=a,this.g=o}},{key:"_buildHoursView",value:function(){var t=e('<div class="timepicker-tick"></div>');if(this.options.twelveHour)for(var i=1;i<13;i+=1){var n=t.clone(),s=i/6*Math.PI,o=this.options.outerRadius;n.css({left:this.options.dialRadius+Math.sin(s)*o-this.options.tickRadius+"px",top:this.options.dialRadius-Math.cos(s)*o-this.options.tickRadius+"px"}),n.html(0===i?"00":i),this.hoursView.appendChild(n[0])}else for(var a=0;a<24;a+=1){var r=t.clone(),l=a/6*Math.PI,u=a>0&&a<13?this.options.innerRadius:this.options.outerRadius;r.css({left:this.options.dialRadius+Math.sin(l)*u-this.options.tickRadius+"px",top:this.options.dialRadius-Math.cos(l)*u-this.options.tickRadius+"px"}),r.html(0===a?"00":a),this.hoursView.appendChild(r[0])}}},{key:"_buildMinutesView",value:function(){for(var t=e('<div class="timepicker-tick"></div>'),i=0;i<60;i+=5){var s=t.clone(),o=i/30*Math.PI;s.css({left:this.options.dialRadius+Math.sin(o)*this.options.outerRadius-this.options.tickRadius+"px",top:this.options.dialRadius-Math.cos(o)*this.options.outerRadius-this.options.tickRadius+"px"}),s.html(n._addLeadingZero(i)),this.minutesView.appendChild(s[0])}}},{key:"_handleAmPmClick",value:function(t){var i=e(t.target);this.amOrPm=i.hasClass("am-btn")?"AM":"PM",this._updateAmPmView()}},{key:"_updateAmPmView",value:function(){this.options.twelveHour&&(this.$amBtn.toggleClass("text-primary","AM"===this.amOrPm),this.$pmBtn.toggleClass("text-primary","PM"===this.amOrPm))}},{key:"_updateTimeFromInput",value:function(){var e=((this.el.value||this.options.defaultTime||"")+"").split(":");if(this.options.twelveHour&&void 0!==e[1]&&(e[1].toUpperCase().indexOf("AM")>0?this.amOrPm="AM":this.amOrPm="PM",e[1]=e[1].replace("AM","").replace("PM","")),"now"===e[0]){var t=new Date(+new Date+this.options.fromNow);e=[t.getHours(),t.getMinutes()],this.options.twelveHour&&(this.amOrPm=e[0]>=12&&e[0]<24?"PM":"AM")}this.hours=+e[0]||0,this.minutes=+e[1]||0,this.spanHours.innerHTML=this.hours,this.spanMinutes.innerHTML=n._addLeadingZero(this.minutes),this._updateAmPmView()}},{key:"showView",value:function(t,i){"minutes"===t&&e(this.hoursView).css("visibility");var n="hours"===t,s=n?this.hoursView:this.minutesView,o=n?this.minutesView:this.hoursView;this.currentView=t,e(this.spanHours).toggleClass("text-primary",n),e(this.spanMinutes).toggleClass("text-primary",!n),o.classList.add("timepicker-dial-out"),e(s).css("visibility","visible").removeClass("timepicker-dial-out"),this.resetClock(i),clearTimeout(this.toggleViewTimer),this.toggleViewTimer=setTimeout((function(){e(o).css("visibility","hidden")}),this.options.duration)}},{key:"resetClock",value:function(t){var i=this.currentView,n=this[i],s="hours"===i,o=n*(Math.PI/(s?6:30)),a=s&&n>0&&n<13?this.options.innerRadius:this.options.outerRadius,r=Math.sin(o)*a,l=-Math.cos(o)*a,u=this;t?(e(this.canvas).addClass("timepicker-canvas-out"),setTimeout((function(){e(u.canvas).removeClass("timepicker-canvas-out"),u.setHand(r,l)}),t)):this.setHand(r,l)}},{key:"setHand",value:function(e,t,i){var s=this,o=Math.atan2(e,-t),a="hours"===this.currentView,r=Math.PI/(a||i?6:30),l=Math.sqrt(e*e+t*t),u=a&&l<(this.options.outerRadius+this.options.innerRadius)/2,d=u?this.options.innerRadius:this.options.outerRadius;this.options.twelveHour&&(d=this.options.outerRadius),o<0&&(o=2*Math.PI+o);var c=Math.round(o/r);o=c*r,this.options.twelveHour?a?0===c&&(c=12):(i&&(c*=5),60===c&&(c=0)):a?(12===c&&(c=0),c=u?0===c?12:c:0===c?0:c+12):(i&&(c*=5),60===c&&(c=0)),this[this.currentView]!==c&&this.vibrate&&this.options.vibrate&&(this.vibrateTimer||(navigator[this.vibrate](10),this.vibrateTimer=setTimeout((function(){s.vibrateTimer=null}),100))),this[this.currentView]=c,a?this.spanHours.innerHTML=c:this.spanMinutes.innerHTML=n._addLeadingZero(c);var h=Math.sin(o)*(d-this.options.tickRadius),p=-Math.cos(o)*(d-this.options.tickRadius),v=Math.sin(o)*d,_=-Math.cos(o)*d;this.hand.setAttribute("x2",h),this.hand.setAttribute("y2",p),this.bg.setAttribute("cx",v),this.bg.setAttribute("cy",_)}},{key:"open",value:function(){this.isOpen||(this.isOpen=!0,this._updateTimeFromInput(),this.showView("hours"),this.modal.open())}},{key:"close",value:function(){this.isOpen&&(this.isOpen=!1,this.modal.close())}},{key:"done",value:function(e,t){var i=this.el.value,s=t?"":n._addLeadingZero(this.hours)+":"+n._addLeadingZero(this.minutes);this.time=s,!t&&this.options.twelveHour&&(s=s+" "+this.amOrPm),this.el.value=s,s!==i&&this.$el.trigger("change"),this.close(),this.el.focus()}},{key:"clear",value:function(){this.done(null,!0)}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"_addLeadingZero",value:function(e){return(e<10?"0":"")+e}},{key:"_createSVGEl",value:function(e){return document.createElementNS("http://www.w3.org/2000/svg",e)}},{key:"_Pos",value:function(e){return e.targetTouches&&e.targetTouches.length>=1?{x:e.targetTouches[0].clientX,y:e.targetTouches[0].clientY}:{x:e.clientX,y:e.clientY}}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Timepicker}},{key:"defaults",get:function(){return t}}]),n}(u);i._template=['<div class= "modal timepicker-modal">','<div class="modal-content timepicker-container">','<div class="timepicker-digital-display">','<div class="timepicker-text-container">','<div class="timepicker-display-column">','<span class="timepicker-span-hours text-primary"></span>',":",'<span class="timepicker-span-minutes"></span>',"</div>",'<div class="timepicker-display-column timepicker-display-am-pm">','<div class="timepicker-span-am-pm"></div>',"</div>","</div>","</div>",'<div class="timepicker-analog-display">','<div class="timepicker-plate">','<div class="timepicker-canvas"></div>','<div class="timepicker-dial timepicker-hours"></div>','<div class="timepicker-dial timepicker-minutes timepicker-dial-out"></div>',"</div>",'<div class="timepicker-footer"></div>',"</div>","</div>","</div>"].join(""),M.Timepicker=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"timepicker","M_Timepicker")}(cash),function(e){"use strict";var t={},i=function(i){function n(t,i){l(this,n);var s=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_CharacterCounter=s,s.options=e.extend({},n.defaults,i),s.isInvalid=!1,s.isValidLength=!1,s._setupCounter(),s._setupEventHandlers(),s}return r(n,i),o(n,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.CharacterCounter=void 0,this._removeCounter()}},{key:"_setupEventHandlers",value:function(){this._handleUpdateCounterBound=this.updateCounter.bind(this),this.el.addEventListener("focus",this._handleUpdateCounterBound,!0),this.el.addEventListener("input",this._handleUpdateCounterBound,!0)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("focus",this._handleUpdateCounterBound,!0),this.el.removeEventListener("input",this._handleUpdateCounterBound,!0)}},{key:"_setupCounter",value:function(){this.counterEl=document.createElement("span"),e(this.counterEl).addClass("character-counter").css({float:"right","font-size":"12px",height:1}),this.$el.parent().append(this.counterEl)}},{key:"_removeCounter",value:function(){e(this.counterEl).remove()}},{key:"updateCounter",value:function(){var t=+this.$el.attr("data-length"),i=this.el.value.length;this.isValidLength=i<=t;var n=i;t&&(n+="/"+t,this._validateInput()),e(this.counterEl).html(n)}},{key:"_validateInput",value:function(){this.isValidLength&&this.isInvalid?(this.isInvalid=!1,this.$el.removeClass("invalid")):this.isValidLength||this.isInvalid||(this.isInvalid=!0,this.$el.removeClass("valid"),this.$el.addClass("invalid"))}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_CharacterCounter}},{key:"defaults",get:function(){return t}}]),n}(u);M.CharacterCounter=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"characterCounter","M_CharacterCounter")}(cash),function(e){"use strict";var t={duration:200,dist:-100,shift:0,padding:0,numVisible:5,fullWidth:!1,indicators:!1,noWrap:!1,onCycleTo:null},i=function(i){function n(t,i){l(this,n);var s=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_Carousel=s,s.options=e.extend({},n.defaults,i),s.hasMultipleSlides=s.$el.find(".carousel-item").length>1,s.showIndicators=s.options.indicators&&s.hasMultipleSlides,s.noWrap=s.options.noWrap||!s.hasMultipleSlides,s.pressed=!1,s.dragged=!1,s.offset=s.target=0,s.images=[],s.itemWidth=s.$el.find(".carousel-item").first().innerWidth(),s.itemHeight=s.$el.find(".carousel-item").first().innerHeight(),s.dim=2*s.itemWidth+s.options.padding||1,s._autoScrollBound=s._autoScroll.bind(s),s._trackBound=s._track.bind(s),s.options.fullWidth&&(s.options.dist=0,s._setCarouselHeight(),s.showIndicators&&s.$el.find(".carousel-fixed-item").addClass("with-indicators")),s.$indicators=e('<ul class="indicators"></ul>'),s.$el.find(".carousel-item").each((function(t,i){if(s.images.push(t),s.showIndicators){var n=e('<li class="indicator-item"></li>');0===i&&n[0].classList.add("active"),s.$indicators.append(n)}})),s.showIndicators&&s.$el.append(s.$indicators),s.count=s.images.length,s.options.numVisible=Math.min(s.count,s.options.numVisible),s.xform="transform",["webkit","Moz","O","ms"].every((function(e){var t=e+"Transform";return void 0===document.body.style[t]||(s.xform=t,!1)})),s._setupEventHandlers(),s._scroll(s.offset),s}return r(n,i),o(n,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.M_Carousel=void 0}},{key:"_setupEventHandlers",value:function(){var e=this;this._handleCarouselTapBound=this._handleCarouselTap.bind(this),this._handleCarouselDragBound=this._handleCarouselDrag.bind(this),this._handleCarouselReleaseBound=this._handleCarouselRelease.bind(this),this._handleCarouselClickBound=this._handleCarouselClick.bind(this),void 0!==window.ontouchstart&&(this.el.addEventListener("touchstart",this._handleCarouselTapBound),this.el.addEventListener("touchmove",this._handleCarouselDragBound),this.el.addEventListener("touchend",this._handleCarouselReleaseBound)),this.el.addEventListener("mousedown",this._handleCarouselTapBound),this.el.addEventListener("mousemove",this._handleCarouselDragBound),this.el.addEventListener("mouseup",this._handleCarouselReleaseBound),this.el.addEventListener("mouseleave",this._handleCarouselReleaseBound),this.el.addEventListener("click",this._handleCarouselClickBound),this.showIndicators&&this.$indicators&&(this._handleIndicatorClickBound=this._handleIndicatorClick.bind(this),this.$indicators.find(".indicator-item").each((function(t,i){t.addEventListener("click",e._handleIndicatorClickBound)})));var t=M.throttle(this._handleResize,200);this._handleThrottledResizeBound=t.bind(this),window.addEventListener("resize",this._handleThrottledResizeBound)}},{key:"_removeEventHandlers",value:function(){var e=this;void 0!==window.ontouchstart&&(this.el.removeEventListener("touchstart",this._handleCarouselTapBound),this.el.removeEventListener("touchmove",this._handleCarouselDragBound),this.el.removeEventListener("touchend",this._handleCarouselReleaseBound)),this.el.removeEventListener("mousedown",this._handleCarouselTapBound),this.el.removeEventListener("mousemove",this._handleCarouselDragBound),this.el.removeEventListener("mouseup",this._handleCarouselReleaseBound),this.el.removeEventListener("mouseleave",this._handleCarouselReleaseBound),this.el.removeEventListener("click",this._handleCarouselClickBound),this.showIndicators&&this.$indicators&&this.$indicators.find(".indicator-item").each((function(t,i){t.removeEventListener("click",e._handleIndicatorClickBound)})),window.removeEventListener("resize",this._handleThrottledResizeBound)}},{key:"_handleCarouselTap",value:function(t){"mousedown"===t.type&&e(t.target).is("img")&&t.preventDefault(),this.pressed=!0,this.dragged=!1,this.verticalDragged=!1,this.reference=this._xpos(t),this.referenceY=this._ypos(t),this.velocity=this.amplitude=0,this.frame=this.offset,this.timestamp=Date.now(),clearInterval(this.ticker),this.ticker=setInterval(this._trackBound,100)}},{key:"_handleCarouselDrag",value:function(e){var t=void 0,i=void 0,n=void 0;if(this.pressed)if(t=this._xpos(e),i=this._ypos(e),n=this.reference-t,Math.abs(this.referenceY-i)<30&&!this.verticalDragged)(n>2||n<-2)&&(this.dragged=!0,this.reference=t,this._scroll(this.offset+n));else{if(this.dragged)return e.preventDefault(),e.stopPropagation(),!1;this.verticalDragged=!0}if(this.dragged)return e.preventDefault(),e.stopPropagation(),!1}},{key:"_handleCarouselRelease",value:function(e){if(this.pressed)return this.pressed=!1,clearInterval(this.ticker),this.target=this.offset,(this.velocity>10||this.velocity<-10)&&(this.amplitude=.9*this.velocity,this.target=this.offset+this.amplitude),this.target=Math.round(this.target/this.dim)*this.dim,this.noWrap&&(this.target>=this.dim*(this.count-1)?this.target=this.dim*(this.count-1):this.target<0&&(this.target=0)),this.amplitude=this.target-this.offset,this.timestamp=Date.now(),requestAnimationFrame(this._autoScrollBound),this.dragged&&(e.preventDefault(),e.stopPropagation()),!1}},{key:"_handleCarouselClick",value:function(t){if(this.dragged)return t.preventDefault(),t.stopPropagation(),!1;if(!this.options.fullWidth){var i=e(t.target).closest(".carousel-item").index();0!==this._wrap(this.center)-i&&(t.preventDefault(),t.stopPropagation()),this._cycleTo(i)}}},{key:"_handleIndicatorClick",value:function(t){t.stopPropagation();var i=e(t.target).closest(".indicator-item");i.length&&this._cycleTo(i.index())}},{key:"_handleResize",value:function(e){this.options.fullWidth?(this.itemWidth=this.$el.find(".carousel-item").first().innerWidth(),this.imageHeight=this.$el.find(".carousel-item.active").height(),this.dim=2*this.itemWidth+this.options.padding,this.offset=2*this.center*this.itemWidth,this.target=this.offset,this._setCarouselHeight(!0)):this._scroll()}},{key:"_setCarouselHeight",value:function(e){var t=this,i=this.$el.find(".carousel-item.active").length?this.$el.find(".carousel-item.active").first():this.$el.find(".carousel-item").first(),n=i.find("img").first();if(n.length)if(n[0].complete){var s=n.height();if(s>0)this.$el.css("height",s+"px");else{var o=n[0].naturalWidth,a=n[0].naturalHeight,r=this.$el.width()/o*a;this.$el.css("height",r+"px")}}else n.one("load",(function(e,i){t.$el.css("height",e.offsetHeight+"px")}));else if(!e){var l=i.height();this.$el.css("height",l+"px")}}},{key:"_xpos",value:function(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}},{key:"_ypos",value:function(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}},{key:"_wrap",value:function(e){return e>=this.count?e%this.count:e<0?this._wrap(this.count+e%this.count):e}},{key:"_track",value:function(){var e,t,i,n;t=(e=Date.now())-this.timestamp,this.timestamp=e,i=this.offset-this.frame,this.frame=this.offset,n=1e3*i/(1+t),this.velocity=.8*n+.2*this.velocity}},{key:"_autoScroll",value:function(){var e=void 0,t=void 0;this.amplitude&&(e=Date.now()-this.timestamp,(t=this.amplitude*Math.exp(-e/this.options.duration))>2||t<-2?(this._scroll(this.target-t),requestAnimationFrame(this._autoScrollBound)):this._scroll(this.target))}},{key:"_scroll",value:function(t){var i=this;this.$el.hasClass("scrolling")||this.el.classList.add("scrolling"),null!=this.scrollingTimeout&&window.clearTimeout(this.scrollingTimeout),this.scrollingTimeout=window.setTimeout((function(){i.$el.removeClass("scrolling")}),this.options.duration);var n,s,o,a,r=void 0,l=void 0,u=void 0,d=void 0,c=void 0,h=void 0,p=this.center,v=1/this.options.numVisible;if(this.offset="number"==typeof t?t:this.offset,this.center=Math.floor((this.offset+this.dim/2)/this.dim),a=-(o=(s=this.offset-this.center*this.dim)<0?1:-1)*s*2/this.dim,n=this.count>>1,this.options.fullWidth?(u="translateX(0)",h=1):(u="translateX("+(this.el.clientWidth-this.itemWidth)/2+"px) ",u+="translateY("+(this.el.clientHeight-this.itemHeight)/2+"px)",h=1-v*a),this.showIndicators){var _=this.center%this.count,f=this.$indicators.find(".indicator-item.active");f.index()!==_&&(f.removeClass("active"),this.$indicators.find(".indicator-item").eq(_)[0].classList.add("active"))}if(!this.noWrap||this.center>=0&&this.center<this.count){l=this.images[this._wrap(this.center)],e(l).hasClass("active")||(this.$el.find(".carousel-item").removeClass("active"),l.classList.add("active"));var m=u+" translateX("+-s/2+"px) translateX("+o*this.options.shift*a*r+"px) translateZ("+this.options.dist*a+"px)";this._updateItemStyle(l,h,0,m)}for(r=1;r<=n;++r){if(this.options.fullWidth?(d=this.options.dist,c=r===n&&s<0?1-a:1):(d=this.options.dist*(2*r+a*o),c=1-v*(2*r+a*o)),!this.noWrap||this.center+r<this.count){l=this.images[this._wrap(this.center+r)];var y=u+" translateX("+(this.options.shift+(this.dim*r-s)/2)+"px) translateZ("+d+"px)";this._updateItemStyle(l,c,-r,y)}if(this.options.fullWidth?(d=this.options.dist,c=r===n&&s>0?1-a:1):(d=this.options.dist*(2*r-a*o),c=1-v*(2*r-a*o)),!this.noWrap||this.center-r>=0){l=this.images[this._wrap(this.center-r)];var g=u+" translateX("+(-this.options.shift+(-this.dim*r-s)/2)+"px) translateZ("+d+"px)";this._updateItemStyle(l,c,-r,g)}}if(!this.noWrap||this.center>=0&&this.center<this.count){l=this.images[this._wrap(this.center)];var b=u+" translateX("+-s/2+"px) translateX("+o*this.options.shift*a+"px) translateZ("+this.options.dist*a+"px)";this._updateItemStyle(l,h,0,b)}var k=this.$el.find(".carousel-item").eq(this._wrap(this.center));p!==this.center&&"function"==typeof this.options.onCycleTo&&this.options.onCycleTo.call(this,k[0],this.dragged),"function"==typeof this.oneTimeCallback&&(this.oneTimeCallback.call(this,k[0],this.dragged),this.oneTimeCallback=null)}},{key:"_updateItemStyle",value:function(e,t,i,n){e.style[this.xform]=n,e.style.zIndex=i,e.style.opacity=t,e.style.visibility="visible"}},{key:"_cycleTo",value:function(e,t){var i=this.center%this.count-e;this.noWrap||(i<0?Math.abs(i+this.count)<Math.abs(i)&&(i+=this.count):i>0&&Math.abs(i-this.count)<i&&(i-=this.count)),this.target=this.dim*Math.round(this.offset/this.dim),i<0?this.target+=this.dim*Math.abs(i):i>0&&(this.target-=this.dim*i),"function"==typeof t&&(this.oneTimeCallback=t),this.offset!==this.target&&(this.amplitude=this.target-this.offset,this.timestamp=Date.now(),requestAnimationFrame(this._autoScrollBound))}},{key:"next",value:function(e){(void 0===e||isNaN(e))&&(e=1);var t=this.center+e;if(t>=this.count||t<0){if(this.noWrap)return;t=this._wrap(t)}this._cycleTo(t)}},{key:"prev",value:function(e){(void 0===e||isNaN(e))&&(e=1);var t=this.center-e;if(t>=this.count||t<0){if(this.noWrap)return;t=this._wrap(t)}this._cycleTo(t)}},{key:"set",value:function(e,t){if((void 0===e||isNaN(e))&&(e=0),e>this.count||e<0){if(this.noWrap)return;e=this._wrap(e)}this._cycleTo(e,t)}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Carousel}},{key:"defaults",get:function(){return t}}]),n}(u);M.Carousel=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"carousel","M_Carousel")}(cash),function(e){"use strict";var t={onOpen:void 0,onClose:void 0},i=function(i){function n(t,i){l(this,n);var s=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.el.M_TapTarget=s,s.options=e.extend({},n.defaults,i),s.isOpen=!1,s.$origin=e("#"+s.$el.attr("data-target")),s._setup(),s._calculatePositioning(),s._setupEventHandlers(),s}return r(n,i),o(n,[{key:"destroy",value:function(){this._removeEventHandlers(),this.el.TapTarget=void 0}},{key:"_setupEventHandlers",value:function(){this._handleDocumentClickBound=this._handleDocumentClick.bind(this),this._handleTargetClickBound=this._handleTargetClick.bind(this),this._handleOriginClickBound=this._handleOriginClick.bind(this),this.el.addEventListener("click",this._handleTargetClickBound),this.originEl.addEventListener("click",this._handleOriginClickBound);var e=M.throttle(this._handleResize,200);this._handleThrottledResizeBound=e.bind(this),window.addEventListener("resize",this._handleThrottledResizeBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("click",this._handleTargetClickBound),this.originEl.removeEventListener("click",this._handleOriginClickBound),window.removeEventListener("resize",this._handleThrottledResizeBound)}},{key:"_handleTargetClick",value:function(e){this.open()}},{key:"_handleOriginClick",value:function(e){this.close()}},{key:"_handleResize",value:function(e){this._calculatePositioning()}},{key:"_handleDocumentClick",value:function(t){e(t.target).closest(".tap-target-wrapper").length||(this.close(),t.preventDefault(),t.stopPropagation())}},{key:"_setup",value:function(){this.wrapper=this.$el.parent()[0],this.waveEl=e(this.wrapper).find(".tap-target-wave")[0],this.originEl=e(this.wrapper).find(".tap-target-origin")[0],this.contentEl=this.$el.find(".tap-target-content")[0],e(this.wrapper).hasClass(".tap-target-wrapper")||(this.wrapper=document.createElement("div"),this.wrapper.classList.add("tap-target-wrapper"),this.$el.before(e(this.wrapper)),this.wrapper.append(this.el)),this.contentEl||(this.contentEl=document.createElement("div"),this.contentEl.classList.add("tap-target-content"),this.$el.append(this.contentEl)),this.waveEl||(this.waveEl=document.createElement("div"),this.waveEl.classList.add("tap-target-wave"),this.originEl||(this.originEl=this.$origin.clone(!0,!0),this.originEl.addClass("tap-target-origin"),this.originEl.removeAttr("id"),this.originEl.removeAttr("style"),this.originEl=this.originEl[0],this.waveEl.append(this.originEl)),this.wrapper.append(this.waveEl))}},{key:"_calculatePositioning",value:function(){var t="fixed"===this.$origin.css("position");if(!t)for(var i=this.$origin.parents(),n=0;n<i.length&&!(t="fixed"==e(i[n]).css("position"));n++);var s=this.$origin.outerWidth(),o=this.$origin.outerHeight(),a=t?this.$origin.offset().top-M.getDocumentScrollTop():this.$origin.offset().top,r=t?this.$origin.offset().left-M.getDocumentScrollLeft():this.$origin.offset().left,l=window.innerWidth,u=window.innerHeight,d=l/2,c=u/2,h=r<=d,p=r>d,v=a<=c,_=a>c,f=r>=.25*l&&r<=.75*l,m=this.$el.outerWidth(),y=this.$el.outerHeight(),g=a+o/2-y/2,b=r+s/2-m/2,k=t?"fixed":"absolute",w=f?m:m/2+s,C=y/2,x=v?y/2:0,E=h&&!f?m/2-s:0,j=s,T=_?"bottom":"top",O=2*s,L=O,D=y/2-L/2,B=m/2-O/2,Q={};Q.top=v?g+"px":"",Q.right=p?l-b-m+"px":"",Q.bottom=_?u-g-y+"px":"",Q.left=h?b+"px":"",Q.position=k,e(this.wrapper).css(Q),e(this.contentEl).css({width:w+"px",height:C+"px",top:x+"px",right:"0px",bottom:"0px",left:E+"px",padding:j+"px",verticalAlign:T}),e(this.waveEl).css({top:D+"px",left:B+"px",width:O+"px",height:L+"px"})}},{key:"open",value:function(){this.isOpen||("function"==typeof this.options.onOpen&&this.options.onOpen.call(this,this.$origin[0]),this.isOpen=!0,this.wrapper.classList.add("open"),document.body.addEventListener("click",this._handleDocumentClickBound,!0),document.body.addEventListener("touchend",this._handleDocumentClickBound))}},{key:"close",value:function(){this.isOpen&&("function"==typeof this.options.onClose&&this.options.onClose.call(this,this.$origin[0]),this.isOpen=!1,this.wrapper.classList.remove("open"),document.body.removeEventListener("click",this._handleDocumentClickBound,!0),document.body.removeEventListener("touchend",this._handleDocumentClickBound))}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_TapTarget}},{key:"defaults",get:function(){return t}}]),n}(u);M.TapTarget=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"tapTarget","M_TapTarget")}(cash),function(e){"use strict";var t={classes:"",dropdownOptions:{}},i=function(i){function n(t,i){l(this,n);var s=a(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,n,t,i));return s.$el.hasClass("browser-default")?a(s):(s.el.M_FormSelect=s,s.options=e.extend({},n.defaults,i),s.isMultiple=s.$el.prop("multiple"),s.el.tabIndex=-1,s._keysSelected={},s._valueDict={},s._setupDropdown(),s._setupEventHandlers(),s)}return r(n,i),o(n,[{key:"destroy",value:function(){this._removeEventHandlers(),this._removeDropdown(),this.el.M_FormSelect=void 0}},{key:"_setupEventHandlers",value:function(){var t=this;this._handleSelectChangeBound=this._handleSelectChange.bind(this),this._handleOptionClickBound=this._handleOptionClick.bind(this),this._handleInputClickBound=this._handleInputClick.bind(this),e(this.dropdownOptions).find("li:not(.optgroup)").each((function(e){e.addEventListener("click",t._handleOptionClickBound)})),this.el.addEventListener("change",this._handleSelectChangeBound),this.input.addEventListener("click",this._handleInputClickBound)}},{key:"_removeEventHandlers",value:function(){var t=this;e(this.dropdownOptions).find("li:not(.optgroup)").each((function(e){e.removeEventListener("click",t._handleOptionClickBound)})),this.el.removeEventListener("change",this._handleSelectChangeBound),this.input.removeEventListener("click",this._handleInputClickBound)}},{key:"_handleSelectChange",value:function(e){this._setValueToInput()}},{key:"_handleOptionClick",value:function(t){t.preventDefault();var i=e(t.target).closest("li")[0],n=i.id;if(!e(i).hasClass("disabled")&&!e(i).hasClass("optgroup")&&n.length){var s=!0;if(this.isMultiple){var o=e(this.dropdownOptions).find("li.disabled.selected");o.length&&(o.removeClass("selected"),o.find('input[type="checkbox"]').prop("checked",!1),this._toggleEntryFromArray(o[0].id)),s=this._toggleEntryFromArray(n)}else e(this.dropdownOptions).find("li").removeClass("selected"),e(i).toggleClass("selected",s);e(this._valueDict[n].el).prop("selected")!==s&&(e(this._valueDict[n].el).prop("selected",s),this.$el.trigger("change"))}t.stopPropagation()}},{key:"_handleInputClick",value:function(){this.dropdown&&this.dropdown.isOpen&&(this._setValueToInput(),this._setSelectedStates())}},{key:"_setupDropdown",value:function(){var t=this;this.wrapper=document.createElement("div"),e(this.wrapper).addClass("select-wrapper "+this.options.classes),this.$el.before(e(this.wrapper)),this.wrapper.appendChild(this.el),this.el.disabled&&this.wrapper.classList.add("disabled"),this.$selectOptions=this.$el.children("option, optgroup"),this.dropdownOptions=document.createElement("ul"),this.dropdownOptions.id="select-options-"+M.guid(),e(this.dropdownOptions).addClass("dropdown-content select-dropdown "+(this.isMultiple?"multiple-select-dropdown":"")),this.$selectOptions.length&&this.$selectOptions.each((function(i){if(e(i).is("option")){var n=void 0;n=t.isMultiple?t._appendOptionWithIcon(t.$el,i,"multiple"):t._appendOptionWithIcon(t.$el,i),t._addOptionToValueDict(i,n)}else if(e(i).is("optgroup")){var s=e(i).children("option");e(t.dropdownOptions).append(e('<li class="optgroup"><span>'+i.getAttribute("label")+"</span></li>")[0]),s.each((function(e){var i=t._appendOptionWithIcon(t.$el,e,"optgroup-option");t._addOptionToValueDict(e,i)}))}})),this.$el.after(this.dropdownOptions),this.input=document.createElement("input"),e(this.input).addClass("select-dropdown dropdown-trigger"),this.input.setAttribute("type","text"),this.input.setAttribute("readonly","true"),this.input.setAttribute("data-target",this.dropdownOptions.id),this.el.disabled&&e(this.input).prop("disabled","true"),this.$el.before(this.input),this._setValueToInput();var i=e('<svg class="caret" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/><path d="M0 0h24v24H0z" fill="none"/></svg>');if(this.$el.before(i[0]),!this.el.disabled){var n=e.extend({},this.options.dropdownOptions);n.onOpenEnd=function(i){var n=e(t.dropdownOptions).find(".selected").first();if(n.length&&(M.keyDown=!0,t.dropdown.focusedIndex=n.index(),t.dropdown._focusFocusedItem(),M.keyDown=!1,t.dropdown.isScrollable)){var s=n[0].getBoundingClientRect().top-t.dropdownOptions.getBoundingClientRect().top;s-=t.dropdownOptions.clientHeight/2,t.dropdownOptions.scrollTop=s}},this.isMultiple&&(n.closeOnClick=!1),this.dropdown=M.Dropdown.init(this.input,n)}this._setSelectedStates()}},{key:"_addOptionToValueDict",value:function(e,t){var i=Object.keys(this._valueDict).length,n=this.dropdownOptions.id+i,s={};t.id=n,s.el=e,s.optionEl=t,this._valueDict[n]=s}},{key:"_removeDropdown",value:function(){e(this.wrapper).find(".caret").remove(),e(this.input).remove(),e(this.dropdownOptions).remove(),e(this.wrapper).before(this.$el),e(this.wrapper).remove()}},{key:"_appendOptionWithIcon",value:function(t,i,n){var s=i.disabled?"disabled ":"",o="optgroup-option"===n?"optgroup-option ":"",a=this.isMultiple?'<label><input type="checkbox"'+s+'"/><span>'+i.innerHTML+"</span></label>":i.innerHTML,r=e("<li></li>"),l=e("<span></span>");l.html(a),r.addClass(s+" "+o),r.append(l);var u=i.getAttribute("data-icon");if(u){var d=e('<img alt="" src="'+u+'">');r.prepend(d)}return e(this.dropdownOptions).append(r[0]),r[0]}},{key:"_toggleEntryFromArray",value:function(t){var i=!this._keysSelected.hasOwnProperty(t),n=e(this._valueDict[t].optionEl);return i?this._keysSelected[t]=!0:delete this._keysSelected[t],n.toggleClass("selected",i),n.find('input[type="checkbox"]').prop("checked",i),n.prop("selected",i),i}},{key:"_setValueToInput",value:function(){var t=[];if(this.$el.find("option").each((function(i){if(e(i).prop("selected")){var n=e(i).text();t.push(n)}})),!t.length){var i=this.$el.find("option:disabled").eq(0);i.length&&""===i[0].value&&t.push(i.text())}this.input.value=t.join(", ")}},{key:"_setSelectedStates",value:function(){for(var t in this._keysSelected={},this._valueDict){var i=this._valueDict[t],n=e(i.el).prop("selected");e(i.optionEl).find('input[type="checkbox"]').prop("checked",n),n?(this._activateOption(e(this.dropdownOptions),e(i.optionEl)),this._keysSelected[t]=!0):e(i.optionEl).removeClass("selected")}}},{key:"_activateOption",value:function(t,i){i&&(this.isMultiple||t.find("li.selected").removeClass("selected"),e(i).addClass("selected"))}},{key:"getSelectedValues",value:function(){var e=[];for(var t in this._keysSelected)e.push(this._valueDict[t].el.value);return e}}],[{key:"init",value:function(e,t){return s(n.__proto__||Object.getPrototypeOf(n),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_FormSelect}},{key:"defaults",get:function(){return t}}]),n}(u);M.FormSelect=i,M.jQueryLoaded&&M.initializeJqueryWrapper(i,"formSelect","M_FormSelect")}(cash),function(e,t){"use strict";var i={},n=function(n){function u(t,i){l(this,u);var n=a(this,(u.__proto__||Object.getPrototypeOf(u)).call(this,u,t,i));return n.el.M_Range=n,n.options=e.extend({},u.defaults,i),n._mousedown=!1,n._setupThumb(),n._setupEventHandlers(),n}return r(u,n),o(u,[{key:"destroy",value:function(){this._removeEventHandlers(),this._removeThumb(),this.el.M_Range=void 0}},{key:"_setupEventHandlers",value:function(){this._handleRangeChangeBound=this._handleRangeChange.bind(this),this._handleRangeMousedownTouchstartBound=this._handleRangeMousedownTouchstart.bind(this),this._handleRangeInputMousemoveTouchmoveBound=this._handleRangeInputMousemoveTouchmove.bind(this),this._handleRangeMouseupTouchendBound=this._handleRangeMouseupTouchend.bind(this),this._handleRangeBlurMouseoutTouchleaveBound=this._handleRangeBlurMouseoutTouchleave.bind(this),this.el.addEventListener("change",this._handleRangeChangeBound),this.el.addEventListener("mousedown",this._handleRangeMousedownTouchstartBound),this.el.addEventListener("touchstart",this._handleRangeMousedownTouchstartBound),this.el.addEventListener("input",this._handleRangeInputMousemoveTouchmoveBound),this.el.addEventListener("mousemove",this._handleRangeInputMousemoveTouchmoveBound),this.el.addEventListener("touchmove",this._handleRangeInputMousemoveTouchmoveBound),this.el.addEventListener("mouseup",this._handleRangeMouseupTouchendBound),this.el.addEventListener("touchend",this._handleRangeMouseupTouchendBound),this.el.addEventListener("blur",this._handleRangeBlurMouseoutTouchleaveBound),this.el.addEventListener("mouseout",this._handleRangeBlurMouseoutTouchleaveBound),this.el.addEventListener("touchleave",this._handleRangeBlurMouseoutTouchleaveBound)}},{key:"_removeEventHandlers",value:function(){this.el.removeEventListener("change",this._handleRangeChangeBound),this.el.removeEventListener("mousedown",this._handleRangeMousedownTouchstartBound),this.el.removeEventListener("touchstart",this._handleRangeMousedownTouchstartBound),this.el.removeEventListener("input",this._handleRangeInputMousemoveTouchmoveBound),this.el.removeEventListener("mousemove",this._handleRangeInputMousemoveTouchmoveBound),this.el.removeEventListener("touchmove",this._handleRangeInputMousemoveTouchmoveBound),this.el.removeEventListener("mouseup",this._handleRangeMouseupTouchendBound),this.el.removeEventListener("touchend",this._handleRangeMouseupTouchendBound),this.el.removeEventListener("blur",this._handleRangeBlurMouseoutTouchleaveBound),this.el.removeEventListener("mouseout",this._handleRangeBlurMouseoutTouchleaveBound),this.el.removeEventListener("touchleave",this._handleRangeBlurMouseoutTouchleaveBound)}},{key:"_handleRangeChange",value:function(){e(this.value).html(this.$el.val()),e(this.thumb).hasClass("active")||this._showRangeBubble();var t=this._calcRangeOffset();e(this.thumb).addClass("active").css("left",t+"px")}},{key:"_handleRangeMousedownTouchstart",value:function(t){if(e(this.value).html(this.$el.val()),this._mousedown=!0,this.$el.addClass("active"),e(this.thumb).hasClass("active")||this._showRangeBubble(),"input"!==t.type){var i=this._calcRangeOffset();e(this.thumb).addClass("active").css("left",i+"px")}}},{key:"_handleRangeInputMousemoveTouchmove",value:function(){if(this._mousedown){e(this.thumb).hasClass("active")||this._showRangeBubble();var t=this._calcRangeOffset();e(this.thumb).addClass("active").css("left",t+"px"),e(this.value).html(this.$el.val())}}},{key:"_handleRangeMouseupTouchend",value:function(){this._mousedown=!1,this.$el.removeClass("active")}},{key:"_handleRangeBlurMouseoutTouchleave",value:function(){if(!this._mousedown){var i=7+parseInt(this.$el.css("padding-left"))+"px";e(this.thumb).hasClass("active")&&(t.remove(this.thumb),t({targets:this.thumb,height:0,width:0,top:10,easing:"easeOutQuad",marginLeft:i,duration:100})),e(this.thumb).removeClass("active")}}},{key:"_setupThumb",value:function(){this.thumb=document.createElement("span"),this.value=document.createElement("span"),e(this.thumb).addClass("thumb"),e(this.value).addClass("value"),e(this.thumb).append(this.value),this.$el.after(this.thumb)}},{key:"_removeThumb",value:function(){e(this.thumb).remove()}},{key:"_showRangeBubble",value:function(){var i=-7+parseInt(e(this.thumb).parent().css("padding-left"))+"px";t.remove(this.thumb),t({targets:this.thumb,height:30,width:30,top:-30,marginLeft:i,duration:300,easing:"easeOutQuint"})}},{key:"_calcRangeOffset",value:function(){var e=this.$el.width()-15,t=parseFloat(this.$el.attr("max"))||100,i=parseFloat(this.$el.attr("min"))||0;return(parseFloat(this.$el.val())-i)/(t-i)*e}}],[{key:"init",value:function(e,t){return s(u.__proto__||Object.getPrototypeOf(u),"init",this).call(this,this,e,t)}},{key:"getInstance",value:function(e){return(e.jquery?e[0]:e).M_Range}},{key:"defaults",get:function(){return i}}]),u}(u);M.Range=n,M.jQueryLoaded&&M.initializeJqueryWrapper(n,"range","M_Range"),n.init(e("input[type=range]"))}(cash,M.anime)}).call(this,i(6))},function(e,t){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(e){"object"==typeof window&&(i=window)}e.exports=i},function(e,t,i){"use strict";i.r(t);var n=i(0);class s{constructor(e){this.steps=["restore-script-upload-step","backup-upload-step","restore-remote-backup-step","restore-remote-database-step","restore-finish-step"],this.ajaxurl=location.origin+ajaxurl+"?action=restore_backup",this.restore_script_url="",this.cancel=!1,this.upload_file_event=new Event("upload_file_event"),this.resume={},this.hash=e,this.file_counter=0,document.addEventListener("backup_upload_finish",(function(e){jQuery(".xcloner-restore .backup-upload-step .toggler").removeClass("cancel")}),!1),document.addEventListener("remote_restore_backup_finish",(function(e){jQuery(".xcloner-restore .restore-remote-backup-step .toggler").removeClass("cancel")}),!1),document.addEventListener("remote_restore_mysql_backup_finish",(function(e){jQuery(".xcloner-restore .restore-remote-database-step .toggler").removeClass("cancel")}),!1),document.addEventListener("restore_script_invalid",(function(e){jQuery(".xcloner-restore #restore_script_url").addClass("invalid").removeClass("valid"),jQuery(".xcloner-restore #validate_url .material-icons").text("error")}),!1),document.addEventListener("restore_script_valid",(function(e){jQuery(".xcloner-restore #validate_url .material-icons").text("check_circle"),jQuery(".xcloner-restore #restore_script_url").removeClass("invalid").addClass("valid")}),!1),document.addEventListener("xcloner_populate_remote_backup_files_list",(function(e){var t=e.detail.files,i=jQuery(".xcloner-restore #remote_backup_file").val();for(var n in jQuery(".xcloner-restore #remote_backup_file").find("option").not(":first").remove(),t){var s="not-selected";(t[n].selected||i==t[n].path)&&(s="selected"),jQuery(".xcloner-restore #remote_backup_file").append("<option value='"+t[n].path+"' "+s+">"+t[n].path+"("+e.detail.$this.getSize(t[n].file_size)+" MB)</option>").addClass("file")}}),!1),document.addEventListener("xcloner_populate_remote_mysqldump_files_list",(function(e){var t=e.detail.files,i=jQuery(".xcloner-restore #remote_database_file").val();for(var n in jQuery(".xcloner-restore #remote_database_file").find("option").not(":first").remove(),t){if(t[n].selected||i==t[n].path)var s="selected";else s="not-selected";jQuery(".xcloner-restore #remote_database_file").append("<option value='"+t[n].path+"' "+s+">"+t[n].path+"("+e.detail.$this.getSize(t[n].size)+" MB) "+t[n].timestamp+"</option>").addClass("file")}}),!1),document.addEventListener("xcloner_restore_next_step",(function(e){if(void 0!==e.detail.$this){var t=e.detail.$this;jQuery(".xcloner-restore li."+t.steps[t.set_current_step]).show().find(".collapsible-header").trigger("click")}}),!1),document.addEventListener("xcloner_restore_update_progress",(function(e){void 0!==e.detail.percent&&(jQuery(".xcloner-restore .steps.active .progress").show(),"indeterminate"==e.detail.class&&jQuery(".xcloner-restore .steps.active .progress > div").addClass(e.detail.class).removeClass("determinate"),"determinate"==e.detail.class&&jQuery(".xcloner-restore .steps.active .progress > div").addClass(e.detail.class).removeClass("indeterminate"),100==e.detail.percent?jQuery(".xcloner-restore .steps.active .progress > div").removeClass("indeterminate").addClass("determinate").css("width",e.detail.percent+"%"):jQuery(".xcloner-restore .steps.active .progress .determinate").css("width",e.detail.percent+"%"))}),!1),document.addEventListener("xcloner_restore_display_status_text",(function(e){void 0===e.detail.status&&(e.detail.status="updated"),void 0!==e.detail.message&&jQuery(".xcloner-restore .steps.active .status").html("<div class='"+e.detail.status+"'>"+e.detail.message+"</div>")}),!1),document.addEventListener("xcloner_populate_remote_restore_path",(function(e){void 0!==e.detail.dir&&(jQuery(".xcloner-restore #remote_restore_path").val()||jQuery(".xcloner-restore #remote_restore_path").val(e.detail.dir)),void 0!==e.detail.restore_script_url&&(jQuery(".xcloner-restore #remote_restore_url").val()||jQuery(".xcloner-restore #remote_restore_url").val(e.detail.restore_script_url),jQuery(".xcloner-restore #remote_restore_site_url").val()||jQuery(".xcloner-restore #remote_restore_site_url").val(e.detail.restore_script_url),jQuery(".xcloner-restore #remote_mysql_host").val()||jQuery(".xcloner-restore #remote_mysql_host").val(e.detail.remote_mysql_host),jQuery(".xcloner-restore #remote_mysql_db").val()||jQuery(".xcloner-restore #remote_mysql_db").val(e.detail.remote_mysql_db),jQuery(".xcloner-restore #remote_mysql_user").val()||jQuery(".xcloner-restore #remote_mysql_user").val(e.detail.remote_mysql_user),jQuery(".xcloner-restore #remote_mysql_pass").val()||jQuery(".xcloner-restore #remote_mysql_pass").val(e.detail.remote_mysql_pass))}),!1),document.addEventListener("remote_restore_update_files_list",(function(e){if(void 0!==e.detail.files&&e.detail.files.length){for(var t=[],i=0;i<20;i++)t[i]="<li>"+e.detail.files[i]+"</li>";jQuery(".xcloner-restore .restore-remote-backup-step .files-list").is(":hidden")||(jQuery(".xcloner-restore .restore-remote-backup-step .files-list").html(t.reverse().join("\n")),e.detail.files.length>20&&jQuery(".xcloner-restore .restore-remote-backup-step .files-list").append("<li>..."+(e.detail.files.length-20)+" more</li>"))}else jQuery.isArray(e.detail.files)||jQuery(".xcloner-restore .restore-remote-backup-step .files-list").html("")}),!1),document.addEventListener("xcloner_restore_display_query_box",(function(e){e.detail.query?(jQuery(".xcloner-restore .query-box").show(),jQuery(".xcloner-restore .query-list").val(e.detail.query)):(jQuery(".xcloner-restore .query-box").hide(),jQuery(".xcloner-restore .query-list").val(""))}),!1),document.addEventListener("xcloner_restore_finish",(function(e){jQuery(".xcloner-restore #xcloner_restore_finish").show(),jQuery("#restore_finish").hide()}),!1)}get_remote_backup_files_callback(e,t){if(t){var i=e.statusText.files;document.dispatchEvent(new CustomEvent("xcloner_populate_remote_backup_files_list",{detail:{files:i,$this:this}}))}}get_remote_backup_files(){this.set_cancel(!1);var e={};e.local_backup_file=jQuery(".xcloner-restore .backup-upload-step #backup_file").val(),this.do_ajax("get_remote_backup_files_callback","list_backup_archives",e,!0),this.get_remote_restore_path_default()}get_remote_mysqldump_files_callback(e,t){if(t){var i=e.statusText.files;document.dispatchEvent(new CustomEvent("xcloner_populate_remote_mysqldump_files_list",{detail:{files:i,$this:this}}))}}get_remote_mysqldump_files(){if(this.set_cancel(!1),this.resume.callback="","get_remote_mysqldump_files_callback"==this.resume.callback)return this.do_ajax(this.resume.callback,this.resume.action,this.resume.params),void(this.resume={});var e={};e.backup_file=this.get_backup_file(),e.remote_path=this.get_remote_path(),this.do_ajax("get_remote_mysqldump_files_callback","list_mysqldump_backups",e,!0)}get_backup_file(){return jQuery(".xcloner-restore #remote_backup_file").val()}get_remote_path(){return jQuery(".xcloner-restore #remote_restore_path").val()}get_remote_restore_path_default_callback(e,t,i={}){t&&document.dispatchEvent(new CustomEvent("xcloner_populate_remote_restore_path",{detail:e.statusText}))}get_remote_restore_path_default(){this.set_cancel(!1);var e={};e.restore_script_url=this.restore_script_url,this.do_ajax("get_remote_restore_path_default_callback","get_current_directory",e,!0)}remote_restore_backup_file_callback(e,t,i={}){if(!t)return document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:e.status+" "+e.statusText}})),document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:100}})),void document.dispatchEvent(new CustomEvent("remote_restore_backup_finish"));var n=parseInt(e.statusText.start)+parseInt(e.statusText.processed);if(e.statusText.extracted_files&&document.dispatchEvent(new CustomEvent("remote_restore_update_files_list",{detail:{files:e.statusText.extracted_files}})),!e.statusText.finished)return i.start=e.statusText.start,i.part=e.statusText.part,i.processed=e.statusText.processed,document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:"Processing <strong>"+e.statusText.backup_file+"</strong>- processed "+this.getSize(n,1024)+" KB from archive"}})),void this.do_ajax("remote_restore_backup_file_callback","restore_backup_to_path",i,!0);document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:100}})),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:"Done restoring <strong>"+e.statusText.backup_file+"</strong>."}})),document.dispatchEvent(new CustomEvent("remote_restore_backup_finish")),this.cancel=!1}remote_restore_backup_file(){var e={};if(e.backup_file=this.get_backup_file(),e.remote_path=this.get_remote_path(),e.filter_files=jQuery(".xcloner-restore input[name=filter_files]:checked").val(),"remote_restore_backup_file_callback"==this.resume.callback)return this.do_ajax(this.resume.callback,this.resume.action,this.resume.params),void(this.resume={});document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0,class:"indeterminate"}})),document.dispatchEvent(new CustomEvent("remote_restore_update_files_list",{detail:{files:""}})),this.do_ajax("remote_restore_backup_file_callback","restore_backup_to_path",e,!0)}remote_restore_mysql_backup_file_callback(e,t,i={}){if(!e)return this.set_cancel(!0),void document.dispatchEvent(new CustomEvent("remote_restore_mysql_backup_finish"));if(!t)return this.start=e.statusText.start,document.dispatchEvent(new CustomEvent("xcloner_restore_display_query_box",{detail:{query:e.statusText.query}})),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:e.status+" "+e.statusText.message}})),void document.dispatchEvent(new CustomEvent("remote_restore_mysql_backup_finish"));document.dispatchEvent(new CustomEvent("xcloner_restore_display_query_box",{detail:{query:""}})),i.query="";parseInt(e.statusText.start),parseInt(e.statusText.processed);if(!e.statusText.finished){i.start=e.statusText.start,i.processed=e.statusText.processed,this.start=i.start;var n=0;return e.statusText.backup_size&&(n=100*parseInt(e.statusText.start)/parseInt(e.statusText.backup_size)),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:"Processing <strong>"+e.statusText.backup_file+"</strong>- wrote "+this.getSize(e.statusText.start,1024)+" KB of data"}})),document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:n}})),void this.do_ajax("remote_restore_mysql_backup_file_callback","restore_mysql_backup",i,!0)}document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:100}})),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:"Done restoring <strong>"+e.statusText.backup_file+"</strong>."}})),document.dispatchEvent(new CustomEvent("remote_restore_mysql_backup_finish")),this.cancel=!1}remote_restore_mysql_backup_file(e){this.set_cancel(!1);var t={};if(t.remote_mysql_host=jQuery(".xcloner-restore #remote_mysql_host").val(),t.remote_mysql_db=jQuery(".xcloner-restore #remote_mysql_db").val(),t.remote_mysql_user=jQuery(".xcloner-restore #remote_mysql_user").val(),t.remote_mysql_pass=jQuery(".xcloner-restore #remote_mysql_pass").val(),t.remote_path=jQuery(".xcloner-restore #remote_restore_path").val(),t.wp_home_url=jQuery(".xcloner-restore #wp_home_url").val(),t.remote_restore_url=jQuery(".xcloner-restore #remote_restore_url").val(),jQuery(".xcloner-restore #wp_site_url").length&&(t.wp_site_url=jQuery(".xcloner-restore #wp_site_url").val(),t.restore_site_url=jQuery(".xcloner-restore #remote_restore_site_url").val()),t.mysqldump_file=e,t.query="",t.start=0,jQuery(".xcloner-restore .query-box .query-list").val()&&(t.query=jQuery(".xcloner-restore .query-box .query-list").val(),t.start=this.start),document.dispatchEvent(new CustomEvent("xcloner_restore_display_query_box",{detail:{query:""}})),"remote_restore_mysql_backup_file_callback"==this.resume.callback)return this.do_ajax(this.resume.callback,this.resume.action,this.resume.params),void(this.resume={});this.do_ajax("remote_restore_mysql_backup_file_callback","restore_mysql_backup",t,!0)}restore_finish_callback(e,t,i={}){if(!t)return document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:e.statusText,$this:this}})),!1;document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:e.statusText,$this:this}})),document.dispatchEvent(new CustomEvent("xcloner_restore_finish",{detail:{message:e.statusText,$this:this}}))}restore_finish(){this.set_cancel(!1);var e={};e.backup_archive=jQuery(".xcloner-restore #remote_backup_file").val(),e.remote_mysql_host=jQuery(".xcloner-restore #remote_mysql_host").val(),e.remote_mysql_db=jQuery(".xcloner-restore #remote_mysql_db").val(),e.remote_mysql_user=jQuery(".xcloner-restore #remote_mysql_user").val(),e.remote_mysql_pass=jQuery(".xcloner-restore #remote_mysql_pass").val(),e.remote_path=jQuery(".xcloner-restore #remote_restore_path").val(),e.remote_restore_url=jQuery(".xcloner-restore #remote_restore_url").val(),e.delete_backup_temporary_folder=0,e.delete_restore_script=0,e.update_remote_site_url=0,jQuery(".xcloner-restore #delete_backup_temporary_folder").is(":checked")&&(e.delete_backup_temporary_folder=1),jQuery(".xcloner-restore #delete_restore_script").is(":checked")&&(e.delete_restore_script=1),jQuery(".xcloner-restore #update_remote_site_url").is(":checked")&&(e.update_remote_site_url=1),jQuery(".xcloner-restore #delete_backup_archive").is(":checked")&&(e.delete_backup_archive=1),this.do_ajax("restore_finish_callback","restore_finish",e,!0)}upload_backup_file(e){var t={};if(this.set_cancel(!1),"upload_backup_file_callback"==this.resume.callback)return this.do_ajax(this.resume.callback,this.resume.action,this.resume.params),void(this.resume={});t.file=e,t.start=0,t.target_url=this.restore_script_url,t.action="restore_upload_backup",document.dispatchEvent(new CustomEvent("backup_upload_start")),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:"Uploading backup 0%"}})),document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0}})),this.do_ajax("upload_backup_file_callback","restore_upload_backup",t,!1)}upload_backup_file_callback(e,t,i={}){if(!t)return document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:e.status+" "+e.statusText}})),void document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:100}}));if(e&&(!1!==e.start||e.part<e.total_parts)){var n=0;if(e.total_size){e.start||(e.start=0);var s=parseInt(e.start)+parseInt(e.uploaded_size);n=100*parseInt(s)/parseInt(e.total_size)}var o="";e.part>0&&(o="part "+e.part+" - "),document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:n}})),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:"Uploading backup "+o+parseFloat(n).toFixed(2)+"%"}})),i.start=e.start,i.part=e.part,i.uploaded_size=e.uploaded_size,i.action="restore_upload_backup",this.do_ajax("upload_backup_file_callback","restore_upload_backup",i,!1)}else this.cancel=!1,document.dispatchEvent(new CustomEvent("backup_upload_finish")),document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:100}})),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:"Done."}}))}verify_restore_url_callback(e,t,i=new Object){if(t)document.dispatchEvent(new CustomEvent("restore_script_valid")),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:"Validation ok."}})),this.local_restore?this.next_step(1):this.next_step();else{var n="<a href='"+this.restore_script_url+"' target='_blank'>restore script address</a>";document.dispatchEvent(new CustomEvent("restore_script_invalid")),document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:"Could not access the restore script: "+e.status+" "+e.statusText+". Please check the javascript console for more details. Are you able to see a valid JSON response of the "+n+" in your browser?"}}))}}verify_restore_url(e,t,i={}){"http://"==this.restore_script_url||"https://"==this.restore_script_url||""==this.restore_script_url||void 0===this.restore_script_url?(this.restore_script_url=ajaxurl+"?action=restore_backup",this.local_restore=1,jQuery("#delete_backup_archive").attr("disabled","disabled").removeAttr("checked"),jQuery("#delete_restore_script").attr("disabled","disabled").removeAttr("checked")):(this.local_restore=0,jQuery("#delete_restore_script").attr("checked","checked").removeAttr("disabled")),1==this.local_restore?(jQuery(".restore-remote-backup-step #filter_files_all").removeAttr("checked").attr("disabled","disabled"),jQuery(".restore-remote-backup-step #filter_files_wp_content").attr("checked","checked")):(jQuery(".restore-remote-backup-step #filter_files_all").removeAttr("disabled").attr("checked","checked"),jQuery(".restore-remote-backup-step #filter_files_wp_content").removeAttr("checked")),jQuery(".xcloner-restore #xcloner_restore_finish").hide(),this.cancel=!1,this.set_current_step=0,this.do_ajax("verify_restore_url_callback","",i,!0)}open_target_site(e){var t=jQuery(".xcloner-restore #remote_restore_url").val();t||jQuery(".xcloner-restore #wp_home_url").val(),jQuery(e).attr("href",t)}next_step(e=0){this.set_current_step=jQuery(".xcloner-restore li.active").attr("data-step"),this.set_current_step=parseInt(this.set_current_step)+parseInt(e),document.dispatchEvent(new CustomEvent("xcloner_restore_next_step",{detail:{$this:this}}))}list_backup_content_callback(e,t,i={}){if(e.error)return jQuery("#backup_cotent_modal .files-list").addClass("error").prepend(e.statusText),void jQuery("#backup_cotent_modal .progress > div").addClass("determinate").removeClass(".indeterminate").css("width","100%");var n=[];for(var s in e.files)this.file_counter++,n[s]="<li>"+this.file_counter+". <span title='"+e.files[s].mtime+"'>"+e.files[s].path+"</span> ("+e.files[s].size+" bytes)</li>";jQuery("#backup_cotent_modal .modal-content .files-list").prepend(n.reverse().join("\n")),!e.finished&&jQuery("#backup_cotent_modal").is(":visible")?(i.start=e.start,i.part=e.part,this.do_ajax("list_backup_content_callback","list_backup_files",i)):jQuery("#backup_cotent_modal .progress > div").addClass("determinate").removeClass(".indeterminate").css("width","100%")}list_backup_content(e){this.file_counter=0,jQuery("#backup_cotent_modal .modal-content .files-list").text("").removeClass("error"),jQuery("#backup_cotent_modal .modal-content .backup-name").text(e);var t=document.querySelector("#backup_cotent_modal");M.Modal.init(t).open(),jQuery("#backup_cotent_modal .progress > div").removeClass("determinate").addClass("indeterminate");var i={};i.file=e,i.start=0,i.part=0,this.do_ajax("list_backup_content_callback","list_backup_files",i)}init_resume(){this.resume={},jQuery(".xcloner-restore .steps.active .progress").is(":visible")&&document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0}})),jQuery(".xcloner-restore .steps.active .status").html()&&document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{message:""}})),document.dispatchEvent(new CustomEvent("remote_restore_update_files_list",{detail:{files:""}}))}do_ajax(e,t="",i={},s=!1){if(i.xcloner_action=t,i.hash=this.hash,i.API_ID=Object(n.ID)(),void 0!==typeof XCLONER_WPNONCE&&(i._wpnonce=XCLONER_WPNONCE),!0===this.cancel)return this.resume.callback=e,this.resume.action=t,void(this.resume.params=i);var o=this;jQuery(".xcloner-restore .steps.active").addClass("active_status");var a=s?this.restore_script_url:this.ajaxurl,r=new URL(a);this.request=jQuery.ajax({url:a,dataType:"json",type:"POST",crossDomain:!0,data:i,username:r.username,password:r.password,error:function(n,s,a){o.resume.callback=e,o.resume.action=t,o.resume.params=i,document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:n.status+" "+n.statusText}})),o[e](n,!1)}}).done((function(n){n||(o.resume.callback=e,o.resume.action=t,o.resume.params=i,document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:"Lost connection with the API, please try and authentificate again"}}))),n&&200!=n.status?n.error?document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:n.message}})):o[e](n,!1,i):o[e](n,!0,i)}))}set_restore_script_url(e){this.restore_script_url=e}set_current_step(e){this.set_current_step=e}set_cancel(e){e&&document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0,class:"determinate"}})),this.cancel=e}get_cancel(e){return this.cancel}getSize(e,t=1048576){return(e/t).toFixed(2)}}jQuery(document).ready((function(){if("undefined"!=typeof xcloner_auth_key)var e=new s(xcloner_auth_key);else e=new s;e.set_current_step(0),jQuery(".col select").formSelect(),jQuery(".xcloner-restore .upload-backup.cancel").on("click",(function(){e.set_cancel(!0)})),jQuery(".xcloner-restore .upload-backup").on("click",(function(){jQuery(this).hasClass("cancel")?e.set_cancel(!0):e.set_cancel(!1);var t=jQuery(".xcloner-restore #backup_file").val();t?(jQuery(this).parent().toggleClass("cancel"),e.get_cancel()||e.upload_backup_file(t)):document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:"Please select a backup file from the list above"}}))})),jQuery(".xcloner-restore #validate_url").on("click",(function(){e.set_restore_script_url(jQuery(".xcloner-restore #restore_script_url").val()),e.verify_restore_url()})),jQuery(".xcloner-restore #skip_upload_backup").on("click",(function(){e.set_cancel(!0),e.next_step()})),jQuery(".xcloner-restore #skip_restore_remote_database_step").on("click",(function(){e.set_cancel(!0),e.next_step()})),jQuery(".xcloner-restore li.steps").on("click",(function(){e.set_current_step=jQuery(this).attr("data-step")-1})),jQuery(".xcloner-restore #skip_remote_backup_step").on("click",(function(){e.set_cancel(!0),e.next_step()})),jQuery(".xcloner-restore .restore-remote-backup-step .collapsible-header").click((function(){e.get_remote_backup_files()})),jQuery(".xcloner-restore .restore-remote-database-step .collapsible-header").click((function(){e.get_remote_mysqldump_files()})),jQuery(".xcloner-restore #remote_backup_file").on("change",(function(){e.init_resume()})),jQuery(".xcloner-restore #backup_file").on("change",(function(){e.init_resume()})),jQuery(".xcloner-restore #restore_finish").click((function(){e.restore_finish()})),jQuery(".xcloner-restore #open_target_site a").click((function(){e.open_target_site(this)})),jQuery(".xcloner-restore #refresh_remote_backup_file").on("click",(function(t){document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0}})),e.resume={},e.get_remote_backup_files(),t.stopPropagation()})),jQuery(".xcloner-restore #refresh_database_file").on("click",(function(t){document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0}})),e.resume={},e.get_remote_mysqldump_files(),t.stopPropagation()})),jQuery(".xcloner-restore #toggle_file_restore_display").on("click",(function(e){jQuery(".xcloner-restore .restore-remote-backup-step .files-list").toggle()})),jQuery(".xcloner-restore .restore_remote_mysqldump").on("click",(function(t){jQuery(this).hasClass("cancel")?e.set_cancel(!0):e.set_cancel(!1),this.remote_database_file=jQuery(".xcloner-restore #remote_database_file").val(),this.remote_database_file?(jQuery(this).parent().toggleClass("cancel"),e.get_cancel()||(document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0,class:"determinate"}})),e.remote_restore_mysql_backup_file(this.remote_database_file))):document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:"Please select a mysqld backup file from the list"}}))})),jQuery(".xcloner-restore .list-backup-content").on("click",(function(t){var i=jQuery(".xcloner-restore #remote_backup_file").val();i&&e.list_backup_content(i),t.preventDefault()})),jQuery(".xcloner-restore .restore-remote-backup-step .restore_remote_backup").click((function(){e.set_cancel(jQuery(this).hasClass("cancel")),this.backup_file=jQuery(".xcloner-restore #remote_backup_file").val(),this.backup_file?(jQuery(this).parent().toggleClass("cancel"),e.get_cancel()||(document.dispatchEvent(new CustomEvent("xcloner_restore_update_progress",{detail:{percent:0,class:"indeterminate"}})),e.remote_restore_backup_file())):document.dispatchEvent(new CustomEvent("xcloner_restore_display_status_text",{detail:{status:"error",message:"Please select a backup file from the list above"}}))}))}))},function(e,t,i){"use strict";i.r(t);var n,s=i(0);document.addEventListener("DOMContentLoaded",(function(){var e=document.querySelector("#edit_schedule");n=M.Modal.init(e)})),jQuery(document).ready((function(){var e=new class{constructor(){this.edit_modal=jQuery("#edit_schedule")}get_form_params(){}get_schedule_by_id(e){var t=this;e&&jQuery.ajax({url:XCLONER_AJAXURL,data:{action:"get_schedule_by_id",id:e},success:function(i){i.id==e&&t.create_modal(i)},dataType:"json"})}delete_schedule_by_id(e,t,i){e&&jQuery.ajax({url:XCLONER_AJAXURL,data:{action:"delete_schedule_by_id",id:e},success:function(e){jQuery(t).parents("tr").remove(),i.row(jQuery(t).parents("tr")).remove().draw()},dataType:"json"})}create_modal(e){this.edit_modal.find("#schedule_id").text(e.id),1==e.status?this.edit_modal.find("#status").attr("checked","checked"):this.edit_modal.find("#status").removeAttr("checked"),this.edit_modal.find("#schedule_id").text(e.id),this.edit_modal.find("#schedule_id_hidden").val(e.id),this.edit_modal.find("#schedule_name").val(e.name),this.edit_modal.find("#backup_name").val(e.backup_params.backup_name),this.edit_modal.find("#email_notification").val(e.backup_params.email_notification),this.edit_modal.find("#diff_start_date").val(e.backup_params.diff_start_date),this.edit_modal.find('#schedule_frequency>option[value="'+e.recurrence+'"]').prop("selected",!0),this.edit_modal.find('#backup_type>option[value="'+e.backup_type+'"]').prop("selected",!0),this.edit_modal.find('#schedule_storage>option[value="'+e.remote_storage+'"]').prop("selected",!0),this.edit_modal.find("#schedule_start_date").val(e.start_at),void 0!==e.backup_params.backup_encrypt&&1==e.backup_params.backup_encrypt&&this.edit_modal.find("#backup_encrypt").attr("checked","checked"),void 0!==e.backup_params.backup_delete_after_remote_transfer&&1==e.backup_params.backup_delete_after_remote_transfer&&this.edit_modal.find("#backup_delete_after_remote_transfer").attr("checked","checked");var t=jQuery.parseJSON(e.table_params),i="";for(var s in t)for(var o in t[s])i+=s+"."+t[s][o]+"\n";this.edit_modal.find("#table_params").val(i);var a=jQuery.parseJSON(e.excluded_files),r="";for(var o in a)r+=a[o]+"\n";this.edit_modal.find("#excluded_files").val(r),jQuery(".col select").formSelect(),M.updateTextFields(),n.open()}save_schedule(e,t){var i=jQuery(e).serialize();jQuery.ajax({url:XCLONER_AJAXURL,dataType:"json",type:"POST",data:i,error:function(e){alert("Error saving schedule!")}}).done((function(e){void 0===e.error?(n.close(),t.ajax.reload()):alert("Error saving schedule!"+e.error)}))}IsJsonString(e){try{JSON.parse(e)}catch(e){return!1}return!0}};jQuery("select[required]").css({display:"block",height:0,padding:0,width:0,position:"absolute"});let t=jQuery("#scheduled_backups").DataTable({responsive:!0,bFilter:!1,order:[[3,"desc"]],buttons:["selectAll","selectNone"],language:{emptyTable:"No schedules available",buttons:{selectAll:"Select all items",selectNone:"Select none"}},columnDefs:[{targets:"no-sort",orderable:!1},{className:"hide-on-med-and-down",targets:[3,5]}],ajax:XCLONER_AJAXURL+"&action=get_scheduler_list",fnDrawCallback:function(i){jQuery(this).off("click",".edit").on("click",".edit",(function(){var t=jQuery(this).attr("href").substr(1);e.get_schedule_by_id(t)})),jQuery(this).off("click",".delete").on("click",".delete",(function(){var i=jQuery(this).attr("href").substr(1);if(confirm("Are you sure you want to delete it?"))e.delete_schedule_by_id(i,this,t)})),jQuery("span.shorten_string").each((function(){Object(s.doShortText)(jQuery(this))})),jQuery("span.shorten_string").click((function(){jQuery(this).toggleClass("full"),Object(s.doShortText)(jQuery(this))}))}});jQuery("#save_schedule").on("submit",(function(){return e.save_schedule(jQuery(this),t),!1})),"function"==typeof jQuery(".timepicker").pickatime&&jQuery(".timepicker").pickatime({default:"now",min:[7,30],twelvehour:!1,donetext:"OK",autoclose:!1,vibrate:!0}),"function"==typeof jQuery(".timepicker").pickadate&&(jQuery(".datepicker").pickadate({format:"d mmmm yyyy",selectMonths:!0,selectYears:15,min:.1,onSet:function(){}}),jQuery(".datepicker_max_today").pickadate({format:"yyyy-mm-dd",selectMonths:!0,selectYears:15,max:.1,onSet:function(){}}))}))}]);
8
  //# sourceMappingURL=index.min.js.map
admin/js/index.min.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["webpack:///admin/js/index.min.js"],"names":["modules","installedModules","__webpack_require__","moduleId","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","__webpack_exports__","error_modal","next_tab","doShortText","show_ajax_error","ID","getUrlParam","_xcloner_remote_storage_class__WEBPACK_IMPORTED_MODULE_0__","_xcloner_backup_class__WEBPACK_IMPORTED_MODULE_1__","_xcloner_manage_backups_class__WEBPACK_IMPORTED_MODULE_2__","document","addEventListener","Modalelem","querySelector","M","Modal","init","jQuery","ready","tooltip","collapsible","click","this","toggleClass","each","on","fadeIn","select","toggle","e","xcloner_manage_backups","id","attr","substr","download_backup_by_name","preventDefault","removeClass","find","addClass","location","hash","window","replace","trigger","elem","hasClass","text","text_lenght","length","first","last","title","msg","json","xcloner_backup","cancel_backup","undefined","responseText","status","statusText","JSON","stringify","open","Math","random","toString","search","split","remote_storage","dataTable","Xcloner_Manage_Backups","backup_cotent_modal","backup_encryption_modal","backup_decryption_modal","remote_storage_modal","local_storage_upload_modal","constructor","file_counter","storage_selection","XCLONER_AJAXURL","delete_backup_by_name","ajax","url","method","data","action","success","response","finished","row","parents","remove","draw","alert","dataType","list_backup_content_callback","backup_file","start","part","$this","file","error","prepend","message","css","files_text","files","total_size","parseInt","mtime","path","size","reverse","join","is","xhr","textStatus","list_backup_content","backup_encryption_callback","iv","percent","processing_file","show","reload","backup_encryption","hide","backup_decryption_callback","decryption_key","val","backup_decryption","cloud_upload","delete_after_transfer","updateTextFields","formSelect","off","storage_type","copy_remote_to_local","Xcloner_Remote_Storage","toggle_status","field","Xcloner_Backup","cancel","params","last_dumpfile","last_backup_file","backup_part","backup_size_total","resume","get_form_params","table_params","files_params","jstree","parent","index","$return","backup_params","serializeArray","do_backup_database_callback","extra","stats","tables_count","database_count","total_records","tableName","databaseName","processedRecords","startAtRecord","endDump","records","dumpfile","db_text","getSize","dumpsize","html","prependTo","do_ajax","do_backup_files","do_backup_database","do_scan_filesystem_callback","total_files_num","total_files_size","parseFloat","toFixed","last_logged_file","do_scan_filesystem","do_backup_files_callback","start_at_line","backup_size","processed_file","start_at_byte","processed_size","processed_file_size","backup_text","backup_archive_name_full","backup_archive_name","lines_total","backup_parent","do_backup_encryption","do_remote_storage_upload","do_backup_done","do_backup_encryption_callback","do_upload_backup_to_remote_callback","backup_name","delete_backup_after_transfer","Number","set_cancel","do_save_schedule_callback","restart_backup","start_backup","get_cancel","init_resume","callback","type","API_ID","err","done","error_message","bytes","conv","global","__WEBPACK_AMD_DEFINE_RESULT__","_get","receiver","Function","desc","getOwnPropertyDescriptor","getPrototypeOf","_createClass","defineProperties","target","props","descriptor","configurable","writable","Constructor","protoProps","staticProps","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","TypeError","setPrototypeOf","__proto__","_classCallCheck","instance","cash","frag","doc","win","ArrayProto","Array","slice","filter","push","noop","isFunction","item","isString","idMatch","classMatch","htmlMatch","singlet","selector","context","test","getElementsByClassName","getElementsByTagName","querySelectorAll","parseHTML","str","base","implementation","createHTMLDocument","createElement","href","head","appendChild","body","innerHTML","childNodes","onReady","fn","readyState","Init","elems","getElementById","nodeType","splice","map","collection","matches","el","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","getCompareFunction","unique","indexOf","extend","args","arguments","merge","second","len","j","isArray","isNumeric","isNaN","isFinite","uid","Date","now","getDataCache","node","setData","getData","dataset","removeData","removeAttr","v","notWhiteMatch","getClasses","match","classList","contains","RegExp","className","spacedName","add","classes","getAttribute","setAttribute","check","prop","removeAttribute","removeProp","state","eq","comparator","child","children","cache","style","camelRegex","whiteSpace","camelCase","letter","getPrefixedProp","ucProp","charAt","toUpperCase","compute","getComputedStyle","registerEvent","eventName","eventCache","removeEvent","events","removeEventListener","event","encode","encodeURIComponent","getSelectMultiple_","values","options","selected","getSelectSingle_","selectedIndex","getValue","toLowerCase","checked","insertElement","insertBefore","insertContent","insertAdjacentHTML","cloneNode","prefixedProp","lower","getBoundingClientRect","margins","delegate","runOnce","originalCallback","parentNode","finalCallback","apply","one","createEvent","evt","initEvent","dispatchEvent","serialize","query","elements","disabled","tagName","after","insertAfter","append","content","appendTo","before","clone","empty","source","outerHTML","_this","sibling","nextSibling","_this2","removeChild","textContent","docEl","documentElement","position","left","offsetLeft","top","offsetTop","offset","rect","pageYOffset","clientTop","pageXOffset","clientLeft","offsetParent","closest","has","next","nextElementSibling","not","result","prev","previousElementSibling","siblings","factory","Component","classDef","Element","console","Error","ins","getInstance","destroy","$el","els","instances","jquery","NodeList","instancesArr","Package","jQueryLoaded","version","keys","TAB","ENTER","ESC","ARROW_UP","ARROW_DOWN","tabPressed","keyDown","which","initializeJqueryWrapper","plugin","pluginName","classRef","methodOrOptions","AutoInit","root","registry","Autocomplete","Carousel","Chips","Collapsible","Datepicker","Dropdown","Materialbox","Parallax","Pushpin","ScrollSpy","FormSelect","Sidenav","Tabs","TapTarget","Timepicker","Tooltip","FloatingActionButton","objectSelectorString","obj","guid","s4","floor","substring","escapeHash","elementOrParentIsFixed","element","$element","$","$checkElements","isFixed","checkWithinContainer","container","bounding","edges","right","bottom","containerRect","containerBottom","max","innerHeight","scrollLeft","scrollTop","scrolledX","scrolledY","width","innerWidth","height","checkPossibleAlignments","canAlign","spaceOnTop","spaceOnRight","spaceOnBottom","spaceOnLeft","containerAllowsOverflow","overflow","containerHeight","min","containerWidth","elOffsetRect","scrolledYTopEdge","scrolledYBottomEdge","getOverflowParent","parentElement","getIdFromTrigger","getDocumentScrollTop","getDocumentScrollLeft","getTime","throttle","func","wait","timeout","previous","later","leading","remaining","clearTimeout","trailing","setTimeout","$jscomp","scope","set","getGlobal","SYMBOL_PREFIX","initSymbol","symbolCounter_","initSymbolIterator","iterator","arrayIterator","iteratorPrototype","array","iteratorFromArray","String","u","polyfill","$jscomp$this","anime","a","h","col","b","f","k","reduce","concat","arr","HTMLCollection","some","C","D","z","und","T","exec","U","y","V","I","fnc","total","E","getPropertyValue","J","dom","W","svg","X","transform","K","L","F","sqrt","pow","x","points","numberOfItems","getItem","N","getTotalLength","PI","Y","getPointAtLength","atan2","O","pth","totalLength","rgb","hex","hsl","original","numbers","strings","P","Z","aa","duration","delay","ba","ca","A","Q","da","tweens","to","w","from","end","easing","elasticity","isPath","isColor","round","ea","animatable","R","fa","ga","S","targets","animatables","animations","q","Promise","g","reversed","ha","currentValue","H","currentTime","progress","G","seek","began","direction","pause","completed","reset","loop","paused","tick","speed","play","B","ia","restart","autoplay","update","begin","run","complete","SVGElement","Float32Array","abs","sin","asin","In","Out","InOut","linear","forEach","attribute","requestAnimationFrame","cancelAnimationFrame","running","setDashoffset","bezier","easings","timeline","anim","_defaults","accordion","onOpenStart","onOpenEnd","onCloseStart","onCloseEnd","inDuration","outDuration","_Component","_this3","M_Collapsible","defaults","$headers","_setupEventHandlers","$activeBodies","_removeEventHandlers","_this4","_handleCollapsibleClickBound","_handleCollapsibleClick","_handleCollapsibleKeydownBound","_handleCollapsibleKeydown","header","_this5","$header","$collapsible","$collapsibleLi","$collapsibleLis","isActive","close","keyCode","_this6","$body","display","paddingTop","paddingBottom","pTop","pBottom","finalHeight","scrollHeight","_this7","padding","_this8","_animateIn","_animateOut","alignment","autoFocus","constrainWidth","coverTrigger","closeOnClick","hover","onItemClick","_Component2","_this9","M_Dropdown","_dropdowns","dropdownEl","$dropdownEl","isOpen","isScrollable","isTouchMoving","focusedIndex","filterQuery","_makeDropdownFocusable","_resetFilterQueryBound","_resetFilterQuery","_handleDocumentClickBound","_handleDocumentClick","_handleDocumentTouchmoveBound","_handleDocumentTouchmove","_handleDropdownClickBound","_handleDropdownClick","_handleDropdownKeydownBound","_handleDropdownKeydown","_handleTriggerKeydownBound","_handleTriggerKeydown","_resetDropdownStyles","_handleMouseEnterBound","_handleMouseEnter","_handleMouseLeaveBound","_handleMouseLeave","_handleClickBound","_handleClick","toEl","toElement","relatedTarget","leaveToDropdownContent","leaveToActiveDropdownTrigger","$closestTrigger","_this10","$target","itemEl","focusedElement","$activatableElement","newFocusedIndex","foundNewIndex","tabIndex","_focusFocusedItem","fromCharCode","string","newOptionEl","filterTimeout","opacity","focus","triggerBRect","dropdownBRect","idealHeight","idealWidth","idealXPos","idealYPos","dropdownBounds","closestOverflowParent","alignments","verticalAlignment","horizontalAlignment","oppositeAlignment","_this11","scaleX","scaleY","_this12","positionInfo","_getDropdownPosition","transformOrigin","_placeDropdown","_setupTemporaryEventHandlers","_removeTemporaryEventHandlers","preventScrolling","dismissible","startingTop","endingTop","_Component3","_this13","M_Modal","_openingTrigger","$overlay","_nthModalOpened","_count","_handleOverlayClickBound","_handleOverlayClick","_handleModalCloseClickBound","_handleModalCloseClick","_handleTriggerClick","$trigger","modalId","modalInstance","_modalsOpen","_this14","enterAnimOptions","_this15","exitAnimOptions","zIndex","insertAdjacentElement","_handleKeydownBound","_handleKeydown","_handleFocusBound","_handleFocus","_Component4","_this16","M_Materialbox","overlayActive","doneAnimating","placeholder","originalWidth","originalHeight","originInlineStyles","caption","_handleMaterialboxClickBound","_handleMaterialboxClick","ancestorsChanged","ancestor","curr","_this17","animOptions","newHeight","newWidth","windowWidth","windowHeight","maxWidth","maxHeight","_this18","attrWidth","attrHeight","_this19","_updateVars","_makeAncestorsOverflowVisible","overlayOffset","$photocaption","$photoCaption","ratio","widthPercent","heightPercent","_animateImageIn","_handleWindowScrollBound","_handleWindowScroll","_handleWindowResizeBound","_handleWindowResize","_handleWindowEscapeBound","_handleWindowEscape","_this20","_animateImageOut","responsiveThreshold","_Component5","_this21","M_Parallax","_enabled","$img","_updateParallax","_setupStyles","_parallaxes","_handleImageLoadBound","_handleImageLoad","_handleScrollThrottled","_handleScroll","_handleWindowResizeThrottled","offsetHeight","parallaxDist","parallax","parallaxInstance","onShow","swipeable","Infinity","_Component6","_this22","M_Tabs","$tabLinks","_setupActiveTabLink","_setupSwipeableTabs","_setupNormalTabs","_setTabsAndTabWidth","_createIndicator","_indicator","_teardownSwipeableTabs","_teardownNormalTabs","_handleTabClickBound","_handleTabClick","tabWidth","tabsWidth","_calcLeftPos","$activeTabLink","_calcRightPos","_this23","tab","tabLink","$oldContent","$content","prevIndex","_tabsCarousel","_animateIndicator","_this24","indicator","_this25","$tabsContent","link","$currContent","$tabsWrapper","activeTabIndex","fullWidth","noWrap","onCycleTo","scrollWidth","ceil","leftDelay","rightDelay","tabId","exitDelay","enterDelay","margin","transitionMovement","_Component7","_this26","M_Tooltip","isHovered","isFocused","_appendTooltipEl","tooltipEl","tooltipContentEl","_handleBlurBound","_handleBlur","isManual","_getAttributeOptions","_updateTooltipContent","_setEnterDelayTimeout","_setExitDelayTimeout","_this27","_exitDelayTimeout","_this28","_enterDelayTimeout","newCoordinates","origin","originHeight","originWidth","offsetWidth","tooltipHeight","tooltipWidth","targetTop","targetLeft","xMovement","yMovement","_repositionWithinScreen","newX","newY","_positionTooltip","visibility","translateX","translateY","attributeOptions","tooltipTextOption","positionOption","Waves","$$","convertStyle","Effect","button","ripple","docElem","box","pos","ownerDocument","defaultView","getWindow","relativeY","pageY","relativeX","pageX","scale","clientWidth","touches","rippleStyle","TouchHandler","touchup","ripples","wrapInput","wrapper","elementStyle","replaceChild","allowEvent","allow","showEffect","srcElement","getWavesEffectElement","displayEffect","attach","displayLength","completeCallback","activationPercent","Toast","panning","timeRemaining","_toasts","_createContainer","toastElement","_createToast","M_Toast","_setTimer","toast","HTMLElement","nodeName","_container","_this29","counterInterval","setInterval","dismiss","_this30","clearInterval","activationDistance","wasSwiped","transition","marginTop","_removeContainer","_onDragStart","_onDragMove","_onDragEnd","_draggedToast","startingXPos","_xPos","time","xPos","deltaX","velocityX","totalDeltaX","targetTouches","clientX","toastIndex","edge","draggable","_Component8","_this31","M_Sidenav","isDragged","lastWindowWidth","lastWindowHeight","_createOverlay","_createDragTarget","_setupClasses","_setupFixed","_sidenavs","_enableBodyScrolling","_overlay","dragTarget","overlay","_closeBound","_handleDragTargetDragBound","_handleDragTargetDrag","_handleDragTargetReleaseBound","_handleDragTargetRelease","_handleCloseDragBound","_handleCloseDrag","_handleCloseReleaseBound","_handleCloseRelease","_handleCloseTriggerClickBound","_handleCloseTriggerClick","sidenavId","sidenavInstance","_startingXpos","_time","_width","_initialScrollTop","_verticallyScrolling","currentScrollTop","_isCurrentlyFixed","_startDrag","_dragMoveUpdate","dragDirection","transformX","transformPrefix","percentOpen","_preventBodyScrolling","_animateSidenavIn","_animateOverlayIn","_this32","slideOutPercent","_animateSidenavOut","_animateOverlayOut","_this33","endPercent","_this34","scrollOffset","activeClass","getActiveElement","_Component9","_this35","M_ScrollSpy","_elements","_increment","tickId","_elementsInView","_visibleElements","throttledResize","_handleThrottledResizeBound","scrollspy","_ticks","intersections","_findElements","_enter","_i","_scrollspy","_lastTick","_exit","unshift","_this36","hits","currTop","elTop","elLeft","elRight","elBottom","limit","onAutocomplete","minLength","sortFunction","inputString","_Component10","_this37","M_Autocomplete","count","activeIndex","oldVal","$inputField","$active","_mousedown","_setupDropdown","_removeDropdown","_handleInputBlurBound","_handleInputBlur","_handleInputKeyupAndFocusBound","_handleInputKeyupAndFocus","_handleInputKeydownBound","_handleInputKeydown","_handleInputClickBound","_handleInputClick","_handleContainerMousedownAndTouchstartBound","_handleContainerMousedownAndTouchstart","_handleContainerMouseupAndTouchendBound","_handleContainerMouseupAndTouchend","ontouchstart","_this38","dropdown","selectOption","_resetAutocomplete","_keydown","liElement","numItems","img","matchStart","matchEnd","beforeMatch","matchText","afterMatch","_resetCurrentElement","trim","_this39","matchingData","entry","sort","_entry","$autocompleteOption","_highlight","_renderDropdown","recalculateDimensions","autofocus","validity","badInput","validate_field","hasLength","lenAttr","textareaAutoResize","$textarea","hiddenDiv","fontFamily","fontSize","lineHeight","paddingRight","paddingLeft","input_selector","formReset","M_FormSelect","$inputElement","text_area_selector","path_input","file_names","indicators","interval","Slider","_Component11","_this40","M_Slider","$slider","$slides","_setSliderHeight","_animateCaptionIn","placeholderBase64","_setupIndicators","$indicators","_removeIndicators","_this41","_handleIntervalBound","_handleInterval","_handleIndicatorClickBound","_handleIndicatorClick","_this42","currIndex","newActiveIndex","_this43","$indicator","_this44","$caption","newIndex","$card","$cardReveal","secondaryPlaceholder","autocompleteOptions","onChipAdd","onChipSelect","onChipDelete","_Component12","_this45","M_Chips","chipsData","$chips","_setupInput","hasAutocomplete","$input","_renderChips","_setupAutocomplete","_setPlaceholder","_setupLabel","_handleChipClickBound","_handleChipClick","_handleInputFocusBound","_handleInputFocus","_handleChipsKeydown","_handleChipsKeyup","_handleChipsBlur","$chip","clickedClose","deleteChip","selectChip","autocomplete","addChip","tag","chip","renderedChip","closeIcon","image","firstChild","chipEl","_renderChip","_this46","$label","exists","_isValid","chipIndex","_selectedChip","chipsKeydown","currChips","selectIndex","_selectIndex","_selectIndex2","onPositionChange","_Component13","_this47","M_Pushpin","originalOffset","_pushpins","_updatePosition","_removePinClasses","_updateElements","scrolled","elIndex","hoverEnabled","toolbarEnabled","_Component14","_this48","M_FloatingActionButton","$anchor","$menu","$floatingBtns","$floatingBtnsReverse","offsetY","offsetX","_handleFABClickBound","_handleFABClick","_handleOpenBound","_handleCloseBound","_animateInToolbar","_animateInFAB","_animateOutToolbar","_animateOutFAB","_this49","_this50","scaleFactor","_this51","btnRect","backdrop","fabColor","btnBottom","btnLeft","btnWidth","_this52","autoClose","format","parse","defaultDate","setDefaultDate","disableWeekends","disableDayFn","firstDay","minDate","maxDate","yearRange","minYear","maxYear","minMonth","maxMonth","startRange","endRange","isRTL","showMonthAfterYear","showDaysInNextAndPreviousMonths","showClearBtn","i18n","clear","previousMonth","nextMonth","months","monthsShort","weekdays","weekdaysShort","weekdaysAbbrev","onSelect","onOpen","onClose","onDraw","_Component15","_this53","M_Datepicker","setHours","_setupVariables","_insertHTMLIntoDOM","_setupModal","defDate","_isDate","setDate","setInputValue","gotoDate","modal","modalEl","destroySelects","oldYearSelect","calendarEl","oldMonthSelect","clearBtn","doneBtn","cancelBtn","$modalEl","_this54","_this55","date","label","formats","preventOnSelect","_renderDateDisplay","_setToStartOfDay","firedBy","displayDate","day","getDay","month","getMonth","getDate","yearTextEl","getFullYear","dateTextEl","newCalendar","calendars","firstVisibleDate","year","lastVisibleDate","visibleDate","setMonth","adjustCalendars","adjustCalendar","calendar","randId","opts","days","_getDaysInMonth","yearOfPreviousMonth","yearOfNextMonth","daysInPreviousMonth","cells","isWeekSelected","isSelected","_compareDates","isToday","hasEvent","toDateString","isEmpty","dayNumber","monthNumber","yearNumber","isStartRange","isEndRange","isInRange","dayConfig","isDisabled","_isWeekend","renderDay","renderRow","renderTable","ariaSelected","isRowSelected","renderHead","renderBody","renderDayName","rows","refYear","monthHtml","yearHtml","isMinYear","isMaxYear","force","_y","_m","renderTitle","render","yearSelect","monthSelect","dropdownOptions","_handleYearChange","_handleMonthChange","_handleInputChangeBound","_handleInputChange","_handleCalendarClickBound","_handleCalendarClick","_finishSelectionBound","_finishSelection","_handleClearClickBound","_handleClearClick","_this56","_template","dd","ddd","dddd","mm","mmm","mmmm","yy","yyyy","prevMonth","gotoMonth","gotoYear","abbr","_isLeapYear","dialRadius","outerRadius","innerRadius","tickRadius","defaultTime","fromNow","twelveHour","vibrate","_Component16","_this57","M_Timepicker","_clockSetup","_pickerSetup","_handleClockClickStartBound","_handleClockClickStart","_handleDocumentClickMoveBound","_handleDocumentClickMove","_handleDocumentClickEndBound","_handleDocumentClickEnd","plate","spanHours","showView","spanMinutes","clockPlateBR","x0","y0","moved","clickPos","_Pos","dx","dy","setHand","_this58","currentView","minutesView","hours","minutes","containerEl","_this59","navigator","webkitVibrate","_canvas","hoursView","spanAmPm","footer","amOrPm","$clearBtn","confirmationBtnsContainer","$amBtn","$pmBtn","_handleAmPmClick","_buildHoursView","_buildMinutesView","_buildSVGClock","diameter","_createSVGEl","bearing","hand","bg","$tick","radian","radius","cos","_i2","_tick","_radian","_radius","_addLeadingZero","$btnClicked","_updateAmPmView","getHours","getMinutes","view","isHours","nextView","hideView","resetClock","toggleViewTimer","canvas","roundBy5","_this60","unit","inner","vibrateTimer","cx1","cy1","cx2","cy2","_updateTimeFromInput","clearValue","num","createElementNS","clientY","CharacterCounter","_Component17","_this61","M_CharacterCounter","isInvalid","isValidLength","_setupCounter","_removeCounter","_handleUpdateCounterBound","updateCounter","counterEl","float","maxLength","actualLength","counterString","_validateInput","dist","shift","numVisible","_Component18","_this62","M_Carousel","hasMultipleSlides","showIndicators","pressed","dragged","images","itemWidth","itemHeight","dim","_autoScrollBound","_autoScroll","_trackBound","_track","_setCarouselHeight","xform","every","prefix","_scroll","_this63","_handleCarouselTapBound","_handleCarouselTap","_handleCarouselDragBound","_handleCarouselDrag","_handleCarouselReleaseBound","_handleCarouselRelease","_handleCarouselClickBound","_handleCarouselClick","_handleResize","_this64","verticalDragged","reference","_xpos","referenceY","_ypos","velocity","amplitude","frame","timestamp","ticker","delta","stopPropagation","clickedIndex","_wrap","center","_cycleTo","imageHeight","imageOnly","_this65","firstSlide","firstImage","naturalWidth","naturalHeight","adjustedHeight","slideHeight","elapsed","exp","_this66","scrollingTimeout","half","dir","tween","zTranslation","tweenedOpacity","centerTweenedOpacity","lastCenter","numVisibleOffset","clientHeight","diff","activeIndicator","transformString","_updateItemStyle","_transformString","_transformString2","_transformString3","$currItem","oneTimeCallback","_Component19","_this67","M_TapTarget","$origin","_setup","_calculatePositioning","_handleTargetClickBound","_handleTargetClick","_handleOriginClickBound","_handleOriginClick","originEl","waveEl","contentEl","outerWidth","outerHeight","originTop","originLeft","centerX","centerY","isLeft","isRight","isTop","isBottom","isCenterX","tapTargetWidth","tapTargetHeight","tapTargetTop","tapTargetLeft","tapTargetPosition","tapTargetTextWidth","tapTargetTextHeight","tapTargetTextTop","tapTargetTextLeft","tapTargetTextPadding","tapTargetTextAlign","tapTargetWaveWidth","tapTargetWaveHeight","tapTargetWaveTop","tapTargetWaveLeft","tapTargetWrapperCssObj","tapTargetTextRight","tapTargetTextBottom","verticalAlign","_Component20","_this68","isMultiple","_keysSelected","_valueDict","_this69","_handleSelectChangeBound","_handleSelectChange","_handleOptionClickBound","_handleOptionClick","input","_this70","_setValueToInput","option","placeholderOption","_toggleEntryFromArray","_setSelectedStates","_this71","$selectOptions","optionEl","_appendOptionWithIcon","_addOptionToValueDict","selectOptions","dropdownIcon","selectedOption","disabledClass","optgroupClass","multipleCheckbox","liEl","spanEl","iconUrl","imgEl","notAdded","$optionLi","firstDisabled","optionIsSelected","_activateOption","newOption","selectedValues","Range","_Component21","_this72","M_Range","_setupThumb","_removeThumb","_handleRangeChangeBound","_handleRangeChange","_handleRangeMousedownTouchstartBound","_handleRangeMousedownTouchstart","_handleRangeInputMousemoveTouchmoveBound","_handleRangeInputMousemoveTouchmove","_handleRangeMouseupTouchendBound","_handleRangeMouseupTouchend","_handleRangeBlurMouseoutTouchleaveBound","_handleRangeBlurMouseoutTouchleave","thumb","_showRangeBubble","_calcRangeOffset","marginLeft","_xcloner_admin__WEBPACK_IMPORTED_MODULE_0__","Xcloner_Restore","steps","ajaxurl","upload_file_event","Event","detail","original_value","set_current_step","class","get_remote_backup_files_callback","CustomEvent","get_remote_backup_files","local_backup_file","get_remote_mysqldump_files_callback","get_remote_mysqldump_files","get_backup_file","remote_restore_backup_file_callback","processed","extracted_files","remote_restore_backup_file","filter_files","remote_restore_mysql_backup_file_callback","remote_restore_mysql_backup_file","mysqldump_file","restore_finish_callback","restore_finish","backup_archive","delete_backup_temporary_folder","delete_restore_script","update_remote_site_url","delete_backup_archive","upload_backup_file","upload_backup_file_callback","total_parts","uploaded_size","part_text","open_target_site","next_step","inc","xcloner_action","XCLONER_WPNONCE","_wpnonce","request","crossDomain","xcloner_auth_key","xcloner_restore","remote_database_file","edit_schedule_modal_instance","xcloner_scheduler","edit_modal","get_schedule_by_id","create_modal","delete_schedule_by_id","email_notification","diff_start_date","recurrence","backup_type","start_at","backup_encrypt","backup_delete_after_remote_transfer","tables","parseJSON","tables_list","db","excluded_files","exclude_files_list","save_schedule","form","IsJsonString","DataTable","responsive","bFilter","order","buttons","language","emptyTable","selectAll","selectNone","columnDefs","orderable","fnDrawCallback","oSettings","confirm","pickatime","default","twelvehour","donetext","autoclose","pickadate","selectMonths","selectYears","onSet"],"mappings":";;;;;;CACS,SAAUA,GAET,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAJ,EAAQG,GAAUK,KAAKH,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBO,EAAIT,EAGxBE,EAAoBQ,EAAIT,EAGxBC,EAAoBS,EAAI,SAASP,EAASQ,EAAMC,GAC3CX,EAAoBY,EAAEV,EAASQ,IAClCG,OAAOC,eAAeZ,EAASQ,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEX,EAAoBiB,EAA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Ac,EACdC,YAAa,GACb12C,IAAK,GACL22C,MAAO","file":"./admin/js/index.min.js","sourceRoot":""}
1
+ {"version":3,"sources":["webpack:///admin/js/index.min.js"],"names":["modules","installedModules","__webpack_require__","moduleId","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","__webpack_exports__","error_modal","next_tab","doShortText","show_ajax_error","ID","getUrlParam","_xcloner_remote_storage_class__WEBPACK_IMPORTED_MODULE_0__","_xcloner_backup_class__WEBPACK_IMPORTED_MODULE_1__","_xcloner_manage_backups_class__WEBPACK_IMPORTED_MODULE_2__","document","addEventListener","Modalelem","querySelector","M","Modal","init","jQuery","ready","tooltip","collapsible","click","this","toggleClass","each","on","fadeIn","select","toggle","e","xcloner_manage_backups","id","attr","substr","download_backup_by_name","preventDefault","removeClass","find","addClass","location","hash","window","replace","trigger","elem","hasClass","text","text_lenght","length","first","last","title","msg","json","xcloner_backup","cancel_backup","undefined","responseText","status","statusText","JSON","stringify","open","Math","random","toString","search","split","remote_storage","dataTable","Xcloner_Manage_Backups","backup_cotent_modal","backup_encryption_modal","backup_decryption_modal","remote_storage_modal","local_storage_upload_modal","constructor","file_counter","storage_selection","XCLONER_AJAXURL","delete_backup_by_name","ajax","url","method","data","action","success","response","finished","row","parents","remove","draw","alert","dataType","list_backup_content_callback","backup_file","start","part","$this","file","error","prepend","message","css","files_text","files","total_size","parseInt","mtime","path","size","reverse","join","is","xhr","textStatus","list_backup_content","backup_encryption_callback","iv","percent","processing_file","show","reload","backup_encryption","hide","backup_decryption_callback","decryption_key","val","backup_decryption","cloud_upload","delete_after_transfer","updateTextFields","formSelect","off","storage_type","copy_remote_to_local","Xcloner_Remote_Storage","toggle_status","field","Xcloner_Backup","cancel","params","last_dumpfile","last_backup_file","backup_part","backup_size_total","resume","get_form_params","table_params","files_params","jstree","parent","index","$return","backup_params","serializeArray","do_backup_database_callback","extra","stats","tables_count","database_count","total_records","tableName","databaseName","processedRecords","startAtRecord","endDump","records","dumpfile","db_text","getSize","dumpsize","html","prependTo","do_ajax","do_backup_files","do_backup_database","do_scan_filesystem_callback","total_files_num","total_files_size","parseFloat","toFixed","last_logged_file","do_scan_filesystem","do_backup_files_callback","start_at_line","backup_size","processed_file","start_at_byte","processed_size","processed_file_size","backup_text","backup_archive_name_full","backup_archive_name","lines_total","backup_parent","do_backup_encryption","do_remote_storage_upload","do_backup_done","do_backup_encryption_callback","do_upload_backup_to_remote_callback","backup_name","delete_backup_after_transfer","Number","set_cancel","do_save_schedule_callback","restart_backup","start_backup","get_cancel","init_resume","callback","type","API_ID","err","done","error_message","bytes","conv","global","__WEBPACK_AMD_DEFINE_RESULT__","_get","receiver","Function","desc","getOwnPropertyDescriptor","getPrototypeOf","_createClass","defineProperties","target","props","descriptor","configurable","writable","Constructor","protoProps","staticProps","_possibleConstructorReturn","self","ReferenceError","_inherits","subClass","superClass","TypeError","setPrototypeOf","__proto__","_classCallCheck","instance","cash","frag","doc","win","ArrayProto","Array","slice","filter","push","noop","isFunction","item","isString","idMatch","classMatch","htmlMatch","singlet","selector","context","test","getElementsByClassName","getElementsByTagName","querySelectorAll","parseHTML","str","base","implementation","createHTMLDocument","createElement","href","head","appendChild","body","innerHTML","childNodes","onReady","fn","readyState","Init","elems","getElementById","nodeType","splice","map","collection","matches","el","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","getCompareFunction","unique","indexOf","extend","args","arguments","merge","second","len","j","isArray","isNumeric","isNaN","isFinite","uid","Date","now","getDataCache","node","setData","getData","dataset","removeData","removeAttr","v","notWhiteMatch","getClasses","match","classList","contains","RegExp","className","spacedName","add","classes","getAttribute","setAttribute","check","prop","removeAttribute","removeProp","state","eq","comparator","child","children","cache","style","camelRegex","whiteSpace","camelCase","letter","getPrefixedProp","ucProp","charAt","toUpperCase","compute","getComputedStyle","registerEvent","eventName","eventCache","removeEvent","events","removeEventListener","event","encode","encodeURIComponent","getSelectMultiple_","values","options","selected","getSelectSingle_","selectedIndex","getValue","toLowerCase","checked","insertElement","insertBefore","insertContent","insertAdjacentHTML","cloneNode","prefixedProp","lower","getBoundingClientRect","margins","delegate","runOnce","originalCallback","parentNode","finalCallback","apply","one","createEvent","evt","initEvent","dispatchEvent","serialize","query","elements","disabled","tagName","after","insertAfter","append","content","appendTo","before","clone","empty","source","outerHTML","_this","sibling","nextSibling","_this2","removeChild","textContent","docEl","documentElement","position","left","offsetLeft","top","offsetTop","offset","rect","pageYOffset","clientTop","pageXOffset","clientLeft","offsetParent","closest","has","next","nextElementSibling","not","result","prev","previousElementSibling","siblings","factory","Component","classDef","Element","console","Error","ins","getInstance","destroy","$el","els","instances","jquery","NodeList","instancesArr","Package","jQueryLoaded","version","keys","TAB","ENTER","ESC","ARROW_UP","ARROW_DOWN","tabPressed","keyDown","which","initializeJqueryWrapper","plugin","pluginName","classRef","methodOrOptions","AutoInit","root","registry","Autocomplete","Carousel","Chips","Collapsible","Datepicker","Dropdown","Materialbox","Parallax","Pushpin","ScrollSpy","FormSelect","Sidenav","Tabs","TapTarget","Timepicker","Tooltip","FloatingActionButton","objectSelectorString","obj","guid","s4","floor","substring","escapeHash","elementOrParentIsFixed","element","$element","$","$checkElements","isFixed","checkWithinContainer","container","bounding","edges","right","bottom","containerRect","containerBottom","max","innerHeight","scrollLeft","scrollTop","scrolledX","scrolledY","width","innerWidth","height","checkPossibleAlignments","canAlign","spaceOnTop","spaceOnRight","spaceOnBottom","spaceOnLeft","containerAllowsOverflow","overflow","containerHeight","min","containerWidth","elOffsetRect","scrolledYTopEdge","scrolledYBottomEdge","getOverflowParent","parentElement","getIdFromTrigger","getDocumentScrollTop","getDocumentScrollLeft","getTime","throttle","func","wait","timeout","previous","later","leading","remaining","clearTimeout","trailing","setTimeout","$jscomp","scope","set","getGlobal","SYMBOL_PREFIX","initSymbol","symbolCounter_","initSymbolIterator","iterator","arrayIterator","iteratorPrototype","array","iteratorFromArray","String","u","polyfill","$jscomp$this","anime","a","h","col","b","f","k","reduce","concat","arr","HTMLCollection","some","C","D","z","und","T","exec","U","y","V","I","fnc","total","E","getPropertyValue","J","dom","W","svg","X","transform","K","L","F","sqrt","pow","x","points","numberOfItems","getItem","N","getTotalLength","PI","Y","getPointAtLength","atan2","O","pth","totalLength","rgb","hex","hsl","original","numbers","strings","P","Z","aa","duration","delay","ba","ca","A","Q","da","tweens","to","w","from","end","easing","elasticity","isPath","isColor","round","ea","animatable","R","fa","ga","S","targets","animatables","animations","q","Promise","g","reversed","ha","currentValue","H","currentTime","progress","G","seek","began","direction","pause","completed","reset","loop","paused","tick","speed","play","B","ia","restart","autoplay","update","begin","run","complete","SVGElement","Float32Array","abs","sin","asin","In","Out","InOut","linear","forEach","attribute","requestAnimationFrame","cancelAnimationFrame","running","setDashoffset","bezier","easings","timeline","anim","_defaults","accordion","onOpenStart","onOpenEnd","onCloseStart","onCloseEnd","inDuration","outDuration","_Component","_this3","M_Collapsible","defaults","$headers","_setupEventHandlers","$activeBodies","_removeEventHandlers","_this4","_handleCollapsibleClickBound","_handleCollapsibleClick","_handleCollapsibleKeydownBound","_handleCollapsibleKeydown","header","_this5","$header","$collapsible","$collapsibleLi","$collapsibleLis","isActive","close","keyCode","_this6","$body","display","paddingTop","paddingBottom","pTop","pBottom","finalHeight","scrollHeight","_this7","padding","_this8","_animateIn","_animateOut","alignment","autoFocus","constrainWidth","coverTrigger","closeOnClick","hover","onItemClick","_Component2","_this9","M_Dropdown","_dropdowns","dropdownEl","$dropdownEl","isOpen","isScrollable","isTouchMoving","focusedIndex","filterQuery","_makeDropdownFocusable","_resetFilterQueryBound","_resetFilterQuery","_handleDocumentClickBound","_handleDocumentClick","_handleDocumentTouchmoveBound","_handleDocumentTouchmove","_handleDropdownClickBound","_handleDropdownClick","_handleDropdownKeydownBound","_handleDropdownKeydown","_handleTriggerKeydownBound","_handleTriggerKeydown","_resetDropdownStyles","_handleMouseEnterBound","_handleMouseEnter","_handleMouseLeaveBound","_handleMouseLeave","_handleClickBound","_handleClick","toEl","toElement","relatedTarget","leaveToDropdownContent","leaveToActiveDropdownTrigger","$closestTrigger","_this10","$target","itemEl","focusedElement","$activatableElement","newFocusedIndex","foundNewIndex","tabIndex","_focusFocusedItem","fromCharCode","string","newOptionEl","filterTimeout","opacity","focus","triggerBRect","dropdownBRect","idealHeight","idealWidth","idealXPos","idealYPos","dropdownBounds","closestOverflowParent","alignments","verticalAlignment","horizontalAlignment","oppositeAlignment","_this11","scaleX","scaleY","_this12","positionInfo","_getDropdownPosition","transformOrigin","_placeDropdown","_setupTemporaryEventHandlers","_removeTemporaryEventHandlers","preventScrolling","dismissible","startingTop","endingTop","_Component3","_this13","M_Modal","_openingTrigger","$overlay","_nthModalOpened","_count","_handleOverlayClickBound","_handleOverlayClick","_handleModalCloseClickBound","_handleModalCloseClick","_handleTriggerClick","$trigger","modalId","modalInstance","_modalsOpen","_this14","enterAnimOptions","_this15","exitAnimOptions","zIndex","insertAdjacentElement","_handleKeydownBound","_handleKeydown","_handleFocusBound","_handleFocus","_Component4","_this16","M_Materialbox","overlayActive","doneAnimating","placeholder","originalWidth","originalHeight","originInlineStyles","caption","_handleMaterialboxClickBound","_handleMaterialboxClick","ancestorsChanged","ancestor","curr","_this17","animOptions","newHeight","newWidth","windowWidth","windowHeight","maxWidth","maxHeight","_this18","attrWidth","attrHeight","_this19","_updateVars","_makeAncestorsOverflowVisible","overlayOffset","$photocaption","$photoCaption","ratio","widthPercent","heightPercent","_animateImageIn","_handleWindowScrollBound","_handleWindowScroll","_handleWindowResizeBound","_handleWindowResize","_handleWindowEscapeBound","_handleWindowEscape","_this20","_animateImageOut","responsiveThreshold","_Component5","_this21","M_Parallax","_enabled","$img","_updateParallax","_setupStyles","_parallaxes","_handleImageLoadBound","_handleImageLoad","_handleScrollThrottled","_handleScroll","_handleWindowResizeThrottled","offsetHeight","parallaxDist","parallax","parallaxInstance","onShow","swipeable","Infinity","_Component6","_this22","M_Tabs","$tabLinks","_setupActiveTabLink","_setupSwipeableTabs","_setupNormalTabs","_setTabsAndTabWidth","_createIndicator","_indicator","_teardownSwipeableTabs","_teardownNormalTabs","_handleTabClickBound","_handleTabClick","tabWidth","tabsWidth","_calcLeftPos","$activeTabLink","_calcRightPos","_this23","tab","tabLink","$oldContent","$content","prevIndex","_tabsCarousel","_animateIndicator","_this24","indicator","_this25","$tabsContent","link","$currContent","$tabsWrapper","activeTabIndex","fullWidth","noWrap","onCycleTo","scrollWidth","ceil","leftDelay","rightDelay","tabId","exitDelay","enterDelay","margin","transitionMovement","_Component7","_this26","M_Tooltip","isHovered","isFocused","_appendTooltipEl","tooltipEl","tooltipContentEl","_handleBlurBound","_handleBlur","isManual","_getAttributeOptions","_updateTooltipContent","_setEnterDelayTimeout","_setExitDelayTimeout","_this27","_exitDelayTimeout","_this28","_enterDelayTimeout","newCoordinates","origin","originHeight","originWidth","offsetWidth","tooltipHeight","tooltipWidth","targetTop","targetLeft","xMovement","yMovement","_repositionWithinScreen","newX","newY","_positionTooltip","visibility","translateX","translateY","attributeOptions","tooltipTextOption","positionOption","Waves","$$","convertStyle","Effect","button","ripple","docElem","box","pos","ownerDocument","defaultView","getWindow","relativeY","pageY","relativeX","pageX","scale","clientWidth","touches","rippleStyle","TouchHandler","touchup","ripples","wrapInput","wrapper","elementStyle","replaceChild","allowEvent","allow","showEffect","srcElement","getWavesEffectElement","displayEffect","attach","displayLength","completeCallback","activationPercent","Toast","panning","timeRemaining","_toasts","_createContainer","toastElement","_createToast","M_Toast","_setTimer","toast","HTMLElement","nodeName","_container","_this29","counterInterval","setInterval","dismiss","_this30","clearInterval","activationDistance","wasSwiped","transition","marginTop","_removeContainer","_onDragStart","_onDragMove","_onDragEnd","_draggedToast","startingXPos","_xPos","time","xPos","deltaX","velocityX","totalDeltaX","targetTouches","clientX","toastIndex","edge","draggable","_Component8","_this31","M_Sidenav","isDragged","lastWindowWidth","lastWindowHeight","_createOverlay","_createDragTarget","_setupClasses","_setupFixed","_sidenavs","_enableBodyScrolling","_overlay","dragTarget","overlay","_closeBound","_handleDragTargetDragBound","_handleDragTargetDrag","_handleDragTargetReleaseBound","_handleDragTargetRelease","_handleCloseDragBound","_handleCloseDrag","_handleCloseReleaseBound","_handleCloseRelease","_handleCloseTriggerClickBound","_handleCloseTriggerClick","sidenavId","sidenavInstance","_startingXpos","_time","_width","_initialScrollTop","_verticallyScrolling","currentScrollTop","_isCurrentlyFixed","_startDrag","_dragMoveUpdate","dragDirection","transformX","transformPrefix","percentOpen","_preventBodyScrolling","_animateSidenavIn","_animateOverlayIn","_this32","slideOutPercent","_animateSidenavOut","_animateOverlayOut","_this33","endPercent","_this34","scrollOffset","activeClass","getActiveElement","_Component9","_this35","M_ScrollSpy","_elements","_increment","tickId","_elementsInView","_visibleElements","throttledResize","_handleThrottledResizeBound","scrollspy","_ticks","intersections","_findElements","_enter","_i","_scrollspy","_lastTick","_exit","unshift","_this36","hits","currTop","elTop","elLeft","elRight","elBottom","limit","onAutocomplete","minLength","sortFunction","inputString","_Component10","_this37","M_Autocomplete","count","activeIndex","oldVal","$inputField","$active","_mousedown","_setupDropdown","_removeDropdown","_handleInputBlurBound","_handleInputBlur","_handleInputKeyupAndFocusBound","_handleInputKeyupAndFocus","_handleInputKeydownBound","_handleInputKeydown","_handleInputClickBound","_handleInputClick","_handleContainerMousedownAndTouchstartBound","_handleContainerMousedownAndTouchstart","_handleContainerMouseupAndTouchendBound","_handleContainerMouseupAndTouchend","ontouchstart","_this38","dropdown","selectOption","_resetAutocomplete","_keydown","liElement","numItems","img","matchStart","matchEnd","beforeMatch","matchText","afterMatch","_resetCurrentElement","trim","_this39","matchingData","entry","sort","_entry","$autocompleteOption","_highlight","_renderDropdown","recalculateDimensions","autofocus","validity","badInput","validate_field","hasLength","lenAttr","textareaAutoResize","$textarea","hiddenDiv","fontFamily","fontSize","lineHeight","paddingRight","paddingLeft","input_selector","formReset","M_FormSelect","$inputElement","text_area_selector","path_input","file_names","indicators","interval","Slider","_Component11","_this40","M_Slider","$slider","$slides","_setSliderHeight","_animateCaptionIn","placeholderBase64","_setupIndicators","$indicators","_removeIndicators","_this41","_handleIntervalBound","_handleInterval","_handleIndicatorClickBound","_handleIndicatorClick","_this42","currIndex","newActiveIndex","_this43","$indicator","_this44","$caption","newIndex","$card","$cardReveal","secondaryPlaceholder","autocompleteOptions","onChipAdd","onChipSelect","onChipDelete","_Component12","_this45","M_Chips","chipsData","$chips","_setupInput","hasAutocomplete","$input","_renderChips","_setupAutocomplete","_setPlaceholder","_setupLabel","_handleChipClickBound","_handleChipClick","_handleInputFocusBound","_handleInputFocus","_handleChipsKeydown","_handleChipsKeyup","_handleChipsBlur","$chip","clickedClose","deleteChip","selectChip","autocomplete","addChip","tag","chip","renderedChip","closeIcon","image","firstChild","chipEl","_renderChip","_this46","$label","exists","_isValid","chipIndex","_selectedChip","chipsKeydown","currChips","selectIndex","_selectIndex","_selectIndex2","onPositionChange","_Component13","_this47","M_Pushpin","originalOffset","_pushpins","_updatePosition","_removePinClasses","_updateElements","scrolled","elIndex","hoverEnabled","toolbarEnabled","_Component14","_this48","M_FloatingActionButton","$anchor","$menu","$floatingBtns","$floatingBtnsReverse","offsetY","offsetX","_handleFABClickBound","_handleFABClick","_handleOpenBound","_handleCloseBound","_animateInToolbar","_animateInFAB","_animateOutToolbar","_animateOutFAB","_this49","_this50","scaleFactor","_this51","btnRect","backdrop","fabColor","btnBottom","btnLeft","btnWidth","_this52","autoClose","format","parse","defaultDate","setDefaultDate","disableWeekends","disableDayFn","firstDay","minDate","maxDate","yearRange","minYear","maxYear","minMonth","maxMonth","startRange","endRange","isRTL","showMonthAfterYear","showDaysInNextAndPreviousMonths","showClearBtn","i18n","clear","previousMonth","nextMonth","months","monthsShort","weekdays","weekdaysShort","weekdaysAbbrev","onSelect","onOpen","onClose","onDraw","_Component15","_this53","M_Datepicker","setHours","_setupVariables","_insertHTMLIntoDOM","_setupModal","defDate","_isDate","setDate","setInputValue","gotoDate","modal","modalEl","destroySelects","oldYearSelect","calendarEl","oldMonthSelect","clearBtn","doneBtn","cancelBtn","$modalEl","_this54","_this55","date","label","formats","preventOnSelect","_renderDateDisplay","_setToStartOfDay","firedBy","displayDate","day","getDay","month","getMonth","getDate","yearTextEl","getFullYear","dateTextEl","newCalendar","calendars","firstVisibleDate","year","lastVisibleDate","visibleDate","setMonth","adjustCalendars","adjustCalendar","calendar","randId","opts","days","_getDaysInMonth","yearOfPreviousMonth","yearOfNextMonth","daysInPreviousMonth","cells","isWeekSelected","isSelected","_compareDates","isToday","hasEvent","toDateString","isEmpty","dayNumber","monthNumber","yearNumber","isStartRange","isEndRange","isInRange","dayConfig","isDisabled","_isWeekend","renderDay","renderRow","renderTable","ariaSelected","isRowSelected","renderHead","renderBody","renderDayName","rows","refYear","monthHtml","yearHtml","isMinYear","isMaxYear","force","_y","_m","renderTitle","render","yearSelect","monthSelect","dropdownOptions","_handleYearChange","_handleMonthChange","_handleInputChangeBound","_handleInputChange","_handleCalendarClickBound","_handleCalendarClick","_finishSelectionBound","_finishSelection","_handleClearClickBound","_handleClearClick","_this56","_template","dd","ddd","dddd","mm","mmm","mmmm","yy","yyyy","prevMonth","gotoMonth","gotoYear","abbr","_isLeapYear","dialRadius","outerRadius","innerRadius","tickRadius","defaultTime","fromNow","twelveHour","vibrate","_Component16","_this57","M_Timepicker","_clockSetup","_pickerSetup","_handleClockClickStartBound","_handleClockClickStart","_handleDocumentClickMoveBound","_handleDocumentClickMove","_handleDocumentClickEndBound","_handleDocumentClickEnd","plate","spanHours","showView","spanMinutes","clockPlateBR","x0","y0","moved","clickPos","_Pos","dx","dy","setHand","_this58","currentView","minutesView","hours","minutes","containerEl","_this59","navigator","webkitVibrate","_canvas","hoursView","spanAmPm","footer","amOrPm","$clearBtn","confirmationBtnsContainer","$amBtn","$pmBtn","_handleAmPmClick","_buildHoursView","_buildMinutesView","_buildSVGClock","diameter","_createSVGEl","bearing","hand","bg","$tick","radian","radius","cos","_i2","_tick","_radian","_radius","_addLeadingZero","$btnClicked","_updateAmPmView","getHours","getMinutes","view","isHours","nextView","hideView","resetClock","toggleViewTimer","canvas","roundBy5","_this60","unit","inner","vibrateTimer","cx1","cy1","cx2","cy2","_updateTimeFromInput","clearValue","num","createElementNS","clientY","CharacterCounter","_Component17","_this61","M_CharacterCounter","isInvalid","isValidLength","_setupCounter","_removeCounter","_handleUpdateCounterBound","updateCounter","counterEl","float","maxLength","actualLength","counterString","_validateInput","dist","shift","numVisible","_Component18","_this62","M_Carousel","hasMultipleSlides","showIndicators","pressed","dragged","images","itemWidth","itemHeight","dim","_autoScrollBound","_autoScroll","_trackBound","_track","_setCarouselHeight","xform","every","prefix","_scroll","_this63","_handleCarouselTapBound","_handleCarouselTap","_handleCarouselDragBound","_handleCarouselDrag","_handleCarouselReleaseBound","_handleCarouselRelease","_handleCarouselClickBound","_handleCarouselClick","_handleResize","_this64","verticalDragged","reference","_xpos","referenceY","_ypos","velocity","amplitude","frame","timestamp","ticker","delta","stopPropagation","clickedIndex","_wrap","center","_cycleTo","imageHeight","imageOnly","_this65","firstSlide","firstImage","naturalWidth","naturalHeight","adjustedHeight","slideHeight","elapsed","exp","_this66","scrollingTimeout","half","dir","tween","zTranslation","tweenedOpacity","centerTweenedOpacity","lastCenter","numVisibleOffset","clientHeight","diff","activeIndicator","transformString","_updateItemStyle","_transformString","_transformString2","_transformString3","$currItem","oneTimeCallback","_Component19","_this67","M_TapTarget","$origin","_setup","_calculatePositioning","_handleTargetClickBound","_handleTargetClick","_handleOriginClickBound","_handleOriginClick","originEl","waveEl","contentEl","outerWidth","outerHeight","originTop","originLeft","centerX","centerY","isLeft","isRight","isTop","isBottom","isCenterX","tapTargetWidth","tapTargetHeight","tapTargetTop","tapTargetLeft","tapTargetPosition","tapTargetTextWidth","tapTargetTextHeight","tapTargetTextTop","tapTargetTextLeft","tapTargetTextPadding","tapTargetTextAlign","tapTargetWaveWidth","tapTargetWaveHeight","tapTargetWaveTop","tapTargetWaveLeft","tapTargetWrapperCssObj","tapTargetTextRight","tapTargetTextBottom","verticalAlign","_Component20","_this68","isMultiple","_keysSelected","_valueDict","_this69","_handleSelectChangeBound","_handleSelectChange","_handleOptionClickBound","_handleOptionClick","input","_this70","_setValueToInput","option","placeholderOption","_toggleEntryFromArray","_setSelectedStates","_this71","$selectOptions","optionEl","_appendOptionWithIcon","_addOptionToValueDict","selectOptions","dropdownIcon","selectedOption","disabledClass","optgroupClass","multipleCheckbox","liEl","spanEl","iconUrl","imgEl","notAdded","$optionLi","firstDisabled","optionIsSelected","_activateOption","newOption","selectedValues","Range","_Component21","_this72","M_Range","_setupThumb","_removeThumb","_handleRangeChangeBound","_handleRangeChange","_handleRangeMousedownTouchstartBound","_handleRangeMousedownTouchstart","_handleRangeInputMousemoveTouchmoveBound","_handleRangeInputMousemoveTouchmove","_handleRangeMouseupTouchendBound","_handleRangeMouseupTouchend","_handleRangeBlurMouseoutTouchleaveBound","_handleRangeBlurMouseoutTouchleave","thumb","_showRangeBubble","_calcRangeOffset","marginLeft","_xcloner_admin__WEBPACK_IMPORTED_MODULE_0__","Xcloner_Restore","steps","ajaxurl","restore_script_url","upload_file_event","Event","detail","original_value","file_size","set_current_step","class","remote_mysql_host","remote_mysql_db","remote_mysql_user","remote_mysql_pass","get_remote_backup_files_callback","CustomEvent","get_remote_backup_files","local_backup_file","get_remote_restore_path_default","get_remote_mysqldump_files_callback","get_remote_mysqldump_files","get_backup_file","remote_path","get_remote_path","get_remote_restore_path_default_callback","remote_restore_backup_file_callback","processed","extracted_files","remote_restore_backup_file","filter_files","remote_restore_mysql_backup_file_callback","remote_restore_mysql_backup_file","mysqldump_file","wp_home_url","remote_restore_url","wp_site_url","restore_site_url","restore_finish_callback","restore_finish","backup_archive","delete_backup_temporary_folder","delete_restore_script","update_remote_site_url","delete_backup_archive","upload_backup_file","target_url","upload_backup_file_callback","total_parts","uploaded_size","part_text","verify_restore_url_callback","local_restore","next_step","href_url","verify_restore_url","open_target_site","inc","remote","xcloner_action","XCLONER_WPNONCE","_wpnonce","parsedUrl","URL","request","crossDomain","username","password","set_restore_script_url","xcloner_auth_key","xcloner_restore","remote_database_file","edit_schedule_modal_instance","xcloner_scheduler","edit_modal","get_schedule_by_id","create_modal","delete_schedule_by_id","email_notification","diff_start_date","recurrence","backup_type","start_at","backup_encrypt","backup_delete_after_remote_transfer","tables","parseJSON","tables_list","db","excluded_files","exclude_files_list","save_schedule","form","IsJsonString","DataTable","responsive","bFilter","order","buttons","language","emptyTable","selectAll","selectNone","columnDefs","orderable","fnDrawCallback","oSettings","confirm","pickatime","default","twelvehour","donetext","autoclose","pickadate","selectMonths","selectYears","onSet"],"mappings":";;;;;;CACS,SAAUA,GAET,IAAIC,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAJ,EAAQG,GAAUK,KAAKH,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QAKfF,EAAoBO,EAAIT,EAGxBE,EAAoBQ,EAAIT,EAGxBC,EAAoBS,EAAI,SAASP,EAASQ,EAAMC,GAC3CX,EAAoBY,EAAEV,EAASQ,IAClCG,OAAOC,eAAeZ,EAASQ,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEX,EAAoBiB,EAAI,SAASf,GACX,oBAAXgB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeZ,EAASgB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeZ,EAAS,aAAc,CAAEkB,OAAO,KAQvDpB,EAAoBqB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQpB,EAAoBoB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,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AAK,QACfC,OAAO,GACVwzD,EAAkBE,mBAAmB5zD,MAGpDd,OAAOK,MACJgH,IAAI,QAAS,WACb7G,GAAG,QAAS,WAAW,WACtB,IACIM,EADOd,OAAOK,MAAMU,KAAK,QACfC,OAAO,GACrB,GAAI01D,QAAQ,uCACClC,EAAkBI,sBAC3B9zD,EACAT,KACA+C,MAKRpD,OAAO,uBAAuBO,MAAK,WACjC9C,OAAOqyD,EAAyD,YAAhEryD,CAAmEuC,OAAOK,UAE5EL,OAAO,uBAAuBI,OAAM,WAClCJ,OAAOK,MAAMC,YAAY,QACzB7C,OAAOqyD,EAAyD,YAAhEryD,CAAmEuC,OAAOK,aAKhFL,OAAO,kBAAkBQ,GAAG,UAAU,WAGpC,OAFAg0D,EAAkBkB,cAAc11D,OAAOK,MAAO+C,IAEvC,KAMsC,mBAApCpD,OAAO,eAAe22D,WAC/B32D,OAAO,eAAe22D,UAAU,CAC9BC,QAAS,MACT32C,IAAK,CAAC,EAAG,IACT42C,YAAY,EACZC,SAAU,KACVC,WAAW,EACX9Y,SAAS,IAIkC,mBAApCj+C,OAAO,eAAeg3D,YACjBh3D,OAAO,eAAeg3D,UAAU,CAC5ChjB,OAAQ,cACRijB,cAAc,EACdC,YAAa,GACbj3C,IAAK,GACLk3C,MAAO,eAKan3D,OAAO,yBAAyBg3D,UAAU,CAC9DhjB,OAAQ,aACRijB,cAAc,EACdC,YAAa,GACbn4C,IAAK,GACLo4C,MAAO","file":"./admin/js/index.min.js","sourceRoot":""}
admin/partials/xcloner_restore_page.php CHANGED
@@ -26,6 +26,104 @@ $backup_list = $xcloner_file_system->get_latest_backups();
26
 
27
  <div class="col s12">
28
  <ul class="collapsible xcloner-restore collapsible-accordion" data-collapsible="accordion">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
29
  <li data-step="3" class="restore-remote-backup-step steps active show">
30
  <div class="collapsible-header">
31
  <i class="material-icons">folder_open</i>
@@ -42,12 +140,25 @@ $backup_list = $xcloner_file_system->get_latest_backups();
42
  </div>
43
 
44
  <div class="collapsible-body row">
45
- <div class=" col s12 l7">
 
 
 
 
 
 
 
 
 
 
 
 
 
46
  <div class="input-field row">
47
  <div class="col s12">
48
  <a href="#"
49
- class="list-backup-content btn-floating tooltipped btn-small right"
50
- data-tooltip="<?php echo __('Click To List The Selected Backup Content', 'xcloner-backup-and-restore') ?>">
51
  <i class="material-icons">folder_open</i>
52
  </a>
53
  <h5><?php echo __("Restore Backup Archive:", 'xcloner-backup-and-restore') ?></h5>
@@ -55,11 +166,6 @@ $backup_list = $xcloner_file_system->get_latest_backups();
55
  <option value="" disabled selected>
56
  <?php echo __("Please select the target backup file to restore", 'xcloner-backup-and-restore') ?>
57
  </option>
58
- <?php foreach ($backup_list as $backup) : ?>
59
- <option value="<?php echo esc_attr($backup['file_name']) ?>">
60
- <?php echo esc_html($backup['file_name'] . ' (' . $backup['size'] . ')') ?>
61
- </option>
62
- <?php endforeach; ?>
63
  </select>
64
  <label></label>
65
  </div>
@@ -146,9 +252,9 @@ $backup_list = $xcloner_file_system->get_latest_backups();
146
  </button>
147
  </div>
148
  <button class="btn waves-effect waves-light grey" type="submit"
149
- title="<?php echo __("Skip Next", 'xcloner-backup-and-restore') ?>"
150
  id="skip_remote_backup_step"
151
- name="action"><?php echo __("Skip Next", 'xcloner-backup-and-restore') ?>
152
  <i class="material-icons right">navigate_next</i>
153
  </button>
154
  </div>
@@ -162,7 +268,82 @@ $backup_list = $xcloner_file_system->get_latest_backups();
162
  </div>
163
  <div class="collapsible-body row">
164
 
165
- <div class="col s12 l7">
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
166
  <div class="input-field row">
167
  <div class="col s12">
168
  <select id="remote_database_file" name="remote_database_file" class="browser-default">
@@ -201,9 +382,9 @@ $backup_list = $xcloner_file_system->get_latest_backups();
201
  </div>
202
 
203
  <button class="btn waves-effect waves-light grey" type="submit"
204
- title="<?php echo __("Skip Next", 'xcloner-backup-and-restore') ?>"
205
  id="skip_restore_remote_database_step"
206
- name="action"><?php echo __("Skip Next", 'xcloner-backup-and-restore') ?>
207
  <i class="material-icons right">navigate_next</i>
208
  </button>
209
 
26
 
27
  <div class="col s12">
28
  <ul class="collapsible xcloner-restore collapsible-accordion" data-collapsible="accordion">
29
+ <li data-step="1" class="restore-script-upload-step steps active show">
30
+ <div class="collapsible-header active"><i
31
+ class="material-icons">settings_remote</i><?php echo __("Restore Script Upload", 'xcloner-backup-and-restore') ?>
32
+ </div>
33
+ <div class="collapsible-body row">
34
+
35
+ <ul class="text-steps">
36
+ <li>
37
+ <?php echo __("Please ", 'xcloner-backup-and-restore') ?>
38
+ <a href="https://www.xcloner.com/downloads/"
39
+ class="btn waves-effect waves-light"
40
+ target="_blank"
41
+ >
42
+ <?php echo __("download the restore script", 'xcloner-backup-and-restore') ?>
43
+ </a>
44
+ </li>
45
+ <li>
46
+ <?php echo __("Extract the restore script archive files on your new host", 'xcloner-backup-and-restore') ?>
47
+ </li>
48
+ <li>
49
+ <?php echo __("Provide url below to the <u>xcloner_restore.php</u> restore script, like http://my_restore_site.com/xcloner_restore.php", 'xcloner-backup-and-restore') ?>
50
+ </li>
51
+ <li>
52
+ <?php echo __("If your server is not web accessible, like a localhost computer, you can use a DynDNS service or install a blank copy of Wordpress with XCloner in the same environment and start the restore from there.", 'xcloner-backup-and-restore') ?>
53
+ </li>
54
+ <?php if (is_ssl()): ?>
55
+ <li class="warning">
56
+ <?php echo __("We have detected your connection to the site as being secure, so your restore script address must start with https://.") ?>
57
+ </li>
58
+ <?php endif ?>
59
+
60
+ </ul>
61
+
62
+ <div class="input-field col l9 s12">
63
+ <input value="<?php echo (is_ssl()) ? "https://" : "" ?>" autocomplete="false"
64
+ id="restore_script_url" type="text" class="validate"
65
+ placeholder="Url to XCloner Restore Script, example http://myddns.com/xcloner/xcloner_restore.php">
66
+ <label for="restore_script_url"></label>
67
+ <div id="url_validation_status" class="status"></div>
68
+ </div>
69
+ <div class="col l3 s12 right-align">
70
+ <button class="btn waves-effect waves-light" type="submit" id="validate_url"
71
+ name="action"><?php echo __("Check Connection", 'xcloner-backup-and-restore') ?>
72
+ <i class="material-icons right">send</i>
73
+ </button>
74
+ </div>
75
+ </div>
76
+ </li>
77
+
78
+ <li data-step="2" class="backup-upload-step steps">
79
+ <div class="collapsible-header ">
80
+ <i class="material-icons">file_upload</i>
81
+ <?php echo __("Upload Local Backup Archive To Target Host", 'xcloner-backup-and-restore') ?>
82
+ </div>
83
+ <div class="collapsible-body row">
84
+ <p>
85
+ <?php echo __("You can skip this step if you want to transfer the archive in some other way, make sure you upload it in the same directory as the restore script from the previous step.", 'xcloner-backup-and-restore') ?>
86
+ </p>
87
+ <div class="input-field col s12 l7">
88
+ <select id="backup_file" name="backup_file" class="browser-default">
89
+ <option value="" disabled selected>
90
+ <?php echo __("Please select a local backup archive to upload to target host", 'xcloner-backup-and-restore') ?>
91
+ </option>
92
+ <?php if (is_array($backup_list)): ?>
93
+ <?php foreach ($backup_list as $file): ?>
94
+ <option value="<?php echo $file['basename'] ?>">
95
+ <?php echo $file['basename'] ?> (<?php echo $file['size'] ?>)
96
+ </option>
97
+ <?php endforeach ?>
98
+ <?php endif ?>
99
+ </select>
100
+
101
+ <label> </label>
102
+ <div class="progress">
103
+ <div class="determinate" style="width: 0%"></div>
104
+ </div>
105
+ <div class="status"></div>
106
+ </div>
107
+ <div class="col s12 l5 right-align">
108
+ <div class="toggler">
109
+ <button class="btn waves-effect waves-light upload-backup normal" type="submit" id=""
110
+ name="action"><?php echo __("Upload", 'xcloner-backup-and-restore') ?>
111
+ <i class="material-icons left">upload</i>
112
+ </button>
113
+ <button class="btn waves-effect waves-light red upload-backup cancel" type="submit" id=""
114
+ name="action"><?php echo __("Cancel", 'xcloner-backup-and-restore') ?>
115
+ <i class="material-icons right">close</i>
116
+ </button>
117
+ </div>
118
+ <button class="btn waves-effect waves-light grey" type="submit"
119
+ title="<?php echo __("Next", 'xcloner-backup-and-restore') ?>" id="skip_upload_backup"
120
+ name="action"><?php echo __("Next", 'xcloner-backup-and-restore') ?>
121
+ <i class="material-icons right">navigate_next</i>
122
+ </button>
123
+ </div>
124
+ </div>
125
+ </li>
126
+
127
  <li data-step="3" class="restore-remote-backup-step steps active show">
128
  <div class="collapsible-header">
129
  <i class="material-icons">folder_open</i>
140
  </div>
141
 
142
  <div class="collapsible-body row">
143
+ <div class="col s12 l7">
144
+ <div class="input-field row">
145
+ <div class="col s12">
146
+ <a class="btn-floating tooltipped btn-small right" data-html="true" data-position="left"
147
+ data-delay="50" data-tooltip="<?php echo __("This is the directory where you would like to restore the backup archive files.<br />
148
+ Please use this with caution when restoring to a live site.", 'xcloner-backup-and-restore') ?>">
149
+ <i class="material-icons">help_outline</i>
150
+ </a>
151
+ <h5><?php echo __("Restore Target Path:", 'xcloner-backup-and-restore') ?></h5>
152
+ <input type="text" name="remote_restore_path" id="remote_restore_path" class="validate"
153
+ placeholder="Restore Target Path">
154
+ </div>
155
+ </div>
156
+
157
  <div class="input-field row">
158
  <div class="col s12">
159
  <a href="#"
160
+ class="list-backup-content btn-floating tooltipped btn-small right"
161
+ data-tooltip="<?php echo __('Click To List The Selected Backup Content', 'xcloner-backup-and-restore') ?>">
162
  <i class="material-icons">folder_open</i>
163
  </a>
164
  <h5><?php echo __("Restore Backup Archive:", 'xcloner-backup-and-restore') ?></h5>
166
  <option value="" disabled selected>
167
  <?php echo __("Please select the target backup file to restore", 'xcloner-backup-and-restore') ?>
168
  </option>
 
 
 
 
 
169
  </select>
170
  <label></label>
171
  </div>
252
  </button>
253
  </div>
254
  <button class="btn waves-effect waves-light grey" type="submit"
255
+ title="<?php echo __("Next", 'xcloner-backup-and-restore') ?>"
256
  id="skip_remote_backup_step"
257
+ name="action"><?php echo __("Next", 'xcloner-backup-and-restore') ?>
258
  <i class="material-icons right">navigate_next</i>
259
  </button>
260
  </div>
268
  </div>
269
  <div class="collapsible-body row">
270
 
271
+ <div id="remote-restore-options">
272
+ <div class="col s12">
273
+ <a class="btn-floating tooltipped btn-small right" data-position="left" data-delay="50"
274
+ data-html="true"
275
+ data-tooltip="<?php echo __('Please provide below the mysql connection details for the target host database.<br />For live sites we recommend using a new separate database.', 'xcloner-backup-and-restore') ?>"
276
+ data-tooltip-id="92c95730-94e9-7b59-bd52-14adc30d5e3e"><i
277
+ class="material-icons">help_outline</i></a>
278
+ <h5><?php echo __('Target Mysql Details', 'xcloner-backup-and-restore') ?></h5>
279
+ </div>
280
+ <div class=" col s12">
281
+ <div class="input-field col s12 m6">
282
+ <input type="text" name="remote_mysql_host" id="remote_mysql_host" class="validate"
283
+ placeholder="Target Mysql Hostname">
284
+ <label><?php echo __("Target Mysql Hostname", 'xcloner-backup-and-restore') ?></label>
285
+ </div>
286
+
287
+ <div class="input-field col s12 m6">
288
+ <input type="text" name="remote_mysql_db" id="remote_mysql_db" class="validate"
289
+ placeholder="Target Mysql Database">
290
+ <label><?php echo __("Target Mysql Database", 'xcloner-backup-and-restore') ?></label>
291
+ </div>
292
+
293
+ <div class="input-field col s12 m6">
294
+ <input type="text" name="remote_mysql_user" id="remote_mysql_user" class="validate"
295
+ placeholder="Target Mysql Username">
296
+ <label><?php echo __("Target Mysql Username", 'xcloner-backup-and-restore') ?></label>
297
+ </div>
298
+
299
+
300
+ <div class="input-field col s12 m6">
301
+ <input type="password" name="remote_mysql_pass" id="remote_mysql_pass" class="validate"
302
+ placeholder="Target Mysql Password">
303
+ <label><?php echo __("Target Mysql Password", 'xcloner-backup-and-restore') ?></label>
304
+ </div>
305
+
306
+ </div>
307
+ <div class="col s12">
308
+ <a class="btn-floating tooltipped btn-small right" data-position="left" data-delay="50"
309
+ data-html="true"
310
+ data-tooltip="<?php echo __('I will attempt to replace all mysql backup records matching the provided Source Url with the provided Target Url. <br />Leave blank the Target Url if you would like to skip this option. <br />As a bonus, I will also replace all matching serialized data and fix it\'s parsing.', 'xcloner-backup-and-restore') ?>"
311
+ data-tooltip-id="92c95730-94e9-7b59-bd52-14adc30d5e3e"><i
312
+ class="material-icons">help_outline</i></a>
313
+ <h5><?php echo __('Target Mysql Search and Replace', 'xcloner-backup-and-restore') ?></h5>
314
+ </div>
315
+ <div class="col s12">
316
+ <div class="input-field col s12 m6 ">
317
+ <input type="text" name="wp_home_url" id="wp_home_url" class="validate"
318
+ placeholder="WP Home Url" value="<?php echo home_url(); ?>">
319
+ <label><?php echo __("Source Home Url", 'xcloner-backup-and-restore') ?></label>
320
+ </div>
321
+
322
+ <div class="input-field col s12 m6 ">
323
+ <input type="text" name="remote_restore_url" id="remote_restore_url" class="validate"
324
+ placeholder="Restore Target Url">
325
+ <label><?php echo __("With Target Home Url", 'xcloner-backup-and-restore') ?></label>
326
+ </div>
327
+
328
+ <?php if (site_url() != home_url()) : ?>
329
+ <div class="input-field col s12 m6 ">
330
+ <input type="text" name="wp_site_url" id="wp_site_url" class="validate"
331
+ placeholder="WP Site Url" value="<?php echo site_url(); ?>">
332
+ <label><?php echo __("Source Site Url", 'xcloner-backup-and-restore') ?></label>
333
+ </div>
334
+
335
+ <div class="input-field col s12 m6 ">
336
+ <input type="text" name="remote_restore_site_url" id="remote_restore_site_url"
337
+ class="validate" placeholder="Restore Target Url">
338
+ <label><?php echo __("With Target Site Url", 'xcloner-backup-and-restore') ?></label>
339
+ </div>
340
+
341
+ <?php endif; ?>
342
+ </div>
343
+
344
+ </div>
345
+
346
+ <div class=" col s12 l7">
347
  <div class="input-field row">
348
  <div class="col s12">
349
  <select id="remote_database_file" name="remote_database_file" class="browser-default">
382
  </div>
383
 
384
  <button class="btn waves-effect waves-light grey" type="submit"
385
+ title="<?php echo __("Next", 'xcloner-backup-and-restore') ?>"
386
  id="skip_restore_remote_database_step"
387
+ name="action"><?php echo __("Next", 'xcloner-backup-and-restore') ?>
388
  <i class="material-icons right">navigate_next</i>
389
  </button>
390
 
lib/Xcloner_File_Transfer.php CHANGED
@@ -2,6 +2,8 @@
2
 
3
  namespace Watchfulli\XClonerCore;
4
 
 
 
5
  /**
6
  * XCloner - Backup and Restore backup plugin for WordPress
7
  *
@@ -78,13 +80,13 @@ class Xcloner_File_Transfer extends Xcloner_Filesystem
78
  public function transfer_file($file, $start = 0, $hash = "")
79
  {
80
  if (!$this->target_url) {
81
- throw new \Exception("Please setup a target url for upload");
82
  }
83
 
84
 
85
  $fp = $this->get_storage_filesystem()->readStream($file);
86
 
87
- fseek($fp, $start, SEEK_SET);
88
 
89
  $binary_data = fread($fp, $this->transfer_limit);
90
 
@@ -119,8 +121,8 @@ class Xcloner_File_Transfer extends Xcloner_Filesystem
119
  curl_setopt($ch, CURLOPT_URL, $this->target_url);
120
 
121
  curl_setopt($ch, CURLOPT_POST, 1);
122
- //curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 1);
123
- //curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1);
124
  curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
125
  curl_setopt($ch, CURLOPT_TIMEOUT, 1200);
126
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
@@ -136,11 +138,11 @@ class Xcloner_File_Transfer extends Xcloner_Filesystem
136
  $result = json_decode($original_result);
137
 
138
  if (!$result) {
139
- throw new \Exception("We have received no valid response from the remote host, original message: " . $original_result);
140
  }
141
 
142
  if ($result->status != 200) {
143
- throw new \Exception($result->response);
144
  }
145
 
146
  if (ftell($fp) >= $this->get_storage_filesystem()->getSize($file)) {
2
 
3
  namespace Watchfulli\XClonerCore;
4
 
5
+ use Exception;
6
+
7
  /**
8
  * XCloner - Backup and Restore backup plugin for WordPress
9
  *
80
  public function transfer_file($file, $start = 0, $hash = "")
81
  {
82
  if (!$this->target_url) {
83
+ throw new Exception("Please setup a target url for upload");
84
  }
85
 
86
 
87
  $fp = $this->get_storage_filesystem()->readStream($file);
88
 
89
+ fseek($fp, $start);
90
 
91
  $binary_data = fread($fp, $this->transfer_limit);
92
 
121
  curl_setopt($ch, CURLOPT_URL, $this->target_url);
122
 
123
  curl_setopt($ch, CURLOPT_POST, 1);
124
+ curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
125
+ curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 1);
126
  curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 60);
127
  curl_setopt($ch, CURLOPT_TIMEOUT, 1200);
128
  curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
138
  $result = json_decode($original_result);
139
 
140
  if (!$result) {
141
+ throw new Exception("We have received no valid response from the remote host, original message: " . $original_result);
142
  }
143
 
144
  if ($result->status != 200) {
145
+ throw new Exception($result->response);
146
  }
147
 
148
  if (ftell($fp) >= $this->get_storage_filesystem()->getSize($file)) {
lib/Xcloner_Filesystem.php CHANGED
@@ -267,8 +267,9 @@ class Xcloner_Filesystem
267
 
268
  return array_map(static function ($item) {
269
  return array(
270
- 'file_name' => $item['path'],
271
- 'size' => size_format($item['size']),
 
272
  );
273
  }, $new_list);
274
  }
267
 
268
  return array_map(static function ($item) {
269
  return array(
270
+ 'basename' => $item['basename'],
271
+ 'file_name' => $item['path'],
272
+ 'size' => size_format($item['size']),
273
  );
274
  }, $new_list);
275
  }
vendor/autoload.php CHANGED
@@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
- return ComposerAutoloaderInitd3d38c42eca931f547d98922ba0cc2cd::getLoader();
9
 
10
  require_once __DIR__ . '/composer/autoload_real.php';
11
 
12
+ return ComposerAutoloaderInit450c8bb930da717c65bf7af61b52c2fe::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInitd3d38c42eca931f547d98922ba0cc2cd
6
  {
7
  private static $loader;
8
 
@@ -24,18 +24,18 @@ class ComposerAutoloaderInitd3d38c42eca931f547d98922ba0cc2cd
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
- spl_autoload_register(array('ComposerAutoloaderInitd3d38c42eca931f547d98922ba0cc2cd', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
- spl_autoload_unregister(array('ComposerAutoloaderInitd3d38c42eca931f547d98922ba0cc2cd', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
- call_user_func(\Composer\Autoload\ComposerStaticInitd3d38c42eca931f547d98922ba0cc2cd::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
36
- $includeFiles = \Composer\Autoload\ComposerStaticInitd3d38c42eca931f547d98922ba0cc2cd::$files;
37
  foreach ($includeFiles as $fileIdentifier => $file) {
38
- composerRequired3d38c42eca931f547d98922ba0cc2cd($fileIdentifier, $file);
39
  }
40
 
41
  return $loader;
@@ -47,7 +47,7 @@ class ComposerAutoloaderInitd3d38c42eca931f547d98922ba0cc2cd
47
  * @param string $file
48
  * @return void
49
  */
50
- function composerRequired3d38c42eca931f547d98922ba0cc2cd($fileIdentifier, $file)
51
  {
52
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
53
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit450c8bb930da717c65bf7af61b52c2fe
6
  {
7
  private static $loader;
8
 
24
 
25
  require __DIR__ . '/platform_check.php';
26
 
27
+ spl_autoload_register(array('ComposerAutoloaderInit450c8bb930da717c65bf7af61b52c2fe', 'loadClassLoader'), true, true);
28
  self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
29
+ spl_autoload_unregister(array('ComposerAutoloaderInit450c8bb930da717c65bf7af61b52c2fe', 'loadClassLoader'));
30
 
31
  require __DIR__ . '/autoload_static.php';
32
+ call_user_func(\Composer\Autoload\ComposerStaticInit450c8bb930da717c65bf7af61b52c2fe::getInitializer($loader));
33
 
34
  $loader->register(true);
35
 
36
+ $includeFiles = \Composer\Autoload\ComposerStaticInit450c8bb930da717c65bf7af61b52c2fe::$files;
37
  foreach ($includeFiles as $fileIdentifier => $file) {
38
+ composerRequire450c8bb930da717c65bf7af61b52c2fe($fileIdentifier, $file);
39
  }
40
 
41
  return $loader;
47
  * @param string $file
48
  * @return void
49
  */
50
+ function composerRequire450c8bb930da717c65bf7af61b52c2fe($fileIdentifier, $file)
51
  {
52
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
53
  $GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInitd3d38c42eca931f547d98922ba0cc2cd
8
  {
9
  public static $files = array (
10
  '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php',
@@ -7958,10 +7958,10 @@ class ComposerStaticInitd3d38c42eca931f547d98922ba0cc2cd
7958
  public static function getInitializer(ClassLoader $loader)
7959
  {
7960
  return \Closure::bind(function () use ($loader) {
7961
- $loader->prefixLengthsPsr4 = ComposerStaticInitd3d38c42eca931f547d98922ba0cc2cd::$prefixLengthsPsr4;
7962
- $loader->prefixDirsPsr4 = ComposerStaticInitd3d38c42eca931f547d98922ba0cc2cd::$prefixDirsPsr4;
7963
- $loader->prefixesPsr0 = ComposerStaticInitd3d38c42eca931f547d98922ba0cc2cd::$prefixesPsr0;
7964
- $loader->classMap = ComposerStaticInitd3d38c42eca931f547d98922ba0cc2cd::$classMap;
7965
 
7966
  }, null, ClassLoader::class);
7967
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit450c8bb930da717c65bf7af61b52c2fe
8
  {
9
  public static $files = array (
10
  '7b11c4dc42b3b3023073cb14e519683c' => __DIR__ . '/..' . '/ralouphie/getallheaders/src/getallheaders.php',
7958
  public static function getInitializer(ClassLoader $loader)
7959
  {
7960
  return \Closure::bind(function () use ($loader) {
7961
+ $loader->prefixLengthsPsr4 = ComposerStaticInit450c8bb930da717c65bf7af61b52c2fe::$prefixLengthsPsr4;
7962
+ $loader->prefixDirsPsr4 = ComposerStaticInit450c8bb930da717c65bf7af61b52c2fe::$prefixDirsPsr4;
7963
+ $loader->prefixesPsr0 = ComposerStaticInit450c8bb930da717c65bf7af61b52c2fe::$prefixesPsr0;
7964
+ $loader->classMap = ComposerStaticInit450c8bb930da717c65bf7af61b52c2fe::$classMap;
7965
 
7966
  }, null, ClassLoader::class);
7967
  }
vendor/composer/installed.php CHANGED
@@ -1,9 +1,9 @@
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'watchfulli/xcloner-wordpress',
4
- 'pretty_version' => 'v4.4.7',
5
- 'version' => '4.4.7.0',
6
- 'reference' => 'eaf60d0b8fddbc05da87b09b7ee93718793bd2c9',
7
  'type' => 'library',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
@@ -404,9 +404,9 @@
404
  'dev_requirement' => false,
405
  ),
406
  'watchfulli/xcloner-wordpress' => array(
407
- 'pretty_version' => 'v4.4.7',
408
- 'version' => '4.4.7.0',
409
- 'reference' => 'eaf60d0b8fddbc05da87b09b7ee93718793bd2c9',
410
  'type' => 'library',
411
  'install_path' => __DIR__ . '/../../',
412
  'aliases' => array(),
1
  <?php return array(
2
  'root' => array(
3
  'name' => 'watchfulli/xcloner-wordpress',
4
+ 'pretty_version' => 'v4.4.8',
5
+ 'version' => '4.4.8.0',
6
+ 'reference' => '001f4d6ed6d7bac78cefc08142df668fd5208df2',
7
  'type' => 'library',
8
  'install_path' => __DIR__ . '/../../',
9
  'aliases' => array(),
404
  'dev_requirement' => false,
405
  ),
406
  'watchfulli/xcloner-wordpress' => array(
407
+ 'pretty_version' => 'v4.4.8',
408
+ 'version' => '4.4.8.0',
409
+ 'reference' => '001f4d6ed6d7bac78cefc08142df668fd5208df2',
410
  'type' => 'library',
411
  'install_path' => __DIR__ . '/../../',
412
  'aliases' => array(),
xcloner.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: XCloner - Site Backup and Restore
16
  * Plugin URI: https://xcloner.com/
17
  * Description: XCloner is a tool that will help you manage your website backups, generate/restore/move so your website will be always secured! With XCloner you will be able to clone your site to any other location with just a few clicks, as well as transfer the backup archives to remote FTP, SFTP, DropBox, Amazon S3, Google Drive, WebDAV, Backblaze, Azure accounts.
18
- * Version: 4.4.7
19
  * Author: watchful
20
  * Author URI: https://watchful.net/
21
  * License: GPL-2.0+
15
  * Plugin Name: XCloner - Site Backup and Restore
16
  * Plugin URI: https://xcloner.com/
17
  * Description: XCloner is a tool that will help you manage your website backups, generate/restore/move so your website will be always secured! With XCloner you will be able to clone your site to any other location with just a few clicks, as well as transfer the backup archives to remote FTP, SFTP, DropBox, Amazon S3, Google Drive, WebDAV, Backblaze, Azure accounts.
18
+ * Version: 4.4.8
19
  * Author: watchful
20
  * Author URI: https://watchful.net/
21
  * License: GPL-2.0+