PageSourceSearch

https://aimathsolver.co/build/assets/ai-chat-actions-nDWcGNUB.js

js aimathsolver.co collected 2026-09-29 21:55:08 UTC 1,769 bytes, 1 lines download raw bytes

1import{p as r}from"./pageData-B3nQg5j2.js";import{l as c,s as l}from"./ai-core-MTYXcks9.js";let a=null;function i(){return typeof html2pdf<"u"?Promise.resolve():(a||(a=new Promise((o,t)=>{c("https://calculator-online.net/js/html2pdf.bundle.js",o,t)})),a)}i();function u(o){var t=document.querySelector(`.result-${o}`);if(console.log(o),!t){console.error(`Element with class .result-${o} not found.`);return}var e=document.createElement("textarea");e.style.position="fixed",document.body.appendChild(e),e.value=t.innerText,e.select(),e.setSelectionRange(0,99999),document.execCommand("copy"),document.body.removeChild(e),l(r("ai-chat-actions-data","copyTextMessage","Text Copied"),"success")}function m(o){var t=$(`#input-search-${o}`).text().trim();t||(console.error("Could not find input text for filename"),t="ai-math-solution"),t=t.replace(/[^a-zA-Z0-9\s]/g,"")||"ai-math-solution";var e=document.querySelector(`.result-${o}`);if(!e){console.error(`Could not find element with class .result-${o}`);return}i().then(()=>d(e,t))}function d(o,t){html2pdf().from(o).set({margin:[15,5,5,5],filename:t+".pdf",image:{type:"jpeg",quality:.98},html2canvas:{scale:2,logging:!0,dpi:192,letterRendering:!0},jsPDF:{unit:"mm",format:"a4",orientation:"portrait"},pagebreak:{before:".page-break",avoid:"table"}}).toPdf().get("pdf").then(function(e){var s=e.internal.getNumberOfPages();for(let n=1;n<=s;n++)e.setPage(n),e.setFontSize(8),e.setTextColor(150),e.text(15,15,"Results from"),e.setTextColor(0,0,255),e.textWithLink("Ai-math-solver",31,15,{url:window.location.href})}).save().catch(function(e){console.error("PDF generation failed:",e),l(r("ai-chat-actions-data","pdfGenFailedMessage","Failed to generate PDF. Please try again."),"danger")})}window.copy=u;window.download=m;

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.