typeof sircl=="undefined"&&console.warn("The 'sircl-toastr' component should be registered after the 'sircl' component. Please review order of script files.");typeof toastr=="undefined"&&console.warn("The 'sircl-toastr' component requires the 'toastr.js' component. See https://github.com/CodeSeven/toastr");typeof jQuery!="undefined"&&$.isFunction($.fn.fadeIn)==!1&&console.warn("The 'sircl-toastr' component requires the full edition of jQuery. The slim edition is not sufficient.");const sircl_toaster_header_regex=/(?:^|,\s*)(?info|success|warning|error)\|/ug;$.fn.fadeIn&&(sircl.addRequestHandler("afterSend",function(n){n.allResponseHeaders!=null&&n.allResponseHeaders.forEach(function(n){var t,i,r;if(n[0]=="x-sircl-toastr"&&n.length>1){const u=n[1].split(sircl_toaster_header_regex);for(t=1;tdecodeURIComponent(n)),toastr[i].apply(null,r)}});this.next(n)}),$$(function(){$(this).find(".onload-showtoastr").each(function(){var t=$(this).data("toastr-type")||"info",n=[$(this).html()];$(this).data("toastr-title")!=null&&n.push($(this).data("toastr-title"));toastr[t].apply(null,n)})}),document.addEventListener("DOMContentLoaded",function(){$(document).on("click","*[onclick-showtoastr]",function(){var t=$(this).attr("onclick-showtoastr"),n=0;sircl.ext.$select($(this),t).each(function(){setTimeout(function(n){var i=n.data("toastr-type")||"info",t=[n.html()];n.data("toastr-title")!=null&&t.push(n.data("toastr-title"));toastr[i].apply(null,t)},n,$(this));n+=200})})}));