Skip to content

Commit

Permalink
u
Browse files Browse the repository at this point in the history
  • Loading branch information
hadithmv committed Dec 13, 2024
1 parent ead37c7 commit 7deefc6
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 6 deletions.
1 change: 1 addition & 0 deletions page-uc/textEditor.html
Original file line number Diff line number Diff line change
Expand Up @@ -2880,6 +2880,7 @@ <h4>🌙 Islamic Night Time Calculator</h4>
-->

<h4>🔒 Text Encryption and Decryption</h4>
<p>(AES 256-GCM & PBKDF2)</p>

<br />

Expand Down
2 changes: 1 addition & 1 deletion page/qrGenerator.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
<path d="${n.join(" ")}" fill="${t}"/>
</svg>
`})(i,d,l,c),r=/ viewBox="([^"]*)"/.exec(e)[1],d=/ d="([^"]*)"/.exec(e)[1],n.setAttribute("viewBox",r),n.querySelector("path").setAttribute("d",d),n.querySelector("rect").setAttribute("fill",l),n.querySelector("path").setAttribute("fill",c),n.style.removeProperty("display"),t.href="data:application/svg+xml,"+encodeURIComponent(e);y("statistics-output").textContent=`QR Code version = ${i.version}, mask pattern = ${i.mask}, character count = ${(e=>{let t=0;for(var r of o){if(55296<=(e=r.codePointAt(0))&&e<57344)throw new RangeError("Invalid UTF-16 string");t++}return t})()},
encoding mode = ${0==a.length?"none":1==a.length?(s=a[0].mode)==(r=qrcodegen.QrSegment.Mode).NUMERIC?"numeric":s==r.ALPHANUMERIC?"alphanumeric":s==r.BYTE?"byte":s==r.KANJI?"kanji":"unknown":"multiple"}, error correction = level ${"LMQH".charAt(i.errorCorrectionLevel.ordinal)}, data bits = ${qrcodegen.QrSegment.getTotalBits(a,i.version)}.`}}function y(e){if((e=document.getElementById(e))instanceof HTMLElement)return e;throw Error("Assertion error")}function w(e){if((e=y(e))instanceof HTMLInputElement)return e;throw Error("Assertion error")}var e,t;(app||={}).handleVersionMinMax=function(e){var t=w("version-min-input"),r=w("version-max-input");let o=parseInt(t.value,10),n=parseInt(r.value,10);o=Math.max(Math.min(o,qrcodegen.QrCode.MAX_VERSION),qrcodegen.QrCode.MIN_VERSION),n=Math.max(Math.min(n,qrcodegen.QrCode.MAX_VERSION),qrcodegen.QrCode.MIN_VERSION),"min"==e&&o>n?n=o:"max"==e&&n<o&&(o=n),t.value=o.toString(),r.value=n.toString(),i()},y("loading").style.display="none",y("loaded").style.removeProperty("display");for(e of document.querySelectorAll("input[type=number], input[type=text], textarea"))0!=e.id.indexOf("version-")&&(e.oninput=i);for(t of document.querySelectorAll("input[type=radio], input[type=checkbox]"))t.onchange=i;i()})()</script><script>document.addEventListener("DOMContentLoaded",function(){let t=document.getElementById("output-format-bitmap");var e=document.getElementById("output-format-vector");let n=document.getElementById("scale-row"),o=document.getElementById("qrcode-svg"),d=document.getElementById("qrcode-canvas"),a=document.getElementById("scale-value"),c=0;function u(e,t){e.style.width=t+"px",e.style.height=t+"px"}function i(){n.style.removeProperty("display")}[t,e].forEach(e=>{e.addEventListener("change",function(){var e=t.checked?d:o;c=e.offsetWidth,i(),setTimeout(()=>{var e=t.checked?d:o;0<c&&u(e,c),i()},0)})});let r=document.getElementById("scale-input");r.addEventListener("input",function(){var e=parseInt(r.value),t=29.5*(e+1);u(d,t),u(o,t),c=t,a.textContent=e+"x"}),r.dispatchEvent(new Event("input")),i(),new MutationObserver(function(e){e.forEach(function(e){"attributes"===e.type&&"style"===e.attributeName&&"none"===n.style.display&&i()})}).observe(n,{attributes:!0})})</script><script>app.redraw=function(){document.getElementById("text-input").dispatchEvent(new Event("input"))}</script><script>((e,t,a,g)=>{e[g]=e[g]||[],e[g].push({"gtm.start":(new Date).getTime(),event:"gtm.js"}),e=t.getElementsByTagName(a)[0],(g=t.createElement(a)).async=!0,g.src="https://www.googletagmanager.com/gtm.js?id=GTM-TRR5NPBL",e.parentNode.insertBefore(g,e)})(window,document,"script","dataLayer")</script><noscript><iframe height=0 src="https://www.googletagmanager.com/ns.html?id=GTM-TRR5NPBL"style=display:none;visibility:hidden width=0></iframe></noscript>
encoding mode = ${0==a.length?"none":1==a.length?(s=a[0].mode)==(r=qrcodegen.QrSegment.Mode).NUMERIC?"numeric":s==r.ALPHANUMERIC?"alphanumeric":s==r.BYTE?"byte":s==r.KANJI?"kanji":"unknown":"multiple"}, error correction = level ${"LMQH".charAt(i.errorCorrectionLevel.ordinal)}, data bits = ${qrcodegen.QrSegment.getTotalBits(a,i.version)}.`}}function y(e){if((e=document.getElementById(e))instanceof HTMLElement)return e;throw Error("Assertion error")}function w(e){if((e=y(e))instanceof HTMLInputElement)return e;throw Error("Assertion error")}var e,t;(app||={}).handleVersionMinMax=function(e){var t=w("version-min-input"),r=w("version-max-input");let o=parseInt(t.value,10),n=parseInt(r.value,10);o=Math.max(Math.min(o,qrcodegen.QrCode.MAX_VERSION),qrcodegen.QrCode.MIN_VERSION),n=Math.max(Math.min(n,qrcodegen.QrCode.MAX_VERSION),qrcodegen.QrCode.MIN_VERSION),"min"==e&&o>n?n=o:"max"==e&&n<o&&(o=n),t.value=o.toString(),r.value=n.toString(),i()},y("loading").style.display="none",y("loaded").style.removeProperty("display");for(e of document.querySelectorAll("input[type=number], input[type=text], textarea"))0!=e.id.indexOf("version-")&&(e.oninput=i);for(t of document.querySelectorAll("input[type=radio], input[type=checkbox]"))t.onchange=i;i()})()</script><script>document.addEventListener("DOMContentLoaded",function(){let t=document.getElementById("output-format-bitmap");var e=document.getElementById("output-format-vector");let n=document.getElementById("scale-row"),o=document.getElementById("qrcode-svg"),d=document.getElementById("qrcode-canvas"),a=document.getElementById("scale-value"),c=0;function u(e,t){e.style.width=t+"px",e.style.height=t+"px"}function r(){n.style.removeProperty("display")}[t,e].forEach(e=>{e.addEventListener("change",function(){var e=t.checked?d:o;c=e.offsetWidth,r(),setTimeout(()=>{var e=t.checked?d:o;0<c&&u(e,c),r()},0)})});let i=document.getElementById("scale-input");i.addEventListener("input",function(){var e=29.5*(parseInt(i.value)+1);u(d,e),u(o,e),c=e,a.textContent=Math.round(e)+"px"}),i.dispatchEvent(new Event("input")),r(),new MutationObserver(function(e){e.forEach(function(e){"attributes"===e.type&&"style"===e.attributeName&&"none"===n.style.display&&r()})}).observe(n,{attributes:!0})})</script><script>app.redraw=function(){document.getElementById("text-input").dispatchEvent(new Event("input"))}</script><script>((e,t,a,g)=>{e[g]=e[g]||[],e[g].push({"gtm.start":(new Date).getTime(),event:"gtm.js"}),e=t.getElementsByTagName(a)[0],(g=t.createElement(a)).async=!0,g.src="https://www.googletagmanager.com/gtm.js?id=GTM-TRR5NPBL",e.parentNode.insertBefore(g,e)})(window,document,"script","dataLayer")</script><noscript><iframe height=0 src="https://www.googletagmanager.com/ns.html?id=GTM-TRR5NPBL"style=display:none;visibility:hidden width=0></iframe></noscript>
2 changes: 1 addition & 1 deletion page/textEditor-CUR.html

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions page/textEditor.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion page/textEditor.min.js

Large diffs are not rendered by default.

0 comments on commit 7deefc6

Please sign in to comment.