System.register(["./vendor-html2canvas-legacy-6lqTpQPP.js","./vendor-legacy--aGazLR_.js"],(function(e,a){"use strict";var t,c;return{setters:[e=>{t=e.h},e=>{c=e.s}],execute:function(){e("u",(function(e,{showMeaage:a=!0,message:n="已截图"}){t(document.querySelector(e),{useCORS:!0,scrollX:0,scrollY:-window.scrollY,scale:window.devicePixelRatio||1}).then((e=>{document.body.appendChild(e).id="canvasE";var t=document.createElement("a");t.href=e.toDataURL("image/png").replace("image/png","image/octet-stream"),t.download="case.png",t.click(),a&&c({message:n}),document.getElementById("canvasE").remove()}))}))}}}));
