File: /var/www/html/pmw24/driver_settlement/public/admin_assets/js/sweet-alerts.min.js
!function(t,e,n){"use strict";n(e).ready(function(){n("#basic-alert").on("click",function(){swal("Here's a message!").done()}),n("#with-title").on("click",function(){swal("Here's a message!","It's pretty, isn't it?").done()}),n("#html-alert").on("click",function(){swal({title:"HTML <small>Title</small>!",text:'A custom <span style="color:#F6BB42">html<span> message.',html:!0}).done()}),n("#type-question").on("click",function(){swal("Question","Are You Sure?","question").done()}),n("#type-success").on("click",function(){swal("Good job!","You clicked the button!","success").done()}),n("#type-primary").on("click",function(){swal("Primary Goal!","You can set your goal here!","primary").done()}),n("#type-info").on("click",function(){swal("Info!","You clicked the button!","info").done()}),n("#type-warning").on("click",function(){swal("Warning!","You clicked the button!","warning").done()}),n("#type-error").on("click",function(){swal("Error!","You clicked the button!","error").done()}),n("#custom-icon").on("click",function(){swal({title:"Sweet!",text:"Here's a custom image.",imageUrl:"../../app-assets/img/icons/thumbs-up.jpg"}).done()}),n("#auto-close").on("click",function(){swal({title:"Auto close alert!",text:"I will close in 2 seconds.",timer:2e3,showConfirmButton:!1}).done()}),n("#outside-click").on("click",function(){swal({title:"Click outside to close!",text:"This is a cool message!",allowOutsideClick:!0}).done()}),n("#ajax-request").on("click",function(){swal({title:"Submit email to run ajax request",input:"email",showCancelButton:!0,confirmButtonText:"Submit",showLoaderOnConfirm:!0,preConfirm:function(){return new Promise(function(t){setTimeout(function(){t()},2e3)})},allowOutsideClick:!1}).then(function(t){t&&swal({type:"success",title:"Ajax request finished!",html:"Submitted email: "+t})}).done()}),n("#custom-button").on("click",function(){swal({title:"<i>HTML</i> <u>example</u>",type:"info",html:'You can use <b>bold text</b>, <a href="//github.com">links</a> and other HTML tags',showCloseButton:!0,showCancelButton:!0,confirmButtonText:'<i class="fa fa-thumbs-up"></i> Great!',cancelButtonText:'<i class="fa fa-thumbs-down"></i> Opps!'}).done()}),n("#prompt-function").on("click",function(){swal({title:"An input!",text:"Write something interesting:",input:"text",showCancelButton:!0,closeOnConfirm:!1,animation:"slide-from-top",inputPlaceholder:"Write something"}).then(function(t){return!1!==t&&(""===t?(swal.showInputError("You need to write something!").done(),!1):void swal("Nice!","You wrote: "+t,"success").done())}).done()}),n("#confirm-text").on("click",function(){swal({title:"Are you sure?",text:"You won't be able to revert this!",type:"warning",showCancelButton:!0,confirmButtonColor:"#0CC27E",cancelButtonColor:"#FF586B",confirmButtonText:"Text Changed",cancelButtonText:"No, cancel"}).then(function(t){t&&swal("Changed!","Confirm button text was changed!!","success").done()}).catch(swal.noop)}),n("#confirm-cancel").on("click",function(){swal({title:"Are you sure?",text:"You won't be able to revert this!",type:"warning",showCancelButton:!0,confirmButtonColor:"#0CC27E",cancelButtonColor:"#FF586B",confirmButtonText:"Yes, delete it!",cancelButtonText:"No, cancel!",confirmButtonClass:"btn btn-success btn-raised mr-5",cancelButtonClass:"btn btn-danger btn-raised",buttonsStyling:!1}).then(function(){swal("Deleted!","Your imaginary file has been deleted.","success").done()},function(t){"cancel"===t&&swal("Cancelled","Your imaginary file is safe :)","error").done()}).done()}),n("#steps").on("click",function(){swal.setDefaults({confirmButtonText:"Next →",showCancelButton:!0,cancelButtonColor:"#FF586B",animation:!1}).done();var t=[{title:"Step 1",text:"Chaining modals is easy with Step 1"},{title:"Step 2",text:"Chaining modals is easy with Step 2"},{title:"Step 3",text:"Chaining modals is easy with Step 3"}];swal.queue(t).then(function(){swal({title:"All done!",text:"Great job :)",confirmButtonText:"Lovely!",showCancelButton:!1})}).then(function(){swal.resetDefaults()}).catch(swal.noop)})})}(window,document,jQuery);