animot-presenter 0.2.2 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1040,6 +1040,17 @@
|
|
|
1040
1040
|
justify-content: center;
|
|
1041
1041
|
overflow: hidden;
|
|
1042
1042
|
background: transparent;
|
|
1043
|
+
/* Reset inheritable CSS from host page to prevent style leakage */
|
|
1044
|
+
line-height: normal;
|
|
1045
|
+
font-size: 16px;
|
|
1046
|
+
font-weight: 400;
|
|
1047
|
+
font-style: normal;
|
|
1048
|
+
letter-spacing: normal;
|
|
1049
|
+
word-spacing: normal;
|
|
1050
|
+
text-transform: none;
|
|
1051
|
+
text-indent: 0;
|
|
1052
|
+
text-align: left;
|
|
1053
|
+
color: inherit;
|
|
1043
1054
|
}
|
|
1044
1055
|
|
|
1045
1056
|
.animot-canvas-wrapper {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.code-morph.svelte-1hmk0l{width:100%;height:100%;margin:0;padding:0;background:transparent;font-family:var(--font-mono, "JetBrains Mono", monospace);font-size:inherit;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;color:#e6edf3;box-sizing:border-box;overflow:visible}.code-morph.svelte-1hmk0l pre{margin:0;padding:16px;background:transparent!important;font-family:var(--font-mono);font-size:inherit;line-height:1.6;overflow:visible}.code-morph.svelte-1hmk0l code{font-family:inherit;font-size:inherit;font-weight:inherit}.code-morph.svelte-1hmk0l .line-number{display:inline-block;width:2.5em;margin-right:1em;text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;opacity:.6}.code-morph.svelte-1hmk0l .word-highlight{background:var(--highlight-color, #facc15);color:#000;border-radius:3px;padding:1px 3px;margin:0 -3px;-webkit-box-decoration-break:clone;box-decoration-break:clone;animation:svelte-1hmk0l-fadeHighlight var(--duration, 1s) ease-out forwards}@keyframes svelte-1hmk0l-fadeHighlight{0%{background:var(--highlight-color, #facc15);color:#000}70%{background:var(--highlight-color, #facc15);color:#000}to{background:transparent;color:inherit}}.counter.svelte-1er5jjj{width:100%;height:100%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;overflow:hidden;white-space:nowrap}.chart.svelte-1mq2d7j{width:100%;height:100%;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden}.chart-title.svelte-1mq2d7j{font-weight:600;text-align:center;margin-bottom:8px}.chart-content.svelte-1mq2d7j{flex:1;min-height:0}.chart-content.svelte-1mq2d7j svg:where(.svelte-1mq2d7j){width:100%;height:100%}.bar-chart.svelte-1mq2d7j,.line-chart.svelte-1mq2d7j{overflow:visible}.icon-element.svelte-2ld65o{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.icon-element.svelte-2ld65o svg{width:100%;height:100%}@keyframes float-vertical{0%,to{translate:0 0}50%{translate:0 calc(-1 * var(--float-amp, 10px))}}@keyframes float-horizontal{0%,to{translate:0 0}50%{translate:var(--float-amp, 10px) 0}}@keyframes float-both-0{0%{translate:0 0}15%{translate:calc(.8 * var(--float-amp, 10px)) calc(-.6 * var(--float-amp, 10px))}35%{translate:calc(-.4 * var(--float-amp, 10px)) calc(-1 * var(--float-amp, 10px))}55%{translate:calc(-.9 * var(--float-amp, 10px)) calc(.3 * var(--float-amp, 10px))}75%{translate:calc(.3 * var(--float-amp, 10px)) calc(.7 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-1{0%{translate:0 0}20%{translate:calc(-.7 * var(--float-amp, 10px)) calc(-.8 * var(--float-amp, 10px))}40%{translate:calc(.5 * var(--float-amp, 10px)) calc(-.3 * var(--float-amp, 10px))}60%{translate:calc(.9 * var(--float-amp, 10px)) calc(.6 * var(--float-amp, 10px))}80%{translate:calc(-.4 * var(--float-amp, 10px)) calc(.9 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-2{0%{translate:0 0}12%{translate:calc(.6 * var(--float-amp, 10px)) calc(.5 * var(--float-amp, 10px))}30%{translate:calc(1 * var(--float-amp, 10px)) calc(-.4 * var(--float-amp, 10px))}50%{translate:calc(-.3 * var(--float-amp, 10px)) calc(-.9 * var(--float-amp, 10px))}70%{translate:calc(-.8 * var(--float-amp, 10px)) calc(.2 * var(--float-amp, 10px))}88%{translate:calc(.2 * var(--float-amp, 10px)) calc(.8 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-3{0%{translate:0 0}17%{translate:calc(-.9 * var(--float-amp, 10px)) calc(.4 * var(--float-amp, 10px))}33%{translate:calc(-.5 * var(--float-amp, 10px)) calc(-.7 * var(--float-amp, 10px))}50%{translate:calc(.7 * var(--float-amp, 10px)) calc(-.9 * var(--float-amp, 10px))}67%{translate:calc(.9 * var(--float-amp, 10px)) calc(.5 * var(--float-amp, 10px))}83%{translate:calc(-.2 * var(--float-amp, 10px)) calc(.8 * var(--float-amp, 10px))}to{translate:0 0}}.animot-presenter.svelte-16ocdv9{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:transparent}.animot-canvas-wrapper.svelte-16ocdv9{display:flex;align-items:center;justify-content:center}.animot-canvas.svelte-16ocdv9{position:relative;overflow:hidden}.animot-element.svelte-16ocdv9{position:absolute;box-sizing:border-box;will-change:transform,opacity,left,top,width,height;isolation:isolate}.animot-element.floating.svelte-16ocdv9{animation-duration:var(--float-speed, 3s);animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-delay:var(--float-delay, 0s)}.animot-code-block.svelte-16ocdv9{width:100%;height:100%;background:#0d1117;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 32px #0006;margin:0;box-sizing:border-box}.animot-code-block.transparent-bg.svelte-16ocdv9{background:transparent;box-shadow:none}.animot-code-block.transparent-bg.svelte-16ocdv9 .animot-code-header:where(.svelte-16ocdv9){background:transparent;border-bottom-color:#ffffff1a}.animot-code-header.svelte-16ocdv9{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#161b22;border-bottom:1px solid #30363d;flex-shrink:0}.animot-window-controls.svelte-16ocdv9{display:flex;gap:8px}.animot-control.svelte-16ocdv9{width:12px;height:12px;border-radius:50%;display:block}.macos.svelte-16ocdv9 .animot-control.close:where(.svelte-16ocdv9){background:#ff5f57}.macos.svelte-16ocdv9 .animot-control.minimize:where(.svelte-16ocdv9){background:#febc2e}.macos.svelte-16ocdv9 .animot-control.maximize:where(.svelte-16ocdv9){background:#28c840}.animot-filename.svelte-16ocdv9{color:#8b949e;font-size:14px;flex:1}.animot-code-content.svelte-16ocdv9{flex:1;overflow:hidden;position:relative}.animot-highlighted-code.svelte-16ocdv9{width:100%;height:100%}.animot-code-content.svelte-16ocdv9 pre,.animot-highlighted-code.svelte-16ocdv9 pre{margin:0;padding:16px;background:transparent!important;line-height:1.6;font-size:inherit;overflow:visible}.animot-highlighted-code.svelte-16ocdv9 code{font-family:inherit;font-size:inherit;font-weight:inherit}.animot-highlighted-code.svelte-16ocdv9 .line-number{display:inline-block;width:2.5em;margin-right:1em;text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;opacity:.6}.animot-text-element.svelte-16ocdv9{width:100%;height:100%;display:flex;align-items:center;white-space:pre-wrap;word-wrap:break-word}.animot-typewriter-cursor.svelte-16ocdv9{animation:svelte-16ocdv9-animot-blink .7s infinite;font-weight:100}@keyframes svelte-16ocdv9-animot-blink{0%,50%{opacity:1}51%,to{opacity:0}}.animot-arrow-element.svelte-16ocdv9{width:100%;height:100%}.arrow-animate-draw.svelte-16ocdv9 .arrow-path:where(.svelte-16ocdv9){stroke-dasharray:1000;stroke-dashoffset:1000;animation:svelte-16ocdv9-animot-arrow-draw var(--arrow-anim-duration, .5s) ease-out forwards}.arrow-head-styled-draw.svelte-16ocdv9{opacity:0;animation:svelte-16ocdv9-animot-arrow-head-appear var(--arrow-anim-duration, .5s) ease-out forwards;animation-delay:calc(var(--arrow-anim-duration, .5s) * .7)}.arrow-animate-draw.svelte-16ocdv9 .arrow-head:where(.svelte-16ocdv9){opacity:0;animation:svelte-16ocdv9-animot-arrow-head-appear var(--arrow-anim-duration, .5s) ease-out forwards;animation-delay:calc(var(--arrow-anim-duration, .5s) * .7)}.arrow-animate-grow.svelte-16ocdv9{transform-origin:left center;animation:svelte-16ocdv9-animot-arrow-grow var(--arrow-anim-duration, .5s) ease-out forwards}@keyframes svelte-16ocdv9-animot-arrow-draw{to{stroke-dashoffset:0}}@keyframes svelte-16ocdv9-animot-arrow-head-appear{0%{opacity:0}to{opacity:1}}@keyframes svelte-16ocdv9-animot-arrow-grow{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}.animot-image-element.svelte-16ocdv9{width:100%;height:100%;display:block}.animot-shape-element.svelte-16ocdv9{width:100%;height:100%;display:block;overflow:visible}.animot-canvas.svelte-16ocdv9{--transition-duration: .5s;transition:transform calc(var(--transition-duration) * .4) ease,opacity calc(var(--transition-duration) * .4) ease}.animot-canvas.transition-fade-out.svelte-16ocdv9{opacity:0}.animot-canvas.transition-fade-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-fadeIn calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-left-out.forward.svelte-16ocdv9{transform:translate(-100%);opacity:0}.animot-canvas.transition-slide-left-in.forward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromRight calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-left-out.backward.svelte-16ocdv9{transform:translate(100%);opacity:0}.animot-canvas.transition-slide-left-in.backward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromLeft calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-right-out.forward.svelte-16ocdv9{transform:translate(100%);opacity:0}.animot-canvas.transition-slide-right-in.forward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromLeft calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-up-out.svelte-16ocdv9{transform:translateY(-100%);opacity:0}.animot-canvas.transition-slide-up-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromBottom calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-down-out.svelte-16ocdv9{transform:translateY(100%);opacity:0}.animot-canvas.transition-slide-down-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromTop calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-zoom-in-out.svelte-16ocdv9{transform:scale(.5);opacity:0}.animot-canvas.transition-zoom-in-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-zoomIn calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-zoom-out-out.svelte-16ocdv9{transform:scale(1.5);opacity:0}.animot-canvas.transition-zoom-out-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-zoomOut calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-flip-out.svelte-16ocdv9{transform:perspective(1000px) rotateY(90deg);opacity:0}.animot-canvas.transition-flip-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromLeft{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromBottom{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromTop{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes svelte-16ocdv9-animot-zoomIn{0%{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}@keyframes svelte-16ocdv9-animot-zoomOut{0%{transform:scale(1.5);opacity:0}to{transform:scale(1);opacity:1}}@keyframes svelte-16ocdv9-animot-flipIn{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}to{transform:perspective(1000px) rotateY(0);opacity:1}}.animot-canvas.transition-flip-x-out.svelte-16ocdv9{transform:perspective(1000px) rotateX(90deg);opacity:0}.animot-canvas.transition-flip-x-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipXIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-flipXIn{0%{transform:perspective(1000px) rotateX(-90deg);opacity:0}to{transform:perspective(1000px) rotateX(0);opacity:1}}.animot-canvas.transition-flip-y-out.svelte-16ocdv9{transform:perspective(1000px) rotateY(90deg);opacity:0}.animot-canvas.transition-flip-y-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipYIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-flipYIn{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}to{transform:perspective(1000px) rotateY(0);opacity:1}}.animot-svg-element.svelte-16ocdv9{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.animot-svg-element.svelte-16ocdv9 svg{width:100%;height:100%}.animot-controls.svelte-16ocdv9{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;padding:8px 16px;background:#000000b3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:10px;opacity:0;transition:opacity .3s ease .15s;z-index:100}.animot-presenter.svelte-16ocdv9:hover .animot-controls:where(.svelte-16ocdv9),.animot-menu-visible.svelte-16ocdv9 .animot-controls:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9){display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;border:none;cursor:pointer;background:#ffffff1a;color:#fff;transition:background .2s}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9):hover:not(:disabled){background:#fff3}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9):disabled{opacity:.3;cursor:not-allowed}.animot-controls.svelte-16ocdv9 button.active:where(.svelte-16ocdv9){background:#6366f199}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9) svg:where(.svelte-16ocdv9){width:16px;height:16px}.animot-slide-indicator.svelte-16ocdv9{font-size:12px;color:#fff;min-width:50px;text-align:center;font-family:system-ui,sans-serif}.animot-arrow.svelte-16ocdv9{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:none;cursor:pointer;background:#00000080;color:#fff;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s .15s;z-index:100;padding:0;margin:0}.animot-presenter.svelte-16ocdv9:hover .animot-arrow:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-presenter.svelte-16ocdv9:hover .animot-arrow:where(.svelte-16ocdv9):disabled{opacity:.3;cursor:not-allowed}.animot-arrow.svelte-16ocdv9:hover:not(:disabled){background:#000000b3}.animot-arrow.svelte-16ocdv9 svg:where(.svelte-16ocdv9){width:20px;height:20px}.animot-arrow-left.svelte-16ocdv9{left:8px}.animot-arrow-right.svelte-16ocdv9{right:8px}.animot-progress-bar.svelte-16ocdv9{position:absolute;bottom:0;left:0;right:0;height:3px;background:#ffffff1a;z-index:100;opacity:0;transition:opacity .3s .15s}.animot-presenter.svelte-16ocdv9:hover .animot-progress-bar:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-progress-fill.svelte-16ocdv9{height:100%;background:linear-gradient(135deg,#7c3aed,#ec4899);transition:width .6s ease}.animot-loading.svelte-16ocdv9{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.animot-spinner.svelte-16ocdv9{width:32px;height:32px;border:3px solid rgba(255,255,255,.2);border-top-color:#7c3aed;border-radius:50%;animation:svelte-16ocdv9-animot-spin .8s linear infinite}@keyframes svelte-16ocdv9-animot-spin{to{transform:rotate(360deg)}}.animot-error.svelte-16ocdv9{color:#ef4444;padding:20px;text-align:center;font-family:system-ui,sans-serif}
|
|
1
|
+
.code-morph.svelte-1hmk0l{width:100%;height:100%;margin:0;padding:0;background:transparent;font-family:var(--font-mono, "JetBrains Mono", monospace);font-size:inherit;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;color:#e6edf3;box-sizing:border-box;overflow:visible}.code-morph.svelte-1hmk0l pre{margin:0;padding:16px;background:transparent!important;font-family:var(--font-mono);font-size:inherit;line-height:1.6;overflow:visible}.code-morph.svelte-1hmk0l code{font-family:inherit;font-size:inherit;font-weight:inherit}.code-morph.svelte-1hmk0l .line-number{display:inline-block;width:2.5em;margin-right:1em;text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;opacity:.6}.code-morph.svelte-1hmk0l .word-highlight{background:var(--highlight-color, #facc15);color:#000;border-radius:3px;padding:1px 3px;margin:0 -3px;-webkit-box-decoration-break:clone;box-decoration-break:clone;animation:svelte-1hmk0l-fadeHighlight var(--duration, 1s) ease-out forwards}@keyframes svelte-1hmk0l-fadeHighlight{0%{background:var(--highlight-color, #facc15);color:#000}70%{background:var(--highlight-color, #facc15);color:#000}to{background:transparent;color:inherit}}.counter.svelte-1er5jjj{width:100%;height:100%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;overflow:hidden;white-space:nowrap}.chart.svelte-1mq2d7j{width:100%;height:100%;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden}.chart-title.svelte-1mq2d7j{font-weight:600;text-align:center;margin-bottom:8px}.chart-content.svelte-1mq2d7j{flex:1;min-height:0}.chart-content.svelte-1mq2d7j svg:where(.svelte-1mq2d7j){width:100%;height:100%}.bar-chart.svelte-1mq2d7j,.line-chart.svelte-1mq2d7j{overflow:visible}.icon-element.svelte-2ld65o{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.icon-element.svelte-2ld65o svg{width:100%;height:100%}@keyframes float-vertical{0%,to{translate:0 0}50%{translate:0 calc(-1 * var(--float-amp, 10px))}}@keyframes float-horizontal{0%,to{translate:0 0}50%{translate:var(--float-amp, 10px) 0}}@keyframes float-both-0{0%{translate:0 0}15%{translate:calc(.8 * var(--float-amp, 10px)) calc(-.6 * var(--float-amp, 10px))}35%{translate:calc(-.4 * var(--float-amp, 10px)) calc(-1 * var(--float-amp, 10px))}55%{translate:calc(-.9 * var(--float-amp, 10px)) calc(.3 * var(--float-amp, 10px))}75%{translate:calc(.3 * var(--float-amp, 10px)) calc(.7 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-1{0%{translate:0 0}20%{translate:calc(-.7 * var(--float-amp, 10px)) calc(-.8 * var(--float-amp, 10px))}40%{translate:calc(.5 * var(--float-amp, 10px)) calc(-.3 * var(--float-amp, 10px))}60%{translate:calc(.9 * var(--float-amp, 10px)) calc(.6 * var(--float-amp, 10px))}80%{translate:calc(-.4 * var(--float-amp, 10px)) calc(.9 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-2{0%{translate:0 0}12%{translate:calc(.6 * var(--float-amp, 10px)) calc(.5 * var(--float-amp, 10px))}30%{translate:calc(1 * var(--float-amp, 10px)) calc(-.4 * var(--float-amp, 10px))}50%{translate:calc(-.3 * var(--float-amp, 10px)) calc(-.9 * var(--float-amp, 10px))}70%{translate:calc(-.8 * var(--float-amp, 10px)) calc(.2 * var(--float-amp, 10px))}88%{translate:calc(.2 * var(--float-amp, 10px)) calc(.8 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-3{0%{translate:0 0}17%{translate:calc(-.9 * var(--float-amp, 10px)) calc(.4 * var(--float-amp, 10px))}33%{translate:calc(-.5 * var(--float-amp, 10px)) calc(-.7 * var(--float-amp, 10px))}50%{translate:calc(.7 * var(--float-amp, 10px)) calc(-.9 * var(--float-amp, 10px))}67%{translate:calc(.9 * var(--float-amp, 10px)) calc(.5 * var(--float-amp, 10px))}83%{translate:calc(-.2 * var(--float-amp, 10px)) calc(.8 * var(--float-amp, 10px))}to{translate:0 0}}.animot-presenter.svelte-16ocdv9{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:transparent;line-height:normal;font-size:16px;font-weight:400;font-style:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-align:left;color:inherit}.animot-canvas-wrapper.svelte-16ocdv9{display:flex;align-items:center;justify-content:center}.animot-canvas.svelte-16ocdv9{position:relative;overflow:hidden}.animot-element.svelte-16ocdv9{position:absolute;box-sizing:border-box;will-change:transform,opacity,left,top,width,height;isolation:isolate}.animot-element.floating.svelte-16ocdv9{animation-duration:var(--float-speed, 3s);animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-delay:var(--float-delay, 0s)}.animot-code-block.svelte-16ocdv9{width:100%;height:100%;background:#0d1117;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 32px #0006;margin:0;box-sizing:border-box}.animot-code-block.transparent-bg.svelte-16ocdv9{background:transparent;box-shadow:none}.animot-code-block.transparent-bg.svelte-16ocdv9 .animot-code-header:where(.svelte-16ocdv9){background:transparent;border-bottom-color:#ffffff1a}.animot-code-header.svelte-16ocdv9{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#161b22;border-bottom:1px solid #30363d;flex-shrink:0}.animot-window-controls.svelte-16ocdv9{display:flex;gap:8px}.animot-control.svelte-16ocdv9{width:12px;height:12px;border-radius:50%;display:block}.macos.svelte-16ocdv9 .animot-control.close:where(.svelte-16ocdv9){background:#ff5f57}.macos.svelte-16ocdv9 .animot-control.minimize:where(.svelte-16ocdv9){background:#febc2e}.macos.svelte-16ocdv9 .animot-control.maximize:where(.svelte-16ocdv9){background:#28c840}.animot-filename.svelte-16ocdv9{color:#8b949e;font-size:14px;flex:1}.animot-code-content.svelte-16ocdv9{flex:1;overflow:hidden;position:relative}.animot-highlighted-code.svelte-16ocdv9{width:100%;height:100%}.animot-code-content.svelte-16ocdv9 pre,.animot-highlighted-code.svelte-16ocdv9 pre{margin:0;padding:16px;background:transparent!important;line-height:1.6;font-size:inherit;overflow:visible}.animot-highlighted-code.svelte-16ocdv9 code{font-family:inherit;font-size:inherit;font-weight:inherit}.animot-highlighted-code.svelte-16ocdv9 .line-number{display:inline-block;width:2.5em;margin-right:1em;text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;opacity:.6}.animot-text-element.svelte-16ocdv9{width:100%;height:100%;display:flex;align-items:center;white-space:pre-wrap;word-wrap:break-word}.animot-typewriter-cursor.svelte-16ocdv9{animation:svelte-16ocdv9-animot-blink .7s infinite;font-weight:100}@keyframes svelte-16ocdv9-animot-blink{0%,50%{opacity:1}51%,to{opacity:0}}.animot-arrow-element.svelte-16ocdv9{width:100%;height:100%}.arrow-animate-draw.svelte-16ocdv9 .arrow-path:where(.svelte-16ocdv9){stroke-dasharray:1000;stroke-dashoffset:1000;animation:svelte-16ocdv9-animot-arrow-draw var(--arrow-anim-duration, .5s) ease-out forwards}.arrow-head-styled-draw.svelte-16ocdv9{opacity:0;animation:svelte-16ocdv9-animot-arrow-head-appear var(--arrow-anim-duration, .5s) ease-out forwards;animation-delay:calc(var(--arrow-anim-duration, .5s) * .7)}.arrow-animate-draw.svelte-16ocdv9 .arrow-head:where(.svelte-16ocdv9){opacity:0;animation:svelte-16ocdv9-animot-arrow-head-appear var(--arrow-anim-duration, .5s) ease-out forwards;animation-delay:calc(var(--arrow-anim-duration, .5s) * .7)}.arrow-animate-grow.svelte-16ocdv9{transform-origin:left center;animation:svelte-16ocdv9-animot-arrow-grow var(--arrow-anim-duration, .5s) ease-out forwards}@keyframes svelte-16ocdv9-animot-arrow-draw{to{stroke-dashoffset:0}}@keyframes svelte-16ocdv9-animot-arrow-head-appear{0%{opacity:0}to{opacity:1}}@keyframes svelte-16ocdv9-animot-arrow-grow{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}.animot-image-element.svelte-16ocdv9{width:100%;height:100%;display:block}.animot-shape-element.svelte-16ocdv9{width:100%;height:100%;display:block;overflow:visible}.animot-canvas.svelte-16ocdv9{--transition-duration: .5s;transition:transform calc(var(--transition-duration) * .4) ease,opacity calc(var(--transition-duration) * .4) ease}.animot-canvas.transition-fade-out.svelte-16ocdv9{opacity:0}.animot-canvas.transition-fade-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-fadeIn calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-left-out.forward.svelte-16ocdv9{transform:translate(-100%);opacity:0}.animot-canvas.transition-slide-left-in.forward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromRight calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-left-out.backward.svelte-16ocdv9{transform:translate(100%);opacity:0}.animot-canvas.transition-slide-left-in.backward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromLeft calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-right-out.forward.svelte-16ocdv9{transform:translate(100%);opacity:0}.animot-canvas.transition-slide-right-in.forward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromLeft calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-up-out.svelte-16ocdv9{transform:translateY(-100%);opacity:0}.animot-canvas.transition-slide-up-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromBottom calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-down-out.svelte-16ocdv9{transform:translateY(100%);opacity:0}.animot-canvas.transition-slide-down-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromTop calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-zoom-in-out.svelte-16ocdv9{transform:scale(.5);opacity:0}.animot-canvas.transition-zoom-in-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-zoomIn calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-zoom-out-out.svelte-16ocdv9{transform:scale(1.5);opacity:0}.animot-canvas.transition-zoom-out-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-zoomOut calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-flip-out.svelte-16ocdv9{transform:perspective(1000px) rotateY(90deg);opacity:0}.animot-canvas.transition-flip-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromLeft{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromBottom{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromTop{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes svelte-16ocdv9-animot-zoomIn{0%{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}@keyframes svelte-16ocdv9-animot-zoomOut{0%{transform:scale(1.5);opacity:0}to{transform:scale(1);opacity:1}}@keyframes svelte-16ocdv9-animot-flipIn{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}to{transform:perspective(1000px) rotateY(0);opacity:1}}.animot-canvas.transition-flip-x-out.svelte-16ocdv9{transform:perspective(1000px) rotateX(90deg);opacity:0}.animot-canvas.transition-flip-x-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipXIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-flipXIn{0%{transform:perspective(1000px) rotateX(-90deg);opacity:0}to{transform:perspective(1000px) rotateX(0);opacity:1}}.animot-canvas.transition-flip-y-out.svelte-16ocdv9{transform:perspective(1000px) rotateY(90deg);opacity:0}.animot-canvas.transition-flip-y-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipYIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-flipYIn{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}to{transform:perspective(1000px) rotateY(0);opacity:1}}.animot-svg-element.svelte-16ocdv9{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.animot-svg-element.svelte-16ocdv9 svg{width:100%;height:100%}.animot-controls.svelte-16ocdv9{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;padding:8px 16px;background:#000000b3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:10px;opacity:0;transition:opacity .3s ease .15s;z-index:100}.animot-presenter.svelte-16ocdv9:hover .animot-controls:where(.svelte-16ocdv9),.animot-menu-visible.svelte-16ocdv9 .animot-controls:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9){display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;border:none;cursor:pointer;background:#ffffff1a;color:#fff;transition:background .2s}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9):hover:not(:disabled){background:#fff3}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9):disabled{opacity:.3;cursor:not-allowed}.animot-controls.svelte-16ocdv9 button.active:where(.svelte-16ocdv9){background:#6366f199}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9) svg:where(.svelte-16ocdv9){width:16px;height:16px}.animot-slide-indicator.svelte-16ocdv9{font-size:12px;color:#fff;min-width:50px;text-align:center;font-family:system-ui,sans-serif}.animot-arrow.svelte-16ocdv9{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:none;cursor:pointer;background:#00000080;color:#fff;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s .15s;z-index:100;padding:0;margin:0}.animot-presenter.svelte-16ocdv9:hover .animot-arrow:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-presenter.svelte-16ocdv9:hover .animot-arrow:where(.svelte-16ocdv9):disabled{opacity:.3;cursor:not-allowed}.animot-arrow.svelte-16ocdv9:hover:not(:disabled){background:#000000b3}.animot-arrow.svelte-16ocdv9 svg:where(.svelte-16ocdv9){width:20px;height:20px}.animot-arrow-left.svelte-16ocdv9{left:8px}.animot-arrow-right.svelte-16ocdv9{right:8px}.animot-progress-bar.svelte-16ocdv9{position:absolute;bottom:0;left:0;right:0;height:3px;background:#ffffff1a;z-index:100;opacity:0;transition:opacity .3s .15s}.animot-presenter.svelte-16ocdv9:hover .animot-progress-bar:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-progress-fill.svelte-16ocdv9{height:100%;background:linear-gradient(135deg,#7c3aed,#ec4899);transition:width .6s ease}.animot-loading.svelte-16ocdv9{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.animot-spinner.svelte-16ocdv9{width:32px;height:32px;border:3px solid rgba(255,255,255,.2);border-top-color:#7c3aed;border-radius:50%;animation:svelte-16ocdv9-animot-spin .8s linear infinite}@keyframes svelte-16ocdv9-animot-spin{to{transform:rotate(360deg)}}.animot-error.svelte-16ocdv9{color:#ef4444;padding:20px;text-align:center;font-family:system-ui,sans-serif}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){try{var d=document,s=d.createElement('style');s.textContent=".code-morph.svelte-1hmk0l{width:100%;height:100%;margin:0;padding:0;background:transparent;font-family:var(--font-mono, \"JetBrains Mono\", monospace);font-size:inherit;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;color:#e6edf3;box-sizing:border-box;overflow:visible}.code-morph.svelte-1hmk0l pre{margin:0;padding:16px;background:transparent!important;font-family:var(--font-mono);font-size:inherit;line-height:1.6;overflow:visible}.code-morph.svelte-1hmk0l code{font-family:inherit;font-size:inherit;font-weight:inherit}.code-morph.svelte-1hmk0l .line-number{display:inline-block;width:2.5em;margin-right:1em;text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;opacity:.6}.code-morph.svelte-1hmk0l .word-highlight{background:var(--highlight-color, #facc15);color:#000;border-radius:3px;padding:1px 3px;margin:0 -3px;-webkit-box-decoration-break:clone;box-decoration-break:clone;animation:svelte-1hmk0l-fadeHighlight var(--duration, 1s) ease-out forwards}@keyframes svelte-1hmk0l-fadeHighlight{0%{background:var(--highlight-color, #facc15);color:#000}70%{background:var(--highlight-color, #facc15);color:#000}to{background:transparent;color:inherit}}.counter.svelte-1er5jjj{width:100%;height:100%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;overflow:hidden;white-space:nowrap}.chart.svelte-1mq2d7j{width:100%;height:100%;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden}.chart-title.svelte-1mq2d7j{font-weight:600;text-align:center;margin-bottom:8px}.chart-content.svelte-1mq2d7j{flex:1;min-height:0}.chart-content.svelte-1mq2d7j svg:where(.svelte-1mq2d7j){width:100%;height:100%}.bar-chart.svelte-1mq2d7j,.line-chart.svelte-1mq2d7j{overflow:visible}.icon-element.svelte-2ld65o{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.icon-element.svelte-2ld65o svg{width:100%;height:100%}@keyframes float-vertical{0%,to{translate:0 0}50%{translate:0 calc(-1 * var(--float-amp, 10px))}}@keyframes float-horizontal{0%,to{translate:0 0}50%{translate:var(--float-amp, 10px) 0}}@keyframes float-both-0{0%{translate:0 0}15%{translate:calc(.8 * var(--float-amp, 10px)) calc(-.6 * var(--float-amp, 10px))}35%{translate:calc(-.4 * var(--float-amp, 10px)) calc(-1 * var(--float-amp, 10px))}55%{translate:calc(-.9 * var(--float-amp, 10px)) calc(.3 * var(--float-amp, 10px))}75%{translate:calc(.3 * var(--float-amp, 10px)) calc(.7 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-1{0%{translate:0 0}20%{translate:calc(-.7 * var(--float-amp, 10px)) calc(-.8 * var(--float-amp, 10px))}40%{translate:calc(.5 * var(--float-amp, 10px)) calc(-.3 * var(--float-amp, 10px))}60%{translate:calc(.9 * var(--float-amp, 10px)) calc(.6 * var(--float-amp, 10px))}80%{translate:calc(-.4 * var(--float-amp, 10px)) calc(.9 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-2{0%{translate:0 0}12%{translate:calc(.6 * var(--float-amp, 10px)) calc(.5 * var(--float-amp, 10px))}30%{translate:calc(1 * var(--float-amp, 10px)) calc(-.4 * var(--float-amp, 10px))}50%{translate:calc(-.3 * var(--float-amp, 10px)) calc(-.9 * var(--float-amp, 10px))}70%{translate:calc(-.8 * var(--float-amp, 10px)) calc(.2 * var(--float-amp, 10px))}88%{translate:calc(.2 * var(--float-amp, 10px)) calc(.8 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-3{0%{translate:0 0}17%{translate:calc(-.9 * var(--float-amp, 10px)) calc(.4 * var(--float-amp, 10px))}33%{translate:calc(-.5 * var(--float-amp, 10px)) calc(-.7 * var(--float-amp, 10px))}50%{translate:calc(.7 * var(--float-amp, 10px)) calc(-.9 * var(--float-amp, 10px))}67%{translate:calc(.9 * var(--float-amp, 10px)) calc(.5 * var(--float-amp, 10px))}83%{translate:calc(-.2 * var(--float-amp, 10px)) calc(.8 * var(--float-amp, 10px))}to{translate:0 0}}.animot-presenter.svelte-16ocdv9{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:transparent}.animot-canvas-wrapper.svelte-16ocdv9{display:flex;align-items:center;justify-content:center}.animot-canvas.svelte-16ocdv9{position:relative;overflow:hidden}.animot-element.svelte-16ocdv9{position:absolute;box-sizing:border-box;will-change:transform,opacity,left,top,width,height;isolation:isolate}.animot-element.floating.svelte-16ocdv9{animation-duration:var(--float-speed, 3s);animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-delay:var(--float-delay, 0s)}.animot-code-block.svelte-16ocdv9{width:100%;height:100%;background:#0d1117;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 32px #0006;margin:0;box-sizing:border-box}.animot-code-block.transparent-bg.svelte-16ocdv9{background:transparent;box-shadow:none}.animot-code-block.transparent-bg.svelte-16ocdv9 .animot-code-header:where(.svelte-16ocdv9){background:transparent;border-bottom-color:#ffffff1a}.animot-code-header.svelte-16ocdv9{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#161b22;border-bottom:1px solid #30363d;flex-shrink:0}.animot-window-controls.svelte-16ocdv9{display:flex;gap:8px}.animot-control.svelte-16ocdv9{width:12px;height:12px;border-radius:50%;display:block}.macos.svelte-16ocdv9 .animot-control.close:where(.svelte-16ocdv9){background:#ff5f57}.macos.svelte-16ocdv9 .animot-control.minimize:where(.svelte-16ocdv9){background:#febc2e}.macos.svelte-16ocdv9 .animot-control.maximize:where(.svelte-16ocdv9){background:#28c840}.animot-filename.svelte-16ocdv9{color:#8b949e;font-size:14px;flex:1}.animot-code-content.svelte-16ocdv9{flex:1;overflow:hidden;position:relative}.animot-highlighted-code.svelte-16ocdv9{width:100%;height:100%}.animot-code-content.svelte-16ocdv9 pre,.animot-highlighted-code.svelte-16ocdv9 pre{margin:0;padding:16px;background:transparent!important;line-height:1.6;font-size:inherit;overflow:visible}.animot-highlighted-code.svelte-16ocdv9 code{font-family:inherit;font-size:inherit;font-weight:inherit}.animot-highlighted-code.svelte-16ocdv9 .line-number{display:inline-block;width:2.5em;margin-right:1em;text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;opacity:.6}.animot-text-element.svelte-16ocdv9{width:100%;height:100%;display:flex;align-items:center;white-space:pre-wrap;word-wrap:break-word}.animot-typewriter-cursor.svelte-16ocdv9{animation:svelte-16ocdv9-animot-blink .7s infinite;font-weight:100}@keyframes svelte-16ocdv9-animot-blink{0%,50%{opacity:1}51%,to{opacity:0}}.animot-arrow-element.svelte-16ocdv9{width:100%;height:100%}.arrow-animate-draw.svelte-16ocdv9 .arrow-path:where(.svelte-16ocdv9){stroke-dasharray:1000;stroke-dashoffset:1000;animation:svelte-16ocdv9-animot-arrow-draw var(--arrow-anim-duration, .5s) ease-out forwards}.arrow-head-styled-draw.svelte-16ocdv9{opacity:0;animation:svelte-16ocdv9-animot-arrow-head-appear var(--arrow-anim-duration, .5s) ease-out forwards;animation-delay:calc(var(--arrow-anim-duration, .5s) * .7)}.arrow-animate-draw.svelte-16ocdv9 .arrow-head:where(.svelte-16ocdv9){opacity:0;animation:svelte-16ocdv9-animot-arrow-head-appear var(--arrow-anim-duration, .5s) ease-out forwards;animation-delay:calc(var(--arrow-anim-duration, .5s) * .7)}.arrow-animate-grow.svelte-16ocdv9{transform-origin:left center;animation:svelte-16ocdv9-animot-arrow-grow var(--arrow-anim-duration, .5s) ease-out forwards}@keyframes svelte-16ocdv9-animot-arrow-draw{to{stroke-dashoffset:0}}@keyframes svelte-16ocdv9-animot-arrow-head-appear{0%{opacity:0}to{opacity:1}}@keyframes svelte-16ocdv9-animot-arrow-grow{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}.animot-image-element.svelte-16ocdv9{width:100%;height:100%;display:block}.animot-shape-element.svelte-16ocdv9{width:100%;height:100%;display:block;overflow:visible}.animot-canvas.svelte-16ocdv9{--transition-duration: .5s;transition:transform calc(var(--transition-duration) * .4) ease,opacity calc(var(--transition-duration) * .4) ease}.animot-canvas.transition-fade-out.svelte-16ocdv9{opacity:0}.animot-canvas.transition-fade-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-fadeIn calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-left-out.forward.svelte-16ocdv9{transform:translate(-100%);opacity:0}.animot-canvas.transition-slide-left-in.forward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromRight calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-left-out.backward.svelte-16ocdv9{transform:translate(100%);opacity:0}.animot-canvas.transition-slide-left-in.backward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromLeft calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-right-out.forward.svelte-16ocdv9{transform:translate(100%);opacity:0}.animot-canvas.transition-slide-right-in.forward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromLeft calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-up-out.svelte-16ocdv9{transform:translateY(-100%);opacity:0}.animot-canvas.transition-slide-up-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromBottom calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-down-out.svelte-16ocdv9{transform:translateY(100%);opacity:0}.animot-canvas.transition-slide-down-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromTop calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-zoom-in-out.svelte-16ocdv9{transform:scale(.5);opacity:0}.animot-canvas.transition-zoom-in-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-zoomIn calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-zoom-out-out.svelte-16ocdv9{transform:scale(1.5);opacity:0}.animot-canvas.transition-zoom-out-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-zoomOut calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-flip-out.svelte-16ocdv9{transform:perspective(1000px) rotateY(90deg);opacity:0}.animot-canvas.transition-flip-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromLeft{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromBottom{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromTop{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes svelte-16ocdv9-animot-zoomIn{0%{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}@keyframes svelte-16ocdv9-animot-zoomOut{0%{transform:scale(1.5);opacity:0}to{transform:scale(1);opacity:1}}@keyframes svelte-16ocdv9-animot-flipIn{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}to{transform:perspective(1000px) rotateY(0);opacity:1}}.animot-canvas.transition-flip-x-out.svelte-16ocdv9{transform:perspective(1000px) rotateX(90deg);opacity:0}.animot-canvas.transition-flip-x-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipXIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-flipXIn{0%{transform:perspective(1000px) rotateX(-90deg);opacity:0}to{transform:perspective(1000px) rotateX(0);opacity:1}}.animot-canvas.transition-flip-y-out.svelte-16ocdv9{transform:perspective(1000px) rotateY(90deg);opacity:0}.animot-canvas.transition-flip-y-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipYIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-flipYIn{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}to{transform:perspective(1000px) rotateY(0);opacity:1}}.animot-svg-element.svelte-16ocdv9{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.animot-svg-element.svelte-16ocdv9 svg{width:100%;height:100%}.animot-controls.svelte-16ocdv9{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;padding:8px 16px;background:#000000b3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:10px;opacity:0;transition:opacity .3s ease .15s;z-index:100}.animot-presenter.svelte-16ocdv9:hover .animot-controls:where(.svelte-16ocdv9),.animot-menu-visible.svelte-16ocdv9 .animot-controls:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9){display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;border:none;cursor:pointer;background:#ffffff1a;color:#fff;transition:background .2s}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9):hover:not(:disabled){background:#fff3}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9):disabled{opacity:.3;cursor:not-allowed}.animot-controls.svelte-16ocdv9 button.active:where(.svelte-16ocdv9){background:#6366f199}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9) svg:where(.svelte-16ocdv9){width:16px;height:16px}.animot-slide-indicator.svelte-16ocdv9{font-size:12px;color:#fff;min-width:50px;text-align:center;font-family:system-ui,sans-serif}.animot-arrow.svelte-16ocdv9{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:none;cursor:pointer;background:#00000080;color:#fff;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s .15s;z-index:100;padding:0;margin:0}.animot-presenter.svelte-16ocdv9:hover .animot-arrow:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-presenter.svelte-16ocdv9:hover .animot-arrow:where(.svelte-16ocdv9):disabled{opacity:.3;cursor:not-allowed}.animot-arrow.svelte-16ocdv9:hover:not(:disabled){background:#000000b3}.animot-arrow.svelte-16ocdv9 svg:where(.svelte-16ocdv9){width:20px;height:20px}.animot-arrow-left.svelte-16ocdv9{left:8px}.animot-arrow-right.svelte-16ocdv9{right:8px}.animot-progress-bar.svelte-16ocdv9{position:absolute;bottom:0;left:0;right:0;height:3px;background:#ffffff1a;z-index:100;opacity:0;transition:opacity .3s .15s}.animot-presenter.svelte-16ocdv9:hover .animot-progress-bar:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-progress-fill.svelte-16ocdv9{height:100%;background:linear-gradient(135deg,#7c3aed,#ec4899);transition:width .6s ease}.animot-loading.svelte-16ocdv9{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.animot-spinner.svelte-16ocdv9{width:32px;height:32px;border:3px solid rgba(255,255,255,.2);border-top-color:#7c3aed;border-radius:50%;animation:svelte-16ocdv9-animot-spin .8s linear infinite}@keyframes svelte-16ocdv9-animot-spin{to{transform:rotate(360deg)}}.animot-error.svelte-16ocdv9{color:#ef4444;padding:20px;text-align:center;font-family:system-ui,sans-serif}\n";d.head.appendChild(s)}catch(e){}})();
|
|
1
|
+
(function(){try{var d=document,s=d.createElement('style');s.textContent=".code-morph.svelte-1hmk0l{width:100%;height:100%;margin:0;padding:0;background:transparent;font-family:var(--font-mono, \"JetBrains Mono\", monospace);font-size:inherit;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;color:#e6edf3;box-sizing:border-box;overflow:visible}.code-morph.svelte-1hmk0l pre{margin:0;padding:16px;background:transparent!important;font-family:var(--font-mono);font-size:inherit;line-height:1.6;overflow:visible}.code-morph.svelte-1hmk0l code{font-family:inherit;font-size:inherit;font-weight:inherit}.code-morph.svelte-1hmk0l .line-number{display:inline-block;width:2.5em;margin-right:1em;text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;opacity:.6}.code-morph.svelte-1hmk0l .word-highlight{background:var(--highlight-color, #facc15);color:#000;border-radius:3px;padding:1px 3px;margin:0 -3px;-webkit-box-decoration-break:clone;box-decoration-break:clone;animation:svelte-1hmk0l-fadeHighlight var(--duration, 1s) ease-out forwards}@keyframes svelte-1hmk0l-fadeHighlight{0%{background:var(--highlight-color, #facc15);color:#000}70%{background:var(--highlight-color, #facc15);color:#000}to{background:transparent;color:inherit}}.counter.svelte-1er5jjj{width:100%;height:100%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;overflow:hidden;white-space:nowrap}.chart.svelte-1mq2d7j{width:100%;height:100%;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden}.chart-title.svelte-1mq2d7j{font-weight:600;text-align:center;margin-bottom:8px}.chart-content.svelte-1mq2d7j{flex:1;min-height:0}.chart-content.svelte-1mq2d7j svg:where(.svelte-1mq2d7j){width:100%;height:100%}.bar-chart.svelte-1mq2d7j,.line-chart.svelte-1mq2d7j{overflow:visible}.icon-element.svelte-2ld65o{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.icon-element.svelte-2ld65o svg{width:100%;height:100%}@keyframes float-vertical{0%,to{translate:0 0}50%{translate:0 calc(-1 * var(--float-amp, 10px))}}@keyframes float-horizontal{0%,to{translate:0 0}50%{translate:var(--float-amp, 10px) 0}}@keyframes float-both-0{0%{translate:0 0}15%{translate:calc(.8 * var(--float-amp, 10px)) calc(-.6 * var(--float-amp, 10px))}35%{translate:calc(-.4 * var(--float-amp, 10px)) calc(-1 * var(--float-amp, 10px))}55%{translate:calc(-.9 * var(--float-amp, 10px)) calc(.3 * var(--float-amp, 10px))}75%{translate:calc(.3 * var(--float-amp, 10px)) calc(.7 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-1{0%{translate:0 0}20%{translate:calc(-.7 * var(--float-amp, 10px)) calc(-.8 * var(--float-amp, 10px))}40%{translate:calc(.5 * var(--float-amp, 10px)) calc(-.3 * var(--float-amp, 10px))}60%{translate:calc(.9 * var(--float-amp, 10px)) calc(.6 * var(--float-amp, 10px))}80%{translate:calc(-.4 * var(--float-amp, 10px)) calc(.9 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-2{0%{translate:0 0}12%{translate:calc(.6 * var(--float-amp, 10px)) calc(.5 * var(--float-amp, 10px))}30%{translate:calc(1 * var(--float-amp, 10px)) calc(-.4 * var(--float-amp, 10px))}50%{translate:calc(-.3 * var(--float-amp, 10px)) calc(-.9 * var(--float-amp, 10px))}70%{translate:calc(-.8 * var(--float-amp, 10px)) calc(.2 * var(--float-amp, 10px))}88%{translate:calc(.2 * var(--float-amp, 10px)) calc(.8 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-3{0%{translate:0 0}17%{translate:calc(-.9 * var(--float-amp, 10px)) calc(.4 * var(--float-amp, 10px))}33%{translate:calc(-.5 * var(--float-amp, 10px)) calc(-.7 * var(--float-amp, 10px))}50%{translate:calc(.7 * var(--float-amp, 10px)) calc(-.9 * var(--float-amp, 10px))}67%{translate:calc(.9 * var(--float-amp, 10px)) calc(.5 * var(--float-amp, 10px))}83%{translate:calc(-.2 * var(--float-amp, 10px)) calc(.8 * var(--float-amp, 10px))}to{translate:0 0}}.animot-presenter.svelte-16ocdv9{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:transparent;line-height:normal;font-size:16px;font-weight:400;font-style:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-align:left;color:inherit}.animot-canvas-wrapper.svelte-16ocdv9{display:flex;align-items:center;justify-content:center}.animot-canvas.svelte-16ocdv9{position:relative;overflow:hidden}.animot-element.svelte-16ocdv9{position:absolute;box-sizing:border-box;will-change:transform,opacity,left,top,width,height;isolation:isolate}.animot-element.floating.svelte-16ocdv9{animation-duration:var(--float-speed, 3s);animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-delay:var(--float-delay, 0s)}.animot-code-block.svelte-16ocdv9{width:100%;height:100%;background:#0d1117;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 32px #0006;margin:0;box-sizing:border-box}.animot-code-block.transparent-bg.svelte-16ocdv9{background:transparent;box-shadow:none}.animot-code-block.transparent-bg.svelte-16ocdv9 .animot-code-header:where(.svelte-16ocdv9){background:transparent;border-bottom-color:#ffffff1a}.animot-code-header.svelte-16ocdv9{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#161b22;border-bottom:1px solid #30363d;flex-shrink:0}.animot-window-controls.svelte-16ocdv9{display:flex;gap:8px}.animot-control.svelte-16ocdv9{width:12px;height:12px;border-radius:50%;display:block}.macos.svelte-16ocdv9 .animot-control.close:where(.svelte-16ocdv9){background:#ff5f57}.macos.svelte-16ocdv9 .animot-control.minimize:where(.svelte-16ocdv9){background:#febc2e}.macos.svelte-16ocdv9 .animot-control.maximize:where(.svelte-16ocdv9){background:#28c840}.animot-filename.svelte-16ocdv9{color:#8b949e;font-size:14px;flex:1}.animot-code-content.svelte-16ocdv9{flex:1;overflow:hidden;position:relative}.animot-highlighted-code.svelte-16ocdv9{width:100%;height:100%}.animot-code-content.svelte-16ocdv9 pre,.animot-highlighted-code.svelte-16ocdv9 pre{margin:0;padding:16px;background:transparent!important;line-height:1.6;font-size:inherit;overflow:visible}.animot-highlighted-code.svelte-16ocdv9 code{font-family:inherit;font-size:inherit;font-weight:inherit}.animot-highlighted-code.svelte-16ocdv9 .line-number{display:inline-block;width:2.5em;margin-right:1em;text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;opacity:.6}.animot-text-element.svelte-16ocdv9{width:100%;height:100%;display:flex;align-items:center;white-space:pre-wrap;word-wrap:break-word}.animot-typewriter-cursor.svelte-16ocdv9{animation:svelte-16ocdv9-animot-blink .7s infinite;font-weight:100}@keyframes svelte-16ocdv9-animot-blink{0%,50%{opacity:1}51%,to{opacity:0}}.animot-arrow-element.svelte-16ocdv9{width:100%;height:100%}.arrow-animate-draw.svelte-16ocdv9 .arrow-path:where(.svelte-16ocdv9){stroke-dasharray:1000;stroke-dashoffset:1000;animation:svelte-16ocdv9-animot-arrow-draw var(--arrow-anim-duration, .5s) ease-out forwards}.arrow-head-styled-draw.svelte-16ocdv9{opacity:0;animation:svelte-16ocdv9-animot-arrow-head-appear var(--arrow-anim-duration, .5s) ease-out forwards;animation-delay:calc(var(--arrow-anim-duration, .5s) * .7)}.arrow-animate-draw.svelte-16ocdv9 .arrow-head:where(.svelte-16ocdv9){opacity:0;animation:svelte-16ocdv9-animot-arrow-head-appear var(--arrow-anim-duration, .5s) ease-out forwards;animation-delay:calc(var(--arrow-anim-duration, .5s) * .7)}.arrow-animate-grow.svelte-16ocdv9{transform-origin:left center;animation:svelte-16ocdv9-animot-arrow-grow var(--arrow-anim-duration, .5s) ease-out forwards}@keyframes svelte-16ocdv9-animot-arrow-draw{to{stroke-dashoffset:0}}@keyframes svelte-16ocdv9-animot-arrow-head-appear{0%{opacity:0}to{opacity:1}}@keyframes svelte-16ocdv9-animot-arrow-grow{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}.animot-image-element.svelte-16ocdv9{width:100%;height:100%;display:block}.animot-shape-element.svelte-16ocdv9{width:100%;height:100%;display:block;overflow:visible}.animot-canvas.svelte-16ocdv9{--transition-duration: .5s;transition:transform calc(var(--transition-duration) * .4) ease,opacity calc(var(--transition-duration) * .4) ease}.animot-canvas.transition-fade-out.svelte-16ocdv9{opacity:0}.animot-canvas.transition-fade-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-fadeIn calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-left-out.forward.svelte-16ocdv9{transform:translate(-100%);opacity:0}.animot-canvas.transition-slide-left-in.forward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromRight calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-left-out.backward.svelte-16ocdv9{transform:translate(100%);opacity:0}.animot-canvas.transition-slide-left-in.backward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromLeft calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-right-out.forward.svelte-16ocdv9{transform:translate(100%);opacity:0}.animot-canvas.transition-slide-right-in.forward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromLeft calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-up-out.svelte-16ocdv9{transform:translateY(-100%);opacity:0}.animot-canvas.transition-slide-up-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromBottom calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-down-out.svelte-16ocdv9{transform:translateY(100%);opacity:0}.animot-canvas.transition-slide-down-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromTop calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-zoom-in-out.svelte-16ocdv9{transform:scale(.5);opacity:0}.animot-canvas.transition-zoom-in-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-zoomIn calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-zoom-out-out.svelte-16ocdv9{transform:scale(1.5);opacity:0}.animot-canvas.transition-zoom-out-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-zoomOut calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-flip-out.svelte-16ocdv9{transform:perspective(1000px) rotateY(90deg);opacity:0}.animot-canvas.transition-flip-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromLeft{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromBottom{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromTop{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes svelte-16ocdv9-animot-zoomIn{0%{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}@keyframes svelte-16ocdv9-animot-zoomOut{0%{transform:scale(1.5);opacity:0}to{transform:scale(1);opacity:1}}@keyframes svelte-16ocdv9-animot-flipIn{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}to{transform:perspective(1000px) rotateY(0);opacity:1}}.animot-canvas.transition-flip-x-out.svelte-16ocdv9{transform:perspective(1000px) rotateX(90deg);opacity:0}.animot-canvas.transition-flip-x-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipXIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-flipXIn{0%{transform:perspective(1000px) rotateX(-90deg);opacity:0}to{transform:perspective(1000px) rotateX(0);opacity:1}}.animot-canvas.transition-flip-y-out.svelte-16ocdv9{transform:perspective(1000px) rotateY(90deg);opacity:0}.animot-canvas.transition-flip-y-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipYIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-flipYIn{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}to{transform:perspective(1000px) rotateY(0);opacity:1}}.animot-svg-element.svelte-16ocdv9{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.animot-svg-element.svelte-16ocdv9 svg{width:100%;height:100%}.animot-controls.svelte-16ocdv9{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;padding:8px 16px;background:#000000b3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:10px;opacity:0;transition:opacity .3s ease .15s;z-index:100}.animot-presenter.svelte-16ocdv9:hover .animot-controls:where(.svelte-16ocdv9),.animot-menu-visible.svelte-16ocdv9 .animot-controls:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9){display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;border:none;cursor:pointer;background:#ffffff1a;color:#fff;transition:background .2s}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9):hover:not(:disabled){background:#fff3}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9):disabled{opacity:.3;cursor:not-allowed}.animot-controls.svelte-16ocdv9 button.active:where(.svelte-16ocdv9){background:#6366f199}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9) svg:where(.svelte-16ocdv9){width:16px;height:16px}.animot-slide-indicator.svelte-16ocdv9{font-size:12px;color:#fff;min-width:50px;text-align:center;font-family:system-ui,sans-serif}.animot-arrow.svelte-16ocdv9{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:none;cursor:pointer;background:#00000080;color:#fff;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s .15s;z-index:100;padding:0;margin:0}.animot-presenter.svelte-16ocdv9:hover .animot-arrow:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-presenter.svelte-16ocdv9:hover .animot-arrow:where(.svelte-16ocdv9):disabled{opacity:.3;cursor:not-allowed}.animot-arrow.svelte-16ocdv9:hover:not(:disabled){background:#000000b3}.animot-arrow.svelte-16ocdv9 svg:where(.svelte-16ocdv9){width:20px;height:20px}.animot-arrow-left.svelte-16ocdv9{left:8px}.animot-arrow-right.svelte-16ocdv9{right:8px}.animot-progress-bar.svelte-16ocdv9{position:absolute;bottom:0;left:0;right:0;height:3px;background:#ffffff1a;z-index:100;opacity:0;transition:opacity .3s .15s}.animot-presenter.svelte-16ocdv9:hover .animot-progress-bar:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-progress-fill.svelte-16ocdv9{height:100%;background:linear-gradient(135deg,#7c3aed,#ec4899);transition:width .6s ease}.animot-loading.svelte-16ocdv9{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.animot-spinner.svelte-16ocdv9{width:32px;height:32px;border:3px solid rgba(255,255,255,.2);border-top-color:#7c3aed;border-radius:50%;animation:svelte-16ocdv9-animot-spin .8s linear infinite}@keyframes svelte-16ocdv9-animot-spin{to{transform:rotate(360deg)}}.animot-error.svelte-16ocdv9{color:#ef4444;padding:20px;text-align:center;font-family:system-ui,sans-serif}\n";d.head.appendChild(s)}catch(e){}})();
|
|
2
2
|
var Ud = Object.defineProperty;
|
|
3
3
|
var Gi = (t) => {
|
|
4
4
|
throw TypeError(t);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){try{var d=document,s=d.createElement('style');s.textContent=".code-morph.svelte-1hmk0l{width:100%;height:100%;margin:0;padding:0;background:transparent;font-family:var(--font-mono, \"JetBrains Mono\", monospace);font-size:inherit;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;color:#e6edf3;box-sizing:border-box;overflow:visible}.code-morph.svelte-1hmk0l pre{margin:0;padding:16px;background:transparent!important;font-family:var(--font-mono);font-size:inherit;line-height:1.6;overflow:visible}.code-morph.svelte-1hmk0l code{font-family:inherit;font-size:inherit;font-weight:inherit}.code-morph.svelte-1hmk0l .line-number{display:inline-block;width:2.5em;margin-right:1em;text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;opacity:.6}.code-morph.svelte-1hmk0l .word-highlight{background:var(--highlight-color, #facc15);color:#000;border-radius:3px;padding:1px 3px;margin:0 -3px;-webkit-box-decoration-break:clone;box-decoration-break:clone;animation:svelte-1hmk0l-fadeHighlight var(--duration, 1s) ease-out forwards}@keyframes svelte-1hmk0l-fadeHighlight{0%{background:var(--highlight-color, #facc15);color:#000}70%{background:var(--highlight-color, #facc15);color:#000}to{background:transparent;color:inherit}}.counter.svelte-1er5jjj{width:100%;height:100%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;overflow:hidden;white-space:nowrap}.chart.svelte-1mq2d7j{width:100%;height:100%;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden}.chart-title.svelte-1mq2d7j{font-weight:600;text-align:center;margin-bottom:8px}.chart-content.svelte-1mq2d7j{flex:1;min-height:0}.chart-content.svelte-1mq2d7j svg:where(.svelte-1mq2d7j){width:100%;height:100%}.bar-chart.svelte-1mq2d7j,.line-chart.svelte-1mq2d7j{overflow:visible}.icon-element.svelte-2ld65o{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.icon-element.svelte-2ld65o svg{width:100%;height:100%}@keyframes float-vertical{0%,to{translate:0 0}50%{translate:0 calc(-1 * var(--float-amp, 10px))}}@keyframes float-horizontal{0%,to{translate:0 0}50%{translate:var(--float-amp, 10px) 0}}@keyframes float-both-0{0%{translate:0 0}15%{translate:calc(.8 * var(--float-amp, 10px)) calc(-.6 * var(--float-amp, 10px))}35%{translate:calc(-.4 * var(--float-amp, 10px)) calc(-1 * var(--float-amp, 10px))}55%{translate:calc(-.9 * var(--float-amp, 10px)) calc(.3 * var(--float-amp, 10px))}75%{translate:calc(.3 * var(--float-amp, 10px)) calc(.7 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-1{0%{translate:0 0}20%{translate:calc(-.7 * var(--float-amp, 10px)) calc(-.8 * var(--float-amp, 10px))}40%{translate:calc(.5 * var(--float-amp, 10px)) calc(-.3 * var(--float-amp, 10px))}60%{translate:calc(.9 * var(--float-amp, 10px)) calc(.6 * var(--float-amp, 10px))}80%{translate:calc(-.4 * var(--float-amp, 10px)) calc(.9 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-2{0%{translate:0 0}12%{translate:calc(.6 * var(--float-amp, 10px)) calc(.5 * var(--float-amp, 10px))}30%{translate:calc(1 * var(--float-amp, 10px)) calc(-.4 * var(--float-amp, 10px))}50%{translate:calc(-.3 * var(--float-amp, 10px)) calc(-.9 * var(--float-amp, 10px))}70%{translate:calc(-.8 * var(--float-amp, 10px)) calc(.2 * var(--float-amp, 10px))}88%{translate:calc(.2 * var(--float-amp, 10px)) calc(.8 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-3{0%{translate:0 0}17%{translate:calc(-.9 * var(--float-amp, 10px)) calc(.4 * var(--float-amp, 10px))}33%{translate:calc(-.5 * var(--float-amp, 10px)) calc(-.7 * var(--float-amp, 10px))}50%{translate:calc(.7 * var(--float-amp, 10px)) calc(-.9 * var(--float-amp, 10px))}67%{translate:calc(.9 * var(--float-amp, 10px)) calc(.5 * var(--float-amp, 10px))}83%{translate:calc(-.2 * var(--float-amp, 10px)) calc(.8 * var(--float-amp, 10px))}to{translate:0 0}}.animot-presenter.svelte-16ocdv9{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:transparent}.animot-canvas-wrapper.svelte-16ocdv9{display:flex;align-items:center;justify-content:center}.animot-canvas.svelte-16ocdv9{position:relative;overflow:hidden}.animot-element.svelte-16ocdv9{position:absolute;box-sizing:border-box;will-change:transform,opacity,left,top,width,height;isolation:isolate}.animot-element.floating.svelte-16ocdv9{animation-duration:var(--float-speed, 3s);animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-delay:var(--float-delay, 0s)}.animot-code-block.svelte-16ocdv9{width:100%;height:100%;background:#0d1117;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 32px #0006;margin:0;box-sizing:border-box}.animot-code-block.transparent-bg.svelte-16ocdv9{background:transparent;box-shadow:none}.animot-code-block.transparent-bg.svelte-16ocdv9 .animot-code-header:where(.svelte-16ocdv9){background:transparent;border-bottom-color:#ffffff1a}.animot-code-header.svelte-16ocdv9{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#161b22;border-bottom:1px solid #30363d;flex-shrink:0}.animot-window-controls.svelte-16ocdv9{display:flex;gap:8px}.animot-control.svelte-16ocdv9{width:12px;height:12px;border-radius:50%;display:block}.macos.svelte-16ocdv9 .animot-control.close:where(.svelte-16ocdv9){background:#ff5f57}.macos.svelte-16ocdv9 .animot-control.minimize:where(.svelte-16ocdv9){background:#febc2e}.macos.svelte-16ocdv9 .animot-control.maximize:where(.svelte-16ocdv9){background:#28c840}.animot-filename.svelte-16ocdv9{color:#8b949e;font-size:14px;flex:1}.animot-code-content.svelte-16ocdv9{flex:1;overflow:hidden;position:relative}.animot-highlighted-code.svelte-16ocdv9{width:100%;height:100%}.animot-code-content.svelte-16ocdv9 pre,.animot-highlighted-code.svelte-16ocdv9 pre{margin:0;padding:16px;background:transparent!important;line-height:1.6;font-size:inherit;overflow:visible}.animot-highlighted-code.svelte-16ocdv9 code{font-family:inherit;font-size:inherit;font-weight:inherit}.animot-highlighted-code.svelte-16ocdv9 .line-number{display:inline-block;width:2.5em;margin-right:1em;text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;opacity:.6}.animot-text-element.svelte-16ocdv9{width:100%;height:100%;display:flex;align-items:center;white-space:pre-wrap;word-wrap:break-word}.animot-typewriter-cursor.svelte-16ocdv9{animation:svelte-16ocdv9-animot-blink .7s infinite;font-weight:100}@keyframes svelte-16ocdv9-animot-blink{0%,50%{opacity:1}51%,to{opacity:0}}.animot-arrow-element.svelte-16ocdv9{width:100%;height:100%}.arrow-animate-draw.svelte-16ocdv9 .arrow-path:where(.svelte-16ocdv9){stroke-dasharray:1000;stroke-dashoffset:1000;animation:svelte-16ocdv9-animot-arrow-draw var(--arrow-anim-duration, .5s) ease-out forwards}.arrow-head-styled-draw.svelte-16ocdv9{opacity:0;animation:svelte-16ocdv9-animot-arrow-head-appear var(--arrow-anim-duration, .5s) ease-out forwards;animation-delay:calc(var(--arrow-anim-duration, .5s) * .7)}.arrow-animate-draw.svelte-16ocdv9 .arrow-head:where(.svelte-16ocdv9){opacity:0;animation:svelte-16ocdv9-animot-arrow-head-appear var(--arrow-anim-duration, .5s) ease-out forwards;animation-delay:calc(var(--arrow-anim-duration, .5s) * .7)}.arrow-animate-grow.svelte-16ocdv9{transform-origin:left center;animation:svelte-16ocdv9-animot-arrow-grow var(--arrow-anim-duration, .5s) ease-out forwards}@keyframes svelte-16ocdv9-animot-arrow-draw{to{stroke-dashoffset:0}}@keyframes svelte-16ocdv9-animot-arrow-head-appear{0%{opacity:0}to{opacity:1}}@keyframes svelte-16ocdv9-animot-arrow-grow{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}.animot-image-element.svelte-16ocdv9{width:100%;height:100%;display:block}.animot-shape-element.svelte-16ocdv9{width:100%;height:100%;display:block;overflow:visible}.animot-canvas.svelte-16ocdv9{--transition-duration: .5s;transition:transform calc(var(--transition-duration) * .4) ease,opacity calc(var(--transition-duration) * .4) ease}.animot-canvas.transition-fade-out.svelte-16ocdv9{opacity:0}.animot-canvas.transition-fade-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-fadeIn calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-left-out.forward.svelte-16ocdv9{transform:translate(-100%);opacity:0}.animot-canvas.transition-slide-left-in.forward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromRight calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-left-out.backward.svelte-16ocdv9{transform:translate(100%);opacity:0}.animot-canvas.transition-slide-left-in.backward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromLeft calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-right-out.forward.svelte-16ocdv9{transform:translate(100%);opacity:0}.animot-canvas.transition-slide-right-in.forward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromLeft calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-up-out.svelte-16ocdv9{transform:translateY(-100%);opacity:0}.animot-canvas.transition-slide-up-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromBottom calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-down-out.svelte-16ocdv9{transform:translateY(100%);opacity:0}.animot-canvas.transition-slide-down-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromTop calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-zoom-in-out.svelte-16ocdv9{transform:scale(.5);opacity:0}.animot-canvas.transition-zoom-in-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-zoomIn calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-zoom-out-out.svelte-16ocdv9{transform:scale(1.5);opacity:0}.animot-canvas.transition-zoom-out-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-zoomOut calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-flip-out.svelte-16ocdv9{transform:perspective(1000px) rotateY(90deg);opacity:0}.animot-canvas.transition-flip-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromLeft{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromBottom{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromTop{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes svelte-16ocdv9-animot-zoomIn{0%{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}@keyframes svelte-16ocdv9-animot-zoomOut{0%{transform:scale(1.5);opacity:0}to{transform:scale(1);opacity:1}}@keyframes svelte-16ocdv9-animot-flipIn{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}to{transform:perspective(1000px) rotateY(0);opacity:1}}.animot-canvas.transition-flip-x-out.svelte-16ocdv9{transform:perspective(1000px) rotateX(90deg);opacity:0}.animot-canvas.transition-flip-x-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipXIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-flipXIn{0%{transform:perspective(1000px) rotateX(-90deg);opacity:0}to{transform:perspective(1000px) rotateX(0);opacity:1}}.animot-canvas.transition-flip-y-out.svelte-16ocdv9{transform:perspective(1000px) rotateY(90deg);opacity:0}.animot-canvas.transition-flip-y-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipYIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-flipYIn{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}to{transform:perspective(1000px) rotateY(0);opacity:1}}.animot-svg-element.svelte-16ocdv9{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.animot-svg-element.svelte-16ocdv9 svg{width:100%;height:100%}.animot-controls.svelte-16ocdv9{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;padding:8px 16px;background:#000000b3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:10px;opacity:0;transition:opacity .3s ease .15s;z-index:100}.animot-presenter.svelte-16ocdv9:hover .animot-controls:where(.svelte-16ocdv9),.animot-menu-visible.svelte-16ocdv9 .animot-controls:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9){display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;border:none;cursor:pointer;background:#ffffff1a;color:#fff;transition:background .2s}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9):hover:not(:disabled){background:#fff3}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9):disabled{opacity:.3;cursor:not-allowed}.animot-controls.svelte-16ocdv9 button.active:where(.svelte-16ocdv9){background:#6366f199}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9) svg:where(.svelte-16ocdv9){width:16px;height:16px}.animot-slide-indicator.svelte-16ocdv9{font-size:12px;color:#fff;min-width:50px;text-align:center;font-family:system-ui,sans-serif}.animot-arrow.svelte-16ocdv9{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:none;cursor:pointer;background:#00000080;color:#fff;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s .15s;z-index:100;padding:0;margin:0}.animot-presenter.svelte-16ocdv9:hover .animot-arrow:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-presenter.svelte-16ocdv9:hover .animot-arrow:where(.svelte-16ocdv9):disabled{opacity:.3;cursor:not-allowed}.animot-arrow.svelte-16ocdv9:hover:not(:disabled){background:#000000b3}.animot-arrow.svelte-16ocdv9 svg:where(.svelte-16ocdv9){width:20px;height:20px}.animot-arrow-left.svelte-16ocdv9{left:8px}.animot-arrow-right.svelte-16ocdv9{right:8px}.animot-progress-bar.svelte-16ocdv9{position:absolute;bottom:0;left:0;right:0;height:3px;background:#ffffff1a;z-index:100;opacity:0;transition:opacity .3s .15s}.animot-presenter.svelte-16ocdv9:hover .animot-progress-bar:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-progress-fill.svelte-16ocdv9{height:100%;background:linear-gradient(135deg,#7c3aed,#ec4899);transition:width .6s ease}.animot-loading.svelte-16ocdv9{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.animot-spinner.svelte-16ocdv9{width:32px;height:32px;border:3px solid rgba(255,255,255,.2);border-top-color:#7c3aed;border-radius:50%;animation:svelte-16ocdv9-animot-spin .8s linear infinite}@keyframes svelte-16ocdv9-animot-spin{to{transform:rotate(360deg)}}.animot-error.svelte-16ocdv9{color:#ef4444;padding:20px;text-align:center;font-family:system-ui,sans-serif}\n";d.head.appendChild(s)}catch(e){}})();
|
|
1
|
+
(function(){try{var d=document,s=d.createElement('style');s.textContent=".code-morph.svelte-1hmk0l{width:100%;height:100%;margin:0;padding:0;background:transparent;font-family:var(--font-mono, \"JetBrains Mono\", monospace);font-size:inherit;line-height:1.6;white-space:pre-wrap;word-wrap:break-word;color:#e6edf3;box-sizing:border-box;overflow:visible}.code-morph.svelte-1hmk0l pre{margin:0;padding:16px;background:transparent!important;font-family:var(--font-mono);font-size:inherit;line-height:1.6;overflow:visible}.code-morph.svelte-1hmk0l code{font-family:inherit;font-size:inherit;font-weight:inherit}.code-morph.svelte-1hmk0l .line-number{display:inline-block;width:2.5em;margin-right:1em;text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;opacity:.6}.code-morph.svelte-1hmk0l .word-highlight{background:var(--highlight-color, #facc15);color:#000;border-radius:3px;padding:1px 3px;margin:0 -3px;-webkit-box-decoration-break:clone;box-decoration-break:clone;animation:svelte-1hmk0l-fadeHighlight var(--duration, 1s) ease-out forwards}@keyframes svelte-1hmk0l-fadeHighlight{0%{background:var(--highlight-color, #facc15);color:#000}70%{background:var(--highlight-color, #facc15);color:#000}to{background:transparent;color:inherit}}.counter.svelte-1er5jjj{width:100%;height:100%;display:flex;align-items:center;justify-content:center;box-sizing:border-box;overflow:hidden;white-space:nowrap}.chart.svelte-1mq2d7j{width:100%;height:100%;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden}.chart-title.svelte-1mq2d7j{font-weight:600;text-align:center;margin-bottom:8px}.chart-content.svelte-1mq2d7j{flex:1;min-height:0}.chart-content.svelte-1mq2d7j svg:where(.svelte-1mq2d7j){width:100%;height:100%}.bar-chart.svelte-1mq2d7j,.line-chart.svelte-1mq2d7j{overflow:visible}.icon-element.svelte-2ld65o{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.icon-element.svelte-2ld65o svg{width:100%;height:100%}@keyframes float-vertical{0%,to{translate:0 0}50%{translate:0 calc(-1 * var(--float-amp, 10px))}}@keyframes float-horizontal{0%,to{translate:0 0}50%{translate:var(--float-amp, 10px) 0}}@keyframes float-both-0{0%{translate:0 0}15%{translate:calc(.8 * var(--float-amp, 10px)) calc(-.6 * var(--float-amp, 10px))}35%{translate:calc(-.4 * var(--float-amp, 10px)) calc(-1 * var(--float-amp, 10px))}55%{translate:calc(-.9 * var(--float-amp, 10px)) calc(.3 * var(--float-amp, 10px))}75%{translate:calc(.3 * var(--float-amp, 10px)) calc(.7 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-1{0%{translate:0 0}20%{translate:calc(-.7 * var(--float-amp, 10px)) calc(-.8 * var(--float-amp, 10px))}40%{translate:calc(.5 * var(--float-amp, 10px)) calc(-.3 * var(--float-amp, 10px))}60%{translate:calc(.9 * var(--float-amp, 10px)) calc(.6 * var(--float-amp, 10px))}80%{translate:calc(-.4 * var(--float-amp, 10px)) calc(.9 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-2{0%{translate:0 0}12%{translate:calc(.6 * var(--float-amp, 10px)) calc(.5 * var(--float-amp, 10px))}30%{translate:calc(1 * var(--float-amp, 10px)) calc(-.4 * var(--float-amp, 10px))}50%{translate:calc(-.3 * var(--float-amp, 10px)) calc(-.9 * var(--float-amp, 10px))}70%{translate:calc(-.8 * var(--float-amp, 10px)) calc(.2 * var(--float-amp, 10px))}88%{translate:calc(.2 * var(--float-amp, 10px)) calc(.8 * var(--float-amp, 10px))}to{translate:0 0}}@keyframes float-both-3{0%{translate:0 0}17%{translate:calc(-.9 * var(--float-amp, 10px)) calc(.4 * var(--float-amp, 10px))}33%{translate:calc(-.5 * var(--float-amp, 10px)) calc(-.7 * var(--float-amp, 10px))}50%{translate:calc(.7 * var(--float-amp, 10px)) calc(-.9 * var(--float-amp, 10px))}67%{translate:calc(.9 * var(--float-amp, 10px)) calc(.5 * var(--float-amp, 10px))}83%{translate:calc(-.2 * var(--float-amp, 10px)) calc(.8 * var(--float-amp, 10px))}to{translate:0 0}}.animot-presenter.svelte-16ocdv9{position:relative;width:100%;height:100%;display:flex;align-items:center;justify-content:center;overflow:hidden;background:transparent;line-height:normal;font-size:16px;font-weight:400;font-style:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;text-indent:0;text-align:left;color:inherit}.animot-canvas-wrapper.svelte-16ocdv9{display:flex;align-items:center;justify-content:center}.animot-canvas.svelte-16ocdv9{position:relative;overflow:hidden}.animot-element.svelte-16ocdv9{position:absolute;box-sizing:border-box;will-change:transform,opacity,left,top,width,height;isolation:isolate}.animot-element.floating.svelte-16ocdv9{animation-duration:var(--float-speed, 3s);animation-timing-function:ease-in-out;animation-iteration-count:infinite;animation-delay:var(--float-delay, 0s)}.animot-code-block.svelte-16ocdv9{width:100%;height:100%;background:#0d1117;overflow:hidden;display:flex;flex-direction:column;box-shadow:0 8px 32px #0006;margin:0;box-sizing:border-box}.animot-code-block.transparent-bg.svelte-16ocdv9{background:transparent;box-shadow:none}.animot-code-block.transparent-bg.svelte-16ocdv9 .animot-code-header:where(.svelte-16ocdv9){background:transparent;border-bottom-color:#ffffff1a}.animot-code-header.svelte-16ocdv9{display:flex;align-items:center;gap:12px;padding:12px 16px;background:#161b22;border-bottom:1px solid #30363d;flex-shrink:0}.animot-window-controls.svelte-16ocdv9{display:flex;gap:8px}.animot-control.svelte-16ocdv9{width:12px;height:12px;border-radius:50%;display:block}.macos.svelte-16ocdv9 .animot-control.close:where(.svelte-16ocdv9){background:#ff5f57}.macos.svelte-16ocdv9 .animot-control.minimize:where(.svelte-16ocdv9){background:#febc2e}.macos.svelte-16ocdv9 .animot-control.maximize:where(.svelte-16ocdv9){background:#28c840}.animot-filename.svelte-16ocdv9{color:#8b949e;font-size:14px;flex:1}.animot-code-content.svelte-16ocdv9{flex:1;overflow:hidden;position:relative}.animot-highlighted-code.svelte-16ocdv9{width:100%;height:100%}.animot-code-content.svelte-16ocdv9 pre,.animot-highlighted-code.svelte-16ocdv9 pre{margin:0;padding:16px;background:transparent!important;line-height:1.6;font-size:inherit;overflow:visible}.animot-highlighted-code.svelte-16ocdv9 code{font-family:inherit;font-size:inherit;font-weight:inherit}.animot-highlighted-code.svelte-16ocdv9 .line-number{display:inline-block;width:2.5em;margin-right:1em;text-align:right;color:#6e7681;-webkit-user-select:none;user-select:none;opacity:.6}.animot-text-element.svelte-16ocdv9{width:100%;height:100%;display:flex;align-items:center;white-space:pre-wrap;word-wrap:break-word}.animot-typewriter-cursor.svelte-16ocdv9{animation:svelte-16ocdv9-animot-blink .7s infinite;font-weight:100}@keyframes svelte-16ocdv9-animot-blink{0%,50%{opacity:1}51%,to{opacity:0}}.animot-arrow-element.svelte-16ocdv9{width:100%;height:100%}.arrow-animate-draw.svelte-16ocdv9 .arrow-path:where(.svelte-16ocdv9){stroke-dasharray:1000;stroke-dashoffset:1000;animation:svelte-16ocdv9-animot-arrow-draw var(--arrow-anim-duration, .5s) ease-out forwards}.arrow-head-styled-draw.svelte-16ocdv9{opacity:0;animation:svelte-16ocdv9-animot-arrow-head-appear var(--arrow-anim-duration, .5s) ease-out forwards;animation-delay:calc(var(--arrow-anim-duration, .5s) * .7)}.arrow-animate-draw.svelte-16ocdv9 .arrow-head:where(.svelte-16ocdv9){opacity:0;animation:svelte-16ocdv9-animot-arrow-head-appear var(--arrow-anim-duration, .5s) ease-out forwards;animation-delay:calc(var(--arrow-anim-duration, .5s) * .7)}.arrow-animate-grow.svelte-16ocdv9{transform-origin:left center;animation:svelte-16ocdv9-animot-arrow-grow var(--arrow-anim-duration, .5s) ease-out forwards}@keyframes svelte-16ocdv9-animot-arrow-draw{to{stroke-dashoffset:0}}@keyframes svelte-16ocdv9-animot-arrow-head-appear{0%{opacity:0}to{opacity:1}}@keyframes svelte-16ocdv9-animot-arrow-grow{0%{transform:scaleX(0);opacity:0}to{transform:scaleX(1);opacity:1}}.animot-image-element.svelte-16ocdv9{width:100%;height:100%;display:block}.animot-shape-element.svelte-16ocdv9{width:100%;height:100%;display:block;overflow:visible}.animot-canvas.svelte-16ocdv9{--transition-duration: .5s;transition:transform calc(var(--transition-duration) * .4) ease,opacity calc(var(--transition-duration) * .4) ease}.animot-canvas.transition-fade-out.svelte-16ocdv9{opacity:0}.animot-canvas.transition-fade-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-fadeIn calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-left-out.forward.svelte-16ocdv9{transform:translate(-100%);opacity:0}.animot-canvas.transition-slide-left-in.forward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromRight calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-left-out.backward.svelte-16ocdv9{transform:translate(100%);opacity:0}.animot-canvas.transition-slide-left-in.backward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromLeft calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-right-out.forward.svelte-16ocdv9{transform:translate(100%);opacity:0}.animot-canvas.transition-slide-right-in.forward.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromLeft calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-up-out.svelte-16ocdv9{transform:translateY(-100%);opacity:0}.animot-canvas.transition-slide-up-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromBottom calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-slide-down-out.svelte-16ocdv9{transform:translateY(100%);opacity:0}.animot-canvas.transition-slide-down-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-slideInFromTop calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-zoom-in-out.svelte-16ocdv9{transform:scale(.5);opacity:0}.animot-canvas.transition-zoom-in-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-zoomIn calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-zoom-out-out.svelte-16ocdv9{transform:scale(1.5);opacity:0}.animot-canvas.transition-zoom-out-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-zoomOut calc(var(--transition-duration) * .6) ease forwards}.animot-canvas.transition-flip-out.svelte-16ocdv9{transform:perspective(1000px) rotateY(90deg);opacity:0}.animot-canvas.transition-flip-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-fadeIn{0%{opacity:0}to{opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromRight{0%{transform:translate(100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromLeft{0%{transform:translate(-100%);opacity:0}to{transform:translate(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromBottom{0%{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes svelte-16ocdv9-animot-slideInFromTop{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes svelte-16ocdv9-animot-zoomIn{0%{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}@keyframes svelte-16ocdv9-animot-zoomOut{0%{transform:scale(1.5);opacity:0}to{transform:scale(1);opacity:1}}@keyframes svelte-16ocdv9-animot-flipIn{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}to{transform:perspective(1000px) rotateY(0);opacity:1}}.animot-canvas.transition-flip-x-out.svelte-16ocdv9{transform:perspective(1000px) rotateX(90deg);opacity:0}.animot-canvas.transition-flip-x-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipXIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-flipXIn{0%{transform:perspective(1000px) rotateX(-90deg);opacity:0}to{transform:perspective(1000px) rotateX(0);opacity:1}}.animot-canvas.transition-flip-y-out.svelte-16ocdv9{transform:perspective(1000px) rotateY(90deg);opacity:0}.animot-canvas.transition-flip-y-in.svelte-16ocdv9{animation:svelte-16ocdv9-animot-flipYIn calc(var(--transition-duration) * .6) ease forwards}@keyframes svelte-16ocdv9-animot-flipYIn{0%{transform:perspective(1000px) rotateY(-90deg);opacity:0}to{transform:perspective(1000px) rotateY(0);opacity:1}}.animot-svg-element.svelte-16ocdv9{width:100%;height:100%;display:flex;align-items:center;justify-content:center}.animot-svg-element.svelte-16ocdv9 svg{width:100%;height:100%}.animot-controls.svelte-16ocdv9{position:absolute;bottom:12px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:8px;padding:8px 16px;background:#000000b3;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-radius:10px;opacity:0;transition:opacity .3s ease .15s;z-index:100}.animot-presenter.svelte-16ocdv9:hover .animot-controls:where(.svelte-16ocdv9),.animot-menu-visible.svelte-16ocdv9 .animot-controls:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9){display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:6px;border:none;cursor:pointer;background:#ffffff1a;color:#fff;transition:background .2s}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9):hover:not(:disabled){background:#fff3}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9):disabled{opacity:.3;cursor:not-allowed}.animot-controls.svelte-16ocdv9 button.active:where(.svelte-16ocdv9){background:#6366f199}.animot-controls.svelte-16ocdv9 button:where(.svelte-16ocdv9) svg:where(.svelte-16ocdv9){width:16px;height:16px}.animot-slide-indicator.svelte-16ocdv9{font-size:12px;color:#fff;min-width:50px;text-align:center;font-family:system-ui,sans-serif}.animot-arrow.svelte-16ocdv9{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;border-radius:50%;border:none;cursor:pointer;background:#00000080;color:#fff;display:flex;align-items:center;justify-content:center;opacity:0;transition:opacity .3s .15s;z-index:100;padding:0;margin:0}.animot-presenter.svelte-16ocdv9:hover .animot-arrow:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-presenter.svelte-16ocdv9:hover .animot-arrow:where(.svelte-16ocdv9):disabled{opacity:.3;cursor:not-allowed}.animot-arrow.svelte-16ocdv9:hover:not(:disabled){background:#000000b3}.animot-arrow.svelte-16ocdv9 svg:where(.svelte-16ocdv9){width:20px;height:20px}.animot-arrow-left.svelte-16ocdv9{left:8px}.animot-arrow-right.svelte-16ocdv9{right:8px}.animot-progress-bar.svelte-16ocdv9{position:absolute;bottom:0;left:0;right:0;height:3px;background:#ffffff1a;z-index:100;opacity:0;transition:opacity .3s .15s}.animot-presenter.svelte-16ocdv9:hover .animot-progress-bar:where(.svelte-16ocdv9){opacity:1;transition-delay:0s}.animot-progress-fill.svelte-16ocdv9{height:100%;background:linear-gradient(135deg,#7c3aed,#ec4899);transition:width .6s ease}.animot-loading.svelte-16ocdv9{display:flex;align-items:center;justify-content:center;width:100%;height:100%}.animot-spinner.svelte-16ocdv9{width:32px;height:32px;border:3px solid rgba(255,255,255,.2);border-top-color:#7c3aed;border-radius:50%;animation:svelte-16ocdv9-animot-spin .8s linear infinite}@keyframes svelte-16ocdv9-animot-spin{to{transform:rotate(360deg)}}.animot-error.svelte-16ocdv9{color:#ef4444;padding:20px;text-align:center;font-family:system-ui,sans-serif}\n";d.head.appendChild(s)}catch(e){}})();
|
|
2
2
|
var AnimotPresenter=function(Pe){"use strict";var jE=Object.defineProperty;var Gd=Pe=>{throw TypeError(Pe)};var SE=(Pe,We,mt)=>We in Pe?jE(Pe,We,{enumerable:!0,configurable:!0,writable:!0,value:mt}):Pe[We]=mt;var E=(Pe,We,mt)=>SE(Pe,typeof We!="symbol"?We+"":We,mt),vi=(Pe,We,mt)=>We.has(Pe)||Gd("Cannot "+mt);var h=(Pe,We,mt)=>(vi(Pe,We,"read from private field"),mt?mt.call(Pe):We.get(Pe)),Be=(Pe,We,mt)=>We.has(Pe)?Gd("Cannot add the same private member more than once"):We instanceof WeakSet?We.add(Pe):We.set(Pe,mt),me=(Pe,We,mt,sr)=>(vi(Pe,We,"write to private field"),sr?sr.call(Pe,mt):We.set(Pe,mt),mt),ot=(Pe,We,mt)=>(vi(Pe,We,"access private method"),mt);var ma,fa,ba,Ba,Za,fn,ha,wA,On,Ca,vt,Mi,Ni,ji,Si,Rd,bn,ki,Tn,YA,zt,Kn,sn,Mn,oA,OA,yA,Ea,Qa,wa,rA,To,lt,GE,RE,LE,Gi,or,rr,Ri,Nd,Nn,Wn,cn,TA,Va,Xa,Ko,jd,iA,ya,eo,KA,ka,Bn,to,no,Wo,Ld,sA,hn;const wt=Symbol(),$i="http://www.w3.org/1999/xhtml",Pd="http://www.w3.org/2000/svg",Ud="http://www.w3.org/1998/Math/MathML",qd=!1;var Hi=Array.isArray,Yd=Array.prototype.indexOf,JA=Array.prototype.includes,io=Array.from,Od=Object.defineProperty,Da=Object.getOwnPropertyDescriptor,Pi=Object.getOwnPropertyDescriptors,Td=Object.prototype,Kd=Array.prototype,cr=Object.getPrototypeOf,Ui=Object.isExtensible;const Wd=()=>{};function Jd(t){for(var e=0;e<t.length;e++)t[e]()}function qi(){var t,e,n=new Promise((A,a)=>{t=A,e=a});return{promise:n,resolve:t,reject:e}}const ft=2,zA=4,so=8,Yi=1<<24,pA=16,kn=32,kA=64,dr=128,dn=512,bt=1024,yt=2048,_n=4096,tn=8192,In=16384,_A=32768,ur=1<<25,ZA=65536,Oi=1<<17,zd=1<<18,VA=1<<19,Zd=1<<20,Gn=1<<25,IA=65536,pr=1<<21,gr=1<<22,gA=1<<23,XA=Symbol("$state"),Vd=Symbol(""),Xn=new class extends Error{constructor(){super(...arguments);E(this,"name","StaleReactionError");E(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function Xd(t){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function eu(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function tu(t,e,n){throw new Error("https://svelte.dev/e/each_key_duplicate")}function nu(t){throw new Error("https://svelte.dev/e/effect_in_teardown")}function Au(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function au(t){throw new Error("https://svelte.dev/e/effect_orphan")}function ou(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function ru(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function iu(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function su(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function cu(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function du(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function Ti(t){return t===this.v}function Ki(t,e){return t!=t?e==e:t!==e||t!==null&&typeof t=="object"||typeof t=="function"}function Wi(t){return!Ki(t,this.v)}let uu=!1,Tt=null;function ea(t){Tt=t}function lA(t,e=!1,n){Tt={p:Tt,i:!1,c:null,e:null,s:t,x:null,r:ve,l:null}}function mA(t){var e=Tt,n=e.e;if(n!==null){e.e=null;for(var A of n)ms(A)}return t!==void 0&&(e.x=t),e.i=!0,Tt=e.p,t??{}}function Ji(){return!0}let ta=[];function pu(){var t=ta;ta=[],Jd(t)}function fA(t){if(ta.length===0){var e=ta;queueMicrotask(()=>{e===ta&&pu()})}ta.push(t)}function zi(t){var e=ve;if(e===null)return _e.f|=gA,t;if(!(e.f&_A)&&!(e.f&zA))throw t;bA(t,e)}function bA(t,e){for(;e!==null;){if(e.f&dr){if(!(e.f&_A))throw t;try{e.b.error(t);return}catch(n){t=n}}e=e.parent}throw t}const gu=-7169;function nt(t,e){t.f=t.f&gu|e}function lr(t){t.f&dn||t.deps===null?nt(t,bt):nt(t,_n)}function Zi(t){if(t!==null)for(const e of t)!(e.f&ft)||!(e.f&IA)||(e.f^=IA,Zi(e.deps))}function Vi(t,e,n){t.f&yt?e.add(t):t.f&_n&&n.add(t),Zi(t.deps),nt(t,bt)}const xa=new Set;let Ne=null,kt=null,mr=null,fr=!1,na=null,co=null;var Xi=0;let lu=1;const Oo=class Oo{constructor(){Be(this,vt);E(this,"id",lu++);E(this,"current",new Map);E(this,"previous",new Map);Be(this,ma,new Set);Be(this,fa,new Set);Be(this,ba,0);Be(this,Ba,0);Be(this,Za,null);Be(this,fn,[]);Be(this,ha,new Set);Be(this,wA,new Set);Be(this,On,new Map);E(this,"is_fork",!1);Be(this,Ca,!1)}skip_effect(e){h(this,On).has(e)||h(this,On).set(e,{d:[],m:[]})}unskip_effect(e){var n=h(this,On).get(e);if(n){h(this,On).delete(e);for(var A of n.d)nt(A,yt),this.schedule(A);for(A of n.m)nt(A,_n),this.schedule(A)}}capture(e,n){n!==wt&&!this.previous.has(e)&&this.previous.set(e,n),e.f&gA||(this.current.set(e,e.v),kt==null||kt.set(e,e.v))}activate(){Ne=this}deactivate(){Ne=null,kt=null}flush(){try{if(fr=!0,Ne=this,!ot(this,vt,Mi).call(this)){for(const e of h(this,ha))h(this,wA).delete(e),nt(e,yt),this.schedule(e);for(const e of h(this,wA))nt(e,_n),this.schedule(e)}ot(this,vt,Ni).call(this)}finally{Xi=0,mr=null,na=null,co=null,fr=!1,Ne=null,kt=null,BA.clear()}}discard(){for(const e of h(this,fa))e(this);h(this,fa).clear()}increment(e){me(this,ba,h(this,ba)+1),e&&me(this,Ba,h(this,Ba)+1)}decrement(e,n){me(this,ba,h(this,ba)-1),e&&me(this,Ba,h(this,Ba)-1),!(h(this,Ca)||n)&&(me(this,Ca,!0),fA(()=>{me(this,Ca,!1),this.flush()}))}oncommit(e){h(this,ma).add(e)}ondiscard(e){h(this,fa).add(e)}settled(){return(h(this,Za)??me(this,Za,qi())).promise}static ensure(){if(Ne===null){const e=Ne=new Oo;fr||(xa.add(Ne),fA(()=>{Ne===e&&e.flush()}))}return Ne}apply(){}schedule(e){var a;if(mr=e,(a=e.b)!=null&&a.is_pending&&e.f&(zA|so|Yi)&&!(e.f&_A)){e.b.defer_effect(e);return}for(var n=e;n.parent!==null;){n=n.parent;var A=n.f;if(na!==null&&n===ve&&(_e===null||!(_e.f&ft)))return;if(A&(kA|kn)){if(!(A&bt))return;n.f^=bt}}h(this,fn).push(n)}};ma=new WeakMap,fa=new WeakMap,ba=new WeakMap,Ba=new WeakMap,Za=new WeakMap,fn=new WeakMap,ha=new WeakMap,wA=new WeakMap,On=new WeakMap,Ca=new WeakMap,vt=new WeakSet,Mi=function(){return this.is_fork||h(this,Ba)>0},Ni=function(){var c,s;Xi++>1e3&&mu();const e=h(this,fn);me(this,fn,[]),this.apply();var n=na=[],A=[],a=co=[];for(const d of e)ot(this,vt,ji).call(this,d,n,A);if(Ne=null,a.length>0){var o=Oo.ensure();for(const d of a)o.schedule(d)}if(na=null,co=null,ot(this,vt,Mi).call(this)){ot(this,vt,Si).call(this,A),ot(this,vt,Si).call(this,n);for(const[d,u]of h(this,On))As(d,u)}else{h(this,ha).clear(),h(this,wA).clear();for(const d of h(this,ma))d(this);h(this,ma).clear(),es(A),es(n),h(this,ba)===0&&ot(this,vt,Rd).call(this),(c=h(this,Za))==null||c.resolve()}var i=Ne;if(h(this,fn).length>0){const d=i??(i=this);h(d,fn).push(...h(this,fn).filter(u=>!h(d,fn).includes(u)))}i!==null&&(xa.add(i),ot(s=i,vt,Ni).call(s))},ji=function(e,n,A){e.f^=bt;for(var a=e.first;a!==null;){var o=a.f,i=(o&(kn|kA))!==0,c=i&&(o&bt)!==0,s=c||(o&tn)!==0||h(this,On).has(a);if(!s&&a.fn!==null){i?a.f^=bt:o&zA?n.push(a):Ma(a)&&(o&pA&&h(this,wA).add(a),aa(a));var d=a.first;if(d!==null){a=d;continue}}for(;a!==null;){var u=a.next;if(u!==null){a=u;break}a=a.parent}}},Si=function(e){for(var n=0;n<e.length;n+=1)Vi(e[n],h(this,ha),h(this,wA))},Rd=function(){var a;if(xa.size>1){this.previous.clear();var e=Ne,n=kt,A=!0;for(const o of xa){if(o===this){A=!1;continue}const i=[];for(const[s,d]of this.current){if(o.current.has(s))if(A&&d!==o.current.get(s))o.current.set(s,d);else continue;i.push(s)}if(i.length===0)continue;const c=[...o.current.keys()].filter(s=>!this.current.has(s));if(c.length>0){o.activate();const s=new Set,d=new Map;for(const u of i)ts(u,c,s,d);if(h(o,fn).length>0){o.apply();for(const u of h(o,fn))ot(a=o,vt,ji).call(a,u,[],[])}o.deactivate()}}Ne=e,kt=n}h(this,On).clear(),xa.delete(this)};let DA=Oo;function mu(){try{ou()}catch(t){bA(t,mr)}}let Dn=null;function es(t){var e=t.length;if(e!==0){for(var n=0;n<e;){var A=t[n++];if(!(A.f&(In|tn))&&Ma(A)&&(Dn=new Set,aa(A),A.deps===null&&A.first===null&&A.nodes===null&&A.teardown===null&&A.ac===null&&hs(A),(Dn==null?void 0:Dn.size)>0)){BA.clear();for(const a of Dn){if(a.f&(In|tn))continue;const o=[a];let i=a.parent;for(;i!==null;)Dn.has(i)&&(Dn.delete(i),o.push(i)),i=i.parent;for(let c=o.length-1;c>=0;c--){const s=o[c];s.f&(In|tn)||aa(s)}}Dn.clear()}}Dn=null}}function ts(t,e,n,A){if(!n.has(t)&&(n.add(t),t.reactions!==null))for(const a of t.reactions){const o=a.f;o&ft?ts(a,e,n,A):o&(gr|pA)&&!(o&yt)&&ns(a,e,A)&&(nt(a,yt),br(a))}}function ns(t,e,n){const A=n.get(t);if(A!==void 0)return A;if(t.deps!==null)for(const a of t.deps){if(JA.call(e,a))return!0;if(a.f&ft&&ns(a,e,n))return n.set(a,!0),!0}return n.set(t,!1),!1}function br(t){Ne.schedule(t)}function As(t,e){if(!(t.f&kn&&t.f&bt)){t.f&yt?e.d.push(t):t.f&_n&&e.m.push(t),nt(t,bt);for(var n=t.first;n!==null;)As(n,e),n=n.next}}function fu(t){let e=0,n=xA(0),A;return()=>{wr()&&(r(n),po(()=>(e===0&&(A=mo(()=>t(()=>Fa(n)))),e+=1,()=>{fA(()=>{e-=1,e===0&&(A==null||A(),A=void 0,Fa(n))})})))}}var bu=ZA|VA;function Bu(t,e,n,A){new hu(t,e,n,A)}class hu{constructor(e,n,A,a){Be(this,lt);E(this,"parent");E(this,"is_pending",!1);E(this,"transform_error");Be(this,bn);Be(this,ki,null);Be(this,Tn);Be(this,YA);Be(this,zt);Be(this,Kn,null);Be(this,sn,null);Be(this,Mn,null);Be(this,oA,null);Be(this,OA,0);Be(this,yA,0);Be(this,Ea,!1);Be(this,Qa,new Set);Be(this,wa,new Set);Be(this,rA,null);Be(this,To,fu(()=>(me(this,rA,xA(h(this,OA))),()=>{me(this,rA,null)})));var o;me(this,bn,e),me(this,Tn,n),me(this,YA,i=>{var c=ve;c.b=this,c.f|=dr,A(i)}),this.parent=ve.b,this.transform_error=a??((o=this.parent)==null?void 0:o.transform_error)??(i=>i),me(this,zt,go(()=>{ot(this,lt,Gi).call(this)},bu))}defer_effect(e){Vi(e,h(this,Qa),h(this,wa))}is_rendered(){return!this.is_pending&&(!this.parent||this.parent.is_rendered())}has_pending_snippet(){return!!h(this,Tn).pending}update_pending_count(e,n){ot(this,lt,Ri).call(this,e,n),me(this,OA,h(this,OA)+e),!(!h(this,rA)||h(this,Ea))&&(me(this,Ea,!0),fA(()=>{me(this,Ea,!1),h(this,rA)&&Aa(h(this,rA),h(this,OA))}))}get_effect_pending(){return h(this,To).call(this),r(h(this,rA))}error(e){var n=h(this,Tn).onerror;let A=h(this,Tn).failed;if(!n&&!A)throw e;h(this,Kn)&&(Kt(h(this,Kn)),me(this,Kn,null)),h(this,sn)&&(Kt(h(this,sn)),me(this,sn,null)),h(this,Mn)&&(Kt(h(this,Mn)),me(this,Mn,null));var a=!1,o=!1;const i=()=>{if(a){du();return}a=!0,o&&cu(),h(this,Mn)!==null&&FA(h(this,Mn),()=>{me(this,Mn,null)}),ot(this,lt,rr).call(this,()=>{ot(this,lt,Gi).call(this)})},c=s=>{try{o=!0,n==null||n(s,i),o=!1}catch(d){bA(d,h(this,zt)&&h(this,zt).parent)}A&&me(this,Mn,ot(this,lt,rr).call(this,()=>{try{return un(()=>{var d=ve;d.b=this,d.f|=dr,A(h(this,bn),()=>s,()=>i)})}catch(d){return bA(d,h(this,zt).parent),null}}))};fA(()=>{var s;try{s=this.transform_error(e)}catch(d){bA(d,h(this,zt)&&h(this,zt).parent);return}s!==null&&typeof s=="object"&&typeof s.then=="function"?s.then(c,d=>bA(d,h(this,zt)&&h(this,zt).parent)):c(s)})}}bn=new WeakMap,ki=new WeakMap,Tn=new WeakMap,YA=new WeakMap,zt=new WeakMap,Kn=new WeakMap,sn=new WeakMap,Mn=new WeakMap,oA=new WeakMap,OA=new WeakMap,yA=new WeakMap,Ea=new WeakMap,Qa=new WeakMap,wa=new WeakMap,rA=new WeakMap,To=new WeakMap,lt=new WeakSet,GE=function(){try{me(this,Kn,un(()=>h(this,YA).call(this,h(this,bn))))}catch(e){this.error(e)}},RE=function(e){const n=h(this,Tn).failed;n&&me(this,Mn,un(()=>{n(h(this,bn),()=>e,()=>()=>{})}))},LE=function(){const e=h(this,Tn).pending;if(e){this.is_pending=!0,me(this,sn,un(()=>e(h(this,bn))));var n=Ne;fA(()=>{var A=me(this,oA,document.createDocumentFragment()),a=hA();A.append(a),me(this,Kn,ot(this,lt,rr).call(this,()=>un(()=>h(this,YA).call(this,a)))),h(this,yA)===0&&(h(this,bn).before(A),me(this,oA,null),FA(h(this,sn),()=>{me(this,sn,null)}),ot(this,lt,or).call(this,n))})}},Gi=function(){var e=Ne;try{if(this.is_pending=this.has_pending_snippet(),me(this,yA,0),me(this,OA,0),me(this,Kn,un(()=>{h(this,YA).call(this,h(this,bn))})),h(this,yA)>0){var n=me(this,oA,document.createDocumentFragment());_r(h(this,Kn),n);const A=h(this,Tn).pending;me(this,sn,un(()=>A(h(this,bn))))}else ot(this,lt,or).call(this,e)}catch(A){this.error(A)}},or=function(e){this.is_pending=!1;for(const n of h(this,Qa))nt(n,yt),e.schedule(n);for(const n of h(this,wa))nt(n,_n),e.schedule(n);h(this,Qa).clear(),h(this,wa).clear()},rr=function(e){var n=ve,A=_e,a=Tt;Rn(h(this,zt)),pn(h(this,zt)),ea(h(this,zt).ctx);try{return DA.ensure(),e()}catch(o){return zi(o),null}finally{Rn(n),pn(A),ea(a)}},Ri=function(e,n){var A;if(!this.has_pending_snippet()){this.parent&&ot(A=this.parent,lt,Ri).call(A,e,n);return}me(this,yA,h(this,yA)+e),h(this,yA)===0&&(ot(this,lt,or).call(this,n),h(this,sn)&&FA(h(this,sn),()=>{me(this,sn,null)}),h(this,oA)&&(h(this,bn).before(h(this,oA)),me(this,oA,null)))};function Cu(t,e,n,A){const a=Br;var o=t.filter(g=>!g.settled);if(n.length===0&&o.length===0){A(e.map(a));return}var i=ve,c=Eu(),s=o.length===1?o[0].promise:o.length>1?Promise.all(o.map(g=>g.promise)):null;function d(g){c();try{A(g)}catch(l){i.f&In||bA(l,i)}uo()}if(n.length===0){s.then(()=>d(e.map(a)));return}var u=as();function p(){Promise.all(n.map(g=>Qu(g))).then(g=>d([...e.map(a),...g])).catch(g=>bA(g,i)).finally(()=>u())}s?s.then(()=>{c(),p(),uo()}):p()}function Eu(){var t=ve,e=_e,n=Tt,A=Ne;return function(o=!0){Rn(t),pn(e),ea(n),o&&!(t.f&In)&&(A==null||A.activate(),A==null||A.apply())}}function uo(t=!0){Rn(null),pn(null),ea(null),t&&(Ne==null||Ne.deactivate())}function as(){var t=ve.b,e=Ne,n=t.is_rendered();return t.update_pending_count(1,e),e.increment(n),(A=!1)=>{t.update_pending_count(-1,e),e.decrement(n,A)}}function Br(t){var e=ft|yt,n=_e!==null&&_e.f&ft?_e:null;return ve!==null&&(ve.f|=VA),{ctx:Tt,deps:null,effects:null,equals:Ti,f:e,fn:t,reactions:null,rv:0,v:wt,wv:0,parent:n??ve,ac:null}}function Qu(t,e,n){let A=ve;A===null&&eu();var a=void 0,o=xA(wt),i=!_e,c=new Map;return ju(()=>{var l;var s=ve,d=qi();a=d.promise;try{Promise.resolve(t()).then(d.resolve,d.reject).finally(uo)}catch(m){d.reject(m),uo()}var u=Ne;if(i){if(s.f&_A)var p=as();if(A.b.is_rendered())(l=c.get(u))==null||l.reject(Xn),c.delete(u);else{for(const m of c.values())m.reject(Xn);c.clear()}c.set(u,d)}const g=(m,y=void 0)=>{if(p){var b=y===Xn;p(b)}if(!(y===Xn||s.f&In)){if(u.activate(),y)o.f|=gA,Aa(o,y);else{o.f&gA&&(o.f^=gA),Aa(o,m);for(const[Q,D]of c){if(c.delete(Q),Q===u)break;D.reject(Xn)}}u.deactivate()}};d.promise.then(g,m=>g(null,m||"unknown"))}),ls(()=>{for(const s of c.values())s.reject(Xn)}),new Promise(s=>{function d(u){function p(){u===a?s(o):d(a)}u.then(p,p)}d(a)})}function S(t){const e=Br(t);return ws(e),e}function wu(t){const e=Br(t);return e.equals=Wi,e}function yu(t){var e=t.effects;if(e!==null){t.effects=null;for(var n=0;n<e.length;n+=1)Kt(e[n])}}function ku(t){for(var e=t.parent;e!==null;){if(!(e.f&ft))return e.f&In?null:e;e=e.parent}return null}function hr(t){var e,n=ve;Rn(ku(t));try{t.f&=~IA,yu(t),e=Ds(t)}finally{Rn(n)}return e}function os(t){var e=hr(t);if(!t.equals(e)&&(t.wv=_s(),(!(Ne!=null&&Ne.is_fork)||t.deps===null)&&(t.v=e,t.deps===null))){nt(t,bt);return}vA||(kt!==null?(wr()||Ne!=null&&Ne.is_fork)&&kt.set(t,e):lr(t))}function _u(t){var e,n;if(t.effects!==null)for(const A of t.effects)(A.teardown||A.ac)&&((e=A.teardown)==null||e.call(A),(n=A.ac)==null||n.abort(Xn),A.teardown=Wd,A.ac=null,Na(A,0),yr(A))}function rs(t){if(t.effects!==null)for(const e of t.effects)e.teardown&&aa(e)}let Cr=new Set;const BA=new Map;let is=!1;function xA(t,e){var n={f:0,v:t,reactions:null,equals:Ti,rv:0,wv:0};return n}function xe(t,e){const n=xA(t);return ws(n),n}function Iu(t,e=!1,n=!0){const A=xA(t);return e||(A.equals=Wi),A}function G(t,e,n=!1){_e!==null&&(!xn||_e.f&Oi)&&Ji()&&_e.f&(ft|pA|gr|Oi)&&(gn===null||!JA.call(gn,t))&&su();let A=n?nn(e):e;return Aa(t,A,co)}function Aa(t,e,n=null){if(!t.equals(e)){var A=t.v;vA?BA.set(t,e):BA.set(t,A),t.v=e;var a=DA.ensure();if(a.capture(t,A),t.f&ft){const o=t;t.f&yt&&hr(o),lr(o)}t.wv=_s(),ss(t,yt,n),ve!==null&&ve.f&bt&&!(ve.f&(kn|kA))&&(ln===null?Gu([t]):ln.push(t)),!a.is_fork&&Cr.size>0&&!is&&Du()}return e}function Du(){is=!1;for(const t of Cr)t.f&bt&&nt(t,_n),Ma(t)&&aa(t);Cr.clear()}function Fa(t){G(t,t.v+1)}function ss(t,e,n){var A=t.reactions;if(A!==null)for(var a=A.length,o=0;o<a;o++){var i=A[o],c=i.f,s=(c&yt)===0;if(s&&nt(i,e),c&ft){var d=i;kt==null||kt.delete(d),c&IA||(c&dn&&(i.f|=IA),ss(d,_n,n))}else if(s){var u=i;c&pA&&Dn!==null&&Dn.add(u),n!==null?n.push(u):br(u)}}}function nn(t){if(typeof t!="object"||t===null||XA in t)return t;const e=cr(t);if(e!==Td&&e!==Kd)return t;var n=new Map,A=Hi(t),a=xe(0),o=NA,i=c=>{if(NA===o)return c();var s=_e,d=NA;pn(null),ks(o);var u=c();return pn(s),ks(d),u};return A&&n.set("length",xe(t.length)),new Proxy(t,{defineProperty(c,s,d){(!("value"in d)||d.configurable===!1||d.enumerable===!1||d.writable===!1)&&ru();var u=n.get(s);return u===void 0?i(()=>{var p=xe(d.value);return n.set(s,p),p}):G(u,d.value,!0),!0},deleteProperty(c,s){var d=n.get(s);if(d===void 0){if(s in c){const u=i(()=>xe(wt));n.set(s,u),Fa(a)}}else G(d,wt),Fa(a);return!0},get(c,s,d){var l;if(s===XA)return t;var u=n.get(s),p=s in c;if(u===void 0&&(!p||(l=Da(c,s))!=null&&l.writable)&&(u=i(()=>{var m=nn(p?c[s]:wt),y=xe(m);return y}),n.set(s,u)),u!==void 0){var g=r(u);return g===wt?void 0:g}return Reflect.get(c,s,d)},getOwnPropertyDescriptor(c,s){var d=Reflect.getOwnPropertyDescriptor(c,s);if(d&&"value"in d){var u=n.get(s);u&&(d.value=r(u))}else if(d===void 0){var p=n.get(s),g=p==null?void 0:p.v;if(p!==void 0&&g!==wt)return{enumerable:!0,configurable:!0,value:g,writable:!0}}return d},has(c,s){var g;if(s===XA)return!0;var d=n.get(s),u=d!==void 0&&d.v!==wt||Reflect.has(c,s);if(d!==void 0||ve!==null&&(!u||(g=Da(c,s))!=null&&g.writable)){d===void 0&&(d=i(()=>{var l=u?nn(c[s]):wt,m=xe(l);return m}),n.set(s,d));var p=r(d);if(p===wt)return!1}return u},set(c,s,d,u){var k;var p=n.get(s),g=s in c;if(A&&s==="length")for(var l=d;l<p.v;l+=1){var m=n.get(l+"");m!==void 0?G(m,wt):l in c&&(m=i(()=>xe(wt)),n.set(l+"",m))}if(p===void 0)(!g||(k=Da(c,s))!=null&&k.writable)&&(p=i(()=>xe(void 0)),G(p,nn(d)),n.set(s,p));else{g=p.v!==wt;var y=i(()=>nn(d));G(p,y)}var b=Reflect.getOwnPropertyDescriptor(c,s);if(b!=null&&b.set&&b.set.call(u,d),!g){if(A&&typeof s=="string"){var Q=n.get("length"),D=Number(s);Number.isInteger(D)&&D>=Q.v&&G(Q,D+1)}Fa(a)}return!0},ownKeys(c){r(a);var s=Reflect.ownKeys(c).filter(p=>{var g=n.get(p);return g===void 0||g.v!==wt});for(var[d,u]of n)u.v!==wt&&!(d in c)&&s.push(d);return s},setPrototypeOf(){iu()}})}var Er,cs,ds,us;function xu(){if(Er===void 0){Er=window,cs=/Firefox/.test(navigator.userAgent);var t=Element.prototype,e=Node.prototype,n=Text.prototype;ds=Da(e,"firstChild").get,us=Da(e,"nextSibling").get,Ui(t)&&(t.__click=void 0,t.__className=void 0,t.__attributes=null,t.__style=void 0,t.__e=void 0),Ui(n)&&(n.__t=void 0)}}function hA(t=""){return document.createTextNode(t)}function An(t){return ds.call(t)}function va(t){return us.call(t)}function ke(t,e){return An(t)}function Ze(t,e=!1){{var n=An(t);return n instanceof Comment&&n.data===""?va(n):n}}function je(t,e=1,n=!1){let A=t;for(;e--;)A=va(A);return A}function Fu(t){t.textContent=""}function ps(){return!1}function gs(t,e,n){return document.createElementNS(e??$i,t,void 0)}function Qr(t){var e=_e,n=ve;pn(null),Rn(null);try{return t()}finally{pn(e),Rn(n)}}function vu(t){ve===null&&(_e===null&&au(),Au()),vA&&nu()}function Mu(t,e){var n=e.last;n===null?e.last=e.first=t:(n.next=t,t.prev=n,e.last=t)}function eA(t,e){var n=ve;n!==null&&n.f&tn&&(t|=tn);var A={ctx:Tt,deps:null,nodes:null,f:t|yt|dn,first:null,fn:e,last:null,next:null,parent:n,b:n&&n.b,prev:null,teardown:null,wv:0,ac:null},a=A;if(t&zA)na!==null?na.push(A):DA.ensure().schedule(A);else if(e!==null){try{aa(A)}catch(i){throw Kt(A),i}a.deps===null&&a.teardown===null&&a.nodes===null&&a.first===a.last&&!(a.f&VA)&&(a=a.first,t&pA&&t&ZA&&a!==null&&(a.f|=ZA))}if(a!==null&&(a.parent=n,n!==null&&Mu(a,n),_e!==null&&_e.f&ft&&!(t&kA))){var o=_e;(o.effects??(o.effects=[])).push(a)}return A}function wr(){return _e!==null&&!xn}function ls(t){const e=eA(so,null);return nt(e,bt),e.teardown=t,e}function CA(t){vu();var e=ve.f,n=!_e&&(e&kn)!==0&&(e&_A)===0;if(n){var A=Tt;(A.e??(A.e=[])).push(t)}else return ms(t)}function ms(t){return eA(zA|Zd,t)}function Nu(t){DA.ensure();const e=eA(kA|VA,t);return(n={})=>new Promise(A=>{n.outro?FA(e,()=>{Kt(e),A(void 0)}):(Kt(e),A(void 0))})}function fs(t){return eA(zA,t)}function ju(t){return eA(gr|VA,t)}function po(t,e=0){return eA(so|e,t)}function he(t,e=[],n=[],A=[]){Cu(A,e,n,a=>{eA(so,()=>t(...a.map(r)))})}function go(t,e=0){var n=eA(pA|e,t);return n}function un(t){return eA(kn|VA,t)}function bs(t){var e=t.teardown;if(e!==null){const n=vA,A=_e;Qs(!0),pn(null);try{e.call(null)}finally{Qs(n),pn(A)}}}function yr(t,e=!1){var n=t.first;for(t.first=t.last=null;n!==null;){const a=n.ac;a!==null&&Qr(()=>{a.abort(Xn)});var A=n.next;n.f&kA?n.parent=null:Kt(n,e),n=A}}function Su(t){for(var e=t.first;e!==null;){var n=e.next;e.f&kn||Kt(e),e=n}}function Kt(t,e=!0){var n=!1;(e||t.f&zd)&&t.nodes!==null&&t.nodes.end!==null&&(Bs(t.nodes.start,t.nodes.end),n=!0),nt(t,ur),yr(t,e&&!n),Na(t,0);var A=t.nodes&&t.nodes.t;if(A!==null)for(const o of A)o.stop();bs(t),t.f^=ur,t.f|=In;var a=t.parent;a!==null&&a.first!==null&&hs(t),t.next=t.prev=t.teardown=t.ctx=t.deps=t.fn=t.nodes=t.ac=null}function Bs(t,e){for(;t!==null;){var n=t===e?null:va(t);t.remove(),t=n}}function hs(t){var e=t.parent,n=t.prev,A=t.next;n!==null&&(n.next=A),A!==null&&(A.prev=n),e!==null&&(e.first===t&&(e.first=A),e.last===t&&(e.last=n))}function FA(t,e,n=!0){var A=[];Cs(t,A,!0);var a=()=>{n&&Kt(t),e&&e()},o=A.length;if(o>0){var i=()=>--o||a();for(var c of A)c.out(i)}else a()}function Cs(t,e,n){if(!(t.f&tn)){t.f^=tn;var A=t.nodes&&t.nodes.t;if(A!==null)for(const c of A)(c.is_global||n)&&e.push(c);for(var a=t.first;a!==null;){var o=a.next,i=(a.f&ZA)!==0||(a.f&kn)!==0&&(t.f&pA)!==0;Cs(a,e,i?n:!1),a=o}}}function kr(t){Es(t,!0)}function Es(t,e){if(t.f&tn){t.f^=tn,t.f&bt||(nt(t,yt),DA.ensure().schedule(t));for(var n=t.first;n!==null;){var A=n.next,a=(n.f&ZA)!==0||(n.f&kn)!==0;Es(n,a?e:!1),n=A}var o=t.nodes&&t.nodes.t;if(o!==null)for(const i of o)(i.is_global||e)&&i.in()}}function _r(t,e){if(t.nodes)for(var n=t.nodes.start,A=t.nodes.end;n!==null;){var a=n===A?null:va(n);e.append(n),n=a}}let lo=!1,vA=!1;function Qs(t){vA=t}let _e=null,xn=!1;function pn(t){_e=t}let ve=null;function Rn(t){ve=t}let gn=null;function ws(t){_e!==null&&(gn===null?gn=[t]:gn.push(t))}let Wt=null,an=0,ln=null;function Gu(t){ln=t}let ys=1,MA=0,NA=MA;function ks(t){NA=t}function _s(){return++ys}function Ma(t){var e=t.f;if(e&yt)return!0;if(e&ft&&(t.f&=~IA),e&_n){for(var n=t.deps,A=n.length,a=0;a<A;a++){var o=n[a];if(Ma(o)&&os(o),o.wv>t.wv)return!0}e&dn&&kt===null&&nt(t,bt)}return!1}function Is(t,e,n=!0){var A=t.reactions;if(A!==null&&!(gn!==null&&JA.call(gn,t)))for(var a=0;a<A.length;a++){var o=A[a];o.f&ft?Is(o,e,!1):e===o&&(n?nt(o,yt):o.f&bt&&nt(o,_n),br(o))}}function Ds(t){var y;var e=Wt,n=an,A=ln,a=_e,o=gn,i=Tt,c=xn,s=NA,d=t.f;Wt=null,an=0,ln=null,_e=d&(kn|kA)?null:t,gn=null,ea(t.ctx),xn=!1,NA=++MA,t.ac!==null&&(Qr(()=>{t.ac.abort(Xn)}),t.ac=null);try{t.f|=pr;var u=t.fn,p=u();t.f|=_A;var g=t.deps,l=Ne==null?void 0:Ne.is_fork;if(Wt!==null){var m;if(l||Na(t,an),g!==null&&an>0)for(g.length=an+Wt.length,m=0;m<Wt.length;m++)g[an+m]=Wt[m];else t.deps=g=Wt;if(wr()&&t.f&dn)for(m=an;m<g.length;m++)((y=g[m]).reactions??(y.reactions=[])).push(t)}else!l&&g!==null&&an<g.length&&(Na(t,an),g.length=an);if(Ji()&&ln!==null&&!xn&&g!==null&&!(t.f&(ft|_n|yt)))for(m=0;m<ln.length;m++)Is(ln[m],t);if(a!==null&&a!==t){if(MA++,a.deps!==null)for(let b=0;b<n;b+=1)a.deps[b].rv=MA;if(e!==null)for(const b of e)b.rv=MA;ln!==null&&(A===null?A=ln:A.push(...ln))}return t.f&gA&&(t.f^=gA),p}catch(b){return zi(b)}finally{t.f^=pr,Wt=e,an=n,ln=A,_e=a,gn=o,ea(i),xn=c,NA=s}}function Ru(t,e){let n=e.reactions;if(n!==null){var A=Yd.call(n,t);if(A!==-1){var a=n.length-1;a===0?n=e.reactions=null:(n[A]=n[a],n.pop())}}if(n===null&&e.f&ft&&(Wt===null||!JA.call(Wt,e))){var o=e;o.f&dn&&(o.f^=dn,o.f&=~IA),lr(o),_u(o),Na(o,0)}}function Na(t,e){var n=t.deps;if(n!==null)for(var A=e;A<n.length;A++)Ru(t,n[A])}function aa(t){var e=t.f;if(!(e&In)){nt(t,bt);var n=ve,A=lo;ve=t,lo=!0;try{e&(pA|Yi)?Su(t):yr(t),bs(t);var a=Ds(t);t.teardown=typeof a=="function"?a:null,t.wv=ys;var o;qd&&uu&&t.f&yt&&t.deps}finally{lo=A,ve=n}}}function r(t){var e=t.f,n=(e&ft)!==0;if(_e!==null&&!xn){var A=ve!==null&&(ve.f&In)!==0;if(!A&&(gn===null||!JA.call(gn,t))){var a=_e.deps;if(_e.f&pr)t.rv<MA&&(t.rv=MA,Wt===null&&a!==null&&a[an]===t?an++:Wt===null?Wt=[t]:Wt.push(t));else{(_e.deps??(_e.deps=[])).push(t);var o=t.reactions;o===null?t.reactions=[_e]:JA.call(o,_e)||o.push(_e)}}}if(vA&&BA.has(t))return BA.get(t);if(n){var i=t;if(vA){var c=i.v;return(!(i.f&bt)&&i.reactions!==null||Fs(i))&&(c=hr(i)),BA.set(i,c),c}var s=(i.f&dn)===0&&!xn&&_e!==null&&(lo||(_e.f&dn)!==0),d=(i.f&_A)===0;Ma(i)&&(s&&(i.f|=dn),os(i)),s&&!d&&(rs(i),xs(i))}if(kt!=null&&kt.has(t))return kt.get(t);if(t.f&gA)throw t.v;return t.v}function xs(t){if(t.f|=dn,t.deps!==null)for(const e of t.deps)(e.reactions??(e.reactions=[])).push(t),e.f&ft&&!(e.f&dn)&&(rs(e),xs(e))}function Fs(t){if(t.v===wt)return!0;if(t.deps===null)return!1;for(const e of t.deps)if(BA.has(e)||e.f&ft&&Fs(e))return!0;return!1}function mo(t){var e=xn;try{return xn=!0,t()}finally{xn=e}}function Lu(t){if(!(typeof t!="object"||!t||t instanceof EventTarget)){if(XA in t)Ir(t);else if(!Array.isArray(t))for(let e in t){const n=t[e];typeof n=="object"&&n&&XA in n&&Ir(n)}}}function Ir(t,e=new Set){if(typeof t=="object"&&t!==null&&!(t instanceof EventTarget)&&!e.has(t)){e.add(t),t instanceof Date&&t.getTime();for(let A in t)try{Ir(t[A],e)}catch{}const n=cr(t);if(n!==Object.prototype&&n!==Array.prototype&&n!==Map.prototype&&n!==Set.prototype&&n!==Date.prototype){const A=Pi(n);for(let a in A){const o=A[a].get;if(o)try{o.call(t)}catch{}}}}}const jA=Symbol("events"),vs=new Set,Dr=new Set;function $u(t,e,n,A={}){function a(o){if(A.capture||xr.call(e,o),!o.cancelBubble)return Qr(()=>n==null?void 0:n.call(this,o))}return t.startsWith("pointer")||t.startsWith("touch")||t==="wheel"?fA(()=>{e.addEventListener(t,a,A)}):e.addEventListener(t,a,A),a}function Hu(t,e,n,A,a){var o={capture:A,passive:a},i=$u(t,e,n,o);(e===document.body||e===window||e===document||e instanceof HTMLMediaElement)&&ls(()=>{e.removeEventListener(t,i,o)})}function oa(t,e,n){(e[jA]??(e[jA]={}))[t]=n}function Pu(t){for(var e=0;e<t.length;e++)vs.add(t[e]);for(var n of Dr)n(t)}let Ms=null;function xr(t){var b,Q;var e=this,n=e.ownerDocument,A=t.type,a=((b=t.composedPath)==null?void 0:b.call(t))||[],o=a[0]||t.target;Ms=t;var i=0,c=Ms===t&&t[jA];if(c){var s=a.indexOf(c);if(s!==-1&&(e===document||e===window)){t[jA]=e;return}var d=a.indexOf(e);if(d===-1)return;s<=d&&(i=s)}if(o=a[i]||t.target,o!==e){Od(t,"currentTarget",{configurable:!0,get(){return o||n}});var u=_e,p=ve;pn(null),Rn(null);try{for(var g,l=[];o!==null;){var m=o.assignedSlot||o.parentNode||o.host||null;try{var y=(Q=o[jA])==null?void 0:Q[A];y!=null&&(!o.disabled||t.target===o)&&y.call(o,t)}catch(D){g?l.push(D):g=D}if(t.cancelBubble||m===e||m===null)break;o=m}if(g){for(let D of l)queueMicrotask(()=>{throw D});throw g}}finally{t[jA]=e,delete t.currentTarget,pn(u),Rn(p)}}}const Fr=((Nd=globalThis==null?void 0:globalThis.window)==null?void 0:Nd.trustedTypes)&&globalThis.window.trustedTypes.createPolicy("svelte-trusted-html",{createHTML:t=>t});function Uu(t){return(Fr==null?void 0:Fr.createHTML(t))??t}function Ns(t){var e=gs("template");return e.innerHTML=Uu(t.replaceAll("<!>","<!---->")),e.content}function SA(t,e){var n=ve;n.nodes===null&&(n.nodes={start:t,end:e,a:null,t:null})}function Ve(t,e){var n=(e&1)!==0,A=(e&2)!==0,a,o=!t.startsWith("<!>");return()=>{a===void 0&&(a=Ns(o?t:"<!>"+t),n||(a=An(a)));var i=A||cs?document.importNode(a,!0):a.cloneNode(!0);if(n){var c=An(i),s=i.lastChild;SA(c,s)}else SA(i,i);return i}}function qu(t,e,n="svg"){var A=!t.startsWith("<!>"),a=(e&1)!==0,o=`<${n}>${A?t:"<!>"+t}</${n}>`,i;return()=>{if(!i){var c=Ns(o),s=An(c);if(a)for(i=document.createDocumentFragment();An(s);)i.appendChild(An(s));else i=An(s)}var d=i.cloneNode(!0);if(a){var u=An(d),p=d.lastChild;SA(u,p)}else SA(d,d);return d}}function Re(t,e){return qu(t,e,"svg")}function mn(){var t=document.createDocumentFragment(),e=document.createComment(""),n=hA();return t.append(e,n),SA(e,n),t}function q(t,e){t!==null&&t.before(e)}const Yu=["touchstart","touchmove"];function Ou(t){return Yu.includes(t)}function xt(t,e){var n=e==null?"":typeof e=="object"?`${e}`:e;n!==(t.__t??(t.__t=t.nodeValue))&&(t.__t=n,t.nodeValue=`${n}`)}function Tu(t,e){return Ku(t,e)}const fo=new Map;function Ku(t,{target:e,anchor:n,props:A={},events:a,context:o,intro:i=!0,transformError:c}){xu();var s=void 0,d=Nu(()=>{var u=n??e.appendChild(hA());Bu(u,{pending:()=>{}},l=>{lA({});var m=Tt;o&&(m.c=o),a&&(A.$$events=a),s=t(l,A)||{},mA()},c);var p=new Set,g=l=>{for(var m=0;m<l.length;m++){var y=l[m];if(!p.has(y)){p.add(y);var b=Ou(y);for(const k of[e,document]){var Q=fo.get(k);Q===void 0&&(Q=new Map,fo.set(k,Q));var D=Q.get(y);D===void 0?(k.addEventListener(y,xr,{passive:b}),Q.set(y,1)):Q.set(y,D+1)}}}};return g(io(vs)),Dr.add(g),()=>{var b;for(var l of p)for(const Q of[e,document]){var m=fo.get(Q),y=m.get(l);--y==0?(Q.removeEventListener(l,xr),m.delete(l),m.size===0&&fo.delete(Q)):m.set(l,y)}Dr.delete(g),u!==n&&((b=u.parentNode)==null||b.removeChild(u))}});return vr.set(s,d),s}let vr=new WeakMap;function Wu(t,e){const n=vr.get(t);return n?(vr.delete(t),n(e)):Promise.resolve()}class js{constructor(e,n=!0){E(this,"anchor");Be(this,Nn,new Map);Be(this,Wn,new Map);Be(this,cn,new Map);Be(this,TA,new Set);Be(this,Va,!0);Be(this,Xa,e=>{if(h(this,Nn).has(e)){var n=h(this,Nn).get(e),A=h(this,Wn).get(n);if(A)kr(A),h(this,TA).delete(n);else{var a=h(this,cn).get(n);a&&(h(this,Wn).set(n,a.effect),h(this,cn).delete(n),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),A=a.effect)}for(const[o,i]of h(this,Nn)){if(h(this,Nn).delete(o),o===e)break;const c=h(this,cn).get(i);c&&(Kt(c.effect),h(this,cn).delete(i))}for(const[o,i]of h(this,Wn)){if(o===n||h(this,TA).has(o))continue;const c=()=>{if(Array.from(h(this,Nn).values()).includes(o)){var d=document.createDocumentFragment();_r(i,d),d.append(hA()),h(this,cn).set(o,{effect:i,fragment:d})}else Kt(i);h(this,TA).delete(o),h(this,Wn).delete(o)};h(this,Va)||!A?(h(this,TA).add(o),FA(i,c,!1)):c()}}});Be(this,Ko,e=>{h(this,Nn).delete(e);const n=Array.from(h(this,Nn).values());for(const[A,a]of h(this,cn))n.includes(A)||(Kt(a.effect),h(this,cn).delete(A))});this.anchor=e,me(this,Va,n)}ensure(e,n){var A=Ne,a=ps();if(n&&!h(this,Wn).has(e)&&!h(this,cn).has(e))if(a){var o=document.createDocumentFragment(),i=hA();o.append(i),h(this,cn).set(e,{effect:un(()=>n(i)),fragment:o})}else h(this,Wn).set(e,un(()=>n(this.anchor)));if(h(this,Nn).set(A,e),a){for(const[c,s]of h(this,Wn))c===e?A.unskip_effect(s):A.skip_effect(s);for(const[c,s]of h(this,cn))c===e?A.unskip_effect(s.effect):A.skip_effect(s.effect);A.oncommit(h(this,Xa)),A.ondiscard(h(this,Ko))}else h(this,Xa).call(this,A)}}Nn=new WeakMap,Wn=new WeakMap,cn=new WeakMap,TA=new WeakMap,Va=new WeakMap,Xa=new WeakMap,Ko=new WeakMap;function ra(t){Tt===null&&Xd(),CA(()=>{const e=mo(t);if(typeof e=="function")return e})}function Me(t,e,n=!1){var A=new js(t),a=n?ZA:0;function o(i,c){A.ensure(i,c)}go(()=>{var i=!1;e((c,s=0)=>{i=!0,o(s,c)}),i||o(-1,null)},a)}const Ju=Symbol("NaN");function zu(t,e,n){var A=new js(t);go(()=>{var a=e();a!==a&&(a=Ju),A.ensure(a,n)})}function Ln(t,e){return e}function Zu(t,e,n){for(var A=[],a=e.length,o,i=e.length,c=0;c<a;c++){let p=e[c];FA(p,()=>{if(o){if(o.pending.delete(p),o.done.add(p),o.pending.size===0){var g=t.outrogroups;Mr(t,io(o.done)),g.delete(o),g.size===0&&(t.outrogroups=null)}}else i-=1},!1)}if(i===0){var s=A.length===0&&n!==null;if(s){var d=n,u=d.parentNode;Fu(u),u.append(d),t.items.clear()}Mr(t,e,!s)}else o={pending:new Set(e),done:new Set},(t.outrogroups??(t.outrogroups=new Set)).add(o)}function Mr(t,e,n=!0){var A;if(t.pending.size>0){A=new Set;for(const i of t.pending.values())for(const c of i)A.add(t.items.get(c).e)}for(var a=0;a<e.length;a++){var o=e[a];if(A!=null&&A.has(o)){o.f|=Gn;const i=document.createDocumentFragment();_r(o,i)}else Kt(e[a],n)}}var Ss;function $n(t,e,n,A,a,o=null){var i=t,c=new Map,s=(e&4)!==0;if(s){var d=t;i=d.appendChild(hA())}var u=null,p=wu(()=>{var k=n();return Hi(k)?k:k==null?[]:io(k)}),g,l=new Map,m=!0;function y(k){D.effect.f&In||(D.pending.delete(k),D.fallback=u,Vu(D,g,i,e,A),u!==null&&(g.length===0?u.f&Gn?(u.f^=Gn,Sa(u,null,i)):kr(u):FA(u,()=>{u=null})))}function b(k){D.pending.delete(k)}var Q=go(()=>{g=r(p);for(var k=g.length,J=new Set,z=Ne,M=ps(),F=0;F<k;F+=1){var $=g[F],Z=A($,F),Ae=m?null:c.get(Z);Ae?(Ae.v&&Aa(Ae.v,$),Ae.i&&Aa(Ae.i,F),M&&z.unskip_effect(Ae.e)):(Ae=Xu(c,m?i:Ss??(Ss=hA()),$,Z,F,a,e,n),m||(Ae.e.f|=Gn),c.set(Z,Ae)),J.add(Z)}if(k===0&&o&&!u&&(m?u=un(()=>o(i)):(u=un(()=>o(Ss??(Ss=hA()))),u.f|=Gn)),k>J.size&&tu(),!m)if(l.set(z,J),M){for(const[ee,N]of c)J.has(ee)||z.skip_effect(N.e);z.oncommit(y),z.ondiscard(b)}else y(z);r(p)}),D={effect:Q,items:c,pending:l,outrogroups:null,fallback:u};m=!1}function ja(t){for(;t!==null&&!(t.f&kn);)t=t.next;return t}function Vu(t,e,n,A,a){var Ae,ee,N,ce,K,oe,de,fe,ue;var o=(A&8)!==0,i=e.length,c=t.items,s=ja(t.effect.first),d,u=null,p,g=[],l=[],m,y,b,Q;if(o)for(Q=0;Q<i;Q+=1)m=e[Q],y=a(m,Q),b=c.get(y).e,b.f&Gn||((ee=(Ae=b.nodes)==null?void 0:Ae.a)==null||ee.measure(),(p??(p=new Set)).add(b));for(Q=0;Q<i;Q+=1){if(m=e[Q],y=a(m,Q),b=c.get(y).e,t.outrogroups!==null)for(const Ce of t.outrogroups)Ce.pending.delete(b),Ce.done.delete(b);if(b.f&Gn)if(b.f^=Gn,b===s)Sa(b,null,n);else{var D=u?u.next:s;b===t.effect.last&&(t.effect.last=b.prev),b.prev&&(b.prev.next=b.next),b.next&&(b.next.prev=b.prev),EA(t,u,b),EA(t,b,D),Sa(b,D,n),u=b,g=[],l=[],s=ja(u.next);continue}if(b.f&tn&&(kr(b),o&&((ce=(N=b.nodes)==null?void 0:N.a)==null||ce.unfix(),(p??(p=new Set)).delete(b))),b!==s){if(d!==void 0&&d.has(b)){if(g.length<l.length){var k=l[0],J;u=k.prev;var z=g[0],M=g[g.length-1];for(J=0;J<g.length;J+=1)Sa(g[J],k,n);for(J=0;J<l.length;J+=1)d.delete(l[J]);EA(t,z.prev,M.next),EA(t,u,z),EA(t,M,k),s=k,u=M,Q-=1,g=[],l=[]}else d.delete(b),Sa(b,s,n),EA(t,b.prev,b.next),EA(t,b,u===null?t.effect.first:u.next),EA(t,u,b),u=b;continue}for(g=[],l=[];s!==null&&s!==b;)(d??(d=new Set)).add(s),l.push(s),s=ja(s.next);if(s===null)continue}b.f&Gn||g.push(b),u=b,s=ja(b.next)}if(t.outrogroups!==null){for(const Ce of t.outrogroups)Ce.pending.size===0&&(Mr(t,io(Ce.done)),(K=t.outrogroups)==null||K.delete(Ce));t.outrogroups.size===0&&(t.outrogroups=null)}if(s!==null||d!==void 0){var F=[];if(d!==void 0)for(b of d)b.f&tn||F.push(b);for(;s!==null;)!(s.f&tn)&&s!==t.fallback&&F.push(s),s=ja(s.next);var $=F.length;if($>0){var Z=A&4&&i===0?n:null;if(o){for(Q=0;Q<$;Q+=1)(de=(oe=F[Q].nodes)==null?void 0:oe.a)==null||de.measure();for(Q=0;Q<$;Q+=1)(ue=(fe=F[Q].nodes)==null?void 0:fe.a)==null||ue.fix()}Zu(t,F,Z)}}o&&fA(()=>{var Ce,B;if(p!==void 0)for(b of p)(B=(Ce=b.nodes)==null?void 0:Ce.a)==null||B.apply()})}function Xu(t,e,n,A,a,o,i,c){var s=i&1?i&16?xA(n):Iu(n,!1,!1):null,d=i&2?xA(a):null;return{v:s,i:d,e:un(()=>(o(e,s??n,d??a,c),()=>{t.delete(A)}))}}function Sa(t,e,n){if(t.nodes)for(var A=t.nodes.start,a=t.nodes.end,o=e&&!(e.f&Gn)?e.nodes.start:n;A!==null;){var i=va(A);if(o.before(A),A===a)return;A=i}}function EA(t,e,n){e===null?t.effect.first=n:e.next=n,n===null?t.effect.last=e:n.prev=e}function QA(t,e,n=!1,A=!1,a=!1,o=!1){var i=t,c="";if(n)var s=t;he(()=>{var d=ve;if(c!==(c=e()??"")){if(n){d.nodes=null,s.innerHTML=c,c!==""&&SA(An(s),s.lastChild);return}if(d.nodes!==null&&(Bs(d.nodes.start,d.nodes.end),d.nodes=null),c!==""){var u=A?Pd:a?Ud:void 0,p=gs(A?"svg":a?"math":"template",u);p.innerHTML=c;var g=A||a?p:p.content;if(SA(An(g),g.lastChild),A||a)for(;An(g);)i.before(An(g));else i.before(g)}}})}const ep=()=>performance.now(),Hn={tick:t=>requestAnimationFrame(t),now:()=>ep(),tasks:new Set};function Gs(){const t=Hn.now();Hn.tasks.forEach(e=>{e.c(t)||(Hn.tasks.delete(e),e.f())}),Hn.tasks.size!==0&&Hn.tick(Gs)}function tp(t){let e;return Hn.tasks.size===0&&Hn.tick(Gs),{promise:new Promise(n=>{Hn.tasks.add(e={c:t,f:n})}),abort(){Hn.tasks.delete(e)}}}function np(t,e,n){fs(()=>{var A=mo(()=>e(t,n==null?void 0:n())||{});if(n&&(A!=null&&A.update)){var a=!1,o={};po(()=>{var i=n();Lu(i),a&&Ki(o,i)&&(o=i,A.update(i))}),a=!0}if(A!=null&&A.destroy)return()=>A.destroy()})}const Rs=[...`
|
|
3
3
|
\r\f \v\uFEFF`];function Ap(t,e,n){var A=t==null?"":""+t;if(e&&(A=A?A+" "+e:e),n){for(var a of Object.keys(n))if(n[a])A=A?A+" "+a:a;else if(A.length)for(var o=a.length,i=0;(i=A.indexOf(a,i))>=0;){var c=i+o;(i===0||Rs.includes(A[i-1]))&&(c===A.length||Rs.includes(A[c]))?A=(i===0?"":A.substring(0,i))+A.substring(c+1):i=c}}return A===""?null:A}function Ls(t,e=!1){var n=e?" !important;":";",A="";for(var a of Object.keys(t)){var o=t[a];o!=null&&o!==""&&(A+=" "+a+": "+o+n)}return A}function Nr(t){return t[0]!=="-"||t[1]!=="-"?t.toLowerCase():t}function ap(t,e){if(e){var n="",A,a;if(Array.isArray(e)?(A=e[0],a=e[1]):A=e,t){t=String(t).replaceAll(/\s*\/\*.*?\*\/\s*/g,"").trim();var o=!1,i=0,c=!1,s=[];A&&s.push(...Object.keys(A).map(Nr)),a&&s.push(...Object.keys(a).map(Nr));var d=0,u=-1;const y=t.length;for(var p=0;p<y;p++){var g=t[p];if(c?g==="/"&&t[p-1]==="*"&&(c=!1):o?o===g&&(o=!1):g==="/"&&t[p+1]==="*"?c=!0:g==='"'||g==="'"?o=g:g==="("?i++:g===")"&&i--,!c&&o===!1&&i===0){if(g===":"&&u===-1)u=p;else if(g===";"||p===y-1){if(u!==-1){var l=Nr(t.substring(d,u).trim());if(!s.includes(l)){g!==";"&&p++;var m=t.substring(d,p).trim();n+=" "+m+";"}}d=p+1,u=-1}}}}return A&&(n+=Ls(A)),a&&(n+=Ls(a,!0)),n=n.trim(),n===""?null:n}return t==null?null:String(t)}function tA(t,e,n,A,a,o){var i=t.__className;if(i!==n||i===void 0){var c=Ap(n,A,o);c==null?t.removeAttribute("class"):e?t.className=c:t.setAttribute("class",c),t.__className=n}else if(o&&a!==o)for(var s in o){var d=!!o[s];(a==null||d!==!!a[s])&&t.classList.toggle(s,d)}return o}function jr(t,e={},n,A){for(var a in n){var o=n[a];e[a]!==o&&(n[a]==null?t.style.removeProperty(a):t.style.setProperty(a,o,A))}}function _t(t,e,n,A){var a=t.__style;if(a!==e){var o=ap(e,A);o==null?t.removeAttribute("style"):t.style.cssText=o,t.__style=e}else A&&(Array.isArray(A)?(jr(t,n==null?void 0:n[0],A[0]),jr(t,n==null?void 0:n[1],A[1],"important")):jr(t,n,A));return A}const op=Symbol("is custom element"),rp=Symbol("is html");function Y(t,e,n,A){var a=ip(t);a[e]!==(a[e]=n)&&(e==="loading"&&(t[Vd]=n),n==null?t.removeAttribute(e):typeof n!="string"&&sp(t).includes(e)?t[e]=n:t.setAttribute(e,n))}function ip(t){return t.__attributes??(t.__attributes={[op]:t.nodeName.includes("-"),[rp]:t.namespaceURI===$i})}var $s=new Map;function sp(t){var e=t.getAttribute("is")||t.nodeName,n=$s.get(e);if(n)return n;$s.set(e,n=[]);for(var A,a=t,o=Element.prototype;o!==a;){A=Pi(a);for(var i in A)A[i].set&&n.push(i);a=cr(a)}return n}function Hs(t,e){return t===e||(t==null?void 0:t[XA])===e}function Sr(t={},e,n,A){var a=Tt.r,o=ve;return fs(()=>{var i,c;return po(()=>{i=c,c=[],mo(()=>{t!==n(...c)&&(e(t,...c),i&&Hs(n(...i),t)&&e(null,...i))})}),()=>{let s=o;for(;s!==a&&s.parent!==null&&s.parent.f&ur;)s=s.parent;const d=()=>{c&&Hs(n(...c),t)&&e(null,...c)},u=s.teardown;s.teardown=()=>{d(),u==null||u()}}}),t}function Rt(t,e,n,A){var a=A,o=!0,i=()=>(o&&(o=!1,a=A),a),c;c=t[e],c===void 0&&A!==void 0&&(c=i());var s;return s=()=>{var d=t[e];return d===void 0?i():(o=!0,d)},s}const cp="5";typeof window<"u"&&((jd=window.__svelte??(window.__svelte={})).v??(jd.v=new Set)).add(cp);function Ps(t){return Object.prototype.toString.call(t)==="[object Date]"}function dp(t){return t}function up(t){return t<.5?4*t*t*t:.5*Math.pow(2*t-2,3)+1}function Gr(t,e){if(t===e||t!==t)return()=>t;const n=typeof t;if(n!==typeof e||Array.isArray(t)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(t)){const A=e.map((a,o)=>Gr(t[o],a));return a=>A.map(o=>o(a))}if(n==="object"){if(!t||!e)throw new Error("Object cannot be null");if(Ps(t)&&Ps(e)){const o=t.getTime(),c=e.getTime()-o;return s=>new Date(o+s*c)}const A=Object.keys(e),a={};return A.forEach(o=>{a[o]=Gr(t[o],e[o])}),o=>{const i={};return A.forEach(c=>{i[c]=a[c](o)}),i}}if(n==="number"){const A=e-t;return a=>t+a*A}return()=>e}let pp=(ka=class{constructor(e,n={}){Be(this,iA);Be(this,ya);Be(this,eo);Be(this,KA,null);me(this,iA,xe(e)),me(this,ya,xe(e)),me(this,eo,n)}static of(e,n){const A=new ka(e(),n);return po(()=>{A.set(e())}),A}set(e,n){var p;G(h(this,ya),e);let{delay:A=0,duration:a=400,easing:o=dp,interpolate:i=Gr}={...h(this,eo),...n};if(a===0)return(p=h(this,KA))==null||p.abort(),G(h(this,iA),e),Promise.resolve();const c=Hn.now()+A;let s,d=!1,u=h(this,KA);return me(this,KA,tp(g=>{if(g<c)return!0;if(!d){d=!0;const m=h(this,iA).v;s=i(m,e),typeof a=="function"&&(a=a(m,e)),u==null||u.abort()}const l=g-c;return l>a?(G(h(this,iA),e),!1):(G(h(this,iA),s(o(l/a))),!0)})),h(this,KA).promise}get current(){return r(h(this,iA))}get target(){return r(h(this,ya))}set target(e){this.set(e)}},iA=new WeakMap,ya=new WeakMap,eo=new WeakMap,KA=new WeakMap,ka);function Ga(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function bo(t,e){var n=Object.create(t.prototype);for(var A in e)n[A]=e[A];return n}function GA(){}var Ra=.7,Bo=1/Ra,ia="\\s*([+-]?\\d+)\\s*",La="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Pn="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",gp=/^#([0-9a-f]{3,8})$/,lp=new RegExp(`^rgb\\(${ia},${ia},${ia}\\)$`),mp=new RegExp(`^rgb\\(${Pn},${Pn},${Pn}\\)$`),fp=new RegExp(`^rgba\\(${ia},${ia},${ia},${La}\\)$`),bp=new RegExp(`^rgba\\(${Pn},${Pn},${Pn},${La}\\)$`),Bp=new RegExp(`^hsl\\(${La},${Pn},${Pn}\\)$`),hp=new RegExp(`^hsla\\(${La},${Pn},${Pn},${La}\\)$`),Us={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};Ga(GA,Rr,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:qs,formatHex:qs,formatHex8:Cp,formatHsl:Ep,formatRgb:Ys,toString:Ys});function qs(){return this.rgb().formatHex()}function Cp(){return this.rgb().formatHex8()}function Ep(){return zs(this).formatHsl()}function Ys(){return this.rgb().formatRgb()}function Rr(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=gp.exec(t))?(n=e[1].length,e=parseInt(e[1],16),n===6?Os(e):n===3?new Ft(e>>8&15|e>>4&240,e>>4&15|e&240,(e&15)<<4|e&15,1):n===8?ho(e>>24&255,e>>16&255,e>>8&255,(e&255)/255):n===4?ho(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|e&240,((e&15)<<4|e&15)/255):null):(e=lp.exec(t))?new Ft(e[1],e[2],e[3],1):(e=mp.exec(t))?new Ft(e[1]*255/100,e[2]*255/100,e[3]*255/100,1):(e=fp.exec(t))?ho(e[1],e[2],e[3],e[4]):(e=bp.exec(t))?ho(e[1]*255/100,e[2]*255/100,e[3]*255/100,e[4]):(e=Bp.exec(t))?Js(e[1],e[2]/100,e[3]/100,1):(e=hp.exec(t))?Js(e[1],e[2]/100,e[3]/100,e[4]):Us.hasOwnProperty(t)?Os(Us[t]):t==="transparent"?new Ft(NaN,NaN,NaN,0):null}function Os(t){return new Ft(t>>16&255,t>>8&255,t&255,1)}function ho(t,e,n,A){return A<=0&&(t=e=n=NaN),new Ft(t,e,n,A)}function Ts(t){return t instanceof GA||(t=Rr(t)),t?(t=t.rgb(),new Ft(t.r,t.g,t.b,t.opacity)):new Ft}function Qp(t,e,n,A){return arguments.length===1?Ts(t):new Ft(t,e,n,A??1)}function Ft(t,e,n,A){this.r=+t,this.g=+e,this.b=+n,this.opacity=+A}Ga(Ft,Qp,bo(GA,{brighter(t){return t=t==null?Bo:Math.pow(Bo,t),new Ft(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=t==null?Ra:Math.pow(Ra,t),new Ft(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Ft(RA(this.r),RA(this.g),RA(this.b),Co(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ks,formatHex:Ks,formatHex8:wp,formatRgb:Ws,toString:Ws}));function Ks(){return`#${LA(this.r)}${LA(this.g)}${LA(this.b)}`}function wp(){return`#${LA(this.r)}${LA(this.g)}${LA(this.b)}${LA((isNaN(this.opacity)?1:this.opacity)*255)}`}function Ws(){const t=Co(this.opacity);return`${t===1?"rgb(":"rgba("}${RA(this.r)}, ${RA(this.g)}, ${RA(this.b)}${t===1?")":`, ${t})`}`}function Co(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function RA(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function LA(t){return t=RA(t),(t<16?"0":"")+t.toString(16)}function Js(t,e,n,A){return A<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Fn(t,e,n,A)}function zs(t){if(t instanceof Fn)return new Fn(t.h,t.s,t.l,t.opacity);if(t instanceof GA||(t=Rr(t)),!t)return new Fn;if(t instanceof Fn)return t;t=t.rgb();var e=t.r/255,n=t.g/255,A=t.b/255,a=Math.min(e,n,A),o=Math.max(e,n,A),i=NaN,c=o-a,s=(o+a)/2;return c?(e===o?i=(n-A)/c+(n<A)*6:n===o?i=(A-e)/c+2:i=(e-n)/c+4,c/=s<.5?o+a:2-o-a,i*=60):c=s>0&&s<1?0:i,new Fn(i,c,s,t.opacity)}function yp(t,e,n,A){return arguments.length===1?zs(t):new Fn(t,e,n,A??1)}function Fn(t,e,n,A){this.h=+t,this.s=+e,this.l=+n,this.opacity=+A}Ga(Fn,yp,bo(GA,{brighter(t){return t=t==null?Bo:Math.pow(Bo,t),new Fn(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=t==null?Ra:Math.pow(Ra,t),new Fn(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+(this.h<0)*360,e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,A=n+(n<.5?n:1-n)*e,a=2*n-A;return new Ft(Lr(t>=240?t-240:t+120,a,A),Lr(t,a,A),Lr(t<120?t+240:t-120,a,A),this.opacity)},clamp(){return new Fn(Zs(this.h),Eo(this.s),Eo(this.l),Co(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Co(this.opacity);return`${t===1?"hsl(":"hsla("}${Zs(this.h)}, ${Eo(this.s)*100}%, ${Eo(this.l)*100}%${t===1?")":`, ${t})`}`}}));function Zs(t){return t=(t||0)%360,t<0?t+360:t}function Eo(t){return Math.max(0,Math.min(1,t||0))}function Lr(t,e,n){return(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)*255}const kp=Math.PI/180,_p=180/Math.PI,Qo=18,Vs=.96422,Xs=1,ec=.82521,tc=4/29,sa=6/29,nc=3*sa*sa,Ip=sa*sa*sa;function Ac(t){if(t instanceof Un)return new Un(t.l,t.a,t.b,t.opacity);if(t instanceof nA)return ac(t);t instanceof Ft||(t=Ts(t));var e=qr(t.r),n=qr(t.g),A=qr(t.b),a=Hr((.2225045*e+.7168786*n+.0606169*A)/Xs),o,i;return e===n&&n===A?o=i=a:(o=Hr((.4360747*e+.3850649*n+.1430804*A)/Vs),i=Hr((.0139322*e+.0971045*n+.7141733*A)/ec)),new Un(116*a-16,500*(o-a),200*(a-i),t.opacity)}function $r(t,e,n,A){return arguments.length===1?Ac(t):new Un(t,e,n,A??1)}function Un(t,e,n,A){this.l=+t,this.a=+e,this.b=+n,this.opacity=+A}Ga(Un,$r,bo(GA,{brighter(t){return new Un(this.l+Qo*(t??1),this.a,this.b,this.opacity)},darker(t){return new Un(this.l-Qo*(t??1),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return e=Vs*Pr(e),t=Xs*Pr(t),n=ec*Pr(n),new Ft(Ur(3.1338561*e-1.6168667*t-.4906146*n),Ur(-.9787684*e+1.9161415*t+.033454*n),Ur(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}}));function Hr(t){return t>Ip?Math.pow(t,.3333333333333333):t/nc+tc}function Pr(t){return t>sa?t*t*t:nc*(t-tc)}function Ur(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,.4166666666666667)-.055)}function qr(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function Dp(t){if(t instanceof nA)return new nA(t.h,t.c,t.l,t.opacity);if(t instanceof Un||(t=Ac(t)),t.a===0&&t.b===0)return new nA(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*_p;return new nA(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}function xp(t,e,n,A){return arguments.length===1?Dp(t):new nA(t,e,n,A??1)}function nA(t,e,n,A){this.h=+t,this.c=+e,this.l=+n,this.opacity=+A}function ac(t){if(isNaN(t.h))return new Un(t.l,0,0,t.opacity);var e=t.h*kp;return new Un(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}Ga(nA,xp,bo(GA,{brighter(t){return new nA(this.h,this.c,this.l+Qo*(t??1),this.opacity)},darker(t){return new nA(this.h,this.c,this.l-Qo*(t??1),this.opacity)},rgb(){return ac(this).rgb()}}));const Fp=t=>()=>t;function vp(t,e){return function(n){return t+n*e}}function wo(t,e){var n=e-t;return n?vp(t,n):Fp(isNaN(t)?e:t)}function Mp(t,e){var n=wo((t=$r(t)).l,(e=$r(e)).l),A=wo(t.a,e.a),a=wo(t.b,e.b),o=wo(t.opacity,e.opacity);return function(i){return t.l=n(i),t.a=A(i),t.b=a(i),t.opacity=o(i),t+""}}function Yr(t,e){if(t===e||t!==t)return()=>t;const n=typeof t;if(n!==typeof e||Array.isArray(t)!==Array.isArray(e))throw new Error("Cannot interpolate values of different type");if(Array.isArray(t)){const A=e.map((a,o)=>Yr(t[o],a));return a=>A.map(o=>o(a))}if(n==="object"){if(!t||!e)throw new Error("Object cannot be null");const A=Object.keys(e),a={};return A.forEach(o=>{a[o]=Yr(t[o],e[o])}),o=>{const i={};return A.forEach(c=>{i[c]=a[c](o)}),i}}if(n==="number"){const A=e-t;return a=>t+a*A}if(n==="string")return Mp(t,e);throw new Error(`Cannot interpolate ${n} values`)}function oc(t){return typeof t=="object"&&t!==null&&!Array.isArray(t)}class Np{constructor(e,n){Be(this,Wo);Be(this,Bn);Be(this,to);Be(this,no,xe());me(this,Bn,new pp(e,{duration:1e3,easing:up,interpolate:Yr,...n})),me(this,to,e),oc(h(this,Bn).current)&&ot(this,Wo,Ld).call(this,h(this,Bn).current)}get value(){return r(h(this,no))}set value(e){G(h(this,no),e,!0)}get current(){return h(this,Bn).current}to(e,n={}){return oc(e)?h(this,Bn).set({...h(this,Bn).current,...e},n):h(this,Bn).set(e,n)}reset(){h(this,Bn).set(h(this,to),{duration:0})}sfx(e,{volume:n=.5}={}){const A=new Audio(e);return A.volume=n,A.play(),this}}Bn=new WeakMap,to=new WeakMap,no=new WeakMap,Wo=new WeakSet,Ld=function(e){for(const n in e)Object.defineProperty(this,n,{get(){return h(this,Bn).current[n]}})};function Bt(t,e){return new Np(t,e)}const jp=Object.fromEntries([{id:"andromeeda",displayName:"Andromeeda",type:"dark",import:()=>Promise.resolve().then(()=>ab)},{id:"aurora-x",displayName:"Aurora X",type:"dark",import:()=>Promise.resolve().then(()=>rb)},{id:"ayu-dark",displayName:"Ayu Dark",type:"dark",import:()=>Promise.resolve().then(()=>sb)},{id:"catppuccin-frappe",displayName:"Catppuccin Frappé",type:"dark",import:()=>Promise.resolve().then(()=>db)},{id:"catppuccin-latte",displayName:"Catppuccin Latte",type:"light",import:()=>Promise.resolve().then(()=>pb)},{id:"catppuccin-macchiato",displayName:"Catppuccin Macchiato",type:"dark",import:()=>Promise.resolve().then(()=>lb)},{id:"catppuccin-mocha",displayName:"Catppuccin Mocha",type:"dark",import:()=>Promise.resolve().then(()=>fb)},{id:"dark-plus",displayName:"Dark Plus",type:"dark",import:()=>Promise.resolve().then(()=>Bb)},{id:"dracula",displayName:"Dracula Theme",type:"dark",import:()=>Promise.resolve().then(()=>Cb)},{id:"dracula-soft",displayName:"Dracula Theme Soft",type:"dark",import:()=>Promise.resolve().then(()=>Qb)},{id:"everforest-dark",displayName:"Everforest Dark",type:"dark",import:()=>Promise.resolve().then(()=>yb)},{id:"everforest-light",displayName:"Everforest Light",type:"light",import:()=>Promise.resolve().then(()=>_b)},{id:"github-dark",displayName:"GitHub Dark",type:"dark",import:()=>Promise.resolve().then(()=>Db)},{id:"github-dark-default",displayName:"GitHub Dark Default",type:"dark",import:()=>Promise.resolve().then(()=>Fb)},{id:"github-dark-dimmed",displayName:"GitHub Dark Dimmed",type:"dark",import:()=>Promise.resolve().then(()=>Mb)},{id:"github-dark-high-contrast",displayName:"GitHub Dark High Contrast",type:"dark",import:()=>Promise.resolve().then(()=>jb)},{id:"github-light",displayName:"GitHub Light",type:"light",import:()=>Promise.resolve().then(()=>Gb)},{id:"github-light-default",displayName:"GitHub Light Default",type:"light",import:()=>Promise.resolve().then(()=>Lb)},{id:"github-light-high-contrast",displayName:"GitHub Light High Contrast",type:"light",import:()=>Promise.resolve().then(()=>Hb)},{id:"houston",displayName:"Houston",type:"dark",import:()=>Promise.resolve().then(()=>Ub)},{id:"kanagawa-dragon",displayName:"Kanagawa Dragon",type:"dark",import:()=>Promise.resolve().then(()=>Yb)},{id:"kanagawa-lotus",displayName:"Kanagawa Lotus",type:"light",import:()=>Promise.resolve().then(()=>Tb)},{id:"kanagawa-wave",displayName:"Kanagawa Wave",type:"dark",import:()=>Promise.resolve().then(()=>Wb)},{id:"laserwave",displayName:"LaserWave",type:"dark",import:()=>Promise.resolve().then(()=>zb)},{id:"light-plus",displayName:"Light Plus",type:"light",import:()=>Promise.resolve().then(()=>Vb)},{id:"material-theme",displayName:"Material Theme",type:"dark",import:()=>Promise.resolve().then(()=>eB)},{id:"material-theme-darker",displayName:"Material Theme Darker",type:"dark",import:()=>Promise.resolve().then(()=>nB)},{id:"material-theme-lighter",displayName:"Material Theme Lighter",type:"light",import:()=>Promise.resolve().then(()=>aB)},{id:"material-theme-ocean",displayName:"Material Theme Ocean",type:"dark",import:()=>Promise.resolve().then(()=>rB)},{id:"material-theme-palenight",displayName:"Material Theme Palenight",type:"dark",import:()=>Promise.resolve().then(()=>sB)},{id:"min-dark",displayName:"Min Dark",type:"dark",import:()=>Promise.resolve().then(()=>dB)},{id:"min-light",displayName:"Min Light",type:"light",import:()=>Promise.resolve().then(()=>pB)},{id:"monokai",displayName:"Monokai",type:"dark",import:()=>Promise.resolve().then(()=>lB)},{id:"night-owl",displayName:"Night Owl",type:"dark",import:()=>Promise.resolve().then(()=>fB)},{id:"nord",displayName:"Nord",type:"dark",import:()=>Promise.resolve().then(()=>BB)},{id:"one-dark-pro",displayName:"One Dark Pro",type:"dark",import:()=>Promise.resolve().then(()=>CB)},{id:"one-light",displayName:"One Light",type:"light",import:()=>Promise.resolve().then(()=>QB)},{id:"plastic",displayName:"Plastic",type:"dark",import:()=>Promise.resolve().then(()=>yB)},{id:"poimandres",displayName:"Poimandres",type:"dark",import:()=>Promise.resolve().then(()=>_B)},{id:"red",displayName:"Red",type:"dark",import:()=>Promise.resolve().then(()=>DB)},{id:"rose-pine",displayName:"Rosé Pine",type:"dark",import:()=>Promise.resolve().then(()=>FB)},{id:"rose-pine-dawn",displayName:"Rosé Pine Dawn",type:"light",import:()=>Promise.resolve().then(()=>MB)},{id:"rose-pine-moon",displayName:"Rosé Pine Moon",type:"dark",import:()=>Promise.resolve().then(()=>jB)},{id:"slack-dark",displayName:"Slack Dark",type:"dark",import:()=>Promise.resolve().then(()=>GB)},{id:"slack-ochin",displayName:"Slack Ochin",type:"light",import:()=>Promise.resolve().then(()=>LB)},{id:"snazzy-light",displayName:"Snazzy Light",type:"light",import:()=>Promise.resolve().then(()=>HB)},{id:"solarized-dark",displayName:"Solarized Dark",type:"dark",import:()=>Promise.resolve().then(()=>UB)},{id:"solarized-light",displayName:"Solarized Light",type:"light",import:()=>Promise.resolve().then(()=>YB)},{id:"synthwave-84",displayName:"Synthwave '84",type:"dark",import:()=>Promise.resolve().then(()=>TB)},{id:"tokyo-night",displayName:"Tokyo Night",type:"dark",import:()=>Promise.resolve().then(()=>WB)},{id:"vesper",displayName:"Vesper",type:"dark",import:()=>Promise.resolve().then(()=>zB)},{id:"vitesse-black",displayName:"Vitesse Black",type:"dark",import:()=>Promise.resolve().then(()=>VB)},{id:"vitesse-dark",displayName:"Vitesse Dark",type:"dark",import:()=>Promise.resolve().then(()=>eh)},{id:"vitesse-light",displayName:"Vitesse Light",type:"light",import:()=>Promise.resolve().then(()=>nh)}].map(t=>[t.id,t.import]));let AA=class extends Error{constructor(e){super(e),this.name="ShikiError"}},Or=class extends Error{constructor(e){super(e),this.name="ShikiError"}};function Sp(){return 2147483648}function Gp(){return typeof performance<"u"?performance.now():Date.now()}const Rp=(t,e)=>t+(e-t%e)%e;async function Lp(t){let e,n;const A={};function a(l){n=l,A.HEAPU8=new Uint8Array(l),A.HEAPU32=new Uint32Array(l)}function o(l,m,y){A.HEAPU8.copyWithin(l,m,m+y)}function i(l){try{return e.grow(l-n.byteLength+65535>>>16),a(e.buffer),1}catch{}}function c(l){const m=A.HEAPU8.length;l=l>>>0;const y=Sp();if(l>y)return!1;for(let b=1;b<=4;b*=2){let Q=m*(1+.2/b);Q=Math.min(Q,l+100663296);const D=Math.min(y,Rp(Math.max(l,Q),65536));if(i(D))return!0}return!1}const s=typeof TextDecoder<"u"?new TextDecoder("utf8"):void 0;function d(l,m,y=1024){const b=m+y;let Q=m;for(;l[Q]&&!(Q>=b);)++Q;if(Q-m>16&&l.buffer&&s)return s.decode(l.subarray(m,Q));let D="";for(;m<Q;){let k=l[m++];if(!(k&128)){D+=String.fromCharCode(k);continue}const J=l[m++]&63;if((k&224)===192){D+=String.fromCharCode((k&31)<<6|J);continue}const z=l[m++]&63;if((k&240)===224?k=(k&15)<<12|J<<6|z:k=(k&7)<<18|J<<12|z<<6|l[m++]&63,k<65536)D+=String.fromCharCode(k);else{const M=k-65536;D+=String.fromCharCode(55296|M>>10,56320|M&1023)}}return D}function u(l,m){return l?d(A.HEAPU8,l,m):""}const p={emscripten_get_now:Gp,emscripten_memcpy_big:o,emscripten_resize_heap:c,fd_write:()=>0};async function g(){const m=await t({env:p,wasi_snapshot_preview1:p});e=m.memory,a(e.buffer),Object.assign(A,m),A.UTF8ToString=u}return await g(),A}var $p=Object.defineProperty,Hp=(t,e,n)=>e in t?$p(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,pt=(t,e,n)=>(Hp(t,typeof e!="symbol"?e+"":e,n),n);let ht=null;function Pp(t){throw new Or(t.UTF8ToString(t.getLastOnigError()))}class yo{constructor(e){pt(this,"utf16Length"),pt(this,"utf8Length"),pt(this,"utf16Value"),pt(this,"utf8Value"),pt(this,"utf16OffsetToUtf8"),pt(this,"utf8OffsetToUtf16");const n=e.length,A=yo._utf8ByteLength(e),a=A!==n,o=a?new Uint32Array(n+1):null;a&&(o[n]=A);const i=a?new Uint32Array(A+1):null;a&&(i[A]=n);const c=new Uint8Array(A);let s=0;for(let d=0;d<n;d++){const u=e.charCodeAt(d);let p=u,g=!1;if(u>=55296&&u<=56319&&d+1<n){const l=e.charCodeAt(d+1);l>=56320&&l<=57343&&(p=(u-55296<<10)+65536|l-56320,g=!0)}a&&(o[d]=s,g&&(o[d+1]=s),p<=127?i[s+0]=d:p<=2047?(i[s+0]=d,i[s+1]=d):p<=65535?(i[s+0]=d,i[s+1]=d,i[s+2]=d):(i[s+0]=d,i[s+1]=d,i[s+2]=d,i[s+3]=d)),p<=127?c[s++]=p:p<=2047?(c[s++]=192|(p&1984)>>>6,c[s++]=128|(p&63)>>>0):p<=65535?(c[s++]=224|(p&61440)>>>12,c[s++]=128|(p&4032)>>>6,c[s++]=128|(p&63)>>>0):(c[s++]=240|(p&1835008)>>>18,c[s++]=128|(p&258048)>>>12,c[s++]=128|(p&4032)>>>6,c[s++]=128|(p&63)>>>0),g&&d++}this.utf16Length=n,this.utf8Length=A,this.utf16Value=e,this.utf8Value=c,this.utf16OffsetToUtf8=o,this.utf8OffsetToUtf16=i}static _utf8ByteLength(e){let n=0;for(let A=0,a=e.length;A<a;A++){const o=e.charCodeAt(A);let i=o,c=!1;if(o>=55296&&o<=56319&&A+1<a){const s=e.charCodeAt(A+1);s>=56320&&s<=57343&&(i=(o-55296<<10)+65536|s-56320,c=!0)}i<=127?n+=1:i<=2047?n+=2:i<=65535?n+=3:n+=4,c&&A++}return n}createString(e){const n=e.omalloc(this.utf8Length);return e.HEAPU8.set(this.utf8Value,n),n}}const qn=class{constructor(t){if(pt(this,"id",++qn.LAST_ID),pt(this,"_onigBinding"),pt(this,"content"),pt(this,"utf16Length"),pt(this,"utf8Length"),pt(this,"utf16OffsetToUtf8"),pt(this,"utf8OffsetToUtf16"),pt(this,"ptr"),!ht)throw new Or("Must invoke loadWasm first.");this._onigBinding=ht,this.content=t;const e=new yo(t);this.utf16Length=e.utf16Length,this.utf8Length=e.utf8Length,this.utf16OffsetToUtf8=e.utf16OffsetToUtf8,this.utf8OffsetToUtf16=e.utf8OffsetToUtf16,this.utf8Length<1e4&&!qn._sharedPtrInUse?(qn._sharedPtr||(qn._sharedPtr=ht.omalloc(1e4)),qn._sharedPtrInUse=!0,ht.HEAPU8.set(e.utf8Value,qn._sharedPtr),this.ptr=qn._sharedPtr):this.ptr=e.createString(ht)}convertUtf8OffsetToUtf16(t){return this.utf8OffsetToUtf16?t<0?0:t>this.utf8Length?this.utf16Length:this.utf8OffsetToUtf16[t]:t}convertUtf16OffsetToUtf8(t){return this.utf16OffsetToUtf8?t<0?0:t>this.utf16Length?this.utf8Length:this.utf16OffsetToUtf8[t]:t}dispose(){this.ptr===qn._sharedPtr?qn._sharedPtrInUse=!1:this._onigBinding.ofree(this.ptr)}};let $a=qn;pt($a,"LAST_ID",0),pt($a,"_sharedPtr",0),pt($a,"_sharedPtrInUse",!1);class Up{constructor(e){if(pt(this,"_onigBinding"),pt(this,"_ptr"),!ht)throw new Or("Must invoke loadWasm first.");const n=[],A=[];for(let c=0,s=e.length;c<s;c++){const d=new yo(e[c]);n[c]=d.createString(ht),A[c]=d.utf8Length}const a=ht.omalloc(4*e.length);ht.HEAPU32.set(n,a/4);const o=ht.omalloc(4*e.length);ht.HEAPU32.set(A,o/4);const i=ht.createOnigScanner(a,o,e.length);for(let c=0,s=e.length;c<s;c++)ht.ofree(n[c]);ht.ofree(o),ht.ofree(a),i===0&&Pp(ht),this._onigBinding=ht,this._ptr=i}dispose(){this._onigBinding.freeOnigScanner(this._ptr)}findNextMatchSync(e,n,A){let a=0;if(typeof A=="number"&&(a=A),typeof e=="string"){e=new $a(e);const o=this._findNextMatchSync(e,n,!1,a);return e.dispose(),o}return this._findNextMatchSync(e,n,!1,a)}_findNextMatchSync(e,n,A,a){const o=this._onigBinding,i=o.findNextOnigScannerMatch(this._ptr,e.id,e.ptr,e.utf8Length,e.convertUtf16OffsetToUtf8(n),a);if(i===0)return null;const c=o.HEAPU32;let s=i/4;const d=c[s++],u=c[s++],p=[];for(let g=0;g<u;g++){const l=e.convertUtf8OffsetToUtf16(c[s++]),m=e.convertUtf8OffsetToUtf16(c[s++]);p[g]={start:l,end:m,length:m-l}}return{index:d,captureIndices:p}}}function qp(t){return typeof t.instantiator=="function"}function Yp(t){return typeof t.default=="function"}function Op(t){return typeof t.data<"u"}function Tp(t){return typeof Response<"u"&&t instanceof Response}function Kp(t){var e;return typeof ArrayBuffer<"u"&&(t instanceof ArrayBuffer||ArrayBuffer.isView(t))||typeof Buffer<"u"&&((e=Buffer.isBuffer)==null?void 0:e.call(Buffer,t))||typeof SharedArrayBuffer<"u"&&t instanceof SharedArrayBuffer||typeof Uint32Array<"u"&&t instanceof Uint32Array}let ko;function Wp(t){if(ko)return ko;async function e(){ht=await Lp(async n=>{let A=t;return A=await A,typeof A=="function"&&(A=await A(n)),typeof A=="function"&&(A=await A(n)),qp(A)?A=await A.instantiator(n):Yp(A)?A=await A.default(n):(Op(A)&&(A=A.data),Tp(A)?typeof WebAssembly.instantiateStreaming=="function"?A=await Jp(A)(n):A=await zp(A)(n):Kp(A)?A=await Tr(A)(n):A instanceof WebAssembly.Module?A=await Tr(A)(n):"default"in A&&A.default instanceof WebAssembly.Module&&(A=await Tr(A.default)(n))),"instance"in A&&(A=A.instance),"exports"in A&&(A=A.exports),A})}return ko=e(),ko}function Tr(t){return e=>WebAssembly.instantiate(t,e)}function Jp(t){return e=>WebAssembly.instantiateStreaming(t,e)}function zp(t){return async e=>{const n=await t.arrayBuffer();return WebAssembly.instantiate(n,e)}}let Zp;function Vp(){return Zp}async function rc(t){return t&&await Wp(t),{createScanner(e){return new Up(e.map(n=>typeof n=="string"?n:n.source))},createString(e){return new $a(e)}}}function Xp(t){return Kr(t)}function Kr(t){return Array.isArray(t)?eg(t):t instanceof RegExp?t:typeof t=="object"?tg(t):t}function eg(t){let e=[];for(let n=0,A=t.length;n<A;n++)e[n]=Kr(t[n]);return e}function tg(t){let e={};for(let n in t)e[n]=Kr(t[n]);return e}function ic(t,...e){return e.forEach(n=>{for(let A in n)t[A]=n[A]}),t}function sc(t){const e=~t.lastIndexOf("/")||~t.lastIndexOf("\\");return e===0?t:~e===t.length-1?sc(t.substring(0,t.length-1)):t.substr(~e+1)}var Wr=/\$(\d+)|\${(\d+):\/(downcase|upcase)}/g,_o=class{static hasCaptures(t){return t===null?!1:(Wr.lastIndex=0,Wr.test(t))}static replaceCaptures(t,e,n){return t.replace(Wr,(A,a,o,i)=>{let c=n[parseInt(a||o,10)];if(c){let s=e.substring(c.start,c.end);for(;s[0]===".";)s=s.substring(1);switch(i){case"downcase":return s.toLowerCase();case"upcase":return s.toUpperCase();default:return s}}else return A})}};function cc(t,e){return t<e?-1:t>e?1:0}function dc(t,e){if(t===null&&e===null)return 0;if(!t)return-1;if(!e)return 1;let n=t.length,A=e.length;if(n===A){for(let a=0;a<n;a++){let o=cc(t[a],e[a]);if(o!==0)return o}return 0}return n-A}function uc(t){return!!(/^#[0-9a-f]{6}$/i.test(t)||/^#[0-9a-f]{8}$/i.test(t)||/^#[0-9a-f]{3}$/i.test(t)||/^#[0-9a-f]{4}$/i.test(t))}function pc(t){return t.replace(/[\-\\\{\}\*\+\?\|\^\$\.\,\[\]\(\)\#\s]/g,"\\$&")}var gc=class{constructor(t){E(this,"cache",new Map);this.fn=t}get(t){if(this.cache.has(t))return this.cache.get(t);const e=this.fn(t);return this.cache.set(t,e),e}},Io=class{constructor(t,e,n){E(this,"_cachedMatchRoot",new gc(t=>this._root.match(t)));this._colorMap=t,this._defaults=e,this._root=n}static createFromRawTheme(t,e){return this.createFromParsedTheme(ag(t),e)}static createFromParsedTheme(t,e){return rg(t,e)}getColorMap(){return this._colorMap.getColorMap()}getDefaults(){return this._defaults}match(t){if(t===null)return this._defaults;const e=t.scopeName,A=this._cachedMatchRoot.get(e).find(a=>ng(t.parent,a.parentScopes));return A?new lc(A.fontStyle,A.foreground,A.background):null}},Jr=class ir{constructor(e,n){this.parent=e,this.scopeName=n}static push(e,n){for(const A of n)e=new ir(e,A);return e}static from(...e){let n=null;for(let A=0;A<e.length;A++)n=new ir(n,e[A]);return n}push(e){return new ir(this,e)}getSegments(){let e=this;const n=[];for(;e;)n.push(e.scopeName),e=e.parent;return n.reverse(),n}toString(){return this.getSegments().join(" ")}extends(e){return this===e?!0:this.parent===null?!1:this.parent.extends(e)}getExtensionIfDefined(e){const n=[];let A=this;for(;A&&A!==e;)n.push(A.scopeName),A=A.parent;return A===e?n.reverse():void 0}};function ng(t,e){if(e.length===0)return!0;for(let n=0;n<e.length;n++){let A=e[n],a=!1;if(A===">"){if(n===e.length-1)return!1;A=e[++n],a=!0}for(;t&&!Ag(t.scopeName,A);){if(a)return!1;t=t.parent}if(!t)return!1;t=t.parent}return!0}function Ag(t,e){return e===t||t.startsWith(e)&&t[e.length]==="."}var lc=class{constructor(t,e,n){this.fontStyle=t,this.foregroundId=e,this.backgroundId=n}};function ag(t){if(!t)return[];if(!t.settings||!Array.isArray(t.settings))return[];let e=t.settings,n=[],A=0;for(let a=0,o=e.length;a<o;a++){let i=e[a];if(!i.settings)continue;let c;if(typeof i.scope=="string"){let p=i.scope;p=p.replace(/^[,]+/,""),p=p.replace(/[,]+$/,""),c=p.split(",")}else Array.isArray(i.scope)?c=i.scope:c=[""];let s=-1;if(typeof i.settings.fontStyle=="string"){s=0;let p=i.settings.fontStyle.split(" ");for(let g=0,l=p.length;g<l;g++)switch(p[g]){case"italic":s=s|1;break;case"bold":s=s|2;break;case"underline":s=s|4;break;case"strikethrough":s=s|8;break}}let d=null;typeof i.settings.foreground=="string"&&uc(i.settings.foreground)&&(d=i.settings.foreground);let u=null;typeof i.settings.background=="string"&&uc(i.settings.background)&&(u=i.settings.background);for(let p=0,g=c.length;p<g;p++){let m=c[p].trim().split(" "),y=m[m.length-1],b=null;m.length>1&&(b=m.slice(0,m.length-1),b.reverse()),n[A++]=new og(y,b,a,s,d,u)}}return n}var og=class{constructor(t,e,n,A,a,o){this.scope=t,this.parentScopes=e,this.index=n,this.fontStyle=A,this.foreground=a,this.background=o}},aA=(t=>(t[t.NotSet=-1]="NotSet",t[t.None=0]="None",t[t.Italic=1]="Italic",t[t.Bold=2]="Bold",t[t.Underline=4]="Underline",t[t.Strikethrough=8]="Strikethrough",t))(aA||{});function rg(t,e){t.sort((s,d)=>{let u=cc(s.scope,d.scope);return u!==0||(u=dc(s.parentScopes,d.parentScopes),u!==0)?u:s.index-d.index});let n=0,A="#000000",a="#ffffff";for(;t.length>=1&&t[0].scope==="";){let s=t.shift();s.fontStyle!==-1&&(n=s.fontStyle),s.foreground!==null&&(A=s.foreground),s.background!==null&&(a=s.background)}let o=new ig(e),i=new lc(n,o.getId(A),o.getId(a)),c=new cg(new zr(0,null,-1,0,0),[]);for(let s=0,d=t.length;s<d;s++){let u=t[s];c.insert(0,u.scope,u.parentScopes,u.fontStyle,o.getId(u.foreground),o.getId(u.background))}return new Io(o,i,c)}var ig=class{constructor(t){E(this,"_isFrozen");E(this,"_lastColorId");E(this,"_id2color");E(this,"_color2id");if(this._lastColorId=0,this._id2color=[],this._color2id=Object.create(null),Array.isArray(t)){this._isFrozen=!0;for(let e=0,n=t.length;e<n;e++)this._color2id[t[e]]=e,this._id2color[e]=t[e]}else this._isFrozen=!1}getId(t){if(t===null)return 0;t=t.toUpperCase();let e=this._color2id[t];if(e)return e;if(this._isFrozen)throw new Error(`Missing color in color map - ${t}`);return e=++this._lastColorId,this._color2id[t]=e,this._id2color[e]=t,e}getColorMap(){return this._id2color.slice(0)}},sg=Object.freeze([]),zr=class $d{constructor(e,n,A,a,o){E(this,"scopeDepth");E(this,"parentScopes");E(this,"fontStyle");E(this,"foreground");E(this,"background");this.scopeDepth=e,this.parentScopes=n||sg,this.fontStyle=A,this.foreground=a,this.background=o}clone(){return new $d(this.scopeDepth,this.parentScopes,this.fontStyle,this.foreground,this.background)}static cloneArr(e){let n=[];for(let A=0,a=e.length;A<a;A++)n[A]=e[A].clone();return n}acceptOverwrite(e,n,A,a){this.scopeDepth>e?console.log("how did this happen?"):this.scopeDepth=e,n!==-1&&(this.fontStyle=n),A!==0&&(this.foreground=A),a!==0&&(this.background=a)}},cg=class Li{constructor(e,n=[],A={}){E(this,"_rulesWithParentScopes");this._mainRule=e,this._children=A,this._rulesWithParentScopes=n}static _cmpBySpecificity(e,n){if(e.scopeDepth!==n.scopeDepth)return n.scopeDepth-e.scopeDepth;let A=0,a=0;for(;e.parentScopes[A]===">"&&A++,n.parentScopes[a]===">"&&a++,!(A>=e.parentScopes.length||a>=n.parentScopes.length);){const o=n.parentScopes[a].length-e.parentScopes[A].length;if(o!==0)return o;A++,a++}return n.parentScopes.length-e.parentScopes.length}match(e){if(e!==""){let A=e.indexOf("."),a,o;if(A===-1?(a=e,o=""):(a=e.substring(0,A),o=e.substring(A+1)),this._children.hasOwnProperty(a))return this._children[a].match(o)}const n=this._rulesWithParentScopes.concat(this._mainRule);return n.sort(Li._cmpBySpecificity),n}insert(e,n,A,a,o,i){if(n===""){this._doInsertHere(e,A,a,o,i);return}let c=n.indexOf("."),s,d;c===-1?(s=n,d=""):(s=n.substring(0,c),d=n.substring(c+1));let u;this._children.hasOwnProperty(s)?u=this._children[s]:(u=new Li(this._mainRule.clone(),zr.cloneArr(this._rulesWithParentScopes)),this._children[s]=u),u.insert(e+1,d,A,a,o,i)}_doInsertHere(e,n,A,a,o){if(n===null){this._mainRule.acceptOverwrite(e,A,a,o);return}for(let i=0,c=this._rulesWithParentScopes.length;i<c;i++){let s=this._rulesWithParentScopes[i];if(dc(s.parentScopes,n)===0){s.acceptOverwrite(e,A,a,o);return}}A===-1&&(A=this._mainRule.fontStyle),a===0&&(a=this._mainRule.foreground),o===0&&(o=this._mainRule.background),this._rulesWithParentScopes.push(new zr(e,n,A,a,o))}},ca=class yn{static toBinaryStr(e){return e.toString(2).padStart(32,"0")}static print(e){const n=yn.getLanguageId(e),A=yn.getTokenType(e),a=yn.getFontStyle(e),o=yn.getForeground(e),i=yn.getBackground(e);console.log({languageId:n,tokenType:A,fontStyle:a,foreground:o,background:i})}static getLanguageId(e){return(e&255)>>>0}static getTokenType(e){return(e&768)>>>8}static containsBalancedBrackets(e){return(e&1024)!==0}static getFontStyle(e){return(e&30720)>>>11}static getForeground(e){return(e&16744448)>>>15}static getBackground(e){return(e&4278190080)>>>24}static set(e,n,A,a,o,i,c){let s=yn.getLanguageId(e),d=yn.getTokenType(e),u=yn.containsBalancedBrackets(e)?1:0,p=yn.getFontStyle(e),g=yn.getForeground(e),l=yn.getBackground(e);return n!==0&&(s=n),A!==8&&(d=A),a!==null&&(u=a?1:0),o!==-1&&(p=o),i!==0&&(g=i),c!==0&&(l=c),(s<<0|d<<8|u<<10|p<<11|g<<15|l<<24)>>>0}};function YE(t){return t}function OE(t){return t}function Do(t,e){const n=[],A=dg(t);let a=A.next();for(;a!==null;){let s=0;if(a.length===2&&a.charAt(1)===":"){switch(a.charAt(0)){case"R":s=1;break;case"L":s=-1;break;default:console.log(`Unknown priority ${a} in scope selector`)}a=A.next()}let d=i();if(n.push({matcher:d,priority:s}),a!==",")break;a=A.next()}return n;function o(){if(a==="-"){a=A.next();const s=o();return d=>!!s&&!s(d)}if(a==="("){a=A.next();const s=c();return a===")"&&(a=A.next()),s}if(mc(a)){const s=[];do s.push(a),a=A.next();while(mc(a));return d=>e(s,d)}return null}function i(){const s=[];let d=o();for(;d;)s.push(d),d=o();return u=>s.every(p=>p(u))}function c(){const s=[];let d=i();for(;d&&(s.push(d),a==="|"||a===",");){do a=A.next();while(a==="|"||a===",");d=i()}return u=>s.some(p=>p(u))}}function mc(t){return!!t&&!!t.match(/[\w\.:]+/)}function dg(t){let e=/([LR]:|[\w\.:][\w\.:\-]*|[\,\|\-\(\)])/g,n=e.exec(t);return{next:()=>{if(!n)return null;const A=n[0];return n=e.exec(t),A}}}function fc(t){typeof t.dispose=="function"&&t.dispose()}var Ha=class{constructor(t){this.scopeName=t}toKey(){return this.scopeName}},ug=class{constructor(t,e){this.scopeName=t,this.ruleName=e}toKey(){return`${this.scopeName}#${this.ruleName}`}},pg=class{constructor(){E(this,"_references",[]);E(this,"_seenReferenceKeys",new Set);E(this,"visitedRule",new Set)}get references(){return this._references}add(t){const e=t.toKey();this._seenReferenceKeys.has(e)||(this._seenReferenceKeys.add(e),this._references.push(t))}},gg=class{constructor(t,e){E(this,"seenFullScopeRequests",new Set);E(this,"seenPartialScopeRequests",new Set);E(this,"Q");this.repo=t,this.initialScopeName=e,this.seenFullScopeRequests.add(this.initialScopeName),this.Q=[new Ha(this.initialScopeName)]}processQueue(){const t=this.Q;this.Q=[];const e=new pg;for(const n of t)lg(n,this.initialScopeName,this.repo,e);for(const n of e.references)if(n instanceof Ha){if(this.seenFullScopeRequests.has(n.scopeName))continue;this.seenFullScopeRequests.add(n.scopeName),this.Q.push(n)}else{if(this.seenFullScopeRequests.has(n.scopeName)||this.seenPartialScopeRequests.has(n.toKey()))continue;this.seenPartialScopeRequests.add(n.toKey()),this.Q.push(n)}}};function lg(t,e,n,A){const a=n.lookup(t.scopeName);if(!a){if(t.scopeName===e)throw new Error(`No grammar provided for <${e}>`);return}const o=n.lookup(e);t instanceof Ha?xo({baseGrammar:o,selfGrammar:a},A):Zr(t.ruleName,{baseGrammar:o,selfGrammar:a,repository:a.repository},A);const i=n.injections(t.scopeName);if(i)for(const c of i)A.add(new Ha(c))}function Zr(t,e,n){if(e.repository&&e.repository[t]){const A=e.repository[t];Fo([A],e,n)}}function xo(t,e){t.selfGrammar.patterns&&Array.isArray(t.selfGrammar.patterns)&&Fo(t.selfGrammar.patterns,{...t,repository:t.selfGrammar.repository},e),t.selfGrammar.injections&&Fo(Object.values(t.selfGrammar.injections),{...t,repository:t.selfGrammar.repository},e)}function Fo(t,e,n){for(const A of t){if(n.visitedRule.has(A))continue;n.visitedRule.add(A);const a=A.repository?ic({},e.repository,A.repository):e.repository;Array.isArray(A.patterns)&&Fo(A.patterns,{...e,repository:a},n);const o=A.include;if(!o)continue;const i=bc(o);switch(i.kind){case 0:xo({...e,selfGrammar:e.baseGrammar},n);break;case 1:xo(e,n);break;case 2:Zr(i.ruleName,{...e,repository:a},n);break;case 3:case 4:const c=i.scopeName===e.selfGrammar.scopeName?e.selfGrammar:i.scopeName===e.baseGrammar.scopeName?e.baseGrammar:void 0;if(c){const s={baseGrammar:e.baseGrammar,selfGrammar:c,repository:a};i.kind===4?Zr(i.ruleName,s,n):xo(s,n)}else i.kind===4?n.add(new ug(i.scopeName,i.ruleName)):n.add(new Ha(i.scopeName));break}}}var mg=class{constructor(){E(this,"kind",0)}},fg=class{constructor(){E(this,"kind",1)}},bg=class{constructor(t){E(this,"kind",2);this.ruleName=t}},Bg=class{constructor(t){E(this,"kind",3);this.scopeName=t}},hg=class{constructor(t,e){E(this,"kind",4);this.scopeName=t,this.ruleName=e}};function bc(t){if(t==="$base")return new mg;if(t==="$self")return new fg;const e=t.indexOf("#");if(e===-1)return new Bg(t);if(e===0)return new bg(t.substring(1));{const n=t.substring(0,e),A=t.substring(e+1);return new hg(n,A)}}var Cg=/\\(\d+)/,Bc=/\\(\d+)/g,Eg=-1,hc=-2;function TE(t){return t}function KE(t){return t}var Pa=class{constructor(t,e,n,A){E(this,"$location");E(this,"id");E(this,"_nameIsCapturing");E(this,"_name");E(this,"_contentNameIsCapturing");E(this,"_contentName");this.$location=t,this.id=e,this._name=n||null,this._nameIsCapturing=_o.hasCaptures(this._name),this._contentName=A||null,this._contentNameIsCapturing=_o.hasCaptures(this._contentName)}get debugName(){const t=this.$location?`${sc(this.$location.filename)}:${this.$location.line}`:"unknown";return`${this.constructor.name}#${this.id} @ ${t}`}getName(t,e){return!this._nameIsCapturing||this._name===null||t===null||e===null?this._name:_o.replaceCaptures(this._name,t,e)}getContentName(t,e){return!this._contentNameIsCapturing||this._contentName===null?this._contentName:_o.replaceCaptures(this._contentName,t,e)}},Qg=class extends Pa{constructor(e,n,A,a,o){super(e,n,A,a);E(this,"retokenizeCapturedWithRuleId");this.retokenizeCapturedWithRuleId=o}dispose(){}collectPatterns(e,n){throw new Error("Not supported!")}compile(e,n){throw new Error("Not supported!")}compileAG(e,n,A,a){throw new Error("Not supported!")}},wg=class extends Pa{constructor(e,n,A,a,o){super(e,n,A,null);E(this,"_match");E(this,"captures");E(this,"_cachedCompiledPatterns");this._match=new Ua(a,this.id),this.captures=o,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugMatchRegExp(){return`${this._match.source}`}collectPatterns(e,n){n.push(this._match)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,A,a){return this._getCachedCompiledPatterns(e).compileAG(e,A,a)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new qa,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Cc=class extends Pa{constructor(e,n,A,a,o){super(e,n,A,a);E(this,"hasMissingPatterns");E(this,"patterns");E(this,"_cachedCompiledPatterns");this.patterns=o.patterns,this.hasMissingPatterns=o.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}collectPatterns(e,n){for(const A of this.patterns)e.getRule(A).collectPatterns(e,n)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,A,a){return this._getCachedCompiledPatterns(e).compileAG(e,A,a)}_getCachedCompiledPatterns(e){return this._cachedCompiledPatterns||(this._cachedCompiledPatterns=new qa,this.collectPatterns(e,this._cachedCompiledPatterns)),this._cachedCompiledPatterns}},Vr=class extends Pa{constructor(e,n,A,a,o,i,c,s,d,u){super(e,n,A,a);E(this,"_begin");E(this,"beginCaptures");E(this,"_end");E(this,"endHasBackReferences");E(this,"endCaptures");E(this,"applyEndPatternLast");E(this,"hasMissingPatterns");E(this,"patterns");E(this,"_cachedCompiledPatterns");this._begin=new Ua(o,this.id),this.beginCaptures=i,this._end=new Ua(c||"",-1),this.endHasBackReferences=this._end.hasBackReferences,this.endCaptures=s,this.applyEndPatternLast=d||!1,this.patterns=u.patterns,this.hasMissingPatterns=u.hasMissingPatterns,this._cachedCompiledPatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugEndRegExp(){return`${this._end.source}`}getEndWithResolvedBackReferences(e,n){return this._end.resolveBackReferences(e,n)}collectPatterns(e,n){n.push(this._begin)}compile(e,n){return this._getCachedCompiledPatterns(e,n).compile(e)}compileAG(e,n,A,a){return this._getCachedCompiledPatterns(e,n).compileAG(e,A,a)}_getCachedCompiledPatterns(e,n){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new qa;for(const A of this.patterns)e.getRule(A).collectPatterns(e,this._cachedCompiledPatterns);this.applyEndPatternLast?this._cachedCompiledPatterns.push(this._end.hasBackReferences?this._end.clone():this._end):this._cachedCompiledPatterns.unshift(this._end.hasBackReferences?this._end.clone():this._end)}return this._end.hasBackReferences&&(this.applyEndPatternLast?this._cachedCompiledPatterns.setSource(this._cachedCompiledPatterns.length()-1,n):this._cachedCompiledPatterns.setSource(0,n)),this._cachedCompiledPatterns}},vo=class extends Pa{constructor(e,n,A,a,o,i,c,s,d){super(e,n,A,a);E(this,"_begin");E(this,"beginCaptures");E(this,"whileCaptures");E(this,"_while");E(this,"whileHasBackReferences");E(this,"hasMissingPatterns");E(this,"patterns");E(this,"_cachedCompiledPatterns");E(this,"_cachedCompiledWhilePatterns");this._begin=new Ua(o,this.id),this.beginCaptures=i,this.whileCaptures=s,this._while=new Ua(c,hc),this.whileHasBackReferences=this._while.hasBackReferences,this.patterns=d.patterns,this.hasMissingPatterns=d.hasMissingPatterns,this._cachedCompiledPatterns=null,this._cachedCompiledWhilePatterns=null}dispose(){this._cachedCompiledPatterns&&(this._cachedCompiledPatterns.dispose(),this._cachedCompiledPatterns=null),this._cachedCompiledWhilePatterns&&(this._cachedCompiledWhilePatterns.dispose(),this._cachedCompiledWhilePatterns=null)}get debugBeginRegExp(){return`${this._begin.source}`}get debugWhileRegExp(){return`${this._while.source}`}getWhileWithResolvedBackReferences(e,n){return this._while.resolveBackReferences(e,n)}collectPatterns(e,n){n.push(this._begin)}compile(e,n){return this._getCachedCompiledPatterns(e).compile(e)}compileAG(e,n,A,a){return this._getCachedCompiledPatterns(e).compileAG(e,A,a)}_getCachedCompiledPatterns(e){if(!this._cachedCompiledPatterns){this._cachedCompiledPatterns=new qa;for(const n of this.patterns)e.getRule(n).collectPatterns(e,this._cachedCompiledPatterns)}return this._cachedCompiledPatterns}compileWhile(e,n){return this._getCachedCompiledWhilePatterns(e,n).compile(e)}compileWhileAG(e,n,A,a){return this._getCachedCompiledWhilePatterns(e,n).compileAG(e,A,a)}_getCachedCompiledWhilePatterns(e,n){return this._cachedCompiledWhilePatterns||(this._cachedCompiledWhilePatterns=new qa,this._cachedCompiledWhilePatterns.push(this._while.hasBackReferences?this._while.clone():this._while)),this._while.hasBackReferences&&this._cachedCompiledWhilePatterns.setSource(0,n||""),this._cachedCompiledWhilePatterns}},Ec=class Gt{static createCaptureRule(e,n,A,a,o){return e.registerRule(i=>new Qg(n,i,A,a,o))}static getCompiledRuleId(e,n,A){return e.id||n.registerRule(a=>{if(e.id=a,e.match)return new wg(e.$vscodeTextmateLocation,e.id,e.name,e.match,Gt._compileCaptures(e.captures,n,A));if(typeof e.begin>"u"){e.repository&&(A=ic({},A,e.repository));let o=e.patterns;return typeof o>"u"&&e.include&&(o=[{include:e.include}]),new Cc(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,Gt._compilePatterns(o,n,A))}return e.while?new vo(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Gt._compileCaptures(e.beginCaptures||e.captures,n,A),e.while,Gt._compileCaptures(e.whileCaptures||e.captures,n,A),Gt._compilePatterns(e.patterns,n,A)):new Vr(e.$vscodeTextmateLocation,e.id,e.name,e.contentName,e.begin,Gt._compileCaptures(e.beginCaptures||e.captures,n,A),e.end,Gt._compileCaptures(e.endCaptures||e.captures,n,A),e.applyEndPatternLast,Gt._compilePatterns(e.patterns,n,A))}),e.id}static _compileCaptures(e,n,A){let a=[];if(e){let o=0;for(const i in e){if(i==="$vscodeTextmateLocation")continue;const c=parseInt(i,10);c>o&&(o=c)}for(let i=0;i<=o;i++)a[i]=null;for(const i in e){if(i==="$vscodeTextmateLocation")continue;const c=parseInt(i,10);let s=0;e[i].patterns&&(s=Gt.getCompiledRuleId(e[i],n,A)),a[c]=Gt.createCaptureRule(n,e[i].$vscodeTextmateLocation,e[i].name,e[i].contentName,s)}}return a}static _compilePatterns(e,n,A){let a=[];if(e)for(let o=0,i=e.length;o<i;o++){const c=e[o];let s=-1;if(c.include){const d=bc(c.include);switch(d.kind){case 0:case 1:s=Gt.getCompiledRuleId(A[c.include],n,A);break;case 2:let u=A[d.ruleName];u&&(s=Gt.getCompiledRuleId(u,n,A));break;case 3:case 4:const p=d.scopeName,g=d.kind===4?d.ruleName:null,l=n.getExternalGrammar(p,A);if(l)if(g){let m=l.repository[g];m&&(s=Gt.getCompiledRuleId(m,n,l.repository))}else s=Gt.getCompiledRuleId(l.repository.$self,n,l.repository);break}}else s=Gt.getCompiledRuleId(c,n,A);if(s!==-1){const d=n.getRule(s);let u=!1;if((d instanceof Cc||d instanceof Vr||d instanceof vo)&&d.hasMissingPatterns&&d.patterns.length===0&&(u=!0),u)continue;a.push(s)}}return{patterns:a,hasMissingPatterns:(e?e.length:0)!==a.length}}},Ua=class Hd{constructor(e,n){E(this,"source");E(this,"ruleId");E(this,"hasAnchor");E(this,"hasBackReferences");E(this,"_anchorCache");if(e&&typeof e=="string"){const A=e.length;let a=0,o=[],i=!1;for(let c=0;c<A;c++)if(e.charAt(c)==="\\"&&c+1<A){const d=e.charAt(c+1);d==="z"?(o.push(e.substring(a,c)),o.push("$(?!\\n)(?<!\\n)"),a=c+2):(d==="A"||d==="G")&&(i=!0),c++}this.hasAnchor=i,a===0?this.source=e:(o.push(e.substring(a,A)),this.source=o.join(""))}else this.hasAnchor=!1,this.source=e;this.hasAnchor?this._anchorCache=this._buildAnchorCache():this._anchorCache=null,this.ruleId=n,typeof this.source=="string"?this.hasBackReferences=Cg.test(this.source):this.hasBackReferences=!1}clone(){return new Hd(this.source,this.ruleId)}setSource(e){this.source!==e&&(this.source=e,this.hasAnchor&&(this._anchorCache=this._buildAnchorCache()))}resolveBackReferences(e,n){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let A=n.map(a=>e.substring(a.start,a.end));return Bc.lastIndex=0,this.source.replace(Bc,(a,o)=>pc(A[parseInt(o,10)]||""))}_buildAnchorCache(){if(typeof this.source!="string")throw new Error("This method should only be called if the source is a string");let e=[],n=[],A=[],a=[],o,i,c,s;for(o=0,i=this.source.length;o<i;o++)c=this.source.charAt(o),e[o]=c,n[o]=c,A[o]=c,a[o]=c,c==="\\"&&o+1<i&&(s=this.source.charAt(o+1),s==="A"?(e[o+1]="",n[o+1]="",A[o+1]="A",a[o+1]="A"):s==="G"?(e[o+1]="",n[o+1]="G",A[o+1]="",a[o+1]="G"):(e[o+1]=s,n[o+1]=s,A[o+1]=s,a[o+1]=s),o++);return{A0_G0:e.join(""),A0_G1:n.join(""),A1_G0:A.join(""),A1_G1:a.join("")}}resolveAnchors(e,n){return!this.hasAnchor||!this._anchorCache||typeof this.source!="string"?this.source:e?n?this._anchorCache.A1_G1:this._anchorCache.A1_G0:n?this._anchorCache.A0_G1:this._anchorCache.A0_G0}},qa=class{constructor(){E(this,"_items");E(this,"_hasAnchors");E(this,"_cached");E(this,"_anchorCache");this._items=[],this._hasAnchors=!1,this._cached=null,this._anchorCache={A0_G0:null,A0_G1:null,A1_G0:null,A1_G1:null}}dispose(){this._disposeCaches()}_disposeCaches(){this._cached&&(this._cached.dispose(),this._cached=null),this._anchorCache.A0_G0&&(this._anchorCache.A0_G0.dispose(),this._anchorCache.A0_G0=null),this._anchorCache.A0_G1&&(this._anchorCache.A0_G1.dispose(),this._anchorCache.A0_G1=null),this._anchorCache.A1_G0&&(this._anchorCache.A1_G0.dispose(),this._anchorCache.A1_G0=null),this._anchorCache.A1_G1&&(this._anchorCache.A1_G1.dispose(),this._anchorCache.A1_G1=null)}push(t){this._items.push(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}unshift(t){this._items.unshift(t),this._hasAnchors=this._hasAnchors||t.hasAnchor}length(){return this._items.length}setSource(t,e){this._items[t].source!==e&&(this._disposeCaches(),this._items[t].setSource(e))}compile(t){if(!this._cached){let e=this._items.map(n=>n.source);this._cached=new Qc(t,e,this._items.map(n=>n.ruleId))}return this._cached}compileAG(t,e,n){return this._hasAnchors?e?n?(this._anchorCache.A1_G1||(this._anchorCache.A1_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G1):(this._anchorCache.A1_G0||(this._anchorCache.A1_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A1_G0):n?(this._anchorCache.A0_G1||(this._anchorCache.A0_G1=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G1):(this._anchorCache.A0_G0||(this._anchorCache.A0_G0=this._resolveAnchors(t,e,n)),this._anchorCache.A0_G0):this.compile(t)}_resolveAnchors(t,e,n){let A=this._items.map(a=>a.resolveAnchors(e,n));return new Qc(t,A,this._items.map(a=>a.ruleId))}},Qc=class{constructor(t,e,n){E(this,"scanner");this.regExps=e,this.rules=n,this.scanner=t.createOnigScanner(e)}dispose(){typeof this.scanner.dispose=="function"&&this.scanner.dispose()}toString(){const t=[];for(let e=0,n=this.rules.length;e<n;e++)t.push(" - "+this.rules[e]+": "+this.regExps[e]);return t.join(`
|
|
4
4
|
`)}findNextMatchSync(t,e,n){const A=this.scanner.findNextMatchSync(t,e,n);return A?{ruleId:this.rules[A.index],captureIndices:A.captureIndices}:null}},Xr=class{constructor(t,e){this.languageId=t,this.tokenType=e}},yg=(sA=class{constructor(e,n){E(this,"_defaultAttributes");E(this,"_embeddedLanguagesMatcher");E(this,"_getBasicScopeAttributes",new gc(e=>{const n=this._scopeToLanguage(e),A=this._toStandardTokenType(e);return new Xr(n,A)}));this._defaultAttributes=new Xr(e,8),this._embeddedLanguagesMatcher=new kg(Object.entries(n||{}))}getDefaultAttributes(){return this._defaultAttributes}getBasicScopeAttributes(e){return e===null?sA._NULL_SCOPE_METADATA:this._getBasicScopeAttributes.get(e)}_scopeToLanguage(e){return this._embeddedLanguagesMatcher.match(e)||0}_toStandardTokenType(e){const n=e.match(sA.STANDARD_TOKEN_TYPE_REGEXP);if(!n)return 8;switch(n[1]){case"comment":return 1;case"string":return 2;case"regex":return 3;case"meta.embedded":return 0}throw new Error("Unexpected match for standard token type!")}},E(sA,"_NULL_SCOPE_METADATA",new Xr(0,0)),E(sA,"STANDARD_TOKEN_TYPE_REGEXP",/\b(comment|string|regex|meta\.embedded)\b/),sA),kg=class{constructor(t){E(this,"values");E(this,"scopesRegExp");if(t.length===0)this.values=null,this.scopesRegExp=null;else{this.values=new Map(t);const e=t.map(([n,A])=>pc(n));e.sort(),e.reverse(),this.scopesRegExp=new RegExp(`^((${e.join(")|(")}))($|\\.)`,"")}}match(t){if(!this.scopesRegExp)return;const e=t.match(this.scopesRegExp);if(e)return this.values.get(e[1])}};typeof process<"u"&&process.env.VSCODE_TEXTMATE_DEBUG;var wc=class{constructor(t,e){this.stack=t,this.stoppedEarly=e}};function yc(t,e,n,A,a,o,i,c){const s=e.content.length;let d=!1,u=-1;if(i){const l=_g(t,e,n,A,a,o);a=l.stack,A=l.linePos,n=l.isFirstLine,u=l.anchorPosition}const p=Date.now();for(;!d;){if(c!==0&&Date.now()-p>c)return new wc(a,!0);g()}return new wc(a,!1);function g(){const l=Ig(t,e,n,A,a,u);if(!l){o.produce(a,s),d=!0;return}const m=l.captureIndices,y=l.matchedRuleId,b=m&&m.length>0?m[0].end>A:!1;if(y===Eg){const Q=a.getRule(t);o.produce(a,m[0].start),a=a.withContentNameScopesList(a.nameScopesList),Ya(t,e,n,a,o,Q.endCaptures,m),o.produce(a,m[0].end);const D=a;if(a=a.parent,u=D.getAnchorPos(),!b&&D.getEnterPos()===A){a=D,o.produce(a,s),d=!0;return}}else{const Q=t.getRule(y);o.produce(a,m[0].start);const D=a,k=Q.getName(e.content,m),J=a.contentNameScopesList.pushAttributed(k,t);if(a=a.push(y,A,u,m[0].end===s,null,J,J),Q instanceof Vr){const z=Q;Ya(t,e,n,a,o,z.beginCaptures,m),o.produce(a,m[0].end),u=m[0].end;const M=z.getContentName(e.content,m),F=J.pushAttributed(M,t);if(a=a.withContentNameScopesList(F),z.endHasBackReferences&&(a=a.withEndRule(z.getEndWithResolvedBackReferences(e.content,m))),!b&&D.hasSameRuleAs(a)){a=a.pop(),o.produce(a,s),d=!0;return}}else if(Q instanceof vo){const z=Q;Ya(t,e,n,a,o,z.beginCaptures,m),o.produce(a,m[0].end),u=m[0].end;const M=z.getContentName(e.content,m),F=J.pushAttributed(M,t);if(a=a.withContentNameScopesList(F),z.whileHasBackReferences&&(a=a.withEndRule(z.getWhileWithResolvedBackReferences(e.content,m))),!b&&D.hasSameRuleAs(a)){a=a.pop(),o.produce(a,s),d=!0;return}}else if(Ya(t,e,n,a,o,Q.captures,m),o.produce(a,m[0].end),a=a.pop(),!b){a=a.safePop(),o.produce(a,s),d=!0;return}}m[0].end>A&&(A=m[0].end,n=!1)}}function _g(t,e,n,A,a,o){let i=a.beginRuleCapturedEOL?0:-1;const c=[];for(let s=a;s;s=s.pop()){const d=s.getRule(t);d instanceof vo&&c.push({rule:d,stack:s})}for(let s=c.pop();s;s=c.pop()){const{ruleScanner:d,findOptions:u}=Fg(s.rule,t,s.stack.endRule,n,A===i),p=d.findNextMatchSync(e,A,u);if(p){if(p.ruleId!==hc){a=s.stack.pop();break}p.captureIndices&&p.captureIndices.length&&(o.produce(s.stack,p.captureIndices[0].start),Ya(t,e,n,s.stack,o,s.rule.whileCaptures,p.captureIndices),o.produce(s.stack,p.captureIndices[0].end),i=p.captureIndices[0].end,p.captureIndices[0].end>A&&(A=p.captureIndices[0].end,n=!1))}else{a=s.stack.pop();break}}return{stack:a,linePos:A,anchorPosition:i,isFirstLine:n}}function Ig(t,e,n,A,a,o){const i=Dg(t,e,n,A,a,o),c=t.getInjections();if(c.length===0)return i;const s=xg(c,t,e,n,A,a,o);if(!s)return i;if(!i)return s;const d=i.captureIndices[0].start,u=s.captureIndices[0].start;return u<d||s.priorityMatch&&u===d?s:i}function Dg(t,e,n,A,a,o){const i=a.getRule(t),{ruleScanner:c,findOptions:s}=kc(i,t,a.endRule,n,A===o),d=c.findNextMatchSync(e,A,s);return d?{captureIndices:d.captureIndices,matchedRuleId:d.ruleId}:null}function xg(t,e,n,A,a,o,i){let c=Number.MAX_VALUE,s=null,d,u=0;const p=o.contentNameScopesList.getScopeNames();for(let g=0,l=t.length;g<l;g++){const m=t[g];if(!m.matcher(p))continue;const y=e.getRule(m.ruleId),{ruleScanner:b,findOptions:Q}=kc(y,e,null,A,a===i),D=b.findNextMatchSync(n,a,Q);if(!D)continue;const k=D.captureIndices[0].start;if(!(k>=c)&&(c=k,s=D.captureIndices,d=D.ruleId,u=m.priority,c===a))break}return s?{priorityMatch:u===-1,captureIndices:s,matchedRuleId:d}:null}function kc(t,e,n,A,a){return{ruleScanner:t.compileAG(e,n,A,a),findOptions:0}}function Fg(t,e,n,A,a){return{ruleScanner:t.compileWhileAG(e,n,A,a),findOptions:0}}function Ya(t,e,n,A,a,o,i){if(o.length===0)return;const c=e.content,s=Math.min(o.length,i.length),d=[],u=i[0].end;for(let p=0;p<s;p++){const g=o[p];if(g===null)continue;const l=i[p];if(l.length===0)continue;if(l.start>u)break;for(;d.length>0&&d[d.length-1].endPos<=l.start;)a.produceFromScopes(d[d.length-1].scopes,d[d.length-1].endPos),d.pop();if(d.length>0?a.produceFromScopes(d[d.length-1].scopes,l.start):a.produce(A,l.start),g.retokenizeCapturedWithRuleId){const y=g.getName(c,i),b=A.contentNameScopesList.pushAttributed(y,t),Q=g.getContentName(c,i),D=b.pushAttributed(Q,t),k=A.push(g.retokenizeCapturedWithRuleId,l.start,-1,!1,null,b,D),J=t.createOnigString(c.substring(0,l.end));yc(t,J,n&&l.start===0,l.start,k,a,!1,0),fc(J);continue}const m=g.getName(c,i);if(m!==null){const b=(d.length>0?d[d.length-1].scopes:A.contentNameScopesList).pushAttributed(m,t);d.push(new vg(b,l.end))}}for(;d.length>0;)a.produceFromScopes(d[d.length-1].scopes,d[d.length-1].endPos),d.pop()}var vg=class{constructor(t,e){E(this,"scopes");E(this,"endPos");this.scopes=t,this.endPos=e}};function Mg(t,e,n,A,a,o,i,c){return new jg(t,e,n,A,a,o,i,c)}function _c(t,e,n,A,a){const o=Do(e,Mo),i=Ec.getCompiledRuleId(n,A,a.repository);for(const c of o)t.push({debugSelector:e,matcher:c.matcher,ruleId:i,grammar:a,priority:c.priority})}function Mo(t,e){if(e.length<t.length)return!1;let n=0;return t.every(A=>{for(let a=n;a<e.length;a++)if(Ng(e[a],A))return n=a+1,!0;return!1})}function Ng(t,e){if(!t)return!1;if(t===e)return!0;const n=e.length;return t.length>n&&t.substr(0,n)===e&&t[n]==="."}var jg=class{constructor(t,e,n,A,a,o,i,c){E(this,"_rootId");E(this,"_lastRuleId");E(this,"_ruleId2desc");E(this,"_includedGrammars");E(this,"_grammarRepository");E(this,"_grammar");E(this,"_injections");E(this,"_basicScopeAttributesProvider");E(this,"_tokenTypeMatchers");if(this._rootScopeName=t,this.balancedBracketSelectors=o,this._onigLib=c,this._basicScopeAttributesProvider=new yg(n,A),this._rootId=-1,this._lastRuleId=0,this._ruleId2desc=[null],this._includedGrammars={},this._grammarRepository=i,this._grammar=Ic(e,null),this._injections=null,this._tokenTypeMatchers=[],a)for(const s of Object.keys(a)){const d=Do(s,Mo);for(const u of d)this._tokenTypeMatchers.push({matcher:u.matcher,type:a[s]})}}get themeProvider(){return this._grammarRepository}dispose(){for(const t of this._ruleId2desc)t&&t.dispose()}createOnigScanner(t){return this._onigLib.createOnigScanner(t)}createOnigString(t){return this._onigLib.createOnigString(t)}getMetadataForScope(t){return this._basicScopeAttributesProvider.getBasicScopeAttributes(t)}_collectInjections(){const t={lookup:a=>a===this._rootScopeName?this._grammar:this.getExternalGrammar(a),injections:a=>this._grammarRepository.injections(a)},e=[],n=this._rootScopeName,A=t.lookup(n);if(A){const a=A.injections;if(a)for(let i in a)_c(e,i,a[i],this,A);const o=this._grammarRepository.injections(n);o&&o.forEach(i=>{const c=this.getExternalGrammar(i);if(c){const s=c.injectionSelector;s&&_c(e,s,c,this,c)}})}return e.sort((a,o)=>a.priority-o.priority),e}getInjections(){return this._injections===null&&(this._injections=this._collectInjections()),this._injections}registerRule(t){const e=++this._lastRuleId,n=t(e);return this._ruleId2desc[e]=n,n}getRule(t){return this._ruleId2desc[t]}getExternalGrammar(t,e){if(this._includedGrammars[t])return this._includedGrammars[t];if(this._grammarRepository){const n=this._grammarRepository.lookup(t);if(n)return this._includedGrammars[t]=Ic(n,e&&e.$base),this._includedGrammars[t]}}tokenizeLine(t,e,n=0){const A=this._tokenize(t,e,!1,n);return{tokens:A.lineTokens.getResult(A.ruleStack,A.lineLength),ruleStack:A.ruleStack,stoppedEarly:A.stoppedEarly}}tokenizeLine2(t,e,n=0){const A=this._tokenize(t,e,!0,n);return{tokens:A.lineTokens.getBinaryResult(A.ruleStack,A.lineLength),ruleStack:A.ruleStack,stoppedEarly:A.stoppedEarly}}_tokenize(t,e,n,A){this._rootId===-1&&(this._rootId=Ec.getCompiledRuleId(this._grammar.repository.$self,this,this._grammar.repository),this.getInjections());let a;if(!e||e===ei.NULL){a=!0;const d=this._basicScopeAttributesProvider.getDefaultAttributes(),u=this.themeProvider.getDefaults(),p=ca.set(0,d.languageId,d.tokenType,null,u.fontStyle,u.foregroundId,u.backgroundId),g=this.getRule(this._rootId).getName(null,null);let l;g?l=Oa.createRootAndLookUpScopeName(g,p,this):l=Oa.createRoot("unknown",p),e=new ei(null,this._rootId,-1,-1,!1,null,l,l)}else a=!1,e.reset();t=t+`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "animot-presenter",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"description": "Embed animated presentations anywhere. Works with vanilla JS, React, Vue, Angular, Svelte, and any frontend framework. Morphing animations, code highlighting, charts, particles, and more.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"svelte": "./dist/index.js",
|