diff --git a/src/lib/components/Questions.svelte b/src/lib/components/Questions.svelte index 35e5554..e85d319 100644 --- a/src/lib/components/Questions.svelte +++ b/src/lib/components/Questions.svelte @@ -278,7 +278,7 @@ {:else}
- +
{/if} {/if} diff --git a/src/lib/components/confetti.js b/src/lib/components/confetti.js new file mode 100644 index 0000000..f65f503 --- /dev/null +++ b/src/lib/components/confetti.js @@ -0,0 +1,8 @@ +/** + * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. + * Original file: /npm/canvas-confetti@1.9.0/dist/confetti.module.mjs + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var t={};!function t(e,a,n,o){var r=!!(e.Worker&&e.Blob&&e.Promise&&e.OffscreenCanvas&&e.OffscreenCanvasRenderingContext2D&&e.HTMLCanvasElement&&e.HTMLCanvasElement.prototype.transferControlToOffscreen&&e.URL&&e.URL.createObjectURL),i="function"==typeof Path2D&&"function"==typeof DOMMatrix;function l(){}function s(t){var n=a.exports.Promise,o=void 0!==n?n:e.Promise;return"function"==typeof o?new o(t):(t(l,l),null)}var c,h,f,u,d,m,p,g,b,M=(f=Math.floor(1e3/60),u={},d=0,"function"==typeof requestAnimationFrame&&"function"==typeof cancelAnimationFrame?(c=function(t){var e=Math.random();return u[e]=requestAnimationFrame((function a(n){d===n||d+f-1 { - const confetti = (await import('https://esm.run/canvas-confetti')).default; + const confetti = (await import('./confetti')).default; confettiCanvas.width = window.innerWidth / 2; confettiCanvas.height = window.innerHeight / 2; @@ -54,7 +54,7 @@